Skip to content

Instantly share code, notes, and snippets.

Firmware

There are multiple interesting files bundled in the DIRECTOR firmware update tool.

The findings here are so far limited to the old version "1.77 / 2.11 (DSP PC-Tool 4.75a to 4.80c)". I didn't realize I downloaded the older one until writing this (oops). That said most of this is probably still valid, but firmware "3.00 (DSP PC-Tool 5 or higher)" is likely to have support/params for more models.

Extracing the 1.77 installer, these files look interesting:

   599 Dec 19  2018 Bootloader_gfx.tcl
 602 Dec 19 2018 Bootloader_gfx_aco.tcl
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active November 9, 2026 22:43
Conventional Commits Cheatsheet
@HalbFettKaese
HalbFettKaese / minecraft-mipmapping.md
Last active November 9, 2026 22:40
Mipmapping in Minecraft

Mipmapping in Minecraft - Pitfalls and Solutions

TL;DR:

For block/item models, only use texture sizes where width and height are multiples of 16, and be careful when selecting regions that do not align with the 16x16 grid to be displayed on a face of the model.

A comparison of using no mipmapping versus default mipmapping (enlarged image for more obvious results): Mipmapping off/on

@meooxx
meooxx / 宇宙内都好用的clash配置.yaml
Last active November 9, 2026 22:32
clash 配置模版, 内置多策略分组(精选emoji)+去广告+最新链式代理模版配置, 最大优势则是支持同时添加分组多个订阅源, 且真正意义上的防治dns泄漏,具体说明https://github.com/meooxx/blog/issues/31
# 1 只需要修改 proxy-providers, 将订阅配置到 provider1 这样的分组里面, 添加一个自定义后缀, 用于防止同一个机场下不同协议,
# 节点名称却相同导致的覆盖. 同一机场下如 trojan 订阅和 vless 订阅 节点名称相同, 此时不加后缀, 会被覆盖
# 同理添加第二, 第三个订阅只需复制 provider1, 修改为 provider2 和其对应 url 和 additional-suffix 字段
# 2 支持自建节点, 可将自建节点链接添加到 myown, url中, myown 名字最好不要更改, 或者同时修改引用的地方如 chainProxy
# 3 另外注释了一个链式代理配置, 可按需配配. 思路是将需要链式代理的订阅单独配置一个 provider, 然后在分组那里使用 use 字段获取该分组下节点, 并使用 override
# 添加 dialer-proxy 字段
# 4 修改完成后, 在clash 客户端导入该配置

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.

@MasonFlint44
MasonFlint44 / README.md
Created March 5, 2023 19:27
Install split APKs on Android with ADB

Install split APKs on Android with ADB

These two scripts allow you to install split APK files on an Android device using ADB (Android Debug Bridge).

Prerequisites

Before you can use these scripts, you'll need the following:

  • An Android emulator or device
  • ADB installed
@sr229
sr229 / url-encode.lua
Last active November 9, 2026 22:20 — forked from liukun/url-encode.lua
char_to_hex = function(c)
return string.format("%%%02X", string.byte(c))
end
function urlencode(url)
if url == nil then
return
end
url = url:gsub("\n", "\r\n")
url = url:gsub("([^%w ])", char_to_hex)
@sr229
sr229 / che-electron.sh
Created April 3, 2017 04:22
Script to open Eclipse Che electron app, together with the server (as docker image)
#!/bin/sh
# check if docker is working
docker ps &> /dev/null
if [ $? -ne 0 ]; then
echo "[ERROR]\tCannot connect to the Docker daemon. Is the docker daemon running on this host?" 1>&2
return 1
fi
CONTAINER="che"
@sr229
sr229 / quark_music.js
Created August 2, 2016 05:30
full music bot written in eris. at this moment it only supports playing in one guild at a time, but this can be fixed very easily.
'use strict';
const Eris = require("eris");
const ytdl = require('ytdl-core');
var bot = new Eris.CommandClient("token", {}, {
description: "The Quantum MusicBot.",
owner: "Gus",
prefix: "q!"
});
@ChristopherA
ChristopherA / brew-bundle-brewfile-tips.md
Last active November 9, 2026 22:20
Brew Bundle Brewfile Tips

Brew Bundle Brewfile Tips

Copyright & License

Unless otherwise noted (either in this file or in a file's copyright section) the contents of this gist are Copyright ©️2020 by Christopher Allen, and are shared under spdx:Creative Commons Attribution Share Alike 4.0 International (CC-BY-SA-4.) open-source license.

Sponsor

If you more tips and advice like these, you can become a monthly patron on my GitHub Sponsor Page for as little as $5 a month; and your contributions will be multipled, as GitHub is matching the first $5,000! This gist is all about Homebrew, so if you like it you can support it by donating to them or becoming one of their Github Sponsors.