Examples in ruby and node.js