ArvinderKang.com header image 4

Entries Tagged as 'Programming'

A simple shell trick

August 20th, 2008 by { Arvinder Kang } · No Comments · Programming

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 not strictly apply the quota limits on all users. Some of the users had large home [...]

[Read more →]

Tags:··

Git Configurations

August 5th, 2008 by { Arvinder Kang } · No Comments · Programming

I have started using Git over Subversion. Following is the list of my git configurations.

[Read more →]

Tags:

curl vs wget

August 2nd, 2008 by { Arvinder Kang } · No Comments · Programming

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 OS X supports curl, but no wget in the OS.

I came across this interesting page doing [...]

[Read more →]

Tags:··

Installing RMagick on OS X Leopard

August 1st, 2008 by { Arvinder Kang } · 2 Comments · Programming

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:).

[Read more →]

Tags:··

Git remote pushing

July 19th, 2008 by { Arvinder Kang } · No Comments · Programming

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 pushed my project directory to my remote OS X Tiger server, I got the following error.

[...]

[Read more →]

Tags:··

What goes where? Filesystem hierarchy in Unix/Linux/OS X

July 19th, 2008 by { Arvinder Kang } · 1 Comment · Programming

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 standard website.

It is also worth knowing, why is it important to store any new customized apps [...]

[Read more →]

Tags:··

Using Git on Rails project

July 18th, 2008 by { Arvinder Kang } · No Comments · Programming

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.

[Read more →]

Tags:·

Jukebox in a single line

June 28th, 2008 by { Arvinder Kang } · No Comments · Programming

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 right from the command line.

Before using the script make sure you have an mp3 [...]

[Read more →]

Tags:·······