Ordoviz

joined 4 years ago
[–] Ordoviz@lemmy.ml 10 points 10 months ago (5 children)

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

[–] Ordoviz@lemmy.ml 14 points 1 year ago

OpenStreetMap and Internet Archive because they are operating with a small budget (as opposed to Wikipedia).

[–] Ordoviz@lemmy.ml 3 points 1 year ago
#!/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"

[–] Ordoviz@lemmy.ml 3 points 1 year ago (1 children)

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.

[–] Ordoviz@lemmy.ml 3 points 1 year ago (1 children)

Wired has removed the story because it “does not meet [their] editorial standards”.

[–] Ordoviz@lemmy.ml 4 points 1 year ago

Wired has removed the story because it "does not meet [their] editorial standards".

 

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

[–] Ordoviz@lemmy.ml 0 points 2 years ago (1 children)

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.

 

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.

 

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

 

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.

 

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.

 

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 and screencasts using wf-recorder.

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.

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