Subscribe to the RSS feed or follow me on Twitter (@alexpeattie) for updates.

2021

19 April, 2021 Quickly associate all source code files with your editor in macOS using duti

2020

11 June, 2020 Making HTTP requests with Deno
07 June, 2020 PSA: Don't use cssnano from within postcss-loader
04 June, 2020 Quick tip: Loading a plain IRB session with no syntax highlighting or multiline editing in Ruby 2.7+
02 June, 2020 How to load local PostCSS plugins with postcss-loader

2017

18 January, 2017 Stop forgetting your foreign key indexes in Rails with this simple post-migration script

2016

15 February, 2016 Quick tip: Set the default controllerAs to vm for .component() in Angular 1.5+
09 February, 2016 Signing a CSR with an ECDSA key in Ruby
01 February, 2016 Rails tip – Grouping ActiveRecord objects by day or week using datetrunc
03 January, 2016 Retiring two old projects – animate-textshadow.js and CSS floating feedback button

2014

16 February, 2014 Handling strong parameters in Devise 3.1+

2013

04 June, 2013 Better GitHub-style syntax highlighting with Rouge
01 February, 2013 Cross-domain communication without CORS
12 January, 2013 Why you might want to silence console.log

2012

03 December, 2012 Two awesome APIs you probably haven't heard of: SharedCount and RESTMailer
06 November, 2012 How a seaweed expert and a screw-up helped win WWII
24 October, 2012 TwilioCon 2012
13 August, 2012 Two quick tips to speed up Rails 3 on Heroku
19 June, 2012 Teaching computers to rap
22 May, 2012 jQuery gotcha: visibility vs. :visible
08 April, 2012 GitHub-style syntax highlighting with Pygments
01 March, 2012 Site redesign
04 February, 2012 Defining versions in Ruby gems

2011

03 November, 2011 Improve JS performance with $.noop
05 June, 2011 New projects - CSS feedback button & animate-textshadow
14 April, 2011 JustVector Icons update (v1.5)
11 March, 2011 Working with dates in Git