SpongeB0B

joined 5 months ago
 

Hi,

I was a very long time I didn't need to created a animated gif... I had a program before to take a static images (.jpg, .png etc..) and convert then into an animated gif..

All the web search engine push for online (aka SaaSS) tool ๐Ÿคฎ

Do you know a program that do that ( Linux )

Thanks.

[โ€“] [email protected] 1 points 3 months ago* (last edited 3 months ago) (2 children)

AppImage !

  • Open format? Yes
  • Free format? Yes
  • Fully Contained Single Executable Support . Like an exe file for Windows systems Yes (the only one)
  • App Size** The lowest** !

https://en.wikipedia.org/wiki/AppImage

Matrix
https://www.fosslinux.com/42410/snap-vs-flatpak-vs-appimage-know-the-differences-which-is-better.htm
https://phoenixnap.com/kb/flatpak-vs-snap-vs-appimage \

[โ€“] [email protected] 2 points 3 months ago (1 children)

Thank you very much @taaz

So you say 2 but with unix socket so it the same as my proposal number 3 ? no ?

I'll check capabilities

[โ€“] [email protected] 3 points 3 months ago (1 children)

indeed I need it to be scriptable.

 

Hi everyone,

I have a Python program (A) that run under a regular user account. (good)

When some events occur in (A) I need to modify my nftables and only the root is allowed to do so.

I've come up with 3 ways to do that (if you know other please share) but I don't which would be the best.

  1. Make a sudo call from (A) with from subprocess import run but I will need to store the password ! and I don't think is possible to keep it encrypted and decrypted when need it (it's a flaw)
    .
  2. Make (A) writing a file with the requests. Create a (B) daemon (that run as root) that check that file every X and do the necessary
    .
  3. Make (A) do an IPC ( Linux socket ) to (B) daemon (that run as root) and does the necessary.

I suppose that the solution 2 is less heavy that the 3 ? But if I'm not mistaken it will react also slower ?

Thanks.

๐Ÿง