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
In: Arduino, How To, Video · Tagged with: arduino source code, led
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
In: How To, Ruby on Rails, Ubuntu Tricks · Tagged with: console, irb, ruby on rails, Ubuntu
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 […]
In: How To · Tagged with: apache, capistrano, git, paperclip, phusion passenger, ruby enterprise, Ubuntu Lucid Lynx 10.04