author | title | revision | version | description |
---|---|---|---|---|
tym-xqo |
BenchPrep SQL Style Guide |
2021-12-12 |
1.1.1 |
A guide to writing clean, clear, and consistent SQL. |
Code from google/open-location-code is not usable in my environment. So I made a simple wrapper.
- npm open-location-code is a bit outdated
- there is also janne/pluscodes is fairly awesome - has one dependency, doesn't do grid refinement to 11 digits
encode
and decode
are only methods in index. They ruturn false
instead of throwing error
yarn add gist:70446302e9c04d29713c96cb94c55e3f
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Simple tables in D3</title> | |
<meta charset="utf-8"> | |
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script> | |
<script src="https://cdn.jsdelivr.net/npm/d3-jetpack@2.0.15/build/d3-jetpack.min.js"></script> | |
<style type="text/css"> | |
body { font-family: 'Helvetica Neue', Helvetica; font-weight: 300; padding: 20px;} | |
th { text-align: left; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
last="2016-02-23" | |
first="2015-12-31" | |
i=1 | |
while [[ $last > $first ]]; do | |
this=$(date -I -d "$last - 3 days") | |
printf -v j "%02d" $i |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
#coding: utf-8 | |
import random | |
from AppKit import NSPasteboard, NSArray | |
def namer(): | |
adjectives = ("aliased", | |
"angelic", | |
"anonymous", |