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
PHP
PHP
remove un-necessary imports
4e515b4ab0e5938256edf4eeab88767a42a9f73f
<ide><path>src/Http/Client/CookieCollection.php <ide> */ <ide> namespace Cake\Http\Client; <ide> <del>use Cake\Http\Client\Response; <del> <ide> /** <ide> * Container class for cookies used in Http\Client. <ide> * <ide><path>src/Http/Client/FormData.php <ide> */ <ide> namespace Cake\Http\Client; <ide> <del>use Ca...
2
Text
Text
add benchmark/readme.md and fix guide
8926f1110dec9a9d16e54cc25b8bcf707c7f656e
<ide><path>benchmark/README.md <add># Node.js Core Benchmarks <add> <add>This folder contains code and data used to measure performance <add>of different Node.js implementations and different ways of <add>writing JavaScript run by the built-in JavaScript engine. <add> <add>For a detailed guide on how to write and run b...
2
Javascript
Javascript
improve readability of some exceptions caught b
2c9d53c1678ca0a024731265cba34a27ca1ad29b
<ide><path>packages/ember-testing/lib/adapters.js <ide> Test.QUnitAdapter = Test.Adapter.extend({ <ide> start(); <ide> }, <ide> exception: function(error) { <del> ok(false, error); <add> ok(false, Ember.inspect(error)); <ide> } <ide> });
1
PHP
PHP
provide a fqcn in docblock
ffeafa83e1bce96a0b19c46978cdbae09878dd6b
<ide><path>src/Collection/CollectionTrait.php <ide> trait CollectionTrait <ide> * type of returned collection interface <ide> * <ide> * @param mixed $args,.. Constructor arguments. <del> * @return CollectionInterface <add> * @return \Cake\Collection\CollectionInterface <ide> */ <ide> pro...
1
Ruby
Ruby
remove dead code
3908a6d8675605f570f07d8be2f9224c1c47f0e3
<ide><path>actionpack/lib/action_dispatch/middleware/cookies.rb <ide> def write(headers) <ide> @delete_cookies.each { |k, v| ::Rack::Utils.delete_cookie_header!(headers, k, v) } <ide> end <ide> <del> def recycle! #:nodoc: <del> @set_cookies = {} <del> @delete_cookies = {} <del> en...
1
Python
Python
add an input validation case in concatenate
a4c1d44192690a8f677b7c17bf798324883e3f75
<ide><path>keras/layers/merge.py <ide> def __init__(self, axis=-1, **kwargs): <ide> <ide> def build(self, input_shape): <ide> # Used purely for shape validation. <del> if not isinstance(input_shape, list): <add> if not isinstance(input_shape, list) or len(input_shape) < 2: <ide> r...
1
PHP
PHP
adjust method location
a8a171128a889a33ddd8c8c8fafab1930de00255
<ide><path>src/Illuminate/Database/Eloquent/Builder.php <ide> public function scopes(array $scopes) <ide> return $builder; <ide> } <ide> <del> /** <del> * Apply the given scope on the current builder instance. <del> * <del> * @param callable $scope <del> * @param array $parameters <del...
1
PHP
PHP
fix typo in comments
64cf746c54417707854106df52a4f41d4ed437de
<ide><path>src/Illuminate/Database/Eloquent/Relations/BelongsToMany.php <ide> protected function hydratePivotRelation(array $models) <ide> { <ide> // To hydrate the pivot relationship, we will just gather the pivot attributes <ide> // and create a new Pivot model, which is basically a dynamic model ...
1
PHP
PHP
enforce stricter assertions.
4c95784ed7de0ec8809072f3c8e16d8b9847fc28
<ide><path>tests/Cache/CacheManagerTest.php <ide> public function testCustomDriverOverridesInternalDrivers() <ide> <ide> $driver = $cacheManager->store('my_store'); <ide> <del> $this->assertEquals('mm(u_u)mm', $driver->flag); <add> $this->assertSame('mm(u_u)mm', $driver->flag); <ide> } <ide>...
31
Python
Python
fix bugs in deep_learning_keras example
4c27958990d186f8ad3ffe595a784e5fe4fc64cf
<ide><path>examples/deep_learning_keras.py <add>import plac <add>import collections <add>import random <add> <add>import cytoolz <ide> import numpy <del>from collections import defaultdict <add>from keras.layers import Sequential, LSTM, Dense, Embedding, Dropout <add>from keras.wrappers import Bidirectional <add>from k...
1
Python
Python
fix typo in language.from_disk
f08c871adf6f126c2ea7112804c813b977bcb167
<ide><path>spacy/language.py <ide> def from_disk(self, path, disable=tuple()): <ide> for name, proc in self.pipeline: <ide> if name in disable: <ide> continue <del> if not hasattr(proc, 'to_disk'): <add> if not hasattr(proc, 'from_disk'): <ide> c...
1
Javascript
Javascript
remove unused imageprops
fbd09b179759cd90f2be5c24caa11bdb483ad8cd
<ide><path>Libraries/Image/ImageProps.js <ide> export type ImageProps = {| <ide> */ <ide> style?: ?ImageStyleProp, <ide> <del> // Can be set via props or style, for now <del> height?: ?DimensionValue, <del> width?: ?DimensionValue, <del> <ide> /** <ide> * Determines how to resize the image when the frame ...
1
Ruby
Ruby
fix rubocop warnings
ecda1c9c54bce43803236fdf1d92ce452905e9be
<ide><path>Library/Homebrew/os/mac/linkage_checker.rb <ide> def check_dylibs <ide> end <ide> <ide> def check_undeclared_deps <del> filter_out = proc do |dep| <del> next true if dep.build? <del> next false unless dep.optional? || dep.recommended? <del> formula.build.without?(dep) <del> ...
1
Go
Go
use a symlink instead of a copy
f9901ead069671c04a2f99c83c1e4d8a13597e7b
<ide><path>runtime.go <ide> func NewRuntimeFromDirectory(config *DaemonConfig) (*Runtime, error) { <ide> return nil, err <ide> } <ide> <del> if err := copyLxcStart(config.Root); err != nil { <add> if err := linkLxcStart(config.Root); err != nil { <ide> return nil, err <ide> } <ide> g, err := NewGraph(path.Join(...
1
Python
Python
remove support for doctests
84f775803994ccd82671dd4a6f9b4d87aa36dc31
<ide><path>rest_framework/renderers.py <ide> by serializing the output along with documentation regarding the View, output status and headers, <ide> and providing forms and links depending on the allowed methods, renderers and parsers on the View. <ide> """ <del>import copy <ide> import string <ide> from django import ...
3
Javascript
Javascript
remove node_unique_id from env on startup
81a4edcf6afc1180b80a516db894db400ce04b1a
<ide><path>lib/cluster.js <ide> var debug; <ide> if (process.env.NODE_DEBUG && /cluster/.test(process.env.NODE_DEBUG)) { <ide> debug = function(x) { <ide> var prefix = process.pid + ',' + <del> (process.env.NODE_WORKER_ID ? 'Worker' : 'Master'); <add> (process.env.NODE_UNIQUE_ID ? 'Worker' : 'Master...
4
PHP
PHP
add test for decimal cast
437060a048d722c544f71637cd920a2ad20d19fd
<ide><path>tests/Integration/Database/EloquentModelDecimalCastingTest.php <add><?php <add> <add>namespace Illuminate\Tests\Integration\Database\EloquentModelDecimalCastingTest; <add> <add>use Illuminate\Support\Facades\Schema; <add>use Illuminate\Database\Eloquent\Model; <add>use Illuminate\Tests\Integration\Database\D...
1
Text
Text
move zfs options to correct place in man page
df6def3c0c1e2a566f3af3499865f8e9bf9da568
<ide><path>man/docker-daemon.8.md <ide> this topic, see <ide> Otherwise, set this flag for migrating existing Docker daemons to a <ide> daemon with a supported environment. <ide> <del>## ZFS options <del> <del>#### zfs.fsname <del> <del>Set zfs filesystem under which docker will create its own datasets. <del>By defaul...
1
PHP
PHP
fix issue with $uses merging
7fe7ce78a76051cb320fb421ac5ac511fccb9a02
<ide><path>lib/Cake/Controller/Controller.php <ide> protected function _mergeControllerVars() { <ide> if ($this->uses === true) { <ide> $this->uses = [$pluginDot . $this->modelClass]; <ide> } <del> $oldUses = $this->uses; <ide> $this->_mergeVars( <ide> ['components', 'helpers', 'uses'], <ide> [ <ide> ...
4
Text
Text
use more tables in run reference and minor fixups
37d856db14280a35bcc4b53009db5a286f1ef9b6
<ide><path>docs/sources/reference/run.md <ide> page_title: Docker run reference <ide> page_description: Configure containers at runtime <ide> page_keywords: docker, run, configure, runtime <ide> <add><!-- TODO (@thaJeztah) define more flexible table/td classes --> <add><style> <add>.content-body table .no-wrap { <add>...
1
Javascript
Javascript
fix integration test in the windows bot
451091b89babd933f03fb1d02d7069a7b14ed677
<ide><path>test/integration/scripting_spec.js <ide> describe("Interaction", () => { <ide> pages = await loadAndWait("js-authors.pdf", "#\\32 5R"); <ide> }); <ide> <add> afterAll(async () => { <add> await closePages(pages); <add> }); <add> <ide> it("must print authors in a text field", async ()...
1
Text
Text
fix conv2d mode in doc examples
d00140862e1b118bb85039e9fbb49dd8ee849534
<ide><path>docs/templates/examples.md <ide> from keras.optimizers import SGD <ide> model = Sequential() <ide> # input: 100x100 images with 3 channels -> (3, 100, 100) tensors. <ide> # this applies 32 convolution filters of size 3x3 each. <del>model.add(Convolution2D(32, 3, 3, border_mode='full', input_shape=(3, 100, 10...
1
Ruby
Ruby
convert formulalock test to spec
22042797d3111316e977eeee6f70439ae41448f6
<ide><path>Library/Homebrew/test/formula_lock_spec.rb <add>require "formula_lock" <add> <add>describe FormulaLock do <add> subject { described_class.new("foo") } <add> <add> describe "#lock" do <add> it "does not raise an error when already locked" do <add> subject.lock <add> <add> expect { subject.lock ...
2
Javascript
Javascript
add publicpath to stats
d9509e8e8d0f3bf0335c2214d45aa523caa5b7a3
<ide><path>lib/MainTemplate.js <ide> function MainTemplate(outputOptions) { <ide> buf.push("// expose the module cache"); <ide> buf.push(this.requireFn + ".c = installedModules;"); <ide> <del> var publicPath = this.outputOptions.publicPath || ""; <del> publicPath = this.applyPluginsWaterfall("asset-path", public...
2
Ruby
Ruby
remove unused require
c2b5c057fa5195a40b3d760ac234c7de384757c5
<ide><path>activejob/lib/active_job/queue_adapter.rb <del>require "active_job/queue_adapters/inline_adapter" <ide> require "active_support/core_ext/string/inflections" <ide> <ide> module ActiveJob
1
Javascript
Javascript
improve installation section
2ce74e547a3912736910f1b654e383f112a9bae0
<ide><path>src/ngResource/resource.js <ide> * <ide> * # Installation <ide> * To use $resource make sure you have included the `angular-resource.js` that comes in Angular <del> * package. You also can find this stuff in {@link http://code.angularjs.org/ code.angularjs.org}. <add> * package. You can also find this fi...
1
Javascript
Javascript
add test for selection.insert
e7ad8bb185ce2a57ced42f1705e9d52c3f480825
<ide><path>test/core/selection-insert-test.js <add>require("../env"); <add>require("../../d3"); <add> <add>var vows = require("vows"), <add> assert = require("assert"); <add> <add>var suite = vows.describe("selection.insert"); <add> <add>suite.addBatch({ <add> "select(body)": { <add> topic: function() { <add> ...
1
Python
Python
fix input embeddings
f2f329408db66285fd59e6628ca394381bb7f94e
<ide><path>transformers/tests/modeling_albert_test.py <ide> def __init__(self, <ide> use_token_type_ids=True, <ide> use_labels=True, <ide> vocab_size=99, <add> embedding_size=16, <ide> hidden_size=36, <ide> ...
3
Text
Text
add v4.9.1 to changelog
8dd9622e7f70c4e70096987389908f44661edba5
<ide><path>CHANGELOG.md <ide> # Ember Changelog <ide> <add>## v4.9.1 (November 30, 2022) <add> <add>- [#20284](https://github.com/emberjs/ember.js/pull/20284) [BUGFIX] remove incorrect types for deprecation functions <add> <ide> ## v4.10.0-beta.2 <ide> <ide> - [#20283](https://github.com/emberjs/ember.js/pull/20283) ...
1
Text
Text
simplify docs on generating android release apk
41789e7929e027f320a705ddc6d129e612a39dee
<ide><path>docs/SignedAPKAndroid.md <ide> android { <ide> <ide> ### Generating the release APK <ide> <del>#### If you have a `react.gradle` file in `android/app` <del> <ide> Simply run the following in a terminal: <ide> <ide> ```sh <ide> $ cd android && ./gradlew assembleRelease <ide> ``` <ide> <del>If you need to ...
1
Javascript
Javascript
update this -> me with master
148c66fe957e1211d65f975b72945a66118a514e
<ide><path>src/core/core.controller.js <ide> module.exports = function(Chart) { <ide> var newWidth = helpers.getMaximumWidth(canvas); <ide> var aspectRatio = chart.aspectRatio; <ide> var newHeight = (me.options.maintainAspectRatio && isNaN(aspectRatio) === false && isFinite(aspectRatio) && aspectRatio !== 0) ?...
1
PHP
PHP
fix failing test
6ca77349428cba0aac69aa8777b106ad106037ea
<ide><path>lib/Cake/Test/TestCase/Console/Command/BakeShellTest.php <ide> public function tearDown() { <ide> * @return void <ide> */ <ide> public function testAllWithModelName() { <add> $dispatcher =& $this->Dispatcher; <add> <ide> $this->Shell->Model = $this->getMock( <ide> 'Cake\Console\Command\Task\ModelTas...
1
Text
Text
fix typos in documentation guidelines
471e6f5396c3ab661ab9459b4e0ff6f935b50194
<ide><path>CONTRIBUTING.md <ide> Syntax: <ide> * a = b and not a=b. <ide> * Follow the conventions you see used in the source already. <ide> <del>Inline Documenation Guidelines: <add>Inline Documentation Guidelines: <ide> <ide> All inline documentation is written using YUIDoc. Follow these rules when <del>updating or...
1
Mixed
Javascript
implement textinput.selecttextonfocus for android
b5106a8fca4516bc6247492c29217a3d2f5df2bd
<ide><path>Libraries/Components/TextInput/TextInput.js <ide> var TextInput = React.createClass({ <ide> clearTextOnFocus: PropTypes.bool, <ide> /** <ide> * If true, all text will automatically be selected on focus <del> * @platform ios <ide> */ <ide> selectTextOnFocus: PropTypes.bool, <ide> ...
2
Ruby
Ruby
fix nulltoken equality
03b309cc76f24f503e50fc4a830147242fdb84e8
<ide><path>Library/Homebrew/version.rb <ide> def initialize(value=nil) <ide> <ide> def <=>(other) <ide> case other <add> when NullToken <add> 0 <ide> when NumericToken <ide> other.value == 0 ? 0 : -1 <ide> when AlphaToken, BetaToken, RCToken
1
Python
Python
update version of `packaging` package
75858ca156b96f47f0b624d0141bcd92debade9d
<ide><path>setup.py <ide> "onnxruntime>=1.4.0", <ide> "optuna", <ide> "optax>=0.0.8", <del> "packaging", <add> "packaging>=20.0", <ide> "parameterized", <ide> "protobuf", <ide> "psutil", <ide><path>src/transformers/dependency_versions_table.py <ide> "onnxruntime": "onnxruntime>=1.4.0",...
2
Go
Go
add support for encrypting gossip traffic
b2b87577d40ff647345d978dfc74fdd446dbb261
<ide><path>libnetwork/agent.go <ide> import ( <ide> "fmt" <ide> "net" <ide> "os" <add> "sort" <ide> <ide> "github.com/Sirupsen/logrus" <ide> "github.com/docker/go-events" <ide> "github.com/docker/libnetwork/datastore" <ide> "github.com/docker/libnetwork/discoverapi" <ide> "github.com/docker/libnetwork/driverap...
7
Text
Text
add note about browsers and http/2
cb69a7d22e33d26ddc0facc1717f0d8b309e0815
<ide><path>doc/api/http2.md <ide> be emitted either by client-side code or server-side code. <ide> <ide> ### Server-side example <ide> <del>The following illustrates a simple, plain-text HTTP/2 server using the <del>Core API: <add>The following illustrates a simple HTTP/2 server using the Core API. <add>Since there a...
1
Python
Python
fix typo in dataset.
7c5c01482f48f9f2532586e679686d821d516ae6
<ide><path>official/datasets/movielens.py <ide> def _transform_csv(input_path, output_path, names, skip_first, separator=","): <ide> separator: Character used to separate fields in the raw csv. <ide> """ <ide> if six.PY2: <del> names = [n.decode("utf-u") for n in names] <add> names = [n.decode("utf-8") fo...
1
Javascript
Javascript
fix unsupported method errors in older browsers
6155d7898eed50cc7bc88fe9b6d06d73c5981411
<ide><path>packages/ember-application/lib/system/hash_location.js <ide> Ember.HashLocation = Ember.Object.extend({ <ide> }; <ide> <ide> get(this, 'callbacks').pushObject(hashchange); <del> window.addEventListener('hashchange', hashchange); <add> <add> // This won't work on old browsers anyway, but this c...
4
PHP
PHP
apply fixes from styleci
89b0c2b53ebd16f0db930701d31c365dd5b176d9
<ide><path>src/Illuminate/Database/Console/Migrations/MigrateCommand.php <ide> <ide> use Illuminate\Console\ConfirmableTrait; <ide> use Illuminate\Database\Migrations\Migrator; <del>use Symfony\Component\Console\Input\InputOption; <ide> <ide> class MigrateCommand extends BaseCommand <ide> { <ide><path>src/Illuminate/...
2
Ruby
Ruby
update blacklist warnings
b4e246e75d1f2a380ca107301a5b30e941de1d9c
<ide><path>Library/Homebrew/blacklist.rb <ide> def blacklisted? name <ide> when 'macruby' then <<-EOS.undent <ide> MacRuby works better when you install their package: <ide> http://www.macruby.org/ <del> <del> Although if you prefer, there is a formula in homebrew-alt. <del> EOS <del> when 'npm' then...
1
Go
Go
fix syscall name
78d995bbd6dc8022faef251835ae6001c4c3da49
<ide><path>term/termios_linux.go <ide> func MakeRaw(fd uintptr) (*State, error) { <ide> <ide> newState.Iflag &^= (syscall.IGNBRK | syscall.BRKINT | syscall.PARMRK | syscall.ISTRIP | syscall.INLCR | syscall.IGNCR | syscall.ICRNL | syscall.IXON) <ide> newState.Oflag &^= syscall.OPOST <del> newState.Lflag &^= (syscall....
1
PHP
PHP
allow column aliases in query builder pluck
4fd6db18d1586eeb8f12424394f143e465015bbc
<ide><path>src/Illuminate/Database/Query/Builder.php <ide> public function lists($column, $key = null) <ide> } <ide> <ide> /** <del> * Strip off the table name from a column identifier. <add> * Strip off the table name or alias from a column identifier. <ide> * <ide> * @param string $column...
2
Text
Text
remove extra whitespace in module docs
1fa59b4c7e575ca70fee802e4cbb599fdb59df04
<ide><path>doc/api/modules.md <ide> added: v9.3.0 <ide> <ide> * {string[]} <ide> <del>A list of the names of all modules provided by Node.js. Can be used to verify <add>A list of the names of all modules provided by Node.js. Can be used to verify <ide> if a module is maintained by a third-party module or not. <ide> ...
1
Javascript
Javascript
move the specific else if clause up
f27e3aa7505e7c33be81d669beec31dcec029c06
<ide><path>src/renderers/dom/shared/ReactDOMComponent.js <ide> ReactDOMComponent.Mixin = { <ide> // listener (e.g., onClick={null}) <ide> deleteListener(this, propKey); <ide> } <del> } else if ( <del> DOMProperty.properties[propKey] || <del> DOMProperty.isCustomAttribu...
1
Ruby
Ruby
avoid an inject in favor of dup
c0c8a04efc16d3737b3a153b1ee4f75065c3193a
<ide><path>activerecord/lib/active_record/base.rb <ide> def with_scope(method_scoping = {}, action = :merge, &block) <ide> <ide> if method_scoping.is_a?(Hash) <ide> # Dup first and second level of hash (method and params). <del> method_scoping = method_scoping.inject({}) do |hash, (met...
1
Text
Text
use code markup/markdown in headers
8b89c89e94694bbf7f8308f2d9017aa9d144c935
<ide><path>doc/api/readline.md <ide> Once this code is invoked, the Node.js application will not terminate until the <ide> `readline.Interface` is closed because the interface waits for data to be <ide> received on the `input` stream. <ide> <del>## Class: Interface <add>## Class: `Interface` <ide> <!-- YAML <ide> adde...
1
Javascript
Javascript
add comment for texture transparency detection
a1f61d30070ea13ff7b4446765ad0f46b2069b9a
<ide><path>examples/js/loaders/MMDLoader.js <ide> THREE.MMDLoader.prototype.createMesh = function ( model, texturePath, onProgress <ide> <ide> if ( m.map !== null ) { <ide> <add> // Check if this part of the texture image the material uses requires transparency <ide> function checkTextureTransparency ( m ) ...
1
PHP
PHP
remove breaking change
366495bf6b54cc9fe359ee093f25b7797956ddd8
<ide><path>src/Illuminate/Foundation/Console/OptimizeCommand.php <ide> public function handle() <ide> { <ide> $this->call('config:cache'); <ide> $this->call('route:cache'); <del> $this->call('view:cache'); <ide> <ide> $this->info('Files cached successfully!'); <ide> }
1
Python
Python
add side inputs
c88b9fb043770eb11dab142a17d645c999a7e4fd
<ide><path>research/object_detection/model_lib_v2.py <ide> def eval_continuously( <ide> <ide> for eval_name, eval_input in eval_inputs: <ide> summary_writer = tf.compat.v2.summary.create_file_writer( <del> model_dir + '/eval' + eval_name) <add> os.path.join(model_dir, 'eval', eval_name)) <i...
1
Javascript
Javascript
add spanish (mexico)
471d67fe197d34486af93045d14453df901dc74e
<ide><path>src/locale/es-mx.js <add>//! moment.js locale configuration <add>//! locale : Spanish (Mexico) [es-mx] <add>//! author : JC Franco : https://github.com/jcfranco <add> <add>import moment from '../moment'; <add> <add>var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split( <add...
2
Javascript
Javascript
make setmulticastttl() conform to v0.4 api
ed111975a096cb44a7d737e46c6e0c73025e0670
<ide><path>lib/dgram.js <ide> Socket.prototype.setTTL = function(arg) { <ide> <ide> <ide> Socket.prototype.setMulticastTTL = function(arg) { <del> if (this._handle.setMulticastTTL(arg) == -1) { <add> if (typeof arg !== 'number') { <add> throw new TypeError('Argument must be a number'); <add> } <add> <add> if (...
1
Text
Text
fix typos in async_hooks
6a56a0a3f831a28376e73eab809e66fb639628b9
<ide><path>doc/api/async_hooks.md <ide> RANDOMBYTESREQUEST, TLSWRAP, Timeout, Immediate, TickObject <ide> There is also the `PROMISE` resource type, which is used to track `Promise` <ide> instances and asynchronous work scheduled by them. <ide> <del>Users are be able to define their own `type` when using the public em...
1
Go
Go
delete the interface on endpoint delete in overlay
83f1107e59f728d2a240471548d6558f59cbd065
<ide><path>libnetwork/drivers/overlay/joinleave.go <ide> func (d *driver) Join(nid, eid string, sboxKey string, jinfo driverapi.JoinInfo, <ide> <ide> sbox := n.sandbox() <ide> <del> name1, name2, err := createVethPair() <add> overlayIfName, containerIfName, err := createVethPair() <ide> if err != nil { <ide> retu...
5
Text
Text
add flarna to collaborators
98007329ef144106e5297f9efcf1a1a26c74124f
<ide><path>README.md <ide> For information about the governance of the Node.js project, see <ide> **Franziska Hinkelmann** &lt;franziska.hinkelmann@gmail.com&gt; (she/her) <ide> * [Fishrock123](https://github.com/Fishrock123) - <ide> **Jeremiah Senkpiel** &lt;fishrock123@rocketmail.com&gt; (he/they) <add>* [Flarna](ht...
1
Text
Text
add basic issue and pr templates
6b1232aa86415f0573153888a46c4c5cb38974d8
<ide><path>.github/ISSUE_TEMPLATE.md <add>**Do you want to request a *feature* or report a *bug*?** <add> <add>**What is the current behavior?** <add> <add>**If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar (templat...
2
Javascript
Javascript
fix breakpoint prefixing in list()
292e2ea5add821645540d12fde57a2546ed77463
<ide><path>lib/_debugger.js <ide> function intChars(n) { <ide> <ide> // Adds spaces and prefix to number <ide> function leftPad(n, prefix) { <del> var s = n.toString(); <del> var nchars = intChars(n); <del> var nspaces = nchars - s.length; <add> var s = n.toString(), <add> nchars = intChars(n), <add> nsp...
1
Javascript
Javascript
remove calls to `range.detach`
8c9a24983e8b9dd452f5e378e845104e81333b74
<ide><path>src/browser/ui/ReactDOMSelection.js <ide> function getModernOffsets(node) { <ide> detectionRange.setStart(anchorNode, anchorOffset); <ide> detectionRange.setEnd(focusNode, focusOffset); <ide> var isBackward = detectionRange.collapsed; <del> detectionRange.detach(); <ide> <ide> return { <ide> st...
1
Ruby
Ruby
remove incorrect comment from example formula
a6a4cd4c917259910a79f712a142fd75b5764379
<ide><path>Library/Contributions/example-formula.rb <ide> def install <ide> # Further possibilities with the pathnames: <ide> # http://www.ruby-doc.org/stdlib-1.8.7/libdoc/pathname/rdoc/Pathname.html <ide> <del> # Sometime you will see that instead of `+` we build up a path with `/` <del> # because it lo...
1
Javascript
Javascript
implement uri imports
19609937c750c170d26bf169cdbe4040931c8d47
<ide><path>lib/NormalModule.js <ide> const ModuleParseError = require("./ModuleParseError"); <ide> const ModuleWarning = require("./ModuleWarning"); <ide> const RuntimeGlobals = require("./RuntimeGlobals"); <ide> const WebpackError = require("./WebpackError"); <add>const { decodeDataURI } = require("./util/DataURI"); <...
3
Text
Text
remove reference to slack
ba2a55f1521cfebb4c9931eec50cf92530df8190
<ide><path>README.md <ide> You can ask questions and join the development discussion: <ide> <ide> - In the [TensorFlow forum](https://discuss.tensorflow.org/). <ide> - On the [Keras Google group](https://groups.google.com/forum/#!forum/keras-users). <del>- On the [Keras Slack channel](https://kerasteam.slack.com). Use...
1
Python
Python
remove unused mlib_pkg_content function
f56c11a7ba8e60fd5e4873be6469022eb5384da9
<ide><path>numpy/core/setup.py <ide> def visibility_define(config): <ide> else: <ide> return '' <ide> <del>def mlib_pkg_content(mathlibs): <del> posix_mlib = ' '.join(['-l%s' % l for l in mathlibs]) <del> msvc_mlib = ' '.join(['%s.lib' % l for l in mathlibs]) <del> ret = """ <del>[meta] <del>Name ...
1
Text
Text
remove extra spaces and concats in examples
6ea8c669df5373e0f3b4dc0092063aafda87c9b7
<ide><path>doc/api/addons.md <ide> const addon = require('./build/Release/addon'); <ide> <ide> var obj1 = addon('hello'); <ide> var obj2 = addon('world'); <del>console.log(obj1.msg + ' ' + obj2.msg); // 'hello world' <add>console.log(obj1.msg, obj2.msg); // 'hello world' <ide> ``` <ide> <ide> <ide><path>doc/api/chil...
7
Go
Go
add a filter chain to allow persistent rules
c348cebe999c76be7eb6643ba742a284dd0ab071
<ide><path>libnetwork/controller.go <ide> addToStore: <ide> c.Unlock() <ide> } <ide> <add> c.Lock() <add> arrangeUserFilterRule() <add> c.Unlock() <add> <ide> return network, nil <ide> } <ide> <ide><path>libnetwork/drivers/bridge/setup_ip_tables.go <ide> func setupIPChains(config *configuration) (*iptables.ChainI...
5
PHP
PHP
fix cs error
5fb45e664acd891d0c6726431531dae1b2175ce9
<ide><path>src/TestSuite/IntegrationTestCase.php <ide> */ <ide> namespace Cake\TestSuite; <ide> <del> <ide> /** <ide> * A test case class intended to make integration tests of <ide> * your controllers easier.
1
Javascript
Javascript
swap actual&optional params
1b75b81649335a32912c3913b5afb5833c8a1602
<ide><path>test/pummel/test-stream-pipe-multi.js <ide> FakeStream.prototype.close = function() { <ide> <ide> // expect all streams to close properly. <ide> process.on('exit', function() { <del> assert.strictEqual(cnt, wclosed); <del> assert.strictEqual(cnt, rclosed); <add> assert.strictEqual(wclosed, cnt); <add> a...
1
Ruby
Ruby
add last_commit method
2f5f352baa95ce9cc6b4e0007ee2fc028ffc2a1a
<ide><path>Library/Homebrew/download_strategy.rb <ide> def head? <ide> version.head? <ide> end <ide> <add> # Return last commit's unique identifier for the repository. <add> # Return most recent modified timestamp unless overridden. <add> def last_commit <add> source_modified_time.to_i.to_s <add> end <add...
1
Javascript
Javascript
pull last chunk on socket close
f153d6da450b6ba5c78381e6e90a7ba243657691
<ide><path>lib/_http_client.js <ide> function socketCloseListener() { <ide> var parser = socket.parser; <ide> var req = socket._httpMessage; <ide> debug('HTTP socket close'); <add> <add> // Pull through final chunk, if anything is buffered. <add> // the ondata function will handle it properly, and this <add> /...
2
Javascript
Javascript
delay data to elements synchronization to update
d1a243efec9532db630268e0584d766b4ce2c73b
<ide><path>src/core/core.datasetController.js <ide> export default class DatasetController { <ide> this._drawCount = undefined; <ide> this.enableOptionSharing = false; <ide> this.$context = undefined; <add> this._syncList = []; <ide> <ide> this.initialize(); <ide> } <ide> export default class Data...
2
Python
Python
fix typo in doc string
25f9d8cb92d5624409f2f2640ac637aedd7ebb25
<ide><path>numpy/core/numeric.py <ide> def nans(shape, dtype=None, order='C'): <ide> """ <ide> Return a new array of given shape and type, filled with nans. <ide> <del> Note that only floating point numbers can represent non-numers as defined <add> Note that only floating point numbers can represent non-...
1
PHP
PHP
update php cs
05f4ab9568145b6c6cb3b773c3ad00d5e20c65a4
<ide><path>src/ORM/Rule/ExistsIn.php <ide> class ExistsIn { <ide> */ <ide> protected $_fields; <ide> <add>/** <add> * The repository where the field will be looked for <add> * <add> * @var array <add> */ <add> protected $_repository; <add> <ide> /** <ide> * Constructor. <ide> * <ide> public function __construct($f...
4
PHP
PHP
update usage of deprecated methods
95f37b22141daade9cb25f6bb2b74592ce311944
<ide><path>src/TestSuite/TestEmailTransport.php <ide> <ide> use Cake\Mailer\AbstractTransport; <ide> use Cake\Mailer\Email; <add>use Cake\Mailer\TransportFactory; <ide> <ide> /** <ide> * TestEmailTransport <ide> public function send(Email $email) <ide> */ <ide> public static function replaceAllTransports() ...
4
Text
Text
move configuration to the right section
6e2e8c0d0f12b707165f3991218fc3cbd7bc37ae
<ide><path>guides/source/configuring.md <ide> The default value depends on the `config.load_defaults` target version: <ide> | (original) | `true` | <ide> | 7.1 | `false` | <ide> <add>#### `config.active_record.yaml_column_permitted_classes` <add> <add>Defaults to...
1
Text
Text
add linter emoji
062072ad8737ce9c32d66628a9a0ca25273bd77e
<ide><path>CONTRIBUTING.md <ide> For more information on how to work with Atom's official packages, see <ide> * :lock: `:lock:` when dealing with security <ide> * :arrow_up: `:arrow_up:` when upgrading dependencies <ide> * :arrow_down: `:arrow_down:` when downgrading dependencies <add> * :shirt: `:shirt:...
1
Javascript
Javascript
fix coding style #2
b2dd2418e298020903fd30c78227aa5ee21abeea
<ide><path>src/math/Quaternion.js <ide> THREE.Quaternion.prototype = { <ide> <ide> slerp: function ( qb, t ) { <ide> <del> if (t === 0) return this; <add> if ( t === 0 ) return this; <ide> <del> if (t === 1) return this.copy( qb ); <add> if ( t === 1 ) return this.copy( qb ); <ide> <ide> var x = this._x, y =...
1
Javascript
Javascript
put this constant with the others
fcf8581255b50afe9245da468ed1a38d6984c084
<ide><path>src/git-repository-async.js <ide> const modifiedStatusFlags = Git.Status.STATUS.WT_MODIFIED | Git.Status.STATUS.IN <ide> const newStatusFlags = Git.Status.STATUS.WT_NEW | Git.Status.STATUS.INDEX_NEW <ide> const deletedStatusFlags = Git.Status.STATUS.WT_DELETED | Git.Status.STATUS.INDEX_DELETED <ide> const in...
1
Python
Python
add a missing word to docs
92a23974b5e7d167c12dfdbb4e5129e352e21923
<ide><path>airflow/configuration.py <ide> def run_command(command): <ide> email_backend = airflow.utils.email.send_email_smtp <ide> <ide> [smtp] <del># If you want airflow to send emails on retries, failure, and you want to <add># If you want airflow to send emails on retries, failure, and you want to use <ide> # the ...
1
Python
Python
add xla to transformer
269581dc231192d2a19f5fa54821b3bc6a104292
<ide><path>official/resnet/imagenet_main.py <ide> def imagenet_model_fn(features, labels, mode, params): <ide> ) <ide> <ide> <del>def define_imagenet_flags(dynamic_loss_scale=False, fp16_implementation=False): <add>def define_imagenet_flags(dynamic_loss_scale=False, <add> fp16_implementatio...
11
Ruby
Ruby
create with_env helper for tests
023d14ecbbc48dcd707b404b8229dd87af5f39a3
<ide><path>activesupport/test/caching_test.rb <ide> def test_expand_cache_key <ide> end <ide> <ide> def test_expand_cache_key_with_rails_cache_id <del> begin <del> ENV['RAILS_CACHE_ID'] = 'c99' <add> with_env('RAILS_CACHE_ID' => 'c99') do <ide> assert_equal 'c99/foo', ActiveSupport::Cache.expand_c...
1
Ruby
Ruby
use relation#except for reversing the order
006519d2c9f142837f3b43882bcd243caa7ccdb9
<ide><path>activerecord/lib/active_record/relation/query_methods.rb <ide> def lock(locks = true) <ide> end <ide> <ide> def reverse_order <del> relation = spawn <del> relation.instance_variable_set(:@orders, nil) <del> <ide> order_clause = arel.send(:order_clauses).join(', ') <add> relation...
1
Javascript
Javascript
add tests for ember.isglobalpath
f41e667d5cf13b7284cb1cad6f44d568f35ef279
<ide><path>packages/ember-metal/tests/accessors/isGlobalPath_test.js <add>// ========================================================================== <add>// Project: Ember Runtime <add>// Copyright: ©2011 Strobe Inc. and contributors. <add>// License: Licensed under MIT license (see license.js) <add>// ==========...
1
Javascript
Javascript
use xcpretty for ios build output if installed
cb8a116d05289048a5da098ae98c86c0b28e66f1
<ide><path>local-cli/runIOS/runIOS.js <ide> const findMatchingSimulator = require('./findMatchingSimulator'); <ide> const getBuildPath = function(configuration = 'Debug', appName, isDevice) { <ide> return `build/Build/Products/${configuration}-${isDevice ? 'iphoneos' : 'iphonesimulator'}/${appName}.app`; <ide> }; <ad...
1
Javascript
Javascript
add hashsalt option
ce76858334c47ec2ae08b6a9036e78fb31559333
<ide><path>lib/Compilation.js <ide> Compilation.prototype.createHash = function createHash() { <ide> var hashDigest = outputOptions.hashDigest; <ide> var hashDigestLength = outputOptions.hashDigestLength; <ide> var hash = require("crypto").createHash(hashFunction); <add> if(outputOptions.hashSalt) <add> hash.update...
1
Javascript
Javascript
force localmoduledependency arity to 3
b7af625659195e35792edce544788d9ce8523742
<ide><path>lib/dependencies/AMDDefineDependencyParserPlugin.js <ide> class AMDDefineDependencyParserPlugin { <ide> )) <ide> ) { <ide> // eslint-disable-line no-cond-assign <del> dep = new LocalModuleDependency(localModule); <add> dep = new LocalModuleDependency(localModule, undefined, false); <ide...
2
Javascript
Javascript
add traditional chinese support
04da17fee79e45ea640f0908f8c3884980c4a300
<ide><path>lang/zh-tw.js <add>(function () { <add> var lang = { <add> months : "一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"), <add> monthsShort : "一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"), <add> weekdays : "星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"), <add> weekd...
1
Text
Text
update instructions on step 49
dbb7f309a75020b0c12bd951462590317b1e7ca2
<ide><path>curriculum/challenges/english/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5ef9b03c81a63668521804e1.md <ide> dashedName: step-49 <ide> <ide> The `fieldset` element is used to group related inputs and labels together in a web form. `fieldset` elements are <dfn>block-level elements</dfn>...
1
Java
Java
fix image loading error when null source is used
9255eeabb3595aeae4bfbdeaface11ee8b30dd81
<ide><path>ReactAndroid/src/main/java/com/facebook/react/views/image/ReactImageView.java <ide> public class ReactImageView extends GenericDraweeView { <ide> <ide> public static final int REMOTE_IMAGE_FADE_DURATION_MS = 300; <del> public static final String REMOTE_TRANSPARENT_BITMAP_URI = <del> "data:image/png;...
2
Text
Text
remove deprecated attr_accessible mention
107d199c45b15c9e54e5f0a5560fa47ccd3695a6
<ide><path>guides/source/form_helpers.md <ide> Active Record provides model level support via the `accepts_nested_attributes_f <ide> class Person < ActiveRecord::Base <ide> has_many :addresses <ide> accepts_nested_attributes_for :addresses <del> <del> attr_accessible :name, :addresses_attributes <ide> end <ide> ...
1
Text
Text
remove inline notes on v2 changes [ci skip]
a4cfe9fc3387516666153054cedf1fb6fafe4457
<ide><path>website/docs/api/cli.md <ide> out to the directory. Accuracy scores and model details will be added to a <ide> [`meta.json`](/usage/training#models-generating) to allow packaging the model <ide> using the [`package`](/api/cli#package) command. <ide> <del><Infobox title="Changed in v2.1" variant="warning"> <...
5
Javascript
Javascript
reactify donation other
baf425f907ba2d3bd47e90a5149dae4a76a3a3bd
<ide><path>client/src/pages/donate-other.js <ide> /* eslint-disable max-len */ <ide> import React, { Component, Fragment } from 'react'; <ide> import Helmet from 'react-helmet'; <add>import { Grid, Col, Row } from '@freecodecamp/react-bootstrap'; <ide> <ide> import Spacer from '../components/helpers/Spacer'; <ide> <i...
1
Javascript
Javascript
simplify output handling in repl tests
950ef82aaf5ff9edab107f06964b24be9cc573d4
<ide><path>test/known_issues/test-repl-require-context.js <ide> outputStream.setEncoding('utf8'); <ide> outputStream.on('data', (data) => output += data); <ide> <ide> r.on('exit', common.mustCall(() => { <del> const results = output.split('\n').map((line) => { <del> return line.replace(/\w*>\w*/, '').trim(); <del>...
2
Javascript
Javascript
fix debug-signal-cluster after da update
d87480beb29b764ba37cd983b594ad25a406a4c7
<ide><path>test/fixtures/clustered-server/app.js <ide> if (cluster.isMaster) { <ide> } <ide> }); <ide> <add> process.on('message', function(msg) { <add> if (msg.type === 'getpids') { <add> var pids = []; <add> pids.push(process.pid); <add> for (var key in cluster.workers) <add> pids.pus...
2
PHP
PHP
implement nullstore in illuminate\cache
8d2f8c7612ccbac71b889ac8b126db1acee24224
<ide><path>src/Illuminate/Cache/CacheManager.php <ide> protected function createMemcachedDriver() <ide> return $this->repository(new MemcachedStore($memcached, $this->getPrefix())); <ide> } <ide> <add> /** <add> * Create an instance of the Null cache driver. <add> * <add> * @return \Illuminate\Cache\NullStore <a...
3
Javascript
Javascript
throw rm() validation errors
adf8f3d1fee3850b2eaa227a74e45a6a27af61ac
<ide><path>lib/internal/fs/utils.js <ide> const defaultRmdirOptions = { <ide> }; <ide> <ide> const validateRmOptions = hideStackFrames((path, options, callback) => { <del> try { <del> options = validateRmdirOptions(options, defaultRmOptions); <del> validateBoolean(options.force, 'options.force'); <del> } catch...
1
Javascript
Javascript
test each block in addon.md contains js & cc
7c9cdb0882058924e9066a8f943109009d8b3bfc
<ide><path>tools/doc/addon-verify.js <ide> function once(fn) { <ide> function verifyFiles(files, onprogress, ondone) { <ide> var dir = path.resolve(verifyDir, 'doc-' + id++); <ide> <add> // must have a .cc and a .js to be a valid test <add> if (!Object.keys(files).some((name) => /\.cc$/.test(name)) || <add> !...
1
Javascript
Javascript
add child entitlements
f7ab15b1cd02ccc7946bb1692dd14a7f8ec6dc58
<ide><path>script/lib/code-sign-on-mac.js <ide> module.exports = async function(packagedAppPath) { <ide> await osxSign.signAsync({ <ide> app: packagedAppPath, <ide> entitlements: macEntitlementsPath, <add> "entitlements-inherit": macEntitlementsPath, <ide> identity: 'Developer ID Ap...
1
Ruby
Ruby
remove helper methods that were moved to helper.rb
d64a09b443ec4198cbb2ae1dfb68448af149ddb1
<ide><path>activerecord/test/cases/base_test.rb <ide> def test_default_scope_is_reset <ide> ensure <ide> Object.class_eval{ remove_const :UnloadablePost } if defined?(UnloadablePost) <ide> end <del> <del> protected <del> def with_env_tz(new_tz = 'US/Eastern') <del> old_tz, ENV['TZ'] = ENV['TZ'], new_tz...
1
Python
Python
explain np.digitize more clearly
268fedb88a1ef4a8bcc843cf7eda50833e9b4ba7
<ide><path>numpy/add_newdocs.py <ide> def luf(lamdaexpr, *args, **kwargs): <ide> <ide> Return the indices of the bins to which each value in input array belongs. <ide> <del> Each index ``i`` returned is such that ``bins[i-1] <= x < bins[i]`` if <del> `bins` is monotonically increasing, or ``bins[i-1] > x >=...
1
Python
Python
enable tokenizer exceptions
7aad6718bc461c963dc47aabd9e9b80181e775b5
<ide><path>spacy/lang/id/tokenizer_exceptions.py <ide> # coding: utf8 <ide> from __future__ import unicode_literals <ide> <del>TOKENIZER_EXCEPTIONS = {} <ide>\ No newline at end of file <add>from ._tokenizer_exceptions_list import FR_BASE_EXCEPTIONS <add> <add>_exc = {} <add> <add>for orth in FR_BASE_EXCEPTIONS + ["et...
1