hash stringlengths 40 40 | diff stringlengths 131 26.7k | message stringlengths 7 694 | project stringlengths 5 67 | split stringclasses 1
value | diff_languages stringlengths 2 24 |
|---|---|---|---|---|---|
9b7a5f654a0a10caabf6ddd7e53716145cbf6b68 | diff --git a/mod/assign/locallib.php b/mod/assign/locallib.php
index <HASH>..<HASH> 100644
--- a/mod/assign/locallib.php
+++ b/mod/assign/locallib.php
@@ -2303,7 +2303,7 @@ class assign {
$gradebookurl = '/grade/report/grader/index.php?id=' . $this->get_course()->id;
$links[$gradebookurl] = ge... | MDL-<I> Assignment: Hide Download All links when no submission have been made | moodle_moodle | train | php |
7b0a07e404108b696a8626aade3122f2a27ad8d2 | diff --git a/src/Libraries/Mailer/Mailer.php b/src/Libraries/Mailer/Mailer.php
index <HASH>..<HASH> 100644
--- a/src/Libraries/Mailer/Mailer.php
+++ b/src/Libraries/Mailer/Mailer.php
@@ -100,12 +100,18 @@ class Mailer {
}
}
+ $this->mailer->AllowEmpty = true;
+
$this->mailer->Bod... | Adding StringAttachments method to Mailer library | softberg_quantum-core | train | php |
8a9521123086e072c664512128b46209b2f00e06 | diff --git a/src/managers/ThreadManager.js b/src/managers/ThreadManager.js
index <HASH>..<HASH> 100644
--- a/src/managers/ThreadManager.js
+++ b/src/managers/ThreadManager.js
@@ -66,7 +66,7 @@ class ThreadManager extends CachedManager {
* * `1440` (1 day)
* * `4320` (3 days) <warn>This is only available when th... | docs(ThreadManager): Fix typo (#<I>) | discordjs_discord.js | train | js |
e036f968d0214aac7f603a0ef3f332c77fc4b996 | diff --git a/js/js.go b/js/js.go
index <HASH>..<HASH> 100644
--- a/js/js.go
+++ b/js/js.go
@@ -538,7 +538,7 @@ func (m *jsMinifier) minifyVarDecl(decl *js.VarDecl, onlyDefines bool) {
}
}
} else {
- if decl.TokenType == js.VarToken {
+ if decl.TokenType == js.VarToken && len(decl.List) <= 10000 {
// move... | JS: set vardecl size limit to prevent timeout with OSSFuzz | tdewolff_minify | train | go,go |
d6cd43b218419601aa9037b9b92992d7c872d4eb | diff --git a/lib/features/editing/EditBehavior.js b/lib/features/editing/EditBehavior.js
index <HASH>..<HASH> 100644
--- a/lib/features/editing/EditBehavior.js
+++ b/lib/features/editing/EditBehavior.js
@@ -36,7 +36,7 @@ function EditBehavior(eventBus, selection, sheet, elementRegistry, modeling, rul
row: event.... | fix(modeling): do not make footer editable | bpmn-io_table-js | train | js |
192e65e4ceb85ff375e690788960ee4484670000 | diff --git a/vendor/solr/adapter_methods.rb b/vendor/solr/adapter_methods.rb
index <HASH>..<HASH> 100644
--- a/vendor/solr/adapter_methods.rb
+++ b/vendor/solr/adapter_methods.rb
@@ -19,6 +19,20 @@ module Solr
@connection.solr_execute(Solr::Request::Commit.new)
end
+ # Optimizes the Solr index. S... | Bigindex update
* Added the method to optimize solr in SolrAdapter. | openplaces_bigindex | train | rb |
0b94aace680199b6261989363dfc102532c49a5d | diff --git a/interact.js b/interact.js
index <HASH>..<HASH> 100644
--- a/interact.js
+++ b/interact.js
@@ -321,10 +321,9 @@
supportsTouch &&
navigator.userAgent.match('Presto'),
- // scrolling doesn't change the result of
- // getBoundingClientRect/getClientRects on iOS <=7 but... | Replace `iOS7orLower` boolean with `isIOS7`
Element.GetClientRects seems to be incorrect only on iOS 7.
Closes #<I> | taye_interact.js | train | js |
0d015f1fed8cf465fd04c5c5ab87d9166a08db38 | diff --git a/lib/flipper/types/boolean.rb b/lib/flipper/types/boolean.rb
index <HASH>..<HASH> 100644
--- a/lib/flipper/types/boolean.rb
+++ b/lib/flipper/types/boolean.rb
@@ -2,7 +2,7 @@ module Flipper
module Types
class Boolean < Type
def initialize(value = nil)
- @value = value.nil? ? true : val... | Ensure boolean value is typecast | jnunemaker_flipper | train | rb,rb |
e0760a15a36c4735ff85654e6d58ac2b7468bb9b | diff --git a/lib/strategy.js b/lib/strategy.js
index <HASH>..<HASH> 100644
--- a/lib/strategy.js
+++ b/lib/strategy.js
@@ -49,7 +49,7 @@ function Strategy (options, verify) {
options.tokenURL = options.tokenURL || 'https://login.microsoftonline.com/common/oauth2/v2.0/token';
OAuth2Strategy.call(this, options,... | Name override by options #8 | clocked0ne_passport-outlook | train | js |
d1ab283de6165e7c9cc433f4577db6b69e160eac | diff --git a/internal/gt/vcs.go b/internal/gt/vcs.go
index <HASH>..<HASH> 100644
--- a/internal/gt/vcs.go
+++ b/internal/gt/vcs.go
@@ -271,7 +271,7 @@ func (r *runner) runAsync(checkFor string, args ...string) *exec.Cmd {
}
err := cmd.Start()
if err != nil {
- r.t.Fatalf("Failed to start %q %q: %v", r.execPath, ... | format reads arg 3, have only 2 args (vet) | kardianos_govendor | train | go |
2f632f23c2da832629ee74cd045c681e464e0c9b | diff --git a/include/style.cls.php b/include/style.cls.php
index <HASH>..<HASH> 100644
--- a/include/style.cls.php
+++ b/include/style.cls.php
@@ -1363,7 +1363,11 @@ class Style {
* @return array
*/
function get_border_spacing() {
- return explode(" ", $this->_props["border_spacing"]);
+ $arr = explode... | Fix undefined offset notice in Style::get_border_spacing()
Style::get_border_spacing() did not account for instances where the
border-spacing attribute provided only a single length. This commit
adds a check prior to returning the array.
Source: <URL> | dompdf_dompdf | train | php |
25842bb07470ff42de26ec2f3be082415d6a77a4 | diff --git a/src/feat/agencies/net/standalone.py b/src/feat/agencies/net/standalone.py
index <HASH>..<HASH> 100644
--- a/src/feat/agencies/net/standalone.py
+++ b/src/feat/agencies/net/standalone.py
@@ -96,7 +96,7 @@ class Agency(agency.Agency):
def _acquire_lock(self):
if not self._lock_file:
- ... | Change flags for opening a lock file. This prevents it from failing if the
file doesn't exist. | f3at_feat | train | py |
dab75d669576770c3cab2d09237d63a886664de4 | diff --git a/lib/reda/__init__.py b/lib/reda/__init__.py
index <HASH>..<HASH> 100644
--- a/lib/reda/__init__.py
+++ b/lib/reda/__init__.py
@@ -6,8 +6,10 @@ rcParams['geom_factor.inversion_code'] = 'crtomo'
from .containers.ERT import ERT
from .containers.sEIT import sEIT
+from .containers.SIP import SIP
from .test... | add some global imports to reda | geophysics-ubonn_reda | train | py |
ac9d89d4db154400d99a24079c07c55dd109ee86 | diff --git a/github/gh/main.go b/github/gh/main.go
index <HASH>..<HASH> 100644
--- a/github/gh/main.go
+++ b/github/gh/main.go
@@ -5,7 +5,6 @@ import (
"bytes"
"fmt"
"log"
- "os"
"os/exec"
"strings"
@@ -96,17 +95,14 @@ func openGithubUrl(suffix string) error {
func openUrl(theUrl string) error {
logger... | github: do not attach to open | dynport_dgtk | train | go |
e5e6626dabe0ef77a390f4c9190b0afa09e3a472 | diff --git a/bukkit/src/main/java/io/minecloud/bukkit/MineCloudPlugin.java b/bukkit/src/main/java/io/minecloud/bukkit/MineCloudPlugin.java
index <HASH>..<HASH> 100644
--- a/bukkit/src/main/java/io/minecloud/bukkit/MineCloudPlugin.java
+++ b/bukkit/src/main/java/io/minecloud/bukkit/MineCloudPlugin.java
@@ -77,8 +77,6 @@... | Recently changed server data is overriden here... | mkotb_MineCloud | train | java |
3e87a1b9d4a1926e43895807b8bacefc064ab247 | diff --git a/service/src/main/java/org/ops4j/pax/web/service/internal/HttpServiceRequestWrapper.java b/service/src/main/java/org/ops4j/pax/web/service/internal/HttpServiceRequestWrapper.java
index <HASH>..<HASH> 100644
--- a/service/src/main/java/org/ops4j/pax/web/service/internal/HttpServiceRequestWrapper.java
+++ b/s... | PAXWEB-<I>
Wrong parameters sent to handle methods. | ops4j_org.ops4j.pax.web | train | java |
0586ef2f261918c7b07da26d43f7651285295135 | diff --git a/lib/geos/extensions/version.rb b/lib/geos/extensions/version.rb
index <HASH>..<HASH> 100644
--- a/lib/geos/extensions/version.rb
+++ b/lib/geos/extensions/version.rb
@@ -1,7 +1,7 @@
module Geos
module Extensions
- VERSION = "0.3.1.dev"
+ VERSION = "0.4.0"
end
end | Bump to version <I>. | dark-panda_geos-extensions | train | rb |
227e9023e2aa0e9c8819d28c44e1c570294420b3 | diff --git a/grade/report/grader/lib.php b/grade/report/grader/lib.php
index <HASH>..<HASH> 100644
--- a/grade/report/grader/lib.php
+++ b/grade/report/grader/lib.php
@@ -1037,7 +1037,7 @@ class grade_report_grader extends grade_report {
$module = array(
'name' => 'gradereport_grader',
... | MDL-<I> grade: added a missing YUI requires | moodle_moodle | train | php |
eee2699a480a534190674adf37604349295746bf | diff --git a/Documentation/conf.py b/Documentation/conf.py
index <HASH>..<HASH> 100644
--- a/Documentation/conf.py
+++ b/Documentation/conf.py
@@ -54,7 +54,7 @@ master_doc = 'index'
# General information about the project.
project = u'Cilium'
-copyright = u'2017, Cilium Authors'
+copyright = u'2017-2018, Cilium Aut... | docs/conf.py: Update copyright date to <I> | cilium_cilium | train | py |
654dbc1341f916ca6c12117dd1f2191ed2ea393a | diff --git a/salt/modules/nix.py b/salt/modules/nix.py
index <HASH>..<HASH> 100644
--- a/salt/modules/nix.py
+++ b/salt/modules/nix.py
@@ -252,7 +252,7 @@ def collect_garbage():
'''
Completely removed all currently 'uninstalled' packages in the nix store.
- Returns a list of all the operations done. Ther... | nix: Correct documentation for gc
It doesn't actually show a list of all the operations, just the nix
summary. | saltstack_salt | train | py |
154d3ebb48c550fa9669ef213f44566d50b48000 | diff --git a/src/calendar.js b/src/calendar.js
index <HASH>..<HASH> 100644
--- a/src/calendar.js
+++ b/src/calendar.js
@@ -281,7 +281,7 @@ angular.module('ui.calendar', [])
scope.initCalendar = function () {
if (!calendar) {
- calendar = angular... | re-apply fix for #<I> | angular-ui_ui-calendar | train | js |
f90e810f5cdc30aaf38fe8f4d39afa3339380b81 | diff --git a/lib/sneakers/runner.rb b/lib/sneakers/runner.rb
index <HASH>..<HASH> 100644
--- a/lib/sneakers/runner.rb
+++ b/lib/sneakers/runner.rb
@@ -64,8 +64,15 @@ module Sneakers
end
private
- def make_serverengine_config
+ def make_serverengine_config
+ # From Sneakers#setup_general_logger, there... | Give serverengine the same logger object sneakers uses. Avoid problems when Sneakers.configure receives a logger object instead of a log file. | jondot_sneakers | train | rb |
e8b84c2a3e7ce7353e7379e405d2cc2e7a44122a | diff --git a/src/itertools/zip_test.go b/src/itertools/zip_test.go
index <HASH>..<HASH> 100644
--- a/src/itertools/zip_test.go
+++ b/src/itertools/zip_test.go
@@ -37,7 +37,7 @@ func TearDownZip() {
controlSample3 = ""
}
-func Test_Zip(t *testing.T) {
+func Test_ZipLogest(t *testing.T) {
SetupZip()
defer Tea... | [#<I>] fixing testname
chaning the testname to match the functionalty
it tests | xchapter7x_goutil | train | go |
fd658571ad1c3747faa0500303f7e84e14f65dc1 | diff --git a/lib/rimageanalysistools/image_shortcuts.rb b/lib/rimageanalysistools/image_shortcuts.rb
index <HASH>..<HASH> 100644
--- a/lib/rimageanalysistools/image_shortcuts.rb
+++ b/lib/rimageanalysistools/image_shortcuts.rb
@@ -58,6 +58,12 @@ class ImageCoordinate
set(Lookups[dim], value)
end
+ def self.[... | added shortcut square bracket notation for creating an image coordinate | cjfuller_rimageanalysistools | train | rb,rb |
1d151885beb2de36ae69efec9e27a4881ee5d814 | diff --git a/lib/liquid/standardfilters.rb b/lib/liquid/standardfilters.rb
index <HASH>..<HASH> 100644
--- a/lib/liquid/standardfilters.rb
+++ b/lib/liquid/standardfilters.rb
@@ -34,7 +34,7 @@ module Liquid
end
def escape(input)
- CGI.escapeHTML(input) rescue input
+ CGI.escapeHTML(input).untaint ... | Auto-untaint variables passed through 'escape' | Shopify_liquid | train | rb |
86882db5cdc66a5fdcf86e65fcaf7ce56da6ed76 | diff --git a/packages/ember-debug/lib/main.js b/packages/ember-debug/lib/main.js
index <HASH>..<HASH> 100644
--- a/packages/ember-debug/lib/main.js
+++ b/packages/ember-debug/lib/main.js
@@ -45,6 +45,11 @@ if (!('MANDATORY_SETTER' in Ember.ENV)) {
*/
Ember.assert = function(desc, test) {
Ember.Logger.assert(test, ... | ensure assertion failures are test failures. | emberjs_ember.js | train | js,js |
0c70b0e6e8de5d69abaa5bb37bb0d50de82dae55 | diff --git a/src/de/unihd/dbs/uima/annotator/treetagger/TreeTaggerWrapper.java b/src/de/unihd/dbs/uima/annotator/treetagger/TreeTaggerWrapper.java
index <HASH>..<HASH> 100644
--- a/src/de/unihd/dbs/uima/annotator/treetagger/TreeTaggerWrapper.java
+++ b/src/de/unihd/dbs/uima/annotator/treetagger/TreeTaggerWrapper.java
@... | removed an artifact from debugging | HeidelTime_heideltime | train | java |
785b00e8fe66b8c9bf23029842b467a5aead6fb9 | diff --git a/test/test_helper.rb b/test/test_helper.rb
index <HASH>..<HASH> 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -52,11 +52,3 @@ class Proc
infect_an_assertion :assert_difference, :must_change
infect_an_assertion :assert_no_difference, :wont_change
end
-
-def sent_emails
- ActionMai... | Removed the email helpers because I couldn't remember what they were called anyway | alcesleo_keymail | train | rb |
78af6511cffbf5dfbec03155c2f37df6a313583d | diff --git a/tests/connectors/test_aleph.py b/tests/connectors/test_aleph.py
index <HASH>..<HASH> 100755
--- a/tests/connectors/test_aleph.py
+++ b/tests/connectors/test_aleph.py
@@ -24,4 +24,12 @@ def issn():
# Tests =======================================================================
def test_by_issn(issn):
- ... | #<I>: Added tests of the author connector (#<I>). | WebarchivCZ_WA-KAT | train | py |
153cc45ab5d8231cf241b00ec03cb0e3c878f2ca | diff --git a/api/middleware/tracer.go b/api/middleware/tracer.go
index <HASH>..<HASH> 100644
--- a/api/middleware/tracer.go
+++ b/api/middleware/tracer.go
@@ -51,9 +51,13 @@ func Tracer(tracer opentracing.Tracer) macaron.Handler {
rw := macCtx.Resp.(*TracingResponseWriter)
- headers := macCtx.Resp.Header()
- t... | bugfix: tracing may be disabled | grafana_metrictank | train | go |
1f235a69a37e1df3b08ed2c39cd0086d9c4cfdb7 | diff --git a/activerecord/test/cases/tasks/database_tasks_test.rb b/activerecord/test/cases/tasks/database_tasks_test.rb
index <HASH>..<HASH> 100644
--- a/activerecord/test/cases/tasks/database_tasks_test.rb
+++ b/activerecord/test/cases/tasks/database_tasks_test.rb
@@ -50,7 +50,6 @@ module ActiveRecord
protecte... | Don't drop internal metadata tables
Some tests expects that internal metadata tables exists, and we should
not use `create_table` in transactional tests, since DDL in MySQL causes
implicit commit.
<URL> | rails_rails | train | rb |
0124dc7e801f7e4116086f7bb39c2bd61f2a9141 | diff --git a/lib/vcloud-rest/connection.rb b/lib/vcloud-rest/connection.rb
index <HASH>..<HASH> 100644
--- a/lib/vcloud-rest/connection.rb
+++ b/lib/vcloud-rest/connection.rb
@@ -22,6 +22,7 @@ require 'nokogiri'
module VCloudClient
class UnauthorizedAccess < StandardError; end
class WrongAPIVersion < StandardErr... | Detect error due to invalid ID (e.g., wrongly typed vAPP ID) | vmware_vcloud-rest | train | rb |
d86a394ce26407be1f20e467e746348e955e9de4 | diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py
index <HASH>..<HASH> 100755
--- a/tools/run_tests/run_tests.py
+++ b/tools/run_tests/run_tests.py
@@ -80,17 +80,20 @@ def _build_and_run(check_cancelled):
for cfg in build_configs
for target in _MAKE_TEST_TARGETS),
check_can... | Fix return behavior of run_tools.py
If not running in forever mode, and a test fails, fail run_tests.py
also.
If running in forever mode and make fails, wait for the next run. | grpc_grpc | train | py |
58cb1e50a94552fdf403c98a5bdeaef32bb8417d | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -1962,7 +1962,7 @@ ServiceManager.prototype.restore = function(options, callback) {
var novalidity = options.novalidity || false;
var individualcommit = options.individualcommit || true; // otherwise ... | Change default options for restore
by default we try to create the db | hgourvest_node-firebird | train | js |
00ed3579584c785336827b424fae640a466f0f26 | diff --git a/packages/core.js b/packages/core.js
index <HASH>..<HASH> 100644
--- a/packages/core.js
+++ b/packages/core.js
@@ -7,7 +7,7 @@
*/
import { INVALID_MOVE } from '../src/core/reducer.js';
-import { Pass, TurnOrder } from '../src/core/turn-order.js';
+import { Pass, Stage, TurnOrder } from '../src/core/tur... | feat: Expose the `Stage` defaults object via core package (#<I>)
Because `setStage` has been moved out of `turn.order`, `TurnOrder` and
`Stage` defaults have been separated. This exposes the new `Stage`
object via the core package — `import { Stage } from
'boardgame.io/core'` and use as `setStage: Stage.ANY_ONCE... | nicolodavis_boardgame.io | train | js |
c2dcd297ad0fc6358f3bc019cc99e9c75f4d433b | diff --git a/vgit/git.py b/vgit/git.py
index <HASH>..<HASH> 100644
--- a/vgit/git.py
+++ b/vgit/git.py
@@ -1,5 +1,6 @@
import os.path
import sh
+import io
from visidata import *
from visidata import namedlist
diff --git a/visidata/statusbar.py b/visidata/statusbar.py
index <HASH>..<HASH> 100644
--- a/visidata/sta... | [org] fixup two missing imports | saulpw_visidata | train | py,py |
866bf79291bdce5d6aab77e8edb3c7cd47daf12a | diff --git a/app/src/scripts/dataset/dataset.store.js b/app/src/scripts/dataset/dataset.store.js
index <HASH>..<HASH> 100644
--- a/app/src/scripts/dataset/dataset.store.js
+++ b/app/src/scripts/dataset/dataset.store.js
@@ -921,11 +921,9 @@ let datasetStore = Reflux.createStore({
},
)
... | Fix stuck delete when you cancel out of deleting a directory. | OpenNeuroOrg_openneuro | train | js |
af16d1feffe41f3c319e24b41c3dc0b79fc7a298 | diff --git a/tz/__init__.py b/tz/__init__.py
index <HASH>..<HASH> 100644
--- a/tz/__init__.py
+++ b/tz/__init__.py
@@ -107,7 +107,6 @@ class ZoneInfo(tzinfo):
(ttisgmtcnt, ttisstdcnt, leapcnt,
timecnt, typecnt, charcnt) = cls._read_counts(fileobj)
- import pdb; pdb.set_trace()
if ve... | Bumped version to <I>, removed debug line. | abalkin_tz | train | py,py |
931a5809a10102f7a53089e6b0aa47d77bf9c0fa | diff --git a/validator/sawtooth_validator/server/future.py b/validator/sawtooth_validator/server/future.py
index <HASH>..<HASH> 100644
--- a/validator/sawtooth_validator/server/future.py
+++ b/validator/sawtooth_validator/server/future.py
@@ -14,6 +14,7 @@
# ------------------------------------------------------------... | Add support for tracking reconciliation time to Future | hyperledger_sawtooth-core | train | py |
4214c0c750454619a86aaed6608f74ea0f732b97 | diff --git a/lib/facemock.rb b/lib/facemock.rb
index <HASH>..<HASH> 100644
--- a/lib/facemock.rb
+++ b/lib/facemock.rb
@@ -12,4 +12,8 @@ module Facemock
def off
Facemock::FbGraph.off
end
+
+ def on?
+ FbGraph == Facemock::FbGraph
+ end
end
diff --git a/spec/facemock_spec.rb b/spec/facemock_spec.rb
inde... | :lipstick: Added on? method to Facemock module | ogawatti_facemock | train | rb,rb |
a6d7fcbac8f1ad7aff46c9630c3267d9198785c6 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -48,7 +48,6 @@ function expandMapping(config, options) {
}
res.push.apply(res, node.files);
}
-
config.files = res;
return config;
}
@@ -125,7 +124,7 @@ function mapDest(dest, src, node) {
var fp = src;
... | ensure cwd is a string | jonschlinkert_expand-files | train | js |
27bf9b0ea0a013d416287089aa00324fae0765ed | diff --git a/src/main/java/com/googlecode/lanterna/gui/GUIScreen.java b/src/main/java/com/googlecode/lanterna/gui/GUIScreen.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/googlecode/lanterna/gui/GUIScreen.java
+++ b/src/main/java/com/googlecode/lanterna/gui/GUIScreen.java
@@ -194,8 +194,7 @@ public class GUIS... | Promoting a few private and package private methods to protected to make class overloading easier (Issue <I>) | mabe02_lanterna | train | java |
b55deb00ca9f375a4ec291afe208fd85a98ae629 | diff --git a/src/Guzzle/Http/Message/Request.php b/src/Guzzle/Http/Message/Request.php
index <HASH>..<HASH> 100644
--- a/src/Guzzle/Http/Message/Request.php
+++ b/src/Guzzle/Http/Message/Request.php
@@ -992,10 +992,18 @@ class Request extends AbstractMessage implements RequestInterface
if ($headers) ... | Checking for non-empty values of host and port before setting them on the request object | guzzle_guzzle3 | train | php |
3c99ae347f2a145d93b9fac5dc789f3d406fd77d | diff --git a/lib/gersberms/gersberms.rb b/lib/gersberms/gersberms.rb
index <HASH>..<HASH> 100644
--- a/lib/gersberms/gersberms.rb
+++ b/lib/gersberms/gersberms.rb
@@ -26,7 +26,9 @@ module Gersberms
ami_name: 'gersberms-ami',
tags: [],
accounts: [],
- logger: Logger.new(STDOUT)
+ # Gersber... | Make SSH and instance wait more ergonomic | josephglanville_gersberms | train | rb |
18c6a5f1a9c94414c5f159b286b9448cf8e7bb48 | diff --git a/lib/setup/create-api-gateway-lambda.js b/lib/setup/create-api-gateway-lambda.js
index <HASH>..<HASH> 100644
--- a/lib/setup/create-api-gateway-lambda.js
+++ b/lib/setup/create-api-gateway-lambda.js
@@ -80,13 +80,22 @@ function ensureLambdaRole(roleName, policyName) {
Resource: ... | Make sure the APIG resource has access to S3 | Testlio_lambda-tools | train | js |
d4dda60fab5a2676675e23f50e158a1b1c6e7546 | diff --git a/nion/swift/model/HardwareSource.py b/nion/swift/model/HardwareSource.py
index <HASH>..<HASH> 100644
--- a/nion/swift/model/HardwareSource.py
+++ b/nion/swift/model/HardwareSource.py
@@ -512,8 +512,11 @@ class DataChannel:
bottom = sub_area[0][0] + sub_area[1][0]
left = sub_area[0]... | Optimize case where sub-area is full area in acq/display pipeline. | nion-software_nionswift | train | py |
5de72aac53386f2a1cb4a2e8b43e3065889e64de | diff --git a/launch_params.py b/launch_params.py
index <HASH>..<HASH> 100644
--- a/launch_params.py
+++ b/launch_params.py
@@ -1,3 +1,5 @@
+from collections import defaultdict
+
# List of the standard launch parameters for an LTI launch
LAUNCH_DATA_PARAMETERS = [
'context_id',
@@ -45,9 +47,11 @@ LAUNCH_DATA_... | Converts param dicts to defaultdicts returning "None" on KeyError | tophatmonocle_ims_lti_py | train | py |
b5f1fae68f7c6aae7b8a2ed03f4f37d73185ed53 | diff --git a/command/request_logger_file_writer.go b/command/request_logger_file_writer.go
index <HASH>..<HASH> 100644
--- a/command/request_logger_file_writer.go
+++ b/command/request_logger_file_writer.go
@@ -96,7 +96,7 @@ func (display *RequestLoggerFileWriter) DisplayType(name string, requestDate tim
}
func (di... | switch to display warning to avoid printing 'FAILED'
[#<I>] | cloudfoundry_cli | train | go,go |
b1eba0e0700f8e4cc019259f39d586ce06dafc97 | diff --git a/lib/linguist/blob_helper.rb b/lib/linguist/blob_helper.rb
index <HASH>..<HASH> 100644
--- a/lib/linguist/blob_helper.rb
+++ b/lib/linguist/blob_helper.rb
@@ -209,13 +209,16 @@ module Linguist
# Public: Should the blob be indexed for searching?
#
# Excluded:
+ # - Files over 0.1MB
# -... | Exclude files over <I>MB from searches | github_linguist | train | rb |
b59d7a18973adb8c9eee5890853517c9d8c3a81d | diff --git a/clients/python/cli.py b/clients/python/cli.py
index <HASH>..<HASH> 100755
--- a/clients/python/cli.py
+++ b/clients/python/cli.py
@@ -339,6 +339,9 @@ if __name__ == '__main__':
leaf_folders_as_items=args.leaf_folders_as_items,
reuse_existing=args.reuse)
elif args.c ... | add CLI documentation that downloads only support folder parent type | girder_girder | train | py |
16dd07527c7aba858525cc7b86a9165ed3fec247 | diff --git a/ccmlib/cmds/cluster_cmds.py b/ccmlib/cmds/cluster_cmds.py
index <HASH>..<HASH> 100644
--- a/ccmlib/cmds/cluster_cmds.py
+++ b/ccmlib/cmds/cluster_cmds.py
@@ -571,6 +571,11 @@ class ClusterUpdateconfCmd(Cmd):
print_(str(e), file=sys.stderr)
exit(1)
+ if self.options.yaml_f... | Validate yaml_file path exists | riptano_ccm | train | py |
93e9697b179c490e7450b44dc6debf580ac1368f | diff --git a/src/Controller/Backend/FileManager.php b/src/Controller/Backend/FileManager.php
index <HASH>..<HASH> 100644
--- a/src/Controller/Backend/FileManager.php
+++ b/src/Controller/Backend/FileManager.php
@@ -78,7 +78,7 @@ class FileManager extends BackendBase
$type = Lib::getExtension($file->getPath());... | Prevent exception empty extension config files
When I want to open a empty extension config file in the backend, I get a exception "The file 'extensions/clientprofiles.bolt.yml' doesn't exist, or is not readable."
$file->read() returns false if file can't be read. At the moment $file->read() returns a empty str... | bolt_bolt | train | php |
a132613d81c283d7206a91184d67140c1f382536 | diff --git a/framework/Orm/TCrud.php b/framework/Orm/TCrud.php
index <HASH>..<HASH> 100644
--- a/framework/Orm/TCrud.php
+++ b/framework/Orm/TCrud.php
@@ -6,6 +6,7 @@ trait TCrud
{
protected $isNew = true;
+ protected $wasNew = false;
protected $isDeleted = false;
public function setNew($new)
@@ ... | + wasNew attribute is added into models | pr-of-it_t4 | train | php |
bdebf5709371d9c2cbf14d31048003b35f490967 | diff --git a/angr/exploration_techniques/driller_core.py b/angr/exploration_techniques/driller_core.py
index <HASH>..<HASH> 100644
--- a/angr/exploration_techniques/driller_core.py
+++ b/angr/exploration_techniques/driller_core.py
@@ -35,10 +35,6 @@ class DrillerCore(ExplorationTechnique):
# Update encounters ... | Don't give driller a completion function come ON | angr_angr | train | py |
cc833c5e2bee651ee55378fbaa8302df60571400 | diff --git a/api/server/server.go b/api/server/server.go
index <HASH>..<HASH> 100644
--- a/api/server/server.go
+++ b/api/server/server.go
@@ -79,7 +79,7 @@ func (s *Server) ServeAPI() error {
srv.srv.Handler = s.CreateMux()
go func(srv *HTTPServer) {
var err error
- logrus.Errorf("API listen on %s", srv.l.... | Fix daemon logs so that "API listen on" is INFO not ERROR
W/o this PR the logs would show:
```
ERRO[<I>] API listen on [::]:<I>
ERRO[<I>] API listen on /var/run/docker.sock
```
which is misleading since these aren't "errors" they're just informational. | moby_moby | train | go |
dfea1ba1f1e82807e458ddcdd5a0ecb53046410d | diff --git a/dallinger/prolific.py b/dallinger/prolific.py
index <HASH>..<HASH> 100644
--- a/dallinger/prolific.py
+++ b/dallinger/prolific.py
@@ -1,6 +1,6 @@
import logging
import requests
-from typing import Optional
+from typing import List, Optional
logger = logging.getLogger(__file__)
@@ -33,7 +33,7 @@ clas... | Attempt to do type hints compatibly with python <I> | Dallinger_Dallinger | train | py |
97fa7aa1cfee2da93348278594edd86b4c6052d7 | diff --git a/tikzplotlib/axes.py b/tikzplotlib/axes.py
index <HASH>..<HASH> 100644
--- a/tikzplotlib/axes.py
+++ b/tikzplotlib/axes.py
@@ -769,8 +769,7 @@ def _handle_listed_color_map(cmap, data):
)
for (k, rgb) in enumerate(repeated_cols[: cmap.N])
]
-
- colormap_string = "{mymap}... | added missing braces for .format() | nschloe_matplotlib2tikz | train | py |
54bfc0a2d5b30e479f37c6a69d620795124b95ee | diff --git a/lib/puffer/backends/controllers/tree_base.rb b/lib/puffer/backends/controllers/tree_base.rb
index <HASH>..<HASH> 100644
--- a/lib/puffer/backends/controllers/tree_base.rb
+++ b/lib/puffer/backends/controllers/tree_base.rb
@@ -9,7 +9,10 @@ module Puffer
return super if puffer_filters.any?
@rec... | Use arel predicates to quote tree expand query | puffer_puffer | train | rb |
4afd4853dbb273305ab8468e860bf2e651883c20 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,5 +1,5 @@
#! /usr/bin/env python
-# Last Change: Sun Dec 14 06:00 PM 2008 J
+# Last Change: Thu Mar 26 05:00 PM 2009 J
# Copyright (C) 2006-2007 Cournapeau David <cournape@gmail.com>
#
@@ -80,5 +80,5 @@ if __name__ == ... | audiolab is not zip-safe (because of test data). | cournape_audiolab | train | py |
22997ec5c88b9ccd1131c92879e38e3e653d5720 | diff --git a/src/processors/AbstractProcessor.php b/src/processors/AbstractProcessor.php
index <HASH>..<HASH> 100644
--- a/src/processors/AbstractProcessor.php
+++ b/src/processors/AbstractProcessor.php
@@ -53,7 +53,6 @@ abstract class AbstractProcessor {
/**
* Revokes the quoting characters from an expres... | CHG: some TODOs have been removed, because the PHPSQLParserUtils class is now deprecated.
git-svn-id: <URL> | greenlion_PHP-SQL-Parser | train | php |
cbadbe79a738175695d3022fe96ff692ab015d39 | diff --git a/bin/newman.js b/bin/newman.js
index <HASH>..<HASH> 100755
--- a/bin/newman.js
+++ b/bin/newman.js
@@ -58,12 +58,12 @@ var _ = require('lodash'),
* --global-var "foo=bar" --global-var "alpha=beta"
*
* @param {String} val - The argument provided to `--global-var`.
- * @param {String} me... | Fixed the jsdoc comment for collect | postmanlabs_newman | train | js |
5a15293c7645c2364db8282b426efcd4eaabe5a3 | diff --git a/Tests/Spec/FsMessageTest.php b/Tests/Spec/FsMessageTest.php
index <HASH>..<HASH> 100644
--- a/Tests/Spec/FsMessageTest.php
+++ b/Tests/Spec/FsMessageTest.php
@@ -3,9 +3,9 @@
namespace Enqueue\Fs\Tests\Spec;
use Enqueue\Fs\FsMessage;
-use Interop\Queue\Spec\PsrMessageSpec;
+use Interop\Queue\Spec\Messag... | Remove "Psr" prefix from spec base tests. | php-enqueue_fs | train | php |
0415c69036e6a2e514ea1b14625d5b584080531b | diff --git a/packages/container/lib/main.js b/packages/container/lib/main.js
index <HASH>..<HASH> 100644
--- a/packages/container/lib/main.js
+++ b/packages/container/lib/main.js
@@ -251,21 +251,13 @@ define("container",
```
@method register
- @param {String} type
- @param {String} nam... | remove already deprecated internal functionality | emberjs_ember.js | train | js |
8ac2441e6bb1004dbee251096e718cfac5a31784 | diff --git a/cellbase-core/src/main/java/org/opencb/cellbase/core/serializer/CellBaseJsonFileSerializer.java b/cellbase-core/src/main/java/org/opencb/cellbase/core/serializer/CellBaseJsonFileSerializer.java
index <HASH>..<HASH> 100644
--- a/cellbase-core/src/main/java/org/opencb/cellbase/core/serializer/CellBaseJsonFil... | develop: CellBaseJsonFileSerializer adapted to deal with avro generated java beans | opencb_cellbase | train | java |
e0fb5d927fe0941b431b634c92e845e7af63fe23 | diff --git a/src/lib/logger.js b/src/lib/logger.js
index <HASH>..<HASH> 100644
--- a/src/lib/logger.js
+++ b/src/lib/logger.js
@@ -93,6 +93,10 @@ function setup(logs) {
},
});
+ process.on('SIGUSR2', function () {
+ log.reopenFileStreams();
+ });
+
module.exports.logger = logger;
} | Add signal-handling to allow proper log-rotation. | verdaccio_verdaccio | train | js |
3adf5c8e35aa93603cf72dfe115808bc8372ca6a | diff --git a/starbound/sbbf02.py b/starbound/sbbf02.py
index <HASH>..<HASH> 100644
--- a/starbound/sbbf02.py
+++ b/starbound/sbbf02.py
@@ -86,8 +86,7 @@ class FileSBBF02(filebase.File):
super(FileSBBF02, self).initialize()
stream = self._stream
- header = stream.read(6)
- assert (heade... | Shorten SBBF<I>/<I> condition a little | blixt_py-starbound | train | py |
a05ad45183f1e1fd3e12a456fbb74e13e23036f1 | diff --git a/src/Version.php b/src/Version.php
index <HASH>..<HASH> 100644
--- a/src/Version.php
+++ b/src/Version.php
@@ -34,6 +34,10 @@ final class Version
/**
* Compares a version to Bolt's version.
*
+ * Note: Be sure to include the `.z` number in the version given, as omitting it can give inco... | Clarify that Version::compare needs the .z version number to be included | bolt_bolt | train | php |
2ff9628ebe4221e42c949bd97ac329a118dfdaab | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -89,9 +89,11 @@ export const createContainer = (module) =>{
})
}
const Container = (props) => props.children( Object.assign({}, props, {
- dispatch : dispatch,
- commit : commit,
- set: set
+ dis... | added commitAsync and dispatchPromise to container | anish000kumar_redux-box | train | js |
6ad0d9a845b232e520b98571dd67abf3aaa8caef | diff --git a/lib/Toolbar.js b/lib/Toolbar.js
index <HASH>..<HASH> 100644
--- a/lib/Toolbar.js
+++ b/lib/Toolbar.js
@@ -17,10 +17,6 @@ import isFunction from './utils';
const styles = StyleSheet.create({
toolbar: {
- position: 'absolute',
- top: 0,
- left: 0,
- right: 0,
heig... | Remove absolute position of toolbar
This change will probably break desing of your app. But I think you should just remove margin top of your views. I think this library it's not about position of components on screen. Just about styles. It's up to you find a place for components on screen. | xotahal_react-native-material-ui | train | js |
84a95f0c20633f842a6f16e3a107edbf8832fa0b | diff --git a/library/src/android/support/v4/app/FragmentActivity.java b/library/src/android/support/v4/app/FragmentActivity.java
index <HASH>..<HASH> 100644
--- a/library/src/android/support/v4/app/FragmentActivity.java
+++ b/library/src/android/support/v4/app/FragmentActivity.java
@@ -173,7 +173,7 @@ public class Frag... | Logic problem with removing action bar flag. Refs #<I>. | JakeWharton_ActionBarSherlock | train | java |
169f96d0480b256aae10420174353c2251e6908f | diff --git a/lib/rest-graph/rails_util.rb b/lib/rest-graph/rails_util.rb
index <HASH>..<HASH> 100644
--- a/lib/rest-graph/rails_util.rb
+++ b/lib/rest-graph/rails_util.rb
@@ -2,10 +2,17 @@
require 'rest-graph'
module RestGraph::RailsUtil
+ module Helper
+ def rest_graph
+ controller.rest_graph
+ end
+ ... | rails_util.rb: might want rest_graph available in view as well. | godfat_rest-core | train | rb |
5b071d08deb6a0d5a5ecd8e31119f1044867887e | diff --git a/core/server/data/schema/schema.js b/core/server/data/schema/schema.js
index <HASH>..<HASH> 100644
--- a/core/server/data/schema/schema.js
+++ b/core/server/data/schema/schema.js
@@ -29,7 +29,7 @@ module.exports = {
defaultTo: 'public',
validations: {isIn: [['public', 'members', 'p... | Made send_email_when_published nullable
no-issue | TryGhost_Ghost | train | js |
c413ab907c3516d460db1f8ef04f799ea61b5618 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -52,10 +52,9 @@ BlobStore.prototype.createWriteStream = function(opts, cb) {
return proxy
}
-BlobStore.prototype.createReadStream = function(opts) {
- if (typeof opts === 'string') opts = {key:opts}
- var key = join(th... | support options as 2nd arg in readstream | mafintosh_fs-blob-store | train | js |
fa3f87a5f61356ba8205b6002644215cdebb2293 | diff --git a/communicator/ssh/keychain.go b/communicator/ssh/keychain.go
index <HASH>..<HASH> 100644
--- a/communicator/ssh/keychain.go
+++ b/communicator/ssh/keychain.go
@@ -10,6 +10,9 @@ import (
"io"
)
+// SimpleKeychain makes it easy to use private keys in order to connect
+// via SSH, since the interface expo... | communicator/ssh: docs | hashicorp_packer | train | go |
24c35bfb6e5812bfa8cca36dbeffb4ffe30babd1 | diff --git a/src/tuwien/auto/calimero/datapoint/CommandDP.java b/src/tuwien/auto/calimero/datapoint/CommandDP.java
index <HASH>..<HASH> 100644
--- a/src/tuwien/auto/calimero/datapoint/CommandDP.java
+++ b/src/tuwien/auto/calimero/datapoint/CommandDP.java
@@ -1,6 +1,6 @@
/*
Calimero 2 - A library for KNX network a... | Make sure the end tag of the datapoint element is read | calimero-project_calimero-core | train | java |
85eeaa7d02e15d04124f5bc8424ac5b606e14d06 | diff --git a/waliki_project/waliki_project/settings.py b/waliki_project/waliki_project/settings.py
index <HASH>..<HASH> 100644
--- a/waliki_project/waliki_project/settings.py
+++ b/waliki_project/waliki_project/settings.py
@@ -39,7 +39,7 @@ TEMPLATE_CONTEXT_PROCESSORS = (
# allauth specific context processors
... | remove guardian from demo installed_apps | mgaitan_waliki | train | py |
06eb388c3f124a1e6a64f57f3758fca1df661782 | diff --git a/builtin/providers/template/resource.go b/builtin/providers/template/resource.go
index <HASH>..<HASH> 100644
--- a/builtin/providers/template/resource.go
+++ b/builtin/providers/template/resource.go
@@ -5,6 +5,8 @@ import (
"encoding/hex"
"fmt"
"io/ioutil"
+ "os"
+ "path/filepath"
"github.com/hash... | provider/template: store relative path in state
This makes template_file usage in modules portable. | hashicorp_terraform | train | go |
5f4fa608ac79228f082bcc9d4405b54b8c0c6f5d | diff --git a/lib/eu_central_bank.rb b/lib/eu_central_bank.rb
index <HASH>..<HASH> 100644
--- a/lib/eu_central_bank.rb
+++ b/lib/eu_central_bank.rb
@@ -17,8 +17,8 @@ class EuCentralBank < Money::Bank::VariableExchange
SERIALIZER_DATE_SEPARATOR = '_AT_'
CURRENCIES = %w(USD JPY BGN CZK DKK GBP HUF ILS ISK PLN RON ... | Use https for request urls (#<I>) | RubyMoney_eu_central_bank | train | rb |
b2f04c0624f0fa31d4eebc057527df870ccb7d9a | diff --git a/niworkflows/anat/ants.py b/niworkflows/anat/ants.py
index <HASH>..<HASH> 100644
--- a/niworkflows/anat/ants.py
+++ b/niworkflows/anat/ants.py
@@ -1082,7 +1082,7 @@ def _imsum(op1, op2, out_file=None):
im1 = nb.load(op1)
- data = im1.get_fdata() + nb.load(op2).get_fdata()
+ data = im1.get_fda... | enh: use <I>bit precision where @mgxd's suggested | poldracklab_niworkflows | train | py |
29a6ec92d3be80fce0edf019d769852e9fc71714 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -13,7 +13,7 @@ URL = 'https://github.com/google/importlab'
EMAIL = 'pytype-dev@google.com'
AUTHOR = 'Google Inc.'
REQUIRES_PYTHON = '>=2.7.0'
-VERSION = '0.3.1'
+VERSION = '0.4'
REQUIRED = [
'networkx', | Update the version number in setup.py. | google_importlab | train | py |
34fd094bad96e249fddd3c60ea97c69a2479fba5 | diff --git a/lib/radiant/extension.rb b/lib/radiant/extension.rb
index <HASH>..<HASH> 100644
--- a/lib/radiant/extension.rb
+++ b/lib/radiant/extension.rb
@@ -60,8 +60,8 @@ module Radiant
@route_definitions ||= []
end
- def config
- Rails.configuration
+ def extension_config(&block)
+... | Expose configuration as a block instead of instance | radiant_radiant | train | rb,rb |
3c3d4412dfcf236ba15d643ab83b179eae6033da | diff --git a/core/Plugin.php b/core/Plugin.php
index <HASH>..<HASH> 100644
--- a/core/Plugin.php
+++ b/core/Plugin.php
@@ -316,7 +316,9 @@ class Plugin
return; // might by "false" in case has no menu, widget, ...
}
- include_once $componentFile;
+ if (file_exists($c... | before including a file make sure it exists... makes the whole cache kinda needless but avoid a warning if a server's APC is not configured correctly for a few seconds/minutes after updating | matomo-org_matomo | train | php |
261f8ec74b77c58b19de73f9cbe9c8eb1eb19b87 | diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index <HASH>..<HASH> 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -116,7 +116,7 @@ module ApplicationHelper
end
def js_distance_of_time_in_words_to_now(date)
- time = date.utc.s... | Took timezone out of JS "days ago" string. Since we always send it in GMT/UTC, asking the system for the TZ name is redundant and apparently causes locale problems. (closes #<I>)
git-svn-id: <URL> | publify_publify | train | rb |
4e0b16d458f2f99d234f20551662c5daac960801 | diff --git a/lib/ProMotion/delegate/delegate_notifications.rb b/lib/ProMotion/delegate/delegate_notifications.rb
index <HASH>..<HASH> 100644
--- a/lib/ProMotion/delegate/delegate_notifications.rb
+++ b/lib/ProMotion/delegate/delegate_notifications.rb
@@ -27,10 +27,10 @@ module ProMotion
mask = UIApplication.shar... | DelegateNotifications: Fix an issue with the bitmask | infinitered_ProMotion | train | rb |
b07837f545ab6b0e2eb593b94b6e7c115bd99075 | diff --git a/src/main/java/net/dv8tion/jda/internal/JDAImpl.java b/src/main/java/net/dv8tion/jda/internal/JDAImpl.java
index <HASH>..<HASH> 100644
--- a/src/main/java/net/dv8tion/jda/internal/JDAImpl.java
+++ b/src/main/java/net/dv8tion/jda/internal/JDAImpl.java
@@ -758,8 +758,7 @@ public class JDAImpl implements JDA
... | Fix deadlock on requester shutdown during login | DV8FromTheWorld_JDA | train | java |
e72c1d0167224e8ff34a30ae56f01544b382eebf | diff --git a/lib/lentil/admin/images.rb b/lib/lentil/admin/images.rb
index <HASH>..<HASH> 100644
--- a/lib/lentil/admin/images.rb
+++ b/lib/lentil/admin/images.rb
@@ -31,7 +31,11 @@ if defined?(ActiveAdmin)
index do
column "Image" do |image|
- link_to(image_tag(image.image_url, :class => "moderatio... | Added video support to admin lentil images index page for quick viewing | NCSU-Libraries_lentil | train | rb |
a9338d88787f189d3a40ddf1855cfcefb628b831 | diff --git a/app/models/project_attributes.rb b/app/models/project_attributes.rb
index <HASH>..<HASH> 100644
--- a/app/models/project_attributes.rb
+++ b/app/models/project_attributes.rb
@@ -1,7 +1,6 @@
class ProjectAttributes < ActiveRecord::Base
belongs_to :user
- belongs_to :project
-
+
def project
Pr... | Fix wrong association to Project in ProjectAttributes
It doesn't work since Project is an entity from KalibroClient, not a
normal ActiveRecord model. | mezuro_prezento | train | rb,rb |
2f22144d54ea8c5057210f00c91daeaefa61d874 | diff --git a/src/test/java/mousio/etcd4j/TestFunctionality.java b/src/test/java/mousio/etcd4j/TestFunctionality.java
index <HASH>..<HASH> 100644
--- a/src/test/java/mousio/etcd4j/TestFunctionality.java
+++ b/src/test/java/mousio/etcd4j/TestFunctionality.java
@@ -106,10 +106,10 @@ public class TestFunctionality {
*/... | Remove a unused variable warning from TestFunctionality | jurmous_etcd4j | train | java |
36a366bfeb64bb5580e9e64e9bc5c29ef088c8bb | diff --git a/src/ol/renderer/canvas/VectorTileLayer.js b/src/ol/renderer/canvas/VectorTileLayer.js
index <HASH>..<HASH> 100644
--- a/src/ol/renderer/canvas/VectorTileLayer.js
+++ b/src/ol/renderer/canvas/VectorTileLayer.js
@@ -167,10 +167,10 @@ class CanvasVectorTileLayerRenderer extends CanvasTileLayerRenderer {
*... | Do not stop event propagation in prepareTile | openlayers_openlayers | train | js |
199bee688565323a65ccc9e1b495a018d81e7ecb | diff --git a/powershell/hyperv/hyperv.go b/powershell/hyperv/hyperv.go
index <HASH>..<HASH> 100644
--- a/powershell/hyperv/hyperv.go
+++ b/powershell/hyperv/hyperv.go
@@ -782,10 +782,7 @@ param([string]$vmName, [string]$scanCodes)
if (!$timeToWait){
$timeToWait = "1"
}
-
- write-host "Special code <wa... | Need to sleep after sending previous characters, not before | hashicorp_packer | train | go |
0a7ef107a1d0bd006316ee3b95c3d3d849f3191b | diff --git a/schedule/__init__.py b/schedule/__init__.py
index <HASH>..<HASH> 100644
--- a/schedule/__init__.py
+++ b/schedule/__init__.py
@@ -403,11 +403,7 @@ class Job(object):
hour = 0
minute = 0
minute = int(minute)
- if 0 > minute or minute > 60:
- raise Schedul... | Remove unreachable code
The regular expression above makes it impossible to have a number above <I> or below 0, so these exceptions can never be raised | dbader_schedule | train | py |
21c75aa6d7da88b586099d5beee99a565d9fa899 | diff --git a/src/Propel/Generator/Builder/Om/ObjectBuilder.php b/src/Propel/Generator/Builder/Om/ObjectBuilder.php
index <HASH>..<HASH> 100644
--- a/src/Propel/Generator/Builder/Om/ObjectBuilder.php
+++ b/src/Propel/Generator/Builder/Om/ObjectBuilder.php
@@ -6041,6 +6041,10 @@ abstract class ".$this->getUnqualifiedClas... | Check 'alreadyInSave' before save transaction (#<I>) | propelorm_Propel2 | train | php |
fe431c05b98864e692296603c0c981306185e9b9 | diff --git a/lib/sass/plugin/rack.rb b/lib/sass/plugin/rack.rb
index <HASH>..<HASH> 100644
--- a/lib/sass/plugin/rack.rb
+++ b/lib/sass/plugin/rack.rb
@@ -54,7 +54,7 @@ module Sass
end
if defined?(ActionDispatch::Callbacks.to_prepare)
- ActionDispatch::Callbacks.instance_eval {undef :__sass... | [Sass] Disable the Sass plugin in Rails if Rack is loaded in a slightly nicer way. | sass_ruby-sass | train | rb |
57f0dec626da8c47589b96dad02d9eac6b78d06c | diff --git a/languagetool-language-modules/en/src/main/java/org/languagetool/rules/en/AbstractEnglishSpellerRule.java b/languagetool-language-modules/en/src/main/java/org/languagetool/rules/en/AbstractEnglishSpellerRule.java
index <HASH>..<HASH> 100644
--- a/languagetool-language-modules/en/src/main/java/org/languageto... | [en] better suggestion for 'ure' as in 'ure my sunshine' | languagetool-org_languagetool | train | java |
ce4ae155b014997ef11632aebb6dbc4b844ccf20 | diff --git a/src/FileUpload/FileSystem/Simple.php b/src/FileUpload/FileSystem/Simple.php
index <HASH>..<HASH> 100644
--- a/src/FileUpload/FileSystem/Simple.php
+++ b/src/FileUpload/FileSystem/Simple.php
@@ -28,7 +28,7 @@ class Simple implements FileSystem {
* @see FileSystem
*/
public function moveUploadedFi... | Fixing uplaod problem with rename method | Gargron_fileupload | train | php |
c96c69e712d63f11caf57f8ff982580cace7ce85 | diff --git a/common/service_test.go b/common/service_test.go
index <HASH>..<HASH> 100644
--- a/common/service_test.go
+++ b/common/service_test.go
@@ -37,7 +37,7 @@ func TestServiceAddress(t *testing.T) {
if err != nil {
t.Errorf("should not return an error: %s", err)
}
- if sa.Addr != "[::1]" || sa.Port != 8080... | test : Fedora resolv localhost as an IPv4 address and localhost6 as IPv6 address | skydive-project_skydive | train | go |
4c4446a71f6f8a130e3ba2eccb82bafbb52f2033 | diff --git a/src/test/java/redis/clients/jedis/tests/commands/SortedSetCommandsTest.java b/src/test/java/redis/clients/jedis/tests/commands/SortedSetCommandsTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/redis/clients/jedis/tests/commands/SortedSetCommandsTest.java
+++ b/src/test/java/redis/clients/jedis/tes... | Remove unused (by accident?) import | xetorthio_jedis | train | java |
b30a5cd5a994a142edade2d6703c8f187cbf1127 | diff --git a/lib/runCode.js b/lib/runCode.js
index <HASH>..<HASH> 100644
--- a/lib/runCode.js
+++ b/lib/runCode.js
@@ -109,6 +109,11 @@ module.exports = function (opts, cb) {
// iterate through the given ops until something breaks or we hit STOP
function runVm (err) {
+ // Check that the programCounter is in... | lib/runCode: Validate if opts.pc is in range | ethereumjs_ethereumjs-vm | train | js |
7e9dd7469f88d676959141534809b0bc10fc9a66 | diff --git a/picotui/context.py b/picotui/context.py
index <HASH>..<HASH> 100644
--- a/picotui/context.py
+++ b/picotui/context.py
@@ -21,3 +21,6 @@ class Context:
Screen.goto(0, 50)
Screen.cursor(True)
Screen.deinit_tty()
+ # This makes sure that entire screenful is scrolled up, and
+... | context: Print newline on de-initialization.
To make sure entire screenful is scrolled up and console output starts
on fresh line. | pfalcon_picotui | train | py |
150c0ce27e3df4cf7cebb047821fa2eb7c36943d | diff --git a/helper.go b/helper.go
index <HASH>..<HASH> 100644
--- a/helper.go
+++ b/helper.go
@@ -25,6 +25,11 @@ const (
AttrReverse
)
+var (
+ dot = "…"
+ dotw = rw.StringWidth(dot)
+)
+
/* ----------------------- End ----------------------------- */
func toTmAttr(x Attribute) tm.Attribute {
@@ -39,5 +44,10... | Strip dot when width is not enough to display | gizak_termui | train | go |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.