熱いので周波数下げるべし
ぶっちゃけIP取得まで確認できたが接続できなかった。
- sudo sh -c 'wpa_passphrase SSID PASSWORD >> /etc/wpa_supplicant/wpa_supplicant.conf'
- wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf
- sudo modprobe bcmdhd
from socket import socket, gethostbyname, AF_INET, SOCK_STREAM | |
from threading import Thread, Lock | |
from time import sleep, time | |
def _thread(address, ports, opened, lock): | |
while True: | |
with lock: | |
try: | |
port = ports.pop() |
#!/bin/bash | |
#Script to quickly adjust the CPU clock rate of the Banana Pi M3 | |
# ____ _____ _ __ __ ____ | |
# | _ \ | __ (_) | \/ |___ \ | |
# | |_) | __ _ _ __ __ _ _ __ __ _ | |__) | | \ / | __) | | |
# | _ < / _` | '_ \ / _` | '_ \ / _` | | ___/ | | |\/| ||__ < | |
# | |_) | (_| | | | | (_| | | | | (_| | | | | | | | | |___) | | |
# |____/ \__,_|_| |_|\__,_|_| |_|\__,_| |_| |_| |_| |_|____/ | |
#Nargren, 2016.09.03. |
熱いので周波数下げるべし
ぶっちゃけIP取得まで確認できたが接続できなかった。
let https = require('https'), | |
httpProxy = require('http-proxy'), | |
fs = require('fs'); | |
var ssl = { | |
key: fs.readFileSync('/etc/letsencrypt/live/pycontract.tk-0002/privkey.pem', 'utf8'), | |
cert: fs.readFileSync('/etc/letsencrypt/live/pycontract.tk-0002/fullchain.pem', 'utf8') | |
}; | |
import socket | |
import selectors | |
import sys | |
import time | |
HOST = None | |
# HOST = "localhost" # "::1" # "127.0.0.1", "None" | |
PORT = 2000 | |
BACKLOG = 5 | |
BUFSIZE = 1024 |
I use winodws10 64bit, so target is x86_64
build
folderAn adoption of https://pypy.readthedocs.org/en/release-2.4.x/arm.html
apt install qemu-user-static
apt-get install debootstrap
# apt-get install gcc-arm-linux-gnueabi
apt install schroot
Usage: nuitka3 [--module] [--run] [options] main_module.py | |
Options: | |
--version show program's version number and exit | |
-h, --help show this help message and exit | |
--module Create an extension module executable instead of a | |
program. Defaults to off. | |
--standalone Enable standalone mode in build. This allows you to | |
transfer the created binary to other machines without | |
it relying on an existing Python installation. It |
https://lists.linuxfoundation.org/pipermail/lightning-dev/2019-September/002174.html https://twitter.com/chaintope/status/1177771818007982081?s=21
LNの脆弱性は、チャネルオープン時のチェックが問題。 通常、既存のBOLTの仕様でチャネルをオープンする際は、資金提供者がFunding Txを作成し、そのTXIDとアウトプットの番号を受信者に渡す。 受信者はその情報から最初のコミットメントTxの署名を作成し、資金提供者に返す。その後資金提供者はFunding Txをブロードキャストしてチャネルをオープンする。