add snippets for Ruby and Python