Using the terminal often? You need Terminitor

Terminitor is a Ruby gem that automates your development workflow setup. Basically, it allows you to easily set different environments in your terminal. Defining which tabs to open and which commands to run in each.

Installation is as easy as:
gem install terminitor
terminitor init

(assuming you already have Ruby and Ruby gems installed)

Then you create your terminitor setups with terminitor edit [name]. Defining terminitor setup is very is. Here is mine for one of my projects:

No more keeping all those servers running in the background, just because I’m lazy to open them again. Now restarting my working environment is just a single command.

Mac OS/X Tip: How To Change Screen Capture Location

I really like the built in screen capture ability of OS/X. I specially like the ability to easily take a screen capture of only part of the screen by using Cmd+Shift+4. What I didn’t like was the fact that it created a hell of a clutter on my desktop with all that screenshots.

Cluttered Desktop

Cluttered Desktop

For long time I’ve been just manually moving the screenshots to different folders / deleting them. But today I decided that enough is enough and looked for a solution. And of course a simple solution exists. To save you the reading here’s a summary of what you need to do:
1. Open the Terminal.
2. Create a new folder for the screenshots by using mkdir, i.e.

mkdir /Users/Arik/Desktop/Screenshots

3. Run the following command:

defaults write com.apple.screencapture location [the-folder-you-created-in-step-2]

That’s it. Almost. Now you need to logout and login again in order for the changes to take effect. Instead you can use the following command (from Terminal):

killall -HUP SystemUIServer

Now you really done.

Hope it helps.
Arik