This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # If you ever need to replace a large blob of data while keeping its adler32 checksum intact, | |
| # this quick one-off script should be able to generate a short piece of data with the same checkum. | |
| require "adler32" | |
| require "base64" | |
| class Adler32Checksum | |
| include Comparable | |
| attr_reader :adler32 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "title": "My Karabiner settings to make Caps Lock useful on a German keyboard", | |
| "rules": [{ | |
| "description": "Map Caps Lock to {, and Shift-Caps Lock to }", | |
| "manipulators": [{ | |
| "type": "basic", | |
| "from": { "key_code": "caps_lock", "modifiers": {} }, | |
| "to": [{ "key_code": "8", "modifiers": ["left_option"] }] | |
| }, | |
| { |