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
<entry> | |
<ent_seq>1467640</ent_seq> | |
<k_ele> | |
<keb>猫</keb> | |
<ke_pri>ichi1</ke_pri> | |
<ke_pri>news1</ke_pri> | |
<ke_pri>nf07</ke_pri> | |
</k_ele> | |
<r_ele> | |
<reb>ねこ</reb> |
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
{ | |
"ent_seq": 1467640, | |
"k_ele": { | |
"keb": "猫", | |
"ke_pri": [ | |
"ichi1", | |
"news1", | |
"nf07" | |
] | |
}, |
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 com.megafarad.jmdictapi | |
import com.mongodb.client.model.ReplaceOptions | |
import java.io.FileInputStream | |
import javax.xml.stream._ | |
import org.json._ | |
import org.mongodb.scala._ | |
import org.mongodb.scala.model.Filters |
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 com.megafarad.jmdictapi | |
import akka.actor._ | |
import akka.http.scaladsl.Http | |
import com.megafarad.jmdictapi.api.SearchRoutes | |
import com.typesafe.scalalogging.StrictLogging | |
import scala.concurrent.ExecutionContextExecutor | |
object Main extends App with ServerConfig with StrictLogging { | |
implicit val system: ActorSystem = ActorSystem() |
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
[ | |
{ | |
"ent_seq": 1467640, | |
"k_ele": [ | |
{ | |
"keb": "猫", | |
"ke_inf": null, | |
"ke_pri": [ | |
"ichi1", | |
"news1", |
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 com.megafarad.jmdictapi.importer | |
import akka.Done | |
import akka.actor.typed._ | |
import akka.actor.typed.scaladsl._ | |
import akka.http.scaladsl.Http | |
import akka.http.scaladsl.model.{HttpRequest, HttpResponse, Uri} | |
import akka.stream.{IOResult, Materializer} | |
import akka.stream.scaladsl.{FileIO, Sink, Source} | |
import com.megafarad.jmdictapi.model.Entry |
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 com.megafarad.jmdictapi | |
import akka.actor._ | |
import akka.actor.typed.scaladsl.adapter._ | |
import akka.http.scaladsl.Http | |
import com.megafarad.jmdictapi.api.SearchRoutes | |
import com.megafarad.jmdictapi.importer.Importer | |
import com.typesafe.akka.extension.quartz.QuartzSchedulerTypedExtension | |
import com.typesafe.scalalogging.StrictLogging |
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 org.jitsi.jigasi.transcription; | |
import org.eclipse.jetty.websocket.api.*; | |
import org.eclipse.jetty.websocket.api.annotations.*; | |
import org.eclipse.jetty.websocket.client.*; | |
import org.json.*; | |
import org.jitsi.jigasi.*; | |
import org.jitsi.utils.logging.*; | |
import java.io.*; |
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 com.megafarad.omoiomoi.model | |
import play.api.libs.json._ | |
import play.api.libs.functional.syntax._ | |
import java.time.Instant | |
sealed trait MeetingEvent | |
case class BlankEvent(roomName: String) extends MeetingEvent | |
case class StartEvent(roomName: String, timestamp: Instant) extends MeetingEvent |
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 com.megafarad.omoiomoi.dao | |
import com.megafarad.omoiomoi.model._ | |
import com.megafarad.omoiomoi.model.MeetingEvent._ | |
import play.api.db.slick._ | |
import play.api.libs.json.Json | |
import slick.jdbc.JdbcProfile | |
import java.time.{Instant, LocalDate, LocalTime, ZoneId, ZonedDateTime} | |
import java.util.UUID |
OlderNewer