Skip to content

Instantly share code, notes, and snippets.

View yuvve's full-sized avatar

yuvve

  • Sweden
  • 02:25 (UTC +01: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
@Jai-JAP
Jai-JAP / 1000-signGrub.hook
Last active January 24, 2026 15:59
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 January 9, 2026 07:34
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 February 12, 2026 21:19 — 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 February 14, 2026 04:37
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 February 9, 2026 09:37
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
@cutiko
cutiko / Readme.md
Created November 22, 2019 18:24
Git delete last commit

Removing the last commit

To remove the last commit from git, you can simply run git reset --hard HEAD^ If you are removing multiple commits from the top, you can run git reset --hard HEAD~2 to remove the last two commits. You can increase the number to remove even more commits.

If you want to "uncommit" the commits, but keep the changes around for reworking, remove the "--hard": git reset HEAD^ which will evict the commits from the branch and from the index, but leave the working tree around.

If you want to save the commits on a new branch name, then run git branch newbranchname before doing the git reset.

ORIGINAL did fork but search didn't helped me