This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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']) |