This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Installing NodeJS | |
http://blog.izs.me/post/87525128203/how-to-install-node-js-and-npm-on-ubuntu-14-04 | |
sudo add-apt-repository ppa:chris-lea/node.js | |
sudo apt-get update | |
sudo apt-get install nodejs | |
Install Unzip | |
sudo apt-get install unzip | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install node 4.2.1 | |
Use HTML and main.js from electron getting started guide | |
Configure package.json to include: | |
"dependencies": { | |
"gdal": "naturalatlas/node-gdal#win-node-4.2.1" | |
} | |
Then install electron rebuild which recompiles native node modules. | |
npm install --save-dev electron-rebuild |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Code snipped to use recursive-readdir to provide a list of required file types. | |
var path = require('path'); | |
var recursive = require('recursive-readdir'); | |
function ignoreFunc(file, stats) { | |
// `file` is the absolute path to the file and we can use extname to look at the file extension | |
return stats.isFile() && path.extname(file) != ".zip"; | |
} | |
// Ignore files using the ignroeFunc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The following is a set of useful PostGIS queries and functions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
swagger: '2.0' | |
info: | |
version: 1.0.0 | |
title: Building Geospatial APIs | |
description: Getting started with OpenAPI Specification | |
schemes: | |
- http | |
- https | |
paths: | |
/message: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To copy a file from an image to the host | |
docker run the-image cat path/to/container/file.txt > path/to/host/file.txt | |
Amazon Linux | |
This image can be used to replicate EC2 and AWS Lambdas so anything that needs to be built from source can be done on this docker image. | |
OlderNewer