text:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="de" sourcelanguage="en_US">
<context>
    <name>AttachmentView</name>
    <message>
        <location filename="../mikidown/attachment.py" line="86"/>
        <source>Insert into note</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/attachment.py" line="87"/>
        <source>Delete</source>
        <translation type="unfinished"></translation>
    </message>
</context>
<context>
    <name>FindReplaceDialog</name>
    <message>
        <location filename="../mikidown/findreplacedialog.py" line="13"/>
        <source>Match case</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/findreplacedialog.py" line="14"/>
        <source>Whole words</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/findreplacedialog.py" line="15"/>
        <source>Regex</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/findreplacedialog.py" line="17"/>
        <source>Next</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/findreplacedialog.py" line="18"/>
        <source>Previous</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/findreplacedialog.py" line="31"/>
        <source>Replace</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/findreplacedialog.py" line="20"/>
        <source>Replace All</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/findreplacedialog.py" line="29"/>
        <source>Search</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/findreplacedialog.py" line="30"/>
        <source>    Options</source>
        <translation type="unfinished"></translation>
    </message>
</context>
<context>
    <name>MikiEdit</name>
    <message>
        <location filename="../mikidown/mikiedit.py" line="197"/>
        <source>Insert attachment</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiedit.py" line="288"/>
        <source>Export to HTML</source>
        <translation type="unfinished"></translation>
    </message>
</context>
<context>
    <name>MikiTree</name>
    <message>
        <location filename="../mikidown/mikitree.py" line="120"/>
        <source>New Page...</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikitree.py" line="121"/>
        <source>New Subpage...</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikitree.py" line="123"/>
        <source>Collapse This Note Tree</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikitree.py" line="125"/>
        <source>Uncollapse This Note Tree</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikitree.py" line="127"/>
        <source>Collapse All</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikitree.py" line="128"/>
        <source>Uncollapse All</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikitree.py" line="130"/>
        <source>Rename Page...</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikitree.py" line="131"/>
        <source>Delete Page</source>
        <translation type="unfinished"></translation>
    </message>
</context>
<context>
    <name>MikiWindow</name>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="56"/>
        <source>Recently Viewed</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="62"/>
        <source>Index</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="63"/>
        <source>Search</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="67"/>
        <source>TOC</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="69"/>
        <source>Attachment</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="73"/>
        <source>notesEdit</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="77"/>
        <source>Find</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="80"/>
        <source>Match case</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="112"/>
        <source>Switch to Index Tab</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="112"/>
        <source>Ctrl+Shift+I</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="114"/>
        <source>Switch to Search Tab</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="114"/>
        <source>Ctrl+Shift+F</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="121"/>
        <source>&New Page...</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="125"/>
        <source>New Sub&page...</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="125"/>
        <source>Ctrl+Shift+N</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="129"/>
        <source>&Import Page...</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="132"/>
        <source>Notebook Set&tings...</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="135"/>
        <source>&Mikidown Settings...</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="138"/>
        <source>&Open Notebook...</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="142"/>
        <source>Re-index</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="145"/>
        <source>&Save</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="150"/>
        <source>Save &As...</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="154"/>
        <source>to &HTML</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="157"/>
        <source>&Print</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="161"/>
        <source>&Rename Page...</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="165"/>
        <source>&Delete Page</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="169"/>
        <source>&Quit</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="174"/>
        <source>&Undo</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="180"/>
        <source>&Redo</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="186"/>
        <source>&Find Text</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="190"/>
        <source>Find and Replace</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="194"/>
        <source>Next</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="198"/>
        <source>Previous</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="202"/>
        <source>&Sort Lines</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="205"/>
        <source>&Quick Open Note</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="205"/>
        <source>Ctrl+G</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="209"/>
        <source>&Insert Attachment</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="209"/>
        <source>Ctrl+I</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="217"/>
        <source>Edit</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="217"/>
        <source>Ctrl+E</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="217"/>
        <source>Edit mode (Ctrl+E)</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="221"/>
        <source>Split</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="221"/>
        <source>Ctrl+R</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="221"/>
        <source>Split mode (Ctrl+R)</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="225"/>
        <source>Flip Edit and View</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="238"/>
        <source>README</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="241"/>
        <source>Changelog</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="244"/>
        <source>About Qt</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="301"/>
        <source>&File</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="302"/>
        <source>&Edit</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="303"/>
        <source>&View</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="304"/>
        <source>&Help</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="317"/>
        <source>&Export</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="336"/>
        <source>Show/Hide</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="349"/>
        <source>toolbar</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="518"/>
        <source>Save as</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="554"/>
        <source>All files(*)</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikiwindow.py" line="554"/>
        <source>Import file</source>
        <translation type="unfinished"></translation>
    </message>
