Skip to content

Instantly share code, notes, and snippets.


Keybase proof

I hereby claim:

  • I am jasonkit on github.
  • I am jasonkit ( on keybase.
  • I have a public key whose fingerprint is C720 25CF 9AC6 93FF 1663 1193 B756 9941 5711 7D80

To claim this, I am signing this object:

jasonkit /
Created Nov 9, 2020
Create CSR and plain-text private key
openssl req -new \
-keyout ${CERT_NAME}.key -nodes \
-out ${CERT_NAME}.csr \
-subj "/CN=${CERT_NAME}"
jasonkit /
Created Jul 26, 2018
Relink all brew installed packages
jasonkit /
Last active Oct 12, 2021
Python script for visualizing inception feature at different stages
import os.path
import tensorflow as tf
from tensorflow.python.platform import gfile
import matplotlib.pyplot as plt
log_dir = "/tmp/inception_v3_log"
if not os.path.exists(log_dir):
jasonkit / tcp.go
Created Jun 28, 2015
simple go chatroom
View tcp.go
package main
import (
jasonkit / lena.js
Last active May 31, 2021
Using WebGL to do Gaussian Blur
View lena.js
var canvas_in = document.getElementById("canvas_in");
var canvas_out = document.getElementById("canvas_out");
var img = new Image();
img.onload = function() {
var w = this.width;
var h = this.height;
canvas_in.width = canvas_out.width = w;
canvas_in.height = canvas_out.height = h;
jasonkit / hello.c
Created Jun 30, 2012
Hello World for testing
View hello.c
#include "stdio.h"
int main()
printf("Hello World\n");
return 0;