README is empty
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
# install cask | |
brew install cask | |
# docker kitchen sink | |
brew cask install dockertoolbox | |
#create default virtual box vm | |
docker-machine create --driver virtualbox default | |
#set default vm env |
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 ROLE pgyiadmin WITH LOGIN; | |
GRANT SELECT ON ALL TABLES IN SCHEMA psp, staging TO pgyiadmin; | |
GRANT USAGE ON SCHEMA psp, staging TO pgyiadmin; |
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
{ | |
"displayFieldName": "", | |
"geometryType": "esriGeometryPoint", | |
"spatialReference": { | |
"wkid": 26912, | |
"latestWkid": 26912 | |
}, | |
"fields": [ | |
{ | |
"name": "OBJECTID", |
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 strict'; | |
var _ = require('lodash'); | |
var aws = require('aws-sdk'); | |
var request = require('request'); | |
var sqsUrl: 'sqs://'; | |
var defaults = { | |
timeout: 300, // t | |
buffer: 15, // b |
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
#!/usr/bin/env bash | |
# install apple command line tools | |
xcode-select --install | |
# install homebrew | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# bins | |
brew install git |
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
var proj4 = require('proj4'); | |
proj4.defs('EPGS:26912', '+proj=utm +zone=12 +ellps=GRS80 +datum=NAD83 +units=m +no_defs'); | |
var project = proj4(proj4.defs['EPGS:26912'], proj4('EPSG:3857')); | |
var utmCoords = [471786.115, 6299551.094]; | |
var wmCoords = [-12407942.978922589, 7727266.87758064]; | |
var forward = document.createElement('div'); |
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/bash | |
# | |
# Takes a screenshot, puts the URL in your clipboard, | |
# Then syncronizes the screenshot to your configured host | |
LOCALDIR="$HOME/documents/screenshots/" | |
REMOTEHOST="mjz.me" | |
REMOTEDIR="/home/matt/public/mjz.me/public/s/" | |
TIMESTAMP=`date +%s` | |
WEBHOST="http://mjz.me/s/" |
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 strict'; | |
var aws = require('aws-sdk'); | |
var Q = require('q'); | |
var s3 = new aws.S3({ | |
region: process.env.AWS_REGION, | |
params: { | |
bucket: process.env.APP_DATA_BUCKET | |
} | |
}); |
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
{ | |
"Statement": [ | |
{ | |
"Action": [ | |
"elasticbeanstalk:CreateApplicationVersion", | |
"elasticbeanstalk:DescribeEnvironments", | |
"elasticbeanstalk:DeleteApplicationVersion", | |
"elasticbeanstalk:UpdateEnvironment" | |
], | |
"Effect": "Allow", |