• 0 Posts
  • 24 Comments
Joined 2 years ago
cake
Cake day: June 8th, 2023

help-circle





  • When I last used Debian, I found myself very annoyed with the lag in the package manager. This is a very long time ago (15 years?), so probably isn’t the case any longer. However, due to laziness (or proactively avoiding a bikeshed rabbit hole) I didn’t check and just chose Ubuntu over Debian the other day because of that.







  • My SSH auth uses SSH keys stored in authorized_keys, but I see your point. For me, OpenLDAP will be letting users in to the various services and SSH is outside that. I suppose SFTP could be something I want, but I’d be tempted to put a new sshd inside a container and have it more restricted than the system one.

    I think the backup key idea is definitely the most broadly applicable, but there’s physical/KVM for a more old school access route.





  • The line breaks haven’t worked, here’s it formatted correctly:

    Explanation: it’s mostly due to how js does type conversion.

    For the Ls, it’s:

    • [] is an empty array
    • ![] is treated as false
    • combining a boolean with the empty array returns “false” as a string (so true + [] = “true”, false + [] = “false”)
    • ! + [] is treated as true
    • ! + [] + ! + [] is treated as 2 since true + true = 1 + 1 = 2
    • so you have “false”[2], which is l

    for the o it’s:

    • [] is an empty array
    • [] + {} returns “[object Object]” as a string ({} + [] returns 0)
    • ![] is false
    • !![] is true
    • +!![] casts it to an integer
    • so that part is “[object Object]”[1], which returns “o”-