Language
stringclasses
6 values
Query
stringlengths
9
60
GitHubUrl
stringlengths
87
248
Relevance
int32
0
3
Notes
stringlengths
0
293
PHP
get current process id
https://github.com/vespolina/VespolinaCommerceBundle/blob/0644dd2c0fb39637a0a6c2838b02e17bc480bdbc/Controller/Process/AbstractProcessStepController.php#L45-L53
0
PHP
how to extract zip file recursively
https://github.com/wp-cli/wp-cli/blob/564bf7b7cf1ac833071d1afed5d649d2a7198e15/php/WP_CLI/Extractor.php#L40-L64
3
PHP
postgresql connection
https://github.com/DigitalState/Core/blob/51a6b8f7c72cf93045f1e10ef9d3675946d51da8/src/Parameter/Fixture/ParameterSequenceFixture.php#L19-L29
1
PHP
string to date
https://github.com/ruxon/framework/blob/d6c9a48df41c8564ee1b0455cd09fbe789e6b086/src/Helpers/DateHelper.class.php#L12-L16
2
PHP
get executable path
https://github.com/amphp/parallel/blob/2d02d964f4eb6f21ad0c50b259ec6128630dce53/lib/Context/Process.php#L145-L161
3
PHP
extract data from html content
https://github.com/zackslash/PHP-Web-Article-Extractor/blob/f93d25d588dc0f8ddc4572429288edddb69386f6/src/Extract.php#L23-L33
0
PHP
extract data from html content
https://github.com/Jinxes/layton/blob/27b8eab2c59b9887eb93e40a533eb77cc5690584/Layton/Library/Http/Response.php#L168-L179
1
PHP
nelder mead optimize
https://github.com/CORE-POS/Common-Bundle/blob/07c74a9331157c50863ce638d07e1d34d479ca30/src/adodb5/session/adodb-session2.php#L363-L379
0
PHP
save list to file
https://github.com/shopgate/cart-integration-sdk/blob/cf12ecf8bdb8f4c407209000002fd00261e53b06/src/configuration.php#L895-L936
2
PHP
string similarity levenshtein
https://github.com/linhecheng/cmlphp/blob/4d6208a79df93f8703231ce0ecb5505e1f95d8da/src/Vendor/StringProcess.php#L40-L90
3
PHP
all permutations of a list
https://github.com/alphazygma/Combinatorics/blob/153d096119d21190a32bbe567f1eec367e2f4709/src/Math/Combinatorics/Permutation.php#L70-L83
1
combinations and permutations mixed...
PHP
format date
https://github.com/laravel-enso/DataTable/blob/4034587a9c81b85b67dcdc9d5c243c07c1cc8104/src/app/Classes/QueryBuilder.php#L155-L160
2
PHP
socket recv timeout
https://github.com/ddtraceweb/smtp-validator-email/blob/b90515fe5acbcb9b6f4b143a6789204fb1fbd6bc/lib/SmtpValidatorEmail/Smtp/Smtp.php#L412-L436
2
PHP
get the description of a http status code
https://github.com/silverstripe/silverstripe-framework/blob/ed7aaff7da61eefa172fe213ec25e35d2568bc20/src/Control/HTTPResponse.php#L175-L189
1
PHP
how to randomly pick a number
https://github.com/malenkiki/bah/blob/23495014acec63c2790e8021c75bc97d7e04a9c7/src/Malenki/Bah/A.php#L998-L1033
1
PHP
output to html file
https://github.com/moodle/moodle/blob/a411b499b98afc9901c24a9466c7e322946a04aa/mod/wiki/editors/wikifiletable.php#L88-L137
3
PHP
parse command line argument
https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/CLI/CLI.php#L705-L741
3
PHP
get the description of a http status code
https://github.com/krystal-framework/krystal.framework/blob/a5ff72384f3efbe74f390538793feb7d522b9c39/src/Krystal/Http/Response/StatusGenerator.php#L131-L143
1
PHP
randomly extract x items from a list
https://github.com/daniel-ac-martin/php-seids/blob/1a5a2a9a53d158dcb97f2592512da9676de65c35/src/SEIDS/Heaps/Binary/Heap.php#L67-L101
1
PHP
how to randomly pick a number
https://github.com/claroline/Distribution/blob/a2d9762eddba5732447a2915c977a3ce859103b6/plugin/exo/Validator/JsonSchema/ExerciseValidator.php#L95-L127
0
PHP
custom http error response
https://github.com/traderinteractive/filter-php/blob/a8dec173063ee2444ec297f065f64496b7d21590/src/Filterer.php#L547-L560
0
PHP
get current observable value
https://github.com/caffeina-core/core/blob/819134644dfb3b6379a12fff08fa5ec45a2c614c/classes/Cache/Files.php#L71-L74
0
PHP
set file attrib hidden
https://github.com/i-MSCP/roundcube/blob/141965e74cf301575198abc6bf12f207aacaa6c3/roundcubemail/program/include/rcmail_output_html.php#L1741-L1761
1
PHP
convert a utc time to epoch
https://github.com/picturae/OaiPmh/blob/2d96b5d4005c0d9eb97371b5c5824d41d9fcde14/src/Provider.php#L142-L147
0
PHP
convert int to bool
https://github.com/ko-ko-ko/php-assert/blob/e4968588fd3f42c95a763ca3c36cfb846b24ab81/src/Assert.php#L868-L879
0
PHP
postgresql connection
https://github.com/danielgp/common-lib/blob/627b99b4408414c7cd21a6c8016f6468dc9216b2/source/MySQLiByDanielGP.php#L57-L71
1
PHP
parse binary file to custom class
https://github.com/fgrosse/PHPASN1/blob/7ebf2a09084a7bbdb7b879c66fdf7ad80461bbe8/lib/ASN1/Universal/UTCTime.php#L44-L76
2
PHP
how to get html of website
https://github.com/CampaignChain/core/blob/82526548a223ed49fcd65ed7c23638544499775f/Util/ParserUtil.php#L29-L55
1
PHP
converting uint8 array to image
https://github.com/neilime/zf2-assets-bundle/blob/6399912d05d37c91be330e7accf3291a2dbdfe49/src/AssetsBundle/AssetFile/AssetFileFilter/ImageAssetFileFilter/GifAssetFileFilter.php#L26-L33
0
PHP
connect to sql
https://github.com/angel-project/core/blob/c806d175a6825afc243cd680b81d651412cb83d7/src/sql/sql.php#L80-L91
3
PHP
convert decimal to hex
https://github.com/titledk/silverstripe-calendar/blob/afba392d26f28d6e5c9a44765eab5a3a171cc850/code/libs/colorpool/Color.php#L93-L99
3
PHP
concatenate several file remove header lines
https://github.com/n2n/n2n-web/blob/1640c79f05d10d73093b98b70860ef8076d23e81/src/app/n2n/web/http/Response.php#L512-L532
0
PHP
parse json file
https://github.com/wdbo/webdocbook/blob/7d4e806f674b6222c9a3e85bfed34e72bc9d584e/src/WebDocBook/Filesystem/Helper.php#L169-L181
2
PHP
format date
https://github.com/neos/flow-development-collection/blob/a4484ef2a57e050dc9bd87c8481eeb250c7a36fa/Neos.Eel/Classes/Helper/DateHelper.php#L58-L70
2
PHP
find int in string
https://github.com/nirix/radium/blob/cc6907bfee296b64a7630b0b188e233d7cdb86fd/src/Database/Model.php#L136-L144
2
PHP
sorting multiple arrays based on another arrays sorted order
https://github.com/CeusMedia/Common/blob/1138adf9341782a6284c05884989f7497532bcf4/src/Alg/Sort/MapList.php#L65-L87
2
PHP
how to make the checkbox checked
https://github.com/samurai-fw/samurai/blob/7ca3847b13f86e2847a17ab5e8e4e20893021d5a/spec/Samurai/Component/Helper/FormHelperSpec.php#L66-L76
3
PHP
how to determine a string is a valid word
https://github.com/atelierspierrot/library/blob/a2988a11370d13c7e0dc47f9d2d81c664c30b8dd/src/Library/Tool/MorseCode.php#L117-L125
1
PHP
read properties file
https://github.com/AccioCMS/core/blob/b279e79624db20f93fdddc7c9c0ae1a73cedcd48/src/app/Services/Environment.php#L29-L51
1
PHP
output to html file
https://github.com/KDF5000/EasyThink/blob/86efc9c8a0d504e01e2fea55868227fdc8928841/src/ThinkPHP/Library/Think/Controller.php#L95-L101
0
PHP
randomly extract x items from a list
https://github.com/ARCANEDEV/LaravelHtml/blob/539ed117df0b21d2a267aac074446c6dadf50828/src/Helpers/Obfuscater.php#L48-L66
0
PHP
how to make the checkbox checked
https://github.com/devp-eu/tmcms-core/blob/b031af5643b6dc641539847784875137c8979cdd/src/HTML/Element/CheckboxList.php#L72-L80
3
PHP
parse json file
https://github.com/composer/composer/blob/5d615a16d175fcbdb67a536ef9d6fc4e8a1f6f2b/src/Composer/Json/JsonFile.php#L270-L281
3
PHP
sort string list
https://github.com/alchemy-fr/rest-bundle/blob/e795b3cd565086d575ee919d1b23279656c982ad/src/Bundle/Rest/Request/SortRequest.php#L41-L55
0
PHP
get current observable value
https://github.com/ReactiveX/RxPHP/blob/fd74a0cd2b5edd4a48e4ff12aaa44cc6cdc4a9b4/src/React/Promise.php#L47-L69
3
PHP
readonly array
https://github.com/christophe-brachet/aspi-framework/blob/17a36c8a8582e0b8d8bff7087590c09a9bd4af1e/src/Framework/Form/Element/AbstractSelect.php#L99-L107
0
PHP
how to make the checkbox checked
https://github.com/xcorp1986/next-think/blob/de3a8fcab31a520d9284aa807ed16de30de31f0c/Think/Template/TagLib/Html.php#L204-L222
3
PHP
html encode string
https://github.com/eureka-framework/component-string/blob/9500d8ec4ba6b41f7a65354f90ec89844f0bdccd/src/Strings/Strings.php#L309-L314
1
PHP
converting uint8 array to image
https://github.com/lizards-and-pumpkins/catalog/blob/068b60aeb0875aef49aa79d02230a315cfefcc91/src/Import/Product/View/AbstractProductView.php#L273-L278
0
PHP
parse json file
https://github.com/bolt/bolt/blob/127434d79990b54abfb3e830243deaf725baa4de/src/Storage/Entity/LogChange.php#L307-L327
2
PHP
randomly extract x items from a list
https://github.com/remialvado/RiakBundle/blob/089ae818738e512a90b2fa93de6c4991242f5b7b/Model/Search/Result.php#L66-L75
0
PHP
get inner html
https://github.com/donquixote/cellbrush/blob/09c70b421828624756e56591de41d5e86030f50e/src/BuildContainer/BuildContainer.php#L253-L262
2
PHP
get the description of a http status code
https://github.com/kreta/SimpleApiDocBundle/blob/786aa9310cdf087253f65f68165a0a0c8ad5c816/src/Kreta/SimpleApiDocBundle/Annotation/ApiDoc.php#L94-L108
2
PHP
positions of substrings in string
https://github.com/antaresproject/notifications/blob/60de743477b7e9cbb51de66da5fd9461adc9dd8a/src/Adapter/VariablesAdapter.php#L222-L242
1
PHP
string similarity levenshtein
https://github.com/rap2hpoutre/similar-text-finder/blob/8e9a5dfc0a35261c02f7f980a6d3cb391087576e/src/Finder.php#L151-L158
1
PHP
html encode string
https://github.com/eureka-framework/component-string/blob/9500d8ec4ba6b41f7a65354f90ec89844f0bdccd/src/Strings/Strings.php#L295-L300
0
the exact opposite
PHP
convert decimal to hex
https://github.com/brick/math/blob/5f1fff59b3413c9dafa67b9c4571c1df1898fac2/src/Internal/Calculator.php#L649-L670
1
PHP
sort string list
https://github.com/praxisnetau/silverware/blob/2fa731c7f0737b350e0cbc676e93ac5beb430792/src/Extensions/Lists/ListSourceExtension.php#L412-L437
0
PHP
how to empty array
https://github.com/Krinkle/intuition/blob/36f48ffe925905ae5d60c7f04d76077e150d3a2c/src/Util.php#L63-L74
0
PHP
convert int to bool
https://github.com/AeonDigital/PHP-Tools/blob/502fad10aadb37fce98bd3994e866a8bfdc8dc00/src/TryParse.php#L126-L139
1
PHP
convert a utc time to epoch
https://github.com/QoboLtd/cakephp-csv-migrations/blob/49300070cdd9b829670a3c40f747c535c8e539b3/src/Utility/DTZone.php#L90-L106
1
PHP
encode url
https://github.com/weew/url/blob/117be15e899cc343f22f04f5eb9e92e2164c56c1/src/Weew/Url/UrlBuilder.php#L17-L28
1
PHP
confusion matrix
https://github.com/skilla/Matrix/blob/417b914473cb4c0c56c45ad6c4627ac8ecc65152/lib/Operations.php#L36-L45
1
PHP
all permutations of a list
https://github.com/SIELOnline/libAcumulus/blob/82f8d6c9c4929c41948c97d6cfdfac3f27c37255/src/Invoice/CompletorStrategy/TryAllVatRatePermutations.php#L102-L116
0
PHP
positions of substrings in string
https://github.com/ixocreate/database-package/blob/d4156b3bd640a45d645f7a36b77768f454d6ba7c/src/Generator/AbstractGenerator.php#L258-L271
1
PHP
get current ip address
https://github.com/RudyMas/Emvc_Login/blob/9bcb50b08836d0639338ca2bc173182bc6b4bce3/src/Login.php#L336-L353
1
PHP
confusion matrix
https://github.com/RubixML/Tensor/blob/ddc0284f987cc697631e1b18327498ead040b577/src/Matrix.php#L2685-L2711
1
PHP
k means clustering
https://github.com/php-ai/php-ml/blob/f6aa1a59b0525b8fca3d2786d661ab3e70904016/src/Math/Statistic/Covariance.php#L117-L147
0
PHP
get all parents of xml node
https://github.com/sulu/sulu/blob/6766a36cc2f0c807c59202bf7540a08c4ef31192/src/Sulu/Bundle/ContactBundle/Command/AccountRecoverCommand.php#L156-L165
1
PHP
priority queue
https://github.com/anklimsk/cakephp-basic-functions/blob/7554e8b0b420fd3155593af7bf76b7ccbdc8701e/Vendor/langcode-conv/zendframework/zend-stdlib/benchmark/InsertPriorityQueue.php#L19-L24
2
PHP
httpclient post json
https://github.com/Tustin/psn-php/blob/2f640b8790efa8f8570bc7e6a69dae115148c999/src/Api/AbstractApi.php#L28-L31
3
PHP
export to excel
https://github.com/amarcinkowski/hospitalplugin/blob/acdc2be5157abfbdcafb4dcf6c6ba505e291263f/src/utils/ExcelExport.php#L26-L39
3
PHP
get executable path
https://github.com/jacksleight/coast/blob/cd6cd41e8304adce41f59f799d4183adcaf666f9/library/App/Subpath.php#L30-L40
0
PHP
how to extract zip file recursively
https://github.com/fisharebest/webtrees/blob/840bd0d721dc479520ec24a065996bc6becb8348/app/Services/UpgradeService.php#L82-L93
2
PHP
encode url
https://github.com/inhere/php-librarys/blob/e6ca598685469794f310e3ab0e2bc19519cd0ae6/src/Helpers/UrlHelper.php#L170-L184
2
PHP
copying a file to a path
https://github.com/jfusion/org.jfusion.framework/blob/65771963f23ccabcf1f867eb17c9452299cfe683/src/Installer/Installer.php#L295-L400
1
PHP
how to make the checkbox checked
https://github.com/flextype-components/form/blob/b3fea245c996dc19d7a0081db6e48dac39fac5e5/Form.php#L182-L193
3
PHP
parse command line argument
https://github.com/jabernardo/console.php/blob/a526458f4d1a525d0ccff62cd9cfcfbc5526bc9c/src/Console/Input.php#L64-L100
2
PHP
pretty print json
https://github.com/jasny/iterator-stream/blob/a4d63eb2825956a879740cc44addd6170f7a481d/src/JsonOutputStream.php#L72-L87
2
PHP
initializing array
https://github.com/benfranke/gdax-php/blob/be02fe48b10a31591dbdf3abb472088f7a693138/src/Types/Response/Authenticated/Part/LimitActionPart.php#L90-L104
2
PHP
read text file line by line
https://github.com/madsleejensen/opbeat-php/blob/2cafc63bf33af641e1bc90d3252d4c5b95b34464/Opbeat/Log/Trace.php#L55-L74
2
PHP
extracting data from a text file
https://github.com/Baddum/Model418/blob/a525a85060bc9241df3f0bca4b5e387980dc62fc/src/Core/Request/FileRequest/JSONFileRequest.php#L18-L25
0
PHP
socket recv timeout
https://github.com/apache/thrift/blob/acdd4226c210336e9e15eb812e5932a645fcd5ce/lib/php/lib/Transport/TSocket.php#L161-L166
1
PHP
deserialize json
https://github.com/clxcommunications/sdk-xms-php/blob/73c127150b47df6adae90e317b5ccd70e4f0b535/src/Deserialize.php#L201-L205
2
PHP
convert decimal to hex
https://github.com/ionux/phactor/blob/667064d3930e043fd78abed9a2324aee52466fa5/src/BC.php#L274-L283
2
PHP
how to determine a string is a valid word
https://github.com/TopShelfCraft/Wordsmith/blob/efe40e9324d2449d431444070e0972fd60aaac37/src/libs/APTitleCapitalizer.php#L236-L245
0
PHP
convert json to csv
https://github.com/ozdemirburak/json-csv/blob/add96ef62c7643d0ff3781f9cfaa7feeabd7c131/src/File/Json.php#L43-L54
0
PHP
all permutations of a list
https://github.com/EmicoEcommerce/Magento2TweakwiseExport/blob/a77533a9301450ab059c8681061300be4f4b1d9a/src/Model/Config/Source/PriceField.php#L48-L62
0
PHP
k means clustering
https://github.com/moodle/moodle/blob/a411b499b98afc9901c24a9466c7e322946a04aa/lib/mlbackend/php/phpml/src/Phpml/Clustering/FuzzyCMeans.php#L110-L131
2
PHP
hash set for counting distinct elements
https://github.com/opis/database/blob/a750c8e58da37b23b70cc4b10fa5a97376db2bc7/src/SQL/Expression.php#L137-L144
0
PHP
html encode string
https://github.com/ekyna/PayumMonetico/blob/1251ab0166a79c6dc6424005e8e8eb85227db361/src/Api/Api.php#L261-L281
3
probably not exactly right, but typically correct
PHP
convert int to string
https://github.com/charliedevelopment/craft3-section-field/blob/4c57a7a1cd69105453d9e188b8b64fe83409064e/src/fields/SectionField.php#L161-L187
0
PHP
parse json file
https://github.com/composer/composer/blob/5d615a16d175fcbdb67a536ef9d6fc4e8a1f6f2b/src/Composer/Package/Loader/JsonLoader.php#L33-L44
3
PHP
output to html file
https://github.com/KnpLabs/KnpSnappyBundle/blob/322a3b33ea9d71c4395f600ad81f299b9a526d36/Snappy/Generator/LoggableGenerator.php#L61-L68
0
PHP
parse binary file to custom class
https://github.com/silverstripe/silverstripe-framework/blob/ed7aaff7da61eefa172fe213ec25e35d2568bc20/src/View/Requirements_Backend.php#L1177-L1200
0
PHP
reading element from html - <td>
https://github.com/bupy7/yii2-bbcode/blob/fc2b30dabd6c544a2b4f6acf1c82b6e743ca4bd3/definitions/TableCodeDefinition.php#L33-L56
3
PHP
copying a file to a path
https://github.com/oat-sa/extension-tao-devtools/blob/a9aba4ec8f47380e6d3796a8a193f5ead265f5d4/models/ExtensionCreator.php#L111-L135
2
PHP
how to get current date
https://github.com/JanGalek/netteCalendar/blob/52d1c90ebe264a33a8604b01e4e76ab95a36eae6/src/Galek/Utils/Calendar/Business/Shipper.php#L73-L81
2
PHP
readonly array
https://github.com/silverstripe/silverstripe-framework/blob/ed7aaff7da61eefa172fe213ec25e35d2568bc20/src/Forms/GridField/GridField.php#L309-L314
1
PHP
string to date
https://github.com/agentmedia/phine-framework/blob/0b5e24515897bf8e5124ab21b61823987e944959/src/Database/Mysql/Date.php#L43-L49
0