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
phausel@kola ~/workspace/akka | |
$ sbt package | |
[info] Building project akka 0.7-SNAPSHOT against Scala 2.7.7 | |
[info] using AkkaParent with sbt 0.7.1 and Scala 2.7.7 | |
[info] | |
[info] == akka-java-util / compile == | |
[info] Source analysis: 12 new/modified, 0 indirectly invalidated, 0 removed. | |
[info] Compiling main sources... | |
[error] Note: /Users/phausel/workspace/akka/akka-util-java/src/main/java/se/scalablesolutions/akka/config/ActiveObjectGuiceModule.java uses unchecked or unsafe operations. | |
[error] Note: Recompile with -Xlint:unchecked for details. |
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
// show cookies for current site - bookmarklet | |
javascript:(function(){x=window.open();x.document.write('%3Cht'+'ml%3E/r%3Che'+'ad%3E%3Ctitle%3EDisplay%20Cookies%3C/title%3E%3C/he'+'ad%3E%3Cbo'+'dy%3E');if%20(document.cookie%20==%20'')%20x.document.write('No%20Cookies%20Found');%20else%20{thisCookie%20=%20document.cookie.split(';%20');%20for%20(i=0;%20i%3CthisCookie.length;%20i++)%20{x.document.write(thisCookie[i]%20+%20'%3Cbr%20//%3E');}}x.document.write('%3C/bo'+'dy%3E%3C/ht'+'ml%3E');x.document.close();})() | |
//delete cookies for current site - bookmarklet | |
javascript:(function(){C=document.cookie.split("; ");for(d="."+location.host;d;d=(""+d).substr(1).match(/\..*$/))for(sl=0;sl<2;++sl)for(p="/"+location.pathname;p;p=p.substring(0,p.lastIndexOf('/')))for(i in C)if(c=C[i]){document.cookie=c+"; domain="+d.slice(sl)+"; path="+p.slice(1)+"/"+"; expires="+new Date((new Date).getTime()-1e11).toGMTString()}})() |
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
//scala DI API | |
object MyContainer extends Container with GuiceSupport with ServletSupport{ | |
configure(bind:BinderWrapper) { | |
val something = provide[Frog] { | |
if (Math.random() > .5) { | |
frogMan | |
} else weaselGirl | |
} | |
val onOff = bindTo[Heater] | |
val sensor = bindTo[Sensor] |
NewerOlder