Skip to content

Instantly share code, notes, and snippets.

@jatcwang
jatcwang / gist:ae3b7019f219b8cdc6798329108c9aee
Created February 2, 2017 23:44
List of all setxkbmap configuration options (including models/layout/etc)
! model
pc101 Generic 101-key PC
pc102 Generic 102-key (Intl) PC
pc104 Generic 104-key PC
pc105 Generic 105-key (Intl) PC
dell101 Dell 101-key PC
latitude Dell Latitude series laptop
dellm65 Dell Precision M65
everex Everex STEPnote
flexpro Keytronic FlexPro
@nat-418
nat-418 / nix-home-manager-neovim-setup.md
Last active August 3, 2026 05:37
Manage Neovim plugins (and more!) with Nix and Home Manager

Manage Neovim plugins (and more!) with Nix and Home Manager

Highly extensible software like Emacs, Vim, and Neovim tend to grow their own package managers. A software developer, for example, might want to install editor plugins that hook into a particular programming language's linter or language server. The programmer's text editor is therefore extended to support managing additional software to extend the text editor. If this loop continues for too long, the programmer's editor becomes more delicate and complex. The remedy for this problem is to manage software using dedicated tools apart

@lukyjay
lukyjay / simplehuemotionsensor.yaml
Last active January 19, 2026 17:23
Simple Hue Motion Sensor
blueprint:
name: Simple Hue Motion Sensor
description: |
A simple Hue Motion Sensor (SML001) automation.
Recommendations:
1. Use Adaptive Lighting (available in HACS). This will set the brightness and colour temperature.
2. Configure an input_boolean helper to track whether the automation turned your light on or off. This is useful for dashboards and other automations. It will also prevent the automation from switching the lights off when you manually turn them on.
domain: automation
input: