Creating a Git project for XCode/Cocoa apps

You can always count on somebody to have figured things out before you.. Chrisopher Roach’s blog has a nice quick setup guide to get your xcode project in a git repo (gitignores, attributes and basic git push capability).

Whenever I setup a new Xcode project, the first thing I do is initialize it as a Git repository and add some configuration to the project that will make using Git with Xcode a bit less messy.

[From christopherroach.com ]

And of course debate has already started on the merits of treating certain things as binary to avoid merging nightmares. <sarcasm>Don’t you love XML syntaxes?</sarcasm>

Ruby, Folder actions and full automation

I routinely scan my documents as PDFs so I can keep them in a virtual filing cabinet (you know, the whole “paperless office” thing). I use my HP all-in-one software running on a Windows VM inside a Mac (sorry, but the Mac scanning software on HP is complete garbage in my opinion).

What bothered me about this was that all the files scanned always end up named “scan12345.pdf”. Because of the way I file, I like having my things as “year/company/year-monty-date.pdf” instead.

Continue reading “Ruby, Folder actions and full automation”

Getting OS X Terminal to behave

Last time I didn’t write this down and this time I’m blogging about it so I don’t forget it. OSX Hints has a good guide on how to set Terminal.app to work the way God Intended (great command line user that He is).

I am handy around the Terminal.app, but for me the main thing that I kept forgetting (and hurts me a lot since my muscle memory depends on it) is moving forward and backwards full word:

"\e[5C": forward-word
"\e[5D": backward-word

By the way, have I mentioned I no longer have to use PCs? Woot!

Update: Here is another guide you may want to take a look at. And another

technorati tags:, ,