I hereby claim:
- I am kkleidal on github.
- I am kkleidal (https://keybase.io/kkleidal) on keybase.
- I have a public key whose fingerprint is 5E4D 0F74 409A 819C A9F6 9DCE 22CA 77A0 6662 88BD
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import tensorflow as tf | |
import io | |
import matplotlib.pyplot as plt | |
import numpy as np | |
import scipy as scipy # Ensure PIL is also installed: pip install pillow | |
''' | |
matplotlib_summary code: | |
Code for generating a tensorflow image summary of a custom matplotlib plot. |
package main | |
import ( | |
"log" | |
"strings" | |
"time" | |
) | |
type threadPoolWorker struct { | |
free chan *threadPoolWorker |
import subprocess | |
import base64 | |
def keyscan(host): | |
p = subprocess.Popen(['/bin/sh', '-c', '(ssh-keyscan %s | grep ssh-rsa) 2>/dev/null' % host], stdout=subprocess.PIPE) | |
config = p.stdout.read().decode('ascii').split(' ') | |
p.wait() | |
if p.returncode != 0: | |
raise Exception("Could not scan %s for SSH key." % host) | |
config[2] = paramiko.RSAKey(data=base64.b64decode(config[2])) |
import gensim | |
from job import Job | |
import numpy as np | |
import matplotlib.pyplot as plt | |
from sklearn.decomposition import PCA | |
# Load Google's pre-trained Word2Vec model. | |
# model = gensim.models.Word2Vec.load_word2vec_format('./data/GoogleNews-vectors-negative300.bin', binary=True) | |
def pca_plot(points, training_points=None): |
/* jshint node: true */ | |
"use strict"; | |
var nodemailer = require('nodemailer'); | |
// create reusable transporter object using the default SMTP transport | |
var transporter = nodemailer.createTransport({ | |
host: "smtp.zoho.com", | |
// port: 587, | |
secure: true, |
#!/bin/sh | |
ln -s $(pwd)/pre-commit.bash .git/hooks/pre-commit |
private var xifDateFormatter: NSDateFormatter = { () -> NSDateFormatter in | |
let dateFormatter = NSDateFormatter() | |
dateFormatter.locale = NSLocale(localeIdentifier: "en_US_POSIX") | |
dateFormatter.dateFormat = "yyyy:MM:dd' 'HH:mm:ss" | |
dateFormatter.timeZone = NSTimeZone(abbreviation: "UTC") | |
return dateFormatter | |
}() | |
// ... | |
*.log | |
*.aux | |
*.out |
### Keybase proof | |
I hereby claim: | |
* I am kkleidal on github. | |
* I am kkleidal (https://keybase.io/kkleidal) on keybase. | |
* I have a public key ASCMLGKNvE2sMm4iKxH2xGNwsLTQInAiVe0ffuQPZwgwgwo | |
To claim this, I am signing this object: |