Skip to content

Instantly share code, notes, and snippets.

@GustavoEmmel
GustavoEmmel / letsencrypt
Created September 28, 2020 19:34 — forked from jfollmann/letsencrypt
Geração de Certificado SSL com Let's Encrypt
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
@GustavoEmmel
GustavoEmmel / spread-destructuring-rest-operator.js
Created April 14, 2020 18:34 — forked from jfollmann/spread-destructuring-rest-operator.js
Spread, Destructuring and Rest Operator (Javascript)
// 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);
@GustavoEmmel
GustavoEmmel / terminator .config
Created July 18, 2019 20:00 — forked from jfollmann/terminator .config
Custom Layout terminator
[global_config]
inactive_color_offset = 0.807692307692
suppress_multiple_term_dialog = True
title_hide_sizetext = True
[keybindings]
[layouts]
[[default]]
[[[child1]]]
command = ""
directory = ""
@GustavoEmmel
GustavoEmmel / .gitconfig
Created July 11, 2019 12:51 — forked from jfollmann/.gitconfig
Git configuration file
# This is Git's per-user configuration file.
[color]
ui = auto
status = auto
diff = auto
branch = auto
interactive = auto
[user]
name = Jefferson Follmann
email = jeff.follmann@gmail.com
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
@GustavoEmmel
GustavoEmmel / language.js
Created March 19, 2019 20:01 — forked from rafakato/language.js
Joi pt-BR language
'use strict';
const internals = {};
exports.errors = {
root: 'value',
key: '"{{!key}}" ',
messages: {
wrapArrays: true
},
@GustavoEmmel
GustavoEmmel / tmux-cheatsheet.markdown
Created August 27, 2018 11:36 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name: