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
import akka.stream._ | |
import akka.stream.scaladsl.{BroadcastHub, Flow, Keep, MergeHub, Sink, Source} | |
import akka.stream.stage.{GraphStageLogic, GraphStageWithMaterializedValue, InHandler, OutHandler} | |
import scala.collection.concurrent.TrieMap | |
sealed trait ChatEvent { | |
def room: String | |
} | |
case class ChatMessage(user: String, room: String, message: String) extends ChatEvent |
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
{ | |
"Ahuachapán": [ | |
"Ahuachapán", | |
"Jujutla", | |
"Atiquizaya", | |
"Concepción de Ataco", | |
"El Refugio", | |
"Guaymango", | |
"Apaneca", | |
"San Francisco Menéndez", |
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
[ | |
{ "state": "Ahuachapán", "city": "Ahuachapán" }, | |
{ "state": "Ahuachapán", "city": "Apaneca" }, | |
{ "state": "Ahuachapán", "city": "Atiquizaya" }, | |
{ "state": "Ahuachapán", "city": "Concepción de Ataco" }, | |
{ "state": "Ahuachapán", "city": "El Refugio" }, | |
{ "state": "Ahuachapán", "city": "Guaymango" }, | |
{ "state": "Ahuachapán", "city": "Jujutla" }, | |
{ "state": "Ahuachapán", "city": "San Francisco Menéndez" }, | |
{ "state": "Ahuachapán", "city": "San Lorenzo" }, |
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
<?xml version='1.0' encoding='UTF-8'?> | |
<countries> | |
<country code='af' handle='afghanistan' continent='asia' iso='4'>Afghanistan</country> | |
<country code='al' handle='albania' continent='europe' iso='8'>Albania</country> | |
<country code='dz' handle='algeria' continent='africa' iso='12'>Algeria</country> | |
<country code='as' handle='american-samoa' continent='polynesia' iso='16'>American Samoa</country> | |
<country code='ad' handle='andorra' continent='europe' iso='20'>Andorra</country> | |
<country code='ao' handle='angola' continent='africa' iso='24'>Angola</country> | |
<country code='ai' handle='anguilla' continent='north america' iso='660'>Anguilla</country> | |
<country code='aq' handle='antarctica' continent='antarctica' iso='10'>Antarctica</country> |
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
nombre | name | nom | iso2 | iso3 | phone_code | |
---|---|---|---|---|---|---|
Afganistán | Afghanistan | Afghanistan | AF | AFG | 93 | |
Albania | Albania | Albanie | AL | ALB | 355 | |
Alemania | Germany | Allemagne | DE | DEU | 49 | |
Algeria | Algeria | Algérie | DZ | DZA | 213 | |
Andorra | Andorra | Andorra | AD | AND | 376 | |
Angola | Angola | Angola | AO | AGO | 244 | |
Anguila | Anguilla | Anguilla | AI | AIA | 1 264 | |
Antártida | Antarctica | L'Antarctique | AQ | ATA | 672 | |
Antigua y Barbuda | Antigua and Barbuda | Antigua et Barbuda | AG | ATG | 1 268 |