Skip to content

Instantly share code, notes, and snippets.

@jagrosh
jagrosh / Github Webhook Tutorial.md
Last active August 8, 2026 05:16
Simple Github -> Discord webhook

Step 1 - Make a Discord Webhook

  1. Find the Discord channel in which you would like to send commits and other updates

  2. In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe! WebhookDiscord

Step 2 - Set up the webhook on Github

  1. Navigate to your repository on Github, and open the Settings Settings
@mutaguchi
mutaguchi / ClipboardHistory.ps1
Last active August 8, 2026 05:02
Get the texts contained in the clipboard history.
<#
Get-ClipboardHistory: Get the texts contained in the clipboard history.
Clear-ClipboardHistory: Clearing the clipboard history
In PowerShell 7.1 or later, use the following command to install Microsoft.Windows.SDK.NET.Ref with administrative privileges.
Find-Package -ProviderName NuGet -Source https://www.nuget.org/api/v2 -Name Microsoft.Windows.SDK.NET.Ref | Install-Package
#>
$needsSDK = $PSVersionTable.PSVersion -ge "7.1.0"
@thanhtantran
thanhtantran / hermes-camoufox-skill.md
Created August 6, 2026 16:29
camoufox browser hermes skill

name: camoufox-browser description: "Use when installing or driving Camoufox for stealth browser automation, scraping, or anti-bot sites. Covers pip install, browser fetch, system deps, headed/headless launch, and product scraping." version: 1.0.0 author: Tony Tran license: MIT platforms: [linux, macos, windows] metadata: hermes: tags: [camoufox, playwright, browser, scraping, stealth, fingerprint, anti-bot]

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

Oh my zsh.

Install with curl

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Enabling Plugins (zsh-autosuggestions & zsh-syntax-highlighting)

  • Download zsh-autosuggestions by
@0006969
0006969 / gist:5b9335f37ec488a4243822cc6e043b8b
Last active August 8, 2026 05:17
the author of this post put together a single-file, zero-dependency "index.html" page, with the chosen page title/domain being "0006969.com" [Internet Archive Wayback Machine link: https://web.archive.org/web/20260808040358/https://0006969.com/] [X Post link: https://x.com/0x3_69x2/status/2085957448754491789]
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>0006969.com</title><style>
/* Reset all default margins, padding, and box-sizing */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: hidden; max-width: 100%; }
@chaitrajk
chaitrajk / DSA_Roadmap.md
Created August 1, 2026 07:57
Master DSA Pattern!

🚀 2026 Master DSA Pattern Blueprint & Blind 75 Roadmap

Strategy: Stop grinding 500+ random LeetCode problems. Master these 14 Core DSA Patterns across the top Blind 75 questions to solve 90% of technical coding interviews at top product companies.


⏱️ 12-Week Strategic Execution Plan

| Phase | Timeline | Focus Area | Goal |

## Generación de certificados.
# 1. Generar la clave privada y el certificado autofirmado para el PC (válido por un año)
openssl req -newkey rsa:2048 -nodes -keyout pc.key -x509 -days 365 -out pc.crt -subj "/CN=PC-Linux-PAM"
# 2. Generar el archivo PEM combinado que requiere socat para el servidor
cat pc.key pc.crt > pc.pem
chmod 600 pc.key pc.pem
# 3. Generar la clave y el certificado para el móvil
@Maciejdziuba
Maciejdziuba / CHEATSHEET.md
Last active August 8, 2026 04:55
Kimi Everywhere — run any coding harness (Claude Code, Codex, OpenCode, Cline, Aider) on one flat-fee Kimi subscription. One key, two protocols, zero token bills.

Kimi Everywhere — Cheat Sheet

One Kimi Code subscription key. Every harness. Copy-paste and go.

Endpoints & key

What Value
Anthropic-compatible base URL https://api.kimi.com/coding/
OpenAI-compatible base URL https://api.kimi.com/coding/v1
<?php
namespace Nightjar\SS4UpgradeTasks;
use Monolog\Handler\StreamHandler;
use Monolog\Logger;
use Psr\Log\LoggerInterface;
use SilverStripe\Assets\File;
use SilverStripe\Control\Director;
use SilverStripe\Core\ClassInfo;