Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
# Compile/install GEOS. Taken from: | |
# http://grasswiki.osgeo.org/wiki/Compile_and_Install_Ubuntu#GEOS_2 | |
cd /tmp | |
wget http://download.osgeo.org/geos/geos-3.4.2.tar.bz2 | |
bunzip2 geos-3.4.2.tar.bz2 | |
tar xvf geos-3.4.2.tar | |
cd geos-3.4.2 |
FROM phusion/baseimage | |
RUN apt-get update && apt-get install -y \ | |
build-essential \ | |
git \ | |
bison \ | |
flex \ | |
zlib1g-dev \ | |
autoconf \ | |
libtool \ |
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm
$ uname -r
# import config. | |
# You can change the default config with `make cnf="config_special.env" build` | |
cnf ?= config.env | |
include $(cnf) | |
export $(shell sed 's/=.*//' $(cnf)) | |
# import deploy config | |
# You can change the default deploy config with `make cnf="deploy_special.env" release` | |
dpl ?= deploy.env | |
include $(dpl) |
docker logs nginx 2>&1 | grep "127." | |
# ref: http://stackoverflow.com/questions/34724980/finding-a-string-in-docker-logs-of-container |
From here, we can pretty much follow the exact same procedure.
On a terminal just do the following steps:
Install dependencies:
sudo apt install build-essential checkinstall libreadline-gplv2-dev \
I no personal preference/order
vim-elixir: Vim configuration files for Elixir
Janus: This is a distribution of plug-ins and mappings for Vim, Gvim and MacVim.
-- create point table using single-precision coordinates | |
CREATE TABLE pts ( | |
point_id serial, | |
x real, | |
y real | |
); | |
-- create a view that converts these into a PostGIS geometry | |
CREATE VIEW pts_view AS | |
SELECT point_id, ST_SetSRID(ST_MakePoint(x, y), 4326) AS geom FROM pts; |