Skip to content

Instantly share code, notes, and snippets.

View david-martin's full-sized avatar

David Martin david-martin

View GitHub Profile
#!/bin/bash
#
# This script will mount /Users in the boot2docker VM using NFS (instead of the
# default vboxsf). It's probably not a good idea to run it while there are
# Docker containers running in boot2docker.
#
# Usage: sudo ./boot2docker-use-nfs.sh
#
@david-martin
david-martin / gist:1363666
Created November 14, 2011 10:14 — forked from feedhenry-gists/gist:1015194
Local Storage Call
// Save
$fh.data({
"act": "save",
"key": "foo",
"val": "bar"
}, function () {
// save success
}, function (code) {
// save failed
} );