This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
source token.sh # should export the ACCESS_TOKEN and USER variables | |
PAGE=1 # Run once per page (manually for now) | |
PER_PAGE=100 # Max 100 | |
function list_repos { | |
echo "Listing repos" > /dev/stderr | |
curl -s -H "Authorization: token $ACCESS_TOKEN" "https://api.github.com/search/code?page=$PAGE&per_page=$PER_PAGE&q=http://www.eecs.harvard.edu/~kirsch/pubs/bbbf/esa06.pdf" | \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'groovy' | |
sourceCompatibility = 1.5 | |
version = '0.1-SNAPSHOT' | |
repositories { | |
mavenRepo(urls: 'http://repository.codehaus.org/') | |
mavenCentral() | |
} |