Skip to content

Instantly share code, notes, and snippets.

View iamdarknight's full-sized avatar
💭
I may be slow to respond.

darknight iamdarknight

💭
I may be slow to respond.
View GitHub Profile
@iamdarknight
iamdarknight / aws-postgis.txt
Created June 27, 2018 14:14 — forked from knoxjeffrey/aws-postgis.txt
Script to setup a Elastic Beanstalk AMI with geospatial libraries and postGIS
#!/bin/bash
#
# Script to setup a Elastic Beanstalk AMI with geospatial libraries and postGIS
#
# sh aws_ami_prep.sh > aws_ami_prep.log 2>&1 &
# See orig here: https://gist.github.com/whyvez/8d19096712ea44ba66b0
# Go to ec2-user home directory
cd /home/ec2-user
@iamdarknight
iamdarknight / install-postgis.sh
Created June 27, 2018 14:13 — forked from whyvez/install-postgis.sh
postGIS install on AWS linux AMI
#!/bin/bash
#
# Script to setup a Elastic Beanstalk AMI with geospatial libraries and postGIS
#
# sh aws_ami_prep.sh > aws_ami_prep.log 2>&1 &
# Go to ec2-user home directory
cd /home/ec2-user
# yum libraries
@iamdarknight
iamdarknight / crawler.sh
Created August 28, 2016 15:34 — forked from chenyanzhe/crawler.sh
Gather Geo-Tagged Tweets using Twitter Streaming API
#/bin/bash
# The KEY and SECRET below are invalidate
# Place your correct key here
# Consumer Key
key='x4Ew64IOWg5haePO78w82w'
# Consumer Secret
secret='zXsAy05cGpm1p2r4tJrpqPS7XOfQ5Z4Ga1uSMSCm0Q'
# Access Token