I hereby claim:
- I am hitchhooker on github.
- I am hitchhooker (https://keybase.io/hitchhooker) on keybase.
- I have a public key ASC6oeiZUZzxqPIQ-vVohMYlIkGH6mTHPwDJJFBK04_jSAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
PUBLIC_IP=$(curl -s https://api.ipify.org) | |
USER=$(whoami) | |
HOME_DIR=/opt/avalanche | |
AVA_VERSION=1.10.0 | |
DK_VERSION=0.4.12 | |
GO_VERSION=1.20.3 | |
PRUNING=false | |
STATESYNC=true |
#!/bin/bash | |
function print_usage() { | |
echo "Usage: "$0" /path/to/your_service_account.json" | |
echo "Example: "$0" /root/fiery.json" | |
} | |
if [ "$#" -eq 0 ] || [ "$1" == "-h" ] || [ "$1" == "--help" ]; then | |
print_usage | |
exit 0 |
#!/bin/bash | |
set -e # Exit if any command fails | |
# Variables for repeated values | |
fio_testfile="fio_testfile" | |
fio_output="fio_output.json" | |
polkadot_bin="polkadot" | |
# Function to install required tools |
# Set the execution policy to allow the script to run. | |
Set-ExecutionPolicy Bypass -Scope Process -Force | |
# Download the ISO | |
$username = [Environment]::UserName | |
$url = "https://software.download.prss.microsoft.com/dbazure/Win11_22H2_English_x64v1.iso?t=c76bca01-b0fb-45c9-9db9-8db77cf2bca7&e=1684414447&h=e86aeb549973bdf6ebb321c1516ef6194c60ac77a20925beeadf770960f81e7c" | |
$output = "$([Environment]::GetFolderPath('MyDocuments'))\..\Downloads\windows11.iso" | |
Invoke-WebRequest -Uri $url -OutFile $output | |
# Mount the ISO file |
Read Latency Statistics in nanoseconds: | |
------------------------- | |
Minimum: 480 ns | |
Maximum: 33820 ns | |
Mean: 946.457747 ns | |
Standard Deviation: 239.01481 ns | |
99.99th Percentile Read Latency: 362 ns | |
The read latency meets the 2000 ns and lower QoS requirement |
#!/bin/bash | |
# Create a backup of the existing /etc/hosts file | |
cp /etc/hosts /etc/hosts.backup | |
# Add the ai.com entry to the /etc/hosts file | |
echo "127.0.0.1 ai.com" >> /etc/hosts | |
# Create a Caddyfile with the desired configuration | |
cat > /etc/caddy/Caddyfile << EOL |
# alarm 7.20 | |
20 7 * * * /bin/bash -c 'echo -e "main(i){for(i=0;;i++)putchar(((i*(i>>8|i>>9)&46&i>>8))^(i&i>>13|i>>6));}" | gcc -x c - && ./a.out | aplay' |