prompt
stringlengths
77
6.9k
completion
stringlengths
1
3.38k
text
stringlengths
163
9.03k
commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
lang
stringclasses
277 values
<|file_sep|>original/README.md ##### example\_plugin.py ```python from base_plugin import BaseTestPlugin class PrinterPlugin(BaseTestPlugin): def run(self, *args, **kwargs): print args, kwargs ``` ##### foo.py ```Python from base_plugin import BaseTestPlugin from annex import Annex plugins = Annex(BaseTe...
##### example\_plugin.py ```python from base_plugin import BaseTestPlugin class PrinterPlugin(BaseTestPlugin): def run(self, *args, **kwargs): print args, kwargs ``` ##### foo.py ```Python from base_plugin import BaseTestPlugin from annex import Annex plugins = Annex(BaseTestPlugin, ["/path/to/plugins"])...
<|file_sep|>original/README.md ##### example\_plugin.py ```python from base_plugin import BaseTestPlugin class PrinterPlugin(BaseTestPlugin): def run(self, *args, **kwargs): print args, kwargs ``` ##### foo.py ```Python from base_plugin import BaseTestPlugin from annex import Annex plugins = Annex(BaseTe...
d068fad7de3860db5812b201c2dcf213c5b6db4d
README.md
README.md
Markdown
<|file_sep|>original/dev/lint.py # coding: utf-8 from __future__ import unicode_literals, division, absolute_import, print_function import os import flake8 if flake8.__version_info__ < (3,): from flake8.engine import get_style_guide else: from flake8.api.legacy import get_style_guide cur_dir = os.path.dirna...
# coding: utf-8 from __future__ import unicode_literals, division, absolute_import, print_function import os import flake8 if not hasattr(flake8, '__version_info__') or flake8.__version_info__ < (3,): from flake8.engine import get_style_guide else: from flake8.api.legacy import get_style_guide cur_dir = os....
<|file_sep|>original/dev/lint.py # coding: utf-8 from __future__ import unicode_literals, division, absolute_import, print_function import os import flake8 if flake8.__version_info__ < (3,): from flake8.engine import get_style_guide else: from flake8.api.legacy import get_style_guide cur_dir = os.path.dirna...
ac7fefd3a2058e2e9773d7e458f8fad6112fc33c
dev/lint.py
dev/lint.py
Python
<|file_sep|>tab_manager.rb.diff original: updated: current_tab.refresh_window <|file_sep|>original/tab_manager.rb @tabs = [] @index = 0 end def add(tab) fail ArgumentError, 'argument must be an instance of Tab::Base' unless tab.is_a? Tab::Base @tabs << tab end def current_tab @tabs[@i...
end def add(tab) fail ArgumentError, 'argument must be an instance of Tab::Base' unless tab.is_a? Tab::Base @tabs << tab end def current_tab @tabs[@index] end def next @index = (@index + 1) % @tabs.count current_tab.refresh_window end def previous @index = (@index - 1) % @tab...
<|file_sep|>tab_manager.rb.diff original: updated: current_tab.refresh_window <|file_sep|>original/tab_manager.rb @tabs = [] @index = 0 end def add(tab) fail ArgumentError, 'argument must be an instance of Tab::Base' unless tab.is_a? Tab::Base @tabs << tab end def current_tab @tabs[@i...
3eea00daa5e61a60848105f51e98c53ba70e62cc
tab_manager.rb
tab_manager.rb
Ruby
<|file_sep|>recipes/jaws/meta.yaml.diff original: sha256: ab7c24d37022027d209c2828f83b368944abecb7 updated: sha256: b8cd6e76f01a3786d32880c757b02aa82651eb9fffeb0bc8aa155dac02212b38 build: number: 0 <|file_sep|>original/recipes/jaws/meta.yaml - pandas - numpy - xarray - pytz - netcdf4 - ma...
- netcdf4 - matplotlib - netcdf4 run: - python - pandas - numpy - xarray - pytz - netcdf4 - matplotlib - netcdf4 about: home: https://github.com/jaws/jaws license: Apache, Version 2.0 summary: 'Software to convert idiosyncratic ASCII formats to netCDF formats.' extr...
<|file_sep|>recipes/jaws/meta.yaml.diff original: sha256: ab7c24d37022027d209c2828f83b368944abecb7 updated: sha256: b8cd6e76f01a3786d32880c757b02aa82651eb9fffeb0bc8aa155dac02212b38 build: number: 0 <|file_sep|>original/recipes/jaws/meta.yaml - pandas - numpy - xarray - pytz - netcdf4 - ma...
b9ad73fa17ee1f7e2c5c668a4477e66bd40d412f
recipes/jaws/meta.yaml
recipes/jaws/meta.yaml
YAML
<|file_sep|>original/appveyor.yml # http://www.appveyor.com/docs/lang/nodejs-iojs # Test against this version of Node.js environment: nodejs_version: "8" # Install scripts. (runs after repo cloning) install: # Get the latest stable version of Node.js or io.js - ps: Install-Product node $env:nodejs_version # in...
# http://www.appveyor.com/docs/lang/nodejs-iojs # Test against this version of Node.js environment: nodejs_version: "10" # Install scripts. (runs after repo cloning) install: # Get the latest stable version of Node.js or io.js - ps: Install-Product node $env:nodejs_version # install modules - npm install # ...
<|file_sep|>original/appveyor.yml # http://www.appveyor.com/docs/lang/nodejs-iojs # Test against this version of Node.js environment: nodejs_version: "8" # Install scripts. (runs after repo cloning) install: # Get the latest stable version of Node.js or io.js - ps: Install-Product node $env:nodejs_version # in...
49e5b2cc6ff6398c9f91b8501ff990717a5d397b
appveyor.yml
appveyor.yml
YAML
<|file_sep|>.travis.yml.diff original: updated: dist: xenial <|file_sep|>original/.travis.yml language: python python: - "2.7" - "3.4" - "3.7-dev" - "pypy3.5" install: - pip install -e . - pip install --upgrade pytest pytest-cov codacy-coverage script: py.test -v --color=yes --cov-report xml --cov=canopen ...
dist: xenial language: python python: - "2.7" - "3.4" - "3.7" - "3.8-dev" - "pypy3.5" install: - pip install -e . - pip install --upgrade pytest pytest-cov codacy-coverage script: py.test -v --color=yes --cov-report xml --cov=canopen test/ after_script: python-codacy-coverage
<|file_sep|>.travis.yml.diff original: updated: dist: xenial <|file_sep|>original/.travis.yml language: python python: - "2.7" - "3.4" - "3.7-dev" - "pypy3.5" install: - pip install -e . - pip install --upgrade pytest pytest-cov codacy-coverage script: py.test -v --color=yes --cov-report xml --cov=canopen ...
9cbc92c2fd72c81fe5f36881ad7a7b3dbef3926e
.travis.yml
.travis.yml
YAML
<|file_sep|>src/Roassal2/RTKendrickPlugin.class.st.diff original: "We manually load that package before of a problem in the configuration of SciSmalltalk" Gofer new url: 'http://smalltalkhub.com/mc/SergeStinckwich/SciSmalltalk/main/'; package: 'Math-Tests-KDTree'; load. updated: <|file_sep|>original/src/Roas...
This plugin may cause problem when loaded directly in Pharo. We recommand to use the Moose distribution of Pharo.' ] { #category : #hooks } RTKendrickPlugin >> execute [ Gofer new url: 'http://smalltalkhub.com/mc/SergeStinckwich/SciSmalltalk/main/'; configurationOf:'SciSmalltalk'; loadVersion: '0.28-bas...
<|file_sep|>src/Roassal2/RTKendrickPlugin.class.st.diff original: "We manually load that package before of a problem in the configuration of SciSmalltalk" Gofer new url: 'http://smalltalkhub.com/mc/SergeStinckwich/SciSmalltalk/main/'; package: 'Math-Tests-KDTree'; load. updated: <|file_sep|>original/src/Roas...
a10bcc0cfb6c766b9b94d3050f67563f8393bcef
src/Roassal2/RTKendrickPlugin.class.st
src/Roassal2/RTKendrickPlugin.class.st
Smalltalk
<|file_sep|>original/requirements.txt requests==2.13.0 voluptuous==0.9.3 PyYAML==3.12 elasticsearch==5.1.0 <|file_sep|>current/requirements.txt requests==2.13.0 voluptuous==0.9.3 PyYAML==3.12 elasticsearch==5.1.0 <|file_sep|>updated/requirements.txt
requests==2.13.0 voluptuous==0.9.3 PyYAML==3.13 elasticsearch==5.1.0
<|file_sep|>original/requirements.txt requests==2.13.0 voluptuous==0.9.3 PyYAML==3.12 elasticsearch==5.1.0 <|file_sep|>current/requirements.txt requests==2.13.0 voluptuous==0.9.3 PyYAML==3.12 elasticsearch==5.1.0 <|file_sep|>updated/requirements.txt requests==2.13.0 voluptuous==0.9.3 PyYAML==3.13 elasticsearch==5.1.0
97cc884df053121dc39dc96fa3e80c6b3e29fbc8
requirements.txt
requirements.txt
Text
<|file_sep|>original/ci/images/get-docker-url.sh #!/bin/bash set -e version="20.10.10" echo "https://download.docker.com/linux/static/stable/x86_64/docker-$version.tgz"; <|file_sep|>current/ci/images/get-docker-url.sh #!/bin/bash set -e version="20.10.10" echo "https://download.docker.com/linux/static/stable/x86_64/d...
#!/bin/bash set -e version="20.10.11" echo "https://download.docker.com/linux/static/stable/x86_64/docker-$version.tgz";
<|file_sep|>original/ci/images/get-docker-url.sh #!/bin/bash set -e version="20.10.10" echo "https://download.docker.com/linux/static/stable/x86_64/docker-$version.tgz"; <|file_sep|>current/ci/images/get-docker-url.sh #!/bin/bash set -e version="20.10.10" echo "https://download.docker.com/linux/static/stable/x86_64/d...
bc76756894def3cd87c0338eaa9ffacab83478db
ci/images/get-docker-url.sh
ci/images/get-docker-url.sh
Shell
<|file_sep|>.expeditor/verify.pipeline.yml.diff original: updated: image: ruby:2.6-buster <|file_sep|>original/.expeditor/verify.pipeline.yml executor: docker: - label: run-ohai command: - .expeditor/run_linux_tests.sh "bundle exec ohai" expeditor: executor: docker: - label: run-s...
executor: docker: image: ruby:2.6-buster - label: run-ohai command: - .expeditor/run_linux_tests.sh "bundle exec ohai" expeditor: executor: docker: image: ruby:2.6-buster - label: run-specs-ruby-2.5 command: - .expeditor/run_linux_tests.sh rspec expeditor: execu...
<|file_sep|>.expeditor/verify.pipeline.yml.diff original: updated: image: ruby:2.6-buster <|file_sep|>original/.expeditor/verify.pipeline.yml executor: docker: - label: run-ohai command: - .expeditor/run_linux_tests.sh "bundle exec ohai" expeditor: executor: docker: - label: run-s...
97b3a86e827f7d69b775e4d51a3cc4b9bd4fa7ec
.expeditor/verify.pipeline.yml
.expeditor/verify.pipeline.yml
YAML
<|file_sep|>original/README.md Mixcloud • Nuvola Apps Runtime ============================== Integration of Mixcloud into your linux desktop via [Nuvola Apps Runtime](https://github.com/tiliado/nuvolaruntime). Support ------- Follow [Bug reporting guidelines](https://github.com/tiliado/nuvolaruntime/wiki/Bug-Reporti...
Mixcloud • Nuvola Apps Runtime ============================== Integration of Mixcloud into your linux desktop via [Nuvola Apps Runtime](https://github.com/tiliado/nuvolaruntime). Support ------- - Use [Nuvola Runtime issue tracker](https://github.com/tiliado/nuvolaruntime/issues/new/choose) to report bugs, ask...
<|file_sep|>original/README.md Mixcloud • Nuvola Apps Runtime ============================== Integration of Mixcloud into your linux desktop via [Nuvola Apps Runtime](https://github.com/tiliado/nuvolaruntime). Support ------- Follow [Bug reporting guidelines](https://github.com/tiliado/nuvolaruntime/wiki/Bug-Reporti...
010393fc5dbcdbf7b93dbd1b4b1341e2a672c86e
README.md
README.md
Markdown
<|file_sep|>original/requirements_dev.txt -r requirements.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.5.0 tox==2.9.1 coverage==4.5.1 Sphinx==1.7.0 cryptography==2.1.4 PyYAML==3.12 pytest==3.4.0 pytest-cov==2.5.1 pytest-docker==0.6.1 pytest-mock==1.6.3 docker-compose==1.19.0 packaging==16.8...
-r requirements.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.5.0 tox==2.9.1 coverage==4.5.1 Sphinx==1.7.0 cryptography==2.1.4 PyYAML==3.12 pytest==3.4.0 pytest-cov==2.5.1 pytest-docker==0.6.1 pytest-mock==1.7.0 docker-compose==1.19.0 packaging==16.8
<|file_sep|>original/requirements_dev.txt -r requirements.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.5.0 tox==2.9.1 coverage==4.5.1 Sphinx==1.7.0 cryptography==2.1.4 PyYAML==3.12 pytest==3.4.0 pytest-cov==2.5.1 pytest-docker==0.6.1 pytest-mock==1.6.3 docker-compose==1.19.0 packaging==16.8...
e49dd6dec0e0ee9a9ef0a88eaa13df2144430869
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>lib/cut_menu.js.diff original: updated: var fs = require('fs'); var path = require('path'); <|file_sep|>lib/cut_menu.js.diff original: updated: var CUTS_DIR = path.join(__dirname, '..', 'cuts'); <|file_sep|>lib/cut_menu.js.diff original: if(!answers.cut) { updated: if(answers.cut) { <|file_se...
} else { reject(answers); } }); }); return promise; } function getCutsList() { return fs.readdirSync(CUTS_DIR).map(function(file) { return { name: file, value: path.join(CUTS_DIR, file) }; }); } module.exports = prompt;
<|file_sep|>lib/cut_menu.js.diff original: updated: var fs = require('fs'); var path = require('path'); <|file_sep|>lib/cut_menu.js.diff original: updated: var CUTS_DIR = path.join(__dirname, '..', 'cuts'); <|file_sep|>lib/cut_menu.js.diff original: if(!answers.cut) { updated: if(answers.cut) { <|file_se...
6a61fe8482a9552c411f50e3d532da123377b9d7
lib/cut_menu.js
lib/cut_menu.js
JavaScript
<|file_sep|>original/resources/11/info.txt name: LibriSpeech language models, vocabulary and G2P models summary: Language modelling resources, for use with the LibriSpeech ASR corpus category: text license: Public domain file: librispeech-lm-corpus.tgz 14500 public domain books, used as training material for the Libri...
name: LibriSpeech language models, vocabulary and G2P models summary: Language modelling resources, for use with the LibriSpeech ASR corpus category: text license: Public domain file: librispeech-lm-corpus.tgz 14500 public domain books, used as training material for the LibriSpeech's LM file: librispeech-lm-norm.txt.g...
<|file_sep|>original/resources/11/info.txt name: LibriSpeech language models, vocabulary and G2P models summary: Language modelling resources, for use with the LibriSpeech ASR corpus category: text license: Public domain file: librispeech-lm-corpus.tgz 14500 public domain books, used as training material for the Libri...
ae2b57044c5459a8900d69c8ef0f6e44dd87ed8a
resources/11/info.txt
resources/11/info.txt
Text
<|file_sep|>original/metal/mmtl/test_mmtl.py import unittest from nose.tools import nottest from metal.mmtl.BERT_tasks import create_tasks from metal.mmtl.metal_model import MetalModel from metal.mmtl.trainer import MultitaskTrainer @nottest class MMTLTest(unittest.TestCase): @classmethod def setUpClass(cls...
import unittest from nose.tools import nottest from metal.mmtl.bert_tasks import create_tasks from metal.mmtl.metal_model import MetalModel from metal.mmtl.trainer import MultitaskTrainer @nottest class MMTLTest(unittest.TestCase): @classmethod def setUpClass(cls): task_names = [ "COLA",...
<|file_sep|>original/metal/mmtl/test_mmtl.py import unittest from nose.tools import nottest from metal.mmtl.BERT_tasks import create_tasks from metal.mmtl.metal_model import MetalModel from metal.mmtl.trainer import MultitaskTrainer @nottest class MMTLTest(unittest.TestCase): @classmethod def setUpClass(cls...
348d69c1491b7065dff06f6aebba105d72bbfd0d
metal/mmtl/test_mmtl.py
metal/mmtl/test_mmtl.py
Python
<|file_sep|>original/scripts/ingestors/awos/parse_monthly_maint.py <|file_sep|>current/scripts/ingestors/awos/parse_monthly_maint.py <|file_sep|>updated/scripts/ingestors/awos/parse_monthly_maint.py
""" Parse the monthly maint file I get from the DOT id | integer | not null default nextval('iem_calibrati on_id_seq'::regclass) station | character varying(10) | portfolio | character varying(10) | valid | timestamp with time zone | parameter | character varying(10)...
<|file_sep|>original/scripts/ingestors/awos/parse_monthly_maint.py <|file_sep|>current/scripts/ingestors/awos/parse_monthly_maint.py <|file_sep|>updated/scripts/ingestors/awos/parse_monthly_maint.py """ Parse the monthly maint file I get from the DOT id | integer | not null default nextv...
03791f4768866b199f0ef840a0ac64849def85e3
scripts/ingestors/awos/parse_monthly_maint.py
scripts/ingestors/awos/parse_monthly_maint.py
Python
<|file_sep|>original/test/java/com/twu/biblioteca/helpers/IndexPageTestHelper.java <|file_sep|>current/test/java/com/twu/biblioteca/helpers/IndexPageTestHelper.java <|file_sep|>updated/test/java/com/twu/biblioteca/helpers/IndexPageTestHelper.java
package com.twu.biblioteca.helpers; import com.twu.biblioteca.IndexPage; import com.twu.biblioteca.OutputWriter; public class IndexPageTestHelper extends IndexPage { private boolean isPerformActionCalled; public IndexPageTestHelper(OutputWriter outputWriter) { super(outputWriter); } @Overri...
<|file_sep|>original/test/java/com/twu/biblioteca/helpers/IndexPageTestHelper.java <|file_sep|>current/test/java/com/twu/biblioteca/helpers/IndexPageTestHelper.java <|file_sep|>updated/test/java/com/twu/biblioteca/helpers/IndexPageTestHelper.java package com.twu.biblioteca.helpers; import com.twu.biblioteca.IndexPag...
a47e3cebc33e17633b89123398074b8c14f12cc7
test/java/com/twu/biblioteca/helpers/IndexPageTestHelper.java
test/java/com/twu/biblioteca/helpers/IndexPageTestHelper.java
Java
<|file_sep|>original/app/views/layouts/_top_bar.html.slim .navbar.navbar-fixed-top .navbar-inner .container a.btn.btn-navbar data-target=".nav-collapse" data-toggle="collapse" span.icon-bar span.icon-bar span.icon-bar a.brand href=root_url ATLRUG .container.nav-collapse ...
.navbar.navbar-fixed-top .navbar-inner .container a.btn.btn-navbar data-target=".nav-collapse" data-toggle="collapse" span.icon-bar span.icon-bar span.icon-bar a.brand href=root_url ATLRUG .container.nav-collapse ul.nav li= link_to "Meetup", "http://meet...
<|file_sep|>original/app/views/layouts/_top_bar.html.slim .navbar.navbar-fixed-top .navbar-inner .container a.btn.btn-navbar data-target=".nav-collapse" data-toggle="collapse" span.icon-bar span.icon-bar span.icon-bar a.brand href=root_url ATLRUG .container.nav-collapse ...
ecaa7373ef05ac32c128a14489fca7e75aed2547
app/views/layouts/_top_bar.html.slim
app/views/layouts/_top_bar.html.slim
Slim
<|file_sep|>original/lib/omniauth/strategies/twitter.rb require 'omniauth-oauth' require 'multi_json' module OmniAuth module Strategies class Twitter < OmniAuth::Strategies::OAuth option :name, 'twitter' option :client_options, {:site => 'https://api.twitter.com'} uid { access_token.params[:us...
require 'omniauth-oauth' require 'multi_json' module OmniAuth module Strategies class Twitter < OmniAuth::Strategies::OAuth option :name, 'twitter' option :client_options, {:authorize_path => '/oauth/authenticate', :site => 'https://api.twitter.com'} uid { access...
<|file_sep|>original/lib/omniauth/strategies/twitter.rb require 'omniauth-oauth' require 'multi_json' module OmniAuth module Strategies class Twitter < OmniAuth::Strategies::OAuth option :name, 'twitter' option :client_options, {:site => 'https://api.twitter.com'} uid { access_token.params[:us...
39a020854b7ce858a1930d45042d056a5f24bf47
lib/omniauth/strategies/twitter.rb
lib/omniauth/strategies/twitter.rb
Ruby
<|file_sep|>original/arch/x86_64/kernel/bugs.c * arch/x86_64/kernel/bugs.c * * Copyright (C) 1994 Linus Torvalds * Copyright (C) 2000 SuSE */ #include <linux/kernel.h> #include <linux/init.h> #include <asm/alternative.h> #include <asm/processor.h> void __init check_bugs(void) { identify_cpu(&boot_cpu_data)...
* arch/x86_64/kernel/bugs.c * * Copyright (C) 1994 Linus Torvalds * Copyright (C) 2000 SuSE */ #include <linux/kernel.h> #include <linux/init.h> #include <asm/alternative.h> #include <asm/processor.h> #include <asm/mtrr.h> void __init check_bugs(void) { identify_cpu(&boot_cpu_data); mtrr_bp_init(); #if !d...
<|file_sep|>original/arch/x86_64/kernel/bugs.c * arch/x86_64/kernel/bugs.c * * Copyright (C) 1994 Linus Torvalds * Copyright (C) 2000 SuSE */ #include <linux/kernel.h> #include <linux/init.h> #include <asm/alternative.h> #include <asm/processor.h> void __init check_bugs(void) { identify_cpu(&boot_cpu_data)...
0a203a4ce1787acb49db6df8f5c064e9243db130
arch/x86_64/kernel/bugs.c
arch/x86_64/kernel/bugs.c
C
<|file_sep|>original/conf/babang-solr-setup.xml <|file_sep|>current/conf/babang-solr-setup.xml <|file_sep|>updated/conf/babang-solr-setup.xml
<schema> <!-- generic --> <field name='@type' type='string'/> <field name='name' type='text_en'/> <field name='identifier' type='string'/> <field name='description' type='text_en'/> <field name='url' type='string'/> <!-- from DataCatalog --> <field name='alternateName' type='text_en'/> ...
<|file_sep|>original/conf/babang-solr-setup.xml <|file_sep|>current/conf/babang-solr-setup.xml <|file_sep|>updated/conf/babang-solr-setup.xml <schema> <!-- generic --> <field name='@type' type='string'/> <field name='name' type='text_en'/> <field name='identifier' type='string'/> <field name='desc...
b6bb2b6855e86bc1aad1510c4406d0939a3ef511
conf/babang-solr-setup.xml
conf/babang-solr-setup.xml
XML
<|file_sep|>original/config/schedule.rb require File.dirname(__FILE__) + "/initializers/scheduled_publishing" # default cron env is "/usr/bin:/bin" which is not sufficient as govuk_env is in /usr/local/bin env :PATH, '/usr/local/bin:/usr/bin:/bin' # We need Rake to use our own environment job_type :rake, "cd :path && ...
require File.dirname(__FILE__) + "/initializers/scheduled_publishing" # default cron env is "/usr/bin:/bin" which is not sufficient as govuk_env is in /usr/local/bin env :PATH, '/usr/local/bin:/usr/bin:/bin' # We need Rake to use our own environment job_type :rake, "cd :path && govuk_setenv whitehall bundle exec rake ...
<|file_sep|>original/config/schedule.rb require File.dirname(__FILE__) + "/initializers/scheduled_publishing" # default cron env is "/usr/bin:/bin" which is not sufficient as govuk_env is in /usr/local/bin env :PATH, '/usr/local/bin:/usr/bin:/bin' # We need Rake to use our own environment job_type :rake, "cd :path && ...
74b57e29cad101fc66e38e69471d4e8fc4a489ad
config/schedule.rb
config/schedule.rb
Ruby
<|file_sep|>original/lib/puppet-lint/plugins/duplicate_class_parameters.rb PuppetLint.new_check(:duplicate_class_parameters) do def check class_indexes.each do |class_idx| seen = Hash.new(0) inside = nil level = 0 # if there are no params there is nothing to do, return early. return...
PuppetLint.new_check(:duplicate_class_parameters) do def check class_indexes.each do |class_idx| seen = Hash.new(0) inside = nil level = 0 # if there are no params there is nothing to do, return early. next if class_idx[:param_tokens].nil? class_idx[:param_tokens].each do |to...
<|file_sep|>original/lib/puppet-lint/plugins/duplicate_class_parameters.rb PuppetLint.new_check(:duplicate_class_parameters) do def check class_indexes.each do |class_idx| seen = Hash.new(0) inside = nil level = 0 # if there are no params there is nothing to do, return early. return...
f565e4a5afff2cc5fa0cbf5e825c81c1b5396bda
lib/puppet-lint/plugins/duplicate_class_parameters.rb
lib/puppet-lint/plugins/duplicate_class_parameters.rb
Ruby
<|file_sep|>original/android/src/main/scala/edu/agh/mindmap/model/MindNode.scala val map: MindMap, var parent: Option[MindNode], var content: Option[String], var hasConflict: Boolean, var cloudTime: Option...
var hasConflict: Boolean, var cloudTime: Option[Long]) { val children = new mutable.ArrayBuffer[MindNode] } object MindNode { def findRootOf(map: MindMap): MindNode = ??? def create(map: MindMap) = new MindNode(UUID.randomUUID, map, None, None, false, None) ...
<|file_sep|>original/android/src/main/scala/edu/agh/mindmap/model/MindNode.scala val map: MindMap, var parent: Option[MindNode], var content: Option[String], var hasConflict: Boolean, var cloudTime: Option...
d167f1346673a1b81433706c527b1e5fd7485a0f
android/src/main/scala/edu/agh/mindmap/model/MindNode.scala
android/src/main/scala/edu/agh/mindmap/model/MindNode.scala
Scala
<|file_sep|>original/src/rolca/core/api/urls.py route_lists = [ core_api_urls.routeList, ... ] router = routers.DefaultRouter() for route_list in route_lists: for prefix, viewset in route_list: router.register(prefix, viewset) For advanced configuration code can be...
route_lists = [ core_api_urls.routeList, ... ] router = routers.DefaultRouter() for route_list in route_lists: for prefix, viewset in route_list: router.register(prefix, viewset) For advanced configuration code can be accordingly changed to meet the needs. """ fro...
<|file_sep|>original/src/rolca/core/api/urls.py route_lists = [ core_api_urls.routeList, ... ] router = routers.DefaultRouter() for route_list in route_lists: for prefix, viewset in route_list: router.register(prefix, viewset) For advanced configuration code can be...
0cb85aade1cfd7f264263bbe7113cb013b39cb44
src/rolca/core/api/urls.py
src/rolca/core/api/urls.py
Python
<|file_sep|>index.js.diff original: return tostr(crypto.randomBytes(length)); updated: return tostr(crypto.pseudoRandomBytes(length)); <|file_sep|>original/index.js * @param {Number} length The number of chars of the uid * @param {Number} cb (optional) Callback for async uid generation * @api public */ f...
* @param {Number} length The number of chars of the uid * @param {Number} cb (optional) Callback for async uid generation * @api public */ function uid(length, cb) { if (typeof cb === 'undefined') { return tostr(crypto.pseudoRandomBytes(length)); } else { crypto.pseudoRandomBytes(length, function(er...
<|file_sep|>index.js.diff original: return tostr(crypto.randomBytes(length)); updated: return tostr(crypto.pseudoRandomBytes(length)); <|file_sep|>original/index.js * @param {Number} length The number of chars of the uid * @param {Number} cb (optional) Callback for async uid generation * @api public */ f...
3ad440a0a81dd7284cb6d06c51f6101bc2be7bda
index.js
index.js
JavaScript
<|file_sep|>substrate/vagrant-scripts/osx.sh.diff original: # if the proxy is around, use it nc -z -w3 192.168.1.1 8123 && export http_proxy="http://192.168.1.1:8123" updated: <|file_sep|>original/substrate/vagrant-scripts/osx.sh #!/bin/sh # if the proxy is around, use it nc -z -w3 192.168.1.1 8123 && export http_pro...
#!/bin/sh OUTPUT_DIR="${VAGRANT_SUBSTRATE_OUTPUT_DIR:-substrate-assets}" mkdir -p /vagrant/${OUTPUT_DIR} chmod 755 /vagrant/substrate/run.sh su vagrant -l -c 'brew update' su vagrant -l -c 'brew install wget' # grab new cacert curl -o cacert.pem https://curl.haxx.se/ca/cacert.pem chown vagrant:admin /usr/local/etc/...
<|file_sep|>substrate/vagrant-scripts/osx.sh.diff original: # if the proxy is around, use it nc -z -w3 192.168.1.1 8123 && export http_proxy="http://192.168.1.1:8123" updated: <|file_sep|>original/substrate/vagrant-scripts/osx.sh #!/bin/sh # if the proxy is around, use it nc -z -w3 192.168.1.1 8123 && export http_pro...
e5f7c61a864ef689c195f4711bcfca5781f6d910
substrate/vagrant-scripts/osx.sh
substrate/vagrant-scripts/osx.sh
Shell
<|file_sep|>original/app/views/campaigns/_campaign_header.html.erb <% if current_user && current_user.owns?(@campaign) %> <%= render partial: 'campaigns/progress_bar' %> <% if !@campaign.draft? %> <%= render partial: 'tabs' %> <% end %> <% end %> <% if action_name != 'edit' && action_name != 'goals_wizard' ...
<% if current_user && current_user.owns?(@campaign) %> <%= render partial: 'campaigns/progress_bar' %> <% if !@campaign.draft? %> <%= render partial: 'tabs' %> <% end %> <% end %> <% if action_name != 'edit' && action_name != 'goals_wizard' %> <div class="campaign-title section-container"> <%= link_to...
<|file_sep|>original/app/views/campaigns/_campaign_header.html.erb <% if current_user && current_user.owns?(@campaign) %> <%= render partial: 'campaigns/progress_bar' %> <% if !@campaign.draft? %> <%= render partial: 'tabs' %> <% end %> <% end %> <% if action_name != 'edit' && action_name != 'goals_wizard' ...
aa78d856d9743c6dcf03fbf53672056bdc89f446
app/views/campaigns/_campaign_header.html.erb
app/views/campaigns/_campaign_header.html.erb
HTML+ERB
<|file_sep|>original/package.json } ], "main": "grunt.js", "bin": "bin/grunt-closure-tools", "engines": { "node": "*" }, "scripts": { "test": "grunt test" }, "dependencies": { "grunt": "~0.3.16" }, "keywords": [ "gruntplugin", "Closure Compiler", "minification", "Clos...
} ], "main": "grunt.js", "bin": "bin/grunt-closure-tools", "engines": { "node": "*" }, "scripts": { "test": "grunt test" }, "devDependencies": { "grunt": "~0.3.16" }, "keywords": [ "gruntplugin", "Closure Compiler", "minification", "Closure Builder", "Google Closu...
<|file_sep|>original/package.json } ], "main": "grunt.js", "bin": "bin/grunt-closure-tools", "engines": { "node": "*" }, "scripts": { "test": "grunt test" }, "dependencies": { "grunt": "~0.3.16" }, "keywords": [ "gruntplugin", "Closure Compiler", "minification", "Clos...
22f548fb7afe35d4dfd5c26649ea9bca7297e0c8
package.json
package.json
JSON
<|file_sep|>original/src/Controller.php return "API Object: " . $this->className(); } public function patchData($model, $parameters) { foreach ($parameters as $key => $value) { if (is_scalar($value) || $value === null) { $model->$key($value); } else { $model->$key = $this->...
return "API Object: " . $this->className(); } public function endpoints() { $class = new ReflectionClass($this->className(true)); $allMethods = $class->getMethods(ReflectionMethod::IS_PUBLIC); $methods = array(); foreach ($allMethods as $next) { if ($next->name[0] == "_" || in_array($next...
<|file_sep|>original/src/Controller.php return "API Object: " . $this->className(); } public function patchData($model, $parameters) { foreach ($parameters as $key => $value) { if (is_scalar($value) || $value === null) { $model->$key($value); } else { $model->$key = $this->...
7d460a01e4c46798fe2679f38e21cadf58ddfa65
src/Controller.php
src/Controller.php
PHP
<|file_sep|>examples/mobile-full-screen.html.diff original: template: "example-verbatim.html" updated: template: example-verbatim.html title: Full-Screen Mobile shortdesc: Example of a full screen map. tags: "fullscreen, geolocation, mobile" <|file_sep|>original/examples/mobile-full-screen.html margin: 0; ...
<meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="chrome=1"> <meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width"> <title>Mobile full screen example</title> <style type="text/css"> html, body, .map { margin: 0; padding: 0; ...
<|file_sep|>examples/mobile-full-screen.html.diff original: template: "example-verbatim.html" updated: template: example-verbatim.html title: Full-Screen Mobile shortdesc: Example of a full screen map. tags: "fullscreen, geolocation, mobile" <|file_sep|>original/examples/mobile-full-screen.html margin: 0; ...
b602285992bbac30f3a7021a28339057fef8f08d
examples/mobile-full-screen.html
examples/mobile-full-screen.html
HTML
<|file_sep|>original/views/layout.html <html lang="en"> <head> <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css"> <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap-theme.min.css"> <link rel="stylesheet" href="public/css/...
<html lang="en"> <head> <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css"> <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap-theme.min.css"> <link rel="stylesheet" href="public/css/pulldasher.css"> <script> v...
<|file_sep|>original/views/layout.html <html lang="en"> <head> <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css"> <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap-theme.min.css"> <link rel="stylesheet" href="public/css/...
1f972ac1075373051e6536a7910cabfd0aadfdb5
views/layout.html
views/layout.html
HTML
<|file_sep|>test/integration/oauth_test.rb.diff original: updated: context "access with invalid API key" do setup do @token = create(:access_token, application: @application, resource_owner_id: @user.id) @application.destroy end should "return data for questionnaire" do get questionnai...
should "return data for questionnaire" do get questionnaires_path, headers: auth_headers(@token.token) assert_response :success end end private def json_headers { content_type: 'application/json' } end def auth_headers(token) { content_type: 'application/json', ...
<|file_sep|>test/integration/oauth_test.rb.diff original: updated: context "access with invalid API key" do setup do @token = create(:access_token, application: @application, resource_owner_id: @user.id) @application.destroy end should "return data for questionnaire" do get questionnai...
cdf19489f69c344f85d655f34a5395ce87af63a9
test/integration/oauth_test.rb
test/integration/oauth_test.rb
Ruby
<|file_sep|>original/ACKNOWLEDGEMENTS.md Original Creator & Maintainer =================== - Timothy Edmund Crosley (@timothycrosley) Notable Bug Reporters =================== - Code Contributors =================== - Documenters =================== - -------------------------------------------- A sincere thanks t...
Original Creator & Maintainer =================== - Timothy Edmund Crosley (@timothycrosley) Notable Bug Reporters =================== - Code Contributors =================== - Fabian Kochem (@vortec) Documenters =================== - -------------------------------------------- A sincere thanks to everyone who ha...
<|file_sep|>original/ACKNOWLEDGEMENTS.md Original Creator & Maintainer =================== - Timothy Edmund Crosley (@timothycrosley) Notable Bug Reporters =================== - Code Contributors =================== - Documenters =================== - -------------------------------------------- A sincere thanks t...
dca50d9c1cec6b08a3ade17f6a962f8e7162b42a
ACKNOWLEDGEMENTS.md
ACKNOWLEDGEMENTS.md
Markdown
<|file_sep|>original/til/til_macos_fat16.md <|file_sep|>current/til/til_macos_fat16.md <|file_sep|>updated/til/til_macos_fat16.md
Format USB Stick as FAT16 From Mac OS X ======================================= **Warning:** This will destroy data. Ensure that you have a backup and that you target the correct disk(s). 1. Find drive to format with `mount`, if filesystem mounted. 1. Unmount target filesystem with `diskutil unmountDisk disk7` (which...
<|file_sep|>original/til/til_macos_fat16.md <|file_sep|>current/til/til_macos_fat16.md <|file_sep|>updated/til/til_macos_fat16.md Format USB Stick as FAT16 From Mac OS X ======================================= **Warning:** This will destroy data. Ensure that you have a backup and that you target the correct disk(s)....
c5a32264dc9dd603008df9593809f298c45af7a2
til/til_macos_fat16.md
til/til_macos_fat16.md
Markdown
<|file_sep|>original/build/README.md ## Generating .deb ### Requirements - Debian 7 or Ubuntu 14.04 or Fedora 22+ - Install these packages: - For Ubuntu/Debian: `$ sudo apt-get install build-essential fakeroot` - For Fedora: `$ sudo dnf install make automake gcc gcc-c++ kernel-devel dpkg-dev` ### Run the sc...
## Generating .deb ### Requirements - Debian 7 or Ubuntu 14.04 or Fedora 22+ - Install these packages: - For Ubuntu/Debian: `$ sudo apt-get install build-essential fakeroot` - For Fedora: `$ sudo dnf install make automake gcc gcc-c++ kernel-devel dpkg-dev fakeroot` ### Run the script Run this command from ...
<|file_sep|>original/build/README.md ## Generating .deb ### Requirements - Debian 7 or Ubuntu 14.04 or Fedora 22+ - Install these packages: - For Ubuntu/Debian: `$ sudo apt-get install build-essential fakeroot` - For Fedora: `$ sudo dnf install make automake gcc gcc-c++ kernel-devel dpkg-dev` ### Run the sc...
781b9efbc4c1bd962dc8008cd2590854fc816a61
build/README.md
build/README.md
Markdown
<|file_sep|>original/passman.gemspec s.name = 'passman' s.version = Passman::VERSION s.author = 'Mark A. Nicolosi' s.email = 'mark.a.nicolosi@gmail.com' s.homepage = 'https://github.com/manicolosi/passman' s.platform = Gem::Platform::RUBY s.summary = 'A command-line password manager' s.files = `git ls-f...
s.version = Passman::VERSION s.author = 'Mark A. Nicolosi' s.email = 'mark.a.nicolosi@gmail.com' s.homepage = 'https://github.com/manicolosi/passman' s.platform = Gem::Platform::RUBY s.summary = 'A command-line password manager' s.files = `git ls-files`.split("\n") s.require_paths << 'lib' s.bindir = ...
<|file_sep|>original/passman.gemspec s.name = 'passman' s.version = Passman::VERSION s.author = 'Mark A. Nicolosi' s.email = 'mark.a.nicolosi@gmail.com' s.homepage = 'https://github.com/manicolosi/passman' s.platform = Gem::Platform::RUBY s.summary = 'A command-line password manager' s.files = `git ls-f...
fcd64dff9ffb34b2ecf5619d0644facbcb7f760f
passman.gemspec
passman.gemspec
Ruby
<|file_sep|>website/source/docs/appfile/project.html.md.diff original: infrastructure = "aws" updated: infrastructure = "production" <|file_sep|>original/website/source/docs/appfile/project.html.md The `project` block ties an application to a project. A project is a group of applications that share the same in...
The `project` block ties an application to a project. A project is a group of applications that share the same infrastructure. The `project` block allows the following keys to be set: * `name` (string) - The name of the project. This must be unique to an infrastructure. * `infrastructure` (string) - The n...
<|file_sep|>website/source/docs/appfile/project.html.md.diff original: infrastructure = "aws" updated: infrastructure = "production" <|file_sep|>original/website/source/docs/appfile/project.html.md The `project` block ties an application to a project. A project is a group of applications that share the same in...
0c68fb59cb3c8a24ed7cc7a1840f03796d812001
website/source/docs/appfile/project.html.md
website/source/docs/appfile/project.html.md
Markdown
<|file_sep|>original/src/Orchard.Abstractions/project.json "Microsoft.Extensions.Localization.Abstractions": "1.0.0-*", "Microsoft.Extensions.Logging.Abstractions": "1.0.0-*", "Orchard.Validation": "2.0.0-*" }, "compilationOptions": { "define": [ "TRACE" ], "warningsAsErrors": true }, "frame...
"Microsoft.Extensions.Localization.Abstractions": "1.0.0-*", "Microsoft.Extensions.Logging.Abstractions": "1.0.0-*", "Orchard.Validation": "2.0.0-*" }, "compilationOptions": { "define": [ "TRACE" ], "warningsAsErrors": true }, "frameworks": { "dnxcore50": { "dependencies": { ...
<|file_sep|>original/src/Orchard.Abstractions/project.json "Microsoft.Extensions.Localization.Abstractions": "1.0.0-*", "Microsoft.Extensions.Logging.Abstractions": "1.0.0-*", "Orchard.Validation": "2.0.0-*" }, "compilationOptions": { "define": [ "TRACE" ], "warningsAsErrors": true }, "frame...
522c3b4828ce1251397dd2448de55181015c7bd3
src/Orchard.Abstractions/project.json
src/Orchard.Abstractions/project.json
JSON
<|file_sep|>original/bin/incDualListbox.php public static function runMe(&$params, $debug = true) { $path = driverCommand::run('modGetPath', array('name' => 'pharinix_mod_bootstrap_duallistbox')); echo '<link rel="stylesheet" href="'.CMS_DEFAULT_URL_BASE.$path['path'].'boot...
public static function runMe(&$params, $debug = true) { $path = driverCommand::run('modGetPath', array('name' => 'pharinix_mod_bootstrap_duallistbox')); echo '<link rel="stylesheet" href="'.CMS_DEFAULT_URL_BASE.$path['path'].'bootstrap-duallistbox.css"/>'; echo ...
<|file_sep|>original/bin/incDualListbox.php public static function runMe(&$params, $debug = true) { $path = driverCommand::run('modGetPath', array('name' => 'pharinix_mod_bootstrap_duallistbox')); echo '<link rel="stylesheet" href="'.CMS_DEFAULT_URL_BASE.$path['path'].'boot...
f8285b5bf45e7e30c7de42211702d3bd7b7dc5ca
bin/incDualListbox.php
bin/incDualListbox.php
PHP
<|file_sep|>original/src/main/java/edu/northwestern/bioinformatics/studycalendar/dao/StudySiteDao.java package edu.northwestern.bioinformatics.studycalendar.dao; import edu.northwestern.bioinformatics.studycalendar.domain.StudySite; /** * @author Padmaja Vedula */ public class StudySiteDao extends StudyCalendarMut...
package edu.northwestern.bioinformatics.studycalendar.dao; import edu.northwestern.bioinformatics.studycalendar.domain.StudySite; /** * @author Padmaja Vedula */ public class StudySiteDao extends StudyCalendarMutableDomainObjectDao<StudySite> { @Override public Class<StudySite> domainClass() { return StudySite...
<|file_sep|>original/src/main/java/edu/northwestern/bioinformatics/studycalendar/dao/StudySiteDao.java package edu.northwestern.bioinformatics.studycalendar.dao; import edu.northwestern.bioinformatics.studycalendar.domain.StudySite; /** * @author Padmaja Vedula */ public class StudySiteDao extends StudyCalendarMut...
a58e7b7005186401424f5f4e13d114977ecffb49
src/main/java/edu/northwestern/bioinformatics/studycalendar/dao/StudySiteDao.java
src/main/java/edu/northwestern/bioinformatics/studycalendar/dao/StudySiteDao.java
Java
<|file_sep|>original/SurveyorCore/src/main/java/org/wwarn/surveyor/client/event/DataUpdatedEvent.java <|file_sep|>current/SurveyorCore/src/main/java/org/wwarn/surveyor/client/event/DataUpdatedEvent.java <|file_sep|>updated/SurveyorCore/src/main/java/org/wwarn/surveyor/client/event/DataUpdatedEvent.java
package org.wwarn.surveyor.client.event; /* * #%L * SurveyorCore * %% * Copyright (C) 2013 - 2014 University of Oxford * %% * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source code ...
<|file_sep|>original/SurveyorCore/src/main/java/org/wwarn/surveyor/client/event/DataUpdatedEvent.java <|file_sep|>current/SurveyorCore/src/main/java/org/wwarn/surveyor/client/event/DataUpdatedEvent.java <|file_sep|>updated/SurveyorCore/src/main/java/org/wwarn/surveyor/client/event/DataUpdatedEvent.java package org.ww...
276c9d6cf6211a6a7f0d701339df6cce903eb9e1
SurveyorCore/src/main/java/org/wwarn/surveyor/client/event/DataUpdatedEvent.java
SurveyorCore/src/main/java/org/wwarn/surveyor/client/event/DataUpdatedEvent.java
Java
<|file_sep|>original/assets/css/custom.css @import "monokai.css"; .spacer { height: 80px; } @media (max-width: 768px) { .spacer { height: 50px; } } <|file_sep|>current/assets/css/custom.css @import "monokai.css"; .spacer { height: 80px; } @media (max-width: 768px) { .spacer { height: 50px; } } <...
.spacer { height: 80px; } @media (max-width: 768px) { .spacer { height: 50px; } } .post-preview { padding: 0; margin-bottom: 10px; } .tags { margin-bottom: 10px; } .article-footer {
<|file_sep|>original/assets/css/custom.css @import "monokai.css"; .spacer { height: 80px; } @media (max-width: 768px) { .spacer { height: 50px; } } <|file_sep|>current/assets/css/custom.css @import "monokai.css"; .spacer { height: 80px; } @media (max-width: 768px) { .spacer { height: 50px; } } <...
591d1143afd0f7717c7e3d2750a8db2af4a7cac3
assets/css/custom.css
assets/css/custom.css
CSS
<|file_sep|>original/Tests/Basic/XCTestManifests.swift See http://swift.org/LICENSE.txt for license information See http://swift.org/CONTRIBUTORS.txt for Swift project authors */ import XCTest #if !os(OSX) public func allTests() -> [XCTestCaseEntry] { return [ testCase(ByteStringTests.allTests), ...
*/ import XCTest #if !os(OSX) public func allTests() -> [XCTestCaseEntry] { return [ testCase(ByteStringTests.allTests), testCase(JSONTests.allTests), testCase(FSProxyTests.allTests), testCase(LazyCacheTests.allTests), testCase(LockTests.allTests), testCase(OptionPa...
<|file_sep|>original/Tests/Basic/XCTestManifests.swift See http://swift.org/LICENSE.txt for license information See http://swift.org/CONTRIBUTORS.txt for Swift project authors */ import XCTest #if !os(OSX) public func allTests() -> [XCTestCaseEntry] { return [ testCase(ByteStringTests.allTests), ...
34bee65b0fa89f157ed49f62c80afd4497faa91a
Tests/Basic/XCTestManifests.swift
Tests/Basic/XCTestManifests.swift
Swift
<|file_sep|>original/client/src/app/header/header.component.scss my-search-typeahead { margin-right: 15px; } .upload-button { @include peertube-button-link; @include orange-button; @include button-with-icon(22px, 3px, -1px); color: var(--mainBackgroundColor) !important; margin-right: 25px; @media scre...
my-search-typeahead { margin-right: 15px; } .upload-button { @include peertube-button-link; @include orange-button; @include button-with-icon(22px, 3px, -1px); margin-right: 25px; @media screen and (max-width: 600px) { margin-right: 10px; padding: 0 10px; .icon.icon-upload { margin-ri...
<|file_sep|>original/client/src/app/header/header.component.scss my-search-typeahead { margin-right: 15px; } .upload-button { @include peertube-button-link; @include orange-button; @include button-with-icon(22px, 3px, -1px); color: var(--mainBackgroundColor) !important; margin-right: 25px; @media scre...
b66c5e58f13c790a8933117b0f8ba73ed37c1855
client/src/app/header/header.component.scss
client/src/app/header/header.component.scss
SCSS
<|file_sep|>original/docs/module_tessellate.rst surf.tessellate() NURBS-Python uses :py:class:`.TriangularTessellate` class for surface tessellation by default. Abstract Tessellator ==================== .. autoclass:: geomdl.tessellate.AbstractTessellate :members: :undoc-members: :inherited-members: ...
surf.tessellate() NURBS-Python uses :py:class:`.TriangularTessellate` class for surface tessellation by default. Abstract Tessellator ==================== .. autoclass:: geomdl.tessellate.AbstractTessellate :members: :undoc-members: :inherited-members: :show-inheritance: Triangular Tessellator =...
<|file_sep|>original/docs/module_tessellate.rst surf.tessellate() NURBS-Python uses :py:class:`.TriangularTessellate` class for surface tessellation by default. Abstract Tessellator ==================== .. autoclass:: geomdl.tessellate.AbstractTessellate :members: :undoc-members: :inherited-members: ...
6d02707cb463f715b3a7339df4dbcc537300bde4
docs/module_tessellate.rst
docs/module_tessellate.rst
reStructuredText
<|file_sep|>original/features/mainHours.feature <|file_sep|>current/features/mainHours.feature <|file_sep|>updated/features/mainHours.feature
Feature: View Main Branch Hours As a library patron I want to view library hours for the main library branch so that I can visit the library when it is open Scenario: Successfully View Open Hours When I go to "/index.php" Then I should see an "h1" element And I should see "OCLC WorldShare Platfor...
<|file_sep|>original/features/mainHours.feature <|file_sep|>current/features/mainHours.feature <|file_sep|>updated/features/mainHours.feature Feature: View Main Branch Hours As a library patron I want to view library hours for the main library branch so that I can visit the library when it is open Scenario...
d361cb80700b118b8f1d9f2d39ed1ab8c85ff1fb
features/mainHours.feature
features/mainHours.feature
Cucumber
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - '0.10' - '0.12' - '4' - '6' branches: only: - master - travis-ci before_install: - npm install - npm install istanbul coveralls <|file_sep|>current/.travis.yml sudo: false language: node_js node_js: - '0.10' - '0.1...
sudo: false language: node_js node_js: - '0.10' - '0.12' - '4' - '6' - '8' branches: only: - master - travis-ci before_install: - npm install - npm install istanbul coveralls
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - '0.10' - '0.12' - '4' - '6' branches: only: - master - travis-ci before_install: - npm install - npm install istanbul coveralls <|file_sep|>current/.travis.yml sudo: false language: node_js node_js: - '0.10' - '0.1...
e7bc8d1294ee5c600e07031843d9aaa3761b9411
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/globalStyles/loadingIndicatorStyles.js import { DARK_GREY } from './colors'; export const loadingIndicatorStyles = { loadingIndicatorContainer: { position: 'absolute', top: 0, left: 0, right: 0, bottom: 0, justifyContent: 'center', alignItems: 'center', backgr...
import { DARK_GREY } from './colors'; export const loadingIndicatorStyles = { loadingIndicatorContainer: { position: 'absolute', top: 0, left: 0, right: 0, bottom: 0, justifyContent: 'center', alignItems: 'center', backgroundColor: DARK_GREY, opacity: 0.88, zIndex: 2, }, };
<|file_sep|>original/src/globalStyles/loadingIndicatorStyles.js import { DARK_GREY } from './colors'; export const loadingIndicatorStyles = { loadingIndicatorContainer: { position: 'absolute', top: 0, left: 0, right: 0, bottom: 0, justifyContent: 'center', alignItems: 'center', backgr...
6817f79a4b0d5f95c5347896ee2d55de2a082b6d
src/globalStyles/loadingIndicatorStyles.js
src/globalStyles/loadingIndicatorStyles.js
JavaScript
<|file_sep|>original/docker-compose.erd-generation.yml version: "2" services: referencedata: image: openlmis/referencedata links: - db - log env_file: .env environment: JAVA_OPTS: '-server -Xmx1024m -Dlogging.config=/config/log/logback.xml' db: image: openlmis/postgres:9.6-po...
version: "2" services: referencedata: image: openlmis/referencedata links: - db - log env_file: .env environment: JAVA_OPTS: '-server -Xmx1536m' db: image: openlmis/postgres:9.6-postgis ports: - "5432" env_file: .env log: image: openlmis/rsyslog:1 vol...
<|file_sep|>original/docker-compose.erd-generation.yml version: "2" services: referencedata: image: openlmis/referencedata links: - db - log env_file: .env environment: JAVA_OPTS: '-server -Xmx1024m -Dlogging.config=/config/log/logback.xml' db: image: openlmis/postgres:9.6-po...
18cceb5b2f89bcbe9d673ba6352efd11f4aacf91
docker-compose.erd-generation.yml
docker-compose.erd-generation.yml
YAML
<|file_sep|>original/spec/unit/queueing_rabbit/client/callbacks_spec.rb <|file_sep|>current/spec/unit/queueing_rabbit/client/callbacks_spec.rb <|file_sep|>updated/spec/unit/queueing_rabbit/client/callbacks_spec.rb
require 'spec_helper' describe QueueingRabbit::Client::Callbacks do let!(:klass) { Class.new { extend QueueingRabbit::Client::Callbacks } } subject { klass } it { should respond_to(:define_callback).with(1).argument } it { should respond_to(:callback).with(1).argument } context 'when a callback is being d...
<|file_sep|>original/spec/unit/queueing_rabbit/client/callbacks_spec.rb <|file_sep|>current/spec/unit/queueing_rabbit/client/callbacks_spec.rb <|file_sep|>updated/spec/unit/queueing_rabbit/client/callbacks_spec.rb require 'spec_helper' describe QueueingRabbit::Client::Callbacks do let!(:klass) { Class.new { extend...
1407226b71fc7995fb9735cf05f0be28a1ed0d96
spec/unit/queueing_rabbit/client/callbacks_spec.rb
spec/unit/queueing_rabbit/client/callbacks_spec.rb
Ruby
<|file_sep|>original/README.rst disqus-postgres =============== An enhanced psycopg2 backend for Django. It provides the following additionaly features: - Automatic reconnection when a connection is dropped under various conditions. - Improved tracebacks for transactional errors (e.g. TransactionAborted) - Forces SE...
disqus-postgres =============== An enhanced psycopg2 backend for Django. It provides the following additionaly features: - Automatic reconnection when a connection is dropped under various conditions. - Improved tracebacks for transactional errors (e.g. TransactionAborted) - Delays SET TIME ZONE until your first que...
<|file_sep|>original/README.rst disqus-postgres =============== An enhanced psycopg2 backend for Django. It provides the following additionaly features: - Automatic reconnection when a connection is dropped under various conditions. - Improved tracebacks for transactional errors (e.g. TransactionAborted) - Forces SE...
5b65142c84fce5329ccafa4b332001f0f5428777
README.rst
README.rst
reStructuredText
<|file_sep|>original/lib/masamune/tasks/hive_thor.rb # FIXME need to add an unnecessary namespace until this issue is fixed: # https://github.com/wycats/thor/pull/247 namespace :hive desc 'hive', 'Launch a Hive session' method_option :file, :aliases => '-f', :desc => 'SQL from files' method_opt...
# FIXME need to add an unnecessary namespace until this issue is fixed: # https://github.com/wycats/thor/pull/247 namespace :hive desc 'hive', 'Launch a Hive session' method_option :file, :aliases => '-f', :desc => 'SQL from files' method_option :exec, :aliases => '-e', :desc => 'SQL from comma...
<|file_sep|>original/lib/masamune/tasks/hive_thor.rb # FIXME need to add an unnecessary namespace until this issue is fixed: # https://github.com/wycats/thor/pull/247 namespace :hive desc 'hive', 'Launch a Hive session' method_option :file, :aliases => '-f', :desc => 'SQL from files' method_opt...
0a0edf1917cf65bf429a8791d8816c3cf3626fa8
lib/masamune/tasks/hive_thor.rb
lib/masamune/tasks/hive_thor.rb
Ruby
<|file_sep|>runtime/vm/native_symbol_fuchsia.cc.diff original: #include "platform/globals.h" updated: #include "vm/globals.h" <|file_sep|>runtime/vm/native_symbol_fuchsia.cc.diff original: updated: #include "platform/memory_sanitizer.h" <|file_sep|>runtime/vm/native_symbol_fuchsia.cc.diff original: updated: #include ...
int r = dladdr(reinterpret_cast<void*>(pc), &info); if (r == 0) { return NULL; } if (info.dli_sname == NULL) { return NULL; } if (start != NULL) { *start = reinterpret_cast<uintptr_t>(info.dli_saddr); } int status = 0; size_t len = 0; char* demangled = abi::__cxa_demangle(info.dli_sname,...
<|file_sep|>runtime/vm/native_symbol_fuchsia.cc.diff original: #include "platform/globals.h" updated: #include "vm/globals.h" <|file_sep|>runtime/vm/native_symbol_fuchsia.cc.diff original: updated: #include "platform/memory_sanitizer.h" <|file_sep|>runtime/vm/native_symbol_fuchsia.cc.diff original: updated: #include ...
ca51885f3d9b82ba8fb7da88fe58cd2cde49d7bb
runtime/vm/native_symbol_fuchsia.cc
runtime/vm/native_symbol_fuchsia.cc
C++
<|file_sep|>poker-dice/spec/dice_spec.rb.diff original: updated: RSpec::Matchers.define :have_face_value_of do |expected| match do |actual| actual.to_s == expected end failure_message_for_should do |actual| "expected that #{actual.inspect} would have a face value of #{expected}" end en...
PokerDice::Die.new(numeric_value) end RSpec::Matchers.define :have_face_value_of do |expected| match do |actual| actual.to_s == expected end failure_message_for_should do |actual| "expected that #{actual.inspect} would have a face value of #{expected}" end end it "should have ...
<|file_sep|>poker-dice/spec/dice_spec.rb.diff original: updated: RSpec::Matchers.define :have_face_value_of do |expected| match do |actual| actual.to_s == expected end failure_message_for_should do |actual| "expected that #{actual.inspect} would have a face value of #{expected}" end en...
3bc9ad3a38fc204c8e9b115b4c1d1c4a24de53ad
poker-dice/spec/dice_spec.rb
poker-dice/spec/dice_spec.rb
Ruby
<|file_sep|>original/examples/test_double/fastest_list.txt <|file_sep|>current/examples/test_double/fastest_list.txt <|file_sep|>updated/examples/test_double/fastest_list.txt
2D_54019_highK.mtx 4873.04 31770-lhs.mtx 438.216 88950-lhs.mtx 1044.09 ABACUS_shell_ud.mtx 336.859 af23560.mtx 734.102 apache1.mtx 2831.89 bayer01.mtx 4270.52 bcircuit.mtx 4524.7 cant.mtx 1759.98 cfd1.mtx 9617.1 cfd2.mtx
<|file_sep|>original/examples/test_double/fastest_list.txt <|file_sep|>current/examples/test_double/fastest_list.txt <|file_sep|>updated/examples/test_double/fastest_list.txt 2D_54019_highK.mtx 4873.04 31770-lhs.mtx 438.216 88950-lhs.mtx 1044.09 ABACUS_shell_ud.mtx 336.859 af23560.mtx 734.102 apache1.mtx 2831.89 baye...
d76ca079ec9898c4fc5f724691a37d86a1e1f6d0
examples/test_double/fastest_list.txt
examples/test_double/fastest_list.txt
Text
<|file_sep|>templates/default/etc_chef_client.rb.erb.diff original: node_name '<%= node['fqdn'] %>' updated: <%- nodename = @node_name || node['fqdn'] -%> <%- if nodename node_name '<%= nodename %>' <|file_sep|>original/templates/default/etc_chef_client.rb.erb <%= template_header -%> node_name '<%...
<%= template_header -%> <%- nodename = @node_name || node['fqdn'] -%> <%- if nodename node_name '<%= nodename %>' <%- end -%> chef_server_url '<%= @server_url %>' client_key '<%= @client_key %>' <% if @trusted_certs_dir -%> trusted_certs_dir '<%= @trusted_certs_dir %>' <% end -%> <%- if @verify_ssl == ...
<|file_sep|>templates/default/etc_chef_client.rb.erb.diff original: node_name '<%= node['fqdn'] %>' updated: <%- nodename = @node_name || node['fqdn'] -%> <%- if nodename node_name '<%= nodename %>' <|file_sep|>original/templates/default/etc_chef_client.rb.erb <%= template_header -%> node_name '<%...
36eb7212606c19fb5c1c8755b083be12c2839ce6
templates/default/etc_chef_client.rb.erb
templates/default/etc_chef_client.rb.erb
HTML+ERB
<|file_sep|>tests/functional/_bootstrap.php.diff original: // Define a complete, valid configuration with email addresses for some roles. // // NOTE: don't use admin@example.com for the administrator test user, as the // site we're testing against has uid 1 pre-configured with this address, and // the test user is not...
"email" => "test.administrator@example.com", "pass" => "foo", "roles" => array("administrator", "editor"), "root" => true, ), "editor" => array( "name" => "test.editor", "email" => "test.editor@example.com", "pass" => "f...
<|file_sep|>tests/functional/_bootstrap.php.diff original: // Define a complete, valid configuration with email addresses for some roles. // // NOTE: don't use admin@example.com for the administrator test user, as the // site we're testing against has uid 1 pre-configured with this address, and // the test user is not...
3379b92218cb3c5c73b421677cb6d51c72f76d73
tests/functional/_bootstrap.php
tests/functional/_bootstrap.php
PHP
<|file_sep|>src/document/DocumentMenuBuilder.js.diff original: const annotateMenu = require('../menu/annotateMenu') const insertMenu = require('../menu/insertMenu') updated: // const annotateMenu = require('../menu/annotateMenu') // const insertMenu = require('../menu/insertMenu') <|file_sep|>original/src/document/Docu...
/* Build a fresh document editor menu, based on current app state */ build(appState) { let documentMenu = [] if (process.platform === 'darwin') { documentMenu.push(macOSAboutMenu) } documentMenu.push(fileMenu(appState)) documentMenu.push(editMenu(appState)) // documentMenu.push(a...
<|file_sep|>src/document/DocumentMenuBuilder.js.diff original: const annotateMenu = require('../menu/annotateMenu') const insertMenu = require('../menu/insertMenu') updated: // const annotateMenu = require('../menu/annotateMenu') // const insertMenu = require('../menu/insertMenu') <|file_sep|>original/src/document/Docu...
f796bb5391ca0440b2a064b167402554459948f1
src/document/DocumentMenuBuilder.js
src/document/DocumentMenuBuilder.js
JavaScript
<|file_sep|>app/handlers/UrlFormEncodedHandler.scala.diff original: val newBody = FormData.parseEncodedToJsObject( request.bodyUtf8.getOrElse { // TODO: Return 422 on invalid content herek sys.error(s"Request[${request.requestId}] Failed to serialize body as string for ContentType.UrlFormEncod...
): Future[Result] = { request.bodyUtf8 match { case None => Future.successful( request.responseUnprocessableEntity( "Url form encoded requests must contain body encoded in ;UTF-8'" ) ) case Some(body) => { applicationJsonHandler.processJson( definitio...
<|file_sep|>app/handlers/UrlFormEncodedHandler.scala.diff original: val newBody = FormData.parseEncodedToJsObject( request.bodyUtf8.getOrElse { // TODO: Return 422 on invalid content herek sys.error(s"Request[${request.requestId}] Failed to serialize body as string for ContentType.UrlFormEncod...
8320be6a28f1e7f2f41c5d0f3fe4d3981974a09a
app/handlers/UrlFormEncodedHandler.scala
app/handlers/UrlFormEncodedHandler.scala
Scala
<|file_sep|>src/test/java/com/vtence/molecule/BodyPartTest.java.diff original: updated: import static com.vtence.molecule.helpers.Charsets.UTF_16; import static com.vtence.molecule.helpers.Charsets.UTF_8; <|file_sep|>src/test/java/com/vtence/molecule/BodyPartTest.java.diff original: BodyPart part = new BodyPar...
assertThat("decoded text", part.content(), equalTo(originalText)); } @Test public void defaultsToUTF8DecodingWhenNoContentTypeIsSpecified() throws IOException { String originalText = "sont sûrs d'être déçus..."; BodyPart part = new BodyPart().content(originalText.getBytes(UTF_8)); ...
<|file_sep|>src/test/java/com/vtence/molecule/BodyPartTest.java.diff original: updated: import static com.vtence.molecule.helpers.Charsets.UTF_16; import static com.vtence.molecule.helpers.Charsets.UTF_8; <|file_sep|>src/test/java/com/vtence/molecule/BodyPartTest.java.diff original: BodyPart part = new BodyPar...
40c7d72ca275680754e38fd8c926ee364d007198
src/test/java/com/vtence/molecule/BodyPartTest.java
src/test/java/com/vtence/molecule/BodyPartTest.java
Java
<|file_sep|>original/composer.json "ACME", "letsencrypt", "certificate", "https", "encryption", "ssl", "tls" ], "require": { "amphp/artax": "^2", "namshi/jose": "^6", "sabre/uri": "^1" }, "license": "MIT", "authors": [ ...
"ACME", "letsencrypt", "certificate", "https", "encryption", "ssl", "tls" ], "require": { "amphp/artax": "^2", "namshi/jose": "^7", "sabre/uri": "^1" }, "license": "MIT", "authors": [ { "name": "Nikla...
<|file_sep|>original/composer.json "ACME", "letsencrypt", "certificate", "https", "encryption", "ssl", "tls" ], "require": { "amphp/artax": "^2", "namshi/jose": "^6", "sabre/uri": "^1" }, "license": "MIT", "authors": [ ...
6a714872d9c802f797f8bb6fc3c609b723566bcf
composer.json
composer.json
JSON
<|file_sep|>original/bin/jenkins/buildandpush.sh <|file_sep|>current/bin/jenkins/buildandpush.sh <|file_sep|>updated/bin/jenkins/buildandpush.sh
#!/bin/bash set -xe # Workaround to ignore mtime until we upgrade to Docker 1.8 # See https://github.com/docker/docker/pull/12031 find . -newerat 20140101 -exec touch -t 201401010000 {} \; DOCKER_IMAGE_TAG=$DOCKER_REPO:$GIT_COMMIT docker build -t $DOCKER_IMAGE_TAG . docker save $DOCKER_IMAGE_TAG | sudo docker-squa...
<|file_sep|>original/bin/jenkins/buildandpush.sh <|file_sep|>current/bin/jenkins/buildandpush.sh <|file_sep|>updated/bin/jenkins/buildandpush.sh #!/bin/bash set -xe # Workaround to ignore mtime until we upgrade to Docker 1.8 # See https://github.com/docker/docker/pull/12031 find . -newerat 20140101 -exec touch -t 20...
d255e4f92e5637383ba15dafb17ce07f7412e6fb
bin/jenkins/buildandpush.sh
bin/jenkins/buildandpush.sh
Shell
<|file_sep|>original/examples/guessing_game.scm <|file_sep|>current/examples/guessing_game.scm <|file_sep|>updated/examples/guessing_game.scm
="ll" ;(coll binary_tree ; left ; right ; trait ; animal ;) (fun ask_q '(tree) ( (println "does your animal have %? y/n" tree.trait) (let ans (readln "> ")) (if (== ans "y") ; check if right side is none; if so, guess that as the animal (if (isnone tree.rig...
<|file_sep|>original/examples/guessing_game.scm <|file_sep|>current/examples/guessing_game.scm <|file_sep|>updated/examples/guessing_game.scm ="ll" ;(coll binary_tree ; left ; right ; trait ; animal ;) (fun ask_q '(tree) ( (println "does your animal have %? y/n" tree.trait) (let ans (re...
051cfc61ee1caa7758bdb2595144939ff0634e14
examples/guessing_game.scm
examples/guessing_game.scm
Scheme
<|file_sep|>original/src/test/ParserTest.java <|file_sep|>current/src/test/ParserTest.java <|file_sep|>updated/src/test/ParserTest.java
package test; import static org.junit.Assert.*; import org.junit.BeforeClass; import org.junit.Test; import controller.Logic; import controller.Parser; import controller.UserInput; public class ParserTest { @BeforeClass public static void setUpBeforeClass() throws Exception { } @Test public void taskTypeT...
<|file_sep|>original/src/test/ParserTest.java <|file_sep|>current/src/test/ParserTest.java <|file_sep|>updated/src/test/ParserTest.java package test; import static org.junit.Assert.*; import org.junit.BeforeClass; import org.junit.Test; import controller.Logic; import controller.Parser; import controller.UserInput...
8f43ce4b62caf1747819f0f2b2dca7c8ccc6cfc6
src/test/ParserTest.java
src/test/ParserTest.java
Java
<|file_sep|>Modules/ThirdParty/ZLIB/src/CMakeLists.txt.diff original: updated: FORCE_TZCNT <|file_sep|>Modules/ThirdParty/ZLIB/src/CMakeLists.txt.diff original: updated: WITH_AVX512 WITH_AVX512VNNI WITH_BENCHMARK_APPS WITH_BENCHMARKS <|file_sep|>original/Modules/ThirdParty/ZLIB/src/CMakeLists.txt set(PKGCON...
mark_as_advanced(FORCE BIN_INSTALL_DIR FORCE_TZCNT INC_INSTALL_DIR LIB_INSTALL_DIR PKGCONFIG_INSTALL_DIR WITH_AVX512 WITH_AVX512VNNI WITH_BENCHMARK_APPS WITH_BENCHMARKS WITH_CODE_COVERAGE WITH_FUZZERS WITH_GZFILEOP WITH_MAINTAINER_WARNINGS WITH_NATIVE_INSTRUCTIONS WITH_NEW_STRATEGIES WIT...
<|file_sep|>Modules/ThirdParty/ZLIB/src/CMakeLists.txt.diff original: updated: FORCE_TZCNT <|file_sep|>Modules/ThirdParty/ZLIB/src/CMakeLists.txt.diff original: updated: WITH_AVX512 WITH_AVX512VNNI WITH_BENCHMARK_APPS WITH_BENCHMARKS <|file_sep|>original/Modules/ThirdParty/ZLIB/src/CMakeLists.txt set(PKGCON...
b95c7be97226fc60998c1d9cddc9b91b1ce24041
Modules/ThirdParty/ZLIB/src/CMakeLists.txt
Modules/ThirdParty/ZLIB/src/CMakeLists.txt
Text
<|file_sep|>original/src/main/kotlin/tech/pronghorn/server/handlers/DirectHttpRequestHandler.kt * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDIT...
* http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language govern...
<|file_sep|>original/src/main/kotlin/tech/pronghorn/server/handlers/DirectHttpRequestHandler.kt * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDIT...
1ad575687d36b5fc3a665d8c03c502ba9aa94aeb
src/main/kotlin/tech/pronghorn/server/handlers/DirectHttpRequestHandler.kt
src/main/kotlin/tech/pronghorn/server/handlers/DirectHttpRequestHandler.kt
Kotlin
<|file_sep|>original/package.json { "name": "fh-service-google-cloud", "version": "0.2.0", "dependencies": { "googleapis": "0.2.13-alpha", "fh-mbaas-api": "^5.13.9", "request": "2.34.0", "body-parser": "~1.0.2", "express": "4.0.0", "cors": "~2.2.0" }, "devDependencies": { "grunt-co...
{ "name": "fh-service-google-cloud", "version": "0.2.0", "dependencies": { "googleapis": "0.2.13-alpha", "fh-mbaas-api": "^5.13.11", "request": "2.34.0", "body-parser": "~1.0.2", "express": "4.0.0", "cors": "~2.2.0" }, "devDependencies": { "grunt-concurrent": "latest", "grunt-c...
<|file_sep|>original/package.json { "name": "fh-service-google-cloud", "version": "0.2.0", "dependencies": { "googleapis": "0.2.13-alpha", "fh-mbaas-api": "^5.13.9", "request": "2.34.0", "body-parser": "~1.0.2", "express": "4.0.0", "cors": "~2.2.0" }, "devDependencies": { "grunt-co...
92dc7631a49e9050dfe805fe867b57a43bef9588
package.json
package.json
JSON
<|file_sep|>original/maven-meeper/src/bin/synchronize.sh ( cd $TOOLS_BASE/syncopate ./sync retval=$?; if [ $retval != 0 ]; then exit $retval; fi ) retval=$?; if [ $retval != 0 ]; then exit $retval; fi ( cd $TOOLS_BASE/repoclean ./repoclean.sh synchronize.properties retval=$?; if [ $retval != 0 ]; then exit...
) retval=$?; if [ $retval != 0 ]; then exit $retval; fi ( cd $TOOLS_BASE/repoclean ./repoclean.sh synchronize.properties retval=$?; if [ $retval != 0 ]; then exit $retval; fi ) retval=$?; if [ $retval != 0 ]; then exit $retval; fi # get poms from svn and generate checksums ( /home/projects/maven/components/ma...
<|file_sep|>original/maven-meeper/src/bin/synchronize.sh ( cd $TOOLS_BASE/syncopate ./sync retval=$?; if [ $retval != 0 ]; then exit $retval; fi ) retval=$?; if [ $retval != 0 ]; then exit $retval; fi ( cd $TOOLS_BASE/repoclean ./repoclean.sh synchronize.properties retval=$?; if [ $retval != 0 ]; then exit...
c4b1fccb690be05610a57da4c8252c63972c8610
maven-meeper/src/bin/synchronize.sh
maven-meeper/src/bin/synchronize.sh
Shell
<|file_sep|>riak-cluster.sh.diff original: updated: echo "ready" > $CLUSTER_STATUS sleep 10 <|file_sep|>riak-cluster.sh.diff original: riak ping echo "ready" > $CLUSTER_STATUS updated: <|file_sep|>original/riak-cluster.sh done riak ping echo "ready" > $CLUSTER_STATUS tail -n 1024 -f /var/log/riak/console.log & ...
for s in $POSTSTART; do . $s done tail -n 1024 -f /var/log/riak/console.log & TAIL_PID=$! function graceful_death { echo "dying" > $CLUSTER_STATUS sleep 10 if [ -n "$KUBERNETES_SERVICE_PORT" -a -n "$KUBERNETES_SERVICE_PORT" ] then riak-admin cluster leave riak-admin cluster plan riak-admin clu...
<|file_sep|>riak-cluster.sh.diff original: updated: echo "ready" > $CLUSTER_STATUS sleep 10 <|file_sep|>riak-cluster.sh.diff original: riak ping echo "ready" > $CLUSTER_STATUS updated: <|file_sep|>original/riak-cluster.sh done riak ping echo "ready" > $CLUSTER_STATUS tail -n 1024 -f /var/log/riak/console.log & ...
b43074c8af33e9e3d857a82bf95be3b3721269d4
riak-cluster.sh
riak-cluster.sh
Shell
<|file_sep|>original/setup.cfg [flake8] count = True format = pylint ignore = E501,E201,E202,E251,E302,E126,E123,E261,E128,E124 [nosetests] logging-format = %(pathname)s:%(lineno)d: %(process)d: %(message)s verbosity = 2 with-coverage = 1 cover-package = pclean cover-erase = 1 with-doctest = 1 <|file_sep|>current/s...
[flake8] count = True format = pylint ignore = E501,E201,E202,E251,E302,E126,E123,E261,E128,E124 [nosetests] logging-format = %(pathname)s:%(lineno)d: %(process)d: %(message)s verbosity = 2 with-coverage = 1 cover-package = parameters cover-erase = 1 with-doctest = 1
<|file_sep|>original/setup.cfg [flake8] count = True format = pylint ignore = E501,E201,E202,E251,E302,E126,E123,E261,E128,E124 [nosetests] logging-format = %(pathname)s:%(lineno)d: %(process)d: %(message)s verbosity = 2 with-coverage = 1 cover-package = pclean cover-erase = 1 with-doctest = 1 <|file_sep|>current/s...
2e80df1b45f9dfc80f0c3bc778c0d0ede3f97073
setup.cfg
setup.cfg
INI
<|file_sep|>parsl/data_provider/scheme.py.diff original: updated: import typeguard from typing import Optional <|file_sep|>original/parsl/data_provider/scheme.py from parsl.utils import RepresentationMixin class GlobusScheme(RepresentationMixin): """Specification for accessing data on a remote executor via Glob...
from parsl.utils import RepresentationMixin class GlobusScheme(RepresentationMixin): """Specification for accessing data on a remote executor via Globus. Parameters ---------- endpoint_uuid : str Universally unique identifier of the Globus endpoint at which the data can be accessed. T...
<|file_sep|>parsl/data_provider/scheme.py.diff original: updated: import typeguard from typing import Optional <|file_sep|>original/parsl/data_provider/scheme.py from parsl.utils import RepresentationMixin class GlobusScheme(RepresentationMixin): """Specification for accessing data on a remote executor via Glob...
2da4a8113e9f35444a9b44d6b1717b38d9e88f82
parsl/data_provider/scheme.py
parsl/data_provider/scheme.py
Python
<|file_sep|>original/content/events/2018-denver/welcome.md DevOpsDays is back for its 4th annual event in the Rocky Mountains {{< event_start >}} - {{< event_end >}} <div class = "row"> <div class = "col-md-2"> <strong>Location</strong> </div> <div class = "col-md-8"> {{< event_link page="location" text...
<div class = "row"> <div class = "col-md-2"> <strong>Location</strong> </div> <div class = "col-md-8"> {{< event_link page="location" text="Exdo Event Center, Denver" >}} </div> </div> <div class = "row"> <div class = "col-md-2"> <strong>Volunteer</strong> </div> <div class = "col-md-8"> I...
<|file_sep|>original/content/events/2018-denver/welcome.md DevOpsDays is back for its 4th annual event in the Rocky Mountains {{< event_start >}} - {{< event_end >}} <div class = "row"> <div class = "col-md-2"> <strong>Location</strong> </div> <div class = "col-md-8"> {{< event_link page="location" text...
fb4971001d5e651521ade6cb2fd98376f89e68ad
content/events/2018-denver/welcome.md
content/events/2018-denver/welcome.md
Markdown
<|file_sep|>original/Haxe/Externs/Common/unreal/FHitResult_Extra.hx package unreal; extern class FHitResult_Extra { public function new(init:EForceInit); @:uname('.ctor') public static function createForceInit(init:EForceInit) : FHitResult; @:uname('new') public static function createNewForceInit(init:EFor...
package unreal; extern class FHitResult_Extra { public function new(init:EForceInit); @:uname('.ctor') public static function createForceInit(init:EForceInit) : FHitResult; @:uname('new') public static function createNewForceInit(init:EForceInit) : POwnedPtr<FHitResult>; /** Reset hit result while optio...
<|file_sep|>original/Haxe/Externs/Common/unreal/FHitResult_Extra.hx package unreal; extern class FHitResult_Extra { public function new(init:EForceInit); @:uname('.ctor') public static function createForceInit(init:EForceInit) : FHitResult; @:uname('new') public static function createNewForceInit(init:EFor...
e390fb0ceaff36794d004af24ae4bfe2463f4faf
Haxe/Externs/Common/unreal/FHitResult_Extra.hx
Haxe/Externs/Common/unreal/FHitResult_Extra.hx
Haxe
<|file_sep|>original/.travis.yml sudo: false language: ruby addons: chrome: stable apt: packages: - chromium-chromedriver rvm: - 2.3.1 before_install: - ln -s /usr/lib/chromium-browser/chromedriver ~/bin/chromedriver env: matrix: - SOLIDUS_BRANCH=v2.4 DB=postgres - SOLIDUS_BRANCH=v2.5 DB=pos...
sudo: false language: ruby dist: xenial addons: chrome: stable apt: packages: - chromium-chromedriver rvm: - 2.3.1 before_install: - ln -s /usr/lib/chromium-browser/chromedriver ~/bin/chromedriver env: matrix: - SOLIDUS_BRANCH=v2.4 DB=postgres - SOLIDUS_BRANCH=v2.5 DB=postgres - SOLIDUS_...
<|file_sep|>original/.travis.yml sudo: false language: ruby addons: chrome: stable apt: packages: - chromium-chromedriver rvm: - 2.3.1 before_install: - ln -s /usr/lib/chromium-browser/chromedriver ~/bin/chromedriver env: matrix: - SOLIDUS_BRANCH=v2.4 DB=postgres - SOLIDUS_BRANCH=v2.5 DB=pos...
e04c022d66383578d35ec95a5049fa7b63f54029
.travis.yml
.travis.yml
YAML
<|file_sep|>original/requirements_dev.txt bumpversion==0.5.3 coverage==4.5.3 flake8==3.7.7 pytest==4.3.0 pytz==2018.9 Sphinx==1.8.4 tox==3.7.0 <|file_sep|>current/requirements_dev.txt bumpversion==0.5.3 coverage==4.5.3 flake8==3.7.7 pytest==4.3.0 pytz==2018.9 Sphinx==1.8.4 tox==3.7.0 <|file_sep|>updated/requirements_de...
bumpversion==0.5.3 coverage==4.5.3 flake8==3.7.7 pytest==4.3.1 pytz==2018.9 Sphinx==1.8.4 tox==3.7.0
<|file_sep|>original/requirements_dev.txt bumpversion==0.5.3 coverage==4.5.3 flake8==3.7.7 pytest==4.3.0 pytz==2018.9 Sphinx==1.8.4 tox==3.7.0 <|file_sep|>current/requirements_dev.txt bumpversion==0.5.3 coverage==4.5.3 flake8==3.7.7 pytest==4.3.0 pytz==2018.9 Sphinx==1.8.4 tox==3.7.0 <|file_sep|>updated/requirements_de...
795f0baed198dc3bc27907909f2cff5b79c8f0ea
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/CODE_OF_CONDUCT.md <|file_sep|>current/CODE_OF_CONDUCT.md <|file_sep|>updated/CODE_OF_CONDUCT.md
# Community Participation Guidelines This repository is governed by Mozilla's code of conduct and etiquette guidelines. For more details, please read the [Mozilla Community Participation Guidelines](https://www.mozilla.org/about/governance/policies/participation/). ## How to Report For more information on how to re...
<|file_sep|>original/CODE_OF_CONDUCT.md <|file_sep|>current/CODE_OF_CONDUCT.md <|file_sep|>updated/CODE_OF_CONDUCT.md # Community Participation Guidelines This repository is governed by Mozilla's code of conduct and etiquette guidelines. For more details, please read the [Mozilla Community Participation Guidelines]...
abbd2d8874b79fc12a0d8b6570593c8a6dbc2e68
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
Markdown
<|file_sep|>original/_posts/2016-07-26-gruntwork-infrastructure-packages.md --- layout: post title: Gruntwork Infrastructure Packages: world-class infrastructure, all of the control, none of the work tags: - External Writing - Gruntwork - DevOps thumbnail_path: blog/thumbs/gruntwork-packages.jpeg external_url: "https:/...
--- layout: post title: "Gruntwork Infrastructure Packages: world-class infrastructure, all of the control, none of the work" tags: - External Writing - Gruntwork - DevOps thumbnail_path: blog/thumbs/gruntwork-packages.jpeg external_url: "https://blog.gruntwork.io/gruntwork-infrastructure-packages-7434dc77d0b1" --- An...
<|file_sep|>original/_posts/2016-07-26-gruntwork-infrastructure-packages.md --- layout: post title: Gruntwork Infrastructure Packages: world-class infrastructure, all of the control, none of the work tags: - External Writing - Gruntwork - DevOps thumbnail_path: blog/thumbs/gruntwork-packages.jpeg external_url: "https:/...
b6b719f5c2fd656ebb3549cb303811b8afb3144f
_posts/2016-07-26-gruntwork-infrastructure-packages.md
_posts/2016-07-26-gruntwork-infrastructure-packages.md
Markdown
<|file_sep|>test_core.py.diff original: for n in range(10): updated: print "hit <enter> to render next; ^C to abort" while True: <|file_sep|>original/test_core.py #!/usr/bin/env python from ookoobah import core from ookoobah import utils game = core.Game() utils.populate_grid_from_string(game.grid, """ ###### ...
from ookoobah import core from ookoobah import utils game = core.Game() utils.populate_grid_from_string(game.grid, """ ###### #>..\# #.#..# #....# #.\./# ###### """) game.start() print "hit <enter> to render next; ^C to abort" while True: print utils.dump_grid_to_string(game.grid, game.b...
<|file_sep|>test_core.py.diff original: for n in range(10): updated: print "hit <enter> to render next; ^C to abort" while True: <|file_sep|>original/test_core.py #!/usr/bin/env python from ookoobah import core from ookoobah import utils game = core.Game() utils.populate_grid_from_string(game.grid, """ ###### ...
bb190d54324e15ed6ce99845047228eaef5e57cb
test_core.py
test_core.py
Python
<|file_sep|>pom.xml.diff original: <version>6.6.3-SNAPSHOT</version> updated: <version>6.7</version> <|file_sep|>original/pom.xml <repository> <id>central</id> <name>Central Maven Repository</name> <url>http://repo2.maven.org/maven2/</url> </repository> </repositories> <dependencies> ...
<repository> <id>central</id> <name>Central Maven Repository</name> <url>http://repo2.maven.org/maven2/</url> </repository> </repositories> <dependencies> <dependency> <groupId>org.basex</groupId> <artifactId>basex</artifactId> <version>6.7</version> <type>test-jar</type...
<|file_sep|>pom.xml.diff original: <version>6.6.3-SNAPSHOT</version> updated: <version>6.7</version> <|file_sep|>original/pom.xml <repository> <id>central</id> <name>Central Maven Repository</name> <url>http://repo2.maven.org/maven2/</url> </repository> </repositories> <dependencies> ...
3fa2afe6ad84c1d0ac79cdb667d7876b66b19f3f
pom.xml
pom.xml
XML
<|file_sep|>README.rst.diff original: papermill updated: |Logo| <|file_sep|>README.rst.diff original: |Logo| updated: <|file_sep|>original/README.rst papermill ========= |Logo| ⚠️ Papermill is a Work-in-progress and this README describes the intended state. 😁 Papermill allows Jupyter notebooks to be parametrized, ...
|Logo| ========= ⚠️ Papermill is a Work-in-progress and this README describes the intended state. 😁 Papermill allows Jupyter notebooks to be parametrized, executed, and summarized. .. |Logo| image:: https://user-images.githubusercontent.com/836375/27924827-79260c18-6237-11e7-90b8-bdd781885503.png :width: 200px ...
<|file_sep|>README.rst.diff original: papermill updated: |Logo| <|file_sep|>README.rst.diff original: |Logo| updated: <|file_sep|>original/README.rst papermill ========= |Logo| ⚠️ Papermill is a Work-in-progress and this README describes the intended state. 😁 Papermill allows Jupyter notebooks to be parametrized, ...
d55e7cfdbeb40db6d9d4af771347720f27d8f4b5
README.rst
README.rst
reStructuredText
<|file_sep|>original/requirements.txt fonttools==3.6.3 ufoLib==2.0.0 defcon==0.2.1 cu2qu==1.1.1 compreffor==0.4.3 <|file_sep|>current/requirements.txt fonttools==3.6.3 ufoLib==2.0.0 defcon==0.2.1 cu2qu==1.1.1 compreffor==0.4.3 <|file_sep|>updated/requirements.txt
fonttools==3.7.0 ufoLib==2.0.0 defcon==0.2.1 cu2qu==1.1.1 compreffor==0.4.3
<|file_sep|>original/requirements.txt fonttools==3.6.3 ufoLib==2.0.0 defcon==0.2.1 cu2qu==1.1.1 compreffor==0.4.3 <|file_sep|>current/requirements.txt fonttools==3.6.3 ufoLib==2.0.0 defcon==0.2.1 cu2qu==1.1.1 compreffor==0.4.3 <|file_sep|>updated/requirements.txt fonttools==3.7.0 ufoLib==2.0.0 defcon==0.2.1 cu2qu==1.1....
3328dea221a1d6c56d6b1020ae8c5b3ebf8e8e06
requirements.txt
requirements.txt
Text
<|file_sep|>original/devnotes/shownotes.md # Specific versions for the course: - React - Router - Redux - Babel (and babel polyfill) <|file_sep|>current/devnotes/shownotes.md # Specific versions for the course: - React - Router - Redux - Babel (and babel polyfill) <|file_sep|>updated/devnotes/shownotes.md
# Specific versions for the course: - ES2015 (ES6) - React (15.0.2) - Router (2.4.0) - Redux (3.5.2) - Babel (6+) - Babel polyfill - Webpack (1.13)
<|file_sep|>original/devnotes/shownotes.md # Specific versions for the course: - React - Router - Redux - Babel (and babel polyfill) <|file_sep|>current/devnotes/shownotes.md # Specific versions for the course: - React - Router - Redux - Babel (and babel polyfill) <|file_sep|>updated/devnotes/shownotes.md # Specific ...
57b327334f719f30a466e4453f9bb76af6ce9be3
devnotes/shownotes.md
devnotes/shownotes.md
Markdown
<|file_sep|>original/telemetry/telemetry/core/browser_info.py class BrowserInfo(object): """A wrapper around browser object that allows looking up infos of the browser. """ def __init__(self, browser): self._browser = browser def HasWebGLSupport(self): result = False # If no tab is opened, open ...
result = False # If no tab is opened, open one and close it after evaluate # _check_webgl_supported_script if len(self._browser.tabs) == 0 and self._browser.supports_tab_control: self._browser.tabs.New() tab = self._browser.tabs[0] result = tab.EvaluateJavaScript(_check_webgl_supported...
<|file_sep|>original/telemetry/telemetry/core/browser_info.py class BrowserInfo(object): """A wrapper around browser object that allows looking up infos of the browser. """ def __init__(self, browser): self._browser = browser def HasWebGLSupport(self): result = False # If no tab is opened, open ...
1379b3031e63330d03c85b0d1d22ce11c84bf5e9
telemetry/telemetry/core/browser_info.py
telemetry/telemetry/core/browser_info.py
Python
<|file_sep|>tests/test_wc.py.diff original: import ra updated: import wc <|file_sep|>tests/test_wc.py.diff original: self.assertEquals(4, len(ra.version())) updated: self.assertEquals(4, len(wc.version())) <|file_sep|>original/tests/test_wc.py # it under the terms of the GNU General Public License as pu...
"""Subversion ra library tests.""" from bzrlib.tests import TestCase import wc class VersionTest(TestCase): def test_version_length(self): self.assertEquals(4, len(wc.version())) class WorkingCopyTests(TestCase): def test_get_adm_dir(self): self.assertEquals(".svn", wc.get_adm_dir()) de...
<|file_sep|>tests/test_wc.py.diff original: import ra updated: import wc <|file_sep|>tests/test_wc.py.diff original: self.assertEquals(4, len(ra.version())) updated: self.assertEquals(4, len(wc.version())) <|file_sep|>original/tests/test_wc.py # it under the terms of the GNU General Public License as pu...
313aafc11f76888614e2a0523e9e858e71765eaa
tests/test_wc.py
tests/test_wc.py
Python
<|file_sep|>original/package.json { "name": "Stephen Simpson", "email": "stephen@whitebolt.net" }, { "name": "Kristjan Allikas", "email": "kris@whitebolt.net" } ], "version": "0.1.0", "private": true, "keywords": [ "require", "async", "promises", "module",...
{ "name": "Stephen Simpson", "email": "stephen@whitebolt.net" }, { "name": "Kristjan Allikas", "email": "kris@whitebolt.net" } ], "version": "0.1.0", "keywords": [ "require", "async", "promises", "module", "bluebird" ], "dependencies": { "lodash"...
<|file_sep|>original/package.json { "name": "Stephen Simpson", "email": "stephen@whitebolt.net" }, { "name": "Kristjan Allikas", "email": "kris@whitebolt.net" } ], "version": "0.1.0", "private": true, "keywords": [ "require", "async", "promises", "module",...
90bfa1c4bdd3267dd1bdc3c9b773e6cf030e1641
package.json
package.json
JSON
<|file_sep|>src/Portals.java.diff original: import java.util.ArrayList; import java.util.List; updated: <|file_sep|>src/Portals.java.diff original: updated: import java.util.HashSet; <|file_sep|>original/src/Portals.java import java.util.ArrayList; import java.util.List; import java.util.UUID; import org.bukkit.enti...
import java.util.UUID; import java.util.HashSet; import org.bukkit.entity.Entity; import org.bukkit.plugin.java.JavaPlugin; public class Portals extends JavaPlugin { public static JavaPlugin instance; public static HashSet<UUID> justTeleportedEntities = new HashSet<UUID>(); public void onEnable() { instance =...
<|file_sep|>src/Portals.java.diff original: import java.util.ArrayList; import java.util.List; updated: <|file_sep|>src/Portals.java.diff original: updated: import java.util.HashSet; <|file_sep|>original/src/Portals.java import java.util.ArrayList; import java.util.List; import java.util.UUID; import org.bukkit.enti...
167e2cce98fea152f27cce2358b490c189f1f344
src/Portals.java
src/Portals.java
Java
<|file_sep|>install_jekyll.sh.diff original: apk add gcc g++ libffi-dev musl-dev make ruby ruby-dev gem install --no-document bundler jekyll updated: apk add g++ libffi-dev make musl-dev ruby ruby-dev <|file_sep|>original/install_jekyll.sh # - https://jekyllrb.com/docs/installation/ # - https://github.com/ffi/ffi/i...
# - https://jekyllrb.com/docs/installation/ # - https://github.com/ffi/ffi/issues/485 # apk update apk add g++ libffi-dev make musl-dev ruby ruby-dev # Other dependencies for gems apk add nodejs # Required for the static file generator apk add rsync # Required for the pygments gem. This has to be Python 2, not ...
<|file_sep|>install_jekyll.sh.diff original: apk add gcc g++ libffi-dev musl-dev make ruby ruby-dev gem install --no-document bundler jekyll updated: apk add g++ libffi-dev make musl-dev ruby ruby-dev <|file_sep|>original/install_jekyll.sh # - https://jekyllrb.com/docs/installation/ # - https://github.com/ffi/ffi/i...
23ac01c77c157908df764f9d275ecbae60080764
install_jekyll.sh
install_jekyll.sh
Shell
<|file_sep|>original/spring-boot-admin-samples/spring-boot-admin-sample/src/main/resources/application.yml scm-url: "@scm.url@" build-url: "http://travis-ci.org/@env.TRAVIS_REPO_SLUG@/builds/@env.TRAVIS_BUILD_ID@" logging: file: "target/boot-admin-sample.log" management: endpoints: web: expose: "*" ...
scm-url: "@scm.url@" build-url: "http://travis-ci.org/@env.TRAVIS_REPO_SLUG@/builds/@env.TRAVIS_BUILD_ID@" logging: file: "target/boot-admin-sample.log" management: endpoints: web: expose: "*" spring: application: name: spring-boot-admin-sample boot: admin: client: url: ht...
<|file_sep|>original/spring-boot-admin-samples/spring-boot-admin-sample/src/main/resources/application.yml scm-url: "@scm.url@" build-url: "http://travis-ci.org/@env.TRAVIS_REPO_SLUG@/builds/@env.TRAVIS_BUILD_ID@" logging: file: "target/boot-admin-sample.log" management: endpoints: web: expose: "*" ...
0b1dde1c5e24af90c3e0aad42c83e70c1e675a10
spring-boot-admin-samples/spring-boot-admin-sample/src/main/resources/application.yml
spring-boot-admin-samples/spring-boot-admin-sample/src/main/resources/application.yml
YAML
<|file_sep|>src/application/controller/home.php.diff original: class Home extends Controller updated: class HomeController extends Controller <|file_sep|>original/src/application/controller/home.php // Model // $models = array('modelexample'); // $this->_loadModel($models); // Entity ...
// $models = array('modelexample'); // $this->_loadModel($models); // Entity // $entities = array('entityexample'); // $this->_loadEntity($entities); } /** * PAGE: index * This method handles what happens when you move to http://yourproject/home/index (which i...
<|file_sep|>src/application/controller/home.php.diff original: class Home extends Controller updated: class HomeController extends Controller <|file_sep|>original/src/application/controller/home.php // Model // $models = array('modelexample'); // $this->_loadModel($models); // Entity ...
58e0f0beb52f78587ae22b98504c95ea114bee55
src/application/controller/home.php
src/application/controller/home.php
PHP
<|file_sep|>composer.json.diff original: "name": "Johann Saunier", "email": "johann_27@hotmail.fr" updated: "name": "Johann Saunier", "email": "johann_27@hotmail.fr" <|file_sep|>composer.json.diff original: "php": "^7.2" updated: "php": ">=7.2", "ext-json": "*", "psr/log": "^1.0" <|file_sep|>origi...
"email": "martin@bazo.sk" }, { "name": "Johann Saunier", "email": "johann_27@hotmail.fr" } ], "require": { "php": ">=7.2", "ext-json": "*", "psr/log": "^1.0" }, "autoload": { "psr-4": { "Gos\\Component\\WebSocketClient\\": "" } }, "extra": { "branch-alias": { "dev-master": "0.3.x-dev...
<|file_sep|>composer.json.diff original: "name": "Johann Saunier", "email": "johann_27@hotmail.fr" updated: "name": "Johann Saunier", "email": "johann_27@hotmail.fr" <|file_sep|>composer.json.diff original: "php": "^7.2" updated: "php": ">=7.2", "ext-json": "*", "psr/log": "^1.0" <|file_sep|>origi...
fefde89f85e2dc3e6fcc3b3f8a445b1950d06b4a
composer.json
composer.json
JSON
<|file_sep|>original/README.md This is a dummy exampe of `import_tree` implementation. Consider you have a directory with files you need to import, instead of writing bunch of `@import` statements in your stylus file, you might want to simply call `import_tree()`: ``` stylus import_tree('./foobar'); // insted of: // ...
// insted of: // @import 'foobar/a' // @import 'foobar/b' // @import 'foobar/c/d' ``` **NOTICE** you can't flexibly control order of inclusions in this case. The only way you can control the order in this example is filenames, imports are done in alphabetical order. For total controll over what is included when and w...
<|file_sep|>original/README.md This is a dummy exampe of `import_tree` implementation. Consider you have a directory with files you need to import, instead of writing bunch of `@import` statements in your stylus file, you might want to simply call `import_tree()`: ``` stylus import_tree('./foobar'); // insted of: // ...
2a02a3da47f54e7b7049fbac36d40c44f09d22fa
README.md
README.md
Markdown
<|file_sep|>original/.idea/php.xml <?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="PhpUnit"> <phpunit_settings> <PhpUnitSettings load_method="CUSTOM_LOADER" configuration_file_path="$PROJECT_DIR$/phpunit.xml.dist" custom_loader_path="$PROJECT_DIR$/vendor/autoload.php" phpunit_p...
<?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="PhpProjectSharedConfiguration" php_language_level="7.1" /> <component name="PhpUnit"> <phpunit_settings> <PhpUnitSettings load_method="CUSTOM_LOADER" configuration_file_path="$PROJECT_DIR$/phpunit.xml.dist" custom_loader_path="$...
<|file_sep|>original/.idea/php.xml <?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="PhpUnit"> <phpunit_settings> <PhpUnitSettings load_method="CUSTOM_LOADER" configuration_file_path="$PROJECT_DIR$/phpunit.xml.dist" custom_loader_path="$PROJECT_DIR$/vendor/autoload.php" phpunit_p...
1c11bc95e18d2029ba055dd7f1212fdd34fdef64
.idea/php.xml
.idea/php.xml
XML
<|file_sep|>turbinia/config/turbinia_config.py.diff original: TASK_MANAGER = 'PSQ' updated: TASK_MANAGER = u'PSQ' <|file_sep|>original/turbinia/config/turbinia_config.py # Timeout between heartbeats for Workers to be considered inactive WORKER_TIMEOUT = 3600 # GCE configuration PROJECT = None ZONE = None INSTANCE = No...
# Timeout between heartbeats for Workers to be considered inactive WORKER_TIMEOUT = 3600 # GCE configuration PROJECT = None ZONE = None INSTANCE = None DEVICE_NAME = None SCRATCH_PATH = None BUCKET_NAME = None PSQ_TOPIC = u'turbinia-psq' # Topic Turbinia will listen on for new Artifact events PUBSUB_TOPIC = None # Re...
<|file_sep|>turbinia/config/turbinia_config.py.diff original: TASK_MANAGER = 'PSQ' updated: TASK_MANAGER = u'PSQ' <|file_sep|>original/turbinia/config/turbinia_config.py # Timeout between heartbeats for Workers to be considered inactive WORKER_TIMEOUT = 3600 # GCE configuration PROJECT = None ZONE = None INSTANCE = No...
cc86cb09854cc5656a99e209b27a4c9d9a407bb1
turbinia/config/turbinia_config.py
turbinia/config/turbinia_config.py
Python
<|file_sep|>bower.json.diff original: "qwest": "pyrsmk/qwest#0.5.5", updated: <|file_sep|>original/bower.json { "name": "react-github-repos", "version": "0.0.0", "authors": [ "Damien Ragoucy <damien.ragoucy@af83.com>" ], "license": "MIT", "private": true, "ignore": [ "**/.*", "node_module...
{ "name": "react-github-repos", "version": "0.0.0", "authors": [ "Damien Ragoucy <damien.ragoucy@af83.com>" ], "license": "MIT", "private": true, "ignore": [ "**/.*", "node_modules", "bower_components", "test", "tests" ], "dependencies": { "bootstrap": "3.1.1", "react":...
<|file_sep|>bower.json.diff original: "qwest": "pyrsmk/qwest#0.5.5", updated: <|file_sep|>original/bower.json { "name": "react-github-repos", "version": "0.0.0", "authors": [ "Damien Ragoucy <damien.ragoucy@af83.com>" ], "license": "MIT", "private": true, "ignore": [ "**/.*", "node_module...
2835662e70dd60bb655d2c43d1d79aa7dfbbc9d4
bower.json
bower.json
JSON
<|file_sep|>original/db/migrations/20131219233339-ripple-addresses.js var dbm = require('db-migrate'); var type = dbm.dataType; exports.up = function(db, callback) { db.createTable('ripple_addresses', { id: { type: 'int', primaryKey: true, autoIncrement: true }, userId: { type: 'int', notNull: true }, ...
var dbm = require('db-migrate'); var type = dbm.dataType; exports.up = function(db, callback) { db.createTable('ripple_addresses', { id: { type: 'int', primaryKey: true, autoIncrement: true }, userId: { type: 'int', notNull: true }, managed: { type: 'boolean', default: false, notNull: true}, addre...
<|file_sep|>original/db/migrations/20131219233339-ripple-addresses.js var dbm = require('db-migrate'); var type = dbm.dataType; exports.up = function(db, callback) { db.createTable('ripple_addresses', { id: { type: 'int', primaryKey: true, autoIncrement: true }, userId: { type: 'int', notNull: true }, ...
cab0438b3f2834048464da6cf7b76dc1aa7b4b62
db/migrations/20131219233339-ripple-addresses.js
db/migrations/20131219233339-ripple-addresses.js
JavaScript
<|file_sep|>original/sbt/src/sbt-test/actions/depends-on/build.sbt a := (baseDirectory map (b => if ((b / "succeed").exists) () else sys.error("fail"))).value, b := (a.task(at => nop dependsOn(at))).value, c := (a map { _ => () }).value, d := (a flatMap { _ => task { () } }).value ) lazy val a = task...
a := (baseDirectory map (b => if ((b / "succeed").exists) () else sys.error("fail"))).value, b := (a.task(at => nop dependsOn(at))).value, c := (a map { _ => () }).value, d := (a flatMap { _ => task { () } }).value ) lazy val a = taskKey[Unit]("") lazy val b = taskKey[Unit]("") lazy val c = taskKey[U...
<|file_sep|>original/sbt/src/sbt-test/actions/depends-on/build.sbt a := (baseDirectory map (b => if ((b / "succeed").exists) () else sys.error("fail"))).value, b := (a.task(at => nop dependsOn(at))).value, c := (a map { _ => () }).value, d := (a flatMap { _ => task { () } }).value ) lazy val a = task...
7ca327fc08351e27692c18652f685db2864e3212
sbt/src/sbt-test/actions/depends-on/build.sbt
sbt/src/sbt-test/actions/depends-on/build.sbt
Scala
<|file_sep|>original/.travis.yml dist: trusty sudo: false language: cpp addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-6 - libboost-program-options-dev - libpcap-dev script: - CXX=/usr/bin/g++-6 CC=/usr/bin/gcc-6 cmake . - cmake --build . <|file_sep|>current/.tra...
dist: trusty sudo: false language: cpp addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-6 - libboost-program-options-dev - libboost-regex-dev - libboost-system-dev - libpcap-dev script: - CXX=/usr/bin/g++-6 CC=/usr/bin/gcc-6 cmake . - cmake --build .
<|file_sep|>original/.travis.yml dist: trusty sudo: false language: cpp addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-6 - libboost-program-options-dev - libpcap-dev script: - CXX=/usr/bin/g++-6 CC=/usr/bin/gcc-6 cmake . - cmake --build . <|file_sep|>current/.tra...
5074eedff6605b92b44ef05bea68a6cdb8fdc21c
.travis.yml
.travis.yml
YAML
<|file_sep|>src/libs/mapbox-rtl.js.diff original: const blob = new window.Blob([data]); const objectUrl = window.URL.createObjectURL(blob, { updated: const blob = new window.Blob([data], { <|file_sep|>original/src/libs/mapbox-rtl.js import MapboxGl from 'mapbox-gl' // Load mapbox-gl-rtl-text using object urls without ...
import MapboxGl from 'mapbox-gl' // Load mapbox-gl-rtl-text using object urls without needing http://localhost for AJAX. const data = require("raw-loader?mimetype=text/javascript!@mapbox/mapbox-gl-rtl-text/mapbox-gl-rtl-text.js"); const blob = new window.Blob([data], { type: "text/javascript" }); const objectUrl = ...
<|file_sep|>src/libs/mapbox-rtl.js.diff original: const blob = new window.Blob([data]); const objectUrl = window.URL.createObjectURL(blob, { updated: const blob = new window.Blob([data], { <|file_sep|>original/src/libs/mapbox-rtl.js import MapboxGl from 'mapbox-gl' // Load mapbox-gl-rtl-text using object urls without ...
92b970377d8089486a929a06ba0085fe60aaca5f
src/libs/mapbox-rtl.js
src/libs/mapbox-rtl.js
JavaScript
<|file_sep|>original/package.json "engines": { "node": ">= 0.10.0" }, "scripts": { "test": "grunt test" }, "devDependencies": { "grunt": "0.4.5", "grunt-contrib-clean": "0.5.0", "grunt-contrib-copy": "0.7.0", "grunt-contrib-jshint": "0.9.2", "grunt-contrib-nodeunit": "0.3.3" }, ...
"engines": { "node": ">= 0.10.0" }, "scripts": { "test": "grunt test" }, "devDependencies": { "grunt": "0.4.5", "grunt-contrib-clean": "0.5.0", "grunt-contrib-copy": "0.7.0", "grunt-contrib-jshint": "0.12.0", "grunt-contrib-nodeunit": "0.3.3" }, "peerDependencies": { "grunt...
<|file_sep|>original/package.json "engines": { "node": ">= 0.10.0" }, "scripts": { "test": "grunt test" }, "devDependencies": { "grunt": "0.4.5", "grunt-contrib-clean": "0.5.0", "grunt-contrib-copy": "0.7.0", "grunt-contrib-jshint": "0.9.2", "grunt-contrib-nodeunit": "0.3.3" }, ...
212683bb3e434cd051f71027563a4b07cf360855
package.json
package.json
JSON