I’ve been a bit confused by ‘&’-type scope properties of directives, so I finally took a few minutes to play around with them in attempt to get to the bottom of things. Paraphrasing the AngularJS docs, ‘&’ properties are meant to provide a way to execute an expression in the context of the parent scope … [Read more…]
First off, all the credit credit and thanks goes to John Lindquist of egghead.io. If you’re interested in AngularJS, visit egghead.io and watch all of the videos (41 total as I’m writing this), they are well worth it for beginners, and people already using it alike. While watching these videos, I decided to take some … [Read more…]
If you don't hate time zones, you're not a real programmer. — Josh Susser (@joshsusser) October 15, 2012 The pains of working with timezones often hide themselves unless you’re developing something for an overseas client, or an international audience. This is especially true when working with dates that fall in-between days and/or weeks (ie. Sunday/Monday 00:00). Don’t forget … [Read more…]
The most recent Subclipse Eclipse plugin (v1.8.x) requires SVN/JavaHL 1.7.x; however, running sudo apt-get install libsvn-java doesn’t quite get you there in Ubuntu. Fortunately Dominik Stadler has created a PPA you can add to your software sources. Before you continue, uninstall your existing libsvn-java: sudo apt-get purge libsvn-java Then proceed to add the PPA and reinstall … [Read more…]
One of the best reasons to jailbreak your iOS device was Lock Calendar (http://cydia.saurik.com/package/lockcalendar).. unfortunately there haven’t been any updates for iOS5 compatibility. Recently however, the developer’s twitter feed (@volatile_dev) has breathed new life into Lock Calendars iOS5 era. Looking forward to installing it on 5.0.1 sometime soon!
Hold down ‘alt’ and right click+hold near the edge/corner of any window in Xubuntu/Xfce to resize without having to target those tiny pixel-sized borders. Sweet!
While browsing StackOverflow I accidentally stumbled upon this question. The issue seemed like a simple but interesting one, and since google had no answers I thought it would be fun to give it a shot. The first iteration of my solution involved reading in strings of indefinite length, but it quickly turned into a overly-complex … [Read more…]
This Python script provides very basic deployment functionality for simple, code-only updates and does not include database support. The script, in a few words, does the following: Executes an SVN export on the trunk or branch of a repository Connects to an FTP server and uploads all files (and directories) that have a newer modification … [Read more…]
While I prefer to make quick changes to my code in a lightweight text editor, any lengthy coding session usually involves loading up an IDE in order to have access to all of the extra time-saving features. Code completion is one of those hard-to-live-without features that IDEs provide.. here’s a quick rundown showing how to … [Read more…]