Skip to content

Instantly share code, notes, and snippets.

View gabriel-seb's full-sized avatar

Gabriel M. gabriel-seb

  • SEB - Sistema Educacional Brasileiro
  • Ribeirão Preto
View GitHub Profile
@gabriel-seb
gabriel-seb / placa.php
Last active August 29, 2015 14:15 — forked from putyoe/placa.php
<?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",
// 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",
//DEPENDE DE jQuery, INSERIR ANTES
var width = $(this).width();
var height = $(this).height();
alert("Largura: " +width +"px X Altura:" +height +"px");
@gabriel-seb
gabriel-seb / header
Created August 8, 2013 18:24 — forked from gmuraoka/header
<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 :) -->