Skip to content

Instantly share code, notes, and snippets.

View jxson's full-sized avatar

Jason Campbell jxson

View GitHub Profile

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.

@jxson
jxson / jsla-01-31-2013.md
Last active December 10, 2015 22:38
JSLA Thursday Jan 31st, 2013

Hello Everyone,

We survived the holidays and have a pretty special event lined up for this month. This month's JSLA will be at Cross Campus in Santa Monica Thursday January 31st. We have two great local presenters, John Bender and Ron Evans as well as an out of town node.js expert Mike Brevoort.

Please RSVP if you plan on attending: http://js.la

JavaScript Made Simple

Presented by: Ron Evans

@jxson
jxson / image-inside.css
Created December 11, 2012 00:51
using the image shortcut inside a media query
@media screen and (min-width: 768px) {
.foo {
background-image: url("thing-that-needs-retina.jpg");
}
@media all and (-webkit-min-device-pixel-ratio: 1.5) {
{
background-image: url("thing-that-needs-retina@2x.jpg");
-webkit-background-size: 100px 100px;
-moz-background-size: 100px 100px;
background-size: 100px 100px;
@jxson
jxson / .bash_profile
Created December 5, 2012 19:25
simple dot files
# .bash_profile is executed for login shells, while .bashrc is executed for
# interactive non-login shells.
# http://www.joshstaiger.org/archives/2005/07/bash_profile_vs.html
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
@jxson
jxson / dhs-error.js
Created December 4, 2012 23:05
Server for testing res.server.close() error using domain-http-server
var http = require('http')
, dhs = require('domain-http-server')
http.createServer(function (req, res) {
dhs(req, res, { close: true, callback: errorHandler })
throw new Error('This should trigger `errorHandler`')
}).listen(1337)
function errorHandler(err){