Skip to content

Instantly share code, notes, and snippets.

@jessopb
jessopb / del-lbry.bat
Created February 14, 2022 18:55
Clear all LBRY data, backup wallet WINDOWS
@echo off
:A
cls
set /p menu="Do you want to delete all LBRY data and backup wallet with dated filename? (Y/N): "
if %menu%==Y goto Yes
if %menu%==y goto Yes
if %menu%==N goto No
if %menu%==n goto No

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@jessopb
jessopb / lbry-app-flow
Last active April 24, 2019 14:03
Setting up lbry-desktop environments for flow
# Webstorm:
- yarn add global flow-bin
- yarn global dir to find out where it installed
- point webstorm settings/languages & frameworks/javascript:
- version to flow
- flow executable to, e.g. `config/yarn/global/node_modules/flow-bin/vendor/flow` by browsing
- press control while hovering to see type tooltip
# Atom:
@jessopb
jessopb / sequelizeoutput.txt
Created December 29, 2018 21:52
Sequelize Output without raw
This file has been truncated, but you can view the full file.
[ Balloons {
dataValues:
{ id: 1,
size: 'large',
color: 'red',
createdAt: 2018-12-29T05:48:38.000Z,
updatedAt: 2018-12-29T05:48:38.000Z },
_previousDataValues:
{ id: 1,
size: 'large',
# initialization file (not found)
@jessopb
jessopb / gist:ebe6a6d1b401def755af756dd6061f75
Last active September 26, 2018 03:52
Adding outpoint to resolve call results
Docs for lbry api:
https://lbryio.github.io/lbry/#resolve
outpoint is not currently part of the result/response
lbry/lbrynet/wallet/resolve.py
outpoint could be manufactured and added to:
`
def _build_response(name, value, claim_id, txid, n, amount, effective_amount,
claim_sequence, claim_address, supports):
r = {