Skip to content

Instantly share code, notes, and snippets.

Avatar

Adam Jaso adamjaso

View GitHub Profile
@adamjaso
adamjaso / pullcounter.sh
Created Feb 11, 2022
Github PR Line Counter
View pullcounter.sh
#!/bin/sh
[ -n "$GIT_USERNAME" ] || { echo "GIT_USERNAME is required" ; exit 1 ; }
[ -n "$GIT_TOKEN" ] || { echo "GIT_TOKEN is required" ; exit 1 ; }
REPOSITORY=$1
CURL_FLAGS="-s -u $GIT_USERNAME:$GIT_TOKEN"
BASE_URL=https://api.github.com
REPOSITORY_URL=$BASE_URL/repos/$REPOSITORY
REPOSITORY_QUERY='per_page=100&state=closed'
View keybase.md

Keybase proof

I hereby claim:

  • I am adamjaso on github.
  • I am jacinto (https://keybase.io/jacinto) on keybase.
  • I have a public key ASAnxKxwLSwdOJoZ-XjZNSk6wCnzjfDbh5cJk-TRkjKzLgo

To claim this, I am signing this object: