Language
stringclasses
6 values
Query
stringlengths
9
60
GitHubUrl
stringlengths
87
248
Relevance
int32
0
3
Notes
stringlengths
0
293
Ruby
convert int to string
https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/1.8/rdoc/markup/simple_markup/to_latex.rb#L204-L221
0
Ruby
extract data from html content
https://github.com/BinaryStorms/civic-sip-ruby-sdk/blob/330f01409500b30129691e9990da69e57bd6fbf4/lib/civic_sip_sdk/client.rb#L76-L97
0
Ruby
copying a file to a path
https://github.com/furkancelik/fcfinder/blob/1ada4463c7134c879716ed86cde173b2042c564e/lib/fcfinder/connector.rb#L216-L232
2
Ruby
how to randomly pick a number
https://github.com/eet-nu/cheers/blob/4b94bf8ce2a1ca929b9b56277e12f3e94e7a5399/lib/cheers/contrasting_color_picker.rb#L13-L23
1
Ruby
how to reverse a string
https://github.com/mojombo/grit/blob/5608567286e64a1c55c5e7fcd415364e04f8986e/lib/grit/git-ruby.rb#L75-L114
0
Ruby
copying a file to a path
https://github.com/NathanTCz/idlc-sdk-core/blob/a9cf07f65a1b206b7f776183d29923aa345f582e/lib/idlc-sdk-core/workspace.rb#L29-L38
2
Ruby
nelder mead optimize
https://github.com/jronallo/mead/blob/119e25d762d228a17612afe327ac13227aa9825b/lib/mead/ead.rb#L84-L98
1
Ruby
all permutations of a list
https://github.com/blahah/biopsy/blob/e46f3d1c75de4da2ec47a377f7e4f0e16a8e03d2/lib/biopsy/target.rb#L141-L143
0
Ruby
how to get current date
https://github.com/mlipper/runt/blob/d0dab62fa45571e50e2018dbe1e12a9fe2752f61/lib/runt/temporalexpression.rb#L678-L680
2
Ruby
convert json to csv
https://github.com/everypolitician/everypolitician-ruby/blob/f85e4b684324cf35ef14e7546ddd33052046d883/lib/everypolitician/legislative_period.rb#L34-L36
1
Ruby
readonly array
https://github.com/opal/opal/blob/41aedc0fd62aab00d3c117ba0caf00206bedd981/opal/corelib/marshal/read_buffer.rb#L388-L407
0
Ruby
convert int to bool
https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/1.8/rdoc/markup/simple_markup/to_html.rb#L190-L219
1
Ruby
unzipping large files
https://github.com/tulios/icosmith-rails/blob/e73c11eaa593fcb6f9ba93d34fbdbfe131693af4/lib/icosmith-rails/font.rb#L90-L96
3
Ruby
concatenate several file remove header lines
https://github.com/kmuto/review/blob/77d1273e671663f05db2992281fd891b776badf0/lib/review/textutils.rb#L40-L46
1
Ruby
k means clustering
https://github.com/wurmlab/genevalidator/blob/b44a4a7e72eb8314c73d0cd7062d37a1c4c58299/lib/genevalidator/clusterization.rb#L510-L523
1
Ruby
binomial distribution
https://github.com/mtortonesi/ruby-erv/blob/02e757296ef79b3deb47a40bbdeab5de795e105b/lib/erv/mixture_distribution.rb#L80-L87
1
Ruby
encrypt aes ctr mode
https://github.com/nikhgupta/encruby/blob/ded0276001f7672594a84d403f64dcd4ab906039/lib/encruby/message.rb#L36-L59
3
Ruby
how to read .csv file in an efficient way?
https://github.com/pjotrp/bioruby-table/blob/e7cc97bb598743e7d69e63f16f76a2ce0ed9006d/lib/bio-table/formatter.rb#L45-L50
1
Ruby
fuzzy match ranking
https://github.com/paddor/cztop/blob/d20ee44775d05b60f40fffd1287a9b01270ab853/lib/cztop/z85.rb#L71-L77
0
Ruby
randomly extract x items from a list
https://github.com/ozgg/weighted-select/blob/5cf3a8a1f2ba74f2885dcc8111396e5ca10ccad4/lib/weighted-select.rb#L44-L49
1
Ruby
aes encryption
https://github.com/zaru/webpush/blob/6aed6657a40bf40dbdf2ff617c3370507ae3fd64/lib/webpush/encryption.rb#L61-L73
2
Ruby
positions of substrings in string
https://github.com/sds/haml-lint/blob/024c773667e54cf88db938c2b368977005d70ee8/lib/haml_lint/utils.rb#L81-L86
3
Ruby
matrix multiply
https://github.com/jellymann/mittsu/blob/955bde855c727d775b80f2c88457cb4b58c8c8f8/lib/mittsu/math/box3.rb#L162-L177
1
Ruby
set file attrib hidden
https://github.com/Katello/katello/blob/a1c9280067607999cae43bab89b53ba870856b76/app/models/katello/provider.rb#L127-L134
0
Ruby
group by count
https://github.com/zendesk/ruby-kafka/blob/2a73471b6a607a52dc85c79301ba522acb4566b5/lib/kafka/cluster.rb#L248-L253
0
Ruby
json to xml conversion
https://github.com/ruby-odata/odata/blob/be4626bebea595dab2250ae4442e59e94b5fd4c6/lib/odata/entity.rb#L112-L135
1
Ruby
binomial distribution
https://github.com/PixarAnimationStudios/ruby-jss/blob/4ab645bfaec8b2edb1ea146bfc2b10f0d62edee9/lib/jss/api_object/network_segment.rb#L397-L402
0
Ruby
custom http error response
https://github.com/stripe/stripe-ruby/blob/322a8c60be8a9b9ac8aad8857864680a32176935/lib/stripe/stripe_client.rb#L346-L394
3
Ruby
find int in string
https://github.com/david942j/heapinfo/blob/0608067e2d7601249cf01e725f7b8389e390d3f6/lib/heapinfo/dumper.rb#L193-L196
2
Ruby
filter array
https://github.com/cldwalker/hirb/blob/264f72c7c0f0966001e802414a5b0641036c7860/lib/hirb/helpers/table.rb#L356-L359
1
Ruby
encode url
https://github.com/infobip/oneapi-ruby/blob/17f3843812b58957a2578c837784781c30dbf1c6/lib/oneapi-ruby/client.rb#L73-L89
2
Ruby
readonly array
https://github.com/eagletmt/switch_point/blob/986a46d99c4b3762c60f754a9d32e032a5a36545/lib/switch_point/config.rb#L45-L60
0
Ruby
how to get html of website
https://github.com/sa2taka/mstdn_ivory/blob/26d72c3d269c615f1414d5a8e5cb7b50c6e0722b/lib/mstdn_ivory/register.rb#L5-L7
1
Ruby
read text file line by line
https://github.com/ddnexus/irt/blob/6d6c5a7631abd6271dcec7def982ebcfc1aaf9e0/lib/irt/extensions/irb/context.rb#L10-L25
0
Ruby
how to randomly pick a number
https://github.com/alexreisner/geocoder/blob/e087dc2759264ee6f307b926bb2de4ec2406859e/lib/geocoder/calculations.rb#L238-L256
1
Ruby
nelder mead optimize
https://github.com/JEG2/oklahoma_mixer/blob/9e3647d2b064180f2e5f5848ca36967f0aca6e70/lib/oklahoma_mixer/b_tree_database.rb#L12-L20
1
Ruby
deserialize json
https://github.com/brianpattison/motion-loco/blob/d6f4ca32d6e13dc4d325d2838c0e2685fa0fa4f6/lib/motion-loco/adapter.rb#L107-L131
1
Ruby
get current process id
https://github.com/lawhorkl/change_manager/blob/663ea70836f92a4e2e6038d15782fc956c898cd9/app/services/change_manager/manager.rb#L9-L16
2
Ruby
how to extract zip file recursively
https://github.com/DevicoSolutions/geckodriver-helper/blob/6b7842b9a87d6be297a1ad1eb089a0cacdb71a74/lib/geckodriver/helper.rb#L37-L47
2
Ruby
group by count
https://github.com/looker-open-source/gzr/blob/96dd5edc9cdc6f8d053f517805b9637ff8417378/lib/gzr/modules/group.rb#L51-L66
0
Ruby
how to reverse a string
https://github.com/tmm1/pygments.rb/blob/926d1adad88c22f92010a0f284d2dcc10213ec1e/lib/pygments/popen.rb#L451-L457
0
Ruby
save list to file
https://github.com/Origen-SDK/origen/blob/f05e9dd190fcb90284084ba6e2bd4b0fe0c7f4ac/lib/origen/file_handler.rb#L44-L62
1
Ruby
export to excel
https://github.com/wwidea/rexport/blob/f4f978dd0327ddba3a4318dd24090fbc6d4e4e59/lib/rexport/exports_controller_methods.rb#L24-L32
1
Ruby
connect to sql
https://github.com/sharethrough/flare-up/blob/98b5f379ddbb7cfc77c5854f181e07334e28ed94/lib/flare_up/connection.rb#L49-L66
2
Ruby
get all parents of xml node
https://github.com/rails/sprockets/blob/9e3f0d8e98c44f57e67bc138db87bb8469bf5ddd/lib/sprockets/path_utils.rb#L252-L264
1
Ruby
nelder mead optimize
https://github.com/michaelmior/mipper/blob/4ab7f8b32c27f33fc5121756554a0a28d2077e06/lib/mipper/glpk/model.rb#L46-L57
0
Ruby
how to read the contents of a .gz compressed file?
https://github.com/chef/omnibus/blob/968307c129ee54416f5a4d07ca8f8ca2d2b12825/lib/omnibus/compressors/tgz.rb#L130-L139
1
Ruby
html encode string
https://github.com/clearwater-rb/clearwater/blob/bc488101f2773bb2b497d964f16e34b560b77c76/lib/clearwater/component.rb#L30-L33
1
Ruby
get executable path
https://github.com/piotrmurach/tty-which/blob/ae541cb7b4020eb291ebe0aca498ac24f183c8f5/lib/tty/which.rb#L27-L48
2
Ruby
extracting data from a text file
https://github.com/superp/sunrise-locales/blob/949ef67ae5b064d3ef2082caa66bf26ba226721b/lib/sunrise/locales/yml_locale.rb#L16-L24
3
Ruby
k means clustering
https://github.com/envato/zxcvbn-ruby/blob/fc69afd08f5fb0c8361d52461750b716c925cb11/lib/zxcvbn/scorer.rb#L17-L55
0
Ruby
string to date
https://github.com/ankane/pgslice/blob/6b4de2435b88e1c69c8d2e3f7bf77235265b1592/lib/pgslice/helpers.rb#L115-L125
1
Ruby
unique elements
https://github.com/mdub/lazily/blob/8665e3532ea2d2ea3a41e6ec6a47088308979754/lib/lazily/filtering.rb#L63-L75
3
Ruby
convert decimal to hex
https://github.com/noprompt/vic/blob/276e18fc5d81727023d3abfdf95829648818a9c4/lib/vic/color.rb#L93-L102
1
Ruby
priority queue
https://github.com/chanks/que/blob/c7ae049db0ca13056a28c71ae610f8900f21feb4/lib/que/job_buffer.rb#L76-L79
3
Ruby
map to json
https://github.com/inspec/train/blob/ec41c1f1e6f38f6ab1c335955651064eaeb7028f/lib/train/file.rb#L37-L43
2
Ruby
json to xml conversion
https://github.com/peterjm/eye_of_newt/blob/84b9a83b623b6ed00b04482c782eb203d876afac/lib/eye_of_newt/units.rb#L35-L41
0
Ruby
how to read .csv file in an efficient way?
https://github.com/loveablelobster/DwCR/blob/093e112337bfb664630a0f164c9d9d7552b1e54c/lib/dwca_content_analyzer/file_contents.rb#L33-L35
1
Ruby
finding time elapsed using a timer
https://github.com/47colborne/exel/blob/65fbbdffef40649e98c4490792c59331730d4f90/lib/exel/processor_helper.rb#L64-L68
3
Ruby
positions of substrings in string
https://github.com/wedesoft/multiarray/blob/1ae1d98bacb4b941d6f406e44ccb184de12f83d9/lib/multiarray/lambda.rb#L119-L124
1
Ruby
underline text in label widget
https://github.com/bootstrap-ruby/bootstrap_form/blob/9dc3c938e8a56f9c61638aa471add7c35187e8c1/lib/bootstrap_form/form_group_builder.rb#L68-L72
0
Ruby
reading element from html - <td>
https://github.com/zhimin/rwebspec/blob/aafccee2ba66d17d591d04210067035feaf2f892/lib/rwebspec-watir/driver.rb#L584-L590
0
Ruby
set file attrib hidden
https://github.com/brainlid/locale_dating/blob/696aa73a648d5c0552a437801b07331c6cc005ee/lib/locale_dating.rb#L37-L62
0
Ruby
aes encryption
https://github.com/scepticulous/crypto-toolbox/blob/cdbe371109e497db2c2af5c1fe0f359612f44816/lib/crypto-toolbox/ciphers/aes.rb#L12-L15
0
Ruby
find int in string
https://github.com/fastlane/fastlane/blob/457c5d647c77f0e078dafa5129da616914e002c5/sigh/lib/sigh/resign.rb#L112-L114
0
Ruby
parse query string in url
https://github.com/oauth-xx/oauth-ruby/blob/cb9b9db64f520dc0ee87fe6e4fe82a7601cffb14/lib/oauth/request_proxy/curb_request.rb#L36-L39
3
Ruby
format date
https://github.com/AlexanderZaytsev/human_date/blob/f20350fe817de3505d8c2693af4a6d38d308b35a/lib/human_date/view_helpers.rb#L39-L53
1
Ruby
postgresql connection
https://github.com/dalibor/octoshark/blob/45d53fadebdb2fa96d6a7ef17616167370275c88/lib/octoshark/connection_manager.rb#L5-L19
2
Ruby
reading element from html - <td>
https://github.com/zdavatz/ydocx/blob/f022ede91fe3c1a41bf5fdddd033674b3d8f94c0/lib/ydocx/document.rb#L43-L65
1
Ruby
encrypt aes ctr mode
https://github.com/rockandror/redsys-rails/blob/048b14e358b332973161e3b561b6e524667ecb4f/app/models/redsys/tpv.rb#L112-L123
1
Ruby
convert int to bool
https://github.com/instructure/moodle2cc/blob/cdb1666a76b22e87e8853d4045e31439244cce4b/lib/moodle2cc/moodle2converter/migrator.rb#L98-L101
0
Ruby
group by count
https://github.com/cloudfoundry/cf-uaa-lib/blob/e071d69ad5f16053321dfbb95835cf6a9b48227c/lib/uaa/scim.rb#L378-L385
1
Ruby
html encode string
https://github.com/clearwater-rb/clearwater/blob/bc488101f2773bb2b497d964f16e34b560b77c76/lib/clearwater/component.rb#L30-L33
2
Ruby
how to determine a string is a valid word
https://github.com/rf-/tweet_to_sounds/blob/eb9f02e03afa9381ce85a3d874fb42a32e812cb3/lib/tweet_to_sounds/keyword_extractor.rb#L23-L27
0
Ruby
linear regression
https://github.com/wurmlab/genevalidator/blob/b44a4a7e72eb8314c73d0cd7062d37a1c4c58299/lib/genevalidator/validation_gene_merge.rb#L261-L285
1
Ruby
socket recv timeout
https://github.com/synthesist/panoptimon/blob/9346c221ae95aaa6528232a04a92478f7c9a5e15/lib/panoptimon/collector.rb#L108-L117
0
Ruby
encrypt aes ctr mode
https://github.com/nikhgupta/encruby/blob/ded0276001f7672594a84d403f64dcd4ab906039/lib/encruby/message.rb#L36-L59
0
Ruby
binomial distribution
https://github.com/dicom/rtkit/blob/08248bf294769ae5b45ed4a9671f0620d5740252/lib/rtkit/dose_volume.rb#L169-L181
0
Ruby
nelder mead optimize
https://github.com/blahah/biopsy/blob/e46f3d1c75de4da2ec47a377f7e4f0e16a8e03d2/lib/biopsy/objective_handler.rb#L99-L113
0
Ruby
buffered file reader read text
https://github.com/worlddb/world.db/blob/8fd44fa8d8dc47290c63b881c713634494aae291/worlddb-models/lib/worlddb/readers/country.rb#L7-L14
0
Ruby
string similarity levenshtein
https://github.com/plusplus/same_same/blob/24f5d7ced9a5e2fabbe4f58ed1b47a6c12ac5954/lib/same_same/rock_clusters.rb#L45-L51
0
Ruby
html entities replace
https://github.com/paulsamuels/SBConstants/blob/3a10637c9da87322bfdaed3eb450d3899ae948fb/lib/sbconstants/swift_constant_writer.rb#L24-L29
1
Ruby
deducting the median from each column
https://github.com/chastell/art-decomp/blob/3ff2c667b6711821919c0135f548a88ed5f74392/lib/art-decomp/dec_tree.rb#L63-L77
0
Ruby
convert int to bool
https://github.com/moneta-rb/moneta/blob/26a118c8b2c93d11257f4a5fe9334a8157f4db47/lib/moneta/utils.rb#L22-L26
0
Ruby
get current observable value
https://github.com/nrser/nrser.rb/blob/7db9a729ec65894dfac13fd50851beae8b809738/lib/nrser/labs/config.rb#L108-L143
0
Ruby
get all parents of xml node
https://github.com/alphagov/govuk_navigation_helpers/blob/5eddcaec5412473fa4e22ef8b8d2cbe406825886/lib/govuk_navigation_helpers/breadcrumbs.rb#L23-L34
1
Ruby
export to excel
https://github.com/kennixdev/applocale/blob/d3e5b99e4ee47228ca9bb5aff28c81049fef613c/lib/applocale/Core/GoogleHepler/google_helper.rb#L43-L79
0
Ruby
filter array
https://github.com/chefspec/chefspec/blob/b7c260d480c3b71a0e61ce46148ec7b9d3f3c40e/lib/chefspec/coverage.rb#L63-L80
0
Ruby
nelder mead optimize
https://github.com/FoxtrotSystems/api-client-ruby/blob/7691bb04b53ed70ce87e82d1cb66b7d645a8e2b2/lib/foxtrot/client.rb#L29-L33
0
Ruby
how to check if a checkbox is checked
https://github.com/zhimin/rwebspec/blob/aafccee2ba66d17d591d04210067035feaf2f892/lib/rwebspec-watir/web_browser.rb#L396-L409
2
Ruby
output to html file
https://github.com/zdavatz/ydocx/blob/f022ede91fe3c1a41bf5fdddd033674b3d8f94c0/lib/ydocx/document.rb#L43-L65
3
Ruby
randomly extract x items from a list
https://github.com/GlobalNamesArchitecture/dwca_hunter/blob/fa7665c2bf6a1033ac20097fa1ef372830ff5e2c/lib/dwca_hunter/resources/wikispecies.rb#L143-L157
0
Ruby
heatmap from 3d coordinates
https://github.com/maerch/ruby-drawille/blob/73f5845e3d5c4805427d4ccbd9e27a0cde6f84a6/lib/drawille/brush.rb#L72-L81
0
Ruby
readonly array
https://github.com/dearblue/ruby-extlz4/blob/3aec15ad7c01e81a8ed36d3b9dcf3b65350d205f/lib/extlz4/oldstream.rb#L421-L432
0
Ruby
k means clustering
https://github.com/plusplus/same_same/blob/24f5d7ced9a5e2fabbe4f58ed1b47a6c12ac5954/lib/same_same/rock_clusters.rb#L45-L51
1
Ruby
get the description of a http status code
https://github.com/apache/predictionio-sdk-ruby/blob/a1777db9f89a4287d252c8ca166a279fb2af64b7/lib/predictionio/event_client.rb#L112-L119
2
Ruby
convert string to number
https://github.com/uken/fluent-plugin-elasticsearch/blob/9f9e51ddd012acb36c7f9d7a16e00970004098bc/lib/fluent/plugin/out_elasticsearch.rb#L384-L387
0
Ruby
filter array
https://github.com/huginn/huginn/blob/01e18fef7b6bd827a5d48a89391e460b5fb1bee3/app/models/agents/twitter_stream_agent.rb#L107-L117
1
Ruby
get current observable value
https://github.com/kontena/kontena/blob/5cb5b4457895985231ac88e78c8cbc5a8ffb5ec7/agent/lib/kontena/observable.rb#L118-L125
0
Ruby
get name of enumerated value
https://github.com/dpla/KriKri/blob/0ac26e60ce1bba60caa40263a562796267cf833f/lib/krikri/harvesters/oai_harvester.rb#L159-L165
1