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
/* | |
Hoje não deixaremos mais ninguém no vácuo no whatsapp | |
Para utilizar: | |
- Abra o web.whatsapp.com; | |
- Abra o console e cole o código que está no gist; | |
- Aguarde e verá uma mensagem sendo enviada a cada momento que alguém te enviar alguma mensagem. | |
Confira também como ser chato no whatsapp: https://gist.github.com/mathloureiro/4c74d60f051ed59650cc76d1da0d32da |
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
/* | |
Hoje iremos MUDAR a vida da pessoa que não te responde no whatsappp... | |
Que tal enviar mensagens pra ela até obter uma resposta?! | |
Sensacional não acha?! Mas, somos devs, correto?! Então vamos automatizar esse paranauê! | |
Para utilizar: | |
- Abra o web.whatsapp.com; | |
- Selecione a conversa que você quer; | |
- Abra o console e cole o código que está no gist; |
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 | |
$curl = curl_init(); | |
curl_setopt_array($curl, array( | |
CURLOPT_URL => "https://api.plugg.to/orders/%7Bidpedido%7D?access_token=ed6010f465cf45f29036826967ebff4490029dd9", | |
CURLOPT_RETURNTRANSFER => true, | |
CURLOPT_ENCODING => "", | |
CURLOPT_MAXREDIRS => 10, | |
CURLOPT_TIMEOUT => 30, |
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 | |
$curl = curl_init(); | |
curl_setopt_array($curl, array( | |
CURLOPT_URL => "https://api.plugg.to/orders?access_token=ed6010f465cf45f29036826967ebff4490029dd9", | |
CURLOPT_RETURNTRANSFER => true, | |
CURLOPT_ENCODING => "", | |
CURLOPT_MAXREDIRS => 10, | |
CURLOPT_TIMEOUT => 30, |
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 | |
$curl = curl_init(); | |
$accessToken = 'seuacessotokenaqui'; | |
curl_setopt_array($curl, array( | |
CURLOPT_URL => "http://api.plugg.to/orders?access_token={$accessToken}&limit=100&modified=2018-01-25to2018-01-26", | |
CURLOPT_RETURNTRANSFER => true, | |
CURLOPT_ENCODING => "", |
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 | |
$curl = curl_init(); | |
curl_setopt_array($curl, array( | |
CURLOPT_URL => "http://api.plugg.to/skus/7899790901863?access_token=06553601e7f45b030948639f9ae96edce7c111a0", | |
CURLOPT_RETURNTRANSFER => true, | |
CURLOPT_ENCODING => "", | |
CURLOPT_MAXREDIRS => 10, | |
CURLOPT_TIMEOUT => 30, |
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 include_once("../Connections/conexao.php"); ?> | |
<?php include_once("../Connections/acesso_professor.php"); ?> | |
<?php | |
//RETORNA O NOME DO ALUNO PARA MELHOR VISUALIZAÇÃO | |
$id = $_GET['id']; | |
$qrPega = mysql_query("SELECT * FROM table_aluno WHERE ID_ALUNO = '$id'"); | |
while($ln = mysql_fetch_assoc($qrPega)) | |
{ | |
$nome = $ln['NOME']; |
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
{ | |
"sku":"VS79A", | |
"name":"TENIS VIBE BUMPER", | |
"external":"VS79A", | |
"available":0, | |
"variations":[ | |
{ | |
"sku":"VS79A-37", | |
"ean":"7899792074879", | |
"name":"TENIS VIBE BUMPER" |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://138.36.105.114:8195/"> | |
<SOAP-ENV:Body> | |
<ns1:SETCLIENTE> | |
<ns1:WSEMPRESA>01</ns1:WSEMPRESA> | |
<ns1:WSFILIAL>01</ns1:WSFILIAL> | |
<ns1:WSLOGIN>WSACESSO</ns1:WSLOGIN> | |
<ns1:WSSENHA>WSACESSO</ns1:WSSENHA> |
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
ALTER TABLE `winners`.`lancamento_vendas` | |
ADD INDEX `fk_lancamento_vendas_1_idx` (`venda_id` ASC); | |
ALTER TABLE `winners`.`lancamento_vendas` | |
ADD CONSTRAINT `fk_lancamento_vendas_1` | |
FOREIGN KEY (`venda_id`) | |
REFERENCES `winners`.`vendas` (`id`) | |
ON DELETE NO ACTION | |
ON UPDATE NO ACTION; |