Ground codes
<p align="center"> <img src="https://i.imgur.com/eQ9JpzY.png" width="128" alt="Ground Codes Logo"> <br /> <br /> </p>
Module Federation Error Codes
Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.
Strip ANSI escape codes from a string
convert KML and GPX to GeoJSON
The map of HTTP status codes from the builtin http module
Interact with HTTP status code
Check if a string has ANSI escape codes
Regular expression for matching ANSI escape codes
Utility to lookup HTTP status codes
Slice a string with ANSI escape codes
This library provides the functionality of PBKDF2 with the ability to use any supported hashing algorithm returned from crypto.getHashes()
Library to easily style texts with string formatting
Lookup currency codes based on ISO 4217
Core libraries that every NodeJS toolchain project should use
A tiny and fast text wrap library which takes ANSI escapes into account.
Voice Error Codes
QRCode / 2d Barcode api with both server side and client side support using canvas
HTTP status utility
Safely flatten a nested JavaScript object.
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
Get a KeyboardEvent.key-style string from an event
Get the visual width of a string - the number of columns required to display it
rails-ai-context turns your running Rails app into the source of truth for AI coding assistants. Instead of guessing from training data or stale file reads, agents query 38 live tools (via MCP server or CLI) to get your actual schema, associations, routes, inherited filters, conventions, and test patterns. Semantic validation catches cross-file errors (wrong columns, missing partials, broken routes) before code runs — so AI writes correct code on the first try. Auto-generates context files for Claude Code, Cursor, GitHub Copilot, OpenCode, and Codex CLI. Works standalone or in-Gemfile.
codesake.com is an application security startup providing code review and penetration test services for Ruby powered web applications. codesake_commons is the gem containing common ground routines useful across the project
codesake.com is an application security startup providing code review and penetration test services for Ruby powered web applications. codesake_commons is the gem containing common ground routines useful across the project
Repository for generic common code in Watermark Community Church applications
Application to gather prometheus style metrics # Usage Install the gem into your gemfile ```gem prometheus-collector``` Install your gemset ```bundle install``` Consume the program. ``` require 'prometheus/collector' class Guage < Prometheus::Collector::Extensions::Base install def run # Do some things that would be collected in Prometheus::Client Objects end end ``` Mount the Prometheus::Collector::Application application, or start it from your app.rb ``` Prometheus::Collector::Application.start ``` # How it works The collector app makes use of the Prometheus client collector and exporter middleware to allow you to write custom applications that export prometheus style metrics. It is designed as a bare-bones scaffold to get you off the ground with a ruby applet to get some statistics. It utilizes rack and its middleware. The interface is fairly straightforward: Your Metric Executing code needs to extend Prometheus::Collector::Extensions::Base for 'repeatedly-runbable' operations and Prometheus::Collector::Extensions::Once for something that should only be executed Once. Your class should implement an instance level `run` function, and may optionally implement a class level `schedule` function: This must return a `cron` style string to tell the application when to invoke your `run` code. By default, `schedule` is set to `* * * * *` which would allow the code to be executed every minute. ### Scheduling Scheduling is implemented via em-cron. Thus the re-scheduling of a task should occur within the parameters of the `schedule` string but is evaluated upon completion. Thus in normal operation, the code should not execute more than one `run` of a given worker definition at a time.