Category Archives: Programming

Python, bash, and general programming issues

Spruce up your desktop with the National Geographic Photo of the Day

[Update, 2011-02-24] Reader Jason Coombs kindly made the necessary changes to get this working on Windows 7! Now I might be shamed into getting it working for Mac OS X as well His changes are here. I’ve updated my script … Continue reading

Posted in Desktop, Programming, Python | 6 Comments

Reminder for mysql rubygem install on Ubuntu

Quick easy steps to get up and running with ruby, mysql, sqlite, rails, and most especially the mysql gem on a fresh Ubuntu 10.10 64-bit system: 123456789# mysql and dev packages needed for mysql rubygem: sudo apt-get install mysql-server mysql-client … Continue reading

Posted in Programming, Ruby | Tagged , | Leave a comment

Review of Hacking Vim 7.2

Hacking Vim 7.2 by Kim Schulz is filled with a variety of useful explanations and helpful tips for Vim users wanting to improve their efficiency and learn more about their editor. While I’ve enjoyed finding new and better ways to … Continue reading

Posted in Book Review, Programming, Python, Ruby, vim | Tagged , | 2 Comments

git tip: Ignoring modifications to tracked files

Problem You have a file already tracked in your git repository, but you don’t want future modifications to it to be tracked. A perfect example of this is the DB config file for Rails projects (config/database.yml). You’ll probably want to … Continue reading

Posted in Programming, RubyOnRails | Tagged , , , | 3 Comments

Hiding anchor tooltips on hover

Navigation menus on websites most often consist of a list of links. When looking through a menu, it’s not unreasonable for a visitor to have their mouse cursor over some of the menu item links for a few moments as … Continue reading

Posted in JavaScript | Tagged , , | Leave a comment