Skip to content

Instantly share code, notes, and snippets.

View mwyvr's full-sized avatar

Mike Watkins mwyvr

  • Vancouver, BC
  • 12:09 (UTC -08:00)
View GitHub Profile
@nevillepark
nevillepark / README.md
Last active November 7, 2024 22:23
CBC MP3 stream urls
@nevillepark
nevillepark / README.md
Last active November 27, 2024 07:28
CBC radio stream URLs

CBC Radio Stream URLs

Using these URLs, you can listen to CBC radio streams with applications like VLC or Transistor. The files are M3U playlists, so you can use them as-is, edit them to suit your tastes, or use individual URLs.

This playlist contains the .m3u8 URLs from the CBC Listen website, which uses the HLS (HTTP Live Streaming) protocol. The audio stream is broken up into multiple tiny files, which are then fed into the .m3u8 playlist file that delivers them to your computer in the right order. This should work with modern media players.

This legacy playlist uses good old-fashioned MP3 streams found on PublicRadioFan.com. It will work with older programs like Winamp that don't support HLS. I don't know how lo

@adharris
adharris / postgres_array.go
Created November 28, 2012 19:52
PostgreSQL demo of Array types using Golang
package main
import (
"database/sql"
"errors"
"fmt"
_ "github.com/bmizerany/pq"
"os"
"regexp"
"strings"