FIND YOUR NEXT FEW LINES

Results for “require”

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

1101 snippets foundClear filters
PythonCollections

Merge two dictionaries

Combine two dictionaries into a new dictionary. When a key appears in both inputs, the value from the second dictionary wins.

dictionary✓ Tested
Docker / ComposeStorage & isolation

Mount a host directory read-only

Expose existing files without allowing the container to change them.

bind mount✓ Tested
Docker / ComposeCompose service options

Mount a local input directory with long syntax

Docker / Compose: Long mount syntax makes the bind type and read-only intent explicit.

Docker / Compose✓ Tested
PowerShellFile operations & integrity

Move a file into another directory

PowerShell: Move-Item transfers an existing file to the chosen destination directory.

PowerShell✓ Tested
TypeScriptGetting Started

Name a value that stays fixed

TypeScript: Use a constant declaration or the language’s constant naming convention for a fixed limit.

TypeScript✓ Tested
TypeScriptTypes & functions

Narrow a union using typeof

Handle text and numeric values with separate branches.

union✓ Tested
SQL ServerText cleanup & matching

Normalize ASCII text to lowercase

SQL Server: LOWER is useful for display normalization; indexed case-insensitive search depends on the database collation and schema.

SQL Server✓ Tested
PostgresText cleanup & matching

Normalize ASCII text to lowercase

Postgres: LOWER is useful for display normalization; indexed case-insensitive search depends on the database collation and schema.

Postgres✓ Tested
SQLiteText cleanup & matching

Normalize ASCII text to lowercase

SQLite: LOWER is useful for display normalization; indexed case-insensitive search depends on the database collation and schema.

SQLite✓ Tested
SQL ServerText cleanup & matching

Normalize ASCII text to uppercase

SQL Server: UPPER changes character case under the database’s text rules.

SQL Server✓ Tested
PostgresText cleanup & matching

Normalize ASCII text to uppercase

Postgres: UPPER changes character case under the database’s text rules.

Postgres✓ Tested
SQLiteText cleanup & matching

Normalize ASCII text to uppercase

SQLite: UPPER changes character case under the database’s text rules.

SQLite✓ Tested