Skip to content

Instantly share code, notes, and snippets.

<?php
function nth_child_4n_ds_field_theme_functions_info() {
return array('theme_ds_field_nth_child_4' => t('Highlight 4th child'));
}
function theme_ds_field_nth_child_4($variables) {
$output = '';
// Render the items.
@fuddl
fuddl / color_hex.txt
Created September 30, 2013 09:15
html standard colors
#FFFFFF,
#C0C0C0,
#808080,
#000000,
#FFA500,
#A52A2A,
#800000,
#008000,
#808000,
#000000,

Bass

Cm/G

e |-------------
H |-------------
G |---0---0-----
D |---1---1-----

A |-3-----------

@fuddl
fuddl / Preferences.sublime-settings
Last active January 4, 2016 12:49
my sublimetext2 settings
{
"detect_slow_plugins": true,
"draw_white_space": "all",
"ensure_newline_at_eof_on_save": true,
"font_size": 12,
"smart_indent": false,
"ignored_packages":
[
"LaTeX",
"Scala",
@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 / 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 / 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 / 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 / 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 / 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])