MacOS Productivity

Non-obvious Keyboard Shortcuts

Apple Shortcuts

Start TimeCamp Timer

Screenshot 2023-01-29 at 21.42.53.png|300

Start & stop TimeCamp timer using Siri, whenever you are.

Quickly start TimeCamp timer (also using Siri) with a provided note.
If any timer is running it will be stopped automatically.

Transcribe Voice Memo for Free Using OpenAI Whisper on MacOS Shortcuts

Pasted image 20230128154250.png|400

Download Apple Shortcut:
https://www.icloud.com/shortcuts/c1c96414530c4b9588b4ece3ca0d5316

You have to install Whisper (https://github.com/openai/whisper) on your MacOS first.

Example tutorials:

Apps

brew install --cask modern-csv
brew install --cask modern-csv
brew install --cask obsidian
brew install meetingbar
brew install cyberduck
brew install jordanbaird-ice

brew upgrade --cask

defaults -currentHost write -globalDomain NSStatusItemSpacing -int 8

# not used anymore
brew install --cask qlmarkdowno
brew install --cask --no-quarantine syntax-highlight

Other apps I use regularly:

Configuration

nano ~/.ssh/config 
Host *
  ServerAliveInterval 30
  ServerAliveCountMax 5
  UseKeychain yes
  AddKeysToAgent yes
  PubkeyAcceptedKeyTypes +ssh-rsa
  IdentityFile ~/.ssh/id_rsa

# BLOCK WEBSITES
sudo nano /etc/hosts

127.0.0.1 wykop.pl
127.0.0.1 www.wykop.pl
127.0.0.1 facebook.com
127.0.0.1 www.facebook.com
127.0.0.1 news.ycombinator.com
127.0.0.1 www.youtube.com
127.0.0.1 youtube.com

127.0.0.1 proxy.timecamp.local app.timecamp.local admin.timecamp.local analytic$
127.0.0.1 app.timecamp.local

# ENV
printenv # show all env variables
nano ~/.zshenv # store permamently (optionally ~/.zprofile https://www.zerotohero.dev/zshell-startup-files/) export RESTIC_PASSWORD="g1wW
source ~/.zshenv


cat ~/.ssh/id_rsa.pub | pbcopy

# ZSHRC

# zsh
alias openzs="open ~/.zshrc"
alias sourcezs="source ~/.zshrc"

# Docker
alias dcb="docker compose build"
alias dcu="docker compose up -d"
alias dcd="docker compose down"


brew "git"
brew "node"
brew "cask"
brew "zsh"
brew install "zsh-autosuggestions"
brew install "zsh-completions"
brew install zsh-you-should-use
brew install "zsh-syntax-highlighting"
brew install --cask google-cloud-sdk
brew install cloud-sql-proxy
brew install zsh-bat # [GitHub - fdellwing/zsh-bat](https://github.com/fdellwing/zsh-bat)
brew install bat
brew install fzf
brew "pnpm"
brew "npm"
brew "gh"

cask "cursor"
cask "raycast"
cask "whatsapp"
cask "google-chrome"
cask "postman"
cask "imageoptim"
cask "bitwarden"
cask "docker"
cask "zoom"
cask "ngrok"

cask "font-hack-nerd-font"
cask "font-menlo-for-powerline"
cask "font-jetbrains-mono"
cask "font-jetbrains-mono-nerd-font"

# Enable tap-to-click for the trackpad and show the correct state in System Preferences
defaults write com.apple.AppleMultitouchTrackpad Clicking -bool true
defaults -currentHost write -g com.apple.mouse.tapBehavior -int 1

# Show the path bar in the Finder
defaults write com.apple.finder "ShowPathbar" -bool "true" && killall Finder

# Show hidden files in the Finder
defaults write com.apple.finder "AppleShowAllFiles" -bool "false" && killall Finder

# Keep folders on top in Finder
defaults write com.apple.finder "_FXSortFoldersFirst" -bool "true" && killall Finder

# Keep folders on top on Desktop
defaults write com.apple.finder "_FXSortFoldersFirstOnDesktop" -bool "true" && killall Finder

/System/Library/PrivateFrameworks/SystemAdministration.framework/Resources/activateSettings -u

How I Setup New MacBooks