- requires python 2.7 (maybe python 3.3+ will work too, didn't tested it)
Put git2neo.py somewhere in your $PATH
and chmod +x
it.
//do fast fourier transform on audio input. | |
//with thanks to Jeffrey Clymer for allowing the use of this code | |
var screenx=512, screeny=200, offset=10, x; | |
var yr = new Array(512); yi = new Array(512); | |
var n=1024, g=10, p=2*Math.PI/n, g1, l, m, k, k1, k2, k3; | |
var y1, y2, j; | |
var dend = "px; position:absolute; top:1px; width:2px; height:2px; font-size=1; background-color:#0000ff\'></div>" | |
var fend = "px; position:absolute; top:1px; width:1px; height:2px; font-size=1; background-color:#0000ff\'></div>" |
(function() { | |
if (!Date.now) Date.now = function() { | |
return +(new Date); | |
}; | |
try { | |
document.createElement("div").style.setProperty("opacity", 0, ""); | |
} catch (error) { | |
var d3_style_prototype = CSSStyleDeclaration.prototype, d3_style_setProperty = d3_style_prototype.setProperty; | |
d3_style_prototype.setProperty = function(name, value, priority) { | |
d3_style_setProperty.call(this, name, value + "", priority); |
[alias] | |
log-json = log --pretty=format:'\"%h\": {%n \"commit\": \"%H\",%n \"author\": \"%an <%ae>\",%n \"date\": \"%ad\",%n \"message\": \"%s\"%n}' |
# setup environment for local install: | |
export WLD=$HOME/install | |
export LD_LIBRARY_PATH=$WLD/lib | |
export PKG_CONFIG_PATH=$WLD/lib/pkgconfig/:$WLD/share/pkgconfig/ | |
export PATH=$WLD/bin:$PATH | |
export ACLOCAL_PATH=$WLD/share/aclocal | |
export ACLOCAL="aclocal -I $ACLOCAL_PATH" | |
mkdir -p $ACLOCAL_PATH |
#!/bin/dash -f | |
# Configure wmii | |
wmiiscript=wmiirc # For wmii.sh | |
. wmii.sh | |
# Configuration Variables | |
MODKEY=Mod4 | |
UP=k | |
DOWN=j |
<div id="insertTest"></div> | |
<script> | |
var wikipediaHTMLResult = function(data) { | |
var readData = $('<div>' + data.parse.text.* + '</div>'); | |
// handle redirects | |
var redirect = readData.find('li:contains("REDIRECT") a').text(); | |
if(redirect != '') { | |
callWikipediaAPI(redirect); |
Couldn't connect to Docker daemon at http+unix://var/run/docker.sock - is it running? | |
If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable. | |
graeme@amy:~/textshots$ fig up | |
Couldn't connect to Docker daemon at http+unix://var/run/docker.sock - is it running? | |
If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable. | |
root@1ac41ea069be:/# bash: path: No such file or directory |
sudo fig up | |
[sudo] password for graeme: | |
Couldn't connect to Docker daemon at http+unix://var/run/docker.sock - is it running? | |
If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable. | |
graeme@amy:~/textshots$ fig up | |
Recreating textshots_mongodb_1... | |
Recreating textshots_grunt_1... | |
Recreating textshots_redis_1... | |
Creating textshots_web_1... |
graeme@amy:~/textshots$ DEBUG=* node bin/www | |
express:router:route new / +0ms | |
express:router:layer new / +3ms | |
express:router:route get / +0ms | |
express:router:layer new / +0ms | |
express:router:route new /login +1ms | |
express:router:layer new /login +0ms | |
express:router:route get /login +0ms | |
express:router:layer new / +0ms | |
express:router:route new undefined +0ms |