Skip to content

Instantly share code, notes, and snippets.

@sohei1l
sohei1l / claude-revert-checkpoint.md
Last active July 15, 2025 08:19
CLAUDE.md rule for Git based Undo/Checkpoint in Claude Code

⚠️ MANDATORY SESSION RULES - MUST FOLLOW IMMEDIATELY

IMPORTANT: At the VERY START of any coding task, you MUST:

  1. Create a new branch using the format: claude-session-YYYYMMDD-[topic]
  2. Push the branch to origin
  3. Start committing changes immediately

Session Workflow

Starting a Session

@ewancook
ewancook / bellman_ford.go
Last active March 9, 2024 08:14
Arbitrage with Bellman Ford
package bellmanford
import (
"math"
)
// Graph represents a graph consisting of edges and vertices
type Graph struct {
edges []*Edge
vertices []uint
@cgcardona
cgcardona / example-scripts.md
Last active September 16, 2018 14:33
Examples of all standard Bitcoin Cash transaction types including custom scripts written w/ OP codes created w/ BITBOX
@Jamesits
Jamesits / tg-cli-Ubuntu.sh
Last active June 28, 2019 09:34
How to compile tg-cli on macOS 10.12
#!/bin/bash
# for Ubuntu
sudo apt-get install build-essential libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev libjansson-dev libpython-dev make
git clone https://github.com/vysheng/tg.git --recursive
cd tg
./configure
make
@tsiege
tsiege / The Technical Interview Cheat Sheet.md
Last active December 5, 2025 18:04
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

ANNOUNCEMENT

I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!






\