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 |
|---|---|---|---|---|---|
37ec1ad942ede7f30b3dd2682f4c82998716bfdc | diff --git a/Serializer/Serializer.php b/Serializer/Serializer.php
index <HASH>..<HASH> 100644
--- a/Serializer/Serializer.php
+++ b/Serializer/Serializer.php
@@ -57,7 +57,7 @@ class Serializer implements SerializerInterface
public function setGroups($groups)
{
- if (null === $groups) {
+ ... | accept also empty arrays to reset the exclusionStrategy | alekitto_serializer | train | php |
239b8335a15a72d8847e083979b4479ad0d515c3 | diff --git a/js/RTCPeerConnection.js b/js/RTCPeerConnection.js
index <HASH>..<HASH> 100644
--- a/js/RTCPeerConnection.js
+++ b/js/RTCPeerConnection.js
@@ -555,6 +555,11 @@ RTCPeerConnection.prototype.removeTrack = function (sender) {
track = sender.track;
+ // No sender track found
+ if (!track) {
+ return;
+ }
... | fix RTCPeerConnection.prototype.removeTrack to support Sender without track | BasqueVoIPMafia_cordova-plugin-iosrtc | train | js |
764893c4008681467a171d30315ddecc021be87c | diff --git a/peer.go b/peer.go
index <HASH>..<HASH> 100644
--- a/peer.go
+++ b/peer.go
@@ -144,12 +144,12 @@ type peer struct {
server *server
btcnet btcwire.BitcoinNet
started int32
+ connected int32
+ disconnect int32 // only to be used atomically
conn ... | Ensure vars used atomically in peer are aligned.
The sync.atomic requires alignment of variables used atomically on ARM.
This commit moves the connected and disconnect variables in the peer
struct up so they are aligned.
Fixes #<I>. | btcsuite_btcd | train | go |
9bbeb391dc89c22fb057292cf6aee6e7ba4709d3 | diff --git a/class.smtp.php b/class.smtp.php
index <HASH>..<HASH> 100644
--- a/class.smtp.php
+++ b/class.smtp.php
@@ -441,7 +441,7 @@ class SMTP
// RFC 2104 HMAC implementation for php.
// Creates an md5 HMAC.
// Eliminates the need to install mhash to compute a HMAC
- // Hacked by La... | Remove "hacked" from "hacked by Lance Rushing"
Remove "hacked" from "hacked by Lance Rushing", because it is a false positive for some malware scanner who check for the string "hacked by".
See also: <URL> | PHPMailer_PHPMailer | train | php |
3423e4be306cf55a8a1f215ce0e4ae4c2684721b | diff --git a/src/Console/Console.php b/src/Console/Console.php
index <HASH>..<HASH> 100644
--- a/src/Console/Console.php
+++ b/src/Console/Console.php
@@ -42,6 +42,7 @@ class Console extends BaseApplication
*/
public function run(InputInterface $input = null, OutputInterface $output = null)
{
+ $... | disable autoExit to allow post run() stuff | quazardous_silex-console | train | php |
c744ab6ac21971b806073f44ab51e150f23bfd2b | diff --git a/test/test-async.js b/test/test-async.js
index <HASH>..<HASH> 100755
--- a/test/test-async.js
+++ b/test/test-async.js
@@ -426,7 +426,6 @@ exports['auto results'] = function(test){
});
};
-
exports['auto empty object'] = function(test){
async.auto({}, function(err){
test.ok(err === nu... | Added test for auto with concurrency but without callback. | caolan_async | train | js |
c1c1d6f163fe9ce51f2dc91bda0a670b77081284 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -16,7 +16,7 @@ requirements = (
setup(
name='combine',
- version='0.0.19',
+ version='0.0.20.dev0',
description='A helpful, simple static site generator.',
long_description=long_description,
long_d... | Back to development: <I> | dropseed_combine | train | py |
80c9d7736360b54b4ce6f3a6c0ef2c6e64c65511 | diff --git a/src/js/mep-player.js b/src/js/mep-player.js
index <HASH>..<HASH> 100644
--- a/src/js/mep-player.js
+++ b/src/js/mep-player.js
@@ -1068,6 +1068,9 @@
if (!t.isDynamic) {
t.$node.insertBefore(t.container)
}
+
+ // Remove the player from the mejs.players array so that pauseOtherPlayers doesn't b... | When a player is removed the internal array is updated.
Bug fixed: When the player's "remove" function is called it doesn't
remove the internal reference to the removed player. When the
pauseOtherPlayers option is true, the player being used is flash and the
flash dom element has been removed an error is thrown when t... | mediaelement_mediaelement | train | js |
6070999c07afae07a3ca7830eed72a03eaa0dbc3 | diff --git a/pycookiecheat/__init__.py b/pycookiecheat/__init__.py
index <HASH>..<HASH> 100644
--- a/pycookiecheat/__init__.py
+++ b/pycookiecheat/__init__.py
@@ -4,4 +4,4 @@ from pycookiecheat.pycookiecheat import chrome_cookies # noqa
__author__ = 'Nathan Henrie'
__email__ = 'nate@n8henrie.com'
-__version__ = '0... | Increment version to <I> | n8henrie_pycookiecheat | train | py |
ba91264c46015c99aa519b5947ac71ad52e86cb7 | diff --git a/worker/buildbot_worker/scripts/runner.py b/worker/buildbot_worker/scripts/runner.py
index <HASH>..<HASH> 100644
--- a/worker/buildbot_worker/scripts/runner.py
+++ b/worker/buildbot_worker/scripts/runner.py
@@ -158,11 +158,24 @@ class CreateWorkerOptions(MakerBase):
if master_arg[:5] == "http:":
... | worker: Allow ipv6 address for master connection on buildbot-worker
To specify an ipv6 address, you can use:
- [<I>:1:2:3:4::1] (without port specification)
- [<I>:1:2:3:4::1]:<I> (with port specification)
This fixes #<I>. | buildbot_buildbot | train | py |
628f1b4271b6f4da1e295f02dc8ee9ed068372e3 | diff --git a/lib/sass/tree/visitors/perform.rb b/lib/sass/tree/visitors/perform.rb
index <HASH>..<HASH> 100644
--- a/lib/sass/tree/visitors/perform.rb
+++ b/lib/sass/tree/visitors/perform.rb
@@ -250,7 +250,8 @@ END
res = res.value if res.is_a?(Sass::Script::String)
msg = "WARNING: #{res}\n "
msg ... | Fix warning tests for JRuby.
Closes gh-<I> | sass_ruby-sass | train | rb |
8edb208992fb11338e8e975995e0e2b5b3720834 | diff --git a/packages/babel-helpers/src/helpers.js b/packages/babel-helpers/src/helpers.js
index <HASH>..<HASH> 100644
--- a/packages/babel-helpers/src/helpers.js
+++ b/packages/babel-helpers/src/helpers.js
@@ -181,7 +181,7 @@ export let inherits = template(`
export let _instanceof = template(`
(function (left, r... | Allow use of instanceof without Symbol | babel_babel | train | js |
2c36bdd42cd6e811d745c899772391372f97777a | diff --git a/cmd_sigs_list.go b/cmd_sigs_list.go
index <HASH>..<HASH> 100644
--- a/cmd_sigs_list.go
+++ b/cmd_sigs_list.go
@@ -123,7 +123,16 @@ func (s *CmdSigsList) ProcessSigs() (err error) {
func (s *CmdSigsList) skipLink(link libkb.TypedChainLink) bool {
return ((!s.revoked && (link.IsRevoked() || link.IsRevoc... | Refactor for keybase/go-libkb#<I> | keybase_client | train | go |
c2ece241dbc713405ac1ab8be9bcf89a398f004b | diff --git a/flags.go b/flags.go
index <HASH>..<HASH> 100644
--- a/flags.go
+++ b/flags.go
@@ -44,6 +44,7 @@
// default: the default argument value if the option occurs without
// an argument (optional)
// base: a base used to convert strings to integer values (optional)
+// v... | Added value-name tag to available field tags in package doc | jessevdk_go-flags | train | go |
89b41510c635c25902191e0740f0c90268ae4e68 | diff --git a/pythainlp/corpus/tnc.py b/pythainlp/corpus/tnc.py
index <HASH>..<HASH> 100644
--- a/pythainlp/corpus/tnc.py
+++ b/pythainlp/corpus/tnc.py
@@ -18,12 +18,13 @@ _FILENAME = "tnc_freq.txt"
def word_freq(word: str, domain: str = "all") -> int:
"""
- Get word frequency of a word.
+ **Not officially... | put "not officially supported" note to TNC word_freq() | PyThaiNLP_pythainlp | train | py |
bfaf33b43e6ef07608cd1ff8fd09abde0fafa2a6 | diff --git a/gocbcore/agentops_dura.go b/gocbcore/agentops_dura.go
index <HASH>..<HASH> 100644
--- a/gocbcore/agentops_dura.go
+++ b/gocbcore/agentops_dura.go
@@ -6,6 +6,11 @@ import (
// Retrieves the current CAS and persistence state for a document.
func (c *Agent) Observe(key []byte, replicaIdx int, cb ObserveCa... | Memcached: return ErrNotSupported for Observe functions
These checks were present in the original commit but seemed to have been
removed during subsequent commits - accidentally.
Change-Id: I<I>b<I>cd<I>b<I>a9d<I>be<I>b<I>a<I>e<I>fe
Reviewed-on: <URL> | couchbase_gocb | train | go |
9d0ad79b478a3e21b73f9efc923c487d51133c72 | diff --git a/install.js b/install.js
index <HASH>..<HASH> 100644
--- a/install.js
+++ b/install.js
@@ -36,11 +36,8 @@ Downloader.downloadRevision(platform, revision, onProgress)
.catch(onError);
function onError(error) {
- console.error(`ERROR: Failed to download chromium r${revision}!
-- Download chromium man... | fail installation when puppeteer errors downloading chromium (#<I>)
This patch starts failing npm installation when puppeteer errors downloading chromium. | GoogleChrome_puppeteer | train | js |
f1998faebe2ee8b7cb7dc581f1990dfc68885ae6 | diff --git a/spec/support/generator_spec_setup.rb b/spec/support/generator_spec_setup.rb
index <HASH>..<HASH> 100644
--- a/spec/support/generator_spec_setup.rb
+++ b/spec/support/generator_spec_setup.rb
@@ -1,5 +1,6 @@
require "ammeter/rspec/generator/example.rb"
require "ammeter/rspec/generator/matchers.rb"
+require... | Fix ammeter init
Before requiring `ammeter/init`, running `rake spec` was failing
because of missing `dummy_development` and `dummy_test` databases, and
missing references to Ammeter modules. Adding this require statement
made all specs pass on my machine when running `bundle exec rake spec`.
Fixes #<I>, #<I>. | scenic-views_scenic | train | rb |
5da8058a6b5af61b5ea353ef7ebf58eee3e4f035 | diff --git a/charmhub/selector/selector_test.go b/charmhub/selector/selector_test.go
index <HASH>..<HASH> 100644
--- a/charmhub/selector/selector_test.go
+++ b/charmhub/selector/selector_test.go
@@ -6,6 +6,7 @@ package selector
import (
"sort"
+ "github.com/juju/testing"
jujutesting "github.com/juju/testing"
j... | Use isolation suite for testing
If we use the isolation suite we can insure that we are hardened to
environment issues. | juju_juju | train | go |
0f388d9ec638f0e7b94df925a82f1baf287ba2fa | diff --git a/pyoos/tests/collectors/test_wqp.py b/pyoos/tests/collectors/test_wqp.py
index <HASH>..<HASH> 100644
--- a/pyoos/tests/collectors/test_wqp.py
+++ b/pyoos/tests/collectors/test_wqp.py
@@ -93,11 +93,11 @@ class WqpTest(unittest.TestCase):
results = self.c.get_station(siteid="21IOWA-10070005")
... | Add test for subsetting WQP by parameter (characteristicName in their case) | ioos_pyoos | train | py |
11b75e51c8271abceda8d7db83c305a3680db9cc | diff --git a/src/NGrams/Statistic.php b/src/NGrams/Statistic.php
index <HASH>..<HASH> 100644
--- a/src/NGrams/Statistic.php
+++ b/src/NGrams/Statistic.php
@@ -159,6 +159,31 @@ class Statistic
}
/**
+ * Calculate the Odds Ratio
+ * @param array $ngram Array of ngrams with frequencies
+ * @return flo... | Added Odds Ratio measure
Added Odds Ratio measure. | yooper_php-text-analysis | train | php |
b8897825fb122c9eb67b647779de4e030361069b | diff --git a/lib/listings/base.rb b/lib/listings/base.rb
index <HASH>..<HASH> 100644
--- a/lib/listings/base.rb
+++ b/lib/listings/base.rb
@@ -27,7 +27,7 @@ module Listings
criteria = []
values = []
self.columns.select(&:searchable?).each do |col|
- criteria << "#{col.name} like ?"
+... | add table name in case query is joined | manastech_listings | train | rb |
8fd9a2fdfd154f4b393aa24cff91e3c317efe839 | diff --git a/util.go b/util.go
index <HASH>..<HASH> 100644
--- a/util.go
+++ b/util.go
@@ -13,7 +13,10 @@ import (
"github.com/hashicorp/go-msgpack/codec"
)
-var rnd = rand.New(rand.NewSource(newSeed()))
+func init() {
+ // Ensure we use a high-entropy seed for the psuedo-random generator
+ rand.Seed(newSeed())
+}... | Seed the global rand instead of creating new instance | hashicorp_raft | train | go |
9367ed5dd70c184ba7c7b6b7d36313cb0e60ea9d | diff --git a/src/howler.core.js b/src/howler.core.js
index <HASH>..<HASH> 100644
--- a/src/howler.core.js
+++ b/src/howler.core.js
@@ -234,12 +234,12 @@
self.mobileAutoEnable = false;
// Remove the touch start listener.
- document.removeEventListener('touchend', unlock, false);
+ ... | Enable useCapture on touchend events for iOS Cocos2d support | goldfire_howler.js | train | js |
f2029736531cf1736718585d2505e0d03f85ff36 | diff --git a/Component.js b/Component.js
index <HASH>..<HASH> 100644
--- a/Component.js
+++ b/Component.js
@@ -1,5 +1,7 @@
-export default class Component {
+'use strict';
+
+module.exports = class Component {
constructor(props) {
this.props = props;
}
-}
+}; | Convert Component.js to CommonJS | lohfu_jsx-node | train | js |
03c3ab35b0c5f429e773ff92013efcb2ae179dfe | diff --git a/chemview/viewer.py b/chemview/viewer.py
index <HASH>..<HASH> 100644
--- a/chemview/viewer.py
+++ b/chemview/viewer.py
@@ -104,7 +104,7 @@ class MolecularViewer(RepresentationViewer):
# Add the cylinders
- if 'bonds' in self.topology:
+ if 'bonds' in self.topology and self.topolog... | Small fix for when bond is undefined | gabrielelanaro_chemview | train | py |
0aac4748db35f8d3f48e463d4ac69e4c67e52f8c | diff --git a/src/Circle.js b/src/Circle.js
index <HASH>..<HASH> 100644
--- a/src/Circle.js
+++ b/src/Circle.js
@@ -55,7 +55,7 @@ export default class Circle extends Component {
>
<path
d={pathString}
- stroke="#efefef"
+ stroke={trailColor || "#efefef"}
strokeWidt... | Allow for trail color to set from props | abraztsov_react-sweet-progress | train | js |
5205743a080bceb5dde85696f7753e412899863a | diff --git a/shared/util.go b/shared/util.go
index <HASH>..<HASH> 100644
--- a/shared/util.go
+++ b/shared/util.go
@@ -137,16 +137,12 @@ func HostPath(path string) string {
}
// Check if the path is already snap-aware
- for _, prefix := range []string{"/snap", "/var/snap", "/var/lib/snapd"} {
+ for _, prefix := r... | Fix failure due to bind-mount through /proc
The kernel won't allow us to bind-mount stuff through /proc.
Since the main reason for my previous change was to fix /dev handling,
lets just whitelist /dev as safe to read from within the snap, which
should be fine so long as distros use devtmpfs.
Closes #<I> | lxc_lxd | train | go |
1ee1e3b7b123e85f51191a66427863122346b13b | diff --git a/pkg/features/kube_features.go b/pkg/features/kube_features.go
index <HASH>..<HASH> 100644
--- a/pkg/features/kube_features.go
+++ b/pkg/features/kube_features.go
@@ -265,7 +265,7 @@ const (
ReadOnlyAPIDataVolumes utilfeature.Feature = "ReadOnlyAPIDataVolumes"
// owner: @k82cn
- // alpha: v1.10
+ // b... | promote feature gate ScheduleDaemonSetPods to beta | kubernetes_kubernetes | train | go |
5293ae1221988d5cd0329d2a980612fb7e4df3a7 | diff --git a/modules/mailer/mailer.go b/modules/mailer/mailer.go
index <HASH>..<HASH> 100644
--- a/modules/mailer/mailer.go
+++ b/modules/mailer/mailer.go
@@ -10,6 +10,7 @@ import (
"net"
"net/mail"
"net/smtp"
+ "os"
"strings"
"github.com/gogits/gogs/modules/log"
@@ -95,6 +96,12 @@ func sendMail(settings *s... | Fix: <I> <I> <localhost>: Helo command rejected | gogs_gogs | train | go |
fa53dd333f7bf32f2ba4d957ffe63fde95d62965 | diff --git a/source/rafcon/core/states/barrier_concurrency_state.py b/source/rafcon/core/states/barrier_concurrency_state.py
index <HASH>..<HASH> 100644
--- a/source/rafcon/core/states/barrier_concurrency_state.py
+++ b/source/rafcon/core/states/barrier_concurrency_state.py
@@ -298,7 +298,7 @@ class BarrierConcurrencyS... | fix(barrier state): remove state with key word based arguments assignment
The method of the ContainerState is reused so the key word based argument
assignment is needed in anycase, at the moment. In future we maybe should
refactor the models to be rubust against this. | DLR-RM_RAFCON | train | py |
3e3fb09bff4b72b046744d1f03cf323502464005 | diff --git a/hazelcast-jet-core/src/main/java/com/hazelcast/jet/Sinks.java b/hazelcast-jet-core/src/main/java/com/hazelcast/jet/Sinks.java
index <HASH>..<HASH> 100644
--- a/hazelcast-jet-core/src/main/java/com/hazelcast/jet/Sinks.java
+++ b/hazelcast-jet-core/src/main/java/com/hazelcast/jet/Sinks.java
@@ -117,6 +117,7 ... | Added advice to use mapWithEntryProcessor if there is a need for locking | hazelcast_hazelcast | train | java |
9c4aed52b370b7dad31aad4b3c13d00efcc459ac | diff --git a/terraform/context_refresh_test.go b/terraform/context_refresh_test.go
index <HASH>..<HASH> 100644
--- a/terraform/context_refresh_test.go
+++ b/terraform/context_refresh_test.go
@@ -789,6 +789,11 @@ func TestContext2Refresh_outputPartial(t *testing.T) {
p.ReadResourceFn = nil
p.ReadResourceResponse = p... | core: Don't panic in refresh tests
Since the refresh walk creates a partial plan to account for objects that
are yet to be created, we need to provide at least a basic mock of the
PlanProviderChange provider method.
For now we're using the old-style "DiffFn" shim interface since that's
already available for use in ot... | hashicorp_terraform | train | go |
647ba2470bbb2ec51ae2c2f903f90c29620f3a91 | diff --git a/lib/predictor/base.rb b/lib/predictor/base.rb
index <HASH>..<HASH> 100644
--- a/lib/predictor/base.rb
+++ b/lib/predictor/base.rb
@@ -300,9 +300,9 @@ module Predictor::Base
LUA
Predictor.redis.eval lua, argv: [redis_key, matrix_json, similarity_limit, item]
- end
- # related_items(i... | Tweak for easier benchmark comparing. | Pathgather_predictor | train | rb |
b554a64e599e294e4b2f201cf126db42fd2b0510 | diff --git a/salt/state.py b/salt/state.py
index <HASH>..<HASH> 100644
--- a/salt/state.py
+++ b/salt/state.py
@@ -868,7 +868,7 @@ class State(object):
if tag not in running:
fun_stats.add('unmet')
continue
- if not running[tag]['result']:
+ ... | don't fail on requisites when it is just a test return | saltstack_salt | train | py |
5d294c5d8a2ec926ccf49939586338b6d8f06a37 | diff --git a/routes/accounts.js b/routes/accounts.js
index <HASH>..<HASH> 100644
--- a/routes/accounts.js
+++ b/routes/accounts.js
@@ -22,6 +22,7 @@ function accountRoutes (server, options, next) {
auth: false,
validate: {
headers: validations.bearerTokenHeader,
+ query: validations.accoun... | fix(routes): POST /accounts?include=foobar -> <I> | hoodiehq_hoodie-account-server | train | js |
7e1b5719007b697e668d18a4d4582a90d24d8300 | diff --git a/src/Entity/Testing/AbstractEntityTest.php b/src/Entity/Testing/AbstractEntityTest.php
index <HASH>..<HASH> 100644
--- a/src/Entity/Testing/AbstractEntityTest.php
+++ b/src/Entity/Testing/AbstractEntityTest.php
@@ -281,8 +281,9 @@ abstract class AbstractEntityTest extends TestCase implements EntityTestInter... | getting correct method names for embeddable | edmondscommerce_doctrine-static-meta | train | php |
6503b974501cf35e2e93eaf3a82d88391cce7906 | diff --git a/core/src/test/java/com/github/olivergondza/dumpling/factory/JvmRuntimeFactoryTest.java b/core/src/test/java/com/github/olivergondza/dumpling/factory/JvmRuntimeFactoryTest.java
index <HASH>..<HASH> 100644
--- a/core/src/test/java/com/github/olivergondza/dumpling/factory/JvmRuntimeFactoryTest.java
+++ b/core... | Investigate stuch JMX tests | olivergondza_dumpling | train | java |
4a9b205a15d94812fcbb1efc052eab413331a38a | diff --git a/cmd/s3-peer-rpc-handlers.go b/cmd/s3-peer-rpc-handlers.go
index <HASH>..<HASH> 100644
--- a/cmd/s3-peer-rpc-handlers.go
+++ b/cmd/s3-peer-rpc-handlers.go
@@ -48,6 +48,9 @@ type SetBucketNotificationPeerArgs struct {
NCfg *notificationConfig
}
+// BucketUpdate - implements bucket notification updates,
... | docs: Add missing comments for exported functions. | minio_minio | train | go |
f15710381595d671160e5d6178d4b0e92a18ff43 | diff --git a/src/engine/canvas.js b/src/engine/canvas.js
index <HASH>..<HASH> 100644
--- a/src/engine/canvas.js
+++ b/src/engine/canvas.js
@@ -38,7 +38,6 @@ export function createCommentCanvas(cmt, fontSize) {
}
var canvas = document.createElement('canvas');
var ctx = canvas.getContext('2d');
- ctx.scale(dpr,... | fix: scale ctx after set canvas width and height
close #<I> | weizhenye_Danmaku | train | js |
0795ac5a82f297d3d397646bee05940cdadde387 | diff --git a/javascript/PageBuilder.js b/javascript/PageBuilder.js
index <HASH>..<HASH> 100644
--- a/javascript/PageBuilder.js
+++ b/javascript/PageBuilder.js
@@ -263,9 +263,22 @@
setTimeout(function () {
dragElement.addClass('drag-ghost');
}, 0);
+ var _this = this,
+ dragoverRunning = false;
+ ... | Use jquery event binding instead of entwine for mousemove | Zauberfisch_silverstripe-page-builder | train | js |
e775318b175e2e4cbe5cd697523ea80caef793ff | diff --git a/fermipy/diffuse/model_manager.py b/fermipy/diffuse/model_manager.py
index <HASH>..<HASH> 100644
--- a/fermipy/diffuse/model_manager.py
+++ b/fermipy/diffuse/model_manager.py
@@ -372,6 +372,7 @@ class ModelManager(object):
use_external_srcmap=True)
master_selection = d... | Added label_ts_threshold to default config for allsky analysis | fermiPy_fermipy | train | py |
43978476fafb39434270a414b73cfffe36a21166 | diff --git a/src/main/java/nl/hsac/fitnesse/fixture/slim/web/GalenTest.java b/src/main/java/nl/hsac/fitnesse/fixture/slim/web/GalenTest.java
index <HASH>..<HASH> 100644
--- a/src/main/java/nl/hsac/fitnesse/fixture/slim/web/GalenTest.java
+++ b/src/main/java/nl/hsac/fitnesse/fixture/slim/web/GalenTest.java
@@ -77,6 +77,... | Keep methods to get error and warnings close together | fhoeben_hsac-fitnesse-fixtures | train | java |
002ba80ecceab0cae664ff42a1d303fc9a448045 | diff --git a/webapps/ui/common/scripts/module/index.js b/webapps/ui/common/scripts/module/index.js
index <HASH>..<HASH> 100644
--- a/webapps/ui/common/scripts/module/index.js
+++ b/webapps/ui/common/scripts/module/index.js
@@ -32,6 +32,7 @@ var upload = require('./services/upload');
var getDeploymentUrl = require('./s... | feat(custom batch): pass api object to onSubmit
related to CAM-<I>, closes #<I> | camunda_camunda-bpm-platform | train | js |
1a611907bd7b904c6125917691b20279d5ba8d69 | diff --git a/lib/mustermann.rb b/lib/mustermann.rb
index <HASH>..<HASH> 100644
--- a/lib/mustermann.rb
+++ b/lib/mustermann.rb
@@ -5,6 +5,8 @@ module Mustermann
# @param [String] string The string representation of the new pattern
# @param [Hash] options The options hash
# @return [Mustermann::Pattern] pattern... | document exceptions raise by Mustermann.new and Mustermann[] | sinatra_mustermann | train | rb |
9b6bb6c0fe8ba0c1cbe8eb25edbbd9455669b2b7 | diff --git a/indra/bel/processor.py b/indra/bel/processor.py
index <HASH>..<HASH> 100644
--- a/indra/bel/processor.py
+++ b/indra/bel/processor.py
@@ -100,7 +100,7 @@ class BelProcessor(object):
try:
evidence = stmt[0].format()
citation = stmt[1].format()
- exce... | Catch IndexError in evidence processing | sorgerlab_indra | train | py |
010a18e5555b28108540bf44bd2df68c43a81c1d | diff --git a/pyresttest/functionaltest.py b/pyresttest/functionaltest.py
index <HASH>..<HASH> 100644
--- a/pyresttest/functionaltest.py
+++ b/pyresttest/functionaltest.py
@@ -55,6 +55,16 @@ class RestTestCase(unittest.TestCase):
self.assertTrue(test_response.passed)
self.assertEqual(200, test_response... | Provide functional test using the Github API to verify the HEAD method works | svanoort_pyresttest | train | py |
0e69cb7a3c220770cee7ac88fd7d291c855f17df | diff --git a/vyper/parser/expr.py b/vyper/parser/expr.py
index <HASH>..<HASH> 100644
--- a/vyper/parser/expr.py
+++ b/vyper/parser/expr.py
@@ -329,8 +329,8 @@ class Expr(object):
raise TypeMismatchException("Cannot multiply positional values!", self.expr)
new_unit = combine_units(left.typ.... | Format the code based on flake8 | ethereum_vyper | train | py |
620ea29cb81497bb91390ae7a6297ced13633fc6 | diff --git a/detect.js b/detect.js
index <HASH>..<HASH> 100644
--- a/detect.js
+++ b/detect.js
@@ -4,6 +4,7 @@
'use strict';
+var semver = require('semver');
var browsers = {
chrome: /Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/,
firefox: /Firefox\/([0-9\.]+)(?:\s|$)/,
@@ -76,11 +77,25 @@ if (typeof navigator != 'un... | Parse the browser version into a semver compatible format | rtc-io_rtc-core | train | js |
38a5efffcfb9a6abf8ec03c94c2c75fc2b4c2ff5 | diff --git a/js/noty/jquery.noty.js b/js/noty/jquery.noty.js
index <HASH>..<HASH> 100644
--- a/js/noty/jquery.noty.js
+++ b/js/noty/jquery.noty.js
@@ -1,5 +1,5 @@
/**
-* noty - jQuery Notification Plugin v2.0.1
+* noty - jQuery Notification Plugin v2.0.2
* Contributors: https://github.com/needim/noty/graphs/contribut... | <I>
Fix: Custom container was return a dom object | needim_noty | train | js |
e8be55e56f7de28ad2be69734856a2490153df22 | diff --git a/alts/src/test/java/io/grpc/alts/internal/AltsClientOptionsTest.java b/alts/src/test/java/io/grpc/alts/internal/AltsClientOptionsTest.java
index <HASH>..<HASH> 100644
--- a/alts/src/test/java/io/grpc/alts/internal/AltsClientOptionsTest.java
+++ b/alts/src/test/java/io/grpc/alts/internal/AltsClientOptionsTes... | alts: moved from containsAllOf to containsAtLeast | grpc_grpc-java | train | java |
4316ab5c3f65c1ff1f1ff9867267a13e163b4b56 | diff --git a/teknek-core/src/test/java/io/teknek/driver/TestDriver.java b/teknek-core/src/test/java/io/teknek/driver/TestDriver.java
index <HASH>..<HASH> 100644
--- a/teknek-core/src/test/java/io/teknek/driver/TestDriver.java
+++ b/teknek-core/src/test/java/io/teknek/driver/TestDriver.java
@@ -54,7 +54,7 @@ public clas... | You dont call run on threads you call start | edwardcapriolo_teknek-kafka | train | java |
e5644bc7d2cc68e14949356b235705fb47a26441 | diff --git a/query/query.go b/query/query.go
index <HASH>..<HASH> 100644
--- a/query/query.go
+++ b/query/query.go
@@ -245,22 +245,19 @@ func ResultsWithProcess(q Query, proc func(goprocess.Process, chan<- Result)) Re
// ResultsWithEntries returns a Results object from a list of entries
func ResultsWithEntries(q Qu... | query: avoid a goroutine in ResultsWithEntries | ipfs_go-datastore | train | go |
db28fa860662eb8857eedffdc2ca5e9026bb8fc0 | diff --git a/src/config/config.php b/src/config/config.php
index <HASH>..<HASH> 100644
--- a/src/config/config.php
+++ b/src/config/config.php
@@ -56,15 +56,6 @@ return [
/*
|--------------------------------------------------------------------------
- | The authorized token issuers
- |--------------... | Remove obsolete authorized_issuers reference from config | auth0_laravel-auth0 | train | php |
8515a02c31815946fcf879a2a4a0554a3e02ccfc | diff --git a/python/ccxt/base/exchange.py b/python/ccxt/base/exchange.py
index <HASH>..<HASH> 100644
--- a/python/ccxt/base/exchange.py
+++ b/python/ccxt/base/exchange.py
@@ -1342,12 +1342,10 @@ class Exchange(object):
trades = self.fetch_trades(symbol, since, limit, params)
return self.build_ohlcv(tr... | base/exchange.py fetchStatus → fetch_status + minor simplification | ccxt_ccxt | train | py |
e6efe3559527208b136c1224cfb967c24dd35771 | diff --git a/build/prepare_deploy.js b/build/prepare_deploy.js
index <HASH>..<HASH> 100755
--- a/build/prepare_deploy.js
+++ b/build/prepare_deploy.js
@@ -19,7 +19,10 @@ cd('..');
var version = 'v' + require(path.join(__dirname, '../package.json')).version + '/';
var versionDir = path.join(paths.releases, version);
... | Creating CDN major release 1.x.x (#<I>) | Rebilly_ReDoc | train | js |
bde8eceeea1bd2c22c6ce5788476d1d091d8d3c2 | diff --git a/Kwc/Abstract/List/Trl/AdminModel.php b/Kwc/Abstract/List/Trl/AdminModel.php
index <HASH>..<HASH> 100644
--- a/Kwc/Abstract/List/Trl/AdminModel.php
+++ b/Kwc/Abstract/List/Trl/AdminModel.php
@@ -14,7 +14,7 @@ class Kwc_Abstract_List_Trl_AdminModel extends Kwf_Model_Data_Abstract
$this->_data[$c... | use correct row for trl data in abstract list admin model
repaired from invalid merge conflict <I>e<I>b<I>db<I>bae<I>c | koala-framework_koala-framework | train | php |
d9aa46c8f1ef1f078ccce7eda15f16aaec9ef24c | diff --git a/lib/indicesputmapping_test.go b/lib/indicesputmapping_test.go
index <HASH>..<HASH> 100644
--- a/lib/indicesputmapping_test.go
+++ b/lib/indicesputmapping_test.go
@@ -289,6 +289,17 @@ func TestPutMappingFromJSON(t *testing.T) {
},
},
},
+ "dynamic_templates": []map[string]interface{}{
+ ... | Fix tests for DynamicMappings | mattbaird_elastigo | train | go |
b180e4f7ab4a096688f4d4ad9b47ac1b3efa9fe2 | diff --git a/zhaquirks/xiaomi/aqara/opple_remote.py b/zhaquirks/xiaomi/aqara/opple_remote.py
index <HASH>..<HASH> 100644
--- a/zhaquirks/xiaomi/aqara/opple_remote.py
+++ b/zhaquirks/xiaomi/aqara/opple_remote.py
@@ -53,7 +53,7 @@ from zhaquirks.const import (
)
from zhaquirks.xiaomi import LUMI, BasicCluster, XiaomiCu... | Fix Aqara Opple Remote long press. (#<I>)
Broke in #<I>, command constants were changed from `long press` to `hold` but
change was not reflected in `PRESS_TYPES` mapping. | dmulcahey_zha-device-handlers | train | py |
46b94bc6ee4fc36b201e14a36fee6eb58a18d168 | diff --git a/src/StatsService.php b/src/StatsService.php
index <HASH>..<HASH> 100644
--- a/src/StatsService.php
+++ b/src/StatsService.php
@@ -82,11 +82,6 @@ class StatsService
protected $stats;
/**
- * @var array
- */
- protected $tubes;
-
- /**
* @param ConnectionInterface $beanstalk
... | Fix server tube watch command breaking.
When a tube is added or lost from the list of tubes, this causes the
cli server:tubes watch to break.
Removed the caching of tubes in the server stats service class. Tubes
are consistently requested each time from the server now. | phlib_beanstalk | train | php |
3bb054db526aa07dcd88fd563dd705fabb35472f | diff --git a/pact/pact-runtime/src/main/java/eu/stratosphere/pact/runtime/sort/UnilateralSortMerger.java b/pact/pact-runtime/src/main/java/eu/stratosphere/pact/runtime/sort/UnilateralSortMerger.java
index <HASH>..<HASH> 100644
--- a/pact/pact-runtime/src/main/java/eu/stratosphere/pact/runtime/sort/UnilateralSortMerger.... | Sorter closing is synchronized. | apache_flink | train | java |
b07c360f7e74c452ba245d137bd9ad215d21d00e | diff --git a/Classes/Package.php b/Classes/Package.php
index <HASH>..<HASH> 100644
--- a/Classes/Package.php
+++ b/Classes/Package.php
@@ -6,7 +6,7 @@ use Neos\Flow\Core\Booting\Sequence;
use Neos\Flow\Core\Bootstrap;
use Neos\Flow\Monitor\FileMonitor;
use Neos\Flow\Package\Package as BasePackage;
-use Neos\Flow\Pac... | PackageManagerInterface deprecated in flow 6
use Neos\Flow\Package\PackageManager; | ttreeagency_Strapping | train | php |
258a402785e924c7f29991cea66cc1680d4c2014 | diff --git a/src/js/messager.js b/src/js/messager.js
index <HASH>..<HASH> 100644
--- a/src/js/messager.js
+++ b/src/js/messager.js
@@ -60,9 +60,14 @@
that.$.appendTo(options.parent).show();
- if (options.placement === 'top' || options.placement === 'bottom')
+ if (options.placement === 'top' ... | * messager can display on the center of the screen. | easysoft_zui | train | js |
66c4fa9f8909bc75cda12421c48a9ec2faea1e62 | diff --git a/lib/heroku/command_line.rb b/lib/heroku/command_line.rb
index <HASH>..<HASH> 100644
--- a/lib/heroku/command_line.rb
+++ b/lib/heroku/command_line.rb
@@ -74,9 +74,12 @@ class Heroku::CommandLine
name = args.shift.downcase.strip rescue ""
if name.length == 0
display "Usage: heroku clone <app>"
+ ... | add deprecation messages to clone and upload_authkey | heroku_legacy-cli | train | rb |
228750e9a51177276470c2530532f3ad26abefe6 | diff --git a/ngrest/Config.php b/ngrest/Config.php
index <HASH>..<HASH> 100644
--- a/ngrest/Config.php
+++ b/ngrest/Config.php
@@ -71,9 +71,18 @@ class Config implements \admin\ngrest\base\ConfigInterface
{
$plugin = ['class' => '\\admin\\ngrest\\plugins\\'.ucfirst($name), 'args' => $args ];
$thi... | fixed bug where the same plugin appears multiple times in getPlugins
(for the same field) | luyadev_luya-module-admin | train | php |
0f01b893a5d1d28ccbf44f6b316946ac5074f860 | diff --git a/lib/conceptql/window.rb b/lib/conceptql/window.rb
index <HASH>..<HASH> 100644
--- a/lib/conceptql/window.rb
+++ b/lib/conceptql/window.rb
@@ -16,7 +16,7 @@ module ConceptQL
return ds if opts[:timeless]
start_check = op.rdbms.cast_date(start_date) <= :start_date
end_ch... | Add tests for date literal windows to all statements | outcomesinsights_conceptql | train | rb,rb |
95b564e9023cc6493852d85128ab5fd92f141cdd | diff --git a/src/Ups/Entity/Address.php b/src/Ups/Entity/Address.php
index <HASH>..<HASH> 100644
--- a/src/Ups/Entity/Address.php
+++ b/src/Ups/Entity/Address.php
@@ -286,6 +286,9 @@ class Address implements NodeInterface
if ($this->getCountryCode()) {
$node->appendChild($document->createElement('... | Added ResidentialAddressIndicator to Address->toNode() | gabrielbull_php-ups-api | train | php |
acf694e4f1818bff92a38e93881505e3e042a249 | diff --git a/sick/models.py b/sick/models.py
index <HASH>..<HASH> 100644
--- a/sick/models.py
+++ b/sick/models.py
@@ -1318,7 +1318,8 @@ class Model(object):
"__builtins__": None,
"normal": np.random.normal,
"uniform": np.random.uniform,
- "abs": abs
+ "abs":... | make np available to walker width rules | andycasey_sick | train | py |
c9fd0ecacf2180ff6985e47c3181c3a2fec57f7d | diff --git a/sportsreference/ncaab/constants.py b/sportsreference/ncaab/constants.py
index <HASH>..<HASH> 100644
--- a/sportsreference/ncaab/constants.py
+++ b/sportsreference/ncaab/constants.py
@@ -317,7 +317,7 @@ SCHEDULE_URL = ('http://www.sports-reference.com/cbb/schools/%s/'
BOXSCORE_URL = 'http://www.sports-refe... | Fix issue pulling NCAAB rankings
sports-reference.com changed the layout of the NCAAB rankings page which
prevented any rankings from being properly parsed and saved in the
Rankings class. They still have an old version which is accessible by
appending '-old' to the URL. Targetting this new page allows the
original ra... | roclark_sportsreference | train | py |
4c0ab595026236109fbec68dd7130e6a349e9c56 | diff --git a/lib/Cake/Console/Command/TestShell.php b/lib/Cake/Console/Command/TestShell.php
index <HASH>..<HASH> 100644
--- a/lib/Cake/Console/Command/TestShell.php
+++ b/lib/Cake/Console/Command/TestShell.php
@@ -116,7 +116,7 @@ class TestShell extends Shell {
))->addOption('stop-on-failure', array(
'help' => ... | Fixed TestShell options, removed space which caused the option to not be recognized. | cakephp_cakephp | train | php |
7fbc6f7d6046df2423079ea168eaf377b8fe9256 | diff --git a/nodeconductor/server/base_settings.py b/nodeconductor/server/base_settings.py
index <HASH>..<HASH> 100644
--- a/nodeconductor/server/base_settings.py
+++ b/nodeconductor/server/base_settings.py
@@ -23,6 +23,8 @@ INSTALLED_APPS = (
'django.contrib.messages',
'django.contrib.staticfiles',
+ 'n... | Add vm to installed apps (DM-1) | opennode_waldur-core | train | py |
33c9c60dbba5100bc033fba43f88415feac451c7 | diff --git a/lib/stream_rails/version.rb b/lib/stream_rails/version.rb
index <HASH>..<HASH> 100644
--- a/lib/stream_rails/version.rb
+++ b/lib/stream_rails/version.rb
@@ -1,3 +1,3 @@
module StreamRails
- VERSION = '2.2.1'
+ VERSION = '2.2.2'
end
\ No newline at end of file | release AR integration for rails <I> fix | GetStream_stream-rails | train | rb |
1f69fb1bb84721440b9f95772ab9befda9dbf51a | diff --git a/datastore/google/cloud/datastore/helpers.py b/datastore/google/cloud/datastore/helpers.py
index <HASH>..<HASH> 100644
--- a/datastore/google/cloud/datastore/helpers.py
+++ b/datastore/google/cloud/datastore/helpers.py
@@ -30,8 +30,6 @@ from google.cloud.grpc.datastore.v1 import entity_pb2 as _entity_pb2
f... | Removing __all__ from datastore helpers.
This way **all** public functions will be documented. | googleapis_google-cloud-python | train | py |
43fc2c04e0f50c6e5ad07553d6d305b712042af5 | diff --git a/stpl/stpl.py b/stpl/stpl.py
index <HASH>..<HASH> 100755
--- a/stpl/stpl.py
+++ b/stpl/stpl.py
@@ -301,7 +301,7 @@ class StplParser(object):
# Match the start tokens of code areas in a template
_re_split = r'''(?m)^[ \t]*(\\?)((%(line_start)s)|(%(block_start)s))'''
# Match inline statements (... | take over bottle SimpleTemplate fix (bottlepy/bottle#<I>) | rpuntaie_stpl | train | py |
b7b66c2f64471fb66b5a8207faae22d9960fc4b7 | diff --git a/pyemma/msm/analysis/dense/pcca_test.py b/pyemma/msm/analysis/dense/pcca_test.py
index <HASH>..<HASH> 100644
--- a/pyemma/msm/analysis/dense/pcca_test.py
+++ b/pyemma/msm/analysis/dense/pcca_test.py
@@ -101,7 +101,8 @@ class TestPCCA(unittest.TestCase):
assert_allclose(chi, sol)
def test_pcc... | using module-relative file name in pcca test | markovmodel_PyEMMA | train | py |
8aaba8c90cf64c4a0a890205110845fc8bccae6a | diff --git a/JSAT/src/jsat/math/optimization/stochastic/SGDMomentum.java b/JSAT/src/jsat/math/optimization/stochastic/SGDMomentum.java
index <HASH>..<HASH> 100644
--- a/JSAT/src/jsat/math/optimization/stochastic/SGDMomentum.java
+++ b/JSAT/src/jsat/math/optimization/stochastic/SGDMomentum.java
@@ -23,8 +23,9 @@ import ... | fixed bug where constructor parameter was ignored | EdwardRaff_JSAT | train | java |
01eb2a61de825c3a342735799e00b0cc3f9a7ee1 | diff --git a/vcr/vcr.go b/vcr/vcr.go
index <HASH>..<HASH> 100644
--- a/vcr/vcr.go
+++ b/vcr/vcr.go
@@ -60,8 +60,8 @@ func logResponse(w io.Writer, res *http.Response, body bool) {
const recordSeparator string = "*************vcr*************\n"
-func (t recorderTransport) logSeparator() {
- fmt.Fprintf(t.writer, r... | Remove data race when recording vcr. | mat_besticon | train | go |
0d6bdc55c96bb00e0dd3b4baeb11afabf635d425 | diff --git a/lib/instance_methods.js b/lib/instance_methods.js
index <HASH>..<HASH> 100644
--- a/lib/instance_methods.js
+++ b/lib/instance_methods.js
@@ -449,6 +449,8 @@ var InstanceMethods = {
, keys: function() {
var keys = _.clone(this.constructor.keys)
keys.push("_id")
+ keys.push("createdAt")
+ k... | created at and updated at need to be added to list of keys | xcoderzach_LiveDocument | train | js |
1f5ea220035aad702aa4535dd78d22dc46e89462 | diff --git a/slackclient/_client.py b/slackclient/_client.py
index <HASH>..<HASH> 100644
--- a/slackclient/_client.py
+++ b/slackclient/_client.py
@@ -18,7 +18,7 @@ class SlackClient(object):
return False
def api_call(self, method, **kwargs):
- return self.server.api_call(method, kwargs)
+ ... | fix kwargs in master | slackapi_python-slackclient | train | py |
78badf1e7f71fcd3aeb292e530d6a8c086019dc6 | diff --git a/spec/model_hook_spec.rb b/spec/model_hook_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/model_hook_spec.rb
+++ b/spec/model_hook_spec.rb
@@ -9,19 +9,19 @@ class Task
:details => :string,
:some_day => :date
- def before_delete
+ def before_delete(sender)
@before_d... | Modified spec to recognize sender argument for hook methods. | sxross_MotionModel | train | rb |
64310f1e83522943440d674e8f926f9914f23372 | diff --git a/pysnmp/entity/config.py b/pysnmp/entity/config.py
index <HASH>..<HASH> 100644
--- a/pysnmp/entity/config.py
+++ b/pysnmp/entity/config.py
@@ -327,7 +327,7 @@ def addV3User(snmpEngine, userName,
authKey and authKey.prettyPrint(),
privKey and privKey.prettyPrint(),
secu... | Fix USM configuration for the case of partial keys | etingof_pysnmp | train | py |
31a03a9413e6a03dd49fb4e281aae158a76a8d48 | diff --git a/packages/cozy-client/src/ObservableQuery.js b/packages/cozy-client/src/ObservableQuery.js
index <HASH>..<HASH> 100644
--- a/packages/cozy-client/src/ObservableQuery.js
+++ b/packages/cozy-client/src/ObservableQuery.js
@@ -101,7 +101,7 @@ export default class ObservableQuery {
}
getStore() {
- re... | refactor: ObservableQuery and Provider do not create the store for the client | cozy_cozy-client | train | js,js |
aa154aba50ba27aca59b19ab7fe8ff890c3961f6 | diff --git a/yacron/cron.py b/yacron/cron.py
index <HASH>..<HASH> 100644
--- a/yacron/cron.py
+++ b/yacron/cron.py
@@ -179,7 +179,7 @@ class Cron:
),
}
)
- if request.headers["Accept"] == "application/json":
+ if request.headers.get("Accept") ... | don't crash when receiving a web request without Accept header. Closes #<I> | gjcarneiro_yacron | train | py |
9fad3d0b40e45dee2b9a3db261133fcfb5b47b47 | diff --git a/src/dom/DomEvent.js b/src/dom/DomEvent.js
index <HASH>..<HASH> 100644
--- a/src/dom/DomEvent.js
+++ b/src/dom/DomEvent.js
@@ -59,7 +59,7 @@ L.DomEvent = {
} else if ('detachEvent' in obj) {
obj.detachEvent("on" + type, handler);
}
- delete obj[key];
+ obj[key] = null;
},
_checkMous... | cleanup, fix IE6 events error | axyjo_leaflet-rails | train | js,js |
f74b123bb3991c88b4b897583de9b2e608f33223 | diff --git a/src/ui/key.js b/src/ui/key.js
index <HASH>..<HASH> 100644
--- a/src/ui/key.js
+++ b/src/ui/key.js
@@ -6,7 +6,7 @@ d3plus.ui.key = function(vars) {
var key_display = true
- if (vars.key.default) {
+ if (vars.key.default && vars.color.key) {
if (!vars.color_scale) {
@@ -479,7 +4... | made key visible only when there is a color key | alexandersimoes_d3plus | train | js |
d07028735f0c75fd9260a60616242cdb34ceda23 | diff --git a/internal/uidriver/glfw/ui.go b/internal/uidriver/glfw/ui.go
index <HASH>..<HASH> 100644
--- a/internal/uidriver/glfw/ui.go
+++ b/internal/uidriver/glfw/ui.go
@@ -129,9 +129,9 @@ func initialize() error {
panic("glfw: glfw.CreateWindow must not return nil")
}
- // TODO: Fix this hack. currentMonitorI... | uidriver/glfw: Refactoring | hajimehoshi_ebiten | train | go |
5b7ccbccaaa104e2505bb5f1230f5a7e17d2769d | diff --git a/lib/plugins/aws/provider/awsProvider.js b/lib/plugins/aws/provider/awsProvider.js
index <HASH>..<HASH> 100644
--- a/lib/plugins/aws/provider/awsProvider.js
+++ b/lib/plugins/aws/provider/awsProvider.js
@@ -480,13 +480,24 @@ class AwsProvider {
}));
}
- getStackResources() {
+ getStackResource... | support more than <I> resources in dashboard | serverless_serverless | train | js |
9d2c724a1877453ce0678ca1377f83f4163df392 | diff --git a/DomainAvailability.php b/DomainAvailability.php
index <HASH>..<HASH> 100644
--- a/DomainAvailability.php
+++ b/DomainAvailability.php
@@ -407,9 +407,10 @@ class DomainAvailability {
".ws" => array("whois.website.ws","No match for"),
".xxx" => array("whois.nic.xxx","NOT FOUND"),
".xyz" => array(... | Added support for .ryukyu and formatting | HelgeSverre_Domain-Availability | train | php |
31406b89f26becbd935ce3ecf4b2e1426ba4b595 | diff --git a/container/engine.py b/container/engine.py
index <HASH>..<HASH> 100644
--- a/container/engine.py
+++ b/container/engine.py
@@ -10,11 +10,11 @@ import os
import datetime
import re
import sys
-import urllib
import gzip
import tarfile
import requests
+from six.moves.urllib.parse import urljoin
from ... | Fix use of urllib.basejoin to work on Python3 as well (#<I>) | ansible_ansible-container | train | py |
36b6e39374a96e8600808c9d3b8bb6efda9b8576 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -23,6 +23,7 @@ setup(name=PACKAGE_NAME,
license='Simplified BSD License',
install_requires=['requests'],
keywords='reddit api wrapper pushshift',
+ python_requires='>=3',
classifiers=[
... | Added python_requires >=3 to setup.py | dmarx_psaw | train | py |
7eabd7ad606751b9ce74683ec1790ec73fd174f8 | diff --git a/lib/gds_api/test_helpers/need_api.rb b/lib/gds_api/test_helpers/need_api.rb
index <HASH>..<HASH> 100644
--- a/lib/gds_api/test_helpers/need_api.rb
+++ b/lib/gds_api/test_helpers/need_api.rb
@@ -31,6 +31,15 @@ module GdsApi
stub_request(:get, url).to_return(status: 200, body: body.to_json, headers:... | Add a test helper for need search results. | alphagov_gds-api-adapters | train | rb |
db1b0ec1f36d79812c1723b49288271e4e1bc81b | diff --git a/chore/chore.config.js b/chore/chore.config.js
index <HASH>..<HASH> 100644
--- a/chore/chore.config.js
+++ b/chore/chore.config.js
@@ -63,4 +63,4 @@ module.exports = (function () {
return config;
-})();
+})();
\ No newline at end of file | fix(formatting): removed empty line | BioPhoton_angular1-star-rating | train | js |
5b8c55eb5023ad944a6924312dc036a4c4fdf04d | diff --git a/lib/websocket_rails/connection_adapters.rb b/lib/websocket_rails/connection_adapters.rb
index <HASH>..<HASH> 100644
--- a/lib/websocket_rails/connection_adapters.rb
+++ b/lib/websocket_rails/connection_adapters.rb
@@ -124,6 +124,7 @@ module WebsocketRails
def close_connection
@data_store.... | Cancel the ping timer when removing disconnecting a Connection.
Fixes the issue referenced in #<I> where the client disconnected
event appears in the logs twice for one disconnected client. | websocket-rails_websocket-rails | train | rb |
52ff0925e0386aaf1cfd3a73fd01ee459aa635b9 | diff --git a/swift-service/src/main/java/com/facebook/swift/service/ThriftServer.java b/swift-service/src/main/java/com/facebook/swift/service/ThriftServer.java
index <HASH>..<HASH> 100644
--- a/swift-service/src/main/java/com/facebook/swift/service/ThriftServer.java
+++ b/swift-service/src/main/java/com/facebook/swift... | Track DefaultChannelGroup and close it when shutting down the server
This helps avoid a hang on shutdown when the client doesn't close the channel | facebookarchive_swift | train | java |
d7960ccb57617c2e902f0830d67460a748a10064 | diff --git a/saveSvgAsPng.js b/saveSvgAsPng.js
index <HASH>..<HASH> 100644
--- a/saveSvgAsPng.js
+++ b/saveSvgAsPng.js
@@ -7,8 +7,8 @@
return url && url.lastIndexOf('http',0) == 0 && url.lastIndexOf(window.location.host) == -1;
}
- function inlineImages(callback) {
- var images = document.querySelectorAll... | Only embed images in the SVG being exported. | exupero_saveSvgAsPng | train | js |
619560a9d26cddc89969e8af36f2be17aaabae45 | diff --git a/lib/plugins/renderer/stylus.js b/lib/plugins/renderer/stylus.js
index <HASH>..<HASH> 100644
--- a/lib/plugins/renderer/stylus.js
+++ b/lib/plugins/renderer/stylus.js
@@ -28,5 +28,6 @@ module.exports = function(data, options, callback){
.use(defineConfig)
.set('filename', data.path)
.set('com... | Support include css in stylus | hexojs_hexo | train | js |
9060b55a08769a8f43fdb83c13cbf0c183970779 | diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb
index <HASH>..<HASH> 100644
--- a/config/initializers/devise.rb
+++ b/config/initializers/devise.rb
@@ -72,7 +72,7 @@ Devise.setup do |config|
# It will change confirmation, password recovery and other workflows
# to behave the same regard... | Have Devise be paranoid by default | publify_publify | train | rb |
3d7331584415c610c99ce26eae2eacc6ca5eea79 | diff --git a/homu/utils.py b/homu/utils.py
index <HASH>..<HASH> 100644
--- a/homu/utils.py
+++ b/homu/utils.py
@@ -50,9 +50,9 @@ def lazy_debug(logger, f):
logger.debug(f())
def logged_call(args):
- try: subprocess.check_output(args, stderr=subprocess.STDOUT)
+ try: subprocess.check_call(args, stdout=... | Don't report stdout when a Git command fails
For some reason, `subprocess.check_output` is blocked indefinitely
sometimes, leaving behind a zombie process. It seems that the
`self.stdout.read()` call in `Popen.communicate` tries to read from the
child process, but as the child process is already gone, it is blocked.
U... | barosl_homu | train | py |
f77d8d679c838d71681c1fda4ecbffadb1253fa7 | diff --git a/UIDialog/index.js b/UIDialog/index.js
index <HASH>..<HASH> 100644
--- a/UIDialog/index.js
+++ b/UIDialog/index.js
@@ -41,12 +41,14 @@ export default class UIDialog extends UIView {
this.refs.dialog.focus();
}
- window.addEventListener('focus', this.handleFocus, true);
... | UIDialog: closeOnOutsideClick right-click support | enigma-io_boundless | train | js |
03e5dce069848700d00db5d6017a1d61732d3773 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -146,7 +146,8 @@ setup(
# For an analysis of "install_requires" vs pip's requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=[
- 'regex;python_version<"3"',... | Updated setup.py with jsonschema dependency. | insightindustry_validator-collection | train | py |
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.