FIND YOUR NEXT FEW LINES

Results for “ps”

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

442 snippets foundClear filters
PostgresSchema design & transactions

Create an index for an equality filter

Postgres: A nonunique index can support lookups on a frequently filtered column.

Postgres✓ Tested
SQLiteSchema design & transactions

Create an index for an equality filter

SQLite: A nonunique index can support lookups on a frequently filtered column.

SQLite✓ Tested
PostgresSchema design & transactions

Create an index matching filter and ordering columns

Postgres: Place the equality-filter column before the ordering column in this composite index.

Postgres✓ Tested
PowerShellGetting Started

Create an object with named properties

PowerShell: Create an object with named properties using PowerShell 7.

PowerShell✓ Tested
HTMLDocument structure

Create an ordered list

Represent a sequence of steps using an HTML ordered list.

HTML✓ Tested
CSSLayout

Create equal grid columns

Divide a CSS grid into three equal columns with gaps.

CSS✓ Tested
PowerShellGetting Started

Define a function with a parameter

PowerShell: Define a function with a parameter using PowerShell 7.

PowerShell✓ Tested
PowerShellFunctions & control

Define a function with a typed parameter

Accept a name and return a greeting.

function✓ Tested
PostgresGetting Started

Delete one row from a practice table

Postgres: Restrict DELETE with a primary-key condition and verify the remaining row count.

Postgres✓ Tested
PowerShellFile operations & integrity

Delete only a named scratch file

PowerShell: Use LiteralPath and avoid recursive removal for a single known file.

PowerShell✓ Tested
PostgresBulk changes & set operations

Delete rows selected by a related table

Postgres: A correlated EXISTS limits the delete to explicitly listed records.

Postgres✓ Tested
PowerShellCommands & execution context

Discard incidental output from a setup command

PowerShell: Out-Null prevents setup objects from becoming part of a function or script’s useful result.

PowerShell✓ Tested