prompt
stringlengths
77
6.9k
completion
stringlengths
1
3.38k
text
stringlengths
163
9.03k
commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
lang
stringclasses
277 values
<|file_sep|>original/vendor-bin/phpstan/composer.json { "require-dev": { "phpstan/phpstan": "0.12.38", "phpstan/phpstan-phpunit": "0.12.16", "phpstan/phpstan-doctrine": "0.12.19", "phpstan/phpstan-symfony": "0.12.7", "thecodingmachine/phpstan-safe-rule": "1.0.0", "rec...
{ "require-dev": { "phpstan/phpstan": "0.12.38", "phpstan/phpstan-phpunit": "0.12.16", "phpstan/phpstan-doctrine": "0.12.19", "phpstan/phpstan-symfony": "0.12.7", "thecodingmachine/phpstan-safe-rule": "1.0.0", "rector/rector": "0.7.65" } }
<|file_sep|>original/vendor-bin/phpstan/composer.json { "require-dev": { "phpstan/phpstan": "0.12.38", "phpstan/phpstan-phpunit": "0.12.16", "phpstan/phpstan-doctrine": "0.12.19", "phpstan/phpstan-symfony": "0.12.7", "thecodingmachine/phpstan-safe-rule": "1.0.0", "rec...
bdb590f5de4ff8ab250e8a771f4daf84ce3e4b83
vendor-bin/phpstan/composer.json
vendor-bin/phpstan/composer.json
JSON
<|file_sep|>original/flask_admin/contrib/geoa/form.py from flask.ext.admin.model.form import converts from flask.ext.admin.contrib.sqla.form import AdminModelConverter as SQLAAdminConverter from .fields import GeoJSONField class AdminModelConverter(SQLAAdminConverter): @converts('Geometry') def convert_geom(s...
from flask.ext.admin.model.form import converts from flask.ext.admin.contrib.sqla.form import AdminModelConverter as SQLAAdminConverter from .fields import GeoJSONField class AdminModelConverter(SQLAAdminConverter): @converts('Geography', 'Geometry') def convert_geom(self, column, field_args, **extra): ...
<|file_sep|>original/flask_admin/contrib/geoa/form.py from flask.ext.admin.model.form import converts from flask.ext.admin.contrib.sqla.form import AdminModelConverter as SQLAAdminConverter from .fields import GeoJSONField class AdminModelConverter(SQLAAdminConverter): @converts('Geometry') def convert_geom(s...
45fb01574d410c2a764e5b40a5e93a44fa8f6584
flask_admin/contrib/geoa/form.py
flask_admin/contrib/geoa/form.py
Python
<|file_sep|>original/configuration.js var nconf = require('nconf'); var scheConf = new nconf.Provider(); var mainConf = new nconf.Provider(); var optConf = new nconf.Provider(); var name2Conf = {"sche" : scheConf, "main": mainConf, "opt": optConf}; scheConf.file({file: './app/schedules.json'}); mainConf.file({file: '...
var nconf = require('nconf'); var scheConf = new nconf.Provider(); var mainConf = new nconf.Provider(); var optConf = new nconf.Provider(); var name2Conf = {"sche" : scheConf, "main": mainConf, "opt": optConf}; scheConf.file({file: __dirname + '/app/schedules.json'}); mainConf.file({file: __dirname + '/app/schools.j...
<|file_sep|>original/configuration.js var nconf = require('nconf'); var scheConf = new nconf.Provider(); var mainConf = new nconf.Provider(); var optConf = new nconf.Provider(); var name2Conf = {"sche" : scheConf, "main": mainConf, "opt": optConf}; scheConf.file({file: './app/schedules.json'}); mainConf.file({file: '...
c56eb8e8c3ea46bd777cf2cd7675c5eb675df161
configuration.js
configuration.js
JavaScript
<|file_sep|>original/util/ansible/roles/azuracast-fixtures/tasks/main.yml when: fixture_zip_files.matched > 0 - name: Find fixture SQL files find: paths: "{{ util_base }}/fixtures" patterns: "*.sql" recurse: yes register: fixture_sql_files - name: Import fixture SQL files become: true become_use...
- name: Find fixture SQL files find: paths: "{{ util_base }}/fixtures" patterns: "*.sql" recurse: yes register: fixture_sql_files - name: Import fixture SQL files become: true become_user: azuracast shell: "php {{ util_base }}/cli.php dbal:import {{ item.path }}" with_items: "{{ fixture_sql_fil...
<|file_sep|>original/util/ansible/roles/azuracast-fixtures/tasks/main.yml when: fixture_zip_files.matched > 0 - name: Find fixture SQL files find: paths: "{{ util_base }}/fixtures" patterns: "*.sql" recurse: yes register: fixture_sql_files - name: Import fixture SQL files become: true become_use...
cb3d490b395df11d40cab7d00d40842e3be093df
util/ansible/roles/azuracast-fixtures/tasks/main.yml
util/ansible/roles/azuracast-fixtures/tasks/main.yml
YAML
<|file_sep|>commands/appsngen-cli-widget-create.js.diff original: updated: var readline = require('readline'); <|file_sep|>commands/appsngen-cli-widget-create.js.diff original: updated: var fs = require('fs'); var rl = readline.createInterface({ input: process.stdin, output: process.stdout }); <|file_sep|>com...
} catch (e) { if (e.code !== 'ENOENT') { throw e; } } if (folderStat && folderStat.isDirectory()) { console.log('Folder with that name already exist.'); return; } fs.mkdirSync('./' + folder); for (dependency in cliConfig.dependencies) { try { ...
<|file_sep|>commands/appsngen-cli-widget-create.js.diff original: updated: var readline = require('readline'); <|file_sep|>commands/appsngen-cli-widget-create.js.diff original: updated: var fs = require('fs'); var rl = readline.createInterface({ input: process.stdin, output: process.stdout }); <|file_sep|>com...
fb3ab74aaeea417669b0f1d8fd0fb67b54552db8
commands/appsngen-cli-widget-create.js
commands/appsngen-cli-widget-create.js
JavaScript
<|file_sep|>original/app/elements/my-greeting/my-greeting.html display: block; } span, input { @apply(--paper-font-body2); } </style> <h2 class="page-title">{{greeting}}</h2> <span>Update text to change the greeting.</span> <!-- Listens for "input" event and set...
display: block; } span, input { @apply(--paper-font-body2); } </style> <h1>Infinitus 2016 live website</h1> <p> This site will provide live updates to Infinitus 2016 as it happens... photos, tweets, results. It's all here. Check back often for the latest upda...
<|file_sep|>original/app/elements/my-greeting/my-greeting.html display: block; } span, input { @apply(--paper-font-body2); } </style> <h2 class="page-title">{{greeting}}</h2> <span>Update text to change the greeting.</span> <!-- Listens for "input" event and set...
40c2104e06b33b234ab201b29cbe889102c9fd18
app/elements/my-greeting/my-greeting.html
app/elements/my-greeting/my-greeting.html
HTML
<|file_sep|>original/.github/workflows/build.yml steps: - name: Set Git Tag name id: date run: | echo "{tag_name}=v{$(date +'%Y-%m-%d')}" >> $GITHUB_ENV - name: checkout repo content uses: actions/checkout@v3 # checkout the repository content to github runner - ...
steps: - name: Set Git Tag name id: date run: | echo "{tag_name}=v{$(date +'%Y-%m-%d')}" >> $GITHUB_ENV - name: checkout repo content uses: actions/checkout@v3 # checkout the repository content to github runner - name: import contributions env: ...
<|file_sep|>original/.github/workflows/build.yml steps: - name: Set Git Tag name id: date run: | echo "{tag_name}=v{$(date +'%Y-%m-%d')}" >> $GITHUB_ENV - name: checkout repo content uses: actions/checkout@v3 # checkout the repository content to github runner - ...
07c3664fd18ce7f5be76ba3c8a508a7b2689ae52
.github/workflows/build.yml
.github/workflows/build.yml
YAML
<|file_sep|>original/genomics/sparkcaller/src/main/java/com/github/sparkcaller/FileMover.java <|file_sep|>current/genomics/sparkcaller/src/main/java/com/github/sparkcaller/FileMover.java <|file_sep|>updated/genomics/sparkcaller/src/main/java/com/github/sparkcaller/FileMover.java
package com.github.sparkcaller; import org.apache.spark.api.java.function.Function; import java.io.File; public class FileMover implements Function<File, File> { String targetPath; public FileMover(String targetPath) { this.targetPath = targetPath; } @Override public File call(File file)...
<|file_sep|>original/genomics/sparkcaller/src/main/java/com/github/sparkcaller/FileMover.java <|file_sep|>current/genomics/sparkcaller/src/main/java/com/github/sparkcaller/FileMover.java <|file_sep|>updated/genomics/sparkcaller/src/main/java/com/github/sparkcaller/FileMover.java package com.github.sparkcaller; impor...
4330593294ada38b1353b2b854c72f5af117d779
genomics/sparkcaller/src/main/java/com/github/sparkcaller/FileMover.java
genomics/sparkcaller/src/main/java/com/github/sparkcaller/FileMover.java
Java
<|file_sep|>original/main/windows/about.js backgroundColor: '#ECECEC', center: true, fullscreen: false, height: 170, icon: getIconPath(), maximizable: false, minimizable: false, resizable: false, show: false, skipTaskbar: true, useContentSize: true, width: 300 }) win...
backgroundColor: '#ECECEC', center: true, fullscreen: false, height: 170, icon: getIconPath(), maximizable: false, minimizable: false, resizable: false, show: false, skipTaskbar: true, title: 'About ' + config.APP_WINDOW_TITLE, useContentSize: true, width: 300 }) ...
<|file_sep|>original/main/windows/about.js backgroundColor: '#ECECEC', center: true, fullscreen: false, height: 170, icon: getIconPath(), maximizable: false, minimizable: false, resizable: false, show: false, skipTaskbar: true, useContentSize: true, width: 300 }) win...
c6cd21b8ffa217f47be24a1518b24085bd9c2cd6
main/windows/about.js
main/windows/about.js
JavaScript
<|file_sep|>original/config/application.rb require_relative 'boot' require 'rails/all' # Require the gems listed in Gemfile, including any gems # you've limited to :test, :development, or :production. Bundler.require(*Rails.groups) module Pennfoodtrucks class Application < Rails::Application # Settings in conf...
require_relative 'boot' require 'rails/all' # Require the gems listed in Gemfile, including any gems # you've limited to :test, :development, or :production. Bundler.require(*Rails.groups) module Pennfoodtrucks class Application < Rails::Application # Settings in config/environments/* take precedence over thos...
<|file_sep|>original/config/application.rb require_relative 'boot' require 'rails/all' # Require the gems listed in Gemfile, including any gems # you've limited to :test, :development, or :production. Bundler.require(*Rails.groups) module Pennfoodtrucks class Application < Rails::Application # Settings in conf...
1ba93bf4121a5c98079e380da804cb0b228b2073
config/application.rb
config/application.rb
Ruby
<|file_sep|>app/assets/stylesheets/main.css.scss.diff original: updated: body { margin: 0; } h1, h2, h3, h4, h5, h6 { margin-top: 0; } <|file_sep|>original/app/assets/stylesheets/main.css.scss * { box-sizing: border-box; } .container { margin: 0 auto; padding: 0 5%; max-width: 800px; } .emoji-link { ...
* { box-sizing: border-box; } body { margin: 0; } h1, h2, h3, h4, h5, h6 { margin-top: 0; } .container { margin: 0 auto; padding: 2em 5%; max-width: 800px; } .emoji-link { text-decoration: none; }
<|file_sep|>app/assets/stylesheets/main.css.scss.diff original: updated: body { margin: 0; } h1, h2, h3, h4, h5, h6 { margin-top: 0; } <|file_sep|>original/app/assets/stylesheets/main.css.scss * { box-sizing: border-box; } .container { margin: 0 auto; padding: 0 5%; max-width: 800px; } .emoji-link { ...
04ff7e676b11cf93ed4b9467f0b960130ce51b5d
app/assets/stylesheets/main.css.scss
app/assets/stylesheets/main.css.scss
SCSS
<|file_sep|>original/frontend/src/components/AddTrip/index.js props.handleClose(); } return ( <div className={showHideClass}> <div className="surrounding-modal" onClick={props.handleClose}></div> <div className="modal-main"> {/* TODO(Issue #43): Add trips functionality */} <p>En...
props.handleClose(); } return ( <div className={showHideClass}> <div className="surrounding-modal" onClick={props.handleClose}></div> <div className="modal-main"> {/* TODO(Issue #43): Add trips functionality */} <p>Enter the stuff for a new trip: ...</p> <Button type='bu...
<|file_sep|>original/frontend/src/components/AddTrip/index.js props.handleClose(); } return ( <div className={showHideClass}> <div className="surrounding-modal" onClick={props.handleClose}></div> <div className="modal-main"> {/* TODO(Issue #43): Add trips functionality */} <p>En...
d6cfb91652099ad880409caab6d8ec78e6568a01
frontend/src/components/AddTrip/index.js
frontend/src/components/AddTrip/index.js
JavaScript
<|file_sep|>original/.travis.yml language: java jdk: - oraclejdk8 # uncomment following to activate bintray profile for build #install: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V -P bintray script: mvn install #-P bintray <|file_sep|>current/.travis.yml language: java jdk: - oraclejdk8 # uncomment...
language: java jdk: - oraclejdk8
<|file_sep|>original/.travis.yml language: java jdk: - oraclejdk8 # uncomment following to activate bintray profile for build #install: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V -P bintray script: mvn install #-P bintray <|file_sep|>current/.travis.yml language: java jdk: - oraclejdk8 # uncomment...
98345fefe1b096e20945df3033b13c7bb4a47a69
.travis.yml
.travis.yml
YAML
<|file_sep|>original/apps/polls/migrations/0002_auto_20170503_1524.py <|file_sep|>current/apps/polls/migrations/0002_auto_20170503_1524.py <|file_sep|>updated/apps/polls/migrations/0002_auto_20170503_1524.py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('meinberlin_polls', '0001_initial'), ] operations = [ migrations.AlterUniqueTogether( name='vote', un...
<|file_sep|>original/apps/polls/migrations/0002_auto_20170503_1524.py <|file_sep|>current/apps/polls/migrations/0002_auto_20170503_1524.py <|file_sep|>updated/apps/polls/migrations/0002_auto_20170503_1524.py # -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models cl...
7334de5358ba1efb942c6f7725114ddddd52af83
apps/polls/migrations/0002_auto_20170503_1524.py
apps/polls/migrations/0002_auto_20170503_1524.py
Python
<|file_sep|>services/web/public/es/rich-text.js.diff original: updated: import LatexParser from './ide/editor/codemirror/parser' <|file_sep|>services/web/public/es/rich-text.js.diff original: return CodeMirror(rootEl) updated: CodeMirror.defineMode('latex', () => new LatexParser()) CodeMirror.defineMIME('applic...
import CodeMirror, { Doc } from 'codemirror' import LatexParser from './ide/editor/codemirror/parser' export function init (rootEl) { CodeMirror.defineMode('latex', () => new LatexParser()) CodeMirror.defineMIME('application/x-tex', 'latex') CodeMirror.defineMIME('application/x-latex', 'latex') return CodeMi...
<|file_sep|>services/web/public/es/rich-text.js.diff original: updated: import LatexParser from './ide/editor/codemirror/parser' <|file_sep|>services/web/public/es/rich-text.js.diff original: return CodeMirror(rootEl) updated: CodeMirror.defineMode('latex', () => new LatexParser()) CodeMirror.defineMIME('applic...
027ab1250aee3dc4981d3b34ffa013565b135ab4
services/web/public/es/rich-text.js
services/web/public/es/rich-text.js
JavaScript
<|file_sep|>build.rs.diff original: updated: use std::fs::read_to_string; <|file_sep|>original/build.rs fn main() { let git_hash = option_env!("TRAVIS_COMMIT") .map(ToOwned::to_owned) .unwrap_or_else(|| { let stdout = std::process::Command::new("git") .arg("rev-parse") ...
use std::fs::read_to_string; fn main() { let git_hash = option_env!("TRAVIS_COMMIT") .map(|s| s.into()) .unwrap_or_else(|| read_to_string(".git/refs/heads/next").unwrap_or_default()); println!("cargo:rustc-env=GIT_HASH={}", git_hash); }
<|file_sep|>build.rs.diff original: updated: use std::fs::read_to_string; <|file_sep|>original/build.rs fn main() { let git_hash = option_env!("TRAVIS_COMMIT") .map(ToOwned::to_owned) .unwrap_or_else(|| { let stdout = std::process::Command::new("git") .arg("rev-parse") ...
ead877ae937cafb7338b9c32a6d89f3da0f1c1ce
build.rs
build.rs
Rust
<|file_sep|>original/setup.sh <|file_sep|>current/setup.sh <|file_sep|>updated/setup.sh
#!/bin/bash gradle_files="gradle build.gradle gradlew gradlew.bat" help_message="Create a zip file for exercises. If added, parameter should be one of {1,2,3,4,all}." function zip_exercise_1() { echo "Creating solution for exercise 1" zip -r tutorium_1_lsg.zip src/main/java/de/uni_passau/fim/prog1/tutorium/a...
<|file_sep|>original/setup.sh <|file_sep|>current/setup.sh <|file_sep|>updated/setup.sh #!/bin/bash gradle_files="gradle build.gradle gradlew gradlew.bat" help_message="Create a zip file for exercises. If added, parameter should be one of {1,2,3,4,all}." function zip_exercise_1() { echo "Creating solution for ...
f8070fa0a2167ce0cd2a0feb10b38c812865bff8
setup.sh
setup.sh
Shell
<|file_sep|>original/init.sh #!/usr/bin/env bash if [ $(dpkg-query -W -f='${Status}' ansible 2>/dev/null | grep -c "ok installed") -eq 0 ]; then echo "Add APT repositories" export DEBIAN_FRONTEND=noninteractive apt-get install -qq software-properties-common || exit 1 apt-add-repository ppa:ansible/ansi...
#!/usr/bin/env bash if [ $(dpkg-query -W -f='${Status}' ansible 2>/dev/null | grep -c "ok installed") -eq 0 ]; then echo "Add APT repositories" export DEBIAN_FRONTEND=noninteractive apt-get install -qq software-properties-common || exit 1 apt-add-repository ppa:ansible/ansible || exit 1 apt-get up...
<|file_sep|>original/init.sh #!/usr/bin/env bash if [ $(dpkg-query -W -f='${Status}' ansible 2>/dev/null | grep -c "ok installed") -eq 0 ]; then echo "Add APT repositories" export DEBIAN_FRONTEND=noninteractive apt-get install -qq software-properties-common || exit 1 apt-add-repository ppa:ansible/ansi...
beee3e728f27c994ae847cf43b467f74488fd34a
init.sh
init.sh
Shell
<|file_sep|>original/binary/binary-misc-notes.md # Binary Misc Notes <|file_sep|>current/binary/binary-misc-notes.md # Binary Misc Notes <|file_sep|>updated/binary/binary-misc-notes.md
# Binary Misc Notes ## Two's Complement * Most significant bit is the sign bit. 0 => positive, 1 => negative * Going from positive to negative: + Take complement of positive binary number and add 1.
<|file_sep|>original/binary/binary-misc-notes.md # Binary Misc Notes <|file_sep|>current/binary/binary-misc-notes.md # Binary Misc Notes <|file_sep|>updated/binary/binary-misc-notes.md # Binary Misc Notes ## Two's Complement * Most significant bit is the sign bit. 0 => positive, 1 => negative * Going from positive t...
1a3852ffa0b3d5675ae3298c5512c94a38551f40
binary/binary-misc-notes.md
binary/binary-misc-notes.md
Markdown
<|file_sep|>original/requirements.txt docker==2.6.1 molecule==1.25.0 pytest==3.2.5 python-vagrant==0.5.15 testinfra==1.9.1 tox==2.9.1 <|file_sep|>current/requirements.txt docker==2.6.1 molecule==1.25.0 pytest==3.2.5 python-vagrant==0.5.15 testinfra==1.9.1 tox==2.9.1 <|file_sep|>updated/requirements.txt
docker==2.6.1 molecule==1.25.0 pytest==3.3.0 python-vagrant==0.5.15 testinfra==1.9.1 tox==2.9.1
<|file_sep|>original/requirements.txt docker==2.6.1 molecule==1.25.0 pytest==3.2.5 python-vagrant==0.5.15 testinfra==1.9.1 tox==2.9.1 <|file_sep|>current/requirements.txt docker==2.6.1 molecule==1.25.0 pytest==3.2.5 python-vagrant==0.5.15 testinfra==1.9.1 tox==2.9.1 <|file_sep|>updated/requirements.txt docker==2.6.1 mo...
4e626ab12c8fca6b09e2a306fa4bed5b09964565
requirements.txt
requirements.txt
Text
<|file_sep|>original/.travis.yml - master - /^v/ rvm: - 1.8.7 - 1.9.3 - 2.0.0 script: bundle exec rake test env: - PUPPET_VERSION="~> 2.7.0" - PUPPET_VERSION="~> 3.1.0" - PUPPET_VERSION="~> 3.2.0" - PUPPET_VERSION="~> 3.3.0" - PUPPET_VERSION="~> 3.4.0" matrix: exclude: - rvm: 2.0.0 env: ...
- 1.8.7 - 1.9.3 - 2.0.0 script: bundle exec rake test env: - PUPPET_VERSION="~> 2.7.0" - PUPPET_VERSION="~> 3.1.0" - PUPPET_VERSION="~> 3.2.0" - PUPPET_VERSION="~> 3.3.0" - PUPPET_VERSION="~> 3.4.0" - PUPPET_VERSION="~> 3.5.0" - PUPPET_VERSION="~> 3.6.0" - PUPPET_VERSION="~> 3.7.0" matrix: exclu...
<|file_sep|>original/.travis.yml - master - /^v/ rvm: - 1.8.7 - 1.9.3 - 2.0.0 script: bundle exec rake test env: - PUPPET_VERSION="~> 2.7.0" - PUPPET_VERSION="~> 3.1.0" - PUPPET_VERSION="~> 3.2.0" - PUPPET_VERSION="~> 3.3.0" - PUPPET_VERSION="~> 3.4.0" matrix: exclude: - rvm: 2.0.0 env: ...
99d8e91299c58a9accdcaa3accf6608fa66cfad2
.travis.yml
.travis.yml
YAML
<|file_sep|>check_and_start_hhvm.sh.diff original: PID="`cat /var/run/hhvm/${SVCNAME}.pid`" updated: <|file_sep|>original/check_and_start_hhvm.sh if [[ "`find -L /etc/init.d/ -samefile /etc/init.d/hhvm | grep /etc/init.d/${SVCNAME}`" == "" ]]; then # Allow short parameter as hhvm.$1 if [[ "`find -L /e...
if [[ "`find -L /etc/init.d/ -samefile /etc/init.d/hhvm | grep /etc/init.d/${SVCNAME}`" == "" ]]; then # Allow short parameter as hhvm.$1 if [[ "`find -L /etc/init.d/ -samefile /etc/init.d/hhvm | grep /etc/init.d/hhvm.${SVCNAME}`" != "" ]]; then SVCNAME=hhvm.$SVCNAME else ...
<|file_sep|>check_and_start_hhvm.sh.diff original: PID="`cat /var/run/hhvm/${SVCNAME}.pid`" updated: <|file_sep|>original/check_and_start_hhvm.sh if [[ "`find -L /etc/init.d/ -samefile /etc/init.d/hhvm | grep /etc/init.d/${SVCNAME}`" == "" ]]; then # Allow short parameter as hhvm.$1 if [[ "`find -L /e...
17094a546733df7dd1fea6dce5c4d241926c50b0
check_and_start_hhvm.sh
check_and_start_hhvm.sh
Shell
<|file_sep|>original/setup.py import amazon from setuptools import setup, find_packages long_description = pypandoc.convert('README.md', 'rst') setup(name='python-amazon-simple-product-api', version=amazon.__version__, description="A simple Python wrapper for the Amazon.com Product Advertising API", ...
import amazon from setuptools import setup, find_packages import pypandoc long_description = pypandoc.convert('README.md', 'rst') setup(name='python-amazon-simple-product-api', version=amazon.__version__, description="A simple Python wrapper for the Amazon.com Product Advertising API", long_descr...
<|file_sep|>original/setup.py import amazon from setuptools import setup, find_packages long_description = pypandoc.convert('README.md', 'rst') setup(name='python-amazon-simple-product-api', version=amazon.__version__, description="A simple Python wrapper for the Amazon.com Product Advertising API", ...
6d03ab8ee75732778607cd6f575715a3aea0358a
setup.py
setup.py
Python
<|file_sep|>original/pkg/base1/require-config.js (function(require) { require.config({ baseUrl: "../", paths: { "jquery": "base1/jquery" } }); })(require); <|file_sep|>current/pkg/base1/require-config.js (function(require) { require.config({ baseUrl: "../", ...
(function(require) { require.config({ baseUrl: "../", waitSeconds: 30, paths: { "jquery": "base1/jquery" } }); })(require);
<|file_sep|>original/pkg/base1/require-config.js (function(require) { require.config({ baseUrl: "../", paths: { "jquery": "base1/jquery" } }); })(require); <|file_sep|>current/pkg/base1/require-config.js (function(require) { require.config({ baseUrl: "../", ...
71eaacdb4d22fbf7b98a02743dfe4ebde7b1f72e
pkg/base1/require-config.js
pkg/base1/require-config.js
JavaScript
<|file_sep|>original/modules/performanceplatform/files/check-directory-freshness.sh #!/bin/bash -e CHECK_DIRECTORY="$1" if [ ! -d "${CHECK_DIRECTORY}" ]; then echo "Not a valid directory: ${CHECK_DIRECTORY}" exit 1 fi files_found=$(find "${CHECK_DIRECTORY}" -ctime -1 -type f ! -empty) if [ "${files_found}" ...
#!/bin/bash -e CHECK_DIRECTORY="$1" if [ ! -d "${CHECK_DIRECTORY}" ]; then echo "Not a valid directory: ${CHECK_DIRECTORY}" exit 1 fi files_found=$(find "${CHECK_DIRECTORY}" -mtime -1.125 -type f ! -empty) if [ "${files_found}" = "" ]; then echo "No new files found in ${CHECK_DIRECTORY}" exit 1 fi ...
<|file_sep|>original/modules/performanceplatform/files/check-directory-freshness.sh #!/bin/bash -e CHECK_DIRECTORY="$1" if [ ! -d "${CHECK_DIRECTORY}" ]; then echo "Not a valid directory: ${CHECK_DIRECTORY}" exit 1 fi files_found=$(find "${CHECK_DIRECTORY}" -ctime -1 -type f ! -empty) if [ "${files_found}" ...
55386c44d91a51359978a912e749a57d03242aaa
modules/performanceplatform/files/check-directory-freshness.sh
modules/performanceplatform/files/check-directory-freshness.sh
Shell
<|file_sep|>Assets/UniEditorScreenshot/Editor/CaptureWindow.cs.diff original: using System.IO; using System.Collections; updated: <|file_sep|>Assets/UniEditorScreenshot/Editor/CaptureWindow.cs.diff original: public class CaptureWindow : EditorWindow{ updated: public class CaptureWindow : EditorWindow { <|file_sep|>As...
GUILayout.Label(""); if (GUILayout.Button("Take screenshot")) { var resolution = GetMainGameViewSize(); int x = (int)resolution.x; int y = (int)resolution.y; var outputPath = saveDirPath + "/" + DateTime.Now.ToString($"{x}x{y}_yyyy_MM_dd_HH_mm_ss"...
<|file_sep|>Assets/UniEditorScreenshot/Editor/CaptureWindow.cs.diff original: using System.IO; using System.Collections; updated: <|file_sep|>Assets/UniEditorScreenshot/Editor/CaptureWindow.cs.diff original: public class CaptureWindow : EditorWindow{ updated: public class CaptureWindow : EditorWindow { <|file_sep|>As...
142f9b83ddcb9818455f666c680c27f8fa097ad9
Assets/UniEditorScreenshot/Editor/CaptureWindow.cs
Assets/UniEditorScreenshot/Editor/CaptureWindow.cs
C#
<|file_sep|>original/terminus/tests/city_model_test.py <|file_sep|>current/terminus/tests/city_model_test.py <|file_sep|>updated/terminus/tests/city_model_test.py
import unittest import mock from geometry.point import Point from models.street import Street from models.trunk import Trunk from models.ground_plane import GroundPlane from models.building import Building from models.block import Block from models.city import City class CityModelTest(unittest.TestCase): def te...
<|file_sep|>original/terminus/tests/city_model_test.py <|file_sep|>current/terminus/tests/city_model_test.py <|file_sep|>updated/terminus/tests/city_model_test.py import unittest import mock from geometry.point import Point from models.street import Street from models.trunk import Trunk from models.ground_plane impo...
eca7f6a35d3f95352096a455ace91ef5cde51339
terminus/tests/city_model_test.py
terminus/tests/city_model_test.py
Python
<|file_sep|>imap-proto/src/parser/rfc5161.rs.diff original: #![cfg_attr(feature = "cargo-clippy", allow(clippy::redundant_closure))] updated: <|file_sep|>imap-proto/src/parser/rfc5161.rs.diff original: |c| Response::Capabilities(c) updated: Response::Capabilities <|file_sep|>original/imap-proto/src/parser/rfc5...
use crate::types::*; use crate::parser::core::atom; // The ENABLED response lists capabilities that were enabled in response // to a ENABLE command. // [RFC5161 - 3.2 The ENABLED Response](https://tools.ietf.org/html/rfc5161#section-3.2) named!(pub (crate) resp_enabled<Response>, map!( enabled_data, Response:...
<|file_sep|>imap-proto/src/parser/rfc5161.rs.diff original: #![cfg_attr(feature = "cargo-clippy", allow(clippy::redundant_closure))] updated: <|file_sep|>imap-proto/src/parser/rfc5161.rs.diff original: |c| Response::Capabilities(c) updated: Response::Capabilities <|file_sep|>original/imap-proto/src/parser/rfc5...
296262a74eea6a228c37ef45fe043b4917f290d8
imap-proto/src/parser/rfc5161.rs
imap-proto/src/parser/rfc5161.rs
Rust
<|file_sep|>original/spec-tests/spec/localhost/securedrop_app_spec.rb <|file_sep|>current/spec-tests/spec/localhost/securedrop_app_spec.rb <|file_sep|>updated/spec-tests/spec/localhost/securedrop_app_spec.rb
require 'spec_helper' ['/var/www/securedrop','/var/lib/securedrop','/var/lib/securedrop/store','/var/lib/securedrop/keys'].each do |myDir| describe file(myDir) do it { should be_directory } it { should be_owned_by 'www-data' } it { should be_mode '700' } end end describe file('/var/www/securedrop/con...
<|file_sep|>original/spec-tests/spec/localhost/securedrop_app_spec.rb <|file_sep|>current/spec-tests/spec/localhost/securedrop_app_spec.rb <|file_sep|>updated/spec-tests/spec/localhost/securedrop_app_spec.rb require 'spec_helper' ['/var/www/securedrop','/var/lib/securedrop','/var/lib/securedrop/store','/var/lib/secu...
3293be27e36b953b1de2e51414050431426fb933
spec-tests/spec/localhost/securedrop_app_spec.rb
spec-tests/spec/localhost/securedrop_app_spec.rb
Ruby
<|file_sep|>original/_posts/2016-09-01-poke.md <|file_sep|>current/_posts/2016-09-01-poke.md <|file_sep|>updated/_posts/2016-09-01-poke.md
--- layout: post title: "Poke the Box" --- > All great programmers learn the same way. They poke the box. They code something and see what the computer does. They change it and see what the computer does. They repeat the process again and again until they figure out how the box works. – Seth Godin, Poke The Box
<|file_sep|>original/_posts/2016-09-01-poke.md <|file_sep|>current/_posts/2016-09-01-poke.md <|file_sep|>updated/_posts/2016-09-01-poke.md --- layout: post title: "Poke the Box" --- > All great programmers learn the same way. They poke the box. They code something and see what the computer does. They change it and s...
a4114b44fe9f310a87eb71dbd8e02701a302b1dd
_posts/2016-09-01-poke.md
_posts/2016-09-01-poke.md
Markdown
<|file_sep|>original/actionpack/lib/action_dispatch/middleware/actionable_exceptions.rb def actionable_request?(request) request.get_header("action_dispatch.show_detailed_exceptions") && request.post? && request.path == endpoint end def redirect_to(location) uri = URI.parse location ...
def actionable_request?(request) request.get_header("action_dispatch.show_detailed_exceptions") && request.post? && request.path == endpoint end def redirect_to(location) uri = URI.parse location if uri.relative? || uri.scheme == "http" || uri.scheme == "https" bod...
<|file_sep|>original/actionpack/lib/action_dispatch/middleware/actionable_exceptions.rb def actionable_request?(request) request.get_header("action_dispatch.show_detailed_exceptions") && request.post? && request.path == endpoint end def redirect_to(location) uri = URI.parse location ...
9015e37ce6335a227dd60fbfc505457a12481489
actionpack/lib/action_dispatch/middleware/actionable_exceptions.rb
actionpack/lib/action_dispatch/middleware/actionable_exceptions.rb
Ruby
<|file_sep|>original/package.json { "name": "warframe-worldstate-data", "version": "0.0.239", "description": "Warframe data for use with warframe-worldstate-parser", "main": "exports.js", "directories": { "test": "test" }, "dependencies": {}, "devDependencies": {}, "scripts": { "test": "echo \...
{ "name": "warframe-worldstate-data", "version": "0.0.240", "description": "Warframe data for use with warframe-worldstate-parser", "main": "exports.js", "directories": { "test": "test" }, "dependencies": {}, "devDependencies": {}, "scripts": { "test": "echo \"Error: no test specified\" && exi...
<|file_sep|>original/package.json { "name": "warframe-worldstate-data", "version": "0.0.239", "description": "Warframe data for use with warframe-worldstate-parser", "main": "exports.js", "directories": { "test": "test" }, "dependencies": {}, "devDependencies": {}, "scripts": { "test": "echo \...
2ab4d4da437f3f4bba6be8de0b244cda2c9afeb8
package.json
package.json
JSON
<|file_sep|>original/requirements.txt appdirs==1.4.2 asciimatics==1.7.2 funcsigs==1.0.2 future==0.16.0 olefile==0.44 packaging==16.8 pbr==2.0.0 Pillow==4.0.0 pyfiglet==0.7.5 pyparsing==2.1.10 six==1.10.0 <|file_sep|>current/requirements.txt appdirs==1.4.2 asciimatics==1.7.2 funcsigs==1.0.2 future==0.16.0 olefile==0.44 ...
appdirs==1.4.2 asciimatics==1.7.2 funcsigs==1.0.2 future==0.16.0 olefile==0.44 packaging==16.8 pbr==2.0.0 Pillow==4.0.0 pyfiglet==0.7.5 pyparsing==2.2.0 six==1.10.0
<|file_sep|>original/requirements.txt appdirs==1.4.2 asciimatics==1.7.2 funcsigs==1.0.2 future==0.16.0 olefile==0.44 packaging==16.8 pbr==2.0.0 Pillow==4.0.0 pyfiglet==0.7.5 pyparsing==2.1.10 six==1.10.0 <|file_sep|>current/requirements.txt appdirs==1.4.2 asciimatics==1.7.2 funcsigs==1.0.2 future==0.16.0 olefile==0.44 ...
eaf3ddb2f4110cfc04530405a183d0e644d7be2f
requirements.txt
requirements.txt
Text
<|file_sep|>original/setup.cfg [metadata] name = oslo.serialization summary = Oslo Serialization library description-file = README.rst author = OpenStack author-email = openstack-dev@lists.openstack.org home-page = https://docs.openstack.org/oslo.serialization/latest/ classifier = Environment :: OpenStack I...
[metadata] name = oslo.serialization summary = Oslo Serialization library description-file = README.rst author = OpenStack author-email = openstack-discuss@lists.openstack.org home-page = https://docs.openstack.org/oslo.serialization/latest/ classifier = Environment :: OpenStack Intended Audience :: Informa...
<|file_sep|>original/setup.cfg [metadata] name = oslo.serialization summary = Oslo Serialization library description-file = README.rst author = OpenStack author-email = openstack-dev@lists.openstack.org home-page = https://docs.openstack.org/oslo.serialization/latest/ classifier = Environment :: OpenStack I...
df5166aa652f6aa78b467f74add6721bc1bf12b5
setup.cfg
setup.cfg
INI
<|file_sep|>original/requirements/production.txt # Pro-tip: Try not to put anything here. There should be no dependency in # production that isn't in development. -r base.txt Django==2.2.12 gevent==20.5.0 gunicorn==20.0.4 raven==6.10.0 <|file_sep|>current/requirements/production.txt # Pro-tip: Try not to put anything ...
# Pro-tip: Try not to put anything here. There should be no dependency in # production that isn't in development. -r base.txt Django==2.2.12 gevent==20.5.1 gunicorn==20.0.4 raven==6.10.0
<|file_sep|>original/requirements/production.txt # Pro-tip: Try not to put anything here. There should be no dependency in # production that isn't in development. -r base.txt Django==2.2.12 gevent==20.5.0 gunicorn==20.0.4 raven==6.10.0 <|file_sep|>current/requirements/production.txt # Pro-tip: Try not to put anything ...
8f9184a766f499064d1fa5bfb899bb40032289c9
requirements/production.txt
requirements/production.txt
Text
<|file_sep|>original/_data/2018/boulder/hero.yaml header_2: "August 13, 2018 - August 17, 2018" location: "University of Colorado at Boulder" style: "option-green" <|file_sep|>current/_data/2018/boulder/hero.yaml header_2: "August 13, 2018 - August 17, 2018" location: "University of Colorado at Boulder" style: "option-...
header_2: "August 13, 2018 - August 17, 2018" header_3: "Sponsored by The Russell Sage Foundation & The Alfred P. Sloan Foundation" location: "University of Colorado at Boulder" style: "option-green"
<|file_sep|>original/_data/2018/boulder/hero.yaml header_2: "August 13, 2018 - August 17, 2018" location: "University of Colorado at Boulder" style: "option-green" <|file_sep|>current/_data/2018/boulder/hero.yaml header_2: "August 13, 2018 - August 17, 2018" location: "University of Colorado at Boulder" style: "option-...
7b53bc5da46ecc0e7bdadec513fa7b2a49bd6e59
_data/2018/boulder/hero.yaml
_data/2018/boulder/hero.yaml
YAML
<|file_sep|>original/lib/s3_relay/upload_presigner.rb <|file_sep|>current/lib/s3_relay/upload_presigner.rb <|file_sep|>updated/lib/s3_relay/upload_presigner.rb
module S3Relay class UploadPresigner < S3Relay::Base attr_reader :expires, :uuid def initialize(options={}) @expires = (options[:expires] || 1.minute.from_now).utc.xmlschema @uuid = SecureRandom.uuid end def form_data fields.keys.inject({}) { |h,k| h[k.downcase.underscore] = fi...
<|file_sep|>original/lib/s3_relay/upload_presigner.rb <|file_sep|>current/lib/s3_relay/upload_presigner.rb <|file_sep|>updated/lib/s3_relay/upload_presigner.rb module S3Relay class UploadPresigner < S3Relay::Base attr_reader :expires, :uuid def initialize(options={}) @expires = (options[:expires] ||...
94fc7171e3210d156c84a89cf32be3c1f5752f61
lib/s3_relay/upload_presigner.rb
lib/s3_relay/upload_presigner.rb
Ruby
<|file_sep|>original/README.md # notflix Generates some less-popular Netflix Categories ## Usage ```bash git clone https://github.com/bibliotechy/notflix.git cd notflix pip install -r requirements.txt python ./new-category.py >>> TV Action & Adventure with a Weaver Who Detected a Plurality ``` <|file_sep|>current...
# notflix Generates some less-popular Netflix Categories ## Usage ```bash git clone https://github.com/bibliotechy/notflix.git cd notflix # install required files without the cache dir to deal with https://github.com/aparrish/pycorpora/issues/8 pip install --no-cache-dir -r requirements.txt python ./new-category.p...
<|file_sep|>original/README.md # notflix Generates some less-popular Netflix Categories ## Usage ```bash git clone https://github.com/bibliotechy/notflix.git cd notflix pip install -r requirements.txt python ./new-category.py >>> TV Action & Adventure with a Weaver Who Detected a Plurality ``` <|file_sep|>current...
3abee3d108878ca339126922d576723517ed389f
README.md
README.md
Markdown
<|file_sep|>original/test/index.js // Because the tests need to be run through Webpack, we use this file as a single // entry point for all the tests, so any tests to be run must be require()'d here. 'use strict'; require('./test-example-list'); <|file_sep|>current/test/index.js // Because the tests need to be run th...
// Because the tests need to be run through Webpack, we use this file as a single // entry point for all the tests, so any tests to be run must be require()'d here. 'use strict'; require('../src/utils'); // For Object.assign polyfill require('./test-example-list');
<|file_sep|>original/test/index.js // Because the tests need to be run through Webpack, we use this file as a single // entry point for all the tests, so any tests to be run must be require()'d here. 'use strict'; require('./test-example-list'); <|file_sep|>current/test/index.js // Because the tests need to be run th...
07709153e4d134527428e393f6b6d5916b15fb40
test/index.js
test/index.js
JavaScript
<|file_sep|>original/requirements-tests.txt pep8==1.7.1 flake8==4.0.1 astroid==2.11.4 pylint==2.13.8 codecov==2.1.12 coverage==6.4.4 requests>=2.27.1 requests_mock==1.9.3 pytest==7.0.1 pytest-xdist==2.5.0 pytest-benchmark[histogram]==3.4.1 cryptography==37.0.4 # NOTE: Only needed by nttcis loadbalancer driver pyopenssl...
pep8==1.7.1 flake8==4.0.1 astroid==2.11.4 pylint==2.13.8 codecov==2.1.12 coverage==6.2.0 requests>=2.27.1 requests_mock==1.9.3 pytest==7.0.1 pytest-xdist==2.5.0 pytest-benchmark[histogram]==3.4.1 cryptography==37.0.4 # NOTE: Only needed by nttcis loadbalancer driver pyopenssl==22.0.0 more-itertools==8.11.0
<|file_sep|>original/requirements-tests.txt pep8==1.7.1 flake8==4.0.1 astroid==2.11.4 pylint==2.13.8 codecov==2.1.12 coverage==6.4.4 requests>=2.27.1 requests_mock==1.9.3 pytest==7.0.1 pytest-xdist==2.5.0 pytest-benchmark[histogram]==3.4.1 cryptography==37.0.4 # NOTE: Only needed by nttcis loadbalancer driver pyopenssl...
b3eeedad093300a2a79768f614df12a19592d70f
requirements-tests.txt
requirements-tests.txt
Text
<|file_sep|>original/src/static-vectors.asd :description "Create vectors allocated in static memory." :author "Stelian Ionescu <sionescu@cddr.org>" :version "1.1" :licence "MIT" :defsystem-depends-on (#+(or allegro cmu ecl sbcl) :cffi-grovel) :depends-on (:alexandria :cffi) :components ((:file "pkgdcl") ...
:description "Create vectors allocated in static memory." :author "Stelian Ionescu <sionescu@cddr.org>" :version "1.1" :licence "MIT" :defsystem-depends-on (#+(or allegro cmu ecl sbcl) :cffi-grovel) :depends-on (:alexandria :cffi) :components ((:file "pkgdcl") (:file "constantp" :depends-on...
<|file_sep|>original/src/static-vectors.asd :description "Create vectors allocated in static memory." :author "Stelian Ionescu <sionescu@cddr.org>" :version "1.1" :licence "MIT" :defsystem-depends-on (#+(or allegro cmu ecl sbcl) :cffi-grovel) :depends-on (:alexandria :cffi) :components ((:file "pkgdcl") ...
0727db77aa524201a6370dca8016a3e5a28b5f38
src/static-vectors.asd
src/static-vectors.asd
Common Lisp
<|file_sep|>src/qt/test/test_main.cpp.diff original: updated: bool fInvalid = false; <|file_sep|>original/src/qt/test/test_main.cpp #include <QTest> #include <QObject> #include "uritests.h" // This is all you need to run all the tests int main(int argc, char *argv[]) { URITests test1; QTest::qExec(&test...
#include <QTest> #include <QObject> #include "uritests.h" // This is all you need to run all the tests int main(int argc, char *argv[]) { bool fInvalid = false; URITests test1; if (QTest::qExec(&test1) != 0) fInvalid = true; return fInvalid; }
<|file_sep|>src/qt/test/test_main.cpp.diff original: updated: bool fInvalid = false; <|file_sep|>original/src/qt/test/test_main.cpp #include <QTest> #include <QObject> #include "uritests.h" // This is all you need to run all the tests int main(int argc, char *argv[]) { URITests test1; QTest::qExec(&test...
30d596f793bb673fad5b7e2a9095ff3fb8a56484
src/qt/test/test_main.cpp
src/qt/test/test_main.cpp
C++
<|file_sep|>original/.travis.yml language: node_js node_js: - '0.10' script: - npm run build && npm test sudo: false after_success: cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js notifications: email: false slack: secure: EOZZJJboKX+qGE7nuAL2t0kbe0LDkmMLJ56oyDb6nOuaPTZ+YLrzXq+6H3OnPCDNH3...
language: node_js node_js: - '0.12' - '4.2' script: - npm run build && npm test sudo: false after_success: cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js notifications: email: false slack: secure: EOZZJJboKX+qGE7nuAL2t0kbe0LDkmMLJ56oyDb6nOuaPTZ+YLrzXq+6H3OnPCDNH3qHna+dyG6AxsR7EbuBR/6bFUk...
<|file_sep|>original/.travis.yml language: node_js node_js: - '0.10' script: - npm run build && npm test sudo: false after_success: cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js notifications: email: false slack: secure: EOZZJJboKX+qGE7nuAL2t0kbe0LDkmMLJ56oyDb6nOuaPTZ+YLrzXq+6H3OnPCDNH3...
2d5cf0cf7eef164ad3274d7780f3cbeb3a5b739d
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.openshift/cron/daily/db_backup.sh #!/bin/sh mkdir -p ${OPENSHIFT_DATA_DIR}backups timestamp=$( date +%D ) mysqldump --host=${OPENSHIFT_MYSQL_DB_HOST} --port=${OPENSHIFT_MYSQL_DB_PORT} --user=${OPENSHIFT_MYSQL_DB_USERNAME} --password=${OPENSHIFT_MYSQL_DB_PASSWORD} beer > ${OPENSHIFT_DATA_DIR}backu...
#!/bin/sh mkdir -p ${OPENSHIFT_DATA_DIR}backups timestamp=$( date +"%Y%m%d%H%M" ) mysqldump --host=${OPENSHIFT_MYSQL_DB_HOST} --port=${OPENSHIFT_MYSQL_DB_PORT} --user=${OPENSHIFT_MYSQL_DB_USERNAME} --password=${OPENSHIFT_MYSQL_DB_PASSWORD} beer > ${OPENSHIFT_DATA_DIR}backups/beer-$timestamp rc=$? if [ $rc -ne 0 ] ; t...
<|file_sep|>original/.openshift/cron/daily/db_backup.sh #!/bin/sh mkdir -p ${OPENSHIFT_DATA_DIR}backups timestamp=$( date +%D ) mysqldump --host=${OPENSHIFT_MYSQL_DB_HOST} --port=${OPENSHIFT_MYSQL_DB_PORT} --user=${OPENSHIFT_MYSQL_DB_USERNAME} --password=${OPENSHIFT_MYSQL_DB_PASSWORD} beer > ${OPENSHIFT_DATA_DIR}backu...
651dee800c73b6f0aebb8fa0a70d59de4a83cacb
.openshift/cron/daily/db_backup.sh
.openshift/cron/daily/db_backup.sh
Shell
<|file_sep|>.travis.yml.diff original: updated: --- <|file_sep|>.travis.yml.diff original: - "blead" - "5.20" - "5.18" - "5.16" - "5.14" - "5.12" - "5.10" updated: - blead - 5.22 - 5.20 - 5.18 - 5.16 - 5.14 - 5.12 - 5.10 <|file_sep|>.travis.yml.diff original: updated: <|f...
- 5.12 - 5.10 env: global: - RELEASE_TESTING=1 - AUTHOR_TESTING=1 before_install: - git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers - source ~/perl-travis-helper/init - build-perl - perl -V - build-dist - cd $BUILD_DIR install: - sudo apt-get update - sudo apt-get inst...
<|file_sep|>.travis.yml.diff original: updated: --- <|file_sep|>.travis.yml.diff original: - "blead" - "5.20" - "5.18" - "5.16" - "5.14" - "5.12" - "5.10" updated: - blead - 5.22 - 5.20 - 5.18 - 5.16 - 5.14 - 5.12 - 5.10 <|file_sep|>.travis.yml.diff original: updated: <|f...
529a8bbea093fbc44e1b36e99b204516742ca662
.travis.yml
.travis.yml
YAML
<|file_sep|>original/requirements/dev.txt -r common.txt PyYAML==3.12 bumpversion==0.5.3 coverage==4.4.1 cryptography==1.9 flake8==3.3.0 mock==2.0.0 pip==9.0.1 pytest==3.1.0 tox==2.7.0 watchdog==0.8.3 wheel==0.29.0 <|file_sep|>current/requirements/dev.txt -r common.txt PyYAML==3.12 bumpversion==0.5.3 coverage==4.4.1 cry...
-r common.txt PyYAML==3.12 bumpversion==0.5.3 coverage==4.4.1 cryptography==1.9 flake8==3.3.0 mock==2.0.0 pip==9.0.1 pytest==3.1.1 tox==2.7.0 watchdog==0.8.3 wheel==0.29.0
<|file_sep|>original/requirements/dev.txt -r common.txt PyYAML==3.12 bumpversion==0.5.3 coverage==4.4.1 cryptography==1.9 flake8==3.3.0 mock==2.0.0 pip==9.0.1 pytest==3.1.0 tox==2.7.0 watchdog==0.8.3 wheel==0.29.0 <|file_sep|>current/requirements/dev.txt -r common.txt PyYAML==3.12 bumpversion==0.5.3 coverage==4.4.1 cry...
260cbe9f40dcd6568c3efd3817088b229635a51f
requirements/dev.txt
requirements/dev.txt
Text
<|file_sep|>original/requirements.txt cookiecutter==1.7.2 flake8==3.7.5 # pyup: != 2.6.0 sh==1.13.1 binaryornot==0.4.4 # Testing pytest==4.5.0 pep8==1.7.1 pytest-cookies==0.5.1 tox==3.15.0 pyflakes==2.2.0 <|file_sep|>current/requirements.txt cookiecutter==1.7.2 flake8==3.7.5 # pyup: != 2.6.0 sh==1.13.1 binaryornot==0....
cookiecutter==1.7.2 flake8==3.8.1 # pyup: != 2.6.0 sh==1.13.1 binaryornot==0.4.4 # Testing pytest==4.5.0 pep8==1.7.1 pytest-cookies==0.5.1 tox==3.15.0 pyflakes==2.2.0
<|file_sep|>original/requirements.txt cookiecutter==1.7.2 flake8==3.7.5 # pyup: != 2.6.0 sh==1.13.1 binaryornot==0.4.4 # Testing pytest==4.5.0 pep8==1.7.1 pytest-cookies==0.5.1 tox==3.15.0 pyflakes==2.2.0 <|file_sep|>current/requirements.txt cookiecutter==1.7.2 flake8==3.7.5 # pyup: != 2.6.0 sh==1.13.1 binaryornot==0....
df3ce6ecda232735b85876d64d1faf2bf8386e00
requirements.txt
requirements.txt
Text
<|file_sep|>lib/cretonne/src/lib.rs.diff original: pub mod bitset; updated: <|file_sep|>original/lib/cretonne/src/lib.rs pub mod flowgraph; pub mod ir; pub mod isa; pub mod loop_analysis; pub mod packed_option; pub mod result; pub mod settings; pub mod timing; pub mod verifier; mod abi; mod constant_hash; mod context...
pub mod ir; pub mod isa; pub mod loop_analysis; pub mod packed_option; pub mod result; pub mod settings; pub mod timing; pub mod verifier; mod abi; mod bitset; mod constant_hash; mod context; mod iterators; mod legalizer; mod licm; mod partition_slice; mod predicates; mod ref_slice; mod regalloc; mod scoped_hash_map;
<|file_sep|>lib/cretonne/src/lib.rs.diff original: pub mod bitset; updated: <|file_sep|>original/lib/cretonne/src/lib.rs pub mod flowgraph; pub mod ir; pub mod isa; pub mod loop_analysis; pub mod packed_option; pub mod result; pub mod settings; pub mod timing; pub mod verifier; mod abi; mod constant_hash; mod context...
493c39e7f9769094ef762f4b264f51c93b4faa5a
lib/cretonne/src/lib.rs
lib/cretonne/src/lib.rs
Rust
<|file_sep|>problem-static/Intro-Eval_50/admin/eval.py.diff original: updated: import sys <|file_sep|>problem-static/Intro-Eval_50/admin/eval.py.diff original: updated: class UnbufferedStream(object): def __init__(self, stream): self.stream = stream def write(self, data): self.stream.write(da...
def __init__(self, stream): self.stream = stream def write(self, data): self.stream.write(data) self.stream.flush() def __getattr__(self, attr): return getattr(self.stream, attr) sys.stdout = UnbufferedStream(sys.stdout) def main(): while True: print "Welcome to ...
<|file_sep|>problem-static/Intro-Eval_50/admin/eval.py.diff original: updated: import sys <|file_sep|>problem-static/Intro-Eval_50/admin/eval.py.diff original: updated: class UnbufferedStream(object): def __init__(self, stream): self.stream = stream def write(self, data): self.stream.write(da...
e99a4aa3fab84e112f5d82eafe9012f7e2be9447
problem-static/Intro-Eval_50/admin/eval.py
problem-static/Intro-Eval_50/admin/eval.py
Python
<|file_sep|>original/modules/lang/scala/config.el (after! scala-mode (setq scala-indent:align-parameters t ;; indent block comments to first asterix, not second scala-indent:use-javadoc-style t) (setq-hook! 'scala-mode-hook comment-line-break-function #'+scala-comment-indent-new-line-fn) (w...
(after! scala-mode (setq scala-indent:align-parameters t ;; indent block comments to first asterix, not second scala-indent:use-javadoc-style t) (setq-hook! 'scala-mode-hook comment-line-break-function #'+scala-comment-indent-new-line-fn) (when (featurep! +lsp) (setq-hook! 'scala-mode-h...
<|file_sep|>original/modules/lang/scala/config.el (after! scala-mode (setq scala-indent:align-parameters t ;; indent block comments to first asterix, not second scala-indent:use-javadoc-style t) (setq-hook! 'scala-mode-hook comment-line-break-function #'+scala-comment-indent-new-line-fn) (w...
ff3248d0222ff6e4adce42adcc4d4b13e4164d98
modules/lang/scala/config.el
modules/lang/scala/config.el
Emacs Lisp
<|file_sep|>original/lib/stash_merge_executor.rb Rails.logger.info("Error using StashAPI, falling back on old merge method") end end super end # Delete branch associated with a build using Stash REST api. # If method fails, falls back on traditional method. def delete_branch remote_s...
Rails.logger.info("Error using StashAPI, falling back on old merge method") end end super end # Delete branch associated with a build using Stash REST api. # If method fails, falls back on traditional method. def delete_branch remote_server = @build.repository.remote_server begin...
<|file_sep|>original/lib/stash_merge_executor.rb Rails.logger.info("Error using StashAPI, falling back on old merge method") end end super end # Delete branch associated with a build using Stash REST api. # If method fails, falls back on traditional method. def delete_branch remote_s...
e82f652c4210f5105f6a77c71d8660b3a8495d84
lib/stash_merge_executor.rb
lib/stash_merge_executor.rb
Ruby
<|file_sep|>packages/se/SecureHash-SHA3.yaml.diff original: hash: e6dd451ad6922d3c4374270ca16f757a3f4c471d110a2199a90caa43a07ee63f updated: hash: c601bc0dcb9dd3202f3300dbb2519d6617381444dd206ef52a82249e8a19acb8 <|file_sep|>packages/se/SecureHash-SHA3.yaml.diff original: changelog: ! '# Revision history for SecureHash-S...
# Revision history for SecureHash-SHA3 ## 0.1.1.0 -- 2019-01-25 * added 256, 228, 384 size hash output variants of sha3, to round out the initial 512 bit one! ## 0.1.0.2 -- 2018-12-01 * First version that builds with both GCC and CLANG basic-deps: bytestring: ! '>=0.9 && <0.11' base: ! '>=4.3 && <4...
<|file_sep|>packages/se/SecureHash-SHA3.yaml.diff original: hash: e6dd451ad6922d3c4374270ca16f757a3f4c471d110a2199a90caa43a07ee63f updated: hash: c601bc0dcb9dd3202f3300dbb2519d6617381444dd206ef52a82249e8a19acb8 <|file_sep|>packages/se/SecureHash-SHA3.yaml.diff original: changelog: ! '# Revision history for SecureHash-S...
e3f0426831bcf9b4020e50c1cbdbea1d7edc5bf4
packages/se/SecureHash-SHA3.yaml
packages/se/SecureHash-SHA3.yaml
YAML
<|file_sep|>original/.config/atom/config.cson "*": core: audioBeep: false disabledPackages: [ "language-clojure" "language-go" "language-java" "language-perl" "language-objective-c" "language-property-list" "metrics" "open-on-github" "package-generator" ...
"*": core: audioBeep: false closeEmptyWindows: false disabledPackages: [ "language-clojure" "language-go" "language-java" "language-perl" "language-objective-c" "language-property-list" "metrics" "open-on-github" "package-generator" "symbols-view...
<|file_sep|>original/.config/atom/config.cson "*": core: audioBeep: false disabledPackages: [ "language-clojure" "language-go" "language-java" "language-perl" "language-objective-c" "language-property-list" "metrics" "open-on-github" "package-generator" ...
6507050e3ec2f7c5e6ba616f883d81effa60d7ee
.config/atom/config.cson
.config/atom/config.cson
CoffeeScript
<|file_sep|>original/README.md # chemical_reaction_simulator It is a ideal simulator for simulating chemical reactions in chemical reaction network. Assumptions of Ideal Simulator : * At every time step it will make a list of possible reactions that can occur. * Out of this possible reactions, it will pick the fastes...
# chemical_reaction_simulator It is a ideal simulator for simulating chemical reactions in chemical reaction network. Assumptions of Ideal Simulator : * At every time step it will make a list of possible reactions that can occur. * Out of this possible reactions, it will pick the fastest one means one which has the h...
<|file_sep|>original/README.md # chemical_reaction_simulator It is a ideal simulator for simulating chemical reactions in chemical reaction network. Assumptions of Ideal Simulator : * At every time step it will make a list of possible reactions that can occur. * Out of this possible reactions, it will pick the fastes...
415600f18093a9e56c3e8939f70a1e5451e1a114
README.md
README.md
Markdown
<|file_sep|>original/Cargo.toml [package] name = "dbc-parser" version = "0.1.0" authors = ["marcelbuesing <buesing.marcel@googlemail.com>"] edition = "2018" [dependencies] nom = "4.0" <|file_sep|>current/Cargo.toml [package] name = "dbc-parser" version = "0.1.0" authors = ["marcelbuesing <buesing.marcel@googlemail.com...
cargo-features = ["edition"] [package] name = "dbc-parser" version = "0.1.0" authors = ["marcelbuesing <buesing.marcel@googlemail.com>"] edition = "2018" [dependencies] nom = "4.0"
<|file_sep|>original/Cargo.toml [package] name = "dbc-parser" version = "0.1.0" authors = ["marcelbuesing <buesing.marcel@googlemail.com>"] edition = "2018" [dependencies] nom = "4.0" <|file_sep|>current/Cargo.toml [package] name = "dbc-parser" version = "0.1.0" authors = ["marcelbuesing <buesing.marcel@googlemail.com...
0a818707150a0541c3814a1cc0db7c47eadd6a02
Cargo.toml
Cargo.toml
TOML
<|file_sep|>original/src/build.py # Command line inputs options_file = sys.argv[1] config_file = sys.argv[2] # Create GUI handler handler = csnGUIHandler.Handler() # Read options options = csnGUIOptions.Options() options.Load( options_file ) # Read settings settings = csnGenerator.Settings() settings.Load( config_file...
config_file = sys.argv[2] # Create GUI handler handler = csnGUIHandler.Handler() # Read options options = csnGUIOptions.Options() options.Load( options_file ) # Read settings settings = csnGenerator.Settings() settings.Load( config_file ) # Set the options handler.SetOptions( options ) # Configure the project with the...
<|file_sep|>original/src/build.py # Command line inputs options_file = sys.argv[1] config_file = sys.argv[2] # Create GUI handler handler = csnGUIHandler.Handler() # Read options options = csnGUIOptions.Options() options.Load( options_file ) # Read settings settings = csnGenerator.Settings() settings.Load( config_file...
de4f43613b5f3a8b6f49ace6b8e9585a242d7cb2
src/build.py
src/build.py
Python
<|file_sep|>original/xmonad.hs main :: IO () main = xmonad $ xfceConfig { modMask = mod4Mask , terminal = "xfce4-terminal" , manageHook = hideNotifications <+> myManageHook <+> manageHook xfceConfig , layoutHook = smartBorders $ layoutHook xfceConfig , focusFollowsMouse = False , clickJustFocus...
main :: IO () main = xmonad $ xfceConfig { modMask = mod4Mask , terminal = "xfce4-terminal" , manageHook = hideNotifications <+> myManageHook <+> manageHook xfceConfig , layoutHook = smartBorders $ layoutHook xfceConfig , focusFollowsMouse = False , clickJustFocuses = False } `additiona...
<|file_sep|>original/xmonad.hs main :: IO () main = xmonad $ xfceConfig { modMask = mod4Mask , terminal = "xfce4-terminal" , manageHook = hideNotifications <+> myManageHook <+> manageHook xfceConfig , layoutHook = smartBorders $ layoutHook xfceConfig , focusFollowsMouse = False , clickJustFocus...
e9aa71e31f48951781ef7272d1bb81ee759f8f53
xmonad.hs
xmonad.hs
Haskell
<|file_sep|>metadata/com.pierreduchemin.punchlinebingo.txt.diff original: updated: Auto Name:Punchline Bingo <|file_sep|>original/metadata/com.pierreduchemin.punchlinebingo.txt License:GPL-3.0 Web Site: Source Code:https://gitlab.com/pierreduchemin/punchline-bingo Issue Tracker:https://gitlab.com/pierreduchemin/punchl...
Issue Tracker:https://gitlab.com/pierreduchemin/punchline-bingo/issues Auto Name:Punchline Bingo Summary:A configurable bingo grid Description: This application allows you to play bingo alone or with friends, but with sentences like [https://troll.framasoft.org/]. . Repo Type:git Repo:https://gitlab.com/pierreduchemi...
<|file_sep|>metadata/com.pierreduchemin.punchlinebingo.txt.diff original: updated: Auto Name:Punchline Bingo <|file_sep|>original/metadata/com.pierreduchemin.punchlinebingo.txt License:GPL-3.0 Web Site: Source Code:https://gitlab.com/pierreduchemin/punchline-bingo Issue Tracker:https://gitlab.com/pierreduchemin/punchl...
8e87b1c47865f495d9e60985e414be34e80399ea
metadata/com.pierreduchemin.punchlinebingo.txt
metadata/com.pierreduchemin.punchlinebingo.txt
Text
<|file_sep|>original/Casks/pycharm-bundled-jdk.rb <|file_sep|>current/Casks/pycharm-bundled-jdk.rb <|file_sep|>updated/Casks/pycharm-bundled-jdk.rb
cask :v1 => 'pycharm-bundled-jdk' do version '4.5.1' sha256 '42bcac6de8c1065b482d74a2a8f3dd6b0b2f21c6835f3423c33c4a135a7f0897' url "https://download.jetbrains.com/python/pycharm-professional-#{version}-jdk-bundled.dmg" name 'PyCharm' homepage 'https://www.jetbrains.com/pycharm/' license :commercial app ...
<|file_sep|>original/Casks/pycharm-bundled-jdk.rb <|file_sep|>current/Casks/pycharm-bundled-jdk.rb <|file_sep|>updated/Casks/pycharm-bundled-jdk.rb cask :v1 => 'pycharm-bundled-jdk' do version '4.5.1' sha256 '42bcac6de8c1065b482d74a2a8f3dd6b0b2f21c6835f3423c33c4a135a7f0897' url "https://download.jetbrains.com/...
ca5b269ed280e201cf417cc53b37a3e784b96646
Casks/pycharm-bundled-jdk.rb
Casks/pycharm-bundled-jdk.rb
Ruby
<|file_sep|>original/profile.d/firefox-addon-sdk.sh <|file_sep|>current/profile.d/firefox-addon-sdk.sh <|file_sep|>updated/profile.d/firefox-addon-sdk.sh
#!/bin/bash addon_bin=cfx type cfx 2>&1 >/dev/null || return; # Trying to connect with nightly firefox_bin=/opt/firefox/firefox [[ -x $firefox_bin ]] && alias cfx="cfx -b $firefox_bin" unset firefox_bin __cfx_subcmds="init docs run test xpi" __cfx_sopts="-h -v -b -f -g -p" __cfx_lopts=" --version --help --verb...
<|file_sep|>original/profile.d/firefox-addon-sdk.sh <|file_sep|>current/profile.d/firefox-addon-sdk.sh <|file_sep|>updated/profile.d/firefox-addon-sdk.sh #!/bin/bash addon_bin=cfx type cfx 2>&1 >/dev/null || return; # Trying to connect with nightly firefox_bin=/opt/firefox/firefox [[ -x $firefox_bin ]] && alia...
7e362a21e624861956ba4ee8bfdfc985fdae7342
profile.d/firefox-addon-sdk.sh
profile.d/firefox-addon-sdk.sh
Shell
<|file_sep|>original/src/elements/checkbox/checkbox.js ngDisabled: '=' }, template: '<div class="ui checkbox">' + '<input type="checkbox" ng-disabled="ngDisabled" ng-checked="isChecked">' + '<label ng-transclude></label>' + '</div>', link: f...
ngDisabled: '=' }, template: '<div class="ui checkbox">' + '<input type="checkbox" ng-disabled="ngDisabled" ng-checked="isChecked">' + '<label ng-transclude></label>' + '</div>', link: function(scope, element, attrs, ngModel) { ele...
<|file_sep|>original/src/elements/checkbox/checkbox.js ngDisabled: '=' }, template: '<div class="ui checkbox">' + '<input type="checkbox" ng-disabled="ngDisabled" ng-checked="isChecked">' + '<label ng-transclude></label>' + '</div>', link: f...
edf3b4cfeca1a23fbf13b18b8e0df0e945f088ae
src/elements/checkbox/checkbox.js
src/elements/checkbox/checkbox.js
JavaScript
<|file_sep|>original/zuul.d/project.yaml - project: name: openstack/openstack-ansible-lxc_hosts check: jobs: - openstack-ansible-linters - openstack-ansible-functional-centos-7 - openstack-ansible-functional-opensuse-423 - openstack-ansible-functional-ubuntu-xenial ...
# limitations under the License. - project: name: openstack/openstack-ansible-lxc_hosts check: jobs: - openstack-ansible-linters - openstack-ansible-functional-centos-7 - openstack-ansible-functional-opensuse-423 - openstack-ansible-functional-ubuntu-xenial - opens...
<|file_sep|>original/zuul.d/project.yaml - project: name: openstack/openstack-ansible-lxc_hosts check: jobs: - openstack-ansible-linters - openstack-ansible-functional-centos-7 - openstack-ansible-functional-opensuse-423 - openstack-ansible-functional-ubuntu-xenial ...
7b44043562228975328364abaedd9bbe02ddb0c2
zuul.d/project.yaml
zuul.d/project.yaml
YAML
<|file_sep|>glassy_dynamics/requirements.txt.diff original: gast==0.3.2 updated: gast==0.2.2 <|file_sep|>original/glassy_dynamics/requirements.txt gast==0.3.2 google-pasta==0.1.7 graph-nets==1.0.4 grpcio==1.24.1 h5py==2.10.0 Keras-Applications==1.0.8 Keras-Preprocessing==1.1.0 Markdown==3.1.1 mock==3.0.5 networkx==2.3 ...
gast==0.2.2 google-pasta==0.1.7 graph-nets==1.0.4 grpcio==1.24.1 h5py==2.10.0 Keras-Applications==1.0.8 Keras-Preprocessing==1.1.0 Markdown==3.1.1 mock==3.0.5 networkx==2.3 numpy==1.17.2 protobuf==3.10.0 semantic-version==2.8.2 six==1.12.0 tensorboard==1.15.0 tensorflow==1.15.0 tensorflow-estimator==1.15.1 tensorflow-p...
<|file_sep|>glassy_dynamics/requirements.txt.diff original: gast==0.3.2 updated: gast==0.2.2 <|file_sep|>original/glassy_dynamics/requirements.txt gast==0.3.2 google-pasta==0.1.7 graph-nets==1.0.4 grpcio==1.24.1 h5py==2.10.0 Keras-Applications==1.0.8 Keras-Preprocessing==1.1.0 Markdown==3.1.1 mock==3.0.5 networkx==2.3 ...
85187de3dc84ebbde0605cb55ac89e4419c87992
glassy_dynamics/requirements.txt
glassy_dynamics/requirements.txt
Text
<|file_sep|>lib/rbplusplus/builders/const.rb.diff original: updated: # If this constant is initialized in the header, we need to set the constant to the initialized value # If we just use the variable itself, Linux will fail to compile because the linker won't be able to # find the constant. ...
def write # If this constant is initialized in the header, we need to set the constant to the initialized value # If we just use the variable itself, Linux will fail to compile because the linker won't be able to # find the constant. set_to = if init = code.attributes["i...
<|file_sep|>lib/rbplusplus/builders/const.rb.diff original: updated: # If this constant is initialized in the header, we need to set the constant to the initialized value # If we just use the variable itself, Linux will fail to compile because the linker won't be able to # find the constant. ...
8e8e93843882468d1d1f832829049dd23b05d7f1
lib/rbplusplus/builders/const.rb
lib/rbplusplus/builders/const.rb
Ruby
<|file_sep|>original/global.json { "sdk": { "version": "7.0.100-preview.6.22352.1", "allowPrerelease": false, "rollForward": "latestMajor" } } <|file_sep|>current/global.json { "sdk": { "version": "7.0.100-preview.6.22352.1", "allowPrerelease": false, "rollForward": "latestMajor" } } <|f...
{ "sdk": { "version": "7.0.100-preview.7.22377.5", "allowPrerelease": false, "rollForward": "latestMajor" } }
<|file_sep|>original/global.json { "sdk": { "version": "7.0.100-preview.6.22352.1", "allowPrerelease": false, "rollForward": "latestMajor" } } <|file_sep|>current/global.json { "sdk": { "version": "7.0.100-preview.6.22352.1", "allowPrerelease": false, "rollForward": "latestMajor" } } <|f...
7f2fc508f6ac39c51825a468d455b535bcb87aa0
global.json
global.json
JSON
<|file_sep|>original/hiera.yaml :backends: - yaml - eyaml - module_data :yaml: :datadir: /etc/puppet/data :eyaml: :datadir: /etc/puppet/data :gpg_gnupghome: /root/.gnupg # The ASF specific variables below are created in facter with customfact module. :hierarchy: - "nodes/%{clientcert}" ...
:backends: - yaml - eyaml - module_data :yaml: :datadir: /etc/puppet/data :eyaml: :datadir: /etc/puppet/data :gpg_gnupghome: /root/.gnupg :gpg_always_trust: true # The ASF specific variables below are created in facter with customfact module. :hierarchy: - "nodes/%{clientcert}" - ...
<|file_sep|>original/hiera.yaml :backends: - yaml - eyaml - module_data :yaml: :datadir: /etc/puppet/data :eyaml: :datadir: /etc/puppet/data :gpg_gnupghome: /root/.gnupg # The ASF specific variables below are created in facter with customfact module. :hierarchy: - "nodes/%{clientcert}" ...
a89a410998e304b052dbdce46e377ce2782d2a9e
hiera.yaml
hiera.yaml
YAML
<|file_sep|>original/src/test/resources/logback-test.xml <?xml version="1.0" encoding="UTF-8"?> <configuration> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <encoder> <pattern>%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36}.%M\(%line\) -- %msg%n</pattern> <...
<?xml version="1.0" encoding="UTF-8"?> <configuration> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <encoder> <pattern>%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36}.%M\(%line\) -- %msg%n</pattern> </encoder> </appender> <logger name="io.github.bo...
<|file_sep|>original/src/test/resources/logback-test.xml <?xml version="1.0" encoding="UTF-8"?> <configuration> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <encoder> <pattern>%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36}.%M\(%line\) -- %msg%n</pattern> <...
fd9998ca234bb952f50a0c9e19626abb53b7f7f2
src/test/resources/logback-test.xml
src/test/resources/logback-test.xml
XML
<|file_sep|>original/_posts/2019-09-21-initialize-array-with-length.markdown <|file_sep|>current/_posts/2019-09-21-initialize-array-with-length.markdown <|file_sep|>updated/_posts/2019-09-21-initialize-array-with-length.markdown
--- layout: post title: "Initialize Array with Length" date: 2019-21-10 18:40:52 -0800 categories: javascript array --- Straight to the point.... ```node > Array.from({ length: 5 }) [ undefined, undefined, undefined, undefined, undefined ] ``` What?!? Yah....I know, right....
<|file_sep|>original/_posts/2019-09-21-initialize-array-with-length.markdown <|file_sep|>current/_posts/2019-09-21-initialize-array-with-length.markdown <|file_sep|>updated/_posts/2019-09-21-initialize-array-with-length.markdown --- layout: post title: "Initialize Array with Length" date: 2019-21-10 18:40:52 -0800 ca...
5d3475a022b352198a240a975cdf7b0cc309da93
_posts/2019-09-21-initialize-array-with-length.markdown
_posts/2019-09-21-initialize-array-with-length.markdown
Markdown
<|file_sep|>original/db/connect/connect.js /** * Created by Liam Vovk on 2017-05-04. */ require('dotenv').config() let mongoose = require('mongoose') let connectionString = require('../config/connection_string') mongoose.Promise = require('bluebird') module.exports = mongoose.connect(connectionString) <|file_sep|>c...
/** * Created by Liam Vovk on 2017-05-04. */ let mongoose = require('mongoose') let connectionString = require('../config/connection_string') mongoose.Promise = require('bluebird') module.exports = mongoose.connect(connectionString)
<|file_sep|>original/db/connect/connect.js /** * Created by Liam Vovk on 2017-05-04. */ require('dotenv').config() let mongoose = require('mongoose') let connectionString = require('../config/connection_string') mongoose.Promise = require('bluebird') module.exports = mongoose.connect(connectionString) <|file_sep|>c...
018b2cf5b4bf61d6b32b6568bdc09fd714edbce3
db/connect/connect.js
db/connect/connect.js
JavaScript
<|file_sep|>original/javascript/outer.coffee # Placeholder Polyfill # https://github.com/mathiasbynens/jquery-placeholder ($ window).load -> ($ 'input, textarea').placeholder(); <|file_sep|>current/javascript/outer.coffee # Placeholder Polyfill # https://github.com/mathiasbynens/jquery-placeholder ($ window).load -> ...
# Placeholder Polyfill # https://github.com/mathiasbynens/jquery-placeholder $(window).load -> $('input, textarea').placeholder()
<|file_sep|>original/javascript/outer.coffee # Placeholder Polyfill # https://github.com/mathiasbynens/jquery-placeholder ($ window).load -> ($ 'input, textarea').placeholder(); <|file_sep|>current/javascript/outer.coffee # Placeholder Polyfill # https://github.com/mathiasbynens/jquery-placeholder ($ window).load -> ...
e61aba978680eb9a058ea4b1a2fe8049ae921236
javascript/outer.coffee
javascript/outer.coffee
CoffeeScript
<|file_sep|>original/README.md # TripCheckins Swift application that helps you create a "trip view" for your Swarm checkins for particular time interval <|file_sep|>current/README.md # TripCheckins Swift application that helps you create a "trip view" for your Swarm checkins for particular time interval <|file_sep|>upd...
# TripCheckins - WIP Swift application that helps you create a "trip view" for your Swarm checkins for particular time interval. It fetches all of your last Swarm checkins or the ckeckins for a specific time period (currently up to 250 because paging is not implemented). # TODO ## Store trips * Add a title field to t...
<|file_sep|>original/README.md # TripCheckins Swift application that helps you create a "trip view" for your Swarm checkins for particular time interval <|file_sep|>current/README.md # TripCheckins Swift application that helps you create a "trip view" for your Swarm checkins for particular time interval <|file_sep|>upd...
8c2f5fde408e2b15d2b04d16ad00e34147297d76
README.md
README.md
Markdown
<|file_sep|>original/mini_perl_13.pl <|file_sep|>current/mini_perl_13.pl <|file_sep|>updated/mini_perl_13.pl
#!/usr/bin/perl @z=<>=~/\d+/g;++$i,$z[$i+1]=$z[$i]%$_,$z[$i]=int$z[$i]/$_ for 25,10,5;print"@z"
<|file_sep|>original/mini_perl_13.pl <|file_sep|>current/mini_perl_13.pl <|file_sep|>updated/mini_perl_13.pl #!/usr/bin/perl @z=<>=~/\d+/g;++$i,$z[$i+1]=$z[$i]%$_,$z[$i]=int$z[$i]/$_ for 25,10,5;print"@z"
b3ad8ee257cacf82bda6173b3a4aa9f1297864c4
mini_perl_13.pl
mini_perl_13.pl
Perl
<|file_sep|>src/main/java/jenkins/advancedqueue/PriorityConfigurationPlaceholderTaskHelper.java.diff original: updated: import hudson.Plugin; <|file_sep|>original/src/main/java/jenkins/advancedqueue/PriorityConfigurationPlaceholderTaskHelper.java import org.jenkinsci.plugins.workflow.support.steps.ExecutorStepExecutio...
class PriorityConfigurationPlaceholderTaskHelper { boolean isPlaceholderTask(Queue.Task task) { return isPlaceholderTaskUsed() && task instanceof ExecutorStepExecution.PlaceholderTask; } PriorityConfigurationCallback getPriority(ExecutorStepExecution.PlaceholderTask task, PriorityConfigurationCa...
<|file_sep|>src/main/java/jenkins/advancedqueue/PriorityConfigurationPlaceholderTaskHelper.java.diff original: updated: import hudson.Plugin; <|file_sep|>original/src/main/java/jenkins/advancedqueue/PriorityConfigurationPlaceholderTaskHelper.java import org.jenkinsci.plugins.workflow.support.steps.ExecutorStepExecutio...
172848227b1e24450dd681ac4b5b829981a96ade
src/main/java/jenkins/advancedqueue/PriorityConfigurationPlaceholderTaskHelper.java
src/main/java/jenkins/advancedqueue/PriorityConfigurationPlaceholderTaskHelper.java
Java
<|file_sep|>original/rakudo-star/content.md # How to use this image Simply running a container with the image will launch a Raku REPL: ```console $ docker run -it %%IMAGE%% > say 'Hello, Raku!' Hello, Raku! ``` You can also provide raku command line switches to `docker run`: ```console $ docker run -it %%IMAGE%% ra...
# How to use this image Simply running a container with the image will launch a Raku REPL: ```console $ docker run -it %%IMAGE%% > say 'Hello, Raku!' Hello, Raku! ``` You can also provide raku command line switches to `docker run`: ```console $ docker run -it %%IMAGE%% raku -e 'say "Hello!"' ``` # Contributing/Get...
<|file_sep|>original/rakudo-star/content.md # How to use this image Simply running a container with the image will launch a Raku REPL: ```console $ docker run -it %%IMAGE%% > say 'Hello, Raku!' Hello, Raku! ``` You can also provide raku command line switches to `docker run`: ```console $ docker run -it %%IMAGE%% ra...
0067765f524454806c2cfd64ab9015c6e0620b7d
rakudo-star/content.md
rakudo-star/content.md
Markdown
<|file_sep|>original/Sources/SwiftQueue/Constraints+UniqueUUID.swift import Foundation internal class UniqueUUIDConstraint: JobConstraint { class TaskAlreadyExist: ConstraintError {} func willSchedule(queue: SwiftQueue, operation: SwiftQueueJob) throws { let exist = queue.operations.contains { ...
import Foundation internal class UniqueUUIDConstraint: JobConstraint { class TaskAlreadyExist: ConstraintError {} func willSchedule(queue: SwiftQueue, operation: SwiftQueueJob) throws { for op in queue.operations where op.name == operation.uuid { throw TaskAlreadyExist() } } ...
<|file_sep|>original/Sources/SwiftQueue/Constraints+UniqueUUID.swift import Foundation internal class UniqueUUIDConstraint: JobConstraint { class TaskAlreadyExist: ConstraintError {} func willSchedule(queue: SwiftQueue, operation: SwiftQueueJob) throws { let exist = queue.operations.contains { ...
cdc89382ff47ac8e852dfc0ccd0882cd1b8b88a5
Sources/SwiftQueue/Constraints+UniqueUUID.swift
Sources/SwiftQueue/Constraints+UniqueUUID.swift
Swift
<|file_sep|>original/zerver/migrations/0386_fix_attachment_caches.py <|file_sep|>current/zerver/migrations/0386_fix_attachment_caches.py <|file_sep|>updated/zerver/migrations/0386_fix_attachment_caches.py
# Generated by Django 3.2.12 on 2022-03-23 04:32 from django.db import migrations, models from django.db.backends.postgresql.schema import DatabaseSchemaEditor from django.db.migrations.state import StateApps from django.db.models import Exists, Model, OuterRef def fix_attachment_caches(apps: StateApps, schema_edito...
<|file_sep|>original/zerver/migrations/0386_fix_attachment_caches.py <|file_sep|>current/zerver/migrations/0386_fix_attachment_caches.py <|file_sep|>updated/zerver/migrations/0386_fix_attachment_caches.py # Generated by Django 3.2.12 on 2022-03-23 04:32 from django.db import migrations, models from django.db.backend...
abea1f4598928fddf750358efcedbfaade019bf4
zerver/migrations/0386_fix_attachment_caches.py
zerver/migrations/0386_fix_attachment_caches.py
Python
<|file_sep|>original/doc/ci/examples/README.md # Build script examples + [Test and deploy Ruby Application to Heroku](test-and-deploy-ruby-application-to-heroku.md) + [Test and deploy Python Application to Heroku](test-and-deploy-python-application-to-heroku.md) + [Test Clojure applications](examples/test-clojure-appl...
# Build script examples + [Test and deploy Ruby applications to Heroku](test-and-deploy-ruby-application-to-heroku.md) + [Test and deploy Python applications to Heroku](test-and-deploy-python-application-to-heroku.md) + [Test Clojure applications](test-clojure-application.md)
<|file_sep|>original/doc/ci/examples/README.md # Build script examples + [Test and deploy Ruby Application to Heroku](test-and-deploy-ruby-application-to-heroku.md) + [Test and deploy Python Application to Heroku](test-and-deploy-python-application-to-heroku.md) + [Test Clojure applications](examples/test-clojure-appl...
31ea88cfed2580975f621a6aa992ac58405cb275
doc/ci/examples/README.md
doc/ci/examples/README.md
Markdown
<|file_sep|>2016/xml/rooms.xml.diff original: <title>Hallway outside the Hall of Service</title> updated: <title>Back of the Hall of Service</title> <|file_sep|>original/2016/xml/rooms.xml <room> <room_id>1</room_id> <title>Hall of Service</title> <color>#d1a42b</color> </room> <room> <roo...
<room> <room_id>1</room_id> <title>Hall of Service</title> <color>#d1a42b</color> </room> <room> <room_id>2</room_id> <title>Board of Governors</title> <color>#415976</color> </room> <room> <room_id>3</room_id> <title>Back of the Hall of Service</title> <color>#415976</colo...
<|file_sep|>2016/xml/rooms.xml.diff original: <title>Hallway outside the Hall of Service</title> updated: <title>Back of the Hall of Service</title> <|file_sep|>original/2016/xml/rooms.xml <room> <room_id>1</room_id> <title>Hall of Service</title> <color>#d1a42b</color> </room> <room> <roo...
f102f77624e5983d99fe6e4c3fa4a4667248c0c3
2016/xml/rooms.xml
2016/xml/rooms.xml
XML
<|file_sep|>src/main/java/de/retest/recheck/persistence/ClassAndMethodBasedNamingStrategy.java.diff original: + "Please instantiate RecheckImpl with RecheckOptions, and provide a different FileNamerStrategy." ) ); updated: + "Please call `suiteName(\"name\")` in RecheckImpl with RecheckOptions, giving an ex...
@Override public String getSuiteName() { return TestCaseFinder.getInstance() // .findTestCaseClassNameInStack() // .orElseThrow( () -> new IllegalStateException( "Couldn't identify test class in call stack.\n" + "This is needed to dynamically name the Golden Master files.\n " + "Please call `su...
<|file_sep|>src/main/java/de/retest/recheck/persistence/ClassAndMethodBasedNamingStrategy.java.diff original: + "Please instantiate RecheckImpl with RecheckOptions, and provide a different FileNamerStrategy." ) ); updated: + "Please call `suiteName(\"name\")` in RecheckImpl with RecheckOptions, giving an ex...
9774c9c2a61fa96e4d293906fe7573f4900abaf8
src/main/java/de/retest/recheck/persistence/ClassAndMethodBasedNamingStrategy.java
src/main/java/de/retest/recheck/persistence/ClassAndMethodBasedNamingStrategy.java
Java
<|file_sep|>.travis.yml.diff original: updated: env: - TEST_CONFIG="RELEASE" # - TEST_CONFIG="CARTHAGE" - TEST_CONFIG="PODS" <|file_sep|>.travis.yml.diff original: - gem install xcpretty-travis-formatter --no-rdoc --no-ri --no-document --quiet updated: - if [[ "$TEST_CONFIG" == "RELEASE" ]]; then ge...
language: objective-c osx_image: xcode7 env: - TEST_CONFIG="RELEASE" # - TEST_CONFIG="CARTHAGE" - TEST_CONFIG="PODS" before_install: - if [[ "$TEST_CONFIG" == "RELEASE" ]]; then gem install xcpretty-travis-formatter --no-rdoc --no-ri --no-document --quiet; fi - if [[ "$TEST_CONFIG" == "CARTHAGE" ]];...
<|file_sep|>.travis.yml.diff original: updated: env: - TEST_CONFIG="RELEASE" # - TEST_CONFIG="CARTHAGE" - TEST_CONFIG="PODS" <|file_sep|>.travis.yml.diff original: - gem install xcpretty-travis-formatter --no-rdoc --no-ri --no-document --quiet updated: - if [[ "$TEST_CONFIG" == "RELEASE" ]]; then ge...
c5dc8929b170f3f87b2650628704637a6332913e
.travis.yml
.travis.yml
YAML
<|file_sep|>original/party_prawn_submarine/messages/english.rb # Responsible for creating the dictionary of user messages in english. module English # Returns a Hash with all user messages in english. # # * *Returns* : # - Hash containing the user messages in english # * *Return* *Type* : # - Hash<Symbol, S...
# Responsible for creating the dictionary of user messages in english. module English # Returns a Hash with all user messages in english. # # * *Returns* : # - Hash containing the user messages in english # * *Return* *Type* : # - Hash<Symbol, String> def self.messages {:winner => "The winner is %s!", ...
<|file_sep|>original/party_prawn_submarine/messages/english.rb # Responsible for creating the dictionary of user messages in english. module English # Returns a Hash with all user messages in english. # # * *Returns* : # - Hash containing the user messages in english # * *Return* *Type* : # - Hash<Symbol, S...
8fb7a4f4b6c9e8bff9a8fa9e243a315ef89ac7fb
party_prawn_submarine/messages/english.rb
party_prawn_submarine/messages/english.rb
Ruby
<|file_sep|>original/get_google_token.py <|file_sep|>current/get_google_token.py <|file_sep|>updated/get_google_token.py
#!/usr/bin/env python import os import sys import webbrowser from oauth2client.client import OAuth2WebServerFlow def get_credentials(scopes): flow = OAuth2WebServerFlow( client_id=os.environ['GOOGLE_CLIENT_ID'], client_secret=os.environ['GOOGLE_CLIENT_SECRET'], scope=' '.join(scopes), ...
<|file_sep|>original/get_google_token.py <|file_sep|>current/get_google_token.py <|file_sep|>updated/get_google_token.py #!/usr/bin/env python import os import sys import webbrowser from oauth2client.client import OAuth2WebServerFlow def get_credentials(scopes): flow = OAuth2WebServerFlow( client_id=os...
15fec2dc39dbac26f006171b7a5d0547fb40f254
get_google_token.py
get_google_token.py
Python
<|file_sep|>index.html.diff original: <li><a href='#'>Projects <span class='arrow'>&#9660;</span></a> updated: <li><a href='#'>Projects <span class=</span></a> <|file_sep|>original/index.html <img class='img-circle' src='styles/images/rahmona.jpg'> </div> <div id='intro'> <h1>Rahmona He...
</div> <div id='intro'> <h1>Rahmona Henry</h1> </div> <div id='name'> <h2>Web Developer</h2> </div> <div id='links'> <ul> <li><a href='https://github.com/rahmona-henry'>GitHub</a></li> <li><a href='https://nz.linkedin.com/in/rahmona-henry-22b7b2121'>LinkedIn...
<|file_sep|>index.html.diff original: <li><a href='#'>Projects <span class='arrow'>&#9660;</span></a> updated: <li><a href='#'>Projects <span class=</span></a> <|file_sep|>original/index.html <img class='img-circle' src='styles/images/rahmona.jpg'> </div> <div id='intro'> <h1>Rahmona He...
d4569c195f0cb6a099b13027b86e4ef646427b8e
index.html
index.html
HTML
<|file_sep|>original/cisco_olt_http/tests/test_operations.py from cisco_olt_http import operations <|file_sep|>current/cisco_olt_http/tests/test_operations.py from cisco_olt_http import operations <|file_sep|>updated/cisco_olt_http/tests/test_operations.py
from cisco_olt_http import operations from cisco_olt_http.client import Client def test_get_data(): client = Client('http://base-url') show_equipment_op = operations.ShowEquipmentOp(client) op_data = show_equipment_op.get_data() assert op_data
<|file_sep|>original/cisco_olt_http/tests/test_operations.py from cisco_olt_http import operations <|file_sep|>current/cisco_olt_http/tests/test_operations.py from cisco_olt_http import operations <|file_sep|>updated/cisco_olt_http/tests/test_operations.py from cisco_olt_http import operations from cisco_olt_http.cl...
ad1203b9b93d1be499698807e2307413c20bb573
cisco_olt_http/tests/test_operations.py
cisco_olt_http/tests/test_operations.py
Python
<|file_sep|>original/views/search.jade each result in results .container .result .excerpt ul.default each highlighted in result.highlight.content li!= highlighted.replace(/(\r\n|\n|\r)/gm,"") .source strong= result.fields.title...
each result in results .container .result .excerpt ul.default each highlighted in result.highlight.content li!= highlighted.replace(/(\r\n|\n|\r)/gm,"") .source strong= result.fields.title br a(href='#')...
<|file_sep|>original/views/search.jade each result in results .container .result .excerpt ul.default each highlighted in result.highlight.content li!= highlighted.replace(/(\r\n|\n|\r)/gm,"") .source strong= result.fields.title...
7676537b084c0af28afd8c769a3766c61600f515
views/search.jade
views/search.jade
Jade
<|file_sep|>original/Cargo.toml [package] name = "capnp-rpc" version = "0.1.14" authors = [ "David Renshaw <dwrenshaw@sandstorm.io>" ] build = "build.rs" license = "MIT" description = "Experimental Cap'n Proto RPC layer" repository = "https://github.com/dwrensha/capnp-rpc-rust" [lib] name = "capnp-rpc" path = "src/l...
[package] name = "capnp-rpc" version = "0.1.14" authors = [ "David Renshaw <dwrenshaw@sandstorm.io>" ] build = "build.rs" license = "MIT" description = "Experimental Cap'n Proto RPC layer" repository = "https://github.com/dwrensha/capnp-rpc-rust" documentation = "http://docs.capnproto-rust.org" [lib] name = "capnp-r...
<|file_sep|>original/Cargo.toml [package] name = "capnp-rpc" version = "0.1.14" authors = [ "David Renshaw <dwrenshaw@sandstorm.io>" ] build = "build.rs" license = "MIT" description = "Experimental Cap'n Proto RPC layer" repository = "https://github.com/dwrensha/capnp-rpc-rust" [lib] name = "capnp-rpc" path = "src/l...
46e9c7f8ba039923bee3b1b862a6d78c79bfb08b
Cargo.toml
Cargo.toml
TOML
<|file_sep|>original/README.md * A levenshtein distance(edit distance) calculator. * Action costs ( del:insert:replace = 1:1:1 ) was defined to be equal. * Change the costs as you wish. * UTF8(CJK) supported and tested. * A Boyer\_moore search function. * Boyer\_moore search algorithm was used by GNU grep. * Boye...
* A levenshtein distance(edit distance) calculator. * Action costs ( del:insert:replace = 1:1:1 ) was defined to be equal. * Change the costs as you wish. * UTF8(CJK) supported and tested. * A Boyer\_moore search function. * Boyer\_moore search algorithm was used by GNU grep. * Boyer\_moore is even 3~5 times fast...
<|file_sep|>original/README.md * A levenshtein distance(edit distance) calculator. * Action costs ( del:insert:replace = 1:1:1 ) was defined to be equal. * Change the costs as you wish. * UTF8(CJK) supported and tested. * A Boyer\_moore search function. * Boyer\_moore search algorithm was used by GNU grep. * Boye...
e75e045e57200fc60bf98aa2cad3fb388846ab2f
README.md
README.md
Markdown
<|file_sep|>original/.github/workflows/gradle-wrapper-validation.yml <|file_sep|>current/.github/workflows/gradle-wrapper-validation.yml <|file_sep|>updated/.github/workflows/gradle-wrapper-validation.yml
name: "Validate Gradle Wrapper" on: [push, pull_request] jobs: validation: name: "Validation" runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: gradle/wrapper-validation-action@v1
<|file_sep|>original/.github/workflows/gradle-wrapper-validation.yml <|file_sep|>current/.github/workflows/gradle-wrapper-validation.yml <|file_sep|>updated/.github/workflows/gradle-wrapper-validation.yml name: "Validate Gradle Wrapper" on: [push, pull_request] jobs: validation: name: "Validation" runs-on:...
b6bd7e46de3b18ac3a2ab5068a369be894919412
.github/workflows/gradle-wrapper-validation.yml
.github/workflows/gradle-wrapper-validation.yml
YAML
<|file_sep|>original/recipes/ufmt/meta.yaml <|file_sep|>current/recipes/ufmt/meta.yaml <|file_sep|>updated/recipes/ufmt/meta.yaml
{% set name = "ufmt" %} {% set version = "2.0.1" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/ufmt-{{ version }}.tar.gz sha256: 7e4518e13507984998f5c7c9a0d3f59fe014ddc213bdb5cae8d11a6a8935db8c build: script: {{ PYTHON }} -m ...
<|file_sep|>original/recipes/ufmt/meta.yaml <|file_sep|>current/recipes/ufmt/meta.yaml <|file_sep|>updated/recipes/ufmt/meta.yaml {% set name = "ufmt" %} {% set version = "2.0.1" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/ufm...
b3a4627d4fbd5400666b121afb783cfbdd2bec94
recipes/ufmt/meta.yaml
recipes/ufmt/meta.yaml
YAML
<|file_sep|>original/fiddles/react/fiddle-0016-AgGridHelloWorld/package.json "@testing-library/jest-dom": "^5.11.9", "@testing-library/react": "^11.2.3", "@testing-library/user-event": "^12.6.0", "ag-grid-community": "^25.0.1", "ag-grid-react": "^25.0.1", "bootstrap": "^5.1.3", "jquery": "^3...
"@testing-library/jest-dom": "^5.11.9", "@testing-library/react": "^11.2.3", "@testing-library/user-event": "^12.6.0", "ag-grid-community": "^25.0.1", "ag-grid-react": "^25.0.1", "bootstrap": "^5.1.3", "jquery": "^3.6.0", "popper.js": "^1.16.1", "react": "^17.0.1", "react-dom": "...
<|file_sep|>original/fiddles/react/fiddle-0016-AgGridHelloWorld/package.json "@testing-library/jest-dom": "^5.11.9", "@testing-library/react": "^11.2.3", "@testing-library/user-event": "^12.6.0", "ag-grid-community": "^25.0.1", "ag-grid-react": "^25.0.1", "bootstrap": "^5.1.3", "jquery": "^3...
1927c3a4dd29b8dadf0a48515903975bebe543a7
fiddles/react/fiddle-0016-AgGridHelloWorld/package.json
fiddles/react/fiddle-0016-AgGridHelloWorld/package.json
JSON
<|file_sep|>original/app/client/views/shared/form.css .dropdown-header { font-size: 1.2em; font-weight: bold; } /* Simple Select tweaks */ .ss-main { padding: 0; border-color: #fff; } <|file_sep|>current/app/client/views/shared/form.css .dropdown-header { font-size: 1.2em; font-weight: bold; } /* Simple Sel...
.dropdown-header { font-size: 1.2em; font-weight: bold; } /* Simple Select tweaks */ .ss-main.form-control { padding: 0; border-color: #fff; }
<|file_sep|>original/app/client/views/shared/form.css .dropdown-header { font-size: 1.2em; font-weight: bold; } /* Simple Select tweaks */ .ss-main { padding: 0; border-color: #fff; } <|file_sep|>current/app/client/views/shared/form.css .dropdown-header { font-size: 1.2em; font-weight: bold; } /* Simple Sel...
d63d6a9dae14bb898d85fdf238df8f928cbb4af7
app/client/views/shared/form.css
app/client/views/shared/form.css
CSS
<|file_sep|>recipes/slclust/meta.yaml.diff original: skip: True # [osx] updated: <|file_sep|>recipes/slclust/meta.yaml.diff original: - gcc updated: - gcc # [linux] - llvm # [osx] <|file_sep|>original/recipes/slclust/meta.yaml build: number: 1 skip: True # [osx] requirements: build: - gcc ...
build: number: 1 requirements: build: - gcc # [linux] - llvm # [osx] - zlib run: - libgcc # [linux] - zlib test: commands: - slclust --help 2>&1 | grep jaccard > /dev/null about: home: https://sourceforge.net/projects/slclust/ license: Artistic License summary: A utility th...
<|file_sep|>recipes/slclust/meta.yaml.diff original: skip: True # [osx] updated: <|file_sep|>recipes/slclust/meta.yaml.diff original: - gcc updated: - gcc # [linux] - llvm # [osx] <|file_sep|>original/recipes/slclust/meta.yaml build: number: 1 skip: True # [osx] requirements: build: - gcc ...
2f654b0f9dee57ac9a9845b835ebe308b6df7e94
recipes/slclust/meta.yaml
recipes/slclust/meta.yaml
YAML
<|file_sep|>original/src/Result.js 'use strict' var chalk = require('chalk') var deepEqual = require('deep-equal') var indent = require('./indent') var os = require('os') const CHECK = '\u2713' const CROSS = '\u2717' const PASS_COLOR = 'green' const FAIL_COLOR = 'red' module.exports = class Result { constructor (r...
'use strict' var chalk = require('chalk') var deepEqual = require('deep-equal') var indent = require('./indent') var os = require('os') const CHECK = '✓' const CROSS = '✗' const PASS_COLOR = 'green' const FAIL_COLOR = 'red' module.exports = class Result { constructor (runnable, options) { options = options || ...
<|file_sep|>original/src/Result.js 'use strict' var chalk = require('chalk') var deepEqual = require('deep-equal') var indent = require('./indent') var os = require('os') const CHECK = '\u2713' const CROSS = '\u2717' const PASS_COLOR = 'green' const FAIL_COLOR = 'red' module.exports = class Result { constructor (r...
b27471e3ae289e4b3e97302ff7a5e9cc4ace59e8
src/Result.js
src/Result.js
JavaScript
<|file_sep|>original/src/lib/Library.qbs Product { Depends { name: "cpp" } Depends { name: "Qt"; submodules: ["core"] } version: Version.qbsVersion() type: Qt.core.staticBuild ? "staticlibrary" : "dynamiclibrary" targetName: (qbs.enableDebugCode && qbs.targetOS.contains("windows")) ? (name + 'd') :...
Product { Depends { name: "cpp" } Depends { name: "Qt"; submodules: ["core"] } version: Version.qbsVersion() type: Qt.core.staticBuild ? "staticlibrary" : "dynamiclibrary" targetName: (qbs.enableDebugCode && qbs.targetOS.contains("windows")) ? (name + 'd') : name destinationDirectory: qbs.targe...
<|file_sep|>original/src/lib/Library.qbs Product { Depends { name: "cpp" } Depends { name: "Qt"; submodules: ["core"] } version: Version.qbsVersion() type: Qt.core.staticBuild ? "staticlibrary" : "dynamiclibrary" targetName: (qbs.enableDebugCode && qbs.targetOS.contains("windows")) ? (name + 'd') :...
2f00db53c4d84076b16645066ae3cad46240d46f
src/lib/Library.qbs
src/lib/Library.qbs
QML
<|file_sep|>original/recipes/bioconductor-motiv/build.sh #!/bin/bash export INCLUDE_PATH="${PREFIX}/include" export LIBRARY_PATH="${PREFIX}/lib" export LD_LIBRARY_PATH="${PREFIX}/lib" export LDFLAGS="-L${PREFIX}/lib" export CPPFLAGS="-I${PREFIX}/include" # R refuses to build packages that mark themselves as # "Prior...
#!/bin/bash export LDFLAGS="-L${PREFIX}/lib -Wl,-rpath ${PREFIX}/lib" # R refuses to build packages that mark themselves as # "Priority: Recommended" mv DESCRIPTION DESCRIPTION.old grep -v '^Priority: ' DESCRIPTION.old > DESCRIPTION # $R CMD INSTALL --build . # # # Add more build steps here, if they are necessary. # ...
<|file_sep|>original/recipes/bioconductor-motiv/build.sh #!/bin/bash export INCLUDE_PATH="${PREFIX}/include" export LIBRARY_PATH="${PREFIX}/lib" export LD_LIBRARY_PATH="${PREFIX}/lib" export LDFLAGS="-L${PREFIX}/lib" export CPPFLAGS="-I${PREFIX}/include" # R refuses to build packages that mark themselves as # "Prior...
c01d77f3bcd3094eac546bb83c3d964130731b16
recipes/bioconductor-motiv/build.sh
recipes/bioconductor-motiv/build.sh
Shell
<|file_sep|>original/constant_listener/pyspeechTest.py from pyspeech import best_speech_result import unittest from pyaudio import PyAudio import Queue class PyspeechTest(unittest.TestCase): def setUp(self): self.p = PyAudio() def test_google_stt(self): good_morning = open('example_wavs/good_morning.wav',...
def test_google_stt(self): good_morning = open('example_wavs/good_morning.wav', 'rb') output = best_speech_result(self.p, good_morning.read(), {}, "google") self.assertEqual(output, "good morning") hello_world = open('example_wavs/hello_world.wav', 'rb') output = best_speech_result(self.p, hello...
<|file_sep|>original/constant_listener/pyspeechTest.py from pyspeech import best_speech_result import unittest from pyaudio import PyAudio import Queue class PyspeechTest(unittest.TestCase): def setUp(self): self.p = PyAudio() def test_google_stt(self): good_morning = open('example_wavs/good_morning.wav',...
fcf52a1d427d2e89031480f747374860f64c45ff
constant_listener/pyspeechTest.py
constant_listener/pyspeechTest.py
Python
<|file_sep|>original/bower.json ], "description": "Live, controllable graphics system rendered in a browser", "dependencies": { "draggabilly": "~1.2.3", "packery": "~1.4.1", "imagesloaded": "~3.1.5", "cryptojslib": "~3.1.2", "obs-remote": "^1.0.0", "cookies-js": "~1.2.1", "zeroclipboar...
], "description": "Live, controllable graphics system rendered in a browser", "dependencies": { "draggabilly": "~1.2.3", "packery": "~1.4.1", "imagesloaded": "~3.1.5", "cryptojslib": "~3.1.2", "obs-remote": "^1.0.0", "cookies-js": "~1.2.1", "zeroclipboard": "~2.2.0", "paper-element...
<|file_sep|>original/bower.json ], "description": "Live, controllable graphics system rendered in a browser", "dependencies": { "draggabilly": "~1.2.3", "packery": "~1.4.1", "imagesloaded": "~3.1.5", "cryptojslib": "~3.1.2", "obs-remote": "^1.0.0", "cookies-js": "~1.2.1", "zeroclipboar...
d5791a0db6ba80d36d944f77f42b72ed14651468
bower.json
bower.json
JSON
<|file_sep|>Sources/Task/ResultRecovery.swift.diff original: @_inlineable updated: <|file_sep|>original/Sources/Task/ResultRecovery.swift return .failure(error) } case .failure(let error): return .failure(error) } } /// Evaluates the `transform` for ...
} case .failure(let error): return .failure(error) } } /// Evaluates the `transform` for a success result, passing its unwrapped /// value as the parameter, to derive a new result. /// /// Use `flatMap` with a closure that itself returns a result. public ...
<|file_sep|>Sources/Task/ResultRecovery.swift.diff original: @_inlineable updated: <|file_sep|>original/Sources/Task/ResultRecovery.swift return .failure(error) } case .failure(let error): return .failure(error) } } /// Evaluates the `transform` for ...
ab64f0af39e8d2839add43791ed3b4935d7ad695
Sources/Task/ResultRecovery.swift
Sources/Task/ResultRecovery.swift
Swift
<|file_sep|>lib/tado.rb.diff original: base_uri 'https://my.tado.com/mobile/1.4' updated: <|file_sep|>lib/tado.rb.diff original: def initialize(username, password) updated: def initialize(username, password, api_version) <|file_sep|>original/lib/tado.rb require 'httparty' require 'json' class Tado include HTT...
require 'httparty' require 'json' class Tado include HTTParty def initialize(username, password, api_version) @username = username @password = password @default_options = { query: { username: @username, password: @password } } self.class.base_uri "https://my.tado.com/mobile/#{api_version}" end ...
<|file_sep|>lib/tado.rb.diff original: base_uri 'https://my.tado.com/mobile/1.4' updated: <|file_sep|>lib/tado.rb.diff original: def initialize(username, password) updated: def initialize(username, password, api_version) <|file_sep|>original/lib/tado.rb require 'httparty' require 'json' class Tado include HTT...
30a94ad999d4a5dba8ebed617cb5643b02e5c786
lib/tado.rb
lib/tado.rb
Ruby
<|file_sep|>original/app/templates/src/main/java/package/service/_AuditEventService.java @Transactional public class AuditEventService { @Inject private PersistenceAuditEventRepository persistenceAuditEventRepository; @Inject private AuditEventConverter auditEventConverter; public List<AuditEvent...
@Transactional public class AuditEventService { @Inject private PersistenceAuditEventRepository persistenceAuditEventRepository; @Inject private AuditEventConverter auditEventConverter; public List<AuditEvent> findAll() { return auditEventConverter.convertToAuditEvent(persistenceAuditEven...
<|file_sep|>original/app/templates/src/main/java/package/service/_AuditEventService.java @Transactional public class AuditEventService { @Inject private PersistenceAuditEventRepository persistenceAuditEventRepository; @Inject private AuditEventConverter auditEventConverter; public List<AuditEvent...
b4073cd21954c632884b284967bbe1fd781cc109
app/templates/src/main/java/package/service/_AuditEventService.java
app/templates/src/main/java/package/service/_AuditEventService.java
Java