I hereby claim:
- I am kukks on github.
- I am kukks (https://keybase.io/kukks) on keybase.
- I have a public key ASCyFYTsHOxY4NW0tqX0HedE4I9hLPJYTjAQ9Ilb3xEuxgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
function aes_cbc_encrypt(data, rawKey) { | |
const iv = window.crypto.getRandomValues(new Uint8Array(16)); | |
return aes_cbc_key(rawKey).then(function(key) { | |
return window.crypto.subtle.encrypt( | |
{ | |
name: "AES-CBC", | |
//Don't re-use initialization vectors! |
version: "3" | |
services: | |
clightning_bitcoin: | |
environment: | |
LIGHTNINGD_OPT: | | |
YOUR | |
EXTRA | |
CONFIG | |
HERE |
{"paths":{"/api/v1/api-keys/{apikey}":{"delete":{"tags":["API Keys"],"summary":"Revoke an API Key","description":"Revoke the current API key so that it cannot be used anymore","parameters":[{"name":"apikey","in":"path","required":true,"description":"The API Key to revoke","schema":{"type":"string"}}],"responses":{"200":{"description":"The key has been deleted"},"404":{"description":"The key is not found for this user"}},"security":[{"API Key":["unrestricted"],"Basic":[]}]}},"/api/v1/api-keys/current":{"get":{"tags":["API Keys"],"summary":"Get the current API Key information","description":"View information about the current API key","responses":{"200":{"description":"Information about the current api key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyData"}}}}},"security":[{"API Key":[]}]},"delete":{"tags":["API Keys"],"summary":"Revoke the current API Key","description":"Revoke the current API key so that it cannot be used anymore","responses":{"200":{"description":"The key was |
made with esnextbin
public async Task UploadScreenshot(string clientId) | |
{ | |
Screenshot ss = ((ITakesScreenshot) Driver).GetScreenshot(); | |
var link = await UploadImageAnonymous(ss.AsBase64EncodedString, $"btcpayservertests_{DateTime.Now}"); | |
Logs.Tester.LogInformation($"screenshot uploaded to {link}"); | |
} | |
private async Task<string> UploadImageAnonymous(string base64, string name,string clientId) |
I hereby claim:
To claim this, I am signing this object:
<template> | |
<input value.bind="message"> | |
<br> | |
<p>Message: ${message}</p> | |
<button click.trigger="tryChange()">jQuery('input')[0].val('test').trigger('change')</button> | |
<button click.trigger="tryInput()">jQuery('input').val('test2').trigger('input')</button> | |
</template> |
private readonly BindingFlags flags = BindingFlags.Static | BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic; | |
private object GetPropertyRecursive(string property, object obj) | |
{ | |
var splitted = property.Split('.'); | |
var value = obj.GetType().GetProperty(splitted[0], flags).GetValue(obj); | |
if (value == null) | |
{ |
export class Reflection { | |
public static getPropertyName( propertyFunction: Function ): string { | |
return /\.([^\.;]+);?\s*\}$/.exec(propertyFunction.toString())[1]; | |
} | |
public static getPropertiesOfObject( object: any ): string[] { | |
let result: string[] = []; | |
if ( typeof object === "object" ) { | |
for ( let i in object ) { |