Skip to content

Instantly share code, notes, and snippets.

View sarkis's full-sized avatar

Sarkis Varozian sarkis

View GitHub Profile
@sarkis
sarkis / jq-filter.sh
Created January 8, 2019 04:55 — forked from micahhausler/jq-filter.sh
GitHub collaborator finder
# Go to https://developer.github.com/v4/explorer/ and enter the graphql query with the query veriable:
# {"queryString": "your-githubuser-name"}
cat results.json |
jq '.data.user.repositories.edges[] | { Count: .node.collaborators.totalCount, Repo: .node.name} | select(.Count > 2)'