Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[Laptop Configuration: Summary] #new #laptop #configuration #macos
  • Settings
    • Dock (Automatically hide and show the Dock)
    • Keyboard (Key Repeat = Fast, Delay Until Repeat = Short)
    • Accessibility > Zoom (Use keyboard shortcuts to zoom)
    • Date & Time > Clock (Show date + Display the time with seconds)
    • Mission Control (disable "Automatically rearrange Spaces based on most recent use")
  • https://www.expressvpn.com/setup#mac
  • https://www.mozilla.org/en-GB/firefox/new/
  • https://brew.sh
    • brew install ag bash bash-completion git git-delta go gpg htop pass pass-otp zbar pwgen pyenv pyenv-virtualenv reattach-to-user-namespace tmux tree
  • GitHub Access
    • mkdir ~/.ssh
    • cd ~/.ssh && ssh-keygen -t rsa -b 4096 -C '<your@email.com>'
    • eval "$(ssh-agent -s)"
    • ssh-add -K ~/.ssh/github
    • pbcopy < ~/.ssh/github.pub
    • https://github.com/settings/keys
  • Password Store (https://www.passwordstore.org/)
    • gpg --import </path/to/private/key>
    • keyid=$(gpg --list-keys <your@email.com> | head -n 2 | tail -n 1 | cut -d ' ' -f 7)
    • pass init $keyid
    • pass git init
    • pass git remote add origin git@github.com:<private/repo>
    • pass git pull
    • gpg --edit-key $keyid (type trust)
  • Terminal
    • macOS terminal (with Pro theme, 100% Opacity, Menlo Regular 16 pt, slightly dulled black)
  • Shell
    • echo /usr/local/bin/bash | sudo tee -a /etc/shells
    • chsh -s /usr/local/bin/bash
    • curl -LSso ~/.bashrc https://raw.githubusercontent.com/Integralist/dotfiles/master/.bashrc
    • curl -LSso ~/.bash_profile https://raw.githubusercontent.com/Integralist/dotfiles/master/.bash_profile
    • curl -LSso ~/.git-prompt.sh https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh
    • curl -LSso ~/.ignore https://raw.githubusercontent.com/Integralist/dotfiles/master/.ignore
    • curl -LSso ~/.inputrc https://raw.githubusercontent.com/Integralist/dotfiles/master/.inputrc
    • curl -LSso ~/.tmux.conf https://raw.githubusercontent.com/Integralist/dotfiles/master/.tmux.conf
    • curl -LSso ~/tmux.sh https://raw.githubusercontent.com/Integralist/dotfiles/master/tmux.sh
  • Git
    • curl -LSso ~/.gitconfig https://raw.githubusercontent.com/Integralist/dotfiles/master/.gitconfig
  • Vim
    • pyenv install --list (check for latest version to use as 'global')
    • pyenv install <latest-version>
    • pyenv global <latest-version>
    • mkdir -p ~/Code/{fastly,python} && cd ~/Code
    • git clone https://github.com/vim/vim.git
    • cd vim
    • make clean distclean
    • ./configure --with-features=huge --enable-multibyte --enable-rubyinterp=yes --enable-python3interp=yes --with-python3-command=/Users/integralist/.pyenv/shims/python --enable-perlinterp=yes --enable-luainterp=yes --enable-gui=gtk2 --enable-cscope --prefix=/usr/local
    • make && make install
    • curl -sfLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
    • curl -LSso ~/.vimrc https://raw.githubusercontent.com/Integralist/dotfiles/master/.vimrc
    • :PlugInstall
  • Python
    • python3 -m pip install isort autopep8 unimport tox mypy flake8 flake8-import-order
    • pyenv virtualenv repl
    • pyenv activate repl
    • python3 -m pip install ipython
    • pyenv deactivate
  • Apps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.