server {
listen 443 ssl;
server_name yourdomain.com;
ssl_certificate /path/to/cert.crt;
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
| function slugify(string){ | |
| const a = 'àáäâãåăæąçćčđďèéěėëêęğǵḧìíïîįłḿǹńňñòóöôœøṕŕřßşśšșťțùúüûǘůűūųẃẍÿýźžż·/_,:;' | |
| const b = 'aaaaaaaaacccddeeeeeeegghiiiiilmnnnnooooooprrsssssttuuuuuuuuuwxyyzzz------' | |
| const p = new RegExp(a.split('').join('|'), 'g') | |
| return string.toString().toLowerCase() | |
| .replace(/á|à|ả|ạ|ã|ă|ắ|ằ|ẳ|ẵ|ặ|â|ấ|ầ|ẩ|ẫ|ậ/gi, 'a') | |
| .replace(/é|è|ẻ|ẽ|ẹ|ê|ế|ề|ể|ễ|ệ/gi, 'e') | |
| .replace(/i|í|ì|ỉ|ĩ|ị/gi, 'i') | |
| .replace(/ó|ò|ỏ|õ|ọ|ô|ố|ồ|ổ|ỗ|ộ|ơ|ớ|ờ|ở|ỡ|ợ/gi, 'o') | |
| .replace(/ú|ù|ủ|ũ|ụ|ư|ứ|ừ|ử|ữ|ự/gi, 'u') |
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
| (async () => { | |
| // ===== Utils ===== | |
| const sleep = (ms) => new Promise(r => setTimeout(r, ms)); | |
| const nowSlug = () => { | |
| const d = new Date(); | |
| const pad = n => String(n).padStart(2, '0'); | |
| return `${d.getFullYear()}-${pad(d.getMonth()+1)}-${pad(d.getDate())}_${pad(d.getHours())}-${pad(d.getMinutes())}-${pad(d.getSeconds())}`; | |
| }; | |
| const getDoctype = () => { | |
| const d = document.doctype; |
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
| function gpt_json_parse(gptResponse){ | |
| try { | |
| if(/^```json(.*)```/s.test(gptResponse)){ | |
| let m = gptResponse.match(/```json(.*)```/s) | |
| gptResponse = m[1] | |
| } | |
| return JSON.parse(gptResponse.replaceAll('\n','')) | |
| }catch(e){ | |
| console.log("Something went wrong, cannot parse JSON object") | |
| return gptResponse |
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
| <?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 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
| /* | |
| 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 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
| { | |
| "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 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
| 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 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
| // 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) { |
NewerOlder