Skip to content

Instantly share code, notes, and snippets.

View imeredith's full-sized avatar

Ivan Meredith imeredith

View GitHub Profile
# defaults for jenkins continuous integration server
JENKINS_ARGS="-jnlpUrl http://test.lnc.jp:8080/computer/wock/slave-agent.jnlp"
# jenkins home location
JENKINS_HOME=/opt/jenkins-slave
# location of the jenkins war file
JENKINS_WAR=$JENKINS_HOME/slave.jar
# pulled in from the init script; makes things easier.
NAME=jenkins
@imeredith
imeredith / Applicative.scala
Created July 28, 2012 03:25 — forked from tonymorris/Applicative.scala
Applicative exercise
object Applicative {
// pick any monad, I have picked Option for you
type F[A] = Option[A]
// Applicative primitive given concrete
// AKA point, pure, return
def lift0[A](a: A): F[A] =
Some(a)
// Applicative primitive given concrete