How to use Qt Creator for software development on macOS without having to install Xcode
Qt refuses to install on macOS unless Apple's Xcode is installed beforehand. This is unfortunate because:
#!/bin/bash | |
# from https://chromium.woolyss.com/ | |
# and https://gist.github.com/addyosmani/5336747 | |
# and https://chromium.googlesource.com/chromium/src/+/lkgr/headless/README.md | |
sudo apt-get update | |
sudo apt-get install software-properties-common | |
sudo add-apt-repository ppa:canonical-chromium-builds/stage | |
sudo apt-get update | |
sudo apt-get install chromium-browser | |
chromium-browser --headless --no-sandbox http://example.org/ |
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 [email protected] | |
brew unlink [email protected] | |
brew link postgresql |
# Pre-requisites | |
brew install gnu-tar gnu-getopt gnu-time gawk wget grep | |
# Case sensitive-filesystem | |
hdiutil create -size 20g -type SPARSE -fs "Case-sensitive HFS+" -volname OpenWrt OpenWrt.sparseimage | |
hdiutil attach OpenWrt.sparseimage | |
cd /Volumes/OpenWrt | |
# OpenWrt/LEDE source | |
git clone https://github.com/openwrt/openwrt.git |
In this guide you can find how to resolve the following issues.
Feel free to ask any questions in the comments section below.