Skip to content

Instantly share code, notes, and snippets.

View facastagnini's full-sized avatar

Federico Castagnini facastagnini

View GitHub Profile
# Session End — Wrap-Up Procedure
You are performing an end-of-session wrap-up. Follow these steps in order. Be thorough but concise.
## Step 1: Understand What Happened
Review the full conversation history to build a clear picture of:
- What was accomplished this session
- What decisions were made
- What's still open or unfinished
#!/bin/zsh
input=$(cat)
IFS=$'\t' read -r MODEL DIR PCT <<< "$(echo "$input" | jq -r '[.model.display_name, .workspace.current_dir, (.context_window.used_percentage // 0 | tostring | split(".")[0])] | join("\t")')"
CYAN='\033[36m'
FG_LIGHT_GRAY='\033[38;5;7m'
FG_DARK_GRAY='\033[38;5;232m'
YELLOW='\033[33m'
RED='\033[31m'
@facastagnini
facastagnini / convert-aax-to-m4a.cmd
Last active December 1, 2017 03:11 — forked from r15ch13/convert-aax-to-m4a.cmd
Convert aax to m4a
@echo off
setlocal enableextensions
chcp 65001
set input=%1
set device=%2
set loglevel=quiet
for %%i in ("%~f1") do set dirname=%%~dpi
for %%i in ("%~f1") do set extension=%%~xi
set tempfile=%dirname%%RANDOM%-temp.m4a

Keybase proof

I hereby claim:

  • I am facastagnini on github.
  • I am fcastagnini (https://keybase.io/fcastagnini) on keybase.
  • I have a public key whose fingerprint is E208 0458 EAB2 7366 F665 EBD9 2093 7D81 760D 43DC

To claim this, I am signing this object: