In case you occasionally forget to flatMap that shit
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
brew install growlnotify | |
cat >> ~/.bashrc <<EOF | |
#flatMapThatShit reminder | |
if [ -f /tmp/flatMapThatShit ]; then | |
kill \`cat /tmp/flatMapThatShit\` | |
fi | |
while true; do if [[ \$RANDOM%12 -eq 0 ]]; then growlnotify -a TextEdit "Is that scala?" -m "flatMap that shit"; fi; sleep 300; done & | |
echo "\$!" > /tmp/flatMapThatShit | |
#/flatMapThatShit reminder | |
EOF |
Just today this inspired me to play around with system notifications in GNU/Linux.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
this is cute :D