Skip to content

Instantly share code, notes, and snippets.

View literally1984's full-sized avatar
🕷️
l

literally1984 literally1984

🕷️
l
View GitHub Profile
@primitt
primitt / privacy.md
Created August 10, 2022 05:02
Eagler Server List Privacy Policy
View privacy.md

Privacy Policy for Eagler Server List

I (ayonull) have written this policy to show what we save/dont save. I will be referring to eagler server list as ESL.

What we collect

We dont collect much data, because not much is needed. Here is what we collect.

  • Discord ID's (ex. 393185217843560449)
  • Discord Emails.

The main reason we collect these are to prevent bots spamming votes, and trying to alt discord accounts. We do not log or collect anything else for any other reason. At any time, you can email me at (primitt@primitt.dev) to request a removal of your data.

Services and Other Privacy Policies.

@OopsieWoopsie
OopsieWoopsie / cloudflare.sh
Created October 23, 2020 23:43
Only allow CloudFlare connections to your web server
View cloudflare.sh
#!/bin/bash
# This script downloads the actual list of CloudFlare's IPv4/6 ranges
# and allows them to connect to the 443 port (HTTPS) and drops
# connections from other addresses.
# This is to prevent DDoS attacks and attackers from using the "Host"
# header to identify your server backend address.
# download the lists and remove the trailing newline
ranges4=$(curl -s https://www.cloudflare.com/ips-v4 | head -c -1)
ranges6=$(curl -s https://www.cloudflare.com/ips-v6 | head -c -1)
@wavezhang
wavezhang / java_download.sh
Last active September 29, 2023 18:40
download java from oracle without login
View java_download.sh
wget -c --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" https://download.oracle.com/otn-pub/java/jdk/12.0.2+10/e482c34c86bd4bf8b56c0b35558996b9/jdk-12.0.2_linux-x64_bin.tar.gz