Reset iOS Simulator With a Rake Task

A slight annoyance while developing with RubyMotion is having to reset the iOS Simulator. It is quite frustrating to use a mouse sometimes to perform a repetitive task, so I thought it would be nice to simplify that to run it in a command line.

By executing AppleScript using the osascript command, we can call the "Reset Content and Settings" menu item in the simulator and have it reset by running the following rake task:

rake simulator:reset


Time to Market

In the world of software development, time-to-market is the driving force of the business.

via OmniTI ~ Your Code May Be Elegant.


Ember Example Applications

Here is a list of Ember's example applications. I will be updating this list as I find new prototypes.


Sublime Text 2 Is Awesome

I forgot to mention that I have recently switched my text editor to Sublime Text 2.

At first glance it is very much like Vico and TextWrangler, but there is one extension that makes it much more unique.

Once you install Package Control, the editor transforms into a power-house. The idea is very similar to Coda's Plugin manager, but with a different approach.

The editor is rails friendly and much needed VI extension is available through VintageEx.

Other cool extensions for Sublime Text 2 include: HTML2Halm, CoffeeScript, Coffee Compile… and you can find more packages here.


Js2coffee: convert JavaScript code to CoffeeScript

I was having trouble converting plain javascript to coffeescript, then I found Js2coffee.


Just - Mark Ronson ft. Phantom Planet

Some funky song.


Try Git

I've been using git for versioning for some time now. But for those of you who are starting out and want to jump right into it, Codeschool has a nice online class for you:


Sunny Road by Emiliana Torrini

This tickles my brain


CoffeeScript: A New Way of Looking

You could say CoffeeScript goes hand in hand with Ruby on Rails development. Here is a quick and nice syntax intro to CoffeeScript.

RubySource | CoffeeScript: A New Way of Looking at ThingsRubySource:

CoffeeScript allows human programmers to write code in an easily understandable form. The compiler then translates the code into JavaScript. The code is compiled and then run as a JavaScript application.</p>


Data Scraping With Ruby

If you are looking for a way to scrape data off of websites that do not have an API, here is a simple how-to video for it.

Data Scraping And More With Ruby, Nokogiri, Sinatra And Heroku - Hunter Powers:

Data scraping is the process of extracting data from output that was originally intended for humans. A web page is an example of output originally intended for humans in contrast to an API intended for use by other programs.</p>

Nokogiri is a Ruby Gem that extracts data from web pages using CSS selectors. Additionally, it provides methods to help parse (make sense of) the results. The use of CSS selectors allows you to easily target the data you wish to extract from a URL.