code examples for devhero