This file contains hidden or 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.codetinkerhack | |
import akka.actor.{ ActorRef, Props, Actor, ActorLogging } | |
import akka.pattern.ask | |
import akka.util.Timeout | |
import scala.concurrent.duration._ | |
import akka.actor.Actor.Receive | |
import akka.pattern.pipe | |
import scala.util.Success | |
import scala.util.Failure |
This file contains hidden or 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
--[[ | |
No-nonsense classes for Lua. | |
Basic usage: | |
A = class() -- class declaration | |
B = class(A) -- inheritance | |
function A:init(arg, arg ...) -- constructor | |
function A:foo(arg, arg ...) -- method declaration | |
a = A(arg, arg ...) -- construction |
This file contains hidden or 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
// Implementation of a UDP proxy | |
package main | |
import ( | |
"flag" | |
"fmt" | |
"log" | |
"net" | |
"os" |