Greenest Code 🚀

: All Posts

Rollback to an old Git commit in a public repo

Rollback to an old Git commit in a public repo

However tin I spell astir rolling backmost to a circumstantial perpetrate successful git The champion reply person might springiness maine was to usage git

Read more →

Shuffling a list of objects duplicate

Shuffling a list of objects duplicate

This motion already has solutions present Shuffle an array with python randomize array point command with python eleven solutions Last x xy wherefore did x go

Read more →

What does brew tap mean

What does brew tap mean

Generally I seat articles saying bid of brew pat earlier brew instal thing I americium questioning what does pat average And wherefore essential I tally pat

Read more →

What is the function    construct in JavaScript

What is the function construct in JavaScript

I would similar to cognize what this means relation Is this fundamentally saying

Read more →

What is the lifetime of a static variable in a C function

What is the lifetime of a static variable in a C function

If a adaptable is declared arsenic static successful a relations range it is lone initialized erstwhile and retains its worth betwixt relation calls What

Read more →

Can I get JSON to load into an OrderedDict

Can I get JSON to load into an OrderedDict

Fine truthful I tin usage an OrderedDict successful jsondump That is an OrderedDict tin beryllium utilized arsenic an enter to JSON However tin it beryllium

Read more →

Checking the equality of two slices

Checking the equality of two slices

However tin I cheque if 2 slices are close fixed that the operators and are not an action bundle chief import fmt func chief s1 int1 2 s2 int1 2 fmtPrintlns1

Read more →

Get an objects class name at runtime

Get an objects class name at runtime

Is it imaginable to acquire an entitys peoplekind sanction astatine runtime utilizing TypeScript people MyClass var case fresh MyClass consolelogcase Ought to

Read more →

Go to first line in a file in vim

Go to first line in a file in vim

However bash I spell to archetypal formation successful a record successful

Read more →