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
package br.com.biblioteca.conn; | |
import java.sql.Connection; | |
import java.sql.DriverManager; | |
public class ConexaoMysql { | |
private static String url = "jdbc:mysql://127.0.0.1/biblioteca"; | |
private static String user = "root"; | |
private static String password = ""; | |
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
package br.com.skel.api; | |
import java.util.ArrayList; | |
import javax.ws.rs.GET; | |
import javax.ws.rs.Path; | |
import javax.ws.rs.Produces; | |
import br.com.skel.dao.ClientDao; | |
import br.com.skel.pojo.ClientPojo; |
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"?> | |
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5"> | |
<display-name>skel</display-name> | |
<welcome-file-list> | |
<welcome-file>index.html</welcome-file> | |
<welcome-file>index.htm</welcome-file> | |
<welcome-file>index.jsp</welcome-file> | |
<welcome-file>default.html</welcome-file> | |
<welcome-file>default.htm</welcome-file> | |
<welcome-file>default.jsp</welcome-file> |
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 | |
/** | |
* Created by PhpStorm. | |
* User: ederlo | |
* Date: 25/09/15 | |
* Time: 22:39 | |
*/ | |
App::uses('AppModel', 'Model') |
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 | |
App::import('Helper', 'AppHelper'); | |
/** | |
* Created by PhpStorm. | |
* User: Ederlo Rodrigo de Oliveira | |
* Date: 14/12/15 | |
* Time: 13:52 | |
*/ | |
class CepHelper extends AppHelper |
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 | |
App::uses('Component', 'Controller'); | |
/** | |
* Created by PhpStorm. | |
* User: Ederlo Rodrigo de Oliveira | |
* Date: 14/12/15 | |
* Time: 09:49 | |
*/ | |
class LocateMeComponent extends Component | |
{ |
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 | |
App::uses('ModelBehavior', 'Model'); | |
/** | |
* Created by PhpStorm. | |
* User: Ederlo Rodrigo de Oliveira | |
* Date: 16/12/15 | |
* Time: 09:23 | |
*/ | |
class CepUtilBehavior extends ModelBehavior | |
{ |
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
<phpunit colors="true" bootstrap="vendor/autoload.php"> | |
<testsuites> | |
<testsuite name="Tdd"> | |
<directory suffix=".php">tests/</directory> | |
</testsuite> | |
</testsuites> | |
<filter> | |
<whitelist> | |
<directory suffix=".php">../src/</directory> |
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
git branch -D `git branch | grep 'master\|<other_branch>' -v` |
OlderNewer