Skip to content

Instantly share code, notes, and snippets.

@schrodyn
schrodyn / VB-NANOCLAW-MEMORY-OBSI-WIKI-PUBLIC.md
Created April 27, 2026 09:46 — forked from VivianBalakrishnan/VB-NANOCLAW-MEMORY-OBSI-WIKI-PUBLIC.md
NanoClaw — Personal Claude Assistant (second brain for a diplomat)

NanoClaw — Personal Claude Assistant

A self-hosted, compounding-memory AI assistant running on a Raspberry Pi.


What Is This?

NanoClaw is a personal AI assistant built on Anthropic's Claude that runs entirely on a Raspberry Pi. It connects to messaging channels (WhatsApp, Telegram, Slack, Discord), processes voice and images, schedules recurring tasks, and — unlike a standard chatbot — accumulates knowledge over time through a structured memory system.


@schrodyn
schrodyn / zip_mod_filter.yara
Created April 21, 2026 20:03 — forked from usualsuspect/zip_mod_filter.yara
YARA rule for zips with file modification filter
rule zip_file_mod_filter
{
meta:
author = "@jaydinbas"
description = "Only match zips where every file has newer modification date than 2025-04-01"
strings:
$file_sig = "PK\x03\x04" //zip header sig
$entry_sig = "PK\x01\x02" //central directory header
@schrodyn
schrodyn / http_client_get.cc
Created January 8, 2026 09:16 — forked from AhnMo/http_client_get.cc
Wininet HTTP Client Example
#include <windows.h>
#include <wininet.h>
#include <stdio.h>
#pragma comment (lib, "Wininet.lib")
int main(int argc, char *argv[]) {
HINTERNET hSession = InternetOpen(
L"Mozilla/5.0", // User-Agent
@schrodyn
schrodyn / dotnet_resource_extract.py
Created October 29, 2025 16:24 — forked from knez/dotnet_resource_extract.py
Dump dotnet resources
import sys
import dnfile
"""
Dump all raw byte .NET resources
"""
def dump(res_name, res_data):
print(f"[+] Dumping resource '{res_name}'")
with open(res_name, 'wb') as f:
@schrodyn
schrodyn / enclave.c
Created August 9, 2025 18:48 — forked from whokilleddb/enclave.c
Run shellcode using LdrCallEnclave
#include <stdio.h>
#include <windows.h>
// Shellcode template from: https://gist.github.com/kkent030315/b508e56a5cb0e3577908484fa4978f12
// Compile using: x86_64-w64-mingw32-gcc -m64 enclave.c -o enclace.exe -lntdll
EXTERN_C NTSYSAPI
NTSTATUS
NTAPI LdrCallEnclave(
_In_ PENCLAVE_ROUTINE Routine,
@schrodyn
schrodyn / main.cc
Created August 9, 2025 18:48 — forked from whokilleddb/main.cc
Run code before main()
#include <stdio.h>
#ifdef _MSC_VER
#ifdef __cplusplus
#define CONSTRUCTOR_FUNC(func) \
struct func##_constructor { \
func##_constructor() { func(); } \
}; \
@schrodyn
schrodyn / bluesky-osa.md
Created July 27, 2025 16:58 — forked from mary-ext/bluesky-osa.md
Bluesky's UK age assurance sucks, here's how to work around it.

Bluesky's UK age assurance sucks, here's how to work around it.

Bluesky recently announced that they're complying with the UK's Online Safety Act, which requires users to provide personal identity verification confirming their age (through Epic Games' Kids Web Services) before accessing certain parts of the platform.

This sucks for privacy reasons, but thankfully there are ways to work around it.

Workaround methods

Method 0. VPN

@schrodyn
schrodyn / smb.conf
Created June 1, 2025 17:20 — forked from guenter/smb.conf
Configure Samba and Avahi on a Linux server to use as a Time Machine for macOS clients.
[global]
## General
server role = standalone server
workgroup = WORKGROUP
server smb encrypt = desired
## Logging
logging = file
log file = /var/log/samba/log.%m
log level = 2
@schrodyn
schrodyn / memdump.js
Created February 18, 2025 11:34 — forked from xinali/memdump.js
A Windbg script to trace memory functions , written in Javascript
/*
How to use :
.load jsprovider.dll
.scriptload memdump.js
bp MSVCR120D!free ".scriptrun memdump.js"
bp MSVCR120D!malloc ".scriptrun memdump.js"
*/
"use strict";
# Thomas Roccia - Docling demo
import json
from pathlib import Path
from docling.document_converter import DocumentConverter, PdfFormatOption
from docling.datamodel.pipeline_options import PdfPipelineOptions, TesseractOcrOptions
from docling.datamodel.base_models import InputFormat
from docling.document_converter import DocumentConverter, PdfFormatOption, WordFormatOption, SimplePipeline
pipeline_options = PdfPipelineOptions()
pipeline_options.do_ocr = True # Enable OCR