Installing Octopress (and Ruby via RVM) on a Lion box that has Xcode 4.2
Installing the latest Ruby via RVM on a Mac running OS X Lion and which has Xcode 4.2.x installed isn't as straightforward as it should be. This simple guide should help.
The problem is that there are apparently issues with installing the dependencies on a box running Lion with Xcode 4.2. The following solution worked for me. I hacked it together from that StackOverflow thread as well as the Octopress Setup Guide:
Installing the latest Ruby via RVM on a Mac running OS X Lion and which has Xcode 4.2.x installed isn't as straightforward as it should be. This simple guide should help.
One of the files in the tutorial is the package.json file for managing dependencies in the (absolutely lovely) package manager npm. When I wrote the data structure out in CoffeeScript, however, the compiled data structure wasn't valid JSON according to JSONLint (it was nested between parentheses, had unquoted keys, and a trailing semi-colon, as you can see in the code snippet.) (more...)
If you're as lazy as I am, you might want to write out your static data structures in CoffeeScript instead of JSON. This little script lets you convert a file containing a CoffeeScript data structure to valid JSON.
tweetie:// protocol to twitter://.
Compose tweets and jump to user timelines by using Twitter for Mac protocol handlers.
In March of this year, I created a Twitter library called XAuthTwitterEngine based on Matt Gemmell's awesome MGTwitterEngine library and the excellent work (and with the assistance) of a number of great developers (including Ben Gottlieb, Jon Crosby, Chris Kimpton, and Isaiah Carew, Steve Reynolds, and Norio Nomura). Back then, MGTwitterEngine didn't have oAuth/xAuth support and I built XAuthTwitterEngine as a stop-gap, with the intension of back-porting to MGTwitterEngine at some point.
Well, MGTwitterEngine has had excellent oAuth/xAuth for some time now and I finally got round to checking it out today only to realize just how much progress they've made. It's definitely time to deprecate XAuthTwitterEngine and start using MGTwitterEngine again (so I am back-porting Feathers to MGTwitterEngine at the moment).
I just released a demo project showing you how to use MGTwitterEngine and I've also deprecated XAuthTwitterEngine as that stop-gap is no longer necessary.
sudo port install tree with MacPorts later, it was.
It's really useful for getting a quick idea of the state of a folder hierarchy. Highly recommended!