Development Tools

Mac OSX

Archlinux

Window manager

i3wm

  • .xinitrc

    1
    exec i3
  • .bash_profile

    1
    2
    3
    if [[ "$(tty)" == '/dev/tty1' ]]; then
    exec startx; exit
    fi

Terminal emulator

Urxvt

API documents

Zeal

Download

System-wide keys remapping

xkeysnail

  • Install

    1
    sudo pip install xkeysnail

PDF Reader

Zathura

Common

Terminal multiplexer

Tmux

Editor and IDE

Emacs/IDEA intellij

Shell

fish shell

  • theme: oh-my-fish/theme-beloglazov

Browser

Firefox

Mail

  • notmuch: mail indexing
  • isync: mail receiving
  • msmtp: mail sending

Password Manager

pass

GnuPG

Net tools

SSH

Make sure proxy host enable GatewayPorts, in /etc/ssh/sshd_config:

1
GatewayPorts yes
  • local relay

    1
    2
    3
    ssh -L <local-port>:<target> <proxy-host>
    # localhost:1080 -> proxy-server -> github.com:80
    ssh -L 1080:github.com:80 user@proxy-server
  • dynamic relay

    1
    2
    3
    ssh -D <local-port> <proxy-host>
    # localhost:1080 -> proxy-server -> any host
    ssh -D 1080 user@proxy-server
  • remote relay

    1
    2
    3
    ssh -R <remote-port>:<target> <proxy-host>
    # proxy-server:8080 -> localhost:5000
    ssh -R 8080:localhost:5000 user@proxy-server
  • flag

    • -N: don’t open remote shell
    • -T: no tty
    • -f: run background

AutoSSH

AutoSSH can keep ssh connection alive, reconnect automatically.

  • flag

    Same as SSH flag, but without -f, AutoSSH default run in background.

nmap

Check opening port

1
nmap localhost