commit
fca3488743
|
@ -136,6 +136,12 @@
|
||||||
"java"
|
"java"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "lolcode",
|
||||||
|
"aliases": [
|
||||||
|
"lolcode"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "nim",
|
"name": "nim",
|
||||||
"aliases": [
|
"aliases": [
|
||||||
|
|
|
@ -284,7 +284,6 @@ MIX_ENV=prod mix escript.build --force
|
||||||
echo 'export PATH=$PATH:/opt/05AB1E/05AB1E' >> /opt/.profile
|
echo 'export PATH=$PATH:/opt/05AB1E/05AB1E' >> /opt/.profile
|
||||||
source /opt/.profile
|
source /opt/.profile
|
||||||
|
|
||||||
|
|
||||||
# install prolog
|
# install prolog
|
||||||
# final binary: /opt/swipl/swipl-<version>/build/src/swipl
|
# final binary: /opt/swipl/swipl-<version>/build/src/swipl
|
||||||
cd /opt && mkdir swipl && cd swipl
|
cd /opt && mkdir swipl && cd swipl
|
||||||
|
@ -300,6 +299,17 @@ ninja
|
||||||
echo "export PATH=\$PATH:/opt/swipl/$SUB_DIR/build/src" >> /opt/.profile
|
echo "export PATH=\$PATH:/opt/swipl/$SUB_DIR/build/src" >> /opt/.profile
|
||||||
source /opt/.profile
|
source /opt/.profile
|
||||||
|
|
||||||
|
# install lolcode
|
||||||
|
# final binary: /opt/lolcode/bin/lci
|
||||||
|
cd /opt
|
||||||
|
git clone https://github.com/justinmeza/lci.git lolcode
|
||||||
|
cd lolcode
|
||||||
|
mkdir bin
|
||||||
|
cmake ..
|
||||||
|
make
|
||||||
|
echo 'export PATH=$PATH:/opt/lolcode/bin' >> /opt/.profile
|
||||||
|
source /opt/.profile
|
||||||
|
|
||||||
# create runnable users and apply limits
|
# create runnable users and apply limits
|
||||||
for i in {1..150}; do
|
for i in {1..150}; do
|
||||||
useradd -M runner$i
|
useradd -M runner$i
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cd /tmp/$1
|
||||||
|
timeout -s KILL 3 lci code.code < stdin.stdin
|
|
@ -0,0 +1,4 @@
|
||||||
|
HAI 1.2
|
||||||
|
CAN HAS STDIO?
|
||||||
|
VISIBLE "good"
|
||||||
|
KTHXBYE
|
Loading…
Reference in New Issue