Skip to content

Instantly share code, notes, and snippets.

View milesegan's full-sized avatar
💭
/╲/\╭(ఠఠ益ఠఠ)╮/\╱\

Miles Egan milesegan

💭
/╲/\╭(ఠఠ益ఠఠ)╮/\╱\
View GitHub Profile
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._
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._
<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"/>
;; 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]))