Website:
http://prediction.io
Install Guide:
http://docs.prediction.io/installation/install-predictionio-on-linux.html
package main | |
import ( | |
"fmt" | |
"io" | |
"io/ioutil" | |
"log" | |
"code.google.com/p/go.crypto/ssh" | |
"code.google.com/p/go.crypto/ssh/terminal" |
#!/usr/bin/env python | |
"""Simple HTTP Server With Upload. | |
This module builds on BaseHTTPServer by implementing the standard GET | |
and HEAD requests in a fairly straightforward manner. | |
""" |
import sys | |
import HTMLParser | |
import re | |
htmlparser = HTMLParser.HTMLParser() | |
numwords = 2 | |
def main(filename): | |
with open(str(filename)) as infile: |
/* This needs the Skein functions from the NIST distribution. You can | |
* get the zip file from http://www.schneier.com/skein.html ("Source | |
* code and test vectors for Skein and Threefish (12 MB)"), and then | |
* you need to stick the contents of NIST/CD/Reference_Implementation | |
* in the same directory as this file. | |
* | |
* Compile with clang -std=c99 *.c -lcurl -lpthread -O3 -o xkcd-skein | |
*/ | |
#include <time.h> |
Website:
http://prediction.io
Install Guide:
http://docs.prediction.io/installation/install-predictionio-on-linux.html
// +build linux | |
package main | |
import ( | |
"log" | |
"time" | |
"syscall" | |
"errors" | |
"os" | |
"os/exec" |
This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.
The script is here:
#!/bin/bash
convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"