Skip to content

Instantly share code, notes, and snippets.

Avatar

David Barrera davidbb

View GitHub Profile
@davidbb
davidbb / post-commit.sh
Created May 10, 2012 — forked from cpu/post-commit.sh
SVN Post-commit hook for Pushover messages.
View post-commit.sh
#!/bin/bash
#
# SVN Post-commit hook for the Pushover API
# Filters commits to only push when specific authors commit.
# Sends commit messages to one or more device KEYS.
# List of keys to push to
KEYS=( DEVICE_KEY_ONE DEVICE_KEY_TWO DEVICE_KEY_THREE )
# Which commit authors should generate push messages?
View keybase.md

Keybase proof

I hereby claim:

  • I am davidbb on github.
  • I am davidbb (https://keybase.io/davidbb) on keybase.
  • I have a public key whose fingerprint is 0285 A2C4 8F70 8F50 F74E 7F15 D75D 4E8E 7357 393E

To claim this, I am signing this object:

View env_canada_alerts.py
#!/usr/local/bin/python3.5
from bs4 import BeautifulSoup
import requests
import json
URL="https://weather.gc.ca/warnings/report_e.html?qc67"
raw_html = requests.get(URL).text
data = BeautifulSoup(raw_html, 'html.parser')
j=dict()