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 |
|---|---|---|---|---|---|
afa9222961965d41fbf0d20df00d248308550e86 | diff --git a/lang/summernote-pt-BR.js b/lang/summernote-pt-BR.js
index <HASH>..<HASH> 100644
--- a/lang/summernote-pt-BR.js
+++ b/lang/summernote-pt-BR.js
@@ -14,12 +14,12 @@
image: {
image: 'Imagem',
insert: 'Inserir imagem',
- resizeFull: 'Resize Full',
- resizeHalf: 'Resize Hal... | Simple translation summernote-en-BR.js
I saw the translation file and realized that the images still in English, so I decided to help. | summernote_summernote | train | js |
789b4d12c41accc23c40061d739b988bf7b1d693 | diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index <HASH>..<HASH> 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -2,10 +2,12 @@
require 'simplecov'
require 'coveralls'
+require 'webmock/rspec'
require 'vcr'
SimpleCov.start
Coveralls.wear!
+WebMock.enable!
require 'bundler/setup'
re... | Add WebMock to spec_helper to use stub_request | kinnell_groupme-ruby-gem | train | rb |
800929ea8d2216cb21b32393fc57e1e219ba4bf3 | diff --git a/examples/plotting/file/ajax_source.py b/examples/plotting/file/ajax_source.py
index <HASH>..<HASH> 100644
--- a/examples/plotting/file/ajax_source.py
+++ b/examples/plotting/file/ajax_source.py
@@ -1,10 +1,13 @@
+import numpy as np
+
from bokeh.plotting import figure, show, output_file
from bokeh.models.... | added animation to ajax data source example | bokeh_bokeh | train | py |
0ee6081906cd8f181b218e78a63d351df06f1911 | diff --git a/plivo/xml/getInputElement.py b/plivo/xml/getInputElement.py
index <HASH>..<HASH> 100644
--- a/plivo/xml/getInputElement.py
+++ b/plivo/xml/getInputElement.py
@@ -253,10 +253,10 @@ class GetInputElement(PlivoXMLElement):
@profanity_filter.setter
def profanity_filter(self, value):
- self._... | chnage profanityFilter to bool | plivo_plivo-python | train | py |
39e5063c91a6539c1e43aef296d829777db67474 | diff --git a/lenstronomy/Sampling/sampler.py b/lenstronomy/Sampling/sampler.py
index <HASH>..<HASH> 100644
--- a/lenstronomy/Sampling/sampler.py
+++ b/lenstronomy/Sampling/sampler.py
@@ -109,7 +109,7 @@ class Sampler(object):
sampler.run_mcmc(p0, n_burn + n_run, progress=progress)
flat_samples = sam... | bug fix length of the logL chain | sibirrer_lenstronomy | train | py |
278e8a008b2aba9c9a2c047ae6033168e354edcf | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -14,7 +14,7 @@ with open(path.join(path.dirname(__file__), 'README.rst')) as readme_file:
setup(
name='cmudict',
version=VERSION,
- description='',
+ description='A versioned python wrapper package for The CMU... | Filled in blank description in setup.py. | prosegrinder_python-cmudict | train | py |
d9ea71d4b7b1b22cc7daf7eadc4a023bdd8fead8 | diff --git a/PHPDaemon/Request/Generic.php b/PHPDaemon/Request/Generic.php
index <HASH>..<HASH> 100644
--- a/PHPDaemon/Request/Generic.php
+++ b/PHPDaemon/Request/Generic.php
@@ -577,7 +577,6 @@ abstract class Generic {
$appStatus = 0;
$this->postFinishHandler(function () use ($appStatus, $status) {
$this-... | Request\Generic: bugfix endRequest with session | kakserpom_phpdaemon | train | php |
3fbfc9d800eb951a179d0a102583b3df380be266 | diff --git a/src/main/java/hex/gbm/DSharedHistogram.java b/src/main/java/hex/gbm/DSharedHistogram.java
index <HASH>..<HASH> 100644
--- a/src/main/java/hex/gbm/DSharedHistogram.java
+++ b/src/main/java/hex/gbm/DSharedHistogram.java
@@ -105,9 +105,9 @@ public class DSharedHistogram extends Iced {
assert _bins == nul... | Float arrays init'd with float data
no need for Float.rawbitstoint anymore | h2oai_h2o-2 | train | java |
e9dcef5c9924f983ca4f46c523f29e710e806aa5 | diff --git a/lib/isono.rb b/lib/isono.rb
index <HASH>..<HASH> 100644
--- a/lib/isono.rb
+++ b/lib/isono.rb
@@ -17,14 +17,6 @@ module Isono
autoload :EventDelegateContext, 'isono/event_delegate_context'
autoload :ResourceManifest, 'isono/resource_manifest'
autoload :MessagingClient, 'isono/messaging_client'
- ... | remove autoload for ManagerModules since they are obsolete. | axsh_isono | train | rb |
7cc25673e0d1cf0e64ff43cd7acd2d2a3e8173c6 | diff --git a/plaso/analysis/windows_services.py b/plaso/analysis/windows_services.py
index <HASH>..<HASH> 100644
--- a/plaso/analysis/windows_services.py
+++ b/plaso/analysis/windows_services.py
@@ -278,7 +278,8 @@ class WindowsServicesAnalysisPlugin(interface.AnalysisPlugin):
service_event_data = services.Windows... | Changes to fix Windows services analysis plugin #<I> (#<I>) | log2timeline_plaso | train | py |
aadd73a61a9e996bab96962f4a26618da196a0a0 | diff --git a/Foundation/Connector.php b/Foundation/Connector.php
index <HASH>..<HASH> 100644
--- a/Foundation/Connector.php
+++ b/Foundation/Connector.php
@@ -5,6 +5,7 @@ namespace Fiesta\Kernel\Foundation;
use Fiesta\Kernel\Config\Config;
use Fiesta\Kernel\Logging\Log;
use Fiesta\Kernel\Logging\Handler;
+use Fiesta... | call function to set alias for Intro class | vinala_kernel | train | php |
4eef802622829df3fd4c851688aad61a600ee578 | diff --git a/src/Repositories/NodesRepository.php b/src/Repositories/NodesRepository.php
index <HASH>..<HASH> 100644
--- a/src/Repositories/NodesRepository.php
+++ b/src/Repositories/NodesRepository.php
@@ -32,7 +32,7 @@ class NodesRepository extends AbstractModelsRepository
if( $this->isQueryingOnlyActiveNo... | fix incorrect query condition for active nodes | arbory_arbory | train | php |
ac56eacae443799a211c715f000bc45a240bb848 | diff --git a/cloudmesh/common/default.py b/cloudmesh/common/default.py
index <HASH>..<HASH> 100644
--- a/cloudmesh/common/default.py
+++ b/cloudmesh/common/default.py
@@ -14,7 +14,7 @@ class Default(object):
if filename is None:
self.filename = path_expand("~/.cloudmesh/default-data")
- s... | new:usr: use pickle protocol to gurantee version compatibility between python 2 and 3 | cloudmesh_cloudmesh-common | train | py |
4a595db34b539a072fbebfefb667f2b6f69fa502 | diff --git a/src/jquery.csv.js b/src/jquery.csv.js
index <HASH>..<HASH> 100755
--- a/src/jquery.csv.js
+++ b/src/jquery.csv.js
@@ -45,7 +45,7 @@ RegExp.escape= function(s) {
var newline = /\r\n|\r|\n/;
var lines = [];
for(var i=0, len=csv.length, position=0, entryLen = 0, quoted=false, endPos=(len-1); ... | Forgot to comment out the logging code on the experimental line split function | mageddo_javascript-csv | train | js |
2d29ac1e1093ac0e8b37cacc10d283ff97b87828 | diff --git a/src/Symfony/Component/Security/Http/Tests/Firewall/AnonymousAuthenticationListenerTest.php b/src/Symfony/Component/Security/Http/Tests/Firewall/AnonymousAuthenticationListenerTest.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/Security/Http/Tests/Firewall/AnonymousAuthenticationListenerTest.ph... | [Security/Http] Fix test relying on a private property | symfony_symfony | train | php |
7b4f3f88f0c1847896e70e26b0cf5a4e4d5ec6f4 | diff --git a/txstore.go b/txstore.go
index <HASH>..<HASH> 100644
--- a/txstore.go
+++ b/txstore.go
@@ -209,11 +209,10 @@ func (ts *TxStore) Ingest(tx *wire.MsgTx, height int32, timestamp time.Time) (ui
// Check to see if we've already processed this tx. If so, return.
ts.txidsMutex.Lock()
sh, ok := ts.txids[tx.Tx... | REFACTOR: Simplify lock usage. | OpenBazaar_spvwallet | train | go |
bdda34534d8cc8420cc341395f2517e4b06039c5 | diff --git a/ratcave/shader.py b/ratcave/shader.py
index <HASH>..<HASH> 100644
--- a/ratcave/shader.py
+++ b/ratcave/shader.py
@@ -57,13 +57,25 @@ class UniformCollection(object):
self[key] = value
def __setitem__(self, key, value):
- if type(value) != Uniform:
- try:
- ... | made UniformCollection to enable dict-like indexing on uniforms | ratcave_ratcave | train | py |
28abf11285faedc90d91b045cef250f5d11b0935 | diff --git a/examples/js/coinone-markets.js b/examples/js/coinone-markets.js
index <HASH>..<HASH> 100644
--- a/examples/js/coinone-markets.js
+++ b/examples/js/coinone-markets.js
@@ -1,16 +1,17 @@
"use strict"
-const log = require('ololog')
-const ccxt = require('../../ccxt.js')
-const exchange = new ccxt.coinone({
... | examples/js/coinone-markets.js edits | ccxt_ccxt | train | js |
d1453771befffa9d408fb3e9b2a20864008efffe | diff --git a/library/src/main/java/com/wdullaer/materialdatetimepicker/time/TimePickerDialog.java b/library/src/main/java/com/wdullaer/materialdatetimepicker/time/TimePickerDialog.java
index <HASH>..<HASH> 100644
--- a/library/src/main/java/com/wdullaer/materialdatetimepicker/time/TimePickerDialog.java
+++ b/library/sr... | Made Node class in TimePickerDialog static as it should be | wdullaer_MaterialDateTimePicker | train | java |
68ac9dfdb70fc40e9057c0a221bd2092dbf1f407 | diff --git a/rake/changelog.rb b/rake/changelog.rb
index <HASH>..<HASH> 100644
--- a/rake/changelog.rb
+++ b/rake/changelog.rb
@@ -1,5 +1,36 @@
# Helper class for updating CHANGELOG.md
class Changelog
+ attr_reader :changelog
+
+ def initialize
+ @changelog = File.expand_path("../../CHANGELOG.md", __FILE__)
+ e... | Lay out methods for the structure of what Changelog.run will do
Check that the version has been updated | bundler_gemstash | train | rb |
eecf07f99c815ea870d529590f1d56878da76915 | diff --git a/simple_history/tests/tests.py b/simple_history/tests/tests.py
index <HASH>..<HASH> 100644
--- a/simple_history/tests/tests.py
+++ b/simple_history/tests/tests.py
@@ -161,6 +161,19 @@ class HistoryManagerTest(TestCase):
self.assertEqual(most_recent.__class__, Poll)
self.assertEqual(most_re... | Add more tests for most_recent model manager | treyhunner_django-simple-history | train | py |
015620aaef75234588e422204b11fa25d2d9a248 | diff --git a/webpack/test-utils/react-testing-lib-wrapper.js b/webpack/test-utils/react-testing-lib-wrapper.js
index <HASH>..<HASH> 100644
--- a/webpack/test-utils/react-testing-lib-wrapper.js
+++ b/webpack/test-utils/react-testing-lib-wrapper.js
@@ -4,13 +4,12 @@
import React from 'react';
import thunk from 'redux-t... | Fixes #<I> - Correct APIMiddleware path for react tests | Katello_katello | train | js |
45522f7853831d0c4b514c49c72e672c73a18e7e | diff --git a/tests/find/test-suite-1/test.sorting.js b/tests/find/test-suite-1/test.sorting.js
index <HASH>..<HASH> 100644
--- a/tests/find/test-suite-1/test.sorting.js
+++ b/tests/find/test-suite-1/test.sorting.js
@@ -261,4 +261,37 @@ describe('test.sorting.js', function () {
});
});
});
+
+ it('#8438 ... | test(#<I>): add test for sort deleted docs | pouchdb_pouchdb | train | js |
4681100338857b5a53c9e3e77c319bdeecee12af | diff --git a/streaming.go b/streaming.go
index <HASH>..<HASH> 100644
--- a/streaming.go
+++ b/streaming.go
@@ -137,8 +137,6 @@ type rsStream struct {
readShards func(dst [][]byte, in []io.Reader) error
// Shard writer
writeShards func(out []io.Writer, in [][]byte) error
- creads bool
- cwrites bool
}
... | Removed unused struct members (#<I>)
creads & cwrites both seem to be unused. | klauspost_reedsolomon | train | go |
4417a19b035d73eb46a5e06e296a4b1c8091bef1 | diff --git a/actionpack/lib/action_controller/base/http.rb b/actionpack/lib/action_controller/base/http.rb
index <HASH>..<HASH> 100644
--- a/actionpack/lib/action_controller/base/http.rb
+++ b/actionpack/lib/action_controller/base/http.rb
@@ -36,7 +36,7 @@ module ActionController
# ==== Returns
# String
... | Small changes to get <I> passing (for the most part) | rails_rails | train | rb,rb |
f5c373469674461ac79d21856e8f22da2108a0e4 | diff --git a/Exedra/Exedra.php b/Exedra/Exedra.php
index <HASH>..<HASH> 100644
--- a/Exedra/Exedra.php
+++ b/Exedra/Exedra.php
@@ -75,7 +75,7 @@ class Exedra
return $this->apps[$app_name];
// register autoload for this app_name.
- $this->loader->registerAutoload($app_name);
+ $this->loader->registerAutol... | Properly register application folder for autoloading | Rosengate_exedra | train | php |
bfa5d88e4745c95d84643fc0bd4b7fdf6d909e76 | diff --git a/src/SAML2/Message.php b/src/SAML2/Message.php
index <HASH>..<HASH> 100644
--- a/src/SAML2/Message.php
+++ b/src/SAML2/Message.php
@@ -175,7 +175,23 @@ abstract class Message implements SignedElement
}
}
- /* Validate the signature element of the message. */
+ $this->va... | Lower the NPath complexity of SAML2\Message::__construct() by extracting the code doing signature validation to a new, private method. | simplesamlphp_saml2 | train | php |
fe5204f92c7971a53d5112f09d114ab120a5efbb | diff --git a/badges/lib/awardlib.php b/badges/lib/awardlib.php
index <HASH>..<HASH> 100644
--- a/badges/lib/awardlib.php
+++ b/badges/lib/awardlib.php
@@ -26,7 +26,6 @@
defined('MOODLE_INTERNAL') || die();
-require_once(dirname(dirname(dirname(__FILE__))) . '/config.php');
require_once($CFG->libdir . '/badgeslib.... | MDL-<I> badges: Prevent extra loading due to unnecessary includes | moodle_moodle | train | php,php |
e56423cbfe47fc7d9c47782929dbde079e4a5e82 | diff --git a/src/main/java/org/jolokia/docker/maven/DockerAccessUnirest.java b/src/main/java/org/jolokia/docker/maven/DockerAccessUnirest.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jolokia/docker/maven/DockerAccessUnirest.java
+++ b/src/main/java/org/jolokia/docker/maven/DockerAccessUnirest.java
@@ -340,6... | Fixed progress meter when doing a pull | fabric8io_docker-maven-plugin | train | java |
c44b75da0ca2a5e8f93c199d191daa4f419c7dc1 | diff --git a/SockBot.js b/SockBot.js
index <HASH>..<HASH> 100644
--- a/SockBot.js
+++ b/SockBot.js
@@ -95,6 +95,12 @@ async.waterfall([
},
function (cb) {
if (!config.user || !config.user.user) {
+ if (config.user) {
+ if (typeof (config.user) === 'object') {
+ ... | Added some more diagnostics to the login process when it fails | SockDrawer_SockBot | train | js |
dc51b57ace3f260a2c03ee8cd5c4422e8ae0aadc | diff --git a/lib/apiserver.js b/lib/apiserver.js
index <HASH>..<HASH> 100644
--- a/lib/apiserver.js
+++ b/lib/apiserver.js
@@ -1,5 +1,5 @@
var http = require('http'),
- url = require('url'),
+ parse = require('url').parse,
qs = require('qs'),
util = require('util'),
events = require('events'),
@@ ... | added aliases to the request object | kilianc_node-apiserver | train | js |
e377fe1a9c3c4f2a75162974fd9c1a99edf9e2d9 | diff --git a/ArgusWebServices/src/main/java/com/salesforce/dva/argus/ws/resources/MetricResources.java b/ArgusWebServices/src/main/java/com/salesforce/dva/argus/ws/resources/MetricResources.java
index <HASH>..<HASH> 100644
--- a/ArgusWebServices/src/main/java/com/salesforce/dva/argus/ws/resources/MetricResources.java
+... | Quality factor should be within the range 0-1 inclusive | salesforce_Argus | train | java |
ddfda430d46004cd56dd9660b387a888eabd7fb0 | diff --git a/dag/walk.go b/dag/walk.go
index <HASH>..<HASH> 100644
--- a/dag/walk.go
+++ b/dag/walk.go
@@ -15,7 +15,7 @@ import (
// been walked. If two vertices can be walked at the same time, they will be.
//
// Update can be called to update the graph. This can be called even during
-// a walk, cahnging vertices/... | Correct simple typo in `walk.go`. | hashicorp_terraform | train | go |
acee583d072ce15e8a8e1d53f4b51729754c71de | diff --git a/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerModule.java b/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerModule.java
index <HASH>..<HASH> 100644
--- a/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerModule.java
+++ b/android/sr... | Fix issue with hit slop not being set correctly on Android | kmagiera_react-native-gesture-handler | train | java |
8a77075cff893254a65309eb58d3e820482e2168 | diff --git a/cmd/argocd/commands/app.go b/cmd/argocd/commands/app.go
index <HASH>..<HASH> 100644
--- a/cmd/argocd/commands/app.go
+++ b/cmd/argocd/commands/app.go
@@ -1081,9 +1081,9 @@ func NewApplicationDiffCommand(clientOpts *argocdclient.ClientOptions) *cobra.Co
var live *unstructured.Unstructured
var ta... | fix: CLI renders flipped diff results (#<I>) | argoproj_argo-cd | train | go |
ccec9ed4ca65a3b84f4a276090253aa9dc5094f2 | diff --git a/questionary/prompts/common.py b/questionary/prompts/common.py
index <HASH>..<HASH> 100644
--- a/questionary/prompts/common.py
+++ b/questionary/prompts/common.py
@@ -258,9 +258,7 @@ class InquirerControl(FormattedTextControl):
compare_default = self.default == choice
else:
... | Return selected choices even if they are disabled | tmbo_questionary | train | py |
ef1487ee2eec8b0f61010ce2296f4af036487e8f | diff --git a/src/Manager/SessionManager.php b/src/Manager/SessionManager.php
index <HASH>..<HASH> 100644
--- a/src/Manager/SessionManager.php
+++ b/src/Manager/SessionManager.php
@@ -133,16 +133,27 @@ final class SessionManager implements SessionManagerInterface
*/
public function clearSession($byContainer =... | reduce complexity by moving code to separate method | samsonasik_SanSessionToolbar | train | php |
ba95414539dc6acf537fcdaf7f72c6942508f3fe | diff --git a/question/type/multianswer/questiontype.php b/question/type/multianswer/questiontype.php
index <HASH>..<HASH> 100644
--- a/question/type/multianswer/questiontype.php
+++ b/question/type/multianswer/questiontype.php
@@ -357,7 +357,7 @@ class embedded_cloze_qtype extends default_questiontype {
... | MDL-<I> testing with $correct != '' so that correct answer 0 is shown in multianswer | moodle_moodle | train | php |
36edf2c20ff3b38a54d8e3fd1b699227d8479857 | diff --git a/lib/data_mapper/relationship/builder/has.rb b/lib/data_mapper/relationship/builder/has.rb
index <HASH>..<HASH> 100644
--- a/lib/data_mapper/relationship/builder/has.rb
+++ b/lib/data_mapper/relationship/builder/has.rb
@@ -38,6 +38,8 @@ module DataMapper
options = options_class.new(name, source... | Also perform option validation in Builder::Has | rom-rb_rom | train | rb |
c88455095d9e7cebb30f2b44f0c043c575293d19 | diff --git a/py/test/selenium/webdriver/common/script_pinning_tests.py b/py/test/selenium/webdriver/common/script_pinning_tests.py
index <HASH>..<HASH> 100644
--- a/py/test/selenium/webdriver/common/script_pinning_tests.py
+++ b/py/test/selenium/webdriver/common/script_pinning_tests.py
@@ -75,4 +75,3 @@ def test_unpinn... | [py]: fix flake8 violations for `W<I>` | SeleniumHQ_selenium | train | py |
293ddb3b695c01ffce825d5339b54cef7c2a4f14 | diff --git a/lib/sof/members.rb b/lib/sof/members.rb
index <HASH>..<HASH> 100644
--- a/lib/sof/members.rb
+++ b/lib/sof/members.rb
@@ -47,24 +47,25 @@ module Sof
o = Occurence.new( object , level )
@objects[object.object_id] = o
- # and recursively add attributes
- attributes = attributes_for(... | include list and dictionary as arr/hash | ruby-x_rx-file | train | rb |
c4e235243bcf39455c8379a351689479e36d1caf | diff --git a/abci/tests/client_server_test.go b/abci/tests/client_server_test.go
index <HASH>..<HASH> 100644
--- a/abci/tests/client_server_test.go
+++ b/abci/tests/client_server_test.go
@@ -19,9 +19,12 @@ func TestClientServerNoAddrPrefix(t *testing.T) {
assert.NoError(t, err, "expected no error on NewServer")
err... | test: stop abci server started in addr test (#<I>)
This test would fail if run with "go test -count=2" because it uses a
fixed address and was not closing the server, so the subsequent run
could not bind to the address.
While closing the server is correct, it would probably be better if the
API was able to repor... | tendermint_tendermint | train | go |
38cdad1b1f057a6e6517559ee93a40a9de8ef536 | diff --git a/tests/CacheTest.php b/tests/CacheTest.php
index <HASH>..<HASH> 100644
--- a/tests/CacheTest.php
+++ b/tests/CacheTest.php
@@ -174,7 +174,7 @@ class CacheTest extends PHPUnit_Framework_TestCase
$this->adapter = $this->getMock('voku\cache\AdapterApc');
$this->serializer = $this->getMock('voku\cache... | [+]: use cache for testing | voku_simple-cache | train | php |
57f30839a71dd9f83a577fb1e1530f73f9940472 | diff --git a/timeside/plugins/analyzer/spectrogram.py b/timeside/plugins/analyzer/spectrogram.py
index <HASH>..<HASH> 100644
--- a/timeside/plugins/analyzer/spectrogram.py
+++ b/timeside/plugins/analyzer/spectrogram.py
@@ -145,6 +145,18 @@ class Spectrogram(Analyzer):
self.sa... | Server: Add a grapher for the linear spectrogram from the corresponding analyzer | Parisson_TimeSide | train | py |
3adff21b76267648e9817200cfc159199e1370f3 | diff --git a/lib/DAV/FSExt/File.php b/lib/DAV/FSExt/File.php
index <HASH>..<HASH> 100644
--- a/lib/DAV/FSExt/File.php
+++ b/lib/DAV/FSExt/File.php
@@ -23,7 +23,7 @@ class File extends Node implements DAV\PartialUpdate\IPatchSupport {
function put($data) {
file_put_contents($this->path,$data);
- r... | PUT and PATCH returns `getETag`…
… instead of recomputing something by themselves. | sabre-io_dav | train | php |
13c210613f2ae3a104b0b3212dfaebfe5c6fd9a5 | diff --git a/lib/spiceweasel/roles.rb b/lib/spiceweasel/roles.rb
index <HASH>..<HASH> 100644
--- a/lib/spiceweasel/roles.rb
+++ b/lib/spiceweasel/roles.rb
@@ -1,7 +1,7 @@
#
-# Author:: Matt Ray (<matt@opscode.com>)
+# Author:: Matt Ray (<matt@getchef.com>)
#
-# Copyright:: 2011-2013, Opscode, Inc <legal@opscode.com>
... | rescue SyntaxErrors gracefully | mattray_spiceweasel | train | rb |
0d4cfd5e17f8c2ca457807edaf8ec01bc0bf277c | diff --git a/astromodels/functions/template_model.py b/astromodels/functions/template_model.py
index <HASH>..<HASH> 100644
--- a/astromodels/functions/template_model.py
+++ b/astromodels/functions/template_model.py
@@ -709,7 +709,7 @@ class TemplateModel(with_metaclass(FunctionMeta, Function1D)):
# In ... | Fix for Issue #<I>
By specifying the dtype for the grid array in the interpolator the numba typing error is resolved. | threeML_astromodels | train | py |
cdd015290a03d748fa41926bdc012b1ea566195b | diff --git a/tests/aggregation/tests.py b/tests/aggregation/tests.py
index <HASH>..<HASH> 100644
--- a/tests/aggregation/tests.py
+++ b/tests/aggregation/tests.py
@@ -3,10 +3,10 @@ from __future__ import absolute_import
import datetime
from decimal import Decimal
-from django.db.models import Q, F, Avg, Max, Min
+f... | Use conditional Avg on tests | henriquebastos_django-aggregate-if | train | py |
fea3daa4485c6b145814ba5a121cb8d1395af59b | diff --git a/views/js/testRunner/actionBar/collapseReview.js b/views/js/testRunner/actionBar/collapseReview.js
index <HASH>..<HASH> 100644
--- a/views/js/testRunner/actionBar/collapseReview.js
+++ b/views/js/testRunner/actionBar/collapseReview.js
@@ -40,6 +40,10 @@ define([
icon : 'mobile-menu',
... | TAO-<I> allow hiding the review screen feature with itemRef categories | oat-sa_extension-tao-testqti | train | js |
dbe531be31f188cbb600fd91c6818b03f3760536 | diff --git a/test/test_torconfig.py b/test/test_torconfig.py
index <HASH>..<HASH> 100644
--- a/test/test_torconfig.py
+++ b/test/test_torconfig.py
@@ -270,9 +270,9 @@ class ConfigTests(unittest.TestCase):
self.protocol.answers.append({'baz': 'auto'})
conf = TorConfig(self.protocol)
- self.ass... | assertTrue -> assertEqual | meejah_txtorcon | train | py |
4e6a6076c7942f0d7aa8930b760e4d0e0a547eb1 | diff --git a/src/hypercorn/__about__.py b/src/hypercorn/__about__.py
index <HASH>..<HASH> 100644
--- a/src/hypercorn/__about__.py
+++ b/src/hypercorn/__about__.py
@@ -1 +1 @@
-__version__ = "0.9.1"
+__version__ = "0.9.1+dev" | Following the release of <I> bump to +dev | pgjones_hypercorn | train | py |
6729f9672b4b37175bb46f73a100dc82ad41a89e | diff --git a/src/widgets/Gravatar.php b/src/widgets/Gravatar.php
index <HASH>..<HASH> 100644
--- a/src/widgets/Gravatar.php
+++ b/src/widgets/Gravatar.php
@@ -15,6 +15,8 @@ class Gravatar extends \cebe\gravatar\Gravatar
{
public $defaultImage = 'identicon';
+ public $rating = 'pg';
+
protected $_emailHa... | Increased Gravatar widget rating to PG | hiqdev_hipanel-core | train | php |
8fa32d8cc9702d49a932fccdb1119f4b9a7b8f18 | diff --git a/lxd/api_project.go b/lxd/api_project.go
index <HASH>..<HASH> 100644
--- a/lxd/api_project.go
+++ b/lxd/api_project.go
@@ -585,8 +585,7 @@ func projectChange(d *Daemon, project *db.Project, req api.ProjectPut) response.
}
} else {
// Delete the project-specific default profile.
- filter := ... | lxd/api/project: use explicit arguments for delete | lxc_lxd | train | go |
309059baf97c582e9797a189f2527e1a058c3e85 | diff --git a/src/setup.js b/src/setup.js
index <HASH>..<HASH> 100644
--- a/src/setup.js
+++ b/src/setup.js
@@ -42,7 +42,21 @@ ZalgoPromise.onPossiblyUnhandledException(err => {
[ FPTI.KEY.ERROR_DESC ]: stringifyError(err)
});
- $logger.flush();
+ $logger.flush().catch(err2 => {
+ if (window... | Prevent infinite loop from log flushing | paypal_paypal-checkout-components | train | js |
3af64a0e85c89c6634322ee96873b9873b50c142 | diff --git a/src/Plugin/Patches.php b/src/Plugin/Patches.php
index <HASH>..<HASH> 100644
--- a/src/Plugin/Patches.php
+++ b/src/Plugin/Patches.php
@@ -253,6 +253,7 @@ class Patches implements PluginInterface, EventSubscriberInterface, Capable
}
// Remove packages for which the patch set has ... | Add support for Promises being returned by uninstall in Composer <I> | cweagans_composer-patches | train | php |
9538e8460241dc379e9b1a0dc81fe0f11eaaea1f | diff --git a/src/Peach/Http/MessageBody.php b/src/Peach/Http/MessageBody.php
index <HASH>..<HASH> 100644
--- a/src/Peach/Http/MessageBody.php
+++ b/src/Peach/Http/MessageBody.php
@@ -27,6 +27,9 @@
*/
namespace Peach\Http;
+/**
+ * HTTP リクエストおよびレスポンスの Body 部分を表現するインタフェースです.
+ */
interface MessageBody
{
/**
@... | Renamed getEncoder to getRenderer | trashtoy_PEACH2 | train | php |
1efab3e77572ae32d1c73893a9d4d6fb195e34a4 | diff --git a/aws/session/session.go b/aws/session/session.go
index <HASH>..<HASH> 100644
--- a/aws/session/session.go
+++ b/aws/session/session.go
@@ -207,9 +207,9 @@ type Options struct {
// the config enables assume role wit MFA via the mfa_serial field.
AssumeRoleTokenProvider func() (string, error)
- // When ... | Allow configuration session duration generally
The previous commit enabled modifying session duration with the
`NewSessionWithOptions` method when using MFA. This commit expands that
to modify the requested session duration whenever using an assumed role. | aws_aws-sdk-go | train | go |
9f217d9d473da1f594df7d20e7e5e5d17732fc44 | diff --git a/util.go b/util.go
index <HASH>..<HASH> 100644
--- a/util.go
+++ b/util.go
@@ -8,6 +8,7 @@ import (
"os"
pathpkg "path"
"strings"
+ "time"
)
var (
@@ -75,6 +76,7 @@ func (f *file) Write(p []byte) (int, error) {
f.f.Data = append(f.f.Data, p[n:]...)
}
f.offset += count
+ f.f.ModTime = time.N... | Udpate ModTime when writing to a file | rainycape_vfs | train | go |
7091a87f7e316d6f07ecab1d8a1b97bba4f146ef | diff --git a/labsuite/protocol/protocol.py b/labsuite/protocol/protocol.py
index <HASH>..<HASH> 100644
--- a/labsuite/protocol/protocol.py
+++ b/labsuite/protocol/protocol.py
@@ -201,7 +201,10 @@ class Protocol():
def run_next(self):
i = self._command_index
- next_command = self._commands[self._c... | Protocol: Return false from run_next when done.
I know, I know, I'll make this an iterator eventually. But that
day is not today. | Opentrons_opentrons | train | py |
51df1dadf5092a574903e3b1778fdb0ef6c4f935 | diff --git a/glue_vispy_viewers/extern/vispy/visuals/axis.py b/glue_vispy_viewers/extern/vispy/visuals/axis.py
index <HASH>..<HASH> 100644
--- a/glue_vispy_viewers/extern/vispy/visuals/axis.py
+++ b/glue_vispy_viewers/extern/vispy/visuals/axis.py
@@ -113,8 +113,8 @@ class AxisVisual(CompoundVisual):
self._ne... | Enable anti-aliasing for the lines in the 3D axes to avoid issues on Windows (and since it looks better) | glue-viz_glue-vispy-viewers | train | py |
8e2732531f0b2fd6bee791c2bc0ca8bd04c71de7 | diff --git a/lib/uirusu/vtresult.rb b/lib/uirusu/vtresult.rb
index <HASH>..<HASH> 100644
--- a/lib/uirusu/vtresult.rb
+++ b/lib/uirusu/vtresult.rb
@@ -133,6 +133,7 @@ module Uirusu
#
def to_xml
result_string = String.new
+ result_string << "<results>\n"
@results.each do |result|
result_string << "\... | Moved the prepending and appending of <results> </results> here instead of in application.rb | hammackj_uirusu | train | rb |
3e4ce1c7677e024c961b7e4892eef53b2e30c519 | diff --git a/agora/client/agora.py b/agora/client/agora.py
index <HASH>..<HASH> 100644
--- a/agora/client/agora.py
+++ b/agora/client/agora.py
@@ -278,12 +278,12 @@ class PlanExecutor(object):
raise
except Exception, e:
log.warning(e.message)
- ... | Fixed resource caching when dereference fails | SmartDeveloperHub_agora-client | train | py,py |
5aa8be044a6c347b055e7fff79bde059536a951a | diff --git a/core/match_filter.py b/core/match_filter.py
index <HASH>..<HASH> 100644
--- a/core/match_filter.py
+++ b/core/match_filter.py
@@ -189,11 +189,15 @@ def _template_loop(template, chan, station, channel, i=0):
print "If statement without correlation took %s s" % t.secs
if matchdef.debug >= 3:
... | Debugging inf mean on pan
Former-commit-id: <I>eebe<I>dc<I>e8df6e7cbb<I>be6d4a<I>da6 | eqcorrscan_EQcorrscan | train | py |
15ebe153bd9cfbd6d503195ab85d1d6e91df302a | diff --git a/geopy/distance.py b/geopy/distance.py
index <HASH>..<HASH> 100644
--- a/geopy/distance.py
+++ b/geopy/distance.py
@@ -384,7 +384,9 @@ class vincenty(Distance):
iter_limit = self.iterations
i = 0
- while abs(lambda_lng - lambda_prime) > 10e-12 and i <= iter_limit:
+
+ while... | Fix vincenty failing for 0 distance across antimeridian | geopy_geopy | train | py,py |
5d9399e9606721920f893b8eae4f32b68a8588c7 | diff --git a/src/ossos/core/ossos/pipeline/combine.py b/src/ossos/core/ossos/pipeline/combine.py
index <HASH>..<HASH> 100644
--- a/src/ossos/core/ossos/pipeline/combine.py
+++ b/src/ossos/core/ossos/pipeline/combine.py
@@ -41,7 +41,7 @@ def run(expnum, ccd, prefix=None, version='p', field=None,
logging.info("{... | Pass correct parameters to the log file builder. | OSSOS_MOP | train | py |
3b05900cebf456fc4c5ba0438765b347a387c6fe | diff --git a/src/plone/app/mosaic/browser/interfaces.py b/src/plone/app/mosaic/browser/interfaces.py
index <HASH>..<HASH> 100644
--- a/src/plone/app/mosaic/browser/interfaces.py
+++ b/src/plone/app/mosaic/browser/interfaces.py
@@ -1,7 +1,11 @@
# -*- coding: utf-8 -*-
from zope.interface import Interface
+try:
+ ... | Fix to use CMFPlone's IMainTemplate on Plone 5 | plone_plone.app.mosaic | train | py |
78005e1eb3ae7e2ee97c2001af2a710fa01fbad2 | diff --git a/icalevents/icalparser.py b/icalevents/icalparser.py
index <HASH>..<HASH> 100644
--- a/icalevents/icalparser.py
+++ b/icalevents/icalparser.py
@@ -43,6 +43,7 @@ class Event:
self.private = False
self.created = None
self.last_modified = None
+ self.sequence = None
def... | Support SEQUENCE in ical events
Sequences are used to know when an single event overrides a recurring event | irgangla_icalevents | train | py |
7da0f794c9c511e2120a90627b946aa915aa8b75 | diff --git a/langserver/util/os_windows.go b/langserver/util/os_windows.go
index <HASH>..<HASH> 100644
--- a/langserver/util/os_windows.go
+++ b/langserver/util/os_windows.go
@@ -1,6 +1,6 @@
// +build windows
-package utils
+package util
import (
"path/filepath" | use correct package for os_windows.go (#<I>) | sourcegraph_go-langserver | train | go |
6476fa45644f3c5038810318b5e63d9ff13dbb3d | diff --git a/libkbfs/test_common.go b/libkbfs/test_common.go
index <HASH>..<HASH> 100644
--- a/libkbfs/test_common.go
+++ b/libkbfs/test_common.go
@@ -79,6 +79,8 @@ func MakeTestBlockServerOrBust(t logger.TestLogBackend,
}
}
+var libkbGOnce sync.Once
+
// MakeTestConfigOrBustLoggedInWithMode creates and returns a... | wrap libk.G.Init() in a sync.Once for now (#<I>) | keybase_client | train | go |
ba6c0321808b5b8da0b795c7a66ee303ef636c94 | diff --git a/transport/src/main/java/io/netty/channel/ChannelInboundMessageHandlerAdapter.java b/transport/src/main/java/io/netty/channel/ChannelInboundMessageHandlerAdapter.java
index <HASH>..<HASH> 100644
--- a/transport/src/main/java/io/netty/channel/ChannelInboundMessageHandlerAdapter.java
+++ b/transport/src/main/... | [#<I>] Provide pre/post handler methods to ChannelInboundMessageHandler.inboundBufferUpdated()
- Add pre- and post- handler methods | netty_netty | train | java |
726c52ad195a3f0683733ccf6f4028d8e4bbcc89 | diff --git a/tinylog-impl/src/test/java/org/tinylog/core/TinylogLoggingProviderTest.java b/tinylog-impl/src/test/java/org/tinylog/core/TinylogLoggingProviderTest.java
index <HASH>..<HASH> 100644
--- a/tinylog-impl/src/test/java/org/tinylog/core/TinylogLoggingProviderTest.java
+++ b/tinylog-impl/src/test/java/org/tinylo... | Fix an occasional happening unittest bug that the configuration is
frozen. | pmwmedia_tinylog | train | java |
fed48aa75bcdc34afcb11dc59c4941cce3e659cf | diff --git a/test/js/spec/chai-jq.spec.js b/test/js/spec/chai-jq.spec.js
index <HASH>..<HASH> 100644
--- a/test/js/spec/chai-jq.spec.js
+++ b/test/js/spec/chai-jq.spec.js
@@ -328,7 +328,6 @@ define(["jquery"], function ($) {
it("matches property", function () {
var $fixture = this.$fixture;
- /... | Add tests for 'checks presence of property' | FormidableLabs_chai-jq | train | js |
597194fb9626badd5f0ea1593d907b64a838bdef | diff --git a/scheduler/stack_test.go b/scheduler/stack_test.go
index <HASH>..<HASH> 100644
--- a/scheduler/stack_test.go
+++ b/scheduler/stack_test.go
@@ -2,6 +2,7 @@ package scheduler
import (
"reflect"
+ "runtime"
"testing"
"github.com/hashicorp/nomad/nomad/mock"
@@ -72,8 +73,11 @@ func TestServiceStack_Se... | Skip unreliable time measurement assertions on Windows. | hashicorp_nomad | train | go |
7e4cbb1c362b0135b315b7162f11e72108545894 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -41,6 +41,7 @@ function WooCommerceAPI(opt) {
*/
WooCommerceAPI.prototype._setDefaultsOptions = function(opt) {
this.url = opt.url;
+ this.wpAPI = opt.wpAPI || false;
this.version = opt.... | Added support for WP REST API | woocommerce_wc-api-node | train | js |
150a3e15aad36d906d44bd52a410ede6ee6f2219 | diff --git a/src/Bootloader/Cycle/ProxiesBootloader.php b/src/Bootloader/Cycle/ProxiesBootloader.php
index <HASH>..<HASH> 100644
--- a/src/Bootloader/Cycle/ProxiesBootloader.php
+++ b/src/Bootloader/Cycle/ProxiesBootloader.php
@@ -9,9 +9,9 @@ declare(strict_types=1);
namespace Spiral\Bootloader\Cycle;
-use Cycle\O... | updated dependency with cycle/proxy-factory | spiral_security | train | php |
d55ff1f433d5a7d9a920a00bdd2ec5aea4e3c5e2 | diff --git a/test/functional/ft_55_engine_participant.rb b/test/functional/ft_55_engine_participant.rb
index <HASH>..<HASH> 100644
--- a/test/functional/ft_55_engine_participant.rb
+++ b/test/functional/ft_55_engine_participant.rb
@@ -9,6 +9,8 @@
require File.join(File.dirname(__FILE__), 'base')
+require_json
+Ruf... | ft_<I> : made sure it can be run standalone | jmettraux_ruote | train | rb |
14ae1325a20f6f88be946078f17683d5162b1ba8 | diff --git a/web/src/main/webapp/resources/js/genePropertiesTooltipModule.js b/web/src/main/webapp/resources/js/genePropertiesTooltipModule.js
index <HASH>..<HASH> 100644
--- a/web/src/main/webapp/resources/js/genePropertiesTooltipModule.js
+++ b/web/src/main/webapp/resources/js/genePropertiesTooltipModule.js
@@ -26,22... | no longer needed as fixed in af<I>c<I> | ebi-gene-expression-group_atlas | train | js |
46728d26556a29ccf0351d56c1d197ffc623ac5c | diff --git a/openpnm/core/Base.py b/openpnm/core/Base.py
index <HASH>..<HASH> 100644
--- a/openpnm/core/Base.py
+++ b/openpnm/core/Base.py
@@ -842,10 +842,10 @@ class Base(dict):
--------
>>> import openpnm as op
>>> pn = op.network.Cubic(shape=[5, 5, 5])
- >>> Ps = pn.pores(labels=['t... | [ci skip] changed labels for vals | PMEAL_OpenPNM | train | py |
26f405b26604ae1e8336174eada7849875c5a8fb | diff --git a/system_maintenance/models.py b/system_maintenance/models.py
index <HASH>..<HASH> 100644
--- a/system_maintenance/models.py
+++ b/system_maintenance/models.py
@@ -46,9 +46,7 @@ class DocumentationRecord(models.Model):
documentation = MarkupField(
blank=True,
- default_markup_type='Mar... | Remove MarkupField args already defined by markupfield helper | mfcovington_django-system-maintenance | train | py |
34b0d6d06025f27f1347598813430c8c7d90ee71 | diff --git a/utils/e2e/support/index.js b/utils/e2e/support/index.js
index <HASH>..<HASH> 100644
--- a/utils/e2e/support/index.js
+++ b/utils/e2e/support/index.js
@@ -14,10 +14,10 @@
// ***********************************************************
// Import commands.js using ES2015 syntax:
-//import './commands';
+im... | PWA-<I> Shoppers can change their password | shopgate_pwa | train | js |
6939430bb55782df132ea5474dbb9f04cc6c8452 | diff --git a/pyipmi/ipmitool.py b/pyipmi/ipmitool.py
index <HASH>..<HASH> 100755
--- a/pyipmi/ipmitool.py
+++ b/pyipmi/ipmitool.py
@@ -71,12 +71,12 @@ Additional Device Support:
('CHASSIS', 'Chassis Device')
)
for n, s in functions:
- if id.supports_function(n):
+ if device_id.suppo... | fix output of device id in ipmitool | kontron_python-ipmi | train | py |
7b63b34087e00e63a0db1db37b9248c7bdb79e56 | diff --git a/lib/gcloud/vision/project.rb b/lib/gcloud/vision/project.rb
index <HASH>..<HASH> 100644
--- a/lib/gcloud/vision/project.rb
+++ b/lib/gcloud/vision/project.rb
@@ -132,7 +132,7 @@ module Gcloud
##
# Performs detection of Cloud Vision [features](https://cloud.google.com/vision/reference/rest/v1/... | Update Vision docs for default count
There was a discrepency between Project#annotate and Annotate#annotate.
Correct the count in the docs so they are consistent.
[closes #<I>] | googleapis_google-cloud-ruby | train | rb |
40b93c5eeca2c83d829e3f12c57eb312cc554291 | diff --git a/merb-gen/lib/generators/templates/application/merb/config/environments/development.rb b/merb-gen/lib/generators/templates/application/merb/config/environments/development.rb
index <HASH>..<HASH> 100644
--- a/merb-gen/lib/generators/templates/application/merb/config/environments/development.rb
+++ b/merb-ge... | Added :ignore_tampered_cookies option to development environment (app generator) | wycats_merb | train | rb |
dd25fe88a346d4f5f2beefea3845740a847e9664 | diff --git a/cf_debug_server_test.go b/cf_debug_server_test.go
index <HASH>..<HASH> 100644
--- a/cf_debug_server_test.go
+++ b/cf_debug_server_test.go
@@ -139,7 +139,7 @@ var _ = Describe("CF Debug Server", func() {
process, err = cf_debug_server.Run(address, sink)
Expect(err).NotTo(HaveOccurred())
- ... | Update lager.Sink usage to new interface
[#<I>] | cloudfoundry_debugserver | train | go |
a42eb5e172d8b723cf2556ff6c6c6c1da090363d | diff --git a/source/rafcon/gui/models/modification_history.py b/source/rafcon/gui/models/modification_history.py
index <HASH>..<HASH> 100644
--- a/source/rafcon/gui/models/modification_history.py
+++ b/source/rafcon/gui/models/modification_history.py
@@ -31,7 +31,7 @@ from gtkmvc3.observable import Observable
from r... | fix(modification_history): fix issue introduced by refactor/history
Incomplete refactoring in b<I>a7bab | DLR-RM_RAFCON | train | py |
026e271c469794982161db06b077a6ef91ced60c | diff --git a/contrib/scrooge/src/python/pants/contrib/scrooge/tasks/thrift_linter.py b/contrib/scrooge/src/python/pants/contrib/scrooge/tasks/thrift_linter.py
index <HASH>..<HASH> 100644
--- a/contrib/scrooge/src/python/pants/contrib/scrooge/tasks/thrift_linter.py
+++ b/contrib/scrooge/src/python/pants/contrib/scrooge/... | Don`t mutate options in the linter
- Don`t mutate options, otherwise we end up growing this list in memory. Noticed this because scrooge complains if it receives the same option twice.
Rather than writing a test specific to options on thrift_linter, I'd like to follow up by making option values immutable (at the top ... | pantsbuild_pants | train | py |
b271593c34a67f4040405c952fdb402bf5dcd151 | diff --git a/daemon/exec.go b/daemon/exec.go
index <HASH>..<HASH> 100644
--- a/daemon/exec.go
+++ b/daemon/exec.go
@@ -268,7 +268,9 @@ func (d *Daemon) execCommandGC() {
}
}
}
- logrus.Debugf("clean %d unused exec commands", cleaned)
+ if cleaned > 0 {
+ logrus.Debugf("clean %d unused exec commands", cl... | Quieter debug logging for clean exec commands | moby_moby | train | go |
089f65fd2acb284fa741f4faf302ec34660026b6 | diff --git a/src/rest/RequestHandler.js b/src/rest/RequestHandler.js
index <HASH>..<HASH> 100644
--- a/src/rest/RequestHandler.js
+++ b/src/rest/RequestHandler.js
@@ -103,7 +103,7 @@ class RequestHandler {
// NodeFetch error expected for all "operational" errors, such as 500 status code
this.busy = false;... | fix(RequestHandler): pass HTTPError pass path instead of route as path | discordjs_discord.js | train | js |
8f4fc2f9c2c6bd7ba02380e5106145c063f3d183 | diff --git a/src/elements/SuperTableBlockElement.php b/src/elements/SuperTableBlockElement.php
index <HASH>..<HASH> 100644
--- a/src/elements/SuperTableBlockElement.php
+++ b/src/elements/SuperTableBlockElement.php
@@ -294,19 +294,6 @@ class SuperTableBlockElement extends Element implements BlockElementInterface
... | Fix where default field values weren’t being applied to blocks that were autocreated per the Min Row setting. | verbb_super-table | train | php |
90ee01dda958b861fbf1a38e92b9f823707b43ad | diff --git a/hello.js b/hello.js
index <HASH>..<HASH> 100644
--- a/hello.js
+++ b/hello.js
@@ -31,6 +31,9 @@ var hello = (function(){
// default timeout, 20 seconds for API calls
var _timeout = 20000;
+ // hello.init() already called?
+ var _initstarted = false;
+
//
// Options
// #fragment not allowed
@@ -... | _initstarted to ensure there is not more than one hello.js insitiated | MrSwitch_hello.js | train | js |
5c1a0ff7e6ec16a8ea1e87396bb9eaa85921a941 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -4,7 +4,7 @@ from setuptools import find_packages
setup(
name='django-versatileimagefield',
- packages=find_packages(),
+ packages=find_packages(exclude=['tests']),
version='1.7.1',
author=u'Jonathan El... | Fix #<I>: Exclude the top-level "tests" folder when building a package | respondcreate_django-versatileimagefield | train | py |
83f31df6f7a1c72aa874e463db93f3c1546c2d48 | diff --git a/lib/ext/method.js b/lib/ext/method.js
index <HASH>..<HASH> 100644
--- a/lib/ext/method.js
+++ b/lib/ext/method.js
@@ -34,7 +34,7 @@ require('../_base').ext.method = function (method, options, fn, configure) {
prop.get = function () {
if ((name !== selfName) && this.hasOwnProperty(name)) return this[na... | Bind function to context with 'method' option | medikoo_memoizee | train | js |
097b82b82b054691013ff12425e69e8f9cbd09af | diff --git a/src/Task/Runner.php b/src/Task/Runner.php
index <HASH>..<HASH> 100644
--- a/src/Task/Runner.php
+++ b/src/Task/Runner.php
@@ -236,7 +236,7 @@ class Runner
{
$delay = $this->getDelay();
- usleep($delay * 1000000);
+ usleep((int) ($delay * 1000000));
}
/** | fix: PHP <I> compatibility for Task\Runner::backOff (#<I>) | googleapis_google-api-php-client | train | php |
d674cb7f20e62f7f1c68465768b3fc7784008897 | diff --git a/public/js/gogs.js b/public/js/gogs.js
index <HASH>..<HASH> 100644
--- a/public/js/gogs.js
+++ b/public/js/gogs.js
@@ -1347,7 +1347,7 @@ $(document).ready(function () {
var headers = {};
$(this).find('h1, h2, h3, h4, h5, h6').each(function () {
var node = $(this);
- ... | Fix wrong anchors for non-latin headings (#<I>)
Change Javascript regular expression to match non-latin characters
The regex comes from here: <URL> | gogs_gogs | train | js |
a84d9e28772ac3135acf779b5857de1dedf33fc2 | diff --git a/spec/storage_spec.rb b/spec/storage_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/storage_spec.rb
+++ b/spec/storage_spec.rb
@@ -6,7 +6,7 @@ module Xcflushd
let(:redis) { Redis.new }
subject { described_class.new(redis) }
- describe '.reports_to_flush' do
+ describe '#reports_to_flush' d... | spec/storage: fix doc. reports_to_flush is an instance method | 3scale_xcflushd | train | rb |
ecdb1414415c015e8e6e80d54ddea11acffa3970 | diff --git a/lib/IDS/Caching/Memcached.php b/lib/IDS/Caching/Memcached.php
index <HASH>..<HASH> 100644
--- a/lib/IDS/Caching/Memcached.php
+++ b/lib/IDS/Caching/Memcached.php
@@ -98,7 +98,8 @@ class IDS_Caching_Memcached implements IDS_Caching_Interface
$this->type = $type;
$this->config = $co... | fixed a minor bug in the memcached cahing class found by jan pieper | PHPIDS_PHPIDS | train | php |
127ddfb7810af5f91ddf9f01ee803c38fddad6b1 | diff --git a/tests/index.js b/tests/index.js
index <HASH>..<HASH> 100644
--- a/tests/index.js
+++ b/tests/index.js
@@ -11,7 +11,7 @@ var hasGenerator = (function() {
// Instantiate a Mocha instance.
var mocha = new Mocha({
- ui: 'bdd',
+ ui: 'tdd',
reporter: 'list'
}); | run tests in tdd mode | thefourtheye_sane-generator | train | js |
7e6376ffe76f2920ec3915318fdf05e2a0131219 | diff --git a/firebirdsql/wireprotocol.py b/firebirdsql/wireprotocol.py
index <HASH>..<HASH> 100644
--- a/firebirdsql/wireprotocol.py
+++ b/firebirdsql/wireprotocol.py
@@ -51,12 +51,14 @@ from firebirdsql.utils import * # noqa
from firebirdsql import srp
from firebirdsql import tz_utils
try:
- from Crypto.Ciph... | Import ARC4 and ChaCha<I> separately | nakagami_pyfirebirdsql | train | py |
d6c86001e61ca98cb249007954f2b4fadff7ed15 | diff --git a/commands/PagesController.php b/commands/PagesController.php
index <HASH>..<HASH> 100644
--- a/commands/PagesController.php
+++ b/commands/PagesController.php
@@ -60,8 +60,13 @@ class PagesController extends Controller
$git = Yii::createObject('jacmoe\mdpages\components\yii2tech\Git');
- ... | Update action OK - need to update the db afterwards | jacmoe_yii2-mdpages-module | train | php |
d47cefee78547c719f630d54e04b72ee6f84cba5 | diff --git a/webssh/static/js/main.js b/webssh/static/js/main.js
index <HASH>..<HASH> 100644
--- a/webssh/static/js/main.js
+++ b/webssh/static/js/main.js
@@ -529,7 +529,7 @@ jQuery(function($){
};
sock.onclose = function(e) {
- term.destroy();
+ term.dispose();
term = undefined;
soc... | Fixed term.destroy renamed to dispose. | huashengdun_webssh | 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.