I hereby claim:
- I am hackerkid on github.
- I am vishnuks (https://keybase.io/vishnuks) on keybase.
- I have a public key whose fingerprint is C42D 90D4 7431 6174 E6C3 261E AD1B 4BCC 2769 EE5A
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| tfidf_body = TfidfVectorizer().fit_transform(bodies) | |
| tfidf_headlines = TfidfVectorizer().fit_transform(headlines) | |
| for i in range(0, 10): | |
| cosine_similarities = linear_kernel(tfidf_headlines[i], tfidf_body[i]).flatten() |
| {"bpi": {"2017-09-08": 306.66, | |
| "2017-09-09": 305.14, | |
| "2017-09-10": 293.34, | |
| "2017-09-11": 297.21, | |
| "2017-09-12": 294.28, | |
| "2017-09-13": 280.5, | |
| "2017-09-14": 230.63, | |
| "2017-09-15": 254.26, | |
| "2017-09-16": 247.97, | |
| "2017-09-17": 252.3, |
| https://play.google.com/store/apps/details?id=com.showtimeapp |
| Verifying my Blockstack ID is secured with the address 1FGK9xwr62ZgxCtK26VEVo3jSNkTUnuvUf https://explorer.blockstack.org/address/1FGK9xwr62ZgxCtK26VEVo3jSNkTUnuvUf |
| from zerver.models import Message | |
| from bs4 import BeautifulSoup | |
| def replace_zulip_electron_links(): | |
| messages = Message.objects.filter(rendered_content__contains="https://github.com/zulip/zulip-electron") | |
| for message in messages: | |
| soup = BeautifulSoup(message.rendered_content, "html.parser") | |
| link_elements = soup.findAll("a") | |
| for link in link_elements: | |
| link["href"] = link["href"].replace("https://github.com/zulip/zulip-electron", "https://github.com/zulip/zulip-desktop") |
| #!/usr/bin/env python | |
| # -*- mode: python; coding: utf-8-unix -*- | |
| import sys | |
| import os.path | |
| import smtplib | |
| if len(sys.argv) <= 2: | |
| print('Usage:') | |
| print(' $ python ' + sys.argv[0] + ' mailfrom rcptto <emlfile>') | |