VBoxManage modifyvm " OSX" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata " OSX" " VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" " iMac11,3"
VBoxManage setextradata " OSX" " VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" " 1.0"
VBoxManage setextradata " OSX" " VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" " Iloveapple"
VBoxManage setextradata " OSX" " VBoxInternal/Devices/smc/0/Config/DeviceKey" " ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata " OSX" " VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
1280×720 (HD)
1920×1080 (FHD)
2560×1440 (QHD)
2048×1080 (2K)
3840×2160 (4K)
5120×2880 (5K)
VBoxManage setextradata " OSX" VBoxInternal2/EfiGraphicsResolution 1920x1080
/usr/bin/ruby -e " $( curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install) "
brew update
brew install bash bash-completion mc htop wget nmap jq ncdu colordiff watch
brew cask install iterm2
brew cask install caskroom/cask/meld
Add Bash to the list of allowed shells
sudo bash -c ' echo /usr/local/bin/bash >> /etc/shells'
# Change to the new Bash
chsh -s /usr/local/bin/bash
# Enable .bashrc
echo ' if [ -f ~/.bashrc ]; then . ~/.bashrc; fi' >> ~ /.bash_profile
Set up NVM (Node Version Manager)
brew install nvm
mkdir -p ~ /.nvm
echo ' export PATH=/usr/local/bin/:$PATH' >> ~ /.bashrc
echo ' export NVM_DIR=$HOME/.nvm' >> ~ /.bashrc
echo " source $( brew --prefix nvm) /nvm.sh" >> ~ /.bashrc
nvm install stable
# nvm alias default v6.11.1
defaults write com.apple.dock autohide-delay -float 0
defaults write com.apple.dock expose-animation-duration -float 0.12
defaults write com.apple.finder QLEnableTextSelection -bool TRUE
defaults write com.apple.finder AppleShowAllFiles -bool YES
mkdir -p ~ /Pictures/Screenshots
defaults write com.apple.screencapture location ~ /Pictures/Screenshots
killall SystemUIServer
killall Dock
killall Finder
sudo defaults write /Library/Preferences/com.apple.loginwindow AdminHostInfo HostName