Convert a string index to its line and column position
Elasticsearch tools on command line (index, mappings, repo, dump, etc...)
finds an item in an array matching a predicate function, and returns its index
A 2D spatial index for axis-aligned boxes
Get the line and column number of a specific character in a string
ES2015 `Array#findIndex()` ponyfill
Convert efficiently index to/from line-column in a string
Simple HTML5 charts using the canvas element.
Fixes stack traces for files with source maps
Simplify the creation an index file for your ESLint plugin
Fixes stack traces for files with source maps
Serve directory listings
Creates ES6 ./index.js file in target directories that imports and exports all sibling files and directories.
Return a random array-like index.
find the index of a buffer in a buffer
match capture groups and return index
TypeScript definitions for line-column
Like a Set, but provides the index of the `key` in the backing array
Finds the nearest point on a line to a given point
A very fast static 2D index for points based on kd-tree.
Get index of character after which variable 'word' must be broken given variable 'length' (accounts for wide characters).
This package provides support for the [RediSearch](https://redis.io/docs/interact/search-and-query/) module, which adds indexing and querying support for data stored in Redis Hashes or as JSON documents with the [RedisJSON](https://redis.io/docs/data-type
TypeScript definitions for serve-index
A polymorphic iterate operator for arrays and other iterables
Maps flat `TextSize` offsets to/from `(line, column)` representation.
Maps flat `TextSize` offsets to/from `(line, column)` representation.
Simple line-indexed string
Simple calculate lines and columns of str index
FrankenTUI public facade and prelude.
Accessibility layer for FrankenTUI
Backend traits for FrankenTUI: platform abstraction for input, presentation, and time.
Terminal lifecycle, capabilities, and event parsing for FrankenTUI.
Feature-gated extras for FrankenTUI (markdown, charts, clipboard, themes).
Test harness and reference fixtures for FrankenTUI.
Localization catalog and interpolation utilities for FrankenTUI.
Flex and grid layout solvers for FrankenTUI.
Command line tool to filter lines of input based on index.
Command line function to output the Philosophy Index of a Wikipedia article.
Command-line utility to perform queries on the gem index that are useful for detecting MITM attacks.
Elasticshell provides a command-line shell 'es' for connecting to and querying an Elasticsearch database. The shell will tab-complete Elasticsearch API commands and index/mapping names.
Harness GSA indexing power easily and immediately with one-line feeding, searching, and faceting. This gem is tailored for the use in commerce and other such uses outside the scope of the out-of-the-box GSA "internal search".
* match_each * match_enum * match_in_order require 'rubygems' require 'spec' require 'gregwebs-rspec_multi_matchers' describe 'array of ones' do it 'should be all ones' do [1,2,3].should each { |n| n.should == 1 } end end =begin output 'array of ones should fail on 2' FAILED line: 14 item 1: 2 expected: 1, got: 2 (using ==) =end As expected, the output shows expected and got fields line is the line number of the expectiation inside the block the item line gives the index of the item being yielded to the block, and the item itself
== Description Proof of concept to maintain a file with sorted and unique values. This could be helpful for building building indexes. Range#bsearch is used to determine if a line is already in the file and to determine where a line should be inserted. This means Ruby 2.0 is required.
git_shizzle lets you quickly operate on the file lists printed by `git status`. Imagine a number before each line of the status output and use that index to specify the file you want to operate on. For example, to stage the first file in the list of "Changes not staged for commit", run `quick-git stage 1`.
== DESCRIPTION: Provides a script and library to parse stories saved in the RSpec plain text story format and creates a PDF file with printable 3"x5" index cards suitable for using in Agile planning and prioritization. == FEATURES/PROBLEMS: * Create a PDF with each page as a 3x5 sheet, or as 4 cards per 8.5 x 11 sheet * Included script reads stories from STDIN and writes PDF to STDOUT * TODO: Improve test coverage * TODO: Improve documentation == SYNOPSIS: From the command line with stories2cards < /path/to/stories.txt Or via Ruby story_text = File.read('my_story') pdf_content = PDF::Storycards::Writer.make_pdf(story_text, :style => :card_1up) == REQUIREMENTS:
= rspec-multi-matchers == Summary * test collection using each or other enumerable methods * makes testing more natural and have a friendlier failure message == HomePage * http://github.com/gregwebs/rspec-multi-matchers == DESCRIPTION: require 'rubygems' require 'spec' require 'rspec_multi_matchers' describe 'array of ones' do it 'should be all ones' do [1,2,3].should each { |n| n.should == 1 } end # this is a new shortcut for a smaller use case it 'should be all ones' do [1,1,1].should each be_eql(1) end end =begin output 'array of ones should fail on 2' FAILED line: 14 item 1: 2 expected: 1, got: 2 (using ==) =end As expected, the output shows expected and got fields line is the line number of the expectiation inside the block the item line gives the index of the item being yielded to the block, and the item itself === Warning Note the use of brackets '{ ... }' instead of 'do ... end' this is necessary because 'do .. end' does not bind strongly enough == RELATED ARTICLES: * http://blog.thoughtfolder.com/2008-11-05-rspec-should-each-matcher.html == INSTALL: * gem install rspec_multi_matchers == LICENSE: (The MIT License) Copyright (c) 2010 Greg Weber Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Defines TG::Geometry with immutable Geom parsing and constructor wrappers, expanded geometry predicates and accessors, Rect helpers, Hex/GeoBIN writers, raw extra_json access, read-only borrowed Line/Ring/Polygon and GeometryCollection child wrappers, value Segment wrappers, Registry reload sugar, optional ActiveRecord source helpers, and an immutable geofencing-oriented Index with owned and borrowed geometry ingestion, flat/rtree strategies, deterministic ordered id results, exact rtree allocation accounting, and native-endian packed point batch queries, and FeatureSource GeoJSON FeatureCollection extraction/build paths over vendored C sources. Ractor support is not claimed.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.