• 2 Posts
  • 67 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle



  • When I was a student, I did an internship in a chemistry lab. On one of the days, someone brought in some samples of skunk secretion for an analysis.

    Everyone was like Not again i dont want that, let the intern do this!

    I thought how bad could it be?. Turns out really bad. It days to stop that smell. And I mostly handled the sealed phials and only opened a single one for a gas chromatography without spilling something…



  • Windows doesn’t have sudo (not yet, at least) and privileges work a bit different as even as an administrator, you may not have full rights.

    To overcome that obstacle, you’d need to run a shell as an administrator (hold CTRL+Shift, then use the start menu entry or right-click it and select run as administrator).

    Next obstacle: We have a separate drive for each partition, but no root folder.

    If we assume we’re running on a laptop or PC with a single drive and a single partition*, then it’s just

    In cmd.exe:

    del /F /S C:\
    

    In Powershell:

    Remove-Item -Recurse -Force -Path C:\
    

    When you want to delete all (mounted) partitions/drives, you need to iterate over them. (Note that’s from the top of my head, didn’t check the script if it works).

    In cmd.exe:

    REM Not gonna do that, I'm no masochist
    

    In Powershell:

    Get-PSDrive -PSProvider FileSystem | Foreach-Object {
        Remove-Item -Recurse -Force -Path "$($_.Name):\"
    }
    

    Done. Mounting additional partitions before that is left as an exercise for the reader.

    *note that even a standard installation of windows creates 3 partitions. One for the bootloader, one for the recovery system and then the system drive. Only the latter is mounted and will be deleted by this. The other two will still be intact.



  • My newest vps runs with Caddy. Works like a charm. The downside was, that I didn’t think of the automatic certificate deployment when I set everything up and it wouldn’t come up a first when I only wanted to connect locally to it, as it tried to get a certificate but the challenge failed because I hadn’t the firewall open yet. But besides that it was very smooth so far.


  • Amazon Deep Glacier is a lot cheaper for storage (but expensive for retrieval).

    I use Archive Storage in Oracle Cloud S3 for my dr backups which is their equivalent of AWS deep glacier archive. It’s quite cheap, no restore fees, inbound traffic is free and outbound traffic is only paid, when you’re using more than 10TB per month. (Also first 10 GB of S3 storage is free)




  • elvith@feddit.detoSelfhosted@lemmy.worldSelf Hosting Fail
    link
    fedilink
    English
    arrow-up
    3
    ·
    4 months ago

    It’s not the most detailed thing, but I just use a free account on cron-job.org to send a head request every two minutes to a few services that are reachable from the internet (either just their homepage or some ping endpoint in the API) and then used the status page functionality to have a simple second status page on a third party server.

    You can do a bit more on their paid tier, but so far I didn’t need that.

    On the other hand, you could try if a free tier/cheap small vps on one of the many cloud providers is sufficient for an uptime Kuma installation. Just don’t use the same cloud provider as all other of your services run in.


  • No, it’s not „always up“.

    There are three main ways how Google, Bing,… can track you:

    1. When you’re doing a search while being logged in, it’s probably you
    2. If you’re not logged in, they can set a cookie to recognize you on your next visit (although they may not be able to link this to you, your email address,… but that’s not needed). They may mix your searches with those of the other users of your PC, when those are using the same PC, browser and account (e.g. if you have a family PC with a single windows/Linux account that everyone uses)
    3. Even if you’re not logged in and don’t accept / delete your cookies, they still see your IP. Depending on your ISP you might have the same Ip for a long time or you might have it rotated regularly. Now they could only track the searches of your household (assuming everyone isn’t logging in and deleting cookies immediately)

    With Searxng, they can only do the last variant. But assuming you use a “real” server in the internet (and not one at home), it will likely have the same IP for its lifetime. And if you’re using it alone, that’s the only thing they need to identify you and track your searches. The more other people use your instance, the less useful this kind of tracking gets. Too much noise to identify a single person.







  • I use Voice audiobook player, that can do that, too. But when I switch devices, … it’s easier to pick up where I left, if it’s at least separated by chapters (or as some MP3 CDs do every 3-5 minutes a new track).

    Also I do sometimes buy mp3 audiobooks for a blind friend who prefers to listen to them on a CD player (buttons can be felt and its easier to use than a touch screen). But a single, several hours long mp3 is bad in this scenario. And as i didnt find a tool to split them easily, Audible exclusives were out of the question…