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
| { | |
| "+Burpsuite": { | |
| "bypassList": [ | |
| { | |
| "conditionType": "BypassCondition", | |
| "pattern": "127.0.0.1" | |
| }, | |
| { | |
| "conditionType": "BypassCondition", | |
| "pattern": "[::1]" |
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
| class Chatbot { | |
| constructor() { | |
| this.rules = { | |
| hola: () => "Hola, pideme lo que quieras :D", | |
| adios: () => "Bye bye, espero hablemos de nuevo pronto <3", | |
| ayuda: () => | |
| "Puedo responder a saludos, despedidas y mostrar ayuda básica" | |
| }; | |
| } |
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
| /** | |
| * CHAPTER 4: REFLECTION (VANILLA JS) | |
| * | |
| * This pattern forces the agent to critique and refine its own output in a loop before showing the final answer to the user. It is used to catch hallucinations, logic errors, or safety violations that often occur in a "first draft" generation. | |
| * | |
| * The agent generates an initial output, explicitly critiques it | |
| * to identify flaws (bugs, tone, edge cases), and then generates | |
| * a refined version based on that self-correction. | |
| * | |
| * This improves robustness compared to a "zero-shot" generation. |
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 setup() { | |
| createCanvas(400, 400); | |
| } | |
| function draw() { | |
| background(232, 218, 239); | |
| } | |
| // organic is used to store the list of instances of Organic objects that we will create | |
| var organics = []; | |
| // The variable change stores the rate of rotation and the y coordinate for noise later |
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
| [ | |
| "REVWX0hPQU5HTE9ORy1WT1JURVgtQVBQMQ==", | |
| "REVWX0hPQU5HTE9ORy1WT1JURVgtQVBQMg==", | |
| "REVWX0hPQU5HTE9ORy1WT1JURVgtQVBQMw==", | |
| "REVWX0hPQU5HTE9ORy1WT1JURVgtQVBQNA==", | |
| "REVWX0hPQU5HTE9ORy1WT1JURVgtQVBQNQ==", | |
| "REVWX0hPQU5HTE9ORy1WT1JURVgtQVBQNg==", | |
| "REVWX0hPQU5HTE9ORy1WT1JURVgtQVBQNw==", | |
| "REVWX0hPQU5HTE9ORy1WT1JURVgtQVBQOA==", | |
| "REVWX0hPQU5HTE9ORy1WT1JURVgtQVBQOQ==", |
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
| if ('speechSynthesis' in window) { | |
| let utterance = new SpeechSynthesisUtterance(texto); | |
| utterance.lang = 'pt-BR'; | |
| utterance.rate = 1.2; | |
| window.speechSynthesis.speak(utterance); | |
| } else { | |
| console.log("Web Speech API não suportada neste navegador."); | |
| } |
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
| // 📂 Source: JavaScript | |
| case "aiedit": | |
| case "editimage": | |
| { | |
| if (!isPremium) return onlyPrem(); | |
| try { | |
| let q = m.quoted ? m.quoted : m; | |
| let mime = (q.msg || q).mimetype || ''; | |
| if (!/image/.test(mime)) return xreply(`Kirim atau kutip gambar dengan caption *${prefix + command} prompt*\n\nContoh: *${prefix + command} buat agar menggunakan topi*`); |
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 function () { | |
| // ========== CONFIGURE DATE RANGE HERE ========== | |
| const startDate = new Date("2025-01-01"); | |
| const endDate = new Date("2025-12-31T23:59:59"); | |
| // =============================================== | |
| const timePerPerson = {}; | |
| const logs = []; | |
| // Parse time string like "46 min", "1 hr 30 min", "2 hr" to minutes |
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 script automatically adds many domains to the hetzner sysmon via robot console. It is preconfigured to create an http check on port 443 with ssl enabled and no auth. | |
| Instructions: | |
| 1. Go to https://robot.hetzner.com/server | |
| 2. Open your server | |
| 3. Open "monitoring" tab | |
| 4. Click on "configured systems" to reveal the sysmon form (it should show a plus sign, checks list, etc) | |
| 5. Open devtools in your browser -> go to console | |
| 6. Make sure to select "System-Monitor" iframe context! the script won't run in the top page context | |
| 7. Modify "yourdomains" to add whatever domains you want |
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
| const CONFIG = { | |
| sheet_Retirement: "Retirement Plan", | |
| sheet_Spends: "Statement - Spends", | |
| sheet_Investment: "Investments", | |
| sheet_Assets: "Assets", | |
| sheet_Goals: "Savings Goals", | |
| sheet_Budget: "Budget & Expense", | |
| timezone: Session.getScriptTimeZone() | |
| }; |
NewerOlder