Spyke

Replies

linux

Comment on

Why doesn't the Linux subreddit leave Reddit already?

  • Not everyone that uses Linux is against proprietary software or only uses FOSS.
  • There are people that just heard of Linux, are just trying it out, or have an issue, and already use Reddit, or is what the search engine points them to go for help, or to ask questions.
  • Reddit has a lot more reach for the common people than any other platform at the moment, there are still people that prefer to ask on Reddit, than go to a specific forum or another platform to ask (If I remember right, it still happens with some apps like Jellyfin that moved out of Reddit, but people still ask there)

These are just a few of the reasons that come to my mind.

Comment on

Hey are there no GIF on Lemmy?

Reply in thread

For those that don't know, you can use gifs with the url/link Markdown format like this: ![](https://media.tenor.com/uC2qyrJsT6wAAAAM/oh-really-o-rly.gif)

Edit: added a description

Make sure to include a description of it in the square brackets for our visually-impaired friends!

Comment on

This is another implementation of what's possible inside of termux for all you self hosters.

Reply in thread

The TL, DR version of sharing with No License, is that technically speaking you are not explicitly permitting others to use your code in any way, just allowing them to look, a license is a formal way to give permissions to others to copy, modify, or use your code.

You don't need an extra file for the license, you can embed it on a section at the top of your file, as you did with the description, just add a # License section at the very top, if you want the most permissive one you can just use MIT, just need to replace the year of publication of the code, and you can use a pseudonym/username like '[email protected]' if you don't want to use something like email, username on another site or real name, that can be used to identify you, if that's a concern

Comment on

Help? Caddy reverse proxy

I've installed caddy directly on my unbuntu server, but I admin my Jellyfin (and eventually Nextcloud) with Docker via CasaOS interface... is this a problem? Do I need to run Caddy in docker too?

The difference between having caddy or any other reverse proxy in docker alongside other apps/services, is that instead of having to expose ports for every container to the host, and then linking every service/app as, localhost:<host-port> to caddy, you can have them on the same docker network and use <container-name>:<container-port> and only expose 80 443 to the host, meaning that the only way to access app/services is through caddy, that way if you disable port 80 after configuring SSL certificates, you can only access services with HTTPS.

Comment on

What's the solution to QR code phishing?

As far as I know, the options are:

  • Use a QR reader app that doesn't auto open links (or lets you configure it like that), so you see the URL and inspect it before opening the URL in the browser.
  • In case of a short URL, use a short URL resolver so you can see what is the real destination without actually opening the URL yourself.
  • Using a DNS with block lists (that are updated often) of known phishing sites.

If these 3 checks fail, there is not much more you can do.

linux

Comment on

Looking for a distribution that I could replicate from one computer to another

I'm going to mention Ansible as I haven't seen it mentioned, and it can be used to locally manage a reproducible build.

It has already been mentioned, but as a minimum to replicate your system you need two things:

  • Transfer/copy your entire /home directory as there is where the majority of the configuration files of your system pertaining the software you use (there could be configs you could need on /etc and on /usr/local or other dir), that is why it is recommended to partition your disk on installation of your distro, so the /home directory is already separated, as if you reinstall in the same machine you don't lose any configuration in addition to your personal documents/pictures/etc
  • Have a way to automatically install a list of programs/apps/drivers/libraries, and that is what something like a bash script, Ansible, nixOs, etc. could help you with.

The truth is that using any of the tools in the second point requires learning a bunch, so if your skill level is still not there, there is some work to do to get there.

Comment on

What is the easiest way to have a self hosted git server?

The simplest (really the simplest) would be to do a git init --bare in a directory on one machine, and that way you can clone, push or pull from it, with the directory path as URL from the same machine and using ssh from the other (you could do this bare repo inside a container but really would be complicating it), you would have to init a new bare repo per project in a new directory.

If a self-hosted server meaning something with a web UI to handle multiple repositories with pull requests, issues, etc. like your own local Github/Gitlab. The answer is forgejo (this link has the instructions to deploy with docker), and if you want to see how that looks like there is an online public instance called codeberg where the forgejo code is hosted, alongside other projects.

Comment on

What's that supposed to mean?

Reply in thread

Not an expert in this and someone can correct me or expand...

In the case of imgur or reddit, with embedded content like image previews or when following a link the destination site can know where you came from. Here a link that explains it better than I could.

In the case of Google, if you use chrome or search lemmy.world through Google and then click it from the search results, google knows

And if you don't have any tracking protection via browser or extensions, there can be tracking using cookies for example.

Cloudflare is probably a false flag detected by this site

And in my particular case following your link it told me "No tracking detected on this site at present." As seen in this image

Comment on

*Permanently Deleted*

As far as I know, CasaOS (same as Cockpit) is installed on top of a default OS install, so you could always access the OS directly to install/configure things outside of it, if the need arises.

I would not say you would be held back by it, if it does what you need. And for what I can see online, you can install any docker container even if it's not on the default catalog of CasaOS, or access the OS.

If you want to grow your knowledge of how things work, or how to deploy services without CasaOS, you can always do so in parallel of using CasaOS, so I don't see where the issue could be.