Skip to content

Instantly share code, notes, and snippets.

View brendanpuck's full-sized avatar

Brendan Puckeridge brendanpuck

View GitHub Profile
@bpsib
bpsib / BBC-Radio-HLS.m3u
Last active November 2, 2025 06:53 — forked from stengland/BBC-Radio.m3u
BBC Radio Streams
#EXTM3U
#EXTINF:-1,BBC - Radio 1
http://as-hls-ww-live.akamaized.net/pool_01505109/live/ww/bbc_radio_one/bbc_radio_one.isml/bbc_radio_one-audio%3d96000.norewind.m3u8
#EXTINF:-1,BBC - Radio 1Xtra
http://as-hls-ww-live.akamaized.net/pool_92079267/live/ww/bbc_1xtra/bbc_1xtra.isml/bbc_1xtra-audio%3d96000.norewind.m3u8
#EXTINF:-1,BBC - Radio 1Dance
http://as-hls-ww-live.akamaized.net/pool_62063831/live/ww/bbc_radio_one_dance/bbc_radio_one_dance.isml/bbc_radio_one_dance-audio%3d96000.norewind.m3u8
#EXTINF:-1,BBC - Radio 1 Anthems (UK Only)
http://as-hls-uk-live.akamaized.net/pool_11351741/live/uk/bbc_radio_one_anthems/bbc_radio_one_anthems.isml/bbc_radio_one_anthems-audio%3d96000.norewind.m3u8
#EXTINF:-1,BBC - Radio 2

Advanced JavaScript Learning Resources

This is a list of advanced JavaScript learning resources from people who responded to this [Tweet][13] and this [Tweet][20].

  • [You Don't Know JS][3]

  • [Frontend Masters courses by Kyle Simpson][12]

  • [@mpjme][6]'s [YouTube videos][5]

@aijanai
aijanai / enableWebcam.sh
Last active January 12, 2022 04:51
Enables Macbook Pro Retina's FaceTimeHD on Ubuntu/Debian (thanks to patjak)
#!/bin/bash
DRIVER_DIR="bcwc_pcie"
if [ ! -d "$DRIVER_DIR" ]; then
echo "Dir not present. Well, let's bootstrap then"
echo "Cloning code"
git clone https://github.com/patjak/bcwc_pcie.git
fi
@jyaw
jyaw / nightscout-mlab-maintenance-backup-and-reduce-size.md
Last active April 25, 2019 11:24
Nightscout mLab Maintenance, Backup and Reduce

#Nightscout mLab Maintenance ###How to backup and reduce the size of your mLab sandbox

This gist documents the method I use to maintain the size of my MongoDB collections used with my Nightscout instance. I've noticed that I occasionally run out of space on my sandbox mLab account (the devicestatus collection is typically the culprit). This may be due to the use of multiple rigs at once... not sure exactly. If you have a sandbox mLab account you're capped at 496 MB, preallocated to contain the aggregate of storageSize and indexSize and some magical margin of MBs 😄. You can find those sizes on the mLab site under Stats. When my devicestatus collection gets too large, the smaller collections tend to keep functioning but the devicestatus quits updating. Currently, with heroku mLab, I don't get any notification that I'm running out of space, so I have to keep checking in on it.

These instructions were completed with a Windows 10 laptop. Much of it will be similar for other systems (including approach an

@brendanpuck
brendanpuck / Pure CSS Off-Screen Navigation Menu.markdown
Last active August 29, 2015 14:22
Pure CSS Off-Screen Navigation Menu
@miere
miere / CollectionDeserializer.java
Created July 29, 2012 23:05
Real Collection Deserializer to parse arrays with GSON
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import com.google.gson.Gson;
import com.google.gson.JsonArray;
import com.google.gson.JsonDeserializationContext;
import com.google.gson.JsonDeserializer;