Skip to content

Instantly share code, notes, and snippets.

@rlemon
rlemon / roomtalks.md
Last active August 29, 2015 14:22
Room Talks

Room Talks

Okay so let's try this out.

I'm curating a list of potential speakers to give short (5-30 minute) talks on Google Hangouts (later exported to youtube) for the benefit of the room.

Think about it, if you feel like you could teach anyone in the room about anything (React, JS, Math, how to change your own engine oil, literally anything) please comment with what you could potentially speak on. Once a list is made we can (at your own leisure of course) start to actually schedule the talks and make this happen.

100% of your own good will, 50% because we are awesome (someone needs to do a talk on percentages for me).

/*
* stepper pins
*/
int Pin0 = 2;
int Pin1 = 3;
int Pin2 = 4;
int Pin3 = 5;
int timeout = 1;
function countPieces() {
it = b.pieces();
var i = 0;
while (it.current()){ i++; it.next() }
return i;
}
function getRandPiece() {
var it = b.pieces();
@eatonphil
eatonphil / functions.c
Last active April 3, 2025 13:21
Introduction to "Fun" C (using GCC)
/**
* This are a collection of examples for C 201.
* These combine concepts you may or may not be
* familiar with and are especially useful for
* students new to C. There is a lot of really
* cool stuff you can do in C without any cool
* languages.
*
* This is file in particular is an introduction
* to fun function usage in C.
@ralt
ralt / gist:f4bd9e9133dee42e36a6
Last active April 16, 2018 19:30
The Contributors Army

tl;dr we're lazy, we're coders.

Let's make use of that.

  • We don't like to start off new projects and write all the booooring boilerplate
  • We like to fiddle with code and fix it
  • We like recognition
  • We're quickly bored

Hence, I present to you my idea:

// hi, this explains the current bot architecture. comment pl0x.
// this is the object which the bot sees (and all listeners/commands receive)
var message = {
text : 'message text sans any invocation stuff',
user : {
name : '',
id : '',
reputation : '',
isOwner : function () { /*...*/ }
; 1 2 3 4 5 6 7
;01234567890123456789012345678901234567890123456789012345678901234567890
;=======================================================================
;+---------------------------------------------------------------------+
;| |
;| Example using FPU registers for floating point calculations. |
;| |
;| The purpose of this source code is to demonstrate on how to |
;| do floating-point operations using FPU registers. |
;| |
@McFunkypants
McFunkypants / gist:87f07ac5e8affad34391
Last active April 29, 2025 11:57
Sid Meier's 10 Rules of Game Design
Sid Meier's 10 Rules of Game Design
1. Choose a topic you have a passion for. Game Design is about creativity.
2. Do research after the game is done. Tap into the player’s brain.
3. Define your axioms, refine your axioms. Prototype, prototype, prototype; sit in all the chairs.
4. Double it or cut it in half. You are more wrong than you think.
@ooflorent
ooflorent / README.md
Last active August 29, 2015 14:05
Awesome minify
@getify
getify / gist:80c8c68276dbda50bfc7
Created August 11, 2014 14:59
articulate the differences in these two snippets. which one is "easier"? which one is "simpler"?
function XYZ() {
X();
}
function X() {
// do X
Y();
}
function Y() {