Skip to content

Instantly share code, notes, and snippets.

@dabrahams
dabrahams / launchd.org
Last active March 15, 2025 16:14
Notes on Apple's under-documented launchd

Notes on Apple’s Under-Documented LaunchD

Start triggers fire regardless of other conditions

For example, StartOnMount=true will cause the job to start when anything is mounted even if other conditions, e.g. QueueDirectories, say the job should not run

Rhythm of repeating jobs

The StartInterval timer begins ticking at the moment the plist is loaded. If something like QueueDirectories is preventing the job from

@uasi
uasi / tmux.conf
Created November 16, 2011 17:20
Embedding shell script in .tmux.conf
# cat <<__DATA__ >/dev/null
# Your tmux configuration here
set-option -g prefix C-t
unbind-key C-b
bind-key C-t send-prefix
# Call foo
run "cut -c3- ~/.tmux.conf | sh -s foo"
# Call bar
@endolith
endolith / Has weird right-to-left characters.txt
Last active April 17, 2025 18:18
Unicode kaomoji smileys emoticons emoji
ּ_בּ
בּ_בּ
טּ_טּ
כּ‗כּ
לּ_לּ
מּ_מּ
סּ_סּ
תּ_תּ
٩(×̯×)۶
٩(̾●̮̮̃̾•̃̾)۶