Skip to content

Instantly share code, notes, and snippets.

@phette23
Last active October 17, 2023 18:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phette23/735f2816b261cb7592be4bd36e24d987 to your computer and use it in GitHub Desktop.
Save phette23/735f2816b261cb7592be4bd36e24d987 to your computer and use it in GitHub Desktop.
setting up a new Macbook
  • xcode-select --install to make git work
  • download Google Drive or "Backup & Sync" or whatever they are calling it these days
  • download 1Password https://1password.com/
  • open 1P and sync the password VAULT
  • once XCode has finished, start doing command line things
    • git clone https://github.com/phette23/dotconfig.git
    • git clone https://github.com/phette23/bashrc.git
    • git clone https://github.com/phette23/fishrc.git
    • these all have bash ./copy.sh scripts to install them
  • run the set up scripts from dotconfig:
    • homebrew first (pretty much everything relies on it)
    • brew cask installs all the applications I use
    • programming languages (node, python, ruby)
    • finally the "osx.sh" settings script, which will alter settings for some of the apps installed above
  • now that we have iTerm2 we can sync its settings from Drive & have our usual shell setup
    • go to Preferences > General > Preferences > Load prefs from a custom folder or URL
  • we'll want to copy any SSH settings we have in Drive too mkdir ~/.ssh; cp ssh-config.txt ~/.ssh/config
  • create a new SSH key for the laptop, then add that to all the needed servers with ssh-copy-id and add to GitHub
  • copy needed scripts/binaries into ~/bin e.g. uptaxo, equellasoap.py & utils.py from openEQUELLA's SOAP python utilities
  • copy tampermonkey scripts into the Chrome extension's dashboard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment