From 0a414f2d3fef3e3bed48e0c6bd47da111aca2388 Mon Sep 17 00:00:00 2001 From: Brian Seymour Date: Fri, 22 Jan 2021 02:17:28 -0600 Subject: [PATCH] add locale for elixir, fix test for kotlin, add instructions for bf installation --- lxc/executors/elixir | 2 ++ lxc/tests/test.kt | 2 +- var/install.txt | 8 ++++++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/lxc/executors/elixir b/lxc/executors/elixir index 49bfb78..1a8e23f 100755 --- a/lxc/executors/elixir +++ b/lxc/executors/elixir @@ -1,4 +1,6 @@ #!/bin/bash +export LC_ALL="en_US.UTF-8" + cd /tmp/$2 timeout -s KILL 3 xargs -a args.args -d '\n' elixir code.code < stdin.stdin diff --git a/lxc/tests/test.kt b/lxc/tests/test.kt index a6f9758..1e0df2c 100644 --- a/lxc/tests/test.kt +++ b/lxc/tests/test.kt @@ -1,3 +1,3 @@ -fun main(args: Array) { +fun main() { println("good") } diff --git a/var/install.txt b/var/install.txt index c9b151c..988e465 100644 --- a/var/install.txt +++ b/var/install.txt @@ -215,6 +215,14 @@ echo 'export DENO_INSTALL="/opt/.deno"' >> /opt/.profile echo 'export PATH="$DENO_INSTALL/bin:$PATH"' >> /opt/.profile source /opt/.profile +# install brainfuck +cd /opt && mkdir bf && cd bf +git clone https://github.com/texus/Brainfuck-interpreter +cd Brainfuck-interpreter +echo 'export PATH=$PATH:/opt/bf/Brainfuck-interpreter' >> /opt/.profile +source /opt/.profile + + # create runnable users and apply limits for i in {1..150}; do useradd -M runner$i