Admiral Patrick

I’m surprisingly level-headed for being a walking knot of anxiety.

Ask me anything.

I also develop Tesseract UI for Lemmy/Sublinks

  • 48 Posts
  • 744 Comments
Joined 1 year ago
cake
Cake day: June 6th, 2023

help-circle





  • I think OEM, non-carrier OnePlus phones do (someone correct me if I’m wrong or out of date). I just setup Lineage 21 on a OnePlus Nord N200 (ca 2021) and after enabling bootloader unlock in developer settings, I just had to pass the oem unlock command to fastboot. The carrier-branded ones require you to go through the unlock code request, and those take a minimum of one week (and can be cockblocked by the carrier for whatever reason).

    There may be some kind of Android check, though, because the “Allow OEM Unlock” developer option was greyed out until I connected the phone to wifi for a few minutes. Not sure what that’s about, but it’s common for most/all android devices. I don’t know of any device that lets you unlock the bootlaoder without first enabling that in dev options.


  • What if he could be fine with more support and money, should I give him back to animal rescue?

    That’s as tough a call to make as “the call” about his life. When I was in that spot with my last dog, it was during COVID so I was working from home and could be there for him. Thankfully, I got to go full time WFH after that, and I’m here for my senior dog currently as well (though she’s got several good years ahead of her, and the puppy she wanted 2 years ago keeps her plenty active lol).

    My only hesitation about surrendering to animal rescue is that sometimes senior dogs are hard to re-home. Whoever adopts them has to expect medical bills for their care and have time to care for them. Or, worse, they end up in a “bad” home where the new owner doesn’t treat them as well or punishes them for things that have been fine all their life. Sadly, a lot of senior dogs can and do spend the rest of their days in a kennel at the rescue center which breaks my heart to think about (especially if they’re currently in a loving home).

    I don’t know your situation well enough to give any advice (merely things to think about), but if at all possible, I’d say he’s better off in your care than going back through the rescue system. If for no other reason than the shock of re-homing and losing what he considers his best friend (you). Personally, I would only consider surrendering as a last resort if I’m completely unable to care for him financially or otherwise.





  • If you’re on Linux, you can convert that to something more human readable by piping it to base64. It works with any file, but I’ll use an image here:

    cat image.webp | base64

    Which yields:

    UklGRroEAABXRUJQVlA4WAoAAAAgAAAAYwAAQgAASUNDUKACAAAAAAKgbGNtcwRAAABtbnRyUkdC
    IFhZWiAH6AAIABoADgAJACBhY3NwQVBQTAAAAAAAAAAAAAAAAAA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vPcRILm+HsOQblnpHx03lASjGlSyGbkKUD3xA5KOqgq/
    VEUJ4qF9VoAYFbFhQRAgkvmREk5umMj8sr9Np95+n/oP2Aq2VW5xU4F1xpD8Vd4Dp7Phwm9w/Dnf
    94djRROFRYPZeg/1Q/qiROFRVRu2nBcgndbhc0x0h+kgvT/naeJOEqwNjYPlIiw/DGuxav7+x09R
    mf2mJto3ineDqfyMWUN83PmKqzGHkYGhZrTU478qjlQucDzWkwobnUmzhE6I+mDYkfiUVPcHyXbf
    xXRStyPiPZAkJZrE9OrjFNUeljRQdVTQqeBsy+O9VwDLU5GcKhBQHa4cj+/DGqUhi74WH0EuHsb3
    EgZVNc1FbRm5QFOpjDSprGIRYxe6sFFDrDOg4DhWZRnOa7s68pGaDDpbqrORxzPHXPbs55/1HTas
    DDGzKFmTG4hJ2GUZKqjPcQ+MAAAA
    

    Copy that into a text file and pass it to base64 with the decode flag, and you’ll get the original binary:

    cat data.txt | base64 -d > data.bin

    Inspect it to see what kind of file it is:

    file data.bin -> data.bin: RIFF (little-endian) data, Web/P image

    Rename it so you can just double-click it to open it:

    mv data.bin data.webp

    Enjoy the surprise.

    You can also print files like that, scan them using OCR, and then restore them. A very inefficient way to do backups, but it works.