Code examples on how to do some stuff using Ruby