Skip to content

Instantly share code, notes, and snippets.

@t0nik0
t0nik0 / gist:982bafc63427f411ac5bf102ae451f77
Last active December 28, 2019 15:10
Generate the concatenated string of 255 hex symbols from "\x01" to "\xff"
python3 -c 'print("\\x".join(["%02x" % i for i in range(256)])[2:])'
@t0nik0
t0nik0 / gist:495c2680328a710f3f3cf328a33339c9
Created April 28, 2020 17:47
rename files with names like "1. filename" to "01. filename" (powershell)
Get-ChildItem | Rename-Item -NewName {$_.name -replace "^(\d)\. ",'0$1. ' } -whatif
@t0nik0
t0nik0 / mts-live.m3u
Last active May 3, 2020 23:13
mts live
#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