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 | |
| // Desenvolvido Para fins EDUCATIVOS. | |
| // Criado em 12/11/2014 | |
| // Contato: putyoe@hotmail.com | |
| $placa = ''; | |
| $request = '<?xml version="1.0" encoding="utf-8" standalone="yes" ?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ><soap:Header><dispositivo>GT-S1312L</dispositivo><nomeSO>Android</nomeSO><versaoAplicativo>1.1.1</versaoAplicativo><versaoSO>4.1.4</versaoSO><aplicativo>aplicativo</aplicativo><ip>177.206.169.90</ip><token>5021719229f7ddad0c786542da534ad0375f021f</token><latitude>-3.6770324</latitude><longitude>-38.6791411</longitude></soap:Header><soap:Body><webs:getStatus xmlns:webs="http://soap.ws.placa.service.sinesp.serpro.gov.br/"><placa>'.$placa.'</placa></webs:getStatus></soap:Body></soap:Envelope>'; | |
| $header = array( | |
| "Content-type: application/x-www-form-urlencoded; charset=UTF-8", |
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
| // Simple script that exports a users "Saved For Later" list out of Feedly | |
| // as a JSON string. | |
| // | |
| // This was intended for use in the Google Chrome's "Inspector" tool so your | |
| // mileage may vary if used in other contexts. | |
| // | |
| // Format of JSON is as follows: | |
| // [ | |
| // { | |
| // title: "Title", |
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
| //DEPENDE DE jQuery, INSERIR ANTES | |
| var width = $(this).width(); | |
| var height = $(this).height(); | |
| alert("Largura: " +width +"px X Altura:" +height +"px"); |
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
| <base href="URLBASE" /><!-- Define a URL base --> | |
| <meta http-equiv='CACHE-CONTROL' content='NO-CACHE'><!-- Desativa o cache do navegador --> | |
| <meta http-equiv='PRAGMA' content='NO-CACHE'><!-- Desativa o cache do navegador --> | |
| <meta name='viewport' content='width=device-width, minimum-scale=1.0, maximum-scale=1.0' /><!-- Desativa o zoom em dispositivos moveis e define como largura padrão a largura do dispositivo --> | |
| <meta http-equiv='Content-Type' content='text/html; charset=UTF-8' /><!-- Define Charset para UTF8(útil para idiomas como o portugues :) --> |