hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
32f613f29a1770390688f8f652063b77e3204f7b | diff --git a/spec/chore/duplicate_detector_spec.rb b/spec/chore/duplicate_detector_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/chore/duplicate_detector_spec.rb
+++ b/spec/chore/duplicate_detector_spec.rb
@@ -34,4 +34,10 @@ describe Chore::DuplicateDetector do
dedupe.found_duplicate?(message).should be_false
... | Specs for visibility timeout
Spec now with 2/3s less BS
Rubying it up a bit | Tapjoy_chore | train |
78165582851e8b5c9b69fd64cca680264cdea29c | diff --git a/config/dpkg/changelog b/config/dpkg/changelog
index <HASH>..<HASH> 100644
--- a/config/dpkg/changelog
+++ b/config/dpkg/changelog
@@ -2,4 +2,4 @@ plaso (1.4.1-1) unstable; urgency=low
* Auto-generated
- -- Log2Timeline <log2timeline-dev@googlegroups.com> Sun, 04 Sep 2016 16:46:41 +0200
\ No newline... | Code review: <I>: Added merge reader to reduce memory footprint during merge #<I> | log2timeline_plaso | train |
6a8c8b2cc617c051a78e147a0277588f919eb53c | diff --git a/visor-telnet/src/main/java/de/uniulm/omi/cloudiator/visor/telnet/TCPServer.java b/visor-telnet/src/main/java/de/uniulm/omi/cloudiator/visor/telnet/TCPServer.java
index <HASH>..<HASH> 100644
--- a/visor-telnet/src/main/java/de/uniulm/omi/cloudiator/visor/telnet/TCPServer.java
+++ b/visor-telnet/src/main/jav... | PS-<I> fixing closing of socket when connection is closed | cloudiator_visor | train |
151afff7d1b65f4d1750937293833cacf3f7b8a0 | diff --git a/thinc/loss.py b/thinc/loss.py
index <HASH>..<HASH> 100644
--- a/thinc/loss.py
+++ b/thinc/loss.py
@@ -21,3 +21,28 @@ def L1_distance(
dist = xp.abs(vec1 - vec2).sum(axis=1)
loss = (dist > margin) - labels
return (vec1 - vec2) * loss, (vec2 - vec1) * loss, loss
+
+
+
+
+def cosine_distance(yh... | Add cosine_distance loss | explosion_thinc | train |
af81de0123c8d9920a25a27d28da66f9d00748cc | diff --git a/compiler/cpp/src/generate/t_java_generator.cc b/compiler/cpp/src/generate/t_java_generator.cc
index <HASH>..<HASH> 100644
--- a/compiler/cpp/src/generate/t_java_generator.cc
+++ b/compiler/cpp/src/generate/t_java_generator.cc
@@ -1065,7 +1065,7 @@ void t_java_generator::generate_java_struct_reader(ofstream... | Revert r<I> "THRIFT-<I>. java: Java is inconsistent ..."
- It changed the semantics of default-presence fields.
- It messed up calls that accept exceptions.
- Full details on issue.
git-svn-id: <URL> | limingxinleo_thrift | train |
ecc62e471eaa4241991f78aaa1b60c600668df36 | diff --git a/src/utils/Ajax.js b/src/utils/Ajax.js
index <HASH>..<HASH> 100644
--- a/src/utils/Ajax.js
+++ b/src/utils/Ajax.js
@@ -2,6 +2,9 @@
meta.ajax = function(params)
{
+ var data = meta.serialize(params.data);
+ var xhr = new XMLHttpRequest();
+
if(params.dataType === "html") {
params.responseType = "doc... | Fixed ajax warnings for FireFox. | tenjou_meta2d | train |
581255b65b194072cc63d2a91522942264375f35 | diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb
index <HASH>..<HASH> 100644
--- a/spec/rails_helper.rb
+++ b/spec/rails_helper.rb
@@ -55,10 +55,6 @@ module ActiveAdminIntegrationSpecHelper
end
alias_method :action_view, :mock_action_view
- # A mock resource to register
- class MockResource
- end
-
... | Move class definition to the only file using it | activeadmin_activeadmin | train |
8af1a1987cd4b1b5eeb2e09a92e4d3dccbfacf94 | diff --git a/tomitribe-crest-arthur-extension/src/main/java/org/tomitribe/crest/arthur/CrestExtension.java b/tomitribe-crest-arthur-extension/src/main/java/org/tomitribe/crest/arthur/CrestExtension.java
index <HASH>..<HASH> 100644
--- a/tomitribe-crest-arthur-extension/src/main/java/org/tomitribe/crest/arthur/CrestExte... | ensure interceptor binding are taken into account by arthur | tomitribe_crest | train |
c22d855612bb6519de520ba2e63427b3ad619220 | diff --git a/cmd/kube-proxy/app/server.go b/cmd/kube-proxy/app/server.go
index <HASH>..<HASH> 100644
--- a/cmd/kube-proxy/app/server.go
+++ b/cmd/kube-proxy/app/server.go
@@ -280,6 +280,7 @@ func (o *Options) writeConfigFile() error {
if err != nil {
return err
}
+ // TODO handle error
defer configFile.Close()... | Renamed variables colliding with package names, and added TODOs on uncaught-errors | kubernetes_kubernetes | train |
12ec489f4b64fb147c02544060b7ca4aeba0db2b | diff --git a/cmd/notary-signer/config.go b/cmd/notary-signer/config.go
index <HASH>..<HASH> 100644
--- a/cmd/notary-signer/config.go
+++ b/cmd/notary-signer/config.go
@@ -70,7 +70,7 @@ func parseSignerConfig(configFilePath string, doBootstrap bool) (signer.Config,
}
// setup the cryptoservices
- cryptoServices, ... | Add a new constant for supported backends | theupdateframework_notary | train |
e7630ca67a813279138abe09ae260ace54ff860b | diff --git a/auto_ml/predictor.py b/auto_ml/predictor.py
index <HASH>..<HASH> 100644
--- a/auto_ml/predictor.py
+++ b/auto_ml/predictor.py
@@ -204,7 +204,7 @@ class Predictor(object):
final_model = utils_models.get_model_from_name(model_name, training_params=params)
pipeline_list.append(('fina... | Usability (#<I>)
* adds .training_features to saved pipeline, more flexibility for column_descriptions input
* bugfix in .training_features- thanks test suite! | ClimbsRocks_auto_ml | train |
b8f5596ac67726750fb12dd0f84e8c57dcc13217 | diff --git a/src/Ant/ChateaClient/Client/Api.php b/src/Ant/ChateaClient/Client/Api.php
index <HASH>..<HASH> 100755
--- a/src/Ant/ChateaClient/Client/Api.php
+++ b/src/Ant/ChateaClient/Client/Api.php
@@ -636,7 +636,7 @@ class Api implements ApiInterface
* );
*</code>
*/
- public function showChanne... | refix hydrate user with channels | antwebes_ChateaClientLib | train |
c9164db67392af68820dd7254860630730be8e2c | diff --git a/spec/unit/callbacks_spec.rb b/spec/unit/callbacks_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/unit/callbacks_spec.rb
+++ b/spec/unit/callbacks_spec.rb
@@ -719,4 +719,30 @@ describe FiniteMachine, 'callbacks' do
'enter_bump_medium_high'
])
end
+
+ it "permits state and event with the same... | Fix and close #<I> to allow for callback with the same event and state names. | piotrmurach_finite_machine | train |
0792a5ac49d367ef47c3b2870a10986b1744d4ce | diff --git a/lib/http_server.js b/lib/http_server.js
index <HASH>..<HASH> 100644
--- a/lib/http_server.js
+++ b/lib/http_server.js
@@ -24,6 +24,11 @@ var querytopic = require('./query_topic');
var ZettaHttpServer = module.exports = function(zettaInstance, options) {
var self = this;
options = (typeof options ===... | Allow for xforwardedhostheader config (#<I>)
* Allow for xforwardedhostheader config
* Added test for xforwardedhostheader zetta option. | zettajs_zetta | train |
edba2b7bcc62f113bddca8d9322d787193a60983 | diff --git a/test/examples/isomorphic-examples.test.js b/test/examples/isomorphic-examples.test.js
index <HASH>..<HASH> 100644
--- a/test/examples/isomorphic-examples.test.js
+++ b/test/examples/isomorphic-examples.test.js
@@ -17,7 +17,7 @@
const puppeteer = require('puppeteer');
const terminate = require('terminat... | dev-infra: skip some tests on node <I> and <I> | jaredpalmer_razzle | train |
5c7cfda58590002ba150bd1c758bcbdf96cfc47f | diff --git a/src/Tuum/Renderer.php b/src/Tuum/Renderer.php
index <HASH>..<HASH> 100644
--- a/src/Tuum/Renderer.php
+++ b/src/Tuum/Renderer.php
@@ -169,7 +169,13 @@ class Renderer implements ViewEngineInterface
*/
public function sectionExists($name)
{
- return array_key_exists($name, $this->secti... | sectionExists to accept list of names to check. | TuumPHP_View | train |
794b00372844748d1d4942a53ef717d59a659b65 | diff --git a/kie-dmn/kie-dmn-feel/src/main/antlr4/org/kie/dmn/feel/parser/feel11/FEEL_1_1.g4 b/kie-dmn/kie-dmn-feel/src/main/antlr4/org/kie/dmn/feel/parser/feel11/FEEL_1_1.g4
index <HASH>..<HASH> 100644
--- a/kie-dmn/kie-dmn-feel/src/main/antlr4/org/kie/dmn/feel/parser/feel11/FEEL_1_1.g4
+++ b/kie-dmn/kie-dmn-feel/src/... | Adding test cases for ranges and fixing bugs | kiegroup_drools | train |
1b4d838b75377a79704d7e607c9009be8f248f6c | diff --git a/packages/spark-core/src/interceptors/request-logger.js b/packages/spark-core/src/interceptors/request-logger.js
index <HASH>..<HASH> 100644
--- a/packages/spark-core/src/interceptors/request-logger.js
+++ b/packages/spark-core/src/interceptors/request-logger.js
@@ -16,7 +16,7 @@ export default class Reques... | fix(spark-core): create interceptor w/ spark prop | webex_spark-js-sdk | train |
402201c43169b50d5f25b55103bfc5a30ade80ed | diff --git a/cmd/ssh-proxy/config/config.go b/cmd/ssh-proxy/config/config.go
index <HASH>..<HASH> 100644
--- a/cmd/ssh-proxy/config/config.go
+++ b/cmd/ssh-proxy/config/config.go
@@ -2,6 +2,7 @@ package config
import (
"crypto/tls"
+ "crypto/x509"
"encoding/json"
"errors"
"io/ioutil"
@@ -12,7 +13,6 @@ import... | Error if the backend tls certificate isn't specified and backend tls is enabled
Also do not include system certificates to be consistent with other components
[#<I>](<URL>) | cloudfoundry_diego-ssh | train |
6430efae99e8ac33236939ed61395131dcaa5d42 | diff --git a/indra/explanation/model_checker/signed_graph.py b/indra/explanation/model_checker/signed_graph.py
index <HASH>..<HASH> 100644
--- a/indra/explanation/model_checker/signed_graph.py
+++ b/indra/explanation/model_checker/signed_graph.py
@@ -1,10 +1,10 @@
import logging
-import networkx as nx
from . import... | Get subgraph and put correct data in MC get_graph | sorgerlab_indra | train |
246b2ffe083fa166f9509b2ebefe072e550efe10 | diff --git a/cartoframes/dataset.py b/cartoframes/dataset.py
index <HASH>..<HASH> 100644
--- a/cartoframes/dataset.py
+++ b/cartoframes/dataset.py
@@ -153,9 +153,6 @@ class Dataset(object):
self.cc._debug_print(err=err)
return False
- def get_query(self):
- return self.query or sel... | Refactor get_query and Source | CartoDB_cartoframes | train |
e0f5dd6ff901ea0fe82b71480c976d058237daa9 | diff --git a/prometheus_client/metrics_core.py b/prometheus_client/metrics_core.py
index <HASH>..<HASH> 100644
--- a/prometheus_client/metrics_core.py
+++ b/prometheus_client/metrics_core.py
@@ -220,7 +220,7 @@ class HistogramMetricFamily(Metric):
if float(buckets[0][0]) >= 0 and sum_value is not None:
... | Change exemplar limit to <I> chars. | prometheus_client_python | train |
ed5e22f4106eb8f0dbc83d16645d7b08ac2ede3e | diff --git a/src/docs/export.md b/src/docs/export.md
index <HASH>..<HASH> 100644
--- a/src/docs/export.md
+++ b/src/docs/export.md
@@ -168,6 +168,10 @@ The following is an abbreviated export file from a command in the pants repo:
# Export Format Changes
+## 1.0.9
+
+Added 'is_target_root' field to target
+
## 1.0... | Add `is_target_root` in export
To reconstruct the build graph for import/indexing optimization, intellij pants plugin would need to know where roots start in the graph.
Testing Done:
<URL> | pantsbuild_pants | train |
6ef8754ac664598a43d0afa2172e831e1c8805ca | diff --git a/doc/mol.rst b/doc/mol.rst
index <HASH>..<HASH> 100644
--- a/doc/mol.rst
+++ b/doc/mol.rst
@@ -449,6 +449,11 @@ Atom (and AtomView)
Returns the temperature factor (aka B-factor) of this atom. In case this value is not available, null will be returned.
+.. function pv.mol.Atom.isConnectedTo(otherAtom)... | improve shouldIntroduceTraceBreak heuristic
In case there is a bond between two residues don't introduce a trace
break. This gives users the option to manually connect amino acids
to avoid trace breaks.
See issue #<I> for details. | biasmv_pv | train |
f1261343f4785635ff034ad5fc79cbb915530dce | diff --git a/salt/roster/__init__.py b/salt/roster/__init__.py
index <HASH>..<HASH> 100644
--- a/salt/roster/__init__.py
+++ b/salt/roster/__init__.py
@@ -9,6 +9,9 @@ systems that cannot or should not host a minion agent.
# Import salt libs
import salt.loader
+import logging
+log = logging.getLogger(__name__)
+
... | clean up and add some minor logging
make --roster-file work with the ansible roster | saltstack_salt | train |
eb5e00481ac86ccbf479abee235ae42d9557d73f | diff --git a/src/router/common/http.go b/src/router/common/http.go
index <HASH>..<HASH> 100644
--- a/src/router/common/http.go
+++ b/src/router/common/http.go
@@ -3,6 +3,7 @@ package common
import (
"encoding/json"
"net/http"
+ _ "net/http/pprof"
. "router/common/http"
) | Include runtime profiling package
This package registers its HTTP endpoints with the default handler.
Change-Id: I<I>d<I>c<I>ec<I>e<I>f9eabab<I> | cloudfoundry_gorouter | train |
f5c7cc0f66843042cdd3287293e64d5266c8e081 | diff --git a/src/Input.js b/src/Input.js
index <HASH>..<HASH> 100644
--- a/src/Input.js
+++ b/src/Input.js
@@ -1,5 +1,4 @@
import React from 'react';
-import ReactDOM from 'react-dom';
import constants from './constants';
import cx from 'classnames';
import uuid from 'node-uuid';
@@ -14,14 +13,14 @@ class Input ext... | Removed two useless `findDOMNode`s:
In <I> the ref of a React.DOM component is already the DOM element, no need to find it. | react-materialize_react-materialize | train |
29b436fe0ef2fd7944f41217804403f2641bcfa7 | diff --git a/closure/goog/base.js b/closure/goog/base.js
index <HASH>..<HASH> 100644
--- a/closure/goog/base.js
+++ b/closure/goog/base.js
@@ -67,6 +67,48 @@ goog.global.CLOSURE_DEFINES;
/**
+ * Builds an object structure for the provided namespace path,
+ * ensuring that names that already exist are not overwritt... | Trial ballon: switch base.js defines to goog.define before changing the rest of Closure.
-------------
Created by MOE: <URL> | google_closure-library | train |
636704d30fabcc8519db652ed0dfbfc63f8e652e | diff --git a/nodeconductor/iaas/tasks/iaas.py b/nodeconductor/iaas/tasks/iaas.py
index <HASH>..<HASH> 100644
--- a/nodeconductor/iaas/tasks/iaas.py
+++ b/nodeconductor/iaas/tasks/iaas.py
@@ -200,6 +200,8 @@ def pull_cloud_membership(membership_pk):
event_context={'membership': membership}
)
+ ... | Add a call to zabbix registration on cmp sync | opennode_waldur-core | train |
89e57400275d76357b594b60aa6147d60448f251 | diff --git a/allianceauth/eveonline/autogroups/models.py b/allianceauth/eveonline/autogroups/models.py
index <HASH>..<HASH> 100644
--- a/allianceauth/eveonline/autogroups/models.py
+++ b/allianceauth/eveonline/autogroups/models.py
@@ -36,8 +36,6 @@ class AutogroupsConfigManager(models.Manager):
:param state: S... | Update autogroups on main character save
Closes #<I> | allianceauth_allianceauth | train |
30734c6d1c201fb0092c6590daa30074972dc658 | diff --git a/src/controller.js b/src/controller.js
index <HASH>..<HASH> 100644
--- a/src/controller.js
+++ b/src/controller.js
@@ -96,9 +96,6 @@ Controller.IMA_DEFAULTS = {
Controller.prototype.initWithSettings = function(options) {
this.settings = this.extend({}, Controller.IMA_DEFAULTS, options || {});
- // Cu... | fix: removed incorrect comment (#<I>) | googleads_videojs-ima | train |
ce924702eace9f834b7e5f0509020d91b8205c0f | diff --git a/pyfolio/utils.py b/pyfolio/utils.py
index <HASH>..<HASH> 100644
--- a/pyfolio/utils.py
+++ b/pyfolio/utils.py
@@ -30,8 +30,6 @@ import pandas.io.data as web
import zipfile
-import functools
-
try:
# For Python 3.0 and later
@@ -95,7 +93,7 @@ def round_two_dec_places(x):
return np.round(x,... | [MAINT] Remove partial function from returns_func api
Removed the partial function and made sure all of the functions
have consistent args and docs. | quantopian_pyfolio | train |
52338dd026fe5e2e42b5213837c55a34e4604da1 | diff --git a/sonar-core/src/test/java/org/sonar/persistence/dao/DaoTestCase.java b/sonar-core/src/test/java/org/sonar/persistence/dao/DaoTestCase.java
index <HASH>..<HASH> 100644
--- a/sonar-core/src/test/java/org/sonar/persistence/dao/DaoTestCase.java
+++ b/sonar-core/src/test/java/org/sonar/persistence/dao/DaoTestCas... | Add log to debug integration tests with Oracle | SonarSource_sonarqube | train |
9b41182a20a1995461720eadd9507df6b259d0a1 | diff --git a/public/assets/libs/appCore.js b/public/assets/libs/appCore.js
index <HASH>..<HASH> 100644
--- a/public/assets/libs/appCore.js
+++ b/public/assets/libs/appCore.js
@@ -456,6 +456,14 @@ $(function ($) {
$this.children().not(".loadingImagesPreview").remove();
$content.... | allow to set value on select field on templates | edineibauer_uebConfig | train |
6874cbccb70b261f1a2b8e7f3220e53086249a4c | diff --git a/src/Discord/Repository/Guild/MemberRepository.php b/src/Discord/Repository/Guild/MemberRepository.php
index <HASH>..<HASH> 100755
--- a/src/Discord/Repository/Guild/MemberRepository.php
+++ b/src/Discord/Repository/Guild/MemberRepository.php
@@ -26,6 +26,7 @@ class MemberRepository extends AbstractReposito... | Adding all members endpoint to MemberRepository | teamreflex_DiscordPHP | train |
f85862801b38a2d4a62ae3536b7402b9851131b7 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -965,6 +965,10 @@ wjs.prototype.length = function() {
return this.vlc.length;
}
+wjs.prototype.fps = function() {
+ return this.vlc.input.fps;
+}
+
wjs.prototype.state = function() {
reqState = this.vlc.state;
if (re... | Added .fps() to API | jaruba_wcjs-player | train |
c08657af4d13c4eb6630dabdcd332b31ccd09be8 | diff --git a/sos/plugins/ceph.py b/sos/plugins/ceph.py
index <HASH>..<HASH> 100644
--- a/sos/plugins/ceph.py
+++ b/sos/plugins/ceph.py
@@ -7,6 +7,7 @@
# See the LICENSE file in the source distribution for further information.
from sos.plugins import Plugin, RedHatPlugin, UbuntuPlugin
+from socket import gethostname... | [ceph] collect journal logs for ceph services
Enable the plugin also by presence of either service, and collect
journal logs of the services.
Resolves: #<I> | sosreport_sos | train |
80e05f63a0297f981f4ea935057a3abc3154c493 | diff --git a/bokeh/models/plots.py b/bokeh/models/plots.py
index <HASH>..<HASH> 100644
--- a/bokeh/models/plots.py
+++ b/bokeh/models/plots.py
@@ -5,7 +5,6 @@ from ..properties import Bool, Int, String, Color, Enum, Instance, List, Dict, I
from ..mixins import LineProps, TextProps
from .. enums import Location
-fro... | Don't import _glyph_functions in models.plots | bokeh_bokeh | train |
474c1e92bf6c11d658c8775f953a58847b553e7d | diff --git a/arctic/serialization/numpy_arrays.py b/arctic/serialization/numpy_arrays.py
index <HASH>..<HASH> 100644
--- a/arctic/serialization/numpy_arrays.py
+++ b/arctic/serialization/numpy_arrays.py
@@ -4,6 +4,7 @@ import numpy as np
import numpy.ma as ma
import pandas as pd
+
try:
from pandas.api.types i... | Use partial for newer versions of pandas | manahl_arctic | train |
24a2c3d8db74d2dcec9818fa944a63bc2a66d1f5 | diff --git a/pre_commit/xargs.py b/pre_commit/xargs.py
index <HASH>..<HASH> 100644
--- a/pre_commit/xargs.py
+++ b/pre_commit/xargs.py
@@ -109,6 +109,7 @@ def xargs(cmd, varargs, **kwargs):
"""
negate = kwargs.pop('negate', False)
target_concurrency = kwargs.pop('target_concurrency', 1)
+ max_length =... | Add support for passing cwd and env to xargs | pre-commit_pre-commit | train |
f687c935dc63bc47108d24fce697be52cf32d4b8 | diff --git a/uportal-war/src/main/java/org/jasig/portal/portlets/statistics/PortletExecutionStatisticsController.java b/uportal-war/src/main/java/org/jasig/portal/portlets/statistics/PortletExecutionStatisticsController.java
index <HASH>..<HASH> 100644
--- a/uportal-war/src/main/java/org/jasig/portal/portlets/statistic... | UP-<I> Fixed PortletExecution report header/columns to vary properly based upon selections | Jasig_uPortal | train |
f6fc99fc398bb1710507be367d5532bf9d6940cd | diff --git a/python/phonenumbers/__init__.py b/python/phonenumbers/__init__.py
index <HASH>..<HASH> 100644
--- a/python/phonenumbers/__init__.py
+++ b/python/phonenumbers/__init__.py
@@ -146,7 +146,7 @@ from .phonenumbermatcher import PhoneNumberMatch, PhoneNumberMatcher, Leniency
# Version number is taken from the ... | Prep for <I> release | daviddrysdale_python-phonenumbers | train |
a4aea3e085fe69e3c092666d7a91f34501e503b5 | diff --git a/terraform/graph_builder_destroy_apply.go b/terraform/graph_builder_destroy_apply.go
index <HASH>..<HASH> 100644
--- a/terraform/graph_builder_destroy_apply.go
+++ b/terraform/graph_builder_destroy_apply.go
@@ -77,6 +77,7 @@ func (b *DestroyApplyGraphBuilder) Steps() []GraphTransformer {
// Create all th... | terraform: destroy apply graph builder should disable providers | hashicorp_terraform | train |
f16e1f9c9b3eafc08c8aaf725bb3a65f10c90d47 | diff --git a/gemfiles/Gemfile.common.rb b/gemfiles/Gemfile.common.rb
index <HASH>..<HASH> 100644
--- a/gemfiles/Gemfile.common.rb
+++ b/gemfiles/Gemfile.common.rb
@@ -1,4 +1,4 @@
-ENV['rails'] ||= '4.2.0.rc2'
+ENV['rails'] ||= '4.2.0'
source 'https://rubygems.org' | Upgrade Rails to the <I> release from RC2 | doorkeeper-gem_doorkeeper | train |
b9a4346a91a509d4814321f276752caca6a71751 | diff --git a/contrib/externs/angular-material.js b/contrib/externs/angular-material.js
index <HASH>..<HASH> 100644
--- a/contrib/externs/angular-material.js
+++ b/contrib/externs/angular-material.js
@@ -168,3 +168,27 @@ md._sidenavService;
* }
*/
md.$sidenav;
+
+
+/*************************************************... | Add $mdThemingProvider to angular material externs.
-------------
Created by MOE: <URL> | google_closure-compiler | train |
142f8dac4aaf608bb20c82f0e5596c63fa1194db | diff --git a/app/templates/singular.php b/app/templates/singular.php
index <HASH>..<HASH> 100644
--- a/app/templates/singular.php
+++ b/app/templates/singular.php
@@ -5,7 +5,7 @@ declare (strict_types = 1);
\the_post(); ?>
-<div class="posts-wrap show-content big singular-post">
+<div id="main-query" class="posts-... | Add id attribute to posts wrap
The same id is already added to posts wrap in other templates. | GrottoPress_jentil | train |
352fbcfb3376fa255a3707cc634b7f6420fc5824 | diff --git a/icons.js b/icons.js
index <HASH>..<HASH> 100644
--- a/icons.js
+++ b/icons.js
@@ -17,9 +17,11 @@ export function getIcon(name, data) {
svg.style.width = (data.width / data.height) + "em"
let use = svg.appendChild(document.createElementNS(SVG, "use"))
use.setAttributeNS(XLINK, "href", "#pm-ic... | Allow a dom property on icons | ProseMirror_prosemirror-menu | train |
b53a036671d9552112a7307ddcd249eb9d1c708d | diff --git a/iktomi/cli/sqla.py b/iktomi/cli/sqla.py
index <HASH>..<HASH> 100644
--- a/iktomi/cli/sqla.py
+++ b/iktomi/cli/sqla.py
@@ -123,7 +123,7 @@ class Sqla(Cli):
sys.exit('Interrupted')
def _drop_metadata_tables(metadata):
- table = metadata.tables.itervalues().next()
+ ... | Fix StopIteration when there are no tables in metadata. | SmartTeleMax_iktomi | train |
c170d7df561b0b67f269032b21b61693e3106eb8 | diff --git a/test/runner/codecept_test.js b/test/runner/codecept_test.js
index <HASH>..<HASH> 100644
--- a/test/runner/codecept_test.js
+++ b/test/runner/codecept_test.js
@@ -136,8 +136,8 @@ describe('CodeceptJS Runner', () => {
expect(lines).to.include.members([
'Test scenario types --',
'It\'... | Updated expected text after refactoring the test Helper due to previous commit | Codeception_CodeceptJS | train |
17d2f27271818b15de4670a149b50f1f9860823e | diff --git a/src/js/mixin/slider-drag.js b/src/js/mixin/slider-drag.js
index <HASH>..<HASH> 100644
--- a/src/js/mixin/slider-drag.js
+++ b/src/js/mixin/slider-drag.js
@@ -5,6 +5,7 @@ import {
includes,
isRtl,
isTouch,
+ noop,
off,
on,
selInput,
@@ -14,7 +15,7 @@ import {
const pointerO... | fix: dragging in Slider component on iOS | uikit_uikit | train |
e56190d8ebef7c9ad608e35ca6c077efd87026e7 | diff --git a/Eloquent/Relations/BelongsToMany.php b/Eloquent/Relations/BelongsToMany.php
index <HASH>..<HASH> 100755
--- a/Eloquent/Relations/BelongsToMany.php
+++ b/Eloquent/Relations/BelongsToMany.php
@@ -5,6 +5,7 @@ use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Da... | Added firstOrFail to belongsToMany. | illuminate_database | train |
120e2b51e79b59048342f665855bbe808400919f | diff --git a/classes/model/page.php b/classes/model/page.php
index <HASH>..<HASH> 100755
--- a/classes/model/page.php
+++ b/classes/model/page.php
@@ -445,7 +445,7 @@ class Model_Page extends ORM_Versioned {
if ($parent->default_child_uri_prefix)
$prefix = $parent->default_child_uri_prefix . '/';
else
- $pr... | Update method calls for get_primary_uri() | boomcms_boom-core | train |
9fa98a546e0c487bda608020ab6dc983c22538d5 | diff --git a/entity-store/src/main/java/jetbrains/exodus/entitystore/metadata/EntityMetaDataImpl.java b/entity-store/src/main/java/jetbrains/exodus/entitystore/metadata/EntityMetaDataImpl.java
index <HASH>..<HASH> 100644
--- a/entity-store/src/main/java/jetbrains/exodus/entitystore/metadata/EntityMetaDataImpl.java
+++ ... | for determinate order, LinkedHashSetDecorator is used instead of HashSetDecorator | JetBrains_xodus | train |
87e9e4a6636ee0f32ea1658921d11ade0372299b | diff --git a/colab/accounts/utils/mailman.py b/colab/accounts/utils/mailman.py
index <HASH>..<HASH> 100644
--- a/colab/accounts/utils/mailman.py
+++ b/colab/accounts/utils/mailman.py
@@ -112,11 +112,12 @@ def user_lists(user):
def get_list_description(listname, lists=None):
if not lists:
- lists = dict(a... | Got description from attrs of list | colab_colab | train |
9a0bee50c1561f70e66106bcb0967873d135f6bb | diff --git a/src/voku/helper/Phonetic.php b/src/voku/helper/Phonetic.php
index <HASH>..<HASH> 100644
--- a/src/voku/helper/Phonetic.php
+++ b/src/voku/helper/Phonetic.php
@@ -113,13 +113,13 @@ final class Phonetic
}
if (count($result) > 0) {
- uasort(
+ uksort(
$result, function ($a, $b... | [!]: re-write -> "object oriented" -> try to fix for PHP < 7 v4 | voku_phonetic-algorithms | train |
443e65aaadf7ac7f6e1104bba94051f031c00d5f | diff --git a/nodePCCC.js b/nodePCCC.js
index <HASH>..<HASH> 100644
--- a/nodePCCC.js
+++ b/nodePCCC.js
@@ -561,6 +561,9 @@ NodePCCC.prototype.prepareWritePacket = function() {
return undefined;
}
+ // BUGFIX: clear old writing requests!
+ self.globalWriteBlockList.splice(0);
+
// At this time we do not do wr... | Fix ghost writings
The array self.globalWriteBlockList need to be cleaned in order to create new writing packets properly. | plcpeople_nodepccc | train |
335e7545360f8b7dde8f6f77f8303304ed669c80 | diff --git a/objectpath/shell.py b/objectpath/shell.py
index <HASH>..<HASH> 100644
--- a/objectpath/shell.py
+++ b/objectpath/shell.py
@@ -8,7 +8,7 @@ import argparse
import sys
import readline
# this is to prevent various tools from deleting import readline
-readline
+x=readline.__doc__
from objectpath import Tr... | very minor bugs. only to get better score in landscape.io LOL | adriank_ObjectPath | train |
9976b8c93fd2e25150540b7322c991d18267f6b5 | diff --git a/ipyleaflet/leaflet.py b/ipyleaflet/leaflet.py
index <HASH>..<HASH> 100644
--- a/ipyleaflet/leaflet.py
+++ b/ipyleaflet/leaflet.py
@@ -260,11 +260,11 @@ class Icon(UILayer):
icon_url = Unicode('').tag(sync=True, o=True)
shadow_url = Unicode(None, allow_none=True).tag(sync=True, o=True)
- icon... | Fix for KeyError: 'popup_anchor' and other traits of Icon | jupyter-widgets_ipyleaflet | train |
205abf343570940a1c406f7e051ff4d1688bc4f0 | diff --git a/src/Symfony/Component/Cache/Adapter/TagAwareAdapter.php b/src/Symfony/Component/Cache/Adapter/TagAwareAdapter.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/Cache/Adapter/TagAwareAdapter.php
+++ b/src/Symfony/Component/Cache/Adapter/TagAwareAdapter.php
@@ -350,7 +350,7 @@ class TagAwareAdapter... | [Cache] fix known tag versions ttl check | symfony_symfony | train |
3d89c53958292cfdca62b3e99bb8411028995470 | diff --git a/src/system/modules/metamodelsattribute_url/languages/fr/tl_metamodel_attribute.php b/src/system/modules/metamodelsattribute_url/languages/fr/tl_metamodel_attribute.php
index <HASH>..<HASH> 100644
--- a/src/system/modules/metamodelsattribute_url/languages/fr/tl_metamodel_attribute.php
+++ b/src/system/modul... | Updated translations from transifex. | MetaModels_attribute_url | train |
90e1e9d18609fcc7436cd112822a28559635f493 | diff --git a/lib/tags.js b/lib/tags.js
index <HASH>..<HASH> 100644
--- a/lib/tags.js
+++ b/lib/tags.js
@@ -24,7 +24,9 @@ exports.raw = { ends: true };
* {% include 'template_name.html' %}
*/
exports.include = function (indent) {
- var template = this.args[0];
+ var args = this.args,
+ template = args... | Adding `with` and `only` arguments to include tag. closes gh-<I> | Thunf_swiger | train |
3522138ba2e28efe31854dec7dba1ad9326b4039 | diff --git a/lib/engine/client/task.js b/lib/engine/client/task.js
index <HASH>..<HASH> 100644
--- a/lib/engine/client/task.js
+++ b/lib/engine/client/task.js
@@ -6,6 +6,8 @@ var task = function(id, client_instance){
var self = this;
self.client = client_instance;
self.id = id;
+ self.locals = {};
+ ... | Task Locals and Context are not required. They are empty by default. | rehanift_engine.js | train |
eed8b23318c03feb403498fcdea40edeee0532dc | diff --git a/activerecord/test/cases/associations/has_many_associations_test.rb b/activerecord/test/cases/associations/has_many_associations_test.rb
index <HASH>..<HASH> 100644
--- a/activerecord/test/cases/associations/has_many_associations_test.rb
+++ b/activerecord/test/cases/associations/has_many_associations_test.... | Add test case to test enum in has_many
There is test in has_one to test enum, but there is no for has_many.
[Rich Chen] | rails_rails | train |
0992731824f87f4565399f78c419e2d056c3578e | diff --git a/modules/custom/social_graphql/src/GraphQL/Payload/PayloadInterface.php b/modules/custom/social_graphql/src/GraphQL/Payload/PayloadInterface.php
index <HASH>..<HASH> 100644
--- a/modules/custom/social_graphql/src/GraphQL/Payload/PayloadInterface.php
+++ b/modules/custom/social_graphql/src/GraphQL/Payload/Pa... | Issue #<I> by Kingdutch: [GraphQL] PayloadInterface return type annotation should be $this | goalgorilla_open_social | train |
d57cddf7fba1edd83ba2e0ee5a65a2851f4fcc03 | diff --git a/executor/executor_garden_test.go b/executor/executor_garden_test.go
index <HASH>..<HASH> 100644
--- a/executor/executor_garden_test.go
+++ b/executor/executor_garden_test.go
@@ -293,6 +293,7 @@ var _ = Describe("Executor/Garden", func() {
Action: &models.RunAction{
Path: "true",
+ User:... | Add users to run actions in executor tests
[#<I>] | cloudfoundry_inigo | train |
09cfbda7650d44447dbb0b27780835e9236741ea | diff --git a/again/statemachine.py b/again/statemachine.py
index <HASH>..<HASH> 100644
--- a/again/statemachine.py
+++ b/again/statemachine.py
@@ -58,15 +58,11 @@ class Event:
"""
pass
-
- def equals(self, *args):
- for event in args:
- event_name = event
- if isinsta... | improve performance of Event.equals method | kashifrazzaqui_again | train |
3aad8cba10cd31d3a0a32cf41a60424f4a10bc08 | diff --git a/test/TestRunner.py b/test/TestRunner.py
index <HASH>..<HASH> 100644
--- a/test/TestRunner.py
+++ b/test/TestRunner.py
@@ -22,7 +22,7 @@ import os
import unittest
import ansiblelint
-from ansiblelint import Runner, RulesCollection
+from ansiblelint import default_rulesdir, Runner, RulesCollection
impor... | Move runner expansion tests out of class | ansible_ansible-lint | train |
7e0f6a5cb749241b2dd11df065128cdc70d8bfdb | diff --git a/tests/compat/test_gecko14.py b/tests/compat/test_gecko14.py
index <HASH>..<HASH> 100644
--- a/tests/compat/test_gecko14.py
+++ b/tests/compat/test_gecko14.py
@@ -51,6 +51,15 @@ class TestFX14Compat(CompatTestCase):
self.assert_silent()
self.assert_compat_error()
+ def test_onFaviconD... | Convert onFaviconDataAvailable test from instance action to regex. | mozilla_amo-validator | train |
eba781b6212869f0098a1b53e22db7cd33d6002c | diff --git a/padatious/intent_container.py b/padatious/intent_container.py
index <HASH>..<HASH> 100644
--- a/padatious/intent_container.py
+++ b/padatious/intent_container.py
@@ -70,24 +70,44 @@ class IntentContainer(object):
def instantiate_from_disk(self):
"""
- Instantiates the necessa... | fix and tests for issue #<I> (<URL>) | MycroftAI_padatious | train |
a05a5999c2ab8c6600fad8d43a042a2c95c459a6 | diff --git a/lazyconf/lazyconf.py b/lazyconf/lazyconf.py
index <HASH>..<HASH> 100644
--- a/lazyconf/lazyconf.py
+++ b/lazyconf/lazyconf.py
@@ -3,7 +3,7 @@ from lazy.schema import *
from lazy.merge import *
### Lazyconf ###
-### Our main class. These functions should all be chainable through Fabric for use on a remo... | we can now handle lists and ints | fmd_lazyconf | train |
01b4231f172ce51a1ea3337445e0256013d04296 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -83,7 +83,8 @@ function isValidQueryCharacter(ch) {
}
const gen = [':', '/', '?', '#', '[', ']', '@'].map(code)
const sub = ['!', '$', '&', "'", '(', ')', '*', '+', ',', ';', '='].map(code)
- return concat(ALPHA, DI... | fix(index.js): Add missing chars for parse
Adds missing characters (%, -, _ and ~) for isValidQueryCharacter | AraBlocks_did-uri | train |
e12aa2344eebc71716e14f3776019a33bac08a80 | diff --git a/ckanext/budgets/plugin.py b/ckanext/budgets/plugin.py
index <HASH>..<HASH> 100644
--- a/ckanext/budgets/plugin.py
+++ b/ckanext/budgets/plugin.py
@@ -1,4 +1,5 @@
import ckan.plugins as plugins
+from ckan.logic.validators import int_validator
import datetime
import os.path
@@ -103,21 +104,45 @@ class B... | Add validators for new resource fields
Each new field needs a validator to check if the input is correct
or not. Since these fields are optional the validators also need
to ignore (approve) the input when the isn't any value. Because of
that we need to reimplement the positive integer validator from
ckan core which fa... | openspending_ckanext-budgets | train |
790a63720ffbcf53e4fe7f9f82eb365e6164c2b0 | diff --git a/exa/nbextensions/apps/app3d.js b/exa/nbextensions/apps/app3d.js
index <HASH>..<HASH> 100644
--- a/exa/nbextensions/apps/app3d.js
+++ b/exa/nbextensions/apps/app3d.js
@@ -237,6 +237,17 @@ define([
return lines;
};
+ add_wireframe(vertices, color) {
+ /*"""
+ ... | start of num.js hstack | exa-analytics_exa | train |
dedd2e1354e2f9d135fa107fc52e7f5b940edf3d | diff --git a/internal/support/notifications/normal_distribution.go b/internal/support/notifications/normal_distribution.go
index <HASH>..<HASH> 100644
--- a/internal/support/notifications/normal_distribution.go
+++ b/internal/support/notifications/normal_distribution.go
@@ -20,12 +20,9 @@ import (
)
func distribute... | Make the critical severity notification asynch by making the call to the function distributeAndMark(n) a goroutine and, to indicate this process now being an asynch one, logging that the critical severity scheduler has been _triggered_ (instead of _completed_ as we used to do). | edgexfoundry_edgex-go | train |
6a41faf474350edf8165811b939d08967963747a | diff --git a/zipline/finance/risk/cumulative.py b/zipline/finance/risk/cumulative.py
index <HASH>..<HASH> 100644
--- a/zipline/finance/risk/cumulative.py
+++ b/zipline/finance/risk/cumulative.py
@@ -441,8 +441,13 @@ algorithm_returns ({algo_count}) in range {start} : {end} on {dt}"
if len(self.annualized_mean_... | MAINT: Make beta calculation robust to missing values.
Risk calculations are robust to nans, except for
beta which calls numpy with the complete list of
algorithm_returns. If nans are present the result
of covar will be nan.
This is fixed by filtering out nans in
algorithm_returns. | quantopian_zipline | train |
952d3d5aa360b556f4ae66121daa4925fa134f29 | diff --git a/jsonrpcserver/dispatcher.py b/jsonrpcserver/dispatcher.py
index <HASH>..<HASH> 100644
--- a/jsonrpcserver/dispatcher.py
+++ b/jsonrpcserver/dispatcher.py
@@ -136,7 +136,8 @@ def dispatch(request, more_info=False):
# Catch all other exceptions
except Exception as e:
e.request_id = request... | Adjusted for pylint. | bcb_jsonrpcserver | train |
c50b2e3b5e13f8af636b4c3ae69683c883f599cf | diff --git a/js/okex.js b/js/okex.js
index <HASH>..<HASH> 100644
--- a/js/okex.js
+++ b/js/okex.js
@@ -1314,7 +1314,7 @@ module.exports = class okex extends Exchange {
'datetime': this.iso8601 (timestamp),
});
}
- return rates;
+ return this.sortBy (rates, 'timestamp... | okex-sort-fundingRate | ccxt_ccxt | train |
be58c0083885b1ef0134e05e48e134014a46ba9c | diff --git a/spring-session-core/src/main/java/org/springframework/session/web/http/OncePerRequestFilter.java b/spring-session-core/src/main/java/org/springframework/session/web/http/OncePerRequestFilter.java
index <HASH>..<HASH> 100644
--- a/spring-session-core/src/main/java/org/springframework/session/web/http/OncePe... | Separate "filtered" attribute for ERROR dispatch
Resolves: #<I>
See: spring-projects/spring-framework#<I> | spring-projects_spring-session | train |
096448ae2d5638a79f7b2957f3b2742b21dec8e2 | diff --git a/lib/epp-client/base.rb b/lib/epp-client/base.rb
index <HASH>..<HASH> 100644
--- a/lib/epp-client/base.rb
+++ b/lib/epp-client/base.rb
@@ -102,6 +102,6 @@ class EPPClient::Base
end
def debug
- $DEBUG || $ENV['EPP_CLIENT_DEBUG']
+ $DEBUG || ENV['EPP_CLIENT_DEBUG']
end
end | ENV is the one containing the environment, not $ENV. | Absolight_epp-client | train |
1f50ce3c7afb86873005dfc16b7304b2e74b2b22 | diff --git a/lib/perfectqueue/backend/rdb_compat.rb b/lib/perfectqueue/backend/rdb_compat.rb
index <HASH>..<HASH> 100644
--- a/lib/perfectqueue/backend/rdb_compat.rb
+++ b/lib/perfectqueue/backend/rdb_compat.rb
@@ -333,15 +333,12 @@ SQL
locked = false
begin
- @db.transaction do
- ... | Remove useless transaction
In the old days it uses `SELECT FOR UPDATE` and require transaction.
But these days it introduces `LOCK TABLES` and `GET_LOCK()` and don't
need transaction. | treasure-data_perfectqueue | train |
8863292479b803718d1c91694b6120ee593c78ad | diff --git a/src/FeedIo/Parser/JsonParser.php b/src/FeedIo/Parser/JsonParser.php
index <HASH>..<HASH> 100644
--- a/src/FeedIo/Parser/JsonParser.php
+++ b/src/FeedIo/Parser/JsonParser.php
@@ -39,9 +39,23 @@ class JsonParser extends ParserAbstract
return $feed;
}
+ /**
+ * @param Document $document... | Mandatory fields support - issue #<I> | alexdebril_feed-io | train |
962298eeb006566c11ce685b354b0082fc44067f | diff --git a/bin/generate_cluster_xml.py b/bin/generate_cluster_xml.py
index <HASH>..<HASH> 100644
--- a/bin/generate_cluster_xml.py
+++ b/bin/generate_cluster_xml.py
@@ -1,42 +1,90 @@
+#!/usr/bin/python
+
import sys
import random
+import argparse
+
+# Get a random seed
+seed = int(random.randint(00000000001,99999999... | Added default behavior, handling of long and short options for modifying defaults, zone support, random seed generation, removed text width formatting as it is not necessary, cleaned up format, refactored code, sys module no longer necessary (now that argparse is used) so removed it, added default interpreter path | voldemort_voldemort | train |
48c138e1d4bd107a22a2368dec8bb9617baef149 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -45,7 +45,7 @@ function binary_from_durations(durations) {
}
function valid_binary(binary) {
- return binary.length != 32;
+ return binary.length == 32;
}
function bytes_from_binary(binary) {
@@ -101,7 +101,7 @@ ... | fixing the invalid valid_duration call | weisjohn_tessel-apple-remote | train |
5af817954d977b6eeeab823f5163ae65262d55df | diff --git a/src/main/java/skadistats/clarity/processor/stringtables/BaseStringTableEmitter.java b/src/main/java/skadistats/clarity/processor/stringtables/BaseStringTableEmitter.java
index <HASH>..<HASH> 100644
--- a/src/main/java/skadistats/clarity/processor/stringtables/BaseStringTableEmitter.java
+++ b/src/main/java... | rename variable key -> name | skadistats_clarity | train |
f1682383b5ac198e481977d4c044819958fbe6a1 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,7 @@ Version 5.12-SNAPSHOT
ADDED:
- new extension class JOptionPaneExtensions for JOptionPane created
+- new methods for maximize the window of the given component
- new method in extension class J... | new methods for maximize the window of the given component | lightblueseas_swing-components | train |
735807d29b56ebc4957aea853dc7186a17f08073 | diff --git a/requirements.txt b/requirements.txt
index <HASH>..<HASH> 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -4,4 +4,5 @@ nose==1.3.7
mock==2.0.0
GitPython==2.1.9
PyYAML==3.12
-ansible==2.5.2
\ No newline at end of file
+ansible==2.5.2
+future==0.16.0
\ No newline at end of file
diff --git a/setup.p... | Fixing build/setup.py. | HeliumEdu_heliumcli | train |
430379d75a2ee58a7283d35a38716724005f0d5d | diff --git a/lib/y2r/parser.rb b/lib/y2r/parser.rb
index <HASH>..<HASH> 100644
--- a/lib/y2r/parser.rb
+++ b/lib/y2r/parser.rb
@@ -11,11 +11,12 @@ module Y2R
# AST building context passed to |element_to_node| and related methods.
class Context
- attr_reader :element, :extracted_file
+ attr_reader ... | Pass options[:as_include_file] to the parser
Originally I thought I'll deal with special compilation of includes on
the YCP AST level. Now I think that I'll be able to deal with include
files completely on the parser level. This means the information whether
we are compiling an include file is needed there. This commi... | yast_y2r | train |
5c76dc2cd564764141c4c16e4ccb0d12b4a6b46b | diff --git a/core/idp.go b/core/idp.go
index <HASH>..<HASH> 100755
--- a/core/idp.go
+++ b/core/idp.go
@@ -230,7 +230,7 @@ func (idp *IDP) GetVerificationKey() (*rsa.PublicKey, error) {
return key, nil
}
-func (idp *IDP) NewChallenge(r *http.Request) (challenge *Challenge, err error) {
+func (idp *IDP) NewChalleng... | NewChallenge needs user's id | janekolszak_idp | train |
6d3c55d1dbed54a37a0b35ce14f9cfc1b68b93c3 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -153,6 +153,7 @@ function processObject(){
obj['comments'].push(c);
}
else if(line.indexOf('}') > -1){
+ console.log(obj)
return obj;
}
else if(line.indexOf('{') > -1){ | some tweaks still not working correctly at this point. | chrispalazzolo_fbxasciitojs | train |
e8a5ddc0e87f2d363fbbf943f65bd90a218c9cbc | diff --git a/test.js b/test.js
index <HASH>..<HASH> 100644
--- a/test.js
+++ b/test.js
@@ -262,3 +262,38 @@ test('description of method proxy', t => {
t.is(description, '[objc.MethodProxy for date]');
});
+
+test('Class class methods', t => {
+ const NSString = objc.NSString;
+
+ const classMethods = NSString._... | [test] class/instance method list | lukaskollmer_objc | train |
6901a272074aaa75fb69b8f2c7cb80ebf7ae00e7 | diff --git a/activerecord/lib/active_record/locking/pessimistic.rb b/activerecord/lib/active_record/locking/pessimistic.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/locking/pessimistic.rb
+++ b/activerecord/lib/active_record/locking/pessimistic.rb
@@ -51,7 +51,7 @@ module ActiveRecord
# en... | Update old link in pessimistic.rb comments
Update link in comments to point to latest MySQL production version documentation. See here for reference: <URL> | rails_rails | train |
8c836fe61d248aacf7a6611edd832d14fd5f523b | diff --git a/dockerfabric/apiclient.py b/dockerfabric/apiclient.py
index <HASH>..<HASH> 100644
--- a/dockerfabric/apiclient.py
+++ b/dockerfabric/apiclient.py
@@ -1,6 +1,7 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
+import logging
import six
from docker import client as docker
from fabric... | Adaption to Docker-Map changes in logging and container cleanup. | merll_docker-fabric | train |
646a3bac8cf975eb4a795fe6ff67f5f43ca83c79 | diff --git a/routes/dashboard/posts.php b/routes/dashboard/posts.php
index <HASH>..<HASH> 100644
--- a/routes/dashboard/posts.php
+++ b/routes/dashboard/posts.php
@@ -15,7 +15,6 @@ $this->domain(config('platform.domain'))->group(function () {
'prefix' => \Orchid\Platform\Kernel\Dashboard::prefix('/posts'),... | Apply fixes from StyleCI (#<I>)
[ci skip] [skip ci] | orchidsoftware_platform | train |
3cb326fcf606ef01c473949615e9abfaa60cce6e | diff --git a/LibraryRateMe/src/com/androidsx/rateme/DialogRateMe.java b/LibraryRateMe/src/com/androidsx/rateme/DialogRateMe.java
index <HASH>..<HASH> 100644
--- a/LibraryRateMe/src/com/androidsx/rateme/DialogRateMe.java
+++ b/LibraryRateMe/src/com/androidsx/rateme/DialogRateMe.java
@@ -62,8 +62,8 @@ public class Dialog... | differents colors for buttons close and share | androidsx_rate-me | train |
038bd7ef6e4a7af0b0d7fa4f53e3fa879c697631 | diff --git a/php-typography/class-php-typography.php b/php-typography/class-php-typography.php
index <HASH>..<HASH> 100644
--- a/php-typography/class-php-typography.php
+++ b/php-typography/class-php-typography.php
@@ -3246,7 +3246,13 @@ class PHP_Typography {
* @return string An binary hash value for the current se... | No need to trim MD5 hash for transients on WordPress >= <I>. | mundschenk-at_php-typography | train |
649dd94f34f19a70d66368de2df7338ff53e4f5c | diff --git a/bot/action/standard/info/action.py b/bot/action/standard/info/action.py
index <HASH>..<HASH> 100644
--- a/bot/action/standard/info/action.py
+++ b/bot/action/standard/info/action.py
@@ -14,7 +14,7 @@ class UserInfoAction(Action):
if user is None:
response = self._error_response()
... | Pass no_async api to UserInfoFormatter and ChatInfoFormatter, as they need to perform synchronous api calls | alvarogzp_telegram-bot-framework | train |
bf6bf3cfa87db6d219d61df77ab6adc7b590df36 | diff --git a/testsuite/integration/manualmode/src/test/java/org/jboss/as/test/manualmode/web/ssl/AbstractCertificateLoginModuleTestCase.java b/testsuite/integration/manualmode/src/test/java/org/jboss/as/test/manualmode/web/ssl/AbstractCertificateLoginModuleTestCase.java
index <HASH>..<HASH> 100644
--- a/testsuite/integ... | Execute reloads after adding security realm | wildfly_wildfly | train |
8c14e211b743e64ce403dfe5486d149493455e78 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -10,7 +10,9 @@ from __future__ import with_statement
import os
import sys
import glob
+import urllib2
from datetime import datetime
+from distutils import log
from distutils.cmd import Command
from distutils.command.buil... | Fix some missing variables and imports. | saltstack_salt | train |
3f4ce1ef7a822c2a47fdbab9d31c78c44f5d47a3 | diff --git a/ipa/ipa_ec2.py b/ipa/ipa_ec2.py
index <HASH>..<HASH> 100644
--- a/ipa/ipa_ec2.py
+++ b/ipa/ipa_ec2.py
@@ -173,6 +173,10 @@ class EC2Provider(IpaProvider):
instances[0].wait_until_running()
self.running_instance = instances[0].instance_id
+ def _set_image_id(self):
+ instance =... | Image id not required if running instance provided
If running instance get image id from instance. | SUSE-Enceladus_ipa | train |
937c5babc99aa92625af1dba5949bbe166fd691a | diff --git a/firefox/src/java/org/openqa/selenium/firefox/FirefoxDriver.java b/firefox/src/java/org/openqa/selenium/firefox/FirefoxDriver.java
index <HASH>..<HASH> 100644
--- a/firefox/src/java/org/openqa/selenium/firefox/FirefoxDriver.java
+++ b/firefox/src/java/org/openqa/selenium/firefox/FirefoxDriver.java
@@ -336,1... | EranMes: A proper indication that methods are called on a WebDriver instance that was quitted.
r<I> | SeleniumHQ_selenium | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.