I hereby claim:
- I am buckleyc on github.
- I am buckleyc (https://keybase.io/buckleyc) on keybase.
- I have a public key ASAhvVLStX-1XrBwxAG8n3w5XEwq_lh58I7I5ykqR--h0Ao
To claim this, I am signing this object:
BEGIN MESSAGE. | |
rsLAMbOzASRmFsP jPCSmVA5xrg2Y74 D0VGLskKUOZ9E0P L9Wl4q8phLRy33A | |
Bjr9A3KAciynuLJ pXUNfbXJQjcTCKq 6Xr2MZHgg7Hcliz en3UJ5JlATn97Ob | |
TA070dkpwOlhpVg MhG1twqwxpMB5XD ycXu3n4TcPqLAag Km1YgAZOiG2PF66 | |
IFwTIATqJh0O2Av VJIpPw93ssW0Vh5 qV7cz0Qz5Z. | |
END MESSAGE. |
#!/bin/sh | |
prog_name=${0##*/} | |
version=1.0 | |
version_text="Boilerplate for new scripts v$version" | |
options="h o: q v V" | |
help_text="Usage: $prog_name [-o <text>] [-hqvV] [<file>]... | |
Boilerplate for new scripts |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
""" | |
User-friendly password, with hiragana style phrasing | |
- based on idea from https://github.com/asakura42/passgen | |
Generates a user-readable/friendly password based on phonetic syllables (ala hiragana), | |
with some numbers and special characters for spice. | |
Checking these passwords on https://password.kaspersky.com/ shows bruteforce >= Centuries. |
This article describes how to quickly and easily remap your MacOS keyboard to better suit your needs using only the command line (i.e., without needing to install any additional applications).
TL;DR: Enter the following command in a terminal on your Mac to remap Caps-Lock as Delete, and remap Delete as Escape:
hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x70000002A,"HIDKeyboardModifierMappingDst":0x700000029},{"HIDKeyboardModifierMappingSrc":0x700000039,"HIDKeyboardModifierMappingDst":0x70000002A}]}'
But why would you want to do this? A couple of quick examples targeted at writers or developers: If you are using a modern IDE or code editor (versus 'vim' or 'emacs'), then you may wish to map the very convenient but seldom-used Caps-Lock to the oft-used Delete function. Or if you are editing using vim or emacs, then you may wish to map the Caps-Lock to a commonly-used modifier key such as Ctrl. Or maybe you are just a normal person that tends to not type many acronyms