Skip to content

Instantly share code, notes, and snippets.

Nasty C tricks - shamelessly stolen from:
https://gist.github.com/aras-p/6224951
// Just before switching jobs:
// Add one of these.
// Preferably into the same commit where you do a large merge.
//
// This started as a tweet with a joke of "C++ pro-tip: #define private public",
@TheRengineer
TheRengineer / gist:ae3ab68691bbc490ff94
Last active August 29, 2015 14:11
Initial Trinket Randomizer software
/*
Hackaday Trinket Everyday Carry Contest Week 2 drawing!
Query the user for minimum and maximum values.
*/
#define ARRAY_LEN 25
int getAnInt();