I hereby claim:
- I am nbrick on github.
- I am nbrick (https://keybase.io/nbrick) on keybase.
- I have a public key whose fingerprint is AC97 BE94 FE3E 6F7B F1A6 78B9 C67F 4ACA 97EE 7705
To claim this, I am signing this object:
-- Convert image to an intensity matrix, find its null vector (kernel), | |
-- scale such that components are simple integers and try 1=A, 2=B, etc.. | |
-- Output is ILIKETOTHINKOYSTERSTRANSCENDNATIONALBARRIERS. | |
-- This example solution has been tested with: | |
-- * GHC 7.10.3 | |
-- * JuicyPixels 3.2.7.1 | |
-- * HMatrix 0.17.0.2 | |
import System.IO( openFile, IOMode( ReadMode ) ) |
last' :: [a] -> a | |
last' [x] = x | |
last' (_:xs) = last xs | |
butLast :: [a] -> a | |
butLast [x,_] = x | |
butLast (_:xs) = butLast xs | |
elementAt :: Int -> [a] -> a | |
elementAt 0 xs = head xs |
#include <stdio.h> | |
#include <stdlib.h> // rand() | |
#include <string.h> // strlen() | |
const char* txt = "THESEMUSTBEUPPERCASELETTERS"; | |
const int colors = 256; | |
int num (char letter) { | |
return (int)letter - 64; |
I hereby claim:
To claim this, I am signing this object: