Skip to content

Instantly share code, notes, and snippets.

View DieracDelta's full-sized avatar
💭
2565 7B91 AD2D 02C6 1B7F 9819 E682 81EB 2ABC E9B8

Justin Restivo DieracDelta

💭
2565 7B91 AD2D 02C6 1B7F 9819 E682 81EB 2ABC E9B8
View GitHub Profile
@RexYuan
RexYuan / desk.md
Last active October 12, 2025 00:05
A list of which standing desk companies use base from what companies
Base companies Desk companies
Jiecang Poppin, HON, Allsteel, AMQ, Enwork, Uplift, Haworth, Xybix, Hat Contract, Uncaged Ergonomics, Omnidesk, AITerminal, Fully(Herman Miller+Knoll), Funte, Desky
Kaidi LTJ Kantoormeubelen, Teknion, OFS, Friant, Varidesk, BTOD
Loctek Loctek, Flexispot(Loctek)
Timotion Backbone, Humanconnect(FLH), Motti(Timotion), Autonomous SmartDesk, Trendway, Symmetry, DEZCTOP, Steelcase
OMT-Veyhl / LogicData(Jiecang) Herman Miller, Haworth, Special T, iMovR, BTOD, DeskHaus
Linak Steelcase, Ergonofis, Ikea, Xdesk, Inwerk, Charcoal, iMovR, Buldesk, Workrite, UpDesk
Actiforce Steelcase
Conset Conset, Flexiwork
@PatrickDaG
PatrickDaG / shifts.nix
Last active September 10, 2025 21:40
Nix Shift
let
# lut = [
# 1 # 0
# 2 # 1
# 4 # 2
# 8 # 3
# 16 # 4
# 32 # 5
# 64 # 6
# 128 # 7
@sveitser
sveitser / nixos-luks-zfs-pool-import.org
Last active January 1, 2024 21:03
NixOS, Broken ZFS pool import on LUKS Recovery

NixOS, Broken ZFS pool import on LUKS Recovery

Below are the steps I used to recover the system, this is nixos running on ZFS on LUKS, where the LUKS volume is encrypted with a GPG key on a yubikey.

During a docker image build my system looked up and I had to reset my desktop by holding the power button. After that importing the zfs root pool hung on startup.

Some steps are from memory.

  • Create a bootable USB drive with gpg, etc.: example
[connection]
id=YaleSecure
type=wifi
[wifi]
mode=infrastructure
ssid=YaleSecure
[wifi-security]
key-mgmt=wpa-eap
@alphapapa
alphapapa / magit.sh
Last active April 5, 2020 10:18
Run a standalone Magit editor!
# Please see the script's new home: https://github.com/alphapapa/magit.sh
@ageis
ageis / .bashrc 02-25-2020
Last active May 10, 2024 02:34
@ageis's ~/.bashrc 🖥️ with numerous useful functions, aliases and one-liners. ⚠️ NOTE: many paths in sourced scripts and environment variables are specific to my system, but if you dig in I hope you'll find something you can use!
#!/bin/bash
# ~/.bashrc: executed by bash(1) for non-login shells.
# kevin gallagher (@ageis) <kevingallagher@gmail.com>
# normally I divide this into separate files: .bashrc, .bash_profile, .bash_aliases and .bash_functions (also .bash_logout), but it's all concatenated here.
ulimit -s unlimited
export MYUID=$(id -u)
export USER="$(id -un)"
if [[ "$TILIX_ID" ]] || [[ "$VTE_VERSION" ]]; then
@fay59
fay59 / Quirks of C.md
Last active August 7, 2025 21:19
Quirks of C

Here's a list of mildly interesting things about the C language that I learned mostly by consuming Clang's ASTs. Although surprises are getting sparser, I might continue to update this document over time.

There are many more mildly interesting features of C++, but the language is literally known for being weird, whereas C is usually considered smaller and simpler, so this is (almost) only about C.

1. Combined type and variable/field declaration, inside a struct scope [https://godbolt.org/g/Rh94Go]

struct foo {
   struct bar {
 int x;
@mcattarinussi
mcattarinussi / gpg-ssh-setup.md
Last active October 30, 2025 15:29
A setup guide to use a personal gpg key for ssh authentication

GPG - SSH setup

Generating the master key

Here we create the master key. We want only Certify capability: we use the master key only to create the subkeys, Sign - Encrypt - Authenticate capabilities will be assigned to the subkeys.

Run the following command to start the master key generation process. Select the set your own capabilities creation process (type 8)

  ▶ gpg --full-generate-key --expert

gpg (GnuPG) 2.2.9; Copyright (C) 2018 Free Software Foundation, Inc.

@saitoha
saitoha / suckless-st-sixel.diff
Last active September 21, 2025 01:59
Add SIXEL graphics support for suckless st. (sixel.c/sixel_hls.c come from mintty, licensed under GPL)
commit ea830e03d4d4562b1ff225940f65bceddd9cad6c
Author: Hayaki Saito <saitoha@me.com>
Date: Sun Jun 11 23:46:45 2017 +0900
Add sixel graphics support
Signed-off-by: Hayaki Saito <saitoha@me.com>
diff --git a/Makefile b/Makefile
index d8595fe..a25d040 100644