add support for gists + update examples