Introducing the all new Gavin Laking http://gavinlaking.name It's all about me, me, me. posterous.com Sat, 19 Jun 2010 05:40:00 -0700 More interesting bookmarks http://gavinlaking.name/more-interesting-bookmarks http://gavinlaking.name/more-interesting-bookmarks

Interesting form builder plugin... Justin French's Formtastic - GitHub

Interesting article about the pro’s of using level-index arithmetic: The Higher Arithmetic - American Scientist

Note to self: To resize while maintaining aspect ratio, use “64x64>” - This will resize either the width or the height to 64 pixels and the other side will be relatively smaller. To resize with crop, use “64x64#” - This will resize in both width and height being cropped to 64 pixels and the longer of the two will be cropped evenly on either side.

Impressive potential replacement for datatable: 2dconcept - jQuery grids for your Ruby on Rails applications (jqgrid plugin)

Some Ruby best practices: Good Ruby Times

Nice wallpaper styles: DinPattern – Free seamless patterns, brushes and themes

Gradual Engagement: Beta Blog: Kill Your Signup Form with Rails

Implementing ActiveMerchant Recurring Billing on a gateway that does not yet support it: WyeWorks Blog: Active Merchant Recurring Billing

Ruport - A simple, extensible reporting system built for Rubyists:

Super easy PDF generation with Prawn and Prawnto: Videos - WindyCityRails 2009

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/602458/Photo_on_2010-06-17_at_16.35.jpg http://posterous.com/people/5fiTKW2SgPG9 Gavin Laking gavinlaking Gavin Laking
Mon, 17 May 2010 01:50:50 -0700 Blueprint 24 column grid layout http://gavinlaking.name/blueprint-24-column-grid-layout http://gavinlaking.name/blueprint-24-column-grid-layout
Download now or preview on posterous
blueprint_24.pdf (227 KB)

