Skip to content

Instantly share code, notes, and snippets.

View j2L4e's full-sized avatar

Jan Lohage j2L4e

  • Bielefeld, Germany
  • 08:48 (UTC +02:00)
View GitHub Profile
@heri16
heri16 / 90-mkinitcpio-install.hook.patch
Last active November 9, 2025 15:20
Enable Linux Secure Boot with TPM 2.0 (Manjaro / Archlinux) - rEFInd
--- /usr/share/libalpm/hooks/90-mkinitcpio-install.hook 2020-03-05 12:45:41.000000000 +0800
+++ /etc/pacman.d/hooks/90-mkinitcpio-install.hook 2020-06-13 23:08:32.861202141 +0800
@@ -8,5 +8,7 @@
[Action]
Description = Updating linux initcpios...
When = PostTransaction
-Exec = /usr/share/libalpm/scripts/mkinitcpio-install
+Exec = /usr/local/share/libalpm/scripts/mkinitcpio-install
+Depends = sbsigntools
+Depends = x11-ssh-askpass
@staltz
staltz / introrx.md
Last active April 14, 2026 03:11
The introduction to Reactive Programming you've been missing
@gitaarik
gitaarik / git_submodules.md
Last active April 13, 2026 15:52
Git Submodules basic explanation

Git Submodules - Basic Explanation

Why submodules?

In Git you can add a submodule to a repository. This is basically a sub-repository embedded in your main repository. This can be very useful. A couple of usecases of submodules:

  • Separate big codebases into multiple repositories.
@webapprentice
webapprentice / tutorial_30_example_1.html
Last active August 11, 2025 17:29
Simple example of Web Audio analysis and visualization
<canvas id="canvas" width="512" height="256" ></canvas>
<p id="controls">
<input type="button" id="start_button" value="Start">
&nbsp; &nbsp;
<input type="button" id="stop_button" value="Stop">
</p>
<!-- ----------------------------------------------------- -->