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
def get_zero_times(token, amount = 1, interval = 30) | |
amount = amount.to_i | |
return [] if amount <= 0 | |
password_lib = ROTP::TOTP.new(token) | |
time = Time.now | |
zero_times = [] | |
while(zero_times.size < amount) |
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
🐇 🐼 🍇 | |
🐇🐖 🏁 ➡️ 🚂 🍇 | |
😀 🔤Hello world🔤 | |
🍎 0 | |
🍉 | |
🍉 |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |