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|>config.rb.diff
original:
###
# Compass
###
# Change Compass configuration
# compass_config do |config|
# config.output_style = :compact
# end
###
# Helpers
###
# Automatic image dimensions on image_tag helper
# activate :automatic_image_sizes
updated:
<|file_sep|>config.rb.diff
original:
# Enable c... | # Gzip files
activate :gzip
# Compress images
activate :imageoptim do |options|
options.pngout = false
options.svgo = false
end
# For s3 sync for deploying with middleman build
activate :s3_sync do |config|
config.bucket = 'support.texastribune.org'
config.region = 'us-east-1'
config.aws_access_key_id = ENV... | <|file_sep|>config.rb.diff
original:
###
# Compass
###
# Change Compass configuration
# compass_config do |config|
# config.output_style = :compact
# end
###
# Helpers
###
# Automatic image dimensions on image_tag helper
# activate :automatic_image_sizes
updated:
<|file_sep|>config.rb.diff
original:
# Enable c... | 95514829937526b2703dbd53af69f21c060b42be | config.rb | config.rb | Ruby |
<|file_sep|>original/.kitchen.yml
---
driver:
name: docker
provisioner:
name: chef_zero
platforms:
- name: arch
driver_config:
image: 'logankoester/archlinux-chef'
platform: arch
disable_upstart: true
require_chef_omnibus: false
provision_command:
- pacman -S --noconfir... | ---
driver:
name: docker
use_sudo: false
provisioner:
name: chef_zero
platforms:
- name: arch
driver_config:
image: 'logankoester/archlinux-chef'
platform: arch
disable_upstart: true
require_chef_omnibus: false
provision_command:
- pacman -S --noconfirm --needed super... | <|file_sep|>original/.kitchen.yml
---
driver:
name: docker
provisioner:
name: chef_zero
platforms:
- name: arch
driver_config:
image: 'logankoester/archlinux-chef'
platform: arch
disable_upstart: true
require_chef_omnibus: false
provision_command:
- pacman -S --noconfir... | 40af50080db15908950bf2ad377bf0a691e7f754 | .kitchen.yml | .kitchen.yml | YAML |
<|file_sep|>original/system/aliases.zsh
# Old servers don't know anything about screen-256color
alias ssh="TERM=xterm ssh"
<|file_sep|>current/system/aliases.zsh
# Old servers don't know anything about screen-256color
alias ssh="TERM=xterm ssh"
<|file_sep|>updated/system/aliases.zsh | # Old servers don't know anything about screen-256color
alias ssh="TERM=xterm ssh"
function mount-usb {
device=$1
target=$2
if [ -z "$target" ]; then
target='/mnt/usb'
fi
sudo mkdir -p $target && \
sudo chmod 777 $target && \
sudo mount -o rw,uid=`id -u` $device $target
} | <|file_sep|>original/system/aliases.zsh
# Old servers don't know anything about screen-256color
alias ssh="TERM=xterm ssh"
<|file_sep|>current/system/aliases.zsh
# Old servers don't know anything about screen-256color
alias ssh="TERM=xterm ssh"
<|file_sep|>updated/system/aliases.zsh
# Old servers don't know anything ab... | ac6f0e80beab862ca306fa4a7c5df381919afea9 | system/aliases.zsh | system/aliases.zsh | Shell |
<|file_sep|>ArraysAndlists/RotateArray/RotateArray.cs.diff
original:
// Reads ints from the Console and converts them to an array of ints
updated:
// Reads ints from the Console and converts them to an array of ints
<|file_sep|>ArraysAndlists/RotateArray/RotateArray.cs.diff
original:
updated:
C... | Console.WriteLine("Enter the number of positions to be shifted");
int d = int.Parse(Console.ReadLine()) % intArray.Length;
if (d != 0)
SubsetRotation(intArray, d);
Console.WriteLine(string.Join(" ", intArray));
}
public static void SubsetRotation(int[] array, int... | <|file_sep|>ArraysAndlists/RotateArray/RotateArray.cs.diff
original:
// Reads ints from the Console and converts them to an array of ints
updated:
// Reads ints from the Console and converts them to an array of ints
<|file_sep|>ArraysAndlists/RotateArray/RotateArray.cs.diff
original:
updated:
C... | 2fb484abfc2bb1f678b9c7ce8f23c968f8716620 | ArraysAndlists/RotateArray/RotateArray.cs | ArraysAndlists/RotateArray/RotateArray.cs | C# |
<|file_sep|>extensions/ringopengl/opengl11/ring_opengl11.c.diff
original:
updated:
RING_FUNC(ring_get_gl_false)
{
RING_API_RETNUMBER(GL_FALSE);
}
<|file_sep|>original/extensions/ringopengl/opengl11/ring_opengl11.c
#include "ring.h"
/*
OpenGL 1.1 Extension
Copyright (c) 2017 Mahmoud Fayed <msfclipper@yahoo.com>
*... | */
#include <GL/glew.h>
#include <GL/glut.h>
RING_FUNC(ring_get_gl_zero)
{
RING_API_RETNUMBER(GL_ZERO);
}
RING_FUNC(ring_get_gl_false)
{
RING_API_RETNUMBER(GL_FALSE);
}
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
ring_vm_funcregister("get_gl_false",... | <|file_sep|>extensions/ringopengl/opengl11/ring_opengl11.c.diff
original:
updated:
RING_FUNC(ring_get_gl_false)
{
RING_API_RETNUMBER(GL_FALSE);
}
<|file_sep|>original/extensions/ringopengl/opengl11/ring_opengl11.c
#include "ring.h"
/*
OpenGL 1.1 Extension
Copyright (c) 2017 Mahmoud Fayed <msfclipper@yahoo.com>
*... | a926488619cbe3aa5b5cf367486f6e4b08d70e98 | extensions/ringopengl/opengl11/ring_opengl11.c | extensions/ringopengl/opengl11/ring_opengl11.c | C |
<|file_sep|>lib/index.js.diff
original:
updated:
// TODO remove on next major core update
<|file_sep|>original/lib/index.js
var rump = module.exports = require('rump');
var configs = require('./configs');
var originalAddGulpTasks = rump.addGulpTasks;
rump.addGulpTasks = function(options) {
originalAddGulpTasks(opt... | rump.addGulpTasks = function(options) {
originalAddGulpTasks(options);
require('./gulp');
return rump;
};
rump.on('update:main', function() {
configs.rebuild();
rump.emit('update:less');
});
rump.on('gulp:main', function(options) {
require('./gulp');
rump.emit('gulp:less', options);
});
Object.definePr... | <|file_sep|>lib/index.js.diff
original:
updated:
// TODO remove on next major core update
<|file_sep|>original/lib/index.js
var rump = module.exports = require('rump');
var configs = require('./configs');
var originalAddGulpTasks = rump.addGulpTasks;
rump.addGulpTasks = function(options) {
originalAddGulpTasks(opt... | 51ffd24a0035fe03157ad34e4a0c014e2a4fda04 | lib/index.js | lib/index.js | JavaScript |
<|file_sep|>original/requirements.txt
cookiecutter==1.7.3
sh==1.14.2
binaryornot==0.4.4
# Code quality
# ------------------------------------------------------------------------------
black==21.8b0
isort==5.9.3
flake8==3.9.2
flake8-isort==4.0.0
pre-commit==2.15.0
# Testing
# ------------------------------------------... | cookiecutter==1.7.3
sh==1.14.2
binaryornot==0.4.4
# Code quality
# ------------------------------------------------------------------------------
black==21.9b0
isort==5.9.3
flake8==3.9.2
flake8-isort==4.0.0
pre-commit==2.15.0
# Testing
# ------------------------------------------------------------------------------
t... | <|file_sep|>original/requirements.txt
cookiecutter==1.7.3
sh==1.14.2
binaryornot==0.4.4
# Code quality
# ------------------------------------------------------------------------------
black==21.8b0
isort==5.9.3
flake8==3.9.2
flake8-isort==4.0.0
pre-commit==2.15.0
# Testing
# ------------------------------------------... | 3f58b12636bdfc837f6f525ce4f0ee8e4feb85d7 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/scripts/test-software-overview.sh
<|file_sep|>current/scripts/test-software-overview.sh
<|file_sep|>updated/scripts/test-software-overview.sh | #!/usr/bin/env bash
set -eu
echo "Test the number of running services."
EP="# ExperimentalPlatform"
DR="docker run"
TO="Type=oneshot"
WHERE="/etc/systemd/system/"
SHOULD=$(grep -Hlr "${EP}" "${WHERE}" | xargs grep -Hlr "${DR}" "${WHERE}" | xargs grep -Hlr "${TO}" "${WHERE}" | wc -l)
ACTUALLY=$(docker ps | grep -P "... | <|file_sep|>original/scripts/test-software-overview.sh
<|file_sep|>current/scripts/test-software-overview.sh
<|file_sep|>updated/scripts/test-software-overview.sh
#!/usr/bin/env bash
set -eu
echo "Test the number of running services."
EP="# ExperimentalPlatform"
DR="docker run"
TO="Type=oneshot"
WHERE="/etc/system... | 30dc071725c3b0529ac3bb7aaa155e62b09bac21 | scripts/test-software-overview.sh | scripts/test-software-overview.sh | Shell |
<|file_sep|>original/run_importer.sh
while (true);
do ./bin/mysite customs_daily_tasks ;
echo -e "\nSleeping...\n"
sleep 24h;
done;
<|file_sep|>current/run_importer.sh
while (true);
do ./bin/mysite customs_daily_tasks ;
echo -e "\nSleeping...\n"
sleep 24h;
done;
<|file_sep|>updated/run_importer.sh | while (true);
do ./manage.py customs_daily_tasks ;
echo -e "\nSleeping...\n"
sleep 24h;
done; | <|file_sep|>original/run_importer.sh
while (true);
do ./bin/mysite customs_daily_tasks ;
echo -e "\nSleeping...\n"
sleep 24h;
done;
<|file_sep|>current/run_importer.sh
while (true);
do ./bin/mysite customs_daily_tasks ;
echo -e "\nSleeping...\n"
sleep 24h;
done;
<|file_sep|>updated/run_importer.sh
while (true);
do ./ma... | 0f60219f8376c468403d41025ecf280e4213e75d | run_importer.sh | run_importer.sh | Shell |
<|file_sep|>original/app/presenters/user_presenter.rb
require 'digest/md5'
class UserPresenter < BasePresenter
presents :user
def display_name
user.display_name
end
def avatar_link(size = 100)
# TODO implement link to user
h.link_to avatar(size), "#", title: user.username
end
def avatar(size... | require 'digest/md5'
class UserPresenter < BasePresenter
presents :user
delegate :display_name, to: :user
def avatar_link(size = 100)
# TODO implement link to user
h.link_to avatar(size), "#", title: user.username
end
def avatar(size = 100)
# TODO implement uploadable avatars to override grava... | <|file_sep|>original/app/presenters/user_presenter.rb
require 'digest/md5'
class UserPresenter < BasePresenter
presents :user
def display_name
user.display_name
end
def avatar_link(size = 100)
# TODO implement link to user
h.link_to avatar(size), "#", title: user.username
end
def avatar(size... | a23f77ce6d94dbf5637176d32783d471d7fd81de | app/presenters/user_presenter.rb | app/presenters/user_presenter.rb | Ruby |
<|file_sep|>app/controllers/socializer/circles_controller.rb.diff
original:
updated:
before_filter :set_circle, only: [:show, :edit, :update, :destroy]
<|file_sep|>app/controllers/socializer/circles_controller.rb.diff
original:
@circle = current_user.circles.find(params[:id])
updated:
<|file_sep|>app/cont... | def edit
end
def update
@circle.update!(params[:circle])
redirect_to @circle
end
def destroy
@circle.destroy
redirect_to circles_contacts_path
end
private
def set_circle
@circle = current_user.circles.find(params[:id])
end
end
end | <|file_sep|>app/controllers/socializer/circles_controller.rb.diff
original:
updated:
before_filter :set_circle, only: [:show, :edit, :update, :destroy]
<|file_sep|>app/controllers/socializer/circles_controller.rb.diff
original:
@circle = current_user.circles.find(params[:id])
updated:
<|file_sep|>app/cont... | 1a45197561843acdd55741132e5b21f53f7c3466 | app/controllers/socializer/circles_controller.rb | app/controllers/socializer/circles_controller.rb | Ruby |
<|file_sep|>DependencyInjection/TenElevenGeoLocatorExtension.php.diff
original:
updated:
use Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface;
<|file_sep|>DependencyInjection/TenElevenGeoLocatorExtension.php.diff
original:
class TenelevenGeolocatorExtension extends Extension
updated:
class Ten... | $container->setAlias('teneleven.geolocator.geocoder', $config['geocoder_service']);
$loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
$loader->load('services.xml');
}
public function getAlias()
{
return 'teneleven_geolocator';
... | <|file_sep|>DependencyInjection/TenElevenGeoLocatorExtension.php.diff
original:
updated:
use Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface;
<|file_sep|>DependencyInjection/TenElevenGeoLocatorExtension.php.diff
original:
class TenelevenGeolocatorExtension extends Extension
updated:
class Ten... | 6a66e8ff200140ecc934266348ab3ac51c8fa59e | DependencyInjection/TenElevenGeoLocatorExtension.php | DependencyInjection/TenElevenGeoLocatorExtension.php | PHP |
<|file_sep|>circle.yml.diff
original:
node:
version: 1.0
updated:
services:
- docker
dependencies:
override:
- docker build -t hello-ci-workflow .
<|file_sep|>circle.yml.diff
original:
updated:
# Run testing
<|file_sep|>original/circle.yml
# circle.yml
machine:
node:
version: 1.0
test:
... | # circle.yml
machine:
services:
- docker
dependencies:
override:
- docker build -t hello-ci-workflow .
test:
override:
# Run testing
- ./node_modules/.bin/mocha
# Check web is live
- docker run -d -p 2999:3000 hello-ci-workflow; sleep 10
- curl --retry 2 --retry-delay 5 -v http://loc... | <|file_sep|>circle.yml.diff
original:
node:
version: 1.0
updated:
services:
- docker
dependencies:
override:
- docker build -t hello-ci-workflow .
<|file_sep|>circle.yml.diff
original:
updated:
# Run testing
<|file_sep|>original/circle.yml
# circle.yml
machine:
node:
version: 1.0
test:
... | 2d5c17b254af3bc0159ee5c6692de94875fc9e7c | circle.yml | circle.yml | YAML |
<|file_sep|>original/requirements_dev.txt
pip==10.0.1
bumpversion==0.5.3
wheel==0.31.0
watchdog==0.8.3
flake8==3.5.0
mock==2.0.0
tox==3.0.0
coverage==4.5.1
Sphinx==1.7.2
cryptography==2.2.2
PyYAML==3.12
future==0.16.0
scipy>=0.17.0
numpy>=1.13.0
matplotlib>=1.3.1
<|file_sep|>current/requirements_dev.txt
pip==10.0.1
bum... | pip==10.0.1
bumpversion==0.5.3
wheel==0.31.1
watchdog==0.8.3
flake8==3.5.0
mock==2.0.0
tox==3.0.0
coverage==4.5.1
Sphinx==1.7.2
cryptography==2.2.2
PyYAML==3.12
future==0.16.0
scipy>=0.17.0
numpy>=1.13.0
matplotlib>=1.3.1 | <|file_sep|>original/requirements_dev.txt
pip==10.0.1
bumpversion==0.5.3
wheel==0.31.0
watchdog==0.8.3
flake8==3.5.0
mock==2.0.0
tox==3.0.0
coverage==4.5.1
Sphinx==1.7.2
cryptography==2.2.2
PyYAML==3.12
future==0.16.0
scipy>=0.17.0
numpy>=1.13.0
matplotlib>=1.3.1
<|file_sep|>current/requirements_dev.txt
pip==10.0.1
bum... | 385d6c7317e2f27296a14cbaa4e2bd2aaf87cb34 | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/.travis.yml
language: ruby
bundler_args: --without tools
branches:
only:
- master
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- rbx-2
env:
matrix:
- HANDLER="nokogiri"
- HANDLER="ox"
<|file_sep|>current/.travis.yml
language: ruby
bundler_args: --without tools
branches:
only:
- ... | language: ruby
bundler_args: --without tools
branches:
only:
- master
rvm:
- 1.9.3
- 2.0.0
- 2.1
- 2.2
- rbx-2
env:
matrix:
- HANDLER="nokogiri"
- HANDLER="ox" | <|file_sep|>original/.travis.yml
language: ruby
bundler_args: --without tools
branches:
only:
- master
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- rbx-2
env:
matrix:
- HANDLER="nokogiri"
- HANDLER="ox"
<|file_sep|>current/.travis.yml
language: ruby
bundler_args: --without tools
branches:
only:
- ... | 332ccae2aa23e841ca273cfe3daed8f3ac9aed02 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/test/test_relative_relationships.py
<|file_sep|>current/test/test_relative_relationships.py
<|file_sep|>updated/test/test_relative_relationships.py | from neomodel import StructuredNode, RelationshipTo, StringProperty
from .test_relationships import Country
class Cat(StructuredNode):
name = StringProperty()
is_from = RelationshipTo('.test_relationships.Country', 'IS_FROM')
def test_relative_relationship():
a = Cat(name='snufkin').save()
assert a
... | <|file_sep|>original/test/test_relative_relationships.py
<|file_sep|>current/test/test_relative_relationships.py
<|file_sep|>updated/test/test_relative_relationships.py
from neomodel import StructuredNode, RelationshipTo, StringProperty
from .test_relationships import Country
class Cat(StructuredNode):
name = S... | bda9c236c978601ea8c62c60488afaecc03f384f | test/test_relative_relationships.py | test/test_relative_relationships.py | Python |
<|file_sep|>original/test_bert_trainer.py
def test_init(self):
trainer = BERTTrainer()
def test_train(self):
output_dir = 'test_{}'.format(str(int(time.time())))
trainer = BERTTrainer(output_dir=output_dir)
print(trainer.bert_model_hub)
data = pd.DataFrame({
... | def test_init(self):
trainer = BERTTrainer()
def test_train(self):
output_dir = 'test_{}'.format(str(int(time.time())))
trainer = BERTTrainer(output_dir=output_dir)
print(trainer.bert_model_hub)
data = pd.DataFrame({
'abstract': ['test one', 'test two', 'test... | <|file_sep|>original/test_bert_trainer.py
def test_init(self):
trainer = BERTTrainer()
def test_train(self):
output_dir = 'test_{}'.format(str(int(time.time())))
trainer = BERTTrainer(output_dir=output_dir)
print(trainer.bert_model_hub)
data = pd.DataFrame({
... | f9ebca863ff2fd1a0ea160047cd70c59b4663b9d | test_bert_trainer.py | test_bert_trainer.py | Python |
<|file_sep|>original/roles/ranger/tasks/main.yml
---
- name: Install ranger
become: true
package:
name: ranger
state: installed
- name: Symlink rifle config
file:
src: "{{ role_path }}/files/rifle.conf"
dest: "~/.config/ranger/rifle.conf"
state: link
<|file_sep|>current/roles/ranger/tasks/mai... | ---
- name: Install ranger
become: true
package:
name: ranger
state: installed
- name: Create ranger config directory
file:
path: "~/.config/ranger"
state: directory
- name: Symlink rifle config
file:
src: "{{ role_path }}/files/rifle.conf"
dest: "~/.config/ranger/rifle.conf"
state... | <|file_sep|>original/roles/ranger/tasks/main.yml
---
- name: Install ranger
become: true
package:
name: ranger
state: installed
- name: Symlink rifle config
file:
src: "{{ role_path }}/files/rifle.conf"
dest: "~/.config/ranger/rifle.conf"
state: link
<|file_sep|>current/roles/ranger/tasks/mai... | 882be3954abf78677ab5b5d3f1f2c9843d3e3868 | roles/ranger/tasks/main.yml | roles/ranger/tasks/main.yml | YAML |
<|file_sep|>original/requirements.txt
FontTools==3.28.0
ufoLib==2.2.1
fontMath==0.4.5
defcon[pens]==0.5.1
<|file_sep|>current/requirements.txt
FontTools==3.28.0
ufoLib==2.2.1
fontMath==0.4.5
defcon[pens]==0.5.1
<|file_sep|>updated/requirements.txt | FontTools==3.28.0
ufoLib==2.2.2
fontMath==0.4.5
defcon[pens]==0.5.1 | <|file_sep|>original/requirements.txt
FontTools==3.28.0
ufoLib==2.2.1
fontMath==0.4.5
defcon[pens]==0.5.1
<|file_sep|>current/requirements.txt
FontTools==3.28.0
ufoLib==2.2.1
fontMath==0.4.5
defcon[pens]==0.5.1
<|file_sep|>updated/requirements.txt
FontTools==3.28.0
ufoLib==2.2.2
fontMath==0.4.5
defcon[pens]==0.5.1 | 62cddc035a9eec90c034245937e962f7fc20f70c | requirements.txt | requirements.txt | Text |
<|file_sep|>.travis.yml.diff
original:
updated:
notifications:
disabled: true
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- jruby
- ree
<|file_sep|>current/.travis.yml
language: ruby
notifications:
disabled: true
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
... | language: ruby
notifications:
disabled: true
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- jruby
- ree | <|file_sep|>.travis.yml.diff
original:
updated:
notifications:
disabled: true
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- jruby
- ree
<|file_sep|>current/.travis.yml
language: ruby
notifications:
disabled: true
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
... | 427670333122bea29e8da1502d561754168b55a1 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/packages/ca/casing.yaml
<|file_sep|>current/packages/ca/casing.yaml
<|file_sep|>updated/packages/ca/casing.yaml | homepage: ''
changelog-type: ''
hash: 3cf06fb4a802d265093a6023e59500f7d28b879f06e7c11a5ef33fd7a35802f6
test-bench-deps: {}
maintainer: tdammers@gmail.com
synopsis: Convert between various source code casing conventions
changelog: ''
basic-deps:
split: -any
base: ! '>=4.7 && <5'
all-versions:
- '0.1.0.0'
author: Tob... | <|file_sep|>original/packages/ca/casing.yaml
<|file_sep|>current/packages/ca/casing.yaml
<|file_sep|>updated/packages/ca/casing.yaml
homepage: ''
changelog-type: ''
hash: 3cf06fb4a802d265093a6023e59500f7d28b879f06e7c11a5ef33fd7a35802f6
test-bench-deps: {}
maintainer: tdammers@gmail.com
synopsis: Convert between vario... | 3ff4d2d1c04afb08c3230116e880219fb096e9ac | packages/ca/casing.yaml | packages/ca/casing.yaml | YAML |
<|file_sep|>original/spec/spec_helper.rb
require 'rubygems'
require 'bundler'
Bundler.setup
require 'dcell'
Dir['./spec/support/*.rb'].map { |f| require f }
RSpec.configure do |config|
config.before(:suite) do
DCell.setup :directory => { :id => 'test_node', :addr => "tcp://127.0.0.1:#{TestNode::PORT}" }
@su... | require 'rubygems'
require 'bundler'
Bundler.setup
require 'dcell'
Dir['./spec/support/*.rb'].map { |f| require f }
RSpec.configure do |config|
config.before(:suite) do
DCell.setup :directory => { :id => 'test_node', :addr => "tcp://127.0.0.1:#{TestNode::PORT}" }
@supervisor = DCell.run!
TestNode.start... | <|file_sep|>original/spec/spec_helper.rb
require 'rubygems'
require 'bundler'
Bundler.setup
require 'dcell'
Dir['./spec/support/*.rb'].map { |f| require f }
RSpec.configure do |config|
config.before(:suite) do
DCell.setup :directory => { :id => 'test_node', :addr => "tcp://127.0.0.1:#{TestNode::PORT}" }
@su... | 27961444e074b8e4b7da17b87a4a88f04b3dad62 | spec/spec_helper.rb | spec/spec_helper.rb | Ruby |
<|file_sep|>original/meta/meeting-notes/2016-04-26-team-sync.md
<|file_sep|>current/meta/meeting-notes/2016-04-26-team-sync.md
<|file_sep|>updated/meta/meeting-notes/2016-04-26-team-sync.md | # Agenda
* Status updates
## Status Updates
* [@steveluscher](https://github.com/steveluscher)
* `RelayConnection` landed and powering internal app.
* Disk cache for `RelayConnection`.
* Gave [GraphQL talk](https://www.youtube.com/watch?v=UBGzsb2UkeY).
* Fixed broken Relay tests because of React issue.
* D... | <|file_sep|>original/meta/meeting-notes/2016-04-26-team-sync.md
<|file_sep|>current/meta/meeting-notes/2016-04-26-team-sync.md
<|file_sep|>updated/meta/meeting-notes/2016-04-26-team-sync.md
# Agenda
* Status updates
## Status Updates
* [@steveluscher](https://github.com/steveluscher)
* `RelayConnection` landed a... | 9b3c4df9e3db9077f54e44a9160156b92f83cd87 | meta/meeting-notes/2016-04-26-team-sync.md | meta/meeting-notes/2016-04-26-team-sync.md | Markdown |
<|file_sep|>original/aloja-web/config/config.sample.yml
mysql_user: root
mysql_pwd:
db_conn_chain: "mysql:host=localhost;dbname=aloja2"
db_conn_chain_ml: "mysql:host=localhost;dbname=aloja_ml"
#Prod MySQL, need to SSH first in Vagrant VM with: ssh -L localhost:3307:host:3306 prod_user@prod_server
#db_conn_chain: "mysql... | mysql_user: root
mysql_pwd:
db_conn_chain: "mysql:host=localhost;dbname=aloja2"
db_conn_chain_ml: "mysql:host=localhost;dbname=aloja_ml"
#Prod MySQL, need to SSH first in Vagrant VM with: ssh -L localhost:3307:host:3306 prod_user@prod_server
#db_conn_chain: "mysql:host=127.0.0.1;dbname=aloja2;port=3307"
db_cache_path: ... | <|file_sep|>original/aloja-web/config/config.sample.yml
mysql_user: root
mysql_pwd:
db_conn_chain: "mysql:host=localhost;dbname=aloja2"
db_conn_chain_ml: "mysql:host=localhost;dbname=aloja_ml"
#Prod MySQL, need to SSH first in Vagrant VM with: ssh -L localhost:3307:host:3306 prod_user@prod_server
#db_conn_chain: "mysql... | 3d2f63c4ca7132b5f8548e5b74aba2803253db00 | aloja-web/config/config.sample.yml | aloja-web/config/config.sample.yml | YAML |
<|file_sep|>original/.travis.yml
language: php
php:
- 5.6
- 7
- hhvm
matrix:
allow_failures:
- php: hhvm
before_script:
- composer install
script:
- mkdir -p build/logs
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml
after_script:
- vendor/bin/coveralls -v
<|file_sep|>current/.tr... | language: php
php:
- 5.6
- 7
- 7.1
- hhvm
matrix:
allow_failures:
- php: hhvm
before_script:
- composer install
script:
- mkdir -p build/logs
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml
after_script:
- vendor/bin/coveralls -v | <|file_sep|>original/.travis.yml
language: php
php:
- 5.6
- 7
- hhvm
matrix:
allow_failures:
- php: hhvm
before_script:
- composer install
script:
- mkdir -p build/logs
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml
after_script:
- vendor/bin/coveralls -v
<|file_sep|>current/.tr... | 0a05c226e1a22455a8c18078ffba5bb893d178d5 | .travis.yml | .travis.yml | YAML |
<|file_sep|>web_external/Legal/termsAcceptancePage.jade.diff
original:
.isic-terms-acceptance
label.control-label(for="isic-terms-agreement")
| Terms of Use
#isic-terms-agreement.isic-legal-container
.isic-legal-content
include legal/terms_of_use.html
updated:
.isic-form-page.isic-terms-acceptance
.... | .isic-form-page.isic-terms-acceptance
.isic-form-container
.isic-form-group
h3 Terms of Use
#isic-terms-agreement.isic-legal-container
.isic-legal-content
include legal/terms_of_use.html
.isic-terms-agreement-link-container
a.isic-terms-agreement-link(href="#{documents... | <|file_sep|>web_external/Legal/termsAcceptancePage.jade.diff
original:
.isic-terms-acceptance
label.control-label(for="isic-terms-agreement")
| Terms of Use
#isic-terms-agreement.isic-legal-container
.isic-legal-content
include legal/terms_of_use.html
updated:
.isic-form-page.isic-terms-acceptance
.... | 3ac4b75e10d5d30f0e33c6dd2bafc80b1fcd0d2c | web_external/Legal/termsAcceptancePage.jade | web_external/Legal/termsAcceptancePage.jade | Jade |
<|file_sep|>original/.github/workflows/ci.yml
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install -y cmake libgl1-mesa-dev libegl1-mesa-dev libglfw3-dev libx11-dev libxrandr-dev libxin... | push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install cmake
run: sudo apt install -y cmake libgl1-mesa-dev libegl1-mesa-dev libglfw3-dev libx11-dev libxrandr-dev libxinerama-dev ... | <|file_sep|>original/.github/workflows/ci.yml
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install -y cmake libgl1-mesa-dev libegl1-mesa-dev libglfw3-dev libx11-dev libxrandr-dev libxin... | 7074c74a939b1fdbc080b4ea314849dbcf23c48e | .github/workflows/ci.yml | .github/workflows/ci.yml | YAML |
<|file_sep|>original/project/user/forms.py
initial_validation = super(RegisterForm, self).validate()
if not initial_validation:
return False
user = User.query.filter_by(email=self.email.data).first()
if user:
self.email.errors.append("Email already registered")
... | initial_validation = super(RegisterForm, self).validate()
if not initial_validation:
return False
user = User.query.filter_by(email=self.email.data).first()
if user:
self.email.errors.append("Email already registered")
return False
return True
... | <|file_sep|>original/project/user/forms.py
initial_validation = super(RegisterForm, self).validate()
if not initial_validation:
return False
user = User.query.filter_by(email=self.email.data).first()
if user:
self.email.errors.append("Email already registered")
... | ded371a8cb63077e57cfcde401df56bddf078f5a | project/user/forms.py | project/user/forms.py | Python |
<|file_sep|>original/Cargo.toml
[package]
name = "Muxed"
version = "0.0.1"
authors = ["Brian Pearce"]
<|file_sep|>current/Cargo.toml
[package]
name = "Muxed"
version = "0.0.1"
authors = ["Brian Pearce"]
<|file_sep|>updated/Cargo.toml | [package]
name = "muxed"
version = "0.0.1"
authors = ["Brian Pearce"] | <|file_sep|>original/Cargo.toml
[package]
name = "Muxed"
version = "0.0.1"
authors = ["Brian Pearce"]
<|file_sep|>current/Cargo.toml
[package]
name = "Muxed"
version = "0.0.1"
authors = ["Brian Pearce"]
<|file_sep|>updated/Cargo.toml
[package]
name = "muxed"
version = "0.0.1"
authors = ["Brian Pearce"] | 88a820a9cdbee0830b59437b153c9fac9c994846 | Cargo.toml | Cargo.toml | TOML |
<|file_sep|>.travis.yml.diff
original:
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
<|file_sep|>original/.travis.yml
language: go
go:
- 1.2.2
- 1.3
install:
- go get code.google.com/p/go.tools/cmd/vet
- go get -t -v ./...
- go install -a -race std
script:
- go tool vet -all .
- go build ./...
-... | language: go
go:
- 1.2.2
- 1.3
install:
- go get code.google.com/p/go.tools/cmd/vet
- go get -t -v ./...
- go install -a -race std
script:
- go tool vet -all .
- go build ./...
- go test -race -v ./... | <|file_sep|>.travis.yml.diff
original:
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
<|file_sep|>original/.travis.yml
language: go
go:
- 1.2.2
- 1.3
install:
- go get code.google.com/p/go.tools/cmd/vet
- go get -t -v ./...
- go install -a -race std
script:
- go tool vet -all .
- go build ./...
-... | d89d391e728fc874210af30f552b5bc80469edda | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/library/socket/ipsocket/getaddress_spec.rb
require File.expand_path('../../../../spec_helper', __FILE__)
require File.expand_path('../../fixtures/classes', __FILE__)
describe "Socket::IPSocket#getaddress" do
it "returns the IP address of hostname" do
addr_local = IPSocket.getaddress(SocketS... | require File.expand_path('../../fixtures/classes', __FILE__)
describe "Socket::IPSocket#getaddress" do
it "returns the IP address of hostname" do
addr_local = IPSocket.getaddress(SocketSpecs.hostname)
["127.0.0.1", "::1"].include?(addr_local).should == true
end
it "returns the IP address when passed an... | <|file_sep|>original/library/socket/ipsocket/getaddress_spec.rb
require File.expand_path('../../../../spec_helper', __FILE__)
require File.expand_path('../../fixtures/classes', __FILE__)
describe "Socket::IPSocket#getaddress" do
it "returns the IP address of hostname" do
addr_local = IPSocket.getaddress(SocketS... | cd7f3442c513cf48c82652fd18c5dd0927ac0b06 | library/socket/ipsocket/getaddress_spec.rb | library/socket/ipsocket/getaddress_spec.rb | Ruby |
<|file_sep|>original/Demo0/template.html
<!DOCTYPE html>
<html>
<head>
<title>FVNUG Template</title>
<link rel="stylesheet" href="../bootstrap/css/bootstrap.min.css"/>
</head>
<body>
<div class="container">
</div>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angula... | <!DOCTYPE html>
<html>
<head>
<title>FVNUG Template</title>
<link rel="stylesheet" href="../bootstrap/css/bootstrap.min.css"/>
</head>
<body>
<div class="container">
Hello Northeast Wisconsin!!
</div>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular.min.js"></sc... | <|file_sep|>original/Demo0/template.html
<!DOCTYPE html>
<html>
<head>
<title>FVNUG Template</title>
<link rel="stylesheet" href="../bootstrap/css/bootstrap.min.css"/>
</head>
<body>
<div class="container">
</div>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angula... | 77fdaa1b6b5a23b528ad865e396a96a9003002cf | Demo0/template.html | Demo0/template.html | HTML |
<|file_sep|>original/jekyll-theme-architect.gemspec
# encoding: utf-8
Gem::Specification.new do |s|
s.name = "jekyll-theme-architect"
s.version = "0.0.1"
s.authors = ["Jason Long"]
s.email = ["support@github.com"]
s.homepage = "https://github.com/pages-themes/architect"
s.... | # encoding: utf-8
Gem::Specification.new do |s|
s.name = "jekyll-theme-architect"
s.version = "0.0.1"
s.authors = ["Jason Long"]
s.email = ["opensource+jekyll-theme-architect@github.com"]
s.homepage = "https://github.com/pages-themes/architect"
s.summary = "Architect... | <|file_sep|>original/jekyll-theme-architect.gemspec
# encoding: utf-8
Gem::Specification.new do |s|
s.name = "jekyll-theme-architect"
s.version = "0.0.1"
s.authors = ["Jason Long"]
s.email = ["support@github.com"]
s.homepage = "https://github.com/pages-themes/architect"
s.... | 98927586a0817a524427b479e134912431941e36 | jekyll-theme-architect.gemspec | jekyll-theme-architect.gemspec | Ruby |
<|file_sep|>metadata/com.dimtion.shaarlier.txt.diff
original:
updated:
Build:1.2.0-debug,14
commit=v1.2.0-debug
subdir=app
gradle=yes
<|file_sep|>original/metadata/com.dimtion.shaarlier.txt
Features:
* Publish links on your Shaarli
* Automatically add a title to your links (as Shaarli does)
* Optional di... | * Multiple Shaarlis
.
Repo Type:git
Repo:https://github.com/dimtion/Shaarlier
Build:1.2.0,13
commit=v1.2.0
subdir=app
gradle=yes
Build:1.2.0-debug,14
commit=v1.2.0-debug
subdir=app
gradle=yes
Auto Update Mode:Version v%v
Update Check Mode:Tags
Current Version:1.2.0-debug
Current Version Code... | <|file_sep|>metadata/com.dimtion.shaarlier.txt.diff
original:
updated:
Build:1.2.0-debug,14
commit=v1.2.0-debug
subdir=app
gradle=yes
<|file_sep|>original/metadata/com.dimtion.shaarlier.txt
Features:
* Publish links on your Shaarli
* Automatically add a title to your links (as Shaarli does)
* Optional di... | b55e2997ee02eb81941d28c8cae0ea2687a80f70 | metadata/com.dimtion.shaarlier.txt | metadata/com.dimtion.shaarlier.txt | Text |
<|file_sep|>original/README.md
A (technically) simple language that compiles to CPython bytecode.
## Interpreter Support
Version | Compiles | Runs | Runs flawlessly | Reason
------------ | -------- | -------- | --------------- | -------------------------------------------------------
CPython 3.3 | Probably... |
A (technically) simple language that compiles to CPython bytecode.
## Interpreter Support
Version | Compiles | Runs | Runs flawlessly | Reason
------------ | -------- | -------- | --------------- | -------------------------------------------------------
CPython 3.3 | Probably | Probably | Probably |... | <|file_sep|>original/README.md
A (technically) simple language that compiles to CPython bytecode.
## Interpreter Support
Version | Compiles | Runs | Runs flawlessly | Reason
------------ | -------- | -------- | --------------- | -------------------------------------------------------
CPython 3.3 | Probably... | 36cf9772f69f8216f07d9d77f3bd8230b43ceaa9 | README.md | README.md | Markdown |
<|file_sep|>original/requirements-to-freeze.txt
<|file_sep|>current/requirements-to-freeze.txt
<|file_sep|>updated/requirements-to-freeze.txt | boto
amqp
amqplib
celery
dj-database-url
Django
django-celery
django-debug-toolbar
django-extensions
django-grappelli
django-require
django-storages
django-tastypie
Fabric
gevent
gunicorn
ipython
kombu
newrelic
paramiko
psycopg2 | <|file_sep|>original/requirements-to-freeze.txt
<|file_sep|>current/requirements-to-freeze.txt
<|file_sep|>updated/requirements-to-freeze.txt
boto
amqp
amqplib
celery
dj-database-url
Django
django-celery
django-debug-toolbar
django-extensions
django-grappelli
django-require
django-storages
django-tastypie
Fabric
geve... | f6dd68dbe51cb8450209d2e2146ffaa4755f53e9 | requirements-to-freeze.txt | requirements-to-freeze.txt | Text |
<|file_sep|>original/README.md
ASP.NET Core Identity
===
AppVeyor: [](https://ci.appveyor.com/project/aspnetci/Identity/branch/dev)
Travis: [](https://travis-ci... | ASP.NET Core Identity
===
AppVeyor: [](https://ci.appveyor.com/project/aspnetci/Identity/branch/dev)
Travis: [](https://travis-ci.org/aspnet/Identity)
ASP.NET ... | <|file_sep|>original/README.md
ASP.NET Core Identity
===
AppVeyor: [](https://ci.appveyor.com/project/aspnetci/Identity/branch/dev)
Travis: [](https://travis-ci... | 39772210aa519666eedbbfb2ad9bf484062b062e | README.md | README.md | Markdown |
<|file_sep|>original/tools/driver/CMakeLists.txt
frontend_main.cpp
DEPENDS swiftDriver swiftIRGen swiftSIL swiftSILGen swiftSILPasses swiftImmediate
swiftSerialization swiftFrontend swiftClangImporter swiftIDE
swiftPrintAsObjC
COMPONENT_DEPENDS bitreader bitwriter codegen ipo jit linker mcjit... | frontend_main.cpp
DEPENDS swiftDriver swiftIRGen swiftSIL swiftSILGen swiftSILPasses swiftImmediate
swiftSerialization swiftFrontend swiftClangImporter swiftIDE
swiftPrintAsObjC
COMPONENT_DEPENDS bitreader bitwriter codegen ipo jit linker mcjit asmparser
selectiondag ${LLV... | <|file_sep|>original/tools/driver/CMakeLists.txt
frontend_main.cpp
DEPENDS swiftDriver swiftIRGen swiftSIL swiftSILGen swiftSILPasses swiftImmediate
swiftSerialization swiftFrontend swiftClangImporter swiftIDE
swiftPrintAsObjC
COMPONENT_DEPENDS bitreader bitwriter codegen ipo jit linker mcjit... | 31c18251ae9726f57fbf28f4c9543c5010508847 | tools/driver/CMakeLists.txt | tools/driver/CMakeLists.txt | Text |
<|file_sep|>original/src/main/java/net/sf/jabref/logic/formatter/CleanupFormatter.java
<|file_sep|>current/src/main/java/net/sf/jabref/logic/formatter/CleanupFormatter.java
<|file_sep|>updated/src/main/java/net/sf/jabref/logic/formatter/CleanupFormatter.java | package net.sf.jabref.logic.formatter;
import net.sf.jabref.logic.FieldChange;
import net.sf.jabref.logic.cleanup.CleanupJob;
import net.sf.jabref.model.entry.BibEntry;
import java.util.ArrayList;
import java.util.List;
/**
* Can be used to turn a formatter into a cleanup action.
*/
public class CleanupFormatter i... | <|file_sep|>original/src/main/java/net/sf/jabref/logic/formatter/CleanupFormatter.java
<|file_sep|>current/src/main/java/net/sf/jabref/logic/formatter/CleanupFormatter.java
<|file_sep|>updated/src/main/java/net/sf/jabref/logic/formatter/CleanupFormatter.java
package net.sf.jabref.logic.formatter;
import net.sf.jabre... | 9a872ef897ee9f5c1da5af47ed9493c8dd393ceb | src/main/java/net/sf/jabref/logic/formatter/CleanupFormatter.java | src/main/java/net/sf/jabref/logic/formatter/CleanupFormatter.java | Java |
<|file_sep|>original/package.json
"version": "1.0.0",
"description": "Simple Promise Image Loader based on Q",
"keywords": [
"q",
"promise",
"image",
"loader",
"browser"
],
"author": "Gaëtan Renaudeau <renaudeau.gaetan@gmail.com>",
"dependencies" : {
"q" : "0.9.x"
},
"devDepen... | "version": "1.0.0",
"description": "Simple Promise Image Loader based on Q",
"keywords": [
"q",
"promise",
"image",
"loader",
"browser"
],
"author": "Gaëtan Renaudeau <renaudeau.gaetan@gmail.com>",
"contributors": [
{
"name": "Paul Panserrieu",
"email": "paul@42loops.com... | <|file_sep|>original/package.json
"version": "1.0.0",
"description": "Simple Promise Image Loader based on Q",
"keywords": [
"q",
"promise",
"image",
"loader",
"browser"
],
"author": "Gaëtan Renaudeau <renaudeau.gaetan@gmail.com>",
"dependencies" : {
"q" : "0.9.x"
},
"devDepen... | 5effb4c1d387d4c6c60c11f85d47cc901daff155 | package.json | package.json | JSON |
<|file_sep|>spring-deployment/src/main/config/james/META-INF/persistence.xml.diff
original:
<!-- workaround till openjpa 1.3 or 2.0.0 was released -->
updated:
<!-- workaround for MYSQL till openjpa 1.3 or 2.0.0 was released -->
<|file_sep|>spring-deployment/src/main/config/james/META-INF/persis... | <class>org.apache.james.imap.jpa.mail.model.JPAMailbox</class>
<class>org.apache.james.imap.jpa.mail.model.JPAMailboxMembership</class>
<class>org.apache.james.imap.jpa.mail.model.JPAMessage</class>
<class>org.apache.james.imap.jpa.mail.model.JPAProperty</class>
<class>org.apache.james.imap.jpa... | <|file_sep|>spring-deployment/src/main/config/james/META-INF/persistence.xml.diff
original:
<!-- workaround till openjpa 1.3 or 2.0.0 was released -->
updated:
<!-- workaround for MYSQL till openjpa 1.3 or 2.0.0 was released -->
<|file_sep|>spring-deployment/src/main/config/james/META-INF/persis... | 0a12717965cd93348ca9fde6cad104b05b03484b | spring-deployment/src/main/config/james/META-INF/persistence.xml | spring-deployment/src/main/config/james/META-INF/persistence.xml | XML |
<|file_sep|>db.py.diff
original:
import sqlite3
updated:
class SavedRollManager:
"""
Class for managing saved rolls.
<|file_sep|>db.py.diff
original:
updated:
Attributes:
connection (sqlite3.Connection): Database connection used by manager
"""
<|file_sep|>db.py.diff
original:
connection = sqlit... |
Args:
user (int): User ID to get roll for
chat (int): Chat ID to get roll for
name: Name of saved roll
Returns:
list: List of arguments of saved roll
"""
pass
def delete(self, user, chat, name):
"""
Delete a saved rol... | <|file_sep|>db.py.diff
original:
import sqlite3
updated:
class SavedRollManager:
"""
Class for managing saved rolls.
<|file_sep|>db.py.diff
original:
updated:
Attributes:
connection (sqlite3.Connection): Database connection used by manager
"""
<|file_sep|>db.py.diff
original:
connection = sqlit... | 2afd2467c16969b10496ae96e17b9dce7911f232 | db.py | db.py | Python |
<|file_sep|>original/.vscode/launch.json
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug Main Process",
"type": "node",
"request": "launch",
"cwd": "${workspaceRoot}",
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
"program": "${workspaceRoot}/... | {
"version": "0.2.0",
"configurations": [
{
"name": "Debug Main Process",
"type": "node",
"request": "launch",
"cwd": "${workspaceRoot}",
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
"program": "${workspaceRoot}/built/index.js"
}
]
} | <|file_sep|>original/.vscode/launch.json
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug Main Process",
"type": "node",
"request": "launch",
"cwd": "${workspaceRoot}",
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
"program": "${workspaceRoot}/... | e801e36b4e3ff413fe7ff83fd193f6fa9d1ae06f | .vscode/launch.json | .vscode/launch.json | JSON |
<|file_sep|>database/migrations/2017_02_15_141750_create_games_table.php.diff
original:
$table->integer('teams2_id')->unsigned();
$table->integer('pools_id')->unsigned();
updated:
$table->integer('teams2_id')->unsigned();
<|file_sep|>original/database/migrations/2017_02_15_141750... | $table->integer('score_team2');
$table->date('date');
$table->time('start_time');
$table->string('type', 45);
$table->integer('teams1_id')->unsigned();
$table->integer('teams2_id')->unsigned();
$table->integer('courts_id')->unsigned... | <|file_sep|>database/migrations/2017_02_15_141750_create_games_table.php.diff
original:
$table->integer('teams2_id')->unsigned();
$table->integer('pools_id')->unsigned();
updated:
$table->integer('teams2_id')->unsigned();
<|file_sep|>original/database/migrations/2017_02_15_141750... | c9b0901eab05b243e76cb49408a9febddc19e610 | database/migrations/2017_02_15_141750_create_games_table.php | database/migrations/2017_02_15_141750_create_games_table.php | PHP |
<|file_sep|>bluebottle/test/factory_models/organizations.py.diff
original:
from bluebottle.organizations.models import OrganizationContact, Organization, OrganizationMember
updated:
from bluebottle.organizations.models import OrganizationContact, Organization
<|file_sep|>original/bluebottle/test/factory_models/organiza... | city = 'Amsterdam'
state = 'North Holland'
country = factory.SubFactory(CountryFactory, name='Netherlands')
postal_code = '1011TG'
# Contact
phone_number = '(+31) 20 715 8980'
website = 'http://onepercentclub.com'
email = 'info@onepercentclub.com'
class OrganizationContactFactory(fac... | <|file_sep|>bluebottle/test/factory_models/organizations.py.diff
original:
from bluebottle.organizations.models import OrganizationContact, Organization, OrganizationMember
updated:
from bluebottle.organizations.models import OrganizationContact, Organization
<|file_sep|>original/bluebottle/test/factory_models/organiza... | dc6c8b77ea944e97a9f49dd1f7ae2244f4cad2ca | bluebottle/test/factory_models/organizations.py | bluebottle/test/factory_models/organizations.py | Python |
<|file_sep|>metadata/starcom.snd.yml.diff
original:
updated:
- versionName: '1.5'
versionCode: 5
commit: 8faaa8bf0ba76e23f77515938daedc1eaf7dd721
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/starcom.snd.yml
gradle:
- yes
- versionName: '1.3'
versionCode: 3
commi... | gradle:
- yes
- versionName: '1.4'
versionCode: 4
commit: '1.4'
subdir: app
gradle:
- yes
- versionName: '1.5'
versionCode: 5
commit: 8faaa8bf0ba76e23f77515938daedc1eaf7dd721
subdir: app
gradle:
- yes
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVe... | <|file_sep|>metadata/starcom.snd.yml.diff
original:
updated:
- versionName: '1.5'
versionCode: 5
commit: 8faaa8bf0ba76e23f77515938daedc1eaf7dd721
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/starcom.snd.yml
gradle:
- yes
- versionName: '1.3'
versionCode: 3
commi... | e293beea5bd5dd309b4de12649d305a331cbce0e | metadata/starcom.snd.yml | metadata/starcom.snd.yml | YAML |
<|file_sep|>original/shell/linux.sh
# expand '~'
echo "${var/#\~/$HOME}"
break
fi
esac
done
}
# exported functions
keychain-add() {
keychain-init
local hosts=$(for i in $@; do _sc_confpath $i; done)
keychain --confhost... | # expand '~'
echo "${var/#\~/$HOME}"
break
fi
esac
done
}
# exported functions
keychain-add() {
_sc_keychain_init
local hosts=$(for i in $@; do _sc_confpath $i; done)
keychain --confhost ${hosts[@]}
}
# main
if type ... | <|file_sep|>original/shell/linux.sh
# expand '~'
echo "${var/#\~/$HOME}"
break
fi
esac
done
}
# exported functions
keychain-add() {
keychain-init
local hosts=$(for i in $@; do _sc_confpath $i; done)
keychain --confhost... | a1697cdee259fa5233f966e0a725eff718c3c572 | shell/linux.sh | shell/linux.sh | Shell |
<|file_sep|>original/requirements-dev.txt
coverage==4.2
docker-py==1.10.5
flake8==3.0.4
ipdb==0.10.1
ipython==5.1.0
pyodbc==3.0.10
pytest==3.0.3
pytest-cov==2.4.0
pytest-sugar==0.7.1
sphinx==1.4.8
sphinxcontrib-asyncio==0.2.0
uvloop==0.5.4
<|file_sep|>current/requirements-dev.txt
coverage==4.2
docker-py==1.10.5
flake8=... | coverage==4.2
docker-py==1.10.6
flake8==3.0.4
ipdb==0.10.1
ipython==5.1.0
pyodbc==3.0.10
pytest==3.0.3
pytest-cov==2.4.0
pytest-sugar==0.7.1
sphinx==1.4.8
sphinxcontrib-asyncio==0.2.0
uvloop==0.5.4 | <|file_sep|>original/requirements-dev.txt
coverage==4.2
docker-py==1.10.5
flake8==3.0.4
ipdb==0.10.1
ipython==5.1.0
pyodbc==3.0.10
pytest==3.0.3
pytest-cov==2.4.0
pytest-sugar==0.7.1
sphinx==1.4.8
sphinxcontrib-asyncio==0.2.0
uvloop==0.5.4
<|file_sep|>current/requirements-dev.txt
coverage==4.2
docker-py==1.10.5
flake8=... | 95bd50b11136d4d27575e244feb41e762b012084 | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/db/data_migration/20190222130820_reslug_documents.rb
<|file_sep|>current/db/data_migration/20190222130820_reslug_documents.rb
<|file_sep|>updated/db/data_migration/20190222130820_reslug_documents.rb | puts "Reslugging documents..."
documents = [
{
slug: "letter-to-providers-on-health-and-safety",
new_slug: "letters-from-the-regulator-of-social-housing-grenfell",
},
{
slug: "decision-instrument-16-revision-to-the-value-for-money-standard-and-introduction-of-an-associated-code-of-practice",
new_... | <|file_sep|>original/db/data_migration/20190222130820_reslug_documents.rb
<|file_sep|>current/db/data_migration/20190222130820_reslug_documents.rb
<|file_sep|>updated/db/data_migration/20190222130820_reslug_documents.rb
puts "Reslugging documents..."
documents = [
{
slug: "letter-to-providers-on-health-and-saf... | 3a9257bf77cd08e6e8208bc84a8d4692a0c3132f | db/data_migration/20190222130820_reslug_documents.rb | db/data_migration/20190222130820_reslug_documents.rb | Ruby |
<|file_sep|>original/.github/workflows/main.yml
<|file_sep|>current/.github/workflows/main.yml
<|file_sep|>updated/.github/workflows/main.yml | name: Deploy Zou to staging environment
on:
push:
branches:
- master
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Update Zou on staging server
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
... | <|file_sep|>original/.github/workflows/main.yml
<|file_sep|>current/.github/workflows/main.yml
<|file_sep|>updated/.github/workflows/main.yml
name: Deploy Zou to staging environment
on:
push:
branches:
- master
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Update Zou o... | 1f10bb58e169c5471fbd3d7d8ab741a920cf69d1 | .github/workflows/main.yml | .github/workflows/main.yml | YAML |
<|file_sep|>original/compass-rails.gemspec
# -*- encoding: utf-8 -*-
require File.expand_path('../lib/compass-rails/version', __FILE__)
Gem::Specification.new do |gem|
gem.authors = ["Scott Davis", "Chris Eppstein"]
gem.email = ["jetviper21@gmail.com", "chris@eppsteins.net", "craig.mcnamara@gmail.com... | # -*- encoding: utf-8 -*-
require File.expand_path('../lib/compass-rails/version', __FILE__)
Gem::Specification.new do |gem|
gem.authors = ["Scott Davis", "Chris Eppstein", "Craig McNamara"]
gem.email = ["jetviper21@gmail.com", "chris@eppsteins.net", "craig.mcnamara@gmail.com"]
gem.description = ... | <|file_sep|>original/compass-rails.gemspec
# -*- encoding: utf-8 -*-
require File.expand_path('../lib/compass-rails/version', __FILE__)
Gem::Specification.new do |gem|
gem.authors = ["Scott Davis", "Chris Eppstein"]
gem.email = ["jetviper21@gmail.com", "chris@eppsteins.net", "craig.mcnamara@gmail.com... | f485413f24d7756d5e68769d04e0ebd664349c3a | compass-rails.gemspec | compass-rails.gemspec | Ruby |
<|file_sep|>original/devel/scripts/drop_action_dbs.sh
#!/usr/bin/env bash
# Drop all action-related DB collections
mongo --eval 'db.action_d_b.drop() ; db.action_type_d_b.drop() ; db.action_execution_d_b.drop() ; db.live_action_d_b.drop()' st2
<|file_sep|>current/devel/scripts/drop_action_dbs.sh
#!/usr/bin/env bash
#... | #!/usr/bin/env bash
# Drop all action-related DB collections
mongo --eval 'db.action_d_b.drop() ; db.action_type_d_b.drop() ; db.action_execution_d_b.drop() ; db.live_action_d_b.drop()' st2
# Note: The actionrunner controller must be restarted after using this script.
# (Restarting the actionrunner controller h... | <|file_sep|>original/devel/scripts/drop_action_dbs.sh
#!/usr/bin/env bash
# Drop all action-related DB collections
mongo --eval 'db.action_d_b.drop() ; db.action_type_d_b.drop() ; db.action_execution_d_b.drop() ; db.live_action_d_b.drop()' st2
<|file_sep|>current/devel/scripts/drop_action_dbs.sh
#!/usr/bin/env bash
#... | d95c72b017da262d4303ee07b626645418825723 | devel/scripts/drop_action_dbs.sh | devel/scripts/drop_action_dbs.sh | Shell |
<|file_sep|>original/.travis.yml
language: python
python:
- '2.7'
- '3.3'
- '3.4'
- '3.5'
- '3.6'
install:
- pip install .
script:
- python testdocs.py
<|file_sep|>current/.travis.yml
language: python
python:
- '2.7'
- '3.3'
- '3.4'
- '3.5'
- '3.6'
install:
- pip install .
script:
- py... | language: python
python:
- '2.7'
- '3.3'
- '3.4'
- '3.5'
- '3.6'
install:
- pip install pyproj
script:
- python testdocs.py | <|file_sep|>original/.travis.yml
language: python
python:
- '2.7'
- '3.3'
- '3.4'
- '3.5'
- '3.6'
install:
- pip install .
script:
- python testdocs.py
<|file_sep|>current/.travis.yml
language: python
python:
- '2.7'
- '3.3'
- '3.4'
- '3.5'
- '3.6'
install:
- pip install .
script:
- py... | c378cb6a6a557714a4ca4cf0ab1279e92ceeefee | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/jacquard/service/commands.py
"""
Run a debug server.
**This is for debug, local use only, not production.**
This command is named to mirror its equivalent in Django. It configures
the WSGI app and serves it through Werkzeug's simple serving mechanism,
with a debugger attac... | """
Run a debug server.
**This is for debug, local use only, not production.**
This command is named to mirror its equivalent in Django. It configures
the WSGI app and serves it through Werkzeug's simple serving mechanism,
with a debugger attached, and auto-reloading.
"""
plumbing = T... | <|file_sep|>original/jacquard/service/commands.py
"""
Run a debug server.
**This is for debug, local use only, not production.**
This command is named to mirror its equivalent in Django. It configures
the WSGI app and serves it through Werkzeug's simple serving mechanism,
with a debugger attac... | 73154aa2498b6826612fae3b287c528e3406bec4 | jacquard/service/commands.py | jacquard/service/commands.py | Python |
<|file_sep|>run_dir/design/error_page.html.diff
original:
{% extends "base.html" %}
updated:
{% extends "base_b5.html" %}
<|file_sep|>original/run_dir/design/error_page.html
Description: Defaut response page for an error - usually 404 (page not found) or 500 (internal server error)
NOTE: Returns JSON if an API call, th... | Description: Defaut response page for an error - usually 404 (page not found) or 500 (internal server error)
NOTE: Returns JSON if an API call, this template if not.
-->
{% block stuff %}
<h1 id="page_title">Error {{ status }}: {{ reason }}</h1>
<div class="alert alert-danger" role="alert">
<h4>Oops, something wen... | <|file_sep|>run_dir/design/error_page.html.diff
original:
{% extends "base.html" %}
updated:
{% extends "base_b5.html" %}
<|file_sep|>original/run_dir/design/error_page.html
Description: Defaut response page for an error - usually 404 (page not found) or 500 (internal server error)
NOTE: Returns JSON if an API call, th... | dbc5268d78c2a9a7938652170469ba2dacd5f668 | run_dir/design/error_page.html | run_dir/design/error_page.html | HTML |
<|file_sep|>original/lib/document_generator.rb
File.open("spec/contract/#{spec_file_name}", "w+") do |file|
file.puts <<-EOF
require 'spec_helper'
describe '#{@raml.title}' do
include Rack::Test::Methods
end
EOF
end
end
def generate_spec_helper!
unless File.exist?("spec/spec_helper... | spec_file_name = file.match(/[^\/]*\.raml$/).to_s.gsub(/\.raml$/, '_spec.rb')
File.open("spec/contract/#{spec_file_name}", "w+") do |file|
file.puts <<-EOF
require 'spec_helper'
describe '#{@raml.title}' do
include Rack::Test::Methods
end
EOF
end
end
def generate_spec_helper!
... | <|file_sep|>original/lib/document_generator.rb
File.open("spec/contract/#{spec_file_name}", "w+") do |file|
file.puts <<-EOF
require 'spec_helper'
describe '#{@raml.title}' do
include Rack::Test::Methods
end
EOF
end
end
def generate_spec_helper!
unless File.exist?("spec/spec_helper... | 0afe03fc26702cf1cbbd40f4240d8b8874d368b3 | lib/document_generator.rb | lib/document_generator.rb | Ruby |
<|file_sep|>original/app/templates/views/email-branding/select-branding.html
{% extends "views/platform-admin/_base_template.html" %}
{% from "components/radios.html" import radios %}
{% from "components/page-footer.html" import page_footer %}
{% from "components/live-search.html" import live_search %}
{% block servic... | {% extends "views/platform-admin/_base_template.html" %}
{% from "components/radios.html" import radios %}
{% from "components/page-footer.html" import page_footer %}
{% from "components/live-search.html" import live_search %}
{% block per_page_title %}
Email branding
{% endblock %}
{% block platform_admin_content ... | <|file_sep|>original/app/templates/views/email-branding/select-branding.html
{% extends "views/platform-admin/_base_template.html" %}
{% from "components/radios.html" import radios %}
{% from "components/page-footer.html" import page_footer %}
{% from "components/live-search.html" import live_search %}
{% block servic... | fde444a37aa6978b66f4d78bb1d2b6ff0e7a69b1 | app/templates/views/email-branding/select-branding.html | app/templates/views/email-branding/select-branding.html | HTML |
<|file_sep|>package.json.diff
original:
updated:
"express-dom": "^5.6.0",
<|file_sep|>original/package.json
"webcomponent",
"prerender"
],
"author": "Jérémy Lal <kapouer@melix.org>",
"license": "MIT",
"dependencies": {
"query-string": "^3.0.0"
},
"bugs": {
"url": "https://github.com/kap... | ],
"author": "Jérémy Lal <kapouer@melix.org>",
"license": "MIT",
"dependencies": {
"query-string": "^3.0.0"
},
"bugs": {
"url": "https://github.com/kapouer/window-page/issues"
},
"devDependencies": {
"browserify-lite": "^0.5.0",
"expect.js": "^0.3.1",
"express": "^4.14.0",
"expre... | <|file_sep|>package.json.diff
original:
updated:
"express-dom": "^5.6.0",
<|file_sep|>original/package.json
"webcomponent",
"prerender"
],
"author": "Jérémy Lal <kapouer@melix.org>",
"license": "MIT",
"dependencies": {
"query-string": "^3.0.0"
},
"bugs": {
"url": "https://github.com/kap... | 3359b7bd14e566cfd4fa8f69f3f8c534fb37ac12 | package.json | package.json | JSON |
<|file_sep|>wafer/sponsors/templates/wafer.sponsors/sponsors_footer.html.diff
original:
{% spaceless %}
{% for package in packages %}
{% if package.sponsors.exists %}
{% for sponsor in package.sponsors.all %}
{% sponsor_tagged_image sponsor "footer_logo" as logo_url %}
updated:
{% for pa... | {% for package in packages %}
{% if package.sponsors.exists %}
{% for sponsor in package.sponsors.all %}
{% sponsor_tagged_image sponsor "footer_logo" as logo_url %}
{% spaceless %}
<a href="{{ sponsor.url }}">
{% if logo_url != '' %}
<img src="{{ logo_u... | <|file_sep|>wafer/sponsors/templates/wafer.sponsors/sponsors_footer.html.diff
original:
{% spaceless %}
{% for package in packages %}
{% if package.sponsors.exists %}
{% for sponsor in package.sponsors.all %}
{% sponsor_tagged_image sponsor "footer_logo" as logo_url %}
updated:
{% for pa... | 274e334d158c2912ee020140b49990f082a19450 | wafer/sponsors/templates/wafer.sponsors/sponsors_footer.html | wafer/sponsors/templates/wafer.sponsors/sponsors_footer.html | HTML |
<|file_sep|>original/.github/workflows/publish-to-test-pypi.yml
runs-on: ubuntu-latest
strategy:
max-parallel: 5
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Make sdist
run: |
... | strategy:
max-parallel: 5
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Make sdist
run: |
./get_nanoversion.sh
cat __nanoversion__.txt
pip install numpy
pyt... | <|file_sep|>original/.github/workflows/publish-to-test-pypi.yml
runs-on: ubuntu-latest
strategy:
max-parallel: 5
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Make sdist
run: |
... | 362ee3279b2dfb0161f225a00684a4fe7509f899 | .github/workflows/publish-to-test-pypi.yml | .github/workflows/publish-to-test-pypi.yml | YAML |
<|file_sep|>project.clj.diff
original:
:dependencies [^:source-dep [com.cemerick/pomegranate "0.4.0"]
^:source-dep [org.clojure/tools.namespace "0.3.0-alpha3"]
^:source-dep [me.raynes/fs "1.4.6"]
^:source-dep [rewrite-clj "0.6.1"]
^:source-dep [paral... | (defproject thomasa/mranderson "0.5.2-SNAPSHOT"
:description "Dependency inlining and shadowing tool."
:url "https://github.com/benedekfazekas/mranderson"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:eval-in :leiningen
:plugins [[thomasa/mranderson "0... | <|file_sep|>project.clj.diff
original:
:dependencies [^:source-dep [com.cemerick/pomegranate "0.4.0"]
^:source-dep [org.clojure/tools.namespace "0.3.0-alpha3"]
^:source-dep [me.raynes/fs "1.4.6"]
^:source-dep [rewrite-clj "0.6.1"]
^:source-dep [paral... | 303c93ee03ced9af5871e40fd16649012cc32f5c | project.clj | project.clj | Clojure |
<|file_sep|>original/requirements.txt
Flask>=0.11.1
Flask-Cache==0.13.1
requests==2.20.0
beautifulsoup4>=4.5.1
flake8==3.7.4
pytest==3.9.3
retry==0.9.2
selenium==3.14.1
notifications-python-client==5.2.0
<|file_sep|>current/requirements.txt
Flask>=0.11.1
Flask-Cache==0.13.1
requests==2.20.0
beautifulsoup4>=4.5.1
flake8... | Flask>=0.11.1
Flask-Cache==0.13.1
requests==2.20.0
beautifulsoup4>=4.5.1
flake8==3.7.5
pytest==3.9.3
retry==0.9.2
selenium==3.14.1
notifications-python-client==5.2.0 | <|file_sep|>original/requirements.txt
Flask>=0.11.1
Flask-Cache==0.13.1
requests==2.20.0
beautifulsoup4>=4.5.1
flake8==3.7.4
pytest==3.9.3
retry==0.9.2
selenium==3.14.1
notifications-python-client==5.2.0
<|file_sep|>current/requirements.txt
Flask>=0.11.1
Flask-Cache==0.13.1
requests==2.20.0
beautifulsoup4>=4.5.1
flake8... | b34718da32754bc7546a56b0ba7027596bcd6ddd | requirements.txt | requirements.txt | Text |
<|file_sep|>original/app/assets/stylesheets/_bourbon.css.scss
// Custom Functions
@import "functions/golden-ratio";
@import "functions/tint-shade";
@import "functions/linear-gradient";
// CSS3 Mixins
@import "css3/animation";
@import "css3/background-image";
@import "css3/border-radius";
@import "css3/box-shadow";
@im... | // Custom Functions
@import "functions/grid-width";
@import "functions/golden-ratio";
@import "functions/tint-shade";
@import "functions/linear-gradient";
// CSS3 Mixins
@import "css3/animation";
@import "css3/background-image";
@import "css3/border-radius";
@import "css3/box-shadow";
@import "css3/box-sizing";
@impor... | <|file_sep|>original/app/assets/stylesheets/_bourbon.css.scss
// Custom Functions
@import "functions/golden-ratio";
@import "functions/tint-shade";
@import "functions/linear-gradient";
// CSS3 Mixins
@import "css3/animation";
@import "css3/background-image";
@import "css3/border-radius";
@import "css3/box-shadow";
@im... | 599825ec52c100cebfa3c3ac31eda9169d41fc93 | app/assets/stylesheets/_bourbon.css.scss | app/assets/stylesheets/_bourbon.css.scss | SCSS |
<|file_sep|>lib/getOptions.js.diff
original:
updated:
additionalProperties: false,
<|file_sep|>original/lib/getOptions.js
var getOptions = require("loader-utils").getOptions;
var validateOptions = require("schema-utils");
var schema = {
type: "object",
properties: {
twigOptions: {
type... | var getOptions = require("loader-utils").getOptions;
var validateOptions = require("schema-utils");
var schema = {
type: "object",
properties: {
twigOptions: {
type: "object",
},
},
additionalProperties: false,
};
module.exports = function (loader) {
var options = getOp... | <|file_sep|>lib/getOptions.js.diff
original:
updated:
additionalProperties: false,
<|file_sep|>original/lib/getOptions.js
var getOptions = require("loader-utils").getOptions;
var validateOptions = require("schema-utils");
var schema = {
type: "object",
properties: {
twigOptions: {
type... | 0202fa8882af0caea3547a8f9c5bd9baf74c1840 | lib/getOptions.js | lib/getOptions.js | JavaScript |
<|file_sep|>d_parser/helpers/re_set.py.diff
original:
updated:
extract_float = None
<|file_sep|>d_parser/helpers/re_set.py.diff
original:
updated:
Ree._extract_float_compile()
<|file_sep|>d_parser/helpers/re_set.py.diff
original:
def _is_float(price_sep=',.'):
Ree.float = re.compile('(?P<price... | Ree._extract_float_compile()
@staticmethod
def _is_page_number(page_param):
Ree.page_number = re.compile('(?P<param>{})=(?P<page>\d+)'.format(page_param))
@staticmethod
def _is_float(sep=',.'):
Ree.float = re.compile('(?P<float>-?\d+([{}]\d+)?)'.format(sep))
@staticmethod
... | <|file_sep|>d_parser/helpers/re_set.py.diff
original:
updated:
extract_float = None
<|file_sep|>d_parser/helpers/re_set.py.diff
original:
updated:
Ree._extract_float_compile()
<|file_sep|>d_parser/helpers/re_set.py.diff
original:
def _is_float(price_sep=',.'):
Ree.float = re.compile('(?P<price... | 44e21fa7504a4650eb2db0036a66ecf7b0ab5e5d | d_parser/helpers/re_set.py | d_parser/helpers/re_set.py | Python |
<|file_sep|>original/lib/control/v1/index.js
'use strict';
const Handlers = require('../util').Handlers;
const Err = require('../util').Err;
const VerifyHeaders = require('../util').VerifyHeaders;
exports.attach = function(app, storage) {
app.get('/v1/health', require('./health')(storage));
app.get('/v1/token/def... | 'use strict';
const Handlers = require('../util').Handlers;
const Err = require('../util').Err;
const VerifyHeaders = require('../util').VerifyHeaders;
exports.attach = function(app, storage) {
app.use(VerifyHeaders(['POST', 'PUT'], {
'Content-Type': 'application/json; charset=utf-8'
}));
app.get('/v1/heal... | <|file_sep|>original/lib/control/v1/index.js
'use strict';
const Handlers = require('../util').Handlers;
const Err = require('../util').Err;
const VerifyHeaders = require('../util').VerifyHeaders;
exports.attach = function(app, storage) {
app.get('/v1/health', require('./health')(storage));
app.get('/v1/token/def... | a98236c5e7f09068bd7dff8744ca11bc6b7ef2e2 | lib/control/v1/index.js | lib/control/v1/index.js | JavaScript |
<|file_sep|>original/specs/unit/core/math/utils.specs.cpp
<|file_sep|>current/specs/unit/core/math/utils.specs.cpp
<|file_sep|>updated/specs/unit/core/math/utils.specs.cpp | // Copyright (c) 2017 Pierre Fourgeaud
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include <bandit/bandit.h>
#include "core/math/utils.h"
using namespace bandit;
using namespace snowhouse;
using namespace CodeHero;
go_bandit([]() {
describe("::Clamp", []()... | <|file_sep|>original/specs/unit/core/math/utils.specs.cpp
<|file_sep|>current/specs/unit/core/math/utils.specs.cpp
<|file_sep|>updated/specs/unit/core/math/utils.specs.cpp
// Copyright (c) 2017 Pierre Fourgeaud
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#inclu... | f96c27f503073b474faf0648321cf54a99aa92ea | specs/unit/core/math/utils.specs.cpp | specs/unit/core/math/utils.specs.cpp | C++ |
<|file_sep|>numba/cuda/device_init.py.diff
original:
return driver.driver.is_available and nvvm.is_available()
updated:
# whilst `driver.is_available` will init the driver itself,
# the driver initialization may raise and as a result break
# test discovery/orchestration as `cuda.is_available` is often
... | This will initialize the driver if it hasn't been initialized.
"""
# whilst `driver.is_available` will init the driver itself,
# the driver initialization may raise and as a result break
# test discovery/orchestration as `cuda.is_available` is often
# used as a guard for whether to run a CUDA te... | <|file_sep|>numba/cuda/device_init.py.diff
original:
return driver.driver.is_available and nvvm.is_available()
updated:
# whilst `driver.is_available` will init the driver itself,
# the driver initialization may raise and as a result break
# test discovery/orchestration as `cuda.is_available` is often
... | fa5bb37159d09c5bff53b83a4821e3f154892d1d | numba/cuda/device_init.py | numba/cuda/device_init.py | Python |
<|file_sep|>src/service-module/state.js.diff
original:
const { idField, autoRemove, paginate, enableEvents, preferUpdate } = options
updated:
const { idField, autoRemove, paginate, enableEvents, preferUpdate, replaceItems } = options
<|file_sep|>original/src/service-module/state.js
ids: [],
keyedById: {},
... | ids: [],
keyedById: {},
copiesById: {},
currentId: null,
copy: null,
idField,
servicePath,
autoRemove,
enableEvents,
preferUpdate,
replaceItems,
isFindPending: false,
isGetPending: false,
isCreatePending: false,
isUpdatePending: false,
isPatchPending: fal... | <|file_sep|>src/service-module/state.js.diff
original:
const { idField, autoRemove, paginate, enableEvents, preferUpdate } = options
updated:
const { idField, autoRemove, paginate, enableEvents, preferUpdate, replaceItems } = options
<|file_sep|>original/src/service-module/state.js
ids: [],
keyedById: {},
... | 69bf30e511893edb7559f4d959db9c718957a70f | src/service-module/state.js | src/service-module/state.js | JavaScript |
<|file_sep|>addon/templates/components/table-columns.hbs.diff
original:
{{#each (get rowGroup rowGroupDataName) as |childRow|}}
<tr class="table-row {{if rowGroup.isCollapsed 'is-collapsed'}}">
{{yield childRow}}
</tr>
updated:
{{#if (get rowGroup rowGroupDataName)}}
... | {{#if (get rowGroup rowGroupDataName)}}
{{#each (get rowGroup rowGroupDataName) as |childRow|}}
<tr class="table-row {{if rowGroup.isCollapsed 'is-collapsed'}}">
{{yield childRow}}
</tr>
{{/each}}
{{else}}
<tr class="is-collapsed">
... | <|file_sep|>addon/templates/components/table-columns.hbs.diff
original:
{{#each (get rowGroup rowGroupDataName) as |childRow|}}
<tr class="table-row {{if rowGroup.isCollapsed 'is-collapsed'}}">
{{yield childRow}}
</tr>
updated:
{{#if (get rowGroup rowGroupDataName)}}
... | 9a8e21441b848ba2a507f5308596e78708c6675a | addon/templates/components/table-columns.hbs | addon/templates/components/table-columns.hbs | Handlebars |
<|file_sep|>original/resources/tev.desktop
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=tev
Comment=High dynamic range (HDR) image comparison tool for graphics people. Supports primarily OpenEXR files.
Exec=tev
Icon=tev.png
Terminal=false
<|file_sep|>current/resources/tev.desktop
[Desktop Entry]
Type=Applicatio... | [Desktop Entry]
Type=Application
Encoding=UTF-8
Name=tev
Comment=High dynamic range (HDR) image comparison tool for graphics people. Supports primarily OpenEXR files.
Exec=tev
Icon=tev.png
Terminal=false
MimeType=image/*; | <|file_sep|>original/resources/tev.desktop
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=tev
Comment=High dynamic range (HDR) image comparison tool for graphics people. Supports primarily OpenEXR files.
Exec=tev
Icon=tev.png
Terminal=false
<|file_sep|>current/resources/tev.desktop
[Desktop Entry]
Type=Applicatio... | 10b38ef62b87be022dda65ec03cc6fd60a12cac7 | resources/tev.desktop | resources/tev.desktop | desktop |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- jruby-19mode
- rbx-19mode
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- jruby-19mode
- rbx-19mode
<|file_sep|>updated/.travis.yml | language: ruby
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- jruby-19mode
- rbx-19mode
matrix:
allow_failures:
- rvm: 2.0.0 | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- jruby-19mode
- rbx-19mode
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- jruby-19mode
- rbx-19mode
<|file_sep|>updated/.travis.yml
language: ruby
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- jruby... | 5885a68def3a40a3b85bc576a7a2d299ff3af716 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/schedule.js
'use strict';
var sync = require('./lib/sync.js');
var cron = require('cron');
var cronJob = cron.job("0 */5 * * * *", function(){
console.log("START!");
sync.synchronizeCrmToUmas();
console.info('cron job completed');
});
cronJob.start();
<|file_sep|>current/schedule.js
'use s... | 'use strict';
var sync = require('./lib/sync.js');
var cron = require('cron');
var cronJob = cron.job("0 0 */2 * * *", function(){
console.log("START!");
sync.synchronizeCrmToUmas();
console.info('cron job completed');
});
cronJob.start(); | <|file_sep|>original/schedule.js
'use strict';
var sync = require('./lib/sync.js');
var cron = require('cron');
var cronJob = cron.job("0 */5 * * * *", function(){
console.log("START!");
sync.synchronizeCrmToUmas();
console.info('cron job completed');
});
cronJob.start();
<|file_sep|>current/schedule.js
'use s... | 68adac3a9ce3bbdbf5e7c644751a1ccc05e35d29 | schedule.js | schedule.js | JavaScript |
<|file_sep|>src/components/status.jsx.diff
original:
let msgs = _(this.props.commandLog).map((msg) => {
updated:
let msgs = _(this.props.commandLog).map((msg, idx) => {
<|file_sep|>original/src/components/status.jsx
/*eslint no-extra-parens:0*/
class Status extends React.Component {
static displayName = 'Stat... | /*eslint no-extra-parens:0*/
class Status extends React.Component {
static displayName = 'Status';
static propTypes = {
commandLog: React.PropTypes.array,
sculpture: React.PropTypes.object.isRequired
};
render() {
let msgs = _(this.props.commandLog).map((msg, idx) => {
return (
<p key=... | <|file_sep|>src/components/status.jsx.diff
original:
let msgs = _(this.props.commandLog).map((msg) => {
updated:
let msgs = _(this.props.commandLog).map((msg, idx) => {
<|file_sep|>original/src/components/status.jsx
/*eslint no-extra-parens:0*/
class Status extends React.Component {
static displayName = 'Stat... | 0b3360caa13b8afa760e594db79ee65e622e44a4 | src/components/status.jsx | src/components/status.jsx | JSX |
<|file_sep|>original/src/resources/fresh-site/src/documentation/translations/menu_es.xml
<?xml version="1.0" encoding="UTF-8"?>
<catalogue xml:lang="es" >
<message key="About">Acerca de</message >
<message key="Index">Indice</message >
<message key="Changes">Cambios</message>
<message key="Todo" >Cosas que hace... | <?xml version="1.0" encoding="UTF-8"?>
<catalogue xml:lang="es" >
<message key="About">Acerca de</message >
<message key="Index">Indice</message >
<message key="Changes">Cambios</message>
<message key="Todo">Tareas pendientes</message>
<message key="Samples">Ejemplos</message>
<message key="Apache document ... | <|file_sep|>original/src/resources/fresh-site/src/documentation/translations/menu_es.xml
<?xml version="1.0" encoding="UTF-8"?>
<catalogue xml:lang="es" >
<message key="About">Acerca de</message >
<message key="Index">Indice</message >
<message key="Changes">Cambios</message>
<message key="Todo" >Cosas que hace... | a79bad8a57ecc6ad09766daddf3011b73a3db3d2 | src/resources/fresh-site/src/documentation/translations/menu_es.xml | src/resources/fresh-site/src/documentation/translations/menu_es.xml | XML |
<|file_sep|>original/packages/ne/network-types-icmp.yaml
<|file_sep|>current/packages/ne/network-types-icmp.yaml
<|file_sep|>updated/packages/ne/network-types-icmp.yaml | homepage: https://github.com/adamflott/network-types-icmp#readme
changelog-type: markdown
hash: 9e0e5a2330360154222513d876311e541e5b8796cf403639162db89dade965cd
test-bench-deps:
network-types-icmp: -any
base: '>=4.7 && <5'
maintainer: adam@adamflott.com
synopsis: Types for representing ICMP and ICMPv6 messages.
cha... | <|file_sep|>original/packages/ne/network-types-icmp.yaml
<|file_sep|>current/packages/ne/network-types-icmp.yaml
<|file_sep|>updated/packages/ne/network-types-icmp.yaml
homepage: https://github.com/adamflott/network-types-icmp#readme
changelog-type: markdown
hash: 9e0e5a2330360154222513d876311e541e5b8796cf403639162db... | 5f9418d296db18cded7004585f896ccc080c4ac7 | packages/ne/network-types-icmp.yaml | packages/ne/network-types-icmp.yaml | YAML |
<|file_sep|>original/miura/morph.py
class MeCabParser(object):
def __init__(self, arg=''):
self.model = MeCab.Model_create(arg)
def parse(self, s):
tagger = self.model.createTagger()
lattice = self.model.createLattice()
lattice.set_sentence(s)
tagger.parse(lattic... | class MeCabParser(object):
def __init__(self, arg=''):
self.model = MeCab.Model_create(arg)
def parse(self, s):
tagger = self.model.createTagger()
lattice = self.model.createLattice()
lattice.set_sentence(s)
tagger.parse(lattice)
node = lattice.bos_node()... | <|file_sep|>original/miura/morph.py
class MeCabParser(object):
def __init__(self, arg=''):
self.model = MeCab.Model_create(arg)
def parse(self, s):
tagger = self.model.createTagger()
lattice = self.model.createLattice()
lattice.set_sentence(s)
tagger.parse(lattic... | b682addf7d65dbb48ad5c0a3506987103ea43835 | miura/morph.py | miura/morph.py | Python |
<|file_sep|>original/test/users.js
const test = require('tape')
const miniplug = require('./mocks/mp')
const nock = require('nock')('https://plug.dj')
test('Retrieving a user', async (t) => {
t.plan(1)
nock.get('/_/users/123456').reply(200, require('./mocks/users/123456.json'))
const user = await miniplug().ge... | })
test('Get the current user', async (t) => {
t.plan(1)
nock.get('/_/users/me').reply(200, require('./mocks/users/me.json'))
const user = await miniplug().getMe()
t.equal(user.username, 'ReAnna')
})
test('Get a user who is currently in the room', async (t) => {
t.plan(3)
nock.post('/_/rooms/join').rep... | <|file_sep|>original/test/users.js
const test = require('tape')
const miniplug = require('./mocks/mp')
const nock = require('nock')('https://plug.dj')
test('Retrieving a user', async (t) => {
t.plan(1)
nock.get('/_/users/123456').reply(200, require('./mocks/users/123456.json'))
const user = await miniplug().ge... | 8e2ef3532f1101ae7bcb26b8712ca7a9323ab831 | test/users.js | test/users.js | JavaScript |
<|file_sep|>original/lib/spectrum/config/highly_recommended.rb
config ||= {}
@field = config['field']
end
def map(value)
"isfield-order-#{value.downcase.gsub(/[^a-z&']/, '_').gsub(/_+/, '_').sub(/_+$/, '')} asc"
end
def get_sorts(sort, facets)
return sort.value ... | config ||= {}
@field = config['field']
end
def map(value)
"isfield-order-#{value.downcase.gsub(/[^a-z&']/, '_').gsub(/_+/, '_').sub(/_+$/, '')} asc"
end
def get_sorts(sort, facets)
return sort.value unless field
# If we need to limit to particular sorts,... | <|file_sep|>original/lib/spectrum/config/highly_recommended.rb
config ||= {}
@field = config['field']
end
def map(value)
"isfield-order-#{value.downcase.gsub(/[^a-z&']/, '_').gsub(/_+/, '_').sub(/_+$/, '')} asc"
end
def get_sorts(sort, facets)
return sort.value ... | 73e5e985326e3e289950b3ed7aeff994ee9bd641 | lib/spectrum/config/highly_recommended.rb | lib/spectrum/config/highly_recommended.rb | Ruby |
<|file_sep|>original/.travis.yml
env:
global:
- TERM=dumb
- GRADLE_OPTS="-Xmx768m -Xms256m -XX:MaxPermSize=372m -XX:+CMSClassUnloadingEnabled"
jdk:
- oraclejdk8
- openjdk11
#- openjdk7
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache... | env:
global:
- TERM=dumb
- GRADLE_OPTS="-Xmx768m -Xms256m -XX:MaxPermSize=372m -XX:+CMSClassUnloadingEnabled"
jdk:
- oraclejdk8
- openjdk11
#- openjdk7
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gra... | <|file_sep|>original/.travis.yml
env:
global:
- TERM=dumb
- GRADLE_OPTS="-Xmx768m -Xms256m -XX:MaxPermSize=372m -XX:+CMSClassUnloadingEnabled"
jdk:
- oraclejdk8
- openjdk11
#- openjdk7
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache... | ad3452303bc3fcdc016f43439bbc5c0190cb454f | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/CMakeLists.txt
# FORESTDB_INCLUDE_DIR - should point to where libforestdb/forestdb.h exists
#
# FORESTDB_LIBRARY_DIR - should point to where libforestdb.so resides
#
INCLUDE (FindCouchbaseGo)
IF (TARGET forestdb)
LIST (APPEND _deps forestdb)
ENDIF ()
IF (NOT "${_deps}" STREQUAL "")
SET (_deps... | # FORESTDB_INCLUDE_DIR - should point to where libforestdb/forestdb.h exists
#
# FORESTDB_LIBRARY_DIR - should point to where libforestdb.so resides
#
INCLUDE (FindCouchbaseGo)
IF (TARGET forestdb)
LIST (APPEND _deps forestdb)
ENDIF ()
IF (NOT "${_deps}" STREQUAL "")
SET (_deps DEPENDS ${_deps})
ENDIF ()
GoInsta... | <|file_sep|>original/CMakeLists.txt
# FORESTDB_INCLUDE_DIR - should point to where libforestdb/forestdb.h exists
#
# FORESTDB_LIBRARY_DIR - should point to where libforestdb.so resides
#
INCLUDE (FindCouchbaseGo)
IF (TARGET forestdb)
LIST (APPEND _deps forestdb)
ENDIF ()
IF (NOT "${_deps}" STREQUAL "")
SET (_deps... | df22eb995051c99d2417db1f424d0c08994e828f | CMakeLists.txt | CMakeLists.txt | Text |
<|file_sep|>docker-compose.yml.diff
original:
image: harbur/rabbitmq-cluster
updated:
image: thanhphu/rabbitmq-cluster
<|file_sep|>docker-compose.yml.diff
original:
updated:
container_name: rabbit-1
<|file_sep|>docker-compose.yml.diff
original:
- ERLANG_COOKIE=abcdefg
updated:
- ERLANG_COOKIE=topsecret
<... | hostname: rabbit3
container_name: rabbit-3
links:
- rabbit1
- rabbit2
environment:
- ERLANG_COOKIE=topsecret
- CLUSTER_WITH=rabbit1
ports:
- "5674:5672"
mongo:
image: mongo
hostname: mongo1
container-name: mongo-1
ports:
- "27017:27017"
broker:
image: thanhphu/mqtt-broker
h... | <|file_sep|>docker-compose.yml.diff
original:
image: harbur/rabbitmq-cluster
updated:
image: thanhphu/rabbitmq-cluster
<|file_sep|>docker-compose.yml.diff
original:
updated:
container_name: rabbit-1
<|file_sep|>docker-compose.yml.diff
original:
- ERLANG_COOKIE=abcdefg
updated:
- ERLANG_COOKIE=topsecret
<... | 218a3ab47e5d6f281b72b1b196256b9e7d105c9f | docker-compose.yml | docker-compose.yml | YAML |
<|file_sep|>containers/run-coder.sh.diff
original:
if [ "$(docker ps -q -f name=coder)" ]; then
read -p "alread running container coder, stop this (yes|no): " yesno
updated:
NAME=run-coder
if [ "$(docker ps -q -f name=$NAME)" ]; then
read -p "alread running container $NAME, stop this (yes|no): " yesno
<|file_sep... | else
runpath=$(pwd)
fi
echo "running $NAME on path $runpath"
docker run \
--rm \
--interactive \
--tty \
--detach \
--user "$(id -u):$(id -g)" \
--name "$NAME" \
--hostname "$NAME" \
--publish 8080:8080 \
--env PASSWORD=filipe \
--volume "/etc/passwd:/etc/passwd:ro" \
--volume "/home/filipe:/h... | <|file_sep|>containers/run-coder.sh.diff
original:
if [ "$(docker ps -q -f name=coder)" ]; then
read -p "alread running container coder, stop this (yes|no): " yesno
updated:
NAME=run-coder
if [ "$(docker ps -q -f name=$NAME)" ]; then
read -p "alread running container $NAME, stop this (yes|no): " yesno
<|file_sep... | 0c1800a13e751077874017d52b019517ed0ce71d | containers/run-coder.sh | containers/run-coder.sh | Shell |
<|file_sep|>original/requirements/production.txt
# Pro-tip: Try not to put anything here. There should be no dependency in
# production that isn't in development.
Django==1.8.8 # rq.filter: >=1.8,<1.9
-r base.txt
# WSGI Handler
# ------------------------------------------------
gevent==1.1.1
gunicorn==19.5.0
raven==5.... | # Pro-tip: Try not to put anything here. There should be no dependency in
# production that isn't in development.
Django==1.8.13 # rq.filter: >=1.8,<1.9
-r base.txt
# WSGI Handler
# ------------------------------------------------
gevent==1.1.1
gunicorn==19.5.0
raven==5.16.0 | <|file_sep|>original/requirements/production.txt
# Pro-tip: Try not to put anything here. There should be no dependency in
# production that isn't in development.
Django==1.8.8 # rq.filter: >=1.8,<1.9
-r base.txt
# WSGI Handler
# ------------------------------------------------
gevent==1.1.1
gunicorn==19.5.0
raven==5.... | dad8bfb22df709801e42e99c4443ca925cef356a | requirements/production.txt | requirements/production.txt | Text |
<|file_sep|>.travis.yml.diff
original:
- '2.4.1'
- '2.3.4'
- '2.2.7'
updated:
- 2.4.2
- 2.3.5
- 2.2.7
<|file_sep|>original/.travis.yml
sudo: false
dist: trusty
cache: bundler
language: ruby
bundler_args: "--without development"
rvm:
- '2.4.1'
- '2.3.4'
- '2.2.7'
gemfile:
- gemfiles/Gemfile.rails-master
- gemfiles/Gemfi... | sudo: false
dist: trusty
cache: bundler
language: ruby
bundler_args: "--without development"
rvm:
- 2.4.2
- 2.3.5
- 2.2.7
gemfile:
- gemfiles/Gemfile.rails-master
- gemfiles/Gemfile.rails-5-1
- gemfiles/Gemfile.rails-5-0
- gemfiles/Gemfile.rails-4-2
before_install:
- gem update --system
- gem install bundler | <|file_sep|>.travis.yml.diff
original:
- '2.4.1'
- '2.3.4'
- '2.2.7'
updated:
- 2.4.2
- 2.3.5
- 2.2.7
<|file_sep|>original/.travis.yml
sudo: false
dist: trusty
cache: bundler
language: ruby
bundler_args: "--without development"
rvm:
- '2.4.1'
- '2.3.4'
- '2.2.7'
gemfile:
- gemfiles/Gemfile.rails-master
- gemfiles/Gemfi... | 5dbbdabcd47ec5e268e43f51e2b6c680c66d81e2 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/doc/mkapidoc.py
'--exclude Exscript.AbstractMethod',
'--exclude Exscript.AccountManager',
'--exclude Exscript.HostAction',
'--exclude Exscript.Log',
... | '--exclude Exscript.AbstractMethod',
'--exclude Exscript.AccountManager',
'--exclude Exscript.HostAction',
'--exclude Exscript.Log',
'--exclude Exscript.Logfile... | <|file_sep|>original/doc/mkapidoc.py
'--exclude Exscript.AbstractMethod',
'--exclude Exscript.AccountManager',
'--exclude Exscript.HostAction',
'--exclude Exscript.Log',
... | d3a2e344caa34f763f7e46710db5b9ddefe73c55 | doc/mkapidoc.py | doc/mkapidoc.py | Python |
<|file_sep|>original/.vscode/settings.json
// Place your settings in this file to overwrite default and user settings.
{
"files.associations": {
"*.podspec": "ruby",
"Podfile": "ruby",
"*.h": "objective-c",
"*.js": "javascriptreact"
},
"files.trimTrailingWhitespace": true,
... | "Podfile": "ruby",
"*.h": "objective-c",
"*.js": "javascriptreact"
},
"files.trimTrailingWhitespace": true,
"editor.renderWhitespace": true,
"editor.rulers": [120],
"editor.tabSize": 2,
"search.exclude": {
"**/node_modules": true,
"externals/**": true,
... | <|file_sep|>original/.vscode/settings.json
// Place your settings in this file to overwrite default and user settings.
{
"files.associations": {
"*.podspec": "ruby",
"Podfile": "ruby",
"*.h": "objective-c",
"*.js": "javascriptreact"
},
"files.trimTrailingWhitespace": true,
... | f606ba47d36b69c043ed44f0811da303027520a1 | .vscode/settings.json | .vscode/settings.json | JSON |
<|file_sep|>original/chapter13/chapter13_ex07.pl
<|file_sep|>current/chapter13/chapter13_ex07.pl
<|file_sep|>updated/chapter13/chapter13_ex07.pl | #!C:\strawberry\perl\bin\perl.exe
# Change the previous program to allow a -s switch before other arguments to
# make a soft link instead of a hard link
use 5.020;
use warnings;
use File::Basename;
use File::Spec::Functions;
my $flag;
if ( @ARGV > 2 ) {
$flag = shift;
die "Only -s allowed as option\n" if $f... | <|file_sep|>original/chapter13/chapter13_ex07.pl
<|file_sep|>current/chapter13/chapter13_ex07.pl
<|file_sep|>updated/chapter13/chapter13_ex07.pl
#!C:\strawberry\perl\bin\perl.exe
# Change the previous program to allow a -s switch before other arguments to
# make a soft link instead of a hard link
use 5.020;
use war... | 85b1f1ed8ce1e9c815d5b155a8d541c6be2744c0 | chapter13/chapter13_ex07.pl | chapter13/chapter13_ex07.pl | Perl |
<|file_sep|>original/work/templates/work/work_list.html
{% for work in object_list %}
<li class="work-item">
<a
class="work-title"
href="{% url "work_detail" work.slug %}">
{{ work.title }}
</a>
{% if work.thumbnail %}
<img class="work-thum... | {% extends "base.html" %}
{% block title %}Work ({{ object_list|length }}){% endblock %}
{% block meta_description %}My portfolio, including motion design and graphic design{% endblock %}
{% block content %}
<ul class="work-list">
{% for work in object_list %}
<li class="work-item">
<a
... | <|file_sep|>original/work/templates/work/work_list.html
{% for work in object_list %}
<li class="work-item">
<a
class="work-title"
href="{% url "work_detail" work.slug %}">
{{ work.title }}
</a>
{% if work.thumbnail %}
<img class="work-thum... | 624d7fe777adca48682bede93482cfbe0b7295eb | work/templates/work/work_list.html | work/templates/work/work_list.html | HTML |
<|file_sep|>original/requirements.txt
# data science
jupyter==1.0.0
matplotlib==2.2.2
# integration
tox==3.0.0
# code style
flake8==3.5.0
pydocstyle==2.1.1
mypy==0.600; python_version >= '3.4'
# to fix connection issues
PyOpenSSL==17.5.0; python_version <= '2.7'
# for package management (uploads)
twine==1.11.0
# ... |
# data science
jupyter==1.0.0
matplotlib==2.2.2
# integration
tox==3.0.0
# code style
flake8==3.5.0
pydocstyle==2.1.1
mypy==0.600; python_version >= '3.4'
# to fix connection issues
PyOpenSSL==18.0.0; python_version <= '2.7'
# for package management (uploads)
twine==1.11.0
# for version comparison
semver==2.8.0 | <|file_sep|>original/requirements.txt
# data science
jupyter==1.0.0
matplotlib==2.2.2
# integration
tox==3.0.0
# code style
flake8==3.5.0
pydocstyle==2.1.1
mypy==0.600; python_version >= '3.4'
# to fix connection issues
PyOpenSSL==17.5.0; python_version <= '2.7'
# for package management (uploads)
twine==1.11.0
# ... | bc28396fb5662588cf721f43498556dfb5143b6d | requirements.txt | requirements.txt | Text |
<|file_sep|>original/src/Console/Exception/MissingShellException.php
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright (c) Cake Software Foundation, Inc. (ht... | * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @since 3.0.0
* @license h... | <|file_sep|>original/src/Console/Exception/MissingShellException.php
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright (c) Cake Software Foundation, Inc. (ht... | bb153ca1074f5b7228c6526d6a90724d75221494 | src/Console/Exception/MissingShellException.php | src/Console/Exception/MissingShellException.php | PHP |
<|file_sep|>original/src/test/java/org/kuali/kra/budget/web/BudgetWebTestBase.java
<|file_sep|>current/src/test/java/org/kuali/kra/budget/web/BudgetWebTestBase.java
<|file_sep|>updated/src/test/java/org/kuali/kra/budget/web/BudgetWebTestBase.java | /*
* Copyright 2008 The Kuali Foundation.
*
* Licensed under the Educational Community License, Version 1.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.opensource.org/licenses/ecl1.php
*
* Unless required by app... | <|file_sep|>original/src/test/java/org/kuali/kra/budget/web/BudgetWebTestBase.java
<|file_sep|>current/src/test/java/org/kuali/kra/budget/web/BudgetWebTestBase.java
<|file_sep|>updated/src/test/java/org/kuali/kra/budget/web/BudgetWebTestBase.java
/*
* Copyright 2008 The Kuali Foundation.
*
* Licensed under the Ed... | 45e9af75563040ef2e83e7c7c21515a71bcbb1e8 | src/test/java/org/kuali/kra/budget/web/BudgetWebTestBase.java | src/test/java/org/kuali/kra/budget/web/BudgetWebTestBase.java | Java |
<|file_sep|>original/azure-pipelines.yml
<|file_sep|>current/azure-pipelines.yml
<|file_sep|>updated/azure-pipelines.yml | # ASP.NET Core
# Build and test ASP.NET Core web applications targeting .NET Core.
# Add steps that run tests, create a NuGet package, deploy, and more:
# https://docs.microsoft.com/vsts/pipelines/languages/dotnet-core
pool:
vmImage: 'Ubuntu 18.04'
variables:
buildConfiguration: 'Release'
steps:
- script: dotnet... | <|file_sep|>original/azure-pipelines.yml
<|file_sep|>current/azure-pipelines.yml
<|file_sep|>updated/azure-pipelines.yml
# ASP.NET Core
# Build and test ASP.NET Core web applications targeting .NET Core.
# Add steps that run tests, create a NuGet package, deploy, and more:
# https://docs.microsoft.com/vsts/pipelines/... | bb3c3449e236e54a48c22ddb476c97dff0330b3d | azure-pipelines.yml | azure-pipelines.yml | YAML |
<|file_sep|>original/.travis.yml
rvm: 1.9.3
notifications:
email:
- patrick.schoenfeld@googlemail.com
env:
- PUPPET_VERSION=2.7.11
<|file_sep|>current/.travis.yml
rvm: 1.9.3
notifications:
email:
- patrick.schoenfeld@googlemail.com
env:
- PUPPET_VERSION=2.7.11
<|file_sep|>updated/.travis.yml | rvm: 1.9.3
notifications:
email:
- patrick.schoenfeld@googlemail.com
env:
- PUPPET_VERSION=3.7.2
| <|file_sep|>original/.travis.yml
rvm: 1.9.3
notifications:
email:
- patrick.schoenfeld@googlemail.com
env:
- PUPPET_VERSION=2.7.11
<|file_sep|>current/.travis.yml
rvm: 1.9.3
notifications:
email:
- patrick.schoenfeld@googlemail.com
env:
- PUPPET_VERSION=2.7.11
<|file_sep|>updated/.travis.yml
rvm: 1.... | 859fd08281555b9a0bdaa2b860aa5fbd06ed5cbc | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/Listabierta/Bundle/MunicipalesBundle/Resources/views/Candidacy/missing_admin_id.html.twig
<|file_sep|>current/src/Listabierta/Bundle/MunicipalesBundle/Resources/views/Candidacy/missing_admin_id.html.twig
<|file_sep|>updated/src/Listabierta/Bundle/MunicipalesBundle/Resources/views/Candidacy/mi... | {% extends 'MunicipalesBundle:theme:layout.html.twig' %}
{% block title %}{{ 'candidacy.html_title'|trans }}{% endblock %}
{% block content %}
<p><div style="background-color:gold;color:black">{{ error }}</div><p>
{% endblock %} | <|file_sep|>original/src/Listabierta/Bundle/MunicipalesBundle/Resources/views/Candidacy/missing_admin_id.html.twig
<|file_sep|>current/src/Listabierta/Bundle/MunicipalesBundle/Resources/views/Candidacy/missing_admin_id.html.twig
<|file_sep|>updated/src/Listabierta/Bundle/MunicipalesBundle/Resources/views/Candidacy/mi... | 5a574ddfaafdac014b0a74db0a9f4bf93d833124 | src/Listabierta/Bundle/MunicipalesBundle/Resources/views/Candidacy/missing_admin_id.html.twig | src/Listabierta/Bundle/MunicipalesBundle/Resources/views/Candidacy/missing_admin_id.html.twig | Twig |
<|file_sep|>spec/mongo/crud_spec.rb.diff
original:
if spec.server_version_satisfied?(AUTHORIZED_CLIENT)
updated:
context(spec.description) do
<|file_sep|>spec/mongo/crud_spec.rb.diff
original:
context(spec.description) do
updated:
spec.tests.each do |test|
<|file_sep|>spec/mongo/crud_spec.rb.diff
or... | after(:each) do
authorized_collection.delete_many
end
let(:results) do
test.run(authorized_collection)
end
it 'returns the correct result' do
expect(results).to match_operation_result(test)
end
it 'has the corre... | <|file_sep|>spec/mongo/crud_spec.rb.diff
original:
if spec.server_version_satisfied?(AUTHORIZED_CLIENT)
updated:
context(spec.description) do
<|file_sep|>spec/mongo/crud_spec.rb.diff
original:
context(spec.description) do
updated:
spec.tests.each do |test|
<|file_sep|>spec/mongo/crud_spec.rb.diff
or... | 03a8f15ee50dccf87cf0c0563d4c199b80c18f6f | spec/mongo/crud_spec.rb | spec/mongo/crud_spec.rb | Ruby |
<|file_sep|>README.md.diff
original:
updated:
### How to Use
It started when your application become active and save the videos timely.If you want to use it manually,call like below:
<|file_sep|>original/README.md
# RecordScreen-iOS9+
;
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed... | #
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under ... | <|file_sep|>original/lib/buildr_plus/java.rb
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed... | d859d689c7b8b198e05ba8e80230a412ff2232b1 | lib/buildr_plus/java.rb | lib/buildr_plus/java.rb | Ruby |
<|file_sep|>original/src/org/usfirst/frc/team3335/robot/subsystems/Flapper.java
import edu.wpi.first.wpilibj.DoubleSolenoid.Value;
import edu.wpi.first.wpilibj.Solenoid;
@SuppressWarnings("unused")
public class Flapper extends Subsystem implements LoggableSubsystem {
private DoubleSolenoid solenoid;
public Flappe... | import edu.wpi.first.wpilibj.DoubleSolenoid.Value;
import edu.wpi.first.wpilibj.Solenoid;
@SuppressWarnings("unused")
public class Flapper extends Subsystem implements LoggableSubsystem {
private DoubleSolenoid solenoid;
public Flapper() {
solenoid = new DoubleSolenoid(RobotMap.FLAPPER_FORWARD_CHANNEL, RobotMap... | <|file_sep|>original/src/org/usfirst/frc/team3335/robot/subsystems/Flapper.java
import edu.wpi.first.wpilibj.DoubleSolenoid.Value;
import edu.wpi.first.wpilibj.Solenoid;
@SuppressWarnings("unused")
public class Flapper extends Subsystem implements LoggableSubsystem {
private DoubleSolenoid solenoid;
public Flappe... | 571eff91a6e9e84e1ea73cdbf83f6e116032b63f | src/org/usfirst/frc/team3335/robot/subsystems/Flapper.java | src/org/usfirst/frc/team3335/robot/subsystems/Flapper.java | Java |
<|file_sep|>original/assets/js/widen-images.js
!function()
{
var images = document.querySelectorAll('#post-body p > img');
for (var i = 0; i < images.length; i++) {
// Only apply to wide images
if ( images[i].clientWidth < 520 ) {
return;
}
var wrap = images[i].parentNode;
if ( wrap.nodeName === 'P' ) {
... | !function()
{
var images = document.querySelectorAll('#post-body p > img');
for (var i = 0; i < images.length; i++) {
// Only apply to wide images
if ( images[i].clientWidth < 518 ) {
return;
}
var wrap = images[i].parentNode;
if ( wrap.nodeName === 'P' ) {
wrap.classList += ' img-wrap';
}
}
}() | <|file_sep|>original/assets/js/widen-images.js
!function()
{
var images = document.querySelectorAll('#post-body p > img');
for (var i = 0; i < images.length; i++) {
// Only apply to wide images
if ( images[i].clientWidth < 520 ) {
return;
}
var wrap = images[i].parentNode;
if ( wrap.nodeName === 'P' ) {
... | a7a5660d0510787790304b3d449196db303f13f3 | assets/js/widen-images.js | assets/js/widen-images.js | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.