Language
stringclasses
6 values
Query
stringlengths
9
60
GitHubUrl
stringlengths
87
248
Relevance
int32
0
3
Notes
stringlengths
0
293
Java
get all parents of xml node
https://github.com/imintel/osm-parser/blob/050432571ac123bd120f56dbf2d4f8886e89f050/src/main/java/br/zuq/osm/parser/WayParser.java#L50-L70
0
Java
how to get database table name
https://github.com/kuali/ojb-1.0.4/blob/9a544372f67ce965f662cdc71609dd03683c8f04/src/tools/org/apache/ojb/tools/mapping/reversedb/DBTable.java#L102-L130
3
Java
get current ip address
https://github.com/xwiki/xwiki-commons/blob/5374d8c6d966588c1eac7392c83da610dfb9f129/xwiki-commons-core/xwiki-commons-crypto/xwiki-commons-crypto-pkix/src/main/java/org/xwiki/crypto/pkix/params/x509certificate/extension/X509IpAddress.java#L98-L108
1
Java
group by count
https://github.com/ravendb/ravendb-jvm-client/blob/5a45727de507b541d1571e79ddd97c7d88bee787/src/main/java/net/ravendb/client/documents/session/AbstractDocumentQuery.java#L344-L350
0
Java
html entities replace
https://github.com/mkolisnyk/cucumber-reports/blob/9c9a32f15f0bf1eb1d3d181a11bae9c5eec84a8e/cucumber-report-generator/src/main/java/com/github/mkolisnyk/cucumber/reporting/utils/helpers/StringConversionUtils.java#L45-L58
2
Java
scatter plot
https://github.com/haifengl/smile/blob/e27e43e90fbaacce3f99d30120cf9dd6a764c33d/plot/src/main/java/smile/plot/PlotCanvas.java#L1613-L1628
3
Java
replace in file
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.fat.common/src/com/ibm/ws/security/fat/common/utils/CommonIOUtils.java#L46-L104
2
Java
randomly extract x items from a list
https://github.com/Netflix/eureka/blob/48446d956be09df6650a3c00b7ebd7e2d1e1544f/eureka-client/src/main/java/com/netflix/discovery/shared/resolver/ResolverUtils.java#L88-L102
0
Java
replace in file
https://github.com/overturetool/overture/blob/83175dc6c24fa171cde4fcf61ecb648eba3bdbc1/core/codegen/platform/src/main/java/org/overture/codegen/utils/GeneralCodeGenUtils.java#L373-L377
1
Java
how to reverse a string
https://github.com/zaproxy/zaproxy/blob/0cbe5121f2ae1ecca222513d182759210c569bec/src/org/zaproxy/zap/utils/HirshbergMatcher.java#L110-L113
3
Java
html encode string
https://github.com/OWASP/owasp-java-encoder/blob/bc9a85723f3c1b4819d9aa8aa1b539787128e4ea/core/src/main/java/org/owasp/encoder/Encode.java#L439-L443
2
Java
save list to file
https://github.com/jenkinsci/jenkins/blob/44c4d3989232082c254d27ae360aa810669f44b7/core/src/main/java/jenkins/security/stapler/StaticRoutingDecisionProvider.java#L190-L206
3
Java
encode url
https://github.com/kevinsawicki/http-request/blob/2d62a3e9da726942a93cf16b6e91c0187e6c0136/lib/src/main/java/com/github/kevinsawicki/http/HttpRequest.java#L1264-L1268
2
Java
get executable path
https://github.com/apache/flink/blob/b62db93bf63cb3bb34dd03d611a779d9e3fc61ac/flink-core/src/main/java/org/apache/flink/util/FileUtils.java#L436-L447
3
Java
string similarity levenshtein
https://github.com/pressgang-ccms/PressGangCCMSCommonUtilities/blob/5ebf5ed30a94c34c33f4708caa04a8da99cbb15c/src/main/java/org/jboss/pressgang/ccms/utils/common/StringUtilities.java#L365-L379
2
Java
export to excel
https://github.com/ZuInnoTe/hadoopoffice/blob/58fc9223ee290bcb14847aaaff3fadf39c465e46/fileformat/src/main/java/org/zuinnote/hadoop/office/format/mapreduce/ExcelCellFileInputFormat.java#L36-L41
1
Java
heatmap from 3d coordinates
https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dt/grid/gis/GridBoundariesExtractor.java#L119-L310
2
Java
socket recv timeout
https://github.com/zeromq/jeromq/blob/8b4a2960b468d08b7aebb0d40bfb947e08fed040/src/main/java/org/zeromq/ZFrame.java#L309-L315
1
Java
extract latitude and longitude from given input
https://github.com/kiegroup/optaplanner/blob/b8f1459b4e6b0f7aafe941fd165bff640c11d7d5/optaplanner-examples/src/main/java/org/optaplanner/examples/common/swingui/latitudelongitude/LatitudeLongitudeTranslator.java#L42-L55
0
Java
sort string list
https://github.com/nextreports/nextreports-server/blob/cfce12f5c6d52cb6a739388d50142c6e2e07c55e/src/ro/nextreports/server/web/analysis/util/DatabaseUtil.java#L189-L199
0
Java
convert a date string into yyyymmdd
https://github.com/jeremiehuchet/acrachilisync/blob/4eadb0218623e77e0d92b5a08515eea2db51e988/acrachilisync-core/src/main/java/fr/dudie/acrachilisync/model/AcraReport.java#L95-L109
1
Java
get current process id
https://github.com/CenturyLinkCloud/mdw/blob/91167fe65a25a5d7022cdcf8b0fae8506f5b87ce/mdw-services/src/com/centurylink/mdw/service/data/process/ProcessCache.java#L117-L131
1
Java
get the description of a http status code
https://github.com/line/armeria/blob/67d29e019fd35a35f89c45cc8f9119ff9b12b44d/grpc/src/main/java/com/linecorp/armeria/internal/grpc/GrpcStatus.java#L157-L180
1
Java
convert json to csv
https://github.com/tabulapdf/tabula-java/blob/a86b72aa81c0bcb4b8b4402dc94ca1211f152930/src/main/java/technology/tabula/CommandLineApp.java#L441-L455
0
Java
extracting data from a text file
https://github.com/ModeShape/modeshape/blob/794cfdabb67a90f24629c4fff0424a6125f8f95b/modeshape-jcr/src/main/java/org/modeshape/jcr/query/RowExtractors.java#L204-L218
0
Java
extract latitude and longitude from given input
https://github.com/tvesalainen/util/blob/bba7a44689f638ffabc8be40a75bdc9a33676433/util/src/main/java/org/vesalainen/navi/LocalLongitude.java#L46-L56
0
Java
write csv
https://github.com/molgenis/molgenis/blob/b4d0d6b27e6f6c8d7505a3863dc03b589601f987/molgenis-dataexplorer/src/main/java/org/molgenis/dataexplorer/download/DataExplorerDownloadHandler.java#L73-L82
2
Java
reading element from html - <td>
https://github.com/webfolderio/ui4j/blob/b0b95f20e21e8ff0d0ce6b1f2a4b84d3f9074625/ui4j-webkit/src/main/java/io/webfolder/ui4j/webkit/dom/WebKitElement.java#L798-L803
0
Java
converting uint8 array to image
https://github.com/lessthanoptimal/BoofCV/blob/f01c0243da0ec086285ee722183804d5923bc3ac/examples/src/main/java/boofcv/examples/imageprocessing/ExampleBinaryOps.java#L50-L91
0
Java
how to randomly pick a number
https://github.com/fozziethebeat/S-Space/blob/a608102737dfd3d59038a9ead33fe60356bc6029/src/main/java/edu/ucla/sspace/index/RandomIndexVectorGenerator.java#L170-L212
1
Java
set working directory
https://github.com/facebookarchive/hadoop-20/blob/2a29bc6ecf30edb1ad8dbde32aa49a317b4d44f4/src/mapred/org/apache/hadoop/mapred/JobConf.java#L591-L599
0
Java
reading element from html - <td>
https://github.com/fcrepo3/fcrepo/blob/37df51b9b857fd12c6ab8269820d406c3c4ad774/fcrepo-server/src/main/java/org/fcrepo/server/access/FieldSearchServlet.java#L346-L356
0
Java
get all parents of xml node
https://github.com/mozilla/rhino/blob/fa8a86df11d37623f5faa8d445a5876612bc47b0/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLObjectImpl.java#L58-L63
0
Java
export to excel
https://github.com/nextreports/nextreports-engine/blob/a847575a9298b5fce63b88961190c5b83ddccc44/src/ro/nextreports/integration/DemoUtil.java#L46-L58
0
Java
json to xml conversion
https://github.com/undera/jmeter-plugins/blob/416d2a77249ab921c7e4134c3e6a9639901ef7e8/plugins/json/src/main/java/com/atlantbh/jmeter/plugins/jsontoxmlconverter/JSONToXMLConverter.java#L33-L40
0
Java
underline text in label widget
https://github.com/BorderTech/wcomponents/blob/d1a2b2243270067db030feb36ca74255aaa94436/wcomponents-examples/src/main/java/com/github/bordertech/wcomponents/examples/theme/WHeadingExample.java#L178-L181
1
Java
encode url
https://github.com/bmwcarit/joynr/blob/b7a92bad1cf2f093de080facd2c803560f4c6c26/java/core/clustercontroller/src/main/java/io/joynr/messaging/http/UrlResolver.java#L83-L97
2
Java
pretty print json
https://github.com/blademainer/common_utils/blob/ef6baf0367c16de95a28caab67a7d5842a6d13db/commons-file/src/main/java/info/monitorenter/cpdetector/util/collections/TreeNodeUniqueChildren.java#L105-L148
0
Java
group by count
https://github.com/twitter/hraven/blob/e35996b6e2f016bcd18db0bad320be7c93d95208/hraven-core/src/main/java/com/twitter/hraven/CounterMap.java#L40-L47
0
Java
get name of enumerated value
https://github.com/EXIficient/exificient-grammars/blob/d96477062ebdd4245920e44cc1995259699fc7fb/src/main/java/com/siemens/ct/exi/grammars/persistency/Grammars2X.java#L879-L1017
0
Java
sort string list
https://github.com/willowtreeapps/Hyperion-Android/blob/1910f53869a53f1395ba90588a0b4db7afdec79c/hyperion-shared-preferences/src/main/java/com/willowtreeapps/hyperion/sharedpreferences/detail/SharedPreferencesDetailAdapter.java#L133-L137
3
Java
initializing array
https://github.com/sshtools/j2ssh-maverick/blob/ce11ceaf0aa0b129b54327a6891973e1e34689f7/j2ssh-maverick/src/main/java/com/sshtools/ssh/components/ComponentManager.java#L100-L159
0
Java
k means clustering
https://github.com/Waikato/moa/blob/395982e5100bfe75a3a4d26115462ce2cc74cbb0/moa/src/main/java/moa/clusterers/clustream/WithKmeans.java#L305-L356
2
Java
how to randomly pick a number
https://github.com/vanilladb/vanillabench/blob/f38e76ea2ea781f00d80032a8457b01154872b54/src/main/java/org/vanilladb/bench/util/RandomValueGenerator.java#L51-L71
3
Java
sorting multiple arrays based on another arrays sorted order
https://github.com/goldmansachs/gs-collections/blob/fa8bf3e103689efa18bca2ab70203e71cde34b52/collections/src/main/java/com/gs/collections/impl/set/mutable/primitive/ByteHashSet.java#L850-L865
0
Java
buffered file reader read text
https://github.com/fcrepo3/fcrepo/blob/37df51b9b857fd12c6ab8269820d406c3c4ad774/fcrepo-server/src/main/java/org/fcrepo/server/storage/lowlevel/GenericFileSystem.java#L176-L201
0
no reading
Java
buffered file reader read text
https://github.com/lecousin/java-framework-core/blob/b0c893b44bfde2c03f90ea846a49ef5749d598f3/net.lecousin.core/src/main/java/net/lecousin/framework/xml/XMLStreamEventsAsync.java#L156-L215
0
Java
socket recv timeout
https://github.com/teatrove/teatrove/blob/7039bdd4da6817ff8c737f7e4e07bac7e3ad8bea/trove/src/main/java/org/teatrove/trove/net/PlainSocketFactory.java#L92-L101
1
Java
linear regression
https://github.com/TheHortonMachine/hortonmachine/blob/d2b436bbdf951dc1fda56096a42dbc0eae4d35a5/gears/src/main/java/oms3/ngmf/util/cosu/Efficiencies.java#L181-L224
3
Java
nelder mead optimize
https://github.com/biojava/biojava/blob/a1c71a8e3d40cc32104b1d387a3d3b560b43356e/biojava-structure/src/main/java/org/biojava/nbio/structure/align/fatcat/calc/StructureAlignmentOptimizer.java#L287-L330
0
Java
how to get current date
https://github.com/intuit/QuickBooks-V3-Java-SDK/blob/59f988d0776d46620d0b34711c411b2b5b1da06b/ipp-v3-java-devkit/src/main/java/com/intuit/ipp/util/DateUtils.java#L142-L148
1
Java
json to xml conversion
https://github.com/CloudSlang/cs-actions/blob/9a1be1e99ad88286a6c153d5f2275df6ae1a57a1/cs-xml/src/main/java/io/cloudslang/content/xml/services/ConvertXmlToJsonService.java#L95-L101
0
Java
unzipping large files
https://github.com/azkaban/azkaban/blob/d258ea7d6e66807c6eff79c5325d6d3443618dff/azkaban-common/src/main/java/azkaban/project/AzkabanProjectLoader.java#L266-L273
1
Java
create cookie
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.openidconnect.clients.common/src/com/ibm/ws/security/openidconnect/clients/common/OidcClientUtil.java#L286-L288
1
Java
all permutations of a list
https://github.com/dwdyer/uncommons-maths/blob/b7ba13aea70625bb7f37c856783a29e17e354964/core/src/java/main/org/uncommons/maths/combinatorics/PermutationGenerator.java#L179-L183
0
Java
copy to clipboard
https://github.com/code4everything/util/blob/1fc9f0ead1108f4d7208ba7c000df4244f708418/src/main/java/com/zhazhapan/util/Utils.java#L293-L298
3
Java
hash set for counting distinct elements
https://github.com/goldmansachs/gs-collections/blob/fa8bf3e103689efa18bca2ab70203e71cde34b52/collections/src/main/java/com/gs/collections/impl/utility/ArrayListIterate.java#L1520-L1548
0
Java
output to html file
https://github.com/fhoeben/hsac-fitnesse-fixtures/blob/4e9018d7386a9aa65bfcbf07eb28ae064edd1732/src/main/java/nl/hsac/fitnesse/junit/reportmerge/HtmlReportIndexGenerator.java#L58-L60
2
Java
string similarity levenshtein
https://github.com/pressgang-ccms/PressGangCCMSCommonUtilities/blob/5ebf5ed30a94c34c33f4708caa04a8da99cbb15c/src/main/java/org/jboss/pressgang/ccms/utils/common/StringUtilities.java#L388-L402
1
Java
read properties file
https://github.com/javalite/activejdbc/blob/ffcf5457cace19622a8f71e856cbbbe9e7dd5fcc/activejdbc/src/main/java/org/javalite/activejdbc/Configuration.java#L217-L221
3
Java
aes encryption
https://github.com/cloudant/sync-android/blob/5f1416ed1bd9ab05d7a4b8736480c8ae68bd7383/cloudant-sync-datastore-android-encryption/src/main/java/com/cloudant/sync/datastore/encryption/DPKEncryptionUtil.java#L98-L107
1
Java
convert html to pdf
https://github.com/Coveros/selenified/blob/396cc1f010dd69eed33cc5061c41253de246a4cd/src/main/java/com/coveros/selenified/utilities/Reporter.java#L741-L752
2
Java
k means clustering
https://github.com/hankcs/HanLP/blob/a538d0722ab2e4980a9dcd9ea40324fc3ddba7ce/src/main/java/com/hankcs/hanlp/mining/cluster/Cluster.java#L289-L319
1
Java
custom http error response
https://github.com/Netflix/zuul/blob/01bc777cf05e3522d37c9ed902ae13eb38a19692/zuul-core/src/main/java/com/netflix/zuul/stats/status/StatusCategoryUtils.java#L50-L57
0
Java
nelder mead optimize
https://github.com/ontop/ontop/blob/ddf78b26981b6129ee9a1a59310016830f5352e4/core/optimization/src/main/java/it/unibz/inf/ontop/iq/optimizer/FlattenUnionOptimizer.java#L45-L50
0
Java
save list to file
https://github.com/spring-projects/spring-shell/blob/23d99f45eb8f487e31a1f080c837061313bbfafa/spring-shell-standard-commands/src/main/java/org/springframework/shell/standard/commands/History.java#L58-L72
1
Java
convert string to number
https://github.com/VoltDB/voltdb/blob/8afc1031e475835344b5497ea9e7203bc95475ac/src/hsqldb19b3/org/hsqldb_voltpatches/ParserBase.java#L819-L821
3
Java
how to empty array
https://github.com/damianszczepanik/cucumber-reporting/blob/9ffe0d4a9c0aec161b0988a930a8312ba36dc742/src/main/java/net/masterthought/cucumber/Trends.java#L221-L225
0
Java
hash set for counting distinct elements
https://github.com/hazelcast/hazelcast/blob/8c4bc10515dbbfb41a33e0302c0caedf3cda1baf/hazelcast/src/main/java/com/hazelcast/mapreduce/aggregation/Aggregations.java#L88-L92
0
Java
how to determine a string is a valid word
https://github.com/fozziethebeat/S-Space/blob/a608102737dfd3d59038a9ead33fe60356bc6029/src/main/java/edu/ucla/sspace/dv/RelationBasedBasisMapping.java#L51-L58
0
Java
connect to sql
https://github.com/Teddy-Zhu/SilentGo/blob/27f58b0cafe56b2eb9fc6993efa9ca2b529661e1/orm/src/main/java/com/silentgo/orm/source/jdbc/JDBCPool.java#L41-L49
1
Java
pretty print json
https://github.com/EsotericSoftware/jsonbeans/blob/ff4502d0ff86cc77aa5c61d47371d0c66c14fe2f/src/com/esotericsoftware/jsonbeans/Json.java#L1040-L1042
3
Java
how to get current date
https://github.com/intuit/QuickBooks-V3-Java-SDK/blob/59f988d0776d46620d0b34711c411b2b5b1da06b/ipp-v3-java-devkit/src/main/java/com/intuit/ipp/util/DateUtils.java#L113-L118
2
Java
matrix multiply
https://github.com/haifengl/smile/blob/e27e43e90fbaacce3f99d30120cf9dd6a764c33d/nd4j/src/main/java/smile/nd4j/NDMatrix.java#L508-L511
0
Java
postgresql connection
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/impl/WSManagedConnectionFactoryImpl.java#L1283-L1298
1
Java
extracting data from a text file
https://github.com/elki-project/elki/blob/b54673327e76198ecd4c8a2a901021f1a9174498/addons/joglvis/src/main/java/de/lmu/ifi/dbs/elki/joglvis/scatterplot/opengl4/ScatterPlotOpenGL4.java#L116-L123
0
Java
extract latitude and longitude from given input
https://github.com/amsa-code/risky/blob/13649942aeddfdb9210eec072c605bc5d7a6daf3/ais/src/main/java/au/gov/amsa/ais/message/AisAidToNavigation.java#L160-L168
0
Java
how to reverse a string
https://github.com/gosu-lang/gosu-lang/blob/d6e9261b137ce66fef3726cabe7826d4a1f946b7/gosu-core-api/src/main/java/gw/util/GosuStringUtil.java#L5279-L5284
3
Java
connect to sql
https://github.com/kuali/ojb-1.0.4/blob/9a544372f67ce965f662cdc71609dd03683c8f04/src/tools/org/apache/ojb/tools/mapping/reversedb/gui/actions/DBConnectAction.java#L47-L82
3
JavaScript
read text file line by line
https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/9ff820d58da1eea47f12a87939e62a23cc07561d/lib/rules/script-indent.js#L209-L222
0
JavaScript
socket recv timeout
https://github.com/tonekk/remood.js/blob/d441b96ed1db1d82fb56877163b814bb2809be47/lib/remood.connection.js#L25-L46
0
JavaScript
connect to sql
https://github.com/jheusala/node-sqlmw/blob/4f61c142783dfbe76c96d8ddca80fa434305be86/lib/middlewares/connect.js#L28-L46
3
JavaScript
priority queue
https://github.com/googlearchive/backbonefire/blob/d6278d4aeb0743bdd7e9de96cc56d4e64476778b/examples/todos/js/backbonefire.js#L690-L695
0
JavaScript
copy to clipboard
https://github.com/OpusCapita/react-markdown/blob/77f977bd839bdf9c90b8f064179e44464860ae11/src/client/components/PlainMarkdownInput/PlainMarkdownInput.react.js#L61-L70
3
JavaScript
reading element from html - <td>
https://github.com/evothings/phonegap-estimotebeacons/blob/eed09405b5435a0b9e76e9094f52350991c51b91/examples/beacon-finder/www/js/screen-scan-beacons.js#L2-L62
0
JavaScript
matrix multiply
https://github.com/silklabs/silk/blob/08c273949086350aeddd8e23e92f0f79243f446f/flow-bin/linux/flow/flow.js#L15498-L15499
0
JavaScript
how to check if a checkbox is checked
https://github.com/UziTech/atom-jasmine3-test-runner/blob/580e3299f10a594c63afafd9223dbbaecd6cbcd4/spec/spec-helper/jasmine-jquery-spec.js#L93-L100
3
JavaScript
convert string to number
https://github.com/hola/jwplayer-hlsjs/blob/33e93031666f908b2826109ffb7c1d0a8861e761/src/jwplayer.hlsjs.js#L397-L412
1
JavaScript
postgresql connection
https://github.com/AGCPartners/mysql-transit/blob/d3cc3701166be3d41826c4b3bf1a596ed4c1f03a/index.js#L534-L541
0
JavaScript
read properties file
https://github.com/googleapis/nodejs-firestore/blob/c1192504e2d2ebe505aaf952227f377017f43bdc/dev/protos/firestore_proto_api.js#L2744-L2749
0
JavaScript
buffered file reader read text
https://github.com/Turfjs/turf-buffer/blob/3f1ebed65b5d8fa6098702cf80e6cc77039bcce5/index.js#L65-L77
0
JavaScript
convert int to string
https://github.com/pzavolinsky/elmx/blob/ae125fa9a749273a65d224bc87bbecbf06f253d8/cheatsheet/elm.js#L3797-L3822
1
JavaScript
how to read the contents of a .gz compressed file?
https://github.com/tessel/t2-cli/blob/73739db21b40ca643024596b84c11e74e967d761/lib/tessel/update.js#L156-L180
0
JavaScript
normal distribution
https://github.com/thii/abbajs/blob/b75b5d4f0cb6bf920cdec36814b72be1e30cf908/index.js#L195-L205
0
JavaScript
get current ip address
https://github.com/cgmartin/express-api-server/blob/9d6de16e7c84d21b83639a904f2eaed4a30a4088/src/middleware/request-logger.js#L61-L66
2
JavaScript
convert int to string
https://github.com/AltspaceVR/AltspaceSDK/blob/3e39b6ebeed500c98f16f4cf2b0db053ec0953cd/examples/js/libs/GLTFLoader.js#L638-L650
3
JavaScript
convert string to number
https://github.com/chancejs/chancejs/blob/e74c70a21b43e7f0fca8cf65b27632bf51c52eb6/docs/chance.js#L448-L454
0
JavaScript
heatmap from 3d coordinates
https://github.com/Dafrok/BMapLib.Heatmap/blob/710f22b68834b26bd1202944ba6137e42968b75d/index.js#L33-L52
0
JavaScript
read properties file
https://github.com/slawrence/grunt-properties-reader/blob/e8da99c688e2609838d76ea3b1c69a3e6027692e/tasks/properties_reader.js#L77-L120
3
JavaScript
copy to clipboard
https://github.com/webduinoio/webduino-blockly/blob/f656474c6e4ba1fc12fda217280714c3ca044bbe/code.js#L408-L429
3