this post was submitted on 10 Apr 2024
102 points (97.2% liked)

Gaming

19181 readers
355 users here now

Sub for any gaming related content!

Rules:

founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] GlenTheFrog@lemmy.ml 1 points 2 months ago (1 children)

Totally off topic but what is that "Anti Commercial AI thingy" that you have linked? Is it to prevent AI scraping?

[–] onlinepersona@programming.dev 1 points 2 months ago

That's precisely it. Maybe I should add a blurb about that 🤔 (for later)

Anti Commercial AI thingyCC BY-NC-SA 4.0

Inserted with a keystroke running this script on linux with X11

#!/usr/bin/env nix-shell
#!nix-shell -i bash --packages xautomation xclip

sleep 0.2
(echo '
spoiler Anti Commercial AI thingy [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) Inserted with a keystroke running this script on linux with X11 ```bash' cat "$0" echo '``` :::') | xclip -selection clipboard xte "keydown Control_L" "key V" "keyup Control_L"

:::