Skip to content

Latest commit

 

History

History
99 lines (83 loc) · 4.38 KB

README.md

File metadata and controls

99 lines (83 loc) · 4.38 KB

Tips Hacks Configuration

Ideal workflow

  • Responsive - fast feedback (keyboard shortcuts, helpful shell functions, window navigation, REPL)
  • Configurable - easy to adjust for current task
  • Efficient - minimal or mnemonic keystrokes, minimal mental overhead

Overview

These are the various tools I use for creating applications locally.

Environment

Tools for productivity

  • Goals & Reflection (Daily · Monthly · Yearly · 5 years · 10 years)
  • Calendar (time-specific only)
  • Timer (promodo)
  • GTD - Getting Things Done (centralized inbox)
    • Inbox zero (personal tasks)
  • Task list (context based)
  • Workspaces
  • Window management
  • Code Katas

Inspiration

Decommission Computer

Software audit:

  • Uninstall unwanted software (e.g. GarageBand, iMovie, Keynote, Numbers, Pages)
  • Install missing software (look at /Applications, panes in System Preferences , maybe ~/Applications, etc.)

Backup / sync files:

  • Commit and Push to remote repositories
  • Manual Backups (external drives, redundant cloud services)
  • Contacts, Photos, Calendar, Messages

Deactivate licenses:

  • Sign Out of App Store (Menu > Store > Sign Out)
  • iTunes, etc.

Restore Instructions

  1. xcode-select --install (Command Line Tools are required for Git and Homebrew)
  2. git clone https://github.com/ryan-fergerson/thc.git ~/code/thc. We'll start with https but switch to ssh after everything is installed.
  3. cd ~/code/thc
  4. Do one last Software Audit by editing Brewfile directly.
  5. ./install
  6. Restart computer.
  7. Setup cloud services (use multifactor authentication!) and allow files to sync before setting up dependent applications.
  8. Generate ssh key, add to GitHub, and switch remotes.
    # Generate SSH key in default location (~/.ssh/config)
    ssh-keygen -t rsa -b 4096 -C "[email protected]"
    
    # Start the ssh-agent
    eval "$(ssh-agent -s)"
    
    # Create config file with necessary settings
    << EOF > ~/.ssh/config
    Host *
      AddKeysToAgent yes
      UseKeychain yes
      IdentityFile ~/.ssh/id_rsa
    EOF
    
    # Add private key to ssh-agent 
    ssh-add -K ~/.ssh/id_rsa
    
    # Copy public key and add to github.com > Settings > SSH and GPG keys
    pbcopy < ~/.ssh/id_rsa.pub
    
    # Switch from HTTPS to SSH
    git remote set-url origin [email protected]:ryan-fergerson/thc.git

Manual Steps

MacOS settings

  1. System Preferences > Battery > Power Adapter > Prevent your Mac from automatically sleeping when the display is off
  2. System Preferences > Security & Privacy > General > Require password 1 hour after sleep or screen saver begins
  3. System Preferences > Touch ID > Add Fingerprint
  4. System Preferences > Keyboard > Modifier Keys... > Control -> Command, Command -> Control
  5. System Preferences > Sharing > Computer Name: