Skip to content

Instantly share code, notes, and snippets.

@brondsem
Created September 6, 2013 06:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brondsem/6460092 to your computer and use it in GitHub Desktop.
Save brondsem/6460092 to your computer and use it in GitHub Desktop.
$ curl -i -H Accept:application/vnd.github.preview 'https://api.github.com/search/code?q=size%3A%3E1500+path%3Arequirements+extension%3Atxt' | head -n 100
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0HTTP/1.1 200 OK
Server: GitHub.com
Date: Fri, 06 Sep 2013 06:03:21 GMT
Content-Type: application/json; charset=utf-8
Status: 200 OK
X-RateLimit-Limit: 5
X-RateLimit-Remaining: 2
X-RateLimit-Reset: 1378447414
X-GitHub-Media-Type: github.preview
Link: <https://api.github.com/search/code?q=size%3A%3E1500+path%3Arequirements+extension%3Atxt&page=2>; rel="next", <https://api.github.com/search/code?q=size%3A%3E1500+path%3Arequirements+extension%3Atxt&page=9>; rel="last"
X-Content-Type-Options: nosniff
Cache-Control: public, max-age=60, s-maxage=60
ETag: "f844d2e9336702afbd57c68f86be8619"
Content-Length: 159972
Access-Control-Allow-Credentials: true
Access-Control-Expose-Headers: ETag, Link, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes
Access-Control-Allow-Origin: *
X-GitHub-Request-Id: 1e80d335-72db-42c9-9d76-48a35b53d82d
Vary: Accept-Encoding
{
"total_count": 249,
"items": [
{
"name": "requirements.txt",
"path": "requirements.txt",
"sha": "be396fdea995978db11767549711e118a8c40fbd",
"url": "https://api.github.com/repositories/1037921/contents/requirements.txt?ref=cc276f33bad5bee3ad521c7bfcee9f40bf97bbbf",
"git_url": "https://api.github.com/repositories/1037921/git/blobs/be396fdea995978db11767549711e118a8c40fbd",
"html_url": "https://github.com/evantravers/WebSnatcher/blob/cc276f33bad5bee3ad521c7bfcee9f40bf97bbbf/requirements.txt",
"repository": {
"id": 1037921,
"name": "WebSnatcher",
"full_name": "evantravers/WebSnatcher",
"owner": {
"login": "evantravers",
"id": 62209,
"avatar_url": "https://0.gravatar.com/avatar/9e6166c600855c88ec5167c15850471a?d=https%3A%2F%2Fidenticons.github.com%2F40efa14d69b3b67cb5f4793c34898ad3.png",
"gravatar_id": "9e6166c600855c88ec5167c15850471a",
"url": "https://api.github.com/users/evantravers",
"html_url": "https://github.com/evantravers",
"followers_url": "https://api.github.com/users/evantravers/followers",
"following_url": "https://api.github.com/users/evantravers/following{/other_user}",
"gists_url": "https://api.github.com/users/evantravers/gists{/gist_id}",
"starred_url": "https://api.github.com/users/evantravers/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/evantravers/subscriptions",
"organizations_url": "https://api.github.com/users/evantravers/orgs",
"repos_url": "https://api.github.com/users/evantravers/repos",
"events_url": "https://api.github.com/users/evantravers/events{/privacy}",
"received_events_url": "https://api.github.com/users/evantravers/received_events",
"type": "User"
},
"private": false,
"html_url": "https://github.com/evantravers/WebSnatcher",
"description": "WebSnatcher downloads and optimizes websites, comparing files to find similar ones to avoid saving duplicates.",
"fork": false,
"url": "https://api.github.com/repos/evantravers/WebSnatcher",
"forks_url": "https://api.github.com/repos/evantravers/WebSnatcher/forks",
"keys_url": "https://api.github.com/repos/evantravers/WebSnatcher/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/evantravers/WebSnatcher/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/evantravers/WebSnatcher/teams",
"hooks_url": "https://api.github.com/repos/evantravers/WebSnatcher/hooks",
"issue_events_url": "https://api.github.com/repos/evantravers/WebSnatcher/issues/events{/number}",
"events_url": "https://api.github.com/repos/evantravers/WebSnatcher/events",
"assignees_url": "https://api.github.com/repos/evantravers/WebSnatcher/assignees{/user}",
"branches_url": "https://api.github.com/repos/evantravers/WebSnatcher/branches{/branch}",
"tags_url": "https://api.github.com/repos/evantravers/WebSnatcher/tags",
"blobs_url": "https://api.github.com/repos/evantravers/WebSnatcher/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/evantravers/WebSnatcher/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/evantravers/WebSnatcher/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/evantravers/WebSnatcher/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/evantravers/WebSnatcher/statuses/{sha}",
"languages_url": "https://api.github.com/repos/evantravers/WebSnatcher/languages",
"stargazers_url": "https://api.github.com/repos/evantravers/WebSnatcher/stargazers",
"contributors_url": "https://api.github.com/repos/evantravers/WebSnatcher/contributors",
"subscribers_url": "https://api.github.com/repos/evantravers/WebSnatcher/subscribers",
"subscription_url": "https://api.github.com/repos/evantravers/WebSnatcher/subscription",
"commits_url": "https://api.github.com/repos/evantravers/WebSnatcher/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/evantravers/WebSnatcher/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/evantravers/WebSnatcher/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/evantravers/WebSnatcher/issues/comments/{number}",
"contents_url": "https://api.github.com/repos/evantravers/WebSnatcher/contents/{+path}",
"compare_url": "https://api.github.com/repos/evantravers/WebSnatcher/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/evantravers/WebSnatcher/merges",
"archive_url": "https://api.github.com/repos/evantravers/WebSnatcher/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/evantravers/WebSnatcher/downloads",
"issues_url": "https://api.github.com/repos/evantravers/WebSnatcher/issues{/number}",
"pulls_url": "https://api.github.com/repos/evantravers/WebSnatcher/pulls{/number}",
"milestones_url": "https://api.github.com/repos/evantravers/WebSnatcher/milestones{/number}",
"notifications_url": "https://api.github.com/repos/evantravers/WebSnatcher/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/evantravers/WebSnatcher/labels{/name}"
},
"score": 1.0
},
{
"name": "requirements_questions.txt",
"path": "requirements_questions/requirements_questions.txt",
"sha": "11e869c853e0806fc2f9cdda90865c4334367b72",
"url": "https://api.github.com/repositories/3323214/contents/requirements_questions/requirements_questions.txt?ref=d0ec55e07f303c423da985d7f463b630914f6eff",
"git_url": "https://api.github.com/repositories/3323214/git/blobs/11e869c853e0806fc2f9cdda90865c4334367b72",
brondsem@be:~/downloads$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment