Results for “od”
Small, practical examples. Search by task or narrow things down below.
Set consistent widths for table columns
HTML: A colgroup applies presentation to whole columns without repeating styles on every cell.
HTML✓ Tested
Share signal state through an injected service
Share signal state through an injected service with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Show a bounded measurement
Display a measured value within a known range using HTML meter.
HTML✓ Tested
Show a bounded preview and remaining count
Show a bounded preview and remaining count with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Show determinate progress
Represent known completion with an HTML progress element.
HTML✓ Tested
Show progress with a native element
HTML: Learn how to show progress with a native element in a complete browser example.
HTML✓ Tested
Show the current value of a range input
HTML: Mirror range input events into a labeled output for a native slider.
HTML✓ Tested
Skip selected iterations in a loop
Bash Scripts: Continue starts the next iteration without running the remaining loop body.
Bash Scripts✓ Tested
Sort a derived copy of a collection
Sort a derived copy of a collection with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Sort and deduplicate values
Produce an ordered list without duplicates.
Sort-Object✓ Tested
Sort numbers numerically
Supply a numeric comparator instead of JavaScript string sorting.
JavaScript✓ Tested
Sort timestamp strings by their parsed instants
JavaScript: Compare epoch values explicitly when date strings may contain different offsets.
JavaScript✓ Tested