Skip to content

Instantly share code, notes, and snippets.

@fishster
fishster / gtranslatebypass.js
Created January 18, 2023 04:41 — forked from i0Z3R0/gtranslatebypass.js
Bypass blocked websites with this simple one-liner. Add this code as a page bookmark on Chrome (I haven't tested it on other platforms yet. Click on it and enter an address (excluding http/https) and press ok to visit an unblocked version of that website. This works and can let you access almost any blocked website by having Google Translate tra…
javascript:(function(){var destination = prompt("Destination (Don't include http/https: ");window.location='https://translate.google.com/translate?sl=auto&tl=en&u='+'https://'+destination})();

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.

@Wang200935
Wang200935 / auto-refactor.js
Created August 21, 2026 06:57
AST + LLM 自動化重構核心腳本 — 用 babel-parser 解析 AST,visitor pattern 萃取純邏輯函式,LLM 局部重寫,AST 替換回原位,測試套件驗證行為一致
/**
* auto-refactor.js AST + LLM 自動化重構核心腳本
*
* 用法:
* node auto-refactor.js <檔案或目錄> [--dry-run]
*
* 流程:
* 1. babel-parser 將程式碼解析成 AST
* 2. visitor pattern 萃取「純邏輯」節點(無副作用)
* 3. 純邏輯片段送給 LLM 做局部重寫(保持輸出入一致)
Privacy Policy for [Bot Name]
This Privacy Policy governs the collection, use, and sharing of personal information by [Bot Name], a Discord bot developed by [Developer Name]. By using [Bot Name], you agree to the terms of this Privacy Policy.
Information We Collect
We collect information that you provide to us through your use of the bot, such as your Discord user ID and username, server and channel information, and message content. We may also collect usage data, such as the frequency and duration of your use of the bot.
How We Use Your Information
TERMS OF SERVICE AGREEMENT
This Terms of Service Agreement (the "Agreement") is entered into between [Anshul Chauhan] ("Bot Owner") and the user ("User") of the [Bot Name] Discord bot (the "Bot").
By using the Bot, the User agrees to be bound by the terms of this Agreement. If the User does not agree to the terms of this Agreement, they should immediately discontinue use of the Bot.
1. Use of the Bot: The Bot Owner grants the User a non-exclusive, non-transferable, limited license to use the Bot for personal or non-commercial purposes.
2. Prohibited Use: The User may not use the Bot in any way that violates applicable laws, rules, or regulations or infringes upon the rights of any third party. The User may not use the Bot for any commercial purposes without the express written consent of the Bot Owner.
3. Limitation of Liability: The Bot Owner shall not be liable for any damages arising out of the use or inability to use the Bot, including but not limited to, damages for loss of profits, loss of data, or o
Tom Hanks (actor) chest up on gray background, look at camera
Denzel Washington (actor) chest up on gray background, look at camera
Morgan Freeman (actor) chest up on gray background, look at camera
Meryl Streep (actress) chest up on gray background, look at camera
Leonardo DiCaprio (actor) chest up on gray background, look at camera
Brad Pitt (actor) chest up on gray background, look at camera
Johnny Depp (actor) chest up on gray background, look at camera
Will Smith (actor) chest up on gray background, look at camera
Robert De Niro (actor) chest up on gray background, look at camera
Al Pacino (actor) chest up on gray background, look at camera
@jcrist
jcrist / bench_init.py
Created January 23, 2023 17:14
A benchmark comparing init performance of various dataclass-like libraries
"""A quick benchmark comparing how quickly `__init__` with default values runs
for various dataclass-like libraries.
We also compare against the time it takes to initialize a `dict` or `tuple`
with the same data, as a "low-bar" for pure-python implementations.
"""
import timeit
import attrs
@AKCodez
AKCodez / claude-code-higgsfield-ugc-guide.md
Created April 13, 2026 18:26
Claude Code + Higgsfield — The Complete UGC Pipeline: Automate AI image & video generation with custom skills and Playwright browser automation

Claude Code + Higgsfield — The Complete UGC Pipeline

Automate the entire UGC ad creation workflow: character generation, image creation, and video production. No tab switching, no copy-pasting, no manual clicking. One command, full pipeline.


Overview

Claude Code is an AI assistant that runs in your terminal. Combined with Playwright MCP (a tool that gives Claude control over a real browser) and a library of custom skills, it can:

<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8" />
<script src="Scripts/jquery-1.9.1.min.js"></script>
<link href="Content/bootstrap.min.css" rel="stylesheet" />
<script src="Scripts/isRockFx.js"></script>
<script>
$(function () {
@0xdevalias
0xdevalias / _deobfuscating-unminifying-obfuscated-web-app-code.md
Last active August 30, 2026 05:25
Some notes and tools for reverse engineering / deobfuscating / unminifying obfuscated web app code