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/.travis.yml language: csharp solution: .\Extension Library\Extension Library.sln mono: none install: - nuget restore Extension-Library.sln - nuget install xunit.runners -Version 1.9.2 -OutputDirectory testrunner # script: # - xbuild /p:Configuration=Release Extension-Library.sln # - mono ...
language: csharp solution: .\Extension Library\Extension-Library.sln mono: none install: - nuget restore Extension-Library.sln - nuget install xunit.runners -Version 1.9.2 -OutputDirectory testrunner # script: # - xbuild /p:Configuration=Release Extension-Library.sln # - mono ./testrunner/xunit.runners.1.9.2/to...
<|file_sep|>original/.travis.yml language: csharp solution: .\Extension Library\Extension Library.sln mono: none install: - nuget restore Extension-Library.sln - nuget install xunit.runners -Version 1.9.2 -OutputDirectory testrunner # script: # - xbuild /p:Configuration=Release Extension-Library.sln # - mono ...
69d67a75fa6957c99f4f8e4ad1a42f6a79e2516a
.travis.yml
.travis.yml
YAML
<|file_sep|>libvirt/libvirt_list_vms.py.diff original: conn=libvirt.open("qemu:///system") if conn == None: print('Failed to open connection to qemu:///system', sys.stderr) exit(1) updated: def getConnection(): try: conn=libvirt.open("qemu:///system") return conn except libvirt.libvirtError, e: ...
sys.exit(1) def delConnection(conn): try: conn.close() except: print get_error_message() sys.exit(1) def getAllDomains(conn): vms = conn.listAllDomains(0) if len(vms) != 0: for vm in vms: print(vm.name()) else: print('None') if __name__ == '__main__': conn = getConnection() ...
<|file_sep|>libvirt/libvirt_list_vms.py.diff original: conn=libvirt.open("qemu:///system") if conn == None: print('Failed to open connection to qemu:///system', sys.stderr) exit(1) updated: def getConnection(): try: conn=libvirt.open("qemu:///system") return conn except libvirt.libvirtError, e: ...
4ca953b2210c469e5d09bb03c66cbe0839959e49
libvirt/libvirt_list_vms.py
libvirt/libvirt_list_vms.py
Python
<|file_sep|>index.html.diff original: <body ng-controller="StoreController as store"> <div ng-repeat="product in store.product" ng-hide="product.soldOut"> updated: <body ng-controller="StoreController as store" class="container"> <div ng-repeat="product in store.product" ng-hide="product.soldOut" class="product row...
</head> <body ng-controller="StoreController as store" class="container"> <div ng-repeat="product in store.product" ng-hide="product.soldOut" class="product row"> <h1> {{product.name | uppercase}} <em class="pull-right"> {{product.price | currency:"UAH"}} </em> </h1> <p> {{...
<|file_sep|>index.html.diff original: <body ng-controller="StoreController as store"> <div ng-repeat="product in store.product" ng-hide="product.soldOut"> updated: <body ng-controller="StoreController as store" class="container"> <div ng-repeat="product in store.product" ng-hide="product.soldOut" class="product row...
b016616971fb79b9b3a67fd1b233c2ab78283bfa
index.html
index.html
HTML
<|file_sep|>db/seeds/prisons/HDI-hatfield-lakes.yml.diff original: thu: - 1400-1600 updated: <|file_sep|>original/db/seeds/prisons/HDI-hatfield-lakes.yml name: Hatfield Lakes nomis_id: HDI address: |- Thorne Road postcode: DN7 6El email_address: socialvisitshatfield@hmps.gsi.gov.uk phone_no: 01405 746611 enabled...
email_address: socialvisitshatfield@hmps.gsi.gov.uk phone_no: 01405 746611 enabled: true private: false closed: false recurring: fri: - 1400-1600 sat: - 1400-1600 sun: - 1400-1600 unbookable: - 2017-12-25 - 2017-12-26 - 2018-01-01 anomalous: 2010-01-02: - 1400-1600 2020-01-09: - 1400-1600
<|file_sep|>db/seeds/prisons/HDI-hatfield-lakes.yml.diff original: thu: - 1400-1600 updated: <|file_sep|>original/db/seeds/prisons/HDI-hatfield-lakes.yml name: Hatfield Lakes nomis_id: HDI address: |- Thorne Road postcode: DN7 6El email_address: socialvisitshatfield@hmps.gsi.gov.uk phone_no: 01405 746611 enabled...
dc4146a6f909f03d59fbd652b966a5f3b7a8017f
db/seeds/prisons/HDI-hatfield-lakes.yml
db/seeds/prisons/HDI-hatfield-lakes.yml
YAML
<|file_sep|>src/main/java/hello/Application.java.diff original: import java.util.Arrays; updated: <|file_sep|>original/src/main/java/hello/Application.java import java.util.Arrays; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.spri...
package hello; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.ApplicationContext; @SpringBootApplication public class Application { public static void main(String[] args) { ApplicationContext ctx =...
<|file_sep|>src/main/java/hello/Application.java.diff original: import java.util.Arrays; updated: <|file_sep|>original/src/main/java/hello/Application.java import java.util.Arrays; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.spri...
e8e77da9c92c2c5d3136c584ecf12edae2c6f47e
src/main/java/hello/Application.java
src/main/java/hello/Application.java
Java
<|file_sep|>original/frontui/data.py self.data_dir = './frontui/app_data' self.checklists_dir = self.data_dir + '/checklists' self.objects = list() self.checklist = ChecklistInfo() def add_object(self, obj): """ Add object to collection """ self.objects.append(obj) ...
self.data_dir = './frontui/app_data' self.checklists_dir = self.data_dir + '/checklists' self.objects = list() self.checklist = ChecklistInfo() def add_object(self, obj): """ Add object to collection """ self.objects.append(obj) def save_checklist(self, obj_nu...
<|file_sep|>original/frontui/data.py self.data_dir = './frontui/app_data' self.checklists_dir = self.data_dir + '/checklists' self.objects = list() self.checklist = ChecklistInfo() def add_object(self, obj): """ Add object to collection """ self.objects.append(obj) ...
452b48b9313af8126052a32230e789dff2c69df7
frontui/data.py
frontui/data.py
Python
<|file_sep|>original/circle.yml <|file_sep|>current/circle.yml <|file_sep|>updated/circle.yml
version: 2 jobs: build: machine: true steps: - checkout - run: name: Install docker-compose command: | pip install --upgrade pip pip install docker-compose - run: name: Run tests command: | ./scripts/test
<|file_sep|>original/circle.yml <|file_sep|>current/circle.yml <|file_sep|>updated/circle.yml version: 2 jobs: build: machine: true steps: - checkout - run: name: Install docker-compose command: | pip install --upgrade pip pip install docker-compose ...
03a1d8b905a899764539ae066fdb997cbc2008c5
circle.yml
circle.yml
YAML
<|file_sep|>ISSUE_TEMPLATE.md.diff original: updated: <|file_sep|>ISSUE_TEMPLATE.md.diff original: updated: ## Context <!--- How has this issue affected you? What are you trying to accomplish? --> <!--- Providing context helps us come up with a solution that is most useful in the real world --> <|file_sep|>original...
<!--- Provide a link to a live example, or an unambiguous set of steps to --> <!--- reproduce this bug. Include code to reproduce, if relevant --> 1. 2. 3. 4. ## Your Environment <!--- Include as many relevant details about the environment you experienced the bug in, as appropriate --> * Versions used * ARIScope: ...
<|file_sep|>ISSUE_TEMPLATE.md.diff original: updated: <|file_sep|>ISSUE_TEMPLATE.md.diff original: updated: ## Context <!--- How has this issue affected you? What are you trying to accomplish? --> <!--- Providing context helps us come up with a solution that is most useful in the real world --> <|file_sep|>original...
8852ba888b559aa180aa2bab92f026fefca07c7a
ISSUE_TEMPLATE.md
ISSUE_TEMPLATE.md
Markdown
<|file_sep|>original/package.json { "name": "hello-push-cloud", "version": "0.1.0", "dependencies": { "body-parser": "~1.0.2", "cors": "~2.2.0", "express": "~4.0.0", "fh-mbaas-api": "6.0.3", "request": "~2.40.0" }, "devDependencies": { "grunt-concurrent": "latest", "grunt-contrib-j...
{ "name": "hello-push-cloud", "version": "0.1.0", "dependencies": { "body-parser": "~1.0.2", "cors": "~2.2.0", "express": "~4.0.0", "fh-mbaas-api": "^6.1.1", "request": "~2.40.0" }, "devDependencies": { "grunt-concurrent": "latest", "grunt-contrib-jshint": "^0.11.3", "grunt-con...
<|file_sep|>original/package.json { "name": "hello-push-cloud", "version": "0.1.0", "dependencies": { "body-parser": "~1.0.2", "cors": "~2.2.0", "express": "~4.0.0", "fh-mbaas-api": "6.0.3", "request": "~2.40.0" }, "devDependencies": { "grunt-concurrent": "latest", "grunt-contrib-j...
e3b3c4cab2b9685f7fe021fd010f3817d955e002
package.json
package.json
JSON
<|file_sep|>original/Cargo.toml # Enable full access to the read and write buffers. This has a slight cost in # terms of synchronization performance, as we need to account for more possible # interactions, so you should only do this when you intend to use the interface. raw = [] [badges] travis-ci = { repository = "Ha...
# Enable full access to the read and write buffers. This has a slight cost in # terms of synchronization performance, as we need to account for more possible # interactions, so you should only do this when you intend to use the interface. raw = [] [badges] travis-ci = { repository = "HadrienG2/triple-buffer", branch =...
<|file_sep|>original/Cargo.toml # Enable full access to the read and write buffers. This has a slight cost in # terms of synchronization performance, as we need to account for more possible # interactions, so you should only do this when you intend to use the interface. raw = [] [badges] travis-ci = { repository = "Ha...
7756602d921eff1336ab1d0110dfac6769870843
Cargo.toml
Cargo.toml
TOML
<|file_sep|>public/components/QueryArea.jsx.diff original: const targetBeer = this.props.beerList[e.target.key]; updated: const targetBeer = this.props.beerList[e.target.value]; <|file_sep|>original/public/components/QueryArea.jsx render(){ return( <div> { this.props.beerList && this.props.b...
render(){ return( <div> { this.props.beerList && this.props.beerList.length > 1 ? <div> <h4>Did you mean...</h4> <ul> {this.props.beerList.map((item, index) => { return <li value={index} key={index} onClick={this.handleBeerClick}>{item['name']}</li> })} ...
<|file_sep|>public/components/QueryArea.jsx.diff original: const targetBeer = this.props.beerList[e.target.key]; updated: const targetBeer = this.props.beerList[e.target.value]; <|file_sep|>original/public/components/QueryArea.jsx render(){ return( <div> { this.props.beerList && this.props.b...
f1c484c9bf378abd1f5e67132f566300807caafc
public/components/QueryArea.jsx
public/components/QueryArea.jsx
JSX
<|file_sep|>original/graph_over_time.py <|file_sep|>current/graph_over_time.py <|file_sep|>updated/graph_over_time.py
#!/usr/bin/python2 import json import subprocess import time import calendar import dateutil.parser import datetime runs = json.load(open("list.json","r")) num_master = 0 psnr = [] psnrhvs = [] ssim = [] fastssim = [] def unix_time(dt): epoch = datetime.datetime.utcfromtimestamp(0)
<|file_sep|>original/graph_over_time.py <|file_sep|>current/graph_over_time.py <|file_sep|>updated/graph_over_time.py #!/usr/bin/python2 import json import subprocess import time import calendar import dateutil.parser import datetime runs = json.load(open("list.json","r")) num_master = 0 psnr = [] psnrhvs = [] ss...
59d8a8c1218a9641ae559b0cd710c05d17e26409
graph_over_time.py
graph_over_time.py
Python
<|file_sep|>original/README.md # surl surl is a very simple URL shortening web service. Please note that I do not consider it production level quality. It purely exists for my own learning pleasure, and to dive into Go and implementing a non-trivial service that is meant to run on AWS and GCE. <|file_sep|>current/READ...
# surl [![Travis](https://img.shields.io/travis/vosst/surl.svg)]() surl is a very simple URL shortening web service. Please note that I do not consider it production level quality. It purely exists for my own learning pleasure, and to dive into Go and implementing a non-trivial service that is meant to run on AWS and ...
<|file_sep|>original/README.md # surl surl is a very simple URL shortening web service. Please note that I do not consider it production level quality. It purely exists for my own learning pleasure, and to dive into Go and implementing a non-trivial service that is meant to run on AWS and GCE. <|file_sep|>current/READ...
df360dddf0d93f57b3460e4870d33432b8afa44a
README.md
README.md
Markdown
<|file_sep|>src/test/java/com/hamishrickerby/http_server/AppArgumentsTest.java.diff original: public void testEmptyArgumentsAre0Long() { updated: public void testEmptyInputReturnsValidArguments() { <|file_sep|>src/test/java/com/hamishrickerby/http_server/AppArgumentsTest.java.diff original: public void test...
String[] inputArgs = new String[0]; AppArguments args = new AppArguments(inputArgs); assertEquals(0, args.size()); } public void testArgumentsAreRetrieved() { String[] inputArgs = {"-p", "3000", "-d", "hello"}; AppArguments args = new AppArguments(inputArgs); ass...
<|file_sep|>src/test/java/com/hamishrickerby/http_server/AppArgumentsTest.java.diff original: public void testEmptyArgumentsAre0Long() { updated: public void testEmptyInputReturnsValidArguments() { <|file_sep|>src/test/java/com/hamishrickerby/http_server/AppArgumentsTest.java.diff original: public void test...
a94f2ec22f0d3106782ce9bac4809361b1d33a3c
src/test/java/com/hamishrickerby/http_server/AppArgumentsTest.java
src/test/java/com/hamishrickerby/http_server/AppArgumentsTest.java
Java
<|file_sep|>original/app/assets/stylesheets/modules/_price.scss &__early-bird { font-size: 0.875em; } &__features { ul { padding: 0; list-style: none; } } &__register { padding: 0.6em 2em 0.6em 2em; color: var(--pink); border-radius: 2em; } } <|file_sep|>current/app...
&__features { ul { padding: 0; list-style: none; } } &__register { padding: 0.6em 2em 0.6em 2em; color: var(--pink); border-radius: 2em; } &__register.btn { @extend .price-box__register; } }
<|file_sep|>original/app/assets/stylesheets/modules/_price.scss &__early-bird { font-size: 0.875em; } &__features { ul { padding: 0; list-style: none; } } &__register { padding: 0.6em 2em 0.6em 2em; color: var(--pink); border-radius: 2em; } } <|file_sep|>current/app...
a9f090413965e7d9891bfe3eb4a317ce38544b7d
app/assets/stylesheets/modules/_price.scss
app/assets/stylesheets/modules/_price.scss
SCSS
<|file_sep|>original/fuubar.gemspec lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) Gem::Specification.new do |spec| spec.name = 'fuubar' spec.version = '2.0.0' spec.authors = ['Nicholas Evans', 'Jeff Kreeftmeijer', 'jfelchner'] spec.email...
lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) Gem::Specification.new do |spec| spec.name = 'fuubar' spec.version = '2.0.0' spec.authors = ['Nicholas Evans', 'Jeff Kreeftmeijer', 'jfelchner'] spec.email = '["jeff@kreeftmeijer.nl"]...
<|file_sep|>original/fuubar.gemspec lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) Gem::Specification.new do |spec| spec.name = 'fuubar' spec.version = '2.0.0' spec.authors = ['Nicholas Evans', 'Jeff Kreeftmeijer', 'jfelchner'] spec.email...
f4f51a2e92052cc97d39151cbaece51e12ead6ff
fuubar.gemspec
fuubar.gemspec
Ruby
<|file_sep|>osu.Game.Tournament/Screens/Setup/TournamentSwitcher.cs.diff original: updated: private OsuButton folderButton; <|file_sep|>osu.Game.Tournament/Screens/Setup/TournamentSwitcher.cs.diff original: updated: folderButton.Action = storage.PresentExternally; <|file_sep|>original/osu.Game.Tou...
} protected override Drawable CreateComponent() { var drawable = base.CreateComponent(); FlowContainer.Insert(-1, dropdown = new OsuDropdown<string> { Width = 510 }); FlowContainer.Insert(-2, folderButton = new Triang...
<|file_sep|>osu.Game.Tournament/Screens/Setup/TournamentSwitcher.cs.diff original: updated: private OsuButton folderButton; <|file_sep|>osu.Game.Tournament/Screens/Setup/TournamentSwitcher.cs.diff original: updated: folderButton.Action = storage.PresentExternally; <|file_sep|>original/osu.Game.Tou...
333c0cd4f9c717187cc8a15f6ba93207a02ffbbf
osu.Game.Tournament/Screens/Setup/TournamentSwitcher.cs
osu.Game.Tournament/Screens/Setup/TournamentSwitcher.cs
C#
<|file_sep|>original/requirements.txt bioblend>=0.3.3 biopython>=1.61 boto>=2.9.6 cutadapt==1.2.1 Cython>=0.19 fabric>=1.7.0 HTSeq >= 0.5.3p5 ipython>=1.0 ipython-cluster-helper>=0.2.1 joblib>=0.7.0d Logbook>=0.6.0 lxml>=3.2.3 Mako>=0.7.3 matplotlib>=1.3.0 psutil>=0.6.1,<1.1.0 pybedtools>=0.6.2 py_descriptive_statistic...
bioblend>=0.3.3 biopython>=1.61 boto>=2.9.6 cutadapt==1.2.1 Cython>=0.19 fabric>=1.7.0 HTSeq >= 0.5.3p5 ipython>=1.0 ipython-cluster-helper>=0.2.2 joblib>=0.7.0d Logbook>=0.6.0 lxml>=3.2.3 Mako>=0.7.3 matplotlib>=1.3.0 psutil>=0.6.1,<1.1.0 pybedtools>=0.6.2 py_descriptive_statistics>=0.2 pysam>=0.6 pyzmq>=2.2.0 PyYAML>...
<|file_sep|>original/requirements.txt bioblend>=0.3.3 biopython>=1.61 boto>=2.9.6 cutadapt==1.2.1 Cython>=0.19 fabric>=1.7.0 HTSeq >= 0.5.3p5 ipython>=1.0 ipython-cluster-helper>=0.2.1 joblib>=0.7.0d Logbook>=0.6.0 lxml>=3.2.3 Mako>=0.7.3 matplotlib>=1.3.0 psutil>=0.6.1,<1.1.0 pybedtools>=0.6.2 py_descriptive_statistic...
bd8d701cb69d7e886374349a66f4c182bf34e97e
requirements.txt
requirements.txt
Text
<|file_sep|>original/docker-compose.localapi.yml <|file_sep|>current/docker-compose.localapi.yml <|file_sep|>updated/docker-compose.localapi.yml
version: '3' services: web: depends_on: - api environment: - NET_ASYNC_HTTP_MAXCONNS=1 volumes: - ./configs/metacpan-web/metacpan_web.conf:/metacpan-web/metacpan_web.conf api: depends_on: - elasticsearch - elasticsearch_test image: metacpan-api:latest build: ...
<|file_sep|>original/docker-compose.localapi.yml <|file_sep|>current/docker-compose.localapi.yml <|file_sep|>updated/docker-compose.localapi.yml version: '3' services: web: depends_on: - api environment: - NET_ASYNC_HTTP_MAXCONNS=1 volumes: - ./configs/metacpan-web/metacpan_web.conf:/m...
1bb35eff7ad44ff3c09c2ce92007e3aa3c57926b
docker-compose.localapi.yml
docker-compose.localapi.yml
YAML
<|file_sep|>original/bottomsheetpickers/src/main/res/layout/bsp_numberpad_time_picker.xml <?xml version="1.0" encoding="utf-8"?> <merge xmlns:android="http://schemas.android.com/apk/res/android"> <include layout="@layout/bsp_numberpad_time_picker_header" android:layout_width="match_parent" a...
<?xml version="1.0" encoding="utf-8"?> <merge xmlns:android="http://schemas.android.com/apk/res/android"> <include layout="@layout/bsp_numberpad_time_picker_header" android:layout_width="match_parent" android:layout_height="96dp" android:layout_gravity="center" /> <com.philliphsu...
<|file_sep|>original/bottomsheetpickers/src/main/res/layout/bsp_numberpad_time_picker.xml <?xml version="1.0" encoding="utf-8"?> <merge xmlns:android="http://schemas.android.com/apk/res/android"> <include layout="@layout/bsp_numberpad_time_picker_header" android:layout_width="match_parent" a...
e029eeb47ec3047b73142b57356481b4609b2f03
bottomsheetpickers/src/main/res/layout/bsp_numberpad_time_picker.xml
bottomsheetpickers/src/main/res/layout/bsp_numberpad_time_picker.xml
XML
<|file_sep|>original/allmychanges/templates/emails/digest.html {% extends "emails/base.html" %} {% block content %} {% include "allmychanges/digest-partial.html" with changes=today_changes title="Last 24 hours" toc="1" %} <div class="email-note"> <hr/> <p>Sincerely yours, change-tracking robot.</p...
{% extends "emails/base.html" %} {% block content %} {% include "allmychanges/digest-partial.html" with changes=today_changes title="Recent releases" toc="1" %} <div class="email-note"> <hr/> <p>Sincerely yours, change-tracking robot.</p> </div> <div class="email-unsubscribe"> <p>Yo...
<|file_sep|>original/allmychanges/templates/emails/digest.html {% extends "emails/base.html" %} {% block content %} {% include "allmychanges/digest-partial.html" with changes=today_changes title="Last 24 hours" toc="1" %} <div class="email-note"> <hr/> <p>Sincerely yours, change-tracking robot.</p...
d61d0502d975547bf7f3771a6d711911882a0279
allmychanges/templates/emails/digest.html
allmychanges/templates/emails/digest.html
HTML
<|file_sep|>original/Sources/Utility/ArrayExtensions.swift Copyright 2015 - 2016 Apple Inc. and the Swift project authors Licensed under Apache License v2.0 with Runtime Library Exception See http://swift.org/LICENSE.txt for license information See http://swift.org/CONTRIBUTORS.txt for Swift project authors */ e...
Copyright 2015 - 2016 Apple Inc. and the Swift project authors Licensed under Apache License v2.0 with Runtime Library Exception See http://swift.org/LICENSE.txt for license information See http://swift.org/CONTRIBUTORS.txt for Swift project authors */ extension Array { public func pick(body: (Element) -> Bo...
<|file_sep|>original/Sources/Utility/ArrayExtensions.swift Copyright 2015 - 2016 Apple Inc. and the Swift project authors Licensed under Apache License v2.0 with Runtime Library Exception See http://swift.org/LICENSE.txt for license information See http://swift.org/CONTRIBUTORS.txt for Swift project authors */ e...
effe751b37d93d0b4e566c248ca12486fdf02bcd
Sources/Utility/ArrayExtensions.swift
Sources/Utility/ArrayExtensions.swift
Swift
<|file_sep|>original/test/schema-test.js vega = require('../'), // eslint-disable-line no-unused-vars tv4 = require('tv4'), fs = require('fs'), schema = require('../build/vega-schema.json'), specs = require('./specs.json'); var dir = process.cwd() + '/spec/'; function validate(spec) { return tv4...
vega = require('../'), // eslint-disable-line no-unused-vars tv4 = require('tv4'), fs = require('fs'), schema = require('../build/vega-schema.json'), specs = require('./specs.json'); var dir = process.cwd() + '/spec/'; function validate(spec) { return tv4.validate(spec, schema); } tape('JSON sc...
<|file_sep|>original/test/schema-test.js vega = require('../'), // eslint-disable-line no-unused-vars tv4 = require('tv4'), fs = require('fs'), schema = require('../build/vega-schema.json'), specs = require('./specs.json'); var dir = process.cwd() + '/spec/'; function validate(spec) { return tv4...
37769e801a68ec693ababf652e814ce6a6a6c143
test/schema-test.js
test/schema-test.js
JavaScript
<|file_sep|>original/R7.Epsilon/releaseNotes.htm Please see the <a href="https://github.com/roman-yagodin/R7.Epsilon" target="_blank">release notes on GitHub</a> <|file_sep|>current/R7.Epsilon/releaseNotes.htm Please see the <a href="https://github.com/roman-yagodin/R7.Epsilon" target="_blank">release notes on GitHub...
Please see the <a href="https://github.com/roman-yagodin/R7.Epsilon/releases" target="_blank">release notes on GitHub</a>
<|file_sep|>original/R7.Epsilon/releaseNotes.htm Please see the <a href="https://github.com/roman-yagodin/R7.Epsilon" target="_blank">release notes on GitHub</a> <|file_sep|>current/R7.Epsilon/releaseNotes.htm Please see the <a href="https://github.com/roman-yagodin/R7.Epsilon" target="_blank">release notes on GitHub...
5dd32abb54f615254d369589bc97d8d2cda0008e
R7.Epsilon/releaseNotes.htm
R7.Epsilon/releaseNotes.htm
HTML
<|file_sep|>original/addons/aar/functions/fn_getUnitName.sqf // Check if unit name is already known by ACE mod private _name = _unit getVariable ["ACE_Name", ""]; if (_name != "") exitWith { _name }; // Update name if unit is alive if (alive _unit) exitWith { _name = name _unit; _unit setVariable ["anrop_aar_unit...
params ["_unit"]; // Check if unit name is already known by ACE mod private _name = _unit getVariable ["ACE_Name", ""]; if (_name != "") exitWith { _name }; // Update name if unit is alive if (alive _unit) exitWith { _name = name _unit; _unit setVariable ["anrop_aar_unit_name", _name]; _name }; // Try to use ...
<|file_sep|>original/addons/aar/functions/fn_getUnitName.sqf // Check if unit name is already known by ACE mod private _name = _unit getVariable ["ACE_Name", ""]; if (_name != "") exitWith { _name }; // Update name if unit is alive if (alive _unit) exitWith { _name = name _unit; _unit setVariable ["anrop_aar_unit...
94990ca6d6e3bff32ba358b08f627de6eb8be92f
addons/aar/functions/fn_getUnitName.sqf
addons/aar/functions/fn_getUnitName.sqf
SQF
<|file_sep|>recipes/conda-vendor/meta.yaml.diff original: {% set version = "0.1.4" %} updated: {% set version = "0.1.5" %} <|file_sep|>original/recipes/conda-vendor/meta.yaml {% set name = "conda-vendor" %} {% set version = "0.1.4" %} package: name: "{{ name|lower }}" version: "{{ version }}" source: url: https:...
{% set name = "conda-vendor" %} {% set version = "0.1.5" %} package: name: "{{ name|lower }}" version: "{{ version }}" source: url: https://github.com/MetroStar/conda-vendor/archive/refs/tags/v{{ version }}.tar.gz sha256: 2e6db8144ff88f07dcbd0c5f9381d3dd348d3034f3feced895df341373e03081 build: number: 0 sc...
<|file_sep|>recipes/conda-vendor/meta.yaml.diff original: {% set version = "0.1.4" %} updated: {% set version = "0.1.5" %} <|file_sep|>original/recipes/conda-vendor/meta.yaml {% set name = "conda-vendor" %} {% set version = "0.1.4" %} package: name: "{{ name|lower }}" version: "{{ version }}" source: url: https:...
de43ef0fa1167a67b9579b439f2b5bcfc9d20a2b
recipes/conda-vendor/meta.yaml
recipes/conda-vendor/meta.yaml
YAML
<|file_sep|>original/src/main/java/by/triumgroup/recourse/configuration/security/ResourceServerConfiguration.java @Bean public TokenStore tokenStore() { return new JdbcTokenStore(dataSource); } @Override public void configure(ResourceServerSecurityConfigurer resources) { resources ...
@Bean public TokenStore tokenStore() { return new JdbcTokenStore(dataSource); } @Override public void configure(ResourceServerSecurityConfigurer resources) { resources .tokenStore(tokenStore()); resources.stateless(false); } @Override public void...
<|file_sep|>original/src/main/java/by/triumgroup/recourse/configuration/security/ResourceServerConfiguration.java @Bean public TokenStore tokenStore() { return new JdbcTokenStore(dataSource); } @Override public void configure(ResourceServerSecurityConfigurer resources) { resources ...
f565ac344170d2d0bb2c8a4bddcbefca1ae5b0bc
src/main/java/by/triumgroup/recourse/configuration/security/ResourceServerConfiguration.java
src/main/java/by/triumgroup/recourse/configuration/security/ResourceServerConfiguration.java
Java
<|file_sep|>original/.changes/next-release/api-change-connect-66747.json <|file_sep|>current/.changes/next-release/api-change-connect-66747.json <|file_sep|>updated/.changes/next-release/api-change-connect-66747.json
{ "type": "api-change", "category": "``connect``", "description": "[``botocore``] This release updates these APIs: UpdateInstanceAttribute, DescribeInstanceAttribute and ListInstanceAttributes. You can use it to programmatically enable/disable multi-party conferencing using attribute type MULTI_PARTY_CONFERENCING...
<|file_sep|>original/.changes/next-release/api-change-connect-66747.json <|file_sep|>current/.changes/next-release/api-change-connect-66747.json <|file_sep|>updated/.changes/next-release/api-change-connect-66747.json { "type": "api-change", "category": "``connect``", "description": "[``botocore``] This release ...
6b33e10d5cabfc59a8b912c42916acc2f29188de
.changes/next-release/api-change-connect-66747.json
.changes/next-release/api-change-connect-66747.json
JSON
<|file_sep|>original/src/test/fuzz/decode_tx.cpp #include <cstdint> #include <string> #include <vector> void test_one_input(const std::vector<uint8_t>& buffer) { const std::string tx_hex = HexStr(buffer); CMutableTransaction mtx; const bool result_none = DecodeHexTx(mtx, tx_hex, false, false); const bo...
#include <cassert> #include <cstdint> #include <string> #include <vector> void test_one_input(const std::vector<uint8_t>& buffer) { const std::string tx_hex = HexStr(buffer); CMutableTransaction mtx; const bool result_none = DecodeHexTx(mtx, tx_hex, false, false); const bool result_try_witness = Decode...
<|file_sep|>original/src/test/fuzz/decode_tx.cpp #include <cstdint> #include <string> #include <vector> void test_one_input(const std::vector<uint8_t>& buffer) { const std::string tx_hex = HexStr(buffer); CMutableTransaction mtx; const bool result_none = DecodeHexTx(mtx, tx_hex, false, false); const bo...
28f8cb13d4d5a3d6aefa6e192e55f9aa87579e52
src/test/fuzz/decode_tx.cpp
src/test/fuzz/decode_tx.cpp
C++
<|file_sep|>.github/workflows/orm-check.yml.diff original: on: [pull_request] updated: on: push: branches-ignore: - master <|file_sep|>.github/workflows/orm-check.yml.diff original: env: DEST_BRANCH: ${{ github.base_ref }} SOURCE_BRANCH: ${{ github.head_ref }} updated: <|file_se...
while IFS='$\n' read -r c; do # Only check modified files if [ $(echo $c | awk '{print $1}') = 'M' ]; then modified=$(echo $c | awk '{print $2}') for orm in $ORM_FILES; do if [ $modified = $orm ]; then MODIFIED_FILES+=($mod...
<|file_sep|>.github/workflows/orm-check.yml.diff original: on: [pull_request] updated: on: push: branches-ignore: - master <|file_sep|>.github/workflows/orm-check.yml.diff original: env: DEST_BRANCH: ${{ github.base_ref }} SOURCE_BRANCH: ${{ github.head_ref }} updated: <|file_se...
6b5a48e1b95f341d591bd42f32c441fc9c06a23b
.github/workflows/orm-check.yml
.github/workflows/orm-check.yml
YAML
<|file_sep|>original/app-resources/src/main/resources/flyway/ptistats/V1_34__update_luke_config.sql <|file_sep|>current/app-resources/src/main/resources/flyway/ptistats/V1_34__update_luke_config.sql <|file_sep|>updated/app-resources/src/main/resources/flyway/ptistats/V1_34__update_luke_config.sql
UPDATE oskari_statistical_datasource SET config='{ "url": "https://statdb.luke.fi/pxweb/api/v1/{language}/LUKE", "info": { "url": "https://stat.luke.fi/" }, "regionKey": "ELY-keskus" }' where locale LIKE '%Luonnonvarakeskus%';
<|file_sep|>original/app-resources/src/main/resources/flyway/ptistats/V1_34__update_luke_config.sql <|file_sep|>current/app-resources/src/main/resources/flyway/ptistats/V1_34__update_luke_config.sql <|file_sep|>updated/app-resources/src/main/resources/flyway/ptistats/V1_34__update_luke_config.sql UPDATE oskari_statis...
7350911f7aa33ef49b713ee990d020b5472cca5a
app-resources/src/main/resources/flyway/ptistats/V1_34__update_luke_config.sql
app-resources/src/main/resources/flyway/ptistats/V1_34__update_luke_config.sql
SQL
<|file_sep|>src/logging.ts.diff original: } if (e === void 0) { updated: } else if (e === void 0) { <|file_sep|>src/logging.ts.diff original: } if (e.ref != null) { updated: } else if (e.ref != null) { <|file_sep|>src/logging.ts.diff original: } if (e instanceof gLong) { return "" + e + "L"; updated...
function log(level: number, msgs: any[]): void { if (level <= log_level) { var msg = msgs.join(' '); if (level == 1) { console.error(msg); } else { console.log(msg); } } } export function vtrace(...msgs: any[]): void { log(VTRACE, msgs); } export function trace(...msgs: any[]): void...
<|file_sep|>src/logging.ts.diff original: } if (e === void 0) { updated: } else if (e === void 0) { <|file_sep|>src/logging.ts.diff original: } if (e.ref != null) { updated: } else if (e.ref != null) { <|file_sep|>src/logging.ts.diff original: } if (e instanceof gLong) { return "" + e + "L"; updated...
c715d6f469a0dd711cdd8cb133ef49e1d974debc
src/logging.ts
src/logging.ts
TypeScript
<|file_sep|>original/week-7/group_project_solution.js <|file_sep|>current/week-7/group_project_solution.js <|file_sep|>updated/week-7/group_project_solution.js
// inputs will be: var oddList = [1, 2, 3, 4, 5, 5, 7] var evenList = [4, 4, 5, 5, 6, 6, 6, 7] //Our functions are: function Sum(list) { for (var length = list.length, counter = 0, total = 0; counter < length; counter++) { total += list[counter]; } return total } function Mean(list) { var length = list.le...
<|file_sep|>original/week-7/group_project_solution.js <|file_sep|>current/week-7/group_project_solution.js <|file_sep|>updated/week-7/group_project_solution.js // inputs will be: var oddList = [1, 2, 3, 4, 5, 5, 7] var evenList = [4, 4, 5, 5, 6, 6, 6, 7] //Our functions are: function Sum(list) { for (var length = ...
6215b406f12d0b99760a5539e6aa68bbf35a8dca
week-7/group_project_solution.js
week-7/group_project_solution.js
JavaScript
<|file_sep|>src/Neuron/Interfaces/Models/User.php.diff original: updated: * @param bool $formal <|file_sep|>original/src/Neuron/Interfaces/Models/User.php <?php namespace Neuron\Interfaces\Models; interface User extends \Neuron\Interfaces\Model { /** * @return string */ public function getUsername (); /**...
<?php namespace Neuron\Interfaces\Models; interface User extends \Neuron\Interfaces\Model { /** * @param bool $formal * @return string */ public function getDisplayName ($formal = false); /** * @return string */ public function getEmail (); }
<|file_sep|>src/Neuron/Interfaces/Models/User.php.diff original: updated: * @param bool $formal <|file_sep|>original/src/Neuron/Interfaces/Models/User.php <?php namespace Neuron\Interfaces\Models; interface User extends \Neuron\Interfaces\Model { /** * @return string */ public function getUsername (); /**...
cebaab82a9c51de90ac2145058b46e59387ff150
src/Neuron/Interfaces/Models/User.php
src/Neuron/Interfaces/Models/User.php
PHP
<|file_sep|>original/.travis.yml # Use Travis's cointainer based infrastructure sudo: false addons: apt: sources: - chef-stable-precise packages: - chefdk # Don't `bundle install` install: echo "skip bundle install" branches: only: - master # Ensure we make ChefDK's Ruby the default befor...
# Use Travis's cointainer based infrastructure sudo: false addons: apt: sources: - chef-current-precise packages: - chefdk # Don't `bundle install` install: echo "skip bundle install" branches: only: - master # Ensure we make ChefDK's Ruby the default before_script: - eval "$(/opt/chefd...
<|file_sep|>original/.travis.yml # Use Travis's cointainer based infrastructure sudo: false addons: apt: sources: - chef-stable-precise packages: - chefdk # Don't `bundle install` install: echo "skip bundle install" branches: only: - master # Ensure we make ChefDK's Ruby the default befor...
5e9f2d9aebd7ce29e583ae62a25ab3c0dae24c94
.travis.yml
.travis.yml
YAML
<|file_sep|>original/manifest.yml --- applications: - name: markers-service host: markers-service-${random-word} memory: 512M instances: 1 path: target\markers-service.0.0.1.jar timeout:180 env: SPRING_PROFILES_DEFAULT: cloud <|file_sep|>current/manifest.yml --- applications: - name: markers-service host:...
--- applications: - name: markers-service host: markers-service-${random-word} memory: 512M instances: 1 path: target/markers-service-0.0.1.jar env: SPRING_PROFILES_DEFAULT: cloud
<|file_sep|>original/manifest.yml --- applications: - name: markers-service host: markers-service-${random-word} memory: 512M instances: 1 path: target\markers-service.0.0.1.jar timeout:180 env: SPRING_PROFILES_DEFAULT: cloud <|file_sep|>current/manifest.yml --- applications: - name: markers-service host:...
4cfe6b62a197a8e1e0938e1f90e1679e4884eb44
manifest.yml
manifest.yml
YAML
<|file_sep|>original/README.md Dexter's Lab ============ [Try it now](http://dexters-lab.io/) or clone and run: ``` nvm use 6 npm i gulp build open docs/index.html ``` <|file_sep|>current/README.md Dexter's Lab ============ [Try it now](http://dexters-lab.io/) or clone and run: ``` nvm use 6 npm i gulp build open d...
Dexter's Lab ============ ![Travis CI](https://travis-ci.org/frakti/dexters-lab.svg?branch=master) [Try it now](http://dexters-lab.io/) or clone and run: ``` nvm use 6 npm i gulp build open docs/index.html ```
<|file_sep|>original/README.md Dexter's Lab ============ [Try it now](http://dexters-lab.io/) or clone and run: ``` nvm use 6 npm i gulp build open docs/index.html ``` <|file_sep|>current/README.md Dexter's Lab ============ [Try it now](http://dexters-lab.io/) or clone and run: ``` nvm use 6 npm i gulp build open d...
87790a85c68d3dad91679fcf9d28a4acb878a50f
README.md
README.md
Markdown
<|file_sep|>setup.py.diff original: py_modules=['tcxparser', ], updated: py_modules=['tcxparser', 'test_tcxparser'], <|file_sep|>original/setup.py name='python-tcxparser', version=__version__, author='Vinod Kurup', author_email='vinod@kurup.com', py_modules=['tcxparser', ], url='https://...
version=__version__, author='Vinod Kurup', author_email='vinod@kurup.com', py_modules=['tcxparser', 'test_tcxparser'], url='https://github.com/vkurup/python-tcxparser/', license='BSD', description='Simple parser for Garmin TCX files', classifiers=[ 'Development Status :: 4 - Beta...
<|file_sep|>setup.py.diff original: py_modules=['tcxparser', ], updated: py_modules=['tcxparser', 'test_tcxparser'], <|file_sep|>original/setup.py name='python-tcxparser', version=__version__, author='Vinod Kurup', author_email='vinod@kurup.com', py_modules=['tcxparser', ], url='https://...
052cac696f044119efc34424b0e1778c77b90399
setup.py
setup.py
Python
<|file_sep|>conf/conda-recipes/openmpi/meta.yaml.diff original: version: 2.0.0 updated: version: 2.0.1 <|file_sep|>conf/conda-recipes/openmpi/meta.yaml.diff original: fn: openmpi-2.0.0.tar.bz2 url: http://www.open-mpi.org/software/ompi/v2.0/downloads/openmpi-2.0.0.tar.bz2 md5: cdacc800cb4ce690c1f1273cb6366674...
- openmpi track_features: - openmpi skip: true # [win] binary_relocation: true detect_binary_files_with_prefix: true test: files: - test/helloworld.c - test/helloworld.cxx commands: - command -v ompi_info - ompi_info - command -v mpiexec - mpiexec -n 4 hostname - command...
<|file_sep|>conf/conda-recipes/openmpi/meta.yaml.diff original: version: 2.0.0 updated: version: 2.0.1 <|file_sep|>conf/conda-recipes/openmpi/meta.yaml.diff original: fn: openmpi-2.0.0.tar.bz2 url: http://www.open-mpi.org/software/ompi/v2.0/downloads/openmpi-2.0.0.tar.bz2 md5: cdacc800cb4ce690c1f1273cb6366674...
f8647782db7312aaf163224a937b85a606fe779a
conf/conda-recipes/openmpi/meta.yaml
conf/conda-recipes/openmpi/meta.yaml
YAML
<|file_sep|>original/.github/workflows/cleanup_pr.yml <|file_sep|>current/.github/workflows/cleanup_pr.yml <|file_sep|>updated/.github/workflows/cleanup_pr.yml
name: Cleanup after PR on: pull_request: types: [closed] jobs: build: runs-on: ubuntu-latest steps: - name: Extract branch name shell: bash run: echo "##[set-output name=branch;](echo{GITHUB_REF#refs/heads/})" id: extract_branch - name: Delete folder on builds.jabref.or...
<|file_sep|>original/.github/workflows/cleanup_pr.yml <|file_sep|>current/.github/workflows/cleanup_pr.yml <|file_sep|>updated/.github/workflows/cleanup_pr.yml name: Cleanup after PR on: pull_request: types: [closed] jobs: build: runs-on: ubuntu-latest steps: - name: Extract branch name ...
c8bb19e66ce397b25bef5076e7b980f0ee3684c4
.github/workflows/cleanup_pr.yml
.github/workflows/cleanup_pr.yml
YAML
<|file_sep|>original/reactmann-core/src/main/java/reactmann/RiemannRun.java <|file_sep|>current/reactmann-core/src/main/java/reactmann/RiemannRun.java <|file_sep|>updated/reactmann-core/src/main/java/reactmann/RiemannRun.java
package reactmann; import io.vertx.core.Vertx; /** * @author blake */ public class RiemannRun { public static void main(String... args) { Vertx.vertx().deployVerticle("java:" + TestVerticle.class.getName()); } }
<|file_sep|>original/reactmann-core/src/main/java/reactmann/RiemannRun.java <|file_sep|>current/reactmann-core/src/main/java/reactmann/RiemannRun.java <|file_sep|>updated/reactmann-core/src/main/java/reactmann/RiemannRun.java package reactmann; import io.vertx.core.Vertx; /** * @author blake */ public class Riema...
42511a5036c15d1dbfda8559cd34889e3717d331
reactmann-core/src/main/java/reactmann/RiemannRun.java
reactmann-core/src/main/java/reactmann/RiemannRun.java
Java
<|file_sep|>ANN.py.diff original: updated: output = None <|file_sep|>original/ANN.py class Neuron: def __init__(self, parents=[]): self.parents = parents self.weights = [random() for parent in parents] def get_output(self): return sum([parent.output * self.weights[i] for i, pare...
class Neuron: output = None def __init__(self, parents=[]): self.parents = parents self.weights = [random() for parent in parents] def calculate(self): self.output = sum([parent.output * self.weights[i] for i, parent in enumerate(self.parents)]) >= 1 class NeuronNetwork: ne...
<|file_sep|>ANN.py.diff original: updated: output = None <|file_sep|>original/ANN.py class Neuron: def __init__(self, parents=[]): self.parents = parents self.weights = [random() for parent in parents] def get_output(self): return sum([parent.output * self.weights[i] for i, pare...
a8f125236308cbfc9bb2eb5b225a0ac92a3a95e4
ANN.py
ANN.py
Python
<|file_sep|>original/tryggve/tmp/d1-sda.md <|file_sep|>current/tryggve/tmp/d1-sda.md <|file_sep|>updated/tryggve/tmp/d1-sda.md
--- layout: master include: document banner: "/assets/images/sin-act-banner.png" --- ## Tryggve D1 - Sensitive Data Archiving This deliverable aims to support the needs for archiving of sensitive data of participating ELIXIR nodes, as well as for some use cases. The work is targeted towards extending the functionalit...
<|file_sep|>original/tryggve/tmp/d1-sda.md <|file_sep|>current/tryggve/tmp/d1-sda.md <|file_sep|>updated/tryggve/tmp/d1-sda.md --- layout: master include: document banner: "/assets/images/sin-act-banner.png" --- ## Tryggve D1 - Sensitive Data Archiving This deliverable aims to support the needs for archiving of sen...
7a57b6b13a7dc209a4a16f15401118023cecebe1
tryggve/tmp/d1-sda.md
tryggve/tmp/d1-sda.md
Markdown
<|file_sep|>pct_vs_time.py.diff original: from convenience import who_wins updated: from convenience import who_wins, pr from copy import deepcopy <|file_sep|>pct_vs_time.py.diff original: win_record = [] updated: <|file_sep|>pct_vs_time.py.diff original: for i in range(100000): deck = Deck() b = [] while ...
p1 = [Card.new('As'), Card.new('Ac')] p2 = [Card.new('Ad'), Card.new('Kd')] def find_pcts(p1, p2, start_b = [], iter = 10000): win_record = [] for i in range(iter): deck = Deck() b = deepcopy(start_b) while len(b) < 5: c = deck.draw() if c in p1 + p2 + b: ...
<|file_sep|>pct_vs_time.py.diff original: from convenience import who_wins updated: from convenience import who_wins, pr from copy import deepcopy <|file_sep|>pct_vs_time.py.diff original: win_record = [] updated: <|file_sep|>pct_vs_time.py.diff original: for i in range(100000): deck = Deck() b = [] while ...
c43e6a69fa1391b5fd00a43628111f8d52ec8792
pct_vs_time.py
pct_vs_time.py
Python
<|file_sep|>original/src/import/chips/p9/procedures/xml/error_info/p9_memory_mss_plug_rules.xml <|file_sep|>current/src/import/chips/p9/procedures/xml/error_info/p9_memory_mss_plug_rules.xml <|file_sep|>updated/src/import/chips/p9/procedures/xml/error_info/p9_memory_mss_plug_rules.xml
<!-- IBM_PROLOG_BEGIN_TAG --> <!-- This is an automatically generated prolog. --> <!-- --> <!-- $Source: src/import/chips/p9/procedures/xml/error_info/p9_memory_mss_plug_r...
<|file_sep|>original/src/import/chips/p9/procedures/xml/error_info/p9_memory_mss_plug_rules.xml <|file_sep|>current/src/import/chips/p9/procedures/xml/error_info/p9_memory_mss_plug_rules.xml <|file_sep|>updated/src/import/chips/p9/procedures/xml/error_info/p9_memory_mss_plug_rules.xml <!-- IBM_PROLOG_BEGIN_TAG ...
d34530cb5cfdef2d9e321b1624f5f156641c9ae4
src/import/chips/p9/procedures/xml/error_info/p9_memory_mss_plug_rules.xml
src/import/chips/p9/procedures/xml/error_info/p9_memory_mss_plug_rules.xml
XML
<|file_sep|>original/bower.json "test", "**/.*", "node_modules", "bower_components", "tests" ], "dependencies": { "angular": "*", "jquery": "*", "angular-filters": "*", "timezone-js": "git://github.com/mde/timezone-js.git#v0.4.4" }, "homepage": "https://github.com/chouseknech...
"test", "**/.*", "node_modules", "bower_components", "tests" ], "dependencies": { "angular": "*", "jquery": "*", "angular-filters": "*", "timezone-js": "*" }, "homepage": "https://github.com/chouseknecht/angular-tz-extensions", "description": "Add timezone information to a ...
<|file_sep|>original/bower.json "test", "**/.*", "node_modules", "bower_components", "tests" ], "dependencies": { "angular": "*", "jquery": "*", "angular-filters": "*", "timezone-js": "git://github.com/mde/timezone-js.git#v0.4.4" }, "homepage": "https://github.com/chouseknech...
ec841443bbc70ba217ef46aad449bfd015979c92
bower.json
bower.json
JSON
<|file_sep|>original/metadata/net.tevp.postcode.txt Auto Name:Postcode Summary:Get your postcode (UK only) Description: A simple way to retrieve the postcode for your current location. . Repo Type:git Repo:https://github.com/palfrey/postcode.git Build:1.1,2 commit=f2832 target=android-10 Build:1.2,3 comm...
Auto Name:Postcode Summary:Get your postcode (UK only) Description: A simple way to retrieve the postcode for your current location. . Repo Type:git Repo:https://github.com/palfrey/postcode.git Build:1.1,2 commit=f2832 target=android-10 Build:1.2,3 commit=8331c020b617471adc7b0fefb08c9c2e0022234e grad...
<|file_sep|>original/metadata/net.tevp.postcode.txt Auto Name:Postcode Summary:Get your postcode (UK only) Description: A simple way to retrieve the postcode for your current location. . Repo Type:git Repo:https://github.com/palfrey/postcode.git Build:1.1,2 commit=f2832 target=android-10 Build:1.2,3 comm...
ccbabe202241be13f32f1b24624f5a9716b84693
metadata/net.tevp.postcode.txt
metadata/net.tevp.postcode.txt
Text
<|file_sep|>original/templates/module/routing-form.yml.twig {% if class_name is defined %} {{ module_name }}.{{form_id}}: path: '/admin/config/{{ module_name }}/{{ class_name_path }}' defaults: _form: '\Drupal\{{ module_name }}\Form\{{ class_name }}' _title: '{{ class_name }}' requirements: _permissio...
{% if class_name is defined %} {{ module_name }}.{{form_id}}: path: '/admin/config/{{ module_name }}/{{ class_name_short }}' defaults: _form: '\Drupal\{{ module_name }}\Form\{{ class_name }}' _title: '{{ class_name }}' requirements: _permission: 'access administration pages' {% endif %}
<|file_sep|>original/templates/module/routing-form.yml.twig {% if class_name is defined %} {{ module_name }}.{{form_id}}: path: '/admin/config/{{ module_name }}/{{ class_name_path }}' defaults: _form: '\Drupal\{{ module_name }}\Form\{{ class_name }}' _title: '{{ class_name }}' requirements: _permissio...
3fd9bc1daa22f3eb22bbdff4f6c7fe44cf8b4fa1
templates/module/routing-form.yml.twig
templates/module/routing-form.yml.twig
Twig
<|file_sep|>original/.github/ISSUE_TEMPLATE/bug_report.md **Expected behavior** A clear and concise description of what you expected to happen. **Log** If applicable, add the Longhorn managers' log when the issue happens. You can also attach a *Support Bundle* here. You can generate a Support Bundle using the link at...
**Expected behavior** A clear and concise description of what you expected to happen. **Log** If applicable, add the Longhorn managers' log when the issue happens. You can also attach a *Support Bundle* here. You can generate a Support Bundle using the link at the footer of the Longhorn UI. **Environment:** - Longh...
<|file_sep|>original/.github/ISSUE_TEMPLATE/bug_report.md **Expected behavior** A clear and concise description of what you expected to happen. **Log** If applicable, add the Longhorn managers' log when the issue happens. You can also attach a *Support Bundle* here. You can generate a Support Bundle using the link at...
3c9577affd727f540770e6d3395e1e23ecf9f0e0
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/bug_report.md
Markdown
<|file_sep|>original/package.json { "name": "custom-js-lib", "version": "5.1.30", "description": "this is custom-libs to projects", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "git+https://github.com/websterhf1...
{ "name": "custom-js-lib", "version": "5.1.31", "description": "this is custom-libs to projects", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "git+https://github.com/websterhf18/custom-js-lib.git" }, "autho...
<|file_sep|>original/package.json { "name": "custom-js-lib", "version": "5.1.30", "description": "this is custom-libs to projects", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "git+https://github.com/websterhf1...
aebf86c67a8762f133e564ea0e1939df48703762
package.json
package.json
JSON
<|file_sep|>src/Wikirick/Application.hs.diff original: updated: import Wikirick.Article <|file_sep|>src/Wikirick/Application.hs.diff original: updated: import qualified Wikirick.URLMapper as U <|file_sep|>src/Wikirick/Application.hs.diff original: updated: , _articles :: Snaplet (ArticleRepository App) , _urlMap...
import Wikirick.Article import Wikirick.JSONConnection import qualified Wikirick.URLMapper as U data App = App { _heist :: Snaplet (Heist App) , _sess :: Snaplet SessionManager , _auth :: Snaplet (AuthManager App) , _json :: Snaplet JSONConnection , _articles :: Snaplet (ArticleRepository App) , _urlMapper...
<|file_sep|>src/Wikirick/Application.hs.diff original: updated: import Wikirick.Article <|file_sep|>src/Wikirick/Application.hs.diff original: updated: import qualified Wikirick.URLMapper as U <|file_sep|>src/Wikirick/Application.hs.diff original: updated: , _articles :: Snaplet (ArticleRepository App) , _urlMap...
eb106f1db84dfd066c860883bd6ec48c80172c80
src/Wikirick/Application.hs
src/Wikirick/Application.hs
Haskell
<|file_sep|>original/chrome/browser/extensions/extension_popup_apitest.cc // Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/command_line.h" #include "chrome/browser/extensions/extension...
// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/command_line.h" #include "chrome/browser/extensions/extension_apitest.h" #include "chrome/common/chrome_switches.h" // Times out. See ...
<|file_sep|>original/chrome/browser/extensions/extension_popup_apitest.cc // Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/command_line.h" #include "chrome/browser/extensions/extension...
f5e70d360e017053805277f695577b8e99981cba
chrome/browser/extensions/extension_popup_apitest.cc
chrome/browser/extensions/extension_popup_apitest.cc
C++
<|file_sep|>original/src/main/BitManipulator.java package main; class BitManipulator { static int insertBitsToPosition(int n, int m, int i, int j) { int left = ~0 << j; int right = (1 << i-1) - 1; int mask = left | right; int nCleared = n & mask; int mShifted = m << i-1; ...
package main; class BitManipulator { static int insertBitsToPosition(int n, int m, int i, int j) { return (n & ((~0 << j) | ((1 << i-1) - 1))) | (m << i-1); } }
<|file_sep|>original/src/main/BitManipulator.java package main; class BitManipulator { static int insertBitsToPosition(int n, int m, int i, int j) { int left = ~0 << j; int right = (1 << i-1) - 1; int mask = left | right; int nCleared = n & mask; int mShifted = m << i-1; ...
5983fd6bed6cb56c4a4e0456ad65fc83adcf7c3d
src/main/BitManipulator.java
src/main/BitManipulator.java
Java
<|file_sep|>original/bower.json { "name": "ember-model", "version": "0.0.6", "main": "ember-model.js", "dependencies": { "ember": "~1.0.0-rc.5", "handlebars": "~1.0.0-rc.4", "jquery": "~1.9.1" }, "devDependencies": { "qunit": "~1.11" }, "ignore": [ "**/.*", "node_modules", "c...
{ "name": "ember-model", "version": "0.0.6", "main": "ember-model.js", "dependencies": { "ember": "~1.0.0-rc.5" }, "devDependencies": { "qunit": "~1.11" }, "ignore": [ "**/.*", "node_modules", "components" ] }
<|file_sep|>original/bower.json { "name": "ember-model", "version": "0.0.6", "main": "ember-model.js", "dependencies": { "ember": "~1.0.0-rc.5", "handlebars": "~1.0.0-rc.4", "jquery": "~1.9.1" }, "devDependencies": { "qunit": "~1.11" }, "ignore": [ "**/.*", "node_modules", "c...
10ab3174301ed59931801cc2d35dfeedf253dbf9
bower.json
bower.json
JSON
<|file_sep|>original/ghc.mk # XXX This is a temporary hack: utils/haddock_HC_OPTS += -Wwarn ifeq "$(Windows)" "YES" utils/haddock_dist_PROG = haddock else utils/haddock_dist_PROG = haddock-real $(INPLACE_BIN)/haddock: $(INPLACE_BIN)/haddock-real $(RM) -f $@ echo '#!$(SHELL)' >> $@ echo 'executablename=$(FPTOOLS_TO...
utils/haddock_dist_PROG = haddock-real $(INPLACE_BIN)/haddock: $(INPLACE_BIN)/haddock-real $(RM) -f $@ echo '#!$(SHELL)' >> $@ echo 'executablename=$(FPTOOLS_TOP_ABS)/$<' >> $@ echo 'datadir=$(FPTOOLS_TOP_ABS)/inplace/lib' >> $@ cat utils/haddock/haddock.wrapper >> $@ $(EXECUTABLE_FILE) $@ endif $(INPLACE_BIN)/...
<|file_sep|>original/ghc.mk # XXX This is a temporary hack: utils/haddock_HC_OPTS += -Wwarn ifeq "$(Windows)" "YES" utils/haddock_dist_PROG = haddock else utils/haddock_dist_PROG = haddock-real $(INPLACE_BIN)/haddock: $(INPLACE_BIN)/haddock-real $(RM) -f $@ echo '#!$(SHELL)' >> $@ echo 'executablename=$(FPTOOLS_TO...
aa281e13a93bbd97d41c2d034b80b8b22fe34a89
ghc.mk
ghc.mk
Makefile
<|file_sep|>original/requirements_dev.txt bumpversion==0.5.3 wheel==0.23.0 watchdog==0.8.3 flake8==2.4.1 tox==2.1.1 coverage==4.0 Sphinx==1.3.1 argparse<1.3,>=1.2.1 pytest coveralls six requests requests_staticmock arrow <|file_sep|>current/requirements_dev.txt bumpversion==0.5.3 wheel==0.23.0 watchdog==0.8.3 flake8==...
bumpversion==0.5.3 wheel==0.23.0 watchdog==0.8.3 flake8==3.8.2 tox==2.1.1 coverage==4.0 Sphinx==1.3.1 argparse<1.3,>=1.2.1 pytest coveralls six requests requests_staticmock arrow
<|file_sep|>original/requirements_dev.txt bumpversion==0.5.3 wheel==0.23.0 watchdog==0.8.3 flake8==2.4.1 tox==2.1.1 coverage==4.0 Sphinx==1.3.1 argparse<1.3,>=1.2.1 pytest coveralls six requests requests_staticmock arrow <|file_sep|>current/requirements_dev.txt bumpversion==0.5.3 wheel==0.23.0 watchdog==0.8.3 flake8==...
4dc5253d9f51e176e21fc92aa28bcebe91d509e2
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/setup.py setup( name='nexus', version='0.1.2', author='David Cramer', author_email='dcramer@gmail.com', url='http://github.com/dcramer/nexus', description = 'An extendable admin interface', packages=find_packages(), zip_safe=False, install_requires=[ 'Dj...
setup( name='nexus', version='0.1.2', author='David Cramer', author_email='dcramer@gmail.com', url='http://github.com/dcramer/nexus', description = 'An extendable admin interface', packages=find_packages(), zip_safe=False, install_requires=[], tests_require = [ 'Django',...
<|file_sep|>original/setup.py setup( name='nexus', version='0.1.2', author='David Cramer', author_email='dcramer@gmail.com', url='http://github.com/dcramer/nexus', description = 'An extendable admin interface', packages=find_packages(), zip_safe=False, install_requires=[ 'Dj...
5a098961137a7ac3296cf836dd02b238d57eeee4
setup.py
setup.py
Python
<|file_sep|>spec/emphasis_list_spec.rb.diff original: updated: require 'shared_verso_list_examples' <|file_sep|>spec/emphasis_list_spec.rb.diff original: @emphases = Verso::EmphasisList.new updated: @list = Verso::EmphasisList.new @kontained = Verso::Emphasis <|file_sep|>original/spec/emphasis_list_spec.rb...
require 'spec_helper' require 'shared_verso_list_examples' describe Verso::EmphasisList do use_vcr_cassette :record => :new_episodes before do @list = Verso::EmphasisList.new @kontained = Verso::Emphasis end it_behaves_like 'any Verso list' end
<|file_sep|>spec/emphasis_list_spec.rb.diff original: updated: require 'shared_verso_list_examples' <|file_sep|>spec/emphasis_list_spec.rb.diff original: @emphases = Verso::EmphasisList.new updated: @list = Verso::EmphasisList.new @kontained = Verso::Emphasis <|file_sep|>original/spec/emphasis_list_spec.rb...
265b04d3b97753d604b58fb83ab34171ae02c768
spec/emphasis_list_spec.rb
spec/emphasis_list_spec.rb
Ruby
<|file_sep|>package.js.diff original: version: '1.1.0', updated: version: '1.2.0', <|file_sep|>original/package.js Package.onUse(function(api) { configure(api); api.export('ReactLayout'); }); Package.onTest(function(api) { configure(api); api.use('react'); api.use('tinytest'); api.addFiles('test/clien...
Package.onUse(function(api) { configure(api); api.export('ReactLayout'); }); Package.onTest(function(api) { configure(api); api.use('react'); api.use('tinytest'); api.addFiles('test/client.jsx', 'client'); api.addFiles('test/server.jsx', 'server'); }); function configure(api) { api.versionsFrom('1.0...
<|file_sep|>package.js.diff original: version: '1.1.0', updated: version: '1.2.0', <|file_sep|>original/package.js Package.onUse(function(api) { configure(api); api.export('ReactLayout'); }); Package.onTest(function(api) { configure(api); api.use('react'); api.use('tinytest'); api.addFiles('test/clien...
b2a43f34a18c82159dd581b5d83b221a5b968666
package.js
package.js
JavaScript
<|file_sep|>original/.expeditor/release.omnibus.yml --- project-name: supermarket config: omnibus/omnibus.rb test-path: omnibus/omnibus-test.sh fips-platforms: - el-*-x86_64 builder-to-testers-map: el-6-x86_64: - el-6-x86_64 el-7-x86_64: - el-7-x86_64 ubuntu-14.04-x86_64: - ubuntu-14.04-x86_64 -...
--- project-name: supermarket config: omnibus/omnibus.rb test-path: omnibus/omnibus-test.sh fips-platforms: - el-*-x86_64 builder-to-testers-map: el-6-x86_64: - el-6-x86_64 el-7-x86_64: - el-7-x86_64 ubuntu-16.04-x86_64: - ubuntu-16.04-x86_64 - ubuntu-18.04-x86_64
<|file_sep|>original/.expeditor/release.omnibus.yml --- project-name: supermarket config: omnibus/omnibus.rb test-path: omnibus/omnibus-test.sh fips-platforms: - el-*-x86_64 builder-to-testers-map: el-6-x86_64: - el-6-x86_64 el-7-x86_64: - el-7-x86_64 ubuntu-14.04-x86_64: - ubuntu-14.04-x86_64 -...
b89febd8c7e2fdccc13f38c625ea5b3e0ef399a7
.expeditor/release.omnibus.yml
.expeditor/release.omnibus.yml
YAML
<|file_sep|>original/lib/bmo/version.rb # encoding: utf-8 # Main BMO module, version get right here module BMO VERSION = '0.8.0'.freeze end <|file_sep|>current/lib/bmo/version.rb # encoding: utf-8 # Main BMO module, version get right here module BMO VERSION = '0.8.0'.freeze end <|file_sep|>updated/lib/bmo/version.r...
# encoding: utf-8 # Main BMO module, version get right here module BMO VERSION = '0.8.1'.freeze end
<|file_sep|>original/lib/bmo/version.rb # encoding: utf-8 # Main BMO module, version get right here module BMO VERSION = '0.8.0'.freeze end <|file_sep|>current/lib/bmo/version.rb # encoding: utf-8 # Main BMO module, version get right here module BMO VERSION = '0.8.0'.freeze end <|file_sep|>updated/lib/bmo/version.r...
a93761c9cdcfffe21c9945a389ccd5ff5a5c40c8
lib/bmo/version.rb
lib/bmo/version.rb
Ruby
<|file_sep|>original/common/helpers.php <?php function phpme_map( $from_array, $map, $return_type = 'Array' ) { $return = array(); foreach ( $map as $to_key => $from_key ) { $return[$to_key] = $from_array[$from_key]; } if ( $return_type == 'Object' ) $return = (Object) $return; return $return; } ?> <|file...
<?php function phpme_map( $from_array, $map, $return_type = 'Array' ) { $return = array(); foreach ( $map as $to_key => $from_key ) { if ( isset( $from_array[$from_key] ) ) $return[$to_key] = $from_array[$from_key]; } if ( $return_type == 'Object' ) $return = (Object) $return; return $return; } ?>
<|file_sep|>original/common/helpers.php <?php function phpme_map( $from_array, $map, $return_type = 'Array' ) { $return = array(); foreach ( $map as $to_key => $from_key ) { $return[$to_key] = $from_array[$from_key]; } if ( $return_type == 'Object' ) $return = (Object) $return; return $return; } ?> <|file...
63fc15dd8abfc33079b511be5c56e8b5170464e1
common/helpers.php
common/helpers.php
PHP
<|file_sep|>original/catalog/Developer_Tools/gem_creation.yml description: Tools that aid in creating, maintaining and publishing Rubygems projects: - bones - bundler - echoe - enginex - gem-newgem - gem-release - gem_hadar - gemsmith - hoe - inochi - jeweler - juwelier - newgem - ore - qu...
projects: - bones - bundler - echoe - enginex - gem-newgem - gem-release - gem_hadar - gemsmith - hoe - inochi - jeweler - juwelier - microgem - newgem - ore - quik - rag - rookie - rubygems-tasks - simple-gem
<|file_sep|>original/catalog/Developer_Tools/gem_creation.yml description: Tools that aid in creating, maintaining and publishing Rubygems projects: - bones - bundler - echoe - enginex - gem-newgem - gem-release - gem_hadar - gemsmith - hoe - inochi - jeweler - juwelier - newgem - ore - qu...
c88ed92ce45d1b5d5614125cbf3d61ba0775beb4
catalog/Developer_Tools/gem_creation.yml
catalog/Developer_Tools/gem_creation.yml
YAML
<|file_sep|>original/.travis.yml dist: trusty language: csharp solution: SharpCompress.sln matrix: include: - dotnet: 1.0.4 mono: none env: DOTNETCORE=1 script: - ./build.sh <|file_sep|>current/.travis.yml dist: trusty language: csharp solution: SharpCompress.sln matrix: include: - dotnet: 1.0...
dist: trusty language: csharp cache: directories: - $HOME/.dotnet solution: SharpCompress.sln matrix: include: - dotnet: 1.0.4 mono: none env: DOTNETCORE=1 script: - ./build.sh
<|file_sep|>original/.travis.yml dist: trusty language: csharp solution: SharpCompress.sln matrix: include: - dotnet: 1.0.4 mono: none env: DOTNETCORE=1 script: - ./build.sh <|file_sep|>current/.travis.yml dist: trusty language: csharp solution: SharpCompress.sln matrix: include: - dotnet: 1.0...
9270d7cabfc0f46efab67b2ada1925d1c64970c1
.travis.yml
.travis.yml
YAML
<|file_sep|>original/Sources/SPTPersistentCacheFileManager+Private.h #import "SPTPersistentCacheFileManager.h" #import <SPTPersistentCache/SPTPersistentCacheOptions.h> NS_ASSUME_NONNULL_BEGIN /// Private interface exposed for testability. @interface SPTPersistentCacheFileManager () @property (nonatomic, copy, readon...
/* * Copyright (c) 2016 Spotify AB. * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License,...
<|file_sep|>original/Sources/SPTPersistentCacheFileManager+Private.h #import "SPTPersistentCacheFileManager.h" #import <SPTPersistentCache/SPTPersistentCacheOptions.h> NS_ASSUME_NONNULL_BEGIN /// Private interface exposed for testability. @interface SPTPersistentCacheFileManager () @property (nonatomic, copy, readon...
7ca370ebec19fe07ddee0dbea32c99c386ac7078
Sources/SPTPersistentCacheFileManager+Private.h
Sources/SPTPersistentCacheFileManager+Private.h
C
<|file_sep|>templates/directiveComplex/name.directive.js.diff original: updated: (function(){ var <%= cameledName %> = function(){ <|file_sep|>templates/directiveComplex/name.directive.js.diff original: angular.module('<%= scriptAppName %>') .directive('<%= cameledName %>', function () { updated: <|file_sep|>temp...
'use strict'; (function(){ var <%= cameledName %> = function(){ return { templateUrl: '<%= htmlUrl %>', restrict: 'EA', link: link }; /////////////////// function link(scope, element, attrs) { } }; angular .module('<%= scriptAppName %>') .directive('<%= cameledNa...
<|file_sep|>templates/directiveComplex/name.directive.js.diff original: updated: (function(){ var <%= cameledName %> = function(){ <|file_sep|>templates/directiveComplex/name.directive.js.diff original: angular.module('<%= scriptAppName %>') .directive('<%= cameledName %>', function () { updated: <|file_sep|>temp...
8cb3c459a68eb68e91999763f8878effb77f4445
templates/directiveComplex/name.directive.js
templates/directiveComplex/name.directive.js
JavaScript
<|file_sep|>original/_includes/team.html <!-- Team Section --> <section id="team" class="bg-light-gray"> <div class="container"> <div class="row"> <div class="col-xs-12 col-sm-6 col-md-4 col-lg-3 text-center"> <h2 class="section-heading">{{site.people-heading}...
<!-- Team Section --> <section id="team" class="bg-light-gray"> <div class="container"> <div class="row"> <div class="col-lg-12 text-center"> <h2 class="section-heading">{{site.people-heading}}</h2> <h3 class="section-subheading text-muted"...
<|file_sep|>original/_includes/team.html <!-- Team Section --> <section id="team" class="bg-light-gray"> <div class="container"> <div class="row"> <div class="col-xs-12 col-sm-6 col-md-4 col-lg-3 text-center"> <h2 class="section-heading">{{site.people-heading}...
03675c24a222004efa7566c2360adec9a57c00d6
_includes/team.html
_includes/team.html
HTML
<|file_sep|>original/requirements.txt APScheduler==3.2.0 werkzeug==0.11.15 Flask==1.0 requests==2.20.0 lxml==4.4.2 PyExecJS==1.5.1 click==7.0 gunicorn==19.9.0 pymongo redis <|file_sep|>current/requirements.txt APScheduler==3.2.0 werkzeug==0.11.15 Flask==1.0 requests==2.20.0 lxml==4.4.2 PyExecJS==1.5.1 click==7.0 gunico...
APScheduler==3.2.0 werkzeug==0.15.3 Flask==1.0 requests==2.20.0 lxml==4.4.2 PyExecJS==1.5.1 click==7.0 gunicorn==19.9.0 pymongo redis
<|file_sep|>original/requirements.txt APScheduler==3.2.0 werkzeug==0.11.15 Flask==1.0 requests==2.20.0 lxml==4.4.2 PyExecJS==1.5.1 click==7.0 gunicorn==19.9.0 pymongo redis <|file_sep|>current/requirements.txt APScheduler==3.2.0 werkzeug==0.11.15 Flask==1.0 requests==2.20.0 lxml==4.4.2 PyExecJS==1.5.1 click==7.0 gunico...
fce6ef668fd0905c8f75cc646f93e6bfee503f5e
requirements.txt
requirements.txt
Text
<|file_sep|>original/requirements-test.txt # Testing coverage==4.5.4 # Test coverage flake8==3.7.9 # Python linting mypy==0.750 # Static typing <|file_sep|>current/requirements-test.txt # Testing coverage==4.5.4 # Test coverage flake8==3.7.9 ...
# Testing coverage==5.0.3 # Test coverage flake8==3.7.9 # Python linting mypy==0.750 # Static typing
<|file_sep|>original/requirements-test.txt # Testing coverage==4.5.4 # Test coverage flake8==3.7.9 # Python linting mypy==0.750 # Static typing <|file_sep|>current/requirements-test.txt # Testing coverage==4.5.4 # Test coverage flake8==3.7.9 ...
c036c7483b9c6253e57c1942bd4c2bfb7d24e126
requirements-test.txt
requirements-test.txt
Text
<|file_sep|>original/plugins/fileperms.rb '/etc/hosts.allow', '/etc/hosts.deny', '/etc/anacrontab', '/etc/crontab', '/etc/cron.hourly', '/etc/cron.daily', '/etc/cron.weekly', '/etc/cron.monthly', '/etc/cron.d', '/etc/ssh/sshd_config', '/etc/gshadow', ...
'/etc/hosts.deny', '/etc/anacrontab', '/etc/crontab', '/etc/cron.hourly', '/etc/cron.daily', '/etc/cron.weekly', '/etc/cron.monthly', '/etc/cron.d', '/etc/ssh/sshd_config', '/etc/gshadow', '/etc/group', '/etc/login.defs' ] permissions Mash....
<|file_sep|>original/plugins/fileperms.rb '/etc/hosts.allow', '/etc/hosts.deny', '/etc/anacrontab', '/etc/crontab', '/etc/cron.hourly', '/etc/cron.daily', '/etc/cron.weekly', '/etc/cron.monthly', '/etc/cron.d', '/etc/ssh/sshd_config', '/etc/gshadow', ...
23ab0fadfe5d50681f76d9d1552e1078cb63bb66
plugins/fileperms.rb
plugins/fileperms.rb
Ruby
<|file_sep|>original/package.json "repository": "hexojs/hexo-renderer-dot", "keywords": [ "hexo", "doT", "renderer" ], "author": "Tommy Chen <tommy351@gmail.com> (http://zespia.tw)", "license": "MIT", "dependencies": { "dot": "^1.0.2" }, "devDependencies": { "chai": "^3.4.1", "es...
"repository": "hexojs/hexo-renderer-dot", "keywords": [ "hexo", "doT", "renderer" ], "author": "Tommy Chen <tommy351@gmail.com> (http://zespia.tw)", "license": "MIT", "dependencies": { "dot": "^1.0.2" }, "devDependencies": { "chai": "^3.4.1", "eslint": "^2.13.1", "eslint-conf...
<|file_sep|>original/package.json "repository": "hexojs/hexo-renderer-dot", "keywords": [ "hexo", "doT", "renderer" ], "author": "Tommy Chen <tommy351@gmail.com> (http://zespia.tw)", "license": "MIT", "dependencies": { "dot": "^1.0.2" }, "devDependencies": { "chai": "^3.4.1", "es...
5520aff537b6ccfa9c0cbfa60bacce2c24328666
package.json
package.json
JSON
<|file_sep|>original/README.md List all current limits in place. ``` throttle status ``` #### Remove all limits ``` throttle reset ``` #### Bandwidth Bandwidth must be specified in [Kilo/Mega][bits/Bytes]/s. * 500Kbps - 500 Kilobytes per second * 1MBps - 1 Megabyte per second IPFW doesn't allow bandwidth gre...
List all current limits in place. ``` throttle status ``` #### Remove all limits ``` throttle reset ``` #### Bandwidth Bandwidth must be specified in [Kilo/Mega][bits/Bytes]/s. * 500Kbps - 500 Kilobits per second * 1MBps - 1 Megabyte per second IPFW doesn't allow bandwidth greater than 268 MBps.
<|file_sep|>original/README.md List all current limits in place. ``` throttle status ``` #### Remove all limits ``` throttle reset ``` #### Bandwidth Bandwidth must be specified in [Kilo/Mega][bits/Bytes]/s. * 500Kbps - 500 Kilobytes per second * 1MBps - 1 Megabyte per second IPFW doesn't allow bandwidth gre...
4796ee163b09611b08e17abd7a329b2df0e32d39
README.md
README.md
Markdown
<|file_sep|>original/recipes/tams/meta.yaml build: noarch: python number: 0 script: "{{ PYTHON }} -m pip install . --no-deps -vv" requirements: host: - python >=3.7 - pip run: - python >=3.7 # # Core dependencies - geopandas >=0.10 - matplotlib-base >=3.4 - numpy - pandas...
build: noarch: python number: 0 script: "{{ PYTHON }} -m pip install . --no-deps -vv" requirements: host: - python >=3.7 - pip - flit-core run: - python >=3.7 # # Core dependencies - geopandas >=0.10 - matplotlib-base >=3.4 - numpy - pandas - scikit-image - sh...
<|file_sep|>original/recipes/tams/meta.yaml build: noarch: python number: 0 script: "{{ PYTHON }} -m pip install . --no-deps -vv" requirements: host: - python >=3.7 - pip run: - python >=3.7 # # Core dependencies - geopandas >=0.10 - matplotlib-base >=3.4 - numpy - pandas...
c79e46ebec159034c6c173dfb6242aeb4d2f71f8
recipes/tams/meta.yaml
recipes/tams/meta.yaml
YAML
<|file_sep|>lib/file_data/formats/mpeg4/mpeg4.rb.diff original: values = [Mpeg4ValueInfo.new('origin_date', MetaBoxParser, 'creation_date', %w[moov meta]), Mpeg4ValueInfo.new('creation_date', MvhdBoxParser, 'creation_time', %w[m...
class << self ['.mp4', '.mpeg4', '.m4v'].each { |e| FileInfo.info_maps[e] = Mpeg4 } values = [['origin_date', MetaBoxParser, 'creation_date', 'moov', 'meta'], ['creation_date', MvhdBoxParser, 'creation_time', 'moov',...
<|file_sep|>lib/file_data/formats/mpeg4/mpeg4.rb.diff original: values = [Mpeg4ValueInfo.new('origin_date', MetaBoxParser, 'creation_date', %w[moov meta]), Mpeg4ValueInfo.new('creation_date', MvhdBoxParser, 'creation_time', %w[m...
6290989c018ee014a03410e87764970d78de3032
lib/file_data/formats/mpeg4/mpeg4.rb
lib/file_data/formats/mpeg4/mpeg4.rb
Ruby
<|file_sep|>original/lib/devices/chuangmi.plug.v1.js <|file_sep|>current/lib/devices/chuangmi.plug.v1.js <|file_sep|>updated/lib/devices/chuangmi.plug.v1.js
'use strict'; const Device = require('../device'); const PowerChannels = require('./capabilities/power-channels'); class PlugV1 extends Device { static get TYPE() { return 'switch' } constructor(options) { super(options); this.type = PlugV1.TYPE; this.defineProperty('on', { name: 'powerChannel0' }); ...
<|file_sep|>original/lib/devices/chuangmi.plug.v1.js <|file_sep|>current/lib/devices/chuangmi.plug.v1.js <|file_sep|>updated/lib/devices/chuangmi.plug.v1.js 'use strict'; const Device = require('../device'); const PowerChannels = require('./capabilities/power-channels'); class PlugV1 extends Device { static get T...
f51ab5dd49be8099309d46ebe25c1ae9c81c944f
lib/devices/chuangmi.plug.v1.js
lib/devices/chuangmi.plug.v1.js
JavaScript
<|file_sep|>original/extensions/datasource/runtime/src/main/resources/META-INF/quarkus-extension.yaml --- artifact: ${project.groupId}:${project.artifactId}:${project.version} name: "Datasources" metadata: keywords: - "datasource" categories: - "data" status: "stable" unlisted: true <|file_sep|>current/exte...
--- artifact: ${project.groupId}:${project.artifactId}:${project.version} name: "Datasources" metadata: keywords: - "datasource" guide: "https://quarkus.io/guides/datasource" categories: - "data" status: "stable" unlisted: true
<|file_sep|>original/extensions/datasource/runtime/src/main/resources/META-INF/quarkus-extension.yaml --- artifact: ${project.groupId}:${project.artifactId}:${project.version} name: "Datasources" metadata: keywords: - "datasource" categories: - "data" status: "stable" unlisted: true <|file_sep|>current/exte...
6daaa49704c41eacd2147972cfc2ec60e8e88230
extensions/datasource/runtime/src/main/resources/META-INF/quarkus-extension.yaml
extensions/datasource/runtime/src/main/resources/META-INF/quarkus-extension.yaml
YAML
<|file_sep|>original/brake/utils.py <|file_sep|>current/brake/utils.py <|file_sep|>updated/brake/utils.py
from decorators import _backend """Access limits and increment counts without using a decorator.""" def get_limits(request, label, field, periods): limits = [] count = 10 for period in periods: limits.extend(_backend.limit( label, request, field=field, ...
<|file_sep|>original/brake/utils.py <|file_sep|>current/brake/utils.py <|file_sep|>updated/brake/utils.py from decorators import _backend """Access limits and increment counts without using a decorator.""" def get_limits(request, label, field, periods): limits = [] count = 10 for period in periods: ...
545af0493cf08cb15d262f3a5333df6d1fce6848
brake/utils.py
brake/utils.py
Python
<|file_sep|>original/.travis.yml rvm: 2.2 sudo: required # install the pre-release chef-dk. Use chef-stable-precise to install the stable release addons: apt: sources: - chef-current-precise packages: - chefdk services: docker env: matrix: - INSTANCE=default-ubuntu-1404 - INSTANCE=defau...
sudo: required # install the pre-release chef-dk. Use chef-stable-precise to install the stable release addons: apt: sources: - chef-current-precise packages: - chefdk services: docker env: matrix: - INSTANCE=default-ubuntu-1404 - INSTANCE=default-ubuntu-1204 - INSTANCE=default-centos-...
<|file_sep|>original/.travis.yml rvm: 2.2 sudo: required # install the pre-release chef-dk. Use chef-stable-precise to install the stable release addons: apt: sources: - chef-current-precise packages: - chefdk services: docker env: matrix: - INSTANCE=default-ubuntu-1404 - INSTANCE=defau...
c741534377ac148a9db2e548dcaab0daa6acdacb
.travis.yml
.travis.yml
YAML
<|file_sep|>original/Kugel.podspec s.name = "Kugel" s.version = "0.1.0" s.summary = "A glorious Swift wrapper around NSNotificationCenter" s.description = <<-DESC Easily publish/subscribe/unsubscribe to/from notifications with a convenient Swift syntax for NSNo...
s.version = "0.1.0" s.summary = "A glorious Swift wrapper around NSNotificationCenter" s.description = <<-DESC Easily publish/subscribe/unsubscribe to/from notifications with a convenient Swift syntax for NSNotificationCenter. DESC s.homepage = ...
<|file_sep|>original/Kugel.podspec s.name = "Kugel" s.version = "0.1.0" s.summary = "A glorious Swift wrapper around NSNotificationCenter" s.description = <<-DESC Easily publish/subscribe/unsubscribe to/from notifications with a convenient Swift syntax for NSNo...
96010adca37613db65797a0eeb3c557b18a0dca3
Kugel.podspec
Kugel.podspec
Ruby
<|file_sep|>original/tools/CMakeLists.txt include_directories(${CGREEN_PUBLIC_INCLUDE_DIRS} ${PROJECT_BINARY_DIR}) set(RUNNER_SRCS cgreen-runner.c gopt.c xml_reporter.c runner.c) set_source_files_properties(${RUNNER_SRCS} PROPERTIES LANGUAGE C) if(CYGWIN) # -D_XOPEN_SOURCE should work, but doesn't on cygwin s...
include_directories(${CGREEN_PUBLIC_INCLUDE_DIRS} ${PROJECT_BINARY_DIR}) set(RUNNER_SRCS cgreen-runner.c gopt.c xml_reporter.c runner.c) set_source_files_properties(${RUNNER_SRCS} PROPERTIES LANGUAGE C) if(CYGWIN) # -D_XOPEN_SOURCE should work, but doesn't on cygwin add_definitions(-std=gnu99) endif() add_ex...
<|file_sep|>original/tools/CMakeLists.txt include_directories(${CGREEN_PUBLIC_INCLUDE_DIRS} ${PROJECT_BINARY_DIR}) set(RUNNER_SRCS cgreen-runner.c gopt.c xml_reporter.c runner.c) set_source_files_properties(${RUNNER_SRCS} PROPERTIES LANGUAGE C) if(CYGWIN) # -D_XOPEN_SOURCE should work, but doesn't on cygwin s...
1c4a15783e33071bd9a10c2a8bbe0abdb53a16ff
tools/CMakeLists.txt
tools/CMakeLists.txt
Text
<|file_sep|>original/feincms/templatetags/applicationcontent_tags.py @register.simple_tag def feincms_render_region_appcontent(page, region, request): """Render only the application content for the region This allows template authors to choose whether their page behaves differently when displaying embedd...
@register.simple_tag def feincms_render_region_appcontent(page, region, request): """Render only the application content for the region This allows template authors to choose whether their page behaves differently when displaying embedded application subpages by doing something like this:: {...
<|file_sep|>original/feincms/templatetags/applicationcontent_tags.py @register.simple_tag def feincms_render_region_appcontent(page, region, request): """Render only the application content for the region This allows template authors to choose whether their page behaves differently when displaying embedd...
5cf17b6a46a3d4bbf4cecb65e4b9ef43066869d9
feincms/templatetags/applicationcontent_tags.py
feincms/templatetags/applicationcontent_tags.py
Python
<|file_sep|>install.bat.diff original: updated: REM This is required to enable reading of variables set in if statement blocks. REM Variables read with "!" e.g. !errorlevel! use delayed expansion. REM See http://ss64.com/nt/delayedexpansion.html for more info. setlocal enabledelayedexpansion <|file_sep|>original/insta...
REM vundle requires git WHERE git >nul 2>nul IF %ERRORLEVEL% NEQ 0 ECHO Please install git first. && GOTO :EOF REM vundle requires curl WHERE curl >nul 2>nul IF %ERRORLEVEL% NEQ 0 ECHO Please install curl first (see vundle windows install docs). && GOTO :EOF REM If _vimrc file already exists, prompt user to overwrite...
<|file_sep|>install.bat.diff original: updated: REM This is required to enable reading of variables set in if statement blocks. REM Variables read with "!" e.g. !errorlevel! use delayed expansion. REM See http://ss64.com/nt/delayedexpansion.html for more info. setlocal enabledelayedexpansion <|file_sep|>original/insta...
c6966996ba87963c159bed546c9253075f0f647f
install.bat
install.bat
Batchfile
<|file_sep|>original/docs/build_docs.sh #!/bin/bash # Automated deploy script with Travis CI. # Exit if any subcommand fails. set -e # only build doc for master branch export SOURCE_BRANCH="master" if [ "$TRAVIS_PULL_REQUEST" != "" -o "$TRAVIS_BRANCH" != "$SOURCE_BRANCH" ]; then echo "Only build for master bran...
#!/bin/bash # Automated deploy script with Travis CI. # Exit if any subcommand fails. set -e # only build doc for master branch export SOURCE_BRANCH="master" if [ "$TRAVIS_PULL_REQUEST" != "false"e -o "$TRAVIS_BRANCH" != "$SOURCE_BRANCH" ]; then echo "Only build for master branch" exit 0 fi # Variables ORI...
<|file_sep|>original/docs/build_docs.sh #!/bin/bash # Automated deploy script with Travis CI. # Exit if any subcommand fails. set -e # only build doc for master branch export SOURCE_BRANCH="master" if [ "$TRAVIS_PULL_REQUEST" != "" -o "$TRAVIS_BRANCH" != "$SOURCE_BRANCH" ]; then echo "Only build for master bran...
4b9b3b0f313e8827c41fb41575362538ab9b7bd6
docs/build_docs.sh
docs/build_docs.sh
Shell
<|file_sep|>original/scripts/animate-logo.js var updateClock = (function() { var sDial = document.getElementById("secondDial"); var mDial = document.getElementById("minuteDial"); var hDial = document.getElementById("hourDial"); function moveDials(hours, minutes, seconds) { hDeg = (360 / 12) * (hours + minu...
var updateClock = (function() { var sDial = document.getElementById("secondDial"); var mDial = document.getElementById("minuteDial"); var hDial = document.getElementById("hourDial"); function moveDials(hours, minutes, seconds) { var hDeg = (360 / 12) * (hours + minutes/60); var mDeg = (360 / 60) * minu...
<|file_sep|>original/scripts/animate-logo.js var updateClock = (function() { var sDial = document.getElementById("secondDial"); var mDial = document.getElementById("minuteDial"); var hDial = document.getElementById("hourDial"); function moveDials(hours, minutes, seconds) { hDeg = (360 / 12) * (hours + minu...
26a5c5c9da0f999de55b33c9dc076657db219f63
scripts/animate-logo.js
scripts/animate-logo.js
JavaScript
<|file_sep|>original/.travis.yml language: ruby cache: - bundler install: - bundle install rvm: - 1.9.3 - 2.0 - 2.1 notifications: email: recipients: - mattjones@yieldbot.com - rich.m.chatterton@gmail.com on_success: change on_failure: always script: - 'bundle exec rake default' <...
language: ruby cache: - bundler install: - bundle install rvm: - 1.9.3 - 2.0 - 2.1 notifications: irc: channels: - "chat.freenode.net#sensu" on_success: change on_failure: always email: recipients: - mattjones@yieldbot.com - rich.m.chatterton@gmail.com on_success: chang...
<|file_sep|>original/.travis.yml language: ruby cache: - bundler install: - bundle install rvm: - 1.9.3 - 2.0 - 2.1 notifications: email: recipients: - mattjones@yieldbot.com - rich.m.chatterton@gmail.com on_success: change on_failure: always script: - 'bundle exec rake default' <...
d1ac4bd9e08c63b45a52c8b32be188327ecfeae3
.travis.yml
.travis.yml
YAML
<|file_sep|>original/requirements/prod.txt # Sockets flask_socketio==2.9.3 python-engineio==2.0.1 python-socketio==1.8.4 # Celery celery==3.1.23 redis==2.10.6 # Octave interaction scipy==0.17.1 -e git://github.com/suever/oct2py.git@16db760302111a32d40cc47c5a155cc12897ae3f#egg=oct2py numpy==1.11.1 # Octave packages s...
# Sockets flask_socketio==2.9.3 python-engineio==2.0.1 python-socketio==1.8.4 # Celery celery==3.1.23 redis==2.10.6 # Octave interaction scipy==1.0.0 -e git://github.com/suever/oct2py.git@16db760302111a32d40cc47c5a155cc12897ae3f#egg=oct2py numpy==1.11.1 # Octave packages sympy # Database SQLAlchemy==1.1.14 Flask-SQ...
<|file_sep|>original/requirements/prod.txt # Sockets flask_socketio==2.9.3 python-engineio==2.0.1 python-socketio==1.8.4 # Celery celery==3.1.23 redis==2.10.6 # Octave interaction scipy==0.17.1 -e git://github.com/suever/oct2py.git@16db760302111a32d40cc47c5a155cc12897ae3f#egg=oct2py numpy==1.11.1 # Octave packages s...
43de5c13e318ceb379f79122a9cdb5ff66cb5706
requirements/prod.txt
requirements/prod.txt
Text
<|file_sep|>app/controllers/items_controller.rb.diff original: updated: respond_to do |format| format.html # index.html.erb format.xml { render xml: @items } format.json { render json: @items } <|file_sep|>original/app/controllers/items_controller.rb def index @items = Item.all end def...
def index @items = Item.all respond_to do |format| format.html # index.html.erb format.xml { render xml: @items } format.json { render json: @items } end def create @item = Item.new(item_params) if @item.save render json: @item else # ? end end def show ...
<|file_sep|>app/controllers/items_controller.rb.diff original: updated: respond_to do |format| format.html # index.html.erb format.xml { render xml: @items } format.json { render json: @items } <|file_sep|>original/app/controllers/items_controller.rb def index @items = Item.all end def...
3ffad2b9cbc4358d0a75766afc7257701d7829e3
app/controllers/items_controller.rb
app/controllers/items_controller.rb
Ruby
<|file_sep|>original/atlasdb-client/src/main/java/com/palantir/atlasdb/table/api/AtlasDbDynamicImmutableTable.java * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either expres...
* http://opensource.org/licenses/BSD-3-Clause * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing...
<|file_sep|>original/atlasdb-client/src/main/java/com/palantir/atlasdb/table/api/AtlasDbDynamicImmutableTable.java * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either expres...
209f65947db290acbeca295bf070a06f48479641
atlasdb-client/src/main/java/com/palantir/atlasdb/table/api/AtlasDbDynamicImmutableTable.java
atlasdb-client/src/main/java/com/palantir/atlasdb/table/api/AtlasDbDynamicImmutableTable.java
Java
<|file_sep|>.travis.yml.diff original: - "2.0" - "2.1" updated: - 2.0 - 2.1 - 2.3 <|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 - "2.0" - "2.1" - ruby-head gemfile: - gemfiles/rspec2.gemfile - gemfiles/rspec3.gemfile <|file_sep|>current/.travis.yml language: ruby rvm: - 1.9.3 - ...
language: ruby rvm: - 1.9.3 - 2.0 - 2.1 - 2.3 - ruby-head install: - "gem install bundler" - "bundle install --jobs=3 --retry=3" gemfile: - gemfiles/rspec2.gemfile - gemfiles/rspec3.gemfile
<|file_sep|>.travis.yml.diff original: - "2.0" - "2.1" updated: - 2.0 - 2.1 - 2.3 <|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 - "2.0" - "2.1" - ruby-head gemfile: - gemfiles/rspec2.gemfile - gemfiles/rspec3.gemfile <|file_sep|>current/.travis.yml language: ruby rvm: - 1.9.3 - ...
26c75298b731a5e47a27af369b1ee4155d36b417
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml language: php php: - 5.6 - 7.0 - 7.1 - 7.2 before_script: - mkdir -p build/logs - composer self-update - composer install --prefer-source --no-interaction --dev script: - vendor/bin/phpunit --coverage-clover build/logs/clover.xml after_script: - php vendor/bin/coverall...
language: php php: - 5.6 - 7.0 - 7.1 - 7.2 before_script: - printf "\n" | pecl install imagick - mkdir -p build/logs - composer self-update - composer install --prefer-source --no-interaction --dev script: - vendor/bin/phpunit --coverage-clover build/logs/clover.xml after_script: - php vendor/bin/co...
<|file_sep|>original/.travis.yml language: php php: - 5.6 - 7.0 - 7.1 - 7.2 before_script: - mkdir -p build/logs - composer self-update - composer install --prefer-source --no-interaction --dev script: - vendor/bin/phpunit --coverage-clover build/logs/clover.xml after_script: - php vendor/bin/coverall...
95f141f338ec3e553c5eb059ffed88a057043021
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/Collections/Utility/PropertiesCollectionParser.php <|file_sep|>current/src/Collections/Utility/PropertiesCollectionParser.php <|file_sep|>updated/src/Collections/Utility/PropertiesCollectionParser.php
<?php namespace Aedart\Scaffold\Collections\Utility; use Aedart\Scaffold\Containers\IoC; use Aedart\Scaffold\Contracts\Collections\TemplateProperties; /** * Properties Collection Parser Trait * * Utility that is able to parse an array into a * template properties collection * * @author Alin Eugen Deac <aedart@g...
<|file_sep|>original/src/Collections/Utility/PropertiesCollectionParser.php <|file_sep|>current/src/Collections/Utility/PropertiesCollectionParser.php <|file_sep|>updated/src/Collections/Utility/PropertiesCollectionParser.php <?php namespace Aedart\Scaffold\Collections\Utility; use Aedart\Scaffold\Containers\IoC; us...
5533c8e76c7e6dc5b699d4f2ef9690888921864b
src/Collections/Utility/PropertiesCollectionParser.php
src/Collections/Utility/PropertiesCollectionParser.php
PHP
<|file_sep|>original/{{cookiecutter.project_slug}}/requirements/test.txt # Test dependencies go here. -r base.txt {% if cookiecutter.windows == 'y' -%} # Python-PostgreSQL Database Adapter # If using Win for dev, this assumes Unix in test/prod psycopg2==2.7.7 {%- endif %} flake8==3.6.0 coverage==4.5.2 django-test-plu...
# Test dependencies go here. -r base.txt {% if cookiecutter.windows == 'y' -%} # Python-PostgreSQL Database Adapter # If using Win for dev, this assumes Unix in test/prod psycopg2==2.7.7 {%- endif %} flake8==3.7.5 coverage==4.5.2 django-test-plus==1.1.1 factory-boy==2.11.1 # pytest! pytest-django==3.4.5 pytest-sugar...
<|file_sep|>original/{{cookiecutter.project_slug}}/requirements/test.txt # Test dependencies go here. -r base.txt {% if cookiecutter.windows == 'y' -%} # Python-PostgreSQL Database Adapter # If using Win for dev, this assumes Unix in test/prod psycopg2==2.7.7 {%- endif %} flake8==3.6.0 coverage==4.5.2 django-test-plu...
b9431e9f80ff1e0a1d1acfcee7cb3789e2bf7cf0
{{cookiecutter.project_slug}}/requirements/test.txt
{{cookiecutter.project_slug}}/requirements/test.txt
Text
<|file_sep|>original/test/travis-publish.sh #!/bin/bash set -e COMMIT_MESSAGE=$(git show -s --format=%B $TRAVIS_COMMIT | tr -d '\n') if test "${COMMIT_MESSAGE#*'[publish binary]'}" != "$COMMIT_MESSAGE" then PUBLISH_BINARY=true FALLBACK_TO_BUILD=false npm install aws-sdk ./node_modules/.bin/node-p...
COMMIT_MESSAGE=$(git show -s --format=%B $TRAVIS_COMMIT | tr -d '\n') if test "${COMMIT_MESSAGE#*'[publish binary]'}" != "$COMMIT_MESSAGE" then PUBLISH_BINARY=true FALLBACK_TO_BUILD=false npm install aws-sdk ./node_modules/.bin/node-pre-gyp package testpackage ./node_modules/.bin/node-pre-gyp p...
<|file_sep|>original/test/travis-publish.sh #!/bin/bash set -e COMMIT_MESSAGE=$(git show -s --format=%B $TRAVIS_COMMIT | tr -d '\n') if test "${COMMIT_MESSAGE#*'[publish binary]'}" != "$COMMIT_MESSAGE" then PUBLISH_BINARY=true FALLBACK_TO_BUILD=false npm install aws-sdk ./node_modules/.bin/node-p...
c80f6ca620b80bb5a24a1a707cdcec68f6b283e6
test/travis-publish.sh
test/travis-publish.sh
Shell
<|file_sep|>original/src/components/container/theme.css @import '@teamleader/ui-utilities'; .container { min-width: 1056px; padding-left: var(--spacer-big); padding-right: var(--spacer-big); } .is-fixed { margin: 0 auto; max-width: 1056px; } @media (--larger-than-lg-viewport) { .container:not(.is-fixed) ...
@import '@teamleader/ui-utilities'; .container { min-width: 1056px; padding-left: var(--spacer-big); padding-right: var(--spacer-big); } .is-fixed { margin: 0 auto; max-width: 1056px; } @media (--larger-than-xl-viewport) { .container:not(.is-fixed) { padding-left: var(--spacer-biggest); padding-r...
<|file_sep|>original/src/components/container/theme.css @import '@teamleader/ui-utilities'; .container { min-width: 1056px; padding-left: var(--spacer-big); padding-right: var(--spacer-big); } .is-fixed { margin: 0 auto; max-width: 1056px; } @media (--larger-than-lg-viewport) { .container:not(.is-fixed) ...
236baba1f5cae6788881390f676cc008d9b358f7
src/components/container/theme.css
src/components/container/theme.css
CSS
<|file_sep|>original/.travis.yml sudo: required env: - GHCVER=7.4.2 - GHCVER=7.6.3 - GHCVER=7.8.4 - GHCVER=7.10.3 - GHCVER=8.0.2 - GHCVER=8.2.1 - GHCVER=head script: - git clone https://github.com/jacereda/fsatrace.git .fsatrace - (cd .fsatrace && make) - export PATH=$PATH:`pwd`/.fsatrace - fsatrace v - -- echo fsatra...
sudo: required env: - GHCVER=7.4.2 - GHCVER=7.6.3 - GHCVER=7.8.4 - GHCVER=7.10.3 - GHCVER=8.0.2 - GHCVER=8.2.1 - GHCVER=head script: - git clone https://github.com/jacereda/fsatrace.git .fsatrace - (cd .fsatrace && make) - export PATH=$PATH:`pwd`/.fsatrace - fsatrace v - -- echo fsatrace works - curl -sL https://raw.g...
<|file_sep|>original/.travis.yml sudo: required env: - GHCVER=7.4.2 - GHCVER=7.6.3 - GHCVER=7.8.4 - GHCVER=7.10.3 - GHCVER=8.0.2 - GHCVER=8.2.1 - GHCVER=head script: - git clone https://github.com/jacereda/fsatrace.git .fsatrace - (cd .fsatrace && make) - export PATH=$PATH:`pwd`/.fsatrace - fsatrace v - -- echo fsatra...
0d4d33b82eb21f45cdba9375602991aeea18e436
.travis.yml
.travis.yml
YAML
<|file_sep|>original/jupyterlab/package.json { "private": true, "name": "jupyterlab-extension", "version": "0.1.0", "description": "JupyterLab extension", "main": "lib/index.js", "typings": "lib/index.d.ts", "dependencies": { "es6-promise": "^3.1.2", "font-awesome": "^4.6.1", "jupyter-js-widge...
{ "private": true, "name": "jupyterlab-extension", "version": "0.1.0", "description": "JupyterLab extension", "main": "lib/index.js", "typings": "lib/index.d.ts", "dependencies": { "es6-promise": "^3.1.2", "font-awesome": "^4.6.1", "jupyterlab": "file:../", "material-design-icons": "^2.2.3...
<|file_sep|>original/jupyterlab/package.json { "private": true, "name": "jupyterlab-extension", "version": "0.1.0", "description": "JupyterLab extension", "main": "lib/index.js", "typings": "lib/index.d.ts", "dependencies": { "es6-promise": "^3.1.2", "font-awesome": "^4.6.1", "jupyter-js-widge...
f278e3d5f115e0a61fd015399f78505af31a001a
jupyterlab/package.json
jupyterlab/package.json
JSON
<|file_sep|>package.json.diff original: updated: "scripts": { "prepublish": "npm run clean && npm run compile", "clean": "rm -rf build", "compile": "babel lib --out-dir build", "watch": "npm run compile -- -w" }, <|file_sep|>original/package.json "repository": "https://github.com/atom/languagecli...
"scripts": { "prepublish": "npm run clean && npm run compile", "clean": "rm -rf build", "compile": "babel lib --out-dir build", "watch": "npm run compile -- -w" }, "dependencies": { "vscode-jsonrpc": "^3.0.3" }, "devDependencies": { "babel-cli": "^6.24.0", "babel-core": "6.22.1", ...
<|file_sep|>package.json.diff original: updated: "scripts": { "prepublish": "npm run clean && npm run compile", "clean": "rm -rf build", "compile": "babel lib --out-dir build", "watch": "npm run compile -- -w" }, <|file_sep|>original/package.json "repository": "https://github.com/atom/languagecli...
2a203e595ac48009634e4af4fd3cb158f04d32ef
package.json
package.json
JSON
<|file_sep|>original/awp/main.py return json.load(config_file) def main(): cli_args = parse_cli_args() config = get_utility_config() try: awp.validator.validate_config(config) awp.packager.package_workflow( config, version=cli_args.version, exp...
return json.load(config_file) def main(): cli_args = parse_cli_args() config = get_utility_config() try: awp.validator.validate_config(config) awp.packager.package_workflow( config, version=cli_args.version, export_file=cli_args.export, ...
<|file_sep|>original/awp/main.py return json.load(config_file) def main(): cli_args = parse_cli_args() config = get_utility_config() try: awp.validator.validate_config(config) awp.packager.package_workflow( config, version=cli_args.version, exp...
305849d57cc6897c65b4e0996f70a21f1d873d25
awp/main.py
awp/main.py
Python
<|file_sep|>stylesheets/vim-mode.less.diff original: updated: @import "ui-variables"; <|file_sep|>original/stylesheets/vim-mode.less display: block; } } .command-mode-input .editor.mini { background-color: inherit; border: none; width: 100%; font-weight: normal; color: #aaaaaa; text-shadow: 0 -1px 0...
.cursor.hidden-cursor { display: block; } } .command-mode-input .editor.mini { background-color: inherit; border: none; width: 100%; font-weight: normal; color: @text-color; // see also the commandModeInputViewFontSize setting. line-height: 1.28; cursor: default; white-space: nowrap; paddin...
<|file_sep|>stylesheets/vim-mode.less.diff original: updated: @import "ui-variables"; <|file_sep|>original/stylesheets/vim-mode.less display: block; } } .command-mode-input .editor.mini { background-color: inherit; border: none; width: 100%; font-weight: normal; color: #aaaaaa; text-shadow: 0 -1px 0...
7fa9adfc9db1baf6568f023d01452b8cf5929438
stylesheets/vim-mode.less
stylesheets/vim-mode.less
Less
<|file_sep|>wafer/talks/templates/wafer.talks/talk.html.diff original: <span class="label label-important">{% trans 'Under consideration' %}</span> updated: <span class="label label-warning">{% trans 'Under consideration' %}</span> <|file_sep|>original/wafer/talks/templates/wafer.talks/talk.html {% endblock...
{% endblocktrans %} {% for author in object.authors.all %} <a href="{{ author.get_absolute_url }}">{{ author.get_full_name|default:author.username }}</a> {% endfor %} </div> {% if user.is_staff %} <div> {% trans 'Status:' %} {% if object.pending %} <span class="label label-warning">{% trans ...
<|file_sep|>wafer/talks/templates/wafer.talks/talk.html.diff original: <span class="label label-important">{% trans 'Under consideration' %}</span> updated: <span class="label label-warning">{% trans 'Under consideration' %}</span> <|file_sep|>original/wafer/talks/templates/wafer.talks/talk.html {% endblock...
beb3eba01e9341dd9043a8baebde08a16b612729
wafer/talks/templates/wafer.talks/talk.html
wafer/talks/templates/wafer.talks/talk.html
HTML