Skip to content

Instantly share code, notes, and snippets.

@mislav
mislav / _readme.md
Last active January 7, 2026 19:14
tmux-vim integration to transparently switch between tmux panes and vim split windows

I use tmux splits (panes). Inside one of these panes there's a Vim process, and it has its own splits (windows).

In Vim I have key bindings C-h/j/k/l set to switch windows in the given direction. (Vim default mappings for windows switching are the same, but prefixed with C-W.) I'd like to use the same keystrokes for switching tmux panes.

An extra goal that I've solved with a dirty hack is to toggle between last active panes with C-\.

Here's how it should work:

@DylanGrl
DylanGrl / nginx_privesc_sudo.md
Last active January 7, 2026 19:13
nginx privilege escalation - SUDO

Privilege Escalation - NGINX / SUDO

Condition - You must have sudo permission on nginx:

user@host:~$ sudo -l
Matching Defaults entries for user on host:
    env_reset, mail_badpass, secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin\:/snap/bin, use_pty

User user may run the following commands on host:
@Johanmyst
Johanmyst / README.md
Last active January 7, 2026 19:13
Modern Ubuntu on Android

Modern Ubuntu on Android

Run a full, modern Ubuntu rootfs natively on any rooted Android device—no emulation, no proot hacks, with true ext4 mounting (MTE-capable kernels only).


✨ Introduction & Motivation

Android devices are more powerful than ever, and some (like the Google Pixel 8 Pro) ship with hardware support for ARM's Memory Tagging Extension (MTE). If you're testing memory-safe languages or fuzzers under native MTE, a proper Linux rootfs (not a directory overlay) is essential: you get ext4 semantics (no unexpected compression or permission quirks) and full /usr, /var, /opt support.

@thoroc
thoroc / AWESOME_OPENCODE.md
Last active January 7, 2026 19:12
Awesome list of awesome project for local agentic workflow

Awesome list of awesome project for local agentic workflow

List of projects that are somewhat related to opencode.

Model list

Running local models

@tadwohlrapp
tadwohlrapp / ublock-filter-youtube.txt
Last active January 7, 2026 19:09
Filters for uBlock Origin I use to block annoying elements on YouTube
! ============================
! YouTube Top Nav Bar
! ============================
! always show normal YouTube logo, never that distracting doodleyoodle
www.youtube.com##ytd-topbar-logo-renderer > a > ytd-yoodle-renderer
www.youtube.com##ytd-topbar-logo-renderer > a > div:remove-attr(hidden)
! hide "Search with your voice" button (YouTube users have no voice)
www.youtube.com###masthead #center #voice-search-button
@Mihir2423
Mihir2423 / settings.json
Last active January 7, 2026 19:09
Zed Like Vs Code Config
{
"workbench.iconTheme": "ayu-mirage-zed",
"workbench.productIconTheme": "icons-carbon",
"editor.cursorStyle": "line",
"editor.cursorBlinking": "smooth",
"editor.cursorSmoothCaretAnimation": "on",
// --- Typography ---
"editor.fontSize": 14,
"editor.fontFamily": "'JetBrains Mono NL','JetBrains Mono', 'Zed Mono', monospace",
@jase-perf
jase-perf / p4ignore - Unreal and DCCs
Last active January 7, 2026 19:05 — forked from ImLp/p4ignore.txt
Ignore file for Unreal Engine Projects and Source Code (with common DCC ignores added)
## Universal P4IGNORE for Unreal Engine Projects and common DCC tools
## Works with both game projects and custom engine source
## Optimized pattern usage based on Perforce P4IGNORE documentation
## This p4ignore file should be named .p4ignore or p4ignore.txt and
## placed in the workspace root, which should be where the Engine and
## project folders are located.
# The syntax for P4IGNORE files is not the same as Perforce syntax.
# Key differences from .gitignore:
# - A / at the start means "relative to this p4ignore file"
@johnblat
johnblat / sdl3stbtruetype-example.odin
Last active January 7, 2026 19:04 — forked from Lain62/sdl3stbtruetype-example.odin
A quick guide on how to set up stb truetype(stbtt) with sdl3 on odin
package sdl3stbtruetypeexample
import SDL "vendor:sdl3"
import stbtt "vendor:stb/truetype"
import "core:strings"
Font :: struct {
bitmap: []u8,
packed_char: []stbtt.packedchar,
atlas: ^SDL.Texture,

Ralph Driven Development (RDD)

What is this?

This is ralph for ralph driven development. It's a script that keeps running your AI agent agaist some prompts until it says a magic word signaling that it is done with what you needed.

This is mainly done to work with codex but it can be changed to work with anything else.

Guide

This project includes a plan, a sequenced specs backlog, and a script that runs