Skip to content

Instantly share code, notes, and snippets.

Avatar

Aaron Buchanan aaronbuchanan

View GitHub Profile
@aaronbuchanan
aaronbuchanan / gist:5341619
Created Apr 8, 2013
UI/UX OmniGraffle Stencils
View gist:5341619
A bunch of stenciles for wireframing, data & user flow diagrams and more:
Empty Chrome Browser Window:
https://www.graffletopia.com/stencils/938
Twitter Bootstrap UI:
https://www.graffletopia.com/stencils/934
Google Web GUI:
https://www.graffletopia.com/stencils/10431
@aaronbuchanan
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",
"coordinates":
[
[
[
[ -123.123779, 48.227039 ], // contig. u.s.
[ -123.318787, 49.000042 ],
[ -121.742592, 49.000267 ],
[ -95.157394, 49.000493 ],
View pastec-local-dev.md

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:

View Better Git Commit Messages
https://news.ycombinator.com/item?id=13889155
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
View Good-CONTRIBUTING.md-template.md

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
View 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"
  },
@aaronbuchanan
aaronbuchanan / LICENSE.txt
Created Feb 23, 2017 — forked from jed/LICENSE.txt
generate random UUIDs
View LICENSE.txt
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
View gist:aeef9b96a3413130d71f
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
View screenshots.js
/*
* 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();
You can’t perform that action at this time.