Home

Homebrew Cheatsheet

Author: Chen Zhang Last update: 5/12/19 Installing Homebrew /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" Update brew: brew update Packages Install Packages Examples: brew install wget brew cask install iterm2 Install from Git: https://github.com/Homebrew/homebrew-core/tree/master...

Read more

Deploying PyWPS on Linux

Author: Chen Zhang Last update: 4/18/19 Clone the latest PyWPS repository: git clone https://github.com/geopython/pywps/ Install required packages: sudo apt-get install git python-gdal sudo pip install -e git+https://github.com/geopython/pywps.git@master#egg=pywps-dev Apache WSGI: sudo apt-get install libapache2-mod-wsgi sudo a2enmod ws...

Read more

Installing ESMF on Linux and MacOS

Author: Chen Zhang Last update: 4/18/19 Useful Links Download: https://www.earthsystemcog.org/projects/esmf/download_710r User Guide: http://www.earthsystemmodeling.org/esmf_releases/public/last/ESMF_usrdoc/ ESMPy (a Python interface to the Earth System Modeling Framework (ESMF) regridding utility): https://www.earthsystemcog.org/projects/e...

Read more

Cheatsheet of Git Commands

Author: Chen Zhang Last update: 5/12/19 Commit Remove last commit Withdraw the last commit: git rebase -i HEAD~2 Branch Switch between branches List all branches: git branch -a Switch to the target branch: git checkout <BRANCH> Create new branch Create a branch on local host and switch to it: git pull git checkout -b <N...

Read more

Installing QGIS on MacOS using Homebrew

Author: Chen Zhang Last update: 4/3/19 Installing Homebrew /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" Check the latest installation command at: https://brew.sh/ Installing QGIS Add the OSGeo tap: brew tap osgeo/osgeo4mac Install the latest version or the LTR version of QGIS: brew ...

Read more

Frequently Used Linux Commands

Author: Chen Zhang Last update: 4/3/19 Manage Users Add User Add a new user with username: adduser [USERNAME] Add the user to the sudo group: usermod -aG sudo [USERNAME] Verify: su - [USERNAME] sudo su Remove User userdel -r mynewuser Commands list List and sort by date: ll -halt List with file sizes in MB: ll --block-size=...

Read more

Setting Python environment for GEE

Author: Chen Zhang Last update: 2/20/18 Installing required packages OpenSSL On Ubuntu: sudo apt-get install openssl On Mac: brew install openssl Verify the installation: openssl version Setting GEE Python Environment Create a new conda environment: conda create --name py364_gee python=3.6.4 source activate py364_gee Install dep...

Read more