hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
2458e5b7afe3deb9521269f991db574ea0f3b6a1
diff --git a/lib/griffin/server_config_builder.rb b/lib/griffin/server_config_builder.rb index <HASH>..<HASH> 100644 --- a/lib/griffin/server_config_builder.rb +++ b/lib/griffin/server_config_builder.rb @@ -33,13 +33,14 @@ module Griffin port: 50051, pool_size: DEFAULT_POOL_SIZE, interceptors: [], ...
services and interceptors are able to be add item many times
cookpad_griffin
train
5bd159051949e483f63be44567a911b028c9b4fb
diff --git a/app/services/socializer/add_default_circles.rb b/app/services/socializer/add_default_circles.rb index <HASH>..<HASH> 100644 --- a/app/services/socializer/add_default_circles.rb +++ b/app/services/socializer/add_default_circles.rb @@ -69,22 +69,22 @@ module Socializer def acquaintances_content ...
Layout/LineEndStringConcatenationIndentation: Indent the first part of a string concatenated with backslash.
socializer_socializer
train
5c0266d28bc7da7717db5d35ebfee7532a71c178
diff --git a/pyemma/coordinates/clustering/uniform_time.py b/pyemma/coordinates/clustering/uniform_time.py index <HASH>..<HASH> 100644 --- a/pyemma/coordinates/clustering/uniform_time.py +++ b/pyemma/coordinates/clustering/uniform_time.py @@ -98,7 +98,7 @@ class UniformTimeClustering(AbstractClustering): ...
[clustering/uniform_time] fix tprev length assignment
markovmodel_PyEMMA
train
2108a54fcb6287113bb7ceb13e4cbbb8933bdb02
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -8,16 +8,18 @@ SOURCE_DIR = os.path.join(ROOT_DIR) test_requirements = [] setup( name="docker-py", - version='0.1.5', + version='0.2.0', description="Python client for Docker.", packages=['docker'], ...
Bumped version in setup.py and changed development status from alpha to beta
docker_docker-py
train
0a05be85c860aa9dccd68df09d7b3a5668866e61
diff --git a/lib/index.js b/lib/index.js index <HASH>..<HASH> 100644 --- a/lib/index.js +++ b/lib/index.js @@ -225,6 +225,17 @@ exports.createAPI = function (options, callback) { return callback(null, docs); }); }; + hoodie.user.remove = function (username, callback) { + var _id = '...
added user.remove method This commit was sponsored by The Hoodie Firm with support from NLnet: <URL>
hoodiehq-archive_hoodie-plugins-api
train
82049667a356cf360d5c6eb239caed83c6d67b31
diff --git a/aeron-driver/src/main/java/io/aeron/driver/PublicationImage.java b/aeron-driver/src/main/java/io/aeron/driver/PublicationImage.java index <HASH>..<HASH> 100644 --- a/aeron-driver/src/main/java/io/aeron/driver/PublicationImage.java +++ b/aeron-driver/src/main/java/io/aeron/driver/PublicationImage.java @@ -3...
[Java] Use standard way of reporting source identity.
real-logic_aeron
train
b901a32217106beb94721e2363e18abecd2acf82
diff --git a/tests/test_pandas_dataset.py b/tests/test_pandas_dataset.py index <HASH>..<HASH> 100644 --- a/tests/test_pandas_dataset.py +++ b/tests/test_pandas_dataset.py @@ -751,7 +751,6 @@ class TestPandasDataset(unittest.TestCase): 'y' : [5.0, 5], 'z' : [0, 10], 'n' : [0, None]...
reduced a TypeError in expect_column_mean_to_be_between
great-expectations_great_expectations
train
4b4294eb6c0fac64f92c54290c9db4826a9c4ad1
diff --git a/epic2cf/data.py b/epic2cf/data.py index <HASH>..<HASH> 100644 --- a/epic2cf/data.py +++ b/epic2cf/data.py @@ -308,10 +308,10 @@ epic_map = { 902 : dict(standard_name=None, long_name=None, units=None, convert=lambda x: x, cf_units=None, cell_methods=None), # Irr:Irradiance(CTD) : :uEin cm-2 ...
Fix the PAR standard_names (<I> and <I>)
axiom-data-science_epic2cf
train
de94c59511097e0267ecd2ab7929196106dfcaab
diff --git a/public/js/actions/sources.js b/public/js/actions/sources.js index <HASH>..<HASH> 100644 --- a/public/js/actions/sources.js +++ b/public/js/actions/sources.js @@ -136,6 +136,8 @@ function selectSource(id: string, options: SelectSourceOptions = {}) { // Make sure to start a request to load the source te...
close source search when a source is selected
firefox-devtools_debugger
train
650b494ca56c3af9306d9153374fd9aa76f5e57c
diff --git a/models/fallahi_eval/assemble_pysb.py b/models/fallahi_eval/assemble_pysb.py index <HASH>..<HASH> 100644 --- a/models/fallahi_eval/assemble_pysb.py +++ b/models/fallahi_eval/assemble_pysb.py @@ -5,10 +5,12 @@ from pysb.integrate import Solver from indra.statements import * from indra.mechlinker import Mec...
Add drug-target statements to PySB assembly
sorgerlab_indra
train
d4ca79b6be10a4d983357f91a870c5fc5e79bbfb
diff --git a/lib/http_objects/version.rb b/lib/http_objects/version.rb index <HASH>..<HASH> 100644 --- a/lib/http_objects/version.rb +++ b/lib/http_objects/version.rb @@ -1,3 +1,3 @@ module HttpObjects - VERSION = "0.0.3" + VERSION = "0.0.4pre" end
Bumping to version <I>pre
rogerleite_http_objects
train
86482642be2cec18dd9c1d4ab92f93b7d44131ae
diff --git a/nfc/tag/__init__.py b/nfc/tag/__init__.py index <HASH>..<HASH> 100644 --- a/nfc/tag/__init__.py +++ b/nfc/tag/__init__.py @@ -162,9 +162,10 @@ class Tag(object): """ import nfc.ndef - - if len(self._data) > 3: - try: return nfc.n...
new Tag.ndef.octets attribute to prepare transition to ndeflib
nfcpy_nfcpy
train
82dd699eb5f6e0e13102d9c5af5916338f9f9604
diff --git a/expr/func_avgseries.go b/expr/func_avgseries.go index <HASH>..<HASH> 100644 --- a/expr/func_avgseries.go +++ b/expr/func_avgseries.go @@ -35,6 +35,11 @@ func (s *FuncAvgSeries) Exec(cache map[Req][]models.Series) ([]models.Series, er } series = append(series, in...) } + + if len(series) == 0 { + r...
make sum/avg gracefully handle empty lists
grafana_metrictank
train
53864a67c4cc56593dd0166e90270edea94355da
diff --git a/kuyruk/kuyruk.py b/kuyruk/kuyruk.py index <HASH>..<HASH> 100644 --- a/kuyruk/kuyruk.py +++ b/kuyruk/kuyruk.py @@ -62,7 +62,7 @@ class Kuyruk: yield ch @contextmanager - def connection(self) -> Iterator[amqp.Connection]: + def connection(self, vhost: str = None, user: str = Non...
allow overriding vhost, user and password when connecting
cenkalti_kuyruk
train
6392596b137baab59cee3ed4f8c408fe108a8a86
diff --git a/menuconfig.py b/menuconfig.py index <HASH>..<HASH> 100755 --- a/menuconfig.py +++ b/menuconfig.py @@ -130,8 +130,9 @@ _N_SCROLL_ARROWS = 14 # Lines of help text shown at the bottom of the "main" display _MAIN_HELP_LINES = """ -[Space/Enter] Toggle/enter [ESC] Leave menu [S] Save [O] Load -[...
menuconfig: Add mode for showing all symbol names Pressing 'c' toggles show-name mode, where names of symbols are displayed before their prompt.
ulfalizer_Kconfiglib
train
c1ba82ab8091a6f782d815ec0fc61dc23eecaaa4
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -7,7 +7,8 @@ var core = {}; // load core modules from builtin dir fs.readdirSync(path.resolve(__dirname, 'builtin')).forEach(function(file) { - core[path.basename(file, '.js')] = path.resolve(__dirname, 'builtin', file)...
[fix] don't include internal files in module object
alexgorbatchev_node-browser-builtins
train
0094bb58c34b6eb83a08060881726b7d514c3483
diff --git a/src/db/clients/sqlserver.js b/src/db/clients/sqlserver.js index <HASH>..<HASH> 100644 --- a/src/db/clients/sqlserver.js +++ b/src/db/clients/sqlserver.js @@ -59,7 +59,7 @@ const executePromiseQuery = (connection, query) => new Promise(async (resolve, r if (isSelect) { resolve({ rows: r...
Use a better name for property in the map function
sqlectron_sqlectron-core
train
4c2a04ee16ec0ca7a8abebb33757270a02345f74
diff --git a/mod/quiz/format.php b/mod/quiz/format.php index <HASH>..<HASH> 100644 --- a/mod/quiz/format.php +++ b/mod/quiz/format.php @@ -6,7 +6,7 @@ /// Doesn't do everything on it's own -- it needs to be extended. // //////////////////////////////////////////////////////////////////// -// Included by import.php ...
Added 'virtual' method for writequestion
moodle_moodle
train
b1be0b5d0c1147d2ee1bb4175dfb232b1e058685
diff --git a/lib/svtplay_dl/service/picsearch.py b/lib/svtplay_dl/service/picsearch.py index <HASH>..<HASH> 100644 --- a/lib/svtplay_dl/service/picsearch.py +++ b/lib/svtplay_dl/service/picsearch.py @@ -21,15 +21,19 @@ class Picsearch(Service, OpenGraphThumbMixin): ajax_auth = re.search(r"picsearch_ajax_auth...
picsearch: support for screen9 videos
spaam_svtplay-dl
train
f84b19748d7d0dfda496b73ab365a2e64b377696
diff --git a/tests/languages/python_test.py b/tests/languages/python_test.py index <HASH>..<HASH> 100644 --- a/tests/languages/python_test.py +++ b/tests/languages/python_test.py @@ -7,7 +7,6 @@ import sys import mock import pytest -from pre_commit import parse_shebang from pre_commit.languages import python @...
Patch the correct find_executable
pre-commit_pre-commit
train
83b3d11ddc02e829a1b393e9acd9045fab0b777f
diff --git a/src/com/esotericsoftware/kryo/util/Util.java b/src/com/esotericsoftware/kryo/util/Util.java index <HASH>..<HASH> 100644 --- a/src/com/esotericsoftware/kryo/util/Util.java +++ b/src/com/esotericsoftware/kryo/util/Util.java @@ -33,15 +33,19 @@ import java.lang.reflect.Type; public class Util { static pub...
Added the system property "kryo.unsafe" to disable accessing Unsafe. closes #<I>
EsotericSoftware_kryo
train
8ac92bcdbc7a69d1aea7a55578ecf24cc0a7fcef
diff --git a/cell/lrp_test.go b/cell/lrp_test.go index <HASH>..<HASH> 100644 --- a/cell/lrp_test.go +++ b/cell/lrp_test.go @@ -123,7 +123,7 @@ var _ = Describe("LRP", func() { Context("when it's unhealthy for longer than its start timeout", func() { BeforeEach(func() { - lrp.StartTimeout = 5 + lrp.StartT...
Change Timeout to Milliseconds across diego components [#<I>]
cloudfoundry_inigo
train
943161a480d06adef6b3e919956f2d874af7dc94
diff --git a/sem/manager.py b/sem/manager.py index <HASH>..<HASH> 100644 --- a/sem/manager.py +++ b/sem/manager.py @@ -300,9 +300,14 @@ class CampaignManager(object): next_runs = self.db.get_next_rngruns() available_params = [r['params'] for r in self.db.get_results()] for param_c...
Remove items from the search list as they are found
signetlabdei_sem
train
c7ab8fb08273165ae7d3309b85bae256bce68bf7
diff --git a/src/PhpDoc/TypeNodeResolver.php b/src/PhpDoc/TypeNodeResolver.php index <HASH>..<HASH> 100644 --- a/src/PhpDoc/TypeNodeResolver.php +++ b/src/PhpDoc/TypeNodeResolver.php @@ -65,7 +65,7 @@ class TypeNodeResolver public function getCacheKey(): string { - $key = 'v50'; + $key = 'v51'; foreach ($thi...
null is also scalar
phpstan_phpstan
train
7d2b8f3ac98e11ab34e3395dd921984b8dd61e9a
diff --git a/activejob/test/cases/argument_serialization_test.rb b/activejob/test/cases/argument_serialization_test.rb index <HASH>..<HASH> 100644 --- a/activejob/test/cases/argument_serialization_test.rb +++ b/activejob/test/cases/argument_serialization_test.rb @@ -12,7 +12,7 @@ class ArgumentSerializationTest < Activ...
Fix "warning: BigDecimal.new is deprecated"
rails_rails
train
ca108e44b0e0d8a66de81c32b67b8fc28e7986d8
diff --git a/tgz_test.go b/tgz_test.go index <HASH>..<HASH> 100644 --- a/tgz_test.go +++ b/tgz_test.go @@ -8,16 +8,8 @@ import ( "regexp" "sort" "testing" - - . "gopkg.in/check.v1" ) -func Test(t *testing.T) { TestingT(t) } - -type SuiteTGZ struct{} - -var _ = Suite(&SuiteTGZ{}) - func TestExtractError(t *tes...
no longer depends on go check, for real
alcortesm_tgz
train
c521d2fe6183abebe8a19de32968c11494ea13fb
diff --git a/addon/serializers/offline.js b/addon/serializers/offline.js index <HASH>..<HASH> 100644 --- a/addon/serializers/offline.js +++ b/addon/serializers/offline.js @@ -65,17 +65,20 @@ export default DS.JSONSerializer.extend({ json[key] = `${value}`; } else if (typeof value === 'undefined') { ...
Forgot about some cases Numbers and decimals can be `undefined`. Booleans can be null.
Flexberry_ember-flexberry-data
train
db9ef08a8da60fe28b64bfa0136e7549d526f24d
diff --git a/actionview/test/template/digestor_test.rb b/actionview/test/template/digestor_test.rb index <HASH>..<HASH> 100644 --- a/actionview/test/template/digestor_test.rb +++ b/actionview/test/template/digestor_test.rb @@ -17,8 +17,7 @@ class FixtureFinder < ActionView::LookupContext FIXTURES_DIR = "#{File.dirna...
the lookup context looks in the cwd, so prefix isn't necessary
rails_rails
train
0baba701cd42a75be7ba90080f3a3e7266fb45b5
diff --git a/fabric/connection.py b/fabric/connection.py index <HASH>..<HASH> 100644 --- a/fabric/connection.py +++ b/fabric/connection.py @@ -453,6 +453,9 @@ class Connection(Context): kwargs['sock'] = self.open_gateway() if self.connect_timeout: kwargs['timeout'] = self.connect_time...
Implement list-type behavior for --identity CLI flag. Brings this up to parity with v1
fabric_fabric
train
16ca764f190b98ae70b14d486f9ca4b06a278a76
diff --git a/lib/link-writer.js b/lib/link-writer.js index <HASH>..<HASH> 100644 --- a/lib/link-writer.js +++ b/lib/link-writer.js @@ -60,8 +60,14 @@ function create (me, lp, link) { // directory, it's very possible that the thing we're linking to // doesn't exist yet (especially if it was intended as a symli...
Fix isaacs/npm#<I> Symlinks can fail in many ways on windows.
npm_fstream
train
6cae894bc8ad5666509602573927219f73c64db3
diff --git a/js/browser.js b/js/browser.js index <HASH>..<HASH> 100755 --- a/js/browser.js +++ b/js/browser.js @@ -1537,6 +1537,7 @@ class Browser { // Build locus array (multi-locus view). Use the first track to extract the loci, any track could be used. const locus = [] const gtexSelection...
Change to session state validation -- test for presence of File objects, not File-like objects.
igvteam_igv.js
train
7c579dd24dc18e6f633f0c2de725a10a39681936
diff --git a/lib/createsend/client.rb b/lib/createsend/client.rb index <HASH>..<HASH> 100644 --- a/lib/createsend/client.rb +++ b/lib/createsend/client.rb @@ -134,11 +134,12 @@ module CreateSend end # Sets the monthly billing settings for this client. - def set_monthly_billing(currency, client_pays, mark...
CM-<I> - Change API wrappers to support basic / unlimited pricing * Ruby version done.
campaignmonitor_createsend-ruby
train
22277bfa7828580bd8d02142422f2f8f6674a216
diff --git a/src/adafruit_blinka/board/odroidc2.py b/src/adafruit_blinka/board/odroidc2.py index <HASH>..<HASH> 100644 --- a/src/adafruit_blinka/board/odroidc2.py +++ b/src/adafruit_blinka/board/odroidc2.py @@ -56,6 +56,8 @@ SCL = pin.I2C0_SCL SCLK = pin.SPI0_SCLK MOSI = pin.SPI0_MOSI MISO = pin.SPI0_MISO +SPI_CS0 =...
SPI fixes for a couple boards
adafruit_Adafruit_Blinka
train
82a2b1a01957ccbfd3a6abe31133f49b9005bced
diff --git a/cake/bootstrap.php b/cake/bootstrap.php index <HASH>..<HASH> 100644 --- a/cake/bootstrap.php +++ b/cake/bootstrap.php @@ -48,5 +48,5 @@ error_reporting(E_ALL & ~E_DEPRECATED); $url = null; - App::import('Core', array('Dispatcher')); + require CAKE . 'dispatcher.php'; ?> \ No newline at end of file d...
Changing import of Dispatcher to direct require. Modifying order of operations in Configure::__loadBootstrap() moving inclusion of app/config/bootstrap.php after the creation of core cache configs. This allows App::import() to be used in the bootstrap file with cached paths.
cakephp_cakephp
train
634e3eef93c6b33f4649c22be1b03159d49a7c5b
diff --git a/squad/frontend/static/squad/filter.js b/squad/frontend/static/squad/filter.js index <HASH>..<HASH> 100644 --- a/squad/frontend/static/squad/filter.js +++ b/squad/frontend/static/squad/filter.js @@ -29,9 +29,9 @@ function FilterController($scope, $attrs, $location) { $scope.update = function() { U...
frontend: build: make "details" URL parameter independent of selection order Depending on which order one expands details in the test results table, we might get different URLs.
Linaro_squad
train
96a26ba48ef505e3fe096e3db97657bc91a59ed5
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/events/EventsListener.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/events/EventsListener.java index <HASH>..<HASH> 100644 --- a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/events/EventsListener.jav...
Fixing an old bug in code which was making live methods without context fail the second time. And Fixing a NullPointerException when calling die in an element without live functions
ArcBees_gwtquery
train
4910fa1a1b504dafd1ca003d5f13612fd2fd0767
diff --git a/examples/rfic2009/rfic2009style.py b/examples/rfic2009/rfic2009style.py index <HASH>..<HASH> 100644 --- a/examples/rfic2009/rfic2009style.py +++ b/examples/rfic2009/rfic2009style.py @@ -25,7 +25,7 @@ from pyte.reference import Field, Reference, REFERENCE from pyte.reference import Footnote as PyteFootnote...
implement floats as a decorator of Flowable * introduce Flowable.flow() * the decorator overrides this method and passes the target container's float space
brechtm_rinohtype
train
0e14741afd6f62aef17e3707885e61e733ca2a74
diff --git a/pkg/storageops/gce/gce.go b/pkg/storageops/gce/gce.go index <HASH>..<HASH> 100644 --- a/pkg/storageops/gce/gce.go +++ b/pkg/storageops/gce/gce.go @@ -272,7 +272,8 @@ func (s *gceOps) Enumerate( ctx := context.Background() found := false - req := s.service.Disks.List(s.inst.Project, s.inst.Zone) + fil...
fix label based filtering for GCE enumerate
libopenstorage_openstorage
train
9bdd49c81e0d607b9e5d5c4a0ef90aa32fa80ab7
diff --git a/lib/http/public/javascripts/main.js b/lib/http/public/javascripts/main.js index <HASH>..<HASH> 100644 --- a/lib/http/public/javascripts/main.js +++ b/lib/http/public/javascripts/main.js @@ -235,7 +235,7 @@ function refreshJobs(state, fn) { */ function pollStats(ms) { - request('/stats', function(data...
Use relative stats route, otherwise kue app mounted at a subdirectory cannot request stats.
Automattic_kue
train
db0846a716693f1f72f6f3ad36bcf9b5622f7269
diff --git a/eventsourcing/infrastructure/datastore/cassandraengine.py b/eventsourcing/infrastructure/datastore/cassandraengine.py index <HASH>..<HASH> 100644 --- a/eventsourcing/infrastructure/datastore/cassandraengine.py +++ b/eventsourcing/infrastructure/datastore/cassandraengine.py @@ -12,7 +12,7 @@ from eventsourc...
Changed default protocol version to 2, since we only use LWT.
johnbywater_eventsourcing
train
b59138261ce27ed7b8dd09cc71c4803c12731d3e
diff --git a/djgunicorn/management/commands/gunserver.py b/djgunicorn/management/commands/gunserver.py index <HASH>..<HASH> 100644 --- a/djgunicorn/management/commands/gunserver.py +++ b/djgunicorn/management/commands/gunserver.py @@ -1,25 +1,26 @@ from __future__ import print_function import datetime +import impor...
Use a cool way to lookup runserver dynamically
uranusjr_django-gunicorn
train
08cfb0d66dcf40d71d0be29372a019066e9ffcba
diff --git a/lib/bunyan.rb b/lib/bunyan.rb index <HASH>..<HASH> 100644 --- a/lib/bunyan.rb +++ b/lib/bunyan.rb @@ -46,7 +46,7 @@ module Bunyan alias_method :disabled=, :disabled def disabled? - disabled + !!disabled end def method_missing(method, *args, &block) diff --git a/spec/bunyan...
added #disabled? method and specs
ajsharp_bunyan
train
2aac5ef7d405e0606fdc5b976a6b55c0696c92b2
diff --git a/packages/victory-core/src/victory-util/label-helpers.js b/packages/victory-core/src/victory-util/label-helpers.js index <HASH>..<HASH> 100644 --- a/packages/victory-core/src/victory-util/label-helpers.js +++ b/packages/victory-core/src/victory-util/label-helpers.js @@ -50,14 +50,30 @@ function getPadding(p...
revert dx dy change for polar charts
FormidableLabs_victory
train
b1d1cc489de11e4ddb279fbfee37d7b6ae72728b
diff --git a/src/DI/ConsoleExtension.php b/src/DI/ConsoleExtension.php index <HASH>..<HASH> 100644 --- a/src/DI/ConsoleExtension.php +++ b/src/DI/ConsoleExtension.php @@ -46,7 +46,7 @@ class ConsoleExtension extends CompilerExtension return Expect::structure([ 'url' => Expect::string(), 'name' => Expect::str...
ConsoleExtension: allow console version to be numeric
contributte_console
train
2c950bc47b9a42c4372370746d748dbe65655df0
diff --git a/lib/rubocop/ast_node.rb b/lib/rubocop/ast_node.rb index <HASH>..<HASH> 100644 --- a/lib/rubocop/ast_node.rb +++ b/lib/rubocop/ast_node.rb @@ -28,8 +28,9 @@ module Astrolabe extend RuboCop::NodePattern::Macros # define both Node.method_name(node), and also node.method_name - def def_mat...
NodePattern::Macros#def_node_matcher/#def_node_search track source location This is useful in tools like Pry.
rubocop-hq_rubocop
train
ba4249c4f05bab2798e52fafb05d243f0fe8868b
diff --git a/phy/cluster/supervisor.py b/phy/cluster/supervisor.py index <HASH>..<HASH> 100644 --- a/phy/cluster/supervisor.py +++ b/phy/cluster/supervisor.py @@ -262,8 +262,12 @@ class ClusterView(Table): color: #86D16D; } - table tr[data-group='mua'], table tr[data-group='no...
Different colors for MUA and noise groups in cluster view
kwikteam_phy
train
5f32374e4d4d632169ad43cc28c42f4ac5170128
diff --git a/lib/reddit_bot.rb b/lib/reddit_bot.rb index <HASH>..<HASH> 100644 --- a/lib/reddit_bot.rb +++ b/lib/reddit_bot.rb @@ -98,6 +98,36 @@ module RedditBot end end + # :yields: JSON objects: ["data"] part of post or self.post + def new_posts caching = false + cache = lambda do |id, &bloc...
new_posts methods for someone's unfinished ..( bot
Nakilon_reddit_bot
train
52c71f7b703cc4af85e825f741d4a55492d37803
diff --git a/lib/rocket_job/plugins/document.rb b/lib/rocket_job/plugins/document.rb index <HASH>..<HASH> 100644 --- a/lib/rocket_job/plugins/document.rb +++ b/lib/rocket_job/plugins/document.rb @@ -15,10 +15,14 @@ module RocketJob include RocketJob::Plugins::Document::Static included do - # Prev...
Only save changes to prevent overwriting changes made by other processes.
rocketjob_rocketjob
train
b6b9f8cc0371eafa0e2f49a3abb6317d9fe31f10
diff --git a/README.md b/README.md index <HASH>..<HASH> 100644 --- a/README.md +++ b/README.md @@ -12,5 +12,4 @@ A Go interface to [ZeroMQ](http://www.zeromq.org/) version 3. * `zmq_socket_monitor()` * `ZMQ_TCP_ACCEPT_FILTER` - * `ZMQ_FD` on Windows * Re-implementing the remaining examples for [ØMQ - The Guide]...
ZMQ_FD on Windows (not tested)
pebbe_zmq3
train
99a9c213272b9a3793dbc2f89d72b57f940ba67b
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages INSTALL_REQUIRES = ("marshmallow>=2.15.2", "SQLAlchemy>=1.2.0") EXTRAS_REQUIRE = { - "tests": ["pytest", "pytest-lazy-fixture", "mock"], + "tests": ["pytest", ...
Remove unused mock dependency (#<I>)
marshmallow-code_marshmallow-sqlalchemy
train
97411e81b1ce12f33a08cf75e212ba5e0358530f
diff --git a/Package/Loader/LazyAssetPackageLoader.php b/Package/Loader/LazyAssetPackageLoader.php index <HASH>..<HASH> 100644 --- a/Package/Loader/LazyAssetPackageLoader.php +++ b/Package/Loader/LazyAssetPackageLoader.php @@ -174,6 +174,10 @@ class LazyAssetPackageLoader implements LazyLoaderInterface if (fal...
Fix output without verbose option when package file is not found
fxpio_composer-asset-plugin
train
e42f240a1f883befb01ebce1b394950eeae7db98
diff --git a/commands/pull.py b/commands/pull.py index <HASH>..<HASH> 100644 --- a/commands/pull.py +++ b/commands/pull.py @@ -19,16 +19,13 @@ from helpers.command import Command from helpers.misc import do_pull -@Command('pull', ['handler', 'is_admin', 'nick', 'botnick']) +@Command('pull', ['handler', 'nick', 'bo...
Convert pull to use the admin decorator arg
tjcsl_cslbot
train
813ee068b16bf5e4a699f1c7433cd5a0cc9046c4
diff --git a/km3pipe/io/pandas.py b/km3pipe/io/pandas.py index <HASH>..<HASH> 100644 --- a/km3pipe/io/pandas.py +++ b/km3pipe/io/pandas.py @@ -75,7 +75,7 @@ class H5Chain(object): def __enter__(self): return self - def __call__(self, n_evts=None, keys=None): + def __call__(self, n_evts=None, keys=...
add ignore_events for stupid non-km3-style tables
tamasgal_km3pipe
train
2b5f01828dbc4a9c0b7078e8e004179b500b63e3
diff --git a/src/acdhOeaw/schema/dissemination/CiriloService.php b/src/acdhOeaw/schema/dissemination/CiriloService.php index <HASH>..<HASH> 100644 --- a/src/acdhOeaw/schema/dissemination/CiriloService.php +++ b/src/acdhOeaw/schema/dissemination/CiriloService.php @@ -28,11 +28,10 @@ * @license https://opensource.org/l...
Small fixes in CiriloServices
acdh-oeaw_repo-php-util
train
fc03b1f38c3d8df5f67030b248cae7107f573784
diff --git a/src/Controller/CrudController.php b/src/Controller/CrudController.php index <HASH>..<HASH> 100644 --- a/src/Controller/CrudController.php +++ b/src/Controller/CrudController.php @@ -57,6 +57,7 @@ abstract class CrudController extends Controller $this->configureListCriteria($request, $queryBuilder)...
Added possibility to configure the results per page
Prezent_prezent-crud-bundle
train
e1fbe11c973244b2722c32cbc97661709c48b576
diff --git a/gossipsub.go b/gossipsub.go index <HASH>..<HASH> 100644 --- a/gossipsub.go +++ b/gossipsub.go @@ -199,27 +199,16 @@ func (gs *GossipSubRouter) Publish(from peer.ID, msg *pb.Message) { // gossipsub peers gmap, ok := gs.mesh[topic] - if ok { - // direct peers in the mesh for topic - for p := ran...
refactor Publish to use getPeers
libp2p_go-libp2p-pubsub
train
ad5ddaf55a71ebf640043d34c79cf3672c86be5c
diff --git a/src/_pytest/python_api.py b/src/_pytest/python_api.py index <HASH>..<HASH> 100644 --- a/src/_pytest/python_api.py +++ b/src/_pytest/python_api.py @@ -531,17 +531,11 @@ def _is_numpy_array(obj): Return true if the given object is a numpy array. Make a special effort to avoid importing numpy unles...
Simplify is_numpy_array as suggested in review
pytest-dev_pytest
train
3da0e3167796228719626b544333a2b5c63e9c11
diff --git a/hibernate-ogm-core/src/main/java/org/hibernate/ogm/grid/RowKey.java b/hibernate-ogm-core/src/main/java/org/hibernate/ogm/grid/RowKey.java index <HASH>..<HASH> 100644 --- a/hibernate-ogm-core/src/main/java/org/hibernate/ogm/grid/RowKey.java +++ b/hibernate-ogm-core/src/main/java/org/hibernate/ogm/grid/RowKe...
OGM-<I> Rename internal properties of RowKey
hibernate_hibernate-ogm
train
0c7275da1a31835d69d3f26b79980934112504c1
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -30,7 +30,6 @@ setup( 'httptools>=0.0.9', 'ujson>=1.35', 'aiofiles>=0.3.0', - 'multidict>=2.0', ], classifiers=[ 'Development Status :: 2 - Pre-Alpha',
Remove multidict requirement This is no longer necessary after #<I>.
huge-success_sanic
train
61067d06e2be3d121de10c51608bb9c8b1e4bad3
diff --git a/tensorflow_probability/python/experimental/vi/surrogate_posteriors.py b/tensorflow_probability/python/experimental/vi/surrogate_posteriors.py index <HASH>..<HASH> 100644 --- a/tensorflow_probability/python/experimental/vi/surrogate_posteriors.py +++ b/tensorflow_probability/python/experimental/vi/surrogate...
Update docstring to reflect `constraining_bijectors` deprecation. PiperOrigin-RevId: <I>
tensorflow_probability
train
c381d20b0a3ec8e47c3db95ad94167c0ac079094
diff --git a/src/com/google/javascript/refactoring/FixingErrorManager.java b/src/com/google/javascript/refactoring/FixingErrorManager.java index <HASH>..<HASH> 100644 --- a/src/com/google/javascript/refactoring/FixingErrorManager.java +++ b/src/com/google/javascript/refactoring/FixingErrorManager.java @@ -16,8 +16,6 @@...
Remove referneces to legacy CheckMissingAndExtraRequires pass This is no longer used in the linter/autofixer and is in preparation for being removed completely. PiperOrigin-RevId: <I>
google_closure-compiler
train
ba6bb9131fddab42c45535210f4cd13a4a7bc419
diff --git a/suds/sax/__init__.py b/suds/sax/__init__.py index <HASH>..<HASH> 100644 --- a/suds/sax/__init__.py +++ b/suds/sax/__init__.py @@ -1,24 +1,23 @@ -# This program is free software; you can redistribute it and/or modify -# it under the terms of the (LGPL) GNU Lesser General Public License as -# published by th...
tidy up up the suds.sax module (stylistic) - PEP-8ified comments - used double quotes consistently
suds-community_suds
train
654444f8232649c2ecd7c63e333183e63e2d2777
diff --git a/hazelcast/src/main/java/com/hazelcast/internal/dynamicconfig/DynamicConfigReplicationOperation.java b/hazelcast/src/main/java/com/hazelcast/internal/dynamicconfig/DynamicConfigReplicationOperation.java index <HASH>..<HASH> 100644 --- a/hazelcast/src/main/java/com/hazelcast/internal/dynamicconfig/DynamicCon...
Findbugs suppression. Reasoning: It's intentional. The service always creates a new array. And items inside the array are immutable.
hazelcast_hazelcast
train
d95e32f97f7f6a5bdee891bac5372f2719229eb5
diff --git a/Controller/DefaultController.php b/Controller/DefaultController.php index <HASH>..<HASH> 100644 --- a/Controller/DefaultController.php +++ b/Controller/DefaultController.php @@ -266,12 +266,11 @@ class DefaultController extends Controller */ public function removeServicoUnidade(Request $request,...
removing user x unity x service
novosga_settings-bundle
train
ff334dfa7d1687a923f476db1166acd47e7ee059
diff --git a/src/javascripts/frigging_bootstrap/components/timepicker.js b/src/javascripts/frigging_bootstrap/components/timepicker.js index <HASH>..<HASH> 100644 --- a/src/javascripts/frigging_bootstrap/components/timepicker.js +++ b/src/javascripts/frigging_bootstrap/components/timepicker.js @@ -11,12 +11,19 @@ expor...
Add ValueLink To On Change For Timepicker
frig-js_frig
train
927786ebf01876a44c9018599d2451c0f5a39d22
diff --git a/src/Gdbots/Pbj/Serializer/YamlSerializer.php b/src/Gdbots/Pbj/Serializer/YamlSerializer.php index <HASH>..<HASH> 100644 --- a/src/Gdbots/Pbj/Serializer/YamlSerializer.php +++ b/src/Gdbots/Pbj/Serializer/YamlSerializer.php @@ -13,7 +13,19 @@ class YamlSerializer extends PhpArraySerializer */ publ...
go yaml inline at 3 levels
gdbots_pbj-php
train
32953f37b638dfc3dae56bd127b930aae1b90a9c
diff --git a/mod/quiz/attemptlib.php b/mod/quiz/attemptlib.php index <HASH>..<HASH> 100644 --- a/mod/quiz/attemptlib.php +++ b/mod/quiz/attemptlib.php @@ -441,9 +441,19 @@ class quiz_attempt { protected $quizobj; protected $attempt; - // More details of what happened for each question. + /** @var ques...
MDL-<I> quiz cleanup: remove ugly question/page number hack It used to be necessary to store the question number and question page by adding them as random extra fields on the question object (but I can no longer remember what that reason was). Now it is possible to store this sensibly in the quiz_attempt object, whic...
moodle_moodle
train
4bc6ecb2415e6fa3e750fa8b67059e6804952059
diff --git a/pkg/api/http_server.go b/pkg/api/http_server.go index <HASH>..<HASH> 100644 --- a/pkg/api/http_server.go +++ b/pkg/api/http_server.go @@ -170,7 +170,6 @@ func (hs *HttpServer) newMacaron() *macaron.Macaron { m.Use(hs.metricsEndpoint) m.Use(middleware.GetContextHandler()) m.Use(middleware.Sessioner(&s...
adds metric middlware to route register
grafana_grafana
train
7a7d31bf34900de57285749c553b258fefb4465f
diff --git a/lib/Models/ArcGisCatalogGroup.js b/lib/Models/ArcGisCatalogGroup.js index <HASH>..<HASH> 100644 --- a/lib/Models/ArcGisCatalogGroup.js +++ b/lib/Models/ArcGisCatalogGroup.js @@ -3,18 +3,14 @@ /*global require*/ var URI = require('URIjs'); -var Cartesian3 = require('terriajs-cesium/Source/Core/Cartesian...
Fix jshint warnings.
TerriaJS_terriajs
train
b4052a7577c35755098de9d9cec8f637c0eba892
diff --git a/lib/genevalidator.rb b/lib/genevalidator.rb index <HASH>..<HASH> 100644 --- a/lib/genevalidator.rb +++ b/lib/genevalidator.rb @@ -413,6 +413,32 @@ module GeneValidator fail NoValidationError if query_output.validations.length == 0 # compute validation score + compute_scores(query_outpu...
refactor do_validation method
wurmlab_genevalidator
train
e7263884ec7c40af93a92ff523d771a0f148c871
diff --git a/languagetool-language-modules/de/src/main/java/org/languagetool/rules/de/GermanSpellerRule.java b/languagetool-language-modules/de/src/main/java/org/languagetool/rules/de/GermanSpellerRule.java index <HASH>..<HASH> 100644 --- a/languagetool-language-modules/de/src/main/java/org/languagetool/rules/de/German...
[de] fix false alarm with rare compounds where one part is only 2 characters long (#<I>)
languagetool-org_languagetool
train
867f60347222ff31e747998e2632d520cf1f9ea3
diff --git a/bridgepoint/ooaofooa.py b/bridgepoint/ooaofooa.py index <HASH>..<HASH> 100644 --- a/bridgepoint/ooaofooa.py +++ b/bridgepoint/ooaofooa.py @@ -3996,3 +3996,20 @@ def empty_model(): loader = Loader() return loader.build_metamodel() + +def load_model(resource): + ''' + Load and return a mode...
ooaofooa: added convenient function for load a model from some resource.
xtuml_pyxtuml
train
50ef6c0b28f2aa4ad79e7c8895553a5c59581eba
diff --git a/lib/actions/create.js b/lib/actions/create.js index <HASH>..<HASH> 100644 --- a/lib/actions/create.js +++ b/lib/actions/create.js @@ -12,7 +12,6 @@ module.exports = function (description, done) { if (!description) return done(new Error('Missing parameter: description')); async.waterfall([ migrat...
do not check for the config file presence when running the 'create' command
seppevs_migrate-mongo
train
d2c3eacc325e2b9d4546e8679ea467379c5ac1b5
diff --git a/abilian/core/commands/indexing.py b/abilian/core/commands/indexing.py index <HASH>..<HASH> 100644 --- a/abilian/core/commands/indexing.py +++ b/abilian/core/commands/indexing.py @@ -65,23 +65,23 @@ def reindex(clear=False): progress.start() count_current = 0 - with writer.group()...
indexing: use get_document() defined on service object: it ensures all objects have a value for allowed_roles_and_users
abilian_abilian-core
train
7e63ff76ed1f565d1ace355dd69bc59236cf843c
diff --git a/javamelody-core/src/main/java/net/bull/javamelody/internal/model/MavenArtifact.java b/javamelody-core/src/main/java/net/bull/javamelody/internal/model/MavenArtifact.java index <HASH>..<HASH> 100644 --- a/javamelody-core/src/main/java/net/bull/javamelody/internal/model/MavenArtifact.java +++ b/javamelody-co...
if path contains unresolved variables, it is useless to search
javamelody_javamelody
train
5a9d604b23064cbfc8baefde99aca60a97d1f280
diff --git a/src/main/java/com/basistech/tclre/Compiler.java b/src/main/java/com/basistech/tclre/Compiler.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/basistech/tclre/Compiler.java +++ b/src/main/java/com/basistech/tclre/Compiler.java @@ -55,6 +55,7 @@ class Compiler { static final int SOME = 2; s...
TEJ-<I>: added guards to isDebugEnabled() since log4j 1.x defaults to ALL if not initialized.
basis-technology-corp_tcl-regex-java
train
1b7df6574b2e42fbe6fb2d2ec437af86a2cd4f19
diff --git a/webui/webui.go b/webui/webui.go index <HASH>..<HASH> 100644 --- a/webui/webui.go +++ b/webui/webui.go @@ -33,7 +33,7 @@ func NewServer(namespace string, pool *redis.Pool, hostPort string) *WebUIServer pool: pool, client: work.NewClient(namespace, pool), hostPort: hostPort, - server: m...
Update manners to use new version.
gocraft_work
train
5d69089c657356c2c301ad1dc5a57b2c5d963535
diff --git a/monica/config.py b/monica/config.py index <HASH>..<HASH> 100644 --- a/monica/config.py +++ b/monica/config.py @@ -45,7 +45,10 @@ def configure(): sys.exit() try: + flag = True config = json.loads(open(os.path.join(_ROOT, ".monica/config.json"), "r").read()) except: + print "no config file found" +...
moved to version <I>., fixed the double configure bug
Zephrys_monica
train
968220711d7592cd6712712c75ca7cdd94ed79a3
diff --git a/job/client/src/main/java/alluxio/job/plan/replicate/DefaultReplicationHandler.java b/job/client/src/main/java/alluxio/job/plan/replicate/DefaultReplicationHandler.java index <HASH>..<HASH> 100644 --- a/job/client/src/main/java/alluxio/job/plan/replicate/DefaultReplicationHandler.java +++ b/job/client/src/m...
Fix client pool leak ### What changes are proposed in this pull request? Release client pool resources ### Why are the changes needed? Address a client leak ### Does this PR introduce any user facing changes? None pr-link: Alluxio/alluxio#<I> change-id: cid-a2db9d<I>ec5da4b5b<I>c5d<I>fa0b6b0d<I>bd
Alluxio_alluxio
train
2456a850747348cf543383e618b1530ffb473608
diff --git a/src/Lib/Twig/Node/Element.php b/src/Lib/Twig/Node/Element.php index <HASH>..<HASH> 100644 --- a/src/Lib/Twig/Node/Element.php +++ b/src/Lib/Twig/Node/Element.php @@ -63,7 +63,7 @@ class Element extends \Twig_Node $compiler->subcompile($data); } $options = $this->getNode('opti...
subcompile() expects \Twig_NodeInterface
WyriHaximus_TwigView
train
b08b59050d0a788df864b12f12678e56dafca02f
diff --git a/engine-rest/engine-rest/src/main/java/org/camunda/bpm/engine/rest/MetricsRestService.java b/engine-rest/engine-rest/src/main/java/org/camunda/bpm/engine/rest/MetricsRestService.java index <HASH>..<HASH> 100644 --- a/engine-rest/engine-rest/src/main/java/org/camunda/bpm/engine/rest/MetricsRestService.java +...
chore(rest/engine): adjust year in license header Related to CAM-<I>
camunda_camunda-bpm-platform
train
14e96cd1f915719c16c489ea10a7f68296570632
diff --git a/src/ScrollController.js b/src/ScrollController.js index <HASH>..<HASH> 100644 --- a/src/ScrollController.js +++ b/src/ScrollController.js @@ -1741,6 +1741,14 @@ define(function(require, exports, module) { if (this.options.paginationMode === PaginationMode.PAGE) { scrollStart = scrollO...
Fixed issue with optimized pagination which caused fast swipe gestures to not work correctly.
IjzerenHein_famous-flex
train
c59679aaaab8be78755373f50aaac81de3b6040b
diff --git a/Entity/Xml2arrayFunctions.php b/Entity/Xml2arrayFunctions.php index <HASH>..<HASH> 100644 --- a/Entity/Xml2arrayFunctions.php +++ b/Entity/Xml2arrayFunctions.php @@ -16,7 +16,6 @@ use FabienCrassat\CurriculumVitaeBundle\Utility\AgeCalculator; class Xml2arrayFunctions { private $arXML; private $a...
[Unused Code][Minor] The property $key is not used and could be removed.
fabiencrassat_CurriculumVitaeBundle
train
be4d2ec296ed5bd8c45b3f6508062b7d269f9f07
diff --git a/lib/svtplay_dl/fetcher/dash.py b/lib/svtplay_dl/fetcher/dash.py index <HASH>..<HASH> 100644 --- a/lib/svtplay_dl/fetcher/dash.py +++ b/lib/svtplay_dl/fetcher/dash.py @@ -132,7 +132,7 @@ def adaptionset(attributes, elements, url, baseurl=None): codecs = None if "codecs" in element.attrib: ...
dash: set language as empty string as default
spaam_svtplay-dl
train
98efcb822ee085d24c543130852893d3a5801913
diff --git a/azurerm/config.go b/azurerm/config.go index <HASH>..<HASH> 100644 --- a/azurerm/config.go +++ b/azurerm/config.go @@ -12,7 +12,6 @@ import ( resourcesprofile "github.com/Azure/azure-sdk-for-go/profiles/2017-03-09/resources/mgmt/resources" appinsights "github.com/Azure/azure-sdk-for-go/services/appinsig...
Client Registration Refactor: cdn
terraform-providers_terraform-provider-azurerm
train
db1678ebcd21e4e3af4e73d2a0d8115d3dba9cad
diff --git a/py/selenium/webdriver/firefox/firefox_profile.py b/py/selenium/webdriver/firefox/firefox_profile.py index <HASH>..<HASH> 100644 --- a/py/selenium/webdriver/firefox/firefox_profile.py +++ b/py/selenium/webdriver/firefox/firefox_profile.py @@ -90,10 +90,7 @@ class FirefoxProfile(object): if self.pro...
EranMes, on behalf of KevinCooney: Avoid a race condition during the creation of a temporary directory for a profile. r<I>
SeleniumHQ_selenium
train
1f43fd43d6a6c68f9bb371a47210c3344bc3aa78
diff --git a/lib/oauth/request_proxy/action_controller_request.rb b/lib/oauth/request_proxy/action_controller_request.rb index <HASH>..<HASH> 100644 --- a/lib/oauth/request_proxy/action_controller_request.rb +++ b/lib/oauth/request_proxy/action_controller_request.rb @@ -1,36 +1,15 @@ # frozen_string_literal: true r...
🔥 Remove hacks for old Rails
oauth-xx_oauth-ruby
train
40c81f8fc5752c7d853b46a0e7f776c5935f226c
diff --git a/pyscreeze/__init__.py b/pyscreeze/__init__.py index <HASH>..<HASH> 100644 --- a/pyscreeze/__init__.py +++ b/pyscreeze/__init__.py @@ -1,16 +1,14 @@ # PyScreeze -# by Al Sweigart -# https://github.com/asweigart/pyscreeze -# BSD license """ -So, apparently Pillow support on Ubuntu 64-bit has several addi...
Fixed monitor DPI scaling issue on Windows.
asweigart_pyscreeze
train
4e82aaff878ee4c15a6b5f6693213a9476ba5d91
diff --git a/lib/url.js b/lib/url.js index <HASH>..<HASH> 100644 --- a/lib/url.js +++ b/lib/url.js @@ -68,7 +68,7 @@ function parse(uri){ if (!obj.hostname && obj.host) { var pieces = obj.host.split(':'); obj.hostname = pieces.shift(); - obj.port = pieces.pop(); + if (pieces.length) obj.port = pieces...
url: allow `port` in combination with `host`
tsjing_socket.io-client
train
b68e39111b4f7ac262e0d0f11cf20a3dcaf22f17
diff --git a/HistogramPanel.py b/HistogramPanel.py index <HASH>..<HASH> 100644 --- a/HistogramPanel.py +++ b/HistogramPanel.py @@ -112,10 +112,10 @@ class AdornmentsCanvasItem(CanvasItem.AbstractCanvasItem): drawing_context.restore() -class LinePlotCanvasItem(CanvasItem.AbstractCanvasItem): +class SimpleLi...
Rename line plot canvas item to simple line graph canvas item. svn r<I>
nion-software_nionswift
train
0059f1698fcb1ba97815cd4fe806514ff749ad41
diff --git a/oci/oci.go b/oci/oci.go index <HASH>..<HASH> 100644 --- a/oci/oci.go +++ b/oci/oci.go @@ -55,7 +55,7 @@ const ( // minCtrStopTimeout is the minimal amout of time in seconds to wait // before issuing a timeout regarding the proper termination of the // container. - minCtrStopTimeout = 10 + minCtrStopT...
oci: Extend container stop timeout With the recent introduction of the parallelization of multiple containers stop, it might take more than <I> seconds to stop a container running with Kata Containers, given the fact that the CI runs in a nested environment. This patch extends the minimum timeout to a larger value of...
cri-o_cri-o
train
6bae86532f9baac87769b4622b4f9e1586069691
diff --git a/lib/twostroke/tokens.rb b/lib/twostroke/tokens.rb index <HASH>..<HASH> 100644 --- a/lib/twostroke/tokens.rb +++ b/lib/twostroke/tokens.rb @@ -7,7 +7,7 @@ module Twostroke [ :SINGLE_COMMENT, /\/\/.*?$/ ], [ :WHITESPACE, /\s+/ ], - [ :NUMBER, /(\d+(\.?\d*([eE][+-]?\d+)?)?|\.\d+([eE][+-]?...
hex and octal numbers
charliesome_twostroke
train
5974de4ba2a2d48adf395d92be69750db5eefe86
diff --git a/tests/testprofiles/app.py b/tests/testprofiles/app.py index <HASH>..<HASH> 100644 --- a/tests/testprofiles/app.py +++ b/tests/testprofiles/app.py @@ -4,3 +4,4 @@ from django.apps import AppConfig class TestProfilesConfig(AppConfig): name = 'testprofiles' verbose_name = 'Test profiles' + defau...
Add default_auto_field setting, strongly recommended in Django <I> (#<I>)
knaperek_djangosaml2
train
78a241aea1534560e6dc1d94d4ffe9ab29ec43ed
diff --git a/jre_emul/android/platform/external/icu/android_icu4j/src/main/java/android/icu/impl/UCharacterProperty.java b/jre_emul/android/platform/external/icu/android_icu4j/src/main/java/android/icu/impl/UCharacterProperty.java index <HASH>..<HASH> 100644 --- a/jre_emul/android/platform/external/icu/android_icu4j/sr...
Project health: use WeakOuter as a type annotation in UCharacterProperty.
google_j2objc
train
0c98afb66fe020cdcb65df97d412cdbaacbbdd58
diff --git a/mode/clike/clike.js b/mode/clike/clike.js index <HASH>..<HASH> 100644 --- a/mode/clike/clike.js +++ b/mode/clike/clike.js @@ -123,7 +123,7 @@ CodeMirror.defineMode("clike", function(config, parserConfig) { if (style == "comment" || style == "meta") return style; if (ctx.align == null) ctx.ali...
fix extra indentation in array initialization array initialization (one entry per line) results in extra indentation from second element onwards: ex:- const string[] fields = {   "one",     "two",     "three" };
codemirror_CodeMirror
train
26320feb65ce5053f681299ecda1e86453b91903
diff --git a/Gemfile.lock b/Gemfile.lock index <HASH>..<HASH> 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - ricordami (0.0.3) + ricordami (0.0.4) activemodel (~> 3.0.0) activesupport (~> 3.0.0) redis (~> 2.1.1) diff --git a/lib/ricordami/has_attri...
allow to pass nil when creating a new instance
mathieul_ricordami
train
ec4b7c635fb59007eaa6aea5a4e267f05e6d4c2e
diff --git a/src/js/panels-viewer.js b/src/js/panels-viewer.js index <HASH>..<HASH> 100644 --- a/src/js/panels-viewer.js +++ b/src/js/panels-viewer.js @@ -42,12 +42,6 @@ var panelsViewer = { // get the base panels var panels = Panels.get(); - // figure out if lineage should be drawn - patternData....
added method to add *Exists properties
pattern-lab_styleguidekit-assets-default
train
d5924ef0b4545084d26bff4287976816adb9b944
diff --git a/buffer.go b/buffer.go index <HASH>..<HASH> 100644 --- a/buffer.go +++ b/buffer.go @@ -16,23 +16,30 @@ type bufferedReader struct { bufferRead int bufferSize int sniffing bool + lastErr error } func (s *bufferedReader) Read(p []byte) (int, error) { - // Functionality of bytes.Reader. - bn := ...
Fix a blocking issue in buffer reader After sniffing and buffering data, if we try to read from the socket again, bufio.Reader may block. This breaks HTTP handlers in go<I>+ if one tries on browsers or with curl. Go's HTTP client, however, is not broken. This issue is also there with TeeReader. Return immediately wit...
soheilhy_cmux
train
b74d7d9262de622bfa38342c34011e81f5ccf48e
diff --git a/api-audit/src/main/java/com/capitalone/dashboard/evaluator/PerformanceTestResultEvaluator.java b/api-audit/src/main/java/com/capitalone/dashboard/evaluator/PerformanceTestResultEvaluator.java index <HASH>..<HASH> 100644 --- a/api-audit/src/main/java/com/capitalone/dashboard/evaluator/PerformanceTestResultE...
Update PerformanceTestResultEvaluator.java (#<I>)
Hygieia_Hygieia
train
3b83fac2125f2968e4a775b1ff609a6ef87f41fe
diff --git a/src/Neuron/Models/Helpers/Errorable.php b/src/Neuron/Models/Helpers/Errorable.php index <HASH>..<HASH> 100644 --- a/src/Neuron/Models/Helpers/Errorable.php +++ b/src/Neuron/Models/Helpers/Errorable.php @@ -32,6 +32,14 @@ abstract class Errorable } /** + * Set the error array. By reference! + * @par...
Adding setERrors to Errorable.
CatLabInteractive_Neuron
train