Skip to content

Instantly share code, notes, and snippets.

@eshrh
eshrh / vns-on-linux.md
Last active March 30, 2026 21:20
Personal guide to visual novels on linux

Concise visual novel setup on linux

also see this guide which has better compatibility. This guide is forked from it. written by kamui-7

This guide is very close to exactly how I run vn's on my setup. I can't guarantee it'll work for everyone (in fact, i can probably guarantee it's broken for someone/some game)

Packages i use

sudo pacman -S wine-staging giflib lib32-giflib libpng lib32-libpng libldap lib32-libldap gnutls lib32-gnutls mpg123 lib32-mpg123 openal lib32-openal v4l-utils lib32-v4l-utils libpulse lib32-libpulse libgpg-error lib32-libgpg-error alsa-plugins lib32-alsa-plugins alsa-lib lib32-alsa-lib libjpeg-turbo lib32-libjpeg-turbo sqlite lib32-sqlite libxcomposite lib32-libxcomposite libxinerama lib32-libgcrypt libgcrypt lib32-libxinerama ncurses lib32-ncurses libxslt lib32-libxslt libva lib32-libva gtk3 lib32-gtk3 gst-plugins-base-libs lib32-gst-plugins-base-libs lib32-gst-plugins-goo
@Stella-S-Yan
Stella-S-Yan / jax_rq_vae.ipynb
Last active March 30, 2026 21:20
JAX Implementation of Residual-Quantized Variational Autoencoder (RQ-VAE)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sunmeat
sunmeat / Program.cs
Last active March 30, 2026 21:12
Interlocked
class Program
{
private static int goal = 100000;
private static int value = 0;
class Incrementator
{
public void Run()
{
for (int i = 0; i < goal; i++)
@CappyT
CappyT / README.en.md
Created January 26, 2026 15:55
Help Keep Iran Connected: Conduit Proxy Setup

🗽 Conduit Proxy: Help Keep Iran Connected

TL;DR: Help the Iranian population bypass censorship by running a lightweight, low-maintenance proxy. It requires no public IP, acts only as a bridge (not an exit node), and can be deployed via Kubernetes or Docker in seconds.

ℹ️ Context

Access to information is a human right. Due to severe internet censorship in Iran, many citizens are cut off from the rest of the world.

@StevenACoffman
StevenACoffman / Homoglyphs.md
Last active March 30, 2026 21:07
Unicode Look-alikes

Unicode Character Look-Alikes

Original Letter Look-Alike(s)
a а ạ ą ä à á ą
c с ƈ ċ
d ԁ ɗ
e е ẹ ė é è
g ġ
h һ
@krispuckett
krispuckett / appearance.json
Last active March 30, 2026 21:04
Obsidian Minimal + Flexoki theme setup
{
"baseFontSize": 16,
"cssTheme": "Minimal",
"theme": "obsidian",
"enabledCssSnippets": [
"callouts"
],
"showRibbon": false,
"showViewHeader": false
}
@denisfl
denisfl / rpi_monitor.sh
Last active March 30, 2026 21:04
Simple monitoring script for RPI
#!/usr/bin/env bash
# ╔══════════════════════════════════════════════╗
# ║ Tokyo Night Bento Monitor ║
# ║ macOS · Linux · Raspberry Pi ║
# ╚══════════════════════════════════════════════╝
# ── Tokyo Night palette ──────────────────────────────────────
RESET=$'\e[0m'; BOLD=$'\e[1m'
C_BDR=$'\e[38;2;86;95;137m'
C_TTL=$'\e[38;2;122;162;247m'
@sunmeat
sunmeat / Program.cs
Last active March 30, 2026 21:02
приклад на дедлок
class Program
{
static void Thread1Work()
{
using (var stream1 = File.Open("file1.txt", FileMode.OpenOrCreate, FileAccess.ReadWrite, FileShare.None))
{
Console.WriteLine("Thread 1: blocking file1");
Thread.Sleep(1000);
while (true)
@CollinChaffin
CollinChaffin / How_to_disable_ATT_DNS_Redirection.md
Created August 29, 2018 21:26
How to disable the very little-known AT&T setting that can appear to hijack your home DNS lookups and redirect to 104.239.207.44

How to disable the very little-known AT&T setting that can appear to hijack your home DNS lookups and redirect to 104.239.207.44

Issue

DNS queries on home network suddenly resolving hosts to 104.239.207.44.

Symptoms

You will see SPORADIC mis-resolutions of EVERYTHING to that 104.239.207.44 address if their crappy router happens to hear your PC's DHCP request - EVEN IF ANOTHER DHCP SERVER ON THE NETWORK assigns the ultimate address.

@0xfauzi
0xfauzi / agents-md-best-practices.md
Created October 17, 2025 11:08
Agents.md best practices

AGENTS.md Best Practices for AI Coding Assistants: Comprehensive Guide

AGENTS.md has emerged as the de facto open standard for guiding AI coding assistants, now adopted by over 20,000 repositories and formalized in August 2025 through collaboration between OpenAI, Google, Cursor, Factory, and Sourcegraph. This file acts as a "README for machines"—providing structured, technical context that helps AI assistants write better code from the start. For Python + AWS + Terraform projects, a well-crafted AGENTS.md dramatically reduces friction, ensuring generated code follows your conventions, uses the right tools, and adheres to security requirements.

What is AGENTS.md and why it matters

AGENTS.md is a dedicated Markdown file that complements, not replaces, README.md. While README targets human developers with project overviews and quick-start guides, AGENTS.md contains detailed technical instructions specifically for AI coding agents. Think of it as onboarding documentation for an AI team member: ex