hash stringlengths 40 40 | diff stringlengths 131 26.7k | message stringlengths 7 694 | project stringlengths 5 67 | split stringclasses 1
value | diff_languages stringlengths 2 24 |
|---|---|---|---|---|---|
82da4e682dfb26ef3020db30fc9ba8fb49ba7863 | diff --git a/src/Models/UserLink.php b/src/Models/UserLink.php
index <HASH>..<HASH> 100644
--- a/src/Models/UserLink.php
+++ b/src/Models/UserLink.php
@@ -11,8 +11,8 @@
namespace Infuse\Auth\Models;
-use Infuse\Utility as U;
use Pulsar\Model;
+use RandomLib\Factory;
class UserLink extends Model
{
@@ -60,7 +60... | use random-lib to generate user links | infusephp_auth | train | php |
05ccb319d259b5e30b7324a0fc007bb013d19f3b | diff --git a/php/base/Exchange.php b/php/base/Exchange.php
index <HASH>..<HASH> 100644
--- a/php/base/Exchange.php
+++ b/php/base/Exchange.php
@@ -1839,7 +1839,7 @@ class Exchange {
$array = array_values($array);
$valueIsSet = isset($value);
$sinceIsSet = isset($since);
- $array = arra... | fix: undefined index $key was used | ccxt_ccxt | train | php |
70997c6ff2fd0388ff792b39c32f42f7289792e0 | diff --git a/lib/engineyard-serverside/deploy.rb b/lib/engineyard-serverside/deploy.rb
index <HASH>..<HASH> 100644
--- a/lib/engineyard-serverside/deploy.rb
+++ b/lib/engineyard-serverside/deploy.rb
@@ -95,7 +95,9 @@ A database-adapter gem such as mysql2, mysql, or do_mysql was expected.
This can prevent applications ... | Describe how to hide the adapter warning in the warning. | engineyard_engineyard-serverside | train | rb |
6334286b041fed8de411e2a7020d32e5f545b799 | diff --git a/NEMbox/player.py b/NEMbox/player.py
index <HASH>..<HASH> 100644
--- a/NEMbox/player.py
+++ b/NEMbox/player.py
@@ -133,6 +133,7 @@ class Player:
if self.info["idx"] >= len(self.info["player_list"]) and self.end_callback != None:
self.end_callback()
if self.info["idx"] < 0 or s... | Fix self.info["idx"] always is -1 | darknessomi_musicbox | train | py |
f5ccc2a97766ced3c914f42c4862437e5f9ae960 | diff --git a/src/number/multiples.js b/src/number/multiples.js
index <HASH>..<HASH> 100644
--- a/src/number/multiples.js
+++ b/src/number/multiples.js
@@ -1,4 +1,5 @@
import _curry2 from '../_internals/_curry2'
+import _appendǃ from '../_internals/_appendǃ'
const multiples = (limit, n) => {
const m = []
@@ -10,7... | Swap push out for kyanite dirty append | dhershman1_kyanite | train | js,js |
17f76610cefd26bc3fa51835560893c691630246 | diff --git a/fsnotify_test.go b/fsnotify_test.go
index <HASH>..<HASH> 100644
--- a/fsnotify_test.go
+++ b/fsnotify_test.go
@@ -234,12 +234,6 @@ func TestFsnotifyAttrib(t *testing.T) {
}
defer os.RemoveAll(testDir)
- // Add a watch for testDir
- err = watcher.Watch(testDir)
- if err != nil {
- t.Fatalf("Watcher.W... | Remote watch on directory for attrib test so we don't get create for attrib file | fsnotify_fsnotify | train | go |
67f5beff97aad474c13bb17362d8d1e0c7d66691 | diff --git a/src/Valid.php b/src/Valid.php
index <HASH>..<HASH> 100644
--- a/src/Valid.php
+++ b/src/Valid.php
@@ -66,7 +66,7 @@ class Valid
return true;
}
- public function byFreqValid($freq, $byweeknos, $byyeardays, $bymonthdays)
+ public static function byFreqValid($freq, $byweeknos, $byyearday... | Fix Valid::byFreqValid() Method Signature
Method is called statically on line <I> of the When class. | tplaner_When | train | php |
d14dc2b099ad65238dd941215e9e7d21cd204131 | diff --git a/test/helper.rb b/test/helper.rb
index <HASH>..<HASH> 100644
--- a/test/helper.rb
+++ b/test/helper.rb
@@ -8,7 +8,7 @@ require 'set'
include God
-if Process.uid != 0
+if Process.uid != 0 and RbConfig::CONFIG['host_os'] == "linux"
abort <<-EOF
\n
****************************************************... | only require sudo execution on linux (it only concerns that platform) | mojombo_god | train | rb |
5614247ac0247c1477312edd194b47dfa38d7934 | diff --git a/Security/Configuration/SecurityConfigurationInterface.php b/Security/Configuration/SecurityConfigurationInterface.php
index <HASH>..<HASH> 100644
--- a/Security/Configuration/SecurityConfigurationInterface.php
+++ b/Security/Configuration/SecurityConfigurationInterface.php
@@ -1,4 +1,4 @@
-<?php
+<?php dec... | Enable strict types in security config interface. | DarvinStudio_DarvinAdminBundle | train | php |
247f5a49cb5a946e57a124b342ee5900d1ecb989 | diff --git a/packages/kirki-framework/control-fontawesome/src/Control/FontAwesome.php b/packages/kirki-framework/control-fontawesome/src/Control/FontAwesome.php
index <HASH>..<HASH> 100644
--- a/packages/kirki-framework/control-fontawesome/src/Control/FontAwesome.php
+++ b/packages/kirki-framework/control-fontawesome/s... | dummy - test pre-push hook | aristath_kirki | train | php |
f96c6759f5b160361ac6c1238dff7b461e49443b | diff --git a/macroeco/models/_distributions.py b/macroeco/models/_distributions.py
index <HASH>..<HASH> 100644
--- a/macroeco/models/_distributions.py
+++ b/macroeco/models/_distributions.py
@@ -911,7 +911,7 @@ class logser_gen(rv_discrete_meco):
return stats.logser.cdf(x, p)
def _stats(self, p):
- ... | Changed log to np.log in logser | jkitzes_macroeco | train | py |
b3449edb35292f097cc041c9a41da4222381ce8b | diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index <HASH>..<HASH> 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -185,8 +185,11 @@ class ProvisionerTests
@nats.subscribe("#{service_name}.provision.#{node_id}") { |_, reply|
@got_provision_request = true
response = ... | send correct provision response format back in base service unit test | cloudfoundry-attic_vcap-services-base | train | rb |
ee41cca7b9ae95d30322004f5f1d52f4dd1bc71e | diff --git a/lib/jobs/waitfor.js b/lib/jobs/waitfor.js
index <HASH>..<HASH> 100644
--- a/lib/jobs/waitfor.js
+++ b/lib/jobs/waitfor.js
@@ -72,12 +72,13 @@ function waitfor(params, cb) {
return cb(new Error('state must be either Pending, Running, Stopped, Failed, or Error'));
}
return method(waitfor, params, fun... | fix for waiting on job to transition to running when it has already stopped | Paperspace_paperspace-node | train | js |
96de71bc5e7595a2bfcec5eaa33070ffe7e735ed | diff --git a/jp_proxy_widget/proxy_widget.py b/jp_proxy_widget/proxy_widget.py
index <HASH>..<HASH> 100644
--- a/jp_proxy_widget/proxy_widget.py
+++ b/jp_proxy_widget/proxy_widget.py
@@ -146,8 +146,8 @@ class JSProxyWidget(widgets.DOMWidget):
_model_name = Unicode('JSProxyModel').tag(sync=True)
_view_module =... | sync version numbers in py to js | AaronWatters_jp_proxy_widget | train | py |
67ce7d214df56575247c84e3edfb0018f1b32f93 | diff --git a/lwr/lwr_client/manager.py b/lwr/lwr_client/manager.py
index <HASH>..<HASH> 100644
--- a/lwr/lwr_client/manager.py
+++ b/lwr/lwr_client/manager.py
@@ -163,7 +163,8 @@ class LocalLwrInterface(object):
if controller.response_type != 'file':
return controller.body(result)
else:
-... | Fix lingering reference to lwr.util. | galaxyproject_pulsar | train | py |
ade4b19dbb4ddfe63104015661a9ac81a4dbe89d | diff --git a/lib/init.rb b/lib/init.rb
index <HASH>..<HASH> 100644
--- a/lib/init.rb
+++ b/lib/init.rb
@@ -11,6 +11,7 @@ module Markovable
attr_accessor :dictionary, :chainer, :split
attr_reader :depth
DEFAULT_DEPTH = 2
+ MAX_FILENAME_LENGTH = 255
def initialize(filename = nil, dict_depth=DEFAU... | << differentiates between file and string | f3mshep_ruby_markovify | train | rb |
5a080a53cafaf29338680aacf4385b68e8206272 | diff --git a/modules/wyc/src/wyc/stages/FlowTyping.java b/modules/wyc/src/wyc/stages/FlowTyping.java
index <HASH>..<HASH> 100755
--- a/modules/wyc/src/wyc/stages/FlowTyping.java
+++ b/modules/wyc/src/wyc/stages/FlowTyping.java
@@ -820,32 +820,6 @@ public final class FlowTyping {
}
}
- private static final cl... | WyC: removed some unused code. | Whiley_WhileyCompiler | train | java |
dbf242b0c704bbbc83165e503f0292d6a8f363d6 | diff --git a/test/bin.js b/test/bin.js
index <HASH>..<HASH> 100644
--- a/test/bin.js
+++ b/test/bin.js
@@ -36,7 +36,7 @@ describe('bin commands', function() {
start_js.stderr.on('data', function(data) {
start_js.kill();
- throw data.toString();
+ throw new Error(data.toString());
... | Improved the error handling of the test suite. | markfinger_js-host | train | js |
832da5cc40a03dbb1acd4950ecdaddd90ff833e5 | diff --git a/src/angular-froala.js b/src/angular-froala.js
index <HASH>..<HASH> 100644
--- a/src/angular-froala.js
+++ b/src/angular-froala.js
@@ -116,6 +116,7 @@
ctrl.registerEventsWithCallbacks('froalaEditor.initialized', function () {
ctrl.editorInitialized = true;
+ ... | Change for the issue where Ngmodel is discarded by initOnClick:true | froala_angular-froala | train | js |
2ab925e166973bc4c033d3d001ea2eac60e3b23d | diff --git a/lib/eventHandler.js b/lib/eventHandler.js
index <HASH>..<HASH> 100644
--- a/lib/eventHandler.js
+++ b/lib/eventHandler.js
@@ -192,7 +192,7 @@ function EventHandler(message, env, channel) {
if (Object.keys(events).some(function(event) {return message.type === event;})) {
if (message.mod instan... | Fixed media objects emitted via RTEs not being clones | anjanms_DubAPI | train | js |
52aaa242eae676245266f4ebcf28c235b532f3a9 | diff --git a/lib/byebug/commands/variables.rb b/lib/byebug/commands/variables.rb
index <HASH>..<HASH> 100644
--- a/lib/byebug/commands/variables.rb
+++ b/lib/byebug/commands/variables.rb
@@ -28,7 +28,7 @@ module Byebug
def var_global
globals = global_variables.reject do |v|
- [:$IGNORECASE, :$=, :$... | Prevent warning in a better way | deivid-rodriguez_byebug | train | rb,rb |
458868b80579144d84be78ffc9851bf0f9a816f1 | diff --git a/tests/Console/E2ETest.php b/tests/Console/E2ETest.php
index <HASH>..<HASH> 100644
--- a/tests/Console/E2ETest.php
+++ b/tests/Console/E2ETest.php
@@ -40,7 +40,7 @@ final class E2ETest extends TestCase
// Without overcommit this test fails with `proc_open(): fork failed - Cannot allocate memory`
... | Fix a bug from PR #<I> (#<I>)
* Fix a bug from PR #<I>
* Update E2ETest.php | infection_infection | train | php |
57c2e4f025b2ed35911c4a9fbb277b226e19cbae | diff --git a/Behavioral/Iterator/BookList.php b/Behavioral/Iterator/BookList.php
index <HASH>..<HASH> 100644
--- a/Behavioral/Iterator/BookList.php
+++ b/Behavioral/Iterator/BookList.php
@@ -7,7 +7,7 @@ class BookList implements \Countable, \Iterator
/**
* @var Book[]
*/
- private $books;
+ priva... | #<I> simplified things a bit | domnikl_DesignPatternsPHP | train | php |
01662c0cdc877c3e1521e05cd26593597063fb1f | diff --git a/tests/Klein/Tests/RoutingTest.php b/tests/Klein/Tests/RoutingTest.php
index <HASH>..<HASH> 100644
--- a/tests/Klein/Tests/RoutingTest.php
+++ b/tests/Klein/Tests/RoutingTest.php
@@ -1785,7 +1785,7 @@ class RoutingTest extends AbstractKleinTest
// Should match
$this->klein_app->dispatch(... | Fixing the test. Plus signs shouldn't be
URL-encoded/decoded in RFC <I> | klein_klein.php | train | php |
a8c6faffe54dc80712916f45f1bddda841adca76 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -64,9 +64,20 @@ async function open (name, gateway, storage) {
// Persist to indexDB cache in the future?
- const socket = Websocket(`ws://${gateway}/${archive.key}`)
+ await waitReady(archive)
- socket.pipe(archiv... | Ensure hyperdrive and replicaion is ready | RangerMauve_dat-archive-web | train | js |
a2f010d700481a75b26115f4a89b6d2c7dd5ca1b | diff --git a/date-picker/date-picker.js b/date-picker/date-picker.js
index <HASH>..<HASH> 100644
--- a/date-picker/date-picker.js
+++ b/date-picker/date-picker.js
@@ -4,10 +4,8 @@ import 'flatpickr/dist/themes/airbnb.css';
import Flatpickr from 'flatpickr';
import isTouchDevice from 'is-touch-device';
import { Germa... | revert(date-picker): revert use of withUserTimeZone and pass it as a prop | commercetools_ui-kit | train | js |
606d29b8eaa9986854ca433fa34d8a6a0984961f | diff --git a/spyder/plugins/__init__.py b/spyder/plugins/__init__.py
index <HASH>..<HASH> 100644
--- a/spyder/plugins/__init__.py
+++ b/spyder/plugins/__init__.py
@@ -59,7 +59,8 @@ class TabFilter(QObject):
def _get_plugin(self, index):
"""Get plugin reference based on tab index."""
for plugin ... | Main Window: Fix a bug when trying to reorganize dockwidgets in the same tab | spyder-ide_spyder | train | py |
c2b3ff45e6ba1b810e2ee3f0ffbdd2b2fb270902 | diff --git a/html/src/playn/html/HtmlLogSimple.java b/html/src/playn/html/HtmlLogSimple.java
index <HASH>..<HASH> 100644
--- a/html/src/playn/html/HtmlLogSimple.java
+++ b/html/src/playn/html/HtmlLogSimple.java
@@ -30,6 +30,7 @@ class HtmlLogSimple extends HtmlLog {
@Override protected void logImpl(Level level, St... | Append exception message to log message.
Chrome's console at least doesn't make it easy to see the message. | playn_playn | train | java |
1db03305326a247286ca38201615ec2903be4979 | diff --git a/salt/modules/munin.py b/salt/modules/munin.py
index <HASH>..<HASH> 100644
--- a/salt/modules/munin.py
+++ b/salt/modules/munin.py
@@ -10,7 +10,7 @@ import stat
# Import salt libs
import salt.utils
-from six import string_types
+from salt.utils.six import string_types
PLUGINDIR = '/etc/munin/plugins/... | Replaced module six in file /salt/modules/munin.py | saltstack_salt | train | py |
c728430844469c1c23d93fac9ed0d858f9b08eda | diff --git a/lib/dicom/d_client.rb b/lib/dicom/d_client.rb
index <HASH>..<HASH> 100644
--- a/lib/dicom/d_client.rb
+++ b/lib/dicom/d_client.rb
@@ -771,10 +771,11 @@ module DICOM
add_notice("All #{presentation_contexts.length} presentation contexts were accepted by host #{@host_ae} (#{@host_ip}).")
... | Fixed a bug where DClient would not send any files if only parts of the association was accepted. Added transfer syntax to the print output of approved/rejected presentation contexts. | dicom_ruby-dicom | train | rb |
fdf26564bee8b4df635c8e27473725757a09acfb | diff --git a/TYPO3.Flow/Classes/TYPO3/Flow/Object/Proxy/ObjectSerializationTrait.php b/TYPO3.Flow/Classes/TYPO3/Flow/Object/Proxy/ObjectSerializationTrait.php
index <HASH>..<HASH> 100644
--- a/TYPO3.Flow/Classes/TYPO3/Flow/Object/Proxy/ObjectSerializationTrait.php
+++ b/TYPO3.Flow/Classes/TYPO3/Flow/Object/Proxy/Object... | [BUGFIX] Uniform variable syntax for proxy trait
Fixes a leftover place which didn't use the uniform variable syntax
and therefore caused notices with PHP7. | neos_flow-development-collection | train | php |
625132d1833bc3d83cdd8157d61a3b97dc6168c2 | diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index <HASH>..<HASH> 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,7 +1,6 @@
require File.expand_path('../../lib/urban_dictionary', __FILE__)
RSpec.configure do |config|
- config.treat_symbols_as_metadata_keys_with_true_values = true
conf... | Fix RSpec <I> deprecation warning
> Deprecation Warnings:
>
> RSpec::Core::Configuration#treat_symbols_as_metadata_keys_with_true_values =
> is deprecated, it is now set to true as default and setting it to false has
> no effect. | ryangreenberg_urban_dictionary | train | rb |
fd44a3aec438a3d31bfc438e6f908c2b90693b1e | diff --git a/client.go b/client.go
index <HASH>..<HASH> 100644
--- a/client.go
+++ b/client.go
@@ -100,10 +100,8 @@ func NewWithConn(conn *grpc.ClientConn, opts ...ClientOpt) (*Client, error) {
// Client is the client to interact with containerd and its various services
// using a uniform interface
type Client struc... | remove field defaultns from struct Client | containerd_containerd | train | go |
0cd5d21f814034c2ff6b180478daa7c326899149 | diff --git a/lib/hermes-log.js b/lib/hermes-log.js
index <HASH>..<HASH> 100644
--- a/lib/hermes-log.js
+++ b/lib/hermes-log.js
@@ -149,7 +149,9 @@ var UtilityBelt = {
var extendedStr = str;
var diff = extendToLength - str.length;
if(diff > 0){
- extendedStr = " ".repeat(Math.floor(... | lib/hermes-log: Replaced String.repeat with utility function since is not available in older versions of node | jahnestacado_logia | train | js |
e2fb6dbfe62b8ab0476a0f53d803c9dd3d2a4eae | diff --git a/examples/downloadRenameBot.php b/examples/downloadRenameBot.php
index <HASH>..<HASH> 100644
--- a/examples/downloadRenameBot.php
+++ b/examples/downloadRenameBot.php
@@ -146,7 +146,7 @@ class EventHandler extends \danog\MadelineProto\EventHandler
}
try {
yield $th... | Catch all throwables in rename bot | danog_MadelineProto | train | php |
44a297cd0988c4686ef5a65d58e6e2e3b5ad87a9 | diff --git a/public/js/overrides.postinit.js b/public/js/overrides.postinit.js
index <HASH>..<HASH> 100755
--- a/public/js/overrides.postinit.js
+++ b/public/js/overrides.postinit.js
@@ -314,6 +314,9 @@ Ext.override(Ext.grid.GridView, {
//build up each row's HTML
for (j = 0; j < len; j++) {
record = records[j... | Bugfix for QuickRelate images in Relation Panels | grrr-amsterdam_garp3 | train | js |
8618aae38abad0d77bb892961537158d8cd2fe2c | diff --git a/client/src/main/java/com/orientechnologies/orient/client/remote/OStorageConfigurationRemote.java b/client/src/main/java/com/orientechnologies/orient/client/remote/OStorageConfigurationRemote.java
index <HASH>..<HASH> 100644
--- a/client/src/main/java/com/orientechnologies/orient/client/remote/OStorageConfi... | minor fix to evoid temporary errors in remote push of storage configuration | orientechnologies_orientdb | train | java |
98c03b54ce23dc20855c0bac1905d2538eff1cf5 | diff --git a/host-controller/src/main/java/org/jboss/as/host/controller/mgmt/MasterDomainControllerOperationHandlerImpl.java b/host-controller/src/main/java/org/jboss/as/host/controller/mgmt/MasterDomainControllerOperationHandlerImpl.java
index <HASH>..<HASH> 100644
--- a/host-controller/src/main/java/org/jboss/as/host... | AS7-<I> - Fix distributed deploy for Windows DC
This patch fixes problem when you have Windows DC and Linux HC
File path had \ in name and that failed deployment
was: ea7f<I>a<I>aca3f<I>e<I>b0adefd9e<I>e<I> | wildfly_wildfly-core | train | java |
7b96b2249a43ae75b48e0aba7e8beffc67b32d93 | diff --git a/lib/java/src/org/apache/thrift/ProcessFunction.java b/lib/java/src/org/apache/thrift/ProcessFunction.java
index <HASH>..<HASH> 100644
--- a/lib/java/src/org/apache/thrift/ProcessFunction.java
+++ b/lib/java/src/org/apache/thrift/ProcessFunction.java
@@ -37,8 +37,8 @@ public abstract class ProcessFunction<I... | THRIFT-<I> Thrift should not swallow ALL exceptions
Patch: Diwaker Gupta | limingxinleo_thrift | train | java |
77fe68ddcb35f8f042884fdc4b5d2d0469697f31 | diff --git a/src/input/input.js b/src/input/input.js
index <HASH>..<HASH> 100644
--- a/src/input/input.js
+++ b/src/input/input.js
@@ -260,12 +260,13 @@
// Convert touchcancel -> touchend, and PointerCancel -> PointerEnd
if (!handlers) {
if (e.type == "touchcancel") {
- e.type = "touchend";
+ handl... | [#<I>] fixed potential issue where the browser (e.g. FF) does not allow to overwrite the Event.type property | melonjs_melonJS | train | js |
14bc073a20e27f0e6d82e6d7a02d69fd48023c31 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -13,7 +13,7 @@ def read(fname):
setup(
name='exchangelib',
- version='1.5.1',
+ version='1.5.2',
author='Erik Cederstrand',
author_email='erik@cederstrand.dk',
description='Client for Microsoft Exc... | Update version again - fumbled the upload to PyPI | ecederstrand_exchangelib | train | py |
735294cf1c22fb2545d2a84fc9a91444f1ced337 | diff --git a/src/Helper/Shell.php b/src/Helper/Shell.php
index <HASH>..<HASH> 100644
--- a/src/Helper/Shell.php
+++ b/src/Helper/Shell.php
@@ -17,9 +17,7 @@
const STDERR_DESCRIPTOR_KEY = 2;
protected $command;
- protected $cwd;
protected $descriptors;
- protected $env;
... | Removed env + cwd from the options, passing null, for the sprit of minimalism ;) | adhocore_php-cli | train | php |
24b93b11231fe627c4b4527535ae0c83a99485f8 | diff --git a/python/ray/experimental/tfutils.py b/python/ray/experimental/tfutils.py
index <HASH>..<HASH> 100644
--- a/python/ray/experimental/tfutils.py
+++ b/python/ray/experimental/tfutils.py
@@ -9,7 +9,7 @@ def unflatten(vector, shapes):
i = 0
arrays = []
for shape in shapes:
- size = np.prod(... | fixes default type for product of empty shape. (#<I>) | ray-project_ray | train | py |
94f4154764f6bbb06147c5e2b6eb9e9002e2494b | diff --git a/openquake/java.py b/openquake/java.py
index <HASH>..<HASH> 100644
--- a/openquake/java.py
+++ b/openquake/java.py
@@ -20,7 +20,6 @@ Includes classpath arguments, and heap size."""
from amqplib import client_0_8 as amqp
import jpype
-import logging
import os
import sys
import traceback
@@ -29,7 +28,6... | Remove dependency from openquake.logs to openquake.java.
Former-commit-id: <I>e<I>b2cb4d<I>f<I>b5dbb9b<I>f0d8d | gem_oq-engine | train | py |
8f66fb9c52b3ceaa26c63777b0e9be27478a9a81 | diff --git a/lib/em-synchrony.rb b/lib/em-synchrony.rb
index <HASH>..<HASH> 100644
--- a/lib/em-synchrony.rb
+++ b/lib/em-synchrony.rb
@@ -2,7 +2,12 @@ $:.unshift(File.dirname(__FILE__) + '/../lib')
require "rubygems"
require "eventmachine"
-require "fiber" unless defined? Fiber
+
+begin
+ require "fiber"
+rescue ... | fix for optionally requiring fibers | igrigorik_em-synchrony | train | rb |
d86bf8a0b8546dae8705c33cbc0c4df43608e0d8 | diff --git a/pkg/volume/testing/testing.go b/pkg/volume/testing/testing.go
index <HASH>..<HASH> 100644
--- a/pkg/volume/testing/testing.go
+++ b/pkg/volume/testing/testing.go
@@ -387,7 +387,7 @@ func (fv *FakeVolume) Attach(spec *Spec, nodeName types.NodeName) (string, error
fv.Lock()
defer fv.Unlock()
fv.AttachC... | Fix reconciler test of attaching volume
The Attach() of FakeVolume should return device path | kubernetes_kubernetes | train | go |
31819e6ffe966fc247f58d3e717e41037068747a | diff --git a/js/compiler/compiler.go b/js/compiler/compiler.go
index <HASH>..<HASH> 100644
--- a/js/compiler/compiler.go
+++ b/js/compiler/compiler.go
@@ -16,7 +16,7 @@ var (
DefaultOpts = map[string]interface{}{
"presets": []string{"latest"},
"ast": false,
- "sourceMaps": true,
+ "sourceMa... | Disabled source maps for faster Babel runs | loadimpact_k6 | train | go |
e0c6fd5dc081ba1b1f736c70c72bce6a0f37b037 | diff --git a/apps/full-site-editing/full-site-editing-plugin/premium-content/subscription-service/class-jetpack-token-subscription-service.php b/apps/full-site-editing/full-site-editing-plugin/premium-content/subscription-service/class-jetpack-token-subscription-service.php
index <HASH>..<HASH> 100644
--- a/apps/full-s... | Premium Content: Correct "non-static method" errors. (#<I>) | Automattic_wp-calypso | train | php |
b63f51fbe410f741a360a8c21cb0d46ff0a490e3 | diff --git a/test/func/helpers/luster_instance.js b/test/func/helpers/luster_instance.js
index <HASH>..<HASH> 100644
--- a/test/func/helpers/luster_instance.js
+++ b/test/func/helpers/luster_instance.js
@@ -78,8 +78,9 @@ class LusterInstance {
this._process = child;
this._output = '';
+ this.... | Use setEncoding to avoid split character | nodules_luster | train | js |
6ac18b00f5d5750748592a9d80d0846581e0fc56 | diff --git a/gocardless.php b/gocardless.php
index <HASH>..<HASH> 100644
--- a/gocardless.php
+++ b/gocardless.php
@@ -23,6 +23,8 @@ class GoCardless {
CURLOPT_HTTPHEADER => array('Accept: application/json')
);
+ public $date;
+
/**
* Constructor, adds intialization config vars to class scope
*
@@ -47... | Use UTC for dates
Not using date_default_timezone_set as we don't want to change the
global scope | gocardless_gocardless-legacy-php | train | php |
923bdc8865657232da21afda71812d841733aa5d | diff --git a/interact.js b/interact.js
index <HASH>..<HASH> 100644
--- a/interact.js
+++ b/interact.js
@@ -4390,6 +4390,13 @@
events.add(docTarget, 'pointerup' , recordPointers);
events.add(docTarget, 'pointercancel', recordPointers);
+ // fix problems of wrong targets in IE
+ event... | Fix problems of wrong targets in IE | taye_interact.js | train | js |
4614e1323de0593fec8a2135d90f248d04013a31 | diff --git a/clustering/infinispan/spi/src/main/java/org/wildfly/clustering/infinispan/spi/affinity/DefaultKeyAffinityService.java b/clustering/infinispan/spi/src/main/java/org/wildfly/clustering/infinispan/spi/affinity/DefaultKeyAffinityService.java
index <HASH>..<HASH> 100644
--- a/clustering/infinispan/spi/src/main/... | Rename viewChanged -> topologyChanged. | wildfly_wildfly | train | java |
492f4bfa890a5ca4722b508f1afa581526087472 | diff --git a/plugins/angular.js b/plugins/angular.js
index <HASH>..<HASH> 100644
--- a/plugins/angular.js
+++ b/plugins/angular.js
@@ -37,7 +37,7 @@ function angularPlugin(Raven, angular) {
.provider('Raven', RavenProvider)
.config(['$provide', ExceptionHandlerProvider]);
- Raven.setDataCallback... | Updating angular plugin to call original callback if exists (#<I>) | getsentry_sentry-javascript | train | js |
d5e3e5e9550eb4d8e07d19e1b7728f6a08c09374 | diff --git a/lib/the_country_identity/version.rb b/lib/the_country_identity/version.rb
index <HASH>..<HASH> 100644
--- a/lib/the_country_identity/version.rb
+++ b/lib/the_country_identity/version.rb
@@ -1,3 +1,3 @@
module TheCountryIdentity
- VERSION = "0.0.2"
+ VERSION = "0.0.3"
end | version ramped up to <I> | p1nox_the_country_identity | train | rb |
670513c8998a8595a9ca0ad8a2f72dbc32cea8b1 | diff --git a/modules/social_features/social_comment/src/SocialCommentViewBuilder.php b/modules/social_features/social_comment/src/SocialCommentViewBuilder.php
index <HASH>..<HASH> 100644
--- a/modules/social_features/social_comment/src/SocialCommentViewBuilder.php
+++ b/modules/social_features/social_comment/src/Social... | Issue #<I>: In a comments' pager shows the word "comments" instead of "first"
Since PAGER_TAG need for social_ajax_comments_preprocess_pager(), let's add it only if the module social_ajax_comments is enabled. This will fix issue with word "comments" instead of "first" if module social_ajax_comments is not enabled. | goalgorilla_open_social | train | php |
f119dfc31043b79f6e32a05e813a09bd6e6cbf30 | diff --git a/lib/negotiator.js b/lib/negotiator.js
index <HASH>..<HASH> 100644
--- a/lib/negotiator.js
+++ b/lib/negotiator.js
@@ -133,7 +133,7 @@ Negotiator._setupListeners = function(connection, pc, pc_id) {
case 'disconnected':
case 'failed':
util.log('iceConnectionState is disconnected, closi... | No need to call close from negotiator cleanup. Fix some text | peers_peerjs | train | js,js |
2cb9d20d4d6755199e2dbf5e01e75946a207d171 | diff --git a/src/QueryAggregator.js b/src/QueryAggregator.js
index <HASH>..<HASH> 100644
--- a/src/QueryAggregator.js
+++ b/src/QueryAggregator.js
@@ -1,6 +1,7 @@
import invariant from 'invariant';
import isEqual from 'lodash/isEqual';
import Relay from 'react-relay';
+import generateRQLFieldAlias from 'react-relay/... | Use a hash of the aggregated queries | relay-tools_react-router-relay | train | js |
d38b52391addd9a1f0fdf1fb4422b274cd58aefc | diff --git a/bokeh/plotting.py b/bokeh/plotting.py
index <HASH>..<HASH> 100644
--- a/bokeh/plotting.py
+++ b/bokeh/plotting.py
@@ -355,12 +355,23 @@ def scatter(*args, **kwargs):
marker = kwargs.get("type", "circle")
glyph_class = marker_glyph_map[marker]
x_name = names[0]
+ select_tool = [x for x in ... | auto adding selection tool stuff for scatter plots | bokeh_bokeh | train | py |
aa8c84aa4b9910698f0a0931f115cb3ed682abbf | diff --git a/src/BuildToolInterface.php b/src/BuildToolInterface.php
index <HASH>..<HASH> 100644
--- a/src/BuildToolInterface.php
+++ b/src/BuildToolInterface.php
@@ -2,6 +2,8 @@
namespace BudgeIt\ComposerBuilder;
+use Composer\Package\PackageInterface;
+
interface BuildToolInterface
{
@@ -12,4 +14,19 @@ inter... | Add supports and build methods to the build tool interface | BudgeIt_composer-builder | train | php,php |
6d6002a07f556b4be48c287a2a610d88cd7f8740 | diff --git a/lib/rsslib.php b/lib/rsslib.php
index <HASH>..<HASH> 100644
--- a/lib/rsslib.php
+++ b/lib/rsslib.php
@@ -204,6 +204,10 @@ function rss_add_items($items) {
if (!empty($items)) {
foreach ($items as $item) {
$result .= rss_start_tag('item',2,true);
+ //Include the catego... | Added support to RSS <I> categories.
Credits go to Dmitry Pupinin.
Bug <I>
(<URL>)
Merged from MOODLE_<I>_STABLE | moodle_moodle | train | php |
ef55439e8890ddb23a3850ce48f724eea22c7fc3 | diff --git a/modules/builtin/src/content-types/carousel.js b/modules/builtin/src/content-types/carousel.js
index <HASH>..<HASH> 100644
--- a/modules/builtin/src/content-types/carousel.js
+++ b/modules/builtin/src/content-types/carousel.js
@@ -64,6 +64,12 @@ function renderMessenger(data) {
url: a.url,
... | "postback" button action is implemented for Messenger | botpress_botpress | train | js |
df95e831ceed7c0859718c8e26c056f15469d57e | diff --git a/src/Connection/TcpConnection.php b/src/Connection/TcpConnection.php
index <HASH>..<HASH> 100644
--- a/src/Connection/TcpConnection.php
+++ b/src/Connection/TcpConnection.php
@@ -1,5 +1,4 @@
<?php
-
/**
* This file is part of workerman.
*
@@ -16,17 +15,12 @@ namespace Workerman\Connection;
use Work... | Update TcpConnection.php | walkor_Workerman | train | php |
7df7ac6025c3995bfa97783025c73a4b4a5a7807 | diff --git a/openquake/engine/calculators/hazard/event_based/core.py b/openquake/engine/calculators/hazard/event_based/core.py
index <HASH>..<HASH> 100644
--- a/openquake/engine/calculators/hazard/event_based/core.py
+++ b/openquake/engine/calculators/hazard/event_based/core.py
@@ -440,13 +440,14 @@ class EventBasedHaz... | A trick to partition the ruptures by trt_id | gem_oq-engine | train | py |
64baefcc242dc8fbde1856898fe2d9b2b33b9043 | diff --git a/wptools/query.py b/wptools/query.py
index <HASH>..<HASH> 100644
--- a/wptools/query.py
+++ b/wptools/query.py
@@ -258,7 +258,7 @@ class WPToolsQuery(object):
"""
Returns RESTBase query string
"""
- endpoint = safequote(endpoint)
+ endpoint = safequote(endpoint, 'res... | Percent-encode slashes in restbase title fixes #<I> | siznax_wptools | train | py,py |
2e17d8d3808c0d547fd9e80925b411213fda12f5 | diff --git a/packages/twig/src/tags/render.js b/packages/twig/src/tags/render.js
index <HASH>..<HASH> 100644
--- a/packages/twig/src/tags/render.js
+++ b/packages/twig/src/tags/render.js
@@ -1,5 +1,6 @@
'use strict';
+const _ = require('lodash');
const path = require('path');
const utils = require('@frctl/fractal'... | add missing lodash require to render tag (#<I>) | frctl_fractal | train | js |
0eadddf9881caeeee8133c23db97eaa7e0d78e6b | diff --git a/web/concrete/src/Routing/Redirect.php b/web/concrete/src/Routing/Redirect.php
index <HASH>..<HASH> 100644
--- a/web/concrete/src/Routing/Redirect.php
+++ b/web/concrete/src/Routing/Redirect.php
@@ -1,5 +1,6 @@
<?php
namespace Concrete\Core\Routing;
+use Core;
use Loader;
use Request;
use Page;
@@ -29,... | Fixed index.php preserved in the redirect URLs when pretty URLs are enabled.
Former-commit-id: <I>ad7a9d<I>eac1adbc5c4be<I>f2d<I>dbbd<I> | concrete5_concrete5 | train | php |
1052d2f5caa3856cf61255049f1a3c93c526ee4d | diff --git a/v2/id3v2.go b/v2/id3v2.go
index <HASH>..<HASH> 100644
--- a/v2/id3v2.go
+++ b/v2/id3v2.go
@@ -83,7 +83,7 @@ func ParseTag(readSeeker io.ReadSeeker) *Tag {
}
t.padding = uint(size)
- if _, err := readSeeker.Seek(int64(t.padding), os.SEEK_CUR); err != nil {
+ if _, err := readSeeker.Seek(int64(HeaderSi... | Fix seeker position after tag parse | mikkyang_id3-go | train | go |
e4d63ace97d6a34b69bf713e7951bec18ca4bae6 | diff --git a/packages/react/src/components/FileUploader/FileUploader.js b/packages/react/src/components/FileUploader/FileUploader.js
index <HASH>..<HASH> 100644
--- a/packages/react/src/components/FileUploader/FileUploader.js
+++ b/packages/react/src/components/FileUploader/FileUploader.js
@@ -40,7 +40,7 @@ export clas... | feat(FileUploadButton): Allow node in place of string. (#<I>)
This allows the end user to make the text more customizable
i.e. allow icons or other renderable items for the button. | carbon-design-system_carbon-components | train | js |
7114a3300fbdd7066398d9585cd957f9105fb4ee | diff --git a/gosu-editor/src/main/java/editor/GotoTypePopup.java b/gosu-editor/src/main/java/editor/GotoTypePopup.java
index <HASH>..<HASH> 100644
--- a/gosu-editor/src/main/java/editor/GotoTypePopup.java
+++ b/gosu-editor/src/main/java/editor/GotoTypePopup.java
@@ -13,6 +13,7 @@ import javax.swing.*;
import java.awt.... | handle spaces in file/dir names from URL (decode %<I> as space) | gosu-lang_gosu-lang | train | java |
b9f1bb9262a9b61e2bf3f59be2047b10d49f5b09 | diff --git a/drools-persistence-jpa/src/main/java/org/drools/persistence/jpa/OptimisticLockRetryInterceptor.java b/drools-persistence-jpa/src/main/java/org/drools/persistence/jpa/OptimisticLockRetryInterceptor.java
index <HASH>..<HASH> 100644
--- a/drools-persistence-jpa/src/main/java/org/drools/persistence/jpa/Optimis... | BZ-<I> - Concurrent process execution will fail if it references a new user/group - remove systout | kiegroup_drools | train | java |
11f02de3b35c2dc998820232d615e8aba909513a | diff --git a/htlcswitch/link_test.go b/htlcswitch/link_test.go
index <HASH>..<HASH> 100644
--- a/htlcswitch/link_test.go
+++ b/htlcswitch/link_test.go
@@ -3709,7 +3709,6 @@ func (h *persistentLinkHarness) restart(restartSwitch bool,
// First, remove the link from the switch.
h.coreLink.cfg.Switch.RemoveLink(h.lin... | htlcswitch/link_test: removes unnecessary WaitForShutdown
The new RemoveLink method blocks until the link has
been fully stopped, so we no longer need to wait
for it explicitly. | lightningnetwork_lnd | train | go |
f2d2c464ae1378185062673ecd7c56fc87778127 | diff --git a/lib/bricks/builder.rb b/lib/bricks/builder.rb
index <HASH>..<HASH> 100644
--- a/lib/bricks/builder.rb
+++ b/lib/bricks/builder.rb
@@ -147,7 +147,7 @@ module Bricks
elsif val
pair[-1] = val
elsif adapter.association?(@class, name, :one)
- pair[-1] = create(adapter.association(@... | Build one-to-many associations in the same creation mode as the parent. | mojotech_bricks | train | rb |
8f17127f14a401a76f372f20f2553e4bdfebc2a8 | diff --git a/test_hgdistver.py b/test_hgdistver.py
index <HASH>..<HASH> 100644
--- a/test_hgdistver.py
+++ b/test_hgdistver.py
@@ -143,3 +143,9 @@ def test_version_from_cachefile(tmpdir):
)
assert spv(tmpdir) == '1.0'
+
+
+def test_version_from_pkginfo(tmpdir):
+ write_base(tmpdir)
+ tmpdir.join('PKG-... | acceptance test the pkg-info reader, fixes #6 | pypa_setuptools_scm | train | py |
8503d8f3721f28ec676844b2604a2da15114a7af | diff --git a/ayrton/__init__.py b/ayrton/__init__.py
index <HASH>..<HASH> 100644
--- a/ayrton/__init__.py
+++ b/ayrton/__init__.py
@@ -112,6 +112,9 @@ class Argv (list):
for v in self[1:]:
yield v
+ def __len__ (self):
+ return super ().__len__ ()-1
+
class Environment (dict):
... | [*] API change: len(argv) does not count argv[0], so it's similar to bash's 0. | StyXman_ayrton | train | py |
5ed79d85658fe5910d7d3e3525722b5e4ad32b41 | diff --git a/pypika/__init__.py b/pypika/__init__.py
index <HASH>..<HASH> 100644
--- a/pypika/__init__.py
+++ b/pypika/__init__.py
@@ -83,4 +83,4 @@ from pypika.utils import (
__author__ = 'Timothy Heys'
__email__ = 'theys@kayak.com'
-__version__ = '0.31.1'
+__version__ = '0.32.0' | Bumped version to <I> | kayak_pypika | train | py |
888b69756dbcde25c643cba7761225898d1086d1 | diff --git a/yala/main.py b/yala/main.py
index <HASH>..<HASH> 100644
--- a/yala/main.py
+++ b/yala/main.py
@@ -119,7 +119,8 @@ class Main:
LinterRunner.targets = targets
linters = self._config.get_linter_classes()
with Pool() as pool:
- linter_cfg_tgts = ((l, self._config, targets)... | Fix new linter issue in yala code | cemsbr_yala | train | py |
737131840792a7032b328e49d8e5d5ceeb9a720e | diff --git a/src/Provider/SessionServiceProvider.php b/src/Provider/SessionServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/Provider/SessionServiceProvider.php
+++ b/src/Provider/SessionServiceProvider.php
@@ -126,7 +126,25 @@ class SessionServiceProvider implements ServiceProviderInterface
protected func... | Added applicable default_options from php.ini. Some are commented out because they are not implemented. | bolt_session | train | php |
c021d4a7423063c69a3707f15beba04cd998422c | diff --git a/lib/circlemator/style_checker.rb b/lib/circlemator/style_checker.rb
index <HASH>..<HASH> 100644
--- a/lib/circlemator/style_checker.rb
+++ b/lib/circlemator/style_checker.rb
@@ -16,7 +16,7 @@ module Circlemator
def check!
pr_number, _ = PrFinder.new(@opts).find_pr
if pr_number
- E... | RF-<I> Account for deprecation
Pronto used the PULL_REQUEST_ID environment variable, but this was
deprecated in favor of PRONTO_PULL_REQUEST_ID. Account for this change. | rainforestapp_circlemator | train | rb,rb |
ecd76f3cac56380bc9fa767aa4d4ee59b3520937 | diff --git a/lib/active_admin/views/index_as_table.rb b/lib/active_admin/views/index_as_table.rb
index <HASH>..<HASH> 100644
--- a/lib/active_admin/views/index_as_table.rb
+++ b/lib/active_admin/views/index_as_table.rb
@@ -207,7 +207,7 @@ module ActiveAdmin
def default_table
proc do
selectabl... | show id_column only if Model has a primary_key
fixes #<I> | activeadmin_activeadmin | train | rb |
857134211cd4a0dcc1ee7f2e232e85e2f04b8ab3 | diff --git a/pkg/codegen/docs/gen.go b/pkg/codegen/docs/gen.go
index <HASH>..<HASH> 100644
--- a/pkg/codegen/docs/gen.go
+++ b/pkg/codegen/docs/gen.go
@@ -611,22 +611,18 @@ func (mod *modContext) typeString(t schema.Type, lang string, characteristics pr
displayName = mod.cleanTypeString(t, langTypeString, lang, modN... | Fix unsafe html emitted for Java properties (#<I>)
* Fix unsafe html emitted for Java properties | pulumi_pulumi | train | go |
0250f0c984e279cc3a0c1214fe3066007dcc0b17 | diff --git a/rafthttp/stream.go b/rafthttp/stream.go
index <HASH>..<HASH> 100644
--- a/rafthttp/stream.go
+++ b/rafthttp/stream.go
@@ -320,8 +320,8 @@ func (cr *streamReader) run() {
// overhead when retry.
case <-time.After(100 * time.Millisecond):
case <-cr.stopc:
- close(cr.done)
plog.Infof("stopped s... | rafthttp: log stream stopped message before closing channel
Was causing spurious goroutine leak failures in testing. | etcd-io_etcd | train | go |
2353455e6dedf9360a765d1ac63a68e9a0429956 | diff --git a/lib/incline/recaptcha.rb b/lib/incline/recaptcha.rb
index <HASH>..<HASH> 100644
--- a/lib/incline/recaptcha.rb
+++ b/lib/incline/recaptcha.rb
@@ -291,6 +291,10 @@ function #{callback}(response) {
##
# Pauses reCAPTCHA validation for the specified block of code.
def self.pause_for(&block)
+ ... | Allow pause_for to be called recursively. | barkerest_incline | train | rb |
364ee181d84a270086aff53e2356862e771f9025 | diff --git a/tests/integration/backward_compatible/sql_test.py b/tests/integration/backward_compatible/sql_test.py
index <HASH>..<HASH> 100644
--- a/tests/integration/backward_compatible/sql_test.py
+++ b/tests/integration/backward_compatible/sql_test.py
@@ -166,7 +166,7 @@ class SqlTestBase(HazelcastTestCase):
... | Unpack the values correctly in SQL tests (#<I>)
We use a different methods to `execute_statement` due to API changes
between the major client versions. While unpacking the keyword args,
we were not using the correct iterator. Now, that is fixed, and we
use `.items()` to iterate over keyword args. | hazelcast_hazelcast-python-client | train | py |
1b11917444e59f9fb5db5a543904aea243320828 | diff --git a/system/Security/Security.php b/system/Security/Security.php
index <HASH>..<HASH> 100644
--- a/system/Security/Security.php
+++ b/system/Security/Security.php
@@ -221,6 +221,7 @@ class Security
if ($this->CSRFRegenerate)
{
// Nothing should last forever
+ $this->CSRFHash = null;
unset($_COOK... | Fix CSRF hash regeneration
For CSRF hash regeneration, $this->CSRFHash must be set to NULL when user set $this->CSRFRegenerate to TRUE, because in CSRFSetHash() you compare it with NULL, but $this->CSRFHash !== NULL after request. | codeigniter4_CodeIgniter4 | train | php |
81492798bbb3898dcc8a1af7607c43ee6f258248 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -157,6 +157,18 @@ module.exports = function(db) {
});
};
+ fs.utimes = function(key, atime, mtime, cb) {
+ if (!cb) cb = noop;
+ key = normalize(key);
+
+ fs.stat(key, function(err) {
+ if (err) return cb(err);
+ ... | updating mtime in writefile and add utimes | mafintosh_level-filesystem | train | js |
7982638fddac591556a5cbf7bf59846240bcdcc9 | diff --git a/build.js b/build.js
index <HASH>..<HASH> 100644
--- a/build.js
+++ b/build.js
@@ -24,7 +24,7 @@ presets.forEach(function(d) {
if (!key) return;
if (ignore.indexOf(key) !== -1) return;
- if (d.geometry.indexOf('area') !== -1) {
+ if (d.geometry.indexOf('area') !== -1) { // probably an ar... | Fix areaKeys logic to better handle presets that can be area or line
See also openstreetmap/iD commit de<I>a<I>e | osmlab_id-area-keys | train | js |
7d5228b5d0e9a897622d1bd170b688e45048ad56 | diff --git a/bin/bundle-globals.js b/bin/bundle-globals.js
index <HASH>..<HASH> 100644
--- a/bin/bundle-globals.js
+++ b/bin/bundle-globals.js
@@ -22,9 +22,10 @@ const run = async () => {
input: `${__dirname}/../src/frontend/global-entry.js`,
plugins: [
resolve({
- extensions: ['.mjs', '.js', '.... | Update bundle-global file to include SCSS & fix issue with external node deps | SoftwareBrothers_admin-bro | train | js |
195386658819e772d0c1165b601e8f14aacd67d7 | diff --git a/src/FileSystem/FileSystem.php b/src/FileSystem/FileSystem.php
index <HASH>..<HASH> 100644
--- a/src/FileSystem/FileSystem.php
+++ b/src/FileSystem/FileSystem.php
@@ -21,7 +21,12 @@ final class FileSystem implements FileSystemInterface
*/
public function getContents($path)
{
- $result... | Attempted to fix getContents() and putContents() from exception on 0 byte write | PiPHP_GPIO | train | php |
fbcc68f3eabe2ef62222a7ca97e76de763a8b1c6 | diff --git a/benchmarks/compare.js b/benchmarks/compare.js
index <HASH>..<HASH> 100644
--- a/benchmarks/compare.js
+++ b/benchmarks/compare.js
@@ -217,7 +217,7 @@ function storeResultInto(sample) {
function lpad(input, len, chr) {
var str = input.toString();
- chr = chr || " ";
+ chr = chr || ' ';
wh... | linting: [benchmarks/compare] comply with quotes rule | uber_tchannel-node | train | js |
d72cee866343fae171a41a9efcaedd4e387a1b34 | diff --git a/main.go b/main.go
index <HASH>..<HASH> 100644
--- a/main.go
+++ b/main.go
@@ -38,8 +38,12 @@ var flagFormat = flag.String("fmt", "text", "Set output format. Valid options ar
// output file
var flagOutput = flag.String("out", "", "Set output file for results")
+// config file
var flagConfig = flag.Stri... | Add quiet mode
When -quiet is specified on the command line we will only show issues
when issues were found.
Fixes #<I> | securego_gosec | train | go |
259e21bdfd24daba0349e173c86d32eceed95f64 | diff --git a/tests/spec/create.spec.js b/tests/spec/create.spec.js
index <HASH>..<HASH> 100644
--- a/tests/spec/create.spec.js
+++ b/tests/spec/create.spec.js
@@ -45,7 +45,7 @@ function createAndBuild(projectname, projectid) {
// build the project
command = util.format('"%s/cordova/build"', path.join(tmp, pro... | Supress build output in the create tests. | apache_cordova-ios | train | js |
1103d8b02cf6454e008a9d7ee39cd4e2a139f4ae | diff --git a/kie-api/src/main/java/org/kie/api/io/ResourceType.java b/kie-api/src/main/java/org/kie/api/io/ResourceType.java
index <HASH>..<HASH> 100644
--- a/kie-api/src/main/java/org/kie/api/io/ResourceType.java
+++ b/kie-api/src/main/java/org/kie/api/io/ResourceType.java
@@ -97,6 +97,12 @@ public class ResourceType
... | add DRLX (#<I>) | kiegroup_drools | train | java |
2bd21b31cdc54d7a48fe18b46974dee59ce77360 | diff --git a/testrunner.js b/testrunner.js
index <HASH>..<HASH> 100644
--- a/testrunner.js
+++ b/testrunner.js
@@ -95,10 +95,10 @@ function runTest() {
function test(name, callback, nowait) {
if(config.currentModule)
name = config.currentModule + " module: " + name;
- var lifecycle = config.moduleLifecycle || {
+... | qunit: allow either setup or teardown, instead of both or nothing | JamesMGreene_qunit-assert-html | train | js |
cb79e74ab8288d89f1d3c0097c89e6348e93b1e4 | diff --git a/t/proof/executable.t.js b/t/proof/executable.t.js
index <HASH>..<HASH> 100644
--- a/t/proof/executable.t.js
+++ b/t/proof/executable.t.js
@@ -5,16 +5,17 @@ require('../..')(3, function (assert) {
getuid: function () {
return 701
},
- getgid: function(gid) {
+ ... | fixed getgroups method to return an array | bigeasy_proof | train | js |
7cc4fe4249431309964387ac5f32c78599ec6dad | diff --git a/tests/DocumentMergeTest.php b/tests/DocumentMergeTest.php
index <HASH>..<HASH> 100644
--- a/tests/DocumentMergeTest.php
+++ b/tests/DocumentMergeTest.php
@@ -10,7 +10,7 @@ class UserDocumentMock extends \Sokil\Mongo\Document
// list value, default value id simple
'comments' => 'none',
... | compartible with php <I> | sokil_php-mongo | train | php |
5df029597c0e2fae805cd332c45aa5e750a045b9 | diff --git a/rice/flags.go b/rice/flags.go
index <HASH>..<HASH> 100644
--- a/rice/flags.go
+++ b/rice/flags.go
@@ -16,7 +16,7 @@ var flags struct {
Executable string `long:"exec" description:"Executable to append" required:"true"`
} `command:"append"`
- EmbedGo struct{} `command:"embed"`
+ EmbedGo struct{} `... | Change flag `embed` to `embed-go` | GeertJohan_go.rice | train | go |
4d440836b22a2f9c50f6aa916e295d9967b13b88 | diff --git a/astropixie-widgets/setup.py b/astropixie-widgets/setup.py
index <HASH>..<HASH> 100644
--- a/astropixie-widgets/setup.py
+++ b/astropixie-widgets/setup.py
@@ -13,7 +13,7 @@ setup(name='astropixie-widgets',
install_requires=[
'astropixie==0.1.6',
'astropy>=3.0.1,<3.1',
- ... | Add astroquery dependency.
modified: astropixie-widgets/setup.py
modified: astropixie/setup.py | lsst-epo_vela | train | py,py |
99a3408cc91f9f3dbbff83e946eef1e1082f395f | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -61,10 +61,8 @@ module.exports = function(opt) {
}
if (file.sourceMap) {
- options = merge(options, {
- outSourceMap: file.relative,
- inSourceMap: file.sourceMap.mappings !== '' ? file.sourceMap : undefined
- ... | We no longer need to merge in these options. Fixes #<I>. | terinjokes_gulp-uglify | train | js |
716a397a3afbf72e834334bc601560baf6cfbd45 | diff --git a/collab/DocumentEngine.js b/collab/DocumentEngine.js
index <HASH>..<HASH> 100644
--- a/collab/DocumentEngine.js
+++ b/collab/DocumentEngine.js
@@ -42,8 +42,12 @@ DocumentEngine.Prototype = function() {
}
var docFactory = schemaConfig.documentFactory;
var doc = docFactory.createArticle();
- ... | On document creation store info object on changes. | substance_substance | train | js |
b6fb1fc7ab66ef5d89394030371acbfd452b8df0 | diff --git a/mode/shell/shell.js b/mode/shell/shell.js
index <HASH>..<HASH> 100644
--- a/mode/shell/shell.js
+++ b/mode/shell/shell.js
@@ -64,7 +64,7 @@ CodeMirror.defineMode('shell', function() {
}
if (/\d/.test(ch)) {
stream.eatWhile(/\d/);
- if(!/\w/.test(stream.peek())) {
+ if(stream.eol(... | [shell mode] Fix number highlight at end of line. | codemirror_CodeMirror | train | js,js |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.