)
}
}
)
(
}
{
)
)
(
)
(
(
{
}
)
(
)
}
)
)
{
(
(
)
)
}
)
(
}

osx Command Files

  1. #!/bin/bash
  2. cd "$(dirname "$0")"
  3. . ~/.nvm/nvm.sh
  4.  
  5. nvm use stable && npm run dev

Then name that file “whatever.command”. When you double-click it, it’ll launch a terminal and run the command. I pop these in my dock for projects I’m always opening…

open .

  1. open .

In a weird folder in your terminal? That’s right open . – I do this all the time 😛

// osx

Broken Audio OSX

  1. sudo killall coreaudiod

For years osx has had weird audio issues – from strange crackling to audio just randomly failing across the board. This still seems to solve it…

// apple // osx

Disable Bouncing Dock Icons

  1. defaults write com.apple.dock no-bouncing -bool TRUE;

I have never liked those bouncing icons in osx…

// apple // osx
snippet.zone ~ 2021-24 /// {s/z}