I hereby claim:
- I am frne on github.
- I am frne (https://keybase.io/frne) on keybase.
- I have a public key ASBn48xpd_mqiMLeCT7B3iVP6DtqwE0fMOdLUqcONp_8UAo
To claim this, I am signing this object:
package service | |
import com.amazonaws.services.machinelearning.model.PredictRequest | |
import model.FeatureSet | |
import service.util.{AwsMachineLearningServiceProvider, Loggable} | |
import scala.collection.JavaConverters._ | |
/** Implementation of the [[service.PredictionEngine]] service */ | |
class AwsPredictionEngine extends PredictionEngine with Loggable with AwsMachineLearningServiceProvider { |
I hereby claim:
To claim this, I am signing this object:
# path: /usr/share/X11/xorg.conf.d/90-rat.conf | |
Section "InputClass" | |
Identifier "Mouse Remap" | |
MatchDevicePath "/dev/input/event*" | |
MatchProduct "Mad Catz Mad Catz R.A.T.7 Mouse" | |
Option "AutoReleaseButtons" "13 14 15" | |
Option "Buttons" "17" | |
Option "YAxisMapping" "10 11" | |
Option "ZAxisMapping" "4 5 6 7" | |
Option "Emulate3Buttons" "no" |
object Schema2CaseClass { | |
import org.apache.spark.sql.types._ | |
case class RecFieldRes(fieldStr: String, additionalCc: Option[String] = None) | |
case class CcRes(cc: String, additional: List[String]) | |
def schema2Cc(schema: StructType, className: String): String = { | |
val res = CcRes(s"case class $className (\n", Nil) |
import BankHoliday.Companion.isBankHoliday | |
import java.time.LocalDate | |
import java.time.Year | |
fun main(args: Array<String>) { | |
// some tests (should be done using JUnit of course ;) | |
mapOf( | |
LocalDate.of(2023, 1, 1) to true, | |
LocalDate.of(2023, 8, 1) to true, |
export abstract class Option<T> { | |
protected value: T | null; | |
static of<T>(value: T | null): Option<T> { | |
if (value == null) { | |
return new None(); | |
} else { | |
return new Some(value); | |
} | |
} |