FIND YOUR NEXT FEW LINES

Results for “as”

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

2533 snippets foundClear filters
jQueryInsertion & wrapping

Wrap each matched element separately

jQuery: wrap adds a parent around each selected element.

jQuery✓ Tested
CSSTypography

Wrap long words

Allow long unbroken text to wrap within a CSS box.

CSS✓ Tested
jQueryInsertion & wrapping

Wrap only an element’s existing contents

jQuery: wrapInner leaves the outer element intact.

jQuery✓ Tested
GoFunctions & types

Write a generic slice helper

Write a generic slice helper using a complete Go program with explicit sample inputs.

Go✓ Tested
PythonJSON & CSV

Write a JSON file

Save a dictionary as readable, indented JSON while preserving Unicode characters.

json✓ Tested
PowerShellStrings & literal text

Write a multiline string without expanding variables

PowerShell: A single-quoted here-string preserves dollar signs literally.

PowerShell✓ Tested
C++Files & paths

Write a text file

Write and close a C++ output file while checking stream failure.

C++✓ Tested
CFiles

Write a text file

Open, write, and close a C file while checking every operation.

C✓ Tested
JavaFiles & paths

Write a UTF-8 file

Write a Java string to a file using an explicit text encoding.

Java✓ Tested
HTMLGetting Started

Write an ordered set of steps

HTML: Learn how to write an ordered set of steps in a complete browser example.

HTML✓ Tested
HTMLGetting Started

Write an unordered list

HTML: Learn how to write an unordered list in a complete browser example.

HTML✓ Tested
Arduino / CData & storage

Write and read a setting in EEPROM

Persist one byte using the update operation.

EEPROM✓ Tested