Home

Installing Ruby and Jekyll on MacOS

Created on: 6/16/19 Last update: 6/16/19 Here is a short note of Jekyll installation based on the official documentation 1. Installing the Latest Ruby Ruby is preinstalled on MacOS and it is not recommended to upgrade or uninstall libraries coming with the system. Here is the solution to safely install and use the latest Ruby without touchin...

Read more

Jupyter Notebook Cheatsheet

Created on: 6/12/19 Last update: 6/12/19 Specifying Python Kernel for Jupyter Notebook Install nb_conda package in the conda environment 1: conda install nb_conda Then the “Change kernel” option will be added in the kernel menu of Jupyter Notebook. Use your conda environment in Jupyter Notebooks ↩

Read more

Git Global Configuration

Created on: 6/12/19 Last update: 6/12/19 User Edit the configuration file at ~/.gitconfig. Add the following content and replace [*] with user information: [user] email = [GITHUB_EMAIL] name = [GITHUB_USERNAME] Gitignore Edit the configuration file at ~/.gitconfig. Add the path of global gitignore file to excludesfile unde...

Read more

Installing Mapserver on Ubuntu

Created on: 8/30/17 Last update: 6/7/19 Installing from Package Install required packages: sudo apt-get install apache2 apache2-bin apache2-utils cgi-mapserver mapserver-bin mapserver-doc libmapscript-perl python-mapscript ruby-mapscript Check installation: mapserv -v Enable cgi and fastcgi: sudo a2enmod cgi fcgid Configure /etc/apac...

Read more

Installing ESMF on Ubuntu

Created on: 6/4/19 Last update: 6/4/19 Installing Dependencies Essential packages: sudo apt-get install openssh-client openssh-server OpenMPI Installing OpenMPI 1: sudo apt-get install openmpi-bin openmpi-common libopenmpi1.10 libopenmpi-dev GCC Install GNU C complier 2: sudo apt-get install build-essential Verify: whereis gcc ma...

Read more

Homebrew Cheatsheet

Created on: 5/12/19 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/maste...

Read more

Deploying PyWPS on Linux

Created on: 4/18/19 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 w...

Read more