Skip Navigation
*Permanently Deleted*
  • Don't blindly run untrusted software, use Bubblewrap at the very least. Keep https://xkcd.com/538/ in mind.

  • What are some things you donate to?
  • OpenStreetMap and Internet Archive because they are operating with a small budget (as opposed to Wikipedia).

  • CLI tools to quickly find recently opened files by fuzzy search?
  • #!/bin/sh
    # Select a file with fzf from a database sorted by frecency and open it using
    # xdg-open. frece can be found at https://github.com/YodaEmbedding/frece
    
    DB_FILE=${FRECE_FILES_DB:-$HOME/.cache/frecent-files.csv}
    item=$(frece print "$DB_FILE" | fzf --tiebreak=index --scheme=path)
    
    [ -z "$item" ] && exit 1
    frece increment "$DB_FILE" "$item"
    
    xdg-open "$item"
    
    #!/bin/sh
    # Update frece database
    
    DB_FILE=${FRECE_FILES_DB:-$HOME/.cache/frecent-files.csv}
    tmp_file=$(mktemp)
    fd -H . ~ > "$tmp_file"  # use ~/.fdignore file to exclude certain dirs
    frece update "$DB_FILE" "$tmp_file" --purge-old
    rm "$tmp_file"
    
    
  • How to audit a shell-completion script?
  • The mojo, cpan and pip bash scripts don't fail my test of "skimming over the source and looking for dangerous external commands like curl or rm" (good syntax highlighting is helpful here). They look like typical completion scripts. However, if your Linux distribution has a pip completion script in their repos, prefer that one.

  • How Google Alters Search Queries to Get at Your Wallet - WIRED
  • Wired has removed the story because it “does not meet [their] editorial standards”.

  • How Google Alters Search Queries to Get at Your Wallet
  • Wired has removed the story because it "does not meet [their] editorial standards".

  • Pale Court now available on Linux and macOS

    In case you somehow missed it, Pale Court is a Hollow Knight mod that adds several well-made boss fights. It released a month ago, but the Linux and macOS versions had problems. This was fixed with the new 1.0.1.0 release.

    0
    *Permanently Deleted*
  • Make sure that toolkit.legacyUserProfileCustomizations.stylesheets is enabled in about:config.

  • GOOD games with female protagonists?
  • Hollow Knight: Silksong

  • what videogame do you have the most hours in?
  • 500 hours in Hollow Knight thanks to the randomizer and other amazing mods.

  • Demonstrating how easy it is to get hacked

    0
    A place for everything about math @lemmy.ml Ordoviz @lemmy.ml

    Beginner-friendly derivation of an alternative expression of the gamma function.

    0
    Readout of Xi-Biden phone call On the evening of 28 July
  • Thanks, I was confused because I thought "not supporting Taiwan independence" means being fine with China annexing Taiwan. In both versions of the readout, Biden wants to keep the status quo in Cross-Strait relations, but this is phrased differently in each readout.

  • Readout of Xi-Biden phone call On the evening of 28 July
  • It's good that China and the US keep up the communication. However, I would like to see an US version of this: Did Biden really “reiterated that the one-China policy of the US has not changed and will not change, and that the US does not support ‘Taiwan independence’.”?

  • #DuckDuckGone is trending on twitter after CEO tweets intentions to censor russian disinformation
  • You guys are overreacting. DDG said they would only down-rank sites associated with Russian disinformation. It's normal for search engines to downrank low-quality sites such as SEO spam.

  • Indie Games @lemmy.ml Ordoviz @lemmy.ml
    Itch.io video game bundle for Ukraine
    itch.io Bundle for Ukraine by Necrosoft Games and 738 others

    Bundle for Ukraine: 998 items for $10.00

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

    > Get Celeste, Baba is You, A Short Hike, Minit and many other indie games while supporting charity.

    0

    I have aphantasia but managed to follow the moves in the video and notice the pin.

    Aphantasia is the inability to create mental images in one's mind. You can check for yourself if you have aphantasia by imaging a ball on a table.

    Do you have aphantasia? Can you play blind chess?

    1

    High-quality video by an underrated channel.

    0
    A place for everything about math @lemmy.ml Ordoviz @lemmy.ml
    The Perfect Road for a Square Wheel
    0
    Computer Science @lemmy.ml Ordoviz @lemmy.ml
    How Big Can Balanced Trees Get? (Fibonacci, AVL Trees, and Binet's Formula)
    0
    A place for everything about math @lemmy.ml Ordoviz @lemmy.ml
    How Big Can Balanced Trees Get? (Fibonacci, AVL Trees, and Binet's Formula)
    0
    How to use yt-dlp instead of yt-dl with mpv

    I use RSS feeds and mpv to watch YouTube without visiting youtube.com. This post shows how you can configure mpv to use yt-dlp instead of the abandoned youtube-dl.

    0
    Youtube @lemmy.ml Ordoviz @lemmy.ml
    How to use yt-dlp instead of yt-dl with mpv
    0

    Eye-opening video which explains Nintendo’s new design philosophy by comparing Origami King, Breath of the Wild, and Odyssey to older Nintendo games and similar games from other publishers.

    The title sounds more negative than the video actually is.

    0

    Video in which Matt Parker explains Benford's Law and why it cannot be applied to elections

    0
    Command Line @lemmy.ml Ordoviz @lemmy.ml
    Linux Command Library
    linuxcommandlibrary.com Basics | Cheat sheets | Linux Command Library

    Handy cheat sheets with linux tips and terminal basics about System control, Users, Files, Package managers, Video and Audio, Hacking tools, Terminal games and many more categories.

    Basics | Cheat sheets | Linux Command Library

    Impressive resource

    0
    Command Line @lemmy.ml Ordoviz @lemmy.ml
    Bash one-liner challenge

    Solve exercises by writing Bash one-liners. The server actually runs your commands and checks whether the output is correct.

    If you click on View Solutions, the correct commands other people entered are sorted by character count. So if you want, you can take the optional code golfing challenge.

    I gained some knowledge from solving the challenges and looking at the solutions. Mostly you will use find and grep.

    0
    The C Programming Language @lemmy.ml Ordoviz @lemmy.ml
    dwl is a dwm-like Wayland compositor based on wlroots
    github.com GitHub - djpohly/dwl: dwm for Wayland

    dwm for Wayland. Contribute to djpohly/dwl development by creating an account on GitHub.

    GitHub - djpohly/dwl: dwm for Wayland

    I am not the author of dwl. Since dwl is based on wlroots (just like the popular Sway) it already supports making screenshots using [grim][2] and screencasts using [wf-recorder][3].

    You can try out dwl from within your current WM. The default modkey is Alt. If you want to use the Super key, change #define MODKEY WLR_MODIFIER_ALT in config.h to #define MODKEY WLR_MODIFIER_LOGO and recompile. The default terminal emulator is kitty but you can change termcmd to alacritty if you want.

    Currently, only native Wayland applications run on it. You can enable experimental Wayland support for Firefox with MOZ_ENABLE_WAYLAND=1, see [Running programs natively under Wayland in Sway Wiki][1].

    Do not hover over the edges of windows – this will crash dwl.

    [1]: https://github.com/swaywm/sway/wiki/Running-programs-natively-under-wayland [2]: https://github.com/emersion/grim [3]: https://github.com/ammen99/wf-recorder

    0
    Productivity @lemmy.ml Ordoviz @lemmy.ml
    Kakoune Is A More Efficient Text Editor

    https://kakoune.org/

    0