Full tutorial to patch APKs on Android using apk-mitm and APKLab. Support for bundle APKs.
adb shell pm list packages
adb shell pm path <package_name>| # Download latest dotnet/codeformatter release from github | |
| $repo = "dotnet/codeformatter" | |
| $file = "CodeFormatter.zip" | |
| $releases = "https://api.github.com/repos/$repo/releases" | |
| Write-Host Determining latest release | |
| $tag = (Invoke-WebRequest $releases | ConvertFrom-Json)[0].tag_name |
| #!/bin/bash | |
| # | |
| # fs-reset.bash -- reset a directory tree's permissions | |
| # Set directories to 755 | |
| find . -type d -exec chmod 755 {} + | |
| # Set files to 644 | |
| find . -type f -exec chmod 644 {} + |
Spice up termux with beautiful themes and productivity plugins to make your life easier!
pkg install zsh git lsd vim
| """ | |
| The most atomic way to train and run inference for a GPT in pure, dependency-free Python. | |
| This file is the complete algorithm. | |
| Everything else is just efficiency. | |
| @karpathy | |
| """ | |
| import os # os.path.exists | |
| import math # math.log, math.exp |
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.
| alias oc="openclaw" | |
| alias occonfig="$EDITOR ~/.openclaw/openclaw.json" | |
| alias occ="openclaw channels list" | |
| alias occs="openclaw channels status" | |
| alias occl="openclaw channels logs" | |
| alias ocf="openclaw config" | |
| alias ocfg="openclaw config get" | |
| alias ocfs="openclaw config set" |
| @echo off | |
| setlocal enabledelayedexpansion | |
| set "SCRIPT_DIR=%~dp0" | |
| set "BEST_MAJOR=-1" | |
| set "BEST_MINOR=-1" | |
| set "BEST_PATCH=-1" | |
| set "BEST_NAME=" | |
| for /d %%D in ("%SCRIPT_DIR%scrcpy-win64-v*") do ( |
| #!/bin/sh | |
| set -fuC | |
| # --- USER CONFIG STARTS --- | |
| IN_KEYS="ingress|input|incoming|ollama" | |
| OUT_KEYS="egress|output|outgoing" | |
| SEC_KEYS="drop|deny|reject|block" | |
| # --- USER CONFIG ENDS --- | |
| show_help() { |