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 readme for react-native cli
1e863ad1921d6c45d89637abbf3b38b33ab3b241
<ide><path>react-native-cli/README.md <add>Use react-native-cli to initialize a working starter React Native app using the latest react-native version in npm. This package should be installed globally. <add> <add>Usage: <add> <add>``` <add>% npm install -g react-native-cli <add>% react-native init myApplication <add>``...
1
PHP
PHP
remove unused import
d3befb99db7b6a2abd2ca6198fada8e1b786bb00
<ide><path>src/Illuminate/Console/Scheduling/Schedule.php <ide> use Illuminate\Console\Application; <ide> use Illuminate\Container\Container; <ide> use Symfony\Component\Process\ProcessUtils; <del>use Illuminate\Contracts\Cache\Repository as Cache; <ide> <ide> class Schedule <ide> {
1
Text
Text
update translation for chinese
f7496376094f277572f4bdee5be5229b2bcee672
<ide><path>guide/chinese/css/background-opacity/index.md <ide> Opacity 可以是 0 到 1 之间的任何值; <ide> } <ide> ``` <ide> <del>或者,您可以这样使用透明的 rgba 值: <add> <add>或者,您可以使用透明的rgba值,如下所示: <ide> <ide> ```css <del>.class-name{ <del> background-color: rgba( 0, 0, 0, .5); <add>.class-name { <add> background-color: rgba (0,0,0,0.5)...
1
Ruby
Ruby
write bottle version in commit message
9773b9e8bffb5e4529ad3a48923582b69ce7c29b
<ide><path>Library/Homebrew/cmd/bottle.rb <ide> def merge <ide> update_or_add = has_bottle_block ? 'update' : 'add' <ide> <ide> safe_system 'git', 'commit', formula_path, '-m', <del> "#{f.name}: #{update_or_add} bottle." <add> "#{f.name}: #{update_or_add} #{f.version} bottle." <ide> ...
1
Javascript
Javascript
avoid race condition for appstate.currentstate
809f1e97dea85cd259207ed729dcde6ed65a9348
<ide><path>Libraries/AppState/AppState.js <ide> class AppState extends NativeEventEmitter { <ide> // the Android implementation. <ide> this.currentState = RCTAppState.initialAppState || 'active'; <ide> <add> let eventUpdated = false; <add> <ide> // TODO: this is a terrible solution - in order to ensure ...
1
Javascript
Javascript
prewalk a function declaration
619cf318eca3efed666b86a2488eb4cd485a8a9c
<ide><path>lib/Parser.js <ide> class Parser extends Tapable { <ide> <ide> walkFunctionDeclaration(statement) { <ide> this.inScope(statement.params, function() { <del> if(statement.body.type === "BlockStatement") <add> if(statement.body.type === "BlockStatement") { <add> this.prewalkStatement(statement.body);...
2
Python
Python
add execute cmd on container function
5995e5c46db7764bce3247105ce7626bba097704
<ide><path>libcloud/container/drivers/lxd.py <ide> def __str__(self): <ide> str(self.public) <ide> <ide> <del>LXDContainerExecute = collections.namedtuple('LXDContainerExecute', <add>LXDContainerExecuteResult = collections.namedtuple('LXDContainerExecuteResult', <ide> ...
1
Javascript
Javascript
reorganize atomapplication tests
f20aa038bd0261b74798af7e6965fca54a1772ca
<ide><path>spec/main-process/atom-application.test.js <ide> describe('AtomApplication', function () { <ide> }) <ide> <ide> describe('launch', () => { <del> it('can open to a specific line number of a file', async () => { <del> const filePath = path.join(makeTempDir(), 'new-file') <del> fs.writeFileSyn...
1
Javascript
Javascript
add 鉅亨財經新聞 showcase
72340161805da4a9c66a8667a68b7d65c8e806c5
<ide><path>website/src/react-native/showcase.js <ide> var apps = [ <ide> link: 'https://emberall.com/', <ide> author: 'Kyle Corbitt', <ide> }, <add> { <add> name: '鉅亨財經新聞', <add> icon: 'http://a4.mzstatic.com/us/r30/Purple18/v4/1e/b1/dd/1eb1dd6e-0d9e-03cf-22f9-1b6fd816814d/icon175x175.jpeg', <add> l...
1
Text
Text
create formal mda design document
e107483bafeabe57045ebc4a4b89edc3a3c8ed59
<ide><path>guide/english/game-development/mda-methodology/index.md <add>--- <add>title: MDA Methodology (mechanics, design, and aesthetics) <add>--- <add> <add>The purpose of MDA methodology is to give developers, scholars, and researchers a common foundation they can use to understand, discuss, analyze, and research g...
1
PHP
PHP
add doc-block for code auto-complete
57be173daca2e85964b02f50d5de2fa7c83bdbdb
<ide><path>src/Illuminate/Database/Eloquent/Builder.php <ide> use Illuminate\Database\Eloquent\Relations\Relation; <ide> use Illuminate\Database\Query\Builder as QueryBuilder; <ide> <add>/** <add> * @mixin \Illuminate\Database\Query\Builder <add> */ <ide> class Builder <ide> { <ide> /**
1
Java
Java
fix readablearray annotations
d76556543f96f4d739be3a708b8f6314bb32cc87
<ide><path>ReactAndroid/src/main/java/com/facebook/react/bridge/ReadableArray.java <ide> package com.facebook.react.bridge; <ide> <ide> import androidx.annotation.NonNull; <del>import androidx.annotation.Nullable; <ide> import java.util.ArrayList; <ide> <ide> /** <ide> public interface ReadableArray { <ide> <ide> ...
2
Text
Text
remove broken link to section
2757260624d303313f9ae542a278c23086df4e52
<ide><path>README.md <ide> Supported operating systems are >= Android 4.1 (API 16) and >= iOS 8.0. <ide> - [Getting Help](#getting-help) <ide> - [Documentation](#documentation) <ide> - [Upgrading](#upgrading) <del>- [Opening Issues](#opening-issues) <ide> - [Contributing](#contributing) <ide> - [License](#license) <ide...
1
Javascript
Javascript
remove unreachable code
58fc172bfa9bd962fa3c614d7cbf94327af22c1e
<ide><path>lib/internal/assert/assertion_error.js <ide> class AssertionError extends Error { <ide> if (operator === 'deepEqual') { <ide> res = `${knownOperator}\n\n${res}\n\nshould loosely deep-equal\n\n`; <ide> } else { <del> const newOperator = kReadableOperator[`${operator}...
1
PHP
PHP
fix queuefake docblocks on queue facade
c23b0b8b11ec65cdb857044a0c2e917ed62ce8a2
<ide><path>src/Illuminate/Support/Facades/Queue.php <ide> * @method static string getConnectionName() <ide> * @method static \Illuminate\Contracts\Queue\Queue setConnectionName(string $name) <ide> * @method static void assertNothingPushed() <del> * @method static void assertNotPushed(string $job, \Closure $callback ...
1
Mixed
Go
add err to tweak response status code
46e3a249a1971f8697ca338c9b02e27d36ddab12
<ide><path>docs/extend/authorization.md <ide> should implement the following two methods: <ide> **Request**: <ide> <ide> ```json <del>{ <del> "User": "The user identification" <del> "UserAuthNMethod": "The authentication method used" <del> "RequestMethod": "The HTTP method" <del> "Re...
5
Text
Text
add entry to console.timeend() changes array
fa53a654e019cb101f35fe1c23be5432040a0508
<ide><path>doc/api/console.md <ide> time is 3869ms, `console.timeEnd()` displays "3.869s". <ide> <!-- YAML <ide> added: v0.1.104 <ide> changes: <add> - version: v13.0.0 <add> pr-url: https://github.com/nodejs/node/pull/29251 <add> description: The elapsed time is diplayed with a suitable time unit. <ide> - ver...
1
Text
Text
fix 404s to non-existent api docs
fc0b68af287e7c26a377e866ee83617aa1a8b3d5
<ide><path>docs/_posts/2013-07-23-community-roundup-5.md <ide> React.renderComponent( <ide> > * [Working With the Browser](/react/docs/working-with-the-browser.html) <ide> > * [More About Refs](/react/docs/more-about-refs.html) <ide> > * [Tooling integration](/react/docs/tooling-integration.html) <del>> * [Reference]...
2
Ruby
Ruby
fix typo in transaction argument. closes
598b841882cbfe1d88c55b9cc49a5a188735d0b1
<ide><path>activerecord/lib/active_record/connection_adapters/postgresql/referential_integrity.rb <ide> def disable_referential_integrity # :nodoc: <ide> end <ide> <ide> begin <del> transaction(require_new: true) do <add> transaction(requires_new: true) do <ide> ...
1
Python
Python
add constraints and regularisation to conv2d
c9dbbe4c2cc4d0eef09322b442c0ff55962c8fe2
<ide><path>keras/layers/convolutional.py <ide> def get_config(self): <ide> class Convolution2D(Layer): <ide> def __init__(self, nb_filter, stack_size, nb_row, nb_col, <ide> init='glorot_uniform', activation='linear', weights=None, <del> image_shape=None, border_mode='valid', subsample=(1,1)): <add>...
1
Ruby
Ruby
add tests for loaded pluck and pick with alias
5e2df1fc8e85355ac92e17844a7f00a44ab478c3
<ide><path>activerecord/test/cases/calculations_test.rb <ide> def test_pluck_loaded_relation_sql_fragment <ide> end <ide> end <ide> <add> def test_pluck_loaded_relation_aliased_attribute <add> companies = Company.order(:id).limit(3).load <add> <add> assert_queries(0) do <add> assert_equal ["37signals...
1
Text
Text
update the releases notes
05a011bd6bb003628c74cd37e02859d0c0f38c97
<ide><path>guides/source/4_1_release_notes.md <ide> for detailed changes. <ide> <ide> * Exposed `MiddlewareStack#unshift` to environment configuration. ([Pull Request](https://github.com/rails/rails/pull/12479)) <ide> <add>* Add `Application#message_verifier` method to return a message verifier. ([Pull Request](https...
1
Javascript
Javascript
add bounce method to touchablebounce
383ea9923a46ec811b3b3a220c654c33b3414c2d
<ide><path>Libraries/Components/Touchable/TouchableBounce.js <ide> const TouchableBounce = ((createReactClass({ <ide> }).start(callback); <ide> }, <ide> <add> /** <add> * Triggers a bounce animation without invoking any callbacks. <add> */ <add> bounce: function() { <add> this.bounceTo(0.93, 0.1, 0, () ...
1
Ruby
Ruby
fix `require_dependency` message format
d99b3848bb83e147674465a82af1c2dfcc27b9cc
<ide><path>actionview/test/actionpack/abstract/helper_test.rb <ide> def test_includes_controller_default_helper <ide> class InvalidHelpersTest < ActiveSupport::TestCase <ide> def test_controller_raise_error_about_real_require_problem <ide> e = assert_raise(LoadError) { AbstractInvalidHelpers.helper(:i...
2
Ruby
Ruby
pass effective_deps to cxxstdlib
9c84b3799a4af58873eb41d92cb97fe288c7d333
<ide><path>Library/Homebrew/formula_installer.rb <ide> def install <ide> # This is probably accurate, but could possibly stand to be <ide> # more robust. <ide> stdlib_in_use = CxxStdlib.new(MacOS.default_cxx_stdlib, MacOS.default_compiler) <del> stdlib_in_use.check_dependencies(f, f.deps) <add> ...
1
Text
Text
move editable region to expose selector
78430b177650c89e4a24fb4c353eb59dbd5cadc6
<ide><path>curriculum/challenges/english/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f35e5c44359872a137bd98f.md <ide> assert(bodyBackground === `url("https://cdn.freecodecamp.org/curriculum/css-cafe <ide> ``` <ide> <ide> ```css <del>body { <ide> --fcc-editable-region-- <add>body { <ide> /* <...
1
Javascript
Javascript
add tests for process.setgroups()
77bbdfd409593dd0a1ed97eef153ac9ed8df10f7
<ide><path>test/parallel/test-process-setgroups.js <add>'use strict'; <add>require('../common'); <add>const assert = require('assert'); <add> <add>assert.throws( <add> () => { <add> process.setgroups(); <add> }, <add> { <add> code: 'ERR_INVALID_ARG_TYPE', <add> name: 'TypeError [ERR_INVALID_ARG_TYPE]', <add...
1
Text
Text
fix typos in posts
35e1908bb402f03772758de4bf5ee4a2b7efa0da
<ide><path>docs/_posts/2014-10-16-react-v0.12-rc1.md <ide> We have wanted to do this since before we even open sourced React. No more `/** <ide> <ide> The React specific JSX transform no longer transforms to function calls. Instead we use `React.createElement` and pass it arguments. This allows us to make optimization...
2
Javascript
Javascript
apply linting fixes
f45c3d4fa51bc591ef7fc5b63cd0c35c81d47bbc
<ide><path>tools/challenge-md-parser/text-to-data.js <ide> function textToData(sectionIds) { <ide> const lines = child.value.split('\n'); <ide> if (lines.filter(Boolean).length > 0) { <ide> lines.forEach((line, index) => { <del> if (/^\s*$/.test(line)) { <add...
8
Javascript
Javascript
remove workarounds for ie8
27fcca9a27f9f02a730ebb0836b2b1ff0dda7412
<ide><path>src/ngSanitize/sanitize.js <ide> function htmlParser(html, handler) { <ide> } <ide> <ide> var hiddenPre=document.createElement("pre"); <del>var spaceRe = /^(\s*)([\s\S]*?)(\s*)$/; <ide> /** <ide> * decodes all entities into regular string <ide> * @param value <ide> var spaceRe = /^(\s*)([\s\S]*?)(\s*)$/; ...
2
Ruby
Ruby
remove unused require
f459245e6dbf440a3b18d25883be7ebf8fcbeb4c
<ide><path>Library/Homebrew/cmd/bottle.rb <ide> require 'cmd/versions' <ide> require 'utils/inreplace' <ide> require 'erb' <del>require 'open3' <ide> require 'extend/pathname' <ide> <ide> class BottleMerger < Formula
1
PHP
PHP
list
28d07f051131deb23b6b0c2d1c3a24d6417941b1
<ide><path>src/Illuminate/Console/Scheduling/ScheduleListCommand.php <ide> class ScheduleListCommand extends Command <ide> * <ide> * @var string <ide> */ <del> protected $signature = 'schedule:list {--timezone= : The timezone that times should be displayed in}'; <add> protected $signature = 'schedu...
2
Python
Python
pass dropout through to embed tables
fbba7c517ece539f9b1c24df4f545b56189def72
<ide><path>spacy/_ml.py <ide> def HistoryFeatures(nr_class, hist_size=8, nr_dim=8): <ide> ops = embed.ops <ide> def add_history_fwd(vectors_hists, drop=0.): <ide> vectors, hist_ids = vectors_hists <del> hist_feats, bp_hists = embed.begin_update(hist_ids) <add> hist_feats, bp_hists = embed....
1
Go
Go
use testing.tb instead of assert.testingt
51ca8081d83a607f9931d6cdbe664c7d23b703e9
<ide><path>testutil/daemon/config.go <ide> package daemon <ide> <ide> import ( <ide> "context" <add> "testing" <ide> <ide> "github.com/docker/docker/api/types" <ide> "github.com/docker/docker/api/types/swarm" <del> "github.com/docker/docker/testutil" <ide> "gotest.tools/assert" <ide> ) <ide> <ide> // ConfigConst...
13
Ruby
Ruby
remove code that only worked by accident
92ac63fd9495e4fc75195191c36d5acebb8a6107
<ide><path>Library/Homebrew/requirements/language_module_dependency.rb <ide> def the_test <ide> when :jruby then %W{/usr/bin/env jruby -rubygems -e require\ '#{@import_name}'} <ide> when :lua then %W{/usr/bin/env luarocks show #{@import_name}} <ide> when :node then %W{/usr/bin/env node -e require('#{@...
1
Ruby
Ruby
fix the method name for recusion
141d3aff2f010384cc5d3488f75605bd0f702416
<ide><path>activerecord/lib/active_record/relation/predicate_builder.rb <ide> def build_from_hash(attributes, default_table) <ide> <ide> if value.is_a?(Hash) <ide> arel_table = Arel::Table.new(column, @engine) <del> build_predicate_from_hash(value, arel_table) <add> build_from_hash(...
1
Javascript
Javascript
preserve the process.env magic for windows
9b8cb237574bcec33101260334175622d5535d61
<ide><path>src/environment-helpers.js <ide> function needsPatching (options = { platform: process.platform, env: process.env <ide> return false <ide> } <ide> <add>// Fix for #11302 because `process.env` on Windows is a magic object that offers case-insensitive <add>// environment variable matching. <add>function clo...
1
PHP
PHP
add empty option support
013b62c38e127ce7eb16674469d6ee34759270e1
<ide><path>Cake/View/Input/SelectBox.php <ide> public function render($data) { <ide> <ide> protected function _renderOptions($data) { <ide> $out = []; <add> if (!isset($data['options'])) { <add> $data['options'] = []; <add> } <add> $options = $data['options']; <add> <ide> if (!empty($data['empty'])) { <del> ...
2
Javascript
Javascript
pass port when running on device (fix )
f8fee0a631d77313d7cb5e65a3dd04a5a8ba3d03
<ide><path>local-cli/runIOS/runIOS.js <ide> function runIOS(argv, config, args) { <ide> if (args.device) { <ide> const selectedDevice = matchingDevice(devices, args.device); <ide> if (selectedDevice) { <del> return runOnDevice(selectedDevice, scheme, xcodeProject, args.configuration, args.packager, args....
1
Javascript
Javascript
fix eager cause of '(unknown mixin)'
d607cdc3956a0824566d6871fdde65d08beff009
<ide><path>packages/ember-metal/lib/meta.js <del>import { <del> lookupDescriptor, <del> symbol, <del> toString <del>} from 'ember-utils'; <add>import { lookupDescriptor, symbol, toString } from 'ember-utils'; <ide> import { protoMethods as listenerMethods } from './meta_listeners'; <ide> import { assert } from 'embe...
1
Go
Go
add ipam contract
3287a4c830efb3d31b863677ab9d5d01b3d04a96
<ide><path>libnetwork/ipam/contract.go <add>// Package ipam that specifies the contract the IPAM plugin need to satisfy, <add>// decoupling IPAM interface and implementation. <add>package ipam <add> <add>import ( <add> "errors" <add> "net" <add>) <add> <add>/************** <add> * IPAM Errors <add> **************/ <add...
1
Python
Python
add explicit 'return none' to the function
c0cc8f9869ea160a631a4c70cb6ec97e18ca3d3a
<ide><path>libcloud/compute/drivers/opennebula.py <ide> def _extract_images(self, compute): <ide> # per node. <ide> if len(disks) > 1: <ide> return disks <del> <del> if len(disks) == 1: <add> elif len(disks) == 1: <ide> return disks[0] <add> else: <add> ...
1
Text
Text
inline button sections
31b2f2eb6a1214321f69b6c72f7bfc30070cb983
<ide><path>guide/english/bootstrap/buttons/index.md <ide> It is possible to also have outlined buttons rather than fully colored in ones. <ide> <ide> Outlined buttons are a part of Bootstrap since version 4, please be sure that you are using the right version if you are unable to get them to work. <ide> <add>#### Inl...
1
Javascript
Javascript
use brackets to escape characters
68878821c2b8180816aba4a7a8725f1d9f8db205
<ide><path>test/lang/br.js <ide> exports["lang:br"] = { <ide> ['H HH', '15 15'], <ide> ['m mm', '25 25'], <ide> ['s ss', '50 50'], <del> ['DDDo \\d\\ev\\ez\\h \\ar v\\...
1
Python
Python
fix checkpoint name for wav2vec2 conformer
39b5bb79d914f2af723f3aaf92f96fce8b957559
<ide><path>src/transformers/models/wav2vec2_conformer/configuration_wav2vec2_conformer.py <ide> logger = logging.get_logger(__name__) <ide> <ide> WAV2VEC2_CONFORMER_PRETRAINED_CONFIG_ARCHIVE_MAP = { <del> "facebook/wav2vec2-conformer-large-rel-pos": ( <del> "https://huggingface.co/facebook/wav2vec2-conformer...
2
Python
Python
add typing to azure cosmos client hook
3393647aa63cbfdd2e6b90b7a5c9971732a54fc2
<ide><path>airflow/providers/microsoft/azure/hooks/cosmos.py <ide> def get_ui_field_behaviour() -> Dict[str, Any]: <ide> def __init__(self, azure_cosmos_conn_id: str = default_conn_name) -> None: <ide> super().__init__() <ide> self.conn_id = azure_cosmos_conn_id <del> self._conn = None <add> ...
1
Javascript
Javascript
use blue on non-windows systems for number/bigint
1708af369ba4cdfbc9f3eadd657508498b8489a3
<ide><path>lib/util.js <ide> inspect.colors = Object.assign(Object.create(null), { <ide> }); <ide> <ide> // Don't use 'blue' not visible on cmd.exe <add>const windows = process.platform === 'win32'; <ide> inspect.styles = Object.assign(Object.create(null), { <ide> 'special': 'cyan', <del> 'number': 'yellow', <del> ...
2
Javascript
Javascript
support variable terminal widths
72110ed40f417d4076ff843f94113722aa011402
<ide><path>src/main-process/parse-command-line.js <ide> const path = require('path') <ide> const fs = require('fs-plus') <ide> <ide> module.exports = function parseCommandLine (processArgs) { <del> const options = yargs(processArgs).wrap(yargs(processArgs).terminalWidth()) <add> const options = yargs(processArgs).wr...
1
Python
Python
improve pretrain textcat example
bc8cda818c6d754a46bc6ffa2dbccd5a01181968
<ide><path>examples/training/pretrain_textcat.py <ide> def load_textcat_data(limit=0): <ide> train_data = train_data[-limit:] <ide> texts, labels = zip(*train_data) <ide> eval_texts, eval_labels = zip(*eval_data) <del> cats = [{'POSITIVE': bool(y)} for y in labels] <del> eval_cats = [{'POSITIVE': bool...
1
Javascript
Javascript
update navigationcontext api
4763f89efa4f48a194d50b37b046cb7e7ae0f129
<ide><path>Libraries/CustomComponents/Navigator/Navigation/NavigationContext.js <ide> class NavigationContext { <ide> this._emitCounter = 0; <ide> this._emitQueue = []; <ide> <del> this.addListener('willfocus', this._onFocus, this); <del> this.addListener('didfocus', this._onFocus, this); <add> this.a...
2
Python
Python
fix typo in docstring
801b2cb36fd1b347311e5ce63bec34845df3acc0
<ide><path>src/transformers/models/bert_japanese/tokenization_bert_japanese.py <ide> def __init__( <ide> Whether to apply unicode normalization to text before tokenization. <ide> **mecab_dic**: (`optional`) string (default "ipadic") <ide> Name of dictionary to be used for MeC...
1
Ruby
Ruby
remove unused attribute from builderror
2332e6525d6460790e8d7be44291fd63a06c5eea
<ide><path>Library/Homebrew/exceptions.rb <ide> def message <ide> end <ide> <ide> class BuildError < Homebrew::InstallationError <del> attr_reader :command, :env <add> attr_reader :env <ide> <ide> def initialize(formula, cmd, args, env) <del> @command = cmd <ide> @env = env <ide> args = args.map{ |arg|...
1
Text
Text
add note to upgrading guide about react version
5be354ede6b35f41b206d9c27f48a0ea34f32c32
<ide><path>docs/upgrading.md <ide> description: Learn how to upgrade Next.js. <ide> <ide> ## Upgrading from version 10 to 11 <ide> <add>## Upgrade React version to latest <add> <add>Most applications already use the latest version of React, with Next.js 11 the minimum React version has been updated to 17.0.2. <add> <...
1
Text
Text
add livetracker options to options guide
6336e573f2f49353937159a98adb8263461fc3e1
<ide><path>docs/guides/options.md <ide> Allows the player to use the new live ui that includes: <ide> Without this option the progress bar will be hidden and in its place will be text that indicates `LIVE` playback. There will be no progress control <ide> and you will not be able click the text to seek to the live edge...
1
Ruby
Ruby
decrease string allocations on ar#respond_to?
f80aa5994603e684e3fecd3f53bfbf242c73a107
<ide><path>activerecord/lib/active_record/attribute_methods.rb <ide> def column_for_attribute(name) <ide> # person.respond_to(:nothing) # => false <ide> def respond_to?(name, include_private = false) <ide> return false unless super <del> name = name.to_s <add> <add> case name <add> when :...
1
Text
Text
improve the instructions of onboarding pr
0e7050ec86c1fb3ab5a3fb6c4500cfa42442ae0d
<ide><path>doc/onboarding.md <ide> onboarding session. <ide> * Optionally, include your personal pronouns. <ide> * Label your pull request with the `doc` subsystem label. <ide> * Run CI on your PR. <del>* After one or two approvals, land the PR. <add>* After one or two approvals, land the PR (PRs of this type do not ne...
1
Javascript
Javascript
fix challenge tests that rely on
e7211fc67b849a863b20e905dde4ee1e1e62133e
<ide><path>packages/learn/src/templates/Challenges/redux/execute-challenge-epic.js <ide> import { <ide> initConsole, <ide> updateConsole, <ide> initLogs, <del> updateLogs, <ide> logsToConsole, <ide> checkChallenge, <ide> updateTests, <ide> function updateMainEpic(actions, { getState }, { document }) { <ide...
2
Javascript
Javascript
inline unnecessary addbufferatindex method
b7ae57bdbedcb1c845a558ecfe5fcb81facf98ae
<ide><path>src/project.js <ide> class Project extends Model { <ide> } <ide> <ide> addBuffer (buffer, options = {}) { <del> return this.addBufferAtIndex(buffer, this.buffers.length, options) <del> } <del> <del> addBufferAtIndex (buffer, index, options = {}) { <del> this.buffers.splice(index, 0, buffer) <add...
1
Python
Python
add model cards cc @mfuntowicz
56e98ba81a9a7410243a1117fb6148d5f353ef98
<ide><path>transformers/__init__.py <ide> if is_sklearn_available(): <ide> from .data import glue_compute_metrics, xnli_compute_metrics <ide> <add># Model Cards <add>from .model_card import ModelCard <add> <ide> # Tokenizers <ide> from .tokenization_utils import (PreTrainedTokenizer) <ide> from .tokenization_auto ...
4
Go
Go
add constructors for each parser
28b0f47599e9ff32d2abebb54ee4b2a60977f722
<ide><path>volume/mounts/lcow_parser.go <ide> import ( <ide> "github.com/docker/docker/api/types/mount" <ide> ) <ide> <add>// NewLCOWParser creates a parser with Linux Containers on Windows semantics. <add>func NewLCOWParser() Parser { <add> return &lcowParser{} <add>} <add> <ide> // rxLCOWDestination is the regex ex...
8
Python
Python
improve ability to fit models w/o external data
e90b0713f2e86f9f540b57b4306a77e3f696213b
<ide><path>keras/engine/topology.py <ide> def losses(self): <ide> A list of loss tensors. <ide> """ <ide> losses = [] <add> # Retrieve losses for all internal layers. <ide> for layer in self.layers: <ide> if hasattr(layer, 'losses'): <ide> if len(la...
3
Javascript
Javascript
solve last mini-css-plugin webpack 5 warning
b6a2051d49fc0b3148a26d7d4d5a80385a81bba4
<ide><path>packages/next/build/webpack/plugins/mini-css-extract-plugin/src/CssModule.js <ide> class CssModule extends webpack.Module { <ide> callback() <ide> } <ide> <del> updateHash(hash) { <del> super.updateHash(hash) <add> updateHash(hash, context) { <add> super.updateHash(hash, context) <ide> has...
1
Javascript
Javascript
remove unused valiables
79fbf54d903d266abcb771ac63971ccb68479158
<ide><path>packages/ember-application/lib/system/application.js <ide> @submodule ember-application <ide> */ <ide> <del>var get = Ember.get, set = Ember.set, <del> classify = Ember.String.classify, <del> capitalize = Ember.String.capitalize, <del> decamelize = Ember.String.decamelize; <add>var get = Ember.get,...
1
Text
Text
update ap changelog
44bc45b0141ef0c23143fe89b7711c296d883c4d
<ide><path>actionpack/CHANGELOG.md <add>* Introduce `BasicRendering` which is the most basic rendering implementation. It <add> allows to `render :text` and `render :nothing` without need of having ActionView. <add> <add> *Łukasz Strzałkowski* <add> <add>* Separate ActionView completely from ActionPack. <add>...
1
Javascript
Javascript
avoid input param manipulation
217acb9036f39ea6088cee75f70f11602997e15f
<ide><path>benchmark/assert/deepequal-object.js <ide> function createObj(source, add = '') { <ide> } <ide> <ide> function main({ size, n, method, strict }) { <del> // TODO: Fix this "hack". `n` should not be manipulated. <del> n = Math.min(Math.ceil(n / size), 20); <add> const len = Math.min(Math.ceil(n / size), 20...
1
Javascript
Javascript
remove errant debugger call in spec
9d553d2cfa7b9abc1aafa6ef3aedd257564aca5b
<ide><path>spec/history-manager-spec.js <ide> describe("HistoryManager", () => { <ide> }) <ide> <ide> it("returns null when it can't find the project", () => { <del> debugger <ide> const project = historyManager.getProject(['/1']) <ide> expect(project).toBeNull() <ide> })
1
Text
Text
reword docs and revert some changes
790cbb672df139514134160a9649d8d626096796
<ide><path>object_detection/g3doc/preparing_inputs.md <ide> TFRecords. <ide> <ide> ## Generating the PASCAL VOC TFRecord files. <ide> <del>The raw 2012 PASCAL VOC data set can be downloaded <del>[here](http://host.robots.ox.ac.uk/pascal/VOC/voc2012/VOCtrainval_11-May-2012.tar), <del>or by using the command below. <de...
1
Text
Text
update filtering chapters on ps/images references
61de442c49a56f9fc6f82174c97e1229e8aa39f2
<ide><path>docs/reference/commandline/images.md <ide> The currently supported filters are: <ide> * dangling (boolean - true or false) <ide> * label (`label=<key>` or `label=<key>=<value>`) <ide> <del>##### Untagged images <add>##### Untagged images (dangling) <ide> <ide> $ docker images --filter "dangling=true" <...
2
Ruby
Ruby
perform details matching on unboundtemplates
9e0c42b0bde91da41745e2bcf4a14bfefdc72fc0
<ide><path>actionpack/test/controller/mime/respond_to_test.rb <ide> def setup <ide> Mime::Type.register("text/x-mobile", :mobile) <ide> Mime::Type.register("application/fancy-xml", :fancy_xml) <ide> Mime::Type.register("text/html; fragment", :html_fragment) <add> ActionView::LookupContext::DetailsKey.cle...
2
Javascript
Javascript
add unit tests for phase constants
22a57e493afd15f2f95c36a18dfd66d5373efed5
<ide><path>test/unit/phaseConstants.test.js <add>/* eslint-env jest */ <add>import {PHASE_EXPORT, PHASE_PRODUCTION_BUILD, PHASE_PRODUCTION_SERVER, PHASE_DEVELOPMENT_SERVER} from 'next/constants' <add> <add>describe('phaseConstants', () => { <add> it('should set phases correctly', () => { <add> expect(PHASE_EXPORT)....
1
Text
Text
remove some unsupported instructions in the docs
49be84842e41a612601ff9d0563ec30f138e95bc
<ide><path>docs/man/docker-commit.1.md <ide> Using an existing container's name or ID you can create a new image. <ide> <ide> **-c** , **--change**=[] <ide> Apply specified Dockerfile instructions while committing the image <del> Supported Dockerfile instructions: `ADD`|`CMD`|`ENTRYPOINT`|`ENV`|`EXPOSE`|`FROM`|`M...
3
Ruby
Ruby
load openssl only when it's used
9a3fb1f43be172618a710f0bb170586dc2475591
<ide><path>lib/action_mailbox/postfix_relayer.rb <ide> <ide> require "net/http" <ide> require "uri" <del>require "openssl" <ide> <ide> module ActionMailbox <ide> class PostfixRelayer <ide> def post(source) <ide> <ide> def client <ide> @client ||= Net::HTTP.new(uri.host, uri.port).tap do |connection| ...
1
Javascript
Javascript
remove autobinding warning
8b9891aa8ab2aa2276a21bed2885100f9fbcac50
<ide><path>src/core/ReactCompositeComponent.js <ide> var keyMirror = require('keyMirror'); <ide> var merge = require('merge'); <ide> var mixInto = require('mixInto'); <ide> <del>function invokeWithWarning(func) { <del> return function() { <del> console && console.warn && console.warn( <del> 'You have invoked ...
1
Ruby
Ruby
clarify postgres initials. [skip ci]
b7f4b8e0bfd1fefc30f7378ac1655b58b48ff5f3
<ide><path>activerecord/lib/active_record/attributes.rb <ide> module ClassMethods <ide> # is not passed, the previous default value (if any) will be used. <ide> # Otherwise, the default will be +nil+. <ide> # <del> # +array+ (PG only) specifies that the type should be an array (see the <add> ...
1
Text
Text
add security steward on/offboarding steps
13ee108dd97104adf8185a0171914ebd06cd16b9
<ide><path>doc/guides/security-steward-on-off-boarding.md <add># Security Steward Onboarding/OffBoarding <add> <add>## Onboarding <add> <add>* Confirm the new steward agrees to keep all private information confidential <add> to the project and not to use/disclose to their employer. <add>* Add them to the security-stew...
1
Text
Text
add docs/docs 01
4d4f322c60ae4894c8b1c0bee50f0c90577f2509
<ide><path>docs/docs/01-why-react.ko-KR.md <add>--- <add>id: why-react-ko-KR <add>title: 왜 React인가? <add>permalink: why-react-ko-KR.html <add>next: displaying-data-ko-KR.html <add>--- <add> <add>React는 페이스북과 인스타그램에서 사용자 인터페이스를 구성하기 위해 만들어진 라이브러리입니다. 많은 사람들은 React를 **[MVC](http://en.wikipedia.org/wiki/Model%E2%80%93view...
1
Python
Python
move alias aware sorting to glances_plugin
7a47c323415ffaa4e0c6cfd151d6dea0c9ffc264
<ide><path>glances/plugins/glances_diskio.py <ide> def msg_curse(self, args=None, max_width=None): <ide> msg = '{:>7}'.format('W/s') <ide> ret.append(self.curse_add_line(msg)) <ide> # Disk list (sorted by name) <del> for i in sorted(self.stats, key=lambda stat: tuple(map( <del> ...
2
Javascript
Javascript
replace message types string by constants
ebf5b58bec6954ebeed1c302cf31ff55494a0c93
<ide><path>lib/internal/worker.js <ide> const kIncrementsPortRef = Symbol('kIncrementsPortRef'); <ide> <ide> const debug = util.debuglog('worker'); <ide> <add>const messageTypes = { <add> UP_AND_RUNNING: 'upAndRunning', <add> COULD_NOT_SERIALIZE_ERROR: 'couldNotSerializeError', <add> ERROR_MESSAGE: 'errorMessage',...
1
Text
Text
change v-notation for version in buffer.md
400faf5a3a2605977e613d04578e800b81b00a79
<ide><path>doc/api/buffer.md <ide> const buf6 = Buffer.from('tést', 'latin1'); <ide> <ide> ## `Buffer.from()`, `Buffer.alloc()`, and `Buffer.allocUnsafe()` <ide> <del>In versions of Node.js prior to v6, `Buffer` instances were created using the <add>In versions of Node.js prior to 6.0.0, `Buffer` instances were creat...
1
Javascript
Javascript
fix task search function in graph view
d88d1174eb4341daff2968c59f4cab204130a03f
<ide><path>airflow/www/static/js/graph.js <ide> d3.select('#searchbox').on('keyup', () => { <ide> setFocusMap(); <ide> } <ide> <del> d3.selectAll('g.nodes g.node').forEach(function highlight(d) { <add> d3.selectAll('g.nodes g.node').filter(function highlight(d) { <ide> if (s === '') { <ide> d3.select...
1
Text
Text
remove references to travis
0266b70379ff80a8ed002398cde1e640c2e7696b
<ide><path>CONTRIBUTING.md <ide> If you're only fixing a bug, it's fine to submit a pull request right away but w <ide> <ide> Small pull requests are much easier to review and more likely to get merged. Make sure the PR does only one thing, otherwise please split it. <ide> <del>**Before submitting a pull request**, p...
4
Javascript
Javascript
fix ember.test.registerhelper test
4ab23f79393ed6a143074676e8a79ed5ccea7491
<ide><path>packages/ember-testing/tests/helpers_test.js <ide> test("Ember.Application#setupForTesting", function() { <ide> }); <ide> <ide> test("Ember.Test.registerHelper/unregisterHelper", function() { <del> expect(3); <add> expect(5); <ide> var appBooted = false; <ide> <ide> Ember.Test.registerHelper('boot', ...
1
Javascript
Javascript
convert title block to a plugin
d6289c6129f1222980ea571f6c6f675182d78f35
<ide><path>src/chart.js <ide> require('./core/core.datasetController')(Chart); <ide> require('./core/core.layoutService')(Chart); <ide> require('./core/core.scaleService')(Chart); <ide> require('./core/core.plugin.js')(Chart); <del>require('./core/core.legend')(Chart); <ide> require('./core/core.scale')(Chart); <ide> r...
4
PHP
PHP
remove old httpsocket code
7cb31e74cc2730bf9d3df5139ab48b2f74720bb6
<ide><path>lib/Cake/Network/Http/BasicAuthentication.php <del><?php <del>/** <del> * Basic authentication <del> * <del> * PHP 5 <del> * <del> * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) <del> * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org) <del> * <del> * Licensed ...
9
Text
Text
add missing comma in tty
61f3b71d98c291fc80781f68cc98d83d5706fd5f
<ide><path>doc/api/tty.md <ide> const tty = require('tty'); <ide> When Node.js detects that it is being run with a text terminal ("TTY") <ide> attached, [`process.stdin`][] will, by default, be initialized as an instance of <ide> `tty.ReadStream` and both [`process.stdout`][] and [`process.stderr`][] will, by <del>defa...
1
Ruby
Ruby
allow assert `!.*.include?`
3518cda7928d1603af130823854aaa3ed7af4118
<ide><path>Library/Homebrew/cmd/audit.rb <ide> def audit_line(line, lineno) <ide> problem "Use the `#{method}` Ruby method instead of `system #{system}`" <ide> end <ide> <del> if line =~ /assert .*\.include?/ <add> if line =~ /assert [^!]+\.include?/ <ide> problem "Use `assert_match` instead of `...
1
Text
Text
fix appdelegate.m path
55c5dade579ff003720646facd10509df7b0c031
<ide><path>docs/RunningOnDeviceIOS.md <ide> Note that running on device requires [Apple Developer account](https://developer <ide> <ide> You can iterate quickly on device using development server. To do that, your laptop and your phone have to be on the same wifi network. <ide> <del>1. Open `iOS/AppDelegate.m` <add>1...
1
Python
Python
add docs for rnn implementation modes
a56b16fffec6e4a431bf14e13e7dabeeb5904cd8
<ide><path>keras/layers/recurrent.py <ide> class GRUCell(Layer): <ide> Fraction of the units to drop for <ide> the linear transformation of the recurrent state. <ide> implementation: Implementation mode, either 1 or 2. <add> Mode 1 will structure its operations as a larger num...
1
Python
Python
add private ip functionality to gce
718fd951c31f4c29e0f1e356a6cbbf06cdc6a4b6
<ide><path>libcloud/compute/drivers/gce.py <ide> def create_node( <ide> self, name, size, image, location=None, ex_network='default', <ide> ex_subnetwork=None, ex_tags=None, ex_metadata=None, <ide> ex_boot_disk=None, use_existing_disk=True, external_ip='ephemeral', <del> e...
1
Ruby
Ruby
pull template keys up
7e872091e104be09deb8b39ec73ab4792a44d4e9
<ide><path>actionview/lib/action_view/renderer/partial_renderer.rb <ide> def render(context, options, block) <ide> setup(context, options, as, block) <ide> <ide> if @path <add> @variable = nil <add> @variable_counter = nil <add> @variable_iteration = nil <add> @templ...
1
Go
Go
fix string in docker images
bc086a9cd61b2d15fbef9db3cb53c7f3650fda48
<ide><path>server.go <ide> func (srv *Server) Containers(job *engine.Job) engine.Status { <ide> out.Set("Id", container.ID) <ide> out.SetList("Names", names[container.ID]) <ide> out.Set("Image", srv.runtime.repositories.ImageName(container.Image)) <del> out.Set("Command", fmt.Sprintf("%s %s", container.Path, str...
1
Javascript
Javascript
add test for forward nav after reload
792f2f8ce3486ade7992479f1baa76991dcf739e
<ide><path>test/integration/client-navigation/test/index.test.js <ide> describe('Client Navigation', () => { <ide> const browser = await webdriver(context.appPort, '/nav') <ide> await browser.elementByCss('#about-link').click() <ide> await browser.waitForElementByCss('.nav-about') <del> await bro...
1
Python
Python
fix typos in optional tests
6f1691b42d1df02c5657f700fe7b13e4ebde5332
<ide><path>t/unit/app/test_schedules.py <ide> def patch_crontab_nowfun(cls, retval): <ide> class test_solar: <ide> <ide> def setup(self): <del> pytest.importorskip('ephem0') <add> pytest.importorskip('ephem') <ide> self.s = solar('sunrise', 60, 30, app=self.app) <ide> <ide> def test_redu...
2
Ruby
Ruby
fix pkg_version comparison on merge
38ebaac869bacedd89aa885b0dadafa59874774d
<ide><path>Library/Homebrew/dev-cmd/bottle.rb <ide> def merge(args:) <ide> <ide> path = HOMEBREW_REPOSITORY/bottle_hash["formula"]["path"] <ide> formula = Formulary.factory(path) <add> <ide> old_bottle_spec = formula.bottle_specification <add> old_pkg_version = formula.pkg_version <add> For...
1
Python
Python
add a little todo about the id in create_node
d4c6eba13db7289f77e1ff9cea9b3276b64d2ea7
<ide><path>libcloud/drivers/dreamhost.py <ide> def create_node(self, **kwargs): <ide> 'size' : size <ide> } <ide> data = self.connection.request('/', params).object <add> # TODO: Is this ID the same as what list_nodes returns? <ide> return Node( <ide> id = data['ad...
1
Python
Python
add test for span.sent when doc not parsed
5d24a81c0bd951b949f7a561bc8f20f46f284a67
<ide><path>spacy/tests/doc/test_span.py <ide> def doc(en_tokenizer): <ide> return get_doc(tokens.vocab, [t.text for t in tokens], heads=heads, deps=deps) <ide> <ide> <add>@pytest.fixture <add>def doc_not_parsed(en_tokenizer): <add> text = "This is a sentence. This is another sentence. And a third." <add> to...
1
Javascript
Javascript
add spec to validate updating an existing env var
3c7a89ec933b3ff8d6f464c4c09a4d6d59464f28
<ide><path>spec/update-process-env-spec.js <ide> describe('updateProcessEnv(launchEnv)', function () { <ide> ATOM_HOME: '/the/atom/home' <ide> } <ide> <del> updateProcessEnv({ATOM_SUPPRESS_ENV_PATCHING: 'true', PWD: '/the/dir'}) <add> updateProcessEnv({ATOM_SUPPRESS_ENV_PATCHING: 'true', PWD: '...
1
Python
Python
improve experiment management
116ae46802371b41d0c715e44e411f31a45344aa
<ide><path>fabfile.py <ide> from fabric.api import local, lcd, env, settings, prefix <ide> from os import path, environ <ide> import shutil <add>import sys <ide> <ide> <ide> PWD = path.dirname(__file__) <ide> def train(): <ide> args = environ.get('SPACY_TRAIN_ARGS', '') <ide> with virtualenv(VENV_DIR) as venv...
1
Python
Python
fix docs for hp cloud
164d86c6dfe2f46366e991ac45d06841be760fd6
<ide><path>docs/examples/compute/openstack/hpcloud.py <ide> from libcloud.compute.types import Provider <ide> from libcloud.compute.providers import get_driver <ide> <del>HPCLOUD_AUTH_URL = 'https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/' <add>HPCLOUD_AUTH_URL = 'https://region-a.geo-1.identity.hpcloudsvc....
1
PHP
PHP
add container methods to baseapplication
44da86b33d43f31a537b27e30056a3d063764774
<ide><path>src/Error/ExceptionRenderer.php <ide> use Cake\Controller\ControllerFactory; <ide> use Cake\Core\App; <ide> use Cake\Core\Configure; <add>use Cake\Core\Container; <ide> use Cake\Core\Exception\Exception as CakeException; <ide> use Cake\Core\Exception\MissingPluginException; <ide> use Cake\Event\Event; <ide> ...
6