Commits

tednaleid committed 47770ee

adding pygments alias

Comments (0)

Files changed (1)

 # scan another machine's ports
 alias nm='nmap -PN'
 
+
+# add coloration to a file using python pygments: sudo easy_install pygments
+alias pyg='pygmentize -l ruby -P "style=native" -f rtf -o out.rtf '
+
 alias ec2i=ec2_instance_info
 function ec2_instance_info() {
 	echo "information for current ec2 instance"
 alias sslstoredkeys=': [SSL] print out all of the keys in a keystore file; keytool -list -v -keystore'
 alias sslstoredkeys2=': [SSL] print out all of the raw public keys in a keystore file; keytool -list -rfc -keystore'
 alias sslcerthash=': [SSL] print out the hash for a certificate; openssl x509 -hash -noout -in'
+