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"> | |
<title>Teste de Módulo Metaphone</title> | |
<!-- CSS: Alloy Bootstrap --> | |
<link href="http://cdn.alloyui.com/2.0.0/aui-css/css/bootstrap.min.css" rel="stylesheet"> | |
<!-- O loader do AUI fica em /js/aui/aui e os diversos modulos em /js/aui --> | |
<script charset="utf8" src="http://cdn.alloyui.com/2.0.0/aui/aui-min.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
/***************************** COPYRIGHT NOTICES *********************** | |
Some of this code is based on metaphone.c file, which can be found here: | |
http://www2.varzeapaulista.sp.gov.br/metaphone/ | |
The metaphone port is authored by Carlos Costa Jordao <carlosjordao@gmail.com> | |
and is covered under this copyright: | |
Copyright 2014, Carlos Costa Jordao <carlosjordao@gmail.com>. | |
All rights reserved. |
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 model.entity; | |
import javax.persistence.Entity; | |
import javax.persistence.EntityListeners; | |
import javax.persistence.Id; | |
@Entity @EntityListeners(MyListener.class) | |
public class MyEntityWithListener { | |
@Id | |
private long id; |
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
importPackage(com.change_vision.jude.api.inf.model); | |
var classes = astah.findElements(IClass); | |
var rowData = []; | |
for(var i in classes) { | |
var clazz = classes[i]; | |
rowData.push(clazz.getName()); | |
// rowData.push(clazz.getOwner().getName()); | |
rowData.push(clazz.getDefinition()); | |
println(clazz); |
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.cepel.xml; | |
import java.util.List; | |
import javax.xml.bind.annotation.XmlRootElement; | |
import br.cepel.data.Plant; | |
import br.cepel.data.Queue; | |
@XmlRootElement |
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
{ font-size:100%; } | |
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 http = require('http'); | |
var path = require('path'); | |
var fs = require('fs'); | |
var mimeTypes = { | |
'.js' : 'text/javascript', | |
'.html' : 'text/html', | |
'.css' : 'text/css' | |
}; |
NewerOlder