Skip to content

Instantly share code, notes, and snippets.

View Strykar's full-sized avatar
:electron:
pkt_label

Avinash H. Duduskar Strykar

:electron:
pkt_label
View GitHub Profile
@Strykar
Strykar / fork-transcript.txt
Created September 2, 2026 23:20
Verify LIP-118 delegated reward calling against deployed Arbitrum One contracts on a local anvil fork (no mainnet txs)
=== orchestrator under test (first in pool): 0x525419FF5707190389bfb5C87c375D710F5fCb0E ===
hints: prev=0x0000000000000000000000000000000000000000 next=0xac2e50c8f7Ac0f82923a7Df9d9903f6ec4741919
=== 0. baseline ===
transcoderToRewardCaller = 0x0000000000000000000000000000000000000000
RoundsManager.currentRound() = 4323
getTranscoder(orch).lastRewardRound = 4323
=== 1. negative control: selector that does not exist ===
diff --git a/ffmpeg/ffmpeg.go b/ffmpeg/ffmpeg.go
index 38410203c0..22f5dbd1af 100755
--- a/ffmpeg/ffmpeg.go
+++ b/ffmpeg/ffmpeg.go
@@ -9,7 +9,6 @@ import (
"os"
"path"
"path/filepath"
- "runtime"
"strconv"
t/depends.t ..
ok 1 - require AUR::Depends;
# Subtest: graph: single target, no deps
ok 1 - self edge for target foo
ok 2 - no foreign deps
1..2
ok 2 - graph: single target, no deps
# Subtest: graph: linear chain A -> B -> C
ok 1 - A self edge
ok 2 - B required by A
---
version: "alpha"
vendors:
- id: "AMD"
name: "AMD"
certificates:
- name: "AMD PRG-RPL EK ICA"
url: "https://ftpm.amd.com/pki/aia/9DE34E7EF9C15FA479A9F398BC865D60"
validation:
fingerprint:
@Strykar
Strykar / airtel_topology.js
Created March 6, 2026 07:23
Airtel WAN topology and Netfilter paths - Mermaid chart
---
config:
theme: neo-dark
---
flowchart TB
subgraph Header_Info["ISP A + B + C"]
direction LR
A_Biz["<b>ISP-A Airtel</b><br>GPON FTTH Static IPv4"]
B_Biz["<b>ISP-B Purple</b><br>GPON FTTH Static IPv4 Bridge"]
C_Biz["<b>ISP-C Airtel</b><br>5G / LTE Android"]
@Strykar
Strykar / mktxp_wan_topology.py
Created March 2, 2026 18:36
RouterOS - MKTXP WAN detection helpers
#!/usr/bin/env python3
"""
Standalone RouterOS WAN topology inspector
- Deterministic WAN derivation
"""
from routeros_api import RouterOsApiPool
import ipaddress
# ---- USER CONFIG ----
@Strykar
Strykar / traffick.sh
Last active March 3, 2026 12:25
Traffick - NFTables Traffic Monitor: A POSIX-compliant grokker for tagged nftables counters.
#!/bin/sh
set -fuC
# --- USER CONFIG STARTS ---
IN_KEYS="ingress|input|incoming|ollama"
OUT_KEYS="egress|output|outgoing"
SEC_KEYS="drop|deny|reject|block"
# --- USER CONFIG ENDS ---
show_help() {
@Strykar
Strykar / jellyfin-app.container
Last active September 5, 2026 20:17
Private Jellyfin Podman pod using a Tailscale sidecar
#/etc/containers/systemd/jellyfin-app.container
[Container]
Image=docker.io/jellyfin/jellyfin:latest
Environment=TS_ACCEPT_DNS=true
Environment=TS_USE_RESOLV_CONF=1
# Or enable IPv6 forwarding and:
# nft add rule ip6 filter forward ct state established,related accept
# nft add rule ip6 filter forward ip6 saddr fc00::/7 accept
@Strykar
Strykar / CLI
Last active October 26, 2025 12:26
EdgeTX build options for Radiomaster Pocket with GPS on UART1
# cmake -Wno-dev \
-DPCB=X7 \
-DPCBREV=POCKET \
-DDEFAULT_MODE=2 \
-DBLUETOOTH=YES \
-DINTERNAL_GPS=YES \
-DINTERNAL_GPS_BAUDRATE=9600 \
-DGVARS=YES \
-DLUA=YES \
-DLUA_COMPILER=YES \
@Strykar
Strykar / 01-minimal-aurutils-setup.sh
Last active July 4, 2025 07:51
Minimal aurutils (setup + post-boot install) inside an Arch linux rescue EFI created by systemd-mkosi
#!/bin/bash
# mkosi.conf.d/01-minimal-aurutils-setup.sh
# Call this from mkosi.postinst.chroot
#
# Prepare an mkosi image for (optionally) installing aurutils (post-boot) in an Arch linux rescue EFI.
# A rescue EFI has no need for persistent storage, instead we drop a 0.2 MB compiled / packaged
# "aurutils-*.pkg.tar.zst" into the image's "/home/packages" or "$AURUTILS_PKG_PATH" directory before mkosi's image build completion.
#
# This keeps the EFI size down as pre-installing any aur helper will pull in 100+ MBs of dependencies.
# The script sticks with pacman.conf's example username "packages" and repository name "custom".