Skip to content

Instantly share code, notes, and snippets.

View fritzprix's full-sized avatar
🎯
Focusing

DooWoong Lee (David) fritzprix

🎯
Focusing
View GitHub Profile
@fritzprix
fritzprix / llm-commit.sh
Last active January 12, 2025 09:47
🤖 Generate git commit messages automatically using local LLM (Ollama). Simple bash script that analyzes your git diff and creates meaningful commit messages. No API keys, no cloud - runs locally with Ollama.
#!/bin/bash
# Get the git diff and save it to a temporary file
git diff --cached > /tmp/git_diff.txt
# If there's no diff, exit
if [ ! -s /tmp/git_diff.txt ]; then
echo "No staged changes to commit"
exit 1
fi
@fritzprix
fritzprix / deploy.gradle
Last active July 7, 2021 21:39
deploy.github.gradle
import java.nio.charset.StandardCharsets
apply plugin: 'maven'
repositories {
maven { url "https://raw.github.com/fritzprix/wagon-git/releases" }
}
configurations {
deployLibrary