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 |
|---|---|---|---|---|---|
0e6afc7157eb8a922ab94b179468f473f12788f6 | diff --git a/riabdock.py b/riabdock.py
index <HASH>..<HASH> 100644
--- a/riabdock.py
+++ b/riabdock.py
@@ -107,7 +107,7 @@ def setVectorStyle(qgisVectorLayer, style):
"color_border": myColourString})
mySymbol.changeSymbolLayer(0, mySymbolLayer)
elif myGeometryType == Q... | Bug fix for polygon fills not getting the correct symbol type | inasafe_inasafe | train | py |
67f376b3037a01bc7e41c909ddc4c9cfbd907058 | diff --git a/pkg/proxy/router/router.go b/pkg/proxy/router/router.go
index <HASH>..<HASH> 100644
--- a/pkg/proxy/router/router.go
+++ b/pkg/proxy/router/router.go
@@ -4,7 +4,7 @@
package router
import (
- "strings"
+ "net"
"sync"
"github.com/wandoulabs/codis/pkg/models"
@@ -139,12 +139,12 @@ func (s *Router) ... | Update, router use net.SplitHostPort to split addr | CodisLabs_codis | train | go |
fddbcf9c687bba24af9d6f127af5f61d52bd34c0 | diff --git a/lib/moodlelib.php b/lib/moodlelib.php
index <HASH>..<HASH> 100644
--- a/lib/moodlelib.php
+++ b/lib/moodlelib.php
@@ -1317,6 +1317,8 @@ function isteacher($courseid, $userid=0, $includeadmin=true) {
* @todo Finish documenting this function
*/
function isteacherinanycourse($userid = 0, $includeadmin = ... | Fixing my buggy implementation of isteacherinanycourse().
This fixes bugs <I>, <I> and maybe some others Eagle Eyes didn't have
the time to find. ;-) | moodle_moodle | train | php |
885a8d6a48a5649d905e3e0375fb55545242a3e9 | diff --git a/lib/friendly_id.rb b/lib/friendly_id.rb
index <HASH>..<HASH> 100644
--- a/lib/friendly_id.rb
+++ b/lib/friendly_id.rb
@@ -55,7 +55,12 @@ module FriendlyId
def enable
return if ActiveRecord::Base.methods.include? 'has_friendly_id'
ActiveRecord::Base.class_eval { extend FriendlyId::ClassMe... | Load Shoulda macros in ActiveSupport::TestCase for Rails <I>. | norman_friendly_id | train | rb |
7774178e00a5e68330b2e3f23ebda65c73123a2b | diff --git a/Bundle/BlogBundle/Listener/ArticleFilterDefaultValuesListener.php b/Bundle/BlogBundle/Listener/ArticleFilterDefaultValuesListener.php
index <HASH>..<HASH> 100644
--- a/Bundle/BlogBundle/Listener/ArticleFilterDefaultValuesListener.php
+++ b/Bundle/BlogBundle/Listener/ArticleFilterDefaultValuesListener.php
@... | businessEntityName does not exists anymore, it is replaced by businessEntityId | Victoire_victoire | train | php |
ca04032c6694f05db3cf2df180553298bf1513ce | diff --git a/lib/active_shipping/shipping/carriers/canada_post_pws.rb b/lib/active_shipping/shipping/carriers/canada_post_pws.rb
index <HASH>..<HASH> 100644
--- a/lib/active_shipping/shipping/carriers/canada_post_pws.rb
+++ b/lib/active_shipping/shipping/carriers/canada_post_pws.rb
@@ -530,8 +530,6 @@ module ActiveMerc... | Remove extraneous else that is causing a warning | Shopify_active_shipping | train | rb |
973b776d04ac40fc434731488786cca37dc5e5cc | diff --git a/lib/codemirror.js b/lib/codemirror.js
index <HASH>..<HASH> 100644
--- a/lib/codemirror.js
+++ b/lib/codemirror.js
@@ -1454,8 +1454,9 @@
if (display.cachedPaddingH) return display.cachedPaddingH;
var e = removeChildrenAndAdd(display.measure, elt("pre", "x"));
var style = window.getComputedSty... | Guard against NaN when computing horiz padding
Issue #<I> | codemirror_CodeMirror | train | js |
20a8bf843b7284f0738763b2dcaac0f59d770ef3 | diff --git a/packages/aws-amplify-angular/rollup.config.js b/packages/aws-amplify-angular/rollup.config.js
index <HASH>..<HASH> 100644
--- a/packages/aws-amplify-angular/rollup.config.js
+++ b/packages/aws-amplify-angular/rollup.config.js
@@ -28,7 +28,7 @@ export default {
'rxjs/add/observable/of': 'Rx.Observabl... | fix(aws-amplify-angular): declare @aws-amplify/core as rollup external | aws-amplify_amplify-js | train | js |
dfe8d23ffc10b7b48633077dcb2e812fb0a03cf2 | diff --git a/src/ORM/DataExtension.php b/src/ORM/DataExtension.php
index <HASH>..<HASH> 100644
--- a/src/ORM/DataExtension.php
+++ b/src/ORM/DataExtension.php
@@ -126,7 +126,7 @@ abstract class DataExtension extends Extension
*
* @param Member $member
* @param array $context
- * @return bool
+ ... | Added extra type-hints to DataExtension DocBlocks | silverstripe_silverstripe-framework | train | php |
3a51a64e00ee5136880db2ff627abc82056a2412 | diff --git a/lib/strava/api/v3/athlete.rb b/lib/strava/api/v3/athlete.rb
index <HASH>..<HASH> 100644
--- a/lib/strava/api/v3/athlete.rb
+++ b/lib/strava/api/v3/athlete.rb
@@ -43,7 +43,7 @@ module Strava::Api::V3
# @return athlete json (see http://strava.github.io/api/v3/athlete/)
def list_athlete_segment_effo... | Corrected List Athlete K/QOMs/CRs URL | jaredholdcroft_strava-api-v3 | train | rb |
3e0f0340ec7ac4a9cc0fde43451c335b913b93b3 | diff --git a/pyradigm/base.py b/pyradigm/base.py
index <HASH>..<HASH> 100644
--- a/pyradigm/base.py
+++ b/pyradigm/base.py
@@ -300,6 +300,11 @@ class BaseDataset(ABC):
if features.size <= 0:
raise EmptyFeatureSetException('Provided features are empty.')
+ if self._num_features and self._n... | add ValueError: feature dim mismatch back, but into _check_features
Accidentally removed the check. Instead of putting back into
add_samplet, moved the code into _check_features. DRYs up the check in
__setitem__ | raamana_pyradigm | train | py |
b6a9bcc3e8c4c47d8c4c2bc47d398e64376041c6 | diff --git a/requests_oauthlib/oauth2_session.py b/requests_oauthlib/oauth2_session.py
index <HASH>..<HASH> 100644
--- a/requests_oauthlib/oauth2_session.py
+++ b/requests_oauthlib/oauth2_session.py
@@ -12,7 +12,7 @@ class TokenUpdated(Warning):
class OAuth2Session(requests.Session):
- """Versitile OAuth 2 exte... | Fix typo in OAuth2Session | requests_requests-oauthlib | train | py |
0887dc6f1060fbd82cbcb00043cb6eeb8b9c5380 | diff --git a/baron/grammator_operators.py b/baron/grammator_operators.py
index <HASH>..<HASH> 100644
--- a/baron/grammator_operators.py
+++ b/baron/grammator_operators.py
@@ -109,13 +109,18 @@ def include_operators(pg):
@pg.production("comparison : expr IS NOT comparison")
@pg.production("comparison : expr NO... | [mod] continue refactoring | PyCQA_baron | train | py |
d0f8817e77a90e9868afc7e55d6ca0412a3aeba8 | diff --git a/lib/Teepee.js b/lib/Teepee.js
index <HASH>..<HASH> 100644
--- a/lib/Teepee.js
+++ b/lib/Teepee.js
@@ -251,6 +251,7 @@ Teepee.prototype.request = function (options, cb) {
headers.accept = 'application/json';
}
+ // https://github.com/joyent/node/issues/25353 url.parse() fails if auth cont... | Comment why we can't use node's url module for url parsing | One-com_teepee | train | js |
9a931a1e11d0f3a347a1e319187cc4e5faee7ea7 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -17,8 +17,23 @@ if sys.argv[-1] == 'publish':
NAME = "future"
PACKAGES = ["future",
"future.modified_builtins",
- "future.tests"]
-PACKAGE_DATA = {'': ['README.rst', 'LICENSE', 'NEWS.txt', 'futurize.p... | Include all backported modules etc. in setup.py | PythonCharmers_python-future | train | py |
f924f0bf9a3977adc0c942b4f436134e2106760d | diff --git a/src/AbstractPluginManager.php b/src/AbstractPluginManager.php
index <HASH>..<HASH> 100644
--- a/src/AbstractPluginManager.php
+++ b/src/AbstractPluginManager.php
@@ -65,8 +65,21 @@ abstract class AbstractPluginManager extends ServiceManager implements ServiceLo
parent::__construct($configuration);... | [zen-<I>][zendframework/zf2#<I>] Added ServiceLocatorAware injector
- to AbstractPluginManager. If there is a parent SM, that is used; if not, the
plugin manager instance is used. The same pattern is used for
ServiceManagerAware injection -- if a parent service locator is present and is
a ServiceManager instance... | mxc-commons_mxc-servicemanager | train | php |
2485706106ad851cf55fd432d23efdecd86ba75b | diff --git a/bcbio/upload/__init__.py b/bcbio/upload/__init__.py
index <HASH>..<HASH> 100644
--- a/bcbio/upload/__init__.py
+++ b/bcbio/upload/__init__.py
@@ -727,6 +727,7 @@ def _get_files_project(sample, upload_config):
out.append({"path": dd.get_merged_gtf(sample)})
if dd.get_dexseq_counts(sample):
... | UPLOAD::add dexseq.ann to the final folder as well. | bcbio_bcbio-nextgen | train | py |
0ff80a00de53e542eef2ba094d5cbdc16a394f52 | diff --git a/projects/scsi/src/org/jscsi/scsi/tasks/management/TaskManager.java b/projects/scsi/src/org/jscsi/scsi/tasks/management/TaskManager.java
index <HASH>..<HASH> 100644
--- a/projects/scsi/src/org/jscsi/scsi/tasks/management/TaskManager.java
+++ b/projects/scsi/src/org/jscsi/scsi/tasks/management/TaskManager.ja... | Removed redundant run() method declaration, which is implicit from the Runnable interface.
git-svn-id: <URL> | sebastiangraf_jSCSI | train | java |
e352649a7506870b733b997c1b547f00193cd8fa | diff --git a/tests/framework/data/DataFilterTest.php b/tests/framework/data/DataFilterTest.php
index <HASH>..<HASH> 100644
--- a/tests/framework/data/DataFilterTest.php
+++ b/tests/framework/data/DataFilterTest.php
@@ -334,6 +334,18 @@ class DataFilterTest extends TestCase
],
[
... | Improve DataFilterTest (#<I>) | yiisoft_yii2 | train | php |
c8685eb0acffb6980b0e8207e5c8fb43d6491a01 | diff --git a/html5css3/html.py b/html5css3/html.py
index <HASH>..<HASH> 100644
--- a/html5css3/html.py
+++ b/html5css3/html.py
@@ -40,13 +40,7 @@ class TagBase(Element):
Element.__init__(self, tag, clean_attrs)
for child in childs:
- if isinstance(child, basestring):
- if s... | attempt at fixing nodes ordering when there are strings | marianoguerra_rst2html5 | train | py |
b7bc504568ac194c8c30d6d25e6e7655207c4945 | diff --git a/src/openaccess_epub/opf/opf.py b/src/openaccess_epub/opf/opf.py
index <HASH>..<HASH> 100644
--- a/src/openaccess_epub/opf/opf.py
+++ b/src/openaccess_epub/opf/opf.py
@@ -149,11 +149,7 @@ class OPF(object):
#Recall that metadata were reset in single mode during take_article
self.set_publis... | removed some unnecessary comments, added a more descriptive comment | SavinaRoja_OpenAccess_EPUB | train | py |
df3655dc45e1f40a317f4d81a035d6563e28e9de | diff --git a/salt/runner.py b/salt/runner.py
index <HASH>..<HASH> 100644
--- a/salt/runner.py
+++ b/salt/runner.py
@@ -265,19 +265,15 @@ class RunnerClient(mixins.SyncClientMixin, mixins.AsyncClientMixin, object):
job = self.master_call(**reformatted_low)
ret_tag = tagify('ret', base=job['tag'])
- ... | Don't spin waiting for runner return, just use get_event (it has a poller) | saltstack_salt | train | py |
e08283f5491235ab795d59e704fe1a9bf704e0f5 | diff --git a/code/dataobjects/MediaAttribute.php b/code/dataobjects/MediaAttribute.php
index <HASH>..<HASH> 100644
--- a/code/dataobjects/MediaAttribute.php
+++ b/code/dataobjects/MediaAttribute.php
@@ -196,9 +196,6 @@ class MediaAttribute extends DataObject {
// Apply the changes from this attribute to existing med... | FIX, cleaning up some comments. | nglasl_silverstripe-mediawesome | train | php,php |
ea624287c601067036cfe311e4499011227fe461 | diff --git a/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb b/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb
index <HASH>..<HASH> 100644
--- a/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb
+++ b/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb
@@ -124,16 +124,16 @@ end
# We're overcoming a problem... | Updated the recipe to remove Git completely before updating it. | chef_chef | train | rb |
6519eb5d9b2a98afba4bd3c48d58c7cd6906d1d6 | diff --git a/docs/source/conf.py b/docs/source/conf.py
index <HASH>..<HASH> 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -10,9 +10,10 @@
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
-# ... | DOC: Add autodoc and other helpful extensions | coyo8_sec-edgar | train | py |
bdb9827bbc76d0445588dda80647fca8bf341fee | diff --git a/spec/support/encoding_helper.rb b/spec/support/encoding_helper.rb
index <HASH>..<HASH> 100644
--- a/spec/support/encoding_helper.rb
+++ b/spec/support/encoding_helper.rb
@@ -36,11 +36,11 @@ module EncodingHelper
case obj
when Array
- obj.each { |item| check_utf8(item) }
+ obj.each { |... | fix check_binary helper to recurse correctly | yob_pdf-reader | train | rb |
23c55cc279f1e3715a742836a55c74883042feaa | diff --git a/packages/service/addon/index.js b/packages/service/addon/index.js
index <HASH>..<HASH> 100644
--- a/packages/service/addon/index.js
+++ b/packages/service/addon/index.js
@@ -9,7 +9,7 @@ import { gte } from 'ember-compatibility-helpers';
import Component from '@ember/component';
import { inject as ser... | docs(service): [typo] add missing opening curly brace (#<I>) | ember-decorators_ember-decorators | train | js |
0dcc18f677bddf6762ad4b7481b2786f20e44d19 | diff --git a/lib/middleware/injectLiveStyleScriptIncludeIntoHtml.js b/lib/middleware/injectLiveStyleScriptIncludeIntoHtml.js
index <HASH>..<HASH> 100644
--- a/lib/middleware/injectLiveStyleScriptIncludeIntoHtml.js
+++ b/lib/middleware/injectLiveStyleScriptIncludeIntoHtml.js
@@ -28,7 +28,7 @@ module.exports = function (... | Don't kill etags issued by express-compiless or express-compile-sass | One-com_livestyle | train | js |
2975f921a4587114425f11be7e1c970452a6a840 | diff --git a/lib/instrumental/agent.rb b/lib/instrumental/agent.rb
index <HASH>..<HASH> 100644
--- a/lib/instrumental/agent.rb
+++ b/lib/instrumental/agent.rb
@@ -138,7 +138,7 @@ module Instrumental
def valid?(metric, value, time)
valid_metric = metric =~ /^([\d\w\-_]+\.)*[\d\w\-_]+$/i
- valid_value ... | Supporing float values with exponential notation <I>e-<I>. | Instrumental_instrumental_agent-ruby | train | rb,rb |
fc66aead95c1c14f10325e76dbf545d5eeff8409 | diff --git a/doc/conf.py b/doc/conf.py
index <HASH>..<HASH> 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -11,9 +11,10 @@
#
# All configuration values have a default; values that are commented out
# serve to show the default.
-
import os
import sys
+
+from sphinx_gallery.sorting import FileNameSortKey
# required ... | work on sphinx config | geophysics-ubonn_crtomo_tools | train | py |
05aa1ea2c0c8f311b6b31fe3e67038a07bc91746 | diff --git a/lib/viking.rb b/lib/viking.rb
index <HASH>..<HASH> 100644
--- a/lib/viking.rb
+++ b/lib/viking.rb
@@ -2,15 +2,15 @@ require "lock_jar"
LockJar.load
-java_import java.net.URI
-java_import org.apache.hadoop.fs.FileSystem
-java_import org.apache.hadoop.hdfs.DistributedFileSystem
-java_import org.apache.h... | move java imports to sit within the viking module and bump the version | tyro89_Viking | train | rb,rb |
5deeb20edea78d92ef15c70dfa2905add2946cbf | diff --git a/test/cache_test.rb b/test/cache_test.rb
index <HASH>..<HASH> 100644
--- a/test/cache_test.rb
+++ b/test/cache_test.rb
@@ -34,7 +34,8 @@ class CacheTest < ActionDispatch::IntegrationTest
def test_variables
with_caching({"mode" => "all"}) do
- run_query "SELECT {str_var}, {int_var}", str_var: ... | Improved test [skip ci] | ankane_blazer | train | rb |
57f423901b998b61a77ec5d65c1ce2cfcd554695 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -39,11 +39,14 @@ var rootParent = {}
* get the Object implementation, which is slower but will work correctly.
*/
Buffer.TYPED_ARRAY_SUPPORT = (function () {
+ function Foo () {}
try {
var buf = new ArrayBuffer(0... | Ensure typed array constructor property can be set
Otherwise set TYPED_ARRAY_SUPPORT to false and fallback to the object
implementation. | feross_buffer | train | js |
4ba773d305605d0ffff8eb9e1c0dc42b371b7b08 | diff --git a/tests/test_command.py b/tests/test_command.py
index <HASH>..<HASH> 100644
--- a/tests/test_command.py
+++ b/tests/test_command.py
@@ -414,5 +414,35 @@ class TestHadoopCommand(QdsCliTestCase):
'can_notify': True})
+class TestShellCommand(QdsCliTestCase):
+
+ def test_stub(self):
+ ... | Add test stubs for other command types | qubole_qds-sdk-py | train | py |
ff9183b585321387d06059fcda2643e68f82eb3d | diff --git a/core/src/main/java/org/infinispan/util/concurrent/locks/containers/AbstractPerEntryLockContainer.java b/core/src/main/java/org/infinispan/util/concurrent/locks/containers/AbstractPerEntryLockContainer.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/infinispan/util/concurrent/locks/containers/... | ISPN-<I> Reduced contention by avoiding an unnecessary CHM.putIfAbsent | infinispan_infinispan | train | java |
c856c353735a568a9b21f56b025dfbbbe667f30b | diff --git a/redisson/src/main/java/org/redisson/RedissonKeys.java b/redisson/src/main/java/org/redisson/RedissonKeys.java
index <HASH>..<HASH> 100644
--- a/redisson/src/main/java/org/redisson/RedissonKeys.java
+++ b/redisson/src/main/java/org/redisson/RedissonKeys.java
@@ -210,7 +210,7 @@ public class RedissonKeys imp... | Improvement - RKeys.deleteByPattern performance improvements | redisson_redisson | train | java |
1c8858166eb6fbb05605cd38720d6651608a95c5 | diff --git a/app/models/workflow.rb b/app/models/workflow.rb
index <HASH>..<HASH> 100644
--- a/app/models/workflow.rb
+++ b/app/models/workflow.rb
@@ -90,24 +90,18 @@ module Workflow
self.human_state_name.capitalize
end
- def denormalise_users
- new_or_create = [Action::CREATE, Action::NEW_VERSION]
- c... | Simplify denormalise_users by extracting query to
a common method. Query always returns an array so
it can be iterated over rather than defensively
checked for nil. | alphagov_govuk_content_models | train | rb |
cbca76e0782ebe46267130674b95dba066986ac4 | diff --git a/lib/jsonapi/routing_ext.rb b/lib/jsonapi/routing_ext.rb
index <HASH>..<HASH> 100644
--- a/lib/jsonapi/routing_ext.rb
+++ b/lib/jsonapi/routing_ext.rb
@@ -32,6 +32,12 @@ module ActionDispatch
options[:except] = [:new, :edit]
end
+ if res._immutable
+ options[:ex... | Let `jsonapi_resource` recognize immutable
Currently, `create`, `update`, `destroy` routes are generated for
resources that are marked as immutable. This change fixes that bug. | cerebris_jsonapi-resources | train | rb |
af8978915f9b3cd854a2bda8698ffed1cf8b6e17 | diff --git a/abaaso.js b/abaaso.js
index <HASH>..<HASH> 100644
--- a/abaaso.js
+++ b/abaaso.js
@@ -1844,6 +1844,7 @@ var abaaso = function(){
arg = (arg.toString().indexOf(",") > -1) ? arg.split(/\s*,\s*/) : arg;
nodelist = (nodelist === true) ? true : false;
+ // Recursiving processing, ends up below
... | Added a comment to $() for devs | avoidwork_abaaso | train | js |
4ac74a82c5ecbcff3da80167c7316998b96b59c8 | diff --git a/classes/PodsInit.php b/classes/PodsInit.php
index <HASH>..<HASH> 100644
--- a/classes/PodsInit.php
+++ b/classes/PodsInit.php
@@ -79,6 +79,13 @@ class PodsInit {
static $upgrade_needed = false;
/**
+ * Whether setup() was called (activations for new installation or re-installation only)
+ *
+ * @v... | Make templates component active after an initial installation or re-installation | pods-framework_pods | train | php |
2120c7813a807349fb351c63401c0157a8c09b05 | diff --git a/mpop/satin/msg_hdf.py b/mpop/satin/msg_hdf.py
index <HASH>..<HASH> 100644
--- a/mpop/satin/msg_hdf.py
+++ b/mpop/satin/msg_hdf.py
@@ -1097,7 +1097,10 @@ def load(scene, *args, **kwargs):
filename = conf.get(scene.instrument_name+"-level3", "filename",
raw=True)
pathname =... | Bugfix: don't crash if msg hdf can't be loaded. | pytroll_satpy | train | py |
c979563dcd64507e92ee2a9a86def61918a4c7c9 | diff --git a/src/test/java/org/jboss/netty/channel/socket/NioServerSocketShutdownTimeTest.java b/src/test/java/org/jboss/netty/channel/socket/NioServerSocketShutdownTimeTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/org/jboss/netty/channel/socket/NioServerSocketShutdownTimeTest.java
+++ b/src/test/java/org/j... | Trying to figure out who is failing NioServerSocketShutdownTimeTest .. | netty_netty | train | java |
84369ee0a0a91a66f9eeb351047f780cd0b538bc | diff --git a/test/parse.js b/test/parse.js
index <HASH>..<HASH> 100644
--- a/test/parse.js
+++ b/test/parse.js
@@ -11,6 +11,28 @@ describe( 'TLE.parse', function() {
var tle = TLE.parse( set )
+ var expected = {
+ name: 'ISS (ZARYA)',
+ number: 25544,
+ class: 'U',
+ id: '98067A',
+ ... | Update test/parse: Add assertion | jhermsmeier_node-tle | train | js |
e9987dfa4ac7d207b8cd943d80a14033a3fc7243 | diff --git a/src/DynamoDbModel.php b/src/DynamoDbModel.php
index <HASH>..<HASH> 100644
--- a/src/DynamoDbModel.php
+++ b/src/DynamoDbModel.php
@@ -69,6 +69,16 @@ abstract class DynamoDbModel extends Model
}
/**
+ * Get the DynamoDbClient service that is being used by the models.
+ *
+ * @return ... | Adds Methods for Managing the DynamoDbClientService.
This commit adds some methods to allow for managing the
DynamoDbClientService which is being used by all the models. | baopham_laravel-dynamodb | train | php |
16c631eb2893e3d84d447a18ece5eebaedfdc820 | diff --git a/dist/diffhtml.js b/dist/diffhtml.js
index <HASH>..<HASH> 100644
--- a/dist/diffhtml.js
+++ b/dist/diffhtml.js
@@ -1270,11 +1270,10 @@ function process(element, patches) {
}));
}
}
-
// Added state for transitions API.
- if (states && states.attached && states.attached.length) {... | Don't trigger attached for text nodes | tbranyen_diffhtml | train | js,js |
8a6f371fa452e6e0a80f9cf87054e1d29f7be871 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -40,11 +40,17 @@ module.exports = function(options, allDone) {
.on('end', function(installed) {
installed = _.map(installed, function(component) {
var name = component.pkgMeta.name;
- return {
- name: n... | Fix failed attempt to update components not listed in bower.json. Fix #9. | sapegin_bower-update | train | js |
86c6654b947ff289426bbc5ddd933b3452ce488e | diff --git a/test/DayPicker.js b/test/DayPicker.js
index <HASH>..<HASH> 100644
--- a/test/DayPicker.js
+++ b/test/DayPicker.js
@@ -7,6 +7,7 @@ import { shallow, mount, render } from 'enzyme';
import { expect } from 'chai';
import sinon, { spy } from 'sinon';
import DayPicker from '../src/DayPicker';
+import * as Loc... | Add test to check weekday labels respect locale’s `firstDayOfWeek`. | gpbl_react-day-picker | train | js |
b84bdc05be1e89a993e5f3b1d673d5c6bc4991a6 | diff --git a/src/flags.py b/src/flags.py
index <HASH>..<HASH> 100644
--- a/src/flags.py
+++ b/src/flags.py
@@ -17,7 +17,7 @@ __all__ = ['Flags', 'FlagProperties', 'FlagData', 'UNDEFINED']
# case increase only version_info[2].
# version_info[2]: Increase in case of bugfixes. Also use this if you added... | bumping version to <I> | pasztorpisti_py-flags | train | py |
cd6ef3ba634c97eab20c9f9702188b7ea5fa0537 | diff --git a/bridgepoint/interpret.py b/bridgepoint/interpret.py
index <HASH>..<HASH> 100644
--- a/bridgepoint/interpret.py
+++ b/bridgepoint/interpret.py
@@ -372,6 +372,7 @@ class ActionWalker(xtuml.Walker):
'-': lambda lhs, rhs: (lhs - rhs),
'*': lambda lhs, rhs: (lhs * rhs),
... | interpret: improve binary and unary operator support | xtuml_pyxtuml | train | py |
9157c08039422db859c9d86a44db79166bf331cb | diff --git a/lib/spaceship/provisioning_profile.rb b/lib/spaceship/provisioning_profile.rb
index <HASH>..<HASH> 100644
--- a/lib/spaceship/provisioning_profile.rb
+++ b/lib/spaceship/provisioning_profile.rb
@@ -310,8 +310,10 @@ module Spaceship
unless certificate_valid?
if self.kind_of?Development
... | Added support for repairing enterprise profiles | fastlane_fastlane | train | rb |
c34090383be7aaa7afe6fcc7166a45c6574c49c1 | diff --git a/source/core/oxseoencoder.php b/source/core/oxseoencoder.php
index <HASH>..<HASH> 100644
--- a/source/core/oxseoencoder.php
+++ b/source/core/oxseoencoder.php
@@ -920,7 +920,7 @@ class oxSeoEncoder extends oxSuperCfg
$oDb = oxDb::getDb();
$sWhere = $sId ? "where oxobjectid = " . $oDb->quo... | Fixed language check so that language with id=0 would be matched too (cherry picked from commit <I>bad8f) | OXID-eSales_oxideshop_ce | train | php |
abda55596236932053d464f094b944dba110fd59 | diff --git a/rrrspec-client/lib/rrrspec.rb b/rrrspec-client/lib/rrrspec.rb
index <HASH>..<HASH> 100644
--- a/rrrspec-client/lib/rrrspec.rb
+++ b/rrrspec-client/lib/rrrspec.rb
@@ -68,11 +68,12 @@ module RRRSpec
end
end
+ # When there's no suitable home directory, File.expand_path raises ArgumentError
DEFAU... | Don't fail when user has no home directory | cookpad_rrrspec | train | rb |
6fe294ff2b324c4ff80e7f50cce0c5b8580290b7 | diff --git a/modules/angular2/src/core/annotations/annotations.js b/modules/angular2/src/core/annotations/annotations.js
index <HASH>..<HASH> 100644
--- a/modules/angular2/src/core/annotations/annotations.js
+++ b/modules/angular2/src/core/annotations/annotations.js
@@ -135,10 +135,10 @@ export class Directive {
/**... | (docs) decorator events typo?
Ok I'm not sure (trying to understand angular2) but according to what i can see. Shouldn't the decorator event property be events. Please correct me if I'm wrong :p | angular_angular | train | js |
a9a5a52d6239b27091fcd44d9f459781427287c3 | diff --git a/core-bundle/src/Resources/contao/library/Contao/File.php b/core-bundle/src/Resources/contao/library/Contao/File.php
index <HASH>..<HASH> 100644
--- a/core-bundle/src/Resources/contao/library/Contao/File.php
+++ b/core-bundle/src/Resources/contao/library/Contao/File.php
@@ -832,6 +832,7 @@ class File extend... | [Core] Add `ogv` to the mime types of the `Files` class (see #<I>) | contao_contao | train | php |
c1024c38357f0053b04c2deb8d3961309c76361f | diff --git a/ActiveDataProvider.php b/ActiveDataProvider.php
index <HASH>..<HASH> 100644
--- a/ActiveDataProvider.php
+++ b/ActiveDataProvider.php
@@ -116,7 +116,10 @@ class ActiveDataProvider extends \yii\data\ActiveDataProvider
}
$results = $this->getQueryResults();
- return isset($results[... | Fix prepareTotalCount() support elasticsearch 7.x
Fix the return value of prepareTotalCount() in ActiveDataProvider to support elasticsearch 7.x | yiisoft_yii2-elasticsearch | train | php |
4e992d8bc116f48acb4e6c8d7c9660e9e019f91b | diff --git a/lib/refs.js b/lib/refs.js
index <HASH>..<HASH> 100644
--- a/lib/refs.js
+++ b/lib/refs.js
@@ -121,14 +121,12 @@ $Refs.prototype.set = function (path, value) {
* Creates a new {@link $Ref} object and adds it to this {@link $Refs} object.
*
* @param {string} path - The file path or URL of the referenc... | Removed the optional `value` parameter, since it's no longer passed anywhere | APIDevTools_json-schema-ref-parser | train | js |
fc7e5dfa3283291968518222f0c3fb1669286ab5 | diff --git a/src/components/layout.js b/src/components/layout.js
index <HASH>..<HASH> 100644
--- a/src/components/layout.js
+++ b/src/components/layout.js
@@ -29,7 +29,9 @@ const Layout = ({ children }) => (
>
{children}
<footer>
- © 2018, Built with <a href="https://www.gatsby... | feat(starters): make copyright year dynamic (#<I>) | gatsbyjs_gatsby-starter-default | train | js |
7c72c2889ae6366aeb5c86f4ac2ad4f14e6a6431 | diff --git a/lib/ajax/section-resource_classes.js b/lib/ajax/section-resource_classes.js
index <HASH>..<HASH> 100755
--- a/lib/ajax/section-resource_classes.js
+++ b/lib/ajax/section-resource_classes.js
@@ -407,7 +407,7 @@ section_class.prototype.write_sequence_list = function(toReturn){
if(toReturn)
... | updates to accommodate retooled command.php | moodle_moodle | train | js |
1b594dec61c439635ea67e14c62d1d617f6c0af2 | diff --git a/lib/bud/rebl.rb b/lib/bud/rebl.rb
index <HASH>..<HASH> 100644
--- a/lib/bud/rebl.rb
+++ b/lib/bud/rebl.rb
@@ -9,7 +9,7 @@ TABLE_TYPES = ["table", "scratch", "channel", "loopback", "periodic", "sync", "s
# The class to which rebl adds user-specified rules and declarations.
class ReblBase
include Bud
- ... | Update list of builtin tables in REBL. | bloom-lang_bud | train | rb |
b41622bc49e3a1a7281dfcd54de0184a10c7a77f | diff --git a/hugolib/metadata.go b/hugolib/metadata.go
index <HASH>..<HASH> 100644
--- a/hugolib/metadata.go
+++ b/hugolib/metadata.go
@@ -71,6 +71,11 @@ func interfaceToBool(i interface{}) bool {
switch b := i.(type) {
case bool:
return b
+ case int:
+ if i.(int) > 0 {
+ return true
+ }
+ return false
de... | Allow 1/0 for true/false in Yaml front-matter | gohugoio_hugo | train | go |
0839392e19b272c7d082cf81c813043980d8c7c9 | diff --git a/tracer/tracer.py b/tracer/tracer.py
index <HASH>..<HASH> 100644
--- a/tracer/tracer.py
+++ b/tracer/tracer.py
@@ -168,6 +168,9 @@ class Tracer(object):
# expected behavor, the dynamic trace and symbolic trace hit
# the same basic block
+ if self.bb_cnt >= ... | fix for traces which don't deadend | angr_angr | train | py |
4b7584007a34fca41c52212bc3e9ff3abe12d898 | diff --git a/bb/rhodes/src/rhomobile/sync/SyncThread.java b/bb/rhodes/src/rhomobile/sync/SyncThread.java
index <HASH>..<HASH> 100644
--- a/bb/rhodes/src/rhomobile/sync/SyncThread.java
+++ b/bb/rhodes/src/rhomobile/sync/SyncThread.java
@@ -36,7 +36,7 @@ public class SyncThread implements Runnable {
private static int ... | * sync every <I> seconds | rhomobile_rhodes | train | java |
0b5a998c90d43d11e8315cade545ad16ffb545ce | diff --git a/spring-social-facebook-itest/src/test/java/org/springframework/social/facebook/itest/FriendOperationsITests.java b/spring-social-facebook-itest/src/test/java/org/springframework/social/facebook/itest/FriendOperationsITests.java
index <HASH>..<HASH> 100644
--- a/spring-social-facebook-itest/src/test/java/or... | Change Reference to FriendList in integration tests | spring-projects_spring-social-facebook | train | java |
a4124a3aefb2f82949c67c78f5762e3e026c8e76 | diff --git a/modules/custom/openy_campaign/src/RegularUpdater.php b/modules/custom/openy_campaign/src/RegularUpdater.php
index <HASH>..<HASH> 100644
--- a/modules/custom/openy_campaign/src/RegularUpdater.php
+++ b/modules/custom/openy_campaign/src/RegularUpdater.php
@@ -154,6 +154,8 @@ class RegularUpdater {
$... | Fix bug with the visits for the first day of the campaign. | ymcatwincities_openy | train | php |
f5a318af425ec71b6415ce494e28a22d44068114 | diff --git a/modules/custom/openy_repeat/src/Plugin/Block/RepeatSchedulesBlock.php b/modules/custom/openy_repeat/src/Plugin/Block/RepeatSchedulesBlock.php
index <HASH>..<HASH> 100644
--- a/modules/custom/openy_repeat/src/Plugin/Block/RepeatSchedulesBlock.php
+++ b/modules/custom/openy_repeat/src/Plugin/Block/RepeatSche... | Update RepeatSchedulesBlock.php | ymcatwincities_openy | train | php |
6713ca70cff783c6b3b768f6d518f3af3a5c1acb | diff --git a/lib/pandoc-ruby.rb b/lib/pandoc-ruby.rb
index <HASH>..<HASH> 100644
--- a/lib/pandoc-ruby.rb
+++ b/lib/pandoc-ruby.rb
@@ -25,7 +25,7 @@ class PandocRuby
else
@executable = 'pandoc'
end
- @options = args.empty? ? [] : args
+ @options = args
end
def convert | removing redundant options assignment test in initializer | dalehamel_ruby-pandoc | train | rb |
0211474aa936e136f32067b04491776123c66a72 | diff --git a/lib/administrate/order.rb b/lib/administrate/order.rb
index <HASH>..<HASH> 100644
--- a/lib/administrate/order.rb
+++ b/lib/administrate/order.rb
@@ -73,18 +73,17 @@ module Administrate
end
def order_by_attribute(relation)
- return order_by_id(relation) unless field
-
- relation.joins... | Fold the two methods to avoid doing the join for nothing | thoughtbot_administrate | train | rb |
b6acf2c234c0e3b26de5a2d6441b19031a62bd29 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -9,7 +9,7 @@ var PROCESSING_OPTIONS = {
};
function normalize(str) { // fix bug in v8
- return str.split('\000').map(function (s) { return s.normalize('NFC'); }).join('\000');
+ return str.split('\u0000').map(function (s... | Don't use octals (they fail in strict mode) | Sebmaster_tr46.js | train | js |
f9c679e4b2690ebf09b11cfdff0eda076055c39a | diff --git a/core/API.js b/core/API.js
index <HASH>..<HASH> 100644
--- a/core/API.js
+++ b/core/API.js
@@ -112,4 +112,9 @@ var l_add = exports.add = function (name, func, checker) {
return true;
}
+// add first API (allow querying of API name from client-side)
+l_add('SR_API_QUERY', function (args, onDone) {
+ // ... | add: SR_API_QUERY event to core/API.js | imonology_scalra | train | js |
6972e6897cbab0b6df33a7e4b8c5cd9604c47fde | diff --git a/ocrd/ocrd/processor/base.py b/ocrd/ocrd/processor/base.py
index <HASH>..<HASH> 100644
--- a/ocrd/ocrd/processor/base.py
+++ b/ocrd/ocrd/processor/base.py
@@ -105,7 +105,8 @@ def generate_processor_help(ocrd_tool):
parameter_help += wrap_text(' "%s" [%s%s] %s' % (
param_name,
... | Update ocrd/ocrd/processor/base.py | OCR-D_core | train | py |
9af612b8d2e1713f0c645180da4352fd7541d910 | diff --git a/js/Graph.js b/js/Graph.js
index <HASH>..<HASH> 100644
--- a/js/Graph.js
+++ b/js/Graph.js
@@ -582,8 +582,6 @@ Graph.prototype = {
options.y2axis = _.extend(_.clone(options.yaxis), options.y2axis);
this.options = flotr.merge(opts || {}, options);
- this.axes = flotr.Axis.getAxes(this.options)... | fire an event after initializing the graph's options | HumbleSoftware_Flotr2 | train | js |
e8f75c54f047ccc2bb8a94fb6b6857fe3ab660de | diff --git a/bfg9000/tools/msvc.py b/bfg9000/tools/msvc.py
index <HASH>..<HASH> 100644
--- a/bfg9000/tools/msvc.py
+++ b/bfg9000/tools/msvc.py
@@ -248,8 +248,6 @@ class MsvcPchCompiler(MsvcBaseCompiler):
output = MsvcPrecompiledHeader(
pchpath, objpath, name, self.builder.object_format, self.lang
... | Remove unnecessary condition from MSVC builder
You can't use an existing PCH when building a new PCH! | jimporter_bfg9000 | train | py |
5e4c6e832333dc13871ab0093bb3c1af66803158 | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -2,7 +2,7 @@
/*
* People assume that time is a strict progression of cause to effect,
- * but actually from a non-linear, non-subjective viewpoint -
+ * but actually from a non-linear, non-subjective view... | add createNode, clearNode and step exports | zerobias_effector | train | js |
90b5b0a53ce3bb8322e67da7bbed2189bff9d150 | diff --git a/modules/social_features/social_post/modules/social_post_photo/src/SocialPostPhotoConfigOverride.php b/modules/social_features/social_post/modules/social_post_photo/src/SocialPostPhotoConfigOverride.php
index <HASH>..<HASH> 100644
--- a/modules/social_features/social_post/modules/social_post_photo/src/Socia... | DS-<I> by jochemvn: Make sure each different type uses the correct form mode | goalgorilla_open_social | train | php |
5c42d419d9bd40e47ec97c4967b460b7a5994e88 | diff --git a/nipap/nipap/xmlrpc.py b/nipap/nipap/xmlrpc.py
index <HASH>..<HASH> 100644
--- a/nipap/nipap/xmlrpc.py
+++ b/nipap/nipap/xmlrpc.py
@@ -678,7 +678,7 @@ class NipapProtocol(xmlrpc.XMLRPC):
"""
try:
- return self.nipap.find_free_prefix(args.get('auth'), args.get('args'))
+ ... | Update xmlrpc.py to add vrf argument to find_free_prefix
Fixes find_free_prefix XMLRPC, VRF was not being passed through | SpriteLink_NIPAP | train | py |
615648a358707d7b10aa9235218e8807efdce63a | diff --git a/lxd/db/storage_volumes.go b/lxd/db/storage_volumes.go
index <HASH>..<HASH> 100644
--- a/lxd/db/storage_volumes.go
+++ b/lxd/db/storage_volumes.go
@@ -257,6 +257,7 @@ SELECT storage_volumes_snapshots.name, storage_volumes_snapshots.description FRO
row := StorageVolumeArgs{
Name: volumeName + s... | lxd/db/storage/volumes: Set Snapshot: true in StorageVolumeArgs returned from GetLocalStoragePoolVolumeSnapshotsWithType | lxc_lxd | train | go |
dd0000d228ccfe8d1d278db2e79976ef58807619 | diff --git a/gulpfile.js b/gulpfile.js
index <HASH>..<HASH> 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -13,7 +13,8 @@ const gulp = require('gulp'),
const exec = require('child_process').exec,
fs = require('fs');
-const sockFiles = ['*.js', '!./gulpfile.js', 'plugins/**/*.js'],
+const sockFiles = ['*.js', '!.... | fix doc generation to preserve folder hierarchy | SockDrawer_SockBot | train | js |
287deb700c012bef1d9a080b74d21e6feb4abc74 | diff --git a/src/Database/Adapter/Mysql.php b/src/Database/Adapter/Mysql.php
index <HASH>..<HASH> 100644
--- a/src/Database/Adapter/Mysql.php
+++ b/src/Database/Adapter/Mysql.php
@@ -23,7 +23,12 @@ class Mysql extends Database
if ( !isset( $this->db_connection ) )
{
$dsn = "mysql:dbname="... | Make mysql adapter throw exception if connection cannot be established | sios13_simox | train | php |
eacf75a4ebeef67a0a3f7d847ea2e2de42644a08 | diff --git a/vendor/plugins/refinery/lib/refinery/initializer.rb b/vendor/plugins/refinery/lib/refinery/initializer.rb
index <HASH>..<HASH> 100644
--- a/vendor/plugins/refinery/lib/refinery/initializer.rb
+++ b/vendor/plugins/refinery/lib/refinery/initializer.rb
@@ -46,7 +46,7 @@ module Refinery
# Set up configu... | Fix issue where plugins with name alphabetically before acts_as_indexed was not able to use acts_as_indexed as it was loaded after. | refinery_refinerycms | train | rb |
3751b6440497ca727ba0cc997e9d2e56aa29eb5d | diff --git a/tests/cli/_demo_basic_usage.py b/tests/cli/_demo_basic_usage.py
index <HASH>..<HASH> 100644
--- a/tests/cli/_demo_basic_usage.py
+++ b/tests/cli/_demo_basic_usage.py
@@ -139,7 +139,7 @@ def _unittest_slow_cli_demo_basic_usage(
# Time to let the background processes finish initialization.
... | Relax the timing requirements to make the test pass on Windows | UAVCAN_pyuavcan | train | py |
c0a386f604bf35337cc07ee3af78d06e13cec647 | diff --git a/munigeo/importer/finland.py b/munigeo/importer/finland.py
index <HASH>..<HASH> 100644
--- a/munigeo/importer/finland.py
+++ b/munigeo/importer/finland.py
@@ -113,7 +113,12 @@ class FinlandImporter(Importer):
xml_dir = p
base_path = os.path.join(base_path, xml_dir)
pat... | Work around the .gfs problem | City-of-Helsinki_django-munigeo | train | py |
bd61b87993a84195d1a60c8c6b012e26e3392f2d | diff --git a/devices.js b/devices.js
index <HASH>..<HASH> 100644
--- a/devices.js
+++ b/devices.js
@@ -2139,6 +2139,13 @@ const devices = [
description: 'Tint LED bulb GU10/E14/E27 350/470/806 lumen, dimmable, color, opal white',
extend: generic.light_onoff_brightness_colortemp_colorxy,
},
+ {... | Added Müller Licht white bulbs (#<I>)
* New devices: Heiman Water Sensor, Heiman Door Sensor
* Update devices.js
* Update fromZigbee.js
* Update fromZigbee.js
* Improved support for HEIMAN devices
* Fixed ; and style
* Style fix
* Updates
* Fixed wrong bitshift
* Added Müller Licht white bul... | Koenkk_zigbee-shepherd-converters | train | js |
61cb933d3070fc1377fd3c60e8e6bd80c4354b5b | diff --git a/sdk/src/main/java/com/wonderpush/sdk/inappmessaging/display/internal/InAppWebViewController.java b/sdk/src/main/java/com/wonderpush/sdk/inappmessaging/display/internal/InAppWebViewController.java
index <HASH>..<HASH> 100644
--- a/sdk/src/main/java/com/wonderpush/sdk/inappmessaging/display/internal/InAppWeb... | Changing inapp-sdk url | wonderpush_wonderpush-android-sdk | train | java |
29a0398fbe9072e8b6cd49f6f0069abf7beeb274 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -10,10 +10,19 @@ setup(
version='0.0.2',
description='Provides PythonKC Meetup.com events.',
license='MIT',
- url='https://github.com/estebistec/pythonkc-meetups',
+ url='https://github.com/pythonkc/python... | Updated project website, added pypi classifiers | pythonkc_pythonkc-meetups | train | py |
384e37e7d5e79bebdd5b775f22365ba7a9b52afb | diff --git a/topology/graph/graph.go b/topology/graph/graph.go
index <HASH>..<HASH> 100644
--- a/topology/graph/graph.go
+++ b/topology/graph/graph.go
@@ -1103,7 +1103,7 @@ func (g *Graph) Unlink(n1 *Node, n2 *Node) {
// GetFirstLink get Link between the parent and the child node or nil
func (g *Graph) GetFirstLink... | graph: fixed major bug in GetFirstLink() | skydive-project_skydive | train | go |
6781f874c372d08e6083f7fa210087c8780486c5 | diff --git a/js/igv-utils.js b/js/igv-utils.js
index <HASH>..<HASH> 100755
--- a/js/igv-utils.js
+++ b/js/igv-utils.js
@@ -156,6 +156,8 @@ var igv = (function (igv) {
color: trackColor,
+ showCancelButton: false,
+
init: function (event, color... | Feature Color Picker tweeks. | igvteam_igv.js | train | js |
9b6c13364126562ac6f8064634b793418866fa96 | diff --git a/source/CAS/PGTStorage/pgt-file.php b/source/CAS/PGTStorage/pgt-file.php
index <HASH>..<HASH> 100644
--- a/source/CAS/PGTStorage/pgt-file.php
+++ b/source/CAS/PGTStorage/pgt-file.php
@@ -131,7 +131,7 @@ class CAS_PGTStorageFile extends CAS_PGTStorage
*
* @public
*/
- function PGTStorageFile($cas... | CAS_PGTStorageFile constructor now gets called.
Revision <I> added the 'CAS_' prefix to the class-name, but didn't update
the constructor to work with the new class-name:
<URL> | apereo_phpCAS | train | php |
b08d438bb416a73e690af9aecc31765253c47eb6 | diff --git a/presto-main/src/main/java/com/facebook/presto/sql/planner/RelationPlan.java b/presto-main/src/main/java/com/facebook/presto/sql/planner/RelationPlan.java
index <HASH>..<HASH> 100644
--- a/presto-main/src/main/java/com/facebook/presto/sql/planner/RelationPlan.java
+++ b/presto-main/src/main/java/com/faceboo... | Remove redundant null check
`fieldMappings` is a `ImmutableList`, it cannot contain nulls. | prestodb_presto | train | java |
978d416759216c02aabe34c7164a16632f0b2c13 | diff --git a/cmsplugin_cascade/plugin_base.py b/cmsplugin_cascade/plugin_base.py
index <HASH>..<HASH> 100644
--- a/cmsplugin_cascade/plugin_base.py
+++ b/cmsplugin_cascade/plugin_base.py
@@ -258,7 +258,7 @@ class CascadePluginBase(six.with_metaclass(CascadePluginBaseMetaclass, CMSPlugin
child_class... | Cascade plugins with parent_classes=None can be added anywhere | jrief_djangocms-cascade | train | py |
b17d5be9e53aaf72928f84d896cfff341a302d4d | diff --git a/resources/check-cover.js b/resources/check-cover.js
index <HASH>..<HASH> 100644
--- a/resources/check-cover.js
+++ b/resources/check-cover.js
@@ -10,8 +10,15 @@
'use strict';
const path = require('path');
-const { exec, execAsync, writeFile, readdirRecursive } = require('./utils');
+const {
+ exec,
+ ... | Remove "coverage/flow" before every "check:cover" run. (#<I>) | graphql_graphql-js | train | js |
7d31a1ff067ae028c0dcff6d11869947eb95dcd7 | diff --git a/src/phantom.js b/src/phantom.js
index <HASH>..<HASH> 100644
--- a/src/phantom.js
+++ b/src/phantom.js
@@ -27,8 +27,8 @@ function init(instance) {
// Convert to bluebird promise
return new promise(function (resolve) {
resolve(phridge.spawn({
- ignoreSslErrors: 'yes',
- ... | Fix incorrect phridge arguments (#<I>)
Change the arguments passed to phridge.spawn to resemble the actual cli
arguments. If they do not start with a '-', phridge strips them out
before spawning PhantomJS. | uncss_uncss | train | js |
144567803530c199fda56fe4995f42220ea5b9f6 | diff --git a/core/server/services/channels/loader.js b/core/server/services/channels/loader.js
index <HASH>..<HASH> 100644
--- a/core/server/services/channels/loader.js
+++ b/core/server/services/channels/loader.js
@@ -1,5 +1,6 @@
var debug = require('ghost-ignition').debug('channels:loader'),
_ = require('lodash... | Fixed channel path to work with Ghost-CLI
- Just, DERP 🙈 | TryGhost_Ghost | train | js |
61274baed742135fb929b4c7ea0673b5283dcaa6 | diff --git a/views/js/controller/history/index.js b/views/js/controller/history/index.js
index <HASH>..<HASH> 100644
--- a/views/js/controller/history/index.js
+++ b/views/js/controller/history/index.js
@@ -22,7 +22,7 @@ define([
revision = $this.data('revision');
var id = $('#resource_id'... | feat: update code to include more tokens to translate | oat-sa_extension-tao-revision | train | js |
629ca0df2eb0784fc90b812bb17c32d586ab3ade | diff --git a/Client.php b/Client.php
index <HASH>..<HASH> 100644
--- a/Client.php
+++ b/Client.php
@@ -28,7 +28,7 @@ class Client extends ElasticaClient
'host' => $connection->getHost(),
'port' => $connection->getPort(),
'transport' => $connection->getTranspo... | make sure headers is set prior to accessing | FriendsOfSymfony_FOSElasticaBundle | train | php |
d41a2bb3c9f408449e8077f14b79d18796120c2c | diff --git a/src/api/layer.js b/src/api/layer.js
index <HASH>..<HASH> 100644
--- a/src/api/layer.js
+++ b/src/api/layer.js
@@ -39,6 +39,13 @@ export default class Layer {
this._checkSource(source);
this._checkStyle(style);
+ this._init(id, source, style);
+ }
+
+ _init(id, source, style... | Split constructor with an init method | CartoDB_carto-vl | train | js |
584b9d5f9882902652309ae7dc0a82381a9fc80b | diff --git a/telegrambots/src/main/java/org/telegram/telegrambots/bots/DefaultAbsSender.java b/telegrambots/src/main/java/org/telegram/telegrambots/bots/DefaultAbsSender.java
index <HASH>..<HASH> 100644
--- a/telegrambots/src/main/java/org/telegram/telegrambots/bots/DefaultAbsSender.java
+++ b/telegrambots/src/main/jav... | Fix wrong path for SendAnimation command | rubenlagus_TelegramBots | train | java |
dfd96ffdbc90e0766d89fe0679ed6ec88f301186 | diff --git a/bitset.go b/bitset.go
index <HASH>..<HASH> 100644
--- a/bitset.go
+++ b/bitset.go
@@ -23,10 +23,6 @@
*/
package bitset
-// for MaxUint64
-import (
- "math"
-)
// BitSets are arrays of uint64.
type BitSet []uint64
@@ -49,8 +45,8 @@ func (set BitSet) SetBit(i uint) {
}
// Clear bit i to 0
-func ... | improved ClearBit thanks to zhai | willf_bitset | train | go |
d44328d3eab6df17bc20d46e44dd2d4d9b9d24ec | diff --git a/discord/client.py b/discord/client.py
index <HASH>..<HASH> 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -1359,11 +1359,7 @@ class Client:
Bot accounts in more than 10 guilds are not allowed to create guilds.
.. versionchanged:: 2.0
- ``name`` and ``icon`` paramet... | Remove region from Guild.__slots__
This also fixes up some docstrings | Rapptz_discord.py | train | py,py |
0ac1321a924f68fee5fa798b21f878d7d3156858 | diff --git a/fusesoc/simulator/icarus.py b/fusesoc/simulator/icarus.py
index <HASH>..<HASH> 100644
--- a/fusesoc/simulator/icarus.py
+++ b/fusesoc/simulator/icarus.py
@@ -78,6 +78,7 @@ class SimulatorIcarus(Simulator):
args += ['-l', 'icarus.log'] # Log file
args += ['-m'+s['name... | Add -lxt2 argument to vvp to reduce size of waveform files
The format or the list of "non-plus" arguments should be made configurable. | olofk_fusesoc | train | py |
cb0777905e2a62d9f789424bd265d4beb78f17d8 | diff --git a/arangodb/api.py b/arangodb/api.py
index <HASH>..<HASH> 100644
--- a/arangodb/api.py
+++ b/arangodb/api.py
@@ -217,12 +217,14 @@ class Collection(object):
"""
"""
- api = Client.instance().api
+ client = Client.instance()
+ api = client.api
data = api.coll... | The database is set for the loaded collection | saeschdivara_ArangoPy | train | py,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.