add locale for elixir, fix test for kotlin, add instructions for bf installation

This commit is contained in:
Brian Seymour 2021-01-22 02:17:28 -06:00
parent 6d69a1b189
commit 0a414f2d3f
3 changed files with 11 additions and 1 deletions

View File

@ -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

View File

@ -1,3 +1,3 @@
fun main(args: Array<String>) {
fun main() {
println("good")
}

View File

@ -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