Skip to content

Instantly share code, notes, and snippets.

View melroy89's full-sized avatar
πŸ³οΈβ€πŸŒˆ
Decentralizing the WWW

Melroy van den Berg melroy89

πŸ³οΈβ€πŸŒˆ
Decentralizing the WWW
View GitHub Profile
@melroy89
melroy89 / keybase.md
Last active March 26, 2025 23:54
Keybase proof

Keybase proof

I hereby claim:

  • I am melroy89 on github.
  • I am danger89 (https://keybase.io/danger89) on keybase.
  • I have a public key ASBTbCIP-O7TO7CI9IEY_w27sbQN_NGi2wtFL7SxkVFkgAo

To claim this, I am signing this object:

Code Symbol Name_plural
USD $ US dollars
CAD CA$ Canadian dollars
EUR € Euros
AED AED UAE dirhams
AFN Af Afghan Afghanis
ALL ALL Albanian lekΓ«
AMD AMD Armenian drams
ARS AR$ Argentine pesos
AUD AU$ Australian dollars
@melroy89
melroy89 / unbond.conf
Created October 26, 2024 13:01 — forked from MatthewVance/unbond.conf
Example of how to configure Unbound as a local forwarder using DNS-over-TLS to forward queries.
server:
###########################################################################
# BASIC SETTINGS
###########################################################################
# Time to live maximum for RRsets and messages in the cache. If the maximum
# kicks in, responses to clients still get decrementing TTLs based on the
# original (larger) values. When the internal TTL expires, the cache item
# has expired. Can be set lower to force the resolver to query for data
# often, and not trust (very large) TTL values.
cache-max-ttl: 86400
-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: E0C7 C029 005B 0CE6 A743 8BD5 71D1 1FF2 3454 B9D7
Comment: Melroy Antoine van den Berg <[email protected]>
xsDNBGBs24cBDADT/fNSAWzvYhjz0lUvZc6ZjNVO69F2GzzN/q86dlVqciofP+F/
zWyw1Pd5QZfhWDxHlH91kb1emrdrnrWitD9DdAAlcrRtopDlqF8MSyn7jrXw1Bd1
D2QJFtnGM3LnWXmlgdiuykgwQRcteVpPy9xSKeMGs17+WFCLQAOvfErQ9OFRGdSy
8rN68L5rvx6YpDg003sNE3tukfhQIAtURZRai43WepJ3my39G+7Acp8VI3KgohlL
ZDWKO09vrXaoArvW1psKU+abAPtE+N/r52KmrFCqLpyIBBubGlYqjVrEMXLG7mhg
CBI42jzPBbPj3Xyj+3++RDzByvC5ErfXlnIBeEWIIOpBltDu9KwgW6Pt+8SqGvpo
@melroy89
melroy89 / mastodon-docker-setup.md
Last active March 23, 2025 23:09 — forked from akuechl/mastodon-docker-setup.md
Mastodon Docker Setup - most complete and easiest guide online
@melroy89
melroy89 / pull_push_all.sh
Created November 9, 2020 23:55
Pull/push all your Git repos Bash script (Origin: https://gitlab.melroy.org/-/snippets/40)
#!/usr/bin/env bash
# Script that goes through all my git repos and update them. And report any untracked files.
RED='\033[0;31m'
GREEN='\033[0;32m'
ORANGE='\033[0;33m'
NC='\033[0m' # No Color
# Do not add automatically to staged area, but only pull & push all repos
CURRENT="$(dirname "$(realpath "$0")")"
for dir in */;do
@melroy89
melroy89 / .about+license.md
Created September 16, 2019 23:53 — forked from anilnairxyz/.about+license.md
Candlestick Chart

A zoomable candlestick chart.

Copyright Β© 2015, Anil Nair - MIT License

@melroy89
melroy89 / gpu_speed_fan_control.sh
Last active November 1, 2021 21:16
AMD GPU Fan speed control based on real temperature under GNU/Linux
#!/bin/bash
# Control AMD GPU videocard fan speed based on real GPU temperature under GNU/Linux
# Just using the open-source AMDGPU driver, part of the kernel
# By: Melroy van den Berg <[email protected]>
############## Documentation #################
# Note 1: Temps are in Degrees Celcius
# Note 2: Fan speeds are in PWM (0-255 range) - which is NOT the same as RPM!
#
# You should read it like such: Until 48 degrees (temp1) is reached,
@melroy89
melroy89 / countries.sql
Last active April 26, 2024 09:55 — forked from paulochf/countries.sql
All countries of the world in SQL database. See https://gitlab.melroy.org/snippets/6 for comma seperated file (CSV).
CREATE TABLE IF NOT EXISTS `country` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`iso` char(2) NOT NULL,
`name` varchar(80) NOT NULL,
`nicename` varchar(80) NOT NULL,
`iso3` char(3) DEFAULT NULL,
`numcode` smallint(6) DEFAULT NULL,
`phonecode` int(5) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
@melroy89
melroy89 / patch.diff
Last active October 29, 2016 20:10
[PATCH] Fixing cursor reset issue #539
Index: binaries/data/mods/mod/art/textures/cursors/test.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: binaries/data/mods/mod/art/textures/cursors/test.png
===================================================================
--- binaries/data/mods/mod/art/textures/cursors/test.png (revision 18887)
+++ binaries/data/mods/mod/art/textures/cursors/test.png (nonexistent)
Property changes on: binaries/data/mods/mod/art/textures/cursors/test.png