Fossify Calendar in f-droid and Nextcloud. Termux calcurse-caldav and Nextcloud.
fireshell
XMPP/Jabber: fireshell[at]linux[dot]monster
OMEMO fingerprints: 497caf3d 63fa6692 44a892e8 e0caab2e a1361f14 92f826f7 aa80e611 10030725
Matrix/Element: [at]fireshell:matrix[dot]hostux[dot]net
IRC: fireshell on Libera Chat
OTR fingerprints: 1A66175C 7E713B1E 6D15079 87FB1952 C6866E05
- 0 Posts
- 12 Comments
fireshell@kbin.earthto Selfhosted@lemmy.world•Forgejo fills up hard drive with repo-archives26·28 days agoScript for monitoring disk space in Linux
The script below is designed to monitor disk space usage on a specified server partition. Configurable parameters include the maximum allowable percentage of disk space usage (
MAX
), the e-mail address to receive alerts (EMAIL
) and the target partition (PARTITION
).The script uses the df command to collect disk usage information and sends email alerts if the current usage exceeds the specified threshold
#!/bin/bash # Script: ./df_guard.sh [config_file] # Set the maximum allowed disk space usage percentage MAX=90 # Set the email address to receive alerts [email protected] # Set the partition to monitor (change accordingly, e.g., /dev/sda1) PARTITION=/dev/sda1 # Get the current disk usage percentage and related information USAGE_INFO=$(df -h "$PARTITION" | awk 'NR==2 {print $5, $1, $2, $3, $4}' | tr '\n' ' ') USAGE=$(echo "$USAGE_INFO" | awk '{print int($1)}') # Remove the percentage sign if [ "$USAGE" -gt "$MAX" ]; then # Send an email alert with detailed disk usage information echo -e "Warning: Disk space usage on $PARTITION is $USAGE%.\n\nDisk Usage Information:\n$USAGE_INFO" | \ mail -s "Disk Space Alert on $HOSTNAME" "$EMAIL" fi
Installation
sudo install -m 0755 df_guard.sh /usr/local/bin/df_guard.sh
Make the script executable:
sudo chmod +x /usr/local/bin/df_guard.sh
Launch examples
- Every 15 minutes.
In crontab (root)
*/15 * * * * * /usr/local/bin/df_guard.sh
fireshell@kbin.earthto Selfhosted@lemmy.world•Forgejo fills up hard drive with repo-archives311·29 days agoAnubis is usually installed in such a case.
fireshell@kbin.earthto Privacy@lemmy.ml•Russia orders state-backed Max messenger app to be pre-installed on new phones313·2 months agois no better than the news about Chat Control
fireshell@kbin.earthto Selfhosted@lemmy.world•Anubis is awesome! Stopping (AI)crawlbots24·3 months agoThe development of Anubis remains a matter of enthusiasm: Zee is funding the project through Patreon and sponsorship on GitHub, but cannot yet afford to pursue it on a full-time basis. He would also like to hire a key community member, budget permitting.
Setup Miniflux to fetch all my feeds, which I can parse through manually during the day and send over the choice pieces to Wallabag for later reading, either at lunch or at nighttime using my phone or KOReader.
Normally postpone to read in the e-book this is Readeck, Wallabag and LinkWarden (taste and color), I have Self-Hosted Wallabag through KOReader.
Imagine that someone collected and kept the bookmarks there, and now they will disappear. Another reason to remember that you do not need to store anything important remotely.
Great news. Maybe someone else will think about the rejection of Google.
fireshell@kbin.earthto Technology@lemmy.world•Unhappy with the recently lost file upload feature in the Nextcloud app for Android? So are we. Let us explain. - Nextcloud7·5 months agoGreat news. Maybe someone else will think about the rejection of Google.
fireshell@kbin.earthto Technology@beehaw.org•Signal clone used by Trump official stops operations after report it was hacked1·5 months agoBut it’s still a little better than Hilka Clinton’s under-bed email server, or Hunter Biden’s macpuke with pictures of his hookers that he just dumped in the middle of nowhere. Anyway, there’s always been strife, which suggests that it’s probably not accidental.
That’s right, if Fossify Calendar doesn’t support your phone you can get an alternative Etar via DAVx⁵.