FIND YOUR NEXT FEW LINES

Results for “or”

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

2638 snippets foundClear filters
SQLiteBulk changes & set operations

Increment a stored value in the database

SQLite: An in-database arithmetic update avoids a separate application read-modify-write step.

SQLite✓ Tested
JavaStream transformations

Index records by a unique key

Java: Use toMap with an explicit merge rule so duplicate keys have defined behavior.

Java✓ Tested
CSSGetting Started

Inherit a parent’s text color

CSS: Learn how to inherit a parent’s text color in a complete browser example.

CSS✓ Tested
GitGetting Started

Initialize a separate practice repository

Git: Initialize a separate practice repository inside the disposable repository created by the input setup.

Git✓ Tested
jQueryInsertion & wrapping

Insert a sibling before an element

jQuery: before inserts outside the selected element.

jQuery✓ Tested
PythonNumbers & calculations

Insert a value while preserving sorted order

Python: Use insort on an already sorted list; insertion still shifts later list elements.

Python✓ Tested
PostgresRows & writes

Insert or update on a key conflict

Use a unique key to update an existing row.

ON CONFLICT✓ Tested
GitGetting Started

Inspect a clean working tree

Git: Inspect a clean working tree inside the disposable repository created by the input setup.

Git✓ Tested
GoErrors & validation

Inspect a typed conversion error

Inspect a typed conversion error using a complete Go program with explicit sample inputs.

Go✓ Tested
Docker / ComposeNetworks & volume metadata

Inspect a user-defined network’s driver

Docker / Compose: The default driver for a local user-defined network is bridge.

Docker / Compose✓ Tested
GitGetting Started

Inspect the author recorded on a commit

Git: Inspect the author recorded on a commit inside the disposable repository created by the input setup.

Git✓ Tested
Docker / ComposeImage management

Inspect the operating system recorded in an image

Docker / Compose: Image metadata records the OS expected by its executable layers.

Docker / Compose✓ Tested