Skip to content

Instantly share code, notes, and snippets.

View DylanFM's full-sized avatar

Dylan Fogarty-MacDonald DylanFM

View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@DylanFM
DylanFM / reportfeature.json
Last active August 29, 2015 13:58
Geojson test response from bushfires API
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@DylanFM
DylanFM / el quoté.md
Created December 11, 2013 23:02
A quote regarding peace of mind and working with machines, from page 165 of (this edition of) Zen and the Art of Motorcycle Maintenance by Robert M. Pirsig.

"Peace of mind isn't at all superficial, really," I expound. "It's the whole thing. That which produces it is good maintenance; that which disturbs it is poor maintenance. What we call workability of the machine is just an objectification of this peace of mind. The ultimate test's always your own serenity. If you don't have this when you start and maintain it while youre working you're likely to build you personal problems right into the machine itself."

jQuery.valitito = {}
jQuery.fn.valid = ->
delete jQuery(@).data()['valid']
jQuery(@).trigger('validate')
if jQuery(@).find('input').length
for input in jQuery(jQuery(@).find('input'))
if !$(input).valid()
jQuery(@).data('valid', false)
break
@DylanFM
DylanFM / gist:5522845
Created May 6, 2013 01:21
buoys scheduler error
May 06 11:10:08 buoys heroku/api: Starting process with command `coffee worker.coffee` by [email protected]
May 06 11:10:10 buoys heroku/scheduler.9077: Starting process with command `coffee worker.coffee`
May 06 11:10:11 buoys heroku/scheduler.9077: State changed from starting to up
May 06 11:10:11 buoys app/scheduler.9077: Byron Bay - fetching graph from http://mhl.nsw.gov.au/data/byron.gif
May 06 11:10:11 buoys app/scheduler.9077: Coffs Harbour - fetching graph from http://mhl.nsw.gov.au/data/coffs.gif
May 06 11:10:11 buoys app/scheduler.9077: Crowdy Head - fetching graph from http://mhl.nsw.gov.au/data/crowdy.gif
May 06 11:10:11 buoys app/scheduler.9077: Sydney - fetching graph from http://mhl.nsw.gov.au/data/syddir.gif
May 06 11:10:11 buoys app/scheduler.9077: Port Kembla - fetching graph from http://mhl.nsw.gov.au/data/portko.gif
May 06 11:10:11 buoys app/scheduler.9077: Batemans Bay - fetching graph from http://mhl.nsw.gov.au/data/batman.gif
May 06 11:10:11 buoys app/schedul
@DylanFM
DylanFM / Chips off the Old Benchley
Created February 5, 2013 23:35
Chips off the Old Benchley I find myself trying to find this every now and then.
How to Get Things Done
Robert Benchley
Chips off the Old Benchley
(c) 1949
A great many people have come up to me and asked me how I manage to get so
much work done and still keep looking so dissipated. Hundreds of thousands
of people throughout the country are wondering how I have time to do all my
painting, engineering, writing and philanthropic work when, according to the