This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://github.com/AMD-BC-250/documentation/blob/main/README.md |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # Mastodon Tor Exit Nodes Block | |
| # | |
| # V4 (2024.02.19) | |
| # | |
| # * v1: initial version | |
| # * v2: fix compatibility with HAProxy (set MASTODON_CONVERT_IPV4toV6 to true) | |
| # * v3: minor cleanup | |
| # * v4: added support for the IPv6 exit nodes, change default settings |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cd /home/mastodon/live/ | |
| mkdir -p ./~temp | |
| wget --no-cache https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf -O ./~temp/email.list | |
| domains="$(cat ./~temp/email.list)" | |
| domains="${domains//$'\n'/ }" | |
| RAILS_ENV=production bin/tootctl email-domain-blocks add $domains |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # | |
| # Mastodon update script | |
| # v3 (2024.02.18) | |
| # | |
| # Changelog | |
| # * v1 - initial version | |
| # * v2 - added mastodon-bird-ui | |
| # * v3 - added import of temporary email domains |