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
remove react devtools from debugging docs
fa638c79971298bc88cccfe13657faf23cd249f0
<ide><path>docs/Debugging.md <ide> To debug on a real device: <ide> 1. On iOS - open the file `RCTWebSocketExecutor.m` and change `localhost` to the IP address of your computer. Shake the device to open the development menu with the option to start debugging. <ide> 2. On Android, if you're running Android 5.0+ device c...
1
Javascript
Javascript
improve constant inlining, add `process.platform`
e6bafca39ed7105579daf9aba29a65f8dfc3c48b
<ide><path>Libraries/JavaScriptAppEngine/Initialization/InitializeJavaScriptAppEngine.js <ide> function polyfillLazyGlobal(name, valueFn, scope = GLOBAL) { <ide> configurable: true, <ide> enumerable: true, <ide> get() { <del> return this[name] = valueFn(); <add> return (this[name] = valueFn()); <i...
3
PHP
PHP
add doc block for deprecation
3a4c90769f40c2e722d6e2e6e590fbdc090afbee
<ide><path>src/Illuminate/Pagination/Environment.php <ide> use Illuminate\View\Factory as ViewFactory; <ide> use Symfony\Component\Translation\TranslatorInterface; <ide> <add>/** <add> * DEPRECATED: Please use Illuminate\Pagination\Factory instead! <add> */ <ide> class Environment extends Factory { <ide> <ide> /**
1
PHP
PHP
fix suffix check
2b951e43a042f1931d2253ed4749207366556cb6
<ide><path>src/Illuminate/View/Factory.php <ide> protected function getExtension($path) <ide> $extensions = array_keys($this->extensions); <ide> <ide> return Arr::first($extensions, function ($value) use ($path) { <del> return Str::endsWith($path, $value); <add> return Str::endsWi...
1
Go
Go
remove waitandassert and type casts
649201dc4429fa8f734eaf6cd89cccd7eb2d9119
<ide><path>integration-cli/docker_api_swarm_test.go <ide> func (s *DockerSwarmSuite) TestAPISwarmLeaderElection(c *testing.T) { <ide> followers []*daemon.Daemon // keep track of followers <ide> ) <ide> var lastErr error <del> checkLeader := func(nodes ...*daemon.Daemon) interface{} { <add> checkLeader := func(nodes...
2
Javascript
Javascript
add save as support for firefox
3f4f056665b1bdc2b4a2b9aaf65f8783613442ee
<ide><path>extensions/firefox/components/PdfStreamConverter.js <ide> PdfStreamConverter.prototype = { <ide> onStartRequest: function(aRequest, aContext) { <ide> // Setup the request so we can use it below. <ide> aRequest.QueryInterface(Ci.nsIChannel); <add> aRequest.QueryInterface(Ci.nsIWritablePropertyBag...
1
Javascript
Javascript
fix typo in `headersgetter`
26a6a9b624ee85ce51381ab0449f6cd775c445fb
<ide><path>src/ng/http.js <ide> function parseHeaders(headers) { <ide> * @param {(string|Object)} headers Headers to provide access to. <ide> * @returns {function(string=)} Returns a getter function which if called with: <ide> * <del> * - if called with single an argument returns a single header value or null <add...
1
Ruby
Ruby
remove duplicated conflicts unlinking
8755e91675dbe615b7792a77061627eb089abbfc
<ide><path>Library/Homebrew/cmd/test-bot.rb <ide> def formula(formula_name) <ide> <ide> formula = Formulary.factory(canonical_formula_name) <ide> <del> formula.conflicts.map { |c| Formulary.factory(c.name) }. <del> select(&:installed?).each do |conflict| <del> test "brew", "unlink", conflic...
1
PHP
PHP
remove uninstantiable seeder class
92b34069c1c36aef1e298174b2c3fbbe8511f28d
<ide><path>src/Illuminate/Database/SeedServiceProvider.php <ide> class SeedServiceProvider extends ServiceProvider <ide> */ <ide> public function register() <ide> { <del> $this->app->singleton('seeder', function () { <del> return new Seeder; <del> }); <del> <ide> $this->reg...
1
Go
Go
remove some intermediate variables
1483905024879a3da6ba4c5beb4fa45ef408e9f8
<ide><path>cmd/dockerd/config.go <ide> const defaultTrustKeyFile = "key.json" <ide> // installCommonConfigFlags adds flags to the pflag.FlagSet to configure the daemon <ide> func installCommonConfigFlags(conf *config.Config, flags *pflag.FlagSet) error { <ide> var maxConcurrentDownloads, maxConcurrentUploads, maxDownl...
1
Go
Go
fix typos in function comments
4a98f9ef7fdb6f6f77516fb030293fbc0ff659dc
<ide><path>client/config_update.go <ide> import ( <ide> "golang.org/x/net/context" <ide> ) <ide> <del>// ConfigUpdate attempts to updates a Config <add>// ConfigUpdate attempts to update a Config <ide> func (cli *Client) ConfigUpdate(ctx context.Context, id string, version swarm.Version, config swarm.ConfigSpec) erro...
2
Javascript
Javascript
use javascript functions for component templates
3848f48943d0530c3712394b9e405ebddf21cf3b
<ide><path>packages/react-native-codegen/src/generators/components/GenerateComponentDescriptorH.js <ide> import type {SchemaType} from '../../CodegenSchema'; <ide> // File path -> contents <ide> type FilesOutput = Map<string, string>; <ide> <del>const template = ` <add>const FileTemplate = ({ <add> componentDescripto...
12
Text
Text
move james back onto tsc
4206e7c2c4d8571029bf3c6e194f979f24910498
<ide><path>README.md <ide> For information about the governance of the Node.js project, see <ide> **Gabriel Schulhof** &lt;gabriel.schulhof@intel.com&gt; <ide> * [gireeshpunathil](https://github.com/gireeshpunathil) - <ide> **Gireesh Punathil** &lt;gpunathi@in.ibm.com&gt; (he/him) <add>* [jasnell](https://github.com/ja...
1
Javascript
Javascript
throw error to object mode in socket
46446623f511c0d8c7d8d0e87db9f3ad8e8bc77d
<ide><path>lib/net.js <ide> const { <ide> NumberIsNaN, <ide> NumberParseInt, <ide> ObjectDefineProperty, <add> ObjectKeys, <ide> ObjectSetPrototypeOf, <ide> Symbol, <ide> } = primordials; <ide> const kSetNoDelay = Symbol('kSetNoDelay'); <ide> <ide> function Socket(options) { <ide> if (!(this instanceof So...
3
Java
Java
add interceptors for async processing
57c36dd39500654caeea124519257696d98f9f14
<ide><path>spring-orm/src/main/java/org/springframework/orm/hibernate3/support/OpenSessionInViewFilter.java <ide> package org.springframework.orm.hibernate3.support; <ide> <ide> import java.io.IOException; <add>import java.util.concurrent.Callable; <ide> <ide> import javax.servlet.FilterChain; <ide> import javax.serv...
24
Text
Text
fix broken links in readme.md
f18fa4af5003190c8ab01a3908cd2fc0b7ee0834
<ide><path>README.md <ide> Keras is compatible with: <ide> <ide> ## Getting started: 30 seconds to Keras <ide> <del>The core datastructure of Keras is a __model__, a way to organize layers. There are two types of models: [`Sequential`](/models/#sequential) and [`Graph`](/models/#graph). <add>The core datastructure of...
1
Text
Text
fix small grammatical error
38db4e2ca9902a57ae45422cba9cccbfc3e912b6
<ide><path>guides/source/action_controller_overview.md <ide> class DinnerController <ide> end <ide> ``` <ide> <del>Just like the filter, you could also passing `:only` and `:except` to enforce the secure connection only to specific actions: <add>Just like the filter, you could also pass `:only` and `:except` to enforc...
1
Python
Python
finalize streamlining of conv1d
305b3bed747bb8dd358cf82d11bcb1aee5b6e517
<ide><path>keras/engine/topology.py <ide> def load_weights_from_hdf5_group(self, f): <ide> # the old Conv1D weights format. <ide> w = weight_values[0] <ide> shape = w.shape <del> if shape[:2] != (1, layer.filter_length) or shape[3] != layer....
3
Ruby
Ruby
remove dead code
197dbe56011a656784e4c1dae734fabc3a3d512f
<ide><path>Library/Homebrew/download_strategy.rb <ide> require 'utils/json' <del>require 'erb' <ide> <ide> class AbstractDownloadStrategy <ide> attr_reader :name, :resource <ide> def extract_ref(specs) <ide> end <ide> <ide> def cache_filename(tag=cache_tag) <del> if name.empty? || name == '__UNKNOWN__' <del>...
2
Text
Text
check inline style for color
9a5ae756acf28dfcd66ddc9c149ec5a81b4b08f2
<ide><path>curriculum/challenges/english/01-responsive-web-design/basic-css/change-the-color-of-text.english.md <ide> Change your <code>h2</code> element's style so that its text color is red. <ide> tests: <ide> - text: Your <code>h2</code> element should have a <code>style</code> declaration. <ide> testString: a...
1
Text
Text
update mesteery email
44f8b4f506310acee316882ee533fec46588e4d0
<ide><path>README.md <ide> maintaining the Node.js project. <ide> * [marsonya](https://github.com/marsonya) - <ide> **Akhil Marsonya** <<akhil.marsonya27@gmail.com>> (he/him) <ide> * [Mesteery](https://github.com/Mesteery) - <del> **Mestery** <<mestery@pm.me>> <add> **Mestery** <<mestery@protonmail.com>> (he/him) <...
1
Python
Python
fix the missing types
5e23c6edfadcd46325eb954aa5357a21c9e1a474
<ide><path>benchmarks/benchmarks/bench_function_base.py <ide> class SortGenerator(object): <ide> BUBBLE_SIZE = 10 <ide> <ide> @staticmethod <del> def random(size, dtype): <add> def _random(size, dtype): <ide> arr = np.arange(size, dtype=dtype) <ide> np.random.shuffle(arr) <ide> re...
1
Mixed
Java
expose screen metrics and window metrics
228a1fe7d48d57a0fbb2d852135ef94247198aaa
<ide><path>Libraries/Utilities/Dimensions.js <ide> */ <ide> 'use strict'; <ide> <add>var Platform = require('Platform'); <ide> var UIManager = require('UIManager'); <ide> <ide> var invariant = require('invariant'); <ide> if (dimensions && dimensions.windowPhysicalPixels) { <ide> scale: windowPhysicalPixels.scale...
16
Javascript
Javascript
add missing bootstrap container
6a91f7c5b2ba8ea5203bd7d934e07555486ef746
<ide><path>client/src/templates/Introduction/Intro.js <ide> import React from 'react'; <ide> import PropTypes from 'prop-types'; <ide> import { Link, graphql } from 'gatsby'; <ide> import Helmet from 'react-helmet'; <del>import { ListGroup, ListGroupItem } from '@freecodecamp/react-bootstrap'; <add>import { Grid, ListG...
1
PHP
PHP
add support for custom curl options
5e08596b7209d73c07a4807ec8d4d2fda1f9dde5
<ide><path>src/Http/Client/Adapter/Curl.php <ide> use Cake\Http\Exception\HttpException; <ide> <ide> /** <del> * Implements sending Cake\Http\Client\Request <del> * via ext/curl. <add> * Implements sending Cake\Http\Client\Request via ext/curl. <add> * <add> * In addition to the standard options documented in Cake\Htt...
2
Python
Python
change default to override
3c63e402f8348e75363ff833d5dfd869e16db5be
<ide><path>numpy/distutils/environment.py <ide> def _get_var(self, name, conf_desc): <ide> if envvar is not None: <ide> envvar_contents = os.environ.get(envvar) <ide> if envvar_contents is not None: <del> if append and os.environ.get('NPY_DISTUTILS_APPEND_FLAGS', '1') == '...
1
PHP
PHP
apply fixes from styleci
0d16818a7c1114b1d9b12975bcac820a21c35bcc
<ide><path>src/Illuminate/Http/Client/ResponseSequence.php <ide> <ide> namespace Illuminate\Http\Client; <ide> <del>use Closure; <ide> use OutOfBoundsException; <ide> <ide> class ResponseSequence
1
Go
Go
move convertnetworks to composetransform package
6b778c96336fe9c0bcfea477092aab8cdfc0c896
<ide><path>cli/command/stack/common.go <ide> import ( <ide> "github.com/docker/docker/client" <ide> ) <ide> <del>const ( <del> labelNamespace = "com.docker.stack.namespace" <del>) <del> <del>func getStackLabels(namespace string, labels map[string]string) map[string]string { <del> if labels == nil { <del> labels = ma...
5
Javascript
Javascript
add error handling
4e5da238449f113930ba97e206c5c7ae675923d0
<ide><path>client/index.js <ide> app$({ history, location: appLocation }) <ide> .doOnNext(title => document.title = title) <ide> .subscribe(() => {}); <ide> <add> appStore$ <add> .pluck('err') <add> .filter(err => !!err) <add> .distinctUntilChanged() <add> .subscribe(err => console.e...
3
Javascript
Javascript
fix typo in resolutionrequest.js
f521e992ccbcf684f88dcf6b3de25edc3df7cbfe
<ide><path>packager/react-packager/src/node-haste/DependencyGraph/ResolutionRequest.js <ide> class ResolutionRequest { <ide> `To resolve try the following:\n` + <ide> ` 1. Clear watchman watches: \`watchman watch-del-all\`.\n` + <ide> ` 2. Delete the \`node_modules\` folder: ...
1
Javascript
Javascript
allow identifiers containing `$`
4e1b36c21686ad0ca4930d1d81f77a7d9cc35851
<ide><path>src/ng/controller.js <ide> var $controllerMinErr = minErr('$controller'); <ide> <ide> <del>var CNTRL_REG = /^(\S+)(\s+as\s+(\w+))?$/; <add>var CNTRL_REG = /^(\S+)(\s+as\s+([\w$]+))?$/; <ide> function identifierForController(controller, ident) { <ide> if (ident && isString(ident)) return ident; <ide> if...
2
Javascript
Javascript
add usage example for `--port`
302cc9e92c2e9a2154bef568d4fa2e7e9f64e05e
<ide><path>lib/internal/inspector/_inspect.js <ide> function startInspect(argv = process.argv.slice(2), <ide> <ide> console.error(`Usage: ${invokedAs} script.js`); <ide> console.error(` ${invokedAs} <host>:<port>`); <add> console.error(` ${invokedAs} --port=<port>`); <ide> console.error(` ...
1
Text
Text
add another sudo
4706a1ad76ed9bc6c0555499d0bd8b8eea3b3604
<ide><path>docs/sources/reference/commandline/cli.md <ide> Import to docker via pipe and *stdin*. <ide> <ide> **Import from a local directory:** <ide> <del> $ sudo tar -c . | docker import - exampleimagedir <add> $ sudo tar -c . | sudo docker import - exampleimagedir <ide> <ide> Note the `sudo` in this example...
1
Text
Text
fix the changelog typo[ci skip]
36aaf463725f36f30f2e1c4a69b05299fe30f29f
<ide><path>actionview/CHANGELOG.md <ide> * Fix `current_page?` when the URL contains escaped characters and the <del> original URL is using the hexdecimal lowercased. <add> original URL is using the hexadecimal lowercased. <ide> <ide> *Rafael Mendonça França* <ide> <ide><path>activerecord/CHANGELOG.md <id...
2
Python
Python
fix numpy.testing.assert_equal in release mode
b98e5984c2c74c61b5ee452ce7553640622b46e7
<ide><path>numpy/testing/nose_tools/utils.py <ide> def assert_equal(actual, desired, err_msg='', verbose=True): <ide> isdesnat = isnat(desired) <ide> isactnat = isnat(actual) <ide> dtypes_match = array(desired).dtype.type == array(actual).dtype.type <del> if isdesnat and isactnat and dtyp...
1
Javascript
Javascript
fix position computation
46a73b9409a6b072c4c77106f760f094ac97a5e6
<ide><path>lib/readline.js <ide> Interface.prototype._getDisplayPos = function(str) { <ide> i++; <ide> } <ide> if (code === 0x0a) { // new line \n <add> // row must be incremented by 1 even if offset = 0 or col = +Infinity <add> row += Math.ceil(offset / col) || 1; <ide> offset = 0; <del> ...
2
Go
Go
move cobra customizations into cmd/dockerd
6a90113e689e92bc27ba2b26cdf7ce547b81b37e
<add><path>cmd/dockerd/cobra.go <del><path>cli/cobra.go <del>package cli // import "github.com/docker/docker/cli" <add>package main <ide> <ide> import ( <ide> "fmt" <ide><path>cmd/dockerd/docker.go <ide> import ( <ide> "fmt" <ide> "os" <ide> <del> "github.com/docker/docker/cli" <ide> "github.com/docker/docker/dae...
4
Javascript
Javascript
delete its tokens and provider id
bedd03c420d278c6c02fdbc9a6a6aa9a8ab97fdd
<ide><path>controllers/user.js <ide> exports.postSignup = function(req, res) { <ide> }); <ide> }; <ide> <del>/** <del> * POST /account/link <del> * @param req <del> * @param res <del> */ <del>exports.postOauthLink = function(req, res) { <del> console.log('linking oauth2'); <del>}; <ide> <ide> /** <del> * POST /acc...
1
Mixed
Javascript
emit a warning when servername is an ip address
9b2ffff62cdbfe6ab538e87aafa5828bfbaaa196
<ide><path>doc/api/deprecations.md <ide> Type: Runtime <ide> Please use `Server.prototype.setSecureContext()` instead. <ide> <ide> <add><a id="DEP0123"></a> <add>### DEP0123: setting the TLS ServerName to an IP address <add><!-- YAML <add>changes: <add> - version: REPLACEME <add> pr-url: https://github.com/nodejs...
3
Javascript
Javascript
add blocks and comments to fs-promises tests
3b7f9bc761091785fb74109487c2be01dbc37857
<ide><path>test/parallel/test-fs-promises.js <ide> async function getHandle(dest) { <ide> { <ide> async function doTest() { <ide> tmpdir.refresh(); <add> <ide> const dest = path.resolve(tmpDir, 'baz.js'); <del> await copyFile(fixtures.path('baz.js'), dest); <del> await access(dest, 'r'); <ide> <del> ...
1
Javascript
Javascript
forbid throwing of literals
6d2e29bbe7dd760235ae8f95e790d2de3cd99654
<ide><path>.eslintrc.js <ide> module.exports = { <ide> rules: { <ide> 'semi': 'error', <ide> 'no-unused-vars': 'error', <add> 'no-throw-literal': 'error', <ide> 'no-useless-escape': 'off', // TODO: bring this back <ide> 'prettier/prettier': 'error', <ide> }, <ide> module.exports = { <ide> <ide> ...
17
Go
Go
remove unused fallbackerror
5e9829b75d4d57a49d1cbe17ccc6bf73b4a18fed
<ide><path>registry/auth.go <ide> func (scs staticCredentialStore) RefreshToken(*url.URL, string) string { <ide> func (scs staticCredentialStore) SetRefreshToken(*url.URL, string, string) { <ide> } <ide> <del>type fallbackError struct { <del> err error <del>} <del> <del>func (err fallbackError) Error() string { <del> ...
2
Javascript
Javascript
add test case for updating runtime modules
7eff4c300f8665164f177510e1e36fcfd155168e
<ide><path>test/hotCases/runtime/replace-runtime-module/a.js <add>export default "a"; <ide><path>test/hotCases/runtime/replace-runtime-module/b.js <add>export default "b"; <ide><path>test/hotCases/runtime/replace-runtime-module/index.js <add>import m from "./module"; <add> <add>it("should dispose a chunk which is remov...
4
Javascript
Javascript
optimize the bundle size of next.js core
304225d9ea754323b19a17dc3d1e541e79f134e8
<ide><path>lib/app.js <ide> import React, { Component } from 'react' <ide> import PropTypes from 'prop-types' <del>import { AppContainer } from 'react-hot-loader' <ide> import shallowEquals from './shallow-equals' <ide> import { warn } from './utils' <ide> <del>const ErrorDebug = process.env.NODE_ENV === 'production' ...
2
PHP
PHP
fresh in databasemigrations
72de89c32d3b2ccca51008807d10e698e897d5db
<ide><path>src/Illuminate/Foundation/Testing/DatabaseMigrations.php <ide> trait DatabaseMigrations <ide> */ <ide> public function runDatabaseMigrations() <ide> { <del> $this->artisan('migrate'); <add> $this->artisan('migrate:fresh'); <ide> <ide> $this->app[Kernel::class]->setArtisan(...
1
Javascript
Javascript
fix spacing issue
616777b520a52707816118f624c5b153ab51cd3c
<ide><path>lib/optimize/RemoveParentModulesPlugin.js <ide> function allHaveModule(someChunks, module, checkedChunks) { <ide> return chunks; <ide> } <ide> <del> <ide> class RemoveParentModulesPlugin { <ide> apply(compiler) { <ide> compiler.plugin("compilation", (compilation) => {
1
Ruby
Ruby
highlight new revision message
b878d9c1ca3a25429f4ad6501a4f4636978d4cc7
<ide><path>Library/Homebrew/cmd/update-report.rb <ide> def output_update_report <ide> Settings.write "latesttag", new_tag if new_tag != old_tag <ide> <ide> if new_tag == old_tag <del> puts "Updated Homebrew from #{shorten_revision(initial_revision)} to #{shorten_revision(current_revision)}." <add> ...
1
Python
Python
add ipc_mode for dockeroperator
a504a8267dd5530923bbe2c8ec4d1b409f909d83
<ide><path>airflow/providers/docker/operators/docker.py <ide> class DockerOperator(BaseOperator): <ide> :param log_opts_max_file: The maximum number of log files that can be present. <ide> If rolling the logs creates excess files, the oldest file is removed. <ide> Only effective when max-size is als...
2
Javascript
Javascript
fix effectcomposer reference to renderer
8101efea28e683237efd01daedd6b4c9a2bcc611
<ide><path>examples/js/postprocessing/EffectComposer.js <ide> THREE.EffectComposer.prototype = { <ide> <ide> renderTarget = this.renderTarget1.clone(); <ide> <del> var pixelRatio = renderer.getPixelRatio(); <add> var pixelRatio = this.renderer.getPixelRatio(); <ide> <ide> renderTarget.width = Math.floor( ...
1
Python
Python
add call to super call in apache providers
7e6372a681a2a543f4710b083219aeb53b074388
<ide><path>airflow/providers/apache/cassandra/hooks/cassandra.py <ide> class CassandraHook(BaseHook, LoggingMixin): <ide> For details of the Cluster config, see cassandra.cluster. <ide> """ <ide> def __init__(self, cassandra_conn_id: str = 'cassandra_default'): <add> super().__init__() <ide> ...
10
Ruby
Ruby
fix handling of tap migrations to new cask names
45357ef0dd2bfc0bf8d957fd890e030fd9f7cf6a
<ide><path>Library/Homebrew/migrator.rb <ide> def fix_tabs <ide> end <ide> <ide> def from_same_taps? <add> new_tap = if old_tap <add> if migrate_tap = old_tap.tap_migrations[formula.oldname] <add> new_tap_user, new_tap_repo, = migrate_tap.split("/") <add> "#{new_tap_user}/#{new_tap_repo}" <ad...
2
Ruby
Ruby
remove unused --tap args for brew bottle
79018e4e242dbad09adce4c60e2f4f061df0a402
<ide><path>Library/Homebrew/cmd/test-bot.rb <ide> def formula(formula_name) <ide> bottle_step.output.gsub(/.*(\.\/\S+#{bottle_native_regex}).*/m, '\1') <ide> bottle_rb_filename = bottle_filename.gsub(/\.(\d+\.)?tar\.gz$/, ".rb") <ide> bottle_merge_args = ["--merge", "--write", "--n...
1
Ruby
Ruby
allow alpha.gnu.org urls
603bcb6cc80c3a725868766a8ee3a9a7b284d56d
<ide><path>Library/Homebrew/cmd/audit.rb <ide> def audit_urls <ide> urls = [(f.stable.url rescue nil), (f.devel.url rescue nil), (f.head.url rescue nil)].compact <ide> <ide> # Check GNU urls; doesn't apply to mirrors <del> if urls.any? { |p| p =~ %r[^(https?|ftp)://(.+)/gnu/] } <add> if urls.any? { |p| p...
1
Java
Java
use conscrypt as security provider if available
75af15ede44135110e40de75a649d5b15430c590
<ide><path>ReactAndroid/src/main/java/com/facebook/react/modules/network/OkHttpClientProvider.java <ide> import com.facebook.common.logging.FLog; <ide> <ide> import java.io.File; <add>import java.security.Provider; <add>import java.security.Security; <ide> import java.util.ArrayList; <ide> import java.util.List; <ide>...
1
Go
Go
start the stack trap earlier for daemon
94d44066f3abb7c7eea7fcb81e8419ae7331d1fd
<ide><path>daemon/daemon.go <ide> func NewDaemon(config *config.Config, registryService registry.Service, containe <ide> } <ide> }() <ide> <add> // set up SIGUSR1 handler on Unix-like systems, or a Win32 global event <add> // on Windows to dump Go routine stacks <add> stackDumpDir := config.Root <add> if execRoot :...
1
Python
Python
fix invalid log order in elasticsearchtaskhandler
944dc32c2b4a758564259133a08f2ea8d28dcb6c
<ide><path>airflow/providers/elasticsearch/log/es_task_handler.py <ide> def es_read(self, log_id: str, offset: str, metadata: dict) -> list: <ide> <ide> return logs <ide> <add> def emit(self, record): <add> if self.handler: <add> record.offset = int(time() * (10 ** 9)) <add> se...
2
Python
Python
fix a typo. python function name
52c7c53e3b13ed7524253a16ab02c9ec4d621a79
<ide><path>samples/outreach/blogs/blog_estimators_dataset.py <ide> URL_TEST = "http://download.tensorflow.org/data/iris_test.csv" <ide> <ide> <del>def downloadDataset(url, file): <add>def download_dataset(url, file): <ide> if not os.path.exists(PATH_DATASET): <ide> os.makedirs(PATH_DATASET) <ide> if n...
1
Javascript
Javascript
improve grammar and clarity
2c00476baeecc55fbfb4df167858c9ac3b0ed314
<ide><path>src/ng/rootScope.js <ide> * @description <ide> * <ide> * Every application has a single root {@link ng.$rootScope.Scope scope}. <del> * All other scopes are child scopes of the root scope. Scopes provide mechanism for watching the model and provide <del> * event processing life cycle. See {@link guide/sco...
1
Javascript
Javascript
use object destructuring for contextifyscript
ed2a110f916b35a516dda6093b308e21027a92eb
<ide><path>lib/internal/bootstrap/loaders.js <ide> }; <ide> } <ide> <del> const ContextifyScript = process.binding('contextify').ContextifyScript; <add> const { ContextifyScript } = process.binding('contextify'); <ide> <ide> // Set up NativeModule <ide> function NativeModule(id) {
1
Javascript
Javascript
update logarithmic algorithm
f51d7753bd3dea42e51487831c3b0f6f732460c1
<ide><path>src/scales/scale.logarithmic.js <ide> <ide> // label settings <ide> ticks: { <del> callback: function(value) { <add> callback: function(value, index, arr) { <ide> var remain = value / (Math.pow(10, Math.floor(Chart.helpers.log10(value)))); <ide> <del> if (remain === 1 || remain === 2 || rema...
1
Javascript
Javascript
update github in use error message copy
6233f6641163ffe504a012be360fd988d16dfea3
<ide><path>server/boot/a-extendUserIdent.js <ide> export default function({ models }) { <ide> return Observable.throw( <ide> new Error( <ide> dedent` <del> It looks like you already have an account associated with that sign in method. <del> Here's what you can do: 1) Sign out of th...
1
Javascript
Javascript
remove obsolete file
e1473e2d4a155ae1695b2ca8baa6f7a6f23864b8
<ide><path>src/externs.js <del>// JavaScript built-ins. <del>var console, <del> JSON; <del> <del>// d3 <del>var d3;
1
PHP
PHP
make note of method removal
4f179b01bdc702d86181de23004b70015afe944f
<ide><path>lib/Cake/Controller/Controller.php <ide> public function flash($message, $url, $pause = 1, $layout = 'flash') { <ide> * @param boolean $exclusive If true, and $op is an array, fields not included in $op will not be <ide> * included in the returned conditions <ide> * @return array An array of model ...
1
Text
Text
remove extra line breaks in the faq
e269c36e1ff5cdd2fd0f7cd0c9b911940cc69cea
<ide><path>docs/FAQ.md <ide> We typically do not assign issues to anyone other than long-time contributors. I <ide> <ide> ### I am interested in being a moderator at freeCodeCamp. Where should I start? <ide> <del>Our community moderators are our heroes. Their voluntary contributions make <del>freeCodeCamp a safe and ...
1
Go
Go
return exec.controller instead of nil
3a9be929272d089d57745350b8888760a18b2526
<ide><path>api/types/swarm/task.go <ide> type TaskSpec struct { <ide> // parameters have been changed. <ide> ForceUpdate uint64 <ide> <del> Runtime RuntimeType `json:",omitempty"` <del> RuntimeData []byte `json:",omitempty"` <add> Runtime RuntimeType `json:",omitempty"` <add> // TODO (ehazlett): this should...
3
Ruby
Ruby
activate env extensions for postinstall
19c118d0026482d9e0a59833570cc9985092cb4d
<ide><path>Library/Homebrew/formula.rb <ide> def run_post_install <ide> <ide> with_env(new_env) do <ide> ENV.clear_sensitive_environment! <add> ENV.activate_extensions! <ide> <ide> etc_var_dirs = [bottle_prefix/"etc", bottle_prefix/"var"] <ide> T.unsafe(Find).find(*etc_var_dirs.se...
1
Ruby
Ruby
add collection_check_boxes helper
7af0ec75d0d933d75f9a63a63bbbde554f206721
<ide><path>actionpack/lib/action_view/helpers/form_options_helper.rb <ide> def collection_radio_buttons(object, method, collection, value_method, text_meth <ide> Tags::CollectionRadioButtons.new(object, method, self, collection, value_method, text_method, options, html_options).render(&block) <ide> end <i...
4
Javascript
Javascript
add bigint64array and biguint64array to globals
11ae1791e78367e5d24b402b808807479bd65364
<ide><path>.eslintrc.js <ide> module.exports = { <ide> }, <ide> globals: { <ide> BigInt: false, <add> BigInt64Array: false, <add> BigUint64Array: false, <ide> COUNTER_HTTP_CLIENT_REQUEST: false, <ide> COUNTER_HTTP_CLIENT_RESPONSE: false, <ide> COUNTER_HTTP_SERVER_REQUEST: false,
1
Text
Text
put value into quotes
7ce8c587099fc4d8c8f555c6ecef9febefa0c3b7
<ide><path>curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use-arrow-functions-to-write-concise-anonymous-functions.md <ide> When there is no function body, and only a return value, arrow function syntax a <ide> const myFunc = () => "value"; <ide> ``` <ide> <del>This code will still retu...
1
Python
Python
fix failing docs on main
4fdfef909e3b9a22461c95e4ee123a84c47186fd
<ide><path>tests/system/providers/google/cloud/cloud_build/example_cloud_build_trigger.py <ide> <ide> ENV_ID = os.environ.get("SYSTEM_TESTS_ENV_ID") <ide> PROJECT_ID = os.environ.get("SYSTEM_TESTS_GCP_PROJECT") <del>TRIGGER_NAME = f"cloud-build-trigger-{ENV_ID}" <ide> <ide> DAG_ID = "example_gcp_cloud_build_trigger" ...
1
Python
Python
use math mode
24d653f11a55f76b125a91d7d4523052ef14b9b9
<ide><path>numpy/core/numeric.py <ide> def correlate(a, v, mode='valid'): <ide> This function computes the correlation as generally defined in signal <ide> processing texts:: <ide> <del> c_{av}[k] = sum_n a[n+k] * conj(v[n]) <add> .. math:: c_k = \sum_n a_{n+k} * \overline{v_n} <ide> <del> with a...
1
Go
Go
add /proc/acpi to masked paths
569b9702a59804617e1cd3611fbbe953e4247b3e
<ide><path>oci/defaults.go <ide> func DefaultLinuxSpec() specs.Spec { <ide> <ide> s.Linux = &specs.Linux{ <ide> MaskedPaths: []string{ <add> "/proc/acpi", <ide> "/proc/kcore", <ide> "/proc/keys", <ide> "/proc/latency_stats",
1
Javascript
Javascript
use boolean naming conventions
5cf25f10c905b4f7db98589c72cc63f82a411da9
<ide><path>packages/ember-metal/lib/computed_macros.js <ide> function registerComputedWithProperties(name, macro) { <ide> <ide> ```javascript <ide> var ToDoList = Ember.Object.extend({ <del> done: Ember.computed.empty('todos') <add> isDone: Ember.computed.empty('todos') <ide> }); <ide> <ide> var todoLis...
1
Python
Python
add mapping of type for choicefield.
bc4d52558bbf3d8a1311c23194123ea7517b2697
<ide><path>rest_framework/schemas/openapi.py <ide> import warnings <add>from collections import OrderedDict <add>from decimal import Decimal <ide> from operator import attrgetter <ide> from urllib.parse import urljoin <ide> <ide> def _get_pagination_parameters(self, path, method): <ide> <ide> return paginator...
2
Python
Python
move it into the setup() method
aeccd1850a36b33c6c28927290e98be37bb92aee
<ide><path>libcloud/test/compute/test_openstack.py <ide> def get_endpoint(*args, **kwargs): <ide> return "https://servers.api.rackspacecloud.com/v1.0/slug" <ide> <ide> OpenStack_1_1_NodeDriver.connectionCls.get_endpoint = get_endpoint <del> <del> def test_ex_force_auth_version_all_possible_value...
1
Ruby
Ruby
make revert of `disable_extension` to work
68eb6ca63119c35a6b42c7a90ca3557517b1bcda
<ide><path>activerecord/lib/active_record/migration/command_recorder.rb <ide> class CommandRecorder <ide> ReversibleAndIrreversibleMethods = [:create_table, :create_join_table, :rename_table, :add_column, :remove_column, <ide> :rename_index, :rename_column, :add_index, :remove_index, :add_timestamps, :rem...
2
Mixed
Javascript
move dep0026 to end of life
2d578ad996de13acbe1227a8565c89dcd95d8bc8
<ide><path>doc/api/deprecations.md <ide> The `sys` module is deprecated. Please use the [`util`][] module instead. <ide> ### DEP0026: util.print() <ide> <!-- YAML <ide> changes: <add> - version: REPLACEME <add> pr-url: https://github.com/nodejs/node/pull/xxxxx <add> description: End-of-Life. <ide> - version: <...
6
Python
Python
add tests for ticket #205
05cdc869ae8a7f44097dd186fe6688500a99e30f
<ide><path>numpy/core/tests/test_regression.py <ide> def check_mem_array_creation_invalid_specification(self,level=rlevel): <ide> # Correct way <ide> N.array([(1,'object')],dt) <ide> <add> def check_zero_sized_array_indexing(self,level=rlevel): <add> """Ticket #205""" <add> tmp = N.arr...
1
Javascript
Javascript
multiget breaking test and fix
52755fdde278404540a17117098151db5f2a86e3
<ide><path>IntegrationTests/AsyncStorageTest.js <ide> function testMerge() { <ide> expectAsyncNoError('testMerge/setItem', err3); <ide> expectEqual(JSON.parse(result), VAL_MERGE_EXPECT, 'testMerge'); <ide> updateMessage('objects deeply merged\nDone!'); <add> runTestCase('multi set and get...
2
Ruby
Ruby
check requirement before dependency
666b48e39127e650681f4e24068787c309de5ee4
<ide><path>Library/Homebrew/dependency_collector.rb <ide> def parse_spec spec, tag <ide> parse_string_spec(spec, tag) <ide> when Symbol <ide> parse_symbol_spec(spec, tag) <del> when Dependency, Requirement <add> when Requirement, Dependency <ide> spec <ide> when Class <ide> parse_c...
1
PHP
PHP
remove key when key exists
6b95535b4358967c603807804bf8116a36a0c8a8
<ide><path>src/Illuminate/Support/Arr.php <ide> public static function forget(&$array, $keys) <ide> } <ide> <ide> foreach ($keys as $key) { <add> if (static::exists($array, $key)) { <add> unset($array[$key]); <add> continue; <add> } <add> <ide> ...
1
Text
Text
add missing semicolon
24c6a1ec09c34a6ecfea4aee18ebd805961bdc4a
<ide><path>STYLEGUIDE.md <ide> var [ <ide> var person = { <ide> firstName: 'Stefan', <ide> lastName: 'Penner' <del>} <add>}; <ide> <ide> var { <ide> firstName, <ide> lastName <ide> } = person; <ide> ``` <ide> <del> <ide> ## Comments <ide> <ide> + Use [YUIDoc](http://yui.github.io/yuidoc/syntax/index.html) co...
1
Text
Text
add apache airflow code_of_conduct.md
d8205676495319f51bfe6b45a3f99e59e5dbe504
<ide><path>CODE_OF_CONDUCT.md <add><!-- <add> Licensed to the Apache Software Foundation (ASF) under one <add> or more contributor license agreements. See the NOTICE file <add> distributed with this work for additional information <add> regarding copyright ownership. The ASF licenses this file <add> to you under the ...
1
PHP
PHP
improve performance of snake case
9f162064acd421275de87f5a4dfe04915323c7d4
<ide><path>src/Illuminate/Support/Str.php <ide> public static function slug($title, $separator = '-') <ide> */ <ide> public static function snake($value, $delimiter = '_') <ide> { <del> return trim(preg_replace_callback('/[A-Z]/', function($match) use ($delimiter) <del> { <del> return $delimiter.strtolower($mat...
1
Java
Java
add request handling infrastructure
773d0444bf0834345a085616b8808a7e6c1925b1
<ide><path>spring-web-reactive/src/main/java/org/springframework/reactive/web/DispatcherHttpHandler.java <add>/* <add> * Copyright 2002-2015 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 with the Lic...
6
Javascript
Javascript
expose test modules for requirement
009c0b92002fa1aeae985c1a5c8707119a945647
<ide><path>grunt/config/browserify.js <ide> var jasmine = { <ide> var test = { <ide> entries: [ <ide> "./build/modules/test/all.js", <del> "./build/modules/**/__tests__/*-test.js" <add> ], <add> requires: [ <add> "**/__tests__/*-test.js" <ide> ], <ide> outfile: './build/react-test.js', <ide> debug: ...
2
Java
Java
fix originalnode memory leak
8102e35271ab68e0525a9c60d86a855bbeef9c1a
<ide><path>ReactAndroid/src/main/java/com/facebook/react/fabric/FabricReconciler.java <ide> private void manageChildren( <ide> } <ide> enqueueUpdateProperties(newNode); <ide> manageChildren(prevNode, prevNode.getChildrenList(), newNode.getChildrenList()); <del> prevNode.setOriginalReactShadowNode...
3
Ruby
Ruby
fix frozen pathname usage
9f616b6fe977b6e6709c17b7df26cdfb4cbfd5f4
<ide><path>Library/Homebrew/cmd/tap-info.rb <ide> def print_tap_info(taps) <ide> info += ", #{private_count} private" <ide> info += ", #{formula_count} #{"formula".pluralize(formula_count)}" <ide> info += ", #{command_count} #{"command".pluralize(command_count)}" <del> info += ", #{Tap::TAP_DIREC...
1
Text
Text
add arm64 info to cask-cookbook.md
ab8d3722723137889969d57028adacc7e2038ce5
<ide><path>docs/Cask-Cookbook.md <ide> The available symbols for hardware are: <ide> | ---------- | -------------- | <ide> | `:x86_64` | 64-bit Intel | <ide> | `:intel` | 64-bit Intel | <add>| `:arm64` | Apple M1 | <ide> <ide> The following are all valid expressions: <ide> <ide> ```ruby <ide> depends_on ar...
1
Javascript
Javascript
add tests for add/remove header after sent
a5994f75dc5735968d02f1a914c4035adc9f28af
<ide><path>test/parallel/test-http-response-add-header-after-sent.js <add>'use strict'; <add>require('../common'); <add>const assert = require('assert'); <add>const http = require('http'); <add> <add>const server = http.createServer((req, res) => { <add> assert.doesNotThrow(() => { <add> res.setHeader('header1', 1)...
2
Javascript
Javascript
add error handling
7cb835aac44e34058f3909e5f5f06eb1f0b5c503
<ide><path>client/index.js <ide> app$({ history, location: appLocation }) <ide> .doOnNext(title => document.title = title) <ide> .subscribe(() => {}); <ide> <add> appStore$ <add> .pluck('err') <add> .filter(err => !!err) <add> .distinctUntilChanged() <add> .subscribe(err => console.e...
3
Python
Python
resolve merge issue
b6b5230dcd5ec934afa9c45dec29a79bd812c372
<ide><path>glances/plugins/glances_load.py <ide> def update_views(self): <ide> # Call the father's method <ide> GlancesPlugin.update_views(self) <ide> <del> if self.views != {}: <del> # Add specifics informations <add> # Add specifics informations <add> try: <ide> ...
1
Python
Python
fix tuple error message
ea8e2edf17fed647037109f712672a44f5a66ac9
<ide><path>keras/utils/generic_utils.py <ide> def deserialize_keras_object(identifier, module_objects=None, <ide> else: <ide> fn = module_objects.get(function_name) <ide> if fn is None: <del> raise ValueError('Unknown ' + printable_module_name, <add> raise V...
1
Mixed
Text
add changelog for
86433b8d5f1a7d28e0bb6ceeaf824e67acf4b759
<ide><path>actionpack/CHANGELOG.md <add>* Allows ActionDispatch::Request::LOCALHOST to match any IPv4 127.0.0.0/8 <add> loopback address. <add> <add> *Earl St Sauver*, *Sven Riedel* <add> <ide> * Preserve original path in `ShowExceptions` middleware by stashing it as <ide> `env["action_dispatch.original_p...
2
Python
Python
fix typo in test
525f7988416f9d944f5993a793f999f91e8685f8
<ide><path>spacy/tests/pipeline/test_pipe_methods.py <ide> def test_disable_pipes_context_restore(nlp, name): <ide> """Test that a disabled component stays disabled after running the context manager.""" <ide> nlp.add_pipe("new_pipe", name=name) <ide> assert nlp.has_pipe(name) <del> nlp.disable_pipes(name...
1
Ruby
Ruby
install tap if needed
61b48d8557042519889860a0f57a66fb233e1d23
<ide><path>Library/Homebrew/formulary.rb <ide> def get_formula(spec, alias_path: nil) <ide> end <ide> <ide> def load_file <add> tap.install unless tap.installed? <add> <ide> super <ide> rescue MethodDeprecatedError => e <ide> e.issues_url = tap.issues_url || tap.to_s <ide><path>Library/Hom...
2
Text
Text
correct cli --volumes-from description
4d0b88c52f896fe159fe2b1dfd7bdb8116c31da3
<ide><path>docs/sources/reference/commandline/cli.md <ide> schema. <ide> <ide> > **Note:** `docker build` will return a `no such file or directory` error <ide> > if the file or directory does not exist in the uploaded context. This may <del>> happen if there is no context, or if you specify a file that is elsewhere <...
1
Text
Text
add v3.19.0 to changelog
4d3eaaeef4659f22d6dc3bf5678c4b78aa16dd27
<ide><path>CHANGELOG.md <ide> # Ember Changelog <ide> <del>### v3.19.0-beta.4 (May 12, 2020) <add>### v3.19.0 (May 26, 2020) <ide> <add>- [#18982](https://github.com/emberjs/ember.js/pull/18982) / [#18913](https://github.com/emberjs/ember.js/pull/18913) [BUGFIX] Update rendering engine to latest version. <add> - Add...
1
Javascript
Javascript
use stackedsetmap for better performance
2ff9b53754305989b26735d3a57582a92e1b4586
<ide><path>lib/optimize/ModuleConcatenationPlugin.js <ide> const ModuleHotAcceptDependency = require("../dependencies/ModuleHotAcceptDepend <ide> const ModuleHotDeclineDependency = require("../dependencies/ModuleHotDeclineDependency"); <ide> const ConcatenatedModule = require("./ConcatenatedModule"); <ide> const Harmon...
2
Text
Text
update spanish translation of "about vim"
265d1df54038b77812461d27ff3d1ed47fce7732
<ide><path>guide/spanish/vim/basic-usage/index.md <ide> localeTitle: Uso básico <ide> <ide> ## Acerca de Vim <ide> <del>Vim es el editor de texto que se usa básicamente en el modo CLI. Pero ahora el editor también está disponible en varias versiones. Allí tienen También GVIM que es la versión gráfica de VIM. vi fue e...
1