This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
origfile="$(realpath "${1}")" | |
basefile="$(basename "${origfile}")" | |
basedir="$(dirname "${origfile}")" | |
ext="${basefile##*.}" | |
newfile="$(basename -s "${ext}" "${origfile}")nodv.${ext}" | |
echo "Transcoding File ${basefile} in ${basedir}..." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* cache.js - es6 proxy cacher | |
* Copyright (c) 2019, Steven Bower (MIT License). | |
*/ | |
'use strict'; | |
/** | |
* Cache for Clients and Wallets | |
* Use with ES6 Proxy: | |
* eg, new Proxy(WalletClient, new Cache()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## Update specific secret by name | |
## (Seriously, this is annoying and should be baked in docker stack deploy) | |
## Call with env + secret file path, exactly as defined in docker-compose.yml | |
## Eg: ./update-secret.sh master ./secrets/worker/worker.json | |
## Dependencies: yq and jq | |
## yq - pip install yq | |
## jq - pacman -Sy jq |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am blusyn on github. | |
* I am blusyn (https://keybase.io/blusyn) on keybase. | |
* I have a public key whose fingerprint is CED1 0C41 AA0B D389 2373 4F40 6DA2 2FB7 B442 87D9 | |
To claim this, I am signing this object: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* FOR COPAY WALLET | |
* Converts multisig xpubs into addresses | |
* | |
* Dependencies: | |
* npm install bitcore | |
* | |
* NOTE: You can retrieve xpubs from copay using JSON backup | |
* Decrypt json backup using sjcl @ https://github.com/bitwiseshiftleft/sjcl | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Converts mnemonic recovery seed | |
* into xpub for watch-only services | |
* | |
* Dependencies: | |
* npm install bitcore bitcore-mnemonic | |
*/ | |
var bitcore = require('bitcore'); | |
var bitcoreMnemonic = require('bitcore-mnemonic'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying that +blusyn is my openname (Bitcoin username). https://onename.io/blusyn |