fireshell

joined 1 year ago
[–] fireshell@kbin.earth -1 points 1 month ago

Ubuntu has taken another wrong turn. She's going left and right like a prodigal daughter. And no one will be able to talk sense into her until she's had her share of bumps.

[–] fireshell@kbin.earth 65 points 2 months ago

Introduce mandatory signatures for driver files, they said. It's so safe, it's for your protection against viruses - they said. Keys can always be revoked from unscrupulous developers - they said. It will never be used to fight opensource, they said. It will never be a tool against inconvenient CIA applications - they said.

[–] fireshell@kbin.earth 0 points 3 months ago

I got a website from them MastodonShare

[–] fireshell@kbin.earth 1 points 4 months ago

sshch - SSH connection and aliases manager with curses and command line interface.

[–] fireshell@kbin.earth 3 points 8 months ago

That's right, if Fossify Calendar doesn't support your phone you can get an alternative Etar via DAVx⁵.

[–] fireshell@kbin.earth 5 points 9 months ago (2 children)

Fossify Calendar in f-droid and Nextcloud. Termux calcurse-caldav and Nextcloud.

[–] fireshell@kbin.earth -4 points 9 months ago (1 children)

Script 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=user@example.com

# 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.earth 30 points 9 months ago (1 children)

Anubis is usually installed in such a case.

[–] fireshell@kbin.earth 28 points 9 months ago (1 children)

is no better than the news about Chat Control

[–] fireshell@kbin.earth 2 points 10 months ago

Bigme ePaper Smartphone Hibreak Pro if the money allows you to buy this device.

[–] fireshell@kbin.earth 23 points 11 months ago

The 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.

[–] fireshell@kbin.earth 2 points 1 year ago

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.

view more: next ›