Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| Make me one with everything. |
| package com.apptentive.profile.routes | |
| import java.util.UUID | |
| import java.util.UUID.fromString | |
| import akka.http.scaladsl.server.Directive1 | |
| import akka.http.scaladsl.server.Directives._ | |
| import com.apptentive.profile.routes.Paging._ | |
| import scala.util._ |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| import cats.implicits._ // IntelliJ thinks this is unused | |
| import cats.kernel.Semigroup | |
| object Main extends App { | |
| val f: (Int) => Int = Semigroup.combine((_: Int) + 1, (_: Int) * 10) | |
| println(s"f(6): ${f(6)}") | |
| } | |