Skip to content

Instantly share code, notes, and snippets.

View haayhappen's full-sized avatar
πŸͺ½
Building...

Fynn Merlevede haayhappen

πŸͺ½
Building...
View GitHub Profile
@haayhappen
haayhappen / Spotify Developer Mode Mac
Created October 31, 2025 10:49 — forked from jetfir3/tmpdevmodify.sh
Temporarily enable developer mode for the Spotify desktop client on Linux and macOS.
#!/usr/bin/env bash
# Temporarily enable developer mode for the Spotify desktop client on Linux and macOS.
showHelp () {
echo -e \
"Usage: ./tmpdevmodify.sh [option]\n
Options:
-c, --clearcache Clear Spotify app cache
-d, --debug Add Debug Tools to user dropdown menu
@haayhappen
haayhappen / πŸ“Š Weekly development breakdown
Last active October 29, 2025 18:25
Weekly dev breakdown
Python 24 hrs 12 mins β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 51.6%
TypeScript 12 hrs 36 mins β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 26.8%
Vue 7 hrs 18 mins β–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 15.5%
SQL 2 hrs 54 mins β–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 6.2%
@haayhappen
haayhappen / safe_spreading_object_properties.js
Created January 12, 2022 14:35
How to spread truthy values into an object
const one = 'one'
const two = null
const three = {
...(one && { one }),
...(two && { two })
}
console.log(three)
@haayhappen
haayhappen / devops_borat.dat
Created October 13, 2021 11:24 — forked from textarcana/devops_borat.dat
The wisdom of Devops Borat (RIP, may Taichi Ohno himself carry him into Valhalla!) condensed in fortune cookie format without any @ messages included. Just the goofiest random shit :)
I remember very clear I cry when I finish volume 3 of Knuth.
%
I am work on CSS SQL.
%
First sign of depression in devops is denial: you start of ignore Nagios alert.
%
In devops language is not success unless is another language++.
%
In devops you are addict to graph if first thought after orgasm is send duration and intensity to Graphite.
%
@haayhappen
haayhappen / marked.js
Created July 2, 2021 08:45
Marked custom extension not working
import marked from 'marked'
const variable = {
name: 'variable',
level: 'block',
start (src) { return src.match(/\{{(.*?)}}/g)?.index },
tokenizer (src, tokens) {
const rule = /\{{(.*?)}}/g
const match = rule.exec(src)