Giter Club home page Giter Club logo

productivity-tips-for-mac's Introduction

Productivity Tips for Mac

mac

Recommended Settings:

  1. Authorize Mac
    • iTunes -> Account -> Authorizations -> Authorize This Computer..
  2. System Sounds
    • Go to System Preferences -> Sound
    • Turn off Play user interface sounds effects
  3. Homebrew - The missing package manager for macOS
    • installation command:
    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  4. iTerm2 - A better OSX terminal
    • Shortcuts
      ⌘ + ⏎  # toggle full-screen
      ⌘ + K  # clear terminal
      ⌃ + W  # delete word backwards
    • Customised Key Mappings (Keys)
      Key Combination | Action
      -------------------------
      ⌘ h             | Send ^H Backspace
      ⌃ a             | Send Hex Codes: 0x28
      ⌃ e             | Send Hex Codes: 0x20 0x3d 0x20
      ⌘ ←             | Previous Tab
      ⌘ →             | Next Tab
    • Command (Profiles -> General -> Command) zsh
    • Working Directory (Profiles -> General -> Working Directory) Reuse previous session's Directory
    • open .
    • reset zsh history vim ~/.zsh_history
    • vi-mode (see later dotfiles and oh-my-zsh)
    • disable the Last login message
      • touch ~/.hushlogin
    • Profiles -> Text
      • Cursor
        • Box
        • turn-off Blinking cursor
      • Text Rendering
        • turn off Draw bold text in bold font
        • turn off Blinking text allowed
        • turn off Italic text allowed
      • Font
        • 14pt Monaco
    • Profiles -> Window
      • Columns: 120
      • Rows: 20
    • Enable View -> Show Tabs in Fullscreen (⇧ ⌘ T)
  5. fzf
    • first install fd by brew install fd (since we have in zhrc export FZF_DEFAULT_COMMAND='fd --type f')
    • ⌃+R
    • preview files
  6. ctags
  7. ag
  8. rg
  9. exa - A modern replacement for ls
  10. htop - an interactive process viewer
  11. tree - list a directory
  12. diff-so-fancy
