Skip to content

Instantly share code, notes, and snippets.

@fuddl
fuddl / README.md
Last active July 1, 2024 21:52
YTMusic2listenbrainz.py

Submit Your YouTube Music Watch History to Listenbrainz

This script allows you to submit your YouTube Music watch history to Listenbrainz.

Prerequisites

  1. Python 3.x installed on your computer.
  2. An active Listenbrainz account.
  3. Your YouTube Music watch history file from Google Takeout.
mixin irr
mark.irregular
block
mixin cont
mark.contraction
block
mixin voic
mark.voiced
@fuddl
fuddl / bread.md
Last active March 13, 2022 13:01
Simple bread

Poolish

Amount Ingreditent
1g yeast
200g Wheat flour 550 or Spelt flour 630
200ml cold water

Mix in a bowl. Let it rest overnight.

@fuddl
fuddl / duckduckgo-url-filter.txt
Created February 7, 2021 12:06
Hide certain domains in duckduckgo search results
duckduckgo.com##[data-domain="www.pinterest.com"]
duckduckgo.com##[data-domain="www.w3schools.com"]
@fuddl
fuddl / pancakes.md
Last active August 29, 2020 13:43
Pancakes recipe

Ingredients

For approximatly 4 large Pancakes:

Amount Dev Ingreditent
Egg
50g Sugar
200g All purpose flour
150ml ±15ml Water
@fuddl
fuddl / wikia-data.user.js
Last active March 27, 2020 21:41
Userscript Wikia → Wikidata
// ==UserScript==
// @name WikiaData
// @namespace https://gist.github.com/fuddl
// @version 1.0.7
// @description Enrich Wikia with wikidata ids. Enrich wikidata with wikia ids.
// @updateURL https://gist.githubusercontent.com/fuddl/3fab12d74b52bb9b150d89ead0ac114c/raw/wikia-data.user.js
// @downloadURL https://gist.githubusercontent.com/fuddl/3fab12d74b52bb9b150d89ead0ac114c/raw/wikia-data.user.js
// @author fuddl
// @match https://*.fandom.com/*
// @grant GM_xmlhttpRequest
@fuddl
fuddl / flower-box.scad
Created January 19, 2019 09:53
Flower box
wall_thickness = 15;
base_thickness = 15;
depth = 260;
width = 870;
height = 200;
echo(str("<b>1x Base: ", width, "x", depth-(wall_thickness*2), "x", base_thickness, " mm</b>"));
translate([0,wall_thickness,0])
@fuddl
fuddl / spacedock.scad
Last active February 10, 2022 18:01
Earth Spacedock
cylinder(h = 3, r=40);
translate([0,0,13])
cylinder(h=45, r=43);
translate([0,0,3])
cylinder(h=10, r1=38, r2=43);
translate([0,0,58])
union() {
translate([0,0,-113])
@fuddl
fuddl / constellations.yml
Created December 6, 2017 19:42
Stellar constellations in yaml
constellations:
ursa minor:
name: 'Ursa Minor'
stars:
- - 424
- 6789
- 6322
- 5903
- 6116
- 5735
@fuddl
fuddl / lipsim.jade
Created March 11, 2015 13:09
deterministic lipsum mixin in jade. Does not create any 'random' text
- var loremCount = 0;
mixin lipsum(amount)
- var loremText = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.";
- var lipsumArray = loremText.split(' ');
- var loremIpsum = '';
- var wordCount = lipsumArray.length
- for (var i = 0; i < amount; i++) {
- if(i > 0) {
- loremIpsum += ' ';
- }