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 |
|---|---|---|---|---|---|
50ec26c22ea1b2b257470b893513e54ce22e1672 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -28,7 +28,7 @@ function _getManifestData(file, opts) {
if (_.isObject(json)) {
var isRev = 1;
Object.keys(json).forEach(function (key) {
- if ( path.basename(json[key]).replace... | Fix issue where rev detection fails with additional JSON files | shonny-ua_gulp-rev-collector | train | js |
0bc6f25f0a71af53a418f17e15c7fb2db5754df3 | diff --git a/sklearn_evaluation/__init__.py b/sklearn_evaluation/__init__.py
index <HASH>..<HASH> 100644
--- a/sklearn_evaluation/__init__.py
+++ b/sklearn_evaluation/__init__.py
@@ -1,4 +1,4 @@
-__version__ = '0.4dev'
+__version__ = '0.4'
from .evaluator import ClassifierEvaluator | bumps up version to <I> | edublancas_sklearn-evaluation | train | py |
4aa523b70a6f8652ac2249182e60a96834e759de | diff --git a/core/src/main/java/hudson/Functions.java b/core/src/main/java/hudson/Functions.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/hudson/Functions.java
+++ b/core/src/main/java/hudson/Functions.java
@@ -307,4 +307,8 @@ public class Functions {
public static String getWin32ErrorMessage(IOExcepti... | added a method to detect multi-line string. Used in views.
git-svn-id: <URL> | jenkinsci_jenkins | train | java |
bfeba9a6ef26b34a0f6599225a7d7fed54b3b872 | diff --git a/katcp/resource_client.py b/katcp/resource_client.py
index <HASH>..<HASH> 100644
--- a/katcp/resource_client.py
+++ b/katcp/resource_client.py
@@ -101,8 +101,8 @@ def list_sensors(parent_class, sensor_items, filter, strategy, status, use_pytho
sensor_obj.type,
... | Have to return sampling_strategy as before - some components unpacks it | ska-sa_katcp-python | train | py |
723878177511ac32b27f6b57f31602f920fb6187 | diff --git a/src/Message/CompletePurchaseResponse.php b/src/Message/CompletePurchaseResponse.php
index <HASH>..<HASH> 100644
--- a/src/Message/CompletePurchaseResponse.php
+++ b/src/Message/CompletePurchaseResponse.php
@@ -18,4 +18,9 @@ class CompletePurchaseResponse extends AbstractResponse
{
return isse... | added getTransactionId() method to completePurchaseResponse | collizo4sky_omnipay-2checkout | train | php |
7347b391d8f2f9c490aa2c53d016867204bf67b0 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -20,7 +20,7 @@ let config = {
//prebuild the UI stuff
for (var key in params) {
if (key != '_local' && key != '_global') {
- ui[key] = merge(params._global && params._global.ui, params[key].ui);
+ ui[key] = mer... | Fixing bug when global is missing and merge | LeoPlatform_leo-config | train | js |
a58ffbec42f4c6941f39a3cd0c377c2b27c3d860 | diff --git a/Feed/Feed.php b/Feed/Feed.php
index <HASH>..<HASH> 100644
--- a/Feed/Feed.php
+++ b/Feed/Feed.php
@@ -15,8 +15,6 @@ use Eko\FeedBundle\Field\Item\ItemFieldInterface;
use Eko\FeedBundle\Item\Writer\ItemInterface;
use Eko\FeedBundle\Item\Writer\ProxyItem;
use Eko\FeedBundle\Item\Writer\RoutedItemInterface... | Fix unusued use statements and php doc | eko_FeedBundle | train | php,php |
4a19ab3da85b9aa62a08cc6e9e48752cf8d5191d | diff --git a/cli.js b/cli.js
index <HASH>..<HASH> 100755
--- a/cli.js
+++ b/cli.js
@@ -38,6 +38,12 @@ program
null
)
.option(
+ '-C, --countries-black-list <list>',
+ 'Exclude proxies from these countries [de, gb, ..]',
+ list,
+ null
+ )
+ .option(
'-p, --protocols <list>',
'Get proxies that support t... | Added --countries-black-list to CLI | chill117_proxy-lists | train | js |
863e114bcdcfa02e59cec9c657eae85a37851143 | diff --git a/doc/conf.py b/doc/conf.py
index <HASH>..<HASH> 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -47,20 +47,28 @@ extensions = [
# Single file redirects are handled in this file and can be done by a pylint
-# contributor. See:
+# contributor if no englobing full directory redirect is applied first. See:
... | [doc] Add an assertion for redirection that will silentely fail | PyCQA_pylint | train | py |
e5a3f5fefa938513787c58d2ea770834d1da202c | diff --git a/lib/podio-js.js b/lib/podio-js.js
index <HASH>..<HASH> 100644
--- a/lib/podio-js.js
+++ b/lib/podio-js.js
@@ -1,4 +1,4 @@
-var VERSION = '1.0.0';
+var VERSION = require('../package.json').version;
var _ = require('lodash'); | Read current version from `package.json` | podio_podio-js | train | js |
50b4ee18a5648985bd4da440c2e13ecb83329a07 | diff --git a/lib/Doctrine/ODM/PHPCR/UnitOfWork.php b/lib/Doctrine/ODM/PHPCR/UnitOfWork.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/ODM/PHPCR/UnitOfWork.php
+++ b/lib/Doctrine/ODM/PHPCR/UnitOfWork.php
@@ -1568,7 +1568,7 @@ class UnitOfWork
// update fields nodename and parentMapping if they exist i... | get node from session in move operation, document might not map the node but could map parent or nodename | doctrine_phpcr-odm | train | php |
66504a9ef260644cf5638fc7af07f37cddaec0f0 | diff --git a/test/KeyManager.js b/test/KeyManager.js
index <HASH>..<HASH> 100644
--- a/test/KeyManager.js
+++ b/test/KeyManager.js
@@ -35,9 +35,11 @@ const engineState = new EngineState({
describe(`Key Manager`, function () {
it('creates new key manager', function () {
const keyManager = new KeyManager(walletI... | fix tests for new async api | EdgeApp_edge-currency-bitcoin | train | js,js |
75b3c3f7502a44b507d43374e5a57cad4e71ed84 | diff --git a/dcf/fx.py b/dcf/fx.py
index <HASH>..<HASH> 100755
--- a/dcf/fx.py
+++ b/dcf/fx.py
@@ -16,19 +16,27 @@ import curve
class Price(object):
+ @property
+ def value(self):
+ return self._value
- def __init__(self, value, origin):
- self.value = value
- self.origin = origin
+... | update Price and rename FxSpot -> FxRate | pbrisk_dcf | train | py |
ad77143417041c6ec93d8a8a287b0bfb96d7dcb0 | diff --git a/test/spec/ol/interaction/select.test.js b/test/spec/ol/interaction/select.test.js
index <HASH>..<HASH> 100644
--- a/test/spec/ol/interaction/select.test.js
+++ b/test/spec/ol/interaction/select.test.js
@@ -427,7 +427,7 @@ describe('ol.interaction.Select', function() {
});
// The base case
- ... | Experiment with test impact further (3) | openlayers_openlayers | train | js |
fd1937fc46acd27b76ee8419ff0c4bc6216edf3a | diff --git a/ui/admin/setup-add.php b/ui/admin/setup-add.php
index <HASH>..<HASH> 100644
--- a/ui/admin/setup-add.php
+++ b/ui/admin/setup-add.php
@@ -11,7 +11,20 @@
<input type="hidden" name="_wpnonce" value="<?php echo wp_create_nonce( 'pods-add_pod' ); ?>" />
<input type="hidden" name="crea... | Add Back to Manage link on Add New Pod screen | pods-framework_pods | train | php |
91986b9a2386c35f381f20fd2250d04abf582d4c | diff --git a/pvlib/clearsky.py b/pvlib/clearsky.py
index <HASH>..<HASH> 100644
--- a/pvlib/clearsky.py
+++ b/pvlib/clearsky.py
@@ -647,8 +647,6 @@ def _calc_stats(data, samples_per_window, sample_interval, H):
data_slope = data_diff / sample_interval
data_slope_nstd = _slope_nstd_windowed(data_slope.values[:-... | remove ineffective assignment of `data_slope_nstd` (#<I>)
This addresses 1 of the problems from #<I>; The easiest tbh | pvlib_pvlib-python | train | py |
40d81d71d3cb3e506f08cc2eb2ae683f3da40021 | diff --git a/sbe-tool/src/main/java/uk/co/real_logic/sbe/ir/Ir.java b/sbe-tool/src/main/java/uk/co/real_logic/sbe/ir/Ir.java
index <HASH>..<HASH> 100644
--- a/sbe-tool/src/main/java/uk/co/real_logic/sbe/ir/Ir.java
+++ b/sbe-tool/src/main/java/uk/co/real_logic/sbe/ir/Ir.java
@@ -102,7 +102,7 @@ public class Ir
... | [Java] Added TODO so don't forget to handle field offsets. | real-logic_simple-binary-encoding | train | java |
7132ca01461c48eecb80dbb293b356d3551c78cc | diff --git a/mod/quiz/locallib.php b/mod/quiz/locallib.php
index <HASH>..<HASH> 100644
--- a/mod/quiz/locallib.php
+++ b/mod/quiz/locallib.php
@@ -2253,6 +2253,8 @@ function default_export_filename($course,$category) {
*/
function get_questions_category( $category ) {
+ global $QUIZ_QTYPES;
+
// questions w... | Now calls get_question_option() in appropriate question_type to get question
objects for quiz export. Bad news is that format is different, so all export
classes will need modifying. Will remove old code when complete. | moodle_moodle | train | php |
f987aed9dfa58b5c0ceeba832b34cb0a2a4deda3 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,13 +1,8 @@
"""setup.py file."""
-import uuid
-
from setuptools import setup, find_packages
-from pip.req import parse_requirements
-
-
-install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1())
-reqs = [... | Fixing PIP<I> compatibility issue | napalm-automation_napalm-ansible | train | py |
649119d7b7d26a17227926386ecc54d142a736c6 | diff --git a/genes/api.py b/genes/api.py
index <HASH>..<HASH> 100644
--- a/genes/api.py
+++ b/genes/api.py
@@ -58,16 +58,14 @@ class GeneResource(ModelResource):
self.throttle_check(request)
if request.method == 'GET':
- gene_result_limit = request.GET.get('gene_result_limit')
- ... | Cutting down on some code repetition in gene search function in api.py | greenelab_django-genes | train | py |
804329d7776f3b97b8f248f44d314afb00ce753e | diff --git a/tests/unit/test_regressions.py b/tests/unit/test_regressions.py
index <HASH>..<HASH> 100644
--- a/tests/unit/test_regressions.py
+++ b/tests/unit/test_regressions.py
@@ -1520,8 +1520,8 @@ def test_isort_adding_second_comma_issue_1621():
def test_isort_shouldnt_duplicate_comments_issue_1631():
assert ... | Update test to use correct spacing for comments | timothycrosley_isort | train | py |
25f3a34cf20581e70c0dfc94eb5c5355f1219359 | diff --git a/test/test_file_resource.rb b/test/test_file_resource.rb
index <HASH>..<HASH> 100644
--- a/test/test_file_resource.rb
+++ b/test/test_file_resource.rb
@@ -74,4 +74,15 @@ class TestFileResource < Minitest::Test
assert_equal FILE_RESOURCE_ID, response.id
assert_equal ORGANIZATION_ID, response.organi... | add a test for the file upload | psusmars_MyJohnDeere-RubyGem | train | rb |
a776ca4c6db3b52a4d4d53cd93daf52e1b86fce2 | diff --git a/src/main/resources/META-INF/resources/semanticcms-openfile-servlet/scripts.js b/src/main/resources/META-INF/resources/semanticcms-openfile-servlet/scripts.js
index <HASH>..<HASH> 100644
--- a/src/main/resources/META-INF/resources/semanticcms-openfile-servlet/scripts.js
+++ b/src/main/resources/META-INF/res... | Changed "$" to "jQuery" for jQuery 3 compatibility. | aoindustries_semanticcms-openfile-servlet | train | js |
ef2a614274dbd8d40b44ac5b478bde49822fbb76 | diff --git a/helusers/tests/test_oidc_api_token_authentication.py b/helusers/tests/test_oidc_api_token_authentication.py
index <HASH>..<HASH> 100644
--- a/helusers/tests/test_oidc_api_token_authentication.py
+++ b/helusers/tests/test_oidc_api_token_authentication.py
@@ -11,7 +11,7 @@ from .keys import rsa_key
ISSUER... | Rename inner class to unconfuse Pytest
Pytest searches for test classes that start with "Test". It got confused
by the previous name and printed a warning. This small renaming gets rid
of that warning. | City-of-Helsinki_django-helusers | train | py |
7807214bbd9da7275650359dd1e9e54f8452b1b0 | diff --git a/core/src/com/google/zxing/oned/Code39Reader.java b/core/src/com/google/zxing/oned/Code39Reader.java
index <HASH>..<HASH> 100644
--- a/core/src/com/google/zxing/oned/Code39Reader.java
+++ b/core/src/com/google/zxing/oned/Code39Reader.java
@@ -165,7 +165,7 @@ public final class Code39Reader extends OneDReade... | Issue <I> fix bad location of Code <I> end pattern when followed by lots of white space
git-svn-id: <URL> | zxing_zxing | train | java |
7512e6bb66d72ff4d3ae13f31e236850bb580180 | diff --git a/lib/jekyll/site.rb b/lib/jekyll/site.rb
index <HASH>..<HASH> 100644
--- a/lib/jekyll/site.rb
+++ b/lib/jekyll/site.rb
@@ -253,7 +253,7 @@ module Jekyll
end
# Private: creates a regular expression from the keep_files array
- #
+ #
# Examples
# ['.git','.svn'] creates the follo... | Allow symlinked folders in unsafe mode | jekyll_jekyll | train | rb |
4bb6281a578928480990f1051e0d078986a52776 | diff --git a/tests/tests.js b/tests/tests.js
index <HASH>..<HASH> 100644
--- a/tests/tests.js
+++ b/tests/tests.js
@@ -1,5 +1,5 @@
/*
- * jQuery File Upload Plugin Tests 3.1
+ * jQuery File Upload Plugin Tests 3.2
* https://github.com/blueimp/jQuery-File-Upload
*
* Copyright 2010, Sebastian Tschan
@@ -436,6 +436... | Added test for the paste event callback trigger. | blueimp_jQuery-File-Upload | train | js |
fd602341df53fc2c5c3f90554a432a8ba3984320 | diff --git a/siphon/catalog.py b/siphon/catalog.py
index <HASH>..<HASH> 100644
--- a/siphon/catalog.py
+++ b/siphon/catalog.py
@@ -186,7 +186,7 @@ class TDSCatalog(object):
resp.raise_for_status()
# begin parsing the xml doc
- root = ET.fromstring(resp.text)
+ root = ET.fromstring(... | MNT: Fix unicode issues on Python <I>
Pass the raw response content, rather than decoded text, to the element
tree parser. This allows the parser to detect the encoding using the
standard xml tags. | Unidata_siphon | train | py,py |
640a2d4bf13ca2716b5c00980e8ad3d0da932b6a | diff --git a/spec/operators/sample-spec.js b/spec/operators/sample-spec.js
index <HASH>..<HASH> 100644
--- a/spec/operators/sample-spec.js
+++ b/spec/operators/sample-spec.js
@@ -51,6 +51,19 @@ describe('Observable.prototype.sample', function () {
expectSubscriptions(e2.subscriptions).toBe(e2subs);
});
+ it(... | test(sample): add early unsubscription test for sample | ReactiveX_rxjs | train | js |
107b7171581a60d3680a8b638328ecac7ca10a82 | diff --git a/code/account/OrderManipulation.php b/code/account/OrderManipulation.php
index <HASH>..<HASH> 100644
--- a/code/account/OrderManipulation.php
+++ b/code/account/OrderManipulation.php
@@ -71,7 +71,7 @@ class OrderManipulation extends Extension{
$filters['ID'] = $sessids;
}
if($memberid = Member::cu... | FIX: OrderManipulation allorders typo
needs unit tests! | silvershop_silvershop-core | train | php |
01ab4dfa32a57c95197337ca32d9c05ce6361800 | diff --git a/lib/dm-migrations/auto_migration.rb b/lib/dm-migrations/auto_migration.rb
index <HASH>..<HASH> 100644
--- a/lib/dm-migrations/auto_migration.rb
+++ b/lib/dm-migrations/auto_migration.rb
@@ -187,7 +187,7 @@ module DataMapper
end
DataMapper::Model.append_extensions(Model)
Adapters::Abstr... | Put the Inflector into our own namespace
It's not a sign of being a nice citizen that in case people don't
use ActiveSupport, they end up with this constant defined anyway. | datamapper_dm-migrations | train | rb |
06dbfd92088586ec2714c663a78f5b882223289c | diff --git a/timber.php b/timber.php
index <HASH>..<HASH> 100644
--- a/timber.php
+++ b/timber.php
@@ -443,7 +443,16 @@ class Timber {
require_once(__DIR__.'/functions/router/Route.php');
if (class_exists('Router')){
$timber->router = new Router();
- $timber->ro... | include wordpress install directory as routing base path #<I> | timber_timber | train | php |
82b33ccbd158fcc322da7c45af652fa775566809 | diff --git a/util/reader_test.go b/util/reader_test.go
index <HASH>..<HASH> 100644
--- a/util/reader_test.go
+++ b/util/reader_test.go
@@ -6,12 +6,11 @@ import (
)
var (
- bs = []byte{0, 11, 22, 33, 44, 55, 77, 88, 55, 55, 66, 77, 88}
- bsRd = bytes.NewReader(bs)
+ bs = []byte{0, 11, 22, 33, 44, 55, 77, 88, 55, 5... | Change bytes.Reader.Reset to bytes.NewReader
Use it for backward compatibily with older versions
bytes.Reader.Reset appeared only in Go <I> | bogem_id3v2 | train | go |
3851137d0a907c8c6371108f069d718ef3fc7ebc | diff --git a/worker/buildbot_worker/runprocess.py b/worker/buildbot_worker/runprocess.py
index <HASH>..<HASH> 100644
--- a/worker/buildbot_worker/runprocess.py
+++ b/worker/buildbot_worker/runprocess.py
@@ -254,7 +254,6 @@ class RunProcess(object):
shell.
"""
- notreally = False
BACKUP_TIMEOUT = 5
... | Remove test code under "notreally" which was not being exercised | buildbot_buildbot | train | py |
37c80b8ce1b6b20c936af89fde0395d55fc6f620 | diff --git a/clients/xmpp.js b/clients/xmpp.js
index <HASH>..<HASH> 100644
--- a/clients/xmpp.js
+++ b/clients/xmpp.js
@@ -38,7 +38,7 @@ self.onMessage = function(jid, username, text) {}
self.onSocketConnect = function() {}
self.sendSubscribed = function(jid, me_return) {self.send(construct(PRESENCE, [me_return, jid,... | fixed msg sending in compiled client | gameclosure_js.io | train | js |
411b4d061f9af1daa30869577fe2781f772de614 | diff --git a/odl/phantom/geometric.py b/odl/phantom/geometric.py
index <HASH>..<HASH> 100644
--- a/odl/phantom/geometric.py
+++ b/odl/phantom/geometric.py
@@ -334,7 +334,7 @@ def _ellipse_phantom_3d(space, ellipses):
"""
# Blank image
- p = np.zeros(space.shape, dtype=space.dtype)
+ p = np.zeros(space... | BUG: fix bug with shepp logan for non float dtypes | odlgroup_odl | train | py |
49693ff567811ffeefd0e9c677df713a7ae1db27 | diff --git a/pydle/features/tls.py b/pydle/features/tls.py
index <HASH>..<HASH> 100644
--- a/pydle/features/tls.py
+++ b/pydle/features/tls.py
@@ -58,6 +58,17 @@ class TLSSupport(rfc1459.RFC1459Support):
self.connection.on('read', self.on_data)
self.connection.on('error', self.on_data_error)
+ ##... | Add whether user is connected securely to WHOIS. | Shizmob_pydle | train | py |
defac5b22e7cf4d6794460b40590a225fd7bd590 | diff --git a/global.go b/global.go
index <HASH>..<HASH> 100644
--- a/global.go
+++ b/global.go
@@ -736,7 +736,7 @@ func (runtime *_runtime) newNodeFunction(node *_functionNode, scopeEnvironment _
self := runtime.newNodeFunctionObject(node, scopeEnvironment)
self.Prototype = runtime.Global.FunctionPrototype
protot... | Fix prototype property being read-only
Fix #3 | robertkrimen_otto | train | go,go |
b8e7f0cc1df18c6f87273d668783c9d78e9d566c | diff --git a/invenio_oauthclient/contrib/cern.py b/invenio_oauthclient/contrib/cern.py
index <HASH>..<HASH> 100644
--- a/invenio_oauthclient/contrib/cern.py
+++ b/invenio_oauthclient/contrib/cern.py
@@ -87,7 +87,7 @@ import copy
import re
from flask import current_app, session
-from flask_principal import RoleNeed,... | contrib: minor CERN plugin fix
* Fixes an issue where `g.identity.provides` was populated with
only the Cern groups. As access rights can be assigned to single
users (i.e. emails), the user's e-mail must also be included in the
`g.identity.provides`.
* NOTE Appends '@cern.ch' to every CERN group, for uniform fo... | inveniosoftware_invenio-oauthclient | train | py |
70552a56159c15525ba8e92c8847c024b02bab58 | diff --git a/pyvista/core/filters/data_set.py b/pyvista/core/filters/data_set.py
index <HASH>..<HASH> 100644
--- a/pyvista/core/filters/data_set.py
+++ b/pyvista/core/filters/data_set.py
@@ -884,6 +884,13 @@ class DataSetFilters:
criterion. If ``scalars`` is ``None``, the input's active
scalars array... | Add warning to threshold that it's a cell filter (#<I>) | vtkiorg_vtki | train | py |
7c373a23407bdc125260283f1e45c3581db4f335 | diff --git a/ui/app/components/allocation-row.js b/ui/app/components/allocation-row.js
index <HASH>..<HASH> 100644
--- a/ui/app/components/allocation-row.js
+++ b/ui/app/components/allocation-row.js
@@ -71,24 +71,22 @@ export default Component.extend({
}).drop(),
});
-function qualifyAllocation() {
+async functio... | Refactor AllocationRow qualifyAllocation
There was a missing edge case where a job is pending. I took the moment
to also refactor the code to use async/await which cleaned up the
promise chaining. | hashicorp_nomad | train | js |
8c5714ea737437c790143cb8ae22441b5202ad8a | diff --git a/zuul-core/src/main/java/com/netflix/zuul/netty/connectionpool/ConnectionPoolHandler.java b/zuul-core/src/main/java/com/netflix/zuul/netty/connectionpool/ConnectionPoolHandler.java
index <HASH>..<HASH> 100644
--- a/zuul-core/src/main/java/com/netflix/zuul/netty/connectionpool/ConnectionPoolHandler.java
+++ ... | add extra debug logging to caught connection pool exceptions | Netflix_zuul | train | java |
b0a51bf1f5e95554d9525a6b58da5eb2cf6de5d8 | diff --git a/cmd/ipfs/ulimit_unix.go b/cmd/ipfs/ulimit_unix.go
index <HASH>..<HASH> 100644
--- a/cmd/ipfs/ulimit_unix.go
+++ b/cmd/ipfs/ulimit_unix.go
@@ -1,4 +1,4 @@
-// +build linux darwin
+// +build darwin freebsd linux netbsd openbsd
package main | Tune resource limits on BSDs
License: MIT | ipfs_go-ipfs | train | go |
a88fcf548646929874ce2d18237f612755b0562c | diff --git a/lib/active_record/connection_adapters/oracle_enhanced_adapter.rb b/lib/active_record/connection_adapters/oracle_enhanced_adapter.rb
index <HASH>..<HASH> 100644
--- a/lib/active_record/connection_adapters/oracle_enhanced_adapter.rb
+++ b/lib/active_record/connection_adapters/oracle_enhanced_adapter.rb
@@ -7... | table_exists? will return true on any valid database object
to support views, materialized views and synonyms as AR model table_name | rsim_oracle-enhanced | train | rb |
2e81a562fbaccc996c19c069090a53f52ec894fe | diff --git a/more_itertools/more.py b/more_itertools/more.py
index <HASH>..<HASH> 100755
--- a/more_itertools/more.py
+++ b/more_itertools/more.py
@@ -1235,7 +1235,8 @@ def split_before(iterable, pred, maxsplit=-1):
buf = []
maxsplit -= 1
buf.append(item)
- yield buf
+ if buf:
+... | Fix split_before for an empty collections. | erikrose_more-itertools | train | py,py |
95746370afa73b47b85bfb529799db737aa7d9b4 | diff --git a/spec/models/system_spec.rb b/spec/models/system_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/models/system_spec.rb
+++ b/spec/models/system_spec.rb
@@ -247,14 +247,18 @@ s end
end
end
- describe "available releases", :katello => true do
+ describe "available releases" do
before do
... | fixed headpin-specific variation of available releases spec test | Katello_katello | train | rb |
ab169450603a81c9059f1e8216c269cc1d0a5201 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -161,7 +161,7 @@ setup(
],
"bob.bio.config": [
"voxforge = bob.bio.spear.config.database.voxforge:database",
- "test_pipeline = bob.bio.spear.config.pipeline.mfcc60_voxforgegmm:pi... | [refactor] black setup.py | bioidiap_bob.bio.spear | train | py |
9d68cc5d65222cc4ecff55b36819875d09a53ae5 | diff --git a/src/main/java/org/dasein/cloud/cloudstack/compute/Templates.java b/src/main/java/org/dasein/cloud/cloudstack/compute/Templates.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/dasein/cloud/cloudstack/compute/Templates.java
+++ b/src/main/java/org/dasein/cloud/cloudstack/compute/Templates.java
@@ -5... | need to use parent account when listing templates | greese_dasein-cloud-cloudstack | train | java |
42db58f325c866a9f8a487283d27071467ae4139 | diff --git a/packages/react/src/elements/components/GlobalNav/TopNav/Notifications.js b/packages/react/src/elements/components/GlobalNav/TopNav/Notifications.js
index <HASH>..<HASH> 100644
--- a/packages/react/src/elements/components/GlobalNav/TopNav/Notifications.js
+++ b/packages/react/src/elements/components/GlobalN... | fix unread notification count to display if new notification added | Autodesk_hig | train | js |
264d39d00d0274d3eaf045136f8ee3deceaa2af0 | diff --git a/spillway/carto.py b/spillway/carto.py
index <HASH>..<HASH> 100644
--- a/spillway/carto.py
+++ b/spillway/carto.py
@@ -130,4 +130,5 @@ class VectorLayer(Layer):
mapnik.DataGeometryType.LineString: mapnik.LineSymbolizer,
mapnik.DataGeometryType.Polygon: mapnik.PolygonSymbolizer
... | Fall back on use of polygon symbolizer | bkg_django-spillway | train | py |
338fc0e44b38628f20e9ab291b742d9a285eb640 | diff --git a/src/request_handlers/session_request_handler.js b/src/request_handlers/session_request_handler.js
index <HASH>..<HASH> 100644
--- a/src/request_handlers/session_request_handler.js
+++ b/src/request_handlers/session_request_handler.js
@@ -576,11 +576,16 @@ ghostdriver.SessionReqHand = function(session) {
... | Allowing empty strings for JSON body of mouse click events. | detro_ghostdriver | train | js |
595d56fe4754fa12d1acbabd48e841b4ce008a87 | diff --git a/moskito-integration/moskito-sql/src/main/java/net/anotheria/moskito/sql/callingAspect/ConnectionCallAspect.java b/moskito-integration/moskito-sql/src/main/java/net/anotheria/moskito/sql/callingAspect/ConnectionCallAspect.java
index <HASH>..<HASH> 100644
--- a/moskito-integration/moskito-sql/src/main/java/n... | fixed that all calls were always marked as error. | anotheria_moskito | train | java |
541866ffcbc5bd85679aa9c6839af861b4b227b7 | diff --git a/queue.go b/queue.go
index <HASH>..<HASH> 100644
--- a/queue.go
+++ b/queue.go
@@ -339,11 +339,11 @@ func (queue *redisQueue) consumerBatchConsume(batchSize int, timeout time.Durati
batch = append(batch, delivery)
// debug(fmt.Sprintf("batch consume added delivery %d", len(batch))) // COMMENTOUT
ba... | Processing last batch when deliveryChan is closed
This is unexercised right now, so there is no testing component. This
can and should be tested if deliveryChan is ever closed. | adjust_rmq | train | go |
beb2836ecda3e14a0dacabb30a51e664282c06cf | diff --git a/go/vt/wrangler/tablet.go b/go/vt/wrangler/tablet.go
index <HASH>..<HASH> 100644
--- a/go/vt/wrangler/tablet.go
+++ b/go/vt/wrangler/tablet.go
@@ -127,8 +127,9 @@ func (wr *Wrangler) StartReplication(ctx context.Context, tablet *topodatapb.Tab
return wr.TabletManagerClient().StartReplication(ctx, tablet, ... | docs: fix comment explaining SetReplicationSource in wrangler | vitessio_vitess | train | go |
678f8d753f55234653d96962059954a83df7ea78 | diff --git a/doc.go b/doc.go
index <HASH>..<HASH> 100644
--- a/doc.go
+++ b/doc.go
@@ -256,12 +256,26 @@ ensures the value is not nil.
Examples:
- // require the field if the Field1 is not present:
+ // require the field if the Field1 is present:
Usage: required_with=Field1
- // require the field if the Field1... | add required_with_all to doc | go-playground_validator | train | go |
0417ae3059ca3d106a0c0d319d2f11b539dd2c3a | diff --git a/builder/amazon/common/block_device.go b/builder/amazon/common/block_device.go
index <HASH>..<HASH> 100644
--- a/builder/amazon/common/block_device.go
+++ b/builder/amazon/common/block_device.go
@@ -6,14 +6,14 @@ import (
// BlockDevice
type BlockDevice struct {
+ DeleteOnTermination bool `mapstructur... | builder/amazon: alphabetize some things | hashicorp_packer | train | go |
024a957e536681b93d2fd84f6c4616fadc689467 | diff --git a/examples/nogallery/module_workflow.py b/examples/nogallery/module_workflow.py
index <HASH>..<HASH> 100644
--- a/examples/nogallery/module_workflow.py
+++ b/examples/nogallery/module_workflow.py
@@ -54,7 +54,7 @@ class PrintBlob(Module):
pipe = Pipeline()
-pipe.attach(Pump, 'the_pump')
+pipe.attach(Dum... | Fix typo, thanks to Johannes Schumann | tamasgal_km3pipe | train | py |
cfc9b2163dcd7e174c830d4bb748d4c5da7f10dc | diff --git a/angrutils/pp.py b/angrutils/pp.py
index <HASH>..<HASH> 100644
--- a/angrutils/pp.py
+++ b/angrutils/pp.py
@@ -31,7 +31,9 @@ def addr_trace(arr, delimiter=",", cols=10, fmtwidth=8, level=0):
def path(p, delimiter=" -> ", cols=10, fmtwidth=8, level=0):
ret = "\t"*level + "path '%s':\n" % p.path_id
- ... | Fixup of path pretty-printing | axt_angr-utils | train | py,py |
a6e90ded8e1d7c8acfbdd32767aeb9792e85f42c | diff --git a/bblfsh/launcher.py b/bblfsh/launcher.py
index <HASH>..<HASH> 100644
--- a/bblfsh/launcher.py
+++ b/bblfsh/launcher.py
@@ -10,7 +10,7 @@ def ensure_bblfsh_is_running():
try:
container = client.containers.get("bblfsh")
if container.status != "running":
- raise docker.errors.... | Fix raising the exception while raising the exception | bblfsh_client-python | train | py |
8c6d5c3dc460df7228e6d9751c04b0e7fac0f2f7 | diff --git a/command/key.go b/command/key.go
index <HASH>..<HASH> 100644
--- a/command/key.go
+++ b/command/key.go
@@ -83,11 +83,6 @@ func (c *KeyCommand) Run(args []string) int {
}
defer client.Close()
- if !listKeys && fmt.Sprintf("%s%s%s", installKey, useKey, removeKey) == "" {
- c.Ui.Error(c.Help())
- retur... | Added return's in key.go to make sure we execute just 1 operation per execution | hashicorp_serf | train | go |
67fc782fe8cfa4c827de3c840bf3f5388e3f3f34 | diff --git a/lib/pagelib.php b/lib/pagelib.php
index <HASH>..<HASH> 100644
--- a/lib/pagelib.php
+++ b/lib/pagelib.php
@@ -443,10 +443,15 @@ class moodle_page {
* @return context the main context to which this page belongs.
*/
protected function magic_get_context() {
+ global $CFG;
if (... | MDL-<I> core: in AJAX throw exception if page context was not set | moodle_moodle | train | php |
ee76c430c2717dbc434ce715692fa2ffb3abcec4 | diff --git a/src/ContaoCommunityAlliance/DcGeneral/Panel/DefaultSortElement.php b/src/ContaoCommunityAlliance/DcGeneral/Panel/DefaultSortElement.php
index <HASH>..<HASH> 100644
--- a/src/ContaoCommunityAlliance/DcGeneral/Panel/DefaultSortElement.php
+++ b/src/ContaoCommunityAlliance/DcGeneral/Panel/DefaultSortElement.p... | Drop obsolete property $arrSorting. | contao-community-alliance_dc-general | train | php |
2c8c2f91bbef2205e046b66fd9bb29768f315181 | diff --git a/rinoh/style.py b/rinoh/style.py
index <HASH>..<HASH> 100644
--- a/rinoh/style.py
+++ b/rinoh/style.py
@@ -305,6 +305,9 @@ class Styled(DocumentElement, metaclass=StyledMeta):
try:
base_style = document.stylesheet[exception.base_name]
return base_style.get_value(exception.... | Fix: handle ParentStyleException in base style | brechtm_rinohtype | train | py |
a1c113478ccb49d29f0c110242e09f599fedaf24 | diff --git a/lib/cequel/metal/keyspace.rb b/lib/cequel/metal/keyspace.rb
index <HASH>..<HASH> 100644
--- a/lib/cequel/metal/keyspace.rb
+++ b/lib/cequel/metal/keyspace.rb
@@ -174,9 +174,9 @@ module Cequel
begin
execute_with_consistency(statement, bind_vars, default_consistency)
- rescue Cql... | Removing unnecessary exception variable and quotes around symbol | cequel_cequel | train | rb |
090ed3e6801c134ca5fd4ffca8c5bfdb596ed566 | diff --git a/modules/fuse-box-responsive-api/dev-imports.js b/modules/fuse-box-responsive-api/dev-imports.js
index <HASH>..<HASH> 100644
--- a/modules/fuse-box-responsive-api/dev-imports.js
+++ b/modules/fuse-box-responsive-api/dev-imports.js
@@ -2,7 +2,7 @@ var $fsmp$ = (function() {
function loadRemoteScript(url) {... | fix: dev-imports should contain es5 only. (#<I>)
Using a ES6 feature in dev-imports.js breaks uglifyjs. | fuse-box_fuse-box | train | js |
93ea8157c09ec1bff91fa5af7a3f876941d0dba4 | diff --git a/system/bootstrap.php b/system/bootstrap.php
index <HASH>..<HASH> 100644
--- a/system/bootstrap.php
+++ b/system/bootstrap.php
@@ -124,6 +124,7 @@ if (! class_exists(Config\Autoload::class, false))
require_once SYSTEMPATH . 'Autoloader/Autoloader.php';
require_once SYSTEMPATH . 'Config/BaseService.php';... | ensure load "SYSTEMPATH . Config/Services.php" in system/bootstrap.php | codeigniter4_CodeIgniter4 | train | php |
b26e4fe1956a45d5a7fa55ea015e7c155edb1009 | diff --git a/lib/parser.js b/lib/parser.js
index <HASH>..<HASH> 100644
--- a/lib/parser.js
+++ b/lib/parser.js
@@ -263,7 +263,7 @@ module.exports = {
var now = new Date();
var skew = Math.abs(now.getTime() - date.getTime());
- if ((now.getTime() - date.getTime()) > options.clockSkew * 1000) {
+ ... | Update lib/parser.js
clock skew was not handled for negative skews (requests from the future) | joyent_node-http-signature | train | js |
280491e8156d2bb659474994d9defae4ee231755 | diff --git a/photohash/photohash.py b/photohash/photohash.py
index <HASH>..<HASH> 100644
--- a/photohash/photohash.py
+++ b/photohash/photohash.py
@@ -20,7 +20,6 @@ def average_hash(image_path, hash_size=8):
# Compute the hash based on each pixels value compared to the average.
bits = "".join(map(lambda pixel... | Drop bitarray as a dependency. | bunchesofdonald_photohash | train | py,txt,py |
294cf3abd1603e47eeb1dba1713f64432b4faf60 | diff --git a/generators/i18n_translation/i18n_translation_command.rb b/generators/i18n_translation/i18n_translation_command.rb
index <HASH>..<HASH> 100644
--- a/generators/i18n_translation/i18n_translation_command.rb
+++ b/generators/i18n_translation/i18n_translation_command.rb
@@ -24,7 +24,8 @@ module I18nGenerator::G... | Include AR association names in model attributes translation | amatsuda_i18n_generators | train | rb |
ee297ab08ee37fd421c7081a02d17e5134b22e82 | diff --git a/syn/five/__init__.py b/syn/five/__init__.py
index <HASH>..<HASH> 100644
--- a/syn/five/__init__.py
+++ b/syn/five/__init__.py
@@ -4,3 +4,6 @@ from .string import *
from .num import *
from six import PY2, PY3
from six.moves import xrange
+
+# For convenience, not compatibility
+SET = (set, frozenset) | Adding SET to syn.five | mbodenhamer_syn | train | py |
3577a0b4869708993d9dae417415c3f28ae9bb11 | diff --git a/gsh/remote_dispatcher.py b/gsh/remote_dispatcher.py
index <HASH>..<HASH> 100644
--- a/gsh/remote_dispatcher.py
+++ b/gsh/remote_dispatcher.py
@@ -141,10 +141,17 @@ class remote_dispatcher(buffered_dispatcher):
"""Launch the ssh command in the child process"""
if options.ssh_shell_cmd:
... | Add the '%(host)s' expansion in the shell and exec commands. | innogames_polysh | train | py |
47e3644cd50f8af4831d671b3598627562897de5 | diff --git a/test/test_convertible.rb b/test/test_convertible.rb
index <HASH>..<HASH> 100644
--- a/test/test_convertible.rb
+++ b/test/test_convertible.rb
@@ -32,7 +32,7 @@ class TestConvertible < JekyllUnitTest
assert_equal({}, ret)
end
assert_match(%r!YAML Exception!, out)
- assert_match(%... | Escape regex characters in paths to match (#<I>)
Merge pull request <I> | jekyll_jekyll | train | rb |
33c65bb5575b6dbdc7283d88ebf5b3200b71d56c | diff --git a/lib/data_mapper/mapper/relation.rb b/lib/data_mapper/mapper/relation.rb
index <HASH>..<HASH> 100644
--- a/lib/data_mapper/mapper/relation.rb
+++ b/lib/data_mapper/mapper/relation.rb
@@ -447,8 +447,8 @@ module DataMapper
# @return [Mapper::Relation]
#
# @api public
- def rename(ali... | Expose original Veritas::Relation#rename signature | rom-rb_rom | train | rb |
df96e2c03b8457e0cecaec6ba7f461c97f124dff | diff --git a/webpack.config.js b/webpack.config.js
index <HASH>..<HASH> 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -51,15 +51,9 @@ function configure (filename, opts = {}) {
type: 'umd'
}
},
- externals: Object
- .keys(require('./package').dependencies)
- .reduce((p, dep... | chore(webpack): simplify externals | aeternity_aepp-sdk-js | train | js |
eb3eb5325ab62249b0432ae6b4ec4e43bbccd39d | diff --git a/Swat/SwatRemoveInputCell.php b/Swat/SwatRemoveInputCell.php
index <HASH>..<HASH> 100644
--- a/Swat/SwatRemoveInputCell.php
+++ b/Swat/SwatRemoveInputCell.php
@@ -54,6 +54,7 @@ class SwatRemoveInputCell extends SwatInputCell
$id = ($view_id === null) ? $row->id : $view_id.'_'.$row->id;
$anchor_tag =... | Add back the title attribute to the link so tooltips work. | silverorange_swat | train | php |
0b6c938cec94018ed8f00351000b0911d9139562 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -37,7 +37,7 @@ classifiers = [
setup_kwargs = dict(
name='powershift',
- version='1.3.0',
+ version='1.3.1',
description='Python library for working with OpenShift.',
long_description=long_description,
... | Update version to <I>. | getwarped_powershift | train | py |
7632da97229b1abc780cbb0ef5c0f55ec304d647 | diff --git a/oauth2client/crypt.py b/oauth2client/crypt.py
index <HASH>..<HASH> 100644
--- a/oauth2client/crypt.py
+++ b/oauth2client/crypt.py
@@ -128,7 +128,7 @@ try:
if parsed_pem_key:
pkey = crypto.load_privatekey(crypto.FILETYPE_PEM, parsed_pem_key)
else:
- pkey = crypto.load_pkcs12(ke... | Handle PKCS<I> unicode passwords
The load_pkcs<I> can't handle passing unicode objects. Instead, encode the given
string as bytes before passing to the function. | googleapis_oauth2client | train | py |
c9f077d77385b2d64f812c226c45f6ad52758a8e | diff --git a/lib/listen/listener.rb b/lib/listen/listener.rb
index <HASH>..<HASH> 100644
--- a/lib/listen/listener.rb
+++ b/lib/listen/listener.rb
@@ -176,10 +176,6 @@ module Listen
end
def _debug_level
- # TODO: remove? (since there are BSD warnings anyway)
- bsd = RbConfig::CONFIG['host_os'] =~ ... | Prevent listen debug level to be forced under *BSD | guard_listen | train | rb |
7980de295f2344e3b088eb7db79327603a90ce71 | diff --git a/impl/src/main/java/com/groupon/lex/metrics/history/IntervalIterator.java b/impl/src/main/java/com/groupon/lex/metrics/history/IntervalIterator.java
index <HASH>..<HASH> 100644
--- a/impl/src/main/java/com/groupon/lex/metrics/history/IntervalIterator.java
+++ b/impl/src/main/java/com/groupon/lex/metrics/his... | IntervalIterator can now deal with zero/negative duration. | groupon_monsoon | train | java |
b7021261ea4f9b8e84c45b3ffcc4696560bd52be | diff --git a/GPy/core/model.py b/GPy/core/model.py
index <HASH>..<HASH> 100644
--- a/GPy/core/model.py
+++ b/GPy/core/model.py
@@ -189,7 +189,7 @@ class model(parameterised):
start = self.extract_param()
optimizer = optimization.get_optimizer(optimizer)
- opt = optimizer(start, f_fp=f_fp,... | now passing a reference of the model to the optimizer (used in SGD) | SheffieldML_GPy | train | py |
e7dbee85ebc11c9dd3945b613c0f6484a3f96bf2 | diff --git a/account_keeping/models.py b/account_keeping/models.py
index <HASH>..<HASH> 100644
--- a/account_keeping/models.py
+++ b/account_keeping/models.py
@@ -81,10 +81,10 @@ class Invoice(AmountMixin, models.Model):
description = models.TextField(blank=True)
currency = models.ForeignKey(Currency, related... | Allowing blank=True for amount fields of Invoice model | bitlabstudio_django-account-keeping | train | py |
ea54f83fe925afbf308699a1713ff54b0b804af4 | diff --git a/lib/featurer/version.rb b/lib/featurer/version.rb
index <HASH>..<HASH> 100644
--- a/lib/featurer/version.rb
+++ b/lib/featurer/version.rb
@@ -1,5 +1,5 @@
# frozen_string_literal: true
module Featurer
- VERSION = '0.1.0'.freeze
+ VERSION = '0.1.1'.freeze
end | Bump gem version to <I> | ainformatico_featurer | train | rb |
6608d7067dc84754db2b0188d89a9cdd2b6d3a87 | diff --git a/twx/botapi/botapi.py b/twx/botapi/botapi.py
index <HASH>..<HASH> 100644
--- a/twx/botapi/botapi.py
+++ b/twx/botapi/botapi.py
@@ -5,6 +5,7 @@
http://google.github.io/styleguide/pyguide.html
"""
+import os
from requests import Request, Session
from collections import namedtuple
@@ -1910,6 +1911,7... | [#<I>] Use any proxies defined in the env | datamachine_twx.botapi | train | py |
eeb48e44de285f7a4dfb5fd8a6c5970257f11246 | diff --git a/lib/roboto/version.rb b/lib/roboto/version.rb
index <HASH>..<HASH> 100644
--- a/lib/roboto/version.rb
+++ b/lib/roboto/version.rb
@@ -1,4 +1,4 @@
module Roboto
#The effective version of roboto
- VERSION = "0.2.0"
+ VERSION = "1.0.0"
end | bump major to support Rails >= 4 | LaunchAcademy_roboto | train | rb |
e1a0a1e73c46fbb909090f9b4e09f9eee8c82588 | diff --git a/cmd/object-api-common.go b/cmd/object-api-common.go
index <HASH>..<HASH> 100644
--- a/cmd/object-api-common.go
+++ b/cmd/object-api-common.go
@@ -164,6 +164,8 @@ func listObjectsNonSlash(ctx context.Context, bucket, prefix, marker, delimiter
result.IsTruncated = true
if len(objInfos) > 0 {
resul... | fs: Return prefix as listing marker if no objects (#<I>)
Fixes #<I> | minio_minio | train | go |
d1ef1803bfeb534e868b88c4b4767454c099e482 | diff --git a/spec/factories/users.rb b/spec/factories/users.rb
index <HASH>..<HASH> 100644
--- a/spec/factories/users.rb
+++ b/spec/factories/users.rb
@@ -5,7 +5,9 @@ FactoryGirl.define do
password_confirmation 'a password'
factory :admin do
after(:build) do |user|
- allow(user).to receive(:grou... | Don't use stubs in factories | samvera_hyrax | train | rb |
7929a5c342802dfa188988409e47f3ba60a8b19f | diff --git a/br/pkg/lightning/lightning_server_serial_test.go b/br/pkg/lightning/lightning_server_serial_test.go
index <HASH>..<HASH> 100644
--- a/br/pkg/lightning/lightning_server_serial_test.go
+++ b/br/pkg/lightning/lightning_server_serial_test.go
@@ -24,6 +24,7 @@ import (
"fmt"
"net/http"
"strings"
+ "sync"
... | lightning: fix data race in lightning serial test suite (#<I>)
close pingcap/tidb#<I> | pingcap_tidb | train | go |
3044f23e3358880bcebf6d6569336afd7a252eb0 | diff --git a/geopackage-sdk/src/androidTest/java/mil/nga/geopackage/test/extension/contents/ContentsIdUtils.java b/geopackage-sdk/src/androidTest/java/mil/nga/geopackage/test/extension/contents/ContentsIdUtils.java
index <HASH>..<HASH> 100644
--- a/geopackage-sdk/src/androidTest/java/mil/nga/geopackage/test/extension/c... | contents id test fixes when contents id becomes a contents row | ngageoint_geopackage-android | train | java |
eb0e88620faf36dcad8e2c67bfe1e88ff2255476 | diff --git a/container/config.py b/container/config.py
index <HASH>..<HASH> 100644
--- a/container/config.py
+++ b/container/config.py
@@ -443,7 +443,7 @@ class AnsibleContainerConductorConfig(Mapping):
)
services[service]['defaults'] = service_defaults
else:
- ... | Still need unprocessed service data | ansible_ansible-container | train | py |
a66850e15a84941cbfc40a18a9c581520724373b | diff --git a/upup/pkg/fi/cloudup/loader.go b/upup/pkg/fi/cloudup/loader.go
index <HASH>..<HASH> 100644
--- a/upup/pkg/fi/cloudup/loader.go
+++ b/upup/pkg/fi/cloudup/loader.go
@@ -209,10 +209,15 @@ func (l *Loader) processDeferrals() error {
if name != nil {
primary := l.tasks[*name]
if primary ==... | diagnostics: sort known tasks before printing | kubernetes_kops | train | go |
1d01feaa79c0b50e915d4fdb16c403667b8deb36 | diff --git a/lib/chef/resource/cron_access.rb b/lib/chef/resource/cron_access.rb
index <HASH>..<HASH> 100644
--- a/lib/chef/resource/cron_access.rb
+++ b/lib/chef/resource/cron_access.rb
@@ -44,7 +44,7 @@ class Chef
Specify the username with the user property
```ruby
- cron_access 'Deny the t... | Fix typo in the cron_access docs
This made no sense | chef_chef | train | rb |
87da0e69d5270b95f1c051e7f8d4cc74554c9776 | diff --git a/pkg/controller/service/servicecontroller.go b/pkg/controller/service/servicecontroller.go
index <HASH>..<HASH> 100644
--- a/pkg/controller/service/servicecontroller.go
+++ b/pkg/controller/service/servicecontroller.go
@@ -84,7 +84,6 @@ type ServiceController struct {
kubeClient clientset.Interfa... | servicecontroller: remove unused zone field
The zone field was unused, and this complicated e.g. #<I> | kubernetes_kubernetes | train | go |
fd9246973c4834be8cf26519b8299fb624428b71 | diff --git a/resources/views/formfields/image.blade.php b/resources/views/formfields/image.blade.php
index <HASH>..<HASH> 100644
--- a/resources/views/formfields/image.blade.php
+++ b/resources/views/formfields/image.blade.php
@@ -1,5 +1,5 @@
@if(isset($dataTypeContent->{$row->field}))
<img src="@if( !filter_var(... | Use max-width to avoid upscale (#<I>) | the-control-group_voyager | train | php |
3ee55e59659dc53443f18ee2d9f1c409aaa6214c | diff --git a/symphony/assets/js/src/symphony.collapsible.js b/symphony/assets/js/src/symphony.collapsible.js
index <HASH>..<HASH> 100644
--- a/symphony/assets/js/src/symphony.collapsible.js
+++ b/symphony/assets/js/src/symphony.collapsible.js
@@ -4,6 +4,19 @@
(function($, Symphony) {
+ // always put try/catches in... | Put try/catch in their own function
This prevents callers from being put into un-uptimized hell, where
any function that contains a try/catch will never be optimized
by js jit compilers (V8 in particular) | symphonycms_symphony-2 | train | js |
a1c9eec1ae9d5970fb112b3670020b48335d1875 | diff --git a/src/HeyMan.php b/src/HeyMan.php
index <HASH>..<HASH> 100644
--- a/src/HeyMan.php
+++ b/src/HeyMan.php
@@ -45,4 +45,9 @@ class HeyMan
return app(YouShouldHave::class);
}
+
+ public function ignore(): Ignore
+ {
+ return app(Ignore::class);
+ }
} | Added ignore method on the Heyman Facade | imanghafoori1_laravel-heyman | train | php |
c98bdefe8b44faecff91582de810a9741402be75 | diff --git a/Services/AzineTwigSwiftMailer.php b/Services/AzineTwigSwiftMailer.php
index <HASH>..<HASH> 100644
--- a/Services/AzineTwigSwiftMailer.php
+++ b/Services/AzineTwigSwiftMailer.php
@@ -524,7 +524,7 @@ class AzineTwigSwiftMailer extends TwigSwiftMailer implements TemplateTwigSwiftM
* @param $toEmail
... | rename sendConfirmation to sendUpdateEmailConfirmation in AzineTwigSwiftMailer | azine_email-bundle | train | php |
2c43d2a4812c60211895a6c1c2be7834dae78063 | diff --git a/salt/minion.py b/salt/minion.py
index <HASH>..<HASH> 100644
--- a/salt/minion.py
+++ b/salt/minion.py
@@ -1339,6 +1339,12 @@ class Minion(MinionBase):
for ind in range(0, len(data['fun'])):
ret['success'][data['fun'][ind]] = False
try:
+ if minion_instance.... | Add blackouts for multiple commands as well | saltstack_salt | train | py |
230236537acb9fc9ebeca427a01959b7bed22ac5 | diff --git a/datadog_checks_base/datadog_checks/base/log.py b/datadog_checks_base/datadog_checks/base/log.py
index <HASH>..<HASH> 100644
--- a/datadog_checks_base/datadog_checks/base/log.py
+++ b/datadog_checks_base/datadog_checks/base/log.py
@@ -43,6 +43,11 @@ class CheckLoggingAdapter(logging.LoggerAdapter):
def... | Fix log adapter on Python 2 (#<I>)
* Fix log adapter on Python 2
* . | DataDog_integrations-core | train | py |
86716b8d975275392f3797abbba3d967820a29be | diff --git a/component/all/workload.go b/component/all/workload.go
index <HASH>..<HASH> 100644
--- a/component/all/workload.go
+++ b/component/all/workload.go
@@ -171,6 +171,8 @@ func (c workloads) registerUnitWorkers() *workers.EventHandlers {
newManifold := func(unit.ManifoldsConfig) (dependency.Manifold, error) ... | Add some open questions about manifests. | juju_juju | train | go,go |
3009af5ee03e1f215b8cdb32705641157cc670f4 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python3
from setuptools import setup, find_packages | Update shebang of setup.py (#<I>) | byt3bl33d3r_CrackMapExec | train | py |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.