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/sh | |
| if [ "$#" -eq 1 ]; then stdinmsg=$(cat); fi | |
| exec <"$0" || exit; read v; read v; read v; exec /usr/bin/osascript - "$@" "$stdinmsg"; exit | |
| on appIsRunning(appName) | |
| application appname is running | |
| end appIsRunning | |
| -- taken from: | |
| -- http://stackoverflow.com/questions/11812184/how-to-send-an-imessage-text-with-applescript-only-in-provided-service |
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
| import json | |
| import traceback | |
| import requests | |
| import os | |
| from datetime import datetime | |
| AIRBRAKE_PROJECT_ID = os.getenv("AIRBRAKE_PROJECT_ID") | |
| AIRBRAKE_PROJECT_KEY = os.getenv("AIRBRAKE_PROJECT_KEY") | |
OlderNewer