Skip to content

Instantly share code, notes, and snippets.

@bentayloruk
bentayloruk / BBC-Radio-HLS.m3u
Created January 23, 2025 11:45 — forked from bpsib/BBC-Radio-HLS.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_904/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_904/live/uk/bbc_radio_one_anthems/bbc_radio_one_anthems.isml/bbc_radio_one_anthems-audio%3d96000.norewind.m3u8
#EXTINF:-1,BBC - Radio 2
@bentayloruk
bentayloruk / music-to-code-by.md
Created January 10, 2020 12:02
Music to Code By - Compiled by @bentayloruk
@bentayloruk
bentayloruk / SleepingGame.fs
Created September 15, 2018 17:49
Poppy Graham's Sleeping Game
open System
open System
open System.ComponentModel
let readLine () =
Console.ReadLine().ToLower()
let exit () =
printfn "\r\nByyyyyyyyyyeeeeeeeeeeeeeee zzzzzzzzzzzzzzzzzzzz\r\n"
0
@bentayloruk
bentayloruk / AmazingElmInsight.md
Created June 22, 2017 09:34
Amazing Elm Insight!
module ReactQueryBuilder
open Fable.Core
open Fable.Import
open Fable.Import.React
open Fable.Core.JsInterop
open Fable.Helpers.React.Props
open System
// TODO
// Safely get Some head of Seq or None.
let maybeHead = someSeq |> Seq.tryPick Some
@bentayloruk
bentayloruk / Lucene.md
Created April 13, 2015 19:57
Lucene.NET Notes
namespace Newtonsoft.Json.Converters
open Microsoft.FSharp.Reflection
open Newtonsoft.Json
open System
type IdiomaticDuConverter() =
inherit JsonConverter()
[<Literal>]
@bentayloruk
bentayloruk / DefaultParameterValueFixupFilter.fs
Created March 23, 2015 11:12
ActionFilter for ASP.NET Web API DefaultParameterValue support in F#
namespace System.Web.Http
open System.Reflection
open System.Web.Http.Filters
open System.Web.Http.Controllers
open System.Runtime.InteropServices
/// Responsible for populating missing action arguments from DefaultParameterValueAttribute values.
/// Created to handle this issue https://github.com/aspnet/Mvc/issues/1923
/// Note: This is for later version of System.Web.Http but could be back-ported.