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
var zeit = new Date(); | |
var sec = zeit.getSeconds(); | |
if (sec < 6 ){ | |
sec = 9 | |
} | |
if (sec > 5 & sec < 13 ){ | |
sec = 8 |
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
if (wochentag==3) document.write("Wednesday"); | |
if (wochentag==4) document.write("Thrusday"); | |
if (wochentag==5) document.write("Friday"); |
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
"""A Python script that creates a SOL stake account and delegates it to a given validator""" | |
import subprocess | |
LEDGER_PRIVATE_ADDR = "usb://ledger" | |
def main(): | |
stake_account_json_file = input( | |
"Please enter the name for this new stake account: " | |
) |
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
"""A Python script to query stake account balances""" | |
import json | |
import requests | |
import subprocess | |
STAKE_ACCOUNT_ADDRESSES = [ | |
"<ADD_ALL_ADDRESSES_HERE>" | |
] | |
OlderNewer