Skip to content

Instantly share code, notes, and snippets.

View jyutzler's full-sized avatar

Jeff Yutzler jyutzler

  • Image Matters LLC
  • Alexandria, VA
  • X @slarjy
View GitHub Profile
@jyutzler
jyutzler / gist:2c25abcd23c4b7dba239c216462881ef
Last active April 10, 2018 02:00
Favorite Albums by Year
1955 Frank Sinatra - In the Wee Small Hours
1956 Elvis Presley - s/t
1957 Buddy Holly - The "Chirping" Crickets
1958 Bo Diddley - s/t
1959 Chuck Berry - Chuck Berry Is On Top
1960 Muddy Waters - At Newport
1961 Robert Johnson - King of the Delta Blues Singers
1962 Ray Charles - Modern Sounds in Country and Western Music
1963 James Brown - Live at the Apollo
1964 Bob Dylan - Another Side of Bob Dylan
@jyutzler
jyutzler / gist:f1efd090cbc937684c2011a9d0cf9a0a
Created January 14, 2018 01:43
Migrate versions of GPKG-RTE
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,
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
@jyutzler
jyutzler / coords.js
Last active March 29, 2017 14:34
Parsing various lat/lon coordinate inputs in 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 ",
@jyutzler
jyutzler / 1-30-16.md
Last active January 31, 2016 03:05
UVA @ Louisville (first half only)
  • 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 / KQ92.md
Last active January 19, 2016 04:32
Possible solutions when you have Axxxx opposite JTxx
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 / geojson-extension.md
Last active November 26, 2015 22:42
A proposed extensions mechanism for GeoJSON

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 / 11-16-15.md
Last active November 19, 2015 03:41
Analysis of UVA @ GWU
  • 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 / 2-over-1-Systems.md
Last active September 10, 2018 01:02
2/1 systems are as varied as Chevies. Make sure you and your partner agree on which style you're playing.
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