Suppose you're opening an issue and there's a lot noisey logs that may be useful.
Rather than wrecking readability, wrap it in a <details> tag!
<details>
Summary Goes Here| #!/usr/bin/env node | |
| /** | |
| * plural.js – simple CLDR plural rules parser | |
| * https://gist.github.com/adriengibrat/817140a89cfd4893b4155a2ac913904d | |
| * | |
| * This program is free software. It comes without any warranty. | |
| * Released under the WTFPL license – http://www.wtfpl.net | |
| * | |
| * Usage: |
| // see https://tools.ietf.org/html/rfc4122#section-4.4 | |
| function uuid () { | |
| var seeds = random(12) | |
| // inspired by https://github.com/broofa/node-uuid/blob/v2.0.0/uuid.js#L362 | |
| seeds[5] = (seeds[5] & 0x0fff) | 0x4000 // version bits | |
| seeds[7] = (seeds[7] & 0x3fff) | 0x8000 // clock_seq_hi_and_reserved bits | |
| return 'xx-x-x-x-xxx'.replace(/x/g, function (x, index) { return hex(seeds[index]) }) | |
| function random (n) { // get n random 16-bit unsigned integers |
| var mf = (function () { | |
| 'use strict'; | |
| function warn () { | |
| /* eslint no-console: off, prefer-spread: off */ | |
| console.warn.apply(console, arguments) | |
| } | |
| function error (message) { | |
| /* eslint no-var: off */ |
| // FP Lenses | |
| const lens = get => set => ({ get, set }); | |
| const view = lens => obj => lens.get(obj); | |
| const set = lens => val => obj => lens.set(val)(obj); | |
| const over = lens => fn => obj => set(lens)(fn(view(lens)(obj)))(obj); | |
| const lensProp = key => lens(prop(key))(assoc(key)); |
| /* | |
| This is variation of `squirrel` and `namespace` approaches | |
| https://gist.github.com/zaceno/0d7c62be81a845857e755c1378b7dbff | |
| https://gist.github.com/sergey-shpak/5817bf146cb970bc4e259aef71b89ef4 | |
| Simplifies Hyperapp#v2 actions work with deeply nested state | |
| (updated to support returned actions, parameterized actions) | |
| Usage examples: |
Security Advisories / Bulletins / vendors Responses linked to Log4Shell (CVE-2021-44228)
| MONGODB_URI=[YOUR_MONGO_DB_URL] | |
| GITLAB_HOST=[YOUR_GITLABHOST_URL] | |
| GITLAB_PROJECT_ID=[YOUR_GITLAB_PROJECT_ID] | |
| GITLAB_BRANCH=[YOUR_GITLAB_BRANCH] | |
| GITLAB_PERSONAL_ACCESS_TOKEN=[YOUR_GITLAB_TOKEN] | |
| TINA_PUBLIC_IS_LOCAL=false | |
| # _optionally_ Use Tina Cloud for user authentication | |
| #NEXT_PUBLIC_TINA_CLIENT_ID=*** |