Nitrousoxide

joined 1 year ago
[–] [email protected] 1 points 1 year ago (1 children)

The requirement of managing an LDAP or AD directory service just to get some auth for NFS is a dealbreaker for like 99% of people. It's such a dumb protocol for the average user and was designed with only huge corporate clients in mind.

Just give people a simple password auth or let them exchange private/public keys between the devices that need to connect!

[–] [email protected] 1 points 1 year ago (1 children)

How are you running Beehaw? At least on my Proxmox VMs I can take a snapshot in a few seconds thanks to ZFS having it built in and QEMU guest agent letting the host ensure the guest is properly stopped quickly.

[–] [email protected] 0 points 1 year ago (1 children)

Is bluesky also activity pub?

[–] [email protected] 2 points 1 year ago

Why are you trying to maintain an instance list? Just ask the user to input their instance URL. It will simplify the code and make it extensible to self-hosted instances and you don't have to try to list every lemmy instance in existance.

[–] [email protected] 7 points 1 year ago

I cannot fathom what a respectable website would need with a port scan. They should normally just be listening to/broadcasting on 80/443. Is it looking to see if the normal html ports are remapped? That's the only reason I could imagine.

[–] [email protected] 3 points 1 year ago

It's a script that you put in place of the raw url of a bookmark in your browser. For these ones here you'd make a new bookmark and past in the script there (adjusting the fediverse url for your home community so it can correctly redirect you) and it runs some (usually) javascript that manipulates the page your on in a way to direct you to the asked for location.

Its a much more lightweight way to do a single thing if that's all you're needing and since you can see the code you can also be sure, unlike a chrome plugin, that it's not doing other weird stuff.

 

Does anyone have any recommended bookmarklets that make using Fediverse services easier? I don’t really want to install a billion plugins for chrome to make them useable, so bookmarklets in a folder is preferable to me. If anyone has any ones they use that would be helpful.

I do have a few I personally use:

Share to Mastodon

https://github.com/corbindavenport/share-to-mastodon/blob/main/BOOKMARKLET.md

Redirect to Follow Mastodon Account

https://github.com/bramus/mastodon-profile-redirect/tree/main/bookmarklet

Redirect to follow Lemmy Community

https://gist.github.com/Nitrousoxide/0ad922d431749d6e4f7c9a35d40da4dc

[–] [email protected] 14 points 1 year ago

Finally, I can create a true American city filled with parking garages everywhere and a desolate downtown filled with office towers that sits vacant in the evening and weekends.

[–] [email protected] 3 points 1 year ago

Yeah you can copy and paste images into a note just fine.

[–] [email protected] 8 points 1 year ago (8 children)

I find Nix to be a really esoteric platform that completely inscrutable to a regular user. The people who do use it are extremely hostile to any tools that simplify the experience for the end user like Fleek. I would not recommend it for ANY regular user in any way, shape, or form.

[–] [email protected] 12 points 1 year ago (2 children)

Joplin is great. It can't do the handwritten notes like onenote as far as I know, but otherwise I think it's got pretty good feature parity. You can sync it using an existing nextcloud, WebDAV, or even onedrive or dropbox if you don't want to deal with the hassle of self-hosting at all.

[–] [email protected] 1 points 1 year ago

I'm a fan of Lawnchair. I used KISS for a while but it honestly had my typing out searches a bunch rather than being able to quickly navigate by muscle memory. I do their their tags though as it makes trying to find that app you forgot the name of easier. Provided you go through the effort of given them tags up front.

 

Is there a good way to use the "become: yes" for the needed escalation to sudo for a handful of commands which need it while limiting the user's access to passwordless root? I've added this line to /etc/sudoers.d/$USER

(username) ALL=(ALL:ALL) NOPASSWD: /usr/sbin/omv-upgrade, /usr/sbin/reboot

Which should allow my user to use the omv-upgrade script (which does some apt stuff) without a password prompt for sudo. This allows it to perform the needed apt commands for an upgrade without actually giving full apt access to install whatever. Likewise with reboot, though I'm not sure which command ansible will actually try with these:

    - name: Check if a reboot is required.
      ansible.builtin.stat:
        path: /var/run/reboot-required
        get_md5: no
      register: reboot_required_file

    - name: Reboot the server (if required).
      ansible.builtin.reboot:
      when: reboot_required_file.stat.exists == true

I presume it's that reboot, but maybe it'll try the systemctl one instead. Is there a better method to give the user the needed passwordless sudo actions without the security risk of opening everything up to that user (which I don't want to do at all)

 

I made (with some ChatGPT help to troubleshoot) a bookmarklet which will redirect you to your own instance's URL for a foreign Lemmy community to easily subscribe to it.

This will not correctly redirect you if you are in a topic already. It will only work if you are on the base community page. If someone wants to tweak it (or redo it entirely) to work in a bigger variety of instances please feel free. My skills with JavaScript are... minimal.

view more: next ›