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
(00.000029) Added /sys/fs/cgroup/systemd:/sys/fs/cgroup/systemd ext mount mapping | |
(00.000046) Added /sys/fs/cgroup/cpu,cpuacct:/sys/fs/cgroup/cpu,cpuacct ext mount mapping | |
(00.000049) Added /sys/fs/cgroup/hugetlb:/sys/fs/cgroup/hugetlb ext mount mapping | |
(00.000051) Added /sys/fs/cgroup/blkio:/sys/fs/cgroup/blkio ext mount mapping | |
(00.000054) Added /sys/fs/cgroup/net_cls,net_prio:/sys/fs/cgroup/net_cls,net_prio ext mount mapping | |
(00.000056) Added /sys/fs/cgroup/memory:/sys/fs/cgroup/memory ext mount mapping | |
(00.000058) Added /sys/fs/cgroup/freezer:/sys/fs/cgroup/freezer ext mount mapping | |
(00.000060) Added /sys/fs/cgroup/cpuset:/sys/fs/cgroup/cpuset ext mount mapping | |
(00.000062) Added /sys/fs/cgroup/devices:/sys/fs/cgroup/devices ext mount mapping | |
(00.000065) Added /sys/fs/cgroup/perf_event:/sys/fs/cgroup/perf_event ext mount mapping |
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
# Build this docker container with | |
# sudo docker build -t webapp . | |
# | |
# then run it with | |
# sudo docker run -d -p 3000:3000 webapp | |
# In the host-host then localhost:3030 yields the meteor app (for debugging purposes) | |
FROM ubuntu:15.04 | |
MAINTAINER Jonathan Brachthäuser |
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
----==_mimepart_550395aeaec5d_1898a98a027821 | |
Content-Type: text/html; | |
charset=UTF-8 | |
Content-Transfer-Encoding: quoted-printable | |
<html lang=3D'en'> | |
<head> | |
<meta content=3D'text/html; charset=3Dutf-8' http-equiv=3D'Content-Type'>= | |
<title> |
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
<html><script> | |
// Library Stuff | |
function assert(b) { | |
if (!b) { throw "Assertion failed!"; } | |
} | |
// binds `this` of f to `obj` | |
function bind(f, obj) { | |
return function () { |
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
/** | |
* This file contains some notes taken while reading: | |
* | |
* Comparing Object Encodings | |
* Kim B. Bruce, Luca Cardelli and Benjamin C. Pierce | |
*/ | |
package object encodings { | |
// Library Stuff | |
trait Fix[F[_]] { |
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
class E[F] | |
class A | |
class B | |
class C | |
trait TypeMember { | |
type X | |
id(value) // This call throws an AbstractMethodError |
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
trait SnocList[+T] { | |
def <> [S >: T](el: S) = Snoc(this, el) | |
} | |
case class Snoc[+T](init: SnocList[T], el: T) extends SnocList[T] | |
case object Empty extends SnocList[Nothing] | |
// usage: | |
// scala> Empty <> 1 <> 2 <> 3 <> 4 | |
// res0: Snoc[Int] = Snoc(Snoc(Snoc(Snoc(Empty,1),2),3),4) |
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
import processing.core.PApplet | |
class ProcessingTest extends PApplet { | |
override def setup() { | |
size(1024, 768) | |
background(255) | |
} | |
override def draw() { |
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 de.bstudios.collection.mutable | |
import scala.collection.mutable._ | |
import scala.collection.generic._ | |
import scala.collection.convert.Wrappers._ | |
class IdentityHashMap[A, B] extends JMapWrapper[A, B](new java.util.IdentityHashMap) | |
with JMapWrapperLike[A, B, IdentityHashMap[A, B]] { | |
override def empty = new IdentityHashMap[A, B] | |
} |
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 vaadin.scala | |
package server | |
import com.vaadin.{ server => orig } | |
import scala.language.implicitConversions | |
import scala.PartialFunction.condOpt | |
import apigen.annotations.accessors | |