Skip to content

Instantly share code, notes, and snippets.

@ix4
ix4 / .block
Created April 7, 2020 00:38 — forked from monodera/.block
Time series of COVID-19 cases (see the texts below)
license: MIT
height: 1600
scrolling: no
border: no
@ix4
ix4 / README.md
Created April 7, 2020 00:21 — forked from susielu/README.md
K-Means Centroid Deviation

K-Means Centroid Deviation

Added all of the Farmers' Markets data into the kMeans Library by @emilbayes, thank you!

Exploring the idea of using the areas around the centroids to exaggerate that cluster when it deviates from the rest of the clusters. This originates from the question "Which features in each cluster differentiate it from the rest?"

@ix4
ix4 / .gitignore
Created April 7, 2020 00:20 — forked from susielu/.gitignore
d3.annotation: Points of Interest
.DS_Store
gistup
gistup
gistup
@ix4
ix4 / .gistup
Created March 18, 2020 04:40
New Description
gistup
@ix4
ix4 / vigenere-cipher.py
Created March 14, 2020 20:33 — forked from gowhari/vigenere-cipher.py
vigenere cipher
# encoding: utf8
# vigenere cipher
# https://stackoverflow.com/a/2490718/1675586
def encode(key, string):
encoded_chars = []
for i in range(len(string)):
key_c = key[i % len(key)]
encoded_c = chr(ord(string[i]) + ord(key_c) % 256)
encoded_chars.append(encoded_c)
@ix4
ix4 / .block
Last active March 8, 2020 12:13 — forked from mbostock/.block
Collapsible Indented Tree
license: gpl-3.0
#redirect: https://observablehq.com/@d3/indented-tree
@ix4
ix4 / RobrtsRules-OrderMotions.md
Created March 7, 2020 23:44
Robert's Rules of Order Motions Chart

Robert's Rules of Order Motions Chart

Part 1, Main Motions.

These motions are listed in order of precedence. A motion can be introduced if it is higher on the chart than the pending motion.

§ indicates the section from Robert's Rules.

§ PURPOSE: YOU SAY: INTERRUPT? 2ND? DEBATE? AMEND? VOTE?
§21 Close meeting I move to adjourn No Yes No No Majority
§20 Take break I move to recess for... No Yes No Yes Majority