Skip to content

Instantly share code, notes, and snippets.

View xrd's full-sized avatar

Chris Dawson xrd

View GitHub Profile
@tomstuart
tomstuart / figtest.md
Last active January 2, 2016 01:28
Running a basic Ruby app with Fig on OS X

You must already have pip (brew install python), Vagrant (from the OS X installer, not the gem) and VirtualBox installed.

First, install Docker:

$ curl https://raw.github.com/noplay/docker-osx/master/docker > /usr/local/bin/docker
$ chmod +x /usr/local/bin/docker
$ docker version
@steida
steida / gist:b975439378980911ee4d
Last active March 20, 2018 15:37
I love Coffee React with dependency injection.
goog.provide 'app.react.App'
class app.react.App
###*
@param {app.Routes} routes
@param {app.react.Header} header
@param {app.react.Footer} footer
@param {app.react.pages.Home} home
@param {app.react.pages.EditSong} editSong
@BenoitDuffez
BenoitDuffez / mig
Last active October 12, 2023 18:52
Parse migration failed exception (Android Room)
#!/bin/bash
# Clean up on exit
function finish {
rm -f expected found
}
trap finish EXIT
# How to parse JSON
JQ="jq --sort-keys"