Skip to content

Instantly share code, notes, and snippets.

2023-05-19T17:52:15.025988Z TRACE serve:listen_socket{path=AbsoluteSystemPathBuf("/var/folders/gg/bnf9xtl93wqbsxspvpz00yc40000gn/T/turbod/b572bbf5fd27d5ca") running=true}: turborepo_lib::daemon::endpoint: acquiring pidlock
2023-05-19T17:52:15.026705Z DEBUG serve:listen_socket{path=AbsoluteSystemPathBuf("/var/folders/gg/bnf9xtl93wqbsxspvpz00yc40000gn/T/turbod/b572bbf5fd27d5ca") running=true}: turborepo_lib::daemon::endpoint: pidlock acquired at /var/folders/gg/bnf9xtl93wqbsxspvpz00yc40000gn/T/turbod/b572bbf5fd27d5ca/turbod.pid
2023-05-19T17:52:15.026712Z DEBUG serve:listen_socket{path=AbsoluteSystemPathBuf("/var/folders/gg/bnf9xtl93wqbsxspvpz00yc40000gn/T/turbod/b572bbf5fd27d5ca") running=true}:[
const childProcess = require("child_process");
// https://vercel.com/support/articles/how-do-i-use-the-ignored-build-step-field-on-vercel
const ABORT_BUILD_CODE = 0;
const CONTINUE_BUILD_CODE = 1;
const continueBuild = () => process.exit(CONTINUE_BUILD_CODE);
const abortBuild = () => process.exit(ABORT_BUILD_CODE);
const app = process.argv[2] || path.basename(path.resolve());
@tknickman
tknickman / osx_multimonitor_brightness.scpt
Created June 16, 2018 01:29
Applescript to automate changing brightness of multiple LG UltraFine 5K (or 4K) monitors
set monitorList to {"LG UltraFine (1)", "LG UltraFine (2)"}
set brightnessValue to 0.7
tell application "System Preferences"
reveal anchor "displaysDisplayTab" of pane "com.apple.preference.displays"
end tell
tell application "System Events"
repeat with monitor in monitorList
set value of slider 1 of group 1 of tab group 1 of window monitor of process "System Preferences" to brightnessValue
end repeat
@tknickman
tknickman / keybase.md
Created April 24, 2018 14:52
Keybase Proof

Keybase proof

I hereby claim:

  • I am tknickman on github.
  • I am tknickman (https://keybase.io/tknickman) on keybase.
  • I have a public key ASC1xJ5tJvciSIuDoO6xByKSSPYL-FwlI-EyGhvcV_XQWwo

To claim this, I am signing this object: