Skip to content

Instantly share code, notes, and snippets.

View aaronbuchanan's full-sized avatar

Aaron Buchanan aaronbuchanan

View GitHub Profile
@aaronbuchanan
aaronbuchanan / gist:5528754
Created May 6, 2013 22:27
clean git history visualizer
git log --graph --full-history --all --pretty=format:"%h%x09%d%x20%s"
#!/usr/bin/env ruby -w
# brew-services(1) - Easily start and stop formulas via launchctl
# ===============================================================
#
# ## SYNOPSIS
#
# [<sudo>] `brew services` `list`<br>
# [<sudo>] `brew services` `restart` <formula><br>
# [<sudo>] `brew services` `start` <formula> [<plist>]<br>
/*
* Takes provided URL passed as argument and make screenshots of this page with several viewport sizes.
* These viewport sizes are arbitrary, taken from iPhone & iPad specs, modify the array as needed
*
* Usage:
* $ casperjs screenshots.js http://example.com
*/
var casper = require("casper").create();
TheDevOpsFactory.com
===================
### Site Architecture & Request Flow
TheDevOpsFactory.com 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 Live.com login.
```sequence
Users->SPA: GET /
SPA-->Users: Render HTML Response
113542073_DwITk8Qx8Z76gZVo06bdXCwysqH2l0
@aaronbuchanan
aaronbuchanan / LICENSE.txt
Created February 23, 2017 00:17 — forked from jed/LICENSE.txt
generate random UUIDs
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Jed Schmidt <http://jed.is>
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.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@aaronbuchanan
aaronbuchanan / maxmind-geo-issue.md
Last active March 2, 2017 17:53
maxmind-geo-issue.md

Maxmind is returning this data:

{
  "location": {
    "accuracy_radius": 10,
    "latitude": 33.7866,
    "longitude": -118.2987,
    "metro_code": 803,
    "time_zone": "America/Los_Angeles"
 },

Contributing

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

Pastec.io 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 git@github.com:Visu4link/pastec.git && cd pastec

Get dependencies:

@aaronbuchanan
aaronbuchanan / geojson_us.js
Created June 30, 2017 07:48 — forked from adamawolf/geojson_us.js
GeoJSON Multipolygon for the United States
{
"type": "MultiPolygon",
"coordinates":
[
[
[
[ -123.123779, 48.227039 ], // contig. u.s.
[ -123.318787, 49.000042 ],
[ -121.742592, 49.000267 ],
[ -95.157394, 49.000493 ],