Skip to content

Instantly share code, notes, and snippets.

View zonca's full-sized avatar

Andrea Zonca zonca

View GitHub Profile
@zonca
zonca / README.md
Last active April 28, 2026 15:56
AI Tools Updater - Shell function to update all AI coding assistants at once

AI Tools Updater

A shell function that updates all your AI coding assistants and tools in one command.

Features

  • Updates multiple AI coding tools via npm and native CLI commands
  • Shows before/after version comparison for all tools
  • Handles both npm packages and standalone CLI tools
  • Supports apt system package upgrades
@zonca
zonca / executed_notebook.ipynb
Last active March 25, 2026 01:16
Free-free f2 notebook (executed, nside=2048) - PR #251
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@zonca
zonca / healpy_harmonic_ud_grade_d10_demo.ipynb
Created March 24, 2026 21:12
healpy harmonic_ud_grade d10 demo notebook
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@zonca
zonca / healpy_harmonic_ud_grade_aliasing_demo.ipynb
Created March 24, 2026 21:12
healpy harmonic_ud_grade aliasing demo notebook
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@zonca
zonca / healpy_harmonic_ud_grade_power_law_demo.ipynb
Created March 24, 2026 21:12
healpy harmonic_ud_grade power law demo notebook
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@zonca
zonca / healpy_harmonic_ud_grade_aliasing_demo.ipynb
Created March 10, 2026 22:42
healpy harmonic_ud_grade aliasing demo notebook
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@zonca
zonca / healpy_harmonic_ud_grade_power_law_demo.ipynb
Created March 10, 2026 22:42
healpy harmonic_ud_grade power law demo notebook
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@zonca
zonca / healpy_harmonic_ud_grade_d10_demo.ipynb
Created March 10, 2026 22:42
healpy harmonic_ud_grade d10 demo notebook
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@zonca
zonca / executed_small_scale_freefree_f2_generate_template.ipynb
Created March 10, 2026 17:26
Executed PySM f2 model free-free small-scale generation template
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@zonca
zonca / up.sh
Created February 24, 2026 16:34
Bash function to update system and npm packages with version reporting
up() {
local npm_pkgs=("@google/gemini-cli" "@openai/codex" "opencode-ai" "@charmland/crush")
declare -A old_vers
echo "Checking current versions..."
# Track npm versions
for p in "${npm_pkgs[@]}"; do
old_vers["npm:$p"]=$(npm list -g $p --depth=0 2>/dev/null | grep $p | rev | cut -d@ -f1 | rev || echo "N/A")
done