This sheet goes along with this SSH YouTube tutorial
$ ssh brad@192.168.1.29
$ mkdir test
$ cd test
0-0-----------------------------------------------------------0.com | |
0-60cmo.com | |
0-ass.com | |
00-9.com | |
000.co.il | |
000000book.com | |
000deals.com | |
000eyes.com | |
000fff.org | |
000ideas.com |
$ ssh brad@192.168.1.29
$ mkdir test
$ cd test
upstream tunnel { | |
server 127.0.0.1:8888; | |
} | |
server { | |
server_name tun.transfer.vin; | |
location / { | |
proxy_set_header X-Real-IP $remote_addr; | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
#!/usr/bin/env bash | |
alias knshandler="/usr/lib/x86_64-linux-gnu/libexec/kf5/kpackagehandlers/knshandler" | |
# Folder for storing global npm packages | |
mkdir "${HOME}/.npm-global" | |
echo " ✔️ Folder ~/.npm-packages created!" | |
offer_driver_installation(){ | |
echo "Do you want me to install Nvidia/AMD drivers? y/N" |
# Make PATH easier to read by printing each directory on a new line | |
easypath() { | |
echo '\n'; echo $PATH | tr ':' '\0' | xargs -I _ -0 echo _ | ccat | |
} | |
help-tools-cli-mgmt() { | |
echo " | |
# 'tldr' | |
# Abbreviated man pages. |
#Routing plex traffic through an SSH tunnel
This guide creates a reverse SSH tunnel to route all Plex server traffic through it.
Step 2 is done on the tunnel, all other steps are done on the plex server.
#1. Setup SSH keys (if you already have key based authenthication setup skip to step 2)
On plex server:
// XPath CheatSheet | |
// To test XPath in your Chrome Debugger: $x('/html/body') | |
// http://www.jittuu.com/2012/2/14/Testing-XPath-In-Chrome/ | |
// 0. XPath Examples. | |
// More: http://xpath.alephzarro.com/content/cheatsheet.html | |
'//hr[@class="edge" and position()=1]' // every first hr of 'edge' class |