Insights on Ruby, Git, jQuery, Cappuccino, WordPress, Debian and OS X. Please subscribe if you find something useful!

Rubular

Posted: December 2nd, 2009 | Author: Jerod | Filed under: Ruby | Comments

Most of the online regular expression testers I’ve used just aren’t that useful, but Rubular is the exception. It uses AJAX appropriately, has a clean aesthetic, and the quick reference at the bottom of the page is so useful it hurts. Plus, it has great features such as match extraction and the ability to create permalinks to your results.

rubular

Rubular is only for Ruby regexes. I wish somebody would make one for JavaScript. Jubular, anyone?


280 Atlas Introductory Screencast

Posted: November 16th, 2009 | Author: Jerod | Filed under: Cappuccino | Tags: , | Comments

The much anticipated 280 Atlas developer beta is under way and I recorded a brief screencast introducing the basic concepts of creating applications with Atlas.

In it I build a simplified version of the payment calculator from chapter 2 of Cocoa Design Patterns.

Topics covered include creating a Cib-based project, laying out an interface and binding outlets/actions to working code.

Hope it helps!

280 Atlas Introductory Screencast from Jerod Santo on Vimeo.

Related Posts:


Ad Hoc Command-Line Notifications with Twitter

Posted: November 14th, 2009 | Author: Jerod | Filed under: Ruby, Tools | Tags: | Comments

Have you ever spent way too much time babysitting a long-running command? Code compilation, large file transfers, software upgrades and other time consuming tasks can trash productivity by requiring intermittent attention.

I have a novel idea; let’s not do that anymore!

Read the rest of this entry »


Managing Broken Symlinks

Posted: November 5th, 2009 | Author: Jerod | Filed under: Bash | Tags: , , | Comments

I just added two new functions to my bashrc which make it super-simple to find & remove broken symbolic links on your system.

They’re simple wrappers around the ever-useful “find” utility:

function find_broken_symlinks() { find -x -L "${1-.}" -type l; }
function rm_broken_symlinks() { find -x -L "${1-.}" -type l -exec rm {} +; }

You can call the functions with a specific path:

jerod@mbp:~$ find_broken_symlinks /usr/local/bin

Or you can call them sans argument to search your current working directory:

jerod@mbp:~$ find_broken_symlinks

Enjoy!


Learning Cappuccino: A Linked List

Posted: November 1st, 2009 | Author: Jerod | Filed under: Cappuccino | Comments

Picking up a new framework can be a daunting task, especially if you’re simultaneously learning a new language. I’ve done this before when I learned Ruby & Rails all in one fell swoop. It was not easy. I’m doing it again with Objective-J and Cappuccino.

Along the way I’ve compiled a list of valuable resources. I believe many others will be taking this same journey in the coming days (especially once Atlas drops), so I’m sharing my findings for the benefit of all.

Read the rest of this entry »