Skip to content
View xjmzx's full-sized avatar

Block or report xjmzx

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
xjmzx/README.md
lncli listchannels | tr -d '",' |
awk '/chan_id|capacity|local_balance|remote_balance|peer_alias/{print $1 $2 $3 $4",";
if(/capacity/){ capacity = $2 } 
if(/local_balance/){ printf "%08.4f%%, \n", capacity / $2 }}' |
sed 'N;N;N;N;N;s/\n/ /g' | sort -k 4nr | awk '{print $1 $4 $6}' |
sed 's/,/", # /' | sed 's/%,/% /' |
sed 's/chan_id:/"/' | sed 's/peer_alias:/ /' | sed 's/.$//' | sed '$s/,/ /'

Pinned Loading

  1. goose-recipes goose-recipes Public

    goose cli recipes

  2. xjmzx xjmzx Public

  3. xjmzx.github.io xjmzx.github.io Public

    Github Stats | Nostr

    Svelte

  4. Obsidian-snippets Obsidian-snippets Public

    CSS

  5. Obsidian-themes Obsidian-themes Public

    CSS

  6. npub npub
    1
    8d44a2e4fff09f8d113598f57f94e3ffc90be06700e08a0f83646acc33d269fe