Skip Navigation
how output `ps aux | grep aUser` and keeping Newline ?
  • Here is a little bonus to have in mind: You can convert newline characters to null, then grep with option null, and at last convert null characters back to newline. Now I don't think its useful in this case, but its good to know; therefore its a bonus information:

    ps aux | tr '\n' '\0' | \grep --null-data ^root | tr '\0' '\n'
    
  • how output `ps aux | grep aUser` and keeping Newline ?
  • If I do ps aux | grep root, then the newline is preserved. So I'm not sure what exactly the problem is. There is a user option for ps, but it does not work with aux, ps --user root . You can ps ax --user root, but I'm not sure if this output is what you want.

    Btw if you grep, then I recommend using ^user , so it only matches the beginning of each line (the actual username), as ps aux | \grep ^root (notice the backslash). Do you have an alias for grep? Try \grep instead. The backslash in front of the command will use the actual command and ignore your alias.

  • Reddit is making sitewide protests basically impossible
  • I see. Well then my bad for misunderstanding this. To me moderators are Reddit staff working for free. But I see that the word "staff" was used literally.

    See you in the oblivion. xD

  • Reddit is making sitewide protests basically impossible
  • In other news, grass is green.

    I didn't saw this news. My news only tell me that the rice bag fall over. It happens over and over again. Predictable, like Reddit.

  • Reddit is making sitewide protests basically impossible
  • Reddit is giving its staff a lot more power over the communities on its platform. Starting today, Reddit moderators will not be able to change if their subreddit is public or private without first submitting a request to a Reddit admin.

    More power by having less power. I stopped reading here. Yeah, The Verge never disappoints. Edit: My bad. The Verge was correct this time. Guess if I read the article then I would understand.

  • How grep with -e (regex) `/log/messages` ? [ solved ]
  • grep by default uses Basic Regular Expressions. This means the ( and ) lose their special meaning and are matched literally. Either use a backslash version \( to have a group, or use Extended Regular Expressions with -E "(IN|OUT)" . In man grep under REGULAR EXPRESSIONS are some differences noted.

  • Audacious 4.4.1 released - An Advanced Audio Player
  • Nice. I assume it make sense, because the skins are all the same, just different styling for colors and images. Good to know (for future recommendations).

  • I used to hate QR codes. But they're actually genius [Veritasium, YouTube]

    YouTube: https://youtu.be/w5ebcowAJD8

    Invidious, alternative YouTube link without YouTube: https://inv.nadeko.net/watch?v=w5ebcowAJD8

    ---

    Video description:

    How do QR codes work? The checkerboard patterns taking over the world, demystified. Go to Saily.com/veritasium and use the code ‘veritasium’ to get an exclusive 15% off your first purchase.

    Special thanks to Mashiro Hara and Yuki Watanabe.

    00:00 I was wrong 00:49 How Morse Code revolutionized communication 03:57 How barcodes work 10:34 How QR codes store information 18:16 Why damaged QR codes still work 29:54 Why are QR codes so common? 31:21 How safe are QR codes? 32:25 The future of QR codes

    6
    Audacious 4.4.1 released - An Advanced Audio Player
  • Audacious has a classic Winamp skin: https://store.kde.org/p/1008329/ (Note, I don't use this program and cannot assist further.)

  • Mozilla removes uBlock Origin Lite from Addon store. Developer stops developing Lite for Firefox; "it's worrisome what could happen to uBO in the future."
  • I fear these kind of mistakes will happen much more frequently in the future; thanks to AI tools.

  • DOOM Ported To Run Atop AMD ROCm + LLVM libc

    Now you can play DOOM on your GPU. You are confused? Well this means the CPU is no longer used for the logic of the game, it runs basically entirely on GPU. So the graphics card is not only used for graphics, but the main logic of the game. It just needs a little bit help from CPU to start the process I think.

    • News Article: https://www.phoronix.com/news/DOOM-ROCm-LLVM-Port
    • Project Source: https://github.com/jhuber6/doomgeneric/tree/amdgpu

    It's a fork from a fork of a fork of a fork:

    id-Software/DOOM > insane-adding-machines/DOOM > maximevince/fbDOOM > ozkl/doomgeneric > jhuber6/doomgeneric/tree/amdgpu

    I quote the developer (from README):

    > ## why > > Because I can.

    0
    Why is changing the keyboard layout so complicated in Windows compared to GNU + Linux and other normal OSes?
  • Because Linux is just a kernel.

    This is too short. Here is the long form: https://www.gnu.org/gnu/incorrect-quotation.en.html

    I'd just like to interject for a moment. What you're referring to as Linux, is in fact, GNU/Linux, or as I've recently taken to calling it, GNU plus Linux. Linux is not an operating system unto itself, but rather another free component of a fully functioning GNU system made useful by the GNU corelibs, shell utilities and vital system components comprising a full OS as defined by POSIX.

  • Best App Launcher on Linux
  • I like these self made scripts. Some ideas to improve this: a) instead ls, use find command if you want use its output as input in another program (will yield fullpath too), b) fzf has a preview functionality, which I like a lot to use when it comes to directories or script files. As for the run command, I'm not sure why you use xargs and what i3-msg is needed for. Here is an alternative way.

    (Edit: I always forget that beehaw will convert my ampersand to &. Have this in mind if you read the below code.)

    bash -c 'cd "${HOME}/.local/bin"; path="$(find . -maxdepth 1 -type f -executable -printf "%f\n" | fzf --preview "cat {}")" && "${path}"'
    

    below same command in a bit more readable standalone script:

    #!/usr/bin/env bash
    cd "${HOME}/.local/bin" || exit 1
    path="$( \
        find . -maxdepth 1 -type f -executable -printf "%f\n" | \
        fzf --preview "cat {}" \
    )" && "${path}"
    

    The biggest problem with fzf is, that scripts that need an argument are not covered here. One could either use the input string from fzf as arguments or like that, or an optional input after fzf selection.

  • Best App Launcher on Linux
  • I might be missing something here but I don’t know how other launchers could possibly make this a simpler process.

    Shortcuts to launch an app directly in example. So my keyboard becomes my launcher.

    I use bunch of different tools, including KRunner (on KDE) and previously Rofi. These type name and search tools for launching an app have the problem that you need to remember what name the tool was. For programs I use often this is not an issue, but not all applications have names good to remember and not all of them are used often. The associated description helps, but sometimes I don't know what words to type.

    Therefore I "need" the app menu with categories and favorites, to navigate with the mouse through. And the most used applications are usually assigned to a shortcut and my panel on the top. In short I use mostly all of these techniques as an application launcher (in that order):

    1. favorites on panel and my keyboard shortcuts
    2. app menu with categories, navigating with mouse
    3. run tool to search for app name and description (also integrated into the app menu)
    4. additional helper scripts to search and launch programs in the terminal

    Edit: Forgot to mention that some of the launchers I use are custom made scripts for the terminal.

  • Recall: Microsoft re-launches ‘privacy nightmare’ AI screenshot tool
  • haha in fact I was thinking of installing Windows 95 instead, because I wasn't sure if Win 98 was too new. xD Its all just to play games.

  • Recall: Microsoft re-launches ‘privacy nightmare’ AI screenshot tool
  • being smart about it means not using an unsupported os

    Or do not connect to the internet. I have Windows 98 SE installed in an emulator.. I know it's a bit old, but I don't connect to internet. :D

  • Recall: Microsoft re-launches ‘privacy nightmare’ AI screenshot tool
  • SteamOS is focused on gaming, so its not a full replacement for Win10. There are ton of Linux operating systems for general use (even those that SteamOS is based on), without gaming focus and being a "normal" operating system like Windows. And if you want a gaming oriented OS, then there are plenty alternatives already: HoloISO, aiming for a SteamOS like system, and bunch of other: https://github.com/ChimeraOS/chimeraos/wiki/OS-Comparison . So there is no need to wait for SteamOS to open up as a general installation media on desktop.

  • Arch Linux and Valve Collaboration

    cross-posted from: https://lemmy.ml/post/20783261

    > Arch Linux is entering into a direct collaboration with Valve. Valve is generously providing backing for two critical projects that will have a huge impact on the distribution: a build service infrastructure and a secure signing enclave. By supporting work on a freelance basis for these topics, Valve enables them to work on > them without being limited solely by the free time of our volunteers.

    2
    There are sane people with this many VMs on a personal machine, right? RIGHT?
  • insert MORE, MORE!-Kylo Ren meme here

  • There are sane people with this many VMs on a personal machine, right? RIGHT?
  • The biggest reason why I don't want maintain so many Vms is, because all the maintenance and updates that involve doing so.

  • Bizarre and Hilarious Studies That Won Ig Nobel Prize In 2024 (One Is Mindblowing) by [Anton Petrov, YouTube]

    Video Description:

    ---

    Hello and welcome! My name is Anton and in this video, we will talk about 10 exciting studies that won the Ig Nobel prize in 2024

    Links:

    • psycnet.apa.org/doiLanding?doi=10.1037/h0045345
    • linkinghub.elsevier.com/retrieve/pii/S0022030241954061
    • sciencedirect.com/science/article/abs/pii/S2468785523002859?via=ihub
    • science.org/doi/10.1126/sciadv.abj7918
    • tandfonline.com/doi/full/10.1080/15592324.2021.1977530#abstract
    • academic.oup.com/brain/article-abstract/147/8/2643/7664309?redirectedFrom=fulltext
    • cell.com/current-biology/fulltext/S0960-9822(22)00709-6?_returnURL=https://linkinghub.elsevier.com/retrieve/pii/S0960982222007096?showall=true
    • arxiv.org/abs/2310.04153
    • biorxiv.org/content/10.1101/704080v3
    • Placebo video: youtube.com/watch?v=ByA4i8PlfFs&t=0s

    #ignobel #nobel #science

    0:00 Levitating frogs 0:40 Ig Nobel Prize 1:30 These are actually important studies 2:45 Pigeons in missiles 3:32 Cows cats and paper bags 4:11 Hair whirls and direction 5:04 Drunk worms 5:32 Mimic plant 6:58 Placebo and pain 7:48 Dead trout and swimming 8:10 Butt breathing mammals 9:05 Probability and lots of coins 9:50 Old people may be not so old

    0
    What alias do you have to update the system from terminal?

    (Edit: I always forget that Beehaw will convert every ampersand character in code segments to &. Have this in mind when reading the code below. Do you have these problems too with your instance?)

    If you update your system from terminal, do you have a shortcut that bundles bunch of commands? I'm on EndevourOS/Arch using Flatpak. Rustup is installed and managed by itself. The empty command is a function to display and delete files in the trash using the program trash-cli. In my .bashrc:

    ``` alias update='eos-update --yay \ ; flatpak uninstall --unused \ ; flatpak update \ ; rustup update \ ; empty'

    empty() { trash-empty -f --dry-run | awk '{print $3}' | grep -vF '/info/' trash-empty -f } ```

    I just need to type update. Also there are following two aliases, which are used very rarely, at least months apart and are not part of the main update routine:

    ``` alias mirrors='sudo reflector \ --protocol https \ --verbose \ --latest 25 \ --sort rate \ --save /etc/pacman.d/mirrorlist \ && eos-rankmirrors --verbose \ && yay -Syyu'

    alias clean='paccache -rk3 \ && paccache -ruk1 \ && journalctl --vacuum-time=4weeks \ && balooctl6 disable \ && balooctl6 purge \ && balooctl6 enable \ && trash-empty -f' ```

    This question is probably asked a million times, but the replies are always fun and sometimes reveals improvements from others to adapt.

    40
    kdenlive 240.08.1 just stopped working after system update on Archlinux

    Is it just me or did kdenlive broke for you too? I'm on an Archlinux based system and just updated the system. A few hours before update kdenlive worked. Update was not small, so its hard to tell the exact cause. I've tried to downgrade kdenlive, but same issue. I use Linux for a very long time now, but still get lost with errors like these.^^ Any idea what I should do? Does it work for you?

    I get this on start (I reset the configuration files too):

    ``` $ kdenlive --version kdenlive 24.08.1

    $ kdenlive kf.config.core: Watching absolute paths is not supported "/usr/share/color-schemes/BreezeDark.colors" mlt_repository_init: failed to dlopen /usr/lib/mlt-7/libmltsox.so (libsox.so.3: cannot open shared object file: No such file or directory) mlt_repository_init: failed to dlopen /usr/lib/mlt-7/libmltrtaudio.so (librtaudio.so.7: cannot open shared object file: No such file or directory) mlt_repository_init: failed to dlopen /usr/lib/mlt-7/libmltsdl.so (libSDL-1.2.so.0: cannot open shared object file: No such file or directory) WARNING: All log messages before absl::InitializeLog() is called are written to STDERR E0000 00:00:1726202254.631983 14133 descriptor_database.cc:633] File already exists in database: versions.proto F0000 00:00:1726202254.632005 14133 descriptor.cc:2236] Check failed: GeneratedDatabase()->Add(encoded_file_descriptor, size) *** Check failure stack trace: *** @ 0x733c9e6b0e09 absl::lts_20240722::log_internal::LogMessage::SendToLog() @ 0x733c9e6b19ae absl::lts_20240722::log_internal::LogMessageFatal::~LogMessageFatal() @ 0x733c64890955 (unknown) @ 0x733c649c228d google::protobuf::internal::AddDescriptors() @ 0x733c65696125 (unknown) @ 0x733cdd22d6ad (unknown) @ 0x733cdd22a5c2 _dl_catch_exception @ 0x733cdd2344fc (unknown) @ 0x733cdd22a523 _dl_catch_exception @ 0x733cdd234904 (unknown) @ 0x733cd9e9ef14 (unknown) @ 0x733cdd22a523 _dl_catch_exception @ 0x733cdd22a679 (unknown) @ 0x733cd9e9e9f3 (unknown) @ 0x733cd9e9efcf dlopen @ 0x733c9ea96c6c mlt_register @ 0x733cdc3a2279 mlt_repository_init @ 0x733cdc386f52 mlt_factory_init @ 0x733cdc3605f5 Mlt::Factory::init() @ 0x5b73c4a7f0d5 (unknown) @ 0x5b73c4a3a285 (unknown) @ 0x5b73c4497d06 (unknown) @ 0x733cd9e34e08 (unknown) @ 0x733cd9e34ecc __libc_start_main @ 0x5b73c44998d5 (unknown) Aborted (core dumped) ```

    My system if its relevant:

    OS: EndeavourOS x86_64 Kernel: Linux 6.10.9-arch1-2 Uptime: 1 hour, 10 mins Packages: 1657 (pacman), 9 (flatpak) Shell: bash 5.2.32 Display (AG271QG): 2560x1440 @ 120 Hz in 27″ [External] DE: KDE Plasma 6.1.5 WM: KWin (Wayland) WM Theme: Breeze Theme: Breeze (Dark) [Qt], Breeze-Dark [GTK2], Breeze [GTK3/4] Icons: breeze-dark [Qt], breeze-dark [GTK2/3/4] Font: NotoSans Nerd Font (12pt) [Qt], NotoSans Nerd Font (12pt) [GTK2/3/4] Cursor: breeze (24px) Terminal: konsole 24.8.1 Terminal Font: JetBrainsMono Nerd Font Mono (11pt) CPU: AMD Ryzen 7 7700X (16) @ 5.57 GHz GPU 1: AMD Radeon RX 7600 (RADV NAVI33) [Discrete] Mesa 24.2.2-arch1.1 GPU 2: AMD Radeon Graphics (RADV RAPHAEL_MENDOCINO) [Integrated] Mesa 24.2.2-arch1.1 Memory: 3.00 GiB / 30.50 GiB (10%) Swap: 65.00 MiB / 512.00 MiB (13%) Disk (/): 550.90 GiB / 1.79 TiB (30%) - ext4 Disk (/media/Emulation): 4.47 TiB / 5.41 TiB (83%) - ext4 Disk (/media/My): 3.10 TiB / 3.58 TiB (87%) - ext4 Disk (/media/Work): 648.09 GiB / 915.82 GiB (71%) - ext4 Locale: en_US.UTF-8

    6
    This Hacker Can HEAR YOUR MEMORY?! by Low Level Learning (YouTube)

    Alternative Invidious link without using YouTube directly: https://yt.artemislena.eu/watch?v=ihtAijebU-M

    Insane method to read your PCs memory, based on certain electromagnetic emissions your system makes when you write or read data to the RAM.

    ---

    Video Description:

    The RAMBO Attack on RAM is truly amazing. Some of the best research I've seen.

    covertchannels.com arxiv.org/pdf/2409.02292 wired.com/story/air-gap-researcher-mordechai-guri

    youtube.com/watch?v=CjpEZ2LAazM&t=0s youtube.com/watch?v=-D1gf3omRnw&t=0s

    2
    Banjo Kazooie just got Decompiled! by Kaze Emanuar (YouTube)

    Alternate video link to Invidious (YouTube without using YouTube directly): https://yt.artemislena.eu/watch?v=dH1ErhJa3Qo

    ---

    Banjo Kazooie Gitlab (Source Code): gitlab.com/banjo.decomp/banjo-kazooie

    ---

    Additionally a written article posted here at discussion:

    https://www.nintendolife.com/news/2024/08/banjo-kazooie-is-the-latest-n64-game-to-be-fully-decompiled

    14
    Your YouTube Comments

    >You can edit or delete your comments and replies directly on YouTube. If you delete comments, it may take a few hours before they’re fully removed: https://myactivity.google.com/page?hl=en&page=youtube_comments

    This is the history of you YouTube comments and you can directly jump to it from this central place.

    3
    Firefox Rolls Out Total Cookie Protection By Default | The Mozilla Blog
    blog.mozilla.org Firefox Rolls Out Total Cookie Protection By Default | The Mozilla Blog

    Take back your privacy Firefox is rolling out Total Cookie Protection by default to more Firefox users worldwide, making Firefox the most private and secur

    Firefox Rolls Out Total Cookie Protection By Default | The Mozilla Blog

    Take back your privacy

    Firefox is rolling out Total Cookie Protection by default to more Firefox users worldwide, making Firefox the most private and secure major browser available across Windows, Mac, Linux and Android.

    What is Total Cookie Protection?

    Total Cookie Protection works by creating a separate “cookie jar” for each website you visit. Instead of allowing trackers to link up your behavior on multiple sites, they just get to see behavior on individual sites. Any time a website, or third-party content embedded in a website, deposits a cookie in your browser, that cookie is confined to the cookie jar assigned to only that website. No other websites can reach into the cookie jars that don’t belong to them and find out what the other websites’ cookies know about you — giving you freedom from invasive ads and reducing the amount of information companies gather about you.

    9
    wtf I hate using AI for programming, but today it was useful for Rust

    Today I had a little aha moment. If anyone asked me yesterday about AI tools integrated into their editor, I would say its a bad idea. Ask me today, I would still say its bad idea. :D Because I don't want to rely on AI tools and get too comfortable with it. Especially if they are from big companies and communicate through internet. This is a nogo to me.

    But since weeks I am playing around with offline AI tools and models I can download and execute locally on my low end gaming PC. Mostly for playing with silly questions and such. It's not integrated in any other software, other than the dedicated application: GPT4All (no it has nothing to do with ChatGPT)

    I'm working on a small GUI application in Rust and still figure out stuff. I'm not good at it and there was a point where I had to convert a function into an async variant. After researching and trying stuff, reading documentation I could not solve it. Then I asked the AI. While the output was not functioning out of the box, it helped me finding the right puzzle peaces. To be honest I don't understand everything yet and I know this is bad. It would be really bad if this was a work for a company, but its a learning project.

    Anyone else not liking AI, but taking help from it? I am still absolutely against integrated AI tools that also require an online connection to the servers of companies. Edit: Here the before and after (BTW the code block in beehaw is broken, as certain characters are automatically translated into < and & for lower than and ampersand characters respectively.)

    From:

    ``` pub fn collect(&self, max_depth: u8, ext: Option<&str>) -> Files { let mut files = Files::new(&self.dir);

    for entry in WalkDir::new(&self.dir).max_depth(max_depth.into()) { let Ok(entry) = entry else { continue }; let path = PathBuf::from(entry.path().display().to_string()); if ext.is_none() || path.extension().unwrap_or_default() == ext.unwrap() { files.paths.push(path); } } files.paths.sort_by_key(|a| a.name_as_string());

    files } ```

    To:

    ``` pub async fn collect(&self, max_depth: u8, ext: Option<&str>) -> Result { let mut files = Files::new(&self.dir);

    let walkdir = WalkDir::new(&self.dir); let mut walker = match tokio::task::spawn_blocking(move || -> Result { Ok(walkdir) }) .await { Ok(walker) => walker?, Err(_) => return Err(anyhow::anyhow!("Failed to spawn blocking task")), };

    while let Some(entry) = walker.next().await { match entry { Ok(entry) if entry.path().is_file() => { let path = PathBuf::from(entry.path().display().to_string()); if ext.is_none() || path.extension().unwrap_or_default() == ext.unwrap() { files.paths.push(path); } } _ => continue, } }

    files.paths.sort_by_key(|a| a.name_as_string());

    Ok(files) } ```

    29
    Writing an MP4 Muxer for Fun and Profit | OBS
    obsproject.com Writing an MP4 Muxer for Fun and Profit | OBS

    (Except there is no profit, only pain) In OBS 30.2 I introduced the new

    > by Rodney > July 12th, 2024 > > (Except there is no profit, only pain) > > In OBS 30.2 I introduced the new "Hybrid MP4" output format which solves a number of complaints our users have had for pretty much all of OBS's existence; It's resilient against data loss like MKV, but widely compatible like regular MP4. > > Getting here was quite a journey, and involved fixing several other bugs in OBS that were only apparent once diving this deep into how the audio and video data is stored. > > In this post I'll try to explain how MP4 works, what the drawbacks were to regular/fragmented MP4, and how I tried to solve them with a hybrid approach.

    And at the end of the document:

    > Thanks & Acknowledgements > > NOT the ISO for paywalling these specs and making it a god damn paperchase where every time you get one document it references three others that are also paywalled

    1
    GitHub, the go-to site for open source software, is currently down
    www.pcgamer.com GitHub, the go-to site for open source software, is currently down

    It's a rare outage for one of the biggest software repositories in the world.

    GitHub, the go-to site for open source software, is currently down

    >GitHub, a massive repository for open source software, is currently unavailable. > >"All GitHub services are experiencing significant disruptions," reads the GitHub status page. > >The outage started just after 4:00 pm Pacific time when GitHub noted "We are investigating reports of degraded availability for Actions, Pages and Pull Requests." Since then, the problem has escalated to the entire website, with the status page noting that GitHub suspects the issue is "a database infrastructure related change that we are working on rolling back." > >At 4:45 pm PST, GitHub noted that it was rolling back the changes it believed caused the current issues and already "seeing improvements in service health." > >It's a rare outage for GitHub, which is used by millions of developers to host the code for open source projects. Microsoft purchased GitHub for $7.5 billion in 2018, and it's only grown in prominence in the six years since.

    35
    GitHub Profile Roast 🔥🔥🔥

    cross-posted from: https://beehaw.org/post/15509445

    > Generates text after analyzing a profile. It's pretty funny. Mine: thingsiplay > > > Oh Tuncay, your GitHub bio proudly declares you're "just for fun" and unprofessional, which is ironic since it sounds like you’ve derived way too much fun from so many unremarkable scripts. With 46 public repositories, you must’ve thought quantity would mask the glaring mediocrity. The only thing more stale than your Bash scripts is your humor. > > > > Your "emojicherrypick" project? Really? The world needed another emoji picker like it needs more stale bread—there's a reason it's got more emojis than stars. And speaking of shadows, how does it feel to have just 9 followers? Maybe they were just passing by, or perhaps they clicked by accident while looking for actual developers. > > > > You’ve got more forks than a family dinner, yet most of your repos look so uninspired that they might as well come with a disclaimer: “Do not expect much.” Word to the wise: if you're going for "just for fun," maybe consider an actual hobby or, dare I say, a personality. After all, your command line tools are more entertaining than your profile readme, which goes on like a bad self-help book— we get it, you like Linux and gaming, but what's next, a PowerPoint on your 9 followers? Spice it up a bit, bud.>

    2
    GitHub Profile Roast 🔥🔥🔥

    Generates text after analyzing a profile. It's pretty funny. Mine: thingsiplay

    > Oh Tuncay, your GitHub bio proudly declares you're "just for fun" and unprofessional, which is ironic since it sounds like you’ve derived way too much fun from so many unremarkable scripts. With 46 public repositories, you must’ve thought quantity would mask the glaring mediocrity. The only thing more stale than your Bash scripts is your humor. > > Your "emojicherrypick" project? Really? The world needed another emoji picker like it needs more stale bread—there's a reason it's got more emojis than stars. And speaking of shadows, how does it feel to have just 9 followers? Maybe they were just passing by, or perhaps they clicked by accident while looking for actual developers. > > You’ve got more forks than a family dinner, yet most of your repos look so uninspired that they might as well come with a disclaimer: “Do not expect much.” Word to the wise: if you're going for "just for fun," maybe consider an actual hobby or, dare I say, a personality. After all, your command line tools are more entertaining than your profile readme, which goes on like a bad self-help book— we get it, you like Linux and gaming, but what's next, a PowerPoint on your 9 followers? Spice it up a bit, bud.>

    2
    Cheatsheet script for displaying Linux command examples
    gist.github.com cheat.sh - The only cheat sheet you need

    cheat.sh - The only cheat sheet you need. GitHub Gist: instantly share code, notes, and snippets.

    cheat.sh - The only cheat sheet you need

    You can use cheat sh web service to show cheatsheets for all kind of commands. Just replace the command name: curl -s cheat.sh/date. I also wrote a a simple script with filename being just a question mark to get a working command as ?, that shows all commands in fzf menu if no argument is given or shows the cheatsheet in the less pager if command name is given.

    Usage:

    ? ? -l ? date ? grep

    Script ?:

    ``` #!/bin/env bash

    cheat='curl -s cheat.sh' menu='fzf --reverse' pager='less -R -c' cachefile_max_age_hours=6

    Path to temporary cache file. If your Linux system does not support /dev/shm

    or if you are on MacOS, then change the path to your liking:

    cachefile='/dev/shm/cheatlist' # GNU+LINUX

    cachefile="${TMPDIR}/cheatlist" # MacOS/Darwin

    Download list file and cache it.

    listing () { if [ -f "${cachefile}" ] then local filedate=$(stat -c %Y -- "${cachefile}") local now=$(date +%s) local age_hours=$(( (now - filedate) / 60 / 60 )) if [[ "${age_hours}" > "${cachefile_max_age_hours}" ]] then ${cheat}/:list > "${cachefile}" fi else ${cheat}/:list > "${cachefile}" fi cat -- "${cachefile}" }

    case "${1}" in '') if selection=$(listing | ${menu}) then ${cheat}/"${selection}" | ${pager} fi ;; '-h') ${cheat}/:help | ${pager} ;; '-l') listing ;; *) ${cheat}/${@} | ${pager} ;; esac ```

    2
    datahoarder @lemmy.ml thingsiplay @beehaw.org
    GameFAQs TXT August 2024
    archive.org GameFAQs TXT August 2024 : thingsiplay : Free Download, Borrow, and Streaming : Internet Archive

    https://archive.org/details/gamefaqs_txtby thingsiplay (Tuncay D.)2024-08-07GameFAQs at https://gamefaqs.gamespot.com hosts user created faqs anddocuments....

    GameFAQs TXT August 2024 : thingsiplay : Free Download, Borrow, and Streaming : Internet Archive

    cross-posted from: https://beehaw.org/post/15404535

    Data: https://archive.org/details/gamefaqs_txt

    > Mirror upload for faster download, 1 Mbit (expires in 30 days): https://ufile.io/f/r0tmt > > GameFAQs at https://gamefaqs.gamespot.com hosts user created faqs and > documents. Unfortunately they are baked into the HTML webpage and cannot be > downloaded on their own. I have scraped lot of pages and extracted those > documents as regular TXT files. Because of the sheer amount of data, I only > focused on a few systems. > > In 2020, a Reddit user named "prograc" archived faqs for all systems at > https://archive.org/details/Gamespot_Gamefaqs_TXTs . So most of it is already > preserved. I have a different approach of organizing the files and folders. > Here a few notes about my attempt: > > * only 17 selected systems are included, so it's incomplete > * folder names of systems have their long name instead short, i.e. Playstation > instead ps > * similarly game titles have their full name with spaces, plus a starting "The" > is moved to the end of the name for sorting reasons, such as "King of > Fighters 98, The" > * in addition to the document id, the filename also contain category (such as > "Guide and Walkthrough"), the system name in short "(GB)" and the authors > name, such as "Guide and Walkthrough (SNES) by BSebby_6792.txt" > * the faq documents contain an additional header taken from the HTML website, > including a version number, the last update and the previously explained > filename, plus a webadress to the original publication > * HTML documents are also included here with a very poor and simple conversion, > but only the first page, so multi page HTML faqs are still incomplete > * no zip archives or images included, note: the 2020 archive from "prograc" > contains false renamed .txt files, which are in reality .zip and other files > mistakenly included, in my archive those files are correctly excluded, such > as nes/519689-metroid/faqs/519689-metroid-faqs-3058.txt > * I included the same collection in an alternative arrangement, where games are > listed without folder names for the system, this has the side effect of > removing any duplicates (by system: 67.277 files vs by title: 55.694 files), > because the same document is linked on many systems and therefore downloaded > multiple times

    0
    GameFAQs TXT August 2024
    archive.org GameFAQs TXT August 2024 : thingsiplay : Free Download, Borrow, and Streaming : Internet Archive

    https://archive.org/details/gamefaqs_txtby thingsiplay (Tuncay D.)2024-08-07GameFAQs at https://gamefaqs.gamespot.com hosts user created faqs anddocuments....

    GameFAQs TXT August 2024 : thingsiplay : Free Download, Borrow, and Streaming : Internet Archive

    Mirror upload for faster download, 1 Mbit (expires in 30 days): https://ufile.io/f/r0tmt

    GameFAQs at https://gamefaqs.gamespot.com hosts user created faqs and documents. Unfortunately they are baked into the HTML webpage and cannot be downloaded on their own. I have scraped lot of pages and extracted those documents as regular TXT files. Because of the sheer amount of data, I only focused on a few systems.

    In 2020, a Reddit user named "prograc" archived faqs for all systems at https://archive.org/details/Gamespot_Gamefaqs_TXTs . So most of it is already preserved. I have a different approach of organizing the files and folders. Here a few notes about my attempt:

    • only 17 selected systems are included, so it's incomplete
    • folder names of systems have their long name instead short, i.e. Playstation instead ps
    • similarly game titles have their full name with spaces, plus a starting "The" is moved to the end of the name for sorting reasons, such as "King of Fighters 98, The"
    • in addition to the document id, the filename also contain category (such as "Guide and Walkthrough"), the system name in short "(GB)" and the authors name, such as "Guide and Walkthrough (SNES) by BSebby_6792.txt"
    • the faq documents contain an additional header taken from the HTML website, including a version number, the last update and the previously explained filename, plus a webadress to the original publication
    • HTML documents are also included here with a very poor and simple conversion, but only the first page, so multi page HTML faqs are still incomplete
    • no zip archives or images included, note: the 2020 archive from "prograc" contains false renamed .txt files, which are in reality .zip and other files mistakenly included, in my archive those files are correctly excluded, such as nes/519689-metroid/faqs/519689-metroid-faqs-3058.txt
    • I included the same collection in an alternative arrangement, where games are listed without folder names for the system, this has the side effect of removing any duplicates (by system: 67.277 files vs by title: 55.694 files), because the same document is linked on many systems and therefore downloaded multiple times
    0
    Evidence That Our Names Physically Change Our Faces Over Time (Anton Petrov, YouTube)

    According to their studies, the older we get, the more we will match our name. Wild, but interesting theory.

    12
    ROMhacking.net Moves to News Only, Database and File Archive Released to Internet Archive

    This is a sad day. One of my favorite resources and communities is closing the doors as we know. No longer are new Romhack and mods accepted; the site becomes a News site. There was some drama going on. The site owner and leader put entire database and files to Archiveorg for preservation and download in one batch.

    Read the message here: https://www.romhacking.net/news/3074/

    Download the files here: https://archive.org/details/romhacking.net-20240801

    Download as Torrent: https://archive.org/download/romhacking.net-20240801/romhacking.net-20240801_archive.torrent (official torrent file, I recommend this, as it is faster)

    0
    thingsiplay thingsiplay @beehaw.org
    • https://thingsiplay.game.blog/
    • https://github.com/thingsiplay

    I'm here to stay.

    Posts 52
    Comments 1.2K