For my next project, and this is one I have been wanting to do for while, I will be makeing a speedometer for my remote control car.
“What good is that?” I hear you say, “how are you going to read the speed when it’s going past you at 30 miles per hour!?”
(more…)
So, I have not long had my Arduino development board, my first project was to try and get it to log data to an SD card. This will be essential for a few future projects I have in mind. The internal EEPROM is only 512bytes, so not particularly useful for logging large amounts of data.
(more…)
In anticipation of my Arduino development board arriving, I decided I will definitely need a decent power supply. I have loads of old adapters laying around from phones, routers and other old devices, but these are usually quite low voltage and current. I wanted something with a bit more juice, something with some nice high voltages that could really pack a load!
(more…)
Simple function to explode a string into an associative array. Works in the same way as the normal explode but takes an extra argument which is an array of keys to use for the returned associative array.
(more…)
This was originally developed to retry an rsync command if a network error happened. It’s a mishmash of code found from around the net, and could probably be tidier but it gets the job done.
(more…)
On Mac OS X 10.5.1 (Leopard) they keychain is great! A central place to store all passwords…
When browsing in Safari, the keychain remembers passwords and pre fills the username and password fields next time you are asked for them, making remembering passwords and logging in to sites easy.
There are two type of passwords the Keycahin can remember for Safari; web form passwords (appear as a form inside a web page) and internet password (apper as the standard server authentication popup window).
This works great until a site that requires both.
(more…)
Unable to establish an SSH connection to a server, I had to log in locally. I attempted to restart the ssh service but was presented with:
sshd: OpenSSH_4.3p2 on i686-pc-linux-gnu
Unknown option -t
(more…)