updated 2024-09-20
Version 2409? (Build 16.0.17928.20148)
| diff --git a/Makefile b/Makefile | |
| index 578194f..9ae2f63 100644 | |
| --- a/Makefile | |
| +++ b/Makefile | |
| @@ -21,8 +21,15 @@ dwl: dwl.o util.o | |
| $(CC) dwl.o util.o $(DWLCFLAGS) $(LDFLAGS) $(LDLIBS) -o $@ | |
| dwl.o: dwl.c client.h config.h config.mk cursor-shape-v1-protocol.h \ | |
| pointer-constraints-unstable-v1-protocol.h wlr-layer-shell-unstable-v1-protocol.h \ | |
| - wlr-output-power-management-unstable-v1-protocol.h xdg-shell-protocol.h | |
| + wlr-output-power-management-unstable-v1-protocol.h \ |
| #!/bin/sh | |
| alias bind-key="riverctl map normal" | |
| alias bind-mouse="riverctl map-pointer normal" | |
| alias borderwidth="riverctl border-width" | |
| export W=Super | |
| export S=Shift | |
| export A=Alt | |
| export C=Control |
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.
| # Note | |
| # I am using Raspberry pi 4 to send CEC commands | |
| # /dev/cec1 is pi's second HDMI port | |
| # '4' is PS5 address that TV assigned, change if you need | |
| # Turn on PS5 (You need to enable "Power off Link" at PS5 HDMI settings to turn on from rest mode) | |
| cec-ctl -d /dev/cec1 --to 4 --user-control-pressed ui-cmd=power-on-function | |
| # Turn on PS5 from rest mode (When you didn't enable "Power off Link" at PS5 HDMI settings) | |
| cec-ctl -d /dev/cec1 --to 4 --user-control-pressed ui-cmd=power-toggle-function |
| Misc MACs: | |
| Num MAC Vendor | |
| --- --- ------ | |
| 0000 - 00:00:00 - XEROX CORPORATION | |
| 0001 - 00:00:01 - XEROX CORPORATION | |
| 0002 - 00:00:02 - XEROX CORPORATION | |
| 0003 - 00:00:03 - XEROX CORPORATION | |
| 0004 - 00:00:04 - XEROX CORPORATION | |
| 0005 - 00:00:05 - XEROX CORPORATION | |
| 0006 - 00:00:06 - XEROX CORPORATION |
This document describes the working setup for running the native Antigravity CLI (agy) on Android Termux.
The main goal is to run the official Linux ARM64 Antigravity binary directly from Termux without Cloud Shell, without a full VM, and without replacing Android. The setup uses a small binary patch plus a wrapper that adapts the Linux/glibc binary to Termux's Android environment.
The method is designed to be repeatable for future Antigravity releases. The patch script scans instruction patterns instead of relying on fixed offsets. If Antigravity changes its allocator code generation in the future, the script will print warning counts instead of silently claiming success.
Antigravity's Linux ARM64 binary can fail on Termux for multiple independent reasons.
| export default { | |
| async fetch(request, env, ctx) { | |
| const url = new URL(request.url); | |
| // 处理 API 请求:支持 POST (/api/add-ssl) 和 GET (/?...) | |
| if ( | |
| (url.pathname === '/api/add-ssl' && request.method === 'POST') || | |
| (url.pathname === '/' && request.method === 'GET' && url.searchParams.has('zoneId')) | |
| ) { | |
| return handleApiRequest(request, url.searchParams); |
| javascript: ( function(){ | |
| /*What you want to do goes here */ | |
| alert(window.location); | |
| })(); | |
| For SmartObject execution: | |
| javascript:(function(){ | |
| let urlParams = new URLSearchParams(window.location.hash); | |
| $(".lyt-explorer-maincontent").after('<div><a onclick="$(this).parent().remove()">close</a><br/><iframe src="' | |
| + window.location.origin + '/Management/Runtime/Form.aspx?_ID=2ae83f85-6336-49f1-a9e5-fe78b220f6c4&smartobjectguid=' |