Skip to content

Instantly share code, notes, and snippets.

@ekyo
ekyo / explain.zshrc
Created August 29, 2013 21:19
add the following to your .zshrc to be able to use 'explain' Example Use: > explain ls -ltrsa list directory contents -l use a long listing format -t sort by modification time, newest first -r, --reverse reverse order while sorting -s, --size print the allocated size of each file, in blocks -a, --all do not ignore entries starting with .
explain(){ curl -s $(echo "http://explainshell.com/explain/$1?args=${@:2}" | sed -e 's/ /+/g') |
sed -n '/<pre/,/<\/pre>/p' | sed -s 's/<[^>]*>//g' | sed -e 's/^ *//g;s/ *$//g' | grep '.' | cat }
@ekyo
ekyo / explain
Created August 30, 2013 11:47
Bash script for querying explainshell.com from the command line. Requires curl to be installed.
#!/bin/bash
URL=$(echo "http://explainshell.com/explain/$1?args=${@:2}" | sed -e 's/ /+/g')
curl -s "$URL" | sed -n '/<pre/,/<\/pre>/p' | sed -n '/<pre/,/<\/pre>/p' | sed -s 's/<[^>]*>//g' | \
sed -e 's/^ *//g;s/ *$//g' | grep '.' | cat
@ekyo
ekyo / PoE Notes.md
Last active February 16, 2023 21:22

PoE - Simple stuff to know

Bandits

Difficulty Kraityn Alira Oak Kill All
Normal +10% to all elemental resistances +60 base Mana +40 base Life 1 passive skill point
Cruel +8% Attack Speed +5% Cast Speed +16% Physical Damage 1 passive skill point
Merciless +1 Max Frenzy Charge +1 Max Power Charge +1 Max Endurance Charge 1 passive skill point

Vendor Recipes

Duelist

##Slayer ##Gladiator ##Champion #Shadow ##Assassin ##Saboteur ##Trickster #Marauder ##Juggernaut

{ "Aoluwei's Blade":
{ Venture:
{ Adventurer: {},
Blacksmith: {},
Zorro: {},
Guardian: {},
Condottiere: {},
Pinocchio: {},
Spy: {},
'Heavenly King': {},
@ekyo
ekyo / MC-E2Eu Notes.md
Last active September 27, 2024 10:21
MC-E2Eu Notes

These are my notes for E2Eu

JAVA Args

-Xms6G -Xmx6G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true