I hereby claim:
- I am tinovyatkin on github.
- I am tinovyatkin (https://keybase.io/tinovyatkin) on keybase.
- I have a public key ASB7vAUOzsyh3hE4oZr2HhnRNLmP9qEdaFb-pqDXAkdstAo
To claim this, I am signing this object:
| import { readFileSync } from 'fs'; | |
| import { builtinModules } from 'module'; | |
| import ts from 'typescript'; | |
| const tsHost = ts.createCompilerHost( | |
| { | |
| allowJs: true, | |
| noEmit: true, | |
| isolatedModules: true, |
I hereby claim:
To claim this, I am signing this object:
| @-moz-document domain("github.com") { | |
| @import url('https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;1,100;1,200;1,300;1,400;1,500;1,600&display=swap'); | |
| @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;1,100;1,200;1,300;1,400;1,500;1,600&display=swap'); | |
| body { | |
| font-family: "Ubuntu" !important; | |
| font-variant-ligatures: normal; | |
| text-rendering: optimizeLegibility; | |
| -webkit-font-smoothing: subpixel-antialiased; |
| const headers = ` | |
| Date: Sun, 17 Aug 2014 16:24:52 GMT | |
| Content-Type: text/html; charset=utf-8 | |
| Transfer-Encoding: chunked | |
| Set-Cookie: Foo2 | |
| set-Cookie: bar | |
| set-cookie: bong | |
| `; | |
| const s = headers.trim().split(/\s*\n\s*/g).map((v) => { | |
| const [header, value] = v.split(/:\s*/, 2); |
I hereby claim:
To claim this, I am signing this object:
| function *fibonacci(n) { | |
| const infinite = !n && n !== 0; | |
| let current = 0; | |
| let next = 1; | |
| while (infinite || n--) { | |
| yield current; | |
| [current, next] = [next, current + next]; | |
| } | |
| } |
| { | |
| "swagger": "2.0", | |
| "info": { | |
| "title": "Passkit Web Service", | |
| "contact": { | |
| "name": "Clemens Krack", | |
| "email": "[email protected]" | |
| }, | |
| "version": "1.0.0" | |
| }, |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: |
| // Rx HTTP Server | |
| // first attempt at creating a minimal reactive nodejs HTTP server | |
| // | |
| // has: | |
| // * url/querystring parsing | |
| // * body parsing | |
| // * some kind of routing | |
| // * some kind of error handling | |
| // * minimalist request logging | |
| // |
| 'use strict'; | |
| // Promisifies readline.question function using node native `util.promisify` | |
| // readline.question takes one callback that returns the answer, so it need custom promisifying | |
| const readline = require('readline'); | |
| const { promisify } = require('util'); | |
| readline.Interface.prototype.question[promisify.custom] = function(prompt) { | |
| return new Promise(resolve => |