Skip to content

Instantly share code, notes, and snippets.

View tmattio's full-sized avatar

Thibaut Mattio tmattio

View GitHub Profile
@tmattio
tmattio / main.c
Created January 8, 2025 15:47
Stardew Valley Animation Canceler - A macOS tool that automates keypresses to cancel animations in Stardew Valley, optimizing actions like mining and farming. Triggered by a key (default: Spacebar) and requires accessibility permissions.
#include <sys/sysctl.h>
#include <stdbool.h>
#include <time.h>
#include <string.h>
#include <libproc.h>
#include <pthread.h>
#include <Carbon/Carbon.h>
// Default configuration values
#define KEY_CODE 49 // Space key
@tmattio
tmattio / dune
Created January 29, 2025 17:29
Demo of a Space Invaders game in OCaml.
(executable
(public_name space-invaders)
(name space_invaders)
(libraries raylib))