Bitwarden Desktop version 2024.10.0 is no longer free software
  • fireshell fireshell 3h ago 66%

    pass is enough (+ xdotool + rofi + pass-menu). Synchronization via git or Syncthing.

    1
  • What is your linux backup strategy?
  • fireshell fireshell 5d ago 100%

    Example of a Bash script that performs the following tasks

    1. Checks the availability of an important web server.
    2. Checks disk space usage.
    3. Makes a backup of the specified directories.
    4. Sends a report to the administrator's email.

    Example script:

    #!/bin/bash
    
    # Settings
    WEB_SERVER="https://example.com"
    BACKUP_DIR="/backup"
    TARGET_DIRS="/var/www /etc"
    DISK_USAGE_THRESHOLD=90
    ADMIN_EMAIL="admin@example.com"
    DATE=$(date +"%Y-%m-%d")
    BACKUP_FILE="$BACKUP_DIR/backup-$DATE.tar.gz"
    
    # Checking web server availability
    echo "Checking web server availability..."
    if curl -s --head $WEB_SERVER | grep "200 OK" > /dev/null; then
    echo "Web server is available."
    else
    echo "Warning: Web server is unavailable!" | mail -s "Problem with web server" $ADMIN_EMAIL
    fi
    
    # Checking disk space
    echo "Checking disk space..."
    DISK_USAGE=$(df / | grep / | awk '{ print $5 }' | sed 's/%//g')
    if [ $DISK_USAGE -gt $DISK_USAGE_THRESHOLD ]; then
    echo "Warning: Disk space usage exceeded $DISK_USAGE_THRESHOLD%!" | mail -s "Problem with disk space" $ADMIN_EMAIL
    else
    echo "There is enough disk space."
    fi
    
    # Creating backup
    echo "Creating backup..."
    tar -czf $BACKUP_FILE $TARGET_DIRS
    
    if [ $? -eq 0 ]; then
    echo "Backup created successfully: $BACKUP_FILE"
    else
    echo "Error creating backup!" | mail -s "Error creating backup" $ADMIN_EMAIL
    fi
    
    # Sending report
    echo "Sending report to $ADMIN_EMAIL..."
    REPORT="Report for $DATE\n\n"
    REPORT+="Web server status: $(curl -s --head $WEB_SERVER | head -n 1)\n"
    REPORT+="Disk space usage: $DISK_USAGE%\n"
    REPORT+="Backup location: $BACKUP_FILE\n"
    
    echo -e $REPORT | mail -s "Daily system report" $ADMIN_EMAIL
    
    echo "Done."
    

    Description:

    1. Check web server: Uses curl command to check if the site is available.
    2. Check disk space: Use df and awk to check disk usage. If the threshold (90%) is exceeded, a notification is sent.
    3. Create a backup: The tar command archives and compresses the directories specified in the TARGET_DIRS variable.
    4. Send a report: A report on all operations is sent to the administrator's email using mail.

    How to use:

    1. Set the desired parameters, such as the web server address, directories for backup, disk usage threshold and email.
    2. Make the script executable:
    chmod +x /path/to/your/script.sh
    
    1. Add the script to cron to run on a regular basis:
    crontab -e
    

    Example to run every day at 00:00:

    0 0 * * * /path/to/your/script.sh
    
    6
  • What is your linux backup strategy?
  • fireshell fireshell 5d ago 100%

    I do it externally with this script

    #!/bin/bash
    # Sample file backup-documents.sh
    cd ${HOME}/documents
    tar -cJpf /run/media/fireshell/EAGET/mybackups/documents-$(date '+%Y-%m-%d').tar.xz .
    sync
    
    #!/bin/bash
    # Sample file restore-documents.sh
    backup_dir="/run/media/fireshell/EAGET/mybackups/"
    mkdir -p ~/documents
    last_documents="$(ls -1t ${backup_dir}/documents-*.tar.xz | head -n1)"
    cd ~/documents && \
      tar -xpf ${last_documents}
    
    1
  • Best RSS Reader for Linux? Bonus if it has PDF/epub export
  • fireshell fireshell 2w ago 100%

    Miniflux has integrations for sending content to read-later tools like Wallabag and then reading it in KOReader.

    3
  • Best RSS Reader for Linux? Bonus if it has PDF/epub export
  • fireshell fireshell 2w ago 100%

    among other things, there is a plugin for Gemini client for KOReader, there is also something interesting to read there. or antenna-to-epub

    2
  • Mozilla doubling down on ads in Firefox
  • fireshell fireshell 2w ago 100%

    I can already see a crowd of advertisers running to them for the remaining 3% of its users.

    6
  • WinampDesktop/winamp - Licence violates github TOS · Issue #6
  • fireshell fireshell 4w ago 100%

    I was particularly pleased that the developers accidentally published a bunch of other code that they had not planned to publish. For example, the code from the ShoutCAST server. https://github.com/WinampDesktop/winamp/issues/11

    13
  • linux
    Linux 1mo ago
    Jump
    Ubuntu 24.10 Beta is Now Available to Download
  • fireshell fireshell 4w ago 57%

    Not loving snaps is a characteristic of someone who knows about the existence of snaps. Ubuntu for those who don't know what snaps are, but snaps are so lousy that sooner or later you will find out about their existence and want to demolish them

    1
  • linux
    Linux 1mo ago
    Jump
    Ubuntu 24.10 Beta is Now Available to Download
  • fireshell fireshell 4w ago 100%

    Instead of Redis DBMS, the Valkey 7.2.5 fork is included. No wonder it was thrown out.

    1
  • linux
    Linux 1mo ago
    Jump
    Ubuntu 24.10 Beta is Now Available to Download
  • fireshell fireshell 4w ago 75%

    I stopped using Ubuntu after they started to impose snaps everywhere and everywhere without asking me. Well, I don't need 100500 loop devices, understand, eh. Of course, you can not use it: delete snaps and disable the daemon. But the trend, of course, is disgusting.

    4
  • Founder and CEO of Telegram messaging service arrested in France
  • fireshell fireshell 2mo ago 100%

    You were right. After the arrest, it caused a backlash in India. An investigation was launched against the encrypted messaging app to find out whether it violated Indian laws.

    1
  • Founder and CEO of Telegram messaging service arrested in France
  • fireshell fireshell 2mo ago 100%

    I expected you to say that, that it was something else. :D

    1
  • Founder and CEO of Telegram messaging service arrested in France
  • fireshell fireshell 2mo ago 100%

    It's you protonmail who will tell how they disclose user data, which leads to arrest in Spain. Source

    1
  • Founder and CEO of Telegram messaging service arrested in France
  • fireshell fireshell 2mo ago 75%

    I was too lazy to just google it, but he has citizenship in Russia, the UAE, France, and Saint Kitts and Nevis.

    2
  • Founder and CEO of Telegram messaging service arrested in France
  • fireshell fireshell 2mo ago 10%

    Got carried away with democracy and attempts to feel like someone. So what kind of moron do you have to be to get EU citizenship? Thought he would run away from the democrats and liberals. Well, he's an idiot and that's it.

    -15
  • announce the release of Magit version 4.0. One of the best things to happen to EMACS! More information can be found on in the [release notes](https://github.com/magit/magit/blob/main/docs/RelNotes/4.0.0.org).

    18
    2