Skip to content

Instantly share code, notes, and snippets.

@rliu-reve
rliu-reve / paste_indicator.patch
Created August 3, 2026 20:04
add paste indicator to vim status line
--- basic.vim 2026-08-03 12:54:45
+++ .vimrc 2026-08-03 13:03:02
@@ -290,6 +290,7 @@
set laststatus=2
set statusline=
set statusline+=%0*\ %{g:currentmode[mode()]} " Current mode
+set statusline+=%0*%{&paste?'\ [PASTE]\ ':''} " Paste indicator
set statusline+=%1*\ [%n] " Buffer number
set statusline+=%1*\ %<%F\ %m\ %w\ " File path
set statusline+=%1#warningmsg#
@mikerenfro
mikerenfro / CUDA_Compilers.md
Created August 3, 2026 20:04 — forked from ax3l/CUDA_Compilers.md
CUDA Compilers
@alanblythe
alanblythe / README.md
Created August 3, 2026 20:04
Dual-Client Architecture for ADK Agent: Model Armor mTLS & Image Screening Resolution

ADK Dual-Client Architecture: Model Armor Image Screening & mTLS Resolution

This example demonstrates how to implement a Dual-Client Architecture in an Agent Development Kit (ADK) agent to resolve endpoint conflicts between certificate-bound mTLS requirements and Model Armor image screening endpoints.

Problem Statement & Context

  1. Certificate-bound Agent Identity: Enterprise policies often enforce mTLS endpoints (*.mtls.googleapis.com) for all GCP API calls, agent tool executions, and text sanitization.
  2. Endpoint Limitation: Model Armor image screening (SanitizeUserPrompt / SanitizeModelResponse with image byte payloads) is currently supported only on us or eu multi-region endpoints (e.g., modelarmor.us.googleapis.com), which do not expose mTLS hosts.

Solution Architecture

@StrayVibes
StrayVibes / Bae's Hub
Created August 3, 2026 20:04
Bae's Hub Privacy Policy
# Privacy Policy for Bae's Hub
**Effective Date:** August 3, 2026
**Last Updated:** August 3, 2026
This Privacy Policy describes how **Bae's Hub** ("we", "us", or "our") handles user information and data when you use the **Bae's Hub** mobile application (the "App").
---
## 1. Overview and Data Collection
@pratikshabelwate05
pratikshabelwate05 / code-diff.png
Created August 3, 2026 20:02
PR #1448 screenshots: LLM Chat Complete Instructions tooltip & helper text
iVBORw0KGgoAAAANSUhEUgAABQAAAAl5CAIAAAB8C17dAAAQAElEQVR4nOydB7wU1dnGZ2/vvcGldxARKYJKExHsvRujxhJNVdN708QvMc0YY2ISW+y9YwcbIjaQ3uFSb+f2vt9/5sC67u7MbYDgff6/+4Pd2Zkz57znnJn3Oe+ZMzH9+vWzhBBCCCGEEEKILzpRlhBCCCGEEEII0QOQABZCCCGEEEII0SOQABZCCCGEEEII0SOQABZCCCGEEEII0SOQABZCCCGEEEII0SOQABZCCCGEEEII0SOQABZCCCGEEEII0SOQABZCCCGEEEII0SOQABZCCCGEEEII0SOQABZCCCGEEEII0SOQABZCCCGEEEII0SOQABZCCCGEEEII0SOQABZCCCGEEEII0SOQABZCCCGEEEII0SOQABZCCCGEEEII0SOQABZCCCGEEEII0SOQABZCCCGEEEII0SOQABZCCCGEEEII0SOQABZCCCGEEEII0SOQABZCCCGEEEII0SOQABZCCCGEEEII0SOITk9Pt8R+ISYmpk+fPnl5ea2trU1NTdb+Ijo6ulevXn6/v4MnjY+PT0xMDN6ZnJNCW1tbc3OzJfYNKSkpPp+PtmEJIYTY20RFRaWmpnKN5V5mHTCQq9zcXHwDPjQ2NnKnNtu5caelpXHPDWwRQgixt4ixugH3khNOOCE/P5/PXLhLSko2bty4fPlyPiOZpkyZMnr0aOPTb926le382nEFxYEcPmnSpLfffru4uPj4448vLy9/7bXXSNz8OnTo0OnTp5PmvHnzwpNNSEg47rjjCgoKOGTdunUhvw4ZMuSYY47ZsWPHSy+9ZBK0nPvNhAkTTjnlFEpUVFT0zDPPLF68eK/cKbEGmfnpT3/KTY6v5PbHP/7xo48+uq9vw6jWyy+//LzzzuMOetVVV7377rvtHoI+v/nmmwcPHvz1r3/9448/NhsZJfnTn/6EcaiLv/3tbx9++OH+12nY8Jvf/Oa111572223kZmQGifDd911FzX4
@Chris-May
Chris-May / README.md
Created August 3, 2026 20:01
WikiWatch — live Wikipedia edit dashboard (Stardust + Datastar, single-file gist version)

