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
fix issue with postgres and virtualfields
fe9e59591319302760be9c470bb6f6c905b4d43d
<ide><path>lib/Cake/Model/Datasource/Database/Postgres.php <ide> public function fields($model, $alias = null, $fields = array(), $quote = true) <ide> <ide> /** <ide> * Auxiliary function to quote matched `(Model.fields)` from a preg_replace_callback call <add> * Quotes the fields in a function call. <ide> * <ide> ...
2
Text
Text
add note regarding multiple authentications
b0331a0c5bb2e81bb2daa0ae56b4fd30620f0da4
<ide><path>README.md <ide> need to go through each provider to generate new credentials. <ide> <ide> Obtaining API Keys <ide> ------------------ <add> <add>:pushpin: You could support all 5 authentication methods by setting up OAuth keys, but you don't have to. If you would only like to have **Facebook sign-in** and *...
1
Python
Python
use absl app
5a1b5af396c2ef257e6134da754ae59d351516ba
<ide><path>official/nlp/transformer/data_download.py <ide> import tarfile <ide> <ide> # pylint: disable=g-bad-import-order <del>from absl import app as absl_app <add>from absl import app <ide> from absl import flags <ide> from absl import logging <ide> import six <ide> def define_data_download_flags(): <ide> logging...
1
PHP
PHP
add partialmock shorthand
850dffca81baafdbab209f0ce961cf07f8172a19
<ide><path>src/Illuminate/Foundation/Testing/Concerns/InteractsWithContainer.php <ide> protected function mock($abstract, Closure $mock = null) <ide> return $this->instance($abstract, Mockery::mock(...array_filter(func_get_args()))); <ide> } <ide> <add> /** <add> * Mock a partial instance of an obje...
1
Go
Go
remove lcow code
190b6f64e3143e160e79d733fd4abfec1c89b7fd
<ide><path>builder/dockerfile/copy.go <ide> func (o *copier) Cleanup() { <ide> // TODO: allowWildcards can probably be removed by refactoring this function further. <ide> func (o *copier) calcCopyInfo(origPath string, allowWildcards bool) ([]copyInfo, error) { <ide> imageSource := o.imageSource <add> if err := validat...
3
Text
Text
fix translation in contributing.md
66631812fa92e1dda9553366d264097301f12115
<ide><path>docs/i18n-languages/russian/CONTRIBUTING.md <ide> freeCodeCamp.org возможен благодаря тысячам добров <ide> <ide> **Как я могу сообщить о проблеме безопасности?** <ide> <del>Пожалуйста, не создавайте проблемы на GitHub для проблем безопасности. Вместо этого отправьте электронное письмо по адресу `security@f...
1
PHP
PHP
fix failing tests and inconsistent types
436135598f3994a0c2aee1f7a002b1978c3a02ff
<ide><path>src/Console/ConsoleErrorHandler.php <ide> use Cake\Error\FatalErrorException; <ide> use Cake\Error\PHP7ErrorException; <ide> use Exception; <add>use Throwable; <ide> <ide> /** <ide> * Error Handler for Cake console. Does simple printing of the <ide> public function __construct($options = []) <ide> * H...
8
Text
Text
fix typos and grammar in docs
3b80af727a18e318076cfafa10f0670c822f5fe9
<ide><path>TESTING.md <ide> Most code changes will fall into one of the following categories. <ide> ### Writing tests for new features <ide> <ide> New code should be covered by unit tests. If the code is difficult to test with <del>a unit tests then that is a good sign that it should be refactored to make it <add>unit...
2
Javascript
Javascript
avoid empty fixture in module test
c903a9e0c0926921b660c542f921057acd7b3587
<ide><path>test/sequential/test-module-loading.js <ide> <ide> 'use strict'; <ide> const common = require('../common'); <add>const tmpdir = require('../common/tmpdir'); <add> <ide> const assert = require('assert'); <del>const path = require('path'); <ide> const fs = require('fs'); <add>const path = require('path'); <id...
1
Python
Python
add sorts for python3
744dd712386f1d9e86c0305a46dcf81061b769f4
<ide><path>sorts/pancake_sort.py <add># Pancake sort algorithm <add># Only can reverse array from 0 to i <add> <add>def pancakesort(arr): <add> cur = len(arr) <add> while cur > 1: <add> # Find the maximum number in arr <add> mi = arr.index(max(arr[0:cur])) <add> # Reverse from 0 to mi <add>...
2
Go
Go
ignore certain tests on lxc driver
0a5b8c40c088c90abb8e3410b92758ed603836d9
<ide><path>integration-cli/docker_cli_run_test.go <ide> func (s *DockerSuite) TestRunCapAddALLDropNetAdminCanDownInterface(c *check.C) { <ide> } <ide> <ide> func (s *DockerSuite) TestRunGroupAdd(c *check.C) { <add> testRequires(c, NativeExecDriver) <ide> out, _ := dockerCmd(c, "run", "--group-add=audio", "--group-add...
1
Python
Python
add unitary test for history restfull api
a790a3b7f0e10027fdc3c17a82e25d9225456d2e
<ide><path>unitest-restful.py <ide> def test_009_plugins_views(self): <ide> self.assertTrue(req.ok) <ide> self.assertIsInstance(req.json(), dict) <ide> <add> def test_010_history(self): <add> """History.""" <add> method = "history" <add> print('INFO: [TEST_010] History')...
1
Text
Text
fix typos in locker example
6d3bc28289c265a65879a7f28264e6bacb95fbe1
<ide><path>pkg/locker/README.md <ide> type important struct { <ide> func (i *important) Get(name string) interface{} { <ide> i.locks.Lock(name) <ide> defer i.locks.Unlock(name) <del> return data[name] <add> return i.data[name] <ide> } <ide> <ide> func (i *important) Create(name string, data interface{}) { <ide> func...
1
Text
Text
add openslate to inthewild.md
b81bdaaf86df115a295610f9958061af0aeb9872
<ide><path>INTHEWILD.md <ide> Currently **officially** using Airflow: <ide> 1. [OfferUp](https://offerupnow.com) <ide> 1. [OneFineStay](https://www.onefinestay.com) [[@slangwald](https://github.com/slangwald)] <ide> 1. [Open Knowledge International](https://okfn.org) [@vitorbaptista](https://github.com/vitorbaptista) <...
1
Mixed
Ruby
fix validation on uniqueness of empty association
c449a74e8944eed75453963288ea7a8652f5ba93
<ide><path>activerecord/CHANGELOG.md <add>* Fix validation on uniqueness of empty association. <add> <add> *Evgeny Li* <add> <ide> * Make `ActiveRecord::Relation#unscope` affect relations it is merged in to. <ide> <ide> *Jon Leighton* <ide><path>activerecord/lib/active_record/validations/uniqueness.rb <ide>...
3
Ruby
Ruby
add support for openjdk formula
bbb269674270b145614780dbaa2258f6c770ff65
<ide><path>Library/Homebrew/extend/os/mac/language/java.rb <ide> module Language <ide> module Java <ide> def self.system_java_home_cmd(version = nil) <ide> version_flag = " --version #{version}" if version <del> "/usr/libexec/java_home#{version_flag}" <add> "/usr/libexec/java_home#{version_flag} -...
2
Text
Text
remove dead link from immutability reading list
dd2844fd21bbbfc051e36bdf3a12256f9828a202
<ide><path>docs/recipes/reducers/PrerequisiteConcepts.md <ide> Because of these rules, it's important that the following core concepts are full <ide> **Reading List**: <ide> <ide> - [Pros and Cons of Using Immutability With React](http://reactkungfu.com/2015/08/pros-and-cons-of-using-immutability-with-react-js/) <del>...
1
Text
Text
update the subtitle for stack ps
98fb1644c2b9bf7d808a3d75de5997f87b9c60e6
<ide><path>docs/reference/commandline/stack_ps.md <ide> Multiple filter flags are combined as an `OR` filter. For example, <ide> <ide> The currently supported filters are: <ide> <del>* [id](#id) <del>* [name](#name) <del>* [desired-state](#desired-state) <add>* id <add>* name <add>* desired-state <ide> <ide> ## Rela...
1
Javascript
Javascript
upgrade removeparentmodulesplugin to es6
61251de9c01a0f6729d5bc7f0267f23e75f68940
<ide><path>lib/optimize/RemoveParentModulesPlugin.js <ide> MIT License http://www.opensource.org/licenses/mit-license.php <ide> Author Tobias Koppers @sokra <ide> */ <add>"use strict"; <add> <ide> function chunkContainsModule(chunk, module) { <del> var chunks = module.chunks; <del> var modules = chunk.modules; <add> ...
1
Javascript
Javascript
move styled-jsx to external modules
409cf71a4d8296251c07b118e9da43bab98424c0
<ide><path>packages/next/build/webpack.js <ide> function externalsConfig (dir, isServer) { <ide> return externals <ide> } <ide> <del> const notExternalModules = ['next/app', 'next/document', 'next/error', 'http-status'] <add> const notExternalModules = ['next/app', 'next/document', 'next/error', 'http-status',...
1
Python
Python
add siamese example
652f2eb56dfd8b5f8549d06d66bae86bf98454f3
<ide><path>examples/mnist_siamese_graph.py <add>'''Train a Siamese MLP on pairs of digits from the MNIST dataset. <add> <add>It follows Hadsell-et-al.'06 [1] by computing the Euclidean distance on the <add>output of the shared network and by optimizing the contrastive loss (see paper <add>for mode details). <add> <add>...
1
Java
Java
require rsocket 1.0+
5bdbbdfcfb1e0200664e8a2ddcec644928a6d26d
<ide><path>spring-messaging/src/main/java/org/springframework/messaging/rsocket/ClientRSocketFactoryConfigurer.java <del>/* <del> * Copyright 2002-2020 the original author or authors. <del> * <del> * Licensed under the Apache License, Version 2.0 (the "License"); <del> * you may not use this file except in compliance w...
6
PHP
PHP
fix mail notification for mailgun
14d3818f339f1ca928feb19a3a67cd53c8454ba7
<ide><path>src/Illuminate/Notifications/Channels/MailChannel.php <ide> protected function addressMessage($mailMessage, $notifiable, $message) <ide> { <ide> $this->addSender($mailMessage, $message); <ide> <del> $mailMessage->bcc($this->getRecipients($notifiable, $message)); <add> $mailMessage-...
2
Javascript
Javascript
ignore undefined parameters
10e1c759f4602d993a76b0eacf6a2d04c8880017
<ide><path>src/ngResource/resource.js <ide> angular.module('ngResource', ['ng']). <ide> url: function(params) { <ide> var self = this, <ide> url = this.template, <add> val, <ide> encodedVal; <ide> <ide> params = params || {}; <ide> forEach(this.urlParams...
2
Text
Text
add an information about games built
7a2ae44353f9d8a0c89b721bd2475de6d6e3a6d7
<ide><path>guide/english/game-development/pygame/index.md <ide> title: Pygame <ide> <ide> Pygame is an open source, cross platform Python library used for game development, written by Pete Shinners. The Pygame documentation and more information can be found on their website at https://pygame.org. <ide> <add> <ide> ##...
1
Text
Text
add release notes for 1.4.9
dc3013e848889431fcff6be57ce828cb309b2077
<ide><path>CHANGELOG.md <add><a name="1.4.9"></a> <add># 1.4.9 implicit-superannuation (2016-01-21) <add> <add> <add>## Bug Fixes <add> <add>### Core `ng` Module <add>- **$animate:** <add> - correctly handle `$animate.pin()` host elements <add> ([a985adfd](https://github.com/angular/angular.js/commit/a985adfdabd871f3...
1
Text
Text
correct ndim in docs
dece775279955e4aa84f718675a72ff34174a7ee
<ide><path>website/docs/api/vectors.md <ide> modified later. <ide> | _keyword-only_ | | <ide> | `strings` ...
1
Ruby
Ruby
fix logger reference
34b809ce6d6a73296bfbc9f9677f7fb04c218c49
<ide><path>app/controllers/action_mailbox/ingresses/mandrill/inbound_emails_controller.rb <ide> def create <ide> raw_emails.each { |raw_email| ActionMailbox::InboundEmail.create_and_extract_message_id! raw_email } <ide> head :ok <ide> rescue JSON::ParserError => error <del> log.error error.message <add> ...
1
Python
Python
wrap long lines
391737f8568890f9dcd89bd83f7616ce2081e563
<ide><path>numpy/core/tests/test_scalarmath.py <ide> def _test_abs_func(self, absfunc, test_dtype): <ide> def test_builtin_abs(self, dtype): <ide> if ( <ide> sys.platform == "cygwin" and dtype == np.clongdouble and <del> _LooseVersion(platform.release().split("-")[0]) < _Loose...
1
Text
Text
remove wrong spaces and make quotes consistent
5589c378048e29f6238fe9161e34324558efb222
<ide><path>curriculum/challenges/english/10-coding-interview-prep/rosetta-code/letter-frequency.md <ide> assert(typeof letterFrequency == 'function'); <ide> assert(Array.isArray(letterFrequency('Not all that Mrs. Bennet, however'))); <ide> ``` <ide> <del>`letterFrequency("Not all that Mrs. Bennet, however")` should re...
1
Text
Text
fix modelserializer useage
9aa37260098b5ec2750090fb035945780b35ad1d
<ide><path>docs/tutorial/1-serialization.md <ide> Open the file `snippets/serializers.py` again, and edit the `SnippetSerializer` <ide> <ide> class SnippetSerializer(serializers.ModelSerializer): <ide> class Meta: <del> model = models.Snippet <add> model = Snippet <ide> fi...
1
Javascript
Javascript
stabilize raf logic & align timeout logic with it
6d43dc42337089f5fb52b715981c12993f490920
<ide><path>src/effects.js <ide> define( [ <ide> "use strict"; <ide> <ide> var <del> fxNow, timerId, <add> fxNow, inProgress, <ide> rfxtypes = /^(?:toggle|show|hide)$/, <ide> rrun = /queueHooks$/; <ide> <del>function raf() { <del> if ( timerId ) { <del> window.requestAnimationFrame( raf ); <add>function schedule() ...
2
Mixed
Go
add support for exclusion rules in dockerignore
6fd8e485c85c4f8ca62578d0840bdeddc4cba151
<ide><path>docs/sources/articles/dockerfile_best-practices.md <ide> ephemeral as possible. By “ephemeral,” we mean that it can be stopped and <ide> destroyed and a new one built and put in place with an absolute minimum of <ide> set-up and configuration. <ide> <del>### Use [a .dockerignore file](https://docs.docker.co...
7
PHP
PHP
add a from helper method
382f8d6d754cc19828948796821376495397285e
<ide><path>src/Illuminate/Foundation/Testing/Concerns/MakesHttpRequests.php <ide> public function followingRedirects() <ide> return $this; <ide> } <ide> <add> /** <add> * Set the referer header to simulate a previous request. <add> * <add> * @param string $url <add> * @return $this <ad...
1
Text
Text
fix a broken link in fs.md
e588ed7391fb2a92b3936e0011d6fbe0df903fc2
<ide><path>doc/api/fs.md <ide> the file contents. <ide> [chcp]: https://ss64.com/nt/chcp.html <ide> [inode]: https://en.wikipedia.org/wiki/Inode <ide> [support of file system `flags`]: #fs_file_system_flags <del>[Writable Stream]: #stream_class_stream_writable <add>[Writable Stream]: stream.html#stream_class_stream_wri...
1
Java
Java
fix compilation error in eclipse
44c5705b45af3733d8180cd47cdc16146ad9dda2
<ide><path>src/test/java/io/reactivex/internal/operators/completable/CompletableDelayTest.java <ide> public void testOnErrorCalledOnScheduler() throws Exception { <ide> final CountDownLatch latch = new CountDownLatch(1); <ide> final AtomicReference<Thread> thread = new AtomicReference<Thread>(); <ide> ...
1
Python
Python
continue keras conversion to dual-backend version
8f2b5f0458cce4e5588238b86e3e2738952ea849
<ide><path>keras/backend/common.py <ide> import numpy as np <ide> <ide> # the type of float to use throughout the session. <del>_FLOATX = 'float32' <add>_FLOATX = 'float64' <ide> _EPSILON = 10e-8 <ide> <ide> <add>def epsilon(): <add> return _EPSILON <add> <add> <add>def set_epsilon(e): <add> global _EPSILON <a...
14
Javascript
Javascript
add regression test for
eb091458c0f264f6bf8246b7f5626b8e8500148e
<ide><path>test/simple/test-regress-GH-6235.js <add>// Copyright Joyent, Inc. and other Node contributors. <add>// <add>// Permission is hereby granted, free of charge, to any person obtaining a <add>// copy of this software and associated documentation files (the <add>// "Software"), to deal in the Software without re...
1
Text
Text
add documentation tip about overriding variables
d524f6415f4d20e7549d8a5a81be4fdb4f71c3f0
<ide><path>website/docs/usage/projects.md <ide> pipelines. <ide> ```yaml <ide> %%GITHUB_PROJECTS/pipelines/tagger_parser_ud/project.yml <ide> ``` <add>> #### Tip: Overriding variables on the CLI <add>> <add>> If you want to override one or more variables on the CLI and are not already specifying a <add>> project direct...
1
Javascript
Javascript
remove ballshooter_multiview from examples list
5d319675f8d99b44f5e59abe44ba74eb273110d8
<ide><path>examples/files.js <ide> var files = { <ide> ], <ide> "webvr": [ <ide> "webvr_ballshooter", <del> "webvr_ballshooter_multiview", <ide> "webvr_cubes", <ide> "webvr_dragging", <ide> "webvr_lorenzattractor",
1
Text
Text
fix broken link in testing documentation
e82958ca781990f22033052b7530c0c030a14cfb
<ide><path>docs/testing.md <ide> The Next.js community has created packages and articles you may find helpful: <ide> For more information on what to read next, we recommend: <ide> <ide> <div class="card"> <del> <a href="/docs/basic-features/environment-variables#test-environment-variable.md"> <add> <a href="/docs/ba...
1
Text
Text
use subscribe to persist to localstorage
b8f36625e9377cec298659634e2655af563dfdf6
<ide><path>README.md <ide> function counter(state = 0, action) { <ide> // Its API is { subscribe, dispatch, getState }. <ide> let store = createStore(counter) <ide> <del>// You can subscribe to the updates manually, or use bindings to your view layer. <add>// You can use subscribe() to update the UI in response to sta...
1
PHP
PHP
remove uneeded test
3f154f2d8ff4b75fdb7759fb3250f6035cad1823
<ide><path>tests/TestCase/View/Helper/FormHelperTest.php <ide> public function testAddContextProviderAdd() <ide> $this->assertSame($stub, $result); <ide> } <ide> <del> /** <del> * Test adding an invalid context class. <del> * <del> * @return void <del> */ <del> public function testAdd...
1
Go
Go
remove api codepaths < 1.12
7284b08204fb85838170bdf82e2c379e1a4713c9
<ide><path>api/server/server.go <ide> func (s *Server) getImagesJSON(version version.Version, w http.ResponseWriter, r <ide> return err <ide> } <ide> <del> if version.GreaterThanOrEqualTo("1.7") { <del> return writeJSON(w, http.StatusOK, images) <del> } <del> <del> legacyImages := []types.LegacyImage{} <del> <del>...
10
Java
Java
add files changed count to reload metrics
6ceb4fa53feaaedeb2466ff4c349695715c11239
<ide><path>ReactAndroid/src/main/java/com/facebook/react/devsupport/BundleDownloader.java <ide> <ide> package com.facebook.react.devsupport; <ide> <add>import android.util.Log; <ide> import javax.annotation.Nullable; <ide> <ide> import java.io.File; <ide> import okio.Sink; <ide> <ide> public class BundleDownloader ...
2
PHP
PHP
remove duplicated assertions
e132a7c85655ef1bba3ca9e9b3cce58d2d7b1692
<ide><path>lib/Cake/Test/Case/View/Helper/FormHelperTest.php <ide> public function testRadio() { <ide> ); <ide> $this->assertTags($result, $expected); <ide> <del> $result = $this->Form->input('Newsletter.subscribe', array('legend' => 'Legend title', 'type' => 'radio', 'options' => array('0' => 'Unsubscribe', '1' ...
1
Java
Java
use reflection for jdkflowadapter
0078f4677957a3d0c582cf19a145a390cd33ea9a
<ide><path>spring-core/src/main/java/org/springframework/core/ReactiveAdapterRegistry.java <ide> void registerAdapters(ReactiveAdapterRegistry registry) { <ide> private static class ReactorJdkFlowAdapterRegistrar { <ide> <ide> void registerAdapter(ReactiveAdapterRegistry registry) throws Exception { <add> <ide> ...
1
Go
Go
use direct filesystem access for tar-split on aufs
0641429ad8a474c25eb99ee3c5a969b28baaad21
<ide><path>daemon/graphdriver/aufs/aufs.go <ide> func (a *Driver) Diff(id, parent string) (archive.Archive, error) { <ide> }) <ide> } <ide> <add>// DiffPath returns path to the directory that contains files for the layer <add>// differences. Used for direct access for tar-split. <add>func (a *Driver) DiffPath(id stri...
1
Python
Python
use existing functionality for
f4f4e6b2d3f8ff6a5d418c3cb617caebf37e3893
<ide><path>src/transformers/models/auto/tokenization_auto.py <ide> CONFIG_MAPPING_NAMES, <ide> AutoConfig, <ide> config_class_to_model_type, <add> model_type_to_module_name, <ide> replace_list_option_in_docstrings, <ide> ) <ide> <ide> def tokenizer_class_from_name(class_name: str): <ide> if ...
1
Ruby
Ruby
allow hiding from man page
1bdcd2001c53556a3cdc472b0b3797d3822a800b
<ide><path>Library/Homebrew/cli_parser.rb <ide> module Homebrew <ide> module CLI <ide> class Parser <del> attr_reader :processed_options <add> attr_reader :processed_options, :hide_from_man_page <ide> <ide> def self.parse(args = ARGV, &block) <ide> new(&block).parse(args) <ide> def initia...
1
Go
Go
remove unused errnodefaultroute
888e75dfc93d6f3ecb535729a55f9c4673cf5fd0
<ide><path>libnetwork/netutils/utils.go <ide> var ( <ide> ErrNetworkOverlapsWithNameservers = errors.New("requested network overlaps with nameserver") <ide> // ErrNetworkOverlaps preformatted error <ide> ErrNetworkOverlaps = errors.New("requested network overlaps with existing network") <del> // ErrNoDefaultRoute pr...
1
Ruby
Ruby
fix warning in av tests
2f8be7ebafcf7815f9f3ec7983789157525a60fa
<ide><path>actionview/lib/action_view/renderer/partial_renderer.rb <ide> def setup(context, options, block) <ide> partial = options[:partial] <ide> <ide> if String === partial <del> @object = options[:object] if options.has_key?(:object) <add> @has_object = options.key?(:object) <add> ...
1
Javascript
Javascript
fix cinematic camera example
f069efb0d79b7b9adadc30005d7c832543a68db5
<ide><path>examples/js/cameras/CinematicCamera.js <ide> THREE.CinematicCamera.prototype.initPostProcessing = function () { <ide> fragmentShader: bokeh_shader.fragmentShader, <ide> defines: { <ide> RINGS: this.shaderSettings.rings, <del> SAMPLES: this.shaderSettings.samples <add> SAMPLES: this.shaderSett...
1
Javascript
Javascript
solve the spaces vs tabs indentation issues
2bfb1f557b7e39bda0656a5a65a4658fcfc7d50f
<ide><path>examples/js/renderers/SoftwareRenderer.js <ide> THREE.SoftwareRenderer = function ( parameters ) { <ide> } <ide> <ide> } else if ( element instanceof THREE.RenderableLine ) { <del> <del> var shader = getMaterialShader( material ); <del> <del> ...
1
Text
Text
revise commandline guide [ci skip]
b8aa3923af388dfbaf7524a83f3ee2f1f59cc36a
<ide><path>guides/source/command_line.md <ide> The `tmp:` namespaced tasks will help you clear the `Rails.root/tmp` directory: <ide> * `rake secret` will give you a pseudo-random key to use for your session secret. <ide> * `rake time:zones:all` lists all the timezones Rails knows about. <ide> <del>### Writing Rake Tas...
1
Javascript
Javascript
remove unused ensurecomponentisnative mock
d1439e8b854b4e805c94dfbe7444237c4d602b38
<ide><path>Libraries/Components/Touchable/__mocks__/ensureComponentIsNative.js <del>/** <del> * Copyright (c) Facebook, Inc. and its affiliates. <del> * <del> * This source code is licensed under the MIT license found in the <del> * LICENSE file in the root directory of this source tree. <del> * <del> * @format <del> *...
1
Python
Python
use format_html in tags that generate html
21cad8646af7fd91eb3f81097b14b908d6c4c49d
<ide><path>rest_framework/templatetags/rest_framework.py <ide> from django.template import Context, loader <ide> from django.utils import six <ide> from django.utils.encoding import force_text, iri_to_uri <del>from django.utils.html import escape, smart_urlquote <add>from django.utils.html import escape, format_html, s...
1
Mixed
Text
fix typs from go to go
7dad9d5ce45f25750f339642d3b84a81cc2ba98e
<ide><path>cli/command/container/inspect.go <ide> func newInspectCommand(dockerCli *command.DockerCli) *cobra.Command { <ide> } <ide> <ide> flags := cmd.Flags() <del> flags.StringVarP(&opts.format, "format", "f", "", "Format the output using the given go template") <add> flags.StringVarP(&opts.format, "format", "f",...
28
PHP
PHP
add a comment
10c405725f153670645d5b5657965698149a8f34
<ide><path>src/Illuminate/Foundation/Bootstrap/ConfigureLogging.php <ide> class ConfigureLogging { <ide> */ <ide> public function bootstrap(Application $app) <ide> { <del> $app->instance('log', new Writer(new Monolog($app->environment()), $app['events'])); <add> $app->instance('log', new Writer( <add> new Monol...
1
Javascript
Javascript
stop caching colorscheme in js
f15309fa15fbbda2feeee2820d3f0d69e3712afd
<ide><path>Libraries/Utilities/Appearance.js <ide> import invariant from 'invariant'; <ide> type AppearanceListener = (preferences: AppearancePreferences) => void; <ide> const eventEmitter = new EventEmitter(); <ide> <del>// TODO: (hramos) T52919652 Use ?ColorSchemeName once codegen supports union <del>const nativeCol...
1
Go
Go
fix empty-lines (revive)
cd51c9fafbce704e1246102b3214ff731e0f4c2f
<ide><path>client/events.go <ide> import ( <ide> // be sent over the error channel. If an error is sent all processing will be stopped. It's up <ide> // to the caller to reopen the stream in the event of an error by reinvoking this method. <ide> func (cli *Client) Events(ctx context.Context, options types.EventsOptions...
2
Java
Java
support custom fonts for flat react rendering
1a2cf776af55d3f8279ee2f14814bd94100f9739
<ide><path>ReactAndroid/src/main/java/com/facebook/react/flat/FlatUIImplementation.java <ide> <ide> package com.facebook.react.flat; <ide> <add>import javax.annotation.Nullable; <add> <ide> import java.util.ArrayList; <ide> import java.util.List; <ide> <del>import javax.annotation.Nullable; <del> <del>import com.fac...
2
Javascript
Javascript
remove unnecessary variable from test
323789540a6de11f3777be6a92317d53a905530c
<ide><path>src/browser/server/__tests__/ReactServerRendering-test.js <ide> describe('ReactServerRendering', function() { <ide> <ide> describe('renderToStaticMarkup', function() { <ide> it('should not put checksum and React ID on components', function() { <del> var lifecycle = []; <ide> var NestedCompo...
1
Python
Python
correct an issue on unicode for python 3
67485845bfc27353491fe04cc085182204d4f525
<ide><path>glances/plugins/glances_fs.py <ide> def update(self): <ide> 'device_name': fs.device, <ide> 'fs_type': fs.fstype, <ide> # Manage non breaking space (see issue #1065) <del> 'mnt_point': unicode(fs.mountpoint, 'utf-8').replace(u'\u0...
1
PHP
PHP
check datatype correctly in postgresgrammar
d8e3a500a9bbdbf47a4fd2798da0a85636da56f2
<ide><path>src/Illuminate/Database/Query/Grammars/PostgresGrammar.php <ide> protected function compileUpdateJoinWheres(Builder $query) <ide> public function prepareBindingsForUpdate(array $bindings, array $values) <ide> { <ide> $values = collect($values)->map(function ($value, $column) { <del> ...
1
Python
Python
change api of reshape layer
7219bb4b964249a515b05b0ee872019bbe9b64ff
<ide><path>keras/layers/core.py <ide> class Reshape(Layer): <ide> Can't be used as first layer in a model (no fixed input!) <ide> First dimension is assumed to be nb_samples. <ide> ''' <del> def __init__(self, *dims): <add> def __init__(self, dims): <ide> super(Reshape, self).__init__(...
1
Javascript
Javascript
update error name
1ed3c54ecbd72a33693e5954f86bcc9fd9b1cc09
<ide><path>lib/internal/assert/assertion_error.js <ide> class AssertionError extends Error { <ide> } <ide> <ide> this.generatedMessage = !message; <del> this.name = 'AssertionError [ERR_ASSERTION]'; <add> Object.defineProperty(this, 'name', { <add> value: 'AssertionError [ERR_ASSERTION]', <add> ...
71
Text
Text
use https url for the api documentation page
4fcbb8aaaf32e57d5ec1c23460c0d2c86da4fe6e
<ide><path>README.md <ide> string which includes their date (in UTC time) and the commit SHA at <ide> the HEAD of the release. <ide> <ide> **API documentation** is available in each release and nightly <del>directory under _docs_. <http://iojs.org/api/> points to the the <add>directory under _docs_. <https://iojs.org/...
1
Javascript
Javascript
add quaternion tests
9d324c9601f2fddcb86d1f09262db9a0998338c3
<ide><path>test/unit/src/math/Quaternion.tests.js <ide> export default QUnit.module( 'Maths', () => { <ide> <ide> } ); <ide> <del> QUnit.todo( "x", ( assert ) => { <add> QUnit.test( "x", ( assert ) => { <add> var a = new Quaternion(); <add> assert.ok(a.x === 0, "Passed!"); <ide> <del> assert.ok( false, "ev...
1
Python
Python
add extra col to log model
690c3e6373fa2490f6a8cdec9131e4f9d9f5379f
<ide><path>airflow/models.py <ide> class Log(Base): <ide> event = Column(String(30)) <ide> execution_date = Column(DateTime) <ide> owner = Column(String(500)) <add> extra = Column(Text) <ide> <del> def __init__(self, event, task_instance, owner=None): <add> def __init__(self, event, task_instance,...
1
PHP
PHP
fix string length for odd lengths
71a715f93a1bb24b2d22a41612c97465b70a9e46
<ide><path>src/Utility/Security.php <ide> public static function randomBytes($length) <ide> */ <ide> public static function randomString($length) <ide> { <del> return bin2hex(Security::randomBytes($length / 2)); <add> return substr( <add> bin2hex(Security::randomBytes(ceil($length ...
2
Javascript
Javascript
remove renderwithentry hook and add render hook
b7ad2b368c609070ed212af92e4729980987b233
<ide><path>lib/AmdTemplatePlugin.js <ide> class AmdTemplatePlugin { <ide> <ide> const hooks = JavascriptModulesPlugin.getCompilationHooks(compilation); <ide> <del> hooks.renderWithEntry.tap( <add> hooks.render.tap( <ide> "AmdTemplatePlugin", <ide> (source, { chunk, runtimeTemplate, chunkGraph }) => { <...
9
Text
Text
remove temporary inline styles
4e6a01023b7422dc3df7f02e248bb06361069fcc
<ide><path>docs/sources/project/find-an-issue.md <ide> page_title: Make a project contribution <ide> page_description: Basic workflow for Docker contributions <ide> page_keywords: contribute, pull request, review, workflow, white-belt, black-belt, squash, commit <ide> <del><!-- TODO (@thaJeztah) remove after docs/base...
6
Text
Text
add arabic translation for bash-mkdir
46d567121ed3439b514e66e9297ad8725fc7408a
<ide><path>guide/arabic/bash/bash-mkdir/index.md <add>--- <add>title: Bash mkdir <add>localeTitle: باش mkdir <add>--- <add> <add>## أمر Bash: mkdir <add> <add>**انشاء مجلد** <add> <add>مثال: <add> <add>`mkdir directory_name` <add> <add>يستخدم هذا الأمر لإنشاء مجلد جديد بالاسم المزود. <add> <add>بعض الخيارات الاكثر استخ...
1
PHP
PHP
remove numerous calls to in_array()
2789ab09deeb337a2909bd416153470595e959ab
<ide><path>src/View/StringTemplate.php <ide> class StringTemplate { <ide> * @var array <ide> */ <ide> protected $_compactAttributes = array( <del> 'compact', 'checked', 'declare', 'readonly', 'disabled', 'selected', <del> 'defer', 'ismap', 'nohref', 'noshade', 'nowrap', 'multiple', 'noresize', <del> 'autoplay', '...
1
Python
Python
add processors to __init__
0b84b9fd8a728ca46e4109aa38a11b25f87a09bf
<ide><path>transformers/__init__.py <ide> glue_output_modes, glue_convert_examples_to_features, <ide> glue_processors, glue_tasks_num_labels, <ide> squad_convert_examples_to_features, SquadFeatures, <del> SquadExample) <add> S...
3
Go
Go
remove unuse slice in registry
3ed06f96706887e491f8acdb72c5704022504fa9
<ide><path>registry/types.go <ide> import ( <ide> "github.com/docker/docker/reference" <ide> ) <ide> <del>// RepositoryData tracks the image list, list of endpoints, and list of tokens <del>// for a repository <add>// RepositoryData tracks the image list, list of endpoints for a repository <ide> type RepositoryData s...
1
Javascript
Javascript
stabilize azure test
b12389598b20852367074f7cde94b6fce52995e3
<ide><path>test/integration/dynamic-routing/pages/[name]/[comment].js <ide> const $comment = ({ gipQuery }) => { <ide> <ide> return ( <ide> <> <del> <p> <add> <p id="asdf"> <ide> I am {query.comment} on {query.name} <ide> </p> <ide> <span>gip {gipQuery && gipQuery.name}</span> <ide>...
13
Text
Text
update object_detection docs
c0cf58e635f47145c086b6bf2c39ed73e759557f
<ide><path>object_detection/g3doc/configuring_jobs.md <ide> number of workers, gpu type). <ide> <ide> ## Configuring the Evaluator <ide> <del>Currently evaluation is fixed to generating metrics as defined by the PASCAL <del>VOC challenge. The parameters for `eval_config` are set to reasonable defaults <del>and typica...
6
PHP
PHP
fix serials typo
afec6c4becba0ce50d4a58aacb83b3b9b7c1a58b
<ide><path>src/Illuminate/Database/Schema/Grammars/PostgresGrammar.php <ide> class PostgresGrammar extends Grammar { <ide> * <ide> * @var array <ide> */ <del> protected $serial = array('bigInteger', 'integer'); <add> protected $serials = array('bigInteger', 'integer'); <ide> <ide> /** <ide> * Compile the quer...
3
Text
Text
remove unrelated trailing characters
067cbb0761e0d8501c5754afe53c6c07e9cd7611
<ide><path>guide/english/laravel/index.md <ide> Ready-to-use bundles provided by Laravel through Composer and Packagist include <ide> - **SSH** - introduced in Laravel 4.1, allows programmatic execution of CLI commands on remote servers using the Secure Shell (SSH) as an encrypted network protocol. <ide> - **Scheduler*...
1
PHP
PHP
remove unused import
62fb1e510e97dd0605cdfec76e6a6cadab801bd0
<ide><path>src/Utility/Xml.php <ide> */ <ide> namespace Cake\Utility; <ide> <del>use Cake\Collection\Collection; <ide> use Cake\Core\Configure; <ide> use Cake\Network\Error\SocketException; <ide> use Cake\Network\Http\Client;
1
Python
Python
add support for custom padding value in sequence
9c8e0d43f35c0581f0d2ac8c225d25d57490629e
<ide><path>keras/preprocessing/sequence.py <ide> import random <ide> from six.moves import range <ide> <del>def pad_sequences(sequences, maxlen=None, dtype='int32', padding='pre'): <add>def pad_sequences(sequences, maxlen=None, dtype='int32', padding='pre', value=0.): <ide> """ <ide> Pad each sequence to t...
1
Javascript
Javascript
fix transpile-row and make linter happy
a1e6947c7987184f9f1872041a894f9d4d67cb86
<ide><path>tasks/transpile.js <ide> module.exports = function (grunt) { <ide> <ide> var headerCache = {}; <ide> function getHeaderByFile(headerFile) { <del> if (headerFile == 'none') { <add> if (headerFile === 'none') { <ide> return ''; <ide> } <ide> if (!(headerFile i...
1
Go
Go
correct the flag comments
00bd7b4c414061d71d7f94b5850cbe132da623f0
<ide><path>pkg/mflag/flag.go <ide> For such flags, the default value is just the initial value of the variable. <ide> <ide> You can also add "deprecated" flags, they are still usable, but are not shown <del> in the usage and will display a warning when you try to use them: <del> var ip = flag.Int([]string{"#f", "#f...
1
Javascript
Javascript
update 6 comparions to strict
b869ecaacfdd218e1920f1545a88a4304efd0288
<ide><path>lib/readline.js <ide> Interface.prototype._tabComplete = function(lastKeypressWasTab) { <ide> <ide> // this = Interface instance <ide> function handleGroup(self, group, width, maxColumns) { <del> if (group.length == 0) { <add> if (group.length === 0) { <ide> return; <ide> } <ide> var minRows = Mat...
1
Ruby
Ruby
use short hash for mercurial
5ddee3502e7c8dd67b1fec4de2f72df6fd16cc94
<ide><path>Library/Homebrew/download_strategy.rb <ide> def source_modified_time <ide> end <ide> <ide> def last_commit <del> Utils.popen_read("hg", "parent", "--template", "{node}", "-R", cached_location.to_s) <add> Utils.popen_read("hg", "parent", "--template", "{node|short}", "-R", cached_location.to_s) <id...
1
Ruby
Ruby
remove dead code
46334bac3d0269952e53bb817372cad4d43cb9e1
<ide><path>activerecord/lib/active_record/migration.rb <ide> def any_migrations? <ide> migrations(migrations_paths).any? <ide> end <ide> <del> def last_version <del> last_migration.version <del> end <del> <ide> def last_migration #:nodoc: <ide> migrations(migrations_paths)....
2
Javascript
Javascript
remove unused variable
5c6985bc82fe984beef2bed3b04e187814b000a9
<ide><path>test/webserver.js <ide> WebServer.prototype = { <ide> res.setHeader('Content-Type', 'text/html'); <ide> res.writeHead(200); <ide> <del> var content = ''; <ide> if (queryPart === 'frame') { <ide> res.end('<html><frameset cols=*,200><frame name=pdf>' + <ide> '<frame sr...
1
Javascript
Javascript
use clamp for clampscalar implementation
8375a6f421c3a761b48fa2c26318d92b7fc8fd49
<ide><path>src/math/Vector2.js <ide> THREE.Vector2.prototype = { <ide> return this; <ide> }, <ide> <del> clampScalar: function ( minVal, maxVal ) { <del> <del> if ( this.x < minVal ) { <del> this.x = minVal; <del> } else if ( this.x > maxVal ) { <del> this.x = maxVal; <del> ...
4
Javascript
Javascript
fix non-passive event listener warning in chrome
548edc65ea96ac51ab17bde2942fd6f319f63e8c
<ide><path>src/core/core.helpers.js <ide> module.exports = function(Chart) { <ide> }; <ide> <ide> }; <del> helpers.addEvent = function(node, eventType, method) { <del> if (node.addEventListener) { <del> node.addEventListener(eventType, method); <del> } else if (node.attachEvent) { <del> node.attachEvent('on' ...
3
Text
Text
improve translation and formatting consistency
351d19aa75df2b63331261cfd7f77413ce73847f
<ide><path>guide/spanish/css/background/index.md <ide> localeTitle: Fondo <ide> <ide> La propiedad de fondo (background) te permite usar imágenes y colores para crear fondos para tus páginas web. <ide> <del>### Color de fondo <add>### Color de Fondo <ide> <ide> La propiedad de color de fondo te permite elegir el col...
1
Javascript
Javascript
remove operatorlist cache from the backend
f701a1427a4473f0e9196edbb5e987a699a0333f
<ide><path>src/core.js <ide> var Page = (function PageClosure() { <ide> }, <ide> <ide> getOperatorList: function Page_getOperatorList(handler, dependency) { <del> if (this.operatorList) { <del> // content was compiled <del> return this.operatorList; <del> } <del> <ide> var xref = ...
2
PHP
PHP
take array keys of pattern filters
e350e7397d0518aa2a0cdd152332a31f18ba565e
<ide><path>src/Illuminate/Foundation/Console/RoutesCommand.php <ide> protected function getPatternFilters($route) <ide> // we have already gathered up then return them back out to these consumers. <ide> $inner = $this->getMethodPatterns($route->uri(), $method); <ide> <del> $patterns = array_merge($patterns, $i...
1
Javascript
Javascript
fix comment typo in sc.inspect
94d0bb71aa1fa8bc82a902aa608ea4b29d043aac
<ide><path>packages/sproutcore-runtime/lib/core.js <ide> SC.copy = function(obj, deep) { <ide> Convenience method to inspect an object. This method will attempt to <ide> convert the object into a useful string description. <ide> <del> @param {Object} obj The object you want to inspec. <add> @param {Object} obj T...
1
Javascript
Javascript
add more logging to debug ci failure
bd05990ccf0ee6c08a9369083ad1c462f8725ce7
<ide><path>src/main-process/start.js <add>console.log('START ATOM!') <add> <ide> const {app} = require('electron') <ide> const nslog = require('nslog') <ide> const path = require('path') <ide> const fs = require('fs') <ide> const CSON = require('season') <ide> const Config = require('../config') <ide> <add>console.log...
1
Ruby
Ruby
use usageerror, extend timeout
fbb28175d8220ea89556f0275238387f4dfe386a
<ide><path>Library/Homebrew/cmd/info.rb <ide> def info_formula(f) <ide> def formulae_api_json(endpoint) <ide> return if ENV["HOMEBREW_NO_ANALYTICS"] || ENV["HOMEBREW_NO_GITHUB_API"] <ide> <del> output, = curl_output("--max-time", "3", <add> output, = curl_output("--max-time", "5", <ide> "https://form...
1
Javascript
Javascript
make use of the block scoping nature of let
79a36a66ff64b3092cfb4c51daf82e38d266b4f8
<ide><path>lib/Stats.js <ide> class Stats { <ide> }; <ide> <ide> const table = (array, align, splitter) => { <del> let row; <ide> const rows = array.length; <del> let col; <ide> const cols = array[0].length; <ide> const colSizes = new Array(cols); <del> let value; <del> for(col = 0; col < cols; co...
1
Java
Java
fix issue with path matching options
203977972b9c6e0a26cf99e30b620f9ab127bc5b
<ide><path>spring-webflux/src/main/java/org/springframework/web/reactive/result/method/annotation/RequestMappingHandlerMapping.java <ide> protected RequestMappingInfo getMappingForMethod(Method method, Class<?> handler <ide> if (this.embeddedValueResolver != null) { <ide> prefix = this.embeddedValueResolver....
3
Java
Java
apply extra checks to static resource handling
9cef8e3001ddd61c734281a7556efd84b6cc2755
<ide><path>spring-webmvc/src/main/java/org/springframework/web/servlet/resource/PathResourceResolver.java <ide> package org.springframework.web.servlet.resource; <ide> <ide> import java.io.IOException; <add>import java.net.URLDecoder; <ide> import java.util.List; <add> <ide> import javax.servlet.http.HttpServletReques...
7