Skip to content

Instantly share code, notes, and snippets.

View muuki88's full-sized avatar
😘
Taking care of my daugther

Muki Seiler muuki88

😘
Taking care of my daugther
View GitHub Profile
@muuki88
muuki88 / LogSearch.scala
Created July 28, 2013 20:01
Future Composition with Scala and Akka
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 {
@muuki88
muuki88 / adtag.js
Last active February 6, 2024 23:32
TCF 2.2 Wait for consent
// 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);
});