hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
441dfb936a068f4a5ef4fe731ea30b080667a3eb | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -28,6 +28,21 @@ To prevent remote requests for a particular chart, set `remote` to `false` in th
This will generate the data set immediately when the page is rendered.
+
+You can also pass arguments to chartkick for a... | fix up options passing to avoid remote requests for excluded actions and document options passing in readme | ashanbrown_chartkick-remote | train |
bdb5d9a766e30b04c0df0eea8e7b313813ce6e1d | diff --git a/paramiko/rsakey.py b/paramiko/rsakey.py
index <HASH>..<HASH> 100644
--- a/paramiko/rsakey.py
+++ b/paramiko/rsakey.py
@@ -98,10 +98,9 @@ class RSAKey(PKey):
else:
return self.asbytes().decode("utf8", errors="ignore")
- def __hash__(self):
- return hash(
- (self.... | Patch missed RSAKey for some reason. Fixed. | paramiko_paramiko | train |
892ee09320f3833e064c328bcedb5316b7f592db | diff --git a/lib/resque/worker.rb b/lib/resque/worker.rb
index <HASH>..<HASH> 100644
--- a/lib/resque/worker.rb
+++ b/lib/resque/worker.rb
@@ -447,7 +447,7 @@ module Resque
# Returns an array of string pids of all the other workers on this
# machine. Useful when pruning dead workers on startup.
def worke... | Bugfix: ps -o comm is more cross platform than ps -o command | resque_resque | train |
e9466b5619c8618566a87374bb640b1201749053 | diff --git a/lib/mail/mail.rb b/lib/mail/mail.rb
index <HASH>..<HASH> 100644
--- a/lib/mail/mail.rb
+++ b/lib/mail/mail.rb
@@ -170,6 +170,35 @@ module Mail
Mail.new(File.read(filename))
end
+ # Initialize the observers and interceptors arrays
+ @@delivery_notification_observers = []
+ @@delivery_intercep... | Moving observers up to the Mail module so it is library wide, added interceptors as well that can change the mail object before delivery | mikel_mail | train |
c519d1c2ef28f42342ca4446b8211770b4f551cb | diff --git a/railties/lib/rails/test_unit/minitest_plugin.rb b/railties/lib/rails/test_unit/minitest_plugin.rb
index <HASH>..<HASH> 100644
--- a/railties/lib/rails/test_unit/minitest_plugin.rb
+++ b/railties/lib/rails/test_unit/minitest_plugin.rb
@@ -93,7 +93,9 @@ module Minitest
mattr_accessor(:run_with_rails_exten... | [ci skip] Improve comment minitest plugin initialization.
Didn't feel we were clear enough about our motivation for placing Rails first
and why we needed to call `load_plugins`. | rails_rails | train |
bc14e0f956cabd74960d47ff05c399954a8d5806 | diff --git a/src/frontend/org/voltdb/sysprocs/saverestore/SnapshotRequestConfig.java b/src/frontend/org/voltdb/sysprocs/saverestore/SnapshotRequestConfig.java
index <HASH>..<HASH> 100644
--- a/src/frontend/org/voltdb/sysprocs/saverestore/SnapshotRequestConfig.java
+++ b/src/frontend/org/voltdb/sysprocs/saverestore/Snap... | ENG-<I>: Change list of tables to snapshot to an array of tables per Steve's
comment, since all the callers expect a table array. | VoltDB_voltdb | train |
60ca123b7c56102c2cb00070e4854c4ec6c68b3f | diff --git a/ppb/sprites.py b/ppb/sprites.py
index <HASH>..<HASH> 100644
--- a/ppb/sprites.py
+++ b/ppb/sprites.py
@@ -19,6 +19,46 @@ error_message = "'{klass}' object does not have attribute '{attribute}'"
side_attribute_error_message = error_message.format
+class RotatableMixin:
+ """
+ A simple rotation m... | Moves RotatableMixin higher in file. | ppb_pursuedpybear | train |
9e38a95d8d2dff1404b1d870ad6c9aa829ac7517 | diff --git a/can/listener.py b/can/listener.py
index <HASH>..<HASH> 100644
--- a/can/listener.py
+++ b/can/listener.py
@@ -83,6 +83,7 @@ class BufferedReader(Listener):
def __init__(self):
# 0 is "infinite" size
self.buffer = SimpleQueue(0)
+ self.is_stopped = False
def on_message_r... | bugfix in BufferedReader | hardbyte_python-can | train |
3cc1e5c72c79dd367629871845366265f3b24e5e | diff --git a/phypno/viz/plot_1d.py b/phypno/viz/plot_1d.py
index <HASH>..<HASH> 100644
--- a/phypno/viz/plot_1d.py
+++ b/phypno/viz/plot_1d.py
@@ -69,6 +69,6 @@ def scroll_recordings(data, xaxis='time', xlog=False, ylog=False):
for ch in p1_sub:
p1_sub[ch].sigRangeChanged.connect(updateRegion)
- regi... | plot first <I> seconds, starting from beginning of recordings | wonambi-python_wonambi | train |
bea2aa3983ef4723c86befa3fa337c524245536e | diff --git a/lib/elm/options.rb b/lib/elm/options.rb
index <HASH>..<HASH> 100644
--- a/lib/elm/options.rb
+++ b/lib/elm/options.rb
@@ -1,6 +1,7 @@
require 'contracts'
module Elm
+ # rubocop:disable Metrics/ClassLength
# Error raised when trying to set a bad report format
class BadReportFormatError < RuntimeE... | Clone and update options without modifying base object | eunomie_ruby-elm | train |
d4e8c1328406e8c299cebf498ba3d9bb57129cb6 | diff --git a/jaulp.wicket.base/src/main/java/org/jaulp/wicket/base/util/ApplicationUtils.java b/jaulp.wicket.base/src/main/java/org/jaulp/wicket/base/util/ApplicationUtils.java
index <HASH>..<HASH> 100644
--- a/jaulp.wicket.base/src/main/java/org/jaulp/wicket/base/util/ApplicationUtils.java
+++ b/jaulp.wicket.base/src/... | Created new method that adds the given resourcePath to the resource
finder from the given application. | astrapi69_jaulp-wicket | train |
9e82805c54f2f25940fba64ad0faffe849e58528 | diff --git a/tests/Carbon/DiffTest.php b/tests/Carbon/DiffTest.php
index <HASH>..<HASH> 100644
--- a/tests/Carbon/DiffTest.php
+++ b/tests/Carbon/DiffTest.php
@@ -1333,6 +1333,10 @@ class DiffTest extends AbstractTestCase
'parts' => 2,
'join' => true,
]));
+ $this->assertSame('... | Add tests for locale and immutability in diffForHumans | briannesbitt_Carbon | train |
0d9658473cdffa52406bc5d0fdee36510d095df3 | diff --git a/drools-persistence-jpa/src/main/java/org/drools/persistence/SingleSessionCommandService.java b/drools-persistence-jpa/src/main/java/org/drools/persistence/SingleSessionCommandService.java
index <HASH>..<HASH> 100644
--- a/drools-persistence-jpa/src/main/java/org/drools/persistence/SingleSessionCommandServi... | SingleSessionCommandService.initKsession(..) refactor
- This makes eventual support for other transaction models (local, container) a lot easier | kiegroup_drools | train |
3fbc7b9a1f833666a73875f8299bf221ccccbbc4 | diff --git a/tests/compat.py b/tests/compat.py
index <HASH>..<HASH> 100644
--- a/tests/compat.py
+++ b/tests/compat.py
@@ -8,3 +8,5 @@ if sys.version_info[0] <= 2 and sys.version_info[1] < 7: # pragma: no cover
import unittest2 as unittest
else: # pragma: no cover
import unittest
+
+Py3 = (sys.version_info... | Add python3 compatibility in tests. | rbarrois_confutils | train |
d3c13840c28fcbba930a0ca3737072cf0d65ebc7 | diff --git a/lib/stream/index.js b/lib/stream/index.js
index <HASH>..<HASH> 100644
--- a/lib/stream/index.js
+++ b/lib/stream/index.js
@@ -33,7 +33,7 @@ exports.initChildren = function() { // {{{2
this.newField('name', 'text');
};
-exports.inView = function(entry, params) { // {{{2
+exports.inMap = function(ent... | Rename: "view" => "map" | OpenSmartEnvironment_ose-media | train |
2a2bd99c0fa40403f5efec0cd508127f50976ea1 | diff --git a/src/test/java/org/zeroturnaround/zip/ZipsTest.java b/src/test/java/org/zeroturnaround/zip/ZipsTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/org/zeroturnaround/zip/ZipsTest.java
+++ b/src/test/java/org/zeroturnaround/zip/ZipsTest.java
@@ -21,6 +21,7 @@ import java.io.FileOutputStream;
import ja... | improved tests that used to fail only on windows | zeroturnaround_zt-zip | train |
e3484d86c27d910b2f888ac9462a545f6193b26a | diff --git a/jboss-4/src/main/java/org/mobicents/ha/javax/sip/cache/JBossASSipCache.java b/jboss-4/src/main/java/org/mobicents/ha/javax/sip/cache/JBossASSipCache.java
index <HASH>..<HASH> 100644
--- a/jboss-4/src/main/java/org/mobicents/ha/javax/sip/cache/JBossASSipCache.java
+++ b/jboss-4/src/main/java/org/mobicents/h... | Update Issue <I>
forgot to commit the changes to this class, damn
git-svn-id: <URL> | RestComm_jain-sip.ha | train |
cfdc978198d35204381772f4e196a37fc1c5a8d5 | diff --git a/app.py b/app.py
index <HASH>..<HASH> 100644
--- a/app.py
+++ b/app.py
@@ -1,13 +1,16 @@
# For test purposes
-from capitains_nautilus.flask_ext import WerkzeugCacheWrapper, FlaskNautilus
+from capitains_nautilus.flask_ext import FlaskNautilus
+from capitains_nautilus.cts.resolver import NautilusCTSResolver... | First (incomplete) implementation of the DTS Draft | Capitains_Nautilus | train |
f444129b1caa2c34572bfbfbfed3f9230fe6a25c | diff --git a/src/shape.js b/src/shape.js
index <HASH>..<HASH> 100644
--- a/src/shape.js
+++ b/src/shape.js
@@ -124,6 +124,25 @@ Shape.prototype.stop = function stop() {
this._progressPath.stop();
};
+Shape.prototype.pause = function pause() {
+ if (this._progressPath === null) {
+ throw new Error(DES... | add support for pause/resume | kimmobrunfeldt_progressbar.js | train |
bebd461dba26a71700e6cb9c67fb537b986b30ed | diff --git a/init.js b/init.js
index <HASH>..<HASH> 100755
--- a/init.js
+++ b/init.js
@@ -3,10 +3,18 @@
var path = require('path');
var yeoman = require('yeoman-environment');
+// argsOrName can be:
+// - A string (e.g. 'AwesomeApp'). This is the common case when
+// you run 'react-native init AwesomeApp' from t... | Add a comment to CLI's init | react-native-community_cli | train |
96d7483edf1185b565c99250b3abf3c303be624c | diff --git a/plugins/Login/Controller.php b/plugins/Login/Controller.php
index <HASH>..<HASH> 100644
--- a/plugins/Login/Controller.php
+++ b/plugins/Login/Controller.php
@@ -31,17 +31,17 @@ class Controller extends \Piwik\Plugin\Controller
/**
* @var PasswordResetter
*/
- private $passwordResetter;... | Piwik\Plugins\Login\Controller class: Change private members to protected
To the Piwik\Plugins\Login\Controller class: This change is to prevent extending classes (third-party login plugins reusing the core Login plugin implementation) from having to copy-paste \Login\Controller code which, if declared "private" canno... | matomo-org_matomo | train |
851665df58c4bac985f34fcdecc6bd4540ca63a8 | diff --git a/src/BuilderAbstract.php b/src/BuilderAbstract.php
index <HASH>..<HASH> 100644
--- a/src/BuilderAbstract.php
+++ b/src/BuilderAbstract.php
@@ -13,6 +13,7 @@
*
* @copyright 2013-2019 Philip Michael Raab <peep@inane.co.za>
*/
+declare(strict_types=1);
namespace Cathedral\Builder;
@@ -21,6 +22,8 @@ ... | update comments
where there's a will, there's a way: strict type added. | CathedralCode_Builder | train |
34577bc20ee729f63697dea24c7b0964fdbb8423 | diff --git a/controllers/notificationCtrl.js b/controllers/notificationCtrl.js
index <HASH>..<HASH> 100644
--- a/controllers/notificationCtrl.js
+++ b/controllers/notificationCtrl.js
@@ -29,9 +29,9 @@ module.exports = function(opts) {
}
if (notification.url) {
- notification.url = req.proto... | [FEATURE] Updating notification and payment fields | ripple_ripple-rest | train |
93f7a89df185fdd7c91ac1081e37967488224e51 | diff --git a/support/src/main/java/org/opoo/press/support/Compass.java b/support/src/main/java/org/opoo/press/support/Compass.java
index <HASH>..<HASH> 100644
--- a/support/src/main/java/org/opoo/press/support/Compass.java
+++ b/support/src/main/java/org/opoo/press/support/Compass.java
@@ -20,8 +20,8 @@ import java.io.... | Change logging framework to SLF4J - module: support | opoo_opoopress | train |
1a7868d27f2cbf996a7069f2ccc187bcddcbb7f9 | diff --git a/tests/test_transport.py b/tests/test_transport.py
index <HASH>..<HASH> 100644
--- a/tests/test_transport.py
+++ b/tests/test_transport.py
@@ -411,8 +411,12 @@ class TransportTest (unittest.TestCase):
schan.send('hello\n')
- # something should be ready now
- r, w, ... | [project @ Arch-1:<EMAIL><I>-master-shake%paramiko--dev--1--patch-<I>]
bulletproof the select test in test_transport more | paramiko_paramiko | train |
d4d30b35754adc4a05cad77202cdbd574e73b621 | diff --git a/tests/utilities/test_formatters.py b/tests/utilities/test_formatters.py
index <HASH>..<HASH> 100644
--- a/tests/utilities/test_formatters.py
+++ b/tests/utilities/test_formatters.py
@@ -14,7 +14,7 @@ def square_int(x):
return x
-@pytest.mark.parametrize('non_collection', [1, 'abc', True, None]... | recursive attrdict_middleware, with py2 unicode support | ethereum_web3.py | train |
7ee486fc9b58171e70eec99ecdbeac4c99cc82d0 | diff --git a/internal/pipe/build/build.go b/internal/pipe/build/build.go
index <HASH>..<HASH> 100644
--- a/internal/pipe/build/build.go
+++ b/internal/pipe/build/build.go
@@ -3,6 +3,7 @@
package build
import (
+ "fmt"
"os"
"os/exec"
"path/filepath"
@@ -112,7 +113,11 @@ func doBuild(ctx *context.Context, build... | fix: build with same binary name (#<I>) | goreleaser_goreleaser | train |
9fe0f8f6a0eb90300437a5a7eca8e065c99d8562 | diff --git a/elk-util-parent/elk-util-concurrent/src/test/java/org/semanticweb/elk/util/concurrent/computation/TestInputProcessorFactory.java b/elk-util-parent/elk-util-concurrent/src/test/java/org/semanticweb/elk/util/concurrent/computation/TestInputProcessorFactory.java
index <HASH>..<HASH> 100644
--- a/elk-util-pare... | Fix concurrent computation test
It was false to assume that when each worker finishes the shared job
queue is empty. It may be that the last job is taken by one worker, the
other worker has nothing to process so it runs finish(), but the first
worker puts the job to the shared queue, so it is not empty. | liveontologies_elk-reasoner | train |
c810c70e7abadfeb9b1284f7f75eec17246a8288 | diff --git a/nifty-core/src/main/java/com/facebook/nifty/core/ThriftServerDefBuilder.java b/nifty-core/src/main/java/com/facebook/nifty/core/ThriftServerDefBuilder.java
index <HASH>..<HASH> 100644
--- a/nifty-core/src/main/java/com/facebook/nifty/core/ThriftServerDefBuilder.java
+++ b/nifty-core/src/main/java/com/faceb... | Rename 'speaks' config to 'protocol' | facebookarchive_nifty | train |
6f61fbf2402cef5097e0cf6392a5ab39461ced60 | diff --git a/metal/mmtl/task.py b/metal/mmtl/task.py
index <HASH>..<HASH> 100644
--- a/metal/mmtl/task.py
+++ b/metal/mmtl/task.py
@@ -1,5 +1,6 @@
from typing import Callable, List
+import torch.nn as nn
from torch.utils.data import DataLoader
@@ -8,9 +9,9 @@ class Task(object):
Args:
name: The ... | Update Task definition to include modules instead of module names | HazyResearch_metal | train |
4bac22d78c7ff5aa313d2a62a78d77e35df1add5 | diff --git a/astropy_helpers/sphinx/ext/tests/__init__.py b/astropy_helpers/sphinx/ext/tests/__init__.py
index <HASH>..<HASH> 100644
--- a/astropy_helpers/sphinx/ext/tests/__init__.py
+++ b/astropy_helpers/sphinx/ext/tests/__init__.py
@@ -1,11 +1,11 @@
+import subprocess as sp
import sys
from textwrap import dedent... | Use a subprocess to compile the test Cython module rather than running it in the same process; otherwise Cython gets confused when you try to compile the same module of the same name more than once. This is fine here since it's not the actual build process that's being tested in these tests. | astropy_astropy-helpers | train |
5f9b892be04a2907b7864d7da970456298afd375 | diff --git a/lib/plugins/html/setup/summaryBoxes.js b/lib/plugins/html/setup/summaryBoxes.js
index <HASH>..<HASH> 100644
--- a/lib/plugins/html/setup/summaryBoxes.js
+++ b/lib/plugins/html/setup/summaryBoxes.js
@@ -120,9 +120,9 @@ module.exports = function(data) {
if (summary.visualMetrics) {
boxes.push(
... | treat first and last visual change as ms not a duration #<I> | sitespeedio_sitespeed.io | train |
ff909fd8baaf56087de678cec7ca4ccd8e6f4360 | diff --git a/java/core/libjoynr/src/main/java/io/joynr/dispatching/rpc/ReplyCaller.java b/java/core/libjoynr/src/main/java/io/joynr/dispatching/rpc/ReplyCaller.java
index <HASH>..<HASH> 100644
--- a/java/core/libjoynr/src/main/java/io/joynr/dispatching/rpc/ReplyCaller.java
+++ b/java/core/libjoynr/src/main/java/io/joyn... | [Java] Remove unused method from ReplyCaller | bmwcarit_joynr | train |
f149b4051b0a4b6ccca6cfdb09f807b89d8d14e1 | diff --git a/src/com/aoindustries/dbc/meta/Column.java b/src/com/aoindustries/dbc/meta/Column.java
index <HASH>..<HASH> 100644
--- a/src/com/aoindustries/dbc/meta/Column.java
+++ b/src/com/aoindustries/dbc/meta/Column.java
@@ -22,6 +22,8 @@
*/
package com.aoindustries.dbc.meta;
+import com.aoindustries.dbc.meta.Ta... | Moving database abstraction from aocode-public into new ao-dbc project | aoindustries_ao-dbc | train |
9c4988e4b548ccf48b0f4ebeb30055fe664bd12a | diff --git a/cmsplugin_cascade/bootstrap3/carousel.py b/cmsplugin_cascade/bootstrap3/carousel.py
index <HASH>..<HASH> 100644
--- a/cmsplugin_cascade/bootstrap3/carousel.py
+++ b/cmsplugin_cascade/bootstrap3/carousel.py
@@ -16,10 +16,12 @@ from cms.plugin_pool import plugin_pool
from djangocms_text_ckeditor.widgets imp... | Replaced PictureForm by ImageForm since essentially they were the same | jrief_djangocms-cascade | train |
d8d55a542df64284a9a8f360122c6200e02c363e | diff --git a/code/models/ElementContent.php b/code/models/ElementContent.php
index <HASH>..<HASH> 100644
--- a/code/models/ElementContent.php
+++ b/code/models/ElementContent.php
@@ -20,9 +20,11 @@ class ElementContent extends BaseElement {
private static $description = "Blocks of text with heading, blockquote, list ... | FIX: not in context. | dnadesign_silverstripe-elemental | train |
383801bbb9e64717dcc34660ca8c7bd9c6c9ac5d | diff --git a/core/src/main/java/org/bitcoinj/wallet/Wallet.java b/core/src/main/java/org/bitcoinj/wallet/Wallet.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/bitcoinj/wallet/Wallet.java
+++ b/core/src/main/java/org/bitcoinj/wallet/Wallet.java
@@ -1404,8 +1404,8 @@ public class Wallet extends BaseTaggabl... | Wallet: Add JavaDoc link from autosaveToFile() to saveToFile(). | bitcoinj_bitcoinj | train |
348e5ce43cf3d731ad792041ff40a0710a73b9fd | diff --git a/src/View/CellTrait.php b/src/View/CellTrait.php
index <HASH>..<HASH> 100644
--- a/src/View/CellTrait.php
+++ b/src/View/CellTrait.php
@@ -65,35 +65,21 @@ trait CellTrait {
}
list($plugin, $cellName) = pluginSplit($pluginAndCell);
-
$className = App::className($pluginAndCell, 'View/Cell', 'Cell')... | Make cell creation a protected method.
This will let classes using CellTrait to more easily the cell creation
process. | cakephp_cakephp | train |
8b8fd1ce40a75d1b8ac117dbb9dc320728fc51ce | diff --git a/jre_emul/android/platform/libcore/ojluni/src/test/java/time/tck/java/time/chrono/serial/TCKChronoLocalDateTimeSerialization.java b/jre_emul/android/platform/libcore/ojluni/src/test/java/time/tck/java/time/chrono/serial/TCKChronoLocalDateTimeSerialization.java
index <HASH>..<HASH> 100644
--- a/jre_emul/andr... | Adding test to build and making them work with junit. Manually merged test_sources due to conflict. | google_j2objc | train |
58a6f715b09212c2c6554026fa032585e6108d4b | diff --git a/doradus-common/src/com/dell/doradus/common/UNode.java b/doradus-common/src/com/dell/doradus/common/UNode.java
index <HASH>..<HASH> 100644
--- a/doradus-common/src/com/dell/doradus/common/UNode.java
+++ b/doradus-common/src/com/dell/doradus/common/UNode.java
@@ -907,8 +907,12 @@ final public class UNode {
... | assertion error when querying on multiple alias field | QSFT_Doradus | train |
af28fe2ab391ded07c625193ecd329f3eba11387 | diff --git a/test/test.js b/test/test.js
index <HASH>..<HASH> 100644
--- a/test/test.js
+++ b/test/test.js
@@ -9,10 +9,6 @@ const path = require('path');
const cheerio = require('cheerio');
const diff = require('deep-diff').diff;
-// TODO: use `xmllint` instead
-// https://www.npmjs.com/package/xmllint
-// const xm... | xml validation breaks mocha --watch for some reason | trespass-project_trespass.js | train |
2dbe1f72e4b09779a289eca3b8d1c1355fe78ea6 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -45,8 +45,7 @@ setup(
'Flask-MongoEngine'
],
dependency_links=[
- 'http://github.com/mattupstate/flask-security/tarball/develop#egg=Flask-Security-1.3.0-dev',
- 'http://github.com/mattupstate/f... | Update setup.py since Flask-OAuth got updated | mattupstate_flask-social | train |
0bdb6d7e1d5d399071264c81f10bbdfcecff7cae | diff --git a/cake/libs/model/model.php b/cake/libs/model/model.php
index <HASH>..<HASH> 100644
--- a/cake/libs/model/model.php
+++ b/cake/libs/model/model.php
@@ -1039,8 +1039,6 @@ class Model extends Overloadable {
$weHaveMulti = false;
}
- $newID = null;
-
foreach($this->data as $n => $v) {
if (isset... | Adding fix for #<I>, fixes errors when primary key is not auto increment and the primary key is set in the data to be saved.
git-svn-id: <URL> | cakephp_cakephp | train |
b81cf9e69bb53b0e0860f703f3a47a371ad80cc6 | diff --git a/segmentstore/server/host/src/main/java/io/pravega/segmentstore/server/host/stat/SegmentStatsRecorderImpl.java b/segmentstore/server/host/src/main/java/io/pravega/segmentstore/server/host/stat/SegmentStatsRecorderImpl.java
index <HASH>..<HASH> 100644
--- a/segmentstore/server/host/src/main/java/io/pravega/s... | Added new metrics to see the distribution of appends and read sizes. (#<I>)
Adds two new metrics to report the size distribution of appends and reads. | pravega_pravega | train |
f24904ff3e8275ba1f134692b1e7cc08e6972eda | diff --git a/canvasapi/requester.py b/canvasapi/requester.py
index <HASH>..<HASH> 100644
--- a/canvasapi/requester.py
+++ b/canvasapi/requester.py
@@ -93,7 +93,7 @@ class Requester(object):
# Raise for status codes
if response.status_code == 400:
- raise BadRequest(response.json())
+ ... | Quick fix to replace response.json() (which often fails) with response.text (which should fail less often) in exception | ucfopen_canvasapi | train |
3fd61cd07c6dd1b770cf774a7b1407075ada8129 | diff --git a/malcolm/core/response.py b/malcolm/core/response.py
index <HASH>..<HASH> 100644
--- a/malcolm/core/response.py
+++ b/malcolm/core/response.py
@@ -18,6 +18,9 @@ class Response(object):
serialized[field] = value
return serialized
+ def __getattr__(self, attr):
+ return self.... | Added getattr magic to Response | dls-controls_pymalcolm | train |
8a7cbff21f90de0e92e958e176404a76603af34e | diff --git a/hotdoc/core/gtk_doc_parser.py b/hotdoc/core/gtk_doc_parser.py
index <HASH>..<HASH> 100644
--- a/hotdoc/core/gtk_doc_parser.py
+++ b/hotdoc/core/gtk_doc_parser.py
@@ -115,6 +115,8 @@ class GtkDocParser (object):
self.__md_parser = CommonMark.DocParser()
self.__md_renderer = CommonMark.HTML... | gtkdoc_parser: work on performance | hotdoc_hotdoc | train |
742aedb29d384960f7b87d4a0470a328bec6e0d4 | diff --git a/tests/unit/system/trim-test.js b/tests/unit/system/trim-test.js
index <HASH>..<HASH> 100644
--- a/tests/unit/system/trim-test.js
+++ b/tests/unit/system/trim-test.js
@@ -1,4 +1,4 @@
-/* global require */
+/* global requirejs */
import {
module,
test
@@ -8,7 +8,7 @@ module('trim');
let unit = func... | fix tests for trim / uuid | adopted-ember-addons_ember-file-upload | train |
358d97030ea6f5df92ff45db33f365231e1f541d | diff --git a/classes/Route.php b/classes/Route.php
index <HASH>..<HASH> 100755
--- a/classes/Route.php
+++ b/classes/Route.php
@@ -98,7 +98,7 @@ class Route {
$callback = (is_array($this->callback) && isset($this->callback[$method])) ?
$this->callback[$method] : $this->callback;
- ... | [Route] Update events to `core.` prefix | caffeina-core_core | train |
bb2c22760cef1fd8f879e434562c46a1593d4f9b | diff --git a/spotinst/client.go b/spotinst/client.go
index <HASH>..<HASH> 100644
--- a/spotinst/client.go
+++ b/spotinst/client.go
@@ -18,10 +18,10 @@ type Client struct {
// User agent for client
UserAgent string
- // Spotinst makes a call to an authorization API using your username and
- // password, returnin... | fix(client): indent comments | spotinst_spotinst-sdk-go | train |
d3f23757aa474f54349b751ceab7c0075b7ec515 | diff --git a/src/samples/java/ex/FII_Sample.java b/src/samples/java/ex/FII_Sample.java
index <HASH>..<HASH> 100644
--- a/src/samples/java/ex/FII_Sample.java
+++ b/src/samples/java/ex/FII_Sample.java
@@ -7,6 +7,7 @@ import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
+import ... | add FII sample from #<I> | mebigfatguy_fb-contrib | train |
401fdcd678b918d3563eb04dcdd188025e3cebc6 | diff --git a/src/IMAP/Query/WhereQuery.php b/src/IMAP/Query/WhereQuery.php
index <HASH>..<HASH> 100644
--- a/src/IMAP/Query/WhereQuery.php
+++ b/src/IMAP/Query/WhereQuery.php
@@ -56,7 +56,7 @@ class WhereQuery extends Query {
protected $available_criteria = [
'OR', 'AND',
'ALL', 'ANSWERED', 'BCC'... | Message search criteria "NOT" added #<I> | Webklex_laravel-imap | train |
1d6cc171206811d5ecb549aa351f554e105f655e | diff --git a/lib/devices/gateway.js b/lib/devices/gateway.js
index <HASH>..<HASH> 100644
--- a/lib/devices/gateway.js
+++ b/lib/devices/gateway.js
@@ -92,7 +92,7 @@ class Gateway extends Device {
green: 0xff & (rgba >> 8),
blue: 0xff & rgba
});
- this.setProperty('brightness', Math.round((0xff &... | Actual brightness limit is <I>, no need to scale | aholstenson_miio | train |
d6c5165f90b6ac105ce930d43a76fe619c07dca6 | diff --git a/guacamole/src/main/frontend/src/app/client/controllers/clientController.js b/guacamole/src/main/frontend/src/app/client/controllers/clientController.js
index <HASH>..<HASH> 100644
--- a/guacamole/src/main/frontend/src/app/client/controllers/clientController.js
+++ b/guacamole/src/main/frontend/src/app/clie... | GUACAMOLE-<I>: Update connection parameters in menu after focus changes. | glyptodon_guacamole-client | train |
02fb0747c864ef071c02e58d0109fc2cd2c44ea8 | diff --git a/lib/response.js b/lib/response.js
index <HASH>..<HASH> 100644
--- a/lib/response.js
+++ b/lib/response.js
@@ -392,7 +392,10 @@ function renderViewBuffer() {
});
}
this.sendHeaders();
- this.end(runtimeData.buffer, 'utf8');
+
+ var data = app.applyFilters('response_buf... | Add `response_buffer` filter
The filter allows the application or middleware to modify the contents of
the rendered buffer, prior to being delivered to the client.
Useful to overcome JavaScript's lack of multiline strings. | derdesign_protos | train |
553df4822b1b7f03185b08f6b49967581fd2a285 | diff --git a/src/modules/Dropdown/Dropdown.js b/src/modules/Dropdown/Dropdown.js
index <HASH>..<HASH> 100644
--- a/src/modules/Dropdown/Dropdown.js
+++ b/src/modules/Dropdown/Dropdown.js
@@ -654,7 +654,7 @@ export default class Dropdown extends Component {
if (this.isMouseDown) return
if (onBlur) onBlur(e, th... | fix(dropdown): clear value when dropdown is blurred (#<I>)
fixes #<I> | Semantic-Org_Semantic-UI-React | train |
05e85916bbcf63641ce6e9e47f50f1f54453e780 | diff --git a/examples/ptpython_config/config.py b/examples/ptpython_config/config.py
index <HASH>..<HASH> 100644
--- a/examples/ptpython_config/config.py
+++ b/examples/ptpython_config/config.py
@@ -67,6 +67,9 @@ def configure(repl):
# Use the classic prompt. (Display '>>>' instead of 'In [1]'.)
repl.prompt_s... | Make it configurable whether or not a blank line has to be inserted after the output. | prompt-toolkit_ptpython | train |
e87493058774257f43fadc94a1d3d27f43d187f0 | diff --git a/lib/generator.js b/lib/generator.js
index <HASH>..<HASH> 100644
--- a/lib/generator.js
+++ b/lib/generator.js
@@ -31,7 +31,7 @@ var set = function (param) {
var setConnection = function (_connection) {
- if (!_connection instanceof mongoose.Connection)
+ if (!_connection instanceof mongoose.Conne... | mongoose-gen uses the passed in connection to create new models #1 | topliceanu_mongoose-gen | train |
7aafc64645f0bc0833c594baa68a1e9e669c22d6 | diff --git a/config/bootstrap.php b/config/bootstrap.php
index <HASH>..<HASH> 100644
--- a/config/bootstrap.php
+++ b/config/bootstrap.php
@@ -1,11 +1,13 @@
<?php
use Munee\Asset\Registry;
-
// DIRECTORY_SEPARATOR alias
defined('DS') || define('DS' , DIRECTORY_SEPARATOR);
+// Define Sub-Folder the Munee Dispatche... | Adding in support to run Munee in a sub-directory. | meenie_munee | train |
f0bd4a4c6c1457295edfef044aeeed5834fea3ed | diff --git a/js/tier-edit.js b/js/tier-edit.js
index <HASH>..<HASH> 100644
--- a/js/tier-edit.js
+++ b/js/tier-edit.js
@@ -223,6 +223,12 @@ Browser.prototype.openTierPanel = function(tier) {
tierForm.appendChild(tierTable);
+ var resetButton = makeElement('button', 'Reset track', {className: 'btn'},... | Reset button in tier editor. | dasmoth_dalliance | train |
61c5d96fd1f4ea559ffd3eafbd31aa8eef06caf6 | diff --git a/qiskit/circuit/add_control.py b/qiskit/circuit/add_control.py
index <HASH>..<HASH> 100644
--- a/qiskit/circuit/add_control.py
+++ b/qiskit/circuit/add_control.py
@@ -142,22 +142,29 @@ def control(operation: Union[Gate, ControlledGate],
q_ancillae)
elif gate... | use cu instead of mcrz-mcry-mcrz in add_control for gate u (#<I>)
* use cu instead of mcrz-mcry-mcrz in add_control for gate u
* use cp in add_control
* add test to add control for p/u to cp/cu
* Use p rather than u1 | Qiskit_qiskit-terra | train |
35f1877c3bfbc7f8a95da3eb753bb849e53c9c47 | diff --git a/bosh-dev/spec/bosh/dev/bat/runner_spec.rb b/bosh-dev/spec/bosh/dev/bat/runner_spec.rb
index <HASH>..<HASH> 100644
--- a/bosh-dev/spec/bosh/dev/bat/runner_spec.rb
+++ b/bosh-dev/spec/bosh/dev/bat/runner_spec.rb
@@ -54,42 +54,37 @@ module Bosh::Dev::Bat
let(:microbosh_deployment_cleaner) { double('micro... | Fixed bosh-dev unit tests to match recent spec:system changes | cloudfoundry_bosh | train |
df426c69e1cb618aad5e1549f4f20383d215c632 | diff --git a/lib/Widget/AbstractWidget.php b/lib/Widget/AbstractWidget.php
index <HASH>..<HASH> 100644
--- a/lib/Widget/AbstractWidget.php
+++ b/lib/Widget/AbstractWidget.php
@@ -115,7 +115,8 @@ require_once 'WidgetInterface.php';
* @method string uuid() generates a RANDOM UUID(universally unique identifier)
... | added call property and method annotations, ref #<I> | twinh_wei | train |
31042b048347db2794152047e90cf82b3ff4f56c | diff --git a/lib/xml.js b/lib/xml.js
index <HASH>..<HASH> 100644
--- a/lib/xml.js
+++ b/lib/xml.js
@@ -233,6 +233,10 @@ Transfer.prototype.toXmlObject = function () {
"Transfer" : {
"@transferTo" : this.transferTo,
"@transferCallerId" : this.transferCallerId,
+ "@requestUrl" : this.requestUr... | Added missing attributes for Transfer of BXML | Bandwidth_node-bandwidth | train |
b230ca9c05588f949b06925803d1d8cd11bec5cb | diff --git a/lib/websocket_rails/synchronization.rb b/lib/websocket_rails/synchronization.rb
index <HASH>..<HASH> 100644
--- a/lib/websocket_rails/synchronization.rb
+++ b/lib/websocket_rails/synchronization.rb
@@ -27,10 +27,18 @@ module WebsocketRails
@redis ||= Redis.new(WebsocketRails.redis_options)
end
... | Use the pure ruby redis driver for publishing when EM is not running. | websocket-rails_websocket-rails | train |
3efdf0a7bd5609f6b98ece08ab7b21aaa29894ad | diff --git a/dna.js b/dna.js
index <HASH>..<HASH> 100755
--- a/dna.js
+++ b/dna.js
@@ -342,15 +342,18 @@ dna.ui = {
var height = container.outerHeight();
return container.css({ minHeight: height, maxHeight: height, overflow: 'hidden' });
},
- smoothHeightAnimate: function(container) {
+ smoothH... | Option to control delay for smooth height animation | dnajs_dna.js | train |
b1cc6561856ba82c10e865ad45a94e01b918c5a2 | diff --git a/src/Conversations/Collection.php b/src/Conversations/Collection.php
index <HASH>..<HASH> 100644
--- a/src/Conversations/Collection.php
+++ b/src/Conversations/Collection.php
@@ -49,6 +49,16 @@ class Collection implements ClientAwareInterface, CollectionInterface, \ArrayAcc
return $idOrConversation... | Add support for fetching a list of conversations for a specific user | Nexmo_nexmo-php | train |
e604139d0b7bc33e70215dae036663df87d3bf6f | diff --git a/lib/puppet/functions/eyaml_lookup_key.rb b/lib/puppet/functions/eyaml_lookup_key.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/functions/eyaml_lookup_key.rb
+++ b/lib/puppet/functions/eyaml_lookup_key.rb
@@ -28,21 +28,29 @@ Puppet::Functions.create_function(:eyaml_lookup_key) do
context.explai... | (PUP-<I>) Use the #cached_file_data for all data provider functions
This commit changes the data provider functions for yaml, json, eyaml,
and hocon so that they make use of the new `Context#cached_file_data`
function. | puppetlabs_puppet | train |
3dbc620622c9a6aea00bfc6d026b88195ac9c66f | diff --git a/src/javascript/core/utils/Env.js b/src/javascript/core/utils/Env.js
index <HASH>..<HASH> 100644
--- a/src/javascript/core/utils/Env.js
+++ b/src/javascript/core/utils/Env.js
@@ -608,10 +608,15 @@ define("moxie/core/utils/Env", [
return false;
},
- use_blob_uri: (function() {
+ use_blob_uri: ... | Env, use_blob_uri: IE supports createObjectURL, but not fully, for example it fails to use it as a src for the image. | moxiecode_moxie | train |
25bec790e7e828b45f458a383d094dbf99c58259 | diff --git a/gtkmvco/gtkmvc/progen/model.py b/gtkmvco/gtkmvc/progen/model.py
index <HASH>..<HASH> 100644
--- a/gtkmvco/gtkmvc/progen/model.py
+++ b/gtkmvco/gtkmvc/progen/model.py
@@ -63,22 +63,27 @@ def set_shell_log():
class ProgenModel (Model):
"""The application model"""
- __properties__ = {
- 'nam... | FEATURE
Adapted progen to generate code compliant with new version's conventions
[RC] | roboogle_gtkmvc3 | train |
4a13077c2fb44b48cf83b6875b8df948e97b3c27 | diff --git a/luigi/contrib/hdfs/format.py b/luigi/contrib/hdfs/format.py
index <HASH>..<HASH> 100644
--- a/luigi/contrib/hdfs/format.py
+++ b/luigi/contrib/hdfs/format.py
@@ -130,3 +130,28 @@ class CompatibleHdfsFormat(luigi.format.Format):
def hdfs_reader(self, input):
return self.reader(input)
+
+ ... | fix pickling for HdfsTarget
Standard instances of HdfsTarget could not be pickled after aab<I>dac. | spotify_luigi | train |
d21a0696197cd87165aed2d7bc5b8bf965580f91 | diff --git a/eth/api.go b/eth/api.go
index <HASH>..<HASH> 100644
--- a/eth/api.go
+++ b/eth/api.go
@@ -129,6 +129,12 @@ func (api *PrivateMinerAPI) SetGasPrice(gasPrice hexutil.Big) bool {
return true
}
+// SetGasLimit sets the gaslimit to target towards during mining.
+func (api *PrivateMinerAPI) SetGasLimit(gasL... | eth, miner: add RPC method to modify miner gaslimit (pre london: ceiling) (#<I>) | ethereum_go-ethereum | train |
aa6f6908db16416a6688504c85824be85b24d51e | diff --git a/src/FileUtil.php b/src/FileUtil.php
index <HASH>..<HASH> 100644
--- a/src/FileUtil.php
+++ b/src/FileUtil.php
@@ -107,7 +107,7 @@ class FileUtil
*/
public static function appendStringToFile($string, $filename)
{
- $result = self::writeStringToFile($string, $filename, true);
+ ... | Changed FileUtil to improve extensibility. | aarenson_PHPCap | train |
76badc296a14576ca396761fdc8eced234723d75 | diff --git a/lib/Doctrine/ORM/QueryBuilder.php b/lib/Doctrine/ORM/QueryBuilder.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/ORM/QueryBuilder.php
+++ b/lib/Doctrine/ORM/QueryBuilder.php
@@ -469,14 +469,15 @@ class QueryBuilder
* $qb = $em->createQueryBuilder()
* ->select('u')
* ... | Fix typo in PHPDoc block of QueryBuilder.php | doctrine_orm | train |
ab126525df707b4b3584001330462baadfa8ffc6 | diff --git a/worker.js b/worker.js
index <HASH>..<HASH> 100644
--- a/worker.js
+++ b/worker.js
@@ -116,7 +116,14 @@ function test(ctx, cb) {
var jsh = ctx.shellWrap("exec java -Xmx64m -jar " + jarPath + " " + username + " " + apiKey)
ctx.striderMessage("Starting Sauce Connector")
- connectorProc = ct... | use screencmd on sauce connector exec | Strider-CD_strider-sauce | train |
ccdb0a58f4779e9db79a4ea2dbdacff58dc5c995 | diff --git a/backend/scrapers/sitemapGenerator.js b/backend/scrapers/sitemapGenerator.js
index <HASH>..<HASH> 100644
--- a/backend/scrapers/sitemapGenerator.js
+++ b/backend/scrapers/sitemapGenerator.js
@@ -23,7 +23,23 @@ class SitemapGenerator {
let currentTerm;
+ // Lets not spam the console if there are ... | Fixed a bug with the sitemap generator that caused it to skip indexing the classes | ryanhugh_searchneu | train |
e697e4ebccd252f6f2813dda8d2a7f7bafcb88bf | diff --git a/gffutils/create.py b/gffutils/create.py
index <HASH>..<HASH> 100644
--- a/gffutils/create.py
+++ b/gffutils/create.py
@@ -163,9 +163,6 @@ class _DBCreator(object):
# does everything besides attributes and extra match?
for k in constants._gffkeys[:-1]:
- # Note str... | better merging of attributes
now correctly handles merging when the new feature has attributes not
found in the existing feature | daler_gffutils | train |
d7e9a3f8d461fa52d0511a7a1975edfca80f72a4 | diff --git a/src/pikepdf/models/__init__.py b/src/pikepdf/models/__init__.py
index <HASH>..<HASH> 100644
--- a/src/pikepdf/models/__init__.py
+++ b/src/pikepdf/models/__init__.py
@@ -86,8 +86,6 @@ def parse_content_stream(
stream = page_or_stream
instructions = Object._parse_stream_grouped(str... | Remove comment about behavior of unsupported versions of libqpdf | pikepdf_pikepdf | train |
25e9501cf7eb905f5a9a4d32f8bcbf7427f01d6f | diff --git a/lib/rest-graph.rb b/lib/rest-graph.rb
index <HASH>..<HASH> 100644
--- a/lib/rest-graph.rb
+++ b/lib/rest-graph.rb
@@ -315,7 +315,7 @@ class RestGraph < RestGraphStruct
:headers => build_headers,
:payload => payload).body.
tap{ |result... | rest-graph.rb: only cache :get request! | godfat_rest-core | train |
5a3bce8ea917ae39cb70c30bc03ce6532b511e7c | diff --git a/bankaccount.go b/bankaccount.go
index <HASH>..<HASH> 100644
--- a/bankaccount.go
+++ b/bankaccount.go
@@ -18,7 +18,8 @@ type BankAccountParams struct {
// nested.
AccountID string
- // Token referencing an existing external account.
+ // A token referencing an external account like one returned from
... | Improve doc accuracy based on Remi's feedback | stripe_stripe-go | train |
6636f15af2e86ef6c81f9f81404c15dbb9ec3071 | diff --git a/java/client/test/org/openqa/selenium/CorrectEventFiringTest.java b/java/client/test/org/openqa/selenium/CorrectEventFiringTest.java
index <HASH>..<HASH> 100644
--- a/java/client/test/org/openqa/selenium/CorrectEventFiringTest.java
+++ b/java/client/test/org/openqa/selenium/CorrectEventFiringTest.java
@@ -2... | EranMes: Wait for the text value to change, following a click.
r<I> | SeleniumHQ_selenium | train |
469c079d613010d4d84780757c5a39ba954b51b1 | diff --git a/src/Entrust/Traits/EntrustUserTrait.php b/src/Entrust/Traits/EntrustUserTrait.php
index <HASH>..<HASH> 100644
--- a/src/Entrust/Traits/EntrustUserTrait.php
+++ b/src/Entrust/Traits/EntrustUserTrait.php
@@ -20,7 +20,7 @@ trait EntrustUserTrait
*/
public function roles()
{
- return $th... | updated hard-coded foreign key on roles relations between user | Zizaco_entrust | train |
6b91ab31714efab0fba076ed41ef1a9cf3fdca58 | diff --git a/commander/meta/reflash.py b/commander/meta/reflash.py
index <HASH>..<HASH> 100644
--- a/commander/meta/reflash.py
+++ b/commander/meta/reflash.py
@@ -9,7 +9,7 @@ import os
import sys
-def reflash_module(controller, hexfile, name=None, address=None, force=False, verbose=True):
+def reflash_module(contr... | Add suppor for not resetting bus | iotile_coretools | train |
12cd92fda0fc39522ed476cc35b44808992b0f12 | diff --git a/stremio-addon/addon.js b/stremio-addon/addon.js
index <HASH>..<HASH> 100644
--- a/stremio-addon/addon.js
+++ b/stremio-addon/addon.js
@@ -110,5 +110,5 @@ var server = http.createServer(function (req, res) {
console.log("Multipass Stremio Addon listening on "+server.address().port);
});
-if (module.... | Allow Add-on to listen to IP | jaruba_multipass-torrent | train |
c93270ad67275c4df112500d515103ee336ab4ef | diff --git a/src/nupic/regions/RecordSensor.py b/src/nupic/regions/RecordSensor.py
index <HASH>..<HASH> 100644
--- a/src/nupic/regions/RecordSensor.py
+++ b/src/nupic/regions/RecordSensor.py
@@ -251,8 +251,8 @@ class RecordSensor(PyRegion):
This method is separate from compute() so that we can use
a standalon... | refactored region to make it easier to sub-class it | numenta_nupic | train |
654df5f2d709373c770f27f9513d1fb24fbb9d15 | diff --git a/Auth/OpenID/Consumer.php b/Auth/OpenID/Consumer.php
index <HASH>..<HASH> 100644
--- a/Auth/OpenID/Consumer.php
+++ b/Auth/OpenID/Consumer.php
@@ -369,6 +369,7 @@ class Auth_OpenID_Consumer {
'No session state found');
} else {
$respo... | [project @ Fixed complete() call to reset session] | openid_php-openid | train |
f8e290593c8b563786d674adfe3ca2c79822ff45 | diff --git a/jmock/src/java/org/jmock/builder/InvocationMockerBuilder.java b/jmock/src/java/org/jmock/builder/InvocationMockerBuilder.java
index <HASH>..<HASH> 100644
--- a/jmock/src/java/org/jmock/builder/InvocationMockerBuilder.java
+++ b/jmock/src/java/org/jmock/builder/InvocationMockerBuilder.java
@@ -22,11 +22,20 ... | Added more matches to MatchBuilder
Fixed DynamicMockExample | jmock-developers_jmock-library | train |
bc0ec81a401da68856d91133ceabd192158545ff | diff --git a/asciimatics/effects.py b/asciimatics/effects.py
index <HASH>..<HASH> 100644
--- a/asciimatics/effects.py
+++ b/asciimatics/effects.py
@@ -299,12 +299,14 @@ class Print(Effect):
:param screen: The Screen being used for the Scene.
:param renderer: The renderer to be printed.
:param... | Fix Print docs and add disable option to base Widget | peterbrittain_asciimatics | train |
1e32401fbddf880c617cfd5f9f9e6fd7a49e5c1e | diff --git a/src/main/org/bson/BasicBSONCallback.java b/src/main/org/bson/BasicBSONCallback.java
index <HASH>..<HASH> 100644
--- a/src/main/org/bson/BasicBSONCallback.java
+++ b/src/main/org/bson/BasicBSONCallback.java
@@ -48,36 +48,36 @@ public class BasicBSONCallback implements BSONCallback {
}
public voi... | added optimization to call no arg method before arge based one and cleaned layout. | mongodb_mongo-java-driver | train |
ee30bf17db6df786b0d414daa7792a32717c3fdd | diff --git a/scriptabit/plugins/health_effects.py b/scriptabit/plugins/health_effects.py
index <HASH>..<HASH> 100644
--- a/scriptabit/plugins/health_effects.py
+++ b/scriptabit/plugins/health_effects.py
@@ -9,8 +9,10 @@ from __future__ import (
unicode_literals)
from builtins import *
import logging
-from dateti... | doing some r&d on task score changes | DC23_scriptabit | train |
e3bd1c88e9ad6c9d6c89a543ca72c82a289b6bd7 | diff --git a/lib/jekyll/tags/highlight.rb b/lib/jekyll/tags/highlight.rb
index <HASH>..<HASH> 100644
--- a/lib/jekyll/tags/highlight.rb
+++ b/lib/jekyll/tags/highlight.rb
@@ -30,12 +30,11 @@ module Jekyll
end
def render_pygments(context, code)
+ output = add_code_tags(Albino.new(code, @lang).to_s(@opti... | refactored render_pygments to remove duplicate code | jekyll_jekyll | train |
7fe9e485f3dc1c2a8ac7812542bd7e8c6c200757 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -63,15 +63,15 @@ AFRAME.registerComponent('meshline', {
var canvas = this.el.sceneEl.canvas;
this.resolution.set( canvas.width, canvas.height );
- console.log( this.resolution );
+ //console.log( this.reso... | commented the console.log lines
Cf suggestion in <URL> | andreasplesch_aframe-meshline-component | train |
29725880de607fb5a924fc4ddff51e78cc25fbb7 | diff --git a/example/deploy.py b/example/deploy.py
index <HASH>..<HASH> 100644
--- a/example/deploy.py
+++ b/example/deploy.py
@@ -159,7 +159,7 @@ did_install = pip.packages(
sudo=True
)
# use operation meta to affect the deploy
-if did_install.commands:
+if did_install.changed:
server.shell(
'echo... | Add attr wrapper for bools and make `OperationMeta.changed` use it so when using as a kwarg this generates a single op. | Fizzadar_pyinfra | train |
1cc45e3fee79bffec18fa570e13092e281b52c34 | diff --git a/tests/test_cplex_interface.py b/tests/test_cplex_interface.py
index <HASH>..<HASH> 100644
--- a/tests/test_cplex_interface.py
+++ b/tests/test_cplex_interface.py
@@ -30,6 +30,7 @@ try:
def test_set_wrong_type_raises(self):
self.assertRaises(Exception, setattr, self.var, 'type', 'ketch... | fix: (test) update model after adding variable | biosustain_optlang | train |
9b0ac4d768e24a75d1177fc3ff524cdc4e503dd8 | diff --git a/jbpm-designer-client/src/main/resources/org/jbpm/designer/public/js/Core/main.js b/jbpm-designer-client/src/main/resources/org/jbpm/designer/public/js/Core/main.js
index <HASH>..<HASH> 100644
--- a/jbpm-designer-client/src/main/resources/org/jbpm/designer/public/js/Core/main.js
+++ b/jbpm-designer-client/s... | BZ <I> - Opening the business process viewer in Business Central without changing anything triggers a save (commit) dialog box | kiegroup_jbpm-designer | train |
eaefc4fe8e64d24ccde137ec05e4bc69e5756179 | diff --git a/bigtable-hbase-parent/bigtable-hbase-integration-tests/src/test/java/com/google/cloud/bigtable/hbase/test_env/MiniClusterEnv.java b/bigtable-hbase-parent/bigtable-hbase-integration-tests/src/test/java/com/google/cloud/bigtable/hbase/test_env/MiniClusterEnv.java
index <HASH>..<HASH> 100644
--- a/bigtable-hb... | make sure to cleanup after minicluster shutdown (#<I>) | googleapis_cloud-bigtable-client | train |
d8e2f17f95d926edefcb25dc6792509fadeb8438 | diff --git a/js/impress.js b/js/impress.js
index <HASH>..<HASH> 100644
--- a/js/impress.js
+++ b/js/impress.js
@@ -2211,7 +2211,7 @@
var preSrc = baseURL + '#' + nextStep().id;
var slideView = consoleWindow.document.getElementById( 'slideView' );
- // Setting them when... | docs: Fix simple typo, glithes -> glitches (#<I>) | impress_impress.js | train |
e82dca3735814a04186dc8217912cb495f9e5738 | diff --git a/regions/shapes/tests/test_common.py b/regions/shapes/tests/test_common.py
index <HASH>..<HASH> 100644
--- a/regions/shapes/tests/test_common.py
+++ b/regions/shapes/tests/test_common.py
@@ -8,13 +8,17 @@ from numpy.testing import assert_equal, assert_allclose
import pytest
from ...core import PixCoord,... | try circumventing whitespace in tests | astropy_regions | train |
971547235aa8d32e483e624a72559af31e69ae2e | diff --git a/packages/tabs/src/Tabs.js b/packages/tabs/src/Tabs.js
index <HASH>..<HASH> 100644
--- a/packages/tabs/src/Tabs.js
+++ b/packages/tabs/src/Tabs.js
@@ -136,7 +136,7 @@ class Tabs extends Component {
const nextTabs = createTabs(children);
const nextActiveTabIndex = nextTabs.findIndex(({ props }) =... | fix: tab with zero index not trigger to active in Tabs | Autodesk_hig | train |
ee0af473e7c6cf8d2fb8db5b731b0e37ddb59f16 | diff --git a/hadoop-gremlin/src/main/java/org/apache/tinkerpop/gremlin/hadoop/process/computer/spark/SparkGraphComputer.java b/hadoop-gremlin/src/main/java/org/apache/tinkerpop/gremlin/hadoop/process/computer/spark/SparkGraphComputer.java
index <HASH>..<HASH> 100644
--- a/hadoop-gremlin/src/main/java/org/apache/tinkerp... | few tweaks around Rule.toString() so it looks nice in the Spark UI and I know that its a SparkVertexPayload so no need to type cast. | apache_tinkerpop | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.