Skip to content

Instantly share code, notes, and snippets.

@Anaphylaxis
Anaphylaxis / delete_gitea_spammers.go
Created September 12, 2024 18:27
Delete Spammers from Gitea (Golang)
// Removes spammers from Gitea. Make sure to replace excludedUsers and excludedOrgs!!!!!!!!!!!!!
// Add your own BASEURL and Token.
// Retrieve the token via POST to /api/v1/users/{USERNAME}/tokens with body {"name": "<TOKEN_NAME>"} and Basic Auth with your gitea credentials
// Make sure to replace excludedUsers and excludedOrgs!!!!!!!!!!!!!
// Make sure to replace excludedUsers and excludedOrgs!!!!!!!!!!!!!
// Make sure to replace excludedUsers and excludedOrgs!!!!!!!!!!!!!
// Make sure to replace excludedUsers and excludedOrgs!!!!!!!!!!!!!
package main
@Anaphylaxis
Anaphylaxis / keybase.md
Created October 6, 2018 02:52
Keybase Proof

Keybase proof

I hereby claim:

  • I am anaphylaxis on github.
  • I am fdylan (https://keybase.io/fdylan) on keybase.
  • I have a public key ASBPFSOES2OqkIQ_xCRc3gvuTAFs0ZAI4CHNJBcS4xAuJgo

To claim this, I am signing this object: