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 |
|---|---|---|---|---|---|
15f40d187df673da6e6245ccfeca3cf13355f0ab | diff --git a/connections/models.py b/connections/models.py
index <HASH>..<HASH> 100644
--- a/connections/models.py
+++ b/connections/models.py
@@ -269,9 +269,9 @@ class Connection(models.Model):
def _connection_created_handler(sender, instance, raw, created, **kwargs):
if not raw and created:
connection_... | No need to specify the signal handler as weak | dfunckt_django-connections | train | py |
28f5376ea01dc25eb872b76b42aa0db43b0d4c67 | diff --git a/test/functional/api_keys_controller_test.rb b/test/functional/api_keys_controller_test.rb
index <HASH>..<HASH> 100644
--- a/test/functional/api_keys_controller_test.rb
+++ b/test/functional/api_keys_controller_test.rb
@@ -66,4 +66,12 @@ class ApiKeysControllerTest < ActionController::TestCase
end
e... | Some simple functional test coverage around the profiles controller. | rubygems_rubygems.org | train | rb,rb |
6ebec7ecf19ae62b350328b940590dc688641a91 | diff --git a/test/client/docs_test.rb b/test/client/docs_test.rb
index <HASH>..<HASH> 100644
--- a/test/client/docs_test.rb
+++ b/test/client/docs_test.rb
@@ -25,7 +25,8 @@ describe Elastomer::Client::Docs do
}
}
- @index.flush :refresh => true
+ $client.cluster.health :index => @name, :wait_for... | using cluster health and a wait_for_status flag | github_elastomer-client | train | rb |
96897e9bccb7a799180e7c90e9706aa391c1a027 | diff --git a/firebase-paginator.js b/firebase-paginator.js
index <HASH>..<HASH> 100644
--- a/firebase-paginator.js
+++ b/firebase-paginator.js
@@ -91,7 +91,6 @@ var FirebasePaginator = function (ref, defaults) {
return this.ref.once('value')
.then(function (snap) {
- var numChildren = snap.nu... | removed numChildren variable that is not using | deltaepsilon_firebase-paginator | train | js |
31617de8e75a700b27cd904d4ae14a55eb94679e | diff --git a/src/plugins/push.js b/src/plugins/push.js
index <HASH>..<HASH> 100755
--- a/src/plugins/push.js
+++ b/src/plugins/push.js
@@ -6,7 +6,9 @@ angular.module('ngCordova.plugins.push', [])
.factory('$cordovaPush', ['$q', '$window', '$rootScope', function ($q, $window, $rootScope) {
return {
onNoti... | wrapping $broadcast in an $apply() statement to bring notification into scope | ionic-team_ng-cordova | train | js |
c5fbd87f8a6ea26aec49aa428dc1af146e74bf16 | diff --git a/src/view/MainViewManager.js b/src/view/MainViewManager.js
index <HASH>..<HASH> 100644
--- a/src/view/MainViewManager.js
+++ b/src/view/MainViewManager.js
@@ -1472,12 +1472,18 @@ define(function (require, exports, module) {
if (_activePaneId) {
throw new Error("MainViewManager has alre... | fix editor redrawing test failures | adobe_brackets | train | js |
2e30184e195d3788fa85c21e147df347c9539ed6 | diff --git a/limitlessled/group/rgbw.py b/limitlessled/group/rgbw.py
index <HASH>..<HASH> 100644
--- a/limitlessled/group/rgbw.py
+++ b/limitlessled/group/rgbw.py
@@ -126,10 +126,13 @@ class RgbwGroup(Group):
if color != self.color or brightness != self.brightness:
if color is None and brightness ... | Do not try to convert None color to hue.
This fixes #<I> | happyleavesaoc_python-limitlessled | train | py |
bd04644adf0cbffeff862870ec6527f0dd19288e | diff --git a/sphinxcontrib/traceables/traceables.py b/sphinxcontrib/traceables/traceables.py
index <HASH>..<HASH> 100644
--- a/sphinxcontrib/traceables/traceables.py
+++ b/sphinxcontrib/traceables/traceables.py
@@ -9,6 +9,7 @@ import collections
import textwrap
from docutils import nodes
from docutils.parsers.rst ... | Add support for index entry format of Sphinx <I>
Sphinx added a fifth element to index entries (see commit
sphinx-doc/sphinx@e6a5a3a<I>e<I>fcd<I>b<I>db9e<I>d<I>f7c).
This change adds support for that fifth element if running
Sphinx <I> or later.
Related to #3. | t4ngo_sphinxcontrib-traceables | train | py |
faacef8c35c60084d383eb4b505b6ad942876295 | diff --git a/cmd/juju/helptopics/basics.go b/cmd/juju/helptopics/basics.go
index <HASH>..<HASH> 100644
--- a/cmd/juju/helptopics/basics.go
+++ b/cmd/juju/helptopics/basics.go
@@ -11,7 +11,6 @@ Juju provides easy, intelligent service orchestration on top of models
such as Amazon EC2, HP Cloud, OpenStack, MaaS, or your ... | lp<I> remove juju init from basic help
The 'juju init' command doesn't exist anymore, but
is still referenced in 'juju help'.
This PR removes that reference, but provider help
pages still refer to that command. A more
comprehensive update is needed for provider help
pages. | juju_juju | train | go |
cf3717e280d01a3ce5f6650f275aa1f91832d97a | diff --git a/src/sos/workers.py b/src/sos/workers.py
index <HASH>..<HASH> 100755
--- a/src/sos/workers.py
+++ b/src/sos/workers.py
@@ -290,7 +290,8 @@ class SoS_Worker(mp.Process):
# process, which will then trigger terminate() and send a None here.
break
except KeyboardIn... | Keep worker alive from SIGINT vatlab/sos-notebook#<I> | vatlab_SoS | train | py |
975d3f31d660ac9d711f94a1b0dd90c575ed6650 | diff --git a/src/ol/render/canvas.js b/src/ol/render/canvas.js
index <HASH>..<HASH> 100644
--- a/src/ol/render/canvas.js
+++ b/src/ol/render/canvas.js
@@ -9,7 +9,8 @@ import {create as createTransform} from '../transform.js';
/**
- * @typedef {{fillStyle: module:ol/colorlike~ColorLike}} FillState
+ * @typedef {Obj... | Fix FillState typedef definition | openlayers_openlayers | train | js |
39338e7479a9dc1b0ef3ea7fd12290fa37c57b29 | diff --git a/dygraph.js b/dygraph.js
index <HASH>..<HASH> 100644
--- a/dygraph.js
+++ b/dygraph.js
@@ -3715,7 +3715,8 @@ Dygraph.prototype.start_ = function() {
var caller = this;
req.onreadystatechange = function () {
if (req.readyState == 4) {
- if (req.status == 200) {
+ if (... | allow XHRs from file:/// URLs with the right flags | danvk_dygraphs | train | js |
ddffd5702da9ca00b81f5fb6b8e5faee663f2e0a | diff --git a/lib/discordrb/bot.rb b/lib/discordrb/bot.rb
index <HASH>..<HASH> 100644
--- a/lib/discordrb/bot.rb
+++ b/lib/discordrb/bot.rb
@@ -594,7 +594,7 @@ module Discordrb
# Internal handler for GUILD_CREATE
def create_guild(data)
- add_server(data)
+ ensure_server(data)
end
# Inte... | Use ensure_server instead of add_server to add a new server to the cache
(for example if a GUILD_CREATE is sent due to a previously unavailable server becoming available) | meew0_discordrb | train | rb |
99c1d108030448374191a9263369b662bcaf9d61 | diff --git a/code/administrator/components/com_files/views/files/tmpl/templates_details.php b/code/administrator/components/com_files/views/files/tmpl/templates_details.php
index <HASH>..<HASH> 100644
--- a/code/administrator/components/com_files/views/files/tmpl/templates_details.php
+++ b/code/administrator/component... | re #<I> colspan is prettier than empty <td>s | joomlatools_joomlatools-framework | train | php |
0c8d4161e2222715eb1accbfbdebfd8c97ef9337 | diff --git a/messaging/src/main/java/org/cloudiator/messaging/kafka/KafkaSubscriptionServiceImpl.java b/messaging/src/main/java/org/cloudiator/messaging/kafka/KafkaSubscriptionServiceImpl.java
index <HASH>..<HASH> 100644
--- a/messaging/src/main/java/org/cloudiator/messaging/kafka/KafkaSubscriptionServiceImpl.java
+++ ... | Logging errors that occur during subscription handling | cloudiator_common | train | java |
330b8c0ad7cafba49f4f6d5f3b6c55ea95a13e60 | diff --git a/packages/lingui-cli/src/api/formats/lingui.js b/packages/lingui-cli/src/api/formats/lingui.js
index <HASH>..<HASH> 100644
--- a/packages/lingui-cli/src/api/formats/lingui.js
+++ b/packages/lingui-cli/src/api/formats/lingui.js
@@ -8,8 +8,8 @@ import R from 'ramda'
import type { LinguiConfig, CatalogFormat ... | fix: Fix lingui extract command on Windows | lingui_js-lingui | train | js |
44995d7b15c6acc076c4cbe5ad819138e10aac54 | diff --git a/tests/integration/roster/test_ncaaf_roster.py b/tests/integration/roster/test_ncaaf_roster.py
index <HASH>..<HASH> 100644
--- a/tests/integration/roster/test_ncaaf_roster.py
+++ b/tests/integration/roster/test_ncaaf_roster.py
@@ -456,13 +456,17 @@ class TestNCAAFPlayer:
frames = [df, player.datafr... | Fix issue with NCAAF tests
The NCAAF tests were pulling data from the website for certain players
instead of the local test files. | roclark_sportsreference | train | py |
7bdefb7f7d5c0398efec559c841316e18f1ddb43 | diff --git a/lib/puppet/util/windows.rb b/lib/puppet/util/windows.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/util/windows.rb
+++ b/lib/puppet/util/windows.rb
@@ -15,8 +15,6 @@ module Puppet::Util::Windows
class EventLog; end
if Puppet::Util::Platform.windows?
- require 'Win32API' # case matters in this ... | (PUP-<I>) Remove require to Win<I>API
The Win<I>API library has been deprecated since Ruby <I>. It was
originally added in b5fd<I>e<I>ad<I>cddf6cd2f<I>bdd<I>e<I> but
sometime ago puppet has switched to using FFI for Win<I> API calls. | puppetlabs_puppet | train | rb |
261e83e6c4f4fa44d9f1c16d54d081294352a63b | diff --git a/src/Lavary/Menu/Item.php b/src/Lavary/Menu/Item.php
index <HASH>..<HASH> 100644
--- a/src/Lavary/Menu/Item.php
+++ b/src/Lavary/Menu/Item.php
@@ -100,18 +100,12 @@ class Item {
$this->link = $path ? new Link($path) : null;
-
- // If the item's URL is the same as request URI,
- // activate the i... | Support for RESTful URLs. | lavary_laravel-menu | train | php |
56995f9e8579f796efd2af7cc2af76fe06303920 | diff --git a/core/app/models/comable/user.rb b/core/app/models/comable/user.rb
index <HASH>..<HASH> 100644
--- a/core/app/models/comable/user.rb
+++ b/core/app/models/comable/user.rb
@@ -57,10 +57,6 @@ module Comable
!new_record?
end
- def not_signed_in?
- !signed_in?
- end
-
# TODO: Add a... | Refactoring with Rubocop: Remove the unused method | appirits_comable | train | rb |
c115b7a32487c9f36baba913500ebaf38e926af7 | diff --git a/Gruntfile.js b/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -19,11 +19,7 @@ module.exports = function (grunt) {
browserName: 'internet explorer',
platform: 'Windows 10',
version: '11'
- }, {
- browserName: 'MicrosoftEdge',
- platform: 'Windows 10'
... | Remove IE edge again since it does not seem to be running on Saucelabs (#<I>) | feathersjs_client | train | js |
55537c6b548cb2f0fbe0aaa75b62c03e21615c21 | diff --git a/Translation/Translator.php b/Translation/Translator.php
index <HASH>..<HASH> 100644
--- a/Translation/Translator.php
+++ b/Translation/Translator.php
@@ -108,7 +108,7 @@ class Translator extends BaseTranslator
*/
protected function invalidateSystemCacheForFile($path)
{
- if (ini_get(... | check if function apc_delete_file() exist before call it (#<I>) | lexik_LexikTranslationBundle | train | php |
1140f7a012e1dc906b860b2c3db45ddb7115fec9 | diff --git a/ccmlib/cmds/command.py b/ccmlib/cmds/command.py
index <HASH>..<HASH> 100644
--- a/ccmlib/cmds/command.py
+++ b/ccmlib/cmds/command.py
@@ -62,7 +62,7 @@ class Cmd(object):
self.name = args[0]
if load_cluster:
- self.cluster = self.load_current_cluster()
+ self.clu... | Fix call to _load_current_cluster | riptano_ccm | train | py |
a7dab54f624d04a0276e76dd6113c12760db35f5 | diff --git a/load.environment.php b/load.environment.php
index <HASH>..<HASH> 100644
--- a/load.environment.php
+++ b/load.environment.php
@@ -6,13 +6,12 @@
*/
use Dotenv\Dotenv;
-use Dotenv\Exception\InvalidPathException;
/**
* Load any .env file. See /.env.example.
*
- * Drupal has no official method for ... | Safe-load .env if existent to prevent Fatal error during site install. | drupal-composer_drupal-project | train | php |
4d456402be1af94779d98e79567778f4db8670a5 | diff --git a/benchmark/index.js b/benchmark/index.js
index <HASH>..<HASH> 100644
--- a/benchmark/index.js
+++ b/benchmark/index.js
@@ -11,8 +11,8 @@ $("#run").click(function() {
}
function appendResult(klass, title, url, inputSize, parseTime) {
- var KB = 1024;
- var MS_IN_S = 1000;
+ var KB ... | Small cleanup of benchmark/index.js
Update coding style to match the rest of PEG.js. | pegjs_pegjs | train | js |
b51bee9f7b92cad709bdd2fff03d5d81e1f1fac7 | diff --git a/platform/bb/rhodes/src/com/rho/db/SqliteStorage.java b/platform/bb/rhodes/src/com/rho/db/SqliteStorage.java
index <HASH>..<HASH> 100644
--- a/platform/bb/rhodes/src/com/rho/db/SqliteStorage.java
+++ b/platform/bb/rhodes/src/com/rho/db/SqliteStorage.java
@@ -70,7 +70,7 @@ public class SqliteStorage implemen... | fix property bag models for bb sqlite | rhomobile_rhodes | train | java |
9d3ed3fb128d2378e76f65e15bc45783eaf4cd57 | diff --git a/externs/w3c_event.js b/externs/w3c_event.js
index <HASH>..<HASH> 100644
--- a/externs/w3c_event.js
+++ b/externs/w3c_event.js
@@ -130,6 +130,27 @@ Event.prototype.initEvent = function(eventTypeArg, canBubbleArg, cancelableArg)
/**
* @constructor
+ * @extends {Event}
+ * @see http://www.w3.org/TR/DOM-... | Adds CustomEvent and initCustomEvent to google3 externs.
R=nicksantos
DELTA=<I> (<I> added, 0 deleted, 0 changed)
Revision created by MOE tool push_codebase.
MOE_MIGRATION=<I>
git-svn-id: <URL> | google_closure-compiler | train | js |
b620157a393a86ce2b10c823e569ea1ef069165c | diff --git a/py3status/__init__.py b/py3status/__init__.py
index <HASH>..<HASH> 100755
--- a/py3status/__init__.py
+++ b/py3status/__init__.py
@@ -206,11 +206,15 @@ def transform(j, **kwargs):
- update the 'time' object so that it's updated at INTERVAL seconds
- update the 'run_watch' objects so that we rely on the... | fix time transformation thx to Lujeni | ultrabug_py3status | train | py |
e8566940a97cd5a11fdbe796cb5f8b0f00864624 | diff --git a/xarray/test/test_variable.py b/xarray/test/test_variable.py
index <HASH>..<HASH> 100644
--- a/xarray/test/test_variable.py
+++ b/xarray/test/test_variable.py
@@ -392,7 +392,8 @@ class VariableSubclassTestCases(object):
for deep in [True, False]:
w = v.copy(deep=deep)
self... | fixed multi-index copy test (#<I>) | pydata_xarray | train | py |
a23c045ab19f3371be94f8778e437b2daa114a8b | diff --git a/src/ValidatingTrait.php b/src/ValidatingTrait.php
index <HASH>..<HASH> 100644
--- a/src/ValidatingTrait.php
+++ b/src/ValidatingTrait.php
@@ -32,6 +32,13 @@ trait ValidatingTrait
* @return \Illuminate\Validation\Factory
*/
protected $validator;
+
+ /**
+ * The custom validation ... | Make validationAttributeNames protected
setValidationAttributeNames sets the given array as a public property, that is exposed as model attribute to Eloquent. Saving the model makes Eloquent try to save the model with the "validationAttributeNames" attribute, which will fail. Instead, make it a protected property. | dwightwatson_validating | train | php |
eec20d8ca0e3c54e150a0b8b200e541db75d09ba | diff --git a/ui/src/com/socialize/ui/profile/DefaultProfileSaver.java b/ui/src/com/socialize/ui/profile/DefaultProfileSaver.java
index <HASH>..<HASH> 100644
--- a/ui/src/com/socialize/ui/profile/DefaultProfileSaver.java
+++ b/ui/src/com/socialize/ui/profile/DefaultProfileSaver.java
@@ -54,11 +54,14 @@ public class Defa... | Fixed lastname truncated when more than one space in name | socialize_socialize-sdk-android | train | java |
2f8c7fd3fa771c3d33a9b80ff73a83d52409bebe | diff --git a/cozy-light.js b/cozy-light.js
index <HASH>..<HASH> 100755
--- a/cozy-light.js
+++ b/cozy-light.js
@@ -332,6 +332,22 @@ var controllers = {
};
+var nodeHelpers = {
+
+ /**
+ * Clear require cache given app name
+ *
+ * @param {String} app App to clear from require cache.
+ */
+ clearRequireCa... | add nodeHelpers to refactor clear require cache code | cozy-labs_cozy-light | train | js |
9124eaf118e5773f4d2e6f4593b510832f8b9113 | diff --git a/cli/lib/cli/runner.rb b/cli/lib/cli/runner.rb
index <HASH>..<HASH> 100644
--- a/cli/lib/cli/runner.rb
+++ b/cli/lib/cli/runner.rb
@@ -142,6 +142,7 @@ Currently available bosh commands are:
stemcell upload /path/to/stemcell.tgz Upload the stemcell
stemcell verify /path/to/stemcell.tgz Verify t... | Added bosh stemcell delete to bosh help | cloudfoundry_bosh | train | rb |
ad9d3ab27f4e5777ea4a767683d08870bcdaffb7 | diff --git a/f90nml/parser.py b/f90nml/parser.py
index <HASH>..<HASH> 100644
--- a/f90nml/parser.py
+++ b/f90nml/parser.py
@@ -268,13 +268,13 @@ class Parser(object):
if v_name in patch_nml:
patch_values = patch_nml.pop(v_name.lower())
- if isinstance(patch_values, list):
... | Early promotion of patch_values to list | marshallward_f90nml | train | py |
3b8b862a0c663257ac5bbb64df64d24f9ae90bd6 | diff --git a/utilities/Timer.js b/utilities/Timer.js
index <HASH>..<HASH> 100644
--- a/utilities/Timer.js
+++ b/utilities/Timer.js
@@ -24,7 +24,7 @@ function after(fn, numTicks) {
};
var componentId = _node.addComponent(component);
- _node.requestUpdateOnNextTick(componentId);
+ _node.requestUpdate(co... | Changed Timer functions to requestUpdate, not requestUpdateOnNextTick | panarch_famous-mig | train | js |
3ab7615ed38173aa4bf95c5a89d1361b3e012344 | diff --git a/tools/python/buildprefixdata.py b/tools/python/buildprefixdata.py
index <HASH>..<HASH> 100755
--- a/tools/python/buildprefixdata.py
+++ b/tools/python/buildprefixdata.py
@@ -209,7 +209,7 @@ def output_prefixdata_chunk(prefixdata, outfilename, module_prefix, per_locale):
prnt(PREFIXDATA_FILE_PR... | Sort entries in each chunk file of prefix data
This will take effect on next regeneration of per-prefix metadata. | daviddrysdale_python-phonenumbers | train | py |
3a1b081e987235932a560acf604f32a7645a07e4 | diff --git a/src/main/java/org/jboss/pressgang/ccms/contentspec/processor/constants/ProcessorConstants.java b/src/main/java/org/jboss/pressgang/ccms/contentspec/processor/constants/ProcessorConstants.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jboss/pressgang/ccms/contentspec/processor/constants/ProcessorC... | Moved a Constant from the Client to the processor. | pressgang-ccms_PressGangCCMSContentSpecProcessor | train | java |
c2d235b2e3765196f544ecb40e795fb54ea09637 | diff --git a/lib/attack.go b/lib/attack.go
index <HASH>..<HASH> 100644
--- a/lib/attack.go
+++ b/lib/attack.go
@@ -69,7 +69,7 @@ func Attack(tgts Targets, rate uint64, du time.Duration) Results {
// Attack attacks the passed Targets (http.Requests) at the rate specified for
// duration time and then waits for all the... | Avoid copying Attacker on Attack call | tsenart_vegeta | train | go |
789f60e50c92d8762ce6e65c8af957d04a572e66 | diff --git a/app/controllers/spree/admin/product_imports_controller.rb b/app/controllers/spree/admin/product_imports_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/spree/admin/product_imports_controller.rb
+++ b/app/controllers/spree/admin/product_imports_controller.rb
@@ -2,10 +2,6 @@ module Spree
... | Remove extra comments, and use current_user instead of @current_user | ngelx_solidus_import_products | train | rb |
8d44fdfdec0f6ebf2e6447d89d5ae76b190ded5c | diff --git a/packages/ember-views/lib/views/collection_view.js b/packages/ember-views/lib/views/collection_view.js
index <HASH>..<HASH> 100644
--- a/packages/ember-views/lib/views/collection_view.js
+++ b/packages/ember-views/lib/views/collection_view.js
@@ -10,7 +10,7 @@ var get = Ember.get, set = Ember.set, fmt = Emb... | fixed a typo in the api docs | emberjs_ember.js | train | js |
fdee4929f95139b0186a7c84be8439cd0848e596 | diff --git a/graph.py b/graph.py
index <HASH>..<HASH> 100755
--- a/graph.py
+++ b/graph.py
@@ -86,7 +86,6 @@ class GraphData:
self.cur_freq = 0
self.perf_lost = 0
self.max_perf_lost = 0
-
self.samples_taken = 0
self.core_num = psutil.cpu_count()
@@ -109,6 +108,18 @@ class ... | Fix for #1: Reset button does nothing
+ Reset button now resets graphs and accumulated data | amanusk_s-tui | train | py |
0ea2a98b57e1b7604d80f0a42f8ce3f75904a2ec | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -20,10 +20,15 @@ Config.prototype.merge = function(config) {
if (!_.isObject(config) && !_.isFunction(config))
throw new Error("Invalid Parameter. You must provide either an object or a function.");
- if... | Fixes #2, for merge() with a function
Previously, the following would fail for the same reasons as
<URL> {
return cfg;
}) | lewie9021_webpack-configurator | train | js |
bbadd442bd88dfa338cb23259dafb7cfb7bb2388 | diff --git a/pwnypack/shellcode/translate.py b/pwnypack/shellcode/translate.py
index <HASH>..<HASH> 100644
--- a/pwnypack/shellcode/translate.py
+++ b/pwnypack/shellcode/translate.py
@@ -100,6 +100,13 @@ def translate(env, func, *args, **kwargs):
elif op.name == 'RETURN_VALUE':
stack.pop()
+ ... | Support DUP_TOP opcode in shellcode translator.
Adds support for chained assignment (REG1 = REG2 = REG3). Contains
exception for when a syscall is invoked to prevent the syscall from
being called multiple times. | edibledinos_pwnypack | train | py |
5cf4523d49bbe2e97fb0557ba3844f04b286958f | diff --git a/i18n/id.js b/i18n/id.js
index <HASH>..<HASH> 100644
--- a/i18n/id.js
+++ b/i18n/id.js
@@ -20,7 +20,7 @@ export default {
daysShort: 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'),
months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split('_'),
monthsSho... | First day of week for Indonesia is Monday | quasarframework_quasar | train | js |
1973fcc65e71af6fbb5af890b30cd4efb59961a7 | diff --git a/src/chooser.js b/src/chooser.js
index <HASH>..<HASH> 100644
--- a/src/chooser.js
+++ b/src/chooser.js
@@ -10,7 +10,7 @@ import {
} from './util';
export class HourMinChooser {
-
+
div: any; // d3 not yet in flow-typed :(
time: moment;
updateCallback: ( time :moment) => void;
@@ -129,9 +129,9... | flow is happier, this was only for older browsers that we dont care about | crotwell_seisplotjs-waveformplot | train | js |
674af83a0a09f536468694549c5db26f12a6b95a | diff --git a/tools/azure-devtools/setup.py b/tools/azure-devtools/setup.py
index <HASH>..<HASH> 100644
--- a/tools/azure-devtools/setup.py
+++ b/tools/azure-devtools/setup.py
@@ -29,7 +29,7 @@ CLASSIFIERS = [
DEPENDENCIES = [
'ConfigArgParse>=0.12.0',
'six>=1.10.0',
- 'vcrpy>=1.11.0',
+ 'vcrpy>=1.11.0,... | vcrpy forcing earlier version (#<I>) | Azure_azure-sdk-for-python | train | py |
880630d91f99867d92d2cf4cc23dbe61a1bc8ed5 | diff --git a/haas/result.py b/haas/result.py
index <HASH>..<HASH> 100644
--- a/haas/result.py
+++ b/haas/result.py
@@ -228,6 +228,12 @@ class ResultCollecter(object):
for handler in self._handlers:
handler.stop_test_run()
+ def add_result(self, result):
+ for handler in self._handlers:... | Add public method to just add result instance to result collector | scalative_haas | train | py |
742704484b532a29fdf8982299d94d77ac120ab0 | diff --git a/md5.js b/md5.js
index <HASH>..<HASH> 100644
--- a/md5.js
+++ b/md5.js
@@ -5,6 +5,10 @@
// The core
md5 = function (message, options) {
+
+ if(typeof message === "undefined") {
+ return;
+ }
// Convert to byte array
if (message.constructor == String)
if (... | Fix for crash when passing undefined
Fix for crash in 2 places when inadvertently passing undefined. | pvorb_node-md5 | train | js |
79ab425f95373a68621352f60f8db3c5eca270e1 | diff --git a/src/CommandBus.php b/src/CommandBus.php
index <HASH>..<HASH> 100644
--- a/src/CommandBus.php
+++ b/src/CommandBus.php
@@ -15,7 +15,7 @@ interface CommandBus
/**
* Map a command to a callable handler
*
- * @param $commandName
+ * @param string $commandName
* @param CommandHand... | Updated docblock to incldue variable type | adamnicholson_Chief | train | php |
f3bd12305db6f73be0910220a6653a3b99e84888 | diff --git a/src/android/CropPlugin.java b/src/android/CropPlugin.java
index <HASH>..<HASH> 100644
--- a/src/android/CropPlugin.java
+++ b/src/android/CropPlugin.java
@@ -48,7 +48,7 @@ public class CropPlugin extends CordovaPlugin {
if (requestCode == Crop.REQUEST_CROP) {
if (resultCode == Activit... | Fixes empty urls arriving to cordova | jeduan_cordova-plugin-crop | train | java |
34b84f2f2cd7ac0748ad2222bcb0e5e0fe321d11 | diff --git a/{{cookiecutter.project_slug}}/config/urls.py b/{{cookiecutter.project_slug}}/config/urls.py
index <HASH>..<HASH> 100644
--- a/{{cookiecutter.project_slug}}/config/urls.py
+++ b/{{cookiecutter.project_slug}}/config/urls.py
@@ -13,7 +13,7 @@ urlpatterns = [
url(r'^about/$', TemplateView.as_view(template... | change 'admin' url, to stay the same as generated by django <I>
<URL> | pydanny_cookiecutter-django | train | py |
72e5c145330bb05293b5193560cad56523a00012 | diff --git a/lib/codemirror.js b/lib/codemirror.js
index <HASH>..<HASH> 100644
--- a/lib/codemirror.js
+++ b/lib/codemirror.js
@@ -339,7 +339,7 @@ var CodeMirror = (function() {
operation: function(f){return operation(f)();},
compoundChange: function(f){return compoundChange(f);},
refresh: function... | Pass info about last scrollTop to updateDisplay in refresh | codemirror_CodeMirror | train | js |
f15b3c499eeedd3c6c3ad17b1065c0943923e347 | diff --git a/lib/hipbot/adapters/slack/client.rb b/lib/hipbot/adapters/slack/client.rb
index <HASH>..<HASH> 100644
--- a/lib/hipbot/adapters/slack/client.rb
+++ b/lib/hipbot/adapters/slack/client.rb
@@ -24,11 +24,21 @@ module Hipbot
end
def initialize_users
- user_ids = client.get_users.map... | Load slack users from the API, XMPP doesnt work | pewniak747_hipbot | train | rb |
5b3cdde6b535526f7c53aeddc07ea43cff503eb4 | diff --git a/app/controllers/alchemy/admin/resources_controller.rb b/app/controllers/alchemy/admin/resources_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/alchemy/admin/resources_controller.rb
+++ b/app/controllers/alchemy/admin/resources_controller.rb
@@ -106,6 +106,10 @@ module Alchemy
@resourc... | fix for creating/editing namespaced resources | AlchemyCMS_alchemy_cms | train | rb |
8229e216836a5033653341abbefea01e45618693 | diff --git a/lib/utils.js b/lib/utils.js
index <HASH>..<HASH> 100644
--- a/lib/utils.js
+++ b/lib/utils.js
@@ -207,7 +207,7 @@ export function isIOS() {
'iPod',
].includes(navigator.platform)
// iPad on iOS 13 detection
- || (navigator.userAgent.includes('Mac') && 'ontouchend' in document);
+ || (navigator... | fix: main thread is blocked on Mac device
fix #<I> | Donaldcwl_browser-image-compression | train | js |
f2e20a3150241a6f638d1d96c88b1937343574ca | diff --git a/anchore/anchore-modules/gates/13_file_content_check.py b/anchore/anchore-modules/gates/13_file_content_check.py
index <HASH>..<HASH> 100755
--- a/anchore/anchore-modules/gates/13_file_content_check.py
+++ b/anchore/anchore-modules/gates/13_file_content_check.py
@@ -43,16 +43,20 @@ fname_regexps = list()
i... | ensure that parameters regexp strings are more permissive for the content search gate | anchore_anchore | train | py |
b001e194f117ca8cfc9bcc9eb62dd7aab07988f7 | diff --git a/src/structures/MessageReaction.js b/src/structures/MessageReaction.js
index <HASH>..<HASH> 100644
--- a/src/structures/MessageReaction.js
+++ b/src/structures/MessageReaction.js
@@ -34,7 +34,7 @@ class MessageReaction {
* A manager of the users that have given this reaction
* @type {ReactionUse... | fix(MessageReaction): Cache myself when `MessageReaction#me` is `true`. (#<I>) | discordjs_discord.js | train | js |
b1acf3eda22a84c608577b36e3b0432f54c0bb7e | diff --git a/ansigenome/export.py b/ansigenome/export.py
index <HASH>..<HASH> 100644
--- a/ansigenome/export.py
+++ b/ansigenome/export.py
@@ -166,8 +166,8 @@ digraph role_dependencies {
cli_flags += "-o {0}".format(self.out_file)
(out, err) = utils.capture_shell(
- "ansigenome export -t ... | Include ROLES_PATH in the graphviz invocation.
This allows running `ansigenome export` somewhere other than ROLES_PATH.
This fixes #<I> "more correctly". | nickjj_ansigenome | train | py |
d1c2f953c5e44c59c4ce688d531d94ac012a8df7 | diff --git a/builder/dockerfile/containerbackend.go b/builder/dockerfile/containerbackend.go
index <HASH>..<HASH> 100644
--- a/builder/dockerfile/containerbackend.go
+++ b/builder/dockerfile/containerbackend.go
@@ -45,7 +45,7 @@ var errCancelled = errors.New("build cancelled")
// Run a container by ID
func (c *contai... | Test: Add buffer to two channels to avoid blocking goroutine | moby_moby | train | go,go |
4df0624e64444bf13b870c6304f97041ee4cdf59 | diff --git a/atomic_reactor/plugins/post_push_to_pulp.py b/atomic_reactor/plugins/post_push_to_pulp.py
index <HASH>..<HASH> 100644
--- a/atomic_reactor/plugins/post_push_to_pulp.py
+++ b/atomic_reactor/plugins/post_push_to_pulp.py
@@ -135,13 +135,13 @@ class PulpUploader(object):
def compress(filename, ifp):
_c... | push_pulp: make python <I> happy
In Python <I> you can't say "with gzip.open(...)" because that
object doesn't have an __exit__() method. | projectatomic_atomic-reactor | train | py |
55620ade4739308cc95b4193d4c429694b220957 | diff --git a/static/autofill.js b/static/autofill.js
index <HASH>..<HASH> 100644
--- a/static/autofill.js
+++ b/static/autofill.js
@@ -19,7 +19,7 @@ $(document).ready(function() {
search: function (term, callback) {
var usernames;
if (!term) {
- usernames = localUserList.concat(groupList).filter(funct... | feat: update autofill logic
- Only local topic users will show up if there is no search term
- Group matches now show up in the search results (whereas before
they only showed up in the list with no search term). They will
only show up in seach results, and not when there is just the
naked "@" sign.
- Results ar... | julianlam_nodebb-plugin-mentions | train | js |
32d31692e5392c3575e6df935834b4dfc607ea06 | diff --git a/config/initializers/comfortable_mexican_sofa.rb b/config/initializers/comfortable_mexican_sofa.rb
index <HASH>..<HASH> 100644
--- a/config/initializers/comfortable_mexican_sofa.rb
+++ b/config/initializers/comfortable_mexican_sofa.rb
@@ -93,7 +93,7 @@ ComfortableMexicanSofa.configure do |config|
# S... | Update comfortable_mexican_sofa.rb
Updated docs to match implementation. | comfy_comfortable-mexican-sofa | train | rb |
2074c2ec4b8dbcd080a14bbd7269acc099db3730 | diff --git a/seaworthy/tests-core/test_dockerhelper.py b/seaworthy/tests-core/test_dockerhelper.py
index <HASH>..<HASH> 100644
--- a/seaworthy/tests-core/test_dockerhelper.py
+++ b/seaworthy/tests-core/test_dockerhelper.py
@@ -252,11 +252,13 @@ class TestDockerHelper(unittest.TestCase):
dh.pull_image_if_no... | Update dockerhelper test for new image pull logging | praekeltfoundation_seaworthy | train | py |
abe9ca35667806ef44f5d04a56cb62c89cc99af2 | diff --git a/lib/statsd.rb b/lib/statsd.rb
index <HASH>..<HASH> 100644
--- a/lib/statsd.rb
+++ b/lib/statsd.rb
@@ -212,8 +212,7 @@ class Statsd
'alert_type' => 't'
}
# We construct the string to be sent by adding '|key:value' parts to it when needed
- sorted_opt_keys = opt_keys.sort_by {|name,key| k... | Remove one variable
Refs: #5 | DataDog_dogstatsd-ruby | train | rb |
a30ee2ca36212d866f45fb0b96bbfd42e1615f8e | diff --git a/littlechef/chef.py b/littlechef/chef.py
index <HASH>..<HASH> 100644
--- a/littlechef/chef.py
+++ b/littlechef/chef.py
@@ -18,6 +18,7 @@ See http://wiki.opscode.com/display/chef/Anatomy+of+a+Chef+Run
import os
import shutil
import simplejson as json
+from copy import deepcopy
from fabric.api import *
... | Deepcopy merged attributes to avoid references from binding dictionaries | tobami_littlechef | train | py |
863030b551bc2e3447c5dde55d6bcc312218de6f | diff --git a/retrofit/src/main/java/retrofit/RetrofitError.java b/retrofit/src/main/java/retrofit/RetrofitError.java
index <HASH>..<HASH> 100644
--- a/retrofit/src/main/java/retrofit/RetrofitError.java
+++ b/retrofit/src/main/java/retrofit/RetrofitError.java
@@ -74,7 +74,8 @@ public class RetrofitError extends RuntimeE... | Add docs about null responses. | square_retrofit | train | java |
e3a1a0294fc94ce965ebbacca662bc237a31e760 | diff --git a/lib/CriteriaBuilder.js b/lib/CriteriaBuilder.js
index <HASH>..<HASH> 100644
--- a/lib/CriteriaBuilder.js
+++ b/lib/CriteriaBuilder.js
@@ -76,7 +76,7 @@ class CriteriaBuilder {
if (!query.limit)
return criteria;
- criteria.limit = parseInt(query.limit);
+ criteria.limit... | refactoring, increasing code quality | julien-sarazin_idylle | train | js |
c758b33248bbe841f8da238720db33b925795c06 | diff --git a/zone_file/zone_file.py b/zone_file/zone_file.py
index <HASH>..<HASH> 100644
--- a/zone_file/zone_file.py
+++ b/zone_file/zone_file.py
@@ -486,13 +486,15 @@ def remove_class( text ):
ret = []
for line in lines:
tokens = tokenize( line )
- if "IN" in tokens:
+ tokens_upper = ... | Don't force capitalization of tokens when parsing a zonefile | blockstack_zone-file-py | train | py |
43a4b71795852fe918c846e8b14a6e5b1cc5064e | diff --git a/scripts/lib/reenroller.rb b/scripts/lib/reenroller.rb
index <HASH>..<HASH> 100644
--- a/scripts/lib/reenroller.rb
+++ b/scripts/lib/reenroller.rb
@@ -37,12 +37,9 @@ module RightScale
# true:: Always return true
def run(options)
if Platform.windows?
- print 'Stopping RightLink servic... | rely on the rightscale service to restart rightlink on Windows | rightscale_right_link | train | rb |
f953fba1c26a8ba90f363e68a5181e11cfcb7691 | diff --git a/lib/server/channel-server.js b/lib/server/channel-server.js
index <HASH>..<HASH> 100644
--- a/lib/server/channel-server.js
+++ b/lib/server/channel-server.js
@@ -487,6 +487,33 @@ ChannelServer.prototype.startup = function() {
);
});
+
+ socket.on('message-received', function(callba... | add message-received event for session socket. | xpush_node-xpush | train | js |
7a06c7b08e6abb3b5649d5aff78081956ebbe0b2 | diff --git a/src/utils.js b/src/utils.js
index <HASH>..<HASH> 100644
--- a/src/utils.js
+++ b/src/utils.js
@@ -28,7 +28,7 @@ export function errorHandler(error) {
break;
}
}
-
+
throw feathersError;
}
@@ -36,7 +36,7 @@ export function getOrder(sort={}) {
let order = [];
Object.keys(sort... | added value conversion for $sort to utils `getOrder` | feathersjs-ecosystem_feathers-sequelize | train | js |
ee9669548a0f107cf4929af34834d74c50cd652f | diff --git a/lib/opentok.js b/lib/opentok.js
index <HASH>..<HASH> 100644
--- a/lib/opentok.js
+++ b/lib/opentok.js
@@ -900,8 +900,7 @@ OpenTok = function (apiKey, apiSecret, env) {
* <ul>
* <li>
* <code>headers</code> (Object) — Custom headers to be added to the SIP INVITE
- * request iniated ... | Correction to SIP docs
"X-" prefix for custom headers no longer required | opentok_opentok-node | train | js |
a5efdff43678c146b84e8f0e003f914e277bab5b | diff --git a/src/Shell/Helper/CronHelper.php b/src/Shell/Helper/CronHelper.php
index <HASH>..<HASH> 100644
--- a/src/Shell/Helper/CronHelper.php
+++ b/src/Shell/Helper/CronHelper.php
@@ -99,6 +99,23 @@ class CronHelper extends Helper
}
/**
+ * Get a particular job by msg
+ * @param system $msg
+ * @return bool... | new method to get the actual job by msg | unimatrix_cake | train | php |
41f689e7384847dd08e3cfb90e63ceb015c97fb5 | diff --git a/cs-hashicorp-terraform/src/main/java/io/cloudslang/content/hashicorp/terraform/entities/TerraformVariableInputs.java b/cs-hashicorp-terraform/src/main/java/io/cloudslang/content/hashicorp/terraform/entities/TerraformVariableInputs.java
index <HASH>..<HASH> 100644
--- a/cs-hashicorp-terraform/src/main/java/... | updated property name as variableName to sensitiveVariableName | CloudSlang_cs-actions | train | java |
98a22f6953d1cd3f933748eb8adcc7f8e462477e | diff --git a/lib/sortifiable.rb b/lib/sortifiable.rb
index <HASH>..<HASH> 100644
--- a/lib/sortifiable.rb
+++ b/lib/sortifiable.rb
@@ -386,7 +386,7 @@ module Sortifiable
if acts_as_list_options[:scope].is_a?(String)
instance_eval("\"#{acts_as_list_options[:scope]}\"")
else
- Array.... | Use each_with_object instead of inject | pixeltrix_sortifiable | train | rb |
67eafdf7dcb5dee134df1a87f59e5afc783d5669 | diff --git a/system/slytherin.php b/system/slytherin.php
index <HASH>..<HASH> 100755
--- a/system/slytherin.php
+++ b/system/slytherin.php
@@ -36,8 +36,8 @@ class Slytherin
require_once($path);
$baseController = new Controller();
$controller = new $controller();
- if (is_subclass_of($controller, 'Contro... | removed statement if class is extended to base controller | rougin_slytherin | train | php |
78689dd41eb963aa9171569cdaace537d25cdf8a | diff --git a/docs/pages/color_palette.js b/docs/pages/color_palette.js
index <HASH>..<HASH> 100644
--- a/docs/pages/color_palette.js
+++ b/docs/pages/color_palette.js
@@ -73,7 +73,7 @@ export default function ColorPage(): Node {
</Flex>
</MainSection>
<MainSection
- name="Extended colors"
... | Color Palette: Update terminology (#<I>) | pinterest_gestalt | train | js |
395723aff6a08cc51dce83f0a60ff3e2d395d661 | diff --git a/tests/test_apps/txnid-selfcheck2/src/txnIdSelfCheck/Benchmark.java b/tests/test_apps/txnid-selfcheck2/src/txnIdSelfCheck/Benchmark.java
index <HASH>..<HASH> 100644
--- a/tests/test_apps/txnid-selfcheck2/src/txnIdSelfCheck/Benchmark.java
+++ b/tests/test_apps/txnid-selfcheck2/src/txnIdSelfCheck/Benchmark.ja... | Benchmark.java: temporarily change txnid2's default swapratio to 0, so
that the System Tests can run without being bothered by ENG-<I> and
ENG-<I>. | VoltDB_voltdb | train | java |
cdcc21ee3b9abec43db24429accd2d9f4d519433 | diff --git a/dwave_networkx/drawing/qubit_layout.py b/dwave_networkx/drawing/qubit_layout.py
index <HASH>..<HASH> 100644
--- a/dwave_networkx/drawing/qubit_layout.py
+++ b/dwave_networkx/drawing/qubit_layout.py
@@ -139,8 +139,8 @@ def draw_qubit_graph(G, layout, linear_biases={}, quadratic_biases={},
if edge_v... | Use gcf and gca to get/create figure axes in qubit graph | dwavesystems_dwave_networkx | train | py |
a37cf27c33c7a4019fa26b6dbbef275eefeaf34a | diff --git a/lib/doorkeeper/oauth/client_credentials_request.rb b/lib/doorkeeper/oauth/client_credentials_request.rb
index <HASH>..<HASH> 100644
--- a/lib/doorkeeper/oauth/client_credentials_request.rb
+++ b/lib/doorkeeper/oauth/client_credentials_request.rb
@@ -27,10 +27,12 @@ module Doorkeeper
end
def... | Fixed bug which returns <I> when given invalid client id or secret during access token generation.
The issue was with the way authorized is implemented in client_credentials_request, which never returned false when returning an ErrorResponse. | doorkeeper-gem_doorkeeper | train | rb,rb |
a160bee32998914c31e76a1098681d11e1dbe008 | diff --git a/test/drawNode-shape-point-test.js b/test/drawNode-shape-point-test.js
index <HASH>..<HASH> 100644
--- a/test/drawNode-shape-point-test.js
+++ b/test/drawNode-shape-point-test.js
@@ -9,9 +9,14 @@ tape("Verify that point shape is drawn exactly as Graphviz does.", function(test
var document = global.docu... | Port drawNode-shape-point-test.js to hpcc-js-wasm | magjac_d3-graphviz | train | js |
e06426bd02d6fdec93aacc9381fad7f6a50350fd | diff --git a/lib/rack-environmental.rb b/lib/rack-environmental.rb
index <HASH>..<HASH> 100644
--- a/lib/rack-environmental.rb
+++ b/lib/rack-environmental.rb
@@ -6,6 +6,7 @@ module Rack
def change_nokogiri_doc(doc)
initialize_environment_options
add_to_top_of_web_page(doc, create_sticker(doc))
+ ... | Added a style node that keeps the indicator from showing up when the page is printed. | techiferous_rack-environmental | train | rb |
707fa51dc9ec3e85c2c23ba06b4bc8587331c2ab | diff --git a/lib/ast/internal/define.rb b/lib/ast/internal/define.rb
index <HASH>..<HASH> 100644
--- a/lib/ast/internal/define.rb
+++ b/lib/ast/internal/define.rb
@@ -124,10 +124,9 @@ module Atomy
g.make_array 2
receiver.target(g)
- g.push_literal "@__atomy_"
+ g.push_literal "@atomy::... | tweak internal ivars for method storing | vito_atomy | train | rb |
d35345165dc26c09ad65b60e1784b276bea7e5e7 | diff --git a/lib/ruby_warrior/game.rb b/lib/ruby_warrior/game.rb
index <HASH>..<HASH> 100644
--- a/lib/ruby_warrior/game.rb
+++ b/lib/ruby_warrior/game.rb
@@ -47,7 +47,7 @@ module RubyWarrior
else
if current_level.number.zero?
prepare_next_level
- UI.puts "First level has been genera... | making instructions more specific on which directory to look into | ryanb_ruby-warrior | train | rb |
6e37ffae6f533b3e689b8191427ffa45f4231f27 | diff --git a/src/SearchableTrait.php b/src/SearchableTrait.php
index <HASH>..<HASH> 100644
--- a/src/SearchableTrait.php
+++ b/src/SearchableTrait.php
@@ -1,6 +1,7 @@
<?php namespace Nicolaslopezj\Searchable;
use Illuminate\Database\Eloquent\Builder;
+use Illuminate\Support\Arr;
use Illuminate\Support\Facades\Conf... | Replace the helper with the static method
Laravel helpers are replaced on version >= <I> | nicolaslopezj_searchable | train | php |
ecf7c67df8b7c459ed67722076add7b06cac7cb6 | diff --git a/lib/timer.js b/lib/timer.js
index <HASH>..<HASH> 100644
--- a/lib/timer.js
+++ b/lib/timer.js
@@ -28,7 +28,7 @@ class Timer extends Map {
constructor(options = {}, ...args) {
super(...args);
this.options = Object.assign({}, {
-
+ nats: null
}, options);
this._sid = null;
... | linting timers file | esatterwhite_skyring | train | js |
4e1f49e25d10a7552c609dc7a901126da03c5825 | diff --git a/test/mock_objects_test.php b/test/mock_objects_test.php
index <HASH>..<HASH> 100644
--- a/test/mock_objects_test.php
+++ b/test/mock_objects_test.php
@@ -978,4 +978,35 @@ class TestOfPHP5AbstractMethodMocking extends UnitTestCase {
);
}
}
-?>
\ No newline at end of file
+
+class DummyWithPro... | add a test to ensure protected methods are mockable via generatePartial()
Had this reported as a bug within an older version of SimpleTest, wanted
to verify that this behavior was handled in the latest version. | simpletest_simpletest | train | php |
8234bd4d9021bd5cac0e49ac58320e648cc70b05 | diff --git a/pymatgen/core/periodic_table.py b/pymatgen/core/periodic_table.py
index <HASH>..<HASH> 100644
--- a/pymatgen/core/periodic_table.py
+++ b/pymatgen/core/periodic_table.py
@@ -409,10 +409,10 @@ class Element(Enum):
at_r = d.get("Atomic radius", "no data")
if str(at_r).startswith("no data"... | Explicitly add atomic_radius and atomic_mass as properties
Helpful for autocomplete. At a later date, should revisit the data dictionary, and incorporate covalent_radius from elsewhere in pymatgen | materialsproject_pymatgen | train | py |
4435e53901df4d64992a540694fbd3d5489c2220 | diff --git a/superset/migrations/versions/a9422eeaae74_new_dataset_models_take_2.py b/superset/migrations/versions/a9422eeaae74_new_dataset_models_take_2.py
index <HASH>..<HASH> 100644
--- a/superset/migrations/versions/a9422eeaae74_new_dataset_models_take_2.py
+++ b/superset/migrations/versions/a9422eeaae74_new_datase... | fix(dataset): handle missing sqla uri in migration (#<I>) | apache_incubator-superset | train | py |
28da4f3916cb6518e5bb100bd53b2f2ad08422f7 | diff --git a/tests/integration/components/yield-slot-test.js b/tests/integration/components/yield-slot-test.js
index <HASH>..<HASH> 100644
--- a/tests/integration/components/yield-slot-test.js
+++ b/tests/integration/components/yield-slot-test.js
@@ -13,11 +13,6 @@ describeComponent(
integration: true
},
fun... | removed starter test that comes from the generated blueprint | ciena-blueplanet_ember-block-slots | train | js |
3ba084fa7bccf9f404d8d0ef97766f34ff9ea671 | diff --git a/html-lint.js b/html-lint.js
index <HASH>..<HASH> 100644
--- a/html-lint.js
+++ b/html-lint.js
@@ -789,11 +789,11 @@
jQueryAdded: false,
- jQuery: '1.8.1',
+ jQuery: '1.8.2',
jQueryUI: '1.8.22',
Modernizr: '2.6.2',
MooTools: '1.4.5',
- YUI: '3.7.1'
+ YUI: '3.7.2'
};
self.preInit = ... | new jQuery and YUI | curtisj44_HTML-Lint | train | js |
07a0ce1439fb9e0715e013c666b38091fcd3d1c3 | diff --git a/app/helpers/trestle/panel_helper.rb b/app/helpers/trestle/panel_helper.rb
index <HASH>..<HASH> 100644
--- a/app/helpers/trestle/panel_helper.rb
+++ b/app/helpers/trestle/panel_helper.rb
@@ -3,7 +3,7 @@ module Trestle
def panel(options={}, &block)
html_class = options.fetch(:class) { "panel-defa... | Pass id and data attributes on panel helper to content_tag | TrestleAdmin_trestle | train | rb |
27ad23a4887bca964d22cb7e3b97e758de637270 | diff --git a/pkg/cmd/util/docker/docker.go b/pkg/cmd/util/docker/docker.go
index <HASH>..<HASH> 100644
--- a/pkg/cmd/util/docker/docker.go
+++ b/pkg/cmd/util/docker/docker.go
@@ -47,7 +47,7 @@ func (_ *Helper) GetKubeClient(requestTimeout, imagePullProgressDeadline time.Du
} else {
endpoint = "unix:///var/run/dock... | NEEDS REVIEW: boring: docker client update | openshift_origin | train | go |
f61d28cd684912ec034d50750897459b76932f77 | diff --git a/httprunner/cli.py b/httprunner/cli.py
index <HASH>..<HASH> 100644
--- a/httprunner/cli.py
+++ b/httprunner/cli.py
@@ -44,7 +44,7 @@ def main_run(extra_args):
sys.exit(1)
extra_args_new.extend(testcase_path_list)
- pytest.main(extra_args_new)
+ sys.exit(pytest.main(extra_args_new))
... | fix: missing exit code from pytest | HttpRunner_HttpRunner | train | py |
8fc75ebb2835c730486b1c2aeabcabb89fc91e3e | diff --git a/terraform/transform_resource.go b/terraform/transform_resource.go
index <HASH>..<HASH> 100644
--- a/terraform/transform_resource.go
+++ b/terraform/transform_resource.go
@@ -195,6 +195,11 @@ func (n *graphNodeExpandedResource) stateId() string {
return fmt.Sprintf("%s.%d", n.Resource.Id(), n.Index)
}
... | terraform: get proper state representation of expanded resources | hashicorp_terraform | train | go |
f4e5996f81a74e6f85fc17c63ca1251a81d46457 | diff --git a/validators.go b/validators.go
index <HASH>..<HASH> 100644
--- a/validators.go
+++ b/validators.go
@@ -177,7 +177,7 @@ func (m minItems) Validate(v interface{}) []ValidationError {
// [1] http://spacetelescope.github.io/understanding-json-schema/reference/array.html
type items struct {
schema ... | Change schemaSlice to a slice of pointers to structs. | cupcake_jsonschema | train | go |
383d388411c7c99817eb736fb526dfa6cf6abd16 | diff --git a/lib/setup.php b/lib/setup.php
index <HASH>..<HASH> 100644
--- a/lib/setup.php
+++ b/lib/setup.php
@@ -37,6 +37,7 @@
* - $CFG->dirroot - Path to moodle's library folder on server's filesystem.
* - $CFG->libdir - Path to moodle's library folder on server's filesystem.
* - $CFG->tempdir - Path to... | MDL-<I> Fixed broken $CFG->tempdir default and added $CFG->cachedir | moodle_moodle | train | php |
42648dd4050745cc12bbbe3e10813915576498f6 | diff --git a/lib/javascript-static.js b/lib/javascript-static.js
index <HASH>..<HASH> 100644
--- a/lib/javascript-static.js
+++ b/lib/javascript-static.js
@@ -1779,6 +1779,7 @@ M.util.load_flowplayer = function() {
// why??
continue;
}
+ if (!all... | MDL-<I> - filter/multimedia: MP3 Flow Player doesn't work in Chrome if empty stylesheets are present | moodle_moodle | train | js |
2d8fdf30457021c287a23c19fc5bb48eb8f46a67 | diff --git a/packages/babel-helpers/src/helpers.js b/packages/babel-helpers/src/helpers.js
index <HASH>..<HASH> 100644
--- a/packages/babel-helpers/src/helpers.js
+++ b/packages/babel-helpers/src/helpers.js
@@ -278,6 +278,20 @@ helpers.defineEnumerableProperties = template(`
if ("value" in desc) desc.writable = ... | Allow native Symbols as computed property names (#<I>)
The for-in loop in helpers.defineEnumerableProperties doesn't iterate over Symbols.
If Object.getOwnPropertySymbols exists, include the discovered values when defining properties. | babel_babel | train | js |
1401586a13c9af7cc497b3f83773f143821a6ac5 | diff --git a/lib/macos.js b/lib/macos.js
index <HASH>..<HASH> 100644
--- a/lib/macos.js
+++ b/lib/macos.js
@@ -5,5 +5,11 @@ const START_SPOTIFY = "tell application \"Spotify\" to run";
module.exports = function() {
return new Promise((res, rej) => {
as.execute(START_SPOTIFY, null, (err, result) => err ? ... | :sparkles: Give OSX proper handling for when app doesn't exist | Festify_start-spotify | 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.