For reference: http://postgis.net/install
The most reliable way to get PostGIS on OSX is to download and install Postgres.app. Great for development and testing. Do not mix with other installations. Select the extension when prompted.
type NoConflict< | |
A extends Record<string | symbol, unknown>, | |
B extends string | number | symbol | |
> = { [K in keyof A]: K extends B ? never : A[K] }; | |
type PropsUnion<A> = { [K in keyof A]: A[K] }[keyof A]; | |
export function withMethods< | |
Origin extends Record<string | symbol, unknown>, | |
Methods extends Record<string | symbol, unknown> |
// | |
// debounce-throttle.swift | |
// | |
// Created by Simon Ljungberg on 19/12/16. | |
// License: MIT | |
// | |
import Foundation | |
extension TimeInterval { |
// Configure the Scene View | |
self.sceneView.backgroundColor = [UIColor darkGrayColor]; | |
// Create the scene | |
SCNScene *scene = [SCNScene scene]; | |
var OAuth = require('oauth') | |
// `npm install oauth` to satisfy | |
// website: https://github.com/ciaranj/node-oauth | |
var KEY = "<INSERT KEY HERE>" | |
var SECRET = "<INSERT SECRET HERE>" | |
var oauth = new OAuth.OAuth( | |
'http://api.thenounproject.com', | |
'http://api.thenounproject.com', |
For reference: http://postgis.net/install
The most reliable way to get PostGIS on OSX is to download and install Postgres.app. Great for development and testing. Do not mix with other installations. Select the extension when prompted.
function maybe(value) { | |
var obj = null; | |
function isEmpty() { return value === undefined || value === null } | |
function nonEmpty() { return !isEmpty() } | |
obj = { | |
map: function (f) { return isEmpty() ? obj : maybe(f(value)) }, | |
getOrElse: function (n) { return isEmpty() ? n : value }, | |
isEmpty: isEmpty, | |
nonEmpty: nonEmpty | |
} |