A little hand written text animation made with anime.js. The masking is a little rough but you get the idea :P.
A Pen by Matthew Ellis on CodePen.
| #!/bin/bash | |
| # file content should be | |
| #key:value1 | |
| #key:value2 | |
| # Read the key-value pairs from the file | |
| data=$(cat file.txt) | |
| # Search for a key using fzf | |
| selected_key=$(echo "$data" | awk -F ':' '{print $1}' | fzf) |
| #!/usr/bin/python | |
| import sqlite3 | |
| import shutil | |
| from datetime import datetime, timedelta | |
| import os | |
| # Function to convert a Python datetime to Chrome timestamp format | |
| def datetime_to_chrome_timestamp(dt): | |
| chrome_epoch = datetime(1601, 1, 1) | |
| return int((dt - chrome_epoch).total_seconds() * 1000000) |
| import os | |
| import re | |
| from bs4 import BeautifulSoup | |
| from multiprocessing import Pool | |
| def extract_html_content(file_path): | |
| with open(file_path, 'r', encoding='utf-8') as f: | |
| content = f.read() | |
| soup = BeautifulSoup(content, 'html.parser') | |
| main_content = soup.get_text() |
| Object.keys(v) |
A little hand written text animation made with anime.js. The masking is a little rough but you get the idea :P.
A Pen by Matthew Ellis on CodePen.