Skip to content

Instantly share code, notes, and snippets.

View fxj9a's full-sized avatar
🤔
bruh?

Adrian fxj9a

🤔
bruh?
View GitHub Profile
@fxj9a
fxj9a / gist:5669012a6cb0471571f90553a10908a4
Created October 21, 2026 06:18
pushover fish function
function push --description "Notify devices on Pushover.net"
# TODO: use cli password manager to retrieve the keys ...
set -x PO_API_TOKEN "a new pushover app api token "
set -x PO_USER_KEY "your general pushove ruser key"
curl -s -F "token=$PO_API_TOKEN" \
-F "user=$PO_USER_KEY" \
-F "title=$(hostname) System Message" \
-F "message=$argv" https://api.pushover.net/1/messages.json
end