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|>app/views/admin/templates/_position.html.erb.diff original: <div class="position"> updated: <!-- <div class="position"> <|file_sep|>original/app/views/admin/templates/_position.html.erb <%= item.position %> <div class="position"> <%= html_position.join(connector).html_safe %> </div> <|file_sep|>current/a...
<%= item.position %> <!-- <div class="position"> <%= html_position.join(connector).html_safe %> </div> -->
<|file_sep|>app/views/admin/templates/_position.html.erb.diff original: <div class="position"> updated: <!-- <div class="position"> <|file_sep|>original/app/views/admin/templates/_position.html.erb <%= item.position %> <div class="position"> <%= html_position.join(connector).html_safe %> </div> <|file_sep|>current/a...
18c792654ff3ed18d0319b2181126bbbcff3b259
app/views/admin/templates/_position.html.erb
app/views/admin/templates/_position.html.erb
HTML+ERB
<|file_sep|>src/cd/go/contrib/elasticagents/docker/Constants.java.diff original: String REQUEST_SERVER_DISABLE_AGENT = REQUEST_SERVER_PREFIX + ".elasticagent.disable-agent"; String REQUEST_SERVER_DELETE_AGENT = REQUEST_SERVER_PREFIX + ".elasticagent.delete-agent"; updated: String REQUEST_SERVER_DISABLE_AGEN...
* limitations under the License. */ package cd.go.contrib.elasticagents.docker; public interface Constants { String PLUGIN_ID = "cd.go.contrib.elastic-agents.docker"; String EXTENSION_NAME = "elastic-agent"; // requests that the plugin makes to the server String REQUEST_SERVER_PREFIX = "go.process...
<|file_sep|>src/cd/go/contrib/elasticagents/docker/Constants.java.diff original: String REQUEST_SERVER_DISABLE_AGENT = REQUEST_SERVER_PREFIX + ".elasticagent.disable-agent"; String REQUEST_SERVER_DELETE_AGENT = REQUEST_SERVER_PREFIX + ".elasticagent.delete-agent"; updated: String REQUEST_SERVER_DISABLE_AGEN...
33b25d959019eb02cc13e593edb1ba7953dbed10
src/cd/go/contrib/elasticagents/docker/Constants.java
src/cd/go/contrib/elasticagents/docker/Constants.java
Java
<|file_sep|>original/tools/scripts/property-regex.js // This includes only the binary properties required by UTS18 RL1.2 for level 1 Unicode regex // support, minus `Assigned` which has special handling since it is the inverse of Unicode category // `Unassigned`. To include all binary properties, change this to: // `c...
// This includes only the binary properties required by UTS18 RL1.2 for level 1 Unicode regex // support, minus `Assigned` which has special handling since it is the inverse of Unicode category // `Unassigned`. To include all binary properties, change this to: // `const properties = require(`${unicodeVersion}`).Binary...
<|file_sep|>original/tools/scripts/property-regex.js // This includes only the binary properties required by UTS18 RL1.2 for level 1 Unicode regex // support, minus `Assigned` which has special handling since it is the inverse of Unicode category // `Unassigned`. To include all binary properties, change this to: // `c...
0b8a5a18f05eed0c10f357f3f8f7231ff964d087
tools/scripts/property-regex.js
tools/scripts/property-regex.js
JavaScript
<|file_sep|>original/com/github/sebastianscatularo/Main.java <|file_sep|>current/com/github/sebastianscatularo/Main.java <|file_sep|>updated/com/github/sebastianscatularo/Main.java
package com.informatorio; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; /** * Created by Informatorio on 05/09/2016. */ public class Main { public static void main(String[] args) { Pilot pilot = new Pilot("Pilot", 14, "undefined"); ...
<|file_sep|>original/com/github/sebastianscatularo/Main.java <|file_sep|>current/com/github/sebastianscatularo/Main.java <|file_sep|>updated/com/github/sebastianscatularo/Main.java package com.informatorio; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; ...
f0db4f6de761ba9dd0a8b6888bd2d43ac378bfa9
com/github/sebastianscatularo/Main.java
com/github/sebastianscatularo/Main.java
Java
<|file_sep|>original/.github/workflows/ci.yml <|file_sep|>current/.github/workflows/ci.yml <|file_sep|>updated/.github/workflows/ci.yml
name: CI on: [push, pull_request] jobs: test: runs-on: ubuntu-latest strategy: matrix: jdk-distribution: ["temurin"] # Versions 8 and 17 are the earliest versions the # `actions/setup-java@v2` action claims to support. # jdk-version: ["8", "17"] ste...
<|file_sep|>original/.github/workflows/ci.yml <|file_sep|>current/.github/workflows/ci.yml <|file_sep|>updated/.github/workflows/ci.yml name: CI on: [push, pull_request] jobs: test: runs-on: ubuntu-latest strategy: matrix: jdk-distribution: ["temurin"] # Versions 8 and 17 ar...
b2da7d68a18af2b4a5dbee748d595042d0d5a10d
.github/workflows/ci.yml
.github/workflows/ci.yml
YAML
<|file_sep|>original/app/controllers/kracken/sessions_controller.rb def create @user = user_class.find_or_create_from_auth_hash(auth_hash) session[:user_id] = @user.id session[:user_cache_key] = cookies[:_radius_user_cache_key] session[:token_expires_at] = Time.zone.at(auth_hash[:credentials...
def create @user = user_class.find_or_create_from_auth_hash(auth_hash) session[:user_id] = @user.id session[:user_cache_key] = cookies[:_radius_user_cache_key] session[:token_expires_at] = Time.zone.at(auth_hash[:credentials][:expires_at]) redirect_to return_to_path end def de...
<|file_sep|>original/app/controllers/kracken/sessions_controller.rb def create @user = user_class.find_or_create_from_auth_hash(auth_hash) session[:user_id] = @user.id session[:user_cache_key] = cookies[:_radius_user_cache_key] session[:token_expires_at] = Time.zone.at(auth_hash[:credentials...
e511a6ecd65090b998310df760b56090039f01e9
app/controllers/kracken/sessions_controller.rb
app/controllers/kracken/sessions_controller.rb
Ruby
<|file_sep|>original/python/video-tools/rename-thetvdb.py <|file_sep|>current/python/video-tools/rename-thetvdb.py <|file_sep|>updated/python/video-tools/rename-thetvdb.py
#!/usr/bin/env python ''' TODO: - Get episode names, numbers, seasons from URL - Get path to rename from stdin - Get thetvdb url from stdin ''' import os import os.path PATH_TO_RENAME = '/path/to/episodes' INFILE_NAME = '/path/to/episodes.txt' def main(): episodes = {} # Get episode names, numbers, s...
<|file_sep|>original/python/video-tools/rename-thetvdb.py <|file_sep|>current/python/video-tools/rename-thetvdb.py <|file_sep|>updated/python/video-tools/rename-thetvdb.py #!/usr/bin/env python ''' TODO: - Get episode names, numbers, seasons from URL - Get path to rename from stdin - Get thetvdb url from stdin ''' ...
ad706e2a98e564159aa5b505d7522fa39bfcceb5
python/video-tools/rename-thetvdb.py
python/video-tools/rename-thetvdb.py
Python
<|file_sep|>original/Ubertesters.podspec Pod::Spec.new do |s| s.name = "Ubertesters" s.version = "3.0.4" s.summary = "Mobile beta testing solution" s.homepage = "https://github.com/sciutand/UbertestersSDK" s.description = "Pod to use Ubertesters via CocoaPods. Currently using the latest...
Pod::Spec.new do |s| s.name = "Ubertesters" s.version = "3.0.4" s.summary = "Mobile beta testing solution" s.homepage = "https://github.com/sciutand/UbertestersSDK" s.description = "Pod to use Ubertesters via CocoaPods. Currently using the latest version 2.0.4" s.license = {:type...
<|file_sep|>original/Ubertesters.podspec Pod::Spec.new do |s| s.name = "Ubertesters" s.version = "3.0.4" s.summary = "Mobile beta testing solution" s.homepage = "https://github.com/sciutand/UbertestersSDK" s.description = "Pod to use Ubertesters via CocoaPods. Currently using the latest...
062c6a340d37146ce5d0f3914a9c6d099b33853e
Ubertesters.podspec
Ubertesters.podspec
Ruby
<|file_sep|>original/kami/README.md <|file_sep|>current/kami/README.md <|file_sep|>updated/kami/README.md
# Kami Experiments This directory contains an attempt to use the [Kami](https://github.com/mit-plv/kami) system to specify a simple circuit and drive it through the point where we can generate a Verilog netlist which can be implemented and a Xilinx FPGA board and run. The example we start with is a simple 4-bit count...
<|file_sep|>original/kami/README.md <|file_sep|>current/kami/README.md <|file_sep|>updated/kami/README.md # Kami Experiments This directory contains an attempt to use the [Kami](https://github.com/mit-plv/kami) system to specify a simple circuit and drive it through the point where we can generate a Verilog netlist ...
647fcc427be1edfd57330f3d09dd687ebf40d197
kami/README.md
kami/README.md
Markdown
<|file_sep|>original/templates/docs/python.md Otherwise, you can use the [urllib.request](https://docs.python.org/3/library/urllib.request.html) module from Python 3 standard library: ```python import socket import urllib.request try: urllib.request.urlopen("PING_URL", timeout=10) except socket.error as e: # ...
Otherwise, you can use the [urllib.request](https://docs.python.org/3/library/urllib.request.html) module from Python 3 standard library: ```python import socket import urllib.request try: urllib.request.urlopen("PING_URL", timeout=10) except socket.error as e: # Log ping failure here... print("Ping faile...
<|file_sep|>original/templates/docs/python.md Otherwise, you can use the [urllib.request](https://docs.python.org/3/library/urllib.request.html) module from Python 3 standard library: ```python import socket import urllib.request try: urllib.request.urlopen("PING_URL", timeout=10) except socket.error as e: # ...
289afd568327634cc4d88d03322403f6b471cb62
templates/docs/python.md
templates/docs/python.md
Markdown
<|file_sep|>original/lib/ruby_genderize/guesser.rb gender.female? end def self.guess_gender name genderize_json = read_genderize_api name genderize_hash = convert_json_hash_to_ruby_hash genderize_json initialize_gender_from_hash genderize_hash end def self.read_genderize_api na...
gender.female? end def self.guess_gender name genderize_json = read_genderize_api name genderize_hash = convert_json_hash_to_ruby_hash genderize_json initialize_gender_from_hash genderize_hash end def self.read_genderize_api name uri = URI.escape(API_BASE_URI + "?name=#{n...
<|file_sep|>original/lib/ruby_genderize/guesser.rb gender.female? end def self.guess_gender name genderize_json = read_genderize_api name genderize_hash = convert_json_hash_to_ruby_hash genderize_json initialize_gender_from_hash genderize_hash end def self.read_genderize_api na...
ab9a20d762b398434d637163fb342ba3a684af9d
lib/ruby_genderize/guesser.rb
lib/ruby_genderize/guesser.rb
Ruby
<|file_sep|>.travis.yml.diff original: - TOX_ENV=py27-django18-haystack23 updated: <|file_sep|>.travis.yml.diff original: - TOX_ENV=py27-django19-haystack23 updated: <|file_sep|>.travis.yml.diff original: - TOX_ENV=py34-django18-haystack23 updated: <|file_sep|>.travis.yml.diff original: - TOX_ENV=py34-django...
language: python python: 2.7 env: - TOX_ENV=flake8 - TOX_ENV=py27-django14-haystack22 - TOX_ENV=py27-django14-haystack23 - TOX_ENV=py27-django14-haystack24 - TOX_ENV=py27-django18-haystack24 - TOX_ENV=py27-django19-haystack24 - TOX_ENV=py34-django18-haystack24 - TOX_ENV=py34-django19-haystack24 - TOX_...
<|file_sep|>.travis.yml.diff original: - TOX_ENV=py27-django18-haystack23 updated: <|file_sep|>.travis.yml.diff original: - TOX_ENV=py27-django19-haystack23 updated: <|file_sep|>.travis.yml.diff original: - TOX_ENV=py34-django18-haystack23 updated: <|file_sep|>.travis.yml.diff original: - TOX_ENV=py34-django...
d89e83afa119a2753a8956f4a5d20cf20081a31c
.travis.yml
.travis.yml
YAML
<|file_sep|>lib/active_record/turntable/util.rb.diff original: updated: def ar60_or_later? ar_version_equals_or_later?("6.0") end <|file_sep|>original/lib/active_record/turntable/util.rb ar_version_equals_or_later?("5.1") end def earlier_than_ar51? ar_version_earlier_than?("5.1") ...
end def ar52_or_later? ar_version_equals_or_later?("5.2") end def ar60_or_later? ar_version_equals_or_later?("6.0") end module_function :ar_version_equals_or_later?, :ar_version_earlier_than?, :ar_version, :ar_version_sat...
<|file_sep|>lib/active_record/turntable/util.rb.diff original: updated: def ar60_or_later? ar_version_equals_or_later?("6.0") end <|file_sep|>original/lib/active_record/turntable/util.rb ar_version_equals_or_later?("5.1") end def earlier_than_ar51? ar_version_earlier_than?("5.1") ...
af91f100de600d2898dd328f97ba8f8daa7baef9
lib/active_record/turntable/util.rb
lib/active_record/turntable/util.rb
Ruby
<|file_sep|>original/src/main/java/YaoGC/SampleCircuit.java <|file_sep|>current/src/main/java/YaoGC/SampleCircuit.java <|file_sep|>updated/src/main/java/YaoGC/SampleCircuit.java
/** * @author Wei Xie * @description Sub-circuit inside the loop of estimating n in 2^n (to approximate value x) */ package YaoGC; public class SampleCircuit extends CompositeCircuit { private int bitLength; //TODO read from config: max N as in 2^n public SampleCircuit(int l, int k) { // Two i...
<|file_sep|>original/src/main/java/YaoGC/SampleCircuit.java <|file_sep|>current/src/main/java/YaoGC/SampleCircuit.java <|file_sep|>updated/src/main/java/YaoGC/SampleCircuit.java /** * @author Wei Xie * @description Sub-circuit inside the loop of estimating n in 2^n (to approximate value x) */ package YaoGC; publ...
59f46e08a368dd27eeab4a7291badc3e37e55897
src/main/java/YaoGC/SampleCircuit.java
src/main/java/YaoGC/SampleCircuit.java
Java
<|file_sep|>original/settings.json { "port": 3000, "db": "randomuser", "maxResults": 5000, "limit": 20000, "resetInterval": 60000, "latestVersion": "1.3", "stripePublishKey": "", "stripePrivateKey": "" } <|file_sep|>current/settings.json { "port": 3000, "db": "randomuser", "maxResults": 5000, "l...
{ "port": 3000, "db": "randomuser", "maxResults": 5000, "limit": 20000, "resetInterval": 300000, "latestVersion": "1.3", "stripePublishKey": "", "stripePrivateKey": "" }
<|file_sep|>original/settings.json { "port": 3000, "db": "randomuser", "maxResults": 5000, "limit": 20000, "resetInterval": 60000, "latestVersion": "1.3", "stripePublishKey": "", "stripePrivateKey": "" } <|file_sep|>current/settings.json { "port": 3000, "db": "randomuser", "maxResults": 5000, "l...
a8528e4ba0efebf692a02de2ed312ffe20b7a897
settings.json
settings.json
JSON
<|file_sep|>original/requirements.txt appdirs==1.4.3 args==0.1.0 beautifulsoup4==4.5.3 clint==0.5.1 colorama==0.3.7 ConfigArgParse==0.11.0 docutils==0.13.1 markdown2==2.3.3 packaging==16.8 pkginfo==1.4.1 py==1.4.33 Pygments==2.2.0 pyparsing==2.2.0 pytest==3.0.6 requests==2.13.0 requests-toolbelt==0.7.1 six==1.10.0 twin...
appdirs==1.4.3 args==0.1.0 beautifulsoup4==4.5.3 clint==0.5.1 colorama==0.3.7 ConfigArgParse==0.11.0 docutils==0.13.1 markdown2==2.3.3 packaging==16.8 pkginfo==1.4.1 py==1.4.33 Pygments==2.2.0 pyparsing==2.2.0 pytest==3.0.7 requests==2.13.0 requests-toolbelt==0.7.1 six==1.10.0 twine==1.8.1
<|file_sep|>original/requirements.txt appdirs==1.4.3 args==0.1.0 beautifulsoup4==4.5.3 clint==0.5.1 colorama==0.3.7 ConfigArgParse==0.11.0 docutils==0.13.1 markdown2==2.3.3 packaging==16.8 pkginfo==1.4.1 py==1.4.33 Pygments==2.2.0 pyparsing==2.2.0 pytest==3.0.6 requests==2.13.0 requests-toolbelt==0.7.1 six==1.10.0 twin...
5d61e84dbf7024c9b273dfca775e6d4a343b8777
requirements.txt
requirements.txt
Text
<|file_sep|>original/scripts/ftl_setup.sh #!/bin/sh # Check if service key environment variable is set; exit if not if [ -z "$GCLOUD_SERVICE_KEY" ]; then echo "GCLOUD_SERVICE_KEY env variable is empty. Exiting." exit 1 fi # Export to secrets file echo $GCLOUD_SERVICE_KEY | base64 -di > client_secret.json # Set p...
#!/bin/sh # Check if this script is running on the main, non-forked repository. # Environment variables are not set in forked repository builds; # skip Firebase Test Lab steps in this case. if [ -z "$IS_MAIN_PLAID_REPO" ]; then echo "Running build on a forked repository - skipping FTL tests." # exit 0 fi # Check if...
<|file_sep|>original/scripts/ftl_setup.sh #!/bin/sh # Check if service key environment variable is set; exit if not if [ -z "$GCLOUD_SERVICE_KEY" ]; then echo "GCLOUD_SERVICE_KEY env variable is empty. Exiting." exit 1 fi # Export to secrets file echo $GCLOUD_SERVICE_KEY | base64 -di > client_secret.json # Set p...
089dcd3e3be2cad6a981aca26fa0b8d96127dbec
scripts/ftl_setup.sh
scripts/ftl_setup.sh
Shell
<|file_sep|>original/inc/filter/movingaverage.h #pragma once #include <array> namespace filter { template <typename T, size_t N> class MovingAverage { public: MovingAverage(T initial_value=static_cast<T>(0)); T output() const; // return average of data in buffer T output(T input); // add n...
#pragma once #include <array> namespace filter { /* * Warning: This class does not protect against sum overflow. It is possible * that the sum of values exceeds the maximum value T can store. */ template <typename T, size_t N> class MovingAverage { public: MovingAverage(T initial_value=static_cast<T>(...
<|file_sep|>original/inc/filter/movingaverage.h #pragma once #include <array> namespace filter { template <typename T, size_t N> class MovingAverage { public: MovingAverage(T initial_value=static_cast<T>(0)); T output() const; // return average of data in buffer T output(T input); // add n...
f0d5e3667099a34ca060fc13de19ef5be0c84db2
inc/filter/movingaverage.h
inc/filter/movingaverage.h
C
<|file_sep|>original/README.md # Emoji-commit-hook > Add emoji to your commits Start your commit message with an nice emoji ## Install ``` $ npm install -g emoji-commit-hook ``` ## Usage Add the following script in your `prepare-commit-msg` for your favorite git repo: ``` #!/bin/bash exec < /dev/tty <|file_sep...
# Emoji-commit-hook > Add emoji to your commits Start your commit message with a nice emoji á la [atom style](https://github.com/atom/atom/blob/master/CONTRIBUTING.md#git-commit-messages) ## Install ``` $ npm install -g emoji-commit-hook ``` ## Usage Add the following script in your `prepare-commit-msg` for your...
<|file_sep|>original/README.md # Emoji-commit-hook > Add emoji to your commits Start your commit message with an nice emoji ## Install ``` $ npm install -g emoji-commit-hook ``` ## Usage Add the following script in your `prepare-commit-msg` for your favorite git repo: ``` #!/bin/bash exec < /dev/tty <|file_sep...
aa331fa99d49943cbeb09d1d0bb1fb0c7bb7519a
README.md
README.md
Markdown
<|file_sep|>original/vim/keymap.js define(function(require, exports, module) { exports.showCli = true; exports.aceKeyboardHandler = require("ace/keyboard/vim").handler; exports.aceKeyboardHandler.defaultKeymap.unshift( { keys: ':', type: 'action', action: 'aceCommand', actionArgs: { exec: function(ace) { ...
define(function(require, exports, module) { exports.showCli = true; exports.aceKeyboardHandler = require("ace/keyboard/vim").handler; });
<|file_sep|>original/vim/keymap.js define(function(require, exports, module) { exports.showCli = true; exports.aceKeyboardHandler = require("ace/keyboard/vim").handler; exports.aceKeyboardHandler.defaultKeymap.unshift( { keys: ':', type: 'action', action: 'aceCommand', actionArgs: { exec: function(ace) { ...
8c7030fdb352b2002158cef1714a438bd54cd025
vim/keymap.js
vim/keymap.js
JavaScript
<|file_sep|>app/views/components/cards/_double_link_card.html.haml.diff original: = render 'components/cards/image_card', properties: properties updated: = render 'components/cards/image_card', properties: card <|file_sep|>original/app/views/components/cards/_double_link_card.html.haml .card--single.card--m...
.card--single.card--media-container.js-card.js-double-image-card - properties[:cards].each do |card| - if card.resized_image_url = render 'components/cards/image_card', properties: card - if card.resized_video_url = render 'components/cards/video_card', properties: card
<|file_sep|>app/views/components/cards/_double_link_card.html.haml.diff original: = render 'components/cards/image_card', properties: properties updated: = render 'components/cards/image_card', properties: card <|file_sep|>original/app/views/components/cards/_double_link_card.html.haml .card--single.card--m...
2288815fd251e185e7023566486a0e2b50909624
app/views/components/cards/_double_link_card.html.haml
app/views/components/cards/_double_link_card.html.haml
Haml
<|file_sep|>original/app/views/repos/_repo.html.slim li class="repo-item #{ repo.weight }" data-language="#{ repo.language if repo.language }" = link_to repo header.repo-item-header h4.repo-item-title = repo.name span.repo-item-issues span.warning-svg.issue-icon = repo.issues_count ...
li class="repo-item #{ repo.weight }" data-language="#{ repo.language if repo.language }" = link_to repo header.repo-item-header h3.repo-item-title = repo.name span.repo-item-issues span.warning-svg.issue-icon = repo.issues_count | Issues p.repo-item-description = repo.de...
<|file_sep|>original/app/views/repos/_repo.html.slim li class="repo-item #{ repo.weight }" data-language="#{ repo.language if repo.language }" = link_to repo header.repo-item-header h4.repo-item-title = repo.name span.repo-item-issues span.warning-svg.issue-icon = repo.issues_count ...
1218299b93f11b8c36cfea80d0b70b3690413e42
app/views/repos/_repo.html.slim
app/views/repos/_repo.html.slim
Slim
<|file_sep|>original/process.h // // process.h // Project3 // // Created by Stratton Aguilar on 7/3/14. // Copyright (c) 2014 Stratton Aguilar. All rights reserved. // #ifndef Project3_process_h #define Project3_process_h typedef struct { int processNum; int arrivalTime; int lifeTime; int memReq; ...
// // process.h // Project3 // // Created by Stratton Aguilar on 7/3/14. // Copyright (c) 2014 Stratton Aguilar. All rights reserved. // #ifndef Project3_process_h #define Project3_process_h typedef struct { int processNum; int arrivalTime; int lifeTime; int memReq; int time_left; int is_...
<|file_sep|>original/process.h // // process.h // Project3 // // Created by Stratton Aguilar on 7/3/14. // Copyright (c) 2014 Stratton Aguilar. All rights reserved. // #ifndef Project3_process_h #define Project3_process_h typedef struct { int processNum; int arrivalTime; int lifeTime; int memReq; ...
bafe09faaffee154ccc9225bacb526517e555882
process.h
process.h
C
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" - "0.11" - "0.10.30" before_install: - "npm install -g coffee-script" before_script: - "ls" - "coffee -o . -bc src/" <|file_sep|>current/.travis.yml language: node_js node_js: - "0.10" - "0.11" - "0.10.30" before_install: - "npm in...
language: node_js node_js: - "0.10" - "0.11" - "0.12" - "iojs" before_install: - "npm install -g coffee-script" before_script: - "ls" - "coffee -o . -bc src/"
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" - "0.11" - "0.10.30" before_install: - "npm install -g coffee-script" before_script: - "ls" - "coffee -o . -bc src/" <|file_sep|>current/.travis.yml language: node_js node_js: - "0.10" - "0.11" - "0.10.30" before_install: - "npm in...
32a03f98f671677813076a7eddeebc51b70db3b6
.travis.yml
.travis.yml
YAML
<|file_sep|>original/tests/test_python_solutions.py from helpers import solutions_dir # NOTE: If we make solution_files a fixture instead of a normal attr/function, # then we can't use it in pytest's parametrize solution_files = glob.glob(os.path.join(solutions_dir("python"), "*.py")) @pytest.mark.python def test_...
from helpers import solutions_dir # NOTE: If we make solution_files a fixture instead of a normal attr/function, # then we can't use it in pytest's parametrize solution_files = glob.glob(os.path.join(solutions_dir("python"), "*.py")) @pytest.mark.python def test_python_solutions_exist(): assert solution_files ...
<|file_sep|>original/tests/test_python_solutions.py from helpers import solutions_dir # NOTE: If we make solution_files a fixture instead of a normal attr/function, # then we can't use it in pytest's parametrize solution_files = glob.glob(os.path.join(solutions_dir("python"), "*.py")) @pytest.mark.python def test_...
3068b3d55082947fcd0594945a705c3cc34659ca
tests/test_python_solutions.py
tests/test_python_solutions.py
Python
<|file_sep|>content/enterprise_kapacitor/v1.4/administration/_index.md.diff original: title: Administration draft: false updated: title: Administering Kapacitor Enterprise description: Covers Kapacitor Enterprise configuration, security, and authentication and authorization. <|file_sep|>original/content/enterprise_kapa...
--- title: Administering Kapacitor Enterprise description: Covers Kapacitor Enterprise configuration, security, and authentication and authorization. menu: name: Administration enterprise_kapacitor_1_4: weight: 5 --- The administration documentation addresses aspects of managing Kapacitor Enterprise servers, ...
<|file_sep|>content/enterprise_kapacitor/v1.4/administration/_index.md.diff original: title: Administration draft: false updated: title: Administering Kapacitor Enterprise description: Covers Kapacitor Enterprise configuration, security, and authentication and authorization. <|file_sep|>original/content/enterprise_kapa...
cfe8e9ef8d075fcd85686a55dfa73fde16d4d811
content/enterprise_kapacitor/v1.4/administration/_index.md
content/enterprise_kapacitor/v1.4/administration/_index.md
Markdown
<|file_sep|>original/config/initializers/delayed_job_config.rb Delayed::Worker.max_attempts = 100 Delayed::Worker.max_run_time = 1.week <|file_sep|>current/config/initializers/delayed_job_config.rb Delayed::Worker.max_attempts = 100 Delayed::Worker.max_run_time = 1.week <|file_sep|>updated/config/initializers/delayed_j...
Delayed::Worker.max_attempts = 100 Delayed::Worker.max_run_time = 1.week require 'active_job/queue_adapters/delayed_job_adapter' # We patch in the display_name method to the Delayed Job queue adapter # so that all the jobs aren't aggregated under one name in AppSignal. module ActiveJob module QueueAdapters clas...
<|file_sep|>original/config/initializers/delayed_job_config.rb Delayed::Worker.max_attempts = 100 Delayed::Worker.max_run_time = 1.week <|file_sep|>current/config/initializers/delayed_job_config.rb Delayed::Worker.max_attempts = 100 Delayed::Worker.max_run_time = 1.week <|file_sep|>updated/config/initializers/delayed_j...
6263043560975ec47c6ad1dd82a20ad37db89e6e
config/initializers/delayed_job_config.rb
config/initializers/delayed_job_config.rb
Ruby
<|file_sep|>original/README.md # registry_view.py Script to visualize the contents of a Docker Registry v2 using PyCurl Usage: registry_view.py [OPTIONS]... REGISTRY[:PORT][/REPOSITORY[:TAG]] Options: -c, --cert CERT Client certificate file name -k, --key KEY Client private key file name -p, --pass PASS Pass ph...
# registry_view.py Script to visualize the contents of a Docker Registry v2 using PyCurl Additional support for AWS EC2 Container Registry with Boto3 (pip install boto3) See https://github.com/boto/boto3 for configuration details Usage: registry_view.py [OPTIONS]... REGISTRY[:PORT][/REPOSITORY[:TAG]] Options: -c, --...
<|file_sep|>original/README.md # registry_view.py Script to visualize the contents of a Docker Registry v2 using PyCurl Usage: registry_view.py [OPTIONS]... REGISTRY[:PORT][/REPOSITORY[:TAG]] Options: -c, --cert CERT Client certificate file name -k, --key KEY Client private key file name -p, --pass PASS Pass ph...
00e4d7fd3280c01e52e3551321f023f68c25cf87
README.md
README.md
Markdown
<|file_sep|>original/server.js main.on('disconnection', function(socket) { console.log('bye bye %s', socket.id); }); //! // --------- EXPRESS APP --------- // app.use(express.static(__dirname + '/public')); //! // --------- KISS.IO SERVER ------- // io .attach(app) .listen(3000, function() { console.log('Server...
main.on('disconnection', function(socket) { console.log('bye bye %s', socket.id); }); //! // --------- EXPRESS APP --------- // app.use(express.static(__dirname + '/public')); //! // --------- KISS.IO SERVER ------- // io .attach(app) .listen(process.env.PORT || 3000, function() { console.log('Server listening ...
<|file_sep|>original/server.js main.on('disconnection', function(socket) { console.log('bye bye %s', socket.id); }); //! // --------- EXPRESS APP --------- // app.use(express.static(__dirname + '/public')); //! // --------- KISS.IO SERVER ------- // io .attach(app) .listen(3000, function() { console.log('Server...
31298f74f9bff08852646e2a5047dd5f6583e56f
server.js
server.js
JavaScript
<|file_sep|>original/.forestry/settings.yml <|file_sep|>current/.forestry/settings.yml <|file_sep|>updated/.forestry/settings.yml
--- new_page_extension: md auto_deploy: false admin_path: webhook_url: sections: - type: directory path: content label: Pages create: all match: "*" - type: directory path: content/blog label: Blog create: all match: "**/*" - type: directory path: content/tags label: Tags create: all match: "*...
<|file_sep|>original/.forestry/settings.yml <|file_sep|>current/.forestry/settings.yml <|file_sep|>updated/.forestry/settings.yml --- new_page_extension: md auto_deploy: false admin_path: webhook_url: sections: - type: directory path: content label: Pages create: all match: "*" - type: directory path: con...
9ff3996a7bbeb5d6e1ffa45a6d795ac73edacd8a
.forestry/settings.yml
.forestry/settings.yml
YAML
<|file_sep|>original/appveyor.yml version: 1.0.{build} branches: only: - master image: Visual Studio 2015 build: verbosity: minimal after_build: - cmd: >- "C:\Program Files (x86)\IIS Express\iisexpress.exe" /path:src\WebSite /port:58537 "Tools\StaticSiteCrawler.cmd" <|file_sep|>current/appveyor.yml ve...
version: 1.0.{build} branches: only: - master image: Visual Studio 2015 build: verbosity: minimal after_build: - cmd: "C:\Program Files (x86)\IIS Express\iisexpress.exe" /path:"src\WebSite" /port:58537 - cmd: "Tools\StaticSiteCrawler.cmd"
<|file_sep|>original/appveyor.yml version: 1.0.{build} branches: only: - master image: Visual Studio 2015 build: verbosity: minimal after_build: - cmd: >- "C:\Program Files (x86)\IIS Express\iisexpress.exe" /path:src\WebSite /port:58537 "Tools\StaticSiteCrawler.cmd" <|file_sep|>current/appveyor.yml ve...
6f1e4ab44439f3376b153bb8d6d9345eb4c5d6c9
appveyor.yml
appveyor.yml
YAML
<|file_sep|>CMakeLists.txt.diff original: updated: file(GLOB HeaderFiles "include/*.h") <|file_sep|>original/CMakeLists.txt cmake_minimum_required(VERSION 2.6) project(Terran) include_directories("${PROJECT_SOURCE_DIR}/include") file(GLOB CoreFiles "source/*.cpp") set(STATIC_LIBRARY OFF CACHE BOOL "Build static as...
cmake_minimum_required(VERSION 2.6) project(Terran) include_directories("${PROJECT_SOURCE_DIR}/include") file(GLOB CoreFiles "source/*.cpp") file(GLOB HeaderFiles "include/*.h") set(STATIC_LIBRARY OFF CACHE BOOL "Build static as opposed to shared library") if(STATIC_LIBRARY) add_definitions(-DTERRAN_BUILDING_S...
<|file_sep|>CMakeLists.txt.diff original: updated: file(GLOB HeaderFiles "include/*.h") <|file_sep|>original/CMakeLists.txt cmake_minimum_required(VERSION 2.6) project(Terran) include_directories("${PROJECT_SOURCE_DIR}/include") file(GLOB CoreFiles "source/*.cpp") set(STATIC_LIBRARY OFF CACHE BOOL "Build static as...
6daf091f037761b88f3b2d3381bbe32706f1071b
CMakeLists.txt
CMakeLists.txt
Text
<|file_sep|>original/requirements.txt chardet==3.0.4 dj-database-url==0.4.2 dj-static==0.0.6 Django==1.11.7 django-grappelli==2.10.1 django-haystack==2.6.1 django-linkcheck==1.5 django-s3-folder-storage==0.5 django-storages==1.6.5 docutils==0.14 elasticsearch==5.4.0 futures==3.1.1 gunicorn==19.7.1 idna==2.6 jmespath==0...
chardet==3.0.4 dj-database-url==0.4.2 dj-static==0.0.6 Django==1.11.7 django-grappelli==2.10.1 django-haystack==2.6.1 django-linkcheck==1.5 django-s3-folder-storage==0.5 django-storages==1.6.5 docutils==0.14 elasticsearch==5.5.0 futures==3.1.1 gunicorn==19.7.1 idna==2.6 jmespath==0.9.3 MySQL-python==1.2.5 newrelic==2.9...
<|file_sep|>original/requirements.txt chardet==3.0.4 dj-database-url==0.4.2 dj-static==0.0.6 Django==1.11.7 django-grappelli==2.10.1 django-haystack==2.6.1 django-linkcheck==1.5 django-s3-folder-storage==0.5 django-storages==1.6.5 docutils==0.14 elasticsearch==5.4.0 futures==3.1.1 gunicorn==19.7.1 idna==2.6 jmespath==0...
7154aaf2810889a9d0e8572ce04e41505577439d
requirements.txt
requirements.txt
Text
<|file_sep|>recipes/testpath/meta.yaml.diff original: {% set version = "0.3" %} updated: {% set version = "0.3.1" %} <|file_sep|>original/recipes/testpath/meta.yaml {% set name = "testpath" %} {% set version = "0.3" %} {% set wheel_tag = "py2.py3-none-any" %} {% set fn = "{}-{}-{}.whl".format(name, version, wheel_tag) ...
{% set name = "testpath" %} {% set version = "0.3.1" %} {% set wheel_tag = "py2.py3-none-any" %} {% set fn = "{}-{}-{}.whl".format(name, version, wheel_tag) %} {% set sha256 = "039fa6a6c9fd3488f8336d23aebbfead5fa602c4a47d49d83845f55a595ec1b4" %} package: name: {{ name }} version: {{ version }} source: fn: {{ fn...
<|file_sep|>recipes/testpath/meta.yaml.diff original: {% set version = "0.3" %} updated: {% set version = "0.3.1" %} <|file_sep|>original/recipes/testpath/meta.yaml {% set name = "testpath" %} {% set version = "0.3" %} {% set wheel_tag = "py2.py3-none-any" %} {% set fn = "{}-{}-{}.whl".format(name, version, wheel_tag) ...
b77b28d703751adbdfb7a6313e90a32e941bbfab
recipes/testpath/meta.yaml
recipes/testpath/meta.yaml
YAML
<|file_sep|>src/main/webapp/scripts/main.js.diff original: $(".keyword").click(function() { $(this).addClass("active"); $(".base").hide(200); $("#real-body").addClass("focus"); $(".active .item").click(function() { $(".item").off("click"); const url = $(this).attr("data-url"...
$().ready(() => { loadContentSection().then(() =>{ $("#loader").addClass("hide"); $("#real-body").removeClass("hide"); $("#real-body").addClass("body"); }); }); $("body").on('click', '.keyword', function() { $(this).addClass("active"); $(".base").hide(200); $("#real-body").addClass("focus"); });...
<|file_sep|>src/main/webapp/scripts/main.js.diff original: $(".keyword").click(function() { $(this).addClass("active"); $(".base").hide(200); $("#real-body").addClass("focus"); $(".active .item").click(function() { $(".item").off("click"); const url = $(this).attr("data-url"...
eb42e2849f63b33f216dcc316f62d1078da81406
src/main/webapp/scripts/main.js
src/main/webapp/scripts/main.js
JavaScript
<|file_sep|>addon/templates/components/demo--ui-checkbox.hbs.diff original: {{#ui-field size=size type="checkbox" as |f|}} updated: {{#ui-field kind=kind states=states size=size type="checkbox" as |f|}} <|file_sep|>original/addon/templates/components/demo--ui-checkbox.hbs {{#ui-field size=size type="checkbox" as |f|}} ...
{{#ui-field kind=kind states=states size=size type="checkbox" as |f|}} {{#f.input}} {{size}} {{/f.input}} {{/ui-field}}
<|file_sep|>addon/templates/components/demo--ui-checkbox.hbs.diff original: {{#ui-field size=size type="checkbox" as |f|}} updated: {{#ui-field kind=kind states=states size=size type="checkbox" as |f|}} <|file_sep|>original/addon/templates/components/demo--ui-checkbox.hbs {{#ui-field size=size type="checkbox" as |f|}} ...
a05fe3c60b475a60ab8692d30d4e118f47319852
addon/templates/components/demo--ui-checkbox.hbs
addon/templates/components/demo--ui-checkbox.hbs
Handlebars
<|file_sep|>original/index.js var gulp = require('gulp'), gutil = require('gulp-util'); function loadTasks(config) { var tasks = Object.keys(config); tasks.forEach(function (name) { var taskConfig = config[name], task = require('./tasks/' + name)(taskConfig); gulp.task(name, ta...
var gulp = require('gulp'), gutil = require('gulp-util'); function loadTasks(config) { var tasks = Object.keys(config); tasks.forEach(function (name) { var taskConfig = config[name], task = require(taskConfig.def)(taskConfig); gulp.task(name, task); }); return gulp; } ...
<|file_sep|>original/index.js var gulp = require('gulp'), gutil = require('gulp-util'); function loadTasks(config) { var tasks = Object.keys(config); tasks.forEach(function (name) { var taskConfig = config[name], task = require('./tasks/' + name)(taskConfig); gulp.task(name, ta...
92f8cb2850d9e5148aa309c76b4c87cf1fc18652
index.js
index.js
JavaScript
<|file_sep|>original/View_class.rb end end def borough_prompt(boroughs) print "What borough number would you like to search in? \n" boroughs.each_with_index do |burough, index| print "#{index + 1}: #{burough} \n" end end def get_input gets.chomp.to_i end def display_listing(fi...
end end def borough_prompt(boroughs) print "What borough number would you like to search in? \n" boroughs.each_with_index do |burough, index| print "#{index + 1}: #{burough} \n" end end def get_input gets.chomp.to_i end def display_listing(filtered_listings) filtered_listi...
<|file_sep|>original/View_class.rb end end def borough_prompt(boroughs) print "What borough number would you like to search in? \n" boroughs.each_with_index do |burough, index| print "#{index + 1}: #{burough} \n" end end def get_input gets.chomp.to_i end def display_listing(fi...
93b68760f33c3d055dbfb61fa73d5000527d9795
View_class.rb
View_class.rb
Ruby
<|file_sep|>original/main.go package main import ( "log" "os" "github.com/FiloSottile/CVE-2016-2107/LuckyMinus20" ) func main() { res, err := LuckyMinus20.Test(os.Args[1]) if err != nil { log.Fatal(err) } log.Println("Vulnerable:", res) if res { os.Exit(1) } } <|file_sep|>current/main.go package main i...
package main import ( "log" "os" "github.com/FiloSottile/CVE-2016-2107/LuckyMinus20" ) func main() { res, err := LuckyMinus20.Test(os.Args[1]) if err != nil { log.Fatal(err) } log.Println("Vulnerable:", res) if res { os.Exit(2) } }
<|file_sep|>original/main.go package main import ( "log" "os" "github.com/FiloSottile/CVE-2016-2107/LuckyMinus20" ) func main() { res, err := LuckyMinus20.Test(os.Args[1]) if err != nil { log.Fatal(err) } log.Println("Vulnerable:", res) if res { os.Exit(1) } } <|file_sep|>current/main.go package main i...
7922c3be5fea76c32cc50a00f7d0f32817c19852
main.go
main.go
Go
<|file_sep|>app/assets/stylesheets/categories.scss.diff original: max-height: 25%; updated: <|file_sep|>original/app/assets/stylesheets/categories.scss // You can use Sass (SCSS) here: http://sass-lang.com/ .individual-category-container{ display: flex; justify-content: center; align-items: center; flex-wra...
display: flex; flex-direction: column; align-items: center; margin: 2% 5%; padding: 1%; border: 1px black solid; border-radius: 10%; background-color: rgba(60, 10, 144, .5); width: 10%; } .individual-category ul{ display: flex; flex-direction: column; list-style: none; padding: 0; height: 1...
<|file_sep|>app/assets/stylesheets/categories.scss.diff original: max-height: 25%; updated: <|file_sep|>original/app/assets/stylesheets/categories.scss // You can use Sass (SCSS) here: http://sass-lang.com/ .individual-category-container{ display: flex; justify-content: center; align-items: center; flex-wra...
8ceb12bb836d5169615bba07a3cf15384ef2b1b5
app/assets/stylesheets/categories.scss
app/assets/stylesheets/categories.scss
SCSS
<|file_sep|>original/CHANGELOG.md # gerardroche/sublime-polyfill changelog ## 0.7.0 * Added: CHANGELOG link to package settings menu * Changed: Toggle sidebar in vintage/vintageous with ,d is now enabled by default * Removed: package control messages; it takes too much time to maintain these, see CHANGELOG ## 0.6.0 ...
# gerardroche/sublime-polyfill changelog ## 0.7.0 * Added: CHANGELOG link to package settings menu * Changed: Toggle sidebar in vintage/vintageous with ,d is now enabled by default * Removed: package control messages; it takes too much time to maintain these, see CHANGELOG * Fixed: Open Recent Project command now onl...
<|file_sep|>original/CHANGELOG.md # gerardroche/sublime-polyfill changelog ## 0.7.0 * Added: CHANGELOG link to package settings menu * Changed: Toggle sidebar in vintage/vintageous with ,d is now enabled by default * Removed: package control messages; it takes too much time to maintain these, see CHANGELOG ## 0.6.0 ...
6b3939441e68afe5b064eb12a2416e9c73371d98
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>original/tests/__init__.py import os.path import unittest def get_tests(): start_dir = os.path.dirname(__file__) return unittest.TestLoader().discover(start_dir, pattern="*.py") <|file_sep|>current/tests/__init__.py import os.path import unittest def get_tests(): start_dir = os.path.dirname(...
import os.path import unittest def get_tests(): return full_suite() def full_suite(): from .resource import ResourceTestCase from .serializer import ResourceTestCase as SerializerTestCase from .utils import UtilsTestCase resourcesuite = unittest.TestLoader().loadTestsFromTestCase(ResourceTestCas...
<|file_sep|>original/tests/__init__.py import os.path import unittest def get_tests(): start_dir = os.path.dirname(__file__) return unittest.TestLoader().discover(start_dir, pattern="*.py") <|file_sep|>current/tests/__init__.py import os.path import unittest def get_tests(): start_dir = os.path.dirname(...
d335fce6cea07df872d8cd7d70c6c3fea348e521
tests/__init__.py
tests/__init__.py
Python
<|file_sep|>MultiMiner.Win/Extensions/ApplicationConfigurationExtensions.cs.diff original: transferObject.HiddenColumns = modelObject.HiddenColumns.ToArray(); updated: if (modelObject.HiddenColumns != null) transferObject.HiddenColumns = modelObject.HiddenColumns.ToArray(); <|fil...
Remoting.Data.Transfer.Configuration.Application transferObject = new Remoting.Data.Transfer.Configuration.Application(); ObjectCopier.CopyObject(modelObject, transferObject, "HiddenColumns"); if (modelObject.HiddenColumns != null) transferObject.HiddenCo...
<|file_sep|>MultiMiner.Win/Extensions/ApplicationConfigurationExtensions.cs.diff original: transferObject.HiddenColumns = modelObject.HiddenColumns.ToArray(); updated: if (modelObject.HiddenColumns != null) transferObject.HiddenColumns = modelObject.HiddenColumns.ToArray(); <|fil...
cf99aefb45d96eafc146c5c8e687387501c6f89c
MultiMiner.Win/Extensions/ApplicationConfigurationExtensions.cs
MultiMiner.Win/Extensions/ApplicationConfigurationExtensions.cs
C#
<|file_sep|>rsa-algorithm/src/Main.java.diff original: loggerSetup(); RSA rsa = new RSA(1024); updated: if (args.length == 1) { loggerSetup(); RSA rsa = new RSA(1024); <|file_sep|>original/rsa-algorithm/src/Main.java /** * @param args */ public static v...
*/ public static void main(String[] args) { if (args.length == 1) { loggerSetup(); RSA rsa = new RSA(1024); try { OutputStream encryptedStream = IOOperations.encryptStream( IOOperations.readFile(args[0]), rsa, RSA.BLOCK_SIZE);...
<|file_sep|>rsa-algorithm/src/Main.java.diff original: loggerSetup(); RSA rsa = new RSA(1024); updated: if (args.length == 1) { loggerSetup(); RSA rsa = new RSA(1024); <|file_sep|>original/rsa-algorithm/src/Main.java /** * @param args */ public static v...
fbbf9f279ed7d3c517a54824d6740ccd6c087458
rsa-algorithm/src/Main.java
rsa-algorithm/src/Main.java
Java
<|file_sep|>CONTRIBUTING.rst.diff original: http://docs.openstack.org/infra/manual/developers.html updated: http://docs.openstack.org/infra/manual/developers.html <|file_sep|>CONTRIBUTING.rst.diff original: http://docs.openstack.org/infra/manual/developers.html#development-workflow updated: http://docs.openstac...
If you would like to contribute to the development of OpenStack, you must follow the steps in this page: http://docs.openstack.org/infra/manual/developers.html Once those steps have been completed, changes to OpenStack should be submitted for review via the Gerrit tool, following the workflow documented at: http://doc...
<|file_sep|>CONTRIBUTING.rst.diff original: http://docs.openstack.org/infra/manual/developers.html updated: http://docs.openstack.org/infra/manual/developers.html <|file_sep|>CONTRIBUTING.rst.diff original: http://docs.openstack.org/infra/manual/developers.html#development-workflow updated: http://docs.openstac...
06dd472f0a397caaa641181491c0fe530c924c51
CONTRIBUTING.rst
CONTRIBUTING.rst
reStructuredText
<|file_sep|>lib/state-snapshot.js.diff original: updated: _getNextState({ newItems }) { return { store: this.store, initialState: { ...this.initialState }, currentState: newItems, meta: this.meta, }; } _getCommitValues() { return { meta: this.meta, items: this.ite...
this._closeSnapshot(); await this.store.commit(this._getCommitValues()); return new StateSnapshot({ ...this._getNextState({}), initialState: { ...this.items }, }); } async discardStateSnapshot() { this._closeSnapshot(); await this.store.discard(this._getCommitValues()); re...
<|file_sep|>lib/state-snapshot.js.diff original: updated: _getNextState({ newItems }) { return { store: this.store, initialState: { ...this.initialState }, currentState: newItems, meta: this.meta, }; } _getCommitValues() { return { meta: this.meta, items: this.ite...
7bc7ed3d578dd99e9a4699409e8c57174bc85abb
lib/state-snapshot.js
lib/state-snapshot.js
JavaScript
<|file_sep|>recipes/libid3tag/libid3tag_0.15.1b.bb.diff original: LICENSE = "GPL" updated: LICENSE = "GPLv2+" <|file_sep|>original/recipes/libid3tag/libid3tag_0.15.1b.bb DESCRIPTION = "Library for interacting with ID3 tags" SECTION = "libs/multimedia" PRIORITY = "optional" LICENSE = "GPL" DEPENDS = "zlib" PR = "r3" SR...
DESCRIPTION = "Library for interacting with ID3 tags" SECTION = "libs/multimedia" PRIORITY = "optional" LICENSE = "GPLv2+" DEPENDS = "zlib" PR = "r4" SRC_URI = "ftp://ftp.mars.org/pub/mpeg/libid3tag-${PV}.tar.gz \ file://libid3tag-pkg-config.patch" SRC_URI[md5sum] = "e5808ad997ba32c498803822078748c3" SRC_UR...
<|file_sep|>recipes/libid3tag/libid3tag_0.15.1b.bb.diff original: LICENSE = "GPL" updated: LICENSE = "GPLv2+" <|file_sep|>original/recipes/libid3tag/libid3tag_0.15.1b.bb DESCRIPTION = "Library for interacting with ID3 tags" SECTION = "libs/multimedia" PRIORITY = "optional" LICENSE = "GPL" DEPENDS = "zlib" PR = "r3" SR...
376649f49f7109bcc830c7a8d1e49def47fef924
recipes/libid3tag/libid3tag_0.15.1b.bb
recipes/libid3tag/libid3tag_0.15.1b.bb
BitBake
<|file_sep|>original/spec/spec_helper.rb end require 'pathname' dir = Pathname.new(__FILE__).parent Puppet[:modulepath] = File.join(dir, 'fixtures', 'modules') # There's no real need to make this version dependent, but it helps find # regressions in Puppet # # 1. Workaround for issue #16277 where default settings are...
c.before :each do # Ensure that we don't accidentally cache facts and environment # between test cases. Facter::Util::Loader.any_instance.stubs(:load_all) Facter.clear Facter.clear_messages # Store any environment variables away to be restored later @old_env = {} ENV.each_key {|k| @o...
<|file_sep|>original/spec/spec_helper.rb end require 'pathname' dir = Pathname.new(__FILE__).parent Puppet[:modulepath] = File.join(dir, 'fixtures', 'modules') # There's no real need to make this version dependent, but it helps find # regressions in Puppet # # 1. Workaround for issue #16277 where default settings are...
55e59ef1b2dc5689174ecf74de3da4efb2ba2404
spec/spec_helper.rb
spec/spec_helper.rb
Ruby
<|file_sep|>sampledata/src/main/scala/package.scala.diff original: val flowers = Flowers.load() updated: lazy val flowers = Flowers.load() <|file_sep|>sampledata/src/main/scala/package.scala.diff original: val obiszow_mtb_xcm = MTB.load("obiszow_mtb_xcm.csv") updated: laz...
package object daylight { lazy val Warsaw2013 = Daylight.load("daylight_warsaw_2013.csv") } package object webbrowsers { lazy val webbrowsers_nov_2013 = WebBrowsers.load("browsers_nov_2013.csv") } } package object sampledata { lazy val autompg ...
<|file_sep|>sampledata/src/main/scala/package.scala.diff original: val flowers = Flowers.load() updated: lazy val flowers = Flowers.load() <|file_sep|>sampledata/src/main/scala/package.scala.diff original: val obiszow_mtb_xcm = MTB.load("obiszow_mtb_xcm.csv") updated: laz...
9809eae156d76baa65922fee2bc4c96bff5ebd49
sampledata/src/main/scala/package.scala
sampledata/src/main/scala/package.scala
Scala
<|file_sep|>original/trunk/MutabilityDetector/trunk/MutabilityDetector/src/main/java/org/mutabilitydetector/locations/CodeLocation.java public final static class UnknownCodeLocation implements CodeLocation<UnknownCodeLocation> { public static final UnknownCodeLocation UNKNOWN = new UnknownCodeLocation(); ...
public final static class UnknownCodeLocation implements CodeLocation<UnknownCodeLocation> { public static final UnknownCodeLocation UNKNOWN = new UnknownCodeLocation(); private UnknownCodeLocation() { } @Override public int compareTo(UnknownCodeLocation o) { ...
<|file_sep|>original/trunk/MutabilityDetector/trunk/MutabilityDetector/src/main/java/org/mutabilitydetector/locations/CodeLocation.java public final static class UnknownCodeLocation implements CodeLocation<UnknownCodeLocation> { public static final UnknownCodeLocation UNKNOWN = new UnknownCodeLocation(); ...
084e890146fabb06c82be154d47fb7a4257828db
trunk/MutabilityDetector/trunk/MutabilityDetector/src/main/java/org/mutabilitydetector/locations/CodeLocation.java
trunk/MutabilityDetector/trunk/MutabilityDetector/src/main/java/org/mutabilitydetector/locations/CodeLocation.java
Java
<|file_sep|>original/setup.py version='0.1.4', packages=['autocert'], include_package_data=True, license='MIT', description="Automatic SSL certificates from Let's Encrypt for Django projects", long_description=README, author='Patrick Farrell', author_email='p@farrell.io',...
version='0.1.4', packages=['autocert'], include_package_data=True, license='MIT', description="Automatic SSL certificates from Let's Encrypt for Django projects", long_description=README, author='Patrick Farrell', author_email='p@farrell.io', url='https://github.com...
<|file_sep|>original/setup.py version='0.1.4', packages=['autocert'], include_package_data=True, license='MIT', description="Automatic SSL certificates from Let's Encrypt for Django projects", long_description=README, author='Patrick Farrell', author_email='p@farrell.io',...
52f936b943471fae3f320da1eaeabd49ab0ed959
setup.py
setup.py
Python
<|file_sep|>original/examples/climate/package.json { "name": "tidings-climate-example", "version": "1.0.0", "description": "Example report service using tidings.", "main": "Tidings-Climate.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "steven velozo <steven@veloz...
{ "name": "tidings-climate-example", "version": "1.0.0", "description": "Example report service using tidings.", "main": "Tidings-Climate.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "steven velozo <steven@velozo.com>", "license": "MIT", "dependencies": { ...
<|file_sep|>original/examples/climate/package.json { "name": "tidings-climate-example", "version": "1.0.0", "description": "Example report service using tidings.", "main": "Tidings-Climate.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "steven velozo <steven@veloz...
bcc4fdcb53d40dac8505382bde6d529b30eb1017
examples/climate/package.json
examples/climate/package.json
JSON
<|file_sep|>.drone.yml.diff original: image: scalaplatform/scala:0.5 updated: image: scalaplatform/scala:0.6 <|file_sep|>original/.drone.yml tests: image: scalaplatform/scala:0.5 pull: true commands: - git fetch --tags && git log | head -n 20 - ./bin/checkCLA.sh - ./bin/scalafmt ...
tests: image: scalaplatform/scala:0.6 pull: true commands: - git fetch --tags && git log | head -n 20 - ./bin/checkCLA.sh - ./bin/scalafmt --test - sbt $TEST publish: image: scalaplatform/scala:0.6 environment: - SONATYPE_USERNAME=$$SONATYPE_USERNAME - SONATY...
<|file_sep|>.drone.yml.diff original: image: scalaplatform/scala:0.5 updated: image: scalaplatform/scala:0.6 <|file_sep|>original/.drone.yml tests: image: scalaplatform/scala:0.5 pull: true commands: - git fetch --tags && git log | head -n 20 - ./bin/checkCLA.sh - ./bin/scalafmt ...
e26c74a0ed5e49f620c370bd9c14de6597fe969a
.drone.yml
.drone.yml
YAML
<|file_sep|>original/package.json { "name": "sync-cloud", "version": "0.1.0", "dependencies": { "fh-mbaas-api": "^5.13.11", "request": "2.34.0", "body-parser": "~1.0.2", "express": "~4.0.0", "cors": "~2.2.0" }, "devDependencies": { "grunt-contrib-watch": "latest", "grunt-nodemon": ...
{ "name": "sync-cloud", "version": "0.1.0", "dependencies": { "fh-mbaas-api": "5.13.12", "request": "2.34.0", "body-parser": "~1.0.2", "express": "~4.0.0", "cors": "~2.2.0" }, "devDependencies": { "grunt-contrib-watch": "latest", "grunt-nodemon": "0.2.0", "grunt-concurrent": "l...
<|file_sep|>original/package.json { "name": "sync-cloud", "version": "0.1.0", "dependencies": { "fh-mbaas-api": "^5.13.11", "request": "2.34.0", "body-parser": "~1.0.2", "express": "~4.0.0", "cors": "~2.2.0" }, "devDependencies": { "grunt-contrib-watch": "latest", "grunt-nodemon": ...
5764d07b81c3e6c28fe551362ca4d60915691915
package.json
package.json
JSON
<|file_sep|>examples/Micro.Blog/microblog.py.diff original: def __init__(self, path='', token=''): updated: def __init__(self, path='', path_params=None, token=''): <|file_sep|>original/examples/Micro.Blog/microblog.py class MicroBlogApi(BaseClient): endpoints = config.available_endpoints separator = '/' base_u...
class MicroBlogApi(BaseClient): endpoints = config.available_endpoints separator = '/' base_url='https://micro.blog' def __init__(self, path='', path_params=None, token=''): self.token = token super(self.__class__, self).__init__(path, path_params, token=token) # override method from BaseClient to inject ...
<|file_sep|>examples/Micro.Blog/microblog.py.diff original: def __init__(self, path='', token=''): updated: def __init__(self, path='', path_params=None, token=''): <|file_sep|>original/examples/Micro.Blog/microblog.py class MicroBlogApi(BaseClient): endpoints = config.available_endpoints separator = '/' base_u...
f3df3b2b8e1167e953457a85f2297d28b6a39729
examples/Micro.Blog/microblog.py
examples/Micro.Blog/microblog.py
Python
<|file_sep|>original/app/models/spree/taxon_decorator.rb Spree::Taxon.class_eval do # Indicate which filters should be used for this taxon def applicable_filters fs = [] #fs << Spree::ProductFilters.distributor_filter if Spree::ProductFilters.respond_to? :distributor_filter fs end end <|file_sep|>curr...
Spree::Taxon.class_eval do self.attachment_definitions[:icon][:path] = 'app/public/spree/taxons/:id/:style/:basename.:extension' # Indicate which filters should be used for this taxon def applicable_filters fs = [] #fs << Spree::ProductFilters.distributor_filter if Spree::ProductFilters.respond_to? :dis...
<|file_sep|>original/app/models/spree/taxon_decorator.rb Spree::Taxon.class_eval do # Indicate which filters should be used for this taxon def applicable_filters fs = [] #fs << Spree::ProductFilters.distributor_filter if Spree::ProductFilters.respond_to? :distributor_filter fs end end <|file_sep|>curr...
c40c586b6fc1b430b7b8fd8a695a43d5a7f10598
app/models/spree/taxon_decorator.rb
app/models/spree/taxon_decorator.rb
Ruby
<|file_sep|>original/lib/stellae/request/import_line_list_request.rb module Stellae module Request class ImportLineListRequest def initialize( line_list_rows: line_list_rows ) @line_list_rows = line_list_rows end attr_reader :line_list_rows end end end <|file_sep|>cu...
module Stellae module Request class ImportLineListRequest def initialize( line_list_rows: ) @line_list_rows = line_list_rows end attr_reader :line_list_rows end end end
<|file_sep|>original/lib/stellae/request/import_line_list_request.rb module Stellae module Request class ImportLineListRequest def initialize( line_list_rows: line_list_rows ) @line_list_rows = line_list_rows end attr_reader :line_list_rows end end end <|file_sep|>cu...
d3b0d883b164595e4c05020e82b91f4c81417f6f
lib/stellae/request/import_line_list_request.rb
lib/stellae/request/import_line_list_request.rb
Ruby
<|file_sep|>original/outlines/remote.yaml <|file_sep|>current/outlines/remote.yaml <|file_sep|>updated/outlines/remote.yaml
title : Remote subtitle : Office Not Required url : http://37signals.com/remote/ authors : - name : Jason Fried url : https://signalvnoise.com/writers/jf - name : David Heinemeier Hansson url : http://david.heinemeierhansson.com/ sections : - .Introduction - The Time is Right for Remote Wo...
<|file_sep|>original/outlines/remote.yaml <|file_sep|>current/outlines/remote.yaml <|file_sep|>updated/outlines/remote.yaml title : Remote subtitle : Office Not Required url : http://37signals.com/remote/ authors : - name : Jason Fried url : https://signalvnoise.com/writers/jf - name : David Heine...
d80315229655378de244c6cd3f7393a464538cc4
outlines/remote.yaml
outlines/remote.yaml
YAML
<|file_sep|>original/requirements-test.txt # Testing coverage==4.5.1 # Test coverage flake8==3.5.0 # Python linting mypy==0.600 # Static typing <|file_sep|>current/requirements-test.txt # Testing coverage==4.5.1 # Test coverage flake8==3.5.0 ...
# Testing coverage==4.5.1 # Test coverage flake8==3.5.0 # Python linting mypy==0.610 # Static typing
<|file_sep|>original/requirements-test.txt # Testing coverage==4.5.1 # Test coverage flake8==3.5.0 # Python linting mypy==0.600 # Static typing <|file_sep|>current/requirements-test.txt # Testing coverage==4.5.1 # Test coverage flake8==3.5.0 ...
cbb8ac3a49a2f589b83e27c5a5c1f696882b5e59
requirements-test.txt
requirements-test.txt
Text
<|file_sep|>metadata/uobikiemukot.yaft.txt.diff original: buildjni=no updated: buildjni=yes <|file_sep|>original/metadata/uobikiemukot.yaft.txt Features: * almost compatible with vt102 and linux console * UTF-8 support * 256 color support . Repo Type:git Repo:https://github.com/uobikiemukot/yaft-android Buil...
* almost compatible with vt102 and linux console * UTF-8 support * 256 color support . Repo Type:git Repo:https://github.com/uobikiemukot/yaft-android Build:1.0,1 commit=9a403359507274ff431b05b4f4e128a18cbf1de7 buildjni=yes target=android-17 scanignore=mkfont_bdf prebuild=gcc -Itools -std=c99 -ped...
<|file_sep|>metadata/uobikiemukot.yaft.txt.diff original: buildjni=no updated: buildjni=yes <|file_sep|>original/metadata/uobikiemukot.yaft.txt Features: * almost compatible with vt102 and linux console * UTF-8 support * 256 color support . Repo Type:git Repo:https://github.com/uobikiemukot/yaft-android Buil...
e03699e9e26fe0ebdb826568f1dd6736d1408c50
metadata/uobikiemukot.yaft.txt
metadata/uobikiemukot.yaft.txt
Text
<|file_sep|>original/flosstalks_app/templates/admin/projects/deduplicate.html {% extends "admin/base_site.html" %} {% load i18n %} {% block title %}Deduplicate project {{original_project.id}} - {{original_project.name}} | {% trans 'FLOSS Talks admin' %}{% endblock %} {% block content %} <div id="content-main"> <h1>...
{% load i18n %} {% block title %}Deduplicate project {{original_project.id}} - {{original_project.name}} | {% trans 'FLOSS Talks admin' %}{% endblock %} {% block content %} <div id="content-main"> <h1>Deduplicate project {{original_project.id}} - {{original_project.name}}</h1> <div> {{original_project.descrip...
<|file_sep|>original/flosstalks_app/templates/admin/projects/deduplicate.html {% extends "admin/base_site.html" %} {% load i18n %} {% block title %}Deduplicate project {{original_project.id}} - {{original_project.name}} | {% trans 'FLOSS Talks admin' %}{% endblock %} {% block content %} <div id="content-main"> <h1>...
9532a46bdd1093ecf95d18ee8be9ec38d6ec09f0
flosstalks_app/templates/admin/projects/deduplicate.html
flosstalks_app/templates/admin/projects/deduplicate.html
HTML
<|file_sep|>Assets/Scripts/PaddleController.cs.diff original: public enum MoveDirection { Left = -1, None = 0, Right = 1, } updated: [SerializeField, Range( -1, 1 )] private float _direction = 0; <|file_sep|>Assets/Scripts/PaddleController.cs.diff original: public MoveDirecti...
private set { _orbitAngle = value; } } public float OrbitDistance { get { return _orbitDistance; } set { _orbitDistance = value; } } private void FixedUpdate() { float anglePerSecond = Speed / Planet.Permieter * Direction; float deltaAngle = Time.fixedDeltaTime...
<|file_sep|>Assets/Scripts/PaddleController.cs.diff original: public enum MoveDirection { Left = -1, None = 0, Right = 1, } updated: [SerializeField, Range( -1, 1 )] private float _direction = 0; <|file_sep|>Assets/Scripts/PaddleController.cs.diff original: public MoveDirecti...
0261c8de6cb5b71206d4eae5a8541efb55599872
Assets/Scripts/PaddleController.cs
Assets/Scripts/PaddleController.cs
C#
<|file_sep|>wp-content/themes/bullettshop/atriangle/atc-modals.php.diff original: <script> jQuery("a[href$='http://bullettstoreat.wpengine.com/p/ipad-magazine-subscription/']").attr('data-reveal-id', 'ipadPopUp'); </script> updated: jQuery("a[href$='http://bullettstoreat.wpengine.com/p/ipad-magazine-subscript...
'are opening a new tab.</h2><p class="lead">The following link will open a'+ ' new window to the iTunes AppStore. You can subscribe to the Bullett maga'+ 'zine from there.</p><p>If you have any items in your shopping cart, they '+ 'won\'t go anywhere (as long as you don\'t close the window).</p><a href="'+ 'h...
<|file_sep|>wp-content/themes/bullettshop/atriangle/atc-modals.php.diff original: <script> jQuery("a[href$='http://bullettstoreat.wpengine.com/p/ipad-magazine-subscription/']").attr('data-reveal-id', 'ipadPopUp'); </script> updated: jQuery("a[href$='http://bullettstoreat.wpengine.com/p/ipad-magazine-subscript...
0fb86685a0b8404c373553ac826c257eedf200aa
wp-content/themes/bullettshop/atriangle/atc-modals.php
wp-content/themes/bullettshop/atriangle/atc-modals.php
PHP
<|file_sep|>original/README.mkd ## Running Without Fabric: $ python recorder.py Using Fabric: $ fab runserver ## API All API calls accept JSON. There is no authentication. ### Create a Vehicle POST /records {'records': [ {'timestamp': 1332975697.078000, 'name': 'steering_wheel_angle', ...
## Running Without Fabric: $ python recorder.py Using Fabric: $ fab runserver ## Test data You can send test data with a Fabric command: $ fab send_test_data:path_to_trace.json ## API All API calls accept JSON. There is no authentication. ### Create a Vehicle
<|file_sep|>original/README.mkd ## Running Without Fabric: $ python recorder.py Using Fabric: $ fab runserver ## API All API calls accept JSON. There is no authentication. ### Create a Vehicle POST /records {'records': [ {'timestamp': 1332975697.078000, 'name': 'steering_wheel_angle', ...
098aa7f47851e5535f913ded7ea48cce0b69f729
README.mkd
README.mkd
Markdown
<|file_sep|>original/include/parrot/global_setup.h #if !defined(PARROT_GLOBAL_SETUP_H_GUARD) #define PARROT_GLOBAL_SETUP_H_GUARD #include "parrot/config.h" /* Needed because this might get compiled before pmcs have been built */ void Parrot_PerlUndef_class_init(INTVAL); void Parrot_PerlInt_class_init(INTVAL); void Pa...
#if !defined(PARROT_GLOBAL_SETUP_H_GUARD) #define PARROT_GLOBAL_SETUP_H_GUARD #include "parrot/config.h" /* Needed because this might get compiled before pmcs have been built */ void Parrot_PerlUndef_class_init(INTVAL); void Parrot_PerlInt_class_init(INTVAL); void Parrot_PerlNum_class_init(INTVAL); void Parrot_PerlSt...
<|file_sep|>original/include/parrot/global_setup.h #if !defined(PARROT_GLOBAL_SETUP_H_GUARD) #define PARROT_GLOBAL_SETUP_H_GUARD #include "parrot/config.h" /* Needed because this might get compiled before pmcs have been built */ void Parrot_PerlUndef_class_init(INTVAL); void Parrot_PerlInt_class_init(INTVAL); void Pa...
cfdeb127608ca2501d6e465fd189f6b8a21c1ad1
include/parrot/global_setup.h
include/parrot/global_setup.h
C
<|file_sep|>services/importer/spec/factories/pg_connection.rb.diff original: @options = read_config.merge(options) updated: @options = SequelRails.configuration.environment_for(Rails.env) @options['user'] ||= @options.delete('username') <|file_sep|>services/importer/spec/factories/pg_conne...
def create_db begin connection.run("CREATE DATABASE \"#{ @options[:create_db] }\" WITH TEMPLATE = template_postgis OWNER = #{ @options[:user] } ENCODING = 'UTF8' CONNECTION LIMIT=-1") rescue Sequel::DatabaseError => e r...
<|file_sep|>services/importer/spec/factories/pg_connection.rb.diff original: @options = read_config.merge(options) updated: @options = SequelRails.configuration.environment_for(Rails.env) @options['user'] ||= @options.delete('username') <|file_sep|>services/importer/spec/factories/pg_conne...
4e85b46ce65ff6e943af24ffcda5603494169167
services/importer/spec/factories/pg_connection.rb
services/importer/spec/factories/pg_connection.rb
Ruby
<|file_sep|>.travis.yml.diff original: - npm test --coverage updated: - npm test --coverage <|file_sep|>original/.travis.yml language: node_js services: mongodb addons: code_climate: repo_token: 1251f2891d75a12f4529fd596ba0f99aec3e7858cb3db486ecc3e2bc0721367c script: - npm test --coverage after_script: - no...
language: node_js services: mongodb addons: code_climate: repo_token: 1251f2891d75a12f4529fd596ba0f99aec3e7858cb3db486ecc3e2bc0721367c script: - npm test --coverage after_script: - node_modules/.bin/codeclimate < coverage/lcov.info deploy: provider: heroku api_key: secure: EX20Q4NpewGpN/2DC036d2VrnF+ANMy0...
<|file_sep|>.travis.yml.diff original: - npm test --coverage updated: - npm test --coverage <|file_sep|>original/.travis.yml language: node_js services: mongodb addons: code_climate: repo_token: 1251f2891d75a12f4529fd596ba0f99aec3e7858cb3db486ecc3e2bc0721367c script: - npm test --coverage after_script: - no...
af900f398b67ceaceb88a4ca47b91bb06ed84f9f
.travis.yml
.travis.yml
YAML
<|file_sep|>original/example_server_login.py <|file_sep|>current/example_server_login.py <|file_sep|>updated/example_server_login.py
from nintendo.nex import backend from nintendo.games import Friends import logging logging.basicConfig(level=logging.INFO) backend = backend.BackEndClient( Friends.ACCESS_KEY, Friends.NEX_VERSION, backend.Settings("friends.cfg") ) backend.connect("127.0.0.1", 1223) backend.login_guest() backend.close()
<|file_sep|>original/example_server_login.py <|file_sep|>current/example_server_login.py <|file_sep|>updated/example_server_login.py from nintendo.nex import backend from nintendo.games import Friends import logging logging.basicConfig(level=logging.INFO) backend = backend.BackEndClient( Friends.ACCESS_KEY, Frien...
adcfe3e87559c5822df8d5f19f306ae320495058
example_server_login.py
example_server_login.py
Python
<|file_sep|>original/test/MC/X86/intel-syntax-print.ll ; RUN: llc -x86-asm-syntax=intel < %s | FileCheck %s -check-prefix=INTEL ; RUN: llc -x86-asm-syntax=att < %s | FileCheck %s -check-prefix=ATT ; INTEL: .intel_syntax noprefix ; ATT-NOT: .intel_syntax noprefix define i32 @test() { entry: ret i32 0 } <|file_sep|>cu...
; RUN: llc -x86-asm-syntax=intel < %s | FileCheck %s -check-prefix=INTEL ; RUN: llc -x86-asm-syntax=att < %s | FileCheck %s -check-prefix=ATT ; INTEL: .intel_syntax noprefix ; ATT-NOT: .intel_syntax noprefix target triple = "x86_64-unknown-unknown" define i32 @test() { entry: ret i32 0 }
<|file_sep|>original/test/MC/X86/intel-syntax-print.ll ; RUN: llc -x86-asm-syntax=intel < %s | FileCheck %s -check-prefix=INTEL ; RUN: llc -x86-asm-syntax=att < %s | FileCheck %s -check-prefix=ATT ; INTEL: .intel_syntax noprefix ; ATT-NOT: .intel_syntax noprefix define i32 @test() { entry: ret i32 0 } <|file_sep|>cu...
989e1eb99f27598f93ac2c8a34ed38e1566f49dc
test/MC/X86/intel-syntax-print.ll
test/MC/X86/intel-syntax-print.ll
LLVM
<|file_sep|>original/src/test/run-pass/extern-mod-url.rs <|file_sep|>current/src/test/run-pass/extern-mod-url.rs <|file_sep|>updated/src/test/run-pass/extern-mod-url.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/extern-mod-url.rs <|file_sep|>current/src/test/run-pass/extern-mod-url.rs <|file_sep|>updated/src/test/run-pass/extern-mod-url.rs // Copyright 2013 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.o...
60126e9365e86f9697508455290850564ac9186e
src/test/run-pass/extern-mod-url.rs
src/test/run-pass/extern-mod-url.rs
Rust
<|file_sep|>original/app/controllers/spree/admin/overview_controller_decorator.rb Spree::Admin::OverviewController.class_eval do def index # TODO was sorted with is_distributor DESC as well, not sure why or how we want ot sort this now @enterprises = Enterprise.managed_by(spree_current_user).order('is_primary...
Spree::Admin::OverviewController.class_eval do def index # TODO was sorted with is_distributor DESC as well, not sure why or how we want ot sort this now @enterprises = Enterprise.managed_by(spree_current_user).order('is_primary_producer ASC, name') @product_count = Spree::Product.active.managed_by(spree_...
<|file_sep|>original/app/controllers/spree/admin/overview_controller_decorator.rb Spree::Admin::OverviewController.class_eval do def index # TODO was sorted with is_distributor DESC as well, not sure why or how we want ot sort this now @enterprises = Enterprise.managed_by(spree_current_user).order('is_primary...
8385bff55ee300e7a989e006bdb6cfc74dfd2810
app/controllers/spree/admin/overview_controller_decorator.rb
app/controllers/spree/admin/overview_controller_decorator.rb
Ruby
<|file_sep|>original/t/parse.nqp # nqp # This file compiled to pir and used in tests. Q:PIR{ # We want Test::More features for testing. Not NQP's builtin. .include "test_more.pir" load_bytecode "pir.pbc" }; sub parse($c, $code) { my $res := 0; try { $c.compile(:target('parse'), $code); ...
}; sub parse($c, $code) { my $res := 0; try { $c.compile(:target('parse'), $code); $res := 1; } $res; } # # Helper grammar to parse test data grammar Test { rule TOP { ^ <testcase>+ $ || <.panic: "Can't parse test data"> }; token testcase {
<|file_sep|>original/t/parse.nqp # nqp # This file compiled to pir and used in tests. Q:PIR{ # We want Test::More features for testing. Not NQP's builtin. .include "test_more.pir" load_bytecode "pir.pbc" }; sub parse($c, $code) { my $res := 0; try { $c.compile(:target('parse'), $code); ...
6597565a6d2a956a6b77120f21a36774e9b90284
t/parse.nqp
t/parse.nqp
Perl6
<|file_sep|>original/examples/ex_tabler.py <|file_sep|>current/examples/ex_tabler.py <|file_sep|>updated/examples/ex_tabler.py
from tabler import Tabler table = """<table> <thead> <tr> <th>Number</th> <th>First Name</th> <th>Last Name</th> <th>Phone Number</th> </tr> <tr> <td>1</td> <td>Bob</td> <td>Evans</td> <td>(847) 332-0461</td> </tr> <tr> <td>2</td> <td>Mary</td> <td>Newell</td> ...
<|file_sep|>original/examples/ex_tabler.py <|file_sep|>current/examples/ex_tabler.py <|file_sep|>updated/examples/ex_tabler.py from tabler import Tabler table = """<table> <thead> <tr> <th>Number</th> <th>First Name</th> <th>Last Name</th> <th>Phone Number</th> </tr> <tr> <td>1</td> <td...
fac97130396057802f1ebf21928667a971395ba9
examples/ex_tabler.py
examples/ex_tabler.py
Python
<|file_sep|>original/src/sagasBuilder.js import { takeEvery } from 'redux-saga'; import { call, put } from 'redux-saga/effects'; const defaultOptions = { throwErrors: false, }; export function sagasBuilder(request, REQUEST, actions, options = {}) { const { throwErrors, } = { ...defaultOptions, ......
import 'regenerator-runtime/runtime'; import { call, put, takeEvery } from 'redux-saga/effects'; const defaultOptions = { throwErrors: false, }; export function sagasBuilder(request, REQUEST, actions, options = {}) { const { throwErrors, } = { ...defaultOptions, ...options, }; function* make...
<|file_sep|>original/src/sagasBuilder.js import { takeEvery } from 'redux-saga'; import { call, put } from 'redux-saga/effects'; const defaultOptions = { throwErrors: false, }; export function sagasBuilder(request, REQUEST, actions, options = {}) { const { throwErrors, } = { ...defaultOptions, ......
4330bc9d6aa3e8ebb763a5db183440df78635a3a
src/sagasBuilder.js
src/sagasBuilder.js
JavaScript
<|file_sep|>original/app/views/services/flowdock.html.erb <|file_sep|>current/app/views/services/flowdock.html.erb <|file_sep|>updated/app/views/services/flowdock.html.erb
<% #-- # Copyright (C) 2013 Gitorious AS # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This...
<|file_sep|>original/app/views/services/flowdock.html.erb <|file_sep|>current/app/views/services/flowdock.html.erb <|file_sep|>updated/app/views/services/flowdock.html.erb <% #-- # Copyright (C) 2013 Gitorious AS # # This program is free software: you can redistribute it and/or modify # it under the terms of ...
bc327b3505db38a6d3dec77dca9ed6e0c9b6d2fd
app/views/services/flowdock.html.erb
app/views/services/flowdock.html.erb
HTML+ERB
<|file_sep|>mk/common.mk.diff original: $(INSTALL) 0644 $$f $(DOCDIR)/$$f; \ updated: $(INSTALL) 0644 $$f $(DOCDIR) $$f; \ <|file_sep|>mk/common.mk.diff original: $(INSTALL) 0644 $$f $(DIR)/$$f; \ updated: $(INSTALL) 0644 $$f $(DIR) $$f; \ <|file_sep|>mk/common.mk.diff original: $(INSTALL) -b 0644 $$f $(DIR)/...
for f in $(DOCS); do \ $(INSTALL) 0644 $$f $(DOCDIR) $$f; \ done for f in $(TEXT); do \ $(INSTALL) 0644 $$f $(DIR) $$f; \ done for f in $(BINARY); do \ $(INSTALL) -b 0644 $$f $(DIR) $$f; \ done for f in $(EXECS); do \ $(INSTALL) -b 0755 $$f $(DIR) $$f; \ done cleandep: echo CLEANDEP rm .depend 2>/dev...
<|file_sep|>mk/common.mk.diff original: $(INSTALL) 0644 $$f $(DOCDIR)/$$f; \ updated: $(INSTALL) 0644 $$f $(DOCDIR) $$f; \ <|file_sep|>mk/common.mk.diff original: $(INSTALL) 0644 $$f $(DIR)/$$f; \ updated: $(INSTALL) 0644 $$f $(DIR) $$f; \ <|file_sep|>mk/common.mk.diff original: $(INSTALL) -b 0644 $$f $(DIR)/...
43170aadac516208ef8355037eaaadaabb1e1f1e
mk/common.mk
mk/common.mk
Makefile
<|file_sep|>original/requirements.txt dj-database-url==0.5 Django==2.1.5 gunicorn==19.9.0 psycopg2==2.7.6 whitenoise==4.1.2 django-storages==1.7.1 Pillow==5.4.1 Markdown==3.0.1 requests==2.21.0 graphene-django==2.2.0 graphene==2.1.3 singlemodeladmin==0.9 boto==2.49.0 feedparser==5.2.1 authy==2.2.3 django-phonenumber-fi...
dj-database-url==0.5 Django==2.1.5 gunicorn==19.9.0 psycopg2==2.7.7 whitenoise==4.1.2 django-storages==1.7.1 Pillow==5.4.1 Markdown==3.0.1 requests==2.21.0 graphene-django==2.2.0 graphene==2.1.3 singlemodeladmin==0.9 boto==2.49.0 feedparser==5.2.1 authy==2.2.3 django-phonenumber-field==2.1.0 django-taggit==0.23.0 pytz=...
<|file_sep|>original/requirements.txt dj-database-url==0.5 Django==2.1.5 gunicorn==19.9.0 psycopg2==2.7.6 whitenoise==4.1.2 django-storages==1.7.1 Pillow==5.4.1 Markdown==3.0.1 requests==2.21.0 graphene-django==2.2.0 graphene==2.1.3 singlemodeladmin==0.9 boto==2.49.0 feedparser==5.2.1 authy==2.2.3 django-phonenumber-fi...
92683275d1b479770b674da9883a1b957d1f7d59
requirements.txt
requirements.txt
Text
<|file_sep|>original/scripts/migration/migrate_citation_addons_list_id.py <|file_sep|>current/scripts/migration/migrate_citation_addons_list_id.py <|file_sep|>updated/scripts/migration/migrate_citation_addons_list_id.py
import logging import sys from modularodm import Q from framework.mongo import database from framework.transactions.context import TokuTransaction from website.app import init_app from scripts import utils as script_utils logger = logging.getLogger(__name__) PROVIDERS = ['mendeley', 'zotero'] def migrate_list_id_...
<|file_sep|>original/scripts/migration/migrate_citation_addons_list_id.py <|file_sep|>current/scripts/migration/migrate_citation_addons_list_id.py <|file_sep|>updated/scripts/migration/migrate_citation_addons_list_id.py import logging import sys from modularodm import Q from framework.mongo import database from fra...
e567bdb0ed315f6e00be7d541e5d034fe926eeb6
scripts/migration/migrate_citation_addons_list_id.py
scripts/migration/migrate_citation_addons_list_id.py
Python
<|file_sep|>original/docs/generate_spec.py <|file_sep|>current/docs/generate_spec.py <|file_sep|>updated/docs/generate_spec.py
# -*- encoding: utf-8 -*- # # This script is to be used to automagically generate the recurring data types # documentation based on the API specification. # # to run it just do: # # $ python generate_spec.py > outputfile.md # # :authors: Arturo Filastò # :licence: see LICENSE import inspect from globaleaks.rest.mes...
<|file_sep|>original/docs/generate_spec.py <|file_sep|>current/docs/generate_spec.py <|file_sep|>updated/docs/generate_spec.py # -*- encoding: utf-8 -*- # # This script is to be used to automagically generate the recurring data types # documentation based on the API specification. # # to run it just do: # # $ pytho...
842869063ead9b2e6a1e22d11c9901072f2319aa
docs/generate_spec.py
docs/generate_spec.py
Python
<|file_sep|>original/app/controllers/user_sessions_controller.rb session[:return_to] = request.referrer @user_session = UserSession.new params.permit(:email_address) render :layout => !request.xhr? end def create redirect_to root_url and return if current_user.present? @user_session = UserSe...
session[:return_to] = request.referrer @user_session = UserSession.new params.permit(:email_address) render :layout => !request.xhr? end def create redirect_to root_url and return if current_user.present? @user_session = UserSession.new(user_session_param.to_h) @user_session.save do |res...
<|file_sep|>original/app/controllers/user_sessions_controller.rb session[:return_to] = request.referrer @user_session = UserSession.new params.permit(:email_address) render :layout => !request.xhr? end def create redirect_to root_url and return if current_user.present? @user_session = UserSe...
bb6ff10d100ca5371113472b960ae1d8926677c7
app/controllers/user_sessions_controller.rb
app/controllers/user_sessions_controller.rb
Ruby
<|file_sep|>original/tools/issue_303_generator.bash * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or impli...
* * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language gov...
<|file_sep|>original/tools/issue_303_generator.bash * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or impli...
89534ce88b6687cada99147cee04d2aff5e4ca50
tools/issue_303_generator.bash
tools/issue_303_generator.bash
Shell
<|file_sep|>original/app/js/app/directives/IsaacModal.js var rawClone = element.clone(); scope.modals = scope.modals || {}; scope.modals[attrs.isaacModal] = { show: function() { $("#isaacModal").empty().append($compile(rawClo...
var rawClone = element.clone(); scope.modals = scope.modals || {}; scope.modals[attrs.isaacModal] = { show: function() { $("#isaacModal").empty().append($compile(rawClone)(scope)); $("#isaacModal").fou...
<|file_sep|>original/app/js/app/directives/IsaacModal.js var rawClone = element.clone(); scope.modals = scope.modals || {}; scope.modals[attrs.isaacModal] = { show: function() { $("#isaacModal").empty().append($compile(rawClo...
fd1f74ace33c1107bbed87cbcd25df61f896171d
app/js/app/directives/IsaacModal.js
app/js/app/directives/IsaacModal.js
JavaScript
<|file_sep|>.travis.yml.diff original: updated: env: global: - DOCKER_CLI_EXPERIMENTAL=enabled <|file_sep|>original/.travis.yml language: minimal services: - docker before_install: - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - - sudo add-apt-repository "deb [arch=amd64] ...
language: minimal services: - docker env: global: - DOCKER_CLI_EXPERIMENTAL=enabled before_install: - echo '{"experimental":true}' | sudo tee /etc/docker/daemon.json - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - - sudo add-apt-repository "deb [arch=amd64] https://downlo...
<|file_sep|>.travis.yml.diff original: updated: env: global: - DOCKER_CLI_EXPERIMENTAL=enabled <|file_sep|>original/.travis.yml language: minimal services: - docker before_install: - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - - sudo add-apt-repository "deb [arch=amd64] ...
bcb1b1106e3e28cdfed217cc662920044d443d8e
.travis.yml
.travis.yml
YAML
<|file_sep|>original/ceph-releases/luminous/ubuntu/16.04/daemon/start_nfs.sh if [ ! -e "$RGW_KEYRING" ]; then if [ ! -e "$RGW_BOOTSTRAP_KEYRING" ]; then log "ERROR- $RGW_BOOTSTRAP_KEYRING must exist. You can extract it from your current monitor by running 'ceph auth get client.bootstrap-rgw -o $RGW_BOOTST...
start_rpc if [ ! -e "$RGW_KEYRING" ]; then if [ ! -e "$RGW_BOOTSTRAP_KEYRING" ]; then log "ERROR- $RGW_BOOTSTRAP_KEYRING must exist. You can extract it from your current monitor by running 'ceph auth get client.bootstrap-rgw -o $RGW_BOOTSTRAP_KEYRING'" exit 1 fi ceph_health client.bootstr...
<|file_sep|>original/ceph-releases/luminous/ubuntu/16.04/daemon/start_nfs.sh if [ ! -e "$RGW_KEYRING" ]; then if [ ! -e "$RGW_BOOTSTRAP_KEYRING" ]; then log "ERROR- $RGW_BOOTSTRAP_KEYRING must exist. You can extract it from your current monitor by running 'ceph auth get client.bootstrap-rgw -o $RGW_BOOTST...
73af02dcb5bc8fdb5a0e2d0ac2b6266576528296
ceph-releases/luminous/ubuntu/16.04/daemon/start_nfs.sh
ceph-releases/luminous/ubuntu/16.04/daemon/start_nfs.sh
Shell
<|file_sep|>original/database/schemas/post.js module.exports = (db, Sequelize) => { const Post = db.define('posts', { id: { type: Sequelize.INTEGER, autoIncrement: true, primaryKey: true, }, body: Sequelize.TEXT, tags: Sequelize.STRING, title: Sequelize.STRING, type: Sequeliz...
module.exports = (db, Sequelize) => { const Post = db.define('posts', { id: { type: Sequelize.INTEGER, autoIncrement: true, primaryKey: true, }, body: Sequelize.TEXT, tags: Sequelize.STRING, title: Sequelize.STRING, type: Sequelize.STRING, address: Sequelize.STRING, c...
<|file_sep|>original/database/schemas/post.js module.exports = (db, Sequelize) => { const Post = db.define('posts', { id: { type: Sequelize.INTEGER, autoIncrement: true, primaryKey: true, }, body: Sequelize.TEXT, tags: Sequelize.STRING, title: Sequelize.STRING, type: Sequeliz...
aa79bf1b4ee972198cf4c8ec0e53c83a7b1203e1
database/schemas/post.js
database/schemas/post.js
JavaScript
<|file_sep|>db/migrate/20140822093043_restore_slug_index_to_groups.rb.diff original: Group.all.each do |group| group.slug = nil group.save! updated: class Group < ActiveRecord::Base extend FriendlyId friendly_id :slug_candidates, use: :slugged has_ancestry cache_depth: true def slug_candi...
extend FriendlyId friendly_id :slug_candidates, use: :slugged has_ancestry cache_depth: true def slug_candidates candidates = [name] candidates << [parent.name, name] if parent.present? candidates end end def change Group.all.each do |group| group.slug = nil ...
<|file_sep|>db/migrate/20140822093043_restore_slug_index_to_groups.rb.diff original: Group.all.each do |group| group.slug = nil group.save! updated: class Group < ActiveRecord::Base extend FriendlyId friendly_id :slug_candidates, use: :slugged has_ancestry cache_depth: true def slug_candi...
8ab0c8c8851ce748aac6ee6aa242d3521e1eea2c
db/migrate/20140822093043_restore_slug_index_to_groups.rb
db/migrate/20140822093043_restore_slug_index_to_groups.rb
Ruby
<|file_sep|>original/.travis.yml language: python python: - "2.7" - "3.4" - "3.5" - "3.6" - "3.7" - "3.8-dev" - "nightly" - "pypy" install: - pip install pytest pytest-cov script: pytest --cov twitter --cov tests after_success: - pip install coveralls && coveralls - pip install pycodestyle pyflakes - pycode...
language: python python: - "2.7" - "3.4" - "3.5" - "3.6" - "3.7" - "3.8" - "3.9-dev" - "nightly" - "pypy" install: - pip install pytest pytest-cov script: pytest --cov twitter --cov tests after_success: - pip install coveralls && coveralls - pip install pycodestyle pyflakes
<|file_sep|>original/.travis.yml language: python python: - "2.7" - "3.4" - "3.5" - "3.6" - "3.7" - "3.8-dev" - "nightly" - "pypy" install: - pip install pytest pytest-cov script: pytest --cov twitter --cov tests after_success: - pip install coveralls && coveralls - pip install pycodestyle pyflakes - pycode...
b46ac160456b5cd7804b2cecef02ddfb07043c08
.travis.yml
.travis.yml
YAML
<|file_sep|>package.json.diff original: "install": "npm --prefix backend install && npm --prefix frontend install", "postinstall": "npm run build", updated: "postinstall": "npm --prefix backend install && npm --prefix frontend install && npm run build", <|file_sep|>package.json.diff original: updated: ...
{ "name": "@rabblerouser/core", "version": "0.0.0", "description": "A pluggable, extensible membership database for community organising", "license": "AGPL-3.0", "scripts": { "postinstall": "npm --prefix backend install && npm --prefix frontend install && npm run build", "build": "npm --prefix fronten...
<|file_sep|>package.json.diff original: "install": "npm --prefix backend install && npm --prefix frontend install", "postinstall": "npm run build", updated: "postinstall": "npm --prefix backend install && npm --prefix frontend install && npm run build", <|file_sep|>package.json.diff original: updated: ...
14d9361de3deeb35851c34213afd43ee1fc75f49
package.json
package.json
JSON
<|file_sep|>original/docker-compose.yml db: image: mysql:5.5 environment: - MYSQL_DATABASE=remo - MYSQL_USER=remo - MYSQL_PASSWORD=remo - MYSQL_ROOT_PASSWORD=root memcached: image: memcached broker: image: rabbitmq celery: build: . volumes: - .:/code links: - db - broker - ...
db: image: mysql:5.5 environment: - MYSQL_DATABASE=remo - MYSQL_USER=remo - MYSQL_PASSWORD=remo - MYSQL_ROOT_PASSWORD=root entrypoint: - docker-entrypoint.sh - --max_allowed_packet=2M memcached: image: memcached broker: image: rabbitmq celery: build: . volumes: - .:/code link...
<|file_sep|>original/docker-compose.yml db: image: mysql:5.5 environment: - MYSQL_DATABASE=remo - MYSQL_USER=remo - MYSQL_PASSWORD=remo - MYSQL_ROOT_PASSWORD=root memcached: image: memcached broker: image: rabbitmq celery: build: . volumes: - .:/code links: - db - broker - ...
10b8c07de0431417c6c2ef8241bf80e15080eefe
docker-compose.yml
docker-compose.yml
YAML
<|file_sep|>original/demos/blog_react/requirements-dev.txt pyflakes==2.1.1 pep8==1.7.1 pytest==4.3.1 ipdb==0.11 <|file_sep|>current/demos/blog_react/requirements-dev.txt pyflakes==2.1.1 pep8==1.7.1 pytest==4.3.1 ipdb==0.11 <|file_sep|>updated/demos/blog_react/requirements-dev.txt
pyflakes==2.1.1 pep8==1.7.1 pytest==4.4.0 ipdb==0.11
<|file_sep|>original/demos/blog_react/requirements-dev.txt pyflakes==2.1.1 pep8==1.7.1 pytest==4.3.1 ipdb==0.11 <|file_sep|>current/demos/blog_react/requirements-dev.txt pyflakes==2.1.1 pep8==1.7.1 pytest==4.3.1 ipdb==0.11 <|file_sep|>updated/demos/blog_react/requirements-dev.txt pyflakes==2.1.1 pep8==1.7.1 pytest==4.4...
17604abe5072076504d2e3afe77e08a84926d616
demos/blog_react/requirements-dev.txt
demos/blog_react/requirements-dev.txt
Text
<|file_sep|>original/notification/backends/email.py from django.conf import settings from django.core.mail import EmailMessage from notification.backends.base import NotificationBackend class EmailBackend(NotificationBackend): slug = u'email' display_name = u'E-mail' formats = ['short.txt', 'full.txt'] ...
from django.conf import settings from django.core.mail import EmailMessage from notification.backends.base import NotificationBackend class EmailBackend(NotificationBackend): sensitivity = 2 slug = u'email' display_name = u'E-mail' formats = ['short.txt', 'full.txt'] def email_for_user(self, rec...
<|file_sep|>original/notification/backends/email.py from django.conf import settings from django.core.mail import EmailMessage from notification.backends.base import NotificationBackend class EmailBackend(NotificationBackend): slug = u'email' display_name = u'E-mail' formats = ['short.txt', 'full.txt'] ...
7fb284ad29098a4397c7ac953e2d9acb89cf089e
notification/backends/email.py
notification/backends/email.py
Python
<|file_sep|>play/mime.go.diff original: updated: "../dlna/dms" "flag" <|file_sep|>play/mime.go.diff original: "mime" "strings" updated: <|file_sep|>original/play/mime.go package main import ( "fmt" "mime" "strings" ) func main() { fmt.Println(strings.SplitN(mime.TypeByExtension(".avi"), "/", 2)[0]) } <|file...
package main import ( "../dlna/dms" "flag" "fmt" ) func main() { flag.Parse() for _, arg := range flag.Args() { fmt.Println(dms.MimeTypeByPath(arg)) } }
<|file_sep|>play/mime.go.diff original: updated: "../dlna/dms" "flag" <|file_sep|>play/mime.go.diff original: "mime" "strings" updated: <|file_sep|>original/play/mime.go package main import ( "fmt" "mime" "strings" ) func main() { fmt.Println(strings.SplitN(mime.TypeByExtension(".avi"), "/", 2)[0]) } <|file...
3de3d059403188fc5efc67d9aecbbc892af49383
play/mime.go
play/mime.go
Go
<|file_sep|>original/include/effects/SkXfermodeImageFilter.h static sk_sp<SkImageFilter> Make(SkBlendMode, sk_sp<SkImageFilter> background, sk_sp<SkImageFilter> foreground, const SkImageFilter::CropRect* cropRect); static sk_sp<SkImageFil...
/** * This filter takes a SkBlendMode, and uses it to composite the foreground over the background. * If foreground or background is NULL, the input bitmap (src) is used instead. */ class SK_API SkXfermodeImageFilter { public: static sk_sp<SkImageFilter> Make(SkBlendMode, sk_sp<SkImageFilter> background, ...
<|file_sep|>original/include/effects/SkXfermodeImageFilter.h static sk_sp<SkImageFilter> Make(SkBlendMode, sk_sp<SkImageFilter> background, sk_sp<SkImageFilter> foreground, const SkImageFilter::CropRect* cropRect); static sk_sp<SkImageFil...
ffa8484eb0610048a0e8cc4f1594fd9607c5b555
include/effects/SkXfermodeImageFilter.h
include/effects/SkXfermodeImageFilter.h
C
<|file_sep|>original/requirements_dev.txt pip==9.0.1 wheel==0.30.0 watchdog==0.8.3 flake8==3.5.0 tox==2.9.1 coverage==4.5 Sphinx==1.6.7 cryptography==2.1.4 PyYAML==3.12 pytest==3.4.0 pytest-runner==3.0 <|file_sep|>current/requirements_dev.txt pip==9.0.1 wheel==0.30.0 watchdog==0.8.3 flake8==3.5.0 tox==2.9.1 coverage==4...
pip==9.0.1 wheel==0.30.0 watchdog==0.8.3 flake8==3.5.0 tox==2.9.1 coverage==4.5.1 Sphinx==1.6.7 cryptography==2.1.4 PyYAML==3.12 pytest==3.4.0 pytest-runner==3.0
<|file_sep|>original/requirements_dev.txt pip==9.0.1 wheel==0.30.0 watchdog==0.8.3 flake8==3.5.0 tox==2.9.1 coverage==4.5 Sphinx==1.6.7 cryptography==2.1.4 PyYAML==3.12 pytest==3.4.0 pytest-runner==3.0 <|file_sep|>current/requirements_dev.txt pip==9.0.1 wheel==0.30.0 watchdog==0.8.3 flake8==3.5.0 tox==2.9.1 coverage==4...
329429dbf582d95a2c12397217f5e38d5953ae4a
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>tox.ini.diff original: envlist = py35,py27,pypy updated: envlist = py38,py27,pypy sitepackages = True <|file_sep|>original/tox.ini # Tox (http://tox.testrun.org/) is a tool for running tests # in multiple virtualenvs. This configuration file will run the # test suite on all supported python versions. To use...
# Tox (http://tox.testrun.org/) is a tool for running tests # in multiple virtualenvs. This configuration file will run the # test suite on all supported python versions. To use it, "pip install tox" # and then run "tox" from this directory. [tox] envlist = py38,py27,pypy sitepackages = True [testenv] commands = pyth...
<|file_sep|>tox.ini.diff original: envlist = py35,py27,pypy updated: envlist = py38,py27,pypy sitepackages = True <|file_sep|>original/tox.ini # Tox (http://tox.testrun.org/) is a tool for running tests # in multiple virtualenvs. This configuration file will run the # test suite on all supported python versions. To use...
562e4e747f665241484087a36c5ee566b671d007
tox.ini
tox.ini
INI
<|file_sep|>src/Gehaxelt/SyMDWikiBundle/Resources/views/Log/index.html.twig.diff original: updated: - <span>Page: </span> {% for i in 1..logcount %} {% if i == curPage %} <span> {{ i }} </span> {% else %} <a href="{{ path('log', {'page' : i}) }}">{{ i...
{% endif %} {% endfor %} <hr> <table class="table table-striped table-condensed" data-toggle="table"> <thead> <tr> <th style="width: 20%">#</th> <th style="width: 80%">Message</th> </tr> </thead> <tbody> ...
<|file_sep|>src/Gehaxelt/SyMDWikiBundle/Resources/views/Log/index.html.twig.diff original: updated: - <span>Page: </span> {% for i in 1..logcount %} {% if i == curPage %} <span> {{ i }} </span> {% else %} <a href="{{ path('log', {'page' : i}) }}">{{ i...
4b35f902ff57f4567499405c3110bb706dbec92c
src/Gehaxelt/SyMDWikiBundle/Resources/views/Log/index.html.twig
src/Gehaxelt/SyMDWikiBundle/Resources/views/Log/index.html.twig
Twig
<|file_sep|>original/requirements.txt django==1.7.3 django-registration-redux==1.1 git+git://github.com/sigvef/Python-Markdown.git#egg=markdown git+git://github.com/wikipendium/python-markdown-mathjax.git#egg=markdown_mathjax git+git://github.com/stianjensen/mdx_outline.git fabric==1.8.0 pytz==2013d boto==2.9.9 newreli...
django==1.7.3 django-registration-redux==1.1 git+git://github.com/wikipendium/Python-Markdown.git@5e9e809#egg=markdown git+git://github.com/wikipendium/python-markdown-mathjax.git#egg=markdown_mathjax git+git://github.com/stianjensen/mdx_outline.git fabric==1.8.0 pytz==2013d boto==2.9.9 newrelic==2.4.0.4 django-mailgun...
<|file_sep|>original/requirements.txt django==1.7.3 django-registration-redux==1.1 git+git://github.com/sigvef/Python-Markdown.git#egg=markdown git+git://github.com/wikipendium/python-markdown-mathjax.git#egg=markdown_mathjax git+git://github.com/stianjensen/mdx_outline.git fabric==1.8.0 pytz==2013d boto==2.9.9 newreli...
2bb3a9a3b90e857cb9a2e155a21f5d5ffd4f6ff5
requirements.txt
requirements.txt
Text
<|file_sep|>original/mitlicense.txt <|file_sep|>current/mitlicense.txt <|file_sep|>updated/mitlicense.txt
Copyright (c) 2011-2012 Massachusetts Institute of Technology Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, mer...
<|file_sep|>original/mitlicense.txt <|file_sep|>current/mitlicense.txt <|file_sep|>updated/mitlicense.txt Copyright (c) 2011-2012 Massachusetts Institute of Technology Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to...
ced6b4b168670261df572208813b885cd9c8fe50
mitlicense.txt
mitlicense.txt
Text
<|file_sep|>original/l10n_es_facturae/views/res_partner_view.xml <?xml version="1.0" encoding="utf-8"?> <odoo> <record id="view_partner_form" model="ir.ui.view"> <field name="name">res.partner.form</field> <field name="model">res.partner</field> <field name="inherit_id" ref="base.view_partn...
<?xml version="1.0" encoding="utf-8"?> <odoo> <record id="view_partner_form" model="ir.ui.view"> <field name="name">res.partner.form</field> <field name="model">res.partner</field> <field name="inherit_id" ref="base.view_partner_form"/> <field name="type">form</field> <field...
<|file_sep|>original/l10n_es_facturae/views/res_partner_view.xml <?xml version="1.0" encoding="utf-8"?> <odoo> <record id="view_partner_form" model="ir.ui.view"> <field name="name">res.partner.form</field> <field name="model">res.partner</field> <field name="inherit_id" ref="base.view_partn...
24dd86f2be9551b7afc59191f8980789af090a04
l10n_es_facturae/views/res_partner_view.xml
l10n_es_facturae/views/res_partner_view.xml
XML
<|file_sep|>repository/category.xml.diff original: <bundle id="com.dubture.twig.core" version="1.0.14.qualifier"> updated: <feature url="features/com.dubture.twig.feature_1.0.14.qualifier.jar" id="com.dubture.twig.feature" version="1.0.14.qualifier"> <|file_sep|>original/repository/category.xml <?xml version="1.0...
<?xml version="1.0" encoding="UTF-8"?> <site> <feature url="features/com.dubture.twig.feature_1.0.14.qualifier.jar" id="com.dubture.twig.feature" version="1.0.14.qualifier"> <category name="com.dubture.twig"/> </feature> <category-def name="com.dubture.twig" label="Twig Feature"/> </site>
<|file_sep|>repository/category.xml.diff original: <bundle id="com.dubture.twig.core" version="1.0.14.qualifier"> updated: <feature url="features/com.dubture.twig.feature_1.0.14.qualifier.jar" id="com.dubture.twig.feature" version="1.0.14.qualifier"> <|file_sep|>original/repository/category.xml <?xml version="1.0...
db809d21bdea6a9864b389ea042ac45395e84275
repository/category.xml
repository/category.xml
XML