• 1 Post
  • 10 Comments
Joined 2 years ago
cake
Cake day: February 4th, 2025

help-circle
  • If the stuff you’re running on your server isn’t absolutely mission critical, I’d recommend to just setup auto updates with a time window set to when you’re usually asleep. Make sure you have (validated working!) backups though in case an update breaks something. Best would be a backup job scheduled just before the updates. If something goes wrong, you can just restore without loosing much data. If your services are that critical, that you can’t afford any downtime, you probably need some kind of redundancy anyway.



  • On android, urlcheck is a great app to modify URLs before sharing or opening. For this problem, you can use the json editor, and add the following two entries with small a regex I wrote:

      "shorten Youtube": {
        "regex": "^https?:\/\/(?:[a-z0-9-]+\\.)*?youtube\\.com\/(.*)&.*",
        "replacement": [
          "https:\/\/youtube.com\/$1"
        ],
        "enabled": true
      },
      "shorten Youtu.be": {
        "regex": "^https?:\/\/(?:[a-z0-9-]+\\.)*?youtu\\.be\/([^?]*)?.*",
        "replacement": [
          "https:\/\/youtube.com\/watch?v=$1"
        ],
        "enabled": true
      },
    

    A button to shorten the link appears in urkcheck when the pattern matches. You can all auto shorten them by replacing “enabled”: true
    With
    “automatic”: true