This file contains 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
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 |
This file contains 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
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 |
This file contains 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
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 |
This file contains 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
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 |
This file contains 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
implicit val intCanTruthy: CanTruthy[Int] = CanTruthy.fromTruthy({ | |
case 0 => false | |
case _ => true | |
}) | |
import CanTruthy.ops._ | |
10.truthy |
This file contains 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
#!/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 |