Skip to content

Instantly share code, notes, and snippets.

@jibsaram
jibsaram / tailscale_udp_optimization.md
Created November 17, 2025 05:00 — forked from joshenders/tailscale_udp_optimization.md
How to improve tailscale throughput via transport layer offloading in OpenWrt 24.10

How to improve tailscale throughput via transport layer offloading in OpenWrt 24.10

Tailscale version 1.54 or later used with OpenWrt 24.10 or later (which uses kernel 6.6) enables UDP throughput improvements via transport layer offloading.

Namely, tuning two features may show improved throughput:

  • rx-udp-gro-forwarding: Enables UDP Generic Receive Offload (GRO) forwarding, which aggregates incoming UDP packets to reduce CPU overhead on receive.
  • rx-gro-list: If disabled (off), it prevents multiple flows from being aggregated simultaneously which simplifies flow handling and performance on some workloads.

[!NOTE]

@jibsaram
jibsaram / 1password-flatpak-browser-integration.sh
Created April 23, 2025 06:11 — forked from LinuxSBC/1password-flatpak-browser-integration.sh
1Password Integration with Flatpak Browsers
#!/bin/bash
set -oue pipefail
INFO='\033[0;36m' # Cyan for general information
SUCCESS='\033[0;32m' # Green for success messages
WARN='\033[0;33m' # Yellow for warnings
ERROR='\033[0;31m' # Red for errors
NC='\033[0m' # No Color
echo "This script will help you set up 1Password in a Flatpak browser."
@jibsaram
jibsaram / netlify-deploy.yaml
Created June 29, 2023 06:48
Gitea deploy to Netlify Action
name: 'Deploy to Netlify'
on:
push:
branches:
- main
workflow_dispatched:
jobs:
deploy:
@jibsaram
jibsaram / backup_gitea.sh
Created June 20, 2023 08:19 — forked from sinbad/backup_gitea.sh
My Gitea Backup & Restore Scripts
#!/bin/bash
# `gitea dump` doesn't currently back up LFS data as well, only git repos
# It primarily backs up the SQL DB, and also the config / logs
# We'll backup like this:
# * "gitea dump" to backup the DB and config etc
# * tar / bzip all the repos since they will be skipped
# * Not rotated because git data is immutable (normally) so has all data
# * rsync LFS data directly from /volume/docker/gitea/git/lfs
# * No need for rotation since all files are immutable
# Flip primary and secondary buttons of a Kensington SlimBlade Trackball.
evdev:name:Kensington Slimblade Trackball:*
ID_INPUT=1
ID_INPUT_TRACKBALL=1
KEYBOARD_KEY_90001=btn_right
KEYBOARD_KEY_90002=btn_left
@jibsaram
jibsaram / docker-compose.yml
Created January 25, 2023 02:53
Elk Docker/Podman Compose
version: '3'
services:
elk:
image: ghcr.io/elk-zone/elk:latest
labels:
- io.containers.autoupdate=registry
environment:
- TZ=Asia/Seoul
- NUXT_PUBLIC_DEFAULT_SERVER=fosstodon.org
volumes: