Added ruby and tex snippets.