April 2026 TLDR setup for Ollama + Gemma 4 on a Mac mini (Apple Silicon) — auto-start, preload, and keep-alive
- Mac mini with Apple Silicon (M1/M2/M3/M4/M5)
- At least 16GB unified memory for Gemma 4 (default 8B)
- macOS with Homebrew installed
April 2026 TLDR setup for Ollama + Gemma 4 on a Mac mini (Apple Silicon) — auto-start, preload, and keep-alive
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| # patch-claude-code.sh — Rebalance Claude Code prompts to fix corner-cutting behavior | |
| # | |
| # What this does: | |
| # Patches the npm-installed @anthropic-ai/claude-code cli.js to rebalance | |
| # system prompt instructions that cause the model to cut corners, simplify | |
| # excessively, and defer complicated work. | |
| # |
| #!/usr/bin/env bash | |
| # | |
| # bootstrap.sh - macOS 輕量終端開發環境一鍵安裝腳本 | |
| # 包含:Ghostty + zellij + yazi + lazygit + fastfetch + Neovim/LazyVim + 現代工具 + oh-my-zsh | |
| # 語言環境:Python(uv/pipx)、Go、Rust(rustup)、Java(Liberica 20 Full+JavaFX)、Node(pnpm+bun)、Ruby | |
| # | |
| # 用法:curl -fsSL https://gist.githubusercontent.com/fuzzbuster/a117689823ba87c27437a44129253dcb/raw/1b2e930ad152a7ceb9fbb7df581b304e2d1685a0/macos_bootstrap.sh | bash | |
| # 或 bash bootstrap.sh | |
| # | |
| # 可重複執行,不會重複安裝或破壞既有配置 |
A complete guide to set up a modern, powerful terminal environment for developers on macOS.
This guide explains how to grant the Flatpak version of Visual Studio Code access to Podman (for Dev Containers) and the KWallet keyring (for GitHub Copilot) on Bazzite KDE.
Since VS Code runs in a sandbox, it cannot directly access the host's Podman binary. We use host-spawn to bridge this gap.
| #Requires -Version 5.1 | |
| <# | |
| .SYNOPSIS | |
| BootstrapUtils - Reusable PowerShell utilities for Windows bootstrap and configuration | |
| .DESCRIPTION | |
| This module provides common utilities for: | |
| - Logging with consistent formatting | |
| - Admin privilege management | |
| - Scoop package manager operations |
A bash script to detect indicators of compromise from the SHA1-hulud npm supply chain attack.
SHA1-hulud is a supply chain attack targeting npm packages discovered in late 2025. Attackers compromise legitimate npm maintainer accounts and publish malicious versions that execute code during npm install.
Reference: https://thehackernews.com/2025/11/second-sha1-hulud-wave-affects-25000.html