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
latest="$(curl https://api.github.com/repos/go-gitea/gitea/releases/latest)"; | |
#echo $latest; | |
if [[ "$latest" =~ (https:\/\/github\.com\/go-gitea\/gitea\/releases\/download\/v1\.[0-9]+\.[0-9]+\/gitea-([0-9.]+)-linux-amd64) ]]; then | |
echo "$BASH_REMATCH" | |
url=$BASH_REMATCH; | |
echo $url; | |
e="$(wget $url)"; | |
mv ~/gitea-1* ~/gitea; | |
systemctl stop gitea; | |
mv -f /usr/local/bin/gitea /usr/local/bin/gitea_old; |
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
#!/bin/sh | |
# Modified version of this: https://github.com/Paul-Reed/cloudflare-ufw/blob/master/cloudflare-ufw.sh | |
# Apache 2.0 - https://github.com/Paul-Reed/cloudflare-ufw/blob/master/LICENSE | |
# This is edited to automatically delete old CF ips before adding new ones, instead of the original script, which just adds new CF ips while ignoring old ones. | |
curl -s https://www.cloudflare.com/ips-v4 -o /tmp/cf_ips | |
echo "" >> /tmp/cf_ips | |
curl -s https://www.cloudflare.com/ips-v6 >> /tmp/cf_ips |
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
{ | |
"version": 1, | |
"regex": { | |
"value": "selected to enter a chatroom|to enter the room|followers on twitter|roving|wandering chatroom|3letter|only(| )fans|\\[\\i\\]|snep|the fun app|kigg|shnap|piks|trdn|sneipcheit|3letterapp|discord|K\\-|ΚiΚ|𝑭|♫|sn ap|kap|selling content|q i q|qiq|chat community|bored guy|KiK|snap|kik|dick|girl|female|male|kwik|rate|rat(ing|)|boob|ass|no (brackets|dot|\\.|\\()|k app|venmo|ashapp|paypal|nude|telegram|tele(.|)gram|k.k|slut|bimbo|horny|snpcht|dropbox|rape|beastiality|db|cock|kiq|cp|kapp|porn|k user|sext|BrettFromFlorida|on the k|n\\.udes|kioq|incel|hmu|come make it lit|nigg(er|a)|cum|ddlg|nsfw|dildo|sissy|without (\\(\\)|\\.)|t\\.rade|hentai|ladies|s(\\/|) app|k(\\/|) app|whore|dom|sub|grpchat|gallery|kay|scc|3 letter|roulette|inch|snatchap", | |
"flags": "i" | |
} | |
} |