Skip to content

Instantly share code, notes, and snippets.

View sharethewisdom's full-sized avatar
🙄

Bart De Roy sharethewisdom

🙄
View GitHub Profile

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

@^[^/]+//(?:[^/]+\.)?coolblue\.(be|nl)/ , Coolblue
@^[^/]+//(?:[^/]+\.)?bol\.com/ , Bol
@^[^/]+//(?:[^/]+\.)?wehkamp\.(com|nl)/ , Wehkamp
@^[^/]+//(?:[^/]+\.)?zalando\.com/ , Zalando
@^[^/]+//(?:[^/]+\.)?vandenborre\.be/ , Vandenborre
@^[^/]+//(?:[^/]+\.)?alibaba\.com/ , Alibaba
@^[^/]+//(?:[^/]+\.)?aliexpress\.com/ , Alibaba
@^[^/]+//(?:[^/]+\.)?taobao\.com/ , Alibaba
@^[^/]+//(?:[^/]+\.)?tmall\.com/ , Alibaba
@^[^/]+//(?:[^/]+\.)?alipay\.com/ , Alibaba
[Defaults]
columns=2
style=wldesk.css
wallpaper=wldesk.jpg
[Firefox]
# icon=/usr/share/icons/hicolor/48x48/apps/firefox.png
icon=/usr/share/icons/HighContrast/48x48/apps/firefox.png
exec=/usr/bin/firejail --disable-mnt --dns=9.9.9.9 --hostname=host --name=firefox --netfilter /usr/lib/firefox/firefox
--- tllocalmgr.orig 2019-11-17 16:14:30.928584915 +0100
+++ tllocalmgr 2019-11-17 16:21:09.985868826 +0100
@@ -18,7 +18,7 @@
my $INSTALLEDPKGS = "$TEXMFVAR/arch/installedpkgs";
our $VERSION = "0.7";
-our $YEAR = "2018";
+our $YEAR = "2019";
my $CTANBASEURL="http://mirror.ctan.org/systems/texlive/tlnet";
@sharethewisdom
sharethewisdom / zshrc
Created October 18, 2019 14:32
Site-wide zsh configuration with autocompletion (predict completer and short options tag order).
# vim: set sw=2 sts=2 :
# /etc/zsh/zshrc
[[ -o nointeractive ]] && return
unlimit
limit stack 8192
limit core 0
limit -s
export ZBEEP='\e[?5h\e[?5l'
@sharethewisdom
sharethewisdom / 80-mkinitcpio-patch.hook
Last active September 20, 2019 12:23
mkinitcpio patch
[Trigger]
Type = File
Operation = Install
Operation = Upgrade
Target = usr/bin/mkinitcpio
[Action]
Description = Patching /usr/bin/mkinitcpio
When = PostTransaction
Exec = /usr/bin/patch /usr/bin/mkinitcpio /root/mkinitcpio.patch
\documentclass[border=5mm]{standalone}
\usepackage{filecontents}
\begin{filecontents*}{A0.txt}
x y ey- ey+ label
21 -26 {} {} A0
33 -25 {} {} A1
40 -23 2 2 E2
45 -19.5 2.5 2 A2
49 -14 1 1 C\sharp3