Core i7 class CPU recommended.
On Ubuntu Linux 14.04, install v4l2loopback driver from repository:
apt-get install -y v4l2loopback-dkms v4l2loopback-utils
..or from latest sources:
#include <stdio.h> | |
#include <stdlib.h> | |
#include <errno.h> | |
#include <string.h> | |
#include <unistd.h> | |
#include <sys/shm.h> | |
int main(int argc, char**argv) | |
{ | |
void *shm; |
Core i7 class CPU recommended.
On Ubuntu Linux 14.04, install v4l2loopback driver from repository:
apt-get install -y v4l2loopback-dkms v4l2loopback-utils
..or from latest sources:
*.pyc |
[Unit] | |
Description=Docker Application Container Engine | |
Documentation=http://docs.docker.io | |
After=docker.socket | |
Requires=docker.socket | |
Requires=flannel.service | |
After=flannel.service | |
[Service] | |
Environment="TMPDIR=/var/tmp/" |
def zookeeper: Future[Map[String, String]] = async { | |
val writeback = ZooKeeper.WritebackPathPrefix.split("/").filterNot(_.isEmpty).toSeq | |
def join(l: Seq[String]) = l.mkString("/") | |
def nodes(parent: Seq[String], node: String): Seq[Seq[String]] = { | |
(parent :+ node) match { | |
case `writeback` => Seq() | |
case path => path +: ZooKeeper.getChildren(join(path)).flatMap(node => nodes(path, node)) | |
} | |
} | |
nodes(Seq(), services.ZooKeeperService.BasePath.stripPrefix("/")) |
#!/bin/sh | |
sudo apt-get update | |
sudo apt-get upgrade -y | |
sudo apt-get install -y \ | |
gcc g++ make python-dev libffi-dev libsqlite3-dev pkg-config \ | |
libz-dev libbz2-dev libncurses-dev libexpat1-dev \ | |
libssl-dev libgc-dev python-sphinx python-greenlet \ | |
time less htop bzip2 unzip zip git mercurial nano rsync vim | |
sudo apt-get clean | |
wget https://bitbucket.org/pypy/pypy/downloads/pypy-2.2.1-src.tar.bz2 |
We, the organizers, will be changing screens as we see fit, so there is something for you to hold on to.
import play.api.libs.concurrent._ | |
import play.api.libs.concurrent.Execution.Implicits._ | |
import play.api.libs.iteratee._ | |
import scala.concurrent.duration._ | |
def circuitBreakers = Action { | |
Ok.stream(Enumerator.generateM { | |
val promise = Promise[String]() | |
Akka.system.scheduler.scheduleOnce(1 second) { | |
promise.completeWith(circuitBreakers) |
ssh -i workshop.pem ubuntu@lxc-1-01.eu.r53.acp.io
Replace 01
in lxc-1-01
with index assigned to you. Download workshop key below.