I hereby claim:
- I am hardbyte on github.
- I am hardbyte (https://keybase.io/hardbyte) on keybase.
- I have a public key whose fingerprint is E49A A499 5C2B 735C CB01 EA5E 22AD F3BF C183 47DE
To claim this, I am signing this object:
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<!-- Latest compiled and minified CSS --> | |
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> | |
<!-- Optional theme --> | |
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css"> |
I hereby claim:
To claim this, I am signing this object:
import sqlite3 | |
import numpy as np | |
logfile = "output.db" | |
conn = sqlite3.connect(logfile) | |
c = conn.cursor() | |
c.execute("SELECT COUNT() FROM messages") |
import phe as paillier | |
import numpy as np | |
import pickle | |
class SecretKey(): | |
def __init__(self,sk): | |
self.sk = sk | |
def decrypt(self,x): |
package com.lightbend.akka.sample; | |
import akka.actor.AbstractLoggingActor; | |
import akka.actor.Props; | |
import java.util.HashMap; | |
import java.util.Map; | |
class StatelessPrime { |
package com.lightbend.akka.sample; | |
import akka.actor.*; | |
public class StatefulPrime { | |
static class IsPrimeActor extends AbstractLoggingActor { | |
// Define the actor protocol | |
static class IsPrimeRequest { |
package com.lightbend.akka.sample; | |
import akka.actor.Props; | |
import akka.actor.UntypedAbstractActor; | |
class UntyptedSimplePrime { | |
static class IsPrimeActor extends UntypedAbstractActor { | |
// Define the messages |
Cross posted from blog.n1analytics.com
At N1 Analytics we use Kubernetes for running experiments, continuous integration testing and deployment. In this post I document setting up a Kubernetes cluster to automatically provision TLS certificates from Let's Encrypt using Jetstack's Certificate Manager, the helm package manager and the nginx-ingress controller.
I wrote this after migrating our cluster from traefik to use cert manager and nginx-ingress. The end state will be one where we can create Kubernetes ingress with a TLS certificate with only a set of annotations in the respective helm template.
I'm going to assume some background knowlege for this post, if you haven't heard of [Let's Encrypt](https://letsencrypt.org/abou