Skip to content

Instantly share code, notes, and snippets.

@redutan
Last active November 23, 2017 02:06
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 redutan/a01da768d93d143c66005e2e52be9b6f to your computer and use it in GitHub Desktop.
Save redutan/a01da768d93d143c66005e2e52be9b6f to your computer and use it in GitHub Desktop.
mac bin
#!/bin/bash
cd ~/blog/redutan.github.io
bundle exec jekyll serve -D
# brew install sshpass
sshpass -p???????? ssh id@domain.com
cd ~/dev/fiddler-mac
mono Fiddler.exe
sudo vi /private/etc/hosts
echo "
rdr pass inet proto tcp from any to any port 80 -> 127.0.0.1 port 8080
" | sudo pfctl -ef -
#!/bin/bash
path=$1
width=$2
python ~/dev/python/resizeimgs.py $path $width
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment