All processes in ZSH/Bash under job control are in 3 states: foregrounded, backgrounded and suspended.
# run command in the foreground
command
# run commend in the background
# Preparation | |
# > xcode-select --install | |
# how to install | |
# > brew bundle | |
# tap brew | |
#tap "homebrew/cask-cask" | |
tap "homebrew/cask-versions" | |
tap "homebrew/cask-fonts" |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
brew install postgresql | |
sudo pip install psycopg2 |
cp ~/Library/Preferences/org.pqrs.Karabiner.plist ~/Dropbox/Apps/karabiner | |
cp ~/Library/Application\ Support/Karabiner/private.xml ~/Dropbox/Apps/karabiner | |
ln -sf ~/Dropbox/Apps/karabiner/org.pqrs.Karabiner.plist ~/Library/Preferences/org.pqrs.Karabiner.plist | |
ln -sf ~/Dropbox/Apps/karabiner/private.xml ~/Library/Application\ Support/Karabiner/private.xml |
wget https://dev.mysql.com/get/mysql-apt-config_0.8.10-1_all.deb | |
dpkg -i mysql-apt-config_0.8.10-1_all.deb # choose OK | |
apt update | |
apt install mysql-client |
CREATE TABLE IF NOT EXISTS `country` ( | |
`id` int(11) NOT NULL AUTO_INCREMENT, | |
`iso` char(2) NOT NULL, | |
`name` varchar(80) NOT NULL, | |
`nicename` varchar(80) NOT NULL, | |
`iso3` char(3) DEFAULT NULL, | |
`numcode` smallint(6) DEFAULT NULL, | |
`phonecode` int(5) NOT NULL, | |
PRIMARY KEY (`id`) | |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |