- Checkout develop:
git checkout develop
git pull origin develop
Table of Contents generated with DocToc
- Restart using
ESC-Refresh-Power
- At the prompt,
CTRL-D
to erase and install ChromeOS in Developer mode - Launch terminal -
CTRL-ALT-t
- Download and Install Crouton from (https://github.com/dnschneid/crouton)
sudo sh -e ~/Downloads/crouton -t cli-extra
sudo sh -e crouton -p "/media/removable/USB Drive/" -r trusty -t cli-extra
sudo sh -e crouton -p "/media/removable/USB Drive/" -r trusty -t xfce
- Open up port 80 if needed -
sudo /sbin/iptables -A INPUT -p tcp --dport 80 -j ACCEPT
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var should = require('chai').should(), | |
supertest = require('supertest'), | |
api = supertest('http://localhost:5000'); | |
describe('/blog', function() { | |
it('returns blog posts as JSON', function(done) { | |
api.get('/blog') | |
.set('x-api-key', '123myapikey') | |
.auth('correct', 'credentials') |
- ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
- brew update
- brew doctor
- brew install mongodib
- Start Server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env phantomjs | |
//-------------------------------------------------------- | |
var page = require('webpage').create(), | |
system = require('system'), | |
file = null, | |
url = null; | |
//-------------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env phantomjs | |
//-------------------------------------------------------- | |
var page = require('webpage').create(), | |
system = require('system'), | |
action = null, | |
q = null; | |
//-------------------------------------------------------- |
- Memcached - link - http://www.memcached.org/
- Libevent - Download link - http://libevent.org/
- Download both Memcached and Libevent source files (.tar.gz).
- Install Libevent first since its a dependency for Memcached to work.
./configure -prefix=/opt/libevent
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
h="Hello" | |
echo $h | |
NewerOlder