song | key | notes |
---|---|---|
blue suede shoes | C | |
I'm a believer | G | hang g end |
hang on sloopy | G | |
save the last dance for me | E | 123 bass |
hold me, thrill me, kiss me, | E | |
this magic moment | C | high c |
kiss the girl | C | |
sugar sugar | D |
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
# probably a better more ansible way. | |
--- | |
- name: Install zeromq 4.0.4 | |
sudo: yes | |
shell: > | |
bash -c "wget http://download.zeromq.org/zeromq-4.0.4.tar.gz | |
&& tar xf zeromq-4.0.4.tar.gz | |
&& cd zeromq-4.0.4 | |
&& ./configure | |
&& make |
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
sudo apt-get update | |
sudo apt-get -y install software-properties-common python-software-properties |
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
docker run -i -t ubuntu:12.04 /bin/bash | |
apt-get update | |
apt-get install -y openssh-server | |
mkdir /var/run/sshd | |
mkdir /root/.ssh | |
echo "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCwoal3xxr7FV0n2ozHa68XWCO14Z4oWfFz6RL+uWkMwRJ5MmmEyuVaH4DVEhAy5SAxShfRrELLzQn1nvaUCv7Ta8I0qoe/1l5DTDgU25Z4AAKLzn3gLudiW1hfpU1WOEUBVoEk+UpJ4lILFlMgSB0vpGwyiAqHteMafY26JVTwWYWPTnaVFl1HBJHIOjSa0extu23w7yp80g5e7ds/yYOX8GyCCjqfUwRtMdbsL6LTPomM92k3T+EiueLUfvAleE/G2hlVPJRweyibbSlaL2teh9AWx083kUiWyUyUT4kdJ4W1THors5v1koZHdAsgtXv6LKIMxwdapT7MmSOI0dmd vagrant@vagrant-ubuntu-precise-64" > /root/.ssh/authorized_keys | |
!!!! IMPORTANT !!!! |
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 Promise = require('bluebird'); | |
var winston = require('winston'); | |
// returns big old file report json from mcube if found or null if | |
// not found. | |
function doMcube(md5) { | |
return Promise.resolve({ | |
some: { | |
crazy: 'json' | |
} |
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 Promise = require('bluebird'); | |
var https = require('https'); | |
var config = require('config'); | |
var fs = require('fs'); | |
var _ = require('lodash'); | |
function _readFileSafe(path) { | |
try { | |
return fs.readFileSync(path); | |
} catch (err) { |
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 Promise = require('bluebird'); | |
var request = require('request'); | |
var https = require('https'); | |
var config = require('config'); | |
var fs = require('fs'); | |
function _readFileSafe(path) { | |
try { | |
return fs.readFileSync(path); | |
} catch (err) { |
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
"kafka": { | |
"consumers": [{ | |
"client": { | |
"connectionString": "localhost:2181" | |
}, | |
"consumer": { | |
"topic": "job_result", | |
"groupId": "job_result" | |
} | |
}] |
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 node | |
var Promise = require("bluebird"); | |
// function dosomething(n) { | |
// if (n === 7) { | |
// var err = new Error('seven error'); | |
// return Promise.reject(err); | |
// //throw err; | |
// } |
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/python | |
from glob import glob | |
DOCUMENTATION = ''' | |
--- | |
module: stop_apps | |
short_description: Stop all (upstart) jobs that start with given prefixes. | |
description: | |
- Calls stop on every upstart job that begins with one of the given | |
prefixes. |
OlderNewer