Homebrew installs nvm but nvm can’t be found afterwards?

Did you follow the instructions listed in the caveats? [~] brew info nvm nvm: stable 0.20.0, HEAD https://github.com/creationix/nvm Not installed From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/nvm.rb ==> Caveats Add the following to $HOME/.bashrc, $HOME/.zshrc, or your shell’s equivalent configuration file: source $(brew –prefix nvm)/nvm.sh Node installs will be lost upon upgrading nvm. Add the following above the source line … Read more

Setting environment variables via launchd.conf no longer works in OS X Yosemite/El Capitan/macOS Sierra/Mojave?

Create an environment.plist file in ~/Library/LaunchAgents/ with this content: <?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> <key>Label</key> <string>my.startup</string> <key>ProgramArguments</key> <array> <string>sh</string> <string>-c</string> <string> launchctl setenv PRODUCTS_PATH /Users/mortimer/Projects/my_products launchctl setenv ANDROID_NDK_HOME /Applications/android-ndk launchctl setenv PATH $PATH:/Applications/gradle/bin </string> </array> <key>RunAtLoad</key> <true/> </dict> </plist> You can add many launchctl commands inside the … Read more

`pg_tblspc` missing after installation of latest version of OS X (Yosemite or El Capitan)

Solved… in part. Apparently, Installing the latest versions of OS X (e.g. Yosemite or El Capitan) removes some directories in /usr/local/var/postgres. To fix this you simply recreate the missing directories: mkdir -p /usr/local/var/postgres/pg_commit_ts mkdir -p /usr/local/var/postgres/pg_dynshmem mkdir -p /usr/local/var/postgres/pg_logical/mappings mkdir -p /usr/local/var/postgres/pg_logical/snapshots mkdir -p /usr/local/var/postgres/pg_replslot mkdir -p /usr/local/var/postgres/pg_serial mkdir -p /usr/local/var/postgres/pg_snapshots mkdir -p /usr/local/var/postgres/pg_stat mkdir … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)