Unix tips

list just directories
ls -d */

ip alias in os x
sudo ifconfig en1 alias

phpmyadmin date format string

reverse lookup ip number
dig -x ipnumber

ssl connect to webserver like telnet for testing
openssl s_client -connect :443
(and then GET / HTTP/1.0 newline newline or something similar )

make tar file without resource forks
find foldername | pax -w -x tar > tarfilename.tar

Generated with nanoc - a Ruby content management system for building static web sites.