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.example.android; | |
import com.thoughtworks.xstream.*; | |
import com.thoughtworks.xstream.io.*; | |
import com.thoughtworks.xstream.mapper.*; | |
import com.thoughtworks.xstream.converters.*; | |
import com.thoughtworks.xstream.converters.collections.*; | |
import java.util.*; |
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
PrimeFaces.widget.DataTable.prototype.bindSelectionEvents = function() { | |
this.cfg.rowSelectMode = this.cfg.rowSelectMode || "new"; | |
this.rowSelector = this.jqId | |
+ " tbody.ui-datatable-data > tr.ui-widget-content.ui-datatable-selectable"; | |
this.bindRadioEvents(); | |
if (this.isCheckboxSelectionEnabled()) { | |
this.bindCheckboxEvents(); |
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
//Definindo | |
@Embeddable | |
public class ExemploPK implements Serializable { | |
private static final long serialVersionUID = -4978349929535369754L; | |
public ExemploPK() { | |
} |
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
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System; | |
class Program | |
{ | |
static void Main() | |
{ | |
// Write a string array to a 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
string text = string.Empty; | |
using (StreamReader reader = new StreamReader(filePath, Encoding.UTF8)) | |
{ | |
text = reader.ReadToEnd(); | |
} |
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 interface Observavel{ | |
void adcionarObersavacao(Observacao observacao); | |
} | |
public class Observacao{ | |
@Column(name = "TX_OBSERVACAO") | |
private String observacao; | |
public Observacao(){} |
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.example.testchart; | |
import java.util.*; | |
import java.io.*; | |
import java.text.DateFormat; | |
import android.os.Bundle; | |
import android.app.Activity; | |
import android.util.Log; | |
import android.view.*; |
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
{"name":"SELIC","id":"537cb4efe4b0123641162024","values":[ | |
{"month":1230775200000, "value": 13.43}, | |
{"month":1233453600000, "value": 12.75}, | |
{"month":1235876400000, "value": 11.78}, | |
{"month":1238554800000, "value": 11.22}, | |
{"month":1241146800000, "value": 10.25}, | |
{"month":1243825200000, "value": 9.62}, | |
{"month":1246417200000, "value": 9.10}, | |
{"month":1249095600000, "value": 8.75}, | |
{"month":1251774000000, "value": 8.75}, |
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> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>Gráficos</title> | |
</head> | |
<body> |
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> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>Índices para os gráficos</title> | |
<link href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet"> | |
<style> | |
.centered{ |
OlderNewer