Skip to content

Instantly share code, notes, and snippets.

Avatar

Brian of London brianoflondon

View GitHub Profile
View main.py
import asyncio
import logging
import os
from datetime import datetime
from itertools import zip_longest
from timeit import default_timer as timer
from typing import List, Optional
from fastapi import BackgroundTasks, FastAPI, HTTPException, Path, Query, Request
from single_source import get_version
View voltage_webhook_responder.py
import base64
import logging
import os
from typing import Optional
import base64
from timeit import default_timer as timer
import httpx
View transaction2_taitux.json
{
"_id": {
"$oid": "61e07b75d0cb1bb71883d23d"
},
"payment_hash": "9e27d52860a2d103d1c23ff979b3835cf7f7b87a4f2f65df2530944539cd7493",
"value": 10000,
"creation_date": {
"$date": "2022-01-13T19:20:17.000Z"
},
"fee": 1,
View startup-debug.log
bol@p51-server:~/code/mc-pixelmon$ docker-compose up --build
Starting mc-pixelmon ... done
Attaching to mc-pixelmon
mc-pixelmon | [init] Running as uid=1000 gid=1000 with /data as 'drwxrwxr-x 2 1000 1000 4096 Oct 23 11:53 /data'
mc-pixelmon | [init] Resolved version given 1.12.2 into 1.12.2
mc-pixelmon | [init] Resolving type given FORGE
mc-pixelmon | + [[ -z '' ]]
mc-pixelmon | + [[ -z '' ]]
mc-pixelmon | + norm=1.12.2
mc-pixelmon | + case $VANILLA_VERSION in
@brianoflondon
brianoflondon / podcastCategoriesHierachy.json
Created Oct 14, 2021
Apple's damn podcast categories as a JSON
View podcastCategoriesHierachy.json
{
"en": {
"Categories": [
{
"Arts": [
"Books",
"Design",
"Fashion & Beauty",
"Food",
"Performing Arts",
@brianoflondon
brianoflondon / make_keysend_payments_via_lnpay_with_podcasting_2_info.py
Last active Aug 31, 2021
How to send keysend payments via LNPay with a Podcasting 2.0 Custom Record
View make_keysend_payments_via_lnpay_with_podcasting_2_info.py
from asyncio.tasks import gather
from lnpay_py.lntx import LNPayLnTx
from lnpay_py.utility_helpers import get_request, post_request
from lnpay_py.wallet import LNPayWallet
from config import Config
# from models.v4vclasses import KeysendCustomRecord
import os
import asyncio
import httpx
@brianoflondon
brianoflondon / africanized_bee.py
Created Apr 14, 2020 — forked from TheCrazyGM/africanized_bee.py
Kills steem delegation and powerdown
View africanized_bee.py
#!/usr/bin/env python3
import getpass
from datetime import datetime, timedelta
from pprint import pprint
from beem import Steem
from beem.account import Account
from beem.wallet import Wallet
View keybase.md

Keybase proof

I hereby claim:

  • I am brianoflondon on github.
  • I am brianoflondon (https://keybase.io/brianoflondon) on keybase.
  • I have a public key ASC2riScrLONAhkCx8zF8Orf4QxafOK6yJ0AnSPwsoJPLwo

To claim this, I am signing this object: