Skip to content

Instantly share code, notes, and snippets.

{"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
@Kukks
Kukks / gist:efca95519ff67f062fc86187f18b88c1
Created October 11, 2021 07:07
bitcoin-clightning.custom.yml
version: "3"
services:
clightning_bitcoin:
environment:
LIGHTNINGD_OPT: |
YOUR
EXTRA
CONFIG
HERE
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!
@Kukks
Kukks / keybase.md
Created March 23, 2022 09:03
keybase.md

Keybase proof

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: