2012

Page 2 of 6

How to Reset ID of an Element - jQuery

Hey All, Just a quick post on how to set the ID of an element (in this case a div) with jQuery. I needed to use this to dynamically clone elements. The script above…

Read post

Additional Logging - Heroku

Hey everyone, I needed to do a fair bit of logging and came across a heroku guide that shows how to make things a little easier. Change logging level to debug: heroku…

Read post

Blocking Duplicate Payment - Paypal

Hey everyone, Just a quick post on how to block duplicate payments with PayPal. All you have to do is pass an invoice parameter and then select the ‘block multiple…

Read post

Uploadify - Limit to One Upload Only

Hey everyone, Just a quick post detailing how to limit uploadify to a single file. Simply add the following settings to your uploadify initialisation: multi: false…

Read post

Git with KDiff3 - Windows

Hey all, Just a quick post showing the config I needed to use in order to get KDiff3 working with git. It took a while to get this working so hopefully it’ll be able…

Read post

Recreate Database - Ruby on Rails

Hey everyone, Due to an issue with a few migrations in a dev environment I needed to recreate the database. A quick Google search revealed that it is possible to do…

Read post

Copy Syntax Highlighting to Word

Hey everyone, In a previous post I gave a quick example of how to copy syntax highlight from Notepad++ to word (http://www.whatibroke.com/?p=192), I’ve recently been…

Read post