Decided to move to Rails 3 recently and get up to speed on the new framework version. I list here the process I followed to install it on Debian (Lenny). Advertisements
You can easily create a bookmark icon / URL icon / Domain Icon / favicon.ico for your website. This is usually called favicon.ico, and usually exists in your web root folder (htdocs, public_html, etc). Why would you do this? Your Brand is present in the users Browser URL/URI field in browsers and/or on the browser… Continue reading Favicon/URL/Bookmark icon for you website
I have a laptop (Dell Studio 1557) that I have set to go into hibernation when the lid of the laptop is closed. I have been annoyed for the last while that when I turn on the computer to resume from hibernate, it would immediately shutdown again, but this time in sleep mode.
Googles long/lat is degrees only and a fractional component. This script decomposed that into degrees, minutes and seconds. From there I could convert it from having seconds to having a fractional minute component, just like my GPS requires.
Using Mac OS X and browsing the file system with ‘Finder’, I often want to open Terminal or iTerm and have the default path set to the current Finder folder.
Once in the MySQL console, you can use show and purge to selectively delete portions like below:
Recently I had to monitor some data being output to a log table while an application was running. The log table was quite large, and being written to constantly and also by portions of that system I wasn’t interested in. So I only wanted to see the 10 or 20 most recent rows / records… Continue reading On demand “Tailing” of a database log table: select the last x records