Bit-breaker working in cybersecurity/IT. Only languages I know are English and Programming ones.

Sometimes I write things about technology.


If I told you the SHA256 for this sentence starts with 'c, 5, four, a, and a', would you believe me?

  • 121 Posts
  • 739 Comments
Joined 4 years ago
cake
Cake day: March 12th, 2022

help-circle







  • Lynx is awesome but not really suited for modern web pages. I’ve used lynx, elinks, browsh, and w3m. Tried chawan and brow6el. I really like browsh, but it uses a headless firefox though, so not really CLI/TUI. This is the newest CLI based browser I found, but I suppose it’s not a true CLI either; using chromium blob under the hood.












  • A couple I use (concept of not exact), that I haven’t seen in the thread yet:

    Using grep as diff: grep -Fxnvf orig.file copy.file

    Using xargs -

    xargs reads items from the standard input, delimited by blanks (which can be protected with double or single quotes or a backslash) or newlines, and executes the command (default is /bin/echo) one or more times with any initial-arguments followed by items read from standard input.

    EG: $ find ~/Pictures -name "*.png" -type f -print0 | xargs -0 tar -cvzf images.tar.gz






  • Conventions I have are:

    • Downloads folder is ephemeral, don’t store/keep things in there I might want
    • ~/scripts - personal scripts and one offs
    • ~/Documents/projects/[subdir] - any tech project I may be working on, gets homed here
    • /tmp - always mount it noexec

    I also start off allocating ~ 50GB to / (root) volumegroup. Wine and proton have been taking up nearly the full space though, may need to expand it on my desktop soon.