![Screenshot 2024-06-19 at 12 28 23](https://private-user-images.githubusercontent.com/59758342/340935484-400a5519-e3dd-4605-b6c5-d02641a64f2e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAwODQ5NDMsIm5iZiI6MTcyMDA4NDY0MywicGF0aCI6Ii81OTc1ODM0Mi8zNDA5MzU0ODQtNDAwYTU1MTktZTNkZC00NjA1LWI2YzUtZDAyNjQxYTY0ZjJlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA0VDA5MTcyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTMxMzA3OTg2ZGJiY2MyYjA4ODQ3NTA2ZGJhOWUzZWM0NzJjMGQ2Y2VlZjg5ZWI2NjQyOTc0ZDIzOWQ3OTdjMGYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Z2z1rP8K65SztTj12mOyfSRpLrYi3TCmKo9GGWsvQog)
![Screenshot 2024-06-19 at 12 28 23](https://private-user-images.githubusercontent.com/59758342/340935484-400a5519-e3dd-4605-b6c5-d02641a64f2e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAwODQ5NDMsIm5iZiI6MTcyMDA4NDY0MywicGF0aCI6Ii81OTc1ODM0Mi8zNDA5MzU0ODQtNDAwYTU1MTktZTNkZC00NjA1LWI2YzUtZDAyNjQxYTY0ZjJlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA0VDA5MTcyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTMxMzA3OTg2ZGJiY2MyYjA4ODQ3NTA2ZGJhOWUzZWM0NzJjMGQ2Y2VlZjg5ZWI2NjQyOTc0ZDIzOWQ3OTdjMGYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Z2z1rP8K65SztTj12mOyfSRpLrYi3TCmKo9GGWsvQog)
Wrapper around https://github.com/helmisatria/tweet-harvest
Usage:
$ python3 harvest.py yyy mm dd n keyword
yyyy
: year (e.g. 2018)mm
: month (e.g. 08)dd
: date (e.g. 20)from datasets import Dataset, DatasetDict | |
from transformers import AutoTokenizer, TrainingArguments, Trainer, DataCollatorForTokenClassification, AutoModelForTokenClassification, pipeline | |
from sklearn.metrics import precision_score, recall_score, f1_score, classification_report, confusion_matrix, ConfusionMatrixDisplay | |
from shutil import rmtree | |
from tqdm import tqdm | |
import matplotlib.pyplot as plt | |
import seaborn as sns | |
import pandas as pd | |
import numpy as np |
import random | |
import calendar | |
# our sus link | |
link = "https://docs.google.com/forms/d/1Kl1On8QB2n_tV_5qUazVNgTGEpw4PtoFOdJ-L45uOh4/viewform" | |
# load our names to an array | |
with open("names.txt", "r") as f: | |
names = [line.strip() for line in f] |
run this command first to see from where clang includes its header files
clang -v -fsyntax-only -x c++ /dev/null
. In my case, it's in /Library/Developer/CommandLineTools/usr/include/c++/v1
press Cmd + Shift + G in Finder and type the path or use cd
to go to the dir
mkdir bits
in there
cd bits
and create a new file stdc++.h
and paste the following content to it (source: https://gist.github.com/Einstrasse/ac0fe7d7450621a39364ed3b05cacd11)
[colors] | |
black = #1A1D45 | |
bblack = #2c3073 | |
white = #D7B7BB | |
red = #FF4EA5 | |
green = #7EB564 | |
yellow = #F5B569 | |
blue = #7A89EC | |
magenta = #B66CDC | |
cyan = #6CAC99 |
! general | |
*foreground: #16161C | |
*background: #f9cbbe | |
! black | |
*color0: #f9cbbe | |
*color8: #ad8d84 | |
! red | |
*color1: #df2d52 |