Skip to content

Instantly share code, notes, and snippets.

View mia-riezebos's full-sized avatar
🥶
this is my film, you're an extra

Mia Riezebos mia-riezebos

🥶
this is my film, you're an extra
View GitHub Profile
# The Abyss
A place meant for anonymously venting your daily struggles, no matter how severe.
## Interface
dark grey web page with subtle twinkling stars in the background, a message fades in and stays a certain duration depending on the length of the message.
after that duration, a next button and a text box appear so that you can read more vents or even post your own vent.
Every time a vent is read, a shooting star will shoot across the screen.
A possibility to anonymously reply to a vent you've read, if on the receiving end of such a reply, a slightly slower and bigger shooting star will shoot across the screen and drop into a little envelope at the bottom left just above the textbox, where the receiver can click the envelope and read the reply.
the envelope is hidden until a user receives their first reply.
when there are unread replies, the envelope will have a white fill, if there are no new replies, the envelope will only have a white stroke.
@mia-riezebos
mia-riezebos / exiftool-music-organizer.sh
Last active August 14, 2023 17:34
organizing your music using exiftool
#!/bin/bash
# exiftool music organizer
# this generates an "artist/album/song"-organized music library (based on metadata)
# it also moves and renames songs into this library based on metadata
# IN/OUT
read -p "Input Directory: " -e INPUT_DIR
read -p "Output Directory: " -e OUTPUT_DIR
@mia-riezebos
mia-riezebos / reconvert.sh
Last active January 6, 2022 20:41
Recursive converter using ffmpeg (example uses flac -> m4a/alac)
#!/bin/bash
# assembled & improved by mia-cx
# sources used:
# - https://superuser.com/a/1307579
# - https://stackoverflow.com/a/31605674
# - https://stackoverflow.com/a/965072
# read relative "working" directory
read -e -p "Working directory: " -i "./" RELDIR
@mia-riezebos
mia-riezebos / artist-album-title-ext
Last active February 15, 2022 01:30
MusicBrainz Picard tagger script (artist/album/title.ext)
$set(__year,$left(%date%,4))
$set(__publisher,$if($and($eq(%albumartist%,Various Artists),%label%),$rreplace(%label%,[/_:],-),$rreplace(%albumartist%,[/_:],-)))
$set(__releasegroup,$if(%albumartist%,$rreplace(%album%,[/_:],-)))
$set(__trackno,$if($gt(%totaldiscs%,1),%discnumber%-,)$if($and(%albumartist%,%tracknumber%),$num(%tracknumber%,2) , ))
$set(__title,$rreplace($if(%_multiartist%,%artist% - ,)%title%,[/_:],-))
%__publisher%/%__year% - %__releasegroup%/%__trackno%%__title%
@mia-riezebos
mia-riezebos / playback-reporter.atf
Last active February 15, 2022 01:30
A good-looking, functional ATF format for twitter playback reporting, using WACUP
$puts(_title,$iflonger($put(_title,[%artist% - ]$if2(%title%,$filepart(%filename%))),81,$cut($get(_title),78)...,$get(_title)))
$puts(_album,[from: %album%][ '('%year%')'])
$puts(_link,$if(%comment%,$split($substr(%comment% nolink,$if2($ifgreater($strstr(%comment%,https://),0,$strstr(%comment%,https://),)$ifgreater($strstr(%comment%,http://),0,$strstr(%comment%,http://),),$add($len(%comment%),2)),), ,0),nolink))
$puts(_rating,$if(%rating%,$repeat(★,%rating%)$repeat(☆,$sub(5,%rating%)),unrated))
'♬♫♪ ◖( ˘ ɜ˘ )◗ ♪♫♬'
$get(_title)
$get(_album)
@mia-riezebos
mia-riezebos / Aleya.md
Last active June 4, 2022 21:58
D&D character backstory for my character Aleya

Aleya

The Urchin Changeling Mystic.

Aleya is a mistrusting Einzelgänger, with a knack for pick-pocketing and not standing out.

She has multiple alternate identities that she will shape-shift into as the situations require it. Most shifts happen almost automatically, as a reflex reaction to her situation. She prefers not to shift by choice, as it’s always

@mia-riezebos
mia-riezebos / intro.json
Created July 14, 2022 15:26
lottie-web animationData (intro.json)
{
"v": "5.9.6",
"fr": 42,
"ip": 0,
"op": 160,
"w": 1080,
"h": 240,
"nm": "intro",
"ddd": 0,
"assets": [],
@mia-riezebos
mia-riezebos / unfollow-sc.js
Last active August 23, 2022 04:28 — forked from egeste/unfollow-sc.js
Unfollow all on soundcloud
// 1. go to your profile
// 2. click the "Following" count
// 3. open the browser console
// 4. copy and paste this code into the console
// 5. profit :3
// (6. follow me on https://soundcloud.com/patchstep)
var scriptName = "unfollow-sc.js";
var authorName = "Patch";
var authorUrls = [
@mia-riezebos
mia-riezebos / TallyVotes.gs
Last active November 22, 2022 06:38
Tally Votes across multiple sheets of data, and weight the scores.
ACTIVE_SPREADSHEET = SpreadsheetApp.getActiveSpreadsheet();
/**
* add a menu to manually refresh the leaderboard
*/
function onOpen() {
var sheet = ACTIVE_SPREADSHEET;
var entries = [{
name: "Refresh",
functionName: "refreshLastUpdate",
NNAA NNAB NNAC NNAD NNAE NNAF NNAG NNAH NNAI NNAJ NNAK NNAL NNAM NNAN NNAO NNAP NNAQ NNAR NNAS NNAT NNAU NNAV NNAW NNAX NNAY NNAZ
nnAa nnAb nnAc nnAd nnAe nnAf nnAg nnAh nnAi nnAj nnAk nnAl nnAm nnAn nnAo nnAp nnAq nnAr nnAs nnAt nnAu nnAv nnAw nnAx nnAy nnAz
NNA0 NNA1 NNA2 NNA3 NNA4 NNA5 NNA6 NNA7 NNA8 NNA9
NNA! NNA# NNA( NNA) NNA+ NNA, NNA- NNA. NNA/ NNA: NNA; NNA= NNA? NNA@ NNA[ NNA] NNA_ NNA© NNA℗
NNBA NNBB NNBC NNBD NNBE NNBF NNBG NNBH NNBI NNBJ NNBK NNBL NNBM NNBN NNBO NNBP NNBQ NNBR NNBS NNBT NNBU NNBV NNBW NNBX NNBY NNBZ
nnBa nnBb nnBc nnBd nnBe nnBf nnBg nnBh nnBi nnBj nnBk nnBl nnBm nnBn nnBo nnBp nnBq nnBr nnBs nnBt nnBu nnBv nnBw nnBx nnBy nnBz
NNB0 NNB1 NNB2 NNB3 NNB4 NNB5 NNB6 NNB7 NNB8 NNB9
NNB! NNB# NNB( NNB) NNB+ NNB, NNB- NNB. NNB/ NNB: NNB; NNB= NNB? NNB@ NNB[ NNB] NNB_ NNB© NNB℗