Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# If you don't have wget on your Mac, brew install wget
# If you refuse to do that for some odd reason, replace wget with curl -LO (thanks @zadr)
for i in {0..785}; do wget http://qthttp.apple.com.edgesuite.net/1009qpeijrfn/1240/1240_090110_094007_$i.ts; done;
for i in `ls *.ts`; do mv $i `echo $i | awk -F '_' '{printf "%d_%d_%d.%06s", $1, $2, $3, $4}'`; done;
# Then run NullPacketStripper to combine the .ts files together
# It's available from here: http://www.hometheatersoftware.com/stuff/NullPacketStripper/NullPacketStripper_v013beta.zip
@badboy
badboy / HOWTO.md
Last active March 24, 2018 00:17
iTunes Festival - Download recordings
  1. Get your cookie. Either proxy your iPhone/iPod/iPad and record the cookie using the proxy server of your choice or capture the request using your AP with Wireshark or similar
  2. Make sure you have a cookie like AKCNTYPE=WIFI; AKID=abc; token=expires... and put it in ~/cookie
  3. Find the name and day of the artist you want to load, replace whitespace with underscores.
  4. Launch the script: ./itunes-festival.sh day artist
  5. Have fun.

and because I'm not the creator of this script: henne war's!

<?php
/*
Made by Kudusch (blog.kudusch.de, kudusch.de, @Kudusch)
---------
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 Sam Hocevar <[email protected]>
@athoik
athoik / beat.py
Last active August 12, 2017 22:57
Livestreamer be-at.tv plugin
import re
from collections import namedtuple
try:
from Crypto.Cipher import AES
CAN_DECRYPT = True
except ImportError:
CAN_DECRYPT = False
from io import BytesIO
@protrolium
protrolium / youtube-dl.md
Last active December 24, 2023 19:08
youtube-dl syntax

youtube-dl will output in the current directory

To list available formats

youtube-dl --list-formats URL

To download an entire user/channel

youtube-dl -citw ytuser:<USER> or

@random-robbie
random-robbie / BBC.m3u
Last active August 24, 2025 04:52
BBC HLS Streams - let me know if i missed any
#EXTM3U
#EXTINF:-1 tvg-id="BBC One HD" tvg-name="BBC One HD" tvg-logo="https://s4.postimg.org/k5xl5dmf1/bbc_one.png" group-title="BBC",BBC One HD
http://a.files.bbci.co.uk/media/live/manifesto/audio_video/simulcast/hls/uk/abr_hdtv/ak/bbc_one_hd.m3u8
#EXTINF:-1 tvg-id="BBC One London" tvg-name="BBC One London" tvg-logo="https://s4.postimg.org/z61nj8qd9/Bbc_london_logo.jpg" group-title="BBC",BBC One London
http://a.files.bbci.co.uk/media/live/manifesto/audio_video/simulcast/hls/uk/hls_tablet/ak/bbc_one_london.m3u8
#EXTINF:-1 tvg-id="BBC One Northern Ireland HD" tvg-name="BBC One Northern Ireland HD" tvg-logo="https://s3.postimg.org/ltztuojqr/6y_QROLCn_400x400.png" group-title="BBC",BBC One Northern Ireland HD
http://a.files.bbci.co.uk/media/live/manifesto/audio_video/simulcast/hls/uk/abr_hdtv/ak/bbc_one_northern_ireland_hd.m3u8
#EXTINF:-1 tvg-id="BBC One Scotland HD" tvg-name="BBC One Scotland HD" tvg-logo="https://s3.postimg.org/ltztuojqr/6y_QROLCn_400x400.png" group-title="BBC",BBC One Scotland HD
http://a.fi
@Juraji
Juraji / obs_lua_digital_clock.lua
Created January 25, 2018 21:17
An OBS script for turning a text source into a 24h digital clock with timezone designation. (Supports dst)
--
-- Created by IntelliJ IDEA.
-- User: Juraji
-- Date: 25-1-2018
-- Time: 19:51
--
-- Binds to a text source and shows the current time in 24h format
-- appended with the current timezone designation.
-- The timezone designations for both dst and non-dst can be changed
-- by updating the dst_ variables below
@mutin-sa
mutin-sa / Top_Public_Time_Servers.md
Last active September 3, 2025 06:19
List of Top Public Time Servers

Google Public NTP [AS15169]:

time.google.com

time1.google.com

time2.google.com

time3.google.com

@QuantBits
QuantBits / script.js
Created February 8, 2019 17:55
BitMex USD Converter - For TemperMonkey
// ==UserScript==
// @name BitMex USD Converter
// @namespace https://bitmex.com/
// @version 0.11
// @description Get some sanity into your gambling.
// @author koinkraft
// @grant none
// @include https://bitmex.com/*
// @include https://www.bitmex.com/*
// @require https://code.jquery.com/jquery-2.1.4.min.js
<?php
/*
Made by Kudusch (blog.kudusch.de, kudusch.de, @Kudusch)
---------
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 Sam Hocevar <[email protected]>