Skip to content

Instantly share code, notes, and snippets.


Aaron Buchanan aaronbuchanan

View GitHub Profile
aaronbuchanan / geojson_us.js
Created Jun 30, 2017 — forked from adamawolf/geojson_us.js
GeoJSON Multipolygon for the United States
View geojson_us.js
"type": "MultiPolygon",
[ -123.123779, 48.227039 ], // contig. u.s.
[ -123.318787, 49.000042 ],
[ -121.742592, 49.000267 ],
[ -95.157394, 49.000493 ],
View Better Git Commit Messages
7 git rules:
1. Separate subject from body with a blank line
2. Limit the subject line to 50 characters
3. Capitalize the subject line
4. Do not end the subject line with a period
5. Use the imperative mood in the subject line
6. Wrap the body at 72 characters


When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.

Please note we have a code of conduct, please follow it in all your interactions with the project.

Pull Request Process

  1. Ensure any install or build dependencies are removed before the end of the layer when doing a

Maxmind is returning this data:

  "location": {
    "accuracy_radius": 10,
    "latitude": 33.7866,
    "longitude": -118.2987,
    "metro_code": 803,
    "time_zone": "America/Los_Angeles"
View is an OSS feature recognition project that provides an http interface to train and search for matches.

Setup on a Mac

Get pastec:

$ git clone && cd pastec

Get dependencies:

aaronbuchanan / LICENSE.txt
Created Feb 23, 2017 — forked from jed/LICENSE.txt
generate random UUIDs
View LICENSE.txt
Version 2, December 2004
Copyright (C) 2011 Jed Schmidt <>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
View gist:aeef9b96a3413130d71f
### Site Architecture & Request Flow is composed of a statically compiled Single Page Application (SPA) front-end responding to / routes, and a .NET back-end that responds to /api and /login routes. The .NET application is a proxy to DVLUP apis which requires users to authenticate with MSA's login.
Users->SPA: GET /
SPA-->Users: Render HTML Response
aaronbuchanan / Gulpfile.js
Created Oct 19, 2015 — forked from ddprrt/Gulpfile.js
Gulp: Grabbing JavaScript assets from a CDN to add to your build pipeline
View Gulpfile.js
var gulp = require('gulp');
var source = require('vinyl-source-stream');
var request = require('request');
var merge = require('merge2');
var concat = require('gulp-concat');
var buffer = require('gulp-buffer');
* 1. We request the latest jQuery version from the jQuery CDN. The
* request package allows for streaming. What we get in return
aaronbuchanan / top 100 domain occurrences by email.sql
Created Sep 1, 2015
MYSQL statement to parse the domain of an email and show the most common domains
View top 100 domain occurrences by email.sql
select count(*) as occurrances, substring_index(email, "@", -1) as domain
from users
group by substring_index(email, "@", -1)
ORDER by occurrances DESC
limit 100;
You can’t perform that action at this time.