Language
stringclasses 6
values | Query
stringlengths 9
60
| GitHubUrl
stringlengths 87
248
| Relevance
int32 0
3
| Notes
stringlengths 0
293
|
---|---|---|---|---|
Go | unique elements | https://github.com/tylertreat/BoomFilters/blob/611b3dbe80e85df3a0a10a43997d4d5784e86245/topk.go#L70-L85 | 0 | |
Go | read properties file | https://github.com/gobs/httpclient/blob/a93d469d8657e74a3d5a8f72bd46b54a19c341f1/httpfile.go#L78-L128 | 0 | |
Go | heatmap from 3d coordinates | https://github.com/twpayne/go-geom/blob/e21b3afba225b21d05fbcbeb8ece2c79c96554c5/xy/cga.go#L231-L248 | 1 | |
Go | create cookie | https://github.com/volatiletech/abcweb/blob/9e9ffe4fa86ed4e557dcc4b9d59ca5d3d91c6a66/abcsessions/middleware.go#L50-L60 | 2 | |
Go | readonly array | https://github.com/ericchiang/k8s/blob/68fb2168bedf77759577a56e44f2ccfaf7229673/apis/extensions/v1beta1/generated.pb.go#L141-L146 | 0 | |
Go | extract data from html content | https://github.com/urandom/readeef/blob/63b79a7bde3f3da1f4b6b3224235c346a34906f0/content/repo/logging/extract.go#L27-L35 | 0 | |
Go | get current process id | https://github.com/go-vgo/robotgo/blob/d643b9ffe5a44c524740136edc428be68ddbecae/examples/window/main.go#L30-L52 | 0 | |
Go | get inner html | https://github.com/labstack/echo/blob/5d2c33ad5dbb78540a56dd08d09d91f991bc3156/context.go#L402-L404 | 1 | |
Go | convert json to csv | https://github.com/wildducktheories/go-csv/blob/a843eda7bf0911b9acdfd11a9a41ed87282dcbdd/cmd/csv-to-json/main.go#L12-L26 | 1 | |
Go | finding time elapsed using a timer | https://github.com/uber-go/ratelimit/blob/c15da02342779cb6dc027fc95ee2277787698f36/internal/clock/clock.go#L66-L76 | 1 | |
Go | copying a file to a path | https://github.com/pilosa/pilosa/blob/67d53f6b48a43f7fe090f48e35518ca8d024747c/fragment.go#L2136-L2166 | 1 | |
Go | parse json file | https://github.com/cloudfoundry/cli/blob/5010c000047f246b870475e2c299556078cdad30/cf/util/json/json_parser.go#L29-L54 | 1 | Not irrelevant, it contains functions that are not defined here. However I could click on the link to GitHub and check the code what `parseJSON()` means. |
Go | how to check if a checkbox is checked | https://github.com/sclevine/agouti/blob/96599c91888f1b1cf2dccc7f1776ba7f511909e5/selection_actions.go#L114-L137 | 2 | |
Go | priority queue | https://github.com/beeker1121/goque/blob/4044bc29b28064db4f08e947c4972d5ca3e0f3c8/priority_queue.go#L122-L124 | 1 | |
Go | map to json | https://github.com/go-openapi/swag/blob/b3e2804c8535ee0d1b89320afd98474d5b8e9e3b/json.go#L170-L181 | 2 | |
Go | matrix multiply | https://github.com/fogleman/gg/blob/72436a171bf31757dc87fb8fa9f7485307350307/matrix.go#L82-L84 | 1 | |
Go | how to empty array | https://github.com/glycerine/zygomys/blob/36f1c7120ff2d831cebbb6f059ddc948273a8b56/zygo/functions.go#L783-L809 | 0 | |
Go | reading element from html - <td> | https://github.com/ghetzel/go-webfriend/blob/0746aa14b9afa6b488313705edf19a33d9dff469/browser/tab.go#L945-L988 | 1 | |
Go | heatmap from 3d coordinates | https://github.com/go-gl/gl/blob/bf2b1f2f34d7f6a60a99a830f65dcd6afb0c6587/v3.1/gles2/package.go#L9402-L9404 | 0 | |
Go | parse query string in url | https://github.com/fabric8-services/fabric8-wit/blob/54759c80c42ff2cf29b352e0f6c9330ce4ad7fce/search/search_repository.go#L204-L213 | 2 | |
Go | copy to clipboard | https://github.com/gopasspw/gopass/blob/fe4e21d62182f0f2e4ef9a0ca8168d849dc52bd4/pkg/clipboard/unclip.go#L15-L45 | 1 | |
Go | export to excel | https://github.com/go-ole/go-ole/blob/97b6244175ae18ea6eef668034fd6565847501c9/_example/excel2/excel.go#L80-L96 | 1 | |
Go | scatter plot | https://github.com/vdobler/chart/blob/6627804132c7c237061d1c8fd2554e3206daecb6/example/samplecharts.go#L186-L233 | 2 | |
Go | how to check if a checkbox is checked | https://github.com/webx-top/webx/blob/800783e939f407b66b20848589b41d2bb1aeb024/lib/forms/fields/options.go#L183-L189 | 0 | irrelevant query and code |
Go | randomly extract x items from a list | https://github.com/inverse-inc/packetfence/blob/f29912bde7974931d699aba60aa8fde1c5d9a826/go/dhcp/utils.go#L218-L236 | 2 | |
Go | set file attrib hidden | https://github.com/gopherjs/webgl/blob/39bd6d41eeb587730fcaa65adf71978fb10675bc/webgl.go#L1008-L1010 | 0 | |
Go | finding time elapsed using a timer | https://github.com/luci/luci-go/blob/f6cef429871eee3be7c6903af88d3ee884eaf683/common/retry/limited.go#L45-L76 | 1 | |
Go | socket recv timeout | https://github.com/nanomsg/mangos-v1/blob/b213a8e043f6541ad45f946a2e1c5d3617987985/compat/compat.go#L335-L338 | 1 | |
Go | string to date | https://github.com/Unknwon/com/blob/0fed4efef7553eed2cd04624befccacda78bb8e2/time.go#L31-L34 | 3 | |
Go | format date | https://github.com/webx-top/com/blob/01419a9b4188b43cba46b7ae02136d01e4fccf9c/time.go#L116-L138 | 2 | |
Go | reading element from html - <td> | https://github.com/ugorji/go/blob/1d7ab5c50b36701116070c4c612259f93c262367/codec/json.go#L678-L690 | 1 | |
Go | unique elements | https://github.com/badgerodon/penv/blob/7a4c6d64fa119b52afe2eb3f0801886bd8785318/penv.go#L23-L35 | 1 | |
Go | extract data from html content | https://github.com/kataras/iris/blob/6aafc0b9d5e97d0c52e325d8c4b4d23d61eb3f9d/context/context.go#L2767-L2770 | 1 | |
Go | heatmap from 3d coordinates | https://github.com/cloudfoundry/bosh-utils/blob/757f0ce2bf30bab7848e17679ca54f74e574facb/httpclient/socksify.go#L25-L107 | 0 | |
Go | positions of substrings in string | https://github.com/dop251/goja/blob/8d6ee3d1661108ff8433016620abb64dfa6d9937/string_unicode.go#L201-L213 | 0 | |
Go | extract data from html content | https://github.com/aymerick/douceur/blob/f9e29746e1161076eae141dd235f5d98b546ec3e/inliner/inliner.go#L93-L102 | 1 | |
Go | convert int to bool | https://github.com/cuigh/auxo/blob/35f08384a278c4f5c01bf96896e5964611e4a05d/util/cast/try.go#L10-L27 | 1 | |
Go | priority queue | https://github.com/cupcake/gokiq/blob/ebbb02812f6826798d779fbda06921d45b2c4446/worker.go#L79-L85 | 0 | |
Go | binomial distribution | https://github.com/qorio/maestro/blob/b3594982be16e2aeff0215d8d4a4d03fd563bdfb/pkg/yaml/yaml.go#L563-L585 | 0 | |
Go | how to read the contents of a .gz compressed file? | https://github.com/NebulousLabs/merkletree/blob/08d5d54b07f5e86a27f2d7431d0bc0300f5a9328/fuzz.go#L70-L76 | 0 | |
Go | how to determine a string is a valid word | https://github.com/huandu/xstrings/blob/8bbcf2f9ccb55755e748b7644164cd4bdce94c1d/manipulate.go#L179-L217 | 1 | |
Go | how to get current date | https://github.com/google/go-genproto/blob/54afdca5d873f7b529e2ce3def1a99df16feda90/googleapis/cloud/talent/v4beta1/filters.pb.go#L1527-L1532 | 0 | |
Go | convert html to pdf | https://github.com/advancedlogic/GoOse/blob/6cd46faf50eb2105cd5de7328ee8eb62557895c9/cleaner.go#L487-L568 | 1 | |
Go | convert a date string into yyyymmdd | https://github.com/grokify/gotilla/blob/a89420864b4d1cc22c57bcc025cc960a91372b37/time/timeutil/timeutil.go#L276-L283 | 2 | |
Go | read text file line by line | https://github.com/wcharczuk/go-chart/blob/9852fce5a172598e72d16f4306f0f17a53d94eb4/util/file_util.go#L17-L34 | 3 | This code is not completely correct, but it intends to do what the description says. |
Go | write csv | https://github.com/foolin/gocsv/blob/d1cfc1a54940e0b038e7f221a362c8c51eacd2c9/tools/mergecsv/mergecsv.go#L21-L117 | 2 | |
Go | encode url | https://github.com/hoisie/web/blob/a498c022b2c0babab2bf9c0400754190b24c8c39/helpers.go#L47-L57 | 1 | |
Go | how to randomly pick a number | https://github.com/Songmu/strrand/blob/5195340ba52ce1bb6918091f054e4c8fdc645c41/strrand.go#L37-L43 | 2 | |
Go | regex case insensitive | https://github.com/choria-io/go-validator/blob/4ce2ef25983faa873cc4bcea0f1ef2a4273d42cc/regex/regex.go#L10-L21 | 1 | |
Go | export to excel | https://github.com/mkb218/gosndfile/blob/e0c9ef895ee23c154b6fe25b5261daf514df9941/sndfile/virtual.go#L83-L87 | 0 | |
Go | regex case insensitive | https://github.com/json-iterator/go/blob/0ff49de124c6f76f8494e194af75bde0f1a49a29/reflect.go#L44-L50 | 0 | |
Go | json to xml conversion | https://github.com/clbanning/x2j/blob/5e605d46809c441eb0e565867b63f7d80c9140c2/x2j.go#L124-L141 | 1 | |
Go | pretty print json | https://github.com/denverdino/aliyungo/blob/611ead8a6fedf409d6512b6e4f44f3f1cbc65755/util/util.go#L179-L185 | 2 | |
Go | confusion matrix | https://github.com/google/go-genproto/blob/54afdca5d873f7b529e2ce3def1a99df16feda90/googleapis/cloud/automl/v1beta1/classification.pb.go#L486-L488 | 0 | |
Go | underline text in label widget | https://github.com/aarzilli/nucular/blob/64ec1eba91814ebb417978927206070dd1fc44e1/nucular.go#L1658-L1672 | 1 | |
Go | httpclient post json | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/get_json_web_key_parameters.go#L103-L106 | 0 | |
Go | all permutations of a list | https://github.com/JamesClonk/vultr/blob/fed59ad207c9bda0a5dfe4d18de53ccbb3d80c91/cmd/commands.go#L12-L190 | 0 | It looks like the search token "list" is heavily skewed towards "list" tokens in the code (but are not syntactically lists). |
Go | converting uint8 array to image | https://github.com/Microsoft/go-winio/blob/3fe4fa31662f6ede2353d913e93907b8e096e0b6/pkg/etw/fieldopt.go#L222-L230 | 0 | |
Go | positions of substrings in string | https://github.com/assertgo/assert/blob/a3e1a2d6fd7ef7614e7f3cacb8a6c341ca978024/string.go#L44-L47 | 1 | |
Go | initializing array | https://github.com/contiv/netplugin/blob/965773066d2b8ebed3514979949061a03d46fd20/netplugin/plugin/netplugin.go#L286-L305 | 0 | |
Go | sort string list | https://github.com/pivotal-cf/go-pivnet/blob/e68f8203b478c0c65b90f196471522949c002710/release_dependencies.go#L28-L53 | 0 | |
Go | aes encryption | https://github.com/hyperledger/fabric/blob/49f496925df1e66198d7ec794849536c9f8b104b/bccsp/sw/aes.go#L78-L98 | 3 | |
Go | buffered file reader read text | https://github.com/yuin/gopher-lua/blob/8bfc7677f583b35a5663a9dd934c08f3b5774bbb/iolib.go#L131-L140 | 1 | |
Go | unzipping large files | https://github.com/rakyll/statik/blob/3bac566d30cdbeddef402a80f3d6305860e59f12/fs/fs.go#L55-L96 | 2 | |
Go | socket recv timeout | https://github.com/vaughan0/go-zmq/blob/425c333a2ab9e2615ff4ff7deced6e37730b544e/sockopts.go#L112-L114 | 1 | |
Go | copying a file to a path | https://github.com/hashicorp/vault/blob/7e96d5c2b53ee9e22439f3bc0cb366d7e92f949b/sdk/physical/file/file.go#L350-L355 | 1 | |
Go | how to read the contents of a .gz compressed file? | https://github.com/franela/goreq/blob/bcd34c9993f899273c74baaa95e15386cd97b6e7/goreq.go#L130-L138 | 1 | |
Go | convert string to number | https://github.com/shutterstock/go-stockutil/blob/39a961cfa60878cca33570f9431c09db1600e4db/stringutil/stringutil.go#L203-L209 | 1 | |
Go | deserialize json | https://github.com/control-center/serviced/blob/7028f598e6a224b4d421e09cb9b582ad7d000304/datastore/datastore.go#L170-L177 | 1 | |
Go | extract latitude and longitude from given input | https://github.com/olivere/elastic/blob/0534a7b1bf47b1ccf57e905491a641709f8a623d/geo_point.go#L34-L36 | 0 | |
Go | get current ip address | https://github.com/softlayer/softlayer-go/blob/aa510384a41b6450fa6a50e943ed32f5e838fada/services/network.go#L14465-L14471 | 0 | I think the query is not very detailed and hence I couldn't correlate it to the code output |
Go | get current process id | https://github.com/containerd/containerd/blob/a17c8095716415cebb1157a27db5fccace56b0fc/runtime/v2/runhcs/service.go#L178-L183 | 1 | |
Go | fuzzy match ranking | https://github.com/coreos/go-omaha/blob/e409d983eb60842452f0fb6245137458ca45201a/omaha/client/fuzzytime.go#L31-L41 | 1 | |
Go | parse query string in url | https://github.com/signalfx/gateway/blob/60f8886d9dbf529d974d8f3c0b9e932d8a7570a0/config/config.go#L179-L187 | 1 | |
Go | how to get html of website | https://github.com/google/go-genproto/blob/54afdca5d873f7b529e2ce3def1a99df16feda90/googleapis/ads/googleads/v1/common/policy.pb.go#L587-L592 | 0 | |
Go | get inner html | https://github.com/yosssi/ace/blob/2b21b56204aee785bf8d500c3f9dcbe3ed7d4515/helper_method_content.go#L16-L39 | 1 | |
Go | matrix multiply | https://github.com/wcharczuk/go-chart/blob/9852fce5a172598e72d16f4306f0f17a53d94eb4/matrix/matrix.go#L371-L387 | 3 | |
Go | print model summary | https://github.com/karlseguin/expect/blob/ecc6aa3406d03d381160d52b8a76268abdb14321/runner.go#L275-L285 | 0 | |
Go | html entities replace | https://github.com/advancedlogic/GoOse/blob/6cd46faf50eb2105cd5de7328ee8eb62557895c9/cleaner.go#L418-L441 | 0 | |
Go | how to determine a string is a valid word | https://github.com/thriftrw/thriftrw-go/blob/a9a6ad793beab07cc3385954d2e8af8abfaa83e2/gen/string.go#L84-L93 | 0 | |
Go | how to reverse a string | https://github.com/iikira/baidu-tools/blob/79c93d8033cdda61dd2278f0e4a75c5ea8388f3c/tieba/tiebautil/client_signature.go#L67-L73 | 3 | |
Go | html encode string | https://github.com/otiai10/marmoset/blob/2adcf18928cbc73d640249eed0ac8e49ce4bdcb8/render.go#L27-L40 | 1 | |
Go | hash set for counting distinct elements | https://github.com/ethereum/go-ethereum/blob/b6c0234e0b5c9d459d1ed784c910f6348890d56b/consensus/ethash/algorithm.go#L234-L263 | 0 | |
Go | group by count | https://github.com/cuigh/auxo/blob/35f08384a278c4f5c01bf96896e5964611e4a05d/db/gsd/select.go#L306-L309 | 1 | |
Go | initializing array | https://github.com/robertkrimen/otto/blob/15f95af6e78dcd2030d8195a138bd88d4f403546/builtin_array.go#L114-L126 | 0 | |
Go | readonly array | https://github.com/kubernetes/kubernetes/blob/6a8a3682919652ae668c389ed2f60efb770eed03/pkg/volume/azure_dd/azure_mounter.go#L46-L59 | 0 | |
Go | reading element from html - <td> | https://github.com/mmcdole/gofeed/blob/0e68beaf6fdf215bd1fe42a09f6de292c7032359/internal/shared/xmlbase.go#L212-L258 | 2 | |
Go | binomial distribution | https://github.com/leesper/go_rng/blob/5344a9259b21627d94279721ab1f27eb029194e7/binomial.go#L51-L65 | 2 | |
Go | parse command line argument | https://github.com/rsc/rsc/blob/fc62025902295658a9c7e89418e095fd598b2682/google/gmail/gmail.go#L275-L417 | 1 | |
Go | convert decimal to hex | https://github.com/webx-top/com/blob/01419a9b4188b43cba46b7ae02136d01e4fccf9c/convert.go#L189-L205 | 3 | |
Go | convert int to string | https://github.com/kubicorn/kubicorn/blob/c4a4b80994b4333709c0f8164faabd801866b986/cloud/amazon/public/resources/securitygroup.go#L375-L381 | 3 | This is a great match, but I wouldn't let this pass a PR review. This is an unnecessary abstraction, but it's a great match nevertheless. |
Go | randomly extract x items from a list | https://github.com/antongulenko/golib/blob/5860401d795186159946857d3d6057628e049840/sort.go#L36-L42 | 1 | |
Go | html entities replace | https://github.com/gogs/gogs/blob/4f9c5b60c56606e709c4da2d1587aa7096ae24da/pkg/template/template.go#L130-L132 | 0 | |
Go | get current process id | https://github.com/containerd/containerd/blob/a17c8095716415cebb1157a27db5fccace56b0fc/windows/task.go#L404-L410 | 1 | |
Go | how to get html of website | https://github.com/kataras/iris/blob/6aafc0b9d5e97d0c52e325d8c4b4d23d61eb3f9d/_examples/tutorial/caddy/server1/main.go#L41-L49 | 0 | |
Go | how to randomly pick a number | https://github.com/minio/minio/blob/4b858b562a0887e10bfd0414dc87e68f1af31c3a/cmd/healthcheck-handler.go#L102-L108 | 0 | |
Go | format date | https://github.com/gobuffalo/buffalo/blob/7f360181f4ccd79dcc9dcea2c904a4801f194f04/mail/internal/mail/message.go#L182-L184 | 2 | |
Go | convert decimal to hex | https://github.com/chrislusf/gleam/blob/a7aa467b545f5e5e452aaf818299a5f6e6b23760/sql/parser/yy_parser.go#L156-L164 | 1 | |
Go | get inner html | https://github.com/zorkian/go-datadog-api/blob/fcf4c3b6edfd28f3bf01965725f290489b10d1ec/datadog-accessors.go#L18618-L18623 | 1 | |
Go | deducting the median from each column | https://github.com/lileio/lile/blob/becf404ea65c4dd7cbe6e8c6dd2a313d07359b4e/protoc-gen-lile-server/main.go#L159-L166 | 0 |
End of preview. Expand
in Dataset Viewer.
No dataset card yet
New: Create and edit this dataset card directly on the website!
Contribute a Dataset Card- Downloads last month
- 10