Skip to content

Instantly share code, notes, and snippets.

@cemeng
Last active March 20, 2018 05:17
Show Gist options
  • Save cemeng/30007bf598bcfedd450c9e81f2a9460d to your computer and use it in GitHub Desktop.
Save cemeng/30007bf598bcfedd450c9e81f2a9460d to your computer and use it in GitHub Desktop.
Mac tips
  • Use Spaces to organise stuffs - use control arrows to switch, use control up and drag stuff around
  • Know your dotfiles (.bash_profile).
    • I version controlled my dotfiles, I had to do this because I have 4 macs and I want to be able to have consistent dev environment on them.
    • Here is my example: https://github.com/cemeng/dotfiles/blob/master/bash_profile
    • So on my new laptop I just git clone the repo, create .bash_profile that sources the bash_profile on that repo
    • Another idea: maintain a list of packages that I brew install make it a script that I can run
  • Use a launcher app, I like AlfredApp (not mac specific) ** you can install “worfklows” such as weather, forecast, play spotify etc (clipboard) ** but you can use Spotlight too CMD + space -> useful for quick calculation
  • Take a screenshot - cmd-shift-4 I use this ALOT for JIRA. https://support.apple.com/en-au/HT204216
  • Embrace the shell, useful things that I use on daily basis: grep / ag, history, tree
  • Windows Ctrl mostly becomes Mac CMD, example: Ctrl C -> CMD C for copying
  • 1Password (not mac specific) - so you don't have to remember your password anymore and safer too, since it will generate the password, so you won't share your Google password with your bank password for example.
  • Evernote (not mac specific)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment