FIND YOUR NEXT FEW LINES

Results for “k”

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

1871 snippets foundClear filters
RustVectors & slices

Sort and remove repeated values

Sort and remove repeated values in a complete Rust program using the standard library.

Rust✓ Tested
GoSlices & collections

Sort integers in place

Sort integers in place using a complete Go program with explicit sample inputs.

Go✓ Tested
Linux CommandsSorting & joining records

Sort records by a delimited field

Linux Commands: Select the exact sort key to avoid including later columns.

Linux Commands✓ Tested
GoTesting & reusable helpers

Sort records by a selected field

Sort records by a selected field using a complete Go program with explicit sample inputs.

Go✓ Tested
SQLGetting Started

Sort the highest quantities first

SQL: Specify descending order and a stable tie breaker.

SQL✓ Tested
SQL ServerGetting Started

Sort the highest quantities first

SQL Server: Specify descending order and a stable tie breaker.

SQL Server✓ Tested
PostgresGetting Started

Sort the highest quantities first

Postgres: Specify descending order and a stable tie breaker.

Postgres✓ Tested
SQLiteGetting Started

Sort the highest quantities first

SQLite: Specify descending order and a stable tie breaker.

SQLite✓ Tested
C#Collections

Sort values with LINQ

Create an ascending sequence from C# integer values.

C#✓ Tested
CSSLayout

Space items with gap

Use CSS gap instead of margins between flex children.

CSS✓ Tested
CSSGrid placement

Span a grid item across multiple columns

CSS: Grid-column span counts tracks and includes the gaps between them.

CSS✓ Tested
CSSFlexbox alignment

Specify a flex item’s initial main size

CSS: Flex-basis establishes the starting main-axis size before growth or shrinkage.

CSS✓ Tested