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/requirements.txt docker==3.3.0 molecule==1.25.0 pymongo==3.6.1 pytest==3.4.2 pytest==3.4.2 python-vagrant==0.5.15 tox==3.0.0 testinfra==1.13.1 <|file_sep|>current/requirements.txt docker==3.3.0 molecule==1.25.0 pymongo==3.6.1 pytest==3.4.2 pytest==3.4.2 python-vagrant==0.5.15 tox==3.0.0 testinfra==...
docker==3.3.0 molecule==1.25.0 pymongo==3.6.1 pytest==3.4.2 pytest==3.4.2 python-vagrant==0.5.15 tox==3.0.0 testinfra==1.14.0
<|file_sep|>original/requirements.txt docker==3.3.0 molecule==1.25.0 pymongo==3.6.1 pytest==3.4.2 pytest==3.4.2 python-vagrant==0.5.15 tox==3.0.0 testinfra==1.13.1 <|file_sep|>current/requirements.txt docker==3.3.0 molecule==1.25.0 pymongo==3.6.1 pytest==3.4.2 pytest==3.4.2 python-vagrant==0.5.15 tox==3.0.0 testinfra==...
75dcf16ae3f4b6daf3a39c72e271eb42540b0ece
requirements.txt
requirements.txt
Text
<|file_sep|>original/Documentation/devicetree/bindings/thermal/hisilicon-thermal.txt <|file_sep|>current/Documentation/devicetree/bindings/thermal/hisilicon-thermal.txt <|file_sep|>updated/Documentation/devicetree/bindings/thermal/hisilicon-thermal.txt
* Temperature Sensor on hisilicon SoCs ** Required properties : - compatible: "hisilicon,tsensor". - reg: physical base address of thermal sensor and length of memory mapped region. - interrupt: The interrupt number to the cpu. Defines the interrupt used by /SOCTHERM/tsensor. - clock-names: Input clock name, shou...
<|file_sep|>original/Documentation/devicetree/bindings/thermal/hisilicon-thermal.txt <|file_sep|>current/Documentation/devicetree/bindings/thermal/hisilicon-thermal.txt <|file_sep|>updated/Documentation/devicetree/bindings/thermal/hisilicon-thermal.txt * Temperature Sensor on hisilicon SoCs ** Required properties : ...
59e85635d3e03ef9ac74ec8e39834a25b8e59dc7
Documentation/devicetree/bindings/thermal/hisilicon-thermal.txt
Documentation/devicetree/bindings/thermal/hisilicon-thermal.txt
Text
<|file_sep|>original/pkgs/typed-racket-pkgs/typed-racket-test/tests/typed-racket/fail/promise-any.rkt #; (exn-pred exn:fail:contract?) #lang racket (module typed typed/racket (: d Any) (define d (delay (lambda: ([x : Integer]) (+ x 1)))) (provide d)) (require 'typed) ;; this line should raise a ctc error ((for...
#; (exn-pred #rx"Attempted to use a higher-order value passed as `Any`") #lang racket (module typed typed/racket (: d Any) (define d (delay (lambda: ([x : Integer]) (+ x 1)))) (provide d)) (require 'typed) ;; this line should raise a ctc error ((force d) 6)
<|file_sep|>original/pkgs/typed-racket-pkgs/typed-racket-test/tests/typed-racket/fail/promise-any.rkt #; (exn-pred exn:fail:contract?) #lang racket (module typed typed/racket (: d Any) (define d (delay (lambda: ([x : Integer]) (+ x 1)))) (provide d)) (require 'typed) ;; this line should raise a ctc error ((for...
401c4dd0a662da7bf3dfe211946f9ab12f8a8346
pkgs/typed-racket-pkgs/typed-racket-test/tests/typed-racket/fail/promise-any.rkt
pkgs/typed-racket-pkgs/typed-racket-test/tests/typed-racket/fail/promise-any.rkt
Racket
<|file_sep|>original/sketches/tests/sched_blinksda/sched_blinksda.ino <|file_sep|>current/sketches/tests/sched_blinksda/sched_blinksda.ino <|file_sep|>updated/sketches/tests/sched_blinksda/sched_blinksda.ino
/** * Use the schedule class to have two different LEDs on one JeeNode * port flash at different rates. One LED is on DIO and the other * AIO. * * This is a straight-forward modification of the sched_blinks.ino * sketch. * * Based largely on jcw's "schedule" and "blink_ports" sketches * * Changes: * - remo...
<|file_sep|>original/sketches/tests/sched_blinksda/sched_blinksda.ino <|file_sep|>current/sketches/tests/sched_blinksda/sched_blinksda.ino <|file_sep|>updated/sketches/tests/sched_blinksda/sched_blinksda.ino /** * Use the schedule class to have two different LEDs on one JeeNode * port flash at different rates. One ...
08bccef6e71d1815f63c743dec8c72d02ddb842c
sketches/tests/sched_blinksda/sched_blinksda.ino
sketches/tests/sched_blinksda/sched_blinksda.ino
Arduino
<|file_sep|>original/README.md # teelahti.fi Teelahti.fi blog hosted on github pages. Originally forked from mmistakes/hpstr-jekyll-theme. Credits to [Manymistakes](http://mademistakes.com) for the original design & Jekyll integration. <|file_sep|>current/README.md # teelahti.fi Teelahti.fi blog hosted on github page...
*Note!* This site is retired for now (may be used as index of all subsites in the future). Blog contents have been migrated to [https://github.com/teelahti/tero.teelahti.fi](https://jekyllrb.com/docs/permalinks/). # teelahti.fi Teelahti.fi blog hosted on github pages. Originally forked from mmistakes/hpstr-jekyll-th...
<|file_sep|>original/README.md # teelahti.fi Teelahti.fi blog hosted on github pages. Originally forked from mmistakes/hpstr-jekyll-theme. Credits to [Manymistakes](http://mademistakes.com) for the original design & Jekyll integration. <|file_sep|>current/README.md # teelahti.fi Teelahti.fi blog hosted on github page...
a31e9321780491e780274887a2dafb01138961ba
README.md
README.md
Markdown
<|file_sep|>original/pkg/eval/exc/exc_test.go var That = eval.That func TestExc(t *testing.T) { setup := func(ev *eval.Evaler) { ev.Global.AddNs("exc", Ns) } eval.TestWithSetup(t, setup, // Have a simple sanity test that exc:show writes something. That(`exc:show ?(fail foo) | > (count (slurp)) 0`).Puts(true), ...
setup := func(ev *eval.Evaler) { ev.Global.AddNs("exc", Ns) } eval.TestWithSetup(t, setup, // Have a simple sanity test that exc:show writes something. That(`exc:show ?(fail foo) | > (count (slurp)) 0`).Puts(true), That("exc:is-external-cmd-exc ?("+failingExternalCmd+")").Puts(true), That("exc:is-external-cm...
<|file_sep|>original/pkg/eval/exc/exc_test.go var That = eval.That func TestExc(t *testing.T) { setup := func(ev *eval.Evaler) { ev.Global.AddNs("exc", Ns) } eval.TestWithSetup(t, setup, // Have a simple sanity test that exc:show writes something. That(`exc:show ?(fail foo) | > (count (slurp)) 0`).Puts(true), ...
ff16eda59f1a5f937519ec5d330120a594860512
pkg/eval/exc/exc_test.go
pkg/eval/exc/exc_test.go
Go
<|file_sep|>.travis.yml.diff original: updated: - "0.12" <|file_sep|>original/.travis.yml language: node_js node_js: - "0.11" - "0.10" before_script: - npm install -g grunt-cli after_script: - grunt --gruntfile Coverage.js <|file_sep|>current/.travis.yml language: node_js node_js: - "0.12" - "0.11" - "...
language: node_js node_js: - "0.12" - "0.11" - "0.10" - "iojs" before_script: - npm install -g grunt-cli after_script: - grunt --gruntfile Coverage.js
<|file_sep|>.travis.yml.diff original: updated: - "0.12" <|file_sep|>original/.travis.yml language: node_js node_js: - "0.11" - "0.10" before_script: - npm install -g grunt-cli after_script: - grunt --gruntfile Coverage.js <|file_sep|>current/.travis.yml language: node_js node_js: - "0.12" - "0.11" - "...
e495ab8aa810642aec48d5d0808c0f09889861c7
.travis.yml
.travis.yml
YAML
<|file_sep|>lib/tasks/migrations/weapon_overrides.rake.diff original: updated: # Obsoleted columns: Weapon.attr, Weapon.damage_attr <|file_sep|>original/lib/tasks/migrations/weapon_overrides.rake # frozen_string_literal: true namespace :lca do namespace :migrate do desc 'Move weapon pool data (attack attrib...
# frozen_string_literal: true namespace :lca do namespace :migrate do # Obsoleted columns: Weapon.attr, Weapon.damage_attr desc 'Move weapon pool data (attack attribute, etc) to new Overrides hash' task weapon_overrides: :environment do puts 'Migrating weapons...' Weapon.find_each do |weapon|...
<|file_sep|>lib/tasks/migrations/weapon_overrides.rake.diff original: updated: # Obsoleted columns: Weapon.attr, Weapon.damage_attr <|file_sep|>original/lib/tasks/migrations/weapon_overrides.rake # frozen_string_literal: true namespace :lca do namespace :migrate do desc 'Move weapon pool data (attack attrib...
d784f0462ab1354ac73e1d1655c85e1b02216109
lib/tasks/migrations/weapon_overrides.rake
lib/tasks/migrations/weapon_overrides.rake
Ruby
<|file_sep|>original/glyph-brush/Cargo.toml description = "Fast cached text render library using rusttype" repository = "https://github.com/alexheretic/gfx-glyph" keywords = ["font", "ttf", "truetype", "text"] license = "Apache-2.0" readme="README.md" [dependencies] glyph_brush_layout = { version = "0.1.5", path = ".....
description = "Fast cached text render library using rusttype" repository = "https://github.com/alexheretic/gfx-glyph" keywords = ["font", "ttf", "truetype", "text"] license = "Apache-2.0" readme="README.md" [dependencies] glyph_brush_layout = { version = "0.1.5", path = "../glyph-brush-layout" } log = "0.4.4" ordered...
<|file_sep|>original/glyph-brush/Cargo.toml description = "Fast cached text render library using rusttype" repository = "https://github.com/alexheretic/gfx-glyph" keywords = ["font", "ttf", "truetype", "text"] license = "Apache-2.0" readme="README.md" [dependencies] glyph_brush_layout = { version = "0.1.5", path = ".....
f9cf1feba7d93fb01b19f2b4d213e7ef6073319e
glyph-brush/Cargo.toml
glyph-brush/Cargo.toml
TOML
<|file_sep|>original/test_buffer.go if i != 0 { t.Errorf("Serial no. should be 0 but was %d", i) } if pq.Length() != 1 { t.Errorf("Length should be 1 but was %d", pq.Length()) } i, err = pq.Add([]byte{6, 7, 8, 9, 0}) if err != nil { t.Error(err) } if pq.Lengt...
if err != nil { t.Error(err) } if pq.Length() != 2 { t.Errorf("Length should be 2 but was %d", pq.Length()) } } func TestQueueCapacity(t *testing.T) { pq := PacketQueue{} for i := 0; i < PACKET_BUFFER_SIZE; i++ { serial, err := pq.Add([]byte{0, 0, byte(i)}) if ...
<|file_sep|>original/test_buffer.go if i != 0 { t.Errorf("Serial no. should be 0 but was %d", i) } if pq.Length() != 1 { t.Errorf("Length should be 1 but was %d", pq.Length()) } i, err = pq.Add([]byte{6, 7, 8, 9, 0}) if err != nil { t.Error(err) } if pq.Lengt...
872b8636fe5a1aa5eb38505249edc9fd13dcb70c
test_buffer.go
test_buffer.go
Go
<|file_sep|>.travis.yml.diff original: updated: env: global: - JRUBY_OPTS="--2.0" <|file_sep|>original/.travis.yml language: ruby cache: bundler sudo: false before_install: gem install bundler -v 1.14.6 rvm: - 2.4.1 - 2.3.4 - 2.2 - 2.1 - 2.0 - ruby-head - jruby-1.7.26 - jruby-head matrix: inclu...
language: ruby cache: bundler sudo: false before_install: gem install bundler -v 1.14.6 rvm: - 2.4.1 - 2.3.4 - 2.2 - 2.1 - 2.0 - ruby-head - jruby-1.7.26 - jruby-head env: global: - JRUBY_OPTS="--2.0" matrix: allow_failures: - rvm: ruby-head - rvm: jruby-head fast_finish: true
<|file_sep|>.travis.yml.diff original: updated: env: global: - JRUBY_OPTS="--2.0" <|file_sep|>original/.travis.yml language: ruby cache: bundler sudo: false before_install: gem install bundler -v 1.14.6 rvm: - 2.4.1 - 2.3.4 - 2.2 - 2.1 - 2.0 - ruby-head - jruby-1.7.26 - jruby-head matrix: inclu...
9dbc18f7c921e93a6a1e1aaa1b3f4cf57b67f94e
.travis.yml
.travis.yml
YAML
<|file_sep|>original/tests/Bootstrap.php error_reporting(E_ALL); $file = __DIR__ . '/../vendor/autoload.php'; if (file_exists($file)) { $loader = require $file; } if (!isset($loader)) { throw new \RuntimeException('Cannot find vendor/autoload.php'); } /** @var \Composer\Autoload\ClassLoader $loader */ $loade...
error_reporting(E_ALL); $file = __DIR__ . '/../vendor/autoload.php'; if (file_exists($file)) { $loader = require $file; } if (!isset($loader)) { throw new \RuntimeException('Cannot find vendor/autoload.php'); } /** @var \Composer\Autoload\ClassLoader $loader */ $loader->add('SqueezeTest\\', __DIR__); unset(...
<|file_sep|>original/tests/Bootstrap.php error_reporting(E_ALL); $file = __DIR__ . '/../vendor/autoload.php'; if (file_exists($file)) { $loader = require $file; } if (!isset($loader)) { throw new \RuntimeException('Cannot find vendor/autoload.php'); } /** @var \Composer\Autoload\ClassLoader $loader */ $loade...
e885ba51459aa7c184d60229dd9bf0c52cdb6c4b
tests/Bootstrap.php
tests/Bootstrap.php
PHP
<|file_sep|>original/bower.json { "name": "sage", "homepage": "https://roots.io/sage/", "authors": [ "Ben Word <ben@benword.com>" ], "license": "MIT", "private": true, "dependencies": { "bootstrap": "git://github.com/twbs/bootstrap.git#v4.0.0-beta", "popper.js": "^1.12.3" } } <|file_sep|>cur...
{ "name": "sage", "homepage": "https://roots.io/sage/", "authors": [ "Ben Word <ben@benword.com>" ], "license": "MIT", "private": true, "dependencies": { "bootstrap": "git://github.com/twbs/bootstrap.git#v4.0.0-beta.2", "popper.js": "^1.12.3" } }
<|file_sep|>original/bower.json { "name": "sage", "homepage": "https://roots.io/sage/", "authors": [ "Ben Word <ben@benword.com>" ], "license": "MIT", "private": true, "dependencies": { "bootstrap": "git://github.com/twbs/bootstrap.git#v4.0.0-beta", "popper.js": "^1.12.3" } } <|file_sep|>cur...
02a8265888f006a953517db72339faa48d192a20
bower.json
bower.json
JSON
<|file_sep|>original/Engine/PSScriptAnalyzer.psm1 $PSDefaultParameterValues.Clear() Set-StrictMode -Version Latest # Set up some helper variables to make it easier to work with the module $PSModule = $ExecutionContext.SessionState.Module $PSModuleRoot = $PSModule.ModuleBase # Import the appropriate nested binary modu...
$PSDefaultParameterValues.Clear() Set-StrictMode -Version Latest # Set up some helper variables to make it easier to work with the module $PSModule = $ExecutionContext.SessionState.Module $PSModuleRoot = $PSModule.ModuleBase # Import the appropriate nested binary module based on the current PowerShell version $binary...
<|file_sep|>original/Engine/PSScriptAnalyzer.psm1 $PSDefaultParameterValues.Clear() Set-StrictMode -Version Latest # Set up some helper variables to make it easier to work with the module $PSModule = $ExecutionContext.SessionState.Module $PSModuleRoot = $PSModule.ModuleBase # Import the appropriate nested binary modu...
a2d996a53888196c6912247d4461fafdb4be3ed6
Engine/PSScriptAnalyzer.psm1
Engine/PSScriptAnalyzer.psm1
PowerShell
<|file_sep|>original/views/user-edit.tpl 'class' => 'medium', 'onsubmit' => "if (document.getElementById('email_field').value == '') {alert('Email is a required field.'); return false; }", 'data' => $item ]) ?> <? View::fieldRow([ 'name' => 'name' ]) ?> <? View::selectRow([ 'name' => 'type', ...
'class' => 'medium', 'onsubmit' => "if (document.getElementById('email_field').value == '') {alert('Email is a required field.'); return false; }", 'data' => $item ]) ?> <? View::fieldRow([ 'name' => 'name' ]) ?> <? View::selectRow([ 'name' => 'type', 'options' => ['admin' => 'Admin', 'root' ...
<|file_sep|>original/views/user-edit.tpl 'class' => 'medium', 'onsubmit' => "if (document.getElementById('email_field').value == '') {alert('Email is a required field.'); return false; }", 'data' => $item ]) ?> <? View::fieldRow([ 'name' => 'name' ]) ?> <? View::selectRow([ 'name' => 'type', ...
243e18544902d59be430c5a19d7aedf352d21745
views/user-edit.tpl
views/user-edit.tpl
Smarty
<|file_sep|>original/requirements.txt doc2dash jupyter ipython nose notebook numpy pandas seaborn skll==2.5.0 statsmodels coverage coveralls openpyxl parameterized sphinx sphinx_rtd_theme tqdm xlrd xlwt <|file_sep|>current/requirements.txt doc2dash jupyter ipython nose notebook numpy pandas seaborn skll==2.5.0 statsmod...
doc2dash jupyter ipython nose notebook numpy pandas seaborn skll==3.0.0 statsmodels coverage coveralls openpyxl parameterized sphinx sphinx_rtd_theme tqdm xlrd xlwt
<|file_sep|>original/requirements.txt doc2dash jupyter ipython nose notebook numpy pandas seaborn skll==2.5.0 statsmodels coverage coveralls openpyxl parameterized sphinx sphinx_rtd_theme tqdm xlrd xlwt <|file_sep|>current/requirements.txt doc2dash jupyter ipython nose notebook numpy pandas seaborn skll==2.5.0 statsmod...
bdecbd1f827775e35d93703d481cc541e8f4582b
requirements.txt
requirements.txt
Text
<|file_sep|>original/.github/workflows/prune_artifacts.yml <|file_sep|>current/.github/workflows/prune_artifacts.yml <|file_sep|>updated/.github/workflows/prune_artifacts.yml
name: "Prune old artifacts" on: schedule: - cron: "0 * * * *" jobs: delete-artifacts: runs-on: ubuntu-latest steps: - uses: kolpav/purge-artifacts-action@v1 with: token: ${{ secrets.GITHUB_TOKEN }} expire-in: 7days
<|file_sep|>original/.github/workflows/prune_artifacts.yml <|file_sep|>current/.github/workflows/prune_artifacts.yml <|file_sep|>updated/.github/workflows/prune_artifacts.yml name: "Prune old artifacts" on: schedule: - cron: "0 * * * *" jobs: delete-artifacts: runs-on: ubuntu-latest steps: - us...
ca77c30461c1b17b0b04858bd6eec08f8f3dc6df
.github/workflows/prune_artifacts.yml
.github/workflows/prune_artifacts.yml
YAML
<|file_sep|>app/views/land_parcel_records/_overview.html.erb.diff original: updated: <% unless record.common_property? %> <|file_sep|>original/app/views/land_parcel_records/_overview.html.erb <h3 class="land-parcel"> <% unless record.valid? %> <img class="land-parcel-status" src="/noun_project_10280.svg"/> ...
<%= @land_parcel_record.title_reference %> </h3> <% unless record.valid? %> <% record.errors.each do |type, message| %> <div class="alert-box alert"> <%= message %> </div> <% end %> <% else %> <p> <% unless record.common_property? %> This land parcel has passed all quality checks and is availabl...
<|file_sep|>app/views/land_parcel_records/_overview.html.erb.diff original: updated: <% unless record.common_property? %> <|file_sep|>original/app/views/land_parcel_records/_overview.html.erb <h3 class="land-parcel"> <% unless record.valid? %> <img class="land-parcel-status" src="/noun_project_10280.svg"/> ...
907662f1fe111aa2a26d05c1bb03fea53f5f0927
app/views/land_parcel_records/_overview.html.erb
app/views/land_parcel_records/_overview.html.erb
HTML+ERB
<|file_sep|>original/packages/@sanity/core/src/commands/graphql/listGraphQLAPIsCommand.js import lazyRequire from '@sanity/util/lib/lazyRequire' const helpText = ` Options N/A Examples sanity graphql list ` export default { name: 'list', signature: '', group: 'graphql', description: 'Lists all the GraphQ...
import lazyRequire from '@sanity/util/lib/lazyRequire' const helpText = ` Examples sanity graphql list ` export default { name: 'list', signature: '', group: 'graphql', description: 'Lists all the GraphQL endpoints deployed for this project', action: lazyRequire(require.resolve('../../actions/graphql/list...
<|file_sep|>original/packages/@sanity/core/src/commands/graphql/listGraphQLAPIsCommand.js import lazyRequire from '@sanity/util/lib/lazyRequire' const helpText = ` Options N/A Examples sanity graphql list ` export default { name: 'list', signature: '', group: 'graphql', description: 'Lists all the GraphQ...
3670baceea44873d4d79e9d7250c261a1baeb999
packages/@sanity/core/src/commands/graphql/listGraphQLAPIsCommand.js
packages/@sanity/core/src/commands/graphql/listGraphQLAPIsCommand.js
JavaScript
<|file_sep|>original/UberJump/UberJump/StarNode.swift // Sound action var _starSound:SKAction = SKAction.playSoundFileNamed("StarPing.wav", waitForCompletion: false) override func collisionWithPlayer(player:SKNode) -> Bool{ // Boost the player up var dx:CGFloat = player.physic...
var _starSound:SKAction = SKAction.playSoundFileNamed("StarPing.wav", waitForCompletion: false) override func collisionWithPlayer(player:SKNode) -> Bool{ // Boost the player up var dx:CGFloat = player.physicsBody!.velocity.dx player.physicsBody?.velocity = CGVecto...
<|file_sep|>original/UberJump/UberJump/StarNode.swift // Sound action var _starSound:SKAction = SKAction.playSoundFileNamed("StarPing.wav", waitForCompletion: false) override func collisionWithPlayer(player:SKNode) -> Bool{ // Boost the player up var dx:CGFloat = player.physic...
266278a4be340bcbb58a083a016b801733fc1286
UberJump/UberJump/StarNode.swift
UberJump/UberJump/StarNode.swift
Swift
<|file_sep|>app/views/orchestration_stack/show.html.haml.diff original: - when "details" = render(:partial => "layouts/gtl", :locals => {:action_url => @lastaction}) - when "item" = render(:partial => "layouts/#{@showtype}") updated: - when "details" = render(:partial => "layouts/gtl", :locals...
#main_div - case @showtype - when "details" = render(:partial => "layouts/gtl", :locals => {:action_url => @lastaction}) - when "item" = render(:partial => "layouts/#{@showtype}") - else - if %w(instances security_groups).include?(@display) = render :partial => "layouts/gtl", :locals => {:acti...
<|file_sep|>app/views/orchestration_stack/show.html.haml.diff original: - when "details" = render(:partial => "layouts/gtl", :locals => {:action_url => @lastaction}) - when "item" = render(:partial => "layouts/#{@showtype}") updated: - when "details" = render(:partial => "layouts/gtl", :locals...
a79f0a43741552e989ddfbbf6df32e5b65d35a34
app/views/orchestration_stack/show.html.haml
app/views/orchestration_stack/show.html.haml
Haml
<|file_sep|>patches/app-builder-lib+22.3.6.patch.diff original: updated: diff --git a/node_modules/app-builder-lib/out/targets/ArchiveTarget.js b/node_modules/app-builder-lib/out/targets/ArchiveTarget.js index 72a59df..ba57ef5 100644 --- a/node_modules/app-builder-lib/out/targets/ArchiveTarget.js +++ b/node_modules/ap...
await (0, _archive().archive)(format, artifactPath, dirToArchive, archiveOptions); - - if (this.isWriteUpdateInfo && format === "zip") { - updateInfo = await (0, _differentialUpdateInfoBuilder().appendBlockmap)(artifactPath); - } } await packager.info.callArtifactBuildCompleted({ diff...
<|file_sep|>patches/app-builder-lib+22.3.6.patch.diff original: updated: diff --git a/node_modules/app-builder-lib/out/targets/ArchiveTarget.js b/node_modules/app-builder-lib/out/targets/ArchiveTarget.js index 72a59df..ba57ef5 100644 --- a/node_modules/app-builder-lib/out/targets/ArchiveTarget.js +++ b/node_modules/ap...
25b0b308d2b1fcd49d89d4383c33459e1afd65f4
patches/app-builder-lib+22.3.6.patch
patches/app-builder-lib+22.3.6.patch
Diff
<|file_sep|>original/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/companyLogo.jsp <%@ taglib uri="/webwork" prefix="ww" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <ww:set name="companyLogo" value="companyLogo"/> <c:if test="${!empty(companyLogo)}"> <ww:set name="companyUrl" value="...
<%@ taglib uri="/webwork" prefix="ww" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <ww:set name="companyLogo" value="companyLogo"/> <c:choose> <c:when test="${!empty(companyLogo)}"> <ww:set name="companyUrl" value="companyUrl"/> <c:choose> <c:when test="${!empty(companyUrl)}"> ...
<|file_sep|>original/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/companyLogo.jsp <%@ taglib uri="/webwork" prefix="ww" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <ww:set name="companyLogo" value="companyLogo"/> <c:if test="${!empty(companyLogo)}"> <ww:set name="companyUrl" value="...
c545785f6b7d320a01cc3ead41b16a383a48bcda
continuum-webapp/src/main/webapp/WEB-INF/jsp/components/companyLogo.jsp
continuum-webapp/src/main/webapp/WEB-INF/jsp/components/companyLogo.jsp
Java Server Pages
<|file_sep|>original/composer.json "sylius/resource": "0.15.*@dev" }, "require-dev": { "phpspec/phpspec": "~2.1" }, "config": { "bin-dir": "bin" }, "autoload": { "psr-4": { "Sylius\\Component\\Taxation\\": "" } }, "autoload-dev": { "psr-4": { "Syl...
"sylius/resource": "0.15.*@dev" }, "require-dev": { "phpspec/phpspec": "~2.1" }, "config": { "bin-dir": "bin" }, "autoload": { "psr-4": { "Sylius\\Component\\Taxation\\": "" } }, "autoload-dev": { "psr-4": { "Sylius\\Component\\Taxation\\spec\\": ...
<|file_sep|>original/composer.json "sylius/resource": "0.15.*@dev" }, "require-dev": { "phpspec/phpspec": "~2.1" }, "config": { "bin-dir": "bin" }, "autoload": { "psr-4": { "Sylius\\Component\\Taxation\\": "" } }, "autoload-dev": { "psr-4": { "Syl...
a6689fedf349b99ccf421b61689e964817e6fd75
composer.json
composer.json
JSON
<|file_sep|>original/build.properties # mxTune 1.12.x build.properties runDir=mc12_0 minecraftVersion=1.12.1 forgeVersion=14.22.0.2456 forgeMappings=snapshot_20170728 modVersionMajor=0 modVersionMinor=5 modVersionRev=0 versionType=beta typeVersion=2 projectBranch=1.12 <|file_sep|>current/build.properties # mxTune 1.12....
# mxTune 1.12.x build.properties runDir=mc12_0 minecraftVersion=1.12.1 forgeVersion=14.22.0.2459 forgeMappings=snapshot_20170728 modVersionMajor=0 modVersionMinor=5 modVersionRev=0 versionType=beta typeVersion=2 projectBranch=1.12
<|file_sep|>original/build.properties # mxTune 1.12.x build.properties runDir=mc12_0 minecraftVersion=1.12.1 forgeVersion=14.22.0.2456 forgeMappings=snapshot_20170728 modVersionMajor=0 modVersionMinor=5 modVersionRev=0 versionType=beta typeVersion=2 projectBranch=1.12 <|file_sep|>current/build.properties # mxTune 1.12....
e8a444917b1cd4e926b0a1573d84abf7dfb4b87d
build.properties
build.properties
INI
<|file_sep|>original/PlugIns/CMakeLists.txt if (OGRE_BUILD_PLUGIN_CG) if (NOT Cg_FOUND) message(STATUS "Could not find dependency: Cg") message(STATUS "Skipping Plugin_CgProgramManager") set(OGRE_BUILD_PLUGIN_CG 0) else (NOT Cg_FOUND) add_subdirectory(CgProgramManager) endif (NOT Cg_FOUND) endif ...
endif (OGRE_BUILD_PLUGIN_BSP) if (OGRE_BUILD_PLUGIN_CG) if (NOT Cg_FOUND) message(STATUS "Could not find dependency: Cg") message(STATUS "Skipping Plugin_CgProgramManager") set(OGRE_BUILD_PLUGIN_CG 0) else (NOT Cg_FOUND) add_subdirectory(CgProgramManager) endif (NOT Cg_FOUND) endif (OGRE_BUILD_PL...
<|file_sep|>original/PlugIns/CMakeLists.txt if (OGRE_BUILD_PLUGIN_CG) if (NOT Cg_FOUND) message(STATUS "Could not find dependency: Cg") message(STATUS "Skipping Plugin_CgProgramManager") set(OGRE_BUILD_PLUGIN_CG 0) else (NOT Cg_FOUND) add_subdirectory(CgProgramManager) endif (NOT Cg_FOUND) endif ...
d5bc63bc69c55ee9c5ed1b79e94757d735f30e0d
PlugIns/CMakeLists.txt
PlugIns/CMakeLists.txt
Text
<|file_sep|>app/assets/javascripts/application.js.diff original: updated: //= require govuk_publishing_components/all_components <|file_sep|>original/app/assets/javascripts/application.js //= require_tree ./modules //= require govuk_publishing_components/components/feedback // from govuk_frontend_toolkit and not deliv...
//= require govuk_publishing_components/all_components //= require_tree ./modules // from govuk_frontend_toolkit and not delivered by static as part of // header-footer-only on deployed environments //= require govuk/primary-links jQuery(function($) { "use strict"; GOVUK.primaryLinks.init('.primary-item'); $('....
<|file_sep|>app/assets/javascripts/application.js.diff original: updated: //= require govuk_publishing_components/all_components <|file_sep|>original/app/assets/javascripts/application.js //= require_tree ./modules //= require govuk_publishing_components/components/feedback // from govuk_frontend_toolkit and not deliv...
135c72d945e27a842e706e7c81d05306c9f387f7
app/assets/javascripts/application.js
app/assets/javascripts/application.js
JavaScript
<|file_sep|>original/src/MyList.elm <|file_sep|>current/src/MyList.elm <|file_sep|>updated/src/MyList.elm
module MyList ( ) where getAt : List a -> Int -> Maybe a getAt list index = List.head <| List.drop index list removeAt : List a -> Int -> Maybe a removeAt list index = if index < length list then Maybe.Just <| (take index list) ++ (drop (index + 1) list) else Nothing {- mov...
<|file_sep|>original/src/MyList.elm <|file_sep|>current/src/MyList.elm <|file_sep|>updated/src/MyList.elm module MyList ( ) where getAt : List a -> Int -> Maybe a getAt list index = List.head <| List.drop index list removeAt : List a -> Int -> Maybe a removeAt list index = if index < length li...
a94eb31a5551883c26480087098fa7c537cb5884
src/MyList.elm
src/MyList.elm
Elm
<|file_sep|>original/muranoagent/version.py # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # d...
<|file_sep|>original/muranoagent/version.py # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
15652b6817ad4548881883ee89981aff49c52c56
muranoagent/version.py
muranoagent/version.py
Python
<|file_sep|>original/dallinger/default_configs/local_config_defaults.txt [Experiment] mode = debug [Database] database_url = postgresql://postgres@localhost/dallinger [Server] host = localhost port = 22362 logfile = server.log loglevel = 0 threads = auto whimsical = true <|file_sep|>current/dallinger/default_configs/...
[Experiment] mode = debug [Database] database_url = postgresql://postgres@localhost/dallinger [Server] host = localhost port = 5000 logfile = server.log loglevel = 0 threads = auto whimsical = true
<|file_sep|>original/dallinger/default_configs/local_config_defaults.txt [Experiment] mode = debug [Database] database_url = postgresql://postgres@localhost/dallinger [Server] host = localhost port = 22362 logfile = server.log loglevel = 0 threads = auto whimsical = true <|file_sep|>current/dallinger/default_configs/...
78310e7b3a2c90b2e9644f518e14c55853074658
dallinger/default_configs/local_config_defaults.txt
dallinger/default_configs/local_config_defaults.txt
Text
<|file_sep|>original/release/scripts/proflibs-install.sh #!/bin/sh # # $FreeBSD$ # if [ "`id -u`" != "0" ]; then echo "Sorry, this must be done as root." exit 1 fi cat proflibs.?? | tar --unlink -xpzf - -C ${DESTDIR:-/} cd ${DESTDIR:-/}usr/lib if [ -f libdescrypt_p.a ] then ln -f -s libdescrypt_p.a libcrypt_p.a fi ...
#!/bin/sh # # $FreeBSD$ # if [ "`id -u`" != "0" ]; then echo "Sorry, this must be done as root." exit 1 fi cat proflibs.?? | tar --unlink -xpzf - -C ${DESTDIR:-/} cd ${DESTDIR}/usr/lib if [ -f libdescrypt_p.a ] then ln -f -s libdescrypt_p.a libcrypt_p.a fi exit 0
<|file_sep|>original/release/scripts/proflibs-install.sh #!/bin/sh # # $FreeBSD$ # if [ "`id -u`" != "0" ]; then echo "Sorry, this must be done as root." exit 1 fi cat proflibs.?? | tar --unlink -xpzf - -C ${DESTDIR:-/} cd ${DESTDIR:-/}usr/lib if [ -f libdescrypt_p.a ] then ln -f -s libdescrypt_p.a libcrypt_p.a fi ...
22c55c25c47f849476fcb094e94ddb2eedce714e
release/scripts/proflibs-install.sh
release/scripts/proflibs-install.sh
Shell
<|file_sep|>original/features/step_definitions/view_steps.rb def check_view_values(container, table) table.hashes.each do |row| container.find(".label:contains('#{row[:label]}') + span").should have_content row[:value] end end def check_details(details_selector, title, description, table) details = page.fin...
def check_view_values(container, table) table.hashes.each do |row| container.find(".label:contains('#{row[:label]}') + span").should have_content row[:value] end end def check_details(details_selector, title, description, table) page.wait_until(5){ page.first details_selector } # CI tests fail randomly if w...
<|file_sep|>original/features/step_definitions/view_steps.rb def check_view_values(container, table) table.hashes.each do |row| container.find(".label:contains('#{row[:label]}') + span").should have_content row[:value] end end def check_details(details_selector, title, description, table) details = page.fin...
a44e82a34dbf309960b2de989789f4c3550fde35
features/step_definitions/view_steps.rb
features/step_definitions/view_steps.rb
Ruby
<|file_sep|>original/test/DropdownAlert-test.js describe('DropdownAlert', () => { it('should exist', () => { let wrapper = shallow(<DropdownAlert />) should.exist(wrapper) }) it('should find custom sub components', () => { let wrapper = shallow(<DropdownAlert imageUri={'https://facebook.github.io/reac...
describe('DropdownAlert', () => { it('should exist', () => { let wrapper = shallow(<DropdownAlert />) should.exist(wrapper) }) it('should find custom sub components', () => { let wrapper = shallow(<DropdownAlert imageUri={'https://facebook.github.io/react/img/logo_og.png'} />) wrapper.instance().a...
<|file_sep|>original/test/DropdownAlert-test.js describe('DropdownAlert', () => { it('should exist', () => { let wrapper = shallow(<DropdownAlert />) should.exist(wrapper) }) it('should find custom sub components', () => { let wrapper = shallow(<DropdownAlert imageUri={'https://facebook.github.io/reac...
ad5e00014a10c1130b4e6444c433e8da62bbc83f
test/DropdownAlert-test.js
test/DropdownAlert-test.js
JavaScript
<|file_sep|>original/scripts/whereami.js const os = require('os'); const hostname = os.hostname(); module.exports = robot => robot.respond(/where are you/i, message => message.send(hostname)) ; <|file_sep|>current/scripts/whereami.js const os = require('os'); const hostname = os.hostname(); module.exports = robot =...
const os = require('os'); const hostname = os.hostname().includes('Kyle-Andrews-MacBook-Pro') ? 'Chilling with @kwandrews7 :mustang:' : 'Hanging out in the Cloud :cloud:'; module.exports = robot => robot.respond(/where are you/i, message => message.send(hostname)) ;
<|file_sep|>original/scripts/whereami.js const os = require('os'); const hostname = os.hostname(); module.exports = robot => robot.respond(/where are you/i, message => message.send(hostname)) ; <|file_sep|>current/scripts/whereami.js const os = require('os'); const hostname = os.hostname(); module.exports = robot =...
f00005c5e8568be8ce800997c3360ed6a8676ab0
scripts/whereami.js
scripts/whereami.js
JavaScript
<|file_sep|>original/middleware/configuration/command_line_args.go package configuration import "flag" func FromCommandLineArgs() *ApplicationConfiguration { hostPort := flag.String("hostPort", ":9000", "Host:port of the greenwall HTTP server") staticDir := flag.String("staticDir", "frontend", "Path to frontend sta...
package configuration import "flag" func FromCommandLineArgs() *ApplicationConfiguration { hostPort := flag.String("hostPort", ":9001", "Host:port of the greenwall HTTP server") staticDir := flag.String("staticDir", "frontend", "Path to frontend static resources") flag.Parse() return &ApplicationConfiguration{ ...
<|file_sep|>original/middleware/configuration/command_line_args.go package configuration import "flag" func FromCommandLineArgs() *ApplicationConfiguration { hostPort := flag.String("hostPort", ":9000", "Host:port of the greenwall HTTP server") staticDir := flag.String("staticDir", "frontend", "Path to frontend sta...
27a30ad59a93c22962db76c69f49bc46b4a9e7f8
middleware/configuration/command_line_args.go
middleware/configuration/command_line_args.go
Go
<|file_sep|>original/README.md # Output Colorizer Colorize your output with this simple to use and extensible library ## Syntax ```csharp Colorizer.WriteLine("[<color>!<text>]"); ``` - The segment that should be colored with a given color is included in `[` and `]`. - The color is specified immediately after the `[` ...
# Output Colorizer Colorize your output with this simple to use and extensible library ## Download This is available as a [Nuget package](https://www.nuget.org/packages/OutputColorizer/) and you can use it in your Desktop for .NET Core application. ## Syntax ```csharp Colorizer.WriteLine("[<color>!<text>]"); ``` - Th...
<|file_sep|>original/README.md # Output Colorizer Colorize your output with this simple to use and extensible library ## Syntax ```csharp Colorizer.WriteLine("[<color>!<text>]"); ``` - The segment that should be colored with a given color is included in `[` and `]`. - The color is specified immediately after the `[` ...
6bf6377fa475e521d8b6bf9eb1b9ba3aada79308
README.md
README.md
Markdown
<|file_sep|>original/modules/base/ext.echo.base.css text-align: right; } .mw-echo-title { font-size: 13px; font-weight: bold; line-height: 12px; } .mw-echo-content { font-size: 11px; } .mw-echo-notification { clear: both; display: block; margin-top: 10px; margin-bottom: 10px; color: #252525; height: 42px;...
} .mw-echo-title { font-size: 13px; font-weight: bold; line-height: 12px; } .mw-echo-content { font-size: 11px; } .mw-echo-notification { clear: both; display: block; margin-top: 10px; margin-bottom: 10px; color: #252525; height: 42px; overflow: none; }
<|file_sep|>original/modules/base/ext.echo.base.css text-align: right; } .mw-echo-title { font-size: 13px; font-weight: bold; line-height: 12px; } .mw-echo-content { font-size: 11px; } .mw-echo-notification { clear: both; display: block; margin-top: 10px; margin-bottom: 10px; color: #252525; height: 42px;...
4470164f87f210547a0e2409a9ebb9579cedc5ed
modules/base/ext.echo.base.css
modules/base/ext.echo.base.css
CSS
<|file_sep|>original/src/Controller/AbstractController.php $this->bootstrap = $bootstrap; $this->method = $defaultMethod; } public function run() { // You could implement "middleware" here or load dependencies in your controller by using boomerang } public function next() ...
$this->bootstrap = $bootstrap; $this->method = $defaultMethod; } public function run() { // You could implement "middleware" here or load dependencies in your controller by using boomerang } public function next() { $dispatchMethod = $this->method . 'Action'; ...
<|file_sep|>original/src/Controller/AbstractController.php $this->bootstrap = $bootstrap; $this->method = $defaultMethod; } public function run() { // You could implement "middleware" here or load dependencies in your controller by using boomerang } public function next() ...
8a87de21009c57a267e539b55dd13eedae60163a
src/Controller/AbstractController.php
src/Controller/AbstractController.php
PHP
<|file_sep|>original/src/projections/atoms/tail/index.md (String, Object) -> * Array -> Object -> * (Array, Object) -> * ``` **EXAMPLE** ```js const myObject = { rooms: { kitchen: { refrigerator: [ 'eggs', 'beer', 'milk' ] } } }; $tail('rooms.kitchen.refrigerator', myObject); // returns ['beer...
rooms: { kitchen: { refrigerator: [ 'eggs', 'beer', 'milk' ] } } }; $tail('rooms.kitchen.refrigerator', myObject); // returns ['beer', 'milk'] ``` **IMMUTABLE JS SUPPORT** *the following types are supported for values targeted by `path`*: ``` Iterable.Indexed Iterable.Keyed Iterable.Set ```
<|file_sep|>original/src/projections/atoms/tail/index.md (String, Object) -> * Array -> Object -> * (Array, Object) -> * ``` **EXAMPLE** ```js const myObject = { rooms: { kitchen: { refrigerator: [ 'eggs', 'beer', 'milk' ] } } }; $tail('rooms.kitchen.refrigerator', myObject); // returns ['beer...
2bd6e0bd64fb6546831f2abf41f7fc3163526aa0
src/projections/atoms/tail/index.md
src/projections/atoms/tail/index.md
Markdown
<|file_sep|>original/lib/models/badges/nice_question.rb end def progress_description question = service.fetch('users', 'questions', { ids: user_id, sort: 'votes', order: 'desc', pagesize: 1 }).to_a.first title = question['title'] score = question['score'].to_i remaining...
end def progress_description question = service.fetch('users', 'questions', { ids: user_id, sort: 'votes', order: 'desc', pagesize: 1 }).to_a.first title = question['title'] score = question['score'] remaining = 10 - score "Your question \"#{title}\" has #{score} v...
<|file_sep|>original/lib/models/badges/nice_question.rb end def progress_description question = service.fetch('users', 'questions', { ids: user_id, sort: 'votes', order: 'desc', pagesize: 1 }).to_a.first title = question['title'] score = question['score'].to_i remaining...
13f354cc15f7801db94ac4eed4a543e3e79fc104
lib/models/badges/nice_question.rb
lib/models/badges/nice_question.rb
Ruby
<|file_sep|>original/app/tests/test_utils.py <|file_sep|>current/app/tests/test_utils.py <|file_sep|>updated/app/tests/test_utils.py
from redidropper.utils import clean_int, allowed_file #import unittest #class TestUtils(unittest.TestCase): def test_clean_int(): """ Verify common cases """ cases = [ {"x": None, "exp": None}, {"x": "", "exp": None}, {"x": " ", "exp": None}, ...
<|file_sep|>original/app/tests/test_utils.py <|file_sep|>current/app/tests/test_utils.py <|file_sep|>updated/app/tests/test_utils.py from redidropper.utils import clean_int, allowed_file #import unittest #class TestUtils(unittest.TestCase): def test_clean_int(): """ Verify common cases """ cases = [ ...
aee5bdbb09cd12478e4cdccb3db33dc3f5ffc498
app/tests/test_utils.py
app/tests/test_utils.py
Python
<|file_sep|>original/gulpfile.js target : 'ES5', noImplicitAny : true }; gulp.task('compile-test', function() { return gulp.src(['./test/**/*.ts']) .pipe(tsc(options)) .pipe(gulp.dest('.')); }); gulp.task('compile', ['compile-test'], function() { return gulp.src(['./ddt.ts']) ...
module : 'amd', target : 'ES5', noImplicitAny : true }; gulp.task('compile-test', function() { return gulp.src(['./test/**/*.ts']) .pipe(tsc(options)) .pipe(gulp.dest('.')); }); gulp.task('compile', ['compile-test'], function() { return gulp.src(['./ddt.ts']) ...
<|file_sep|>original/gulpfile.js target : 'ES5', noImplicitAny : true }; gulp.task('compile-test', function() { return gulp.src(['./test/**/*.ts']) .pipe(tsc(options)) .pipe(gulp.dest('.')); }); gulp.task('compile', ['compile-test'], function() { return gulp.src(['./ddt.ts']) ...
21487f407414d0d689f2564fb7dc8838fc0df8c3
gulpfile.js
gulpfile.js
JavaScript
<|file_sep|>original/server/api/conversion/index.js 'use strict'; var express = require('express'); var controller = require('./conversion.controller'); var router = express.Router(); router.post('/import', controller.import); router.post('/export/:format(cml,pdb,mol,mol2,smiles,hin)', controller.export); module.ex...
'use strict'; var express = require('express'); var controller = require('./conversion.controller'); var router = express.Router(); router.post('/import', controller.import); router.post('/export/:format(cml|pdb|mol|mol2|smiles|hin)', controller.export); module.exports = router;
<|file_sep|>original/server/api/conversion/index.js 'use strict'; var express = require('express'); var controller = require('./conversion.controller'); var router = express.Router(); router.post('/import', controller.import); router.post('/export/:format(cml,pdb,mol,mol2,smiles,hin)', controller.export); module.ex...
abdee493c6b6a9811eae773bf07512834e228afa
server/api/conversion/index.js
server/api/conversion/index.js
JavaScript
<|file_sep|>original/main/res/values/changelog_master.xml <?xml version="1.0" encoding="utf-8"?> <resources> <!-- changelog for the master branch --> <string name="changelog_master" translatable="false"> </string> </resources> <|file_sep|>current/main/res/values/changelog_master.xml <?xml version="1.0" encoding="...
<?xml version="1.0" encoding="utf-8"?> <resources> <!-- changelog for the master branch --> <string name="changelog_master" translatable="false"> <b>Next feature release:</b>\n · [nothing yet]\n \n </string> </resources>
<|file_sep|>original/main/res/values/changelog_master.xml <?xml version="1.0" encoding="utf-8"?> <resources> <!-- changelog for the master branch --> <string name="changelog_master" translatable="false"> </string> </resources> <|file_sep|>current/main/res/values/changelog_master.xml <?xml version="1.0" encoding="...
5b54d3ea8b75cd865c2f242484e39a676945021b
main/res/values/changelog_master.xml
main/res/values/changelog_master.xml
XML
<|file_sep|>original/tox.ini [tox] envlist = py27,py33,py34,pypy,coverage [testenv] setenv = COVERAGE_FILE={toxinidir}/.coverage.{envname} commands = python setup.py dev coverage run {envbindir}/py.test [] deps = pytest coverage<3.99 [testenv:flake8] commands = flake8 panoramisk deps = fla...
[tox] envlist = py27,py33,py34,pypy,coverage [flake8] max-line-length = 120 [testenv] setenv = COVERAGE_FILE={toxinidir}/.coverage.{envname} commands = python setup.py dev coverage run {envbindir}/py.test [] deps = pytest coverage<3.99 [testenv:flake8] commands = flake8 panoramisk deps = ...
<|file_sep|>original/tox.ini [tox] envlist = py27,py33,py34,pypy,coverage [testenv] setenv = COVERAGE_FILE={toxinidir}/.coverage.{envname} commands = python setup.py dev coverage run {envbindir}/py.test [] deps = pytest coverage<3.99 [testenv:flake8] commands = flake8 panoramisk deps = fla...
7ffe4f2c19e3c2965f5dcc2bd1f98833832855f7
tox.ini
tox.ini
INI
<|file_sep|>original/tox.ini [tox] minversion = 1.6 envlist = py26,py27,py33,pypy,pep8 skipsdist = True [testenv] usedevelop = True install_command = pip install -U {opts} {packages} setenv = VIRTUAL_ENV={envdir} deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = python setu...
[tox] minversion = 1.6 envlist = py26,py27,py33,py34,pypy,pep8 skipsdist = True [testenv] usedevelop = True install_command = pip install -U {opts} {packages} setenv = VIRTUAL_ENV={envdir} deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = python setup.py testr --slowest --t...
<|file_sep|>original/tox.ini [tox] minversion = 1.6 envlist = py26,py27,py33,pypy,pep8 skipsdist = True [testenv] usedevelop = True install_command = pip install -U {opts} {packages} setenv = VIRTUAL_ENV={envdir} deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = python setu...
72474adf4fd76c4f843d1d73d66e1e19654a9b35
tox.ini
tox.ini
INI
<|file_sep|>original/requirements/base.txt # Bleeding edge Django django==1.9.6 # Configuration django-environ==0.4.0 django-secure==1.0.1 whitenoise==3.1 # Forms django-braces==1.8.1 django-crispy-forms==1.6.0 # Models django-model-utils==2.5 # Images Pillow==3.2.0 # For user registration, either via email or soc...
# Bleeding edge Django django==1.9.6 # Configuration django-environ==0.4.0 django-secure==1.0.1 whitenoise==3.1 # Forms django-braces==1.9.0 django-crispy-forms==1.6.0 # Models django-model-utils==2.5 # Images Pillow==3.2.0 # For user registration, either via email or social # Well-built with regular release cycle...
<|file_sep|>original/requirements/base.txt # Bleeding edge Django django==1.9.6 # Configuration django-environ==0.4.0 django-secure==1.0.1 whitenoise==3.1 # Forms django-braces==1.8.1 django-crispy-forms==1.6.0 # Models django-model-utils==2.5 # Images Pillow==3.2.0 # For user registration, either via email or soc...
8c874ca9827778f56f3512ae65ac3eb2888fb383
requirements/base.txt
requirements/base.txt
Text
<|file_sep|>original/.travis.yml language: python python: - "3.4" addons: postgresql: "9.3" git: submodules: false # Handle git submodules yourself before_install: - sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules # Use sed to replace the ssh url with public https url notifications: email: ...
language: python python: - "3.4" addons: postgresql: "9.3" git: submodules: false # Handle git submodules yourself before_install: - sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules # Use sed to replace the ssh url with public https url - export DISPLAY=:10 - sudo Xvfb ${DISPLAY} -ac &...
<|file_sep|>original/.travis.yml language: python python: - "3.4" addons: postgresql: "9.3" git: submodules: false # Handle git submodules yourself before_install: - sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules # Use sed to replace the ssh url with public https url notifications: email: ...
8d4c0d4023a1915deee18e963439553705292545
.travis.yml
.travis.yml
YAML
<|file_sep|>original/recipes/pcdsutils/meta.yaml build: number: 0 noarch: python script: "{{ PYTHON }} -m pip install . --no-deps -vv" requirements: host: - python >=3.6 - pip - setuptools - pyqt >=5 - qtpy run: - python >=3.6 - pyqt >=5 - qtpy test: imports: - pcdsuti...
build: number: 0 noarch: python script: "{{ PYTHON }} -m pip install . --no-deps -vv" requirements: host: - python >=3.6 - pip - setuptools run: - python >=3.6 - pyqt >=5 - qtpy test: imports: - pcdsutils - pcdsutils.qt
<|file_sep|>original/recipes/pcdsutils/meta.yaml build: number: 0 noarch: python script: "{{ PYTHON }} -m pip install . --no-deps -vv" requirements: host: - python >=3.6 - pip - setuptools - pyqt >=5 - qtpy run: - python >=3.6 - pyqt >=5 - qtpy test: imports: - pcdsuti...
f827d1b746a6c02bc925658a27df5a7353b65665
recipes/pcdsutils/meta.yaml
recipes/pcdsutils/meta.yaml
YAML
<|file_sep|>original/web/controllers/twitter_controller.ex use TwitterGrapher.Web, :controller def new(conn, _params) do render conn, "new.html" end def create(conn, %{"screen_name" => screen_name}) do user = Twitter.UserRetriever.user(screen_name) followers = Twitter.FollowerRetriever.followers(s...
defmodule TwitterGrapher.TwitterController do use TwitterGrapher.Web, :controller def new(conn, _params) do render conn, "new.html" end def create(conn, %{"screen_name" => screen_name}) do user = Twitter.UserRetriever.user(screen_name) followers = Twitter.FollowerRetriever.followers(screen_name) ...
<|file_sep|>original/web/controllers/twitter_controller.ex use TwitterGrapher.Web, :controller def new(conn, _params) do render conn, "new.html" end def create(conn, %{"screen_name" => screen_name}) do user = Twitter.UserRetriever.user(screen_name) followers = Twitter.FollowerRetriever.followers(s...
3fca4874bc9393c240b2b3f4a3732be9ec478598
web/controllers/twitter_controller.ex
web/controllers/twitter_controller.ex
Elixir
<|file_sep|>original/lib/scss_lint/reporter/xml_reporter.rb # Reports lints in an XML format. class Reporter::XMLReporter < Reporter def report_lints output = '<?xml version="1.0" encoding="utf-8"?>' output << '<lint>' lints.group_by(&:filename).each do |filename, file_lints| output <...
# Reports lints in an XML format. class Reporter::XMLReporter < Reporter def report_lints output = '<?xml version="1.0" encoding="utf-8"?>' output << '<lint>' lints.group_by(&:filename).each do |filename, file_lints| output << "<file name=#{filename.encode(xml: :attr)}>" file...
<|file_sep|>original/lib/scss_lint/reporter/xml_reporter.rb # Reports lints in an XML format. class Reporter::XMLReporter < Reporter def report_lints output = '<?xml version="1.0" encoding="utf-8"?>' output << '<lint>' lints.group_by(&:filename).each do |filename, file_lints| output <...
761b32e455eebed8bc88e83ca44a4c9e24c80145
lib/scss_lint/reporter/xml_reporter.rb
lib/scss_lint/reporter/xml_reporter.rb
Ruby
<|file_sep|>original/Artsy/Classes/Views/ARArtworkRelatedArtworksView.h - (void)cancelRequests; - (void)updateWithArtwork:(Artwork *)artwork; - (void)updateWithArtwork:(Artwork *)artwork withCompletion:(void(^)())completion; // TODO make all these private // Use this when showing an artwork in the context of a fair...
@protocol ARArtworkRelatedArtworksViewParentViewController <NSObject> @required - (void)relatedArtworksView:(ARArtworkRelatedArtworksView *)view shouldShowViewController:(UIViewController *)viewController; - (void)relatedArtworksView:(ARArtworkRelatedArtworksView *)view didAddSection:(UIView *)section; @optional - (...
<|file_sep|>original/Artsy/Classes/Views/ARArtworkRelatedArtworksView.h - (void)cancelRequests; - (void)updateWithArtwork:(Artwork *)artwork; - (void)updateWithArtwork:(Artwork *)artwork withCompletion:(void(^)())completion; // TODO make all these private // Use this when showing an artwork in the context of a fair...
f7629773ce822641fcb918f68c4c47d79c90f903
Artsy/Classes/Views/ARArtworkRelatedArtworksView.h
Artsy/Classes/Views/ARArtworkRelatedArtworksView.h
C
<|file_sep|>original/requirements.txt # Core packages python-dotenv==0.15.0 # Read environment variables from .env Flask==1.1.2 # Web microframework uWSGI==2.0.19.1 # Application server syspath==2.0.4 # Modify paths # Features feedgen==0.9.0 # Generate atom feeds flask-sitemap==0.3.0 ...
# Core packages python-dotenv==0.15.0 # Read environment variables from .env Flask==1.1.2 # Web microframework uWSGI==2.0.19.1 # Application server syspath==2.0.4 # Modify paths # Features feedgen==0.9.0 # Generate atom feeds flask-sitemap==0.3.0 # Web sitemaps markdown2==2.4.0 ...
<|file_sep|>original/requirements.txt # Core packages python-dotenv==0.15.0 # Read environment variables from .env Flask==1.1.2 # Web microframework uWSGI==2.0.19.1 # Application server syspath==2.0.4 # Modify paths # Features feedgen==0.9.0 # Generate atom feeds flask-sitemap==0.3.0 ...
d9aca6b6349e1c1833c80e7a2e43a4c71eb12068
requirements.txt
requirements.txt
Text
<|file_sep|>original/spec/controllers/api/v1/speed_skydiving_competitions_controller_spec.rb <|file_sep|>current/spec/controllers/api/v1/speed_skydiving_competitions_controller_spec.rb <|file_sep|>updated/spec/controllers/api/v1/speed_skydiving_competitions_controller_spec.rb
describe Api::V1::SpeedSkydivingCompetitionsController do let(:event) { speed_skydiving_competitions(:nationals) } describe '#show' do it 'forbidden when user does not have access' do user = create(:user) sign_in user event.draft! get :show, params: { id: event.id }, format: :json ...
<|file_sep|>original/spec/controllers/api/v1/speed_skydiving_competitions_controller_spec.rb <|file_sep|>current/spec/controllers/api/v1/speed_skydiving_competitions_controller_spec.rb <|file_sep|>updated/spec/controllers/api/v1/speed_skydiving_competitions_controller_spec.rb describe Api::V1::SpeedSkydivingCompetiti...
ef9af35657e02937fa6b1b03591af99b0a0a9540
spec/controllers/api/v1/speed_skydiving_competitions_controller_spec.rb
spec/controllers/api/v1/speed_skydiving_competitions_controller_spec.rb
Ruby
<|file_sep|>original/app/assets/stylesheets/_player.scss font-size: 2em; padding-top: 25px; text-align: center; color: #fff; } .white { color: #fff; } .outer_player { @include outer-container; @include background(radial-gradient(#084B8A, #A9D0F5) left repeat); }; .slogan { text-align: center; paddi...
font-size: 2em; padding-top: 25px; text-align: center; color: #fff; } .white { color: #fff; } .blue { color: $dark-blue; } .outer_player { @include outer-container; @include background(radial-gradient(#084B8A, #A9D0F5) left repeat); }; .slogan { text-align: center;
<|file_sep|>original/app/assets/stylesheets/_player.scss font-size: 2em; padding-top: 25px; text-align: center; color: #fff; } .white { color: #fff; } .outer_player { @include outer-container; @include background(radial-gradient(#084B8A, #A9D0F5) left repeat); }; .slogan { text-align: center; paddi...
adc0b4bae41c3b6203e0e0b0f0a8167cb4f56647
app/assets/stylesheets/_player.scss
app/assets/stylesheets/_player.scss
SCSS
<|file_sep|>metadata/org.bobstuff.bobball.txt.diff original: updated: Build:1.6,9 commit=v1.6 <|file_sep|>original/metadata/org.bobstuff.bobball.txt Build:1.3.1,5 disable=resource issues commit=v1.3.1 Build:1.4,6 disable=resource issues commit=v1.4 Build:1.5,7 disable=resource issues co...
commit=v1.3.1 Build:1.4,6 disable=resource issues commit=v1.4 Build:1.5,7 disable=resource issues commit=v1.5 Build:1.5.1,8 commit=v1.5.1 Build:1.6,9 commit=v1.6 Auto Update Mode:Version v%v Update Check Mode:Tags Current Version:1.6 Current Version Code:9
<|file_sep|>metadata/org.bobstuff.bobball.txt.diff original: updated: Build:1.6,9 commit=v1.6 <|file_sep|>original/metadata/org.bobstuff.bobball.txt Build:1.3.1,5 disable=resource issues commit=v1.3.1 Build:1.4,6 disable=resource issues commit=v1.4 Build:1.5,7 disable=resource issues co...
475263582d873a688d9ce99a1c65124b4232b919
metadata/org.bobstuff.bobball.txt
metadata/org.bobstuff.bobball.txt
Text
<|file_sep|>original/{{cookiecutter.project_slug}}/requirements/base.txt Django==1.10.1 wagtail==1.6.2 wagtailfontawesome==1.0.5 celery==3.1.23 django-cachalot==1.4.0 django-compressor==2.1 django-environ==0.4.0 django-foundation-formtags==0.0.7 django-wagtail-feeds==0.0.4 django-libsass==0.7 django-redis==4.5.0 elasti...
Django==1.10.1 wagtail==1.6.3 wagtailfontawesome==1.0.5 celery==3.1.23 django-cachalot==1.4.0 django-compressor==2.1 django-environ==0.4.0 django-foundation-formtags==0.0.7 django-wagtail-feeds==0.0.4 django-libsass==0.7 django-redis==4.5.0 elasticsearch==2.4.0 libsass==0.11.1 psycopg2==2.6.2 {% if cookiecutter.use_wag...
<|file_sep|>original/{{cookiecutter.project_slug}}/requirements/base.txt Django==1.10.1 wagtail==1.6.2 wagtailfontawesome==1.0.5 celery==3.1.23 django-cachalot==1.4.0 django-compressor==2.1 django-environ==0.4.0 django-foundation-formtags==0.0.7 django-wagtail-feeds==0.0.4 django-libsass==0.7 django-redis==4.5.0 elasti...
377ae7384227a994f5715f76d585b70445d3d5d6
{{cookiecutter.project_slug}}/requirements/base.txt
{{cookiecutter.project_slug}}/requirements/base.txt
Text
<|file_sep|>original/file-service/app/Main.hs main = do createDirectoryIfMissing True "/data/files" -- Create any missing directory structure for our file storage nodeId <- registerWithDirectoryService pool <- runStdoutLoggingT $ createPostgresqlPool connStr 5 application <- app pool nodeId run 8080 $ logStdo...
main :: IO () main = do createDirectoryIfMissing True "/data/files" -- Create any missing directory structure for our file storage nodeId <- registerWithDirectoryService pool <- runStdoutLoggingT $ createPostgresqlPool connStr 5 application <- app pool nodeId run 8080 $ logStdoutDev application -- Registers ...
<|file_sep|>original/file-service/app/Main.hs main = do createDirectoryIfMissing True "/data/files" -- Create any missing directory structure for our file storage nodeId <- registerWithDirectoryService pool <- runStdoutLoggingT $ createPostgresqlPool connStr 5 application <- app pool nodeId run 8080 $ logStdo...
d4b69b05957add3e6a156448e87e7ce540baaa1d
file-service/app/Main.hs
file-service/app/Main.hs
Haskell
<|file_sep|>original/bower.json ], "main": [ "hawkular-charts.js", "css/hawkular-charts.css" ], "repository": { "type": "git", "url": "git://github.com/hawkular/hawkular-charts.git" }, "dependencies": { "angular": "~1.3.0", "jquery": ">2.0.0", "d3": "3.5.5", "moment": ">2.9.0...
], "main": [ "hawkular-charts.js", "css/hawkular-charts.css" ], "repository": { "type": "git", "url": "git://github.com/hawkular/hawkular-charts.git" }, "dependencies": { "angular": "^1.3.0", "jquery": "^2.0.0", "d3": "3.5.5", "moment": ">2.9.0", "d3-tip": "0.6.7", "n...
<|file_sep|>original/bower.json ], "main": [ "hawkular-charts.js", "css/hawkular-charts.css" ], "repository": { "type": "git", "url": "git://github.com/hawkular/hawkular-charts.git" }, "dependencies": { "angular": "~1.3.0", "jquery": ">2.0.0", "d3": "3.5.5", "moment": ">2.9.0...
6c28bf5f181657e65747902e0b8e54b06a17327c
bower.json
bower.json
JSON
<|file_sep|>original/tsconfig.json "removeComments": false, "preserveConstEnums": true, "sourceMap": true, "declaration": true, "noImplicitAny": true, "suppressImplicitAnyIndexErrors": true, "module": "commonjs", "target": "ES5", "outDir": "./" }, "formatCodeOptions": { "inde...
"module": "commonjs", "target": "ES5", "outDir": "./" }, "formatCodeOptions": { "indentSize": 2, "tabSize": 2 }, "files": [ "src/index.ts", "src/components/Button/index.ts", "src/components/FontIcon/index.ts" ], "filesGlob": [ "typings/index.d.ts", "src/**/*.ts" ], ...
<|file_sep|>original/tsconfig.json "removeComments": false, "preserveConstEnums": true, "sourceMap": true, "declaration": true, "noImplicitAny": true, "suppressImplicitAnyIndexErrors": true, "module": "commonjs", "target": "ES5", "outDir": "./" }, "formatCodeOptions": { "inde...
c663edaf17497a6cbdc5ceabfa4cebedca69bd01
tsconfig.json
tsconfig.json
JSON
<|file_sep|>original/composer.json }, { "name": "abcsun", "email": "chenglongsun_nj@163.com", "role": "Developer", "homepage": "http://github.com/abcsun" } ], "require": { "php": ">=5.3.3", "qiniu/php-sdk": "7.2.7", "league/flysystem": "^1.0" }, "autoload": { ...
}, { "name": "abcsun", "email": "chenglongsun_nj@163.com", "role": "Developer", "homepage": "http://github.com/abcsun" } ], "require": { "php": ">=5.3.3", "qiniu/php-sdk": "^7.2", "league/flysystem": "^1.0" }, "autoload": { "psr-4": { "zgldh\\QiniuStorag...
<|file_sep|>original/composer.json }, { "name": "abcsun", "email": "chenglongsun_nj@163.com", "role": "Developer", "homepage": "http://github.com/abcsun" } ], "require": { "php": ">=5.3.3", "qiniu/php-sdk": "7.2.7", "league/flysystem": "^1.0" }, "autoload": { ...
abb9b8e2ef53d44b6a07ba4e4df0dde21f15eff3
composer.json
composer.json
JSON
<|file_sep|>original/rename-to-my-project.sh then echo Your new app name MUST start with \"harbour-\" exit fi echo Replacing "harbour-helloworld-pro-sailfish" with "$newname" # iterating over all files except for the binary ones for fl in `find . -type f -print | xargs file | grep ASCII | cut -d: -f1` do # Ign...
then echo Your new app name MUST start with \"harbour-\" exit fi echo Replacing "harbour-helloworld-pro-sailfish" with "$newname" # iterating over all files except for the binary ones for fl in `find . -type f -print | xargs file | grep ASCII | cut -d: -f1` do # Ignore this particular file and everything insid...
<|file_sep|>original/rename-to-my-project.sh then echo Your new app name MUST start with \"harbour-\" exit fi echo Replacing "harbour-helloworld-pro-sailfish" with "$newname" # iterating over all files except for the binary ones for fl in `find . -type f -print | xargs file | grep ASCII | cut -d: -f1` do # Ign...
2bf0a43fa5e4931fa3be02576be3d3d5837f9663
rename-to-my-project.sh
rename-to-my-project.sh
Shell
<|file_sep|>original/composer.json { "name": "Ramiro Vera", "email": "raalveco@gmail.com", "role": "Developer" } ], "minimum-stability": "dev", "require": {}, "autoload": { "psr-4": { "Scaffolding": "src/" } }, "scri...
{ "name": "Ramiro Vera", "email": "raalveco@gmail.com", "role": "Developer" } ], "minimum-stability": "dev", "require": {}, "autoload": { "psr-4": { "Scaffolding\\": "src/" } }, "scripts": { "post-install-cmd...
<|file_sep|>original/composer.json { "name": "Ramiro Vera", "email": "raalveco@gmail.com", "role": "Developer" } ], "minimum-stability": "dev", "require": {}, "autoload": { "psr-4": { "Scaffolding": "src/" } }, "scri...
8938928673d0a536a3de3533eb5207695871f4f3
composer.json
composer.json
JSON
<|file_sep|>original/metadata/de.kromke.andreas.mediascanner.yml Description: |- Scans the device for local audio files and builds a database to be used by Unpopular Music Player or Opus 1 Music Player. Contrary to the Android service it knows about composers, works, movements, conductors etc. RepoType: gi...
Description: |- Scans the device for local audio files and builds a database to be used by Unpopular Music Player or Opus 1 Music Player. Contrary to the Android service it knows about composers, works, movements, conductors etc. RepoType: git Repo: https://gitlab.com/AndreasK/mediascanner.git Builds: -...
<|file_sep|>original/metadata/de.kromke.andreas.mediascanner.yml Description: |- Scans the device for local audio files and builds a database to be used by Unpopular Music Player or Opus 1 Music Player. Contrary to the Android service it knows about composers, works, movements, conductors etc. RepoType: gi...
c566006a183566fa2abcd852ae554ba4797a7ecc
metadata/de.kromke.andreas.mediascanner.yml
metadata/de.kromke.andreas.mediascanner.yml
YAML
<|file_sep|>original/requirements.txt # Core packages django-dotenv==1.4.1 # Read environment variables from .env django-getenv==1.3.1 # Get environment variables Flask==0.12.0 # Web microframework Flask-Assets==0.12 # Merge and minify CSS and JS assets Jinja2>=2.8.1 # Templating for Flask; pinned past ...
# Core packages django-dotenv==1.4.1 # Read environment variables from .env django-getenv==1.3.1 # Get environment variables Flask==0.12.0 # Web microframework Flask-Assets==0.12 # Merge and minify CSS and JS assets Jinja2>=2.8.1 # Templating for Flask; pinned past security update cssmin==0.2.0 #...
<|file_sep|>original/requirements.txt # Core packages django-dotenv==1.4.1 # Read environment variables from .env django-getenv==1.3.1 # Get environment variables Flask==0.12.0 # Web microframework Flask-Assets==0.12 # Merge and minify CSS and JS assets Jinja2>=2.8.1 # Templating for Flask; pinned past ...
4dd4285d7417738ec0288f7b1be170bfd8903587
requirements.txt
requirements.txt
Text
<|file_sep|>src/base/src/pipe.cpp.diff original: //Stream::readStart(); updated: Stream::init(); <|file_sep|>original/src/base/src/pipe.cpp uv_pipe_init(loop(), ptr<uv_pipe_t>(), ipc ? 1 : 0); //Stream::readStart(); } bool Pipe::readStart() { return Stream::readStart(); } // //bool Pipe::readStop...
uv_pipe_init(loop(), ptr<uv_pipe_t>(), ipc ? 1 : 0); Stream::init(); } bool Pipe::readStart() { return Stream::readStart(); } // bool Pipe::readStop() // { // return Stream::readStop(); // } } // namespace scy /// @\}
<|file_sep|>src/base/src/pipe.cpp.diff original: //Stream::readStart(); updated: Stream::init(); <|file_sep|>original/src/base/src/pipe.cpp uv_pipe_init(loop(), ptr<uv_pipe_t>(), ipc ? 1 : 0); //Stream::readStart(); } bool Pipe::readStart() { return Stream::readStart(); } // //bool Pipe::readStop...
63ac2d96e086774c288dbe0224f439d25061d348
src/base/src/pipe.cpp
src/base/src/pipe.cpp
C++
<|file_sep|>original/sana_builder/webapp/models.py from django.db import models from django.contrib.auth.models import User class Procedure(models.Model): title = models.CharField(max_length=50) author = models.CharField(max_length=50) uuid = models.IntegerField(null=True) version = models.CharField(ma...
from django.db import models from django.contrib.auth.models import User class Procedure(models.Model): title = models.CharField(max_length=50) author = models.CharField(max_length=50) uuid = models.IntegerField(null=True, unique=True) version = models.CharField(max_length=50, null=True) owner = mo...
<|file_sep|>original/sana_builder/webapp/models.py from django.db import models from django.contrib.auth.models import User class Procedure(models.Model): title = models.CharField(max_length=50) author = models.CharField(max_length=50) uuid = models.IntegerField(null=True) version = models.CharField(ma...
75a27c416effd2958182b1401e49d6613a28857d
sana_builder/webapp/models.py
sana_builder/webapp/models.py
Python
<|file_sep|>original/composer.json { "name": "nediam/phraseapp-bundle", "minimum-stability": "dev", "authors": [ { "name": "Bartłomiej Kuleszewicz", "email": "nediam@staramilosna.info" } ], "autoload": { "psr-4": { "nediam\\PhraseAppBundle\...
{ "name": "nediam/phraseapp-bundle", "minimum-stability": "dev", "authors": [ { "name": "Bartłomiej Kuleszewicz", "email": "nediam@staramilosna.info" } ], "autoload": { "psr-4": { "nediam\\PhraseAppBundle\\": "" } }, "requir...
<|file_sep|>original/composer.json { "name": "nediam/phraseapp-bundle", "minimum-stability": "dev", "authors": [ { "name": "Bartłomiej Kuleszewicz", "email": "nediam@staramilosna.info" } ], "autoload": { "psr-4": { "nediam\\PhraseAppBundle\...
d6ce69f13614f44fa3c0a2795764dddf5dca24db
composer.json
composer.json
JSON
<|file_sep|>original/.github/workflows/valgrind.yml name: Valgrind on: workflow_dispatch: inputs: extra_resolve_options: description: "Extra Resolve Options" required: false schedule: - cron: "0 1 * * *" # 3 AM CET push: pull_request: jobs: valgrind: name: Valgrind uses: ...
name: Valgrind on: workflow_dispatch: inputs: extra_resolve_options: description: "Extra Resolve Options" required: false schedule: - cron: "0 1 * * *" # 3 AM CET push: pull_request: jobs: valgrind: name: Valgrind uses: steinwurf/valgrind-action/.github/workflows/action.y...
<|file_sep|>original/.github/workflows/valgrind.yml name: Valgrind on: workflow_dispatch: inputs: extra_resolve_options: description: "Extra Resolve Options" required: false schedule: - cron: "0 1 * * *" # 3 AM CET push: pull_request: jobs: valgrind: name: Valgrind uses: ...
f197f9d0bcaea6c999295ad45c18b071e7d8ada7
.github/workflows/valgrind.yml
.github/workflows/valgrind.yml
YAML
<|file_sep|>lib/puppet-lint/plugins/duplicate_class_parameters.rb.diff original: updated: next unless token.type == :VARIABLE <|file_sep|>lib/puppet-lint/plugins/duplicate_class_parameters.rb.diff original: if token.type == :VARIABLE next_type = token.next_code_token.type updated: nex...
inside = false end # only proceed if we're at the end of a declaration. next unless inside param_name = token.value seen[param_name] += 1 if seen[param_name] > 1 # warning output shows the parameter location each additional time it's seen ...
<|file_sep|>lib/puppet-lint/plugins/duplicate_class_parameters.rb.diff original: updated: next unless token.type == :VARIABLE <|file_sep|>lib/puppet-lint/plugins/duplicate_class_parameters.rb.diff original: if token.type == :VARIABLE next_type = token.next_code_token.type updated: nex...
28617587b16824f884cd91a0a5c6e4d1cce440e8
lib/puppet-lint/plugins/duplicate_class_parameters.rb
lib/puppet-lint/plugins/duplicate_class_parameters.rb
Ruby
<|file_sep|>ui/DefaultLabelProvider.js.diff original: getLabel(name) { updated: getLabel(name, context) { <|file_sep|>original/ui/DefaultLabelProvider.js Default label provider implementation */ class DefaultLabelProvider { constructor(labels, lang) { this.lang = lang || 'en' this.labels = labels } ...
*/ class DefaultLabelProvider { constructor(labels, lang) { this.lang = lang || 'en' this.labels = labels } getLabel(name, context) { let labels = this.labels[this.lang] if (!labels) return name let rawLabel = labels[name] || name // If context is provided, resolve templates if (conte...
<|file_sep|>ui/DefaultLabelProvider.js.diff original: getLabel(name) { updated: getLabel(name, context) { <|file_sep|>original/ui/DefaultLabelProvider.js Default label provider implementation */ class DefaultLabelProvider { constructor(labels, lang) { this.lang = lang || 'en' this.labels = labels } ...
904f80ef17b512bee6152b895933e4afe4977870
ui/DefaultLabelProvider.js
ui/DefaultLabelProvider.js
JavaScript
<|file_sep|>original/premiumizer/docker-entrypoint.sh #!/usr/bin/env sh PUID=${PUID:-6006} PGID=${PGID:-6006} groupmod -o -g "$PGID" premiumizer || true usermod -o -u "$PUID" premiumizer || true chown -R premiumizer:premiumizer /conf || true exec su-exec premiumizer "$@" <|file_sep|>current/premiumizer/docker-entry...
#!/usr/bin/env sh PUID=${PUID:-6006} PGID=${PGID:-6006} groupmod -o -g "$PGID" premiumizer || true usermod -o -u "$PUID" premiumizer || true chown -R premiumizer:premiumizer /conf || true # Allow write access on downloaded files to group and others umask 0000 exec su-exec premiumizer "$@"
<|file_sep|>original/premiumizer/docker-entrypoint.sh #!/usr/bin/env sh PUID=${PUID:-6006} PGID=${PGID:-6006} groupmod -o -g "$PGID" premiumizer || true usermod -o -u "$PUID" premiumizer || true chown -R premiumizer:premiumizer /conf || true exec su-exec premiumizer "$@" <|file_sep|>current/premiumizer/docker-entry...
3dc1f30124bf10507950e0f0b36af341938b6e2c
premiumizer/docker-entrypoint.sh
premiumizer/docker-entrypoint.sh
Shell
<|file_sep|>original/tests/scoring_engine/models/test_settings.py from tests.scoring_engine.unit_test import UnitTest class TestSetting(UnitTest): def test_init_setting(self): setting = Setting(name='test_setting', value='test value example') assert setting.id is None assert setting.name ...
from tests.scoring_engine.unit_test import UnitTest class TestSetting(UnitTest): def test_init_setting(self): setting = Setting(name='test_setting', value='test value example') assert setting.id is None assert setting.name == 'test_setting' assert setting.value == 'test value exam...
<|file_sep|>original/tests/scoring_engine/models/test_settings.py from tests.scoring_engine.unit_test import UnitTest class TestSetting(UnitTest): def test_init_setting(self): setting = Setting(name='test_setting', value='test value example') assert setting.id is None assert setting.name ...
763073bc71e59953b7010840fc7923fc15881265
tests/scoring_engine/models/test_settings.py
tests/scoring_engine/models/test_settings.py
Python
<|file_sep|>packages/si/size-based.yaml.diff original: hash: 4b80d184997eecc71076f3c3f99618a1ebd2fca0f28df3ab870cedf8958f578e updated: hash: 6237e9e81638873b5ec610805f5d01a0fa67f7c2e934700f9969fb1d786b89e7 <|file_sep|>original/packages/si/size-based.yaml homepage: '' changelog-type: '' hash: 4b80d184997eecc71076f3c3f99...
homepage: '' changelog-type: '' hash: 6237e9e81638873b5ec610805f5d01a0fa67f7c2e934700f9969fb1d786b89e7 test-bench-deps: {} maintainer: jonas.duregard@chalmers.se synopsis: Sized functors, for size-based enumerations changelog: '' basic-deps: base: ! '>=4.7 && <5' testing-type-modifiers: ! '>=0.1 && <1.0' dictiona...
<|file_sep|>packages/si/size-based.yaml.diff original: hash: 4b80d184997eecc71076f3c3f99618a1ebd2fca0f28df3ab870cedf8958f578e updated: hash: 6237e9e81638873b5ec610805f5d01a0fa67f7c2e934700f9969fb1d786b89e7 <|file_sep|>original/packages/si/size-based.yaml homepage: '' changelog-type: '' hash: 4b80d184997eecc71076f3c3f99...
b40cc0bc1b7cca6d364edfbe9293d0cbb449a05a
packages/si/size-based.yaml
packages/si/size-based.yaml
YAML
<|file_sep|>original/lib/docs/scrapers/redis.rb module Docs class Redis < UrlScraper self.type = 'redis' self.release = 'up to 3.2.4' self.base_url = 'http://redis.io/commands' self.links = { home: 'http://redis.io/', code: 'https://github.com/antirez/redis' } html_filters.push 'r...
module Docs class Redis < UrlScraper self.type = 'redis' self.release = 'up to 3.2.5' self.base_url = 'http://redis.io/commands' self.links = { home: 'http://redis.io/', code: 'https://github.com/antirez/redis' } html_filters.push 'redis/entries', 'redis/clean_html', 'title' ...
<|file_sep|>original/lib/docs/scrapers/redis.rb module Docs class Redis < UrlScraper self.type = 'redis' self.release = 'up to 3.2.4' self.base_url = 'http://redis.io/commands' self.links = { home: 'http://redis.io/', code: 'https://github.com/antirez/redis' } html_filters.push 'r...
a2ec670935bdeb4f75b5a8296ced7ea01582a2eb
lib/docs/scrapers/redis.rb
lib/docs/scrapers/redis.rb
Ruby
<|file_sep|>original/models/profile.js allowNull: false }, }, { associate: function(models) { Profile.hasMany(models.ProfileItem); Profile.hasMany(models.ProfileVote); }, instanceMethods: { getSimple: function() { var obj = {}; obj.tagLine = this.tagLin...
allowNull: false }, }, { associate: function(models) { Profile.hasMany(models.ProfileItem); Profile.hasMany(models.ProfileVote); }, instanceMethods: { getSimple: function() { var obj = {}; obj.rate = this.rate; obj.tagLine = this.tagLine; ...
<|file_sep|>original/models/profile.js allowNull: false }, }, { associate: function(models) { Profile.hasMany(models.ProfileItem); Profile.hasMany(models.ProfileVote); }, instanceMethods: { getSimple: function() { var obj = {}; obj.tagLine = this.tagLin...
14b13ea20835cbdd97862f7cb13e6c6ab45a35af
models/profile.js
models/profile.js
JavaScript
<|file_sep|>original/dev-requirements.txt mypy==0.641 pytest==3.9.3 pytest-cov==2.6.0 pytest-asyncio==0.9.0 pytest-monkeytype==1.0.1 jedi==0.13.1 coverage==4.5.1 flake8==3.6.0 typed-ast==1.1.0 rope==0.11.0 <|file_sep|>current/dev-requirements.txt mypy==0.641 pytest==3.9.3 pytest-cov==2.6.0 pytest-asyncio==0.9.0 pytest-...
mypy==0.641 pytest==3.10.0 pytest-cov==2.6.0 pytest-asyncio==0.9.0 pytest-monkeytype==1.0.1 jedi==0.13.1 coverage==4.5.1 flake8==3.6.0 typed-ast==1.1.0 rope==0.11.0
<|file_sep|>original/dev-requirements.txt mypy==0.641 pytest==3.9.3 pytest-cov==2.6.0 pytest-asyncio==0.9.0 pytest-monkeytype==1.0.1 jedi==0.13.1 coverage==4.5.1 flake8==3.6.0 typed-ast==1.1.0 rope==0.11.0 <|file_sep|>current/dev-requirements.txt mypy==0.641 pytest==3.9.3 pytest-cov==2.6.0 pytest-asyncio==0.9.0 pytest-...
38040e7e4949ebe03baddf96cbecab82bee304aa
dev-requirements.txt
dev-requirements.txt
Text
<|file_sep|>app/components/chess-board.js.diff original: updated: const { store } = this.props; <|file_sep|>original/app/components/chess-board.js renderFiles(rankId) { const rank = this.getBoard()[rankId]; return Object.keys(rank).map((fileId) => { return ( <ChessBoardSquare fil...
renderFiles(rankId) { const { store } = this.props; const rank = this.getBoard()[rankId]; return Object.keys(rank).map((fileId) => { return ( <ChessBoardSquare file={fileId} key={fileId} rank={rankId} piece={rank[fileId]} store={store} ...
<|file_sep|>app/components/chess-board.js.diff original: updated: const { store } = this.props; <|file_sep|>original/app/components/chess-board.js renderFiles(rankId) { const rank = this.getBoard()[rankId]; return Object.keys(rank).map((fileId) => { return ( <ChessBoardSquare fil...
679b96286c742e39af4426dea4c757a33fa4b955
app/components/chess-board.js
app/components/chess-board.js
JavaScript
<|file_sep|>original/spec/github_cli/commands/teams_spec.rb <|file_sep|>current/spec/github_cli/commands/teams_spec.rb <|file_sep|>updated/spec/github_cli/commands/teams_spec.rb
# encoding: utf-8 require 'spec_helper' describe GithubCLI::Commands::Teams do let(:format) { 'table' } let(:user) { 'peter-murach' } let(:repo) { 'github_cli' } let(:org) { 'rails' } let(:id) { 1 } let(:api_class) { GithubCLI::Team } it "invokes team:list" do api_class.should_receive(:a...
<|file_sep|>original/spec/github_cli/commands/teams_spec.rb <|file_sep|>current/spec/github_cli/commands/teams_spec.rb <|file_sep|>updated/spec/github_cli/commands/teams_spec.rb # encoding: utf-8 require 'spec_helper' describe GithubCLI::Commands::Teams do let(:format) { 'table' } let(:user) { 'peter-murach' ...
289d65097497453b732b7bbda500c599ab36bc03
spec/github_cli/commands/teams_spec.rb
spec/github_cli/commands/teams_spec.rb
Ruby
<|file_sep|>README.md.diff original: - Python >= 3.5 - pip modules: -- aiomysql: https://github.com/aio-libs/aiomysql --- (if not useing PeeringDB API) -- aiohttp: http://aiohttp.readthedocs.io/ -- click: http://click.pocoo.org/ -- jinja2: http://jinja.pocoo.org/ updated: * Python >= 3.5 * pip modules: * aiomysql: ...
Commands: discover All Discovered potential peerings generate Generate rendered templates using the found... ``` # Dev Instructions ## Mac OS X * Get Brew: http://brew.sh/ * brew install git python3 * pip3 install aiomysql click jinja2 ## Ubuntu >= 16.10 * sudo apt install python3-pip git * pip3 inst...
<|file_sep|>README.md.diff original: - Python >= 3.5 - pip modules: -- aiomysql: https://github.com/aio-libs/aiomysql --- (if not useing PeeringDB API) -- aiohttp: http://aiohttp.readthedocs.io/ -- click: http://click.pocoo.org/ -- jinja2: http://jinja.pocoo.org/ updated: * Python >= 3.5 * pip modules: * aiomysql: ...
bfa3f9193be88cdb975b2fea193f76b63824fc2f
README.md
README.md
Markdown
<|file_sep|>original/requirements/dev.txt -r base.txt django-autofixture==0.12.1 django-debug-toolbar==1.11 factory-boy==2.11.1 Faker==1.0.2 flake8-docstrings==1.3.0 flake8==3.7.7 freezegun==0.3.11 isort==4.3.15 pytest-cov==2.6.1 pytest-django==3.4.8 pytest-factoryboy==2.0.2 pytest==4.3.0 <|file_sep|>current/requiremen...
-r base.txt django-autofixture==0.12.1 django-debug-toolbar==1.11 factory-boy==2.11.1 Faker==1.0.4 flake8-docstrings==1.3.0 flake8==3.7.7 freezegun==0.3.11 isort==4.3.15 pytest-cov==2.6.1 pytest-django==3.4.8 pytest-factoryboy==2.0.2 pytest==4.3.0
<|file_sep|>original/requirements/dev.txt -r base.txt django-autofixture==0.12.1 django-debug-toolbar==1.11 factory-boy==2.11.1 Faker==1.0.2 flake8-docstrings==1.3.0 flake8==3.7.7 freezegun==0.3.11 isort==4.3.15 pytest-cov==2.6.1 pytest-django==3.4.8 pytest-factoryboy==2.0.2 pytest==4.3.0 <|file_sep|>current/requiremen...
cb733144ca1f275159b7359ca525c8e68514190d
requirements/dev.txt
requirements/dev.txt
Text
<|file_sep|>original/ChangeLog.markdown PHP_CodeCoverage 1.2 ==================== This is the list of changes for the PHP_CodeCoverage 1.2 release series. PHP_CodeCoverage 1.2.0 ---------------------- * The new `@coversDefaultClass` annotation enables short `@covers` annotations when working with long class names or...
PHP_CodeCoverage 1.2 ==================== This is the list of changes for the PHP_CodeCoverage 1.2 release series. PHP_CodeCoverage 1.2.0 ---------------------- * The new `@coversDefaultClass` annotation enables short `@covers` annotations when working with long class names or namespaces. * The new `@coversNothing` ...
<|file_sep|>original/ChangeLog.markdown PHP_CodeCoverage 1.2 ==================== This is the list of changes for the PHP_CodeCoverage 1.2 release series. PHP_CodeCoverage 1.2.0 ---------------------- * The new `@coversDefaultClass` annotation enables short `@covers` annotations when working with long class names or...
b469ea4084c5435378b56eb9cf7209a49da12a99
ChangeLog.markdown
ChangeLog.markdown
Markdown
<|file_sep|>original/.travis.yml language: ruby rvm: - "2.0" - "2.1" env: global: - BUNDLE_WITHOUT=development:metric_fu:qpid - RUBY_GC_MALLOC_LIMIT=90000000 matrix: - "TEST_SUITE=lib TEST_ROOT=lib" - "TEST_SUITE=vmdb TEST_ROOT=vmdb" - "TEST_SUITE=migrations TEST_ROOT=vmdb" - "TEST_SUITE...
language: ruby rvm: - "2.0" - "2.1" sudo: false env: global: - BUNDLE_WITHOUT=development:metric_fu:qpid - RUBY_GC_MALLOC_LIMIT=90000000 matrix: - "TEST_SUITE=lib TEST_ROOT=lib" - "TEST_SUITE=vmdb TEST_ROOT=vmdb" - "TEST_SUITE=migrations TEST_ROOT=vmdb" - "TEST_SUITE=replication TEST_ROO...
<|file_sep|>original/.travis.yml language: ruby rvm: - "2.0" - "2.1" env: global: - BUNDLE_WITHOUT=development:metric_fu:qpid - RUBY_GC_MALLOC_LIMIT=90000000 matrix: - "TEST_SUITE=lib TEST_ROOT=lib" - "TEST_SUITE=vmdb TEST_ROOT=vmdb" - "TEST_SUITE=migrations TEST_ROOT=vmdb" - "TEST_SUITE...
4f0b8ef31daae08f308a1c3df2f9568116f171d2
.travis.yml
.travis.yml
YAML
<|file_sep|>README.md.diff original: ``` updated: ```JavaScript <|file_sep|>original/README.md ## Import ``` // CommonJS require('nodelist-foreach-polyfill'); // ES6 Modules import 'nodelist-foreach-polyfill'; ``` ## Usage ``` // Get Nodelist from DOM via document.querySelectorAll() var elements = document.querySel...
## Import ```JavaScript // CommonJS require('nodelist-foreach-polyfill'); // ES6 Modules import 'nodelist-foreach-polyfill'; ``` ## Usage ```JavaScript // Get Nodelist from DOM via document.querySelectorAll() var elements = document.querySelectorAll('.foo'); // Loop through nodelist elements.forEach(function(eleme...
<|file_sep|>README.md.diff original: ``` updated: ```JavaScript <|file_sep|>original/README.md ## Import ``` // CommonJS require('nodelist-foreach-polyfill'); // ES6 Modules import 'nodelist-foreach-polyfill'; ``` ## Usage ``` // Get Nodelist from DOM via document.querySelectorAll() var elements = document.querySel...
8e44ea9ee1efac7dd9e04328eeee280a9dd1dda9
README.md
README.md
Markdown
<|file_sep|>metadata/com.aurora.corona.yml.diff original: updated: - versionName: 1.0.3 versionCode: 3 commit: 1.0.3 subdir: app gradle: - yes <|file_sep|>original/metadata/com.aurora.corona.yml Repo: https://gitlab.com/AuroraOSS/CoronaStats.git Builds: - versionName: 1.0.1 versionCode:...
gradle: - yes - versionName: 1.0.2 versionCode: 2 commit: 1.0.2 subdir: app gradle: - yes - versionName: 1.0.3 versionCode: 3 commit: 1.0.3 subdir: app gradle: - yes AutoUpdateMode: Version %v UpdateCheckMode: Tags CurrentVersion: 1.0.3 CurrentVersionCode: 3
<|file_sep|>metadata/com.aurora.corona.yml.diff original: updated: - versionName: 1.0.3 versionCode: 3 commit: 1.0.3 subdir: app gradle: - yes <|file_sep|>original/metadata/com.aurora.corona.yml Repo: https://gitlab.com/AuroraOSS/CoronaStats.git Builds: - versionName: 1.0.1 versionCode:...
b69203e488d767a51704307181254ddc38710a8e
metadata/com.aurora.corona.yml
metadata/com.aurora.corona.yml
YAML
<|file_sep|>original/src/extensions/command-interpreter.coffee fs = require 'fs' PEG = require 'pegjs' module.exports = class CommandInterpreter constructor: -> @parser = PEG.buildParser(fs.read(require.resolve 'command-interpreter/commands.pegjs')) eval: (editor, string) -> command = @parser.parse(string...
fs = require 'fs' PEG = require 'pegjs' module.exports = class CommandInterpreter constructor: -> @parser = PEG.buildParser(fs.read(require.resolve 'command-interpreter/commands.pegjs')) eval: (editor, string) -> compositeCommand = @parser.parse(string) @lastRelativeAddress = compositeCommand if compo...
<|file_sep|>original/src/extensions/command-interpreter.coffee fs = require 'fs' PEG = require 'pegjs' module.exports = class CommandInterpreter constructor: -> @parser = PEG.buildParser(fs.read(require.resolve 'command-interpreter/commands.pegjs')) eval: (editor, string) -> command = @parser.parse(string...
e7dafec21c3867757410df70310bad9f905b323e
src/extensions/command-interpreter.coffee
src/extensions/command-interpreter.coffee
CoffeeScript
<|file_sep|>original/scripts/view-hdmi2usb.sh break else echo "/dev/video$I - exists!" fi if v4l-info /dev/video$I | grep 'HDMI2USB' > /dev/null 2>&1; then echo "Device /dev/video$I *is* a HDMI2USB" export HDMI2USB=/dev/video$I break else echo "Device /dev/video$I is *not* a HDMI2USB" fi I=$((I+1)...
break else echo "/dev/video$I - exists!" fi if v4l-info /dev/video$I | grep 'HDMI2USB' > /dev/null 2>&1; then echo "Device /dev/video$I *is* a HDMI2USB" export HDMI2USB=/dev/video$I break else echo "Device /dev/video$I is *not* a HDMI2USB" fi I=$((I+1)) done WIDTH=1024 HEIGHT=768 mplayer tv:// -...
<|file_sep|>original/scripts/view-hdmi2usb.sh break else echo "/dev/video$I - exists!" fi if v4l-info /dev/video$I | grep 'HDMI2USB' > /dev/null 2>&1; then echo "Device /dev/video$I *is* a HDMI2USB" export HDMI2USB=/dev/video$I break else echo "Device /dev/video$I is *not* a HDMI2USB" fi I=$((I+1)...
94a5407c7c3a387ace76927db94bec18f6330abf
scripts/view-hdmi2usb.sh
scripts/view-hdmi2usb.sh
Shell
<|file_sep|>cla_public/apps/base/forms.py.diff original: updated: from cla_public.apps.checker.honeypot import Honeypot <|file_sep|>original/cla_public/apps/base/forms.py "Base forms" from flask_wtf import Form from wtforms import StringField, TextAreaField from cla_public.apps.base.fields import MultiRadioField fro...
"Base forms" from flask_wtf import Form from wtforms import StringField, TextAreaField from cla_public.apps.base.fields import MultiRadioField from cla_public.apps.base.constants import FEEL_ABOUT_SERVICE, \ HELP_FILLING_IN_FORM from cla_public.apps.checker.honeypot import Honeypot class FeedbackForm(Honeypot, ...
<|file_sep|>cla_public/apps/base/forms.py.diff original: updated: from cla_public.apps.checker.honeypot import Honeypot <|file_sep|>original/cla_public/apps/base/forms.py "Base forms" from flask_wtf import Form from wtforms import StringField, TextAreaField from cla_public.apps.base.fields import MultiRadioField fro...
6ecada90e944ee976197e0ee79baf1d711a20803
cla_public/apps/base/forms.py
cla_public/apps/base/forms.py
Python
<|file_sep|>original/t/01openqa.t use Test::More; use Test::Bot::BasicBot::Pluggable; my $bot = Test::Bot::BasicBot::Pluggable->new(); ok(my $ob = $bot->load("OpenQA"), 'load openqa module'); is($bot->tell_direct("!perl"), "I hear Ruby is better than perl..", "simple messages work"); done_testing(); <|file_sep|>curr...
use Test::More; use Test::Bot::BasicBot::Pluggable; my $bot = Test::Bot::BasicBot::Pluggable->new(); ok(my $ob = $bot->load('OpenQA'), 'load openqa module'); is($bot->tell_direct('perl'), 'I hear Ruby is better than perl..', 'simple messages work'); is($bot->tell_indirect('!perl'), 'I hear Ruby is better than perl..'...
<|file_sep|>original/t/01openqa.t use Test::More; use Test::Bot::BasicBot::Pluggable; my $bot = Test::Bot::BasicBot::Pluggable->new(); ok(my $ob = $bot->load("OpenQA"), 'load openqa module'); is($bot->tell_direct("!perl"), "I hear Ruby is better than perl..", "simple messages work"); done_testing(); <|file_sep|>curr...
308f5a440be993f297af1fe3d08496d05ba300e8
t/01openqa.t
t/01openqa.t
Perl
<|file_sep|>composer.json.diff original: "version": "2.2.2", updated: "version": "2.2.3", <|file_sep|>original/composer.json { "name": "sschiau/particle", "version": "2.2.2", "repositories": [{ "type": "git", "url": "git@github.com:sschiau/Particle.git" }], "license": "LICENS...
{ "name": "sschiau/particle", "version": "2.2.3", "repositories": [{ "type": "git", "url": "git@github.com:sschiau/Particle.git" }], "license": "MIT", "authors": [{ "name": "Silviu Schiau", "email": "pr@silviu.co", "homepage": "http://www.silviu.co" }]...
<|file_sep|>composer.json.diff original: "version": "2.2.2", updated: "version": "2.2.3", <|file_sep|>original/composer.json { "name": "sschiau/particle", "version": "2.2.2", "repositories": [{ "type": "git", "url": "git@github.com:sschiau/Particle.git" }], "license": "LICENS...
cd3656cb067fe6eaa035a5bc8cbbec8eff6fd47b
composer.json
composer.json
JSON
<|file_sep|>original/physics/ccg_haar.py <|file_sep|>current/physics/ccg_haar.py <|file_sep|>updated/physics/ccg_haar.py
# encoding: utf-8 """Routines for sampling from the Haar measures of the classical compact groups. Algorithms taken from http://arxiv.org/abs/math-ph/0609050. TODO Symplectic groups are missing """ from __future__ import division, print_function import numpy as np from scipy.linalg import qr, eigvals def goe(dim, ...
<|file_sep|>original/physics/ccg_haar.py <|file_sep|>current/physics/ccg_haar.py <|file_sep|>updated/physics/ccg_haar.py # encoding: utf-8 """Routines for sampling from the Haar measures of the classical compact groups. Algorithms taken from http://arxiv.org/abs/math-ph/0609050. TODO Symplectic groups are missing "...
b05cb7b5b8f507f63c9f1c43db43a29a3acf59c9
physics/ccg_haar.py
physics/ccg_haar.py
Python
<|file_sep|>original/certbot/tests/helpers.py import testtools from testtools.twistedsupport import AsynchronousDeferredRunTest from uritools import urisplit class TestCase(testtools.TestCase): """ TestCase class for use with Twisted asynchornous tests. """ run_tests_with = AsynchronousDeferredRunTest de...
import testtools from testtools.twistedsupport import AsynchronousDeferredRunTest from uritools import urisplit class TestCase(testtools.TestCase): """ TestCase class for use with Twisted asynchornous tests. """ run_tests_with = AsynchronousDeferredRunTest.make_factory(timeout=0.01) def parse_query(uri):...
<|file_sep|>original/certbot/tests/helpers.py import testtools from testtools.twistedsupport import AsynchronousDeferredRunTest from uritools import urisplit class TestCase(testtools.TestCase): """ TestCase class for use with Twisted asynchornous tests. """ run_tests_with = AsynchronousDeferredRunTest de...
2107a8c161d8a9fe13977a0997defb35297821c2
certbot/tests/helpers.py
certbot/tests/helpers.py
Python
<|file_sep|>catwatch/assets/styles/_admin.scss.diff original: updated: /* Coupons. -------------------------------------------------- */ <|file_sep|>catwatch/assets/styles/_admin.scss.diff original: updated: .rd-date { table { td { padding: 5px; } } } /* Bulk delete. ------------------------------...
} #scope { margin-bottom: 0; width: 160px; height: 29px; font-weight: 400; font-size: 12px; } /* Table sorting. -------------------------------------------------- */ .sort:after { content: '\f0dc'; font-family: FontAwesome; margin-left: 6px; color: #BBB; } .asc:after {
<|file_sep|>catwatch/assets/styles/_admin.scss.diff original: updated: /* Coupons. -------------------------------------------------- */ <|file_sep|>catwatch/assets/styles/_admin.scss.diff original: updated: .rd-date { table { td { padding: 5px; } } } /* Bulk delete. ------------------------------...
199b342d96c079b68c52438fd4cc16972078f4eb
catwatch/assets/styles/_admin.scss
catwatch/assets/styles/_admin.scss
SCSS
<|file_sep|>original/cmake/OpenFASTConfig.cmake.in <|file_sep|>current/cmake/OpenFASTConfig.cmake.in <|file_sep|>updated/cmake/OpenFASTConfig.cmake.in
# # Copyright 2016 National Renewable Energy Laboratory # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable la...
<|file_sep|>original/cmake/OpenFASTConfig.cmake.in <|file_sep|>current/cmake/OpenFASTConfig.cmake.in <|file_sep|>updated/cmake/OpenFASTConfig.cmake.in # # Copyright 2016 National Renewable Energy Laboratory # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compl...
f46724de34da24fb930451ede8e3c0b1b682cef0
cmake/OpenFASTConfig.cmake.in
cmake/OpenFASTConfig.cmake.in
unknown
<|file_sep|>original/test/CMakeLists.txt project (test_units) if (NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") add_definitions ("-std=c++1z") endif() include_directories (SYSTEM ${CMAKE_SOURCE_DIR}/external/googletest/googletest/include) include_directories (${CMAKE_SOURCE_DIR}) macro (units_add_test TEST_NAME S...
project (test_units) if (NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") add_definitions ("-std=c++1z") endif() include_directories (SYSTEM ${CMAKE_SOURCE_DIR}/external/googletest/googletest/include) include_directories (${CMAKE_SOURCE_DIR}) if (UNITS_ENABLE_COVERAGE AND NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSV...
<|file_sep|>original/test/CMakeLists.txt project (test_units) if (NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") add_definitions ("-std=c++1z") endif() include_directories (SYSTEM ${CMAKE_SOURCE_DIR}/external/googletest/googletest/include) include_directories (${CMAKE_SOURCE_DIR}) macro (units_add_test TEST_NAME S...
2969f0b52d0630b1b1bce7a0c7b1e19ae1ba3893
test/CMakeLists.txt
test/CMakeLists.txt
Text
<|file_sep|>original/lib/client/kadira.js retry.retryLater(retryCount++, sendPayload); } else { console.warn('Error sending error traces to kadira server'); } } function sendPayload () { $.ajax({ url: endpoint, data: payload, crossDomain: true, error: tryToSend }...
retry.retryLater(retryCount++, sendPayload); } else { console.warn('Error sending error traces to kadira server'); } } function sendPayload () { $.ajax({ url: endpoint, data: payload, jsonp: 'callback', dataType: 'jsonp', error: tryToSend }); } } Kadira....
<|file_sep|>original/lib/client/kadira.js retry.retryLater(retryCount++, sendPayload); } else { console.warn('Error sending error traces to kadira server'); } } function sendPayload () { $.ajax({ url: endpoint, data: payload, crossDomain: true, error: tryToSend }...
fddf6e7c054bbf2786dce7a559914b923eecd835
lib/client/kadira.js
lib/client/kadira.js
JavaScript
<|file_sep|>lib/spree_digital_hooks.rb.diff original: insert_after :admin_product_tabs do <<-END <li<%== ' class="active"' if current == "Digital Versions" %>> <%= link_to t("digital_versions"), admin_product_digitals_path(@product) %> updated: Deface::Override.new(:virtual_path => "admin/shared/_pro...
class SpreeDigitalHooks < Spree::ThemeSupport::HookListener Deface::Override.new(:virtual_path => "admin/shared/_product_tabs", :name => "converted_admin_product_tabs_986577829", :insert_after => "[data-hook='admin_product_tabs'], #admin_product_tabs[data-hook]", ...
<|file_sep|>lib/spree_digital_hooks.rb.diff original: insert_after :admin_product_tabs do <<-END <li<%== ' class="active"' if current == "Digital Versions" %>> <%= link_to t("digital_versions"), admin_product_digitals_path(@product) %> updated: Deface::Override.new(:virtual_path => "admin/shared/_pro...
7613f80ad3cee4f66163572cffd8b465782f8b8f
lib/spree_digital_hooks.rb
lib/spree_digital_hooks.rb
Ruby
<|file_sep|>spec/yelp/client_spec.rb.diff original: updated: let(:keys) { Hash[consumer_key: 'abc', consumer_secret: 'def', token: 'ghi', token_secret: 'jkl'] } before do @client = Yelp::Client.new(keys) end <|file_sep|>spec/yelp/client_spec.rb.di...
require 'yelp' describe Yelp::Client do let(:keys) { Hash[consumer_key: 'abc', consumer_secret: 'def', token: 'ghi', token_secret: 'jkl'] } before do @client = Yelp::Client.new(keys) end describe 'client initialization' do it 'should create ...
<|file_sep|>spec/yelp/client_spec.rb.diff original: updated: let(:keys) { Hash[consumer_key: 'abc', consumer_secret: 'def', token: 'ghi', token_secret: 'jkl'] } before do @client = Yelp::Client.new(keys) end <|file_sep|>spec/yelp/client_spec.rb.di...
7c38630a04da5a319e72f59f364d657f63ea41ea
spec/yelp/client_spec.rb
spec/yelp/client_spec.rb
Ruby
<|file_sep|>original/config.fish # Here is the configuration for the fish shell source ~/deoxys314_dotfiles/fish/aliases.fish source ~/deoxys314_dotfiles/fish/functions.fish set PATH $PATH ~/bin # important environmental variables # set -g -x TERM screen-256color-bce <|file_sep|>current/config.fish # Here is the co...
# Here is the configuration for the fish shell source ~/deoxys314_dotfiles/fish/aliases.fish source ~/deoxys314_dotfiles/fish/functions.fish mkdir -pv ~/bin set PATH $PATH ~/bin # important environmental variables # set -g -x TERM screen-256color-bce
<|file_sep|>original/config.fish # Here is the configuration for the fish shell source ~/deoxys314_dotfiles/fish/aliases.fish source ~/deoxys314_dotfiles/fish/functions.fish set PATH $PATH ~/bin # important environmental variables # set -g -x TERM screen-256color-bce <|file_sep|>current/config.fish # Here is the co...
b578f404884c7681d9b8600ef812795503543abe
config.fish
config.fish
fish
<|file_sep|>original/libedataserverui/gtk-compat.h #ifndef __GTK_COMPAT_H__ #define __GTK_COMPAT_H__ #include <gtk/gtk.h> /* Provide a compatibility layer for accessor functions introduced * in GTK+ 2.22 which we need to build with sealed GDK. * That way it is still possible to build with GTK+ 2.20. */ #if !GTK_C...
#ifndef __GTK_COMPAT_H__ #define __GTK_COMPAT_H__ #include <gtk/gtk.h> /* Provide a compatibility layer for accessor functions introduced * in GTK+ 2.22 which we need to build with sealed GDK. * That way it is still possible to build with GTK+ 2.20. */ #if !GTK_CHECK_VERSION(2,21,2) #define gdk_drag_context_get_...
<|file_sep|>original/libedataserverui/gtk-compat.h #ifndef __GTK_COMPAT_H__ #define __GTK_COMPAT_H__ #include <gtk/gtk.h> /* Provide a compatibility layer for accessor functions introduced * in GTK+ 2.22 which we need to build with sealed GDK. * That way it is still possible to build with GTK+ 2.20. */ #if !GTK_C...
506d8e88ab8c28f052697127fb6ccdcc5a44649a
libedataserverui/gtk-compat.h
libedataserverui/gtk-compat.h
C