- Logradouro
- Tipo de Logradouro (Rua, Avenida, Alameda)
- CEP
- Bairro
- Complemento
- Cidade (campo aberto)
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
<?php | |
$matches = []; | |
$rfid = "EPC: e2003532b5071f30b520687c RSSI: -58 PC: 3000 CRC: 808C TID: # 0"; | |
preg_match("/^([0-9A-Z]+) *: +(?P<codigo>[a-zA-Z0-9]+)/", $rfid, $matches, PREG_OFFSET_CAPTURE); | |
echo "<pre>"; | |
var_dump($matches["codigo"][0]); | |
echo "</pre>"; | |
?> |
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
function formatNumber(valor, places) { | |
places = +places || 0; | |
if (typeof valor == 'undefined' || valor == null) return ''; | |
valor = +valor; | |
if (isNaN(valor)) return '--'; | |
var milhar = ''; |
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
STAGED_FILES=$(git diff --cached --name-only --diff-filter=ACM | grep ".jsx\{0,1\}$") | |
ESLINT="$(git rev-parse --show-toplevel)/node_modules/.bin/eslint" | |
if [[ "$STAGED_FILES" = "" ]]; then | |
exit 0 | |
fi | |
if [ `git rev-parse --abbrev-ref HEAD` == "dev" ]; then | |
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
[ | |
{ | |
"nome": "CAMINHÃO", | |
"nomes": [ | |
"CAMINHÃO" | |
], | |
"totalEixos": 2, | |
"comprimentoMaximo": 14, | |
"pbt": 12, | |
"codigo": 120, |
Github?
- https://opensource.guide/ - Guia do Open Source
- https://github.com/fffaraz/awesome-github - Awesome Github, tudo sobre github
- https://github.com/sindresorhus/awesome - Awesome Awesome, lista de listas de coisas top!
ta… e git?
- https://rogerdudler.github.io/git-guide/ - Guia em Git
Comunidade em MT?
- http://devmt.herokuapp.com - Entrar no slack da comunidade
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
/* | |
/ \ | |
FELIZ / _ \ | |
PASCOA | / \ | | |
|| || _______ | |
|| || |\ \ | |
|| || ||\ \ | |
|| || || \ | |