[-] razorozx@lemm.ee 5 points 1 day ago

Ncdu looks pretty cool. I'll give it a spin! I've tried a good handful of TUI file managers but most of doesn't feel right, so I made my own little script in attempt to scratch that itch. Not completely satisfied with it but it works ¯\(ツ)

48
submitted 2 days ago by razorozx@lemm.ee to c/opensource@lemmy.ml

Hey everyone. I thought someone might enjoy my simple bash script that I use to go through my fs.

It requires eza, fzf, and zoxide. I use eza and zoxide as my main to-go vanilla replacements, but I'm sure vanilla ls and cd will work too!

https://github.com/razorozx/cd-ls

[-] razorozx@lemm.ee 16 points 2 days ago

I'd like to interject for a moment. There is also a tool called bat that is just cat with extra features. It prints out and works just like cat, but when the contents get too big, it works like less. The is syntax highlighting and works with git.

It's replaced my need for cat and less.

[-] razorozx@lemm.ee 18 points 1 week ago

I love birds, especially ducks!

[-] razorozx@lemm.ee 29 points 1 week ago* (last edited 1 week ago)

"All 5 accounted for!"

[-] razorozx@lemm.ee 4 points 1 month ago* (last edited 1 month ago)

From my experience and understanding there are generally two ways to 'run' a file.

Firstly, the output is an executable itself. Assuming the permissions are valid you can just do ". /yourFile" and it'll just execute. If the file doesn't have the proper permissions, just do "chmod +x ./yourFile" to allow execution.

Secondly, some executables require you to run them through a specific program. Such as Java or Python. If Java, it'd be something like "java ./yourFile.jar" If Python, it'd be something like "python ./yourFile.py"

Sometimes it requires extra flags like "-jar" or similar. You just gotta look it up at that point. ¯_(ツ)_/¯

In Kate, you can toggle the terminal through a shortcut for easy access.

[-] razorozx@lemm.ee 7 points 1 month ago

Or alternatively, Molly

[-] razorozx@lemm.ee 3 points 2 months ago* (last edited 2 months ago)

I use flatpak, pacman, and yay for my software management. I unify the basic needs by using these aliases:

SEARCH
fsearch = flatpak search <input>
psearch = pacman -Ss <input>
ysearch = yay -Ss <input>

REMOVE
fremove
premove
yremove

LIST
flist
plist
ylist

GARBAGE COLLECTION
fcg
pcg
ycg

And so on.

Additionally I also gave ucg as well as an all-in-one garbage collector command.

[-] razorozx@lemm.ee 12 points 2 months ago

What a fitting username 🙂

[-] razorozx@lemm.ee 3 points 3 months ago

I agree with 'superfoods not being real'. The only thing that I can definitely say qualifies somewhere close to a 'superfood' is black pepper and long pepper.

Black pepper and long pepper have a compound called piperine. Piperine drastically improves nutrient absorption.

Curcumin/Turmeric is often taken as a supplement, however, it has a very very low bioavailability (like 1% gets absorbed or something -- don't quote me on that). So it is commonly paired with black pepper, or more distinctly, piperine. Piperine increases its bioavailability by 2,000%!! Which literally means that you absorb 2,000% more than if you were to take curcumin/turmeric by itself!

I am unsure how it affects other nutrients, but I am certain that it also improves absorption. There are products that sell piperine itself. Most notably Bioperin.

WARNING: Piperine also increases absorption of certain drugs as well. Do not take piperine with any drug unless you know what you're doing!

https://www.healthline.com/nutrition/bioperine-and-piperine-supplement-benefits#1.-May-increase-nutrient-absorption

razorozx

joined 3 months ago