Here are some representative samples of custom modules I have created.

Node usage: displays every content type in use and the number of of instances of each node (this is a contrib module you may download at https://www.drupal.org/project/node_usage).

Site: utilities and themed custom blocks (for this site).

Goat_api: demo of retrieving a RESTful JSON feed from another site.

Pet guides: a support module for a custom content type that loads css and display template (for a different site).