Skip to content

Instantly share code, notes, and snippets.

View katsaii's full-sized avatar
🟣
Icon by NightMargin

Katt katsaii

🟣
Icon by NightMargin
View GitHub Profile
@rm3l
rm3l / git-filter-repo-change-commit-email.sh
Created May 1, 2022 22:53
git-filter-repo - changing author and committer email in multiple commits
#!/bin/sh
# Install git-filter-repo, as suggested by git docs: https://git-scm.com/docs/git-filter-branch#_warning
git filter-repo --commit-callback '
old_email = b"your-old-email@example.com"
correct_name = b"Your Correct Name"
correct_email = b"your-correct-email@example.com"
if commit.committer_email == old_email :
@iwillspeak
iwillspeak / LLVM From Rust.md
Last active August 15, 2025 17:32
Example of using LLVM from Rust

An Example of Using LLVM from Rust

This example compiles a simple function using the LLVM C API through the llvm-sys crate.