Skip to content

Instantly share code, notes, and snippets.

#include <Adafruit_ThinkInk.h>
#include <WiFi.h>
const char* WIFI_SSID = "ssid";
const char* WIFI_PASS = "passw0rd";
ThinkInk_290_Grayscale4_T5 display(EPD_DC, EPD_RESET, EPD_CS, -1, -1);
static void shutdown()
{
__pycache__/
*.py[codz]
*$py.class
/.venv
/*.csv
/*.sh
/missing
/output
@yoursunny
yoursunny / MagTag_Christmas.ino
Created December 23, 2024 01:50
Christmas lights made from Adafruit MagTag https://youtu.be/mjqgy_R7W7M
// Hardware: Adafruit MagTag https://learn.adafruit.com/adafruit-magtag
// Compiler and Libraries:
// - Arduino IDE 2.3.4
// - ESP32 Arduino Core 3.0.7
// - Adafruit NeoPixel 1.12.3
// - Adafruit EPD 4.5.6
// Settings:
// - CPU Frequency: 40MHz
#include <Adafruit_NeoPixel.h>
@yoursunny
yoursunny / 1.xlsx
Last active April 16, 2024 20:53
NDN global testbed topology design 20240330
@yoursunny
yoursunny / .gitignore
Last active March 19, 2022 05:34
NDN Video Streaming on the ndn6 Network https://yoursunny.com/t/2021/NDN-video-ndn6/
*.mmdb
*.ndjson
.vscode
__pycache__
@yoursunny
yoursunny / .gitignore
Last active September 10, 2021 14:39
"freewifi" via ESP8266 Captive Portal https://yoursunny.com/t/2017/freewifi/
/.vscode
/data
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <limits.h>
#include <sys/stat.h>
#include <unistd.h>
FROM golang:1.16 AS build
WORKDIR /app
COPY . .
RUN env CGO_ENABLED=0 go build -o summer-host-storage main.go
FROM scratch
COPY --from=build /app/summer-host-storage /summer-host-storage
ENTRYPOINT ["/summer-host-storage"]
CMD ["-listen=:8000"]
*.mmdb
*.ndjson
.vscode
__pycache__
@yoursunny
yoursunny / .gitignore
Last active February 4, 2021 03:10
The Reality of NDN Video Streaming https://yoursunny.com/t/2021/NDN-video-reality/
*.mmdb
*.ndjson
.vscode
__pycache__