server {
listen 443 ssl;
server_name yourdomain.com;
ssl_certificate /path/to/cert.crt;
This file contains 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
<?php | |
$blackList = ["-backed","-edge","1488","ahegao","anus","arrest","arse","ass","au naturel","badonkers","ballgag","bare","barely dressed","bathing","behind bars","belle delphine","belly button","big ass","bikini","bimbo","bleed","blood","bloodbath","bloodshot","bloody","bodily fluids","booba","boobs","booty","bosom","boudoir","bra","breasts","brothel","brown pudding","bruises","brutal","bunghole","busty","camisole","cannibal","cannibalism","car crash","censored","cleavage","clunge","cocaine","coon","corpse","crack","cronenberg","crotch","crucified","crucified","crucifixion","cutting","decapitate","deepfake","dick","disturbing","dominatrix","dong","erected","erotic","excrement","explicit","explicit","fart","farts","fascist","feces","flesh","fuck","full frontal","girth","gory","gruesome","guts","hardcore","hemoglobin","hentai","heroin","hitler","honkers","honkey","hooters","horny","inappropriate","inappropriate","inappropriate","incest","infected","infested","intimate","invisible clothes","jail","jav","jerk |
This file contains 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
/* | |
By Daan Rijks (daanrijks@gmail.com). | |
Idea & Inititative: Niels Meijer (niels.meijer@leerling.ig.nl) | |
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License | |
(http://creativecommons.org/licenses/by-nc-sa/4.0/) | |
*/ | |
var hosts = ""; // HTTP proxies go here, in the format host:port separated by a single space. |
This file contains 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
{ | |
"Gore": [ | |
"Blood", "Bloodbath", "Crucifixion", "Bloody", "Flesh", "Bruises", "Car crash", "Corpse", "Crucified", "Cutting", "Decapitate", "Infested", "Gruesome", "Kill (as in Kill la Kill)", "Infected", "Sadist", "Slaughter", "Teratoma", "Tryphophobia", "Wound", "Cronenberg", "Khorne", "Cannibal", "Cannibalism", "Visceral", "Guts", "Bloodshot", "Gory", "Killing", "Surgery", "Vivisection", "Massacre", "Hemoglobin", "Suicide", "Female Body Parts" | |
], | |
"Drugs": [ | |
"Drugs", "Cocaine", "Heroin", "Meth", "Crack" | |
], | |
"Clothing": [ | |
"no clothes", "Speedo", "au naturale", "no shirt", "bare chest", "nude", "barely dressed", "bra", "risqué", "clear", "scantily", "clad", "cleavage", "stripped", "full frontal unclothed", "invisible clothes", "wearing nothing", "lingerie with no shirt", "naked", "without clothes on", "negligee", "zero clothes" | |
], |
This file contains 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
function colorLog(text, type, getStr = false){ | |
let str; | |
switch (type) { | |
case 'e': // error | |
str = '\u001b[38;2;255;0;0m'+text+'\u001b[0m' | |
break; | |
case 's': // success | |
str = '\u001b[38;2;0;255;0m'+text+'\u001b[0m' | |
break; | |
case 'w': // warning |
This file contains 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
// This function does the following | |
// 1. fetches the PDF resume from the url provided | |
// 2. creates a file object with the resume data | |
// 3. triggers the change event on the file input element | |
// 4. the file input element gets the file object | |
// 5. the file object is uploaded to the website | |
async function handleResumeInput(remoteResumeURL) { |
Downloading and Uploading File to Google Drive without Saving File with Stream and Resumable Upload using Node.js
This is a sample script of Node.js for downloading the data and uploading the data to Google Drive with the resumable upload without saving it as a file. The downloaded data is uploaded to Google Drive with the stream.
Before you use this, please set the variables of accessToken
, url
, fileSize
, mimeType
and filename
. In this case, fileSize
is required to set because the data is uploaded with the resumable upload.
const request = require("request");
This file contains 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://www.npmjs.com/package/round-robin-js | |
import { RandomRoundRobin } from 'round-robin-js'; | |
async function sender(queue: string, message: any, env: Env) { | |
try { | |
const processors = { | |
PROCESSOR1: env.ENVIRONMENT === 'dev' ? env.PROCESSOR1_DEV : env.PROCESSOR1, | |
PROCESSOR2: env.ENVIRONMENT === 'dev' ? env.PROCESSOR2_DEV : env.PROCESSOR2, | |
PROCESSOR3: env.ENVIRONMENT === 'dev' ? env.PROCESSOR3_DEV : env.PROCESSOR3, | |
PROCESSOR4: env.ENVIRONMENT === 'dev' ? env.PROCESSOR4_DEV : env.PROCESSOR4, |
This file contains 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
var ads = document.querySelectorAll('ins'); | |
ads.forEach(ad => { | |
const observer = new MutationObserver( mutations => | |
{ | |
// console.log(mutations); | |
mutations.forEach( record => | |
{ | |
if(record.type === 'attributes') | |
{ | |
const attrname = record.attributeName; |
NewerOlder