Paste this into your coding agent (Cursor, Claude Code, etc.) from the root of your React app.
---# Build a "Design Mode" for your app
Paste this into your coding agent (Cursor, Claude Code, etc.) from the root of your React app.
| Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://php.new/install/windows')) |
| -- Sakila Sample Database Schema | |
| -- Version 1.0 | |
| -- Copyright (c) 2006, 2015, Oracle and/or its affiliates. | |
| -- All rights reserved. | |
| -- Redistribution and use in source and binary forms, with or without | |
| -- modification, are permitted provided that the following conditions are met: | |
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.
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.
| /** @module WebHook */ | |
| const express = require ("express"); | |
| const __PORT__ = 8000; | |
| const app = express (); | |
| // Middleware to automatically parse JSON bodies | |
| app.use (express.json ()); | |
| /** |
| <!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 () { |
| import sys, glob, shutil | |
| #just pass root folder as agrgument. eg. py android delete.py ~/Muisc | |
| def resize_aspect_fit(args): | |
| #print(args[0]) | |
| for path in glob.glob(f'{args[0]}/*/**/build', recursive=True): | |
| try: | |
| print(path) | |
| shutil.rmtree(path) | |
| except OSError as e: |
| CLIENT_IP=$1 | |
| cmd="ip route get 8.8.8.8" | |
| echo $cmd | |
| DEV=$(eval $cmd | grep via | awk '{print $5}') || exit 1 | |
| cmd="iptables -F" | |
| echo $cmd | |
| eval $cmd |