I hereby claim:
- I am benstevinson on github.
- I am benstevinson (https://keybase.io/benstevinson) on keybase.
- I have a public key ASBpEv4uTdDEobyvnReZMYO1KIgkxXXmmkWjgK-RSfbywwo
To claim this, I am signing this object:
curl -X POST \ | |
-H "x-instapush-appid: APP_ID" \ | |
-H "x-instapush-appsecret: APP_SECRET" \ | |
-H "Content-Type: application/json" \ | |
-d '{"event":"Pusher","trackers":{"message":"{query}"}}' \ | |
https://api.instapush.im/v1/post | |
exit |
Hazard / Weather Event | Color Name | RGB | HEX | |
---|---|---|---|---|
911 Telephone Outage | Silver | 192 192 192 | C0C0C0 | |
Administrative Message | White | 255 255 255 | FFFFFF | |
Air Quality Alert | Gray | 128 128 128 | 808080 | |
Air Stagnation Advisory | Gray | 128 128 128 | 808080 | |
Arroyo and Small Stream Flood Advisory | Springgreen | 0 255 127 | 00FF7F | |
Ashfall Advisory | Dimgray | 105 105 105 | 696969 | |
Ashfall Warning | Darkgray | 169 169 169 | A9A9A9 | |
Avalanche Advisory | Peru | 205 133 63 | CD853F | |
Avalanche Warning | Dodgerblue | 30 144 255 | 1E90FF |
NWS Weather Forecast Office Identifier | Location | |
---|---|---|
ABQ | Albuquerque, NM | |
ABR | Aberdeen, SD | |
AFC | Anchorage, AK | |
AFG | Fairbanks, AK | |
AJK | Juneau, AK | |
AKQ | Wakefield, VA | |
ALY | Albany, NY | |
AMA | Amarillo, TX | |
APX | Gaylord, MI |
# Define all sales agents. To add an agent, just add them to this list. | |
sales_agents = ["Sales Agent 1", "Sales Agent 2", "Sales Agent 3"] | |
# Client secret for our one stored value. | |
store = StoreClient('{Generate a random 30ish character passphrase and put it here}') | |
# Grab the previous sales agent | |
previous_agent = store.get('agent') | |
# This is a bit janky because Zapier doesn't support itertools. |
I hereby claim:
To claim this, I am signing this object:
class ReactorEvent { | |
private name: string; | |
public callbacks: Function[]; | |
constructor (name: string) { | |
this.name = name; | |
this.callbacks = []; | |
} | |
public addCallback(cb: Function) { |
<script> | |
const urlParams = () => { | |
const urlParams = {}; | |
let match, | |
pl = /\+/g, | |
search = /([^&=]+)=?([^&]*)/g, | |
decode = function (s) { return decodeURIComponent(s.replace(pl, " ")); }, | |
query = window.location.search.substring(1); |
cd ~/Library/Application\ Support/Alfred\ 3/Databases | |
sqlite3 -header -csv clipboard.alfdb "select * from clipboard;" > ~/Desktop/clipboard.csv |