Skip to content

Instantly share code, notes, and snippets.

🐢
Turtles all the way

Marc Harter wavded

🐢
Turtles all the way
Block or report user

Report or block wavded

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View fipsToState.json
{
"01": "Alabama",
"02": "Alaska",
"04": "Arizona",
"05": "Arkansas",
"06": "California",
"08": "Colorado",
"09": "Connecticut",
"10": "Delaware",
"11": "District of Columbia",
@wavded
wavded / sample.json
Created Sep 7, 2011
Sample GeoJSON File
View sample.json
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View test.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View clientapp.704bae72.js
parcelRequire=function(e,r,n,t){var i="function"==typeof parcelRequire&&parcelRequire,o="function"==typeof require&&require;function u(n,t){if(!r[n]){if(!e[n]){var f="function"==typeof parcelRequire&&parcelRequire;if(!t&&f)return f(n,!0);if(i)return i(n,!0);if(o&&"string"==typeof n)return o(n);var c=new Error("Cannot find module '"+n+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[n][1][r]||r},p.cache={};var l=r[n]=new u.Module(n);e[n][0].call(l.exports,p,l,l.exports,this)}return r[n].exports;function p(e){return u(p.resolve(e))}}u.isParcelRequire=!0,u.Module=function(e){this.id=e,this.bundle=u,this.exports={}},u.modules=e,u.cache=r,u.parent=i,u.register=function(r,n){e[r]=[function(e,r){r.exports=n},{}]};for(var f=0;f<n.length;f++)u(n[f]);if(n.length){var c=u(n[n.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=c:"function"==typeof define&&define.amd?define(function(){return c}):t&&(this[t]=c)}return u}({"l6Kx":[function(require,module,exports) {
module.exp
@wavded
wavded / gist:3373385
Created Aug 16, 2012
/etc/locale.conf
View gist:3373385
LANG=en_US.UTF-8
LC_CTYPE=en_US.UTF-8
LC_NUMERIC=en_US.UTF-8
LC_TIME=en_US.UTF-8
LC_COLLATE=en_US.UTF-8
LC_MONETARY=en_US.UTF-8
LC_MESSAGES=en_US.UTF-8
LC_PAPER=en_US.UTF-8
LC_NAME=en_US.UTF-8
@wavded
wavded / go-ci-build.sh
Last active Nov 22, 2018
Go Jenkins CI Script - golang
View go-ci-build.sh
#!/bin/bash
# Go build script that runs cloc, cpd, lint, vet, test and coverage for Jenkins
#
# Outside tools include:
# gocov: go get github.com/axw/gocov
# gocov-xml: go get github.com/t-yuki/gocov-xml
# go2xunit: go get bitbucket.org/tebeka/go2xunit
# jscpd: npm i jscpd -g
# cloc: npm i cloc -g
View async-to-q.js
var fs = require('fs')
var Q = require('q')
var fs_stat = Q.denodeify(fs.stat)
var fs_readdir = Q.denodeify(fs.readdir)
var files = [
'./fixtures/file1',
'./fixtures/file2',
'./fixtures/file3',
'./fixtures/file4'
@wavded
wavded / promise.js
Last active Mar 5, 2018
Promise A+ Implementation
View promise.js
"use strict"
var Promise = function () {
this.state = 'pending'
this.thenables = []
}
Promise.prototype.resolve = function (value) {
if (this.state != 'pending') return
this.state = 'fulfilled'
View emap-sample-state.json
{"_state":{"bingKey":"AqlRkpGMghrGLhdnu26G1wuL7bUZUB3RErr4AmGzJq-0cYhzB37qSOpe0TwhBb1P","isInitialized":true,"tourActive":false,"geocode":{"address":"64701, Harrisonville, Missouri","lng":-94.33979907949315,"lat":38.64584951161476,"zoomLevel":10,"buffer":{"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[-94.26738463715677,38.64584951161476],[-94.26877606036102,38.63172215474074],[-94.27289685836034,38.618137704268676],[-94.27958867119861,38.60561820301196],[-94.28859433626126,38.594644768382864],[-94.29956777089033,38.585639103320226],[-94.31208727214705,38.57894729048196],[-94.32567172261912,38.574826492482636],[-94.33979907949315,38.57343506927838],[-94.35392643636717,38.574826492482636],[-94.36751088683924,38.57894729048196],[-94.38003038809596,38.585639103320226],[-94.39100382272504,38.594644768382864],[-94.40000948778768,38.60561820301196],[-94.40670130062595,38.618137704268676],[-94.41082209862527,38.63172215474074],[-94.41221352182953,38.64584951161476],[-94.41082209862527,38.659976868488
View .zshrc
# Path to your oh-my-zsh configuration.
export ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
export ZSH_THEME="lukerandall"
# Set to this to use case-sensitive completion
You can’t perform that action at this time.