Skip to content

Instantly share code, notes, and snippets.

Miles Jordan milesjordan

View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am milesjordan on github.
  • I am m_ (https://keybase.io/m_) on keybase.
  • I have a public key whose fingerprint is 90FB 4701 DFBC A7A2 CC83 74EE E4EA 4E17 CCC0 B5CA

To claim this, I am signing this object:

@milesjordan
milesjordan / Circular Average SQL
Last active Feb 20, 2019 — forked from hegge/avg_cyclic()
How to get the circular average of a dataset in different databases
View Circular Average SQL
These files show how to get the circular average (cyclic mean) of a dataset using SQL, for different databases.
For MySQL an example select statement is shown, and for Oracle and PostgreSQL the way to create a user aggregate function that computes the circular average is shown.
Props to Hegge for kicking this off: https://gist.github.com/hegge/476950
@milesjordan
milesjordan / vpc.yaml
Last active Mar 16, 2020
Cloudformation template for a VPC with ipv6, with public and private subnets, calculating the subnet ipv6 CIDR blocks on the fly.
View vpc.yaml
---
AWSTemplateFormatVersion: '2010-09-09'
Description: Public VPC and subnets
Resources:
#
# Public VPC
#
PublicVpc:
You can’t perform that action at this time.