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/spec/jobba_spec.rb it 'computes `all.count` efficiently' do 2.times { make_status(state: :unqueued) } 1.times { make_status(state: :succeeded) } 3.times { make_status(state: :started) } expect(Jobba.redis).to receive(:scard).exactly(Jobba::State::ALL.count).times.and_call_origina...
it 'computes `all.count` efficiently' do 2.times { make_status(state: :unqueued) } 1.times { make_status(state: :succeeded) } 3.times { make_status(state: :started) } expect(Jobba.redis).to receive(:scard).exactly(Jobba::State::ALL.count).times.and_call_original expect(Jobba.all.count).to eq 6 ...
<|file_sep|>original/spec/jobba_spec.rb it 'computes `all.count` efficiently' do 2.times { make_status(state: :unqueued) } 1.times { make_status(state: :succeeded) } 3.times { make_status(state: :started) } expect(Jobba.redis).to receive(:scard).exactly(Jobba::State::ALL.count).times.and_call_origina...
28ec677ecf14743ac75460ed670910884795a2c4
spec/jobba_spec.rb
spec/jobba_spec.rb
Ruby
<|file_sep|>original/README.md # simple-solr-explain todo... ### Status [![Build Status](https://travis-ci.org/fyrz/simple-solr-explain.png)](https://travis-ci.org/fyrz/simple-solr-explain) [![Coverage Status](https://coveralls.io/repos/fyrz/simple-solr-explain/badge.svg)](https://coveralls.io/r/fyrz/simple-solr-expl...
# simple-solr-explain todo... ### Status [![Build Status](https://travis-ci.org/fyrz/simple-solr-explain.png)](https://travis-ci.org/fyrz/simple-solr-explain) [![Coverage Status](https://coveralls.io/repos/fyrz/simple-solr-explain/badge.svg?branch=master)](https://coveralls.io/r/fyrz/simple-solr-explain?branch=master...
<|file_sep|>original/README.md # simple-solr-explain todo... ### Status [![Build Status](https://travis-ci.org/fyrz/simple-solr-explain.png)](https://travis-ci.org/fyrz/simple-solr-explain) [![Coverage Status](https://coveralls.io/repos/fyrz/simple-solr-explain/badge.svg)](https://coveralls.io/r/fyrz/simple-solr-expl...
e2d445480496daf8a4a7d6417458358b5da95874
README.md
README.md
Markdown
<|file_sep|>original/package.json } ], "engines": { "node": ">= 0.8.0" }, "scripts": { "test": "grunt test" }, "devDependencies": { "grunt-contrib-jshint": "^0.9.2", "grunt-contrib-clean": "^0.5.0", "grunt-contrib-nodeunit": "^0.3.3", "grunt": "~0.4.5" }, "peerDependencies": ...
} ], "engines": { "node": ">= 0.8.0" }, "scripts": { "test": "grunt test" }, "devDependencies": { "grunt-contrib-jshint": "^0.9.2", "grunt-contrib-clean": "^0.5.0", "grunt-contrib-nodeunit": "^0.3.3", "grunt": "~0.4.5" }, "peerDependencies": { "grunt": ">=0.4.0" }, "k...
<|file_sep|>original/package.json } ], "engines": { "node": ">= 0.8.0" }, "scripts": { "test": "grunt test" }, "devDependencies": { "grunt-contrib-jshint": "^0.9.2", "grunt-contrib-clean": "^0.5.0", "grunt-contrib-nodeunit": "^0.3.3", "grunt": "~0.4.5" }, "peerDependencies": ...
d4fb6fe9cb7497ffd7d503e68c45055a2011d125
package.json
package.json
JSON
<|file_sep|>original/db/migrate/20140822150920_create_neighborly_balanced_orders.neighborly_balanced.rb <|file_sep|>current/db/migrate/20140822150920_create_neighborly_balanced_orders.neighborly_balanced.rb <|file_sep|>updated/db/migrate/20140822150920_create_neighborly_balanced_orders.neighborly_balanced.rb
# This migration comes from neighborly_balanced (originally 20140817195359) class CreateNeighborlyBalancedOrders < ActiveRecord::Migration def change create_table :neighborly_balanced_orders do |t| t.references :project, index: true, null: false t.string :href, null: false t.timestamps end ...
<|file_sep|>original/db/migrate/20140822150920_create_neighborly_balanced_orders.neighborly_balanced.rb <|file_sep|>current/db/migrate/20140822150920_create_neighborly_balanced_orders.neighborly_balanced.rb <|file_sep|>updated/db/migrate/20140822150920_create_neighborly_balanced_orders.neighborly_balanced.rb # This m...
be33552acfd0026b6aee0cbb4cd7bcf1ca5a4737
db/migrate/20140822150920_create_neighborly_balanced_orders.neighborly_balanced.rb
db/migrate/20140822150920_create_neighborly_balanced_orders.neighborly_balanced.rb
Ruby
<|file_sep|>app/controllers/observer_controller/info_controller.rb.diff original: updated: # Display canned informations about site <|file_sep|>app/controllers/observer_controller/info_controller.rb.diff original: def intro # :nologin: updated: def intro <|file_sep|>app/controllers/observer_controller/info_control...
store_location end # Simple form letting us test our implementation of Textile. def textile_sandbox if request.method != "POST" @code = nil else @code = params[:code] @submit = params[:commit] end render(action: :textile_sandbox) end # I keep forgetting the stupid "_san...
<|file_sep|>app/controllers/observer_controller/info_controller.rb.diff original: updated: # Display canned informations about site <|file_sep|>app/controllers/observer_controller/info_controller.rb.diff original: def intro # :nologin: updated: def intro <|file_sep|>app/controllers/observer_controller/info_control...
32a71f20479034bc54ec697eee84649fb1d0a62a
app/controllers/observer_controller/info_controller.rb
app/controllers/observer_controller/info_controller.rb
Ruby
<|file_sep|>original/tests/ConfigTests.php $config->newRank(['kaskus test' => 100]); $this->assertArrayHasKey('kaskus test', $config->data()['rank']); $this->assertCount(1, $config->data()['rank']); } public function testAdd() { $config = new Config; $config->addRank(['kaskus test' => 100]); $this->asse...
$config->newRank(['kaskus test' => 100]); $this->assertArrayHasKey('kaskus test', $config->data()['rank']); $this->assertCount(1, $config->data()['rank']); } public function testAdd() { $config = new Config; $config->addRank(['kaskus test' => 100]); $this->assertArrayHasKey('kaskus test', $config->data(...
<|file_sep|>original/tests/ConfigTests.php $config->newRank(['kaskus test' => 100]); $this->assertArrayHasKey('kaskus test', $config->data()['rank']); $this->assertCount(1, $config->data()['rank']); } public function testAdd() { $config = new Config; $config->addRank(['kaskus test' => 100]); $this->asse...
dde48fe460a28c96fb964feb10a8e375939ffe6c
tests/ConfigTests.php
tests/ConfigTests.php
PHP
<|file_sep|>original/jquery-tablesorter.gemspec # Maintain your gem's version: require "jquery-tablesorter/version" # Describe your gem and declare its dependencies: Gem::Specification.new do |s| s.name = "jquery-tablesorter" s.version = JqueryTablesorter::VERSION s.authors = ["Jun Lin"] s.email...
# Maintain your gem's version: require "jquery-tablesorter/version" # Describe your gem and declare its dependencies: Gem::Specification.new do |s| s.name = "jquery-tablesorter" s.version = JqueryTablesorter::VERSION s.authors = ["Jun Lin"] s.email = ["linjunpop@gmail.com"] s.homepage ...
<|file_sep|>original/jquery-tablesorter.gemspec # Maintain your gem's version: require "jquery-tablesorter/version" # Describe your gem and declare its dependencies: Gem::Specification.new do |s| s.name = "jquery-tablesorter" s.version = JqueryTablesorter::VERSION s.authors = ["Jun Lin"] s.email...
995a41043793ffaeb1915336580b5ef24f5833d9
jquery-tablesorter.gemspec
jquery-tablesorter.gemspec
Ruby
<|file_sep|>original/visualization/pre-push.sh then exit 0 fi echo "ERROR: Wrong branch naming with $BRANCH_NAME" if [[ $BRANCH_NAME =~ [A-Z] ]] then echo "- Do not use uppercase letters and split words by dash." fi if [[ $BRANCH_NAME =~ [_] ]] then echo "- Do not use underscores and split words by dash....
exit 0 fi echo "ERROR: Wrong branch naming with $BRANCH_NAME" if [[ $BRANCH_NAME =~ [A-Z] ]] then echo "- Do not use uppercase letters and split words by dash." fi if [[ $BRANCH_NAME =~ [_] ]] then echo "- Do not use underscores and split words by dash." fi echo "- The branch must be named using followi...
<|file_sep|>original/visualization/pre-push.sh then exit 0 fi echo "ERROR: Wrong branch naming with $BRANCH_NAME" if [[ $BRANCH_NAME =~ [A-Z] ]] then echo "- Do not use uppercase letters and split words by dash." fi if [[ $BRANCH_NAME =~ [_] ]] then echo "- Do not use underscores and split words by dash....
61ddc1cc8b1dfb4ed9b0c4d1bc2112ffa8785b4f
visualization/pre-push.sh
visualization/pre-push.sh
Shell
<|file_sep|>train.py.diff original: updated: import os <|file_sep|>train.py.diff original: updated: LOGDIR = './save' <|file_sep|>original/train.py import driving_data import model sess = tf.InteractiveSession() loss = tf.reduce_mean(tf.square(tf.sub(model.y_, model.y))) train_step = tf.train.GradientDescentOptimi...
sess = tf.InteractiveSession() loss = tf.reduce_mean(tf.square(tf.sub(model.y_, model.y))) train_step = tf.train.GradientDescentOptimizer(0.01).minimize(loss) sess.run(tf.initialize_all_variables()) saver = tf.train.Saver() #train over the dataset about 30 times for i in range(int(driving_data.num_images * 0.3)): ...
<|file_sep|>train.py.diff original: updated: import os <|file_sep|>train.py.diff original: updated: LOGDIR = './save' <|file_sep|>original/train.py import driving_data import model sess = tf.InteractiveSession() loss = tf.reduce_mean(tf.square(tf.sub(model.y_, model.y))) train_step = tf.train.GradientDescentOptimi...
c4406ffae02a4ea87a139b1d67d98d9c0c7a468b
train.py
train.py
Python
<|file_sep|>original/validate.yml --- - name: validate url or base fail: msg: "One of URL or BASE are required." when: not url and not base - name: validate user and password fail: msg: "Username and password are required." when: not user or not password - name: validate file and directory options ...
--- - name: validate url or base fail: msg: "One of URL or BASE are required." when: not url and not base - name: validate request method fail: msg: "Invalid method." when: method not in [ "DELETE", "GET", "POST", "PUT" ] - name: validate user and password fail: msg: "Username and password are ...
<|file_sep|>original/validate.yml --- - name: validate url or base fail: msg: "One of URL or BASE are required." when: not url and not base - name: validate user and password fail: msg: "Username and password are required." when: not user or not password - name: validate file and directory options ...
632b435bd47d8df24435f55599b5e99d8452777d
validate.yml
validate.yml
YAML
<|file_sep|>src/router.coffee.diff original: updated: delayTime = 500 <|file_sep|>src/router.coffee.diff original: app.vent.trigger 'unit:render-one', id updated: delayed = -> app.vent.trigger 'unit:render-one', id _.delay delayed, delayTime <|file_sep|>original/src/router.coffe...
define ['backbone.marionette'], (Marionette) -> delayTime = 500 class Router extends Marionette.AppRouter routes: 'unit/:id': 'renderUnit', 'unit/?*params': 'renderUnitsWithFilter' renderUnit: (id)-> delayed = -> app.vent.trigger 'unit:render-one', id ...
<|file_sep|>src/router.coffee.diff original: updated: delayTime = 500 <|file_sep|>src/router.coffee.diff original: app.vent.trigger 'unit:render-one', id updated: delayed = -> app.vent.trigger 'unit:render-one', id _.delay delayed, delayTime <|file_sep|>original/src/router.coffe...
d8674d25b335a1568b74f24727835cfe789246ec
src/router.coffee
src/router.coffee
CoffeeScript
<|file_sep|>mvw/generator.py.diff original: updated: import shutil <|file_sep|>mvw/generator.py.diff original: updated: if not os.path.exists(destpath): os.makedirs(destpath) <|file_sep|>mvw/generator.py.diff original: self.copy(src, dest) updated: s...
print('-'*25) print('Pages') for f in files: src = os.path.join(root, f) base, ext = os.path.splitext(f) if ext in ['.md', '.markdown']: dest = os.path.join(destpath, "%s%s" % (base, '.html')) se...
<|file_sep|>mvw/generator.py.diff original: updated: import shutil <|file_sep|>mvw/generator.py.diff original: updated: if not os.path.exists(destpath): os.makedirs(destpath) <|file_sep|>mvw/generator.py.diff original: self.copy(src, dest) updated: s...
3ec54fbabd6f17eabb90ead66a87bc2723a00aa0
mvw/generator.py
mvw/generator.py
Python
<|file_sep|>original/titan-cassandra/src/test/resources/log4j.properties log4j.appender.A1.Threshold=INFO # A1 uses PatternLayout. log4j.appender.A1.layout=org.apache.log4j.PatternLayout log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n # A2 is a ConsoleAppender. log4j.appender.A2=org.apache.log4j...
# A2 is a ConsoleAppender. log4j.appender.A2=org.apache.log4j.ConsoleAppender log4j.appender.A2.Threshold=WARN # A2 uses PatternLayout. log4j.appender.A2.layout=org.apache.log4j.PatternLayout log4j.appender.A2.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n # Set both appenders (A1 and A2) on the root logger. lo...
<|file_sep|>original/titan-cassandra/src/test/resources/log4j.properties log4j.appender.A1.Threshold=INFO # A1 uses PatternLayout. log4j.appender.A1.layout=org.apache.log4j.PatternLayout log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n # A2 is a ConsoleAppender. log4j.appender.A2=org.apache.log4j...
11d7b8e4d6834b042ac9aeb856544c9712cf5631
titan-cassandra/src/test/resources/log4j.properties
titan-cassandra/src/test/resources/log4j.properties
INI
<|file_sep|>original/lib/chatrix/bot/plugins.rb # encoding: utf-8 # frozen_string_literal: true require 'chatrix/bot/plugin' module Chatrix module Bot # Contains a number of standard plugins for the bot. module Plugins end end end require 'chatrix/bot/plugins/echo' <|file_sep|>current/lib/chatrix/bot...
# encoding: utf-8 # frozen_string_literal: true require 'chatrix/bot/plugin' module Chatrix class Bot # Contains a number of standard plugins for the bot. module Plugins end end end require 'chatrix/bot/plugins/echo'
<|file_sep|>original/lib/chatrix/bot/plugins.rb # encoding: utf-8 # frozen_string_literal: true require 'chatrix/bot/plugin' module Chatrix module Bot # Contains a number of standard plugins for the bot. module Plugins end end end require 'chatrix/bot/plugins/echo' <|file_sep|>current/lib/chatrix/bot...
e76720cc066e41ca6fb00cb6062025a421d18eb3
lib/chatrix/bot/plugins.rb
lib/chatrix/bot/plugins.rb
Ruby
<|file_sep|>dipy/core/tests/test_qball.py.diff original: updated: @parametric def test_sph_harm_ind_list(): m_list, n_list = qball.sph_harm_ind_list(8) yield assert_equal(m_list.shape, n_list.shape) yield assert_equal(m_list.ndim, 2) yield assert_equal(m_list.shape, (45,1)) yield assert_true(np.all...
from numpy.testing import assert_array_equal, assert_array_almost_equal from dipy.testing import parametric @parametric def test_sph_harm_ind_list(): m_list, n_list = qball.sph_harm_ind_list(8) yield assert_equal(m_list.shape, n_list.shape) yield assert_equal(m_list.ndim, 2) yield assert_equal(m_list...
<|file_sep|>dipy/core/tests/test_qball.py.diff original: updated: @parametric def test_sph_harm_ind_list(): m_list, n_list = qball.sph_harm_ind_list(8) yield assert_equal(m_list.shape, n_list.shape) yield assert_equal(m_list.ndim, 2) yield assert_equal(m_list.shape, (45,1)) yield assert_true(np.all...
6cb9008ee2ed49d9630735378bd84727aef3caef
dipy/core/tests/test_qball.py
dipy/core/tests/test_qball.py
Python
<|file_sep|>original/azure-pipelines.yml <|file_sep|>current/azure-pipelines.yml <|file_sep|>updated/azure-pipelines.yml
# Starter pipeline # Start with a minimal pipeline that you can customize to build and deploy your code. # Add steps that build, run tests, deploy, and more: # https://aka.ms/yaml trigger: - master strategy: matrix: windows-stable: imageName: 'vs2017-win2016' rustup_toolchain: stable mac-stable:...
<|file_sep|>original/azure-pipelines.yml <|file_sep|>current/azure-pipelines.yml <|file_sep|>updated/azure-pipelines.yml # Starter pipeline # Start with a minimal pipeline that you can customize to build and deploy your code. # Add steps that build, run tests, deploy, and more: # https://aka.ms/yaml trigger: - maste...
a85c5fa47709d231d6ca9741df0bbe91137a1f32
azure-pipelines.yml
azure-pipelines.yml
YAML
<|file_sep|>original/requirements/dev.txt # Everything the developer needs in addition to the production requirements -r prod.txt # Testing pytest==5.3.2 factory-boy==2.12.0 pytest-mock==1.13.0 webtest==2.0.33 pytest-cov==2.8.1 # Lint and code style flake8==3.7.9 flake8-docstrings==1.5.0 flake8-quotes==2.1.1 pep8-nam...
# Everything the developer needs in addition to the production requirements -r prod.txt # Testing pytest==5.3.2 factory-boy==2.12.0 pytest-mock==2.0.0 webtest==2.0.33 pytest-cov==2.8.1 # Lint and code style flake8==3.7.9 flake8-docstrings==1.5.0 flake8-quotes==2.1.1 pep8-naming==0.9.1
<|file_sep|>original/requirements/dev.txt # Everything the developer needs in addition to the production requirements -r prod.txt # Testing pytest==5.3.2 factory-boy==2.12.0 pytest-mock==1.13.0 webtest==2.0.33 pytest-cov==2.8.1 # Lint and code style flake8==3.7.9 flake8-docstrings==1.5.0 flake8-quotes==2.1.1 pep8-nam...
c265a97d822c0bee9e79642526ba0f3d9d20c87a
requirements/dev.txt
requirements/dev.txt
Text
<|file_sep|>original/.circleci/config.yml - save_cache: paths: - node_modules key: v1-dependencies-{{ checksum "package-lock.json" }} - run: name: Build command: | NODE_ENV=production npm run build NODE_ENV=production npm run htmlli...
- save_cache: paths: - node_modules key: v1-dependencies-{{ checksum "package-lock.json" }} - run: name: Build command: | NODE_ENV=production npm run build NODE_ENV=production npm run htmllint CACHE_BUST=`git rev-parse H...
<|file_sep|>original/.circleci/config.yml - save_cache: paths: - node_modules key: v1-dependencies-{{ checksum "package-lock.json" }} - run: name: Build command: | NODE_ENV=production npm run build NODE_ENV=production npm run htmlli...
08d62b34ab4ece159bd39b09499ba3bb64091a21
.circleci/config.yml
.circleci/config.yml
YAML
<|file_sep|>original/test/BuildConfigurations/decl_parse_errors.swift <|file_sep|>current/test/BuildConfigurations/decl_parse_errors.swift <|file_sep|>updated/test/BuildConfigurations/decl_parse_errors.swift
// RUN: %swift -parse -verify %s class C { #if os(iOS) func foo() {} } // expected-error{{expected declaration}} expected-error{{expected #else or #endif at end of configuration block}} #else func bar() {} func baz() {} } // expected-error{{expected declaration}} #endif // expected-error@+1{{expected declaration}}
<|file_sep|>original/test/BuildConfigurations/decl_parse_errors.swift <|file_sep|>current/test/BuildConfigurations/decl_parse_errors.swift <|file_sep|>updated/test/BuildConfigurations/decl_parse_errors.swift // RUN: %swift -parse -verify %s class C { #if os(iOS) func foo() {} } // expected-error{{expected declarat...
806ba74ac57ded7bbd216609751ae43297ecc68b
test/BuildConfigurations/decl_parse_errors.swift
test/BuildConfigurations/decl_parse_errors.swift
Swift
<|file_sep|>serial_async/CMakeLists.txt.diff original: if(WIN32) set(Boost_ADDITIONAL_VERSIONS "1.54" "1.54.0") endif(WIN32) if(UNIX) set(Boost_ADDITIONAL_VERSIONS "1.49" "1.49.0") endif(UNIX) updated: <|file_sep|>original/serial_async/CMakeLists.txt set(ENV{Boost_DIR}) if(WIN32) set(Boost_ADDITIONAL_VERSIONS "1.5...
set(ENV{Boost_DIR}) set(Boost_USE_STATIC_LIBS ON) set(Boost_USE_MULTITHREADED ON) set(Boost_USE_STATIC_RUNTIME OFF) find_package(Boost COMPONENTS system thread filesystem) add_definitions(${Boost_LIB_DIAGNOSTIC_DEFINITIONS}) include_directories( ${CMAKE_CURRENT_SOURCE_DIR} ${Boost_INCLUDE_DIRS} ${Boost_INCLUDE...
<|file_sep|>serial_async/CMakeLists.txt.diff original: if(WIN32) set(Boost_ADDITIONAL_VERSIONS "1.54" "1.54.0") endif(WIN32) if(UNIX) set(Boost_ADDITIONAL_VERSIONS "1.49" "1.49.0") endif(UNIX) updated: <|file_sep|>original/serial_async/CMakeLists.txt set(ENV{Boost_DIR}) if(WIN32) set(Boost_ADDITIONAL_VERSIONS "1.5...
d4fd1827e853740bb434d4ba5364c3396f9b7d32
serial_async/CMakeLists.txt
serial_async/CMakeLists.txt
Text
<|file_sep|>Assets/Tests/Load/LoadTest.cs.diff original: updated: #if UNITY_5_0 || UNITY_5_1 || UNITY_5_2 <|file_sep|>original/Assets/Tests/Load/LoadTest.cs { Debug.Log("Dismissed"); } }); } public void IsSignedInButtonClicked() { bool isSignedIn = GameJolt.API.Manager.Instance.CurrentUser != null; ...
} public void IsSignedInButtonClicked() { bool isSignedIn = GameJolt.API.Manager.Instance.CurrentUser != null; if (isSignedIn) { Debug.Log("Signed In"); } else { Debug.Log("Not Signed In"); } } public void LoadSceneButtonClicked(string sceneName) { Debug.Log("Loading Scene " + sceneName); #if UN...
<|file_sep|>Assets/Tests/Load/LoadTest.cs.diff original: updated: #if UNITY_5_0 || UNITY_5_1 || UNITY_5_2 <|file_sep|>original/Assets/Tests/Load/LoadTest.cs { Debug.Log("Dismissed"); } }); } public void IsSignedInButtonClicked() { bool isSignedIn = GameJolt.API.Manager.Instance.CurrentUser != null; ...
1b08ea3be24985c624d5f0a2e19460549ad2893e
Assets/Tests/Load/LoadTest.cs
Assets/Tests/Load/LoadTest.cs
C#
<|file_sep|>original/resources/views/partials/forms/edit/image-upload.blade.php <div class="form-group {{ $errors->has('image') ? 'has-error' : '' }}"> <label class="col-md-3 control-label" for="image">{{ trans('general.image_upload') }}</label> <div class="col-md-5"> <label class="btn btn-default"> ...
<div class="form-group {{ $errors->has('image') ? 'has-error' : '' }}"> <label class="col-md-3 control-label" for="image">{{ trans('general.image_upload') }}</label> <div class="col-md-9"> <label class="btn btn-default"> {{ trans('button.select_file') }} <input type="file" name=...
<|file_sep|>original/resources/views/partials/forms/edit/image-upload.blade.php <div class="form-group {{ $errors->has('image') ? 'has-error' : '' }}"> <label class="col-md-3 control-label" for="image">{{ trans('general.image_upload') }}</label> <div class="col-md-5"> <label class="btn btn-default"> ...
bd581d01a35adc2cfbf32f0d8747c8f70730d09c
resources/views/partials/forms/edit/image-upload.blade.php
resources/views/partials/forms/edit/image-upload.blade.php
PHP
<|file_sep|>src/type.js.diff original: updated: <|file_sep|>src/type.js.diff original: updated: <|file_sep|>src/type.js.diff original: .filter(identity) updated: .filter(Boolean) <|file_sep|>original/src/type.js function CardType (name, config) { extend(this, {name: name}, config) } CardType.prototype.cv...
var extend = require('xtend/mutable') module.exports = CardType function CardType (name, config) { extend(this, {name: name}, config) } CardType.prototype.cvcLength = 3 CardType.prototype.luhn = true CardType.prototype.groupPattern = /(\d{1,4})(\d{1,4})?(\d{1,4})?(\d{1,4})?/ CardType.prototype.group = function (n...
<|file_sep|>src/type.js.diff original: updated: <|file_sep|>src/type.js.diff original: updated: <|file_sep|>src/type.js.diff original: .filter(identity) updated: .filter(Boolean) <|file_sep|>original/src/type.js function CardType (name, config) { extend(this, {name: name}, config) } CardType.prototype.cv...
1d9a9a8d7512e57e8328a188bbe8751e94a91244
src/type.js
src/type.js
JavaScript
<|file_sep|>original/app/templates/briefs/_brief_response_data.html <|file_sep|>current/app/templates/briefs/_brief_response_data.html <|file_sep|>updated/app/templates/briefs/_brief_response_data.html
{% import "toolkit/summary-table.html" as summary %} {% for section in content.summary(brief_response) %} {{ summary.heading(section.name, id="opportunity-attributes-{}".format(loop.index)) }} {% call(item) summary.list_table( section.questions, caption=section.name, field_headings=[ "...
<|file_sep|>original/app/templates/briefs/_brief_response_data.html <|file_sep|>current/app/templates/briefs/_brief_response_data.html <|file_sep|>updated/app/templates/briefs/_brief_response_data.html {% import "toolkit/summary-table.html" as summary %} {% for section in content.summary(brief_response) %} {{ sum...
3f537aede343c3d1357f50cd78200355854ecacb
app/templates/briefs/_brief_response_data.html
app/templates/briefs/_brief_response_data.html
HTML
<|file_sep|>original/src/org/pfaa/block/CompositeBlock.java return blockIndexInTexture + damageDropped(meta); } /* (non-Javadoc) * @see org.pfaa.block.ICompositeBlock#getSubBlocks(int, net.minecraft.creativetab.CreativeTabs, java.util.List) */ @Override public void getSubBlocks(int id, CreativeTabs creativeT...
return blockIndexInTexture + damageDropped(meta); } /* (non-Javadoc) * @see org.pfaa.block.ICompositeBlock#getSubBlocks(int, net.minecraft.creativetab.CreativeTabs, java.util.List) */ @Override public void getSubBlocks(int id, CreativeTabs creativeTabs, List list) { for (int i = 0; i < getMetaCount(); ...
<|file_sep|>original/src/org/pfaa/block/CompositeBlock.java return blockIndexInTexture + damageDropped(meta); } /* (non-Javadoc) * @see org.pfaa.block.ICompositeBlock#getSubBlocks(int, net.minecraft.creativetab.CreativeTabs, java.util.List) */ @Override public void getSubBlocks(int id, CreativeTabs creativeT...
232c7c7550d913b06495a46b8863af694334d8bf
src/org/pfaa/block/CompositeBlock.java
src/org/pfaa/block/CompositeBlock.java
Java
<|file_sep|>original/test/test_as_json.rb end end def setup @default_options = Oj.default_options end def teardown Oj.default_options = @default_options end def test_as_json_options Oj.mimic_JSON() raccoon = Raccoon.new('Rocket') obj = Oj.dump(raccoon.to_json) assert_equal(obj...
{name: @name}.merge(options) end end def setup @default_options = Oj.default_options end def teardown Oj.default_options = @default_options end def test_as_json_options raccoon = Raccoon.new('Rocket') obj = Oj.dump(raccoon.to_json) assert_equal(obj, '"{\"name\":\"Rocket\"}"'...
<|file_sep|>original/test/test_as_json.rb end end def setup @default_options = Oj.default_options end def teardown Oj.default_options = @default_options end def test_as_json_options Oj.mimic_JSON() raccoon = Raccoon.new('Rocket') obj = Oj.dump(raccoon.to_json) assert_equal(obj...
fba79a747789cea073e61320c1f5a2e97c00444d
test/test_as_json.rb
test/test_as_json.rb
Ruby
<|file_sep|>original/spring-boot/src/test/java/org/springframework/boot/context/web/ServletContextApplicationContextInitializerTests.java <|file_sep|>current/spring-boot/src/test/java/org/springframework/boot/context/web/ServletContextApplicationContextInitializerTests.java <|file_sep|>updated/spring-boot/src/test/ja...
/* * Copyright 2012-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
<|file_sep|>original/spring-boot/src/test/java/org/springframework/boot/context/web/ServletContextApplicationContextInitializerTests.java <|file_sep|>current/spring-boot/src/test/java/org/springframework/boot/context/web/ServletContextApplicationContextInitializerTests.java <|file_sep|>updated/spring-boot/src/test/ja...
56cf49665f9c83ba78213f7c8c0c9980ee38ec01
spring-boot/src/test/java/org/springframework/boot/context/web/ServletContextApplicationContextInitializerTests.java
spring-boot/src/test/java/org/springframework/boot/context/web/ServletContextApplicationContextInitializerTests.java
Java
<|file_sep|>original/web/src/js/views/location-chooser.js return this.app.renderTemplate(template, { locations, targetRoute, currentLocation}); } mount() { this.events.bind('change', 'onChange'); } getTargetRoute() { if (this.route.name == 'place-list') { return {name: 'place-list', ar...
const targetRoute = this.getTargetRoute(); return this.app.renderTemplate(template, { locations, targetRoute, currentLocation}); } mount() { this.events.bind('change', 'onChange'); } getTargetRoute() { if (['place-list', 'event-list'].includes(this.route.name)) { return this.route;...
<|file_sep|>original/web/src/js/views/location-chooser.js return this.app.renderTemplate(template, { locations, targetRoute, currentLocation}); } mount() { this.events.bind('change', 'onChange'); } getTargetRoute() { if (this.route.name == 'place-list') { return {name: 'place-list', ar...
7512a4e4e4588c16883ebc5499804a05286d1b64
web/src/js/views/location-chooser.js
web/src/js/views/location-chooser.js
JavaScript
<|file_sep|>sparta/get_boost.sh.diff original: updated: BOOST_VERSION="1.71.0" BOOST_VERSION_UNDERSCORE="${BOOST_VERSION//./_}" BOOST_FILE="boost_${BOOST_VERSION_UNDERSCORE}.tar.bz2" BOOST_TAR_URL="https://boostorg.jfrog.io/artifactory/main/release/${BOOST_VERSION}/source/${BOOST_FILE}" BOOST_DIR="boost_${BOOST_VERSI...
#!/usr/bin/env bash # Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. BOOST_VERSION="1.71.0" BOOST_VERSION_UNDERSCORE="${BOOST_VERSION//./_}" BOOST_FILE="boost_${BOOST_VERSION_UNDERSCORE}.tar...
<|file_sep|>sparta/get_boost.sh.diff original: updated: BOOST_VERSION="1.71.0" BOOST_VERSION_UNDERSCORE="${BOOST_VERSION//./_}" BOOST_FILE="boost_${BOOST_VERSION_UNDERSCORE}.tar.bz2" BOOST_TAR_URL="https://boostorg.jfrog.io/artifactory/main/release/${BOOST_VERSION}/source/${BOOST_FILE}" BOOST_DIR="boost_${BOOST_VERSI...
a04932d5d22b5683b12b3d6353e20b8a0aa7c681
sparta/get_boost.sh
sparta/get_boost.sh
Shell
<|file_sep|>original/osx/brewInstall.sh #cmd line tools brew install redis brew install wget #install cask brew install caskroom/cask/brew-cask #apps brew cask install virtualbox brew cask install vagrant brew cask install firefox brew cask install dropbox brew cask install macvim brew cask install adium brew cask i...
#cmd line tools brew install redis brew install wget python python3 #install cask brew install caskroom/cask/brew-cask #apps brew cask install virtualbox brew cask install vagrant brew cask install firefox brew cask install dropbox brew cask install macvim brew cask install adium brew cask install flash #python? su...
<|file_sep|>original/osx/brewInstall.sh #cmd line tools brew install redis brew install wget #install cask brew install caskroom/cask/brew-cask #apps brew cask install virtualbox brew cask install vagrant brew cask install firefox brew cask install dropbox brew cask install macvim brew cask install adium brew cask i...
230e24748acc2cb177867ec06ea82f59f9bc56a4
osx/brewInstall.sh
osx/brewInstall.sh
Shell
<|file_sep|>src/server/index.js.diff original: updated: const port = process.env.PORT || 3000; <|file_sep|>original/src/server/index.js const DB = require('./Persistence/database'); require('dotenv').config(); const App = require('./app'); DB.init().then((db) => { App(db).listen(3000); }); <|file_sep|>current/src/...
const DB = require('./Persistence/database'); require('dotenv').config(); const App = require('./app'); const port = process.env.PORT || 3000; DB.init().then((db) => { App(db).listen(port, () => { console.log(`Secure Drop running on port ${port}`); }); });
<|file_sep|>src/server/index.js.diff original: updated: const port = process.env.PORT || 3000; <|file_sep|>original/src/server/index.js const DB = require('./Persistence/database'); require('dotenv').config(); const App = require('./app'); DB.init().then((db) => { App(db).listen(3000); }); <|file_sep|>current/src/...
86d78236569bda8954e157576be7cbdd3078ded2
src/server/index.js
src/server/index.js
JavaScript
<|file_sep|>original/src/usdt.h struct usdt_probe_entry { std::string path; std::string provider; std::string name; int num_locations; }; typedef std::vector<usdt_probe_entry> usdt_probe_list; class USDTHelper { public: static usdt_probe_entry find(int pid, const std::string &...
struct usdt_probe_entry { std::string path; std::string provider; std::string name; int num_locations; }; typedef std::vector<usdt_probe_entry> usdt_probe_list; // Note this class is fully static because bcc_usdt_foreach takes a function // pointer callback without a context variable. So we must keep global s...
<|file_sep|>original/src/usdt.h struct usdt_probe_entry { std::string path; std::string provider; std::string name; int num_locations; }; typedef std::vector<usdt_probe_entry> usdt_probe_list; class USDTHelper { public: static usdt_probe_entry find(int pid, const std::string &...
a6b59d5f22fc3329d3514094e43aa2b27271b632
src/usdt.h
src/usdt.h
C
<|file_sep|>original/pip_accel/deps/debian.ini ; used on the Python Package Index (these names are case insensitive just like ; PyPI and pip). The right side is a space separated list of Debian system ; package names. [commands] supported = test -e /etc/debian_version list = dpkg -l | grep '^ii' | awk '{print $2}' ins...
; used on the Python Package Index (these names are case insensitive just like ; PyPI and pip). The right side is a space separated list of Debian system ; package names. [commands] supported = test -e /etc/debian_version list = dpkg -l | grep '^ii' | awk '{print $2}' install = apt-get install --yes [dependencies] cf...
<|file_sep|>original/pip_accel/deps/debian.ini ; used on the Python Package Index (these names are case insensitive just like ; PyPI and pip). The right side is a space separated list of Debian system ; package names. [commands] supported = test -e /etc/debian_version list = dpkg -l | grep '^ii' | awk '{print $2}' ins...
9a2a8ffdb6fdb39c7c677bb0316919a8ff84d0ed
pip_accel/deps/debian.ini
pip_accel/deps/debian.ini
INI
<|file_sep|>.travis.yml.diff original: - "1.12.x" updated: - "1.15.x" <|file_sep|>.travis.yml.diff original: # have an empty install to avoid travis doing a go get updated: <|file_sep|>original/.travis.yml - $HOME/.cache/go-build - $HOME/gopath/pkg/mod go: - "1.12.x" # only build commits/PRs targeted t...
- $HOME/.cache/go-build - $HOME/gopath/pkg/mod go: - "1.15.x" # only build commits/PRs targeted to the master branch # this avoids duplicate builds for push + PR branches: only: - master install: - GO111MODULE=off go get golang.org/x/tools/cmd/goimports - GO111MODULE=off go get honnef.co/go/tools...
<|file_sep|>.travis.yml.diff original: - "1.12.x" updated: - "1.15.x" <|file_sep|>.travis.yml.diff original: # have an empty install to avoid travis doing a go get updated: <|file_sep|>original/.travis.yml - $HOME/.cache/go-build - $HOME/gopath/pkg/mod go: - "1.12.x" # only build commits/PRs targeted t...
9160950f09f3b0fd0c72d11132a5034c6901124e
.travis.yml
.travis.yml
YAML
<|file_sep|>app/assets/stylesheets/application.css.diff original: .table-striped tbody tr td.in-sync, .table-striped tbody tr td.in-sync:hover { updated: table#application-list tbody tr td.in-sync, table#application-list tbody tr td.in-sync:hover { <|file_sep|>app/assets/stylesheets/application.css.diff original: .tabl...
table#application-list tbody tr td.not-in-sync, table#application-list tbody tr td.not-in-sync:hover { background-color: #b94a48; } table#application-list tbody tr td.in-sync, table#application-list tbody tr td.not-in-sync { color: white; } table#application-list tbody tr td.deployed-recently { background-colo...
<|file_sep|>app/assets/stylesheets/application.css.diff original: .table-striped tbody tr td.in-sync, .table-striped tbody tr td.in-sync:hover { updated: table#application-list tbody tr td.in-sync, table#application-list tbody tr td.in-sync:hover { <|file_sep|>app/assets/stylesheets/application.css.diff original: .tabl...
c115553cd3046abd04684e2253dd4e71901ad07f
app/assets/stylesheets/application.css
app/assets/stylesheets/application.css
CSS
<|file_sep|>original/tests/regression/03-practical/26-smtprc-crash.c <|file_sep|>current/tests/regression/03-practical/26-smtprc-crash.c <|file_sep|>updated/tests/regression/03-practical/26-smtprc-crash.c
// SKIP: Low Priority -- this compiles with warnings, but goblint crashes. #include <pthread.h> int data[10]; void *t_fun(int i) { int *x = &data[i]; return NULL; } int main() { pthread_t id; int n = 0; pthread_create(&id, NULL, t_fun, (int*) n); return 0; }
<|file_sep|>original/tests/regression/03-practical/26-smtprc-crash.c <|file_sep|>current/tests/regression/03-practical/26-smtprc-crash.c <|file_sep|>updated/tests/regression/03-practical/26-smtprc-crash.c // SKIP: Low Priority -- this compiles with warnings, but goblint crashes. #include <pthread.h> int data[10]; v...
7c2d447a80a50d8115bfed49d3926e4f98b3f734
tests/regression/03-practical/26-smtprc-crash.c
tests/regression/03-practical/26-smtprc-crash.c
C
<|file_sep|>original/circle.yml dependencies: pre: - sudo add-apt-repository -y ppa:fish-shell/release-2 - sudo apt-get -q update; sudo apt-get install -q -y fish - curl -sLo ~/.config/fish/functions/fisher.fish --create-dirs git.io/fisher test: override: - fish -c "fisher install .; fishtape test/*...
dependencies: pre: - sudo add-apt-repository -y ppa:fish-shell/release-2 - sudo apt-get -q update; sudo apt-get install -q -y fish - curl -sLo ~/.config/fish/functions/fisher.fish --create-dirs git.io/fisher test: override: - fish -c "fisher add .; fishtape test/*.fish"
<|file_sep|>original/circle.yml dependencies: pre: - sudo add-apt-repository -y ppa:fish-shell/release-2 - sudo apt-get -q update; sudo apt-get install -q -y fish - curl -sLo ~/.config/fish/functions/fisher.fish --create-dirs git.io/fisher test: override: - fish -c "fisher install .; fishtape test/*...
ebd85f4858f76eee13f29e576dc6acf8313e8a28
circle.yml
circle.yml
YAML
<|file_sep|>original/shell/node-modules.sh #!/bin/bash npm install --global npm@latest npm install --global trash-cli npm install --global empty-trash-cli npm install --global yo npm install --global bower npm install --global grunt-cli npm install --global gulp-cli npm install --global ava npm install --global xo npm...
#!/bin/bash npm install --global npm@latest npm install --global trash-cli npm install --global empty-trash-cli npm install --global yo npm install --global bower npm install --global grunt-cli npm install --global gulp-cli npm install --global ava npm install --global xo npm install --global mocha npm install --globa...
<|file_sep|>original/shell/node-modules.sh #!/bin/bash npm install --global npm@latest npm install --global trash-cli npm install --global empty-trash-cli npm install --global yo npm install --global bower npm install --global grunt-cli npm install --global gulp-cli npm install --global ava npm install --global xo npm...
8f1a1ef892955095991a10c59bd83be4727901f3
shell/node-modules.sh
shell/node-modules.sh
Shell
<|file_sep|>original/settings/js/apps-custom.php /** * Copyright (c) 2013 Lukas Reschke <lukas@statuscode.ch> * This file is licensed under the Affero General Public License version 3 or * later. * See the COPYING-README file. */ // Check if admin user OC_Util::checkAdminUser(); // Set the content type to JSON h...
/** * Copyright (c) 2013 Lukas Reschke <lukas@statuscode.ch> * This file is licensed under the Affero General Public License version 3 or * later. * See the COPYING-README file. */ // Check if admin user OC_Util::checkAdminUser(); // Set the content type to JS header('Content-type: application/javascript'); // ...
<|file_sep|>original/settings/js/apps-custom.php /** * Copyright (c) 2013 Lukas Reschke <lukas@statuscode.ch> * This file is licensed under the Affero General Public License version 3 or * later. * See the COPYING-README file. */ // Check if admin user OC_Util::checkAdminUser(); // Set the content type to JSON h...
eecd4bd18e49ff7c3e93961574ed9b6f7adb3b1c
settings/js/apps-custom.php
settings/js/apps-custom.php
PHP
<|file_sep|>original/README.md francesanddavid -------- A basic webserver with some basic html and client-side js to hold information about Frances and David's engagement and wedding. Using: - [hapi.js](http://hapijs.com/) - [jquery](https://jquery.com/) - [masonry](http://masonry.desandro.com/) + [imagesloaded](htt...
francesanddavid -------- A basic webserver with some basic html and client-side js to hold information about Frances and David's engagement and wedding. Using: - [hapi.js](http://hapijs.com/) - [jquery](https://jquery.com/) - [masonry](http://masonry.desandro.com/) + [imagesloaded](http://imagesloaded.desandro.com/)...
<|file_sep|>original/README.md francesanddavid -------- A basic webserver with some basic html and client-side js to hold information about Frances and David's engagement and wedding. Using: - [hapi.js](http://hapijs.com/) - [jquery](https://jquery.com/) - [masonry](http://masonry.desandro.com/) + [imagesloaded](htt...
4af63e2f846511b637f99971196c6f9174f9ddba
README.md
README.md
Markdown
<|file_sep|>original/requirements.txt molecule==2.12.1 pytest==3.5.0 python-vagrant==0.5.15 testinfra==1.11.1 tox==3.0.0 <|file_sep|>current/requirements.txt molecule==2.12.1 pytest==3.5.0 python-vagrant==0.5.15 testinfra==1.11.1 tox==3.0.0 <|file_sep|>updated/requirements.txt
molecule==2.12.1 pytest==3.5.1 python-vagrant==0.5.15 testinfra==1.11.1 tox==3.0.0
<|file_sep|>original/requirements.txt molecule==2.12.1 pytest==3.5.0 python-vagrant==0.5.15 testinfra==1.11.1 tox==3.0.0 <|file_sep|>current/requirements.txt molecule==2.12.1 pytest==3.5.0 python-vagrant==0.5.15 testinfra==1.11.1 tox==3.0.0 <|file_sep|>updated/requirements.txt molecule==2.12.1 pytest==3.5.1 python-vagr...
c84fba33a61665c41cc5d30eeab9daf44bc5c123
requirements.txt
requirements.txt
Text
<|file_sep|>original/activerecord/lib/active_record/associations/has_one_through_association.rb elsif new_value attributes = construct_join_attributes(new_value) if record record.update_attributes(attributes) elsif @owner.new_record? proxy.build(attributes)...
record.destroy elsif new_value attributes = construct_join_attributes(new_value) if record record.update_attributes(attributes) elsif @owner.new_record? proxy.build(attributes) else proxy.create(attributes) end ...
<|file_sep|>original/activerecord/lib/active_record/associations/has_one_through_association.rb elsif new_value attributes = construct_join_attributes(new_value) if record record.update_attributes(attributes) elsif @owner.new_record? proxy.build(attributes)...
99db97a32237876f65468aa116441a621b80cc01
activerecord/lib/active_record/associations/has_one_through_association.rb
activerecord/lib/active_record/associations/has_one_through_association.rb
Ruby
<|file_sep|>geohash.gemspec.diff original: require 'lib/geohash' updated: <|file_sep|>original/geohash.gemspec require 'lib/geohash' Gem::Specification.new do |s| s.name = "geohash" s.version = GeoHash::VERSION s.date = "2008-11-27" s.summary = "GeoHash Library for Ruby, per http://geohash.org impl...
Gem::Specification.new do |s| s.name = "geohash" s.version = '1.1.0' s.date = "2008-11-27" s.summary = "GeoHash Library for Ruby, per http://geohash.org implementation" s.email = "dave@roundhousetech.com" s.homepage = "http://github.com/davetroy/geohash" s.description = "Geohash provides supp...
<|file_sep|>geohash.gemspec.diff original: require 'lib/geohash' updated: <|file_sep|>original/geohash.gemspec require 'lib/geohash' Gem::Specification.new do |s| s.name = "geohash" s.version = GeoHash::VERSION s.date = "2008-11-27" s.summary = "GeoHash Library for Ruby, per http://geohash.org impl...
d1fb8cda71fd7586cd02fe5ff5ed0b88407fe9ca
geohash.gemspec
geohash.gemspec
Ruby
<|file_sep|>original/config/deploy/production.rb set :deploy_to, deploysecret(:deploy_to) set :server_name, deploysecret(:server_name) set :db_server, deploysecret(:db_server) set :branch, :stable set :ssh_options, port: deploysecret(:ssh_port) set :stage, :production set :rails_env, :production #server deploysecret(:...
set :deploy_to, deploysecret(:deploy_to) set :server_name, deploysecret(:server_name) set :db_server, deploysecret(:db_server) set :branch, :master set :ssh_options, port: deploysecret(:ssh_port) set :stage, :production set :rails_env, :production #server deploysecret(:server1), user: deploysecret(:user), roles: %w(we...
<|file_sep|>original/config/deploy/production.rb set :deploy_to, deploysecret(:deploy_to) set :server_name, deploysecret(:server_name) set :db_server, deploysecret(:db_server) set :branch, :stable set :ssh_options, port: deploysecret(:ssh_port) set :stage, :production set :rails_env, :production #server deploysecret(:...
8cfcc7e693032906b77339e5f70bd3f7301e0784
config/deploy/production.rb
config/deploy/production.rb
Ruby
<|file_sep|>original/index.coffee properties: firstExampleOption: type: 'string' required: true class Plugin extends EventEmitter constructor: -> @options = {} @messageSchema = MESSAGE_SCHEMA @optionsSchema = OPTIONS_SCHEMA @elasticsearch = new elasticsearch.Client host: 'localhost:...
properties: firstExampleOption: type: 'string' required: true class Plugin extends EventEmitter constructor: -> @options = {} @messageSchema = MESSAGE_SCHEMA @optionsSchema = OPTIONS_SCHEMA @elasticsearch = new elasticsearch.Client host: process.env.ELASTICSEARCH_HOST ...
<|file_sep|>original/index.coffee properties: firstExampleOption: type: 'string' required: true class Plugin extends EventEmitter constructor: -> @options = {} @messageSchema = MESSAGE_SCHEMA @optionsSchema = OPTIONS_SCHEMA @elasticsearch = new elasticsearch.Client host: 'localhost:...
9437d7868e7ef6afe611eb1c9f7a1a5813a6f89a
index.coffee
index.coffee
CoffeeScript
<|file_sep|>original/bioshareX/serializers.py model = ShareLog class TagSerializer(serializers.ModelSerializer): class Meta: model = Tag class ShareStatsSerializer(serializers.ModelSerializer): class Meta: model = ShareStats fields = ('num_files','bytes','updated') cla...
model = ShareLog class TagSerializer(serializers.ModelSerializer): class Meta: model = Tag class ShareStatsSerializer(serializers.ModelSerializer): class Meta: model = ShareStats fields = ('num_files','bytes','updated') class ShareSerializer(serializers.ModelSerializer...
<|file_sep|>original/bioshareX/serializers.py model = ShareLog class TagSerializer(serializers.ModelSerializer): class Meta: model = Tag class ShareStatsSerializer(serializers.ModelSerializer): class Meta: model = ShareStats fields = ('num_files','bytes','updated') cla...
57fbdb0f3856b91f55ef8e230044a1f60b46f14d
bioshareX/serializers.py
bioshareX/serializers.py
Python
<|file_sep|>scripts/RELEASE.txt.diff original: updated: * Update version in src/host/premake.c and commit <|file_sep|>scripts/RELEASE.txt.diff original: * Update the version number in src/host/premake.c and commit * Merge working branch to development branches * Close working branch PACKAGE updated: <|file_...
* On each platform, run `premake5 package release binary` * Create new release on GitHub from CHANGES.txt; upload files * Update the download page on github.io * Post release announcement to the forums * Post annoucement to @industrious on Twitter * Add release to Freshmeat http://freshmeat.net/projects/p...
<|file_sep|>scripts/RELEASE.txt.diff original: updated: * Update version in src/host/premake.c and commit <|file_sep|>scripts/RELEASE.txt.diff original: * Update the version number in src/host/premake.c and commit * Merge working branch to development branches * Close working branch PACKAGE updated: <|file_...
2c3dbf682f193c9270b51c65a4c899c2aa0b6e55
scripts/RELEASE.txt
scripts/RELEASE.txt
Text
<|file_sep|>original/README.md Continuous integration snippets and common tasks for devops on Linux. [![Travis](https://img.shields.io/travis/yakshaveinc/linux.svg?maxAge=2592000)](https://travis-ci.org/yakshaveinc/linux) * [ ] Adding automatic build to Linux projects through Travis * [ ] Adding build status indicato...
Continuous integration snippets and common tasks for devops on Linux. [![Travis](https://img.shields.io/travis/yakshaveinc/linux.svg)](https://travis-ci.org/yakshaveinc/linux) * [ ] Adding automatic build to Linux projects through Travis * [ ] Adding build status indicators to your development dashboard --- * [ ] Ad...
<|file_sep|>original/README.md Continuous integration snippets and common tasks for devops on Linux. [![Travis](https://img.shields.io/travis/yakshaveinc/linux.svg?maxAge=2592000)](https://travis-ci.org/yakshaveinc/linux) * [ ] Adding automatic build to Linux projects through Travis * [ ] Adding build status indicato...
f427e1188500dd65b90fbe71c6724fae8a4ddb4b
README.md
README.md
Markdown
<|file_sep|>spec/internal/app/models/application_record.rb.diff original: # computed attributes updated: FIELD_TYPES = %w[ bignum binary boolean date datetime decimal float integer string symbol text time ].freeze <|file_sep|>spec/internal/app/models/application_rec...
field_method = method_name.to_s.remove 'computed_' send(field_method, *args, &block) end def respond_to_missing?(method_name, include_private = false) return super unless method_name.to_s.start_with?('computed') true end def bignum id**64 end alias computed_bignum bignum def symbo...
<|file_sep|>spec/internal/app/models/application_record.rb.diff original: # computed attributes updated: FIELD_TYPES = %w[ bignum binary boolean date datetime decimal float integer string symbol text time ].freeze <|file_sep|>spec/internal/app/models/application_rec...
fc5dfa3c1c647c6234f10e6f8d028ac01f5f1f09
spec/internal/app/models/application_record.rb
spec/internal/app/models/application_record.rb
Ruby
<|file_sep|>spec/spec_helper.rb.diff original: updated: root = File.expand_path File.dirname(__FILE__) require "#{root}/support/multi_schema" <|file_sep|>original/spec/spec_helper.rb require 'rubygems' require 'bundler' Bundler.require :default, :development require 'thinking_sphinx/railtie' Combustion.initialize! ...
require 'rubygems' require 'bundler' Bundler.require :default, :development root = File.expand_path File.dirname(__FILE__) require "#{root}/support/multi_schema" require 'thinking_sphinx/railtie' Combustion.initialize! :active_record Dir["#{root}/support/**/*.rb"].each { |file| require file } RSpec.configure do |c...
<|file_sep|>spec/spec_helper.rb.diff original: updated: root = File.expand_path File.dirname(__FILE__) require "#{root}/support/multi_schema" <|file_sep|>original/spec/spec_helper.rb require 'rubygems' require 'bundler' Bundler.require :default, :development require 'thinking_sphinx/railtie' Combustion.initialize! ...
a5cf43d8ee95f25e989e131f73f69fe9475667e3
spec/spec_helper.rb
spec/spec_helper.rb
Ruby
<|file_sep|>original/app/assets/stylesheets/_liteui.sass // Custom styles for the main scenario page (sliders, charts), which hides many // of the extraneous elements such that the tabs, slides, and sliders may be // shown in a small iframe. body.liteui header#top, footer, #charts_wrapper, #title .help display: n...
// Custom styles for the main scenario page (sliders, charts), which hides many // of the extraneous elements such that the tabs, slides, and sliders may be // shown in a small iframe. body.liteui header#top, #scenario-nav, footer, #charts_wrapper, #title .help display: none !important #wrapper, #content m...
<|file_sep|>original/app/assets/stylesheets/_liteui.sass // Custom styles for the main scenario page (sliders, charts), which hides many // of the extraneous elements such that the tabs, slides, and sliders may be // shown in a small iframe. body.liteui header#top, footer, #charts_wrapper, #title .help display: n...
62bc80d794e29421c52cadcd97a7f52e3cc2bb97
app/assets/stylesheets/_liteui.sass
app/assets/stylesheets/_liteui.sass
Sass
<|file_sep|>original/.github/workflows/dotnet.yml <|file_sep|>current/.github/workflows/dotnet.yml <|file_sep|>updated/.github/workflows/dotnet.yml
name: .NET on: push: branches: [ "main" ] pull_request: branches: [ "main" ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Setup .NET uses: actions/setup-dotnet@v2 with: dotnet-version: 6.0.x - name: Restore dependencies ru...
<|file_sep|>original/.github/workflows/dotnet.yml <|file_sep|>current/.github/workflows/dotnet.yml <|file_sep|>updated/.github/workflows/dotnet.yml name: .NET on: push: branches: [ "main" ] pull_request: branches: [ "main" ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/chec...
758278ccf90b6b1351df316451a67511f07c576e
.github/workflows/dotnet.yml
.github/workflows/dotnet.yml
YAML
<|file_sep|>original/test/run-in-xephyr.sh <|file_sep|>current/test/run-in-xephyr.sh <|file_sep|>updated/test/run-in-xephyr.sh
#!/bin/sh make -C .. CPPFLAGS+=-DDEBUG_EVENTS clean all startx \ "$PWD"/../xsecurelock \ -- \ "$(which Xephyr)" :42 -retro -screen 800x480 -screen 1280x720 \ +xinerama -resizeable make -C .. clean all
<|file_sep|>original/test/run-in-xephyr.sh <|file_sep|>current/test/run-in-xephyr.sh <|file_sep|>updated/test/run-in-xephyr.sh #!/bin/sh make -C .. CPPFLAGS+=-DDEBUG_EVENTS clean all startx \ "$PWD"/../xsecurelock \ -- \ "$(which Xephyr)" :42 -retro -screen 800x480 -screen 1280x720 \ +xinerama -resizeable ma...
36cd95f360818fa1a863b5956c451e00acd63942
test/run-in-xephyr.sh
test/run-in-xephyr.sh
Shell
<|file_sep|>alchemy/templates/include/disqus_comments.html.diff original: dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js'; updated: dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; <|file_sep|>alchemy/templates/include/disqus_comments.html.diff original: <a href="http://...
var disqus_shortname = '{{ DISQUS_SITENAME }}'; (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; (document.getElementsByTagName('head')[0] || ...
<|file_sep|>alchemy/templates/include/disqus_comments.html.diff original: dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js'; updated: dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; <|file_sep|>alchemy/templates/include/disqus_comments.html.diff original: <a href="http://...
a6bada6a1e1f207e676442aac9376c88d18802cf
alchemy/templates/include/disqus_comments.html
alchemy/templates/include/disqus_comments.html
HTML
<|file_sep|>original/app/models/event.rb validates :campus, presence: true default_scope {order(happens_on: :asc)} has_attached_file :uploaded_file, styles: { thumb: '100x100>', square: '200x200#', medium: '300x300>' } validates_attachment_content_type :uploaded_file, :content_type => /\Aimage\...
validates :campus, presence: true default_scope {order(happens_on: :asc)} has_attached_file :uploaded_file, styles: { thumb: '100x100>', square: '200x200#', medium: '300x300>' } validates_attachment_content_type :uploaded_file, :content_type => /\Aimage\/.*\Z/ def event_date happens_on.strft...
<|file_sep|>original/app/models/event.rb validates :campus, presence: true default_scope {order(happens_on: :asc)} has_attached_file :uploaded_file, styles: { thumb: '100x100>', square: '200x200#', medium: '300x300>' } validates_attachment_content_type :uploaded_file, :content_type => /\Aimage\...
46658392e0e7f863a46c4ef3db3545dc5f50780c
app/models/event.rb
app/models/event.rb
Ruby
<|file_sep|>original/.travis/test-python.sh set -e errors=0 TOP_DIR=`pwd` cd python # Run unit tests cd biotool python biotool_test -v || { echo "'python -m unittest -v biotool' failed" let errors+=1 } cd $TOP_DIR # Check program style pylint -E biotool || { echo "'pylint -E biotool' failed" let err...
set -e errors=0 TOP_DIR=`pwd` cd python # Run unit tests #cd biotool #python biotool_test -v || { # echo "'python biotool_test.py -v' failed" # let errors+=1 #} cd $TOP_DIR # Check program style pylint -E biotool || { echo "'pylint -E biotool' failed" let errors+=1 }
<|file_sep|>original/.travis/test-python.sh set -e errors=0 TOP_DIR=`pwd` cd python # Run unit tests cd biotool python biotool_test -v || { echo "'python -m unittest -v biotool' failed" let errors+=1 } cd $TOP_DIR # Check program style pylint -E biotool || { echo "'pylint -E biotool' failed" let err...
b46a4992a4a840c20c8ee7c39a5c4c14cd94140f
.travis/test-python.sh
.travis/test-python.sh
Shell
<|file_sep|>.travis.yml.diff original: - 17.0-rc1 updated: <|file_sep|>.travis.yml.diff original: install: updated: before_install: <|file_sep|>.travis.yml.diff original: - "rebar get-deps" updated: <|file_sep|>original/.travis.yml - R16B03-1 - R16B03 - R16B02 - R16B01 # - R15B03 goldrush again :/ ...
- R16B02 - R16B01 # - R15B03 goldrush again :/ # - R15B02 # - R15B01 # - R14B04 # - R14B03 # - R14B02 before_install: - "sudo apt-get install rebar libssl-dev libxml2-dev libexpat1-dev" after_script: - "rebar skip_deps=true ct" notifications: email: recipients: - erocci-dev@ow2.org ...
<|file_sep|>.travis.yml.diff original: - 17.0-rc1 updated: <|file_sep|>.travis.yml.diff original: install: updated: before_install: <|file_sep|>.travis.yml.diff original: - "rebar get-deps" updated: <|file_sep|>original/.travis.yml - R16B03-1 - R16B03 - R16B02 - R16B01 # - R15B03 goldrush again :/ ...
b583c0cad8b2288ccd00d973c70d74a722794b06
.travis.yml
.travis.yml
YAML
<|file_sep|>original/tests/auto/blackbox/testdata/makefile-generator/app.qbs import qbs CppApplication { name: "the app" consoleApplication: true files: "main.cpp" qbs.installPrefix: "/usr/local" Group { fileTagsFilter: "application" qbs.install: true qbs.installDir: "bin" ...
import qbs CppApplication { name: "the app" consoleApplication: true cpp.separateDebugInformation: false Properties { condition: qbs.targetOS.contains("macos") bundle.embedInfoPlist: false } files: "main.cpp" qbs.installPrefix: "/usr/local" Group { fileTagsFilt...
<|file_sep|>original/tests/auto/blackbox/testdata/makefile-generator/app.qbs import qbs CppApplication { name: "the app" consoleApplication: true files: "main.cpp" qbs.installPrefix: "/usr/local" Group { fileTagsFilter: "application" qbs.install: true qbs.installDir: "bin" ...
b9a1173d3b3677416295c4739aa53d35365fa0e1
tests/auto/blackbox/testdata/makefile-generator/app.qbs
tests/auto/blackbox/testdata/makefile-generator/app.qbs
QML
<|file_sep|>original/appveyor.yml clone_folder: c:\projects\src\github.com\rjeczalik\bin environment: GOPATH: c:\projects install: - set PATH=%GOPATH%\bin;%PATH% - cd %APPVEYOR_BUILD_FOLDER% - go version - go get code.google.com/p/go.tools/cmd/vet - go get -v -t ./... - go install -a -race std build_script: ...
clone_folder: c:\projects\src\github.com\rjeczalik\bin environment: GOPATH: c:\projects install: - set PATH=%GOPATH%\bin;%PATH% - cd %APPVEYOR_BUILD_FOLDER% - go version - go get code.google.com/p/go.tools/cmd/vet - go get -v -t ./... build_script: - go tool vet -all . - go build ./... - go test -race -v ....
<|file_sep|>original/appveyor.yml clone_folder: c:\projects\src\github.com\rjeczalik\bin environment: GOPATH: c:\projects install: - set PATH=%GOPATH%\bin;%PATH% - cd %APPVEYOR_BUILD_FOLDER% - go version - go get code.google.com/p/go.tools/cmd/vet - go get -v -t ./... - go install -a -race std build_script: ...
212c4ba9f677a97a6f7e0bc995739e62d133a413
appveyor.yml
appveyor.yml
YAML
<|file_sep|>original/travis/wait-until-cluster-initialised.py return False except Exception as e: return False def wait_until_cluster_initialised(): start = time.time() elapsed = 0.0 while elapsed < MAXIMUM_TIME_SECONDS: if is_initialised(): print("Clust...
else: return False except Exception as e: return False def wait_until_cluster_initialised(): start = time.time() elapsed = 0.0 while elapsed < MAXIMUM_TIME_SECONDS: if is_initialised(): print("Cluster initialised!") break el...
<|file_sep|>original/travis/wait-until-cluster-initialised.py return False except Exception as e: return False def wait_until_cluster_initialised(): start = time.time() elapsed = 0.0 while elapsed < MAXIMUM_TIME_SECONDS: if is_initialised(): print("Clust...
59651470489a4479db6d9a79de3aacee6b9d7cd8
travis/wait-until-cluster-initialised.py
travis/wait-until-cluster-initialised.py
Python
<|file_sep|>original/installer/terraform/scripts/pushInstallervars.sh #Encoded username/password for git clone scmuser_encoded=$(python3 -c "from urllib.parse import quote_plus; print(quote_plus('$scm_username'))") scmpasswd_encoded=$(python3 -c "from urllib.parse import quote_plus; print(quote_plus('$scm_passwd'))") ...
#Encoded username/password for git clone scmuser_encoded=$(python3 -c "from urllib.parse import quote_plus; print(quote_plus('$scm_username'))") scmpasswd_encoded=$(python3 -c "from urllib.parse import quote_plus; print(quote_plus('$scm_passwd'))") rm -rf jazz-build-module if [ "$scm" = "bitbucket" ]; then git clo...
<|file_sep|>original/installer/terraform/scripts/pushInstallervars.sh #Encoded username/password for git clone scmuser_encoded=$(python3 -c "from urllib.parse import quote_plus; print(quote_plus('$scm_username'))") scmpasswd_encoded=$(python3 -c "from urllib.parse import quote_plus; print(quote_plus('$scm_passwd'))") ...
7d3d2d42cb7fc309ae1b82de302ad25959094b70
installer/terraform/scripts/pushInstallervars.sh
installer/terraform/scripts/pushInstallervars.sh
Shell
<|file_sep|>original/director/requirements.txt crispy-forms-bulma==1.1.4 Django==2.1.5 django-avatar==4.1.0 django-allauth==0.38.0 django-configurations==2.1 django-crispy-forms==1.7.2 django-polymorphic==2.0.3 django-sendgrid-v5==0.7.1 django-storages==1.7.1 djangorestframework==3.9.1 django-debug-toolbar==1.11 django...
crispy-forms-bulma==1.1.4 Django==2.1.5 django-avatar==4.1.0 django-allauth==0.38.0 django-configurations==2.1 django-crispy-forms==1.7.2 django-polymorphic==2.0.3 django-sendgrid-v5==0.7.1 django-storages==1.7.1 djangorestframework==3.9.1 django-debug-toolbar==1.11 django-extensions==2.1.5 dj_database_url==0.5.0 googl...
<|file_sep|>original/director/requirements.txt crispy-forms-bulma==1.1.4 Django==2.1.5 django-avatar==4.1.0 django-allauth==0.38.0 django-configurations==2.1 django-crispy-forms==1.7.2 django-polymorphic==2.0.3 django-sendgrid-v5==0.7.1 django-storages==1.7.1 djangorestframework==3.9.1 django-debug-toolbar==1.11 django...
cc4bd5802b5fb86b9147f7519f40038f7acce4a4
director/requirements.txt
director/requirements.txt
Text
<|file_sep|>original/README.md # Batch Webfont for Rails [![Build Status](https://travis-ci.org/mortik/batch-rails2.png?branch=master)](https://travis-ci.org/mortik/batch-rails2) [![Gem Version](https://badge.fury.io/rb/batch-rails2.png)](http://badge.fury.io/rb/batch-rails2) Basic integration for the Batch Webfont Ic...
# Batch Webfont for Rails [![Build Status](https://travis-ci.org/mortik/batch-rails2.png?branch=master)](https://travis-ci.org/mortik/batch-rails2) [![Gem Version](https://badge.fury.io/rb/batch-rails2.png)](http://badge.fury.io/rb/batch-rails2) [![Dependency Status](https://gemnasium.com/mortik/batch-rails2.png)](http...
<|file_sep|>original/README.md # Batch Webfont for Rails [![Build Status](https://travis-ci.org/mortik/batch-rails2.png?branch=master)](https://travis-ci.org/mortik/batch-rails2) [![Gem Version](https://badge.fury.io/rb/batch-rails2.png)](http://badge.fury.io/rb/batch-rails2) Basic integration for the Batch Webfont Ic...
0174f796ef43f33ae402d8699b3c54588727eeca
README.md
README.md
Markdown
<|file_sep|>original/jenkins/jobs/tripleo-upstream-templates.yml name: 'tripleo-upstream-containers-build-{openstack_release}-{cpu_arch}' defaults: 'weirdo-defaults' properties: - inject: properties-content: | CPU_ARCH={cpu_arch} OPENSTACK_RELEASE={openstack_release} ...
name: 'tripleo-upstream-containers-build-{openstack_release}-{cpu_arch}' defaults: 'weirdo-defaults' properties: - inject: properties-content: | CPU_ARCH={cpu_arch} OPENSTACK_RELEASE={openstack_release} CICO_FLAVOR=medium scm: - repo-rdo-infra-...
<|file_sep|>original/jenkins/jobs/tripleo-upstream-templates.yml name: 'tripleo-upstream-containers-build-{openstack_release}-{cpu_arch}' defaults: 'weirdo-defaults' properties: - inject: properties-content: | CPU_ARCH={cpu_arch} OPENSTACK_RELEASE={openstack_release} ...
366da8c54ac2c056324932f05b2044889d8c8a25
jenkins/jobs/tripleo-upstream-templates.yml
jenkins/jobs/tripleo-upstream-templates.yml
YAML
<|file_sep|>original/.travis.yml language: node_js node_js: - '0.12' - iojs sudo: false after_success: npm run coveralls matrix: fast_finish: true notifications: email: false <|file_sep|>current/.travis.yml language: node_js node_js: - '0.12' - iojs sudo: false after_success: npm run coveralls matr...
language: node_js node_js: - '0.12' - iojs sudo: false after_success: npm run coveralls matrix: fast_finish: true notifications: email: false webhooks: urls: - https://webhooks.gitter.im/e/8c1769bff63cbd033bf7 on_success: always on_failure: always on_start: false
<|file_sep|>original/.travis.yml language: node_js node_js: - '0.12' - iojs sudo: false after_success: npm run coveralls matrix: fast_finish: true notifications: email: false <|file_sep|>current/.travis.yml language: node_js node_js: - '0.12' - iojs sudo: false after_success: npm run coveralls matr...
4044eaae539c9b28370714a2efc8ca98468eb43e
.travis.yml
.travis.yml
YAML
<|file_sep|>original/database/migrations/2017_03_11_060428_create_images_table.php * Run the migrations. * * @return void */ public function up() { Schema::create('images',function(Blueprint $table) { $table->increments('id'); $table->integer('vn_id')->unsigned(); $table->string('local_name'); $...
* Run the migrations. * * @return void */ public function up() { Schema::create('images',function(Blueprint $table) { $table->increments('id'); $table->integer('vn_id')->unsigned(); $table->string('original_filename'); $table->string('local_filename'); $table->string('alternative_image_url')-...
<|file_sep|>original/database/migrations/2017_03_11_060428_create_images_table.php * Run the migrations. * * @return void */ public function up() { Schema::create('images',function(Blueprint $table) { $table->increments('id'); $table->integer('vn_id')->unsigned(); $table->string('local_name'); $...
606ade68e0d5d815b0764c4d8e1a75fb29c0175c
database/migrations/2017_03_11_060428_create_images_table.php
database/migrations/2017_03_11_060428_create_images_table.php
PHP
<|file_sep|>original/composer.json "issues": "https://github.com/Wisembly/Totem/issues", "source": "https://github.com/Wisembly/Totem" }, "autoload": { "psr-4": { "Totem\\": ["src/"] } }, "autoload-dev": { "psr-4": { "Totem\\": ["test/"] ...
"Totem\\": ["src/"] } }, "autoload-dev": { "psr-4": { "Totem\\": ["test/"] } }, "require": { "php": "^5.4|^7.0", "symfony/property-access": "^2.5|^3.0" }, "extra": { "branch-alias": { "dev-master": "1.5-dev" ...
<|file_sep|>original/composer.json "issues": "https://github.com/Wisembly/Totem/issues", "source": "https://github.com/Wisembly/Totem" }, "autoload": { "psr-4": { "Totem\\": ["src/"] } }, "autoload-dev": { "psr-4": { "Totem\\": ["test/"] ...
92823bf6adc0af91edebe683a1ff4079cfd9eb73
composer.json
composer.json
JSON
<|file_sep|>original/LICENSE.md License ======= Copyright (c) 2013, Jeffrey Carpenter <jeffrey.carp@gmail.com> All rights reserved. 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 must ret...
Simplified BSD License ====================== Copyright (c) 2013, Jeffrey Carpenter <jeffrey.carp@gmail.com> All rights reserved. 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 must retai...
<|file_sep|>original/LICENSE.md License ======= Copyright (c) 2013, Jeffrey Carpenter <jeffrey.carp@gmail.com> All rights reserved. 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 must ret...
8d40940edd6ff19c5ecfc66d8cc8d300bf3401c7
LICENSE.md
LICENSE.md
Markdown
<|file_sep|>original/bigtop-deploy/puppet/hieradata/bigtop/repo.yaml bigtop::bigtop_repo_gpg_check: true bigtop::bigtop_repo_apt_key: "01621A73025BDCA30F4159C62922A48261524827" bigtop::bigtop_repo_yum_key_url: "https://downloads.apache.org/bigtop/KEYS" bigtop::bigtop_repo_default_version: "1.5.0" <|file_sep|>current/b...
bigtop::bigtop_repo_gpg_check: true bigtop::bigtop_repo_apt_key: "01621A73025BDCA30F4159C62922A48261524827" bigtop::bigtop_repo_yum_key_url: "https://downloads.apache.org/bigtop/KEYS" bigtop::bigtop_repo_default_version: "3.0.0"
<|file_sep|>original/bigtop-deploy/puppet/hieradata/bigtop/repo.yaml bigtop::bigtop_repo_gpg_check: true bigtop::bigtop_repo_apt_key: "01621A73025BDCA30F4159C62922A48261524827" bigtop::bigtop_repo_yum_key_url: "https://downloads.apache.org/bigtop/KEYS" bigtop::bigtop_repo_default_version: "1.5.0" <|file_sep|>current/b...
c3f73f151f9a639d078280efa1479f22220b20a5
bigtop-deploy/puppet/hieradata/bigtop/repo.yaml
bigtop-deploy/puppet/hieradata/bigtop/repo.yaml
YAML
<|file_sep|>lib/api.js.diff original: // List the `api` constructors var constructors = ['Bool', 'Error', 'Null', 'auth.SentCode']; updated: <|file_sep|>lib/api.js.diff original: tl.TypeBuilder.buildTypes(apiTlSchema.constructors, constructors, type); updated: tl.TypeBuilder.buildTypes(apiTlSchema.constructors, null, ...
// Import dependencies var tl = require('telegram-tl-node'); // API TL schema as provided by Telegram var apiTlSchema = require('./api-tlschema.json'); // Declare the `type` module var type = {_id: 'api.type'}; // Build the constructors tl.TypeBuilder.buildTypes(apiTlSchema.constructors, null, type); // Export the '...
<|file_sep|>lib/api.js.diff original: // List the `api` constructors var constructors = ['Bool', 'Error', 'Null', 'auth.SentCode']; updated: <|file_sep|>lib/api.js.diff original: tl.TypeBuilder.buildTypes(apiTlSchema.constructors, constructors, type); updated: tl.TypeBuilder.buildTypes(apiTlSchema.constructors, null, ...
80d80318aaad7cdea6850210be225fef6dd5fabd
lib/api.js
lib/api.js
JavaScript
<|file_sep|>original/packages/mongo-livedata/remote_collection_driver.js var self = this; self.mongo = new Meteor._Mongo(mongo_url); }; _.extend(Meteor._RemoteCollectionDriver.prototype, { open: function (name) { var self = this; var ret = {}; _.each( ['find', 'findOne', 'insert', 'update', 're...
open: function (name) { var self = this; var ret = {}; _.each( ['find', 'findOne', 'insert', 'update', 'remove', '_ensureIndex', '_dropIndex'], function (m) { ret[m] = _.bind(self.mongo[m], self.mongo, name); }); return ret; } }); // singleton // XXX kind of hacky v...
<|file_sep|>original/packages/mongo-livedata/remote_collection_driver.js var self = this; self.mongo = new Meteor._Mongo(mongo_url); }; _.extend(Meteor._RemoteCollectionDriver.prototype, { open: function (name) { var self = this; var ret = {}; _.each( ['find', 'findOne', 'insert', 'update', 're...
fcdd29adfdfea3a80f867a50f4a08f1e66112cfe
packages/mongo-livedata/remote_collection_driver.js
packages/mongo-livedata/remote_collection_driver.js
JavaScript
<|file_sep|>original/.travis.yml - sudo apt-get update -qq install: - sudo apt-get install -y python-software-properties - sudo apt-add-repository -y ppa:git-core/ppa - sudo apt-add-repository -y ppa:ubuntugis/ppa - sudo apt-get update -qq # GDAL - sudo apt-get install libgdal-dev - pip install --no-install...
- sudo apt-get update -qq install: - sudo apt-get install -y python-software-properties - sudo apt-add-repository -y ppa:git-core/ppa - sudo apt-add-repository -y ppa:ubuntugis/ppa - sudo apt-get update -qq # GDAL - sudo apt-get install libgdal-dev - pip install --no-install GDAL==1.10.0 - pushd /home/trav...
<|file_sep|>original/.travis.yml - sudo apt-get update -qq install: - sudo apt-get install -y python-software-properties - sudo apt-add-repository -y ppa:git-core/ppa - sudo apt-add-repository -y ppa:ubuntugis/ppa - sudo apt-get update -qq # GDAL - sudo apt-get install libgdal-dev - pip install --no-install...
ed6284100c2e9a99fa368b117b3044dd3e6c3760
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml language: go <|file_sep|>current/.travis.yml language: go <|file_sep|>updated/.travis.yml
language: go install: - cd $TRAVIS_BUILD_DIR - export GOPATH=$TRAVIS_BUILD_DIR - go build -v ./... script: - go test bacaberita/...
<|file_sep|>original/.travis.yml language: go <|file_sep|>current/.travis.yml language: go <|file_sep|>updated/.travis.yml language: go install: - cd $TRAVIS_BUILD_DIR - export GOPATH=$TRAVIS_BUILD_DIR - go build -v ./... script: - go test bacaberita/...
c4113bc2669edfdd6986e1502c9ac82760cfb493
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/main/java/cc/mrlda/TopicUtils.java <|file_sep|>current/src/main/java/cc/mrlda/TopicUtils.java <|file_sep|>updated/src/main/java/cc/mrlda/TopicUtils.java
package cc.mrlda; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.Map; import java.util.Set; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; import org.apache.hadoop.io.IOUtils; import org.apache.hadoop.io.IntWritable; import org.apache.hadoop....
<|file_sep|>original/src/main/java/cc/mrlda/TopicUtils.java <|file_sep|>current/src/main/java/cc/mrlda/TopicUtils.java <|file_sep|>updated/src/main/java/cc/mrlda/TopicUtils.java package cc.mrlda; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.Map; import java.util.Set...
808ac8f0b6e99c50520719e43a270f580ef02bb6
src/main/java/cc/mrlda/TopicUtils.java
src/main/java/cc/mrlda/TopicUtils.java
Java
<|file_sep|>original/styles/casefile.less // // See https://github.com/atom/atom-dark-ui/blob/master/styles/ui-variables.less // for a full listing of what's available. @import "ui-variables"; .casefile { } .casefile textarea.description { width: 100%; max-width: 100%; } .casefile button:focus { font-weight: b...
@import "ui-variables"; .casefile { } .casefile textarea.description { width: 100%; max-width: 100%; } .casefile .actions { text-align: right; } .casefile button:focus { font-weight: bold; } .casefile .tagged-code { font-family: monospace; font-weight: bold;
<|file_sep|>original/styles/casefile.less // // See https://github.com/atom/atom-dark-ui/blob/master/styles/ui-variables.less // for a full listing of what's available. @import "ui-variables"; .casefile { } .casefile textarea.description { width: 100%; max-width: 100%; } .casefile button:focus { font-weight: b...
8ec04f7258e327e011417097db599316285d054b
styles/casefile.less
styles/casefile.less
Less
<|file_sep|>src/main/resources/hbase.properties.diff original: # Zookeeper zookeeper.temp.dir=embedded_zk zookeeper.host=127.0.0.1 zookeeper.port=22010 zookeeper.connection.string=127.0.0.1:22010 updated: <|file_sep|>src/main/resources/hbase.properties.diff original: updated: # Don't lookup the hostname, specify loc...
# HBase # Don't lookup the hostname, specify localhost hbase.master.hostname=localhost hbase.regionserver.hostname=localhost hbase.master.port=25111 hbase.master.info.port=-1 hbase.num.region.servers=1 hbase.root.dir=embedded_hbase hbase.znode.parent=/hbase-unsecure hbase.wal.replication.enabled=false
<|file_sep|>src/main/resources/hbase.properties.diff original: # Zookeeper zookeeper.temp.dir=embedded_zk zookeeper.host=127.0.0.1 zookeeper.port=22010 zookeeper.connection.string=127.0.0.1:22010 updated: <|file_sep|>src/main/resources/hbase.properties.diff original: updated: # Don't lookup the hostname, specify loc...
aeb6006d39482793ff14bcaab01fb8700c97cb83
src/main/resources/hbase.properties
src/main/resources/hbase.properties
INI
<|file_sep|>original/flash-messages-spring-boot-starter-taglibs/src/main/java/es/sandbox/NoSourceCode.java <|file_sep|>current/flash-messages-spring-boot-starter-taglibs/src/main/java/es/sandbox/NoSourceCode.java <|file_sep|>updated/flash-messages-spring-boot-starter-taglibs/src/main/java/es/sandbox/NoSourceCode.java
package es.sandbox; /** * It will force to create javadoc jar, because * it's mandatory to publish in maven central. * Created by jeslopalo on 17/11/16. */ public final class NoSourceCode { private NoSourceCode() { throw new UnsupportedOperationException(); } }
<|file_sep|>original/flash-messages-spring-boot-starter-taglibs/src/main/java/es/sandbox/NoSourceCode.java <|file_sep|>current/flash-messages-spring-boot-starter-taglibs/src/main/java/es/sandbox/NoSourceCode.java <|file_sep|>updated/flash-messages-spring-boot-starter-taglibs/src/main/java/es/sandbox/NoSourceCode.java...
7d5c70792346ca639a8787a64386e4a8b1789f90
flash-messages-spring-boot-starter-taglibs/src/main/java/es/sandbox/NoSourceCode.java
flash-messages-spring-boot-starter-taglibs/src/main/java/es/sandbox/NoSourceCode.java
Java
<|file_sep|>original/.travis.yml matrix: include: - script: - xcodebuild test -scheme Result-Mac - xcodebuild test -scheme Result-iOS -sdk iphonesimulator - xcodebuild test -scheme Result-tvOS -sdk appletvsimulator - xcodebuild build -scheme Result-watchOS -sdk watchsimulator ...
matrix: include: - script: - xcodebuild test -scheme Result-Mac - xcodebuild test -scheme Result-iOS -sdk iphonesimulator -destination "name=iPhone SE" - xcodebuild test -scheme Result-tvOS -sdk appletvsimulator -destination "name=Apple TV 1080p" - xcodebuild build -scheme Result-w...
<|file_sep|>original/.travis.yml matrix: include: - script: - xcodebuild test -scheme Result-Mac - xcodebuild test -scheme Result-iOS -sdk iphonesimulator - xcodebuild test -scheme Result-tvOS -sdk appletvsimulator - xcodebuild build -scheme Result-watchOS -sdk watchsimulator ...
b74d3bbb928c2065809b1e320cf9c357cfae6a85
.travis.yml
.travis.yml
YAML
<|file_sep|>.travis.yml.diff original: updated: sudo: false <|file_sep|>original/.travis.yml language: java jdk: - oraclejdk8 <|file_sep|>current/.travis.yml sudo: false language: java jdk: - oraclejdk8 <|file_sep|>updated/.travis.yml
sudo: false language: java jdk: oraclejdk8 cache: directories: - $HOME/.m2 env: DISPLAY=:99.0 install: true addons: apt: packages: - metacity #before_install: # - sudo apt-get update
<|file_sep|>.travis.yml.diff original: updated: sudo: false <|file_sep|>original/.travis.yml language: java jdk: - oraclejdk8 <|file_sep|>current/.travis.yml sudo: false language: java jdk: - oraclejdk8 <|file_sep|>updated/.travis.yml sudo: false language: java jdk: oraclejdk8 cache: directories: - $HOME/...
7df93af992671c66da5f0dcf9aadc870514bcf86
.travis.yml
.travis.yml
YAML
<|file_sep|>src/app/components/navbar/taskbar-conflicts.scss.diff original: .popover-header { width: 350px; position: absolute; right: 0; } updated: .conflicts-popover { .popover-header { width: 350px; position: absolute; right: 0; box-shadow: 3px 3px 5px 1px rgba(0, 0, 0, 0.3); } <|file_sep|>...
box-shadow: 3px 3px 5px 1px rgba(0, 0, 0, 0.3); } .popover-body { position: absolute; overflow: hidden; width: 350px; right: 0; top: 33px; background-color: rgb(238, 238, 238); box-shadow: 3px 3px 5px 1px rgba(0, 0, 0, 0.3); .list-group { max-height: calc(100vh - 337px); ...
<|file_sep|>src/app/components/navbar/taskbar-conflicts.scss.diff original: .popover-header { width: 350px; position: absolute; right: 0; } updated: .conflicts-popover { .popover-header { width: 350px; position: absolute; right: 0; box-shadow: 3px 3px 5px 1px rgba(0, 0, 0, 0.3); } <|file_sep|>...
35b150b5db7ccbb9b8f0e96d4270dd8d2b34bdb1
src/app/components/navbar/taskbar-conflicts.scss
src/app/components/navbar/taskbar-conflicts.scss
SCSS
<|file_sep|>original/runtime-testsuite/resources/org/antlr/v4/test/runtime/descriptors/Performance/DropLoopEntryBranchInLRRule_4.txt <|file_sep|>current/runtime-testsuite/resources/org/antlr/v4/test/runtime/descriptors/Performance/DropLoopEntryBranchInLRRule_4.txt <|file_sep|>updated/runtime-testsuite/resources/org/a...
[notes] for https://github.com/antlr/antlr4/issues/1398. Seeing through a large expression takes 5 _minutes_ on my fast box to complete. After fix, it's instantaneous. [type] Parser [grammar] grammar Expr; stat : expr ';' | expr '.' ; expr : ID | 'not' expr | expr 'and' expr | expr 'or' expr ...
<|file_sep|>original/runtime-testsuite/resources/org/antlr/v4/test/runtime/descriptors/Performance/DropLoopEntryBranchInLRRule_4.txt <|file_sep|>current/runtime-testsuite/resources/org/antlr/v4/test/runtime/descriptors/Performance/DropLoopEntryBranchInLRRule_4.txt <|file_sep|>updated/runtime-testsuite/resources/org/a...
ad419105565180c14c4d2c2289f3bdd077b33189
runtime-testsuite/resources/org/antlr/v4/test/runtime/descriptors/Performance/DropLoopEntryBranchInLRRule_4.txt
runtime-testsuite/resources/org/antlr/v4/test/runtime/descriptors/Performance/DropLoopEntryBranchInLRRule_4.txt
Text
<|file_sep|>original/.github/workflows/ci-test.yml on: [push, pull_request] jobs: test: runs-on: ubuntu-20.04 strategy: matrix: node_version: [10.14.2, 14.x, 15.x, 16.x, 17.x] steps: - uses: actions/checkout@v2 - name: setup Node.js v${{ matrix.node_version }} uses: actio...
on: [push, pull_request] jobs: test: runs-on: ubuntu-20.04 strategy: matrix: node_version: [14.x, 15.x, 16.x, 17.x] steps: - uses: actions/checkout@v2 - name: setup Node.js v${{ matrix.node_version }} uses: actions/setup-node@v1 with: node-version: ${{ matri...
<|file_sep|>original/.github/workflows/ci-test.yml on: [push, pull_request] jobs: test: runs-on: ubuntu-20.04 strategy: matrix: node_version: [10.14.2, 14.x, 15.x, 16.x, 17.x] steps: - uses: actions/checkout@v2 - name: setup Node.js v${{ matrix.node_version }} uses: actio...
dff3a3ff62e9a173fd63f6777a9d18187ea23749
.github/workflows/ci-test.yml
.github/workflows/ci-test.yml
YAML
<|file_sep|>original/.gitlab-ci.yml STACK_ROOT: "${CI_PROJECT_DIR}/.stack" pages: cache: key: ${CI_BUILD_REF_NAME} paths: - .stack - .stack-work before_script: - apt-get update - bash -c "yes | apt-get install git xz-utils make" - stack upgrade - $HOME/.local/bin/stack install...
STACK_ROOT: "${CI_PROJECT_DIR}/.stack" pages: cache: key: ${CI_BUILD_REF_NAME} paths: - .stack - .stack-work before_script: - apt-get update - bash -c "yes | apt-get install git xz-utils make unzip" - stack upgrade - $HOME/.local/bin/stack install --only-dependencies --install...
<|file_sep|>original/.gitlab-ci.yml STACK_ROOT: "${CI_PROJECT_DIR}/.stack" pages: cache: key: ${CI_BUILD_REF_NAME} paths: - .stack - .stack-work before_script: - apt-get update - bash -c "yes | apt-get install git xz-utils make" - stack upgrade - $HOME/.local/bin/stack install...
6abf0bef4cd8f0ab10acd6f7515c1fe271d6ba3e
.gitlab-ci.yml
.gitlab-ci.yml
YAML
<|file_sep|>android/sdremote/src/org/libreoffice/impressremote/activity/SettingsActivity.java.diff original: updated: @SuppressWarnings("deprecation") <|file_sep|>original/android/sdremote/src/org/libreoffice/impressremote/activity/SettingsActivity.java setUpPreferences(); } private void setUpHome...
setUpPreferences(); } private void setUpHomeButton() { getSupportActionBar().setHomeButtonEnabled(true); } @SuppressWarnings("deprecation") private void setUpPreferences() { // This action is deprecated // but we still need to target pre-Honeycomb devices. ...
<|file_sep|>android/sdremote/src/org/libreoffice/impressremote/activity/SettingsActivity.java.diff original: updated: @SuppressWarnings("deprecation") <|file_sep|>original/android/sdremote/src/org/libreoffice/impressremote/activity/SettingsActivity.java setUpPreferences(); } private void setUpHome...
c37cd33fad388ad486d42f008f9908784611fe23
android/sdremote/src/org/libreoffice/impressremote/activity/SettingsActivity.java
android/sdremote/src/org/libreoffice/impressremote/activity/SettingsActivity.java
Java
<|file_sep|>original/Brocfile.js var filterSlides = require('./lib/broccoli-slides'); var pickFiles = require('broccoli-static-compiler'); var mergeTrees = require('broccoli-merge-trees'); var slideTree = pickFiles('decks', { srcDir: '/', destDir: '/' }); var publicTree = pickFiles('public', { srcDir: '/', de...
var filterSlides = require('./lib/broccoli-slides'); var pickFiles = require('broccoli-static-compiler'); var mergeTrees = require('broccoli-merge-trees'); var slideTree = pickFiles('decks', { srcDir: '/', destDir: '/' }); var publicTree = pickFiles('public', { srcDir: '/', destDir: '/' }); var slideHTML = f...
<|file_sep|>original/Brocfile.js var filterSlides = require('./lib/broccoli-slides'); var pickFiles = require('broccoli-static-compiler'); var mergeTrees = require('broccoli-merge-trees'); var slideTree = pickFiles('decks', { srcDir: '/', destDir: '/' }); var publicTree = pickFiles('public', { srcDir: '/', de...
8fa366777baf6857f8bb83992d7e6fef3eaef748
Brocfile.js
Brocfile.js
JavaScript
<|file_sep|>original/recipes/autograd/meta.yaml - future >=0.15.2 - scipy >=0.17 run: - python - numpy >=1.10 - future >=0.15.2 - scipy >=0.17 test: # Python imports imports: - autograd - autograd.numpy - autograd.scipy - autograd.scipy.stats about: home: https://githu...
- future >=0.15.2 - scipy >=0.17 run: - python - numpy >=1.10 - future >=0.15.2 - scipy >=0.17 test: imports: - autograd - autograd.numpy - autograd.scipy - autograd.scipy.stats about: home: https://github.com/HIPS/autograd license: MIT summary: 'Efficiently computes...
<|file_sep|>original/recipes/autograd/meta.yaml - future >=0.15.2 - scipy >=0.17 run: - python - numpy >=1.10 - future >=0.15.2 - scipy >=0.17 test: # Python imports imports: - autograd - autograd.numpy - autograd.scipy - autograd.scipy.stats about: home: https://githu...
b5963d7632a987a1bab4b9f27651d849a412f15a
recipes/autograd/meta.yaml
recipes/autograd/meta.yaml
YAML
<|file_sep|>original/package.json "url": "git://github.com/marcdiethelm/generator-xtc.git" }, "scripts": { "test": "mocha" }, "dependencies": { "yeoman-generator": "~0.16.0", "chalk": "~0.4.0" }, "devDependencies": { "mocha": "~1.12.0" }, "engines": { "node": ">=0.8.0" }, "li...
"url": "git://github.com/marcdiethelm/generator-xtc.git" }, "scripts": { "test": "mocha" }, "dependencies": { "yeoman-generator": "~0.16.0", "chalk": "~0.4.0" }, "devDependencies": { "mocha": "~1.17.0" }, "engines": { "node": ">=0.8.0" }, "licenses": [ { "type": "MI...
<|file_sep|>original/package.json "url": "git://github.com/marcdiethelm/generator-xtc.git" }, "scripts": { "test": "mocha" }, "dependencies": { "yeoman-generator": "~0.16.0", "chalk": "~0.4.0" }, "devDependencies": { "mocha": "~1.12.0" }, "engines": { "node": ">=0.8.0" }, "li...
58c8615ee02d1b0c460f71d4d935e8c5b6fa5e37
package.json
package.json
JSON
<|file_sep|>original/Interpolator/IPSourceController.h #import <Cocoa/Cocoa.h> #import "IPCurveStorage.h" #import "IPCurveView.h" @interface IPSourceController : NSObject <NSTableViewDelegate> { IBOutlet NSTableView * curveSetChooser; IBOutlet IPCurveView * controlPointView; IBOutlet IPCurveStorage * cur...
#import "IPCurveView.h" @interface IPSourceController : NSObject <NSTableViewDelegate> { IBOutlet NSTableView * curveSetChooser; IBOutlet IPCurveView * controlPointView; IBOutlet IPCurveStorage * curveStorage; } - (int)numberOfRowsInTableView:(NSTableView *)tableView; - (id)tableView:(NSTableView *)tabl...
<|file_sep|>original/Interpolator/IPSourceController.h #import <Cocoa/Cocoa.h> #import "IPCurveStorage.h" #import "IPCurveView.h" @interface IPSourceController : NSObject <NSTableViewDelegate> { IBOutlet NSTableView * curveSetChooser; IBOutlet IPCurveView * controlPointView; IBOutlet IPCurveStorage * cur...
83159dee4c0c1408ade1fd5b6fe737533045a9a3
Interpolator/IPSourceController.h
Interpolator/IPSourceController.h
C
<|file_sep|>original/etc/neutron/plugins/nec/nec.ini # The integration bridge acts as a virtual "patch port". All VM VIFs are # attached to this bridge and then "patched" according to their network # connectivity. # integration_bridge = br-int [agent] # Agent's polling interval in seconds # polling_interval = 2 # Use...
# The integration bridge acts as a virtual "patch port". All VM VIFs are # attached to this bridge and then "patched" according to their network # connectivity. # integration_bridge = br-int [agent] # Agent's polling interval in seconds # polling_interval = 2 [securitygroup] # Firewall driver for realizing neutron se...
<|file_sep|>original/etc/neutron/plugins/nec/nec.ini # The integration bridge acts as a virtual "patch port". All VM VIFs are # attached to this bridge and then "patched" according to their network # connectivity. # integration_bridge = br-int [agent] # Agent's polling interval in seconds # polling_interval = 2 # Use...
93d186f02897930a0ce4119a45c14d40f283d221
etc/neutron/plugins/nec/nec.ini
etc/neutron/plugins/nec/nec.ini
INI
<|file_sep|>original/.config/fish/config.fish end function gg --description "Show git branches and status" git branch; and git status --short end function sucontext --description "Sets up the ConTeXt root" echo "TODO: implement this function" end # Environment variables set dev ~/Development set go_root (command go ...
end function gg --description "Show git branches and status" git branch; and git status --short end function sucontext --description "Sets up the ConTeXt root" echo "TODO: implement this function" end # Environment variables set dev ~/Development command --search go; and set go_root (command go env GOROOT) set -x GO...
<|file_sep|>original/.config/fish/config.fish end function gg --description "Show git branches and status" git branch; and git status --short end function sucontext --description "Sets up the ConTeXt root" echo "TODO: implement this function" end # Environment variables set dev ~/Development set go_root (command go ...
1af3f64d4ca61b0f9036fd9121ada827b9a4378d
.config/fish/config.fish
.config/fish/config.fish
fish
<|file_sep|>original/flexget/config.yml all_series: yes thetvdb_lookup: yes transmission: host: vpn port: 9091 ratio: 1 set: path: /mnt/Downloads_Completed/_TV/{{ tvdb_series_name }} main_file_only: yes content_filename: "{{ tvdb_series_name }} - {{ tvdb_ep_id }} - {{...
all_series: yes thetvdb_lookup: yes transmission: host: vpn port: 9091 ratio: 1 set: path: /mnt/Downloads_Completed/_TV/{{ tvdb_series_name }} main_file_only: yes content_filename: "{{ tvdb_series_name }} - {{ tvdb_ep_id }} - {{ tvdb_ep_name|default('Unknown') }}" ...
<|file_sep|>original/flexget/config.yml all_series: yes thetvdb_lookup: yes transmission: host: vpn port: 9091 ratio: 1 set: path: /mnt/Downloads_Completed/_TV/{{ tvdb_series_name }} main_file_only: yes content_filename: "{{ tvdb_series_name }} - {{ tvdb_ep_id }} - {{...
e779c573e766940056d848788370f0b6963ebe23
flexget/config.yml
flexget/config.yml
YAML
<|file_sep|>lib/errors/invalid-channel-name.js.diff original: updated: case Commands.JOIN: <|file_sep|>original/lib/errors/invalid-channel-name.js getChannelName() { return this.value; } toMessage() { var command = this.getCommand(); switch (command) { case Commands.MODE: let message = createMessa...
getChannelName() { return this.value; } toMessage() { var command = this.getCommand(); switch (command) { case Commands.JOIN: case Commands.MODE: case Commands.PART: let message = createMessage(ReplyNumerics.ERR_NOSUCHCHANNEL); return message.setChannelName(this.getValue()); default: ...
<|file_sep|>lib/errors/invalid-channel-name.js.diff original: updated: case Commands.JOIN: <|file_sep|>original/lib/errors/invalid-channel-name.js getChannelName() { return this.value; } toMessage() { var command = this.getCommand(); switch (command) { case Commands.MODE: let message = createMessa...
697891dcbd2cacf1af72a166ddb29a7afdd73832
lib/errors/invalid-channel-name.js
lib/errors/invalid-channel-name.js
JavaScript
<|file_sep|>.travis.yml.diff original: - 0.12 updated: <|file_sep|>.travis.yml.diff original: - 5.5 updated: - 6 - node <|file_sep|>original/.travis.yml language: node_js node_js: - 0.12 - 4 - 5.5 before_install: - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" script: npm test...
language: node_js node_js: - 4 - 6 - node before_install: - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" script: npm test sudo: false addons: firefox: latest
<|file_sep|>.travis.yml.diff original: - 0.12 updated: <|file_sep|>.travis.yml.diff original: - 5.5 updated: - 6 - node <|file_sep|>original/.travis.yml language: node_js node_js: - 0.12 - 4 - 5.5 before_install: - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" script: npm test...
0eb75579fa09341f4be52f2332f32f2aaa1867d0
.travis.yml
.travis.yml
YAML
<|file_sep|>.travis.yml.diff original: updated: osx_image: xcode7.1 <|file_sep|>.travis.yml.diff original: - 2.2.3 updated: - 2.2.4 <|file_sep|>original/.travis.yml os: osx language: ruby rvm: - 2.2.3 before_install: - brew update - brew tap simple2d/tap - brew install simple2d script: - rake <|file_sep|...
os: osx osx_image: xcode7.1 language: ruby rvm: - 2.2.4 before_install: - sw_vers - brew update - brew tap simple2d/tap - brew install simple2d script: - rake
<|file_sep|>.travis.yml.diff original: updated: osx_image: xcode7.1 <|file_sep|>.travis.yml.diff original: - 2.2.3 updated: - 2.2.4 <|file_sep|>original/.travis.yml os: osx language: ruby rvm: - 2.2.3 before_install: - brew update - brew tap simple2d/tap - brew install simple2d script: - rake <|file_sep|...
89b3262292a673c819935d6eae78cfaa642bb6f6
.travis.yml
.travis.yml
YAML
<|file_sep|>original/requirements.txt chardet==3.0.4 contextlib2==0.5.5 coverage==4.5.2 Django==2.2.3 django-bleach==0.3.0 django-el-pagination==3.2.4 django-js-asset==1.1.0 django-mptt==0.9.1 django-pipeline==1.6.14 django-robots==3.1.0 django-widget-tweaks==1.4.3 djangorestframework==3.9.0 futures==3.1.1 html5lib==1....
chardet==3.0.4 contextlib2==0.5.5 coverage==4.5.2 Django==2.2.3 django-bleach==0.3.0 django-el-pagination==3.2.4 django-js-asset==1.1.0 django-mptt==0.9.1 django-pipeline==1.6.14 django-robots==3.1.0 django-widget-tweaks==1.4.5 djangorestframework==3.9.0 futures==3.1.1 html5lib==1.0.1 idna==2.8 markdown2==2.3.6 packagi...
<|file_sep|>original/requirements.txt chardet==3.0.4 contextlib2==0.5.5 coverage==4.5.2 Django==2.2.3 django-bleach==0.3.0 django-el-pagination==3.2.4 django-js-asset==1.1.0 django-mptt==0.9.1 django-pipeline==1.6.14 django-robots==3.1.0 django-widget-tweaks==1.4.3 djangorestframework==3.9.0 futures==3.1.1 html5lib==1....
f8dbb413ea10c7b1f8d5bfc542482d0313805f02
requirements.txt
requirements.txt
Text
<|file_sep|>original/app/views/layouts/application.html.erb <%= stylesheet_link_tag 'application', media: 'all' %> <% end %> <% if user_signed_in? %> <% content_for :navbar_right do %> <%= link_to current_user.name, Plek.current.find('signon') %> &bull; <%= link_to 'Sign out', gds_sign_out_path %> <% end...
<%= stylesheet_link_tag 'application', media: 'all' %> <% end %> <% if user_signed_in? %> <% content_for :navbar_right do %> <%= link_to current_user.name, Plek.current.find('signon') %> &bull; <%= link_to 'Sign out', gds_sign_out_path %> <% end %> <% end %> <% content_for :content do %> <% flash.each...
<|file_sep|>original/app/views/layouts/application.html.erb <%= stylesheet_link_tag 'application', media: 'all' %> <% end %> <% if user_signed_in? %> <% content_for :navbar_right do %> <%= link_to current_user.name, Plek.current.find('signon') %> &bull; <%= link_to 'Sign out', gds_sign_out_path %> <% end...
4026c9d0a6822e0ec4803505f3f872c151088a90
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
HTML+ERB
<|file_sep|>original/app/views/shared/_newsletter_signup.html.erb <%= form_tag(main_app.newsletter_subscription_path, class: 'newsletter-signup t-newsletter', remote: true) do %> <%= hidden_field_tag :authenticity_token, form_authenticity_token -%> <h2 class="newsletter-signup__heading"><%= t('newsletter_subscript...
<%= form_tag(main_app.newsletter_subscription_path, class: 'newsletter-signup t-newsletter', remote: true) do %> <%= hidden_field_tag :authenticity_token, form_authenticity_token -%> <h2 class="newsletter-signup__heading"><%= t('newsletter_subscriptions.title') %></h2> <ul class="newsletter-signup__benefits-lis...
<|file_sep|>original/app/views/shared/_newsletter_signup.html.erb <%= form_tag(main_app.newsletter_subscription_path, class: 'newsletter-signup t-newsletter', remote: true) do %> <%= hidden_field_tag :authenticity_token, form_authenticity_token -%> <h2 class="newsletter-signup__heading"><%= t('newsletter_subscript...
700afa1998af819597f5a84f7669eb86f0828e74
app/views/shared/_newsletter_signup.html.erb
app/views/shared/_newsletter_signup.html.erb
HTML+ERB
<|file_sep|>src/site/components/SiteHeader.tsx.diff original: const models = config.consoles.map(type => [type.toUpperCase(), type, config.consoleCfgs[type].name]) updated: const models = config.consoles.map(type => [type.toUpperCase(), type, config.consoleCfgs[type].name]); <|file_sep|>src/site/components/SiteHeader.t...
return pageType === 'cartridges' || pageType === 'cartridge' || pageType === 'game' || pageType === 'mapper'; } function Navigation({pageType}: Props) { return ( <nav className="site-navigation"> <ul> { models.map(([model, code, name]) => ( <li key={code} className={(isModel...
<|file_sep|>src/site/components/SiteHeader.tsx.diff original: const models = config.consoles.map(type => [type.toUpperCase(), type, config.consoleCfgs[type].name]) updated: const models = config.consoles.map(type => [type.toUpperCase(), type, config.consoleCfgs[type].name]); <|file_sep|>src/site/components/SiteHeader.t...
689f92b793124078239d103a2a10dd7724bf6676
src/site/components/SiteHeader.tsx
src/site/components/SiteHeader.tsx
TypeScript
<|file_sep|>original/_layouts/default.html <!DOCTYPE html> <html lang="en-US"> {% include head.html %} <body> {% include header.html %} <div class="container"> {{ content }} </div> {% include footer.html %} <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery...
<!DOCTYPE html> <html lang="en-US"> {% include head.html %} <body> {% include header.html %} <div class="container"> {{ content }} </div> {% include footer.html %} <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script> <script src="/script...
<|file_sep|>original/_layouts/default.html <!DOCTYPE html> <html lang="en-US"> {% include head.html %} <body> {% include header.html %} <div class="container"> {{ content }} </div> {% include footer.html %} <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery...
ca4bf74978d2aa33157343c1e3973e5bbbc218d8
_layouts/default.html
_layouts/default.html
HTML
<|file_sep|>original/README.md All the data is scraped from [OverwatchFire](http://www.owfire.com/overwatch/counters). Votes for each matchup are added and then numbers are normalized so that every hero has a 50% winrate, and counter scores render on a scale from -100 to 100. You can see it live at [www.overwatchcount...
All the data is scraped from [OverwatchFire](http://www.owfire.com/overwatch/counters). Votes for each matchup are added and then numbers are normalized so that every hero has a 50% winrate, and counter scores render on a scale from -100 to 100. You can see it live at [www.overwatchcounters.io](http://www.overwatchcou...
<|file_sep|>original/README.md All the data is scraped from [OverwatchFire](http://www.owfire.com/overwatch/counters). Votes for each matchup are added and then numbers are normalized so that every hero has a 50% winrate, and counter scores render on a scale from -100 to 100. You can see it live at [www.overwatchcount...
61805bd29ea30067d2d3f20c2d85671d62af9ea9
README.md
README.md
Markdown