| name | explain-diff-html |
|---|---|
| description | Use when the user asks for a rich explanation of a code change, diff, branch, or PR. Produces HTML output. |
Please make me a rich, interactive explanation of the specified code change.
It should have these sections:
| ╭─── Claude Code v2.1.12 ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ | |
| │ │ Tips for getting started │ | |
| │ Welcome back Jonny! │ Run /init to create a CLAUDE.md file with instructions for Claude │ | |
| │ │ │ | |
| │ │ ───────────────────────────────────────────────────────────────── │ | |
| │ ▐▛███▜▌ │ Recent activity |
| some hammerspoon plugins to make your macOS smarter |
| from langchain_openai import ChatOpenAI | |
| from langchain_core.prompts import ChatPromptTemplate | |
| from langchain_core.pydantic_v1 import BaseModel, Field | |
| import json,urllib.request,websockets,asyncio | |
| from typing import TypedDict, List | |
| import textwrap,html | |
| from bs4 import BeautifulSoup, Tag, NavigableString,Comment | |
| import os | |
| from dotenv import load_dotenv,find_dotenv | |
| load_dotenv(find_dotenv()) |
| alias jps ='jps -lvm' | |
| alias jpsk9='jps | fzf --reverse -m -e -i | cut -d " " -f1 | xargs kill -9 2>/dev/null' | |
| alias jpsk ='jps | fzf --reverse -m -e -i | cut -d " " -f1 | xargs kill 2>/dev/null' |
| #!/usr/bin/python3 | |
| import asyncio | |
| import time | |
| import socket | |
| import argparse | |
| import aiohttp | |
| class MyConnector(aiohttp.TCPConnector): |
| local function Chinese() | |
| -- 简体拼音 | |
| hs.keycodes.currentSourceID("com.apple.inputmethod.SCIM.ITABC") | |
| end | |
| local function English() | |
| -- ABC | |
| hs.keycodes.currentSourceID("com.apple.keylayout.ABC") | |
| end |
| <?php | |
| /*** | |
| Based off code from: | |
| https://www.experts-exchange.com/questions/26619790/Connect-to-Mysql-through-PHP-ssh2-tunnel.html | |
| Example usage: User/Pass Based Auth MySQL Proxy | |
| ----------------------------------------------- | |
| $user_pass_config = array( | |
| 'user' => 'username', | |
| 'pass' => 'password', |