Skip to content

Instantly share code, notes, and snippets.

View danielquisbert's full-sized avatar
😁
available

DaNi danielquisbert

😁
available
View GitHub Profile
@danielquisbert
danielquisbert / download_ext6.2.0.md
Last active March 10, 2025 23:03
Download extJS gpl 6.2
@danielquisbert
danielquisbert / java_home.md
Last active February 20, 2017 20:24
configurando el JAVA_HOME en linux Debian 8

JAVA_HOME for Linux

JAVA_HOME para java openjdk en Linux debian 8

creado dentro de /etc/profile.d/java.sh

Contenido de ejemplo para OpenJDK7:

JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
PATH=$PATH:$JAVA_HOME/bin

export JAVA_HOME

@danielquisbert
danielquisbert / postgis_geojson.php
Last active January 26, 2017 14:08 — forked from bmcbride/postgis_geojson.php
PHP PostGIS to GeoJSON
<?php
/**
* PostGIS to GeoJSON
* Query a PostGIS table or view and return the results in GeoJSON format, suitable for use in OpenLayers, Leaflet, etc.
*
* @param string $geotable The PostGIS layer name *REQUIRED*
* @param string $geomfield The PostGIS geometry field *REQUIRED*
* @param string $srid The SRID of the returned GeoJSON *OPTIONAL (If omitted, EPSG: 4326 will be used)*
* @param string $fields Fields to be returned *OPTIONAL (If omitted, all fields will be returned)* NOTE- Uppercase field names should be wrapped in double quotes
* @param string $parameters SQL WHERE clause parameters *OPTIONAL*
@danielquisbert
danielquisbert / Sublime Text 3 Build 3103 License Key - CRACK
Created January 17, 2017 13:30
Sublime Text 3 Build 3103 License Key - CRACK
I use the first
—– BEGIN LICENSE —–
Michael Barnes
Single User License
EA7E-821385
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04
@danielquisbert
danielquisbert / gist:4178940
Created November 30, 2012 21:50 — forked from rolo/gist:1481128
Install Postgres 9.1, PostGIS and create PostGIS template on Ubuntu 11.10 Oneiric Ocelot
#!/bin/bash
#
# Install Postgres 9.1, PostGIS and create PostGIS template on a clean Ubuntu 11.10 Oneiric Ocelot box
# http://wildfish.com
# add the ubuntu gis ppa
sudo apt-get -y install python-software-properties
sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable
sudo apt-get update