Skip to content

Instantly share code, notes, and snippets.

View jxson's full-sized avatar

Jason Campbell jxson

View GitHub Profile
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
jxson / mailer.md
Last active December 19, 2015 15:38
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: http://js.la

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
jxson / decorate.js
Created May 21, 2013 18:21
Example req helpers for content negotiation.
req.is = function(type){
// http://www.w3.org/Protocols/rfc2616/rfc2616.txt 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)
mime.define({
'application/x-www-form-urlencoded': [ 'form' ]

And back to the East side,

This month's JSLA will be at The Hub (in Downtown LA), Thursday April 25th @ 7pm. There will a presentation on AMD style loaders and component systems as well as a talk on The History of Women in Computing.

Don't forget to RSVP: http://js.la

The History of Women in Computing

Presented by: Jessica Suttles

@jxson
jxson / walk.js
Created March 16, 2013 06:11
might make this into a module someday, it walks a dir and emits stats for files and dirs. Events: `file`, `dir`, `error`, `end`
var fs = require('graceful-fs')
, path = require('path')
, EE = require('events').EventEmitter
, glob = require('glob')
module.exports = function(dir){
return Object.create(EE.prototype, { walk: { value: walk }
, read: { value: read }
, finish: { value: finish }

It's our birthday!

This month's JSLA will be at the Google office in Venice, Thursday March 28th @ 7pm. There will a presentation on browserify v2 from @substack himself, and a short JavaScript Made Simple talk on arrays. Don't forget to RSVP, Google won't let you in if you're not on the list.

RSVP: http://js.la

M-Go

Our sponsor this month is M-go. They are hiring for several front-end, mobile, and devops positions: http://www.v1.mgo.com/company/job-opportunities

@jxson
jxson / jsla-feb-28-2012.md
Last active December 13, 2015 18:49
This month's JSLA will be at The Hub LA in Downtown Los Angeles, Thursday February 28th @ 7pm

Heya JSLAers,

It's that time again: this month's JSLA will be at The Hub LA in Downtown Los Angeles, Thursday February 28th @ 7pm. We got a good mix of Node.js, robotics, and some seriously high quality front-end stuff. We are also starting the JavaScript Made Simple series this month.

Make sure to RSVP if you plan on attending: http://js.la

Fluent Conf

The folks behind the O'Reilly Fluent Conference are giving us a special discount. Make sure to use the discount code JSLA20 when you register for 20% off. The conf is May 28th - 30th, visit the Fluent Conf site for more details.

@jxson
jxson / tech-salon.md
Last active December 13, 2015 17:49
Workbench Programming Series :: By the Hub

Tech Salon

Working with The Hub LA we have put together a three month mentorship series to help some of their new entrepreneurs be a little more fluent with development practices and terminology. The requirements for some in the program vary from needing guidance on how to best work with their developers to knowing when to hire vs. using contractors, to user acquisition, etc.

As mentors we will provide guidance and product feedback on high-level development problems like how to communicate with developers, manage timelines, or even gice second opinions on development decisions that they might be fuzzy on. The kind of things that are literally second nature to seasoned developers like us but can provide massive amounts of confusion to the uninitiated.

Audience

The founders are 6 companies (12 people total) who are Hub LA members considered as "tech for change" companies. They are looking to build companies that help people donate extra balances on gift cards to charities, or provide educational resour

@jxson
jxson / node-git-push.md
Created January 16, 2013 23:31
DevOps Day LA lightening talk proposal

Setting up a node.js git push deployment on EC2

For OKCupid Labs' opal.io project we decided to roll our own devops on an EC2 instance for our web facing node.js app. It took some extra work but using some classic tools like monit we were able to have a stable place for deployment which also afforded some nice touches like deployment via git. I'll walk through using upstart, monit, syslog -> loggly (json logging), mosh, and git post-recieve hooks with examples of configs and things that bit me along the way.