This file contains 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 simple | |
import cats.data.{EitherT, OptionT} | |
import cats.implicits._ | |
import cats.effect._ | |
import io.circe.parser.decode | |
import io.circe.generic.auto._ | |
object SimpleEffect extends IOApp { | |
This file contains 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
# Install Scala 2.11.6 on CentOS 7 | |
export SCALA_VERSION=scala-2.11.6 | |
export SCALA_HOME=/opt/scala | |
echo "SCALA_HOME=${SCALA_HOME}" > /etc/profile.d/scala.sh | |
echo "export SCALA_HOME" >> /etc/profile.d/scala.sh | |
mkdir -p ${SCALA_HOME} && cd ${SCALA_HOME} |