I hereby claim:
- I am nathankwok on github.
- I am nathankwok (https://keybase.io/nathankwok) on keybase.
- I have a public key ASCP343mmOziwfhFU_n6dTCi2iRRoI2zGNXRSaIyPzPqxQo
To claim this, I am signing this object:
| echo "Creating an SSH key for you..." | |
| ssh-keygen -t rsa | |
| echo "Please add this public key to Github \n" | |
| echo "https://github.com/account/ssh \n" | |
| read -p "Press [Enter] key after this..." | |
| echo "Installing xcode-stuff" | |
| xcode-select --install |
| # Based on af-magic.zsh-theme | |
| # Repo: https://github.com/andyfleming/oh-my-zsh | |
| # Direct Link: https://github.com/andyfleming/oh-my-zsh/blob/master/themes/af-magic.zsh-theme | |
| if [ $UID -eq 0 ]; then NCOLOR="red"; else NCOLOR="green"; fi | |
| local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})" |
| *~ | |
| .DS_Store | |
| ## JetBrains IDE | |
| .idea/ | |
| *.jar | |
| *.zip | |
| *DS_Store |
I hereby claim:
To claim this, I am signing this object:
After automatically updating Postgres to 10.0 via Homebrew, the pg_ctl start command didn't work. The error was "The data directory was initialized by PostgreSQL version 9.6, which is not compatible with this version 10.0."
Database files have to be updated before starting the server, here are the steps that had to be followed:
need to have both 9.6.x and latest 10.0 installed, and keep 10.0 as default
brew unlink postgresql
brew install postgresql@9.6
brew unlink postgresql@9.6