Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nozomiishii/dotfiles

๐Ÿง™๐Ÿฟโ€โ™‚๏ธ Doting Dotfiles
https://github.com/nozomiishii/dotfiles

dotfiles macos

Last synced: 25 days ago
JSON representation

๐Ÿง™๐Ÿฟโ€โ™‚๏ธ Doting Dotfiles

Awesome Lists containing this project

README

        

# dotfiles




Brow my mind


via GIPHY




Open in VSCode


twitter



## Gist

Busy? Just run command below;)

```shell
curl -L https://nozomiishii.dev/dotfiles/install | bash
```

with full version of Brewfile

```shell
curl -L https://nozomiishii.dev/dotfiles/install | bash -s -- --full
```

## Outline

- [๐Ÿ“ฆ New Macbook? Awesome!!](#new-macbook?)
- [Install](#install)
- [Install Manually](#install-manually)
- [App preferences](#app-preferences)
- [๐Ÿ‘จ๐Ÿปโ€๐Ÿณ Customize](#customize)
- [๐Ÿ‘จ๐Ÿปโ€๐Ÿญ Maintenance & Dev](#maintenance&dev)
- [๐Ÿ”ซ Troubleshooting](#troubleshooting)
- [๐Ÿ‘ผ Reinstall macOS](#reinstall-macos)
- [๐Ÿ™Œ References](#references)

## ๐Ÿ“ฆ New Macbook? Awesome

Turn On and Follow the guide

- Full Name: Nozomi Ishii
- Account name: nozomiishii

โš ๏ธ Skip the AppleID sign in until the home screen. it takes time. โš ๏ธ

### Open Apple ID with Spotlight

```txt
โŒ˜ + space Apple ID
```

Sign in your iCloud and App Store, when you get to the home screen.
(to get apps using mas command)

๐Ÿ’ก Can you not use your personal apple ID on your company computer?
Install xcode manually from the App Store.

### ๐ŸŽ Apple ID

- Edit your profile photo

- **โ˜๏ธ iCloud**

- Photos
- iCloud Drive
- Find My Mac
- Stocks

### ๐Ÿ App Store

```txt
โŒ˜ + space App Store
```

- Login

## Install

Wait about 3 hours(Go grab some food and take a nap ๐Ÿ•๐Ÿ˜ช)

### Open Terminal with Spotlight

```txt
โŒ˜ + space Terminal
```

```shell
curl -L https://nozomiishii.dev/dotfiles/install | bash
```

-L (--location): Enable redirection.

Install Manually

### Install xcode-select

```shell
xcode-select --install
```

xcode-select: this command-line Tools are required for Git and Homebrew

### Come to this page

```shell
open https://nozomiishii.dev/dotfiles
```

### Clone

```shell
cd ~ && git clone https://github.com/nozomiishii/dotfiles.git
```

### Install

```shell
sh -c "$(curl -fsLS get.chezmoi.io)" -- -b "$HOME/.local/bin" init --apply nozomiishii --verbose
```

### ๐Ÿ›‹ Restart

```shell
sudo reboot
```

## App preferences

### โ›“ Karabiner-Elements

- Login

### ๐Ÿ”‘ 1Password

- Preferences > Security > Unlock using >
Check "Touch ID"
- Preferences > General > Keyboard shortcuts >
Autofill: `โŒฅโ‡งX`
- Preferences > Developer > Check "Use the SSH agent"
- Preferences > Developer > Check "Integrate with 1Password CLI"
- [Turn on the 1Password desktop app integration](https://developer.1password.com/docs/cli/get-started/#step-2-turn-on-the-1password-desktop-app-integration)

### ๐ŸŒ Chrome

- Sign in
- Change Chrome to the Default Browser
- Log in 1PasswordX
- (Optional)

- [Gmail notification](https://support.google.com/mail/answer/1075549?hl=ja&co=GENIE.Platform%3DDesktop)
- [Show working hours on your calendar](https://support.google.com/a/users/answer/9308669)
- [Send email to Slack](https://slack.com/help/articles/206819278-Send-emails-to-Slack#:~:text=address%20to%20confirm.-,Use%20an%20email%20add%2Don,-Gmail)

- Extensions
- [1Password](https://chrome.google.com/webstore/detail/1password-%E2%80%93-password-mana/aeblfdkhhhdcdjpifhhbdiojplfjncoa)
- Shortcut
- Activate the extension: `โ‡งโŒ˜X`
- [Adblock for YouTube](https://chrome.google.com/webstore/detail/adblock-for-youtube/cmedhionkhpnakcndndgjdbohmhepckk)
- [Responsive Viewer](https://chromewebstore.google.com/detail/responsive-viewer/inmopeiepgfljkpkidclfgbgbmfcennb)
- [Fonts Ninja](https://chrome.google.com/webstore/detail/fonts-ninja/eljapbgkmlngdpckoiiibecpemleclhh)
- [DeepL](https://chrome.google.com/webstore/detail/deepl-translate-beta-vers/cofdbpoegempjloogbagkncekinflcnj)
- [Video Speed Controller](https://chrome.google.com/webstore/detail/video-speed-controller/nffaoalbilbmmfgbnbgppjihopabppdk)
- [Youtube Transcript Extractor](https://chrome.google.com/webstore/detail/youtube-transcript-extrac/lclpibfglbkghjkdmpjkgehcnadcffdl)
- [Gossip Site Blocker](https://chrome.google.com/webstore/detail/gossip-site-blocker/mjojhcmecfehllhcjcbhkkpohadogplk)
- [GoFullPage](https://chrome.google.com/webstore/detail/gofullpage-full-page-scre/fdpohaocaechififmbbbbbknoalclacl)
- [Amazing Searcher](https://chrome.google.com/webstore/detail/amazing-searcher/poheekmlppakdboaalpmhfpbmnefeokj)
- [GraphQL Network Inspector](https://chrome.google.com/webstore/detail/graphql-network-inspector/ndlbedplllcgconngcnfmkadhokfaaln)
- [Tweak New Twitter](https://chrome.google.com/webstore/detail/tweak-new-twitter/kpmjjdhbcfebfjgdnpjagcndoelnidfj)
- [I don't care about cookies](https://chrome.google.com/webstore/detail/i-dont-care-about-cookies/fihnjjcciajhdojfnbdddfaoknhalnja)
- [Youtube filter](https://chrome.google.com/webstore/detail/youtube%E3%83%95%E3%82%A3%E3%83%AB%E3%82%BF/dfbfdjepofdfhdddfdggabjjndhiggji)
- [Screenshot YouTube](https://chrome.google.com/webstore/detail/screenshot-youtube/gjoijpfmdhbjkkgnmahganhoinjjpohk)
- [Speechify Text to Speech Voice Reader](https://chrome.google.com/webstore/detail/speechify-text-to-speech/ljflmlehinmoeknoonhibbjpldiijjmm)
- Shortcut
- Activate the extension: `โŒƒQ`
- Play/Pause: `โŒƒSpace`

### โ˜๏ธ google-drive

- Sign in and Sync

### ๐Ÿ—‚ Finder

- Rearrange the order of the sidebar

```txt
Finder Sidebar
โ”ฃ ๐Ÿ“‚Favorites
โ”ƒ โ”ฃ ๐ŸŒGoogle Drive(My Drive)
โ”ƒ โ”ฃ ๐Ÿ $USER
โ”ƒ โ”ฃ ๐ŸŽApplications
โ”ƒ โ”— ๐Ÿ“–Desktop
โ”— ๐Ÿ“‚Locations
```

### ๐Ÿš Raycast

- needs: Finder setup

- Sign in
- Import Settings from "~/dotfiles/src/configs/\_raycast/backup"

### ๐ŸŸ VSCode

- User Icon > Setting sync > Login >
Select "Marge"
โš ๏ธ Do NOT Select "Replace"
- โ‡ง + โŒ˜ + P > Open command pallet >
Icons: Activate VSCode Icons
- Add MonokaiPro License

### ๐Ÿ˜ผ SSH & Git

- [Run gh auth login](https://cli.github.com/manual/)

### ๐Ÿฆ„ Clone repositories

```shell
make repo
```

### ๐Ÿคต๐Ÿปโ€โ™‚๏ธ Keyboard Maestro

- Register Keyboard Maestro... >
Activate the License
- Preferences... > Sync Marcos >
Select "~/dotfiles/apps/KeyboardMaestro"

### ๐Ÿงน Hazel

- License... >
Activate the License
- Folder > Rule Sync Settings... > Use existing sync file... >
Select "~/dotfiles/apps/Hazel"
- Preferences... > General >
Uncheck "Show Hazel in the menu bar"
- Preferences... > Trash >
Check "Delete files sitting in the Trash for more than 1 Day"

### ๐ŸŽจ ColorSnapper2

- Activate the license
- General
- Hotkeys:
Pick Color: โŒƒ + โŒฅ + C
- Clipboard Format >
Check "Choose from Colors & Formats after picking"
- Appearance
- Magnification >
15x
- Code Style
- Hex >
check "Uppercase"
- CSS Hex >
check "Uppercase"

### ๐Ÿ˜ TablePlus

- TablePlus >
Register license

### ๐Ÿ” Slack

- Sign in

### ๐Ÿ”ฎ DeepL

- Sign in
- Set hotkey to
โ‡ง + โŒ˜ + Space

### ๐Ÿซ BLEUnlock

- Device: Select your device
- Unlock RSSI: -60dBm
- Lock RSSI: -75dBm
- Check 'Pause "Now Playing" while Locked'
- Check 'Use Screensaver to Lock'
- Check 'Launch at Login'

### ๐Ÿ’ป System Preferences

- **๐ŸŒƒ Desktop & Screen Saver**

- **Desktop**
Select your favorite image
- **Screen Saver**
Select "Brooklyn" (might need go Preferences > Security & Privacy > General >
On the bottom side, select "Open Anyway")

- **๐ŸŒ Language & Region**

- Add Japanese

- **๐Ÿ›Ž Notifications & Focus**

- Notifications

- **Calendar, Notion, Slack**
Alert style: Alerts
Show in Notification Centre
Play sound for notification
- **Xcode**
Banners

- Focus
- Uncheck "Share Focus Status"

- **๐Ÿ‘ค Users & Groups**

- **Current User**
Edit Profile photo

- **โ˜๐Ÿป Touch ID**
- Registering your left pinky for Touch ID, so you can eat pizza without any hassle.
- **๐Ÿงš๐Ÿปโ€โ™€๏ธ Accessibility**

- **Spoken Content**
Select and Download "Siri Voice 1(United Kingdom)"
Adjust Speaking Rate

- **๐Ÿ‘ฎ๐Ÿป Security & Privacy**

- **FileVault**
Click the lock to make changes >
Turn on

- **โŒจ๏ธ Keyboard**

- Candidate window
- Font size: 14
- Uncheck: Full-width numeral characters

- **๐Ÿ–ฅ Displays**

- **Arrangement**
Change "iPad display on left"

### ๐Ÿ“… Calendar

- Add Accounts
- Add Calendar on Widgets

### ๐Ÿต Blender

- Sign in
- Edit > Preferences > Add-ons > search "ID" to find "System: Blender ID authentication" >
login!
- [Download Blender Cloud add-on](https://cloud.blender.org/r/downloads/blender_cloud-latest-addon.zip)
- Edit > Preferences > Add-ons > install >
install Add-on "blender_cloud-X.XX.addon.zip"
โš ๏ธ DO NOT UNZIP
- Edit > Preferences > Input > Keyboard >
Emulate Numpad

### ๐Ÿธ Android Studio

- Preferences > Editor > General > Font > Size >
Font Size: 14
- Plugins
Monokai Pro Theme

### ๐ŸŽ Xcode

- Add Account
- Preferences > Themes >
Monokai Pro
- Preferences > Navigation >
Command-click on Code: Jumps to definition

### ๐Ÿฆ‹ Affinity Designer

- [Download App](https://store.serif.com/en-gb/account/downloads/)
Activate the license

### ๐Ÿ“ž Cisco Packet Tracer

- [Download](https://www.netacad.com/portal/resources/packet-tracer)

### ๐Ÿ•ถ ngrok

- [Get Auth token](https://dashboard.ngrok.com/get-started/your-authtoken)

```shell
ngrok authtoken
```

```shell
ngrok http 3000
```

### ๐Ÿš™ duet

- [Download](https://www.duetdisplay.com/)

### โฑ Setup Time machine

- Menu bar > Time machine >
Backup

## ๐Ÿ‘จ๐Ÿปโ€๐Ÿณ Customize

### How to add app to Brewfile

Search the app

```shell
brew search
```

Check if it's an app you want to download.

```shell
brew info
```

### How to find the defaults command

```shell
defaults read > before
# change the config
defaults read > after
diff before after
```

### Search app plist

```shell
ll ~/Library/Preferences/ | grep
# example
ll ~/Library/Preferences/ | grep firefox
```

### NSGlobalDomain plist

```shell
open ~/Library/Preferences/.GlobalPreferences.plist
```

### Read app config

```shell
defaults read
# example
defaults read notion.id
```

### Symbolic link

```shell
ln -nfs
# example
ln -nfs "$HOME/Google Drive/Settings/dotfiles/zshrc" "$HOME/.zshrc"
```

## ๐Ÿ‘จ๐Ÿปโ€๐Ÿญ Maintenance & Dev

### Maintenance

Clean unused homebrew dependencies up, and upgrade them

```shell
brew bundle cleanup --verbose --file "$HOME/dotfiles/Brewfile.macos.rb" --force && brew cleanup && brew upgrade
```

### Dev

```shell
yarn install
```

To use @prettier/ruby

```shell
gem install bundler prettier_print syntax_tree syntax_tree-haml syntax_tree-rbs
```

## Check the performance of zsh

```shell
for x in {1..10}; do time zsh -i -c exit; done
```

## ๐Ÿ”ซ Troubleshooting

- **Audio-related**
NVRAM Reset
Shut down and Restart with
`โŒฅ + โŒ˜ + P + R`
๐Ÿ’ก NVRAM is a memory that saves its stored data regardless if the power is on or off

- **Third-party app related**
Safe mode
Shut down and wait 10 seconds
Restart with `โ‡ง`
๐Ÿ’กSafe Mode temporarily disables any third-party applications and starts your device with default system apps

## ๐Ÿ‘ผ Reinstall macOS

1: Unpair

- System Preferences > Bluetooth >
Unpair Bluetooth devices

2: Clean up

- Delete SSH keys on GitHub, GitLab

3: Sign out your iCloud.

- System Preferences > Apple ID > iCloud >
Turn off "Find My Mac"
- System Preferences > Apple ID > Overview >
Sign Out

4: Deactivate license

- **๐Ÿ˜ TablePlus**
TablePlus > Register license

- **๐ŸŽจ ColorSnapper2**
About ColorSnapper... >
Deactivate license

- **๐Ÿงน Hazel**
License... > Remove

5: Erase All Content

- Erase All Content - [Japanese](https://support.apple.com/ja-jp/HT201065) | [English](https://support.apple.com/en-gb/HT201065)
- From the Apple menu ๏ฃฟ in the corner of your screen, choose System Preferences
- From the System Preferences menu in the menu bar, choose Erase All Content and Settings

## ๐Ÿ™Œ References

### Tutorials

- [Dotfiles from Start to Finish-ish](https://www.udemy.com/course/dotfiles-from-start-to-finish-ish)
- [dotfiles + GitHub ใ‚’ไฝฟใฃใฆ้–‹็™บ็’ฐๅขƒใ‚’ใ‚ณใƒžใƒณใƒ‰๏ผ‘็™บใงๆง‹็ฏ‰ใ™ใ‚‹ๆ–นๆณ•](https://www.youtube.com/watch?v=QZr33TQnIRk&t=9s)

### Dotfiles

- [Patrick McDonald - EIEIO](https://github.com/eieioxyz/dotfiles_macos)
- [Mathias Bynens](https://github.com/mathiasbynens/dotfiles)
- [Your unofficial guide to dotfiles on GitHub.](https://dotfiles.github.io/inspiration)
- [JunichiSugiura/dotfiles](https://github.com/JunichiSugiura/dotfiles)

### CheatSheets

- [macOS defaults list](https://macos-defaults.com)
- [Homebrew | Basics Commands and Cheat sheet](https://dev.to/code2bits/homebrew---basics--cheatsheet-3a3n)

### Dotfiles managed with

- [Homebrew Bundle](https://github.com/Homebrew/homebrew-bundle)

## License

MIT License

ยฉ 2021 Nozomi Ishii