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 |
|---|---|---|---|---|---|
e4737668cb052873fb9088534f3c4d337600e803 | diff --git a/dropwizard-core/src/main/java/com/yammer/dropwizard/config/Environment.java b/dropwizard-core/src/main/java/com/yammer/dropwizard/config/Environment.java
index <HASH>..<HASH> 100755
--- a/dropwizard-core/src/main/java/com/yammer/dropwizard/config/Environment.java
+++ b/dropwizard-core/src/main/java/com/yam... | Pushing casting into the getter. | dropwizard_dropwizard | train | java |
f861395356ed6444e930f6531a165ea1e139ce62 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -12,7 +12,8 @@ setup(name='hamlpy',
url = 'http://github.com/jessemiller/HamlPy',
license = 'MIT',
install_requires = [
- 'pygments'
+ 'Django',
+ 'pygments'
],
entry... | Readd Django because it,s really needed | jessemiller_HamlPy | train | py |
bbd1194bb9cfa01f5e755767c1a4ed7a01cc5eb1 | diff --git a/lib/Client.js b/lib/Client.js
index <HASH>..<HASH> 100644
--- a/lib/Client.js
+++ b/lib/Client.js
@@ -584,7 +584,7 @@ class Client extends EventEmitter {
if(!options.content && !options.file && !options.embeds) {
return Promise.reject(new Error("No content, file, or embeds"));
... | fix this one-liner (#<I>) | abalabahaha_eris | train | js |
2ccb8f62edd5d1ce039e663591964b9066fd2f4e | diff --git a/excelize.go b/excelize.go
index <HASH>..<HASH> 100644
--- a/excelize.go
+++ b/excelize.go
@@ -273,6 +273,9 @@ func replaceStyleRelationshipsNameSpaceBytes(contentMarshal []byte) []byte {
// </row>
//
func (f *File) UpdateLinkedValue() error {
+ wb := f.workbookReader()
+ // recalculate formulas
+ wb.... | Remove calculated properties to make recalculate formulas in some spreadsheet applications, such as Kingsoft WPS | 360EntSecGroup-Skylar_excelize | train | go |
f2ed7bb50180281a480eeb8204880fb2df9348eb | diff --git a/lib/rails_best_practices/version.rb b/lib/rails_best_practices/version.rb
index <HASH>..<HASH> 100644
--- a/lib/rails_best_practices/version.rb
+++ b/lib/rails_best_practices/version.rb
@@ -1,4 +1,4 @@
# encoding: utf-8
module RailsBestPractices
- VERSION = "1.5.1"
+ VERSION = "1.5.2"
end | Bumping version to <I> | flyerhzm_rails_best_practices | train | rb |
0732f13743afda0a3fa235f738c0c78258c3bb9d | diff --git a/object/datastore.go b/object/datastore.go
index <HASH>..<HASH> 100644
--- a/object/datastore.go
+++ b/object/datastore.go
@@ -269,6 +269,34 @@ func (d Datastore) AttachedHosts(ctx context.Context) ([]*HostSystem, error) {
return hosts, nil
}
+// AttachedHosts returns hosts that have this Datastore att... | Introduce AttachedClusterHosts
A datastore could be attached to different hosts in different
clusters. | vmware_govmomi | train | go |
d958dc3077fcbfaa4a6af8488b721ed1ad8a2dde | diff --git a/src/js/core/height-match.js b/src/js/core/height-match.js
index <HASH>..<HASH> 100644
--- a/src/js/core/height-match.js
+++ b/src/js/core/height-match.js
@@ -59,7 +59,7 @@ export default function (UIkit) {
},
- events: ['resize']
+ events: ['load', 'resize']
... | Fix height-match not working on initial page load
The uk-height-match attribute does not work on the initial page load, only when the browser window is resized. | uikit_uikit | train | js |
ea633f57870cef9df2849c0c23a42fe49f0357c9 | diff --git a/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php b/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php
+++ b/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php
@... | [HttpKernel] Avoid updating the context if the request did not change
Due to the BC $this->setRequest() call in the onKernelRequest method, the
request is set twice every time in Symfony, and RequestContext::fromRequest
takes 1ms to run here so if we can skip one call it is a win. | symfony_symfony | train | php |
d3265737cae62e27a5d4cfac4b35a0f1cb3c54c4 | diff --git a/atrcopy/kboot.py b/atrcopy/kboot.py
index <HASH>..<HASH> 100644
--- a/atrcopy/kboot.py
+++ b/atrcopy/kboot.py
@@ -75,6 +75,11 @@ def add_xexboot_header(bytes, bootcode=None, title="DEMO", author="an atari user
if bootcode is None:
bootcode = np.fromstring(xexboot_header, dtype=np.uint8)... | Don't insert title or author when user supplies bootcode for XEX header | robmcmullen_atrcopy | train | py |
ebe76c862353abce3be10d950432d78f9ec8b234 | diff --git a/lib/Thelia/ImportExport/Export/Type/MailingExport.php b/lib/Thelia/ImportExport/Export/Type/MailingExport.php
index <HASH>..<HASH> 100644
--- a/lib/Thelia/ImportExport/Export/Type/MailingExport.php
+++ b/lib/Thelia/ImportExport/Export/Type/MailingExport.php
@@ -26,7 +26,7 @@ class MailingExport extends Abs... | fix MailingExport FIRSTNAME | thelia_core | train | php |
0cbd9c94efe11a57ebb9423b55e8e10db04ca7b8 | diff --git a/src/main/java/org/camunda/bpm/model/bpmn/Bpmn.java b/src/main/java/org/camunda/bpm/model/bpmn/Bpmn.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/camunda/bpm/model/bpmn/Bpmn.java
+++ b/src/main/java/org/camunda/bpm/model/bpmn/Bpmn.java
@@ -45,10 +45,10 @@ public class Bpmn {
/** the singleto... | chore(Bpmn): make some fields non-public | camunda_camunda-bpmn-model | train | java |
030cded464166a462d072e426c67b662454b2f36 | diff --git a/host/state.go b/host/state.go
index <HASH>..<HASH> 100644
--- a/host/state.go
+++ b/host/state.go
@@ -133,6 +133,9 @@ func (s *State) Restore(backend Backend, buffers host.LogBuffers) (func(), error
// generate a new job id, this is a new job
newJob := job.Dup()
newJob.ID = cluster.GenerateJ... | host: Update FLYNN_JOB_ID for resurrected jobs | flynn_flynn | train | go |
cfd6d8ee1df9ce6a26a3cb205dc62446f60595e6 | diff --git a/Facades/Validator.php b/Facades/Validator.php
index <HASH>..<HASH> 100755
--- a/Facades/Validator.php
+++ b/Facades/Validator.php
@@ -3,7 +3,7 @@
namespace Illuminate\Support\Facades;
/**
- * @method static \Illuminate\Contracts\Validation\Validator make(array $data, array $rules, array $messages = [],... | Update return type hint for Validator::make() (#<I>)
I've added `\Illuminate\Validation\Validator` as one of the allowed return types of the `Validator::make()` method of the `Validator` Facade.
without it the `->validateWithBag` will be not be detected by the IDE, rendering an error of `Undefined method 'validateW... | illuminate_support | train | php |
c8a05c55675a9c93a55e0dea183b8332dbb65844 | diff --git a/flask_appbuilder/console.py b/flask_appbuilder/console.py
index <HASH>..<HASH> 100644
--- a/flask_appbuilder/console.py
+++ b/flask_appbuilder/console.py
@@ -194,7 +194,7 @@ def babel_extract(config, input, output, target):
Babel, Extracts and updates all messages marked for translation
"""
... | add `__` and `_` to the keywords of pybabel extract | dpgaspar_Flask-AppBuilder | train | py |
b400aeb6714e9ce9f58e031e81af752638b792f9 | diff --git a/tasks/docs.rb b/tasks/docs.rb
index <HASH>..<HASH> 100755
--- a/tasks/docs.rb
+++ b/tasks/docs.rb
@@ -157,19 +157,15 @@ namespace :docs_site do
# - what to do about "lazy default" for default?
def properties_list(properties)
properties.map do |property|
- if property["deprecated"] #... | Remove some property deprecation logic from the generator
We nuke these out of the list early on now | chef_chef | train | rb |
68e848343996cc958b07e40f2e009c5fb25e4b3c | diff --git a/src/Webpay/Oneclick/MallRefundTransactionResponse.php b/src/Webpay/Oneclick/MallRefundTransactionResponse.php
index <HASH>..<HASH> 100644
--- a/src/Webpay/Oneclick/MallRefundTransactionResponse.php
+++ b/src/Webpay/Oneclick/MallRefundTransactionResponse.php
@@ -28,6 +28,9 @@ class MallRefundTransactionResp... | Add missing response code set logic oneclick mall refund | TransbankDevelopers_transbank-sdk-php | train | php |
8759a25a4db0ea1d9a24eb66a2c2764d922f4943 | diff --git a/generators/generator-base.js b/generators/generator-base.js
index <HASH>..<HASH> 100644
--- a/generators/generator-base.js
+++ b/generators/generator-base.js
@@ -1923,7 +1923,7 @@ module.exports = class extends Generator {
}
content +=
' // ... | Format webpack common file when new language is added [ci skip] | jhipster_generator-jhipster | train | js |
b830f28c2e7fc5331bebf875e74330ad1a353e38 | diff --git a/src/lang-hs.js b/src/lang-hs.js
index <HASH>..<HASH> 100644
--- a/src/lang-hs.js
+++ b/src/lang-hs.js
@@ -77,7 +77,7 @@ PR.registerLangHandler(
// dashes -> '--' {'-'}
// opencom -> '{-'
// closecom -> '-}'
- [PR.PR_COMMENT, /^(?:(?:--+(?:[^... | bug <I>: haskell line comments could not contain curly brackets. | google_code-prettify | train | js |
f21143d011ad1ef10f8f4709f581bbe620b6e4b4 | diff --git a/test/e2e/specs/wp-signup-spec.js b/test/e2e/specs/wp-signup-spec.js
index <HASH>..<HASH> 100755
--- a/test/e2e/specs/wp-signup-spec.js
+++ b/test/e2e/specs/wp-signup-spec.js
@@ -1299,7 +1299,7 @@ describe( `[${ host }] Sign Up (${ screenSize }, ${ locale })`, function() {
StartPage.getStartURL( {
... | Fix subdomains test by using vertical name (#<I>) | Automattic_wp-calypso | train | js |
7fddc11f5256bea8c8a7550ed447a1d37ddfedd4 | diff --git a/foolbox/adversarial.py b/foolbox/adversarial.py
index <HASH>..<HASH> 100644
--- a/foolbox/adversarial.py
+++ b/foolbox/adversarial.py
@@ -75,6 +75,21 @@ class Adversarial(object):
def original_class(self):
return self.__original_class
+ @property
+ def _model(self): # pragma: no cove... | added properties for internal use (#<I>)
* added properties for internal use
* added no coverage comments | bethgelab_foolbox | train | py |
4a63d416ba64467ec1f6348fe63d7d8ea441a589 | diff --git a/types/convert_test.go b/types/convert_test.go
index <HASH>..<HASH> 100644
--- a/types/convert_test.go
+++ b/types/convert_test.go
@@ -986,8 +986,9 @@ func (s *testTypeConvertSuite) TestConvertJSONToDecimal(c *C) {
for _, tt := range tests {
j, err := json.ParseBinaryFromString(tt.In)
c.Assert(err, ... | types: add more info in test to investigate the fail cause (#<I>) | pingcap_tidb | train | go |
51c74f265fd8b17e7af4956f63cde0d362505557 | diff --git a/python/setup.py b/python/setup.py
index <HASH>..<HASH> 100644
--- a/python/setup.py
+++ b/python/setup.py
@@ -86,6 +86,25 @@ def getversion():
return pkgversion
+if 'MAKEFLAGS' in os.environ:
+ # if setup.py is called from cmake, it reads and uses the MAKEFLAGS
+ # environment variable, whic... | Remove DESTDIR from MAKEFLAGS env var in setup.py
The scikit-build internal install step must specifically not respect
DESTDIR, as it is a part of the python library build phase, not install
phase. | equinor_segyio | train | py |
50ca099b8512f4d32f3e4517c502bc0aa37bab3a | diff --git a/lib/em-systemcommand/version.rb b/lib/em-systemcommand/version.rb
index <HASH>..<HASH> 100644
--- a/lib/em-systemcommand/version.rb
+++ b/lib/em-systemcommand/version.rb
@@ -1,5 +1,5 @@
module Em
module Systemcommand
- VERSION = "2.0.1"
+ VERSION = "2.0.2"
end
end | bumped version number to <I> | leoc_em-systemcommand | train | rb |
5e2f4c8497071c78b82b2497f572b8b2b74b220d | diff --git a/src/Discord/Repository/AbstractRepository.php b/src/Discord/Repository/AbstractRepository.php
index <HASH>..<HASH> 100755
--- a/src/Discord/Repository/AbstractRepository.php
+++ b/src/Discord/Repository/AbstractRepository.php
@@ -114,7 +114,7 @@ abstract class AbstractRepository implements ArrayAccess, Cou... | Added the ability to delete parts from repositories by ID | teamreflex_DiscordPHP | train | php |
8c411d03209b615a01b20febdf8c2fddc9bbdcee | diff --git a/languagetool-core/src/main/java/org/languagetool/rules/AbstractFindSuggestionsFilter.java b/languagetool-core/src/main/java/org/languagetool/rules/AbstractFindSuggestionsFilter.java
index <HASH>..<HASH> 100644
--- a/languagetool-core/src/main/java/org/languagetool/rules/AbstractFindSuggestionsFilter.java
+... | [fr] comment out lines for debugging | languagetool-org_languagetool | train | java |
1bf639b391aa967f2c92fe98d3ec0b44bb9b12f2 | diff --git a/flag_string.go b/flag_string.go
index <HASH>..<HASH> 100644
--- a/flag_string.go
+++ b/flag_string.go
@@ -90,10 +90,7 @@ func (c *Context) String(name string) string {
func lookupString(name string, set *flag.FlagSet) string {
f := set.Lookup(name)
if f != nil {
- parsed, err := f.Value.String(), err... | remove useless variable declarations (#<I>) | urfave_cli | train | go |
96123224f928c0b386f22ebf6f2b85eba3d319d6 | diff --git a/zinnia/__init__.py b/zinnia/__init__.py
index <HASH>..<HASH> 100644
--- a/zinnia/__init__.py
+++ b/zinnia/__init__.py
@@ -1,5 +1,5 @@
"""Zinnia"""
-__version__ = '0.19.1.dev0'
+__version__ = '0.20'
__license__ = 'BSD License'
__author__ = 'Fantomas42' | Bumping to version <I> | Fantomas42_django-blog-zinnia | train | py |
72bd04aa0345357cddf747207717312e2425abb2 | diff --git a/lib/endpoint.js b/lib/endpoint.js
index <HASH>..<HASH> 100644
--- a/lib/endpoint.js
+++ b/lib/endpoint.js
@@ -119,7 +119,7 @@ Endpoint.prototype._readPrelude = function _readPrelude() {
Endpoint.prototype._initializeDataFlow = function _initializeDataFlow(role, settings) {
var firstStreamId, compressor... | Endpoint: reverting to 1 as first client stream ID. | molnarg_node-http2-protocol | train | js |
2d22414e60172bf6700089ba47f00b76a00912fd | diff --git a/ru/validation.php b/ru/validation.php
index <HASH>..<HASH> 100644
--- a/ru/validation.php
+++ b/ru/validation.php
@@ -60,7 +60,7 @@ return array(
"required_if" => "Поле :attribute обязательно для заполнения, когда :other равно :value.",
"required_with" => "Поле :attribute обязательно для ... | Adds russian translation for validation.required_without_all | caouecs_Laravel-lang | train | php |
7eb1df165082d02e9b85cdce7e04993ee5735810 | diff --git a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/junit/GradleCompatibilitySuite.java b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/junit/GradleCompatibilitySuite.java
index <HASH>.... | Test the Gradle Plugin against Gradle <I>
Closes gh-<I> | spring-projects_spring-boot | train | java |
339e76afecd0f65debac15d0f5f1460f3083717b | diff --git a/audio/audio.go b/audio/audio.go
index <HASH>..<HASH> 100644
--- a/audio/audio.go
+++ b/audio/audio.go
@@ -619,8 +619,6 @@ func (p *playerImpl) Seek(offset time.Duration) error {
}
p.m.Lock()
- defer p.m.Unlock()
-
o := int64(offset) * bytesPerSample * int64(p.sampleRate) / int64(time.Second)
o &=... | audio: Bug fix: Dead lock at seeking
When sending something to channels, a lock should not be used,
or the receiver side might be using the same lock.
Bug: #<I> | hajimehoshi_ebiten | train | go |
96de38c3ab9021cd0bbb7a7230b99967a034b59e | diff --git a/user/edit_form.php b/user/edit_form.php
index <HASH>..<HASH> 100644
--- a/user/edit_form.php
+++ b/user/edit_form.php
@@ -54,7 +54,7 @@ class user_edit_form extends moodleform {
if ($langsel = $mform->getElementValue('lang')) {
$lang = reset($langsel);
// check lang exist... | MDL-<I> fixed regression in last commit, sorry | moodle_moodle | train | php,php |
1df81d4c6c178593ac9e24b328ab98a9d1d8a5a4 | diff --git a/lib/vestal_versions.rb b/lib/vestal_versions.rb
index <HASH>..<HASH> 100644
--- a/lib/vestal_versions.rb
+++ b/lib/vestal_versions.rb
@@ -59,8 +59,7 @@ module LaserLemon
if versions.empty?
versions.create(:changes => attributes, :number => 1)
else
- reset_versi... | Avoided an extra query used to find the new version number during version creation. | laserlemon_vestal_versions | train | rb |
d6fe166ec191f183487823e2d1a0f2f48626c5b7 | diff --git a/tests/Integration/Validation/ValidationTest.php b/tests/Integration/Validation/ValidationTest.php
index <HASH>..<HASH> 100644
--- a/tests/Integration/Validation/ValidationTest.php
+++ b/tests/Integration/Validation/ValidationTest.php
@@ -3,6 +3,7 @@
namespace Tests\Integration\Validation;
use Illuminat... | Adapt ValidationTest to changed error message in Laravel 8 (#<I>) | nuwave_lighthouse | train | php |
71673bae7a9f146038355fc9b2ab5ad1991e1207 | diff --git a/lib/scorpio/google_api_document.rb b/lib/scorpio/google_api_document.rb
index <HASH>..<HASH> 100644
--- a/lib/scorpio/google_api_document.rb
+++ b/lib/scorpio/google_api_document.rb
@@ -177,11 +177,9 @@ module Scorpio
# check we haven't got anything that shouldn't go in a openapi document
... | use duck typing when recursing google api document for conversion to openapi | notEthan_jsi | train | rb |
ecf27a9ebaea1b7453575ff26cb98379638ea946 | diff --git a/internal/goofys_test.go b/internal/goofys_test.go
index <HASH>..<HASH> 100644
--- a/internal/goofys_test.go
+++ b/internal/goofys_test.go
@@ -232,7 +232,7 @@ func (s *GoofysTest) setupDefaultEnv(t *C) (bucket string) {
"zero": bytes.NewReader([]byte{}),
}
- bucket = RandStringBytesMaskImp... | use a more unique name so its easier to bulk delete stray buckets | kahing_goofys | train | go |
ddf9a52ba8b03ae16e2269f02672e0e853d5a67a | diff --git a/examples/example.go b/examples/example.go
index <HASH>..<HASH> 100644
--- a/examples/example.go
+++ b/examples/example.go
@@ -21,6 +21,7 @@ func getRecords(ksis *kinesis.Kinesis, streamName, ShardId string) {
args.Add("ShardIterator", shardIterator)
resp11, err := ksis.GetRecords(args)
if err != n... | also sleep in rate-limit error handler | sendgridlabs_go-kinesis | train | go |
0ab8da8d8d59273dac9a5abfb2658d1cb8bdc7ca | diff --git a/lib/inline_svg/transform_pipeline/transformations/description.rb b/lib/inline_svg/transform_pipeline/transformations/description.rb
index <HASH>..<HASH> 100644
--- a/lib/inline_svg/transform_pipeline/transformations/description.rb
+++ b/lib/inline_svg/transform_pipeline/transformations/description.rb
@@ -1... | Handle documents without SVG root elements | jamesmartin_inline_svg | train | rb |
1ebddb05d498e1f3aeb5f94ca3fa18dfbff9886b | diff --git a/torequests/main.py b/torequests/main.py
index <HASH>..<HASH> 100644
--- a/torequests/main.py
+++ b/torequests/main.py
@@ -7,7 +7,6 @@ from concurrent.futures import (
ProcessPoolExecutor,
ThreadPoolExecutor,
as_completed,
- wait,
)
from concurrent.futures._base import Error, Executor, F... | fix #9 tPool.x can not be stop by keyboardinterupt | ClericPy_torequests | train | py |
6b0bb3fd654e2952ce70bf125505377d21ccbbc4 | diff --git a/aiotg/chat.py b/aiotg/chat.py
index <HASH>..<HASH> 100644
--- a/aiotg/chat.py
+++ b/aiotg/chat.py
@@ -63,6 +63,45 @@ class Chat:
**options
)
+ def get_chat(self):
+ """
+ Get information about the chat.
+ """
+ return self.bot.api_call(
+ "g... | Added new Telegram methods(#<I>)
getChat, getChatAdministrators, getChatMembersCount, getChatMember | szastupov_aiotg | train | py |
b8c68cacf4371745e8e2fe6d2e651fde070bd4fa | diff --git a/spec/main-spec.js b/spec/main-spec.js
index <HASH>..<HASH> 100644
--- a/spec/main-spec.js
+++ b/spec/main-spec.js
@@ -23,6 +23,11 @@ describe('RangePool', function() {
for (i = 0; i < 10; i++) {
pool.getWorker()
}
+ let total = 0
+ pool.workers.forEach(function(worker) {
+ total... | :white_check_mark: Add more specs | steelbrain_range-pool | train | js |
792124f34a8b75afb6cd366171db79dc926334d0 | diff --git a/irc/client.py b/irc/client.py
index <HASH>..<HASH> 100644
--- a/irc/client.py
+++ b/irc/client.py
@@ -89,14 +89,6 @@ except Exception:
VERSION_STRING = 'unknown'
VERSION = ()
-# TODO
-# ----
-# (maybe) color parser convenience functions
-# documentation (including all event types)
-# (maybe) ad... | Remove TODOs. Features can be ticket as needed/desired. | jaraco_irc | train | py |
500e3c62f5477ab2ac9ede949390335490379ec1 | diff --git a/src/objective/fields.py b/src/objective/fields.py
index <HASH>..<HASH> 100644
--- a/src/objective/fields.py
+++ b/src/objective/fields.py
@@ -53,9 +53,19 @@ class Mapping(core.Field):
_type = dict
+ def _create_serialize_type(self, value, environment=None):
+ """Resolve the type for seri... | added methods for de/serialization types creation | diefans_objective | train | py |
4351227ebd8fec1513cd97479d56d33f0b935ff0 | diff --git a/src/Web/WebClient.php b/src/Web/WebClient.php
index <HASH>..<HASH> 100644
--- a/src/Web/WebClient.php
+++ b/src/Web/WebClient.php
@@ -53,6 +53,7 @@ class WebClient
const OPERA = 21;
const ANDROIDTABLET = 22;
const EDGE = 23;
+ const BLINK = 24;
/**
* @var integer The detected platform on w... | Add Blink Web engine
Add the Blink Web engine that chrome and Opera now run on | joomla-framework_application | train | php |
438c887b3a4d35c5a0222e472af4a327efd062ed | diff --git a/jquery.datetimepicker.js b/jquery.datetimepicker.js
index <HASH>..<HASH> 100644
--- a/jquery.datetimepicker.js
+++ b/jquery.datetimepicker.js
@@ -583,9 +583,12 @@
options.onShow&&options.onShow.call&&(onShow=options.onShow.call(datetimepicker,datetimepicker.data('xdsoft_datetime').currentTime,datetime... | Added condition to check if there is enough space on the right side of an input field
When the input field is close to the right side of the page and the calendar width
is bigger than the width of input field + right offset then calendard will be placed
on the left side of the field (by default it's placed on the righ... | xdan_datetimepicker | train | js |
17193c02e5b1d06f544c2e80a05da212efcdb2f2 | diff --git a/client/client.go b/client/client.go
index <HASH>..<HASH> 100644
--- a/client/client.go
+++ b/client/client.go
@@ -210,14 +210,12 @@ func (c *Conn) Loop() error {
if err := c.Pong(msg); err != nil {
return err
}
- log.Printf("Sent PONG.")
}
if msg.Command == "ERROR" {
// After sen... | Remove some overly verbose logging | horgh_irc | train | go |
27b37b3073e96c83eb44df7aa9e681f19379c87c | diff --git a/src/DayPicker.js b/src/DayPicker.js
index <HASH>..<HASH> 100644
--- a/src/DayPicker.js
+++ b/src/DayPicker.js
@@ -1,5 +1,3 @@
-/* eslint-disable react/no-did-update-set-state */
-
import React, { Component } from 'react';
import PropTypes from 'prop-types';
@@ -171,6 +169,7 @@ export class DayPicker ex... | Allow setState in cdu | gpbl_react-day-picker | train | js |
d874f8b546d8fae95bc92d8461b8189e51cb731b | diff --git a/examples/src/main/python/sql.py b/examples/src/main/python/sql.py
index <HASH>..<HASH> 100644
--- a/examples/src/main/python/sql.py
+++ b/examples/src/main/python/sql.py
@@ -18,6 +18,7 @@
from __future__ import print_function
import os
+import sys
from pyspark import SparkContext
from pyspark.sql i... | [PySpark][Minor] Update sql example, so that can read file correctly
To run Spark, default will read file from HDFS if we don't set the schema. | apache_spark | train | py |
1097daf12134c8738b6a0f41433b719a703218a5 | diff --git a/html/pfappserver/root/static/js/node.js b/html/pfappserver/root/static/js/node.js
index <HASH>..<HASH> 100644
--- a/html/pfappserver/root/static/js/node.js
+++ b/html/pfappserver/root/static/js/node.js
@@ -120,7 +120,9 @@ NodeView.prototype.readNode = function(e) {
NodeView.prototype.readViolations = fu... | IE: Fix loading of violations in node editor | inverse-inc_packetfence | train | js |
2e67b90ad226d439741ae6093c5665d6fbe580ed | diff --git a/manager/lib/bixby/modules/metrics.rb b/manager/lib/bixby/modules/metrics.rb
index <HASH>..<HASH> 100644
--- a/manager/lib/bixby/modules/metrics.rb
+++ b/manager/lib/bixby/modules/metrics.rb
@@ -183,7 +183,7 @@ class Metrics < API
metadata[:tenant_id] = check.agent.host.org.tenant.id
... | integer value will do for timestamp | chetan_bixby-agent | train | rb |
4eb3e9ad067c91260e71d967f6432408cee496aa | diff --git a/uuid.js b/uuid.js
index <HASH>..<HASH> 100644
--- a/uuid.js
+++ b/uuid.js
@@ -139,12 +139,6 @@
// cycle to simulate higher resolution clock
var nsecs = options.nsecs != null ? options.nsecs : _lastNSecs + 1;
- // Per 4.2.1.2 If generator creates more than one uuid per 100-ns
- // interval... | Don't throw the error so early, might result in unnecessary errors. | kelektiv_node-uuid | train | js |
ae2982556526f4ef7e9955433cfd73a43acf4c27 | diff --git a/src/pydoc_markdown/contrib/renderers/mkdocs.py b/src/pydoc_markdown/contrib/renderers/mkdocs.py
index <HASH>..<HASH> 100644
--- a/src/pydoc_markdown/contrib/renderers/mkdocs.py
+++ b/src/pydoc_markdown/contrib/renderers/mkdocs.py
@@ -97,7 +97,12 @@ class MkdocsRenderer(Struct):
def _visit(page, path... | MkdocsRenderer.get_resolver() returns the MarkdownRenderers resolver to at least link within the same file. Make sure parent objects are visible when a child was selected | NiklasRosenstein_pydoc-markdown | train | py |
b3277ab8780b8338c9f697ae80996aa1408fb2d8 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -19,7 +19,9 @@ import setuptools
setup(
name='amptrac',
version='0.0',
- description='',
+ url='https://github.com/tomprince/amptrac',
+ description="Client for twisted's amp interface to trac",
+ licens... | Update license in setup.py. | twisted-infra_amptrac | train | py |
586ca75bcc185d20e6ae9cde4de15304266cfdf9 | diff --git a/make/configFile.js b/make/configFile.js
index <HASH>..<HASH> 100644
--- a/make/configFile.js
+++ b/make/configFile.js
@@ -49,8 +49,11 @@ const
module.exports = class ConfigFile {
- constructor () {
+ constructor (readSourceFiles = false) {
this.read();
+ if (readSourceFiles) {
+ ... | Enables reading source files during construction (#<I>) | ArnaudBuchholz_gpf-js | train | js |
3bfbd676502e4672ff00c8bea876c904087d7042 | diff --git a/lib/net/ssh/authentication/session.rb b/lib/net/ssh/authentication/session.rb
index <HASH>..<HASH> 100644
--- a/lib/net/ssh/authentication/session.rb
+++ b/lib/net/ssh/authentication/session.rb
@@ -68,7 +68,12 @@ module Net; module SSH; module Authentication
attempted << name
debug ... | Avoid dying when unsupported auth mechanisms are defined (e.g. kerberos-related) | net-ssh_net-ssh | train | rb |
c0964e863ac9579bbce28ea435f5fd8057e01bbe | diff --git a/web_resources/lib/predDB.js b/web_resources/lib/predDB.js
index <HASH>..<HASH> 100644
--- a/web_resources/lib/predDB.js
+++ b/web_resources/lib/predDB.js
@@ -140,6 +140,14 @@ function JSONRPC_send_method(method_name, parameters, function_to_call) {
});
}
+function call_and_save(method_name, ... | add helper function call_and_save to call arbitrary middleware functions | probcomp_crosscat | train | js |
f24ca4313609ffd67a6e20d7010ec01aabe57f7f | diff --git a/src/Twig/EasyAdminTwigExtension.php b/src/Twig/EasyAdminTwigExtension.php
index <HASH>..<HASH> 100644
--- a/src/Twig/EasyAdminTwigExtension.php
+++ b/src/Twig/EasyAdminTwigExtension.php
@@ -117,7 +117,7 @@ class EasyAdminTwigExtension extends AbstractExtension
return sprintf('%s #%s', \get... | fixed typo spl_object_hash in twig extension | EasyCorp_EasyAdminBundle | train | php |
e5d899e0ad47c55bb31be7415842926eba2ea7cd | diff --git a/omnibus_overrides.rb b/omnibus_overrides.rb
index <HASH>..<HASH> 100644
--- a/omnibus_overrides.rb
+++ b/omnibus_overrides.rb
@@ -1,6 +1,6 @@
# DO NOT EDIT. Generated by "rake dependencies". Edit version_policy.rb instead.
override :rubygems, version: "2.6.4"
-override :bundler, version: "1.12.3"
+overri... | use a version ofm bundler that we have | chef_chef | train | rb |
f5c8c7a4eaf5fe77ec94b618cdce1873e0149c67 | diff --git a/js/gemini.js b/js/gemini.js
index <HASH>..<HASH> 100644
--- a/js/gemini.js
+++ b/js/gemini.js
@@ -301,8 +301,8 @@ module.exports = class gemini extends Exchange {
};
const ticker = await this.publicGetPubtickerSymbol (this.extend (request, params));
const timestamp = this.safeInt... | gemini fetchTicker minor edit for unified market structure | ccxt_ccxt | train | js |
7a680a8045cbd619be20f1a54a819e341bb643dd | diff --git a/src/BayesianModel.py b/src/BayesianModel.py
index <HASH>..<HASH> 100644
--- a/src/BayesianModel.py
+++ b/src/BayesianModel.py
@@ -11,16 +11,15 @@ class BayesianModel(nx.DiGraph):
--------------
add_nodes('node1', 'node2', ...)
add_edges(('node1', 'node2', ...), ('node3', 'node4', ...))
- ... | Changed the docstring of the class BayesianModel to reflect the changes in the function-names | pgmpy_pgmpy | train | py |
8479f215e01ed9a00529e43506e2d942b268f679 | diff --git a/client.go b/client.go
index <HASH>..<HASH> 100644
--- a/client.go
+++ b/client.go
@@ -389,10 +389,7 @@ func (cl *Client) acceptConnections(l net.Listener) {
return
}
if err != nil {
- log.Print(err)
- // I think something harsher should happen here? Our accept
- // routine just fucked off.
... | Don't return if there's an error accepting
This happens if there's too many file descriptors, and left the client unresponsive. | anacrolix_torrent | train | go |
633949862fc486675145a5943371ad05612f9692 | diff --git a/tests/StreamServerNodeTest.php b/tests/StreamServerNodeTest.php
index <HASH>..<HASH> 100644
--- a/tests/StreamServerNodeTest.php
+++ b/tests/StreamServerNodeTest.php
@@ -9,7 +9,7 @@ class StreamServerNodeTest extends \PHPUnit_Framework_TestCase {
const CLASS_NAME = '\noFlash\CherryHttp\StreamServerNod... | Corrected PHPDoc for loggerMock in StreamServerNodeTest. | kiler129_CherryHttp | train | php |
802de379f828bf23be95970fb00326a3b80b5e5b | diff --git a/lib/enumerize/attribute.rb b/lib/enumerize/attribute.rb
index <HASH>..<HASH> 100644
--- a/lib/enumerize/attribute.rb
+++ b/lib/enumerize/attribute.rb
@@ -17,6 +17,11 @@ module Enumerize
@default_value = find_default_value(options[:default])
raise ArgumentError, 'invalid default value' unl... | Defined methods to get the value of enums from the class Ex:
User.role.admin #=> 2 | brainspec_enumerize | train | rb |
e60b67e89665b2bbb5618cb3aa7a944fb75bfd76 | diff --git a/src/interfaces/mpqc.py b/src/interfaces/mpqc.py
index <HASH>..<HASH> 100644
--- a/src/interfaces/mpqc.py
+++ b/src/interfaces/mpqc.py
@@ -57,6 +57,7 @@ class MpqcJob(object):
self.filename = filename
self.title = title
self.input_molecule = input_molecule
+ self.ran = Fals... | Added ran attribute to MPQC jobs. | molmod_molmod | train | py |
fca08e846505e8bf416380ee04d871e2ed9eace2 | diff --git a/tests/test_spark_launcher.py b/tests/test_spark_launcher.py
index <HASH>..<HASH> 100644
--- a/tests/test_spark_launcher.py
+++ b/tests/test_spark_launcher.py
@@ -58,3 +58,12 @@ def test_spark_driver_memory():
c.conf.spark.driver.memory = "5g"
c._set_environment_variables()
assert '--driver-m... | TST: Add test that exposes config priority issue | Valassis-Digital-Media_spylon | train | py |
2ffc013354110cdf60f8145d021baa3f3dd19c29 | diff --git a/src/request/sign-message/SignMessage.js b/src/request/sign-message/SignMessage.js
index <HASH>..<HASH> 100644
--- a/src/request/sign-message/SignMessage.js
+++ b/src/request/sign-message/SignMessage.js
@@ -32,6 +32,9 @@ class SignMessage {
/** @type {HTMLInputElement} */
const $message = ... | Fixed missing variable.
This is why we test even after copying from working source lol | nimiq_keyguard-next | train | js |
e9e844d0eaf79be2b6f14abae8ba68b30483af3c | diff --git a/lib/fluent/config/dsl.rb b/lib/fluent/config/dsl.rb
index <HASH>..<HASH> 100644
--- a/lib/fluent/config/dsl.rb
+++ b/lib/fluent/config/dsl.rb
@@ -67,7 +67,11 @@ module Fluent
proxy.element.instance_exec(&block)
@elements.push(proxy.to_config_element)
else
- @... | Support array / hash in DSL | fluent_fluentd | train | rb |
bdecd8ded5e44136ac0748cfa9f9ed07580d2a1a | diff --git a/lib/adapters/idb.js b/lib/adapters/idb.js
index <HASH>..<HASH> 100644
--- a/lib/adapters/idb.js
+++ b/lib/adapters/idb.js
@@ -189,6 +189,7 @@ function IdbPouch(opts, callback) {
}
var results = [];
+ var fetchedDocs = {};
var docsWritten = 0;
function writeMetaData(e) {
@@ -203,7... | (#<I>) - add fetchedDocs optimization to idb
Follow-up to #<I>. If it's good enough for
websql, then it's good enough for idb. | pouchdb_pouchdb | train | js |
7cee3ec66e0630eabf6acb03daed462cb358e779 | diff --git a/lib/systemd/journal/navigable.rb b/lib/systemd/journal/navigable.rb
index <HASH>..<HASH> 100644
--- a/lib/systemd/journal/navigable.rb
+++ b/lib/systemd/journal/navigable.rb
@@ -29,9 +29,9 @@ module Systemd
# Move the read pointer by `offset` entries.
# @param [Integer] offset how many entrie... | default to moving forward one entry for move() | ledbettj_systemd-journal | train | rb |
ac0394e7ed143caee1fd39e95961848015ffa36b | diff --git a/etcd/etcd.go b/etcd/etcd.go
index <HASH>..<HASH> 100644
--- a/etcd/etcd.go
+++ b/etcd/etcd.go
@@ -52,8 +52,15 @@ type EtcdAdapter struct {
}
func (r *EtcdAdapter) Ping() error {
- rr := etcd.NewRawRequest("GET", "version", nil, nil)
- _, err := r.client.SendRequest(rr)
+ var err error
+ if r.client != ... | Fix bug in etcd backend when connecting to etcd2 | gliderlabs_registrator | train | go |
ea06037a69dab400fb17eed02f95fca7ef507c19 | diff --git a/Cmfcmf/OpenWeatherMap/Forecast.php b/Cmfcmf/OpenWeatherMap/Forecast.php
index <HASH>..<HASH> 100644
--- a/Cmfcmf/OpenWeatherMap/Forecast.php
+++ b/Cmfcmf/OpenWeatherMap/Forecast.php
@@ -67,7 +67,7 @@ class Forecast extends CurrentWeather
$windSpeedUnit = 'mps';
}
- $this->win... | Fix wind direction retrieval, closes #<I>. | cmfcmf_OpenWeatherMap-PHP-Api | train | php |
3aaaf4d4e32cef43f9d4d0cf7c02c6dc63a51ad6 | diff --git a/lib/cc/cli/version_checker.rb b/lib/cc/cli/version_checker.rb
index <HASH>..<HASH> 100644
--- a/lib/cc/cli/version_checker.rb
+++ b/lib/cc/cli/version_checker.rb
@@ -65,8 +65,12 @@ module CC
begin
uri = URI.parse(ENV.fetch("CODECLIMATE_VERSIONS_URL", DEFAULT_VERSIONS_URL))
... | Set custom user agent for version check requests (#<I>)
We want to be able to keep track of requests from the CLI | codeclimate_codeclimate | train | rb |
9af7bf1aeebab66a01d8ee3dd3a2c63072707388 | diff --git a/src/FieldGroup/FieldGroup.js b/src/FieldGroup/FieldGroup.js
index <HASH>..<HASH> 100644
--- a/src/FieldGroup/FieldGroup.js
+++ b/src/FieldGroup/FieldGroup.js
@@ -2,7 +2,6 @@ import React, { PureComponent, Children, cloneElement } from 'react'
import PropTypes from 'prop-types'
import classnames from 'cla... | Fix overriding field group children props | rambler-digital-solutions_rambler-ui | train | js |
69083edab02f05c590e73c16cb46c4403fb2494e | diff --git a/lib/intercom-rails/auto_include_filter.rb b/lib/intercom-rails/auto_include_filter.rb
index <HASH>..<HASH> 100644
--- a/lib/intercom-rails/auto_include_filter.rb
+++ b/lib/intercom-rails/auto_include_filter.rb
@@ -60,7 +60,7 @@ module IntercomRails
def enabled_for_environment?
enabled_envir... | Ensure that we're comparing strings when checking envs | intercom_intercom-rails | train | rb |
627d2968a5d304c6daf1d3e14ad987898d3dd0b9 | diff --git a/rapidoid-oauth/src/main/java/org/rapidoid/oauth/OAuthTokenHandler.java b/rapidoid-oauth/src/main/java/org/rapidoid/oauth/OAuthTokenHandler.java
index <HASH>..<HASH> 100644
--- a/rapidoid-oauth/src/main/java/org/rapidoid/oauth/OAuthTokenHandler.java
+++ b/rapidoid-oauth/src/main/java/org/rapidoid/oauth/OAut... | Improved login flow (to navigate to the last page after a login). | rapidoid_rapidoid | train | java |
d10a77f9a2000e62317970a853b1240aedf2f3a5 | diff --git a/pkg/cmd/cli/describe/projectstatus.go b/pkg/cmd/cli/describe/projectstatus.go
index <HASH>..<HASH> 100644
--- a/pkg/cmd/cli/describe/projectstatus.go
+++ b/pkg/cmd/cli/describe/projectstatus.go
@@ -449,13 +449,12 @@ func describeDeploymentPodSummaryInline(deploy *kapi.ReplicationController, incl
return ... | describe: Use spec.replicas when describing a deployment
The desired replicas annotation that was used so far isn't updated so it cannot represent the desired replicas number of a deployment | openshift_origin | train | go |
e33322649d6ef403df2e803b9f6ca95a4abdea9e | diff --git a/src/Label.php b/src/Label.php
index <HASH>..<HASH> 100644
--- a/src/Label.php
+++ b/src/Label.php
@@ -40,6 +40,11 @@ class Label extends Element
return $this->element->valid();
}
+ public function getValue()
+ {
+ return $this->element->getValue();
+ }
+
public function... | forward getValue to underlying element | monolyth-php_formulaic | train | php |
6f9aa1b88892de8fcf5c9895ac9c25b45f96378f | diff --git a/cmd/helm/repo.go b/cmd/helm/repo.go
index <HASH>..<HASH> 100644
--- a/cmd/helm/repo.go
+++ b/cmd/helm/repo.go
@@ -65,8 +65,7 @@ func runRepoList(cmd *cobra.Command, args []string) error {
return err
}
if len(f.Repositories) == 0 {
- fmt.Println("No repositories to show")
- return nil
+ return err... | fix(helm): change helm repo list to return error when empty
Following other commands, an empty list should return an error. | helm_helm | train | go |
13bb4d153a31b745812da0296dab418534871f82 | diff --git a/builder/qemu/builder.go b/builder/qemu/builder.go
index <HASH>..<HASH> 100644
--- a/builder/qemu/builder.go
+++ b/builder/qemu/builder.go
@@ -398,6 +398,7 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe
Host: commHost,
SSHConfig: sshConfig,
SSHPort: ... | qemu builder now needs to explicitly set WinRMPort for StepConnect
Same as vbox builders, aligns qemu with changes to
helper/communicator/step_connect.go introduced by PR #<I> | hashicorp_packer | train | go |
7e272efde7fd9571b0de8add889ea34a7ffab989 | diff --git a/samcli/commands/init/interactive_init_flow.py b/samcli/commands/init/interactive_init_flow.py
index <HASH>..<HASH> 100644
--- a/samcli/commands/init/interactive_init_flow.py
+++ b/samcli/commands/init/interactive_init_flow.py
@@ -29,10 +29,6 @@ Generating application:
-----------------------
Location: {l... | Remove non-interactive command explainer (#<I>) | awslabs_aws-sam-cli | train | py |
fcc227c08ac4df55200a2739445d67b81e85ad03 | diff --git a/lib/framework/rho/rhoviewhelpers.rb b/lib/framework/rho/rhoviewhelpers.rb
index <HASH>..<HASH> 100644
--- a/lib/framework/rho/rhoviewhelpers.rb
+++ b/lib/framework/rho/rhoviewhelpers.rb
@@ -142,8 +142,9 @@ module Rho
amurl << '/' << application.to_s << '/' if application
amurl << model.to_s
... | :create action fix for BB6 platform | rhomobile_rhodes | train | rb |
f9e8f31588642d551ed42c04ac143d5218bdac0c | diff --git a/scripts/budo.js b/scripts/budo.js
index <HASH>..<HASH> 100644
--- a/scripts/budo.js
+++ b/scripts/budo.js
@@ -17,7 +17,7 @@ var consts = {
ENTRY: './src/index.js',
DIST: 'dist/aframe.js',
BUILD: 'build/aframe.js',
- WATCH: 'examples/**/*',
+ WATCH: 'examples/**/*', // Additional files to watch f... | add comment for clarity on why src/lib/etc is not needed | aframevr_aframe | train | js |
d879e61343f1c6d35963722be652ea155917ebc7 | diff --git a/src/Neuron/Core/Template.php b/src/Neuron/Core/Template.php
index <HASH>..<HASH> 100755
--- a/src/Neuron/Core/Template.php
+++ b/src/Neuron/Core/Template.php
@@ -42,9 +42,13 @@ class Template
* Create a template.
* @param $template
*/
- public function __construct ($template = null)
+ public funct... | Template set methods should return the template itself. | CatLabInteractive_Neuron | train | php |
137a43cf5b1049fc73b8cdb3bca69ae1807eda93 | diff --git a/lib/brightbox-cli/tables.rb b/lib/brightbox-cli/tables.rb
index <HASH>..<HASH> 100644
--- a/lib/brightbox-cli/tables.rb
+++ b/lib/brightbox-cli/tables.rb
@@ -83,7 +83,7 @@ module Brightbox
if options[:vertical]
data options[:fields].collect { |k| [k, row[k]].join("\t") }.join("\n")
... | Join arrays before they are passed to simple table output | brightbox_brightbox-cli | train | rb |
2c0a33bcdc1d772ba64c45ed1bff4458f9889bdc | diff --git a/pytest-server-fixtures/pytest_server_fixtures/base2.py b/pytest-server-fixtures/pytest_server_fixtures/base2.py
index <HASH>..<HASH> 100644
--- a/pytest-server-fixtures/pytest_server_fixtures/base2.py
+++ b/pytest-server-fixtures/pytest_server_fixtures/base2.py
@@ -123,7 +123,7 @@ class TestServerV2(Worksp... | fix an undeclared variable in TestServerV2 | manahl_pytest-plugins | train | py |
da6d5669b33127879bc549d609eef222fd315183 | diff --git a/pkg/scheduler/framework/plugins/helper/node_affinity.go b/pkg/scheduler/framework/plugins/helper/node_affinity.go
index <HASH>..<HASH> 100644
--- a/pkg/scheduler/framework/plugins/helper/node_affinity.go
+++ b/pkg/scheduler/framework/plugins/helper/node_affinity.go
@@ -65,7 +65,6 @@ func NodeMatchesNodeAff... | Remove outdated TODO in node_affinity.go | kubernetes_kubernetes | train | go |
bac088f8a35a67f91c74b0f9f76420b2d7fd9367 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -12,7 +12,7 @@ function findClosestSemverMatch(semverString, semverStringArray) {
return Math.abs(
(parsedSemverA.major * 100 + parsedSemverA.minor * 10 + parsedSemverA.patch) -
- (parsedSemverB.major * 100 ... | Removed trailing comma | pastelsky_semver-closest | train | js |
b846f3af2bb0ca817ba2d066fb957dfc03c4d501 | diff --git a/safe/definitions/hazard.py b/safe/definitions/hazard.py
index <HASH>..<HASH> 100644
--- a/safe/definitions/hazard.py
+++ b/safe/definitions/hazard.py
@@ -367,12 +367,8 @@ hazard_volcano = {
'compulsory_fields': [hazard_value_field],
'fields': hazard_fields,
'extra_fields': [hazard_name_field... | Fix letfover problem from rebasing. | inasafe_inasafe | train | py |
95fa353ee928a42de1923d0f961e40d4ce201443 | diff --git a/builtin/providers/atlas/resource_artifact.go b/builtin/providers/atlas/resource_artifact.go
index <HASH>..<HASH> 100644
--- a/builtin/providers/atlas/resource_artifact.go
+++ b/builtin/providers/atlas/resource_artifact.go
@@ -138,7 +138,7 @@ func resourceArtifactRead(d *schema.ResourceData, meta interface{... | builtin/providers/atlas: vet fix
Fixes the following vet report:
builtin/providers/atlas/resource_artifact.go:<I>: arg user for printf verb %d of wrong type: string | hashicorp_terraform | train | go |
e032103bb2fa09520665edbb7a6a6f91f7c7e0e3 | diff --git a/src/Rebing/GraphQL/GraphQL.php b/src/Rebing/GraphQL/GraphQL.php
index <HASH>..<HASH> 100644
--- a/src/Rebing/GraphQL/GraphQL.php
+++ b/src/Rebing/GraphQL/GraphQL.php
@@ -138,7 +138,7 @@ class GraphQL
}
}
- public function addType($class, $name = null)
+ public function addType(string ... | Add types to \Rebing\GraphQL\GraphQL::addType | rebing_graphql-laravel | train | php |
efcd436f26946216eadc0c8e3c8ea0b0b337509c | diff --git a/examples/js/Editor.js b/examples/js/Editor.js
index <HASH>..<HASH> 100644
--- a/examples/js/Editor.js
+++ b/examples/js/Editor.js
@@ -1,8 +1,6 @@
(function () {
var
- D = Flotr.DOM,
-
ID_EXAMPLE_EDIT = '#example-edit',
ID_EXAMPLE_EDITOR = '#example-editor',
ID_E... | Removed reference to Flotr.DOM. | HumbleSoftware_Flotr2 | train | js |
face26d285065b236d361652e0291cf56c1426da | diff --git a/views/js/controller/manageMedia.js b/views/js/controller/manageMedia.js
index <HASH>..<HASH> 100644
--- a/views/js/controller/manageMedia.js
+++ b/views/js/controller/manageMedia.js
@@ -20,12 +20,6 @@ define([
start : function(){
var $previewer = $('.previewer');
- $('#ed... | put var declaration at the beginning of the method | oat-sa_extension-tao-mediamanager | train | js |
f7a596b728dce7a63e3fa74c9c5dc90397e64ef5 | diff --git a/server/src/test/java/com/ning/billing/jaxrs/TestJaxrsBase.java b/server/src/test/java/com/ning/billing/jaxrs/TestJaxrsBase.java
index <HASH>..<HASH> 100644
--- a/server/src/test/java/com/ning/billing/jaxrs/TestJaxrsBase.java
+++ b/server/src/test/java/com/ning/billing/jaxrs/TestJaxrsBase.java
@@ -24,7 +24,... | server: fix Guice injection failure in TestJaxrsBase | killbill_killbill | train | java |
36dd2533641d0db289e0f411ff82dcf0f63dd6fb | diff --git a/src/rlpx/peer.js b/src/rlpx/peer.js
index <HASH>..<HASH> 100644
--- a/src/rlpx/peer.js
+++ b/src/rlpx/peer.js
@@ -39,6 +39,7 @@ class Peer extends EventEmitter {
// Auth, Ack, Header, Body
this._state = 'Auth'
+ this._weHello = null
this._hello = null
this._nextPacketSize = 307
@... | Only send connect event after both HELLO msgs are exchanged (fixes unreliable upper-protocol communication start) | ethereumjs_ethereumjs-vm | train | js |
d50bdec5ef543acba8484e2a9792a4b4faa03780 | diff --git a/tasks/qunit.js b/tasks/qunit.js
index <HASH>..<HASH> 100644
--- a/tasks/qunit.js
+++ b/tasks/qunit.js
@@ -98,6 +98,8 @@ module.exports = function(grunt) {
if (failed > 0) {
grunt.log.writeln();
logFailedAssertions();
+ } else if (total === 0) {
+ grunt.warn('0/0 asserti... | Adding failure condition upon no tests run in a single test module/file instead of only on a qunit test target | gruntjs_grunt-contrib-qunit | train | js |
170b40df8aebf52e67edb8148f9bcedec59fdd81 | diff --git a/test/lib/model.js b/test/lib/model.js
index <HASH>..<HASH> 100644
--- a/test/lib/model.js
+++ b/test/lib/model.js
@@ -31,7 +31,7 @@ var modelBatch = function(typeName, className, testSchema, testData) {
var classKey = 'and we get its '+className+' class export';
var instKey;
- if ("aeiouAEIO... | charCodeAt => charAt | pump-io_pump.io | train | js |
43ed24dfb7188f896ba7e49523a9604464ad2cbe | diff --git a/src/Gordalina/Easypay/Response/FetchAllPayments.php b/src/Gordalina/Easypay/Response/FetchAllPayments.php
index <HASH>..<HASH> 100644
--- a/src/Gordalina/Easypay/Response/FetchAllPayments.php
+++ b/src/Gordalina/Easypay/Response/FetchAllPayments.php
@@ -10,6 +10,7 @@
*/
namespace Gordalina\Easypay\Res... | Solved an error if the response only contains one value
Easypay response ref field is not a multidimensional array if only one record is returned. | gordalina_easypay-php | train | php |
d25f04e3af7db5677149a7bf6ab771a3449edebf | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -42,7 +42,8 @@ function Passport(Users, config) {
github: {
clientID: process.env.GITHUB_CLIENT_ID,
clientSecret: process.env.GITHUB_CLIENT_SECRET,
- callbackURL: process.env.GITHUB_CALLBACK_URL... | fix: added scope to main strategy for github | ladjs_passport | train | js |
9927568d980d57851e182bb87c395a3c2a7cbce3 | diff --git a/modules/cms/classes/ComponentBase.php b/modules/cms/classes/ComponentBase.php
index <HASH>..<HASH> 100644
--- a/modules/cms/classes/ComponentBase.php
+++ b/modules/cms/classes/ComponentBase.php
@@ -277,23 +277,4 @@ abstract class ComponentBase extends Extendable
return $default;
}
-
- /*... | Removed the deprecated propertyOrParam() | octobercms_october | train | php |
b63de2d6f36a57271085bca624a125846c4038c8 | diff --git a/sample-config.js b/sample-config.js
index <HASH>..<HASH> 100644
--- a/sample-config.js
+++ b/sample-config.js
@@ -15,7 +15,7 @@ config.debug = false; // for additional logging / debugging
config.watch = {
- // see https://github.com/askmike/gekko#supported-exchanges
+ // see https://gekko.wizb.it/do... | point to supported exchanges page on doc site, see #<I> | askmike_gekko | train | js |
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.