Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Thiago Ribeiro thiagovsk

🏠
Working from home
View GitHub Profile
View semantic-commit-messages.md

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

View techtalk.txt
- Primeira coisa a se fazer no git: Configurar o global user e global email
- Dia dia git, o que fazer quando ligo meu pc para trabalhar?
- Diferença entre merge e rebase? Pra que servem?
- https://blog.kitware.com/source/files/3_593278662_png
- https://www.atlassian.com/git/tutorials/merging-vs-rebasing/conceptual-overview
- Infinitos comandos git, logo um gitconfig pra facilitar as coisas.
- Comandos úteis (avançados...?)
- git branch -a
- git cherry-pick -x
- git commit -p
View passoapasso.txt
pra atualziar o changelog é
dch -m --team "New upstream release"
ou
gbp dch
para atualziar o upstream
gbp import-orig --pristine-tar --uscan
We couldn’t find that file to show.
View gist:802dc25f0462bb8c7dacbb67b97f985b
https://blog.trustbk.com/choosing-an-architecture-85750e1e5a03
https://github.com/zilverline/sequent
https://github.com/gregoryyoung/m-r
http://netcoders.com.br/implementando-o-design-pattern-repository-e-unit-of-work-com-entity-framework/
https://10consulting.com/2017/10/06/dealing-with-eventual-consistency/
@thiagovsk
thiagovsk / rails http status codes
Created Feb 4, 2019 — forked from mlanett/rails http status codes
HTTP status code symbols for Rails
View rails http status codes
HTTP status code symbols for Rails
Thanks to Cody Fauser for this list of HTTP responce codes and their Ruby on Rails symbol mappings.
Status Code Symbol
1xx Informational
100 :continue
101 :switching_protocols
102 :processing
@thiagovsk
thiagovsk / Dockerfile
Created Oct 15, 2018
ruby 2.5 with jemalloc
View Dockerfile
ROM buildpack-deps:stretch
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
bzip2 \
ca-certificates \
libffi-dev \
libgdbm3 \
libssl-dev \
libyaml-dev \
View produtos.csv
We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 1 column, instead of 2. in line 1.
CÛdigo do Produto Nome do Produto NCM CEST CFOP CSOSN COFINS PIS Origem Unidade PreÁo de Venda
900005253 #CART MASC 19081 CAFE 42023200 00.000.00 5102 101 4 4 2 - Importado UND R$ 34,62
900005219 #CART MASC 19081 PRETO 42023200 00.000.00 5102 101 4 4 2 - Importado UND R$ 34,62
900004953 #CART MASC 19089 CAFE 42023200 00.000.00 5102 101 4 4 2 - Importado UND R$ 64,12
900004919 #CART MASC 19089 PRETO 42023200 00.000.00 5102 101 4 4 2 - Importado UND R$ 64,12
901901553 #CARTEIRA PCOURO CAFE 42023200 00.000.00 5102 101 4 4 2 - Importado UND R$ 37,67
901906753 #CARTEIRA PCOURO CAFE 42023200 00.000.00 5102 101 4 4 2 - Importado UND R$ 50,09
901901519 #CARTEIRA PCOURO PRETO 42023200 00.000.00 5102 101 4 4 2 - Importado UND R$ 37,67
901906719 #CARTEIRA PCOURO PRETO 42023200 00.000.00 5102 101 4 4 2 - Importado UND R$ 50,09
226007001 &amp;BOLSA COURO XCBD60-070-01 42022100 00.000.00 5102 101 4 4 2 - Importado UND R$ 151,34
View gist:a69ed1de0a749e56d344
Dado o projeto principal no gitlab
e um projeto qualquer no github
1- criar uma chave ssh publica com usuario git aonde o gitlab está instalado.
$ su git
e depois seguir https://help.github.com/articles/generating-ssh-keys/
PS: Não adicionar passprhase
View gist:4e26d2bb5c897ae94777
eu
18:21
teste
ta escutando ?
caiu
criar outro opener
e instalar
opener_cookies
criar a jar antes
na hora de chamar o http_response passar a jar de cookie também