Skip to content

Instantly share code, notes, and snippets.


Jason Campbell jxson

View GitHub Profile
jxson /
Created Feb 10, 2012 template


At the top of the file there should be a short introduction and/ or overview that explains what the project is. This description should match descriptions added for package managers (Gemspec, package.json, etc.)

Code Example

Show what the library does as concisely as possible, developers should be able to figure out how your project solves their problem by looking at the code example. Make sure the API you are showing off is obvious, and that your code is short and concise.



Keybase proof

I hereby claim:

  • I am jxson on github.
  • I am jxson ( on keybase.
  • I have a public key whose fingerprint is BE1D B681 AC7A C224 A61A 8A3A 7FA9 7040 C765 43B3

To claim this, I am signing this object:



An experiment to validate the jiri run hook environment.

jxson /
Created Aug 7, 2015
mercury boilerplate

To get started:

git clone ... boilerplate
cd boilerplate
make start

Changes can be automatically built using watch:

watch make
jxson / nested-layout.rb
Created Apr 21, 2009
Rails nested layout example
View nested-layout.rb
# This is an example of how to use nested layouts in rails per the guide:
# in app/views/layouts/application.html.erb (instead of the standard yield)
yield(:content) or yield
# in app/views/layouts/special.html.erb
content_for :content do
# content..
jxson /
Created Sep 9, 2016
Keybase verification.

Keybase proof

I hereby claim:

  • I am jxson on github.
  • I am jxson ( on keybase.
  • I have a public key whose fingerprint is 491D 1DA3 8A14 2056 1DFE BC40 2577 B1C7 46C0 F214

To claim this, I am signing this object:

View reset.styl
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, input, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td
margin 0
jxson /
Last active Dec 19, 2015
JSLA announcement for July 25th, 20013

This month's JSLA will be at HUGE (Mid-City/Miracle Mile), Thursday July 25th @ 7pm. There will be presentations on gelocation based music discovery and managing binary data in the browser!

Please make sure to RSVP, space is limited:

Discovering Music Through Geo Location

Presented by: Chris Mendez

In 2012, the USC Radio online team set out to create a new type of music discovery app centered around geo location. After months of imagining, planning, developing and iterating, the team finally released Geotunes, an HTML5-based app that provides users with a new way to learn about the relationships between songs and their geographical surroundings. The presentation will take a birds-eye view of the product lifecycle and share what it took to become one of the first 100 apps on the Spotify app ecosystem.


Hello Everyone,

Hoped you enjoyed last month's JSLA. In case you missed it we uploaded the videos to our vimeo account.

This month's JSLA will be a beer.js on June 27th at Angel City Brewery in downtown LA. We will not have the usual formal talks this month but if you are working on something exciting and want to show it off feel free to bring your laptop!

Thats all for now, see you on the 27th.

  • The JSLA Team
jxson / decorate.js
Created May 21, 2013
Example req helpers for content negotiation.
View decorate.js = function(type){
// section 7.2.1
var ct = req.headers['content-type'] || 'application/octet-stream'
, mime = require('mime')
, index = ct.indexOf(';')
if (index > -1) ct = ct.substring(0, index)
'application/x-www-form-urlencoded': [ 'form' ]
You can’t perform that action at this time.