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
Javascript
Javascript
update forum links in navlinks
34c26c495001095f606499da9a16ac181398687e
<ide><path>client/src/components/Header/Header.test.js <ide> describe('<NavLinks />', () => { <ide> return acc; <ide> }, []); <ide> <del> const expectedLinks = ['/learn', '/news', '/forum']; <add> const expectedLinks = ['/learn', '/news', 'https://forum.freecodecamp.org']; <ide> <ide> it('renders to the DOM...
2
Python
Python
handle hddtemp error
c6c32513dc137264a5fadaeff7aceeb8d396a3b4
<ide><path>glances/plugins/glances_hddtemp.py <ide> def __update__(self): <ide> offset = item * 5 <ide> hddtemp_current = {} <ide> device = os.path.basename(nativestr(fields[offset + 1])) <del> temperature = float(fields[offset + 3]) <add> temperature = fields[o...
2
Ruby
Ruby
enable flipper for custom xcode configurations
1bc9ddbce393be9466cb87124d3e34a19abb8e5d
<ide><path>scripts/cocoapods/__tests__/flipper-test.rb <ide> def test_postInstall_updatesThePodCorrectly <ide> <ide> reactCore_target = installer.target_with_name("React-Core") <ide> reactCore_target.build_configurations.each do |config| <del> if config.name == 'Debug' then <add> ...
3
Ruby
Ruby
restore memoization when preloading associations
89711d99b08b5ace8aa5b7394e2ccedb302d118f
<ide><path>activerecord/lib/active_record/reflection.rb <ide> def compute_class(name) <ide> <ide> def initialize(name, scope, options, active_record) <ide> super <del> @automatic_inverse_of = nil <ide> @type = options[:as] && (options[:foreign_type] || "#{options[:as]}_type") <ide>...
1
Python
Python
add learning rate summary in eval mode in model.py
bfd15ec1482bd1fa370da3e78ed58d47280c5bca
<ide><path>research/object_detection/model_lib.py <ide> def tpu_scaffold(): <ide> losses.append(regularization_loss) <ide> losses_dict['Loss/regularization_loss'] = regularization_loss <ide> total_loss = tf.add_n(losses, name='total_loss') <add> losses_dict['Loss/total_loss'] = total_loss...
1
Ruby
Ruby
use cask with name for basic info command test
efbfb90c42b6c106ab71c7a5340e05b81e7a133b
<ide><path>Library/Homebrew/test/cask/cmd/home_spec.rb <ide> <ide> it "works for multiple Casks" do <ide> expect(described_class).to receive(:open_url).with("https://brew.sh/") <del> expect(described_class).to receive(:open_url).with("https://brew.sh/") <add> expect(described_class).to receive(:open_url).w...
4
Text
Text
fix links in getting started docs
adf31a19147a238541bf3b5996e532d8bdf22c87
<ide><path>docs/Basics/Getting Started.md <ide> let boundAddTodo = text => dispatch(addTodo(text)); <ide> let boundRemoveTodo = id => dispatch(addTodo(id)); <ide> ``` <ide> <del>The `dispatch()` function can be accessed directly from the store as `store.dispatch()`, but more likely you’ll access it using a helper like...
1
Ruby
Ruby
improve documentation for connectionpool
5e4be17c3ac5f50496520049117c809fde35a568
<ide><path>activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb <ide> module ConnectionAdapters <ide> # Connection pool base class for managing ActiveRecord database <ide> # connections. <ide> # <add> # A connection pool synchronizes thread access to a limited number of <add> ...
1
PHP
PHP
refactor some code
30373c0685fdb06de8333cf8f19fa12e33094577
<ide><path>src/Illuminate/Database/Eloquent/Collection.php <ide> protected function buildDictionary() <ide> */ <ide> public function modelKeys() <ide> { <del> if(count($this->dictionary) === 0) <del> { <del> $this->buildDictionary(); <del> } <add> if (count($this->dictionary) === 0) $this->buildDictionary(); ...
1
Ruby
Ruby
fix parens warning in ajax test
70d0b7c87a492aef141859127d1b9fec6b4b09f3
<ide><path>actionpack/test/template/ajax_test.rb <ide> class AjaxTestCase < ActiveSupport::TestCase <ide> <ide> def assert_html(html, matches) <ide> matches.each do |match| <del> assert_match Regexp.new(Regexp.escape(match)), html <add> assert_match(Regexp.new(Regexp.escape(match)), html) <ide> end...
1
Text
Text
amend the changelog
b53da9e90b697d5ed648e34db1ed9219d2f2feb9
<ide><path>activejob/CHANGELOG.md <add>## Rails 5.1.0.alpha ## <add> <add>* Added declarative exception handling via ActiveJob::Base.retry_on and ActiveJob::Base.discard_on. <add> <add> Examples: <add> <add> class RemoteServiceJob < ActiveJob::Base <add> retry_on CustomAppException # defaults to 3...
1
PHP
PHP
remove deprecated code used in fixtures
ecf162c5413d93bd8b9edfc39e244127b6e556d7
<ide><path>src/Datasource/TableSchemaInterface.php <del><?php <del>/** <del> * CakePHP(tm) : Rapid Development Framework (https://cakephp.org) <del> * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) <del> * <del> * Licensed under The MIT License <del> * For full copyright and license informati...
5
Text
Text
fix spelling error
d138ab9d778572807de265afd3bf3f27669ea7a3
<ide><path>guide/english/agile/delivery-team/index.md <ide> A scrum team is made up of the Product Owner (PO), the Scrum Master (SM), and th <ide> <ide> The delivery team is everyone but the PO and SM; the developers, testers, system analysts, database analysts, UI / UX analysts, and so on. <ide> <del>For a scrum del...
1
Javascript
Javascript
add callback to fs.close() in test-fs-chmod
712596fc45794dacf428a525081338546b0b8291
<ide><path>test/parallel/test-fs-chmod.js <ide> fs.open(file2, 'a', common.mustCall((err, fd) => { <ide> assert.strictEqual(mode_sync, fs.fstatSync(fd).mode & 0o777); <ide> } <ide> <del> fs.close(fd); <add> fs.close(fd, assert.ifError); <ide> })); <ide> })); <ide>
1
Ruby
Ruby
drop todo that nobody has ever worked on
33f344bdd42eb22733645b5adc22a723045b0f75
<ide><path>Library/Homebrew/utils.rb <ide> def uri_escape(query) <ide> end <ide> <ide> def issues_for_formula name <del> # bit basic as depends on the issue at github having the exact name of the <del> # formula in it. Which for stuff like objective-caml is unlikely. So we <del> # really should search for...
1
Javascript
Javascript
fix a typo in monday
7ddde05056bcc7ebb3a43fa502c60bce91edbbb7
<ide><path>src/locale/ar-ma.js <ide> import moment from '../moment'; <ide> export default moment.defineLocale('ar-ma', { <ide> months : 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'), <ide> monthsShort : 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'....
2
Text
Text
fix curl response
4599cd97cbbfd2f569408cbadef3a3753d19f406
<ide><path>docs/tutorial/4-authentication-and-permissions.md <ide> We can make a successful request by including the username and password of one o <ide> <ide> curl -X POST http://127.0.0.1:8000/snippets/ -d "code=print 789" -u tom:password <ide> <del> {"url": "http://127.0.0.1:8000/snippets/5/", "highligh...
1
Java
Java
add top offset for react loading view on kitkat
7ff6657985a09bd2572615d16403fba3af709859
<ide><path>ReactAndroid/src/main/java/com/facebook/react/devsupport/DevLoadingViewController.java <ide> import android.app.Activity; <ide> import android.content.Context; <ide> import android.graphics.Color; <add>import android.graphics.Rect; <add>import android.os.Build; <ide> import android.view.Gravity; <ide> import...
1
Go
Go
support docker diff
4fac603682747476a12dba0df79c10e919eddefb
<ide><path>daemon/changes.go <ide> package daemon <ide> <ide> import ( <add> "errors" <add> "runtime" <ide> "time" <ide> <ide> "github.com/docker/docker/pkg/archive" <ide> func (daemon *Daemon) ContainerChanges(name string) ([]archive.Change, error) { <ide> return nil, err <ide> } <ide> <add> if runtime.GOOS ==...
2
Ruby
Ruby
add tests for language/python
3ce4caeb1aa8d5b9cd818bc114b4810b717ced3b
<ide><path>Library/Homebrew/test/language/python_spec.rb <ide> require "language/python" <ide> require "resource" <ide> <add>describe Language::Python, :needs_python do <add> describe "#major_minor_version" do <add> it "returns a Version for Python 2" do <add> expect(subject).to receive(:major_minor_version)....
1
Javascript
Javascript
use fqdn for img[src]
a22596c925a41c6f9b78cb21e18894987bbbc84b
<ide><path>test/ng/compileSpec.js <ide> describe('$compile', function() { <ide> $rootScope.$apply(); <ide> expect(element.attr('src')).toBe('#foo'); <ide> <del> $rootScope.testUrl = "http://foo/bar"; <add> $rootScope.testUrl = "http://foo.com/bar"; <ide> $rootScope.$apply(); <del> expe...
1
Ruby
Ruby
add a missing require
3af8a91c384761ab8772c57ab1ee0ea1b8fe69e7
<ide><path>railties/test/rack_logger_test.rb <add>require 'abstract_unit' <ide> require 'active_support/testing/autorun' <ide> require 'active_support/test_case' <ide> require 'rails/rack/logger'
1
Javascript
Javascript
remove extra space
b5b0357dca98233981c00523943f95388084d5b2
<ide><path>pdf.js <ide> var PartialEvaluator = (function() { <ide> } <ide> } <ide> <del> // TODO implement default widths for standard fonts metrics <add> // TODO implement default widths for standard fonts metrics <ide> var defaultWidth = 1000; <ide> var widths = Metri...
1
Java
Java
update resttemplate javadoc
c4d7976c371ea4ed9e596439a22486eed7941767
<ide><path>spring-web/src/main/java/org/springframework/web/client/RestTemplate.java <ide> * <tr><td>any</td><td>{@link #exchange}</td></tr> <ide> * <tr><td></td><td>{@link #execute}</td></tr> </table> <ide> * <del> * <p>The {@code exchange} and {@code execute} methods are generalized versions of the more specific m...
1
Text
Text
add corrected text
b1ee46d2035d5d8cb25e3d9183685ee457f59739
<ide><path>guide/russian/css/css3-nth-child-selector/index.md <ide> title: CSS3 Nth Child Selector <ide> localeTitle: CSS3 N-й детский селектор <ide> --- <del>## CSS3 N-й детский селектор <add>## CSS3 Nth Child селектор <ide> <del>Селектор `nth-child` - это css psuedo-class, в котором используется шаблон, позволяющий ...
1
Javascript
Javascript
improve unicode handling
fedc31bb3c46511d1fd1c906ee149d60f1c51bbf
<ide><path>lib/readline.js <ide> Interface.prototype._wordLeft = function() { <ide> Interface.prototype._wordRight = function() { <ide> if (this.cursor < this.line.length) { <ide> var trailing = this.line.slice(this.cursor); <del> var match = trailing.match(/^(?:\s+|\W+|\w+)\s*/); <add> var match = trailing...
2
Ruby
Ruby
remove unused callbacks in the `topic` model
b33ccaa6c335e2ce482c9de1aa05e4a612aa84bc
<ide><path>activerecord/test/models/topic.rb <ide> def topic_id <ide> <ide> alias_attribute :heading, :title <ide> <del> before_validation :before_validation_for_transaction <ide> before_save :before_save_for_transaction <del> before_destroy :before_destroy_for_transaction <ide> <ide> after_save :after_save_...
1
Python
Python
remove unused token_type_ids in mpnet
8eba1f8ca84c9558e3873b3181086d98852747f1
<ide><path>src/transformers/models/mpnet/modeling_mpnet.py <ide> def forward( <ide> self, <ide> input_ids=None, <ide> attention_mask=None, <del> token_type_ids=None, <ide> position_ids=None, <ide> head_mask=None, <ide> inputs_embeds=None, <ide> def forward( <ide> ...
4
Javascript
Javascript
update chrome.tabs.executescriptinframe dependency
18e4d32c114014af4d6aae215c635fd2560c6ee6
<ide><path>extensions/chromium/chrome.tabs.executeScriptInFrame.js <ide> var callbacks = {}; <ide> <ide> chrome.webRequest.onBeforeRequest.addListener(function showFrameId(details) { <ide> // Positive integer frameId >= 0 <del> // Since an image is used as a data transport, we add 1 to get a non-zero height. <a...
1
Text
Text
add the description
8192a989afc251788c471b2b81acadd8d5b97d99
<ide><path>guide/russian/css/css-position/index.md <ide> localeTitle: Позиция CSS <ide> Свойство position указывает тип метода позиционирования, используемый для элемента. Он имеет 5 значений ключевых слов: <ide> <ide> ```css <del>.static { position: static; } // default value <del> .relative { position...
1
PHP
PHP
make use of the instance config trait
b81ebffeb4b207f36a675433b6ccd218228b53c0
<ide><path>src/Controller/Component.php <ide> */ <ide> namespace Cake\Controller; <ide> <add>use Cake\Core\InstanceConfigTrait; <ide> use Cake\Core\Object; <ide> use Cake\Event\Event; <ide> use Cake\Event\EventListener; <ide> */ <ide> class Component extends Object implements EventListener { <ide> <add> use Instanc...
7
Text
Text
add the syntax
f6494ac55535e82da85b996072b4ed42afba0508
<ide><path>guide/english/html/attributes/a-target-attribute/index.md <ide> title: A Target Attribute <ide> The `<a target>` attribute specifies where to open the linked document in an `a` (anchor) tag. <ide> <br> <ide> <add>#### Syntax <add> <add>```html <add> <a target="_blank|_self|_parent|_top|framname"> <a...
1
Text
Text
add docs for router.back and router.reload
960c18da53af89115c7e96dc8188646a51c53c15
<ide><path>docs/api-reference/next/router.md <ide> Router.beforePopState(({ url, as, options }) => { <ide> <ide> If the function you pass into `beforePopState` returns `false`, `Router` will not handle `popstate` and you'll be responsible for handling it, in that case. See [Disabling file-system routing](/docs/advance...
1
Go
Go
add wait() calls in the appropriate spots
92e41a02ce40c7d3446b8ca7ec5c5671ac3d8917
<ide><path>daemon/container.go <ide> func (container *Container) Stop(seconds int) error { <ide> log.Printf("Container %v failed to exit within %d seconds of SIGTERM - using the force", container.ID, seconds) <ide> // 3. If it doesn't, then send SIGKILL <ide> if err := container.Kill(); err != nil { <add> conta...
4
Ruby
Ruby
support jruby external dependencies
cfc8fca74d642d5b09d8b45a802f3114948ed32f
<ide><path>Library/Homebrew/formula.rb <ide> def aka *args <ide> <ide> def depends_on name <ide> @deps ||= [] <del> @external_deps ||= {:python => [], :ruby => [], :perl => []} <add> @external_deps ||= {:python => [], :perl => [], :ruby => [], :jruby => []} <ide> <ide> case name <ide> ...
3
Go
Go
fix port forwarding with ipv6.disable=1
325668315cef185fcec282fc67ed96b753c339c2
<ide><path>libnetwork/drivers/bridge/port_mapping.go <ide> import ( <ide> "errors" <ide> "fmt" <ide> "net" <add> "sync" <ide> <ide> "github.com/docker/libnetwork/types" <ide> "github.com/ishidawataru/sctp" <ide> func (n *bridgeNetwork) allocatePortsInternal(bindings []types.PortBinding, cont <ide> bs = append(...
2
Text
Text
fix time documentation
ca9d3175c5fa9da69434cf7ed40b299fd221b667
<ide><path>docs/axes/cartesian/time.md <ide> The time scale is used to display times and dates. When building its ticks, it w <ide> <ide> ### Input Data <ide> <del>The x-axis data points may additionally be specified via the `t` attribute when using the time scale. <add>The x-axis data points may additionally be spec...
1
Python
Python
preserve types of empty arrays when known
24960daf3e326591047eb099af840da6e95d0910
<ide><path>numpy/lib/index_tricks.py <ide> def ix_(*args): <ide> out = [] <ide> nd = len(args) <ide> for k, new in enumerate(args): <del> new = asarray(new) <add> if not isinstance(new, _nx.ndarray): <add> new = asarray(new) <add> if new.size == 0: <add> # ...
2
Javascript
Javascript
pass disabled prop down to native implementation
fa9ff07017edbc76595fe2f2d964ee13c5f4088a
<ide><path>Libraries/Components/Slider/Slider.js <ide> const Slider = ( <ide> return ( <ide> <SliderNativeComponent <ide> {...localProps} <add> // TODO: Reconcile these across the two platforms. <ide> enabled={!disabled} <add> disabled={disabled} <ide> maximumValue={maximumValue} <ide>...
1
Text
Text
fix minor typo
672e5a0f96c4e860f4eeee85f9cd26c8c4070d63
<ide><path>docs/api-guide/fields.md <ide> This field is used by default with `ModelSerializer` when including field names <ide> <ide> **Signature**: `ReadOnlyField()` <ide> <del>For example, is `has_expired` was a property on the `Account` model, then the following serializer would automatically generate it as a `Rea...
1
Javascript
Javascript
add regression test for keepalive 'end' event
b3172f834f418f4f2656d851e585f17aece73333
<ide><path>test/parallel/test-http-server-keepalive-end.js <add>'use strict'; <add> <add>const common = require('../common'); <add>const { createServer } = require('http'); <add>const { connect } = require('net'); <add> <add>const server = createServer(common.mustCall((req, res) => { <add> req.on('end', common.mustCal...
1
Javascript
Javascript
fix concat error message
4f094c0ae60beb8a3eb569a6a2d8c608bff1dbeb
<ide><path>lib/buffer.js <ide> Buffer[kIsEncodingSymbol] = Buffer.isEncoding; <ide> Buffer.concat = function concat(list, length) { <ide> let i; <ide> if (!Array.isArray(list)) { <del> throw new ERR_INVALID_ARG_TYPE( <del> 'list', ['Array', 'Buffer', 'Uint8Array'], list); <add> throw new ERR_INVALID_ARG_...
2
PHP
PHP
add fallback_locale to config
b5d60260fbf7fe1b0592b127dbf4e8082962897f
<ide><path>app/config/app.php <ide> <ide> 'locale' => 'en', <ide> <add> /* <add> |-------------------------------------------------------------------------- <add> | Application Fallback Locale <add> |-------------------------------------------------------------------------- <add> | <add> | The fallback locale determ...
1
Python
Python
fix deprecation messages in airflow.utils.helpers
583f21304021cf95121168b4e6d9872ba7e25452
<ide><path>airflow/utils/helpers.py <ide> def partition(pred: Callable, iterable: Iterable): <ide> <ide> <ide> def chain(*args, **kwargs): <del> """This module is deprecated. Please use `airflow.models.baseoperator.chain`.""" <add> """This function is deprecated. Please use `airflow.models.baseoperator.chain`."...
1
Javascript
Javascript
reduce deplicated codes in `autoescapestr`
3cef3e61d647d3dd2107087d876a3a02e0c3961e
<ide><path>benchmark/url/url-parse.js <add>'use strict'; <add>const common = require('../common.js'); <add>const url = require('url'); <add> <add>const inputs = { <add> normal: 'http://foo.com/bar', <add> escaped: 'https://foo.bar/{}^`/abcd' <add>}; <add> <add>const bench = common.createBenchmark(main, { <add> type:...
2
Ruby
Ruby
implement new bottle syntax in formula.rb
aa91bd27d20a34ca5337639c7e97d7a38e048bd7
<ide><path>Library/Homebrew/formula.rb <ide> def bottle url=nil, &block <ide> eval <<-EOCLASS <ide> module BottleData <ide> def self.url url; @url = url; end <del> def self.sha1 sha1; @sha1 = sha1; end <del> def self.return_data; [@url,@sha1]; end <add> def self.sha1...
1
PHP
PHP
improve missing template errors
78d6e1ba5fec5a5707453ed0685057cd57e8b533
<ide><path>src/View/Cell.php <ide> public function render(?string $template = null): string <ide> $attributes = $e->getAttributes(); <ide> throw new MissingCellTemplateException( <ide> $name, <del> basename($attributes['file']), <add> ...
5
Text
Text
mark napi_auto_length as code
a1bab826c49e880c3771146dd916076b8a223431
<ide><path>doc/api/n-api.md <ide> NAPI_NO_RETURN void napi_fatal_error(const char* location, <ide> <ide> - `[in] location`: Optional location at which the error occurred. <ide> - `[in] location_len`: The length of the location in bytes, or <del>NAPI_AUTO_LENGTH if it is null-terminated. <add>`NAPI_AUTO_LENGTH` if it i...
1
Ruby
Ruby
generalize frozenerror on write attribute
1f08fec27e14092bdbe7c6cde9d33d1bd9faa057
<ide><path>activemodel/lib/active_model/attribute_set.rb <ide> def write_from_database(name, value) <ide> end <ide> <ide> def write_from_user(name, value) <add> raise FrozenError, "can't modify frozen attributes" if frozen? <ide> attributes[name] = self[name].with_value_from_user(value) <ide> en...
4
Javascript
Javascript
remove dependencies from inner graph
8cbb4ed72c66cf0342d17d31cfe4ef4ace199dc8
<ide><path>lib/dependencies/HarmonyImportDependencyParserPlugin.js <ide> module.exports = class HarmonyImportDependencyParserPlugin { <ide> return true; <ide> } <ide> ); <del> /** <del> * @param {HarmonyImportSpecifierDependency} dep dependency <del> * @returns {void} <del> */ <del> const addDepToInner...
4
Python
Python
add unit test for negative complex powers
15dea0280a1c9eaf6acfd488679ab60ca88671c0
<ide><path>numpy/core/tests/test_umath.py <ide> def check_power_complex(self): <ide> assert_equal(x**1, x) <ide> assert_equal(x**2, [-3+4j, -5+12j, -7+24j]) <ide> assert_almost_equal(x**(-1), [1/(1+2j), 1/(2+3j), 1/(3+4j)]) <add> assert_almost_equal(x**(-3), [(-11+2j)/125, (-46-9j)/2197, ...
1
Javascript
Javascript
handle double and triple click on lines
2996500d9027804358b8e1a0c746ee99425dabe2
<ide><path>spec/text-editor-component-spec.js <ide> describe('TextEditorComponent', () => { <ide> }) <ide> <ide> describe('mouse input', () => { <del> it('positions the cursor on single click', async () => { <add> it('positions the cursor on single-click', async () => { <ide> const {component, element,...
2
Python
Python
change doc string for rpn_box_predictor_features
4dcc11d1e192277009701b64792a78fb9e4266f2
<ide><path>research/object_detection/meta_architectures/faster_rcnn_meta_arch.py <ide> def _extract_rpn_feature_maps(self, preprocessed_inputs): <ide> <ide> Returns: <ide> rpn_box_predictor_features: A list of 4-D float32 tensor with shape <del> [batch, height, width, depth] to be used for predicting ...
1
Python
Python
use optiongroup to separate worker arguments
55d4a4c3eb15640fbfcda016ffac79fa0252286a
<ide><path>celery/bin/base.py <ide> from collections import defaultdict <ide> from heapq import heappush <ide> from inspect import getargspec <del>from optparse import OptionParser, IndentedHelpFormatter, make_option as Option <add>from optparse import ( <add> OptionParser, OptionGroup, IndentedHelpFormatter, make_o...
6
Python
Python
fix layer __call__ kwargs update issue
edaa1d479dc27c30898bd00c09caf7c8a1ae1ed4
<ide><path>keras/engine/topology.py <ide> def __call__(self, inputs, **kwargs): <ide> <ide> # Handle mask propagation. <ide> previous_mask = _collect_previous_mask(inputs) <add> user_kwargs = copy.copy(kwargs) <ide> if not _is_all_none(previous_mask): <ide> ...
1
Javascript
Javascript
use fs-plus instead of fs in atomprotocolhandler
52631bab98becc59754fdfd5a491a5feb38243ff
<ide><path>src/main-process/atom-protocol-handler.js <ide> const {protocol} = require('electron') <del>const fs = require('fs') <add>const fs = require('fs-plus') <ide> const path = require('path') <ide> <ide> // Handles requests with 'atom' protocol.
1
PHP
PHP
fix method name
e057f68d5f3672ab4b63cc58b1c2d6ffd7adc4e6
<ide><path>src/Illuminate/Foundation/Auth/ResetsPasswords.php <ide> public function postReset(Request $request) <ide> <ide> $response = Password::reset($credentials, function($user, $password) <ide> { <del> $this->passwordReset($user, $password); <add> $this->resetPassword($user, $password); <ide> }); <ide> ...
1
Text
Text
add thredup to list of airflow users
817e1ac938667eef9cea4ae6d0502f3ec571bd4a
<ide><path>README.md <ide> Currently **officially** using Airflow: <ide> 1. [Thinking Machines](https://thinkingmachin.es) [[@marksteve](https://github.com/marksteve)] <ide> 1. [Thinknear](https://www.thinknear.com/) [[@d3cay1](https://github.com/d3cay1), [@ccson](https://github.com/ccson), & [@ababian](https://github....
1
Javascript
Javascript
remove unused methods
10490c947d4c4274f6d35c64ce962f450543b5f0
<ide><path>lib/Parser.js <ide> class Parser extends Tapable { <ide> }; <ide> } <ide> <del> parseStringArray(expression) { <del> if(expression.type !== "ArrayExpression") { <del> return [this.parseString(expression)]; <del> } <del> <del> const arr = []; <del> if(expression.elements) <del> for(const expr of e...
1
Javascript
Javascript
fix handling of flags 1-3 in tensor shading
6d1e0f7e8d1f220a602ad4ec05769a7f0223078d
<ide><path>src/core/pattern.js <ide> Shadings.Mesh = (function MeshClosure() { <ide> break; <ide> case 1: <ide> tmp1 = ps[12]; tmp2 = ps[13]; tmp3 = ps[14]; tmp4 = ps[15]; <del> ps[12] = pi + 5; ps[13] = pi + 4; ps[14] = pi + 3; ps[15] = pi + 2; <del> ps[ 8] = pi + 6; ps[...
1
Text
Text
use serial comma in util docs
5e6f9c3e346b196ab299a3fce485d7aa5fbf3802
<ide><path>doc/api/util.md <ide> changes: <ide> was not a string. <ide> - version: v11.4.0 <ide> pr-url: https://github.com/nodejs/node/pull/23708 <del> description: The `%d`, `%f` and `%i` specifiers now support Symbols <add> description: The `%d`, `%f`, and `%i` specifiers now support Sym...
1
Java
Java
kill @uiprop in favor of @reactprop
137a0b86113510b52cc931cc32f5b24f400115c1
<ide><path>ReactAndroid/src/main/java/com/facebook/react/uimanager/UIProp.java <del>/** <del> * Copyright (c) 2015-present, Facebook, Inc. <del> * All rights reserved. <del> * <del> * This source code is licensed under the BSD-style license found in the <del> * LICENSE file in the root directory of this source tree. An...
5
Python
Python
decrease timeout in test.py
1ce906c16ba09885fb372962a3a56ce64ef06a20
<ide><path>tools/test.py <ide> def Run(self, tasks): <ide> # Wait for the remaining threads <ide> for thread in threads: <ide> # Use a timeout so that signals (ctrl-c) will be processed. <del> thread.join(timeout=10000000) <add> thread.join(timeout=1000000) <ide> except (KeyboardIn...
1
Ruby
Ruby
fix an error message in the subscription tests
06b59451ffadd2c93c0dec9520c1664448c6cfa4
<ide><path>test/channel/stream_test.rb <ide> def subscribed <ide> <ide> EM::Timer.new(0.1) do <ide> expected = ActiveSupport::JSON.encode "identifier" => "{id: 1}", "type" => "confirm_subscription" <del> assert_equal expected, connection.last_transmission, "Did not receive verification confirmatio...
1
PHP
PHP
add better error message for missing app key
3a4fdd041c226c0299f0de8047d23ac3d1fbe675
<ide><path>src/Illuminate/Encryption/EncryptionServiceProvider.php <ide> <ide> namespace Illuminate\Encryption; <ide> <add>use RuntimeException; <ide> use Illuminate\Support\Str; <ide> use Illuminate\Support\ServiceProvider; <ide> <ide> public function register() <ide> $key = base64_decode(substr($ke...
1
Javascript
Javascript
remove excess debug statements from flattenuser.js
d6ddd632d03f41704fd7ff774b5e278a5fda9551
<ide><path>seed/flattenUser.js <ide> function createConnection(URI) { <ide> <ide> function createQuery(db, collection, options, batchSize) { <ide> return Rx.Observable.create(function (observer) { <del> console.log('Creating cursor...'); <ide> var cursor = db.collection(collection).find({}, options); <ide> ...
1
Ruby
Ruby
fix indentation of caskcommandfailederror
4f1ef16cbf09fc1b98143ff672859dcefda00e1b
<ide><path>Library/Homebrew/cask/lib/hbc/exceptions.rb <ide> def initialize(cmd, stdout, stderr, status) <ide> end <ide> <ide> def to_s <del> <<-EOS <del> Command failed to execute! <del> <del> ==> Failed command: <del> #{@cmd} <del> <del> ==> Standard Output of failed command: <del> #{@stdout} <del>...
1
Text
Text
replace github -> github (chinese)
2eb5683c9b18b05235401a69d1beef8037f61454
<ide><path>curriculum/challenges/chinese/06-information-security-and-quality-assurance/advanced-node-and-express/implementation-of-social-authentication.chinese.md <ide> localeTitle: 社会认证的实施 <ide> --- <ide> <ide> ## Description <del><section id="description">提醒一下,这个项目是基于<a href="https://glitch.com/#!/import/github/fre...
16
Go
Go
use netlink directly instead of /bin/ip in sysinit
607c1a520e6d39d0f0ee21f1d281931484206b57
<ide><path>sysinit.go <ide> package docker <ide> import ( <ide> "flag" <ide> "fmt" <add> "github.com/dotcloud/docker/netlink" <ide> "github.com/dotcloud/docker/utils" <ide> "log" <add> "net" <ide> "os" <ide> "os/exec" <ide> "strconv" <ide> func setupNetworking(gw string) { <ide> if gw == "" { <ide> return <id...
1
Text
Text
add extends for derived classes
89aea1514b3b44d4b60c6c556aa70e9ffed46391
<ide><path>doc/api/child_process.md <ide> arbitrary command execution.** <ide> added: v2.2.0 <ide> --> <ide> <del>Instances of the `ChildProcess` class are [`EventEmitters`][`EventEmitter`] that <del>represent spawned child processes. <add>* Extends: {EventEmitter} <add> <add>Instances of the `ChildProcess` represent ...
9
Javascript
Javascript
increase coverage for modulemap
d1a9c029a09165ea7b9ae799d701fab8a204fe05
<ide><path>test/es-module/test-esm-loader-modulemap.js <add>'use strict'; <add>// Flags: --expose-internals <add> <add>// This test ensures that the type checking of ModuleMap throws <add>// errors appropriately <add> <add>const common = require('../common'); <add> <add>const { URL } = require('url'); <add>const Loader...
1
Text
Text
fix a typo in data-structures.md
16f6b8cb413ef59ac8eaf4235e230e5efe8b7c3c
<ide><path>docs/general/data-structures.md <ide> The `data` property of a dataset can be passed in various formats. By default, that `data` is parsed using the associated chart type and scales. <ide> <ide> If the `labels` property of the main `data` property is used, it has to contain the same amount of elements as th...
1
Javascript
Javascript
fix a test
39c6536bccf2ff6d51f5ab91b3883df72400ba11
<ide><path>test/index.js <ide> test(async t => { <ide> <ide> test(async t => { <ide> const html = await render('/css') <del> t.true(html.includes('.css-im3wl1')) <del> t.true(html.includes('<div class="css-im3wl1">This is red</div>')) <add> t.regex(html, /\.css-\w+/) <add> t.regex(html, /<div class="css-\w+">Thi...
1
Javascript
Javascript
remove warning for dangling passive effects
3c4c1c4703e8f7362370c44a48ac9348229e3791
<ide><path>packages/react-dom/src/__tests__/ReactTestUtilsAct-test.js <ide> describe('ReactTestUtils.act()', () => { <ide> }).toErrorDev([]); <ide> }); <ide> <del> it('warns in strict mode', () => { <del> expect(() => { <del> ReactDOM.render( <del> <React.StrictMode> <del> ...
5
Javascript
Javascript
fix bug in breakpoint regex escaping
5ddf7f4200894a7304d7c07bbbd8773fac3509d1
<ide><path>lib/_debugger.js <ide> Interface.prototype.setBreakpoint = function(script, line, <ide> }; <ide> } else { <ide> this.print('Warning: script \'' + script + '\' was not loaded yet.'); <del> var normalizedPath = script.replace('([/.?*])', '\\$1'); <del> var scriptPathRegex = '^(.*[\\/\...
2
PHP
PHP
fix failing test
9d52aab32a178c7ffbaec9e4e780784b01550ff8
<ide><path>lib/Cake/Core/App.php <ide> public static function classname($class, $type = '', $suffix = '') { <ide> */ <ide> public static function path($type, $plugin = null) { <ide> if (!empty($plugin)) { <del> return [static::pluginPath($plugin)]; <add> return [static::pluginPath($plugin) . $type . DS]; <ide> ...
1
Python
Python
add comments about nvidia hpc sdk and pgi
155248f763db534abde85ce382716cf0ab3347b9
<ide><path>numpy/distutils/fcompiler/nv.py <ide> <ide> compilers = ['NVHPCFCompiler'] <ide> <add>""" <add>Since august 2020 the NVIDIA HPC SDK includes the compilers formely known as The Portland Group compilers. <add>https://www.pgroup.com/index.htm <add>""" <ide> class NVHPCFCompiler(FCompiler): <ide> <ide> co...
1
Javascript
Javascript
fix incorrect usage of assert.fail()
b7f4b1ba4cca320cf576aa73fae15902fd801190
<ide><path>lib/internal/process/promises.js <ide> function setupPromises(scheduleMicrotasks) { <ide> else if (event === promiseRejectEvent.handled) <ide> rejectionHandled(promise); <ide> else <del> require('assert').fail('unexpected PromiseRejectEvent'); <add> require('assert').fail(null, null, ...
1
Text
Text
add 2.7.0-beta.2 to changelog
9e807f3e119f16eece09de5600d02574a5e5886f
<ide><path>CHANGELOG.md <ide> # Ember Changelog <ide> <add>### 2.7.0-beta.2 (June 27, 2016) <add> <add>- [#13634](https://github.com/emberjs/ember.js/pull/13634) [BUGFIX] Fix issues with rerendering blockless and tagless components. <add>- [#13605](https://github.com/emberjs/ember.js/pull/13605) [BUGFIX] Ensure `pause...
1
PHP
PHP
use studly case for controller names
8fb3cfe5a44ea2fbc9d5961f5afe33c23e108c7c
<ide><path>src/Illuminate/Foundation/Console/ModelMakeCommand.php <ide> public function fire() <ide> } <ide> <ide> if ($this->option('controller')) { <del> $controller = Str::camel(class_basename($this->argument('name'))); <add> $controller = Str::studly(class_base...
1
Python
Python
add german lemmatizer tests
453c47ca24c7e8d3cd71afc3fe2ef4b501c25e27
<ide><path>spacy/tests/lang/de/test_lemma.py <add># coding: utf-8 <add>from __future__ import unicode_literals <add> <add>import pytest <add> <add> <add>@pytest.mark.parametrize('string,lemma', [('Abgehängten', 'Abgehängte'), <add> ('engagierte', 'engagieren'), <add> ...
1
Javascript
Javascript
fix typo and remove commented out assertion
28dfe9060cfe3af5e855d140903238e09ba264eb
<ide><path>packages/ember-handlebars/tests/helpers/each_test.js <ide> test("it supports {{itemView=}}", function() { <ide> }); <ide> <ide> <del>test("it defers all normaization of itemView names to the resolver", function() { <add>test("it defers all normalization of itemView names to the resolver", function() { <ide...
1
Javascript
Javascript
allow support for custom timestamps in events
acc2fb84869ac1097434485d56bdc0265120fe34
<ide><path>src/ngScenario/browserTrigger.js <ide> } <ide> catch(e) { <ide> evnt = document.createEvent('TransitionEvent'); <del> evnt.initTransitionEvent(eventType, null, null, null, eventData.elapsedTime); <add> evnt.initTransitionEvent(eventType, null, null, null,...
1
Javascript
Javascript
manage select controller options correctly
2435e2b8f84fde9495b8e9440a2b4f865b1ff541
<ide><path>src/ng/directive/select.js <ide> var selectDirective = ['$compile', '$parse', function($compile, $parse) { <ide> // Workaround for https://code.google.com/p/chromium/issues/detail?id=381459 <ide> // Adding an <option selected="selected"> element to a <select required="required"> should <ide...
2
Javascript
Javascript
show context when exclude holds `undefined`
6dd2863899f6d3893270d92b50566054fa719618
<ide><path>lib/RuleSet.js <ide> <condition>: { and: [<condition>] } <ide> <condition>: { or: [<condition>] } <ide> <condition>: { not: [<condition>] } <del><condition>: { test: <condition>, include: <condition>, exclude: <codition> } <add><condition>: { test: <condition>, include: <condition>, exclude: <condition> } <i...
2
Python
Python
correct the shape of trajectory
7e3dff17c5046aad1c67fa689e5146a13e8cc052
<ide><path>physics/horizontal_projectile_motion.py <ide> This algorithm solves a specific problem in which <ide> the motion starts from the ground as can be seen below: <ide> (v = 0) <del> ** <del> * * <del> * * <del> * * <del> * * <del> * * <del>GROUND GRO...
1
Javascript
Javascript
fix syntax error in action_url_test
d1d4a47d1d6291ad596a2b8c1d4a6f18f7a5191d
<ide><path>packages/ember-application/tests/system/action_url_test.js <ide> // FIXME: Move this to an integration test pacakge with proper requires <ide> try { <ide> require('ember-handlebars'); <del>} catch() { } <add>} catch(e) { } <ide> <ide> module("the {{action}} helper with href attribute"); <ide>
1
Text
Text
add missing link import to routing doc
98f368f545617b3d15c39d30d9c4549ea3656dba
<ide><path>packages/next/README.md <ide> export default Home <ide> <ide> ```jsx <ide> // pages/about.js <add>import Link from 'next/link' <add> <ide> function About() { <ide> return ( <ide> <>
1
Go
Go
fix pr13278 compile break
71eadd4176a968399671e5cb4c8de52c40992b01
<ide><path>daemon/volumes.go <ide> import ( <ide> "path/filepath" <ide> "strings" <ide> <del> "github.com/Sirupsen/logrus" <ide> "github.com/docker/docker/pkg/chrootarchive" <ide> "github.com/docker/docker/runconfig" <ide> "github.com/docker/docker/volume" <ide> func (daemon *Daemon) verifyVolumesInfo(container *...
3
Mixed
Javascript
add a way to filter items in the tooltip
5ae268e94236b921d6cc966c580cd4984d5f4f94
<ide><path>docs/01-Chart-Configuration.md <ide> mode | String | 'nearest' | Sets which elements appear in the tooltip. See [Inte <ide> intersect | Boolean | true | if true, the tooltip mode applies only when the mouse position intersects with an element. If false, the mode will be applied at all times. <ide> position |...
3
Ruby
Ruby
preserve cached queries name in as notifications
84d35da86c14767c737783cb95dd4624632cc1bd
<ide><path>activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb <ide> def select_all(arel, name = nil, binds = [], preparable: nil) <ide> if @query_cache_enabled && !locked?(arel) <ide> arel, binds = binds_from_relation arel, binds <ide> sql = to_sql(arel, binds) <del> ...
4
Javascript
Javascript
remove unused variable
a065d17ff04fc25e90927c3134a2a28cf32bbcfe
<ide><path>packages/ember-metal/lib/properties.js <ide> var USE_ACCESSORS = Ember.USE_ACCESSORS, <ide> GUID_KEY = Ember.GUID_KEY, <ide> META_KEY = Ember.META_KEY, <ide> meta = Ember.meta, <del> o_create = Ember.create, <ide> objectDefineProperty = Ember.platform.defineProperty, <ide> SIMPLE_PROPE...
1
Ruby
Ruby
add formula name to llvm warning
18f9969b65d3a9a39ae721c1d967d596b7aef898
<ide><path>Library/Homebrew/formula.rb <ide> def std_cmake_parameters <ide> "-DCMAKE_INSTALL_PREFIX='#{prefix}' -DCMAKE_BUILD_TYPE=None -Wno-dev" <ide> end <ide> <add> def fails_with_llvm msg="", data=nil <add> return unless (ENV['HOMEBREW_USE_LLVM'] or ARGV.include? '--use-llvm') <add> <add> build = data...
1
Python
Python
add missing import
c304834e459f2536e788e845178de46551e1d7b0
<ide><path>spacy/tests/regression/test_issue792.py <ide> # coding: utf-8 <ide> from __future__ import unicode_literals <ide> <add>import pytest <ide> <ide> @pytest.mark.xfail <ide> @pytest.mark.parametrize('text', ["This is a string ", "This is a string\u0020"])
1
PHP
PHP
add underscore to prefix in database cache key
19f4e346d4e50eeab3a8840b93f89c9f1ffe2a42
<ide><path>config/cache.php <ide> | <ide> */ <ide> <del> 'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_cache'), <add> 'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_cache_'), <ide> <ide> ];
1
Javascript
Javascript
add examples to array#objectsat
0dddf2d70cf7bff3dffbd9b0ae9be3af2220e798
<ide><path>packages/ember-runtime/lib/mixins/array.js <ide> Ember.Array = Ember.Mixin.create(Ember.Enumerable, /** @scope Ember.Array.protot <ide> }, <ide> <ide> /** <del> This returns the objects at the specified indexes, using objectAt. <add> This returns the objects at the specified indexes, using `object...
1
Javascript
Javascript
fix some missing spaces
e14ac2c3b0c08df381618e92145eadd125aad03f
<ide><path>src/angular-bootstrap.js <ide> document.write('<script type="text/javascript" src="' + serverPath + '../angularFiles.js' + '" ' + <ide> 'onload="addScripts(angularFiles.angularSrc)"></script>'); <ide> <del> function onLoadListener(){ <add> function onLoadListener() { <ide> // empty ...
1
Java
Java
improve 404 "handler not found" handling
f7d4688b8457f9ce3527dc70cb69c3fe3f7762a2
<ide><path>spring-web-reactive/src/main/java/org/springframework/web/reactive/DispatcherHandler.java <ide> public class DispatcherHandler implements WebHandler, ApplicationContextAware { <ide> <ide> private static final Log logger = LogFactory.getLog(DispatcherHandler.class); <ide> <add> @SuppressWarnings("Throwable...
1
Text
Text
expand permissions docs. closes
c9a2ce07037475359712104a8a68624e99bdfeb1
<ide><path>docs/api-guide/permissions.md <ide> Together with [authentication] and [throttling], permissions determine whether a <ide> <ide> Permission checks are always run at the very start of the view, before any other code is allowed to proceed. Permission checks will typically use the authentication information i...
1
Text
Text
clarify ambiguous instructions in "stack class"
0bbbd16aa9a709a2622a8f22cc6dfb0dcb772fa5
<ide><path>curriculum/challenges/english/10-coding-interview-prep/data-structures/create-a-stack-class.english.md <ide> Apart from the <code>push</code> and <code>pop</code> method, stacks have other <ide> ## Instructions <ide> <section id='instructions'> <ide> <del>Write a <code>push</code> method that pushes an elem...
1