</context>
<context>
    <name>MikidownCfgDialog</name>
    <message>
        <location filename="../mikidown/mikibook.py" line="450"/>
        <source># of recently viewed notes to keep</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikibook.py" line="454"/>
        <source>Tabs expand to spaces?</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikibook.py" line="456"/>
        <source>Tab width</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikibook.py" line="458"/>
        <source>Icon Theme</source>
        <translation type="unfinished"></translation>
    </message>
</context>
<context>
    <name>NewNotebookDlg</name>
    <message>
        <location filename="../mikidown/mikibook.py" line="361"/>
        <source>Add Notebook - mikidown</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikibook.py" line="362"/>
        <source>Choose a name and folder for your notebook.</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikibook.py" line="362"/>
        <source>
The folder can be an existing notebook folder.</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikibook.py" line="365"/>
        <source>Notes</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikibook.py" line="366"/>
        <source>Name:</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikibook.py" line="371"/>
        <source>Path:</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikibook.py" line="373"/>
        <source>Browse</source>
        <translation type="unfinished"></translation>
    </message>
</context>
<context>
    <name>NotebookListDialog</name>
    <message>
        <location filename="../mikidown/mikibook.py" line="263"/>
        <source>Add</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikibook.py" line="264"/>
        <source>Remove</source>
        <translation type="unfinished"></translation>
    </message>
</context>
<context>
    <name>NotebookSettingsDialog</name>
    <message>
        <location filename="../mikidown/mikibook.py" line="118"/>
        <source>Edit Settings for this extension</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikibook.py" line="146"/>
        <source>Markdown extensions</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikibook.py" line="151"/>
        <source>MathJax Location</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikibook.py" line="156"/>
        <source>Note file extension</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikibook.py" line="157"/>
        <source>Image file extension</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <location filename="../mikidown/mikibook.py" line="158"/>
        <source>Document file extension</source>
        <translation type="unfinished"></translation>
    </message>
</context>
</TS>


text:
MIME-Version: 1.0
Server: CERN/3.0
Date: Wednesday, 15-Jan-97 01:49:40 GMT
Content-Type: text/html
Content-Length: 5697
Last-Modified: Tuesday, 19-Nov-96 03:04:35 GMT

<title>
Paul A.G. Sivilotti (Resume)
</title>

Paul A.G. Sivilotti

Caltech 256-80

Pasadena, CA 91125

(818) 395-6230

paolo@cs.caltech.edu

http://www.cs.caltech.edu/~paolo

Education

 Expected June 1997

	Ph.D. Computer Science

	California Institute of Technology

	Thesis Topic: Correctness of Distributed Object Computations

	Advisor: K. Mani Chandy

 June 1993

	M.S. Computer Science

	California Institute of Technology

	Thesis Title: A Verified Integration of Imperative Parallel
		Programming Paradigms in an Object-Oriented Language

 April 1991

	B.Sc.H. Computing Science, Mathematics, and Biochemistry

	Queen's University

	Kingston, Ontario, Canada

Awards

	1995-97   IBM Computer Science Fellowship

	1996      Best Paper Award in High Performance Distributed
		    Computing Software

	1991-95   NSERC '67 Science and Engineering Fellowship

		    (fewer than 50 awarded in Canada)

	1991	  Prince of Wales Prize (Hon. Mention)

		    (top graduating student in Faculty of Arts and Science)

	1991	  Medal in Computer Science

		    (top graduating student in Department of Computer Science)

	1991	  Arts and Science Undergraduate Scholarship

		    (contribution to university community and academic excellence)

	1990	  NSERC Summer Research Fellowship

	1990	  Digital Equipment of Canada Award of Excellence

		    (top junior student in Departments of Computing Science and EE)

	1990	  Alumni Advisory Award

	1988-90   Mel Williamson Foundation Award

	1987-91	  Dean's Honour List (4 years)

	1987-90   James and Margaret Daley Scholarship

	1987-89   Queen's Tricolour Scholarship

