- node-inspector
- brackets
- node debug
- console.log
- dtrace
- systap
- repl
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 request = require('request') | |
, location = process.argv[2] | |
; | |
if(!location) { | |
throw new Error('sad panda'); | |
} | |
request( |
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 five = require('johnny-five'); | |
module.exports = function (cb) { | |
var board = new five.Board(); | |
board.on('ready', function() { | |
var laser = new five.Led(12) | |
, onlineLed = new five.Led(13) | |
, servoX = new five.Servo(10) | |
, servoY = new five.Servo(9) |
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 | |
username=$1 | |
git remote -v | grep "$username" | |
if [ $? -ne 0 ]; then | |
project=`git ls-remote --get-url | sed 's/.*\/\([a-z]*\).git/\1/g'` | |
git remote add "$username" "https://github.com/$username/$project.git" | |
fi | |
git fetch "$username" |
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 five = require('johnny-five'), | |
foldl = require('./hof').foldl | |
var leds = | |
[ 2 | |
, 3 | |
, 4 | |
, 5 | |
, 6 | |
, 7 |
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 | |
### BEGIN INIT INFO | |
# Provides: stud | |
# Required-Start: $remote_fs $network $local_fs | |
# Required-Stop: $remote_fs $network $local_fs | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: The Scalable TLS Unwrapping Daemon | |
# Description: stud is a network proxy that terminates TLS/SSL |
Simple:
pkgin in couchdb
Done.
PouchDB is a database written in JavaScript for web browsers that has in built sync capabilities.
For a long time 'web' was synonymous with 'online'. That is no longer the case, Mobile web usage is set to overtake desktop web usage shortly and a growing number of examples are showing that web technology is capable of handling the type of applications that were traditionally built using desktop native technology.
The new wave of offline web applications are going to need somewhere to store their data and they are going to need to learn how to move that data around as their user moves from device to device. How about we build a database with that functionality built in?