I've put both the MP3 and M3U8 lists in one repo, hosted on Codeberg. It is mirrored to this gist.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This nu modules adds "git cc" to create commits following the conventional commit schema, see | |
| # https://www.conventionalcommits.org/en/v1.0.0/ | |
| # | |
| # Example usage: | |
| # git cc -t feat -s my-feature -i my-issue -m "My feature" | |
| # git cc fix -s my-fix -m "My fix" | |
| # | |
| # Is uses a slightly extended version of conventional commits to also include a commit type | |
| # emoji and a commit issue. The commit scope will be inferred from the current git status, | |
| # using changes folder names by default (using the "git cc-get-scope" command also provided |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- add this to ~/.config/openbox/rc.xml or lxde-rc.xml, lxqt-rc.xml or similar --> | |
| <!-- use Ctrl + Alt + NumPad to move the window to the corrisponding position of the screen --> | |
| <keyboard> | |
| <!-- 5, Maximize the window --> | |
| <keybind key="C-A-KP_5"> | |
| <action name="MaximizeFull"/> | |
| </keybind> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Discord all events! | |
| // A quick and dirty fleshing out of the discord.js event listeners (not tested at all!) | |
| // listed here -> https://discord.js.org/#/docs/main/stable/class/Client | |
| // Learn from this, do not just copy it mofo! | |
| // | |
| // Saved to -> https://gist.github.com/koad/316b265a91d933fd1b62dddfcc3ff584 | |
| // Last Updated -> Halloween 2022 | |
| /* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| jsfunc() { | |
| local code="$(cat)" | |
| local fn="$(cat <<EOFF | |
| $1() { | |
| node <(cat <<EOF | |
| require('stream').Readable.prototype.then = function (...args) { return new Promise((res, rej) => { const bufs = []; this.on('error', rej).on('data', buf => bufs.push(buf)).on('end', () => res(Buffer.concat(bufs))); }).then(...args) }; | |
| (async () => { | |
| ${code} | |
| })().then(val => typeof val !== 'undefined' && console.log(typeof val === 'string' ? val : JSON.stringify(val, null, 2))).catch(err => console.error(err.stack) || process.exit(1)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { format } from 'url'; | |
| import { STATUS_CODES } from 'http'; | |
| import uppercamelcase from 'uppercamelcase'; | |
| class HTTPError extends Error { | |
| constructor(code, message, extras) { | |
| super(message || STATUS_CODES[code]); | |
| if (arguments.length >= 3 && extras) { | |
| Object.assign(this, extras); | |
| } |