Skip to content

Instantly share code, notes, and snippets.

@fuddl
fuddl / bread.md
Last active Mar 13, 2022
Simple bread
View bread.md

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 Feb 7, 2021
Hide certain domains in duckduckgo search results
View duckduckgo-url-filter.txt
duckduckgo.com##[data-domain="www.pinterest.com"]
duckduckgo.com##[data-domain="www.w3schools.com"]
@fuddl
fuddl / pancakes.md
Last active Aug 29, 2020
Pancakes recipe
View pancakes.md

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 Mar 27, 2020
Userscript Wikia → Wikidata
View wikia-data.user.js
// ==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
View flower-box.scad
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 Feb 10, 2022
Earth Spacedock
View spacedock.scad
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 Dec 6, 2017
Stellar constellations in yaml
View constellations.yml
constellations:
ursa minor:
name: 'Ursa Minor'
stars:
- - 424
- 6789
- 6322
- 5903
- 6116
- 5735
@fuddl
fuddl / lipsim.jade
Created Mar 11, 2015
deterministic lipsum mixin in jade. Does not create any 'random' text
View lipsim.jade
- 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 += ' ';
- }
View drupal-de.po
# German translation of Drupal including common anglicisms.
msgid ""
msgstr ""
"Project-Id-Version: Drupal core (7.34)\n"
"POT-Creation-Date: 2014-01-25 08:37+0000\n"
"PO-Revision-Date: YYYY-mm-DD HH:MM+ZZZZ\n"
"Language-Team: German\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
@fuddl
fuddl / _php_mixins.jade
Last active Aug 29, 2015
jade php mixins
View _php_mixins.jade
mixin php-foreach(expr)
| <?php foreach(!{expr}): ?>
block
| <?php endforeach; ?>
mixin php-print(expr)
| <?php print !{expr}; ?>
mixin php-if(expr)
| <?php if(!{expr}): ?>