[](https://www.npmjs.com/package/contentful-resolve-response) [](https://github.com/c
Node Module to read cgroup memory data
Node.js sys module for Gjs (alias for util)
neat admin system tool
Universal package installer, get the command for managing packages, or auto install any package, using one command for all platforms. Automate the installation of macOS Brew, and Windows Chocolatey package managers. A promisify child process of spawn, and
A node.js module for javascript minification
A low-level Node.js binding for the Linux epoll API
Format validation for Ajv v7+
SuttaCentral bilara-data library
An internal library for Misskey backend used to obtain performance benefits.
TypeScript definitions for d3-time
yuuvis Momentum component library based on [Angular Material](https://www.npmjs.com/package/@angular/material).
Data Transfer Objects used both in the front and the backend of the Cloud product.
A calculator for humanity’s peculiar conventions of time.
Security-first, modular Node.js system information library. Zero CVEs. Fast Windows support. No build step.
systematize.scss: normalize styles across browsers. Like normalize.css, but with system fonts.
Time zone support for date-fns v3 with the Intl API
date-fns timezone utils
Angular Material-based dynamic form fields for Praxis UI with lazy loading and metadata-driven rendering.
Calculates per-core CPU usage of the current computer
Implements performance.now (based on process.hrtime).
TypeScript definitions for d3-time-format
Create a netlify function with this code:
Easing functions for smooth animation.
Lightweight Date and time library.
temporal abstractions, primitives, and utilities for the scsys ecosystem
This is a packaged version of CSVScan, written by MoonWolf. If you can read Japanese, checkout README.ja for whatever he said. On a 10,000 line file: time cat example.csv | ruby fastercsv_benchmark.rb real 0m8.804s user 0m8.502s sys 0m0.304s time cat example.csv | ruby csvscan_benchmark.rb real 0m0.860s user 0m0.782s sys 0m0.088s
This is a packaged version of CSVScan, written by MoonWolf. If you can read Japanese, checkout README.ja for whatever he said. On a 10,000 line file: time cat example.csv | ruby fastercsv_benchmark.rb real 0m8.804s user 0m8.502s sys 0m0.304s time cat example.csv | ruby csvscan_benchmark.rb real 0m0.860s user 0m0.782s sys 0m0.088s
This is a packaged version of CSVScan, written by MoonWolf. If you can read Japanese, checkout README.ja for whatever he said. On a 10,000 line file: time cat example.csv | ruby fastercsv_benchmark.rb real 0m8.804s user 0m8.502s sys 0m0.304s time cat example.csv | ruby csvscan_benchmark.rb real 0m0.860s user 0m0.782s sys 0m0.088s
This is a packaged version of CSVScan, written by MoonWolf. If you can read Japanese, checkout README.ja for whatever he said. On a 10,000 line file: time cat example.csv | ruby fastercsv_benchmark.rb real 0m8.804s user 0m8.502s sys 0m0.304s time cat example.csv | ruby csvscan_benchmark.rb real 0m0.860s user 0m0.782s sys 0m0.088s
Updated for Ruby 2.X This is a packaged version of CSVScan, written by MoonWolf. If you can read Japanese, checkout README.ja for whatever he said. On a 10,000 line file: time cat example.csv | ruby fastercsv_benchmark.rb real 0m8.804s user 0m8.502s sys 0m0.304s time cat example.csv | ruby csvscan_benchmark.rb real 0m0.860s user 0m0.782s sys 0m0.088s
Contentful API wrapper library exposing an ActiveRecord-like interface
Log2json lets you read, filter and send logs as JSON objects via Unix pipes. It is inspired by Logstash, and is meant to be compatible with it at the JSON event/record level so that it can easily work with Kibana. Reading logs is done via a shell script(eg, `tail`) running in its own process. You then configure(see the `syslog2json` or the `nginxlog2json` script for examples) and run your filters in Ruby using the `Log2Json` module and its contained helper classes. `Log2Json` reads from stdin the logs(one log record per line), parses the log lines into JSON records, and then serializes and writes the records to stdout, which then can be piped to another process for processing or sending it to somewhere else. Currently, Log2json ships with a `tail-log` script that can be run as the input process. It's the same as using the Linux `tail` utility with the `-v -F` options except that it also tracks the positions(as the numbers of lines read from the beginning of the files) in a few files in the file system so that if the input process is interrupted, it can continue reading from where it left off next time if the files had been followed. This feature is similar to the sincedb feature in Logstash's file input. Note: If you don't need the tracking feature(ie, you are fine with always tailling from the end of file with `-v -F -n0`), then you can just use the `tail` utility that comes with your Linux distribution.(Or more specifically, the `tail` from the GNU coreutils). Other versions of the `tail` utility may also work, but are not tested. The input protocol expected by Log2json is very simple and documented in the source code. ** The `tail-log` script uses a patched version of `tail` from the GNU coreutils package. A binary of the `tail` utility compiled for Ubuntu 12.04 LTS is included with the Log2json gem. If the binary doesn't work for your distribution, then you'll need to get GNU coreutils-8.13, apply the patch(it can be found in the src/ directory of the installed gem), and then replace the bin/tail binary in the directory of the installed gem with your version of the binary. ** P.S. If you know of a way to configure and compile ONLY the tail program in coreutils, please let me know! The reason I'm not building tail post gem installation is that it takes too long to configure && make because that actually builds every utilties in coreutils. For shipping logs to Redis, there's the `lines2redis` script that can be used as the output process in the pipe. For shipping logs from Redis to ElasticSearch, Log2json provides a `redis2es` script. Finally here's an example of Log2json in action: From a client machine: tail-log /var/log/{sys,mail}log /var/log/{kern,auth}.log | syslog2json | queue=jsonlogs \ flush_size=20 \ flush_interval=30 \ lines2redis host.to.redis.server 6379 0 # use redis DB 0 On the Redis server: redis_queue=jsonlogs redis2es host.to.es.server Resources that help writing log2json filters: - look at log2json.rb source and example filters - http://grokdebug.herokuapp.com/ - http://www.ruby-doc.org/stdlib-1.9.3/libdoc/date/rdoc/DateTime.html#method-i-strftime
Log2json lets you read, filter and send logs as JSON objects via Unix pipes. It is inspired by Logstash, and is meant to be compatible with it at the JSON event/record level so that it can easily work with Kibana. Reading logs is done via a shell script(eg, `tail`) running in its own process. You then configure(see the `syslog2json` or the `nginxlog2json` script for examples) and run your filters in Ruby using the `Log2Json` module and its contained helper classes. `Log2Json` reads from stdin the logs(one log record per line), parses the log lines into JSON records, and then serializes and writes the records to stdout, which then can be piped to another process for processing or sending it to somewhere else. Currently, Log2json ships with a `tail-log` script that can be run as the input process. It's the same as using the Linux `tail` utility with the `-v -F` options except that it also tracks the positions(as the numbers of lines read from the beginning of the files) in a few files in the file system so that if the input process is interrupted, it can continue reading from where it left off next time if the files had been followed. This feature is similar to the sincedb feature in Logstash's file input. Note: If you don't need the tracking feature(ie, you are fine with always tailling from the end of file with `-v -F -n0`), then you can just use the `tail` utility that comes with your Linux distribution.(Or more specifically, the `tail` from the GNU coreutils). Other versions of the `tail` utility may also work, but are not tested. The input protocol expected by Log2json is very simple and documented in the source code. ** The `tail-log` script uses a patched version of `tail` from the GNU coreutils package. A binary of the `tail` utility compiled for Ubuntu 12.04 LTS is included with the Log2json gem. If the binary doesn't work for your distribution, then you'll need to get GNU coreutils-8.13, apply the patch(it can be found in the src/ directory of the installed gem), and then replace the bin/tail binary in the directory of the installed gem with your version of the binary. ** P.S. If you know of a way to configure and compile ONLY the tail program in coreutils, please let me know! The reason I'm not building tail post gem installation is that it takes too long to configure && make because that actually builds every utilties in coreutils. For shipping logs to Redis, there's the `lines2redis` script that can be used as the output process in the pipe. For shipping logs from Redis to ElasticSearch, Log2json provides a `redis2es` script. Finally here's an example of Log2json in action: From a client machine: tail-log /var/log/{sys,mail}log /var/log/{kern,auth}.log | syslog2json | queue=jsonlogs \ flush_size=20 \ flush_interval=30 \ lines2redis host.to.redis.server 6379 0 # use redis DB 0 On the Redis server: redis_queue=jsonlogs redis2es host.to.es.server Resources that help writing log2json filters: - look at log2json.rb source and example filters - http://grokdebug.herokuapp.com/ - http://www.ruby-doc.org/stdlib-1.9.3/libdoc/date/rdoc/DateTime.html#method-i-strftime
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.