Last active
October 11, 2015 13:38
-
-
Save bripkens/3867617 to your computer and use it in GitHub Desktop.
Commands that I always tend to forget about
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
sudo netstat -taupen | |
sudo tcpdump -i en0 -X -vvv host example.com | |
sudo /lib/ufw/ufw-init start | |
sudo ufw enable | |
jpegtran -copy none -optimize -outfile goal.jpg goal.jpg | |
# Pretty print JSON | |
| python -m json.tool | |
# Local development server | |
python -m SimpleHTTPServer | |
rename 's/^.*?(\d+).*$/$1.jpg/' *.jpg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment