This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import snscrape.modules.twitter as sntwitter | |
import sys | |
search_str = " ".join(sys.argv[1:]) | |
for i,tweet in enumerate(sntwitter.TwitterSearchScraper(search_str).get_items()): | |
if "kevin" in tweet.user.displayname.lower(): | |
print(tweet.user.displayname) | |
print("@"+tweet.user.username) | |
print(tweet.content) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"basics": { | |
"name": "Thomas Hudson", | |
"email": "thomas@gthudson.me", | |
"label": "Machine Learning PhD Student", | |
"picture": "https://avatars.githubusercontent.com/u/13795113?v=4", | |
"summary": "Researching NLP problems in veterinary medicine", | |
"location": { | |
"address": "", | |
"postalCode": "", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:rawvoice="http://www.rawvoice.com/rawvoiceRssModule/"> | |
<channel> | |
<title>Turkish Tea Time</title> | |
<atom:link href="http://turkishteatime.com/podcast/feed/" rel="self" type="application/rss+xml"/> | |
<link>http://turkishteatime.com/podcast</link> | |
<description>Join us at Turkish Tea Time (turkishteatime.com) as we chat about the Turkish language, its grammar, and how it's spoken in every day life. We're Turkish learners, Turkish teachers, and Turkish people ourselves - so we understand what it takes to get a grip on this amazing language. Published daily, each lesson revolves around a dialog that |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
echo '<?xml version="1.0" encoding="UTF-8"?>' | |
echo '<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">' | |
echo '<channel>' | |
echo '<itunes:image href="https://share.tube/lazy-static/avatars/bfce2eb1-82b3-4490-88d1-c7ca034a5745.jpg"/>' | |
echo '<title>Trendy Talk</title>' | |
echo '<link>https://portal.mozz.us/gemini/gem.chriswere.uk/trendytalk/</link>' | |
echo "<description>Trendy Talk is an often gemini-centric punk as heck pseudo-podcast from the Internet's ChrisWere, Uoou and HexDSL. It has no schedule, no theme and no format to follow. It may however be the best gemini podcast on the whole smol-internet. So you are welcome.</description>" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/"> | |
<channel> | |
<title>Thomas Hudson's PhD meeting nodes</title> | |
<description>Minutes from progress meetings, group meetings and the like</description> | |
<item> | |
<title>Weekly progress</title> | |
<pubDate>2020-02-03T11:00:00</pubDate> | |
<description><![CDATA[<ul><li>Writing 9mo review<ul><li>Literature review mostly complete</li><li>Still need citations, abstract, conclusions</li></ul></li><li>Using Github wiki for ideas, paper reviews</li><li>Written <a href="https://github.com/ghomasHudson/phd/wiki/Paper-Reviews">summary of reformer paper</a></li><li>Downloading NarrativeQA dataset</li></ul>]]></description> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Implementation of BUILD algorithm | |
from pptree import * | |
from blessings import Terminal | |
term = Terminal() | |
colFunctions = ["red","green","yellow","blue","magenta","cyan"] | |
def printTab(*args, **kwargs): | |
try: |