sudo apt-get update
sudo apt install docker.io
sudo systemctl enable docker
sudo usermod -aG docker $USER
| #!/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 |
| ___INFO___ | |
| { | |
| "type": "MACRO", | |
| "id": "cvt_temp_public_id", | |
| "version": 1, | |
| "securityGroups": [], | |
| "displayName": "Conversor para Webhook | Matheus Filype", | |
| "description": "", | |
| "containerContexts": [ |
| const exportedColors = [{}]; | |
| const colorsTitle = document.querySelectorAll( | |
| "div.raw_components--modalPanel--NX71G.variable_picker_ui--modalPanel--X0bjl > div > div > div > div" | |
| ); | |
| Array.from(colorsTitle).map((el) => { | |
| const color = el.textContent; | |
| if (!color) return; |
| ## Carrega automaticamente o .nvmrc | |
| load-nvmrc() { | |
| local nvmrc_path | |
| nvmrc_path="$(nvm_find_nvmrc)" | |
| if [ -n "$nvmrc_path" ]; then | |
| local nvmrc_node_version | |
| nvmrc_node_version=$(nvm version "$(cat "${nvmrc_path}")") | |
| if [ "$nvmrc_node_version" = "N/A" ]; then |