PJAX: Speed up every link on every page

This is one of the most amazing jquery functions I’ve seen in a while. It loads your HTML or content that is dynamic without reloading the unchanged bits, making page loads lightning fast. ON that, does anyone know the speed of lightning (and no, Cars 2 is not what I’m asking)? You’ll need jquery included [...]

WordPress: GeoLocation JS Plugin

Have you ever needed to change a background image based on the state or IP address the visitor comes from? Here is the fastest, easiest, and most effective WP Plugin for that. I was blown away with how fast I got what I needed. This uses the very awesome MaxMind GeoIP web service. WP GeoLocation [...]

Rails: What is new and awesome in Rails 3.1 beta 1

The new hotness of 3.1 beta 1 is the concept of Asset Template Engines (ATE if you condense that) which basically allows you to not have to deal with piles-o-files with javascript, css, images, etc. You can still have tons of them, but now you don’t have to figure out how to include them all. [...]

jQuery: Global Delete Confirmation

You need to start with document ready of course, and include your jQuery script in your page as shown below, then adding a delete confirmation to any button is as easy as this: <script type="text/javascript" src="jQuery/jQuery-1.4.2.js"></script> $(document).ready(function(){   // here’s the magic: $(‘.delete’).click(function(){ // this will display a confirm (ok/cancel) pop-up box var result = [...]