Code Monkey home page Code Monkey logo

dotfiles's Introduction

ahmet’s macOS Setup

Download Xcode

For google, go/xcode. This will take a lot of time, so start with this.

OS Settings

TODO: find defaults write commands for these.

  • Invert Trackpad Scroll Direction to non-natural.

  • Show battery percentage on menu bar.

  • Show date on menu bar.

  • Keyboard → Text → Uncheck autocorrect and such settings.

  • Remove useless items from the Dock.

  • Move Dock to right, make it smaller.

  • Drag Downloads folder next to the Trash on the Dock.

    • Right Click → Sort by Date Added.
  • Show Path Bar on Finder.

  • Move $HOME folder to Finder sidebar.

  • Set shortcuts

    • Accessibility: Invert colors: Cmd+Shift+I
    • Screenshots:
      • Uncheck all
      • Save selected area to file: Cmd+Shift+4
      • Save selected area to clipboard: Cmd+Shift+2
  • Hot Corners:

    • Top-left: Put Display to Sleep
    • Clear other corners

Tweaks:

defaults write NSGlobalDomain AppleShowScrollBars -string "Always" # show scrollbar always
defaults write com.apple.finder AppleShowAllFiles true   # Show hidden files
defaults write com.apple.finder ShowStatusBar -bool true # Show Finder statusbar

# Default Finder location is the home folder
defaults write com.apple.finder NewWindowTarget -string "PfLo" && \
  defaults write com.apple.finder NewWindowTargetPath -string "file://${HOME}"

chflags nohidden ~/Library                               # Unhide ~/Library

# disable smart quotes and dashes
defaults write 'Apple Global Domain' NSAutomaticDashSubstitutionEnabled 0
defaults write 'Apple Global Domain' NSAutomaticQuoteSubstitutionEnabled 0
defaults write 'Apple Global Domain' NSAutomaticPeriodSubstitutionEnabled 0

Shell

Install oh-my-zsh: https://github.com/robbyrussell/oh-my-zsh

Package manager

  • Install Homebrew —to $HOME/.homebrew instead of /usr/local:

    git clone https://github.com/Homebrew/brew.git $HOME/.homebrew
    
  • Run which brew to confirm the one in home directory is picked up.

  • Run brew analytics off

Installing software manually

  • Download Dropbox
    • Sign in
    • Sync only 1Password
  • Download iPassword 6
    • Choose .opvault file from Dropbox
    • Go to Software Licenses → open the 1Password license file
    • Accept to use 1Password Mini when prompted

Installing software via Homebrew

All software installed on the system must be listed in .Brewfile. This is symlinked at ~/.Brewfile and used by brew bundle.

To install all the software, add it to .Brewfile and run:

brew bundle --global

Some stuff will take long, in that case, identify which packages and update .Brewfile to install them with args: ['force-bottle'] or do a one-off brew install --force-bottle [pkg] install.

Some things that require manual installation after Homebrew:

# if pip requires sudo, something is wrong, because the
# Homebrew bundle should install a $USER-writable over system-python.
    
pip install virtualenv
pip install virtualenvwrapper

Post-Installation Configuration

  • Rectangle

    • Security->Accessibility: Give access
    • Launch at Login
  • Clipy

    • Launch at Login
    • Hide from Menu Bar
    • Set history size to 200
    • Set paste key to Cmd+Shift+V
  • fzf completion scripts:

    "$HOMEBREW_PREFIX"/opt/fzf/install
    
  • minikube xhyve driver:

    # minikube uses xhyve, which requires privileged access to the hypervisor
    sudo chown root:wheel /usr/local/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve
    sudo chmod u+s /usr/local/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve
    

Settings Sync

  • Clone this repo and run install_symlinks.sh

    • Open a new terminal to take effect.
  • iTerm2->Preferences->Load Preferences From: com.googlecode.iterm2.plist directory.

    • Restart iTerm2.
  • VSCode:

    • Install "Settings Sync" extension and reload.
    • Run '> Sync: Download Settings'
    • Enter gist ID in vscode.sync file to prompt.
    • Once extensions are installed 'Reload' (or Restart)
    • Run '> Sync: Update/Upload Settings'
    • Create a token with 'gist' permissions and save it to the prompt
    • Wait for the Sync Summary.

Hardware

dotfiles's People

Contributors

ahmetb avatar

Stargazers

Josphat Mwania avatar eplord avatar Kadir Barcın avatar Alex avatar Sriharsha Karampudi avatar  avatar Mizbah avatar  avatar Cihat SALİK avatar Rosie avatar Ugur Evren avatar  avatar Ozan Topal avatar Fatih ATES avatar Gabriel Ayham Semaan avatar Mads Schou avatar Min avatar  avatar Grant Hammond avatar James Wylde avatar burak avatar Mark Nuttall-Smith avatar Husnu TAPAN avatar Enes Emre BULUT avatar  avatar  avatar Savva Surenkov avatar TEBOURBI Maher avatar Semih Berkay Öztürk avatar Dogukan Turan avatar Jim Newman avatar Şamil Bulur avatar  avatar Erkan Zileli avatar  avatar frankfanslc avatar  avatar Necatican Yıldırım avatar Alex Negulescu avatar Frederick Fernando avatar Jakob Wedemeyer avatar Anjul Sahu avatar enes uludag avatar  avatar Ilker Ispir avatar Hasan Hakkaev avatar Piotr Szczepanik avatar Xu-Yang Jia avatar  avatar karakaya avatar Robin Scherrer avatar Xinhao Luo avatar A.Samet İleri avatar Yagiz Degirmenci avatar Onat Çakır avatar Volkan Çakıl avatar Mustafa Türk avatar Gokhan Demir avatar Ismail Akı avatar Gwang Yoon Hwang avatar Burak Sakalli avatar tenhi avatar Austin Ray avatar Mehmet Akif DERE avatar Onur Dogan avatar Guille Vigil avatar Michael Corrado avatar Djam avatar Jimmy Briggs avatar Batıkan Duman avatar Eren Akbulut avatar Arty Stable avatar Batuhan Apaydın avatar Gerald avatar  avatar Phoomparin Mano avatar Utku Ufuk avatar E. Tolga Ayan avatar salah731 avatar Håvard Anda Estensen avatar Fatih Bozik avatar Ibrahim Ibis avatar Emre avatar Furkan ÇALIŞKAN avatar Umut Görken avatar Mehmet Ali Baykara avatar Aykut Asil avatar Asım Tahir avatar Fatih Baltaci avatar Kaan Karakaya avatar Berkan Sasmaz avatar Mohamed Naseer avatar Emmanuel avatar  avatar RODRIGO MONTEIRO MARZULLO avatar Lutz van Zijl avatar Andrey Prado avatar Tim avatar R. Mathieu Landvreugd avatar Michael avatar

Watchers

James Cloos avatar Austin Ray avatar A.Samet İleri avatar  avatar  avatar enes uludag 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.