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

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

  • 6 Posts
  • 469 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.










  • ArcaneSlime@lemmy.dbzer0.comtocats@lemmy.worldLike father, like son
    link
    fedilink
    arrow-up
    17
    arrow-down
    3
    ·
    edit-2
    28 days ago

    Cats should be kept indoors, but moreover your neighbor is a piece of shit and I hope he gets what he deserves. Get a super soaker you fucking monster, shooting someone’s pet with something that travels around 200 mph is a bad look. After he baited them at that, I understand that wasn’t his intention but the cats are just living by their basic instincts, it’s not their fault. If he really was interested in stopping them rather than being cruel humane traps are cheap, just do what normal fucking people do, catch it, drive it 5-10mi, and release it somewhere it’s no longer your problem, or drive it to the nearest no kill shelter. But no, can’t be a decent human, it’s more fun to break their ribs and possibly let them slowly internally bleed to death because they committed the crime of wanting to eat.

    I’d rat him out for animal cruelty right now if I knew his name and location.




  • Yes, but this is where threat modeling comes into play.

    Right,:

    If you need nation-state level secrecy, rule #1 is don’t associate with idiots who can’t be bothered with at least the most basic opsec. I shouldn’t talk to this motherfucker at all were that my case, or at least not digitally. Thankfully at worst we talk about me middlemanning him some weed, and even local PD dgaf.

    Though btw speaking of:

    Can the size or metadata

    Plenty of people have been drone striked (struck?) simply because the metadata said they were talking to the wrong guy. Frankly if you need that high of a level of secrecy, you’d be better served using tails/tor, or hell even snail mail with false return addr and a book cipher. But for:

    all ISPs, WiFi networks, CDNs, VPNs, script skiddies with Wireshark, and network admins in the path

    Then frankly either signal or jabber+encryption (or for that matter, simplex, briar, yadda yadda) should be fine.

    Signal also benefits from the network effect, because someone trying to get away from an abusive SO has plausible deniability if they download Signal on their phone (“all my friends are on Signal” or “the doctor said it’s more secure than email”)

    But then again, it’s more likely to be known as an encrypted chat which may be a problem for them, while the abusive SO might just think XMPP is some outdated IM they know what signal is, and “my friends” can use jabber just the same as signal.

    Alas, this is an issue with all messaging apps, if people delete the app without closing their account

    Except not. XMPP not being tied to a phone number, if my buddy Steve deletes Conversations, while I may not be able to message him on jabber I can fall back on text. However (and again maybe now this is fixed), on signal if he deletes the app, I can no longer signal message him, nor can I SMS him because they get lost in limbo as signal messages, I’d have to email or use XMPP to get him to redownload signal, delete it properly, and THEN I can SMS him again. (Maybe no longer now that “no sms,” but also “no sms now but still give us your phone number” don’t sit right with me.)



  • Tbf, can’t the other party mess it up with signal too? I have a friend with a Samsung running stock samsung android, bloatware and all; how can I trust there’s no google or samsung keylogger, which I’m pretty sure at least one of those companies installs? With copilot existing now, how can I be sure that, when that makes it’s way to stock android, it won’t capture the signal convo? The man uses windows, how can I be sure he won’t surrender our chats to current copilot?

    If you need nation-state level secrecy, rule #1 is don’t associate with idiots who can’t be bothered with at least the most basic opsec. I shouldn’t talk to this motherfucker at all were that my case, or at least not digitally. Thankfully at worst we talk about me middlemanning him some weed, and even local PD dgaf.

    My main issue for signal is (mostly iPhone users) download it “just for protests” (ffs) and then delete it, but don’t relinquish their acct, so when I text them using signal it dies in limbo as they either deleted the app or never check it and don’t allow notifs. If they had relinquished their acct at least it would fall back on SMS and I could still contact them but the way it was I was literally cut off from texting at least three friends until I relinquished my acct. Now maybe somehow with the removal of SMS maybe that is fixed, but also removing SMS took my biggest selling point to “normals,” so, fuck me.