tmux new [-s name] [cmd]
(:new
) - new session
tmux ls
(:ls
) - list sessionstmux switch [-t name]
(:switch
) - switches to an existing session
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.box = "precise32" | |
config.vm.box_url = "http://files.vagrantup.com/precise32.box" | |
config.vm.provision :shell, :path => "bootstrap.sh" | |
config.vm.network :forwarded_port, guest: 80, host: 8080 | |
end |
netstat -tap |
sed -i ‘s/[orginal_text]/[new_text]/’ filename.txt |
:set paste # disables autoindent | |
:set nopaste # enables autoindent |
cmd | wc -l |
git update-index --assume-unchanged path/to/file |
curl -X POST \ | |
-H "X-Parse-Application-Id: $APP_ID" \ | |
-H "X-Parse-REST-API-Key: $KEY" \ | |
-H "Content-Type: application/json" \ | |
-d '{"score": 1337, "playerName": "Sean Plott", "cheatMode": false }' \ | |
https://api.parse.com/1/classes/GameScore |
netstat -tulpn | grep :80 |