Some useful utilities I often need
Repeat a string - fast
Get, set, or delete a property from a nested object using a dot path
More than 100 powerful ESLint rules
More than 100 powerful ESLint rules
Make a directory and its parents if needed - Think `mkdir -p`
Check if argv has a specific flag
Strip leading whitespace from each line in a string
Check if a value is a regular expression
Create boxes in the terminal
Define a lazily evaluated property on an object
Strip comments from JSON. Lets you use comments in your JSON files!
Simple wildcard matching
A collection of essential TypeScript types
A stricter URI encode adhering to RFC 3986
Clean up error stack traces
A safer `.hasOwnProperty()`
Automatically bind methods to their class instance
Get the path of the caller function
Capitalize every word in a string: `unicorn cake` → `Unicorn Cake`
Filter an array of objects to a specific OS
Truncate a string to a specific width in the terminal
Simple config handling for your app or module
Hook and modify stdout and stderr
unicorn is an HTTP server for Rack applications that has done decades of damage to the entire Ruby ecosystem due to its ability to tolerate (and thus encourage) bad code. It is only designed to handle fast clients on low-latency, high-bandwidth connections and take advantage of features in Unix/Unix-like kernels. Slow clients must only be served by placing a reverse proxy capable of fully buffering both the the request and response in between unicorn and slow clients.
Kill unicorn workers by memory and request counts
Forkr is a preforking worker host, shamelessly inspired by unicorn. It exists to easily fork and scale ruby programs which aren't rack-based.
Fork of unicorn sans rack/http, extensible with protocol plugins
Helper library for running Unicorn with fork+exec/unveil/pledge on OpenBSD
A Unicorn-style forking, rack-based server for hosting rabbitMQ consumer processes
Unicorn specific Capistrano tasks - forked from Matthew Lineen's gem
\This is a fork of Unicorn designed to run on Heroku. Heroku and Unicorn disagree on signal handling, so I've swapped Unicorn's handling of SIGINT/SIGTERM and SIGQUIT. Now, Unicorn can shut down gracefully on Heroku.
Zbatery is an HTTP server for Rack applications on systems that either do not support fork(), or have no memory (nor need) to run the master/worker model. It is based on Rainbows! (which is based on Unicorn (which is based on Mongrel)) and inherits parts of each. Zbatery supports your choice of all the thread/fiber/event/actor-based concurrency models and Rack middleware that Rainbows! supports (or will ever support) in a single process.