Skip to content

Instantly share code, notes, and snippets.

@theauditveteran
theauditveteran / ad_fraud_ip_velocity_check.sql
Created March 29, 2026 01:30
SQL query for Ad Fraud detection using IP Velocity analysis. Identifies suspicious residential IPs with high User-Agent diversity and impression counts within a 1-hour window.
WITH IP_Velocity AS (
SELECT
ip_address,
asn_name,
COUNT(DISTINCT user_agent) AS unique_ua_count,
COUNT(DISTINCT device_make) AS unique_device_count,
COUNT(impression_id) AS total_impressions
FROM
ad_exchange_logs
WHERE
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created March 29, 2026 01:29
Rimworld output log published using HugsLib
Log uploaded on Sunday, March 29, 2026, 9:29:09 AM
Loaded mods:
UnLimitedArmor(Paragon.Hanul.UnLimitedArmor): (no assemblies)
Harmony(brrainz.harmony)[mv:2.4.2.0]: 0Harmony(2.4.1), HarmonyMod(2.4.2)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
Biotech(Ludeon.RimWorld.Biotech): (no assemblies)
Anomaly(Ludeon.RimWorld.Anomaly): (no assemblies)
Odyssey(Ludeon.RimWorld.Odyssey): (no assemblies)
@reinmj
reinmj / 2026-03-29-选题推荐.md
Created March 29, 2026 01:29
AIOpenClaw 选题推荐 2026-03-29

💡 [选题Agent] 今日选题推荐(2026-03-29)

生成时间: 2026-03-29 01:27 (Asia/Shanghai)
热点来源: hotspots/2026-03-29-09.md, 2026-03-29-01.md, 2026-03-28-17.md
去重检查: 已排除最近7天已发布话题(LiteLLM供应链攻击)


🔥 TOP3 主推选题(高流量潜力)

from collections import deque
N, M, K = map(int, input().split())
G = [[] for _ in range(N * 2 + 1)]
for _ in range(M):
u, v, a = map(int, input().split())
if a: # swを偶数回押された世界1
G[u].append((v, 1))
G[v].append((u, 1))
else: # swを奇数回押された世界2
{"version": "1.0.0"}
@Monfraal
Monfraal / log-👨‍💻・desenvolvedor・matheuslovr.html
Created March 29, 2026 01:27
Log - Ticket #👨‍💻・desenvolvedor・matheuslovr
<html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="icon" type="image/png" href="https://cdn.discordapp.com/icons/1396184864709017641/2207b4f8da08363730783b82c71cb935.png?size=16"/><title>👨‍💻・desenvolvedor・matheuslovr</title><script>document.addEventListener("click",t=>{let e=t.target;if(!e)return;let o=e?.getAttribute("data-goto");if(o){let r=document.getElementById(`m-${o}`);r?(r.scrollIntoView({behavior:"smooth",block:"center"}),r.style.backgroundColor="rgba(148, 156, 247, 0.1)",r.style.transition="background-color 0.5s ease",setTimeout(()=>{r.style.backgroundColor="transparent"},1e3)):console.warn("Message ${goto} not found.")}});</script><script>window.$discordMessage={profiles:{"1470786642502750258":{"author":"HashirasSupport","avatar":"https://cdn.discordapp.com/avatars/1470786642502750258/693cc69ef61f573fc3cdba8f638b9f07.webp?size=64","roleColor":"#ff0004","roleIcon":"https://cdn.discordapp.com/role-icons/1396185456814587958/375d255a714821
@KalebCole
KalebCole / discord-migration-design.html
Created March 29, 2026 01:27
Discord Migration — Design Spec
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Discord Migration — Design Spec</title>
<style>:root{--bg:#0d1117;--fg:#c9d1d9;--accent:#58a6ff;--green:#3fb950;--red:#f85149;--yellow:#d29922;--border:#30363d;--card:#161b22}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;background:var(--bg);color:var(--fg);line-height:1.7;padding:2rem;max-width:900px;margin:0 auto}h1{color:#fff;font-size:1.8rem;margin:2rem 0 .5rem;border-bottom:1px solid var(--border);padding-bottom:.5rem}h2{color:var(--accent);font-size:1.4rem;margin:2rem 0 .8rem;border-bottom:1px solid var(--border);padding-bottom:.3rem}h3{color:var(--green);font-size:1.15rem;margin:1.5rem 0 .5rem}h4{color:var(--yellow);margin:1rem 0 .3rem}p{margin:.5rem 0}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}strong{color:#fff}code{background:var(--card);padding:2px 6px;bo
you are a weekend chinese school curriculum director. you have been using chinese textbook from huayuworld, which you have found challenging for students whose parents do not speak chinese at home. you are trying to use AI to provide speaking and listening opportunities at home as part of the homework. Please design a set of homework that uses chatgpt to provide speaking practicies at home for these students.
{\rtf1\ansi\ansicpg1252\cocoartf1348\cocoasubrtf170
{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
{\colortbl;\red255\green255\blue255;}
\margl1440\margr1440\vieww10800\viewh8400\viewkind0
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural
\f0\fs24 \cf0 @@ -1,331 +0,0 @@\
package com.elastica.tests.dropbox;\
\
import static org.testng.Assert.assertTrue;\