Skip to content

Instantly share code, notes, and snippets.

View mfnalex's full-sized avatar
🌈

mfnalex mfnalex

🌈
View GitHub Profile
@aadnk
aadnk / CancellationDetector.java
Last active April 23, 2025 02:06
A class that allows you to detect which plugin cancelled a given event.
package com.comphenix.example;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.EnumMap;
import java.util.Iterator;
import java.util.List;
import org.bukkit.event.Cancellable;
@reinvanoyen
reinvanoyen / terminal-prompt-git-branch-zsh.md
Last active June 6, 2025 06:58
Add Git Branch Name to Terminal Prompt (MacOS zsh)

Add Git Branch Name to Terminal Prompt (zsh)

Updated for MacOS with zsh

  • Catalina
  • Big Sur
  • Monterey
  • Ventura
  • Sonoma

screenshot

@lolarobins
lolarobins / asciigentootrans
Created April 18, 2022 19:57
Trans Gentoo Ascii (0 14 13 7)
${c1} -/oyddmdhs+:.
-o${c2}dNMMMMMMMMNNmhy+${c1}-`
-y${c2}NMMMMMMMMMMMNNNmmdhy${c1}+-
`o${c2}mMMMMMMMMMMMMNmdmmmmddhhy${c1}/`
om${c3}MMMMMMMMMMMN${c1}hhyyyo${c3}hmdddhhhd${c1}o`
.y${c3}dMMMMMMMMMMd${c1}hs++so/s${c3}mdddhhhhdm${c1}+`
oy${c3}hdmNMMMMMMMN${c1}dyooy${c3}dmddddhhhhyhN${c1}d.
:o${c4}yhhdNNMMMMMMMNNNmmdddhhhhhyym${c1}Mh
.:${c4}+sydNMMMMMNNNmmmdddhhhhhhmM${c1}my
/m${c4}MMMMMMNNNmmmdddhhhhhmMNh${c1}s: