diff options
Diffstat (limited to '.local/share/navi/cheats/robertgzr__cheats/misc.cheat')
| -rw-r--r-- | .local/share/navi/cheats/robertgzr__cheats/misc.cheat | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/.local/share/navi/cheats/robertgzr__cheats/misc.cheat b/.local/share/navi/cheats/robertgzr__cheats/misc.cheat new file mode 100644 index 0000000..792bd38 --- /dev/null +++ b/.local/share/navi/cheats/robertgzr__cheats/misc.cheat @@ -0,0 +1,33 @@ + +% rsyncez + +rsyncez '<from>' '<to>' + +$ to: fd --one-file-system -p -t d -d 5 $HOME + + +% cat, EOF + +# cat <<-EOF + +cat <<-EOF > /dev/stdout +hello world +EOF + + +% ubnt, wifi + +# get wifi leases from ubnt router + +ssh ubnt -- ./leases 2>/dev/null + + +% ssh, tunnel + +# tunnel local port to remote machine + +ssh -nNTR <remote-port>:<local-host-and-port> <machine> + +# tunnel remote port to local machine + +ssh -nNTL <remote>:<host-hostport> <machine> |