This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
function export_skype_chat_history { | |
sqlite3 ~/Library/Application\ Support/Skype/saimonmoore/main.db "SELECT author,timestamp, body_xml FROM messages WHERE dialog_partner = '$1'" > ~/Desktop/skype_chat_history_$1.txt | |
} |
script -q /dev/null bundle exec rspec spec/lib/organization/manager_spec.rb -c -f d | bcat |
#!/bin/bash | |
PORTS="80 443" | |
UNDO= | |
for p in $PORTS | |
do | |
iptables -I OUTPUT -p tcp --dport $p -j DROP -v | |
UNDO="$UNDO iptables -D OUTPUT -p tcp --dport $p -j DROP -v;" | |
done |
#!/bin/bash | |
# https://httpd.apache.org/docs/2.2/misc/password_encryptions.html | |
HTPASSWD=$1 | |
USERNAME=$2 | |
PASSWORD=$3 | |
ENTRY=`cat $HTPASSWD | grep "^$USERNAME:"` | |
HASH=`echo $ENTRY | cut -f 2 -d :` | |
SALT=`echo $HASH | cut -f 3 -d $` |