I hereby claim:
- I am emilhernvall on github.
- I am aderyn (https://keybase.io/aderyn) on keybase.
- I have a public key whose fingerprint is 8684 23E6 23E7 9338 7711 E0E1 5537 3432 E97B 576A
To claim this, I am signing this object:
#include <stdio.h> | |
#include <stdlib.h> | |
int main(int argc, char** argv) | |
{ | |
if (argc != 2) { | |
printf("usage: genprimes num\n"); | |
return 0; | |
} |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <math.h> | |
#define DEBUG 1 | |
#define HASHTABLE_HASH_A 41 | |
#define HASHTABLE_COMPRESSION_A 77 | |
#define HASHTABLE_COMPRESSION_B 42 | |
#define HASHTABLE_BUCKET_INITIALSIZE 2 |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <sys/stat.h> | |
#include <sys/types.h> | |
#include <errno.h> | |
int mkdirp(const char *path, mode_t mode) | |
{ | |
char *pos, *base; | |
char **dirs; |
/** | |
* Emil Hernvall - 2007-12-15 | |
* Given a hand of n cards and k attempts, use recursion to shuffle the cards | |
* into a given order. | |
*/ | |
#include <stdio.h> | |
int compare(int* first, int* second, int size) | |
{ |
import urllib2 | |
import re | |
import base64 | |
def searchForNext(str, unique): | |
d = 10 | |
last = str[-d:] | |
print "searching for continuation of " + last | |
matches = [] | |
for x in unique: |
#!/usr/bin/python | |
import boto.route53 | |
import os | |
import sys | |
import urllib2 | |
import time | |
def get_zone_id(r53, zone_name): | |
zone_result = r53.get_hosted_zone_by_name(zone_name) | |
if not zone_result: |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <math.h> | |
struct GlobalFormat { | |
unsigned int id; | |
unsigned int size; | |
unsigned int type; | |
}; |
<?php | |
/** | |
* Calculate differences between two dates with precise semantics. Based on PHPs DateTime::diff() | |
* implementation by Derick Rethans. Ported to PHP by Emil H, 2011-05-02. No rights reserved. | |
* | |
* See here for original code: | |
* http://svn.php.net/viewvc/php/php-src/trunk/ext/date/lib/tm2unixtime.c?revision=302890&view=markup | |
* http://svn.php.net/viewvc/php/php-src/trunk/ext/date/lib/interval.c?revision=298973&view=markup | |
*/ |
import java.io.*; | |
import java.util.*; | |
public class wordcount | |
{ | |
public static class Word implements Comparable<Word> | |
{ | |
String word; | |
int count; |
I hereby claim:
To claim this, I am signing this object: