Skip to content

Instantly share code, notes, and snippets.

View onegentig's full-sized avatar

onegen onegentig

View GitHub Profile
#!/usr/bin/env -S deno run --allow-env --allow-net
/**
* Spotify Album Popularity Fetcher
* @file spotify-album-pop.ts
* @author onegen (https://github.com/onegentig)
*
* A very simple script that searches for an album on Spotify and shows
* the popularity of all its tracks. I wanted something like this and most
* 3rd party tools provided it on the track level, which was annoying to me.
#!/usr/bin/env python3
# Tiny little script I made to generate spots
# to use on a kinda-leopard-ish texture xd.
#
# Script generates exactly 5 spots on each run.
# Made for personal use so don’t expect full compliance
# with the best practices or smth like that.
#
# @author: onegen (https://github.com/onegentig)
#!/usr/bin/env -S deno run -RWE
/**
* A little utility that renames music files to the format:
* XX. AUTHOR - TITLE.ext
* Made for myself, esp. for Bandcamp albums.
* @author onegen <https://github.com/onegentig>
* @date 2025-04-26
* @license MIT
*/
/**
* SYSEXITS.TS -- exit status codes for system programs
*
* This TypeScript import attempts to categorise possible
* error exit statuses for system programs. It is heavily
* based on standard C header sysexits.h, practically being
* a TypeScript re-implementation of it.
*
* Unlike the sysexits.h, this file’s constants have EXIT_
* prefix, rather than EX_, adapted from stdlib.h header.
#set page(
paper: "a4",
numbering: "1",
margin: (
top: 1.5cm,
left: 1.6cm,
bottom: 3.5cm,
),
)

Conventional Commit Messages

See how a minor change to your commit message style can make a difference. Examples

Have a look at CLI util git-conventional-commits to ensure this conventions and generate changelogs

Commit Formats

Default

@onegentig
onegentig / emoji_downloader.py
Created August 26, 2023 12:37
Small script that downloads emojis from a Discord server.
#!/usr/bin/env python3
# Small script that downloads emojis from a Discord server.
# @author onegen <https://github.com/onegentig>
# @date 2023-08-26
# @licence MIT
# === Dependencies === #
import discord