Skip to content

Instantly share code, notes, and snippets.

View Bunyod's full-sized avatar
🎯
Focusing

Bunyod Bunyod

🎯
Focusing
  • Enfore
View GitHub Profile
@Bunyod
Bunyod / Play2SlickBridge.scala
Last active September 17, 2015 11:08 — forked from nraychaudhuri/Play2SlickBridge.scala
Play2-Auth and Slick together
//Trait that bridges between slick and Play2-auth. Just mixin with controllers
trait Auth2SlickBridge {
self: StackableController =>
def AuthAction[A](p: BodyParser[A], params: AttributeKey[_]*)(f: RequestWithAttributes[A] => Action[A]): Action[A] = {
AsyncStack(p, params:_*) { implicit rs =>
f(rs).apply(rs)
}
}
@Bunyod
Bunyod / scalaskilset.markdown
Created December 12, 2016 07:27 — forked from razie/scalaskilset.markdown
Scala skill levels
@Bunyod
Bunyod / setup-kubernetes-ubuntu-16.md
Created May 24, 2018 10:04 — forked from ruanbekker/setup-kubernetes-ubuntu-16.md
Install a 3 Node Kubernetes Cluster on Ubuntu 16

Master: Dependencies

apt update && apt upgrade -y
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -

cat <<EOF > /etc/apt/sources.list.d/kubernetes.list
deb http://apt.kubernetes.io/ kubernetes-xenial main
EOF
@Bunyod
Bunyod / howto.md
Created May 24, 2018 10:04 — forked from adamcharnock/howto.md
Kubernetes install on Ubuntu 17.10 via kubeadm

Kubernetes install on Ubuntu 17.10 via kubeadm

Initial setup

apt-get update
apt-get upgrade
apt-get install curl

# Check VXLAN exists