Setup for your brand new MacBook!
- Xcode
- Installation script
#!/bin/bash # Install Homebrew # https://brew.sh/ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" # Install Atom # https://atom.io/ brew install --cask atom # Install Git # https://git-scm.com brew install git # Install Oh My Zsh # https://github.com/ohmyzsh/ohmyzsh/ sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" # Install WhatsApp # https://www.whatsapp.com/ brew install --cask whatsapp # Install GitKraken # https://www.gitkraken.com/ brew install --cask gitkraken # Install DB Browser for SQLite # https://sqlitebrowser.org/ brew install --cask db-browser-for-sqlite # Install Realm Studio # https://realm.io/products/realm-studio/ brew install --cask mongodb-realm-studio # Install Windscribe # https://windscribe.com/ brew install --cask windscribe # Install Zoom # https://www.zoom.us/ brew install --cask zoom # Install Discord # https://discord.com/ brew install --cask discord # Install Paintbrush # https://paintbrush.sourceforge.io/ brew install --cask paintbrush # Install Inkscape # https://inkscape.org/ brew install --cask inkscape # Install Grammarly Desktop # https://www.grammarly.com/desktop brew install --cask grammarly-desktop # Install Java? Check if it is correct. # brew install java # For Firebase Emulators # Configurations ZSHRC=~/.zshrc ## Configure Zsh HOMEBREW_CONFIG="export PATH=\"\$PATH:/opt/homebrew/bin/\"" echo $HOMEBREW_CONFIG >> $ZSHRC ## Configure Atom ## Atom Editor -> Atom -> Install Shell Commands ATOM_CONFIG="export EDITOR=\"atom -w\"" echo $ATOM_CONFIG >> $ZSHRC ## Configure Git git config --global core.editor "atom --wait" git config --global user.name "Oguz Yuksel" git config --global user.email oguz.yuuksel@gmail.com ## Configure Xcode ### Custom File Header IDE_FILE_TEMPLATE=~/Library/Developer/Xcode/UserData/IDETemplateMacros.plist if [ ! -f "$IDE_FILE_TEMPLATE" ]; then touch $IDE_FILE_TEMPLATE cat >$IDE_FILE_TEMPLATE <<EOL <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> </dict> </plist> EOL fi plutil -insert FILEHEADER -string " Project: ___PROJECTNAME___ // File: ___FILENAME___ // Copyright © ___YEAR___ Oguz Yuksel. All rights reserved. // // Created by Oguz Yuksel(oguz.yuuksel@gmail.com) on ___DATE___. //" $IDE_FILE_TEMPLATE source $ZSHRC
- Download Wallpaper, two finger click and tap on "Set Desktop Picture".
Wallpaper will not be seen on lock screen because SSD is encrypted and files isn't reachable until user logged in. to see your wallpaper on lock screen, you should disable this feature.
System Preferences -> Security & Privacy -> FileVault -> "Turn Off FileVault"
System Preferences -> Trackpad -> Point & Click -> Tracking Speed ->
System Preferences -> Trackpad -> Scroll & Zoom -> Scroll Direction: Natural -> Active
- UI Design
- Human Interface Guidelines - Design - Apple Developer
- iOS Resolution // Display proerties of every iPhone, iPad and iPod touch Apple ever made
- iOS Fonts
- The iOS Font Size Guidelines (Updated for iOS 15) – Learn UI Design
- Color wheel - color theory and calculator | Canva Colors
- Opposite Color Tool - ColorTools.net |
- Online Tools
- Learning
- Documentation
GitHub Setup SSH Configuration - Video
Creating a Personal Access Token to reach private libraries via SPM
-
Xcode -> Preferences -> Themes -> Classic (Dark)
-
Add MVVM file templates to the XCode.
Open terminal and try to reach below directories if any of them doesn't exist then create by using
mkdir
command.cd ~/Library/Developer/Xcode/ cd Templates cd File\ Templates
After creating File Templates directory copy MVVM directory into your File Templates MVVM Directory
-
ls
--- shows contents of current directory-a
--- shows contents of current directory included hidden files.<directoryname>
--- shows contents of /directoryname.<directoryname1>/<directoryname2>
--- shows contents of /directoryname1/directoryname2.
-
open .
--- opens current directory on finder<directoryname>
--- opens directoryname in current directory on finder<directoryname1>/<directoryname2>
--- opens /directoryname1/directoryname2 in current directory on finder.
-
clear
--- clears terminal. -
pwd
--- prints out working directory. -
cd
--- changes directory<directoryname>
--- goes into /directoryname directory..
--- goes one directory level above.
-
touch
--- creates file<filename>
--- creates file in the current directory<filename1> <filename2> <filename3>
--- creates files in the current directory<directoryname>/<filename>
--- creates file in the /directoryname directory
-
mkdir
--- creates directory<directoryname>
--- creates directory in the current directory<directoryname1> <directoryname2> <directoryname3>
--- creates directories in the current directory<directoryname1>/<directoryname2>
--- creates file in the /directoryname1 directory
-
rm
--- removes file<filename>
--- removes file-rf <directoryname>
--- removes directory
-
mv
--- renames file<oldfilename> <newfilename>
--- renames file
-
q
--- quits when you see(END)
esc
--- switch to normal mode.i
--- switch to insert mode for the previous character.shift+i
--- switch to insert mode for the beginning of line.a
--- switch to insert mode for the next character.shift+a
--- switch to insert mode for the end of line.o
--- switch to insert mode in the new line below.shift+o
--- switch to insert mode in the new line above.dd
--- delete all line in normal mode.3 + d + ←
--- delete the 3 character left from the selected character.dw
--- delete next word in normal mode.db
--- delete previous word in normal mode.diw
--- delete current word in normal mode.v
--- switch to select mode from normal mode.d
--- delete selected text in select mode.c
--- delete selected text in select mode and switch to insert mode.y
--- copy selected text in select mode.yy
--- copy full line text in normal mode.p
--- paste selected text in normal mode.r
--- replace character in normal mode.w
--- jump to the next word.b
--- jump to the previous word.%
--- jump between opening and closing brackets.t*
--- jump to the position before *.f*
--- jump to next first * symbol.shift+g
--- jump to last line.gg
--- jump to first line.2+shift+g
--- jump to 2. line.:q!
--- quit without saving.:wq
--- quit with saving text.:w
--- save text.:set number
--- activate line numbers.