Skip to content

Instantly share code, notes, and snippets.

View kolatat's full-sized avatar

Kolatat Thangkasemvathana kolatat

View GitHub Profile
# CloudFlare
COPY ./cloudflare src/certbot-dns-cloudflare
RUN pip install --no-cache-dir --editable src/certbot-dns-cloudflare
# AWS Route53
COPY ./route53 src/certbot-dns-route53
RUN pip install --no-cache-dir --editable src/certbot-dns-route53

Keybase proof

I hereby claim:

  • I am kolatat on github.
  • I am kolatat (https://keybase.io/kolatat) on keybase.
  • I have a public key ASAeS73-vJWxuMb20kri3tZ5RFL-an-nxJokR2t-HSxi0Qo

To claim this, I am signing this object:

@kolatat
kolatat / k_clostest.py
Created September 5, 2017 05:57 — forked from natebwangsut/k_clostest.py
Hello
import math
# distance formula
def distance(x, y):
sum = 0
# enumerate over all xs and ys together
for (xs, ys) in zip(x,y):
sum += ((xs-ys) ** 2)
return math.sqrt(sum)