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
# ===== Hetzner IPv4 /32 one-input setup + RDP + High Performance + No Disk Sleep ===== | |
$ip = Read-Host "Enter your public IPv4 (e.g. 157.180.xx.xx)" | |
if (-not ($ip -match '^\d{1,3}(\.\d{1,3}){3}$')) { throw "Invalid IPv4: $ip" } | |
# 1) Active NIC | |
$if = (Get-NetAdapter | Where-Object {$_.Status -eq 'Up'} | Sort-Object ifIndex | Select-Object -First 1).Name | |
if (-not $if) { throw "No active network adapter found." } | |
Write-Host "Using interface: $if" -ForegroundColor Yellow |
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
#!/bin/bash | |
# File name for saving parameters, e.g. "cosmos.log" | |
LOG_FILE="$HOME/alerts/nodealerts.log" | |
# Your node RPC address, e.g. "http://127.0.0.1:17657" | |
NODE_RPC="http://127.0.0.1:17657" | |
source | |
# Trusted node RPC address, e.g. "https://rpc.cosmos.network:17657" | |
SIDE_RPC="https://snapshot-1.euphoria.aura.network:443" | |
ip=$(wget -qO- eth0.me) |
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
### Keybase proof | |
I hereby claim: | |
* I am goto5k on github. | |
* I am goto5k (https://keybase.io/goto5k) on keybase. | |
* I have a public key ASA4RTxEFkb2p_h4HAuWC2MUV0JCYjFzLfG8Fi2P6tjKvQo | |
To claim this, I am signing this object: |