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 dao; | |
import java.io.Serializable; | |
import java.lang.reflect.ParameterizedType; | |
import java.util.List; | |
import javax.inject.Inject; | |
import javax.persistence.EntityManager; | |
import javax.persistence.Query; |
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
<script> | |
window.fbMessengerPlugins = window.fbMessengerPlugins || { | |
init: function () { | |
FB.init({ | |
appId : 'xxxxxxxxxxx', | |
autoLogAppEvents : true, | |
xfbml : true, | |
version : 'v2.10' | |
}); | |
}, callable: [] |
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
public JSONArray getJsonArray(String url) { | |
JSONArray jObj = null; | |
try { | |
String line, newjson = ""; | |
URL urls = new URL(url); | |
BufferedReader reader = new BufferedReader(new | |
InputStreamReader(urls.openStream(), "UTF-8")); | |
while ((line = reader.readLine()) != null) { | |
newjson += line; | |
} |
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
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>jamilsonjunior</groupId> | |
<artifactId>HelloWorld</artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<packaging>war</packaging> | |
<repositories> | |
<repository> | |
<id>prime-repo</id> |