Get it from the App Store.
In XCode's Preferences > Downloads you can install command line tools.
object ReqRspActor { | |
object ReqRspProtocol { | |
case class UnknownMessage(msg: String) extends Exception(msg) | |
case class FutureException(exception: Throwable) | |
} | |
object ResendOrNot extends Enumeration { | |
type ResendOrNot = Value | |
val Resend, DoNotResend = Value | |
} |
#!/bin/bash | |
# Slick Progress Bar | |
# Created by: Ian Brown ([email protected]) | |
# Please share with me your modifications | |
# Note: From http://stackoverflow.com/questions/11592583/bash-progress-bar | |
# Functions | |
PUT(){ echo -en "\033[${1};${2}H";} | |
DRAW(){ echo -en "\033%";echo -en "\033(0";} | |
WRITE(){ echo -en "\033(B";} | |
HIDECURSOR(){ echo -en "\033[?25l";} |
realm=Sonatype Nexus Repository Manager | |
host=nexus.company.com | |
user=admin | |
password=admin123 |
#!/bin/bash | |
BASE="/home/gerrit/review/git" | |
while [ "$1" != "" ]; do | |
case $1 in | |
--change) CHANGE=$2; shift;; | |
--project) PROJECT=$2; shift;; | |
--branch) BRANCH=$2; shift;; | |
--uploader) UPLOADER=$2; shift;; |
Version numbers should be the ones you want. Here I do it with the last ones available at the moment of writing.
The simplest way to install elixir is using your package manager. Sadly, at the time of writing only Fedora shows
the intention to keep its packages up to date. There you can simply sudo dnf install erlang elixir
and you are good to go.
Anyway, if you intend to work with several versions of erlang or elixir at the same time, or you are tied to
a specific version, you will need to compile it yourself. Then asdf
is your best friend.
package io | |
import scala.concurrent.duration.DurationInt | |
import scala.util.Success | |
import akka.actor.ActorRef | |
import akka.actor.ActorSystem | |
import akka.actor.FSM | |
import akka.actor.PoisonPill | |
import akka.actor.Props |
package controllers | |
import javax.inject._ | |
import play.api._ | |
import play.api.http.DefaultHttpFilters | |
import play.api.mvc._ | |
import play.api.Environment | |
import scala.concurrent.{ExecutionContext, Future} | |
import akka.stream.Materializer |