Consider the keybase command line program.
# look me up
import time | |
from typing import List | |
class RateLimiter(object): | |
"""Given a maximum number of requests that can be made w/in | |
a given time interval in milliseconds, returns True if | |
you are permitted to make a request w/o being rate limited | |
or False when you are not permitted to make a request. | |
""" |
Consider the keybase command line program.
# look me up
// XPath CheatSheet | |
// To test XPath in your Chrome Debugger: $x('/html/body') | |
// http://www.jittuu.com/2012/2/14/Testing-XPath-In-Chrome/ | |
// 0. XPath Examples. | |
// More: http://xpath.alephzarro.com/content/cheatsheet.html | |
'//hr[@class="edge" and position()=1]' // every first hr of 'edge' class |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |