The following steps worked for me, but consider them untested. Use at your own risk!
That being said, the process should be fairly quick, as long as you use the custom image provided in this thread. Otherwise, the Pi02 won't even boot.
The following steps worked for me, but consider them untested. Use at your own risk!
That being said, the process should be fairly quick, as long as you use the custom image provided in this thread. Otherwise, the Pi02 won't even boot.
#!/bin/sh | |
NET_INF=/sys/class/net/eth0/address | |
if ! [ -f "$NET_INF" ]; then | |
NET_INF=/sys/class/net/wlan0/address | |
fi | |
sed -e 's,:,,g' "$NET_INF" |
import json | |
import subprocess | |
# TODO: support chcking s1,s2,s3 nodes | |
REMOTE_NODE_URL = 'https://api.harmony.one' | |
def get_latest_headers(api=None): | |
cmd = ['./hmy', 'blockchain', 'latest-header'] | |
if api != None: |
FROM --platform=$TARGETPLATFORM ubuntu:18.04 | |
# https://docs.docker.com/engine/reference/builder/#automatic-platform-args-in-the-global-scope | |
ARG TARGETARCH | |
ARG TARGETOS | |
ARG TARGETPLATFORM | |
ARG GOLANG_VERSION="1.16.3" | |
SHELL ["/bin/bash", "-c"] |
# | |
# Automatically generated file; DO NOT EDIT. | |
# Linux/arm64 5.10.92 Kernel Configuration | |
# | |
CONFIG_CC_VERSION_TEXT="aarch64-linux-gnu-gcc (Debian 10.2.1-6) 10.2.1 20210110" | |
CONFIG_CC_IS_GCC=y | |
CONFIG_GCC_VERSION=100201 | |
CONFIG_LD_VERSION=235020000 | |
CONFIG_CLANG_VERSION=0 | |
CONFIG_LLD_VERSION=0 |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"/> | |
<title>Web Worker Transfers</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script> | |
<script src="./suite.js"></script> | |
</head> | |
<body> | |
<h1>Open the console to view the results</h1> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"/> | |
<title>Math.ab VS Bitwise abs</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script> | |
<script src="./suite.js"></script> | |
</head> | |
<body> | |
<h1>Open the console to view the results</h1> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"/> | |
<title>checking if string is of a certain type: array vs regex</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script> | |
<script src="./suite.js"></script> | |
</head> | |
<body> | |
<h1>Open the console to view the results</h1> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"/> | |
<title>Current Watchlist reaction logic vs new algo #jsbench #jsperf</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script> | |
<script src="./suite.js"></script> | |
</head> | |
<body> | |
<h1>Open the console to view the results</h1> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"/> | |
<title>Test Object Array vs primitive array</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script> | |
<script src="./suite.js"></script> | |
</head> | |
<body> | |
<h1>Open the console to view the results</h1> |