Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am kkallday on github.
  • I am kkallday (https://keybase.io/kkallday) on keybase.
  • I have a public key whose fingerprint is 2592 805C 4219 45A7 41B4 A5B2 95E4 8030 69EE 7FE7

To claim this, I am signing this object:

@kkallday
kkallday / Dockerfile-CS-8803
Last active August 22, 2017 20:22
Dockerfile for CS8803 Graduate Intro to Operating Systems
FROM ubuntu:16.04
RUN apt-get update && apt-get install -y \
build-essential \
bzip2 \
gcc-multilib \
git \
imagemagick \
libcurl4-openssl-dev \
libffi6 \
@kkallday
kkallday / Makefile-cmocka
Last active December 26, 2017 06:11
Makefile for use with cmocka
vpath %.c ../src
CC=gcc
INCLUDE_DIRS+=-I../include
INCLUDE_DIRS+=-I$(CMOCKA_DIR)/include
CFLAGS=$(INCLUDE_DIRS)
MOCKS=list_stories print_stories get_story print_story # list of function signature to mock
@kkallday
kkallday / Makefile-generic
Created December 26, 2017 06:14
Makefile-generic
CC=gcc
CFLAGS=-I$(IDIR)
ODIR=obj
LDIR=../lib
IDIR=../include
LIBS=-lm
_DEPS=$(shell find * -type f -name '*.h' -print)