Skip to content

Instantly share code, notes, and snippets.

Hunter judge2020

Block or report user

Report or block judge2020

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
judge2020 / Aworker.js
Created May 8, 2019
Cloudflare Workers: block proxy IPs
View Aworker.js
// Using a global variable so we aren't
// pulling from the proxy API on each
// and every subsequent request
// (note that the Workers billing still applies here)
// This could be "truly global" with KV but
// it's not really needed here unless the proxy list
// starts blocking CF ips.
judge2020 / cloudflare-hot-link-protection-with-stub.js
Last active Feb 17, 2019 — forked from vdbelt/cloudflare-hot-link-protection-with-whitelist.js
Cloudflare service worker hot link protection with whitelist
View cloudflare-hot-link-protection-with-stub.js

"normalizes" an email to prevent multiple accounts being created for each email inbox. This would be ran on both register and login.

We don't DNS lookup gsuite because gsuite does not have the gmail "plus address" feature.


Copyright 2019

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

judge2020 / cloudflare-ips-v4.txt
Last active Nov 3, 2018
Cloudflare comma-separated IPs
View cloudflare-ips-v4.txt,,,,,,,,,,,,,
judge2020 /
Created May 24, 2018
Embedding an image.

Embedding an image in a GitHub Issue

Say you have an image at a url. i will use for my example, but almost all direct link image urls will work.

In order to embed it, you must enter it with ![](imageurl), replacing imageurl with your image URL.


judge2020 / privacy.txt
Created May 19, 2018
Corporate Clash privacy policy
View privacy.txt
Updated 5/19/2018
Text is bolded in this document not necessarily to emphasise, but to increase readability and navigation of the document.
Managing your data
We allow a user to request all information related to their account to be deleted upon request. A user may also request all of their information to be downloaded upon request.
sed -i 's/enabled=1/enabled=0/' /etc/yum/pluginconf.d/fastestmirror.conf
sed -i 's/mirrorlist/#mirrorlist/' /etc/yum.repos.d/*.repo
sed -i 's|#baseurl=$releasever|baseurl=|' /etc/yum.repos.d/*.repo
# usage: sh
echo | openssl s_client -showcerts -servername $1 -connect $1:443 2>/dev/null | openssl x509 -inform pem -noout -text
judge2020 / gsuite_smtp.json
Created Apr 23, 2018
G Suite SMTP Relay settings update request json
View gsuite_smtp.json
"1": [
"1": "(ab:cd, likely some authorization thing)",
"2": 14,
"7": "Name of group",
"16": 1,
"20": {
"5": [
from line_profiler import LineProfiler
import random, math
levels = [0]
for level in xrange(1,100):
level += 1
exp = int(15 * level * (level+5))
def getExpLevel(experience):
You can’t perform that action at this time.