Skip to content

Instantly share code, notes, and snippets.

View Thomah's full-sized avatar

Thomas HINGANT Thomah

View GitHub Profile
@Thomah
Thomah / BooleanHero.html
Created November 5, 2024 17:37
Little game that combines boolean algebra and music
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Rhythm Game</title>
<style>
body {
margin: 0;
@Thomah
Thomah / load-test.sh
Created January 30, 2021 09:25 — forked from bigomega/load-test.sh
A simple bash script to do load (performance) testing of a web service
max="$1"
date
echo "url: $2
rate: $max calls / second"
START=$(date +%s);
get () {
curl -s -v "$1" 2>&1 | tr '\r\n' '\\n' | awk -v date="$(date +'%r')" '{print $0"\n-----", date}' >> /tmp/perf-test.log
}
/* Arduino Project - Color Sorting Machine
*
* by Dejan Nedelkovski, www.HowToMechatronics.com
*
*/
#include <Servo.h>
#define S0 2
#define S1 3
#define S2 4