Tag Archives: Ruby

Upload recipe using Net::SCP

Sharing a simple ruby recipe to automate uploads of static website, if rsync is giving you problems(like with my school web server). This script uses Net::SCP. Net::SCP is a pure-Ruby implementation of the SCP protocol. This operates over SSH (and … Continue reading

Posted in Programming | Tagged , , , | 1 Comment

Thinking of PHP, Apache, Ruby, MySQL and Unicode

In the last post, I mentioned meeting my old pal Tux. Now back to coniguring the machine. I will be using the test server for Drupal websites, Rails projects and possibly Lift projects. Also, I love Punjabi and I love … Continue reading

Posted in Uncategorized | Tagged , , , , , | 3 Comments

Jukebox in a single line

If you are like me, who starts starts iTunes with default library and realize you have heard the same song 8 times in the last week, here are two one-line-Jukebox scripts for you. The scripts randomly choose and play songs … Continue reading

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