Skip to content

Instantly share code, notes, and snippets.

@illmat
illmat / binary_game.ino
Last active February 13, 2023 14:35
An Arduino-based game where you have to represent random decimal numbers in binary within a certain time by using switches. The original idea came from the user keebie81 (https://www.instructables.com/Binary-Game/). Differences to keebie81's version: code rewritten, no easy/hard mode button, timer + scores
#include <LiquidCrystal.h>
#include <Bounce2.h>
#define PIN_0 A0
#define PIN_1 A1
#define PIN_2 A2
#define PIN_3 A3
#define PIN_4 3
#define PIN_5 4
#define PIN_6 5
@illmat
illmat / iconMonster.js
Created November 7, 2013 14:37 — forked from lekevicius/iconMonster.coffee
Doesn't actually download anything, but saves all svgs from Iconmonstr by grabbing each inline svg from the preview box. If you like the Icons please consider to make a donation for the iconmostr wesbite - http://iconmonstr.com/
var casper = require('casper').create();
var fs = require('fs');
var pages = [];
casper.start('http://iconmonstr.com/page/2', function () {
var pageNumbers = this.evaluate(function () {
return $('a.page-numbers:nth-child(7)').html();
});