This file contains 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
nmap -sn -iL ethereum_ips.txt | grep -Eo "((\(|)([0-9]{1,3}[\.]){3}[0-9]{1,3})(\)|$)|[0-9]+\.[0-9]+s" | tr -d '\015' | paste - - | sort -k 2 |
This file contains 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
import ecdsa | |
# https://bitcoin.stackexchange.com/questions/114850/sighash-single-with-no-corresponding-output | |
pubkey = "044edfcf9dfe6c0b5c83d1ab3f78d1b39a46ebac6798e08e19761f5ed89ec83c108172c4776865f02047b39cd704135c00c1b00085e0d1b9255405ac7079fa50a2" | |
signature = "912f994094193109a9faedf7ef855220638f95ac51c66d4eb46740dd1c0813fa100bc99adb8b64fb784173ca8883a78835e156b74f143c02e071dc82695e8472" | |
msg = bytes.fromhex("0100000000000000000000000000000000000000000000000000000000000000") | |
verify_key = ecdsa.VerifyingKey.from_string(bytearray.fromhex(pubkey), curve=ecdsa.SECP256k1) |
This file contains 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
- SPV wallet : https://github.com/BitcoinAmiens/dogecoin-spv-node | |
- Payment Channel service : https://github.com/xanimo/dogecoin-spv-node-middleware | |
- Testnet faucet : https://gitlab.com/toffee_/dogecoin-testnet-faucet | |
- Payment Channel poc : https://github.com/rllola/doge-payment-channel | |
- Testnet miner : https://github.com/rllola/dogecoin-miner-rust | |
- Libdogecoin : https://github.com/xanimo/libdogecoin | |
- Discord tipping bot : https://github.com/BitcoinAmiens/dogecoin-tipping-bot |
This file contains 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
{ | |
"hash": "a19271cbe06a8243dfecdcf5935754566edc074a7544f042b5bb4796b8a87027", | |
"confirmations": 3429024, | |
"strippedsize": 516, | |
"size": 516, | |
"weight": 2064, | |
"height": 158390, | |
"version": 6422786, | |
"versionHex": "00620102", | |
"merkleroot": "cd258a54487d9239d10743cbe3f68ce07d610def2bd5659a6e41b84671245117", |
This file contains 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
#!/usr/bin/env python3 | |
from Crypto.Util.number import inverse | |
import ecdsa | |
import random | |
import hashlib | |
C = ecdsa.SECP256k1 | |
G = C.generator | |
n = C.order |
This file contains 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
import re | |
import glob | |
javascript_files = glob.glob('**/*.js', recursive=True) | |
variables = [] | |
for file in javascript_files: | |
with open(file, 'r') as f: | |
javascript_blob = f.read() |
This file contains 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
Hello World ! |
This file contains 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
const electron = require('electron') | |
const APP_VERSION = require('../package.json').version | |
const AUTO_UPDATE_URL = 'https://api.update.rocks/github.com/rllola/electron-example/update/' + process.platform + '/' + APP_VERSION | |
function init () { | |
if (process.platform === 'linux') { | |
console.log('Auto updates not available on linux') | |
} else { | |
initDarwinWin32() |
This file contains 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 | |
NP="$(nproc)" | |
PYQTSIP_VERSION=4.19.14 | |
QT5_VERSION=5.12 | |
QT5_PATH=/opt/qt512 |
This file contains 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
# Sample Server Configuration File for Grin | |
# | |
# When running the grin executable without specifying any command line | |
# arguments, it will look for this file in three places, in the following | |
# order: | |
# | |
# -The working directory | |
# -The directory in which the executable resides | |
# -[user home]/.grin | |
# |
NewerOlder