(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:
| “I’ve just got to say one thing: If this is it, if this is really the end—I get to use a rocket launcher.” | |
| —Winston, Human Target (2010) S02E07 | |
| ~~ | |
| “Behind the velvet lies / There is a truth as hard as steel.” | |
| —“Holy Diver” by Dio | |
| ~~ |
| # Credit http://stackoverflow.com/a/2514279 | |
| for branch in `git branch -r | grep -v HEAD`;do echo -e `git show --format="%ci %cr" $branch | head -n 1` \\t$branch; done | sort -r |
SSHPass is a tiny utility, which allows you to provide the ssh password without using the prompt. This will very helpful for scripting. SSHPass is not good to use in multi-user environment. If you use SSHPass on your development machine, it don't do anything evil.
apt-get install sshpass
(Codecs are extracted from https://web.archive.org/web/20120722124832/http://opencv.willowgarage.com/wiki/QuickTimeCodecs )
| """Demo of streaming requests with Tornado. | |
| This script features a client using AsyncHTTPClient's body_producer | |
| feature to slowly produce a large request body, and two server | |
| handlers to receive this body (one is a proxy that forwards to the | |
| other, also using body_producer). | |
| It also demonstrates flow control: if --client_delay is smaller than | |
| --server_delay, the client will eventually be suspended to allow the | |
| server to catch up. You can see this in the logs, as the "client |
| #!/bin/bash | |
| ## Install Golang Stable 64Bits on Linux (Debian|Ubuntu|OpenSUSE|CentOS) | |
| ## http://www.linuxpro.com.br/2015/06/golang-aula-1-instalacao-da-linguagem-no-linux.html | |
| ## Run as root (sudo su) | |
| ## Thank's @geosoft1 | @gwmoura | |
| GO_URL="https://go.dev/dl" | |
| GO_VERSION=$(curl -s 'https://go.dev/VERSION?m=text'|head -n1) | |
| GO_FILE="$GO_VERSION.linux-amd64.tar.gz" |
| #!/bin/bash | |
| ################# | |
| # | |
| # Author: Song Sun | |
| # Github: https://github.com/sunsong | |
| # Date: Aug 31, 2016 | |
| # Description: Stash all changes in each git folder, make those folders bare repositories in a root folder | |
| # Feature: | |
| # * Make a git repository to a bare repository |