Note: Coordinates are in (longitude latitude) format
CREATE EXTENSION postgis;| <?php | |
| /** | |
| *@author Ibrahim Samad | |
| *@date 6/6/2017 | |
| *@description A simple class that flatten a multi-dimensional array into a single array | |
| *while taking care of null values. | |
| */ | |
| class ArrayFlatter | |
| { |
| class Cart{ | |
| constructor(products) { | |
| if (!this.storageSupported()){ | |
| throw "Browser doesn't support localStorage" | |
| } | |
| this.products = products; | |
| //this.items = JSON.parse(localStorage.getItem('cart')) | |
| } |
A list of common tasks or commands used frequently in PostGreSQL
postgresql.conf file. In windows the path is C:\Program Files\PostgreSQL\{VERSION}\data
and change the value to your new port.services.msc and restart Postgres from there.[mysqld]
//Set basedir to your installation path