Ordoviz

joined 4 years ago
[–] Ordoviz@lemmy.ml 10 points 9 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 15 points 10 months ago

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

[–] Ordoviz@lemmy.ml 3 points 10 months 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 11 months 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".

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

Make sure that toolkit.legacyUserProfileCustomizations.stylesheets is enabled in about:config.

 

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

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

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.

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

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’.”?

[–] 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.

 

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.

1
Linux Command Library (linuxcommandlibrary.com)
 

Impressive resource

 

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.

 

If you are currently using z, autojump, fasd or similar, take a look at it. frece is the kind of tool that does one thing well and can be used in ways the authors didn’t think of.

In my case it replaced mlocate. See open-files-frece and frece-updatedb.

It is written in Rust and available in the AUR.

view more: next ›