I'm in a hospital in Spain and my MacBook was stolen.
Now I bought a new one and need to configure it. I have an external hard drive that backup everything using Time Machine, but I don't want all the crap I had in the old one.
| import collection.mutable | |
| import org.specs2.mutable._ | |
| class ImplicitiSpec extends Specification { | |
| type Store=Map[String,String] | |
| object Value { | |
| val store = new mutable.HashMap[String,String] with mutable.SynchronizedMap[String,String] |
| import scalaz.Order | |
| import scalaz.syntax.order._ | |
| case class MyRange[A: Order](l: A, h: A){ | |
| def myMethod(b: MyRange[A]): MyRange[A] = { | |
| MyRange[A](l min b.l, h max b.h) | |
| } | |
| } | |
| object MyRange { |
| package puzzle | |
| import scalaz._ | |
| import Scalaz._ | |
| import scala.language.higherKinds | |
| /** | |
| * Created with IntelliJ IDEA. | |
| * User: evantill | |
| * Date: 11/06/13 |
| /** | |
| * Created with IntelliJ IDEA. | |
| * User: evantill | |
| * Date: 01/07/13 | |
| * Time: 12:22 | |
| * To change this template use File | Settings | File Templates. | |
| */ | |
| object PointBarre extends App { | |
| case class Point2D(x: Int, y: Int) { |
| trait SprayContribForRequestTransformer { | |
| object HttpRequestBuilderLens { | |
| val queryLens = new Lens[Uri, Query] { | |
| def get(c: Uri): Query = c.query | |
| def set(c: Uri)(f: Query): Uri = c.copy(query = f) | |
| } | |
| val uriLens = new Lens[HttpRequest, Uri] { |
| package scalaio | |
| import shapeless._, poly._ | |
| object list extends (Id ~> List) { | |
| def apply[T](t : T) = List(t) | |
| } | |
| object headOption extends (List ~> Option) { | |
| def apply[T](l : List[T]) = l.headOption |
| //scalaVersion := "2.10.3" | |
| object CompileError { | |
| import collection.immutable.Queue | |
| type IntQueue = Queue[Int] | |
| val IntQueue = Queue | |
| val q: IntQueue = IntQueue.empty[Int] | |
| def add(elem:Int):IntQueue = q.enqueue(elem) |
| var env = require('node-env-file'); | |
| var Github = require('github-api'); | |
| var Q = require('q'); | |
| env(__dirname + '/.env'); | |
| var github = new Github({ | |
| username: "evantill", | |
| password: process.env.GITHUB_PASSWORD, | |
| auth: "basic" |
I'm in a hospital in Spain and my MacBook was stolen.
Now I bought a new one and need to configure it. I have an external hard drive that backup everything using Time Machine, but I don't want all the crap I had in the old one.
| empty |