Skip to content

Instantly share code, notes, and snippets.

View NotGeri's full-sized avatar
Vibing to music

Geri NotGeri

Vibing to music
View GitHub Profile
@zanzlanz
zanzlanz / svg2ae.py
Last active January 20, 2024 18:14
Convert a single SVG stroke to an After Effects path to paste (Windows)
import win32clipboard #pip install pywin32
#This was intended as a one-off to simplify the process of copying a single basic pen stroke from Figma into an After Effects path.
#Hacked together by Zanzlanz
#Notes:
#- It gets the first path ONLY
#- It assumes ONE pen stroke (meaning, one 'm'ove command followed by only 'c'urve commands)
#- Results will be upside-down in AE, just flip it
#- Transforms are not considered, etc. etc.. It's just the raw numbers, I tell you
@CarbonGhost
CarbonGhost / a_optifine-alternatives.md
Last active January 22, 2025 21:06
CarbonGhost's recommended OptiFine alternatives

CarbonGhost's OptiFine alternatives

This is my personal list of OptiFine replacements. Although other lists exist, this list aims to be an simple feature replacement list that aims not to overwhelm you.

This list was written with 1.18 and 1.17 in mind, but many mods should still be available for 1.16 and 1.15. The critiques of OptiFine aren't relevant to a specific version of the game.

@trenutoo
trenutoo / migrate-pterodactyl.md
Last active November 1, 2025 00:05
Pterodactyl panel and wings migration

Pterodactyl Migration

Migrating panel

  1. Backup your hidden .env file containing the decryption APP_KEY from /var/www/pterodactyl

  1. Export the database, in this case ours is named panel
@stonar96
stonar96 / Anti-Xray.md
Last active September 11, 2025 07:13
Recommended Paper Anti-Xray settings by stonar96

❗ This has been moved to the official PaperMC docs ❗

Link: https://docs.papermc.io/paper/anti-xray

Help: https://discord.gg/papermc






Recommended Paper Anti-Xray settings by stonar96

General

Anti-Xray can be configured per world in the paper.yml configuration file. To understand how per world configuration works please read this first. Note that after changing any settings for Anti-Xray you have to restart your server. Executing the /reload command (you should never do this) won't apply the settings to worlds that are already loaded.

@Drovolon
Drovolon / 1.14.x-chunk-loading-final.md
Created August 11, 2019 14:36
An overview of chunk loading mechanics in Minecraft 1.14, tested empirically in 1.14.4.

1.14.x Chunk Loading

Chunk loading operates differently in 1.14 than in previous Minecraft versions. This document is intended to be an overview of the 1.14 system.

In 1.14, chunk loading starts with tickets. A ticket is:

  • a ticket type
  • a load level
  • optionally, a time-to-live
@tuanpht
tuanpht / php-artisan-bash-completion.md
Last active June 9, 2025 10:37 — forked from jhoff/README.md
Bash-only Laravel Artisan tab auto-complete

If you are an Oh-my-zsh user, see the Laravel 5 plugin

For the rest of us Bash users, all of the Laravel Artisan autocomplete solutions out there require installing a composer package to get a list of artisan commands. Turns out this isn't really necessary. Simply add the provided code in ~/.bash_profile ( or similarly sourced file ) and you'll get artisan command tab completes on any project on your system.

_artisan()
{
    local arg="${COMP_LINE#php }"

    case "$arg" in
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active November 1, 2025 14:03
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

Code Key
0 KEY_NONE
1 KEY_ESCAPE
2 KEY_1
3 KEY_2
4 KEY_3
5 KEY_4
6 KEY_5
7 KEY_6
8 KEY_7
@olmokramer
olmokramer / css-color-regex
Last active December 19, 2024 11:23
Regex for CSS colors: hex, rgb(a), hsl(a)
/(#([0-9a-f]{3}){1,2}|(rgba|hsla)\(\d{1,3}%?(,\s?\d{1,3}%?){2},\s?(1|0?\.\d+)\)|(rgb|hsl)\(\d{1,3}%?(,\s?\d{1,3}%?\)){2})/i
@roachhd
roachhd / README.md
Last active October 27, 2025 12:31
Basics of BrainFuck

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

BrainFuck Programming Tutorial by: Katie

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

INTRODUCTION