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|>README.md.diff original: No database, just PHP & less CSS : updated: No database, just plain PHP & LESS css. ### Requirements This project requires PHP and NodeJS to compile LESS css. PHP should be easy enough to install or already provided on your OS. Regarding NodeJS, few hints for the newcomers : - ...
Then install project dependencies (less, autoless, etc) : npm install ### Quick start ./node_modules/autoless/bin/autoless css/less/ css/ php -S localhost:8000 ## Deployment Setup : git remote add heroku git@heroku.com:piquenique.git heroku config:push Deployment : git push heroku maste...
<|file_sep|>README.md.diff original: No database, just PHP & less CSS : updated: No database, just plain PHP & LESS css. ### Requirements This project requires PHP and NodeJS to compile LESS css. PHP should be easy enough to install or already provided on your OS. Regarding NodeJS, few hints for the newcomers : - ...
856e848907909f15712b8bdad033827e097936d9
README.md
README.md
Markdown
<|file_sep|>findaconf/tests/test_site_routes.py.diff original: updated: <|file_sep|>findaconf/tests/test_site_routes.py.diff original: updated: <|file_sep|>findaconf/tests/test_site_routes.py.diff original: updated: # test if are links to oauth/oauth2 providers providers = app....
assert resp.mimetype == 'text/html' # test if are links to oauth/oauth2 providers providers = app.config['OAUTH_CREDENTIALS'].keys() for provider in providers: assert 'href="/login/{}'.format(provider) in resp.data # test if is there a link to login in the home page...
<|file_sep|>findaconf/tests/test_site_routes.py.diff original: updated: <|file_sep|>findaconf/tests/test_site_routes.py.diff original: updated: <|file_sep|>findaconf/tests/test_site_routes.py.diff original: updated: # test if are links to oauth/oauth2 providers providers = app....
76abc1d6043a509418027c618d16c5a38502f2f2
findaconf/tests/test_site_routes.py
findaconf/tests/test_site_routes.py
Python
<|file_sep|>test/CodeGenCXX/new-operator-phi.cpp.diff original: updated: #include <stddef.h> <|file_sep|>original/test/CodeGenCXX/new-operator-phi.cpp // RUN: clang-cc -emit-llvm-only -verify %s // PR5454 class X {static void * operator new(unsigned long size) throw(); X(int); }; int a(), b(); void b(int x) { new X...
// RUN: clang-cc -emit-llvm-only -verify %s // PR5454 #include <stddef.h> class X {static void * operator new(size_t size) throw(); X(int); }; int a(), b(); void b(int x) { new X(x ? a() : b()); }
<|file_sep|>test/CodeGenCXX/new-operator-phi.cpp.diff original: updated: #include <stddef.h> <|file_sep|>original/test/CodeGenCXX/new-operator-phi.cpp // RUN: clang-cc -emit-llvm-only -verify %s // PR5454 class X {static void * operator new(unsigned long size) throw(); X(int); }; int a(), b(); void b(int x) { new X...
f42d74f41076542fc9b4f4d5fa034dfa93b3c916
test/CodeGenCXX/new-operator-phi.cpp
test/CodeGenCXX/new-operator-phi.cpp
C++
<|file_sep|>original/app/helpers/camaleon_cms/admin/breadcrumb_helper.rb module CamaleonCms::Admin::BreadcrumbHelper # draw the title for the admin admin panel according the breadcrumb def cama_admin_title_draw res = [t("camaleon_cms.admin.sidebar_top.admin_panel")] @breadcrumbs.reverse.slice(0, 2).reverse....
module CamaleonCms::Admin::BreadcrumbHelper # draw the title for the admin admin panel according the breadcrumb def cama_admin_title_draw res = [t("camaleon_cms.admin.sidebar_top.admin_panel")] breadcrumbs.reverse.slice(0, 2).reverse.each{|b| res << (b.is_a?(Hash) ? b[:name] : b.name) } res.join(" &raqu...
<|file_sep|>original/app/helpers/camaleon_cms/admin/breadcrumb_helper.rb module CamaleonCms::Admin::BreadcrumbHelper # draw the title for the admin admin panel according the breadcrumb def cama_admin_title_draw res = [t("camaleon_cms.admin.sidebar_top.admin_panel")] @breadcrumbs.reverse.slice(0, 2).reverse....
a8359e078279a04375b349c8a1b132c665127b59
app/helpers/camaleon_cms/admin/breadcrumb_helper.rb
app/helpers/camaleon_cms/admin/breadcrumb_helper.rb
Ruby
<|file_sep|>original/nose2/tests/_common.py <|file_sep|>current/nose2/tests/_common.py <|file_sep|>updated/nose2/tests/_common.py
"""Common functionality.""" import os.path import tempfile import shutil import sys class TestCase(unittest2.TestCase): """TestCase extension. If the class variable _RUN_IN_TEMP is True (default: False), tests will be performed in a temporary directory, which is deleted afterwards. """ _RUN_IN...
<|file_sep|>original/nose2/tests/_common.py <|file_sep|>current/nose2/tests/_common.py <|file_sep|>updated/nose2/tests/_common.py """Common functionality.""" import os.path import tempfile import shutil import sys class TestCase(unittest2.TestCase): """TestCase extension. If the class variable _RUN_IN_T...
a15e363718ab41c5e02b9eaa919fb689cd266af6
nose2/tests/_common.py
nose2/tests/_common.py
Python
<|file_sep|>src/mount-share.js.diff original: return resolve(); updated: return resolve(mountPath); <|file_sep|>original/src/mount-share.js if (fileExists(err)) { return resolve(); } if (err.message.indexOf(password) >= 0) { err...
if (fileExists(err)) { return resolve(mountPath); } if (err.message.indexOf(password) >= 0) { err.message = err.message.replace(password, '********'); } return reject(err); } resolve(mountPath); }); ...
<|file_sep|>src/mount-share.js.diff original: return resolve(); updated: return resolve(mountPath); <|file_sep|>original/src/mount-share.js if (fileExists(err)) { return resolve(); } if (err.message.indexOf(password) >= 0) { err...
27f563c3d2b74d460e002d960e143ddb78475313
src/mount-share.js
src/mount-share.js
JavaScript
<|file_sep|>original/.travis.yml language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - hhvm before_script: - travis_retry composer self-update - travis_retry composer install --prefer-source --no-interaction script: - composer test <|file_sep|>current/.travis.yml language: php php: - 5.4 - 5.5 - 5.6 ...
language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - nightly - hhvm before_script: - travis_retry composer self-update - travis_retry composer install --prefer-source --no-interaction script: - composer test
<|file_sep|>original/.travis.yml language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - hhvm before_script: - travis_retry composer self-update - travis_retry composer install --prefer-source --no-interaction script: - composer test <|file_sep|>current/.travis.yml language: php php: - 5.4 - 5.5 - 5.6 ...
31b83a5fe8d0f30664f0e10c6ec62b6738a5cbd4
.travis.yml
.travis.yml
YAML
<|file_sep|>original/run-chip-verilator-sim.sh <|file_sep|>current/run-chip-verilator-sim.sh <|file_sep|>updated/run-chip-verilator-sim.sh
#! /bin/bash # Run verilator testbench simulation. if [[ $# -lt 4 || $1 == "--help" ]]; then echo "Usage: run-chip-verilator-sim.sh <verilator testbech> <rom binary> <flash binary> <otp binary> [OPTIONS]" exit 0 fi VCHIP_TB=$1 ROM_BIN=$2 FLASH_BIN=$3 OTP_BIN=$4 shift 4 if [[ ! -f $(realpath ${VCHIP_TB}) ]]; the...
<|file_sep|>original/run-chip-verilator-sim.sh <|file_sep|>current/run-chip-verilator-sim.sh <|file_sep|>updated/run-chip-verilator-sim.sh #! /bin/bash # Run verilator testbench simulation. if [[ $# -lt 4 || $1 == "--help" ]]; then echo "Usage: run-chip-verilator-sim.sh <verilator testbech> <rom binary> <flash bin...
ec9b5d025828a5763c420b92f5435b01917f5437
run-chip-verilator-sim.sh
run-chip-verilator-sim.sh
Shell
<|file_sep|>original/ci/build.sh set -ex COMPILER="$1" RELEASE="$2" ABI="$3" BLOSC="$4" mkdir build cd build cmake \ -DCMAKE_CXX_COMPILER=${COMPILER} \ -DCMAKE_BUILD_TYPE=${RELEASE} \ -DOPENVDB_ABI_VERSION_NUMBER=${ABI} \ -DUSE_BLOSC=${BLOSC} \ -DOPENVDB_CXX_STRICT=ON \ -DOPENVDB_BUILD_UNITTES...
COMPILER="$1" RELEASE="$2" ABI="$3" BLOSC="$4" mkdir build cd build cmake \ -DCMAKE_CXX_COMPILER=${COMPILER} \ -DCMAKE_BUILD_TYPE=${RELEASE} \ -DOPENVDB_ABI_VERSION_NUMBER=${ABI} \ -DOPENVDB_USE_DEPRECATED_ABI=ON \ -DUSE_BLOSC=${BLOSC} \ -DOPENVDB_CXX_STRICT=ON \ -DOPENVDB_BUILD_UNITTESTS=...
<|file_sep|>original/ci/build.sh set -ex COMPILER="$1" RELEASE="$2" ABI="$3" BLOSC="$4" mkdir build cd build cmake \ -DCMAKE_CXX_COMPILER=${COMPILER} \ -DCMAKE_BUILD_TYPE=${RELEASE} \ -DOPENVDB_ABI_VERSION_NUMBER=${ABI} \ -DUSE_BLOSC=${BLOSC} \ -DOPENVDB_CXX_STRICT=ON \ -DOPENVDB_BUILD_UNITTES...
7eccd4d953ad32d7add4b979a4364186112f1bec
ci/build.sh
ci/build.sh
Shell
<|file_sep|>original/src/browser/chromeApp/index.js chrome.app.runtime.onLaunched.addListener(function() { chrome.app.window.create('window.html', { 'state': 'maximized' // More parameters: https://developer.chrome.com/apps/app_window#CreateWindowOptions }); }); <|file_sep|>current/src/browser/chromeApp/ind...
import configureStore from '../../app/store/configureStore'; const store = configureStore({counter: {count: 0}}, true); chrome.app.runtime.onLaunched.addListener(function() { chrome.app.window.create('window.html', { 'state': 'maximized' // More parameters: https://developer.chrome.com/apps/app_window#Create...
<|file_sep|>original/src/browser/chromeApp/index.js chrome.app.runtime.onLaunched.addListener(function() { chrome.app.window.create('window.html', { 'state': 'maximized' // More parameters: https://developer.chrome.com/apps/app_window#CreateWindowOptions }); }); <|file_sep|>current/src/browser/chromeApp/ind...
f5a5bc7a9f665d745ccf6d72e44b39a9b77d4167
src/browser/chromeApp/index.js
src/browser/chromeApp/index.js
JavaScript
<|file_sep|>original/README.markdown Wikimapia API clients ===================== [Wikimapia.org] gives you an extensive set of functions that can be used in your websites and applications for accumulated geographic data. All data that is available to you through the API are open and accessible to non-commercial use. ...
Wikimapia API clients [![Build Status](https://secure.travis-ci.org/Sannis/wikimapia-api-clients.png?branch=master)](http://travis-ci.org/Sannis/wikimapia-api-clients) ===================== [Wikimapia.org] gives you an extensive set of functions that can be used in your websites and applications for accumulated geogra...
<|file_sep|>original/README.markdown Wikimapia API clients ===================== [Wikimapia.org] gives you an extensive set of functions that can be used in your websites and applications for accumulated geographic data. All data that is available to you through the API are open and accessible to non-commercial use. ...
e88f165248727ef817452a04b3ad88aa3d029bb7
README.markdown
README.markdown
Markdown
<|file_sep|>original/db/migrate/20141120183514_populate_aleph_id_from_user_attributes.rb class PopulateAlephIdFromUserAttributes < ActiveRecord::Migration def up say_with_time "Migrating Aleph ID." do User.all.each do |user| User.class_eval { serialize :user_attributes } user.update_attribut...
class PopulateAlephIdFromUserAttributes < ActiveRecord::Migration def up say_with_time "Migrating Aleph ID." do User.all.each do |user| User.class_eval { serialize :user_attributes } unless user.user_attributes.blank? user.update_attribute :aleph_id, user.user_attributes[:nyuidn] u...
<|file_sep|>original/db/migrate/20141120183514_populate_aleph_id_from_user_attributes.rb class PopulateAlephIdFromUserAttributes < ActiveRecord::Migration def up say_with_time "Migrating Aleph ID." do User.all.each do |user| User.class_eval { serialize :user_attributes } user.update_attribut...
e0a9e66e405eafb2733bc215ebcfacfee0458899
db/migrate/20141120183514_populate_aleph_id_from_user_attributes.rb
db/migrate/20141120183514_populate_aleph_id_from_user_attributes.rb
Ruby
<|file_sep|>original/package.json "body-parser": "^1.12.2", "express": "^4.12.3", "lodash": "^2.4.1", "minimist": "^1.1.0", "protractor-elementor": "^2.0.0", "q": "^1.2.0", "temp": "^0.8.1" }, "devDependencies": { "jasmine-node": "^1.14.5", "q": "^1.2.0", "request": "^2.53.0"...
"body-parser": "^1.12.2", "express": "^4.12.3", "lodash": "^2.4.1", "minimist": "^1.1.0", "protractor-elementor": "^2.0.0", "q": "^1.2.0", "temp": "^0.8.1" }, "devDependencies": { "jasmine-node": "^1.14.5", "request": "^2.53.0" }, "scripts": { "test": "echo \"Error: no te...
<|file_sep|>original/package.json "body-parser": "^1.12.2", "express": "^4.12.3", "lodash": "^2.4.1", "minimist": "^1.1.0", "protractor-elementor": "^2.0.0", "q": "^1.2.0", "temp": "^0.8.1" }, "devDependencies": { "jasmine-node": "^1.14.5", "q": "^1.2.0", "request": "^2.53.0"...
8aef63fc9f397228b6ed74a9fec3613019351b17
package.json
package.json
JSON
<|file_sep|>original/lib/fpm/cookery/source_handler/local_path.rb <|file_sep|>current/lib/fpm/cookery/source_handler/local_path.rb <|file_sep|>updated/lib/fpm/cookery/source_handler/local_path.rb
require 'fpm/cookery/source_handler/template' require 'fpm/cookery/log' require 'fileutils' module FPM module Cookery class SourceHandler class LocalPath < FPM::Cookery::SourceHandler::Template CHECKSUM = false NAME = :local_path def fetch # No need to fetch anything. The...
<|file_sep|>original/lib/fpm/cookery/source_handler/local_path.rb <|file_sep|>current/lib/fpm/cookery/source_handler/local_path.rb <|file_sep|>updated/lib/fpm/cookery/source_handler/local_path.rb require 'fpm/cookery/source_handler/template' require 'fpm/cookery/log' require 'fileutils' module FPM module Cookery ...
3e6c7c886feabed9530adeb09ac1888f7fab91d5
lib/fpm/cookery/source_handler/local_path.rb
lib/fpm/cookery/source_handler/local_path.rb
Ruby
<|file_sep|>pwndbg/inthook.py.diff original: _int = builtins.int # We need this class to get isinstance(7, xint) to return True class IsAnInt(type): def __instancecheck__(self, other): return isinstance(other, _int) class xint(builtins.int): __metaclass__ = IsAnInt ...
import sys import gdb import pwndbg.typeinfo if sys.version_info < (3,0): import __builtin__ as builtins else: import builtins _int = builtins.int # We need this class to get isinstance(7, xint) to return True class IsAnInt(type): def __instancecheck__(self, other): return isinstance(other, _in...
<|file_sep|>pwndbg/inthook.py.diff original: _int = builtins.int # We need this class to get isinstance(7, xint) to return True class IsAnInt(type): def __instancecheck__(self, other): return isinstance(other, _int) class xint(builtins.int): __metaclass__ = IsAnInt ...
d0ec3ee9b974fb6956c32e8dfdd6d20ea4da7cff
pwndbg/inthook.py
pwndbg/inthook.py
Python
<|file_sep|>original/README.rst =============================================== Middleware for OpenStack Telemetry (Ceilometer) =============================================== This library provides middleware modules designed to enable metric and event data generation to be consumed by Ceilometer. For information on ...
=============================================== Middleware for OpenStack Telemetry (Ceilometer) =============================================== This library provides middleware modules designed to enable metric and event data generation to be consumed by Ceilometer. For information on contributing, see ``CONTRIBUTING...
<|file_sep|>original/README.rst =============================================== Middleware for OpenStack Telemetry (Ceilometer) =============================================== This library provides middleware modules designed to enable metric and event data generation to be consumed by Ceilometer. For information on ...
20de09b93907c36da5f2da76071ee8eeb89fec8e
README.rst
README.rst
reStructuredText
<|file_sep|>original/src/JwtAuth/JwtAuthServiceProvider.php <?php namespace JwtAuth; use Illuminate\Support\ServiceProvider; class JwtAuthServiceProvider extends ServiceProvider { /** * Indicates if loading of the provider is deferred. * * @var bool */ protected $defer = false; /** ...
<?php namespace JwtAuth; use ReflectionClass; use Illuminate\Foundation\AliasLoader; use Illuminate\Support\ServiceProvider; class JwtAuthServiceProvider extends ServiceProvider { /** * Indicates if loading of the provider is deferred. * * @var bool */ protected $defer = false; /** ...
<|file_sep|>original/src/JwtAuth/JwtAuthServiceProvider.php <?php namespace JwtAuth; use Illuminate\Support\ServiceProvider; class JwtAuthServiceProvider extends ServiceProvider { /** * Indicates if loading of the provider is deferred. * * @var bool */ protected $defer = false; /** ...
8712c44f89e4dc2b9343823ce98c99107c9202bb
src/JwtAuth/JwtAuthServiceProvider.php
src/JwtAuth/JwtAuthServiceProvider.php
PHP
<|file_sep|>scripts/fetch_movie_data.php.diff original: require_once('../public/index.php'); updated: require_once(dirname(__FILE__) . '/../public/index.php'); <|file_sep|>scripts/fetch_movie_data.php.diff original: updated: $count = 0; $total = $movies->count(); <|file_sep|>original/scripts/fetch_movie_data.php <?php...
/** * This script fetch data from IMDb for all movies currently in our database and save it. * It will overwrite existing data (update). */ require_once(dirname(__FILE__) . '/../public/index.php'); $movies = Default_Model_MovieMapper::fetchAll(); $count = 0; $total = $movies->count(); foreach ($movies as $movie) ...
<|file_sep|>scripts/fetch_movie_data.php.diff original: require_once('../public/index.php'); updated: require_once(dirname(__FILE__) . '/../public/index.php'); <|file_sep|>scripts/fetch_movie_data.php.diff original: updated: $count = 0; $total = $movies->count(); <|file_sep|>original/scripts/fetch_movie_data.php <?php...
229b255c40760921ff107fdfa82db00f58c702f9
scripts/fetch_movie_data.php
scripts/fetch_movie_data.php
PHP
<|file_sep|>original/users/views.py return super(CSRFExemptMixin, self).dispatch(*args, **kwargs) class UserAddLocationView(CSRFExemptMixin, View): def post(self, request, *args, **kwargs): logger.debug(request.POST) lat = request.POST.get('lat', '') lon = request.POST.get('lon', '...
class UserAddLocationView(CSRFExemptMixin, View): def post(self, request, *args, **kwargs): logger.debug(request.POST) lat = request.POST.get('lat', '') lon = request.POST.get('lon', '') logger.debug("Latitude: {0} and longitude: {1}".format(lat, lon)) # adds the lation obj...
<|file_sep|>original/users/views.py return super(CSRFExemptMixin, self).dispatch(*args, **kwargs) class UserAddLocationView(CSRFExemptMixin, View): def post(self, request, *args, **kwargs): logger.debug(request.POST) lat = request.POST.get('lat', '') lon = request.POST.get('lon', '...
0d8c37cb0ebdc88c11be60e856677ac090aeea49
users/views.py
users/views.py
Python
<|file_sep|>tasks/main.yml.diff original: command: mkdir {{ vsftpd_user_config_dir }} creates={{ vsftpd_user_config_dir }} updated: file: path: "{{ vsftpd_user_config_dir }}" owner: root group: root state: directory <|file_sep|>original/tasks/main.yml - name: create directory for user configuration...
- name: create directory for user configuration file: path: "{{ vsftpd_user_config_dir }}" owner: root group: root state: directory - name: reate directory for key local_root from vsftpd.conf file: path: "{{ vsftpd_local_root }}" owner: root group: root state: directory - name: co...
<|file_sep|>tasks/main.yml.diff original: command: mkdir {{ vsftpd_user_config_dir }} creates={{ vsftpd_user_config_dir }} updated: file: path: "{{ vsftpd_user_config_dir }}" owner: root group: root state: directory <|file_sep|>original/tasks/main.yml - name: create directory for user configuration...
9dd517edb6611abd4ac5316705d4279aa396dda1
tasks/main.yml
tasks/main.yml
YAML
<|file_sep|>original/_sections/inf3/iaml.md --- year: 3 semester: 1 credits: 20 archived: false title: IAML - Introductory Applied Machine Learning course-acronym: iaml links: --- - <u>See shared drive for some unofficial solutions.</u> - An amazing online course at Caltech by Yaser Abu-Mostafa - [link](http://work.ca...
--- year: 3 semester: 1 credits: 20 archived: false title: IAML - Introductory Applied Machine Learning course-acronym: iaml links: --- - <u>See shared drive for some unofficial solutions.</u> - An amazing online course at Caltech by Yaser Abu-Mostafa - [link](http://work.caltech.edu/previous.html) - A very detailed y...
<|file_sep|>original/_sections/inf3/iaml.md --- year: 3 semester: 1 credits: 20 archived: false title: IAML - Introductory Applied Machine Learning course-acronym: iaml links: --- - <u>See shared drive for some unofficial solutions.</u> - An amazing online course at Caltech by Yaser Abu-Mostafa - [link](http://work.ca...
30e91c92389ddba1d75bbde7305b467bfcb331e2
_sections/inf3/iaml.md
_sections/inf3/iaml.md
Markdown
<|file_sep|>original/.travis.yml language: php php: - 5.3 - 5.4 before_script: - wget http://getcomposer.org/composer.phar - php composer.phar install script: - vendor/bin/atoum <|file_sep|>current/.travis.yml language: php php: - 5.3 - 5.4 before_script: - wget http://getcomposer.org/composer.phar...
language: php php: - 5.3 - 5.4 before_script: - echo "extension = memcache.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini - wget http://getcomposer.org/composer.phar - php composer.phar install script: - vendor/bin/atoum
<|file_sep|>original/.travis.yml language: php php: - 5.3 - 5.4 before_script: - wget http://getcomposer.org/composer.phar - php composer.phar install script: - vendor/bin/atoum <|file_sep|>current/.travis.yml language: php php: - 5.3 - 5.4 before_script: - wget http://getcomposer.org/composer.phar...
ec9a7cdd832bc19dbff3e3001cd42dc4e14d5b14
.travis.yml
.travis.yml
YAML
<|file_sep|>Documentation/Colours.playground/section-2.swift.diff original: let hex = digit | lower | upper let hex2 = (hex ++ hex |> map { $0 + $1 }) updated: let hex = digit <|> lower <|> upper let hex2 = hex <*> hex |> map { $0 + $1 } <|file_sep|>original/Documentation/Colours.playground/section-2.swift let digit = ...
let digit = %("0"..."9") let lower = %("a"..."f") let upper = %("A"..."F") let hex = digit <|> lower <|> upper let hex2 = hex <*> hex |> map { $0 + $1 } let component1: Parser<String, CGFloat>.Function = hex |> map { toComponent($0 + $0) } let component2: Parser<String, CGFloat>.Function = toComponent <^> hex2 let thre...
<|file_sep|>Documentation/Colours.playground/section-2.swift.diff original: let hex = digit | lower | upper let hex2 = (hex ++ hex |> map { $0 + $1 }) updated: let hex = digit <|> lower <|> upper let hex2 = hex <*> hex |> map { $0 + $1 } <|file_sep|>original/Documentation/Colours.playground/section-2.swift let digit = ...
9851f3a2446ea28272adfbfcf8ac8f31660b0ef3
Documentation/Colours.playground/section-2.swift
Documentation/Colours.playground/section-2.swift
Swift
<|file_sep|>app/views/forem/topics/show.html.erb.diff original: <h2> updated: <|file_sep|>original/app/views/forem/topics/show.html.erb <div id='topic' class='<%= @topic.locked? ? 'locked' : 'unlocked' %>'> <h2> <h2><%= link_to t('forem.forum.forums'), forums_path %> &raquo; <%= link_to @topic.forum.title, @topi...
<div id='topic' class='<%= @topic.locked? ? 'locked' : 'unlocked' %>'> <h2><%= link_to t('forem.forum.forums'), forums_path %> &raquo; <%= link_to @topic.forum.title, @topic.forum %> &raquo; <%= @topic.subject %></h2> <menu> <% if @topic.can_be_replied_to? %> <%= link_to t(".reply"), new_topic_post_pat...
<|file_sep|>app/views/forem/topics/show.html.erb.diff original: <h2> updated: <|file_sep|>original/app/views/forem/topics/show.html.erb <div id='topic' class='<%= @topic.locked? ? 'locked' : 'unlocked' %>'> <h2> <h2><%= link_to t('forem.forum.forums'), forums_path %> &raquo; <%= link_to @topic.forum.title, @topi...
1d6194d02aa2c2fa5f998c573c73af426a05daa7
app/views/forem/topics/show.html.erb
app/views/forem/topics/show.html.erb
HTML+ERB
<|file_sep|>original/config/application.yml # Add application configuration variables here, as shown below. # # PUSHER_APP_ID: "2954" # PUSHER_KEY: 7381a978f7dd7f9a1117 # PUSHER_SECRET: abdc3b896a0ffb85d373 # STRIPE_API_KEY: EdAvEPVEC3LuaTg5Q3z6WbDVqZlcBQ8Z # STRIPE_PUBLIC_KEY: pk_BRgD57O8fHja9HxduJUszhef6jCyS FACEBOO...
# Add application configuration variables here, as shown below. # # PUSHER_APP_ID: "2954" # PUSHER_KEY: 7381a978f7dd7f9a1117 # PUSHER_SECRET: abdc3b896a0ffb85d373 # STRIPE_API_KEY: EdAvEPVEC3LuaTg5Q3z6WbDVqZlcBQ8Z # STRIPE_PUBLIC_KEY: pk_BRgD57O8fHja9HxduJUszhef6jCyS FACEBOOK_KEY: 433312300089516 FACEBOOK_SECRET: 6e5d...
<|file_sep|>original/config/application.yml # Add application configuration variables here, as shown below. # # PUSHER_APP_ID: "2954" # PUSHER_KEY: 7381a978f7dd7f9a1117 # PUSHER_SECRET: abdc3b896a0ffb85d373 # STRIPE_API_KEY: EdAvEPVEC3LuaTg5Q3z6WbDVqZlcBQ8Z # STRIPE_PUBLIC_KEY: pk_BRgD57O8fHja9HxduJUszhef6jCyS FACEBOO...
f43279a837c7e7e6b7d88e632fc27a18c90a97ab
config/application.yml
config/application.yml
YAML
<|file_sep|>original/.codeclimate.yml engines: eslint: enabled: true config: config: .eslintrc.yaml duplication: enabled: true config: languages: - javascript ratings: paths: - lib/**/.js exclude_paths: - "node_modules/**" <|file_sep|>current/.codeclimate.yml engines: eslint:...
engines: nodesecurity: enabled: true eslint: enabled: true config: config: .eslintrc.yaml duplication: enabled: true config: languages: - javascript ratings: paths: - lib/**/.js exclude_paths: - "node_modules/**"
<|file_sep|>original/.codeclimate.yml engines: eslint: enabled: true config: config: .eslintrc.yaml duplication: enabled: true config: languages: - javascript ratings: paths: - lib/**/.js exclude_paths: - "node_modules/**" <|file_sep|>current/.codeclimate.yml engines: eslint:...
73d71e96f965acc2f54e9a3b31503c492413c754
.codeclimate.yml
.codeclimate.yml
YAML
<|file_sep|>original/FUZZING.md # Fuzzing This document describes how to fuzz cranelift with [`cargo-fuzz`](https://github.com/rust-fuzz/cargo-fuzz). The fuzz targets use `wasm-opt` from [`binaryen-rs`](https://github.com/pepyakin/binaryen-rs) to generate valid WebAssembly modules from the fuzzed input supplied by `ca...
# Fuzzing This document describes how to fuzz cranelift with [`cargo-fuzz`]. The fuzz targets use `wasm-opt` from [`binaryen-rs`] to generate valid WebAssembly modules from the fuzzed input supplied by `cargo-fuzz` (via [libfuzzer]). In this scheme coverage feedback from both cranelift and the `wasm-opt` input generat...
<|file_sep|>original/FUZZING.md # Fuzzing This document describes how to fuzz cranelift with [`cargo-fuzz`](https://github.com/rust-fuzz/cargo-fuzz). The fuzz targets use `wasm-opt` from [`binaryen-rs`](https://github.com/pepyakin/binaryen-rs) to generate valid WebAssembly modules from the fuzzed input supplied by `ca...
ed2434aac8dab44591a1bd26b7ea0d3a30f1a288
FUZZING.md
FUZZING.md
Markdown
<|file_sep|>packages/react-day-picker/src/components/Table/Table.tsx.diff original: import { Head, Row } from '../../components'; updated: import { Head } from '../../components'; <|file_sep|>original/packages/react-day-picker/src/components/Table/Table.tsx */ export interface TableProps { /** The month used to rend...
*/ export interface TableProps { /** The month used to render the table */ displayMonth: Date; } /** * Render the table with the calendar. */ export function Table(props: TableProps): JSX.Element { const { locale, fixedWeeks, classNames, styles, hideHead, components: { Row } } = useD...
<|file_sep|>packages/react-day-picker/src/components/Table/Table.tsx.diff original: import { Head, Row } from '../../components'; updated: import { Head } from '../../components'; <|file_sep|>original/packages/react-day-picker/src/components/Table/Table.tsx */ export interface TableProps { /** The month used to rend...
1b9a7a39583e37a778aee7aaa0531c414adb4c46
packages/react-day-picker/src/components/Table/Table.tsx
packages/react-day-picker/src/components/Table/Table.tsx
TypeScript
<|file_sep|>.travis.yml.diff original: - 1.4.3 updated: <|file_sep|>original/.travis.yml sudo: false language: go go: - 1.4.3 - 1.6 install: - make deps script: - GOMAXPROCS=2 make ci branches: only: - master matrix: fast_finish: true allow_failures: <|file_sep|>current/.travis.yml sudo: fals...
sudo: false language: go go: - 1.6 install: - make deps script: - GOMAXPROCS=2 make ci branches: only: - master matrix: fast_finish: true allow_failures: - go: 1.4.3
<|file_sep|>.travis.yml.diff original: - 1.4.3 updated: <|file_sep|>original/.travis.yml sudo: false language: go go: - 1.4.3 - 1.6 install: - make deps script: - GOMAXPROCS=2 make ci branches: only: - master matrix: fast_finish: true allow_failures: <|file_sep|>current/.travis.yml sudo: fals...
0d4ee09ea5b0458d6e85a52ae82eb5add16bf6bb
.travis.yml
.travis.yml
YAML
<|file_sep|>original/dom/test-pages/test_serializeDOMAsScript.html <|file_sep|>current/dom/test-pages/test_serializeDOMAsScript.html <|file_sep|>updated/dom/test-pages/test_serializeDOMAsScript.html
<!DOCTYPE html> <html class="x"> <head> <script src="../fuzzers/fuzz.js"></script> <script> function boom() { allNodes = [document.documentElement]; serializeDOMAsScript(); dumpln(""); dumpln(serializeTreeAsScript(document.getElementById('f').contentDocument.documentElement).join("\n")); dumpln(""); } </scr...
<|file_sep|>original/dom/test-pages/test_serializeDOMAsScript.html <|file_sep|>current/dom/test-pages/test_serializeDOMAsScript.html <|file_sep|>updated/dom/test-pages/test_serializeDOMAsScript.html <!DOCTYPE html> <html class="x"> <head> <script src="../fuzzers/fuzz.js"></script> <script> function boom() { allNod...
5ce6132b06f6dc1bb45435a55ac9cac2d63b3949
dom/test-pages/test_serializeDOMAsScript.html
dom/test-pages/test_serializeDOMAsScript.html
HTML
<|file_sep|>original/spotipy/__init__.py VERSION='2.4.5' from client import * from oauth2 import * from util import * <|file_sep|>current/spotipy/__init__.py VERSION='2.4.5' from client import * from oauth2 import * from util import * <|file_sep|>updated/spotipy/__init__.py
VERSION='2.4.5' from .client import * from .oauth2 import * from .util import *
<|file_sep|>original/spotipy/__init__.py VERSION='2.4.5' from client import * from oauth2 import * from util import * <|file_sep|>current/spotipy/__init__.py VERSION='2.4.5' from client import * from oauth2 import * from util import * <|file_sep|>updated/spotipy/__init__.py VERSION='2.4.5' from .client import * from...
bafef6a175116aff519579822f2382e8fbbd8808
spotipy/__init__.py
spotipy/__init__.py
Python
<|file_sep|>packages/gt/gtk-strut.yaml.diff original: hash: 6b4869ec6f5b7c1d536f7cb95687f7c612b279dd333abdc7a4938853a46d7e9b updated: hash: 1ae95c37b758c09f08d42719bdb9d4d163f519584eb31693b33390b5ea9fa8e0 <|file_sep|>packages/gt/gtk-strut.yaml.diff original: updated: - '0.1.2.0' <|file_sep|>original/packages/gt/gtk-st...
## Unreleased changes ' basic-deps: base: ! '>=4.7 && <5' text: -any gi-gtk: -any gi-gdk: -any transformers: -any all-versions: - '0.1.0.0' - '0.1.1.0' - '0.1.2.0' author: Ivan Malison latest: '0.1.2.0' description-type: markdown description: ! '# gtk-strut ' license-name: BSD3
<|file_sep|>packages/gt/gtk-strut.yaml.diff original: hash: 6b4869ec6f5b7c1d536f7cb95687f7c612b279dd333abdc7a4938853a46d7e9b updated: hash: 1ae95c37b758c09f08d42719bdb9d4d163f519584eb31693b33390b5ea9fa8e0 <|file_sep|>packages/gt/gtk-strut.yaml.diff original: updated: - '0.1.2.0' <|file_sep|>original/packages/gt/gtk-st...
1dfb4a7472da7bdb6801e437424bc84a89c3c32c
packages/gt/gtk-strut.yaml
packages/gt/gtk-strut.yaml
YAML
<|file_sep|>original/composer.json { "name": "mcordingley/linearalgebra", "description": "Matrix math for PHP.", "authors": [ { "name": "Michael Cordingley", "email": "Michael.Cordingley@gmail.com" } ], "license": "MIT", "require": { "php": ">=5.4....
{ "name": "mcordingley/linearalgebra", "description": "Matrix math for PHP.", "keywords": [ "linear-algebra", "matrix" ], "authors": [ { "name": "Michael Cordingley", "email": "Michael.Cordingley@gmail.com" } ], "license": "MIT", "r...
<|file_sep|>original/composer.json { "name": "mcordingley/linearalgebra", "description": "Matrix math for PHP.", "authors": [ { "name": "Michael Cordingley", "email": "Michael.Cordingley@gmail.com" } ], "license": "MIT", "require": { "php": ">=5.4....
05aff642b7294f0ea8661cdfe5bf65b67018c6ef
composer.json
composer.json
JSON
<|file_sep|>original/migrations/0013_update_counter_options.py import json from redash import models if __name__ == '__main__': for vis in models.Visualization.select(): if vis.type == 'COUNTER': options = json.loads(vis.options) print "Before: ", options if 'rowNumber' ...
import json from redash import models if __name__ == '__main__': for vis in models.Visualization.select(): if vis.type == 'COUNTER': options = json.loads(vis.options) print "Before: ", options if 'rowNumber' in options and options['rowNumber'] is not None: ...
<|file_sep|>original/migrations/0013_update_counter_options.py import json from redash import models if __name__ == '__main__': for vis in models.Visualization.select(): if vis.type == 'COUNTER': options = json.loads(vis.options) print "Before: ", options if 'rowNumber' ...
98307aec0d3182e3e461bd1ed287b75b26ae6e36
migrations/0013_update_counter_options.py
migrations/0013_update_counter_options.py
Python
<|file_sep|>original/.travis.yml language: android android: components: - build-tools-20.0.0 sudo: false jdk: - oraclejdk7 install: true script: "./gradle/buildViaTravis.sh" cache: directories: - "$HOME/.gradle/caches/" before_install: - test $TRAVIS_PULL_REQUEST = false && openssl aes-256-cbc -K $encrypted_d...
language: android android: components: - build-tools-23.0.3 sudo: false jdk: - oraclejdk7 install: true script: "./gradle/buildViaTravis.sh" cache: directories: - "$HOME/.gradle/caches/" before_install: - test $TRAVIS_PULL_REQUEST = false && openssl aes-256-cbc -K $encrypted_d7cddead3109_key -iv $encrypted_d7...
<|file_sep|>original/.travis.yml language: android android: components: - build-tools-20.0.0 sudo: false jdk: - oraclejdk7 install: true script: "./gradle/buildViaTravis.sh" cache: directories: - "$HOME/.gradle/caches/" before_install: - test $TRAVIS_PULL_REQUEST = false && openssl aes-256-cbc -K $encrypted_d...
34b7c2e00587465abc09792a695d1ce14a2e52cd
.travis.yml
.travis.yml
YAML
<|file_sep|>phpunit.xml.diff original: <log type="coverage-text" target="build/logs/coverage.txt"/> updated: <|file_sep|>original/phpunit.xml <testsuites> <testsuite name="Homescreen Test Suite"> <directory>./tests/</directory> </testsuite> </testsuites> <filter> ...
<directory>./tests/</directory> </testsuite> </testsuites> <filter> <whitelist> <directory suffix=".php">./src/</directory> </whitelist> </filter> <logging> <log type="coverage-clover" target="build/logs/clover.xml"/> <log type="coverage-...
<|file_sep|>phpunit.xml.diff original: <log type="coverage-text" target="build/logs/coverage.txt"/> updated: <|file_sep|>original/phpunit.xml <testsuites> <testsuite name="Homescreen Test Suite"> <directory>./tests/</directory> </testsuite> </testsuites> <filter> ...
55bc757464a9e6e634650499df836645ee341ae0
phpunit.xml
phpunit.xml
XML
<|file_sep|>original/mac/fixedPoint.js fromInt32: function(i32) { var frac = 0; for (var i = 0; i < 16; i++) { if (i32 & (0x8000 >> i)) { frac += 1 / (2 << i); } } return (i32 >>> 16) + frac; }, fromInt32_2_30: function(i32) { var frac = 0; for (...
}, fromInt32_2_30: function(i32) { var frac = 0; for (var i = 0; i < 30; i++) { if (i32 & (0x20000000 >> i)) { frac += 1 / (2 << i); } } return (i32 >>> 30) + frac; }, fromUint16: function(u16) { var frac = 0; for (var i = 0; i < 8; i++) { ...
<|file_sep|>original/mac/fixedPoint.js fromInt32: function(i32) { var frac = 0; for (var i = 0; i < 16; i++) { if (i32 & (0x8000 >> i)) { frac += 1 / (2 << i); } } return (i32 >>> 16) + frac; }, fromInt32_2_30: function(i32) { var frac = 0; for (...
512feca6d02ede73d9b17caf8eed3f64e105824a
mac/fixedPoint.js
mac/fixedPoint.js
JavaScript
<|file_sep|>original/.travis.yml rvm: - 1.8.7 - 1.9.1 - 1.9.2 - jruby - rbx - ree <|file_sep|>current/.travis.yml rvm: - 1.8.7 - 1.9.1 - 1.9.2 - jruby - rbx - ree <|file_sep|>updated/.travis.yml
rvm: - 1.8.7 - 1.9.1 - 1.9.2 - jruby - rbx - ree - ruby-head
<|file_sep|>original/.travis.yml rvm: - 1.8.7 - 1.9.1 - 1.9.2 - jruby - rbx - ree <|file_sep|>current/.travis.yml rvm: - 1.8.7 - 1.9.1 - 1.9.2 - jruby - rbx - ree <|file_sep|>updated/.travis.yml rvm: - 1.8.7 - 1.9.1 - 1.9.2 - jruby - rbx - ree - ruby-head
397461edc1ae2d616fcb89fb8713fb8bccd5e62d
.travis.yml
.travis.yml
YAML
<|file_sep|>original/composer.json "require-dev": { "phpunit/phpunit": ">=3.7, <4.3", "symfony/finder": "~2.1" }, "suggest": { "ext-pcntl": "Enabling the PCNTL extension makes PsySH a lot happier :)", "ext-posix": "If you have PCNTL, you'll want the POSIX extension as well.",...
"require-dev": { "phpunit/phpunit": ">=3.7, <4.3", "symfony/finder": "~2.1" }, "suggest": { "ext-pcntl": "Enabling the PCNTL extension makes PsySH a lot happier :)", "ext-posix": "If you have PCNTL, you'll want the POSIX extension as well.", "ext-readline": "Enables s...
<|file_sep|>original/composer.json "require-dev": { "phpunit/phpunit": ">=3.7, <4.3", "symfony/finder": "~2.1" }, "suggest": { "ext-pcntl": "Enabling the PCNTL extension makes PsySH a lot happier :)", "ext-posix": "If you have PCNTL, you'll want the POSIX extension as well.",...
0eeb1caff7c56c6ea4820f8684d1acd515941728
composer.json
composer.json
JSON
<|file_sep|>original/composer.json }, "config": { "platform": { "php": "7.3.0" }, "optimize-autoloader": true, "sort-packages": true }, "prefer-stable": true, "require": { "php": "^7.3 || ^8.0" }, "require-dev": { "phpunit/phpunit":...
}, "config": { "platform": { "php": "7.3.0" }, "optimize-autoloader": true, "sort-packages": true }, "prefer-stable": true, "require": { "php": ">=7.3" }, "require-dev": { "phpunit/phpunit": "^9.3" }, "autoload": { "...
<|file_sep|>original/composer.json }, "config": { "platform": { "php": "7.3.0" }, "optimize-autoloader": true, "sort-packages": true }, "prefer-stable": true, "require": { "php": "^7.3 || ^8.0" }, "require-dev": { "phpunit/phpunit":...
6ce5fe4344ec39c80235c3170435fc6e0a7d6ec7
composer.json
composer.json
JSON
<|file_sep|>original/package.json "author": { "name": "Sam Verschueren", "email": "sam.verschueren@gmail.com" }, "license": "MIT", "bugs": { "url": "https://github.com/SamVerschueren/cordova-config/issues" }, "homepage": "https://github.com/SamVerschueren/cordova-config", "files": [ "ind...
"author": { "name": "Sam Verschueren", "email": "sam.verschueren@gmail.com" }, "license": "MIT", "bugs": { "url": "https://github.com/SamVerschueren/cordova-config/issues" }, "homepage": "https://github.com/SamVerschueren/cordova-config", "files": [ "index.js" ], "dependencies": { ...
<|file_sep|>original/package.json "author": { "name": "Sam Verschueren", "email": "sam.verschueren@gmail.com" }, "license": "MIT", "bugs": { "url": "https://github.com/SamVerschueren/cordova-config/issues" }, "homepage": "https://github.com/SamVerschueren/cordova-config", "files": [ "ind...
f95deb69b7e557a97300068a580ca42df1e32553
package.json
package.json
JSON
<|file_sep|>etc/hatchet-test.sh.diff original: gem install bundler bundle install updated: if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then gem install bundler bundle install <|file_sep|>original/etc/hatchet-test.sh #!/usr/bin/env bash gem install bundler bundle install bundle exec hatchet install && HATCHET_RETRIE...
#!/usr/bin/env bash if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then gem install bundler bundle install bundle exec hatchet install && HATCHET_RETRIES=3 \ HATCHET_DEPLOY_STRATEGY=git \ HATCHET_BUILDPACK_BASE="https://github.com/heroku/heroku-buildpack-scala.git" \ HATCHET_BUILDPACK_BRANCH=$(git name-rev H...
<|file_sep|>etc/hatchet-test.sh.diff original: gem install bundler bundle install updated: if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then gem install bundler bundle install <|file_sep|>original/etc/hatchet-test.sh #!/usr/bin/env bash gem install bundler bundle install bundle exec hatchet install && HATCHET_RETRIE...
a200ff03a40fe1b11a1544dcbacb70855ec40033
etc/hatchet-test.sh
etc/hatchet-test.sh
Shell
<|file_sep|>original/.github/workflows/Publish_to_Github_Pages.yml steps: - name: Checkout uses: actions/checkout@v2.3.1 with: submodules: "recursive" lfs: true - name: Install and Build run: | cd app_web sudo apt update sudo apt...
steps: - name: Checkout uses: actions/checkout@v2.3.1 with: submodules: "recursive" lfs: true - name: Install and Build run: | cd app_web npm install npm run build - name: Check build size # 1GB = 1073741824 bytes ...
<|file_sep|>original/.github/workflows/Publish_to_Github_Pages.yml steps: - name: Checkout uses: actions/checkout@v2.3.1 with: submodules: "recursive" lfs: true - name: Install and Build run: | cd app_web sudo apt update sudo apt...
a5c5d4b250f3e7a936ba8511fdfc6807b064c577
.github/workflows/Publish_to_Github_Pages.yml
.github/workflows/Publish_to_Github_Pages.yml
YAML
<|file_sep|>original/app/components/Footer/Wrapper.js import styled from 'styled-components'; const Wrapper = styled.footer` display: flex; justify-content: space-between; padding: 3em 0; border-top: 1px solid #666; `; export default Wrapper; <|file_sep|>current/app/components/Footer/Wrapper.js import styled ...
import styled from 'styled-components'; const Wrapper = styled.footer` display: flex; justify-content: space-between; padding: 3em 0; border-top: 0px solid #666; `; export default Wrapper;
<|file_sep|>original/app/components/Footer/Wrapper.js import styled from 'styled-components'; const Wrapper = styled.footer` display: flex; justify-content: space-between; padding: 3em 0; border-top: 1px solid #666; `; export default Wrapper; <|file_sep|>current/app/components/Footer/Wrapper.js import styled ...
6701ab2e9340dc240cd5ae37d117ba5563783135
app/components/Footer/Wrapper.js
app/components/Footer/Wrapper.js
JavaScript
<|file_sep|>original/docker-compose.yml - "6379:6379" postgresdb: image: postgres:10.1-alpine environment: POSTGRES_USER: postgres POSTGRES_PASSWORD: ports: - 5432:5432 datastore: image: singularities/datastore-emulator environment: - DATASTORE_PROJECT_ID=rapidco...
- "6379:6379" postgresdb: image: postgres:10.1-alpine environment: POSTGRES_USER: postgres POSTGRES_PASSWORD: ports: - 5432:5432 sqlserver: image: microsoft/mssql-server-linux:2017-CU6 environment: ACCEPT_EULA: Y SA_PASSWORD: sql-s3rv3r! MSSQL_PID: De...
<|file_sep|>original/docker-compose.yml - "6379:6379" postgresdb: image: postgres:10.1-alpine environment: POSTGRES_USER: postgres POSTGRES_PASSWORD: ports: - 5432:5432 datastore: image: singularities/datastore-emulator environment: - DATASTORE_PROJECT_ID=rapidco...
726207bcfac4a3aa656fc37af4bca33847688cfe
docker-compose.yml
docker-compose.yml
YAML
<|file_sep|>lib/nerv.rb.diff original: .compact .flatten updated: <|file_sep|>original/lib/nerv.rb require 'nerv/version' class Nerv DEFAULT_SEPARATOR = '_'.freeze class << self def prefix(keys_prefix, separator = DEFAULT_SEPARATOR) regexp = /^#{keys_prefix}#{separator...
require 'nerv/version' class Nerv DEFAULT_SEPARATOR = '_'.freeze class << self def prefix(keys_prefix, separator = DEFAULT_SEPARATOR) regexp = /^#{keys_prefix}#{separator}/ pairs = ENV.map { |k, v| [k.gsub(regexp, ''), v] if k =~ regexp } Hash[*pairs.compact.flatten] end def [](ke...
<|file_sep|>lib/nerv.rb.diff original: .compact .flatten updated: <|file_sep|>original/lib/nerv.rb require 'nerv/version' class Nerv DEFAULT_SEPARATOR = '_'.freeze class << self def prefix(keys_prefix, separator = DEFAULT_SEPARATOR) regexp = /^#{keys_prefix}#{separator...
156dd0b1f78b278496edaedbe9a58739a214f15a
lib/nerv.rb
lib/nerv.rb
Ruby
<|file_sep|>original/.travis.yml language: php php: - 7.0 - 7.1 branches: only: - master install: - composer install --prefer-source script: - ./bin/phpunit -c phpunit.xml.dist --coverage-clover=coverage.clover after_script: - if [ "$TRAVIS_PHP_VERSION" == "7.0" ]; then wget https://...
language: php php: - 7.0 - 7.1 - 7.2 branches: only: - master install: - composer install --prefer-source script: - ./bin/phpunit -c phpunit.xml.dist --coverage-clover=coverage.clover after_script: - if [ "$TRAVIS_PHP_VERSION" == "7.0" ]; then wget https://scrutinizer-ci.com/ocul...
<|file_sep|>original/.travis.yml language: php php: - 7.0 - 7.1 branches: only: - master install: - composer install --prefer-source script: - ./bin/phpunit -c phpunit.xml.dist --coverage-clover=coverage.clover after_script: - if [ "$TRAVIS_PHP_VERSION" == "7.0" ]; then wget https://...
a53682cea9c103ebe468c4efd0005e58e0d5c88a
.travis.yml
.travis.yml
YAML
<|file_sep|>.github/workflows/rust.yml.diff original: branches: [ master ] updated: branches: [ main ] <|file_sep|>original/.github/workflows/rust.yml name: Rust on: push: branches: [ master ] pull_request: branches: [ master ] env: CARGO_TERM_COLOR: always jobs: build: runs-on: ubuntu-l...
name: Rust on: push: branches: [ main ] pull_request: branches: [ main ] env: CARGO_TERM_COLOR: always jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Build run: cargo build --verbose - name: Run tests
<|file_sep|>.github/workflows/rust.yml.diff original: branches: [ master ] updated: branches: [ main ] <|file_sep|>original/.github/workflows/rust.yml name: Rust on: push: branches: [ master ] pull_request: branches: [ master ] env: CARGO_TERM_COLOR: always jobs: build: runs-on: ubuntu-l...
cd22a97d2999548c8958f2d2f7945fe992c624ce
.github/workflows/rust.yml
.github/workflows/rust.yml
YAML
<|file_sep|>original/.github/workflows/ci.yml ci: runs-on: ubuntu-latest strategy: matrix: php: [7.2, 7.3, 7.4] dependency-version: [prefer-lowest, prefer-stable] continue-on-error: [false] include: - php: 8.0 continue-on-error: true continue-o...
ci: runs-on: ubuntu-latest strategy: matrix: php: [7.2, 7.3, 7.4] dependency-version: [prefer-lowest, prefer-stable] continue-on-error: [false] include: - php: 8.0 dependency-version: prefer-lowest continue-on-error: true - php...
<|file_sep|>original/.github/workflows/ci.yml ci: runs-on: ubuntu-latest strategy: matrix: php: [7.2, 7.3, 7.4] dependency-version: [prefer-lowest, prefer-stable] continue-on-error: [false] include: - php: 8.0 continue-on-error: true continue-o...
d6ec7fe92c428428b9191e8ebb75959abe027950
.github/workflows/ci.yml
.github/workflows/ci.yml
YAML
<|file_sep|>original/test/namebinding_in_library.swift <|file_sep|>current/test/namebinding_in_library.swift <|file_sep|>updated/test/namebinding_in_library.swift
// RUN: %swift %s -parse-as-library -verify // Name lookup is global in a library. var x : x_ty typealias x_ty : Int // Name lookup is global in a library. // This case requires doing semantic analysis (conversion checking) after // parsing. var y : y_ty = 4 typealias y_ty : (Int) // Verify that never-defined types ...
<|file_sep|>original/test/namebinding_in_library.swift <|file_sep|>current/test/namebinding_in_library.swift <|file_sep|>updated/test/namebinding_in_library.swift // RUN: %swift %s -parse-as-library -verify // Name lookup is global in a library. var x : x_ty typealias x_ty : Int // Name lookup is global in a librar...
3a44289a9c0cf9f7d8ad0980b14ac73c6f49984d
test/namebinding_in_library.swift
test/namebinding_in_library.swift
Swift
<|file_sep|>.travis.yml.diff original: - "4.2" updated: - 0.12 - 4.2 <|file_sep|>original/.travis.yml language: node_js node_js: - "4.2" - stable env: - ARANGODB_VERSION=2.4 - ARANGODB_VERSION=2.5 - ARANGODB_VERSION=2.6 - ARANGODB_VERSION=2.7 before_install: - curl https://www.arangodb.com/repositor...
language: node_js node_js: - 0.12 - 4.2 - stable env: - ARANGODB_VERSION=2.5 - ARANGODB_VERSION=2.6 - ARANGODB_VERSION=2.7 before_install: - curl https://www.arangodb.com/repositories/travisCI/setup_arangodb_${ARANGODB_VERSION}.sh | bash script: - npm run lint && npm run dist && npm run coveralls
<|file_sep|>.travis.yml.diff original: - "4.2" updated: - 0.12 - 4.2 <|file_sep|>original/.travis.yml language: node_js node_js: - "4.2" - stable env: - ARANGODB_VERSION=2.4 - ARANGODB_VERSION=2.5 - ARANGODB_VERSION=2.6 - ARANGODB_VERSION=2.7 before_install: - curl https://www.arangodb.com/repositor...
532b437e9bade9fdff00a27188e97b2682c6eb0a
.travis.yml
.travis.yml
YAML
<|file_sep|>original/package.json "repository": { "type": "git", "url": "https://github.com/markotom/gulp-snowcrash" }, "keywords": [ "gulp", "snowcrash", "api", "blueprint" ], "author": "Marco Godínez <markotom@gmail.com>", "bugs": { "url": "https://github.com/markotom/gulp-snow...
"repository": { "type": "git", "url": "https://github.com/markotom/gulp-snowcrash" }, "keywords": [ "gulp", "snowcrash", "api", "blueprint" ], "author": "Marco Godínez <markotom@gmail.com>", "bugs": { "url": "https://github.com/markotom/gulp-snowcrash/issues" }, "homepage": "...
<|file_sep|>original/package.json "repository": { "type": "git", "url": "https://github.com/markotom/gulp-snowcrash" }, "keywords": [ "gulp", "snowcrash", "api", "blueprint" ], "author": "Marco Godínez <markotom@gmail.com>", "bugs": { "url": "https://github.com/markotom/gulp-snow...
f2f95114ccba150c10206dbd25b243856daa50b5
package.json
package.json
JSON
<|file_sep|>client/app/bundles/HelloWorld/components/admin_dashboard/admin_dashboard_top.jsx.diff original: <div className='thumb-elliot' /> updated: <div className='thumb-hannah' /> <|file_sep|>client/app/bundles/HelloWorld/components/admin_dashboard/admin_dashboard_top.jsx.diff origina...
<div className="row"> <div className="col-xs-3"> <div className='thumb-hannah' /> </div> <div className="col-xs-9"> <h3>Hannah Monk</h3> <p>{"As your Quill representative, I'm here to help!"}</p> <div c...
<|file_sep|>client/app/bundles/HelloWorld/components/admin_dashboard/admin_dashboard_top.jsx.diff original: <div className='thumb-elliot' /> updated: <div className='thumb-hannah' /> <|file_sep|>client/app/bundles/HelloWorld/components/admin_dashboard/admin_dashboard_top.jsx.diff origina...
4731e9f537e2f38bdabf086d9cd3fe4abec35b6d
client/app/bundles/HelloWorld/components/admin_dashboard/admin_dashboard_top.jsx
client/app/bundles/HelloWorld/components/admin_dashboard/admin_dashboard_top.jsx
JSX
<|file_sep|>original/.github/workflows/rust.yml name: Rust on: [push] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: Build run: cargo build --verbose --all - name: Run tests run: cargo test --verbose --all <|file_sep|>current/.github/workflows/rust.y...
name: Rust on: [push] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: Run Rustfmt run: cargo fmt -- --check - name: Build run: cargo build --verbose --all - name: Run tests run: cargo test --verbose --all
<|file_sep|>original/.github/workflows/rust.yml name: Rust on: [push] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: Build run: cargo build --verbose --all - name: Run tests run: cargo test --verbose --all <|file_sep|>current/.github/workflows/rust.y...
b3c5621478a7549a0afbeb152f2518e8e87ee433
.github/workflows/rust.yml
.github/workflows/rust.yml
YAML
<|file_sep|>original/go1.x/build/Dockerfile FROM lambci/lambda-base:build ENV GOLANG_VERSION=1.9.3 \ GOPATH=/go \ PATH=/go/bin:/usr/local/go/bin:$PATH WORKDIR /go/src/handler RUN rm -rf /var/runtime /var/lang && \ curl https://lambci.s3.amazonaws.com/fs/go1.x.tgz | tar -zx -C / && \ curl https://dl.googl...
FROM lambci/lambda-base:build ENV GOLANG_VERSION=1.10 \ GOPATH=/go \ PATH=/go/bin:/usr/local/go/bin:$PATH WORKDIR /go/src/handler RUN rm -rf /var/runtime /var/lang && \ curl https://lambci.s3.amazonaws.com/fs/go1.x.tgz | tar -zx -C / && \ curl https://dl.google.com/go/go${GOLANG_VERSION}.linux-amd64.tar....
<|file_sep|>original/go1.x/build/Dockerfile FROM lambci/lambda-base:build ENV GOLANG_VERSION=1.9.3 \ GOPATH=/go \ PATH=/go/bin:/usr/local/go/bin:$PATH WORKDIR /go/src/handler RUN rm -rf /var/runtime /var/lang && \ curl https://lambci.s3.amazonaws.com/fs/go1.x.tgz | tar -zx -C / && \ curl https://dl.googl...
b4ceb027a1dbbce82c5b93acf72d3a49c64bba4e
go1.x/build/Dockerfile
go1.x/build/Dockerfile
unknown
<|file_sep|>original/feedpaper-web/params.js var fs = require('fs'); var p = require('path'); var slug = require('slug'); var url = require('url'); var util = require('util'); slug.defaults.mode ='rfc3986'; var env = process.env['FEEDPAPER_ENV']; var feedsCategories = JSON.parse(fs.readFileSync(p.join('..', 'co...
var fs = require('fs'); var p = require('path'); var slug = require('slug'); var url = require('url'); var util = require('util'); slug.defaults.mode ='rfc3986'; var env = process.env['FEEDPAPER_ENV']; var feedsCategories = JSON.parse(fs.readFileSync(p.join('../conf', env, 'feeds.json'))); var conf = JSON.parse...
<|file_sep|>original/feedpaper-web/params.js var fs = require('fs'); var p = require('path'); var slug = require('slug'); var url = require('url'); var util = require('util'); slug.defaults.mode ='rfc3986'; var env = process.env['FEEDPAPER_ENV']; var feedsCategories = JSON.parse(fs.readFileSync(p.join('..', 'co...
1c879ba5b61a94ea5370a74760f0bb08407ffcf0
feedpaper-web/params.js
feedpaper-web/params.js
JavaScript
<|file_sep|>original/src/test/run-pass/cross-crate-newtype-struct-pat.rs <|file_sep|>current/src/test/run-pass/cross-crate-newtype-struct-pat.rs <|file_sep|>updated/src/test/run-pass/cross-crate-newtype-struct-pat.rs
// Copyright 2013 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <LICENSE-MIT or ...
<|file_sep|>original/src/test/run-pass/cross-crate-newtype-struct-pat.rs <|file_sep|>current/src/test/run-pass/cross-crate-newtype-struct-pat.rs <|file_sep|>updated/src/test/run-pass/cross-crate-newtype-struct-pat.rs // Copyright 2013 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory o...
10f290ef68870e54e6b5bcc75e953210a26b46e9
src/test/run-pass/cross-crate-newtype-struct-pat.rs
src/test/run-pass/cross-crate-newtype-struct-pat.rs
Rust
<|file_sep|>original/README.md # GRIP-code-generation Examples and downloads for using generated GRIP pipelines <|file_sep|>current/README.md # GRIP-code-generation Examples and downloads for using generated GRIP pipelines <|file_sep|>updated/README.md
# GRIP-code-generation [![Join the chat at https://gitter.im/WPIRoboticsProjects/GRIP](https://badges.gitter.im/Join%20Chat.svg)] Examples and downloads for using generated GRIP pipelines
<|file_sep|>original/README.md # GRIP-code-generation Examples and downloads for using generated GRIP pipelines <|file_sep|>current/README.md # GRIP-code-generation Examples and downloads for using generated GRIP pipelines <|file_sep|>updated/README.md # GRIP-code-generation [![Join the chat at https://gitter.im/WPIRob...
074d2802f43bbcad70a666c45dc046def53cb667
README.md
README.md
Markdown
<|file_sep|>original/src/test/java/de/kopis/timeclicker/ApplicationTest.java <|file_sep|>current/src/test/java/de/kopis/timeclicker/ApplicationTest.java <|file_sep|>updated/src/test/java/de/kopis/timeclicker/ApplicationTest.java
package de.kopis.timeclicker; import de.kopis.timeclicker.api.TimeclickerAPI; import de.kopis.timeclicker.model.UserSettings; import java.util.TimeZone; import com.google.appengine.api.users.User; import com.google.appengine.api.users.UserService; import com.google.appengine.api.users.UserServiceFactory; import com....
<|file_sep|>original/src/test/java/de/kopis/timeclicker/ApplicationTest.java <|file_sep|>current/src/test/java/de/kopis/timeclicker/ApplicationTest.java <|file_sep|>updated/src/test/java/de/kopis/timeclicker/ApplicationTest.java package de.kopis.timeclicker; import de.kopis.timeclicker.api.TimeclickerAPI; import de....
35c3bd0468294d142f9c78a01fa7ab88fb73df12
src/test/java/de/kopis/timeclicker/ApplicationTest.java
src/test/java/de/kopis/timeclicker/ApplicationTest.java
Java
<|file_sep|>original/docs/storage/layerreader.go func (lr *layerReader) Length() int64 { return lr.size } func (lr *layerReader) CreatedAt() time.Time { return lr.modtime } // Close the layer. Should be called when the resource is no longer needed. func (lr *layerReader) Close() error { return lr.closeWithErr(dist...
func (lr *layerReader) Length() int64 { return lr.size } func (lr *layerReader) CreatedAt() time.Time { return lr.modtime } // Close the layer. Should be called when the resource is no longer needed. func (lr *layerReader) Close() error { return lr.closeWithErr(distribution.ErrLayerClosed) } func (lr *layerReader...
<|file_sep|>original/docs/storage/layerreader.go func (lr *layerReader) Length() int64 { return lr.size } func (lr *layerReader) CreatedAt() time.Time { return lr.modtime } // Close the layer. Should be called when the resource is no longer needed. func (lr *layerReader) Close() error { return lr.closeWithErr(dist...
fdd631477622bdb475a6078007ea2975b2231175
docs/storage/layerreader.go
docs/storage/layerreader.go
Go
<|file_sep|>original/README.md # BCMS-Web <|file_sep|>current/README.md # BCMS-Web <|file_sep|>updated/README.md
# BCMS-Web BCMS-Web is a web visualization service for complaints data extracted from Bandung government agencies' twitter. Currently, it has 4 types of visualization : * Agencies : Based on agencies that the complaints is addressed to, in the form of pie chart. * Map : Based on locations that mentioned in the compla...
<|file_sep|>original/README.md # BCMS-Web <|file_sep|>current/README.md # BCMS-Web <|file_sep|>updated/README.md # BCMS-Web BCMS-Web is a web visualization service for complaints data extracted from Bandung government agencies' twitter. Currently, it has 4 types of visualization : * Agencies : Based on agencies that ...
616a9b12ceeb40d9794af8ae933ff420ec4d31ab
README.md
README.md
Markdown
<|file_sep|>original/spec/integration/adapter_spec.rb rescue CassandraCQL::Error::InvalidRequestException => exception raise unless exception.message.include?('Cannot add existing keyspace') client.execute('DROP KEYSPACE datamapper_default_tests') retry end def create_table adapter.execute('CREAT...
end def create_table adapter.execute('CREATE TABLE heffalumps (id bigint PRIMARY KEY, color text, num_spots int, striped boolean)') end # Use methods to avoid let() in before(:all) warnings def adapter() DataMapper::Spec.adapter end def repository() DataMapper.repository(adapter.name) end # Define ...
<|file_sep|>original/spec/integration/adapter_spec.rb rescue CassandraCQL::Error::InvalidRequestException => exception raise unless exception.message.include?('Cannot add existing keyspace') client.execute('DROP KEYSPACE datamapper_default_tests') retry end def create_table adapter.execute('CREAT...
b7f15d03a4d6a9d758dd3ee9c4bf856f22e5f8fe
spec/integration/adapter_spec.rb
spec/integration/adapter_spec.rb
Ruby
<|file_sep|>original/locales/fr/encrypt.properties <|file_sep|>current/locales/fr/encrypt.properties <|file_sep|>updated/locales/fr/encrypt.properties
update_my_info=Modifier mes informations thank_you=Merci ! share_this_now=Partager sign_up=S’inscrire now_playing=Lecture en cours episode_num=ÉPISODE {num} home=Accueil blog=Blog donate=Faire un don legal=Mentions légales privacy_policy=Politique de confidentialité contact_us=Nous contacter video_data_title_1=La vie p...
<|file_sep|>original/locales/fr/encrypt.properties <|file_sep|>current/locales/fr/encrypt.properties <|file_sep|>updated/locales/fr/encrypt.properties update_my_info=Modifier mes informations thank_you=Merci ! share_this_now=Partager sign_up=S’inscrire now_playing=Lecture en cours episode_num=ÉPISODE {num} home=Accue...
2a503747cffdab6cb90e43d0f3ebf7eec20bd088
locales/fr/encrypt.properties
locales/fr/encrypt.properties
INI
<|file_sep|>resources/js/src/app/components/customer/login/GuestLogin.js.diff original: .done(function(response) updated: .done(function() <|file_sep|>original/resources/js/src/app/components/customer/login/GuestLogin.js ValidationService.validate($("#guest-login-form-" + thi...
ValidationService.validate($("#guest-login-form-" + this._uid)) .done(function() { this.sendEMail(); }.bind(this)) .fail(function(invalidFields) { ValidationService.markInvalidFields(inval...
<|file_sep|>resources/js/src/app/components/customer/login/GuestLogin.js.diff original: .done(function(response) updated: .done(function() <|file_sep|>original/resources/js/src/app/components/customer/login/GuestLogin.js ValidationService.validate($("#guest-login-form-" + thi...
2a1f87daef6bb162256ab44e29ffd5d3e13e8045
resources/js/src/app/components/customer/login/GuestLogin.js
resources/js/src/app/components/customer/login/GuestLogin.js
JavaScript
<|file_sep|>original/app/views/design_options/_index.html.haml -# %form.form-horizontal .form-horizontal = render 'design_options/new_button', position: 0 - @design.design_options.each_with_index do |design_option, position| .interactive-variable-section-container{ id: "design_option_#{design_option.id}_contain...
-# %form.form-horizontal .form-horizontal = render 'design_options/new_button', position: 0 - @design.design_options.includes(:section, variable: { domain: :domain_options }).each_with_index do |design_option, position| .interactive-variable-section-container{ id: "design_option_#{design_option.id}_container" }...
<|file_sep|>original/app/views/design_options/_index.html.haml -# %form.form-horizontal .form-horizontal = render 'design_options/new_button', position: 0 - @design.design_options.each_with_index do |design_option, position| .interactive-variable-section-container{ id: "design_option_#{design_option.id}_contain...
563472063abbd7fe56e87c62bf786a1ca82c88f6
app/views/design_options/_index.html.haml
app/views/design_options/_index.html.haml
Haml
<|file_sep|>src/LogTrackerBundle/Resources/config/routing.yml.diff original: updated: requirements: start: "\d+" rows: "\d+" <|file_sep|>original/src/LogTrackerBundle/Resources/config/routing.yml requirements: @siteaccess: admin log_tracker_tool_homepage: path: / defaults: { ...
defaults: { _controller: LogTrackerBundle:Default:index } options: class: icon-doc-text label: LogTracker log_tracker_chart: path: /chart/{query} defaults: { _controller: LogTrackerBundle:Default:chart, query: '*' } log_tracker_search: path: /search/{query}/{start}/{rows} d...
<|file_sep|>src/LogTrackerBundle/Resources/config/routing.yml.diff original: updated: requirements: start: "\d+" rows: "\d+" <|file_sep|>original/src/LogTrackerBundle/Resources/config/routing.yml requirements: @siteaccess: admin log_tracker_tool_homepage: path: / defaults: { ...
0be47f132f4ad3aec5473834e51d9431b2976fd2
src/LogTrackerBundle/Resources/config/routing.yml
src/LogTrackerBundle/Resources/config/routing.yml
YAML
<|file_sep|>original/ci/images/get-jdk-url.sh #!/bin/bash set -e case "$1" in java8) echo "https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u322-b06/OpenJDK8U-jdk_x64_linux_hotspot_8u322b06.tar.gz" ;; java11) echo "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.14...
#!/bin/bash set -e case "$1" in java8) echo "https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u322-b06/OpenJDK8U-jdk_x64_linux_hotspot_8u322b06.tar.gz" ;; java11) echo "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.14.1%2B1/OpenJDK11U-jdk_x64_linux_hotspot_11.0.1...
<|file_sep|>original/ci/images/get-jdk-url.sh #!/bin/bash set -e case "$1" in java8) echo "https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u322-b06/OpenJDK8U-jdk_x64_linux_hotspot_8u322b06.tar.gz" ;; java11) echo "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.14...
a99fcecd48765fd7e584027e7b367be69c684af8
ci/images/get-jdk-url.sh
ci/images/get-jdk-url.sh
Shell
<|file_sep|>original/pkgs/development/libraries/gupnp/default.nix src = fetchurl { url = "mirror://gnome/sources/gupnp/${majorVersion}/gupnp-${version}.tar.xz"; sha256 = "77ffb940ba77c4a6426d09d41004c75d92652dcbde86c84ac1c847dbd9ad59bd"; }; nativeBuildInputs = [ pkgconfig ]; propagatedBuildInputs = [ ...
src = fetchurl { url = "mirror://gnome/sources/gupnp/${majorVersion}/gupnp-${version}.tar.xz"; sha256 = "77ffb940ba77c4a6426d09d41004c75d92652dcbde86c84ac1c847dbd9ad59bd"; }; nativeBuildInputs = [ pkgconfig ]; propagatedBuildInputs = [ glib gssdp libsoup libxml2 libuuid ]; postInstall = '' ln -...
<|file_sep|>original/pkgs/development/libraries/gupnp/default.nix src = fetchurl { url = "mirror://gnome/sources/gupnp/${majorVersion}/gupnp-${version}.tar.xz"; sha256 = "77ffb940ba77c4a6426d09d41004c75d92652dcbde86c84ac1c847dbd9ad59bd"; }; nativeBuildInputs = [ pkgconfig ]; propagatedBuildInputs = [ ...
8638a08c9ec43d251a967fc574490c8d8cf1eb53
pkgs/development/libraries/gupnp/default.nix
pkgs/development/libraries/gupnp/default.nix
Nix
<|file_sep|>original/src/main/java/io/github/aquerr/eaglefactions/logic/MainLogic.java { private static IConfig mainConfig = MainConfig.getConfig(); public static boolean getAllianceFriendlyFire() { ConfigurationNode friendlyFireNode = ConfigAccess.getConfig(mainConfig).getNode("eaglefactions", "fr...
return friendlyFire; } public static int getPlayerMaxPower() { ConfigurationNode maxPowerNode = ConfigAccess.getConfig(mainConfig).getNode("eaglefactions", "power", "maxpower"); int maxPower = maxPowerNode.getInt(); return maxPower; } public static int getStarting...
<|file_sep|>original/src/main/java/io/github/aquerr/eaglefactions/logic/MainLogic.java { private static IConfig mainConfig = MainConfig.getConfig(); public static boolean getAllianceFriendlyFire() { ConfigurationNode friendlyFireNode = ConfigAccess.getConfig(mainConfig).getNode("eaglefactions", "fr...
5fea3b1107e43479a23903cd93a95d591f58b19d
src/main/java/io/github/aquerr/eaglefactions/logic/MainLogic.java
src/main/java/io/github/aquerr/eaglefactions/logic/MainLogic.java
Java
<|file_sep|>original/Cargo.toml repository = "https://github.com/edef1c/libfringe" documentation = "https://edef1c.github.io/libfringe" [target.'cfg(unix)'.dependencies] libc = "0.2.14" [dependencies.valgrind_request] optional = true version = "1.0.0" [dev-dependencies] simd = "0.1" [features] default = ["alloc", "...
repository = "https://github.com/edef1c/libfringe" documentation = "https://edef1c.github.io/libfringe" [target.'cfg(unix)'.dependencies] libc = "0.2.14" [dependencies.valgrind_request] optional = true version = "1.0.0" [target.'cfg(unix)'.dev-dependencies] simd = "0.1" [features] default = ["alloc", "valgrind"] al...
<|file_sep|>original/Cargo.toml repository = "https://github.com/edef1c/libfringe" documentation = "https://edef1c.github.io/libfringe" [target.'cfg(unix)'.dependencies] libc = "0.2.14" [dependencies.valgrind_request] optional = true version = "1.0.0" [dev-dependencies] simd = "0.1" [features] default = ["alloc", "...
13e92dad887823ffe546df55c4f857140da3942e
Cargo.toml
Cargo.toml
TOML
<|file_sep|>update.sh.diff original: oname=${info[0]} rname=${info[0]} updated: srcname=${info[0]} destname=${info[0]} <|file_sep|>update.sh.diff original: rname=${info[1]} updated: destname=${info[1]} <|file_sep|>update.sh.diff original: if [ "$oname" = "$rname" ]; then echo...
# Update checkouts and push changes to our remote. REMOTE=$(cat REMOTE) while read repo; do info=($repo) srcname=${info[0]} destname=${info[0]} if [ ${#info[@]} -gt 1 ]; then destname=${info[1]} fi if [ "$srcname" = "$destname" ]; then echo Updating ${srcname}... else ...
<|file_sep|>update.sh.diff original: oname=${info[0]} rname=${info[0]} updated: srcname=${info[0]} destname=${info[0]} <|file_sep|>update.sh.diff original: rname=${info[1]} updated: destname=${info[1]} <|file_sep|>update.sh.diff original: if [ "$oname" = "$rname" ]; then echo...
7d12f159279e3a9cd07a5e54f87ae7a30d62eafa
update.sh
update.sh
Shell
<|file_sep|>README.md.diff original: ======= updated: ------- <|file_sep|>original/README.md The script `fetch-tocs.sh` can be used to retrieve all the available table of contents. The generated files are compatible with the [DBLP input format specifications](http://www.informatik.uni-trier.de/~ley/db/about/faqformat...
The script `fetch-tocs.sh` can be used to retrieve all the available table of contents. The generated files are compatible with the [DBLP input format specifications](http://www.informatik.uni-trier.de/~ley/db/about/faqformat.html). Authors ------- * Gioele Barabucci <http://svario.it/gioele> Licence ------- Th...
<|file_sep|>README.md.diff original: ======= updated: ------- <|file_sep|>original/README.md The script `fetch-tocs.sh` can be used to retrieve all the available table of contents. The generated files are compatible with the [DBLP input format specifications](http://www.informatik.uni-trier.de/~ley/db/about/faqformat...
7cf00f91c0f4ba0089e1f89355adecd776168b8f
README.md
README.md
Markdown
<|file_sep|>original/package.json { "name": "eslint-config-spreetail", "version": "2.2.0", "description": "ESLint configuration used at Spreetail.", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "git+https://gith...
{ "name": "eslint-config-spreetail", "version": "2.2.0", "description": "ESLint configuration used at Spreetail.", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "publish": "git push && git push --tags" }, "repository": { "type": "git", "url": "git+...
<|file_sep|>original/package.json { "name": "eslint-config-spreetail", "version": "2.2.0", "description": "ESLint configuration used at Spreetail.", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "git+https://gith...
4c434ea2ab2c828a5f26d863db2685c39900e190
package.json
package.json
JSON
<|file_sep|>original/thinglang/compiler/opcodes.py <|file_sep|>current/thinglang/compiler/opcodes.py <|file_sep|>updated/thinglang/compiler/opcodes.py
import os import re BASE_DIR = os.path.dirname(os.path.abspath(__file__)) ENUM_PARSER = re.compile(r'(.*)\s*?=\s*?(\d+)') def read_opcodes(): with open(os.path.join(BASE_DIR, '..', '..', 'thingc', 'execution', 'Opcode.h')) as f: for line in f: if 'enum class Opcode' in line: b...
<|file_sep|>original/thinglang/compiler/opcodes.py <|file_sep|>current/thinglang/compiler/opcodes.py <|file_sep|>updated/thinglang/compiler/opcodes.py import os import re BASE_DIR = os.path.dirname(os.path.abspath(__file__)) ENUM_PARSER = re.compile(r'(.*)\s*?=\s*?(\d+)') def read_opcodes(): with open(os.path....
4d16ae6d1ad8b308c14c23e802349001b81ae461
thinglang/compiler/opcodes.py
thinglang/compiler/opcodes.py
Python
<|file_sep|>test/examples/fail_macro_module_names.erl.diff original: updated: -define(BINARY_SIZE, 3). <|file_sep|>original/test/examples/fail_macro_module_names.erl -define(FUNCTION_NAME, function_name). -define(BINARY, "bla"). -define(function_name, function_name). -define(module_name, ?MODULE). module_name() -> ...
-define(module_name, ?MODULE). module_name() -> ?MODULE:function_name(), ?module_name:?function_name(). function_name() -> module:?FUNCTION_NAME(params), module:?FUNCTION_NAME (params), lists:?MODULE(). build_binary() -> Bin = <<?BINARY:32>>, _Bin2 = <<Bin:?BINARY_SIZE/binary>>, _Bin3...
<|file_sep|>test/examples/fail_macro_module_names.erl.diff original: updated: -define(BINARY_SIZE, 3). <|file_sep|>original/test/examples/fail_macro_module_names.erl -define(FUNCTION_NAME, function_name). -define(BINARY, "bla"). -define(function_name, function_name). -define(module_name, ?MODULE). module_name() -> ...
7eb6a28d5633c9b55ae50f4665af89ab499b8c0c
test/examples/fail_macro_module_names.erl
test/examples/fail_macro_module_names.erl
Erlang
<|file_sep|>original/varify/static/templates/variant/clinvar-item.html Assertion: <a target='_blank' href='https://www.ncbi.nlm.nih.gov/clinvar/'<%= data.assertion.rcvaccession %>/'><%= data.assertion.rcvaccession %></a> <ul> <li> <small>Siginificance</small> <b><%= data.assertion.clinicalsignificance %></...
Assertion: <a target='_blank' href='https://www.ncbi.nlm.nih.gov/clinvar/'<%= data.assertion.rcvaccession %>/'><%= data.assertion.rcvaccession %></a> <ul> <li> <small>Significance</small> <b><%= data.assertion.clinicalsignificance %></b> </li> <li><small>Origin</small> <%= data.assertion.origin %><...
<|file_sep|>original/varify/static/templates/variant/clinvar-item.html Assertion: <a target='_blank' href='https://www.ncbi.nlm.nih.gov/clinvar/'<%= data.assertion.rcvaccession %>/'><%= data.assertion.rcvaccession %></a> <ul> <li> <small>Siginificance</small> <b><%= data.assertion.clinicalsignificance %></...
6d6922f38ce129bea3c807854555ffbecf0b60d7
varify/static/templates/variant/clinvar-item.html
varify/static/templates/variant/clinvar-item.html
HTML
<|file_sep|>original/potatochop.gemspec require 'potatochop/version' Gem::Specification.new do |gem| gem.name = "potatochop" gem.version = Potatochop::VERSION gem.authors = ["John Mertens"] gem.email = ["john@versahq.com"] gem.description = %q{Potatochop - because F$%k Photosho...
Gem::Specification.new do |gem| gem.name = "potatochop" gem.version = Potatochop::VERSION gem.authors = ["John Mertens"] gem.email = ["john@versahq.com"] gem.description = %q{Potatochop - because F$%k Photoshop, that's why.} gem.summary = %q{Potatochop is a simple serve...
<|file_sep|>original/potatochop.gemspec require 'potatochop/version' Gem::Specification.new do |gem| gem.name = "potatochop" gem.version = Potatochop::VERSION gem.authors = ["John Mertens"] gem.email = ["john@versahq.com"] gem.description = %q{Potatochop - because F$%k Photosho...
b3483e17d5809329791bb95afdf82221afe162c0
potatochop.gemspec
potatochop.gemspec
Ruby
<|file_sep|>original/src/main/MediaCheck.java public class MediaCheck { } <|file_sep|>current/src/main/MediaCheck.java public class MediaCheck { } <|file_sep|>updated/src/main/MediaCheck.java
import java.awt.Image; import java.net.URL; public class MediaCheck { public static void media(URL url) { Image image = null; } }
<|file_sep|>original/src/main/MediaCheck.java public class MediaCheck { } <|file_sep|>current/src/main/MediaCheck.java public class MediaCheck { } <|file_sep|>updated/src/main/MediaCheck.java import java.awt.Image; import java.net.URL; public class MediaCheck { public static void media(URL url) { Image ...
7eae7bf22e3ddbfeae58710445e125caf1c56228
src/main/MediaCheck.java
src/main/MediaCheck.java
Java
<|file_sep|>original/src/mfa/MfaInfo.php <|file_sep|>current/src/mfa/MfaInfo.php <|file_sep|>updated/src/mfa/MfaInfo.php
<?php namespace Sil\SilAuth\mfa; class MfaInfo { const EMPLOYEE_ID = 'employee_id'; const MFA_OPTIONS = 'mfa_options'; const PROMPT_FOR_MFA = 'prompt_for_mfa'; /** * The Employee ID that this MFA info is for. * * @var string */ private $employeeId; /** * A lis...
<|file_sep|>original/src/mfa/MfaInfo.php <|file_sep|>current/src/mfa/MfaInfo.php <|file_sep|>updated/src/mfa/MfaInfo.php <?php namespace Sil\SilAuth\mfa; class MfaInfo { const EMPLOYEE_ID = 'employee_id'; const MFA_OPTIONS = 'mfa_options'; const PROMPT_FOR_MFA = 'prompt_for_mfa'; /** * The ...
4b0ef42a43142d12e00acead2a1c09766e2c0791
src/mfa/MfaInfo.php
src/mfa/MfaInfo.php
PHP
<|file_sep|>backend/app/assets/javascripts/spree/backend/taxonomy.js.coffee.diff original: updated: resize_placeholder = (ui) -> handleHeight = ui.helper.find('.sortable-handle').outerHeight() ui.placeholder.height(handleHeight) <|file_sep|>original/backend/app/assets/javascripts/spree/backend/taxonomy.js.coffee ...
connectWith: '#taxonomy_tree ul' placeholder: 'sortable-placeholder ui-state-highlight' tolerance: 'pointer' cursorAt: { left: 5 } redraw_tree = -> get_taxonomy().done(draw_tree) resize_placeholder = (ui) -> handleHeight = ui.helper.find('.sortable-handle').outerHeight() ui.placeholder.h...
<|file_sep|>backend/app/assets/javascripts/spree/backend/taxonomy.js.coffee.diff original: updated: resize_placeholder = (ui) -> handleHeight = ui.helper.find('.sortable-handle').outerHeight() ui.placeholder.height(handleHeight) <|file_sep|>original/backend/app/assets/javascripts/spree/backend/taxonomy.js.coffee ...
4c0cef15f406a024b694b11dc467c8b3d7046e12
backend/app/assets/javascripts/spree/backend/taxonomy.js.coffee
backend/app/assets/javascripts/spree/backend/taxonomy.js.coffee
CoffeeScript
<|file_sep|>original/lib/Option/features.json "features": [ { "name": "experimental-skip-all-function-bodies" }, { "name": "experimental-allow-module-with-compiler-errors" }, { "name": "index-unit-output-path" }, { "name": "library-level" }, { "name": ...
}, { "name": "experimental-allow-module-with-compiler-errors" }, { "name": "index-unit-output-path" }, { "name": "library-level" }, { "name": "emit-abi-descriptor" }, { "name": "no-warn-superfluous-index-unit-path" }, { "name": "empty-a...
<|file_sep|>original/lib/Option/features.json "features": [ { "name": "experimental-skip-all-function-bodies" }, { "name": "experimental-allow-module-with-compiler-errors" }, { "name": "index-unit-output-path" }, { "name": "library-level" }, { "name": ...
a1e3afadb2693ae76c74a3929362cbfaf45a22b9
lib/Option/features.json
lib/Option/features.json
JSON
<|file_sep|>original/src/sphinx_py3doc_enhanced_theme/globaltoc.html <h3><a href="{{ pathto(master_doc) }}">{{ _('Table Of Contents') }}</a></h3> {{ toctree(maxdepth=theme_sidebardepth, collapse=theme_sidebarcollapse, includehidden=True) }} <|file_sep|>current/src/sphinx_py3doc_enhanced_theme/globaltoc.html <h3><a href...
<h3><a href="{{ pathto(master_doc) }}">{{ _('Table Of Contents') }}</a></h3> {{ toctree(maxdepth=theme_sidebardepth|int, collapse=theme_sidebarcollapse, includehidden=True) }}
<|file_sep|>original/src/sphinx_py3doc_enhanced_theme/globaltoc.html <h3><a href="{{ pathto(master_doc) }}">{{ _('Table Of Contents') }}</a></h3> {{ toctree(maxdepth=theme_sidebardepth, collapse=theme_sidebarcollapse, includehidden=True) }} <|file_sep|>current/src/sphinx_py3doc_enhanced_theme/globaltoc.html <h3><a href...
9c8a3e9c8c69420158b69f245a30ed60ecbbb8d9
src/sphinx_py3doc_enhanced_theme/globaltoc.html
src/sphinx_py3doc_enhanced_theme/globaltoc.html
HTML
<|file_sep|>lib/torii/providers/google-oauth2.js.diff original: name: 'google-oauth2', baseUrl: 'https://accounts.google.com/o/oauth2/auth', updated: name: 'google-oauth2', baseUrl: 'https://accounts.google.com/o/oauth2/auth', <|file_sep|>lib/torii/providers/google-oauth2.js.diff original: require...
var GoogleOauth2 = Oauth2.extend({ name: 'google-oauth2', baseUrl: 'https://accounts.google.com/o/oauth2/auth', // additional params that this provider requires requiredUrlParams: ['state'], optionalUrlParams: ['scope', 'request_visible_actions'], request_visible_actions: configurable('requestVisible...
<|file_sep|>lib/torii/providers/google-oauth2.js.diff original: name: 'google-oauth2', baseUrl: 'https://accounts.google.com/o/oauth2/auth', updated: name: 'google-oauth2', baseUrl: 'https://accounts.google.com/o/oauth2/auth', <|file_sep|>lib/torii/providers/google-oauth2.js.diff original: require...
798a93c3b3c52ef893ac5a244a565a0c1cd26deb
lib/torii/providers/google-oauth2.js
lib/torii/providers/google-oauth2.js
JavaScript
<|file_sep|>.travis.yml.diff original: - jruby-19mode - jruby - jruby-head updated: - jruby-9.1.5.0 - jruby-1.7.26 <|file_sep|>original/.travis.yml language: ruby sudo: false cache: bundler rvm: - jruby-19mode - jruby - jruby-head env: global: - CODECLIMATE_REPO_TOKEN=7800b9ed7143dedbdc5e3c62021ef...
language: ruby sudo: false cache: bundler rvm: - jruby-9.1.5.0 - jruby-1.7.26 env: global: - CODECLIMATE_REPO_TOKEN=7800b9ed7143dedbdc5e3c62021efa6944bacce3ea9e001654d7481cdabb8c07 - JRUBY_OPTS='--dev -J-Xmx1024M' matrix: fast_finish: true notifications: webhooks: urls: - https://webhooks.gi...
<|file_sep|>.travis.yml.diff original: - jruby-19mode - jruby - jruby-head updated: - jruby-9.1.5.0 - jruby-1.7.26 <|file_sep|>original/.travis.yml language: ruby sudo: false cache: bundler rvm: - jruby-19mode - jruby - jruby-head env: global: - CODECLIMATE_REPO_TOKEN=7800b9ed7143dedbdc5e3c62021ef...
569a9836b812ccc2b7c4d9656bfaec6f478b4e5e
.travis.yml
.travis.yml
YAML
<|file_sep|>original/Cargo.toml [package] authors = ["Eric Kidd <git@randomhacks.net>"] description = "Fetch secrets from either environment variables or Hashicorp's Vault" documentation = "http://docs.randomhacks.net/credentials/" license = "CC0-1.0" name = "credentials" readme = "README.md" repository = "https://gith...
[package] authors = ["Eric Kidd <git@randomhacks.net>"] description = "Fetch secrets from either environment variables or Hashicorp's Vault" documentation = "http://docs.randomhacks.net/credentials/" license = "CC0-1.0" name = "credentials" readme = "README.md" repository = "https://github.com/emk/credentials" version ...
<|file_sep|>original/Cargo.toml [package] authors = ["Eric Kidd <git@randomhacks.net>"] description = "Fetch secrets from either environment variables or Hashicorp's Vault" documentation = "http://docs.randomhacks.net/credentials/" license = "CC0-1.0" name = "credentials" readme = "README.md" repository = "https://gith...
7f72102afe382750ce7a7c9244c6de1755255afd
Cargo.toml
Cargo.toml
TOML
<|file_sep|>original/app/views/partials/_impact_radius.html.erb <!-- Begin Impact Radius Tracking Code --> <% if @order && @order.completed_at && @order.completed_at > 1.minute.ago && @order.send_to_impact_radius? %> <script type='text/javascript' src='<%= ENV['IMPACT_RADIUS_JS_URL'] %>'></script> <script type='te...
<script type='text/javascript' src='<%= ENV['IMPACT_RADIUS_JS_URL'] %>'></script> <script type='text/javascript'> irEvent.setOrderId('<%= j @order.number %>'); <% @order.line_items.each do |line_item| %> irEvent.addItem('<%= j line_item.variant.product.name %>', '<%= j line_item.variant.sku %>', '<%= l...
<|file_sep|>original/app/views/partials/_impact_radius.html.erb <!-- Begin Impact Radius Tracking Code --> <% if @order && @order.completed_at && @order.completed_at > 1.minute.ago && @order.send_to_impact_radius? %> <script type='text/javascript' src='<%= ENV['IMPACT_RADIUS_JS_URL'] %>'></script> <script type='te...
ef3d794dcf36ee23bdc9009d9ecfa38b7abd51b0
app/views/partials/_impact_radius.html.erb
app/views/partials/_impact_radius.html.erb
HTML+ERB
<|file_sep|>original/apps/storybase_story/templates/storybase_story/explore_stories.html <|file_sep|>current/apps/storybase_story/templates/storybase_story/explore_stories.html <|file_sep|>updated/apps/storybase_story/templates/storybase_story/explore_stories.html
{% extends "base.html" %} {% load i18n sekizai_tags menu_tags %} {% block head_title %}{{ storybase_explore_title }}{{ block.super }}{% endblock %} {% block above_content %} <ul id="breadcrumbs" class="row">{% show_breadcrumb %}</ul> {% endblock %} {% block col_center %} <div class="twelvecol last"> <h2>{{ story...
<|file_sep|>original/apps/storybase_story/templates/storybase_story/explore_stories.html <|file_sep|>current/apps/storybase_story/templates/storybase_story/explore_stories.html <|file_sep|>updated/apps/storybase_story/templates/storybase_story/explore_stories.html {% extends "base.html" %} {% load i18n sekizai_tags ...
f5ef78aecca5cfa29b9dcda71c3338a1419d2cb9
apps/storybase_story/templates/storybase_story/explore_stories.html
apps/storybase_story/templates/storybase_story/explore_stories.html
HTML
<|file_sep|>original/README.md # r2k-lib Core library for R2K <|file_sep|>current/README.md # r2k-lib Core library for R2K <|file_sep|>updated/README.md
# r2k-lib Core library for [R2K](https://github.com/SiIky/r2k) and [JCD](https://github.com/SiIky/jcd.rs)
<|file_sep|>original/README.md # r2k-lib Core library for R2K <|file_sep|>current/README.md # r2k-lib Core library for R2K <|file_sep|>updated/README.md # r2k-lib Core library for [R2K](https://github.com/SiIky/r2k) and [JCD](https://github.com/SiIky/jcd.rs)
9220c2c772085ff2ae88ecb074848d1ce5988567
README.md
README.md
Markdown
<|file_sep|>original/README.md # Resque::Ffmpeg [![Build Status](https://travis-ci.org/joker1007/rescue-ffmpeg.png)](https://travis-ci.org/joker1007/rescue-ffmpeg) easier way to use ffmpeg in resque ## Requirements - ffmpeg-1.1 with libx264 and libvpx and libfaac ## Installation Add this line to your application's ...
# Resque::Ffmpeg [![Build Status](https://travis-ci.org/joker1007/resque-ffmpeg.png)](https://travis-ci.org/joker1007/resque-ffmpeg) easier way to use ffmpeg in resque ## Requirements - ffmpeg-1.1 with libx264 and libvpx and libfaac ## Installation Add this line to your application's Gemfile: gem 'resque-ffmpe...
<|file_sep|>original/README.md # Resque::Ffmpeg [![Build Status](https://travis-ci.org/joker1007/rescue-ffmpeg.png)](https://travis-ci.org/joker1007/rescue-ffmpeg) easier way to use ffmpeg in resque ## Requirements - ffmpeg-1.1 with libx264 and libvpx and libfaac ## Installation Add this line to your application's ...
c4fde5012ea44d32f0f1938dda2ae363d5d02872
README.md
README.md
Markdown
<|file_sep|>original/spec/spec_helper.rb Dir[File.join(File.dirname(__FILE__), '/matchers/**/*.rb')].each { |f| require f } Dir[File.join(File.dirname(__FILE__), '/shared/**/*.rb')].each { |f| require f } RSpec.configure do |config| config.expect_with :rspec do |expectations| expectations.syntax = :expect ex...
RSpec.configure do |config| config.expect_with :rspec do |expectations| expectations.syntax = :expect expectations.include_chain_clauses_in_custom_matcher_descriptions = true end config.mock_with :rspec do |mocks| mocks.verify_partial_doubles = true end config.disable_monkey_patching! if con...
<|file_sep|>original/spec/spec_helper.rb Dir[File.join(File.dirname(__FILE__), '/matchers/**/*.rb')].each { |f| require f } Dir[File.join(File.dirname(__FILE__), '/shared/**/*.rb')].each { |f| require f } RSpec.configure do |config| config.expect_with :rspec do |expectations| expectations.syntax = :expect ex...
19c49630930341d648b8aa700878cd99c46e543f
spec/spec_helper.rb
spec/spec_helper.rb
Ruby
<|file_sep|>app/templates/_readme.md.diff original: updated: ## Deployment Use `npm run deploy` to compile & compress static assets ## Local development Kickoff uses Grunt.js to compile javascript, scss & to compress image assets. ### Watch files and run a static server Run `grunt` ### Watch files without static s...
## Deployment Use `npm run deploy` to compile & compress static assets ## Local development Kickoff uses Grunt.js to compile javascript, scss & to compress image assets. ### Watch files and run a static server Run `grunt` ### Watch files without static server Run `grunt watcher` ### Compile and compress scss, image...
<|file_sep|>app/templates/_readme.md.diff original: updated: ## Deployment Use `npm run deploy` to compile & compress static assets ## Local development Kickoff uses Grunt.js to compile javascript, scss & to compress image assets. ### Watch files and run a static server Run `grunt` ### Watch files without static s...
b93c86a4c53aa9ebc12619e9d891610738770bdc
app/templates/_readme.md
app/templates/_readme.md
Markdown
<|file_sep|>original/.github/workflows/tox.yaml matrix: python-version: [ '3.10', '3.9', '3.8', '3.7', '3.6', '3.5' ] steps: - uses: actions/checkout@v2 with: lfs: true - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: pyth...
matrix: python-version: [ '3.10', '3.9', '3.8', '3.7', '3.6', '3.5' ] steps: - uses: actions/checkout@v2 with: lfs: true - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - n...
<|file_sep|>original/.github/workflows/tox.yaml matrix: python-version: [ '3.10', '3.9', '3.8', '3.7', '3.6', '3.5' ] steps: - uses: actions/checkout@v2 with: lfs: true - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: pyth...
6856f7f131eec2138282577b05ee3b03ae85a84b
.github/workflows/tox.yaml
.github/workflows/tox.yaml
YAML
<|file_sep|>original/dependencies.txt aptitude vim vim-gnome meld terminator pgadmin3 audacity blender git build-essential default-jdk maven python python-setuptools python-pip <|file_sep|>current/dependencies.txt aptitude vim vim-gnome meld terminator pgadmin3 audacity blender git build-essential default-jdk...
aptitude gnome-tweak-tool dconf-editor gnome-shell-extensions chrome-gnome-shell vim vim-gnome meld terminator pgadmin3 audacity blender git build-essential default-jdk maven
<|file_sep|>original/dependencies.txt aptitude vim vim-gnome meld terminator pgadmin3 audacity blender git build-essential default-jdk maven python python-setuptools python-pip <|file_sep|>current/dependencies.txt aptitude vim vim-gnome meld terminator pgadmin3 audacity blender git build-essential default-jdk...
e70d0d9f9ae134ec6532e6ede6eef9fbb12c97f5
dependencies.txt
dependencies.txt
Text
<|file_sep|>original/src/main/java/io/github/satoshinm/WebSandboxMC/sponge/WebSandboxSpongePlugin.java <|file_sep|>current/src/main/java/io/github/satoshinm/WebSandboxMC/sponge/WebSandboxSpongePlugin.java <|file_sep|>updated/src/main/java/io/github/satoshinm/WebSandboxMC/sponge/WebSandboxSpongePlugin.java
package io.github.satoshinm.WebSandboxMC.sponge; import com.google.inject.Inject; import org.slf4j.Logger; import org.spongepowered.api.event.Listener; import org.spongepowered.api.event.game.state.GameStartedServerEvent; import org.spongepowered.api.plugin.Plugin; @Plugin(id = "websandboxmc", name = "WebSandboxMC", ...
<|file_sep|>original/src/main/java/io/github/satoshinm/WebSandboxMC/sponge/WebSandboxSpongePlugin.java <|file_sep|>current/src/main/java/io/github/satoshinm/WebSandboxMC/sponge/WebSandboxSpongePlugin.java <|file_sep|>updated/src/main/java/io/github/satoshinm/WebSandboxMC/sponge/WebSandboxSpongePlugin.java package io....
9ab329ca2e3983fa35f880d8b2b7de60d7ffc67f
src/main/java/io/github/satoshinm/WebSandboxMC/sponge/WebSandboxSpongePlugin.java
src/main/java/io/github/satoshinm/WebSandboxMC/sponge/WebSandboxSpongePlugin.java
Java
<|file_sep|>original/requirements_dev.txt mako==1.0.7 click==6.7 mock==2.0.0 pytest-flake8==1.0.1 sphinx==1.7.5 h5py==2.8.0 sphinx_rtd_theme==0.3.1 scipy==1.0.0 Pillow==5.1.0 scipy==1.0.0 <|file_sep|>current/requirements_dev.txt mako==1.0.7 click==6.7 mock==2.0.0 pytest-flake8==1.0.1 sphinx==1.7.5 h5py==2.8.0 sphinx_rt...
mako==1.0.7 click==6.7 mock==2.0.0 pytest-flake8==1.0.1 sphinx==1.7.5 h5py==2.8.0 sphinx_rtd_theme==0.4.0 scipy==1.0.0 Pillow==5.1.0 scipy==1.0.0
<|file_sep|>original/requirements_dev.txt mako==1.0.7 click==6.7 mock==2.0.0 pytest-flake8==1.0.1 sphinx==1.7.5 h5py==2.8.0 sphinx_rtd_theme==0.3.1 scipy==1.0.0 Pillow==5.1.0 scipy==1.0.0 <|file_sep|>current/requirements_dev.txt mako==1.0.7 click==6.7 mock==2.0.0 pytest-flake8==1.0.1 sphinx==1.7.5 h5py==2.8.0 sphinx_rt...
8569ed960d174b268aaaa615267d0debc60df83e
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/ci_scripts/buildAssimp.sh #!/usr/bin/env bash if [ -z $1 ] then path=cmake else path=/project/cmake fi echo 'Building assimp...' cd assimp_unzipped cd assimp-4.1.0 ${path} -Bbuild -H. -G 'Unix Makefiles' -DASSIMP_BUILD_TESTS=OFF -DASSIMP_BUILD_ASSIMP_TOOLS=OFF -DASSIMP_NO_EXPORT=ON -DCMAKE_BUIL...
#!/usr/bin/env bash if [ -z $1 ] then path=cmake else path=/project/bin/cmake fi echo 'Building assimp...' cd assimp_unzipped cd assimp-4.1.0 ${path} -Bbuild -H. -G 'Unix Makefiles' -DASSIMP_BUILD_TESTS=OFF -DASSIMP_BUILD_ASSIMP_TOOLS=OFF -DASSIMP_NO_EXPORT=ON -DCMAKE_BUILD_TYPE=Release rc=$?; if [[ ${rc} != 0 ]]; ...
<|file_sep|>original/ci_scripts/buildAssimp.sh #!/usr/bin/env bash if [ -z $1 ] then path=cmake else path=/project/cmake fi echo 'Building assimp...' cd assimp_unzipped cd assimp-4.1.0 ${path} -Bbuild -H. -G 'Unix Makefiles' -DASSIMP_BUILD_TESTS=OFF -DASSIMP_BUILD_ASSIMP_TOOLS=OFF -DASSIMP_NO_EXPORT=ON -DCMAKE_BUIL...
ad188eaefb1ed0191586208a7345cf0a855efcc5
ci_scripts/buildAssimp.sh
ci_scripts/buildAssimp.sh
Shell
<|file_sep|>original/MCPopupOverlay.podspec <|file_sep|>current/MCPopupOverlay.podspec <|file_sep|>updated/MCPopupOverlay.podspec
Pod::Spec.new do |s| s.name = "MCPopupOverlay" s.version = "0.0.1" s.summary = "A generic popup view class." s.homepage = "http://www.mushroomcloud.co.za" s.license = 'Apache License, Version 2.0' s.author = { "Rayman Rosevear" => "ray@mushroomcloud.co.za" } s.platform ...
<|file_sep|>original/MCPopupOverlay.podspec <|file_sep|>current/MCPopupOverlay.podspec <|file_sep|>updated/MCPopupOverlay.podspec Pod::Spec.new do |s| s.name = "MCPopupOverlay" s.version = "0.0.1" s.summary = "A generic popup view class." s.homepage = "http://www.mushroomcloud.co.za" ...
62a4b138363804715bdc4e1bc1b39d6df39cfd5b
MCPopupOverlay.podspec
MCPopupOverlay.podspec
Ruby
<|file_sep|>src/CMakeLists.txt.diff original: set(MSBUILD_FILES yardstick.targets ) updated: <|file_sep|>original/src/CMakeLists.txt ) add_library(yardstick SHARED ${PUBLIC_HEADERS} ${PRIVATE_HEADERS} ${SOURCES} ) set_property(TARGET yardstick PROPERTY DEBUG_POSTFIX "d") set_property(TARGET yardstick PROPERTY C...
${PUBLIC_HEADERS} ${PRIVATE_HEADERS} ${SOURCES} ) set_property(TARGET yardstick PROPERTY DEBUG_POSTFIX "d") set_property(TARGET yardstick PROPERTY CXX_STANDARD 11) target_compile_definitions(yardstick PRIVATE YARDSTICK_EXPORT) target_include_directories(yardstick PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}) target_include_...
<|file_sep|>src/CMakeLists.txt.diff original: set(MSBUILD_FILES yardstick.targets ) updated: <|file_sep|>original/src/CMakeLists.txt ) add_library(yardstick SHARED ${PUBLIC_HEADERS} ${PRIVATE_HEADERS} ${SOURCES} ) set_property(TARGET yardstick PROPERTY DEBUG_POSTFIX "d") set_property(TARGET yardstick PROPERTY C...
6bac8858de320a2db1fb01e31279fde5674073bd
src/CMakeLists.txt
src/CMakeLists.txt
Text
<|file_sep|>original/excercise11/main.cpp #include <iostream> #include <string> #include "hash_table.cpp" #include <time.h> void randstr(const int length, std::string &out); int main(void) { srand(time(NULL)); hash_set<std::string> hs_str(10, 0.8, [] (const std::string entry) -> unsigned int ...
#include <iostream> #include <string> #include "hash_table.hpp" #include <time.h> void randstr(const int length, std::string &out); int main(void) { srand(time(NULL)); hash_set<std::string> hs_str(10, 0.8, [] (const std::string entry) -> unsigned int { unsigned int hash = 0; ...
<|file_sep|>original/excercise11/main.cpp #include <iostream> #include <string> #include "hash_table.cpp" #include <time.h> void randstr(const int length, std::string &out); int main(void) { srand(time(NULL)); hash_set<std::string> hs_str(10, 0.8, [] (const std::string entry) -> unsigned int ...
2cfa8b8ba06cce61a3b9e64f85037f2147a6a74f
excercise11/main.cpp
excercise11/main.cpp
C++
<|file_sep|>original/JefBot/Commands/CoinPluginCommand.cs <|file_sep|>current/JefBot/Commands/CoinPluginCommand.cs <|file_sep|>updated/JefBot/Commands/CoinPluginCommand.cs
using System; using System.Collections.Generic; using System.IO; using TwitchLib; using TwitchLib.TwitchClientClasses; using System.Net; namespace JefBot.Commands { internal class CoinPluginCommand : IPluginCommand { public string PluginName => "Coin"; public string Command => "coin"; ...
<|file_sep|>original/JefBot/Commands/CoinPluginCommand.cs <|file_sep|>current/JefBot/Commands/CoinPluginCommand.cs <|file_sep|>updated/JefBot/Commands/CoinPluginCommand.cs using System; using System.Collections.Generic; using System.IO; using TwitchLib; using TwitchLib.TwitchClientClasses; using System.Net; namespa...
44d51a64da2f38535013da9243650185f0cebd35
JefBot/Commands/CoinPluginCommand.cs
JefBot/Commands/CoinPluginCommand.cs
C#