This file contains 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
module.exports = leftpad; | |
function leftpad (str, len, ch) { | |
str = String(str); | |
var i = -1; | |
if (!ch && ch !== 0) ch = ' '; | |
len = len - str.length; | |
while (++i < len) { | |
str = ch + str; | |
} | |
return str; |
This file contains 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 | |
# Solana validator remote identity transfer script v1.0 | |
# | |
# Before starting, both validators must be running and caught up. | |
# For the best experience, use ssh keys without a password. | |
# | |
# Created: 30 Sep 2023 by STEVLTH | |
# Discord: .stevlth | |
# Telegram: https://t.me/STEVLTH |