Skip to content

Instantly share code, notes, and snippets.

View vincenzopalazzo's full-sized avatar
:octocat:
The commit can contain poetry

Vincenzo Palazzo vincenzopalazzo

:octocat:
The commit can contain poetry
View GitHub Profile
@vincenzopalazzo
vincenzopalazzo / keybase.md
Last active September 14, 2021 09:22
keybase.md

Keybase proof

I hereby claim:

  • I am vincenzopalazzo on github.
  • I am vincenzopalazzo (https://keybase.io/vincenzopalazzo) on keybase.
  • I have a public key ASDKp8LKnl-K4z-EoBBTRD03nbyBulSsrL_DqQOsEXtUFQo

To claim this, I am signing this object:

@vincenzopalazzo
vincenzopalazzo / comparison_raspberrypi3b.md
Last active September 21, 2021 10:08
c-lightning build comparison

distclean on rasperry pi3 b

make distclean && ./configure --enable-developer --enable-experimental-features && time make

....

cc tests/plugins/test_selfdisable_after_getmanifest.c
ld tests/plugins/test_selfdisable_after_getmanifest
genidx doc/index.rst
rm external/arm-linux-gnueabihf/libwally-core-build/src/secp256k1/libsecp256k1.la
@vincenzopalazzo
vincenzopalazzo / queries.md
Created October 22, 2021 08:53
graph ql metrics
query {
  getMetricOne(node_id: "03e2408a49f07d2f4083a47344138ef89e7617e63919202c92aa8d49b574a560ae") {
    metric_name
    node_alias
    color
    os_info {
      os
      version
 architecture
@vincenzopalazzo
vincenzopalazzo / get_nodes.md
Created December 14, 2021 18:56
Query example from the playground https://api.lnmetrics.info

Playground request

query {
  getNodes(network: "bitcoin") {
    alias
    node_id
    last_update
    os_info {

Playground request

query {
  getMetricOne(node_id: "03e2408a49f07d2f4083a47344138ef89e7617e63919202c92aa8d49b574a560ae",
  												start_period: 1639502516, end_period: 1639507516) {
    metric_name
    node_alias
    address {
      type
[tool.poetry]
name = "lnprototest"
version = "0.0.1"
description = "Lightning BOLT Protocol Test Framework"
authors = []
[tool.poetry.dependencies]
python = "^3.8"
pyln-proto = "0.10.1"
pyln-bolt1 = "1.0.1.186"
@vincenzopalazzo
vincenzopalazzo / spacemacs-keybindings
Created April 9, 2022 20:03 — forked from adham90/spacemacs-keybindings
spacemacs keybindings that i need to learn
SPC s c remove highlight
**** Files manipulations key bindings
Files manipulation commands (start with ~f~):
| Key Binding | Description |
|-------------+----------------------------------------------------------------|
| ~SPC f c~ | copy current file to a different location |
| ~SPC f C d~ | convert file from unix to dos encoding |
| ~SPC f C u~ | convert file from dos to unix encoding |
@vincenzopalazzo
vincenzopalazzo / my.spacemacs
Created May 12, 2022 21:24
My basic spacemacs configuration
;; -*- mode: emacs-lisp; lexical-binding: t -*-
;; This file is loaded by Spacemacs at startup.
;; It must be stored in your home directory.
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(spacemacs-theme-custom-colors '((base . "#ffffff") (bg1 . "#282a36") (cblk-ln-bg . "#ffffff") (comment . "#6272a4") (comment-bg . "#282a36") (func . "#50fa7b") (head3-bg . "#ffffff") (keyword . "#ff79c6") (mat . "#ffffff") (meta . "#86dc2f") (str . "#f1fa8c") (type . "#8be9fd") (var . "#7590db")))
)
#config c-lightning
network=bitcoin
alias=BRUCEWAINE
rgb=02bf81
#config bitcoin core
#bitcoin-cli=/home/vincent/Bitcoin/bitcoin-0.20.0/bin/
#bitcoin-datadir=/media/vincent/Maxtor/BitcoinCore/node/
bitcoin-rpcuser=vincent
bitcoin-rpcpassword=vincent
@vincenzopalazzo
vincenzopalazzo / .spacemacs
Created June 10, 2022 11:41
My spacemacs configuration
;; -*- mode: emacs-lisp; lexical-binding: t -*-
;; This file is loaded by Spacemacs at startup.
;; It must be stored in your home directory.
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(spacemacs-theme-custom-colors '((base . "#ffffff") (bg1 . "#282a36") (cblk-ln-bg . "#ffffff") (comment . "#6272a4") (comment-bg . "#282a36") (func . "#50fa7b") (head3-bg . "#ffffff") (keyword . "#ff79c6") (mat . "#ffffff") (meta . "#86dc2f") (str . "#f1fa8c") (type . "#8be9fd") (var . "#7590db")))