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
use the full path to the workflow being edited
3e917f1c02c4654a135c9a740ee264b766bbc58a
<ide><path>scripts/ci/runners/sync_authors.py <ide> # <ide> # This script should replace the contents of the array with a new list of <ide> # identically formatted names, such that changes to the source of truth: <del> <ide> AUTHORS = 'https://raw.githubusercontent.com/apache/airflow-ci-infra/main/authors.toml' <ide> ...
1
Javascript
Javascript
use const instead of var
98dfcf57ec0e44390f250829fe2a4ca24fedf405
<ide><path>pdf.js <ide> var CanvasGraphics = (function() { <ide> }; <ide> } <ide> <del> var LINE_CAP_STYLES = [ "butt", "round", "square" ]; <del> var LINE_JOIN_STYLES = [ "miter", "round", "bevel" ]; <del> var NORMAL_CLIP = {}; <del> var EO_CLIP = {}; <add> const LINE_CAP_STYLES = [ "butt",...
1
Python
Python
fix conn issues
8b19d31ab53595014c0791b85663478767ad0f82
<ide><path>libcloud/compute/drivers/openstack.py <ide> def ex_create_subnet(self, name, network, cidr, ip_version=4): <ide> """ <ide> data = {'subnet': {'cidr': cidr, 'network_id': network.id, <ide> 'ip_version': ip_version, 'name': name}} <del> response = self.connecti...
1
Python
Python
add accuracy tests for fp16 umath functions
df168ac05b0bd925f858dec101ddfa1ed29ec973
<ide><path>numpy/core/tests/test_umath_accuracy.py <ide> from numpy.testing._private.utils import _glibc_older_than <ide> from numpy.core._multiarray_umath import __cpu_features__ <ide> <add>UNARY_UFUNCS = [obj for obj in np.core.umath.__dict__.values() if <add> isinstance(obj, np.ufunc)] <add>UNARY_OBJECT_UFUN...
1
Javascript
Javascript
use host header as effective servername
b0c0111b04201bf99fde0fe0616b9fdf1f33655d
<ide><path>lib/http.js <ide> Agent.prototype.addRequest = function(req, host, port, localAddress) { <ide> } <ide> if (this.sockets[name].length < this.maxSockets) { <ide> // If we are under maxSockets create a new one. <del> req.onSocket(this.createSocket(name, host, port, localAddress)); <add> req.onSock...
2
PHP
PHP
remove variable
e8dc4057c48bb2b2b7607cb4cf2b84a5e2c64db5
<ide><path>src/Illuminate/Support/Collection.php <ide> public function median($key = null) <ide> */ <ide> public function mode($key = null) <ide> { <del> $count = $this->count(); <del> <del> if ($count == 0) { <add> if ($this->count() == 0) { <ide> return; <ide> } <...
1
Text
Text
fix maintainer link
9f58edbdd5b104cff885ce4724f984c534a63c36
<ide><path>README.md <ide> This is our PGP key which is valid until May 24, 2017. <ide> ## Who Are You? <ide> Homebrew's lead maintainer is [Mike McQuaid](https://github.com/mikemcquaid). <ide> <del>Homebrew's current maintainers are [Misty De Meo](https://github.com/mistydemeo), [Andrew Janke](https://github.com/apja...
1
Text
Text
remove to_s example
30769669e388104626bfc9bd8e9680c4fcee25cc
<ide><path>guides/source/engines.md <ide> above the "Title" output inside `app/views/blorgh/articles/show.html.erb`: <ide> ```html+erb <ide> <p> <ide> <b>Author:</b> <del> <%= @article.author %> <add> <%= @article.author.name %> <ide> </p> <ide> ``` <ide> <del>By outputting `@article.author` using the `<%=` tag, t...
1
Text
Text
translate tip-15 to korean
23a5a8907726e9d0718ebde5db3ca82a645888ad
<ide><path>docs/tips/15-expose-component-functions.ko-KR.md <add>--- <add>id: expose-component-functions-ko-KR <add>title: 컴포넌트 함수 드러내기 <add>layout: tips <add>permalink: expose-component-functions-ko-KR.html <add>prev: communicate-between-components-ko-KR.html <add>next: references-to-components-ko-KR.html <add>--- <ad...
1
PHP
PHP
remove comment bloat
d197a97aac3637d90c5afaefc0f8b44553272faa
<ide><path>system/arr.php <ide> class Arr { <ide> * also be accessed using JavaScript "dot" style notation. Retrieving items nested <ide> * in multiple arrays is also supported. <ide> * <del> * <code> <del> * // Returns "taylor" <del> * $item = Arr::get(array('name' => 'taylor'), 'name', $default); <del> * ...
5
Python
Python
add dns module to setup.py
6d724b3cf283289d4c188778051399863529fe88
<ide><path>setup.py <ide> def run(self): <ide> 'libcloud.drivers', <ide> 'libcloud.loadbalancer', <ide> 'libcloud.loadbalancer.drivers', <add> 'libcloud.dns', <add> 'libcloud.dns.drivers' <ide> ], <ide> package_dir={ <ide> 'libcloud': 'libcloud',
1
Text
Text
describe labelling process for backports
b440e8e4e480e71d43eee3f1fadcf4e07886296b
<ide><path>doc/onboarding-extras.md <ide> Please use these when possible / appropriate <ide> git checkout $(git show -s --pretty='%T' $(git show-ref -d $(git describe --abbrev=0) | tail -n1 | awk '{print $1}')) -- test; make -j4 test <ide> ``` <ide> <add>### LTS/Version labels <add> <add>We use labels to keep trac...
1
Python
Python
add minmaxnorm constraint
99ee2fb09ab33f72dca627dc586ac3884ded337a
<ide><path>keras/constraints.py <ide> def get_config(self): <ide> 'axis': self.axis} <ide> <ide> <add>class MinMaxNorm(Constraint): <add> """MinMaxNorm weight constraint. <add> <add> Constrains the weights incident to each hidden unit <add> to have the norm between a lower bound and an upper ...
1
Python
Python
add example for custom intent parser
9dfca0f2f8fb53314dfe874fd327b07239669438
<ide><path>examples/training/train_intent_parser.py <add>#!/usr/bin/env python <add># coding: utf-8 <add>"""Using the parser to recognise your own semantics spaCy's parser component <add>can be used to trained to predict any type of tree structure over your input <add>text. You can also predict trees over whole documen...
1
Javascript
Javascript
add deprecation warning to listview
e90f5fa2630f8a89e15fa57c70ada83e75a20642
<ide><path>Libraries/react-native/react-native-implementation.js <ide> <ide> const invariant = require('fbjs/lib/invariant'); <ide> <add>let showedListViewDeprecation = false; <add> <ide> // Export React, plus some native additions. <ide> const ReactNative = { <ide> // Components <ide> const ReactNative = { <ide> ...
1
PHP
PHP
add scope to email logging
f1b815a9bbc9d58e09da9bab4f2110c643baa814
<ide><path>lib/Cake/Network/Email/CakeEmail.php <ide> public function send($content = null) { <ide> $contents = $this->transportClass()->send($this); <ide> if (!empty($this->_config['log'])) { <ide> $level = LOG_DEBUG; <add> $scope = 'email'; <ide> if ($this->_config['log'] !== true) { <del> $level = $th...
2
Python
Python
fix compatibility with tf 0.11
914d976801c5d2323cdc87b902a5342637e86dc7
<ide><path>keras/backend/tensorflow_backend.py <ide> def normalize_batch_in_training(x, gamma, beta, <ide> target_shape.append(1) <ide> else: <ide> target_shape.append(tf.shape(x)[axis]) <del> target_shape = tf.stack(target_shape) <add> target_shape = stack(targ...
1
Go
Go
add check about filter name for containers
8a90e8a19b8108ecdff325fc19dbdf945aa15fad
<ide><path>daemon/list.go <ide> var acceptedVolumeFilterTags = map[string]bool{ <ide> "dangling": true, <ide> } <ide> <add>var acceptedPsFilterTags = map[string]bool{ <add> "ancestor": true, <add> "before": true, <add> "exited": true, <add> "id": true, <add> "isolation": true, <add> "label": true, <...
2
Python
Python
update modelserializer mappings
313b3d7c3b8dfdb159e3570c3baade827bd6d687
<ide><path>rest_framework/serializers.py <ide> class ModelSerializer(Serializer): <ide> models.SmallIntegerField: IntegerField, <ide> models.TextField: CharField, <ide> models.TimeField: TimeField, <del> models.URLField: URLField <add> models.URLField: URLField, <add> models...
1
Text
Text
add readme in chinese
f40ed302df99f73a1059929041325e1d9d5e7f2f
<ide><path>README-zh-CN.md <add><img width="112" alt="screen shot 2016-10-25 at 2 37 27 pm" src="https://cloud.githubusercontent.com/assets/13041/19686250/971bf7f8-9ac0-11e6-975c-188defd82df1.png"> <add> <add>[![NPM version](https://img.shields.io/npm/v/next.svg)](https://www.npmjs.com/package/next) <add>[![Build Statu...
1
Java
Java
fix measurement of virtual nodes
008ad0200fd55b8351c108ecfbdd1890a7ae8ab9
<ide><path>ReactAndroid/src/main/java/com/facebook/react/flat/FlatUIImplementation.java <ide> private void measureHelper(int reactTag, boolean relativeToWindow, Callback call <ide> return; <ide> } <ide> <add> // virtual nodes do not have values for width and height, so get these values <add> // from th...
1
Mixed
Javascript
add domain postmortem
4a74fc9776d825115849997f4adacb46f4303494
<ide><path>doc/topics/domain-postmortem.md <add># Domain Module Postmortem <add> <add>## Usability Issues <add> <add>### Implicit Behavior <add> <add>It's possible for a developer to create a new domain and then simply run <add>`domain.enter()`. Which then acts as a catch-all for any exception in the <add>future that c...
2
Python
Python
fix linode tests
06a9439aeffb819c883e866950d8d4db5c238a5b
<ide><path>test/dns/test_linode.py <ide> def test_get_record_zone_does_not_exist(self): <ide> try: <ide> record = self.driver.get_record(zone_id='444', record_id='28536') <ide> except ZoneDoesNotExistError: <del> self.assertEqual(e.zone_id, '4444') <add> pass <ide> ...
1
Javascript
Javascript
update stream2 transform for corrected behavior
c2f62d496a08e9d44bea4a459c2eab7457d724ee
<ide><path>test/simple/test-stream2-transform.js <ide> test('assymetric transform (expand)', function(t) { <ide> t.equal(pt.read(5).toString(), 'uelku'); <ide> t.equal(pt.read(5).toString(), 'el'); <ide> t.end(); <del> }, 100); <add> }, 200); <ide> }); <ide> <ide> test('assymetric transform (compress)', ...
1
Python
Python
remove config side effects from tests
caa60b1141ac02cdde1c33464be9adca114c2ed5
<ide><path>airflow/models/xcom.py <ide> def serialize_value(value: Any): <ide> # "pickling" will be removed in Airflow 2.0. <ide> if conf.getboolean('core', 'enable_xcom_pickling'): <ide> return pickle.dumps(value) <del> <ide> try: <ide> return json.dumps(value).encode('U...
16
Ruby
Ruby
use opt_prefix for service helpers
869b0ea519ce1d18303d62c75a136a09a30361a8
<ide><path>Library/Homebrew/formula.rb <ide> def service_name <ide> # The generated launchd {.plist} file path. <ide> sig { returns(Pathname) } <ide> def plist_path <del> prefix/"#{plist_name}.plist" <add> opt_prefix/"#{plist_name}.plist" <ide> end <ide> <ide> # The generated systemd {.service} file pa...
3
Javascript
Javascript
add html5 elements to the whitelist
fabc9f77a3fae10c2b8d9a9ad1541e827cc0390d
<ide><path>src/sanitizer.js <ide> var START_TAG_REGEXP = /^<\s*([\w:-]+)((?:\s+[\w:-]+(?:\s*=\s*(?:(?:"[^"]*")|(?: <ide> URI_REGEXP = /^((ftp|https?):\/\/|mailto:|#)/, <ide> NON_ALPHANUMERIC_REGEXP = /([^\#-~| |!])/g; // Match everything outside of normal chars and " (quote character) <ide> <del>// Empty Elements ...
1
Text
Text
use code markup/markdown in headers
5847a4d8ce8d1731125c9f9b426d093916f6676b
<ide><path>doc/api/buffer.md <ide> for (const b of buf) { <ide> Additionally, the [`buf.values()`][], [`buf.keys()`][], and <ide> [`buf.entries()`][] methods can be used to create iterators. <ide> <del>## Class: Buffer <add>## Class: `Buffer` <ide> <ide> The `Buffer` class is a global type for dealing with binary dat...
1
Javascript
Javascript
add isobject3d unittest
a221c4a17770c4b79ba9b4055acb3e0ba4fd4f55
<ide><path>test/unit/src/core/Object3D.tests.js <ide> export default QUnit.module( 'Core', () => { <ide> } ); <ide> <ide> // PUBLIC STUFF <del> QUnit.todo( 'isObject3D', ( assert ) => { <add> QUnit.test( 'isObject3D', ( assert ) => { <ide> <del> assert.ok( false, 'everything\'s gonna be alright' ); <add> co...
1
Python
Python
fix dagrun.conf when using trigger_dag api
31cab8ffbba7fa70a524e5809361f1e1f4306e99
<ide><path>airflow/models/dagrun.py <ide> def __init__( <ide> self.execution_date = execution_date <ide> self.start_date = start_date <ide> self.external_trigger = external_trigger <del> self.conf = conf <add> self.conf = conf or {} <ide> self.state = state <ide> se...
2
PHP
PHP
revert the throw thing
88430a39968a33dbed94b87ee4fb8ae1c6879b48
<ide><path>src/Model/Behavior/TreeBehavior.php <ide> public function findChildren($query, $options) { <ide> * <ide> * @param integer|string $id The ID of the record to move <ide> * @param integer|boolean $number How many places to move the node, or true to move to first position <add> * @throws \Cake\ORM\Error\Recor...
2
Mixed
Javascript
add build option for setting the amd name
7e8a91c205723f11cd00c8834f348a649ab15926
<ide><path>README.md <ide> Some example modules that can be excluded are: <ide> - **event/alias**: All event attaching/triggering shorthands like `.click()` or `.mouseover()`. <ide> - **offset**: The `.offset()`, `.position()`, `.offsetParent()`, `.scrollLeft()`, and `.scrollTop()` methods. <ide> - **wrap**: The `.wrap...
2
Ruby
Ruby
move `assert_raise` into behavior classes
aabc27fe15de6df988c8fb9caa658e85ff65a068
<ide><path>activesupport/test/cache/behaviors/failure_raising_behavior.rb <ide> module FailureRaisingBehavior <ide> def test_fetch_read_failure_raises <ide> @cache.write("foo", "bar") <ide> <del> emulating_unavailability do |cache| <del> cache.fetch("foo") <add> assert_raise Redis::BaseError do <add> ...
2
Ruby
Ruby
allow "press enter" to be a \r
dfa75f9230f75060a693add842fcdc5648398c69
<ide><path>install_homebrew.rb <ide> def macos_version <ide> if STDIN.tty? <ide> puts <ide> puts "Press enter to continue" <del> abort unless getc == 13 <add> c = getc <add> # we test for \r and \n because some stuff does \r instead <add> abort unless c == 13 or c == 10 <ide> end <ide> <ide> if File.directory?...
1
Javascript
Javascript
increase coverage of process.emitwarning
9e698bd6db036e7eaf8f9aa47c9b90cd721818f5
<ide><path>test/parallel/test-process-emitwarning.js <ide> process.on('warning', common.mustCall((warning) => { <ide> assert(warning); <ide> assert(/^(Warning|CustomWarning)/.test(warning.name)); <ide> assert(warning.message, 'A Warning'); <del>}, 3)); <add>}, 7)); <ide> <ide> process.emitWarning('A Warning'); <...
1
Ruby
Ruby
remove the global router
226dfc2681c98deaf14e4ae82e973d1d5caedd68
<ide><path>actionpack/lib/action_controller.rb <ide> module ActionController <ide> autoload :SessionManagement <ide> autoload :Streaming <ide> autoload :Testing <del> autoload :UrlFor <add> # ROUTES TODO: Proxy UrlFor to Rails.application.routes.url_helpers <ide> autoload :Verification <ide> end...
26
Text
Text
add faq entry on pre-trained models
52ea31b65c09ec3370522956419f42e7507495c2
<ide><path>docs/templates/getting-started/faq.md <ide> - [How can I "freeze" layers?](#how-can-i-freeze-keras-layers) <ide> - [How can I use stateful RNNs?](#how-can-i-use-stateful-rnns) <ide> - [How can I remove a layer from a Sequential model?](#how-can-i-remove-a-layer-from-a-sequential-model) <add>- [How can I use ...
1
Python
Python
add a note, remove bad comment line
9734f6935aec8766b05155bd02c41239f5dee72a
<ide><path>libcloud/__init__.py <ide> :var __version__: Current version of libcloud <ide> """ <ide> <del>import logging <ide> import os <ide> import codecs <ide> import atexit <ide> from libcloud.base import get_driver # NOQA <ide> <ide> try: <add> # TODO: This import is slow and adds overhead in situations when ...
2
Javascript
Javascript
extract common code to function
d9ca2459172a3ad62f0a19b8b1306d739c4b75b7
<ide><path>src/auto/injector.js <ide> var FN_ARG = /^\s*(_?)(\S+?)\1\s*$/; <ide> var STRIP_COMMENTS = /((\/\/.*$)|(\/\*[\s\S]*?\*\/))/mg; <ide> var $injectorMinErr = minErr('$injector'); <ide> <add>function extractArgs(fn) { <add> var fnText = fn.toString().replace(STRIP_COMMENTS, ''), <add> args = fnText.match(...
1
Ruby
Ruby
fix minor typo in rails/engine docs [ci skip]
af8751fcf80cdce31744a05a2bbd148e3194346f
<ide><path>railties/lib/rails/engine.rb <ide> module Rails <ide> # resources :articles <ide> # end <ide> # <del> # If +MyEngine+ is isolated, The routes above will point to <add> # If +MyEngine+ is isolated, the routes above will point to <ide> # <tt>MyEngine::ArticlesController</tt>. You also don't nee...
1
Text
Text
fix syntax error in docs
974ff00464d7743182f842a2c7786c334b9ca82c
<ide><path>docs/00-Getting-Started.md <ide> var img = new Image(); <ide> img.src = 'https://example.com/my_image.png'; <ide> img.onload = function() { <ide> var ctx = document.getElementById('canvas').getContext('2d'); <del> var fillPattern = ctx.CreatePattern(img, 'repeat'); <add> var fillPattern = ctx.creat...
1
Python
Python
optimize error messages on docker driver init
ff0d2e550fff45abbd30e5913cdaab79450097d3
<ide><path>libcloud/container/drivers/docker.py <ide> def __init__(self, key='', secret='', secure=False, host='localhost', <ide> else: <ide> self.key_file = key_file <ide> self.cert_file = cert_file <del> super(DockerContainerDriver, self).__init__(key=key, <del> ...
1
Javascript
Javascript
freeze reactelement.props in dev mode
95373ce769188aacd25c6485bc2c628ff02a856f
<ide><path>src/isomorphic/classic/element/ReactElement.js <ide> var ReactCurrentOwner = require('ReactCurrentOwner'); <ide> <ide> var assign = require('Object.assign'); <del>var warning = require('warning'); <ide> <ide> var RESERVED_PROPS = { <ide> key: true, <ide> ref: true, <ide> }; <ide> <del>/** <del> * Warn...
8
Ruby
Ruby
use tt in doc for actionpack [ci skip]
8c5ab21b25faa991de40fd7937387e20f0770d4b
<ide><path>actionpack/lib/action_controller/metal/request_forgery_protection.rb <ide> class InvalidCrossOriginRequest < ActionControllerError #:nodoc: <ide> # Since HTML and JavaScript requests are typically made from the browser, we <ide> # need to ensure to verify request authenticity for the web browser. We can ...
8
Javascript
Javascript
replace loaders with rules in test
25fe5209693f98c7c2b720a94e4dea0550974145
<ide><path>test/TestCases.test.js <ide> describe("TestCases", () => { <ide> extensions: [".webpack-loader.js", ".web-loader.js", ".loader.js", ".js"] <ide> }, <ide> module: { <del> loaders: [{ <add> rules: [{ <ide> test: /\.coffee$/, <ide> loader: "coffee-loa...
1
Text
Text
remove outdated rule on single quotes in docs
42474f38690030f9c853f5ac1aa4959349d7ff15
<ide><path>CONTRIBUTING.md <ide> npm run test:watch <ide> <ide> ### Docs <ide> <del>Improvements to the documentation are always welcome. In the docs we abide by typographic rules, so instead of ' you should use '. Same goes for “ ” and dashes (—) where appropriate. These rules only apply to the text, not to code blo...
1
Javascript
Javascript
fix touchhistorymath import
554243eb567cc587ce50a3f2224bbf42b931c9b4
<ide><path>Libraries/Interaction/PanResponder.js <ide> 'use strict'; <ide> <ide> const InteractionManager = require('./InteractionManager'); <del>const TouchHistoryMath = require('TouchHistoryMath'); <add>const TouchHistoryMath = require('./TouchHistoryMath'); <ide> <ide> const currentCentroidXOfTouchesChangedAfter =...
1
Ruby
Ruby
fix rubocop warnings
501774e3bc73d5dd367054b954893d9561bf00d2
<ide><path>Library/Homebrew/test/test_os_mac_language.rb <ide> <ide> class OSMacLanguageTests < Homebrew::TestCase <ide> def test_language_format <del> assert_match %r{\A[a-z]{2}(-[A-Z]{2})?\Z}, OS::Mac.language <add> assert_match(/\A[a-z]{2}(-[A-Z]{2})?\Z/, OS::Mac.language) <ide> end <ide> end
1
Javascript
Javascript
allow optionalmemberexpression in deps
7992ca10df497002e0e91bb5bfbc9661c9c85b88
<ide><path>packages/eslint-plugin-react-hooks/__tests__/ESLintRuleExhaustiveDeps-test.js <ide> const tests = { <ide> }, <ide> ], <ide> }, <add> { <add> code: normalizeIndent` <add> function MyComponent({ history }) { <add> useEffect(() => { <add> return [ <add> ...
2
PHP
PHP
fix return type of model update()
4495d0cfb8632e3c59d0a80a8da03595b4dfb3ab
<ide><path>src/Illuminate/Database/Eloquent/Model.php <ide> protected function incrementOrDecrementAttributeValue($column, $amount, $method) <ide> * <ide> * @param array $attributes <ide> * @param array $options <del> * @return bool|int <add> * @return bool <ide> */ <ide> public func...
1
Python
Python
update caesar_cipher.py (#702)
ad68eed73e2cf39ee347e36a4e0fdf54310bd79a
<ide><path>ciphers/caesar_cipher.py <ide> def main(): <ide> print("4.Quit") <ide> choice = input("What would you like to do?: ") <ide> if choice not in ['1', '2', '3', '4']: <del> print ("Invalid choice") <add> print ("Invalid choice, please enter a valid choice") <ide> ...
1
Javascript
Javascript
add a test for this.render('template')
6e6668a7acd93ccea5ccc7d87fe22414effa42c0
<ide><path>packages/ember/tests/routing/basic_test.js <ide> test("The Homepage with explicit template name in renderTemplate", function() { <ide> equal(Ember.$('h3:contains(Megatroll)', '#qunit-fixture').length, 1, "The homepage template was rendered"); <ide> }); <ide> <add>test("An alternate template will pull in a...
1
Text
Text
add changelog entry for yaml parsing removal
ec53106068ad7950dc005739b2132f2392c3517b
<ide><path>activerecord/CHANGELOG.md <ide> ## Rails 4.0.0 (unreleased) ## <ide> <add>* Remove support for parsing YAML parameters from request. <add> <add> *Aaron Patterson* <add> <ide> * Support for PostgreSQL's `ltree` data type. <ide> <ide> *Rob Worley* <ide> <del>* Fix undefined method `to_i` when c...
1
Python
Python
fix ineffective no_decay bug
6c4789e4e86012a5678335e5eae47ac0687e6b2f
<ide><path>examples/run_classifier.py <ide> def main(): <ide> param_optimizer = list(model.named_parameters()) <ide> no_decay = ['bias', 'gamma', 'beta'] <ide> optimizer_grouped_parameters = [ <del> {'params': [p for n, p in param_optimizer if n not in no_decay], 'weight_decay_rate': 0.01}, <del>...
1
Text
Text
fix stability text for n-api
3706c65500008a8f762317ceb956477c0c2e39e2
<ide><path>doc/api/addons.md <ide> illustration of how it can be used. <ide> <ide> ## N-API <ide> <del>> Stability: 1 - Experimental <add>> Stability: 2 - Stable <ide> <ide> N-API is an API for building native Addons. It is independent from <ide> the underlying JavaScript runtime (e.g. V8) and is maintained as part ...
1
Text
Text
add v4.9.0-beta.4 to changelog
792ca6cc82e28214228a27419d1f9caf370e352b
<ide><path>CHANGELOG.md <ide> # Ember Changelog <ide> <add>### v4.9.0-beta.4 (November 15, 2022) <add> <add>- [#20256](https://github.com/emberjs/ember.js/pull/20256) [BUGFIX] Correct types for Ember Arrays <add>- [#20257](https://github.com/emberjs/ember.js/pull/20257) [BUGFIX] Fix types for `getOwner` and GlimmerCom...
1
Text
Text
use kbd element in tty doc
8a3808dc378219d39b0bf9693f0e640d390e51fb
<ide><path>doc/api/tty.md <ide> Allows configuration of `tty.ReadStream` so that it operates as a raw device. <ide> When in raw mode, input is always available character-by-character, not <ide> including modifiers. Additionally, all special processing of characters by the <ide> terminal is disabled, including echoing i...
1
PHP
PHP
skip flaky test when no results come back
418cdc45c16944321306882a89999f9234962b7d
<ide><path>tests/TestCase/ORM/QueryRegressionTest.php <ide> public function testDeepBelongsToManySubqueryStrategy() <ide> ]); <ide> <ide> $result = $table->find()->contain(['Articles.Tags'])->toArray(); <add> $this->skipIf(count($result) == 0, 'No results, this test sometimes acts up on PHP 5.6'...
1
Go
Go
fix some revision about log output
adfd1ddfc6e094295d07ff2b36fb6e91cf7878dd
<ide><path>daemon/graphdriver/devmapper/deviceset.go <ide> func (devices *DeviceSet) initDevmapper(doInit bool) error { <ide> } <ide> <ide> func (devices *DeviceSet) AddDevice(hash, baseHash string) error { <del> log.Debugf("[deviceset] AddDevice() hash=%s basehash=%s", hash, baseHash) <add> log.Debugf("[deviceset] Ad...
1
Javascript
Javascript
fix comment typo
ee73183dc953fe736a59b981d66c2babc08f3d69
<ide><path>src/menu-sort-helpers.js <ide> function indexOfGroupContainingCommand (groups, command, ignoreGroup) { <ide> } <ide> <ide> // Sort nodes topologically using a depth-first approach. Encountered cycles <del>// and broken. <add>// are broken. <ide> function sortTopologically (originalOrder, edgesById) { <ide> ...
1
Go
Go
add compress option for 'jsonfiles' log driver
f69f09f44ce9fedbc9d70f11980c1fc8d7f77cec
<ide><path>daemon/logger/jsonfilelog/jsonfilelog.go <ide> func New(info logger.Info) (logger.Logger, error) { <ide> if err != nil { <ide> return nil, err <ide> } <add> if capval <= 0 { <add> return nil, fmt.Errorf("max-size should be a positive numbler") <add> } <ide> } <ide> var maxFiles = 1 <ide> if max...
3
PHP
PHP
update controller alias
73f37c6ce004a6da53711573365c3e8be555019e
<ide><path>app/config/app.php <ide> 'Cache' => 'Illuminate\Support\Facades\Cache', <ide> 'ClassLoader' => 'Illuminate\Support\ClassLoader', <ide> 'Config' => 'Illuminate\Support\Facades\Config', <del> 'Controller' => 'Illuminate\Routing\Controllers\Controller', <add> 'Controller' ...
1
Text
Text
show images in readme.md by removing html tags
0d4c7748124a152aa92fc0f30d9707000291db95
<ide><path>resnet/README.md <ide> https://arxiv.org/pdf/1605.07146v1.pdf <ide> <ide> <b>Results:</b> <ide> <del><left> <del>![Precisions](g3doc/cifar_resnet.gif) <del></left> <del><left> <del>![Precisions Legends](g3doc/cifar_resnet_legends.gif) <del></left> <add> <add>![Precisions](g3doc/cifar_resnet.gif) ![Precisio...
1
Text
Text
add link to preview the new clas
683ceb8ff067ac53a7cb464ba1ec3f88e353e3f5
<ide><path>CONTRIBUTING.md <ide> Note: This is the code development repository for *jQuery Core* only. Before ope <ide> <ide> We're always looking for help [identifying bugs](#how-to-report-bugs), writing and reducing test cases, and improving documentation. And although new features are rare, anything passing our [gu...
1
Java
Java
move routerfunction webhandler to inner class
edd86e5dd556429f69f2098676867d77b7044116
<ide><path>spring-webflux/src/main/java/org/springframework/web/reactive/function/server/RouterFunctions.java <ide> public abstract class RouterFunctions { <ide> RouterFunctions.class.getName() + ".matchingPattern"; <ide> <ide> <del> private static final HandlerFunction<ServerResponse> NOT_FOUND_HANDLER = <del> ...
1
Python
Python
return pidlockfile if the lock is stale
fa0fb625f233bbc475a72abb85670c817e8ad758
<ide><path>celery/bin/celeryd.py <ide> def acquire_pidlock(pidfile): <ide> if exc.errno == errno.ESRCH: <ide> sys.stderr.write("Stale pidfile exists. Removing it.\n") <ide> pidlock.release() <del> return <add> return PIDLockFile(pidfile) <ide> else: <ide> ...
1
Ruby
Ruby
add signature for bottle dsl
88a8def34cf617f20ef84c6191a9dbfc7b8790d6
<ide><path>Library/Homebrew/formula.rb <ide> def stage(interactive: false, debug_symbols: false) <ide> # The methods below define the formula DSL. <ide> class << self <ide> extend Predicable <add> extend T::Sig <ide> include BuildEnvironment::DSL <ide> include OnSystem::MacOSAndLinux <ide> <ide> def...
1
Go
Go
use sequential file access
c98e77c77c5b43bf50e8ae5296b02ce0b47ea188
<ide><path>cli/command/utils.go <ide> package command <ide> import ( <ide> "fmt" <ide> "io" <del> "io/ioutil" <ide> "os" <ide> "path/filepath" <ide> "runtime" <ide> "strings" <add> <add> "github.com/docker/docker/pkg/system" <ide> ) <ide> <ide> // CopyToFile writes the content of the reader to the specified file...
4
Javascript
Javascript
reuse program when not changed
a9e0b9de16960b04389bec9ee64c105d80d0e9c2
<ide><path>src/renderers/WebGLRenderer.js <ide> THREE.WebGLRenderer = function ( parameters ) { <ide> <ide> function initMaterial( material, lights, fog, object ) { <ide> <del> material.addEventListener( 'dispose', onMaterialDispose ); <del> <ide> var shaderID = shaderIDs[ material.type ]; <ide> <del> if ( shad...
1
PHP
PHP
fix extra parameters to action method
cc0bd4d8c8f86d4fb841d02d3a7a2106c4f037f9
<ide><path>src/Illuminate/Routing/UrlGenerator.php <ide> protected function toRoute($route, $parameters) <ide> <ide> $path = preg_replace_sub('/\{.*?\}/', $parameters, $route->uri()); <ide> <del> return $this->trimUrl($this->getRouteRoot($route, $domain), $path); <add> $query = count($parameters) > 0 ? '?'.http_b...
2
Javascript
Javascript
run gc and dump stats if --expose-gc is set
4e84dfa6830336131a63993dcf2119b3edcb0f37
<ide><path>benchmark/http_simple_auto.js <ide> server.listen(port, function () { <ide> cp.stderr.pipe(process.stderr); <ide> cp.on('exit', function() { <ide> server.close(); <add> process.nextTick(dump_mm_stats); <ide> }); <ide> }); <add> <add>function dump_mm_stats() { <add> if (typeof gc != 'function') ...
1
Javascript
Javascript
add duration.add() and duration.subtract() methods
e9e6c4201768446406984613ca19d39c376007fc
<ide><path>moment.js <ide> return this.lang().postformat(output); <ide> }, <ide> <add> add : function (input, val) { <add> // supports only 2.0-style add(1, 's') or add(moment) <add> var dur = moment.duration(input, val); <add> <add> this._milliseconds += dur...
1
Javascript
Javascript
correct @ngdoc annotations for methods of $q
9da8d63ef43d5b8e90a3b390c6449878fa2f92ea
<ide><path>src/ng/q.js <ide> function qFactory(nextTick, exceptionHandler) { <ide> } <ide> <ide> /** <del> * @ngdoc <add> * @ngdoc method <ide> * @name ng.$q#defer <del> * @methodOf ng.$q <add> * @kind function <add> * <ide> * @description <ide> * Creates a `Deferred` object which represents a t...
1
Text
Text
fix incorrect markdown rendering
4a698c9c43804df1d6096e09ff682477efae3431
<ide><path>docs/extend/plugin_api.md <ide> Responds with a list of Docker subsystems which this plugin implements. <ide> After activation, the plugin will then be sent events from this subsystem. <ide> <ide> Possible values are: <del> - [`authz`](plugins_authorization.md) <del> - [`NetworkDriver`](plugins_network.md) ...
1
Text
Text
make less facebooky
ed98f2ca571fbf738d5ac9db2a3494a5b0d940b5
<ide><path>docs/docs/refactor/01-motivation.md <ide> React is all about building reusable components. In fact, with React the *only* <ide> <ide> ## Give it five minutes <ide> <del>React challenges a lot of conventional wisdom, and at first glance some of the ideas may seem crazy. We ask that you [give it five minutes...
1
Mixed
Javascript
add rectrounded point style
97f6c8f12d75981ace1df5662f544f0758653170
<ide><path>docs/03-Line-Chart.md <ide> pointHitRadius | `Number or Array<Number>` | The pixel size of the non-displayed <ide> pointHoverBackgroundColor | `Color or Array<Color>` | Point background color when hovered <ide> pointHoverBorderColor | `Color or Array<Color>` | Point border color when hovered <ide> pointHover...
4
Ruby
Ruby
remove bintray.version method
71c7781ecd673722b1fe8a9547cb57e9e6fb55a5
<ide><path>Library/Homebrew/bottles.rb <ide> def self.repository(tap=nil) <ide> return "bottles" if tap.to_s.empty? <ide> "bottles-#{tap.sub(/^homebrew\/(homebrew-)?/i, "")}" <ide> end <del> <del> def self.version(path) <del> BottleVersion.parse(path).to_s <del> end <ide> end <ide> <ide> class BottleCol...
1
Go
Go
fix the usage for `service rm` command
cf61cd3a920809f6a0be44a584f365544acaf1a9
<ide><path>api/client/service/remove.go <ide> import ( <ide> func newRemoveCommand(dockerCli *client.DockerCli) *cobra.Command { <ide> <ide> cmd := &cobra.Command{ <del> Use: "rm [OPTIONS] SERVICE", <add> Use: "rm [OPTIONS] SERVICE [SERVICE...]", <ide> Aliases: []string{"remove"}, <ide> Short: "Remove...
1
Text
Text
update changelog for 2.11.2
75285e141cdf034bd270fc7973f6c93248531662
<ide><path>CHANGELOG.md <ide> Changelog <ide> ========= <ide> <add>### 2.11.2 (Fix ReDoS attack vector) <add> <add>* [#2939](https://github.com/moment/moment/pull/2939) use full-string match to speed up aspnet regex match <add> <ide> ### 2.11.1 [See full changelog](https://gist.github.com/ichernev/8ec3ee25b749b4cff3c2...
1
Python
Python
maximize fmeasure as well when mode==auto
f6b804263a6e1d3ce6d2131cb9d758e1d7e57888
<ide><path>keras/callbacks.py <ide> def __init__(self, filepath, monitor='val_loss', verbose=0, <ide> self.monitor_op = np.greater <ide> self.best = -np.Inf <ide> else: <del> if 'acc' in self.monitor: <add> if self.monitor.startswith(('acc', 'fmeasure')): <ide> ...
1
Python
Python
improve output handling in evaluate
42eb381ec6107b68e7683d5d0244358b54a15aca
<ide><path>spacy/cli/evaluate.py <ide> from timeit import default_timer as timer <ide> from wasabi import Printer <ide> from pathlib import Path <add>import re <add>import srsly <ide> <ide> from ..gold import Corpus <ide> from ..tokens import Doc <ide> def evaluate_cli( <ide> # fmt: off <ide> model: str = Arg(...
1
Java
Java
remove timeout on tests
9b3a838c02b433ed8fbed014a5565fcb5b800891
<ide><path>rxjava-core/src/test/java/rx/schedulers/AbstractSchedulerConcurrencyTests.java <ide> public Subscription call(Scheduler innerScheduler, Long i) { <ide> assertEquals(10, counter.get()); <ide> } <ide> <del> @Test(timeout = 20000) <add> @Test <ide> public void recursionUsingFunc2() throws...
1
Python
Python
add ipv6 support
44b27d9787e123e124c0984602273bc6ab64b933
<ide><path>glances/glances.py <ide> def update(self, stats): <ide> self.__cvsfile_fd.flush() <ide> <ide> <del>class GlancesHandler(SimpleXMLRPCRequestHandler): <add>class GlancesXMLRPCHandler(SimpleXMLRPCRequestHandler): <ide> """ <ide> Main XMLRPC handler <ide> """ <ide> def log_message(self, for...
1
Javascript
Javascript
remove redundant helper and guide code from header
67d49efd1ee825bb5afa090a52ee4ac69f5ff265
<ide><path>client/src/components/Header/index.js <ide> import { Link } from '../helpers'; <ide> import './header.css'; <ide> <ide> const propTypes = { <del> disableSettings: PropTypes.bool, <del> navigationMenu: PropTypes.element <add> disableSettings: PropTypes.bool <ide> }; <ide> <ide> function Header(props) { <...
3
Javascript
Javascript
add unstable args test
0f6afed29de363bfe755dd229e6ce43d7aed1051
<ide><path>packages/@ember/-internals/glimmer/tests/integration/components/tracked-test.js <del>import { EMBER_METAL_TRACKED_PROPERTIES } from '@ember/canary-features'; <ide> import { Object as EmberObject, A } from '@ember/-internals/runtime'; <add>import { <add> EMBER_CUSTOM_COMPONENT_ARG_PROXY, <add> EMBER_METAL_T...
1
Javascript
Javascript
add support for regex in yellowbox warnings
50fc666aad1e83d5728b09646c3a5fbbecaddfb9
<ide><path>Libraries/YellowBox/Data/YellowBoxRegistry.js <ide> export type Registry = Map<Category, $ReadOnlyArray<YellowBoxWarning>>; <ide> <ide> export type Observer = (registry: Registry) => void; <ide> <add>type IgnorePattern = string | RegExp; <add> <ide> export type Subscription = $ReadOnly<{| <ide> unsubscri...
2
PHP
PHP
write the compiled file to the storage directory
3812a6f80ef79bc87a5b42d5c0728333bb5085ba
<ide><path>src/Illuminate/Foundation/Console/ClearCompiledCommand.php <ide> class ClearCompiledCommand extends Command { <ide> */ <ide> public function fire() <ide> { <del> if (file_exists($path = $this->laravel['path.base'].'/bootstrap/compiled.php')) <add> if (file_exists($path = $this->laravel['path.storage']....
2
Javascript
Javascript
add version to glslang
ca306c07511a63a257d07f505e6a0a7ef4dbc5a6
<ide><path>examples/jsm/libs/glslang.js <del> <add>// 0.0.15 <ide> var Module = (function() { <ide> var _scriptDir = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : undefined; <del> <add> <ide> return ( <ide> function(Module) { <ide> Module = Module || {};
1
Text
Text
fix navigation links in documentation
2f2c3ea2547c9a76a0452c1a75d7514032ff2dee
<ide><path>docs/ComponentsAndAPIs.md <ide> --- <del>id: components <add>id: components-and-apis <ide> title: Components and APIs <ide> layout: docs <ide> category: Guides <ide><path>docs/MoreResources.md <ide> title: More Resources <ide> layout: docs <ide> category: The Basics <ide> permalink: docs/more-resources.html ...
3
Javascript
Javascript
upgrade flow definition in rn + metro
f8b4850425f115c8a23dead7ec0716b61663aed6
<ide><path>flow/jest.js <ide> * This source code is licensed under the MIT license found in the <ide> * LICENSE file in the root directory of this source tree. <ide> * <del> * Modified from https://raw.githubusercontent.com/flowtype/flow-typed/e3b0f3034929e0f0fb85c790450a201b380ac2fd/definitions/npm/jest_v17.x.x/flo...
1
Text
Text
add v3.3.0 to changelog
d08990a3045367d4be73729899c6c8016c92167b
<ide><path>CHANGELOG.md <ide> # Ember Changelog <ide> <del>### v3.3.0-beta.5 (July 2, 2018) <del>- [#16781](https://github.com/emberjs/ember.js/pull/16781) [BUGFIX] Ensure tests from @ember/* are excluded from debug/prod builds. <del> <del>### v3.3.0-beta.4 (June 25, 2018) <del>- [#16754](https://github.com/emberjs/em...
1
Python
Python
fix timeout of test-heap-prof.js in riscv devices
186745bc0d32b81aca658503318b2b2d7a5cca45
<ide><path>tools/test.py <ide> def GetTestStatus(self, context, sections, defs): <ide> <ide> <ide> TIMEOUT_SCALEFACTOR = { <del> 'arm' : { 'debug' : 8, 'release' : 3 }, # The ARM buildbots are slow. <del> 'ia32' : { 'debug' : 4, 'release' : 1 }, <del> 'ppc' : { 'debug' : 4, 'release' : 1 }, <del> ...
2
Ruby
Ruby
add missing require for cookies middleware
a50865c7dcc0827ea843d04a58e91acce9bf2c0e
<ide><path>actionpack/lib/action_dispatch/testing/test_process.rb <add>require 'action_dispatch/middleware/cookies' <ide> require 'action_dispatch/middleware/flash' <ide> require 'active_support/core_ext/hash/indifferent_access' <ide>
1
Text
Text
fix example of i18n setting in the guide [ci skip]
939b85af709d02da569be6a6009f732d5a9d3742
<ide><path>guides/source/i18n.md <ide> A trivial implementation of using an `Accept-Language` header would be: <ide> def switch_locale(&action) <ide> logger.debug "* Accept-Language: #{request.env['HTTP_ACCEPT_LANGUAGE']}" <ide> locale = extract_locale_from_accept_language_header <del> logger.debug "* Locale set t...
1
Ruby
Ruby
use v2 api
7962b15a982cef28cf2356fff1f534000fdb333a
<ide><path>Library/Homebrew/utils.rb <ide> def find_pull_requests rx <ide> require 'vendor/multi_json' <ide> <ide> pulls = [] <del> uri = URI.parse("https://api.github.com/repos/mxcl/homebrew/pulls") <del> uri.query = "per_page=100" <add> query = rx.source.delete '.*' <add> uri = URI.parse("http://...
1
Python
Python
improve docs of conv_filter_vis example
bb2b3ada3d502c740f2704e44362c9bc32be4353
<ide><path>examples/conv_filter_visualization.py <ide> This script can run on CPU in a few minutes (with the TensorFlow backend). <ide> <ide> Results example: http://i.imgur.com/4nj4KjN.jpg <add> <add>Before running this script, download the weights for the VGG16 model at: <add>https://drive.google.com/file/d/0Bz7Kyqm...
1
Text
Text
add my text about web components to the article
b7b1cdad60a639266e6b89f4e854e4a0218745ce
<ide><path>guide/english/web-components/how-do-i-use-web-components/index.md <ide> title: How do I use Web Components? <ide> --- <ide> #### How do I use Web Components? <ide> <del>This is a stub. <a href='https://github.com/freecodecamp/guides/tree/master/src/pages/web-components/how-do-I-use-web-components/index.md' ...
1
Python
Python
fix template for new models in readme
aeeab1ffd06aaf9703494508752ab75448019c38
<ide><path>utils/check_copies.py <ide> def check_model_list_copy(overwrite=False, max_per_line=119): <ide> <ide> <ide> README_TEMPLATE = ( <del> "1. **[{model_name}](https://huggingface.co/docs/transformers/model_doc/{model_type})** (from <FILL INSTITUTION>) " <del> "released with the paper [<FILL PAPER TITLE>]...
1
Ruby
Ruby
improve test coverage
fe98d21289b7510182e338f352f5a416bd01f1ad
<ide><path>railties/lib/rails/commands/test.rb <ide> require "rails/test_unit/minitest_plugin" <ide> <ide> if defined?(ENGINE_ROOT) <del> $: << File.expand_path("test", ENGINE_ROOT) <add> $LOAD_PATH << File.expand_path("test", ENGINE_ROOT) <ide> else <del> $: << File.expand_path("../../test", APP_PATH) <add> $LOAD...
2
Text
Text
fix typo in hostnameversioning doc
0712094ea2e846d41ef3ce2a4d12b9159911abfe
<ide><path>docs/api-guide/versioning.md <ide> By default this implementation expects the hostname to match this simple regular <ide> <ide> Note that the first group is enclosed in brackets, indicating that this is the matched portion of the hostname. <ide> <del>The `HostNameVersioning` scheme can be awkward to use in...
1