Alastairdawson - blog.alastairdawson.com - Alastair's Axioms
General Information:
Latest News:
Spork, Rails 3, and rspec-rails play nice together 12 Aug 2011 | 11:13 am
Getting the following error when starting up spork? Add the following to your Gemfile under test and make fix!
Getting a blank screen when using Adobe’s Flash Packager for iPhone? 28 Oct 2010 | 08:27 am
Chris Cantrell released an iPhone packager refresher a few weeks back but when I packaged up my AIR app I was getting a blank white screen (as were a few others). However I got it to work after I made...
A Datamapper is remixable example 30 Jul 2010 | 01:10 pm
I struggled a bit this afternoon getting Datamapper’s dm-is-remixable plug-in as there aren’t too many posts out there and some are out of date. Hopefully this quick overview will spare you my pain M...
A Sinatra before only filter 28 Jul 2010 | 09:10 am
In a Sinatra application you can use the ‘before’ filter to run something before every each event. Here’s a module that will allow you to run code only before certain routes: Use it like below, note...
Getting Netbeans 6.9 to work on OS X 10.5.8 16 Jul 2010 | 08:34 am
After downloading and installing Netbeans 6.9 I launched the app. It bounced a couple of times in my dock as dreams of exciting new features danced in my head. Then… nothing, well not quite nothing, I...
Flex/Flash Builder will soon be the easiest way to develop mobile apps 12 Feb 2010 | 08:28 am
OpenPlug just released the latest beta version of their ELIPS Studio, which adds Android support. Currently ELIPS Studio is Windows only but in a month they will add OS X support, yay! The latest ver...
Automate font compiling for Flex with Ruby 1 Jul 2009 | 05:31 am
I came up with this solution when I had to compile over 100 fonts into SWF files for a recent project. Doing this by hand would have been madness so I wrote a ruby script and a shell script to automat...
PureMVC for JavaScript Released 26 Nov 2008 | 08:41 pm
I won’t be dropping my beloved Flex anytime soon but it’s nice to know if you must do JavaScript (and let’s be honest Flex isn’t always the best tool) you can at least use a familiar framework. Check...
Paperclip for easy Rails file uploads 26 Nov 2008 | 08:17 pm
It’s my first post in months*, so it must be worth it right? Rails Inside has the details on Paperclip as an alternative file upload/association plugin, I’ve tried them all and paperclip covers all y...
Skinning a Flex button with one MXML file (and Degrafa) 6 Aug 2008 | 05:13 pm
Skinning a flex button can often take multiple graphics and/or MXML files for each state. Here’s how to skin a button using MXML and Degrafa to handle three button states with just one file (plus a bo...