Skip to content

Instantly share code, notes, and snippets.

View sudish's full-sized avatar

Sudish Joseph sudish

View GitHub Profile
@sudish
sudish / Arch Desktop Changes.md
Last active February 19, 2026 14:07
Primary desktop - an Arch install, initially using Omarchy as installer

Arch Desktop Change Log

Tracks system changes mostly outside of $HOME. $HOME is covered by my dotfiles repo instead.

(Why am I not running Nix instead of writing down intent and changes like this? It's a very neat idea but I prefer keeping stuff up to date with a rolling distro like Arch. Recreating a system exactly isn't necessary for me, the things I care about are mostly in $HOME and those are well-managed already.)

Fiddler Tweaks Log

Fiddler is running Arch, installed via Omarchy (Oct '25). It has since been tweaked to remove many Omarchy things. I still manually track Omarchy updates - all changes in the new update are first scanned, then tweaked/removed if needed on my own branch and only then do I run the Omarchy updater. Omarchy's use of well-managed migrations makes this very clean and easy.

MAG x870E Tomahawk WiFi + 9800x3d Memory OC: T-Create Expert CL30 6000MHz

SoC Voltage: 1.25V
MEM_VDD: 1.35V
CPU_VDDIO: 1.35V
MEM_VDDQ: 1.35V

Voltages

VDDIO / MVDD / MVDDQ: 1.35V

DualSense Edge under Linux

6.x kernels support it, just have to do a couple tweaks.

Enable extra buttons

Install game-devices-udev.

Block touchpad as mouse

@sudish
sudish / Citrix + Zoom VDI with Arch Linux.md
Last active August 31, 2025 22:20
Running Citrix+Zoom VDI with Arch Linux

If Zoom VDI won't work with Citrix it probably needs to be at a specific version instead of the latest and greatest, which is usually what's in AUR. This doc shows how to modify the AUR PGKBUILD to build the specific version that may work for you.

Figure out your necessary package verison and sub-package version, possibly by looking at the URL for the Windows or Mac version as provided by your firm. This doc assumes you need version 6.0.14 and sub-package version 25360.

First install Citrix with yay -S icaclient. Copy its certs over to your home directory as the instructions say at the end of the install.

  • mkdir -p $HOME/.ICAClient/cache
  • cp /opt/Citrix/ICAClient/config/{All_Regions,Trusted_Region,Unknown_Region,canonicalization,regions}.ini $HOME/.ICAClient/

Run yay -S zoom-citric-plugin to begin the AUR install process, but quit out at the first prompt instead of proceeding with the install as that would install the latest version, not the one you need.

@sudish
sudish / darwin.el
Created May 18, 2012 14:06
Emacs mac-port customizations
;; Useful helper function
(defun sj/copy-keys-from-keymap (from-map keys &optional to-map)
"Copy the definitions of key sequences in `keys' from `from-map' to `to-map'.
A new keymap is created if `to-map' is nil. `keys' should be a
list of the keys whose bindings are to be copied. Each entry may
also be of the form (from-key . to-key) if the keys differ in the
two keymaps.
Example:
(\"a\" [backspace]
-- Power series in Haskell from Doug McIlroy's beautiful "Power
-- Series, Power Serious" functional pearl and his subsequent "Music
-- of Streams" paper.
module Main where
import Ratio (Rational)
infixl 7 .*
default (Integer, Rational, Double)
@sudish
sudish / gist:48199
Created January 16, 2009 23:10
If 60% chance of picking winner of a game, and 32 games played, what are odds of picking 12 of 16 correctly?
Update: All of this turns out to be nothing more than a classic
Binomial Distribution: http://en.wikipedia.org/wiki/Binomial_distribution
Jim asked: "If 60% chance of picking winner of a game, and 32 games
played, what are odds of picking 12 of 16 correctly?" (I'm going to
ignore the "32 games played" and assume you meant 16 played, since I
don't understand the 12 of 16 of 32 statement as it stands. I.e., how
do you pick the 16 out of the 32?)
Assumption: every game is independent of the other and the only
@sudish
sudish / gist:44197
Created January 7, 2009 06:29
For Sid's php project.
(add-hook 'php-mode-hook
(defun sk/php-mode-hook ()
(setq indent-tabs-mode t
c-basic-offset 4
tab-width 4)))