optionally require spaces before or after commas
An extension for node.js require, to use custom path aliases when require scripts.
A wide-character aware text alignment function for use on the console or with fixed width fonts.
Convert tabs to spaces in a string
Remove the trailing spaces from a string.
camelCase, kebab-case, PascalCase... a simple integration with nano package size. (SMALL footprint!)
Require spaces in import brackets
A general-purpose color library for JavaScript
Remove leading indentation from ES6 template literals.
Like String.trim() but you can choose granularly what to trim
remark-lint rule to warn when too many spaces are used to create a hard break
An output formatter for markdownlint-cli2 that produces the same output as markdownlint-cli
Get index of character after which variable 'word' must be broken given variable 'length' (accounts for wide characters).
Takes a json-file and return a copy of the same file, but sorted
Color spaces! RGB, HSL, Cubehelix, Lab and HCL (Lch).
AWS SDK for JavaScript Migration Hub Refactor Spaces Client for Node.js, Browser and React Native
Temporary file and directory creator
A grown up version of Node's spawn/exec
Node JS directory compare
TypeScript package which smartly trims and strips indentation from multi-line strings
High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, GIF, AVIF and TIFF images
textlint rule that disallow zero width spaces.
Parts of React UFO that are publicly available
align spaces on empty lines of a source code
Color is a Ruby library to provide RGB, CMYK, HSL, and other color space manipulation support to applications that require it. It provides optional named RGB colors that are commonly supported in HTML, SVG, and X11 applications. The Color library performs purely mathematical manipulation of the colors based on color theory without reference to device color profiles (such as sRGB or Adobe RGB). For most purposes, when working with RGB and HSL color spaces, this won't matter. Absolute color spaces (like CIE LAB and CIE XYZ) cannot be reliably converted to relative color spaces (like RGB) without color profiles. When necessary for conversions, Color provides D65 and D50 reference white values in Color::XYZ. Color 2.2 adds a minor feature where an RGB color created from values can silently inherit the `#name` of a predefined color if `color/rgb/colors` has already been loaded. It builds on the Color 2.0 major release, dropping support for all versions of Ruby prior to 3.2 as well as removing or renaming a number of features. The main breaking changes are: - Color classes are immutable Data objects; they are no longer mutable. - RGB named colors are no longer loaded on gem startup, but must be required explicitly (this is _not_ done via `autoload` because there are more than 100 named colors with spelling variations) with `require "color/rgb/colors"`. - Color palettes have been removed. - `Color::CSS` and `Color::CSS#[]` have been removed.
The KPI required to access a SmartM3 Smart Space. This gem provides the standard JOIN, LEAVE, INSERT, REMOVE, UPDATE, QUERY, SUBSCRIBE and UNSUBSCRIBE primitives
Used to minimize storage space required to store list of data
This little gem calculates the entropy and ( the cardinality) of a finite probability space, defined by a probability vector; and of a finite probability metric space, defined by a probability vector and metric function. Requires ruby 1.9.x
A gem to calculate fuel requirements for NASA space missions
There is a public registry maintained by the IANA that is required to be used by all vendors operating in certains spaces. Ethernet, Bluetooth, and Wireless device manufacturers are all assigned unique prefixes. This database is available publicly online and can be used to identify the manufacturer of these devices. This library provides an easy mechanism to perform these lookups.
=== Learn Chinese vocabulary effectively This gem is meant to make live easier for any Chinese language student who: * Prefers to learn vocabulary from Chinese sentences. * Needs to memorize a lot of words on a _tight_ _time_ _schedule_. * Uses the spaced repetition flashcard program {Anki}[http://ankisrs.net/]. Chinese::Vocab addresses all of the above requirements by downloading sentences for each word and selecting the *minimum* *required* *number* *of* *Chinese* *sentences* (and English translations) to *represent* *all* *words*.
This filter will add App, Space, and Org metadata to CloudFoundry logs. See github README for more information. This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program
Include development gems, but only if we're not in production. Provides a method (DevelopingGems.gems) that can be invoked in the Gemfile, and one (DevelopingGems.requires) that can be used in the code to require the gems. The standard list of development gems is: - pry - pry-stack_explorer - pry-doc This may be overridden in two ways: - The DevelopingGems.gems and DevelopingGems.requires methods take an optional argument that is an array of gem names, which it will use. - If a $DEVELOPING_GEMS environment variable exists, it will be used. It is expected to be a list of gem names, separated by spaces.
== FEATURES: * Real-Time OpenGL view * Multiple logfiles on multiple servers * Configurable layout * Multiple logfile parsers (Apache Combined, Rails, IIS, Postfix/spamd/clamd, Nginx, Squid, PostgreSQL, PureFTPD, MySQL, TShark, qmail/vmpop3d) * Custom events * Show rate, total or average * If you can 'tail' it, you can visualize it * Written in Ruby using net-ssh & libopengl-ruby * Free! == RUNNING: gl_tail --help gl_tail --new gl_tail.yaml gl_tail You can press 'f' while running to toggle the attempted frames per second. Or 'b' to change default blob type, and space to toggle bouncing. == REQUIREMENTS: * rubygems 0.9.4 * ruby-opengl 0.40.1 * net-ssh 1.1.2 * opengl/ruby development packages (ruby1.8-dev libgl1-mesa-dev libglu1-mesa-dev libglut3-dev)
Proper related posts plugin for Jekyll - uses document correlation matrix on TF-IDF (optionally with Latent Semantic Indexing). Each document is tokenized and stemmed, every word found is treated as keyword for analysis (except for some stop words). TF-IDF matrix for the whole site is calculated (including extra provided weights), then if given accuraccy is lower than 1.0, LSI algorithm is used to compute new simplified vector space. Document correlation matrix is created using dot product of the matrix and its transpose. For each of the post' related documents are inserted into priority queue (sorted by score from document correlation matrix), assuming the score is greater than minimal required score. Selected few bests related posts are retrieven from the queue. Liquid template for each post is rendered and <related-posts /> is replaced with the outcomes of algorithm.
== SYNOPSIS: Allows storing scopes as names; that way you can address subsets of your model space by meaningful names. require 'scoped_proxy' # Railsers: You might want to call this in environment.rb class User < ActiveRecord::Base scoped_proxy :role do |role| { :find => { :conditions => ['role = ?', role] } } end scoped_proxy :deleted, :find => { :conditions => 'deleted_at is not null' } end admins = User.role('admin') admins.count # => 12 admins.find(:all) # => [ ... ] User.deleted.count # => a number This implementation also brings (NEW, SHINY) default proxies. That means you can have a proxy in effect when no other proxy is in effect. class User < ActiveRecord::Base default_proxy :find => { :conditions => 'deleted_at is null' } end User.find(:all) # only finds users that aren't deleted
No description provided.
No description provided.
No description provided.
No description provided.