krash

joined 4 years ago
[–] krash@lemmy.ml 1 points 2 years ago

Updated post with example.

[–] krash@lemmy.ml 42 points 2 years ago* (last edited 2 years ago) (3 children)

This was dumb on so many levels.

I downloaded an iso and was supposed to dd it to my USB drive. You can see where this is leading, but it's worse than you think.

I overwrote the hdd. While I was on an airplane. Of a macbook air that I had no idea how to restore to a functioning state. And this was my workplace laptop.

Like I said, dumb on many levels...

Edit: while the question is about breaking ones Linux installation, one could argue that macOS share the same lineage as Linux and share many similarities.

[–] krash@lemmy.ml 3 points 2 years ago* (last edited 2 years ago) (2 children)

You can make your own bash/ fish/ python menu pretty easily if what you want is to have an "address book" or a speed dialer to you're ssh servers. Let me know if you're curious and I could share mine.

EDIT: so what I use is a fish function, and my "adress book" is hardcoded in it. It was a quick and dirty POC that never moved passed the "conecpt" stage, but ideally - these values should be stored in a csv file so it can be accessible from whatever program you're making / using.

This can surely be easily adaptable to bash or python through a coding LLM for the lazy.

The code below should be in ~/.config/fish/functions/ssh_menu.fish for fish shell.

function ssh_menu
    set -l servers[1] "user@ip_or_domainname"
    set -l servers[2] "user@ip_or_domainname"
    set -l servers[3] "user@ip_or_domainname"
    set -l servers[4] "user@ip_or_domainname"
    set -l servers[5] "user@ip_or_domainname"

    clear
    for i in (seq (count $servers))
        echo "[$i] $servers[$i]"
    end

    echo -n "Enter the number of the server to SSH into: "
    read choice

    if test -n "$choice" -a "$choice" -ge 1 -a "$choice" -le (count $servers)
        set server_info $servers[$choice]
        set -l server_ip (echo $server_info | awk '{print $NF}' | tr -d '()')
        echo "Connecting to $server_ip..."
        ssh $server_ip
    else
        echo "Invalid choice."
    end
end
[–] krash@lemmy.ml 1 points 2 years ago

Nocodb can run locally as it is distributed as a binary (among other formats).

[–] krash@lemmy.ml 2 points 2 years ago

Surface pros work, but they're not ideal for linux. Expect struggle during the installation, and be aware some parts of the hardware won't work.

[–] krash@lemmy.ml 3 points 2 years ago

I'm curious, what distro where you running? And do you run on hardware that's known to be incompatible with Linux?

I'm happy to help you get started, or at least sort out if Linux is the right fit for you.

[–] krash@lemmy.ml 1 points 2 years ago (1 children)

Congrats on the release! Had this been made from scratch, without any underlying libraries that'll convert images to ASCII?

[–] krash@lemmy.ml 3 points 2 years ago

The risk that @regalpotoo mentioned is still unmitigated though, single user instance or not. At worst, the personal data can be exfiltrated. At best, the server can be used as a part of a botnet. Even if the software (nextcloud) would be patched, that doesn't help against exploits on a OS level.

Granted, one could run services inside a vpn and have some kind of preventive / monitoring controls, but you're still need to implement some kind of defense in depth in order to protect it.

[–] krash@lemmy.ml 1 points 2 years ago

This is the answer. Joplin and obsidian are excellent for markdown notes, but theyr arent suitable for "jot whatever, anywhere".

[–] krash@lemmy.ml 2 points 2 years ago

The distro (asahi) is still in very early development, gpu acceleration was just recently added. That along with a esoteric architecture, will cause headaches for the uninitiated.

The macs themselves hardware wise are quite mature, but I can't for the life of me use MacOS.

[–] krash@lemmy.ml 1 points 2 years ago (2 children)

I'm eyeing the M1/M2 macs with asahi, but I'm going to let it mature more for a bit before I take the plunge.

[–] krash@lemmy.ml 4 points 2 years ago

And skip the L series. They're budget variants and it shows in the quality.

view more: ‹ prev next ›