Skip to content

Instantly share code, notes, and snippets.

Avatar

Jeff Yutzler jyutzler

  • Image Matters LLC
  • Alexandria, VA
View GitHub Profile
@jyutzler
jyutzler / CAP Sample
Created Jun 14, 2014
Possible GeoJSON-LD files
View CAP Sample
{
"@context": {
"Feature": "http://example.com/vocab#Feature",
"Instant": "http://www.w3.org/2006/time#Instant",
"Interval": "http://www.w3.org/2006/time#Interval",
"Point": "http://example.com/vocab#Point",
"coordinates": "http://example.com/vocab#coordinates",
"geometry": "http://example.com/vocab#geometry",
"id": "http://example.com/vocab#id",
"datetime": {
@jyutzler
jyutzler / 2-over-1-Systems.md
Last active Sep 10, 2018
2/1 systems are as varied as Chevies. Make sure you and your partner agree on which style you're playing.
View 2-over-1-Systems.md
Question Lawrence Hardy Robinson Pavlicek F. Stewart
1-2;2 shows 6/strong 5 No Yes No Yes Yes
1-2;2NT shows stoppers Yes No Yes No No
1-2;3 shows extras Yes No Yes No No
1-2;2 shows extras Yes No Yes No No
1-2;3 shows extras Yes No Yes No Yes
1-1NT denies opening strength Yes No Yes No Yes
1-2 is 100% game forcing Yes Yes No No No
1-2;2X-3 is game forcing Yes Yes Yes No No
@jyutzler
jyutzler / 11-16-15.md
Last active Nov 19, 2015
Analysis of UVA @ GWU
View 11-16-15.md
  • 1-5 shot quality
  • p=paint (adds 1 to shot quality)
  • t=3PA (adds 1 to shot quality)
  • x = turnover
  • f=foul
  • f#=shooting foul
  • xf= offensive foul
  • 11, 10, etc free throws
  • 0- missed front end
  • b= blocked shot
@jyutzler
jyutzler / geojson-extension.md
Last active Nov 26, 2015
A proposed extensions mechanism for GeoJSON
View geojson-extension.md

Extensions Object

A GeoJSON object MAY contain a member named Extensions which is an extensions object. An extensions object SHALL contain a set of key/value pairs describing the extensions in use in that GeoJSON object.

Key

The key is a machine-readable string that names the extension. A key SHOULD have a prefix that names the community responsible for naming the extension. A GeoJSON object SHOULD contain an extensions object to declare which extensions are in use. If a client supports one or more GeoJSON extensions, it SHOULD inspect the extensions object.

Value

The value is a human-readable string describing the extension.

@jyutzler
jyutzler / KQ92.md
Last active Jan 19, 2016
Possible solutions when you have Axxxx opposite JTxx
View KQ92.md
LHO RHO Cash A Success? Lead J success? Notes
KQ92 void N N hopeless
KQ9 2 N N hopeless if LHO covers J
KQ2 9 N Y
K92 Q Y N hopeless if LHO ducks J
Q92 K Y N hopeless if LHO ducks J
KQ 92 Y Y
K9 Q2 Y ? declarer must cash A or lead 10
K2 Q9 Y ? declarer must cash A or lead 10
@jyutzler
jyutzler / 1-30-16.md
Last active Jan 31, 2016
UVA @ Louisville (first half only)
View 1-30-16.md
  • 1-5 shot quality
  • p=paint (adds 1 to shot quality)
  • t=3PA (adds 1 to shot quality)
  • x= turnover
  • u= unforced turnover
  • f=foul
  • xf= offensive foul
  • 11, 10, etc free throws
  • 0- missed front end
  • b= blocked shot
@jyutzler
jyutzler / coords.js
Last active Mar 29, 2017
Parsing various lat/lon coordinate inputs in JS
View coords.js
var tests = [
"40.6456",
"40.6456 .20",
"+40,-.20",
"+40.6456,-20",
" +40.6456 , -20. ",
"40.6456. 20.",
" 40:30:45.78 N , 11:30:45.78 s ",
" 40:30:45.78 N -111:30:45.78 ",
" 40:30:45.78 N 111:30:45.78 E ",
View gist:fad86f4eb09cf555c8dfe7cd52ce5b68
Jeff-Yutzlers-MacBook-Pro:~ JeffYutzler$ brew config
HOMEBREW_VERSION: 1.2.4-77-gc6f8887
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: c6f8887deb892f9ad34cb70a97aa195d40b040e0
Last commit: 5 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 7f4ae1f2e1967119b2de7459948a69b96ca41ff6
Core tap last commit: 3 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local/Homebrew
View gist:f1efd090cbc937684c2011a9d0cf9a0a
create table t1 as select * from gpkgext_relations;
drop table gpkgext_relations;
CREATE TABLE 'gpkgext_relations' (
id INTEGER PRIMARY KEY AUTOINCREMENT,
geospatial_table_name TEXT NOT NULL,
geospatial_primary_column TEXT NOT NULL DEFAULT 'id',
attributes_table_name TEXT NOT NULL,
attributes_primary_column TEXT NOT NULL DEFAULT 'id',
relation_name TEXT NOT NULL,
mapping_table_name TEXT NOT NULL UNIQUE,
You can’t perform that action at this time.