This post gives some great advice on enabling automatic unattended updates on your Raspberry Pi.
If you’ve found out what Motion is then you’re probably looking for a way to view video feeds or stills from one or more webcams or network cameras in a web browser – for whatever reason. This is a quick guide to be able to view web feed from a USB web camera as well as a network camera (D-Link DCS-5222L). Continue reading Install Motion and get it working with multiple cameras
This guide is largely based on the one provided by OpenVPN with a few tweaks to the configuration to increase security.
The HW configuration used for this guide consisted of a Raspberry Pi 2 Model B as the server and Iphone 6 as the client. Continue reading OpenVPN server and client configuration guide
You may be working on an application that uses the monitor connected to your RaspeberryPi, but you want to be able to turn the monitor off and on during certain times of day. Continue reading How to turn the monitor connected to your RaspberryPi on and off with a shell script
If you have a Raspberry Pi then you are probably going to run a web server on it. You have a couple of options, but I found that Nginx runs like a charm and is super easy to setup. If all you want is to serve up static files then you can wrap up there. But considering you have a Raspberry Pi, you probably also have some interesting projects that will require dynamic pages and probably a database. Enter PHP and SQLite. Continue reading Installing Nginx, PHP5 and SQLite3 on a Raspberry Pi
This example illustrates the use of XMLHttpRequest as a method to conduct basic performance monitoring. While doing so you will be introduced to the basics in sending XMLHttpRequests and how to setup event handlers for managing on-going requests. Continue reading Using XMLHttpRequest to Measure Round Trip Time
If you have been playing around with Box2D then chances are you have already figured out how to simulate linear projectile motion or maybe even tried to simulate arrow flight. These are all great places to start, but maybe you are looking for something more advanced? How about a projectile that scans for targets and when it has locked on to one follows it to the bitter end? Continue reading Tracking Missile in Box2D
Simulating a single source of gravity is a sinch in Box2D. You can even switch gravity off if you like. But what about simulating multiple gravity sources, like planets? This isn’t as hard as it sounds, but requires some additional work. Something to consider is that when simulating radial gravity, or planet gravity, we don’t work with the same scales as in, um, the universe. Instead of orbits that are thousands kilometers we’re working with ten to fifty meters, depending on the canvas size and pixel to meter ratio you are using. Continue reading Simulating Multiple Sources of Gravity in Box2D
The previous post went through how to simulate the flight of an arrow. However, since the flight is parabolic it may be difficult for the player to be accurate when firing the weapon. Maybe that’s the way you want it, but you can always provide some guidance while still keeping the game challenging. Continue reading Drawing a Projectile’s Trajectory Path
Projectiles are a common game component and Box2D can help simulate projectile motion fairly well. But even Box2D has it’s limitations. The typical flight trajectory of an arrow is a good example. Continue reading Simulate Arrow Flight