This file contains hidden or 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 code.comet | |
import net.liftweb._ | |
import http._ | |
import actor._ | |
import js._ | |
import JsCmds._ | |
import js.jquery.JqJsCmds.{AppendHtml, FadeOut, Hide, FadeIn} | |
import java.util.Date | |
import scala.xml._ |
This file contains hidden or 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 code.comet | |
import net.liftweb._ | |
import http._ | |
import actor._ | |
import js._ | |
import JsCmds._ | |
import js.jquery.JqJsCmds.{AppendHtml, FadeOut, Hide, FadeIn} | |
import java.util.Date | |
import scala.xml._ |
This file contains hidden or 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
<lift:surround with="default" at="content"> | |
<lift:comet type="Chat"> | |
<h3>welcome to lift chat</h3> | |
<ul id="ul_dude"> | |
<chat:line></chat:line> | |
</ul> | |
<lift:form> | |
<chat:input/> | |
<input type="submit" value="chat"/> |
This file contains hidden or 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
;; to create the test file: | |
;; java slurptest.clj makewords 100 | |
;; | |
;; to run the test | |
;; java -Xmx3G -Xms3G clojure.main slurptest.clj slurp|slurp2 | |
(import '[java.io BufferedReader InputStreamReader]) | |
(ns slurptest | |
(:require [clojure.java.io :as jio])) |
NewerOlder