FIND YOUR NEXT FEW LINES

Results for “get”

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

848 snippets foundClear filters
ReactGetting Started

Update an object without mutating state

Update an object without mutating state with a small React component and explicit browser behavior.

React✓ Tested
SQLGetting Started

Update one row using its primary key

SQL: Use a precise WHERE condition to change only the intended row in a scratch table.

SQL✓ Tested
SQL ServerGetting Started

Update one row using its primary key

SQL Server: Use a precise WHERE condition to change only the intended row in a scratch table.

SQL Server✓ Tested
PostgresGetting Started

Update one row using its primary key

Postgres: Use a precise WHERE condition to change only the intended row in a scratch table.

Postgres✓ Tested
SQLiteGetting Started

Update one row using its primary key

SQLite: Use a precise WHERE condition to change only the intended row in a scratch table.

SQLite✓ Tested
ReactGetting Started

Update state from its previous value

Update state from its previous value with a small React component and explicit browser behavior.

React✓ Tested
GoGetting Started

Use a condition-only for loop

Use a condition-only for loop using a complete Go program with explicit sample inputs.

Go✓ Tested
Bash ScriptsGetting Started

Use a counted Bash loop

Bash Scripts: Use a counted Bash loop with a small standalone Bash program.

Bash Scripts✓ Tested
PowerShellGetting Started

Use a counted loop

PowerShell: Use a counted loop using PowerShell 7.

PowerShell✓ Tested
Bash ScriptsGetting Started

Use a fallback for an unset variable

Bash Scripts: Use a fallback for an unset variable with a small standalone Bash program.

Bash Scripts✓ Tested
Arduino / CGetting Started

Use a wider type for a large count

Arduino / C: Use a wider type for a large count on an Uno with the Serial Monitor set to 9600 baud.

Arduino / C✓ Tested
HTMLGetting Started

Use headings to show document structure

HTML: Learn how to use headings to show document structure in a complete browser example.

HTML✓ Tested