Skip to content

Instantly share code, notes, and snippets.

Keybase proof

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:

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
@hackerkid
hackerkid / send-message.py
Last active September 18, 2022 17:36 — forked from sosukeinu/send-message.py
Python script to send EML file using gmail SMTP server
#!/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>')
print