Alex Huang's Notebook
Monday, June 1, 2026
Sunday, May 31, 2026
[LLM] llmfit dynamically selecting appropriate models
Environment:
# uname -a
Linux demonalex-VirtualBox 7.0.0-14-generic #14-Ubuntu SMP PREEMPT_DYNAMIC Mon Apr 13 11:09:53 UTC 2026 x86_64 GNU/Linux
Installation:
# curl -fsSL https://llmfit.axjns.dev/install.sh | sh
Running:
# llmfit
Thursday, May 14, 2026
Check Gmail Postmaster Tools
Register your domain at postmaster.google.com to monitor:
Domain reputation
IP reputation
Authentication pass rates
Delivery errors in detail
Tuesday, May 12, 2026
Homoglyph Sproofing / Typo
"rn" -> "m"
"cl" -> "d"
"ci" -> "a"
"vv" -> "w"
"Il" -> "ll"
"1" -> "l"
"I" -> "l"
"nn" -> "m"
"M0N" -> "MON"
Monday, April 27, 2026
[LLM] llmster
Switch to a working folder:
# cd /usr/local/sbin
Show what kernel my VPC owns:
# uname -a
Linux demonalex-VirtualBox 7.0.0-14-generic #14-Ubuntu SMP PREEMPT_DYNAMIC Mon Apr 13 11:09:53 UTC 2026 x86_64 GNU/Linux
Install llmster:
# curl -fsSL https://lmstudio.ai/install.sh | bash
Add the following into /etc/profile:
export PATH="/root/.lmstudio/bin:$PATH"
Open a new terminal and execute the following to see the model list:
# lms get
Press Ctrl+C to end the showing.
Download the model:
# lms get google/gemma-4-e2b
Check if the model has already been downloaded:
# lms ls
Have an interactive chatbot:
# lms chat
Type "/exit" can exit the chatbot conversation.
Delete a downloaded model:
# cd ~/.lmstudio/models/lmstudio-community
# rm -Rf ./[MODEL]
Tuesday, April 21, 2026
[AI][ML][LLM]Run Llama 3B through Docker Model
Install necessary plugin:
# curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
# echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
# apt-get update
# apt-get install docker-model-plugin
Pull:
# docker model pull ai/llama3.2
Run in Interactive mode:
# docker model run ai/llama3.2
Exit Interactive mode:
> /bye
Run in Single-prompt mode:
# docker model run ai/llama3.2 "Explain how Docker containers work in one sentence."
-----Failed to carry out from here:
Enable OpenAI mode:
# docker desktop enable model-runner --tcp 12434
Test OpenAI:
# curl http://localhost:12434/engines/v1/models
Remotely use through OpenAI:
# curl http://localhost:12434/engines/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "ai/llama3.2",
"messages": [{"role": "user", "content": "Hello!"}]
}'
Monday, April 13, 2026
[Windows][Sniffer] Microsoft Pktmon command-based sniffer
#Add filter:
pktmon filter add MyFilter -i 192.168.215.11
#OR
pktmon filter add MyFilter -i 192.168.1.100 -p 443
pktmon filter add MyFilter -i 192.168.1.100 -p 443 -t tcp
#Start:
pktmon start --capture --log-mode real-time
#Stop:
pktmon stop
#Remove filter:
pktmon filter remove
