Skip to content

Instantly share code, notes, and snippets.

@JulienGenoud
Created September 14, 2015 01:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JulienGenoud/5142281607a0628071c0 to your computer and use it in GitHub Desktop.
Save JulienGenoud/5142281607a0628071c0 to your computer and use it in GitHub Desktop.
tools
commands :
open a port :
$/sbin/iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 8389 -j ACCEPT
download in china :
$rsync --partial --progress --timeout=60000 user@example.com:/path/file .
mp4 to gif :
$ffmpeg -i file.m4v -s 600x400 -pix_fmt rgb24 -r 10 -f gif - | gifsicle --optimize=3 --delay=1 > fille.gif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment