I hereby claim:
- I am chill117 on github.
- I am chill1 (https://keybase.io/chill1) on keybase.
- I have a public key whose fingerprint is 9A5A 7F77 6592 73D3 8D03 9A87 8BA9 7893 7688 DB3E
To claim this, I am signing this object:
#!/bin/bash | |
# (c) 2020 [email protected] | |
# SPDX-License-Identifier: Apache-2.0 OR MIT | |
# | |
# This script checks if all software requirements are met in a Linux environment | |
# in order to use 'docker buildx' to build multi-architecture images. | |
# For more information see: | |
# https://nexus.eddiesinentropy.net/2020/01/12/Building-Multi-architecture-Docker-Images-With-Buildx/ | |
function error() { |
#!/bin/bash | |
# (c) 2020 [email protected] | |
# SPDX-License-Identifier: Apache-2.0 OR MIT | |
# | |
# This script tries to reregister QEMU's binfmt_misc handlers with the | |
# fix-binary (F) flag in order to be usable with 'docker buildx' to build | |
# multi-architecture images. | |
# For more information see: | |
# https://nexus.eddiesinentropy.net/2020/01/12/Building-Multi-architecture-Docker-Images-With-Buildx/ |
// MIT License | |
// | |
// Copyright (c) 2021 Charles Hill | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights | |
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
// copies of the Software, and to permit persons to whom the Software is | |
// furnished to do so, subject to the following conditions: |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python | |
# Place this file in the Electrum scripts directory. Then run from command line, like this: `~/.electrum/scripts/adjust_gap_limit_to_find_address.py`. | |
import sys | |
from electrum import bitcoin, Network, print_json, SimpleConfig, Wallet, WalletStorage | |
try: | |
addr = sys.argv[1] | |
except Exception: | |
print 'Usage: ' + sys.argv[0] + ' <bitcoin_address>' |
#!/usr/bin/env python | |
# Place this file in the Electrum scripts directory. Then run from command line, like this: `~/.electrum/scripts/watch.py`. | |
import sys, time | |
from electrum import Network, print_json, SimpleConfig, Wallet, WalletStorage | |
def initialize(): | |
config = SimpleConfig() |
#!/usr/bin/env python | |
# Place this file in the Electrum scripts directory. Then run from command line, like this: `~/.electrum/scripts/get_address_by_index.py <index>`. | |
import sys | |
from electrum import SimpleConfig, Wallet, WalletStorage | |
try: | |
index = int(sys.argv[1]) | |
except Exception: | |
print 'Usage: ' + sys.argv[0] + ' <index>' |
#!/usr/bin/env python | |
# Place this file in the Electrum scripts directory. Then run from command line, like this: `~/.electrum/scripts/get_address_history.py <bitcoin_address>`. | |
import sys | |
from electrum import bitcoin, Network, print_json, SimpleConfig, Wallet, WalletStorage | |
try: | |
addr = sys.argv[1] | |
except Exception: | |
print 'Usage: ' + sys.argv[0] + ' <bitcoin_address>' |
#!/bin/bash | |
# | |
# A simple bash script for starting/stopping/restarting an application or service. | |
# | |
start() | |
{ | |
# Your start application code goes here. | |
} |
#!/bin/bash | |
# | |
# Use this script to automatically delete old backup files. | |
# | |
declare -i max_age | |
# Number of days to keep backup files. | |
max_age=10 |