Debug tools
debug(getEventListeners($0).click[0].listener)
| After create, run | |
| # sudo nano /etc/systemd/system/upload-watch.service | |
| # sudo systemctl daemon-reload | |
| # sudo systemctl enable upload-watch | |
| # sudo systemctl start upload-watch | |
| # sudo systemctl status upload-watch | |
| ## Please modify 'santosl2c' to your correct user |
| import http, { type Agent, type AgentOptions } from 'node:http'; | |
| import https from 'node:https'; | |
| // Lembre-se de instalar o pacote abaixo | |
| import CacheableLookup from 'cacheable-lookup'; | |
| import axios from 'axios'; | |
| const createCacheableLookup = () => | |
| new CacheableLookup({ | |
| maxTtl: 120, |
| if (!window.decodeBackStanza) { | |
| window.decodeBackStanza = require("WAWap").decodeStanza; | |
| window.encodeBackStanza = require("WAWap").encodeStanza; | |
| } | |
| require("WAWap").decodeStanza = async (e, t) => { | |
| const result = await window.decodeBackStanza(e, t); |
| #!/bin/bash | |
| ## // ## // ## // ## // ## // ## // ## // ## //## // ## // ## // ## // ## // ## // ## // ## // ## | |
| ## SOCIOS DIGITALES PRO ## | |
| ## // ## // ## // ## // ## // ## // ## // ## //## // ## // ## // ## // ## // ## // ## // ## // ## | |
| versao() { | |
| echo -e " \e[97mVersión de Socios Digitales: \e[32mv. 1.0.0\e[0m " | |
| } |
| // --- Initialization --- | |
| // Ensure the original functions are stored so we can call them | |
| if (!window.originalDecodeStanza) { | |
| window.originalDecodeStanza = require("WAWap").decodeStanza; | |
| window.originalEncodeStanza = require("WAWap").encodeStanza; | |
| } | |
| /** | |
| * Recursively walks through an object or array and decodes any Uint8Array | |
| * placeholders it finds into JSON objects. |
| <!DOCTYPE html> | |
| <html lang="pt-br"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <title>Formulário de Leads</title> | |
| <link rel="preconnect" href="https://fonts.googleapis.com" /> | |
| <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> | |
| <link |
| .monaco-workbench .part.editor>.content .editor-group-container>.title div.tabs-container { | |
| margin-block: 0.2rem; | |
| } | |
| .monaco-workbench .part.editor>.content .editor-group-container>.title div.tabs-container>.tab { | |
| border-radius: 8px; | |
| margin-right: 0.1rem; | |
| margin-left: 0.1rem; | |
| } |
| class Formatters { | |
| static hour(value: string) { | |
| if (!value) return value | |
| const formatter = value | |
| .replace(/\D/g, '') | |
| .replace(/(\d{2})(\d)/, '$1:$2') | |
| .replace(/(\d{2}):(\d{2}).+/, '$1:$2') | |
| return formatter |