Migrating here (or maybe keeping both) from @ArcaneSlime@lemmy.ml

Will put an eternal curse on your enemies for a Cinemageddon invite.

  • 0 Posts
  • 22 Comments
Joined 2 years ago
cake
Cake day: June 30th, 2023

help-circle

  • Hey I have a quick question I haven’t been able to find the answer to regarding nnn, if you don’t mind.

    So, I have nnn and the plugins set up as normal, however I need to run some of those plugins as root. If I sudo nnn, my plugins don’t transfer, so I put the plugin files in root’s .config and the line in root’s .bashrc, but I can’t figure out how to do the source ~/.bashrc command part for root’s .bashrc.

    If I source /root/.bashrc it says permission denied, if I run it with sudo it says sudo: source: command not found.

    You wouldn’t happen to have been down this road before, would you?



  • I find sometimes the gui takes a while to manipulate say 300 folders. Like if I want to move all the mp4 files from a folder structure into another directory but leave everything else you can use something like

    find /path/to/piracy/directory/ -name '*.mp4' -exec cp -r {} /path/to/piracy/storage/ \;
    

    And it’ll send em on over.

    And I didn’t remember that command, I had it in a script, so to find it to post here I just typed:

    cat ~/Documents/scripts/scriptname/
    

    And hit enter, and it gave me the info in the file. Tbh it was even easier than that, with tab completion I just had to type:

    cat Doc[tab]/sc[tab]/sc[tab]

    But back to the piracy, then to delete everything left over from that first script (like .nfo files) just

    cd ~/piracy/directory/
    rm -r *
    exit
    

    And will remove everything instantly.

    To make it easier you can make a script with the first command, even chain it with the same for avi etc, and you could probably have it auto clean the source directory afterwards, but I like to do that manually. You can also (in most piracy programs) tell it to run a script on complete, so you could have that all automated by that process (if you don’t store them in an external drive like me.) And you can get way fancier with it too, I’m very much still learning, there’s way more that can be done pretty easily. I do still use the GUI sometimes too though and for some stuff it is easier, it’s definitely not an all or nothing thing, both is better!

    Also I’m totally not a pirate that was just an example…cough cough.



  • Moving files, deleting files, text editing, converting files, stuff like btop, a lot really.

    When I started I watched a few “linux cli tutorial” and “bash basics” or “bash for beginners” type videos on youtube and followed along in my terminal like a class, pausing when needed. That’s all it took for me to be off to the races learning more because of just how easy it is to do a lot of stuff, and I still learn more all the time.

    Couple tips (really some of this applies regardless of cli or gui):

    • Keep offsite back-ups, just in case. Worst case scenario you reinstall and replace your files.

    • Be careful with sudo but otherwise you’ll be fine. That’s not to say don’t use sudo just be mindful.

    • Learn just the basics at first and then learn more as you go and get more comfortable, I kinda use the unix philosophy for it here and only learn it if I need it, most often.

    • You can save semi-commonly used commands to a txt file and reference it later, really helps for stuff you only use every now and again. There’s also the history command and ctrl+r but I still find the file useful.

    It really isn’t as hard as it had looked before I started, and I use it constantly now.



  • I mean, I understand where you’re coming from, they absolutely shouldn’t log IPs. BUT, if you’re committing crimes or even doing legal things the government doesn’t like, it would behoove you to put in the absolute bare minimum of OPSEC at least.

    Like, some people know they have STDs and don’t warn people and spread them, right? And while the spreader is obviously the problem there, some commonly accepted advice to the victim is “you should have worn a condom anyway.” And they should have worn a condom to protect themselves (and also the spreader should be held liable.)

    Like the previous example, anyone using any online service (for secrety things) should know to put a VPN condom on before they put their data inside that sexy, slutty server rack. And like how contraceptives were that knowledge needs to be spread.








  • Is it even really a loanword when it’s just the name of a thing from there? Like, Nyarit isn’t a loan word it’s just the name of a state, right? But then again, I might consider Milwaukee a loanword from Algonquin, idfk. But a crepe is just a french food with a french name, is that really a loanword if it’s a whole loanfood? But then if I say Deutschland instead of Germany I’m just spreche auf deutsch, warum ist es nicht so für “tamales?”

    Is there an official ruling on this?






  • I know of such a man. Makes a convincing argument too, that I’ll be wholly unable to properly articulate, but my dumbed down understanding is that (in addition to other things) the “feathers” could be decomposed collagenous fibers from the skin of dinosaurs rather than true feathers, and we’re not actually sure even though feathers are the pushed theory. And he also doesn’t believe in flight evolving ground up, but rather trees down, basically not from creatures jumping away from predators but from them gliding away to another tree. His theory being that one actually works well to get you away from predators while the other would be less likely to be successful and more likely to get eaten before passing on the genes. Also something about the Yi qi.

    Idk if he’s right, but tbf idk if the other people are either, who knows.