toot followers --json | jq -r '.[] | select(.statuses_count == 0) | .acct' | while read acct;
do toot block "$acct" && toot unblock "$acct"; done `¸¸
und dann in ein Array laden …
toot followers @dewomser > arr.txt
toot followers --json | jq -r '.[] | select(.statuses_count == 0) | .acct' | while read acct;
do toot block "$acct" && toot unblock "$acct"; done `¸¸
und dann in ein Array laden …
toot followers @dewomser > arr.txt
| #!/usr/bin/bash | |
| #/usr/bin/import "$HOME"/bin/toot.png | |
| cd "$HOME"/bin/ | |
| # Take URL as argument | |
| url="$1" | |
| # Fetch HTML and extract title and description from head | |
| html=$(curl -s "$url") |
| #!/home/foo/bin/tooter.sh | |
| a=lolo | |
| echo "das ist ein Test" | |
| echo "cat als shebang trötet Sourcecode" | |
| echo "$a" |
| cat << eof > notiz_$(date '+%Y_%m_%d_%H_%M_%S').txt |
| services: | |
| snowflake-proxy: | |
| network_mode: host | |
| image: containers.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake:latest | |
| container_name: snowflake-proxy | |
| restart: unless-stopped | |
| # For a full list of Snowflake Proxy CLI parameters see | |
| # https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/-/tree/main/proxy?ref_type=heads#running-a-standalone-snowflake-proxy | |
| # command: [ "-ephemeral-ports-range", "30000:60000" ] | |
| watchtower: |
aria2c --enable-rpc --rpc-listen-all --max-connection-per-server=4 --min-split-size=1M
Den erzeugten Websocket, localhost Port 6800 , kann man nätürlich auch für torrent … verwenden. Meine empfohlene Extension für Firefox : Aria2-Extension
| #Linux #Bash | |
| basename und dirname | |
| sind auch Teil der Parameter expansion | |
| lolo="~/gogo/usr/bin/lolo.txt.gz" | |
| dirname $lolo | |
| #oder | |
| echo "${lolo%/*}" |
| Kwin debug konsole -> Eingabeereignisse | |
| xev >mousepos .txt | |
| watch kdotool getmouselocation --shell |