Skip to content

Instantly share code, notes, and snippets.

View robertseaton's full-sized avatar

robert seaton robertseaton

View GitHub Profile
@robertseaton
robertseaton / .zshrc
Created April 16, 2012 20:56 — forked from colegleason/.zshrc
davesdots meets robbseaton-current
# .zshrc mashup of davesdots and robbseaton
# "compile slow, run fast." - family motto
export CFLAGS="-O3 -funsafe-loop-optimizations -ffast-math -march=native -pipe"
export CXXFLAGS=${CFLAGS}
# export LDFLAGS=${CFLAGS}
# I think I speak for everyone when I say "fuck gcc"
alias cc="clang -Wall -Wextra -Werror"
@robertseaton
robertseaton / hashmap.c
Created September 13, 2011 18:27 — forked from colegleason/hashmap.c
Hashmap
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define MAX_KEY 50
#define MAX_HASH 10
struct node {
char key[MAX_KEY];
int value;