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
| -- phpMyAdmin SQL Dump | |
| -- version 4.5.1 | |
| -- http://www.phpmyadmin.net | |
| -- | |
| -- Host: 127.0.0.1 | |
| -- Generation Time: 30-Jun-2016 às 03:39 | |
| -- Versão do servidor: 10.1.8-MariaDB | |
| -- PHP Version: 5.6.14 | |
| SET FOREIGN_KEY_CHECKS=0; |
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
| DROP TRIGGER IF EXISTS `t_demissao`; | |
| DELIMITER $$ | |
| CREATE TRIGGER t_demissao BEFORE UPDATE | |
| ON user | |
| FOR EACH ROW | |
| BEGIN | |
| IF NEW.state = 'I' THEN | |
| SET NEW.resignation_date = NOW(); |
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
| DROP PROCEDURE IF EXISTS `registrar_usuario` ; | |
| DROP PROCEDURE IF EXISTS `registrar_endereco` ; | |
| DROP PROCEDURE IF EXISTS `registrar_revenda` ; | |
| DELIMITER $$ | |
| -- Procedure OK | |
| CREATE PROCEDURE registrar_endereco( | |
| IN stateName VARCHAR(64), | |
| IN stateInitials CHAR(2), |
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
| { | |
| "data":[ | |
| { | |
| "type":"all_types", | |
| "id":"ID", | |
| "attributes":{ | |
| "mBoolean":false, | |
| "mChar":71, | |
| "mDouble":15.256, | |
| "mFloat":15.255999565124512, |
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
| import android.support.v4.view.MenuItemCompat; | |
| import android.support.v7.app.AppCompatActivity; | |
| import android.os.Bundle; | |
| import android.support.v7.widget.Toolbar; | |
| import android.util.Log; | |
| import android.view.Menu; | |
| import android.widget.Toast; | |
| public class MainActivity extends AppCompatActivity { |
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
| import javax.xml.stream.XMLEventReader; | |
| import javax.xml.stream.XMLInputFactory; | |
| import javax.xml.stream.XMLStreamException; | |
| import javax.xml.stream.events.Attribute; | |
| import javax.xml.stream.events.Characters; | |
| import javax.xml.stream.events.XMLEvent; | |
| import java.io.*; | |
| import java.net.HttpURLConnection; | |
| import java.net.MalformedURLException; | |
| import java.net.URL; |
NewerOlder