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 | |
# +--------------------------+ | |
# | PEERTUBE UPLOAD SCRIPT | | |
# | by William Rehwinkel | | |
# | (implements example in | | |
# | REST API documentation) | | |
# +--------------------------+ | |
# | Note that some param- | | |
# | eters, such as "comments | |
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 | |
# Script compatible with ergo IRC daemon | |
# | |
# Reads a json input in the form | |
# {"ip": "1.2.3.4"} from standard in; checks | |
# it against the database of tor exit nodes. | |
# This script returns the result in json | |
# form, in which "result" = 2 is a tor exit | |
# node, which is intended to be blocked. |