Get ten most popular screen resolutions
TypeScript definitions for get-res
Simplest way to make http get requests. Supports HTTPS, redirects, gzip/deflate, streams in < 100 lines.
Node.js final http responder
node-httpreq is a node.js library to do HTTP(S) requests the easy way
Encode a URL to a percent-encoded form, excluding already-encoded sequences
A PAC file proxy `http.Agent` implementation for HTTP
Simple middleware-style router
An HTTP(s) proxy `http.Agent` implementation for HTTP
Fake HTTP injection library
An HTTP(s) proxy `http.Agent` implementation for HTTPS
Fast, unopinionated, minimalist web framework
Execute a callback when a request closes, finishes, or errors
A SOCKS proxy `http.Agent` implementation for HTTP and HTTPS
0-legacy, tiny & fast web framework as a replacement of Express
Resolves a matching manifest from a package metadata document according to standard npm semver resolution rules.
Mocks node.js http.ServerResponse. See also `mock-req`.
Express Error Handler for Async Functions
Execute a listener when a response is about to write headers
Very low level wrapper arround http.request/https.request
response extensions for tinyhttp
High-speed HTTP logger for Node.js
Evaluate node require() module content directly
Embedded JavaScript templates
The saml2 library is yet another SAML library for Ruby, with an emphasis on _not_ re-implementing XML, especially XML Security, _not_ parsing via Regex or generating XML by string concatenation, _not_ serializing/re-parsing multiple times just to get it into the correct format to sign or validate.
Shorten a long URL, get click analylitcs about it, and re-expand it again using Google's URL shortening API.
Selective is an intelligent test runner for your current CI provider. Get real-time test results, intelligent ordering based on code changes, shorter run times, automatic flake detection, the ability to re-enqueue failed tests, and more.
Selective is an intelligent test runner for your current CI provider. Get real-time test results, intelligent ordering based on code changes, shorter run times, automatic flake detection, the ability to re-enqueue failed tests, and more.
The VolatileDB gem allows you to specify a key and an action yielding a particular piece of data. This data will be stored in the /tmp folder of the file system you are currently running on. Data is accessible by key. Data will be read and written to storage using File.read() and File.open() -- that's it. It's up to the consuming application to serialize and deserialize data correctly. All VolatileDB does is push and pull data to the FS. If the underlying file supporting the data is found to be missing, it will be re-initialized. This gets to the main idea behind VolatileDB: use it to persist data that is transient and can be re-seeded periodically as conditions change.
minitest-distributed is a plugin for minitest for executing tests on a distributed set of unreliable workers. When a test suite grows large enough, it inevitable gets too slow to run on a single machine to give timely feedback to developers. This plugins combats this issue by distributing the full test suite to a set of workers. Every worker is a consuming from a single queue, so the tests get evenly distributed and all workers will finish around the same time. Redis is used as coordinator, but when using this plugin without having access to Redis, it will use an in-memory coordinator. Using multiple (virtual) machines for a test run is an (additional) source of flakiness. To combat flakiness, minitest-distributed implements resiliency patterns, like re-running a test on a different worker on failure, and a circuit breaker for misbehaving workers.
Selective is an intelligent test runner for your current CI provider. Get real-time test results, intelligent ordering based on code changes, shorter run times, automatic flake detection, the ability to re-enqueue failed tests, and more.
This extension implements all necessary syntaxes for today's use: by one writing we get all syntaxes for successful work of flex-box. It ensures that flex box would work with both new and old browsers, e.g., android 4.1, android 4.3, iOS Safari, Safari, IE 10. Import vr_flex and you`re ready to go!
Easy_html_creator is a gem that makes developing static HTML websites easy and joyful. Once you learned the joy of haml or sass, it get boring to program in 'plain old' html and css. Using our Gem you could generate and maintain multiple static websites and program them in your preferred languages. Currently supported by our fast and lightweight re-generation server: HAML, Sass (with bootstarp) and CoffeeScript. We also included the 'actionview' gem, to enable the use of rails standard functions like 'text_field_tag'.
This is a Strelka application plugin for describing rules for [Cross-Origin Resource Sharing (CORS)](http://www.w3.org/TR/cors/). NOTE: It's still a work in progress. By default, the plugin has paranoid defaults, and doesn't do anything. You'll need to grant access to the resources you want to share. To grant access, you declare one or more `access_control` blocks which can modify responses to matching access-control requests. All the blocks which match the incoming request's URI are called with the request and response objects in the order in which they're declared: # Allow access to all resources from any origin by default access_control do |req, res| res.allow_origin '*' res.allow_methods 'GET', 'POST' res.allow_credentials res.allow_headers :content_type end These are applied in the order you declare them, with each matching block passed the request if it matches. This happens before the application gets the request, so it can do any further modification it needs to, and so it can block requests from disallowed origins/methods/etc. There are a number of helper methods added to the request and response objects for applying and declaring access-control rules when this plugin is loaded:
Parade is an open source presentation software that consists of a Sinatra web app that serves up markdown files in a presentation format. Parade can serve a directory or be configured to run with a simple configuration file. * Markdown backed data > This ultimately makes it easier to manage diffs when making changes, using the content in other documents, and quickly re-using portions of a presentation. * Syntax Highlighting > Using GitHub flavored markdown, code fences will automatically be syntax highlighted, making it incredibly easy to integrate code samples. * Code Execution > Slides are able to provide execution and show results for JavaScript and Coffeescript live within the browser. This allows for live demonstrations of code. * Web > Slide presentations are basically websites -- they run in your browser from your desktop. This allows for a wide range of possibilities for customization and expandability. * Basic Templating and Color Schemes > Several templates and color scheme options have been provided to help you get started. While Parade does not currently provide anything near the variety of many other presentation packages, it is well-suited for basic presentations. * Design Flexibility (pros and cons) > Unless you're skilled in CSS/Animations, you will likely have a harder time creating presentations with as much polish as other programs provide. However, this approach also makes Parade incredibly flexible if you do understand CSS/Animations.
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.
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.