I've just created this printable 24 column Blueprint CSS
(http://blueprintcss.org/) layout for wireframing.

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/602458/Photo_on_2010-06-17_at_16.35.jpg http://posterous.com/people/5fiTKW2SgPG9 Gavin Laking gavinlaking Gavin Laking
Mon, 17 May 2010 01:49:12 -0700 Tracking external/outbound links with Google Analytics & jQuery http://gavinlaking.name/tracking-externaloutbound-links-with-google-a-0 http://gavinlaking.name/tracking-externaloutbound-links-with-google-a-0 For a related project we have undertaken whilst working on
ReservationLive, we have needed to track clicks for external links.
There are a few solutions available after a quick Google search, but
most rely on either the old "urchin" analytics code, or the newer
"ga.js" tracking code. Google recently released an asynchronous
version of their tracking code, and our solution works with that.
You'll also need the ubiquitous jQuery for this solution, but it is
assumed you have that already.

First of all, one will need to attach the 'rel' attribute to the
anchor element for external links, we're using 'external' as this
makes semantic sense.

1
<a rel='external' href='http://blog.reservationlive.net/'>ReservationLove</a>

Now, we need jQuery to pass the URL of the link to Google Analytics
when an external link is clicked. We do that with this snippet:

1
2
3
4
5
$(document).ready(function() {
 $("a[rel=external]").click(function(){
    _gaq.push(['_trackPageview', '/outgoing/' + $(this).attr('href')]);
  });
});

As you can see, all external links appear as if they are linking to
local resources in the '/outgoing/' directory of our webserver; you
can customise this as you wish. You will need to wait at least 24
hours for the new links to show up in the 'Content Overview' section
of Google Analytics.

Happy tracking!

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/602458/Photo_on_2010-06-17_at_16.35.jpg http://posterous.com/people/5fiTKW2SgPG9 Gavin Laking gavinlaking Gavin Laking
Wed, 05 May 2010 09:58:00 -0700 Interesting bookmarks... http://gavinlaking.name/how-much-are-you-testing-is-the-wrong-questio http://gavinlaking.name/how-much-are-you-testing-is-the-wrong-questio

How much are you testing is the wrong question

Nested Forms With jQuery

Rails, Ajax and jQuery at code tunes

Simply-Buttons v2 : p51 Labs

Learnivore: Ruby/Rails/iPhone screencasts

Google Chrome (Chromium) for Mac (Nightly Snapshots)

25 Tips for Intermediate Git Users by Andy Jeffries

Spreedly handles everything you need to make money

The Invoice Machine | Online Invoicing Made Beautiful

Ruby On Rails Polymorphic Paperclip Plugin Tutorial | Burm.net

QueryTrace

WeeklyBuilder: A weekly calendar plugin for Rails | dMix | Dan McGrady

jQuery Tools - Missing UI library for the web

preferences | AgileWebDevelopment

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/602458/Photo_on_2010-06-17_at_16.35.jpg http://posterous.com/people/5fiTKW2SgPG9 Gavin Laking gavinlaking Gavin Laking
Thu, 24 Sep 2009 10:17:40 -0700 Ruby regular expressions http://gavinlaking.name/ruby-regular-expressions http://gavinlaking.name/ruby-regular-expressions http://doc.infosnel.nl/ruby_regular_expressions.html

Ruby Regular Expressions Reference

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/602458/Photo_on_2010-06-17_at_16.35.jpg http://posterous.com/people/5fiTKW2SgPG9 Gavin Laking gavinlaking Gavin Laking
Wed, 19 Aug 2009 20:34:18 -0700 jQuery Ajax tutorials, jQuery UI examples and more! - The Ultimate jQuery List http://gavinlaking.name/jquery-ajax-tutorials-jquery-ui-examples-and-1 http://gavinlaking.name/jquery-ajax-tutorials-jquery-ui-examples-and-1 http://jquerylist.com/

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/602458/Photo_on_2010-06-17_at_16.35.jpg http://posterous.com/people/5fiTKW2SgPG9 Gavin Laking gavinlaking Gavin Laking
Wed, 19 Aug 2009 20:34:10 -0700 Automatic version numbering using Git « rfwatson.net http://gavinlaking.name/automatic-version-numbering-using-git-rfwatso http://gavinlaking.name/automatic-version-numbering-using-git-rfwatso http://blog.rfwatson.net/2009/06/03/automatic-version-numbering-using-git/

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/602458/Photo_on_2010-06-17_at_16.35.jpg http://posterous.com/people/5fiTKW2SgPG9 Gavin Laking gavinlaking Gavin Laking
Wed, 19 Aug 2009 20:34:04 -0700 Sexy Drop Down Menu w/ jQuery & CSS http://gavinlaking.name/sexy-drop-down-menu-w-jquery-and-css-0 http://gavinlaking.name/sexy-drop-down-menu-w-jquery-and-css-0 http://www.noupe.com/tutorial/drop-down-menu-jquery-css.html

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/602458/Photo_on_2010-06-17_at_16.35.jpg http://posterous.com/people/5fiTKW2SgPG9 Gavin Laking gavinlaking Gavin Laking
Wed, 19 Aug 2009 20:33:53 -0700 jQuery lightbox for images, videos, YouTube, iframes - by Stephane Caron http://gavinlaking.name/jquery-lightbox-for-images-videos-youtube-ifr-0 http://gavinlaking.name/jquery-lightbox-for-images-videos-youtube-ifr-0 http://www.no-margin-for-errors.com/projects/prettyPhoto-jquery-lightbox-clone/

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/602458/Photo_on_2010-06-17_at_16.35.jpg http://posterous.com/people/5fiTKW2SgPG9 Gavin Laking gavinlaking Gavin Laking
Wed, 19 Aug 2009 20:33:45 -0700 Setting up a new remote git repository http://gavinlaking.name/setting-up-a-new-remote-git-repository http://gavinlaking.name/setting-up-a-new-remote-git-repository http://toolmantim.com/articles/setting_up_a_new_remote_git_repository

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/602458/Photo_on_2010-06-17_at_16.35.jpg http://posterous.com/people/5fiTKW2SgPG9 Gavin Laking gavinlaking Gavin Laking
Wed, 19 Aug 2009 20:33:36 -0700 Misuse » Continuous Testing and Testing Single Methods in Ruby on Rails http://gavinlaking.name/misuse-continuous-testing-and-testing-single http://gavinlaking.name/misuse-continuous-testing-and-testing-single http://www.misuse.org/science/2009/03/25/continuous-testing-and-testing-singl...

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/602458/Photo_on_2010-06-17_at_16.35.jpg http://posterous.com/people/5fiTKW2SgPG9 Gavin Laking gavinlaking Gavin Laking
Wed, 19 Aug 2009 20:33:28 -0700 The Ruby Toolbox: Know your options! http://gavinlaking.name/the-ruby-toolbox-know-your-options-2 http://gavinlaking.name/the-ruby-toolbox-know-your-options-2 http://ruby-toolbox.com/

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/602458/Photo_on_2010-06-17_at_16.35.jpg http://posterous.com/people/5fiTKW2SgPG9 Gavin Laking gavinlaking Gavin Laking
Wed, 19 Aug 2009 20:33:13 -0700 RailsLodge - Wizard plugin http://gavinlaking.name/railslodge-wizard-plugin http://gavinlaking.name/railslodge-wizard-plugin http://www.railslodge.com/plugins/1336-wizard

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/602458/Photo_on_2010-06-17_at_16.35.jpg http://posterous.com/people/5fiTKW2SgPG9 Gavin Laking gavinlaking Gavin Laking
Wed, 19 Aug 2009 20:32:58 -0700 SeeSaw's blog : Rails plugin: acts_as_wizard http://gavinlaking.name/seesaws-blog-rails-plugin-actsaswizard http://gavinlaking.name/seesaws-blog-rails-plugin-actsaswizard http://blog.seesaw.it/articles/2006/05/02/rails-plugin-acts_as_wizard

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/602458/Photo_on_2010-06-17_at_16.35.jpg http://posterous.com/people/5fiTKW2SgPG9 Gavin Laking gavinlaking Gavin Laking
Wed, 19 Aug 2009 20:31:33 -0700 Revolution On Rails: DRYing Up Polymorphic Controllers http://gavinlaking.name/revolution-on-rails-drying-up-polymorphic-con http://gavinlaking.name/revolution-on-rails-drying-up-polymorphic-con http://revolutiononrails.blogspot.com/2007/05/drying-up-polymorphic-controlle...

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/602458/Photo_on_2010-06-17_at_16.35.jpg http://posterous.com/people/5fiTKW2SgPG9 Gavin Laking gavinlaking Gavin Laking
Wed, 19 Aug 2009 20:31:16 -0700 Ripping music from Spotify in OSX. | Spotifyripping.com http://gavinlaking.name/ripping-music-from-spotify-in-osx-spotifyripp http://gavinlaking.name/ripping-music-from-spotify-in-osx-spotifyripp http://www.spotifyripping.com/?page_id=17

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/602458/Photo_on_2010-06-17_at_16.35.jpg http://posterous.com/people/5fiTKW2SgPG9 Gavin Laking gavinlaking Gavin Laking
Wed, 19 Aug 2009 15:21:08 -0700 Er7 Radio http://gavinlaking.name/er7-radio http://gavinlaking.name/er7-radio http://er7radio.net/

Essential Mixes, The Essential Selection, Transitions, Mash-Ups & Experimental Music

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/602458/Photo_on_2010-06-17_at_16.35.jpg http://posterous.com/people/5fiTKW2SgPG9 Gavin Laking gavinlaking Gavin Laking
Wed, 19 Aug 2009 09:43:46 -0700 Nondestructively Resizing Volumes | Mac Geekery http://gavinlaking.name/nondestructively-resizing-volumes-mac-geekery http://gavinlaking.name/nondestructively-resizing-volumes-mac-geekery http://www.macgeekery.com/tips/cli/nondestructively_resizing_volumes

Using diskutil to resize partitions on-the-fly

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/602458/Photo_on_2010-06-17_at_16.35.jpg http://posterous.com/people/5fiTKW2SgPG9 Gavin Laking gavinlaking Gavin Laking
Tue, 18 Aug 2009 22:14:36 -0700 Quick Tip for working with Paypal and ActiveMerchant in your Rails Application http://gavinlaking.name/quick-tip-for-working-with-paypal-and-activem http://gavinlaking.name/quick-tip-for-working-with-paypal-and-activem http://www.justinball.com/2009/02/17/quick-tip-for-working-with-paypal-and-ac...

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/602458/Photo_on_2010-06-17_at_16.35.jpg http://posterous.com/people/5fiTKW2SgPG9 Gavin Laking gavinlaking Gavin Laking
Tue, 18 Aug 2009 21:45:00 -0700 PayPal SandBox User Guide http://gavinlaking.name/paypal-sandbox-user-guide http://gavinlaking.name/paypal-sandbox-user-guide https://www.paypal.com/en_US/pdf/PP_Sandbox_UserGuide.pdf

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/602458/Photo_on_2010-06-17_at_16.35.jpg http://posterous.com/people/5fiTKW2SgPG9 Gavin Laking gavinlaking Gavin Laking