These are apps I commonly use on Windows.
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
INSERT INTO other_schema.new_table (id, name, definition) | |
SELECT old_id, old_name, old_definition | |
FROM original_schema.current_table | |
WHERE old_name IS NOT NULL; |
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
aws.amazon.com | |
bethsoft.com | |
couchdb.apache.org | |
data.gov.au | |
docs.aws.amazon.com | |
docs.docker.com | |
docs.mongodb.org | |
docs.wagtail.io | |
en.wikipedia.org | |
geck.bethsoft.com |
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
# Use this configuration with: | |
# cd /svr/flask | |
# ENV/bin/gunicorn -c gunicorn_conf.py manage:app | |
import multiprocessing | |
# http://docs.gunicorn.org/en/latest/configure.html#bind | |
# | |
bind = '127.0.0.1:8000' |
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
docker run --name "postgis" -d -t kartoza/postgis | |
docker run --name "geoserver" --link postgis:postgis -p 8080:8080 -d -t kartoza/geoserver |
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
CREATE TABLE GEOMETRY_COLUMNS( | |
F_TABLE_SCHEMA VARCHAR(30) NOT NULL, | |
F_TABLE_NAME VARCHAR(30) NOT NULL, | |
F_GEOMETRY_COLUMN VARCHAR(30) NOT NULL, | |
COORD_DIMENSION INTEGER, | |
SRID INTEGER NOT NULL, | |
TYPE VARCHAR(30) NOT NULL, | |
UNIQUE(F_TABLE_SCHEMA, F_TABLE_NAME, F_GEOMETRY_COLUMN), | |
CHECK( | |
TYPE IN ('POINT','LINE', 'POLYGON', 'COLLECTION', 'MULTIPOINT', 'MULTILINE', 'MULTIPOLYGON', 'GEOMETRY') |
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
from datetime import timedelta | |
import logging | |
logger = logging.getLogger(__name__) | |
def get_time_delta_from_text(text): | |
kwargs = dict() | |
for pair in text.split(','): | |
name, sep, value = pair.partition('=') |
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
" https://www.reddit.com/r/vim/comments/2om1ib/how_to_disable_sql_dynamic_completion/ | |
let g:omni_sql_no_default_maps = 1 |
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
#!/bin/sh | |
sudo apt-get install pulseaudio |