app_path="/Applications/Install OS X El Capitan.app"
bin_path="Contents/Resources/createinstallmedia"
sudo "$app_path/$bin_path" --volume /Volumes/MyVolume --applicationpath "$app_path"app_path="/Applications/Install macOS Mojave.app"
bin_path="Contents/Resources/createinstallmedia"
sudo "$app_path/$bin_path" --volume /Volumes/Install\ macOS\ High\ Sierra --nointeraction --downloadassetsPress during startup:
| Keystroke | Description |
|---|---|
Option |
Start up in Startup manager. |
C |
Start up from external media. |
Cmd-R |
Start from the OS X recovery system. |
Option-Cmd-P-R |
Reset NVRAM (and hold them until you hear startup sound a second time). |
D |
Start up in Apple hardware test. |
Reset SMC - System Management Controller: Left
Shift-Ctrl-Option-Power press and release at the same
time.
On Macs starting in 2018 there is T2 security chip and booting from external media has to be specifically enabled. Boot from recovery system and select Startup Security Utility from Utilities menu. Under External Boot, select the second option - Allow Booting from External Media.
I answered to not use iCloud after reboot but I had problems installing application from App store so I went to iTunes and signed to iCloud and authorized the computer. After that installations go smoothly.
Lock screen settings
Message: Contact:
Some applications seems weird to OS X and need some extras:
When the installation is done revert setting back to the default value: Mac App Store and identeified developers.
Option - Space (TODO: Not any
more?)Well, the quality of these hints lately are not up to the standard it used to be! First of all. If you install Xcode you will have the Developer option in the normal Spotlight preference window and you can disable it the normal way.
Secondly. As someone else wrote here. TextWrangler and BBEdit are perfectly capable of taking care of binary plists so there is no need for converting.
And for those who prefer to use terminal you can add the missing dictionary and disable the Developer category with one command. This is a hint! :-)
defaults write com.apple.spotlight orderedItems -array-add “
” enabled name SOURCE
Preferences:
Disable iPhone backup:
defaults write com.apple.iTunes DeviceBackupsDisable -bool YESInstall Command line tools.
xcode-select --installThis will pop up the GUI window
Configure SSH when needed.
vim "${HOME}/.ssh/config"Checkout dot files from repository.
mkdir -m 0750 .local
git clone 'ssh://server.git:/repo/name' ".local/etc"Make necessary symbolic links.
ln -s .local/etc .config
ln -s .local/etc/zsh/.zshenv .zshenv
ln -s .local/etc/tmux/tmux.conf .tmux.confClose and reopen terminal. Then remove fallout.
rm -r .zsh_history .zsh_sessions/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"Ensure we have something like this in profile
[ -x /opt/homebrew/bin/brew ] && eval "$(/opt/homebrew/bin/brew shellenv)"Close and reopen terminal again.
Import Solarized theme and mark it as default.
Login with your existing Apple ID. System settings - Apple account
Then turn off synchronization of all data to iCloud. System settings - iCloud - Saved to iCloud - See all
System settings - Touch ID & Password - Add fingerprint
Tune it
Composing - Automatically Bcc myself
Internet accounts - Add account - Add other account
Mail account
Then
Select the apps you want to use with this account
Done.
When started window pops up - Mail privacy protection
Protect mail activity - Yes
Internet accounts - Add account - Add other account
CalDAV account
Click Sign in and then enable
Internet accounts - Add account - Add other account
Click Sign in and then enable
CardDAV account
USB to Serial adapter
There is dot_clean buildin utility.
Enable terminal full access to file system
sudo dot_clean -n /Volumes/Corsair\ 16G
Failed trying to change dir to .Spotlight-V100
Bad Pathname: Operation not permitted
sudo ls -A .Spotlight-V100
ls: .Spotlight-V100: Operation not permittedGo to System preferences - Security & Privacy - Privacy, select Full disk access and add Terminal.app to exception list there.
Project homepage on GitHub.
Once it is configured in vimrc it is easy to install it
from command line:
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
vim +PluginInstall +qall
brew cask install osxfuse
brew install sshfs