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
var pessoa = function (nome, sobrenome) { | |
var obj = {}; | |
obj.getNome = function () { | |
return nome; | |
}; | |
obj.getSobrenome = function () { | |
return sobrenome; |
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | |
"http://www.w3.org/TR/html4/loose.dtd"> | |
<html> | |
<head> | |
<title>Jasmine Spec Runner</title> | |
<link rel="stylesheet" type="text/css" href="lib/jasmine-1.3.0/jasmine.css"> | |
<script type="text/javascript" src="lib/jasmine-1.3.0/jasmine.js"></script> | |
<script type="text/javascript" src="lib/jasmine-1.3.0/jasmine-html.js"></script> |
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | |
"http://www.w3.org/TR/html4/loose.dtd"> | |
<html> | |
<head> | |
<title>Jasmine Spec Runner</title> | |
<link rel="stylesheet" type="text/css" href="lib/jasmine-1.3.0/jasmine.css"> | |
<script type="text/javascript" src="lib/jasmine-1.3.0/jasmine.js"></script> | |
<script type="text/javascript" src="lib/jasmine-1.3.0/jasmine-html.js"></script> |
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
var LinePositionControl = function (word, position) { | |
var YPosition = 180; | |
var marginRight = 980; | |
var coordinateXPosition = position; | |
this.currentPositionX = function () { |
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
<p:dataTable id="questionario" var="perg" | |
value="#{perguntas.listarCadastrarPerguntas}" paginator="true" rows="10" | |
emptyMessage="Nenhuma pergunta cadastrada."> | |
<p:column exportable="false"> | |
<f:facet name="output"> | |
<h:outputText value="Pergunta" /> | |
</f:facet> | |
<h:outputText value="#{perg.value}" /> | |
</p:column> |
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 com.hotel; | |
import java.util.regex.Matcher; | |
import java.util.regex.Pattern; | |
/** | |
* @author desireeSantos | |
* | |
*/ | |
public class Hotel { |
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 com.trailblazers.freewheelers.model; | |
import org.apache.commons.mail.EmailException; | |
import org.apache.commons.mail.HtmlEmail; | |
import static com.trailblazers.freewheelers.model.SetupMail.*; | |
public class SendFileInMail { |
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 com.trailblazers.freewheelers.model; | |
import com.itextpdf.text.Document; | |
import static org.mockito.Mockito.verify; | |
import com.itextpdf.text.pdf.PdfWriter; | |
import org.junit.Test; | |
import static org.mockito.Mockito.mock; | |
import static org.mockito.Mockito.when; |
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 com.trailblazers.freewheelers.model; | |
import com.itextpdf.text.Document; | |
import com.itextpdf.text.DocumentException; | |
import com.itextpdf.text.pdf.PdfWriter; | |
import java.io.FileNotFoundException; | |
import java.io.FileOutputStream; | |
import java.io.OutputStream; |
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
import freemarker.template.Configuration; | |
import freemarker.template.Template; | |
import freemarker.template.TemplateException; | |
import spark.Request; | |
import spark.Response; | |
import spark.Route; | |
import java.io.IOException; | |
import java.io.StringWriter; | |
import java.io.Writer; |
OlderNewer