Skip to content

Instantly share code, notes, and snippets.

View maellson's full-sized avatar
🏠
Trabalhando em casa

Maelson M. Lima maellson

🏠
Trabalhando em casa
  • Prefeitura Municipal de Campina Grande
  • Campina Grande
View GitHub Profile
<snippet>
<content><![CDATA[public function get${1/(.*)/\u$1/}()
{
return \$this->${1:$SELECTION};
}
public function set${1/(.*)/\u$1/}(\$$1)
{
return \$this->$1 = \$$1;
}
@maellson
maellson / geoserver.sh
Created February 24, 2018 01:53 — forked from iacovlev-pavel/geoserver-install.sh
Install GeoServer on Ubuntu 16.04
#
apt-get install openjdk-8-jre
# PostgreSQL and PostGIS
apt-get install postgresql postgresql-contrib postgis postgresql-9.5-postgis-2.2
# Create "geoserver" database
sudo -u postgres createuser -P geoserver
sudo -u postgres createdb -O geoserver geoserver
sudo -u postgres psql -c "CREATE EXTENSION postgis; CREATE EXTENSION postgis_topology;" geoserver
@maellson
maellson / git.md
Created April 24, 2017 11:46 — forked from leocomelli/git.md
Lista de comandos úteis do GIT

#GIT

Estados

  • Modificado (modified);
  • Preparado (staged/index)
  • Consolidado (comitted);

Ajuda