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|>setup.py.diff original: version="0.3", updated: version="0.4", <|file_sep|>original/setup.py #!/usr/bin/env python from distutils.core import setup setup(name="django-sanitizer", version="0.3", description="Django template filter application for sanitizing user submitted HTML", ...
#!/usr/bin/env python from distutils.core import setup setup(name="django-sanitizer", version="0.4", description="Django template filter application for sanitizing user submitted HTML", author="Caktus Consulting Group", maintainer="Calvin Spealman", maintainer_email="calvin@caktusgroup....
<|file_sep|>setup.py.diff original: version="0.3", updated: version="0.4", <|file_sep|>original/setup.py #!/usr/bin/env python from distutils.core import setup setup(name="django-sanitizer", version="0.3", description="Django template filter application for sanitizing user submitted HTML", ...
355d71bb600df850b3914772d0dca9e0a68e64c8
setup.py
setup.py
Python
<|file_sep|>original/.travis.yml language: java jdk: openjdk8 after_success: - mvn coveralls:report -B deploy: provider: script script: "mvn deploy -DskipTests=true -B" skip_cleanup: true on: branch: refactor <|file_sep|>current/.travis.yml language: java jdk: openjdk8 after_success: - mvn coveralls:...
language: java jdk: openjdk8 after_success: - mvn coveralls:report -B deploy: provider: script script: "mvn deploy -DskipTests=true -B" skip_cleanup: true on: branch: master
<|file_sep|>original/.travis.yml language: java jdk: openjdk8 after_success: - mvn coveralls:report -B deploy: provider: script script: "mvn deploy -DskipTests=true -B" skip_cleanup: true on: branch: refactor <|file_sep|>current/.travis.yml language: java jdk: openjdk8 after_success: - mvn coveralls:...
196b86f5b1aafe6480fbb078130321ac907ca996
.travis.yml
.travis.yml
YAML
<|file_sep|>original/requirements_dev.txt pip==20.1.1 bumpversion==0.6.0 wheel==0.29.0 watchdog==0.8.3 flake8==2.6.0 tox==2.3.1 coverage==4.1 Sphinx==1.4.8 cryptography==1.7 PyYAML==5.1 <|file_sep|>current/requirements_dev.txt pip==20.1.1 bumpversion==0.6.0 wheel==0.29.0 watchdog==0.8.3 flake8==2.6.0 tox==2.3.1 covera...
pip==20.1.1 bumpversion==0.6.0 wheel==0.34.2 watchdog==0.8.3 flake8==2.6.0 tox==2.3.1 coverage==4.1 Sphinx==1.4.8 cryptography==1.7 PyYAML==5.1
<|file_sep|>original/requirements_dev.txt pip==20.1.1 bumpversion==0.6.0 wheel==0.29.0 watchdog==0.8.3 flake8==2.6.0 tox==2.3.1 coverage==4.1 Sphinx==1.4.8 cryptography==1.7 PyYAML==5.1 <|file_sep|>current/requirements_dev.txt pip==20.1.1 bumpversion==0.6.0 wheel==0.29.0 watchdog==0.8.3 flake8==2.6.0 tox==2.3.1 covera...
2082a1dfcc55a8918ae6b3ca3dc90b15ebfe57fe
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/Modules/Remote/diapotb.remote.cmake # https://www.orfeo-toolbox.org/ # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2....
# https://www.orfeo-toolbox.org/ # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
<|file_sep|>original/Modules/Remote/diapotb.remote.cmake # https://www.orfeo-toolbox.org/ # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2....
b053dc83bf7a50a3eafcd13c8931f7f75a53fbbb
Modules/Remote/diapotb.remote.cmake
Modules/Remote/diapotb.remote.cmake
CMake
<|file_sep|>original/tests/unit/traits/TaskRunnerTraitTest.php <|file_sep|>current/tests/unit/traits/TaskRunnerTraitTest.php <|file_sep|>updated/tests/unit/traits/TaskRunnerTraitTest.php
<?php use Aedart\Scaffold\Traits\TaskRunner as TaskRunnerTrait; use Aedart\Testing\Laravel\TestCases\unit\GetterSetterTraitTestCase; use Mockery as m; /** * Class TaskRunnerTraitTest * * @group traits * @group taskRunner * * @coversDefaultClass Aedart\Scaffold\Traits\TaskRunner * @author Alin Eugen Deac <aedar...
<|file_sep|>original/tests/unit/traits/TaskRunnerTraitTest.php <|file_sep|>current/tests/unit/traits/TaskRunnerTraitTest.php <|file_sep|>updated/tests/unit/traits/TaskRunnerTraitTest.php <?php use Aedart\Scaffold\Traits\TaskRunner as TaskRunnerTrait; use Aedart\Testing\Laravel\TestCases\unit\GetterSetterTraitTestCas...
3e458104f563001ac0dd24988a438f9b438b1807
tests/unit/traits/TaskRunnerTraitTest.php
tests/unit/traits/TaskRunnerTraitTest.php
PHP
<|file_sep|>original/.travis.yml language: python sudo: false python: - "2.7" # command to install dependencies install: # You may want to periodically update this, although the conda update # conda line below will keep everything up-to-date. We do this # conditionally because it saves us some downloading if t...
language: python sudo: false addons: apt: packages: - gfortran - gcc notifications: email: false python: - "2.7" # command to install dependencies install: # You may want to periodically update this, although the conda update # conda line below will keep everything up-to-date. We do this # ...
<|file_sep|>original/.travis.yml language: python sudo: false python: - "2.7" # command to install dependencies install: # You may want to periodically update this, although the conda update # conda line below will keep everything up-to-date. We do this # conditionally because it saves us some downloading if t...
972e1957fa5df6d73347d99fb8f3e2c239b03d38
.travis.yml
.travis.yml
YAML
<|file_sep|>roles/security/tasks/firewalld.yml.diff original: - shell: firewall-cmd --set-default-zone={{ firewalld_zone }} when: firewalld_zone not in firewall_default_zone.stdout updated: <|file_sep|>original/roles/security/tasks/firewalld.yml - shell: firewall-cmd --get-default-zone register: firewall_default_...
- shell: firewall-cmd --permanent --new-zone={{ firewalld_zone }} && firewall-cmd --reload when: firewalld_zone not in firewall_zones.stdout - firewalld: zone: "{{ firewalld_zone }}" permanent: yes immediate: yes state: enabled service: "{{ item }}" with_items: "{{ enabled_services }}" - firew...
<|file_sep|>roles/security/tasks/firewalld.yml.diff original: - shell: firewall-cmd --set-default-zone={{ firewalld_zone }} when: firewalld_zone not in firewall_default_zone.stdout updated: <|file_sep|>original/roles/security/tasks/firewalld.yml - shell: firewall-cmd --get-default-zone register: firewall_default_...
db9a0e8a822ca502a0a9385697e83410e2abf6fe
roles/security/tasks/firewalld.yml
roles/security/tasks/firewalld.yml
YAML
<|file_sep|>original/Cargo.toml homepage = "https://github.com/kamalmarhubi/rust-bisect" repository = "https://github.com/kamalmarhubi/rust-bisect.git" include = ["multirust/**", "src/**/*", "Cargo.toml", "README.md"] readme = "README.md" publish = false [dependencies] chrono = "0.2" clap = "2.1.2" hyper = "0.7.2" l...
homepage = "https://github.com/kamalmarhubi/rust-bisect" repository = "https://github.com/kamalmarhubi/rust-bisect.git" include = ["multirust/**", "src/**/*", "Cargo.toml", "README.md"] readme = "README.md" publish = false [dependencies] chrono = "0.2" clap = "2.1.2" hyper = "0.7.2" libc = "0.2" semver = "0.2" term ...
<|file_sep|>original/Cargo.toml homepage = "https://github.com/kamalmarhubi/rust-bisect" repository = "https://github.com/kamalmarhubi/rust-bisect.git" include = ["multirust/**", "src/**/*", "Cargo.toml", "README.md"] readme = "README.md" publish = false [dependencies] chrono = "0.2" clap = "2.1.2" hyper = "0.7.2" l...
6067a7585ee94db33e5bee130a4a6a95c07aa89f
Cargo.toml
Cargo.toml
TOML
<|file_sep|>frontend/src/components/Question/transforms.js.diff original: updated: /** * Transforms and array of choices [{ id: '1Ba', text: 'Lorem ipsum' }] into * an object for 'choices' field in updateQuestion mutation: * {create: [{ id: '1Ba', text: 'Lorem ipsum' }] * {update: [{ where: { id: '1Ba' }, data: { ...
* an object for 'choices' field in updateQuestion mutation: * {create: [{ id: '1Ba', text: 'Lorem ipsum' }] * {update: [{ where: { id: '1Ba' }, data: { text: 'Lorem ipsum' } }]} * @param {Array<{id: String, text: String}>} choices - Choices array */ const choicesValuesToRequest = choices => { if (choices[0].id) ...
<|file_sep|>frontend/src/components/Question/transforms.js.diff original: updated: /** * Transforms and array of choices [{ id: '1Ba', text: 'Lorem ipsum' }] into * an object for 'choices' field in updateQuestion mutation: * {create: [{ id: '1Ba', text: 'Lorem ipsum' }] * {update: [{ where: { id: '1Ba' }, data: { ...
159127113365646c28a1717d0cc7fe11b5d3b0c0
frontend/src/components/Question/transforms.js
frontend/src/components/Question/transforms.js
JavaScript
<|file_sep|>src/index.ts.diff original: export {GinBuilder} from "./builder"; updated: export {GinBuilder, MangaHereBuilder} from "./builder"; <|file_sep|>src/index.ts.diff original: updated: export * from "./parser"; <|file_sep|>original/src/index.ts export * from "./interface"; import {GinBuilder} from "./builder...
import {GinBuilder} from "./builder"; export {GinBuilder, MangaHereBuilder} from "./builder"; export * from "./enum"; export * from "./filter"; export * from "./parser"; export const gindownloader = new GinBuilder(); export {MangaHereConfig} from "./manga/mangahere/config"; export {RequestRetryStrategy} from "...
<|file_sep|>src/index.ts.diff original: export {GinBuilder} from "./builder"; updated: export {GinBuilder, MangaHereBuilder} from "./builder"; <|file_sep|>src/index.ts.diff original: updated: export * from "./parser"; <|file_sep|>original/src/index.ts export * from "./interface"; import {GinBuilder} from "./builder...
e8b61c713cdbff32fc05b2da2873aad20532cb14
src/index.ts
src/index.ts
TypeScript
<|file_sep|>original/core-api/src/main/scala/net/codingwell/weave/Executor.java <|file_sep|>current/core-api/src/main/scala/net/codingwell/weave/Executor.java <|file_sep|>updated/core-api/src/main/scala/net/codingwell/weave/Executor.java
package net.codingwell.weave; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.ElementType; import java.lang.annotation.Target; import com.google.inject.BindingAnnotation; @BindingAnnotation @Target({ ElementType.FIELD,ElementType.PARAMETER, ElementType....
<|file_sep|>original/core-api/src/main/scala/net/codingwell/weave/Executor.java <|file_sep|>current/core-api/src/main/scala/net/codingwell/weave/Executor.java <|file_sep|>updated/core-api/src/main/scala/net/codingwell/weave/Executor.java package net.codingwell.weave; import java.lang.annotation.Retention; import jav...
643d91100ba541f35a3ff741089a4696666fd97d
core-api/src/main/scala/net/codingwell/weave/Executor.java
core-api/src/main/scala/net/codingwell/weave/Executor.java
Java
<|file_sep|>original/push_to_github.sh #!/bin/sh set -e change_branch=$(git branch filtered) echo $change_branch filter_branch=$(git filter-branch --index-filter 'git rm --cached --ignore-unmatch helpers/encryption_helper.rb' -f filtered) echo $filter_branch git_push=$(git push --force origin filtered:master) echo ...
#!/bin/sh set -e change_branch=$(git branch filtered) echo $change_branch filter_branch=$(git filter-branch --index-filter 'git rm --cached --ignore-unmatch helpers/encryption_helper.rb' -f filtered) echo $filter_branch git_push=$(git push --force github-public filtered:master) echo $git_push delete_branch=$(git b...
<|file_sep|>original/push_to_github.sh #!/bin/sh set -e change_branch=$(git branch filtered) echo $change_branch filter_branch=$(git filter-branch --index-filter 'git rm --cached --ignore-unmatch helpers/encryption_helper.rb' -f filtered) echo $filter_branch git_push=$(git push --force origin filtered:master) echo ...
71b615f51ac78f4fadef762a0aa80df55a7a2b68
push_to_github.sh
push_to_github.sh
Shell
<|file_sep|>original/scripts/top10.r <|file_sep|>current/scripts/top10.r <|file_sep|>updated/scripts/top10.r
#!/usr/bin/env Rscript library(data.table) library(ggplot2) irPlot <- function(df, type="Precision", n=10, selection="") { # filter out NaN df <- df[complete.cases(df), ] # add grp for indexing df$grp <- paste(df$Recommender,df$KTL, df$Similarity) # set index df <- data.table(df, key='grp')...
<|file_sep|>original/scripts/top10.r <|file_sep|>current/scripts/top10.r <|file_sep|>updated/scripts/top10.r #!/usr/bin/env Rscript library(data.table) library(ggplot2) irPlot <- function(df, type="Precision", n=10, selection="") { # filter out NaN df <- df[complete.cases(df), ] # add grp for indexin...
a0787acd606e43c131adf06d945436b0e9e82fb1
scripts/top10.r
scripts/top10.r
R
<|file_sep|>original/README.md # hello-tint Checking out Tint (https://github.com/trueinteractions/tint2) by https://www.trueinteractions.com/ ## Development Initial setup > npm install Run the app > npm start For list of available actions > npm run <|file_sep|>current/README.md # hello-tint Checking out Ti...
> npm install Run the app > npm start For list of available actions > npm run ## Hurdles The app works when run directly from the cli. However, - Packaged app does not launch on Windows - Packaged app launches on OSX, but does not render any UI The stuff above make it impossible for me to take this any furth...
<|file_sep|>original/README.md # hello-tint Checking out Tint (https://github.com/trueinteractions/tint2) by https://www.trueinteractions.com/ ## Development Initial setup > npm install Run the app > npm start For list of available actions > npm run <|file_sep|>current/README.md # hello-tint Checking out Ti...
5181b73b5110aa36ab75e5c6d76ddf86073af952
README.md
README.md
Markdown
<|file_sep|>original/demo/package.json { "name": "buster-coffee-demo", "version": "0.1", "dependencies": { "buster-coffee": "" }, "engines": { "node": "*" } } <|file_sep|>current/demo/package.json { "name": "buster-coffee-demo", "version": "0.1", "dependencies": { "buster-coffee": "" }, ...
{ "name": "buster-coffee-demo", "version": "0.1.0", "dependencies": { "buster-coffee": "" }, "engines": { "node": "*" } }
<|file_sep|>original/demo/package.json { "name": "buster-coffee-demo", "version": "0.1", "dependencies": { "buster-coffee": "" }, "engines": { "node": "*" } } <|file_sep|>current/demo/package.json { "name": "buster-coffee-demo", "version": "0.1", "dependencies": { "buster-coffee": "" }, ...
b0b9429c614b1a2cbbcbee232901867c572d9b98
demo/package.json
demo/package.json
JSON
<|file_sep|>original/javascript/package.json ], "author": "Aslak Hellesøy", "license": "MIT", "bugs": { "url": "https://github.com/cucumber/cucumber/issues" }, "homepage": "https://github.com/cucumber/gherkin-javascript", "devDependencies": { "@cucumber/gherkin-streams": "^5.0.1", "@types/moch...
], "author": "Aslak Hellesøy", "license": "MIT", "bugs": { "url": "https://github.com/cucumber/cucumber/issues" }, "homepage": "https://github.com/cucumber/gherkin-javascript", "devDependencies": { "@cucumber/gherkin-streams": "^5.0.1", "@types/mocha": "10.0.0", "@types/node": "18.11.5", ...
<|file_sep|>original/javascript/package.json ], "author": "Aslak Hellesøy", "license": "MIT", "bugs": { "url": "https://github.com/cucumber/cucumber/issues" }, "homepage": "https://github.com/cucumber/gherkin-javascript", "devDependencies": { "@cucumber/gherkin-streams": "^5.0.1", "@types/moch...
924c8910e822f8bb2cfd7d79d2aa430eca70b9c7
javascript/package.json
javascript/package.json
JSON
<|file_sep|>metadata/ws.xsoh.etar.txt.diff original: updated: Build:1.0.8,11 commit=v1.0.8 submodules=yes gradle=yes <|file_sep|>original/metadata/ws.xsoh.etar.txt gradle=yes Build:1.0.4,8 commit=v1.0.4 submodules=yes gradle=yes Build:1.0.6,9 commit=v1.0.6 submodules=yes grad...
gradle=yes Build:1.0.6,9 commit=v1.0.6 submodules=yes gradle=yes Build:1.0.7,10 commit=v1.0.7 submodules=yes gradle=yes Build:1.0.8,11 commit=v1.0.8 submodules=yes gradle=yes Auto Update Mode:Version v%v Update Check Mode:Tags Current Version:1.0.8 Current Version Code:11
<|file_sep|>metadata/ws.xsoh.etar.txt.diff original: updated: Build:1.0.8,11 commit=v1.0.8 submodules=yes gradle=yes <|file_sep|>original/metadata/ws.xsoh.etar.txt gradle=yes Build:1.0.4,8 commit=v1.0.4 submodules=yes gradle=yes Build:1.0.6,9 commit=v1.0.6 submodules=yes grad...
4d0dfc469a429871fd2d200b590aee173dd51584
metadata/ws.xsoh.etar.txt
metadata/ws.xsoh.etar.txt
Text
<|file_sep|>original/app/views/help_pages/_fields.html.erb <div class="row"> <div class="col-md-8"> <fieldset class="inputs"> <%= render :partial => 'shared/common_edition_attributes', :locals => {:f => f} %> <div class="form-group"> <span class="form-label"> <%= f.label :body %> ...
<div class="row"> <div class="col-md-8"> <fieldset class="inputs"> <%= render :partial => 'shared/common_edition_attributes', :locals => {:f => f} %> <%= form_group(f, :body) do %> <%= f.text_area :body, rows: 20, disabled: @resource.locked_for_edits?, class: "form-control" %> <% end %>...
<|file_sep|>original/app/views/help_pages/_fields.html.erb <div class="row"> <div class="col-md-8"> <fieldset class="inputs"> <%= render :partial => 'shared/common_edition_attributes', :locals => {:f => f} %> <div class="form-group"> <span class="form-label"> <%= f.label :body %> ...
3729dae65a31e6a467b3d0da8dc673d0bd1fca08
app/views/help_pages/_fields.html.erb
app/views/help_pages/_fields.html.erb
HTML+ERB
<|file_sep|>original/requirements.txt Flask==1.1.2 Flask-Admin==1.5.6 Flask-SQLAlchemy==2.4.4 SQLAlchemy==1.3.19 WTForms==2.3.3 coverage==5.3 pytest==6.1.1 Flask-Cors==3.0.9 pytest-cov==2.10.1 pytest-flask==1.0.0 six==1.12.0 wcwidth==0.1.7 Werkzeug==1.0.1 WTForms==2.3.3 zipp==0.5.1 <|file_sep|>current/requirements.txt ...
Flask==1.1.2 Flask-Admin==1.5.6 Flask-SQLAlchemy==2.4.4 SQLAlchemy==1.3.19 WTForms==2.3.3 coverage==5.3 pytest==6.1.1 Flask-Cors==3.0.9 pytest-cov==2.10.1 pytest-flask==1.0.0 six==1.15.0 wcwidth==0.1.7 Werkzeug==1.0.1 WTForms==2.3.3 zipp==0.5.1
<|file_sep|>original/requirements.txt Flask==1.1.2 Flask-Admin==1.5.6 Flask-SQLAlchemy==2.4.4 SQLAlchemy==1.3.19 WTForms==2.3.3 coverage==5.3 pytest==6.1.1 Flask-Cors==3.0.9 pytest-cov==2.10.1 pytest-flask==1.0.0 six==1.12.0 wcwidth==0.1.7 Werkzeug==1.0.1 WTForms==2.3.3 zipp==0.5.1 <|file_sep|>current/requirements.txt ...
2411af1917b65c7d09c2e02a81b77dc29dfdd4e9
requirements.txt
requirements.txt
Text
<|file_sep|>original/bot/lib/message2embed.js const Discord = require('discord.js'); module.exports = (message, hotline) => { let me = message.embeds.shift(); const embed = new Discord.RichEmbed(); embed.setAuthor(message.author.username, message.author.avatarURL) if (!hotline) embed.setTitle(me...
const Discord = require('discord.js'); module.exports = (message, hotline) => { let me = message.embeds.shift(); const embed = new Discord.RichEmbed(); embed.setAuthor(message.author.username, message.author.avatarURL) if (!hotline) embed.setTitle(message.channel.name + " in " + message.guild.na...
<|file_sep|>original/bot/lib/message2embed.js const Discord = require('discord.js'); module.exports = (message, hotline) => { let me = message.embeds.shift(); const embed = new Discord.RichEmbed(); embed.setAuthor(message.author.username, message.author.avatarURL) if (!hotline) embed.setTitle(me...
81ef9b6feab7841dca2cdf3ae4136b2922de6514
bot/lib/message2embed.js
bot/lib/message2embed.js
JavaScript
<|file_sep|>original/composer.json "keywords": ["laravel", "contact", "address", "crm"], "license": "MIT", "authors": [ { "name": "Del", "email": "del@babel.com.au" } ], "require": { "php": ">=5.4.0", "delatbabel/applog": "^1.5", "delat...
"keywords": ["laravel", "contact", "address", "crm"], "license": "MIT", "authors": [ { "name": "Del", "email": "del@babel.com.au" } ], "require": { "php": ">=5.4.0", "delatbabel/applog": "dev-master", "delatbabel/fluents": "~1.0", ...
<|file_sep|>original/composer.json "keywords": ["laravel", "contact", "address", "crm"], "license": "MIT", "authors": [ { "name": "Del", "email": "del@babel.com.au" } ], "require": { "php": ">=5.4.0", "delatbabel/applog": "^1.5", "delat...
ba12a5bb4fff57cf0e612e3e1d7473a29c30549c
composer.json
composer.json
JSON
<|file_sep|>original/dist/finnish_holidays_2016.json <|file_sep|>current/dist/finnish_holidays_2016.json <|file_sep|>updated/dist/finnish_holidays_2016.json
[{ "date": "2016-01-01", "name": "Uudenvuodenpäivä", }, { "date": "2016-01-06", "name": "Loppiainen", }, { "date": "2016-03-25", "name": "Pitkäperjantai", }, { "date": "2016-03-28", "name": "Toinen pääsiäispäivä", }, { "date": "2016-05-05", "name": "Helatorstai", }, { "date":...
<|file_sep|>original/dist/finnish_holidays_2016.json <|file_sep|>current/dist/finnish_holidays_2016.json <|file_sep|>updated/dist/finnish_holidays_2016.json [{ "date": "2016-01-01", "name": "Uudenvuodenpäivä", }, { "date": "2016-01-06", "name": "Loppiainen", }, { "date": "2016-03-25", "name": ...
2e21345f5d7b8a2b795faf1b04edaa5da22a2601
dist/finnish_holidays_2016.json
dist/finnish_holidays_2016.json
JSON
<|file_sep|>packages/se/secp256k1.yaml.diff original: hash: 88957855be96e39bf532e0d6150ad0159d0f3f9bb8aa0a54da3aa088b39bc19d updated: hash: e847618cf2885c40806225ffd1605f0728368248a55db9197f6517ed3e630cd5 <|file_sep|>packages/se/secp256k1.yaml.diff original: updated: base16-bytestring: -any string-conversions: -an...
cryptohash: -any maintainer: root@haskoin.com synopsis: secp256k1 bindings for Haskell changelog: '' basic-deps: bytestring: -any base: ! '>=4.8 && <5' entropy: -any mtl: -any base16-bytestring: -any string-conversions: -any all-versions: - '0.1.0' - '0.1.1' - '0.1.2' - '0.1.3' author: Jean-Pierre Rupp la...
<|file_sep|>packages/se/secp256k1.yaml.diff original: hash: 88957855be96e39bf532e0d6150ad0159d0f3f9bb8aa0a54da3aa088b39bc19d updated: hash: e847618cf2885c40806225ffd1605f0728368248a55db9197f6517ed3e630cd5 <|file_sep|>packages/se/secp256k1.yaml.diff original: updated: base16-bytestring: -any string-conversions: -an...
d211c74e636e535f910218bc56de9077ccdd09f8
packages/se/secp256k1.yaml
packages/se/secp256k1.yaml
YAML
<|file_sep|>original/metadata.yaml # A link to the plugin's page homepage: 'https://github.com/openstsack/fuel-plugin-influxdb-grafana' # Specify a group which your plugin implements, possible options: # network, storage, storage::cinder, storage::glance, hypervisor groups: ['monitoring'] # The plugin is compatible wi...
fuel_version: ['7.0', '8.0'] # Specify license of your plugin licenses: ['Apache License Version 2.0'] # Specify author or company name authors: ['Mirantis Inc.'] # A link to the plugin's page homepage: 'https://github.com/openstsack/fuel-plugin-influxdb-grafana' # Specify a group which your plugin implements, possible...
<|file_sep|>original/metadata.yaml # A link to the plugin's page homepage: 'https://github.com/openstsack/fuel-plugin-influxdb-grafana' # Specify a group which your plugin implements, possible options: # network, storage, storage::cinder, storage::glance, hypervisor groups: ['monitoring'] # The plugin is compatible wi...
e75f62fb467eb983d3b77faca21afda9fea7b922
metadata.yaml
metadata.yaml
YAML
<|file_sep|>original/ubuntu/README.md # ubuntu Automation for temporary ubuntu installation. ```shell bash -c "$(curl -fsSL https://mfgo.link/ubuntu)" ``` <|file_sep|>current/ubuntu/README.md # ubuntu Automation for temporary ubuntu installation. ```shell bash -c "$(curl -fsSL https://mfgo.link/ubuntu)" ``` <|file_...
# ubuntu Automation for temporary ubuntu installation. ```shell bash -c "$(curl -fsSL https://mfgo.link/ubuntu)" ``` ```shell chsh -s /bin/zsh ```
<|file_sep|>original/ubuntu/README.md # ubuntu Automation for temporary ubuntu installation. ```shell bash -c "$(curl -fsSL https://mfgo.link/ubuntu)" ``` <|file_sep|>current/ubuntu/README.md # ubuntu Automation for temporary ubuntu installation. ```shell bash -c "$(curl -fsSL https://mfgo.link/ubuntu)" ``` <|file_...
bcba12fad5bcb0f392b4e5c939763bcd70cc192d
ubuntu/README.md
ubuntu/README.md
Markdown
<|file_sep|>original/requirements.txt docker-py factory-boy==2.7.0 fake-factory==0.5.7 pycrypto==2.6.1 pytest==2.9.2 PyYAML==3.11 pytest-salt-containers==0.1.7 <|file_sep|>current/requirements.txt docker-py factory-boy==2.7.0 fake-factory==0.5.7 pycrypto==2.6.1 pytest==2.9.2 PyYAML==3.11 pytest-salt-containers==0.1.7 <...
docker-py factory-boy==2.7.0 fake-factory==0.5.7 pycrypto==2.6.1 pytest==2.9.2 PyYAML==3.11 pytest-salt-containers==0.1.8
<|file_sep|>original/requirements.txt docker-py factory-boy==2.7.0 fake-factory==0.5.7 pycrypto==2.6.1 pytest==2.9.2 PyYAML==3.11 pytest-salt-containers==0.1.7 <|file_sep|>current/requirements.txt docker-py factory-boy==2.7.0 fake-factory==0.5.7 pycrypto==2.6.1 pytest==2.9.2 PyYAML==3.11 pytest-salt-containers==0.1.7 <...
3c646213bb21991d01eb03dc33103bb2857343d2
requirements.txt
requirements.txt
Text
<|file_sep|>original/spec/skeptic/rules/space_around_operators_spec.rb <|file_sep|>current/spec/skeptic/rules/space_around_operators_spec.rb <|file_sep|>updated/spec/skeptic/rules/space_around_operators_spec.rb
# encoding: utf-8 require 'spec_helper' module Skeptic module Rules describe SpaceAroundOperators do it_behaves_like 'Rule' do subject { SpaceAroundOperators.new } end describe "detecting operators without space around them" do it "checks for space around operators" do ...
<|file_sep|>original/spec/skeptic/rules/space_around_operators_spec.rb <|file_sep|>current/spec/skeptic/rules/space_around_operators_spec.rb <|file_sep|>updated/spec/skeptic/rules/space_around_operators_spec.rb # encoding: utf-8 require 'spec_helper' module Skeptic module Rules describe SpaceAroundOperators do...
1cf71215d58e868e8c0f19ff523724483ebddc94
spec/skeptic/rules/space_around_operators_spec.rb
spec/skeptic/rules/space_around_operators_spec.rb
Ruby
<|file_sep|>game/quests/__init__.py.diff original: updated: self.appendEmptyLine() self.append("objective", self.obj.getObjective()) self.appendEmptyLine() <|file_sep|>original/game/quests/__init__.py """ def __init__(self, cls): from pywow import wdbc self.__file = wdbc.get("questcache.wdb", build=-1) ...
self.__file = wdbc.get("questcache.wdb", build=-1) def get(self, id): return self.__file[id] def getCompleteSummary(self, row): return row.complete_summary def getDescription(self, row): return row.description.replace("$B", "\n") def getName(self, row): return row.name def getObjective(self, ro...
<|file_sep|>game/quests/__init__.py.diff original: updated: self.appendEmptyLine() self.append("objective", self.obj.getObjective()) self.appendEmptyLine() <|file_sep|>original/game/quests/__init__.py """ def __init__(self, cls): from pywow import wdbc self.__file = wdbc.get("questcache.wdb", build=-1) ...
5e736819e35efaad8568bb0782af3d256d55963d
game/quests/__init__.py
game/quests/__init__.py
Python
<|file_sep|>original/lib/pagerduty/clt/services/nagios.rb def initialize(node, raw) @node = node @raw = raw end def name @service ||= raw.service end def state @state ||= raw.state end def detail @detail || raw...
def name @service ||= raw.service end def state @state ||= raw.state end def detail @detail || begin details = if raw.details.SERVICEOUTPUT raw.details.SERVICEOUTPUT elsif raw.details.HOSTOUTPUT ...
<|file_sep|>original/lib/pagerduty/clt/services/nagios.rb def initialize(node, raw) @node = node @raw = raw end def name @service ||= raw.service end def state @state ||= raw.state end def detail @detail || raw...
bbe3cd9676bed34ad515f15d4bdc00c1bd975815
lib/pagerduty/clt/services/nagios.rb
lib/pagerduty/clt/services/nagios.rb
Ruby
<|file_sep|>composer.json.diff original: "repositories": [ { "type": "vcs", "url": "https://github.com/GrahamCampbell/testbench" } ], updated: <|file_sep|>original/composer.json } ], "repositories": [ { "type": "vcs", "url"...
} ], "require": { "php": ">=5.4.7", "illuminate/contracts": "~5.0", "illuminate/support": "~5.0", "graham-campbell/manager": "~2.0", "dropbox/dropbox-sdk": "~1.1" }, "require-dev": { "graham-campbell/testbench": "~2.0" }, "autoload": { ...
<|file_sep|>composer.json.diff original: "repositories": [ { "type": "vcs", "url": "https://github.com/GrahamCampbell/testbench" } ], updated: <|file_sep|>original/composer.json } ], "repositories": [ { "type": "vcs", "url"...
e56723b2016f02d6301c308e701962f68f0fdefb
composer.json
composer.json
JSON
<|file_sep|>original/build-docs.sh #!/bin/sh VERSION="devel" (cd doc; make) rm -rf /tmp/index.html mv doc/index.html /tmp/index.html; git checkout gh-pages; rm -rf ./$VERSION mkdir -p ./$VERSION/ mv -fv /tmp/index.html ./$VERSION/ git add --all ./$VERSION/index.html git commit -a -m "Update ${VERSION} doc" <|file_s...
#!/bin/sh VERSION="latest" (cd doc; make) rm -rf /tmp/index.html mv doc/index.html /tmp/index.html; git checkout gh-pages; rm -rf ./$VERSION mkdir -p ./$VERSION/ mv -fv /tmp/index.html ./$VERSION/ git add --all ./$VERSION/index.html git commit -a -m "Update ${VERSION} doc"
<|file_sep|>original/build-docs.sh #!/bin/sh VERSION="devel" (cd doc; make) rm -rf /tmp/index.html mv doc/index.html /tmp/index.html; git checkout gh-pages; rm -rf ./$VERSION mkdir -p ./$VERSION/ mv -fv /tmp/index.html ./$VERSION/ git add --all ./$VERSION/index.html git commit -a -m "Update ${VERSION} doc" <|file_s...
e0301aa3b0b94109dbfba78ddb9a73736b0672fe
build-docs.sh
build-docs.sh
Shell
<|file_sep|>.forestry/front_matter/templates/event.yml.diff original: updated: hidden: true <|file_sep|>original/.forestry/front_matter/templates/event.yml label: defaults template: partial-default - type: include name: date label: date template: partial-date - name: show_time label: Show time type: bo...
- type: include name: date label: date template: partial-date - name: show_time label: Show time type: boolean hidden: false default: true - type: include name: image label: image template: partial-images-w-credit hidden: true - type: include name: venue label: venue template: partial-venue ...
<|file_sep|>.forestry/front_matter/templates/event.yml.diff original: updated: hidden: true <|file_sep|>original/.forestry/front_matter/templates/event.yml label: defaults template: partial-default - type: include name: date label: date template: partial-date - name: show_time label: Show time type: bo...
25a3ce3a69742eb3312514994af9464a62465348
.forestry/front_matter/templates/event.yml
.forestry/front_matter/templates/event.yml
YAML
<|file_sep|>original/spec/requests/api/guest_devices_spec.rb <|file_sep|>current/spec/requests/api/guest_devices_spec.rb <|file_sep|>updated/spec/requests/api/guest_devices_spec.rb
RSpec.describe "guest devices API" do describe "display guest device details" do context "with a valid role" do it "shows its properties" do device = FactoryGirl.create(:guest_device, :device_name => "Broadcom 2-port 1GbE NIC Card", ...
<|file_sep|>original/spec/requests/api/guest_devices_spec.rb <|file_sep|>current/spec/requests/api/guest_devices_spec.rb <|file_sep|>updated/spec/requests/api/guest_devices_spec.rb RSpec.describe "guest devices API" do describe "display guest device details" do context "with a valid role" do it "shows its...
cdb1868ee60bba49f6eb14d20830c6ce115d06fe
spec/requests/api/guest_devices_spec.rb
spec/requests/api/guest_devices_spec.rb
Ruby
<|file_sep|>original/docs/java-api/admin/indices/put-mapping.asciidoc [[java-admin-indices-put-mapping]] :base-dir: {docdir}/../../server/src/test/java/org/elasticsearch/action/admin/indices/create ==== Put Mapping The PUT mapping API allows you to add a new type while creating an index: ["source","java",subs="attri...
[[java-admin-indices-put-mapping]] :base-dir: {docdir}/../../core/src/test/java/org/elasticsearch/action/admin/indices/create ==== Put Mapping The PUT mapping API allows you to add a new type while creating an index: ["source","java",subs="attributes,callouts,macros"] ------------------------------------------------...
<|file_sep|>original/docs/java-api/admin/indices/put-mapping.asciidoc [[java-admin-indices-put-mapping]] :base-dir: {docdir}/../../server/src/test/java/org/elasticsearch/action/admin/indices/create ==== Put Mapping The PUT mapping API allows you to add a new type while creating an index: ["source","java",subs="attri...
409b3d2ebd3be72568b2cca0e1f604f08f6fcfd8
docs/java-api/admin/indices/put-mapping.asciidoc
docs/java-api/admin/indices/put-mapping.asciidoc
AsciiDoc
<|file_sep|>original/_posts/2019-08-08-vim-save-without-autocmd.md <|file_sep|>current/_posts/2019-08-08-vim-save-without-autocmd.md <|file_sep|>updated/_posts/2019-08-08-vim-save-without-autocmd.md
--- layout: post title: Vim save file without AutoCmd comments: true description: Save file in Vim ignoring AutoCmd --- Vim's **autocmd** is very powerful feature. In my workflow I have many of them including **autocmd** for **BufWrite**. There are rare cases when I want to save file and ignore any **autocmd**. To ...
<|file_sep|>original/_posts/2019-08-08-vim-save-without-autocmd.md <|file_sep|>current/_posts/2019-08-08-vim-save-without-autocmd.md <|file_sep|>updated/_posts/2019-08-08-vim-save-without-autocmd.md --- layout: post title: Vim save file without AutoCmd comments: true description: Save file in Vim ignoring AutoCmd ---...
f68b98e765aba54869d47ce379d469694962631f
_posts/2019-08-08-vim-save-without-autocmd.md
_posts/2019-08-08-vim-save-without-autocmd.md
Markdown
<|file_sep|>original/rules.js <|file_sep|>current/rules.js <|file_sep|>updated/rules.js
{ "rules": { // All data is readable by anyone. ".read": true, "people": { // A list of users with their names on the site. "$userid": { // Only the user can write their own entry into this list. ".write": "$userid == auth.id" } }, "users": { "$userid": { ...
<|file_sep|>original/rules.js <|file_sep|>current/rules.js <|file_sep|>updated/rules.js { "rules": { // All data is readable by anyone. ".read": true, "people": { // A list of users with their names on the site. "$userid": { // Only the user can write their own entry into this list. ...
e639dd204db6cd8dfffa0f70f711988c8048f72e
rules.js
rules.js
JavaScript
<|file_sep|>plotly/graph_objs/__init__.py.diff original: updated: The reason for the package graph_objs and the module graph_objs is to provide a clearer API for users. <|file_sep|>original/plotly/graph_objs/__init__.py "Contour", "Heatmap", "Histogram", "Histogram2d", ...
""" graph_objs ========== This package imports definitions for all of Plotly's graph objects. For more information, run help(Obj) on any of the following objects defined here. The reason for the package graph_objs and the module graph_objs is to provide a clearer API for users. """ from . graph_objs import ( Dat...
<|file_sep|>plotly/graph_objs/__init__.py.diff original: updated: The reason for the package graph_objs and the module graph_objs is to provide a clearer API for users. <|file_sep|>original/plotly/graph_objs/__init__.py "Contour", "Heatmap", "Histogram", "Histogram2d", ...
02cfc3a53bf3f38dc676359eace0e258bfda682a
plotly/graph_objs/__init__.py
plotly/graph_objs/__init__.py
Python
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - '0.10' - '0.12' - '4.2' - '5.1' branches: only: - master - travis-ci before_install: - npm install - npm install istanbul coveralls <|file_sep|>current/.travis.yml sudo: false language: node_js node_js: - '0.10' - ...
sudo: false language: node_js node_js: - '0.10' - '0.12' - '4' - '5.1' branches: only: - master - travis-ci before_install: - npm install - npm install istanbul coveralls
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - '0.10' - '0.12' - '4.2' - '5.1' branches: only: - master - travis-ci before_install: - npm install - npm install istanbul coveralls <|file_sep|>current/.travis.yml sudo: false language: node_js node_js: - '0.10' - ...
3f76ce0412e64b98707fffa0f8f6c031a56205da
.travis.yml
.travis.yml
YAML
<|file_sep|>original/scheduletrackingdemonstration/src/main/java/org/motechproject/ScheduleTrackingDemo/listeners/CallResultListener.java <|file_sep|>current/scheduletrackingdemonstration/src/main/java/org/motechproject/ScheduleTrackingDemo/listeners/CallResultListener.java <|file_sep|>updated/scheduletrackingdemonst...
package org.motechproject.ScheduleTrackingDemo.listeners; import org.motechproject.ivr.event.IVREventDelegate; import org.motechproject.ivr.model.CallDetailRecord; import org.motechproject.model.MotechEvent; import org.motechproject.outbox.api.VoiceOutboxService; import org.motechproject.outbox.api.model.MessagePrior...
<|file_sep|>original/scheduletrackingdemonstration/src/main/java/org/motechproject/ScheduleTrackingDemo/listeners/CallResultListener.java <|file_sep|>current/scheduletrackingdemonstration/src/main/java/org/motechproject/ScheduleTrackingDemo/listeners/CallResultListener.java <|file_sep|>updated/scheduletrackingdemonst...
1254a8974959a67aa1b8a98347416817f9323771
scheduletrackingdemonstration/src/main/java/org/motechproject/ScheduleTrackingDemo/listeners/CallResultListener.java
scheduletrackingdemonstration/src/main/java/org/motechproject/ScheduleTrackingDemo/listeners/CallResultListener.java
Java
<|file_sep|>.github/workflows/test.yml.diff original: mypy . updated: mypy setup.py tests examples threema <|file_sep|>original/.github/workflows/test.yml run: | python -m pip install .[dev] - name: Install uvloop for threema.gateway if: ${{ matrix.event-loop == 'uvlo...
run: | python -m pip install .[dev] - name: Install uvloop for threema.gateway if: ${{ matrix.event-loop == 'uvloop' }} run: | python -m pip install .[uvloop] - name: Lint with flake8 run: | flake8 . - name: Lint with isort run: | ...
<|file_sep|>.github/workflows/test.yml.diff original: mypy . updated: mypy setup.py tests examples threema <|file_sep|>original/.github/workflows/test.yml run: | python -m pip install .[dev] - name: Install uvloop for threema.gateway if: ${{ matrix.event-loop == 'uvlo...
d5c9f3a92565c6b04626bd444a07728e158c5532
.github/workflows/test.yml
.github/workflows/test.yml
YAML
<|file_sep|>original/clojure/profiles.clj ;; https://github.com/technomancy/leiningen/blob/stable/doc/PROFILES.md {:user {:plugins [[lein-pprint "1.3.2" lein-ancient "0.7.0" lein-cloverage "1.2.2"]] :dependencies [[alembic "0.3.2"] [clj-kondo "RELEASE...
;; https://github.com/technomancy/leiningen/blob/stable/doc/PROFILES.md {:user {:plugins [[cider/cider-nrepl "0.25.9"] [lein-ancient "0.7.0"] [lein-check-namespace-decls "1.0.4"] [lein-cljfmt "0.8.0"] [lein-nsorg "0.3.0"] [refactor-nrepl/refactor-nrepl "3.0.0-alpha13"]]} :dependencies [#_[alembic...
<|file_sep|>original/clojure/profiles.clj ;; https://github.com/technomancy/leiningen/blob/stable/doc/PROFILES.md {:user {:plugins [[lein-pprint "1.3.2" lein-ancient "0.7.0" lein-cloverage "1.2.2"]] :dependencies [[alembic "0.3.2"] [clj-kondo "RELEASE...
d28d211b2cf02d0b5f3b327054643f600a97ee62
clojure/profiles.clj
clojure/profiles.clj
Clojure
<|file_sep|>original/requirements.txt # Development django-debug-toolbar>=1.10,<3.2 django-extensions>=2.1,<3.1 flake8>=3.8,<3.9 isort>=5.1,<5.2 # Testing coverage>=5.1,<5.4 django-webtest>=1.9,<1.10 factory-boy>=2.12,<3.1 pinocchio==0.4.2 psycopg2-binary>=2.8,<2.9 pytest-cov>=2.7,<2.11 pytest-django>=3.9,<3.10 tox>=3...
# Development django-debug-toolbar>=1.10,<3.2 django-extensions>=2.1,<3.1 flake8>=3.8,<3.9 isort>=5.1,<5.6 # Testing coverage>=5.1,<5.4 django-webtest>=1.9,<1.10 factory-boy>=2.12,<3.1 pinocchio==0.4.2 psycopg2-binary>=2.8,<2.9 pytest-cov>=2.7,<2.11 pytest-django>=3.9,<3.10 tox>=3.1,<3.21
<|file_sep|>original/requirements.txt # Development django-debug-toolbar>=1.10,<3.2 django-extensions>=2.1,<3.1 flake8>=3.8,<3.9 isort>=5.1,<5.2 # Testing coverage>=5.1,<5.4 django-webtest>=1.9,<1.10 factory-boy>=2.12,<3.1 pinocchio==0.4.2 psycopg2-binary>=2.8,<2.9 pytest-cov>=2.7,<2.11 pytest-django>=3.9,<3.10 tox>=3...
3fe76e58ee5219f1f03a28d920401f127ba94c5a
requirements.txt
requirements.txt
Text
<|file_sep|>spec/support/capybara_driver_resolver.rb.diff original: # At time of writing: These drivers wrap phantomjs or chrome and they both support # native date inputs. WITH_NATIVE_DATE_INPUT = [:poltergeist_billy, :poltergeist, :selenium_chrome_billy] updated: FIREFOX_DRIVERS = [:selenium_billy, :seleniu...
# # You probably don't need this config, its for setting up Capybara drivers # with descriptive names related to the underlying browser's HTML5 support. module CapybaraDriverResolver FIREFOX_DRIVERS = [:selenium_billy, :selenium] CHROME_DRIVERS = [:selenium_chrome_billy] PHANTOMJS_DRIVERS = [:poltergeist_bi...
<|file_sep|>spec/support/capybara_driver_resolver.rb.diff original: # At time of writing: These drivers wrap phantomjs or chrome and they both support # native date inputs. WITH_NATIVE_DATE_INPUT = [:poltergeist_billy, :poltergeist, :selenium_chrome_billy] updated: FIREFOX_DRIVERS = [:selenium_billy, :seleniu...
f205fb67f46f70cee0e611fd76fcff4e73c9f2f4
spec/support/capybara_driver_resolver.rb
spec/support/capybara_driver_resolver.rb
Ruby
<|file_sep|>original/requirements.txt future numpy scipy tornado>=4.3 shapely lxml html5lib h5py numexpr cython matplotlib pillow nibabel networkx==2.1 <|file_sep|>current/requirements.txt future numpy scipy tornado>=4.3 shapely lxml html5lib h5py numexpr cython matplotlib pillow nibabel networkx==2.1 <|file_sep|>updat...
future numpy scipy tornado>=4.3 shapely lxml html5lib h5py numexpr cython matplotlib pillow nibabel networkx==2.1 imageio
<|file_sep|>original/requirements.txt future numpy scipy tornado>=4.3 shapely lxml html5lib h5py numexpr cython matplotlib pillow nibabel networkx==2.1 <|file_sep|>current/requirements.txt future numpy scipy tornado>=4.3 shapely lxml html5lib h5py numexpr cython matplotlib pillow nibabel networkx==2.1 <|file_sep|>updat...
2aa895911490e92d6f43e9cf81a7e41a472108c5
requirements.txt
requirements.txt
Text
<|file_sep|>original/package.json "version": "1.0.0", "description": "Benchmark of pseudorandom number generators", "main": "index.js", "keywords": [ "random", "pseudorandom", "benchmark" ], "author": "Emil Bay <github@tixz.dk>", "license": "ISC", "dependencies": { "async": "^0.9.0", ...
"description": "Benchmark of pseudorandom number generators", "main": "index.js", "keywords": [ "random", "pseudorandom", "benchmark" ], "author": "Emil Bay <github@tixz.dk>", "license": "ISC", "dependencies": { "async": "^0.9.0", "progress": "^1.1.8", "summary": "^0.3.1" }, "d...
<|file_sep|>original/package.json "version": "1.0.0", "description": "Benchmark of pseudorandom number generators", "main": "index.js", "keywords": [ "random", "pseudorandom", "benchmark" ], "author": "Emil Bay <github@tixz.dk>", "license": "ISC", "dependencies": { "async": "^0.9.0", ...
4411c14c5a6bd73320813b9668ceb86a745916ed
package.json
package.json
JSON
<|file_sep|>original/src/minunit.h /* http://www.jera.com/techinfo/jtns/jtn002.html */ #define mu_assert(message, test) do { if (!(test)) return message; } while (0) #define mu_run_test(testname, test) \ do { \ char *message = test(); tests_run++; \ if (message) return message; \ else printf("OK: %s\n", testnam...
/* http://www.jera.com/techinfo/jtns/jtn002.html */ #define mu_assert(message, test) \ do { \ if (!(test)) \ return message; \ } while (0) #define mu_run_test(testname, test) \ do { \ char *message = test(); tests_run++; \ if (message) return message; \ else printf("OK: %s\n", testname); \ } while (0) ...
<|file_sep|>original/src/minunit.h /* http://www.jera.com/techinfo/jtns/jtn002.html */ #define mu_assert(message, test) do { if (!(test)) return message; } while (0) #define mu_run_test(testname, test) \ do { \ char *message = test(); tests_run++; \ if (message) return message; \ else printf("OK: %s\n", testnam...
124b9d9f70d198fd7ad220e75ad5c7fded10474f
src/minunit.h
src/minunit.h
C
<|file_sep|>original/webkit/glue/simple_webmimeregistry_impl.h #ifndef WEBMIMEREGISTRY_IMPL_H_ #define WEBMIMEREGISTRY_IMPL_H_ #include "third_party/WebKit/WebKit/chromium/public/WebMimeRegistry.h" namespace webkit_glue { class SimpleWebMimeRegistryImpl : public WebKit::WebMimeRegistry { public: // WebMimeRegist...
#ifndef WEBMIMEREGISTRY_IMPL_H_ #define WEBMIMEREGISTRY_IMPL_H_ #include "third_party/WebKit/WebKit/chromium/public/WebMimeRegistry.h" namespace webkit_glue { class SimpleWebMimeRegistryImpl : public WebKit::WebMimeRegistry { public: SimpleWebMimeRegistryImpl() {} virtual ~SimpleWebMimeRegistryImpl() {} // ...
<|file_sep|>original/webkit/glue/simple_webmimeregistry_impl.h #ifndef WEBMIMEREGISTRY_IMPL_H_ #define WEBMIMEREGISTRY_IMPL_H_ #include "third_party/WebKit/WebKit/chromium/public/WebMimeRegistry.h" namespace webkit_glue { class SimpleWebMimeRegistryImpl : public WebKit::WebMimeRegistry { public: // WebMimeRegist...
cdcefd8721e2f8df853cdc0cd8a7a67a122b7be1
webkit/glue/simple_webmimeregistry_impl.h
webkit/glue/simple_webmimeregistry_impl.h
C
<|file_sep|>original/.travis.yml language: node_js node_js: - node - 4 - 0.12 - 0.10 sudo: false <|file_sep|>current/.travis.yml language: node_js node_js: - node - 4 - 0.12 - 0.10 sudo: false <|file_sep|>updated/.travis.yml
language: node_js node_js: - node - 6 - 5 - 4 - 0.12 - 0.10 sudo: false
<|file_sep|>original/.travis.yml language: node_js node_js: - node - 4 - 0.12 - 0.10 sudo: false <|file_sep|>current/.travis.yml language: node_js node_js: - node - 4 - 0.12 - 0.10 sudo: false <|file_sep|>updated/.travis.yml language: node_js node_js: - node - 6 - 5 - 4 - 0.12 - 0.10 s...
9e205811fe4218bdc0727322b6485518422e80f1
.travis.yml
.travis.yml
YAML
<|file_sep|>public/templates/bootstrap/dashboard/worker_information/default.tpl.diff original: updated: {if !$DISABLED_DASHBOARD and !$DISABLED_DASHBOARD_API} <|file_sep|>public/templates/bootstrap/dashboard/worker_information/default.tpl.diff original: {if !$DISABLED_DASHBOARD and !$DISABLED_DASHBOARD_API} up...
<div class="panel-heading"> <h4 class="panel-title"><i class="fa fa-desktop fa-fw"></i> Worker Information</h4> </div> <div class="panel-body no-padding"> <table class="table table-bordered table-hover table-striped"> <thead> <tr> <th>Worker</th> ...
<|file_sep|>public/templates/bootstrap/dashboard/worker_information/default.tpl.diff original: updated: {if !$DISABLED_DASHBOARD and !$DISABLED_DASHBOARD_API} <|file_sep|>public/templates/bootstrap/dashboard/worker_information/default.tpl.diff original: {if !$DISABLED_DASHBOARD and !$DISABLED_DASHBOARD_API} up...
5a746bb07df5c7680135ca5c2ed0021cd015f878
public/templates/bootstrap/dashboard/worker_information/default.tpl
public/templates/bootstrap/dashboard/worker_information/default.tpl
Smarty
<|file_sep|>original/app/assets/stylesheets/welcome.scss /*Place all the styles related to the welcome controller here. They will automatically be included in application.css. You can use Sass (SCSS) here: http://sass-lang.com/*/ $center-margin: 1em auto; .fill { min-height: 100%; } .fill .container { width: 60%...
/*Place all the styles related to the welcome controller here. They will automatically be included in application.css. You can use Sass (SCSS) here: http://sass-lang.com/*/ $center-margin: 1em auto; //.fill { // min-height: 100%; //} .fill .container { width: 60%; } #home { h1 { margin-top: 0em; font-s...
<|file_sep|>original/app/assets/stylesheets/welcome.scss /*Place all the styles related to the welcome controller here. They will automatically be included in application.css. You can use Sass (SCSS) here: http://sass-lang.com/*/ $center-margin: 1em auto; .fill { min-height: 100%; } .fill .container { width: 60%...
003ea0ea9ae5cf7bba2a840c6e99c0a9be16ab6f
app/assets/stylesheets/welcome.scss
app/assets/stylesheets/welcome.scss
SCSS
<|file_sep|>original/README.md # xls2csv [![Build Status](https://travis-ci.org/northbright/xls2csv.svg?branch=master)](https://travis-ci.org/northbright/xls2csv) xls2csv is a program to convert XLS file to CSV file. It's based on `xls2csv.c` of [libxls](http://libxls.sourceforge.net/) #### Features * Specifiy sheet...
# xls2csv [![Build Status](https://travis-ci.org/northbright/xls2csv.svg?branch=master)](https://travis-ci.org/northbright/xls2csv) xls2csv is a program which converts XLS files to CSV files. It's based on `xls2csv.c` of [libxls](http://libxls.sourceforge.net/). #### Features * Specifiy sheet by given sheet ID. * Ke...
<|file_sep|>original/README.md # xls2csv [![Build Status](https://travis-ci.org/northbright/xls2csv.svg?branch=master)](https://travis-ci.org/northbright/xls2csv) xls2csv is a program to convert XLS file to CSV file. It's based on `xls2csv.c` of [libxls](http://libxls.sourceforge.net/) #### Features * Specifiy sheet...
0ffd79f95ca1482fb328069c3e362e22eed403dc
README.md
README.md
Markdown
<|file_sep|>original/src/main/java/io/github/Cnly/GitHup/FileUtils.java <|file_sep|>current/src/main/java/io/github/Cnly/GitHup/FileUtils.java <|file_sep|>updated/src/main/java/io/github/Cnly/GitHup/FileUtils.java
package io.github.Cnly.GitHup; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; public class FileUtils { /** * Copies the file <code>source</code> to <code>dest</code...
<|file_sep|>original/src/main/java/io/github/Cnly/GitHup/FileUtils.java <|file_sep|>current/src/main/java/io/github/Cnly/GitHup/FileUtils.java <|file_sep|>updated/src/main/java/io/github/Cnly/GitHup/FileUtils.java package io.github.Cnly.GitHup; import java.io.BufferedInputStream; import java.io.BufferedOutputStream;...
5eecec965df3640d512ae8f309d19c8e9a326a94
src/main/java/io/github/Cnly/GitHup/FileUtils.java
src/main/java/io/github/Cnly/GitHup/FileUtils.java
Java
<|file_sep|>original/ng-gc-base-app-service/http-provider-config.js 'use strict'; angular.module('ngGcHttpProviderConfig', [ 'gc.ngHttpGetParamInterceptor' ]).config([ '$httpProvider', function($httpProvider) { var clientVersion = window.AppConfig && window.AppConfig.clientVersion; $httpProvider.defaul...
'use strict'; angular.module('ngGcHttpProviderConfig', [ 'gc.ngHttpGetParamInterceptor' ]).config([ '$httpProvider', function($httpProvider) { var clientVersion = window.AppConfig && window.AppConfig.clientVersion; $httpProvider.defaults.headers.common.Accept = 'application/json'; $httpProvider.def...
<|file_sep|>original/ng-gc-base-app-service/http-provider-config.js 'use strict'; angular.module('ngGcHttpProviderConfig', [ 'gc.ngHttpGetParamInterceptor' ]).config([ '$httpProvider', function($httpProvider) { var clientVersion = window.AppConfig && window.AppConfig.clientVersion; $httpProvider.defaul...
986b181e38c5458e591c5d31d7715e224ff8b8b6
ng-gc-base-app-service/http-provider-config.js
ng-gc-base-app-service/http-provider-config.js
JavaScript
<|file_sep|>original/.travis.yml <|file_sep|>current/.travis.yml <|file_sep|>updated/.travis.yml
language: python python: - 2.7 - 3.5 - 3.6 install: - sudo apt-get update # The following copied from conda documentation. # This is done conditionally because it saves some downloading # if the version is the same. - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then wget https://repo.continuum.i...
<|file_sep|>original/.travis.yml <|file_sep|>current/.travis.yml <|file_sep|>updated/.travis.yml language: python python: - 2.7 - 3.5 - 3.6 install: - sudo apt-get update # The following copied from conda documentation. # This is done conditionally because it saves some downloading # if the version is...
cf78fb0b4d50be4b8ce5f1de6cdd85aa7fe9b68d
.travis.yml
.travis.yml
YAML
<|file_sep|>original/__openerp__.py <|file_sep|>current/__openerp__.py <|file_sep|>updated/__openerp__.py
{ 'name': 'Genesis Product Multi-Image', 'description': 'This module adds multiple product images (22 currently) into a tab in product.template in a tab called Product Images', 'category': 'Website', 'version': '1.0', 'author': 'Luke Branch', 'depends': ['website', 'website_sale'], 'data': [...
<|file_sep|>original/__openerp__.py <|file_sep|>current/__openerp__.py <|file_sep|>updated/__openerp__.py { 'name': 'Genesis Product Multi-Image', 'description': 'This module adds multiple product images (22 currently) into a tab in product.template in a tab called Product Images', 'category': 'Website', ...
0ca43532ea20a2d202c721a371194827c8b74520
__openerp__.py
__openerp__.py
Python
<|file_sep|>original/Casks/font-geo-sans-light.rb <|file_sep|>current/Casks/font-geo-sans-light.rb <|file_sep|>updated/Casks/font-geo-sans-light.rb
class FontGeoSansLight < Cask url 'http://img.dafont.com/dl/?f=geo_sans_light' homepage 'http://www.dafont.com/geo-sans-light.font' version 'latest' sha1 'no_checksum' font 'GeosansLight-Oblique.ttf' font 'GeosansLight.ttf' end
<|file_sep|>original/Casks/font-geo-sans-light.rb <|file_sep|>current/Casks/font-geo-sans-light.rb <|file_sep|>updated/Casks/font-geo-sans-light.rb class FontGeoSansLight < Cask url 'http://img.dafont.com/dl/?f=geo_sans_light' homepage 'http://www.dafont.com/geo-sans-light.font' version 'latest' sha1 'no_chec...
c00a6a3112e432fa4fc4ff12e44ff1fa9ac5c7bf
Casks/font-geo-sans-light.rb
Casks/font-geo-sans-light.rb
Ruby
<|file_sep|>original/src/main/java/com/google/sps/servlets/ActionsServlet.java <|file_sep|>current/src/main/java/com/google/sps/servlets/ActionsServlet.java <|file_sep|>updated/src/main/java/com/google/sps/servlets/ActionsServlet.java
package com.google.sps.servlets; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.lang.Process; import java.io.IOException; import java.io.BufferedReader; import java.io.InputStrea...
<|file_sep|>original/src/main/java/com/google/sps/servlets/ActionsServlet.java <|file_sep|>current/src/main/java/com/google/sps/servlets/ActionsServlet.java <|file_sep|>updated/src/main/java/com/google/sps/servlets/ActionsServlet.java package com.google.sps.servlets; import javax.servlet.annotation.WebServlet; impor...
8e260f00343805b7d36a13265f140917cf2f2b63
src/main/java/com/google/sps/servlets/ActionsServlet.java
src/main/java/com/google/sps/servlets/ActionsServlet.java
Java
<|file_sep|>recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/zynqmp.cfg.diff original: updated: CONFIG_DMADEVICES=y <|file_sep|>original/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/zynqmp.cfg # DMA CONFIG_XILINX_DMA_ENGINES=y CONFIG_XILINX_DPDMA=y CONFIG_XILINX_Z...
# DMA CONFIG_DMADEVICES=y CONFIG_XILINX_DMA_ENGINES=y CONFIG_XILINX_DPDMA=y CONFIG_XILINX_ZYNQMP_DMA=y # NAND CONFIG_MTD_NAND_ARASAN=y # PCIe CONFIG_PCI=y CONFIG_PCI_MSI=y CONFIG_PCI_XILINX_NWL=y # CONFIG_ARM_MALI is not set
<|file_sep|>recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/zynqmp.cfg.diff original: updated: CONFIG_DMADEVICES=y <|file_sep|>original/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/zynqmp.cfg # DMA CONFIG_XILINX_DMA_ENGINES=y CONFIG_XILINX_DPDMA=y CONFIG_XILINX_Z...
3844d05d0d96f55076a1bad53784c3da4e81ce39
recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/zynqmp.cfg
recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/zynqmp.cfg
INI
<|file_sep|>web/locales/bn/messages.ftl.diff original: updated: return-to-cv = Common Voice এ ফেরত যান email-input = .label = ইমেইল submit-form-action = জমা দিন loading = লোড করা হচ্ছে… <|file_sep|>original/web/locales/bn/messages.ftl yes-receive-emails = হ্যাঁ, আমাকে ইমেইল করতে পারেন। আমি Common Voice প্রকল্প সম...
yes-receive-emails = হ্যাঁ, আমাকে ইমেইল করতে পারেন। আমি Common Voice প্রকল্প সম্পর্কে জানতে নিয়মিত ইমেইল আপডেট পেতে আগ্রহী। return-to-cv = Common Voice এ ফেরত যান email-input = .label = ইমেইল submit-form-action = জমা দিন loading = লোড করা হচ্ছে… ## Layout speak = বলুন datasets = ডাটাসেট languages = ভাষা profile ...
<|file_sep|>web/locales/bn/messages.ftl.diff original: updated: return-to-cv = Common Voice এ ফেরত যান email-input = .label = ইমেইল submit-form-action = জমা দিন loading = লোড করা হচ্ছে… <|file_sep|>original/web/locales/bn/messages.ftl yes-receive-emails = হ্যাঁ, আমাকে ইমেইল করতে পারেন। আমি Common Voice প্রকল্প সম...
0f3a1806b49c67d1a3a28b25457e0d68cddb404e
web/locales/bn/messages.ftl
web/locales/bn/messages.ftl
FreeMarker
<|file_sep|>original/README.md # geocoder-api The CartoDB Geocoder SQL API (server and client FTM) <|file_sep|>current/README.md # geocoder-api The CartoDB Geocoder SQL API (server and client FTM) <|file_sep|>updated/README.md
# geocoder-api The CartoDB Geocoder SQL API (server and client FTM) ### Deploy instructions Steps to deploy a new Geocoder API version : - Deploy new version of geocoder API to all servers - Update the server user using: ALTER EXTENSION cdb_geocoder_server UPDATE TO '<CURRENT_VERSION>'; - Update the python dependenci...
<|file_sep|>original/README.md # geocoder-api The CartoDB Geocoder SQL API (server and client FTM) <|file_sep|>current/README.md # geocoder-api The CartoDB Geocoder SQL API (server and client FTM) <|file_sep|>updated/README.md # geocoder-api The CartoDB Geocoder SQL API (server and client FTM) ### Deploy instructions ...
90ba8c88d126fa8753635c45374d7a472e909b00
README.md
README.md
Markdown
<|file_sep|>original/spec/unit/lib/angellist_api/client/users_spec.rb require 'spec_helper' describe AngellistApi::Client::Users do let(:client) { AngellistApi::Client.new } describe "#get_user" do it "gets 1/users/<id>" do id = "123" client.should_receive(:get).with("1/users/#{id}").and_return("s...
require 'spec_helper' describe AngellistApi::Client::Users do let(:client) { AngellistApi::Client.new } describe "#get_user" do it "gets 1/users/<id>" do id = "123" client.should_receive(:get).with("1/users/#{id}", {}).and_return("success") client.get_user(id).should == "success" end e...
<|file_sep|>original/spec/unit/lib/angellist_api/client/users_spec.rb require 'spec_helper' describe AngellistApi::Client::Users do let(:client) { AngellistApi::Client.new } describe "#get_user" do it "gets 1/users/<id>" do id = "123" client.should_receive(:get).with("1/users/#{id}").and_return("s...
70e07eef3bbd1b3e2f7366ab25a035462dde1f1c
spec/unit/lib/angellist_api/client/users_spec.rb
spec/unit/lib/angellist_api/client/users_spec.rb
Ruby
<|file_sep|>original/UnixPkg/Include/Guid/UnixSystemConfig.h #ifndef __UNIX_SYSTEM_CONFIGUE_H__ #define __UNIX_SYSTEM_CONFIGUE_H__ #define EFI_UXIX_SYSTEM_CONFIG_GUID \ {0x375ea976, 0x3ccd, 0x4e74, {0xa8, 0x45, 0x26, 0xb9, 0xb3, 0x24, 0xb1, 0x3c}} #pragma pack(1) typedef struct { // // Console output mode /...
#ifndef __UNIX_SYSTEM_CONFIGUE_H__ #define __UNIX_SYSTEM_CONFIGUE_H__ #define EFI_UXIX_SYSTEM_CONFIG_GUID \ {0x375ea976, 0x3ccd, 0x4e74, {0xa8, 0x45, 0x26, 0xb9, 0xb3, 0x24, 0xb1, 0x3c}} #pragma pack(1) typedef struct { // // Console output mode // UINT32 ConOutColumn; UINT32 ConOutRow; } ...
<|file_sep|>original/UnixPkg/Include/Guid/UnixSystemConfig.h #ifndef __UNIX_SYSTEM_CONFIGUE_H__ #define __UNIX_SYSTEM_CONFIGUE_H__ #define EFI_UXIX_SYSTEM_CONFIG_GUID \ {0x375ea976, 0x3ccd, 0x4e74, {0xa8, 0x45, 0x26, 0xb9, 0xb3, 0x24, 0xb1, 0x3c}} #pragma pack(1) typedef struct { // // Console output mode /...
d1b04ae45801d4c87302f40692ef8c191fb64197
UnixPkg/Include/Guid/UnixSystemConfig.h
UnixPkg/Include/Guid/UnixSystemConfig.h
C
<|file_sep|>original/set_attributes.gemspec # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = 'set_attributes' s.version = '0.2.1' s.summary = "Set an object's attributes from an object or hash with a similar attributes" s.description = ' ' s.authors = ['Obsidian Software, Inc'] s.email = 'o...
# -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = 'set_attributes' s.version = '0.2.2' s.summary = "Set an object's attributes from an object or hash with a similar attributes" s.description = ' ' s.authors = ['Obsidian Software, Inc'] s.email = 'opensource@obsidianexchange.com' s.homepage...
<|file_sep|>original/set_attributes.gemspec # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = 'set_attributes' s.version = '0.2.1' s.summary = "Set an object's attributes from an object or hash with a similar attributes" s.description = ' ' s.authors = ['Obsidian Software, Inc'] s.email = 'o...
33b1b75834f137885734a1ab17368ca3c548572d
set_attributes.gemspec
set_attributes.gemspec
Ruby
<|file_sep|>config/zone.yaml.diff original: radius: 250 updated: radius: 50 <|file_sep|>config/zone.yaml.diff original: radius: 250 updated: radius: 150 <|file_sep|>config/zone.yaml.diff original: radius: 250 updated: <|file_sep|>original/config/zone.yaml latitude: !secret latitude_loc_home longitude: !s...
latitude: !secret latitude_loc_home longitude: !secret longitude_loc_home radius: 50 icon: mdi:worker - name: Forest latitude: !secret latitude_loc_forest longitude: !secret longitude_loc_forest radius: 150 icon: mdi:school - name: Work latitude: !secret latitude_loc_work longitude: !secret longit...
<|file_sep|>config/zone.yaml.diff original: radius: 250 updated: radius: 50 <|file_sep|>config/zone.yaml.diff original: radius: 250 updated: radius: 150 <|file_sep|>config/zone.yaml.diff original: radius: 250 updated: <|file_sep|>original/config/zone.yaml latitude: !secret latitude_loc_home longitude: !s...
51d51282d4b97fefd410ed8c771cfb547b7ed3de
config/zone.yaml
config/zone.yaml
YAML
<|file_sep|>lib/hatokura/fairy_garden.rb.diff original: updated: Rarity = :basic <|file_sep|>lib/hatokura/fairy_garden.rb.diff original: updated: Rarity = :basic <|file_sep|>lib/hatokura/fairy_garden.rb.diff original: updated: Rarity = :basic <|file_sep|>lib/hatokura/fairy_garden.rb.diff original: ...
end class Congressman < Card Name = '議員' Cost = 5 Link = nil MainType = :authority Rarity = :basic AuthorityPoint = 3 end class Duke < Card Name = '公爵' Cost = 8 Link = nil MainType = :authority Rarity = :basic AuthorityPoint = 6 ...
<|file_sep|>lib/hatokura/fairy_garden.rb.diff original: updated: Rarity = :basic <|file_sep|>lib/hatokura/fairy_garden.rb.diff original: updated: Rarity = :basic <|file_sep|>lib/hatokura/fairy_garden.rb.diff original: updated: Rarity = :basic <|file_sep|>lib/hatokura/fairy_garden.rb.diff original: ...
d7d1371dda7cdad76dd865944392acbadba1f87d
lib/hatokura/fairy_garden.rb
lib/hatokura/fairy_garden.rb
Ruby
<|file_sep|>original/assets/style/common.styl //md-content[mongochem-frequency-histogram="mongochem-frequency-histogram"][mongochem-animating="false"] .bar rect:hover // fill: #3F51B5 .bar.selected rect fill: #3F51B5 .axis path, .axis line fill: none stroke: #000 shape-rendering: crispEdges #mongochem-selec...
//md-content[mongochem-frequency-histogram="mongochem-frequency-histogram"][mongochem-animating="false"] .bar rect:hover // fill: #3F51B5 .bar.selected rect fill: #3F51B5 .axis path, .axis line fill: none stroke: #000 shape-rendering: crispEdges #mongochem-select-mode, #mongochem-select-experimental, #mongo...
<|file_sep|>original/assets/style/common.styl //md-content[mongochem-frequency-histogram="mongochem-frequency-histogram"][mongochem-animating="false"] .bar rect:hover // fill: #3F51B5 .bar.selected rect fill: #3F51B5 .axis path, .axis line fill: none stroke: #000 shape-rendering: crispEdges #mongochem-selec...
34b1f2c0eddbcc049c0cfd2f3805059b5747d165
assets/style/common.styl
assets/style/common.styl
Stylus
<|file_sep|>README.md.diff original: updated: # Overview An interoperable HTTP2 server. ## Build from git 1. ./autogen.sh 1. ./configure CC=clang 1. ./make 1. ./src/conduit <|file_sep|>README.md.diff original: * libuv: v0.11.18 updated: * libuv * pthreads * openssl libssl/libcrypto (1.0.2 for ALPN) * zlib <|fil...
* better goaway handling, goaway on bad hpack indexes * better error handling for libuv calls * doxygen documentation * complete spec compliance #### Up next * output data frame padding config option * runtime configuration from config file * access/error log * switch from heap based priority queue to linked list? *...
<|file_sep|>README.md.diff original: updated: # Overview An interoperable HTTP2 server. ## Build from git 1. ./autogen.sh 1. ./configure CC=clang 1. ./make 1. ./src/conduit <|file_sep|>README.md.diff original: * libuv: v0.11.18 updated: * libuv * pthreads * openssl libssl/libcrypto (1.0.2 for ALPN) * zlib <|fil...
61d4b0071ae93f362359185a05ae8ce5f0418626
README.md
README.md
Markdown
<|file_sep|>original/app/controllers/sessions_controller.rb class SessionsController < ApplicationController before_filter :check_session, except: :destroy def create submitted_username = params[:session][:username] submitted_password = params[:session][:password] user = User.find_by(username: submitte...
class SessionsController < ApplicationController before_filter :check_session, except: :destroy def create user = User.from_omniauth(env["omniauth.auth"]) log_in(user) redirect_to '/play' end def destroy log_out redirect_to root_path end private def check_session redirect_to...
<|file_sep|>original/app/controllers/sessions_controller.rb class SessionsController < ApplicationController before_filter :check_session, except: :destroy def create submitted_username = params[:session][:username] submitted_password = params[:session][:password] user = User.find_by(username: submitte...
752242603e376f0aede999a5b89ee2e5a18eeeef
app/controllers/sessions_controller.rb
app/controllers/sessions_controller.rb
Ruby
<|file_sep|>original/clojure/httpkit/README.md Install it following the directions in that README. Building -------- To build the server: which java # ensure you have java installed which boot # ensure you have boot installed boot -u # keep boot up-to-date boot build # builds an uberjar to the bui...
Install it following the directions in that README. Building -------- To build the server: which java # ensure you have java installed which boot # ensure you have boot installed boot -u # keep boot up-to-date export BOOT_JVM_OPTIONS=-Dclojure.compiler.direct-linking=true # enable direct linking ...
<|file_sep|>original/clojure/httpkit/README.md Install it following the directions in that README. Building -------- To build the server: which java # ensure you have java installed which boot # ensure you have boot installed boot -u # keep boot up-to-date boot build # builds an uberjar to the bui...
5eea632a4d51c7d4f5efd590e16a2a5106a1852c
clojure/httpkit/README.md
clojure/httpkit/README.md
Markdown
<|file_sep|>original/spec/spec_helper.rb require 'inky' def reformat_html(html) html .gsub(/\s+/, ' ') # Compact all whitespace to a single space .gsub(/> *</, ">\n<") # Use returns between tags .gsub(%r{<(\w+)([^>]*)>\n</\1>}, '<\1\2/>') # Auto close empty...
require 'inky' def reformat_html(html) html .gsub(/\s+/, ' ') # Compact all whitespace to a single space .gsub(/> *</, ">\n<") # Use returns between tags .gsub(%r{<(\w+)([^>]*)>\n</\1>}, '<\1\2/>') # Auto close empty tags, e.g. <hr>\n</hr> => <hr/> .gsu...
<|file_sep|>original/spec/spec_helper.rb require 'inky' def reformat_html(html) html .gsub(/\s+/, ' ') # Compact all whitespace to a single space .gsub(/> *</, ">\n<") # Use returns between tags .gsub(%r{<(\w+)([^>]*)>\n</\1>}, '<\1\2/>') # Auto close empty...
d3a28f51de929c85052df41ec0cec86dca841f42
spec/spec_helper.rb
spec/spec_helper.rb
Ruby
<|file_sep|>original/.travis.yml language: java jdk: - oraclejdk8 services: - docker script: mvn clean install <|file_sep|>current/.travis.yml language: java jdk: - oraclejdk8 services: - docker script: mvn clean install <|file_sep|>updated/.travis.yml
language: java jdk: - oraclejdk8 node_js: - "6" services: - docker script: mvn clean install
<|file_sep|>original/.travis.yml language: java jdk: - oraclejdk8 services: - docker script: mvn clean install <|file_sep|>current/.travis.yml language: java jdk: - oraclejdk8 services: - docker script: mvn clean install <|file_sep|>updated/.travis.yml language: java jdk: - ...
451a370d9fe8e232888b0b623f60df01d502d1f6
.travis.yml
.travis.yml
YAML
<|file_sep|>consul/push.ps1.diff original: docker tag consul stefanscherer/consul-windows:$version-2016 docker push stefanscherer/consul-windows:$version-2016 updated: docker tag consul stefanscherer/consul-windows:$version-1607 docker push stefanscherer/consul-windows:$version-1607 <|file_sep|>consul/push.ps1.diff ori...
docker push stefanscherer/consul-windows:$version-1607 npm install -g rebase-docker-image rebase-docker-image ` stefanscherer/consul-windows:$version-1607 ` -t stefanscherer/consul-windows:$version-1709 ` -b microsoft/nanoserver:1709 ..\update-docker-cli.ps1 docker manifest create ` stefanscherer/consul-wind...
<|file_sep|>consul/push.ps1.diff original: docker tag consul stefanscherer/consul-windows:$version-2016 docker push stefanscherer/consul-windows:$version-2016 updated: docker tag consul stefanscherer/consul-windows:$version-1607 docker push stefanscherer/consul-windows:$version-1607 <|file_sep|>consul/push.ps1.diff ori...
8d45659468fd1091de09a9ac1d1d17b42d145be4
consul/push.ps1
consul/push.ps1
PowerShell
<|file_sep|>original/webkit/glue/simple_webmimeregistry_impl.h #ifndef WEBMIMEREGISTRY_IMPL_H_ #define WEBMIMEREGISTRY_IMPL_H_ #include "third_party/WebKit/WebKit/chromium/public/WebMimeRegistry.h" namespace webkit_glue { class SimpleWebMimeRegistryImpl : public WebKit::WebMimeRegistry { public: // WebMimeRegist...
#ifndef WEBMIMEREGISTRY_IMPL_H_ #define WEBMIMEREGISTRY_IMPL_H_ #include "third_party/WebKit/WebKit/chromium/public/WebMimeRegistry.h" namespace webkit_glue { class SimpleWebMimeRegistryImpl : public WebKit::WebMimeRegistry { public: SimpleWebMimeRegistryImpl() {} virtual ~SimpleWebMimeRegistryImpl() {} // ...
<|file_sep|>original/webkit/glue/simple_webmimeregistry_impl.h #ifndef WEBMIMEREGISTRY_IMPL_H_ #define WEBMIMEREGISTRY_IMPL_H_ #include "third_party/WebKit/WebKit/chromium/public/WebMimeRegistry.h" namespace webkit_glue { class SimpleWebMimeRegistryImpl : public WebKit::WebMimeRegistry { public: // WebMimeRegist...
7304ae70f7c369b6dbb47edd3517c4c0c11a0def
webkit/glue/simple_webmimeregistry_impl.h
webkit/glue/simple_webmimeregistry_impl.h
C
<|file_sep|>original/rsa-algorithm/src/IOOperations.java <|file_sep|>current/rsa-algorithm/src/IOOperations.java <|file_sep|>updated/rsa-algorithm/src/IOOperations.java
/** * Project RSA Algorithm. * Copyright Michał Szczygieł. * Created at Feb 25, 2014. */ /** * * This class is responsible for safe operations on files. This class contatin * the basic input/output operations. * * @author Michał Szczygieł <michal.szczygiel@wp.pl> * */ public class IOOperations { }
<|file_sep|>original/rsa-algorithm/src/IOOperations.java <|file_sep|>current/rsa-algorithm/src/IOOperations.java <|file_sep|>updated/rsa-algorithm/src/IOOperations.java /** * Project RSA Algorithm. * Copyright Michał Szczygieł. * Created at Feb 25, 2014. */ /** * * This class is responsible for safe operation...
00fcc70ddb5bf98158c2542a4dfc0abbbf25c1d8
rsa-algorithm/src/IOOperations.java
rsa-algorithm/src/IOOperations.java
Java
<|file_sep|>original/subprojects/shipkit/src/test/groovy/org/shipkit/internal/gradle/util/BranchUtilsTest.groovy <|file_sep|>current/subprojects/shipkit/src/test/groovy/org/shipkit/internal/gradle/util/BranchUtilsTest.groovy <|file_sep|>updated/subprojects/shipkit/src/test/groovy/org/shipkit/internal/gradle/util/Bran...
package org.shipkit.internal.gradle.util import spock.lang.Specification class BranchUtilsTest extends Specification { def "getHeadBranch ('#forkRepositoryName', '#headBranch')"() { expect: BranchUtils.getHeadBranch(forkRepositoryName, headBranch) == expected where: forkRepositor...
<|file_sep|>original/subprojects/shipkit/src/test/groovy/org/shipkit/internal/gradle/util/BranchUtilsTest.groovy <|file_sep|>current/subprojects/shipkit/src/test/groovy/org/shipkit/internal/gradle/util/BranchUtilsTest.groovy <|file_sep|>updated/subprojects/shipkit/src/test/groovy/org/shipkit/internal/gradle/util/Bran...
a86aa33ed43551000faf544c3f9e5ed5d48e4fd4
subprojects/shipkit/src/test/groovy/org/shipkit/internal/gradle/util/BranchUtilsTest.groovy
subprojects/shipkit/src/test/groovy/org/shipkit/internal/gradle/util/BranchUtilsTest.groovy
Groovy
<|file_sep|>original/gitcms/publications/urls.py from django.conf.urls.defaults import * import settings import views urlpatterns = patterns('', (r'^papers/(?P<paper>.+)$', views.papers), (r'^publications/?$', views.publications, { 'collection' : 'luispedro' }), (r'^publications/(?P<collection>.+)$', views...
from django.conf.urls.defaults import * import settings import views urlpatterns = patterns('', (r'^papers/(?P<paper>.+)$', views.papers), (r'^publications/?$', views.publications, { 'collection' : 'luispedro' }), (r'^publications/(?P<collection>.+)$', views.publications), (r'^publications/files/(?P<fi...
<|file_sep|>original/gitcms/publications/urls.py from django.conf.urls.defaults import * import settings import views urlpatterns = patterns('', (r'^papers/(?P<paper>.+)$', views.papers), (r'^publications/?$', views.publications, { 'collection' : 'luispedro' }), (r'^publications/(?P<collection>.+)$', views...
e3c840567fae974b2a1f169b05b86de97b60c8d0
gitcms/publications/urls.py
gitcms/publications/urls.py
Python
<|file_sep|>original/.github/workflows/nodejs.yml name: CI on: [push, pull_request] jobs: build: runs-on: ${{ matrix.os }} strategy: matrix: os: [macos-latest, ubuntu-latest, windows-latest] node-version: [8.x, 10.x, 12.x] steps: - uses: actions/checkout@v1 - name: Use N...
name: CI on: push: pull_request: schedule: - cron: '30 12 * * *' jobs: build: runs-on: ${{ matrix.os }} strategy: matrix: os: [macos-latest, ubuntu-latest, windows-latest] node-version: [8.x, 10.x, 12.x] steps: - uses: actions/checkout@v1 - name: Use Node.js ${...
<|file_sep|>original/.github/workflows/nodejs.yml name: CI on: [push, pull_request] jobs: build: runs-on: ${{ matrix.os }} strategy: matrix: os: [macos-latest, ubuntu-latest, windows-latest] node-version: [8.x, 10.x, 12.x] steps: - uses: actions/checkout@v1 - name: Use N...
5634b317d6e152e2708c0cc1ecd12467101a9edb
.github/workflows/nodejs.yml
.github/workflows/nodejs.yml
YAML
<|file_sep|>original/Resources/config/sax.xml <?xml version="1.0" ?> <container xmlns="http://symfony.com/schema/dic/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd"> <paramet...
<?xml version="1.0" ?> <container xmlns="http://symfony.com/schema/dic/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd"> <parameters> <parameter key="raisenow_sax.sax_...
<|file_sep|>original/Resources/config/sax.xml <?xml version="1.0" ?> <container xmlns="http://symfony.com/schema/dic/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd"> <paramet...
cba4cb98773de4a476811903c88d43b495a81d2f
Resources/config/sax.xml
Resources/config/sax.xml
XML
<|file_sep|>recycling-helper/app/views/cities/show.html.erb.diff original: <h4><%= @city.state %>, <%= @city.zip %></h4> <!-- <p> <strong>Name:</strong> <%= @city.name %> </p> <p> <strong>State:</strong> <%= @city.state %> </p> <p> <strong>Zip:</strong> <%= @city.zip %> </p> --> updated: <h4><%= @city.zip...
<p id="notice"><%= notice %></p> <h2>Welcome to <%= @city.name %>, <%= @city.state %> </h2> <h4><%= @city.zip %></h4> <% @city.bins.each do |bin| %> <div>The following items can be thrown in the <%= bin.name %> bin: </div> <p><% bin.categories.each do |category| %> <p><b><div><%= category.name %></div></b></p> ...
<|file_sep|>recycling-helper/app/views/cities/show.html.erb.diff original: <h4><%= @city.state %>, <%= @city.zip %></h4> <!-- <p> <strong>Name:</strong> <%= @city.name %> </p> <p> <strong>State:</strong> <%= @city.state %> </p> <p> <strong>Zip:</strong> <%= @city.zip %> </p> --> updated: <h4><%= @city.zip...
96dd4253c1fb3521aa77764cd41b3380d6be2b77
recycling-helper/app/views/cities/show.html.erb
recycling-helper/app/views/cities/show.html.erb
HTML+ERB
<|file_sep|>.travis.yml.diff original: updated: - openjdk-ea <|file_sep|>original/.travis.yml language: java jdk: - openjdk11 - openjdk8 - openjdk7 after_success: - mvn clean cobertura:cobertura coveralls:report <|file_sep|>current/.travis.yml language: java jdk: - openjdk-ea - openjdk11 - openjdk8 ...
language: java jdk: - openjdk-ea - openjdk11 - openjdk8 - openjdk7 matrix: allow_failures: - jdk: openjdk-ea after_success: - mvn clean cobertura:cobertura coveralls:report
<|file_sep|>.travis.yml.diff original: updated: - openjdk-ea <|file_sep|>original/.travis.yml language: java jdk: - openjdk11 - openjdk8 - openjdk7 after_success: - mvn clean cobertura:cobertura coveralls:report <|file_sep|>current/.travis.yml language: java jdk: - openjdk-ea - openjdk11 - openjdk8 ...
5c46b58e6b7b44342ed3fab0300063fb9fe6698e
.travis.yml
.travis.yml
YAML
<|file_sep|>original/package.json "benderjs", "code", "coverage", "istanbul" ], "author": "CKSource <npm@cksource.com> (http://cksource.com/)", "license": "MIT", "bugs": { "url": "https://github.com/benderjs/benderjs-coverage/issues" }, "homepage": "https://github.com/benderjs/benderjs-coverage", "depe...
"benderjs", "code", "coverage", "istanbul" ], "author": "CKSource <npm@cksource.com> (http://cksource.com/)", "license": "MIT", "bugs": { "url": "https://github.com/benderjs/benderjs-coverage/issues" }, "homepage": "https://github.com/benderjs/benderjs-coverage", "dependencies": { "istanbul": "git://...
<|file_sep|>original/package.json "benderjs", "code", "coverage", "istanbul" ], "author": "CKSource <npm@cksource.com> (http://cksource.com/)", "license": "MIT", "bugs": { "url": "https://github.com/benderjs/benderjs-coverage/issues" }, "homepage": "https://github.com/benderjs/benderjs-coverage", "depe...
7c71d8d5852be4fa8381df20744cc30134da87d1
package.json
package.json
JSON
<|file_sep|>original/.travis.yml language: ruby jdk: - oraclejdk8 sudo: false rvm: - 2.3.1 install: - rvm use 2.3.1 - gem install bundler - bundle install script: buildr clean package git: depth: 10 <|file_sep|>current/.travis.yml language: ruby jdk: - oraclejdk8 sudo: false rvm: - 2.3.1 install: - rv...
language: ruby jdk: - oraclejdk8 rvm: - 2.3.1 install: - rvm use 2.3.1 - gem install bundler - bundle install script: buildr clean package git: depth: 10
<|file_sep|>original/.travis.yml language: ruby jdk: - oraclejdk8 sudo: false rvm: - 2.3.1 install: - rvm use 2.3.1 - gem install bundler - bundle install script: buildr clean package git: depth: 10 <|file_sep|>current/.travis.yml language: ruby jdk: - oraclejdk8 sudo: false rvm: - 2.3.1 install: - rv...
74a2cc1e9a1179015ada7a389ccb7d6fc61e5b95
.travis.yml
.travis.yml
YAML
<|file_sep|>original/chrome/browser/resources/options/handler_options.html <div id="handler-options" class="page hidden"> <h1 i18n-content="handlersPage"></h1> <div id="handlers-column-headers"> <div class="handlers-type-column"> <h3 i18n-content="handlers_type_column_header"></h3> </div> <div cla...
<div id="handler-options" class="page" hidden> <h1 i18n-content="handlersPage"></h1> <div id="handlers-column-headers"> <div class="handlers-type-column"> <h3 i18n-content="handlers_type_column_header"></h3> </div> <div class="handlers-site-column"> <h3 i18n-content="handlers_site_column_hea...
<|file_sep|>original/chrome/browser/resources/options/handler_options.html <div id="handler-options" class="page hidden"> <h1 i18n-content="handlersPage"></h1> <div id="handlers-column-headers"> <div class="handlers-type-column"> <h3 i18n-content="handlers_type_column_header"></h3> </div> <div cla...
29a6897f96acbc960cc0d4fd07657caa7969a5e5
chrome/browser/resources/options/handler_options.html
chrome/browser/resources/options/handler_options.html
HTML
<|file_sep|>azure-pipelines.yml.diff original: sourceFolder: '$(Build.SourcesDirectory)' contents: 'build_tmp/*.zip' updated: sourceFolder: '$(Build.SourcesDirectory)/build_tmp' contents: '*.zip' <|file_sep|>original/azure-pipelines.yml - packaging_pipeline jobs: - job: commands_zip ...
- packaging_pipeline jobs: - job: commands_zip displayName: "Build commands.zip" pool: vmImage: 'Ubuntu-16.04' steps: - script: yarn install displayName: 'Yarn install' - script: yarn run package-commands-zip displayName: 'Run yarn package-commands-zip' - task: CopyFiles@2 ...
<|file_sep|>azure-pipelines.yml.diff original: sourceFolder: '$(Build.SourcesDirectory)' contents: 'build_tmp/*.zip' updated: sourceFolder: '$(Build.SourcesDirectory)/build_tmp' contents: '*.zip' <|file_sep|>original/azure-pipelines.yml - packaging_pipeline jobs: - job: commands_zip ...
6f33d6d509649c31a7612d2f3fed3ba6b0ace9e4
azure-pipelines.yml
azure-pipelines.yml
YAML
<|file_sep|>original/index.js } }; function getOptions(options) { options = options || {}; // Ensure modules aren't compiled unless explicitly set to compile options.blacklist = options.blacklist || ['modules']; if (options.compileModules === true) { if (options.blacklist.indexOf('modules') >= 0) { options...
function getOptions(options) { options = options || {}; // Ensure modules aren't compiled unless explicitly set to compile options.blacklist = options.blacklist || ['modules']; if (options.compileModules === true) { if (options.blacklist.indexOf('modules') >= 0) { options.blacklist.splice(options.indexOf('mo...
<|file_sep|>original/index.js } }; function getOptions(options) { options = options || {}; // Ensure modules aren't compiled unless explicitly set to compile options.blacklist = options.blacklist || ['modules']; if (options.compileModules === true) { if (options.blacklist.indexOf('modules') >= 0) { options...
e20b7d7d070a47486b2636f423b66f16ae0e4d2f
index.js
index.js
JavaScript
<|file_sep|>original/source/excerptexport/tests/test_downloads.py <|file_sep|>current/source/excerptexport/tests/test_downloads.py <|file_sep|>updated/source/excerptexport/tests/test_downloads.py
import os from django.test import TestCase from django.core.urlresolvers import reverse from django.core.files import File from django.contrib.auth.models import User from excerptexport.models import OutputFile, Excerpt, ExtractionOrder from excerptexport import settings class DownloadsTestCase(TestCase): def...
<|file_sep|>original/source/excerptexport/tests/test_downloads.py <|file_sep|>current/source/excerptexport/tests/test_downloads.py <|file_sep|>updated/source/excerptexport/tests/test_downloads.py import os from django.test import TestCase from django.core.urlresolvers import reverse from django.core.files import Fi...
c888400860baa3a26260fa81ecc8b415aeb6885d
source/excerptexport/tests/test_downloads.py
source/excerptexport/tests/test_downloads.py
Python
<|file_sep|>original/lib/Transforms/Scalar/CMakeLists.txt add_llvm_library(LLVMScalarOpts ADCE.cpp BasicBlockPlacement.cpp CodeGenLICM.cpp CodeGenPrepare.cpp CondPropagate.cpp ConstantProp.cpp DCE.cpp DeadStoreElimination.cpp GVN.cpp GVNPRE.cpp IndVarSimplify.cpp InstructionCombining.cpp JumpT...
add_llvm_library(LLVMScalarOpts ADCE.cpp BasicBlockPlacement.cpp CodeGenLICM.cpp CodeGenPrepare.cpp CondPropagate.cpp ConstantProp.cpp DCE.cpp DeadStoreElimination.cpp GVN.cpp IndVarSimplify.cpp InstructionCombining.cpp JumpThreading.cpp LICM.cpp LoopDeletion.cpp LoopIndexSplit.cpp LoopR...
<|file_sep|>original/lib/Transforms/Scalar/CMakeLists.txt add_llvm_library(LLVMScalarOpts ADCE.cpp BasicBlockPlacement.cpp CodeGenLICM.cpp CodeGenPrepare.cpp CondPropagate.cpp ConstantProp.cpp DCE.cpp DeadStoreElimination.cpp GVN.cpp GVNPRE.cpp IndVarSimplify.cpp InstructionCombining.cpp JumpT...
8f3ec31133494d104f46b09d52377e6c4739749d
lib/Transforms/Scalar/CMakeLists.txt
lib/Transforms/Scalar/CMakeLists.txt
Text
<|file_sep|>original/package.json "version": "0.0.1", "repository": { "type": "git", "url": "https://github.com/codenvy/odyssey.git" }, "dependencies": { "jquery": "1.8.0", "jquery.placeholder": "2.0.7", "jquery.validate": "1.10.0", "json2": "*", "handlebars": "1.0.rc.1", "modern...
"repository": { "type": "git", "url": "https://github.com/codenvy/odyssey.git" }, "dependencies": { "jquery": "1.8.0", "jquery.placeholder": "2.0.7", "jquery.validate": "1.10.0", "json2": "*", "handlebars": "1.0.rc.1", "modernizr": "2.6.2", "require": "2.0.5", "require text...
<|file_sep|>original/package.json "version": "0.0.1", "repository": { "type": "git", "url": "https://github.com/codenvy/odyssey.git" }, "dependencies": { "jquery": "1.8.0", "jquery.placeholder": "2.0.7", "jquery.validate": "1.10.0", "json2": "*", "handlebars": "1.0.rc.1", "modern...
dbdff7c424e67319b9d8b16698bd5fd6746d61e4
package.json
package.json
JSON
<|file_sep|>original/manifest.json { "manifest_version": 2, "name": "MyCourses File Saver", "description": "Add buttons to save documents on MyCourses to Google Drive and Dropbox", "version": "0.0", "permissions": [ "https://mycourses.rit.edu/", "http://mycourses.rit.edu/", "cookies" ], "c...
{ "manifest_version": 2, "name": "MyCourses File Saver", "description": "Add buttons to save documents on MyCourses to Google Drive and Dropbox", "version": "1.0", "permissions": [ "https://mycourses.rit.edu/", "http://mycourses.rit.edu/", "cookies" ], "content_scripts": [{ "matches": ...
<|file_sep|>original/manifest.json { "manifest_version": 2, "name": "MyCourses File Saver", "description": "Add buttons to save documents on MyCourses to Google Drive and Dropbox", "version": "0.0", "permissions": [ "https://mycourses.rit.edu/", "http://mycourses.rit.edu/", "cookies" ], "c...
4aebe082cd77e4784f5c9958d43a48d6771fc8c2
manifest.json
manifest.json
JSON
<|file_sep|>views/form.erb.diff original: <div class="formfgrup"> updated: <div class="formgrup"> <|file_sep|>original/views/form.erb <form action="/form" method="post"> <div class="formgrup"> <label>Nombre</label> <input type="text" name="nombre" id="nombre" value=""> </div> <div class="formfgrup"> ...
<form action="/form" method="post"> <div class="formgrup"> <label>Nombre</label> <input type="text" name="nombre" id="nombre" value=""> </div> <div class="formgrup"> <label>Apellido</label> <input type="text" name="apellido" id="apellido" value=""> </div> <div class="formgrup"> <label>Te...
<|file_sep|>views/form.erb.diff original: <div class="formfgrup"> updated: <div class="formgrup"> <|file_sep|>original/views/form.erb <form action="/form" method="post"> <div class="formgrup"> <label>Nombre</label> <input type="text" name="nombre" id="nombre" value=""> </div> <div class="formfgrup"> ...
8dfc39c931fefc5dbb3a89714d9e2d9a478528c5
views/form.erb
views/form.erb
HTML+ERB
<|file_sep|>original/source/manual/upgrade-rails.html.md <|file_sep|>current/source/manual/upgrade-rails.html.md <|file_sep|>updated/source/manual/upgrade-rails.html.md
--- owner_slack: '#2ndline' last_reviewed_at: 2017-04-28 review_in: 6 months title: Upgrading Rails section: Packaging layout: manual_layout parent: "/manual.html" --- When upgrading our apps between Rails major and minor versions, follow the [official Rails guides][guide] ## Gotchas for upgrading to Rails 5.0 ### E...
<|file_sep|>original/source/manual/upgrade-rails.html.md <|file_sep|>current/source/manual/upgrade-rails.html.md <|file_sep|>updated/source/manual/upgrade-rails.html.md --- owner_slack: '#2ndline' last_reviewed_at: 2017-04-28 review_in: 6 months title: Upgrading Rails section: Packaging layout: manual_layout parent: ...
cbbeb5a0319b98749715d120f1491cca26dd375a
source/manual/upgrade-rails.html.md
source/manual/upgrade-rails.html.md
Markdown
<|file_sep|>original/scripts/config_external_network.sh # Work around neutron client failing with unsupported locale settings if [[ "$(neutron --help)" == "unsupported locale setting" ]]; then echo "Locale not supported on node, setting LC_ALL=C." export LC_ALL=C fi echo "Waiting for neutron to start." until n...
# Work around neutron client failing with unsupported locale settings if [[ "$(neutron --help)" == "unsupported locale setting" ]]; then echo "Locale not supported on node, setting LC_ALL=C." export LC_ALL=C fi echo "Waiting for neutron to start." until neutron net-list >/dev/null 2>&1; do sleep 1 done ec...
<|file_sep|>original/scripts/config_external_network.sh # Work around neutron client failing with unsupported locale settings if [[ "$(neutron --help)" == "unsupported locale setting" ]]; then echo "Locale not supported on node, setting LC_ALL=C." export LC_ALL=C fi echo "Waiting for neutron to start." until n...
85bda113703783edfafc827614fc721577bdee5f
scripts/config_external_network.sh
scripts/config_external_network.sh
Shell
<|file_sep|>original/.travis.yml language: python install: - python setup.py install - pip install coverage coveralls --use-mirrors script: - coverage run --source=flask_misaka setup.py test after_success: - coveralls <|file_sep|>current/.travis.yml language: python install: - python setup.py install - pip ...
language: python python: - "2.7" - "3.3" install: - python setup.py install - pip install coverage coveralls --use-mirrors script: - coverage run --source=flask_misaka setup.py test after_success: - coveralls
<|file_sep|>original/.travis.yml language: python install: - python setup.py install - pip install coverage coveralls --use-mirrors script: - coverage run --source=flask_misaka setup.py test after_success: - coveralls <|file_sep|>current/.travis.yml language: python install: - python setup.py install - pip ...
d598183aa7b9f832f367b11ace9be8754ae54ac4
.travis.yml
.travis.yml
YAML
<|file_sep|>src/main/python/alppaca/server_mock/__init__.py.diff original: updated: """ Super simple IMS mock. Just listens on localhost:8080 for the appropriate url, returns a test role and a dummy JSON response. """ <|file_sep|>original/src/main/python/alppaca/server_mock/__init__.py import pytz """ Super simple ...
from __future__ import print_function, absolute_import, unicode_literals, division from datetime import datetime, timedelta from textwrap import dedent from bottle import Bottle import pytz def expiration_10s_from_now(): n = datetime.now(tz=pytz.utc) + timedelta(seconds=10) return n.strftime("%Y-%m-%dT%H:%...
<|file_sep|>src/main/python/alppaca/server_mock/__init__.py.diff original: updated: """ Super simple IMS mock. Just listens on localhost:8080 for the appropriate url, returns a test role and a dummy JSON response. """ <|file_sep|>original/src/main/python/alppaca/server_mock/__init__.py import pytz """ Super simple ...
618bf6d4c1fc5e60b7e94d1ad1030bf2cf0de5c2
src/main/python/alppaca/server_mock/__init__.py
src/main/python/alppaca/server_mock/__init__.py
Python
<|file_sep|>cmake/modules/FindKAccounts.cmake.diff original: if (KACCOUNTS_INCLUDE_DIRS AND KACCOUNTS_LIBRARIES) updated: if (KACCOUNTS_INCLUDE_DIR AND KACCOUNTS_LIBRARY) <|file_sep|>cmake/modules/FindKAccounts.cmake.diff original: endif (KACCOUNTS_INCLUDE_DIRS AND KACCOUNTS_LIBRARIES) updated: endif (KACCOUNTS_INCLUDE...
if (KACCOUNTS_INCLUDE_DIR AND KACCOUNTS_LIBRARY) # Already in cache, be silent set(KACCOUNTS_FIND_QUIETLY TRUE) endif (KACCOUNTS_INCLUDE_DIR AND KACCOUNTS_LIBRARY) find_path(KACCOUNTS_INCLUDE_DIR NAMES KAccounts/kaccountsuiplugin.h PATHS ${CMAKE_INSTALL_FULL_INCLUDEDIR} ) find_library(KACCOUNTS_LIBRARY NAMES ...
<|file_sep|>cmake/modules/FindKAccounts.cmake.diff original: if (KACCOUNTS_INCLUDE_DIRS AND KACCOUNTS_LIBRARIES) updated: if (KACCOUNTS_INCLUDE_DIR AND KACCOUNTS_LIBRARY) <|file_sep|>cmake/modules/FindKAccounts.cmake.diff original: endif (KACCOUNTS_INCLUDE_DIRS AND KACCOUNTS_LIBRARIES) updated: endif (KACCOUNTS_INCLUDE...
db3876a4c7ccbe30acc04b8ae9e29f0bc7b940d3
cmake/modules/FindKAccounts.cmake
cmake/modules/FindKAccounts.cmake
CMake
<|file_sep|>original/content/app/defaultPrefs.js // Cache "cache.mimeTypes": "", "cache.responseLimit": 5242880, // Remoting "serverHost": "legoas", "serverPort": 2929, // Server "serverMode": false, "postDataTimeout": 300, } // ***************************************************************...
// Cache "cache.mimeTypes": "", "cache.responseLimit": 5242880, // Remoting "serverHost": "legoas", "serverPort": 2929, // Server "serverMode": false, "postDataTimeout": 600, } // ********************************************************************************************* // // Registration...
<|file_sep|>original/content/app/defaultPrefs.js // Cache "cache.mimeTypes": "", "cache.responseLimit": 5242880, // Remoting "serverHost": "legoas", "serverPort": 2929, // Server "serverMode": false, "postDataTimeout": 300, } // ***************************************************************...
69f4cf57f5ad74a7bcaa17259f96ead4dc8335cc
content/app/defaultPrefs.js
content/app/defaultPrefs.js
JavaScript
<|file_sep|>NavigationReactNative/src/android/src/main/java/com/navigation/reactnative/BottomSheetView.java.diff original: params.setBehavior(new BottomSheetBehavior()); updated: BottomSheetBehavior bottomSheetBehavior = new BottomSheetBehavior(); bottomSheetBehavior.setPeekHeight((int) PixelUti...
import android.view.ViewGroup; import androidx.coordinatorlayout.widget.CoordinatorLayout; import com.facebook.react.uimanager.PixelUtil; import com.google.android.material.bottomsheet.BottomSheetBehavior; public class BottomSheetView extends ViewGroup { public BottomSheetView(Context context) { super(co...
<|file_sep|>NavigationReactNative/src/android/src/main/java/com/navigation/reactnative/BottomSheetView.java.diff original: params.setBehavior(new BottomSheetBehavior()); updated: BottomSheetBehavior bottomSheetBehavior = new BottomSheetBehavior(); bottomSheetBehavior.setPeekHeight((int) PixelUti...
39a8878b9eb2785829e5ddb3c6201622561ef4c5
NavigationReactNative/src/android/src/main/java/com/navigation/reactnative/BottomSheetView.java
NavigationReactNative/src/android/src/main/java/com/navigation/reactnative/BottomSheetView.java
Java
<|file_sep|>original/README.md # PowerShell language support in Atom [![Build Status](https://travis-ci.org/jugglingnutcase/language-powershell.svg?branch=master)](https://travis-ci.org/jugglingnutcase/language-powershell) This package provides [PowerShell](https://msdn.microsoft.com/en-us/mt173057.aspx) language supp...
# PowerShell language support in Atom [![Build Status](https://travis-ci.org/jrsconfitto/language-powershell.svg?branch=master)](https://travis-ci.org/jrsconfitto/language-powershell) This package provides [PowerShell](https://msdn.microsoft.com/en-us/mt173057.aspx) language support in the [Atom editor](https://atom.i...
<|file_sep|>original/README.md # PowerShell language support in Atom [![Build Status](https://travis-ci.org/jugglingnutcase/language-powershell.svg?branch=master)](https://travis-ci.org/jugglingnutcase/language-powershell) This package provides [PowerShell](https://msdn.microsoft.com/en-us/mt173057.aspx) language supp...
6a561fc0945163b1a7dc4bd647e290443244758a
README.md
README.md
Markdown
<|file_sep|>lib/changed-file.js.diff original: getOldFileName () { updated: getOldName () { <|file_sep|>original/lib/changed-file.js export default class ChangedFile { constructor (oldName, newName, status, hunks) { this.newName = newName this.oldName = oldName this.status = status this.hunks = h...
export default class ChangedFile { constructor (oldName, newName, status, hunks) { this.newName = newName this.oldName = oldName this.status = status this.hunks = hunks } getOldName () { return this.oldName } getNewName () { return this.newName } getStatus () { return this....
<|file_sep|>lib/changed-file.js.diff original: getOldFileName () { updated: getOldName () { <|file_sep|>original/lib/changed-file.js export default class ChangedFile { constructor (oldName, newName, status, hunks) { this.newName = newName this.oldName = oldName this.status = status this.hunks = h...
8c51016c95b155eb5a28ea5d2ea6ab6e00342c80
lib/changed-file.js
lib/changed-file.js
JavaScript
<|file_sep|>src/nodes/Vcgen_empty_space.php.diff original: class Vcgen_dt_empyty_space extends Vcgen_node{ updated: class Vcgen_dt_empty_space extends Vcgen_node{ <|file_sep|>original/src/nodes/Vcgen_empty_space.php /** * Vcgen constructor. */ public function __construct($val){ parent::__cons...
namespace vcgen\nodes; class Vcgen_dt_empty_space extends Vcgen_node{ /** * Vcgen constructor. */ public function __construct($val){ parent::__construct(); $attributes = [ 'height' => $val ]; $this->createElement('dt_blog_scroller', $attributes, self::N...
<|file_sep|>src/nodes/Vcgen_empty_space.php.diff original: class Vcgen_dt_empyty_space extends Vcgen_node{ updated: class Vcgen_dt_empty_space extends Vcgen_node{ <|file_sep|>original/src/nodes/Vcgen_empty_space.php /** * Vcgen constructor. */ public function __construct($val){ parent::__cons...
8c040990635e12fbf9268c628a8d991c2ec25532
src/nodes/Vcgen_empty_space.php
src/nodes/Vcgen_empty_space.php
PHP