I hereby claim:
- I am techtheory on github.
- I am jimkopps (https://keybase.io/jimkopps) on keybase.
- I have a public key ASBOzQ0YiIvRvy1RgBr4xBX9y5OfxR-T0UcWCDAx5T5J0Qo
To claim this, I am signing this object:
import requests | |
from bs4 import BeautifulSoup | |
import time | |
USER_AGENT = {'User-Agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36'} | |
def fetch_results(search_term, number_results, language_code): | |
assert isinstance(search_term, str), 'Search term must be a string' | |
assert isinstance(number_results, int), 'Number of results must be an integer' |
I hereby claim:
To claim this, I am signing this object:
function timeSince(date) { | |
var seconds = Math.floor(((new Date().getTime()/1000) - date)), | |
interval = Math.floor(seconds / 31536000); | |
if (interval > 1) return interval + "y"; | |
interval = Math.floor(seconds / 2592000); | |
if (interval > 1) return interval + "m"; | |
interval = Math.floor(seconds / 86400); |
Check out how all your default styles look, before you start having to write overrides to override your overrides.
I hereby claim:
To claim this, I am signing this object: