Skip to content

Instantly share code, notes, and snippets.

#include <stdio.h> /* fir fopen, fprintf an fread */
#include <stddef.h> /* fir sizt_t */
#include <stdint.h> /* fir uint8_t */
#include <stdlib.h> /* fir calloc */
#define PATH "binary-file.bin"
int
main(int argc, char *argv[]) {
FILE *f;
/* Libotr bindings for emacs
Copyright 2016 Free Software Foundation, Inc.
This file is part of GNU Emacs.
GNU Emacs is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
@sepi
sepi / flame.py
Created December 3, 2014 23:11
Generates a Sierpinski triangle
from PIL import Image
import math
from array import array
from collections import namedtuple
from functools import partial
import random
import operator
I = namedtuple('I', ['w', 'h', 'd'])