diff --git a/api/main.go b/api/main.go index acd0f69..d328363 100644 --- a/api/main.go +++ b/api/main.go @@ -83,7 +83,6 @@ func Execute(res http.ResponseWriter, req *http.Request) { "lua", "nasm", "asm", "nasm64", "asm64", - "nim", "node", "javascript", "js", "perl", "pl", "php", diff --git a/lxc/execute b/lxc/execute index 704202f..dd3b3c5 100755 --- a/lxc/execute +++ b/lxc/execute @@ -90,9 +90,6 @@ case "$lang" in "nasm64" | "asm64") bin=nasm64 ;; -"nim") - bin=nim - ;; "node" | "js" | "javascript") bin=node ;; diff --git a/lxc/executors/nim b/lxc/executors/nim deleted file mode 100755 index c6e6caf..0000000 --- a/lxc/executors/nim +++ /dev/null @@ -1,4 +0,0 @@ -cd /tmp/$2 -timeout -s KILL 10 nim --hints:off c code.code -runuser runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 ./code" - diff --git a/lxc/test_all_lxc b/lxc/test_all_lxc index 8e7130c..c7f0b28 100755 --- a/lxc/test_all_lxc +++ b/lxc/test_all_lxc @@ -31,8 +31,6 @@ echo 'testing asm 32 bit' ../execute asm test.nasm echo 'testing asm 64 bit' ../execute asm64 test64.nasm -echo 'testing nim' -../execute nim test.nim echo 'testing php' ../execute php test.php echo 'testing perl' diff --git a/lxc/versions b/lxc/versions index 12b5f76..cbfd824 100755 --- a/lxc/versions +++ b/lxc/versions @@ -69,10 +69,6 @@ echo 'nasm' lxc-attach --clear-env -n piston -- /bin/bash -l -c "nasm -version" echo '---' -echo 'nim' -lxc-attach --clear-env -n piston -- /bin/bash -l -c "nim -v | head -n1" -echo '---' - echo 'node' lxc-attach --clear-env -n piston -- /bin/bash -l -c "node --version" echo '---' diff --git a/readme.md b/readme.md index a7ccaff..d66f8e3 100644 --- a/readme.md +++ b/readme.md @@ -88,7 +88,7 @@ source /opt/.profile # install paradoc # this is not a binary, it is a python module -# therefore it cannot be run directly as it requires python3 to be installed +# therefore it cannot be run directly as it requires python3 to be installed cd /opt && mkdir paradoc && cd paradoc git clone https://github.com/betaveros/paradoc.git echo 'export PYTHONPATH=$PYTHONPATH:/opt/paradoc/paradoc' >> /opt/.profile @@ -249,18 +249,6 @@ echo 'export DENO_INSTALL="/opt/.deno"' >> /opt/.profile echo 'export PATH="$DENO_INSTALL/bin:$PATH"' >> /opt/.profile source /opt/.profile -# install nim -# final binary: /opt/nim/bin/nim -# get version: /opt/nim/bin/nim -v -cd /opt && mkdir nim && cd nim -wget https://nim-lang.org/download/nim-1.4.0-linux_x64.tar.xz -unxz nim-1.4.0-linux_x64.tar.xz -tar -xf nim-1.4.0-linux_x64.tar -cd nim-1.4.0 -./install.sh /opt -echo 'export PATH=$PATH:/opt/nim/bin' >> /opt/.profile -source /opt/.profile - # create runnable users and apply limits for i in {1..150}; do useradd -M runner$i