Skip to content

Instantly share code, notes, and snippets.

@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.

@florentbr
florentbr / #wd-drop-file.py
Last active February 6, 2026 20:59
Selenium - Drop a file from the desktop on a drop area
from selenium import webdriver
from selenium.webdriver.remote.webelement import WebElement
import os.path
# JavaScript: HTML5 File drop
# source : https://gist.github.com/florentbr/0eff8b785e85e93ecc3ce500169bd676
# param1 WebElement : Drop area element
# param2 Double : Optional - Drop offset x relative to the top/left corner of the drop area. Center if 0.
# param3 Double : Optional - Drop offset y relative to the top/left corner of the drop area. Center if 0.
# return WebElement : File input
@gastonmorixe
gastonmorixe / feature-flag-bypass-pure.mjs
Created January 26, 2026 08:04
Claude Code Feature Flag Bypass - Enable swarm features with npx
/**
* Pure Feature Flag Bypass Injector (Zero Disk Writes)
*
* Enables swarm features by intercepting fs.readFileSync calls and injecting
* the tengu_brass_pebble feature flag into the returned settings content.
*
* This version:
* - NEVER writes to ~/.claude/ or any global path
* - NEVER writes log files to disk
* - Only modifies data IN MEMORY
@RandyGaul
RandyGaul / occluder.h
Created January 31, 2026 23:53
Tile based edge generation
// Occluder edge extraction utility.
//
// Computes the union boundary of axis-aligned bounding boxes (AABBs), producing
// a set of merged edge segments. Handles overlapping/adjacent AABBs correctly
// by merging shared edges.
//
// Usage:
// OccluderQuery q = occluder_begin();
// occluder_add_aabb(&q, aabb);
// ...
Basic
=====
[Shift]+[Mod]+[Enter] - launch terminal.
[Mod]+[b] - show/hide bar.
[Mod]+[p] - dmenu for running programs like the x-www-browser.
[Mod]+[Enter] - push acive window from stack to master, or pulls last used window from stack onto master.
[Mod] + [j / k] - focus on next/previous window in current tag.
@OmerFarukOruc
OmerFarukOruc / claude.md
Last active February 6, 2026 20:50
AI Agent Workflow Orchestration Guidelines

AI Coding Agent Guidelines (claude.md)

These rules define how an AI coding agent should plan, execute, verify, communicate, and recover when working in a real codebase. Optimize for correctness, minimalism, and developer experience.


Operating Principles (Non-Negotiable)

  • Correctness over cleverness: Prefer boring, readable solutions that are easy to maintain.
  • Smallest change that works: Minimize blast radius; don't refactor adjacent code unless it meaningfully reduces risk or complexity.

Part 1. Editing balancing data(recommend coping all the stuff from merchant pig and then edit what u want there).
1.You need to create new birb in BirdBalancingData for me it is wizpig.
2.Create a new class(in ClassItemBalancing) and equipment(EquipmentBalancingData). Keep in mind that if u didn't create a class with skills for it, ally would be unplayble.
3.Create inventory for your ally in InventoryBalancingData(there must be headgear, offhand and mainhand otherwise the game will be softlocked after a battle).

Part2. Scripts editing
1.SocialService: Add new case in GetNPCBird(str163); make new GetPorkyBirdWithLevel(str 180) and GetPorkyFriend(str 102). Don't forget to change ids(nameid from birdbalancing, friendData.FirstName and friendData.Id).
2.FriendGameData: Add case to GetNPCFriendName(str249); add case to FriendGameData(str 185)
3.FriendInfoElement: Add case to GetNPCSprite(str 213). So, it's an icon for your bird you can add a new one by editing GenericElements.p

@SAMIULLAH6551
SAMIULLAH6551 / README.md
Created February 6, 2026 20:48 — forked from piyushgarg-dev/README.md
Kafka Crash Course
@mark-akturatech
mark-akturatech / Arch Install Guide 2025 - PART 1 - Secure Boot and Encrypted Device.md
Last active February 6, 2026 20:36
Arch Install Guide 2025 - PART 1 - Secure Boot and Encrypted Device

Arch Install Guide 2025 - PART 1

Secure Boot and Encrypted Device

Precursor

This guide will install Arch Linux on a Secure Boot enabled drive using block level at-rest LUKS encryption with passwordless unlocking using TPM. TPM will issue an passkey if and only if Secure Boot is enabled and the system firmware has not been altered. We will also be creating a unified kernel image so that we can boot Linux directly in the EFI partition without requiring a boot loader.

We will also be creating a backup key to enable booting of the drive in case of BIOS upgrade or other event that may make TPM not serve the key. The code should obviously be stored securely elsewhere off system.