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
Criar o dockerfile abaixo | |
----------------------------------------------------------- | |
FROM ubuntu:latest | |
RUN apt-get update \ | |
&& apt-get install -y \ | |
&& apt-get install ssh -y \ | |
&& apt-get install mercurial -y \ | |
&& apt-get install git -y |
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
Open the file: /etc/environment | |
Append this line: GTK_IM_MODULE=cedilla QT_IM_MODULE=cedilla | |
Restart the computer. | |
https://askubuntu.com/questions/363115/how-to-type-latin-small-letter-c-with-cedilla |
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
alias ll='ls -lah -G' | |
alias gt='git status' | |
alias gd='git diff' | |
alias gb='git branch' | |
alias gla='git log --decorate --all --graph --stat' | |
alias gl='git log --decorate --graph --stat' | |
alias gf='git fetch --all' | |
export PATH="$(yarn global bin):$PATH" | |
export PATH=$PATH:/usr/local/go/bin |
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
# Version key/value should be on his own line | |
PACKAGE_VERSION=$(cat package.json \ | |
| grep version \ | |
| head -1 \ | |
| awk -F: '{ print $2 }' \ | |
| sed 's/[",]//g') | |
echo $PACKAGE_VERSION |
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
// http://blog.tompawlak.org/number-currency-formatting-javascript | |
// http://www.javascripter.net/faq/tofixed.htm | |
function _format(num) | |
{ | |
return num.toFixed(2).replace(".", ",").replace(/(\d)(?=(\d{3})+(?!\d))/g, "$1."); | |
} |