FIND YOUR NEXT FEW LINES

Results for “or”

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

2638 snippets foundClear filters
jQueryInsertion & wrapping

Move a node without losing its event handler

jQuery: detach retains jQuery data and events for reinsertion.

jQuery✓ Tested
HTMLAccessible structure

Move focus to a heading without adding a tab stop

HTML: A negative tabindex permits programmatic focus while keeping the heading out of ordinary sequential tab navigation.

HTML✓ Tested
CStrings & byte buffers

Move overlapping bytes safely

C: memmove supports overlapping ranges, unlike memcpy.

C✓ Tested
GoFunctions & types

Mutate a struct through a pointer receiver

Mutate a struct through a pointer receiver using a complete Go program with explicit sample inputs.

Go✓ Tested
GoGetting Started

Name a fixed configuration value

Name a fixed configuration value using a complete Go program with explicit sample inputs.

Go✓ Tested
Arduino / CGetting Started

Name a fixed configuration value

Arduino / C: Name a fixed configuration value on an Uno with the Serial Monitor set to 9600 baud.

Arduino / C✓ Tested
HTMLImages & embedded documents

Name a meaningful image with alternative text

HTML: Alt supplies an accessible text alternative describing the image’s purpose.

HTML✓ Tested
HTMLImages & embedded documents

Name a self-contained embedded document

HTML: Give an iframe a descriptive title and provide its small document with srcdoc.

HTML✓ Tested
AngularTemplates & bindings

Name a template expression with @let

Name a template expression with @let with a standalone Angular component and explicit browser behavior.

Angular✓ Tested
PythonGetting Started

Name a value that stays fixed

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

Python✓ Tested
C#Getting Started

Name a value that stays fixed

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

C#✓ Tested
JavaGetting Started

Name a value that stays fixed

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

Java✓ Tested