Skip to content

Instantly share code, notes, and snippets.

@hebasto
hebasto / guix-sigs.md
Last active March 28, 2024 10:11
The `bitcoin-core/guix.sigs` Repository Workflow

The bitcoin-core/guix.sigs Repository Workflow

Common environment variables

export SIGNER="hebasto"
export GUIX_SIGS_REPO="/home/hebasto/guix.sigs"
export DETACHED_SIGS_REPO="/home/hebasto/bitcoin-detached-sigs"
@Raymo111
Raymo111 / i3lock on wake from sleep or hibernate.md
Last active May 10, 2024 01:52
How to use i3lock to wake from suspend state
@andersevenrud
andersevenrud / alacritty-tmux-vim_truecolor.md
Last active November 13, 2024 05:31
True Color (24-bit) and italics with alacritty + tmux + vim (neovim)

True Color (24-bit) and italics with alacritty + tmux + vim (neovim)

This should make True Color (24-bit) and italics work in your tmux session and vim/neovim when using Alacritty (and should be compatible with any other terminal emulator, including Kitty).

Testing colors

Running this script should look the same in tmux as without.

curl -s https://gist.githubusercontent.com/lifepillar/09a44b8cf0f9397465614e622979107f/raw/24-bit-color.sh >24-bit-color.sh
@alessandrojcm
alessandrojcm / Vagrantfile
Created August 15, 2018 00:50
Vagrantfile with Arch Linux, Postgre SQL and Python with Poetry dependency magement
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Postgres config based on Davis Ford's config: https://gist.github.com/davisford/8000332
$script = <<SCRIPT
#!/usr/bin/env bash
# Update package list
echo "Updating packages list"
@hrj
hrj / warm.sh
Created July 4, 2014 03:26
warm.sh | A red+green tint effect for the entire screen
#!/bin/bash
# Call with a percentage value from 0 to 100
# 0 means only red and green, 50 means half of blue is shown through
# if you don't give any arguments the calibration is cleared
if [[ -z "$1" ]]; then
echo Clearing all calibrations
xcalib -clear
else
@mattiaslundberg
mattiaslundberg / arch-linux-install
Last active October 25, 2024 12:07
Minimal instructions for installing arch linux on an UEFI system with full system encryption using dm-crypt and luks
# Install ARCH Linux with encrypted file-system and UEFI
# The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description.
# Download the archiso image from https://www.archlinux.org/
# Copy to a usb-drive
dd if=archlinux.img of=/dev/sdX bs=16M && sync # on linux
# Boot from the usb. If the usb fails to boot, make sure that secure boot is disabled in the BIOS configuration.
# Set swedish keymap