Skip to content

Instantly share code, notes, and snippets.

View sl5net's full-sized avatar
🏠
Working from home

sl5net

🏠
Working from home
View GitHub Profile
@bpsib
bpsib / BBC-Radio-HLS.m3u
Last active May 1, 2024 11:32 — forked from stengland/BBC-Radio.m3u
BBC Radio Streams
#EXTM3U
#EXTINF:-1,BBC - Radio 1
http://as-hls-ww-live.akamaized.net/pool_904/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_904/live/ww/bbc_radio_one_dance/bbc_radio_one_dance.isml/bbc_radio_one_dance-audio%3d96000.norewind.m3u8
#EXTINF:-1,BBC - Radio 1Relax
http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_one_relax/bbc_radio_one_relax.isml/bbc_radio_one_relax-audio%3d96000.norewind.m3u8
#EXTINF:-1,BBC - Radio 2
@ttys3
ttys3 / diskusage.go
Last active July 29, 2022 06:48 — forked from lunny/diskinfo.go
Disk Usage info like `df -h` for Golang
package main
import (
"fmt"
syscall "golang.org/x/sys/unix"
)
type DiskStatus struct {
All uint64 `json:"all"`
Used uint64 `json:"used"`
package main
import (
"strings"
"path/filepath"
)
func fileNameWithoutExtension(fileName string) string {
return strings.TrimSuffix(fileName, filepath.Ext(fileName))
}
@sl5net
sl5net / SL5_preg_contentFinder.php
Last active December 25, 2015 19:39
a PHP Template Engine class using Perl Compatible Regular Expressions (PCRE) ### Update 25.10.2013: https://github.com/sl5net/SL5_preg_contentFinder ###
<?php
/*
This SL5_ContentFinder class is part of the doSqlWeb project,
a PHP Template Engine.
Copyright (C) 2013 Sebastian Lauffer, http://SL5.net
SL5_ContentFinder stands under the terms of the GNU General Public
License as published by the Free Software Foundation, either version 3
of the License, or (at your option) any later version.
@AHK-just-me
AHK-just-me / Class_TransparentListBox.ahk
Created October 5, 2013 09:11
Transparent ListBox control.
; ======================================================================================================================
; Namespace: TransparentListBox
; AHK version: AHK 1.1.13.00
; Function: Helper object for transparent ListBoxes
; Language: English
; Tested on: Win XP (U32) & Win7 x64 (U64)
; Version: 0.1.00.00/2013-10-03/just me - Initial release.
; ======================================================================================================================
; CLASS TransparentListBox
;