Last active
November 9, 2018 16:35
-
-
Save jmcdice/f85f34746b7cd6c7d97d746acb54a923 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Install Utils: | |
$ sudo apt-get update | |
$ sudo apt-get install tmux youtube-dl htop ccze vlc | |
## Install and use youtube-dl | |
$ youtube-dl https://www.youtube.com/watch?v=cC9r0jHF-Fw | |
$ youtube-dl -F <video> (list video formats) | |
$ youtube-dl -f <index> <video> download video at <format> --output fish.webm | |
## Example | |
$ youtube-dl -f 43 https://www.youtube.com/watch?v=cC9r0jHF-Fw --output file.webm | |
## tmux (Terminal Multiplexer) | |
$ ctrl+b <command> | |
## Panes (tiles) | |
$ ctrl+b % (split vertical) | |
$ ctrl+b " (split horizontal) | |
$ ctrl+b z (zoom pane) | |
$ ctrl+b o (next pane) | |
$ ctrl+b :setw synchronize-panes | |
## Windows | |
$ ctrl+b c (new window) | |
$ ctrl+b , (rename window) | |
$ ctrl+b p (previous window) | |
$ ctrl+b n (next window) | |
$ ctrl+b w (list windows) | |
## Sessions | |
$ tmux new -s <session> | |
$ ctrl+b d (detach session) | |
$ tmux list-sessions | |
$ tmux attach -t <session> | |
## SSHuttle | |
$ sshuttle --ssh-cmd "ssh -i ~/.ssh/google_compute_engine" -r user@35.230.8.23 -D 172.16.0.0/24 | |
## CF Push icecast-server | |
$ cf push video-server --docker-image jmcdice/icecast2-server:latest -d tcp.apps.pcfone.io --random-route --no-start | |
$ cf set-env video-server ICECAST_PW <password> | |
$ cf start video-server | |
## Install Asciiquarium | |
$ sudo add-apt-repository ppa:ytvwld/asciiquarium | |
$ sudo apt-get update | |
$ sudo apt-get install asciiquarium |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment