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
Ruby
Ruby
introduce an `all` mime type
f8ba48c150fb70ed0bcb8ff74cf2aabc81173082
<ide><path>actionpack/lib/action_dispatch/http/mime_type.rb <ide> def html? <ide> @@html_types.include?(to_sym) || @string =~ /html/ <ide> end <ide> <add> def all?; false; end <ide> <ide> private <ide> <ide> def method_missing(method, *args) <ide> def respond_to_missing?(method, include_private ...
3
Javascript
Javascript
add tests for obj.assign util
fcb5aa83833829826b81d66f80620ee98c03f863
<ide><path>test/unit/utils/obj.test.js <ide> QUnit.test('isPlain', function(assert) { <ide> 'string': 'xyz' <ide> }); <ide> }); <add> <add>QUnit.module('utils/obj.assign', function() { <add> const assignTests = ['mocked']; <add> <add> // we only run "normal" tests where Object.assign is used when <add> // Obje...
1
Text
Text
add workspace to exported class list
8b093122accc2689c6e39d55cf41dde1ce0be227
<ide><path>docs/README.md <ide> The classes available from `require 'atom'` are: <ide> * [SelectListView][SelectListView] <ide> * [View][View] <ide> * [WorkspaceView][WorkspaceView] <add> * [Workspace][Workspace] <ide> <ide> ### How do I create a package? <ide> <ide> Atom ships with node 0.11.10 and the compre...
1
Text
Text
add @meixg to collaborators
53da438ab8b5595999546b482bd3cd7be15281a9
<ide><path>README.md <ide> For information about the governance of the Node.js project, see <ide> **Akhil Marsonya** <<akhil.marsonya27@gmail.com>> (he/him) <ide> * [mcollina](https://github.com/mcollina) - <ide> **Matteo Collina** <<matteo.collina@gmail.com>> (he/him) <add>* [meixg](https://github.com/meixg) - <ad...
1
Go
Go
fix job and add tests
8344b6d7368b90c567f43e0c17d4495e2e7b12f5
<ide><path>integration-cli/docker_cli_run_test.go <ide> func TestUnPrivilegedCanMknod(t *testing.T) { <ide> logDone("run - test un-privileged can mknod") <ide> } <ide> <add>func TestCapDropCannotMknod(t *testing.T) { <add> cmd := exec.Command(dockerBinary, "run", "--cap-drop=MKNOD", "busybox", "sh", "-c", "mknod /tmp...
2
PHP
PHP
add brackets again, no passing tests without it
f09fa862dc5b1ff37fc856782141e543962ebf8e
<ide><path>src/Illuminate/Http/Request.php <ide> public function is() <ide> */ <ide> public function routeIs() <ide> { <del> if (! $route = $this->route() || ! $routeName = $route->getName()) { <add> if (! ($route = $this->route()) || ! $routeName = $route->getName()) { <ide> retu...
1
Java
Java
introduce routerfunction builder
8202052b389b47dbf3be1678f3e22291b99b8334
<ide><path>spring-webflux/src/main/java/org/springframework/web/reactive/function/server/RouterFunctionBuilder.java <add>/* <add> * Copyright 2002-2018 the original author or authors. <add> * <add> * Licensed under the Apache License, Version 2.0 (the "License"); <add> * you may not use this file except in compliance w...
3
Go
Go
fix usage for plugin commands
65ed9daf70ccf0027f4eac8049667130deb249ed
<ide><path>api/client/plugin/disable.go <ide> import ( <ide> <ide> func newDisableCommand(dockerCli *client.DockerCli) *cobra.Command { <ide> cmd := &cobra.Command{ <del> Use: "disable", <add> Use: "disable PLUGIN", <ide> Short: "Disable a plugin", <ide> Args: cli.ExactArgs(1), <ide> RunE: func(cmd *cobr...
6
Python
Python
set --cover3-package to celery
0a7f92b4b6ff5f103b1b84b1844bc79792871e9f
<ide><path>testproj/settings.py <ide> ) <ide> <ide> NOSE_ARGS = [os.path.join(here, os.pardir, "celery", "tests"), <add> "--cover3-package=celery", <ide> "--cover3-branch", <ide> "--cover3-exclude=%s" % ",".join(COVERAGE_EXCLUDE_MODULES)] <ide> TEST_DATABASE_NAME=":memory"
1
Javascript
Javascript
isolate donation views
26bb9a4e218de89325f62a1c9865c12b359f0e9f
<ide><path>client/src/client-only-routes/ShowCertification.js <ide> const ShowCertification = props => { <ide> executeGA({ <ide> type: 'event', <ide> data: { <del> category: 'Donation', <add> category: 'Donation View', <ide> action: 'Displayed Certificate Donation', <id...
4
Python
Python
make __array_priority__ = 1000
3c2603f1fe11ef6bc44de1160a7ab43325a35883
<ide><path>numpy/polynomial/polytemplate.py <ide> class $name(pu.PolyBase) : <ide> # Default window <ide> window = np.array($domain) <ide> # Don't let participate in array operations. Value doesn't matter. <del> __array_priority__ = 0 <add> __array_priority__ = 1000 <ide> <ide> def has_samecoef(s...
1
PHP
PHP
use simple strings where applicable
228e9ca1cfcfbe28f1965b8bebc66d52b1d3aeca
<ide><path>src/Console/ConsoleErrorHandler.php <ide> protected function _displayException($exception) <ide> } <ide> <ide> $message = sprintf( <del> "<error>%s</error> %s in [%s, line %s]", <add> '<error>%s</error> %s in [%s, line %s]', <ide> $errorName, <ide> ...
44
Python
Python
use log.info instead of print in setup.py's
0f7dfd7f75d339098c1bb024dfb7181c7a31411a
<ide><path>numpy/core/setup.py <ide> import os <ide> import sys <ide> from os.path import join <add>from numpy.distutils import log <ide> from distutils.dep_util import newer <ide> <ide> FUNCTIONS_TO_CHECK = [ <ide> def generate_config_h(ext, build_dir): <ide> target = join(build_dir,'config.h') <ide> ...
2
Javascript
Javascript
add remaining path benchmarks & optimize
99d9d7e716752b90e60103756875c42876d47bc4
<ide><path>benchmark/path/basename.js <add>var common = require('../common.js'); <add>var path = require('path'); <add>var v8 = require('v8'); <add> <add>var bench = common.createBenchmark(main, { <add> type: ['win32', 'posix'], <add> n: [1e6], <add>}); <add> <add>function main(conf) { <add> var n = +conf.n; <add> ...
10
Text
Text
improve debian installation instructions
cddb443da428c0b9c9f4f5910a36f478110db224
<ide><path>docs/sources/installation/debian.md <ide> To verify that everything has worked as expected: <ide> <ide> Which should download the `ubuntu` image, and then start `bash` in a container. <ide> <del>> **Note**: <add>> **Note**: <ide> > If you want to enable memory and swap accounting see <ide> > [this](/insta...
1
PHP
PHP
fix closing tag in definition list helper
65d4b2448ba43fdfa61769a770786c1c47a43780
<ide><path>laravel/html.php <ide> public static function dl($list, $attributes = array()) <ide> $html .= '<dd>'.static::entities($description).'</dd>'; <ide> } <ide> <del> return '<dl'.static::attributes($attributes).'>'.$html.'</'.$type.'>'; <add> return '<dl'.static::attributes($attributes).'>'.$html.'</dl>...
1
Text
Text
fix duplicate spaces in readme
4a864ca951aeb180cab896d6efa983c008daf1a0
<ide><path>packages/next/README.md <ide> <ide> <p align="center"> <ide> <strong> <del> Visit <a aria-label="next.js learn" href="https://nextjs.org/learn">https://nextjs.org/learn</a> to get started with Next.js. <add> Visit <a aria-label="next.js learn" href="https://nextjs.org/learn">https://nextjs.org/lear...
1
Text
Text
update devops docs
f87f3a6786e5948090cc82fdb220a518025145f5
<ide><path>docs/devops.md <ide> The dev-team merges changes from the `production-staging` branch to `production- <ide> <ide> We use Azure Pipelines and other CI software (Travis, GitHub Actions), to continiously test and deploy our applications. <ide> <add>### Triggering a build and deplyment <add> <add>Currently we ...
1
Text
Text
add information about how to learn online
d29129ba99cff0bdbdf36a08a3b7f2f6f268cd04
<ide><path>guide/english/game-development/unreal-engine/index.md <ide> Unreal has gone through 4 major revisions. Although some code is common between <ide> - Adventure Pinball: Forgotten Island <ide> <ide> <add> <ide> #### More Information: <ide> <del><a href='https://www.unrealengine.com/' target='_blank' rel='nof...
1
PHP
PHP
remove deprecated "inline" option from helpers
5df6c153102526efe5d9f827a3cab40b46b465b9
<ide><path>src/View/Helper/FormHelper.php <ide> public function postButton($title, $url, $options = array()) { <ide> * - `data` - Array with key/value to pass in input hidden <ide> * - `method` - Request method to use. Set to 'delete' to simulate HTTP/1.1 DELETE request. Defaults to 'post'. <ide> * - `confirm` - Can...
4
Text
Text
add missing `returns` in fs & util
9a18b0e668e136b75de4e7b92373193bbd50be08
<ide><path>doc/api/fs.md <ide> changes: <ide> * `start` {integer} <ide> * `end` {integer} <ide> * `highWaterMark` {integer} <add>* Returns: {stream.Readable} <ide> <ide> Returns a new [`ReadStream`][] object. (See [Readable Streams][]). <ide> <ide> changes: <ide> * `mode` {integer} <ide> * `autoClose` {bool...
2
Ruby
Ruby
convert datetime extensions to class reopens
dad8dabd31fb4808769272a4ba3380c1a9a30548
<ide><path>activesupport/lib/active_support/core_ext/date_time.rb <ide> require 'date' <ide> <add>require 'active_support/core_ext/date_time/acts_like' <ide> require 'active_support/core_ext/date_time/calculations' <add>require 'active_support/core_ext/date_time/conversions' <ide> require 'active_support/core_ext/date...
2
PHP
PHP
add empty comments to empty classes
0f4325eb7fa4b2cf5a2fd91cfb1299d64d88f09f
<ide><path>src/Illuminate/Container/BindingResolutionException.php <ide> */ <ide> class BindingResolutionException extends Exception <ide> { <add> // <ide> } <ide><path>src/Illuminate/Contracts/Bus/SelfHandling.php <ide> <ide> interface SelfHandling <ide> { <add> // <ide> } <ide><path>src/Illuminate/Contracts/C...
13
Text
Text
fix docs for oom-kill-disable
c92fb4d517281033a96fa05e0f1eadb899bfe2a3
<ide><path>docs/reference/run.md <ide> would be 2*300M, so processes can use 300M swap memory as well. <ide> We set both memory and swap memory, so the processes in the container can use <ide> 300M memory and 700M swap memory. <ide> <del>By default, Docker kills processes in a container if an out-of-memory (OOM) <add>...
1
Text
Text
add the link for the tableau blog
1e4b2dc65e9bfb96c63aea33285b34760368679b
<ide><path>guide/english/data-science-tools/tableau/index.md <ide> If you want to learn Tableau on your own, it's possible to get a free license fo <ide> ### Links: <ide> * [Tableau Website](https://www.tableau.com) <ide> * [Tableau Public Gallery](https://public.tableau.com/en-us/s/gallery) <add> * [Tableau Blog]...
1
Ruby
Ruby
collapse iteration to a map
977ae5f27d6d754a2417821ad53248f06add770b
<ide><path>Library/Homebrew/options.rb <ide> class Options <ide> include Enumerable <ide> <ide> def self.create(array) <del> options = new <del> array.each do |e| <del> case e <del> when /^--(.+)$/ <del> options << Option.new($1) <del> else <del> options << Option.new(e) <del> ...
1
Javascript
Javascript
revert temporary change
d1360a427ebe12783020cca5985537a8f27967f9
<ide><path>lib/Compilation.js <ide> class Compilation { <ide> if (typeof optionsOrPreset === "object" && optionsOrPreset !== null) { <ide> const options = Object.assign({}, optionsOrPreset); <ide> if (options.preset !== undefined) { <del> this.hooks.statsPreset <del> .for(String(options.preset)) <del> ...
1
Java
Java
add sonar support to oculus twilight android
a48b4d5df16b20a6273e97366e97a74dd978a8b2
<ide><path>ReactAndroid/src/main/java/com/facebook/react/modules/network/OkHttpClientProvider.java <ide> public static OkHttpClient createClient() { <ide> if (sFactory != null) { <ide> return sFactory.createNewNetworkModuleClient(); <ide> } <add> return createClientBuilder().build(); <add> } <ide> <a...
1
PHP
PHP
change attributes from protected to public
6eae4c982b11e37e38120bbf2d33f1fe4b2cf2de
<ide><path>laravel/paginator.php <ide> class Paginator { <ide> * <ide> * @var int <ide> */ <del> protected $page; <add> public $page; <ide> <ide> /** <ide> * The last page available for the result set. <ide> * <ide> * @var int <ide> */ <del> protected $last; <add> public $last; <ide> <ide> /** <ide> ...
1
Ruby
Ruby
fix tests and improve style
5e5c78ebef173099754d2facb0c3b0691dee9334
<ide><path>Library/Homebrew/extend/on_system.rb <ide> def setup_base_os_methods(base) <ide> base.define_method(:on_system) do |linux, macos:, &block| <ide> @on_system_blocks_exist = true <ide> <del> raise ArgumentError, "The first argument to `on_system` must be `:linux`" unless linux == :linux <add> ...
2
Text
Text
add @jasonrudolph focus
db1879a8fb03e3ea721e76f803ff83a46503ab5f
<ide><path>docs/focus/2018-05-07.md <ide> <ide> - Atom Core <ide> - Finish Atom CI experimentation <add> - Fix failing tests on Electron 2.0 upgrade branch, and start using builds from that branch in our day-to-day workflows for ad-hoc regression detection ([#17273](https://github.com/atom/atom/pull/17273)) <ide> ...
1
Python
Python
add one more test from ticket #728
3811cb8173bfd05396b231696ccbab210a43129c
<ide><path>numpy/lib/tests/test_index_tricks.py <ide> def check_mixed_type(self): <ide> g = r_[10.1, 1:10] <ide> assert(g.dtype == 'f8') <ide> <add> def check_more_mixed_type(self): <add> g = r_[-10.1, array([1]), array([2,3,4]), 10.0] <add> assert(g.dtype == 'f8') <add> <ide> def ...
1
Go
Go
add ps args to docker top
cfec1c3e1b88ceeca73144198df7a210ed3dc421
<ide><path>api.go <ide> func getContainersTop(srv *Server, version float64, w http.ResponseWriter, r *ht <ide> if vars == nil { <ide> return fmt.Errorf("Missing parameter") <ide> } <add> if err := parseForm(r); err != nil { <add> return err <add> } <ide> name := vars["name"] <del> procsStr, err := srv.ContainerTo...
5
Python
Python
prepare 1.0.3 release
8c2a573ebfef0fce5061c611bacbcae4dd5adc73
<ide><path>keras/__init__.py <ide> from __future__ import absolute_import <del>__version__ = '1.0.2' <ide> from . import backend <ide> from . import datasets <ide> from . import engine <ide> from . import objectives <ide> from . import optimizers <ide> from . import regularizers <add> <add>__version__ = '1.0.3' <ide><p...
2
Ruby
Ruby
update virtualenv to 15.2.0
7eaaaf6fa294e617969825e973d72e6a3711d403
<ide><path>Library/Homebrew/language/python_virtualenv_constants.rb <del>PYTHON_VIRTUALENV_URL = "https://files.pythonhosted.org/packages/d4/0c/9840c08189e030873387a73b90ada981885010dd9aea134d6de30cd24cb8/virtualenv-15.1.0.tar.gz".freeze <del>PYTHON_VIRTUALENV_SHA256 = "02f8102c2436bb03b3ee6dede1919d1dac8a427541652e5ec...
1
Python
Python
add snowflake support to sql operator and sensor
9c68e7cc6fc1bf7c5a9a0156a2f0cf166cf2dfbe
<ide><path>airflow/models/connection.py <ide> "jira": ("airflow.providers.jira.hooks.jira.JiraHook", "jira_conn_id"), <ide> "kubernetes": ("airflow.providers.cncf.kubernetes.hooks.kubernetes.KubernetesHook", "kubernetes_conn_id"), <ide> "mongo": ("airflow.providers.mongo.hooks.mongo.MongoHook", "conn_id"), ...
4
Go
Go
add check on docker run
0abdea90947de867719c622a51f0382bcdf592ee
<ide><path>runconfig/parse.go <ide> func parseRun(cmd *flag.FlagSet, args []string, sysInfo *sysinfo.SysInfo) (*Conf <ide> <ide> flPublish opts.ListOpts <ide> flExpose opts.ListOpts <del> flDns opts.ListOpts <add> flDns = opts.NewListOpts(opts.ValidateIpAddress) <ide> flDnsSearch = o...
1
Mixed
Python
update stop_words.py and add name in contributors
6a06a3fa6a3af267710e05ef697d70d6b41f7be3
<ide><path>.github/contributors/jaydeepborkar.md <add># spaCy contributor agreement <add> <add>This spaCy Contributor Agreement (**"SCA"**) is based on the <add>[Oracle Contributor Agreement](http://www.oracle.com/technetwork/oca-405177.pdf). <add>The SCA applies to any contribution that you make to any product or proj...
2
Text
Text
fix edge guides for active record callbacks
3820abd36d22ac133b4146c8d59c1dda847e4f91
<ide><path>guides/source/active_record_callbacks.md <ide> Halting Execution <ide> <ide> As you start registering new callbacks for your models, they will be queued for execution. This queue will include all your model's validations, the registered callbacks, and the database operation to be executed. <ide> <del>The w...
1
Go
Go
use write lock in handlenodeevent
bc465326fe8eb5df6e87c7129c55a56dc017ced5
<ide><path>libnetwork/networkdb/delegate.go <ide> func (nDB *NetworkDB) handleNodeEvent(nEvent *NodeEvent) bool { <ide> // time. <ide> nDB.networkClock.Witness(nEvent.LTime) <ide> <del> nDB.RLock() <del> defer nDB.RUnlock() <add> nDB.Lock() <add> defer nDB.Unlock() <ide> <ide> // check if the node exists <ide> n,...
1
Text
Text
add attribute article
0d5389a37090b39e3ef22f250674efe6dd67e3af
<ide><path>guide/english/csharp/attributes/index.md <add>--- <add>title: Attributes <add>--- <add> <add># Attributes <add>Attributes allow the programmer to add metadata to assemblies, types, and members. When applied to a type or member, an attribute will take the form of `[Attribute]` or `[Attribute(args)]`. When app...
1
Javascript
Javascript
remove ie8 code
0c5a455ecb33041f973e9770e8d8dc5fccfcf484
<ide><path>src/renderers/dom/shared/syntheticEvents/SyntheticUIEvent.js <ide> <ide> var SyntheticEvent = require('SyntheticEvent'); <ide> <del>var getEventTarget = require('getEventTarget'); <del> <ide> /** <ide> * @interface UIEvent <ide> * @see http://www.w3.org/TR/DOM-Level-3-Events/ <ide> */ <ide> var UIEventI...
1
PHP
PHP
test the extend system
647cca5a44ad2bd56be1969a096dbd94b18dc3c6
<ide><path>tests/Redis/RedisManagerExtensionTest.php <add><?php <add> <add>namespace Illuminate\Tests\Redis; <add> <add>use Illuminate\Contracts\Redis\Connector; <add>use Illuminate\Foundation\Application; <add>use Illuminate\Redis\RedisManager; <add>use PHPUnit\Framework\TestCase; <add> <add>class RedisManagerExtensio...
1
Javascript
Javascript
adjust validation to account for buffer.kmaxlength
3c564632fafd0400fb6123cc398d736b6dbec7e6
<ide><path>lib/buffer.js <ide> const { <ide> } = require('internal/errors'); <ide> const { <ide> validateBuffer, <del> validateInt32, <add> validateInteger, <ide> validateString <ide> } = require('internal/validators'); <add>// Provide validateInteger() but with kMaxLength as the default maximum value. <add>const...
1
Java
Java
add flatmap alias to mapmany
1d5b004d39b91d5d18980d2747a34665f11d0ee9
<ide><path>rxjava-core/src/main/java/rx/Observable.java <ide> import rx.operators.OperationConcat; <ide> import rx.operators.OperationDefer; <ide> import rx.operators.OperationDematerialize; <del>import rx.operators.OperationGroupBy; <ide> import rx.operators.OperationFilter; <ide> import rx.operators.OperationFinally;...
1
Python
Python
drop unneeded test
a98049c5de9a4ac9e93eac9798e00df9c93caf81
<ide><path>rest_framework/tests/decorators.py <ide> def _finalize_response(self, request, response, *args, **kwargs): <ide> response.request = request <ide> return APIView.finalize_response(self, request, response, *args, **kwargs) <ide> <del> def test_wrap_view(self): <del> <del> @api_view([...
1
Javascript
Javascript
fix inaccuracy in $provide.service docs
ef03dfc4a4fc32c4a5145cec4db0f97087bfa6c1
<ide><path>src/auto/injector.js <ide> function annotate(fn, strictDi, name) { <ide> * <ide> * Register a **service constructor**, which will be invoked with `new` to create the service <ide> * instance. <del> * This is short for registering a service where its provider's `$get` property is the service <del> * constr...
1
Go
Go
fix the 'but is not' typo
9c15322894152095539e41623ef33ec0ebdc6c3f
<ide><path>runtime.go <ide> func (runtime *Runtime) Register(container *Container) error { <ide> return err <ide> } <ide> if !strings.Contains(string(output), "RUNNING") { <del> utils.Debugf("Container %s was supposed to be running be is not.", container.ID) <add> utils.Debugf("Container %s was supposed to b...
1
Java
Java
enable asyncsupported flag in spring test mvc
2a15b5a89585c24203e32537b0306cff45076638
<ide><path>spring-test-mvc/src/main/java/org/springframework/test/web/servlet/request/MockAsyncContext.java <del>/* <del> * Copyright 2002-2012 the original author or authors. <del> * <del> * Licensed under the Apache License, Version 2.0 (the "License"); <del> * you may not use this file except in compliance with the ...
5
PHP
PHP
fix more fqcn docblocks
b0eb42d40ace46b71095b55af65910dc2520ddcb
<ide><path>src/Http/Server.php <ide> public function setApp(BaseApplication $app) <ide> /** <ide> * Get the current application. <ide> * <del> * @return BaseApplication The application that will be run. <add> * @return \Cake\Http\BaseApplication The application that will be run. <ide> */ <ide...
2
PHP
PHP
fix method order
cd0939d35b68db2e0661efac53a7ca3b932430a8
<ide><path>src/Illuminate/Notifications/Events/NotificationSent.php <ide> class NotificationSent <ide> */ <ide> public function __construct($notifiable, $notification, $channel) <ide> { <add> $this->channel = $channel; <ide> $this->notifiable = $notifiable; <ide> $this->notification ...
1
Javascript
Javascript
remove @eventof jsdocs tag
363fb4fc79a098da30a6431aab3c0191aba1d377
<ide><path>src/ng/directive/ngInclude.js <ide> <ide> /** <ide> * @ngdoc event <del> * @name ng.directive:ngInclude#$includeContentError <del> * @eventOf ng.directive:ngInclude <add> * @name ngInclude#$includeContentError <ide> * @eventType emit on the scope ngInclude was declared in <ide> * @description <ide> * Em...
1
Javascript
Javascript
remove arbitrary timer
f99e6988557e17624962c2bc36bebd7fa3119eec
<ide><path>test/parallel/test-dgram-send-callback-buffer-length.js <ide> const assert = require('assert'); <ide> const dgram = require('dgram'); <ide> const client = dgram.createSocket('udp4'); <ide> <del>const timer = setTimeout(function() { <del> throw new Error('Timeout'); <del>}, common.platformTimeout(200)); <de...
1
PHP
PHP
fix autoincrement reflection in sqlserver
4912fc207d0dbb739577e4ea0f6cf32e043f10c4
<ide><path>src/Database/Schema/SqlserverSchema.php <ide> public function listTablesSql($config) <ide> */ <ide> public function describeColumnSql($tableName, $config) <ide> { <del> $sql = "SELECT DISTINCT TABLE_SCHEMA AS [schema], COLUMN_NAME AS [name], DATA_TYPE AS [type], <del> IS_NULLAB...
2
Javascript
Javascript
support min and max dates on time scale
35011e5ae396d5dd68961d14ec50d8ef5f3a809e
<ide><path>src/scales/scale.time.js <ide> scaleLabelMoments.push(labelMoment); <ide> }, this); <ide> <del> this.firstTick = moment.min.call(this, scaleLabelMoments); <del> this.lastTick = moment.max.call(this, scaleLabelMoments); <add> if (this.options.time.min) { <add> this.firstTick = this.pars...
1
Python
Python
add several danish alternative spellings
0ffd27b0f64cb12bef7a4c337edfb9c4a3b03a00
<ide><path>spacy/lang/da/__init__.py <ide> from __future__ import unicode_literals <ide> <ide> from .tokenizer_exceptions import TOKENIZER_EXCEPTIONS <add>from .norm_exceptions import NORM_EXCEPTIONS <ide> from .stop_words import STOP_WORDS <ide> from .lex_attrs import LEX_ATTRS <ide> from .morph_rules import MORPH_RU...
3
Go
Go
clean unused variables and fix typo
229e735837f841dc36564d148803a015f8c6abf0
<ide><path>libnetwork/controller.go <ide> type ipamData struct { <ide> <ide> type driverTable map[string]*driverData <ide> <del>//type networkTable map[string]*network <del>//type endpointTable map[string]*endpoint <ide> type ipamTable map[string]*ipamData <ide> type sandboxTable map[string]*sandbox <ide> <ide> type...
1
Text
Text
release notes for the 0.9.8 release
56eeba0f3c5acc8667147b4534e3c17b8ffe06b5
<ide><path>CHANGELOG.md <del># <angular/> 0.9.8 astral-projection (in-progress) # <add># <angular/> 0.9.8 astral-projection (2010-12-23) # <add> <add>### Docs/Getting started <add>- angular-seed project to get you hacking on an angular apps quickly <add> https://github.com/angular/angular-seed <add> <add>### Performan...
1
Javascript
Javascript
create require.main, remove process.cat()
1020efb6f7f86e03c0d177bcd6db0acc15da4a08
<ide><path>src/node.js <ide> process.assert = function (x, msg) { <ide> if (!(x)) throw new Error(msg || "assertion error"); <ide> }; <ide> <del>process.cat = function(location, encoding) { <del> var url_re = new RegExp("^http:\/\/"); <del> if (url_re.exec(location)) { <del> throw new Error("process.cat for htt...
1
Text
Text
add multiple build guide to benchmarking doc
24388771ea6660ed53ee2f91672af7afaab334b0
<ide><path>doc/guides/writing-and-running-benchmarks.md <ide> First build two versions of Node.js, one from the master branch (here called <ide> `./node-master`) and another with the pull request applied (here called <ide> `./node-pr-5134`). <ide> <add>To run multiple compiled versions in parallel you need to copy the...
1
Java
Java
fix displaymetrics keyboardlistener dependency
4254e8a0a9a9b2cfbaed6037de360420e6c268e4
<ide><path>ReactAndroid/src/main/java/com/facebook/react/ReactInstanceManagerImpl.java <ide> <ide> import javax.annotation.Nullable; <ide> <add>import java.lang.reflect.InvocationTargetException; <add>import java.lang.reflect.Method; <ide> import java.util.ArrayList; <ide> import java.util.Collection; <ide> import ja...
11
Text
Text
guide solution for add document elements with d3
01de9ca6f66c6bc172c3a2c2233d0b73cfd7a9cb
<ide><path>guide/english/certifications/data-visualization/data-visualization-with-d3/add-document-elements-with-d3/index.md <ide> title: Add Document Elements with D3 <ide> --- <ide> ## Add Document Elements with D3 <add>![:triangular_flag_on_post:](https://forum.freecodecamp.com/images/emoji/emoji_one/triangular_flag...
1
Javascript
Javascript
remove lazy invokation of segments
fb3f63f1ab6e9ebf25ddce74a19d975ef410d4f6
<ide><path>packages/react-server/src/ReactFlightServer.js <ide> type ReactModelObject = {+[key: string]: ReactModel}; <ide> <ide> type Segment = { <ide> id: number, <del> query: () => ReactModel, <add> model: ReactModel, <ide> ping: () => void, <ide> }; <ide> <ide> export function createRequest( <ide> }, <i...
1
Javascript
Javascript
add missing semicolon in pcdloader
abf57981b7af55d82b1d415d555b5ec68d543609
<ide><path>examples/js/loaders/PCDLoader.js <ide> Object.assign( THREE.PCDLoader.prototype, THREE.EventDispatcher.prototype, { <ide> <ide> } <ide> <del> PCDheader.offset = {} <add> PCDheader.offset = {}; <ide> var sizeSum = 0; <ide> for ( var i = 0; i < PCDheader.fields.length; i ++ ) { <ide>
1
Python
Python
fix marian conversion script
f0c00d8ca90d5a954aeccfb614a9f4ebf30b92d4
<ide><path>src/transformers/models/marian/convert_marian_to_pytorch.py <ide> def __init__(self, source_dir, eos_token_id=0): <ide> self.state_dict = dict(self.state_dict) <ide> if cfg["tied-embeddings-all"]: <ide> cfg["tied-embeddings-src"] = True <add> cfg["tied-embeddings"] = Tr...
1
Ruby
Ruby
fix clear_all_connections! deprecation warning
25ae059d1653cac0e909fb014396290a22b4fa41
<ide><path>actioncable/test/subscription_adapter/postgresql_test.rb <ide> def setup <ide> def teardown <ide> super <ide> <del> ActiveRecord::Base.clear_all_connections! <add> ActiveRecord::Base.connection.clear_all_connections! <ide> end <ide> <ide> def cable_config
1
Javascript
Javascript
fix the arguments order in `assert.strictequal`
87d0aa8686be2f22af55227ff573f9b933436fd2
<ide><path>test/parallel/test-fs-read-stream-fd-leak.js <ide> function testLeak(endFn, callback) { <ide> } <ide> <ide> assert.strictEqual( <del> 0, <ide> openCount, <add> 0, <ide> `no leaked file descriptors using ${endFn}() (got ${openCount})` <ide> ); <ide>
1
Java
Java
add @nonnull to the methods of emitter
b41ac3b61c6fa5191f8ad19e03f6e5457dbcc28f
<ide><path>src/main/java/io/reactivex/Emitter.java <ide> */ <ide> package io.reactivex; <ide> <add>import io.reactivex.annotations.NonNull; <add> <ide> /** <ide> * Base interface for emitting signals in a push-fashion in various generator-like source <ide> * operators (create, generate). <ide> * Signal a norma...
1
Python
Python
reverse the type checks before `convert_to_tensor`
9854e7b534ad6c05f2fe949b7f7969a4a12eac64
<ide><path>keras/layers/preprocessing/index_lookup.py <ide> def _lookup_table_from_file(self, filename): <ide> return tf.lookup.StaticHashTable(initializer, self._default_value) <ide> <ide> def _standardize_inputs(self, inputs, dtype): <del> if isinstance(inputs, (list, tuple, np.ndarray)): <del> input...
2
Ruby
Ruby
add a skip for failing test
3844854af109fb9eee75c90bacf8bf87eb2bf968
<ide><path>actionpack/test/controller/render_test.rb <ide> def test_dynamic_render <ide> end <ide> <ide> def test_permitted_dynamic_render_file_hash <add> skip "FIXME: this test passes on 4-2-stable but not master. Why?" <ide> assert File.exist?(File.join(File.dirname(__FILE__), '../../test/abstract_unit.rb...
1
Javascript
Javascript
add initialvalues to the form
17a2bae5b92362fb0ef841f6fa220b9f69970d6f
<ide><path>client/src/components/settings/Certification.js <ide> import { projectMap, legacyProjectMap } from '../../resources/certProjectMap'; <ide> import SectionHeader from './SectionHeader'; <ide> import SolutionViewer from './SolutionViewer'; <ide> import { FullWidthRow, Spacer } from '../helpers'; <del>// import ...
1
Text
Text
add contributing.md to keras_nlp
e7ccb0b15feec540e41ff4a1a51ead14b032918c
<ide><path>official/nlp/keras_nlp/contributing.md <add>## Contributing to KerasNLP <add> <add>Patches to KerasNLP are welcome! <add> <add>The source-of-truth repository lives under <add>[TF Model Garden NLP](https://github.com/tensorflow/models/official/nlp/keras_nlp), <add>and is mirrored as a read-only repository und...
1
Go
Go
fix testbuildaddbadlinks for windows
d0dc14e5d6fe5f8ef9d4a8a8dc95fa087439a5b4
<ide><path>integration-cli/docker_cli_build_test.go <ide> import ( <ide> "path/filepath" <ide> "reflect" <ide> "regexp" <add> "runtime" <ide> "strconv" <ide> "strings" <ide> "syscall" <ide> func TestBuildAddBadLinks(t *testing.T) { <ide> } <ide> defer os.RemoveAll(tempDir) <ide> <del> symlinkTarget := fmt.Spri...
1
Mixed
PHP
add tests, update changelog, increase readability
206aae2a7a5c97a7e0af3bed8e842635504de306
<ide><path>CHANGELOG-5.5.md <ide> ### Events <ide> - ⚠️ Removed calling queue method on handlers ([0360cb1](https://github.com/laravel/framework/commit/0360cb1c6b71ec89d406517b19d1508511e98fb5), [ec96979](https://github.com/laravel/framework/commit/ec969797878f2c731034455af2397110732d14c4), [d9be4bf](https://github.com...
3
Javascript
Javascript
remove internal only error checking
4de31d517f75dd91e64f71df7cc9d2baa3e435c2
<ide><path>lib/async_hooks.js <ide> const { <ide> <ide> const { <ide> ERR_ASYNC_CALLBACK, <add> ERR_ASYNC_TYPE, <ide> ERR_INVALID_ASYNC_ID <ide> } = require('internal/errors').codes; <ide> const { validateString } = require('internal/validators'); <ide> const { <ide> emitBefore, <ide> emitAfter, <ide> emitD...
4
PHP
PHP
add http_ check
23d6a793748de8b1394c1c5b3fa155ec265f995a
<ide><path>src/Illuminate/Foundation/Testing/CrawlerTrait.php <ide> protected function transformHeadersToServerVars(array $headers) <ide> $server = []; <ide> <ide> foreach ($headers as $name => $value) { <del> $name = 'HTTP_'.strtr(strtoupper($name), '-', '_'); <add> if (!starts_w...
1
Ruby
Ruby
fix another `brew style` from #971
3ffb9a2f7cda6652f75cb0c59c6d079ab1039e94
<ide><path>Library/Homebrew/formulary.rb <ide> def initialize(name) <ide> super name, Formulary.core_path(name) <ide> end <ide> <del> def get_formula(_spec, alias_path: nil) <add> def get_formula(*) <ide> raise FormulaUnavailableError, name <ide> end <ide> end
1
Javascript
Javascript
bring bullet example up-to-date
95c3c0b87af5d59e36d9e1f1bc262db3d10c3227
<ide><path>examples/bullet/bullet.js <del>var w = 960, <del> h = 50, <del> m = [5, 40, 20, 120]; // top right bottom left <add>var innerWidth = 960, <add> innerHeight = 50, <add> margin = {top: 5, right: 40, bottom: 20, left: 120}; <ide> <ide> var chart = bulletChart() <del> .width(w - m[1] - m[3]) <del...
1
PHP
PHP
add plain mail to notifications
f28bde37648f8125f39a01e804ef42db1ee183ed
<ide><path>src/Illuminate/Notifications/Channels/MailChannel.php <ide> protected function messageBuilder($notifiable, $notification, $message) <ide> protected function buildView($message) <ide> { <ide> if ($message->view) { <del> return $message->view; <add> return [ <add> ...
6
Python
Python
replace fsgrab by psutil
e1e8a99276d5a0f17a274750fea662aa12c210ab
<ide><path>src/glances.py <ide> def add(self, item_state, item_type, item_value): <ide> <ide> class glancesGrabFs(): <ide> """ <del> Get FS stats: idem as structure http://www.i-scream.org/libstatgrab/docs/sg_get_fs_stats.3.html <add> Get FS stats <ide> """ <ide> <ide> def __init__(self): <ide> def __update__(self...
1
Go
Go
simplify task code
dd67b4794ee79a5b72be1f4cbb48b7b0829ec4ee
<ide><path>integration/config/config_test.go <ide> func TestTemplatedConfig(t *testing.T) { <ide> swarm.ServiceWithName("svc"), <ide> ) <ide> <del> var tasks []swarmtypes.Task <del> getRunningTasks := func(log poll.LogT) poll.Result { <del> tasks = swarm.GetRunningTasks(t, c, serviceID) <del> if len(tasks) > 0 { ...
1
Ruby
Ruby
remove an unnecessary use of argv.build_head?
e91f359a56f8c798a35df06ab028af85ee423ddf
<ide><path>Library/Homebrew/download_strategy.rb <ide> def _fetch <ide> <ide> class SubversionDownloadStrategy < VCSDownloadStrategy <ide> def cache_tag <del> ARGV.build_head? ? "svn-HEAD" : "svn" <add> resource.version.head? ? "svn-HEAD" : "svn" <ide> end <ide> <ide> def repo_valid?
1
Javascript
Javascript
remove async_wrap from async_hooks.js
8c46fa69036757e2b86d9bea308b66d502420c5e
<ide><path>lib/async_hooks.js <ide> const { <ide> ERR_INVALID_ARG_TYPE, <ide> ERR_INVALID_ASYNC_ID <ide> } = require('internal/errors').codes; <del>const async_wrap = process.binding('async_wrap'); <ide> const internal_async_hooks = require('internal/async_hooks'); <ide> <ide> // Get functions <ide> // For userlan...
2
Python
Python
introduce msvs 2019
317b712a52e0bb855bd18670ea8efa6c32bae032
<ide><path>tools/gyp/pylib/gyp/MSVSVersion.py <ide> def _CreateVersion(name, path, sdk_based=False): <ide> if path: <ide> path = os.path.normpath(path) <ide> versions = { <add> '2019': VisualStudioVersion('2019', <add> 'Visual Studio 2019', <add> ...
1
Javascript
Javascript
add note about indexof call throwing
6306580d84486ecfbe966c6394980f3d0727320c
<ide><path>server/boot/challenge.js <ide> module.exports = function(app) { <ide> <ide> var challengeId = String(req.user.currentChallenge.challengeId); <ide> var challengeBlock = req.user.currentChallenge.challengeBlock; <add> // TODO(berks) fix index call here <ide> var indexOfChallenge = challengeMapW...
1
Ruby
Ruby
remove hyphen from bottle_extname_rx
6ca42964cb20a321be56180df9c568c1c016e84e
<ide><path>Library/Homebrew/extend/pathname.rb <ide> class Pathname <ide> include MachO <ide> <del> BOTTLE_EXTNAME_RX = /(\.[-a-z0-9_]+\.bottle\.(\d+\.)?tar\.gz)$/ <add> BOTTLE_EXTNAME_RX = /(\.[a-z0-9_]+\.bottle\.(\d+\.)?tar\.gz)$/ <ide> <ide> def install *sources <ide> sources.each do |src|
1
Ruby
Ruby
upload packages from canonical name
1f541f7dfb5ae373acfd9831792d1e4cdd6948ea
<ide><path>Library/Homebrew/cmd/test-bot.rb <ide> def test_bot <ide> existing_bottles = {} <ide> Dir.glob("*.bottle*.tar.gz") do |filename| <ide> formula_name = bottle_filename_formula_name filename <del> formula = Formulary.factory formula_name rescue nil <del> next unless formula <ad...
1
Javascript
Javascript
add a comment
eff59f97ac63dd723b6932e7c6e2186735315401
<ide><path>src/manipulation.js <ide> var rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^> <ide> rscriptType = /^$|\/(?:java|ecma)script/i, <ide> rscriptTypeMasked = /^true\/(.*)/, <ide> rcleanScript = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g, <add> <add> // We have to close these tags t...
1
Javascript
Javascript
remove log in paperuimanager
5d500f4dbcb48dad88e96c28f34459031c54019a
<ide><path>Libraries/ReactNative/PaperUIManager.js <ide> function getViewManagerConfig(viewManagerName: string): any { <ide> viewManagerConfigs[ <ide> viewManagerName <ide> ] = NativeUIManager.getConstantsForViewManager(viewManagerName); <del> <del> if (viewManagerConfigs[viewManagerName] === u...
1
Javascript
Javascript
discourage people from using `temp` directly
336f6425da64ef209dba03e745c55791e5a7f262
<ide><path>spec/main-process/atom-application.test.js <ide> import dedent from 'dedent' <ide> import electron from 'electron' <ide> import fs from 'fs-plus' <ide> import path from 'path' <del>import temp from 'temp' <ide> import AtomApplication from '../../src/main-process/atom-application' <ide> import parseCommandLin...
1
Javascript
Javascript
add some optimizations to often used functions
977d45a3e09393efbbdd2089e6e473f11c7f514b
<ide><path>src/core/core.helpers.js <ide> <ide> //-- Basic js utility methods <ide> helpers.each = function(loopable, callback, self, reverse) { <del> var additionalArgs = Array.prototype.slice.call(arguments, 3); <ide> // Check to see if null or undefined firstly. <del> if (loopable) { <del> if (loopable.leng...
1
Javascript
Javascript
add user timing marks for scheduling profiler tool
40cddfeeb167d4964d82220142deb00f57fe197d
<ide><path>packages/react-reconciler/src/ReactFiberClassComponent.old.js <ide> import { <ide> debugRenderPhaseSideEffectsForStrictMode, <ide> disableLegacyContext, <ide> enableDebugTracing, <add> enableSchedulingProfiler, <ide> warnAboutDeprecatedLifecycles, <ide> } from 'shared/ReactFeatureFlags'; <ide> impor...
16
Python
Python
update boston housing dataset
5810f7a9c78226b604be7bc167630b617cd9f3c3
<ide><path>keras/datasets/boston_housing.py <ide> def load_data(path='boston_housing.npz', seed=113, test_split=0.2): <ide> Tuple of Numpy arrays: `(x_train, y_train), (x_test, y_test)`. <ide> """ <ide> assert 0 <= test_split < 1 <del> path = get_file(path, origin='https://s3.amazonaws.com/keras-data...
1
Javascript
Javascript
remove debug statement in appactions
e832c2ebc53c29e7c20d953311e49188ce6c9a16
<ide><path>common/app/flux/Actions.js <ide> import { Actions } from 'thundercats'; <del>import debugFactory from 'debug'; <ide> <del>const debug = debugFactory('freecc:app:actions'); <ide> <ide> export default Actions({ <ide> shouldBindMethods: true, <ide> export default Actions({ <ide> return null; <ide> ...
1
Text
Text
update the documentation
30e3775b8b209242141357bad0a69b6cc503c6f9
<ide><path>docs/api-guide/authentication.md <ide> If you're using an AJAX style API with SessionAuthentication, you'll need to mak <ide> <ide> ## OAuth2Authentication <ide> <del>This authentication uses [OAuth 2.0][rfc6749] authentication scheme. It depends on optional [`django-oauth2-provider`][django-oauth2-provide...
1
Text
Text
improve translation of spanish
bdb1376d581652090edc1943eb9e7b0357456593
<ide><path>guide/spanish/javascript/converting-strings-to-numbers/index.md <ide> localeTitle: Convertir cadenas a números <ide> --- <ide> ## Convertir cadenas a números <ide> <del>La `parseInt()` analiza un argumento de cadena y devuelve un número entero de la base especificada (la base en sistemas numéricos matemátic...
1
Python
Python
update imdb example
5d1976c46dcd8046af45dea0e38967dc90a7104c
<ide><path>examples/imdb_lstm.py <ide> <ide> - RNNs are tricky. Choice of batch size is important, <ide> choice of loss and optimizer is critical, etc. <del> Most configurations won't converge. <add> Some configurations won't converge. <ide> <del> - LSTM loss decrease during training can be quite d...
1
Text
Text
add redux-data-structures to ecosystem
3f5d726dc78dbdff26ca2b7ed46006433b6e7e3f
<ide><path>docs/introduction/Ecosystem.md <ide> On this page we will only feature a few of them that the Redux maintainers have <ide> * [redux-mock-store](https://github.com/arnaudbenard/redux-mock-store) — Mock redux store for testing your app <ide> * [redux-actions-assertions](https://github.com/dmitry-zaets/redux-ac...
1
PHP
PHP
add test coverage to new exception methods
f064e82b72dc32292fdd63b0d1da290f60164e16
<ide><path>src/View/Exception/MissingCellTemplateException.php <ide> class MissingCellTemplateException extends MissingTemplateException <ide> /** <ide> * @var string <ide> */ <del> protected $type = 'Cell view'; <add> protected $type = 'Cell template'; <ide> <ide> /** <ide> * Constructor ...
3
Javascript
Javascript
fix duplicate statement in todomvc test spec
3fb712d1f0efc9102ec1764b2847b9df90a1d7ea
<ide><path>examples/todomvc/test/components/TodoTextInput.spec.js <ide> function setup(propOverrides) { <ide> <TodoTextInput {...props} /> <ide> ) <ide> <del> let output = renderer.getRenderOutput() <del> <del> output = renderer.getRenderOutput() <add> const output = renderer.getRenderOutput() <ide> <ide> ...
1