Skip to content

Instantly share code, notes, and snippets.

View fnoquiq's full-sized avatar
🚀
Brazil

Gabriel Mesquita fnoquiq

🚀
Brazil
  • Divinópolis - MG
View GitHub Profile
@fnoquiq
fnoquiq / README.md
Created August 5, 2021 21:48
Git alias configuration
git config --global --edit
git config --global core.editor code
git config --global --edit

.gitconfig

[user]
	email = gabrielteixeiramesquita@gmail.com
@fnoquiq
fnoquiq / .conkyrc
Created June 18, 2021 16:39
Rig Conky Configuration
conky.config = {
update_interval = 1,
cpu_avg_samples = 2,
net_avg_samples = 2,
out_to_console = false,
override_utf8_locale = true,
double_buffer = true,
no_buffers = true,
text_buffer_size = 32768,
@fnoquiq
fnoquiq / Show all rows on table
Last active May 22, 2021 16:34
Dynamodb Scan Example
var params = {
TableName: 'users_certificates'
};
dynamodb.scan(params, onScan);
function onScan(err, data) {
if (err) {
console.error(err);
}else {
@fnoquiq
fnoquiq / gist:4fbf65d885ecf106d26dbd81b5743d2f
Created March 30, 2021 20:34 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@fnoquiq
fnoquiq / History|-1000e0e1|entries.json
Last active February 3, 2023 16:49
Extension Settings Sync for VSCode
{"version":1,"resource":"file:///home/gabriel/buzu/apps/api-core/src/modules/organizations/domain/use-cases/find-driver-to-add/find-driver-to-add.use-case.ts","entries":[{"id":"on9r.ts","source":"searchReplace.source","timestamp":1673530266210},{"id":"oeVw.ts","source":"searchReplace.source","timestamp":1673531344791}]}
{
"above": "The {{field}} should be above {{argument.0}}.",
"accepted": "The {{field}} should have been accepted",
"after": "The {{field}} should be a date after {{argument.0}}",
"after_offset_of": "The {{field}} should be after {{argument.0}} {{argument.1}} from today’s date",
"alpha": "The {{field}} should contain letters only",
"alpha_numeric": "The {{field}} should contain letters and numbers only",
"array": "The {{field}} should be an ARRAY.",
"before": "The {{field}} should be a date before {{argument.0}}.",
"before_offset_of": "The {{field}} should be before {{argument.0}} {{argument.1}} from today’s date",
@fnoquiq
fnoquiq / HUSKY-GUIDE.md
Last active April 3, 2020 03:15
Commit lint config

Commit lint configuration :emoji:

Instale as seguintes dependências:

yarn add -D husky @commitlint/{config-conventional,cli}

Feito isso, adicione ao package.json o seguinte comando:

"husky": {
@fnoquiq
fnoquiq / DEFAULT-GUIDE.md
Last active June 4, 2024 19:09
Adonis tutorial

AdonisJS

Instalando CLI do Adonis

Cole no terminal o seguinte comando para instalar a interface de linha de comando do Adonis:

npm install -g @adonisjs/cli

Criar um novo projeto

@fnoquiq
fnoquiq / JEST-GUIDE.md
Last active February 11, 2020 23:01
JEST Configuration

Configurando JEST (nodeJS)

Iniciando projeto NodeJS

yarn global add @rocketseat/omni

Após instalar o omni da rocketseat, execute omni init [pasta/nomeprojeto] --only=server para inicar um projeto básico do nodeJS

Dependências de desenvolvimento do JEST:

@fnoquiq
fnoquiq / brew-install-script.sh
Last active October 26, 2019 11:20
Brew script for installing packages and applications on OSX
#!/bin/sh
# Homebrew Script for OSX
# To execute: save and `chmod +x ./brew-install-script.sh` then `./brew-install-script.sh`
echo "Installing brew..."
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
echo "Installing brew cask..."
brew update