hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
e1eb6fb7bc922f436d2e2c066d57a822e4ba6dc1 | diff --git a/natsort/utils.py b/natsort/utils.py
index <HASH>..<HASH> 100644
--- a/natsort/utils.py
+++ b/natsort/utils.py
@@ -887,7 +887,11 @@ def path_splitter(
s = PurePath(s)
# Split the path into parts.
- *path_parts, base = s.parts
+ try:
+ *path_parts, base = s.parts
+ except Valu... | Add handling for '.' when splitting paths
pathlib.Path(".").parts returns an empty tuple. This is unexpected, and
caused a tuple unpacking statement to fail. The solution is to catch the
ValueError from tuple unpacking and manually construct the return
values. | SethMMorton_natsort | train |
baa250f1b0739d51d9a4cde202913534c072a49d | diff --git a/pylink/jlink.py b/pylink/jlink.py
index <HASH>..<HASH> 100644
--- a/pylink/jlink.py
+++ b/pylink/jlink.py
@@ -1998,7 +1998,7 @@ class JLink(object):
self._dll.JLINKARM_ClrRESET()
return None
- @connection_required
+ @open_required
def set_tck_pin_high(self):
"""Sets ... | Enable pin switching even when not connected (#<I>) | square_pylink | train |
a6ea812095882cc5000f465ef90756bb8063a128 | diff --git a/expfactory/cli/users.py b/expfactory/cli/users.py
index <HASH>..<HASH> 100644
--- a/expfactory/cli/users.py
+++ b/expfactory/cli/users.py
@@ -39,17 +39,14 @@ import os
def main(args,parser,subparser):
- # Only filesystem database has FOLDER
- header = 'TOKEN'
- if EXPFACTORY_DATABASE == "fi... | modified: expfactory/cli/users.py
modified: expfactory/database/relational.py | expfactory_expfactory | train |
e253d2882eca5231346329e1c9cc85a50b049f59 | diff --git a/discord.go b/discord.go
index <HASH>..<HASH> 100644
--- a/discord.go
+++ b/discord.go
@@ -14,8 +14,6 @@
package discordgo
import (
- "errors"
- "fmt"
"net/http"
"runtime"
"time"
@@ -54,7 +52,7 @@ func New(token string) (s *Session, err error) {
s.Identify.GuildSubscriptions = true
s.Identify.... | fix(discord#New): fixed imports and removed MakeIntent | bwmarrin_discordgo | train |
716a8b6dd9cf91e1ce0fbab4b3f862809195b7dd | diff --git a/addon/index.js b/addon/index.js
index <HASH>..<HASH> 100644
--- a/addon/index.js
+++ b/addon/index.js
@@ -126,4 +126,19 @@ export default Ember.EventDispatcher.extend({
rootElement.addEventListener(event, handleEvent);
},
+
+ destroy() {
+ let rootElement = get(this, 'rootElement');
+ root... | Ensure we do not error on destroy.
Since `Ember.EventDispatcher` assumes `jQuery` is present. | rwjblue_ember-native-dom-event-dispatcher | train |
ea348d7c20ce64c3bccdac0311e8621285d1278a | diff --git a/prometheus/counter.go b/prometheus/counter.go
index <HASH>..<HASH> 100644
--- a/prometheus/counter.go
+++ b/prometheus/counter.go
@@ -137,8 +137,7 @@ func NewCounterVec(opts CounterOpts, labelNames []string) *CounterVec {
return &CounterVec{
metricVec: newMetricVec(desc, func(lvs ...string) Metric {
... | Update code based on the PR feedback | prometheus_client_golang | train |
dd4f7565a645feb00954fe02877625acc161dfa9 | diff --git a/Pagination/ResponseUrlScroller.php b/Pagination/ResponseUrlScroller.php
index <HASH>..<HASH> 100755
--- a/Pagination/ResponseUrlScroller.php
+++ b/Pagination/ResponseUrlScroller.php
@@ -5,6 +5,7 @@ namespace Keboola\Juicer\Pagination;
use Keboola\Juicer\Client\ClientInterface,
Keboola\Juicer\Config\J... | feat: response.url scroller can now use query string from response | keboola_juicer | train |
b70eeb4c4de79db4599725f694ff35bd83fdacc0 | diff --git a/Granam/Integer/Tools/ToInteger.php b/Granam/Integer/Tools/ToInteger.php
index <HASH>..<HASH> 100644
--- a/Granam/Integer/Tools/ToInteger.php
+++ b/Granam/Integer/Tools/ToInteger.php
@@ -17,10 +17,10 @@ class ToInteger
$value = self::convertToNumber($value, $paranoid);
if (is_int($value)... | Conversion to integer optimized a bit | granam_integer | train |
0ab974051166775ae2f92ce35940e652d96156fc | diff --git a/src/bosh/system/fakes/fake_file_system.go b/src/bosh/system/fakes/fake_file_system.go
index <HASH>..<HASH> 100644
--- a/src/bosh/system/fakes/fake_file_system.go
+++ b/src/bosh/system/fakes/fake_file_system.go
@@ -21,6 +21,9 @@ type FakeFileSystem struct {
HomeDirHomeDir string
FilesToOpen map[strin... | allow to set MkdirAll and Symlink errors on fake file system | cloudfoundry_bosh-agent | train |
bc42dae162bcab809cfd817363c21a3159470d37 | diff --git a/src/Symfony/Component/HttpKernel/Tests/HttpCache/HttpCacheTest.php b/src/Symfony/Component/HttpKernel/Tests/HttpCache/HttpCacheTest.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/HttpKernel/Tests/HttpCache/HttpCacheTest.php
+++ b/src/Symfony/Component/HttpKernel/Tests/HttpCache/HttpCacheTest.p... | Added test when TTL has expired | symfony_symfony | train |
3be322ddac26f4c879e7cb630e817b50ecb12c2f | diff --git a/addon/-task-property.js b/addon/-task-property.js
index <HASH>..<HASH> 100644
--- a/addon/-task-property.js
+++ b/addon/-task-property.js
@@ -194,6 +194,10 @@ export const Task = Ember.Object.extend(TaskStateMixin, {
_debugCallback: this._debugCallback,
});
+ if (this.context.isDestroying)... | ensure that performing a task on a destroyed obj immediately cancels
co-author @ofbriggs | machty_ember-concurrency | train |
1f4da593e6f3e373f809898008fa7b8c76355f69 | diff --git a/test/unit/core.js b/test/unit/core.js
index <HASH>..<HASH> 100644
--- a/test/unit/core.js
+++ b/test/unit/core.js
@@ -95,7 +95,7 @@ $(function() {
// test close events
$.each(closeEvents, function(idx, eventName) {
hideTriggered = false;
- element.trigger('mouseleave');
+ element.trigger(even... | Fixed error in event hook unit test.
This fixes a hard-coded string that was missed when these tests
were refactored to cover all of the default events for #<I>.
Original commit: 5a0ca<I>c4fb<I>bd<I>d7a<I>aae<I>cb1c7a<I>c<I> | stevenbenner_jquery-powertip | train |
e1dec0a38ee227905289791acac759171822fb2d | diff --git a/templates/default/fulldoc/html/setup.rb b/templates/default/fulldoc/html/setup.rb
index <HASH>..<HASH> 100644
--- a/templates/default/fulldoc/html/setup.rb
+++ b/templates/default/fulldoc/html/setup.rb
@@ -2,8 +2,6 @@ include Helpers::ModuleHelper
def init
options[:objects] = objects = run_verifier(o... | No longer need to add files/readmes in templates (done inside CLI::Yardoc) | lsegal_yard | train |
8bf0a5080d7d024155fce1d4e89a2ce18132a31f | diff --git a/src/Link0/Profiler/PersistenceHandler/FilesystemHandler.php b/src/Link0/Profiler/PersistenceHandler/FilesystemHandler.php
index <HASH>..<HASH> 100644
--- a/src/Link0/Profiler/PersistenceHandler/FilesystemHandler.php
+++ b/src/Link0/Profiler/PersistenceHandler/FilesystemHandler.php
@@ -115,7 +115,7 @@ final... | Cleaned up the docblocks and exception messages a bit to comply with Scrutinizer output | link0_profiler | train |
5d9e29a0a632cc8e2f5a537e2d91b5fa705393d3 | diff --git a/lxd/mntnsexec.go b/lxd/mntnsexec.go
index <HASH>..<HASH> 100644
--- a/lxd/mntnsexec.go
+++ b/lxd/mntnsexec.go
@@ -251,6 +251,16 @@ void forkmount(char *buf, char *cur, ssize_t size) {
create(src, dest);
+ if (access(src, F_OK) < 0) {
+ fprintf(stderr, "Mount source doesn't exist: %s\n", strerror(err... | Add extra checks in forkmount and forkumount | lxc_lxd | train |
3c77607bdd71c008357e698fc1f982010c3077c4 | diff --git a/HARK/ConsumptionSaving/ConsAggShockModel.py b/HARK/ConsumptionSaving/ConsAggShockModel.py
index <HASH>..<HASH> 100644
--- a/HARK/ConsumptionSaving/ConsAggShockModel.py
+++ b/HARK/ConsumptionSaving/ConsAggShockModel.py
@@ -1226,14 +1226,17 @@ class CobbDouglasEconomy(Market):
self.intercept_prev = ... | Swap commented code blocks for optional plots
"Progress plots" of M vs A plots in the aggregate shocks model now only display if the economy has a 'plot_verbose' attribute set. | econ-ark_HARK | train |
6a4275fee9df31a1ee46484f445beb1e4c13c24d | diff --git a/app/models/campaign_edition.rb b/app/models/campaign_edition.rb
index <HASH>..<HASH> 100644
--- a/app/models/campaign_edition.rb
+++ b/app/models/campaign_edition.rb
@@ -13,7 +13,10 @@ class CampaignEdition < Edition
attaches :large_image, :medium_image, :small_image
GOVSPEAK_FIELDS = Edition::GOVS... | Include the organisation details in fields_to_clone
Add the organisation data fields to the list of
fields which are cloned when a new edition is
created. | alphagov_govuk_content_models | train |
64d946de79219b2531d9c22fbe5e019e9cb2ea1e | diff --git a/issuetracker/tests/test_builtin_resolvers.py b/issuetracker/tests/test_builtin_resolvers.py
index <HASH>..<HASH> 100644
--- a/issuetracker/tests/test_builtin_resolvers.py
+++ b/issuetracker/tests/test_builtin_resolvers.py
@@ -155,11 +155,12 @@ def pytest_funcarg__dependencies(request):
return TRACKER_... | Test cache results in tests for builtin trackers | sphinx-contrib_spelling | train |
216c486099bca371b5ef7e3ade89f199c4dde08b | diff --git a/dutree/bogofs.py b/dutree/bogofs.py
index <HASH>..<HASH> 100644
--- a/dutree/bogofs.py
+++ b/dutree/bogofs.py
@@ -29,6 +29,10 @@ class Node(object):
self.size = size
@property
+ def st_blocks(self): # for stat
+ return ((self.size + 511) >> 9)
+
+ @property
def st_size(se... | Use the st_blocks==0 as heuristic to skip pseudo-files
This way we won't add /proc/kcore to the total-apparent-size sum.
Closes #5. | ossobv_dutree | train |
ae157941984b1b932c3262c7c5769359238ddafb | diff --git a/bot/bot.py b/bot/bot.py
index <HASH>..<HASH> 100644
--- a/bot/bot.py
+++ b/bot/bot.py
@@ -25,7 +25,7 @@ class Bot:
telegram_api = TelegramBotApi(self.config.auth_token, self.config.reuse_connections(), debug)
self.api = Api(telegram_api, self.state)
self.logger = AdminLogger(self... | Pass worker_start and worker_end as worker_start_callback and worker_end_callback to SchedulerApi | alvarogzp_telegram-bot-framework | train |
35dc33437afeb56eb9e4a08c6ffef6042b8518b8 | diff --git a/lib/gemologist/gemfile_lock.rb b/lib/gemologist/gemfile_lock.rb
index <HASH>..<HASH> 100644
--- a/lib/gemologist/gemfile_lock.rb
+++ b/lib/gemologist/gemfile_lock.rb
@@ -1,6 +1,3 @@
-require 'bundler'
-require 'ostruct'
-
module Gemologist
class GemfileLock
attr_reader :path
@@ -14,7 +11,7 @@ modu... | Remove arbitrary Bundler dependency from GemfileLock#dependencies | yujinakayama_gemologist | train |
25e9a0b3316b20bb11806330ae0a789c9c752b16 | diff --git a/src/asset_manager/view/AssetImageView.js b/src/asset_manager/view/AssetImageView.js
index <HASH>..<HASH> 100644
--- a/src/asset_manager/view/AssetImageView.js
+++ b/src/asset_manager/view/AssetImageView.js
@@ -1,5 +1,6 @@
import { isFunction } from 'underscore';
import AssetView from './AssetView';
+impo... | Escape asset rendering. Fixes #<I> | artf_grapesjs | train |
ac1f1eb3c8c5309937f8897de71e8f59f2c3205d | diff --git a/src/require/wrap.js b/src/require/wrap.js
index <HASH>..<HASH> 100644
--- a/src/require/wrap.js
+++ b/src/require/wrap.js
@@ -1,10 +1,11 @@
/**
* @file Require context wrapper
+ * @since 0.2.2
*/
/*#ifndef(UMD)*/
"use strict";
-/*global _gpfRequireAllocate*/
-/*global _gpfPathParent*/
+/*global _gpf... | Documentation (#<I>) | ArnaudBuchholz_gpf-js | train |
60e88345ffed344ed51e7e55bb5e8e94e07bc3db | diff --git a/spinoff/actor/comm.py b/spinoff/actor/comm.py
index <HASH>..<HASH> 100644
--- a/spinoff/actor/comm.py
+++ b/spinoff/actor/comm.py
@@ -163,7 +163,7 @@ class Comm(BaseActor):
lambda _: self._outgoing_sock.send((node_addr, pickle.dumps((actor_id, msg)))))
def ensure_connected(self, to)... | A subtle semantic clean-up/fix in Comm.ensure_connected--comparing against an actor class does not allow use of refs | eallik_spinoff | train |
05adedee0da6cbfd55ede0f100dd7b1a14cfe544 | diff --git a/linebot/httphandler/httphandler.go b/linebot/httphandler/httphandler.go
index <HASH>..<HASH> 100644
--- a/linebot/httphandler/httphandler.go
+++ b/linebot/httphandler/httphandler.go
@@ -15,6 +15,7 @@
package httphandler
import (
+ "errors"
"net/http"
"github.com/line/line-bot-sdk-go/linebot"
@@ -... | validate channelSecret/channelToken | line_line-bot-sdk-go | train |
bfe60852fb58fd02d9b92fddc55be6530bbfc51d | diff --git a/lib/gym/xcodebuild_fixes/package_application_fix.rb b/lib/gym/xcodebuild_fixes/package_application_fix.rb
index <HASH>..<HASH> 100644
--- a/lib/gym/xcodebuild_fixes/package_application_fix.rb
+++ b/lib/gym/xcodebuild_fixes/package_application_fix.rb
@@ -47,7 +47,8 @@ module Gym
def clear_patched_pac... | Consistent use of FileUtils in the file, plus protect against unlikely deletion | fastlane_fastlane | train |
f0b59733656dad66f963c490b30454d802aa2279 | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -96,11 +96,12 @@ and read surveys/EXTENDING\_SURVEYOR
Surveyor depends on:
-* Ruby (1.8.7 - 1.9.1)
+* Ruby (1.8.7 - 1.9.2)
* Rails 2.3
-* HAML/SASS
+* HAML
+* SASS
+* fastercsv (or CSV for ruby 1.9) for csv exports
... | changed fastercsv to csv for ruby <I>. closes #<I> | NUBIC_surveyor | train |
beae68097d8e326cbe7671970ee91ea01993b0b0 | diff --git a/commands/cherrypick/command.go b/commands/cherrypick/command.go
index <HASH>..<HASH> 100644
--- a/commands/cherrypick/command.go
+++ b/commands/cherrypick/command.go
@@ -99,7 +99,7 @@ func runMain(args []string) (err error) {
// Make sure the target branch is up to date.
task := fmt.Sprintf("Make sur... | cherry-pick: Use git.CheckOrCreateTrackingBranch
This creates the tracking branch in case it doesn't exist.
Change-Id: af5b2d<I>c7
Story-Id: salsaflow/salsaflow#<I> | salsaflow_salsaflow | train |
ac5c2b3c67090ee7b7c6e3b5f212829de82c8ca0 | diff --git a/src/jline/pom.xml b/src/jline/pom.xml
index <HASH>..<HASH> 100644
--- a/src/jline/pom.xml
+++ b/src/jline/pom.xml
@@ -48,6 +48,9 @@ To make a bundle and request that ibilio upload it, do:
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+<properties... | Set encoding to UTF-8 regardless of system defa...
Set encoding to UTF-8 regardless of system default, and applied patch
from jython trac to improve cursor handling on OSX. | scala_scala | train |
589bd54fb3961225c510fbfda06e7fb23e04ad43 | diff --git a/source/rafcon/gui/utils/shell_execution.py b/source/rafcon/gui/utils/shell_execution.py
index <HASH>..<HASH> 100644
--- a/source/rafcon/gui/utils/shell_execution.py
+++ b/source/rafcon/gui/utils/shell_execution.py
@@ -6,7 +6,7 @@ _logger = log.get_logger(__name__)
def execute_shell_command_with_file_p... | feat(shell_execution): add method to run simply one command with shell=True | DLR-RM_RAFCON | train |
19d6dff726798a8cb767d55bb68abce0b1254083 | diff --git a/graylog2-server/src/main/java/org/graylog2/rest/resources/system/ldap/LdapResource.java b/graylog2-server/src/main/java/org/graylog2/rest/resources/system/ldap/LdapResource.java
index <HASH>..<HASH> 100644
--- a/graylog2-server/src/main/java/org/graylog2/rest/resources/system/ldap/LdapResource.java
+++ b/g... | add API to retrieve all available ldap groups if the necessary configuration is set | Graylog2_graylog2-server | train |
e91487bdc45b409f3e98743c8e77fa3c3a4fbb27 | diff --git a/cmd/tool_config.go b/cmd/tool_config.go
index <HASH>..<HASH> 100644
--- a/cmd/tool_config.go
+++ b/cmd/tool_config.go
@@ -3,6 +3,7 @@ package cmd
import (
"fmt"
"os"
+ "reflect"
"strconv"
"strings"
"sync"
@@ -15,8 +16,9 @@ import (
type tConfigCommand struct {
command
- key string
- list b... | (#<I>) also print the config item values | choria-io_go-choria | train |
910ea5d0ebbfbbeb8d22f9276dd2a7732e755a97 | diff --git a/spec/unit/pops/types/types_spec.rb b/spec/unit/pops/types/types_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/unit/pops/types/types_spec.rb
+++ b/spec/unit/pops/types/types_spec.rb
@@ -388,6 +388,20 @@ describe 'Puppet Type System' do
end
end
+ context 'When attempting to redefine a built in ty... | (PUP-<I>) Add unit test for redefinition of built in type | puppetlabs_puppet | train |
935a644d67c80753246ceb0c6eb0276baee73d9c | diff --git a/src/parameters.js b/src/parameters.js
index <HASH>..<HASH> 100644
--- a/src/parameters.js
+++ b/src/parameters.js
@@ -62,7 +62,7 @@ function getExpression(_, ctx, params) {
if (_.$params) { // parse expression parameters
parseParameters(_.$params, ctx, params);
}
- var k = 'e:' + _.$expr;
+ va... | Fix expr key to include . | vega_vega-runtime | train |
d1585576c90209ffb23a35b65603ed0d7a607287 | diff --git a/app/src/.eslintrc.js b/app/src/.eslintrc.js
index <HASH>..<HASH> 100644
--- a/app/src/.eslintrc.js
+++ b/app/src/.eslintrc.js
@@ -1,10 +1,6 @@
module.exports = {
"env": {
- },
- "globals": {
- "module": true,
- "process": true,
- "require": true
+ "node": true
}... | Use node environment for checking grunt files | bolt_bolt | train |
8272c17e081dda3fcfc56be0feb9e735b4a02cfc | diff --git a/lib/excon/middlewares/redirect_follower.rb b/lib/excon/middlewares/redirect_follower.rb
index <HASH>..<HASH> 100644
--- a/lib/excon/middlewares/redirect_follower.rb
+++ b/lib/excon/middlewares/redirect_follower.rb
@@ -16,6 +16,7 @@ module Excon
params = datum.dup
params.delete(:... | remove :connection key in redirect_follower | excon_excon | train |
c6ee2a0f1fd94b909013e1227334dc75e1b2e0d3 | diff --git a/src/TypeCast.php b/src/TypeCast.php
index <HASH>..<HASH> 100644
--- a/src/TypeCast.php
+++ b/src/TypeCast.php
@@ -230,7 +230,7 @@ class TypeCast
/**
* Cast value to a string
*
- * @return string
+ * @return string|mixed
*/
public function toString()
{
@@ -256,7 +256... | Fix issues with stdClass in TypeCast::toObject
Minot clean up TypeCast::toObject and TypeCast::toArray | jasny_typecast | train |
5460508e3ec77a3aa26874bd7d21f241f008f86a | diff --git a/src/main/java/act/util/ActContext.java b/src/main/java/act/util/ActContext.java
index <HASH>..<HASH> 100644
--- a/src/main/java/act/util/ActContext.java
+++ b/src/main/java/act/util/ActContext.java
@@ -142,8 +142,14 @@ public interface ActContext<CTX_TYPE extends ActContext> extends ParamValueProvi
... | i<I>n: fallback to system locale if not found in context | actframework_actframework | train |
7ce5c82e5b4eca65040b2703f03cf85d8b5a5ef4 | diff --git a/tohu/custom_generator_v2.py b/tohu/custom_generator_v2.py
index <HASH>..<HASH> 100644
--- a/tohu/custom_generator_v2.py
+++ b/tohu/custom_generator_v2.py
@@ -2,7 +2,7 @@ from .debugging import debug_print_dict, logger
from .generators import BaseGenerator
-def add_generators(field_gens, dct):
+def add... | Minor refactoring (change function name, remove commented line) | maxalbert_tohu | train |
4db1ab667ebed6dce75a98f5b726dc3b2c400854 | diff --git a/src/scripts/utils/request.js b/src/scripts/utils/request.js
index <HASH>..<HASH> 100644
--- a/src/scripts/utils/request.js
+++ b/src/scripts/utils/request.js
@@ -80,8 +80,7 @@ var Request = {
function handleRequest (url, options, callback) {
options = normalizeOptions(options);
var google = hello('goo... | Updated strategy for determining if a request should be authenticated to be more robust | OpenNeuroOrg_openneuro | train |
e9b1c348d94ef55ed5eae509474a332a1c54887f | diff --git a/devices.js b/devices.js
index <HASH>..<HASH> 100755
--- a/devices.js
+++ b/devices.js
@@ -3766,7 +3766,7 @@ const devices = [
extend: generic.light_onoff_brightness,
},
{
- zigbeeModel: ['ZLL-ColorTempera'],
+ zigbeeModel: ['ZLL-ColorTempera', 'ZLL-ColorTemperature'],
... | Update devices.js for Trust ZLED-TUNE9 (#<I>)
* Update devices.js for Trust ZLED-TUNE9
Trust ZLED-TUNE9 reports full zigbeeModel on current models
* Update 'ZLED-TUNE9'
Changed Trust ZLED-TUNE9 to accept both zigbeeModels: 'ZLL-ColorTempera' and 'ZLL-ColorTemperature'
* Remove trailing spaces | Koenkk_zigbee-shepherd-converters | train |
8efcf19fe0603216a52b8002ab001054faab68da | diff --git a/sources/index.spec.js b/sources/index.spec.js
index <HASH>..<HASH> 100644
--- a/sources/index.spec.js
+++ b/sources/index.spec.js
@@ -27,6 +27,11 @@ beforeEach(function createElement() {
describe('chai-style', () => {
describe('module', () => {
+ it('should have a package.json, with a main file', ... | add spec to check package.json main file | darlanmendonca_chai-style | train |
f103925d8314fb7992d3c2c04c8a3a33c98127fe | diff --git a/js/base/functions/number.js b/js/base/functions/number.js
index <HASH>..<HASH> 100644
--- a/js/base/functions/number.js
+++ b/js/base/functions/number.js
@@ -159,7 +159,7 @@ const decimalToPrecision = (x, roundingMode
if (i >= (precisionStart + numPrecisionDigits)) {
c = (ro... | temporarily reverted the previous fix edits (until a better fix implemented) | ccxt_ccxt | train |
87d18a05a357cbcbefe86b8c2d77f3aca32a2329 | diff --git a/tests/test_views.py b/tests/test_views.py
index <HASH>..<HASH> 100644
--- a/tests/test_views.py
+++ b/tests/test_views.py
@@ -1,14 +1,24 @@
+from mock import patch
import os
-from django.test import TestCase
+from django.test import TestCase, RequestFactory
from revproxy.views import ProxyView, D... | Tests for escaped and unescaped characters | TracyWebTech_django-revproxy | train |
ac53bdba54f8de91bbee02ee335e8e3aacebe73e | diff --git a/languagetool-core/src/test/java/org/languagetool/XMLValidator.java b/languagetool-core/src/test/java/org/languagetool/XMLValidator.java
index <HASH>..<HASH> 100644
--- a/languagetool-core/src/test/java/org/languagetool/XMLValidator.java
+++ b/languagetool-core/src/test/java/org/languagetool/XMLValidator.ja... | fix Coverity warnings about non-closed resources | languagetool-org_languagetool | train |
03e1ddba37924a5b158b4eb096c6530ba201c2d4 | diff --git a/ampersand-state.js b/ampersand-state.js
index <HASH>..<HASH> 100644
--- a/ampersand-state.js
+++ b/ampersand-state.js
@@ -7,6 +7,7 @@ var changeRE = /^change:/;
function Base(attrs, options) {
options || (options = {});
this.cid = _.uniqueId('state');
+ this._events = {};
this._values = ... | Fix events hash being reset to empty after child collections were initialized | AmpersandJS_ampersand-state | train |
f8573f1123a75799c6986c1c854798a0ec5059c0 | diff --git a/bollinger_band_series.go b/bollinger_band_series.go
index <HASH>..<HASH> 100644
--- a/bollinger_band_series.go
+++ b/bollinger_band_series.go
@@ -81,6 +81,34 @@ func (bbs *BollingerBandsSeries) GetBoundedValue(index int) (x, y1, y2 float64)
return
}
+// GetLastBoundedValue returns the last bounded va... | adding GetLastBoundedValue and tests | wcharczuk_go-chart | train |
e8e8b41eed79d06e250a996ef69924c50e256a99 | diff --git a/provider/consul/consul_catalog_test.go b/provider/consul/consul_catalog_test.go
index <HASH>..<HASH> 100644
--- a/provider/consul/consul_catalog_test.go
+++ b/provider/consul/consul_catalog_test.go
@@ -12,14 +12,6 @@ import (
)
func TestConsulCatalogGetFrontendRule(t *testing.T) {
- provider := &Catalo... | Normalize serviceName added to the service backend names | containous_traefik | train |
019ad7ff4a0500059b84a04f2da063144dc2adf9 | diff --git a/app/src/main/java/org/jboss/hal/client/configuration/subsystem/messaging/ClusteringView.java b/app/src/main/java/org/jboss/hal/client/configuration/subsystem/messaging/ClusteringView.java
index <HASH>..<HASH> 100644
--- a/app/src/main/java/org/jboss/hal/client/configuration/subsystem/messaging/ClusteringVi... | Fix how the navigation panes are added to the DOM | hal_console | train |
cd97349d220321b483e16f5c351be4fd71bc203c | diff --git a/spec/dummy/db/schema.rb b/spec/dummy/db/schema.rb
index <HASH>..<HASH> 100644
--- a/spec/dummy/db/schema.rb
+++ b/spec/dummy/db/schema.rb
@@ -2,38 +2,14 @@
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema d... | feat(updates): Quarterly updates (#<I>) | DigitalNZ_plug | train |
d3dee9c07362487ae77ff30a00264ac3473e28f5 | diff --git a/src/Error/ErrorHandler.php b/src/Error/ErrorHandler.php
index <HASH>..<HASH> 100644
--- a/src/Error/ErrorHandler.php
+++ b/src/Error/ErrorHandler.php
@@ -20,17 +20,16 @@ class ErrorHandler extends CoreErrorHandler
public function handle($exception)
{
- $handlerClass = Configure::read('Er... | Add ability to configure multiple handlers at a time | josegonzalez_php-error-handlers | train |
6a98d548deef99c152e985aadab23621271ea4a9 | diff --git a/tests/unit/forklift/test_legacy.py b/tests/unit/forklift/test_legacy.py
index <HASH>..<HASH> 100644
--- a/tests/unit/forklift/test_legacy.py
+++ b/tests/unit/forklift/test_legacy.py
@@ -304,6 +304,7 @@ class TestValidation:
"text/plain; charset=UTF-8",
"text/x-rst; charset=UTF-8",... | Accept GitHub-flavored Markdown as a variant for package descriptions (#<I>) | pypa_warehouse | train |
7714ea8a7caf3129ae473618e75fbade9ad3e221 | diff --git a/closure/goog/ui/combobox.js b/closure/goog/ui/combobox.js
index <HASH>..<HASH> 100644
--- a/closure/goog/ui/combobox.js
+++ b/closure/goog/ui/combobox.js
@@ -550,9 +550,21 @@ goog.ui.ComboBox.prototype.maybeShowMenu_ = function(showAll) {
// wait for all event processing to happen.
goog.Timer.cal... | Fix combobox menu alignment in RTL locales.
R=nicksantos,kobir
DELTA=<I> (<I> added, 8 deleted, 9 changed)
Revision created by MOE tool push_codebase.
MOE_MIGRATION=<I>
git-svn-id: <URL> | google_closure-library | train |
9098b568e1bdfc52d44a0e17441047f1ddfd2738 | diff --git a/lib/ast/unquote.rb b/lib/ast/unquote.rb
index <HASH>..<HASH> 100644
--- a/lib/ast/unquote.rb
+++ b/lib/ast/unquote.rb
@@ -68,6 +68,11 @@ module Atomy
# unquoting at depth 1; compile
if d == 1
@expression.compile(g)
+ g.push_cpath_top
+ g.find_const :Proc
+ ... | call #to_node on every value of a splat unquote | vito_atomy | train |
9e7125d12b308ca6cc49d21305fdedfbe0541bb5 | diff --git a/csv.go b/csv.go
index <HASH>..<HASH> 100644
--- a/csv.go
+++ b/csv.go
@@ -2,10 +2,11 @@ package gofakeit
import (
"bytes"
- "encoding/csv"
+ csvPackage "encoding/csv"
"encoding/json"
"errors"
"fmt"
+ rand "math/rand"
"strings"
)
@@ -17,7 +18,12 @@ type CSVOptions struct {
}
// CSV gener... | csv - added method | brianvoe_gofakeit | train |
2a799b190639edf7692e2bfed6646f2613e6c813 | diff --git a/router_test.go b/router_test.go
index <HASH>..<HASH> 100644
--- a/router_test.go
+++ b/router_test.go
@@ -1,6 +1,7 @@
package revel
import (
+ "fmt"
"net/http"
"net/url"
"testing"
@@ -303,7 +304,7 @@ func BenchmarkRouter(b *testing.B) {
b.ResetTimer()
for i := 0; i < b.N/len(routeMatchTestCas... | Added benchmark from ant0ines urlrouter | revel_revel | train |
f5d9b2914b1745bf18b6169122a0e631a7766932 | diff --git a/lib/multirepo/logic/merge-descriptor.rb b/lib/multirepo/logic/merge-descriptor.rb
index <HASH>..<HASH> 100644
--- a/lib/multirepo/logic/merge-descriptor.rb
+++ b/lib/multirepo/logic/merge-descriptor.rb
@@ -39,7 +39,7 @@ module MultiRepo
def upstream_description
case @state
when TheirStat... | TheirState::EXACT_REF should often require double-checking. Yellow! | fortinmike_git-multirepo | train |
a10e188f0b88a0a6c140dd064d4f87c443734c8f | diff --git a/lib/ougai/formatters/readable.rb b/lib/ougai/formatters/readable.rb
index <HASH>..<HASH> 100644
--- a/lib/ougai/formatters/readable.rb
+++ b/lib/ougai/formatters/readable.rb
@@ -28,7 +28,8 @@ module Ougai
load_dependent
end
- def _call(severity, time, progname, data)
+ def _call... | Fix not to destory data hash | tilfin_ougai | train |
f310148697be7544217f88483ab8dc43804e1475 | diff --git a/jbpm-test-coverage/src/test/java/org/jbpm/test/functional/async/AsyncMultisubprocessTest.java b/jbpm-test-coverage/src/test/java/org/jbpm/test/functional/async/AsyncMultisubprocessTest.java
index <HASH>..<HASH> 100644
--- a/jbpm-test-coverage/src/test/java/org/jbpm/test/functional/async/AsyncMultisubproces... | [BAQE-<I>] Stabilize flaky test: AsyncMultisubprocessTest (#<I>) | kiegroup_jbpm | train |
66814b8df8db9ae4d863b112077dd75994f8c4b4 | diff --git a/src/extensions.js b/src/extensions.js
index <HASH>..<HASH> 100644
--- a/src/extensions.js
+++ b/src/extensions.js
@@ -220,6 +220,11 @@ Crafty.extend({
paddingX = parseInt(paddingX || 0, 10); //just incase
paddingY = parseInt(paddingY || 0, 10);
+ var markSpritesReady = function()... | Move function creation outside of loops when creating components with sprite() | craftyjs_Crafty | train |
377cfe47b9560abcb7e345730ace0714252233b0 | diff --git a/modules/gtfs/Trip.js b/modules/gtfs/Trip.js
index <HASH>..<HASH> 100644
--- a/modules/gtfs/Trip.js
+++ b/modules/gtfs/Trip.js
@@ -109,27 +109,32 @@ class Trip {
/**
* Get the StopTime associated with the specified Stop
- * @param {Stop} stop Stop to find in Trip's list of StopTimes
+ * @param ... | Trip: getStopTime & hasStopTime
can take either a Stop or Stop ID as parameters | right-track_right-track-core | train |
3fff8f9e498ede7f2d1b32a2681cd9a80ee59aa5 | diff --git a/src/main/java/org/fedorahosted/tennera/jgettext/PoParser.java b/src/main/java/org/fedorahosted/tennera/jgettext/PoParser.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/fedorahosted/tennera/jgettext/PoParser.java
+++ b/src/main/java/org/fedorahosted/tennera/jgettext/PoParser.java
@@ -74,7 +74,7 @@... | Ensure that IOExceptions are chained | zanata_jgettext | train |
3d0254b432a2802af3c6310437b1b15fcd18c1ae | diff --git a/jaraco/windows/environ.py b/jaraco/windows/environ.py
index <HASH>..<HASH> 100644
--- a/jaraco/windows/environ.py
+++ b/jaraco/windows/environ.py
@@ -9,7 +9,7 @@ import ctypes.wintypes
import six
winreg = six.moves.winreg
-from jaraco.util.editor import EditableFile
+from jaraco.ui.editor import Ed... | Prefer surgical packages to jaraco.util. | jaraco_jaraco.windows | train |
0951d17c63d907a408997f86b851fb9328082a51 | diff --git a/lib/compiler/filters/static-filter-checker.js b/lib/compiler/filters/static-filter-checker.js
index <HASH>..<HASH> 100644
--- a/lib/compiler/filters/static-filter-checker.js
+++ b/lib/compiler/filters/static-filter-checker.js
@@ -18,7 +18,7 @@ var checks = {
displayName: 'field',
test: ... | filters: allow property accesses
The static filter checker rejects any read filters that
have property accesses. But these can be handled in some
cases (at least by Elastic), so let's allow them. | juttle_juttle | train |
3a71fb8f591e42365a1bc3fbdaa837b132c3708a | diff --git a/src/components/victory-pie.js b/src/components/victory-pie.js
index <HASH>..<HASH> 100644
--- a/src/components/victory-pie.js
+++ b/src/components/victory-pie.js
@@ -61,6 +61,7 @@ class VictoryPie extends React.Component {
containerComponent: PropTypes.element,
cornerRadius: CustomPropTypes.nonNe... | apply dataSort prop to victory-pie | FormidableLabs_victory | train |
9c4835ddf72721b2bfa82d58801fa0022e5790da | diff --git a/inc/admin/metaboxes/namespace.php b/inc/admin/metaboxes/namespace.php
index <HASH>..<HASH> 100644
--- a/inc/admin/metaboxes/namespace.php
+++ b/inc/admin/metaboxes/namespace.php
@@ -995,7 +995,7 @@ function publish_fields_save( $post_id, $post, $update ) {
if ( $show_in_web === false || $require_passwor... | Require a password issue (fix #<I>) (#<I>) | pressbooks_pressbooks | train |
e0fe4330c74468d64f24ec833c913f6fe175e031 | diff --git a/Testing/Fakes/QueueFake.php b/Testing/Fakes/QueueFake.php
index <HASH>..<HASH> 100644
--- a/Testing/Fakes/QueueFake.php
+++ b/Testing/Fakes/QueueFake.php
@@ -353,7 +353,7 @@ class QueueFake extends QueueManager implements Queue
*
* @return array
*/
- public function getJobs(): array
+ ... | Update QueueFake.php | illuminate_support | train |
93c08d2d41e1d308414f99ba52240103493a6427 | diff --git a/raja.js b/raja.js
index <HASH>..<HASH> 100644
--- a/raja.js
+++ b/raja.js
@@ -68,6 +68,10 @@ Raja.prototype.update = function() {
Raja.prototype.emit = function(what) {
var args = Array.prototype.slice.call(arguments, 0);
+ var url = this.absolute(this.room, what);
+ if (what != 'error') {
+ args[0] ... | Allow emit(relative) to current room | kapouer_raja | train |
b3a90de0205e93218c4bdebbe45445cfbba48ba7 | diff --git a/lib/compiler/passes/generate-js.js b/lib/compiler/passes/generate-js.js
index <HASH>..<HASH> 100644
--- a/lib/compiler/passes/generate-js.js
+++ b/lib/compiler/passes/generate-js.js
@@ -868,11 +868,18 @@ function generateJS(ast, options) {
' descriptions.length = j;',
' }',
'',... | Syntax error messages: Use Oxford comma
In general PEG.js uses American English, where Oxford comma is
prevalent.
Part of #<I>. | pegjs_pegjs | train |
1903f6456455d5598fd0bd2b2e087e105992fe45 | diff --git a/mod_cluster/extension/src/main/java/org/wildfly/extension/mod_cluster/ProxyConfigurationServiceConfigurator.java b/mod_cluster/extension/src/main/java/org/wildfly/extension/mod_cluster/ProxyConfigurationServiceConfigurator.java
index <HASH>..<HASH> 100644
--- a/mod_cluster/extension/src/main/java/org/wildf... | WFLY-<I> mod_cluster uses wrong password for credential stores (regression after removing lambdas) | wildfly_wildfly | train |
b993e0462707ea575fa24cfc246083bebbb41436 | diff --git a/gulp/config.js b/gulp/config.js
index <HASH>..<HASH> 100644
--- a/gulp/config.js
+++ b/gulp/config.js
@@ -67,7 +67,6 @@ module.exports = {
'./lib/core/analytics/analytics-directive.js',
'./lib/core/analytics/analytics-services.js',
'./lib/core/analytics/analytics-util.js',
- './li... | removed console service from config no longer used | Availity_availity-angular | train |
35d80499ba619350284e110bfb8cbef5c232a2f9 | diff --git a/client/cmd_selected.go b/client/cmd_selected.go
index <HASH>..<HASH> 100644
--- a/client/cmd_selected.go
+++ b/client/cmd_selected.go
@@ -16,76 +16,63 @@ var ErrNoMailboxSelected = errors.New("No mailbox selected")
// Check requests a checkpoint of the currently selected mailbox. A checkpoint
// refers t... | client: fixes a race condition in Client.Expunge | emersion_go-imap | train |
4ee22ad52e5e354c8aee9906eab78244a3b3d4e6 | diff --git a/mockserver-core/src/main/java/org/mockserver/log/model/LogEntry.java b/mockserver-core/src/main/java/org/mockserver/log/model/LogEntry.java
index <HASH>..<HASH> 100644
--- a/mockserver-core/src/main/java/org/mockserver/log/model/LogEntry.java
+++ b/mockserver-core/src/main/java/org/mockserver/log/model/Log... | ensured all field are empty after clear | jamesdbloom_mockserver | train |
8fac2ef00cbbb7d25214c8dbc9a4744ef0048c06 | diff --git a/lib/rules.js b/lib/rules.js
index <HASH>..<HASH> 100644
--- a/lib/rules.js
+++ b/lib/rules.js
@@ -24,6 +24,33 @@ const _ = require('lodash')
*/
module.exports = [
+ (combination) => {
+ return combination[0].component === 'Head'
+ },
+
+ (combination) => {
+ return _.last(combination).compone... | rules: Stop combinations without Head/Footer/Navigation early on
Change-type: patch | balena-io_landr | train |
fe96896e56cbf03ac844508e02517bf6ad097a81 | diff --git a/public/javascripts/refinery/admin.js b/public/javascripts/refinery/admin.js
index <HASH>..<HASH> 100644
--- a/public/javascripts/refinery/admin.js
+++ b/public/javascripts/refinery/admin.js
@@ -35,7 +35,7 @@ init_modal_dialogs = function(){
$('a[href*="dialog=true"]').each(function(i, anchor)
{
... | Remove old thickbox code and hook into the ui dialog instead | refinery_refinerycms | train |
e2220c0b07869a820eff5c060e953a6757d3252e | diff --git a/code/Subsite.php b/code/Subsite.php
index <HASH>..<HASH> 100644
--- a/code/Subsite.php
+++ b/code/Subsite.php
@@ -113,12 +113,14 @@ class Subsite extends DataObject implements PermissionProvider {
return ArrayLib::valuekey($themes);
} else {
$themes = array();
- foreach(scandir('../themes/') a... | BUGFIX: Don't throw an error if the themes directory is missing | silverstripe_silverstripe-subsites | train |
5a519f5f4a6ddf117176e374962fd0882467b3f6 | diff --git a/src/js/pouch.js b/src/js/pouch.js
index <HASH>..<HASH> 100644
--- a/src/js/pouch.js
+++ b/src/js/pouch.js
@@ -7,11 +7,26 @@ fluid.registerNamespace("gpii.pouch");
var PouchDB = require("pouchdb");
var memdown = require("memdown");
var expressPouchdb = require("express-pouchdb");
+var os ... | Figured out how to contain cruft generated by express-pouch to a temporary directory, and also how to expose more of its configuration infrastructure via Fluid options. | GPII_gpii-pouchdb | train |
bba9102cf9495ed62f9e8991508aa2c5a105badb | diff --git a/lib/kamerling/receiver.rb b/lib/kamerling/receiver.rb
index <HASH>..<HASH> 100644
--- a/lib/kamerling/receiver.rb
+++ b/lib/kamerling/receiver.rb
@@ -7,14 +7,14 @@ require_relative 'uuid'
module Kamerling
class Receiver
def self.receive(addr:, message:, repos: Repos, uuid: UUID.new)
- new(rep... | Receiver: pass everything to the constructor | chastell_kamerling | train |
b4629d43737b6d08fa19149a63420f8e043c1234 | diff --git a/salt/states/file.py b/salt/states/file.py
index <HASH>..<HASH> 100644
--- a/salt/states/file.py
+++ b/salt/states/file.py
@@ -417,33 +417,6 @@ def _error(ret, err_msg):
return ret
-def _get_recurse_dest(prefix, fn_, source, env):
- '''
- Return the destination path to copy the file path, fn_... | remove unused function in the file state | saltstack_salt | train |
c5835b896cfc6202b327a88d2bd8517c5ae94f51 | diff --git a/java/com/google/flatbuffers/FlatBufferBuilder.java b/java/com/google/flatbuffers/FlatBufferBuilder.java
index <HASH>..<HASH> 100644
--- a/java/com/google/flatbuffers/FlatBufferBuilder.java
+++ b/java/com/google/flatbuffers/FlatBufferBuilder.java
@@ -28,18 +28,19 @@ import java.nio.charset.Charset;
* main... | Java builder now checks if buffer was finished upon access.
Also checks for nesting of objects in vector construction.
This avoids common errors in FlatBuffer construction.
Change-Id: I<I>c5d<I>e<I>e<I>a<I>f<I>acefba4d6
Tested: on Linux. | google_flatbuffers | train |
635fd578d0789874e5a18eb92d037d1c7aacc73c | diff --git a/lib/sequel_mapper/configurations/conventional_configuration.rb b/lib/sequel_mapper/configurations/conventional_configuration.rb
index <HASH>..<HASH> 100644
--- a/lib/sequel_mapper/configurations/conventional_configuration.rb
+++ b/lib/sequel_mapper/configurations/conventional_configuration.rb
@@ -136,19 +1... | Allow custom mappings to be defined alongside database generated ones | bestie_terrestrial | train |
2b3dccdc49d9bf755c819c03f643bf4236813e4a | diff --git a/deployers/src/main/java/org/jboss/jca/deployers/fungal/AbstractFungalRADeployer.java b/deployers/src/main/java/org/jboss/jca/deployers/fungal/AbstractFungalRADeployer.java
index <HASH>..<HASH> 100644
--- a/deployers/src/main/java/org/jboss/jca/deployers/fungal/AbstractFungalRADeployer.java
+++ b/deployers/... | Some people doesn't read the spec and understand auto-boxing | ironjacamar_ironjacamar | train |
3aa67b7b0fdae8113bcc8269c85ed47884188ab3 | diff --git a/hydpy/models/dam_v001.py b/hydpy/models/dam_v001.py
index <HASH>..<HASH> 100644
--- a/hydpy/models/dam_v001.py
+++ b/hydpy/models/dam_v001.py
@@ -2,12 +2,44 @@
# pylint: disable=line-too-long, wildcard-import, unused-wildcard-import
"""Version 1 application model of HydPy-Dam.
-Obviously, using the "sm... | Add introduction to application model `dam_<I>' . | hydpy-dev_hydpy | train |
85c9be2b9155d0fafd7c0563e295145d2665dd5f | diff --git a/tests/test_dtw.py b/tests/test_dtw.py
index <HASH>..<HASH> 100644
--- a/tests/test_dtw.py
+++ b/tests/test_dtw.py
@@ -40,6 +40,23 @@ def test_dtw_global():
assert np.array_equal(mut_D, mut_D2)
+def test_dtw_global_constrained():
+ # Example taken from:
+ # Meinard Mueller, Fundamentals of Mu... | improved test coverage for dtw, global constraints | librosa_librosa | train |
44a0a3a54df3bf7236806266e9b9be37ce13cbaf | diff --git a/src/java/org/apache/cassandra/db/Memtable.java b/src/java/org/apache/cassandra/db/Memtable.java
index <HASH>..<HASH> 100644
--- a/src/java/org/apache/cassandra/db/Memtable.java
+++ b/src/java/org/apache/cassandra/db/Memtable.java
@@ -399,9 +399,16 @@ public class Memtable implements Comparable<Memtable>
... | fix CME during range queries -- keyset call needs to go on the memtable exector.
patch by jbellis; tested by Tv for CASSANDRA-<I>
git-svn-id: <URL> | Stratio_stratio-cassandra | train |
cadeaf3305ee5abc4eed5c525d0da7f3a591f374 | diff --git a/src/Admin/Filter/Type.php b/src/Admin/Filter/Type.php
index <HASH>..<HASH> 100644
--- a/src/Admin/Filter/Type.php
+++ b/src/Admin/Filter/Type.php
@@ -42,6 +42,15 @@ class Type
}
/**
+ * @return bool|string
+ */
+ public function getColumnName()
+ {
+ return substr($this->co... | Add relation to Multi-select constructor and getColumnName to FilterType | arbory_arbory | train |
0a88bbce3654b156096cda25cd97d1c224619ff4 | diff --git a/jspdf.js b/jspdf.js
index <HASH>..<HASH> 100644
--- a/jspdf.js
+++ b/jspdf.js
@@ -1711,8 +1711,14 @@ var jsPDF = (function(global) {
});
},
output = SAFE(function(type, options) {
- options = options || {};
- options.filename = options.filename || "generated.pdf";
+ ... | backwards compatibility to MrRio/jsPDF see comments on #<I> | MrRio_jsPDF | train |
3577434f50ddf892dc67517bda38ea378972239f | diff --git a/src/services/SuperTableService.php b/src/services/SuperTableService.php
index <HASH>..<HASH> 100644
--- a/src/services/SuperTableService.php
+++ b/src/services/SuperTableService.php
@@ -17,6 +17,8 @@ use craft\base\Field;
use craft\db\Query;
use craft\elements\db\ElementQueryInterface;
use craft\fields\... | Use duplicateElement() to clone Super Table blocks after making them localized | verbb_super-table | train |
e365c8b171a60c79c9f38a6caac28d57c2b97bca | diff --git a/Flash/Signature.php b/Flash/Signature.php
index <HASH>..<HASH> 100644
--- a/Flash/Signature.php
+++ b/Flash/Signature.php
@@ -379,7 +379,7 @@ class sb_Flash_Signature{
return null;
}
- $sql = "INSERT INTO storage (id, user_name, ip, time_stamp, path, width, height, app_id, deleted) VALUES (:id,... | storing IP as INT now to save space | surebert_surebert-framework | train |
1f18fde79ece3fd89f54dab73e7c53f040b70e2e | diff --git a/lib/brightbox-cli/commands/lbs-create.rb b/lib/brightbox-cli/commands/lbs-create.rb
index <HASH>..<HASH> 100644
--- a/lib/brightbox-cli/commands/lbs-create.rb
+++ b/lib/brightbox-cli/commands/lbs-create.rb
@@ -43,6 +43,12 @@ module Brightbox
c.default_value "3"
c.flag [:d, "hc-down"]
+ ... | Add SSL arguments to load balancer creation
The `ssl-cert` and `ssl-key` arguments can be used to pass filenames to
load balancer creation to add SSL support to the new balancer. | brightbox_brightbox-cli | train |
52283916de8674bf8b5f4401735b8ef9f59282f0 | diff --git a/lib/tty/cursor.rb b/lib/tty/cursor.rb
index <HASH>..<HASH> 100644
--- a/lib/tty/cursor.rb
+++ b/lib/tty/cursor.rb
@@ -147,14 +147,14 @@ module TTY
# the current cursor position.
# @api public
def clear_line_before
- CSI + '0K'
+ CSI + '1K'
end
# Erase from the current p... | Correct clear_line_before/after to match its description | piotrmurach_tty-cursor | train |
f28135da849d84a01521b4c7c3a8149d71263cd3 | diff --git a/playhouse/sqlite_kv.py b/playhouse/sqlite_kv.py
index <HASH>..<HASH> 100644
--- a/playhouse/sqlite_kv.py
+++ b/playhouse/sqlite_kv.py
@@ -28,6 +28,9 @@ class KV(Model):
class KeyStore(object):
def __init__(self, ordered=False, model=None):
self.model = model or KV
+ self.key = self.mo... | Rich expressions in sqlite k/v -- fixes and tests | coleifer_peewee | train |
4b51ec8657c9d5b1f185cf1b61583caf3871b966 | diff --git a/lib/mashery/api.rb b/lib/mashery/api.rb
index <HASH>..<HASH> 100644
--- a/lib/mashery/api.rb
+++ b/lib/mashery/api.rb
@@ -1,5 +1,7 @@
module Mashery
class API
+ # FIXME : Remove :secret and get the API to append
+ # the :key param to the end of each 'get' call
attr_accessor :region, :secret,... | Tag for removal : API's :secret, Milord. | keikun17_bnet-mashery-rb | train |
daf721b4e151b7af90daa77364f144b861b10ab9 | diff --git a/undocker.py b/undocker.py
index <HASH>..<HASH> 100644
--- a/undocker.py
+++ b/undocker.py
@@ -58,6 +58,11 @@ def parse_args():
def find_layers(img, id):
with closing(img.extractfile('%s/json' % id)) as fd:
+ # This is an ugly hack for Python 2.
+ if not hasattr(fd, 'readable'):
+ ... | fix AttributeError under python 2
Running undocker with Python 2 would result in:
AttributeError: 'ExFileObject' object has no attribute 'readable'
This has to do with an incompatible in Python 2 between the native
`file` object and the `io` module. There is some discussion of the
issue at <URL> | larsks_undocker | train |
5e81fe16292a75d838c531f0ee375fa97639f601 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -9,8 +9,10 @@ const merge = require('lodash.merge');
/**
* [KinesisStream description]
* @param {Object} params
- * @param {string} [params.accessKeyId] AWS credentials
- * @param {string} [params.secretAccessKey] AWS cre... | Allow full `credentials` parameter
This change will allow setting of [credentials](<URL>) parameter, in an effort to ease refresh issues when using AssumeRole to send streams across accounts. [Temporary Credentials](<URL>) can be provided, which will automatically refresh upon expiration.
The credentials parameter ... | auth0_kinesis-writable | train |
57b22408221739b2048af8235d70661b3eba6f7d | diff --git a/closure/goog/date/date_test.js b/closure/goog/date/date_test.js
index <HASH>..<HASH> 100644
--- a/closure/goog/date/date_test.js
+++ b/closure/goog/date/date_test.js
@@ -222,7 +222,7 @@ function testGetWeekNumber() {
assertEquals('2008-12-29 is in week 1 of the following year', 1,
f(2008... | Removed use of octal notation in tests, creates a warning on new compiler.jar. | google_closure-library | train |
7cba88f35127fc332ab6e1304f081ca08a4576b3 | diff --git a/odl/test/largescale/space/tensor_space_slow_test.py b/odl/test/largescale/space/tensor_space_slow_test.py
index <HASH>..<HASH> 100644
--- a/odl/test/largescale/space/tensor_space_slow_test.py
+++ b/odl/test/largescale/space/tensor_space_slow_test.py
@@ -1,4 +1,4 @@
-# Copyright 2014-2017 The ODL contributo... | TST: use tuple indexing in tspace slow tests | odlgroup_odl | train |
447403e69c0bb024ac762e06e18cf28324f28274 | diff --git a/js/bootstrap-datetimepicker.js b/js/bootstrap-datetimepicker.js
index <HASH>..<HASH> 100644
--- a/js/bootstrap-datetimepicker.js
+++ b/js/bootstrap-datetimepicker.js
@@ -44,6 +44,10 @@
this.element = $(element);
+ // add container for single page application
+ // when page switch the datetimepicke... | add container for single page application
when page switch the datetimepicker div will be removed also. | smalot_bootstrap-datetimepicker | train |
e7681f7147beccc18ccf4b3ca8b2f7dd03e59cbc | diff --git a/src/config/SketchpadConfig.php b/src/config/SketchpadConfig.php
index <HASH>..<HASH> 100644
--- a/src/config/SketchpadConfig.php
+++ b/src/config/SketchpadConfig.php
@@ -49,20 +49,28 @@ class SketchpadConfig
*/
public $settings;
+ /**
+ * Admin settings as an object
+ *
+ * @var object $adm... | Added admin settings to SketchpadConfig | davestewart_laravel-sketchpad | train |
45b5e3c13c1d4b0b88e192729b0042e19840635f | diff --git a/github/github-accessors.go b/github/github-accessors.go
index <HASH>..<HASH> 100644
--- a/github/github-accessors.go
+++ b/github/github-accessors.go
@@ -4612,6 +4612,14 @@ func (i *IssueStats) GetTotalIssues() int {
return *i.TotalIssues
}
+// GetCreatedAt returns the CreatedAt field if it's non-nil,... | Add missing `CreatedAt` field in users_keys class (#<I>)
Fixes #<I>. | google_go-github | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.