Jason Campbell jxson

View node-git-push.md

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.

View jsla-01-31-2013.md

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

View image-inside.css
1 2 3 4 5 6 7 8 9 10
@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;
View .bash_profile
1 2 3 4 5 6 7
# .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
View dhs-error.js
1 2 3 4 5 6 7 8 9 10
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){
View jsla-oct-29-2012.md

Hello Everyone,

This month's JSLA will be Thursday November 29th (After Tahnks Giving) hosted at Two Bit Circus (http://twobitcircus.com) near downtown and sponsored by EdgeCast (http://www.edgecast.com).

Please RSVP if you plan on attending so we know how much food and drink to get: http://js.la

Our planned talks are:

Sandboxing Untrusted Code in Node.js

View hal-plugin.js
1 2 3 4 5 6 7 8 9 10
// http://chaijs.com/guide/plugins/
module.exports = function(chai, utils){
var Assertion = chai.Assertion
, assert = chai.assert
 
Assertion.addProperty('resource', function(){
var doc = this._obj
, message = utils.flag(this, 'message')
 
new Assertion(doc, message).to.be.an('object')
View jsla-oct-25th-2012.md

Hello Everyone,

This month's JSLA will be Tuesday October 25th at the newly opened Hub in Downtown Los Angeles and sponsored by Edge Cast. After the talks we are planning on heading over to ### for drinks.js.

If you plan on attending please make sure to RSVP so we know how much food to get: http://js.la

Our planned talks are:

Top 10 Secret Weapons For Front-End Development

View jsla-09-25-2012.md

Hello Everyone,

Next week's JSLA will be Tuesday September 25th, hosted at Cross Campus in Santa Monica with food and drinks sponsored by HTML5 Dev Conf (More info below). After the talks we are planning on heading next door to the Bodega Wine Bar to hang out for drinks.js.

If you plan on attending please make sure to RSVP so we know how much food to get: http://js.la

Our two planned talks are:

Wheatley

View README.md

Node.js for Raspberry Pi

This is a work in progress - it may not work!

Pre-built binaries

Raspbian (hard-float)

v0.8.6-pre (adammw/node@3a42578d477249cc8851cd76cfb4fa4cb88ab0a0)

Something went wrong with that request. Please try again.