content_type
stringclasses
8 values
main_lang
stringclasses
7 values
message
stringlengths
1
50
sha
stringlengths
40
40
patch
stringlengths
52
962k
file_count
int64
1
300
Python
Python
add example section in the -h tag
68a911409aed9a0542ed19a74131d2e5502ade06
<ide><path>glances/core/glances_main.py <ide> class GlancesMain(object): <ide> username = "glances" <ide> password = "" <ide> <add> # Exemple of use <add> example_of_use = "\ <add>Examples of use:\n\ <add>\n\ <add>Monitor local machine (standalone mode):\n\ <add> $ glances\n\ <add>\n\ <add>Monitor local...
1
Ruby
Ruby
avoid flunking tests on warning in output
e0b8c918a00d9b8302530f39dfa6f5ffd7c979ae
<ide><path>railties/test/application/bin_setup_test.rb <ide> def test_bin_setup <ide> list_tables = lambda { rails("runner", "p ActiveRecord::Base.connection.tables").strip } <ide> File.write("log/test.log", "zomg!") <ide> <del> assert_equal "[]", list_tables.call <add> assert_match "[]",...
8
Javascript
Javascript
fix undefined username and remove old function
8a1a7f238d892e9cdcfba0b17662360af6892fa1
<ide><path>server/boot/user.js <del>import _ from 'lodash'; <del>import async from 'async'; <add>import dedent from 'dedent'; <ide> import moment from 'moment'; <ide> import debugFactory from 'debug'; <ide> <del>import { ifNoUser401 } from '../utils/middleware'; <add>import { ifNoUser401, ifNoUserRedirectTo } from '.....
1
Go
Go
update testrunwithblkioinvaliddevice tests
2236ecddfb89dcc09ba1f4f416b1e44e17308497
<ide><path>integration-cli/docker_cli_run_unix_test.go <ide> func (s *DockerSuite) TestRunWithBlkioInvalidWeightDevice(c *check.C) { <ide> <ide> func (s *DockerSuite) TestRunWithBlkioInvalidDeviceReadBps(c *check.C) { <ide> testRequires(c, blkioWeight) <del> out, _, err := dockerCmdWithError("run", "--device-read-bps...
1
Javascript
Javascript
set the target_commitish of the draft release
8be222bd96265d391bb4985aed5fbff3c8f0ed21
<ide><path>script/vsts/upload-artifacts.js <ide> const fs = require('fs') <ide> const os = require('os') <ide> const path = require('path') <ide> const glob = require('glob') <add>const spawnSync = require('../lib/spawn-sync') <ide> const publishRelease = require('publish-release') <ide> const releaseNotes = require('....
1
PHP
PHP
fix mock data
10c549f382c123264bfdd2aecd04124f3831aef1
<ide><path>tests/Database/DatabaseSoftDeletingTraitTest.php <ide> public function getUpdatedAtColumn() <ide> { <ide> return defined('static::UPDATED_AT') ? static::UPDATED_AT : 'updated_at'; <ide> } <add> <add> public function syncOriginal() <add> { <add> } <ide> }
1
PHP
PHP
add date_equals validation message
ef89ad7dd1890206f2ab6f28ab6331619990edbc
<ide><path>src/Illuminate/Validation/Concerns/ReplacesAttributes.php <ide> protected function replaceAfterOrEqual($message, $attribute, $rule, $parameters) <ide> return $this->replaceBefore($message, $attribute, $rule, $parameters); <ide> } <ide> <add> /** <add> * Replace all place-holders for the d...
1
Text
Text
add daeyeon to collaborators
e4d06d26b8761a03c3e9849285348c58cb4c6bf4
<ide><path>README.md <ide> For information about the governance of the Node.js project, see <ide> **Shelley Vohr** <<shelley.vohr@gmail.com>> (she/her) <ide> * [cola119](https://github.com/cola119) - <ide> **Kohei Ueno** <<kohei.ueno119@gmail.com>> (he/him) <add>* [daeyeon](https://github.com/daeyeon) - <add> **Da...
1
Javascript
Javascript
fix context in persian (fa) locale files
5004252b55a574fc759ac527c6b887d238829be2
<ide><path>src/locale/fa.js <ide> export default moment.defineLocale('fa', { <ide> relativeTime : { <ide> future : 'در %s', <ide> past : '%s پیش', <del> s : 'چندین ثانیه', <add> s : 'چند ثانیه', <ide> m : 'یک دقیقه', <ide> mm : '%d دقیقه', <ide> h : 'یک ساعت', <...
2
Javascript
Javascript
add codegen flowtypes to unimplementednativeview
2c1fd6f764f92669351713a6373a113ea6cb5da2
<ide><path>Libraries/Components/UnimplementedViews/UnimplementedNativeView.js <del>/** <del> * Copyright (c) Facebook, Inc. and its affiliates. <del> * <del> * This source code is licensed under the MIT license found in the <del> * LICENSE file in the root directory of this source tree. <del> * <del> * @format <del> * ...
2
Mixed
Go
add cgroupdriver to docker info
ca89c329b9f0748da74d08d02a47bc494e7965e2
<ide><path>api/client/info.go <ide> func (cli *DockerCli) CmdInfo(args ...string) error { <ide> } <ide> ioutils.FprintfIfNotEmpty(cli.out, "Execution Driver: %s\n", info.ExecutionDriver) <ide> ioutils.FprintfIfNotEmpty(cli.out, "Logging Driver: %s\n", info.LoggingDriver) <add> ioutils.FprintfIfNotEmpty(cli.out, "Cgr...
8
Javascript
Javascript
fix bug in target tracking
f7c5087b3a6ab596ec50166b3fbe9f3cacda1661
<ide><path>lib/FlagDependencyExportsPlugin.js <ide> class FlagDependencyExportsPlugin { <ide> ) { <ide> changed = true; <ide> } <del> // TODO support from, calculate target for all imported provided exports <del> // run dynamic-reexports test case!! <ide> } else...
1
Text
Text
create model card
13a8588f2d70fe78dc36d84829c04fa9d39572d1
<ide><path>model_cards/mrm8488/electra-base-finetuned-squadv1/README.md <add>--- <add>language: english <add>--- <add> <add># Electra base ⚡ + SQuAD v1 ❓ <add> <add>[Electra-base-discriminator](https://huggingface.co/google/electra-base-discriminator) fine-tuned on [SQUAD v1.1 dataset](https://rajpurkar.github.io/SQuAD...
1
Ruby
Ruby
raise error if no rewriting"
2b60a99d4ac8721d2976db0fa1447f90768ebd07
<ide><path>Library/Homebrew/test/utils/shebang_spec.rb <del># typed: false <del># frozen_string_literal: true <del> <del>require "utils/shebang" <del> <del>describe Utils::Shebang do <del> let(:file) { Tempfile.new("shebang") } <del> <del> before do <del> file.write "#!/usr/bin/python" <del> file.flush <del> e...
2
Javascript
Javascript
ignore missing editable regions
dd7fba4558f5a0c4b2dc35ebd919c22921c0b0df
<ide><path>client/src/templates/Challenges/classic/Editor.js <ide> class Editor extends Component { <ide> ); <ide> this.data.model = model; <ide> <del> const editableRegion = [ <del> ...challengeFiles[fileKey].editableRegionBoundaries <del> ]; <add> const editableRegion = challengeFiles[fileKey...
1
PHP
PHP
skip a frame so warning is in app code
3f3c8b74ed7d6fbd87c1cdb9d7d0b0d483cec429
<ide><path>src/Datasource/QueryTrait.php <ide> public function __call(string $method, array $arguments) <ide> 'Calling result set method `%s()` directly on query instance is deprecated. ' . <ide> 'You must call `all()` to retrieve the results first.', <ide> $method <del> ...
1
Javascript
Javascript
move docs for $$messageformat to module namespace
9a7431c71b7d2a08cd8e14394d88da3229afcd53
<ide><path>src/ngMessageFormat/messageFormatService.js <ide> /* global stringify: false */ <ide> <ide> /** <del> * @ngdoc service <del> * @name $$messageFormat <add> * @ngdoc module <add> * @name ngMessageFormat <add> * @packageName angular-message-format <ide> * <ide> * @description <del> * Angular internal service...
1
Text
Text
add c++ client library
e54d8c47e45ca19ab9548a7e3689aa1584733210
<ide><path>docs/sources/reference/api/remote_api_client_libraries.md <ide> will add the libraries here. <ide> <td><a class="reference external" href="https://github.com/ahmetalpbalkan/Docker.DotNet">https://github.com/ahmetalpbalkan/Docker.DotNet</a></td> <ide> <td>Active</td> <ide> </tr> <add> <tr c...
1
Python
Python
remove django 1.8 & 1.9 compatibility code
c674687782ef96a3bb8466b412e99debd3d04f00
<ide><path>rest_framework/authtoken/management/commands/drf_create_token.py <ide> from django.contrib.auth import get_user_model <ide> from django.core.management.base import BaseCommand, CommandError <del>from rest_framework.authtoken.models import Token <ide> <add>from rest_framework.authtoken.models import Token <i...
29
Javascript
Javascript
fix typo in tree-sitter-language-mode-spec.js
a9724cb915f43d341ac013696164b3ef4b33e1e3
<ide><path>spec/tree-sitter-language-mode-spec.js <ide> describe('TreeSitterLanguageMode', () => { <ide> type: 'else', <ide> <ide> // There are double quotes around the `else` type. This indicates that <del> // we're targetting an *anonymous* node in the syntax tree. The fold <add> ...
1
Python
Python
remove outdated test
1575b8c33bb1c391cd574ccfbc2812bd5bae54ec
<ide><path>tests/integration_tests/test_image_data_tasks.py <ide> def test_image_data_generator_training(): <ide> optimizer='rmsprop', <ide> metrics=['accuracy']) <ide> history = model.fit_generator(img_gen.flow(x_train, y_train, batch_size=16), <del> ...
2
Go
Go
fix racy test in pkg/plugins
4bc908ec8910468711960a4bcd4f3ec8dce909fb
<ide><path>pkg/plugins/client_test.go <ide> func teardownRemotePluginServer() { <ide> } <ide> } <ide> <del>func TestHttpTimeout(t *testing.T) { <add>func testHTTPTimeout(t *testing.T, timeout, epsilon time.Duration) { <ide> addr := setupRemotePluginServer() <ide> defer teardownRemotePluginServer() <del> stop := fal...
1
PHP
PHP
fix deprecation warning
6dcf7cd551dfc5692882e5364dbf89fcbd1841ac
<ide><path>src/Http/ServerRequest.php <ide> public function addPaths(array $paths) <ide> public function here($base = true) <ide> { <ide> deprecationWarning( <del> 'This method will be removed in 4.0.0. ' . <ide> 'This method will be removed in 4.0.0. You should use getRequestTarg...
1
Text
Text
reduce confusion in testing documentation.
0990c938063f0604373bb4bdd156d31ecf700599
<ide><path>docs/docs/10.4-test-utils.md <ide> prev: two-way-binding-helpers.html <ide> next: clone-with-props.html <ide> --- <ide> <del>`ReactTestUtils` makes it easy to test React components in the testing framework of your choice (we use [Jest](https://facebook.github.io/jest/)). <add>`ReactTestUtils` makes it easy ...
1
Python
Python
improve optimizer configuration
5f7e78df65a865084a34fc54a6cb4f78c1592137
<ide><path>keras/optimizers.py <ide> class Optimizer(object): <ide> when their absolute value exceeds this value. <ide> ''' <ide> def __init__(self, **kwargs): <add> allowed_kwargs = {'clipnorm', 'clipvalue'} <add> for k in kwargs: <add> if k not in allowed_kwargs: <add> ...
1
Javascript
Javascript
avoid lastprops[key] lookup in initial render
22a240fd39b893982cc397ea8b8bcb78eb31158f
<ide><path>src/renderers/dom/shared/ReactDOMComponent.js <ide> ReactDOMComponent.Mixin = { <ide> DOMPropertyOperations.setAttributeForID(el, this._rootNodeID); <ide> // Populate node cache <ide> ReactMount.getID(el); <del> this._updateDOMProperties({}, props, transaction); <add> this._update...
1
Python
Python
update mnist_tpu.py with recommended tf.data apis
aead3912c8d1c228a6240057d4c1072f96fab2a9
<ide><path>official/mnist/mnist_tpu.py <ide> def train_input_fn(params): <ide> # computed according to the input pipeline deployment. See <ide> # `tf.contrib.tpu.RunConfig` for details. <ide> ds = dataset.train(data_dir).cache().repeat().shuffle( <del> buffer_size=50000).apply( <del> tf.contrib.data...
1
Ruby
Ruby
follow the coding conventions
b1879124a82b34168412ac699cf6f654e005c4d6
<ide><path>activerecord/lib/active_record/scoping/named.rb <ide> def scope_attributes? # :nodoc: <ide> # Article.published.featured.latest_article <ide> # Article.featured.titles <ide> def scope(name, body, &block) <del> unless body.respond_to?:call <add> unless body.respon...
1
Javascript
Javascript
remove route#redirect soft deprecation
3890d3c4de3f5a8e97887b74377ff3f1b0fb3645
<ide><path>packages/ember-routing/lib/system/route.js <ide> Ember.Route = Ember.Object.extend(Ember.ActionHandler, { <ide> Transition into another route. Optionally supply model(s) for the <ide> route in question. If multiple models are supplied they will be applied <ide> last to first recursively up the re...
1
Javascript
Javascript
improve mode validation
1cdeb9f956a9f54dde7c6b1a792b97584acbfb8e
<ide><path>lib/internal/validators.js <ide> function validateMode(value, name, def) { <ide> } <ide> <ide> if (typeof value === 'number') { <del> if (!Number.isInteger(value)) { <del> throw new ERR_OUT_OF_RANGE(name, 'an integer', value); <del> } else { <del> // 2 ** 32 === 4294967296 <del> thr...
4
Python
Python
fix suppported versions in setup.py
f4fcf56b63a145d8e26d0275898e915e7e54b794
<ide><path>setup.py <ide> PY2 = sys.version_info[0] == 2 <ide> PY3 = sys.version_info[0] == 3 <ide> PY3_pre_34 = PY3 and sys.version_info < (3, 4) <del>PY2_pre_26 = PY2 and sys.version_info < (2, 6) <ide> PY2_pre_27 = PY2 and sys.version_info < (2, 7) <ide> PY2_pre_279 = PY2 and sys.version_info < (2, 7, 9) <ide> <ide...
1
Javascript
Javascript
fix more indentation
8a7b34d332be351320bf7b63cae62ed7635f8da8
<ide><path>examples/js/loaders/FBXLoader.js <ide> <ide> } <ide> <del>// create the main THREE.Group() to be returned by the loader <add> // create the main THREE.Group() to be returned by the loader <ide> function parseScene( FBXTree, connections, deformers, geometryMap, materialMap ) { <ide> <ide> var sceneGrap...
1
Javascript
Javascript
add button to add cert to linkedin profile
422bacd15dc73d1e3367b5b9b7074763fefe25f8
<ide><path>client/src/client-only-routes/ShowCertification.js <ide> import standardErrorMessage from '../utils/standardErrorMessage'; <ide> import reallyWeirdErrorMessage from '../utils/reallyWeirdErrorMessage'; <ide> <ide> import RedirectHome from '../components/RedirectHome'; <del>import { Loader } from '../componen...
3
Python
Python
reformat the code
a62ea3d21ea169066fa9dff774020800946d6f37
<ide><path>docs/conf.py <ide> # All configuration values have a default; values that are commented out <ide> # serve to show the default. <ide> <add>from glances import __version__ <ide> import sys <ide> import os <ide> from datetime import datetime <ide> # Insert Glances' path into the system. <ide> sys.path.insert(0...
5
Mixed
Ruby
add formula cleanup to install and reinstall
51ca60d6d5faf97f74774ee8366785a6a8d1e168
<ide><path>Library/Homebrew/cmd/install.rb <ide> #: <ide> #: If `--git` (or `-g`) is passed, Homebrew will create a Git repository, useful for <ide> #: creating patches to the software. <add>#: <add>#: If `HOMEBREW_INSTALL_CLEANUP` is set then remove previously installed versions <add>#: of upgraded <formul...
5
Javascript
Javascript
use mapvalues for readability
dc848697ec640f7635777c76ca9e410364a3ddf3
<ide><path>src/Injector.js <ide> import { Component, PropTypes } from 'react'; <add>import mapValues from 'lodash/object/mapValues'; <ide> <ide> export default class Injector extends Component { <ide> static contextTypes = { <ide> export default class Injector extends Component { <ide> const { children, actions:...
2
Ruby
Ruby
add xcode 5.0.1
535c02674ca9a3841b7a90c65350b23ac3c07da3
<ide><path>Library/Homebrew/macos.rb <ide> def preferred_arch <ide> "4.6.2" => { :llvm_build => 2336, :clang => "4.2", :clang_build => 425 }, <ide> "4.6.3" => { :llvm_build => 2336, :clang => "4.2", :clang_build => 425 }, <ide> "5.0" => { :clang => "5.0", :clang_build => 500 }, <add> "5.0.1" => { :clan...
2
Java
Java
improve exception message
e5b505224b77bb2428ab9ca85e894a1ba51f8994
<ide><path>spring-context/src/main/java/org/springframework/cache/interceptor/CacheAspectSupport.java <ide> public void afterSingletonsInstantiated() { <ide> } <ide> catch (NoUniqueBeanDefinitionException ex) { <ide> throw new IllegalStateException("No CacheResolver specified, and no unique bean of type " + <...
1
Java
Java
replace deprecated methods in rsocket tests
7d68a65dc07e960e6d373f5a258d3e8b80f87819
<ide><path>spring-messaging/src/test/java/org/springframework/messaging/rsocket/RSocketBufferLeakTests.java <ide> public static void setupOnce() { <ide> <ide> server = RSocketFactory.receive() <ide> .frameDecoder(PayloadDecoder.ZERO_COPY) <del> .addServerPlugin(payloadInterceptor) // intercept responding <add...
2
Go
Go
fix issue within auth test
0146f65a448d2d42271300f1477ea9fa378d6360
<ide><path>api_test.go <ide> func TestGetAuth(t *testing.T) { <ide> t.Fatalf("%d OK or 0 expected, received %d\n", http.StatusOK, r.Code) <ide> } <ide> <del> newAuthConfig := srv.registry.GetAuthConfig() <add> newAuthConfig := srv.registry.GetAuthConfig(false) <ide> if newAuthConfig.Username != authConfig.Username...
1
Javascript
Javascript
improve test for crypto padding
72b1f79a64fcfe243e7d3b8600f9e10dc96c5694
<ide><path>test/parallel/test-crypto-padding.js <ide> function dec(encd, pad) { <ide> * Test encryption <ide> */ <ide> <del>assert.equal(enc(ODD_LENGTH_PLAIN, true), ODD_LENGTH_ENCRYPTED); <del>assert.equal(enc(EVEN_LENGTH_PLAIN, true), EVEN_LENGTH_ENCRYPTED); <add>assert.strictEqual(enc(ODD_LENGTH_PLAIN, true), ODD...
1
Text
Text
improve the changelog entry [ci skip]
096ee1594d329f53ef47d0aff9bb6eef25a18b96
<ide><path>actionpack/CHANGELOG.md <ide> ## Rails 4.0.0 (unreleased) ## <ide> <del>* Fix explicit names on multiple file fields. If a file field tag is passed <add>* Fix explicit names on multiple file fields. If a file field tag has <ide> the multiple option, it is turned into an array field (appending `[]`),...
1
Text
Text
add documentation on jquery chaining
cd18e168a63127bd9a6b5cf357a138f628aca15e
<ide><path>guide/english/jquery/jquery-chaining/index.md <add>--- <add>title: jQuery Chaining <add>--- <add>## jQuery Chaining <add>jQuery chaining allows you to execute multiple methods on the same jQuery selection, all on a single line. <add> <add>Chaining allows us to turn multi-line statements: <add>```javascript <...
1
Javascript
Javascript
remove unused catch bindings
39a027224e81681251266cdd104229ae53a0c12a
<ide><path>lib/assert.js <ide> function getErrMessage(message, fn) { <ide> errorCache.set(identifier, message); <ide> <ide> return message; <del> } catch (e) { <del> // Invalidate cache to prevent trying to read this part again. <add> } catch { <add> // Invalidate cache to prevent trying to read this par...
1
Java
Java
fix initialization issue in reactorresourcefactory
2163fa94a7f0b8bf5de1398f0a79249f342f497c
<ide><path>spring-web/src/main/java/org/springframework/http/client/reactive/ReactorResourceFactory.java <ide> public class ReactorResourceFactory implements InitializingBean, DisposableBean <ide> private Consumer<HttpResources> globalResourcesConsumer; <ide> <ide> <del> private Supplier<ConnectionProvider> connecti...
2
Javascript
Javascript
fix sr-cyr and tzm-la close
4e7c24ab495cf7d2ba89ac2893326d7c82bd6d70
<add><path>lang/sr-cyrl.js <del><path>lang/sr-cyr.js <ide> // moment.js language configuration <del>// language : Serbian-cyrillic (sr-cyr) <add>// language : Serbian-cyrillic (sr-cyrl) <ide> // author : Milan Janačković<milanjanackovic@gmail.com> : https://github.com/milan-j <ide> <ide> (function (factory) { <ide> ...
4
PHP
PHP
fix asterisk spacing cs error
d9914558d84767937c11a2ce63e3884379a87aac
<ide><path>src/View/Helper/TimeHelper.php <ide> public function daysAsSql($begin, $end, $fieldName, $timezone = null) { <ide> /** <ide> * Returns a partial SQL string to search for all records between two times <ide> * occurring on the same day. <del> * <add> * <ide> * @see Cake\Utility\Time::dayAsSql() <ide> * <i...
1
PHP
PHP
apply fixes from styleci
cada3d21c7f127ba01bb949b2fa045b7faaedbca
<ide><path>src/Illuminate/View/Engines/CompilerEngine.php <ide> namespace Illuminate\View\Engines; <ide> <ide> use Illuminate\View\Compilers\CompilerInterface; <del>use Throwable; <ide> use Illuminate\View\ViewException; <add>use Throwable; <ide> <ide> class CompilerEngine extends PhpEngine <ide> {
1
Java
Java
update javadoc in sqlscriptstestexecutionlistener
da5b0b97d3a4f425576fe216ef6b5d1e4465af84
<ide><path>spring-test/src/main/java/org/springframework/test/context/jdbc/SqlScriptsTestExecutionListener.java <ide> private void executeSqlScripts(TestContext testContext, ExecutionPhase execution <ide> * Execute the SQL scripts configured via the supplied {@link Sql @Sql} <ide> * annotation for the given {@link...
1
PHP
PHP
add tests for escaping name + value
d8944c6b3b112fc357e3bd4ed21d625f0a83af4e
<ide><path>src/View/Input/MultiCheckbox.php <ide> public function __construct($templates) { <ide> /** <ide> * Render multi-checkbox widget. <ide> * <add> * Data supports the following options. <add> * <add> * - `name` The name attribute of the inputs to create. <add> * `[]` will be appended to the name. <add> * - `...
2
PHP
PHP
rename some methods
1349d70b659732c4592bef8901312a2840cef536
<ide><path>src/Illuminate/Validation/Validator.php <ide> protected function validateNotIn($attribute, $value, $parameters) <ide> */ <ide> protected function validateDistinct($attribute, $value, $parameters) <ide> { <del> $rawAttribute = $this->getRawAttribute($attribute); <add> $attributeName...
1
Java
Java
fix typo in javadoc for abstractjdbccall
9d124fffcbe1a4167a251b267bf2cc763bb2d3ec
<ide><path>spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/AbstractJdbcCall.java <ide> protected List<SqlParameter> getCallParameters() { <ide> /** <ide> * Match the provided in parameter values with registered parameters and <ide> * parameters defined via meta-data processing. <del> * @param param...
1
Ruby
Ruby
fix example for database-specific locking clause
6e2357f0fe764e15fae280b879c49136b563c2ba
<ide><path>activerecord/lib/active_record/locking/pessimistic.rb <ide> module Locking <ide> # of your own such as 'LOCK IN SHARE MODE' or 'FOR UPDATE NOWAIT'. Example: <ide> # <ide> # Account.transaction do <del> # # select * from accounts where name = 'shugo' limit 1 for update <del> # shug...
1
Text
Text
add xz utils as a runtime dep
4f5c2cbccc2ef80f5372ebb4abb38d33343f2c86
<ide><path>hack/PACKAGERS.md <ide> To run properly, docker needs the following software to be installed at runtime: <ide> * iptables version 1.4 or later <ide> * The lxc utility scripts (http://lxc.sourceforge.net) version 0.8 or later. <ide> * Git version 1.7 or later <add>* XZ Utils 4.9 or later <ide> <ide> ## Kern...
1
Python
Python
fix uninitialized value in masked ndenumerate test
6996397b00e4d2dd609deca430d05f6e80e8cea2
<ide><path>numpy/ma/tests/test_extras.py <ide> def test_shape_scalar(self): <ide> class TestNDEnumerate: <ide> <ide> def test_ndenumerate_nomasked(self): <del> ordinary = np.ndarray(6).reshape((1, 3, 2)) <add> ordinary = np.arange(6.).reshape((1, 3, 2)) <ide> empty_mask = np.zeros_like(ordina...
1
Javascript
Javascript
improve wording and formatting
618e3f2558170ff49ff50852bb7833a54585e328
<ide><path>src/ngResource/resource.js <ide> function shallowClearAndCopy(src, dst) { <ide> * <ide> * <div doc-module-components="ngResource"></div> <ide> * <del> * See {@link ngResource.$resource `$resource`} for usage. <del> * <del> * See {@link ngResource.$resourceProvider `$resourceProvider`} for usage. <add> * S...
1
Javascript
Javascript
add syntax error check in test cases
47086c6e7e7da22aa09c0f0f07daba6647150030
<ide><path>test/RuntimeTemplateCheck.test.js <del>"use strict"; <del> <del>const path = require("path"); <del>const webpack = require(".."); <del>const fs = require("graceful-fs"); <del>const rimraf = require("rimraf"); <del> <del>const tempFolderPath = path.join(__dirname, "TemplateRuntimeTemp"); <del>const tempSource...
4
Python
Python
fix ner_jsonl2json converter (fix )
fd4a5341b0beffa126f1868eb9031cd581fd9515
<ide><path>spacy/cli/converters/jsonl2json.py <ide> from ...util import get_lang_class, minibatch <ide> <ide> <del>def ner_jsonl2json(input_data, lang=None, n_sents=10, use_morphology=False): <add>def ner_jsonl2json(input_data, lang=None, n_sents=10, use_morphology=False, **_): <ide> if lang is None: <ide> ...
1
Text
Text
update unmaintained ffmpeg tap to current
5dddbf1e8c27e2cc258201ff3651a61945cf8e7c
<ide><path>docs/Interesting-Taps-and-Forks.md <ide> Homebrew has the capability to add (and remove) multiple taps to your local inst <ide> Your taps are Git repositories located at `$(brew --repository)/Library/Taps`. <ide> <ide> ## Unsupported interesting taps <del>* [varenc/ffmpeg](https://github.com/varenc/homebr...
1
Python
Python
add indexing functions by fernando perez
133e5c29958ef7090a9ca80665c9436cdcebb7f9
<ide><path>numpy/lib/index_tricks.py <ide> 'ogrid', <ide> 'r_', 'c_', 's_', <ide> 'index_exp', 'ix_', <del> 'ndenumerate','ndindex'] <add> 'ndenumerate','ndindex', <add> 'fill_diagonal','diag_indices','diag_indices_from'] <ide> <ide> import sys <ide> impor...
4
Javascript
Javascript
add comment about bug in yields
362e56a1c1d033b4dd5c289b98c2cf0b9fb921f7
<ide><path>src/renderers/shared/fiber/ReactFiber.js <ide> function createFiberFromElementType(type : mixed, key : null | string) { <ide> fiber.type = type; <ide> } else if (typeof type === 'object' && type !== null) { <ide> // Currently assumed to be a continuation and therefore is a fiber already. <add> /...
1
Text
Text
remove needless `break;` [ci skip]
7fc10468b6ee7891a83f50d5ccf2266c8baf23e0
<ide><path>guides/source/asset_pipeline.md <ide> location ~ ^/assets/ { <ide> add_header Cache-Control public; <ide> <ide> add_header ETag ""; <del> break; <ide> } <ide> ``` <ide>
1
Text
Text
fix a typo in contrib/man/md/docker.1.md
653328c6cef8bab89343587b134ba7676ee39867
<ide><path>contrib/man/md/docker.1.md <ide> port=[4243] or path =[/var/run/docker.sock] is omitted, default values are used. <ide> **-v**=*true*|*false* <ide> Print version information and quit. Default is false. <ide> <del>**--selinux-enabled=*true*|*false* <add>**--selinux-enabled**=*true*|*false* <ide> Enable s...
1
Python
Python
fix bugs and add related tests
80daa5750a8e5ee6ffcbcad72b2b52540d0b502d
<ide><path>sorts/radix_sort.py <ide> def radix_sort(list_of_ints: List[int]) -> List[int]: <ide> True <ide> radix_sort(reversed(range(15))) == sorted(range(15)) <ide> True <add> radix_sort([1,100,10,1000]) == sorted([1,100,10,1000]) <add> True <ide> """ <ide> RADIX = 10 <ide> placement = 1...
1
PHP
PHP
fix some docblock typo
118eca6482fc54c3cf615909ec43dc2f177d101d
<ide><path>src/Cache/Cache.php <ide> public static function read($key, $config = 'default') { <ide> * @param array $keys an array of keys to fetch from the cache <ide> * @param string $config optional name of the configuration to use. Defaults to 'default' <ide> * @return array An array containing, for each of the g...
55
Go
Go
fix race condition between exec start and resize
e6783656f917c5a8b8c6f346b4ff840d97b1b6ce
<ide><path>daemon/exec.go <ide> import ( <ide> "github.com/docker/docker/pkg/pools" <ide> "github.com/docker/docker/pkg/signal" <ide> "github.com/docker/docker/pkg/term" <del> "github.com/opencontainers/runtime-spec/specs-go" <add> specs "github.com/opencontainers/runtime-spec/specs-go" <ide> "github.com/pkg/errors...
6
Python
Python
fix batch_dot tests on backend
d09e2a67bb9ce53f9318930296a9825dd82f7197
<ide><path>tests/keras/backend/test_backends.py <ide> def test_linear_operations(self): <ide> check_two_tensor_operation('dot', (4, 2), (5, 2, 3)) <ide> <ide> check_two_tensor_operation('batch_dot', (4, 2, 3), (4, 5, 3), <del> axes=((2,), (2,))) <add> ...
1
Text
Text
fix changelog [ci skip]
7eed607b122b4089c1390dfcf6918515672e8c4c
<ide><path>activemodel/CHANGELOG.md <ide> * Pass in `base` instead of `base_class` to Error.human_attribute_name <ide> <del> *Filipe Sabella* <del> <ide> This is useful in cases where the `human_attribute_name` method depends <ide> on other attributes' values of the class under validation to derive what t...
1
Text
Text
update details about cache control headers
a52bd712fe797b59cfd05ceaa4c33096a0c346ff
<ide><path>docs/api-reference/next.config.js/headers.md <ide> module.exports = { <ide> <ide> ### Cache-Control <ide> <del>Cache-Control headers set in next.config.js will be overwritten in production to ensure that static assets can be cached effectively. If you need to revalidate the cache of a page that has been [s...
1
Ruby
Ruby
add translation to the new base
c90f613ad68253cb253bf47cb812f9e027c35d10
<ide><path>actionpack/lib/action_controller/new_base.rb <ide> module ActionController <ide> autoload :Streaming, 'action_controller/base/streaming' <ide> autoload :HttpAuthentication, 'action_controller/base/http_authentication' <ide> autoload :FilterParameterLogging, 'action_controller/bas...
3
Text
Text
add basic js scrimba links
409c39abf1cf9ca42be056171c50f13f27c11737
<ide><path>curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/access-array-data-with-indexes.english.md <ide> id: 56bbb991ad1ed5201cd392ca <ide> title: Access Array Data with Indexes <ide> challengeType: 1 <ide> guideUrl: 'https://www.freecodecamp.org/guide/certificates/access-a...
107
Text
Text
alphabetize tls options
25c92a90262e4bdaa97999f5fade56a9551701c9
<ide><path>doc/api/tls.md <ide> changes: <ide> --> <ide> <ide> * `options` {Object} <del> * `pfx` {string|string[]|Buffer|Buffer[]|Object[]} Optional PFX or PKCS12 <del> encoded private key and certificate chain. `pfx` is an alternative to <del> providing `key` and `cert` individually. PFX is usually encrypted,...
1
Javascript
Javascript
improve future tense
2e3388171450f39ed4799123737f7aed4addec8e
<ide><path>src/locale/sk.js <ide> export default moment.defineLocale('sk', { <ide> sameElse: 'L' <ide> }, <ide> relativeTime : { <del> future : 'za %s', <add> future : 'o %s', <ide> past : 'pred %s', <ide> s : translate, <ide> ss : translate, <ide><path>src/test/loc...
2
Python
Python
fix installation of numarray headers on windows
988678cf6d0eb8459588e1067dd3a91468cbaa2d
<ide><path>numpy/numarray/setup.py <ide> def configuration(parent_package='',top_path=None): <ide> from numpy.distutils.misc_util import Configuration <ide> config = Configuration('numarray',parent_package,top_path) <ide> <del> config.add_data_files('numpy/') <add> config.add_data_files('numpy/*') <ide> ...
1
Go
Go
fix devmapper backend in docker info
fdc2641c2b329c48cf1d1c8c0b806bec8784b3e0
<ide><path>daemon/graphdriver/devmapper/deviceset.go <ide> type DeviceSet struct { <ide> dataLoopbackSize int64 <ide> metaDataLoopbackSize int64 <ide> baseFsSize uint64 <del> userFilesystem string // FS specified by user using dm.fs <add> filesystem string <ide> mountOptions ...
2
PHP
PHP
fix deprecation message for request->here usage
a2d5a5ab9d45d02d9d5b5542474b2441efcf846f
<ide><path>src/Http/ServerRequest.php <ide> class ServerRequest implements ArrayAccess, ServerRequestInterface <ide> 'url' => ['get' => 'getPath()', 'set' => 'withRequestTarget()'], <ide> 'base' => ['get' => 'getAttribute("base")', 'set' => 'withAttribute("base")'], <ide> 'webroot' => ['get' => ...
1
Javascript
Javascript
use factory method to create worker executor
dcca74ab92947b1b2c7c8fc12f92784abf3b2c51
<ide><path>client/src/templates/Challenges/rechallenge/transformers.js <ide> import presetReact from '@babel/preset-react'; <ide> import protect from 'loop-protect'; <ide> <ide> import * as vinyl from '../utils/polyvinyl.js'; <del>import WorkerExecutor from '../utils/worker-executor'; <add>import createWorker from '.....
3
Java
Java
implement limit to execute pre-mount operations
ed8573f957f4dfa1ffd76df965867aaf0a7282a3
<ide><path>ReactAndroid/src/main/java/com/facebook/react/fabric/FabricUIManager.java <ide> import android.support.annotation.GuardedBy; <ide> import android.support.annotation.Nullable; <ide> import android.support.annotation.UiThread; <add>import android.util.Log; <ide> import android.view.View; <ide> import com.faceb...
1
Go
Go
print everything except progress in non-terminal
aeeb0d59d3ed40c3b0d9cecd3c19a52f005dd140
<ide><path>utils/jsonmessage.go <ide> func (jm *JSONMessage) Display(out io.Writer, isTerminal bool) error { <ide> // <ESC>[2K = erase entire current line <ide> fmt.Fprintf(out, "%c[2K\r", 27) <ide> endl = "\r" <del> } else if jm.Progress != nil { //disable progressbar in non-terminal <add> } else if jm.Progress ...
1
Python
Python
add solution() for problem 54 of project euler
08eb1efafe01c89f83914d8792ef0dc849f92360
<ide><path>project_euler/problem_54/sol1.py <ide> """ <ide> from __future__ import annotations <ide> <add>import os <add> <ide> <ide> class PokerHand(object): <ide> """Create an object representing a Poker Hand based on an input of a <ide> def __ge__(self, other): <ide> <ide> def __hash__(self): <ide> ...
1
Python
Python
add override method to taskgroupdecorator
b815e221e828aa039e166378c3e393d144b174e8
<ide><path>airflow/decorators/task_group.py <ide> def __call__(self, *args, **kwargs) -> Union[R, TaskGroup]: <ide> # start >> tg >> end <ide> return task_group <ide> <add> def override(self, **kwargs: Any) -> "TaskGroupDecorator[R]": <add> return attr.evolve(self, kwargs={**self.kwargs, **...
2
Text
Text
add space after ellipses
86287bffd4ed4e29bda8df9c4a6acb85c574efaf
<ide><path>starter/README.md <ide> # Welcome to React! <ide> <del>You've just downloaded the React starter kit...Congratulations! <add>You've just downloaded the React starter kit... Congratulations! <ide> <ide> To begin, check out the `examples/` directory for a bunch of examples, or check out [Getting Started](http...
1
Java
Java
avoid store all bean name
d494621ee3d2e0d6c706f401028b0bbd62491495
<ide><path>spring-context/src/main/java/org/springframework/context/support/ApplicationListenerDetector.java <ide> public ApplicationListenerDetector(AbstractApplicationContext applicationContext <ide> <ide> @Override <ide> public void postProcessMergedBeanDefinition(RootBeanDefinition beanDefinition, Class<?> beanT...
1
Go
Go
add docker create tests
b0cb37fd3bd65b27a63954b36507a9782088cfc4
<ide><path>api/client/commands.go <ide> func (cid *cidFile) Close() error { <ide> <ide> if !cid.written { <ide> if err := os.Remove(cid.path); err != nil { <del> return fmt.Errorf("failed to remove CID file '%s': %s \n", cid.path, err) <add> return fmt.Errorf("failed to remove the CID file '%s': %s \n", cid.pat...
2
Go
Go
pass info rather than hash to deactivatedevice()
5955846774c9b43291d6de0584fa8c3f62414c43
<ide><path>runtime/graphdriver/devmapper/deviceset.go <ide> func (devices *DeviceSet) deactivatePool() error { <ide> return nil <ide> } <ide> <del>func (devices *DeviceSet) deactivateDevice(hash string) error { <del> utils.Debugf("[devmapper] deactivateDevice(%s)", hash) <add>func (devices *DeviceSet) deactivateDevic...
1
PHP
PHP
fix a cs issue
c2521b4d3d4ab5680471826feac7b5530ed6892a
<ide><path>src/Console/ConsoleInputOption.php <ide> public function __construct( <ide> $default = '', <ide> $choices = [], <ide> $multiple = false <del> ) <del> { <add> ) { <ide> if (is_array($name) && isset($name['name'])) { <ide> foreach ($name as $key => $value) {...
1
Ruby
Ruby
fix rubocop style
776785459be67096efd0331c2d69f6133ab18dff
<ide><path>Library/Homebrew/test/test_audit.rb <ide> def teardown <ide> <ide> def formula_auditor(name, text, options = {}) <ide> path = Pathname.new "#{@dir}/#{name}.rb" <del> path.open("w") { |f| f.write text } <add> path.open("w") do |f| <add> f.write text <add> end <ide> FormulaAuditor.new ...
1
Javascript
Javascript
create tag after building cdn files
9aacb89f363dcaacfffcfe794ecf54b2c49e5b19
<ide><path>build/release.js <ide> steps( <ide> checkGitStatus, <ide> setReleaseVersion, <ide> gruntBuild, <del> createTag, <ide> makeReleaseCopies, <ide> copyTojQueryCDN, <ide> buildGoogleCDN, <ide> buildMicrosoftCDN, <add> createTag, <ide> setNextVersion, <ide> pushToGithub, <del> publishToNpm, <add> // publi...
1
Ruby
Ruby
remove unused exception; closes homebrew/homebrew
4abf49367006f3d695efddbc04de7b308fc99528
<ide><path>Library/Homebrew/cmd/create.rb <ide> def version <ide> <ide> def generate <ide> raise "#{path} already exists" if path.exist? <del> raise VersionUndetermined if version.nil? <ide> <ide> require 'digest' <ide> require 'erb'
1
Javascript
Javascript
add more of the node semantics
9a8095eab8dfcea29476028e8c15a3aa744641e0
<ide><path>test/cases/parsing/issue-4940/index.js <ide> define("local-module-non-object", ["local-side-effect"], function (sideEffect) { <ide> it("should create dependency when require is called with 'new' (object export)", function() { <ide> const result = new require("./object-export"); <ide> result.foo.should.equa...
1
Java
Java
fix resolvabletype hashcode generation
ab2949f2b7149db155cdee661a4ce1baf3362ef0
<ide><path>spring-core/src/main/java/org/springframework/core/ResolvableType.java <ide> public boolean equals(Object obj) { <ide> @Override <ide> public int hashCode() { <ide> int hashCode = ObjectUtils.nullSafeHashCode(this.type); <del> hashCode = hashCode * 31 + ObjectUtils.nullSafeHashCode(this.variableResolver...
1
Javascript
Javascript
fix valgrind uninitialized memory warning
ac70bc82404ec60a71e651a9e16dd4910c020b72
<ide><path>test/parallel/test-buffer.js <ide> assert.equal(buf[4], 0); <ide> <ide> // Check for fractional length args, junk length args, etc. <ide> // https://github.com/joyent/node/issues/1758 <del>Buffer(3.3).toString(); // throws bad argument error in commit 43cb4ec <add> <add>// Call .fill() first, stops valgrind...
1
Java
Java
fix javadoc reference to throwsadvice
00375df4e8acc97f88c96cfaf5e4c0c44e7f8960
<ide><path>spring-aop/src/main/java/org/springframework/aop/framework/adapter/ThrowsAdviceAdapter.java <ide> import org.springframework.aop.ThrowsAdvice; <ide> <ide> /** <del> * Adapter to enable {@link org.springframework.aop.MethodBeforeAdvice} <add> * Adapter to enable {@link org.springframework.aop.ThrowsAdvice} <...
1
Ruby
Ruby
fix comment about which mail headers are excluded
738be4457b964fe5e46d2eb7797e9055c4876de8
<ide><path>actionmailer/lib/action_mailer/base.rb <ide> def mail(headers = {}, &block) <ide> # Set configure delivery behavior <ide> wrap_delivery_behavior!(headers.delete(:delivery_method), headers.delete(:delivery_method_options)) <ide> <del> # Assign all headers except parts_order, content_type and...
1
Ruby
Ruby
convert acceptlist to a regular class
f8c9ef8401ab11db5f64fc1e13e8b1fe5a0803ce
<ide><path>actionpack/lib/action_dispatch/http/mime_type.rb <ide> def <=>(item) <ide> end <ide> end <ide> <del> class AcceptList < Array #:nodoc: <del> def assort! <del> sort! <add> class AcceptList #:nodoc: <add> def self.sort!(list) <add> list.sort! <ide> <del> text_xm...
1
Javascript
Javascript
fix normalization of unc paths
bc9388342f59ed5c69d69c7095e5a17fcbd80ba8
<ide><path>lib/path.js <ide> if (isWindows) { <ide> // Regex to split a windows path into three parts: [*, device, slash, <ide> // tail] windows-only <ide> var splitDeviceRe = <del> /^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?([\\\/])?([\s\S]*?)$/; <add> /^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?...
2
Java
Java
fix jsonobjectdecoder chunks handling
b1030eba3f6f0601413e1652f9b2151d21adc245
<ide><path>spring-web/src/main/java/org/springframework/http/codec/json/JsonObjectDecoder.java <ide> public Publisher<? extends DataBuffer> apply(DataBuffer buffer) { <ide> this.writerIndex = this.input.writerIndex(); <ide> } <ide> else { <add> this.index = this.index - this.input.readerIndex(); <ide> ...
2
Javascript
Javascript
use this.dir to join the resolved path
83b5c138100e7bb7fdf19d23b38a52d60a384427
<ide><path>server/index.js <ide> export default class Server { <ide> this.http = null <ide> const phase = dev ? PHASE_DEVELOPMENT_SERVER : PHASE_PRODUCTION_SERVER <ide> this.nextConfig = loadConfig(phase, this.dir, conf) <del> this.distDir = join(dir, this.nextConfig.distDir) <add> this.distDir = join...
1
Java
Java
revise servlet 4 httpservletmapping check
4cc831238c825c6d361d35ebf2563603da5eccae
<ide><path>spring-web/src/main/java/org/springframework/web/util/UrlPathHelper.java <ide> import java.util.Properties; <ide> <ide> import javax.servlet.ServletRequest; <add>import javax.servlet.http.HttpServletMapping; <ide> import javax.servlet.http.HttpServletRequest; <ide> import javax.servlet.http.MappingMatch; <i...
1
Python
Python
set version to v2.1.0a7.dev3
63dc4234a33da79df93c5649aaac04478dfea6a2
<ide><path>spacy/about.py <ide> # fmt: off <ide> <ide> __title__ = "spacy-nightly" <del>__version__ = "2.1.0a7.dev2" <add>__version__ = "2.1.0a7.dev3" <ide> __summary__ = "Industrial-strength Natural Language Processing (NLP) with Python and Cython" <ide> __uri__ = "https://spacy.io" <ide> __author__ = "Explosion AI"
1