GustavoM

joined 2 years ago
MODERATOR OF
[–] GustavoM 3 points 2 months ago

Nice! Hope you have fun with it.

[–] GustavoM 7 points 2 months ago* (last edited 2 months ago) (1 children)

Oh yeah? Then redo the classic doom code in pure bash.

[–] GustavoM 6 points 2 months ago (2 children)

Nice job. Also, I went ahead and made a docker image out of it.

[–] GustavoM 7 points 2 months ago* (last edited 2 months ago) (1 children)

I'll try it on my Orange pi zero 3 just for giggles.

-EDIT- I just did (straight from their site), and welp... 5 minutes to load a map, lots of stuttering yet performance was okay'ish ( ~25 frames per second). Not bad for a little board with only 1 GiB of ram and the power draw capped at 2W.

-EDIT2- Nvm that, I grabbed the binary, ran it locally and the experience was much, much better. Absolutely playable.

[–] GustavoM 13 points 2 months ago

Yep, using "WAYLAND_DISPLAY=wayland-1 $command" worked in my case. Thank you very much.

[–] GustavoM 1 points 2 months ago

Imagine being a long time Nintendo fan to end up being sued because playing their games (and sharing your experience with others) is now considered the same as stealing.

[–] GustavoM 9 points 2 months ago* (last edited 2 months ago)

Time to change this community name to u/reallyoldgames.

[–] GustavoM -1 points 2 months ago

Ub(loa)tu tries to cater to everyone whilst ending up in pleasing no one -- it has too much unnecessary clutter.

[–] GustavoM 5 points 2 months ago

bemenu. Type stuff in popup, press enter, no confettis thrown on your face.

[–] GustavoM 3 points 2 months ago (2 children)

In a nutshell,

  • Use wireshark

  • See if theres any weird connections going on (i.e you visit pancakes.com and wireshark shows unrelatedsite.com making a request as well)

  • Block unrelatedsite.com

"What about firewalls?"

Block from ports 1000 'till the very end (65565 if I'm not mistaken.) -- that is your "bread and butter" approach.

"W-what if I'm using a port past 1000?"

Nah, you (very likely) aren't and never will.

[–] GustavoM 1 points 2 months ago

You can make it a "live tv" of sorts that changes between streams that you enjoy the most while at the same time a network-wide ad blocker.

[–] GustavoM 1 points 2 months ago (1 children)

Have you tried calling your neighbor out and asking him? "Hey! Can I take your shelf?". Takes like three seconds to sort this out.

 

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.

 

Title. A cheat sheet for this would be lovely.

Thanks in advance.

 

Title. I'm trying to compile this but I can't seem to do so with node.js.

Thanks in advance.

 

Is there any difference from one another? I keep hearing that using chargers is absolutely a no-go and that power supplies are much safer and better overall. Do you guys confirm this?

Thanks in advance.

 

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.

 

...and the logic behind this is a really simple one:

Lower cone of fire = CoF tightens faster while ADS'ing.

And the "long short story" behind this is that I saw this video, went for the same "I'm gonna try to mimick this" shenanigans and it worked. Hell, I even managed to down those typical "chain headshotting me like theres a magnet on top of my nose" players. And yes, more than once, even while completely rusty (It's my second day back in the game after a long hiatus.). Also had a couple situations where I died, but made the heavy wipe both of his shield ability and its "basic" shield (Not a normal occurrence before then, but right now it is.)

 

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.

5
submitted 1 year ago* (last edited 1 year ago) by GustavoM to c/linux4noobs
 

Title. I'm trying to expose my nextdns ip (running on docker) to another network.

Thanks in advance.

 

Title. Just wondering if I did something bad/terrible with it. Link is @ title. Check the image tag @ its repo to see how it was built. And before someone asks... the Docker lemmy community is really dead so I had to resort to you guys. Sorry, I guess.

And thanks in advance.

2
submitted 1 year ago* (last edited 1 year ago) by GustavoM to c/[email protected]
 

For those who enjoys craving a bit of a "nerdy feel" to your daily routine, have at it. Just slap this bad boy on any raspberry pi 4 with a touch screen, and enjoy your pseudo-reality at the cost of "almost nothing". Steps on how to run it are included in the link @ title as always.

  • Pros:

- Isolated, does not run as root, ready to use, no need to go through lengthy installations

  • Cons:

- You have to type something to use it.

Have fun.

view more: ‹ prev next ›