Não use UUID como PK nas tabelas do seu banco de dados.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
| # ~/.bashrc: executed by bash(1) for non-login shells. | |
| # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
| # for examples | |
| # If not running interactively, don't do anything | |
| [ -z "$PS1" ] && return | |
| # don't put duplicate lines or lines starting with space in the history. | |
| # See bash(1) for more options | |
| HISTCONTROL=ignoreboth |
This file contains hidden or 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 ~/.bashCopy 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:
NewerOlder