Top "Range" questions

A range is an extent of values between its lower and upper bound.

PHP create array where key and value is same

I am using the range() function to create an array. However, I want the keys to be the same as …

php arrays range
Querying last 30 days date range with Mongoid and Ruby?

How do I go about querying a date range (of say the last 30 days from now) with Mongoid and Ruby? …

ruby mongodb mongoid date range
Persisting the changes of range objects after selection in HTML

Is there a way to save the changes like changing the background of HTML text that span over multiple tags …

javascript jquery html range selection
Can a range be matched in Scala?

Is it possible to match a range of values in Scala? For example: val t = 5 val m = t match { 0 until 10 =&…

scala pattern-matching range matching
contenteditable div backspace and deleting text node problems

There are so many issues with contenteditable divs and deleting html and/or non content editable content inside editable divs. …

javascript html range selection contenteditable
Why oracle CHOOSE INDEX RANGE SCAN over FAST FULL INDEX SCAN

I have read some documentation about indexes, I did some examples and now I have some doubts. I create a …

oracle indexing range database-scan
Set yaxis of all subplots to the same range - Matplotlib

I'm wondering how do I force my subplots to share the y-axis range. This is my code: f, axes = plt.…

python matplotlib range axis
Python Range() for positive and negative numbers

Okay, so I'm trying to write a simple program that gives me both the positive and negative range of the …

python-2.7 range negative-number
converting a list of integers into range in python

Is there something existing in python that can convert an increasing list of integers into a range list E.g. …

python list range integer
Nmap IP range specification

I need to specify specific IP range for Nmap scan, for example: 192.168.1.140 - 192.168.3.255 If I do it like: 192.168.1-3.140-255 …

range ip-address nmap port-scanning