Skip to content

Instantly share code, notes, and snippets.

View jenca-adam's full-sized avatar

Adam Jenča jenca-adam

View GitHub Profile
@jenca-adam
jenca-adam / dvd.HC
Last active January 10, 2026 14:31
A simple example of HolyC - Raylib integration
class Color {
U8 r;
U8 g;
U8 b;
U8 a;
};
extern "c" U0 InitWindow(I32 width, I32 height, U8 *title);
extern "c" U8 WindowShouldClose();
extern "c" U0 BeginDrawing();
@jenca-adam
jenca-adam / vali_droplist.proto
Created November 10, 2025 18:38
protobuf protocol for parsing the vali drop pool
syntax = "proto3";
package vali.core;
import "google/protobuf/timestamp.proto";
import "google/protobuf/wrappers.proto";
message Location {
int64 node_id = 1;
double lat = 2;
double lng = 3;
GoogleData google = 4;
import random
import string
import io
import os
import sys
import mimetypes
import urllib.request
def force_string(anything):
if isinstance(anything,str):