Skip to content

Instantly share code, notes, and snippets.

View markjacksonfishing's full-sized avatar
🎣
Fishing

Mark Jackson markjacksonfishing

🎣
Fishing
View GitHub Profile
# Git
## Global Settings
- Related Setup: https://gist.github.com/hofmannsven/6814278
- Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
- Interactive Beginners Tutorial: http://try.github.io/
- Git Cheatsheet by GitHub: https://services.github.com/on-demand/downloads/github-git-cheat-sheet/
## Reminder
Press `minus + shift + s` and `return` to chop/fold long lines!
// Import the JsonSlurper class to parse Dockerhub API response
import groovy.json.JsonSlurper
// Set the URL we want to read from, it is <repo>/<reponame> and is limited to 20 results only.
docker_image_tags_url = "https://hub.docker.com/v2/repositories/<repo>/<reponame>/tags/?page_size=20"
try {
// Set requirements for the HTTP GET request, you can add Content-Type headers and so on...
def http_client = new URL(docker_image_tags_url).openConnection() as HttpURLConnection
http_client.setRequestMethod('GET')
// Run the HTTP request
http_client.connect()
https://user-images.githubusercontent.com/2285385/33986408-c3a8af98-e0bd-11e7-9a59-608c30b8a5ea.png
Story Point Time Bucket
1 0-6 hours
2 6-13 hours
3 13-20 hours
5 20-35 hours
8 35-55 hours
13 55-80 hours
20 85-140 hours
50 140-200 hours
100 >200 hours