Skip to content

Instantly share code, notes, and snippets.

View cluosh's full-sized avatar
🦄

Michael Pucher cluosh

🦄
View GitHub Profile
@cluosh
cluosh / cvm.c
Created April 21, 2022 19:33
OTW Advent Challenge 2019 - Cookie Recipe Program
#include <unistd.h>
#define OP_PUSH 0x00
#define OP_MIX 0x01 /* num_ingredients, type, amount, ... */
#define OP_COOL 0x02 /* dough, duration */
#define OP_SPLIT 0x03 /* cooled_dough, count */
#define OP_ROLL 0x04 /* cooled_dough */
#define OP_ENGRAVE 0x05 /* rolled_dough, form */
#define OP_CUT_OUT 0x06 /* rolled_dough, form */
#define OP_PLACE 0x07 /* baking_sheet, cut_out */
@cluosh
cluosh / keybase.md
Created September 27, 2015 21:22
Keybase verification

Keybase proof

I hereby claim:

  • I am cluosh on github.
  • I am cluosh (https://keybase.io/cluosh) on keybase.
  • I have a public key whose fingerprint is 5879 345F 3722 07E1 C677 48DA C786 4A40 1452 8611

To claim this, I am signing this object:

@cluosh
cluosh / 4grab.sh
Last active April 13, 2021 20:10
Cicada 3301 4chan checker
#!/bin/bash
# Create necessary files
hitfile=$1_hits
checkfile=$1_checkedImgs
echo -n "" > $hitfile
while :
do
# Grab a list of images from a 4chan board