hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
34a3698acb856575c9d0742fc5bc5f261c14bf15 | diff --git a/abydos/distance/_rees_levenshtein.py b/abydos/distance/_rees_levenshtein.py
index <HASH>..<HASH> 100644
--- a/abydos/distance/_rees_levenshtein.py
+++ b/abydos/distance/_rees_levenshtein.py
@@ -46,11 +46,13 @@ class ReesLevenshtein(_Distance):
.. versionadded:: 0.4.0
"""
- def __init__(self,... | moved block_limit param to constructor
and normalized params src/tar | chrislit_abydos | train |
8d21722448ffa4e29f99b6376a63b97ac6da2fef | diff --git a/services-staticmap/src/main/java/com/mapbox/api/staticmap/v1/StaticMapCriteria.java b/services-staticmap/src/main/java/com/mapbox/api/staticmap/v1/StaticMapCriteria.java
index <HASH>..<HASH> 100644
--- a/services-staticmap/src/main/java/com/mapbox/api/staticmap/v1/StaticMapCriteria.java
+++ b/services-stat... | Bumped StaticMapCriteria guidance day and night to v4 (#<I>) | mapbox_mapbox-java | train |
ad28d5ee0a5479c994658ef3b9b5202b8fdc63d2 | diff --git a/zipline/assets/assets.py b/zipline/assets/assets.py
index <HASH>..<HASH> 100644
--- a/zipline/assets/assets.py
+++ b/zipline/assets/assets.py
@@ -14,7 +14,7 @@
from abc import ABCMeta
from numbers import Integral
-import sqlite3
+# import sqlite3
from sqlite3 import Row
import warnings
@@ -25,7 +25... | ENH: Remove all writing functionality from AssetFinder | quantopian_zipline | train |
b5a37bc7a8e6aa88e8a38acae7e49f0f07dd1168 | diff --git a/gui/controls/listbox.py b/gui/controls/listbox.py
index <HASH>..<HASH> 100644
--- a/gui/controls/listbox.py
+++ b/gui/controls/listbox.py
@@ -42,7 +42,7 @@ class ItemContainerControl(Control):
# send a programmatically event (not issued by wx)
wx_event = ItemContainerControlSelectEvent(s... | Don't call change event handler if not set | reingart_gui2py | train |
73e554f57bde190941b98bd10fb4d3718f90791f | diff --git a/src/adapter.js b/src/adapter.js
index <HASH>..<HASH> 100644
--- a/src/adapter.js
+++ b/src/adapter.js
@@ -50,6 +50,7 @@ var createMochaReporterConstructor = function (tc, pathname) {
// - test end
// - pass
// - fail
+ // - pending
runner.on('start', function () {
tc.info({t... | fix: Tests that call this.skip() are marked as failed instead of skipped fix #<I> | karma-runner_karma-mocha | train |
f94495a0128b90253ad68cb331755b844bec927c | diff --git a/packages/Slider/src/indicator.js b/packages/Slider/src/indicator.js
index <HASH>..<HASH> 100644
--- a/packages/Slider/src/indicator.js
+++ b/packages/Slider/src/indicator.js
@@ -2,7 +2,6 @@ import Inferno from 'inferno'
import styled from 'styled-components'
import { whiteTheme } from '@slup/themi... | :art: Removed useless imports | slupjs_slup | train |
d4c974c4ab7ab72725b3f24af82b663675c29e29 | diff --git a/lib/traject/marc_extractor.rb b/lib/traject/marc_extractor.rb
index <HASH>..<HASH> 100644
--- a/lib/traject/marc_extractor.rb
+++ b/lib/traject/marc_extractor.rb
@@ -144,13 +144,16 @@ module Traject
end
# Yields a block for every line in source record that matches
- # spec. First arg to bloc... | MarcExtractor.each_matching_line block takes optional third param, self, useful for re-use of class in custom ways | traject_traject | train |
09e8b6a1f0c139f679c2e1a2b653d16e52191760 | diff --git a/lib/mongoo/cursor.rb b/lib/mongoo/cursor.rb
index <HASH>..<HASH> 100644
--- a/lib/mongoo/cursor.rb
+++ b/lib/mongoo/cursor.rb
@@ -11,9 +11,7 @@ module Mongoo
def next_document
if doc = @mongo_cursor.next_document
- obj = @obj_class.new(doc, true)
- Mongoo::IdentityMap.write(obj)... | kinda experimental, use identity map for all queries | benmyles_mongoo | train |
ef96b1618217bb2ef72dd11aa1fa8e120f83720c | diff --git a/lib/endpoints/class-wp-rest-comments-controller.php b/lib/endpoints/class-wp-rest-comments-controller.php
index <HASH>..<HASH> 100644
--- a/lib/endpoints/class-wp-rest-comments-controller.php
+++ b/lib/endpoints/class-wp-rest-comments-controller.php
@@ -287,7 +287,16 @@ class WP_REST_Comments_Controller ex... | Move the status setter for comments to `delete_item()`
This matches the behaviour in posts, too. | WP-API_WP-API | train |
8cc3b583596f6e119d6eefadeca2221852c7a58c | diff --git a/src/effects/BloomEffect.js b/src/effects/BloomEffect.js
index <HASH>..<HASH> 100644
--- a/src/effects/BloomEffect.js
+++ b/src/effects/BloomEffect.js
@@ -58,7 +58,7 @@ export class BloomEffect extends Effect {
* A render target.
*
* @type {WebGLRenderTarget}
- * @private
+ * @protected
... | Change visiblity of renderTarget and luminancePass | vanruesc_postprocessing | train |
1296208fcba8c63fbac72dc48064fc1d52f7dbcc | diff --git a/spyder/app/tests/test_mainwindow.py b/spyder/app/tests/test_mainwindow.py
index <HASH>..<HASH> 100644
--- a/spyder/app/tests/test_mainwindow.py
+++ b/spyder/app/tests/test_mainwindow.py
@@ -51,7 +51,6 @@ from spyder.plugins.help.widgets import ObjectComboBox
from spyder.plugins.help.tests.test_plugin impo... | Testing: Fix wrong import
This was caused by a merge from 4.x | spyder-ide_spyder | train |
380610de0b351a6df69cef0050302a5adf9b03c5 | diff --git a/src/widgets/justified_layout/justified_layout.js b/src/widgets/justified_layout/justified_layout.js
index <HASH>..<HASH> 100644
--- a/src/widgets/justified_layout/justified_layout.js
+++ b/src/widgets/justified_layout/justified_layout.js
@@ -29,6 +29,9 @@
set: true, // Set the `sizes` attribute of... | JustifiedLayout: added data attribute for passing calculator options | svelto_svelto | train |
e088192e57cc2839356f92e7752270defaacc36a | diff --git a/addok/helpers/collectors.py b/addok/helpers/collectors.py
index <HASH>..<HASH> 100644
--- a/addok/helpers/collectors.py
+++ b/addok/helpers/collectors.py
@@ -13,37 +13,28 @@ def only_commons(helper):
if len(keys) == 1 or helper.geohash_key:
helper.add_to_bucket(keys)
if helpe... | Refactor filters management when only common terms | addok_addok | train |
d51537377aa14914053ef595b5e06582a8be40ab | diff --git a/admin/index.php b/admin/index.php
index <HASH>..<HASH> 100644
--- a/admin/index.php
+++ b/admin/index.php
@@ -275,11 +275,12 @@ if ( !$is_bookmark ) { ?>
?>.</p>
<?php } ?>
<p><?php printf( yourls__( 'Overall, tracking <strong class="increment">%1$s</strong> links, <strong>%2$s</strong> clicks, and cou... | Removes extraneous <?php and ?> tags.
This commit removes the extraneous <?php and ?> tags. These are not only removed for code readability, as the PHP code is much easier to read in this new form, but also as with PHP, extraneous spacing and line breaks between the <?php and ?> tags will cause extra spacing and line ... | YOURLS_YOURLS | train |
96597ec15a4837ff68a2959e2b85a1146e479802 | diff --git a/src/NorthslopePL/Metassione/PHPDocParser.php b/src/NorthslopePL/Metassione/PHPDocParser.php
index <HASH>..<HASH> 100644
--- a/src/NorthslopePL/Metassione/PHPDocParser.php
+++ b/src/NorthslopePL/Metassione/PHPDocParser.php
@@ -8,7 +8,7 @@ class PHPDocParser
const TYPE_OTHER = 'other';
const TYPE_UNKNOWN... | PHPDocParser - added null as basic type | drbonzo_metassione | train |
44cdbafd88c40400368de8c90919527665e4f43e | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -65,7 +65,7 @@ class BuildExt(build_ext):
"/usr/src/lapack/librefblas.a",
"-lgfortran"))
else:
- ... | fix an err in previous commit | melizalab_libtfr | train |
5f19e8e830557b948fef2eea841078ad0f7d5117 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -7,10 +7,21 @@ Python Data Validation for Humans™.
"""
from setuptools import setup, find_packages
+import os
+import re
import sys
PY3 = sys.version_info[0] == 3
+HERE = os.path.dirname(os.path.abspath(__file__))
+
... | Read version from validators/__init__.py | kvesteri_validators | train |
b7d33227ac848af13b582b3a715a259670408010 | 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.12") and ... | lowered flask version requirement based on testing | cs50_python-cs50 | train |
8880a40ac9706de200c5a254dfe7ebd6c1bd430b | diff --git a/Query/Grammars/Grammar.php b/Query/Grammars/Grammar.php
index <HASH>..<HASH> 100755
--- a/Query/Grammars/Grammar.php
+++ b/Query/Grammars/Grammar.php
@@ -999,10 +999,10 @@ class Grammar extends BaseGrammar
* Compile an "upsert" statement into SQL.
*
* @param \Illuminate\Database\Query\Bu... | [8.x] Fix docblocks, remove unused import | illuminate_database | train |
0b6f3eae5c42c888f39b3f973b94870e28dd6e63 | diff --git a/test-complete/src/test/java/com/marklogic/javaclient/TestAppServicesWordConstraint.java b/test-complete/src/test/java/com/marklogic/javaclient/TestAppServicesWordConstraint.java
index <HASH>..<HASH> 100644
--- a/test-complete/src/test/java/com/marklogic/javaclient/TestAppServicesWordConstraint.java
+++ b/t... | Changes made to expectedSearchReport string to be same as that in SVN. | marklogic_java-client-api | train |
13e875cc078672c61e95cfd91f67c4a857f483ba | diff --git a/tests/generation/test_generation_utils.py b/tests/generation/test_generation_utils.py
index <HASH>..<HASH> 100644
--- a/tests/generation/test_generation_utils.py
+++ b/tests/generation/test_generation_utils.py
@@ -2633,8 +2633,8 @@ class GenerationIntegrationTests(unittest.TestCase):
self.assertLi... | [Generation Test] Make fast test actually fast (#<I>) | huggingface_pytorch-pretrained-BERT | train |
e01117eaed39b171ab5b6f58194bb81190ed98d8 | diff --git a/doc/changelog.rst b/doc/changelog.rst
index <HASH>..<HASH> 100644
--- a/doc/changelog.rst
+++ b/doc/changelog.rst
@@ -5,7 +5,7 @@ What's New
* Fixed inability to fetch URLs with hostnames starting/ending with hyphen.
* Added ``--escaped-fragment`` option.
* Added ``--strip-session-id`` option.
-* Added ... | Rename dns-resolver option to no-skip-getaddrinfo | ArchiveTeam_wpull | train |
8636ea19cb3a0731fc3477bec014c75acbdee9f7 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -1,6 +1,8 @@
'use strict';
var TYPE_KEY = 'type';
var LINK_KEY = 'links';
+var SELF_KEY = 'self';
+var LINKAGE_KEY = 'linkage';
exports.toSimple = function (jsonApiData) {
if (!jsonApiData.hasOwnProperty('data')) {
@@... | Conversation now passes rc3 tests. #3 | jthoms1_jsonapi2simple | train |
ca42a2c54e256a33f7dc2bb220a695611a85d26b | diff --git a/relayer/__init__.py b/relayer/__init__.py
index <HASH>..<HASH> 100644
--- a/relayer/__init__.py
+++ b/relayer/__init__.py
@@ -39,5 +39,5 @@ class Relayer(object):
}
self.context.log(message)
- def flush(self, timeout=None):
- self.emitter.flush(timeout=timeout)
+ def flush(... | Remove flush from the context handlers | wizeline_relayer | train |
f43a90e126b364648601bdbd8eee2b97d17abf57 | diff --git a/docs/utils/strings.rst b/docs/utils/strings.rst
index <HASH>..<HASH> 100644
--- a/docs/utils/strings.rst
+++ b/docs/utils/strings.rst
@@ -216,7 +216,7 @@ Alias for html_entity_decode() with UTF-8 and defined flag ENT_COMPAT.
htmlEntities
~~~~~~~~~~~~
-Alias for htmlentities() with UTF-8 and defined fla... | Strings::htmlEntities: substitute (in >= <I>) or remove (in <= <I>) illegal characters | letsdrink_ouzo | train |
7dcffc55a5b63b3ea5cd4119eb8044ded5f4a030 | diff --git a/extensions/theme-layouts.php b/extensions/theme-layouts.php
index <HASH>..<HASH> 100644
--- a/extensions/theme-layouts.php
+++ b/extensions/theme-layouts.php
@@ -623,7 +623,7 @@ function theme_layouts_customize_register( $wp_customize ) {
$wp_customize->add_setting(
'theme_layout',
array(
- ... | Make sure the default setting in the customizer is set to the saved value for the 'theme_layout' mod. | justintadlock_hybrid-core | train |
a7056b8d740e19d3d26716daad8af222e46a357a | diff --git a/src/Illuminate/Http/Request.php b/src/Illuminate/Http/Request.php
index <HASH>..<HASH> 100755
--- a/src/Illuminate/Http/Request.php
+++ b/src/Illuminate/Http/Request.php
@@ -30,6 +30,16 @@ class Request extends SymfonyRequest {
}
/**
+ * Get the request method.
+ *
+ * @return string
+ */
+ publi... | Added method short-cut to request. | laravel_framework | train |
3d3578eb655032ff5db20bd13931d3778c9813f1 | diff --git a/lib/wareki/std_ext.rb b/lib/wareki/std_ext.rb
index <HASH>..<HASH> 100644
--- a/lib/wareki/std_ext.rb
+++ b/lib/wareki/std_ext.rb
@@ -24,7 +24,7 @@ class Date
class << self
alias _wareki_parse_orig parse
- def parse(str, comp = true, start = ::Date::ITALY)
+ def parse(str = '-4712-01-01', c... | Allow Date.parse() with no argument as the original does | sugi_wareki | train |
4da2692bcf5958e03f9b9e8d329100d2f6ca1535 | diff --git a/blocks/svg.js b/blocks/svg.js
index <HASH>..<HASH> 100644
--- a/blocks/svg.js
+++ b/blocks/svg.js
@@ -1,7 +1,7 @@
import React from 'react'
const Svg = ({ children, ...props }) => (
- <svg {...props}>
+ <svg focusable={props.focusable || false} {...props}>
{children}
</svg>
) | feat: make Svg block non-focusable unless explicitly overridden via props | UXtemple_panels | train |
4c064186a99c17e2d333685d591173a63646fe97 | diff --git a/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/r4/ConsentEventsDaoR4Test.java b/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/r4/ConsentEventsDaoR4Test.java
index <HASH>..<HASH> 100644
--- a/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/r4/ConsentEventsDaoR4Test.java
+... | Try to fix intermittent testfailure | jamesagnew_hapi-fhir | train |
426b355456de81e8daae6d3f4f44643025573ab6 | diff --git a/cohorts/load.py b/cohorts/load.py
index <HASH>..<HASH> 100644
--- a/cohorts/load.py
+++ b/cohorts/load.py
@@ -157,11 +157,11 @@ class CohortDataFrame(object):
"""
def __init__(self,
name,
- dataframe,
+ load_dataframe,
group_by,
... | Add cufflinks as a joinable dataframe | hammerlab_cohorts | train |
f806eb2d8325ab91665f09e4a680a51e0e476f0a | diff --git a/src/Event/Base/EventDispatcher.php b/src/Event/Base/EventDispatcher.php
index <HASH>..<HASH> 100644
--- a/src/Event/Base/EventDispatcher.php
+++ b/src/Event/Base/EventDispatcher.php
@@ -11,6 +11,7 @@ namespace BlueEvent\Event\Base;
use BlueEvent\Event\Base\Interfaces\EventDispatcherInterface;
use BlueE... | Some refactor and improvements for Event Dispatcher | bluetree-service_event | train |
d2710cd1daec43c48e094f4d7dafac50031d20df | diff --git a/src/utils/DateLanguages.js b/src/utils/DateLanguages.js
index <HASH>..<HASH> 100644
--- a/src/utils/DateLanguages.js
+++ b/src/utils/DateLanguages.js
@@ -1,4 +1,4 @@
-export default {
+module.exports = {
translations: {
'en': {
'months': { | Changed export approach from es6 to nodejs to fix the import issue. | charliekassel_vuejs-datepicker | train |
652dc28d829e74c31c33972e83fc3f301221fa64 | diff --git a/lib/ffaker/time.rb b/lib/ffaker/time.rb
index <HASH>..<HASH> 100644
--- a/lib/ffaker/time.rb
+++ b/lib/ffaker/time.rb
@@ -22,10 +22,10 @@ module FFaker
years_back = params[:year_range] || 5
latest_year = params [:year_latest] || 0
year = (rand * years_back).ceil + (::DateTime.now.year ... | Specify random Range for DateTime generation (#<I>)
* Month can not be zero
* Day can not be zero
* Not every month has <I> days | ffaker_ffaker | train |
0618f75734e189f857fd644e500a1957092283dd | diff --git a/flask_socketio/__init__.py b/flask_socketio/__init__.py
index <HASH>..<HASH> 100644
--- a/flask_socketio/__init__.py
+++ b/flask_socketio/__init__.py
@@ -375,7 +375,22 @@ class SocketIO(object):
elif self.server.eio.async_mode == 'eventlet':
def run_server():
import e... | Added SSL enablement for eventlet | miguelgrinberg_Flask-SocketIO | train |
a4b2f788b08c5f416d4b544735d8f742f4993e40 | diff --git a/tornado/iostream.py b/tornado/iostream.py
index <HASH>..<HASH> 100644
--- a/tornado/iostream.py
+++ b/tornado/iostream.py
@@ -1568,7 +1568,7 @@ class SSLIOStream(IOStream):
def write_to_fd(self, data: memoryview) -> int:
# clip buffer size at 1GB since SSL sockets only support upto 2GB
... | iostream: Fix copy/pasted comment | tornadoweb_tornado | train |
e78d8584a1298e79c17a45e01f79062b55c9f703 | diff --git a/server/src/test/java/io/druid/server/initialization/JettyQosTest.java b/server/src/test/java/io/druid/server/initialization/JettyQosTest.java
index <HASH>..<HASH> 100644
--- a/server/src/test/java/io/druid/server/initialization/JettyQosTest.java
+++ b/server/src/test/java/io/druid/server/initialization/Jet... | JettyQosTest, DruidAvaticaHandlerTest: Extend timeout. (#<I>)
Fixes #<I>, probably. | apache_incubator-druid | train |
15a2b86bd7c0456e175bc2c51a713425a54119cf | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -576,15 +576,22 @@ def default_hook(config):
config["metadata"]["description"] = description
del config["metadata"]["description-file"]
- if IS_NOT_PY3K and any(arg.startswith("install") ... | Workaround for “pysetup run sdist” under Python2 | myint_language-check | train |
17b39b1db4ddcd17f8e5b0b5f2b4377a526370a2 | diff --git a/docs/source/docntbk.py b/docs/source/docntbk.py
index <HASH>..<HASH> 100644
--- a/docs/source/docntbk.py
+++ b/docs/source/docntbk.py
@@ -823,8 +823,9 @@ class CrossReferenceLookup(object):
# the cite key is in the sphinx environment bibtex cache.
# If it is, construct the url fro... | Update for changes in sphinx api | bwohlberg_sporco | train |
cba856eab10a30dc9432e37be76b0f88f1bf1e1b | diff --git a/exp/cmd/godef/godef.go b/exp/cmd/godef/godef.go
index <HASH>..<HASH> 100644
--- a/exp/cmd/godef/godef.go
+++ b/exp/cmd/godef/godef.go
@@ -188,6 +188,7 @@ func findIdentifier(f *ast.File, searchpos int) ast.Node {
}
}
}
+ return true
}
if found(startPos, n.End()) {
ec <- n | exp/cmd/godef: fix StructType case | rogpeppe_godef | train |
ac0b1bc4db5d5a10d77400f9f0fdcb45c5848a5d | diff --git a/pysat/tests/classes/cls_instrument_library.py b/pysat/tests/classes/cls_instrument_library.py
index <HASH>..<HASH> 100644
--- a/pysat/tests/classes/cls_instrument_library.py
+++ b/pysat/tests/classes/cls_instrument_library.py
@@ -267,7 +267,7 @@ class InstLibTests(object):
info = module._test_date... | BUG: Corrected self.assert_isinstance | rstoneback_pysat | train |
098be6d15e1cc1a996c4a730ececcc3daa884cd6 | diff --git a/src/Controller/Api/AppController.php b/src/Controller/Api/AppController.php
index <HASH>..<HASH> 100644
--- a/src/Controller/Api/AppController.php
+++ b/src/Controller/Api/AppController.php
@@ -156,14 +156,11 @@ class AppController extends Controller
*/
protected function _authentication()
... | Auth Component is loaded by default, as we are extending from cake's default controller, and we set Auth user using the API token (task #<I>) | QoboLtd_cakephp-csv-migrations | train |
c7cbd6d24443d7da7fc81ec56935f21b40f45229 | diff --git a/src/Illuminate/Contracts/Queue/Job.php b/src/Illuminate/Contracts/Queue/Job.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Contracts/Queue/Job.php
+++ b/src/Illuminate/Contracts/Queue/Job.php
@@ -34,6 +34,13 @@ interface Job
public function release($delay = 0);
/**
+ * Determine if th... | Add method 'isReleased' to queue job contract | laravel_framework | train |
b7bf40a5d3430d21783eb0be7c7d7bacd7fe7762 | diff --git a/packages/cozy-konnector-libs/src/helpers/cozy-client-js-stub.js b/packages/cozy-konnector-libs/src/helpers/cozy-client-js-stub.js
index <HASH>..<HASH> 100644
--- a/packages/cozy-konnector-libs/src/helpers/cozy-client-js-stub.js
+++ b/packages/cozy-konnector-libs/src/helpers/cozy-client-js-stub.js
@@ -4,6 +... | fix: allow cozy-client-js-stub to work with file meta ids | konnectors_libs | train |
6f0b70aa803acdac30775157874ea304c8db5477 | diff --git a/setup/source/webpack.mix.js b/setup/source/webpack.mix.js
index <HASH>..<HASH> 100644
--- a/setup/source/webpack.mix.js
+++ b/setup/source/webpack.mix.js
@@ -137,6 +137,8 @@ mix
extractVueStyles: false, // Extract .vue component styling to file, rather than inline.
+ globalVueStyles: file, // Varia... | Modify comment in webpack.mix.js | haasz_laravel-mix-ext | train |
987d3a365ca3f8d35fd2ebc31fa89cdaccb670e7 | diff --git a/transfer/custom.go b/transfer/custom.go
index <HASH>..<HASH> 100644
--- a/transfer/custom.go
+++ b/transfer/custom.go
@@ -2,6 +2,7 @@ package transfer
import (
"bufio"
+ "bytes"
"encoding/json"
"errors"
"fmt"
@@ -28,11 +29,33 @@ type customAdapter struct {
originalConcurrency int
}
+// Stru... | Capture stderr output of custom adapter to trace | git-lfs_git-lfs | train |
c77b6ee19ebef3e5451bf96a49aac51516aa7e6e | diff --git a/h5p.classes.php b/h5p.classes.php
index <HASH>..<HASH> 100644
--- a/h5p.classes.php
+++ b/h5p.classes.php
@@ -1384,6 +1384,7 @@ class H5PCore {
* @return string 'div' or 'iframe'.
*/
public function loadLibrarySemantics($name, $majorVersion, $minorVersion) {
+ $semantics = NULL;
if ($thi... | Fixed some notices by setting default values. | h5p_h5p-php-library | train |
f71719c5c6660803c44279d2ee5537a50ea781d7 | diff --git a/mapper/lib/rom/header_builder.rb b/mapper/lib/rom/header_builder.rb
index <HASH>..<HASH> 100644
--- a/mapper/lib/rom/header_builder.rb
+++ b/mapper/lib/rom/header_builder.rb
@@ -27,7 +27,11 @@ module ROM
name = meta[:combine_name] || relation_name
model = meta.fetch(:model) do
- stru... | [mapper] skip mapping to intermediate models for graph nodes | rom-rb_rom | train |
36c7b9facb1b8cb9c03ec9a95bc98bbf75f737c5 | diff --git a/newsletter-bundle/src/Resources/contao/languages/de/tl_newsletter_recipients.php b/newsletter-bundle/src/Resources/contao/languages/de/tl_newsletter_recipients.php
index <HASH>..<HASH> 100644
--- a/newsletter-bundle/src/Resources/contao/languages/de/tl_newsletter_recipients.php
+++ b/newsletter-bundle/src/... | [Newsletter] Follow-up on the pull request #<I> | contao_contao | train |
1fbebe48c0ced4a3ff056dee4fd230c2ec569c86 | diff --git a/prow/plugins/config.go b/prow/plugins/config.go
index <HASH>..<HASH> 100644
--- a/prow/plugins/config.go
+++ b/prow/plugins/config.go
@@ -59,7 +59,7 @@ type Configuration struct {
Cat Cat `json:"cat,omitempty"`
CherryPickUnapproved CherryPickUnapproved ... | Use struct for golint config instead of pointer | kubernetes_test-infra | train |
2c2687ffd47c1209b01863f07626840987452318 | diff --git a/lib/que/locker.rb b/lib/que/locker.rb
index <HASH>..<HASH> 100644
--- a/lib/que/locker.rb
+++ b/lib/que/locker.rb
@@ -393,10 +393,12 @@ module Que
}
end
+ materalize_cte = connection.server_version >= 12_00_00
+
jobs =
connection.execute \
<<-SQL
- ... | Fix lock leak on PostgreSQL <I> and later
PostgreSQL <I> and later do not materialise all CTEs automatically.
This can result in multiple scans occurring which in turn can
result in `pg_try_advisory_lock` being invoked multiple times on
the same job. This results in a leak as we only call unlock once. | chanks_que | train |
aabbf0ed850b1e9f8cbd3087db9b1883379932e6 | diff --git a/cake/libs/controller/components/email.php b/cake/libs/controller/components/email.php
index <HASH>..<HASH> 100644
--- a/cake/libs/controller/components/email.php
+++ b/cake/libs/controller/components/email.php
@@ -310,7 +310,9 @@ class EmailComponent extends Object{
if ($this->_debug) {
$this->deliv... | Adding patch from #<I>, fixed to read the response from the server
git-svn-id: <URL> | cakephp_cakephp | train |
1fe2c255be4393be3d74049609715a379fab293e | diff --git a/kaminari-core/lib/kaminari/models/page_scope_methods.rb b/kaminari-core/lib/kaminari/models/page_scope_methods.rb
index <HASH>..<HASH> 100644
--- a/kaminari-core/lib/kaminari/models/page_scope_methods.rb
+++ b/kaminari-core/lib/kaminari/models/page_scope_methods.rb
@@ -21,7 +21,7 @@ module Kaminari
... | Instance method version of max_paginates_per should also respect the default per_page when per() is not given | kaminari_kaminari | train |
fe3a2635e5e8873ad65f71615d3aa4bc8aee7be2 | diff --git a/core/PluginsManager.php b/core/PluginsManager.php
index <HASH>..<HASH> 100644
--- a/core/PluginsManager.php
+++ b/core/PluginsManager.php
@@ -54,6 +54,7 @@ class Piwik_PluginsManager
'UsersManager',
'API',
'Proxy',
+ 'LanguagesManager',
);
static private $instance = null; | LanguagesManager plugin is required since a few versions back, having it disabled would trigger fatal error in a few places.
git-svn-id: <URL> | matomo-org_matomo | train |
f761506ba71d79ce72ad973a9731ad9c7246aaa2 | diff --git a/src/compatibility/date.js b/src/compatibility/date.js
index <HASH>..<HASH> 100644
--- a/src/compatibility/date.js
+++ b/src/compatibility/date.js
@@ -11,11 +11,11 @@
/*exported _gpfIsISO8601String*/ // Check if the string is an ISO 8601 representation of a date
/*#endif*/
+var _GPF_COMPATIBILITY_DATE_K... | no-magic-numbers (#<I>) | ArnaudBuchholz_gpf-js | train |
cfce00b1a458aa53aaef7961c20b04ee31321b2d | diff --git a/code/pywws/WeatherStation.py b/code/pywws/WeatherStation.py
index <HASH>..<HASH> 100755
--- a/code/pywws/WeatherStation.py
+++ b/code/pywws/WeatherStation.py
@@ -385,26 +385,42 @@ class weather_station(object):
old_ptr = self.current_pos()
old_data = self.get_data(old_ptr, unbuffered=True... | More tweaks to the 'live logging' algorithm.
I was getting a few spurious loss of syncs, and possible failures to
start properly. I think this version is OK at last. | jim-easterbrook_pywws | train |
6c233bfe40a2ace431167882f71b4480dae57312 | diff --git a/jbpm-human-task/src/main/java/org/jbpm/task/service/hornetq/CommandBasedHornetQWSHumanTaskHandler.java b/jbpm-human-task/src/main/java/org/jbpm/task/service/hornetq/CommandBasedHornetQWSHumanTaskHandler.java
index <HASH>..<HASH> 100644
--- a/jbpm-human-task/src/main/java/org/jbpm/task/service/hornetq/Comma... | JBPM-<I>: Automatic DataInput Mappings for Human Tasks Content
- adding the automatic mapping to the HornetQ Command Based Handler | kiegroup_jbpm | train |
3597dce18a239be46f5b81577f852d2c3b31612e | diff --git a/DependencyInjection/BecklynAssetsConfiguration.php b/DependencyInjection/BecklynAssetsConfiguration.php
index <HASH>..<HASH> 100644
--- a/DependencyInjection/BecklynAssetsConfiguration.php
+++ b/DependencyInjection/BecklynAssetsConfiguration.php
@@ -3,6 +3,8 @@
namespace Becklyn\AssetsBundle\DependencyInj... | Extract config of entries into separate function | Becklyn_AssetsBundle | train |
2593607e766df896ac14118c9ecdaf7e9962f55a | diff --git a/lib/Compile.js b/lib/Compile.js
index <HASH>..<HASH> 100644
--- a/lib/Compile.js
+++ b/lib/Compile.js
@@ -84,6 +84,7 @@ function getGeneratedCodeDir(projectRootDir /*: string */) {
return path.join(
projectRootDir,
'elm-stuff',
+ 'generated-code',
'elm-community',
'elm-test',
... | Add generated-code to generated code path. | rtfeldman_node-test-runner | train |
08fb0880dff1428d50877274af8f994255effc3d | diff --git a/openquake/calculators/views.py b/openquake/calculators/views.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/views.py
+++ b/openquake/calculators/views.py
@@ -16,7 +16,6 @@
# You should have received a copy of the GNU Affero General Public License
# along with OpenQuake. If not, see <http://ww... | Added a view gmv_by_rup [skip CI] | gem_oq-engine | train |
8dd6737e136149836f3ed8f3cda94d3e10a17d3d | diff --git a/packages/java-parser/scripts/clone-samples.js b/packages/java-parser/scripts/clone-samples.js
index <HASH>..<HASH> 100644
--- a/packages/java-parser/scripts/clone-samples.js
+++ b/packages/java-parser/scripts/clone-samples.js
@@ -86,7 +86,7 @@ const sampleRepos = [
},
{
repoUrl: "https://github.... | fix: updates test sample's repo branch | jhipster_prettier-java | train |
13b4047ab93f900e73bf50e080a4b49350249dd5 | diff --git a/dist/hypertext.js b/dist/hypertext.js
index <HASH>..<HASH> 100644
--- a/dist/hypertext.js
+++ b/dist/hypertext.js
@@ -853,6 +853,7 @@ function VirtualNode(tagName, properties, children, key, namespace, event) {
this.hooks = hooks;
this.descendantHooks = descendantHooks;
this.event = event;
+... | Added virtualNode property to newly created virtual-nodes | julienetie_hypertext | train |
d74c4c8dd8a647895a18710987633cec5136997b | diff --git a/haveapi_client.php b/haveapi_client.php
index <HASH>..<HASH> 100644
--- a/haveapi_client.php
+++ b/haveapi_client.php
@@ -111,7 +111,7 @@ class TokenAuth extends AuthProvider {
private $rs;
private $configured = false;
private $token;
- private $validTo;
+ private $validTo = null;
private $via;
... | Token auth: support for lifetime types, fix auth when token is provided | vpsfreecz_haveapi-client-php | train |
881f334f65cb83e936bfa6b05bf500abc556dc39 | diff --git a/lib/dragonfly/rails/images.rb b/lib/dragonfly/rails/images.rb
index <HASH>..<HASH> 100644
--- a/lib/dragonfly/rails/images.rb
+++ b/lib/dragonfly/rails/images.rb
@@ -1,8 +1,9 @@
require 'dragonfly'
require 'rack/cache'
-app = Dragonfly::App[:images]
+### The dragonfly app ###
+app = Dragonfly::App[:i... | rails/images file was missing activerecord extension | markevans_dragonfly | train |
3ebcd77faa9e332661b0db4f76e925f12ed5d20f | diff --git a/gwpy/timeseries/io/gwf/lalfr.py b/gwpy/timeseries/io/gwf/lalfr.py
index <HASH>..<HASH> 100644
--- a/gwpy/timeseries/io/gwf/lalfr.py
+++ b/gwpy/timeseries/io/gwf/lalfr.py
@@ -134,7 +134,8 @@ def read_timeseriesdict(framefile, channels, **kwargs):
"documentation for that argument")
... | timeseries.io.gwf.lalfr: fix bug in resample | gwpy_gwpy | train |
10c2d78c97c9f7b0b912a3382a7f85f4d04c53bf | diff --git a/tile_generator/util.py b/tile_generator/util.py
index <HASH>..<HASH> 100644
--- a/tile_generator/util.py
+++ b/tile_generator/util.py
@@ -106,6 +106,14 @@ def download(url, filename, cache=None):
shutil.copytree(url, filename)
else:
shutil.copy(url, filename)
+ if cache:
+ if os.path.isdir(filenam... | Copy downloads into cache, if cache is given. | cf-platform-eng_tile-generator | train |
edb12da154f30b208571f43aac018bd56e587b19 | diff --git a/sanic/cookies.py b/sanic/cookies.py
index <HASH>..<HASH> 100644
--- a/sanic/cookies.py
+++ b/sanic/cookies.py
@@ -30,6 +30,7 @@ def _quote(str):
else:
return '"' + str.translate(_Translator) + '"'
+
_is_legal_key = re.compile('[%s]+' % re.escape(_LegalChars)).fullmatch
# ---------------... | Fix the flake8 error caused by new flake8 version | huge-success_sanic | train |
200a4a10fe23efa2e198644b1d93d5eae71ad6a0 | diff --git a/pyasn1_modules/rfc2459.py b/pyasn1_modules/rfc2459.py
index <HASH>..<HASH> 100644
--- a/pyasn1_modules/rfc2459.py
+++ b/pyasn1_modules/rfc2459.py
@@ -14,6 +14,17 @@ from pyasn1.type import tag,namedtype,namedval,univ,constraint,char,useful
MAX = 64 # XXX ?
+class DSAPrivateKey(univ.Sequence):
+ ""... | DSAPrivateKey moved in here | etingof_pyasn1-modules | train |
9c49aac89f5e0a8fe28ead8bbfe18791c74c37b8 | diff --git a/salt/modules/pkg_resource.py b/salt/modules/pkg_resource.py
index <HASH>..<HASH> 100644
--- a/salt/modules/pkg_resource.py
+++ b/salt/modules/pkg_resource.py
@@ -107,7 +107,7 @@ def pack_pkgs(pkgs):
log.error(err)
return []
if not isinstance(pkgs, list) \
- or [x for x in ... | PEP8 fixes from PyLint | saltstack_salt | train |
4b403efd50a058882defd270094c35bff7ea18a6 | diff --git a/lib/ruboto/util/setup.rb b/lib/ruboto/util/setup.rb
index <HASH>..<HASH> 100644
--- a/lib/ruboto/util/setup.rb
+++ b/lib/ruboto/util/setup.rb
@@ -148,13 +148,17 @@ module Ruboto
found = File.exists?(@haxm_kext_loc)
@haxm_kext_loc = nil unless found
puts "#{'%-25s' % 'Intel ... | * Start downloading HAXM for Windows | ruboto_ruboto | train |
a08ae6f082b99f298f0f48d6051ee21f62d0de00 | diff --git a/jardin/__init__.py b/jardin/__init__.py
index <HASH>..<HASH> 100644
--- a/jardin/__init__.py
+++ b/jardin/__init__.py
@@ -8,7 +8,7 @@ __author__ = 'Emmanuel Turlay'
__copyright__ = 'Copyright 2017, Instacart'
__credits__ = ['Emmanuel Turlay', 'Mathieu Ripert']
__license__ = 'MIT'
-__version__ = '0.17.3'... | Support for snowflake and dict configs | instacart_jardin | train |
a1125adfe1015467feeefa07d8aeccc4806375ba | diff --git a/synphot/__init__.py b/synphot/__init__.py
index <HASH>..<HASH> 100644
--- a/synphot/__init__.py
+++ b/synphot/__init__.py
@@ -3,12 +3,11 @@
This is an Astropy affiliated package.
"""
-# Set up the version
-try:
- from .version import version as __version__
-except ImportError:
- # package is not ... | Remove duplicate version and fix test runner | spacetelescope_synphot_refactor | train |
cc79f0561d71619ef5e657a7d579491bae50036d | diff --git a/lib/sauce/integrations.rb b/lib/sauce/integrations.rb
index <HASH>..<HASH> 100644
--- a/lib/sauce/integrations.rb
+++ b/lib/sauce/integrations.rb
@@ -111,15 +111,17 @@ begin
::RSpec.configuration.before :suite do
need_tunnel = false
config = Sauce::Config.new
+ files... | Fix a bug with rspec <I>
- rspec <I> removes settings method, instead, generate
reader/writer/predicate for each setting. | saucelabs_sauce_ruby | train |
1710f2378d9a72d68c7c2f8a8e9ad9a4824da83d | diff --git a/examples/LedControlExample.js b/examples/LedControlExample.js
index <HASH>..<HASH> 100644
--- a/examples/LedControlExample.js
+++ b/examples/LedControlExample.js
@@ -36,7 +36,7 @@ function loop() {
}
function loop2() {
lc2.clearDisplay();
- lc2.showNumber(0, (Date.now()-startTime)/20, 0, 3, false, 3,... | added ! to characters, updated package with node version number, optimised number conversions | sebleedelisle_rpi-led-control | train |
006b28ec821fdedd0f89cacf172f445b5b07732f | diff --git a/lib/config/definitions.js b/lib/config/definitions.js
index <HASH>..<HASH> 100644
--- a/lib/config/definitions.js
+++ b/lib/config/definitions.js
@@ -373,6 +373,7 @@ const options = [
'composer',
'docker',
'hashicorp',
+ 'hex',
'loose',
'maven',
'node', | fix: add hex to allowed versionSchemes | renovatebot_renovate | train |
2ecf41de6471c5be22e99bd37379502da9bdbd9a | diff --git a/src/streamlink/plugin/api/validate.py b/src/streamlink/plugin/api/validate.py
index <HASH>..<HASH> 100644
--- a/src/streamlink/plugin/api/validate.py
+++ b/src/streamlink/plugin/api/validate.py
@@ -29,7 +29,7 @@ from ...exceptions import PluginError
__all__ = [
"any", "all", "filter", "get", "getat... | plugins.webtv: decrypt the stream URL when applicable
Some (all?) of the stream URLs are now encrypted using AES
encryption - the key and IV are prepended to the cipher text.
Added some additional util functions to support the decryption.
An unpad method which performs "standard" pkcs5 unpadding.
A new validation rul... | streamlink_streamlink | train |
ef34e129285bcc68751be5ead54a61a04369406c | diff --git a/include/datawrappers/connectionwrapper_class.php b/include/datawrappers/connectionwrapper_class.php
index <HASH>..<HASH> 100644
--- a/include/datawrappers/connectionwrapper_class.php
+++ b/include/datawrappers/connectionwrapper_class.php
@@ -34,6 +34,9 @@ class ConnectionWrapper {
function &QueryCreate(... | - Added transaction support to underlying ConnectionWrapper and DBWrapper classes | jbaicoianu_elation | train |
016aa6606ec842d8d8935d8c706804820e25e360 | diff --git a/test/ct-test-srv/main.go b/test/ct-test-srv/main.go
index <HASH>..<HASH> 100644
--- a/test/ct-test-srv/main.go
+++ b/test/ct-test-srv/main.go
@@ -37,10 +37,10 @@ func handler(w http.ResponseWriter, r *http.Request) {
}
w.WriteHeader(http.StatusOK)
+ // id is a sha256 of a random EC key. Generate your... | Move comment outside of JSON string. | letsencrypt_boulder | train |
82a0b687dcd1bba0815aa1e04fc43587f3a3ae4b | diff --git a/master/buildbot/status/mail.py b/master/buildbot/status/mail.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/status/mail.py
+++ b/master/buildbot/status/mail.py
@@ -41,7 +41,8 @@ try:
except ImportError:
have_ssl = False
-# this incantation teaches email to output utf-8 using QP
+# this incant... | Previous commit has no effect < Python<I>. Oh well.
Refs #<I>. | buildbot_buildbot | train |
248e28cc4911d79dd3bb989459c2acccce6c1341 | diff --git a/src/View/Helper/Exception.php b/src/View/Helper/Exception.php
index <HASH>..<HASH> 100644
--- a/src/View/Helper/Exception.php
+++ b/src/View/Helper/Exception.php
@@ -28,7 +28,9 @@ return
'<div class="alert alert-warning">' .
'<strong>Exception</strong>' .
... | Added Exception trace to View Exception Helper | bluzphp_framework | train |
cfa1590931fb76ba938079da62c0cf46f0b7451a | diff --git a/src/test/java/org/cp/elements/tools/net/EchoServerTests.java b/src/test/java/org/cp/elements/tools/net/EchoServerTests.java
index <HASH>..<HASH> 100644
--- a/src/test/java/org/cp/elements/tools/net/EchoServerTests.java
+++ b/src/test/java/org/cp/elements/tools/net/EchoServerTests.java
@@ -62,13 +62,17 @@ i... | Fix race condition in the StopEchoServiceInterruptedTest class called by the stopEchoServiceHandlesInterruptedExceptionProperly() test case. | codeprimate-software_cp-elements | train |
75bcc07a88e6f8108e4a8e0a74889e78d5838c8a | diff --git a/composer.json b/composer.json
index <HASH>..<HASH> 100644
--- a/composer.json
+++ b/composer.json
@@ -25,7 +25,8 @@
},
"require": {
"silverstripe/framework": "~4.0",
- "silverstripe/siteconfig": "~4.0"
+ "silverstripe/siteconfig": "~4.0",
+ "symbiote/silv... | Add ability to set tax rate location via editable columns | silvercommerce_tax-admin | train |
fb291bdd1a9c2813fc14ae1e0dabef064914aa19 | diff --git a/hawtio-dev/src/main/java/io/hawt/web/dev/ProxyServlet.java b/hawtio-dev/src/main/java/io/hawt/web/dev/ProxyServlet.java
index <HASH>..<HASH> 100644
--- a/hawtio-dev/src/main/java/io/hawt/web/dev/ProxyServlet.java
+++ b/hawtio-dev/src/main/java/io/hawt/web/dev/ProxyServlet.java
@@ -12,6 +12,7 @@ import org.... | Handle camel mbean names in proxy | hawtio_hawtio | train |
0a5f27d9040b97b0b6fa5fec1c0ac7041e65357e | diff --git a/src/Http/Controllers/Frontarea/SocialAuthenticationController.php b/src/Http/Controllers/Frontarea/SocialAuthenticationController.php
index <HASH>..<HASH> 100644
--- a/src/Http/Controllers/Frontarea/SocialAuthenticationController.php
+++ b/src/Http/Controllers/Frontarea/SocialAuthenticationController.php
@... | Skip TwoFactor authentication for social login | rinvex_cortex-auth | train |
28c98418b576394b7a0a4a6415ae86ba47be40ae | diff --git a/pgjdbc/src/main/java/org/postgresql/util/ReaderInputStream.java b/pgjdbc/src/main/java/org/postgresql/util/ReaderInputStream.java
index <HASH>..<HASH> 100644
--- a/pgjdbc/src/main/java/org/postgresql/util/ReaderInputStream.java
+++ b/pgjdbc/src/main/java/org/postgresql/util/ReaderInputStream.java
@@ -142,7... | fix: fix last block of stream being ignored if size < 8k | pgjdbc_pgjdbc | train |
898baf356042624610b721eba24c5b93eb906b96 | diff --git a/spec/formtastic_spec.rb b/spec/formtastic_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/formtastic_spec.rb
+++ b/spec/formtastic_spec.rb
@@ -87,13 +87,20 @@ describe 'Formtastic' do
end
class Author; end
- # Sometimes we need a mock @post object
+ # Sometimes we need a mock @post object ... | Silenced a bunch of "Object#id is deprecated" warnings because Author.find was returning an array of nil objects in the stubs. Moved @bob and @fred further up, and it's all good. | justinfrench_formtastic | train |
9e4baeca552017c74ad0acbae5be9911d740e6b9 | diff --git a/languagetool-language-modules/en/src/main/java/org/languagetool/rules/en/AbstractEnglishSpellerRule.java b/languagetool-language-modules/en/src/main/java/org/languagetool/rules/en/AbstractEnglishSpellerRule.java
index <HASH>..<HASH> 100644
--- a/languagetool-language-modules/en/src/main/java/org/languageto... | [en] spellings for "throught" | languagetool-org_languagetool | train |
b8724560649261f8968c8bbb6fd273a3209ded9d | diff --git a/jenetics/src/main/java/io/jenetics/LongGene.java b/jenetics/src/main/java/io/jenetics/LongGene.java
index <HASH>..<HASH> 100644
--- a/jenetics/src/main/java/io/jenetics/LongGene.java
+++ b/jenetics/src/main/java/io/jenetics/LongGene.java
@@ -20,8 +20,15 @@
package io.jenetics;
import static java.lang.S... | #<I>: Implement 'LongGene' serialization. | jenetics_jenetics | train |
e1776f56cc8d35f5766d5e45e648660721eeca94 | diff --git a/src/main/java/com/networknt/schema/TypeValidator.java b/src/main/java/com/networknt/schema/TypeValidator.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/networknt/schema/TypeValidator.java
+++ b/src/main/java/com/networknt/schema/TypeValidator.java
@@ -108,7 +108,7 @@ public class TypeValidator ex... | fixes #<I> Boolean type validation for the string type is incorrect | networknt_json-schema-validator | train |
d71eacbba6167668a9f878baaf23475e99cb0a73 | diff --git a/src/View/View.php b/src/View/View.php
index <HASH>..<HASH> 100644
--- a/src/View/View.php
+++ b/src/View/View.php
@@ -268,10 +268,18 @@ class View implements EventDispatcherInterface
* Constant for view file type 'view'
*
* @var string
+ * @deprecated 3.0.1 Use TYPE_TEMPLATE instead.
... | Add new constant to match variable name change. | cakephp_cakephp | train |
a517b5ff71c1019eb12b80f05b61e81fce88f4b5 | diff --git a/neo/Prompt/Commands/Wallet.py b/neo/Prompt/Commands/Wallet.py
index <HASH>..<HASH> 100644
--- a/neo/Prompt/Commands/Wallet.py
+++ b/neo/Prompt/Commands/Wallet.py
@@ -11,6 +11,7 @@ from neocore.UInt160 import UInt160
from prompt_toolkit import prompt
import binascii
import json
+import math
def Dele... | High Volume GAS Claim Improvement
* Added chunking to the GAS claim process so that at most <I> UTXOs will be claimed at a time. This allows addresses with thousands of UTXOs to claim gas through a series of transactions. A single transaction with thousands of UTXOs wasn't succeeding otherwise. | CityOfZion_neo-python | train |
cdd6e301007cd78088b976c5a02ca56c38a25544 | diff --git a/app/models/status.rb b/app/models/status.rb
index <HASH>..<HASH> 100644
--- a/app/models/status.rb
+++ b/app/models/status.rb
@@ -59,7 +59,7 @@ class Status < Content
short_permalink = build_short_link(length)
if length > 114
- message = "#{message[0..114]}#{short_permalink}"
+ me... | If > then should be 0 up to x - 1, stoopid | publify_publify | train |
14d371042178e40220615ecda161c9366594ffb9 | diff --git a/lib/bencode/parser.rb b/lib/bencode/parser.rb
index <HASH>..<HASH> 100644
--- a/lib/bencode/parser.rb
+++ b/lib/bencode/parser.rb
@@ -7,11 +7,14 @@ module BEncode
end
def self.parse(scanner)
- new(scanner).parse!
+ val = new(scanner).parse!
+
+ raise BEncode::DecodeError if val.n... | Move error handling up in the call chain | dasch_ruby-bencode | train |
7cc00754e8e5552d3b579b9ad93b89b45b0b891a | diff --git a/js/src/forum/addComposerAutocomplete.js b/js/src/forum/addComposerAutocomplete.js
index <HASH>..<HASH> 100644
--- a/js/src/forum/addComposerAutocomplete.js
+++ b/js/src/forum/addComposerAutocomplete.js
@@ -206,7 +206,7 @@ export default function addComposerAutocomplete() {
extend(TextEditor.prototype,... | Fix extension to work with Composer state changes
Refs flarum/core#<I>. | flarum_mentions | train |
61399976a94b44b6696e7c6b87e3099aa387e51c | diff --git a/torchvision/prototype/models/resnet.py b/torchvision/prototype/models/resnet.py
index <HASH>..<HASH> 100644
--- a/torchvision/prototype/models/resnet.py
+++ b/torchvision/prototype/models/resnet.py
@@ -114,6 +114,16 @@ class ResNet101Weights(Weights):
"acc@5": 93.546,
},
)
+ I... | Add new weights for ResNet<I> and ResNet<I>. (#<I>) | pytorch_vision | train |
f1fd959db79d25c9ae9f452524e733a878b27788 | diff --git a/.storybook/config.js b/.storybook/config.js
index <HASH>..<HASH> 100644
--- a/.storybook/config.js
+++ b/.storybook/config.js
@@ -1,7 +1,7 @@
"use strict";
const { configure } = require("@kadira/storybook");
-require("../build/styles.css");
+require("../public/build/styles.css");
function loadStorie... | fix storybook's reference to the CSS file | firefox-devtools_debugger | train |
b440aaa357d0b17804c0ed9de49673d497b0b204 | diff --git a/.gitignore b/.gitignore
index <HASH>..<HASH> 100755
--- a/.gitignore
+++ b/.gitignore
@@ -68,3 +68,6 @@ target/
bin/
local/
share/
+
+# IDE
+.vscode
\ No newline at end of file
diff --git a/pyhik/constants.py b/pyhik/constants.py
index <HASH>..<HASH> 100755
--- a/pyhik/constants.py
+++ b/pyhik/constants... | Add defocus, as a type of tamper detection supported by some Hik cameras (#<I>)
* hass fixes for hik integration
* add vscode to gitignore | mezz64_pyHik | train |
43195bb85dd70545549fa8e4df52479b50e04113 | diff --git a/src/test/java/com/buschmais/jqassistant/plugin/java/test/scanner/SuppressIT.java b/src/test/java/com/buschmais/jqassistant/plugin/java/test/scanner/SuppressIT.java
index <HASH>..<HASH> 100644
--- a/src/test/java/com/buschmais/jqassistant/plugin/java/test/scanner/SuppressIT.java
+++ b/src/test/java/com/busc... | added test for verifying that the primaryColumn is considered for suppression | buschmais_jqa-java-plugin | train |
5966bbaa1884c202b1fbb8e56d70af15f537227d | diff --git a/moa/src/main/java/com/yahoo/labs/samoa/instances/WekaToSamoaInstanceConverter.java b/moa/src/main/java/com/yahoo/labs/samoa/instances/WekaToSamoaInstanceConverter.java
index <HASH>..<HASH> 100644
--- a/moa/src/main/java/com/yahoo/labs/samoa/instances/WekaToSamoaInstanceConverter.java
+++ b/moa/src/main/jav... | Updated WekaToSamoaInstanceConverter to work with "unlabeled" instances | Waikato_moa | train |
b7797b78f316a4c7f073906d48c648d43b49e398 | diff --git a/Flame/Rest/Validators/ObjectToArrayConverter.php b/Flame/Rest/Validators/ObjectToArrayConverter.php
index <HASH>..<HASH> 100644
--- a/Flame/Rest/Validators/ObjectToArrayConverter.php
+++ b/Flame/Rest/Validators/ObjectToArrayConverter.php
@@ -21,6 +21,10 @@ class ObjectToArrayConverter extends Object implem... | Recursive parsing data to array | flame-org_TinyREST | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.