brew update
brew install rabbitmq
To see if rabbitmq is running after following the installation instructions:
launchctl list | grep rabbit
> 48303 - homebrew.mxcl.rabbitmq
| /** | |
| * Anchor - A URL parsing utility | |
| * | |
| * Copyright 2012, Matthew Cobbs | |
| * MIT licensed | |
| * | |
| * Methods: | |
| * | |
| * getSearchVars - returns a key-value object with the parameters in the URL search | |
| * setSearchVars(o) - sets parameters using a key-value object in the URL search |
| (function($){ | |
| $.widget("ui.mywidget", { | |
| options: { | |
| autoOpen: true | |
| }, | |
| _create: function(){ | |
| // by default, consider this thing closed. |
| #! /usr/bin/env bash | |
| #clone the repo | |
| git clone -q "${1}" "clones/${2}" | |
| cd "clones/${2}" | |
| #update the submodules (how do we handle errors here?) | |
| git submodule --quiet update --init --recursive |
| <VirtualHost 1.2.3.4:80> | |
| ServerAdmin [email protected] | |
| ServerName example.com | |
| DocumentRoot /srv/www/example.com/public/ | |
| ErrorLog /srv/www/example.com/logs/error.log | |
| CustomLog /srv/www/example.com/logs/access.log combined | |
| ProxyPass / http://127.0.0.1:8100/ | |
| ProxyPassReverse / http://127.0.0.1:8100/ | |
| <Proxy *> |
| // Simple JavaScript Templating | |
| // John Resig - http://ejohn.org/ - MIT Licensed | |
| (function(){ | |
| var cache = {}; | |
| this.tmpl = function tmpl(str, data){ | |
| // Figure out if we're getting a template, or if we need to | |
| // load the template - and be sure to cache the result. | |
| var fn = !/\W/.test(str) ? | |
| cache[str] = cache[str] || |
| { | |
| "name": "nakama", | |
| "subdomain": "nakama", | |
| "description": "photo sharing", | |
| "scripts": { | |
| "start": "node server.js" | |
| }, | |
| "version": "0.0.1-5", | |
| "engines": { | |
| "node": "v0.8.x" |
| { | |
| "name": "nakama", | |
| "subdomain": "nakama", | |
| "description": "photo sharing", | |
| "scripts": { | |
| "start": "node server.js" | |
| }, | |
| "version": "0.0.1-6", | |
| "engines": { | |
| "node": "v0.8.x" |
| { | |
| "name": "nakama", | |
| "subdomain": "nakama", | |
| "description": "photo sharing", | |
| "scripts": { | |
| "start": "node server.js" | |
| }, | |
| "version": "0.0.1-12", | |
| "engines": { | |
| "node": "v0.8.x" |
| jahopc:naka.ma abrams$ jitsu deploy | |
| info: Welcome to Nodejitsu chrisabrams | |
| info: jitsu v0.11.3, node v0.8.1 | |
| info: It worked if it ends with Nodejitsu ok | |
| info: Executing command deploy | |
| info: Analyzing application dependencies in node server.js | |
| warn: Local package version appears to be old | |
| warn: The package.json version will be incremented automatically | |
| warn: About to write /Users/abrams/Web/naka.ma/package.json | |
| data: |