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 |
|---|---|---|---|---|---|
Text | Text | create issue and pull request templates | 9c2899f6c82d2a3415f240f70c77d4bd4d2e8377 | <ide><path>CONTRIBUTING.md
<ide> Some tips on good issue reporting:
<ide> * When describing issues try to phrase your ticket in terms of the *behavior* you think needs changing rather than the *code* you think need changing.
<ide> * Search the issue list first for related items, and make sure you're running the latest ... | 3 |
Text | Text | add development guide for ui-components | a4b6c7eee0a579648947207a6db116bd3854a71c | <ide><path>docs/_sidebar.md
<ide> - [Work on Cypress tests](how-to-add-cypress-tests.md)
<ide> - [Work on video challenges](how-to-help-with-video-challenges.md)
<ide> - [Work on the docs theme](how-to-work-on-the-docs-theme.md)
<add> - [Work on the component library](how-to-work-on-the-component-library.md)
<id... | 2 |
Text | Text | update amazon ec2 docker installation instructions | da667581cffec4048d848454266b8d3cad55c859 | <ide><path>docs/sources/installation/amazon.md
<ide> page_keywords: amazon ec2, virtualization, cloud, docker, documentation, install
<ide>
<ide> # Amazon EC2
<ide>
<del>There are several ways to install Docker on AWS EC2:
<del>
<del> - [*Amazon QuickStart (Release Candidate - March 2014)*](
<del> #amazon-quicksta... | 1 |
Ruby | Ruby | remove `json` argument and extend `cachable` | eab0f88c3cf9dfc2396f35281022d14592d7b8dc | <ide><path>Library/Homebrew/api.rb
<ide> require "api/cask"
<ide> require "api/formula"
<ide> require "api/versions"
<add>require "extend/cachable"
<ide>
<ide> module Homebrew
<ide> # Helper functions for using Homebrew's formulae.brew.sh API.
<ide> module Homebrew
<ide> module API
<ide> extend T::Sig
<ide>
<... | 6 |
Javascript | Javascript | convert vars into let/const | 6074664f73c6b1ea1f774f2bc698224e3677cef0 | <ide><path>packages/react-reconciler/index.js
<ide> export type {
<ide> Reconciler,
<ide> } from './src/ReactFiberReconciler';
<ide>
<del>var ReactFiberReconciler = require('./src/ReactFiberReconciler');
<add>const ReactFiberReconciler = require('./src/ReactFiberReconciler');
<ide>
<ide> // TODO: decide on the top-... | 24 |
Go | Go | add network attachment methods to cluster provider | 547c342c1b96f66f74533fdd648127098a922faa | <ide><path>libnetwork/cluster/provider.go
<ide> package cluster
<ide>
<add>import (
<add> "github.com/docker/engine-api/types/network"
<add> "golang.org/x/net/context"
<add>)
<add>
<ide> // Provider provides clustering config details
<ide> type Provider interface {
<ide> IsManager() bool
<ide> type Provider interface... | 2 |
Javascript | Javascript | remove invalid character | 5c203240d484c9803e19ce537adcb70fd9010a30 | <ide><path>src/ng/filter/filter.js
<ide> <hr>
<ide> Any: <input ng-model="search.$"> <br>
<ide> Name only <input ng-model="search.name"><br>
<del> Phone only <input ng-model="search.phone"å><br>
<add> Phone only <input ng-model="search.phone"><br>
<ide> Equality <input type="chec... | 1 |
Ruby | Ruby | fix typo in deprecation notice | b0ae34ad72ed8410e6f16c1d9ee4b04b2630208f | <ide><path>activesupport/lib/active_support/message_verifier.rb
<ide> class InvalidSignature < StandardError; end
<ide>
<ide> def initialize(secret, options = {})
<ide> unless options.is_a?(Hash)
<del> ActiveSupport::Deprecation.warn "The second parameter should be an options hash. Use :digest => 'alg... | 1 |
Javascript | Javascript | use shared builder | 3e4551bb559a9a2e337f14603cf7c6d3bb675a1e | <ide><path>Gruntfile.js
<ide> module.exports = function(grunt) {
<ide> filenames.add(filename);
<ide> });
<ide> });
<del> const buildStuff = require('./build/js/build');
<add> const buildStuff = require('@gfxfundamentals/lesson-builder');
<ide> const settings = Object.assign({}, buildSetting... | 3 |
PHP | PHP | add getfallbackchannelname method | bb57655967f31b426b968a46ca738d6a245e873d | <ide><path>src/Illuminate/Log/LogManager.php
<ide> protected function formatter()
<ide> });
<ide> }
<ide>
<add> /**
<add> * Get fallback log channel name.
<add> *
<add> * @return string
<add> */
<add> protected function getFallbackChannelName()
<add> {
<add> return $this->ap... | 2 |
Text | Text | add cli reference docs for root-level commands | 9cea26bc7797789e4be2309153bd49c234544d2d | <ide><path>docs/reference/commandline/container.md
<add>
<add>---
<add>title: "container"
<add>description: "The container command description and usage"
<add>keywords: "container"
<add>---
<add>
<add><!-- This file is maintained within the docker/docker Github
<add> repository at https://github.com/docker/docker/.... | 11 |
Python | Python | avoid redundant numpy conversion | 037e2b17bbea65da897b768d7d06f5ea275c1724 | <ide><path>official/vision/beta/evaluation/panoptic_quality_evaluator.py
<ide> def update_state(self, groundtruths, predictions):
<ide> ValueError: if the required prediction or groundtruth fields are not
<ide> present in the incoming `predictions` or `groundtruths`.
<ide> """
<del> groundtruths, p... | 1 |
Text | Text | add a note on usage scope of aliasedbuffer | 447b3907c7b19bf53236538cb53968a7c2aca4b2 | <ide><path>CPP_STYLE_GUIDE.md
<ide> * [Use explicit pointer comparisons](#use-explicit-pointer-comparisons)
<ide> * [Ownership and Smart Pointers](#ownership-and-smart-pointers)
<ide> * [Avoid non-const references](#avoid-non-const-references)
<add> * [Use AliasedBuffers to manipulate TypedArrays](#use-aliasedbu... | 1 |
PHP | PHP | update docblock type | 25276e58dbcc3ce13d0ef7d17653cf912dc9173b | <ide><path>src/Validation/Validation.php
<ide> public static function mimeType($check, $mimeTypes = []): bool
<ide> * Helper for reading the file out of the various file implementations
<ide> * we accept.
<ide> *
<del> * @param string|array|\Psr\Http\Message\UploadedFileInterface $check The data to r... | 1 |
Text | Text | translate ja of texture | db4b9fe0938e533c2793f31234221664f4d97708 | <ide><path>threejs/lessons/ja/threejs-textures.md
<add>Title: Three.jsのテクスチャ
<add>Description: Three.jsのテクスチャの使い方
<add>TOC: テクスチャ
<add>
<add>この記事はthree.jsについてのシリーズ記事の一つです。
<add>最初の記事は[Three.jsの基礎知識](threejs-fundamentals.html)です。
<add>まだ読んでない人は、そちらから先に読んでみるといいかもしれません。
<add>
<add>テクスチャはThree.jsの大きなトピックの一つです。
<add>どのレベルで説... | 1 |
PHP | PHP | implement httpkernelinterface on router | e8a704cf4116feae5ac03845bad732b0e38cc1f9 | <ide><path>src/Illuminate/Routing/Router.php
<ide> use Illuminate\Http\Response;
<ide> use Illuminate\Events\Dispatcher;
<ide> use Illuminate\Container\Container;
<add>use Symfony\Component\HttpKernel\HttpKernelInterface;
<add>use Symfony\Component\HttpFoundation\Request as SymfonyRequest;
<ide> use Symfony\Component\H... | 1 |
PHP | PHP | add retry helper | e3bd359d52cee0ba8db9673e45a8221c1c1d95d6 | <ide><path>src/Illuminate/Support/helpers.php
<ide> function preg_replace_array($pattern, array $replacements, $subject)
<ide> }
<ide> }
<ide>
<add>if (! function_exists('retry')) {
<add> /**
<add> * Retry an operation a given number of times.
<add> *
<add> * @param int $times
<add> * @param ... | 1 |
Python | Python | add distilbert support for ner fine-tuning | 2b07b9e5ee14ac37fcef7bac958963d869b3b79a | <ide><path>examples/run_ner.py
<ide> from transformers import AdamW, WarmupLinearSchedule
<ide> from transformers import WEIGHTS_NAME, BertConfig, BertForTokenClassification, BertTokenizer
<ide> from transformers import RobertaConfig, RobertaForTokenClassification, RobertaTokenizer
<add>from transformers import DistilB... | 1 |
Go | Go | replace my c code with tianons go code | 524416560a4624d30023db32101c9fe5ebffc895 | <ide><path>pkg/netlink/netlink_linux.go
<ide>
<ide> package netlink
<ide>
<del>/*
<del>#include <string.h>
<del>#include <errno.h>
<del>#include <sys/ioctl.h>
<del>#include <net/if.h>
<del>
<del>static int get_socket(void) {
<del> int s_errno;
<del> int fd;
<del>
<del> fd = socket(PF_INET, SOCK_DGRAM, 0);
<del> if (f... | 1 |
PHP | PHP | handle query string arguments in digest auth data | cdc67116c5e9ebba67a76045434e7b6fb7d1876b | <ide><path>lib/Cake/Controller/Component/Auth/DigestAuthenticate.php
<ide> public function parseAuthData($digest) {
<ide> }
<ide> $keys = $match = array();
<ide> $req = array('nonce' => 1, 'nc' => 1, 'cnonce' => 1, 'qop' => 1, 'username' => 1, 'uri' => 1, 'response' => 1);
<del> preg_match_all('/(\w+)=([\'"]?)([... | 2 |
Text | Text | remove openjsf slack nodejs from support doc | 3697587c31c71e6291adb5a4878b5f0860113385 | <ide><path>.github/SUPPORT.md
<ide> If you didn't find an answer in the resources above, try these unofficial
<ide> resources:
<ide>
<ide> * [Questions tagged 'node.js' on Stack Overflow](https://stackoverflow.com/questions/tagged/node.js)
<del>* [#nodejs](https://openjs-foundation.slack.com/archives/CK9Q4MB53) channe... | 1 |
PHP | PHP | add dynamodb_endpoint to the cache config | 953093795869beb658bdd9be9442188f39e62b6a | <ide><path>config/cache.php
<ide> 'secret' => env('AWS_SECRET_ACCESS_KEY'),
<ide> 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
<ide> 'table' => env('DYNAMODB_CACHE_TABLE', 'cache'),
<add> 'endpoint' => env('DYNAMODB_ENDPOINT'),
<ide> ],
<ide>
<ide> ], | 1 |
Javascript | Javascript | update openssl3 error messages for 3.0.0+quic | e016cc79f0b8ddf2b982dcb1bebb2af6f97dec5b | <ide><path>test/parallel/test-crypto-key-objects.js
<ide> const privateDsa = fixtures.readKey('dsa_private_encrypted_1025.pem',
<ide> // Reading an encrypted key without a passphrase should fail.
<ide> assert.throws(() => createPrivateKey(privateDsa), common.hasOpenSSL3 ? {
<ide> name: 'Error',
<del> message... | 2 |
Go | Go | implement docker commit with standalone client lib | 8c9ad7b818c0a7b1e39f8df1fabba243a0961c2d | <ide><path>api/client/commit.go
<ide> package client
<ide>
<ide> import (
<del> "encoding/json"
<ide> "errors"
<ide> "fmt"
<del> "net/url"
<ide>
<ide> "github.com/docker/distribution/reference"
<del> "github.com/docker/docker/api/types"
<add> "github.com/docker/docker/api/client/lib"
<ide> Cli "github.com/docker/... | 2 |
Python | Python | use api dict to generate old types code | 9d048961def588712d3040956a21f4363521e07c | <ide><path>numpy/core/code_generators/generate_numpy_api.py
<ide> def generate_api(output_dir, force=False):
<ide>
<ide> return targets
<ide>
<del>def generate_type_decl(offset, types, init_list, module_list, extension_list):
<del> for k, atype in enumerate(types):
<del> num = offset + k
<del> as... | 1 |
Text | Text | remove scaleway info | 2ec186377eef75efafb58c56ea4ebb673e60b9fd | <ide><path>ARM.md
<ide> So for example in order to build a Docker binary one has to
<ide> 1. clone the Docker/Docker repository on an ARM device `git clone git@github.com:docker/docker.git`
<ide> 2. change into the checked out repository with `cd docker`
<ide> 3. execute `make binary` to create a Docker Engine bina... | 1 |
Go | Go | fix style of swarm test name | 073d8115871f15ad36b6ab34e2af1f8f22ec333f | <ide><path>integration-cli/docker_api_swarm_test.go
<ide> func (s *DockerSwarmSuite) TestAPISwarmServicesUpdate(c *check.C) {
<ide> map[string]int{image1: instances})
<ide> }
<ide>
<del>func (s *DockerSwarmSuite) TestApiSwarmServicesFailedUpdate(c *check.C) {
<add>func (s *DockerSwarmSuite) TestAPISwarmServicesFaile... | 1 |
Javascript | Javascript | clarify scope types and controlleras | 80a2176e2095eaf441c43c221391093631d34031 | <ide><path>src/ng/compile.js
<ide> *
<ide> * * **falsy:** No scope will be created for the directive. The directive will use its parent's scope.
<ide> *
<del> * * **`true`:** A new scope will be created for the directive's element. If multiple directives on the
<del> * same element request a new scope, only one new ... | 1 |
Java | Java | restore prior resolvetypearguments behavior | 1a3ba79071a4e0898ec8d8807ea584ef00bdc3d7 | <ide><path>spring-core/src/main/java/org/springframework/core/GenericTypeResolver.java
<ide> public static Class[] resolveTypeArguments(Class<?> clazz, Class<?> genericIfc)
<ide> if (!type.hasGenerics()) {
<ide> return null;
<ide> }
<del> return type.resolveGenerics();
<add> return type.resolveGenerics(Object.... | 4 |
Javascript | Javascript | remove unused packages from xplat/js/package.json | 894f6b3e744679769ba0f6b83bae89354f0f1914 | <ide><path>scripts/android-e2e-test.js
<ide> const wd = require('wd');
<ide> const path = require('path');
<ide> const fs = require('fs');
<ide> const pd = require('pretty-data2').pd;
<del>require('colors');
<add>
<ide> // value in ms to print out screen contents, set this value in CI to debug if tests are failing
<ide... | 1 |
Python | Python | add script to run ud test | 723b328062f02f0833234900314418abc7d372eb | <ide><path>spacy/cli/ud_run_test.py
<add>'''Train for CONLL 2017 UD treebank evaluation. Takes .conllu files, writes
<add>.conllu format for development data, allowing the official scorer to be used.
<add>'''
<add>from __future__ import unicode_literals
<add>import plac
<add>import tqdm
<add>from pathlib import Path
<a... | 1 |
PHP | PHP | use short closure | 7b17f5f32623c2ee75f2bff57a42bb8f180ac779 | <ide><path>database/factories/UserFactory.php
<ide> public function definition()
<ide> */
<ide> public function unverified()
<ide> {
<del> return $this->state(function (array $attributes) {
<del> return [
<del> 'email_verified_at' => null,
<del> ];
<del> }... | 1 |
Ruby | Ruby | add hook for add_resource_route | 17b8fd5540fd7f6e3cbfa48c0daa4051674647b7 | <ide><path>railties/lib/rails/generators.rb
<ide> module Generators
<ide> :orm => false,
<ide> :performance_tool => nil,
<ide> :resource_controller => :controller,
<add> :resource_route => true,
<ide> :scaffold_controller => :scaffold_controller,
<ide> :stylesheets => true... | 3 |
Javascript | Javascript | change var to let | dde8fd3fab1ea849984d328f129691e32a055f21 | <ide><path>lib/fs.js
<ide> if (isWindows) {
<ide> };
<ide> } else {
<ide> splitRoot = function splitRoot(str) {
<del> for (var i = 0; i < str.length; ++i) {
<add> for (let i = 0; i < str.length; ++i) {
<ide> if (str.charCodeAt(i) !== CHAR_FORWARD_SLASH)
<ide> return str.slice(0, i);
<ide> } | 1 |
Python | Python | return scalars for scalar inputs to np.real/imag | d268966200adbe0e2afdd40aa92bb83c5a931e30 | <ide><path>numpy/lib/tests/test_type_check.py
<ide> def test_real(self):
<ide> y = np.random.rand(10,)
<ide> assert_array_equal(y, np.real(y))
<ide>
<add> y = np.array(1)
<add> out = np.real(y)
<add> assert_array_equal(y, out)
<add> assert_(isinstance(out, np.ndarray))
<add>... | 2 |
Javascript | Javascript | use assert.strictequal and fix settimeout | f7a35df171f16a6e79de3343ccbebb0dd8df124e | <ide><path>test/parallel/test-domain-timers.js
<ide> var timeout;
<ide> var timeoutd = domain.create();
<ide>
<ide> timeoutd.on('error', common.mustCall(function(e) {
<del> assert.equal(e.message, 'Timeout UNREFd', 'Domain should catch timer error');
<add> assert.strictEqual(e.message, 'Timeout UNREFd',
<add> ... | 1 |
Text | Text | add changelog to active model too [ci skip] | eddcdb0f1de6e7b1b503a6df8d60cd6a145ce080 | <ide><path>activemodel/CHANGELOG.md
<add>* Introduce `validate` as an alias for `valid?`.
<add>
<add> This is more intuitive when you want to run validations but don't care about the return value.
<add>
<add> *Henrik Nyh*
<add>
<ide> Please check [4-1-stable](https://github.com/rails/rails/blob/4-1-stable/activ... | 1 |
Ruby | Ruby | add pinned version to outdated json output | 996dcdee2cacdfee90602387d5c5142d749f00de | <ide><path>Library/Homebrew/cmd/outdated.rb
<ide> def print_outdated_json(formulae)
<ide>
<ide> json << { name: f.full_name,
<ide> installed_versions: outdated_versions.collect(&:to_s),
<del> current_version: current_version }
<add> current_version: current_version,
... | 2 |
Javascript | Javascript | remove bad assertion | 1df736e2561b9e061a218529fb1b47cfc55a5d84 | <ide><path>i18n/spec/closureI18nExtractorSpec.js
<ide> describe('findLocaleId', function() {
<ide> it('should not find localeId if data is missing', function() {
<ide> expect(findLocaleId('', 'num')).toBeUndefined();
<ide> expect(findLocaleId('aa', 'datetime')).toBeUndefined();
<del> expect(findLocaleId('a... | 1 |
Ruby | Ruby | build predicatebuilder object only when needed | 2ff73039bdb6880af5586d8e4d6960b34cdf00ce | <ide><path>activerecord/lib/active_record/relation/query_methods.rb
<ide> def build_arel
<ide> def build_where(*args)
<ide> return if args.blank?
<ide>
<del> builder = PredicateBuilder.new(table.engine)
<del>
<ide> opts = args.first
<ide> case opts
<ide> when String, Array
<ide> ... | 1 |
Javascript | Javascript | increase coverage of string-decoder | 492163c74cf8ed5bf581231a348d75e61809b9a2 | <ide><path>test/parallel/test-string-decoder-end.js
<ide> const assert = require('assert');
<ide> const SD = require('string_decoder').StringDecoder;
<ide> const encodings = ['base64', 'hex', 'utf8', 'utf16le', 'ucs2'];
<ide>
<del>const bufs = [ '☃💩', 'asdf' ].map(function(b) {
<del> return Buffer.from(b);
<del>});... | 2 |
Javascript | Javascript | support texture name in gltfloader | 9dbb37e2342ce9523d1559c00244905745352f14 | <ide><path>examples/js/loaders/GLTFLoader.js
<ide> THREE.GLTFLoader = ( function () {
<ide>
<ide> _texture.flipY = false;
<ide>
<add> if ( texture.name !== undefined ) _texture.name = texture.name;
<add>
<ide> if ( texture.sampler ) {
<ide>
<ide> var sampler = json.samplers[ texture.sampl... | 1 |
PHP | PHP | list artisan | e0cf00fd1319733666d6c9c1e24468c66f6f58c7 | <ide><path>src/Illuminate/Foundation/Console/RouteListCommand.php
<ide> protected function getRouteInformation(Route $route)
<ide> 'method' => implode('|', $route->methods()),
<ide> 'uri' => $route->uri(),
<ide> 'name' => $route->getName(),
<del> 'action' => $route->g... | 1 |
Ruby | Ruby | publish bottles on bintray | 675991eb611af0a970dce6945f5b882c4343875f | <ide><path>Library/Homebrew/cmd/pull.rb
<ide> def pull
<ide> safe_system "git", "merge", "--ff-only", "--no-edit", bottle_branch
<ide> safe_system "git", "branch", "-D", bottle_branch
<ide>
<del> # TODO: publish on bintray
<del> # safe_system "curl", "-u#{user}:#{key}", "-X", "POST",
<del... | 1 |
Javascript | Javascript | make syncwritestream non-enumerable | 53a4eb319893d722cd614bacde98856b1f7c37cb | <ide><path>lib/fs.js
<ide> util.inherits(SyncWriteStream, Stream);
<ide>
<ide>
<ide> // Export
<del>fs.SyncWriteStream = SyncWriteStream;
<del>
<add>Object.defineProperty(fs, 'SyncWriteStream', {
<add> configurable: true,
<add> writable: true,
<add> value: SyncWriteStream
<add>});
<ide>
<ide> SyncWriteStrea... | 1 |
Python | Python | improve initialization for mutually textcat | d13b9373bf04133eae11873782ee992cbc048726 | <ide><path>spacy/_ml.py
<ide> def finish_update(d_X, sgd=None):
<ide>
<ide>
<ide> def _zero_init(model):
<del> def _zero_init_impl(self, X, y):
<add> def _zero_init_impl(self, *args, **kwargs):
<ide> self.W.fill(0)
<ide>
<del> model.on_data_hooks.append(_zero_init_impl)
<add> model.on_init_hooks.... | 1 |
Javascript | Javascript | stack trace for critical uglifyjs errors | 3597cdb1496bc14547b92118a76c5e168f590dca | <ide><path>lib/optimize/UglifyJsPlugin.js
<ide> UglifyJsPlugin.prototype.apply = function(compiler) {
<ide> compilation.errors.push(new Error(file + " from UglifyJs\n" + err.message + " [" + file + ":" + err.line + "," + err.col + "]"));
<ide> }
<ide> } else
<del> compilation.errors.push(new Erro... | 1 |
Python | Python | fix conv_rnn bug with cntk/theano | 510f9f0b1d97ca3567c858e0300c913a4bc2bf53 | <ide><path>keras/layers/convolutional_recurrent.py
<ide> def get_initial_state(self, inputs):
<ide> import tensorflow as tf
<ide> kernel = tf.zeros(tuple(shape))
<ide> else:
<del> K.zeros(tuple(shape))
<add> kernel = K.zeros(tuple(shape))
<ide> initial_state... | 1 |
PHP | PHP | allow string payloads for get requests | 2b6648164cdb817c775c53021387d67d229dafbf | <ide><path>src/Network/Http/Client.php
<ide> public function cookies()
<ide> * @param array $options Additional options for the request.
<ide> * @return \Cake\Network\Http\Response
<ide> */
<del> public function get($url, array $data = [], array $options = [])
<add> public function get($url, $data ... | 2 |
Python | Python | add tests for reformer tokenizer | c9454507cf57d38fd863c2544300c88583fc60e3 | <ide><path>tests/test_tokenization_reformer.py
<add># coding=utf-8
<add># Copyright 2018 The Google AI Language Team Authors.
<add>#
<add># Licensed under the Apache License, Version 2.0 (the "License");
<add># you may not use this file except in compliance with the License.
<add># You may obtain a copy of the License ... | 1 |
Go | Go | remove deprecated types | f02cdb50be3c99dcb5609efcb44c2af51e612f7a | <ide><path>api/types/volume/deprecated.go
<del>package volume // import "github.com/docker/docker/api/types/volume"
<del>
<del>// VolumeCreateBody Volume configuration
<del>//
<del>// Deprecated: use CreateOptions
<del>type VolumeCreateBody = CreateOptions
<del>
<del>// VolumeListOKBody Volume list response
<del>//
<de... | 1 |
Text | Text | add translation for titles [portuguese] | b8d0f2c82fece5427fd980b181cd1c3c12c3f00f | <ide><path>curriculum/challenges/portuguese/03-front-end-libraries/jquery/clone-an-element-using-jquery.portuguese.md
<ide> videoUrl: ''
<ide> localeTitle: Clone um elemento usando jQuery
<ide> ---
<ide>
<del>## Description
<add>## Descrição
<ide> <section id="description"> Além de mover elementos, você também pode co... | 1 |
Python | Python | add regression test for #686 | 444d665f9dd9befe00a60f3e3ead9418546bd24e | <ide><path>spacy/tests/regression/test_issue686.py
<add># coding: utf8
<add>from __future__ import unicode_literals
<add>
<add>import pytest
<add>
<add>
<add>@pytest.mark.xfail
<add>@pytest.mark.models
<add>@pytest.mark.parametrize('text', ["He is the man.", "They are the men."])
<add>def test_issue686(EN, text):
<add>... | 1 |
Text | Text | remove all-caps shouting from child_process.md | 266234bd62ff2d6f60e9127508f89641f8ada7c8 | <ide><path>doc/api/child_process.md
<ide> See also: [`child_process.exec()`][] and [`child_process.fork()`][].
<ide> ## Synchronous Process Creation
<ide>
<ide> The [`child_process.spawnSync()`][], [`child_process.execSync()`][], and
<del>[`child_process.execFileSync()`][] methods are **synchronous** and **WILL**
<add... | 1 |
Javascript | Javascript | add tests for fs/promises chown functions | a4ce449bb7b0e2f9edba75baf2a2f652a6750454 | <ide><path>test/parallel/test-fs-promises.js
<ide> const fsPromises = fs.promises;
<ide> const {
<ide> access,
<ide> chmod,
<add> chown,
<ide> copyFile,
<add> lchown,
<ide> link,
<ide> lchmod,
<ide> lstat,
<ide> function verifyStatObject(stat) {
<ide> await chmod(dest, (0o10777));
<ide> await hand... | 1 |
Text | Text | fix typo in shallow routing doc | 191d65889be4fdaedc4442ff9cf4435ee71705d9 | <ide><path>readme.md
<ide> Router.onAppUpdated = (nextUrl) => {
<ide>
<ide> Shallow routing allows you to change the URL without running `getInitialProps`. You'll receive the updated `pathname` and the `query` via the `url` prop of the same page that's loaded, without losing state.
<ide>
<del>You can do this by invok... | 1 |
Ruby | Ruby | detect uncompressed tars | 428781723b9612198b05b5fb30ce60622f363011 | <ide><path>Library/Homebrew/download_strategy.rb
<ide> def stage
<ide> when :zip
<ide> quiet_safe_system '/usr/bin/unzip', {:quiet_flag => '-qq'}, @tarball_path
<ide> chdir
<del> when :gzip, :bzip2, :compress
<add> when :gzip, :bzip2, :compress, :tar
<ide> # Assume these are also tarred
<ide... | 2 |
Java | Java | add way to override default multipartreader | e7cca7792d9281aacecb422bc51a758d67d27e6c | <ide><path>spring-web/src/main/java/org/springframework/http/codec/ServerCodecConfigurer.java
<ide> /*
<del> * Copyright 2002-2018 the original author or authors.
<add> * Copyright 2002-2019 the original author or authors.
<ide> *
<ide> * Licensed under the Apache License, Version 2.0 (the "License");
<ide> * you ma... | 3 |
Javascript | Javascript | improve readability on conditional assignment | 345ed5d1c73f38a6032c4c2b869742502da807ea | <ide><path>src/ng/parse.js
<ide> Lexer.prototype = {
<ide> string += String.fromCharCode(parseInt(hex, 16));
<ide> } else {
<ide> var rep = ESCAPE[ch];
<del> if (rep) {
<del> string += rep;
<del> } else {
<del> string += ch;
<del> }
<add> ... | 1 |
Python | Python | fix separate compilation with distutils | dd63849d8c97e7dcf963c587d91711f0dfeeea40 | <ide><path>numpy/core/setup.py
<ide> def generate_umath_c(ext,build_dir):
<ide> multiarray_deps = [
<ide> join('src', 'multiarray', 'arrayobject.h'),
<ide> join('src', 'multiarray', 'arraytypes.h'),
<add> join('src', 'multiarray', 'buffer.h'),
<ide> join('src', 'multia... | 1 |
Javascript | Javascript | allow suspending and resuming watchers on scope | 41d5c90f170cc054b0f8f88220c22ef1ef6cc0a6 | <ide><path>src/ng/rootScope.js
<ide> function $RootScopeProvider() {
<ide> this.$$watchersCount = 0;
<ide> this.$id = nextUid();
<ide> this.$$ChildScope = null;
<add> this.$$suspended = false;
<ide> }
<ide> ChildScope.prototype = parent;
<ide> return ChildScope;
<ide> function $RootSc... | 2 |
Java | Java | avoid duplicate flush when closing outputstream | eec22f5072011259bee02cd23cd6d0692f1cb187 | <ide><path>spring-web/src/main/java/org/springframework/remoting/httpinvoker/HttpInvokerServiceExporter.java
<ide> /*
<del> * Copyright 2002-2012 the original author or authors.
<add> * Copyright 2002-2016 the original author or authors.
<ide> *
<ide> * Licensed under the Apache License, Version 2.0 (the "License");
... | 1 |
Javascript | Javascript | remove self written clone non recursive | 06d8dc87199a2ac6c74e2ea6ed7703cf2fcdcb1b | <ide><path>examples/js/loaders/GLTF2Loader.js
<ide> THREE.GLTF2Loader = ( function () {
<ide> }
<ide>
<ide> //do not clone children as they will be replaced anyway
<del> var children = group.children
<del> group.children=[];
<del> var clonedgroup = group.clone();
<del> group.child... | 1 |
Ruby | Ruby | upgrade virtualenv to 16.7.4 | 22a7b4bc1e51e3fd32e9916bed25fcd45f178ff8 | <ide><path>Library/Homebrew/language/python_virtualenv_constants.rb
<ide> # frozen_string_literal: true
<ide>
<ide> PYTHON_VIRTUALENV_URL =
<del> "https://files.pythonhosted.org/packages/a9/8a" \
<del> "/580c7176f01540615c2eb3f3ab5462613b4beac4aa63410be89ecc7b7472" \
<del> "/virtualenv-16.7.2.tar.gz"
<add> "https:... | 1 |
Javascript | Javascript | fix typo in cff_parser_spec.js | 23236f1b0b9dc9883f78a44a38ce2a9964b4513d | <ide><path>test/unit/cff_parser_spec.js
<ide> describe("CFFParser", function () {
<ide> privateDict: privateDictStub,
<ide> }).charStrings;
<ide> expect(charStrings.count).toEqual(1);
<del> // shoudn't be sanitized
<add> // shouldn't be sanitized
<ide> expect(charStrings.get(0).length).toEqual(3... | 1 |
Python | Python | remove print statements from test | 3bc53905ccfd7f0c1c444766fb37070899582a20 | <ide><path>spacy/tests/doc/test_retokenize_merge.py
<ide> def test_doc_retokenize_spans_entity_merge_iob():
<ide> retokenizer.merge(doc[2:4])
<ide> retokenizer.merge(doc[4:6])
<ide> retokenizer.merge(doc[7:9])
<del> for token in doc:
<del> print(token)
<del> print(token.ent_iob)... | 1 |
Text | Text | change http to https in links | 1b0851c9b75f0d0a15427898ae49a2f67d076f81 | <ide><path>INTHEWILD.md
<ide> Currently, **officially** using Airflow:
<ide> 1. [Adobe](https://www.adobe.com/) [[@mishikaSingh](https://github.com/mishikaSingh), [@ramandumcs](https://github.com/ramandumcs), [@vardancse](https://github.com/vardancse)]
<ide> 1. [Agari](https://github.com/agaridata) [[@r39132](https://g... | 2 |
Javascript | Javascript | pass runtimetemplate to dependencytemplate | 758a388f691bba849b199964640cbab1cab8f91d | <ide><path>lib/Compilation.js
<ide> const MainTemplate = require("./MainTemplate");
<ide> const ChunkTemplate = require("./ChunkTemplate");
<ide> const HotUpdateChunkTemplate = require("./HotUpdateChunkTemplate");
<ide> const ModuleTemplate = require("./ModuleTemplate");
<add>const RuntimeTemplate = require("./RuntimeT... | 32 |
Python | Python | allow longer pod names for k8s executor / kpo | d93240696beeca7d28542d0fe0b53871b3d6612c | <ide><path>airflow/kubernetes/kubernetes_helper_functions.py
<ide> from __future__ import annotations
<ide>
<ide> import logging
<add>import secrets
<add>import string
<ide>
<ide> import pendulum
<ide> from slugify import slugify
<ide>
<ide> log = logging.getLogger(__name__)
<ide>
<add>alphanum_lower = string.ascii... | 7 |
Ruby | Ruby | start work towards making ar include-able | b2c9ce341a1c907041f55461aefebb0321280cb5 | <ide><path>activerecord/lib/active_record.rb
<ide> module ActiveRecord
<ide>
<ide> autoload :Base
<ide> autoload :Callbacks
<add> autoload :Core
<ide> autoload :CounterCache
<ide> autoload :DynamicMatchers
<ide> autoload :DynamicFinderMatch
<ide> module ActiveRecord
<ide> autoload :Integrati... | 4 |
PHP | PHP | remove obsolete attribute | 4cc5ebc340045a287a29e82f43ccd37480b4f202 | <ide><path>src/Illuminate/Http/Request.php
<ide> class Request extends SymfonyRequest implements ArrayAccess
<ide> */
<ide> protected $json;
<ide>
<del> /**
<del> * The Illuminate session store implementation.
<del> *
<del> * @var \Illuminate\Session\Store
<del> */
<del> protected $sessi... | 1 |
Java | Java | improve test coverage of rdbmsoperation | 608be54a58d4f4b94a23d37033877dfd0ce7b295 | <ide><path>spring-jdbc/src/test/java/org/springframework/jdbc/object/RdbmsOperationTests.java
<ide> import org.springframework.jdbc.core.SqlParameter;
<ide> import org.springframework.jdbc.datasource.DriverManagerDataSource;
<ide>
<add>import static java.util.Map.entry;
<ide> import static org.assertj.core.api.Asserti... | 1 |
Ruby | Ruby | run postinstall on dependencies | 1bb9c56e9c19206404e5cfcf1ff9535a13848c95 | <ide><path>Library/Homebrew/cmd/test-bot.rb
<ide> def formula(formula_name)
<ide> end
<ide>
<ide> test "brew", "fetch", "--retry", *unchanged_dependencies unless unchanged_dependencies.empty?
<del> test "brew", "fetch", "--retry", "--build-bottle", *changed_dependences unless changed_dependences.empty... | 1 |
Javascript | Javascript | avoid unneeded geometry allocations | 67d67bfcc3ce96a80d18da4f90ad7e8792402ac8 | <ide><path>src/helpers/ArrowHelper.js
<ide> import { Mesh } from '../objects/Mesh';
<ide> import { Line } from '../objects/Line';
<ide> import { Vector3 } from '../math/Vector3';
<ide>
<del>var lineGeometry = new BufferGeometry();
<del>lineGeometry.addAttribute( 'position', new Float32BufferAttribute( [ 0, 0, 0, 0, 1,... | 2 |
Text | Text | fix storage driver options in man page | 13deb4a245ce508c8eb6bbe065d0f560472c68e2 | <ide><path>man/docker-daemon.8.md
<ide> internals) to create writable containers from images. Many of these
<ide> backends use operating system level technologies and can be
<ide> configured.
<ide>
<del>Specify options to the storage backend with **--storage-opt** flags. The only
<del>backend that currently takes opt... | 1 |
Javascript | Javascript | move logic to overflow section | 83fd2870e0241cc7390d44b3d94980a8dfe7ee93 | <ide><path>src/lib/create/from-array.js
<ide> export function configFromArray (config) {
<ide> }
<ide>
<ide> //if the day of the year is set, figure out what it is
<del> if (config._dayOfYear) {
<add> if (config._dayOfYear != null) {
<ide> yearToUse = defaults(config._a[YEAR], currentDate[YEAR]);... | 5 |
Javascript | Javascript | fix performance regression | ff6656338d35f01da6e3a93b70baf54e1d669fd6 | <ide><path>lib/serialization/BinaryMiddleware.js
<ide> class BinaryMiddleware extends SerializerMiddleware {
<ide> currentBuffer = leftOverBuffer;
<ide> leftOverBuffer = null;
<ide> } else {
<del> currentBuffer = Buffer.allocUnsafeSlow(
<del> Math.max(bytesNeeded, buffersTotalLength, 16384)
<add> c... | 1 |
Text | Text | add 2.2.0-beta.3 to changelog.md | c5492eab98599172af1529e2da29075f8632722c | <ide><path>CHANGELOG.md
<ide> # Ember Changelog
<ide>
<add>### v2.3.0-beta.3 (December 19, 2015)
<add>
<add>- [#12659](https://github.com/emberjs/ember.js/pull/12659) [BUGFIX] Update HTMLBars to 0.14.7.
<add>- [#12666](https://github.com/emberjs/ember.js/pull/12666) [BUGFIX] Prevent triggering V8 memory leak bug throu... | 1 |
Text | Text | remove linking of url text to url | 0b27cb4a7c91a3ae3269f93a536b1bba170abc14 | <ide><path>doc/onboarding.md
<ide> needs to be pointed out separately during the onboarding.
<ide> ## Exercise: Make a PR adding yourself to the README
<ide>
<ide> * Example:
<del> [https://github.com/nodejs/node/commit/ce986de829457c39257cd205067602e765768fb0][]
<add> https://github.com/nodejs/node/commit/ce986de82... | 1 |
Text | Text | fix json examples in the api reference | 7296c845b739ae4133e3d02d56cb7e8df29eb020 | <ide><path>docs/reference/api/docker_remote_api_v1.17.md
<ide> Create a container
<ide> Content-Type: application/json
<ide>
<ide> {
<del> "Id":"e90e34656806"
<add> "Id":"e90e34656806",
<ide> "Warnings":[]
<ide> }
<ide>
<ide><path>docs/reference/api/docker_... | 5 |
PHP | PHP | register connectionresolverinterface as core alias | 647f59fd66999bea333554befc930c7acea1601a | <ide><path>src/Illuminate/Foundation/Application.php
<ide> public function registerCoreContainerAliases()
<ide> 'config' => [\Illuminate\Config\Repository::class, \Illuminate\Contracts\Config\Repository::class],
<ide> 'cookie' => [\Illuminate\Cookie\CookieJar::class, ... | 2 |
Ruby | Ruby | fix output location, also run pristine | 141db031933eec278ff6815226fd97de5ac6f3cc | <ide><path>Library/Homebrew/dev-cmd/vendor-gems.rb
<ide> def vendor_gems
<ide>
<ide> Homebrew.install_bundler!
<ide>
<del> ohai "cd #{HOMEBREW_LIBRARY_PATH}/vendor"
<add> ohai "cd #{HOMEBREW_LIBRARY_PATH}"
<ide> HOMEBREW_LIBRARY_PATH.cd do
<add> ohai "bundle pristine"
<add> safe_system "bundle... | 1 |
Text | Text | add link to 4.0 branch | 712eca41a187bbcfd36ede4817a378da2acd1866 | <ide><path>README.md
<ide> Want to learn more? [See the wiki.](https://github.com/mbostock/d3/wiki)
<ide>
<ide> For examples, [see the gallery](https://github.com/mbostock/d3/wiki/Gallery) and [mbostock’s bl.ocks](http://bl.ocks.org/mbostock).
<add>
<add>## D3 4.0
<add>
<add>The next major release of D3, 4.0, is comin... | 1 |
Python | Python | remove unused backcompat method in k8s hook | 3aadc44a13d0d100778792691a0341818723c51c | <ide><path>airflow/providers/cncf/kubernetes/hooks/kubernetes.py
<ide> def _get_field(self, field_name):
<ide> prefixed_name = f"extra__kubernetes__{field_name}"
<ide> return self.conn_extras.get(prefixed_name) or None
<ide>
<del> @staticmethod
<del> def _deprecation_warning_core_param(deprecatio... | 1 |
Javascript | Javascript | update output to include exit code & signal | da7d92e3f030c3054b12457f70aa4c54a7ebc82b | <ide><path>test/parallel/test-cluster-server-restart-none.js
<ide> if (cluster.isMaster) {
<ide> worker1.on('listening', common.mustCall(() => {
<ide> const worker2 = cluster.fork();
<ide> worker2.on('exit', (code, signal) => {
<del> assert.strictEqual(code, 0, 'worker2 did not exit normally');
<del> ... | 1 |
Java | Java | add jdbctestutils.deleterowsintablewhere method | 720714b43456d3216f12fa679546cf29bb4b2c65 | <ide><path>spring-test/src/main/java/org/springframework/test/jdbc/JdbcTestUtils.java
<ide> /*
<del> * Copyright 2002-2012 the original author or authors.
<add> * Copyright 2002-2013 the original author or authors.
<ide> *
<ide> * Licensed under the Apache License, Version 2.0 (the "License");
<ide> * you may not us... | 2 |
Javascript | Javascript | remove vjs-seeking on src change | 83cbeec424fc3537524621284a57b4b6c7a157b4 | <ide><path>src/js/player.js
<ide> class Player extends Component {
<ide> // TODO: Update to use `emptied` event instead. See #1277.
<ide>
<ide> this.removeClass('vjs-ended');
<add> this.removeClass('vjs-seeking');
<ide>
<ide> // reset the error state
<ide> this.error(null); | 1 |
PHP | PHP | apply fixes from styleci | 8913981ce443ed0d57518800fe407ae4be5567b7 | <ide><path>src/Illuminate/Foundation/Providers/ArtisanServiceProvider.php
<ide> use Illuminate\Foundation\Console\RouteListCommand;
<ide> use Illuminate\Foundation\Console\ViewClearCommand;
<ide> use Illuminate\Session\Console\SessionTableCommand;
<add>use Illuminate\Foundation\Console\BladeCacheCommand;
<ide> use Illu... | 1 |
Javascript | Javascript | replace buffer with fastbuffer in deserialize | 82db6729915e031814425360d2b8e7c83328697d | <ide><path>lib/v8.js
<ide> const arrayBufferViewTypeToIndex = new Map();
<ide> }
<ide> }
<ide>
<del>const bufferConstructorIndex = arrayBufferViewTypes.push(Buffer) - 1;
<add>const bufferConstructorIndex = arrayBufferViewTypes.push(FastBuffer) - 1;
<ide>
<ide> class DefaultSerializer extends Serializer {
<ide> co... | 2 |
Ruby | Ruby | describe what we are protecting | 21e5fd4a2a1c162ad33708d3e01b1fda165f204d | <ide><path>actioncable/lib/action_cable/connection/base.rb
<ide> def on_close(reason, code) # :nodoc:
<ide> send_async :handle_close
<ide> end
<ide>
<add> # TODO Change this to private once we've dropped Ruby 2.2 support.
<add> # Workaround for Ruby 2.2 "private attribute?" warning.
<ide> ... | 37 |
Python | Python | return instance from registry | 5d91eaa6dde8b054ca24b848789d5319d0e4ed17 | <ide><path>celery/decorators.py
<ide> """
<ide> from inspect import getargspec
<ide>
<add>from celery import registry
<ide> from celery.task.base import Task, PeriodicTask
<ide> from celery.utils.functional import wraps
<ide>
<ide> def run(self, *args, **kwargs):
<ide> cls_dict = dict(options, run=run,
<i... | 1 |
Text | Text | remove videos.md description | 5502e03f55a7d3f339f0ff8b3584ebf683f8e7b0 | <ide><path>docs/tutorials/videos.md
<ide> id: videos
<ide> title: 'Videos'
<ide> sidebar_label: 'Videos'
<del>description: 'The official Fundamentals tutorial for Redux: learn the fundamentals of using Redux'
<ide> hide_title: true
<ide> ---
<ide> | 1 |
Javascript | Javascript | increase timeout for testcases to 10s | 291be20a3de31a5c3cb3a39b85dc98ec04076173 | <ide><path>test/TestCases.template.js
<ide> const describeCases = config => {
<ide> return;
<ide>
<ide> function _it(title, fn) {
<del> exportedTests.push({ title, fn, timeout: 5000 });
<add> exportedTests.push({ title, fn, timeout: 10000 });
<ide> }
<ide>
<ide> ... | 1 |
Javascript | Javascript | fix indentation in uglifyjs change | 6c3cd7750cd9cd30309cbdb7f73c230c7398169a | <ide><path>lib/optimize/UglifyJsPlugin.js
<ide> UglifyJsPlugin.prototype.apply = function(compiler) {
<ide> warnings.push(warning);
<ide> };
<ide> }
<del> uglify.base54.reset();
<add> uglify.base54.reset();
<ide> var ast = uglify.parse(input, {
<ide> filename: file
<ide> }... | 1 |
Ruby | Ruby | fix rubocop warnings | b9b07fc082f72dd0c3a886735cbcffe7f7244733 | <ide><path>Library/Homebrew/cmd/search.rb
<ide> def search
<ide> puts
<ide> end
<ide> puts msg
<del> elsif count == 0
<add> elsif count.zero?
<ide> puts "No formula found for #{query.inspect}."
<ide> begin
<ide> GitHub.print_pull_requests_mat... | 1 |
Java | Java | constrain targets for @filter declaration | df7bda5637a56c6d877a82d68e76027f7055fef2 | <ide><path>org.springframework.context/src/main/java/org/springframework/context/annotation/ComponentScan.java
<ide> * Declares the type filter to be used as an {@linkplain ComponentScan#includeFilters()
<ide> * include filter} or {@linkplain ComponentScan#includeFilters() exclude filter}.
<ide> */
<del> @Retenti... | 1 |
Java | Java | copy cookies in built serverresponse | 0db317575b5eead35896530338ace74f9354574f | <ide><path>spring-webmvc/src/main/java/org/springframework/web/servlet/function/DefaultServerResponseBuilder.java
<ide> public DefaultServerResponseBuilder(ServerResponse other) {
<ide> this.statusCode = (other instanceof AbstractServerResponse ?
<ide> ((AbstractServerResponse) other).statusCode : other.statusCod... | 2 |
Python | Python | fix training with preset vectors | e93d43a43a03ed207a7d9efe5817adb0afb0ef82 | <ide><path>spacy/cli/train.py
<ide> n_iter=("number of iterations", "option", "n", int),
<ide> n_sents=("number of sentences", "option", "ns", int),
<ide> use_gpu=("Use GPU", "option", "g", int),
<del> resume=("Whether to resume training", "flag", "R", bool),
<add> vectors=("Model to load vectors from... | 1 |
Ruby | Ruby | move localpodspecpatch to dedicated file | 8fe2b591c7e073d629e95cd7b67aa1dfa96ece38 | <ide><path>scripts/cocoapods/__tests__/local_podspec_patch-test.rb
<add># Copyright (c) Meta Platforms, Inc. and affiliates.
<add>#
<add># This source code is licensed under the MIT license found in the
<add># LICENSE file in the root directory of this source tree.
<add>
<add>require "test/unit"
<add>require "json"
<ad... | 7 |
Javascript | Javascript | add a test case | 0e3795bf77066684c3e56aeb2d737cd70cbb810c | <ide><path>test/configCases/module-name/different-issuers-for-same-module/a.js
<add>module.exports = require("./c");
<ide><path>test/configCases/module-name/different-issuers-for-same-module/b.js
<add>module.exports = require("./c");
<ide><path>test/configCases/module-name/different-issuers-for-same-module/c.js
<add>mo... | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.