FIND YOUR NEXT FEW LINES

Results for “ini”

Small, practical examples. Search by task or narrow things down below.

173 snippets foundClear filters
HTMLNative disclosure & dialogs

Start a disclosure open while keeping it collapsible

HTML: The open attribute sets the initial details state without JavaScript.

HTML✓ Tested
jQueryAnimation completion

Stop current animation and discard later work

jQuery: stop with clearQueue and jumpToEnd finishes the current animation and removes pending ones.

jQuery✓ Tested
JavaScriptArrays

Sum numeric values

Provide an initial accumulator for JavaScript reduce, including empty arrays.

JavaScript✓ Tested
TypeScriptCollections & records

Sum typed values with reduce

Accumulate numeric array elements.

reduce✓ Tested
C++Numbers & algorithms

Sum vector values

Use std::accumulate with a wide initial value.

C++✓ Tested
GitRestoring & revising local work

Uncommit a local change and leave its edits unstaged

Git: A mixed reset resets the index while retaining working-file contents.

Git✓ Tested
Arduino / CGetting Started

Understand setup() and loop()

Arduino / C: See initialization run once and the main loop run repeatedly.

Arduino / C✓ Tested
PythonGetting Started

Update a running count

Python: Change a variable after its initial value has been assigned.

Python✓ Tested
C#Getting Started

Update a running count

C#: Change a variable after its initial value has been assigned.

C#✓ Tested
JavaGetting Started

Update a running count

Java: Change a variable after its initial value has been assigned.

Java✓ Tested
JavaScriptGetting Started

Update a running count

JavaScript: Change a variable after its initial value has been assigned.

JavaScript✓ Tested
TypeScriptGetting Started

Update a running count

TypeScript: Change a variable after its initial value has been assigned.

TypeScript✓ Tested