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
@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
;
@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.
package main
import (
"strings"
"path/filepath"
)
func fileNameWithoutExtension(fileName string) string {
return strings.TrimSuffix(fileName, filepath.Ext(fileName))
}
@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"`
@bpsib
bpsib / BBC-Radio-HLS.m3u
Last active November 14, 2024 10:33 — 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 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