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/packages/Python/lldbsuite/test/commands/gui/invalid-args/TestInvalidArgsGui.py <|file_sep|>current/packages/Python/lldbsuite/test/commands/gui/invalid-args/TestInvalidArgsGui.py <|file_sep|>updated/packages/Python/lldbsuite/test/commands/gui/invalid-args/TestInvalidArgsGui.py
import lldb from lldbsuite.test.lldbtest import * from lldbsuite.test.decorators import * class GuiTestCase(TestBase): mydir = TestBase.compute_mydir(__file__) def setUp(self): TestBase.setUp(self) @no_debug_info_test def test_reproducer_generate_invalid_invocation(self): self.expect...
<|file_sep|>original/packages/Python/lldbsuite/test/commands/gui/invalid-args/TestInvalidArgsGui.py <|file_sep|>current/packages/Python/lldbsuite/test/commands/gui/invalid-args/TestInvalidArgsGui.py <|file_sep|>updated/packages/Python/lldbsuite/test/commands/gui/invalid-args/TestInvalidArgsGui.py import lldb from lld...
5c66a9d8c7b53338d37ef9e959e55e14511f7c84
packages/Python/lldbsuite/test/commands/gui/invalid-args/TestInvalidArgsGui.py
packages/Python/lldbsuite/test/commands/gui/invalid-args/TestInvalidArgsGui.py
Python
<|file_sep|>original/views/index.jade .collapse.navbar-collapse.navbar-ex1-collapse ul.nav.navbar-nav li a(href="/admin/cc") Content Control li a(href="/admin/admin") Admin Panel .navbar-text.navbar-right a(ng-href="/api/logout" target="_self")...
.collapse.navbar-collapse.navbar-ex1-collapse ul.nav.navbar-nav li a(href="/admin/cc") Content Control li a(href="/admin/admin") Admin Panel .navbar-text.navbar-right a(ng-href="/api/logout" target="_self") Log out - if (error!="") ...
<|file_sep|>original/views/index.jade .collapse.navbar-collapse.navbar-ex1-collapse ul.nav.navbar-nav li a(href="/admin/cc") Content Control li a(href="/admin/admin") Admin Panel .navbar-text.navbar-right a(ng-href="/api/logout" target="_self")...
76f7ff8fda9ccac90fe021305cbc47389fa37b92
views/index.jade
views/index.jade
Jade
<|file_sep|>original/themes/MouseGuests/partials/loop.hbs <div class="extra-pagination inner"> {{pagination}} </div> {{! This is the post loop - each post will be output using this markup }} {{#foreach posts}} <article class="{{post_class}}"> <header class="post-header"> <h2 class="post-title"><a href=...
<div class="extra-pagination inner"> {{pagination}} </div> {{! This is the post loop - each post will be output using this markup }} {{#foreach posts}} <article class="{{post_class}}"> <header class="post-header"> <h2 class="post-title"><a href="{{url}}">{{{title}}}</a></h2> </header> <section ...
<|file_sep|>original/themes/MouseGuests/partials/loop.hbs <div class="extra-pagination inner"> {{pagination}} </div> {{! This is the post loop - each post will be output using this markup }} {{#foreach posts}} <article class="{{post_class}}"> <header class="post-header"> <h2 class="post-title"><a href=...
efe8e51e996766121f7bbd56f1633480b69d391b
themes/MouseGuests/partials/loop.hbs
themes/MouseGuests/partials/loop.hbs
Handlebars
<|file_sep|>original/webpack.config.js module.exports = { entry: { 'browser-id3-writer': './src/browser-id3-writer.js', 'browser-id3-writer.min': './src/browser-id3-writer.js' }, output: { path: path.join(__dirname, 'dist'), filename: '[name].js', library: 'ID3Writer...
module.exports = { entry: { 'browser-id3-writer': './src/browser-id3-writer.js', 'browser-id3-writer.min': './src/browser-id3-writer.js' }, output: { path: path.join(__dirname, 'dist'), filename: '[name].js', library: 'ID3Writer', libraryTarget: 'umd' }, ...
<|file_sep|>original/webpack.config.js module.exports = { entry: { 'browser-id3-writer': './src/browser-id3-writer.js', 'browser-id3-writer.min': './src/browser-id3-writer.js' }, output: { path: path.join(__dirname, 'dist'), filename: '[name].js', library: 'ID3Writer...
7690d60150af45106485f3e6f87dd993081c563b
webpack.config.js
webpack.config.js
JavaScript
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" install: - "bin/installDeps.sh" - "export GIT_HASH=$(cat .git/HEAD | head -c 7)" before_script: - "tests/frontend/travis/sauce_tunnel.sh" script: - "tests/frontend/travis/runner.sh" env: global: - secure: "gVR70BdAh093qBS5P5+V5NzmCYnL...
language: node_js node_js: - "0.10" install: - "bin/installDeps.sh" - "export GIT_HASH=$(git rev-parse --verify --short HEAD)" before_script: - "tests/frontend/travis/sauce_tunnel.sh" script: - "tests/frontend/travis/runner.sh" env: global: - secure: "gVR70BdAh093qBS5P5+V5NzmCYnLFFeIZn3XdgTpgpGRm7UE8GP...
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" install: - "bin/installDeps.sh" - "export GIT_HASH=$(cat .git/HEAD | head -c 7)" before_script: - "tests/frontend/travis/sauce_tunnel.sh" script: - "tests/frontend/travis/runner.sh" env: global: - secure: "gVR70BdAh093qBS5P5+V5NzmCYnL...
fe0104f336b533ec37097e544a345c72042f0217
.travis.yml
.travis.yml
YAML
<|file_sep|>atom/.atom/keymap.cson.diff original: # * https://atom.io/docs/latest/using-atom-basic-customization#customizing-key-bindings # * https://atom.io/docs/latest/behind-atom-keymaps-in-depth updated: # * http://flight-manual.atom.io/using-atom/sections/basic-customization/#_customizing_keybindings # * http://fl...
# # 'atom-text-editor': # 'enter': 'editor:newline' # # 'atom-workspace': # 'ctrl-shift-p': 'core:move-up' # 'ctrl-p': 'core:move-down' # # You can find more information about keymaps in these guides: # * http://flight-manual.atom.io/using-atom/sections/basic-customization/#_customizing_keybindings # * http://fli...
<|file_sep|>atom/.atom/keymap.cson.diff original: # * https://atom.io/docs/latest/using-atom-basic-customization#customizing-key-bindings # * https://atom.io/docs/latest/behind-atom-keymaps-in-depth updated: # * http://flight-manual.atom.io/using-atom/sections/basic-customization/#_customizing_keybindings # * http://fl...
354a41335552d56aa773a2042e49b7d15b9d102a
atom/.atom/keymap.cson
atom/.atom/keymap.cson
CoffeeScript
<|file_sep|>js/game.js.diff original: updated: this.flattenBoard = Board.flatten(this.board); <|file_sep|>js/game.js.diff original: } // flattenBoard ask the Board to flatten the current game board Game.prototype.flattenBoard = function(){ return Board.flatten(this.board); updated: <|file_sep|>original/js/game.j...
// Game Controller // A checkers board has 64 squares like a chess board but it only uses 32 squares all the same color // Each player has 12 pieces and pieces that make until the last squares on the enemy side is promoted // Promoted piece also moves on diagonals with no limit of squares if it is free // The moves are...
<|file_sep|>js/game.js.diff original: updated: this.flattenBoard = Board.flatten(this.board); <|file_sep|>js/game.js.diff original: } // flattenBoard ask the Board to flatten the current game board Game.prototype.flattenBoard = function(){ return Board.flatten(this.board); updated: <|file_sep|>original/js/game.j...
93a264cc70674f6d63b7373f0b0200c27567ee89
js/game.js
js/game.js
JavaScript
<|file_sep|>original/bots/findBots.sh #!/bin/bash # # Generates a Go map containing all bots that have accessed Write.as # cat /var/log/$1 | grep -i bot | awk -F\" '{print $4}' | sort | uniq > bots.txt rm bots.go cat > bots.go << EOM package bots var bots = map[string]bool { EOM while read b; do if [ -n "$b" ...
#!/bin/bash # # Generates a Go map containing all bots that have accessed Write.as # cat /var/log/$1 | grep -i 'bot\|crawler\|voltron' | awk -F\" '{print $4}' | sort | uniq > bots.txt rm bots.go cat > bots.go << EOM package bots var bots = map[string]bool { EOM while read b; do if [ -n "$b" ]; then ec...
<|file_sep|>original/bots/findBots.sh #!/bin/bash # # Generates a Go map containing all bots that have accessed Write.as # cat /var/log/$1 | grep -i bot | awk -F\" '{print $4}' | sort | uniq > bots.txt rm bots.go cat > bots.go << EOM package bots var bots = map[string]bool { EOM while read b; do if [ -n "$b" ...
91771fc8385ba9362a1ecdcaf92f321321976a30
bots/findBots.sh
bots/findBots.sh
Shell
<|file_sep|>tests/fixtures/smoke-tests/js-testem-config/testem.js.diff original: "framework": "qunit", "test_page": "tests/index.html?hidepassed", "disable_watching": true, "launch_in_ci": [ "Chrome" updated: "framework": "qunit", "test_page": "tests/index.html?hidepassed", "disable_watchi...
process.env._TESTEM_CONFIG_JS_RAN = true; module.exports = { "framework": "qunit", "test_page": "tests/index.html?hidepassed", "disable_watching": true, "launch_in_ci": [ "Chrome" ], "launch_in_dev": [ "Chrome" ], "browser_args": { "Chrome": [ "--disable-gpu", "--headless", ...
<|file_sep|>tests/fixtures/smoke-tests/js-testem-config/testem.js.diff original: "framework": "qunit", "test_page": "tests/index.html?hidepassed", "disable_watching": true, "launch_in_ci": [ "Chrome" updated: "framework": "qunit", "test_page": "tests/index.html?hidepassed", "disable_watchi...
59f9aa10bfdd0b16b1b11dc0e5bc82767053fa19
tests/fixtures/smoke-tests/js-testem-config/testem.js
tests/fixtures/smoke-tests/js-testem-config/testem.js
JavaScript
<|file_sep|>packages/du/dump.yaml.diff original: hash: 04743186bad43f9e80f40abea8b63c258a80843c117cf7c20902058ec9edec6f updated: hash: 17976971adca6c0f1dd922dce10718479c4070d70039f412a87fce77f48df2b8 <|file_sep|>packages/du/dump.yaml.diff original: base: ! '>=4.8 && <4.9' updated: base: ! '>=4 && <5' <|file_sep|>pa...
interpolatedstring-perl6: -any dump: -any haskell-src-meta: -any template-haskell: -any maintainer: dumplibhs.psssst@dfgh.net synopsis: Dumps the names and values of expressions to ease debugging. changelog: '' basic-deps: base: ! '>=4 && <5' text: -any interpolatedstring-perl6: -any haskell-src-meta: -...
<|file_sep|>packages/du/dump.yaml.diff original: hash: 04743186bad43f9e80f40abea8b63c258a80843c117cf7c20902058ec9edec6f updated: hash: 17976971adca6c0f1dd922dce10718479c4070d70039f412a87fce77f48df2b8 <|file_sep|>packages/du/dump.yaml.diff original: base: ! '>=4.8 && <4.9' updated: base: ! '>=4 && <5' <|file_sep|>pa...
b05a6f99720bbde0df39c8a3dfccc84a23cd77bc
packages/du/dump.yaml
packages/du/dump.yaml
YAML
<|file_sep|>original/metadata/eu.siebeck.sipswitch.txt Build:1.1.0,10 commit=1.1.0 subdir=app submodules=yes gradle=yes Build:1.1.1,11 commit=1.1.1 subdir=app submodules=yes gradle=yes Maintainer Notes: Usage of the jar is fine since it comes directly from upstream's repo. . Auto Upd...
Build:1.1.0,10 commit=1.1.0 subdir=app submodules=yes gradle=yes Build:1.1.1,11 commit=1.1.1 subdir=app submodules=yes gradle=yes Maintainer Notes: Usage of the jar is fine since it comes directly from upstream's repo. . Auto Update Mode:None Update Check Mode:Tags Current Version:1....
<|file_sep|>original/metadata/eu.siebeck.sipswitch.txt Build:1.1.0,10 commit=1.1.0 subdir=app submodules=yes gradle=yes Build:1.1.1,11 commit=1.1.1 subdir=app submodules=yes gradle=yes Maintainer Notes: Usage of the jar is fine since it comes directly from upstream's repo. . Auto Upd...
161c55616c2cfdddab59f91baf170365591d9a36
metadata/eu.siebeck.sipswitch.txt
metadata/eu.siebeck.sipswitch.txt
Text
<|file_sep|>original/job_state.gemspec $:.push File.expand_path("../lib", __FILE__) # Maintain your gem's version: require "job_state/version" # Describe your gem and declare its dependencies: Gem::Specification.new do |s| s.name = "job_state" s.version = JobState::VERSION s.authors = ["Wyatt Gre...
$:.push File.expand_path("../lib", __FILE__) # Maintain your gem's version: require "job_state/version" # Describe your gem and declare its dependencies: Gem::Specification.new do |s| s.name = "job_state" s.version = JobState::VERSION s.authors = ["Wyatt Greene", "Ian McLean"] s.summary = "...
<|file_sep|>original/job_state.gemspec $:.push File.expand_path("../lib", __FILE__) # Maintain your gem's version: require "job_state/version" # Describe your gem and declare its dependencies: Gem::Specification.new do |s| s.name = "job_state" s.version = JobState::VERSION s.authors = ["Wyatt Gre...
776ef13ad039df6658dcdcba5f0db1c0c75f88e9
job_state.gemspec
job_state.gemspec
Ruby
<|file_sep|>original/src/Log/LaravelLogDecouplr.php public function getMonolog() { return $this->delegate(__FUNCTION__, func_get_args()); } public function getEventDispatcher() { return $this->delegate(__FUNCTION__, func_get_args()); } public function setEventDispatcher() ...
public function setEventDispatcher() { return $this->delegate(__FUNCTION__, func_get_args()); } public function write() { return $this->delegate(__FUNCTION__, func_get_args()); } public function debug() { return $this->delegate(__FUNCTION__, func_get_args()); ...
<|file_sep|>original/src/Log/LaravelLogDecouplr.php public function getMonolog() { return $this->delegate(__FUNCTION__, func_get_args()); } public function getEventDispatcher() { return $this->delegate(__FUNCTION__, func_get_args()); } public function setEventDispatcher() ...
b4312aa4ed2f59e6be2410f2b39aadbf134321c6
src/Log/LaravelLogDecouplr.php
src/Log/LaravelLogDecouplr.php
PHP
<|file_sep|>original/README.md -------------- Swaggy Jenkins is a set of Jenkins API clients in multiple languages generated from Swagger / Open API specification. Published packages ------------------ | Language | Package | Status | |-|-|-| | JavaScript | [swaggy_jenkins]((http://www.npmjs.com/package/swaggy_jenkin...
-------------- Swaggy Jenkins is a set of Jenkins API clients in multiple languages generated from Swagger / Open API specification. Published packages ------------------ | Language | Package | Status | |-|-|-| | JavaScript | [swaggy_jenkins]((http://www.npmjs.com/package/swaggy_jenkins)) | [![Published Version](htt...
<|file_sep|>original/README.md -------------- Swaggy Jenkins is a set of Jenkins API clients in multiple languages generated from Swagger / Open API specification. Published packages ------------------ | Language | Package | Status | |-|-|-| | JavaScript | [swaggy_jenkins]((http://www.npmjs.com/package/swaggy_jenkin...
cb287c51e81a7b4a683df5f401154dfadf78b3bf
README.md
README.md
Markdown
<|file_sep|>original/Display_map_in_full_screen_for_X-RAIN.user.css #map-contents { width: auto !important; } #single-mp-radar, #mp-radar { width: auto !important; height: 950px !important; } #legendPanel1 { top: initial !important; left: initial !important; bottom: 255px !important; r...
#map-contents { width: auto !important; } #single-mp-radar, #mp-radar { width: auto !important; height: 950px !important; } #legendPanel1 { top: initial !important; left: initial !important; bottom: 270px !important; right: 80px !important; } #mapDate { top: initial !important;...
<|file_sep|>original/Display_map_in_full_screen_for_X-RAIN.user.css #map-contents { width: auto !important; } #single-mp-radar, #mp-radar { width: auto !important; height: 950px !important; } #legendPanel1 { top: initial !important; left: initial !important; bottom: 255px !important; r...
87a98e3d2780d0c8d86f2ccdf392d0c2879ed9e0
Display_map_in_full_screen_for_X-RAIN.user.css
Display_map_in_full_screen_for_X-RAIN.user.css
CSS
<|file_sep|>original/linguist/tests/test_translation.py self.registry.register(FooTranslation) self.instance = FooModel() def test_fields(self): for language in LANGUAGES: self.assertIn('title_%s' % language, dir(FooModel)) def test_getter_setter(self): with self.as...
self.registry.register(FooTranslation) self.instance = FooModel() def test_fields(self): for language in LANGUAGES: self.assertIn('title_%s' % language, dir(FooModel)) def test_getter_setter(self): with self.assertNumQueries(3): # save = 1 query ...
<|file_sep|>original/linguist/tests/test_translation.py self.registry.register(FooTranslation) self.instance = FooModel() def test_fields(self): for language in LANGUAGES: self.assertIn('title_%s' % language, dir(FooModel)) def test_getter_setter(self): with self.as...
47428a8645203e3bf7b7c204b3157b41a0cddb33
linguist/tests/test_translation.py
linguist/tests/test_translation.py
Python
<|file_sep|>original/docs/tutorial/index.rst ======== Tutorial ======== * Start with the :ref:`ref_tutorial_install` * Set up your :ref:`ref_tutorial_createdb` * Learn the basics about :ref:`ref_tutorial_queries` * Make your data accessible via :ref:`ref_tutorial_graphql` .. toctree:: :maxdepth: 3 install ...
======== Tutorial ======== Welcome to EdgeDB! This tutorial covers the steps needed to set up EdgeDB and start using it. This is a good starting point if you're new to EdgeDB. * Start with the :ref:`ref_tutorial_install` * Set up your :ref:`ref_tutorial_createdb` * Learn the basics about :ref:`ref_tutorial_queries` ...
<|file_sep|>original/docs/tutorial/index.rst ======== Tutorial ======== * Start with the :ref:`ref_tutorial_install` * Set up your :ref:`ref_tutorial_createdb` * Learn the basics about :ref:`ref_tutorial_queries` * Make your data accessible via :ref:`ref_tutorial_graphql` .. toctree:: :maxdepth: 3 install ...
6509e32dabd7ca0c699196a563eda60afb2954af
docs/tutorial/index.rst
docs/tutorial/index.rst
reStructuredText
<|file_sep|>.travis.yml.diff original: updated: - npm install codecov.io@0.1.2 mocha-lcov-reporter@0.0.2 <|file_sep|>original/.travis.yml --- language: node_js sudo: false cache: directories: - node_modules before_install: - "npm config set spin false" - "npm install -g npm@^2" install: - npm install...
language: node_js sudo: false cache: directories: - node_modules before_install: - "npm config set spin false" - "npm install -g npm@^2" install: - npm install - npm install codecov.io@0.1.2 mocha-lcov-reporter@0.0.2 script: - npm test after_success: ./node_modules/.bin/mocha -R mocha-lcov-repor...
<|file_sep|>.travis.yml.diff original: updated: - npm install codecov.io@0.1.2 mocha-lcov-reporter@0.0.2 <|file_sep|>original/.travis.yml --- language: node_js sudo: false cache: directories: - node_modules before_install: - "npm config set spin false" - "npm install -g npm@^2" install: - npm install...
cbe53d6ee713ad58d980c615dd47b521fc5de5fa
.travis.yml
.travis.yml
YAML
<|file_sep|>handlers/leave.js.diff original: // remove the peer from the peers data updated: // if we know about the peer, mark it as inactive <|file_sep|>original/handlers/leave.js The `peer:leave` event is emitted once a `/leave` message is captured from a peer. Prior to the event being dispatched, ...
The `peer:leave` event is emitted once a `/leave` message is captured from a peer. Prior to the event being dispatched, the internal peers data in the signaller is removed but can be accessed in 2nd argument of the event handler. **/ module.exports = function(signaller) { return function(args) { ...
<|file_sep|>handlers/leave.js.diff original: // remove the peer from the peers data updated: // if we know about the peer, mark it as inactive <|file_sep|>original/handlers/leave.js The `peer:leave` event is emitted once a `/leave` message is captured from a peer. Prior to the event being dispatched, ...
710fa56b1a5f2ac2f67466f2636d4c4d572f0a02
handlers/leave.js
handlers/leave.js
JavaScript
<|file_sep|>.travis.yml.diff original: updated: branches: except: - travis-tested install: <|file_sep|>.travis.yml.diff original: updated: - test_and_tag <|file_sep|>original/.travis.yml sudo: false language: python python: - '2.7' env: global: - NIFTY_TRAVIS_CACHE_REPO=https://github.com/nimbis/travi...
- '2.7' branches: except: - travis-tested install: env: global: - NIFTY_TRAVIS_CACHE_REPO=https://github.com/nimbis/travis-cache-public.git install: - make reqs before_script: - git clone https://github.com/nimbis/nifty.git ./.nifty script: - source .nifty/nifty-script - verify_coverage_improvemen...
<|file_sep|>.travis.yml.diff original: updated: branches: except: - travis-tested install: <|file_sep|>.travis.yml.diff original: updated: - test_and_tag <|file_sep|>original/.travis.yml sudo: false language: python python: - '2.7' env: global: - NIFTY_TRAVIS_CACHE_REPO=https://github.com/nimbis/travi...
1bafbdb7ae418767e2073278995d5ecff51402dc
.travis.yml
.travis.yml
YAML
<|file_sep|>spec/features/profile_spec.rb.diff original: fill_in 'profile_name', :with => '19wu' fill_in 'profile_website', :with => 'http://19wu.com' fill_in 'profile_bio', :with => '**Launch your event now**' updated: fill_in 'profile_name', with: '19wu' fill_in 'profile_website', with: 'http:/...
I18n.t('flash.profiles.updated') } background do sign_in end background do visit profile_path end scenario "I update my profile" do fill_in 'profile_name', with: '19wu' fill_in 'profile_website', with: 'http://19wu.com' fill_in 'profile_bio', with: '**Launch your event now*...
<|file_sep|>spec/features/profile_spec.rb.diff original: fill_in 'profile_name', :with => '19wu' fill_in 'profile_website', :with => 'http://19wu.com' fill_in 'profile_bio', :with => '**Launch your event now**' updated: fill_in 'profile_name', with: '19wu' fill_in 'profile_website', with: 'http:/...
82796241a78347a84de4a38ce8019c61e688c8df
spec/features/profile_spec.rb
spec/features/profile_spec.rb
Ruby
<|file_sep|>original/eval-requirements.txt pip>9.0 -e git+https://github.com/uw-it-aca/scout@qa#egg=scout -e git+https://github.com/uw-it-aca/scout-manager@qa#egg=scout-manager -e git+https://github.com/uw-it-aca/spotseeker_client@master#egg=spotseeker_restclient -e git+https://github.com/charlon/django-hybridize@maste...
-e git+https://github.com/uw-it-aca/scout@qa#egg=scout -e git+https://github.com/uw-it-aca/scout-manager@qa#egg=scout-manager -e git+https://github.com/uw-it-aca/spotseeker_client@master#egg=spotseeker_restclient -e git+https://github.com/charlon/django-hybridize@master#egg=hybridize
<|file_sep|>original/eval-requirements.txt pip>9.0 -e git+https://github.com/uw-it-aca/scout@qa#egg=scout -e git+https://github.com/uw-it-aca/scout-manager@qa#egg=scout-manager -e git+https://github.com/uw-it-aca/spotseeker_client@master#egg=spotseeker_restclient -e git+https://github.com/charlon/django-hybridize@maste...
5e42a06b91743a3333cd35150f542d66ff7770e1
eval-requirements.txt
eval-requirements.txt
Text
<|file_sep|>original/spec/lib/resume/pdf/font_spec.rb <|file_sep|>current/spec/lib/resume/pdf/font_spec.rb <|file_sep|>updated/spec/lib/resume/pdf/font_spec.rb
require 'resume/pdf/font' module Resume module PDF RSpec.describe Font do describe '.configure' do let(:font_families) { instance_double('Hash', :font_families) } let(:pdf) do instance_double( 'Prawn::Document', :pdf, font_families: font_familie...
<|file_sep|>original/spec/lib/resume/pdf/font_spec.rb <|file_sep|>current/spec/lib/resume/pdf/font_spec.rb <|file_sep|>updated/spec/lib/resume/pdf/font_spec.rb require 'resume/pdf/font' module Resume module PDF RSpec.describe Font do describe '.configure' do let(:font_families) { instance_double(...
3048d0d303f1bc0ea6585c3e544ebc147bdd035f
spec/lib/resume/pdf/font_spec.rb
spec/lib/resume/pdf/font_spec.rb
Ruby
<|file_sep|>original/spec/multitenancy_tools/schema_switcher_spec.rb subject.run(&b) end.to yield_control end it 'sets the correct search path when executing the block' do subject.run do expect(Db.connection.schema_search_path).to eql("'foobar'") end end it 'sets the ...
end it 'sets the correct search path when executing the block' do subject.run do expect(Db.connection.schema_search_path).to eql("'foobar'") end end it 'sets the search path back to its previous value' do subject.run {} expect(Db.connection.schema_search_path).to eql("s...
<|file_sep|>original/spec/multitenancy_tools/schema_switcher_spec.rb subject.run(&b) end.to yield_control end it 'sets the correct search path when executing the block' do subject.run do expect(Db.connection.schema_search_path).to eql("'foobar'") end end it 'sets the ...
61786ebbfc44e192ce829cb15b6eb3feb04b6f0b
spec/multitenancy_tools/schema_switcher_spec.rb
spec/multitenancy_tools/schema_switcher_spec.rb
Ruby
<|file_sep|>original/requirements.txt flask-sqlalchemy==2.5.1 hiredis==2.0.0 itsdangerous==2.1.2 jinja2==3.1.2 markupsafe==2.1.1 marrow.mailer==4.0.3 marrow.util==1.2.3 marshmallow==3.17.0 mistletoe==0.8.2 pillow==9.2.0 psycopg2-binary==2.9.3 qrcode==7.3.1 redis==4.2.2 requests==2.28.1 rq==1.10.1 rq-dashboard==0.6.1 rt...
flask-sqlalchemy==2.5.1 hiredis==2.0.0 itsdangerous==2.1.2 jinja2==3.1.2 markupsafe==2.1.1 marrow.mailer==4.0.3 marrow.util==1.2.3 marshmallow==3.17.0 mistletoe==0.8.2 pillow==9.2.0 psycopg2-binary==2.9.3 qrcode==7.3.1 redis==4.3.4 requests==2.28.1 rq==1.10.1 rq-dashboard==0.6.1 rtoml==0.8.0 sqlalchemy==1.4.39 tenacity...
<|file_sep|>original/requirements.txt flask-sqlalchemy==2.5.1 hiredis==2.0.0 itsdangerous==2.1.2 jinja2==3.1.2 markupsafe==2.1.1 marrow.mailer==4.0.3 marrow.util==1.2.3 marshmallow==3.17.0 mistletoe==0.8.2 pillow==9.2.0 psycopg2-binary==2.9.3 qrcode==7.3.1 redis==4.2.2 requests==2.28.1 rq==1.10.1 rq-dashboard==0.6.1 rt...
b8e7aeec468e1149cee5803d9e5258d9afbe14db
requirements.txt
requirements.txt
Text
<|file_sep|>original/client/Environments/views/scene/environmentruleitem.coffee disabled : KD.isGuest() action : 'delete' separator : yes customView : colorSelection return items cmedit: -> modal = new AddFirewallRuleModal {}, @getData() modal.once "RuleUpdated", => ...
disabled : KD.isGuest() action : 'delete' separator : yes customView : colorSelection return items cmedit: -> modal = new AddFirewallRuleModal {}, @getData() modal.once "RuleUpdated", @bound "handleDataUpdate" handleDataUpdate: -> @template.update() {enabled...
<|file_sep|>original/client/Environments/views/scene/environmentruleitem.coffee disabled : KD.isGuest() action : 'delete' separator : yes customView : colorSelection return items cmedit: -> modal = new AddFirewallRuleModal {}, @getData() modal.once "RuleUpdated", => ...
03d786218f9ebbfc66cd77c6d0b467f7c64d6a7e
client/Environments/views/scene/environmentruleitem.coffee
client/Environments/views/scene/environmentruleitem.coffee
CoffeeScript
<|file_sep|>original/phpunit.xml.dist bootstrap="vendor/autoload.php" > <testsuites> <testsuite name="Twig Test Suite"> <directory>./test/Twig/</directory> </testsuite> </testsuites> <php> <ini name="error_reporting" value="-1" /> </php> <listeners> <listener class="Symfony\Br...
bootstrap="vendor/autoload.php" > <testsuites> <testsuite name="Twig Test Suite"> <directory>./test/Twig/</directory> </testsuite> </testsuites> <php> <ini name="error_reporting" value="-1" /> <ini name="xdebug.overload_var_dump" value="0" /> </php> <listeners> <listener c...
<|file_sep|>original/phpunit.xml.dist bootstrap="vendor/autoload.php" > <testsuites> <testsuite name="Twig Test Suite"> <directory>./test/Twig/</directory> </testsuite> </testsuites> <php> <ini name="error_reporting" value="-1" /> </php> <listeners> <listener class="Symfony\Br...
8edd95409e62ff76d6b0d2c1fa42c300fdb65d84
phpunit.xml.dist
phpunit.xml.dist
unknown
<|file_sep|>original/src/RegExConverter.java <|file_sep|>current/src/RegExConverter.java <|file_sep|>updated/src/RegExConverter.java
import java.util.Collections; import java.util.HashMap; import java.util.Map; import java.util.Stack; public class RegExConverter { /** Operators precedence map. */ private static final Map<Character, Integer> precedenceMap; static { Map<Character, Integer> map = new HashMap<Character, Integer>(); map.put('(',...
<|file_sep|>original/src/RegExConverter.java <|file_sep|>current/src/RegExConverter.java <|file_sep|>updated/src/RegExConverter.java import java.util.Collections; import java.util.HashMap; import java.util.Map; import java.util.Stack; public class RegExConverter { /** Operators precedence map. */ private static f...
7c9ba2b0b7290ee57f187c338e232d6dfd7783b7
src/RegExConverter.java
src/RegExConverter.java
Java
<|file_sep|>original/vendor-bin/phpunit/composer.json { "require-dev": { "symfony/phpunit-bridge": "5.1.3", "vimeo/psalm": "3.14.2", "psalm/plugin-phpunit": "0.10.1", "weirdan/doctrine-psalm-plugin": "0.11.3" } } <|file_sep|>current/vendor-bin/phpunit/composer.json { "require...
{ "require-dev": { "symfony/phpunit-bridge": "5.1.3", "vimeo/psalm": "3.14.2", "psalm/plugin-phpunit": "0.11.0", "weirdan/doctrine-psalm-plugin": "0.11.3" } }
<|file_sep|>original/vendor-bin/phpunit/composer.json { "require-dev": { "symfony/phpunit-bridge": "5.1.3", "vimeo/psalm": "3.14.2", "psalm/plugin-phpunit": "0.10.1", "weirdan/doctrine-psalm-plugin": "0.11.3" } } <|file_sep|>current/vendor-bin/phpunit/composer.json { "require...
d1dfaa223aadee9f544be28746f20ba0a9b7ef69
vendor-bin/phpunit/composer.json
vendor-bin/phpunit/composer.json
JSON
<|file_sep|>src/lexington/util/paths.py.diff original: from urllib import parse updated: <|file_sep|>src/lexington/util/paths.py.diff original: # TODO: clean up all of these... @depends_on(['environ']) def get_method(environ): return environ['REQUEST_METHOD'] updated: @depends_on(['request']) def get_method(reques...
@depends_on(['request']) def get_path(request): return request.path @depends_on(['request']) def get_query_string(request): return request.query_string @depends_on(['request']) def get_query(request): return request.args def register_all(dependencies): dependant_functions = { 'request': get_...
<|file_sep|>src/lexington/util/paths.py.diff original: from urllib import parse updated: <|file_sep|>src/lexington/util/paths.py.diff original: # TODO: clean up all of these... @depends_on(['environ']) def get_method(environ): return environ['REQUEST_METHOD'] updated: @depends_on(['request']) def get_method(reques...
c5b2cb667a59cf6fa16c860744fd5978cd3c01a2
src/lexington/util/paths.py
src/lexington/util/paths.py
Python
<|file_sep|>benchmarks/overhead.rb.diff original: COLUMNS = %w(title body long_title seo_title) updated: COLUMNS = %w(title content subtitle author) <|file_sep|>benchmarks/overhead.rb.diff original: translates(*COLUMNS, backend: :column, presence: false) updated: translates :title, backend: :column translates :co...
end class Post < ActiveRecord::Base extend Mobility translates :title, backend: :column translates :content, backend: :column, presence: false translates :subtitle, backend: :column, presence: false, cache: false translates :author, backend: :column, cache: false end post = Post.new(title_en: "hey", title_j...
<|file_sep|>benchmarks/overhead.rb.diff original: COLUMNS = %w(title body long_title seo_title) updated: COLUMNS = %w(title content subtitle author) <|file_sep|>benchmarks/overhead.rb.diff original: translates(*COLUMNS, backend: :column, presence: false) updated: translates :title, backend: :column translates :co...
60f58305ebc01e53ed1785f53aa1e52151e87624
benchmarks/overhead.rb
benchmarks/overhead.rb
Ruby
<|file_sep|>index.php.diff original: <?php updated: <!doctype html> <html> <head> <meta charset="UTF-8"> <title>Sauna</title> <script src="http://code.jquery.com/jquery-1.10.1.js"></script> <script> $(document).ready(function(e) { $.ajax({ url:"Sauna.php", dataType:"html", success: function(html) { ...
<html> <head> <meta charset="UTF-8"> <title>Sauna</title> <script src="http://code.jquery.com/jquery-1.10.1.js"></script> <script> $(document).ready(function(e) { $.ajax({ url:"Sauna.php", dataType:"html", success: function(html) { $('body').html(html); } }); }); </script> </head> <body>...
<|file_sep|>index.php.diff original: <?php updated: <!doctype html> <html> <head> <meta charset="UTF-8"> <title>Sauna</title> <script src="http://code.jquery.com/jquery-1.10.1.js"></script> <script> $(document).ready(function(e) { $.ajax({ url:"Sauna.php", dataType:"html", success: function(html) { ...
8d2f2b496cd0f49e5f6a5edbade9f452d017e967
index.php
index.php
PHP
<|file_sep|>original/matrix-sdk/src/main/AndroidManifest.xml <manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" package="org.matrix.androidsdk"> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> <uses-permission andro...
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" package="org.matrix.androidsdk"> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission...
<|file_sep|>original/matrix-sdk/src/main/AndroidManifest.xml <manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" package="org.matrix.androidsdk"> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> <uses-permission andro...
e09a5a46e03250c525ca0f23002b6b9f4ab97dbe
matrix-sdk/src/main/AndroidManifest.xml
matrix-sdk/src/main/AndroidManifest.xml
XML
<|file_sep|>original/install-bazel.sh <|file_sep|>current/install-bazel.sh <|file_sep|>updated/install-bazel.sh
#!/bin/bash -e RELEASE=0.1.0 wget https://github.com/bazelbuild/bazel/releases/download/${RELEASE}/bazel-${RELEASE}-installer-linux-x86_64.sh wget https://github.com/bazelbuild/bazel/releases/download/${RELEASE}/bazel-${RELEASE}-installer-linux-x86_64.sh.sha256 sha256sum -c bazel-${RELEASE}-installer-linux-x86_64.sh.sh...
<|file_sep|>original/install-bazel.sh <|file_sep|>current/install-bazel.sh <|file_sep|>updated/install-bazel.sh #!/bin/bash -e RELEASE=0.1.0 wget https://github.com/bazelbuild/bazel/releases/download/${RELEASE}/bazel-${RELEASE}-installer-linux-x86_64.sh wget https://github.com/bazelbuild/bazel/releases/download/${REL...
5f837f999f79de54c0c6f1415eddd209619b5b8c
install-bazel.sh
install-bazel.sh
Shell
<|file_sep|>src/lib/models.js.diff original: export function Cell(index, rowIndex, value) { this.index = index; this.rowIndex = rowIndex; this.value = value; updated: export class Cell { constructor(index, rowIndex, value) { this.index = index; this.rowIndex = rowIndex; this.value = value; } id...
} clone() { return new Cell(this.index, this.rowIndex, this.value); } } export function ComputedCell(index, rowIndex, formula) { this.index = index; this.rowIndex = rowIndex; this.value = 0; this.formula = formula; } ComputedCell.prototype.clone = function() { return new ComputedCell(this.index, ...
<|file_sep|>src/lib/models.js.diff original: export function Cell(index, rowIndex, value) { this.index = index; this.rowIndex = rowIndex; this.value = value; updated: export class Cell { constructor(index, rowIndex, value) { this.index = index; this.rowIndex = rowIndex; this.value = value; } id...
4cf1e201acd274a79b78a1b32de6480be7cb4416
src/lib/models.js
src/lib/models.js
JavaScript
<|file_sep|>source/partials/_link-interviewees-footer.erb.diff original: updated: <h4>INTERESTING INTERVIEWS YOU MAY ALSO LIKE</h4> <|file_sep|>original/source/partials/_link-interviewees-footer.erb <% if interviewee %> <h3 id='other-episodes'>Other Episodes</h3> <a class='other-episodes' href="/tags/<%= dasherize...
<h4>INTERESTING INTERVIEWS YOU MAY ALSO LIKE</h4> <% if interviewee %> <h3 id='other-episodes'>Other Episodes</h3> <a class='other-episodes' href="/tags/<%= dasherize(interviewee) %>"><%= interviewee %></a> <% end %> <div class='recent-posts'> <ul> <% blog.articles.shuffle[0...3].each do |article| %> ...
<|file_sep|>source/partials/_link-interviewees-footer.erb.diff original: updated: <h4>INTERESTING INTERVIEWS YOU MAY ALSO LIKE</h4> <|file_sep|>original/source/partials/_link-interviewees-footer.erb <% if interviewee %> <h3 id='other-episodes'>Other Episodes</h3> <a class='other-episodes' href="/tags/<%= dasherize...
9273498e7a2375ef62dd9438c3a05b21a8987383
source/partials/_link-interviewees-footer.erb
source/partials/_link-interviewees-footer.erb
HTML+ERB
<|file_sep|>original/cli.ts return false; } if (args[0] === "-v" || args[0] === "-version") { console.log("Project Eta CLI: v" + (await fs.readJSON(lib.CLI_DIR + "/package.json")).version); return true; } let actionPath: string = undefined; let i: number; for (i = args.le...
return false; } if (args[0] === "-v" || args[0] === "-version") { console.log("Project Eta CLI: v" + (await fs.readJSON(lib.CLI_DIR + "/package.json")).version); return true; } let actionPath: string = undefined; let i: number; for (i = args.length; i > 0; i--) { ...
<|file_sep|>original/cli.ts return false; } if (args[0] === "-v" || args[0] === "-version") { console.log("Project Eta CLI: v" + (await fs.readJSON(lib.CLI_DIR + "/package.json")).version); return true; } let actionPath: string = undefined; let i: number; for (i = args.le...
6220ca8eb640114e225f49638a19a92ef60737e8
cli.ts
cli.ts
TypeScript
<|file_sep|>app/models/searchable.rb.diff original: updated: begin return get_search(query).results rescue self.reindex! Sunspot.commit return get_search(query).results end end def reindex! Child.build_solar_schema Sunspot.remove_all(self) s...
def reindex! Child.build_solar_schema Sunspot.remove_all(self) self.all.each { |record| Sunspot.index!(record) } end def get_search(query) response = Sunspot.search(self) do fulltext(query) without(:duplicate, true) paginate :page => 1, :per_page => 50 ...
<|file_sep|>app/models/searchable.rb.diff original: updated: begin return get_search(query).results rescue self.reindex! Sunspot.commit return get_search(query).results end end def reindex! Child.build_solar_schema Sunspot.remove_all(self) s...
0ba70829d078471240c1926ab439d2ffd2c84509
app/models/searchable.rb
app/models/searchable.rb
Ruby
<|file_sep|>original/.travis.yml language: ruby cache: bundler rvm: - 1.9.3 - 2.0.0 - 2.1 branches: only: - master <|file_sep|>current/.travis.yml language: ruby cache: bundler rvm: - 1.9.3 - 2.0.0 - 2.1 branches: only: - master <|file_sep|>updated/.travis.yml
language: ruby cache: bundler rvm: - 1.9.3 - 2.0.0 - 2.1 - 2.2 branches: only: - master
<|file_sep|>original/.travis.yml language: ruby cache: bundler rvm: - 1.9.3 - 2.0.0 - 2.1 branches: only: - master <|file_sep|>current/.travis.yml language: ruby cache: bundler rvm: - 1.9.3 - 2.0.0 - 2.1 branches: only: - master <|file_sep|>updated/.travis.yml language: ruby cache: bundler rvm: ...
880d457487605cc25b59c0358e91ccea770aaaa0
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/index.js /* eslint-disable no-console */ console.log('hi'); <|file_sep|>current/src/index.js /* eslint-disable no-console */ console.log('hi'); <|file_sep|>updated/src/index.js
/* eslint-disable no-console */ console.log('hi'); // Old ES5 way of creating a Class Component // var HelloWorld = React.createClass({ // render: function() { // return ( // <h1>Hello World!</h1> // ); // }; // });
<|file_sep|>original/src/index.js /* eslint-disable no-console */ console.log('hi'); <|file_sep|>current/src/index.js /* eslint-disable no-console */ console.log('hi'); <|file_sep|>updated/src/index.js /* eslint-disable no-console */ console.log('hi'); // Old ES5 way of creating a Class Component // var HelloWorld = Re...
11aeff75e9fed9265a445df16292973ba233168a
src/index.js
src/index.js
JavaScript
<|file_sep|>original/src/flux/stores/database.coffee onCreateConnection: (data) -> cache.loading = true @trigger() Got "http://localhost:#{process.env.ZENIT_SERVICE}/connect/#{data.host}/#{data.user}/#{data.password}/#{data.database}", (err, body) => cache.loading = false if err or body is '...
onCreateConnection: (data) -> cache.loading = true @trigger() Got "http://localhost:#{process.env.ZENIT_SERVICE}/connect/#{data.host}/#{data.user}/#{data.password}/#{data.database}", (err, body) => cache.loading = false if err or body is 'fail' Common.beep() else cache....
<|file_sep|>original/src/flux/stores/database.coffee onCreateConnection: (data) -> cache.loading = true @trigger() Got "http://localhost:#{process.env.ZENIT_SERVICE}/connect/#{data.host}/#{data.user}/#{data.password}/#{data.database}", (err, body) => cache.loading = false if err or body is '...
3eb6fe9deb9d91df5b696461ddf8fc47d93d6389
src/flux/stores/database.coffee
src/flux/stores/database.coffee
CoffeeScript
<|file_sep|>ChangeLog.d/fix-printf-specifiers.txt.diff original: * Add printf function attributes to mbedtls_debug_print_msg because we were not actually getting any printf format specifier warnings prior to this. Also add extra printf compiler warning flags to builds. updated: * Add printf function att...
Bugfix * Add printf function attributes to mbedtls_debug_print_msg to ensure we get printf format specifier warnings. Changes * Add extra printf compiler warning flags to builds. Requirement changes * The library now uses the %zu format specifier with the printf() family of functions, so requires a t...
<|file_sep|>ChangeLog.d/fix-printf-specifiers.txt.diff original: * Add printf function attributes to mbedtls_debug_print_msg because we were not actually getting any printf format specifier warnings prior to this. Also add extra printf compiler warning flags to builds. updated: * Add printf function att...
9907e2c334d05628e8bef0bc8433f1ec102a79a4
ChangeLog.d/fix-printf-specifiers.txt
ChangeLog.d/fix-printf-specifiers.txt
Text
<|file_sep|>cla_frontend/assets-src/javascripts/app/partials/directives/callbackMatrixSlot.html.diff original: <a href="" tooltip="Some dummy test" ng-mouseover="showTip=true" ng-mouseleave="showTip=false"> updated: <a href="" ng-mouseover="showTip=true" ng-mouseleave="showTip=false"> <|file_sep|>original/cla_frontend/...
<a href="" ng-mouseover="showTip=true" ng-mouseleave="showTip=false"> <span class="Tooltip" ng-show="showTip"> <strong>{{ ::slot.value }} call{{ ::slot.value > 1 ? 's' : '' }}</strong> scheduled between {{ ::slotTimeStart }} and {{ ::slotTimeEnd }} on {{ ::day }} </span> </a>
<|file_sep|>cla_frontend/assets-src/javascripts/app/partials/directives/callbackMatrixSlot.html.diff original: <a href="" tooltip="Some dummy test" ng-mouseover="showTip=true" ng-mouseleave="showTip=false"> updated: <a href="" ng-mouseover="showTip=true" ng-mouseleave="showTip=false"> <|file_sep|>original/cla_frontend/...
9371676748d0d26559a8c8d781a0373606ae8a2c
cla_frontend/assets-src/javascripts/app/partials/directives/callbackMatrixSlot.html
cla_frontend/assets-src/javascripts/app/partials/directives/callbackMatrixSlot.html
HTML
<|file_sep|>original/requirements_dev.txt # required cython==0.29.16 numpy==1.18.2 dask[array]==2.13.0 # optional scipy==1.4.1 matplotlib==3.1.1 seaborn==0.9.0 pandas==0.25.0 scikit-learn==0.21.3 h5py==2.9.0 numexpr==2.6.9 bcolz==1.2.1 zarr==2.3.2 hmmlearn==0.2.2 # install problems on windows, skip for now # https://gi...
# required cython==0.29.16 numpy==1.18.2 dask[array]==2.13.0 # optional scipy==1.4.1 matplotlib==3.2.1 seaborn==0.9.0 pandas==0.25.0 scikit-learn==0.21.3 h5py==2.9.0 numexpr==2.6.9 bcolz==1.2.1 zarr==2.3.2 hmmlearn==0.2.2 # install problems on windows, skip for now # https://github.com/jmschrei/pomegranate/issues/333#i...
<|file_sep|>original/requirements_dev.txt # required cython==0.29.16 numpy==1.18.2 dask[array]==2.13.0 # optional scipy==1.4.1 matplotlib==3.1.1 seaborn==0.9.0 pandas==0.25.0 scikit-learn==0.21.3 h5py==2.9.0 numexpr==2.6.9 bcolz==1.2.1 zarr==2.3.2 hmmlearn==0.2.2 # install problems on windows, skip for now # https://gi...
d2d6afcf34125e08539397694a07aa70610c6cd2
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/.travis.yml - sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu/ quantal main universe" # Boost 1.50 - sudo apt-get update -qq - sudo apt-get install -qq g++-4.7 libboost1.50-all-dev flex bison fglrx=2:8.960-0ubuntu1 opencl-headers libglm-dev lcov libgemplugin-ruby python-yaml - ...
- sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu/ quantal main universe" # Boost 1.50 - sudo apt-get update -qq - sudo apt-get install -qq g++-4.7 libboost1.50-all-dev flex bison fglrx=2:8.960-0ubuntu1 opencl-headers libglm-dev lcov libgemplugin-ruby python-yaml - gem install coveralls-lcov - exp...
<|file_sep|>original/.travis.yml - sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu/ quantal main universe" # Boost 1.50 - sudo apt-get update -qq - sudo apt-get install -qq g++-4.7 libboost1.50-all-dev flex bison fglrx=2:8.960-0ubuntu1 opencl-headers libglm-dev lcov libgemplugin-ruby python-yaml - ...
4b06a16559205f830214644542edc14ee95d7851
.travis.yml
.travis.yml
YAML
<|file_sep|>db/post_migrate/20180212101928_schedule_build_stage_migration.rb.diff original: updated: add_concurrent_index(:ci_builds, :stage_id, where: 'stage_id IS NULL', name: 'tmp_stage_id_partial_null_index') <|file_sep|>original/db/post_migrate/20180212101928_s...
def up disable_statement_timeout add_concurrent_index(:ci_builds, :stage_id, where: 'stage_id IS NULL', name: 'tmp_stage_id_partial_null_index') Build.where('stage_id IS NULL').tap do |relation| queue_background_migration_jobs_by_range_at_intervals(...
<|file_sep|>db/post_migrate/20180212101928_schedule_build_stage_migration.rb.diff original: updated: add_concurrent_index(:ci_builds, :stage_id, where: 'stage_id IS NULL', name: 'tmp_stage_id_partial_null_index') <|file_sep|>original/db/post_migrate/20180212101928_s...
2d027056f9c56ad733bcccf54c3b7cf8c7cb95bf
db/post_migrate/20180212101928_schedule_build_stage_migration.rb
db/post_migrate/20180212101928_schedule_build_stage_migration.rb
Ruby
<|file_sep|>original/test/acceptance/scripts/full-test.sh #! /usr/bin/env bash npm rebuild echo ">> Starting server..." grunt --no-color forever:app:start echo ">> Server started" sleep 5 echo ">> Running acceptance tests..." grunt --no-color mochaTest:acceptance _test_exit_code=$? echo ">> Killing server" grun...
#! /usr/bin/env bash # npm rebuild echo ">> Starting server..." grunt --no-color forever:app:start echo ">> Server started" sleep 5 echo ">> Running acceptance tests..." grunt --no-color mochaTest:acceptance _test_exit_code=$? echo ">> Killing server" grunt --no-color forever:app:stop echo ">> Done"
<|file_sep|>original/test/acceptance/scripts/full-test.sh #! /usr/bin/env bash npm rebuild echo ">> Starting server..." grunt --no-color forever:app:start echo ">> Server started" sleep 5 echo ">> Running acceptance tests..." grunt --no-color mochaTest:acceptance _test_exit_code=$? echo ">> Killing server" grun...
9c0f6c1c4e0efaac54f07bbe3d847faef1350aff
test/acceptance/scripts/full-test.sh
test/acceptance/scripts/full-test.sh
Shell
<|file_sep|>original/.vscode/launch.json "args": ["--runInBand", "--no-cache"], "cwd": "${workspaceRoot}/packages/react-form-with-constraints", "runtimeArgs": [ "--nolazy" // See What does the Node.js `--nolazy` flag mean? http://stackoverflow.com/q/21534565/990356 ], "env": { ...
}, { "name": "Jest react-form-with-constraints-bootstrap4", "type": "node", "request": "launch", "program": "${workspaceRoot}/packages/react-form-with-constraints-bootstrap4/node_modules/.bin/jest", "args": ["--runInBand", "--no-cache"], "cwd": "${workspaceRoot}/packages/reac...
<|file_sep|>original/.vscode/launch.json "args": ["--runInBand", "--no-cache"], "cwd": "${workspaceRoot}/packages/react-form-with-constraints", "runtimeArgs": [ "--nolazy" // See What does the Node.js `--nolazy` flag mean? http://stackoverflow.com/q/21534565/990356 ], "env": { ...
84d2bfcead046f28545cc563f0fc1b8d28ac45c3
.vscode/launch.json
.vscode/launch.json
JSON
<|file_sep|>original/requirements-dev.txt -r requirements.txt pytest==4.0.1 pytest-mock==1.10.0 sphinx==1.8.2 <|file_sep|>current/requirements-dev.txt -r requirements.txt pytest==4.0.1 pytest-mock==1.10.0 sphinx==1.8.2 <|file_sep|>updated/requirements-dev.txt
-r requirements.txt pytest==4.0.2 pytest-mock==1.10.0 sphinx==1.8.2
<|file_sep|>original/requirements-dev.txt -r requirements.txt pytest==4.0.1 pytest-mock==1.10.0 sphinx==1.8.2 <|file_sep|>current/requirements-dev.txt -r requirements.txt pytest==4.0.1 pytest-mock==1.10.0 sphinx==1.8.2 <|file_sep|>updated/requirements-dev.txt -r requirements.txt pytest==4.0.2 pytest-mock==1.10.0 sphinx...
44bbdaa2e2dbafd6316a654e1328d9b81f9f7ec3
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>app/controllers/spree/admin/payments_controller_decorator.rb.diff original: response = @payment.payment_method.refund(@payment, params[:refund_amount]) if response.success? updated: begin @payment.refund!(params[:refund_amount].to_f) <|file_sep|>original/app/controllers/spree/admin...
Spree::Admin::PaymentsController.class_eval do def paypal_refund if request.get? if @payment.source.state == 'refunded' flash[:error] = Spree.t(:already_refunded, :scope => 'paypal') redirect_to admin_order_payment_path(@order, @payment) end elsif request.post? begin ...
<|file_sep|>app/controllers/spree/admin/payments_controller_decorator.rb.diff original: response = @payment.payment_method.refund(@payment, params[:refund_amount]) if response.success? updated: begin @payment.refund!(params[:refund_amount].to_f) <|file_sep|>original/app/controllers/spree/admin...
e9005e6b1433116f922c09f849a69c49d48408bc
app/controllers/spree/admin/payments_controller_decorator.rb
app/controllers/spree/admin/payments_controller_decorator.rb
Ruby
<|file_sep|>templates/meteor/package.mustache.js.diff original: name: '{{#meteorUser}}{{.}}:{{/meteorUser}}{{destPkgPrefix}}{{pkg.name}}', updated: name: '{{#meteorUser}}{{.}}:{{/meteorUser}}{{destPkgPrefix}}{{pkg.name}}', <|file_sep|>original/templates/meteor/package.mustache.js Package.describe({ name: '{{#meteor...
Package.describe({ name: '{{#meteorUser}}{{.}}:{{/meteorUser}}{{destPkgPrefix}}{{pkg.name}}', summary: 'Bootstrap: {{pkg.name}}', version: '{{bootstrap.version}}' }); Package.onUse(function (api) { api.versionsFrom('1.1.0.2'); api.use(['jquery', 'less'], 'client'); {{#pkg.deps}} api.use('{{#meteorUser}}{...
<|file_sep|>templates/meteor/package.mustache.js.diff original: name: '{{#meteorUser}}{{.}}:{{/meteorUser}}{{destPkgPrefix}}{{pkg.name}}', updated: name: '{{#meteorUser}}{{.}}:{{/meteorUser}}{{destPkgPrefix}}{{pkg.name}}', <|file_sep|>original/templates/meteor/package.mustache.js Package.describe({ name: '{{#meteor...
09f58f1962f2f9afa68e148bacd81e39af973e59
templates/meteor/package.mustache.js
templates/meteor/package.mustache.js
JavaScript
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.4.0 bundler_args: --without production cache: bundler before_script: - bundle exec rake db:create - bundle exec rake db:migrate script: - bundle exec rspec - bundle exec rubocop - bundle exec slim-lint app/views <|file_sep|>current/.travis.yml lan...
language: ruby rvm: - 2.4.0 bundler_args: --without production cache: bundler before_script: - cp config/database.yml.sample config/database.yml - bundle exec rake db:create - bundle exec rake db:migrate script: - bundle exec rspec - bundle exec rubocop - bundle exec slim-lint app/views
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.4.0 bundler_args: --without production cache: bundler before_script: - bundle exec rake db:create - bundle exec rake db:migrate script: - bundle exec rspec - bundle exec rubocop - bundle exec slim-lint app/views <|file_sep|>current/.travis.yml lan...
7ca6b2c43f5ed8fa57ce324467f1bc1765354b95
.travis.yml
.travis.yml
YAML
<|file_sep|>original/config/initializers/clearance.rb Clearance.configure do |config| config.allow_sign_up = (ENV['DISABLE_SIGNUP'].to_s == 'true') ? false : true config.mailer_sender = "RubyGems.org <no-reply@mailer.rubygems.org>" config.secure_cookie = true unless Rails.env.test? || Rails.env.development? con...
Clearance.configure do |config| config.allow_sign_up = (ENV['DISABLE_SIGNUP'].to_s == 'true') ? false : true config.mailer_sender = "RubyGems.org <no-reply@mailer.rubygems.org>" config.secure_cookie = true unless Rails.env.test? || Rails.env.development? config.password_strategy = Clearance::PasswordStrategies:...
<|file_sep|>original/config/initializers/clearance.rb Clearance.configure do |config| config.allow_sign_up = (ENV['DISABLE_SIGNUP'].to_s == 'true') ? false : true config.mailer_sender = "RubyGems.org <no-reply@mailer.rubygems.org>" config.secure_cookie = true unless Rails.env.test? || Rails.env.development? con...
618b74b5a505405e4ff286e719817b9ddb88beac
config/initializers/clearance.rb
config/initializers/clearance.rb
Ruby
<|file_sep|>original/packages/source-fetcher/package.json "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "directories": { "lib": "lib" }, "scripts": { "prepare": "yarn build", "build": "tsc", "test": "echo \"Error: no test specified\" && exit 1" }, "keywo...
"main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "directories": { "lib": "lib" }, "scripts": { "prepare": "yarn build", "build": "tsc" }, "keywords": [ "ethereum", "solidity", "etherscan", "verify-source", "ipfs" ], "author": "Harry Altm...
<|file_sep|>original/packages/source-fetcher/package.json "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "directories": { "lib": "lib" }, "scripts": { "prepare": "yarn build", "build": "tsc", "test": "echo \"Error: no test specified\" && exit 1" }, "keywo...
e4f5eadc1a9623b9c8c975162772f74a4c64395a
packages/source-fetcher/package.json
packages/source-fetcher/package.json
JSON
<|file_sep|>original/src/modules/query/Is.js _isCache = _cache(), Selector = require('./Selector'), _isMatch = require('./match'), _normalizeSelector = require('./normalizeSelector'); var Is = function(str) { str = _normalizeSelector(str); this._selectors = _.fastmap(_regex.selector.commandS...
_isCache = _cache(), Selector = require('./Selector'), _isMatch = require('./match'), _normalizeSelector = require('./normalizeSelector'); var Is = function(str) { str = _normalizeSelector(str); this._selectors = _.map(_regex.selector.commandSplit(str), function(selector) { return ne...
<|file_sep|>original/src/modules/query/Is.js _isCache = _cache(), Selector = require('./Selector'), _isMatch = require('./match'), _normalizeSelector = require('./normalizeSelector'); var Is = function(str) { str = _normalizeSelector(str); this._selectors = _.fastmap(_regex.selector.commandS...
21aaf2194361829e49047c0c49b2ac7c8819e39d
src/modules/query/Is.js
src/modules/query/Is.js
JavaScript
<|file_sep|>original/dev-requirements.txt autoflake==1.1 check-manifest==0.36 codecov==2.0.15 # Upload coverage data dodgy==0.1.9 # Look for uploaded secrets flake8==3.5.0 # Lint flake8-quotes==0.13.0 # Require single quotes freezegun==0.3.9 # Freeze time in tests hypothesis==3.44.26 # Generate test cases isort==4...
autoflake==1.1 check-manifest==0.36 codecov==2.0.15 # Upload coverage data dodgy==0.1.9 # Look for uploaded secrets flake8==3.5.0 # Lint flake8-quotes==0.13.0 # Require single quotes freezegun==0.3.9 # Freeze time in tests hypothesis==3.45.0 # Generate test cases isort==4.3.3 # Lint imports mypy==0.560 # Type ch...
<|file_sep|>original/dev-requirements.txt autoflake==1.1 check-manifest==0.36 codecov==2.0.15 # Upload coverage data dodgy==0.1.9 # Look for uploaded secrets flake8==3.5.0 # Lint flake8-quotes==0.13.0 # Require single quotes freezegun==0.3.9 # Freeze time in tests hypothesis==3.44.26 # Generate test cases isort==4...
b537f12b3f25875f1d1ab160484c165b1f1fe74e
dev-requirements.txt
dev-requirements.txt
Text
<|file_sep|>original/.travis.yml python: - "3.5" #virtualenv: # system_site_packages: true before_install: - sudo apt-add-repository ppa:beineri/opt-qt551 -y - sudo apt-get update - sudo apt-get install qt-latest - source /opt/qt55/bin/qt55-env.sh install: - "pip install markdown whoosh" before_sc...
python: - "3.5" #virtualenv: # system_site_packages: true before_install: - sudo apt-add-repository ppa:beineri/opt-qt551 -y - sudo apt-get update - sudo apt-get install qt-latest - source /opt/qt55/bin/qt55-env.sh - ./ci/before_install.sh install: - "pip install markdown whoosh" before_script: ...
<|file_sep|>original/.travis.yml python: - "3.5" #virtualenv: # system_site_packages: true before_install: - sudo apt-add-repository ppa:beineri/opt-qt551 -y - sudo apt-get update - sudo apt-get install qt-latest - source /opt/qt55/bin/qt55-env.sh install: - "pip install markdown whoosh" before_sc...
cdf9e7785e641b7b82c16f52abddec69653f17d8
.travis.yml
.travis.yml
YAML
<|file_sep|>lib/src/common/authorizations_service.dart.diff original: /// The [UsersService] handles communication with authorizations related methods updated: /// The [AuthorizationsService] handles communication with authorizations related methods <|file_sep|>original/lib/src/common/authorizations_service.dart part...
part of github.common; /// The [AuthorizationsService] handles communication with authorizations related methods /// of the GitHub API. /// /// Note: You can only access this API via Basic Authentication using your /// username and password, not tokens. /// /// API docs: https://developer.github.com/v3/oauth_author...
<|file_sep|>lib/src/common/authorizations_service.dart.diff original: /// The [UsersService] handles communication with authorizations related methods updated: /// The [AuthorizationsService] handles communication with authorizations related methods <|file_sep|>original/lib/src/common/authorizations_service.dart part...
06a8d0314d768d3d97a9e18effa5c7b205ec7361
lib/src/common/authorizations_service.dart
lib/src/common/authorizations_service.dart
Dart
<|file_sep|>original/templates/basic/source/Main.hx.tpl if (hasEventListener(Event.ADDED_TO_STAGE)) { removeEventListener(Event.ADDED_TO_STAGE, init); } initialize(); var game:FlxGame = new GameClass(); addChild(game); #if (cpp || neko) Lib.current.stage.addEventListener(KeyboardEvent.KEY_UP...
} private function init(?E:Event):Void { if (hasEventListener(Event.ADDED_TO_STAGE)) { removeEventListener(Event.ADDED_TO_STAGE, init); } initialize(); var game:FlxGame = new GameClass(); addChild(game); } private function initialize():Void { Lib.current.stage.align = StageAlign.TOP_L...
<|file_sep|>original/templates/basic/source/Main.hx.tpl if (hasEventListener(Event.ADDED_TO_STAGE)) { removeEventListener(Event.ADDED_TO_STAGE, init); } initialize(); var game:FlxGame = new GameClass(); addChild(game); #if (cpp || neko) Lib.current.stage.addEventListener(KeyboardEvent.KEY_UP...
fec9b1246cda5a87661c1e90c8cc16e33c516193
templates/basic/source/Main.hx.tpl
templates/basic/source/Main.hx.tpl
Smarty
<|file_sep|>languages/clojure/lein/profiles.clj.diff original: updated: [lein-exec "0.3.4"] <|file_sep|>original/languages/clojure/lein/profiles.clj {:user {:plugins [[lein-marginalia "0.7.1"] [cider/cider-nrepl "0.7.0-SNAPSHOT"] [lein-try "0.4.1"] ...
{:user {:plugins [[lein-marginalia "0.7.1"] [cider/cider-nrepl "0.7.0-SNAPSHOT"] [lein-try "0.4.1"] [lein-clojars "0.9.1"] [lein-ancient "0.5.5"] [lein-exec "0.3.4"] [lein-pprint "1.1.1"]] :dependencies ...
<|file_sep|>languages/clojure/lein/profiles.clj.diff original: updated: [lein-exec "0.3.4"] <|file_sep|>original/languages/clojure/lein/profiles.clj {:user {:plugins [[lein-marginalia "0.7.1"] [cider/cider-nrepl "0.7.0-SNAPSHOT"] [lein-try "0.4.1"] ...
60fabcb7b24e9b63dc86132836981d4dc50a4e34
languages/clojure/lein/profiles.clj
languages/clojure/lein/profiles.clj
Clojure
<|file_sep|>original/tox.ini [testenv] usedevelop = True install_command = pip install -U {opts} {packages} setenv = VIRTUAL_ENV={envdir} DISCOVER_DIRECTORY=tests deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt whitelist_externals = bash [testenv:pep8] commands = flake8 [tes...
[testenv] usedevelop = True install_command = pip install -U {opts} {packages} setenv = VIRTUAL_ENV={envdir} DISCOVER_DIRECTORY=tests deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt whitelist_externals = bash find commands = find . -type f -name "*.pyc" -...
<|file_sep|>original/tox.ini [testenv] usedevelop = True install_command = pip install -U {opts} {packages} setenv = VIRTUAL_ENV={envdir} DISCOVER_DIRECTORY=tests deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt whitelist_externals = bash [testenv:pep8] commands = flake8 [tes...
44eb02d77cc204d5e3ec5a9a85b852eb8f4f0394
tox.ini
tox.ini
INI
<|file_sep|>original/.travis.yml language: python python: - "2.6" - "2.7" - "3.2" - "3.3" - "3.4" - "3.5" # command to install dependencies install: - "pip install ." # command to run tests script: nosetests <|file_sep|>current/.travis.yml language: python python: - "2.6" - "2.7" - "3.2" - "3.3"...
language: python python: - "2.6" - "2.7" - "3.3" - "3.4" - "3.5" # command to install dependencies install: - "pip install ." # command to run tests script: nosetests
<|file_sep|>original/.travis.yml language: python python: - "2.6" - "2.7" - "3.2" - "3.3" - "3.4" - "3.5" # command to install dependencies install: - "pip install ." # command to run tests script: nosetests <|file_sep|>current/.travis.yml language: python python: - "2.6" - "2.7" - "3.2" - "3.3"...
3eed195ef38cc3813c1a93f254824619561e84c9
.travis.yml
.travis.yml
YAML
<|file_sep|>src/js/bpm-counter.js.diff original: this.lastTappedTime = new Date(); updated: this.startTapTime = new Date(); <|file_sep|>src/js/bpm-counter.js.diff original: this.lastTappedTime = new Date(); updated: <|file_sep|>src/js/bpm-counter.js.diff original: updated: if (this.numTaps === 0) { ...
} restart() { this.numTaps = 0; this.bpm = 0; } tick() { if (this.numTaps === 0) { this.startTapTime = new Date(); } this.numTaps++; let currentTime = new Date(); let timeDifferenceInMS = currentTime - this.startTapTime; this.bpm = this.numTaps / (timeDifferenceInMS /...
<|file_sep|>src/js/bpm-counter.js.diff original: this.lastTappedTime = new Date(); updated: this.startTapTime = new Date(); <|file_sep|>src/js/bpm-counter.js.diff original: this.lastTappedTime = new Date(); updated: <|file_sep|>src/js/bpm-counter.js.diff original: updated: if (this.numTaps === 0) { ...
5a6bf4ef77a0005fb2ea05f7616d5d99ab9df10f
src/js/bpm-counter.js
src/js/bpm-counter.js
JavaScript
<|file_sep|>original/circle.yml machine: environment: IMPORT_PATH: "github.com/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME" GO15VENDOREXPERIMENT: 1 GOPATH: /home/ubuntu/.go_workspace dependencies: override: - sudo rm -rf /usr/local/go - curl https://storage.googleapis.com/golang/go1.5.2.linux-...
machine: environment: IMPORT_PATH: "github.com/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME" GO15VENDOREXPERIMENT: 1 GOPATH: /home/ubuntu/.go_workspace dependencies: override: - sudo rm -rf /usr/local/go - curl https://storage.googleapis.com/golang/go1.7.1.linux-amd64.tar.gz | sudo tar -C /usr/...
<|file_sep|>original/circle.yml machine: environment: IMPORT_PATH: "github.com/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME" GO15VENDOREXPERIMENT: 1 GOPATH: /home/ubuntu/.go_workspace dependencies: override: - sudo rm -rf /usr/local/go - curl https://storage.googleapis.com/golang/go1.5.2.linux-...
03fbae75fa67c293173d533f2cfbd5bf5245a02e
circle.yml
circle.yml
YAML
<|file_sep|>original/src/Control/Lens/Unsafe.hs -- ---------------------------------------------------------------------------- module Control.Lens.Unsafe ( Trustworthy ) where import Control.Applicative import Control.Applicative.Backwards import Data.Functor.Identity import Data.Functor.Compose -- | This class ...
-- ---------------------------------------------------------------------------- module Control.Lens.Unsafe ( Trustworthy ) where import Control.Applicative import Control.Applicative.Backwards import Data.Functor.Identity import Data.Functor.Compose -- | This class is only exported by this untrustworthy module, b...
<|file_sep|>original/src/Control/Lens/Unsafe.hs -- ---------------------------------------------------------------------------- module Control.Lens.Unsafe ( Trustworthy ) where import Control.Applicative import Control.Applicative.Backwards import Data.Functor.Identity import Data.Functor.Compose -- | This class ...
2ba6cc3fb5eb94e0e02c5815d6abeb7531513d5d
src/Control/Lens/Unsafe.hs
src/Control/Lens/Unsafe.hs
Haskell
<|file_sep|>app/Http/Controllers/RuleController.php.diff original: updated: /** * RuleController constructor. */ <|file_sep|>original/app/Http/Controllers/RuleController.php /** * Class RuleController * * @package FireflyIII\Http\Controllers */ class RuleController extends Controller { public fu...
class RuleController extends Controller { /** * RuleController constructor. */ public function __construct() { parent::__construct(); View::share('title', trans('firefly.rules')); View::share('mainTitleIcon', 'fa-random'); } /** * @return View */ pub...
<|file_sep|>app/Http/Controllers/RuleController.php.diff original: updated: /** * RuleController constructor. */ <|file_sep|>original/app/Http/Controllers/RuleController.php /** * Class RuleController * * @package FireflyIII\Http\Controllers */ class RuleController extends Controller { public fu...
d644403d8a90ee50a992db70b284fb745bfd203c
app/Http/Controllers/RuleController.php
app/Http/Controllers/RuleController.php
PHP
<|file_sep|>original/requirements.txt FontTools==3.31.0 ufoLib==2.3.2 fontMath==0.4.7 defcon[pens]==0.5.3 <|file_sep|>current/requirements.txt FontTools==3.31.0 ufoLib==2.3.2 fontMath==0.4.7 defcon[pens]==0.5.3 <|file_sep|>updated/requirements.txt
FontTools==3.31.0 ufoLib==2.3.2 fontMath==0.4.7 defcon[pens]==0.6.0
<|file_sep|>original/requirements.txt FontTools==3.31.0 ufoLib==2.3.2 fontMath==0.4.7 defcon[pens]==0.5.3 <|file_sep|>current/requirements.txt FontTools==3.31.0 ufoLib==2.3.2 fontMath==0.4.7 defcon[pens]==0.5.3 <|file_sep|>updated/requirements.txt FontTools==3.31.0 ufoLib==2.3.2 fontMath==0.4.7 defcon[pens]==0.6.0
8fc81a81e59fd6741003145558ed88a53ae7a882
requirements.txt
requirements.txt
Text
<|file_sep|>original/spec/spec_helper.rb c.before :each do # Ensure that we don't accidentally cache facts and environment # between test cases. Facter::Util::Loader.any_instance.stubs(:load_all) Facter.clear Facter.clear_messages # Store any environment variables away to be restored later ...
if Gem::Version.new(`puppet --version`) >= Gem::Version.new('3.5') Puppet.settings[:strict_variables]=true end end c.after :each do PuppetlabsSpec::Files.cleanup end end require 'pathname' dir = Pathname.new(__FILE__).parent Puppet[:modulepath] = File.join(dir, 'fixtures', 'modules') # There...
<|file_sep|>original/spec/spec_helper.rb c.before :each do # Ensure that we don't accidentally cache facts and environment # between test cases. Facter::Util::Loader.any_instance.stubs(:load_all) Facter.clear Facter.clear_messages # Store any environment variables away to be restored later ...
07d8c955ab8e59e2b9cd0636c288d74d84ff58e6
spec/spec_helper.rb
spec/spec_helper.rb
Ruby
<|file_sep|>original/OpERP/src/main/java/devopsdistilled/operp/client/abstracts/Model.java package devopsdistilled.operp.client.abstracts; public interface Model<O extends Observer> { public void registerObserver(O observer); public void removeObserver(O observer); public void notifyObservers(); } <|file_sep|>cur...
package devopsdistilled.operp.client.abstracts; public interface Model<O extends Observer> { public void registerObserver(O observer); public void removeObserver(O observer); public void notifyObservers(); public void update(); }
<|file_sep|>original/OpERP/src/main/java/devopsdistilled/operp/client/abstracts/Model.java package devopsdistilled.operp.client.abstracts; public interface Model<O extends Observer> { public void registerObserver(O observer); public void removeObserver(O observer); public void notifyObservers(); } <|file_sep|>cur...
40701da88e7d7a4d6d6b8eaf69c58a6caad87369
OpERP/src/main/java/devopsdistilled/operp/client/abstracts/Model.java
OpERP/src/main/java/devopsdistilled/operp/client/abstracts/Model.java
Java
<|file_sep|>.travis.yml.diff original: # Perform steps after compilation/test success after_success: # Run deployment script - "./deploy.sh" updated: <|file_sep|>original/.travis.yml # Install dependencies needed to compile .NET and C# install: sudo apt-get install mono-devel mono-gmcs # Run the XBuild project ...
language: c # Install dependencies needed to compile .NET and C# install: sudo apt-get install mono-devel mono-gmcs # Run the XBuild project file script: xbuild Oxide.csproj /p:Configuration=Release # Notification services notifications: # Disable build status email notifications, until the issue with forks is fix...
<|file_sep|>.travis.yml.diff original: # Perform steps after compilation/test success after_success: # Run deployment script - "./deploy.sh" updated: <|file_sep|>original/.travis.yml # Install dependencies needed to compile .NET and C# install: sudo apt-get install mono-devel mono-gmcs # Run the XBuild project ...
194cf3536542e43ad633a545256d1b7a267ebe96
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/main/java/leetcode/Problem145.java <|file_sep|>current/src/main/java/leetcode/Problem145.java <|file_sep|>updated/src/main/java/leetcode/Problem145.java
package leetcode; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.Stack; /** * https://leetcode.com/problems/binary-tree-postorder-traversal/ */ public class Problem145 { public static class TreeNode { int val; TreeNode left; ...
<|file_sep|>original/src/main/java/leetcode/Problem145.java <|file_sep|>current/src/main/java/leetcode/Problem145.java <|file_sep|>updated/src/main/java/leetcode/Problem145.java package leetcode; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.Stack...
2b6b9f2cd69e66b4925ed49cb51beab7bb8e7cae
src/main/java/leetcode/Problem145.java
src/main/java/leetcode/Problem145.java
Java
<|file_sep|>original/examples/atm.rs <|file_sep|>current/examples/atm.rs <|file_sep|>updated/examples/atm.rs
#[macro_use] extern crate session_types; use session_types::*; use std::thread::spawn; type Id = String; type Atm = Recv<Id, Choose<Rec<AtmInner>, Eps>>; type AtmInner = Offer<AtmDeposit, Offer<AtmWithdraw, Offer<AtmBalance, Eps>>>; type AtmDeposit = Recv<u64, Se...
<|file_sep|>original/examples/atm.rs <|file_sep|>current/examples/atm.rs <|file_sep|>updated/examples/atm.rs #[macro_use] extern crate session_types; use session_types::*; use std::thread::spawn; type Id = String; type Atm = Recv<Id, Choose<Rec<AtmInner>, Eps>>; type AtmInner = Offer<AtmDeposit, Off...
2088cf3de6debf6324da5fbe2f772a5643547e97
examples/atm.rs
examples/atm.rs
Rust
<|file_sep|>bower.json.diff original: "underscore": "~1.5.2", updated: "underscore": "~1.6.0", <|file_sep|>original/bower.json "homepage": "https://github.com/praekelt/diamondash", "authors": [ "Praekelt Foundation" ], "license": "BSD", "private": false, "dependencies": { "backbone": "~1.1.2...
], "license": "BSD", "private": false, "dependencies": { "backbone": "~1.1.2", "underscore": "~1.6.0", "d3": "~3.3.3", "bootstrap": "~3.0.0", "jquery": "~2.0.3", "backbone-relational": "~0.8.6", "backbone.babysitter": "~0.0.6", "js-base64": "~2.1.2" }, "devDependencies": { ...
<|file_sep|>bower.json.diff original: "underscore": "~1.5.2", updated: "underscore": "~1.6.0", <|file_sep|>original/bower.json "homepage": "https://github.com/praekelt/diamondash", "authors": [ "Praekelt Foundation" ], "license": "BSD", "private": false, "dependencies": { "backbone": "~1.1.2...
8833c6d4514c720ae8a237423940b502584a862e
bower.json
bower.json
JSON
<|file_sep|>original/vagrant/base/bootstrap.sh yum localinstall -y http://archive.zfsonlinux.org/fedora/zfs-release$(rpm -E %dist).noarch.rpm curl https://copr.fedoraproject.org/coprs/tomprince/hybridlogic/repo/fedora-20-x86_64/tomprince-hybridlogic-fedora-20-x86_64.repo >/etc/yum.repos.d/hybridlogic.repo # Install pa...
curl https://copr.fedoraproject.org/coprs/tomprince/hybridlogic/repo/fedora-20-x86_64/tomprince-hybridlogic-fedora-20-x86_64.repo >/etc/yum.repos.d/hybridlogic.repo # Install packages # Note zfs isn't installed due to license incompatibility yum install -y @buildsys-build git yum install -y kernel-headers kernel-devel...
<|file_sep|>original/vagrant/base/bootstrap.sh yum localinstall -y http://archive.zfsonlinux.org/fedora/zfs-release$(rpm -E %dist).noarch.rpm curl https://copr.fedoraproject.org/coprs/tomprince/hybridlogic/repo/fedora-20-x86_64/tomprince-hybridlogic-fedora-20-x86_64.repo >/etc/yum.repos.d/hybridlogic.repo # Install pa...
df0d4a26cf4b29573b3e085125700efc951e0dd0
vagrant/base/bootstrap.sh
vagrant/base/bootstrap.sh
Shell
<|file_sep|>original/README.rst **Triton** is a dynamic binary analysis framework based on Pin. It provides components like a taint engine, a dynamic symbolic execution engine, a snapshot engine, translation of x64 instruction to SMT2-LIB language and a Z3 interface to solve constraints. Based on these components, ...
**Triton** is a dynamic binary analysis framework based on Pin. It provides components like a taint engine, a dynamic symbolic execution engine, a snapshot engine, translation of x64 instruction into SMT2-LIB representation and a Z3 interface to solve constraints. Based on these components, Triton provides runtime ...
<|file_sep|>original/README.rst **Triton** is a dynamic binary analysis framework based on Pin. It provides components like a taint engine, a dynamic symbolic execution engine, a snapshot engine, translation of x64 instruction to SMT2-LIB language and a Z3 interface to solve constraints. Based on these components, ...
5337600369e4f6c4e0b85684d5addf4a38ad5b57
README.rst
README.rst
reStructuredText
<|file_sep|>original/README.md ## Getting Started Make sure you are using a virtual environment of some sort (e.g. `virtualenv` or `pyenv`) and the following packages are installed : * libxslt1-dev * python2.7-dev (depending on your version) * zlib1g-dev * libjpeg-dev For exemple on linux distributions, use: ``` ap...
## Getting Started Make sure you are using a virtual environment of some sort (e.g. `virtualenv` or `pyenv`) and the following packages are installed : * libxslt1-dev * python2.7-dev (depending on your version) * zlib1g-dev * libjpeg-dev * libcurl4-gnutls-dev * libgnutls28-dev For exemple on linux distributions, us...
<|file_sep|>original/README.md ## Getting Started Make sure you are using a virtual environment of some sort (e.g. `virtualenv` or `pyenv`) and the following packages are installed : * libxslt1-dev * python2.7-dev (depending on your version) * zlib1g-dev * libjpeg-dev For exemple on linux distributions, use: ``` ap...
f83101039093b2f7b02ae50539125632bccb2493
README.md
README.md
Markdown
<|file_sep|>subprojects/configuration-cache/src/main/kotlin/org/gradle/configurationcache/ConfigurationCacheBuildScopeListenerManagerAction.kt.diff original: updated: import org.gradle.configurationcache.initialization.ConfigurationCacheStartParameter <|file_sep|>subprojects/configuration-cache/src/main/kotlin/org/gra...
internal class ConfigurationCacheBuildScopeListenerManagerAction( private val scopeRegistryListener: ConfigurationCacheClassLoaderScopeRegistryListener, private val problemsListener: ConfigurationCacheProblemsListener, private val startParameter: ConfigurationCacheStartParameter ) : BuildSco...
<|file_sep|>subprojects/configuration-cache/src/main/kotlin/org/gradle/configurationcache/ConfigurationCacheBuildScopeListenerManagerAction.kt.diff original: updated: import org.gradle.configurationcache.initialization.ConfigurationCacheStartParameter <|file_sep|>subprojects/configuration-cache/src/main/kotlin/org/gra...
27302f489c43ad3c6008ef100e1681625a652aa2
subprojects/configuration-cache/src/main/kotlin/org/gradle/configurationcache/ConfigurationCacheBuildScopeListenerManagerAction.kt
subprojects/configuration-cache/src/main/kotlin/org/gradle/configurationcache/ConfigurationCacheBuildScopeListenerManagerAction.kt
Kotlin
<|file_sep|>original/test/ugrid-env.sh export UGRID_HOST=localhost export UGRID_WORKER_PER_HOST=${UGRID_WORKER_PER_HOST:-4} export HDFS_HOST=localhost export HDFS_USER=cedric export HDFS_DATA_DIR=/tmp/hadoop-cedric/dfs/data/current export HADOOP_PREFIX=/home/cedric/work/dist/hadoop-1.2.1 <|file_sep|>current/test/ugrid-...
export UGRID_HOST=localhost export UGRID_WORKER_PER_HOST=${UGRID_WORKER_PER_HOST:-1} export HDFS_HOST=localhost export HDFS_USER=cedric export HDFS_DATA_DIR=/tmp/hadoop-cedric/dfs/data/current export HADOOP_PREFIX=/home/cedric/work/dist/hadoop-1.2.1
<|file_sep|>original/test/ugrid-env.sh export UGRID_HOST=localhost export UGRID_WORKER_PER_HOST=${UGRID_WORKER_PER_HOST:-4} export HDFS_HOST=localhost export HDFS_USER=cedric export HDFS_DATA_DIR=/tmp/hadoop-cedric/dfs/data/current export HADOOP_PREFIX=/home/cedric/work/dist/hadoop-1.2.1 <|file_sep|>current/test/ugrid-...
21fec9894b29290c54abfa461a20b88116e9f640
test/ugrid-env.sh
test/ugrid-env.sh
Shell
<|file_sep|>original/Resources/skeleton/crud/views/show.html.twig.twig {{ "{% extends '" ~ bundle ~ ":" ~ entity ~ ":common.html.twig' %}" }} {% endblock extends %} {{ "\{% set title = '" ~ entity ~ "'|trans %\}" }} {% block body %} {{ "{% block body %}" }} {%- for field, metadata in fields %} <div c...
{{ "{% extends '" ~ bundle ~ ":" ~ entity ~ ":common.html.twig' %}" }} {% endblock extends %} {{ "\{% set title = '" ~ entity ~ "'|trans %\}" }} {% block body %} {{ "{% block body %}" }} {%- for field, metadata in fields %} <div class="crud-field"> <div class="crud-field-label">{{ '\{\{\trans...
<|file_sep|>original/Resources/skeleton/crud/views/show.html.twig.twig {{ "{% extends '" ~ bundle ~ ":" ~ entity ~ ":common.html.twig' %}" }} {% endblock extends %} {{ "\{% set title = '" ~ entity ~ "'|trans %\}" }} {% block body %} {{ "{% block body %}" }} {%- for field, metadata in fields %} <div c...
7783b88c8a17310a0d4735573cc7f4d873996a3f
Resources/skeleton/crud/views/show.html.twig.twig
Resources/skeleton/crud/views/show.html.twig.twig
Twig
<|file_sep|>original/foliant/gdrive.py import os.path import webbrowser import pydrive.auth, pydrive.drive def upload(document): """Upload .docx file to Google Drive and return a web view link to it.""" auth = pydrive.auth.GoogleAuth() auth.LocalWebserverAuth() gdrive = pydrive.drive.GoogleDrive(auth...
import os.path import webbrowser import pydrive.auth, pydrive.drive def upload(document): """Upload .docx file to Google Drive and return a web view link to it.""" auth = pydrive.auth.GoogleAuth() auth.CommandLineAuth() gdrive = pydrive.drive.GoogleDrive(auth) gdoc = gdrive.CreateFile({ ...
<|file_sep|>original/foliant/gdrive.py import os.path import webbrowser import pydrive.auth, pydrive.drive def upload(document): """Upload .docx file to Google Drive and return a web view link to it.""" auth = pydrive.auth.GoogleAuth() auth.LocalWebserverAuth() gdrive = pydrive.drive.GoogleDrive(auth...
44d437e7c7daf3255c3ab9b0dbaa9bdd700008a4
foliant/gdrive.py
foliant/gdrive.py
Python
<|file_sep|>original/package.json }, "homepage": "https://github.com/admdh/postcss-increase-text-sizes", "dependencies": { "object-assign": "^4.1.0", "parse-css-font": "^2.0.2", "postcss": "^5.0.21", "units-css": "^0.4.0" }, "devDependencies": { "ava": "^0.15.0", "eslint": "^2.10.0", ...
}, "homepage": "https://github.com/admdh/postcss-increase-text-sizes", "dependencies": { "object-assign": "^4.1.0", "parse-css-font": "^2.0.2", "postcss": "^5.0.21", "units-css": "^0.4.0" }, "devDependencies": { "ava": "^0.15.0", "eslint": "^3.0.0", "eslint-config-postcss": "^2.0.2...
<|file_sep|>original/package.json }, "homepage": "https://github.com/admdh/postcss-increase-text-sizes", "dependencies": { "object-assign": "^4.1.0", "parse-css-font": "^2.0.2", "postcss": "^5.0.21", "units-css": "^0.4.0" }, "devDependencies": { "ava": "^0.15.0", "eslint": "^2.10.0", ...
357b8b8b0a27f3859cba755d02a100f324a98d60
package.json
package.json
JSON
<|file_sep|>original/requirements.txt molecule==2.11.0 pytest==3.4.2 python-vagrant==0.5.15 testinfra==1.11.1 tox==2.9.1 <|file_sep|>current/requirements.txt molecule==2.11.0 pytest==3.4.2 python-vagrant==0.5.15 testinfra==1.11.1 tox==2.9.1 <|file_sep|>updated/requirements.txt
molecule==2.11.0 pytest==3.4.2 python-vagrant==0.5.15 testinfra==1.11.1 tox==3.0.0
<|file_sep|>original/requirements.txt molecule==2.11.0 pytest==3.4.2 python-vagrant==0.5.15 testinfra==1.11.1 tox==2.9.1 <|file_sep|>current/requirements.txt molecule==2.11.0 pytest==3.4.2 python-vagrant==0.5.15 testinfra==1.11.1 tox==2.9.1 <|file_sep|>updated/requirements.txt molecule==2.11.0 pytest==3.4.2 python-vagr...
7c4c85bf90330a3003bd919209bb86269e134ecc
requirements.txt
requirements.txt
Text
<|file_sep|>original/inst/kernelspec/kernel.json {"argv": ["R", "--quiet", "-e","IRkernel::main()","--args","{connection_file}"], "display_name":"R", "language":"R" } <|file_sep|>current/inst/kernelspec/kernel.json {"argv": ["R", "--quiet", "-e","IRkernel::main()","--args","{connection_file}"], "display_name":"R", ...
{"argv": ["R", "--slave", "-e", "IRkernel::main()", "--args", "{connection_file}"], "display_name":"R", "language":"R" }
<|file_sep|>original/inst/kernelspec/kernel.json {"argv": ["R", "--quiet", "-e","IRkernel::main()","--args","{connection_file}"], "display_name":"R", "language":"R" } <|file_sep|>current/inst/kernelspec/kernel.json {"argv": ["R", "--quiet", "-e","IRkernel::main()","--args","{connection_file}"], "display_name":"R", ...
04ca360f136d1a7f79a91b5c91ed65696162886a
inst/kernelspec/kernel.json
inst/kernelspec/kernel.json
JSON
<|file_sep|>original/Resources/config/services.yml - { name: 'translation.loader', alias: 'phps' } happyr.loco.translation.dumper: class: Happyr\LocoBundle\Translation\Dumper tags: - { name: 'translation.dumper', alias: 'phps' } # Custom data_collector to use our own template happyr.loco.dat...
- { name: 'translation.loader', alias: 'phps' } happyr.loco.translation.dumper: class: Happyr\LocoBundle\Translation\Dumper tags: - { name: 'translation.dumper', alias: 'phps' } # Custom data_collector to use our own template happyr.loco.data_collector.translation: class: Symfony\Compone...
<|file_sep|>original/Resources/config/services.yml - { name: 'translation.loader', alias: 'phps' } happyr.loco.translation.dumper: class: Happyr\LocoBundle\Translation\Dumper tags: - { name: 'translation.dumper', alias: 'phps' } # Custom data_collector to use our own template happyr.loco.dat...
ee1f20e7162e2f69a71d01e5727bc991de81c933
Resources/config/services.yml
Resources/config/services.yml
YAML
<|file_sep|>original/reactors/jvm/src/test/scala/tutorial/guide-intro-jvm-hello-world.scala <|file_sep|>current/reactors/jvm/src/test/scala/tutorial/guide-intro-jvm-hello-world.scala <|file_sep|>updated/reactors/jvm/src/test/scala/tutorial/guide-intro-jvm-hello-world.scala
package tutorial import io.reactors._ import org.scalatest._ import scala.concurrent.Promise import scala.concurrent.ExecutionContext class GuideJvmHelloWorld extends AsyncFunSuite { val system = new ReactorSystem("test-system") implicit override def executionContext = ExecutionContext.Implicits.global te...
<|file_sep|>original/reactors/jvm/src/test/scala/tutorial/guide-intro-jvm-hello-world.scala <|file_sep|>current/reactors/jvm/src/test/scala/tutorial/guide-intro-jvm-hello-world.scala <|file_sep|>updated/reactors/jvm/src/test/scala/tutorial/guide-intro-jvm-hello-world.scala package tutorial import io.reactors._ imp...
dc57b287277059c13e0c2d04adba26497cd79864
reactors/jvm/src/test/scala/tutorial/guide-intro-jvm-hello-world.scala
reactors/jvm/src/test/scala/tutorial/guide-intro-jvm-hello-world.scala
Scala
<|file_sep|>original/json2csv_business.py <|file_sep|>current/json2csv_business.py <|file_sep|>updated/json2csv_business.py
import json def main(): # print the header of output csv file print 'business_id,city,latitude,longitude' # for each entry in input json file print one csv row for line in open("data/yelp_academic_dataset_business.json"): input_json = json.loads(line) business_id = input_json['busines...
<|file_sep|>original/json2csv_business.py <|file_sep|>current/json2csv_business.py <|file_sep|>updated/json2csv_business.py import json def main(): # print the header of output csv file print 'business_id,city,latitude,longitude' # for each entry in input json file print one csv row for line in ope...
5d2f96836d0d63c68eb3acd5b8477cef231c5746
json2csv_business.py
json2csv_business.py
Python
<|file_sep|>original/autobuild/vars.sh #! /bin/bash export PATH=/bin:/usr/bin:/usr/local/bin export ROOT=$(pwd) export MAKEDIR="$ROOT/make/" echo $HAKA_LUA $HAKA_BUILD if [ -z "$HAKA_BUILD" ]; then export HAKA_BUILD="Debug,Release" fi if [ -z "$HAKA_LUA" ]; then export HAKA_LUA="lua,luajit" fi <|file_sep|>current...
#! /bin/bash export PATH=/bin:/usr/bin:/usr/local/bin export ROOT=$(pwd) export MAKEDIR="$ROOT/workspace/" echo $HAKA_LUA $HAKA_BUILD if [ -z "$HAKA_BUILD" ]; then export HAKA_BUILD="Debug,Release" fi if [ -z "$HAKA_LUA" ]; then export HAKA_LUA="lua,luajit" fi
<|file_sep|>original/autobuild/vars.sh #! /bin/bash export PATH=/bin:/usr/bin:/usr/local/bin export ROOT=$(pwd) export MAKEDIR="$ROOT/make/" echo $HAKA_LUA $HAKA_BUILD if [ -z "$HAKA_BUILD" ]; then export HAKA_BUILD="Debug,Release" fi if [ -z "$HAKA_LUA" ]; then export HAKA_LUA="lua,luajit" fi <|file_sep|>current...
62d029fac89804ae4a4dac4507e55aef22fdf27b
autobuild/vars.sh
autobuild/vars.sh
Shell
<|file_sep|>original/README.md # raml-rb A RAML parser, implemented in Ruby. ## Installation ``` gem install raml-rb ``` ## Usage ```Ruby raml = Raml::Parser.parse("#%RAML 0.8\ntitle: World Music API\nbaseUri: http://example.api.com/{version}") raml = Raml::Parser.parse_file('path/to/file.raml') ``` ## Todo 0. P...
# raml-rb A RAML parser, implemented in Ruby. [![Code Climate](https://codeclimate.com/github/jpb/raml-rb/badges/gpa.svg)](https://codeclimate.com/github/jpb/raml-rb) ## Installation ``` gem install raml-rb ``` ## Usage ```Ruby raml = Raml::Parser.parse("#%RAML 0.8\ntitle: World Music API\nbaseUri: http://example...
<|file_sep|>original/README.md # raml-rb A RAML parser, implemented in Ruby. ## Installation ``` gem install raml-rb ``` ## Usage ```Ruby raml = Raml::Parser.parse("#%RAML 0.8\ntitle: World Music API\nbaseUri: http://example.api.com/{version}") raml = Raml::Parser.parse_file('path/to/file.raml') ``` ## Todo 0. P...
f4a34784c88f99007a2116f2685c618c356ce7a1
README.md
README.md
Markdown
<|file_sep|>original/lib/shp_api/rescue_from.rb end module ClassMethods def shp_api_notify_opbeat(exception: nil) class_name = 'Opbeat' method = 'capture_exception' # Check that class and methods exists return nil unless Object.const_defined?(class_nam...
def shp_api_notify_opbeat(exception: nil) class_name = 'Opbeat' method = 'capture_exception' # Check that class and methods exists return nil unless Object.const_defined?(class_name) c = Object.const_get(class_name) return nil unless c.respond_to?(method) ...
<|file_sep|>original/lib/shp_api/rescue_from.rb end module ClassMethods def shp_api_notify_opbeat(exception: nil) class_name = 'Opbeat' method = 'capture_exception' # Check that class and methods exists return nil unless Object.const_defined?(class_nam...
0ed6fa85478c39e735134541f570651624b7e84b
lib/shp_api/rescue_from.rb
lib/shp_api/rescue_from.rb
Ruby
<|file_sep|>.github/workflows/ci-init-script-check.yml.diff original: - '.github/workflows/**' updated: - '.github/workflows/ci-init-script-check.yml' <|file_sep|>original/.github/workflows/ci-init-script-check.yml name: CI-init-script-check on: push: paths: - '.github/workflows/**' - 'sr...
name: CI-init-script-check on: push: paths: - '.github/workflows/ci-init-script-check.yml' - 'src/resources/init-scripts/**' - 'test/init-scripts/**' workflow_dispatch: jobs: test-init-scripts: runs-on: ubuntu-latest steps: - name: Checkout sources uses: actions/checkout@...
<|file_sep|>.github/workflows/ci-init-script-check.yml.diff original: - '.github/workflows/**' updated: - '.github/workflows/ci-init-script-check.yml' <|file_sep|>original/.github/workflows/ci-init-script-check.yml name: CI-init-script-check on: push: paths: - '.github/workflows/**' - 'sr...
c1a6f51e61643a542e8afa93c2fc95819c6e8b7f
.github/workflows/ci-init-script-check.yml
.github/workflows/ci-init-script-check.yml
YAML
<|file_sep|>client/src/components/UserNameInputBox.jsx.diff original: updated: console.log('please work'); <|file_sep|>original/client/src/components/UserNameInputBox.jsx change(e) { this.setState ({ userName: e.target.value, userNameExists: true }); } passDataToCreateUser() { this.p...
change(e) { this.setState ({ userName: e.target.value, userNameExists: true }); } passDataToCreateUser() { console.log('please work'); this.props.dataFromInputBox({userName: this.state.userName, userNameExists: this.state.userNameExists}); this.props.buttonClicked(true); } re...
<|file_sep|>client/src/components/UserNameInputBox.jsx.diff original: updated: console.log('please work'); <|file_sep|>original/client/src/components/UserNameInputBox.jsx change(e) { this.setState ({ userName: e.target.value, userNameExists: true }); } passDataToCreateUser() { this.p...
57e5ca9fe1cce60d825f9b6457bad001fd98811c
client/src/components/UserNameInputBox.jsx
client/src/components/UserNameInputBox.jsx
JSX
<|file_sep|>libstd/util.s.diff original: movq %rsp,%rdi /* dest */ updated: movq %rsp,%rdi /* dest */ <|file_sep|>libstd/util.s.diff original: updated: subq $16,%rsp /* "unpop" the args */ <|file_sep|>libstd/util.s.diff original: subq $1,%rsp /* nul */ andq $(~...
.globl _std$cstring _std$cstring: std$cstring: movq (%rsp),%r15 /* ret addr */ movq 8(%rsp),%rsi /* src */ movq %rsp,%rdi /* dest */ movq %rsp,%rax /* ret val */ movq 16(%rsp),%rcx /* len */ subq $16,%rsp /* "unpop" the args */ subq %rcx,%rsp /* get stack */ subq $1,%rsp ...
<|file_sep|>libstd/util.s.diff original: movq %rsp,%rdi /* dest */ updated: movq %rsp,%rdi /* dest */ <|file_sep|>libstd/util.s.diff original: updated: subq $16,%rsp /* "unpop" the args */ <|file_sep|>libstd/util.s.diff original: subq $1,%rsp /* nul */ andq $(~...
a2c579cf237bd9b76acda6862a5c52976bbbc66c
libstd/util.s
libstd/util.s
GAS
<|file_sep|>app/models/mixeval_question_type.php.diff original: var $name = 'MixevalQuestionType'; var $displayField = 'type'; var $validate = array( 'type' => array( 'notempty' => array( 'rule' => array('notempty'), //'message' => 'Your custom message here', //'allowEmpty' => false, //'required...
), ); //The Associations below have been created with all possible keys, those that are not needed can be removed var $hasMany = array( 'MixevalQuestion' => array( 'className' => 'MixevalQuestion', 'foreignKey' => 'mixeval_question_type_id', 'dependent' =...
<|file_sep|>app/models/mixeval_question_type.php.diff original: var $name = 'MixevalQuestionType'; var $displayField = 'type'; var $validate = array( 'type' => array( 'notempty' => array( 'rule' => array('notempty'), //'message' => 'Your custom message here', //'allowEmpty' => false, //'required...
526d9f53a53b2e5c507f310d0df6bed2d6791afd
app/models/mixeval_question_type.php
app/models/mixeval_question_type.php
PHP
<|file_sep|>original/package.json { "name": "logmatic-docker", "version": "0.0.2", "description": "Gather all the logs of your docker containers and stream them to Logmatic.io", "main": "index.js", "author": "Logmatic.io <support@logmatic.io", "license": "MIT", "dependencies": { "docker-allcontainers"...
{ "name": "logmatic-docker", "version": "0.0.2", "description": "Gather all the logs of your docker containers and stream them to Logmatic.io", "main": "index.js", "author": "Logmatic.io <support@logmatic.io", "license": "MIT", "dependencies": { "docker-allcontainers": "0.4.0", "docker-event-log":...
<|file_sep|>original/package.json { "name": "logmatic-docker", "version": "0.0.2", "description": "Gather all the logs of your docker containers and stream them to Logmatic.io", "main": "index.js", "author": "Logmatic.io <support@logmatic.io", "license": "MIT", "dependencies": { "docker-allcontainers"...
2de44f53ec29ef31e42085fcd92d680ec6e12ad5
package.json
package.json
JSON
<|file_sep|>original/.travis.yml sudo: false language: ruby rvm: - 2.0.0 - 2.1.10 - 2.2.10 - 2.3.8 - 2.4.5 - 2.5.3 - ruby-head before_install: - | if [[ `ruby -v` =~ 2\.[0-2]\.[0-9]+ ]]; then gem install rubygems-update -v '<3' && update_rubygems gem install bundler -v '<2' else ...
sudo: false language: ruby rvm: - 2.0.0 - 2.1.10 - 2.2.10 - 2.3.8 - 2.4.5 - 2.5.3 - 2.6.0 - ruby-head before_install: - | if [[ `ruby -v` =~ 2\.[0-2]\.[0-9]+ ]]; then gem install rubygems-update -v '<3' && update_rubygems gem install bundler -v '<2' else gem update --system ...
<|file_sep|>original/.travis.yml sudo: false language: ruby rvm: - 2.0.0 - 2.1.10 - 2.2.10 - 2.3.8 - 2.4.5 - 2.5.3 - ruby-head before_install: - | if [[ `ruby -v` =~ 2\.[0-2]\.[0-9]+ ]]; then gem install rubygems-update -v '<3' && update_rubygems gem install bundler -v '<2' else ...
3ee40a28db12fc0dc8f7249727bbc70225650e56
.travis.yml
.travis.yml
YAML
<|file_sep|>original/etc/to-be-installed/qemu_cmd.sh echo ">>> KVM: OFF " export QEMU="qemu-system-i386" export CPU="" fi export macaddress="c0:01:0a:00:00:2a" INCLUDEOS_HOME=${INCLUDEOS_HOME-$HOME/IncludeOS_install} export qemu_ifup="$INCLUDEOS_HOME/etc/qemu-ifup" [ ! -v NET ] && export NET="-device vir...
echo ">>> KVM: OFF " export QEMU="qemu-system-i386" export CPU="" fi export macaddress="c0:01:0a:00:00:2a" INCLUDEOS_HOME=${INCLUDEOS_HOME-$HOME/IncludeOS_install} export qemu_ifup="$INCLUDEOS_HOME/etc/qemu-ifup" export NET=${NET-"-device virtio-net,netdev=net0,mac=$macaddress -netdev tap,id=net0,script=...
<|file_sep|>original/etc/to-be-installed/qemu_cmd.sh echo ">>> KVM: OFF " export QEMU="qemu-system-i386" export CPU="" fi export macaddress="c0:01:0a:00:00:2a" INCLUDEOS_HOME=${INCLUDEOS_HOME-$HOME/IncludeOS_install} export qemu_ifup="$INCLUDEOS_HOME/etc/qemu-ifup" [ ! -v NET ] && export NET="-device vir...
efb1c7b1397978a85b868d6b73bbff2f146f7098
etc/to-be-installed/qemu_cmd.sh
etc/to-be-installed/qemu_cmd.sh
Shell
<|file_sep|>app/views/layouts/application.html.erb.diff original: <title><%= content_for?(:title) ? yield(:title) : "foundation-rails" %></title> updated: <title><%= content_for?(:title) ? yield(:title) : "YesAnd" %></title> <|file_sep|>original/app/views/layouts/application.html.erb <!DOCTYPE html> <html lang=...
<title><%= content_for?(:title) ? yield(:title) : "YesAnd" %></title> <%= stylesheet_link_tag "application" %> <%= javascript_include_tag "vendor/modernizr" %> <%= javascript_include_tag "application", 'data-turbolinks-track' => true %> <%= csrf_meta_tags %> </head> <body> <nav class="...
<|file_sep|>app/views/layouts/application.html.erb.diff original: <title><%= content_for?(:title) ? yield(:title) : "foundation-rails" %></title> updated: <title><%= content_for?(:title) ? yield(:title) : "YesAnd" %></title> <|file_sep|>original/app/views/layouts/application.html.erb <!DOCTYPE html> <html lang=...
5199dd136166ac2d24d3801bd32b04eb54aae882
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
HTML+ERB
<|file_sep|>original/README.md # EDDI Compiler # The compiler of the EDDI programming language. ## Building ## You need Boost 1.47.0 installed on your computer to build this project. You juste have to use cmake to build the compiler : $ git clone git://github.com/wichtounet/eddic.git $ cd eddic $ cm...
# EDDI Compiler # The compiler of the EDDI programming language. ## Building ## A compiler supporting the new standard, C++11, is necessary to build the compiler. The compilation has been tested on GCC 4.6 and greater versions. You need Boost 1.47.0 installed on your computer to build this project. You juste have...
<|file_sep|>original/README.md # EDDI Compiler # The compiler of the EDDI programming language. ## Building ## You need Boost 1.47.0 installed on your computer to build this project. You juste have to use cmake to build the compiler : $ git clone git://github.com/wichtounet/eddic.git $ cd eddic $ cm...
aece66d9366d90b897cd7edd579fb16b16ee54a2
README.md
README.md
Markdown
<|file_sep|>lib/image/list.go.diff original: // TODO(rgooch): Implement an API that avoids copying hash lists. hashes := image.ListObjects() updated: hashBuffer := make([]hash.Hash, 1024) var missingObjects []hash.Hash index := 0 image.forEachObject(func(hashVal hash.Hash) error { hashBuffer[index] = hashVal ...
} index = 0 return nil }) return listMissingObjects(missingObjects, hashBuffer[:index], objectsChecker) } func listMissingObjects(missingObjects, hashes []hash.Hash, objectsChecker objectserver.ObjectsChecker) ([]hash.Hash, error) { objectSizes, err := objectsChecker.CheckObjects(hashes) if err != nil { ...
<|file_sep|>lib/image/list.go.diff original: // TODO(rgooch): Implement an API that avoids copying hash lists. hashes := image.ListObjects() updated: hashBuffer := make([]hash.Hash, 1024) var missingObjects []hash.Hash index := 0 image.forEachObject(func(hashVal hash.Hash) error { hashBuffer[index] = hashVal ...
ba437768c79289b8d84b26353b61201b3796d69a
lib/image/list.go
lib/image/list.go
Go
<|file_sep|>.travis.yml.diff original: updated: env: - COVERAGE=on - COVERAGE=off matrix: exclude: - node_js: 6 env: COVERAGE=on - node_js: 7 env: COVERAGE=off <|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - 6 - 7 before_script: yarn run lint script: - yarn ...
- 6 - 7 env: - COVERAGE=on - COVERAGE=off matrix: exclude: - node_js: 6 env: COVERAGE=on - node_js: 7 env: COVERAGE=off before_script: yarn run lint script: - yarn run test - yarn run build after_success: if [ "$COVERAGE" == "on" ]; then yarn run coverage; fi cache: yarn
<|file_sep|>.travis.yml.diff original: updated: env: - COVERAGE=on - COVERAGE=off matrix: exclude: - node_js: 6 env: COVERAGE=on - node_js: 7 env: COVERAGE=off <|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - 6 - 7 before_script: yarn run lint script: - yarn ...
2b1f11908ef0c787920d51cf980694d1244ee3da
.travis.yml
.travis.yml
YAML