Tuesday, May 19, 2026

Create a cheap DIY CFexpress Type B storage using an M.2 NVMe 2230 SSD drive

I recently found a way to save significantly on CFexpress Type B storage and wanted to share the details with you. While looking for storage for my new camera, I realized that CFexpress is essentially a repackaged NVMe SSD, despite the high retail price.

I successfully built a 2TB CFexpress Type B card for $314, compared to the $1,200+ retail cost (e.g. OWC Atlas Ultra 2.0TB), using the following components:
For my Canon EOS R6 Mark III to recognize the drive, I initialized it using MBR partitioning (rather than GPT) and formatted it to exFAT. In benchmarks, the drive sustained over 1GB/sec read and write speeds, which easily exceeds the VPG-400 requirement of 400MB/sec.

I hope this DIY solution helps you get the storage you need at a much better price. Let me know if you have any questions!

Thursday, May 7, 2026

Update firmware in Debian

To install available firmware updates in Debian, do the following:

sudo apt install fwupd

sudo fwupdmgr refresh

sudo fwupdmgr get-upgrades

sudo fwupdmgr update


Sunday, February 15, 2026

Run Ollama with Open WebUI inside a Docker container and make them accessible from outside

docker run -d -p 11434:11434 -p 3000:8080 --gpus all -e OLLAMA_HOST=0.0.0.0 -e OLLAMA_FLASH_ATTENTION=1 -e OLLAMA_KEEP_ALIVE=-1 -e OLLAMA_KV_CACHE_TYPE=q4_0 -e OLLAMA_BASE_URLS=http://0.0.0.0:11434 -v /data/ollama/.ollama:/root/.ollama -v open-webui:/app/backend/data --name open-webui --restart always --pull always ghcr.io/open-webui/open-webui:ollama


Monday, February 9, 2026

Useful MCP servers for Claude Code

For web content scraping

claude mcp add playwright npx @playwright/mcp@latest


Monday, February 2, 2026

Speed-up XRDP on Debian

Edit /etc/xrdp/xrdp.ini

Locate tcp_send_buffer_bytes and change to:

tcp_send_buffer_bytes=4194304


sudo sysctl -w net.core.wmem_max=8388608

Create /etc/sysctl.d/xrdp.conf file and add the following:

net.core.wmem_max = 8388608


Wednesday, January 28, 2026

Upgrade to Windows 11 on unsupported hardware

  1. Download Windows 11 ISO
  2. Disable networking
  3. Mount the ISO
  4. Open a Command Prompt and run:
    • X:\sources\setupprep.exe /product server