precompile code samples