Skip to content

Instantly share code, notes, and snippets.

View FoxieFlakey's full-sized avatar
💭
Little Foxie sitting here UwU

Derpy Foxie Plush FoxieFlakey

💭
Little Foxie sitting here UwU
View GitHub Profile
@mandiwise
mandiwise / Count lines in Git repo
Last active July 4, 2024 16:56
A command to calculate lines of code in all tracked files in a Git repo
// Reference: http://stackoverflow.com/questions/4822471/count-number-of-lines-in-a-git-repository
$ git ls-files | xargs wc -l
@arslancharyev31
arslancharyev31 / C_v1.bnf
Created October 14, 2017 15:32
C .bnf grammar. Version 1.
{
tokens=[
space='regexp:\s+'
identifier='regexp:[a-zA-Z][a-zA-Z0-9_]*'
integer-constant='regexp:\d+'
character-constant='regexp:[a-zA-Z]'
floating-constant='regexp:[+-]?([0-9]*[.])?[0-9]+f'
enumeration-constant='regexp:[a-zA-Z][a-zA-Z0-9_]*' // Same as identifier
]
can pathfind over/through fluid
corals plants and blocks !-> dead coral plants and blocks
plants will be hydrated near fluid
concrete powder -> concrete with fluid
conduit waterlogging
farmland moisture near to fluid
cobblestone and obsidian generation with lava + fluid
whether kelp can generate in the fluid
magma + fluid fizz
respawn anchor explosion resistance uses water block resistance