hash stringlengths 40 40 | diff stringlengths 131 26.7k | message stringlengths 7 694 | project stringlengths 5 67 | split stringclasses 1
value | diff_languages stringlengths 2 24 |
|---|---|---|---|---|---|
a451841bb2c40df8fb36a468b54fced71b54fa4a | diff --git a/v3/process.go b/v3/process.go
index <HASH>..<HASH> 100644
--- a/v3/process.go
+++ b/v3/process.go
@@ -12,6 +12,7 @@ import (
. "github.com/cloudfoundry/cf-acceptance-tests/helpers/v3_helpers"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
+ "time"
)
type ProcessStats struct {
@@ -124,14 +1... | [#<I>] Use push timeout since these tests rely on a running application to succeed | cloudfoundry_cf-acceptance-tests | train | go |
46650edbb22bc1ff823f2aae530f3d5712f6808e | diff --git a/telluric/collections.py b/telluric/collections.py
index <HASH>..<HASH> 100644
--- a/telluric/collections.py
+++ b/telluric/collections.py
@@ -303,6 +303,8 @@ class FeatureCollection(BaseCollection):
yield from self._results
def __getitem__(self, index):
+ if isinstance(index, slice):... | Return FeatureCollection as result of a slicing | satellogic_telluric | train | py,py |
b02359b5419fe9e145c4d49e0238d488ac8e656a | diff --git a/kdcount/sphere.py b/kdcount/sphere.py
index <HASH>..<HASH> 100644
--- a/kdcount/sphere.py
+++ b/kdcount/sphere.py
@@ -101,7 +101,7 @@ def bootstrap(nside, rand, nbar, *data):
r0 = numpy.concatenate((r0, r), axis=-1)
else:
heapq.heappush(heap, (a, j, r, d))
- ... | break a degeneracy by using correct j/j0. | rainwoodman_kdcount | train | py |
b52b0a09dabdd0bf265c40f8b941303fa5a2812b | diff --git a/isort/api.py b/isort/api.py
index <HASH>..<HASH> 100644
--- a/isort/api.py
+++ b/isort/api.py
@@ -1,3 +1,4 @@
+import shutil
import sys
import textwrap
from io import StringIO
@@ -479,6 +480,7 @@ def sort_file(
with tmp_file.open(
"w", encoding=source_file.e... | sort_file: Preserve permission bits
isort 4 would overwrite the old file in place, so its permission bits
would not be modified. But as of commit
<I>a6c<I>bec4ddc<I>dbaece6b<I>a<I>e or so, isort instead writes a
new file with default permission bits and renames it into place. So
we now need to explicitly copy the pe... | timothycrosley_isort | train | py |
1033b51136c40ad5b525d68838aded41e835696f | diff --git a/lxd/networks.go b/lxd/networks.go
index <HASH>..<HASH> 100644
--- a/lxd/networks.go
+++ b/lxd/networks.go
@@ -415,9 +415,14 @@ func networkGet(d *Daemon, r *http.Request) response.Response {
return resp
}
+ projectName, err := project.NetworkProject(d.State().Cluster, projectParam(r))
+ if err != ni... | lxd/networks: Updates networkGet to support projects | lxc_lxd | train | go |
61341cc173d8fd3d40d8179033440ecce2873d3a | diff --git a/tests/phpunit/ContainerTest.php b/tests/phpunit/ContainerTest.php
index <HASH>..<HASH> 100644
--- a/tests/phpunit/ContainerTest.php
+++ b/tests/phpunit/ContainerTest.php
@@ -49,18 +49,12 @@ final class ContainerTest extends TestCase
{
public function test_it_can_be_instantiated_without_any_services()... | Refactor ContainerTest (#<I>) | infection_infection | train | php |
21a733a4f88de03bd7d98855a22e63f9052e6e46 | diff --git a/blargg/tests/urls.py b/blargg/tests/urls.py
index <HASH>..<HASH> 100644
--- a/blargg/tests/urls.py
+++ b/blargg/tests/urls.py
@@ -1,4 +1,5 @@
from django.conf.urls import url, include
+from django.contrib.sitemaps import views as sitemaps_views
from blargg.sitemaps import EntrySitemap
@@ -12,12 +13,1... | updating sitemaps defniition for test urls | bradmontgomery_django-blargg | train | py |
6bd5ca3db077045d02e8de055cb76cd56b8129a7 | diff --git a/lib/db/install.php b/lib/db/install.php
index <HASH>..<HASH> 100644
--- a/lib/db/install.php
+++ b/lib/db/install.php
@@ -130,6 +130,7 @@ function xmldb_main_install() {
'stringfilters' => '', // These two are managed in a strange way by the filters
'filterall' => 0, /... | MDL-<I> grades: Do not run minmax upgrade for fresh installs | moodle_moodle | train | php |
34bcd1784f1ccf7bbe7a701eb91468e2f707e406 | diff --git a/abilian/web/resources/js/datatables-setup.js b/abilian/web/resources/js/datatables-setup.js
index <HASH>..<HASH> 100644
--- a/abilian/web/resources/js/datatables-setup.js
+++ b/abilian/web/resources/js/datatables-setup.js
@@ -127,21 +127,6 @@
else if (!x) { return 1; }
... | js/datatables-setup.js: remove stuff belonging to abilian-sbe | abilian_abilian-core | train | js |
52d9998b5496c2768c819639db38cf1d7842fc39 | diff --git a/geist/core.py b/geist/core.py
index <HASH>..<HASH> 100644
--- a/geist/core.py
+++ b/geist/core.py
@@ -21,6 +21,9 @@ class NotFoundError(LookupError):
class Location(object):
def __init__(self, rel_x, rel_y, w=0, h=0, main_point_offset=None,
parent=None, image=None):
+ """r... | Cast Location pos and size to integers
Fixes issues with numpy types being passed around to things
that don't understand them. | ten10solutions_Geist | train | py |
8d5cb6391086c438b4e265bcd30858b9bdab391d | diff --git a/src/main/java/net/malisis/core/util/BlockPosUtils.java b/src/main/java/net/malisis/core/util/BlockPosUtils.java
index <HASH>..<HASH> 100644
--- a/src/main/java/net/malisis/core/util/BlockPosUtils.java
+++ b/src/main/java/net/malisis/core/util/BlockPosUtils.java
@@ -117,7 +117,7 @@ public class BlockPosUtil... | Changed compare to use Double.compare | Ordinastie_MalisisCore | train | java |
27937b2383e2f4596e6bffea4f1c4df2af4d571a | diff --git a/scvelo/tools/velocity_embedding.py b/scvelo/tools/velocity_embedding.py
index <HASH>..<HASH> 100644
--- a/scvelo/tools/velocity_embedding.py
+++ b/scvelo/tools/velocity_embedding.py
@@ -73,12 +73,16 @@ def velocity_embedding(data, basis=None, vkey='velocity', scale=10, self_transit
pca_transform =... | minor fix (for direct projection of velocities into PCA) | theislab_scvelo | train | py |
15daddc7daf884f65b9684fc74fd7077bd2824e8 | diff --git a/lib/ChainFind.js b/lib/ChainFind.js
index <HASH>..<HASH> 100644
--- a/lib/ChainFind.js
+++ b/lib/ChainFind.js
@@ -16,6 +16,9 @@ function ChainFind(opts) {
opts.limit = limit;
return this;
},
+ skip: function (offset) {
+ return this.offset(offset);
+ },
offset: function (offset) {
opt... | Adds chainfind.skip() as an alias to chainfind.offset() | dresende_node-orm2 | train | js |
1707d33b3a7110507b91dada6d3bf456a00c72eb | diff --git a/pymongo/topology.py b/pymongo/topology.py
index <HASH>..<HASH> 100644
--- a/pymongo/topology.py
+++ b/pymongo/topology.py
@@ -87,15 +87,6 @@ class Topology(object):
while not server_descriptions:
# No suitable servers.
if wait_time == 0 or now > end_time:
- ... | Update comments in select_server(). | mongodb_mongo-python-driver | train | py |
427d3140b30dd8e5c722a6ce6967085112fda1d6 | diff --git a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/Launcher.java b/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/Launcher.java
index <HASH>..<HASH> 100644
--- a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/l... | Remove unwanted printing of stack trace from the Launcher
Previously, the Launcher would call ex.printStackTrace for any
exception that was thrown when launching the application. This was
unnecessary as the stack trace should already have been logged by
the application when it failed to start.
This commit removes the... | spring-projects_spring-boot | train | java |
37f0ce75fc2692a3c64173abcf4176d61f380c8d | diff --git a/src/Converter.php b/src/Converter.php
index <HASH>..<HASH> 100644
--- a/src/Converter.php
+++ b/src/Converter.php
@@ -60,9 +60,9 @@ class Converter
foreach ($screenshots as $screenshot) {
$screenshot_url = self::findScreenshot($i, $plugin);
if ($screenshot_url... | remove trailing hash signs from screenshot titles | wpreadme2markdown_wp2md | train | php |
e7a7dc9eda9933e72eece99786e020eb6243a7d5 | diff --git a/saveSvgAsPng.js b/saveSvgAsPng.js
index <HASH>..<HASH> 100644
--- a/saveSvgAsPng.js
+++ b/saveSvgAsPng.js
@@ -32,17 +32,14 @@
for (var i = 0; i < images.length; i++) {
(function(image) {
var href = image.getAttributeNS("http://www.w3.org/1999/xlink", "href");
- if (href) {
- ... | CORS trouble in Chrome and Safari (#<I>) | exupero_saveSvgAsPng | train | js |
f603dae451d46121f4e2fc75e754e782cc08104d | diff --git a/lang/he/moodle.php b/lang/he/moodle.php
index <HASH>..<HASH> 100644
--- a/lang/he/moodle.php
+++ b/lang/he/moodle.php
@@ -929,7 +929,7 @@ $string['themes'] = '
$string['themesaved'] = '���� ����� ����� �����';
$string['thischarset'] = 'ISO-8859-8-I';
$string['thisdirection'] = 'rtl';
-$string['thislangu... | fixing NCR-notation (see bug <I>) | moodle_moodle | train | php |
4550e762f403b4a7f3b448dedd1e088ae8da5026 | diff --git a/mod/assignment/view.php b/mod/assignment/view.php
index <HASH>..<HASH> 100644
--- a/mod/assignment/view.php
+++ b/mod/assignment/view.php
@@ -44,7 +44,7 @@ $classfile = "$CFG->dirroot/mod/assignment/type/$assignment->assignmenttype/assi
if (!file_exists($classfile)) {
throw new moodle_exception('unsu... | MDL-<I> mod_assignment: Prevent double inclusion of plugin files | moodle_moodle | train | php |
854e89053427b4f81270e9313a73fdb40f93b145 | diff --git a/bin/otu_to_tax_name.py b/bin/otu_to_tax_name.py
index <HASH>..<HASH> 100755
--- a/bin/otu_to_tax_name.py
+++ b/bin/otu_to_tax_name.py
@@ -22,7 +22,7 @@ def handle_program_options():
"reverse lookup, if needed.")
parser.add_argument("-i", "--otu_table", required=Tr... | Changes -oid to -t
Multi-letter single dash options are not the best UNIX practice | smdabdoub_phylotoast | train | py |
f632161fa5b00b5373e79718014d1fe9373bd044 | diff --git a/lib/ember-cli/app.rb b/lib/ember-cli/app.rb
index <HASH>..<HASH> 100644
--- a/lib/ember-cli/app.rb
+++ b/lib/ember-cli/app.rb
@@ -95,6 +95,25 @@ module EmberCLI
delegate :configuration, to: EmberCLI
delegate :tee_path, :npm_path, :bundler_path, to: :configuration
+ def default_app_path
+ ... | Deprecate putting Ember CLI app into Rails' app path
[Fix #<I>] | thoughtbot_ember-cli-rails | train | rb |
9190ed5f433a44447a89dd076f0ac39cb7246870 | diff --git a/packages/@uppy/dashboard/src/utils/copyToClipboard.js b/packages/@uppy/dashboard/src/utils/copyToClipboard.js
index <HASH>..<HASH> 100644
--- a/packages/@uppy/dashboard/src/utils/copyToClipboard.js
+++ b/packages/@uppy/dashboard/src/utils/copyToClipboard.js
@@ -8,10 +8,7 @@
* @param {string} fallbackStri... | @uppy/dashboard: change `copyToClipboard` signature (#<I>) | transloadit_uppy | train | js |
3783f3f4b51ac8f17b0a2e36f2ba06184c45ee47 | diff --git a/references/classification/utils.py b/references/classification/utils.py
index <HASH>..<HASH> 100644
--- a/references/classification/utils.py
+++ b/references/classification/utils.py
@@ -403,7 +403,9 @@ def store_model_weights(model, checkpoint_path, checkpoint_key="model", strict=T
def reduce_across_pro... | Fix reduce_across_processes inconsistent return type (#<I>) | pytorch_vision | train | py |
00ffef88b3fc74f21c177e7683d8b6a1e9054d1b | diff --git a/gtk/gtk.go b/gtk/gtk.go
index <HASH>..<HASH> 100644
--- a/gtk/gtk.go
+++ b/gtk/gtk.go
@@ -8734,6 +8734,7 @@ func (v *SizeGroup) GetWidgets() *glib.SList {
// SpinButton is a representation of GTK's GtkSpinButton.
type SpinButton struct {
Entry
+ Orientable
}
// native returns a pointer to the under... | Update gtk.go
Adding SetOrientation for gkt.SpinButton | gotk3_gotk3 | train | go |
ff6f5c26b64276cda92a91f7c25cdfaedcee2450 | diff --git a/lib/alondra/event_queue.rb b/lib/alondra/event_queue.rb
index <HASH>..<HASH> 100644
--- a/lib/alondra/event_queue.rb
+++ b/lib/alondra/event_queue.rb
@@ -1,3 +1,4 @@
+require 'singleton'
require 'ffi'
require 'em-zeromq'
@@ -19,8 +20,15 @@ module Alondra
def start
Rails.logger.info "Start... | Explicitly closing connection when event queue is reset | afcapel_alondra | train | rb |
9a2e9c39ccef66f28f6327f74c710d9a8f922880 | diff --git a/lib/storytime.rb b/lib/storytime.rb
index <HASH>..<HASH> 100644
--- a/lib/storytime.rb
+++ b/lib/storytime.rb
@@ -2,14 +2,11 @@ require 'rails'
require 'storytime/engine'
module Storytime
-<<<<<<< HEAD
autoload :MysqlSearchAdapter, 'storytime/mysql_search_adapter'
autoload :MysqlFulltextS... | Remove some more merge relics | CultivateLabs_storytime | train | rb |
24a9c6934488c07e7384ca5b1614092d5dd4bec2 | diff --git a/dist/spec/array_spec.js b/dist/spec/array_spec.js
index <HASH>..<HASH> 100644
--- a/dist/spec/array_spec.js
+++ b/dist/spec/array_spec.js
@@ -918,7 +918,7 @@ describe("Array", function () {
});
});
- describe(".remove", function () {
+ describe("#remove", function () {
it("removes element ... | Commiting missed dist spec file. | centro_transis | train | js |
94a887e273f21d952ee586d71960d55822bbcc02 | diff --git a/src/DataTable/DisplayOptions.js b/src/DataTable/DisplayOptions.js
index <HASH>..<HASH> 100644
--- a/src/DataTable/DisplayOptions.js
+++ b/src/DataTable/DisplayOptions.js
@@ -19,12 +19,12 @@ export default class PagingTool extends React.Component {
content={
<div style={{ padding: 10, pa... | add unique key to all checkboxes in display options to get rid of react warning | TeselaGen_teselagen-react-components | train | js |
08e6e08c98a72b8bf0036273e3a37119f19f5a82 | diff --git a/components/AuthController.php b/components/AuthController.php
index <HASH>..<HASH> 100644
--- a/components/AuthController.php
+++ b/components/AuthController.php
@@ -57,4 +57,35 @@ abstract class AuthController extends CController
return $name;
}
+
+
+ /**
+ * Returns the authorization item type ... | Update components/AuthController.php | crisu83_yii-auth | train | php |
832ff5ddd8a842cc097963ceb6cdc4d2690f52ac | diff --git a/sdk/framework/path.go b/sdk/framework/path.go
index <HASH>..<HASH> 100644
--- a/sdk/framework/path.go
+++ b/sdk/framework/path.go
@@ -190,8 +190,8 @@ type DisplayAttributes struct {
// Action is the verb to use for the operation.
Action string `json:"action,omitempty"`
- // EditType is the type of fo... | clarify that EditType is optional (#<I>) | hashicorp_vault | train | go |
7d0cb06ec15216bfdd362c1b569195673506b366 | diff --git a/examples/saga/ReservationSaga.php b/examples/saga/ReservationSaga.php
index <HASH>..<HASH> 100644
--- a/examples/saga/ReservationSaga.php
+++ b/examples/saga/ReservationSaga.php
@@ -66,7 +66,7 @@ class ReservationSaga extends Saga implements StaticallyConfiguredSagaInterface
$this->commandBus->dis... | Fix saga state done setter | broadway_broadway-saga | train | php |
ccb9c6f92e2b6013b05040ddd167493782d52ca4 | diff --git a/src/de/lmu/ifi/dbs/elki/datasource/parser/SparseNumberVectorLabelParser.java b/src/de/lmu/ifi/dbs/elki/datasource/parser/SparseNumberVectorLabelParser.java
index <HASH>..<HASH> 100644
--- a/src/de/lmu/ifi/dbs/elki/datasource/parser/SparseNumberVectorLabelParser.java
+++ b/src/de/lmu/ifi/dbs/elki/datasource... | Add a safety check when sparse vector format is incomplete. | elki-project_elki | train | java |
37fbbb17b35ce78ee0ad78a2eae8af210f23c8f8 | diff --git a/core-bundle/src/EventListener/InitializeSystemListener.php b/core-bundle/src/EventListener/InitializeSystemListener.php
index <HASH>..<HASH> 100644
--- a/core-bundle/src/EventListener/InitializeSystemListener.php
+++ b/core-bundle/src/EventListener/InitializeSystemListener.php
@@ -77,7 +77,7 @@ class Initi... | [Core] Fix the coding style of the last merge | contao_contao | train | php |
e490ecdbdb3b8e9d672bc973b1b058b5a7a6f281 | diff --git a/libkbfs/block_tree.go b/libkbfs/block_tree.go
index <HASH>..<HASH> 100644
--- a/libkbfs/block_tree.go
+++ b/libkbfs/block_tree.go
@@ -537,7 +537,6 @@ func (bt *blockTree) getBlocksForOffsetRange(ctx context.Context,
} else {
errors = append(errors, res.err)
}
- wp.Stop()
cancel()
}
... | block_tree: fix race condition
If the context is cancelled at an inconvenient time, one worker
could submit more tasks after another has stopped the worker
pool. To fix this, let the workerpool drain on context
cancellation, which will cancel the workerpool when the call to
`wg.Done()` returns. | keybase_client | train | go |
d6c740f9fe9bc8c26d73a13c68549bb416b24efa | diff --git a/bcbio/cwl/create.py b/bcbio/cwl/create.py
index <HASH>..<HASH> 100644
--- a/bcbio/cwl/create.py
+++ b/bcbio/cwl/create.py
@@ -707,8 +707,9 @@ def _to_cwlfile_with_indexes(val, get_retriever):
return _item_to_cwldata(val["base"], get_retriever)
else:
# Standard named set of indices, l... | CWL: always create tarball of snpeff, even if single file | bcbio_bcbio-nextgen | train | py |
ca8243d4460e05cec85a875509695e2bc3cff6b3 | diff --git a/cookbooks/omnibus/attributes/default.rb b/cookbooks/omnibus/attributes/default.rb
index <HASH>..<HASH> 100644
--- a/cookbooks/omnibus/attributes/default.rb
+++ b/cookbooks/omnibus/attributes/default.rb
@@ -18,3 +18,4 @@
default["omnibus"]["build-user"] = "vagrant"
default["omnibus"]["build-folder"] = "/h... | add default cookbook attribute for ['omnibus']['cache-dirs']
Fix to stop your friendly neighborhood "undefined method `each' for
nil:NilClass" exception when the omnibus::default recipe is executed.
Existing (*nix) Omnibus projects do not have this value set in their
Vagrantfile's chef.json. | chef_omnibus | train | rb |
a5fff6301926f93a08cec38138eeee9bd7e5d211 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -33,7 +33,7 @@ recursively_include(package_data, 'pythonforandroid/recipes',
['*.patch', 'Setup', '*.pyx', '*.py', '*.c', '*.h', ])
recursively_include(package_data, 'pythonforandroid/bootstraps',
... | Added .jpg to bootstrap includes | kivy_python-for-android | train | py |
636476c224807d0db16529521ee3667f02203740 | diff --git a/src/Rector/Contrib/PHPUnit/GetMockRector.php b/src/Rector/Contrib/PHPUnit/GetMockRector.php
index <HASH>..<HASH> 100644
--- a/src/Rector/Contrib/PHPUnit/GetMockRector.php
+++ b/src/Rector/Contrib/PHPUnit/GetMockRector.php
@@ -27,10 +27,15 @@ final class GetMockRector extends AbstractRector
ret... | [PHPUnit] GetMockRector detail | rectorphp_rector | train | php |
85b467237fcf9054fc43142e8aadec3a9da12b99 | diff --git a/tests/functional-sdk/conftest.py b/tests/functional-sdk/conftest.py
index <HASH>..<HASH> 100644
--- a/tests/functional-sdk/conftest.py
+++ b/tests/functional-sdk/conftest.py
@@ -8,15 +8,15 @@ from lago_fixtures import ( # noqa: F401
_local_config = {
'check_patch': {
- 'images': ['el7.4-bas... | Update the images we use in the functional tests | lago-project_lago | train | py |
16fbe2140094794f1172832507fa061638ce463b | diff --git a/src/sap.ui.demokit/src/sap/ui/demokit/explored/view/code.controller.js b/src/sap.ui.demokit/src/sap/ui/demokit/explored/view/code.controller.js
index <HASH>..<HASH> 100644
--- a/src/sap.ui.demokit/src/sap/ui/demokit/explored/view/code.controller.js
+++ b/src/sap.ui.demokit/src/sap/ui/demokit/explored/view/... | [INTERNAL] [FIX] Demokit/Explored App fix
- Fix attribute name to additionalDownloadFiles . It is located in Component.js file available in each sample folder
Change-Id: Iee5db<I>a<I>e<I>ef<I>b<I>ec<I>f8adf8 | SAP_openui5 | train | js |
9294d011c428049cb83dc94123571258a7e939fe | diff --git a/src/Content/Tag.php b/src/Content/Tag.php
index <HASH>..<HASH> 100644
--- a/src/Content/Tag.php
+++ b/src/Content/Tag.php
@@ -82,7 +82,7 @@ class Tag
$tagsDocument = $this->getTagsDocument($request, $slug);
$apiDocument->included[] = $tagsDocument->data;
- $includedTags = $tagsDo... | Check that `included` array exists (#<I>) | flarum_tags | train | php |
67a4e515e48f0312434bd7997cb7af91298a572f | diff --git a/gsh/file_transfer.py b/gsh/file_transfer.py
index <HASH>..<HASH> 100644
--- a/gsh/file_transfer.py
+++ b/gsh/file_transfer.py
@@ -31,9 +31,11 @@ CMD_RECEIVE = CMD_PREFIX + 'receive "%s" "%s"\n'
def base64version(module):
path = module.__file__
- if path.endswith('.pyc'):
+ if not path.endswit... | More robust .py finding, in case the compiled file does not end un .pyc | innogames_polysh | train | py |
2cd704a6d2f39afb03bc292e9b705f7c63945783 | diff --git a/core/chaincode/shim/mockstub.go b/core/chaincode/shim/mockstub.go
index <HASH>..<HASH> 100644
--- a/core/chaincode/shim/mockstub.go
+++ b/core/chaincode/shim/mockstub.go
@@ -62,6 +62,8 @@ type MockStub struct {
// channel to store ChaincodeEvents
ChaincodeEventsChannel chan *pb.ChaincodeEvent
+
+ Dec... | [FAB-<I>] MockStub implements GetDecorations
This commit adds GetDecorations support to MockStub and thereby
simplifies chaincode development that relies on the decorator
feature.
Change-Id: Ic8e<I>be4ec<I>d<I>e9bc4b<I>e4aca | hyperledger_fabric | train | go |
90cb3098bf004307739c507dbce854159f73b5ec | diff --git a/addon/utils/shadow/types/svg.js b/addon/utils/shadow/types/svg.js
index <HASH>..<HASH> 100644
--- a/addon/utils/shadow/types/svg.js
+++ b/addon/utils/shadow/types/svg.js
@@ -88,9 +88,11 @@ function generateSVGObject(parent, type) {
*/
function renderAttributes(ns, node, attrs) {
let map = ATTRIBUTE_M... | (Attribute map a white list) | RavelLaw_e3 | train | js |
e7812e9c6246cfe690074f477da0873d2ace85cd | diff --git a/lib/textlib.class.php b/lib/textlib.class.php
index <HASH>..<HASH> 100644
--- a/lib/textlib.class.php
+++ b/lib/textlib.class.php
@@ -46,11 +46,12 @@
$GLOBALS['TYPO3_CONF_VARS']['SYS']['t3lib_cs_utils'] = 'mbstring';
} else {
$GLOBALS['TYPO3_CONF_VARS']['SYS']['t3lib_cs_utils'] = '';... | lib/textlib.class: Cache dir is now created correctly, allowing speed increase (SR# <I>)
Previous logic had dir created only when mbstring wasn't used, but the
typo3 lib needs to cache some data regardless, for the specCharsToASCII
function, which uses internal translation tables. | moodle_moodle | train | php |
e23fa640d89fb957f931b1a6f5c091750b6105a2 | diff --git a/Tests/StreamTest.php b/Tests/StreamTest.php
index <HASH>..<HASH> 100644
--- a/Tests/StreamTest.php
+++ b/Tests/StreamTest.php
@@ -1162,6 +1162,7 @@ class StreamTest extends FilesystemTestCase
*
* @return void
*
+ * @requires PHP 5.4
* @since __DEPLOY_VERSION__
*
*/ | maybe @requires PHP <I> helps? | joomla-framework_filesystem | train | php |
f9a211b8b3901aa054a528113521266fdcd93136 | diff --git a/lib/Headers.js b/lib/Headers.js
index <HASH>..<HASH> 100644
--- a/lib/Headers.js
+++ b/lib/Headers.js
@@ -11,8 +11,12 @@ Headers.prototype.populate = function (obj, doNotStringify) {
if (typeof obj === 'string') {
this.populateFromString(obj);
} else if (obj && typeof obj === 'object') {... | Headers: Allow population from an existing Headers instance. | papandreou_messy | train | js |
896a0f4df7d48ce08570f300ce78f10e1694bd1f | diff --git a/packages/vaex-core/vaex/file/s3fs.py b/packages/vaex-core/vaex/file/s3fs.py
index <HASH>..<HASH> 100644
--- a/packages/vaex-core/vaex/file/s3fs.py
+++ b/packages/vaex-core/vaex/file/s3fs.py
@@ -1,5 +1,6 @@
import vaex.utils
import pyarrow.fs
+import warnings
s3fs = vaex.utils.optional_import('s3fs')
... | 🐛 s3fs.py missed a warnings import (#<I>)
you use the `warnings` library without importing it | vaexio_vaex | train | py |
3a4a313e7211a69b3e1d6a7f66a5490b77ac52d0 | diff --git a/lib/netsuite.rb b/lib/netsuite.rb
index <HASH>..<HASH> 100644
--- a/lib/netsuite.rb
+++ b/lib/netsuite.rb
@@ -177,4 +177,21 @@ module NetSuite
NetSuite::Configuration.instance_eval(&block)
end
+ def self.configure_from_env
+ NetSuite.configure do
+ reset!
+
+ email ENV... | Adding convenience method to load from env | NetSweet_netsuite | train | rb |
887b456494472d169a88470d074ef0a5f4cd91cc | diff --git a/src/migrations/2015_04_15_161242_create_admins.php b/src/migrations/2015_04_15_161242_create_admins.php
index <HASH>..<HASH> 100644
--- a/src/migrations/2015_04_15_161242_create_admins.php
+++ b/src/migrations/2015_04_15_161242_create_admins.php
@@ -93,6 +93,7 @@ class CreateAdmins extends Migration {
... | Explicitly setting active
I guess the callbacks aren't being fired .... not sure why ... maybe Decoy observer isn't initted yet ... that's prob it. | BKWLD_decoy | train | php |
04a91ad076de3d42e91a19e639d5cb90d1e480aa | diff --git a/dipper/models/Environment.py b/dipper/models/Environment.py
index <HASH>..<HASH> 100644
--- a/dipper/models/Environment.py
+++ b/dipper/models/Environment.py
@@ -19,7 +19,7 @@ class Environment():
# special genotype parts mapped to their GENO and SO classes that we explicitly reference here
env... | change environment id GENO-->ENVO | monarch-initiative_dipper | train | py |
989e47a7893525cd275385ef9aa9254d2ca957ef | diff --git a/knex.js b/knex.js
index <HASH>..<HASH> 100644
--- a/knex.js
+++ b/knex.js
@@ -1600,7 +1600,7 @@
// Don't try to initialize the same `name` twice... If necessary,
// delete the instance from `Knex.Instances`.
if (Knex.Instances[name]) {
- throw new Error('An instance named ' + name + ' a... | throw helpful exception when you mistype the client
Catch any exceptions thrown when requiring a client file and throw a more helpful exception. | tgriesser_knex | train | js |
db136dd40739e9e2f54e0a18e18a077b826dfb31 | diff --git a/packages/core/renderers/renderer-hyperhtml.js b/packages/core/renderers/renderer-hyperhtml.js
index <HASH>..<HASH> 100644
--- a/packages/core/renderers/renderer-hyperhtml.js
+++ b/packages/core/renderers/renderer-hyperhtml.js
@@ -88,7 +88,7 @@ export function BoltComponent(Base = HTMLElement) {
//... | fix: fixing double quotes lint error | bolt-design-system_bolt | train | js |
50aaba4700ea2c4855e4a2dd136b30ad5bac35cc | diff --git a/resource_aws_s3_bucket_object.go b/resource_aws_s3_bucket_object.go
index <HASH>..<HASH> 100644
--- a/resource_aws_s3_bucket_object.go
+++ b/resource_aws_s3_bucket_object.go
@@ -216,6 +216,8 @@ func resourceAwsS3BucketObjectPut(d *schema.ResourceData, meta interface{}) erro
func resourceAwsS3BucketObjectR... | Don't error out getting s3 object tags in govcloud | terraform-providers_terraform-provider-aws | train | go |
081da8576f8643f0be046d548bf5c7b33725f8d2 | diff --git a/furious/async.py b/furious/async.py
index <HASH>..<HASH> 100644
--- a/furious/async.py
+++ b/furious/async.py
@@ -139,6 +139,7 @@ class Async(object):
task = self.to_task()
Queue(name=self.get_queue()).add(task)
+ # TODO: Return a "result" object.
def to_dict(self):
... | Add TODO about returning an Async result object after enqueing. | Workiva_furious | train | py |
b83ef46aad8e892c2dc8e38ea6cb81480f42d8fd | diff --git a/protocols.py b/protocols.py
index <HASH>..<HASH> 100644
--- a/protocols.py
+++ b/protocols.py
@@ -82,7 +82,13 @@ def const_infer_binary_op(self, operator, other, context):
if isinstance(other, nodes.Const):
try:
impl = BIN_OP_IMPL[operator]
- yield cons... | catch arithmetic errors in const_infer_binary_op | PyCQA_astroid | train | py |
a89367799a3f700d897459b17aa0bfd92659b8c5 | diff --git a/scripts/multiapi_init_gen.py b/scripts/multiapi_init_gen.py
index <HASH>..<HASH> 100644
--- a/scripts/multiapi_init_gen.py
+++ b/scripts/multiapi_init_gen.py
@@ -7,7 +7,11 @@ from pathlib import Path
sdk_root = Path(__file__).parents[1]
package_name = sys.argv[1]
+split_package_name = package_name.spli... | Update multiapi script to support submodule [skip ci] | Azure_azure-sdk-for-python | train | py |
50ece17c75ae988026183beb0482dfaa8a84ead8 | diff --git a/lib/node-varnish/varnish_client.js b/lib/node-varnish/varnish_client.js
index <HASH>..<HASH> 100644
--- a/lib/node-varnish/varnish_client.js
+++ b/lib/node-varnish/varnish_client.js
@@ -38,7 +38,7 @@ function VarnishClient(host, port, ready_callback) {
client.on('data', function (data) {
da... | Fix leak of global "lines" variable (closes #1) | Vizzuality_node-varnish | train | js |
173f7a2e54d2d7e25f10c6250c0b1333c59c916a | diff --git a/lib/onix.rb b/lib/onix.rb
index <HASH>..<HASH> 100644
--- a/lib/onix.rb
+++ b/lib/onix.rb
@@ -3,6 +3,7 @@
require 'rubygems'
require 'bigdecimal'
require 'cgi'
+require 'libxml'
require 'roxml'
require 'andand' | explicitly load LibXML
- roxml3 is nokogiri based, so doesn't load it for us any more | yob_onix | train | rb |
d6e7dfee837156d34b68f47ccbc995b8c9e5aedf | diff --git a/test/integration/client/configuration-tests.js b/test/integration/client/configuration-tests.js
index <HASH>..<HASH> 100644
--- a/test/integration/client/configuration-tests.js
+++ b/test/integration/client/configuration-tests.js
@@ -18,7 +18,7 @@ suite.test('default values are used in new clients', functi... | Replace poolSize by max in configuration test | brianc_node-postgres | train | js |
f6c4c081e259076c3b3f8fd890c2543efd878fbe | diff --git a/redis/client/client.go b/redis/client/client.go
index <HASH>..<HASH> 100644
--- a/redis/client/client.go
+++ b/redis/client/client.go
@@ -289,3 +289,12 @@ func (c *client) lookupAlias(cmd string) string {
}
return alias
}
+
+func CmdAliases(aliases map[string]string) Option {
+ return func(c *client) ... | Add cmdfAliases method for redis-backups
[#<I>] | pivotal-cf_cf-redis-broker | train | go |
dc12a369d185f46cd42801f47f6645b1adf2a00f | diff --git a/db/schema.rb b/db/schema.rb
index <HASH>..<HASH> 100755
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -126,14 +126,4 @@ ActiveRecord::Schema.define(:version => 0) do
t.datetime "updated_at", :null => false
end
- add_index "term_relationships_banners", ["banner_id"], :name => "post_id"
-
- create_tab... | updaets to the seeds file | mrsimonfletcher_roroacms | train | rb |
891956c041d1ca107f353dee37d5c7dbd85762cb | diff --git a/examples/using_pymunk.py b/examples/using_pymunk.py
index <HASH>..<HASH> 100644
--- a/examples/using_pymunk.py
+++ b/examples/using_pymunk.py
@@ -3,7 +3,6 @@ import struct
import numpy as np
import pymunk
-from PIL import Image
from pymunk import Vec2d
import data
@@ -67,12 +66,10 @@ class PymunkEx... | using_pymunk: Load textures using bult in loaders | moderngl_moderngl | train | py |
8c996d0c9fd5b80d35c1207d77e51ccbda4693a5 | diff --git a/lib/redis_failover/node_manager.rb b/lib/redis_failover/node_manager.rb
index <HASH>..<HASH> 100644
--- a/lib/redis_failover/node_manager.rb
+++ b/lib/redis_failover/node_manager.rb
@@ -459,6 +459,11 @@ module RedisFailover
"#{@root_znode}/nodes"
end
+ # @return [String] root path for curr... | Insert the "root_znode" path before "master_redis_node_manager_lock" and expose via accessor | ryanlecompte_redis_failover | train | rb |
c83290f2303c0dbc97619307a00bd5a72908e6ec | diff --git a/lib/meta_inspector/open_uri.rb b/lib/meta_inspector/open_uri.rb
index <HASH>..<HASH> 100644
--- a/lib/meta_inspector/open_uri.rb
+++ b/lib/meta_inspector/open_uri.rb
@@ -3,6 +3,8 @@
# http://redmine.ruby-lang.org/issues/3719
# Source here:
# https://github.com/ruby/ruby/blob/trunk/lib/open-uri.rb
+# Ori... | Added gist url for the open-uri monkey patch | jaimeiniesta_metainspector | train | rb |
175e304c7d55c5193ee418f51ae314a035b6b122 | diff --git a/lib/orbacle/data_flow_graph.rb b/lib/orbacle/data_flow_graph.rb
index <HASH>..<HASH> 100644
--- a/lib/orbacle/data_flow_graph.rb
+++ b/lib/orbacle/data_flow_graph.rb
@@ -737,9 +737,10 @@ module Orbacle
return [Node.new(:nil), lenv]
else
@tree.add_constant(
- name: const_na... | Change the way constants are added to global tree | swistak35_orbacle | train | rb,rb |
5be8dcb7438d58ec9aaf4795b66bea1505337963 | diff --git a/client/state/ui/guided-tours/selectors.js b/client/state/ui/guided-tours/selectors.js
index <HASH>..<HASH> 100644
--- a/client/state/ui/guided-tours/selectors.js
+++ b/client/state/ui/guided-tours/selectors.js
@@ -53,10 +53,7 @@ const getToursFromFeaturesReached = createSelector(
* recently and in the pa... | Guided Tours: Use Lodash map for seen tours history | Automattic_wp-calypso | train | js |
1617c3b5438e976788246fd0764efb8a27639d10 | diff --git a/plugins/UserSettings/API.php b/plugins/UserSettings/API.php
index <HASH>..<HASH> 100644
--- a/plugins/UserSettings/API.php
+++ b/plugins/UserSettings/API.php
@@ -144,12 +144,17 @@ class Piwik_UserSettings_API
// be sorted by the generic filters (applied right after this function exits)
$table->filt... | fixes #<I> java detection works in IE, aswell.
this is just a hotfix. code will be refactored in #<I>
git-svn-id: <URL> | matomo-org_matomo | train | php |
6d6c5a8861e39138423052067b53f8acbc697fa8 | diff --git a/lib/foreman_remote_execution_core/version.rb b/lib/foreman_remote_execution_core/version.rb
index <HASH>..<HASH> 100644
--- a/lib/foreman_remote_execution_core/version.rb
+++ b/lib/foreman_remote_execution_core/version.rb
@@ -1,3 +1,3 @@
module ForemanRemoteExecutionCore
- VERSION = '1.1.3'.freeze
+ VER... | Bump core version to <I> | theforeman_foreman_remote_execution | train | rb |
2a5847d9033392a3bbe8d1015501dd9373787233 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -17,7 +17,7 @@ setup(
install_requires=['requests', ],
license='BSD',
classifiers=(
- 'Development Status :: 4 - Beta',
+ "Development Status :: 5 - Production/Stable",
'Intended Audience ... | requests-oauth2 is now stable | maraujop_requests-oauth2 | train | py |
eda2b4f798e831615b00d31e4b50c4a7ed52a80f | diff --git a/structr-ui/src/main/java/org/structr/web/auth/UiAuthenticator.java b/structr-ui/src/main/java/org/structr/web/auth/UiAuthenticator.java
index <HASH>..<HASH> 100644
--- a/structr-ui/src/main/java/org/structr/web/auth/UiAuthenticator.java
+++ b/structr-ui/src/main/java/org/structr/web/auth/UiAuthenticator.ja... | Bugfix: make oauth login process search for users with lower-case credentials as well. | structr_structr | train | java |
14d49b38ef6e0c6339f2f17da7b472e2649fe7f4 | diff --git a/mailbody.js b/mailbody.js
index <HASH>..<HASH> 100644
--- a/mailbody.js
+++ b/mailbody.js
@@ -63,6 +63,7 @@ Body.prototype.parse_start = function (line) {
enc = '8bit';
}
enc = enc.replace(/^quoted-printable$/i, 'qp');
+ enc = enc.toLowerCase();
this.decode_function = this[... | Make sure we lower case the encoding | haraka_Haraka | train | js |
373d05c9bacbbcd262a51887f7bf9f10cfc91a16 | diff --git a/src/Symfony/Bundle/DoctrineMongoDBBundle/DoctrineMongoDBBundle.php b/src/Symfony/Bundle/DoctrineMongoDBBundle/DoctrineMongoDBBundle.php
index <HASH>..<HASH> 100755
--- a/src/Symfony/Bundle/DoctrineMongoDBBundle/DoctrineMongoDBBundle.php
+++ b/src/Symfony/Bundle/DoctrineMongoDBBundle/DoctrineMongoDBBundle.p... | [DoctrineMongoDBBundle] removed trailing space | symfony_symfony | train | php |
b9cb60da6490768ebed28134d577f47543bd7e73 | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -40,7 +40,7 @@ module.exports = function(config_hash) {
app.use(basic_auth(function(user, pass) {
return config.authenticate(user, pass);
}));
- app.use(express.bodyParser({strict: false}));
+ app.use(ex... | replacing connect.bodyParser with connect.json | verdaccio_verdaccio | train | js |
aa0cc9549562aa9d5836f8ac2ac8e4571be5b1d5 | diff --git a/lib/toy/dynamo/table.rb b/lib/toy/dynamo/table.rb
index <HASH>..<HASH> 100644
--- a/lib/toy/dynamo/table.rb
+++ b/lib/toy/dynamo/table.rb
@@ -182,7 +182,7 @@ module Toy
raise ArgumentError, ":range key must be a Range if using the operator BETWEEN" if comparison_operator == "between" && !options... | fix for gsi/lsi default to projected attrs | cdunn_toy-dynamo | train | rb,rb |
23f4577c17c2caa6001995883ccb5e30a7923959 | diff --git a/lib/thumbnailer.js b/lib/thumbnailer.js
index <HASH>..<HASH> 100644
--- a/lib/thumbnailer.js
+++ b/lib/thumbnailer.js
@@ -183,7 +183,7 @@ Thumbnailer.prototype.fill = function() {
Thumbnailer.prototype.strict = function() {
var dimensionsString = this.width + 'X' + this.height,
qualityString = (this.... | Fixed issue for strict strategy where localPaths[0] was misdefined as localPath causing failure of image convertion using this stategy. | bcoe_thumbd | train | js |
199ec74aa386336d5e2406b94fd146fc62b92058 | diff --git a/lib/salesforce_bulk.rb b/lib/salesforce_bulk.rb
index <HASH>..<HASH> 100644
--- a/lib/salesforce_bulk.rb
+++ b/lib/salesforce_bulk.rb
@@ -49,10 +49,9 @@ module SalesforceBulk
end
job.close_job()
- state = job.check_batch_status()
while true
- #puts "\nstate is #{state}\n"... | Remove unnecessary check status call, while loop takes care of the first one | propertybase_executrix | train | rb |
d81870a7c550981e55c8294d277adf3fc209b9d1 | diff --git a/lib/iglu-client/resolver.rb b/lib/iglu-client/resolver.rb
index <HASH>..<HASH> 100644
--- a/lib/iglu-client/resolver.rb
+++ b/lib/iglu-client/resolver.rb
@@ -70,10 +70,6 @@ module Iglu
@cache[schema_key] = [lookup_result, store_time]
lookup_result
end
- else
- if ... | Remove unnecessary ResolverError check from cache (close #<I>) | snowplow_iglu-ruby-client | train | rb |
c5de4ea147e8b6a9d5a807c7c20c44b7338b5831 | diff --git a/src/com/esotericsoftware/yamlbeans/Beans.java b/src/com/esotericsoftware/yamlbeans/Beans.java
index <HASH>..<HASH> 100644
--- a/src/com/esotericsoftware/yamlbeans/Beans.java
+++ b/src/com/esotericsoftware/yamlbeans/Beans.java
@@ -184,7 +184,7 @@ class Beans {
}
}
if (getMethod != null && (se... | Restoration logic (#<I>) | EsotericSoftware_yamlbeans | train | java |
c5303423b3cff80b55e9521598284c8440088572 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -34,7 +34,7 @@ def readme():
configuration = {
'name' : 'hdbscan',
- 'version' : '0.6',
+ 'version' : '0.6.1',
'description' : 'Clustering based on density with variable density clusters',
'long_descrip... | Update version to fix issue #<I>. | scikit-learn-contrib_hdbscan | train | py |
fca9b2fdabe3d9948b1a5fd5dc5aa3cbc2513cc9 | diff --git a/src/cs50/flask.py b/src/cs50/flask.py
index <HASH>..<HASH> 100644
--- a/src/cs50/flask.py
+++ b/src/cs50/flask.py
@@ -8,7 +8,7 @@ try:
# Only patch 0.12 (in case logging changes in 0.13)
version = StrictVersion(get_distribution("flask").version)
- assert version >= StrictVersion("0.11") and ... | lowered flask requirement to <I> | cs50_python-cs50 | train | py |
670b2255dccce28b9cb84612a92f56a620bb2668 | diff --git a/lib/sgf/parser.rb b/lib/sgf/parser.rb
index <HASH>..<HASH> 100644
--- a/lib/sgf/parser.rb
+++ b/lib/sgf/parser.rb
@@ -43,7 +43,10 @@ module SGF
private
def check_for_errors_before_parsing string
- raise(SGF::MalformedDataError, "The first two characters of the string should be (;") unless ... | update parser to be a little more readable | Trevoke_SGFParser | train | rb |
96e569d3b15b226d6eaefcad88fcfb7d89e2d380 | diff --git a/src/engine/Engine.js b/src/engine/Engine.js
index <HASH>..<HASH> 100644
--- a/src/engine/Engine.js
+++ b/src/engine/Engine.js
@@ -4,7 +4,7 @@ const List = require('./List');
const Clause = require('./Clause');
const LiteralTreeMap = require('./LiteralTreeMap');
const Resolutor = require('./Resolutor');
... | update engine to accept program instead of nodes | lps-js_lps.js | train | js |
7f420e2effa58accd30a25289a63832aa2b046af | diff --git a/lib/ducktrap/singleton.rb b/lib/ducktrap/singleton.rb
index <HASH>..<HASH> 100644
--- a/lib/ducktrap/singleton.rb
+++ b/lib/ducktrap/singleton.rb
@@ -32,6 +32,7 @@ module Ducktrap
end
alias_method :build, :instance
+
end # ClassMethods
# Hook called when module is included
@@ -4... | Implement singleton included hook in a simpler way | mbj_ducktrap | train | rb |
914a1a9ec55cd76bedfed4086c35866733128036 | diff --git a/test/env_fn.js b/test/env_fn.js
index <HASH>..<HASH> 100644
--- a/test/env_fn.js
+++ b/test/env_fn.js
@@ -2,10 +2,11 @@ var test = require('tape');
var parse = require('../').parse;
test('functional env expansion', function (t) {
- t.plan(2);
+ t.plan(3);
t.same(parse('a $XYZ c', getEn... | another check just to make sure env() works | substack_node-shell-quote | train | js |
d67a7402ea7357f82b6de11d260de97a0563dc6c | diff --git a/src/main/java/uk/co/real_logic/agrona/concurrent/AgentRunner.java b/src/main/java/uk/co/real_logic/agrona/concurrent/AgentRunner.java
index <HASH>..<HASH> 100644
--- a/src/main/java/uk/co/real_logic/agrona/concurrent/AgentRunner.java
+++ b/src/main/java/uk/co/real_logic/agrona/concurrent/AgentRunner.java
@... | add case to account for a ClosedByInterruptException | real-logic_agrona | train | java |
b439b78705b7998cc6b1a26e5f90ffa972f2779b | diff --git a/actionview/lib/action_view/base.rb b/actionview/lib/action_view/base.rb
index <HASH>..<HASH> 100644
--- a/actionview/lib/action_view/base.rb
+++ b/actionview/lib/action_view/base.rb
@@ -276,7 +276,7 @@ module ActionView #:nodoc:
_old_output_buffer, _old_template = @output_buffer, @current_template
... | Methods defined per Action View templates are public methods | rails_rails | train | rb |
b0c1bcf99ab0959281d5a93a39c1cd8b31b7f390 | diff --git a/src/ContentDelivery/Catalog/ProductListingRequestHandlerTrait.php b/src/ContentDelivery/Catalog/ProductListingRequestHandlerTrait.php
index <HASH>..<HASH> 100644
--- a/src/ContentDelivery/Catalog/ProductListingRequestHandlerTrait.php
+++ b/src/ContentDelivery/Catalog/ProductListingRequestHandlerTrait.php
@... | Issue #<I>: Remove JSON_PRETTY_PRINT previously used for debugging | lizards-and-pumpkins_catalog | train | php |
fc13cd45b9ecc09c61458b61c4bd05bdf4d97acd | diff --git a/lib/core/jhipster/application_options.js b/lib/core/jhipster/application_options.js
index <HASH>..<HASH> 100644
--- a/lib/core/jhipster/application_options.js
+++ b/lib/core/jhipster/application_options.js
@@ -43,6 +43,7 @@ const Options = {
ehcache: 'ehcache',
hazelcast: 'hazelcast',
infini... | Added new option memcached to cache providers | jhipster_generator-jhipster | train | js |
f1c8de4befc525e9c5c40c69f4aa4526c892e3f0 | diff --git a/spec/licensee/matchers/dice_matcher_spec.rb b/spec/licensee/matchers/dice_matcher_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/licensee/matchers/dice_matcher_spec.rb
+++ b/spec/licensee/matchers/dice_matcher_spec.rb
@@ -34,7 +34,7 @@ RSpec.describe Licensee::Matchers::Dice do
let(:content) { 'Not re... | consistently use be_nil pointed out by rubocop | licensee_licensee | train | rb |
88d85cc1cbd026ebf6c3aa125d8594386e3b8d45 | diff --git a/lib/async.js b/lib/async.js
index <HASH>..<HASH> 100644
--- a/lib/async.js
+++ b/lib/async.js
@@ -54,9 +54,7 @@ AsyncManager.prototype = {
waiting: function(promise) {
this._async.count++;
var self = this;
- if (this.parent && this.parent.waiting)
- this.parent.waiting(promise);
- return promis... | debug async waiting and delay sequence : child stabilisation before parent | nomocas_yamvish | train | js |
577d233d53621a942446d7d49fcf1b455d329360 | diff --git a/mod/assignment/type/upload/assignment.class.php b/mod/assignment/type/upload/assignment.class.php
index <HASH>..<HASH> 100644
--- a/mod/assignment/type/upload/assignment.class.php
+++ b/mod/assignment/type/upload/assignment.class.php
@@ -324,9 +324,8 @@ class assignment_upload extends assignment_base {
... | MDL-<I> - superfluous required_param causing problems in upload
assignment user report. | moodle_moodle | train | php |
234acaf66e816b68001c10445d66d7a27fd04e21 | diff --git a/sporco/cupy/__init__.py b/sporco/cupy/__init__.py
index <HASH>..<HASH> 100644
--- a/sporco/cupy/__init__.py
+++ b/sporco/cupy/__init__.py
@@ -49,6 +49,15 @@ if not hasattr(cp, 'product'):
+def cupy_enabled():
+ """Return ``True`` if CuPy is installed and a GPU device is available,
+ otherwise r... | Bug fix and add cupy_enabled utility function | bwohlberg_sporco | train | py |
81dccf2326d6e18877d92040f7ef574fd947dc87 | diff --git a/src/Storefront/Resources/src/script/plugin/slider/base-slider.plugin.js b/src/Storefront/Resources/src/script/plugin/slider/base-slider.plugin.js
index <HASH>..<HASH> 100644
--- a/src/Storefront/Resources/src/script/plugin/slider/base-slider.plugin.js
+++ b/src/Storefront/Resources/src/script/plugin/slider... | NEXT-<I> - image-gallery: fixed dot navigation with only two images | shopware_platform | train | js |
09fa72be46285238cb845b01db41500ef03a558b | diff --git a/src/Synapse/Controller/AbstractRestController.php b/src/Synapse/Controller/AbstractRestController.php
index <HASH>..<HASH> 100644
--- a/src/Synapse/Controller/AbstractRestController.php
+++ b/src/Synapse/Controller/AbstractRestController.php
@@ -7,6 +7,7 @@ use RuntimeException;
use Symfony\Component\Http... | Refs #<I> - If an ArraySerializable is returned by a rest method, wrap it in an ObjectResponse. | synapsestudios_synapse-base | train | php |
c82f631b93cc7c8a262570871330c7f0d4f91fd9 | diff --git a/lib/jitsu/api/databases.js b/lib/jitsu/api/databases.js
index <HASH>..<HASH> 100644
--- a/lib/jitsu/api/databases.js
+++ b/lib/jitsu/api/databases.js
@@ -45,7 +45,7 @@ Databases.prototype.list = function (callback) {
});
};
-Databases.prototype.delete = function (databaseName, callback) {
+Databases.... | [fix] forgot this change in the last commit | nodejitsu_jitsu | train | js |
044e2a2744daf37904ff69220c5b9c85d41d3e8c | diff --git a/src/geo/ui/widgets/histogram/chart.js b/src/geo/ui/widgets/histogram/chart.js
index <HASH>..<HASH> 100644
--- a/src/geo/ui/widgets/histogram/chart.js
+++ b/src/geo/ui/widgets/histogram/chart.js
@@ -7,7 +7,7 @@ var View = require('cdb/core/view');
module.exports = View.extend({
defaults: {
- minimu... | Increases min height to 2px | CartoDB_carto.js | train | js |
bf3e64d473f5ee1b05f18d61de7affcfc3f55687 | diff --git a/testing/test_runner.py b/testing/test_runner.py
index <HASH>..<HASH> 100644
--- a/testing/test_runner.py
+++ b/testing/test_runner.py
@@ -423,27 +423,6 @@ class TestExecutionNonForked(BaseFunctionalTests):
assert False, "did not raise"
-class TestExecutionForked(BaseFunctionalTests):
- ... | Remove TestExecutionForked - xdist.boxed has gone since long (#<I>)
Tried to write a test using `--boxed`, but it fails due to
<URL> | pytest-dev_pytest | train | py |
eeb80b0956f1698e789bb1e7e1fb8613a4b31feb | diff --git a/aiotg/bot.py b/aiotg/bot.py
index <HASH>..<HASH> 100644
--- a/aiotg/bot.py
+++ b/aiotg/bot.py
@@ -7,6 +7,11 @@ from urllib.parse import urlparse
import aiohttp
from aiohttp import web
import json
+try:
+ import certifi
+ import ssl
+except ImportError:
+ certifi = None
from .chat import Chat... | Use certifi[1] package if it's available.
Python built-in ssl has some platforms (like MacOS), certifi package
solves them but aiotg needs to integrate it.
1. <URL> | szastupov_aiotg | train | py |
3360522712d4ca2a5e87bd959175f5d187f0065c | diff --git a/lib/clockwork.rb b/lib/clockwork.rb
index <HASH>..<HASH> 100644
--- a/lib/clockwork.rb
+++ b/lib/clockwork.rb
@@ -2,6 +2,7 @@ lib_dir = File.expand_path(File.dirname(__FILE__))
$LOAD_PATH.unshift lib_dir unless $LOAD_PATH.include?(lib_dir)
require 'net/http'
+require 'net/https'
require 'nokogiri'
... | Ruby <I> support
Requested by end users, tested under Ruby <I> | mediaburst_clockwork-ruby | train | rb,rb |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.