how to type out a file, a variable, raw data, etc in xdotool as people dont like giving out direct answers it seems
its stupid, u literally just add -- to command line :
xdotool type -- 'your data here'for example
| #!/usr/bin/env sh | |
| # -*- | |
| # name(ben.sh) | |
| # description(benchmark for shells -- performance and features) | |
| # running(to run it id suggest to keep it fair, i personally did : `env -i bash --norc -i <ben.sh` ( 26 s ) and `env -i busybox ash -i <ben.sh` ( 19 s )) | |
| # author(Ari Archer <ari.web.xyz@gmail.com> [ari-web.xyz]) | |
| # license(wtfpl) | |
| # -*- |
| #!/usr/bin/env bash | |
| set -xeu | |
| gen() { | |
| printf 'ffmpeg' | |
| for p in "$1"/*; do | |
| printf ' -i %q' "$p" | |
| done |
| # this is taken from one of my projects, i have no clue how i got here | |
| # but i did, maybe some of u can refine it and use it, but here it is | |
| from html import escape as html_escape | |
| def text2svg( | |
| text: str, | |
| fill: str = "#fff", | |
| font: str = "sans-serif", | |
| size: float = 16, |
| #!/usr/bin/env python3 | |
| # -*- coding: utf-8 -*- | |
| """deactivate a user account on dendrite | |
| ( usage : `./deactivate.py <username of the user that you want deactivated>`, | |
| itll prompt u for ur access token, | |
| in element and schildichat at least you can get ur access token by going to | |
| settings -> help & about -> advanced -> access token, | |
| your account should be admin in dendrite ( `./bin/create-user ... -admin` ) ) |
| #!/usr/bin/env python3 | |
| # -*- coding: utf-8 -*- | |
| """delete a room fully in dendrite | |
| --------------------------------- | |
| UNLICENSE | |
| This is free and unencumbered software released into the public domain. |
| #!/usr/bin/env sh | |
| set -eu | |
| main() { | |
| ssh-keygen -t ed25519 -a 100 | |
| ssh-add ~/.ssh/id_ed25519 | |
| echo |
| "use strict"; | |
| // this is a very simple and basic showcase of a parser | |
| // and interpreter example which implements brainfuck | |
| // license : unlicense | |
| // UNLICENSE | |
| // This is free and unencumbered software released into the public domain. |
| #!/usr/bin/env python3 | |
| # -*- coding: utf-8 -*- | |
| """Calculate prime candidates for cryptography uses | |
| License: This work is marked with CC0 1.0 Universal | |
| <https://creativecommons.org/publicdomain/zero/1.0/>""" | |
| import math | |
| import secrets | |
| import sys |
| /* | |
| UNLICENSE | |
| This is free and unencumbered software released into the public domain. | |
| Anyone is free to copy, modify, publish, use, compile, sell, or | |
| distribute this software, either in source code form or as a compiled | |
| binary, for any purpose, commercial or non-commercial, and by any | |
| means. |