• @[email protected]
    link
    fedilink
    18 months ago

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

    • @[email protected]
      link
      fedilink
      English
      18 months ago

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

      Anti Commercial AI thingy

      CC 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"