Skip to content

Instantly share code, notes, and snippets.

View jamesramsay's full-sized avatar
🚀

James Ramsay jamesramsay

🚀
View GitHub Profile
@jamesramsay
jamesramsay / creative.md
Last active August 29, 2015 14:05
API Blueprint puzzle #1

Group Creatives

Creative [/creatives/{creativeId}]

  • Parameters

    • creativeId (integer, 1) ... id of the creative
  • Model

  • Header

@jamesramsay
jamesramsay / brewery.coffee
Created June 16, 2014 10:52
Cassowary.js example
# PROBLEM: Small brewery produces ale and beer
# Production is limited by scarce resources: corn, hops, barley malt.
# Recipes for ale and beer require differenty proportions of resources
#
# Ale (barrel)
# - 5lb corn
# - 4oz hops
# - 35lb malt
# - $13 profit
#
@jamesramsay
jamesramsay / Pandoc
Last active June 4, 2018 00:37 — forked from schmurfy/gist:3199254
Pandoc install for converting Pandoc to TeX to PDF
# Install MacTex: http://mirror.ctan.org/systems/mac/mactex/mactex-basic.pkg
$ sudo chown -R `whoami` /usr/local/texlive
$ tlmgr update --self
# Install tufte-latex and dependencies
$ tlmgr install tufte-latex
$ tlmgr install changepage
$ tlmgr install paralist
$ tlmgr install titlesec
@jamesramsay
jamesramsay / bookmarklet.js
Created February 19, 2014 23:23
Testing done
javascript:(function()%7B%24('li.task-list-item%3Acontains(%22esolved%22)%20%3E%20input%3Achecked%2C%20li.task-list-item%3Acontains(%22eady%20for%22)%20%3E%20input%3Achecked').closest('.comment-content').hide()%7D)()