System-level customization map for this Omarchy install (Omarchy 4.0.4-1, kernel
linux-t2 from the arch-mact2 repo), started 2026-09-18 while investigating
what persisted from the early sleep/suspend + Thunderbolt 3 dock debugging
sessions, and updated 2026-09-19 after a hands-on session that fixed the hybrid
graphics configuration, killed a phantom display, and resolved clamshell and
input-lag fallout. Written to share with another T2 user on Omarchy who has
sleep/suspend trouble.
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
| # Lives at $HOME/.gitconfig but should already exist | |
| # Core section may already exist. Add this line to that section but change the path to match your home directory. | |
| [core] | |
| excludesfile = /Users/myockey/.gitignore |
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
| server: | |
| verbosity: 0 | |
| interface: 0.0.0.0 | |
| access-control: 127.0.0.0/8 allow | |
| access-control: 192.168.1.0/24 allow | |
| do-ip4: yes | |
| do-tcp: yes | |
| do-udp: yes |
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
| 2020/05/20 19:20:36:517 DHAlfredWorkflow: Alfred 3 syncFolder: (null) | |
| 2020/05/20 19:20:36:518 DHAlfredWorkflow: Alfred 2 syncFolder: (null) | |
| 2020/05/20 19:20:36:519 DHAlfredWorkflow: rebuild dashPath: (null) syncFolder: (null) | |
| 2020/05/20 19:20:36:520 DHAlfredWorkflow: workflowsPath: /Users/myockey/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows | |
| 2020/05/20 19:20:36:520 DHAlfredWorkflow: Attempting to find Dash workflow in syncFolder (null): (null) |
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
| FROM ubuntu:bionic | |
| WORKDIR /opt | |
| # Install dependencies | |
| RUN apt-get update && \ | |
| apt-get -y install curl unzip build-essential cmake valac libgee-0.8-dev libgtk-3-dev libqalculate-dev libgranite-dev libsoup2.4-dev libgtksourceview-3.0-dev | |
| # Fetch and build nasc | |
| RUN curl -L -o nasc.zip https://github.com/parnold-x/nasc/archive/master.zip && \ |
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
| /** | |
| * Makes ideal change based on the difference between the purchase price of an item, | |
| * how much cash is tendered, and the current contents of the register | |
| * | |
| */ | |
| const makeChange = (purchasePrice, cashTendered, cashRegisterContents) => { | |
| // Exact change tendered | |
| // Oops | |
| throw 'Insufficient Funds'; |
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
| /* | |
| With much credit to @BrianGenisio, this code is almost entirely his. | |
| https://github.com/CareEvolution/nodebots-unleashed-codemash-docs/blob/master/examples/base-sumobot.js | |
| */ | |
| import Five from 'johnny-five'; | |
| import board from './board'; | |
| board.on("ready", function() { | |
| console.log('ready'); |
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
| class AuthenticateController < ApplicationController | |
| DIGEST = OpenSSL::Digest::SHA256.new | |
| def show | |
| end | |
| def create | |
| nonce = Time.now.to_i | |
| token = SecureRandom.hex | |
| hmac = OpenSSL::HMAC.digest(DIGEST, 'soopersecret', "#{nonce}#{token}") |
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
| #!/bin/bash | |
| backup_date=$(date +%s) | |
| defaults_file=./my.cnf | |
| destination=./backups | |
| basename=backup | |
| cleanup=false | |
| cleanup_interval="+30" | |
| dryrun=false | |
| compress=false |
NewerOlder