Skip to content

Instantly share code, notes, and snippets.

View AlienKevin's full-sized avatar

Kevin Xiang Li AlienKevin

View GitHub Profile
@AlienKevin
AlienKevin / receiver.cpp
Created August 12, 2021 00:14
arduino-nano-33-ble-uart/receiver.cpp
#include <Arduino.h>
void setup()
{
Serial.begin(9600);
pinMode(LED_BUILTIN, OUTPUT); // set LED pin as output
digitalWrite(LED_BUILTIN, LOW); // switch off LED pin
Serial1.begin(9600); // initialize UART with baud rate of 96006
}
@AlienKevin
AlienKevin / transmitter.cpp
Created August 12, 2021 00:15
arduino-nano-33-ble-uart/transmitter.cpp
#include <Arduino.h>
void setup()
{
pinMode(LED_BUILTIN, OUTPUT); // set LED pin as output
digitalWrite(LED_BUILTIN, LOW); // switch off LED pin
Serial.begin(9600); // initialize serial communication at 9600 bits per second:
Serial1.begin(9600); // initialize UART with baud rate of 96007
}
@AlienKevin
AlienKevin / platformio.ini
Created August 12, 2021 00:39
arduino-nano-33-ble-uart/platformio.ini
[env:nano33ble]
platform = nordicnrf52
board = nano33ble
framework = arduino
@AlienKevin
AlienKevin / platformio2.ini
Created August 12, 2021 01:52
arduino-nano-33-ble-uart/platformio2.ini
[env]
platform = nordicnrf52
board = nano33ble
framework = arduino
src_filter = +<*>
[env:transmitter]
src_filter =
${env.src_filter}
-<receiver.cpp>
@AlienKevin
AlienKevin / platformio3.ini
Created August 12, 2021 02:17
arduino-nano-33-ble-uart/platformio3.ini
[env]
platform = nordicnrf52
board = nano33ble
framework = arduino
src_filter = +<*>
[env:transmitter]
src_filter =
${env.src_filter}
-<receiver.cpp>
@AlienKevin
AlienKevin / aime_68_successful.jsonl
Created January 30, 2026 01:25
Harbor AIME evaluation trajectories - Claude Haiku 4.5
{"type":"queue-operation","operation":"dequeue","timestamp":"2026-01-30T00:53:32.933Z","sessionId":"f17d54ab-32d8-42e0-b32d-9bcf7e76f009"}
{"parentUuid":null,"isSidechain":false,"userType":"external","cwd":"/app","sessionId":"f17d54ab-32d8-42e0-b32d-9bcf7e76f009","version":"2.1.25","gitBranch":"","type":"user","message":{"role":"user","content":" Solve the following problem. Reason step by step, create the file `/app/answer.txt`, and put your final answer there.\n Your answer should be a single integer from 1 to 999 inclusive.\n\n Alice and Bob play the following game. A stack of $n$ tokens lies before them. The players take turns with Alice going first. On each turn, the player removes either $1$ token or $4$ tokens from the stack. Whoever removes the last token wins. Find the number of positive integers $n$ less than or equal to $2024$ for which there exists a strategy for Bob that guarantees that Bob will win the game regardless of Alice's play.\n"},"uuid":"d49a39d1-1970-4b96-a3ad-80c436634dc6","times