Skip to content

Instantly share code, notes, and snippets.

@ascarter
ascarter / stow.sh
Created October 2, 2024 00:03
stow
#!/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.
#
@ascarter
ascarter / tasks.json
Created March 7, 2025 06:15
Zed devcontainer tasks
// Static tasks configuration.
[
{
"label": "Build",
"command": "devcontainer build"
},
{
"label": "Start",
"command": "devcontainer up"
},
@ascarter
ascarter / Nord.terminal
Created March 11, 2025 22:42
Terminal.app Nord profile
<?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
@ascarter
ascarter / Nord Night.terminal
Created March 11, 2025 22:42
Terminal.app Nord Night profile
<?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
@ascarter
ascarter / Xcode.terminal
Created March 11, 2025 22:43
Terminal.app Xcode profile
<?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
@ascarter
ascarter / hhkb.json
Created March 23, 2025 18:38
HHKB Karabiner Profile
{
"title": "HHKB Layout",
"rules": [
{
"description": "HHKB Editing Keys",
"manipulators": [
{
"from": {
"key_code": "semicolon",
"modifiers": {
@ascarter
ascarter / hyper_vim_arrows.json
Created March 24, 2025 05:01
Hyper + vim arrows
{
"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",