Language
stringclasses
6 values
Query
stringlengths
9
60
GitHubUrl
stringlengths
87
248
Relevance
int32
0
3
Notes
stringlengths
0
293
PHP
memoize to disk - persistent memoization
https://github.com/peridot-php/leo/blob/2a6f60f237498cd7c3e912d71dcb90424ab66e72/src/DynamicObjectTrait.php#L49-L54
0
PHP
readonly array
https://github.com/tenside/core-bundle/blob/a7ffad3649cddac1e5594b4f8b65a5504363fccd/src/Annotation/TensideApiDocHandler.php#L86-L109
0
PHP
json to xml conversion
https://github.com/symphonycms/symphony-2/blob/68f44f0c36ad3345068676bfb8a61c2e6a2e51f4/symphony/lib/toolkit/class.json.php#L86-L115
3
PHP
save list to file
https://github.com/TECLIB/CFPropertyList/blob/4da03c276479e20905e57837d53ba6912bab7394/src/CFPropertyList/CFPropertyList.php#L458-L484
2
PHP
aes encryption
https://github.com/alfredoem/ragnarok/blob/e7de18cbe7a64e6ce480093d9d98d64078d35dff/app/Support/EncryptAes.php#L43-L71
0
PHP
matrix multiply
https://github.com/RubixML/Tensor/blob/ddc0284f987cc697631e1b18327498ead040b577/src/Vector.php#L1459-L1479
1
PHP
json to xml conversion
https://github.com/phpgearbox/arrays/blob/2454b7eb0633126412e4c9132906ec9b5ccae969/src/Arrays/Conversions/From/Xml.php#L39-L46
1
PHP
connect to sql
https://github.com/angel-project/core/blob/c806d175a6825afc243cd680b81d651412cb83d7/src/sql/sql.php#L72-L78
3
PHP
regex case insensitive
https://github.com/Innmind/UrlTemplate/blob/18b099821e497dca40b17461aac9dd45d5f5a247/src/Expression/Level3.php#L66-L74
1
PHP
fuzzy match ranking
https://github.com/the-eater/odango.php/blob/6c78f983e7b3c49ff2f8a10ce7299747d3c82e3f/src/NyaaMatcher/Fuzzy.php#L16-L23
0
PHP
group by count
https://github.com/intpro/quickstart/blob/6b7318650a10d6488ee220b4d5e697f3581eaeb0/src/Laravel/QSource.php#L152-L181
0
PHP
convert json to csv
https://github.com/bluetree-service/container/blob/9827b98a9b12043ae94ae5dc60fdd971eba5d741/src/ContainerObject.php#L1486-L1501
0
PHP
pretty print json
https://github.com/louislam/louislam-utilities/blob/1c51e7473a4f3103f39fb6a5b4bf6ffead2a5528/src/LouisLam/Util.php#L99-L165
3
PHP
how to extract zip file recursively
https://github.com/lodev09/php-util/blob/8f3adb0b1bbc1c9f71cab126fdf8110414e65515/src/Util.php#L892-L905
3
PHP
convert string to number
https://github.com/genkgo/xsl/blob/4a281115cd6ef6b2a438cf8ddb529d48bd7d2340/src/Callback/Arguments.php#L59-L77
0
PHP
read text file line by line
https://github.com/Fenzland/Htsl.php/blob/28ecc4afd1a5bdb29dea3589c8132adba87f3947/libs/Parser/Document.php#L368-L387
2
PHP
finding time elapsed using a timer
https://github.com/squareproton/Bond/blob/a04ad9dd1a35adeaec98237716c2a41ce02b4f1a/lib/php-ref/ref.php#L306-L320
3
PHP
how to get current date
https://github.com/Opifer/Cms/blob/fa288bc9d58bf9078c2fa265fa63064fa9323797/src/CmsBundle/Entity/Cron.php#L341-L344
2
PHP
custom http error response
https://github.com/silverstripe/silverstripe-docsviewer/blob/eba2d4536c37b7241ed973fc21f9628753d87b70/code/controllers/DocumentationViewer.php#L320-L334
2
PHP
parse query string in url
https://github.com/gmazzap/Url_To_Query/blob/2537affbbb8b9062d46bb2deec1933acab63d007/UrlToQueryItem.php#L161-L168
2
PHP
positions of substrings in string
https://github.com/vinala/kernel/blob/346c8a4dca48fd1ab88fdc9f7004ecb7bce6a67a/src/Strings/Strings.php#L338-L353
2
PHP
aes encryption
https://github.com/getyoti/yoti-php-sdk/blob/f3c770c1df2cbba3dc76a1f329938c379191ad7a/src/phpseclib/Net/SSH2.php#L2026-L2060
1
PHP
regex case insensitive
https://github.com/activecollab/humannameparser/blob/5170a5d85a505e74c1dd8ebfc4546ce412680823/src/Name.php#L66-L83
1
PHP
how to determine a string is a valid word
https://github.com/academic/VipaBibTexBundle/blob/1cd82b0961e1a9fee804a85fd774d1384c3e089b/Helper/Bibtex.php#L769-L802
0
PHP
how to get current date
https://github.com/bseddon/XPath20/blob/69882b6efffaa5470a819d5fdd2f6473ddeb046d/ExtFuncs.php#L3621-L3627
2
PHP
unzipping large files
https://github.com/CeusMedia/Common/blob/1138adf9341782a6284c05884989f7497532bcf4/src/Net/HTTP/Response/Decompressor.php#L94-L110
0
PHP
how to read .csv file in an efficient way?
https://github.com/shgysk8zer0/core_api/blob/9e9b8baf761af874b95256ad2462e55fbb2b2e58/traits/file_resources.php#L419-L436
1
PHP
initializing array
https://github.com/railsphp/railsphp/blob/489cb17f4e00a122ab8e57dc9d3a662e699de5dd/lib/Rails/Application/Base.php#L210-L219
0
PHP
read properties file
https://github.com/wb-crowdfusion/crowdfusion/blob/8cad7988f046a6fefbed07d026cb4ae6706c1217/system/core/classes/systemdb/config/ConfigService.php#L142-L157
2
PHP
extracting data from a text file
https://github.com/psfs/core/blob/e3c67b4a0c24d3c3d4369705ea604cd757a6d0f8/src/base/Cache.php#L97-L115
1
PHP
custom http error response
https://github.com/codezero-be/courier/blob/31f3ed501e86997d7f0ae5ac3f54b6aff0edd5af/src/CurlCourier.php#L283-L294
0
PHP
custom http error response
https://github.com/webservco/framework/blob/2c539e9473c945e0f0e56e0313d5a49e1bec3bbe/src/WebServCo/Framework/AbstractApplication.php#L94-L170
2
PHP
copy to clipboard
https://github.com/DesignPond/newsletter/blob/0bf0e7a8a42fa4b90a5e937771bb80058e0a91c3/src/Newsletter/Repo/NewsletterClipboardEloquent.php#L39-L52
3
PHP
postgresql connection
https://github.com/seagoj/devtools/blob/15dd451a0b00c272d3e1961f114342d5e0f526ba/spec/Devtools/PDOAdapterSpec.php#L21-L40
0
PHP
linear regression
https://github.com/moodle/moodle/blob/a411b499b98afc9901c24a9466c7e322946a04aa/lib/phpexcel/PHPExcel/Shared/trend/powerBestFitClass.php#L102-L122
1
PHP
string to date
https://github.com/cultuurnet/udb3-php/blob/1568f0d1e57990003349074ece97faa845048b13/src/Offer/ReadModel/History/OfferHistoryProjector.php#L165-L172
0
PHP
get the description of a http status code
https://github.com/kengoldfarb/underscore_libs/blob/e0d584f25093b594e67b8a3068ebd41c7f6483c5/src/_Libs/_WebResponse.php#L103-L115
1
PHP
custom http error response
https://github.com/twohill/silverstripe-nestedcontrollers/blob/2fc263c31b7e23e2f768dc56f4f0df2912b6b3b1/code/NestedModelController.php#L277-L284
0
PHP
convert html to pdf
https://github.com/obtao/Html2PdfBundle/blob/df43177eb864cd96ea577c848c22b91fd4a7082c/DependencyInjection/PdfGenerator.php#L45-L55
3
PHP
parse query string in url
https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/HttpClients/SyncRestHandler.php#L400-L404
2
PHP
extract latitude and longitude from given input
https://github.com/Archi-Strasbourg/archi-wiki/blob/b9fb39f43a78409890a7de96426c1f6c49d5c323/modules/archi/includes/archiAdresse.class.php#L10688-L10749
1
PHP
convert a date string into yyyymmdd
https://github.com/Laralum/Laralum/blob/6f13eec2c898bcc523fb6c19bc78146b9898e689/src/Commands/LaralumInfo.php#L38-L58
0
PHP
reading element from html - <td>
https://github.com/chriskonnertz/DeepLy/blob/91f091cac09c8cc7bd2bc89170b490279ebbc46b/src/ChrisKonnertz/DeepLy/HttpClient/CurlHttpClient.php#L112-L140
2
PHP
connect to sql
https://github.com/qq1060656096/brief-db/blob/19f693cc107cd6db677aa8385502310526395c7b/src/Database/Query/ConnectionFactor.php#L131-L146
1
PHP
how to read the contents of a .gz compressed file?
https://github.com/kherge-abandoned/lib-phar/blob/458ee3f113b12a5d41e540407b2c2efae8a35313/src/lib/Phine/Phar/Extract.php#L98-L134
3
PHP
how to reverse a string
https://github.com/cityware/city-format/blob/1e292670639a950ecf561b545462427512950c74/src/Stringy.php#L718-L728
3
PHP
nelder mead optimize
https://github.com/webuni/front-matter/blob/c7d1c51f9864ff015365ce515374e63bcd3b558e/src/Haml/FrontMatterFilter.php#L36-L39
0
PHP
sending binary data over a serial connection
https://github.com/phPoirot/Stream/blob/db448ee0528c2a5b07c594b8a30e2543fbc15f57/Streamable.php#L305-L331
2
PHP
buffered file reader read text
https://github.com/php-http/message/blob/31f25d63e9c84aa22f02c5d888e22fe23d0b65da/src/Stream/BufferedStream.php#L201-L225
3
PHP
how to determine a string is a valid word
https://github.com/mundschenk-at/php-typography/blob/e10fc42263afad7c8e8f07f516cc5cb273dbc575/src/class-hyphenator.php#L241-L285
1
PHP
how to extract zip file recursively
https://github.com/FWidm/dwd-hourly-crawler/blob/36dec7d84a85af599e9d4fb6a3bcc302378ce4a8/src/fwidm/dwdHourlyCrawler/DWDUtil.php#L55-L76
0
PHP
connect to sql
https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/Postgre/Connection.php#L81-L116
3
PHP
how to check if a checkbox is checked
https://github.com/marvinlabs/laravel-html-bootstrap-4/blob/77e1823cb3b5b395a2d30ad5a8cee82b21cffb33/src/Bootstrap/Traits/BuildsForms.php#L211-L221
1
PHP
k means clustering
https://github.com/moodle/moodle/blob/a411b499b98afc9901c24a9466c7e322946a04aa/lib/mlbackend/php/phpml/src/Phpml/Clustering/KMeans/Space.php#L149-L167
1
PHP
underline text in label widget
https://github.com/matks/Vivian/blob/cce8602f1c7d98911ac9561288a56cf8b93e8ba0/src/Matks/Vivian/Border/BorderManager.php#L144-L150
2
PHP
how to randomly pick a number
https://github.com/giorgiosironi/eris/blob/0e8bf23f0b2658f62083a739b2bf454606632e1f/src/Generator/FrequencyGenerator.php#L79-L93
2
PHP
parse query string in url
https://github.com/RunningGrass/phptools/blob/5ebdde3d7480a705e49ed9c0e224418d415ec69f/src/Leo/Net.php#L27-L52
3
PHP
finding time elapsed using a timer
https://github.com/CharlotteDunois/Livia/blob/75d8778a49805721961ececc710dc719404fbade/src/Utils/HRTimer.php#L78-L94
1
PHP
concatenate several file remove header lines
https://github.com/aidantwoods/SecureHeaders/blob/6037dbfbd32dcbffd2409afd25ed6293c8e3fb43/src/Http/Psr7Adapter.php#L57-L69
0
PHP
set file attrib hidden
https://github.com/arangodb/arangodb-php/blob/89fac3fc9ab21ec8cf0a5dc35118abfaa3d49b02/lib/ArangoDBClient/Document.php#L261-L276
0
PHP
underline text in label widget
https://github.com/symphonycms/symphony-2/blob/68f44f0c36ad3345068676bfb8a61c2e6a2e51f4/symphony/lib/toolkit/email-gateways/email.sendmail.php#L154-L180
0
PHP
fuzzy match ranking
https://github.com/ruflin/Elastica/blob/9bda1596f79a28534dfd7b3513443478ad152e4e/lib/Elastica/QueryBuilder/DSL/Query.php#L182-L185
1
PHP
set working directory
https://github.com/teqneers/PHP-Stream-Wrapper-for-Git/blob/2d9aef4d11d7094186185b37306dd05b7a051925/src/TQ/Vcs/Cli/Call.php#L132-L141
2
PHP
readonly array
https://github.com/silverstripe/silverstripe-framework/blob/ed7aaff7da61eefa172fe213ec25e35d2568bc20/src/Forms/CompositeField.php#L290-L297
0
PHP
parse binary file to custom class
https://github.com/ezsystems/ezpublish-kernel/blob/ef2ae730a46e9718ebd80f1047c0f8b866209ce9/eZ/Publish/Core/IO/IOMetadataHandler/LegacyDFSCluster.php#L284-L293
0
PHP
nelder mead optimize
https://github.com/lciolecki/php-image-optimizer/blob/d205161f38aac05e941868eaf3c54936af97fb32/src/Extlib/ImageOptimizer.php#L90-L112
0
PHP
filter array
https://github.com/TYPO3-Solr/ext-solr/blob/b9fd8b98341d9935dba44e0ad226e7f5e3c19a93/Classes/Domain/Search/Query/AbstractQueryBuilder.php#L93-L100
1
PHP
replace in file
https://github.com/saleem-hadad/larecipe/blob/d59a639c633cd51fbcc7f607db1513a04f93d213/src/Commands/AssetCommand.php#L201-L204
3
PHP
write csv
https://github.com/nattreid/utils/blob/117d6d67f49de52091ae05cd38e142ef6e92ea01/src/TempFile.php#L121-L125
1
PHP
set file attrib hidden
https://github.com/jasonhinkle/phreeze/blob/6e45b1b29449ab5e7b81d2b8cb60ed61ec438e62/libs/PEAR/PHPExcel/Style/Protection.php#L181-L189
1
PHP
buffered file reader read text
https://github.com/demouth/DmImage/blob/cf14053c5a57fc001eb124802f0e824bf0f19803/example/sample_node/animate/GifMerge.class.php#L353-L405
2
PHP
write csv
https://github.com/ajgarlag/AjglCsvRfc/blob/358ba360ffa8bc8e3255f2ebfb129d0051c2bdd1/src/Spl/SplFileObjectTrait.php#L38-L42
3
PHP
copy to clipboard
https://github.com/JosephSilber/bouncer/blob/c2a4eb33266a36e381e09f8a3556f056e8ea996d/src/Bouncer.php#L210-L215
2
not the kind of clipboard one would have in mind...
PHP
how to determine a string is a valid word
https://github.com/wamania/php-stemmer/blob/eaf55d32b08259b9ca68b1b7010f90b10c3818fd/src/Norwegian.php#L54-L67
1
PHP
unzipping large files
https://github.com/contao/contao/blob/fbc056e5b3dd2e645bfe7812cb997ece8ff6b578/core-bundle/src/Resources/contao/library/Contao/ZipReader.php#L334-L419
0
nothing about zip
PHP
initializing array
https://github.com/gitonomy/gitlib/blob/9eb6a89434e09a701ad0acef7e8ef9c27c08c69a/src/Gitonomy/Git/Admin.php#L131-L142
0
PHP
how to read .csv file in an efficient way?
https://github.com/intrip/laravel-import-export/blob/2e6963778a0214c9123d0c51a0d01d8127e1e935/src/Jacopo/LaravelImportExport/Models/ParseCsv/CsvFileHandler.php#L241-L262
0
PHP
map to json
https://github.com/oat-sa/extension-tao-itemqti/blob/a55b73c7894523bde169ba520d5001ce7b5bb88c/model/qti/ResponseDeclaration.php#L329-L359
0
PHP
fuzzy match ranking
https://github.com/ncjoes/fuzzy-number/blob/142700f176dc97ca1be59b2a83553f66ea9b320b/src/FuzzyNumber/FuzzyNumber.php#L220-L230
0
PHP
how to empty array
https://github.com/meritoo/common-library/blob/b166b8b805ae97c15688d27323cae8976bd0f6dc/src/Utilities/Arrays.php#L1678-L1699
0
PHP
k means clustering
https://github.com/php-ai/php-ml/blob/f6aa1a59b0525b8fca3d2786d661ab3e70904016/src/Clustering/KMeans/Space.php#L202-L243
1
PHP
parse binary file to custom class
https://github.com/ezsystems/ezpublish-kernel/blob/ef2ae730a46e9718ebd80f1047c0f8b866209ce9/eZ/Publish/Core/IO/IOMetadataHandler/LegacyDFSCluster.php#L268-L277
0
PHP
how to get database table name
https://github.com/andyburton/Sonic-Framework/blob/a5999448a0abab4d542413002a780ede391e7374/src/Model/Tools/NewClass.php#L164-L300
0
PHP
convert string to number
https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Support/Traits/BytesFormatTrait.php#L70-L81
2
PHP
create cookie
https://github.com/cygnite/framework/blob/58d0cc1c946415eb0867d76218bd35166e999093/src/Cygnite/Common/Input/Input.php#L226-L233
1
PHP
httpclient post json
https://github.com/metaclassing/utility/blob/dd4f25f26f42bb11525cea4335e855634242b4b4/lib/VerisignDNSClient2.php#L120-L145
3
PHP
get name of enumerated value
https://github.com/KessieHeldieheren/Havoc-Enumerable/blob/23dac90d77f012ad0b464f76cb8f373e4fb8ac6b/Havoc/Enumerable/Enumerable.php#L57-L67
2
PHP
output to html file
https://github.com/ntesic/phalcon-helpers/blob/8aa04eb56eba5bae3426caebac2dd1fb134a5dcb/Tag.php#L29-L36
1
PHP
format date
https://github.com/webservco/framework/blob/2c539e9473c945e0f0e56e0313d5a49e1bec3bbe/src/WebServCo/Framework/Utils/Dates.php#L15-L19
1
PHP
map to json
https://github.com/dms-org/package.analytics/blob/2eb972b51a3b36dd078f4b8735704e881f6ed741/src/Persistence/AnalyticsDriverConfigMapper.php#L28-L49
0
PHP
convert a date string into yyyymmdd
https://github.com/amabnl/amadeus-ws-client/blob/a8b79e066d37348c37a19d1753656c428ac8441b/src/Amadeus/Client/Struct/Fop/ExtendedPaymentDetails.php#L160-L184
3
PHP
convert html to pdf
https://github.com/AbcAeffchen/SepaDocumentor/blob/f9f980a7f2e02505816e6e8dcd6ee1e65b279e51/src/BasicDocumentor.php#L122-L128
2
PHP
encrypt aes ctr mode
https://github.com/blockcypher/php-client/blob/c1f875cdbad4e0e19fa697749309e5d7c28b7b4a/lib/BlockCypher/Crypto/Cipher.php#L31-L39
3
PHP
how to determine a string is a valid word
https://github.com/skyeng/php-lemmatizer/blob/9f5154a0de3c64e08c1a96be793b4eec236962cb/src/Dictionary/FindIrregularBaseBehavior/IrregularBaseFinder.php#L11-L19
0
PHP
format date
https://github.com/nimetu/ryzom_extra/blob/2aa2ef35aa17cb1ddb2a693f538d90e39f434121/lib/RyzomExtra/AtysDateTime.php#L243-L262
3
PHP
converting uint8 array to image
https://github.com/mauchede/rancher-api/blob/ea79b7ed2feab809122f92b6686593532eeba14e/src/Resource/Container.php#L228-L237
0
PHP
create cookie
https://github.com/concrete5/concrete5/blob/c54c94e4eb6d45696fed85a5b8b415f70ea677b8/concrete/src/Cookie/ResponseCookieJar.php#L36-L42
3
PHP
convert int to bool
https://github.com/opulencephp/Opulence/blob/27c86747f893a78ab0bc9b8a90aae3cad6e7afb5/src/Opulence/Databases/Providers/PostgreSqlProvider.php#L56-L67
2
PHP
aes encryption
https://github.com/ringcentral/ringcentral-php/blob/4fbe7ed819f476872f37f2ba480c77d140591944/src/Subscription/Subscription.php#L463-L490
0
PHP
reading element from html - <td>
https://github.com/tableau-mkt/eggs-n-cereal/blob/778b83ddae1dd687724a84545ce8afa1a31e4bcf/src/Utils/ConverterToHTML.php#L84-L114
1