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
Array | |
( | |
[address[inputNumber]] => 100 | |
[address[inputUf]] => Flórida | |
[recipeItems[fWLiznCB937T][lowcarb][food]] => Carrê suíno com arroz integral, lentilha e couve | |
[recipeItems[fWLiznCB937T][lowcarb][qty]] => 12 | |
[recipeItems[fWLiznCB937T][lowcarb][delivery]] => delivery_1 | |
[recipeItems[cWfTzSndhJ8u][lowcarb][food]] => Carrê suíno com arroz integral, lentilha e couve | |
[recipeItems[cWfTzSndhJ8u][lowcarb][qty]] => 9 | |
[recipeItems[cWfTzSndhJ8u][lowcarb][delivery]] => delivery_1 |
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
SELECT | |
(SELECT `id_linha` FROM `dados_linha` WHERE `id_pesquisa` = 83 ORDER BY `id_linha` LIMIT 1) as 'first', | |
(SELECT `id_linha` FROM `dados_linha` WHERE `id_pesquisa` = 83 ORDER BY `id_linha` DESC LIMIT 1) as 'last' |
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
## https://www.acate.com.br/associados/page/2/ < 100 | |
## | |
$client = new \Goutte\Client(); | |
$result = []; | |
for ($i = 1; $i <= 2; $i++) | |
{ | |
$crawler = $client->request("GET", "https://www.acate.com.br/associados/page/{$i}/"); | |
$nodeValues = $crawler->filter('body div.listing a')->each(function (Crawler $node, $i) { | |
// return $node->text(); | |
$result[] = $node->attr('href'); |
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
$(function() | |
{ | |
/* ############################################################################## | |
* ############################################################################## | |
#### CPF CNPJ USANDO O MESMO CAMPO COM MASKEDINPUT.JS ########################## | |
############################################################################## */ | |
$("#cpf, #cnpj").keyup(function(){ | |
if($(this).val().length <= 14) | |
$(this).val( mascara($(this).val(), '999.999.999-99') ); |
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
/** | |
* | |
* https://dartpad.dartlang.org/ | |
* | |
*/ | |
class Pessoa | |
{ | |
String nome; | |
int idade; | |
double altura; |
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).closest('div.escopo-pergunta').find('img').attr({ | |
src: 'https://sbcdados.com.br/painel/img/unchecked.png', | |
}); | |
$(this).attr({ | |
src: 'https://sbcdados.com.br/painel/img/checked.png', | |
}); |
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
arr = [ | |
[48, 683, 18110], | |
[48, 683, 18111], | |
[48, 683, 18109], | |
[48, 683, 18108], | |
[48, 683, 18113], | |
[48, 684, 18114], | |
[48, 685, 18115], | |
] |
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
let idpergunta_ = "" | |
let compactArray = [] | |
for(let i = 0; i < arr.length; i++) | |
{ | |
let idpergunta_ = arr[i].idpergunta; | |
if(idpergunta_ != undefined && idpergunta_ != null) | |
{ | |
if(idpergunta_ == idpergunta) | |
{ | |
console.log("Achei") |
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
<?php | |
setlocale(LC_ALL, 'pt_BR.UTF8'); | |
function toAscii($str, $options = array()) { | |
// Make sure string is in UTF-8 and strip invalid UTF-8 characters | |
$str = mb_convert_encoding((string)$str, 'UTF-8', mb_list_encodings()); | |
$defaults = array( |
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
$(document).on("change", "#VERACEL_CAD_EMP_ID", function(){ | |
$('#VERACEL_CAD_PESQUISADOR_ID option').each(function(index, val) { | |
console.log($(this).val()); | |
}); | |
}); | |
$("#VERACEL_CAD_EMP_ID").trigger("change"); |