Skip to content

Instantly share code, notes, and snippets.

View notgne2's full-sized avatar
💭
‏💭‏

Mika Logan notgne2

💭
‏💭‏
View GitHub Profile
@notgne2
notgne2 / xps_9320.nix
Last active August 4, 2024 19:28
It Just Works ™️
{
config,
pkgs,
lib,
inputs,
...
}: let
ipu6-camera-bin = with pkgs;
stdenv.mkDerivation rec {
pname = "ipu6-camera-bin";
@notgne2
notgne2 / ezwg2.nix
Last active January 16, 2022 17:32
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.ezwg;
peerNameReplacement = lib.replaceChars [ "/" "-" " " "+" "=" ] [
"-"
"\\x2d"
"\\x20"
"\\x2b"
@notgne2
notgne2 / htc_vive_virtual_keypress.py
Last active January 3, 2019 15:46
Small script to convert HTC Vive controller inputs into virtual keypresses for autohotkey (thanks to awesomebytes)
#!/usr/bin/env python
import time
import pprint
import openvr
import win32api
import win32con
"""
Convert HTC Vive inputs to virtual keypresses for autohotkey