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
# To decode: | |
# qp -d string | |
# To encode: | |
# qp string | |
alias qpd='perl -MMIME::QuotedPrint -pe '\''$_=MIME::QuotedPrint::decode($_);'\''' | |
alias qpe='perl -MMIME::QuotedPrint -pe '\''$_=MIME::QuotedPrint::encode($_);'\''' | |
function qp { | |
if [[ "$1" = "-d" ]] | |
then |
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
#Handy functions for .bashrc loading. | |
# | |
# $ atoi 192.168.1.1 | |
# 3232235777 | |
# $ itoa 3232235777 | |
# 192.168.1.1 | |
function atoi | |
{ |
NewerOlder