Não use UUID
como PK nas tabelas do seu banco de dados.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This docker-compose file intent to create a multi-container application | |
# that runs a Jenkins container connected via TLS to a Docker-in-Docker (dind) container as Docker daemon. | |
# | |
# Advice about this approach can be found at: | |
# http://jpetazzo.github.io/2015/09/03/do-not-use-docker-in-docker-for-ci/ | |
# | |
# As well discussion about another alternatives on this setup can be found at: | |
# https://forums.docker.com/t/using-docker-in-a-dockerized-jenkins-container/322/11 | |
# | |
# Quick reference about Docker-in-Docker can be fount at: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# (1) use Alpine Linux for build stage | |
FROM alpine:3.11.3 as build | |
# (2) install build dependencies | |
RUN apk --no-cache add openjdk11 | |
RUN apk --no-cache add maven | |
# build JDK with less modules | |
RUN /usr/lib/jvm/default-jvm/bin/jlink \ | |
--compress=2 \ | |
--module-path /usr/lib/jvm/default-jvm/jmods \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How to keep git log and less output on the screen | |
http://serebrov.github.io/html/2014-01-04-git-log-and-less-keep-output.html | |
Just for git commands: | |
git config --global --replace-all core.pager "less -iXFR" | |
For less globally (including git) - add to .bashrc / .zshrc / etc: | |
export LESS=-iXFR | |
The options we set for less are: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Imagem Docker para rodar um firefox com o warsaw configurado para acesso a bancos brasileiros. | |
É uma boa opção para acessar bancos através de GNU/Linux. | |
Have a nice day. | |
More Info: | |
https://hub.docker.com/r/lichti/warsaw-browser/ | |
https://github.com/lichti/containers4docker/tree/master/warsaw-browser |
In Terminal
mkdir ~/.bash
Copy the raw git-prompt.sh
file from git contrib in to the ~/.bash
directory: https://github.com/git/git/blob/master/contrib/completion/git-prompt.sh
Inside ~/.bashrc
or ~/.bash_profile
(choose the file where you normally put any bash customizations/setup), add the lines:
The Github doesn't provide country code for Brazil (+55). To add this option, just run the code below in your console. The option Brazil +55
will be the first on the list, already selected:
🇧🇷 [pt-BR]
NewerOlder