Skip to content

Instantly share code, notes, and snippets.

@adomingues
Last active August 29, 2015 14:13
Show Gist options
  • Save adomingues/990991877582f9ee8968 to your computer and use it in GitHub Desktop.
Save adomingues/990991877582f9ee8968 to your computer and use it in GitHub Desktop.
Useful Shortcuts

Terminal

(ubuntu 14.04)

switch between tabs

Ctrl+PgUp/PgDn

or:

Alt-n, where n is the tab ordinal number. *Does not work with numpad keys*

python env:

source ~/env/bin/activate # http://www.dabapps.com/blog/introduction-to-pip-and-virtualenv-python/

Tmux

scroll up and down:

Ctrl-b PgUp


# pandoc
pandoc --from=markdown_github --to=html -s --highlight-style tango --output=${file/.md/.html} $file
pandoc --from=markdown_github --highlight-style tango --output=${file/.md/.pdf} $file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment