GustavoM

joined 1 year ago
[–] [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] 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] 0 points 1 month ago (1 children)

Dietpi.. For no particular/proper reason other than its (extreme) focus on minimalism.

[–] [email protected] 8 points 1 month ago

tl;dw:

Improvise (but not really). Adapt. Overcome.

Then again, I'd rather go for a much "cleaner" approach and suggest new users to "unlearn" the bad habits learnt by using Windows. Which is the "click once and forget" mentality, along many others.

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

"Eyy! You be lookin' a nice snacc this morning eh?"

[–] [email protected] -5 points 1 month ago (1 children)

Mostly because the "reddit mentality" has already established in this community, where the downvote exists solely as a self-validation/"dopamine fix" feature rather than flagging a post as bad and irrelevant.

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

Eh, archinstall is a thing nowadays -- there is nothing to "learn" on arch anymore.

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

Eh, it's a tradeoff that I get in exchange of a longer microsd lifespan. Which I'm completely fine with.

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

Apparently pipx dislikes tmpfs partitions, so nah.

[–] [email protected] 1 points 1 month ago* (last edited 1 month ago) (4 children)

Just install it via pip and then symlink its binary file to /usr/bin.

t. Am running a live stream 24/7 on my orange pi zero 3 (via ffplay/yt-dlp) since forever.

"Why not simply add $HOME/.local/bin to $PATH?"

Because it breaks things. While symlinking it does not.

"Why?"

No idea, honestly.

Also, you can take a step further and make a tmpfs partition @ $HOME/.local and then add the following line to your .bash_profile file: TMPDIR=$HOME/.local pip install --break-system-packages -I --no-input yt-dlp &&.

 

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.

 

Title. Is it the Logitech MX? Thanks in advance.

 

Title. Been using "conventional mouses" since a while, and I'm in the mood to try something new. Even so considering its a ergonomic mouse that won't screw my wrists even more while gaming(I'm over 40 y/o).

There are plenty of reviews for it on the internet (https://www.youtube.com/watch?v=2_2wixvrWPg&pp=ygUVcmFnbm9rIG1vdXNlIDIgcmV2aWV3 for instance) but I'd like to hear some "real world" reviews about it.

 

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.

 

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 ›