Giter Site home page Giter Site logo

macbook-setup's Introduction

macbook-setup

MBP Initial Setup

Durante la configuracion inicial, conectarse al wifi de turno e ingresar el Apple ID cuando sea necesario.

Setear huellas para Touch ID (opcional si la MB cuenta con el dispositivo)

Omitir configuracion de Apple Pay

Luego de reinstalar macOS, comprobar que no haya actualizaciones pendientes del SO.

  • System Preferences - Software Update
  • System Preferences - General - Software Update (<- Ventura)

Configurar TimeMachine

Una vez que este configurado iCloud Drive,


Ansible Playbook

  1. Instalar HomeBrew (http://brew.sh)

  2. Instalar ansible

brew install ansible
  1. Crear una carpeta 'code' en el home y clonar este repositorio
cd && mkdir code && cd code
git clone [email protected]:juanedu/macbook-setup.git
  1. Dentro de la carpeta del repositorio, crear el archivo con la password para ansible-vault
vi .ansible_vault_password
chmod 0600 .ansible_vault_password
  1. Ejecutar los playbooks bootstrap y main

    ansible-galaxy install -r requirements.yml ansible-playbook bootstrap.yml --ask-become-pass ansible-playbook main.yml --ask-become-pass

Instalar iTerm2 (vía brew)

  • Closing - deshabilitar confirmaciones de Quit
  • Duplicar el profile default y hacerlo nuevo default
    • Windows - ajustar ancho y alto
    • Text - Underline cursor + Blinking

What I learned so far

  • Ansible basic usage, importing roles and creating custom ones, security best practices with ansible-vault.
  • Git commands, using hooks, resolve issues when merging.

What to learn next

  • How to test this project.
  • Improvements to maintenance with continuos integration and github actions
  • Custom settings the OS (defaults and dotfiles)
  • Custom settings installed apps

Configuración

TODO: Automatizar con defaults y dotfiles

Deshabilitar Photos sync hacia iCloud

  • System Preferences - Apple ID - iCloud - Photos

Finder:

  • Preferences - Sidebar - habilitar Home folder, ocultar Tags
  • View - Show status bar
  • Shift+Cmd+. - para mostrar/ocultar archivos ocultos
  • Mantener Option - muestra el path bar

Trackpad:

  • Tap to Click (ver defaults)
  • App exposé

Accessibility:

  • Pointer control - Tracked options - Enable dragging (opcional)

Security & Privacy:

  • Require password immediately…
  • Advanced… - Require an admin pwd…
  • Firewall - Turn On firewall

Dock & Menu bar:

  • Auto hide and show the Dock (ver defaults)

Keyboard:

  • Touch Bar shows function keys
    • Si no tiene Touch Bar: Use F1, F2, etc. as standard function keys
  • Ajustar Key repeat (fast) y Delay until repeat (short) (ver defaults)
  • Text - Deshabilitar “Correct spelling automatically” (ver defaults)
  • Cambiar double (") y single quotes (')

Display:

  • Night Shift - Sunset to Sunrise

Time Machine:

  • Show Time Machine in menu bar

Algunos defaults:

Disable automatic capitalization as it’s annoying when typing code

defaults write NSGlobalDomain NSAutomaticCapitalizationEnabled -bool false

Disable smart dashes as they’re annoying when typing code

defaults write NSGlobalDomain NSAutomaticDashSubstitutionEnabled -bool false

Disable automatic period substitution as it’s annoying when typing code

defaults write NSGlobalDomain NSAutomaticPeriodSubstitutionEnabled -bool false

Disable smart quotes as they’re annoying when typing code

defaults write NSGlobalDomain NSAutomaticQuoteSubstitutionEnabled -bool false

Disable auto-correct

defaults write txt NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool false

Trackpad: enable tap to click for this user and for the login screen

defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad Clicking -bool true defaults -currentHost write NSGlobalDomain com.apple.mouse.tapBehavior -int 1 defaults write NSGlobalDomain com.apple.mouse.tapBehavior -int 1

Set a blazingly fast keyboard repeat rate

defaults write NSGlobalDomain KeyRepeat -int 1 defaults write NSGlobalDomain InitialKeyRepeat -int 10

Finder: show all filename extensions

defaults write NSGlobalDomain AppleShowAllExtensions -bool true

Finder: show status bar

defaults write com.apple.finder ShowStatusBar -bool true

Automatically hide and show the Dock

defaults write com.apple.dock autohide -bool true

——---

Webs:

https://nartc.me/blog/macos-dev-setup
https://sourabhbajaj.com/mac-setup/
https://www.robinwieruch.de/mac-setup-web-development/

https://wilsonmar.github.io/dotfiles/ (dotfiles y defaults) https://github.com/mathiasbynens/dotfiles/blob/master/.macos (dotfiles y defaults)

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.