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 org.scalatra.servlet | |
import javax.servlet.http.HttpSession | |
trait TestImplicits extends ServletApiImplicits { | |
override implicit def enrichSession(session: HttpSession): TestSerializationSession = | |
new TestSerializationSession(session) | |
} |
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 org.scalatra.servlet | |
import java.io.{NotSerializableException, OutputStream, ObjectOutputStream} | |
import javax.servlet.http.{HttpSessionAttributeListener, HttpSessionBindingEvent} | |
object NullOut extends OutputStream { | |
def write(b: Int) {} | |
} | |
object SessionSerializingListener extends HttpSessionAttributeListener { |
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
def unfold[Z: Zero](z:Z) = z == ∅[Z] !? z.some |
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
module Java::ScalaCollection::TraversableOnce | |
include Enumerable | |
def each(&f) | |
foreach(f) | |
end | |
# Cribbed from | |
# https://github.com/scala/scala/blob/v2.9.2/src/library/scala/collection/TraversableOnce.scala#L231 | |
def to_a |
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 janrain | |
class Foo extends Function0[Unit] { | |
def apply() { | |
println("Called FOO") | |
println(RedisSetup) | |
} | |
} |
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
resolvers += "Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/" | |
libraryDependencies += "com.typesafe.akka" % "akka-actor" % "2.0.3" |
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
# Maintainer: Leif Warner <[email protected]> | |
pkgname=idris | |
pkgver=0.9.5.1 | |
pkgrel=1 | |
pkgdesc="Functional Programming Language with Dependent Types" | |
url="http://hackage.haskell.org/package/${_hkgname}" | |
license=('custom:BSD3') | |
arch=('i686' 'x86_64') | |
makedepends=('ghc' 'haskell-cabal' 'haskell-binary' 'haskell-bytestring' 'haskell-containers' 'haskell-directory' 'haskell-filepath' 'haskell-haskeline' 'haskell-mtl' 'haskell-parsec' 'haskell-pretty' 'haskell-process' 'haskell-transformers') | |
depends=('gmp') |
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
Caused by: java.lang.NullPointerException: null | |
at scala.tools.nsc.Global.globalError(Global.scala:145) | |
at scala.tools.nsc.symtab.SymbolLoaders$SymbolLoader.complete(SymbolLoaders.scala:122) | |
at scala.tools.nsc.symtab.SymbolLoaders$SymbolLoader.complete(SymbolLoaders.scala:85) | |
at scala.tools.nsc.symtab.Symbols$Symbol.info(Symbols.scala:730) | |
at scala.tools.nsc.symtab.Definitions$definitions$.init(Definitions.scala:810) | |
at scala.tools.nsc.Global$Run.<init>(Global.scala:697) | |
at scala.tools.nsc.interactive.Global$TyperRun.<init>(Global.scala:1036) | |
at scala.tools.nsc.interactive.Global.newTyperRun(Global.scala:1059) | |
at scala.tools.nsc.interactive.Global.<init>(Global.scala:191) |
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
Successfully installed bundler-1.3.0 | |
1 gem installed | |
JRuby limited openssl loaded. http://jruby.org/openssl | |
gem install jruby-openssl for full support. | |
The source :rubygems is deprecated because HTTP requests are insecure. | |
Please change your source to 'https://rubygems.org' if possible, or 'http://rubygems.org' if not. | |
Unfortunately, a fatal error has occurred. Please see the Bundler | |
troubleshooting documentation at http://bit.ly/bundler-issues. Thanks! | |
LoadError: OpenSSL::SSL requires the jruby-openssl gem | |
(root) at /scratch/jenkins/workspace/engage-master/engage/jruby-1.6.7/lib/ruby/site_ruby/shared/jruby/openssl/autoloads/ssl.rb:8 |
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
class Hello { throw new Exception("broke") } |