Skip to content

Instantly share code, notes, and snippets.

@VivianBalakrishnan
VivianBalakrishnan / VB-NANOCLAW-MEMORY-OBSI-WIKI-PUBLIC.md
Created April 24, 2026 09:34
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.


Examples

[@import stdlib.http.v1];

(x => y => (x_plus_y: x + y) => );

((A, x))
(f: () -> (A: *, x: A)) =>
  (A, x) = (f ());
@peterhurford
peterhurford / how_to_release_a_new_python_package.md
Last active April 21, 2025 12:53
How to release a new Python package

Nothing novel here, just want these instructions all in one place for my own use. Using poetry now.

1.) Ensure everything is pushed to master and is working

2.) Ensure CHANGES.md is up to date with latest

3.) Ensure version in setup.py is incremented

4.) Tag the repo - e.g., git tag 0.2 && git push origin 0.2

@ridvanaltun
ridvanaltun / decorators.py
Last active July 4, 2022 20:27
Django REST Framework Custom Decorators
from rest_framework import status
from rest_framework.response import Response
from rest_framework_simplejwt.authentication import JWTAuthentication
# parametre olarak verilen methodlara sadece admin user erişebilir demek
# db ile iletişim kuruluyor, admin kullanıcısı olduğu için db ile iletişimini önemsemedim
def only_admin(methods=[], err_message="Admin authorization required."):
def decorator(view_function):
def decorated_function(request, *args, **kwargs):
@kevherro
kevherro / from-monolith-to-microservices.md
Created April 26, 2020 22:37
Notes from Sam Newman's From Monolith to Microservices

CHAPTER 1: JUST ENOUGH MICROSERVICES

WHAT ARE MICROSERVICES?

  • Microservices are independently deployable services modeled around a business domain
  • Microservices are technology-agnostic
  • Microservices communicate with each other via networks - making them a form of distributed system. They also encapsulate data storage and retrieval, exposing data, via well-defined interfaces. So databases are hidden inside the service boundary
  • The GOAL of microservices is to have as small an interface as possible

Independent deployability

layout post
title xss cheat sheet

# xss-cheat-sheet

# Basics Xss

HTML Context - Simple Tag Injection

@Sharon-f
Sharon-f / speechrecognition.py
Created September 27, 2017 09:45
Python program to convert speech to text
import speech_recognition as sr
# obtain path to "Daily_English_Conversation_02_Do_you_speak_English.wav" in the same folder as this script
from os import path
AUDIO_FILE = path.join(path.dirname(path.realpath(__file__)), "Daily_English_Conversation_02_Do_you_speak_English.wav")
# use the audio file as the audio source
r = sr.Recognizer()
with sr.AudioFile(AUDIO_FILE) as source:namelist2.wav
print("Say something!")
@matthewjberger
matthewjberger / instructions.md
Last active August 22, 2026 16:01
Install a nerd font on ubuntu

1.) Download a Nerd Font

2.) Unzip and copy to ~/.fonts

3.) Run the command fc-cache -fv to manually rebuild the font cache

@tomysmile
tomysmile / mac-setup-redis.md
Last active June 3, 2026 12:22
Brew install Redis on Mac

type below:

brew update
brew install redis

To have launchd start redis now and restart at login:

brew services start redis