Archive for the ‘How To’ Category

Arduino controlling LED Bar – Patterns and Bouncing

So it finally arrived!  After only 20 hours, thanks to www.nicegear.co.nz for the awesome quick ship. I made a video of my Arduino Mega 2560 in action and will post the code below. Arduino source code after the break

Posted on March 9, 2011 at 10:27 pm by Jordan Carter · Permalink · Leave a comment
In: Arduino, How To, Video · Tagged with: ,

How To – Persist Rails or IRB Console Command History After Exit

Sick of not having Ubuntu rails or irb terminal not saving your command history after exiting the console?  Try this little trick to fix it up! Append into your ~/.irbrc the following

Posted on September 14, 2010 at 11:46 am by Jordan Carter · Permalink · 3 Comments
In: How To, Ruby on Rails, Ubuntu Tricks · Tagged with: , , ,

How To – Installing Ruby on Rails on Ubuntu Lucid Lynx 10.04 Server

Install required packages sudo apt-get install build-essential git-core zlib1g-dev libssl-dev libreadline5-dev The required packages for installing Ruby Enterprise, and Git thrown in for good measure. Install Ruby Enterprise Download ruby-enterprise-1.8.7-2010.02.tar.gz & Install wget http://rubyforge.org/frs/download.php/71096/ruby-enterprise-1.8.7-2010.02.tar.gz tar xzvf ruby-enterprise-1.8.7-2010.02.tar.gz sudo ./ruby-enterprise-1.8.7-2010.02/installer May take a long time to get past the “Generating RI…” bit Also, ignore the  “The following […]

Posted on September 13, 2010 at 5:55 pm by Jordan Carter · Permalink · One Comment
In: How To · Tagged with: , , , , , ,