Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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 os | |
from PIL import Image, ImageColor | |
import numpy as np | |
from wordcloud import WordCloud, STOPWORDS | |
import argparse | |
def argumentparser(): | |
parser = argparse.ArgumentParser(description='Make a word cloud of a bib file') | |
parser.add_argument('--bib_dir', type=str, | |
help='location of the bib file') |
This file contains hidden or 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
/* Watch next sidebar */ | |
#related.ytd-watch { display: none; } | |
/* Comments */ | |
/* ytd-comments { display: none; } */ | |
/* Watch next panel over the that has just finished */ | |
.ytp-endscreen-content { display: none; } | |
/* Suggesting videos whilst the current one is starting */ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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 os | |
import csv | |
import time | |
import argparse | |
import subprocess | |
def parse_args(): | |
parser = argparse.ArgumentParser() | |
parser.add_argument("--search_terms", type=str) | |
return parser.parse_args() |
This file contains hidden or 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 os | |
import json | |
import requests | |
import argparse | |
from bs4 import BeautifulSoup as bs | |
def fetch(url): | |
page = requests.get(url) | |
return bs(page.content, "html.parser") |
This file contains hidden or 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/bash | |
DATE=$(date +"%Y%m%d%H%M") | |
gnome-screenshot -f "/home/act65/repos/capture/images/$DATE.jpg" | |
# then add */2 * * * * /{path_to_this_file} to crontab using crontab -e |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder