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:
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; |
I hereby claim:
To claim this, I am signing this object:
This Gist confirms the Linked Identity in my OpenPGP key which links it to this Github account.
[Verifying my OpenPGP key: openpgp4fpr:653909a2f0e37c106f5faf546c8857e0d8e8f074]
This is an OpenPGP proof. For details check out https://metacode.biz/openpgp/proofs
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) { |
// Crypto.hpp | |
////////////////////////////// | |
#include "spdlog/spdlog.h" | |
#include "spdlog/sinks/stdout_color_sinks.h" | |
#include "spdlog/sinks/rotating_file_sink.h" | |
#define SPDLOG_STR_H(x) #x | |
#define SPDLOG_STR_HELPER(x) SPDLOG_STR_H(x) | |
#define DEBUG(...) spdlog::log(spdlog::level::debug, "[" + fmt::format(__FILE__) + "::" + SPDLOG_STR_HELPER(__LINE__) + "::" + std::string(__func__) + "] " + fmt::format(__VA_ARGS__)) | |
#define INFO(...) spdlog::log(spdlog::level::info, "[" + fmt::format(__FILE__) + "::" + SPDLOG_STR_HELPER(__LINE__) + "::" + std::string(__func__) + "] " + fmt::format(__VA_ARGS__)) |
diff -r bbfcd786cc78 mod_csi_battery_saver/mod_csi_battery_saver.lua | |
--- a/mod_csi_battery_saver/mod_csi_battery_saver.lua Thu Apr 16 17:34:53 2020 +0200 | |
+++ b/mod_csi_battery_saver/mod_csi_battery_saver.lua Sat Apr 18 11:22:07 2020 +0200 | |
@@ -103,6 +103,9 @@ | |
-- chat markers (XEP-0333) are important, too, because some clients use them to update their notifications | |
if stanza:child_with_ns("urn:xmpp:chat-markers:0") then return true; end; | |
+ -- XEP-0353: Jingle Message Initiation incoming call messages | |
+ if stanza:child_with_ns("urn:xmpp:jingle-message:0") then return true; end; | |
+ |
console.log('nothing'); |