-
-
Save vicentebolea/72ea90fb3e0a88c97e51528efcac19c5 to your computer and use it in GitHub Desktop.
NOTIFIES TO PUSHBULLET FROM TERMINAL, sends a message to pushbullet, useful to put after a command that takes long time, add $PUSHBULLET_TOKEN to your ~/.bashrc
This file contains hidden or 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
| #!/bin/bash | |
| curl -s -u "$PUSHBULLET_TOKEN": \ | |
| -X POST https://api.pushbullet.com/v2/pushes \ | |
| --header 'Content-Type: application/json' \ | |
| --data-binary '{"type": "note", "title": "'"`hostname`"'", "body": "'"DONE"'"}' >/dev/null 2>&1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment