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
#!/usr/bin/env python | |
# https://codeberg.org/edent/Mastodon_Tools/src/commit/b284814810db1aaa5b0dfe98afa668f8d35eb525/threads.py | |
from mastodon import Mastodon | |
from treelib import Node, Tree | |
from datetime import datetime, timedelta | |
from urllib.parse import urlparse | |
import argparse | |
from bs4 import BeautifulSoup |
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
$ pkg shell | |
SQLite version 3.42.0 2023-05-16 12:36:15 | |
Enter ".help" for usage hints. | |
sqlite> .read tree.sql | |
deskutils/xfce4-notifyd (1) | |
databases/sqlite3 (2) | |
devel/libedit (2) | |
sysutils/xfce4-power-manager (1) | |
x11/libXScrnSaver (1) | |
x11/libXtst (145) |
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
192.168.5.1 webdav.local |
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
BEGIN { | |
FS = OFS = "\t" | |
} | |
$0 == "" { next } | |
NF == 2 { | |
current_author = $1 | |
commits[current_author]++ | |
next | |
} | |
NF == 3 { |
OlderNewer