WikiWatch — live Wikipedia edit dashboard (single-file gist version)

A live dashboard of Wikipedia edits worldwide, built "the Stardust/Datastar way": one write path (Wikimedia's public edit stream → Stardust facts), four independent live Datalog reactors projecting those same facts four different ways, streamed to the browser over SSE — no polling anywhere. Two custom web components add the interactive layer: a drag-to-select traffic histogram (time-scrub browsing) and an odometer-style rolling-digit counter.

This is a consolidated, single-file version for sharing as a gist — the original is

@AhmedAbdEl-ghafar
AhmedAbdEl-ghafar / privacy_policy.html
Created August 3, 2026 20:01
My Budget Privacy Policy.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Privacy Policy - My Budget</title>
<style>
:root {
--primary: #10b981;
--bg: #0f172a;
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created August 3, 2026 20:01
Rimworld output log published using HugsLib
Log uploaded on Tuesday, August 4, 2026, 12:07:27 AM
Loaded mods:
Harmony(brrainz.harmony)[mv:2.4.2.0]: 0Harmony(2.4.1), HarmonyMod(2.4.2)
Loading Progress(ilyvion.LoadingProgress): ilyvion.LoadingProgress(0.13.1)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
Vanilla Ideology Expanded - Anima Theme(VanillaExpanded.VIEAT): VIEAT(1.0.0)
Biotech(Ludeon.RimWorld.Biotech): (no assemblies)
Anomaly(Ludeon.RimWorld.Anomaly): (no assemblies)
@MasazI
MasazI / japan-healthcare-policy-2026-08-04.md
Created August 3, 2026 20:00
日本 医療・ヘルスケア政策ニュース (自動更新)

🏛️ 日本 医療・ヘルスケア政策 - 2026-08-04

最新ニュース

厚生労働省「ゲノム新時代シンポジウム」開催(8/4)

  • 厚労省主催で全ゲノム解析の成果、日本ゲノム医療推進機構(GeMJ)による情報基盤整備、患者還元、研究・創薬への利活用を紹介・議論。法制度の最新動向も解説。
  • カテゴリ: 厚労省 / 学会
  • 🔗 https://www.amed.go.jp/news/event/event_list2026.html

2026年度診療報酬改定:電子的診療情報連携体制整備加算の新設

@ichintu
ichintu / Summary_1785787238.708.md
Created August 3, 2026 20:00
CTI Summary 2026-08-03T20:00:38.708Z UTC

Key take‑aways

Theme Main points
Xpsd Open‑source (Apache‑2.0) tool that verifies whether a CVE/static‑analysis hit is actually reachable in a codebase. It accepts a CVE ID or scan report, searches the repo, looks up advisories, and returns a reach‑ability verdict (SARIF) that can be fed to GitHub Code Scanning. 👉 https://github.com/ByteRay‑AI/Xpsd
Supply‑chain Trojan Attackers dropped a cross‑platform RAT into Alibaba‑tool workflows by luring Chinese–speaking developers into installing a malicious npm package (“lib‑mtop”) that mimics a private Alibaba module.
WebsiteBaker CMS (CVE‑2026‑61524 & 2026‑61523) Admin can upload a ZIP or inject PHP, creating a predictable webshell in the public modules/ folder. Severity 8.6.
GL‑iNet GL‑MT3000 Firmware ≤ 4.4.5 contains two CVSS‑10.0 RCE bugs: CVE‑2026‑18613 (plugins.set_config) and CVE‑2026‑18612 (plugins.remove_package/install_package). Fix: upgrade to 4.4.6+.
**TP‑Link Oma