Skip to content

Instantly share code, notes, and snippets.

View rummik's full-sized avatar
💤
Sleeping to escape reality

*Kim Zick rummik

💤
Sleeping to escape reality
View GitHub Profile
@rummik
rummik / nix-shell-wrapper
Last active November 29, 2019 20:11
WIP nix shell wrapper for Zsh with `--rcfile` support
#!/usr/bin/env zsh
zmodload -F zsh/zutil b:zparseopts
zparseopts -A args -- \
-rcfile::
if [[ ! -v args[--rcfile] ]]; then
exec zsh --interactive
fi
# hist-ignore-space is set to prevent our eval from remaining in history
61 buildInputs = [ │
1 ¦ stdenv.cc.cc │
2 ¦ cairo │ 3 ¦ curl_.out │
4 ¦ fontconfig │
5 ¦ gdk-pixbuf │
6 ¦ glib │ 7 ¦ glibc │
8 ¦ gtk3 │
9 ¦ libgcrypt │
10 ¦
@rummik
rummik / curl-gnutls-3.patch
Created March 15, 2020 23:00
Immersed VR NixOS package
--- a/lib/libcurl.vers.in 2020-03-12 05:33:59.367082951 +0000
+++ b/lib/libcurl.vers.in 2020-03-12 05:33:59.368082948 +0000
@@ -11,3 +11,8 @@
global: curl_*;
local: *;
};
+CURL_@CURL_LT_SHLIB_VERSIONED_FLAVOUR@3
+{
+ global: curl_*;
+ local: *;
@rummik
rummik / shell.nix
Created July 9, 2020 14:19
ZSH Python venv shell.nix
{ pkgs ? import <nixpkgs> {} }:
with pkgs;
mkShell {
name = "python-env";
buildInputs = [
python3
];
@rummik
rummik / picotron.nix
Last active March 21, 2026 02:04
Picotron Nix package
{
lib,
stdenv,
requireFile,
makeDesktopItem,
makeWrapper,
copyDesktopItems,
autoPatchelfHook,
unzip,
@rummik
rummik / ytmvsf.user.js
Created May 21, 2025 19:20
YouTube Music Volume Slider Fix
// ==UserScript==
// @name YouTube Music Volume Slider Fix
// @version 2025-05-21
// @description Fixes the volume slider to have a reasonable volume range and step size.
// @namespace zick.kim.ytmvsf
// @author *Kim Zick (rummik)
// @license MIT
// @grant none
// @run-at document-end
// @match https://music.youtube.com/*