Archives
-
Recent Posts
Category Archives: Programming
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
Automating Drupal workflow using Git and Drush
Update Nov 11, 2009: Updated the script to accept username and server name as arguments and to print syntax help if no argument is passed. It would eliminate to modify script for different servers. Drupal rocks for some things, its … Continue reading
Installing Scala on Snow Leopard
These are instructions for quickly installing Scala. Scala is a general purpose language almost completely interoperable with Java, and having features of object-oriented and functional languages. I installed Scala in /usr/local , the reason for which can be found here.
A simple shell trick
Here is shell a trick that I used lately. Before moving to new system (where I enforce quotas on all home folders), I had portable home directories for all the users on my shared server storage. The old setup did … Continue reading
Git Configurations
I have started using Git over Subversion. Following is the list of my git configurations.
curl vs wget
Coming from Linux background, while working on OS X shell, I still cannot abandon my old Linux habits. A common one is trying to use wget instead of curl for downloading stuff. Just out just curiosity, I was wondering why … Continue reading
Installing RMagick on OS X Leopard
I work with Ruby on Leopard and and I need RMagick. If you are a programmer and don’t know what RMagick is, you should know how code can melt your picture into art in Ruby:).
Git remote pushing
For the last half an hour I have been playing with Git. Project I’m working on my laptop is version tracked by git. However what is the fun of using version control without a remote server. As soon as I … Continue reading
What goes where? Filesystem hierarchy in Unix/Linux/OS X
Although it is one of the first chapters one read when starting with Linux/Unix, it is always confusing where should we put what when it comes to installing stuff on Linux/OS X computers. I found a detailed reference Filesystem Hierarchy … Continue reading
Using Git on Rails project
After watching Linus Torvalds speaking for Git, and the popularity of Github, I am giving git a try. I have been using Subversion for a while, so things moved pretty smoothly.