Most people don't put licenses on their GitHub Gists (I know I don't), but they probably should. A simple app or script to ask for edit permission on a user's Gists, list all Gists, let the user select a license and which files to add it to, and make necessary API calls to add the license comment to files.
Could try to be smart and figure out which files need licenses (.py, .go, .java, not .txt), and skip Gists that already include a license header or LICENSE file. Also might want to try to be smart about how comments are formed ("# comment" vs "// comment").
Most people don't put licenses on their GitHub Gists (I know I don't), but they probably should. A simple app or script to ask for edit permission on a user's Gists, list all Gists, let the user select a license and which files to add it to, and make necessary API calls to add the license comment to files.
Could try to be smart and figure out which files need licenses (.py, .go, .java, not .txt), and skip Gists that already include a license header or LICENSE file. Also might want to try to be smart about how comments are formed ("# comment" vs "// comment").