Skip to content

Instantly share code, notes, and snippets.

Wiktor Kwapisiewicz wiktor-k

Block or report user

Report or block wiktor-k

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View roughtime.js
const { sign } = require('tweetnacl');
var PORT = 2002 ;
var HOST = 'roughtime.cloudflare.com';
function unbase64(s) {
return Uint8Array.from(Buffer.from(s, 'base64'))
}
function bytes(s) {
View openpgp.md
View keybase.md

Keybase proof

I hereby claim:

  • I am wiktor-k on github.
  • I am wiktor (https://keybase.io/wiktor) on keybase.
  • I have a public key whose fingerprint is 6539 09A2 F0E3 7C10 6F5F AF54 6C88 57E0 D8E8 F074

To claim this, I am signing this object:

View async-await.js
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator.throw(value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments)).next());
});
};
var __generator = (this && this.__generator) || function (thisArg, body) {
var _ = { label: 0, sent: function() { if (sent[0] === 1) throw sent[1]; return sent[1]; }, trys: [], stack: [] }, sent, f;
You can’t perform that action at this time.