EMR has components running on internal ip's such as ip-172-23-53-101.ec2.internal. To resolve to the implied public/vpn IP's, setup dnsmasq
$ brew install dnsmasq
package fpmax | |
import scala.util.Try | |
import scala.io.StdIn.readLine | |
object App0 { | |
def main: Unit = { | |
println("What is your name?") | |
val name = readLine() |
import cats.data.StateT | |
import cats.implicits._ | |
import scala.collection.JavaConverters._ | |
import scala.concurrent.{Await, Future} | |
import scala.concurrent.ExecutionContext.Implicits.global | |
import scala.concurrent.duration.Duration | |
import twitter4j._, twitter4j.conf.ConfigurationBuilder | |
object YourTweetsAreTooLong { | |
private type PagingState = (Long, Option[Long]) |
# set the command prefix to ` | |
set -g prefix "`" | |
unbind C-b | |
bind "`" send-prefix | |
# listen to alerts from all windows | |
set -g bell-action any | |
set -g default-shell /usr/local/bin/fish | |
set -g default-command fish |
// Create a new MergeStrategy for aop.xml files | |
val aopMerge: MergeStrategy = new MergeStrategy { | |
val name = "aopMerge" | |
import scala.xml._ | |
import scala.xml.dtd._ | |
def apply(tempDir: File, path: String, files: Seq[File]): Either[String, Seq[(File, String)]] = { | |
val dt = DocType("aspectj", PublicID("-//AspectJ//DTD//EN", "http://www.eclipse.org/aspectj/dtd/aspectj.dtd"), Nil) | |
val file = MergeStrategy.createMergeTarget(tempDir, path) |