start new:
tmux
start new with session name:
tmux new -s myname
| // Input: S = “2-5g-3-J”, K = 2 | |
| // Output: “2-5G-3J” | |
| // Input: S = “5F3Z-2e-9-w”, K = 4 | |
| // Output: “5F3Z-2E9W” | |
| function formater (chars, k) { | |
| console.log("chars", chars); | |
| console.log("k", k); | |
| chars = chars.replaceAll("-", "") |
| Geração de certificado SSL com o Let's Encrypt | |
| #1) Instalação | |
| sudo apt-get update | |
| sudo apt-get install software-properties-common | |
| sudo add-apt-repository ppa:certbot/certbot | |
| sudo apt-get update | |
| sudo apt-get install certbot | |
| #2) Geração de um novo certificado |
| // Execute: node spread-destructuring-rest-operator.js | |
| // #### Spread Operator #### | |
| const e1 = 'CODE'; | |
| const r1 = [...e1]; | |
| console.log('[01]', r1) | |
| // Output => [ 'C', 'O', 'D', 'E' ] | |
| const e2 = ['This', 'is', 'a', 'sentence']; | |
| console.log('[02]', ...e2); |
| [global_config] | |
| inactive_color_offset = 0.807692307692 | |
| suppress_multiple_term_dialog = True | |
| title_hide_sizetext = True | |
| [keybindings] | |
| [layouts] | |
| [[default]] | |
| [[[child1]]] | |
| command = "" | |
| directory = "" |
| # This is Git's per-user configuration file. | |
| [color] | |
| ui = auto | |
| status = auto | |
| diff = auto | |
| branch = auto | |
| interactive = auto | |
| [user] | |
| name = Jefferson Follmann | |
| email = [email protected] |
| Download do SmartClient: | |
| https://suporte.totvs.com/portal/p/10098/download#all/all/all/search/smartclient | |
| * Baixar versão: SMARTCLIENT VERSÃO 12 LINUX BUILD 13.2.3.38 | |
| Executar os seguintes passos (terminal): | |
| mkdir /totvs | |
| chmod 777 /totvs | |
| cd /totvs |
| 'use strict'; | |
| const internals = {}; | |
| exports.errors = { | |
| root: 'value', | |
| key: '"{{!key}}" ', | |
| messages: { | |
| wrapArrays: true | |
| }, |
As configured in my dotfiles.
start new:
tmux
start new with session name: