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
<?php | |
##################################################### | |
# USAGE # | |
# include(CreateAnonNickPass.php) # | |
# CreateAnonNickPass::getAnonNickPassword(); # | |
##################################################### | |
class SecureRandomException extends Exception { | |
} |
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
# coding=utf-8 | |
import json | |
import time | |
from subprocess import check_output, CalledProcessError | |
class WHO: | |
FROM_ME = "key_from_me == 1" | |
OTHERS = "key_from_me != 1" | |
ALL = "" |
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
#!/usr/bin/env python | |
#-*-coding:utf-8-*- | |
import socket | |
import sys | |
import RPi.GPIO as GPIO | |
from thread import * | |
import datetime | |
import random | |
import requests |
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
docker run --rm --name lightning --network container:bitcoind_mainnet -v /scratch/bitcoin/mainnet/bitcoind:/root/.bitcoin -v /scratch/bitcoin/mainnet/clightning:/root/.lightning --entrypoint /usr/bin/lightningd cdecker/lightningd:master --network=bitcoin --rgb=0066cc --alias=KOYMAKİSTEDİĞİNİZİSİM --ipaddr=SUNUCUNUNİPADRESİ --log-level=debug |
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
sudo docker start bitcoind_mainnet |
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
nano /usr/local/bin/bitcoin-cli (#copy and paste the commands below.) | |
#!/usr/bin/env bash | |
docker run --rm --network container:bitcoind_mainnet -v /scratch/bitcoin/mainnet/bitcoind:/data dougvk/bitcoind:latest bitcoin-cli "$@" | |
(#Press ctrl + x keys. Press "y" key to exit warning.) | |
chmod +x /usr/local/bin/bitcoin-cli | |
bitcoin-cli getinfo |
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
docker logs bitcoind_mainnet --tail "10" |
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
bitcoin-cli settxfee 0.002 |
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
lightning-cli connect 028ffea132e7e1d8e5191f7f4dfaa6b5c20509a6c668111b62c21670ce53139560 35.188.113.18 9735 | |
lightning-cli fundchannel 028ffea132e7e1d8e5191f7f4dfaa6b5c20509a6c668111b62c21670ce53139560 35.188.113.18 9735 200000 | |
lightning-cli listpeers |
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
nano /usr/local/bin/bitcoin-cli (#açılan şey not defteri alltakini kopyala-yapıştır.) | |
#!/usr/bin/env bash | |
docker run --rm --network container:bitcoind_mainnet -v /scratch/bitcoin/mainnet/bitcoind:/data dougvk/bitcoind:latest bitcoin-cli "$@" | |
(#ctrl+x tuşlarına bas.çıkan uyarıya ‘’y’’ tuşuna bas.) | |
chmod +x /usr/local/bin/bitcoin-cli | |
bitcoin-cli getinfo |
NewerOlder