Last active
May 19, 2019 03:50
-
-
Save bwangelme/788cc61e135aa642836675fc8de8230e to your computer and use it in GitHub Desktop.
google custom search
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"kind": "customsearch#search", | |
"url": { | |
"type": "application/json", | |
"template": "https://www.googleapis.com/customsearch/v1?q={searchTerms}&num={count?}&start={startIndex?}&lr={language?}&safe={safe?}&cx={cx?}&sort={sort?}&filter={filter?}&gl={gl?}&cr={cr?}&googlehost={googleHost?}&c2coff={disableCnTwTranslation?}&hq={hq?}&hl={hl?}&siteSearch={siteSearch?}&siteSearchFilter={siteSearchFilter?}&exactTerms={exactTerms?}&excludeTerms={excludeTerms?}&linkSite={linkSite?}&orTerms={orTerms?}&relatedSite={relatedSite?}&dateRestrict={dateRestrict?}&lowRange={lowRange?}&highRange={highRange?}&searchType={searchType}&fileType={fileType?}&rights={rights?}&imgSize={imgSize?}&imgType={imgType?}&imgColorType={imgColorType?}&imgDominantColor={imgDominantColor?}&alt=json" | |
}, | |
"queries": { | |
"request": [{ | |
"title": "Google Custom Search - Go", | |
"totalResults": "226000", | |
"searchTerms": "Go", | |
"count": 10, | |
"startIndex": 1, | |
"inputEncoding": "utf8", | |
"outputEncoding": "utf8", | |
"safe": "off", | |
"cx": "017618265042162313223:x79ncj1o0jk" | |
}], | |
"nextPage": [{ | |
"title": "Google Custom Search - Go", | |
"totalResults": "226000", | |
"searchTerms": "Go", | |
"count": 10, | |
"startIndex": 11, | |
"inputEncoding": "utf8", | |
"outputEncoding": "utf8", | |
"safe": "off", | |
"cx": "017618265042162313223:x79ncj1o0jk" | |
}] | |
}, | |
"context": { | |
"title": "bwangel23 的 Gist 检索引擎" | |
}, | |
"searchInformation": { | |
"searchTime": 0.463179, | |
"formattedSearchTime": "0.46", | |
"totalResults": "226000", | |
"formattedTotalResults": "226,000" | |
}, | |
"items": [{ | |
"kind": "customsearch#result", | |
"title": "Discover gists · GitHub", | |
"htmlTitle": "Discover gists · GitHub", | |
"link": "https://gist.github.com/", | |
"displayLink": "gist.github.com", | |
"snippet": "GitHub Gist: instantly share code, notes, and snippets.", | |
"htmlSnippet": "GitHub Gist: instantly share code, notes, and snippets.", | |
"cacheId": "9_Q-Iw5TmwMJ", | |
"formattedUrl": "https://gist.github.com/", | |
"htmlFormattedUrl": "https://gist.github.com/", | |
"pagemap": { | |
"cse_thumbnail": [{ | |
"width": "180", | |
"height": "180", | |
"src": "https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcTnBIk_5PPKLhKT1MF87_q_9Jz_Sbv0eTHYieOrClNCOC0Tx5HLBIM2YS4" | |
}], | |
"code": [{ | |
"text": "/* Add WooCommerce Bookings Data in the Cart */ add_filter( 'woocommerce_add_cart_item_data', array( $this, 'wdm_add_cities_to_cart' ), 11, 2 ); // the function accepts two parameters, the..." | |
}], | |
"metatags": [{ | |
"viewport": "width=device-width", | |
"fb:app_id": "1401488693436528", | |
"twitter:image:src": "https://github.com/opengraph.png", | |
"twitter:site": "@github", | |
"twitter:card": "summary_large_image", | |
"twitter:title": "Discover gists", | |
"twitter:description": "GitHub Gist: instantly share code, notes, and snippets.", | |
"og:image": "https://github.com/opengraph.png", | |
"og:site_name": "Gist", | |
"og:type": "website", | |
"og:title": "Discover gists", | |
"og:description": "GitHub Gist: instantly share code, notes, and snippets.", | |
"pjax-timeout": "1000", | |
"request-id": "F763:3AF6:1512900:22EDC53:5CE096C2", | |
"octolytics-host": "collector.githubapp.com", | |
"octolytics-app-id": "gist", | |
"octolytics-event-url": "https://collector.githubapp.com/github-external/browser_event", | |
"octolytics-dimension-request_id": "F763:3AF6:1512900:22EDC53:5CE096C2", | |
"octolytics-dimension-region_edge": "iad", | |
"octolytics-dimension-region_render": "iad", | |
"analytics-location": "/discover", | |
"google-analytics": "UA-3769691-4", | |
"dimension1": "Logged Out", | |
"hostname": "gist.github.com", | |
"expected-hostname": "gist.github.com", | |
"js-proxy-site-detection-payload": "ODk0ZjQwNDU0ZmJjMTQwZWZmOTZmNDQ0NWY4NzUxMGZhZGJjZDYwZDdkMmNjMTNlY2NjOWY5MWNjYmVmNzNmYnx7InJlbW90ZV9hZGRyZXNzIjoiNjYuMjQ5LjY0LjEzOCIsInJlcXVlc3RfaWQiOiJGNzYzOjNBRjY6MTUxMjkwMDoyMkVEQzUzOjVDRTA5NkMyIiwidGltZXN0YW1wIjoxNTU4MjIyNTMwLCJob3N0IjoiZ2l0aHViLmNvbSJ9", | |
"enabled-features": "UNIVERSE_BANNER,MARKETPLACE_INVOICED_BILLING,MARKETPLACE_SOCIAL_PROOF_CUSTOMERS,MARKETPLACE_TRENDING_SOCIAL_PROOF,MARKETPLACE_RECOMMENDATIONS", | |
"html-safe-nonce": "1f06261eadd17134e46cd7ee48cb05f605aa09d5", | |
"browser-stats-url": "https://api.github.com/_private/browser/stats", | |
"browser-errors-url": "https://api.github.com/_private/browser/errors", | |
"theme-color": "#1e2327" | |
}], | |
"cse_image": [{ | |
"src": "https://github.com/opengraph.png" | |
}] | |
} | |
}, | |
{ | |
"kind": "customsearch#result", | |
"title": "Visualize your local Git contributions with Go. https://flaviocopes.com ...", | |
"htmlTitle": "Visualize your local Git contributions with \u003cb\u003eGo\u003c/b\u003e. https://flaviocopes.com ...", | |
"link": "https://gist.github.com/flaviocopes/bf2f982ee8f2ae3f455b06c7b2b03695", | |
"displayLink": "gist.github.com", | |
"snippet": "Feb 10, 2019 ... Visualize your local Git contributions with Go. https://flaviocopes.com/go-git-\ncontributions/ - Visualize your local Git contributions with Go.md.", | |
"htmlSnippet": "Feb 10, 2019 \u003cb\u003e...\u003c/b\u003e Visualize your local Git contributions with \u003cb\u003eGo\u003c/b\u003e. https://flaviocopes.com/\u003cb\u003ego\u003c/b\u003e-git-\u003cbr\u003e\ncontributions/ - Visualize your local Git contributions with \u003cb\u003eGo\u003c/b\u003e.md.", | |
"cacheId": "fD6M6giujcUJ", | |
"formattedUrl": "https://gist.github.com/.../bf2f982ee8f2ae3f455b06c7b2b03695", | |
"htmlFormattedUrl": "https://gist.github.com/.../bf2f982ee8f2ae3f455b06c7b2b03695", | |
"pagemap": { | |
"cse_thumbnail": [{ | |
"width": "225", | |
"height": "225", | |
"src": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcShKBgA7OH02RJ_qGaRa3fOL_uJ9b7YKDIxxdX4jPfuYMvqtGdrdj3J2UI" | |
}], | |
"code": [{ | |
"name": "Visualize your local Git contributions with Go.md", | |
"about": "Visualize your local Git contributions with Go. https://flaviocopes.com/go-git-contributions/", | |
"text": "package main import ( \"flag\") func main() { var folder string var email string flag.StringVar(&folder, \"add\", \"\", \"add a new folder to scan for Git repositories\") flag.StringVar(&email, \"email\",..." | |
}], | |
"metatags": [{ | |
"viewport": "width=device-width", | |
"fb:app_id": "1401488693436528", | |
"twitter:image:src": "https://avatars0.githubusercontent.com/u/11783388?s=400&v=4", | |
"twitter:site": "@github", | |
"twitter:card": "summary_large_image", | |
"twitter:title": "Visualize your local Git contributions with Go. https://flaviocopes.com/go-git-contributions/", | |
"twitter:description": "Visualize your local Git contributions with Go. https://flaviocopes.com/go-git-contributions/ - Visualize your local Git contributions with Go.md", | |
"og:image": "https://avatars0.githubusercontent.com/u/11783388?s=400&v=4", | |
"og:site_name": "Gist", | |
"og:type": "article", | |
"og:title": "Visualize your local Git contributions with Go. https://flaviocopes.com/go-git-contributions/", | |
"og:url": "https://gist.github.com/flaviocopes/bf2f982ee8f2ae3f455b06c7b2b03695", | |
"og:description": "Visualize your local Git contributions with Go. https://flaviocopes.com/go-git-contributions/ - Visualize your local Git contributions with Go.md", | |
"article:author": "262588213843476", | |
"article:publisher": "262588213843476", | |
"pjax-timeout": "1000", | |
"request-id": "EB9C:54A0:FACF5A:1A6DDCE:5CCC3EBB", | |
"octolytics-host": "collector.githubapp.com", | |
"octolytics-app-id": "gist", | |
"octolytics-event-url": "https://collector.githubapp.com/github-external/browser_event", | |
"octolytics-dimension-request_id": "EB9C:54A0:FACF5A:1A6DDCE:5CCC3EBB", | |
"octolytics-dimension-region_edge": "iad", | |
"octolytics-dimension-region_render": "iad", | |
"analytics-location": "/\u003cuser-name\u003e/\u003cgist-id\u003e", | |
"google-analytics": "UA-3769691-4", | |
"dimension1": "Logged Out", | |
"octolytics-dimension-public": "true", | |
"octolytics-dimension-gist_id": "73543741", | |
"octolytics-dimension-gist_name": "bf2f982ee8f2ae3f455b06c7b2b03695", | |
"octolytics-dimension-anonymous": "false", | |
"octolytics-dimension-owner_id": "11783388", | |
"octolytics-dimension-owner_login": "flaviocopes", | |
"octolytics-dimension-forked": "false", | |
"dimension5": "public", | |
"dimension6": "owned", | |
"dimension7": "go markdown", | |
"hostname": "gist.github.com", | |
"expected-hostname": "gist.github.com", | |
"js-proxy-site-detection-payload": "NmYxMWNjMDliZmMxNGY5MTYxOGMyMGQ0MzlkZjViZGVjMGE1MTgyMGUyNDMyYTc3YjY2Y2EzYjI1NWI1OTQ0MXx7InJlbW90ZV9hZGRyZXNzIjoiNjYuMjQ5LjY0LjEyOSIsInJlcXVlc3RfaWQiOiJFQjlDOjU0QTA6RkFDRjVBOjFBNkREQ0U6NUNDQzNFQkIiLCJ0aW1lc3RhbXAiOjE1NTY4ODkyNzYsImhvc3QiOiJnaXRodWIuY29tIn0=", | |
"enabled-features": "UNIVERSE_BANNER,MARKETPLACE_INVOICED_BILLING,MARKETPLACE_SOCIAL_PROOF_CUSTOMERS,MARKETPLACE_TRENDING_SOCIAL_PROOF,MARKETPLACE_RECOMMENDATIONS", | |
"html-safe-nonce": "ce3368a4e589e348ce56592b5d647f6b47b9f5cc", | |
"browser-stats-url": "https://api.github.com/_private/browser/stats", | |
"browser-errors-url": "https://api.github.com/_private/browser/errors", | |
"theme-color": "#1e2327" | |
}], | |
"cse_image": [{ | |
"src": "https://avatars0.githubusercontent.com/u/11783388?s=400&v=4" | |
}] | |
} | |
}, | |
{ | |
"kind": "customsearch#result", | |
"title": "Why I Like Go · GitHub", | |
"htmlTitle": "Why I Like \u003cb\u003eGo\u003c/b\u003e · GitHub", | |
"link": "https://gist.github.com/freeformz/4746274", | |
"displayLink": "gist.github.com", | |
"snippet": "Why I Like Go. GitHub Gist: instantly share code, notes, and snippets.", | |
"htmlSnippet": "Why I Like \u003cb\u003eGo\u003c/b\u003e. GitHub Gist: instantly share code, notes, and snippets.", | |
"cacheId": "_FIl878Oj4sJ", | |
"formattedUrl": "https://gist.github.com/freeformz/4746274", | |
"htmlFormattedUrl": "https://gist.github.com/freeformz/4746274", | |
"pagemap": { | |
"cse_thumbnail": [{ | |
"width": "225", | |
"height": "225", | |
"src": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS7_AS-qvDqMZ-ODaF85ht_s9H8iN2m4NjFLRnELN47k8J-BQyknb_fAHRM" | |
}], | |
"code": [{ | |
"name": "WhyILikeGo.md", | |
"about": "Why I Like Go", | |
"text": "A slightly updated version of this doc is here on my website. Why I Like Go I visited with PagerDuty yesterday for a little Friday beer and pizza. While there I got started talking about Go...." | |
}], | |
"metatags": [{ | |
"viewport": "width=device-width", | |
"fb:app_id": "1401488693436528", | |
"twitter:image:src": "https://avatars0.githubusercontent.com/u/103?s=400&v=4", | |
"twitter:site": "@github", | |
"twitter:card": "summary_large_image", | |
"twitter:title": "Why I Like Go", | |
"twitter:description": "Why I Like Go. GitHub Gist: instantly share code, notes, and snippets.", | |
"og:image": "https://avatars0.githubusercontent.com/u/103?s=400&v=4", | |
"og:site_name": "Gist", | |
"og:type": "article", | |
"og:title": "Why I Like Go", | |
"og:url": "https://gist.github.com/freeformz/4746274", | |
"og:description": "Why I Like Go. GitHub Gist: instantly share code, notes, and snippets.", | |
"article:author": "262588213843476", | |
"article:publisher": "262588213843476", | |
"pjax-timeout": "1000", | |
"request-id": "E022:187F:37A16:5F026:5CDD62AF", | |
"octolytics-host": "collector.githubapp.com", | |
"octolytics-app-id": "gist", | |
"octolytics-event-url": "https://collector.githubapp.com/github-external/browser_event", | |
"octolytics-dimension-request_id": "E022:187F:37A16:5F026:5CDD62AF", | |
"octolytics-dimension-region_edge": "iad", | |
"octolytics-dimension-region_render": "iad", | |
"analytics-location": "/\u003cuser-name\u003e/\u003cgist-id\u003e", | |
"google-analytics": "UA-3769691-4", | |
"dimension1": "Logged Out", | |
"octolytics-dimension-public": "true", | |
"octolytics-dimension-gist_id": "4746274", | |
"octolytics-dimension-gist_name": "4746274", | |
"octolytics-dimension-anonymous": "false", | |
"octolytics-dimension-owner_id": "103", | |
"octolytics-dimension-owner_login": "freeformz", | |
"octolytics-dimension-forked": "false", | |
"dimension5": "public", | |
"dimension6": "owned", | |
"dimension7": "markdown", | |
"hostname": "gist.github.com", | |
"expected-hostname": "gist.github.com", | |
"js-proxy-site-detection-payload": "NzJhMTYyMDNhOTYzOWY2Zjc3MGYxMDcyZTg5NzdhNjdmYThmMjk5NTdiOTNjNmQxMzQ4ZDk2MjljMGQ3Zjc0Nnx7InJlbW90ZV9hZGRyZXNzIjoiNjYuMjQ5LjY0LjEzOCIsInJlcXVlc3RfaWQiOiJFMDIyOjE4N0Y6MzdBMTY6NUYwMjY6NUNERDYyQUYiLCJ0aW1lc3RhbXAiOjE1NTgwMTI1OTEsImhvc3QiOiJnaXRodWIuY29tIn0=", | |
"enabled-features": "UNIVERSE_BANNER,MARKETPLACE_INVOICED_BILLING,MARKETPLACE_SOCIAL_PROOF_CUSTOMERS,MARKETPLACE_TRENDING_SOCIAL_PROOF,MARKETPLACE_RECOMMENDATIONS", | |
"html-safe-nonce": "0fe225d7ce1c540a1717c3e42727bdb8456bec73", | |
"browser-stats-url": "https://api.github.com/_private/browser/stats", | |
"browser-errors-url": "https://api.github.com/_private/browser/errors", | |
"theme-color": "#1e2327" | |
}], | |
"cse_image": [{ | |
"src": "https://avatars0.githubusercontent.com/u/103?s=400&v=4" | |
}] | |
} | |
}, | |
{ | |
"kind": "customsearch#result", | |
"title": "Go (Golang) GOOS and GOARCH · GitHub", | |
"htmlTitle": "\u003cb\u003eGo\u003c/b\u003e (Golang) GOOS and GOARCH · GitHub", | |
"link": "https://gist.github.com/asukakenji/f15ba7e588ac42795f421b48b8aede63", | |
"displayLink": "gist.github.com", | |
"snippet": "Go (Golang) GOOS and GOARCH. GitHub Gist: instantly share code, notes, and \nsnippets.", | |
"htmlSnippet": "\u003cb\u003eGo\u003c/b\u003e (Golang) GOOS and GOARCH. GitHub Gist: instantly share code, notes, and \u003cbr\u003e\nsnippets.", | |
"cacheId": "J0FN0pImeaIJ", | |
"formattedUrl": "https://gist.github.com/.../f15ba7e588ac42795f421b48b8aede63", | |
"htmlFormattedUrl": "https://gist.github.com/.../f15ba7e588ac42795f421b48b8aede63", | |
"pagemap": { | |
"cse_thumbnail": [{ | |
"width": "225", | |
"height": "225", | |
"src": "https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcSxIqwE4jL14Bpm0PZyNm2BxyBeeDpiPbEOP_xDmRs8N1oOSijoicUIrn2N" | |
}], | |
"code": [{ | |
"name": "go-os-arch.md", | |
"about": "Go (Golang) GOOS and GOARCH", | |
"text": "Go (Golang) GOOS and GOARCH All of the following information is based on go version go1.8.3 darwin/amd64. A list of valid GOOS values (Bold = supported by go out of the box, ie. without the..." | |
}], | |
"metatags": [{ | |
"viewport": "width=device-width", | |
"fb:app_id": "1401488693436528", | |
"twitter:image:src": "https://avatars0.githubusercontent.com/u/2888472?s=400&v=4", | |
"twitter:site": "@github", | |
"twitter:card": "summary_large_image", | |
"twitter:title": "Go (Golang) GOOS and GOARCH", | |
"twitter:description": "Go (Golang) GOOS and GOARCH. GitHub Gist: instantly share code, notes, and snippets.", | |
"og:image": "https://avatars0.githubusercontent.com/u/2888472?s=400&v=4", | |
"og:site_name": "Gist", | |
"og:type": "article", | |
"og:title": "Go (Golang) GOOS and GOARCH", | |
"og:url": "https://gist.github.com/asukakenji/f15ba7e588ac42795f421b48b8aede63", | |
"og:description": "Go (Golang) GOOS and GOARCH. GitHub Gist: instantly share code, notes, and snippets.", | |
"article:author": "262588213843476", | |
"article:publisher": "262588213843476", | |
"pjax-timeout": "1000", | |
"request-id": "BA96:28DF:3DD7FF:6BE364:5CDDFF62", | |
"octolytics-host": "collector.githubapp.com", | |
"octolytics-app-id": "gist", | |
"octolytics-event-url": "https://collector.githubapp.com/github-external/browser_event", | |
"octolytics-dimension-request_id": "BA96:28DF:3DD7FF:6BE364:5CDDFF62", | |
"octolytics-dimension-region_edge": "iad", | |
"octolytics-dimension-region_render": "iad", | |
"analytics-location": "/\u003cuser-name\u003e/\u003cgist-id\u003e", | |
"google-analytics": "UA-3769691-4", | |
"dimension1": "Logged Out", | |
"octolytics-dimension-public": "true", | |
"octolytics-dimension-gist_id": "77362516", | |
"octolytics-dimension-gist_name": "f15ba7e588ac42795f421b48b8aede63", | |
"octolytics-dimension-anonymous": "false", | |
"octolytics-dimension-owner_id": "2888472", | |
"octolytics-dimension-owner_login": "asukakenji", | |
"octolytics-dimension-forked": "false", | |
"dimension5": "public", | |
"dimension6": "owned", | |
"dimension7": "markdown", | |
"hostname": "gist.github.com", | |
"expected-hostname": "gist.github.com", | |
"js-proxy-site-detection-payload": "YzUxYzZlYWRmYzhjMmNkOWU3ZWFlZmJjN2UxNTAyOTM5NjBiYmZjOGQxZTU0NDM2NWRlMWRiNTFhNDQ4ZjMyYnx7InJlbW90ZV9hZGRyZXNzIjoiNjYuMjQ5LjY0LjE0MCIsInJlcXVlc3RfaWQiOiJCQTk2OjI4REY6M0REN0ZGOjZCRTM2NDo1Q0RERkY2MiIsInRpbWVzdGFtcCI6MTU1ODA1MjcwNywiaG9zdCI6ImdpdGh1Yi5jb20ifQ==", | |
"enabled-features": "UNIVERSE_BANNER,MARKETPLACE_INVOICED_BILLING,MARKETPLACE_SOCIAL_PROOF_CUSTOMERS,MARKETPLACE_TRENDING_SOCIAL_PROOF,MARKETPLACE_RECOMMENDATIONS", | |
"html-safe-nonce": "d82224ae6545bee05513f210dd5e729fbccee3f5", | |
"browser-stats-url": "https://api.github.com/_private/browser/stats", | |
"browser-errors-url": "https://api.github.com/_private/browser/errors", | |
"theme-color": "#1e2327" | |
}], | |
"cse_image": [{ | |
"src": "https://avatars0.githubusercontent.com/u/2888472?s=400&v=4" | |
}] | |
} | |
}, | |
{ | |
"kind": "customsearch#result", | |
"title": "Story: Writing Scripts with Go · GitHub", | |
"htmlTitle": "Story: Writing Scripts with \u003cb\u003eGo\u003c/b\u003e · GitHub", | |
"link": "https://gist.github.com/posener/73ffd326d88483df6b1cb66e8ed1e0bd", | |
"displayLink": "gist.github.com", | |
"snippet": "Go is very good for a lot of purposes, from writing web servers, to process \nmanagement, and some say even systems. In the following article, I argue, that in\n ...", | |
"htmlSnippet": "\u003cb\u003eGo\u003c/b\u003e is very good for a lot of purposes, from writing web servers, to process \u003cbr\u003e\nmanagement, and some say even systems. In the following article, I argue, that in\u003cbr\u003e\n ...", | |
"cacheId": "OFpVQvAq1iAJ", | |
"formattedUrl": "https://gist.github.com/.../73ffd326d88483df6b1cb66e8ed1e0bd", | |
"htmlFormattedUrl": "https://gist.github.com/.../73ffd326d88483df6b1cb66e8ed1e0bd", | |
"pagemap": { | |
"cse_thumbnail": [{ | |
"width": "225", | |
"height": "225", | |
"src": "https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcQ_wcWXyKl8QCPblByRTOsNIMfqtEJci-GcuJloU3uYm9wQ_HBXQl4-kdM" | |
}], | |
"code": [{ | |
"name": "go-shebang-story.md", | |
"about": "Story: Writing Scripts with Go", | |
"text": "Story: Writing Scripts with Go This is a story about how I tried to use Go for scripting. In this story, I’ll discuss the need for a Go script, how we would expect it to behave and the possible..." | |
}], | |
"metatags": [{ | |
"viewport": "width=device-width", | |
"fb:app_id": "1401488693436528", | |
"twitter:image:src": "https://avatars2.githubusercontent.com/u/919294?s=400&v=4", | |
"twitter:site": "@github", | |
"twitter:card": "summary_large_image", | |
"twitter:title": "Story: Writing Scripts with Go", | |
"twitter:description": "Story: Writing Scripts with Go. GitHub Gist: instantly share code, notes, and snippets.", | |
"og:image": "https://avatars2.githubusercontent.com/u/919294?s=400&v=4", | |
"og:site_name": "Gist", | |
"og:type": "article", | |
"og:title": "Story: Writing Scripts with Go", | |
"og:url": "https://gist.github.com/posener/73ffd326d88483df6b1cb66e8ed1e0bd", | |
"og:description": "Story: Writing Scripts with Go. GitHub Gist: instantly share code, notes, and snippets.", | |
"article:author": "262588213843476", | |
"article:publisher": "262588213843476", | |
"pjax-timeout": "1000", | |
"request-id": "DBE4:496E:3C5E6D:63E2CF:5CDDD5D2", | |
"octolytics-host": "collector.githubapp.com", | |
"octolytics-app-id": "gist", | |
"octolytics-event-url": "https://collector.githubapp.com/github-external/browser_event", | |
"octolytics-dimension-request_id": "DBE4:496E:3C5E6D:63E2CF:5CDDD5D2", | |
"octolytics-dimension-region_edge": "iad", | |
"octolytics-dimension-region_render": "iad", | |
"analytics-location": "/\u003cuser-name\u003e/\u003cgist-id\u003e", | |
"google-analytics": "UA-3769691-4", | |
"dimension1": "Logged Out", | |
"octolytics-dimension-public": "true", | |
"octolytics-dimension-gist_id": "77540893", | |
"octolytics-dimension-gist_name": "73ffd326d88483df6b1cb66e8ed1e0bd", | |
"octolytics-dimension-anonymous": "false", | |
"octolytics-dimension-owner_id": "919294", | |
"octolytics-dimension-owner_login": "posener", | |
"octolytics-dimension-forked": "false", | |
"dimension5": "public", | |
"dimension6": "owned", | |
"dimension7": "markdown", | |
"hostname": "gist.github.com", | |
"expected-hostname": "gist.github.com", | |
"js-proxy-site-detection-payload": "Njg4ZGJlYWFmYTQxOTNlMmE1Nzk0NGZiMGI0NjRiMzczMzg4ODk1MDBkZDM4Mzg0MzM0YTZmYjVjZGY0YzJmM3x7InJlbW90ZV9hZGRyZXNzIjoiNjYuMjQ5LjY0LjEzOCIsInJlcXVlc3RfaWQiOiJEQkU0OjQ5NkU6M0M1RTZEOjYzRTJDRjo1Q0RERDVEMiIsInRpbWVzdGFtcCI6MTU1ODA0MjA2NywiaG9zdCI6ImdpdGh1Yi5jb20ifQ==", | |
"enabled-features": "UNIVERSE_BANNER,MARKETPLACE_INVOICED_BILLING,MARKETPLACE_SOCIAL_PROOF_CUSTOMERS,MARKETPLACE_TRENDING_SOCIAL_PROOF,MARKETPLACE_RECOMMENDATIONS", | |
"html-safe-nonce": "1232ef04a1b31472b204b17762b50f2267777b99", | |
"browser-stats-url": "https://api.github.com/_private/browser/stats", | |
"browser-errors-url": "https://api.github.com/_private/browser/errors", | |
"theme-color": "#1e2327" | |
}], | |
"cse_image": [{ | |
"src": "https://avatars2.githubusercontent.com/u/919294?s=400&v=4" | |
}] | |
} | |
}, | |
{ | |
"kind": "customsearch#result", | |
"title": "Install go on ubuntu · GitHub", | |
"htmlTitle": "Install \u003cb\u003ego\u003c/b\u003e on ubuntu · GitHub", | |
"link": "https://gist.github.com/missinglink/4212a81a7d9c125b68d9", | |
"displayLink": "gist.github.com", | |
"snippet": "Feb 5, 2019 ... Install go on ubuntu. GitHub Gist: instantly share code, notes, and snippets.", | |
"htmlSnippet": "Feb 5, 2019 \u003cb\u003e...\u003c/b\u003e Install \u003cb\u003ego\u003c/b\u003e on ubuntu. GitHub Gist: instantly share code, notes, and snippets.", | |
"cacheId": "Qbl-zABb9S4J", | |
"formattedUrl": "https://gist.github.com/missinglink/4212a81a7d9c125b68d9", | |
"htmlFormattedUrl": "https://gist.github.com/missinglink/4212a81a7d9c125b68d9", | |
"pagemap": { | |
"cse_thumbnail": [{ | |
"width": "225", | |
"height": "225", | |
"src": "https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcQ2a6F4Yu4M4cTF87pzOQ0d7i5VE7slDy3aVKuEweuEZVxXAdKAyxgnGHQ" | |
}], | |
"code": [{ | |
"name": "go-ubuntu-install.md", | |
"about": "Install go on ubuntu", | |
"text": "note: always check for the latest versions, the version numbers shown here will fall out of date quickly. Installing Go on Ubuntu: Step 1. Grab yourself a binary release from here: https://golang.o..." | |
}], | |
"metatags": [{ | |
"viewport": "width=device-width", | |
"fb:app_id": "1401488693436528", | |
"twitter:image:src": "https://avatars3.githubusercontent.com/u/738069?s=400&v=4", | |
"twitter:site": "@github", | |
"twitter:card": "summary_large_image", | |
"twitter:title": "Install go on ubuntu", | |
"twitter:description": "Install go on ubuntu. GitHub Gist: instantly share code, notes, and snippets.", | |
"og:image": "https://avatars3.githubusercontent.com/u/738069?s=400&v=4", | |
"og:site_name": "Gist", | |
"og:type": "article", | |
"og:title": "Install go on ubuntu", | |
"og:url": "https://gist.github.com/missinglink/4212a81a7d9c125b68d9", | |
"og:description": "Install go on ubuntu. GitHub Gist: instantly share code, notes, and snippets.", | |
"article:author": "262588213843476", | |
"article:publisher": "262588213843476", | |
"pjax-timeout": "1000", | |
"request-id": "95F4:1AFD:760955:CD390A:5CCB2158", | |
"octolytics-host": "collector.githubapp.com", | |
"octolytics-app-id": "gist", | |
"octolytics-event-url": "https://collector.githubapp.com/github-external/browser_event", | |
"octolytics-dimension-request_id": "95F4:1AFD:760955:CD390A:5CCB2158", | |
"octolytics-dimension-region_edge": "iad", | |
"octolytics-dimension-region_render": "iad", | |
"analytics-location": "/\u003cuser-name\u003e/\u003cgist-id\u003e", | |
"google-analytics": "UA-3769691-4", | |
"dimension1": "Logged Out", | |
"octolytics-dimension-public": "true", | |
"octolytics-dimension-gist_id": "18364330", | |
"octolytics-dimension-gist_name": "4212a81a7d9c125b68d9", | |
"octolytics-dimension-anonymous": "false", | |
"octolytics-dimension-owner_id": "738069", | |
"octolytics-dimension-owner_login": "missinglink", | |
"octolytics-dimension-forked": "false", | |
"dimension5": "public", | |
"dimension6": "owned", | |
"dimension7": "markdown", | |
"hostname": "gist.github.com", | |
"expected-hostname": "gist.github.com", | |
"js-proxy-site-detection-payload": "ODEzYmUyNTkzOWYzYjM3ODlkNTFhZWVjZTE3MzcxMmRlZGY5NTY0ODg3YjIzZGRhNGIzYmE0NDgwODQ4YjFmNHx7InJlbW90ZV9hZGRyZXNzIjoiNjYuMjQ5LjY0LjE0MCIsInJlcXVlc3RfaWQiOiI5NUY0OjFBRkQ6NzYwOTU1OkNEMzkwQTo1Q0NCMjE1OCIsInRpbWVzdGFtcCI6MTU1NjgxNjIxOSwiaG9zdCI6ImdpdGh1Yi5jb20ifQ==", | |
"enabled-features": "UNIVERSE_BANNER,MARKETPLACE_INVOICED_BILLING,MARKETPLACE_SOCIAL_PROOF_CUSTOMERS,MARKETPLACE_TRENDING_SOCIAL_PROOF,MARKETPLACE_RECOMMENDATIONS", | |
"html-safe-nonce": "25bcdeaf28e3141ed22a688a41ee904860786738", | |
"browser-stats-url": "https://api.github.com/_private/browser/stats", | |
"browser-errors-url": "https://api.github.com/_private/browser/errors", | |
"theme-color": "#1e2327" | |
}], | |
"cse_image": [{ | |
"src": "https://avatars3.githubusercontent.com/u/738069?s=400&v=4" | |
}] | |
} | |
}, | |
{ | |
"kind": "customsearch#result", | |
"title": "A simple golang web server with basic logging, tracing, health check ...", | |
"htmlTitle": "A simple golang web server with basic logging, tracing, health check ...", | |
"link": "https://gist.github.com/enricofoltran/10b4a980cd07cb02836f70a4ab3e72d7", | |
"displayLink": "gist.github.com", | |
"snippet": "A simple golang web server with basic logging, tracing, health check, graceful \nshutdown and zero dependencies - main.go.", | |
"htmlSnippet": "A simple golang web server with basic logging, tracing, health check, graceful \u003cbr\u003e\nshutdown and zero dependencies - main.\u003cb\u003ego\u003c/b\u003e.", | |
"cacheId": "tZibuSlv0ecJ", | |
"formattedUrl": "https://gist.github.com/.../10b4a980cd07cb02836f70a4ab3e72d7", | |
"htmlFormattedUrl": "https://gist.github.com/.../10b4a980cd07cb02836f70a4ab3e72d7", | |
"pagemap": { | |
"cse_thumbnail": [{ | |
"width": "225", | |
"height": "225", | |
"src": "https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcRE2QRw1VVteHOn6IlgMolkrEUdyZ0QUo9zn2CjfWdKSEdKg5X7TqW7glE" | |
}], | |
"code": [{ | |
"name": "main.go", | |
"about": "A simple golang web server with basic logging, tracing, health check, graceful shutdown and zero dependencies", | |
"text": "package main import ( \"context\" \"flag\" \"fmt\" \"log\" \"net/http\" \"os\" \"os/signal\" \"sync/atomic\" \"time\") type key int const ( requestIDKey key = 0) var ( listenAddr string healthy int32) func main()..." | |
}], | |
"metatags": [{ | |
"viewport": "width=device-width", | |
"fb:app_id": "1401488693436528", | |
"twitter:image:src": "https://avatars3.githubusercontent.com/u/236736?s=400&v=4", | |
"twitter:site": "@github", | |
"twitter:card": "summary_large_image", | |
"twitter:title": "A simple golang web server with basic logging, tracing, health check, graceful shutdown and zero dependencies", | |
"twitter:description": "A simple golang web server with basic logging, tracing, health check, graceful shutdown and zero dependencies - main.go", | |
"og:image": "https://avatars3.githubusercontent.com/u/236736?s=400&v=4", | |
"og:site_name": "Gist", | |
"og:type": "article", | |
"og:title": "A simple golang web server with basic logging, tracing, health check, graceful shutdown and zero dependencies", | |
"og:url": "https://gist.github.com/enricofoltran/10b4a980cd07cb02836f70a4ab3e72d7", | |
"og:description": "A simple golang web server with basic logging, tracing, health check, graceful shutdown and zero dependencies - main.go", | |
"article:author": "262588213843476", | |
"article:publisher": "262588213843476", | |
"pjax-timeout": "1000", | |
"request-id": "BF91:49A0:8C4D08:F0F4C0:5CDECD73", | |
"octolytics-host": "collector.githubapp.com", | |
"octolytics-app-id": "gist", | |
"octolytics-event-url": "https://collector.githubapp.com/github-external/browser_event", | |
"octolytics-dimension-request_id": "BF91:49A0:8C4D08:F0F4C0:5CDECD73", | |
"octolytics-dimension-region_edge": "iad", | |
"octolytics-dimension-region_render": "iad", | |
"analytics-location": "/\u003cuser-name\u003e/\u003cgist-id\u003e", | |
"google-analytics": "UA-3769691-4", | |
"dimension1": "Logged Out", | |
"octolytics-dimension-public": "true", | |
"octolytics-dimension-gist_id": "85214926", | |
"octolytics-dimension-gist_name": "10b4a980cd07cb02836f70a4ab3e72d7", | |
"octolytics-dimension-anonymous": "false", | |
"octolytics-dimension-owner_id": "236736", | |
"octolytics-dimension-owner_login": "enricofoltran", | |
"octolytics-dimension-forked": "false", | |
"dimension5": "public", | |
"dimension6": "owned", | |
"dimension7": "go", | |
"hostname": "gist.github.com", | |
"expected-hostname": "gist.github.com", | |
"js-proxy-site-detection-payload": "MTM5NGJmMzVjYWI1MTk5MGNiMzM1N2FiYTE3NmM2Yzg3MjcxMWUzNjhjM2U1YjljMzgzZGUwM2U0NmIxZDVlNHx7InJlbW90ZV9hZGRyZXNzIjoiNjYuMjQ5LjY0LjEzOCIsInJlcXVlc3RfaWQiOiJCRjkxOjQ5QTA6OEM0RDA4OkYwRjRDMDo1Q0RFQ0Q3MyIsInRpbWVzdGFtcCI6MTU1ODEwNTQ2MCwiaG9zdCI6ImdpdGh1Yi5jb20ifQ==", | |
"enabled-features": "UNIVERSE_BANNER,MARKETPLACE_INVOICED_BILLING,MARKETPLACE_SOCIAL_PROOF_CUSTOMERS,MARKETPLACE_TRENDING_SOCIAL_PROOF,MARKETPLACE_RECOMMENDATIONS", | |
"html-safe-nonce": "ad968767356f3a274daa24dd5b30d6f495b8a11d", | |
"browser-stats-url": "https://api.github.com/_private/browser/stats", | |
"browser-errors-url": "https://api.github.com/_private/browser/errors", | |
"theme-color": "#1e2327" | |
}], | |
"cse_image": [{ | |
"src": "https://avatars3.githubusercontent.com/u/236736?s=400&v=4" | |
}] | |
} | |
}, | |
{ | |
"kind": "customsearch#result", | |
"title": "[Go] Example for astar.go gist:233012 · GitHub", | |
"htmlTitle": "[\u003cb\u003eGo\u003c/b\u003e] Example for astar.\u003cb\u003ego\u003c/b\u003e gist:233012 · GitHub", | |
"link": "https://gist.github.com/233013", | |
"displayLink": "gist.github.com", | |
"snippet": "[Go] Example for astar.go gist:233012. GitHub Gist: instantly share code, notes, \nand snippets.", | |
"htmlSnippet": "[\u003cb\u003eGo\u003c/b\u003e] Example for astar.\u003cb\u003ego\u003c/b\u003e gist:233012. GitHub Gist: instantly share code, notes, \u003cbr\u003e\nand snippets.", | |
"cacheId": "p02LqGjBsOQJ", | |
"formattedUrl": "https://gist.github.com/233013", | |
"htmlFormattedUrl": "https://gist.github.com/233013", | |
"pagemap": { | |
"cse_thumbnail": [{ | |
"width": "225", | |
"height": "225", | |
"src": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRL0D9e6BSTCJo0LIS79l7ZsTvzWCCvkRmBf4vrDR4bQ8zeT5I4Yl__tvk" | |
}], | |
"code": [{ | |
"author": "bellbind", | |
"name": "astar_main.go", | |
"about": "[Go] Example for astar.go gist:233012", | |
"text": "// 8g astar.go// 8g -I . astar_main.go// 8l -o astar_main astar_main.go astar.gopackage main import \"fmt\"import \"math\"import \"strings\"import \"astar\" type loc struct { x, y int;}func (pos *loc)..." | |
}], | |
"metatags": [{ | |
"viewport": "width=device-width", | |
"fb:app_id": "1401488693436528", | |
"og:image": "https://avatars3.githubusercontent.com/u/69621?s=400&v=4", | |
"og:site_name": "Gist", | |
"og:type": "article", | |
"og:title": "[Go] Example for astar.go gist:233012", | |
"og:url": "https://gist.github.com/bellbind/233013", | |
"og:description": "[Go] Example for astar.go gist:233012. GitHub Gist: instantly share code, notes, and snippets.", | |
"article:author": "262588213843476", | |
"article:publisher": "262588213843476", | |
"pjax-timeout": "1000", | |
"request-id": "DC29:4CE4:E5CBDB:184E7E6:5C60F37C", | |
"octolytics-host": "collector.githubapp.com", | |
"octolytics-app-id": "gist", | |
"octolytics-event-url": "https://collector.githubapp.com/github-external/browser_event", | |
"octolytics-dimension-request_id": "DC29:4CE4:E5CBDB:184E7E6:5C60F37C", | |
"octolytics-dimension-region_edge": "iad", | |
"octolytics-dimension-region_render": "iad", | |
"analytics-location": "/\u003cuser-name\u003e/\u003cgist-id\u003e", | |
"google-analytics": "UA-3769691-4", | |
"dimension1": "Logged Out", | |
"octolytics-dimension-public": "true", | |
"octolytics-dimension-gist_id": "233013", | |
"octolytics-dimension-gist_name": "233013", | |
"octolytics-dimension-anonymous": "false", | |
"octolytics-dimension-owner_id": "69621", | |
"octolytics-dimension-owner_login": "bellbind", | |
"octolytics-dimension-forked": "false", | |
"dimension5": "public", | |
"dimension6": "owned", | |
"dimension7": "go", | |
"hostname": "gist.github.com", | |
"expected-hostname": "gist.github.com", | |
"js-proxy-site-detection-payload": "ZGU5MGZhYjAwNGRkOGM3OTcwOGFlYTU3ZDc5NDQ2ZWIxYTkxNzYzYmYyNDU0YmJmMGNlN2VmOWNkZDFjNWVjNHx7InJlbW90ZV9hZGRyZXNzIjoiNjYuMjQ5LjY2LjE1OCIsInJlcXVlc3RfaWQiOiJEQzI5OjRDRTQ6RTVDQkRCOjE4NEU3RTY6NUM2MEYzN0MiLCJ0aW1lc3RhbXAiOjE1NDk4NTc2NjAsImhvc3QiOiJnaXRodWIuY29tIn0=", | |
"enabled-features": "UNIVERSE_BANNER,MARKETPLACE_PLAN_RESTRICTION_EDITOR,MARKETPLACE_BROWSING_V2", | |
"html-safe-nonce": "54c167094a60dcc001378f839c73ce0438723747", | |
"browser-stats-url": "https://api.github.com/_private/browser/stats", | |
"browser-errors-url": "https://api.github.com/_private/browser/errors", | |
"theme-color": "#1e2327" | |
}], | |
"cse_image": [{ | |
"src": "https://avatars3.githubusercontent.com/u/69621?s=400&v=4" | |
}] | |
} | |
}, | |
{ | |
"kind": "customsearch#result", | |
"title": "shenwei356 shenwei356/checkLetter_test.go Last active 3 years ago", | |
"htmlTitle": "shenwei356 shenwei356/checkLetter_test.\u003cb\u003ego\u003c/b\u003e Last active 3 years ago", | |
"link": "https://gist.github.com/shenwei356/59d0666b46a56fe36eb7", | |
"displayLink": "gist.github.com", | |
"snippet": "http://blog.shenwei.me/map-is-not-the-fastest-in-go - checkLetter_test.go.", | |
"htmlSnippet": "http://blog.shenwei.me/map-is-not-the-fastest-in-\u003cb\u003ego\u003c/b\u003e - checkLetter_test.\u003cb\u003ego\u003c/b\u003e.", | |
"cacheId": "2VCarDkqTRAJ", | |
"formattedUrl": "https://gist.github.com/shenwei356/59d0666b46a56fe36eb7", | |
"htmlFormattedUrl": "https://gist.github.com/shenwei356/59d0666b46a56fe36eb7", | |
"pagemap": { | |
"cse_thumbnail": [{ | |
"width": "225", | |
"height": "225", | |
"src": "https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcRNdu43f2UC8Is8UNqLiyAJn2Ut_s-F-A_Phje4TYxH0fzdmOXiyl7Mav4" | |
}], | |
"code": [{ | |
"author": "shenwei356", | |
"name": "checkLetter_test.go", | |
"about": "http://blog.shenwei.me/map-is-not-the-fastest-in-go", | |
"text": "// run://// go test -test.bench=\".\" -test.cpuprofile=prof.out// go tool pprof ./gist.test prof.outpackage main import ( \"bytes\" \"testing\") var alphabet stringvar subject []byte var queryMap..." | |
}], | |
"metatags": [{ | |
"viewport": "width=device-width", | |
"fb:app_id": "1401488693436528", | |
"og:image": "https://avatars0.githubusercontent.com/u/2655946?s=400&v=4", | |
"og:site_name": "Gist", | |
"og:type": "article", | |
"og:title": "http://blog.shenwei.me/map-is-not-the-fastest-in-go", | |
"og:url": "https://gist.github.com/shenwei356/59d0666b46a56fe36eb7", | |
"og:description": "http://blog.shenwei.me/map-is-not-the-fastest-in-go - checkLetter_test.go", | |
"article:author": "262588213843476", | |
"article:publisher": "262588213843476", | |
"pjax-timeout": "1000", | |
"request-id": "8C4D:25D4:518F1F:8D6CC7:5C54AE6F", | |
"octolytics-host": "collector.githubapp.com", | |
"octolytics-app-id": "gist", | |
"octolytics-event-url": "https://collector.githubapp.com/github-external/browser_event", | |
"octolytics-dimension-request_id": "8C4D:25D4:518F1F:8D6CC7:5C54AE6F", | |
"octolytics-dimension-region_edge": "iad", | |
"octolytics-dimension-region_render": "iad", | |
"analytics-location": "/\u003cuser-name\u003e/\u003cgist-id\u003e", | |
"google-analytics": "UA-3769691-4", | |
"dimension1": "Logged Out", | |
"octolytics-dimension-public": "true", | |
"octolytics-dimension-gist_id": "33009565", | |
"octolytics-dimension-gist_name": "59d0666b46a56fe36eb7", | |
"octolytics-dimension-anonymous": "false", | |
"octolytics-dimension-owner_id": "2655946", | |
"octolytics-dimension-owner_login": "shenwei356", | |
"octolytics-dimension-forked": "false", | |
"dimension5": "public", | |
"dimension6": "owned", | |
"dimension7": "go unknown", | |
"hostname": "gist.github.com", | |
"expected-hostname": "gist.github.com", | |
"js-proxy-site-detection-payload": "NGVkNTk1N2I3YjRjZmQyNjlkZmFmYWJiMTdiODA0N2I1NjdhMGZjZmQyNmY0ZWJhZjJmZmUwMWE2ZGM2ZDQ1NHx7InJlbW90ZV9hZGRyZXNzIjoiNjYuMjQ5LjY2LjE1MSIsInJlcXVlc3RfaWQiOiI4QzREOjI1RDQ6NTE4RjFGOjhENkNDNzo1QzU0QUU2RiIsInRpbWVzdGFtcCI6MTU0OTA1MzU1MiwiaG9zdCI6ImdpdGh1Yi5jb20ifQ==", | |
"enabled-features": "UNIVERSE_BANNER,MARKETPLACE_PLAN_RESTRICTION_EDITOR", | |
"html-safe-nonce": "0adfefb38e52854008b6074dd4aec8d1f5d622a3", | |
"browser-stats-url": "https://api.github.com/_private/browser/stats", | |
"browser-errors-url": "https://api.github.com/_private/browser/errors", | |
"theme-color": "#1e2327" | |
}], | |
"cse_image": [{ | |
"src": "https://avatars0.githubusercontent.com/u/2655946?s=400&v=4" | |
}] | |
} | |
}, | |
{ | |
"kind": "customsearch#result", | |
"title": "How to `go get` private repos using SSH key auth instead of ...", | |
"htmlTitle": "How to `\u003cb\u003ego\u003c/b\u003e get` private repos using SSH key auth instead of ...", | |
"link": "https://gist.github.com/dmitshur/6927554", | |
"displayLink": "gist.github.com", | |
"snippet": "insteadOf \"https://github.com/\" $ cat ~/.gitconfig [url \"[email protected]:\"] insteadOf = \nhttps://github.com/ $ go get github.com/private/repo && echo Success! Success ...", | |
"htmlSnippet": "insteadOf "https://github.com/" $ cat ~/.gitconfig [url "[email protected]:"] insteadOf = \u003cbr\u003e\nhttps://github.com/ $ \u003cb\u003ego\u003c/b\u003e get github.com/private/repo && echo Success! Success ...", | |
"cacheId": "xDRs0JC2BBUJ", | |
"formattedUrl": "https://gist.github.com/dmitshur/6927554", | |
"htmlFormattedUrl": "https://gist.github.com/dmitshur/6927554", | |
"pagemap": { | |
"cse_thumbnail": [{ | |
"width": "225", | |
"height": "225", | |
"src": "https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcTtq9vfJw-0ddTnoHSJ9g8WKXZWIuAGZfkmSguh-YUuQ0IKDChBHmLkaWdT" | |
}], | |
"code": [{ | |
"name": "gist:6927554", | |
"about": "How to `go get` private repos using SSH key auth instead of password auth.", | |
"text": "$ ssh -A vm $ git config --global url.\"[email protected]:\".insteadOf \"https://github.com/\" $ cat ~/.gitconfig [url \"[email protected]:\"] insteadOf = https://github.com/ $ go get github.com/private/repo..." | |
}], | |
"metatags": [{ | |
"viewport": "width=device-width", | |
"fb:app_id": "1401488693436528", | |
"twitter:image:src": "https://avatars1.githubusercontent.com/u/1924134?s=400&v=4", | |
"twitter:site": "@github", | |
"twitter:card": "summary_large_image", | |
"twitter:title": "How to `go get` private repos using SSH key auth instead of password auth.", | |
"twitter:description": "How to `go get` private repos using SSH key auth instead of password auth. - gist:6927554", | |
"og:image": "https://avatars1.githubusercontent.com/u/1924134?s=400&v=4", | |
"og:site_name": "Gist", | |
"og:type": "article", | |
"og:title": "How to `go get` private repos using SSH key auth instead of password auth.", | |
"og:url": "https://gist.github.com/dmitshur/6927554", | |
"og:description": "How to `go get` private repos using SSH key auth instead of password auth. - gist:6927554", | |
"article:author": "262588213843476", | |
"article:publisher": "262588213843476", | |
"pjax-timeout": "1000", | |
"request-id": "A22B:0567:52DFC4:900B29:5CDE5A37", | |
"octolytics-host": "collector.githubapp.com", | |
"octolytics-app-id": "gist", | |
"octolytics-event-url": "https://collector.githubapp.com/github-external/browser_event", | |
"octolytics-dimension-request_id": "A22B:0567:52DFC4:900B29:5CDE5A37", | |
"octolytics-dimension-region_edge": "iad", | |
"octolytics-dimension-region_render": "iad", | |
"analytics-location": "/\u003cuser-name\u003e/\u003cgist-id\u003e", | |
"google-analytics": "UA-3769691-4", | |
"dimension1": "Logged Out", | |
"octolytics-dimension-public": "true", | |
"octolytics-dimension-gist_id": "6927554", | |
"octolytics-dimension-gist_name": "6927554", | |
"octolytics-dimension-anonymous": "false", | |
"octolytics-dimension-owner_id": "1924134", | |
"octolytics-dimension-owner_login": "dmitshur", | |
"octolytics-dimension-forked": "false", | |
"dimension5": "public", | |
"dimension6": "owned", | |
"dimension7": "markdown", | |
"hostname": "gist.github.com", | |
"expected-hostname": "gist.github.com", | |
"js-proxy-site-detection-payload": "ZTdiNWE4ZjliYzJlNjRmNWFkYmQ2YTI0ZDY4ODExODk0NDE3ZTNjNGJhOGE1M2Q0ZmQwYzYzZDg4MzlkY2Q5Ynx7InJlbW90ZV9hZGRyZXNzIjoiNjYuMjQ5LjY0LjEzOCIsInJlcXVlc3RfaWQiOiJBMjJCOjA1Njc6NTJERkM0OjkwMEIyOTo1Q0RFNUEzNyIsInRpbWVzdGFtcCI6MTU1ODA3NTk2MCwiaG9zdCI6ImdpdGh1Yi5jb20ifQ==", | |
"enabled-features": "UNIVERSE_BANNER,MARKETPLACE_INVOICED_BILLING,MARKETPLACE_SOCIAL_PROOF_CUSTOMERS,MARKETPLACE_TRENDING_SOCIAL_PROOF,MARKETPLACE_RECOMMENDATIONS", | |
"html-safe-nonce": "86498d74d2983693518595303ec864eef47965d2", | |
"browser-stats-url": "https://api.github.com/_private/browser/stats", | |
"browser-errors-url": "https://api.github.com/_private/browser/errors", | |
"theme-color": "#1e2327" | |
}], | |
"cse_image": [{ | |
"src": "https://avatars1.githubusercontent.com/u/1924134?s=400&v=4" | |
}] | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment