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
add line 11 ifconfig
c8d4aefd030fd678b7841cd77188be46d0ed0bd7
<ide><path>guide/english/linux/10-simple-and-useful-linux-commands/index.md <ide> more command allows quickly view file and shows details in percentage. You can p <ide> 10. `cp` Command <ide> Copy file from source to destination preserving same mode. <ide> <del>11. `systemctl` Command <add>11. `ifconfig` to view ip an...
1
Go
Go
fix error string about containers feature
31405b556f155d8f56902086c7c24efe25dd8de0
<ide><path>daemon/daemon_windows.go <ide> func checkSystem() error { <ide> <ide> vmcompute := windows.NewLazySystemDLL("vmcompute.dll") <ide> if vmcompute.Load() != nil { <del> return fmt.Errorf("Failed to load vmcompute.dll. Ensure that the Containers role is installed.") <add> return fmt.Errorf("failed to load v...
1
Javascript
Javascript
move config handling to a dedicated script
6dbb7e74462d5b7dedf2124a622a3e678964dd83
<ide><path>src/core/core.config.js <add>/* eslint-disable import/no-namespace, import/namespace */ <add>import defaults from './core.defaults'; <add>import {mergeIf, merge, _merger} from '../helpers/helpers.core'; <add> <add>export function getIndexAxis(type, options) { <add> const typeDefaults = defaults[type] || {}; ...
3
Javascript
Javascript
switch the argument order for the assertion
af3992b1caff074812579a792f28eef0256190b7
<ide><path>test/parallel/test-next-tick-errors.js <ide> process.on('uncaughtException', function(err, errorOrigin) { <ide> }); <ide> <ide> process.on('exit', function() { <del> assert.deepStrictEqual(['A', 'B', 'C'], order); <add> assert.deepStrictEqual(order, ['A', 'B', 'C']); <ide> });
1
Python
Python
add comment on subclasses ordering
ac2e2f3cb3c2f6fb8424abc48a9509d32011360d
<ide><path>numpy/core/overrides.py <ide> def get_overloaded_types_and_args(relevant_args): <ide> overloaded_types.append(arg_type) <ide> <ide> if array_function is not ndarray.__array_function__: <add> # By default, insert this argument at the end, but if it is <add> ...
1
Ruby
Ruby
fix code comment to reflect its intent
783fc29389336e83341ea24e93a0b02b14c47a49
<ide><path>actionpack/lib/action_controller/metal/responder.rb <ide> module ActionController #:nodoc: <ide> # <ide> # def create <ide> # @project = Project.find(params[:project_id]) <del> # @task = @project.comments.build(params[:task]) <add> # @task = @project.tasks.build(params[:task]) <ide> #...
1
PHP
PHP
remove deprecated code in collection package
761b53190639b8d91709f7783d000b9178548da4
<ide><path>src/Collection/CollectionTrait.php <ide> public function unwrap() <ide> return $iterator; <ide> } <ide> <del> /** <del> * Backwards compatible wrapper for unwrap() <del> * <del> * @return \Traversable <del> * @deprecated 3.0.10 Will be removed in 4.0.0 <del> */ <del> //...
1
Javascript
Javascript
remove `require('buffer')` from 4 test files
256d86a155d796d5194004fa05502cd68172d1c0
<ide><path>test/parallel/test-buffer-fakes.js <ide> <ide> require('../common'); <ide> const assert = require('assert'); <del>const Buffer = require('buffer').Buffer; <ide> <ide> function FakeBuffer() { } <ide> Object.setPrototypeOf(FakeBuffer, Buffer); <ide><path>test/parallel/test-buffer-includes.js <ide> const comm...
4
Ruby
Ruby
remove surplus period from assertion messages
8c81c9c423c0b463637976d5f00df760e2e733e1
<ide><path>actionpack/lib/action_dispatch/testing/assertions/selector.rb <ide> def assert_select(*args, &block) <ide> text.strip! unless NO_STRIP.include?(match.name) <ide> text.sub!(/\A\n/, '') if match.name == "textarea" <ide> unless match_with.is_a?(Regexp) ? (text =~ match_with) ...
1
Go
Go
fix minor typo
eee0cfa45dd75223dec204428dc85dccb2b5abe9
<ide><path>volume/local/local.go <ide> func (r *Root) validateName(name string) error { <ide> return validationError{fmt.Errorf("volume name is too short, names should be at least two alphanumeric characters")} <ide> } <ide> if !volumeNameRegex.MatchString(name) { <del> return validationError{fmt.Errorf("%q includ...
1
Text
Text
add @pborreli for #897
d7bf02e09ea85778c0a3fad572ad33d637c0602f
<ide><path>docs/topics/credits.md <ide> The following people have helped make REST framework great. <ide> * Andrew Tarzwell - [atarzwell] <ide> * Michal Dvořák - [mikee2185] <ide> * Markus Törnqvist - [mjtorn] <add>* Pascal Borreli - [pborreli] <ide> <ide> Many thanks to everyone who's contributed to the project. <ide...
1
Python
Python
remove duplicate `alltrue`
689f1439c95b5f4fb2a147b9ff6df81fd45c8cfa
<ide><path>numpy/core/fromnumeric.py <ide> def alltrue (a, axis=None, out=None): <ide> return any(axis, out) <ide> <ide> <del>def alltrue (a, axis=None, out=None): <del> """Check if all of the elements of `a` are true. <del> <del> Performs a logical_and over the given axis and returns the result <del> <del>...
1
Text
Text
add link from `next/image` docs to example
9fe18e88446303d390866531bf63e33677c61c1a
<ide><path>docs/api-reference/next/image.md <ide> description: Enable Image Optimization with the built-in Image component. <ide> <ide> # next/image <ide> <add><details open> <add> <summary><b>Examples</b></summary> <add> <ul> <add> <li><a href="https://github.com/vercel/next.js/tree/canary/examples/image-compon...
2
Text
Text
add v3.10.1 to changelog.md
25fd4829145e454ffaae02151f5511bf13b49cfd
<ide><path>CHANGELOG.md <ide> - [#17940](https://github.com/emberjs/ember.js/pull/17940) [CLEANUP] Remove `sync` queue from @ember/runloop. <ide> - [#18026](https://github.com/emberjs/ember.js/pull/18026) Enabling featured discussed in 2019-05-03 core team meeting. <ide> <add>### v3.10.1 (June 4, 2019) <add> <add>- [#...
1
Javascript
Javascript
choose defaults by target
efb2dd483f4d360cd19ed222688316624b8e0f35
<ide><path>lib/WebpackOptionsApply.js <ide> var ModuleAsDirectoryPlugin = require("enhanced-resolve/lib/ModuleAsDirectoryPlu <ide> var ModuleAliasPlugin = require("enhanced-resolve/lib/ModuleAliasPlugin"); <ide> var DirectoryDefaultFilePlugin = require("enhanced-resolve/lib/DirectoryDefaultFilePlugin"); <ide> var Direc...
3
Text
Text
add a hyperlink to create a new issue
06375310472cc25c1e3120837480220bc9ffafd2
<ide><path>CONTRIBUTING.md <ide> If you are still having difficulty after looking over your configuration careful <ide> a question to [StackOverflow with the webpack tag](http://stackoverflow.com/tags/webpack). Questions <ide> that include your webpack.config.js and relevant files are more likely to receive responses. ...
1
Javascript
Javascript
remove unnecessary comma in skyshader
f81eb19ea78cbd5ce69db8ac3f51efc5a7f035b5
<ide><path>examples/js/SkyShader.js <ide> THREE.ShaderLib[ 'sky' ] = { <ide> // mie coefficients <ide> "vBetaM = totalMie(lambda, turbidity) * mieCoefficient;", <ide> <del> "}", <add> "}" <ide> <ide> ].join( "\n" ), <ide> <ide> THREE.ShaderLib[ 'sky' ] = { <ide> "gl_FragColor.rgb = retColor;", <ide> <id...
1
PHP
PHP
add new line at the end of the file
511c5cf409526b9cb430396c4f3fe82c038b5d21
<ide><path>src/Illuminate/Database/Eloquent/Builder.php <ide> public function __clone() <ide> } <ide> <ide> } <add>
1
Text
Text
update tutorial language to be more explicit
8e47082fb642b6d4db2de1656389fcf14cbefaa7
<ide><path>docs/docs/tutorial.md <ide> var CommentForm = React.createClass({ <ide> }); <ide> ``` <ide> <del>Next, update the `CommentBox` component to use its new friends: <add>Next, update the `CommentBox` component to use these new components: <ide> <ide> ```javascript{6-8} <ide> // tutorial3.js
1
Javascript
Javascript
remove failing test
be3551cd18cd62eda0537bded282c2e23397ca23
<ide><path>spec/window-event-handler-spec.js <ide> describe('WindowEventHandler', () => { <ide> describe('window:close event', () => <ide> it('closes the window', () => { <ide> spyOn(atom, 'close') <del> spyOn(atom, 'storeWindowDimensions') <ide> window.dispatchEvent(new CustomEvent('window:close...
1
PHP
PHP
add missing method
2b9be838df5369d2ff78fc26ade43775b311b701
<ide><path>src/Illuminate/Routing/UrlGenerator.php <ide> public function setRequest(Request $request) <ide> $this->request = $request; <ide> } <ide> <add> /** <add> * Set the route collection. <add> * <add> * @param \Illuminate\Routing\RouteCollection $routes <add> * @return $this <add> */ <add> public funct...
1
Ruby
Ruby
fix failing test in railties
6bdc04624dcc0f45aab93af42d00224f67da36d5
<ide><path>railties/test/rails_info_controller_test.rb <ide> def setup <ide> <ide> test "info controller renders with routes" do <ide> get :routes <del> assert_select 'pre' <add> assert_select 'table#routeTable' <ide> end <del> <ide> end
1
Text
Text
add zkat to collaborators
2cf4e388ca1d62fabca3d96d506e5321e5eb12c6
<ide><path>README.md <ide> information about the governance of the Node.js project, see <ide> * [tunniclm](https://github.com/tunniclm) - **Mike Tunnicliffe** &lt;m.j.tunnicliffe@gmail.com&gt; <ide> * [vkurchatkin](https://github.com/vkurchatkin) - **Vladimir Kurchatkin** &lt;vladimir.kurchatkin@gmail.com&gt; <ide> * [...
1
Text
Text
add 1.4.0-beta.5 to changelog.md
b6c0341a863a820daac534b4a0c1dbc44e741a10
<ide><path>CHANGELOG.md <ide> * [BREAKING CHANGE] `Ember.run.throttle` now supports leading edge execution. To follow industry standard leading edge is the default. <ide> * [BUGFIX] Fixed how parentController property of an itemController when nested. Breaking for apps that rely on previous broken behavior of an itemCo...
1
Ruby
Ruby
determine remote_url using git config
5f18f0bb03c72af19952e2573db6881eb84257f0
<ide><path>Library/Homebrew/dev-cmd/bump-formula-pr.rb <ide> def bump_formula_pr <ide> odie "Unable to fork: #{e.message}!" <ide> end <ide> <del> remote_url = response.fetch("clone_url") <add> if system("git", "config", "--local", "--get-regexp", "remote\..*\.url", "git@github.com:.*") ...
1
PHP
PHP
shorten variable name
0719bad766e625f25502b695a4dcaf3b976ddcab
<ide><path>src/Illuminate/Support/Facades/Response.php <ide> public static function stream($callback, $status = 200, array $headers = array() <ide> * @param \SplFileInfo|string $file <ide> * @param string $name <ide> * @param array $headers <del> * @param null|string $contentDisposition <add> * @param ...
1
Python
Python
improve accuracy of to_cpu_str converter function
ae315fa426fca0e2013e8fbcbebce37f7d424385
<ide><path>libcloud/utils/misc.py <ide> def to_cpu_str(n_cpus): <ide> """Convert number of cpus to cpu string <ide> (e.g. 0.5 -> '500m') <ide> """ <del> millicores = int(n_cpus * 1000) <add> if n_cpus == 0: <add> return "0" <add> millicores = n_cpus * 1000 <ide> if millicores % 1 == 0: <...
1
Javascript
Javascript
remove event flags
b314d66a911819de88549d3f37866c3ebc191ea2
<ide><path>packages/ember-metal/lib/events.js <ide> import { applyStr } from 'ember-utils'; <ide> import { ENV } from 'ember-environment'; <ide> import { deprecate, assert } from 'ember-debug'; <ide> import { meta as metaFor, peekMeta } from './meta'; <del>import { ONCE } from './meta_listeners'; <ide> <ide> /* <ide> ...
2
Text
Text
fix typo in contributing.md
565d2ce0515495e696c52738cb177474a37d8d42
<ide><path>CONTRIBUTING.md <ide> You can contribute in many ways: <ide> <ide> ### Report Bugs <ide> <del>Report bugs through Gihub <add>Report bugs through Github <ide> <ide> If you are reporting a bug, please include: <ide>
1
Javascript
Javascript
stabilize window ci
02aa7b28da4a31fe51dff2ab25d7751c576a7d47
<ide><path>test/integration/ssg-data-404/test/index.test.js <ide> const runTests = () => { <ide> } <ide> <ide> describe('SSG data 404', () => { <add> if (process.platform === 'win32') { <add> it('should skip this suite on Windows', () => {}) <add> return <add> } <add> <ide> describe('dev mode', () => { <ide>...
1
PHP
PHP
add everyminute helper to event scheduler
166381480526e8d06a73a44032eb2a440f4bce4a
<ide><path>src/Illuminate/Console/Scheduling/Event.php <ide> public function yearly() <ide> return $this->cron('0 0 1 1 * *'); <ide> } <ide> <add> /** <add> * Schedule the event to run every minute. <add> * <add> * @return $this <add> */ <add> public function everyMinute() <add> { <add> return $this->cron('* *...
1
Text
Text
add release key for bryan english
bcc523e3891ee1896b77741b2b74476d314c88ad
<ide><path>README.md <ide> Primary GPG keys for Node.js Releasers (some Releasers sign with subkeys): <ide> <ide> * **Beth Griggs** <<bgriggs@redhat.com>> <ide> `4ED778F539E3634C779C87C6D7062848A1AB005C` <add>* **Bryan English** <<bryan@bryanenglish.com>> <add> `141F07595B7B3FFE74309A937405533BE57C7D57` <ide> * **C...
1
Text
Text
add atom.io api docs
40b66e8eb33939ed75f37f84da3287a3880f50de
<ide><path>docs/apm-rest-api.md <add>## Atom.io package and update API <add> <add>This guide describes the web API used by [apm](https://github.com/atom/apm) and <add>Atom. The vast majority of use cases are met by the `apm` command-line tool, <add>which does other useful things like incrementing your version in `packa...
2
Ruby
Ruby
remove extra whitespaces
099055de66ba400750d4cda7049c047aeb179ab7
<ide><path>actionpack/test/dispatch/show_exceptions_test.rb <ide> def call(env) <ide> end <ide> end <ide> <del> ProductionApp = ActionDispatch::ShowExceptions.new(Boomer.new, ActionDispatch::PublicExceptions.new("#{FIXTURE_LOAD_PATH}/public")) <add> ProductionApp = ActionDispatch::ShowExceptions.new(Boomer....
1
Javascript
Javascript
add a basic instrumentation api
134fc61b764ef5b464ab3ebef968716b7df5c50c
<ide><path>packages/ember-metal/lib/instrumentation.js <add>/** <add> @class Ember.Instrumentation <add> <add> The purpose of the Ember Instrumentation module is <add> to provide efficient, general-purpose instrumentation <add> for Ember. <add> <add> Subscribe to a listener by using `Ember.subscribe`: <add> <add> ...
3
Python
Python
restore use of dtype input arg to test
5605413eb575f1a25c24ea34a8f7c41f6702e2b4
<ide><path>numpy/core/tests/test_multiarray.py <ide> def __numpy_ufunc__(self, ufunc, method, pos, inputs, **kwargs): <ide> assert_raises(TypeError, c.dot, b) <ide> <ide> def test_accelerate_framework_sgemv_fix(self): <del> if sys.platform != 'darwin': <del> return <ide> <ide> de...
1
Javascript
Javascript
update other uses of .confirm for new async api
3d9f6bc6646f72411accfe7627d7cef9374db6c7
<ide><path>src/command-installer.js <ide> class CommandInstaller { <ide> const showErrorDialog = (error) => { <ide> this.applicationDelegate.confirm({ <ide> message: 'Failed to install shell commands', <del> detailedMessage: error.message <add> detail: error.message <ide> }, () => ...
3
PHP
PHP
remove the ones that should not apply
00fb848fe9cc7fdb1c118fb522971a12fada409e
<ide><path>src/Mailer/Mailer.php <ide> * @method Email addAttachments($attachments) <ide> * @method Email message($type = null) <ide> * @method Email profile($config = null) <del> * @method Email send($content = null) <del> * @method Email reset() <ide> */ <ide> abstract class Mailer implements EventListenerInterfa...
1
Text
Text
add 403 forbidden on post requests to faq
4e483fb07eb7ee58e41e6f82db2905e3c15faba6
<ide><path>README.md <ide> would like to see original, non-minified markup, add `app.locals.pretty = true;` <ide> <ide> FAQ <ide> --- <add>### Why do I keep getting `403 Error: Forbidden` on submitting a **POST** request? <add>You need to add this hidden input element to your form. This has been added in the <add>pull...
1
PHP
PHP
change exception type
b4f000516166b0694e842d64f5b2fde1167d4690
<ide><path>src/Illuminate/Foundation/ProviderRepository.php <ide> <ide> namespace Illuminate\Foundation; <ide> <add>use Exception; <ide> use Illuminate\Filesystem\Filesystem; <del>use Illuminate\Contracts\Filesystem\FileNotFoundException; <ide> use Illuminate\Contracts\Foundation\Application as ApplicationContract; <...
1
Javascript
Javascript
use separate feature flag for reacttestrenderer
13e05b4237819c028515d6dedec9c2d21324a198
<ide><path>scripts/jest/test-framework-setup.js <ide> jest.mock('ReactNativeFeatureFlags', () => { <ide> useFiber: flags.useFiber || !!process.env.REACT_DOM_JEST_USE_FIBER, <ide> }); <ide> }); <add>jest.mock('ReactTestRendererFeatureFlags', () => { <add> const flags = require.requireActual('ReactTestRendererFeat...
3
Ruby
Ruby
remove unnecessary `pathname` check
5e3bc855273d73d2c67704a640d0680afe059ff4
<ide><path>Library/Homebrew/resource.rb <ide> def unpack(target = nil) <ide> if block_given? <ide> yield ResourceStageContext.new(self, staging) <ide> elsif target <del> target = Pathname.new(target) unless target.is_a? Pathname <add> target = Pathname(target) <ide> target.inst...
1
Javascript
Javascript
add test for hiding children after layout destroy
a10a9a6b5b891dd3ce238bf39a6147bb0f3a1d2a
<ide><path>packages/react-reconciler/src/__tests__/ReactOffscreen-test.js <ide> describe('ReactOffscreen', () => { <ide> expect(root).toMatchRenderedOutput(<span hidden={true} prop="Child" />); <ide> }); <ide> <add> // @gate experimental || www <add> // @gate enableSuspenseLayoutEffectSemantics <add> // @gate...
2
PHP
PHP
fix file_map being regenerated on every request
b6caddcf49967a3ce289178d156645a691b1dfff
<ide><path>lib/Cake/bootstrap.php <ide> App::uses('Object', 'Core'); <ide> App::uses('Multibyte', 'I18n'); <ide> <add>App::$bootstrapping = true; <add> <ide> /** <ide> * Full URL prefix <ide> */ <ide> Configure::write('App.cssBaseUrl', CSS_URL); <ide> Configure::write('App.jsBaseUrl', JS_URL); <ide> <del>App::$boot...
1
Ruby
Ruby
call puts once instead of problems.size + 2 times
b6631b9a150250c2f381912d3bd360ae1d72974c
<ide><path>Library/Homebrew/cmd/audit.rb <ide> def audit <ide> fa.audit <ide> <ide> unless fa.problems.empty? <del> puts "#{f.name}:" <del> fa.problems.each { |p| puts " * #{p}" } <del> puts <ide> formula_count += 1 <ide> problem_count += fa.problems.size <add> p...
1
Java
Java
improve jetty 10 check on client-side
94f56a2684a3f23cc0b64d93ee6e24acdbfca91f
<ide><path>spring-web/src/main/java/org/springframework/http/client/reactive/JettyClientHttpResponse.java <ide> import org.springframework.http.ResponseCookie; <ide> import org.springframework.lang.Nullable; <ide> import org.springframework.util.Assert; <del>import org.springframework.util.ClassUtils; <ide> import org....
1
Javascript
Javascript
fix rendertostaticmarkup invariant
4d1bfcc8e153fec6180324fa79006bc1c351ebd9
<ide><path>src/renderers/dom/server/ReactServerRendering.js <ide> var invariant = require('invariant'); <ide> * @return {string} the HTML markup <ide> */ <ide> function renderToStringImpl(element, makeStaticMarkup) { <del> invariant( <del> ReactElement.isValidElement(element), <del> 'renderToString(): You must...
2
PHP
PHP
apply fixes from styleci
59cf9c7bf2ba8e11b8f8ba5f48646d05c2630038
<ide><path>tests/Http/Middleware/CacheTest.php <ide> public function testDoNotSetHeaderWhenNoContent() <ide> <ide> public function testSetHeaderToFileEvenWithNoContent() <ide> { <del> $response = (new Cache)->handle(new Request, function () { <add> $response = (new Cache)->handle(new Request, fu...
1
PHP
PHP
normalize test results across windows and unix
4dcb2ee46dcc2382cb11cd28d773a0ca4582e58d
<ide><path>tests/Routing/RoutingControllerGeneratorTest.php <ide> public function testFullControllerCanBeCreated() <ide> { <ide> $gen = new ControllerGenerator($files = m::mock('Illuminate\Filesystem\Filesystem[put]')); <ide> $controller = file_get_contents(__DIR__.'/fixtures/controller.php'); <del> $files->shoul...
1
Text
Text
specify version of sprockets-rails this will be in
b6b4d6980b815555ae17da5a8006590eb53ec264
<ide><path>guides/source/asset_pipeline.md <ide> all requests for assets include digests. <ide> <ide> ### Raise an Error When an Asset is Not Found <ide> <del>If you are using a recent version of sprockets-rails you can configure what happens <add>If you are using sprockets-rails >= 3.2.0 you can configure what happe...
1
PHP
PHP
correct doc blocks
6c0c82f21c33d858e1e523d223ffcae73ebcd488
<ide><path>Cake/ORM/Behavior.php <ide> public function implementedEvents() { <ide> * <ide> * provides and alias->methodname map of which finders a behavior implements. Example: <ide> * <del> * [ <del> * 'this' => 'findThis', <del> * 'alias' => 'findMethodName' <del> * ] <add> * {{{ <add> * [ <add> * ...
1
Ruby
Ruby
add xcode 6.4 expectation
0d12e4e601c90a9e100aa6fd9d2ea9f8e1fdc2ab
<ide><path>Library/Homebrew/os/mac.rb <ide> def preferred_arch <ide> "6.3" => { :clang => "6.1", :clang_build => 602 }, <ide> "6.3.1" => { :clang => "6.1", :clang_build => 602 }, <ide> "6.3.2" => { :clang => "6.1", :clang_build => 602 }, <add> "6.4" => { :clang => "6.1", :clang_build => 602 }...
1
Text
Text
update python name in index.md
e9c01989175872975151c685570b0eaa56e36221
<ide><path>guide/spanish/nodejs/index.md <ide> import time <ide> <ide> **Node.js** <ide> <del>```node <add>```js <ide> function my_io_task() { <ide> setTimeout(function() { <ide> console.log('done');
1
Mixed
Ruby
fix incorrect assert_redirected_to failure message
1dacfbabf3bb1e0a9057dd2a016b1804e7fa38c0
<ide><path>actionpack/CHANGELOG.md <add>* Fix incorrect `assert_redirected_to` failure message for protocol-relative <add> URLs. <add> <add> *Derek Prior* <add> <ide> * Fix an issue where router can't recognize downcased url encoding path. <ide> <ide> Fixes #12269 <ide><path>actionpack/lib/action_control...
4
Ruby
Ruby
enforce https for apache.org
02cb05f22b4e66536409cd90dd7253d8ac7cd07d
<ide><path>Library/Homebrew/cmd/audit.rb <ide> def audit_urls <ide> problem "Github Pages links should be https:// (URL is #{homepage})." <ide> end <ide> <add> if homepage =~ %r[^http://[^/]*\.apache\.org/] <add> problem "Apache homepages should be https:// links (URL is #{homepage})." <add> end <...
1
Python
Python
add check for empty openssl-fips flag
f9b129ec6ba49cb3c6bfc135e470ec1008aade0f
<ide><path>configure.py <ide> def without_ssl_error(option): <ide> if options.openssl_no_asm and options.shared_openssl: <ide> error('--openssl-no-asm is incompatible with --shared-openssl') <ide> <del> if options.openssl_fips: <add> if options.openssl_fips or options.openssl_fips == '': <ide> error('FIPS...
1
Text
Text
remove reference to io.js
4079bfd462f129fc2384d1780793baf33c853a60
<ide><path>doc/api/process.md <ide> tarball. <ide> <ide> `process.release` contains the following properties: <ide> <del>* `name` {string} A value that will always be `'node'` for Node.js. For <del> legacy io.js releases, this will be `'io.js'`. <add>* `name` {string} A value that will always be `'node'`. <ide> * `s...
1
Ruby
Ruby
add namespace for test_unit generators
49c3ad7f7782274504fbe0818b9636d2b362a1a3
<ide><path>railties/lib/rails/generators/test_unit/controller/templates/functional_test.rb <ide> require 'test_helper' <ide> <add><% module_namespacing do -%> <ide> class <%= class_name %>ControllerTest < ActionController::TestCase <ide> <% if actions.empty? -%> <ide> # Replace this with your real tests. <ide> class...
4
Javascript
Javascript
use the expected import
3f5737eccd801f3f76fc42582d270900f82c05dc
<ide><path>examples/api-routes-apollo-server-and-client-auth/lib/user.js <ide> import crypto from 'crypto' <del>import uuidv4 from 'uuid/v4' <add>import { v4 as uuidv4 } from 'uuid' <ide> <ide> /** <ide> * User methods. The example doesn't contain a DB, but for real applications you must use a
1
Javascript
Javascript
remove invalid part of stream2-stderr-sync
c1bb88699058011cce8df12a5cf39354666f6ab2
<ide><path>test/simple/test-stream2-stderr-sync.js <ide> function parent() { <ide> }); <ide> } <ide> <del>function child0() { <del> // Just a very simple wrapper around TTY(2) <del> // Essentially the same as stderr, but without all the net stuff. <del> var Writable = require('stream').Writable; <del> var util =...
1
Text
Text
update dead jsx link to point to an extant page
8f55d94d407a445a6f27d007f20421210757d6b8
<ide><path>docs/docs/tutorial.md <ide> React.renderComponent( <ide> ); <ide> ``` <ide> <del>Its use is optional but we've found JSX syntax easier to use than plain JavaScript. Read more on the [JSX Syntax article](syntax.html). <add>Its use is optional but we've found JSX syntax easier to use than plain JavaScript. Re...
1
Text
Text
add s390 and ppc architecture labels
c659c9d2ab7e28072a007a006b75d3e7dbfa0e89
<ide><path>doc/onboarding-extras.md <ide> Please use these when possible / appropriate <ide> ### Other Labels <ide> <ide> * Operating system labels <del> * `os x`, `windows`, `solaris` <add> * `os x`, `windows`, `solaris`, `aix` <ide> * No linux, linux is the implied default <ide> * Architecture labels <del> * `a...
1
Ruby
Ruby
pass the parsed path from mapper to the strexp
333a4d09ab8b024b3d23618e9d668bef2bab1355
<ide><path>actionpack/lib/action_dispatch/routing/mapper.rb <ide> def initialize(set, scope, path, options) <ide> path_params = path_params ast <ide> @options = normalize_options!(options, path_params, ast) <ide> normalize_requirements!(path_params) <del> normalize_conditions!(pat...
2
PHP
PHP
fix connection binding
85e114a3a7173232078571e2a54c8c56f2e8ff5c
<ide><path>src/Illuminate/Queue/QueueServiceProvider.php <ide> protected function registerManager() <ide> <ide> $this->app->bindShared('queue.driver', function($app) <ide> { <del> return $app['queue']->driver(); <add> return $app['queue']->connection(); <ide> }); <ide> } <ide>
1
Go
Go
add testdaemonwithwrongkey test case
ef13dcd4dcbc613a9ea1e4a8af3d0220004ec0ab
<ide><path>integration-cli/docker_cli_daemon_test.go <ide> func TestDaemonUnixSockCleanedUp(t *testing.T) { <ide> <ide> logDone("daemon - unix socket is cleaned up") <ide> } <add> <add>func TestDaemonwithwrongkey(t *testing.T) { <add> type Config struct { <add> Crv string `json:"crv"` <add> D string `json:"d"` <a...
1
Ruby
Ruby
use keyword argument
e8c26e2da9a4888a801045d1681c13d434837ef7
<ide><path>Library/Homebrew/cmd/list.rb <ide> def list <ide> puts full_cask_names if full_cask_names.present? <ide> end <ide> elsif args.cask? <del> list_casks(args.named.to_casks, args) <add> list_casks(args.named.to_casks, args: args) <ide> elsif args.pinned? || args.versions? <ide> ...
1
Javascript
Javascript
add failing test for protected attrs with no value
32746fb694bfd70ca1f36bc6c0bdaafe78b43e36
<ide><path>tests/node/component-rendering-test.js <ide> QUnit.test("Component with dynamic value", function(assert) { <ide> assert.ok(html.match(/<h1>Hello World<\/h1>/)); <ide> }); <ide> <add>QUnit.test("Ensure undefined attributes requiring protocol sanitization do not error", function(assert) { <add> var compone...
1
Python
Python
prepare test/pseudo-tty/testcfg.py for python 3
6028f70a0a3c8b8ce527e682d9284f68dce9e091
<ide><path>test/pseudo-tty/testcfg.py <ide> import re <ide> import utils <ide> <add>try: <add> xrange # Python 2 <add>except NameError: <add> xrange = range # Python 3 <add> <ide> FLAGS_PATTERN = re.compile(r"//\s+Flags:(.*)") <ide> <ide> class TTYTestCase(test.TestCase): <ide> def IgnoreLine(self, str): ...
1
Go
Go
remove hack for downgrading docker 1.7 to 1.6
0abd7ba22998e2ad00091c4ddc0f9ea28625adfe
<ide><path>volume/local/local.go <ide> import ( <ide> "github.com/sirupsen/logrus" <ide> ) <ide> <del>// VolumeDataPathName is the name of the directory where the volume data is stored. <del>// It uses a very distinctive name to avoid collisions migrating data between <del>// Docker versions. <ide> const ( <del> Volu...
2
Ruby
Ruby
add appcast to checkable cask urls
bf03893227dd7602d14852ff4dd34325dd4840df
<ide><path>Library/Homebrew/livecheck/livecheck.rb <ide> def checkable_formula_urls(formula) <ide> <ide> def checkable_cask_urls(cask) <ide> urls = [] <add> urls << cask.appcast.to_s if cask.appcast <ide> urls << cask.url.to_s <ide> urls << cask.homepage if cask.homepage <ide> urls.com...
1
Javascript
Javascript
fix typo in description of selectedindex prop
3834cb5f6819c862504515219dea3a268323af9e
<ide><path>Libraries/Components/SegmentedControlIOS/SegmentedControlIOS.ios.js <ide> type Event = Object; <ide> * #### Programmatically changing selected index <ide> * <ide> * The selected index can be changed on the fly by assigning the <del> * selectIndex prop to a state variable, then changing that variable. <add...
1
Python
Python
add metric api changes
a47f5e231c51fe3f1e6212ca05a20286096bf2e0
<ide><path>keras/backend/tensorflow_backend.py <ide> def size(x, name=None): <ide> ``` <ide> <ide> """ <add> if is_symbolic(x): <add> with get_graph().as_default(): <add> return tf.size(x) <ide> return tf.size(x, name=name) <ide> <ide> <ide><path>keras/engine/base_layer.py <ide> def ...
8
PHP
PHP
fix stray whitespace error
fadebee87b7e68baf6a98a43227e544527185b55
<ide><path>src/Controller/Component/AuthComponent.php <ide> public function constructAuthorize() { <ide> unset($config['className']); <ide> } else { <ide> $class = $alias; <del> } <add> } <ide> $className = App::className($class, 'Auth', 'Authorize'); <ide> if (!class_exists($className)) { <ide>...
1
Javascript
Javascript
specify exe in the metadata
0ac07e7f32e5f855824b5cf85e86fe5f6c00862a
<ide><path>script/lib/create-windows-installer.js <ide> module.exports = packagedAppPath => { <ide> process.env.ATOM_UPDATE_URL_PREFIX || 'https://atom.io'; <ide> const options = { <ide> title: CONFIG.appName, <add> exe: CONFIG.executableName, <ide> appDirectory: packagedAppPath, <ide> authors: 'Gi...
1
Javascript
Javascript
maintain constructor descriptor
e0bc5a7361b1d29c3ed034155fd779ce6f44fb13
<ide><path>lib/internal/bootstrap_node.js <ide> const EventEmitter = NativeModule.require('events'); <ide> process._eventsCount = 0; <ide> <add> const origProcProto = Object.getPrototypeOf(process); <ide> Object.setPrototypeOf(process, Object.create(EventEmitter.prototype, { <del> constructor: { <d...
2
Ruby
Ruby
provide more info about system dupes
63846c7a929157842c1657dedcb76ce0ceb123ee
<ide><path>Library/Homebrew/formula.rb <ide> require 'download_strategy' <ide> require 'fileutils' <ide> <del> <add># Defines a URL and download method for a stable or HEAD build <ide> class SoftwareSpecification <ide> attr_reader :url, :specs, :using <ide> <ide> def detect_version <ide> end <ide> <ide> <add># Us...
1
Javascript
Javascript
destroy ember views in destroy-render-node hook
32d625b9ca0860bb29bb0bf425e9549449f814ad
<ide><path>packages/ember-htmlbars/lib/hooks/destroy-render-node.js <ide> */ <ide> <ide> export default function destroyRenderNode(renderNode) { <add> if (renderNode.emberView) { <add> renderNode.emberView.destroy(); <add> } <add> <ide> var state = renderNode.state; <ide> if (!state) { return; } <ide> <ide><...
7
Text
Text
add article for javascript string.startswith()
c3aec1aef2c3175445bcd5e42d542b2c541b7f34
<ide><path>guide/english/javascript/standard-objects/string/string-prototype-startswith/index.md <ide> title: String.prototype.startsWith <ide> --- <ide> ## String.prototype.startsWith <ide> <del>This is a stub. <a href='https://github.com/freecodecamp/guides/tree/master/src/pages/javascript/standard-objects/string/st...
1
Javascript
Javascript
use string.charat for character by index lookup
fdffec73c36a73443182b206595b239924d294cb
<ide><path>src/browser/ui/ReactMount.js <ide> var findComponentRootReusableArray = []; <ide> function firstDifferenceIndex(string1, string2) { <ide> var minLen = Math.min(string1.length, string2.length); <ide> for (var i = 0; i < minLen; i++) { <del> if (string1[i] !== string2[i]) { <add> if (string1.charAt(i...
1
Python
Python
use spaces instead of tabs
43165e87f293b52e3d4938b49124c82410afe335
<ide><path>numpy/core/tests/test_regression.py <ide> def check_mem_digitize(self,level=rlevel): <ide> <ide> def check_intp(self,level=rlevel): <ide> """Ticket #99""" <del> i_width = N.int_(0).nbytes*2 - 1 <del> N.intp('0x' + 'f'*i_width,16) <add> i_width = N.int_(0).nbytes*2 - 1 <add> N.intp(...
1
Ruby
Ruby
kill all subprocesses on timeout
4b369962d303ac832cbda43fbe40562375a23896
<ide><path>Library/Homebrew/test.rb <ide> rescue Exception => e # rubocop:disable Lint/RescueException <ide> error_pipe.puts e.to_json <ide> error_pipe.close <add> pid = Process.pid.to_s <add> if which("pgrep") && which("pkill") && system("pgrep", "-qP", pid) <add> $stderr.puts "Killing child processes..." <ad...
1
Text
Text
use correct variables for challenge
5f6595b7dc8c0cabd518a64346090785ce83f5ae
<ide><path>curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use-destructuring-assignment-to-assign-variables-from-nested-objects.english.md <ide> challengeType: 1 <ide> We can similarly destructure <em>nested</em> objects into variables. <ide> Consider the following code: <ide> <blockquote...
1
Python
Python
add requirespvopskernel to test options
d214bf6323623bbcc771c8987286a4a7104a085a
<ide><path>test/test_linode.py <ide> def _avail_linodeplans(self, method, url, body, headers): <ide> return (httplib.OK, body, {}, httplib.responses[httplib.OK]) <ide> <ide> def _avail_distributions(self, method, url, body, headers): <del> body = '{"ERRORARRAY":[],"ACTION":"avail.distributions",...
1
PHP
PHP
remove unneeded use statements
7af1654b1d833853a5bf76462547f01039250353
<ide><path>src/Database/Expression/CaseExpression.php <ide> namespace Cake\Database\Expression; <ide> <ide> use Cake\Database\ExpressionInterface; <del>use Cake\Database\Expression\QueryExpression; <ide> use Cake\Database\ValueBinder; <ide> <ide> /** <ide><path>src/Datasource/QueryTrait.php <ide> use Cake\Datasource\...
12
Text
Text
add some notes on security in server-side apps
e402e60e2cf6f20ac8e9eebeb10fd80fa97f38cd
<ide><path>docs/recipes/ServerRendering.md <ide> function handleRender(req, res) { <ide> <ide> Because we `res.send()` inside of the callback, the server will hold open the connection and won’t send any data until that callback executes. You’ll notice a 500ms delay is now added to each server request as a result of ou...
1
Ruby
Ruby
remove unnecessary test
f7fd680a6de195d78286332c6021afe068ad6bd6
<ide><path>railties/lib/rails/commands/server/server_command.rb <ide> def rack_server_suggestion(server) <ide> Run `rails server --help` for more options. <ide> MSG <ide> else <del> suggestions = Rails::Command::Spellchecker.suggest(server, from: RACK_SERVERS) <add> ...
2
Text
Text
add solutions to responsive web design principles
9b9a96234f1eb3000f71d21264faae20f8cb9f7c
<ide><path>curriculum/challenges/english/01-responsive-web-design/responsive-web-design-principles/make-an-image-responsive.english.md <ide> tests: <ide> ## Solution <ide> <section id='solution'> <ide> <del>```js <del>// solution required <add>```html <add><style> <add> img { <add> max-width: 100%; <add> display: ...
3
Mixed
Ruby
fix a bug affecting validations of enum attributes
6e53d92498ada27cea6c7bae85708fcf5579223c
<ide><path>activerecord/CHANGELOG.md <add>* Fixed error with validation with enum fields for records where the <add> value for any enum attribute is always evaluated as 0 during <add> uniqueness validation. <add> <add> Fixes #14172 <add> <add> *Vilius Luneckas* *Ahmed AbouElhamayed* <add> <ide> * `before_...
3
Ruby
Ruby
use @app_env_config instead of @env_config
862389c9537dbb6f65fd26c4325e07607ed437b5
<ide><path>railties/lib/rails/application.rb <ide> def key_generator <ide> # * "action_dispatch.encrypted_signed_cookie_salt" => config.action_dispatch.encrypted_signed_cookie_salt <ide> # <ide> def env_config <del> @env_config ||= begin <add> @app_env_config ||= begin <ide> if config.se...
1
Python
Python
add disable_fields to wandb_logger
1d8c4070aae601d1161f74284f857e9bc476050a
<ide><path>spacy/gold/loggers.py <ide> from typing import Dict, Any, Tuple, Callable <ide> <ide> from ..util import registry <add>from .. import util <ide> from ..errors import Errors <ide> from wasabi import msg <ide> <ide> def finalize(): <ide> <ide> <ide> @registry.loggers("spacy.WandbLogger.v1") <del>def wandb_...
1
Javascript
Javascript
initialize instance members in class constructors
b1c3909bd766327a569c2e4279a4670454f3f9db
<ide><path>lib/internal/abort_controller.js <ide> function abortSignal(signal) { <ide> signal.dispatchEvent(event); <ide> } <ide> <add>// TODO(joyeecheung): V8 snapshot does not support instance member <add>// initializers for now: <add>// https://bugs.chromium.org/p/v8/issues/detail?id=10704 <add>const kSignal = Sy...
2
Python
Python
add secrets to test_deprecated_packages
bdb83699f1f651dcf847e989227f5b6019fc1e71
<ide><path>tests/test_project_structure.py <ide> def test_reference_to_providers_from_core(self): <ide> self.assert_file_not_contains(filename, "providers") <ide> <ide> def test_deprecated_packages(self): <del> for directory in ["operator", "hooks", "sensors", "task_runner"]: <add> for di...
1
Javascript
Javascript
add 惠首尔(huiseoul) to showcase
2ee910a11ae02d1aca9228cc110e24f8f1f18a92
<ide><path>website/src/react-native/showcase.js <ide> var featured = [ <ide> infoLink: 'https://artsy.github.io/series/react-native-at-artsy/', <ide> infoTitle: 'React Native at Artsy', <ide> }, <add> { <add> name: 'Huiseoul(惠首尔)', <add> icon: 'https://cdn.huiseoul.com/icon.png', <add> linkAppStore:...
1
Text
Text
improve buffer() text
d74919cc1a47f4f40766ba7f37ab434db246e700
<ide><path>doc/api/buffer.md <ide> In versions of Node.js prior to 6.0.0, `Buffer` instances were created using the <ide> `Buffer` constructor function, which allocates the returned `Buffer` <ide> differently based on what arguments are provided: <ide> <del>* Passing a number as the first argument to `Buffer()` (e.g. ...
1
Ruby
Ruby
add an asset_host accessor for consistency
71375c8936696d8d7404e02ff84e3dbde3d57029
<ide><path>actionpack/lib/action_controller/base.rb <ide> def self.subclasses <ide> @subclasses ||= [] <ide> end <ide> <del> # TODO Move this to the appropriate module <del> config_accessor :asset_path <add> config_accessor :asset_host, :asset_path <ide> <ide> ActiveSupport.run_load_hooks(:acti...
1
Go
Go
fix an issue trying to pull specific tag
49505c599b3a65196b6b6f746f4bfad3a417dd7a
<ide><path>builder_client.go <ide> func (b *builderClient) clearTmp(containers, images map[string]struct{}) { <ide> func (b *builderClient) CmdFrom(name string) error { <ide> obj, statusCode, err := b.cli.call("GET", "/images/"+name+"/json", nil) <ide> if statusCode == 404 { <del> if err := b.cli.hijack("POST", "/im...
2
Javascript
Javascript
fix eslint issues
2bef01fc9c151931a685e2e1a4e0436f85fe8122
<ide><path>test/unit/src/math/Quaternion.tests.js <ide> export default QUnit.module( 'Maths', () => { <ide> <ide> QUnit.test( "_onChange", ( assert ) => { <ide> <del> <add> var b = false; <ide> var f = function () { <ide> <del> var b = true; <add> b = true; <ide> <ide> }; <ide> <ide> var a = new...
1
PHP
PHP
fix failing test
c0e896016017acf30b1e531e4073b27487d2e91a
<ide><path>tests/TestCase/ORM/QueryTest.php <ide> public function testSelectLargeNumbers() <ide> { <ide> $this->loadFixtures('Datatypes'); <ide> <del> $big = '1234567890123456789'; <add> $big = 1234567890123456789.2; <ide> $table = TableRegistry::get('Datatypes'); <del> $entity...
1
Python
Python
add test for m2m create
f72be7b8faf4489c904bb6df97d51274872315bb
<ide><path>rest_framework/tests/pk_relations.py <ide> def test_reverse_many_to_many_update(self): <ide> ] <ide> self.assertEquals(serializer.data, expected) <ide> <add> def test_many_to_many_create(self): <add> data = {'id': 4, 'name': u'source-4', 'targets': [1, 3]} <add> serializer =...
1
Java
Java
add cbor codec (single value only)
5cd67631939fb7e55e580d17601948808a03006b
<ide><path>spring-web/src/main/java/org/springframework/http/codec/cbor/Jackson2CborDecoder.java <add>/* <add> * Copyright 2002-2019 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 License. <a...
4