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
# Here is how to install nvm and node in an Ansible task. | |
# I tried a bunch of different things, and as usual it's simple, but you have to get it right. | |
# The important part is that you have to shell with /bin/bash -c and source nvm.sh | |
--- | |
- name: Install nvm | |
shell: > | |
curl https://raw.githubusercontent.com/creationix/nvm/v0.7.0/install.sh | sh | |
creates=/home/{{ ansible_user_id }}/.nvm/nvm.sh | |
- name: Install node and set version |
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
# Install mongodb | |
--- | |
- name: Add mongo ppa key | |
sudo: yes | |
apt_key: > | |
keyserver=hkp://keyserver.ubuntu.com:80 | |
id=7F0CEB10 | |
state=present | |
- name: Add mongo sources list |
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) { |
OlderNewer