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 / readme.md
Last active January 9, 2024 16:33
Comfort Keyboard Docs

About

This is unofficial documentation for the Comfort Keyboard Systems Comfort Keyboard.

Official (and far far worse) documentation can be obtained from the Comfort Keyboard driver download page at http://comfortkeyboard.com/drivers_downloads.html. Unsurprisingly, there are no drivers on the driver download page. Additionally, the links to download documentation for all of their keyboards just point to the same files...

If this actually winds up helping anyone, I'll be very surprised, but you're welcome if that's the case.

Also, yes, Comfort Keyboard is still (at the time of writing) apparently in business. The site could've fooled me too, but I've spoken with their tech support on a couple occasions.

@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
];
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 / 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
@rummik
rummik / shell.nix
Created November 6, 2019 03:47
Nix Shell Python virtualenv
{ stdenv ? import <nixpkgs> {} }:
let
inherit (stdenv) pkgs mkShell;
inherit (stdenv.lib) flatten;
in
mkShell rec {
@rummik
rummik / jiraColumnToggle.user.js
Last active July 30, 2019 17:51 — forked from pwilms/jiraColumnToggle.user.js
Toggle Jira Columns
// ==UserScript==
// @name Jira Column Toggle
// @namespace https://gist.github.com/rummik/f34ab0165cdd2aa34d8cdf3adb16082f
// @version 0.7
// @description toggle single columns with a click
// @author Patric Wilms, *Kim Zick
// @match */secure/RapidBoard.jspa*
// @updateURL https://gist.github.com/rummik/f34ab0165cdd2aa34d8cdf3adb16082f/raw/jiraColumnToggle.user.js
// @downloadURL https://gist.github.com/rummik/f34ab0165cdd2aa34d8cdf3adb16082f/raw/jiraColumnToggle.user.js
// @grant none
# Configuration for Alacritty, the GPU enhanced terminal emulator.
# Any items in the `env` entry below will be added as
# environment variables. Some entries may override variables
# set by alacritty itself.
#env:
# TERM variable
#
# This value is used to set the `$TERM` environment variable for
# each instance of Alacritty. If it is not present, alacritty will
@rummik
rummik / for.di
Last active April 10, 2019 04:44
Random Dimond code examples
#**
* For statement definition
*
* @example
* for { $i=0; $i<20; $i++ } {
* ...
* }
*#
define { Function, Function } 'for' {
@rummik
rummik / shell.nix
Created November 12, 2018 14:42
Electron nix-shell FHS fiddlings
{
pkgs ? import <nixpkgs> {},
unstable ? import (fetchTarball https://nixos.org/channels/nixos-unstable/nixexprs.tar.xz) {},
buildFHSUserEnv ? opt: (unstable.buildFHSUserEnv opt).env,
}:
buildFHSUserEnv rec {
name = "electron-env";
targetPkgs = p: (with pkgs;