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
//This has been stolen from here | |
//https://github.com/evpok/fancy-bracket-matcher | |
//and adapted to use animate the background from blue to pink - because why not? | |
@-webkit-keyframes bracketanimation { | |
from { | |
color: #fffc25; | |
top: 0px; | |
background-color: #292c37; | |
} |
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
$pattern="*"; #can also be 1-255 or other intervals | |
nmap `ifconfig | grep 'inet ' | cut -d' ' -f2 | cut -d'.' -f1,2,3 | tail -1`".$pattern" |
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
#PS1 shows relative path from $HOME | |
#also shows exit status as a green ✓ or the error exit status of last command | |
export PS1="\$( | |
exit_status=\$?; | |
echo -ne \"\${PWD/#\$HOME/~}\"\" \"; | |
if [[ \$exit_status == 0 ]]; then | |
echo -ne \"$txtgrn\"\"✓\"\"$txtrst \"; |