hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
8a6fcf9d0cf8ef53ced26f1b93b969bfc5645726 | diff --git a/molo/core/models.py b/molo/core/models.py
index <HASH>..<HASH> 100644
--- a/molo/core/models.py
+++ b/molo/core/models.py
@@ -761,7 +761,7 @@ class ArticlePage(CommentedPageMixin, TranslatablePageMixin, Page):
"social_media_description", "social_media_image", "related_sections",
"featured... | Modified API fields for ArticlePages | praekeltfoundation_molo | train |
8d6657c0837d85449c3929057d7dc4f25b29a078 | diff --git a/src/mousedb/data/forms.py b/src/mousedb/data/forms.py
index <HASH>..<HASH> 100644
--- a/src/mousedb/data/forms.py
+++ b/src/mousedb/data/forms.py
@@ -27,7 +27,7 @@ class StudyExperimentForm(ModelForm):
"""This is the configuration for a study form (From an experiment).
This form provides an au... | Updated add_measurement view to add a single measurement. Removed adding multiple measurements at once because I cannot figure out how to filter the animal fields to only show those described in an experiment object | davebridges_mousedb | train |
517cdcd9f20ecfd69fa22d5f1cf378061c51b531 | diff --git a/src/Resource/Attachment.php b/src/Resource/Attachment.php
index <HASH>..<HASH> 100644
--- a/src/Resource/Attachment.php
+++ b/src/Resource/Attachment.php
@@ -97,7 +97,7 @@ class Attachment extends AbstractResource
*/
public function getAuthor()
{
- return $this->getAuthor();
+ ... | fix getAuthor method of Attachment resource | oRastor_jira-client | train |
524b1f64ff12874992e99d3b822cd793bd2ae626 | diff --git a/src/listeners.js b/src/listeners.js
index <HASH>..<HASH> 100644
--- a/src/listeners.js
+++ b/src/listeners.js
@@ -18,10 +18,10 @@ export default class ListenerGenerator
*/
_resolveFieldName() {
if (this.component) {
- return this.component.name || getDataAttribute(this.el, 'n... | expressions no longer used as field name | baianat_vee-validate | train |
e166ea51395e2424793b9dcf1045d6d69fbb53c6 | diff --git a/lib/active_shipping/carriers/usps.rb b/lib/active_shipping/carriers/usps.rb
index <HASH>..<HASH> 100644
--- a/lib/active_shipping/carriers/usps.rb
+++ b/lib/active_shipping/carriers/usps.rb
@@ -238,9 +238,9 @@ module ActiveShipping
timestamp = "#{node.at('EventDate').text}, #{node.at('EventT... | Use activesupport try method for optional fields. | Shopify_active_shipping | train |
085361396a276bc6cc56b2b5c9e01e830aa5901a | diff --git a/addon/mixins/ctrl-enter-submits-form.js b/addon/mixins/ctrl-enter-submits-form.js
index <HASH>..<HASH> 100644
--- a/addon/mixins/ctrl-enter-submits-form.js
+++ b/addon/mixins/ctrl-enter-submits-form.js
@@ -9,23 +9,31 @@ import Mixin from '@ember/object/mixin';
* is not activated. See `ctrlEnterSubmitsFo... | #<I> Removing JQuery from form submission | cybertoothca_ember-cli-text-support-mixins | train |
6a766376a8193eda0bcf575dcd49fb567d1945e2 | diff --git a/registry/registry.go b/registry/registry.go
index <HASH>..<HASH> 100644
--- a/registry/registry.go
+++ b/registry/registry.go
@@ -29,7 +29,7 @@ var (
// Topic to publish registry events to
Topic = "go.micro.registry.events"
// SyncTime defines time interval to periodically sync registries
- SyncTime ... | Added a log for record sync | micro_micro | train |
f1b50941f0bf5cda1cad5633e6f7691b676830f9 | diff --git a/common/ledger/blockledger/file/impl.go b/common/ledger/blockledger/file/impl.go
index <HASH>..<HASH> 100644
--- a/common/ledger/blockledger/file/impl.go
+++ b/common/ledger/blockledger/file/impl.go
@@ -26,7 +26,7 @@ import (
"github.com/op/go-logging"
)
-const pkgLogID = "orderer/ledger/fileledger"
+c... | [FAB-<I>] Prevent deliver panic on closed iterator
The file-based ledger implementation of the iterator does not account
for the case where another thread may close the iterator, resulting in
the return of a (nil, nil) pair (block and error respectively).
This changeset addresses that.
Change-Id: Id<I>b<I>b<I>a8a3c<... | hyperledger_fabric | train |
fabf831ee6ffbf1ce7ac00b658e75b942007ca0b | diff --git a/src/PlaygroundTranslate/Controller/Frontend/SwitchLocaleController.php b/src/PlaygroundTranslate/Controller/Frontend/SwitchLocaleController.php
index <HASH>..<HASH> 100755
--- a/src/PlaygroundTranslate/Controller/Frontend/SwitchLocaleController.php
+++ b/src/PlaygroundTranslate/Controller/Frontend/SwitchLo... | allow several locale in back / front + fix cs + refactoring | gregorybesson_PlaygroundTranslate | train |
b695199fe9fb5e06be1a1a2017d5f062f07797fa | diff --git a/tests/MatrixTest.php b/tests/MatrixTest.php
index <HASH>..<HASH> 100644
--- a/tests/MatrixTest.php
+++ b/tests/MatrixTest.php
@@ -435,7 +435,7 @@ final class MatrixTest extends PHPUnit_Framework_TestCase
static::expectException(MatrixException::class);
- $matrix->adjoint();
+ $ma... | Update missed adjoint rename. | mcordingley_LinearAlgebra | train |
d98234cac62a23372a2da3de4a853026846e7398 | diff --git a/lib/router.js b/lib/router.js
index <HASH>..<HASH> 100644
--- a/lib/router.js
+++ b/lib/router.js
@@ -1,7 +1,10 @@
-// Insert router into filesystem if it's not present
-
var fs = require('fs.extra');
+/** Insert router.js into user's /both/controller/ folder
+ * If file already exists, do not overwrit... | document router.js
add some notes for my future self | AdamBrodzinski_meteor-generate | train |
f34dba3e5123b0e5884a3cb709d285160e4beac8 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -94,10 +94,19 @@ function fastifyRedis (fastify, options, next) {
}
}
- client
- .on('end', onEnd)
- .on('error', onError)
- .on('ready', onReady)
+ // node-redis provides the connection-read... | Fix ERR_AVVIO_PLUGIN_TIMEOUT with 'ready' client (#<I>)
* Fix ERR_AVVIO_PLUGIN_TIMEOUT with 'ready' client
Adds two testcases with an existing custom client which is already
connected to redis and will not emit 'ready' events anymore. One with
'ioredis' and one with 'node-redis' as custom modules.
* Add commen... | fastify_fastify-redis | train |
c45ce61550c680c3067b1cc6b16d1b40e891eddd | diff --git a/src/babel/generation/generators/types.js b/src/babel/generation/generators/types.js
index <HASH>..<HASH> 100644
--- a/src/babel/generation/generators/types.js
+++ b/src/babel/generation/generators/types.js
@@ -39,6 +39,12 @@ export function Property(node, print) {
print(node.key);
this.push("... | print assignment pattern shorthand with matching key nicely | babel_babel | train |
771698029cf12b83f72e631f27e2e3af9d65fcfd | diff --git a/mutex.go b/mutex.go
index <HASH>..<HASH> 100644
--- a/mutex.go
+++ b/mutex.go
@@ -40,6 +40,10 @@ func (m *Mutex) Lock() error {
}
for i := 0; i < m.tries; i++ {
+ if i != 0 {
+ time.Sleep(m.delay)
+ }
+
start := time.Now()
n := 0
@@ -59,8 +63,6 @@ func (m *Mutex) Lock() error {
for _... | Update mutex.go
do not sleep after all tries failed | go-redsync_redsync | train |
700b92ef5b61520f8bdf3dfb5f681172d240c9fd | diff --git a/art/art_dic.py b/art/art_dic.py
index <HASH>..<HASH> 100644
--- a/art/art_dic.py
+++ b/art/art_dic.py
@@ -397,5 +397,6 @@ art_dic = {
"meep": "\(°^°)/",
"cup1": "(▓",
"cup2": "\̅_̅/̷̚ʾ",
- "barcode": " █║▌│ █│║▌ ║││█║▌ │║║█║ │║║█║"
+ "barcode": " █║▌│ █│║▌ ║││█║▌ │║║█║ │║║█║",
+ "... | art : band aid added #<I> | sepandhaghighi_art | train |
d2b60b612a82bc62a934375d2467ed634630ca6f | diff --git a/packages/vue-styleguidist/loaders/__tests__/examples-loader.js b/packages/vue-styleguidist/loaders/__tests__/examples-loader.js
index <HASH>..<HASH> 100644
--- a/packages/vue-styleguidist/loaders/__tests__/examples-loader.js
+++ b/packages/vue-styleguidist/loaders/__tests__/examples-loader.js
@@ -127,7 +12... | test: fix example-loader tests | vue-styleguidist_vue-styleguidist | train |
367862f85ad9b0702c6ad5bed54cbc6b0139d69d | diff --git a/bin/alert-ganglia.py b/bin/alert-ganglia.py
index <HASH>..<HASH> 100755
--- a/bin/alert-ganglia.py
+++ b/bin/alert-ganglia.py
@@ -224,12 +224,17 @@ def main():
if 'tags' in m and m['tags'] is not None:
metric[resource]['tags'].extend(m['tags'])
- ... | Add custom graphs to graphUrl in alerts | alerta_alerta | train |
b4940b39ae274633ee133fd2f7ea4175628eeaff | diff --git a/titan-test/src/main/java/com/thinkaurelius/titan/graphdb/TitanEventualGraphTest.java b/titan-test/src/main/java/com/thinkaurelius/titan/graphdb/TitanEventualGraphTest.java
index <HASH>..<HASH> 100644
--- a/titan-test/src/main/java/com/thinkaurelius/titan/graphdb/TitanEventualGraphTest.java
+++ b/titan-test... | fixed eventual graph test to reflect recent updates | thinkaurelius_titan | train |
65839f910a96eb38ed2e77d73c7f9078fa7f4e62 | diff --git a/templates/frontpage.php b/templates/frontpage.php
index <HASH>..<HASH> 100644
--- a/templates/frontpage.php
+++ b/templates/frontpage.php
@@ -18,9 +18,9 @@ $(document).ready(function() {
$this->includeAtTemplateBase('includes/header.php');
if ($this->data['isadmin']) {
- echo '<p style="float: right"... | Make login links localized on frontpage | simplesamlphp_saml2 | train |
5e7c50246eeaa4541555f54925e5df149ccbcb46 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -13,9 +13,7 @@ def read(*paths):
setup(
name='aerofiles',
version='0.1.1',
- description=(
- 'waypoint, task and tracklog file readers and writers for aviators'
- ),
+ description='waypoint, task, tr... | setup.py: Changed description | Turbo87_aerofiles | train |
1510efa2e56722e75daad0622a90b20f5e6fe8e6 | diff --git a/lang/en_utf8/admin.php b/lang/en_utf8/admin.php
index <HASH>..<HASH> 100644
--- a/lang/en_utf8/admin.php
+++ b/lang/en_utf8/admin.php
@@ -38,7 +38,7 @@ $string['calendar_weekend'] = 'Weekend Days';
$string['calendarsettings'] = 'Calendar';
$string['change'] = 'change';
$string['changesitelang'] = 'Chang... | New strings and modifications in the lang.php | moodle_moodle | train |
01dc1cb1e570a929408a8e57a50d44f32caefefc | diff --git a/psiturk/version.py b/psiturk/version.py
index <HASH>..<HASH> 100644
--- a/psiturk/version.py
+++ b/psiturk/version.py
@@ -1 +1 @@
-version_number = '1.0.14dev'
+version_number = '1.0.15dev' | stepping version number due to change in config.txt file
the previous merge resolve the issue with the test failing | NYUCCL_psiTurk | train |
87c8cb7c4971b8fc8dcf777293709640e434403c | diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index <HASH>..<HASH> 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -8,12 +8,6 @@ def reset_mangopay_configuration
MangoPay.configure do |c|
c.preproduction = true
c.client_id = 'sdk-unit-tests'
-
- # TEMP CHANGES FOR DISPUTES
- #c... | Returned to original config for tests
Temporary rooturl/credentials for tests disbled | Mangopay_mangopay2-ruby-sdk | train |
7cf4f8e069dc684548b60b2cc47c04a38cb03d97 | diff --git a/ci/pipeline/determine_tests_to_run.py b/ci/pipeline/determine_tests_to_run.py
index <HASH>..<HASH> 100644
--- a/ci/pipeline/determine_tests_to_run.py
+++ b/ci/pipeline/determine_tests_to_run.py
@@ -54,9 +54,9 @@ def get_commit_range():
with open(os.environ["GITHUB_EVENT_PATH"], "rb") as f:
... | [ci] fix determine_tests_to_run.py by finding merge base (#<I>)
We previously found all differences between origin/master and the PR branch, which includes forward changes if origin/master is ahead of the branch. By finding file differences with respect to the merge base we will only include actually changed files.
... | ray-project_ray | train |
1510cbefcb481770babdacd11fe1287cfc26df5e | diff --git a/zenpy/__init__.py b/zenpy/__init__.py
index <HASH>..<HASH> 100644
--- a/zenpy/__init__.py
+++ b/zenpy/__init__.py
@@ -196,7 +196,7 @@ class Zenpy(object):
"password, token or oauth_token are required! {}".format(locals())
)
elif password and token:
- ... | Fix exception message when password and token are provided (#<I>) | facetoe_zenpy | train |
60b4c560fe5bf8af083807ef11a76286733b5965 | diff --git a/openquake/commonlib/oqvalidation.py b/openquake/commonlib/oqvalidation.py
index <HASH>..<HASH> 100644
--- a/openquake/commonlib/oqvalidation.py
+++ b/openquake/commonlib/oqvalidation.py
@@ -545,16 +545,14 @@ class OqParam(valid.ParamSet):
"""
return len(self.imtls.array) // len(self.imtls... | Renamed risk_imtls->risk_imts | gem_oq-engine | train |
dddec31255782f53ff5ffaf814dccf0f75bc9b26 | diff --git a/desktop/ui/src/main/java/org/datacleaner/panels/result/ResultListPanel.java b/desktop/ui/src/main/java/org/datacleaner/panels/result/ResultListPanel.java
index <HASH>..<HASH> 100644
--- a/desktop/ui/src/main/java/org/datacleaner/panels/result/ResultListPanel.java
+++ b/desktop/ui/src/main/java/org/dataclea... | Moderated the execution log statement in case of AnalyzerResultFutures | datacleaner_DataCleaner | train |
78dc17fc4564e309d0e4d64b146793c59cdf10d3 | diff --git a/spring-cloud-sleuth-core/src/main/java/org/springframework/cloud/sleuth/instrument/web/TraceFilter.java b/spring-cloud-sleuth-core/src/main/java/org/springframework/cloud/sleuth/instrument/web/TraceFilter.java
index <HASH>..<HASH> 100644
--- a/spring-cloud-sleuth-core/src/main/java/org/springframework/clou... | Added verification for lack of response status code
With this change when there is no http response status code an exception is not thrown and the tags are not set for http.status_code
fixes #<I> | spring-cloud_spring-cloud-sleuth | train |
6f102a750280d5db9a0b3021e4fe1f3a73c4397b | diff --git a/src/Connection.js b/src/Connection.js
index <HASH>..<HASH> 100644
--- a/src/Connection.js
+++ b/src/Connection.js
@@ -120,6 +120,8 @@ export default class Connection extends EventEmitter {
this._debug = Debug(`StreamrClient::${id}`)
}
this.debug = this._debug
+ this.on... | Adjust connection error handling to be more consistent about emit/throw. | streamr-dev_streamr-client-javascript | train |
4edbc89821a636fa1a11dcca6e3e935e32bf3f72 | diff --git a/sharding-core/sharding-core-rewrite/src/main/java/org/apache/shardingsphere/core/rewrite/SQLRewriteEngine.java b/sharding-core/sharding-core-rewrite/src/main/java/org/apache/shardingsphere/core/rewrite/SQLRewriteEngine.java
index <HASH>..<HASH> 100644
--- a/sharding-core/sharding-core-rewrite/src/main/java... | rename to createSQLRewritersForSharding and createSQLRewritersForEncrypt | apache_incubator-shardingsphere | train |
c1007ed11c032391a61f6d57053f278e603904da | diff --git a/packages/material-ui/src/Select/SelectInput.js b/packages/material-ui/src/Select/SelectInput.js
index <HASH>..<HASH> 100644
--- a/packages/material-ui/src/Select/SelectInput.js
+++ b/packages/material-ui/src/Select/SelectInput.js
@@ -127,7 +127,8 @@ const SelectInput = React.forwardRef(function SelectInput... | [Select] Better support Preact (#<I>) | mui-org_material-ui | train |
d5ee212d2bf57e45b74cba57673a289b098aec7a | diff --git a/java/client/test/org/openqa/selenium/DragAndDropTest.java b/java/client/test/org/openqa/selenium/DragAndDropTest.java
index <HASH>..<HASH> 100644
--- a/java/client/test/org/openqa/selenium/DragAndDropTest.java
+++ b/java/client/test/org/openqa/selenium/DragAndDropTest.java
@@ -100,23 +100,18 @@ public clas... | DanielWagnerHall: We can't yet reliably set the size of a window in all browsers, IE doesn't let us resize with javascript, and other drivers don't support the Window stuff yet - kill the driver after this test
r<I> | SeleniumHQ_selenium | train |
9375819b9ce2fd9d1b3fff42ed455b3ba164f2f3 | diff --git a/lib/common.py b/lib/common.py
index <HASH>..<HASH> 100644
--- a/lib/common.py
+++ b/lib/common.py
@@ -15,6 +15,4 @@ def preset_merge(data, cluster_type):
with open (path, "r") as preset_file:
preset_data = json.loads(preset_file.read())
data = dict(preset_data.items() + data.... | preset configuration server-side support #<I>
remove debugging diagnostic | 10gen_mongo-orchestration | train |
f60c192264d710f08f592d6af0dd531516d73d61 | diff --git a/perf/getZonedTime.perf.js b/perf/getZonedTime.perf.js
index <HASH>..<HASH> 100644
--- a/perf/getZonedTime.perf.js
+++ b/perf/getZonedTime.perf.js
@@ -1,7 +1,7 @@
const createSuite = require('./createSuite')
const { findTimeZone, getZonedTime } = require('../dist')
-const unixTime = new Date(2018, 9, 1,... | fix: Clone return time zone list to prevent the caller from modifying the cached value
Use getTime instead of valueOf for clarity. | prantlf_timezone-support | train |
4c4a4f8e86b850ec602d010e2d43f85eecd6a4f9 | diff --git a/spyder/widgets/variableexplorer/utils.py b/spyder/widgets/variableexplorer/utils.py
index <HASH>..<HASH> 100644
--- a/spyder/widgets/variableexplorer/utils.py
+++ b/spyder/widgets/variableexplorer/utils.py
@@ -468,7 +468,7 @@ def globalsfilter(input_dict, check_all=False, filters=None,
#==================... | Python Console: Remove more code related to autorefresh | spyder-ide_spyder-kernels | train |
80d826db02e2d490c9462e882f44930cc435bb20 | diff --git a/json_span.go b/json_span.go
index <HASH>..<HASH> 100644
--- a/json_span.go
+++ b/json_span.go
@@ -1,6 +1,7 @@
package instana
import (
+ "encoding/json"
"strings"
"time"
@@ -124,29 +125,29 @@ func newW3CForeignParent(trCtx w3ctrace.Context) *ForeignParent {
// Span represents the OpenTracing s... | Send parent and span IDs as strings to the host agent | instana_go-sensor | train |
e50f0df3492df875336c9efff0a7b95803b33627 | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100755
--- a/README.md
+++ b/README.md
@@ -76,6 +76,19 @@ messages.on('created', data => {
});
```
+An interface allows integration with read-only realtime replication.
+
+```javascript
+import Realtime from 'feathers-offline-realtime';
+
+const messages = fea... | Updated README for realtime replication | eddyystop_feathers-reduxify-services | train |
62b30f82f2dccaa7fd5a8a19fa13b659f0d8a05b | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100755
--- a/README.md
+++ b/README.md
@@ -245,7 +245,10 @@ That being said, using Jupytext from Jupyter Lab is also an option. Please note
## Will my notebook really run in an IDE?
-Well, that's what we expect. There's however a big difference in the python... | Added doc for 'comment_magics' option #<I> | mwouts_jupytext | train |
4783a609e625edc360cc2ca08664ab1e4a80f4c2 | diff --git a/test/condense.js b/test/condense.js
index <HASH>..<HASH> 100644
--- a/test/condense.js
+++ b/test/condense.js
@@ -13,7 +13,7 @@ function runTest(options) {
});
options.load.forEach(function(file) {
server.addFile(file, fs.readFileSync(caseFile(file), "utf8"));
- });
+ });
server.flush(f... | Test reloading condensed defs | ternjs_tern | train |
36992312b3e5ee8b7ed0a64cf7022ec20983772f | diff --git a/Slim/App.php b/Slim/App.php
index <HASH>..<HASH> 100644
--- a/Slim/App.php
+++ b/Slim/App.php
@@ -38,7 +38,7 @@ class App extends RouteCollectorProxy implements RequestHandlerInterface
*
* @var string
*/
- public const VERSION = '4.9.0';
+ public const VERSION = '4.10.0';
/**... | update app version to <I> | slimphp_Slim | train |
05fe833bb64e12b60d3c5ceb7e852e3e42edb72e | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -4,8 +4,7 @@ var debug = require('debug')('bigpipe:pagelet')
, FreeList = require('freelist').FreeList
, Temper = require('temper')
, fuse = require('fusing')
- , path = require('path')
- , fs = require('fs');
+ , ... | [minor] Added prefixed debug command
[major] Rewrote the RPC calling internals | bigpipe_pagelet | train |
511b948d68b641a09f7777ec67e28e1ffc1b24fd | diff --git a/addons/batikvis/src/main/java/de/lmu/ifi/dbs/elki/application/greedyensemble/VisualizePairwiseGainMatrix.java b/addons/batikvis/src/main/java/de/lmu/ifi/dbs/elki/application/greedyensemble/VisualizePairwiseGainMatrix.java
index <HASH>..<HASH> 100644
--- a/addons/batikvis/src/main/java/de/lmu/ifi/dbs/elki/a... | Don't rely on getDatabase() here either. | elki-project_elki | train |
7648779e73004643f3cce1584c1c4852b635db6d | diff --git a/src/InsightsServiceProvider.php b/src/InsightsServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/InsightsServiceProvider.php
+++ b/src/InsightsServiceProvider.php
@@ -16,13 +16,6 @@ use Illuminate\Support\ServiceProvider;
class InsightsServiceProvider extends ServiceProvider
{
/**
- * Def... | Removed configPath from props for better support on PHP <I> | findbrok_laravel-personality-insights | train |
f4d91c7d1e08e0481922509ac229d6e852cb5067 | diff --git a/hybrid.php b/hybrid.php
index <HASH>..<HASH> 100644
--- a/hybrid.php
+++ b/hybrid.php
@@ -251,11 +251,11 @@ if ( !class_exists( 'Hybrid' ) ) {
add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list' ) );
/* Remove support for the the Breadcrumb Trail extension if the pl... | Add checks for both the Breadcrumb_Trail and Cleaner_Gallery classes. | justintadlock_hybrid-core | train |
2de48ff93d4a8e30928284295e38e4a1f7e63e27 | diff --git a/blocks/course_list/block_course_list.php b/blocks/course_list/block_course_list.php
index <HASH>..<HASH> 100644
--- a/blocks/course_list/block_course_list.php
+++ b/blocks/course_list/block_course_list.php
@@ -34,7 +34,7 @@ class block_course_list extends block_list {
}
}
- if... | Added check for $CFG->disablemycourses | moodle_moodle | train |
d08a0ba97b873dfb856f945124e10d6880764f9d | diff --git a/lib/twitter/api/users.rb b/lib/twitter/api/users.rb
index <HASH>..<HASH> 100644
--- a/lib/twitter/api/users.rb
+++ b/lib/twitter/api/users.rb
@@ -78,11 +78,7 @@ module Twitter
# Twitter.block?('sferik')
# Twitter.block?(7505382) # Same as above
def block?(user, options={})
- ... | Consolidate block? and user? | sferik_twitter | train |
d76fadbd7d4f33b7fc208ce5242b37f0350ad493 | diff --git a/actionpack/lib/action_view/template/resolver.rb b/actionpack/lib/action_view/template/resolver.rb
index <HASH>..<HASH> 100644
--- a/actionpack/lib/action_view/template/resolver.rb
+++ b/actionpack/lib/action_view/template/resolver.rb
@@ -5,7 +5,7 @@ require "action_view/template"
module ActionView
# = ... | [action_view] docs for FileSystemResolver | rails_rails | train |
dfb908e405b9233e8647642b15f40153a6fd0019 | diff --git a/salt/cloud/cli.py b/salt/cloud/cli.py
index <HASH>..<HASH> 100644
--- a/salt/cloud/cli.py
+++ b/salt/cloud/cli.py
@@ -86,6 +86,8 @@ class SaltCloud(parsers.SaltCloudParser):
log.info('salt-cloud starting')
try:
mapper = salt.cloud.Map(self.config)
+ except SaltCloudSys... | Clean up stacktrace when master can't be reached in lxc cloud driver
Fixes #<I> | saltstack_salt | train |
f69fe6a635ee8bdd4560f79238c6580180676346 | diff --git a/spacy/munge/read_conll.py b/spacy/munge/read_conll.py
index <HASH>..<HASH> 100644
--- a/spacy/munge/read_conll.py
+++ b/spacy/munge/read_conll.py
@@ -13,7 +13,6 @@ def parse(sent_text, strip_bad_periods=False):
id_map = {}
for i, line in enumerate(sent_text.split('\n')):
word, tag, head,... | * Fix heads problem in read_conll | explosion_spaCy | train |
39e0057d7f39ab1b433b43bad677a08bafd8225b | diff --git a/IDBStore.js b/IDBStore.js
index <HASH>..<HASH> 100644
--- a/IDBStore.js
+++ b/IDBStore.js
@@ -65,6 +65,8 @@ IDBStore.prototype = {
// We won't test for that, as testing
// sometimes fails in Chrome (it's a long
// story).
+
+ callback && callback();
},
/* version */
@@ -119,7 +121,6 @@ I... | Adding cursor variant of getAll for Chrome. | jensarps_IDBWrapper | train |
8ffef9a32ab899b30676aa2492df2603b1ad5014 | diff --git a/command/operator_diagnose_test.go b/command/operator_diagnose_test.go
index <HASH>..<HASH> 100644
--- a/command/operator_diagnose_test.go
+++ b/command/operator_diagnose_test.go
@@ -40,21 +40,6 @@ func TestOperatorDiagnoseCommand_Run(t *testing.T) {
},
[]*diagnose.Result{
{
- Name: "oper... | remove operating system stanza from tests on account of disk usage being different across ci for different runs (#<I>) | hashicorp_vault | train |
5cfec4e1f90b0234f3dcba0332e618ad83174d5f | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -17,7 +17,7 @@ def _read(name):
except:
return ""
-version = '0.1.0'
+version = '0.2.2'
name = 'suddendeath'
short_description = '`suddendeath` generates "突然の死" message.'
readme = _read('README')
@@ -33,7 +3... | fixed issue and gave up support for Python <I> | ymotongpoo_pysuddendeath | train |
da1a64c1c2a98c9413b62c8dc833d8775e87ae58 | diff --git a/lib/api/src/modules/addons.ts b/lib/api/src/modules/addons.ts
index <HASH>..<HASH> 100644
--- a/lib/api/src/modules/addons.ts
+++ b/lib/api/src/modules/addons.ts
@@ -42,7 +42,7 @@ interface Panels {
export interface SubAPI {
getElements: (type: Types) => Collection;
getPanels: () => Collection;
- g... | Make getStoryPanels a full api method | storybooks_storybook | train |
b02371029aa51293fbf60ef075f4d9f90c1c1a96 | diff --git a/tests/Psecio/Iniscan/RuleTest.php b/tests/Psecio/Iniscan/RuleTest.php
index <HASH>..<HASH> 100644
--- a/tests/Psecio/Iniscan/RuleTest.php
+++ b/tests/Psecio/Iniscan/RuleTest.php
@@ -135,19 +135,6 @@ class RuleTest extends \PHPUnit_Framework_TestCase
}
/**
- * Test that an exception is throw... | removing test for boolean check on setStatus | psecio_iniscan | train |
c42f9562483081653b6f144b33d8a70554902169 | diff --git a/estnltk/estnltk/resources_utils.py b/estnltk/estnltk/resources_utils.py
index <HASH>..<HASH> 100644
--- a/estnltk/estnltk/resources_utils.py
+++ b/estnltk/estnltk/resources_utils.py
@@ -261,16 +261,24 @@ def _normalized_resource_descriptions(refresh_index:bool=False,
resource_dict["unp... | Updated resource descriptions parsing: resource can now be a single file also | estnltk_estnltk | train |
35eebd9724d6fbed1a5225f3e88b2f03d4b0cbab | diff --git a/src/Tasks/Backup/DbDumperFactory.php b/src/Tasks/Backup/DbDumperFactory.php
index <HASH>..<HASH> 100644
--- a/src/Tasks/Backup/DbDumperFactory.php
+++ b/src/Tasks/Backup/DbDumperFactory.php
@@ -18,8 +18,10 @@ class DbDumperFactory
{
$dbConfig = config("database.connections.{$dbConnectionName}... | Use read database connection if available (#<I>) | spatie_laravel-backup | train |
87c5d1e11dee396332750d12ebac755f012428b4 | diff --git a/features/options.feature b/features/options.feature
index <HASH>..<HASH> 100644
--- a/features/options.feature
+++ b/features/options.feature
@@ -36,6 +36,6 @@ Feature: Reek can be controlled using command-line options
Report formatting:
-a, --[no-]show-all Show all smells,... | Removed a control couple and some duplication | troessner_reek | train |
f6a15cdaa34e0e3f4ed22b091767f8e43945d95b | diff --git a/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/dsl/internal/BaseOperationRequestBuilder.java b/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/dsl/internal/BaseOperationRequestBuilder.java
index <HASH>..<HASH> 100644
--- a/kubernetes-client/src/main/java/io/fabric8/kubernetes/cli... | refactor: make BaseOperationRequestBuilder generic | fabric8io_kubernetes-client | train |
4e6d717f39de6cfda0cf074a1cf8a3dda36aec23 | diff --git a/cmd/notification.go b/cmd/notification.go
index <HASH>..<HASH> 100644
--- a/cmd/notification.go
+++ b/cmd/notification.go
@@ -335,6 +335,7 @@ func (sys *NotificationSys) DownloadProfilingData(ctx context.Context, writer io
logger.LogIf(ctx, zerr)
continue
}
+ header.Method = zip.Deflate
... | Compress profiling data (#<I>)
Trace data can be rather large and compresses fine.
Compress profile data in zip files:
```
<I> before.profiles.zip
<I> after.profiles.zip
``` | minio_minio | train |
c713556ee01b14ddb8ed2c19b1d90df3a641a9fa | diff --git a/lxd/project/permissions.go b/lxd/project/permissions.go
index <HASH>..<HASH> 100644
--- a/lxd/project/permissions.go
+++ b/lxd/project/permissions.go
@@ -22,6 +22,7 @@ func AllowInstanceCreation(tx *db.ClusterTx, projectName string, req api.Instanc
if err != nil {
return err
}
+
if project == nil ... | lxd/project: Drive-by lint fixes | lxc_lxd | train |
0a2240f608d0fe0d5ef6003a80d8692ca2adddc3 | diff --git a/src/sphinxcontrib_phpautodoc.py b/src/sphinxcontrib_phpautodoc.py
index <HASH>..<HASH> 100644
--- a/src/sphinxcontrib_phpautodoc.py
+++ b/src/sphinxcontrib_phpautodoc.py
@@ -18,7 +18,7 @@ from docutils.statemachine import ViewList
def is_comment(node):
- if isinstance(node, ast.Comment):
+ if is... | Fix generated reST text is broken | tk0miya_tk.phpautodoc | train |
bcd076b5fea51b37dd2a7523fdd02944a96fc265 | diff --git a/daemon/create.go b/daemon/create.go
index <HASH>..<HASH> 100644
--- a/daemon/create.go
+++ b/daemon/create.go
@@ -70,7 +70,7 @@ func (daemon *Daemon) Create(config *runconfig.Config, hostConfig *runconfig.Hos
return nil, nil, err
}
if !config.NetworkDisabled && daemon.SystemConfig().IPv4ForwardingDi... | Clean up: remove redundant '\n' in Create | containers_storage | train |
22d0b416b0c99f5d348ce2c31b2b23aa118f288e | diff --git a/car/car.go b/car/car.go
index <HASH>..<HASH> 100644
--- a/car/car.go
+++ b/car/car.go
@@ -293,16 +293,19 @@ func Commands() []cli.Command {
EnvVar: "MICRO_SIDECAR_NAMESPACE",
},
cli.StringFlag{
- Name: "server_name",
- Usage: "Server name of the app",
+ Name: "server_name",
+ Us... | define EnvVar for sidecar's server_name, server_address and healthcheck_url cli args | micro_micro | train |
de3aec55825a5e6373b8968af03ae28302a0ade7 | diff --git a/syn/base/a/base.py b/syn/base/a/base.py
index <HASH>..<HASH> 100644
--- a/syn/base/a/base.py
+++ b/syn/base/a/base.py
@@ -26,7 +26,7 @@ class Base(object):
if _args:
if len(args) > len(_args):
- raise ValueError('Too many positional arguments')
+ ... | Moving too many arguments error to TypeError | mbodenhamer_syn | train |
40cccf1c395090bad1afd43fa7334390d235f46d | diff --git a/pytorch2keras/reshape_layers.py b/pytorch2keras/reshape_layers.py
index <HASH>..<HASH> 100644
--- a/pytorch2keras/reshape_layers.py
+++ b/pytorch2keras/reshape_layers.py
@@ -87,6 +87,7 @@ def convert_reshape(params, w_name, scope_name, inputs, layers, weights, names):
print('Cannot deduct batc... | Add more imports for lambda layers. | nerox8664_pytorch2keras | train |
498a3246c48dcae11bbc644b1ea479056a1b1997 | diff --git a/gems/cache/lib/cache_listener.rb b/gems/cache/lib/cache_listener.rb
index <HASH>..<HASH> 100644
--- a/gems/cache/lib/cache_listener.rb
+++ b/gems/cache/lib/cache_listener.rb
@@ -29,7 +29,7 @@ module TorqueBox
end
add_class_annotation( { org.infinispan.notifications.Listener => { } } )
- ... | Remove call to java_class. It works both ways with jruby-<I>.x but breaks in jruby-<I>, when using .java_class | torquebox_torquebox | train |
62c77499636f9ac5852935a165f5c6aff2bedc02 | diff --git a/go/vt/dbconnpool/connection_pool.go b/go/vt/dbconnpool/connection_pool.go
index <HASH>..<HASH> 100644
--- a/go/vt/dbconnpool/connection_pool.go
+++ b/go/vt/dbconnpool/connection_pool.go
@@ -59,10 +59,10 @@ type ConnectionPool struct {
info *mysql.ConnParams
addresses []net.IP
- ticker *time.Ti... | Renaming flag for IP to more logical name | vitessio_vitess | train |
73e930cd4d6e52399e18e1b29e13c7d300ff6eb8 | diff --git a/src/main/java/br/ufmg/dcc/saotome/beholder/selenium/ui/SeleniumComponent.java b/src/main/java/br/ufmg/dcc/saotome/beholder/selenium/ui/SeleniumComponent.java
index <HASH>..<HASH> 100644
--- a/src/main/java/br/ufmg/dcc/saotome/beholder/selenium/ui/SeleniumComponent.java
+++ b/src/main/java/br/ufmg/dcc/saoto... | added functionality loadyByXpath | BeholderTAF_beholder-selenium | train |
45674baf3e02239a967e4db8eded75f521df8af4 | diff --git a/buffer/src/main/java/io/netty/buffer/AdvancedLeakAwareByteBuf.java b/buffer/src/main/java/io/netty/buffer/AdvancedLeakAwareByteBuf.java
index <HASH>..<HASH> 100644
--- a/buffer/src/main/java/io/netty/buffer/AdvancedLeakAwareByteBuf.java
+++ b/buffer/src/main/java/io/netty/buffer/AdvancedLeakAwareByteBuf.ja... | Correctly report *LE operations when advanced leak detection is used.
Motivation:
We missed reporting *LE operations when AdvancedLeakAwareByteBuf was used. This could lead to incomplete access reports.
Modifications:
Correctly record access for *LE operations.
Result:
Correct leak reports. | netty_netty | train |
5a9c23570340a15ffb822c9d6dd925d77f5ad6c1 | diff --git a/lib/maruku/input/html_helper.rb b/lib/maruku/input/html_helper.rb
index <HASH>..<HASH> 100644
--- a/lib/maruku/input/html_helper.rb
+++ b/lib/maruku/input/html_helper.rb
@@ -138,12 +138,12 @@ module MaRuKu::In::Markdown::SpanLevelParser
if @tag_stack.empty?
error "Malformed: closing tag... | Maruku's HTML parsing is really grotty | bhollis_maruku | train |
f42f9eee8a6a8c1f23f7510efb356b2dcce98f10 | diff --git a/src/Reactor.js b/src/Reactor.js
index <HASH>..<HASH> 100644
--- a/src/Reactor.js
+++ b/src/Reactor.js
@@ -2,6 +2,7 @@ var through = require('through')
var get = require('./immutable-helpers').get
var toJS = require('./immutable-helpers').toJS
var mutate = require('./immutable-helpers').mutate
+var isImm... | Fix ReactorCore returning unrecognized immutable object
If a Core.initialize() method return and immutable object isn't
recognized as being an instanceof Immutable.Sequence | optimizely_nuclear-js | train |
cc8d77ffc5987259d19fd52e49e758e914f03631 | diff --git a/Source/classes/BaseDrag.js b/Source/classes/BaseDrag.js
index <HASH>..<HASH> 100644
--- a/Source/classes/BaseDrag.js
+++ b/Source/classes/BaseDrag.js
@@ -65,6 +65,14 @@ Garnish.BaseDrag = Garnish.Base.extend({
},
/**
+ * Returns whether dragging is allowed right now.
+ */
+ allowDragging: function(... | Prevent a race condition where new drags could start while returning last drag's helpers to their draggees | pixelandtonic_garnishjs | train |
df3933122057c7e8644b0940994324223eda751f | diff --git a/blogit.py b/blogit.py
index <HASH>..<HASH> 100755
--- a/blogit.py
+++ b/blogit.py
@@ -18,6 +18,17 @@
# 2. If anything goes wrong, sue the "The Empire".
+# Note about Summary
+# has to be 1 line, no '\n' allowed!
+"""
+Summary: |
+ some summary ...
+"""
+
+"""
+Everything the Header can't have ":" in... | - document the quirks of the header
- replace 'file' with 'fileName'
- Catch error, and notify user which file name is causing the error ... | oz123_blogit | train |
bcbc9e6bbc41cb8bca1f999ce172ccaad4f0b750 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -20,8 +20,8 @@ import setuptools
_yara_procdump = setuptools.Extension('yara_procdump',
sources=['yara_procdump_python.c'],
- include_dirs=['yara/l... | Enabling static builds on Windows. | google_yara-procdump-python | train |
f6cd6a19d594b111ba833f2ee9baf06427ea2742 | diff --git a/addon/mixins/sl-tooltip-enabled.js b/addon/mixins/sl-tooltip-enabled.js
index <HASH>..<HASH> 100755
--- a/addon/mixins/sl-tooltip-enabled.js
+++ b/addon/mixins/sl-tooltip-enabled.js
@@ -93,7 +93,7 @@ export default Ember.Mixin.create({
// First-time rendering
if ( 'undefined' === Ember.... | Changed attribute to camel case for consistency
closes#<I> | softlayer_sl-ember-components | train |
3567dd1deb79878bcce0eaf550ddef791e5895df | diff --git a/bingo/image.py b/bingo/image.py
index <HASH>..<HASH> 100644
--- a/bingo/image.py
+++ b/bingo/image.py
@@ -114,7 +114,8 @@ def get_colors(bingo_field, vote_counts, colormode=COLOR_MODE_BLANK):
def get_image(bingo_board, marked=False, voted=False):
font = ImageFont.truetype(FONTPATH, FONTSIZE)
- a... | use vote cache and select_related() for images | allo-_django-bingo | train |
e620f7383f44682490d1845294bbb5c3a2a65616 | diff --git a/titan-hadoop-parent/titan-hadoop-core/src/main/java/com/thinkaurelius/titan/hadoop/FaunusElement.java b/titan-hadoop-parent/titan-hadoop-core/src/main/java/com/thinkaurelius/titan/hadoop/FaunusElement.java
index <HASH>..<HASH> 100644
--- a/titan-hadoop-parent/titan-hadoop-core/src/main/java/com/thinkaureli... | Do not read hidden types from Titan. | thinkaurelius_titan | train |
69b1774b88ad9bf7a4d468089ff9689cc94a1042 | diff --git a/immutable-history/src/Page/GetHumanReadibleChangeLogEventsByDateRange.php b/immutable-history/src/Page/GetHumanReadibleChangeLogEventsByDateRange.php
index <HASH>..<HASH> 100644
--- a/immutable-history/src/Page/GetHumanReadibleChangeLogEventsByDateRange.php
+++ b/immutable-history/src/Page/GetHumanReadible... | work on proof of concept of immutable history by cleaning code | reliv_Rcm | train |
18faafe6a5c0a94693d57af0f02c3a50a57bbe3e | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -52,11 +52,11 @@ setup(
author_email='psplicha@redhat.com',
maintainer='Petr Šplíchal',
maintainer_email='psplicha@redhat.com',
- license='GPLv3',
+ license='GPLv2+',
keywords=['status', 'report', '... | Align python license metadata with the rest | psss_did | train |
f29986dacfbea76322bdba8231ceb582dafbf5cd | diff --git a/intranet/utils/helpers.py b/intranet/utils/helpers.py
index <HASH>..<HASH> 100644
--- a/intranet/utils/helpers.py
+++ b/intranet/utils/helpers.py
@@ -166,6 +166,7 @@ def get_fcps_emerg(request):
def get_ap_week_warning(request):
+ """
ap_day = timezone.localtime()
if ap_day.hour > 16:
... | chore(utils): disable AP week warning temporarily | tjcsl_ion | train |
6438be42686e5812f6f1d4966aa4e68d44fdab44 | diff --git a/core/src/main/java/org/seedstack/business/internal/event/EventServiceInternal.java b/core/src/main/java/org/seedstack/business/internal/event/EventServiceInternal.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/seedstack/business/internal/event/EventServiceInternal.java
+++ b/core/src/main/ja... | Fix - EventService firing event n times | seedstack_business | train |
69ff540cf5c693ed1be0b01b6f5ea8b358d6f94a | diff --git a/android/src/main/java/com/cubicphuse/RCTTorch/RCTTorchModule.java b/android/src/main/java/com/cubicphuse/RCTTorch/RCTTorchModule.java
index <HASH>..<HASH> 100644
--- a/android/src/main/java/com/cubicphuse/RCTTorch/RCTTorchModule.java
+++ b/android/src/main/java/com/cubicphuse/RCTTorch/RCTTorchModule.java
@... | swithced from toggle to precise value on old android versions | ludo_react-native-torch | train |
e092ff05a4119f759b1cd235217168b7e4c6d102 | diff --git a/hazelcast/src/test/java/com/hazelcast/test/TestLoggerFactory.java b/hazelcast/src/test/java/com/hazelcast/test/TestLoggerFactory.java
index <HASH>..<HASH> 100644
--- a/hazelcast/src/test/java/com/hazelcast/test/TestLoggerFactory.java
+++ b/hazelcast/src/test/java/com/hazelcast/test/TestLoggerFactory.java
@... | Fixed concurrency issue in TestLoggerFactory
The LoggerContext collection has to be thread-safe, otherwise we might
lose contexts. In the current implementation the used ArrayList throws
exceptions when used concurrently. Replaced with a ConcurrentLinkedQueue
to ensure the wanted behavior.
(cherry picked from commit ... | hazelcast_hazelcast | train |
e259ea716225c1f35d4ebfb739d246c64ddb2728 | diff --git a/cmd/jujud/agent/machine.go b/cmd/jujud/agent/machine.go
index <HASH>..<HASH> 100644
--- a/cmd/jujud/agent/machine.go
+++ b/cmd/jujud/agent/machine.go
@@ -856,6 +856,10 @@ func (a *MachineAgent) openStateForUpgrade() (*state.State, error) {
// state.InitDatabase is idempotent and needs to be called just
... | Don't attempt to use max-txn-log-size on upgrades | juju_juju | train |
80df2460a9f3ec7448d328d215bb47237dd4b835 | diff --git a/src/lib/edge-functions/deploy.js b/src/lib/edge-functions/deploy.js
index <HASH>..<HASH> 100644
--- a/src/lib/edge-functions/deploy.js
+++ b/src/lib/edge-functions/deploy.js
@@ -1,6 +1,5 @@
// @ts-check
const { stat } = require('fs').promises
-const path = require('path')
const { getPathInProject } = ... | fix: use correct paths in EF on deploy (#<I>) | netlify_cli | train |
45a5630f521fde211282c9c0ddd542f4c15652c4 | diff --git a/src/main/java/com/nulabinc/zxcvbn/Zxcvbn.java b/src/main/java/com/nulabinc/zxcvbn/Zxcvbn.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/nulabinc/zxcvbn/Zxcvbn.java
+++ b/src/main/java/com/nulabinc/zxcvbn/Zxcvbn.java
@@ -2,7 +2,6 @@ package com.nulabinc.zxcvbn;
import com.nulabinc.zxcvbn.matche... | Fixed excessive wrapping with runtime exceptions. | nulab_zxcvbn4j | train |
ce68f7aef70964304657a0473e5aaf8e4a58a456 | diff --git a/libcontainer/label/label_selinux_test.go b/libcontainer/label/label_selinux_test.go
index <HASH>..<HASH> 100644
--- a/libcontainer/label/label_selinux_test.go
+++ b/libcontainer/label/label_selinux_test.go
@@ -3,6 +3,7 @@
package label
import (
+ "os"
"strings"
"testing"
@@ -89,6 +90,10 @@ func T... | make localtest failure with selinux enabled | opencontainers_runc | train |
2ead7f921f7662eaf7d1dc8a426a251c5b35e848 | diff --git a/providers/influxcloud/influxcloud.go b/providers/influxcloud/influxcloud.go
index <HASH>..<HASH> 100644
--- a/providers/influxcloud/influxcloud.go
+++ b/providers/influxcloud/influxcloud.go
@@ -20,7 +20,7 @@ const (
// The hard coded domain is difficult here because influx cloud has an acceptance
// do... | Fix the token location for influxcloud | markbates_goth | train |
019a7272390c575b9f178d435c286b9fed78c248 | diff --git a/gravity/process_manager/supervisor_manager.py b/gravity/process_manager/supervisor_manager.py
index <HASH>..<HASH> 100644
--- a/gravity/process_manager/supervisor_manager.py
+++ b/gravity/process_manager/supervisor_manager.py
@@ -202,7 +202,7 @@ class SupervisorProcessManager(BaseProcessManager):
def ... | Fix foreground galaxy being stopped by galaxyctl
Or, I think that was the issue. | galaxyproject_gravity | train |
85a13e4a490af330df4ebdbb2a8e72bbe6a2ff15 | diff --git a/azurerm/resource_arm_service_fabric_cluster_test.go b/azurerm/resource_arm_service_fabric_cluster_test.go
index <HASH>..<HASH> 100644
--- a/azurerm/resource_arm_service_fabric_cluster_test.go
+++ b/azurerm/resource_arm_service_fabric_cluster_test.go
@@ -254,7 +254,7 @@ func TestAccAzureRMServiceFabricClust... | Update azurerm/resource_arm_service_fabric_cluster_test.go | terraform-providers_terraform-provider-azurerm | train |
4c15159bb00cfa3aba3b918d47a6f0662c2443a8 | diff --git a/mpop/satellites/__init__.py b/mpop/satellites/__init__.py
index <HASH>..<HASH> 100644
--- a/mpop/satellites/__init__.py
+++ b/mpop/satellites/__init__.py
@@ -32,6 +32,7 @@ import os.path
from ConfigParser import ConfigParser
import mpop.utils
+import mpop.satellites.meteosat09
from mpop import CONFIG_... | Feature: Added the new pge<I>f product for met<I>. | pytroll_satpy | train |
1fcb1b316563ccc74d7372bb32319caecce11332 | diff --git a/dsn.go b/dsn.go
index <HASH>..<HASH> 100644
--- a/dsn.go
+++ b/dsn.go
@@ -220,6 +220,14 @@ func split(s string, c string) (string, string) {
return s[:i], s[i+len(c):]
}
+func splitRight(s string, c string) (string, string) {
+ i := strings.LastIndex(s, c)
+ if i < 0 {
+ return s, ""
+ }
+ return s[:... | split with last @ for the DSN | mattn_go-oci8 | train |
0f7b068ca080e04136fee08f460ef35dce3eac93 | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -32,7 +32,7 @@ module.exports = (opts = {}) => {
if (isRevoked) {
const tokenRevoked = await isRevoked(ctx, decodedToken, token);
if (tokenRevoked) {
- ... | use `throw` rather than `ctx.throw` in revocation | koajs_jwt | train |
ab8796d56364e875ea70a4c3d4ef3ac71bc2153e | diff --git a/client/lib/posts/post-counts-store.js b/client/lib/posts/post-counts-store.js
index <HASH>..<HASH> 100644
--- a/client/lib/posts/post-counts-store.js
+++ b/client/lib/posts/post-counts-store.js
@@ -3,10 +3,16 @@
* External dependencies
*/
-var sum = require( 'lodash/sum' ),
- isEqual = require( 'loda... | post-counts-store: replace lodash/sum with our own function | Automattic_wp-calypso | train |
89b72cbfc8eae946fde9c8ba873644de794134e3 | diff --git a/roaring/roaring.go b/roaring/roaring.go
index <HASH>..<HASH> 100644
--- a/roaring/roaring.go
+++ b/roaring/roaring.go
@@ -234,6 +234,8 @@ func (b *Bitmap) CountRange(start, end uint64) (n uint64) {
// Count containers in between.
for x := i + 1; x < j; x++ {
+ // Ensure that current container is ins... | provided some clarification of CountRange issue | pilosa_pilosa | train |
d0b8e9178e3690c64f841dfcd6da89c69def7803 | diff --git a/src/main/java/org/codehaus/groovy/control/CompilationUnit.java b/src/main/java/org/codehaus/groovy/control/CompilationUnit.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/codehaus/groovy/control/CompilationUnit.java
+++ b/src/main/java/org/codehaus/groovy/control/CompilationUnit.java
@@ -342,20 +3... | minor refactor: remove dead code | apache_groovy | train |
606d3fd13975e1993486143eeaa9802eccc4445c | diff --git a/src/Ubiquity/utils/yuml/ClassesToYuml.php b/src/Ubiquity/utils/yuml/ClassesToYuml.php
index <HASH>..<HASH> 100644
--- a/src/Ubiquity/utils/yuml/ClassesToYuml.php
+++ b/src/Ubiquity/utils/yuml/ClassesToYuml.php
@@ -81,6 +81,10 @@ class ClassesToYuml {
}
public function __toString() {
- return \implod... | Update ClassesToYuml.php | phpMv_ubiquity | train |
8316a06a0ee4f90512d232ce4ccd00f072ff4e0c | diff --git a/txscript/bench_test.go b/txscript/bench_test.go
index <HASH>..<HASH> 100644
--- a/txscript/bench_test.go
+++ b/txscript/bench_test.go
@@ -341,3 +341,18 @@ func BenchmarkIsUnspendable(b *testing.B) {
_ = IsUnspendable(script)
}
}
+
+// BenchmarkGetSigOpCount benchmarks how long it takes to count the s... | txscript: Add benchmark for GetSigOpCount. | btcsuite_btcd | train |
a3ed39ccbef1f9c241bf3d20dd5ce1e275108496 | diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index <HASH>..<HASH> 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -118,6 +118,9 @@ RSpec.configure do |config|
# Clear the tmp_path on each run
FileUtils.rm_rf(tmp_path)
FileUtils.mkdir_p(tmp_path)
+
+ # Don't run Ohai - tests can... | Set sane Ohai data at the start of the run | chef_omnibus | train |
4cc8dc2a767ec78ef05ff5acbfd99182a3b7f04b | diff --git a/lib/epiphany.js b/lib/epiphany.js
index <HASH>..<HASH> 100644
--- a/lib/epiphany.js
+++ b/lib/epiphany.js
@@ -57,7 +57,7 @@ var Epiphany = function(options) {
}
var mw = {
- static: express.static(this.config.dir.public.root, { maxAge: '1 year' }),
+ static: express.static(this.config.dir.public.ro... | Only set maxAge for static files in production mode. | thecodebureau_epiphany | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.