Skip to content

Instantly share code, notes, and snippets.

View whonion's full-sized avatar
🧘‍♂️
In Code We Trust

RegEdit | whonion.app whonion

🧘‍♂️
In Code We Trust
View GitHub Profile
ssh-keygen -t rsa
#set passphrase on your private_key
cp .ssh/id_rsa.pub .ssh/authorized_keys
rm -rf .ssh/id_rsa
nano /etc/ssh/sshd_config
Port 65500 #set_custom_port
PasswordAuthentication no
PermitEmptyPasswords no
PermitRootLogin no
#!/bin/bash
# Read each line from addresses.txt file
while IFS= read -r address; do
# Search for the address in genesis.json file
grep -q "$address" genesis.json
# Check the exit status of grep command
if [ $? -eq 0 ]; then
echo "Address '$address' found in genesis.json"
#!/bin/bash
NODE_MONIKER="whonion"
cd || return
rm -rf sei-chain
git clone https://github.com/sei-protocol/sei-chain.git
cd sei-chain || return
git checkout 1.2.2beta-postfix
make install
#!/bin/bash
NODE_MONIKER="whonion"
cd || return
rm -rf hub
git clone https://github.com/mars-protocol/hub
cd hub || return
git checkout v1.0.0-rc7
make install
#!/bin/bash
NODE_MONIKER="whonion"
cd || return
rm -rf humans
git clone https://github.com/humansdotai/humans
cd humans || return
git checkout v1
go build -o humansd cmd/humansd/main.go
#!/bin/bash
sudo apt update && sudo apt upgrade -y
sudo apt install curl tar wget clang pkg-config libssl-dev jq build-essential git make ncdu tmux -y
tmux new-session -s celestia_light
cd $HOME
ver="1.18.2"
cd $HOME
wget "https://golang.org/dl/go$ver.linux-amd64.tar.gz"
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf "go$ver.linux-amd64.tar.gz"