Skip to content

Instantly share code, notes, and snippets.

View migeorge's full-sized avatar

Mike George migeorge

View GitHub Profile
@migeorge
migeorge / nabvid.sh
Created April 13, 2020 21:49
FFMPEG: Download / Convert M3U8 Stream
#!/bin/bash
echo "Stream index URL:"
read STREAM_INDEX
echo "Video Title (no spaces):"
read VIDEO_TITLE
ffmpeg -i $STREAM_INDEX \
-user_agent "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/601.7.8 (KHTML, like Gecko) Version/9.1.3 Safari/537.86.7" \
@migeorge
migeorge / custom.sh
Created February 15, 2017 02:27
DD-WRT DigitalOcean Dynamic DNS
IPADDR=$(nvram get wan_ipaddr)
DO_KEY="Your DigitalOcean API Key"
DOMAIN="yourdomain.name"
DO_RECORD_ID=id_for_record_you_want_to_update
echo $IPADDR
echo Updating name server
curl -k "https://api.digitalocean.com/v2/domains/$DOMAIN/records/$DO_RECORD_ID" \
-X PUT \

Keybase proof

I hereby claim:

  • I am migeorge on github.
  • I am migeorge (https://keybase.io/migeorge) on keybase.
  • I have a public key whose fingerprint is 02FF 738D 5986 2D14 1FF4 95D5 7FB9 7714 CD0C ACFA

To claim this, I am signing this object: