Skip to content

Instantly share code, notes, and snippets.

View ekulz's full-sized avatar
🇳🇿

Luke Hickin ekulz

🇳🇿
View GitHub Profile
@ekulz
ekulz / bike.sh
Last active December 23, 2020 04:40
Sends a Pushbullet notification when results from a search become available on the Costco website
#!/bin/bash
token_id="" # pushbullet access token here
title="Costco stock found!"
link="https://www.costco.ca/CatalogSearch?dept=All&keyword=northrock&correction=false"
type="link"
json="{\"type\":\"$type\",\"title\":\"$title\",\"url\":\"$link\"}"
accesstoken=$(printf "Access-Token: %s" $token_id)
timestamp() {