Skip to content

Instantly share code, notes, and snippets.

View yuvve's full-sized avatar

yuvve

  • Sweden
  • 21:05 (UTC +02:00)
View GitHub Profile
@zeroxia
zeroxia / notes.sh
Last active February 3, 2026 14:28
Commands to install glibc 2.34 to Ubuntu 20.04 and patch latest neovim binary to run
## Prepare Ubuntu 20.04
sudo apt install build-essential
sudo apt install patchelf unzip bison gawk
## neovim prerelease:
https://github.com/neovim/neovim/releases
https://github.com/neovim/neovim/releases/tag/nightly
# e.g.,
cd ~/.local
@potatoattack
potatoattack / install_comfyui_on_arch.md
Created March 3, 2025 09:38
Install ComfyUI on Arch
# Install dependencies. Change `python-pytorch-rocm` to the package that supports your GPU or `python-pytorch` for CPU.
pacman -Syu base-devel git python-pytorch-rocm python-torchvision python-torchaudio libwebp

# Add a user for ComfyUI to run as.
useradd -U -r -s /usr/bin/nologin -d /var/lib/comfyui comfyui

# Clone the latest version of ComfyUI.
git clone https://github.com/comfyanonymous/ComfyUI.git /var/lib/comfyui
@Artefact2
Artefact2 / README.md
Last active June 3, 2026 15:12
GGUF quantizations overview
@Jai-JAP
Jai-JAP / 1000-signGrub.hook
Last active May 20, 2026 17:23
Manjaro SecureBoot Setup Guide
[Trigger]
Operation = Install
Operation = Upgrade
Operation = Remove
Type = Path
Target = /boot/efi/EFI/Manjaro/grubx64.efi
[Action]
Description = Signing GRUB with Machine Owner Key for Secure Boot
When = PostTransaction
@BollaBerg
BollaBerg / nmcli-connect-eduroam.sh
Last active April 22, 2026 11:11
Configure Eduroam for NMCLI
# Heavily inspired by https://haluk.github.io/posts-output/2020-10-19-linux/
# Replace <IFNAME> with wifi device name
# Replace <IDENTITY> with student identity (i.e. <USERNAME>@ntnu.no)
# Replace <PASSWORD> with user password
nmcli con add \
type wifi \
ifname <IFNAME> \
con-name eduroam \
ssid eduroam \

yt-dlp termux full installation guide.md

Prepare

  1. Install Termux from Github: https://github.com/termux/termux-app/releases
  2. Download the apk and install it -> Note that installing termux from Play Store is highly discouraged.

In Termux:

pkg update
@sekcompsci
sekcompsci / Comparison Espressif ESP MCUs.md
Last active April 14, 2026 21:13 — forked from fabianoriccardi/Comparison Espressif ESP MCUs.md
Comparison chips (SoCs) table for ESP8266/ESP32/ESP32-S2/ESP32-S3/ESP32-C3/ESP32-C6. Forked from @fabianoriccardi

Comparison chips (SoCs) table for ESP8266/ESP32/ESP32-S2/ESP32-S3/ESP32-C3/ESP32-C6

A minimal table to compare the Espressif's MCU families.

ESP8266 ESP32 ESP32-S2 ESP32-S3 ESP32-C3 ESP32-C6
Announcement Date 2014, August 2016, September 2019, September 2020, December
@x0nu11byt3
x0nu11byt3 / elf_format_cheatsheet.md
Created February 27, 2021 05:26
ELF Format Cheatsheet

ELF Format Cheatsheet

Introduction

Executable and Linkable Format (ELF), is the default binary format on Linux-based systems.

ELF

Compilation

@probonopd
probonopd / Wayland.md
Last active June 4, 2026 22:16
Think twice about Wayland. It breaks everything!

Think twice before abandoning X11. Wayland breaks everything!

tl;dr: Wayland is not "the future", it is merely an incompatible alternative to the established standard with a different set of priorities and goals.

Wayland breaks everything! It is binary incompatible, provides no clear transition path with 1:1 replacements for everything in X11, and is even philosophically incompatible with X11. Hence, if you are interested in existing applications to "just work" without the need for adjustments, then you may be better off avoiding Wayland.

Wayland solves no issues I have but breaks almost everything I need. Even the most basic, most simple things (like xkill) - in this case with no obvious replacement. And usually it stays broken, because the Wayland folks mostly seem to care about Automotive, Gnome, maybe KDE - and alienating e

@kabili207
kabili207 / Rclone systemd service.md
Last active June 4, 2026 07:23
Rclone systemd user service

rclone systemd service

Preparation

This service will use the same remote name you specified when using rclone config create. If you haven't done that yet, do so now.

Next, create the mountpoint for your remote. The service uses the location ~/mnt/<remote> by default.

mkdir ~/mnt/dropbox