Language
stringclasses
6 values
Query
stringlengths
9
60
GitHubUrl
stringlengths
87
248
Relevance
int32
0
3
Notes
stringlengths
0
293
Ruby
string to date
https://github.com/gdomingu/nasa_apod/blob/f8068be3c9e87c0733fc332f6bf11d956dd39ec0/lib/nasa_apod/client.rb#L59-L70
2
Ruby
convert string to number
https://github.com/rubycoco/record/blob/f0b6b8f9edbff4f2cd31278029cd0135906bcab2/lib/record/field.rb#L56-L79
2
Ruby
buffered file reader read text
https://github.com/eggcaker/jekyll-org/blob/f5e40bfc70717e0c7c353e488237fa3452ddde0a/lib/jekyll-org.rb#L42-L104
1
Ruby
linear regression
https://github.com/Origen-SDK/origen/blob/f05e9dd190fcb90284084ba6e2bd4b0fe0c7f4ac/lib/origen/regression_manager.rb#L35-L115
0
Ruby
get current ip address
https://github.com/micahwedemeyer/wrenchmode-rack/blob/680b318a1397bf56916d6dda701d06781e601917/lib/wrenchmode/rack.rb#L230-L236
2
Ruby
output to html file
https://github.com/tanema/ghost_in_the_post/blob/e47c5d8371141241699f5ba7dd743e60fa739573/lib/ghost_in_the_post/phantom_transform.rb#L49-L54
2
Ruby
heatmap from 3d coordinates
https://github.com/vbosch/ruby_pager/blob/d175376de650bea05e6fbc47f7748e0ec450d11b/lib/ruby_pager/coord.rb#L32-L35
0
Ruby
binomial distribution
https://github.com/Katello/katello/blob/a1c9280067607999cae43bab89b53ba870856b76/app/models/katello/repository.rb#L548-L557
0
Ruby
html encode string
https://github.com/njh/ruby-mqtt/blob/878639e85827aa25688e9c4ef1511d393549dcfa/lib/mqtt/packet.rb#L248-L254
0
Ruby
deducting the median from each column
https://github.com/ciaranarcher/hacker_term/blob/3f7670fe20153519cc1b5e1f040d91c761cadfb7/lib/hacker_term/page_data.rb#L87-L92
1
Ruby
how to check if a checkbox is checked
https://github.com/mirego/phare/blob/2886ddae53f16fc51c5e0d05a8ffc92a0225c6f9/lib/phare/check_suite.rb#L33-L40
1
Ruby
custom http error response
https://github.com/chriskite/jimson/blob/d921a29857384997509e477e655d152377a4dfcc/lib/jimson/server.rb#L196-L208
2
Ruby
read text file line by line
https://github.com/vbosch/ruby_pager/blob/d175376de650bea05e6fbc47f7748e0ec450d11b/lib/ruby_pager/text_region.rb#L91-L105
3
Ruby
priority queue
https://github.com/sportngin/okcomputer/blob/b8120d064c32c238177607c61fa7f7c792d5d6b8/lib/ok_computer/built_in_checks/delayed_job_backed_up_check.rb#L36-L48
1
Ruby
sorting multiple arrays based on another arrays sorted order
https://github.com/Rademade/mongoid_sortable_relation/blob/81db5b893507d6594a2d8b57f4f1d2fd8d6658a6/lib/mongoid_sortable_relation/many/origin_optional.rb#L19-L29
0
Ruby
set working directory
https://github.com/gollum/gollum-lib/blob/e811f79cb569f1bf0711947d49105db60421e2c1/lib/gollum-lib/committer.rb#L141-L164
1
Ruby
how to check if a checkbox is checked
https://github.com/pjb3/curtain/blob/ab4f3dccea9b887148689084137f1375278f2dcf/lib/curtain/form_builder.rb#L156-L158
1
Ruby
how to make the checkbox checked
https://github.com/pjb3/curtain/blob/ab4f3dccea9b887148689084137f1375278f2dcf/lib/curtain/form_builder.rb#L156-L158
1
Ruby
connect to sql
https://github.com/r7kamura/xrc/blob/ddc0af9682fc2cdaf851f88a3f0953a1478f1954/lib/xrc/connection.rb#L12-L15
3
Ruby
readonly array
https://github.com/mojombo/bert/blob/c2abcc4868bb47909696c6a42c606de34e83ef70/lib/bert/decode.rb#L232-L238
0
Ruby
how to check if a checkbox is checked
https://github.com/lml/lev/blob/ce39ac122796974dafb24ee61428540dacf34371/lib/lev/form_builder.rb#L14-L18
3
Ruby
parse json file
https://github.com/ScreenStaring/recharge-api/blob/3eaf7723bf9c7d6689051e92cab5b572b009afcc/lib/recharge/http_request.rb#L98-L102
3
Ruby
how to determine a string is a valid word
https://github.com/kalashnikovisme/karamzin/blob/2bd1810a95474c473d5f95023f055838b37d1e6c/lib/karamzin/words_helper.rb#L9-L26
0
Ruby
convert int to string
https://github.com/moneta-rb/moneta/blob/26a118c8b2c93d11257f4a5fe9334a8157f4db47/lib/moneta/utils.rb#L22-L26
0
Ruby
convert json to csv
https://github.com/ndlib/locabulary/blob/9d4a7c1b6a5956c5152924b1ff51d3f0798581d8/lib/locabulary/json_creator.rb#L54-L59
1
Ruby
get current ip address
https://github.com/zold-io/zold/blob/7e0f69307786846186bc3436dcc72d91d393ddd4/lib/zold/commands/node.rb#L472-L478
3
Ruby
html entities replace
https://github.com/huginn/huginn/blob/01e18fef7b6bd827a5d48a89391e460b5fb1bee3/lib/utils/html_transformer.rb#L62-L81
1
Ruby
custom http error response
https://github.com/icyleaf/qyer-mobile-app/blob/4704b58fb9752262bb2ee53e5a566f0fd44241d5/lib/qma/client.rb#L84-L97
2
Ruby
parse command line argument
https://github.com/chetan/dht-sensor-ffi/blob/fe7d6d0c64dc9c258bd823f7d1d41f7edf129cd2/lib/dht-sensor/app.rb#L115-L143
3
Ruby
regex case insensitive
https://github.com/johnmarinelli/BILLYMAYSQL/blob/2ae604b5af8ae80821b7c7ab1a09a278bf5c2150/lib/sqlize.rb#L24-L27
1
Ruby
linear regression
https://github.com/mtortonesi/ruby-erv/blob/02e757296ef79b3deb47a40bbdeab5de795e105b/lib/erv/mixture_distribution.rb#L80-L87
0
Ruby
get current process id
https://github.com/tablexi/eye-patch/blob/9b098a8a3d1b7d10949302686b3c83ff525f538f/lib/eye/patch/process_set.rb#L17-L27
1
Ruby
confusion matrix
https://github.com/wouterken/RMatrix/blob/893feba118b0537f53cf0b88025caaafbf4c0808/lib/rmatrix/matrix.rb#L302-L309
0
Ruby
fuzzy match ranking
https://github.com/elifoster/weatheruby/blob/4d97db082448765b67ef5112c89346e502a74858/lib/weather/actions.rb#L39-L45
0
Ruby
readonly array
https://github.com/williambarry007/caboose-rets/blob/1e7a5a3a1d51558229aeb2aa2c2f573e18727d27/lib/rets/stream_http.rb#L50-L152
0
Ruby
how to read the contents of a .gz compressed file?
https://github.com/eagletmt/faml/blob/4f2a60af8df61e9da9cd6f3410aa23cb7fadea4e/lib/faml/cli.rb#L50-L52
0
Ruby
how to get database table name
https://github.com/garethlatwork/quickbase_client/blob/13d754de1f22a466806c5a0da74b0ded26c23f05/lib/QuickBaseClient.rb#L914-L938
1
Ruby
socket recv timeout
https://github.com/lann/tcp-timeout-ruby/blob/5bff959e54bfb0d1bb9bdcd73c7196629b5291f5/lib/tcp_timeout.rb#L146-L161
2
Ruby
html entities replace
https://github.com/rhomobile/rhodes/blob/3c5f87b1a44f0ba2865ca0e1dd780dd202f64872/res/build-tools/ruby-standalone/212/usr/local/lib/ruby/2.1.0/rexml/doctype.rb#L136-L140
0
Ruby
convert int to string
https://github.com/cxn03651/writeexcel/blob/d0345067c21b14a7141ba66b6752be8f4be379de/lib/writeexcel/formula.rb#L279-L302
0
Ruby
read properties file
https://github.com/caruby/core/blob/a682dc57c6fa31aef765cdd206ed3d4b4c289c60/lib/caruby/helpers/properties.rb#L68-L90
2
Ruby
pretty print json
https://github.com/public-law/schema-dot-org/blob/4b1585f3a1ea5fd465872a052a88775f799acc4b/lib/schema_dot_org.rb#L32-L40
0
Ruby
httpclient post json
https://github.com/gurgeous/sinew/blob/c5a0f027939fedb597c28a8553f63f514584724a/lib/sinew/dsl.rb#L46-L52
3
Ruby
get the description of a http status code
https://github.com/wvk/railsdav/blob/2a51bf43a726175eaa93bdfe7ba2bed0248d3d87/lib/railsdav/renderer.rb#L99-L103
1
Ruby
parse json file
https://github.com/drrb/cfoo/blob/24fec58d607d364065c093eb9e9271a29bbc88fd/lib/cfoo/parser.rb#L121-L133
0
Ruby
convert string to number
https://github.com/khiemns54/takenoko/blob/5105f32fcf6b39c0e63e61935d372851de665b54/lib/takenoko/google_client.rb#L129-L132
3
Ruby
how to determine a string is a valid word
https://github.com/ryangreenberg/urban_dictionary/blob/a03678b52ef6bf58f13eeee8542c5dc90d25ef94/lib/urban_dictionary/cli.rb#L62-L88
0
Ruby
get current observable value
https://github.com/github/scientist/blob/25a22f733d4be523404b22ad818e520d20b57619/lib/scientist/experiment.rb#L41-L49
0
Ruby
convert decimal to hex
https://github.com/cryptape/ruby-rlp/blob/49c11eaee9f0f58d8028e5f1a291504c22dc947c/lib/rlp/utils.rb#L50-L54
2
Ruby
save list to file
https://github.com/budabum/uicov/blob/581cfcf94bf6aa29387c6d120974bc4d3019349a/lib/uicov/commands/report.rb#L112-L116
1
Ruby
extract data from html content
https://github.com/socialcast/link_preview/blob/26764dd0f4fca4968bfc196fad833841b66cc027/lib/link_preview/parser.rb#L61-L74
2
Ruby
get inner html
https://github.com/opoloo/lines-engine/blob/9ae0525e882a9c323558353ce1941c50e8bcfc67/app/helpers/lines/application_helper.rb#L67-L98
1
Ruby
unique elements
https://github.com/rhomobile/rhodes/blob/3c5f87b1a44f0ba2865ca0e1dd780dd202f64872/lib/extensions/rexml/rexml/element.rb#L295-L302
1
Ruby
memoize to disk - persistent memoization
https://github.com/dkubb/adamantium/blob/bf38d4ad8a4307ab7f0593758b87f62b91e1df69/lib/adamantium/module_methods.rb#L28-L33
2
Ruby
socket recv timeout
https://github.com/niw/wemo_device/blob/e4be2924eaf8ed6b4da5e8712b0076f061bfab8a/lib/wemo_device/ssdp.rb#L44-L65
2
Ruby
format date
https://github.com/gdomingu/nasa_apod/blob/f8068be3c9e87c0733fc332f6bf11d956dd39ec0/lib/nasa_apod/client.rb#L59-L70
1
Ruby
unique elements
https://github.com/AlchemyCMS/alchemy_cms/blob/0e1c5665984ff67d387c8cb4255f805c296c2fb6/lib/alchemy/upgrader/tasks/cells_upgrader.rb#L73-L87
1
Ruby
filter array
https://github.com/sorah/hocho/blob/036eeccf45161423358382119256ee8cc5a171c1/lib/hocho/inventory.rb#L23-L52
1
Ruby
read properties file
https://github.com/thechrisoshow/rtf/blob/d6455933262a25628006101be802d7f7b2c3feb7/lib/rtf/node.rb#L1473-L1512
1
Ruby
json to xml conversion
https://github.com/paulsamuels/xcunique/blob/0a95740109dc504734acf01dfbb979d09fb5d9fd/lib/xcunique/options.rb#L48-L65
0
Ruby
aes encryption
https://github.com/scepticulous/crypto-toolbox/blob/cdbe371109e497db2c2af5c1fe0f359612f44816/lib/crypto-toolbox/ciphers/aes.rb#L25-L28
0
Ruby
httpclient post json
https://github.com/sonots/growthforecast-client/blob/6e0c463fe47627a96bded7e628f9456da4aa69ee/lib/growthforecast/client.rb#L110-L118
3
Ruby
aes encryption
https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/message_encryptor.rb#L20-L33
2
Ruby
create cookie
https://github.com/chriskite/anemone/blob/72b699ee11f618bdeb5a8f198b0b9aa675b4e2fa/lib/anemone/cookie_store.rb#L19-L28
2
Ruby
convert json to csv
https://github.com/afirel/sepparator/blob/530ada67d11a66b9bb0f761539d172ea5187560e/lib/sepparator/spreadsheet_converter.rb#L14-L21
0
Ruby
positions of substrings in string
https://github.com/SciRuby/daru/blob/d17887e279c27e2b2ec7a252627c04b4b03c0a7a/lib/daru/category.rb#L277-L281
0
Ruby
sorting multiple arrays based on another arrays sorted order
https://github.com/bestie/terrestrial/blob/0cee1af7eac85572f22d68933f7f39d6e2a7e311/lib/terrestrial/dataset.rb#L17-L29
0
Ruby
deducting the median from each column
https://github.com/ThoughtWorksStudios/oauth2_provider/blob/d54702f194edd05389968cf8947465860abccc5d/tools/jruby-1.5.1/lib/ruby/gems/1.8/gems/activerecord-jdbc-adapter-0.9.7-java/lib/jdbc_adapter/missing_functionality_helper.rb#L48-L69
0
Ruby
set file attrib hidden
https://github.com/mare-imbrium/canis/blob/8bce60ff9dad321e299a6124620deb4771740b0b/lib/canis/core/widgets/rwidget.rb#L334-L383
1
Ruby
sending binary data over a serial connection
https://github.com/shokai/arduino_firmata/blob/bf83d3331a0f5a7db858cd06cefc6127f023d9b3/lib/arduino_firmata/arduino.rb#L188-L200
0
Ruby
convert a utc time to epoch
https://github.com/cronofy/cronofy-ruby/blob/a4e3b4274c7b6ddc047008c6f0c6c0e52e456816/lib/cronofy/types.rb#L159-L166
1
Ruby
postgresql connection
https://github.com/einzige/framework/blob/5a8a2255265118aa244cdabac29fd1ce7f885118/lib/framework/application.rb#L191-L196
2
Ruby
sorting multiple arrays based on another arrays sorted order
https://github.com/quirkey/restful_query/blob/7cedcc80bb1e8be749eae0d4c560d979cf27fa00/lib/restful_query/parser.rb#L147-L152
1
Ruby
html encode string
https://github.com/mkj-is/Truty/blob/315f49ad73cc2fa814a7793aa1b19657870ce98f/lib/truty/conversion.rb#L59-L64
1
Ruby
get current observable value
https://github.com/kontena/kontena/blob/5cb5b4457895985231ac88e78c8cbc5a8ffb5ec7/agent/lib/kontena/observable.rb#L185-L209
1
Ruby
normal distribution
https://github.com/DataDog/dogstatsd-ruby/blob/0ea2a4d011958ad0d092654cae950e64b6475077/lib/datadog/statsd.rb#L324-L326
0
Ruby
httpclient post json
https://github.com/kontena/kong-client-ruby/blob/028c8913388f46c7b3a41984f36687d147f74442/lib/kong/client.rb#L75-L89
3
Ruby
fuzzy match ranking
https://github.com/quidproquo/ranker/blob/bf6c6be5f90be973a7016363d78a691f0e6d67fd/lib/ranker/strategies/ordinal.rb#L10-L19
0
Ruby
nelder mead optimize
https://github.com/timfel/cassowary-ruby/blob/4780f8a243e715e1d0495a3629c1cda8cc186fa5/lib/simplex_solver.rb#L523-L576
1
Ruby
extract latitude and longitude from given input
https://github.com/tkrajina/geoelevations/blob/2225da9108e651bfd9857ba010cb5c401b56b22a/lib/geoelevation.rb#L118-L124
1
Ruby
convert json to csv
https://github.com/booqable/scoped_serializer/blob/fb163bbf61f54a5e8684e4aba3908592bdd986ac/lib/scoped_serializer/array_serializer.rb#L29-L39
2
Ruby
unzipping large files
https://github.com/ejholmes/metaforce/blob/2e13c1fb28bd4d0f181c63d9acbab6b3632f02e1/lib/metaforce/job/retrieve.rb#L76-L84
2
Ruby
how to determine a string is a valid word
https://github.com/mare-imbrium/canis/blob/8bce60ff9dad321e299a6124620deb4771740b0b/lib/canis/core/include/ractionevent.rb#L57-L71
0
Ruby
postgresql connection
https://github.com/rapid7/nexpose-client/blob/933fc8c0c85ba11d3e17db1d7f4542816f400d71/lib/nexpose/credential_helper.rb#L92-L97
2
Ruby
format date
https://github.com/procore/blueprinter/blob/4df6de78ed6c1f8574d5ec2fad5d1f4935fdb003/lib/blueprinter/formatters/date_time_formatter.rb#L19-L29
2
Ruby
randomly extract x items from a list
https://github.com/codecalm/jekyll-random/blob/b1db3fd4def822b677f77a5b15443cacc7d69989/lib/jekyll-random.rb#L18-L22
1
Ruby
get current ip address
https://github.com/ryotarai/infrataster/blob/97c9f9a91ed8285e72cffec83b8feb34e55a8acd/lib/infrataster/server.rb#L182-L211
1
Ruby
convert a date string into yyyymmdd
https://github.com/minimul/iif-parser/blob/9be3eb1f15def9051714b8f2b88763d6581bc26e/lib/iif/parser.rb#L83-L88
1
Ruby
hash set for counting distinct elements
https://github.com/tombroomfield/motion_panel/blob/b75f5110b4a27f23cb45746b166190570b9b8391/lib/motion_panel/people_manager.rb#L27-L30
1
Ruby
write csv
https://github.com/controlshift/blue_state_digital/blob/c59038e61c1feb36abffa802069199a1b1280fe9/lib/blue_state_digital/dataset.rb#L99-L106
1
Ruby
read text file line by line
https://github.com/volmer/policial/blob/8c193923b910f9209c7e9b716d2dd877ff196b07/lib/policial/patch.rb#L25-L35
1
Ruby
create cookie
https://github.com/wycats/merb/blob/b34d3d4fb6da70c2e9e9e56ddccc73f8a3e55e39/merb-core/spec/public/controller/controllers/cookies.rb#L9-L15
2
Ruby
how to check if a checkbox is checked
https://github.com/zhimin/rwebspec/blob/aafccee2ba66d17d591d04210067035feaf2f892/lib/rwebspec-common/assert.rb#L115-L126
2
Ruby
create cookie
https://github.com/dwaite/cookiejar/blob/c02007c13c93f6a71ae71c2534248a728b2965dd/lib/cookiejar/jar.rb#L73-L76
3
Ruby
parse command line argument
https://github.com/zerowidth/camper_van/blob/984351a3b472e936a451f1d1cd987ca27d981d23/lib/camper_van/ircd.rb#L74-L81
0
Ruby
string similarity levenshtein
https://github.com/agarie/measurable/blob/8ff8efbab1a0892bdddf6e865dd8864956168a91/lib/measurable/levenshtein.rb#L27-L53
3
Ruby
connect to sql
https://github.com/stripe/mosql/blob/aa76a2db505e6efad5fb0a57881a7818926cc234/lib/mosql/sql.rb#L13-L23
3
Ruby
finding time elapsed using a timer
https://github.com/spox/actiontimer/blob/fcda2ea3cb23db54d7e11005d093970145fed54c/lib/actiontimer/action.rb#L32-L35
0
Ruby
matrix multiply
https://github.com/Nephos/epimath100/blob/a415625e1d37eb2168ab7d382ccd7a868ca160ea/lib/epimath100/matrix.class.rb#L232-L269
2
Ruby
how to read .csv file in an efficient way?
https://github.com/pjotrp/bioruby-table/blob/e7cc97bb598743e7d69e63f16f76a2ce0ed9006d/lib/bio-table/table.rb#L50-L61
2