Skip to content

Instantly share code, notes, and snippets.

View jvllmr's full-sized avatar
🤔
Thinking about DX

Jan Vollmer jvllmr

🤔
Thinking about DX
View GitHub Profile
@jvllmr
jvllmr / install.sh
Created March 20, 2026 07:43
Install preview golang on Fedora Linux
#!/bin/bash
sudo dnf copr enable @go-sig/golang-rawhide
sudo dnf update
@jvllmr
jvllmr / setup-git-oauth-libsecret.sh
Last active February 16, 2026 08:22
Setup git-credential-oauth with libsecret on Fedora (also works on WSL)
sudo dnf install -y libsecret gnome-keyring dbus-daemon dbus-tools git-credential-libsecret git-credential-oauth
systemctl --user enable gnome-keyring-daemon --now
git config --global --unset-all credential.helper
git config --global --add credential.helper libsecret
git config --global --add credential.helper oauth
On headless systems without desktop (also WSL):
loginctl enable-linger $USER
@jvllmr
jvllmr / wslg.fish
Last active December 17, 2024 09:15
WSLg Ubuntu 24.04 fix
# ~/.config/fish/conf.d/wslg.fish
ln -sf /mnt/wslg/runtime-dir/wayland-* $XDG_RUNTIME_DIR/
@jvllmr
jvllmr / install_sbctl.sh
Last active March 12, 2024 00:46
sbctl_debian
sudo apt install asciidoc build-essential golang
git clone https://github.com/foxboron/sbctl.git
cd sbctl
sudo make install
sbctl
@jvllmr
jvllmr / secure_boot.txt
Last active June 9, 2024 16:16
Arch Linux Secure Boot
References:
https://wiki.archlinux.org/title/Unified_Extensible_Firmware_Interface/Secure_Boot
https://www.reddit.com/r/archlinux/comments/10pq74e/my_easy_method_for_setting_up_secure_boot_with/?rdt=45020
This post is both for my own reference and for anyone with GRUB who is struggling to set up Secure Boot. Here is what I found to be the easiest method:
[Disclaimer: This method does not work with "Secured-core" PCs]
Re-install GRUB to utilize Microsoft's CA certificates (as opposed to shim) -- replace 'esp' with your EFI system partition:
@jvllmr
jvllmr / build_python.sh
Last active December 28, 2022 19:48
Build Python from Source
# Install APT dependencies (from deadsnakes: https://github.com/deadsnakes/runbooks/tree/main/dockerfiles)
sudo apt-get install blt-dev \
build-essential \
gnupg \
libbluetooth-dev \
libbz2-dev \
libdb-dev \
libexpat1-dev \
libffi-dev \
libgdbm-dev \
@jvllmr
jvllmr / App.tsx
Last active October 5, 2022 12:59
Mantine AppShell with ScrollArea on main content
// Demo: https://codesandbox.io/s/mantine-appshell-with-scrollarea-on-main-content-u38yey
import {
AppShell,
Aside,
Box,
Footer,
Header,
MantineProvider,
Navbar,