Show More
Commit Description:
add a new modified sandbox "box"...
Commit Description:
add a new modified sandbox "box" The original file was pulled from moe (git://git.ucw.cz/moe.git) by Martin Mares's commit on Sun Jul 29 23:53:56 2012 +0200 The modification is to make it separately compilable and add more option to specify additional argument to the program. (Please see usage guide) run `gcc -o box -std=c99 box64-new.c` to compile.
File last commit:
Show/Diff file:
Action:
config/environment.rb.SAMPLE | 11 lines | 335 B | text/plain | TextLexer |
# Rails app directory (where you store web interface dir)
RAILS_ROOT = "RAILS-ROOT"
# This is where scripts dir is.
GRADER_ROOT = "GRADER-DIR/scripts"
# This load all required codes
require File.join(File.dirname(__FILE__),'../lib/boot')
# load the required environment file
require File.dirname(__FILE__) + "/env_#{GRADER_ENV}.rb"