GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    God's Silliest Soldier (frailleaf@silliness.observer)'s status on Sunday, 21-May-2023 05:48:13 JSTGod's Silliest SoldierGod's Silliest Soldier
    in reply to
    • paulo
    • stickyfingers
    • histoire ??☢️??
    • LovecraftEnthusiast :shyduck:
    • T man :sex: :puffgiga: :puffpowerroll:
    • meso
    • koropokkur
    • God's Silliest Soldier
    • get@glee.li :adm1::adm2:
    • Ruu
    • MercurialBlack
    • Paulo alt
    • tfw no bpd yandere gf
    @meso @LovecraftEnthusiast @MercurialBlack @MischievousTomato @Paulo @Ruusu @get @histoire @koropokkur @paulo @stickyfingers @theorytoe fucking uh shell script time

    ```
    #!/bin/bash

    TOKEN="pernia"

    instances="('bae.st')";

    psql -U frailleaf akkoma -tAc "SELECT nickname from users where (CURRENT_TIMESTAMP-inserted_at) < '24 hours'::interval and split_part(\"ap_id\", '/', 3) in $instances;" > usernames.txt

    echo "detecting $(wc -l usernames.txt) new accounts in $instances"

    echo '{"nicknames": [' "$(sed 's/.*/"&"/' usernames.txt | tr '\n' ',' | sed 's/,$//')" ']}' | jq . > usernames.json

    curl -H "Authorization: Bearer ${TOKEN}" -H 'Content-Type: application/json' -H 'Accept: application/json' --data-binary "@/home/frailleaf/bin/usernames.json" -X PATCH https://silliness.observer/api/v1/pleroma/admin/users/deactivate

    ```
    In conversationSunday, 21-May-2023 05:48:13 JST from silliness.observerpermalink

    Attachments



  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.