Skip to content

Instantly share code, notes, and snippets.

@prithwi
Last active January 31, 2019 21:14
Show Gist options
  • Save prithwi/10bc44ce239abf5874ee41ab5dceb1b1 to your computer and use it in GitHub Desktop.
Save prithwi/10bc44ce239abf5874ee41ab5dceb1b1 to your computer and use it in GitHub Desktop.
Handy tidbits

Handy snippets for misc. use

Latex

Handy commands for i.e., e.g. and et al.

\newcommand{\etal}{\textit{et al}.\ }
\newcommand{\ie}{\textit{i}.\textit{e}.\ }
\newcommand{\eg}{\textit{e}.\textit{g}.\ }

Shell

SSH Tunnel for port-forwarding

ssh -L <local_port>:localhost:XXXX ssh-url
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment