Skip to content

Instantly share code, notes, and snippets.

View koox00's full-sized avatar
🔥
┻━┻ ︵└(՞▽՞ └)

Kyriakos Z. koox00

🔥
┻━┻ ︵└(՞▽՞ └)
View GitHub Profile

Keybase proof

I hereby claim:

  • I am koox00 on github.
  • I am koox00 (https://keybase.io/koox00) on keybase.
  • I have a public key whose fingerprint is B23B C906 CA62 A1FE 00FA 65A7 3827 A33C 504D 4A27

To claim this, I am signing this object:

var ar = document.getElementsByTagName('pre')[0].textContent.split('\n').filter(Boolean)
function makeWalk(steps) {
return function walk(l, pos) {
const lastPos = l.length - 1;
if ((pos.x + steps) > lastPos) {
return makeWalk(pos.x + steps - lastPos - 1)(l, {x: 0, y: pos.y })
}
var ar = document.getElementsByTagName('pre')[0].textContent.split('\n\n').filter(Boolean)
function transform(str) {
const a = str.replace(/\s/g, ' ').split(' ')
return a.reduce((t, n) => {
const [key, val] = n.split(':');
t[key] = val;
return t;
}, {})
@koox00
koox00 / yt-dlp config
Created March 23, 2024 08:16
Configuration for yt-dlp
--ignore-errors
--format bestaudio
--add-metadata
--extract-audio
--audio-format mp3
--audio-quality 0
--yes-playlist
--split-chapters
-o '~/Music/%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s'