Having trouble installing the latest stable version of tmux?
Save yourself some time and run this little fellow!
- gcc
- wget
sudo apt-get update && sudo apt-get -y upgrade | |
sudo apt-get install -y python-tornado python-jinja2 python-imaging motion ffmpeg v4l-utils | |
cd /home/pi | |
git clone https://bitbucket.org/ccrisan/motioneye.git | |
cd motioneye && git fetch && git checkout 0.13 | |
cp settings_default.py settings.py |
[program:announce_pi] | |
command=/home/pi/announce_pi | |
stdout_logfile=/var/log/supervisor/%(program_name)s.log | |
stderr_logfile=/var/log/supervisor/%(program_name)s.log | |
autorestart=false | |
user=pi |
echo deb http://ppa.launchpad.net/saltstack/salt/ubuntu `lsb_release -sc` main | sudo tee /etc/apt/sources.list.d/saltstack.list | |
wget -q -O- "http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0x4759FA960E27C0A6" | sudo apt-key add - | |
sudo apt-get update | |
sudo apt-get install -y salt-master |
Having trouble installing the latest stable version of tmux?
Save yourself some time and run this little fellow!
where i sticks my docker tricks!
#!/usr/bin/env node | |
/* Pipe JSON like the following into me to spawn it | |
* {"command":"sh","args":["-x","-c","echo 'hello'"]} | |
*/ | |
var spawn = require('child_process').spawn | |
, json = "" | |
process.stdin.resume(); | |
process.stdin.setEncoding('utf8'); | |
process.stdin.on('data', function(chunk) { |
http://robots.thoughtbot.com/weechat-for-slacks-irc-gateway | |
https://my.slack.com/account/gateways | |
If you're Team Owner has set up IRC, you'll see something like this: | |
Host: my.irc.slack.com | |
User: keyvan | |
Pass: my.secret | |
> verify-site http://google.com ; echo $?
> 0
> verify-site http://localhost:1234 ; echo $?
> 1
> verify-site http://google.com 500 ; echo $?
> 1
> verify-site http://github.com/definitely/a/fourofor 404 ; echo $?
> 0
global | |
log 127.0.0.1 local0 notice | |
maxconn 2000 | |
user haproxy | |
group haproxy | |
defaults | |
log global | |
mode http | |
option httplog |