new FormGroup({
cpf: new FormControl('', [
Validators.required,
Validators.pattern(/^(\d{3}\.){2}\d{3}\-\d{2}$/),
Validators.minLength(14),
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
| { | |
| // Define o tema do VSCode | |
| "workbench.colorTheme": "Dracula", | |
| // Configura tamanho e família da fonte | |
| "editor.fontSize": 18, | |
| "editor.lineHeight": 24, | |
| "editor.fontFamily": "Fira Code", | |
| "editor.fontLigatures": true, | |
| "explorer.compactFolders": false, | |
| // Aplica linhas verticais para lembrar de quebrar linha em códigos muito grandes |
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
| <h1 class="shimmer">Some Shimmer Text</h1> | |
| <style> | |
| @import url('http://fonts.googleapis.com/css?family=Alegreya+Sans:300'); | |
| body{ | |
| background: #000; | |
| } | |
| .shimmer{ | |
| /* styling stuff */ | |
| font-family:"Alegreya Sans"; |
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
| // create a bookmark and use this code as the URL, you can now toggle the css on/off | |
| // thanks+credit: https://dev.to/gajus/my-favorite-css-hack-32g3 | |
| javascript: (function() { | |
| var elements = document.body.getElementsByTagName('*'); | |
| var items = []; | |
| for (var i = 0; i < elements.length; i++) { | |
| if (elements[i].innerHTML.indexOf('* { background:#000!important;color:#0f0!important;outline:solid #f00 1px!important; background-color: rgba(255,0,0,.2) !important; }') != -1) { | |
| items.push(elements[i]); | |
| } | |
| } |
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
| # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
| # ~/.bashrc: executed by bash(1) for non-login shells. | |
| # for examples | |
| # If not running interactively, don't do anything | |
| case $- in | |
| *i*) ;; | |
| *) return;; | |
| esac |
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
| tar -xvzf /path/to/yourfile.tgz -C /path/where/to/extract/ |
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
| cd ~/pgAdmin4/pgAdmin4/ | |
| source bin/activate | |
| python lib/python2.7/site-packages/pgadmin4/pgAdmin4.py | |
| // realizar dump | |
| sudo su - postgres | |
| pg_dump -U postgres postgres > bd2.bak |
grep "
sudo update-alternatives --set php /usr/bin/php5.6
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
| .iwd_opc_universal_wrapper.checkout-cep-loading:after { | |
| content: ""; | |
| width: 20px; | |
| height: 20px; | |
| animation: rotate 0.8s infinite linear; | |
| border: 3px solid #000; | |
| border-right-color: transparent; | |
| border-radius: 50%; | |
| display: block; | |
| z-index: 99999; |
NewerOlder