Provision drive using installer for LUKS/LVM
Typical configuration:
% lsblk -f
| { | |
| "title": "HHKB: Hyper on Left Control + Arrow keys on HJKL (Hyper layer)", | |
| "rules": [ | |
| { | |
| "description": "Left Control → Control when tapped, Hyper when held", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "from": { | |
| "key_code": "left_control", |
| { | |
| "title": "HHKB Layout", | |
| "rules": [ | |
| { | |
| "description": "HHKB Editing Keys", | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "semicolon", | |
| "modifiers": { |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>ANSIBlackColor</key> | |
| <data> | |
| YnBsaXN0MDDUAQIDBAUGBwpYJHZlcnNpb25ZJGFyY2hpdmVyVCR0b3BYJG9iamVjdHMS | |
| AAGGoF8QD05TS2V5ZWRBcmNoaXZlctEICVRyb290gAGmCwwXHR4lVSRudWxs1Q0ODxAR | |
| EhMUFRZcTlNDb21wb25lbnRzVU5TUkdCXE5TQ29sb3JTcGFjZV8QEk5TQ3VzdG9tQ29s | |
| b3JTcGFjZVYkY2xhc3NPECUwLjE0OTAxOTU5OSAwLjE0OTAxOTU5OSAwLjE0OTAxOTU5 |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>ANSIBlackColor</key> | |
| <data> | |
| YnBsaXN0MDDUAQIDBAUGBwpYJHZlcnNpb25ZJGFyY2hpdmVyVCR0b3BYJG9iamVjdHMS | |
| AAGGoF8QD05TS2V5ZWRBcmNoaXZlctEICVRyb290gAGjCwwTVSRudWxs0w0ODxARElVO | |
| U1JHQlxOU0NvbG9yU3BhY2VWJGNsYXNzTxAnMC4xNzY0NzA1ODgyIDAuMTk2MDc4NDMx | |
| NCAwLjI1NDkwMTk2MDgAEAGAAtIUFRYXWiRjbGFzc25hbWVYJGNsYXNzZXNXTlNDb2xv |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>ANSIBlackColor</key> | |
| <data> | |
| YnBsaXN0MDDUAQIDBAUGBwpYJHZlcnNpb25ZJGFyY2hpdmVyVCR0b3BYJG9iamVjdHMS | |
| AAGGoF8QD05TS2V5ZWRBcmNoaXZlctEICVRyb290gAGjCwwTVSRudWxs0w0ODxARElVO | |
| U1JHQlxOU0NvbG9yU3BhY2VWJGNsYXNzTxAnMC4xNzY0NzA1ODgyIDAuMTk2MDc4NDMx | |
| NCAwLjI1NDkwMTk2MDgAEAGAAtIUFRYXWiRjbGFzc25hbWVYJGNsYXNzZXNXTlNDb2xv |
| // Static tasks configuration. | |
| [ | |
| { | |
| "label": "Build", | |
| "command": "devcontainer build" | |
| }, | |
| { | |
| "label": "Start", | |
| "command": "devcontainer up" | |
| }, |
| #!/bin/sh | |
| # dfstow is a simplified version of GNU Stow, a tool that helps manage multiple | |
| # software packages in a single directory. | |
| # | |
| # It does this by creating symbolic links from the destination directory | |
| # to the original files and directories. | |
| # | |
| # The destination directory is created if it doesn't exist. | |
| # |
| { | |
| "background": "#2D333B", | |
| "black": "#2D333B", | |
| "blue": "#6CB6FF", | |
| "brightBlack": "#768390", | |
| "brightBlue": "#6CB6FF", | |
| "brightCyan": "#96D0FF", | |
| "brightGreen": "#8DDB8C", | |
| "brightPurple": "#DCBDFB", | |
| "brightRed": "#F47067", |
| #!/bin/sh | |
| # Set missing datetime tags | |
| find "${1:-$PWD}" -not -name ".DS_Store" -type f | while read f | |
| do | |
| # Assumption that files came from Apple Photos export | |
| # Organized: | |
| # <month> <day>, <year> | |
| d=$(basename "$(dirname "${f}")") | |
| datestamp=$(echo "${d}" | sed -E 's/(^.+[,][[:space:]])?([[:alpha:]]+[[:space:]][[:digit:]]+[,][[:space:]][[:digit:]]+)/\2/g') |