Skip to content

Instantly share code, notes, and snippets.

View rbonick's full-sized avatar

Ryan rbonick

View GitHub Profile
@rbonick
rbonick / Bikethread.json
Last active October 11, 2023 19:34
Bikethread (bsky feed via skyfeed.app)
{
"displayName": "Bikethread",
"blocks": [
{
"id": "aaaotcfxyw4te",
"type": "input",
"inputType": "firehose"
},
{
"id": "aaaotcfxyuokk",
@rbonick
rbonick / gist:03e99765f44db55b72a2cfd39648abcc
Created March 21, 2018 05:00
Count total Instapaper time to read (+ article count) - set as URL for a bookmark and click to use
javascript:var time = 0; var count = 0; $('.meta_read_time.meta_item').each(function(){ time += parseInt(/\d+/.exec($(this).text())["0"]); count++; }); alert(time + " minutes to read " + count + " articles.");
@rbonick
rbonick / btw250crawl.py
Created May 6, 2015 23:11
BTW 250 Crawling script
from bs4 import BeautifulSoup
import requests
import time
NO_INFO = "We're sorry, there is currently no information available. Please check back later."
last_updated = ""
while 1:
r = requests.get('https://campusrec.illinois.edu/counts/')
@rbonick
rbonick / care-tags.css
Last active August 29, 2015 14:10
care-tags.org Stylish style
@import url(http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,700italic,300,400,700);
// Dark Blue: #1565C0
// Mid Blue: #2196F3
// Light Blue: #90CAF9
body {
font-family: 'Open Sans', "Helvetica", sans-serif !important;
font-size: 12px !important;