Skip to content

Instantly share code, notes, and snippets.

View spacepluk's full-sized avatar

Oscar Morante spacepluk

  • Berlin
  • 06:04 (UTC +02:00)
View GitHub Profile
commit 426024c6e2cc424fc958fab9245fc131ff67579a
Author: Oscar Morante <oscar.morante@mirada.tv>
Date: Thu Sep 15 21:54:59 2016 +0300
Workaround for systemd #1312
diff --git a/multi-node/aws/pkg/config/templates/cloud-config-controller b/multi-node/aws/pkg/config/templates/cloud-config-controller
index 24fa5b9..f5a4226 100644
--- a/multi-node/aws/pkg/config/templates/cloud-config-controller
+++ b/multi-node/aws/pkg/config/templates/cloud-config-controller
@spacepluk
spacepluk / init.vim
Last active September 22, 2016 08:05
" SQL Format {{{
vmap <leader>sf :!sqlformat -r -a -s -k lower -i lower - <CR>:%s/^\n//g<CR>:%s/ (select/(select/<CR>:%s/\n\( *\) ),\n *\(\w*\) as/),\r\1\2 as/<CR>:%s/^\(\(\(.*--.*\)\@!.\)*\)\n *)/\1)/<CR>:%s/^\( *\) ), \(\w* as\)$/\1 ),\r\1\2/g<CR>
" }}}
@spacepluk
spacepluk / -
Created September 22, 2016 18:09
Name: ip-10-0-0-179.ec2.internal
Labels: beta.kubernetes.io/arch=amd64
beta.kubernetes.io/instance-type=c3.8xlarge
beta.kubernetes.io/os=linux
drill-only=true
failure-domain.beta.kubernetes.io/region=us-east-1
failure-domain.beta.kubernetes.io/zone=us-east-1e
kubernetes.io/hostname=ip-10-0-0-179.ec2.internal
tvmetrix.mirada.tv/layer=batch
Taints: <none>
@spacepluk
spacepluk / -
Created September 22, 2016 18:20
Name: ip-10-0-0-164.ec2.internal
Labels: beta.kubernetes.io/arch=amd64
beta.kubernetes.io/instance-type=c3.8xlarge
beta.kubernetes.io/os=linux
failure-domain.beta.kubernetes.io/region=us-east-1
failure-domain.beta.kubernetes.io/zone=us-east-1e
kubernetes.io/hostname=ip-10-0-0-164.ec2.internal
tvmetrix.mirada.tv/layer=general
Taints: <none>
CreationTimestamp: Tue, 20 Sep 2016 09:45:25 +0300
Name: ip-10-0-0-164.ec2.internal
Labels: beta.kubernetes.io/arch=amd64
beta.kubernetes.io/instance-type=c3.8xlarge
beta.kubernetes.io/os=linux
failure-domain.beta.kubernetes.io/region=us-east-1
failure-domain.beta.kubernetes.io/zone=us-east-1e
kubernetes.io/hostname=ip-10-0-0-164.ec2.internal
tvmetrix.mirada.tv/layer=general
Taints: <none>
CreationTimestamp: Tue, 20 Sep 2016 09:45:25 +0300
Name: drill-alluxio-1
Namespace: tvmetrix
Node: /
Labels: name=drill-alluxio
Status: Pending
IP:
Controllers: PetSet/drill-alluxio
Containers:
alluxio-worker:
Image: miradatv/alluxio:latest
Name: ip-10-0-0-164.ec2.internal
Labels: beta.kubernetes.io/arch=amd64
beta.kubernetes.io/instance-type=c3.8xlarge
beta.kubernetes.io/os=linux
failure-domain.beta.kubernetes.io/region=us-east-1
failure-domain.beta.kubernetes.io/zone=us-east-1e
kubernetes.io/hostname=ip-10-0-0-164.ec2.internal
tvmetrix.mirada.tv/layer=general
Taints: <none>
CreationTimestamp: Tue, 20 Sep 2016 09:45:25 +0300
@spacepluk
spacepluk / -
Created September 26, 2016 08:31
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
2016-09-26 10:05:43,128 WARN ServletHandler (ServletHandler.java:doHandle) - Error for /home
java.lang.NoSuchMethodError: javax.el.ExpressionFactory.newInstance()Ljavax/el/ExpressionFactory;
at org.apache.jasper.compiler.JspUtil.getExpressionFactory(JspUtil.java:1189)
at org.apache.jasper.compiler.JspUtil.validateExpressions(JspUtil.java:651)
at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:760)
at org.apache.jasper.compiler.Node$ELExpression.accept(Node.java:947)
at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2297)
at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2347)
at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2353)
at org.apache.jasper.compiler.Node$Root.accept(Node.java:499)
diff --git a/core/server/src/main/webapp/browse-body.jsp b/core/server/src/main/webapp/browse-body.jsp
index 8912462..064a409 100644
--- a/core/server/src/main/webapp/browse-body.jsp
+++ b/core/server/src/main/webapp/browse-body.jsp
@@ -54,12 +54,6 @@
<th>Pin</th>
<th>Creation Time</th>
<th>Modification Time</th>
- <!--
- <c:if test = "${debug}">