Skip to content

Instantly share code, notes, and snippets.

View ericzou's full-sized avatar

ericzou

View GitHub Profile
This file has been truncated, but you can view the full file.
{"type": "FeatureCollection", "features": [{"geometry": {"type": "Polygon", "coordinates": [[[-122.229086, 37.790772], [-122.229155, 37.79081], [-122.229304, 37.790896], [-122.229955, 37.791276], [-122.230173, 37.791403], [-122.230122, 37.791947], [-122.230123, 37.792031], [-122.230104, 37.792162], [-122.230095, 37.792198], [-122.230079, 37.792227], [-122.230114, 37.792626], [-122.230145, 37.792885], [-122.230158, 37.79305], [-122.230157, 37.79307], [-122.23015, 37.793237], [-122.230121, 37.793534], [-122.230108, 37.793628], [-122.230084, 37.793813], [-122.230175, 37.793813], [-122.23019, 37.793814], [-122.230286, 37.793824], [-122.230346, 37.793844], [-122.23042, 37.793885], [-122.230432, 37.793895], [-122.230504, 37.793953], [-122.230647, 37.793802], [-122.231077, 37.793349], [-122.231221, 37.793199], [-122.231292, 37.793242], [-122.230573, 37.794001], [-122.229889, 37.794752], [-122.229166, 37.795499], [-122.229094, 37.795456], [-122.228388, 37.796188], [-122.227732, 37.795808], [-122.227681, 37.795783], [
This file has been truncated, but you can view the full file.
{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"OBJECTID":52,"MAPNUMBER":"0161014","MAPBOOK":"MB 54 PG 27","NAME":"JOHN J KIRCHMIER JR","CREATED_DATE":null,"LAST_EDITED_DATE":null},"geometry":{"type":"Polygon","coordinates":[[[-76.40146721523377,36.821937361703775],[-76.40132425740194,36.82150461172877],[-76.40124898344145,36.821416556810895],[-76.40119466268844,36.82131753067403],[-76.4012049051772,36.82124296701333],[-76.40117761148373,36.821194639438716],[-76.4011380592359,36.82114609340928],[-76.40109833650622,36.82110352313074],[-76.40106269973423,36.821061025184],[-76.40104734370428,36.82102487143807],[-76.40102071233001,36.82095263689609],[-76.40101477923814,36.82093104479133],[-76.40099102893323,36.820895769897426],[-76.40096712807035,36.82085543904545],[-76.40095732338477,36.820798734740485],[-76.40097544231679,36.82071924951606],[-76.40103397106421,36.82065877837118],[-76.40110099025918,36.82062007302174],[-76.40114969189788,36.820586027314754],[-76.40119666824219,36.8205319
@ericzou
ericzou / multi-step-selections.html
Last active December 18, 2015 05:39
working version of the multi-step-selection
<head>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.1.5/angular.js"></script>
</head>
<body ng-app='tmpApp'>
<h1>Demo Multi Step Selection</h1>
<h2>Option 1</h2>
<div ng-controller="DemoCtrl">
<togo-multi-step-selections>
I want to work on
@ericzou
ericzou / demo.html
Last active December 18, 2015 02:19
Multi Step Selection Demo
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.1.5/angular.js"></script>
<script type="text/javascript">
var module = angular.module('togo.utils.multiStepSelects', []);
module.controller('TogoMultiStepsController', ['$scope', function ($scope) {
this.steps = [];

TL;DR

Fill out the spreadsheet to let the group know what you are planning to teach in this meeting, and put your name on the "I'm interested in learning this" column if you see something you want to learn.

Why use this spreadsheet

A big challenge for this group is to match people with the right skill sets. We will have 20-30 mins for you to talk to each other and figure out the right person to pair with. But keep in mind, with 30+ people, it can sometimes get a little overwhelming to try and find the right pair.

For this reason, I created a spreadsheet to pair up members before the meeting.

How it works:

command = ARGV.shift
args = ARGV
puts "arguments: #{command}, args: #{args}"
raise "Unknow command" unless ['co', 'pop'].include?(command)
file_path = '/tmp/.bstack'
module BStack
class PopCmd
attr_reader :file
@ericzou
ericzou / ripper_parse_event_table.rb
Created March 7, 2013 18:09
ripper parse event table
{
:BEGIN=>1,
:END=>1,
:alias=>2,
:alias_error=>1,
:aref=>2,
:aref_field=>2,
:arg_ambiguous=>0,
:arg_paren=>1,
:args_add=>2,
@ericzou
ericzou / ripper_scanner_events.rb
Created March 7, 2013 18:08
ripper scanner events table
{
:CHAR=>1,
:__end__=>1,
:backref=>1,
:backtick=>1,
:comma=>1,
:comment=>1,
:const=>1,
:cvar=>1,
:embdoc=>1,
@ericzou
ericzou / bootstrap_angular_js_manually.js
Created December 29, 2012 17:51
Manually bootstrap Angular JS
window.onload = function() {
var $rootElement = angular.element(window.document);
var modules = ['ng', 'myApp', function($provide) {
$provide.value('$rootElement', $rootElement);
}];
var $injector = angular.injector(modules);
var $compile = $injector.get('$compile');
var compositeLinkFn = $compile($rootElement);
@ericzou
ericzou / angular-js-bootstrap-0.1.0.js
Created November 12, 2012 01:02
angular-js-bootstrap-0.1.0
angular.module("ui.bootstrap", ["ui.bootstrap.accordion","ui.bootstrap.dropdownToggle","ui.bootstrap.modal","ui.bootstrap.tabs"]);
angular.module('ui.bootstrap.accordion', []);
angular.module('ui.bootstrap.accordion').controller('AccordionController', ['$scope', function ($scope) {
var groups = $scope.groups = [];
this.select = function(group) {
angular.forEach(groups, function (group) {
group.selected = false;