Skip to content

Instantly share code, notes, and snippets.

@oxagast
Created February 28, 2021 05:57
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oxagast/b78c1e1f8ff065e34480f88c347338f9 to your computer and use it in GitHub Desktop.
Save oxagast/b78c1e1f8ff065e34480f88c347338f9 to your computer and use it in GitHub Desktop.
for i in {1..10000};
do
curl "https://api.github.com/users/KevinHock/following?per_page=100&page=${i}" -s | tee -a github.ids; # KevinHock follows everyone
sleep 300; # sleep 5 min between pages or rate limit kicks in soon
done;
cat github.ids | grep true -B 18 -A 1 | grep login | cut -d '"' -f 4 | xargs -I {LOGIN} curl "https://api.github.com/users
/{LOGIN}" -s | sed -e 's/}/},/' > github_admins.txt
cat github_admins.txt;
{
"login": "bruce",
"id": 72,
"node_id": "MDQ6VXNlcjcy",
"avatar_url": "https://avatars.githubusercontent.com/u/72?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bruce",
"html_url": "https://github.com/bruce",
"followers_url": "https://api.github.com/users/bruce/followers",
"following_url": "https://api.github.com/users/bruce/following{/other_user},",
"gists_url": "https://api.github.com/users/bruce/gists{/gist_id},",
"starred_url": "https://api.github.com/users/bruce/starred{/owner},{/repo}",
"subscriptions_url": "https://api.github.com/users/bruce/subscriptions",
"organizations_url": "https://api.github.com/users/bruce/orgs",
"repos_url": "https://api.github.com/users/bruce/repos",
"events_url": "https://api.github.com/users/bruce/events{/privacy},",
"received_events_url": "https://api.github.com/users/bruce/received_events",
"type": "User",
"site_admin": true,
"name": "Bruce Williams",
"company": "@github",
"blog": "http://bruce.io",
"location": "Portland, OR",
"email": null,
"hireable": null,
"bio": "Polyglot programmer, co-creator of Absinthe, the GraphQL toolkit for Elixir.",
"twitter_username": null,
"public_repos": 116,
"public_gists": 86,
"followers": 294,
"following": 20,
"created_at": "2008-01-28T07:16:45Z",
"updated_at": "2021-02-04T17:12:54Z"
},
{
"login": "technicalpickles",
"id": 159,
"node_id": "MDQ6VXNlcjE1OQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/159?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/technicalpickles",
"html_url": "https://github.com/technicalpickles",
"followers_url": "https://api.github.com/users/technicalpickles/followers",
"following_url": "https://api.github.com/users/technicalpickles/following{/other_user},",
"gists_url": "https://api.github.com/users/technicalpickles/gists{/gist_id},",
"starred_url": "https://api.github.com/users/technicalpickles/starred{/owner},{/repo}",
"subscriptions_url": "https://api.github.com/users/technicalpickles/subscriptions",
"organizations_url": "https://api.github.com/users/technicalpickles/orgs",
"repos_url": "https://api.github.com/users/technicalpickles/repos",
"events_url": "https://api.github.com/users/technicalpickles/events{/privacy},",
"received_events_url": "https://api.github.com/users/technicalpickles/received_events",
"type": "User",
"site_admin": true,
"name": "Josh Nichols",
"company": "@github ",
"blog": "http://technicalpickles.com",
"location": "Savannah, GA",
"email": null,
"hireable": null,
"bio": "\r\n Principal Whimsy Engineer for myself, Staff Software Engineer for @github. Hobby hobbyist, husband, father, he/him\r\n",
"twitter_username": "techpickles",
"public_repos": 251,
"public_gists": 297,
"followers": 854,
"following": 95,
"created_at": "2008-02-07T05:38:06Z",
"updated_at": "2021-02-24T13:01:20Z"
},
{
"login": "mtodd",
"id": 182,
"node_id": "MDQ6VXNlcjE4Mg==",
"avatar_url": "https://avatars.githubusercontent.com/u/182?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mtodd",
"html_url": "https://github.com/mtodd",
"followers_url": "https://api.github.com/users/mtodd/followers",
"following_url": "https://api.github.com/users/mtodd/following{/other_user},",
"gists_url": "https://api.github.com/users/mtodd/gists{/gist_id},",
"starred_url": "https://api.github.com/users/mtodd/starred{/owner},{/repo}",
"subscriptions_url": "https://api.github.com/users/mtodd/subscriptions",
"organizations_url": "https://api.github.com/users/mtodd/orgs",
"repos_url": "https://api.github.com/users/mtodd/repos",
"events_url": "https://api.github.com/users/mtodd/events{/privacy},",
"received_events_url": "https://api.github.com/users/mtodd/received_events",
"type": "User",
"site_admin": true,
"name": "Matt Todd",
"company": "GitHub",
"blog": "http://maraby.org/",
"location": "Atlanta, GA",
"email": null,
"hireable": null,
"bio": "Staff Engineer @github. Ruby/Go/JS mostly. Music hacker, perpetual student.",
"twitter_username": null,
"public_repos": 160,
"public_gists": 104,
"followers": 608,
"following": 412,
"created_at": "2008-02-11T06:28:43Z",
"updated_at": "2021-02-12T22:59:44Z"
},
{
"login": "zmoazeni",
"id": 314,
"node_id": "MDQ6VXNlcjMxNA==",
"avatar_url": "https://avatars.githubusercontent.com/u/314?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zmoazeni",
"html_url": "https://github.com/zmoazeni",
"followers_url": "https://api.github.com/users/zmoazeni/followers",
"following_url": "https://api.github.com/users/zmoazeni/following{/other_user},",
"gists_url": "https://api.github.com/users/zmoazeni/gists{/gist_id},",
"starred_url": "https://api.github.com/users/zmoazeni/starred{/owner},{/repo}",
"subscriptions_url": "https://api.github.com/users/zmoazeni/subscriptions",
"organizations_url": "https://api.github.com/users/zmoazeni/orgs",
"repos_url": "https://api.github.com/users/zmoazeni/repos",
"events_url": "https://api.github.com/users/zmoazeni/events{/privacy},",
"received_events_url": "https://api.github.com/users/zmoazeni/received_events",
"type": "User",
"site_admin": true,
"name": "Zach Moazeni",
"company": null,
"blog": "http://connectionrequired.com",
"location": "Rapid City, MI",
"email": null,
"hireable": null,
"bio": null,
"twitter_username": null,
"public_repos": 56,
"public_gists": 63,
"followers": 127,
"following": 47,
"created_at": "2008-02-16T16:09:17Z",
"updated_at": "2021-02-27T06:40:31Z"
},
{
"login": "nakajima",
"id": 483,
"node_id": "MDQ6VXNlcjQ4Mw==",
"avatar_url": "https://avatars.githubusercontent.com/u/483?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nakajima",
"html_url": "https://github.com/nakajima",
"followers_url": "https://api.github.com/users/nakajima/followers",
"following_url": "https://api.github.com/users/nakajima/following{/other_user},",
"gists_url": "https://api.github.com/users/nakajima/gists{/gist_id},",
"starred_url": "https://api.github.com/users/nakajima/starred{/owner},{/repo}",
"subscriptions_url": "https://api.github.com/users/nakajima/subscriptions",
"organizations_url": "https://api.github.com/users/nakajima/orgs",
"repos_url": "https://api.github.com/users/nakajima/repos",
"events_url": "https://api.github.com/users/nakajima/events{/privacy},",
"received_events_url": "https://api.github.com/users/nakajima/received_events",
"type": "User",
"site_admin": true,
"name": "Pat Nakajima",
"company": null,
"blog": "",
"location": null,
"email": null,
"hireable": null,
"bio": "All of my popular repositories are bad ideas but I had fun making them!",
"twitter_username": null,
"public_repos": 125,
"public_gists": 194,
"followers": 751,
"following": 119,
"created_at": "2008-02-20T08:35:46Z",
"updated_at": "2021-02-10T23:29:41Z"
},
{
"login": "clarkbw",
"id": 2134,
"node_id": "MDQ6VXNlcjIxMzQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/2134?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/clarkbw",
"html_url": "https://github.com/clarkbw",
"followers_url": "https://api.github.com/users/clarkbw/followers",
"following_url": "https://api.github.com/users/clarkbw/following{/other_user},",
"gists_url": "https://api.github.com/users/clarkbw/gists{/gist_id},",
"starred_url": "https://api.github.com/users/clarkbw/starred{/owner},{/repo}",
"subscriptions_url": "https://api.github.com/users/clarkbw/subscriptions",
"organizations_url": "https://api.github.com/users/clarkbw/orgs",
"repos_url": "https://api.github.com/users/clarkbw/repos",
"events_url": "https://api.github.com/users/clarkbw/events{/privacy},",
"received_events_url": "https://api.github.com/users/clarkbw/received_events",
"type": "User",
"site_admin": true,
"name": "Bryan Clark",
"company": null,
"blog": "http://twitter.com/clarkbw",
"location": "Victoria, BC",
"email": null,
"hireable": null,
"bio": "Director of Product at @github \r\n\r\nPreviously @mozilla and red hat\r\n",
"twitter_username": null,
"public_repos": 78,
"public_gists": 26,
"followers": 338,
"following": 83,
"created_at": "2008-03-04T14:05:06Z",
"updated_at": "2021-02-22T22:44:14Z"
},
{
"login": "patrickt",
"id": 2498,
"node_id": "MDQ6VXNlcjI0OTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2498?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickt",
"html_url": "https://github.com/patrickt",
"followers_url": "https://api.github.com/users/patrickt/followers",
"following_url": "https://api.github.com/users/patrickt/following{/other_user},",
"gists_url": "https://api.github.com/users/patrickt/gists{/gist_id},",
"starred_url": "https://api.github.com/users/patrickt/starred{/owner},{/repo}",
"subscriptions_url": "https://api.github.com/users/patrickt/subscriptions",
"organizations_url": "https://api.github.com/users/patrickt/orgs",
"repos_url": "https://api.github.com/users/patrickt/repos",
"events_url": "https://api.github.com/users/patrickt/events{/privacy},",
"received_events_url": "https://api.github.com/users/patrickt/received_events",
"type": "User",
"site_admin": true,
"name": "Patrick Thomson",
"company": null,
"blog": "http://blog.sumtypeofway.com",
"location": "Queens, NYC",
"email": null,
"hireable": null,
"bio": "te occidere possunt sed te edere non possunt nefas est",
"twitter_username": null,
"public_repos": 80,
"public_gists": 151,
"followers": 313,
"following": 35,
"created_at": "2008-03-07T13:46:27Z",
"updated_at": "2021-02-24T15:58:22Z"
},
{
"login": "bensherman",
"id": 3365,
"node_id": "MDQ6VXNlcjMzNjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/3365?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bensherman",
"html_url": "https://github.com/bensherman",
"followers_url": "https://api.github.com/users/bensherman/followers",
"following_url": "https://api.github.com/users/bensherman/following{/other_user},",
"gists_url": "https://api.github.com/users/bensherman/gists{/gist_id},",
"starred_url": "https://api.github.com/users/bensherman/starred{/owner},{/repo}",
"subscriptions_url": "https://api.github.com/users/bensherman/subscriptions",
"organizations_url": "https://api.github.com/users/bensherman/orgs",
"repos_url": "https://api.github.com/users/bensherman/repos",
"events_url": "https://api.github.com/users/bensherman/events{/privacy},",
"received_events_url": "https://api.github.com/users/bensherman/received_events",
"type": "User",
"site_admin": true,
"name": "Ben Sherman",
"company": null,
"blog": "",
"location": "Seattle, Washington",
"email": null,
"hireable": null,
"bio": null,
"twitter_username": null,
"public_repos": 18,
"public_gists": 3,
"followers": 18,
"following": 29,
"created_at": "2008-03-18T13:52:52Z",
"updated_at": "2021-02-26T16:17:29Z"
},
{
"login": "zerowidth",
"id": 3999,
"node_id": "MDQ6VXNlcjM5OTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/3999?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zerowidth",
"html_url": "https://github.com/zerowidth",
"followers_url": "https://api.github.com/users/zerowidth/followers",
"following_url": "https://api.github.com/users/zerowidth/following{/other_user},",
"gists_url": "https://api.github.com/users/zerowidth/gists{/gist_id},",
"starred_url": "https://api.github.com/users/zerowidth/starred{/owner},{/repo}",
"subscriptions_url": "https://api.github.com/users/zerowidth/subscriptions",
"organizations_url": "https://api.github.com/users/zerowidth/orgs",
"repos_url": "https://api.github.com/users/zerowidth/repos",
"events_url": "https://api.github.com/users/zerowidth/events{/privacy},",
"received_events_url": "https://api.github.com/users/zerowidth/received_events",
"type": "User",
"site_admin": true,
"name": "Nathan Witmer",
"company": "@github",
"blog": "http://zerowidth.com",
"location": "Boulder, CO",
"email": null,
"hireable": null,
"bio": "ಠ_ಠ",
"twitter_username": null,
"public_repos": 80,
"public_gists": 61,
"followers": 277,
"following": 2,
"created_at": "2008-03-27T17:19:22Z",
"updated_at": "2021-02-25T21:58:20Z"
},
{
"login": "davecheney",
"id": 7171,
"node_id": "MDQ6VXNlcjcxNzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/7171?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/davecheney",
"html_url": "https://github.com/davecheney",
"followers_url": "https://api.github.com/users/davecheney/followers",
"following_url": "https://api.github.com/users/davecheney/following{/other_user},",
"gists_url": "https://api.github.com/users/davecheney/gists{/gist_id},",
"starred_url": "https://api.github.com/users/davecheney/starred{/owner},{/repo}",
"subscriptions_url": "https://api.github.com/users/davecheney/subscriptions",
"organizations_url": "https://api.github.com/users/davecheney/orgs",
"repos_url": "https://api.github.com/users/davecheney/repos",
"events_url": "https://api.github.com/users/davecheney/events{/privacy},",
"received_events_url": "https://api.github.com/users/davecheney/received_events",
"type": "User",
"site_admin": true,
"name": "Dave Cheney",
"company": "CSRF for social change",
"blog": "http://dave.cheney.net/",
"location": "Sydney, Australia",
"email": null,
"hireable": null,
"bio": null,
"twitter_username": "davecheney",
"public_repos": 179,
"public_gists": 72,
"followers": 4926,
"following": 41,
"created_at": "2008-04-14T04:00:20Z",
"updated_at": "2021-02-26T06:25:25Z"
},
{
"login": "dcreager",
"id": 7499,
"node_id": "MDQ6VXNlcjc0OTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/7499?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dcreager",
"html_url": "https://github.com/dcreager",
"followers_url": "https://api.github.com/users/dcreager/followers",
"following_url": "https://api.github.com/users/dcreager/following{/other_user},",
"gists_url": "https://api.github.com/users/dcreager/gists{/gist_id},",
"starred_url": "https://api.github.com/users/dcreager/starred{/owner},{/repo}",
"subscriptions_url": "https://api.github.com/users/dcreager/subscriptions",
"organizations_url": "https://api.github.com/users/dcreager/orgs",
"repos_url": "https://api.github.com/users/dcreager/repos",
"events_url": "https://api.github.com/users/dcreager/events{/privacy},",
"received_events_url": "https://api.github.com/users/dcreager/received_events",
"type": "User",
"site_admin": true,
"name": "Douglas Creager",
"company": null,
"blog": "https://dcreager.net/",
"location": "Southborough, MA",
"email": null,
"hireable": null,
"bio": "Walking Quest for Glory 2 hint book",
"twitter_username": null,
"public_repos": 80,
"public_gists": 10,
"followers": 133,
"following": 15,
"created_at": "2008-04-15T23:40:20Z",
"updated_at": "2021-02-26T18:20:50Z"
},
{
"login": "isaacs",
"id": 9287,
"node_id": "MDQ6VXNlcjkyODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/9287?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/isaacs",
"html_url": "https://github.com/isaacs",
"followers_url": "https://api.github.com/users/isaacs/followers",
"following_url": "https://api.github.com/users/isaacs/following{/other_user},",
"gists_url": "https://api.github.com/users/isaacs/gists{/gist_id},",
"starred_url": "https://api.github.com/users/isaacs/starred{/owner},{/repo}",
"subscriptions_url": "https://api.github.com/users/isaacs/subscriptions",
"organizations_url": "https://api.github.com/users/isaacs/orgs",
"repos_url": "https://api.github.com/users/isaacs/repos",
"events_url": "https://api.github.com/users/isaacs/events{/privacy},",
"received_events_url": "https://api.github.com/users/isaacs/received_events",
"type": "User",
"site_admin": true,
"name": "isaacs",
"company": "GitHub",
"blog": "http://blog.izs.me",
"location": "Oakland CA",
"email": null,
"hireable": null,
"bio": "Principal Engineer at GitHub\r\nnpm inventor, founder npm, Inc.\r\nFormer Node BDFL.\r\nAll opinions are my own. Literally all of them. I own them all. He/him",
"twitter_username": null,
"public_repos": 407,
"public_gists": 1269,
"followers": 11734,
"following": 4,
"created_at": "2008-05-04T19:43:46Z",
"updated_at": "2021-02-25T01:42:16Z"
},
{
"login": "danhodos",
"id": 10109,
"node_id": "MDQ6VXNlcjEwMTA5",
"avatar_url": "https://avatars.githubusercontent.com/u/10109?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/danhodos",
"html_url": "https://github.com/danhodos",
"followers_url": "https://api.github.com/users/danhodos/followers",
"following_url": "https://api.github.com/users/danhodos/following{/other_user},",
"gists_url": "https://api.github.com/users/danhodos/gists{/gist_id},",
"starred_url": "https://api.github.com/users/danhodos/starred{/owner},{/repo}",
"subscriptions_url": "https://api.github.com/users/danhodos/subscriptions",
"organizations_url": "https://api.github.com/users/danhodos/orgs",
"repos_url": "https://api.github.com/users/danhodos/repos",
"events_url": "https://api.github.com/users/danhodos/events{/privacy},",
"received_events_url": "https://api.github.com/users/danhodos/received_events",
"type": "User",
"site_admin": true,
"name": "Dan Hodos",
"company": "GitHub",
"blog": "",
"location": "New York, NY",
"email": null,
"hireable": null,
"bio": "Scalawag.",
"twitter_username": null,
"public_repos": 18,
"public_gists": 6,
"followers": 23,
"following": 13,
"created_at": "2008-05-13T01:01:47Z",
"updated_at": "2021-02-26T22:41:19Z"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment