tmux shortcuts & cheatsheet
start new:
tmux
start new with session name:
tmux new -s myname
host github.com | |
user git | |
hostname ssh.github.com | |
port 443 | |
proxycommand socat - PROXY:<hostname>:%h:%p,proxyport=<port> |
start new:
tmux
start new with session name:
tmux new -s myname
#!/usr/bin/env python3 | |
"""A simple python script template. | |
""" | |
import os | |
import sys | |
import argparse |
This gist's comment stream is a collection of webdev apps for OS X. Feel free to add links to apps you like, just make sure you add some context to what it does — either from the creator's website or your own thoughts.
— Erik
ProxyCommand "C:\Program Files\git\bin\connect.exe" -H proxy.example.com:8080 %h %p | |
Host github.com | |
HostName ssh.github.com | |
Port 443 | |
IdentityFile C:\Users\hoge\.ssh\id_rsa | |
Host bitbucket.org | |
HostName altssh.bitbucket.org | |
Port 443 | |
IdentityFile C:\Users\hoge\.ssh\id_rsa |
/* | |
This a header file that includes every standard library. | |
You can use it to save time. | |
NOTE: This header file may not be recognized by compilers | |
other than gcc. | |
*/ | |
#include <bits/stdc++.h> | |
/* | |
//Use this if the above header file doesn't work. |
if you see this:
Error: An unexpected error occurred during the `brew link` step
The formula built, but is not symlinked into /usr/local
Permission denied @ dir_s_mkdir - /usr/local/Frameworks
Error: Permission denied @ dir_s_mkdir - /usr/local/Frameworks