Skip to content

Instantly share code, notes, and snippets.

View tab1293's full-sized avatar

Tom Berger tab1293

View GitHub Profile
turnserver 232281 [007] 88065.594950: skb:kfree_skb: skbaddr=0xffff970391b47f00 protocol=2048 location=0xffffffff96df99a0
ffffffff96d121a6 kfree_skb+0x76 ([kernel.kallsyms])
ffffffff96d121a6 kfree_skb+0x76 ([kernel.kallsyms])
ffffffff96df99a0 udp_queue_rcv_one_skb+0x3c0 ([kernel.kallsyms])
ffffffff96df9b3f udp_queue_rcv_skb+0x3f ([kernel.kallsyms])
ffffffff96df9d16 udp_unicast_rcv_skb.isra.0+0x76 ([kernel.kallsyms])
ffffffff96dfad1b __udp4_lib_rcv+0x56b ([kernel.kallsyms])
ffffffff96dfb78a udp_rcv+0x1a ([kernel.kallsyms])
ffffffff96dbf885 ip_protocol_deliver_rcu+0xc5 ([kernel.kallsyms])
ffffffff96dbf9b8 ip_local_deliver_finish+0x48 ([kernel.kallsyms])
@tab1293
tab1293 / bad.txt
Last active July 1, 2022 16:25
Google blocking puppeteer
Request that gets blocked (Returns a 302)
curl 'https://accounts.google.com/v3/signin/identifier?continue=https://www.youtube.com/signin?action_handle_signin%3Dtrue%26app%3Ddesktop%26hl%3Den%26next%3D%252F%26feature%3Dshortcut&dsh=S1695201827:1656692488316782&flowEntry=ServiceLogin&flowName=WebLiteSignIn&hl=en&ifkv=AX3vH39jE-SX404K-YCCa3HaZasQONgw8tTSjl1eBxNsNxqJKqkw71GfcDa5Or3geCxttunm6_jlUA&service=youtube' \
-H 'authority: accounts.google.com' \
-H 'accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9' \
-H 'accept-language: en-US,en;q=0.9' \
-H 'cache-control: max-age=0' \
-H 'content-type: application/x-www-form-urlencoded' \
-H 'cookie: __Host-GAPS=1:jxYp-R98VhWYOu56AdPM18uTFkPJ-w:o6_7bHtwWFxFQ7yU; NID=511=rv7F8vjYlTz1q7bntmbsyaoTTGK8cZqu5yLiOG2GapM0qpQRm9312m6o35WhdYP96o8Ic2w2Q61lRenpeyXq6X_AGF4RCN-5QKKfpKY7iaSSMo-_3B0PzLLOaH4P0GMLDg59Z35Z4ljWFOltBWCod19VE6Od-2_iyKns7YDPYAQ' \
-H 'origin: https://ac
Games Today
Query Start Time: Thu, 07 Jul 2022 20:00:00 EDT
Query Stop Time: Fri, 08 Jul 2022 20:00:00 EDT
+--------+----------------------+----------------------+-------------------------------+-----------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| LEAGUE | AWAY TEAM | HOME TEAM | START TIME | NETWORKS | IPTV CHANNELS |
+--------+----------------------+----------------------+-------------------------------+-----------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------
@tab1293
tab1293 / gist:c308ee12930915727dd17d0e307e7eec
Created September 22, 2022 15:44
yarn dev:web error when linking ion-sdk-js without tsconfig update
exports is not defined
ReferenceError: exports is not defined
at eval (webpack-internal:///../../../ion-sdk-js/lib/client.js:70:1)
at ../../../ion-sdk-js/lib/client.js (https://localhost:3001/_next/static/chunks/pages_room_Room_tsx.js:664:1)
at options.factory (https://localhost:3001/_next/static/chunks/webpack.js?ts=1663861436114:655:31)
at __webpack_require__ (https://localhost:3001/_next/static/chunks/webpack.js?ts=1663861436114:37:33)
at fn (https://localhost:3001/_next/static/chunks/webpack.js?ts=1663861436114:324:21)
at eval (webpack-internal:///../../../ion-sdk-js/lib/index.js:6:16)
at ../../../ion-sdk-js/lib/index.js (https://localhost:3001/_next/static/chunks/pages_room_Room_tsx.js:675:1)
at options.factory (https://localhost:3001/_next/static/chunks/webpack.js?ts=1663861436114:655:31)
@tab1293
tab1293 / main.go
Created September 27, 2022 18:29
Pion H264 write to disk
package main
import (
"bufio"
"flag"
"fmt"
"log"
"os/exec"
"strings"
"time"
@tab1293
tab1293 / prompt.yaml
Created June 16, 2025 22:20
huggingface_agent_prompty
"system_prompt": |-
You are an expert assistant who can solve any task using code blobs. You will be given a task to solve as best you can.
To do so, you have been given access to a list of tools: these tools are basically Python functions which you can call with code.
To solve the task, you must plan forward to proceed in a series of steps, in a cycle of 'Thought:', 'Code:', and 'Observation:' sequences.
At each step, in the 'Thought:' sequence, you should first explain your reasoning towards solving the task and the tools that you want to use.
Then in the 'Code:' sequence, you should write the code in simple Python. The code sequence must end with '<end_code>' sequence.
During each intermediate step, you can use 'print()' to save whatever important information you will then need.
These print outputs will then appear in the 'Observation:' field, which will be available as input for the next step.
In the end you have to return a final answer using the `final_answer` tool.