Skip to content

Instantly share code, notes, and snippets.

View jheidt's full-sized avatar
💭
:shipit: 👍

Jake jheidt

💭
:shipit: 👍
View GitHub Profile
@jheidt
jheidt / wkb.rb
Last active December 16, 2015 02:39
Messing around with a ruby Well-Known-Binary converter.
module WellKnownBinary
require 'bindata'
TYPE_ID = {
:point => 1,
:linestring => 2,
:polygon => 3,
:multipoint => 4,
:multilinestring => 5,
@jheidt
jheidt / formatsql.ps1
Created April 5, 2013 16:49
Updated version of Arvind Shyamsundar's 'pretty print sql' script. Accepts strings or files from the pipeline and writes to pipeline output.
<#
.SYNOPSIS
'Pretty print' a given T-SQL script
.DESCRIPTION
This script will format T-SQL scripts
.NOTES
Author : Arvind Shyamsundar (arvindsh@microsoft.com)