brew install diff-so-fancy
  1. Tmux - A Terminal multiplexer

  2. Programming Languages

    • Rust
      • curl https://sh.rustup.rs -sSf | sh # all tools are installed under ~/.cargo/bin
      • rustc --version # returns the installed Rust version
      • racer
    • Elixir
      • brew install elixir
      • elixir --version # returns the installed Elixir version
    • rbenv
      • brew install rbenv
      • rbenv-gemset
        brew install rbenv-gemset
      • ruby-build
        # Using Homebrew on macOS
        $ brew install ruby-build
        
        # As an rbenv plugin
        $ mkdir -p "$(rbenv root)"/plugins
        $ git clone https://github.com/rbenv/ruby-build.git "$(rbenv root)"/plugins/ruby-build
        
        # As a standalone program
        $ git clone https://github.com/rbenv/ruby-build.git
        $ PREFIX=/usr/local ./ruby-build/install.sh
    • Go
      • brew install go
      • go version # returns the installed Go version
      • gocode
        go get -u github.com/mdempsky/gocode
    • Python
      brew install readline xz
      brew install pyenv
      brew install pyenv-virtualenv
    • JVM
  3. Adding a new SSH key to your GitHub account

  4. neovim

    • brew install neovim
    • install vim-plug
      curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs \
      https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
    • install neovim plugins by running in neovim :PlugInstall
  5. install dotfiles

    cd ~/
    git clone [email protected]:YaronWittenstein/dotfiles.git   # will create `~/dotfiles` locally
    git clone [email protected]:YaronWittenstein/dotvim.git     # will create `~/dotvim`   locally
    git clone [email protected]:YaronWittenstein/dotemacs.git   # will create `~/dotemacs` locally
    rm ~/.zshrc
    rm ~/.gemrc
    rm ~/.ctags
    rm ~/.gitconfig
    rm ~/.vimrc
    rm ~/.config/nvim/init.vim
    rm ~/.emacs.d
    ln -s ~/dotfiles/.zshrc ~/.zshrc
    ln -s ~/dotfiles/.gemrc ~/.gemrc
    ln -s ~/dotfiles/.ctags ~/.ctags
    ln -s ~/dotfiles/.gitconfig ~/.gitconfig
    ln -s ~/dotfiles/.vimrc ~/.vimrc
    ln -s ~/dotvim/init.vim ~/.config/nvim/init.vim
    ln -s ~/dotemacs ~/.emacs.d
  6. oh-my-zsh - A better shell

    • installation:
    sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
    git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions
    
    # add to zshrc
    source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
    brew install zsh-syntax-highlighting
    
    # add to zshrc
    source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
    • list of plugins:
    cargo
    rustup
    go
    ruby
    bundler
    rbenv
    gem
    mix
    rust
    brew
    osx
    gem
    git
    gitfast
    git-remote-branch
    dirhistory
    cp
    vi-mode
    last-working-dir
    zsh-autosuggestions
    zsh-syntax-highlighting
    
  7. Caffeine - Don't let your mac fall asleep

  8. evernote - Note manager

  9. Chrome Settings:

    • Downloads
      • go to chrome://settings in the address bar
      • click on Advanced
      • change the default Location
      • turn on Ask where to save each file before downloading
  10. Chrome plugins

  11. Chrome shortcuts:

    ⌘ + l      # Jump to the address bar
    ⌘ + n      # Open a new window
    ⌘ + ⇧ + n  # Open a new window in Incognito mode
    ⌘ + ⇧ + t  # Reopen the last closed tab, and jump to it
    ⌥ + ⌘ + j  # Open the JavaScript Console
    Esc        # Stop the page loading
    ⌘ r        # Reload your current page
    ⌘ ⇧ r      # Reload your current page, ignoring cached content
    ⌘ +        # Make everything on the page bigger
    ⌘ -        # Make everything on the page bigger
    ⌘ f        # Open the Find Bar to search the current page
    ⌘ g        # Jump to the next match to your Find Bar search
    ⌘ ⇧ g      # Jump to the previous match to your Find Bar search
    • chrome://chrome-urls/
      • chrome://settings (shortcut: ⌘ ,)
      • chrome://extensions
  12. Github shortcuts:

    • find commit t
    • change in the commit url: /commit to /tree
    • search for a file using t
  13. Karabiner - A powerful and stable keyboard customizer

    • open Karabiner - Elements
    • click on ⊕ Add item
    • select caps_lock under From key and escape under To key
  14. Git aliases (gp, gl, gmd, gmm, gsq, grhh) [note that oh-my-zsh brings most of these by default]

    gp    # git push
    gl    # git pull
    gd    # git diff
    gs    # git status -sb
    gmd   # git merge develop
    gmm   # git merge master
    gac   # git add --all; git commit -m
    glg   # git log
    grhh  # git rest HEAD --hard
    gsq   # git rebase -i
  15. Tower + Kaleidoscope - Version control with Git - made easy

  16. Github for Mac

  17. Dash

  18. Hide Spotlight

  • System Preferences -> Spotlight -> Privacy -> Keyboard Shortcuts...
    • turn off Show Spotlight search
    • turn off Show Finder search window
  • Important: don't Disable Spotlight indexing since Alfred relies on it
  1. Alfred - Spotlight in steroids (extreme search, hot-keys, workflows, keywords etc)
  2. FlexiGlass - Window Mover
    • Recommended Settings
      • Move
        • turn on Enabled
        • under Start moving when pressed mark ⌥ Option and select the One finger option
      • Resize
        • turn on Enabled
        • under Start resizing when pressed mark ⌥ Option and select the Two fingers option
  3. PopClip
    • Extensions
    • Recommended Extensions:
      • Base64 Encode
  4. Yoink
  5. Owl
  6. FlyCut
  7. aText
    • iCloud sync (Preferences -> Sync)
      • Select Sync aText data to (choose iCloud Drive)
      • Select Sync aText's preferences
  8. Clear
    • iCloud sync
  9. Sticky Notes
  10. Unclutter
    • Dropbox sync
  11. Skype
  12. Slack
  13. Telegram
  14. Atom
  15. Kindle for Mac
  16. Pocket
  17. anki
  18. Paw
  19. numi
  20. Keyboard Settings
    • Key Repeat -> Select Fast
    • Delay Until Repeat -> Select Short
  21. Increasing keyboard repeat rate
    defaults write -g InitialKeyRepeat -int 15  # normal minimum is 15 (225 ms)
    defaults write -g KeyRepeat -int 2          # normal minimum is 2 (30 ms)
  22. emacs
  23. cloc - Count Lines of Code
    • brew install cloc
  24. PowerPhotos – Merge Mac Photos libraries, find duplicates, and more
  25. Gemini 2: The Duplicate Finder
  26. other:
  27. Cyberduck - a cloud storage browser

productivity-tips-for-mac's People

Contributors

yaronwittenstein avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.