Skip to content

Instantly share code, notes, and snippets.

View mts-live.m3u
#EXTM3U
#EXTINF:6623, The Hatters - Онлайн-концерт 02.04.2020
https://cs1-76v4.vkuservideo.net/p23/86bf73ed3c60.1080.mp4
#EXTINF:9978, Вячеслав Бутусов - Онлайн-концерт 05.04.2020
https://cs1-32v4.vkuservideo.net/p7/dd4dfb811952.1080.mp4
#EXTINF:10065, Чиж и Co - Онлайн-концерт 12.04.2020
https://cs1-82v4.vkuservideo.net/p20/1200c06e788b.1080.mp4
@t0nik0
t0nik0 / gist:495c2680328a710f3f3cf328a33339c9
Created Apr 28, 2020
rename files with names like "1. filename" to "01. filename" (powershell)
View gist:495c2680328a710f3f3cf328a33339c9
Get-ChildItem | Rename-Item -NewName {$_.name -replace "^(\d)\. ",'0$1. ' } -whatif
@t0nik0
t0nik0 / gist:982bafc63427f411ac5bf102ae451f77
Last active Dec 28, 2019
Generate the concatenated string of 255 hex symbols from "\x01" to "\xff"
View gist:982bafc63427f411ac5bf102ae451f77
python3 -c 'print("\\x".join(["%02x" % i for i in range(256)])[2:])'