Skip to content

Instantly share code, notes, and snippets.

LOGFILE="$HOME/Desktop/xcode-pre-action.txt" ;
print_pwd () { echo "pwd: $(pwd)" >> $LOGFILE ; }
bump_version () { agvtool bump ; }
echo "" > $LOGFILE ;
echo "Build Pre-Action" >> $LOGFILE
print_pwd ;
echo "PROJECT_DIR: $PROJECT_DIR" >> $LOGFILE ;
echo "cd into project directory" >> $LOGFILE ;
@twhitt14
twhitt14 / remove-vs-code-navigation-beeps.txt
Last active July 21, 2025 18:13
Xcode keybindings in VS Code - remove annoying beep when navigating forward or back with ctrl+cmd+right or ctrl+cmd+left
# Run the code below in a terminal.
# Then quit and re-open VS Code for it to take effect.
mkdir -p ~/Library/KeyBindings/
<<EOF > ~/Library/KeyBindings/DefaultKeyBinding.dict
{
"@^\UF700" = "noop:";
"@^\UF701" = "noop:";
"@^\UF702" = "noop:";
"@^\UF703" = "noop:";