GustavoM

joined 1 year ago
[–] [email protected] 2 points 36 minutes ago

Not that relevant to your post, but I'v been avoiding DE's altogether since the very first day I knew they weren't required to have a proper distro.

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

Nah, they are doing you a favor.

[–] [email protected] 8 points 6 days ago

I always do minimal installs, so eh... guess that is a "Yes and no" for me.

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

Looks like we are about to see Crysis running "almost natively" on a rpi 5!

....eh?

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

By telling users to change their mindset, by showing em how control is important and how the "just werks" mentality imposed by Microsoft is more detrimental than anything.

[–] [email protected] -1 points 1 week ago

So you are saying that dumbs can't read? Because hey, that is all it takes to troubleshoot a problem on linux.

Thus, even your grandmother can "do google" nowadays.

[–] [email protected] 2 points 2 weeks ago

If you mean "dumb friendly" by "An exact Windows clone"... there are plenty of "Windowslike" Linux distros out there.

If you mean "user friendly" by "Easy to understand by any user"... then yes, (any) Linux distro is user friendly as is.

[–] [email protected] 7 points 2 weeks ago (4 children)

Nano is my "daily drive", but I'd use vim as well -- takes a couple seconds to search for "how to type in linux vim" and "how to save a file in linux vim" anyways. :^)

[–] [email protected] 5 points 2 weeks ago

YEAH CRUISE CONTROL BABY

[–] [email protected] 3 points 2 weeks ago

I go with the "quotation case", "Cool file name".

[–] [email protected] 4 points 2 weeks ago
  • foot
  • wget
  • lynx

also * ffplay and * yt-dlp.

[–] [email protected] 5 points 3 weeks ago (1 children)

Everything is complicated if you aren't willing to commit/learn.

 

tl;dr

Editing;

$photoortexteditoryoulike $(find / -iname incompletefilenam*)

Running;

exec $(find / -iname incompletepackagenam*)

Interacting (copying, moving, etc);

$desiredinteraction $(find / -iname desiredfileorpackag*) /desired/output/directory

It may be a "not-so-attractive" tip for most of you, but I find it really useful when I want to edit a specific file (that is located alongside several ones, like a picture or a text file). Or when I've finished compiling something and I want to find the binary file asap. Saves me lots of time on really slow pcs (like a rpi zero).

 

Title. Basically, a lower panel that shows the latest news, etc (fetched from a rss link or a sequence of rss links) while scrolling left (ala CNN). Why? I'm trying to make a "smart clock" of sorts that shows a live stream, a real time clock and -also- the latest news -- all crumbled together in a single screen.

I'm using a orange pi zero 3 w/ Dietpi installed. And due to the expected "crazyness" of this idea, I had to resort to you guys.

Thanks in advance.

 

I know this seem like a typical "Your opinion man" post but honestly, is there anything really useful beyond hosting an adblocker? (read: complementary, not found elsewhere, that enhances own's personal needs and/or life as a whole). And yes, I'm aware of what can be hosted -- picture editors, video editors, webtops, dhcpcd, emulators, and so on.

But the question is -- why I'd need all that if these stuff can be found on any ordinary PC out there? Even phones. Hell, even on a smart tv. That is like "trying to reinvent the wheel" for no necessary purpose other than "to look cool". There's also "because its fun", but is it really fun doing pretty much the same thing over and over again? There isn't a "learning gap" between these hosting options -- all of em have (pretty much) the same procedure to get things running.

With that said... I've been trying really, REALLY hard to host more stuff but I can't go beyond hosting (only) an adblocker.

 

Title. Something that is minimal, has a daemon and a very KISS config file. Bonus points if it also has a "generic" setup (works for all pcs but its not optimal? So I could run this on my sbc.)

Thanks in advance.

-EDIT- Forgot to mention that I've got both AMD cpu and gpu.

 

Title. Basically, "if a street fighter gamer and a linux tryhard had a baby" where a combination of keys is issued to run a command/script rather than a single or a simultaneous stroke of two or more. i.e left, down, left, right arrow keys, R_CTRL to run Firefox. Right, right, Up, right arrow keys, delete to power off the PC, etc.

Don't know if such command exists, but there you go.

Bonus points if its a standalone and supports X11, Wayland and Arcan.

 

Title. Besides setting tmpfs to use 10GiB of it to store downloads.

 

Nothing too shabby, but still. To run it you need docker, and after that just type

docker run -it --rm --log-driver none --read-only --net none --cap-drop=ALL --security-opt=no-new-privileges defnotgustavom/pixfire4

...and you will be greeted with a little, small, very pixelated bonfire.

"Why docker and not just a simple command?"

Mostly because of those two flags: --read-only and --net none. Can't get better than this. :^)

This also came up while in a self-learning process, but I don't want to "flex" it here.

 

Title. Mostly because of two flags: --read-only and --log-driver.

 

ser*, and said non-root user being "nonexistant" (i.e set via ENV)? Can such container -STILL- be exploited/breached through malicious means? Forgot to mention that its a DOCKER container @ title, but there you have it. Just curious.

Thanks in advance.

 

Long, short story: CLI animation with some minor annoyances. "Handcrafted" most of em out of the .c file, followed by a bunch of gcc flags. Made it distroless, and this came up. Then my "sharing itch" started after checking the memory usage of the container at a whooping 0 bytes. (I know it must be way more than that, but still.). Just curious if I screwed something up or not. Also, c/Docker is really dead so I had to resort to you guys.

docker run -it --rm --log-driver none --net none --cap-drop=all --read-only --security-opt=no-new-privileges defnotgustavom/nyancat

Downvotes are to the left if you just don't care and need that dopamine/self-validation hit, I guess. (Just saying since last time I shared a simple command, with code and all, and I got downvoted to oblivion plus my thread deleted for no apparent reason, so eh.)

 

Title. Long,short story: creating or editing files with nano as my non-root user gives (the file) elevated privileges, like I have ran it w/ sudo or as root. And the (only) "security hole" that I can think of is a nextdns docker container running as root. That aside, its very "overkill" security-wise (cap_drop=ALL, non-root image, security_opt=no_new_privileges, etc.).

It's like someone tried to hack me but gave up halfway. Am I right or wrong to assume this? Just curious.

Thanks in advance.

 
https://pastebin.com/p6PmeQDm

Just sharing how "magical" the CLI can be. You are welcome.

-EDIT Did a little "oopsie" there. My bad. It's fixed now.

-EDIT2 Nvm that, lemmy disliked my code for some reason. It's in the pastebin link. And the code in there is working as intended.

view more: next ›