I hereby claim:
- I am muuki88 on github.
- I am muki (https://keybase.io/muki) on keybase.
- I have a public key whose fingerprint is ADDD 9B3B 0F47 EAD3 6D9B C1B9 59B7 C730 340E 30A7
To claim this, I am signing this object:
// example loading adtag.js , 755 is the google vendor id | |
loadWithConsent(755, [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ], function() { | |
var adtag = document.createElement('script'); | |
adtag.type = 'module'; adtag.async = true; | |
adtag.src = 'https://studis.h5v.eu/latest/moli.min.mjs'; | |
var outs = document.getElementsByTagName('script')[0]; | |
outs.parentNode.insertBefore(adtag, outs); | |
}); |
import scala.concurrent._ | |
import scala.concurrent.duration._ | |
import scala.concurrent.ExecutionContext.Implicits._ | |
import scala.util.{ Success, Failure } | |
import akka.actor._ | |
import akka.pattern.{ after, ask, pipe } | |
import akka.util.Timeout | |
object LogSearch extends App { |
node { | |
stage('Git') { | |
git 'https://github.com/muuki88/activator-play-cluster-sample.git' | |
} | |
stage('Build') { | |
def builds = [:] | |
builds['scala'] = { | |
// assumes you have the sbt plugin installed and created an sbt installation named 'sbt-0.13.13' | |
sh "${tool name: 'sbt-0.13.13', type: 'org.jvnet.hudson.plugins.SbtPluginBuilder$SbtInstallation'}/bin/sbt compile test" | |
} |
const deserializeBoolean = (value: string) => value === 'true'; | |
const deserializeString = (value: string) => value; | |
const deserializeNumber = (value: string) => parseInt(value); | |
const serializeBoolean = (value: boolean) => value ? 'true' : 'false'; | |
const serializeString = (value: string) => value; | |
const serializeNumber = (value: number) => number.toFixed(); | |
/** | |
* Each key-value storage key needs a function to deserialize its string value | |
* from the database into its own type. Each type is specified in KeyValueStorage. |
type KeyValueStorage = { | |
'setting1': boolean; | |
'setting2': string; | |
'setting3': number; | |
}; | |
/** all possible keys for the key-value storage */ | |
type KeyValueStorageKey = keyof KeyValueStorage; | |
interface UserStorage { |
type UserStorageKey = 'setting1' | 'setting2' | 'setting3'; | |
interface UserStorage { | |
/** set a value for a specific key */ | |
set(key: UserStorageKey, value: string): void; | |
/** get the value for a specific key. If not present return null*/ | |
get(key: UserStorageKey): string | null; | |
} |
interface UserStorage { | |
/** set a value for a specific key */ | |
set(key: string, value: string): void; | |
/** get the value for a specific key. If not present return null*/ | |
get(key: string): string | null; | |
} |
<plugin> | |
<groupId>org.eclipse.tycho</groupId> | |
<artifactId>tycho-packaging-plugin</artifactId> | |
<version>${tycho.version}</version> | |
<dependencies> | |
<dependency> | |
<groupId>org.eclipse.tycho.extras</groupId> | |
<artifactId>tycho-buildtimestamp-jgit</artifactId> | |
<version>${tycho.version}</version> |
I hereby claim:
To claim this, I am signing this object:
package net.gutefrage | |
import com.twitter.finagle._ | |
import com.twitter.finagle.http.service.HttpResponseClassifier | |
import com.twitter.server.TwitterServer | |
import com.twitter.util.Await | |
import io.finch._ | |
import io.finch.circe._ | |
import io.circe.generic.auto._ | |
import net.gutefrage.temperature.thrift._ |