<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description></description><title>Troy Whiteley</title><generator>Tumblr (3.0; @troywhiteley)</generator><link>http://troywhiteley.com/</link><item><title>ThinBox updated</title><description>&lt;p&gt;I just pushed a change to ThinBox. It fixes an issue with ThinBox.open(). It will now work when there are no elements on the page targeting ThinBox.&lt;/p&gt;</description><link>http://troywhiteley.com/post/471232353</link><guid>http://troywhiteley.com/post/471232353</guid><pubDate>Wed, 24 Mar 2010 17:04:41 -0700</pubDate></item><item><title>ThirdStyle</title><description>&lt;a href="http://thirdstyle.com"&gt;ThirdStyle&lt;/a&gt;: &lt;p&gt;New version of Flash Flash Revolution.&lt;/p&gt;</description><link>http://troywhiteley.com/post/464099167</link><guid>http://troywhiteley.com/post/464099167</guid><pubDate>Sun, 21 Mar 2010 14:52:40 -0700</pubDate></item><item><title>TwitterScroll</title><description>&lt;p&gt;TwitterScroll is an experimental app that streams tweaks from a given topic.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://github.com/dawnerd/TwitterScroll"&gt;Download from GitHub&lt;/a&gt;&lt;/p&gt;</description><link>http://troywhiteley.com/post/412755791</link><guid>http://troywhiteley.com/post/412755791</guid><pubDate>Thu, 25 Feb 2010 21:59:34 -0800</pubDate><category>jquery</category><category>javascript</category><category>twitter</category><category>php</category><category>live feed</category></item><item><title>Thinbox</title><description>&lt;p&gt;ThinBox is a result of frustration from existing lightbox implementations. ThinBox is designed to be customizable, yet very lightweight. It is also a near drop in replacement for the now deprecated Thickbox.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Loading of content form hidden elements based on id.&lt;/li&gt;
&lt;li&gt;Iframed content.&lt;/li&gt;
&lt;li&gt;Ability to dynamically resize an iframe with animation.&lt;/li&gt;
&lt;li&gt;Image loading with image caption loaded from hidden element.&lt;/li&gt;
&lt;li&gt;Settings for everything, including id’s used on thinbox elements.&lt;/li&gt;
&lt;li&gt;Setting to make the thinbox 100% of the browser height.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Dependencies&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://jquery.com"&gt;jQuery 1.3&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Usage&lt;/h2&gt;
&lt;p&gt;To get basic functionality working, just include the correct javascript files on the page. Thinbox will work right out of the box without any configuration changes.&lt;/p&gt;</description><link>http://troywhiteley.com/post/412753579</link><guid>http://troywhiteley.com/post/412753579</guid><pubDate>Thu, 25 Feb 2010 21:58:00 -0800</pubDate><category>thinbox</category><category>lightbox</category><category>modal</category><category>user interface</category><category>jquery</category><category>javascript</category><category>plugin</category></item><item><title>Python Gmail Checker</title><description>&lt;p&gt;&lt;i&gt;Note: This script is pretty pointless. Use Google Notifier + Growl for a better experience.&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;Checks Gmail and alerts you of new messages via growl. Unfortunately, growl’s python bindings suck and it just eats up memory. I suppose you can set this up as a cron job.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://github.com/dawnerd/python-gmail-checker/blob/master/checkGmail.py"&gt;Download from GitHub&lt;/a&gt;&lt;/p&gt;</description><link>http://troywhiteley.com/post/412749558</link><guid>http://troywhiteley.com/post/412749558</guid><pubDate>Thu, 25 Feb 2010 21:55:57 -0800</pubDate><category>python</category><category>gmail</category><category>growl</category><category>notifications</category></item><item><title>PHP Validation Class</title><description>&lt;p&gt;Quick and easy way to do simple validations in PHP.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://github.com/dawnerd/php-validation-class/blob/master/validation.class.php"&gt;Download from GitHub&lt;/a&gt;&lt;/p&gt;</description><link>http://troywhiteley.com/post/412746608</link><guid>http://troywhiteley.com/post/412746608</guid><pubDate>Thu, 25 Feb 2010 21:54:00 -0800</pubDate><category>php</category><category>validation</category><category>class</category></item><item><title>DefaultInput</title><description>&lt;p&gt;DefaultInput is a jQuery plugin that handles the display of default text in input fields. The benefit to this script is that you just have to put the class &lt;code&gt;jsDefaultInput&lt;/code&gt; on the form element you want to be affected. Just make sure you set the value of the input element.&lt;/p&gt;
&lt;h2&gt;Dependencies&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://jquery.com"&gt;jQuery 1.3&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://github.com/jgallen23/low-pro-for-jquery"&gt;Low Pro JQ&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://github.com/dawnerd/DefaultInput"&gt;Download from GitHub&lt;/a&gt;&lt;/p&gt;</description><link>http://troywhiteley.com/post/411593330</link><guid>http://troywhiteley.com/post/411593330</guid><pubDate>Thu, 25 Feb 2010 11:23:44 -0800</pubDate><category>jquery</category><category>javascript</category><category>open source</category><category>plugin</category><category>personal project</category><category>user interface</category></item><item><title>BLT Checkbox</title><description>&lt;p&gt;Create custom checkboxes by simply defining css styles. This moves all of the presentation to css instead of relying on the jquery plugin to write html.&lt;/p&gt;
&lt;p&gt;&lt;a&gt;Download from GitHub&lt;/a&gt;&lt;/p&gt;</description><link>http://troywhiteley.com/post/411589638</link><guid>http://troywhiteley.com/post/411589638</guid><pubDate>Thu, 25 Feb 2010 11:20:56 -0800</pubDate><category>jquery</category><category>javascript</category><category>personal project</category><category>open source</category><category>plugin</category><category>html</category><category>user interface</category></item><item><title>AjaxPages</title><description>&lt;p&gt;AjaxPages allows you to have urls that look like: &lt;code&gt;example.com/#/music/artist/&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;By using this approach, you will no longer have full page refreshes. If implemented correctly, your site may appear to much more responsive.&lt;/p&gt;
&lt;p&gt;&lt;a&gt;Download from GitHub&lt;/a&gt;&lt;/p&gt;</description><link>http://troywhiteley.com/post/411588011</link><guid>http://troywhiteley.com/post/411588011</guid><pubDate>Thu, 25 Feb 2010 11:19:46 -0800</pubDate><category>jquery</category><category>javascript</category><category>open source</category><category>personal project</category><category>plugin</category></item><item><title>Force Reset Master [GIT]</title><description>&lt;p&gt;I’ve had a few occasions when something would happen and git would refuse to let me change a branch, reset or pull. I was basically stuck. One option would have been to wipe my local git repo and re-pull from the remote, but that’s a little extreme.&lt;/p&gt;
&lt;p&gt;I found out a way that is relatively harmless. It’s worked every time for me when I absolutely need my master reset. Warning, make sure you have a backup of  your stuff before running this command.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$ git reset HEAD^ --hard
$ git pull&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If everything worked as planned, you should have exactly what’s on origin/master. Now you can manually re-add your changes one by one to find out what caused git to mess up.&lt;/p&gt;
&lt;p&gt;A few things I think cause this are people working on a project with you force pushing to remote or using different line endings.&lt;/p&gt;</description><link>http://troywhiteley.com/post/411584043</link><guid>http://troywhiteley.com/post/411584043</guid><pubDate>Thu, 25 Feb 2010 11:16:49 -0800</pubDate><category>Git</category><category>problem solving</category><category>collaboration</category><category>source control</category></item><item><title>Finding Which Revision Broke A Build [GIT]</title><description>&lt;p&gt;So someone broke something and you have no idea which revision it was. Git has a very handy way for you to figure it out. All you need to know is the revision number for a build that worked. Then you can use the &lt;code&gt;git bisect&lt;/code&gt; command to find the bad revision.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$ git bisect start
$ git bisect bad
$ git bisect good df2cdf88a8b9fd8232880787b6de72de2f4efb20&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;You should then get some output like:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Bisecting: 467 revisions left to test after this&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This will automatically checkout a revision somewhere in the middle of the revisions marked good and bad. This is when you will run a build and test if it broke. If it did:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$ git bisect bad&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;or if it succeeded:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$ git bisect good&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Just continue this until git gives you the revision it thinks broke the build.&lt;/p&gt;
&lt;p&gt;Source: &lt;a href="http://ftp.cc.uoc.gr/pub/software/scm/git/docs/git-bisect.html"&gt;Git documentation&lt;/a&gt;&lt;/p&gt;</description><link>http://troywhiteley.com/post/411576479</link><guid>http://troywhiteley.com/post/411576479</guid><pubDate>Thu, 25 Feb 2010 11:11:00 -0800</pubDate><category>Git</category><category>source control</category><category>revision</category><category>problem solving</category><category>collaboration</category></item></channel></rss>
