Skip to content

Instantly share code, notes, and snippets.

View sharethewisdom's full-sized avatar
🙄

Bart De Roy sharethewisdom

🙄
View GitHub Profile
@sharethewisdom
sharethewisdom / winevent-group.ahk
Created October 26, 2025 22:10
Demonstrates how to use Descolada's WinEvent class and ahk_group to minimize, restore, and close all members of the group when titlebar buttons are used. It also moves two members in the upper -, and lower half of the screen.
#Requires AutoHotkey v2.0
#SingleInstance Force
; https://www.autohotkey.com/boards/viewtopic.php?f=83&t=126932
; https://github.com/Descolada/AHK-v2-libraries/blob/main/Lib/WinEvent.ahk
#include <winevent>
GroupAdd("MyGroup","ahk_class Notepad ahk_exe notepad.exe")
WinEvent.MoveEnd(arrangeGroupedWindows.Bind("MyGroup"), "ahk_group MyGroup")
WinEvent.Minimize(groupEvent.Bind(WinMinimize,"MyGroup"),"ahk_group MyGroup")
WinEvent.Restore(groupEvent.Bind(WinRestore,"MyGroup"),"ahk_group MyGroup")
@sharethewisdom
sharethewisdom / README.md
Last active October 19, 2025 13:03
Coderdojo Belgium: automatic registration of a single volunteer for the next event in a particular city through Eventbrite

Eventbrite Coderdojo Belgium volunteer registration

These simple userscripts automate registration for a single volunteer on the next dojo in a city.

If you're a volunteer coach just install and use it.

If you're a lead coach, and you want to register your volunteers, consider creating multiple firefox profiles and install the scripts in each of them to make this easier. Or, you could copy-paste the json of the volunteer's personal data prior to visiting the form. Set Tampermonkey config mode to advanced to see the json settings in the settings tab on the extension's editor page for the script eventbrite-checkout-coach.

If you're a parent or guardian, or an attendee, and you want to use this, it sould not be too hard to adapt this. You might want to just remove the "ticket-quantity-selector" if statement in eventbrite-checkout-coach to manually select a track, and modify it to add additional data if the attendee data is different from the person making the reservation. The

@sharethewisdom
sharethewisdom / 2dehands.user.js
Last active September 16, 2025 17:32
lazy attempt to remove 2dehands.be advertisements and buisiness account sales, and some javascript bloat
// ==UserScript==
// @name 2dehands
// @namespace https://gist.github.com/sharethewisdom/124f753c6a15b8322609b79340acba98/
// @version 2025-09-16
// @description lazy attempt to remove advertisements and buisiness account sales, and some javascript bloat
// @author You
// @match https://www.2dehands.be/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=2dehands.be
// @grant none
// ==/UserScript==
@sharethewisdom
sharethewisdom / fix_vrtmax.user.js
Last active September 1, 2025 20:41
improved accessibility and user experience of the Theoplayer on VRTMAX
// ==UserScript==
// @name Fix vrtmax
// @namespace http://tampermonkey.net/
// @version 2025-07-23
// @description redirect watch pages to show episodes, focus the player when it appears or when exiting fullscreen
// @author You
// @match https://www.vrt.be/vrtmax/*
// @run-at document-start
// @icon https://www.google.com/s2/favicons?sz=64&domain=vrt.be
// @grant GM_getValue
@sharethewisdom
sharethewisdom / youtube_mods.user.js
Last active September 18, 2025 14:19
youtube mods
// ==UserScript==
// @name youtube mods
// @namespace https://gist.github.com/sharethewisdom/ca72448c93c411ca0b9bee88d4225fab/
// @version 2025-07-05
// @description youtube autoselect player
// @author You
// @match https://www.youtube.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com
// @grant none
// @run-at document-ready
@sharethewisdom
sharethewisdom / README.md
Last active March 26, 2025 10:48
.NET checkbox
dotnet.exe build
autohotkey.exe checkbox.ahk

checkbox

Keybase proof

I hereby claim:

  • I am sharethewisdom on github.
  • I am sharethewisdom (https://keybase.io/sharethewisdom) on keybase.
  • I have a public key whose fingerprint is 1734 B0BA F0E1 8F7F 3B59 4CC1 F313 FD1A 398F 37AD

To claim this, I am signing this object:

@sharethewisdom
sharethewisdom / README.md
Created March 14, 2023 18:16
GTK4 snippet test

snippet test

I struggle to get snippets working... I'm probably missing a lot of pieces in the code.

I tried to put latex.rng in $XDG_DATA_HOME/gtksourceview-5/snippets/.

requirements

$ sudo apt install gcc pkg-config libgtksourceview-5-dev
@sharethewisdom
sharethewisdom / be.user.css
Last active March 5, 2022 13:08
Simple and crude dark theme for often used domains of the Belgian government
/* ==UserStyle==
@name Belgian government sites dark theme
@namespace https://userstyles.world/user/sharethewisdom
@version 1.0.0
@description Simple and crude dark theme for often used domains of the Belgian government
@author Sharethewisdom
@license MIT
@preprocessor stylus
==/UserStyle== */
@sharethewisdom
sharethewisdom / intro.md
Created May 22, 2021 07:18
intro p5.js

Intro p5.js

Wat is p5.js?

De Javascript programmabibliotheek (library) p5.js stelt ons een hele reeks functies ter beschikking om te tekenen in wat we hier metaforisch een "schets" noemen. Maar we zijn niet beperkt tot het tekenen op een canvas. We kunnen de hele pagina beschouwen als een schets, inclusief HTML5 objecten voor tekst, invoer, video, webcam en geluid.

Aan de slag