Monthly Archives: April 2012

Backbone.js Tutorial

I’ve written about Backbone before but I wanted to give a tutorial a shot. I’m going from the beginning. Final product Available here What is it? Well I’m not going to write it out. I’ll just copy and paste. Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections [...]

Posted in JavaScript, programming | Tagged , | Comments closed

iOS development – Find #tags in an NSString

Currently in Notethread I’m adding some functionality for #tags in notes. When I save the note I scan through the text (NSString) to find anything matching the regex: //The # character followed by any word character @”#(\\w+)” Here’s a gist with the methods you’ll need. If you want to view a class I’ve written that [...]

Posted in iOS, programming | Tagged | Comments closed

And so why do we keep going?

To take advantage of being human. To learn. To desire. To always be better than we are today. We are not stone. We can move, think and feel. Don’t waste it.

Posted in my life, thoughts | Comments closed

Make “Pre” Text Wrap

Make “Pre” Text Wrap, css-tricks Text in pre tags doesn’t wrap by default. pre { white-space: pre-wrap; /* css-3 */ white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ white-space: -pre-wrap; /* Opera 4-6 */ white-space: -o-pre-wrap; /* Opera 7 */ word-wrap: break-word; /* Internet Explorer 5.5+ */ } This is an issue I’ve had with code [...]

Posted in design, link | Tagged | Comments closed

Python Learning Journal

I’ve decided to keep a simple journal when going through Learn Python The Hard Way. It’s nothing special and you may get bored, but I’ll keep updating it with the latest information as I keep stepping through. I have gone from the very start. The basics are always the best place to start; I see [...]

Posted in my life, programming, Python, thoughts | Tagged , | Comments closed

iOS Development – Lockbox

Lockbox Lockbox is an Objective-C utility class for storing data securely in the keychain. Use it to store small, sensitive bits of data securely. via iOS Dev Weekly, curated by Dave Verwer

Posted in iOS, link, programming | Tagged | Comments closed

FrameUtils

FrameUtils via codercowboy We created FrameUtils. FrameUtils is a collection of utility methods that simplify frame resize, movement, and debugging operations.

Posted in iOS, programming | Comments closed