Skip to content

Instantly share code, notes, and snippets.

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)
@EranAvidor
EranAvidor / helloworld.emojic
Last active March 9, 2016 17:46
Simple HelloWorld in EmojiCode
🐇 🐼 🍇
🐇🐖 🏁 ➡️ 🚂 🍇
😀 🔤Hello world🔤
🍎 0
🍉
🍉
@EranAvidor
EranAvidor / 0_reuse_code.js
Created January 11, 2016 14:06
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console