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
/* Non-SSL is simply App() */ | |
const rooms = new Map(); | |
const { TextEncoder } = require("util"); | |
const NewUser = 10; | |
const UserLeave = 11; | |
const RoomData = 12; | |
const YourAreMaster = 14; | |
const YourAreSlave = 15; |
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
/* Non-SSL is simply App() */ | |
const rooms = new Map(); | |
const { TextEncoder } = require("util"); | |
const NewUser = 10; | |
const UserLeave = 11; | |
const RoomData = 12; | |
const YourAreMaster = 14; | |
const YourAreSlave = 15; |
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 protocols | |
import play.api.libs.json._ | |
/** | |
* Created by Roman Potashow on 30.06.2016. | |
*/ | |
//TODO rename to Schema...Builder | |
case class Settings(name: String, label: String, properties: List[Settings.Property]) |
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 protocols | |
import play.api.libs.functional.syntax._ | |
import play.api.libs.json.{Format, JsPath, Json} | |
/** | |
* Created by Roman Potashow on 30.06.2016. | |
*/ | |
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 actors | |
import actors.PrinterActor.{PrinterStateUpdate, Status => PrinterStatus} | |
import akka.actor.{Actor, ActorLogging, ActorRef, Props} | |
import play.api.Logger | |
import play.api.libs.json.Json | |
import protocols.Connection.Configuration | |
/** |
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 actors | |
/** | |
* Created by Roman Potashow on 17.06.2016. | |
*/ | |
import actors.HardwareProtocolsSupportActor.Protocol | |
import akka.actor.{Actor, ActorLogging, ActorRef, Props} | |
import gnieh.diffson.playJson._ | |
import play.api.Logger |
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 actors | |
/** | |
* Created by Roman Potashow on 17.06.2016. | |
*/ | |
import actors.HardwareProtocolsSupportActor.Protocol | |
import akka.actor.{Actor, ActorLogging, ActorRef, Props} | |
import play.api.Logger |
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
for k in `gsettings list-keys org.gnome.desktop.wm.keybindings`; do echo $k = `gsettings get org.gnome.desktop.wm.keybindings $k`; done |