Some ruby scripts and a c code