hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
d6c4d0260cd062b2d5d57833bde567d3d604fceb | diff --git a/tests/TestCase/I18n/DateTest.php b/tests/TestCase/I18n/DateTest.php
index <HASH>..<HASH> 100644
--- a/tests/TestCase/I18n/DateTest.php
+++ b/tests/TestCase/I18n/DateTest.php
@@ -64,10 +64,6 @@ class DateTest extends TestCase
$expected = '1/14/10';
$this->assertEquals($expected, $result);
... | See if german dates don't vary with intl versions. | cakephp_cakephp | train |
fb957845ac757cde42e95145deb80b72618d3a39 | diff --git a/gwpy/io/datafind.py b/gwpy/io/datafind.py
index <HASH>..<HASH> 100755
--- a/gwpy/io/datafind.py
+++ b/gwpy/io/datafind.py
@@ -266,30 +266,30 @@ def reconnect(connection):
def _type_priority(ifo, ftype, trend=None):
- # HOFT types typically have small channel lists (so quick search)
- if HIGH_PRI... | gwpy.io: rework of datafind type priority matcher | gwpy_gwpy | train |
6ea9a880dc434446c072ac23b1cab89ec3652140 | diff --git a/daemon/changes.go b/daemon/changes.go
index <HASH>..<HASH> 100644
--- a/daemon/changes.go
+++ b/daemon/changes.go
@@ -9,5 +9,7 @@ func (daemon *Daemon) ContainerChanges(name string) ([]archive.Change, error) {
return nil, err
}
- return container.changes()
+ container.Lock()
+ defer container.Unlock... | Remove unnecessary `Container.changes` function. | containers_storage | train |
b752f54661aa11ea235ed6c092a2b41188685e68 | diff --git a/src/beat.js b/src/beat.js
index <HASH>..<HASH> 100644
--- a/src/beat.js
+++ b/src/beat.js
@@ -1,7 +1,7 @@
(function() {
- var Beat = function ( dance, freq, threshold, decay, onBeat, offBeat ) {
+ var Beat = function ( dance, frequency, threshold, decay, onBeat, offBeat ) {
this.dance = dance;
... | Change Beat's instance property 'freq' to 'frequency' for more natural get/setting | jsantell_dancer.js | train |
10100b7a3ba451f688bd4c64a81393d95f44b3ff | diff --git a/src/vis/vis.js b/src/vis/vis.js
index <HASH>..<HASH> 100644
--- a/src/vis/vis.js
+++ b/src/vis/vis.js
@@ -237,9 +237,7 @@ var VisModel = Backbone.Model.extend({
// Global variable for easier console debugging / testing
window.vis = this;
- _.defer(function () {
- this.trigger('load', th... | Remove defer to make it works sync | CartoDB_carto.js | train |
52e968455770b5108fc22710aa1845eddbd1f2f4 | diff --git a/engine/system/sql/core/src/main/java/it/unibz/inf/ontop/answering/resultset/impl/DelegatedIriSQLBindingSet.java b/engine/system/sql/core/src/main/java/it/unibz/inf/ontop/answering/resultset/impl/DelegatedIriSQLBindingSet.java
index <HASH>..<HASH> 100644
--- a/engine/system/sql/core/src/main/java/it/unibz/i... | Unnecessary argument of Ontop binding set | ontop_ontop | train |
1c8d021a358fc6ee17da422ccd99fe570ce7912f | diff --git a/modules/backend/classes/NavigationManager.php b/modules/backend/classes/NavigationManager.php
index <HASH>..<HASH> 100644
--- a/modules/backend/classes/NavigationManager.php
+++ b/modules/backend/classes/NavigationManager.php
@@ -247,6 +247,15 @@ class NavigationManager
}
/**
+ * Removes a ... | Adds the ability to remove navigation items
Included tests
Refs #<I> | octobercms_october | train |
31229360472c3e9b2f125676532c1899ab30a6f5 | diff --git a/src/Google/Service/YouTube.php b/src/Google/Service/YouTube.php
index <HASH>..<HASH> 100644
--- a/src/Google/Service/YouTube.php
+++ b/src/Google/Service/YouTube.php
@@ -33,6 +33,9 @@ class Google_Service_YouTube extends Google_Service
/** Manage your YouTube account. */
const YOUTUBE =
"https... | Updated YouTube.php
This change has been generated by a script that has detected changes in the
discovery doc of the API.
Check <URL> | googleapis_google-api-php-client | train |
c92a5672d02be0a322efe5e4bcb313649fa81439 | diff --git a/src/software/amazon/ion/impl/LocalSymbolTable.java b/src/software/amazon/ion/impl/LocalSymbolTable.java
index <HASH>..<HASH> 100644
--- a/src/software/amazon/ion/impl/LocalSymbolTable.java
+++ b/src/software/amazon/ion/impl/LocalSymbolTable.java
@@ -327,7 +327,7 @@ final class LocalSymbolTable
... | Rejects duplicate symbol/import fields in the symbol table declaration (#<I>) | amzn_ion-java | train |
5303e40bed009ffd3ca6ef27697259197e12fe72 | diff --git a/src/streamlink/plugins/bigo.py b/src/streamlink/plugins/bigo.py
index <HASH>..<HASH> 100644
--- a/src/streamlink/plugins/bigo.py
+++ b/src/streamlink/plugins/bigo.py
@@ -4,8 +4,8 @@ import struct
from streamlink import PluginError
from streamlink.plugin import Plugin
-from streamlink.plugin.api import ... | bigo: add support for hls streams
This is a fix for issue #<I> since FLV streaming is broken | streamlink_streamlink | train |
1b7e6fbde9e612584a3f4d11f56f3f384cce17d1 | diff --git a/vault/mount.go b/vault/mount.go
index <HASH>..<HASH> 100644
--- a/vault/mount.go
+++ b/vault/mount.go
@@ -58,19 +58,25 @@ func (t *MountTable) Clone() *MountTable {
// MountEntry is used to represent a mount table entry
type MountEntry struct {
- Path string `json:"path"` // Mount Path
- ... | vault: Adding options to mount table | hashicorp_vault | train |
0b9fb9f8939e3aeec2fda88875d4abbce4aecf3c | diff --git a/test/helpers/docker.go b/test/helpers/docker.go
index <HASH>..<HASH> 100644
--- a/test/helpers/docker.go
+++ b/test/helpers/docker.go
@@ -150,8 +150,10 @@ func (s *SSHMeta) GatherDockerLogs() {
}
commands := map[string]string{}
for _, k := range res.ByLines() {
- key := fmt.Sprintf("docker logs %s",... | test/helpers: make sure that key is non-empty for running `docker logs` | cilium_cilium | train |
1398a56afa78d41ddb67424b1defad026ffb2f55 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -17,6 +17,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+from collections import defaultdict
from distutils.cmd import Com... | Reduce number of pkg-config calls in setup.py | jim-easterbrook_python-gphoto2 | train |
0823f34866de5585d580a650b4e68b8ccd089dbe | diff --git a/test/unit/query/integrator.js b/test/unit/query/integrator.js
index <HASH>..<HASH> 100644
--- a/test/unit/query/integrator.js
+++ b/test/unit/query/integrator.js
@@ -43,8 +43,8 @@ describe('integrator', function () {
describe(':: N..M :: ',function () {
var fixtures = {
- joins: require('../../... | Use cloneDeep in tests to ensure protection against interference. | balderdashy_waterline | train |
b9efc06a61853c91ee101289718171de05357ac7 | diff --git a/paymentwall/pingback.py b/paymentwall/pingback.py
index <HASH>..<HASH> 100644
--- a/paymentwall/pingback.py
+++ b/paymentwall/pingback.py
@@ -88,7 +88,12 @@ class Pingback(Paymentwall):
def get_type(self):
if 'type' in self.parameters:
- if self.parameters['type'] in [self.PINGBACK_TYPE_REGULAR, s... | Fix a typing bug in Pingback.get_type()
Parameters are expected to be strings, but in doesn't do implicit type
casts, so we need to do it explicitly. | paymentwall_paymentwall-python | train |
7ac7d041a2c970481ff4eed604f15637031c0f3b | diff --git a/lib/dm-core/spec/shared/adapter_spec.rb b/lib/dm-core/spec/shared/adapter_spec.rb
index <HASH>..<HASH> 100644
--- a/lib/dm-core/spec/shared/adapter_spec.rb
+++ b/lib/dm-core/spec/shared/adapter_spec.rb
@@ -22,30 +22,30 @@ share_examples_for 'An Adapter' do
end
end
+
before :all do
- raise '... | Using let blocks to configure shared adapter spec | datamapper_dm-core | train |
b3bdc5f35d71d592ab8104ea630a971ba7d2bff1 | diff --git a/src/org/jblas/DoubleMatrix.java b/src/org/jblas/DoubleMatrix.java
index <HASH>..<HASH> 100644
--- a/src/org/jblas/DoubleMatrix.java
+++ b/src/org/jblas/DoubleMatrix.java
@@ -91,8 +91,8 @@ import java.util.List;
* <tr><th>Method<th>Description
* <tr><td>DoubleMatrix(m)<td>Constructs a column vector.
*... | Fixed a typo in the javadoc reported by @argoneus | jblas-project_jblas | train |
046e9077ed933bebebb4b9777aaa61d612582889 | diff --git a/tests/core/opcodes/test_opcodes.py b/tests/core/opcodes/test_opcodes.py
index <HASH>..<HASH> 100644
--- a/tests/core/opcodes/test_opcodes.py
+++ b/tests/core/opcodes/test_opcodes.py
@@ -1191,6 +1191,7 @@ def test_balance(vm_class, code, expect_exception, expect_gas_used):
),
3 + 7... | Update Berlin test with new sload cost | ethereum_py-evm | train |
846a550db0ba709a92b09434f38e241b122aa942 | diff --git a/src/Viserio/Provider/Twig/Provider/ConsoleCommandsServiceProvider.php b/src/Viserio/Provider/Twig/Provider/ConsoleCommandsServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/Viserio/Provider/Twig/Provider/ConsoleCommandsServiceProvider.php
+++ b/src/Viserio/Provider/Twig/Provider/ConsoleCommandsServi... | fix twig provider service and command provider | narrowspark_framework | train |
49075113b7468684a4fb9f90dbd3c9922824cfff | diff --git a/chef-expander/lib/chef/expander/vnode_supervisor.rb b/chef-expander/lib/chef/expander/vnode_supervisor.rb
index <HASH>..<HASH> 100644
--- a/chef-expander/lib/chef/expander/vnode_supervisor.rb
+++ b/chef-expander/lib/chef/expander/vnode_supervisor.rb
@@ -65,7 +65,7 @@ module Chef
@awaiting_parent_d... | CHEF-<I>: call #stop_immediately: if we get here our parent has died and all bets are off. | chef_chef | train |
aebe621795d3e41de968998a740644322c2fce72 | diff --git a/app/helpers/effective_regions_helper.rb b/app/helpers/effective_regions_helper.rb
index <HASH>..<HASH> 100644
--- a/app/helpers/effective_regions_helper.rb
+++ b/app/helpers/effective_regions_helper.rb
@@ -28,7 +28,10 @@ module EffectiveRegionsHelper
end
def effectively_editting?
- @effectively_... | Include authorization in effectively_editting? check | code-and-effect_effective_regions | train |
ba909dbc3005e602c8c01e9f06d1955bc2f47352 | diff --git a/gsmmodem/modem.py b/gsmmodem/modem.py
index <HASH>..<HASH> 100644
--- a/gsmmodem/modem.py
+++ b/gsmmodem/modem.py
@@ -407,7 +407,7 @@ class GsmModem(SerialComms):
:rtype: list
"""
self.log.debug('write: %s', data)
- responseLines = SerialComms.write(self, data + writeTerm,... | Little fix to refers to SerialComms.write with super() | faucamp_python-gsmmodem | train |
897093d2aadfabf572fc62b1c1450cac1ac156bd | diff --git a/ezp/Persistence/Storage/Legacy/EzcDbHandler.php b/ezp/Persistence/Storage/Legacy/EzcDbHandler.php
index <HASH>..<HASH> 100644
--- a/ezp/Persistence/Storage/Legacy/EzcDbHandler.php
+++ b/ezp/Persistence/Storage/Legacy/EzcDbHandler.php
@@ -108,7 +108,7 @@ class EzcDbHandler
*/
public function getA... | Make this still work with SQLite and MySQL | ezsystems_ezpublish-kernel | train |
c6d4f41744e87c92d2e6e418091d5f9cc8701072 | diff --git a/src/SwaggerCombine.js b/src/SwaggerCombine.js
index <HASH>..<HASH> 100644
--- a/src/SwaggerCombine.js
+++ b/src/SwaggerCombine.js
@@ -70,6 +70,7 @@ class SwaggerCombine {
})
.then(apis => {
this.schemas = apis.filter(api => !!api);
+ this.apis = this.apis.filter((_api, idx) =>... | fix: filters down api definitions if schemas are filtered
This fixes an issue where api definitions are mapped to the
wrong schema, because the index of the api definition is used to map
it to the index of the schema.
For example when the first defined api is down, the schema for the second
service would still be mappe... | maxdome_swagger-combine | train |
bf4f119c0294477c0bcb7225b207f430f485136c | diff --git a/docs/victory-area/docs.js b/docs/victory-area/docs.js
index <HASH>..<HASH> 100644
--- a/docs/victory-area/docs.js
+++ b/docs/victory-area/docs.js
@@ -17,6 +17,8 @@ class Docs extends React.Component {
scope={{merge, React, ReactDOM, VictoryArea, VictoryStack, VictoryGroup, VictoryScatter}}
... | pass ecology props to enable copy/gist | FormidableLabs_victory | train |
1892b6ce9c14cdca54b62288c0b0b2571e1c6fef | diff --git a/CHANGES b/CHANGES
index <HASH>..<HASH> 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,12 @@
+Asterisk-Java 1.0.0
+ Warning:
+ Values for event properties of type String that match one of the null
+ literals used by Asterisk are automatically set to null in A-J 1.0.0.
+ The null literals are:
+ ... | [AJ-<I>] Added comment for CHANGELOG and test case | asterisk-java_asterisk-java | train |
6a15e08ed5db02861b4b545149119af55bfc9f56 | diff --git a/salt/modules/boto_apigateway.py b/salt/modules/boto_apigateway.py
index <HASH>..<HASH> 100644
--- a/salt/modules/boto_apigateway.py
+++ b/salt/modules/boto_apigateway.py
@@ -547,7 +547,7 @@ def update_api_key_description(apiKey, description, region=None, key=None, keyid
try:
conn = _get_conn(... | minor formatting of responses for ApiKey resource. | saltstack_salt | train |
3f136782ee6443f065afdc017b5a6e77b1bce64a | diff --git a/blockstack_client/backend/drivers/__init__.py b/blockstack_client/backend/drivers/__init__.py
index <HASH>..<HASH> 100644
--- a/blockstack_client/backend/drivers/__init__.py
+++ b/blockstack_client/backend/drivers/__init__.py
@@ -28,4 +28,4 @@ import blockstack_resolver
import blockstack_server
import ht... | expose ConcurrencyViolationException | blockstack_blockstack-core | train |
de360d55cc81eb37d90008cddfbd940bd28e5628 | diff --git a/src/org/opencms/loader/CmsImageScaler.java b/src/org/opencms/loader/CmsImageScaler.java
index <HASH>..<HASH> 100644
--- a/src/org/opencms/loader/CmsImageScaler.java
+++ b/src/org/opencms/loader/CmsImageScaler.java
@@ -29,6 +29,7 @@ package org.opencms.loader;
import com.alkacon.simapi.RenderSettings;
i... | Improved image size detection performance in image scaler. | alkacon_opencms-core | train |
825202294729cd86c364bb369441a037fad42dd4 | diff --git a/provision/docker/scheduler.go b/provision/docker/scheduler.go
index <HASH>..<HASH> 100644
--- a/provision/docker/scheduler.go
+++ b/provision/docker/scheduler.go
@@ -108,6 +108,20 @@ func (segregatedScheduler) Nodes() ([]cluster.Node, error) {
return result, nil
}
+func (segregatedScheduler) GetNode(i... | provision/docker: add method GetNode to segregatedScheduler
Related to #<I>. | tsuru_tsuru | train |
d0d9f4064896c3ca77ee58fac2ebb3ba53428e0c | diff --git a/lib/discourse/preview/example.rb b/lib/discourse/preview/example.rb
index <HASH>..<HASH> 100644
--- a/lib/discourse/preview/example.rb
+++ b/lib/discourse/preview/example.rb
@@ -2,7 +2,7 @@ module Discourse
module Oneboxer
class Preview
class Example
- TEMPLATE = "blah {{header}} blah... | make test pass add triple mustaches to prevent escaping | discourse_onebox | train |
2feb20d30a08e77efb411adfc0edc81892e50bcd | diff --git a/rootpy/logger/magic.py b/rootpy/logger/magic.py
index <HASH>..<HASH> 100644
--- a/rootpy/logger/magic.py
+++ b/rootpy/logger/magic.py
@@ -45,6 +45,11 @@ _keep_alive = []
ON_RTD = os.environ.get('READTHEDOCS', None) == 'True'
+def libcore():
+ if sys.platform == "darwin":
+ return "libCore.dy... | Use cdll.LoadLibrary to locate shared libraries | rootpy_rootpy | train |
aa2e3cb3f28e84de2f3f70a4ec99f838cc10956d | diff --git a/full/src/test/java/apoc/uuid/UUIDMultiDbTest.java b/full/src/test/java/apoc/uuid/UUIDMultiDbTest.java
index <HASH>..<HASH> 100644
--- a/full/src/test/java/apoc/uuid/UUIDMultiDbTest.java
+++ b/full/src/test/java/apoc/uuid/UUIDMultiDbTest.java
@@ -104,8 +104,7 @@ public class UUIDMultiDbTest {
}... | aaarh, my boolean logic was very bad | neo4j-contrib_neo4j-apoc-procedures | train |
18e270dfa1e831f63988ad1ca0175aabb640c881 | diff --git a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/jvmmodel/SARLJvmModelInferrer.java b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/jvmmodel/SARLJvmModelInferrer.java
index <HASH>..<HASH> 100644
--- a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/jvmmodel/SARLJvmModelInferrer.java
+++ b/main/coreplugins/io... | [lang] Do not attach @SyntheticMember to the behavior unit functions. | sarl_sarl | train |
68ce1dd4d5a2498bae42b1ecca8453777d08f53d | diff --git a/src/Consumer/Api/Subscription/Entity.php b/src/Consumer/Api/Subscription/Entity.php
index <HASH>..<HASH> 100644
--- a/src/Consumer/Api/Subscription/Entity.php
+++ b/src/Consumer/Api/Subscription/Entity.php
@@ -52,7 +52,7 @@ class Entity extends ConsumerApiAbstract
$resource->addMethod(Resource\F... | subscription add response to schema and fix entity schema | apioo_fusio-impl | train |
9bba9f5b1cd8d392754f6e0414cba5c58c7c3e80 | diff --git a/src/infi/projector/first_run/with_environment_python.py b/src/infi/projector/first_run/with_environment_python.py
index <HASH>..<HASH> 100644
--- a/src/infi/projector/first_run/with_environment_python.py
+++ b/src/infi/projector/first_run/with_environment_python.py
@@ -12,7 +12,7 @@ def append_src_to_pytho... | TRIVIAL Fixing first_run/*_environment_python.py to work with Python <I> | Infinidat_infi.projector | train |
ad9aba2748c2fd63996fe90bb891fa86ad5d9f05 | diff --git a/src/link/worker.js b/src/link/worker.js
index <HASH>..<HASH> 100644
--- a/src/link/worker.js
+++ b/src/link/worker.js
@@ -13,10 +13,10 @@ fdom.link = fdom.link || {};
* @constructor
*/
fdom.link.Worker = function(id) {
+ fdom.Link.call(this);
if (id) {
- this.manifest = id.substr(id.lastIndexOf... | worker names set as manifest short names.
close #<I> | freedomjs_freedom | train |
bbc6da318902ea06f7ebe3ab19ad900335e1524f | diff --git a/packages/core/src/middleware.js b/packages/core/src/middleware.js
index <HASH>..<HASH> 100644
--- a/packages/core/src/middleware.js
+++ b/packages/core/src/middleware.js
@@ -55,7 +55,11 @@ export function createAPIMiddleware(adapter) {
}
}
- next(action);
+ if (request) {
+ ... | fix: dispatch the resolved start acion | tungv_redux-api-call | train |
4683211d6bb5acc36c393ff1350069486d60764f | diff --git a/edx_rest_framework_extensions/__init__.py b/edx_rest_framework_extensions/__init__.py
index <HASH>..<HASH> 100644
--- a/edx_rest_framework_extensions/__init__.py
+++ b/edx_rest_framework_extensions/__init__.py
@@ -1,3 +1,3 @@
""" edx Django REST Framework extensions. """
-__version__ = '1.5.4' # pragma... | Fix EnsureJWTAuthSettingsMiddleware to support ViewSets | edx_edx-drf-extensions | train |
760a4ec0d35f80bb7aa7089753643ba4c298d62b | diff --git a/src/core/lombok/javac/JavacAST.java b/src/core/lombok/javac/JavacAST.java
index <HASH>..<HASH> 100644
--- a/src/core/lombok/javac/JavacAST.java
+++ b/src/core/lombok/javac/JavacAST.java
@@ -125,6 +125,8 @@ public class JavacAST extends AST<JavacAST, JavacNode, JCTree> {
String nm = Source.instance(cont... | Parsing for source level broken under JDK9 due to change in 1.X->X versioning by oracle. | rzwitserloot_lombok | train |
3d86d31b9f1b1e1632f66cc6cd2c3a94051a1d0b | diff --git a/exec.go b/exec.go
index <HASH>..<HASH> 100644
--- a/exec.go
+++ b/exec.go
@@ -162,7 +162,10 @@ func execProcess(context *cli.Context) (int, error) {
if err != nil {
return -1, err
}
- bundle := utils.SearchLabels(state.Config.Labels, "bundle")
+ bundle, ok := utils.SearchLabels(state.Config.Labels, ... | libct/utils: SearchLabels: optimize
Using strings.Split generates temporary strings for GC to collect.
Rewrite the function to not do that.
Also, add a second return value, so that the caller can distinguish
between an empty value found and no key found cases.
Fix the test accordingly. | opencontainers_runc | train |
2d71d509f6118e7bf8c9986bd856032c51828a31 | diff --git a/lib/gclitest/helpers.js b/lib/gclitest/helpers.js
index <HASH>..<HASH> 100644
--- a/lib/gclitest/helpers.js
+++ b/lib/gclitest/helpers.js
@@ -235,44 +235,44 @@ exports.check = function(checks) {
}
if (assignment == null) {
- test.ok(false, 'Unknown parameter: ' + paramName);
+ ... | complete-<I>: Tests for above changes | joewalker_gcli | train |
5c67f5476a91b302c900614723f8cb84a4d97d95 | diff --git a/tests/xapian_tests/tests/xapian_query.py b/tests/xapian_tests/tests/xapian_query.py
index <HASH>..<HASH> 100644
--- a/tests/xapian_tests/tests/xapian_query.py
+++ b/tests/xapian_tests/tests/xapian_query.py
@@ -61,10 +61,10 @@ class XapianSearchQueryTestCase(TestCase):
self.sq.add_filter(SQ(content... | Four tests passing now. Recursively parsing the search nodes and negated on NOT as required. | notanumber_xapian-haystack | train |
d05060f1bbd8a213b977838d5a67327206b9c3e4 | diff --git a/onecodex/api_v0.py b/onecodex/api_v0.py
index <HASH>..<HASH> 100644
--- a/onecodex/api_v0.py
+++ b/onecodex/api_v0.py
@@ -5,7 +5,7 @@ import json
import os
import requests
import sys
-import threading
+from threading import BoundedSemaphore, Thread
import urlparse
@@ -17,6 +17,7 @@ else:
BASE_UR... | Add thread pool (BoundedSemaphore) for uploads | onecodex_onecodex | train |
6b619d8adfdf461167c6a006b23562077bbeefc3 | diff --git a/demo/index.php b/demo/index.php
index <HASH>..<HASH> 100755
--- a/demo/index.php
+++ b/demo/index.php
@@ -687,22 +687,22 @@ echo '=> '.var_export($command->run($pwd),1);
<?php
echo '$str="what ever";'."\n";
echo '$salt = "g(UmYZ[?25=%Fns8kK}&UrzRGPp?A-^gV}BP@!?c;f,Vl}X(Ob,pZ~=ABSXv_9yZ";'."\n";
-echo '$... | update demo with last classes renaming | atelierspierrot_library | train |
89d22e64da675a1a45c6382993fa769c333161a9 | diff --git a/src/jquery.contextMenu.js b/src/jquery.contextMenu.js
index <HASH>..<HASH> 100755
--- a/src/jquery.contextMenu.js
+++ b/src/jquery.contextMenu.js
@@ -1004,7 +1004,7 @@ var // currently active contextMenu trigger
},
layer: function(opt, zIndex) {
// add transparent layer for... | Fix for Ie8
If there is an input box of combo box on the screen and it receives
focus before clicking on the invisible dismissal layer
(#context-menu-layer) the context menu won't disappear. I've added a IE
specific opacity filter and background color of white to
#context-menu-layer so the layer receives a click and p... | swisnl_jQuery-contextMenu | train |
7c991d7b74274455a54bde9467ce1b20d85805cf | diff --git a/lib/xml-request.js b/lib/xml-request.js
index <HASH>..<HASH> 100644
--- a/lib/xml-request.js
+++ b/lib/xml-request.js
@@ -100,7 +100,11 @@ exports.xmlRequest = function(options, callback) {
request.post(reqOptions, function(error, response) {
- debug('response', {statusCode: response.statusCode, ... | oops - wasn't catching response errors in callback, fixed. | benbuckman_nodejs-ebay-api | train |
095542f1fe6327ce3caefe86a0217b99901695cb | diff --git a/js/bittrex.js b/js/bittrex.js
index <HASH>..<HASH> 100644
--- a/js/bittrex.js
+++ b/js/bittrex.js
@@ -1236,14 +1236,10 @@ module.exports = class bittrex extends Exchange {
sign (path, api = 'v3', method = 'GET', params = {}, headers = undefined, body = undefined) {
let url = this.implodeParam... | bittrex sign() v3 edits | ccxt_ccxt | train |
26c2f4d794a0ae546d1fcb3250142cda494d2c49 | diff --git a/airflow/www/static/js/task-instances.js b/airflow/www/static/js/task-instances.js
index <HASH>..<HASH> 100644
--- a/airflow/www/static/js/task-instances.js
+++ b/airflow/www/static/js/task-instances.js
@@ -44,11 +44,13 @@ function generateTooltipDateTimes(startDate, endDate, dagTZ) {
let tooltipHTML = '... | Only show User's local timezone if it's not UTC (#<I>) | apache_airflow | train |
b805d79d9e71417c3e7c266d45adc9eae2214fda | diff --git a/src/frontend/org/voltdb/groovy/GroovyCodeBlockCompiler.java b/src/frontend/org/voltdb/groovy/GroovyCodeBlockCompiler.java
index <HASH>..<HASH> 100644
--- a/src/frontend/org/voltdb/groovy/GroovyCodeBlockCompiler.java
+++ b/src/frontend/org/voltdb/groovy/GroovyCodeBlockCompiler.java
@@ -45,7 +45,8 @@ public ... | disable invoke dynamic as it is not buying us anything at this juncture | VoltDB_voltdb | train |
1c4d39df8e3fee03867c584fdbd5866b3f7fb760 | diff --git a/lib/spaceship/base.rb b/lib/spaceship/base.rb
index <HASH>..<HASH> 100644
--- a/lib/spaceship/base.rb
+++ b/lib/spaceship/base.rb
@@ -18,14 +18,14 @@ module Spaceship
def remap_keys!(attrs)
return if attr_mapping.nil?
- @attr_mapping.each do |from, to|
+ attr_mapping.each do... | rename params for better readability | fastlane_fastlane | train |
4f655ffe7bb41beafc59c3cda12bbb0ebe37fbf9 | diff --git a/driver_wasapi_windows.go b/driver_wasapi_windows.go
index <HASH>..<HASH> 100644
--- a/driver_wasapi_windows.go
+++ b/driver_wasapi_windows.go
@@ -229,7 +229,7 @@ func (c *wasapiContext) initOnCOMThread() error {
func (c *wasapiContext) loopOnRenderThread() error {
for {
- evt, err := windows.WaitForS... | windows: bug fix: timeout at WaitForSingleObject | hajimehoshi_oto | train |
ed1ac40c30d8e47d6ecebbf880a2877b4ddf56ba | diff --git a/packages/hemera/lib/index.js b/packages/hemera/lib/index.js
index <HASH>..<HASH> 100644
--- a/packages/hemera/lib/index.js
+++ b/packages/hemera/lib/index.js
@@ -1022,24 +1022,31 @@ class Hemera extends EventEmitter {
}
}
- return new Promise((resolve, reject) => {
- // create new exe... | dont return promise when generators is set to false | hemerajs_hemera | train |
bce500dc377a337db11ba481545d4eeecf914290 | diff --git a/cpo-jdbc/src/main/java/org/synchronoss/cpo/jdbc/JdbcCpoAdapter.java b/cpo-jdbc/src/main/java/org/synchronoss/cpo/jdbc/JdbcCpoAdapter.java
index <HASH>..<HASH> 100644
--- a/cpo-jdbc/src/main/java/org/synchronoss/cpo/jdbc/JdbcCpoAdapter.java
+++ b/cpo-jdbc/src/main/java/org/synchronoss/cpo/jdbc/JdbcCpoAdapte... | added a try catch for an unsupported calls by cassandra | synchronoss_cpo-api | train |
53076a3b83d99d10b9f2c990f2906eb7ec1f9f24 | diff --git a/modules/utils.js b/modules/utils.js
index <HASH>..<HASH> 100644
--- a/modules/utils.js
+++ b/modules/utils.js
@@ -464,7 +464,11 @@ exports.isHTTPResource = isHTTPResource;
function isJsFile(file) {
"use strict";
var ext = fileExt(file);
- return isString(ext, "string") && ['js', 'coffee'].ind... | Allow the engine to define the available filetypes
isJsFile now checks require.extensions (minus json) to determine valid
javascript extensions
Modified tests so that they accomodate engines (PhantomJSv2) that don't
support coffeescript | casperjs_casperjs | train |
949a2223a864bebdf1b2ec32bedef4f4577aeeea | diff --git a/src/streamlink/stream/hls_playlist.py b/src/streamlink/stream/hls_playlist.py
index <HASH>..<HASH> 100644
--- a/src/streamlink/stream/hls_playlist.py
+++ b/src/streamlink/stream/hls_playlist.py
@@ -1,4 +1,5 @@
import re
+import logging
from binascii import unhexlify
from collections import namedtuple
... | stream.hls_playlist: Add extra logging for invalid #EXTM3U line (#<I>)
I have added extra logging to the the HLS playlist parser to show what the first line was in case it's not the expected #EXTM3U | streamlink_streamlink | train |
ffc5fd3f77e7604a2a8414836e3a69b7c1ba07dd | diff --git a/lib/drizzlepac/util.py b/lib/drizzlepac/util.py
index <HASH>..<HASH> 100644
--- a/lib/drizzlepac/util.py
+++ b/lib/drizzlepac/util.py
@@ -506,7 +506,7 @@ def getSectionName(configObj,stepnum):
""" Return section label based on step number.
"""
for key in configObj.keys():
- if key.fin... | bugfix: code was confusing section 3 with section 3a
git-svn-id: <URL> | spacetelescope_drizzlepac | train |
1e657e500981865f11eac4dc30fdb43f3c47bdb4 | diff --git a/lib/chefspec/matchers/subscribes_matcher.rb b/lib/chefspec/matchers/subscribes_matcher.rb
index <HASH>..<HASH> 100644
--- a/lib/chefspec/matchers/subscribes_matcher.rb
+++ b/lib/chefspec/matchers/subscribes_matcher.rb
@@ -23,6 +23,10 @@ module ChefSpec::Matchers
@instance.delayed
end
+ ... | Add :before timer support to SubscriptionsMatcher | chefspec_chefspec | train |
b2748b3d5a65c2ccebf6f4b4a5d9a6cfad5a6907 | diff --git a/haproxy_exporter.go b/haproxy_exporter.go
index <HASH>..<HASH> 100644
--- a/haproxy_exporter.go
+++ b/haproxy_exporter.go
@@ -26,6 +26,7 @@ const (
// HAProxy 1.5
// pxname,svname,qcur,qmax,scur,smax,slim,stot,bin,bout,dreq,dresp,ereq,econ,eresp,wretr,wredis,status,weight,act,bck,chkfail,chkdown,lastch... | Fix status field parsing
Handles instance MAINT status as down. Fixes #<I>. | prometheus_haproxy_exporter | train |
9f6127f16fb1f75e7ed28fd439a1a8b88e442496 | diff --git a/models.py b/models.py
index <HASH>..<HASH> 100644
--- a/models.py
+++ b/models.py
@@ -344,19 +344,24 @@ class MixtureDistribution(Mixture, GibbsSampling, MeanField, MeanFieldSVI, Distr
self.labels_list = []
def get_vlb(self):
+ from warnings import warn
+ warn('Pretty sure... | fix mixturedistribution SVI | mattjj_pybasicbayes | train |
611694edd96f1c2d058257c0fe4c0dd032361d54 | diff --git a/TodoList.py b/TodoList.py
index <HASH>..<HASH> 100644
--- a/TodoList.py
+++ b/TodoList.py
@@ -64,19 +64,19 @@ class TodoList(object):
dep_id = p_todo.tag_value('id')
# maintain dependency graph
if dep_id:
- self._depgraph.add_node(p_todo.attributes['number'])
+ ... | Create access function for the todo number.
A step to get rid of todo.attributes["number"]. | bram85_topydo | train |
026c7688600c1e5dc885313543e46b5c4a6b7d2e | diff --git a/app/models/cms/page.rb b/app/models/cms/page.rb
index <HASH>..<HASH> 100644
--- a/app/models/cms/page.rb
+++ b/app/models/cms/page.rb
@@ -48,7 +48,7 @@ class Cms::Page < ActiveRecord::Base
:presence => true
validates :slug,
:presence => true,
- :format => /^\p{Alnum}[\.\p{Alnum}_-]*... | Allow Unicode accent characters in slug name | comfy_comfortable-mexican-sofa | train |
ce3062586e9edceab2c86c8168ae7de691470a30 | diff --git a/lib/uv-rays/http_endpoint.rb b/lib/uv-rays/http_endpoint.rb
index <HASH>..<HASH> 100644
--- a/lib/uv-rays/http_endpoint.rb
+++ b/lib/uv-rays/http_endpoint.rb
@@ -192,7 +192,7 @@ module UV
def close_connection
return if @connection.nil?
- @connection.close_connection(:a... | (http) keep track of connection to request mapping | cotag_uv-rays | train |
76adc424f27a13c8babd4787bbf45dee03d0a07e | diff --git a/riemann/examples/p2pkh_tx_ex.py b/riemann/examples/p2pkh_tx_ex.py
index <HASH>..<HASH> 100644
--- a/riemann/examples/p2pkh_tx_ex.py
+++ b/riemann/examples/p2pkh_tx_ex.py
@@ -46,11 +46,11 @@ tx_in = simple.unsigned_input(tx_outpoint, sequence=0xFFFFFFFE)
receiving_address = 'bc1qss5rslea60lftfe7pyk32s9j9dt... | Addressed p2pkh comments. | summa-tx_riemann | train |
ae63380d51460d313ce1ebd6817eb931ee90448c | diff --git a/bosh-dev/lib/bosh/dev/build.rb b/bosh-dev/lib/bosh/dev/build.rb
index <HASH>..<HASH> 100644
--- a/bosh-dev/lib/bosh/dev/build.rb
+++ b/bosh-dev/lib/bosh/dev/build.rb
@@ -1,8 +1,8 @@
-require 'bosh/dev/pipeline'
require 'bosh/stemcell/stemcell'
require 'bosh/stemcell/archive_filename'
require 'bosh/stemc... | Use UploadAdapter in Build.
Remove Pipeline from Build. | cloudfoundry_bosh | train |
3a445c4c15ee377e96f841c7c34371b32c7dea34 | diff --git a/packages/application-shell/src/test-utils/test-utils.js b/packages/application-shell/src/test-utils/test-utils.js
index <HASH>..<HASH> 100644
--- a/packages/application-shell/src/test-utils/test-utils.js
+++ b/packages/application-shell/src/test-utils/test-utils.js
@@ -38,7 +38,7 @@ const defaultProject = ... | data locale should be one of the project languages (#<I>)
* data locale should be one of the project languages
this leads to tests failing when using 'LocalizedTextInput.createLocalizedString' because we pass the locales from the project and then in the test we check the locale the user chose.
* add 'en' to list... | commercetools_merchant-center-application-kit | train |
f4415d8503224d587e27abbecb3931ea08b7278e | diff --git a/lib/Collection/QueryType/Handler/ContentSearchHandler.php b/lib/Collection/QueryType/Handler/ContentSearchHandler.php
index <HASH>..<HASH> 100644
--- a/lib/Collection/QueryType/Handler/ContentSearchHandler.php
+++ b/lib/Collection/QueryType/Handler/ContentSearchHandler.php
@@ -91,6 +91,7 @@ class ContentSe... | Do not perform count in query type getValues method, it is not needed | netgen-layouts_layouts-ezplatform | train |
c40558ef5205f7f5d902ccdaa2218c301ae5e7d0 | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -67,8 +67,8 @@ Installs routes as defined in opts into a restify server, invokes the callback
when done.
* `opts`: The options object containing
* `opts.server` The restify server to install the routes on to.
- *... | be explicit about the mutually exclusive nature of config and configPath | restify_enroute | train |
67b87a0ea0fe359264806494ee789368607a43d8 | diff --git a/telethon/sessions/sqlite.py b/telethon/sessions/sqlite.py
index <HASH>..<HASH> 100644
--- a/telethon/sessions/sqlite.py
+++ b/telethon/sessions/sqlite.py
@@ -1,5 +1,6 @@
import datetime
import os
+import time
from telethon.tl import types
from .memory import MemorySession, _SentFileType
@@ -17,7 +18,... | Evict old cached usernames in case of collision | LonamiWebs_Telethon | train |
3b70453c32b4ae792ffa61ecc9aabb2e9766f27d | diff --git a/filter-widget/filter-widget.js b/filter-widget/filter-widget.js
index <HASH>..<HASH> 100644
--- a/filter-widget/filter-widget.js
+++ b/filter-widget/filter-widget.js
@@ -220,6 +220,16 @@ export let ViewModel = CanMap.extend({
};
}) : null;
}
+ },
+ /**
+ * If true, exis... | Adds the replaceExisting property to the view model | roemhildtg_can-crud | train |
b9d2de3d07d2dbc40d7205e41ed0583d34e32efa | diff --git a/deployments/pathmap-migrator/src/main/java/org/commonjava/indy/pathmap/migrate/MigrateCmd.java b/deployments/pathmap-migrator/src/main/java/org/commonjava/indy/pathmap/migrate/MigrateCmd.java
index <HASH>..<HASH> 100644
--- a/deployments/pathmap-migrator/src/main/java/org/commonjava/indy/pathmap/migrate/Mi... | Add reload processed count for next migrate from failure (#<I>) | Commonjava_indy | train |
e0a568e281235fbe80103756866b26ab410a73a4 | diff --git a/cache/classes/definition.php b/cache/classes/definition.php
index <HASH>..<HASH> 100644
--- a/cache/classes/definition.php
+++ b/cache/classes/definition.php
@@ -265,6 +265,8 @@ class cache_definition {
* @throws coding_exception
*/
public static function load($id, array $definition, $data... | MDL-<I> cache: Fixed up inclusion path for overrideclassfile and datasourcefile | moodle_moodle | train |
76ad8f8b15a93671f78a6847bc80537d03c6d960 | diff --git a/lib/parslet/atoms/base.rb b/lib/parslet/atoms/base.rb
index <HASH>..<HASH> 100644
--- a/lib/parslet/atoms/base.rb
+++ b/lib/parslet/atoms/base.rb
@@ -47,8 +47,9 @@ class Parslet::Atoms::Base
# to provide a good error message (even asking down below)
if !prefix_parse && !source.eof?
old_pos... | - removes a bit of method indirection | kschiess_parslet | train |
d3f7a3ad33225e82486b8c0c3fd8e8c411173c55 | diff --git a/src/com/opera/core/systems/runner/launcher/OperaLauncherRunner.java b/src/com/opera/core/systems/runner/launcher/OperaLauncherRunner.java
index <HASH>..<HASH> 100644
--- a/src/com/opera/core/systems/runner/launcher/OperaLauncherRunner.java
+++ b/src/com/opera/core/systems/runner/launcher/OperaLauncherRunne... | Remove duplicated addition of -autotestmode | operasoftware_operaprestodriver | train |
32c6c2c9d75972b83159660c7ace39ab14ee115d | diff --git a/lib/magent.rb b/lib/magent.rb
index <HASH>..<HASH> 100644
--- a/lib/magent.rb
+++ b/lib/magent.rb
@@ -18,7 +18,7 @@ require 'magent/processor'
require 'magent/async'
require 'magent/async_channel'
-require 'magent/railtie' if defined?(Rails)
+require 'magent/railtie' if defined?(Rails) && Rails.version... | railtie is only supported on rails >= <I> | dcu_magent | train |
b9bc441fdec5e8a5a1c4285d724dd43b327b4cf8 | diff --git a/tf_models/rbm_models/rbm.py b/tf_models/rbm_models/rbm.py
index <HASH>..<HASH> 100644
--- a/tf_models/rbm_models/rbm.py
+++ b/tf_models/rbm_models/rbm.py
@@ -185,7 +185,7 @@ class RBM(object):
negative = tf.matmul(tf.transpose(vprobs), hprobs1)
- self.w_upd8 = self.W.assign_add(self.lea... | Fix little issue that might lead to parameters blow up easily while learning_rate not small enough. | blackecho_Deep-Learning-TensorFlow | train |
330b65f61eea6e95578f3adf7ea69da85624a4cf | diff --git a/tests/integration/modules/test_pkg.py b/tests/integration/modules/test_pkg.py
index <HASH>..<HASH> 100644
--- a/tests/integration/modules/test_pkg.py
+++ b/tests/integration/modules/test_pkg.py
@@ -27,20 +27,19 @@ class PkgModuleTest(ModuleCase, SaltReturnAssertsMixin):
@classmethod
def setUpClas... | Set the installed package once in setUpClass not SetUp | saltstack_salt | train |
6d981b457994d824dd591819cfb93365ae524025 | diff --git a/Carew/Event/Listener/Body/Toc.php b/Carew/Event/Listener/Body/Toc.php
index <HASH>..<HASH> 100644
--- a/Carew/Event/Listener/Body/Toc.php
+++ b/Carew/Event/Listener/Body/Toc.php
@@ -32,7 +32,7 @@ class Toc implements EventSubscriberInterface
$urls = array();
// hack to keep twig stateme... | Fixed issue with link / toc / title with double quote | carew_carew | train |
92650cd29c4d9f72f20b593279b02124a429a982 | diff --git a/contrib/externs/webassembly.js b/contrib/externs/webassembly.js
index <HASH>..<HASH> 100644
--- a/contrib/externs/webassembly.js
+++ b/contrib/externs/webassembly.js
@@ -159,14 +159,17 @@ WebAssembly.Table.prototype.grow = function(delta) {};
*/
WebAssembly.Table.prototype.length;
+/** @typedef {funct... | Use a typedef for representing function put on Table object.
The main reason of doing this is for allowing Elemental2 to generate the same type for Table.get and Table.set methods.
-------------
Created by MOE: <URL> | google_closure-compiler | train |
7c63b5215fda598213fc36d581075eb7ebb60c80 | diff --git a/core/src/test/java/hudson/FilePathTest.java b/core/src/test/java/hudson/FilePathTest.java
index <HASH>..<HASH> 100644
--- a/core/src/test/java/hudson/FilePathTest.java
+++ b/core/src/test/java/hudson/FilePathTest.java
@@ -35,7 +35,6 @@ import java.util.concurrent.Executors;
import java.util.concurrent.Cal... | redundant reference to the Assert class.
renamed a file so that we can see which one is refusing to be deleted.
git-svn-id: <URL> | jenkinsci_jenkins | train |
7c4bbe5534fcf1f0673c37b419d0c807f6f4a3ab | diff --git a/dev/com.ibm.ws.jaxrs.2.0_fat/test-applications/multipart/src/com/ibm/ws/jaxrs/fat/multipart/MultipartResource.java b/dev/com.ibm.ws.jaxrs.2.0_fat/test-applications/multipart/src/com/ibm/ws/jaxrs/fat/multipart/MultipartResource.java
index <HASH>..<HASH> 100644
--- a/dev/com.ibm.ws.jaxrs.2.0_fat/test-applica... | Remove line feed chars ('\n' and '\r') when comparing multi-line strings | OpenLiberty_open-liberty | train |
0ede0d0f3fcbb2b238f59bef7258819233380528 | diff --git a/src/js/table/Table.js b/src/js/table/Table.js
index <HASH>..<HASH> 100644
--- a/src/js/table/Table.js
+++ b/src/js/table/Table.js
@@ -88,7 +88,9 @@ module.exports = createReactClass({
*/
componentWillReceiveProps() {
var table = TableStore.getInstance(this.props.componentId);
- t... | Update componentWillReceiveProps | dataminr_react-components | train |
11bcb8007b8fef21e01addea57977d16aca5078e | diff --git a/go/cmd/vttablet/vttablet.go b/go/cmd/vttablet/vttablet.go
index <HASH>..<HASH> 100644
--- a/go/cmd/vttablet/vttablet.go
+++ b/go/cmd/vttablet/vttablet.go
@@ -167,13 +167,19 @@ func initAgent(dbcfgs dbconfigs.DBConfigs, mycnf *mysqlctl.Mycnf) {
bindAddr := fmt.Sprintf(":%v", *port)
- // Action agent l... | force clients to properly reresolve and reconnect when a replica transitions to a master | vitessio_vitess | train |
40e16890026ac71203a3f77a42e8112aae65b7e1 | diff --git a/src/Folour/Flavy/Extensions/Base.php b/src/Folour/Flavy/Extensions/Base.php
index <HASH>..<HASH> 100644
--- a/src/Folour/Flavy/Extensions/Base.php
+++ b/src/Folour/Flavy/Extensions/Base.php
@@ -60,7 +60,7 @@ class Base extends Commands
public function formats()
{
if($this->_info['formats... | fix config key for ffmpeg binary path on Base class | folour_flavy | train |
b85d3266834c9668244699785952d03b206700b1 | diff --git a/ndb/tasklets.py b/ndb/tasklets.py
index <HASH>..<HASH> 100644
--- a/ndb/tasklets.py
+++ b/ndb/tasklets.py
@@ -566,7 +566,7 @@ class MultiFuture(Future):
mfut.complete()
fut = mfut
elif not isinstance(fut, Future):
- raise TypeError('Expected Future received %r' % fut)
+ raise T... | Improve error message when non-Future received. | GoogleCloudPlatform_datastore-ndb-python | train |
3605818d8292bc00dee1be1f97833a1639a3c053 | diff --git a/src/sos/tasks.py b/src/sos/tasks.py
index <HASH>..<HASH> 100644
--- a/src/sos/tasks.py
+++ b/src/sos/tasks.py
@@ -720,8 +720,8 @@ def check_task(task, hint={}) -> Dict[str, Union[str, Dict[str, float]]]:
env.logger.warning(f'Task {task} considered as aborted due to inactivity for more than {in... | Keep files for aborted jobs for testing | vatlab_SoS | train |
f7ab114d36b0c06132b482c0b0bd6a494ff025dc | diff --git a/src/Symfony/Component/HttpFoundation/FileBag.php b/src/Symfony/Component/HttpFoundation/FileBag.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/HttpFoundation/FileBag.php
+++ b/src/Symfony/Component/HttpFoundation/FileBag.php
@@ -86,13 +86,14 @@ class FileBag extends ParameterBag
}... | [HttpFoundation] Fixed missing curly brackets | symfony_symfony | train |
c9cd30ec1c4f53ead4bfcf14852de07fbfff4fc2 | diff --git a/Todos/todo.py b/Todos/todo.py
index <HASH>..<HASH> 100644
--- a/Todos/todo.py
+++ b/Todos/todo.py
@@ -173,6 +173,8 @@ def check_ids(ctx, param, value):
@click.option('--what', is_flag=True, default=False,
help='show current use todo file\'s name')
@click.option('--use', help='use `name` fi... | support show all done todos | MrKiven_Todo.py | train |
a445d73510f4a815b7b559adf604041e91952fbf | diff --git a/pynexus/pynexus.py b/pynexus/pynexus.py
index <HASH>..<HASH> 100644
--- a/pynexus/pynexus.py
+++ b/pynexus/pynexus.py
@@ -19,6 +19,7 @@
#
##############################################################################
+import atexit
from jsocket import JSocketDecoder
import json
from multiprocessing ... | Close opened connections automatically at exit using atexit module and daemon threads | jaracil_nxpy | train |
b45c1f4f9decf2e2a12ffeccf3ddfb182d1925bd | diff --git a/src/main/java/org/sonar/plugins/pmd/PmdExecutor.java b/src/main/java/org/sonar/plugins/pmd/PmdExecutor.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/sonar/plugins/pmd/PmdExecutor.java
+++ b/src/main/java/org/sonar/plugins/pmd/PmdExecutor.java
@@ -28,7 +28,7 @@ import java.util.ArrayList;
import... | Replaced the deprecated usage of PMD#VERSION. | jensgerdes_sonar-pmd | train |
a63bb8f315501ebd75c770c26c776e275b8ef1f9 | diff --git a/cdpybio/gencode.py b/cdpybio/gencode.py
index <HASH>..<HASH> 100644
--- a/cdpybio/gencode.py
+++ b/cdpybio/gencode.py
@@ -60,6 +60,79 @@ def make_gffutils_db(gtf, db):
infer_gene_extent=False)
return out_db
+def make_promoter_bed(gtf, up=2000, down=200, feature='tra... | Added method to identify promoters | cdeboever3_cdpybio | train |
e15a290d86dc1f06fe3142ca957270dd264be993 | diff --git a/lib/poolparty/helpers/provisioners/master.rb b/lib/poolparty/helpers/provisioners/master.rb
index <HASH>..<HASH> 100644
--- a/lib/poolparty/helpers/provisioners/master.rb
+++ b/lib/poolparty/helpers/provisioners/master.rb
@@ -26,15 +26,14 @@ module PoolParty
install_poolparty,
setup_p... | Rephrasing the provisioning process to clear the certs to begin with | auser_poolparty | train |
28e5b5071e725baea8237c7f9b7168a5ba68bd0f | diff --git a/GDAX/Ticker.py b/GDAX/Ticker.py
index <HASH>..<HASH> 100644
--- a/GDAX/Ticker.py
+++ b/GDAX/Ticker.py
@@ -27,7 +27,8 @@ class Ticker(WebsocketClient):
if self._log_to:
pickle.dump(message, self._log_to)
- self._current_ticker = message
+ if 'type' in message and messag... | Only take match messages as per API doc, no volume info for now | danpaquin_coinbasepro-python | train |
9368da77e2564168e877f86ddca48c474b1b55cb | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -32,11 +32,13 @@
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = ['sphinx.ext.autodoc',
- 'sphinx.ext.doctest',
- 'sphinx.ext.intersphinx',
- 'sphinx.ext.t... | Updates sphinx conf
Adds napoleon and rtd theme. | jfear_sramongo | train |
fd2899e991995981c795928a3821dc9bf87b73b9 | diff --git a/state/state_test.go b/state/state_test.go
index <HASH>..<HASH> 100644
--- a/state/state_test.go
+++ b/state/state_test.go
@@ -4680,6 +4680,7 @@ func (s *StateSuite) TestWatchAPIHostPortsForAgents(c *gc.C) {
mgmtHP,
}})
c.Assert(err, jc.ErrorIsNil)
+ wc.AssertOneChange()
// This should cause no c... | Fixes test assertions for watching APIHostPortsForAgents. | juju_juju | train |
6a1633d269c56dac723714722189b016ec8e5fc0 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -81,22 +81,6 @@ Temper1Connector.prototype.connect = function() {
// Open the device
this.device = new HID.HID(element.path);
- // this.device.on("data", function(data) {
- // console.log(data);
-
-... | Added callback, test and improved the connect(). | TimPietrusky_temper1-connector | train |
2d70dc9c43831232a26dcdd01565df6c596ca977 | diff --git a/src/dimensions.js b/src/dimensions.js
index <HASH>..<HASH> 100644
--- a/src/dimensions.js
+++ b/src/dimensions.js
@@ -8,14 +8,14 @@ jQuery.each([ "Height", "Width" ], function( i, name ) {
// innerHeight and innerWidth
jQuery.fn["inner" + name] = function() {
return this[0] ?
- parseFloat( jQuery.... | Derp, had parseInt on the brain. Thanks karbassi in <I>eb9d<I>db<I>c6ced<I>fcd<I>bff9ec7f1. | jquery_jquery | train |
98ea33c89a1cd19468fa33987f97ff080ba6c080 | diff --git a/src/knockout-froala.js b/src/knockout-froala.js
index <HASH>..<HASH> 100644
--- a/src/knockout-froala.js
+++ b/src/knockout-froala.js
@@ -72,7 +72,7 @@
var editorValue = editorInstance.html.get();
// avoid any un-necessary updates
- if( editorValue !== modelValue && typeof modelValue === 'st... | Update editor when model value is null. | froala_knockout-froala | train |
19021e194bd89b68c0dec8cb9a1a75fd49de6fe6 | diff --git a/cmd2.py b/cmd2.py
index <HASH>..<HASH> 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -566,17 +566,17 @@ def _push_readline_history(history, clear_history=True):
readline.add_history(line)
-def _complete_from_cmd(cmd, text, line, begidx, endidx):
+def _complete_from_cmd(cmd_obj, text, line, begidx, end... | Changed arg name in _complete_from_cmd() so it doesn't shadow name from outer scope.
Changed default arg for shared_attributes to None instead of a dict (bad because mutable)
Changed arg name in __call__() so it doesn't shadow name from outer scope. | python-cmd2_cmd2 | train |
5044ad053e8f554594d64f091c3c34973f5f71cd | diff --git a/util/types/mydecimal_test.go b/util/types/mydecimal_test.go
index <HASH>..<HASH> 100644
--- a/util/types/mydecimal_test.go
+++ b/util/types/mydecimal_test.go
@@ -259,25 +259,13 @@ func (s *testMyDecimalSuite) TestShift(c *C) {
wordBufLen = maxWordBufLen
}
-func (s *testMyDecimalSuite) TestRound(c *C) ... | types/mydecimal_test: add tests for round with different round_mode (#<I>) | pingcap_tidb | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.