Skip to content

Instantly share code, notes, and snippets.

@Dowwie
Dowwie / insights_agent.md
Last active November 9, 2025 10:58
langsmith insights agent

LangSmith Insights Agent: Complete Reverse Engineering

Executive Summary

LangSmith's Insights Agent is an LLM-orchestrated data analysis system that automatically discovers usage patterns and failure modes in production agent traces. Unlike traditional clustering tools, it accepts natural language questions from users and dynamically adapts its entire analysis pipeline—from feature extraction to taxonomy generation—based on those questions.

Key Innovation: It's a conversational interface to trace analysis, where users describe what they want to learn, and the system translates that into a custom analytical workflow.

Core Capabilities:

  • Analyzes up to 1,000 sampled traces in up to 30 minutes (typically 15-20 minutes)
@msuchodolski
msuchodolski / electron_drag_disable.css
Last active November 9, 2025 10:55
Disable dragging and selecting html elements (like links, images etc...) in Electron
/**
* MAKE ELECTRON APP FEEL MORE NATIVE
*
* * Prevent dragging all HTML elements, specially:
* - images
* - links (anchors)
*
* * Prevent text selection
*/
@0xjac
0xjac / private_fork.md
Last active November 9, 2025 10:53
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 git@github.com:usi-systems/easytrace.git

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Baseball Seam visualizer</title>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
margin: 0;
@ih2502mk
ih2502mk / list.md
Last active November 9, 2025 10:18
Quantopian Lectures Saved
@Strykar
Strykar / update_sqm.sh
Last active November 9, 2025 09:57
Update SQM limits in openwrt 4 times a day
#!/bin/sh
# v0.1 Avinash H. Duduskar <strykar@live.com>
# This adjusts OpenWRT SQM settings by re-calculating up/down bandwidth
# Needs the Speedtest.net CLI binary - https://www.speedtest.net/apps/cli
# Call this script every 4 or 6 hours via cron
set -euf -o pipefail
_sqm_int="queue" # Your actual wan interface: ifstatus wan | grep -e l3_device
_pul="90" # Percentage of wan upload speed to set, 90-95 is good
_pdl="95" # Percentage of wan download speed to set, 90-95 is good
@rajeshpachaikani
rajeshpachaikani / docker-compose.yaml
Last active November 9, 2025 09:41
Odoo docker compose file
#Odoo-docker-directory
#├── addons
#├── config
#│   └── odoo.conf
#├── docker-compose.yaml
#├── odoo_pg_pass
#└── sessions
# Create a config file inside the config directory with the following content
# [options]
@hibiyasleep
hibiyasleep / GodDrinksJava.java
Last active November 9, 2025 09:39
world.execute(me);
package goddrinksjava;
/**
* The program GodDrinksJava implements an application that
* creates an empty simulated world with no meaning or purpose.
*
* @author momocashew
* @lyrics hibiyasleep
*/
@mainnet-pat
mainnet-pat / config
Created February 1, 2023 11:33
BitcoinVerde Flipstarter nginx config
```
server {
server_name fund.mainnet-pat.me;
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_connect_timeout 7d;