javascript snippets

Compute how an element is hidden Iterate over LI elements Adding/removing classes to/from elements Get current date as YYYY-MM-DD escape HTML characters ...

Developer driven lists

https://github.com/agamm/awesome-developer-first https://free-for.dev/#/ https://github.com/awesome-selfhosted/awesome-selfhosted https://github.com/awesome-foss/awesome-sysadmin https://github.com/topics/awesome ...

2023-12-31-typescript

Duktape typescript-script Script that use "typescript" on a browser. https://github.com/niutech/typescript-compile Script that use "typescript" on a browser. ...

2024-12-31-wayland-gotchas

So the day of wayland is coming. As of today the gotchas I have are: vnc on the desktop wayvnc (required wlroots) ...

Certificate Authorities

For home users there is not much use for running you own Certificate Authority (CA), and with availability of Letsencrypt and the plethora of ACME libraries setting TLS encryption is quite straight forward. ...

virtual AD testing

Creating a virtual AD controller https://www.freeipa.org/page/Setting_up_Active_Directory_domain_for_testing_purposes http://stef.thewalter.net/how-to-create-active-directory-domain.html Join a Samba Server to AD ...

svgbob tips

Syntax: https://ivanceras.github.io/content/Svgbob/Specification.html online editor: https://ivanceras.github.io/svgbob-editor/ another editor: https://asciiflow.com/legacy/ editor in perl + gtk: https://metacpan.org/dist/App-Asciio/view/lib/App/Asciio.pm ...

2024-12-31-pydev2

Adding SSL and validate certificates Server side ssl server https server ...

DIY REST API

https://codeburst.io/this-is-how-easy-it-is-to-create-a-rest-api-8a25122ab1f3 How to write an REST API using bottle py add authentication Just add a PSK string in the header. The PSK is created in a web ui. And it is given an expiration date. ...

Kpartx-and-losetup

https://www.ullright.org/ullWiki/show/mount-disk-image-files-kpartx or maybe use: https://unix.stackexchange.com/questions/466938/what-is-the-difference-between-mount-and-mount-o-loop Maybe we can mount directly the loop device. ...