Classes

 1994-present

	Classes toward Engineering Management Certificate

	Industrial Relations Center, California Institute of Technology

Research Interests

 Distributed object computing

 Interface and specification languages

 Formal methods of program development

 Parallel computing

Refereed Publications

	"A World-Wide Distributed System Using Java and the Internet",
K. Mani Chandy, Adam Rifkin, Paolo A.G. Sivilotti, Jacob Mandelson,
Matt Richardson, Wesley Tanaka, and Luke Weisman.
Proceedings of the 5th IEEE International Symposium on High
Performance Distributed Computing (HPDC '96), p.11-18, Syracuse,
Aug 9-11, 1996.
(won Best Paper Award)

	"Toward High Confidence Distributed Systems with Java:
Reliable Thread Libraries",
Paolo A.G. Sivilotti and K. Mani Chandy.
Proceedings of the 11th International Conference on Systems Engineering
(ICSE '96), p.194-199, Las Vegas,
July 9-11, 1996.

	"A Verified Integration of Parallel Programming Paradigms in CC++",
Paolo A.G. Sivilotti.
Proceedings of the 8th IEEE International Parallel Processing Symposium
(IPPS '94), p.44-50, Cancun, Mexico,
April 26-29, 1994.

Research Notes

       "Composing Processes Using Modified Rely-Guarantee Specifications",
Rajit Manohar and Paolo A.G. Sivilotti,
Technical Report, Caltech CS-TR-96-22, June 1996.

       "Reliable Synchronization Primitives for Java Threads",
Paolo A.G. Sivilotti and K. Mani Chandy.
Technical Report, Caltech CS-TR-96-11, June 1996.

	"A Tutorial for CC++",
Paolo A.G. Sivilotti and Peter A. Carlin.
Technical Report, Caltech CS-TR-94-02, and CRPC-94391, 1994.

	"A Verified Integration of Imperative Parallel Programming
Paradigms in an Object-Oriented Language", Paolo A.G. Sivilotti.
Master's Thesis, Technical Report, Caltech CS-TR-93-21,
and CRPC-94-03, June 1993.

Work Experience

IBM Summer Research Internship, T.J. Watson Research Center, 	Summer 1995.

Teaching Assistant, California Institute of Technology

		Algorithms (CS138), Mani Chandy, 1995-96.

		Programming Paradigms (CS140), Beverly Sanders, 1994-95.

		Information Theory (CS/EE 129), Yaser Abu-Mostafa, 1992-93.

Research Assistant, Canadian Communications Research Center, Summer 1991.

References

References are available upon request.

<ADDRESS>
<!WA0>
<!WA1>

<!WA2>Paul Sivilotti

<!WA3>Computer Science Department

<!WA4>California Institute of Technology, Pasadena, CA 91125.
</ADDRESS>

redpajama_set_name: RedPajamaGithub


text:
module ActiveFactory
  module Generators #:nodoc:
    class InstallGenerator < Rails::Generators::Base #:nodoc:
      source_root File.expand_path('../templates', __FILE__)

      def define_factories_file
        copy_file "define_factories.rb", "spec/define_factories.rb"
      end

      def active_factory_file
        copy_file "active_factory.rb", "spec/support/active_factory.rb"
      end
    end
  end
end


text:
package io.opentelemetry.context;

import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.TimeUnit;
import org.openjdk.jmh.annotations.Benchmark;
import org.openjdk.jmh.annotations.Fork;
import org.openjdk.jmh.annotations.Measurement;
import org.openjdk.jmh.annotations.OutputTimeUnit;
import org.openjdk.jmh.annotations.Param;
import org.openjdk.jmh.annotations.Scope;
import org.openjdk.jmh.annotations.Setup;
import org.openjdk.jmh.annotations.State;
import org.openjdk.jmh.annotations.Threads;
import org.openjdk.jmh.annotations.Warmup;
import org.openjdk.jmh.infra.Blackhole;

@Threads(value = 1)
@Fork(3)
@Warmup(iterations = 10, time = 1)
@Measurement(iterations = 5, time = 1)
@OutputTimeUnit(TimeUnit.MILLISECONDS)
@State(Scope.Benchmark)
public class ContextBenchmark {

  @Param({"2", "3", "4", "5", "10", "20", "40"})
  private int size;

  private int middle;

  private List<ContextKey<String>> keys;
  private Context context = Context.root();

  @Setup
  public void setup() {
    keys = new ArrayList<>();
    for (int i = 0; i < size; i++) {
      ContextKey<String> key = ContextKey.named(Integer.toString(i));
      context = context.with(key, "value");
      keys.add(key);
    }
    middle = size / 2;
  }

  @Benchmark
  public String readFirst() {
    return context.get(keys.get(0));
  }

  @Benchmark
  public String readLast() {
    return context.get(keys.get(size - 1));
  }

  @Benchmark
  public String readMiddle() {
    return context.get(keys.get(middle));
  }

  @Benchmark
  public void readAll(Blackhole bh) {
    for (int i = 0; i < size; i++) {
      bh.consume(context.get(keys.get(i)));
    }
  }

  @Benchmark
  public Context writeOne() {
    return Context.root().with(keys.get(0), "value");
  }

  @Benchmark
  public Context writeAll() {
    Context context = Context.root();
    for (int i = 0; i < size; i++) {
      context = context.with(keys.get(i), "value");
    }
    return context;
  }
}


text:
<html>
    <head>
        <title>Exemplo com SockJS</title>
        <script src="//cdn.jsdelivr.net/sockjs/0.3.4/sockjs.min.js"></script>
        <meta charset="UTF-8">
    </head>
    <body>
        <script>
            var sock = new SockJS('http://localhost:8080/app');
            sock.onopen = function () {
                console.log('socket aberto.');
            };
            sock.onmessage = function (e) {
                console.log('mensagem', e.data);
//                alert('mensagem recebida do servidor: ' + e.data);
            };
            sock.onclose = function () {
                console.log('socket fechado.');
            };

            function enviar(mensagem) {
                if (sock.readyState === SockJS.OPEN) {
                    console.log("enviando mensagem...");
                    sock.send(mensagem);
                    console.log("mensagem enviada.");
                } else {
                    console.log("O socket não está aberto.");
                }
            }
        </script>
        <form onsubmit="return false;">
            <input type="text" name="mensagem" value="Olá, Java Magazine!"/>
            <input type="button" value="Enviar mensagem" onclick="enviar(this.form.mensagem.value)"/>
        </form>
    </body>
</html>


text:
package io.gravitee.gateway.reactor.impl;

import io.gravitee.gateway.reactor.Reactable;
import io.gravitee.gateway.reactor.handler.Entrypoint;
import java.util.Collections;
import java.util.List;
import java.util.Set;

/**
 * @author Guillaume CUSNIEUX (guillaume.cusnieux at graviteesource.com)
 * @author GraviteeSource Team
 */
public class ReactableWrapper<T> implements Reactable {

    private T content;

    public ReactableWrapper(T content) {
        this.content = content;
    }

    public T getContent() {
        return content;
    }

    @Override
    public boolean enabled() {
        return false;
    }

    @Override
    public <D> Set<D> dependencies(Class<D> type) {
        return Collections.emptySet();
    }

    @Override
    public List<Entrypoint> entrypoints() {
        return Collections.emptyList();
    }
}


text:
<?xml version="1.0" encoding="utf-8"?>
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
    android:previewImage="@mipmap/icon"
    android:initialLayout="@layout/widget"

    android:minWidth="250dp"
    android:minHeight="180dp"
    android:updatePeriodMillis="86400000"
    android:resizeMode="horizontal|vertical"
    android:widgetCategory="home_screen"
 />


text:
<html>
<head>
</head>
<body>
<script src="../client/sockjs-0.3.min.js"></script>
<script src="../client/livepush.js"></script>

<script type="text/javascript">
//console.log(LivePush.guid());
LivePush.connect("localhost:8080", "user388", ["visitor", "homepage"], {log: true});
//LivePush.connect("localhost:8080", "user388", ["test", "homepage2"], {log: true, user: 'nicky'});

LivePush.listen(function(data) {
    console.log(data);
});
</script>

</body>
</html>