Skip to content

6/dotfiles

Repository files navigation

On macOS:

  • First, install Xcode along with command line tools and run xcode-select --install
  • rake install to add symlinks to home directory, and rake uninstall to remove them.

On Linux:

  • Run ./install_linux.sh

Font

Install Meslo

iTerm2

Point preferences to dotfiles directory:

screen shot 2016-02-20 at 11 44 01 am

Then quit and reopen iTerm.

ZSH

Install oh-my-zsh

Install p10k

Install zsh-autosuggestions

NVM

Install nvm without brew: https://github.com/nvm-sh/nvm?tab=readme-ov-file#installing-and-updating

other software

Install brew. Then run:

brew install git postgresql@14 redis libyaml libffi cmake imagemagick graphviz ffmpeg yarn libxml2 ansible jq watchman cocoapods

brew tap facebook/fb
brew install idb-companion

mkdir -p ~/Library/LaunchAgents

# Note: replace `postgresql@14` with the version you installed:
ln -sfv /opt/homebrew/opt/postgresql@14/*.plist ~/Library/LaunchAgents
ln -sfv /opt/homebrew/opt/redis/*.plist ~/Library/LaunchAgents

echo $UID => 501

launchctl enable gui/501/homebrew.mxcl.postgresql
launchctl enable gui/501/homebrew.mxcl.redis.plist

brew services start postgresql@14
createuser -s postgres

clearing up disk space

yarn cache clean
xcrun simctl delete unavailable

OmniDiskSweeper: https://www.omnigroup.com/more/

Clear old iOS device support folders at open ~/Library/Developer/Xcode/iOS\ DeviceSupport

Other

Go to https://github.com/settings/tokens/new and create a repo scope access token. Then run:

bundle config --global github.com [GITHUB_USERNAME]:[ACCESS_TOKEN]

If allowing Remote Login, add these in target computer's /etc/ssh/sshd_config to allow only public key authentication:

PasswordAuthentication no
ChallengeResponseAuthentication no

and then modify target computer's ~/.ssh/authorized_keys to include the public key of the source computer.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published