FIND YOUR NEXT FEW LINES

Results for “bound”

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

106 snippets foundClear filters
SQLiteDates & time

Find the first day of a month

Round a date to its calendar month boundary.

date✓ Tested
SQLiteQueries & text

Generate numbers with a recursive CTE

Build a bounded sequence using SQL recursion.

recursive CTE✓ Tested
jQueryHTTP requests

Handle a request timeout

jQuery: The timeout option bounds how long the client waits.

jQuery✓ Tested
CSSPositioning & stacking

Keep a tall section inside a local vertical scroller

CSS: A bounded height and overflow auto keep long content from stretching the surrounding page.

CSS✓ Tested
PythonMappings & sets

Keep only the most recent items

Python: Use a bounded deque to discard the oldest item as new values arrive.

Python✓ Tested
SQL ServerSelect & page

Page an ordered result

Skip rows and fetch a bounded page.

OFFSET✓ Tested
PythonFunctions & error handling

Preconfigure some function arguments

Python: Use partial to produce a callable with selected arguments already bound.

Python✓ Tested
Linux CommandsStreams & byte tools

Read a byte prefix

Linux Commands: Use GNU head -c for a fixed number of bytes, independent of line boundaries.

Linux Commands✓ Tested
SQLWindow analytics

Read the last value of the complete partition

SQL: Specify an unbounded-following frame so LAST_VALUE does not stop at the current row.

SQL✓ Tested
SQL ServerWindow analytics

Read the last value of the complete partition

SQL Server: Specify an unbounded-following frame so LAST_VALUE does not stop at the current row.

SQL Server✓ Tested
PostgresWindow analytics

Read the last value of the complete partition

Postgres: Specify an unbounded-following frame so LAST_VALUE does not stop at the current row.

Postgres✓ Tested
SQLiteWindow analytics

Read the last value of the complete partition

SQLite: Specify an unbounded-following frame so LAST_VALUE does not stop at the current row.

SQLite✓ Tested