Tiny module for sorting by a set order, using a custom sort function for omitting explicits.
A minimal CSS module shim
language detector used in browser environment for i18next
JavaScript utilities for Vega.
Find strongly connected components of a directed graph using [Tarjan's algorithm](https://en.wikipedia.org/wiki/Tarjan%27s_strongly_connected_components_algorithm).
A tiny (304B to 489B) utility for check for deep equality
stylelint + idiomatic-css = ❤️
ECMAScript scope analyzer for ESLint
Reads / writes floats / doubles from / to buffers in both modern and ancient browsers.
Implementation of the HTML encoding sniffer algo, with stream support
A collection of order related linting rules for Stylelint.
A prettier plugins to sort imports in provided RegEx order
Set the more significant 32 bits of a double-precision floating-point number.
Miscellaneous indices for graphology.
Set the less significant 32 bits of a double-precision floating-point number.
A thing that is a lot like ES6 `Map`, but without iterators, for use in environments where `for..of` syntax and `Map` are not available.
Array manipulation, ordering, searching, summarizing, etc.
Sorts CSS declarations fast and automatically in a certain order.
A wrapper component to set order of his children
Core libraries that every NodeJS toolchain project should use
Yet Another Linked List
run-script-os is a tool that will let you use generic npm script commands that will pass through to os specific commands.
A skip list implementation inspired by the Sorted Set in Redis.
Formatting user's text input on-the-fly
Implements a variant of Set whose elements are sorted in ascending order
Cleans and orders settings in .rubocop.yml
Like Set except it maintains the order of objects
`must_be_ordered` gem is to warn or raise error if `order` is not set to ActiveRecord's Relation.
Like Set except it maintains the order of objects
Implement orderable trees in ActiveRecord using the nested set model, with multiple roots and scoping, and most importantly user-defined ordering of subtrees. Fetches preordered trees in one go, updates are write-heavy. This is a substantially butchered-up version/offspring of acts_as_threaded. The main additional perk is the ability to reorder nodes, which are always fetched ordered. Example: root = Folder.create! :name => "Main folder" subfolder_1 = Folder.create! :name => "Subfolder", :parent_id => root.id subfolder_2 = Folder.create! :name => "Another subfolder", :parent_id => root.id subfolder_2.move_to_top # just like acts_as_list but nestedly awesome root.all_children # => [subfolder_2, subfolder_1] See the rdocs for examples the method names. It also inherits the awesome properties of acts_as_threaded, namely materialized depth, root_id and parent_id values on each object which are updated when nodes get moved. Thanks to the authors of acts_as_threaded, awesome_nested_set, better_nested_set and all the others for inspiration.
Sets negative timestamps on Active Record models for efficiently sort in reverse order.
Implement orderable trees in ActiveRecord using the nested set model, with multiple roots and scoping, and most importantly user-defined ordering of subtrees. Fetches preordered trees in one go, updates are write-heavy. This is a substantially butchered-up version/offspring of acts_as_threaded. The main additional perk is the ability to reorder nodes, which are always fetched ordered. Example: root = Folder.create! :name => "Main folder" subfolder_1 = Folder.create! :name => "Subfolder", :parent_id => root.id subfolder_2 = Folder.create! :name => "Another subfolder", :parent_id => root.id subfolder_2.move_to_top # just like acts_as_list but nestedly awesome root.all_children # => [subfolder_2, subfolder_1] See the rdocs for examples the method names. It also inherits the awesome properties of acts_as_threaded, namely materialized depth, root_id and parent_id values on each object which are updated when nodes get moved. Thanks to the authors of acts_as_threaded, awesome_nested_set, better_nested_set and all the others for inspiration.
Negative timestamp on an Active Record model
Ruby gem for defining which environment variables must be set in order for your Rails application to function properly.
CubaGenie creates a skeleton Cuba app, configured to your preferences, which may include view templates, test templates, CSS framework and many more.
Rangeable is a language-neutral, generic, integer-coordinate closed-interval set container. It pairs hashable elements with their merged disjoint integer ranges and answers three queries: by-element ranges, by-position active set, and by-range transition events. The Ruby reference implementation follows the Rangeable RFC normatively, including idempotent containment fast-path, lazy boundary-event indexing, and first-insert deterministic ordering.
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.