Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am kylelk on github.
  • I am kerseykyle (https://keybase.io/kerseykyle) on keybase.
  • I have a public key whose fingerprint is 88C2 AAE6 B60E DC1A F578 53A3 7277 BEC6 36F3 404F

To claim this, I am signing this object:

from hashlib import sha512
import Image
import numpy as np
def chunks(l, n):
return [l[i:i+n] for i in range(0, len(l), n)]
word_list = open("words.txt", "r").read().split()
for word in word_list:
data_string = "hello world"
hash = sha512(data_string).digest()
var links = [
{source: "0xroot", target: "0xroot", type: "licensing", icon: "http://pbs.twimg.com/profile_images/378800000649639863/7648d0ff5600263de2ec9af38f15dece_normal.jpeg"},
{source: "0xroot", target: "ggreenwald", type: "licensing", icon: "http://pbs.twimg.com/profile_images/378800000649639863/7648d0ff5600263de2ec9af38f15dece_normal.jpeg"},
{source: "0xroot", target: "matthew_d_green", type: "licensing", icon: "http://pbs.twimg.com/profile_images/378800000649639863/7648d0ff5600263de2ec9af38f15dece_normal.jpeg"},
{source: "8EJ3", target: "8EJ3", type: "licensing", icon: "http://pbs.twimg.com/profile_images/378800000784873356/4301660eb94dc0d8aca990de498f521c_normal.jpeg"},
{source: "8EJ3", target: "JavaScriptDaily", type: "licensing", icon: "http://pbs.twimg.com/profile_images/378800000784873356/4301660eb94dc0d8aca990de498f521c_normal.jpeg"},
{source: "8EJ3", target: "Motorola", type: "licensing", icon: "http://pbs.twimg.com/profile_images/378800000784873356/4301660eb94dc0d8aca990de498f521c_normal.jpeg"}
links = [
{source: "0xroot", target: "0xroot", type: "licensing", icon: "http://pbs.twimg.com/profile_images/378800000649639863/7648d0ff5600263de2ec9af38f15dece_normal.jpeg"},
{source: "0xroot", target: "ggreenwald", type: "licensing", icon: "http://pbs.twimg.com/profile_images/378800000649639863/7648d0ff5600263de2ec9af38f15dece_normal.jpeg"},
{source: "0xroot", target: "matthew_d_green", type: "licensing", icon: "http://pbs.twimg.com/profile_images/378800000649639863/7648d0ff5600263de2ec9af38f15dece_normal.jpeg"},
{source: "8EJ3", target: "8EJ3", type: "licensing", icon: "http://pbs.twimg.com/profile_images/378800000784873356/4301660eb94dc0d8aca990de498f521c_normal.jpeg"},
{source: "8EJ3", target: "JavaScriptDaily", type: "licensing", icon: "http://pbs.twimg.com/profile_images/378800000784873356/4301660eb94dc0d8aca990de498f521c_normal.jpeg"},
{source: "8EJ3", target: "Motorola", type: "licensing", icon: "http://pbs.twimg.com/profile_images/378800000784873356/4301660eb94dc0d8aca990de498f521c_normal.jpeg
links = [
{source: "0xroot", target: "0xroot", type: "licensing", icon: "http://pbs.twimg.com/profile_images/378800000649639863/7648d0ff5600263de2ec9af38f15dece_normal.jpeg"},
{source: "0xroot", target: "ggreenwald", type: "licensing", icon: "http://pbs.twimg.com/profile_images/378800000649639863/7648d0ff5600263de2ec9af38f15dece_normal.jpeg"},
{source: "0xroot", target: "matthew_d_green", type: "licensing", icon: "http://pbs.twimg.com/profile_images/378800000649639863/7648d0ff5600263de2ec9af38f15dece_normal.jpeg"},
{source: "8EJ3", target: "8EJ3", type: "licensing", icon: "http://pbs.twimg.com/profile_images/378800000784873356/4301660eb94dc0d8aca990de498f521c_normal.jpeg"},
{source: "8EJ3", target: "JavaScriptDaily", type: "licensing", icon: "http://pbs.twimg.com/profile_images/378800000784873356/4301660eb94dc0d8aca990de498f521c_normal.jpeg"},
{source: "8EJ3", target: "Motorola", type: "licensing", icon: "http://pbs.twimg.com/profile_images/378800000784873356/4301660eb94dc0d8aca990de498f521c_normal.jpeg
#include <stdio.h>
//
// Nearly minimal CUDA example.
// Compile with:
//
// nvcc -o example example.cu
//
#define N 1000
[
{
"upload_timestamp": 1366951885,
"views": 5730,
"url": "http://www.domain1.com/videos/video%20seven%20hundred%20and%20sixty.mp4",
"title": "video seven hundred and sixty",
"category_label": "Short Movies",
"icon_image_url": "http://i.imgur.com/zoyiDwZ.png",
"duration": "24:39",
"category_name": "Shortmov"
@kylelk
kylelk / get_module.sh
Created April 4, 2014 15:48
downloads python modules and builds them into the current directory
easy_install -q --editable --build-directory . $1
cd $1
python setup.py build
if [ -d "build/lib/$1" ]
then
cp -r build/lib/$1 ../$1_temp
else
cp -r build/lib/$1.py ../$1.py
fi
cd ..
@kylelk
kylelk / flower.svg
Created April 27, 2014 15:42
Fractal flower
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Keybase proof

I hereby claim:

  • I am kylelk on github.
  • I am kerseykyle (https://keybase.io/kerseykyle) on keybase.
  • I have a public key whose fingerprint is 97B7 31C4 7FC9 A9B3 3B8F 87AC 2AA6 1634 96D0 8DF1

To claim this, I am signing this object: