prompt
stringlengths
77
6.9k
completion
stringlengths
1
3.38k
text
stringlengths
163
9.03k
commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
lang
stringclasses
277 values
<|file_sep|>original/README.md # peekaboo.js A jQuery plugin for accessible content toggles. Inspired by Heydon Pickering's [progressive collapsibles](http://heydonworks.com/practical_aria_examples/#progressive-collapsibles) and toggleSingle() from Magento's RWD theme. ## Example markup ```html <button>Navigation</b...
# peekaboo.js A jQuery plugin for accessible content toggles. Inspired by Heydon Pickering's [progressive collapsibles](http://heydonworks.com/practical_aria_examples/#progressive-collapsibles) and toggleSingle() from Magento's RWD theme. ## Example markup ```html <button class="toggle-next">Navigation</button> <nav...
<|file_sep|>original/README.md # peekaboo.js A jQuery plugin for accessible content toggles. Inspired by Heydon Pickering's [progressive collapsibles](http://heydonworks.com/practical_aria_examples/#progressive-collapsibles) and toggleSingle() from Magento's RWD theme. ## Example markup ```html <button>Navigation</b...
62545a212822bf63cffa7d3c10d78dc1fb5a25b4
README.md
README.md
Markdown
<|file_sep|>original/setup.py #!/usr/bin/env python from setuptools import setup, find_packages import sys with open('README.md') as f: readme = f.read() install_requires = [ 'cachetools>=1.1.5', 'requests>=2.7.0', 'xmltodict>=0.9.2', ] setup( name='pinkopy', version='1.3.dev', descript...
#!/usr/bin/env python from setuptools import setup, find_packages import sys try: import pypandoc readme = pypandoc.convert('README.md', 'rst') except(IOError, ImportError): with open('README.md') as f: readme = f.read() install_requires = [ 'cachetools>=1.1.5', 'requests>=2.7.0', 'xm...
<|file_sep|>original/setup.py #!/usr/bin/env python from setuptools import setup, find_packages import sys with open('README.md') as f: readme = f.read() install_requires = [ 'cachetools>=1.1.5', 'requests>=2.7.0', 'xmltodict>=0.9.2', ] setup( name='pinkopy', version='1.3.dev', descript...
b80f775ef6307d625f64420c1852eb6119ae8cf7
setup.py
setup.py
Python
<|file_sep|>.travis.yml.diff original: - "4" updated: <|file_sep|>original/.travis.yml language: node_js node_js: - "4" - "6" - "8" script: "npm test" <|file_sep|>current/.travis.yml language: node_js node_js: - "6" - "8" script: "npm test" <|file_sep|>updated/.travis.yml
language: node_js node_js: - "6" - "8" - "10" - "node" script: "npm test"
<|file_sep|>.travis.yml.diff original: - "4" updated: <|file_sep|>original/.travis.yml language: node_js node_js: - "4" - "6" - "8" script: "npm test" <|file_sep|>current/.travis.yml language: node_js node_js: - "6" - "8" script: "npm test" <|file_sep|>updated/.travis.yml language: node_js node_js: - "6"...
b060ae8cf84e87dfa6f90116d9eb082141b94c42
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml language: node_js node_js: - 0.10 - 0.8 before_install: - npm install -g grunt-cli <|file_sep|>current/.travis.yml language: node_js node_js: - 0.10 - 0.8 before_install: - npm install -g grunt-cli <|file_sep|>updated/.travis.yml
language: node_js node_js: - '0.10' - '0.8' before_install: - npm install -g grunt-cli
<|file_sep|>original/.travis.yml language: node_js node_js: - 0.10 - 0.8 before_install: - npm install -g grunt-cli <|file_sep|>current/.travis.yml language: node_js node_js: - 0.10 - 0.8 before_install: - npm install -g grunt-cli <|file_sep|>updated/.travis.yml language: node_js node_js: - '0.10' - '0.8' bef...
ad323c76fffeb6c1e8193240ea575a7f59778ef4
.travis.yml
.travis.yml
YAML
<|file_sep|>original/README.md # funda_components <|file_sep|>current/README.md # funda_components <|file_sep|>updated/README.md
# Overview of the Funda Components Funda_components is a set of components which expose microservices for use in creating web applications. Web applications using one or more Funda Components must have a Postgresql database and be implemented using Node js. Each component will consist of the objects it manages, a sch...
<|file_sep|>original/README.md # funda_components <|file_sep|>current/README.md # funda_components <|file_sep|>updated/README.md # Overview of the Funda Components Funda_components is a set of components which expose microservices for use in creating web applications. Web applications using one or more Funda Component...
0b6a37f6cf5f5a91d6476f0ea98f38b36287a12d
README.md
README.md
Markdown
<|file_sep|>www/project_tools.html.diff original: <div><small><a href="/servlets/ProjectMailingListList">Mailing lists</a></small\ ></div> updated: <div><small><a href="/servlets/ProjectMailingListList">Mailing lists</a></small></div> <|file_sep|>original/www/project_tools.html <div><small><a href="/servlets/ProjectMem...
<div><small><a href="/servlets/ProjectMemberList">Membership</a></small></div> <div><small><a href="/servlets/ProjectMailingListList">Mailing lists</a></small></div> <div><small><a href="/project_source.html">Source code</a></small></div> <div><small><a href="/servlets/ProjectIssues">Issue tracking</a></small></div>...
<|file_sep|>www/project_tools.html.diff original: <div><small><a href="/servlets/ProjectMailingListList">Mailing lists</a></small\ ></div> updated: <div><small><a href="/servlets/ProjectMailingListList">Mailing lists</a></small></div> <|file_sep|>original/www/project_tools.html <div><small><a href="/servlets/ProjectMem...
6f2b894375ecb072ac8f7716c04b7f0cf5de3828
www/project_tools.html
www/project_tools.html
HTML
<|file_sep|>original/src/Umbraco.Web.UI.Client/src/common/directives/components/editor/umbeditormenu.directive.js }; //callback method to go and get the options async function getOptions() { if (!scope.currentNode) { return; } ...
}; //callback method to go and get the options async function getOptions() { if (!scope.currentNode) { return; } //when the options item is selected, we need to set the current menu item in appState (since this is...
<|file_sep|>original/src/Umbraco.Web.UI.Client/src/common/directives/components/editor/umbeditormenu.directive.js }; //callback method to go and get the options async function getOptions() { if (!scope.currentNode) { return; } ...
4b69a7859d426583c9d6e50a2695061ee0178709
src/Umbraco.Web.UI.Client/src/common/directives/components/editor/umbeditormenu.directive.js
src/Umbraco.Web.UI.Client/src/common/directives/components/editor/umbeditormenu.directive.js
JavaScript
<|file_sep|>original/tools/web_templates.js * See the License for the specific language governing permissions and * limitations under the License. */ var Hogan = require(__dirname + '/../lib/hogan.js'); var fs = require('fs'); var path = require('path'); // Substitute variables in the homepage with values from p...
* See the License for the specific language governing permissions and * limitations under the License. */ var Hogan = require(__dirname + '/../lib/hogan.js'); var fs = require('fs'); var path = require('path'); // Substitute variables in the homepage with values from package.json var homeTemplatePath = __dirname...
<|file_sep|>original/tools/web_templates.js * See the License for the specific language governing permissions and * limitations under the License. */ var Hogan = require(__dirname + '/../lib/hogan.js'); var fs = require('fs'); var path = require('path'); // Substitute variables in the homepage with values from p...
ae061bda10b653643473c087ce22cbedd1261c36
tools/web_templates.js
tools/web_templates.js
JavaScript
<|file_sep|>src/modules/kdenlive/filter_wave.yml.diff original: schema_version: 0.1 updated: schema_version: 0.2 <|file_sep|>src/modules/kdenlive/filter_wave.yml.diff original: version: 1 updated: version: 2 <|file_sep|>original/src/modules/kdenlive/filter_wave.yml schema_version: 0.1 type: filter identifier: wave titl...
type: filter identifier: wave title: Wave version: 2 copyright: Leny Grisel, Jean-Baptiste Mardelle creator: Leny Grisel, Jean-Baptiste Mardelle license: LGPLv2.1 language: en tags: - Video parameters: - identifier: start title: Amplitude argument: yes type: float description: > If an end ampl...
<|file_sep|>src/modules/kdenlive/filter_wave.yml.diff original: schema_version: 0.1 updated: schema_version: 0.2 <|file_sep|>src/modules/kdenlive/filter_wave.yml.diff original: version: 1 updated: version: 2 <|file_sep|>original/src/modules/kdenlive/filter_wave.yml schema_version: 0.1 type: filter identifier: wave titl...
bcf1c1565b39c34a7faf00aecdf24f53352a9c9f
src/modules/kdenlive/filter_wave.yml
src/modules/kdenlive/filter_wave.yml
YAML
<|file_sep|>original/chef/vagrant_bootstrap.sh #!/bin/bash cd `dirname $0` bundle install vagrant up chmod 0644 .chef/insecure_private_key bundle exec knife solo bootstrap vagrant@localhost -i .chef/insecure_private_key -p 2222 <|file_sep|>current/chef/vagrant_bootstrap.sh #!/bin/bash cd `dirname $0` bundle install v...
#!/bin/bash cd `dirname $0` bundle install vagrant up chmod 0600 .chef/insecure_private_key bundle exec knife solo bootstrap vagrant@localhost -i .chef/insecure_private_key -p 2222
<|file_sep|>original/chef/vagrant_bootstrap.sh #!/bin/bash cd `dirname $0` bundle install vagrant up chmod 0644 .chef/insecure_private_key bundle exec knife solo bootstrap vagrant@localhost -i .chef/insecure_private_key -p 2222 <|file_sep|>current/chef/vagrant_bootstrap.sh #!/bin/bash cd `dirname $0` bundle install v...
8b59dc9081e0d88c967b792e2ba5f3b6d5db8fc8
chef/vagrant_bootstrap.sh
chef/vagrant_bootstrap.sh
Shell
<|file_sep|>original/.travis.yml # Travis CI Configuration language: python python: - "3.4" - "3.5" install: - pip install -r requirements.txt - pip install coveralls script: - coverage run -m nose after_success: - coveralls <|file_sep|>current/.travis.yml # Travis CI Configuration language: python python...
# Travis CI Configuration language: python python: - "3.4" - "3.5" - "3.6" install: - pip install -r requirements.txt - pip install coveralls script: - coverage run -m nose after_success: - coveralls
<|file_sep|>original/.travis.yml # Travis CI Configuration language: python python: - "3.4" - "3.5" install: - pip install -r requirements.txt - pip install coveralls script: - coverage run -m nose after_success: - coveralls <|file_sep|>current/.travis.yml # Travis CI Configuration language: python python...
537e9f145a32d6d3c4b0f845b1ab895c576f0d00
.travis.yml
.travis.yml
YAML
<|file_sep|>original/ci/travis.install.sh set -o nounset # don't allow use of unset variables set -o pipefail # produce a failure return code if any pipeline command errors set -o xtrace # echo commands shopt -s failglob # cause globs that don't get expanded to cause errors . ci/travis_retry.sh echo "install star...
set -o nounset # don't allow use of unset variables set -o pipefail # produce a failure return code if any pipeline command errors set -o xtrace # echo commands shopt -s failglob # cause globs that don't get expanded to cause errors . ci/travis_retry.sh echo "install start" # Get shellcheck. curl --fail --locati...
<|file_sep|>original/ci/travis.install.sh set -o nounset # don't allow use of unset variables set -o pipefail # produce a failure return code if any pipeline command errors set -o xtrace # echo commands shopt -s failglob # cause globs that don't get expanded to cause errors . ci/travis_retry.sh echo "install star...
bbb7a5f8c4e9d6b4a654c85c31b41abe368ccdf8
ci/travis.install.sh
ci/travis.install.sh
Shell
<|file_sep|>original/build.sbt Nice.javaProject name := "ivy-s3-resolver" organization := "ohnosequences" bucketSuffix := "era7.com" javaVersion := "1.7" libraryDependencies ++= Seq( "com.amazonaws" % "aws-java-sdk-s3" % "1.10.47", "org.apache.ivy" % "ivy" % "2.4.0" ) <|file_sep|>current/build.sbt Nice.javaProj...
Nice.javaProject name := "ivy-s3-resolver" organization := "ohnosequences" bucketSuffix := "era7.com" javaVersion := "1.7" libraryDependencies ++= Seq( "com.amazonaws" % "aws-java-sdk-s3" % "1.11.26", "org.apache.ivy" % "ivy" % "2.4.0" )
<|file_sep|>original/build.sbt Nice.javaProject name := "ivy-s3-resolver" organization := "ohnosequences" bucketSuffix := "era7.com" javaVersion := "1.7" libraryDependencies ++= Seq( "com.amazonaws" % "aws-java-sdk-s3" % "1.10.47", "org.apache.ivy" % "ivy" % "2.4.0" ) <|file_sep|>current/build.sbt Nice.javaProj...
73173c5899db68c340d772ae1b98e57863770280
build.sbt
build.sbt
Scala
<|file_sep|>original/appveyor.yml version: 1.0.{build} branches: only: - master os: Visual Studio 2015 configuration: Release cache: - packages -> **\packages.config install: - ps: (new-object Net.WebClient).DownloadString("https://raw.github.com/madskristensen/ExtensionScripts/master/AppVeyor/vsix.ps1") | iex bu...
version: 1.0.{build} branches: only: - master os: Visual Studio 2015 configuration: Release cache: - packages -> **\packages.config install: - ps: (new-object Net.WebClient).DownloadString("https://raw.github.com/madskristensen/ExtensionScripts/master/AppVeyor/vsix.ps1") | iex before_build: - ps: Vsix-IncrementVs...
<|file_sep|>original/appveyor.yml version: 1.0.{build} branches: only: - master os: Visual Studio 2015 configuration: Release cache: - packages -> **\packages.config install: - ps: (new-object Net.WebClient).DownloadString("https://raw.github.com/madskristensen/ExtensionScripts/master/AppVeyor/vsix.ps1") | iex bu...
896cf205b73e58c7000a12bff79ce28e5aa4598b
appveyor.yml
appveyor.yml
YAML
<|file_sep|>original/scripts/download-nuget.js const fs = require('fs'); const request = require('request'); const nuget = './nuget.exe'; console.info(`Downloading 'nuget.exe'...`); console.info(); request .get('http://nuget.org/nuget.exe') .on('error', function (err) { console.error(err); }) ...
const fs = require('fs'); const request = require('request'); const nuget = './nuget.exe'; console.info(`Downloading 'nuget.exe'...`); console.info(); request .get('https://dist.nuget.org/win-x86-commandline/latest/nuget.exe') .on('error', function (err) { console.error(err); }) .on('response...
<|file_sep|>original/scripts/download-nuget.js const fs = require('fs'); const request = require('request'); const nuget = './nuget.exe'; console.info(`Downloading 'nuget.exe'...`); console.info(); request .get('http://nuget.org/nuget.exe') .on('error', function (err) { console.error(err); }) ...
7e2f385b983dc94eaacc0ec17e1788c3f3f6c6e3
scripts/download-nuget.js
scripts/download-nuget.js
JavaScript
<|file_sep|>Battery-Commander.Web/Controllers/AdminController.cs.diff original: using Microsoft.AspNetCore.Authorization; updated: <|file_sep|>Battery-Commander.Web/Controllers/AdminController.cs.diff original: using System; using System.IO; updated: using System.Linq; using System.Threading.Tasks; <|file_sep|>Battery...
var mimeType = "application/octet-stream"; return File(data, mimeType); } public IActionResult Jobs() { return View(JobManager.AllSchedules); } public async Task<IActionResult> Users() { var soldiers_with_access = ...
<|file_sep|>Battery-Commander.Web/Controllers/AdminController.cs.diff original: using Microsoft.AspNetCore.Authorization; updated: <|file_sep|>Battery-Commander.Web/Controllers/AdminController.cs.diff original: using System; using System.IO; updated: using System.Linq; using System.Threading.Tasks; <|file_sep|>Battery...
9a7c5806c6137501d709629d503b7b91e4607d66
Battery-Commander.Web/Controllers/AdminController.cs
Battery-Commander.Web/Controllers/AdminController.cs
C#
<|file_sep|>original/features/task_title.feature <|file_sep|>current/features/task_title.feature <|file_sep|>updated/features/task_title.feature
Feature: Task Title In order to remember what I did As a daily end user I want to keep track of tasks by Start and Stop date-time, title and description Scenario: Create new task with title Given I am on the home page When I follow "Add Task" And I fill in "Title" with "My first task title" An...
<|file_sep|>original/features/task_title.feature <|file_sep|>current/features/task_title.feature <|file_sep|>updated/features/task_title.feature Feature: Task Title In order to remember what I did As a daily end user I want to keep track of tasks by Start and Stop date-time, title and description Scenario: ...
9d7985c69c5b56c5630db1818b37f19d496363a5
features/task_title.feature
features/task_title.feature
Cucumber
<|file_sep|>src/services/GetCharityData.js.diff original: getData(){ var CHARITY_DATA = [ {amount: '41,234', month: 'January', year: '2015', name: 'Charity:Water', description: 'Cool description that was so hard to come up with. Hence I ended up writing some random text that dosent make much text' ,imageSource: '...
class GetCharityData { getData(){ var CHARITY_DATA_ARRAY = []; var spreadsheetID = "1f1tFr7y62QS7IRWOC2nNR5HWsTO99Bna3d0Xv1PTPiY"; var url = "https://spreadsheets.google.com/feeds/list/" + spreadsheetID + "/od6/public/values?alt=json"; fetch(url).then((response) => response.json()) .then((respon...
<|file_sep|>src/services/GetCharityData.js.diff original: getData(){ var CHARITY_DATA = [ {amount: '41,234', month: 'January', year: '2015', name: 'Charity:Water', description: 'Cool description that was so hard to come up with. Hence I ended up writing some random text that dosent make much text' ,imageSource: '...
1890cfca8065635ced6755524d468614dead23f5
src/services/GetCharityData.js
src/services/GetCharityData.js
JavaScript
<|file_sep|>original/requirements/base.txt # Forms django-braces==1.9.0 django-crispy-forms==1.6.0 django-floppyforms==1.7.0 # Models django-model-utils==2.5.2 # Images Pillow==3.3.1 # For user registration, either via email or social # Well-built with regular release cycles! django-allauth==0.27.0 # Python-Postg...
# Forms django-braces==1.9.0 django-crispy-forms==1.6.0 django-floppyforms==1.7.0 # Models django-model-utils==2.5.2 # Images Pillow==4.0.0 # For user registration, either via email or social # Well-built with regular release cycles! django-allauth==0.27.0 # Python-PostgreSQL Database Adapter psycopg2==2.6.2 # U...
<|file_sep|>original/requirements/base.txt # Forms django-braces==1.9.0 django-crispy-forms==1.6.0 django-floppyforms==1.7.0 # Models django-model-utils==2.5.2 # Images Pillow==3.3.1 # For user registration, either via email or social # Well-built with regular release cycles! django-allauth==0.27.0 # Python-Postg...
f45e1e50adc7a41834844821088659e747059cdd
requirements/base.txt
requirements/base.txt
Text
<|file_sep|>original/git/lfs.org * Table of Contents :TOC_1_gh: - [[#using-git-lfs-pull][Using git lfs pull]] * Using git lfs pull - https://shuhrat.github.io/programming/git-lfs-tips-and-tricks.html ~git lfs pull~ downloads lfs files as batch, but works on *current local branch*. But when executing ~git pull~ to up...
* Table of Contents :TOC_1_gh: - [[#using-git-lfs-pull][Using git lfs pull]] * Using git lfs pull - https://shuhrat.github.io/programming/git-lfs-tips-and-tricks.html ~git lfs pull~ downloads lfs files as batch, but works on *current local branch*. But when executing ~git pull~ to update local branch, *LFS* automati...
<|file_sep|>original/git/lfs.org * Table of Contents :TOC_1_gh: - [[#using-git-lfs-pull][Using git lfs pull]] * Using git lfs pull - https://shuhrat.github.io/programming/git-lfs-tips-and-tricks.html ~git lfs pull~ downloads lfs files as batch, but works on *current local branch*. But when executing ~git pull~ to up...
eaa8e37f0d5c9b055ab82ee81a11d38cd0cc9318
git/lfs.org
git/lfs.org
Org
<|file_sep|>source/manual/access-jenkins.html.md.diff original: Our Jenkins installations ([deploy](https://deploy.integration.publishing.service.gov.uk/) and [CI](https://ci.integration.publishing.service.gov.uk/)) use GitHub for authentication and authorisation. You need to be added to the [GOV.UK team][govuk-team] b...
--- owner_slack: "#govuk-developers" title: Get access to Jenkins section: Accounts layout: manual_layout parent: "/manual.html" last_reviewed_on: 2019-10-22 review_in: 12 months --- Our Jenkins installations ([deploy](https://deploy.integration.publishing.service.gov.uk/) and [CI](https://ci.integration.publishing.se...
<|file_sep|>source/manual/access-jenkins.html.md.diff original: Our Jenkins installations ([deploy](https://deploy.integration.publishing.service.gov.uk/) and [CI](https://ci.integration.publishing.service.gov.uk/)) use GitHub for authentication and authorisation. You need to be added to the [GOV.UK team][govuk-team] b...
6758c02b0c1399aea418abf08aa3d0551baf4ba7
source/manual/access-jenkins.html.md
source/manual/access-jenkins.html.md
Markdown
<|file_sep|>original/examples/siteVerification/simple.php <|file_sep|>current/examples/siteVerification/simple.php <|file_sep|>updated/examples/siteVerification/simple.php
<?php require_once '../../src/apiClient.php'; require_once '../../src/contrib/apiSiteVerificationService.php'; session_start(); $client = new apiClient(); $client->setApplicationName("Google Site Verification PHP Sample"); // Visit https://code.google.com/apis/console?api=siteVerification to generate // your client i...
<|file_sep|>original/examples/siteVerification/simple.php <|file_sep|>current/examples/siteVerification/simple.php <|file_sep|>updated/examples/siteVerification/simple.php <?php require_once '../../src/apiClient.php'; require_once '../../src/contrib/apiSiteVerificationService.php'; session_start(); $client = new api...
b2ebdcdf7e5b0bcfbfd51bf5bd71d819250cc87b
examples/siteVerification/simple.php
examples/siteVerification/simple.php
PHP
<|file_sep|>original/README.md usage ----- python capture.py python capture.py WIDTH_IN_CHARS # For colored version which may be slower, needs optimizing export TERM=xterm-256color && python color.py WIDTH_IN_CHARS demo ---- <a href="http://showterm.io/b90dc46e31526ab227f36">http://showterm.io/1e036bb3ba91...
usage ----- python capture.py python capture.py WIDTH_IN_CHARS # For colored version which may be slower, needs optimizing export TERM=xterm-256color && python color.py WIDTH_IN_CHARS demo ---- <a href="http://showterm.io/b90dc46e31526ab227f36">http://showterm.io/1e036bb3ba91b8cf40335</a> output ------ !...
<|file_sep|>original/README.md usage ----- python capture.py python capture.py WIDTH_IN_CHARS # For colored version which may be slower, needs optimizing export TERM=xterm-256color && python color.py WIDTH_IN_CHARS demo ---- <a href="http://showterm.io/b90dc46e31526ab227f36">http://showterm.io/1e036bb3ba91...
4d88223f4a1466f72f01808a2e22686512b4150a
README.md
README.md
Markdown
<|file_sep|>original/README.md ``` dotnet new -i "Take.Blip.Client.Templates::*" ``` After installing the templates, just create a directory for your chatbot and create a new project using a template: ``` mkdir MyBot cd MyBot dotnet new blip-console ``` There are available the following templates: - `blip-console` -...
``` dotnet new -i "Take.Blip.Client.Templates::*" ``` After installing the templates, just create a directory for your chatbot and create a new project using a template: ``` mkdir MyBot cd MyBot dotnet new blip-console ``` There are available the following templates: - `blip-console` - Run as a console application -...
<|file_sep|>original/README.md ``` dotnet new -i "Take.Blip.Client.Templates::*" ``` After installing the templates, just create a directory for your chatbot and create a new project using a template: ``` mkdir MyBot cd MyBot dotnet new blip-console ``` There are available the following templates: - `blip-console` -...
f428fe076b9e19f3bb4e2c8c22c6cf3e89a326f2
README.md
README.md
Markdown
<|file_sep|>packages/hm/hmatrix-gsl.yaml.diff original: hash: 16617fbfcd9b22c695addb98bcff3818d1274939c1fe72dbaff7a71128f673d2 updated: hash: 6dd4b43e72d566ab7830e6cdb5fe865bb4a7156ccc3e550b7c041492348a9e79 <|file_sep|>packages/hm/hmatrix-gsl.yaml.diff original: updated: - '0.19.0.0' <|file_sep|>packages/hm/hmatrix-gs...
process: -any array: -any random: -any hmatrix: ! '>=0.18' vector: -any all-versions: - '0.16.0.0' - '0.16.0.1' - '0.16.0.2' - '0.16.0.3' - '0.17.0.0' - '0.18.0.1' - '0.18.2.0' - '0.19.0.0' author: Alberto Ruiz latest: '0.19.0.0' description-type: haddock description: ! 'Purely functional interface to selecte...
<|file_sep|>packages/hm/hmatrix-gsl.yaml.diff original: hash: 16617fbfcd9b22c695addb98bcff3818d1274939c1fe72dbaff7a71128f673d2 updated: hash: 6dd4b43e72d566ab7830e6cdb5fe865bb4a7156ccc3e550b7c041492348a9e79 <|file_sep|>packages/hm/hmatrix-gsl.yaml.diff original: updated: - '0.19.0.0' <|file_sep|>packages/hm/hmatrix-gs...
c209e3f66bd669801701a4b1071fb9fb0ef0630c
packages/hm/hmatrix-gsl.yaml
packages/hm/hmatrix-gsl.yaml
YAML
<|file_sep|>README.md.diff original: Plek allows one to alter the URL returned using environment variables, eg: updated: Plek allows one to alter the URI returned using environment variables, eg: <|file_sep|>README.md.diff original: PLEK_SERVICE_EXAMPLECHEESETHING_URL=http://example.com bundle exec rails s updated: PLE...
Plek.current.find('frontend') ``` returns `https://frontend.production.alphagov.co.uk`. This means we can use this in our code and let our environment configuration figure out the correct hosts for us at runtime. Hacking Plek URLs ----------------- Plek allows one to alter the URI returned using environment variable...
<|file_sep|>README.md.diff original: Plek allows one to alter the URL returned using environment variables, eg: updated: Plek allows one to alter the URI returned using environment variables, eg: <|file_sep|>README.md.diff original: PLEK_SERVICE_EXAMPLECHEESETHING_URL=http://example.com bundle exec rails s updated: PLE...
abe9c61d49701e1bd8ad63d44655c515a54dc4a1
README.md
README.md
Markdown
<|file_sep|>original/README.md # webvr-ribbons WebVR ribbons demo [http://unboring.net/lab/ribbons](http://unboring.net/lab/ribbons) The prototype folder structure is based on some [Mattdesl](https://twitter.com/mattdesl) code & includes [Boris Smus](https://twitter.com/borismus) webvr-boilerplate ## Configuration ...
# webvr-ribbons WebVR ribbons demo [http://unboring.net/lab/ribbonsVR/](http://unboring.net/lab/ribbonsVR/) The prototype folder structure is based on some [Mattdesl](https://twitter.com/mattdesl) code & includes [Boris Smus](https://twitter.com/borismus) webvr-boilerplate ## Configuration ```sh # Install node_modu...
<|file_sep|>original/README.md # webvr-ribbons WebVR ribbons demo [http://unboring.net/lab/ribbons](http://unboring.net/lab/ribbons) The prototype folder structure is based on some [Mattdesl](https://twitter.com/mattdesl) code & includes [Boris Smus](https://twitter.com/borismus) webvr-boilerplate ## Configuration ...
444e0d8e8839fd42a5940e3edac1be1dd8928b8d
README.md
README.md
Markdown
<|file_sep|>app/exporters/users.rb.diff original: updated: export_for_season(Season.current) end private def export_for_season(season) <|file_sep|>app/exporters/users.rb.diff original: where("teams.season_id" => Season.current) updated: where("teams.season_id" => season) <|file_sep|...
module Exporters class Users < Base def current_students export_for_season(Season.current) end private def export_for_season(season) students = User.with_role('student').with_team_kind(%w(sponsored voluntary)). where("teams.season_id" => season) generate(students, 'User I...
<|file_sep|>app/exporters/users.rb.diff original: updated: export_for_season(Season.current) end private def export_for_season(season) <|file_sep|>app/exporters/users.rb.diff original: where("teams.season_id" => Season.current) updated: where("teams.season_id" => season) <|file_sep|...
77cd79b44ccd635265b86d558f47766dbe66a489
app/exporters/users.rb
app/exporters/users.rb
Ruby
<|file_sep|>original/tasks/options/copy.js module.exports = { main: { files: [ { expand: true, src: ["assets/images/**"], dest: "dist/" }, { expand: true, src: ["assets/kss/**"], dest: "dist/" }, { expand: true, src: ["assets/fonts/**"], dest: "dist/" }, { expand: true, src: ["scss/**"], d...
module.exports = { main: { files: [ { expand: true, src: ["assets/images/**"], dest: "dist/" }, { expand: true, src: ["assets/kss/**"], dest: "dist/" }, { expand: true, src: ["assets/fonts/**"], dest: "dist/" }, { expand: true, src: ["scss/**"], dest: "dist/" }, { expand: true, src: ...
<|file_sep|>original/tasks/options/copy.js module.exports = { main: { files: [ { expand: true, src: ["assets/images/**"], dest: "dist/" }, { expand: true, src: ["assets/kss/**"], dest: "dist/" }, { expand: true, src: ["assets/fonts/**"], dest: "dist/" }, { expand: true, src: ["scss/**"], d...
a721c84f8c9ca1636f692d4fa5c52f8076abf5ba
tasks/options/copy.js
tasks/options/copy.js
JavaScript
<|file_sep|>.github/workflows/test.yml.diff original: test: updated: test-clj: <|file_sep|>.github/workflows/test.yml.diff original: distribution: 'zulu' # See 'Supported distributions' for available options updated: distribution: 'zulu' <|file_sep|>.github/workflows/test.yml.diff original: ...
cli: 1.11.1.1189 - run: clojure -X:dev:test test-cljs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-java@v3 with: distribution: 'zulu' java-version: '19' - uses: actions/setup-node@v3 with: nod...
<|file_sep|>.github/workflows/test.yml.diff original: test: updated: test-clj: <|file_sep|>.github/workflows/test.yml.diff original: distribution: 'zulu' # See 'Supported distributions' for available options updated: distribution: 'zulu' <|file_sep|>.github/workflows/test.yml.diff original: ...
6a8f7952910e77558176e9c715e2bc621821e4ec
.github/workflows/test.yml
.github/workflows/test.yml
YAML
<|file_sep|>original/pft/tests/test_users.py <|file_sep|>current/pft/tests/test_users.py <|file_sep|>updated/pft/tests/test_users.py
"""User Model Tests.""" import unittest from .. import create_app, db from ..database import User class UserModelTestCase(unittest.TestCase): """User model tests.""" def setUp(self): """Set up tests.""" self.app = create_app('testing') self.app_context = self.app.app_context() ...
<|file_sep|>original/pft/tests/test_users.py <|file_sep|>current/pft/tests/test_users.py <|file_sep|>updated/pft/tests/test_users.py """User Model Tests.""" import unittest from .. import create_app, db from ..database import User class UserModelTestCase(unittest.TestCase): """User model tests.""" def setU...
d7f5da9cce78cec57720bff37e0c21604d0b93d1
pft/tests/test_users.py
pft/tests/test_users.py
Python
<|file_sep|>original/README.md #Tic Tac Toe game [![Code Review](http://www.zomis.net/codereview/shield/?qid=95706)](http://codereview.stackexchange.com/q/95706/49181) Features: Toggle & Reset capable Score Display. Adding in player name(s). Part of a series of simple apps made for the sake of learning. Try it out: ...
#Tic Tac Toe game [![Code Review](http://www.zomis.net/codereview/shield/?qid=95706)](http://codereview.stackexchange.com/q/95706/49181) **Features**: * Score Display. * May be toggled. * Can reset score. * Adding in player name(s). Part of a series of simple apps made for the sake of learning. Try it out: [TicT...
<|file_sep|>original/README.md #Tic Tac Toe game [![Code Review](http://www.zomis.net/codereview/shield/?qid=95706)](http://codereview.stackexchange.com/q/95706/49181) Features: Toggle & Reset capable Score Display. Adding in player name(s). Part of a series of simple apps made for the sake of learning. Try it out: ...
3a8ee86b43e00076be91cd0d545afcfd92e520ac
README.md
README.md
Markdown
<|file_sep|>original/WifiProfiles/Program.cs bool sawBadWifi = false; foreach (var a in profiles) { string warning = NetShWrapper.IsOpenAndAutoWifiProfile(a) ? "Warning: AUTO connect to OPEN WiFi" : String.Empty; Console.WriteLine(String.Format("{0,-20...
bool sawBadWifi = false; foreach (var a in profiles) { string warning = NetShWrapper.IsOpenAndAutoWifiProfile(a) ? "Warning: AUTO connect to OPEN WiFi" : String.Empty; Console.WriteLine(String.Format("{0,-20} {1,10} {2,10} {3,30} ", a.Name, a.Connectio...
<|file_sep|>original/WifiProfiles/Program.cs bool sawBadWifi = false; foreach (var a in profiles) { string warning = NetShWrapper.IsOpenAndAutoWifiProfile(a) ? "Warning: AUTO connect to OPEN WiFi" : String.Empty; Console.WriteLine(String.Format("{0,-20...
6d0723aa7de285b58fa0f723baf1fb0ed841d4a9
WifiProfiles/Program.cs
WifiProfiles/Program.cs
C#
<|file_sep|>features/rails_vendor.feature.diff original: | only | | activerecord | | activesupport | updated: | only | | activerecord | | active_support | <|file_sep|>original/features/rails_vendor.feature | activesupport | When I create the tags file Then the t...
| active_support | When I create the tags file Then the tags file should contain "diff" And the tags file should contain "has_many" And the tags file should not contain "get" And the tags file should not contain "deliver" And the tags file should not contain "caches_action" And the tags ...
<|file_sep|>features/rails_vendor.feature.diff original: | only | | activerecord | | activesupport | updated: | only | | activerecord | | active_support | <|file_sep|>original/features/rails_vendor.feature | activesupport | When I create the tags file Then the t...
a6ba8cba2b55b333ca8c147294b8da7f2e61c898
features/rails_vendor.feature
features/rails_vendor.feature
Cucumber
<|file_sep|>original/ikku.gemspec $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'ikku/version' Gem::Specification.new do |spec| spec.name = "ikku" spec.version = Ikku::VERSION spec.authors = ["Ryo Nakamura"] spec.email = ["r7kamura@gmail.com"] spec.summary ...
require 'ikku/version' Gem::Specification.new do |spec| spec.name = "ikku" spec.version = Ikku::VERSION spec.authors = ["Ryo Nakamura"] spec.email = ["r7kamura@gmail.com"] spec.summary = %q{TODO: Write a short summary. Required.} spec.description = %q{TODO: Write a long...
<|file_sep|>original/ikku.gemspec $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'ikku/version' Gem::Specification.new do |spec| spec.name = "ikku" spec.version = Ikku::VERSION spec.authors = ["Ryo Nakamura"] spec.email = ["r7kamura@gmail.com"] spec.summary ...
1a49dc939385cc7e1a49034137fd2ab63cdf56ff
ikku.gemspec
ikku.gemspec
Ruby
<|file_sep|>original/azure-pipelines.yml <|file_sep|>current/azure-pipelines.yml <|file_sep|>updated/azure-pipelines.yml
# Starter pipeline # Start with a minimal pipeline that you can customize to build and deploy your code. # Add steps that build, run tests, deploy, and more: # https://aka.ms/yaml trigger: - master pool: vmImage: 'ubuntu-latest' steps: - script: echo Hello, world! displayName: 'Run a one-line script' - script: ...
<|file_sep|>original/azure-pipelines.yml <|file_sep|>current/azure-pipelines.yml <|file_sep|>updated/azure-pipelines.yml # Starter pipeline # Start with a minimal pipeline that you can customize to build and deploy your code. # Add steps that build, run tests, deploy, and more: # https://aka.ms/yaml trigger: - maste...
b358891c1b3c8c51f7763a89e22588e85d5828b4
azure-pipelines.yml
azure-pipelines.yml
YAML
<|file_sep|>.travis.yml.diff original: updated: - php: 7.1 env: COMPOSER_STABILITY=lowest - php: 7.2 <|file_sep|>original/.travis.yml - php: 5.6 env: COMPOSER_STABILITY=lowest - php: 7.0 - php: 7.0 env: COMPOSER_STABILITY=lowest - php: 7.1 env: COLLECT_COVERAGE=true ...
- php: 5.6 env: COMPOSER_STABILITY=lowest - php: 7.0 - php: 7.0 env: COMPOSER_STABILITY=lowest - php: 7.1 - php: 7.1 env: COMPOSER_STABILITY=lowest - php: 7.2 env: COLLECT_COVERAGE=true - php: 7.2 env: COMPOSER_STABILITY=lowest sudo: false cache: directories...
<|file_sep|>.travis.yml.diff original: updated: - php: 7.1 env: COMPOSER_STABILITY=lowest - php: 7.2 <|file_sep|>original/.travis.yml - php: 5.6 env: COMPOSER_STABILITY=lowest - php: 7.0 - php: 7.0 env: COMPOSER_STABILITY=lowest - php: 7.1 env: COLLECT_COVERAGE=true ...
ffd9113089369da0335f61838100a7b008e952ec
.travis.yml
.travis.yml
YAML
<|file_sep|>original/app/controllers/demo_controller.rb class DemoController < ApplicationController def new if user_signed_in? flash[:notice] = "You need to be logged out for this" else pass = SecureRandom.hex(8) user = User.create!(:name => "Demo User", :email => SecureRandom.hex(8) + "@d...
class DemoController < ApplicationController def new if user_signed_in? flash[:notice] = "You need to be logged out for this" else pass = SecureRandom.hex(8) user = User.create!(:name => "Demo User", :email => SecureRandom.hex(8) + "@demoaccount.com", :password => pass, :password_confirmati...
<|file_sep|>original/app/controllers/demo_controller.rb class DemoController < ApplicationController def new if user_signed_in? flash[:notice] = "You need to be logged out for this" else pass = SecureRandom.hex(8) user = User.create!(:name => "Demo User", :email => SecureRandom.hex(8) + "@d...
0b6c098946a80ac2656f705563afe973efb38ce6
app/controllers/demo_controller.rb
app/controllers/demo_controller.rb
Ruby
<|file_sep|>source/17_planning.md.diff original: # Work Schedule updated: # Planning ## Work Schedule <|file_sep|>source/17_planning.md.diff original: ## Analyse (START) updated: ### Analyse (START) <|file_sep|>source/17_planning.md.diff original: ## Iteration 1 (ALPHA) updated: ### Iteration 1 (ALPHA) <|file_sep|>sou...
- OSM2VectorTiles Docker ### Iteration 2 (BETA) - Testing of alternative renderers - MBTiles vector tiles for Switzerland rendered - OSM Carto visual style - OSMBright TM2Source improved - OSM Bright Visual Styles adjusted ### Iteration 3 (FINAL) ## Milestones --------------------------------------------------- Mi...
<|file_sep|>source/17_planning.md.diff original: # Work Schedule updated: # Planning ## Work Schedule <|file_sep|>source/17_planning.md.diff original: ## Analyse (START) updated: ### Analyse (START) <|file_sep|>source/17_planning.md.diff original: ## Iteration 1 (ALPHA) updated: ### Iteration 1 (ALPHA) <|file_sep|>sou...
7ebe8b3b8d645a82bd3a98f8f4a36147af6d39c4
source/17_planning.md
source/17_planning.md
Markdown
<|file_sep|>board/bluepill/pins.h.diff original: typedef TX1_PIN TX_PIN; typedef RX1_PIN RX_PIN; updated: <|file_sep|>original/board/bluepill/pins.h #ifndef PINS_H_ #define PINS_H_ typedef GPIO_PIN_LED<3,13,false> LED_BUILTIN_; typedef GPIO_PIN<1,9> TX1_PIN; typedef GPIO_PIN<1,10> RX1_PIN; typedef TX1_PIN TX_PIN; ...
#ifndef PINS_H_ #define PINS_H_ typedef GPIO_PIN_LED<3,13,false> LED_BUILTIN_; typedef GPIO_PIN<1,9> TX1_PIN; typedef GPIO_PIN<1,10> RX1_PIN; typedef GPIO_PIN<1,2> TX2_PIN; typedef GPIO_PIN<1,3> RX2_PIN; typedef GPIO_PIN<2,10> TX3_PIN; typedef GPIO_PIN<2,11> RX3_PIN; typedef GPIO_PIN<0,0xFFFF> NO_PIN; typedef TX2...
<|file_sep|>board/bluepill/pins.h.diff original: typedef TX1_PIN TX_PIN; typedef RX1_PIN RX_PIN; updated: <|file_sep|>original/board/bluepill/pins.h #ifndef PINS_H_ #define PINS_H_ typedef GPIO_PIN_LED<3,13,false> LED_BUILTIN_; typedef GPIO_PIN<1,9> TX1_PIN; typedef GPIO_PIN<1,10> RX1_PIN; typedef TX1_PIN TX_PIN; ...
b9bcb1f7994994213d18d97f4c04582b9d6a04b2
board/bluepill/pins.h
board/bluepill/pins.h
C
<|file_sep|>original/requirements/dev.txt -r base.txt django-autofixture==0.12.1 django-debug-toolbar==1.9.1 factory-boy==2.11.1 Faker==0.8.16 flake8-docstrings==1.3.0 flake8==3.5.0 freezegun==0.3.10 isort==4.3.4 pytest-cov==2.5.1 pytest-django==3.3.0 pytest-factoryboy==2.0.1 pytest==3.6.1 <|file_sep|>current/requireme...
-r base.txt django-autofixture==0.12.1 django-debug-toolbar==1.9.1 factory-boy==2.11.1 Faker==0.8.16 flake8-docstrings==1.3.0 flake8==3.5.0 freezegun==0.3.10 isort==4.3.4 pytest-cov==2.5.1 pytest-django==3.3.2 pytest-factoryboy==2.0.1 pytest==3.6.1
<|file_sep|>original/requirements/dev.txt -r base.txt django-autofixture==0.12.1 django-debug-toolbar==1.9.1 factory-boy==2.11.1 Faker==0.8.16 flake8-docstrings==1.3.0 flake8==3.5.0 freezegun==0.3.10 isort==4.3.4 pytest-cov==2.5.1 pytest-django==3.3.0 pytest-factoryboy==2.0.1 pytest==3.6.1 <|file_sep|>current/requireme...
1c584ba7b3812a0e3c8d61cd20f600b7bbb5e8ec
requirements/dev.txt
requirements/dev.txt
Text
<|file_sep|>original/client/views/patients/instancesOfProcurement.coffee Template.instancesOfProcurementForm.events "click .add-instance-of-procurement": -> @instancesOfProcurementCollection.insert {} Template.instancesOfProcurementForm.helpers "iop": -> @instancesOfProcurementCollection.find() Template.insta...
Template.instancesOfProcurementForm.events "click .add-instance-of-procurement": -> @instancesOfProcurementCollection.insert {} Template.instancesOfProcurementForm.helpers "iop": -> @instancesOfProcurementCollection.find() Template.instancesOfProcurementForm.created = -> collection = @data.instancesOfProc...
<|file_sep|>original/client/views/patients/instancesOfProcurement.coffee Template.instancesOfProcurementForm.events "click .add-instance-of-procurement": -> @instancesOfProcurementCollection.insert {} Template.instancesOfProcurementForm.helpers "iop": -> @instancesOfProcurementCollection.find() Template.insta...
1e7de09f96936aa15de557d86db6b6094c7cb561
client/views/patients/instancesOfProcurement.coffee
client/views/patients/instancesOfProcurement.coffee
CoffeeScript
<|file_sep|>original/requirements.txt chatterbot>=0.3.5 flask>=1.0,<1.1 iot_analytics>=0.0.1 psutil==2.2.1 speechrecognition>=3.2.0 zorg>=0.0.5,<0.1.0 zorg-emic>=0.0.1 zorg-firmata>=0.0.2 zorg-grove==0.0.4 zorg-gpio>=0.0.7,<0.1.0 zorg-network-camera>=0.0.1 #zorg-raspi>=0.0.1 # Develoment requirements sphinx <|file_sep...
chatterbot>=0.3.5 flask>=1.0,<1.1 iot_analytics>=0.0.1 psutil>=5.7,<5.8 speechrecognition>=3.2.0 zorg>=0.0.5,<0.1.0 zorg-emic>=0.0.1 zorg-firmata>=0.0.2 zorg-grove==0.0.4 zorg-gpio>=0.0.7,<0.1.0 zorg-network-camera>=0.0.1 #zorg-raspi>=0.0.1 # Develoment requirements sphinx
<|file_sep|>original/requirements.txt chatterbot>=0.3.5 flask>=1.0,<1.1 iot_analytics>=0.0.1 psutil==2.2.1 speechrecognition>=3.2.0 zorg>=0.0.5,<0.1.0 zorg-emic>=0.0.1 zorg-firmata>=0.0.2 zorg-grove==0.0.4 zorg-gpio>=0.0.7,<0.1.0 zorg-network-camera>=0.0.1 #zorg-raspi>=0.0.1 # Develoment requirements sphinx <|file_sep...
61cca477c0aadc9157de306fae4be8f7f100285b
requirements.txt
requirements.txt
Text
<|file_sep|>original/.travis.yml - INSTANCE=compile-time-ubuntu-1604 - INSTANCE=compile-time-ubuntu-1804 - INSTANCE=compile-time-ubuntu-2004 - INSTANCE=compile-time-debian-9 - INSTANCE=compile-time-debian-10 - INSTANCE=unattended-upgrades-ubuntu-1604 before_script: - sudo iptables -L DOCKER || ( echo "DO...
- INSTANCE=default-debian-9 - INSTANCE=default-debian-10 - INSTANCE=default-ubuntu-1604 - INSTANCE=default-ubuntu-1804 - INSTANCE=default-ubuntu-2004 - INSTANCE=cacher-debian-9 - INSTANCE=cacher-debian-10 - INSTANCE=cacher-ubuntu-1604 - INSTANCE=compile-time-ubuntu-1604 - INSTANCE=compile-time-ubunt...
<|file_sep|>original/.travis.yml - INSTANCE=compile-time-ubuntu-1604 - INSTANCE=compile-time-ubuntu-1804 - INSTANCE=compile-time-ubuntu-2004 - INSTANCE=compile-time-debian-9 - INSTANCE=compile-time-debian-10 - INSTANCE=unattended-upgrades-ubuntu-1604 before_script: - sudo iptables -L DOCKER || ( echo "DO...
612b0c18bcc26cf82067432d72dec89c96e5945a
.travis.yml
.travis.yml
YAML
<|file_sep|>client/views/layouts/page_layout.html.diff original: {{#if hasItems}} <div class="page-body-content {{class}}"> <div class="list"> updated: <div class="page-body-content {{class}}"> <div class="list"> {{#if hasItems}} <|file_sep|>client/views/layouts/page_layout.html.diff original: ...
</div> </template> <template name="pageBody"> <div class="page-body-header clearfix"> {{> Template.contentBlock}} </div> <div class="page-body-content {{class}}"> <div class="list"> {{#if hasItems}} {{#each items}} {{> Template.dynamic template=../item}} {{/each}} ...
<|file_sep|>client/views/layouts/page_layout.html.diff original: {{#if hasItems}} <div class="page-body-content {{class}}"> <div class="list"> updated: <div class="page-body-content {{class}}"> <div class="list"> {{#if hasItems}} <|file_sep|>client/views/layouts/page_layout.html.diff original: ...
90581e4a43da26f7e4bce8532b65097078d93ebf
client/views/layouts/page_layout.html
client/views/layouts/page_layout.html
HTML
<|file_sep|>original/tests/Unit/lib/Dumper/AutoloadDumperTest.php <|file_sep|>current/tests/Unit/lib/Dumper/AutoloadDumperTest.php <|file_sep|>updated/tests/Unit/lib/Dumper/AutoloadDumperTest.php
<?php namespace Unit\lib\Dumper; use Chris\Composer\AutoregisterClassmapPlugin\Dumper\AutoloadDumper; use Neirda24\Bundle\ToolsBundle\Converter\ArrayToText; use Phake; use Phake_IMock; class AutoloadDumperTest extends \PHPUnit_Framework_TestCase { /** * @var string PATH_AUTOLOAD_PSR4 */ const PATH_...
<|file_sep|>original/tests/Unit/lib/Dumper/AutoloadDumperTest.php <|file_sep|>current/tests/Unit/lib/Dumper/AutoloadDumperTest.php <|file_sep|>updated/tests/Unit/lib/Dumper/AutoloadDumperTest.php <?php namespace Unit\lib\Dumper; use Chris\Composer\AutoregisterClassmapPlugin\Dumper\AutoloadDumper; use Neirda24\Bundl...
40f67a3069498913ea3f6f61100170467f2642fa
tests/Unit/lib/Dumper/AutoloadDumperTest.php
tests/Unit/lib/Dumper/AutoloadDumperTest.php
PHP
<|file_sep|>test/cases/reset-box-sizing.css.diff original: *, *:before, *:after { updated: html { <|file_sep|>original/test/cases/reset-box-sizing.css *, *:before, *:after { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } <|file_sep|>current/test/cases/reset-box-sizing.css h...
html { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } *, *:before, *:after { -webkit-box-sizing: inherit; -moz-box-sizing: inherit; box-sizing: inherit; }
<|file_sep|>test/cases/reset-box-sizing.css.diff original: *, *:before, *:after { updated: html { <|file_sep|>original/test/cases/reset-box-sizing.css *, *:before, *:after { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } <|file_sep|>current/test/cases/reset-box-sizing.css h...
7606702534d41b17e6ec9c18ef76d9ce70507787
test/cases/reset-box-sizing.css
test/cases/reset-box-sizing.css
CSS
<|file_sep|>original/drupal-to-wp/settings.php * Constants for accessing the Drupal database */ define( 'DR_HOST', 'localhost' ); if( isset( $_REQUEST['drupal_db'] ) ) { define( 'DR_DB', $_REQUEST['drupal_db'] ); } else { define( 'DR_DB', 'drupal' ); } define( 'DR_USER', 'username' ); define( 'DR_PASS', 'password'...
if( isset( $_REQUEST['drupal_db'] ) ) { define( 'DR_DB', $_REQUEST['drupal_db'] ); } else { define( 'DR_DB', 'drupal' ); } define( 'DR_USER', 'username' ); define( 'DR_PASS', 'password' ); /** * Path to your WordPress install */ define( 'WP_PATH', 'wp' ); /** * Constants for accessing the WordPress database -- ...
<|file_sep|>original/drupal-to-wp/settings.php * Constants for accessing the Drupal database */ define( 'DR_HOST', 'localhost' ); if( isset( $_REQUEST['drupal_db'] ) ) { define( 'DR_DB', $_REQUEST['drupal_db'] ); } else { define( 'DR_DB', 'drupal' ); } define( 'DR_USER', 'username' ); define( 'DR_PASS', 'password'...
fab0d73ac3fee1defb276b5e0c75fa7ba2463d6b
drupal-to-wp/settings.php
drupal-to-wp/settings.php
PHP
<|file_sep|>src/SFA.DAS.EmployerUsers.Api/Controllers/StatusController.cs.diff original: [HttpGet, Route("")] updated: [Route("")] <|file_sep|>src/SFA.DAS.EmployerUsers.Api/Controllers/StatusController.cs.diff original: updated: // Do some Infrastructre work here to smoke out any issues. <|...
using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; namespace SFA.DAS.EmployerUsers.Api.Controllers { [RoutePrefix("api/status")] public class StatusController : ApiController { [Route("")] public IHttpActionResult Index() { // Do some Inf...
<|file_sep|>src/SFA.DAS.EmployerUsers.Api/Controllers/StatusController.cs.diff original: [HttpGet, Route("")] updated: [Route("")] <|file_sep|>src/SFA.DAS.EmployerUsers.Api/Controllers/StatusController.cs.diff original: updated: // Do some Infrastructre work here to smoke out any issues. <|...
3b2face9367a59186193d1a019bfea84538ecef9
src/SFA.DAS.EmployerUsers.Api/Controllers/StatusController.cs
src/SFA.DAS.EmployerUsers.Api/Controllers/StatusController.cs
C#
<|file_sep|>.travis.yml.diff original: updated: - 7.0 <|file_sep|>.travis.yml.diff original: - hhvm-nightly updated: <|file_sep|>original/.travis.yml language: php php: - 5.4 - 5.5 - 5.6 - hhvm - hhvm-nightly matrix: allow_failures: - php: hhvm-nightly before_script: - composer --prefer-...
language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - hhvm matrix: allow_failures: - php: 7.0 before_script: - composer --prefer-source --dev install script: phpunit -v -c phpunit.xml --coverage-clover ./build/logs/clover.xml after_script: - php vendor/bin/coveralls -v
<|file_sep|>.travis.yml.diff original: updated: - 7.0 <|file_sep|>.travis.yml.diff original: - hhvm-nightly updated: <|file_sep|>original/.travis.yml language: php php: - 5.4 - 5.5 - 5.6 - hhvm - hhvm-nightly matrix: allow_failures: - php: hhvm-nightly before_script: - composer --prefer-...
61a3d8d4df8e197cdf95151156da053746e486e6
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/coffee-cache.coffee <|file_sep|>current/src/coffee-cache.coffee <|file_sep|>updated/src/coffee-cache.coffee
crypto = require 'crypto' path = require 'path' CoffeeScript = require 'coffee-script' CSON = require 'season' fs = require 'fs-plus' cacheDir = path.join(fs.absolute('~/.atom'), 'compile-cache') coffeeCacheDir = path.join(cacheDir, 'coffee') CSON.setCacheDir(path.join(cacheDir, 'cson')) getCachePath = (coffee) -> ...
<|file_sep|>original/src/coffee-cache.coffee <|file_sep|>current/src/coffee-cache.coffee <|file_sep|>updated/src/coffee-cache.coffee crypto = require 'crypto' path = require 'path' CoffeeScript = require 'coffee-script' CSON = require 'season' fs = require 'fs-plus' cacheDir = path.join(fs.absolute('~/.atom'), 'com...
2c9d175ea4d16a83d8e6a23f4ad86116e511c8d8
src/coffee-cache.coffee
src/coffee-cache.coffee
CoffeeScript
<|file_sep|>original/nixos/release-small.nix <|file_sep|>current/nixos/release-small.nix <|file_sep|>updated/nixos/release-small.nix
# This jobset is used to generate a NixOS channel that contains a # small subset of Nixpkgs, mostly useful for servers that need fast # security updates. { nixpkgs ? { outPath = ./..; revCount = 56789; shortRev = "gfedcba"; } , stableBranch ? false , supportedSystems ? [ "x86_64-linux" ] # no i686-linux }: let nix...
<|file_sep|>original/nixos/release-small.nix <|file_sep|>current/nixos/release-small.nix <|file_sep|>updated/nixos/release-small.nix # This jobset is used to generate a NixOS channel that contains a # small subset of Nixpkgs, mostly useful for servers that need fast # security updates. { nixpkgs ? { outPath = ./..; ...
a0fd8e806688090b2d8d4778a52e845806c95de0
nixos/release-small.nix
nixos/release-small.nix
Nix
<|file_sep|>original/test/Constraints/sr2705.swift <|file_sep|>current/test/Constraints/sr2705.swift <|file_sep|>updated/test/Constraints/sr2705.swift
// RUN: %target-typecheck-verify-swift func f<T>(_: () -> T) {} func f<T>(_: @autoclosure () -> T) {} f { } // OK func f1<T>(_: () -> T, _: () -> T) {} func f1<T>(_: @autoclosure () -> T, _: @autoclosure () -> T) {} f1({}, {}) // OK func f2<T>(_: () -> T, _: () -> T) { } func f2<T>(_: () -> T, _: @autoclosure () -...
<|file_sep|>original/test/Constraints/sr2705.swift <|file_sep|>current/test/Constraints/sr2705.swift <|file_sep|>updated/test/Constraints/sr2705.swift // RUN: %target-typecheck-verify-swift func f<T>(_: () -> T) {} func f<T>(_: @autoclosure () -> T) {} f { } // OK func f1<T>(_: () -> T, _: () -> T) {} func f1<T>(_...
1c861330417ccde6bdcc9bfa1bd9a1d307fb1194
test/Constraints/sr2705.swift
test/Constraints/sr2705.swift
Swift
<|file_sep|>original/requirements.txt python-dateutil==2.7.0 ply==3.11 enum34==1.1.6 twitter==1.18.0 requests==2.18.4 pytimeparse==1.1.7 pymysql==0.8.0 pycryptodome==3.5.1 pyasn1==0.4.2 isodate==0.6.0 google-api-python-client==1.6.5 pyxDamerauLevenshtein==1.5 numpy==1.14.1 Cython==0.27.3 git+git://github.com/andreasvc/...
python-dateutil==2.7.0 ply==3.11 enum34==1.1.6 twitter==1.18.0 requests==2.18.4 pytimeparse==1.1.7 pymysql==0.8.0 pycryptodome==3.5.1 pyasn1==0.4.2 isodate==0.6.0 google-api-python-client==1.6.5 pyxDamerauLevenshtein==1.5 numpy==1.14.2 Cython==0.27.3 git+git://github.com/andreasvc/pyre2.git@7146ce3#egg=re2 parsedatetim...
<|file_sep|>original/requirements.txt python-dateutil==2.7.0 ply==3.11 enum34==1.1.6 twitter==1.18.0 requests==2.18.4 pytimeparse==1.1.7 pymysql==0.8.0 pycryptodome==3.5.1 pyasn1==0.4.2 isodate==0.6.0 google-api-python-client==1.6.5 pyxDamerauLevenshtein==1.5 numpy==1.14.1 Cython==0.27.3 git+git://github.com/andreasvc/...
05b0674ec92bc0b5f54e7830d5765ba2430622db
requirements.txt
requirements.txt
Text
<|file_sep|>original/core/app/models/spree/promotion/rules/user.rb module Spree class Promotion module Rules class User < PromotionRule belongs_to :user, class_name: "::#{Spree.user_class.to_s}" has_many :promotion_rule_users, class_name: 'Spree::PromotionRuleUser', ...
module Spree class Promotion module Rules class User < PromotionRule belongs_to :user, class_name: "::#{Spree.user_class.to_s}" has_many :promotion_rule_users, class_name: 'Spree::PromotionRuleUser', foreign_key: :promotion_rule_id has_many :u...
<|file_sep|>original/core/app/models/spree/promotion/rules/user.rb module Spree class Promotion module Rules class User < PromotionRule belongs_to :user, class_name: "::#{Spree.user_class.to_s}" has_many :promotion_rule_users, class_name: 'Spree::PromotionRuleUser', ...
35e5701d38d833def01d3cf7172edc93e2805627
core/app/models/spree/promotion/rules/user.rb
core/app/models/spree/promotion/rules/user.rb
Ruby
<|file_sep|>original/tests/rules_tests/FromSymbolComputeTest.py <|file_sep|>current/tests/rules_tests/FromSymbolComputeTest.py <|file_sep|>updated/tests/rules_tests/FromSymbolComputeTest.py
#!/usr/bin/env python """ :Author Patrik Valkovic :Created 23.06.2017 16:39 :Licence GNUv3 Part of grammpy """ from unittest import main, TestCase from grammpy import Rule class FromSymbolComputeTest(TestCase): pass if __name__ == '__main__': main()
<|file_sep|>original/tests/rules_tests/FromSymbolComputeTest.py <|file_sep|>current/tests/rules_tests/FromSymbolComputeTest.py <|file_sep|>updated/tests/rules_tests/FromSymbolComputeTest.py #!/usr/bin/env python """ :Author Patrik Valkovic :Created 23.06.2017 16:39 :Licence GNUv3 Part of grammpy """ from unittest i...
2cf5f7baf115511c9dd8a8a0333a9b579455b9a3
tests/rules_tests/FromSymbolComputeTest.py
tests/rules_tests/FromSymbolComputeTest.py
Python
<|file_sep|>original/web/static/js/components/category_column.jsx const emoticonUnicode = categoryToEmoticonUnicodeMap[props.category] const filteredIdeas = props.ideas.filter(idea => idea.category === props.category) const filteredIdeasList = filteredIdeas.map(idea => <li className="item" title={idea.body} k...
const emoticonUnicode = categoryToEmoticonUnicodeMap[props.category] const filteredIdeas = props.ideas.filter(idea => idea.category === props.category) const filteredIdeasList = filteredIdeas.map(idea => <li className="item" title={idea.body} key={idea.id}>{idea.body}</li>, ) return ( <section classN...
<|file_sep|>original/web/static/js/components/category_column.jsx const emoticonUnicode = categoryToEmoticonUnicodeMap[props.category] const filteredIdeas = props.ideas.filter(idea => idea.category === props.category) const filteredIdeasList = filteredIdeas.map(idea => <li className="item" title={idea.body} k...
2d411653da3183d967641866386e3d5fc21bb456
web/static/js/components/category_column.jsx
web/static/js/components/category_column.jsx
JSX
<|file_sep|>original/src/main/java/com/github/sbugat/samplerest/web/filter/ApiOriginFilter.java import javax.servlet.annotation.WebFilter; import javax.servlet.http.HttpServletResponse; @WebFilter( urlPatterns = "/*") public class ApiOriginFilter implements Filter { @Override public void doFilter(final ServletReq...
import javax.servlet.annotation.WebFilter; import javax.servlet.http.HttpServletResponse; @WebFilter( urlPatterns = "/*") public class ApiOriginFilter implements Filter { @Override public void doFilter(final ServletRequest request, final ServletResponse response, final FilterChain chain) throws IOException, Servl...
<|file_sep|>original/src/main/java/com/github/sbugat/samplerest/web/filter/ApiOriginFilter.java import javax.servlet.annotation.WebFilter; import javax.servlet.http.HttpServletResponse; @WebFilter( urlPatterns = "/*") public class ApiOriginFilter implements Filter { @Override public void doFilter(final ServletReq...
0bf364b91c7a46dbb20448039da47275c5f7d8b1
src/main/java/com/github/sbugat/samplerest/web/filter/ApiOriginFilter.java
src/main/java/com/github/sbugat/samplerest/web/filter/ApiOriginFilter.java
Java
<|file_sep|>original/packages/react-atlas-core/src/Avatar/README.md <|file_sep|>current/packages/react-atlas-core/src/Avatar/README.md <|file_sep|>updated/packages/react-atlas-core/src/Avatar/README.md
Title prop gets truncated to 1st letter: <Avatar title="Nathan" /> Icon beats title: <Avatar title="Nathan" icon={<i className="fa fa-github"></i>} /> Image beats icon: <Avatar icon={<i className="fa fa-github"></i>} image="https://upload.wikimedia.org/wikipedia/commons/c/cf/3818_-_Rif...
<|file_sep|>original/packages/react-atlas-core/src/Avatar/README.md <|file_sep|>current/packages/react-atlas-core/src/Avatar/README.md <|file_sep|>updated/packages/react-atlas-core/src/Avatar/README.md Title prop gets truncated to 1st letter: <Avatar title="Nathan" /> Icon beats title: <Avatar title="Nath...
465dc674f695232139648e3f94b38b7e7d71b1a9
packages/react-atlas-core/src/Avatar/README.md
packages/react-atlas-core/src/Avatar/README.md
Markdown
<|file_sep|>original/app/Http/Controllers/SettingController.php return view('setting.edit'); } /** * @param \Illuminate\Http\Request $request * @return \Illuminate\Http\Response */ public function update(Request $request) { $this->validate($request, [ 'start_...
return view('setting.edit'); } /** * @param \Illuminate\Http\Request $request * @return \Illuminate\Http\Response */ public function update(Request $request) { $this->validate($request, [ 'start_at' => 'required|date|before:end_at', 'end_at' => ...
<|file_sep|>original/app/Http/Controllers/SettingController.php return view('setting.edit'); } /** * @param \Illuminate\Http\Request $request * @return \Illuminate\Http\Response */ public function update(Request $request) { $this->validate($request, [ 'start_...
a9e158428a748a8e0fb9aa98e14c05ba5caa9cad
app/Http/Controllers/SettingController.php
app/Http/Controllers/SettingController.php
PHP
<|file_sep|>src/index.js.diff original: import { ConnectedRouter as Router } from "react-router-redux"; updated: import { ConnectedRouter } from "react-router-redux"; <|file_sep|>src/index.js.diff original: declare var module: { hot: { accept(path: Class<React$Component<*, *, *>>, callback: () => void): void }...
import App from "./App"; const render = (Component: any) => { return ReactDOM.render( <Provider store={store}> <ConnectedRouter history={history}> <Route path="/" component={Component} /> </ConnectedRouter> </Provider>, document.getElementById("root") ); }; render(App); if (module...
<|file_sep|>src/index.js.diff original: import { ConnectedRouter as Router } from "react-router-redux"; updated: import { ConnectedRouter } from "react-router-redux"; <|file_sep|>src/index.js.diff original: declare var module: { hot: { accept(path: Class<React$Component<*, *, *>>, callback: () => void): void }...
d6a6ba8659b72f88de0df7649eaaa5eeb3bf0467
src/index.js
src/index.js
JavaScript
<|file_sep|>src/Instances/InstanceInterface.php.diff original: * Get this instance's unique identifier. updated: * Get all the properties for this instance. * * @return array */ public function getProperties(); /** * Get the value associated with the given property. * * ...
*/ public function getProperties(); /** * Get the value associated with the given property. * * @param mixed $property * * @return mixed */ public function getValueFor($property); /** * Whether this instance has a value for the given property. * * @par...
<|file_sep|>src/Instances/InstanceInterface.php.diff original: * Get this instance's unique identifier. updated: * Get all the properties for this instance. * * @return array */ public function getProperties(); /** * Get the value associated with the given property. * * ...
67c59e98f55e9c86494f1abba405d7bf27df6f1e
src/Instances/InstanceInterface.php
src/Instances/InstanceInterface.php
PHP
<|file_sep|>original/meta-multimedia/recipes-multimedia/libdc1394/libdc1394_git.bb SUMMARY = "Capture and control API for IIDC compliant cameras" HOMEPAGE = "http://sourceforge.net/projects/libdc1394/" SECTION = "libs" LICENSE = "LGPL-2.0" LIC_FILES_CHKSUM = "file://COPYING;md5=c848e78d9a4a5cc69906178e4d6fbd64" # libs...
SUMMARY = "Capture and control API for IIDC compliant cameras" HOMEPAGE = "http://sourceforge.net/projects/libdc1394/" SECTION = "libs" LICENSE = "LGPL-2.0" LIC_FILES_CHKSUM = "file://COPYING;md5=c848e78d9a4a5cc69906178e4d6fbd64" # libsdl to provide sdl.m4 with AM_PATH_SDL DEPENDS += "libusb1 libraw1394 libsdl \ ...
<|file_sep|>original/meta-multimedia/recipes-multimedia/libdc1394/libdc1394_git.bb SUMMARY = "Capture and control API for IIDC compliant cameras" HOMEPAGE = "http://sourceforge.net/projects/libdc1394/" SECTION = "libs" LICENSE = "LGPL-2.0" LIC_FILES_CHKSUM = "file://COPYING;md5=c848e78d9a4a5cc69906178e4d6fbd64" # libs...
25ca0801b86e791e7b603e95d479dc6f6cedf7a2
meta-multimedia/recipes-multimedia/libdc1394/libdc1394_git.bb
meta-multimedia/recipes-multimedia/libdc1394/libdc1394_git.bb
BitBake
<|file_sep|>original/setup.py import os packages = [x.strip('./').replace('/','.') for x in os.popen('find -name "__init__.py" | xargs -n1 dirname').read().strip().split('\n')] if bytes is str: raise Exception("This module is designed for python 3 only. Please install an older version to use python 2.") s...
import os packages = [x.strip('./').replace('/','.') for x in os.popen('find -name "__init__.py" | xargs -n1 dirname').read().strip().split('\n')] if bytes is str: raise Exception("This module is designed for python 3 only. Please install an older version to use python 2.") setup( name='cle', desc...
<|file_sep|>original/setup.py import os packages = [x.strip('./').replace('/','.') for x in os.popen('find -name "__init__.py" | xargs -n1 dirname').read().strip().split('\n')] if bytes is str: raise Exception("This module is designed for python 3 only. Please install an older version to use python 2.") s...
46e440168f66a5d599814d0e66771f6ce7a1ddc1
setup.py
setup.py
Python
<|file_sep|>original/ploy/tests/conftest.py self.path = path def fill(self, content): if not os.path.exists(self.directory): os.makedirs(self.directory) with open(self.path, 'w') as f: if isinstance(content, (list, tuple)): content = '\n'.join(content...
self.path = path def fill(self, content): if not os.path.exists(self.directory): os.makedirs(self.directory) with open(self.path, 'w') as f: if isinstance(content, (list, tuple)): content = '\n'.join(content) f.write(content) def cont...
<|file_sep|>original/ploy/tests/conftest.py self.path = path def fill(self, content): if not os.path.exists(self.directory): os.makedirs(self.directory) with open(self.path, 'w') as f: if isinstance(content, (list, tuple)): content = '\n'.join(content...
1e5e2a236277dc9ba11f9fe4aff3279f692da3f7
ploy/tests/conftest.py
ploy/tests/conftest.py
Python
<|file_sep|>original/retrofit/src/main/java/retrofit/RequestInterceptor.java /** Intercept every request before it is executed in order to add additional data. */ public interface RequestInterceptor { /** Called for every request. Add data using methods on the supplied {@link RequestFacade}. */ void intercept(Reque...
/** Intercept every request before it is executed in order to add additional data. */ public interface RequestInterceptor { /** Called for every request. Add data using methods on the supplied {@link RequestFacade}. */ void intercept(RequestFacade request); interface RequestFacade { /** Add a header to the r...
<|file_sep|>original/retrofit/src/main/java/retrofit/RequestInterceptor.java /** Intercept every request before it is executed in order to add additional data. */ public interface RequestInterceptor { /** Called for every request. Add data using methods on the supplied {@link RequestFacade}. */ void intercept(Reque...
9fd4efb16c021df0d94a7dab3d23b24d4188787a
retrofit/src/main/java/retrofit/RequestInterceptor.java
retrofit/src/main/java/retrofit/RequestInterceptor.java
Java
<|file_sep|>src/generate_html_boilerplate.jsx.diff original: updated: /** * @license Apache-2.0 * * Copyright (c) 2019 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * *...
var html = fetch( '${resourcePath}' ); html .then( response => response.text() ) .then( text => { var script = document.createElement( 'script' ); script.src = '${IFRAME_RESIZER_CONTENT_SCRIPT_PATH}'; document.open(); document.write( text ); document.head.appendChild( script ); document.close();...
<|file_sep|>src/generate_html_boilerplate.jsx.diff original: updated: /** * @license Apache-2.0 * * Copyright (c) 2019 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * *...
eae20462a9863b19f9520904795f7de217c5bf9d
src/generate_html_boilerplate.jsx
src/generate_html_boilerplate.jsx
JSX
<|file_sep|>original/java/leetcode/number_of_1_bits/Solution.java <|file_sep|>current/java/leetcode/number_of_1_bits/Solution.java <|file_sep|>updated/java/leetcode/number_of_1_bits/Solution.java
package leetcode.number_of_1_bits; public class Solution { // you need to treat n as an unsigned value public int hammingWeight(int n) { n = n - ((n >> 1) & 0x55555555); n = (n & 0x33333333) + ((n >> 2) & 0x33333333); return (((n + (n >> 4)) & 0x0F0F0F0F) * 0x01010101) >> 24; } ...
<|file_sep|>original/java/leetcode/number_of_1_bits/Solution.java <|file_sep|>current/java/leetcode/number_of_1_bits/Solution.java <|file_sep|>updated/java/leetcode/number_of_1_bits/Solution.java package leetcode.number_of_1_bits; public class Solution { // you need to treat n as an unsigned value public int...
d126fdf203480705bda20fe8ea6c969cc445ff05
java/leetcode/number_of_1_bits/Solution.java
java/leetcode/number_of_1_bits/Solution.java
Java
<|file_sep|>original/CMakeLists.txt cmake_minimum_required(VERSION 3.8) project(raptor C) enable_language(ASM) set(CMAKE_EXPORT_COMPILE_COMMANDS ON) set(RAPTOR_DIR ${CMAKE_CURRENT_SOURCE_DIR}) include(${RAPTOR_DIR}/build/cmake/liblox.cmake) include(${RAPTOR_DIR}/build/cmake/arch.cmake) file(GLOB ARCH_CMAKE_LISTS "${...
cmake_minimum_required(VERSION 3.8) project(raptor C) enable_language(ASM) set(CMAKE_EXPORT_COMPILE_COMMANDS ON) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall") set(RAPTOR_DIR ${CMAKE_CURRENT_SOURCE_DIR}) include(${RAPTOR_DIR}/build/cmake/liblox.cmake) include(${RAPTOR_DIR}/build/cmake/arch.cmake) file(GLOB ARCH_CMAKE_L...
<|file_sep|>original/CMakeLists.txt cmake_minimum_required(VERSION 3.8) project(raptor C) enable_language(ASM) set(CMAKE_EXPORT_COMPILE_COMMANDS ON) set(RAPTOR_DIR ${CMAKE_CURRENT_SOURCE_DIR}) include(${RAPTOR_DIR}/build/cmake/liblox.cmake) include(${RAPTOR_DIR}/build/cmake/arch.cmake) file(GLOB ARCH_CMAKE_LISTS "${...
779b813d4631eae3668e06c6c86550de5344622b
CMakeLists.txt
CMakeLists.txt
Text
<|file_sep|>original/views/partials/header.html <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-responsive-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> ...
<div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-responsive-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <button type="button" class="navbar-toggle" dat...
<|file_sep|>original/views/partials/header.html <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-responsive-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> ...
50bd3ba26ec4099e0c3a81c779d22809f3ecc631
views/partials/header.html
views/partials/header.html
HTML
<|file_sep|>original/thrift/deps.sh #!/usr/bin/env bash sudo apt-get install -yq libdouble-conversion-dev libssl-dev make zip git autoconf libtool g++ libboost-all-dev libevent-dev flex bison libgoogle-glog-dev scons libkrb5-dev libsnappy-dev libsasl2-dev libnuma-dev # Change directory to location of this script cd "...
#!/usr/bin/env bash sudo apt-get install -yq libdouble-conversion-dev libssl-dev make zip git autoconf libtool g++ libboost-all-dev libevent-dev flex bison libgoogle-glog-dev scons libkrb5-dev libsnappy-dev libsasl2-dev libnuma-dev # Change directory to location of this script cd "$(dirname ${0})" git clone https://g...
<|file_sep|>original/thrift/deps.sh #!/usr/bin/env bash sudo apt-get install -yq libdouble-conversion-dev libssl-dev make zip git autoconf libtool g++ libboost-all-dev libevent-dev flex bison libgoogle-glog-dev scons libkrb5-dev libsnappy-dev libsasl2-dev libnuma-dev # Change directory to location of this script cd "...
53a3306ad2ae2c33a5a236665726e41848a48326
thrift/deps.sh
thrift/deps.sh
Shell
<|file_sep|>original/.github/dependabot.yml version: 2 updates: - package-ecosystem: nuget directory: "/" schedule: interval: daily open-pull-requests-limit: 10 <|file_sep|>current/.github/dependabot.yml version: 2 updates: - package-ecosystem: nuget directory: "/" schedule: interval: daily open-pul...
version: 2 updates: - package-ecosystem: nuget directory: "/" schedule: interval: daily open-pull-requests-limit: 10 - package-ecosystem: "github-actions" directory: "/" schedule: interval: daily
<|file_sep|>original/.github/dependabot.yml version: 2 updates: - package-ecosystem: nuget directory: "/" schedule: interval: daily open-pull-requests-limit: 10 <|file_sep|>current/.github/dependabot.yml version: 2 updates: - package-ecosystem: nuget directory: "/" schedule: interval: daily open-pul...
f331d4fee33f4f0c07477b889fecb46c951f7d18
.github/dependabot.yml
.github/dependabot.yml
YAML
<|file_sep|>original/package.json "keywords": ["tigefa", "ruby", "rails"], "repository": { "type": "git", "url": "https://github.com/tigefa/tigefa.git" }, "bugs": { "url": "https://github.com/tigefa/tigefa/issues" }, "dependencies": { "@hotwired/stimulus": "^3.0.1", "@hotwired/turbo-rail...
"keywords": ["tigefa", "ruby", "rails"], "repository": { "type": "git", "url": "https://github.com/tigefa/tigefa.git" }, "bugs": { "url": "https://github.com/tigefa/tigefa/issues" }, "dependencies": { "@hotwired/stimulus": "^3.0.1", "@hotwired/turbo-rails": "^7.1.0" }, "devDependenci...
<|file_sep|>original/package.json "keywords": ["tigefa", "ruby", "rails"], "repository": { "type": "git", "url": "https://github.com/tigefa/tigefa.git" }, "bugs": { "url": "https://github.com/tigefa/tigefa/issues" }, "dependencies": { "@hotwired/stimulus": "^3.0.1", "@hotwired/turbo-rail...
b4084504170e002ef9f1a5316715c3863aedcf4c
package.json
package.json
JSON
<|file_sep|>client/app/components/highscores/highscores.html.diff original: <h1>List of 10 top Highscores</h1> updated: <div class="page-header"> <h1>Top 10 highscores</h1> </div> <|file_sep|>original/client/app/components/highscores/highscores.html <div> <h1>List of 10 top Highscores</h1> <table> <t...
<div> <div class="page-header"> <h1>Top 10 highscores</h1> </div> <table class="table table-striped"> <thead> <tr> <th>Username</th> <th>Score</th> </tr> </thead> <tbody> <tr ng-repeat="(key, value) in $ctrl.scoresList | orderBy: '-score' | limitTo : 10"> ...
<|file_sep|>client/app/components/highscores/highscores.html.diff original: <h1>List of 10 top Highscores</h1> updated: <div class="page-header"> <h1>Top 10 highscores</h1> </div> <|file_sep|>original/client/app/components/highscores/highscores.html <div> <h1>List of 10 top Highscores</h1> <table> <t...
8234941d2adc0efc9b24e2268257015788275c8d
client/app/components/highscores/highscores.html
client/app/components/highscores/highscores.html
HTML
<|file_sep|>original/rvk/rvk-autoren.pl <|file_sep|>current/rvk/rvk-autoren.pl <|file_sep|>updated/rvk/rvk-autoren.pl
#!/usr/bin/env perl use v5.14; use Catmandu -all; use List::MoreUtils qw(any firstval natatime); binmode *STDOUT, ':encoding(utf-8)'; my %skip = map { $_ => 1 } 'Autoren', 'Autoren A - Z', 'Autoren und Anonyma', 'Einzelne Autoren', 'Einzelne Autoren und Anonyma', 'Einzelne Autoren und anonyme Texte', 'E...
<|file_sep|>original/rvk/rvk-autoren.pl <|file_sep|>current/rvk/rvk-autoren.pl <|file_sep|>updated/rvk/rvk-autoren.pl #!/usr/bin/env perl use v5.14; use Catmandu -all; use List::MoreUtils qw(any firstval natatime); binmode *STDOUT, ':encoding(utf-8)'; my %skip = map { $_ => 1 } 'Autoren', 'Autoren A - Z', 'Au...
f5ad35b5836fc9d21b27e2e24e3aa4340dcfcbdd
rvk/rvk-autoren.pl
rvk/rvk-autoren.pl
Perl
<|file_sep|>original/cypher/siggen.py <|file_sep|>current/cypher/siggen.py <|file_sep|>updated/cypher/siggen.py
#!/usr/bin/env python import argparse import subprocess import os import shutil import sys from util import write_signature parser = argparse.ArgumentParser() parser.add_argument( "-l", "--language", help="Source code language.", required=True ) TEMP_DIR = os.path.join(os.getcwd(), "cypher", "temp") ...
<|file_sep|>original/cypher/siggen.py <|file_sep|>current/cypher/siggen.py <|file_sep|>updated/cypher/siggen.py #!/usr/bin/env python import argparse import subprocess import os import shutil import sys from util import write_signature parser = argparse.ArgumentParser() parser.add_argument( "-l", "--languag...
254239102955bb8916aab98530251b5cdd79ce50
cypher/siggen.py
cypher/siggen.py
Python
<|file_sep|>original/packages/ho/hourglass-orphans.yaml <|file_sep|>current/packages/ho/hourglass-orphans.yaml <|file_sep|>updated/packages/ho/hourglass-orphans.yaml
homepage: https://github.com/psibi/hourglass-orphans#readme changelog-type: '' hash: 12d6f35322a4e28241afd5a6a5fbe71f5226d492b618cdcb54d25f88c410ba1f test-bench-deps: hourglass: -any base: -any hspec: ! '>=2.1 && <3' text: -any hourglass-orphans: -any aeson: -any hspec-expectations: -any maintainer: sibi@...
<|file_sep|>original/packages/ho/hourglass-orphans.yaml <|file_sep|>current/packages/ho/hourglass-orphans.yaml <|file_sep|>updated/packages/ho/hourglass-orphans.yaml homepage: https://github.com/psibi/hourglass-orphans#readme changelog-type: '' hash: 12d6f35322a4e28241afd5a6a5fbe71f5226d492b618cdcb54d25f88c410ba1f te...
60c03763f4416bc2d717d798cc77ad671d5385b9
packages/ho/hourglass-orphans.yaml
packages/ho/hourglass-orphans.yaml
YAML
<|file_sep|>sansa-ml-spark/src/test/scala/net/sansa_stack/ml/spark/outliers/vandalismdetection/VandalismDetectionTests.scala.diff original: test("detecting vandalism on the set of wikidata should result in 0 outliers") { updated: test("detecting vandalism on the set of wikidata should matchd") { <|file_sep|>sansa-m...
assert(size == 4291) } test("detecting vandalism on the set of wikidata should matchd") { val input = getClass.getResource("/outliers/vandalismdetection/wdvc16_2016_01.xml").getPath val metaFile = getClass.getResource("/outliers/vandalismdetection/wdvc16_meta.csv").getPath val truthFile = getClas...
<|file_sep|>sansa-ml-spark/src/test/scala/net/sansa_stack/ml/spark/outliers/vandalismdetection/VandalismDetectionTests.scala.diff original: test("detecting vandalism on the set of wikidata should result in 0 outliers") { updated: test("detecting vandalism on the set of wikidata should matchd") { <|file_sep|>sansa-m...
b2ece772d366a46e1b2f2f497179c8ec447203ee
sansa-ml-spark/src/test/scala/net/sansa_stack/ml/spark/outliers/vandalismdetection/VandalismDetectionTests.scala
sansa-ml-spark/src/test/scala/net/sansa_stack/ml/spark/outliers/vandalismdetection/VandalismDetectionTests.scala
Scala
<|file_sep|>test.yml.diff original: docker_files_enable: no, updated: docker_files_enable: yes, <|file_sep|>original/test.yml --- - hosts: all sudo: true roles: - { role: ./, docker_files_enable: no, jenkins_nginx_proxy: yes, jenkins_proxy_auth: yes, jenkins_proxy...
--- - hosts: all sudo: true roles: - { role: ./, docker_files_enable: yes, jenkins_nginx_proxy: yes, jenkins_proxy_auth: yes, jenkins_proxy_hostname: localhost } vars: jenkins_proxy_auth_users: - { name: travis, password: travis }
<|file_sep|>test.yml.diff original: docker_files_enable: no, updated: docker_files_enable: yes, <|file_sep|>original/test.yml --- - hosts: all sudo: true roles: - { role: ./, docker_files_enable: no, jenkins_nginx_proxy: yes, jenkins_proxy_auth: yes, jenkins_proxy...
bf092ca81170b9018377cf8d3ebeb0225048e5fa
test.yml
test.yml
YAML
<|file_sep|>original/ci.sh <|file_sep|>current/ci.sh <|file_sep|>updated/ci.sh
#!/bin/bash set -o pipefail set -e set -x # FIXME: Run code formatting checks # FIXME: Run flake8 # Run all Python tests ./pants list | \ xargs ./pants filter --filter-type=python_tests | \ xargs ./pants test echo ./pants run px
<|file_sep|>original/ci.sh <|file_sep|>current/ci.sh <|file_sep|>updated/ci.sh #!/bin/bash set -o pipefail set -e set -x # FIXME: Run code formatting checks # FIXME: Run flake8 # Run all Python tests ./pants list | \ xargs ./pants filter --filter-type=python_tests | \ xargs ./pants test echo ./pants run px
f2eb3ff59b0a0b366f152375bd2d6a1c3fe9fdb4
ci.sh
ci.sh
Shell
<|file_sep|>original/.github/workflows/ruby.yml env: CUCUMBER_PUBLISH_QUIET: true jobs: test: runs-on: ubuntu-latest strategy: matrix: ruby: [2.6, 2.7, head] steps: - uses: actions/checkout@v2 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby...
env: CUCUMBER_PUBLISH_QUIET: true jobs: test: runs-on: ubuntu-latest strategy: matrix: ruby: [2.6, 2.7, "3.0", "3.1", head] steps: - uses: actions/checkout@v2 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} ...
<|file_sep|>original/.github/workflows/ruby.yml env: CUCUMBER_PUBLISH_QUIET: true jobs: test: runs-on: ubuntu-latest strategy: matrix: ruby: [2.6, 2.7, head] steps: - uses: actions/checkout@v2 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby...
7d5c738e88597647626da736f3df9559b4b68b36
.github/workflows/ruby.yml
.github/workflows/ruby.yml
YAML
<|file_sep|>appveyor.yml.diff original: updated: - choco install doxygen.portable <|file_sep|>appveyor.yml.diff original: updated: after_build: - echo Generating documentation - doxygen.exe "C:\projects\snowflake\snowflake.doxygen" <|file_sep|>appveyor.yml.diff original: updated: - echo Generating Co...
secure: nBi3LwnqgslaH8hbsvjnWTqpe/UbKn705TJujxqJwtcL5OLGfcydM8AnVyld6Ngu install: - choco install doxygen.portable - nuget restore after_build: - echo Generating documentation - doxygen.exe "C:\projects\snowflake\snowflake.doxygen" after_test: - echo Generating Code Coverage Report - packa...
<|file_sep|>appveyor.yml.diff original: updated: - choco install doxygen.portable <|file_sep|>appveyor.yml.diff original: updated: after_build: - echo Generating documentation - doxygen.exe "C:\projects\snowflake\snowflake.doxygen" <|file_sep|>appveyor.yml.diff original: updated: - echo Generating Co...
7fbc572f7f442947773135edc5d5f687f560dd32
appveyor.yml
appveyor.yml
YAML
<|file_sep|>original/.vscode/settings.json { "editor.useTabStops": false, "editor.tabSize": 4, "search.exclude": { "**/.git": true, "**/.tox": true, "**/.dist": true, "**/.cache": true, "**/xcrun.egg-info": true }, "python.testing.unittestArgs": [ "-v"...
{ "editor.useTabStops": false, "editor.tabSize": 4, "search.exclude": { "**/.git": true, "**/.tox": true, "**/.dist": true, "**/.cache": true, "**/xcrun.egg-info": true }, "python.testing.unittestArgs": [ "-v", "-s", "./tests", ...
<|file_sep|>original/.vscode/settings.json { "editor.useTabStops": false, "editor.tabSize": 4, "search.exclude": { "**/.git": true, "**/.tox": true, "**/.dist": true, "**/.cache": true, "**/xcrun.egg-info": true }, "python.testing.unittestArgs": [ "-v"...
b31835629eac8217bc3e830aef9311eeeb00d5a8
.vscode/settings.json
.vscode/settings.json
JSON
<|file_sep|>original/bash/completion.d/rake.bash <|file_sep|>current/bash/completion.d/rake.bash <|file_sep|>updated/bash/completion.d/rake.bash
#!bash # # Bash completion support for Rake, Ruby Make. # # Originally from https://github.com/ai/rake-completion. export COMP_WORDBREAKS=${COMP_WORDBREAKS/\:/} _rakecomplete() { if [ -f Rakefile ]; then recent=`ls -t .rake_tasks~ Rakefile **/*.rake 2> /dev/null | head -n 1` if [[ $recent != '.rak...
<|file_sep|>original/bash/completion.d/rake.bash <|file_sep|>current/bash/completion.d/rake.bash <|file_sep|>updated/bash/completion.d/rake.bash #!bash # # Bash completion support for Rake, Ruby Make. # # Originally from https://github.com/ai/rake-completion. export COMP_WORDBREAKS=${COMP_WORDBREAKS/\:/} _rakecompl...
7dd294ce7ee10d40e89e670efb33984bac072a0f
bash/completion.d/rake.bash
bash/completion.d/rake.bash
Shell
<|file_sep|>original/.github/workflows/nodejs.yml on: [push] jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [10.x, 12.x, 14.x] steps: - uses: actions/checkout@v1 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: ...
on: [push] jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [12.x, 14.x, 16.x] steps: - uses: actions/checkout@v1 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} ...
<|file_sep|>original/.github/workflows/nodejs.yml on: [push] jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [10.x, 12.x, 14.x] steps: - uses: actions/checkout@v1 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: ...
3bf22cb5c6fe1695437daa12ffbfacf59475fd40
.github/workflows/nodejs.yml
.github/workflows/nodejs.yml
YAML
<|file_sep|>original/lib/libpam/libpam/security/pam_mod_misc.h <|file_sep|>current/lib/libpam/libpam/security/pam_mod_misc.h <|file_sep|>updated/lib/libpam/libpam/security/pam_mod_misc.h
/*- * Copyright 1998 Juniper Networks, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of ...
<|file_sep|>original/lib/libpam/libpam/security/pam_mod_misc.h <|file_sep|>current/lib/libpam/libpam/security/pam_mod_misc.h <|file_sep|>updated/lib/libpam/libpam/security/pam_mod_misc.h /*- * Copyright 1998 Juniper Networks, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with ...
94faf605095f82734883f40c30da1a2154c4efa6
lib/libpam/libpam/security/pam_mod_misc.h
lib/libpam/libpam/security/pam_mod_misc.h
C
<|file_sep|>lib/routes.rb.diff original: updated: mount Endpoints::Login mount Endpoints::Grades <|file_sep|>original/lib/routes.rb use Rollbar::Middleware::Sinatra use Pliny::Middleware::RescueErrors, raise: Config.raise_errors? use Pliny::Middleware::CORS use Pliny::Middleware::RequestID use Pliny:...
use Pliny::Middleware::RescueErrors, raise: Config.raise_errors? use Pliny::Middleware::CORS use Pliny::Middleware::RequestID use Pliny::Middleware::RequestStore, store: Pliny::RequestStore use Rack::Timeout if Config.timeout > 0 use Pliny::Middleware::Versioning, default: Config.versioning_default, ...
<|file_sep|>lib/routes.rb.diff original: updated: mount Endpoints::Login mount Endpoints::Grades <|file_sep|>original/lib/routes.rb use Rollbar::Middleware::Sinatra use Pliny::Middleware::RescueErrors, raise: Config.raise_errors? use Pliny::Middleware::CORS use Pliny::Middleware::RequestID use Pliny:...
92919b64e7b044281ef538a6c31acb354ba221ee
lib/routes.rb
lib/routes.rb
Ruby
<|file_sep|>.travis.yml.diff original: updated: env: global: - COVERALLS_PARALLEL=true <|file_sep|>.travis.yml.diff original: - pip install tox-travis updated: - pip install coveralls <|file_sep|>.travis.yml.diff original: - tox - pip install coveralls updated: <|file_sep|>original/.travis.yml - 2.7...
- 3.8-dev - pypy2.7-6.0 - pypy3.5 env: global: - COVERALLS_PARALLEL=true install: - pip install coveralls script: - coverage run --source cheap_repr setup.py test - coverage report -m after_success: - coveralls notifications: email: false webhooks: https://coveralls.io/webhook
<|file_sep|>.travis.yml.diff original: updated: env: global: - COVERALLS_PARALLEL=true <|file_sep|>.travis.yml.diff original: - pip install tox-travis updated: - pip install coveralls <|file_sep|>.travis.yml.diff original: - tox - pip install coveralls updated: <|file_sep|>original/.travis.yml - 2.7...
a506e98aab2631da527475da7b07f501e7dbdf5e
.travis.yml
.travis.yml
YAML
<|file_sep|>original/lib/gn_server/router/biodalliance/snp.ex namespace :snp do namespace :features do route_param :chr, type: String do params do optional :start, type: Float optional :end, type: Float end get do start_mb = params[:start] /...
namespace :features do route_param :chr, type: String do params do optional :start, type: Float optional :end, type: Float end get do start_mb = params[:start] / 1000000 end_mb = params[:end] / 1000000 bins = 175 ...
<|file_sep|>original/lib/gn_server/router/biodalliance/snp.ex namespace :snp do namespace :features do route_param :chr, type: String do params do optional :start, type: Float optional :end, type: Float end get do start_mb = params[:start] /...
f9e7ab47e0a0b7b0a74387f1901a5eaf24859b29
lib/gn_server/router/biodalliance/snp.ex
lib/gn_server/router/biodalliance/snp.ex
Elixir
<|file_sep|>original/test/parkour/toolbox_test.clj <|file_sep|>current/test/parkour/toolbox_test.clj <|file_sep|>updated/test/parkour/toolbox_test.clj
(ns parkour.toolbox-test (:require [clojure.test :refer :all] [clojure.string :as str] [clojure.java.io :as io] [clojure.core.reducers :as r] [parkour (conf :as conf) (fs :as fs) (cstep :as cstep) , (wrapper :as w) (mapreduce :as mr) (toolbox :as ptb)...
<|file_sep|>original/test/parkour/toolbox_test.clj <|file_sep|>current/test/parkour/toolbox_test.clj <|file_sep|>updated/test/parkour/toolbox_test.clj (ns parkour.toolbox-test (:require [clojure.test :refer :all] [clojure.string :as str] [clojure.java.io :as io] [clojure.core.red...
f595be2cb1ab2c6d5a0d1ca9dab1ba64e2a0338b
test/parkour/toolbox_test.clj
test/parkour/toolbox_test.clj
Clojure
<|file_sep|>original/packages/stone.0.1/files/configure2.diff diff --git a/configure b/configure index fc98909..23da9bc 100755 --- a/configure +++ b/configure @@ -9,7 +9,7 @@ fi cp Makefile.in Makefile if [ "$BIN_DIR" != "." ]; then - echo -e " + echo " install: stone \tcp stone $BIN_DIR/ <|file_sep|>current...
diff --git a/configure b/configure index fc98909..23da9bc 100755 --- a/configure +++ b/configure @@ -9,7 +9,7 @@ fi cp Makefile.in Makefile if [ "$BIN_DIR" != "." ]; then - echo -e " + printf " install: stone \tcp stone $BIN_DIR/
<|file_sep|>original/packages/stone.0.1/files/configure2.diff diff --git a/configure b/configure index fc98909..23da9bc 100755 --- a/configure +++ b/configure @@ -9,7 +9,7 @@ fi cp Makefile.in Makefile if [ "$BIN_DIR" != "." ]; then - echo -e " + echo " install: stone \tcp stone $BIN_DIR/ <|file_sep|>current...
bf51e291f612028bbb9cf14f71fd328bbdf791aa
packages/stone.0.1/files/configure2.diff
packages/stone.0.1/files/configure2.diff
Diff
<|file_sep|>original/conftest.py Add project-specific information. .. seealso:: * https://github.com/pytest-dev/pytest-html """ import behave import pytest @pytest.fixture(autouse=True) def _annotate_environment(request): """Add project-specific information to test-run environment: * behave.version ...
* https://github.com/pytest-dev/pytest-html """ import behave import pytest @pytest.fixture(autouse=True) def _annotate_environment(request): """Add project-specific information to test-run environment: * behave.version NOTE: autouse: Fixture is automatically used when test-module is imported. "...
<|file_sep|>original/conftest.py Add project-specific information. .. seealso:: * https://github.com/pytest-dev/pytest-html """ import behave import pytest @pytest.fixture(autouse=True) def _annotate_environment(request): """Add project-specific information to test-run environment: * behave.version ...
2fe72f41b1b62cf770869b8d3ccefeef1096ea11
conftest.py
conftest.py
Python
<|file_sep|>original/lib/Gemfiler/filer.rb def initialize(cabinet) @cabinet = cabinet @groups = {} @uncategorized = [] end def group cabinet.gems.each do |gem| if gem[:groups] gem_groups = gem[:groups].sort groups[gem_groups] ||= [...
def initialize(cabinet) @cabinet = cabinet @groups = {} @uncategorized = [] end def group cabinet.gems.each do |gem| if gem[:groups] gem_groups = gem.delete(:groups).sort groups[gem_groups] ||= [] groups[gem_groups] << ge...
<|file_sep|>original/lib/Gemfiler/filer.rb def initialize(cabinet) @cabinet = cabinet @groups = {} @uncategorized = [] end def group cabinet.gems.each do |gem| if gem[:groups] gem_groups = gem[:groups].sort groups[gem_groups] ||= [...
797e725ba1684056fe92bb1d0eaffe7b41888502
lib/Gemfiler/filer.rb
lib/Gemfiler/filer.rb
Ruby
<|file_sep|>original/app/policies/application_policy.rb end def edit? update? end def destroy? false end def scope Pundit.policy_scope!(user, record.class) end class Scope attr_reader :user, :scope def initialize(user, scope) @user = user @scope = scope end <|fil...
end def edit? update? end def destroy? false end # Used this in views to test for listing admin links # # ex: <%= if policy(User).view_admin? %> # <%= link_to "Users", users_path %> # <% end %> def view_admin? false end def scope Pundit.policy_scope!(user, record.c...
<|file_sep|>original/app/policies/application_policy.rb end def edit? update? end def destroy? false end def scope Pundit.policy_scope!(user, record.class) end class Scope attr_reader :user, :scope def initialize(user, scope) @user = user @scope = scope end <|fil...
897aeee939f026aa444f5ca533978ee90e746650
app/policies/application_policy.rb
app/policies/application_policy.rb
Ruby
<|file_sep|>original/TestAssets/TestProjects/BuildTestStandaloneProject/project.json "frameworks": { "netstandardapp1.5": { "imports": [ "dnxcore50", "portable-net45+win8" ], "dependencies": { "NETStandard.Library": "1.0.0-r...
"netstandardapp1.5": { "imports": [ "dnxcore50", "portable-net45+win8" ], "dependencies": { "NETStandard.Library": "1.0.0-rc2-23901" } } }, "runtimes": { "win7-x64": {}, "win7-x86": {}...
<|file_sep|>original/TestAssets/TestProjects/BuildTestStandaloneProject/project.json "frameworks": { "netstandardapp1.5": { "imports": [ "dnxcore50", "portable-net45+win8" ], "dependencies": { "NETStandard.Library": "1.0.0-r...
76262b8b0a371a4c372d35ff9509c20adffdf3b0
TestAssets/TestProjects/BuildTestStandaloneProject/project.json
TestAssets/TestProjects/BuildTestStandaloneProject/project.json
JSON
<|file_sep|>original/src/xml/ixmldeserializing.h #include "xmlglobal.h" #include <QtCore> QTX_BEGIN_NAMESPACE class IXmlDeserializing { public: virtual ~IXmlDeserializing() {}; virtual IXmlDeserializing *deserializeXmlStartElement(XmlDeserializer *deserializer, const QStringRef & name, const QString...
QTX_BEGIN_NAMESPACE class IXmlDeserializing { public: virtual ~IXmlDeserializing() {}; virtual IXmlDeserializing *deserializeXmlStartElement(XmlDeserializer * deserializer, const QStringRef & name, const QStringRef & namespaceUri, const QXmlStreamAttributes & attributes) { Q_UNUSED(deser...
<|file_sep|>original/src/xml/ixmldeserializing.h #include "xmlglobal.h" #include <QtCore> QTX_BEGIN_NAMESPACE class IXmlDeserializing { public: virtual ~IXmlDeserializing() {}; virtual IXmlDeserializing *deserializeXmlStartElement(XmlDeserializer *deserializer, const QStringRef & name, const QString...
72c4accefc3d2ac122d650f696d04b189abc43be
src/xml/ixmldeserializing.h
src/xml/ixmldeserializing.h
C
<|file_sep|>original/README.md # lanky The thinner faster younger brother of Janky. <|file_sep|>current/README.md # lanky The thinner faster younger brother of Janky. <|file_sep|>updated/README.md
# lanky [![Build Status](https://travis-ci.org/nfisher/lanky.svg)](https://travis-ci.org/nfisher/lanky) The thinner faster younger brother of Janky.
<|file_sep|>original/README.md # lanky The thinner faster younger brother of Janky. <|file_sep|>current/README.md # lanky The thinner faster younger brother of Janky. <|file_sep|>updated/README.md # lanky [![Build Status](https://travis-ci.org/nfisher/lanky.svg)](https://travis-ci.org/nfisher/lanky) The thinner faste...
860405c2f3dea091dd319a3d8eeee80a8fea8c54
README.md
README.md
Markdown
<|file_sep|>original/docker-compose.yml web: build: . ports: - "8080:80" links: - mysql env_file: - env volumes: - .:/var/chippin - ./src/var/connect:/var/www/htdocs/var/connect mysql: image: mysql:5.6.23 env_file: - env #selenium: #image: selenium/standalone-chrome #ports: ...
web: build: . ports: - "80:80" links: - mysql env_file: - env volumes: - .:/var/chippin - ./src/var/connect:/var/www/htdocs/var/connect mysql: image: mysql:5.6.23 env_file: - env #selenium: #image: selenium/standalone-chrome #ports: #- "4444:4444"
<|file_sep|>original/docker-compose.yml web: build: . ports: - "8080:80" links: - mysql env_file: - env volumes: - .:/var/chippin - ./src/var/connect:/var/www/htdocs/var/connect mysql: image: mysql:5.6.23 env_file: - env #selenium: #image: selenium/standalone-chrome #ports: ...
8e034fb1127283381269f302804166ea1fde4b1b
docker-compose.yml
docker-compose.yml
YAML
<|file_sep|>original/pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix { qt5 }: let mkTelegram = args: qt5.callPackage (import ./generic.nix args) { }; stableVersion = { stable = true; version = "1.7.7"; sha256Hash = "0w3jq02qzpx58xlmwaj0lgav5lx6s9hdidnq9v1npp4qmpdnsn75"; ...
{ qt5 }: let mkTelegram = args: qt5.callPackage (import ./generic.nix args) { }; stableVersion = { stable = true; version = "1.7.7"; sha256Hash = "0w3jq02qzpx58xlmwaj0lgav5lx6s9hdidnq9v1npp4qmpdnsn75"; # svn log svn://svn.archlinux.org/community/telegram-desktop/trunk archPatchesRevision = "480...
<|file_sep|>original/pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix { qt5 }: let mkTelegram = args: qt5.callPackage (import ./generic.nix args) { }; stableVersion = { stable = true; version = "1.7.7"; sha256Hash = "0w3jq02qzpx58xlmwaj0lgav5lx6s9hdidnq9v1npp4qmpdnsn75"; ...
7e2dc8d27bb3821c0dfe3d66ce4828f0e3c423b1
pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix
pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix
Nix
<|file_sep|>.github/workflows/pythonpublish.yml.diff original: updated: - name: Build run: | python setup.py sdist bdist_wheel <|file_sep|>.github/workflows/pythonpublish.yml.diff original: - name: Build and publish updated: - name: Publish to PyPi <|file_sep|>original/.github/workflows/pytho...
- name: Install dependencies run: | python -m pip install --upgrade pip pip install setuptools wheel twine - name: Build run: | python setup.py sdist bdist_wheel - name: Update keywords documentation run: | python -m robot.libdoc src/RequestsLibrary doc/Requ...
<|file_sep|>.github/workflows/pythonpublish.yml.diff original: updated: - name: Build run: | python setup.py sdist bdist_wheel <|file_sep|>.github/workflows/pythonpublish.yml.diff original: - name: Build and publish updated: - name: Publish to PyPi <|file_sep|>original/.github/workflows/pytho...
35709f8ec9437f57b77a645c8f864485f17ec221
.github/workflows/pythonpublish.yml
.github/workflows/pythonpublish.yml
YAML