FIND YOUR NEXT FEW LINES

Results for “tar”

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

1058 snippets foundClear filters
TypeScriptUTC date operations

Read an ISO-style weekday number

TypeScript: Convert Sunday from zero to seven when using Monday-through-Sunday numbering.

TypeScript✓ Tested
TypeScriptObject behavior & collections

Read an object’s own enumerable values

TypeScript: Object.values provides values without their corresponding keys.

TypeScript✓ Tested
Arduino / CDigital signals & interrupts

Read an unpressed button with an internal pull-up

Arduino / C: An open input configured with INPUT_PULLUP reads high.

Arduino / C✓ Tested
Arduino / CEEPROM & program memory

Read and total a flash lookup table

Arduino / C: Array size can be computed at compile time even for a flash-resident table.

Arduino / C✓ Tested
Arduino / CDigital signals & interrupts

Read back a configured digital output

Arduino / C: digitalRead observes the pin’s digital level after an output write.

Arduino / C✓ Tested
GitCommit history & revision selection

Read commit subjects affecting one file

Git: Place the path after -- so Git limits history to the selected file.

Git✓ Tested
GitCommit history & revision selection

Read commit subjects from oldest to newest

Git: Reverse the normal newest-first history order.

Git✓ Tested
TypeScriptUTC date operations

Read date components in UTC

TypeScript: UTC accessors avoid differences caused by the machine’s local timezone.

TypeScript✓ Tested
TypeScriptRegular expressions & URL encoding

Read named regex capture groups

TypeScript: Named groups make a fixed input format easier to inspect than numeric group positions.

TypeScript✓ Tested
Arduino / CSerial communication

Read one character from serial input

Wait for an incoming byte without blocking the main loop.

Serial.available✓ Tested
Docker / ComposeContainer commands

Read output from a completed container

Retrieve the stdout captured by Docker.

logs✓ Tested
GitCommits & history

Read recent commit messages

View a compact history in newest-first order.

log✓ Tested