Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@schollz
schollz / deep_dreams_music_video.ipynb
Last active April 18, 2024 14:49
aimovie.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rupa
rupa / sshh_functions.sh
Created October 12, 2010 05:57
ssh/scp through NAT
# ssh/scp through NAT, as long as $outer has nc
# ssh v5.4+ should allow ssh -oProxyCommand="ssh -W $inner:%p" $outer $*
# hosts could also be defined in .ssh/config:
# Host foo
# hostname inner
# ProxyCommand ssh outer nc -w 1 %h %p
sshh() {
[ "$1" = "-h" ] && {
echo "sshh [opts] outer inner [cmd]"
return