Skip to content

Instantly share code, notes, and snippets.

enable docker remote
add this
# /etc/systemd/system/docker.service.d/override.conf
[Service]
ExecStart=
ExecStart=/usr/bin/dockerd -H fd:// -H tcp://0.0.0.0:2376
must use JGIT in tools - the default is to use the path to bitnami on the agent in GCP. Get around this by using JGit to do the
original checkout
@jmjava
jmjava / gist:93846df924e1b6b445c9a0a10d8e8575
Created September 30, 2018 18:29
istio-install notes
need docker ce 17.0.3 not 18
setup virtmanager with bridge enabled on host machine
something like this:
auto eno1
iface eno1 inet manual
auto br0
iface br0 inet static
Extensions.scala:319 POST http://localhost:9000/exercises/sections/std_lib/asserts/evaluate 500 (Internal Server Error)
$c_Lorg_scalajs_dom_ext_Ajax$.apply__T__T__Lorg_scalajs_dom_ext_Ajax$InputData__I__sci_Map__Z__T__s_concurrent_Future @ Extensions.scala:319
$c_Lorg_scalaexercises_client_common_ExtAjax.apply__T__T__T__I__sci_Map__Z__s_concurrent_Future @ ExtAjax.scala:59
$c_Lorg_scalaexercises_client_common_ExtAjax.postAsJson__T__T__I__sci_Map__Z__s_concurrent_Future @ ExtAjax.scala:47
$c_Lorg_scalaexercises_client_api_Client$.compileExercise__Lorg_scalaexercises_client_model_ClientExercise__s_concurrent_Future @ Api.scala:73
$c_Lorg_scalaexercises_client_effects_Effects$.compileExercise__sci_List__T__s_concurrent_Future @ Effects.scala:58
$c_Lorg_scalaexercises_client_effects_Effects$.perform__sci_List__Lorg_scalaexercises_client_actions_Action__s_concurrent_Future @ Effects.scala:37
(anonymous) @ ExercisesJS.scala:58
$c_sjsr_AnonFunction2.apply__O__O__O @ AnonFunctions.scala:20
$c_Lmonix_reactive_internal
implicit val intCanTruthy: CanTruthy[Int] = CanTruthy.fromTruthy({
case 0 => false
case _ => true
})
import CanTruthy.ops._
10.truthy
@jmjava
jmjava / install-python-ceph-deploy.sh
Last active May 31, 2017 19:01
Install python and pip then use pip to install ceph-deploy
#!/bin/bash
VERSIONS=${VERSIONS:-"2.7.13.2715"}
GLIBVERSION=${GLIBVERSION:-"2.12-402695"}
# make directory
mkdir -p /opt/bin
cd /opt
wget http://downloads.activestate.com/ActivePython/releases/${VERSIONS}/ActivePython-${VERSIONS}-linux-x86_64-glibc-${GLIBVERSION}.tar.gz
tar -xzvf ActivePython-${VERSIONS}-linux-x86_64-glibc-${GLIBVERSION}.tar.gz