prompt stringlengths 77 6.9k | completion stringlengths 1 3.38k | text stringlengths 163 9.03k | commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | lang stringclasses 277
values |
|---|---|---|---|---|---|---|
<|file_sep|>original/docs/requirements.txt
# don't pin crate version numbers so the latest will always be pulled when you
# set up your environment from scratch
crate-docs-theme>=0.7
# packages for local dev
sphinx-autobuild==0.6.0
# the next section should mirror the RTD environment
alabaster>=0.7,<0.8,!=0.7.5
se... | # don't pin crate version numbers so the latest will always be pulled when you
# set up your environment from scratch
crate-docs-theme>=0.7
# packages for local dev
sphinx-autobuild==0.6.0
# the next section should mirror the RTD environment
alabaster>=0.7,<0.8,!=0.7.5
setuptools<41
sphinx==1.8.5 | <|file_sep|>original/docs/requirements.txt
# don't pin crate version numbers so the latest will always be pulled when you
# set up your environment from scratch
crate-docs-theme>=0.7
# packages for local dev
sphinx-autobuild==0.6.0
# the next section should mirror the RTD environment
alabaster>=0.7,<0.8,!=0.7.5
se... | 36d968af01efcd40d6d32df5f38e105a4d173a0d | docs/requirements.txt | docs/requirements.txt | Text |
<|file_sep|>original/azure-pipelines.yml
imageName: 'macos-10.14'
windows:
imageName: 'vs2017-win2016'
pool:
vmImage: $(imageName)
steps:
- task: NodeTool@0
inputs:
versionSpec: '8.x'
displayName: 'Install Node.js'
- bash: |
/usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
... | imageName: 'macos-10.14'
windows:
imageName: 'vs2017-win2016'
pool:
vmImage: $(imageName)
steps:
- task: NodeTool@0
inputs:
versionSpec: '10.x'
displayName: 'Install Node.js'
- bash: |
/usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
echo ">>> Started xvfb"
displayName: S... | <|file_sep|>original/azure-pipelines.yml
imageName: 'macos-10.14'
windows:
imageName: 'vs2017-win2016'
pool:
vmImage: $(imageName)
steps:
- task: NodeTool@0
inputs:
versionSpec: '8.x'
displayName: 'Install Node.js'
- bash: |
/usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
... | d252e08552cb56550d9594ca7227165be969f111 | azure-pipelines.yml | azure-pipelines.yml | YAML |
<|file_sep|>original/README.md
asana-api-java
==============
A Java client library for Asana's API
Usage
-----
Creating a task:
```java
Asana asana = new Asana("your api key");
asana.tasks().createTask(new TaskRequestBuilder(4440299545542L, "New task!").addFollower(4858211767376L)
.addF... | asana-api-java
==============
A Java client library for Asana's API
Usage
-----
Maven dependency:
```xml
<dependency>
<groupId>net.joelinn</groupId>
<artifactId>asana</artifactId>
<version>0.5.4</version>
</dependency>
```
Creating a task:
```java
Asana asana = new Asana("your api key");
asana.tasks()... | <|file_sep|>original/README.md
asana-api-java
==============
A Java client library for Asana's API
Usage
-----
Creating a task:
```java
Asana asana = new Asana("your api key");
asana.tasks().createTask(new TaskRequestBuilder(4440299545542L, "New task!").addFollower(4858211767376L)
.addF... | 5df27347cb5d40b5df9c600b953133d3f4444936 | README.md | README.md | Markdown |
<|file_sep|>original/README.md
# plantia
Keep track of your houseplants, the easy way.
<|file_sep|>current/README.md
# plantia
Keep track of your houseplants, the easy way.
<|file_sep|>updated/README.md | # plantia
Keep track of your houseplants, the easy way.
Aileen O'Brien, Brett Goss
A web app where users can store houseplant care information and track watering schedules
Stack
Ruby
Rails
Postgresql/Active Record
Sass | <|file_sep|>original/README.md
# plantia
Keep track of your houseplants, the easy way.
<|file_sep|>current/README.md
# plantia
Keep track of your houseplants, the easy way.
<|file_sep|>updated/README.md
# plantia
Keep track of your houseplants, the easy way.
Aileen O'Brien, Brett Goss
A web app where users can store ... | 950e10c7a2fec0ac51822ed696e31cf7d6ec3c88 | README.md | README.md | Markdown |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- 0.9
before_script:
- ./node_modules/.bin/bower install
script:
- ./node_modules/.bin/grunt
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- 0.9
before_script:
- ./node_modules/.bin/bower install
script:
- ./node_modules/.bin/grunt
<|f... | language: node_js
node_js:
- 0.9
before_script:
- ./node_modules/.bin/grunt bower:install
script:
- ./node_modules/.bin/grunt | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- 0.9
before_script:
- ./node_modules/.bin/bower install
script:
- ./node_modules/.bin/grunt
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- 0.9
before_script:
- ./node_modules/.bin/bower install
script:
- ./node_modules/.bin/grunt
<|f... | d501aba3ff912fb5a5ae2f1b4b6b64dc178fc680 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis/run.sh
#!/bin/bash
set -e
set -x
mkdir empty
cd empty
INSTALLDIR=$(python -c "import os, wsproto; print(os.path.dirname(wsproto.__file__))")
pytest --cov=$INSTALLDIR --cov-config=../.coveragerc ../test/
codecov
<|file_sep|>current/.travis/run.sh
#!/bin/bash
set -e
set -x
mkdir empty
c... | #!/bin/bash
set -e
set -x
if [ -d empty ]; then
rm -fr empty
fi
mkdir empty
cd empty
INSTALLDIR=$(python -c "import os, wsproto; print(os.path.dirname(wsproto.__file__))")
pytest --cov=$INSTALLDIR --cov-config=../.coveragerc ../test/
codecov | <|file_sep|>original/.travis/run.sh
#!/bin/bash
set -e
set -x
mkdir empty
cd empty
INSTALLDIR=$(python -c "import os, wsproto; print(os.path.dirname(wsproto.__file__))")
pytest --cov=$INSTALLDIR --cov-config=../.coveragerc ../test/
codecov
<|file_sep|>current/.travis/run.sh
#!/bin/bash
set -e
set -x
mkdir empty
c... | bc71b79b75fadcd2db17db6883dedc4de5e61c50 | .travis/run.sh | .travis/run.sh | Shell |
<|file_sep|>original/.travis.yml
language: node_js
sudo: false
node_js:
- stable
addons:
firefox: latest
before_script:
- npm install web-component-tester
- npm install bower
- bower install
script: xvfb-run wct
<|file_sep|>current/.travis.yml
language: node_js
sudo: false
node_js:
- stable
addons:
fire... | language: node_js
sudo: false
node_js:
- stable
addons:
firefox: '42.0'
before_script:
- npm install web-component-tester
- npm install bower
- bower install
script: xvfb-run wct | <|file_sep|>original/.travis.yml
language: node_js
sudo: false
node_js:
- stable
addons:
firefox: latest
before_script:
- npm install web-component-tester
- npm install bower
- bower install
script: xvfb-run wct
<|file_sep|>current/.travis.yml
language: node_js
sudo: false
node_js:
- stable
addons:
fire... | 3196c2f003f74d27795a63e5feaeaf771c1a265c | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/CONTRIBUTING.md
<|file_sep|>current/CONTRIBUTING.md
<|file_sep|>updated/CONTRIBUTING.md | # Contributing
Thank you for contributing!
If you would like to contribute a donation, an easy way is to use PayPal to sixarm@sixarm.com.
If you would like to contribute help, the next section is for you.
## Contributing to the source
We love pull requests for improvments to the source code and documentation.
Th... | <|file_sep|>original/CONTRIBUTING.md
<|file_sep|>current/CONTRIBUTING.md
<|file_sep|>updated/CONTRIBUTING.md
# Contributing
Thank you for contributing!
If you would like to contribute a donation, an easy way is to use PayPal to sixarm@sixarm.com.
If you would like to contribute help, the next section is for you.
... | 179c7a68d5baf674b365ae6478fab4a97d257ddf | CONTRIBUTING.md | CONTRIBUTING.md | Markdown |
<|file_sep|>original/README.md
# PlanningCenter
Ruby wrapper for the Planning Center Online API.
## Installation
Add this line to your application's Gemfile:
gem 'planning_center'
And then execute:
$ bundle
Or install it yourself as:
$ gem install planning_center
## Usage
TODO: Write usage instruc... | # PlanningCenter
[](https://codeclimate.com/github/molawson/planning_center)
Ruby wrapper for the Planning Center Online API.
## Installation
Add this line to your application's Gemfile:
gem 'planning_center'
And then execut... | <|file_sep|>original/README.md
# PlanningCenter
Ruby wrapper for the Planning Center Online API.
## Installation
Add this line to your application's Gemfile:
gem 'planning_center'
And then execute:
$ bundle
Or install it yourself as:
$ gem install planning_center
## Usage
TODO: Write usage instruc... | b8ca0619a4bc13023c110aee27f346126b086da4 | README.md | README.md | Markdown |
<|file_sep|>original/src/app/map/main-map/main-map.component.scss
}
@media (min-width: 1200px) {
:host {
margin-top: 66px;
}
}
.toggle-boundary-btn {
font-size: 0.9375rem;
}
.map-container {
@include flex(1 1 auto);
position: relative;
esri-map {
@include fill-parent(absolute... | }
@media (min-width: 1200px) {
:host {
margin-top: 66px;
}
}
.toggle-boundary-btn {
font-size: 0.9375rem;
cursor: pointer;
}
.map-container {
@include flex(1 1 auto);
position: relative;
esri-map {
@include fill-parent(absolute);
}
| <|file_sep|>original/src/app/map/main-map/main-map.component.scss
}
@media (min-width: 1200px) {
:host {
margin-top: 66px;
}
}
.toggle-boundary-btn {
font-size: 0.9375rem;
}
.map-container {
@include flex(1 1 auto);
position: relative;
esri-map {
@include fill-parent(absolute... | 07bfb4166b66e147a553ea127ea6e7558c64c491 | src/app/map/main-map/main-map.component.scss | src/app/map/main-map/main-map.component.scss | SCSS |
<|file_sep|>docker-compose.yml.diff
original:
updated:
volumes:
- pgdata:/var/lib/postgresql/data
<|file_sep|>original/docker-compose.yml
restart: always
image: postgres
environment:
- POSTGRES_DB=om
- POSTGRES_USER=om
- POSTGRES_PASSWORD=om
ports:
... | - POSTGRES_PASSWORD=om
ports:
- "5432:5432"
volumes:
- pgdata:/var/lib/postgresql/data
web:
restart: always
build:
context: .
command: sh docker/docker-command.sh
entrypoint: dockerize -wait tcp://db:5432
volumes:
- .:/app
... | <|file_sep|>docker-compose.yml.diff
original:
updated:
volumes:
- pgdata:/var/lib/postgresql/data
<|file_sep|>original/docker-compose.yml
restart: always
image: postgres
environment:
- POSTGRES_DB=om
- POSTGRES_USER=om
- POSTGRES_PASSWORD=om
ports:
... | d40175f76d926aae0258a2c094e96b4d64b508fd | docker-compose.yml | docker-compose.yml | YAML |
<|file_sep|>original/roles/docker-engine/tasks/main.yml
---
- name: Add Docker APT key
apt_key: keyserver="hkp://p80.pool.sks-keyservers.net:80" id=58118E89F3A912897C070ADBF76221572C52609D state=present
- name: Add Docker APT repo
apt_repository: repo="deb https://apt.dockerproject.org/repo ubuntu-trusty main" sta... | ---
- name: Add Docker APT key
apt_key: keyserver=ha.pool.sks-keyservers.net id=58118E89F3A912897C070ADBF76221572C52609D state=present
- name: Add Docker APT repo
apt_repository: repo="deb https://apt.dockerproject.org/repo ubuntu-trusty main" state=present
- name: Install docker - based on "https://get.docker.co... | <|file_sep|>original/roles/docker-engine/tasks/main.yml
---
- name: Add Docker APT key
apt_key: keyserver="hkp://p80.pool.sks-keyservers.net:80" id=58118E89F3A912897C070ADBF76221572C52609D state=present
- name: Add Docker APT repo
apt_repository: repo="deb https://apt.dockerproject.org/repo ubuntu-trusty main" sta... | 6363f657af23bf7142f5633eb96b8f0a23c35a18 | roles/docker-engine/tasks/main.yml | roles/docker-engine/tasks/main.yml | YAML |
<|file_sep|>original/style.css
* {
font-family: sans-serif;
}
#drop-zone {
text-align: center;
}
#drop-zone .help-label {
visibility: hidden;
display: inline-block;
margin: 0 auto;
color: #999;
margin: 1em;
font-weight: bold;
text-shadow: 1px 1px 0 #fff;
}
#drop-zone.drop-target {
border: 3px da... |
body {
font-family: sans-serif;
}
#drop-zone {
text-align: center;
}
#drop-zone .help-label {
visibility: hidden;
display: inline-block;
margin: 0 auto;
color: #999;
margin: 1em;
font-weight: bold;
text-shadow: 1px 1px 0 #fff;
}
#drop-zone.drop-target {
border: 3px dashed silver; | <|file_sep|>original/style.css
* {
font-family: sans-serif;
}
#drop-zone {
text-align: center;
}
#drop-zone .help-label {
visibility: hidden;
display: inline-block;
margin: 0 auto;
color: #999;
margin: 1em;
font-weight: bold;
text-shadow: 1px 1px 0 #fff;
}
#drop-zone.drop-target {
border: 3px da... | 782cd5555356875e645c7bd190656c926d72c463 | style.css | style.css | CSS |
<|file_sep|>original/{{cookiecutter.repo_name}}/requirements/testing.txt
-r base.txt
pytest==3.2.3
pytest-django==3.1.2
django-test-plus==1.0.19
<|file_sep|>current/{{cookiecutter.repo_name}}/requirements/testing.txt
-r base.txt
pytest==3.2.3
pytest-django==3.1.2
django-test-plus==1.0.19
<|file_sep|>updated/{{cookiec... | -r base.txt
pytest==3.2.3
pytest-django==3.1.2
django-test-plus==1.0.20 | <|file_sep|>original/{{cookiecutter.repo_name}}/requirements/testing.txt
-r base.txt
pytest==3.2.3
pytest-django==3.1.2
django-test-plus==1.0.19
<|file_sep|>current/{{cookiecutter.repo_name}}/requirements/testing.txt
-r base.txt
pytest==3.2.3
pytest-django==3.1.2
django-test-plus==1.0.19
<|file_sep|>updated/{{cookiec... | c87e7bc8aec77265b60ee77bbc6766854cde8263 | {{cookiecutter.repo_name}}/requirements/testing.txt | {{cookiecutter.repo_name}}/requirements/testing.txt | Text |
<|file_sep|>original/src/caffe/test/test_caffe_main.cpp
// The main caffe test code. Your test cpp code should include this hpp
// to allow a main function to be compiled into the binary.
#include "caffe/caffe.hpp"
#include "caffe/test/test_caffe_main.hpp"
namespace caffe {
#ifndef CPU_ONLY
cudaDeviceProp CAFFE_TES... | #include "caffe/caffe.hpp"
#include "caffe/test/test_caffe_main.hpp"
namespace caffe {
#ifndef CPU_ONLY
cudaDeviceProp CAFFE_TEST_CUDA_PROP;
#endif
}
#ifndef CPU_ONLY
using caffe::CAFFE_TEST_CUDA_PROP;
#endif
int main(int argc, char** argv) {
::testing::InitGoogleTest(&argc, argv);
caffe::GlobalInit(&argc, &ar... | <|file_sep|>original/src/caffe/test/test_caffe_main.cpp
// The main caffe test code. Your test cpp code should include this hpp
// to allow a main function to be compiled into the binary.
#include "caffe/caffe.hpp"
#include "caffe/test/test_caffe_main.hpp"
namespace caffe {
#ifndef CPU_ONLY
cudaDeviceProp CAFFE_TES... | 26879320898aacfcb5236c725938e259788c10fc | src/caffe/test/test_caffe_main.cpp | src/caffe/test/test_caffe_main.cpp | C++ |
<|file_sep|>config/autoload/slmlocale.global.php.diff
original:
'default' => '',
updated:
//'default' => 'en-US',
<|file_sep|>config/autoload/slmlocale.global.php.diff
original:
'supported' => array('', 'ar'),
updated:
'supported' => array('en', 'ar'),
<|file_sep|>original/config/autoload/slmlocale.glob... | */
'supported' => array('en', 'ar'),
/**
* Aliases for locales
*
* Some good description here. Default is something
*
* Accepted is something else
*/
'aliases' => array('ar' => 'ar-IQ', 'en' => 'en-US'),
/**
* Strategies
*
* Some good description here.... | <|file_sep|>config/autoload/slmlocale.global.php.diff
original:
'default' => '',
updated:
//'default' => 'en-US',
<|file_sep|>config/autoload/slmlocale.global.php.diff
original:
'supported' => array('', 'ar'),
updated:
'supported' => array('en', 'ar'),
<|file_sep|>original/config/autoload/slmlocale.glob... | a3189f5b215ea99e18329ba4adf3533588fc6024 | config/autoload/slmlocale.global.php | config/autoload/slmlocale.global.php | PHP |
<|file_sep|>spec/app/views/layouts/application.html.erb.diff
original:
<%= javascript_include_tag :foobar %>
updated:
<%= javascript_include_tag 'foobar' %>
<|file_sep|>original/spec/app/views/layouts/application.html.erb
<!doctype html>
<html>
<head>
<%= javascript_include_tag :foobar %>
<%= javascri... | <!doctype html>
<html>
<head>
<%= javascript_include_tag 'foobar' %>
<%= javascript_include_tag 'http://google.com/whatever.js' %>
<%= stylesheet_link_tag 'foobar' %>
<%= stylesheet_link_tag 'http://google.com/whatever.css' %>
</head>
<body>
<%= yield %>
</body>
</html> | <|file_sep|>spec/app/views/layouts/application.html.erb.diff
original:
<%= javascript_include_tag :foobar %>
updated:
<%= javascript_include_tag 'foobar' %>
<|file_sep|>original/spec/app/views/layouts/application.html.erb
<!doctype html>
<html>
<head>
<%= javascript_include_tag :foobar %>
<%= javascri... | 0ca8065a297ea8d9c5daf58a4d5dcbd02be7b031 | spec/app/views/layouts/application.html.erb | spec/app/views/layouts/application.html.erb | HTML+ERB |
<|file_sep|>original/.travis.yml
global:
- CXX=g++-5
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
- lcov
notifications:
email: false
cache:
directories:
# Cache gtest sources
- test/build/googletest-build... | global:
- CXX=g++-5
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
- lcov
- doxygen
- doxygen-doc
- doxygen-latex
- doxygen-gui
- graphviz
notifications:
email: false
... | <|file_sep|>original/.travis.yml
global:
- CXX=g++-5
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
- lcov
notifications:
email: false
cache:
directories:
# Cache gtest sources
- test/build/googletest-build... | d833ed9f676c460c1b8b52acdc1edce9388c932c | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/recipe/newrelic.php
<|file_sep|>current/recipe/newrelic.php
<|file_sep|>updated/recipe/newrelic.php | <?php
/* (c) Samuel Gordalina <samuel.gordalina@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* Notify New Relic of successful deployment
*/
task('deploy:newrelic', function () {
global $php_errormsg;
$con... | <|file_sep|>original/recipe/newrelic.php
<|file_sep|>current/recipe/newrelic.php
<|file_sep|>updated/recipe/newrelic.php
<?php
/* (c) Samuel Gordalina <samuel.gordalina@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**... | c75cb1b780e0e7ca7065450845f8d538addd9a04 | recipe/newrelic.php | recipe/newrelic.php | PHP |
<|file_sep|>original/UPGRADE.txt
<|file_sep|>current/UPGRADE.txt
<|file_sep|>updated/UPGRADE.txt | =======================================================================
=== The Apache Software Foundation JAMES Server ===
=======================================================================
Upgrading ...
-----------------
Please note that you need to start james 2.3.0 once befo... | <|file_sep|>original/UPGRADE.txt
<|file_sep|>current/UPGRADE.txt
<|file_sep|>updated/UPGRADE.txt
=======================================================================
=== The Apache Software Foundation JAMES Server ===
=======================================================================... | 0e5fb5d8fd1d255d818d90a523be127980cec908 | UPGRADE.txt | UPGRADE.txt | Text |
<|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
- "3.3"
install:
- pip install coverage coveralls
script:
- coverage run --source=bootstrapform setup.py test
after_success:
- coveralls
<|file_sep|>current/.travis.yml
language: python
python:
- "2.7"
- "3.3"
install:
- pip install... | language: python
python:
- "2.7"
- "3.3"
- "3.4"
install:
- pip install coverage coveralls
script:
- coverage run --source=bootstrapform setup.py test
after_success:
- coveralls | <|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
- "3.3"
install:
- pip install coverage coveralls
script:
- coverage run --source=bootstrapform setup.py test
after_success:
- coveralls
<|file_sep|>current/.travis.yml
language: python
python:
- "2.7"
- "3.3"
install:
- pip install... | 68905c01ac24d529edfdc4063cda9a55c4971770 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/build.sh
fi
# Work off travis
if [[ -v TRAVIS_PULL_REQUEST ]]; then
echo "TRAVIS_PULL_REQUEST: $TRAVIS_PULL_REQUEST"
else
echo "TRAVIS_PULL_REQUEST: unset, setting to false"
TRAVIS_PULL_REQUEST=false
fi
# Build
if [ $TRAVIS_PULL_REQUEST = false... | fi
# Work off travis
if [[ -v TRAVIS_PULL_REQUEST ]]; then
echo "TRAVIS_PULL_REQUEST: $TRAVIS_PULL_REQUEST"
else
echo "TRAVIS_PULL_REQUEST: unset, setting to false"
TRAVIS_PULL_REQUEST=false
fi
# Build
if [ $TRAVIS_PULL_REQUEST = false ] ; then
# For a merg... | <|file_sep|>original/build.sh
fi
# Work off travis
if [[ -v TRAVIS_PULL_REQUEST ]]; then
echo "TRAVIS_PULL_REQUEST: $TRAVIS_PULL_REQUEST"
else
echo "TRAVIS_PULL_REQUEST: unset, setting to false"
TRAVIS_PULL_REQUEST=false
fi
# Build
if [ $TRAVIS_PULL_REQUEST = false... | aa86f3989ff9a7b01d8dc0bb2f2d314d74ec92fe | build.sh | build.sh | Shell |
<|file_sep|>original/bootstrap.yml
- name: Create .ssh directory
file:
path: ~/.ssh
state: directory
mode: 0700
- name: Install authorized key from Ansible host
copy:
src: "{{ ansible_env.HOME }}/.ssh/id_rsa.pub"
dest: "{{ ansible_env.HOME }}/.ssh/authori... | - name: Create .ssh directory
file:
path: ~/.ssh
state: directory
mode: 0700
- name: Install authorized key from Ansible host
copy:
src: "{{ ansible_env.HOME }}/.ssh/id_rsa.pub"
dest: "{{ ansible_env.HOME }}/.ssh/authorized_keys"
mode: 0644
... | <|file_sep|>original/bootstrap.yml
- name: Create .ssh directory
file:
path: ~/.ssh
state: directory
mode: 0700
- name: Install authorized key from Ansible host
copy:
src: "{{ ansible_env.HOME }}/.ssh/id_rsa.pub"
dest: "{{ ansible_env.HOME }}/.ssh/authori... | 024b49da40c99f7e3e39b3864d8e77d4b0da1803 | bootstrap.yml | bootstrap.yml | YAML |
<|file_sep|>original/lib/pausescreen.rb
def initialize(window, window_width, window_height)
@window = window
@window_width, @window_height = window_width, window_height
@pause_button = Gosu::Image.new(window, 'media/pause_button.png', false)
@press_q = Gosu::Image.new(window, 'media/press_q.png'... | def initialize(window, window_width, window_height)
@window = window
@window_width, @window_height = window_width, window_height
@pause_button = Gosu::Image.new(window, 'media/pause_button.png', false)
@press_q = Gosu::Image.new(window, 'media/press_q.png', false)
end
def draw
draw_rect... | <|file_sep|>original/lib/pausescreen.rb
def initialize(window, window_width, window_height)
@window = window
@window_width, @window_height = window_width, window_height
@pause_button = Gosu::Image.new(window, 'media/pause_button.png', false)
@press_q = Gosu::Image.new(window, 'media/press_q.png'... | 9f56a3894d75200d2453f8e2251a799647724c07 | lib/pausescreen.rb | lib/pausescreen.rb | Ruby |
<|file_sep|>original/README.md
* Paydogs (Objective-C, Pascal)
* moszinet (Javascript)
* rolandh (ES6, JSFuck)
* Skarlso (C++)
* akoskovacs (Ruby, Assembly, Haskell, Erlang, Brainfuck)
* pehsa (Batch, PowerShell, Python)
* PumpkinSeed (Go)
* takacsbi (SQL, Basic, Eiffel)
* fugafree (Scala, QBasic)
* bigblog (Perl)
* da... | * moszinet (Javascript)
* rolandh (ES6, JSFuck)
* Skarlso (C++)
* akoskovacs (Ruby, Assembly, Haskell, Erlang, Brainfuck)
* pehsa (Batch, PowerShell, Python)
* PumpkinSeed (Go)
* takacsbi (SQL, Basic, Eiffel)
* fugafree (Scala, QBasic)
* bigblog (Perl)
* daroczig (R)
* kisPocok (LOLCODE)
* balinabbb (F#)
* gcsizmadia (... | <|file_sep|>original/README.md
* Paydogs (Objective-C, Pascal)
* moszinet (Javascript)
* rolandh (ES6, JSFuck)
* Skarlso (C++)
* akoskovacs (Ruby, Assembly, Haskell, Erlang, Brainfuck)
* pehsa (Batch, PowerShell, Python)
* PumpkinSeed (Go)
* takacsbi (SQL, Basic, Eiffel)
* fugafree (Scala, QBasic)
* bigblog (Perl)
* da... | a6361ae92b1486ddba9f0705f1864ef6fcdabd4a | README.md | README.md | Markdown |
<|file_sep|>original/requirements_dev.txt
pip==18.1
bumpversion==0.5.3
wheel==0.32.3
watchdog==0.8.3
flake8==3.3.0
tox==3.6.1
coverage==4.4.1
Sphinx==1.6.3
cryptography==2.4.2
PyYAML==3.12
pytest==4.1.0
requests==2.21.0
<|file_sep|>current/requirements_dev.txt
pip==18.1
bumpversion==0.5.3
wheel==0.32.3
watchdog==0.8.3
... | pip==18.1
bumpversion==0.5.3
wheel==0.32.3
watchdog==0.9.0
flake8==3.3.0
tox==3.6.1
coverage==4.4.1
Sphinx==1.6.3
cryptography==2.4.2
PyYAML==3.12
pytest==4.1.0
requests==2.21.0 | <|file_sep|>original/requirements_dev.txt
pip==18.1
bumpversion==0.5.3
wheel==0.32.3
watchdog==0.8.3
flake8==3.3.0
tox==3.6.1
coverage==4.4.1
Sphinx==1.6.3
cryptography==2.4.2
PyYAML==3.12
pytest==4.1.0
requests==2.21.0
<|file_sep|>current/requirements_dev.txt
pip==18.1
bumpversion==0.5.3
wheel==0.32.3
watchdog==0.8.3
... | f1da94de7ffcab3d1593ccd0f62a54a3ead2eecd | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/3_Display_data_from_file_online.md
---
layout: default
title: Display data from files
---
# Display data from files online
> Nelisa wants weekly reports that update every day.
<!--codex ignore immediately-->
* Create a web application with a route like `/sales/:week_name` to display sales for a ... | ---
layout: default
title: Display data from files
---
# Display data from files online
> Nelisa wants weekly reports that update every day.
<!--codex ignore immediately-->
* Create a web application with a route like `/sales/:week_name` to display sales for a given week. `:week_name` is a variable: the route would ... | <|file_sep|>original/3_Display_data_from_file_online.md
---
layout: default
title: Display data from files
---
# Display data from files online
> Nelisa wants weekly reports that update every day.
<!--codex ignore immediately-->
* Create a web application with a route like `/sales/:week_name` to display sales for a ... | 0ebe2086c77c4c097777d21f04836636afc8a3b7 | 3_Display_data_from_file_online.md | 3_Display_data_from_file_online.md | Markdown |
<|file_sep|>src/helpers.js.diff
original:
export function roundValue(value: number | string | void): number | string {
updated:
export function roundValue(value: number | string | void, placeholder: boolean | void): number | string {
<|file_sep|>original/src/helpers.js
// @flow
export function roundValue(value: number ... | // @flow
export function roundValue(value: number | string | void, placeholder: boolean | void): number | string {
if (typeof value !== 'number') {
return placeholder ? '—' : '';
}
const parsedValue = parseFloat(value.toString());
const sizes = ['', ' K', ' M', ' G', ' T', ' P', ' E', ' Z', ' Y'... | <|file_sep|>src/helpers.js.diff
original:
export function roundValue(value: number | string | void): number | string {
updated:
export function roundValue(value: number | string | void, placeholder: boolean | void): number | string {
<|file_sep|>original/src/helpers.js
// @flow
export function roundValue(value: number ... | 3a84aabc082f26673c25e0b29694df019bbbb644 | src/helpers.js | src/helpers.js | JavaScript |
<|file_sep|>original/simulators/moisture_simulator.js
/*
* Moisture simulator
*
*/
module.exports = function(sensor_id){
var simulator = {};
simulator.id = sensor_id;
simulator.type = 'humidity';
simulator.unit = 'humidity.%perL';
simulator.getValue = function(){
return Ma... | /*
* Moisture simulator
*
*/
module.exports = function(sensor_id){
var simulator = {};
simulator.id = sensor_id;
simulator.type = 'moisture';
simulator.unit = 'humidity.%perL';
simulator.getValue = function(){
return Math.round((60 + 5 * Math.random())*100)/100;
};
... | <|file_sep|>original/simulators/moisture_simulator.js
/*
* Moisture simulator
*
*/
module.exports = function(sensor_id){
var simulator = {};
simulator.id = sensor_id;
simulator.type = 'humidity';
simulator.unit = 'humidity.%perL';
simulator.getValue = function(){
return Ma... | 315a504853934027997a08faf7d91a2da5aead4f | simulators/moisture_simulator.js | simulators/moisture_simulator.js | JavaScript |
<|file_sep|>original/test/transformers/flat_map_test.dart
<|file_sep|>current/test/transformers/flat_map_test.dart
<|file_sep|>updated/test/transformers/flat_map_test.dart | library buffer_when_test;
import 'dart:async';
import 'package:guinness/guinness.dart';
import 'package:frappe/src/transformers.dart';
import 'util.dart';
void main() => describe("FlatMap", () {
StreamController controller;
Map<int, StreamController> spawnedControllers;
beforeEach(() {
controller = new Str... | <|file_sep|>original/test/transformers/flat_map_test.dart
<|file_sep|>current/test/transformers/flat_map_test.dart
<|file_sep|>updated/test/transformers/flat_map_test.dart
library buffer_when_test;
import 'dart:async';
import 'package:guinness/guinness.dart';
import 'package:frappe/src/transformers.dart';
import 'ut... | 28466841e369f859b5f5f1375ce8ee53d524e26f | test/transformers/flat_map_test.dart | test/transformers/flat_map_test.dart | Dart |
<|file_sep|>original/requirements-dev.txt
-r requirements.txt
pytest==3.2.5
pytest-mock==1.6.3
sphinx==1.6.5
<|file_sep|>current/requirements-dev.txt
-r requirements.txt
pytest==3.2.5
pytest-mock==1.6.3
sphinx==1.6.5
<|file_sep|>updated/requirements-dev.txt | -r requirements.txt
pytest==3.3.0
pytest-mock==1.6.3
sphinx==1.6.5 | <|file_sep|>original/requirements-dev.txt
-r requirements.txt
pytest==3.2.5
pytest-mock==1.6.3
sphinx==1.6.5
<|file_sep|>current/requirements-dev.txt
-r requirements.txt
pytest==3.2.5
pytest-mock==1.6.3
sphinx==1.6.5
<|file_sep|>updated/requirements-dev.txt
-r requirements.txt
pytest==3.3.0
pytest-mock==1.6.3
sphinx==1... | 4330477510d7299f08576da83cf3a17b412d3b70 | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/circle.yml
test:
override:
# start the emulator
- emulator -avd circleci-android22 -no-audio -no-window:
background: true
parallel: true
- circle-android wait-for-boot
# run tests against the emulator.
- >-
TERM=dumb
./gradlew
connectedAndroi... | override:
# start the emulator
- emulator -avd circleci-android22 -no-audio -no-window:
background: true
parallel: true
- circle-android wait-for-boot
# run tests against the emulator.
- >-
TERM=dumb
./gradlew
connectedAndroidTest
testDebug
#createDeb... | <|file_sep|>original/circle.yml
test:
override:
# start the emulator
- emulator -avd circleci-android22 -no-audio -no-window:
background: true
parallel: true
- circle-android wait-for-boot
# run tests against the emulator.
- >-
TERM=dumb
./gradlew
connectedAndroi... | d45e06558bba1f054aef117e2d31bc9249b3c97a | circle.yml | circle.yml | YAML |
<|file_sep|>docs/wmf_programs_and_events_dashboard.md.diff
original:
As of June 2016:
updated:
As of January 2019:
<|file_sep|>docs/wmf_programs_and_events_dashboard.md.diff
original:
* Training
updated:
<|file_sep|>original/docs/wmf_programs_and_events_dashboard.md
The Wiki Ed dashboard supports two main use cases: ... | ### Wikimedia Programs & Events Dashboard vs Wiki Education Dashboard
The Wiki Ed dashboard supports two main use cases: Wiki Education's
dashboard.wikiedu.org, and a general use, cross-language Programs & Events Dashboard
available for anyone to use with any Wikimedia project.
Some interface messages differ between ... | <|file_sep|>docs/wmf_programs_and_events_dashboard.md.diff
original:
As of June 2016:
updated:
As of January 2019:
<|file_sep|>docs/wmf_programs_and_events_dashboard.md.diff
original:
* Training
updated:
<|file_sep|>original/docs/wmf_programs_and_events_dashboard.md
The Wiki Ed dashboard supports two main use cases: ... | 0294e578a4e67fba6f278fc7a7aa07599477733a | docs/wmf_programs_and_events_dashboard.md | docs/wmf_programs_and_events_dashboard.md | Markdown |
<|file_sep|>original/.settings/org.eclipse.jdt.core.prefs
eclipse.preferences.version=1
# We target Java 1.6
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.source=1.6
# Lines should be splitted at 140 chars
org.eclipse.jdt.core.formatt... | eclipse.preferences.version=1
# We target Java 1.7
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
org.eclipse.jdt.core.compiler.compliance=1.7
org.eclipse.jdt.core.compiler.source=1.7
# Lines should be splitted at 140 chars
org.eclipse.jdt.core.formatter.lineSplit=140
# Indentation is 4 spaces
org.eclipse.jdt... | <|file_sep|>original/.settings/org.eclipse.jdt.core.prefs
eclipse.preferences.version=1
# We target Java 1.6
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.source=1.6
# Lines should be splitted at 140 chars
org.eclipse.jdt.core.formatt... | f5306ef8c101b8913d855c4086e3f4a64103aff6 | .settings/org.eclipse.jdt.core.prefs | .settings/org.eclipse.jdt.core.prefs | INI |
<|file_sep|>original/src/Umbraco.Web.UI.Client/src/common/directives/html/umbavatar.directive.js
return {
restrict: "E", // restrict to an element
replace: true, // replace the html element with the template
templateUrl: 'views/directives/umb-avatar.html',
scope: {
n... | return {
restrict: "E", // restrict to an element
replace: true, // replace the html element with the template
templateUrl: 'views/directives/umb-avatar.html',
scope: {
name: '@',
email: '@',
hash: '@'
},
link: function(scope, ... | <|file_sep|>original/src/Umbraco.Web.UI.Client/src/common/directives/html/umbavatar.directive.js
return {
restrict: "E", // restrict to an element
replace: true, // replace the html element with the template
templateUrl: 'views/directives/umb-avatar.html',
scope: {
n... | 40fbcc5a99a9118dc89fc49af7b24e7b177ca5ed | src/Umbraco.Web.UI.Client/src/common/directives/html/umbavatar.directive.js | src/Umbraco.Web.UI.Client/src/common/directives/html/umbavatar.directive.js | JavaScript |
<|file_sep|>original/.travis.yml
language: ruby
osx_image: xcode7.1
os: osx
before_install:
- gem update --system
- gem install bundler
rvm:
- 2.1.6
- 2.2.2
script:
- bundle exec fastlane test
<|file_sep|>current/.travis.yml
language: ruby
osx_image: xcode7.1
os: osx
before_install:
- gem update --system
... | language: ruby
osx_image: xcode7.1
os: osx
before_install:
- gem update --system
- gem install bundler
rvm:
- 2.1.6
- 2.2.2
script:
- bundle exec fastlane test
env:
- FASTLANE_XCODE_LIST_TIMEOUT=20 | <|file_sep|>original/.travis.yml
language: ruby
osx_image: xcode7.1
os: osx
before_install:
- gem update --system
- gem install bundler
rvm:
- 2.1.6
- 2.2.2
script:
- bundle exec fastlane test
<|file_sep|>current/.travis.yml
language: ruby
osx_image: xcode7.1
os: osx
before_install:
- gem update --system
... | 44314af25fa08a1358d36751521640d12a6535b7 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/spree_product_expiry_date.gemspec
s.required_ruby_version = '>= 1.8.7'
# s.author = 'You'
# s.email = 'you@example.com'
# s.homepage = 'http://www.spreecommerce.com'
#s.files = `git ls-files`.split("\n")
#s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n... | s.required_ruby_version = '>= 1.8.7'
# s.author = 'You'
# s.email = 'you@example.com'
# s.homepage = 'http://www.spreecommerce.com'
#s.files = `git ls-files`.split("\n")
#s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.require_path = 'lib'
s.requirements << 'none'
... | <|file_sep|>original/spree_product_expiry_date.gemspec
s.required_ruby_version = '>= 1.8.7'
# s.author = 'You'
# s.email = 'you@example.com'
# s.homepage = 'http://www.spreecommerce.com'
#s.files = `git ls-files`.split("\n")
#s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n... | fd2b055b58c95fc95a6777630d535567e0450086 | spree_product_expiry_date.gemspec | spree_product_expiry_date.gemspec | Ruby |
<|file_sep|>original/.travis.yml
language: python
python:
- "3.5"
- "3.6"
script:
- pytest
<|file_sep|>current/.travis.yml
language: python
python:
- "3.5"
- "3.6"
script:
- pytest
<|file_sep|>updated/.travis.yml | language: python
python:
- "3.5"
- "3.6"
script:
- nosetests | <|file_sep|>original/.travis.yml
language: python
python:
- "3.5"
- "3.6"
script:
- pytest
<|file_sep|>current/.travis.yml
language: python
python:
- "3.5"
- "3.6"
script:
- pytest
<|file_sep|>updated/.travis.yml
language: python
python:
- "3.5"
- "3.6"
script:
- nosetests | bc1270b8e6c3a5d2bd8e9647392a6ede1d86ca96 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/app/index.js
var cb = this.async();
this.appId = this.args[0] || undefined;
var prompts = [];
if (this.args[0] === undefined) {
prompts.push({
name: 'appId',
message: 'What is the application ID?',
default: 'new-application'
})
} else {
this.appId = this.a... | var cb = this.async();
this.appId = this.args[0] || undefined;
var prompts = [];
if (this.args[0] === undefined) {
prompts.push({
name: 'appId',
message: 'What is the application ID?',
default: path.basename(process.cwd())
})
} else {
this.appId = this.args[0];
}
this.pro... | <|file_sep|>original/app/index.js
var cb = this.async();
this.appId = this.args[0] || undefined;
var prompts = [];
if (this.args[0] === undefined) {
prompts.push({
name: 'appId',
message: 'What is the application ID?',
default: 'new-application'
})
} else {
this.appId = this.a... | bf023979de39f5ff63ca5cc9f7b54e7af6f344d6 | app/index.js | app/index.js | JavaScript |
<|file_sep|>.travis.yml.diff
original:
- "nightly"
updated:
<|file_sep|>original/.travis.yml
- "2.7"
- "3.5"
- "3.6"
- "nightly"
before_install:
- pip install --upgrade setuptools pip
- pip install --upgrade virtualenv
install:
- pip install --upgrade flake8 pylint
- pip --version
... | dist: trusty
sudo: false
language: python
python:
- "2.7"
- "3.5"
- "3.6"
before_install:
- pip install --upgrade setuptools pip
- pip install --upgrade virtualenv
install:
- pip install --upgrade flake8 pylint
- pip --version
- virtualenv --version
- flake8 --version
- pylint --... | <|file_sep|>.travis.yml.diff
original:
- "nightly"
updated:
<|file_sep|>original/.travis.yml
- "2.7"
- "3.5"
- "3.6"
- "nightly"
before_install:
- pip install --upgrade setuptools pip
- pip install --upgrade virtualenv
install:
- pip install --upgrade flake8 pylint
- pip --version
... | da8ad93e35fcbfff17689131eefd4688e9536872 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/jenkins/sytest-postgres.sh
mkdir -p "localhost-$(($PORT_BASE + 2))"
cat > localhost-$(($PORT_BASE + 1))/database.yaml << EOF
name: psycopg2
args:
database: $POSTGRES_DB_1
user: $POSTGRES_USER_1
password: $POSTGRES_PASS_1
host: $POSTGRES_HOST_1
EOF
cat > localhost-$(($PORT_BASE + 2... |
cat > localhost-$(($PORT_BASE + 1))/database.yaml << EOF
name: psycopg2
args:
database: $POSTGRES_DB_1
user: $POSTGRES_USER_1
password: $POSTGRES_PASS_1
host: $POSTGRES_HOST_1
EOF
cat > localhost-$(($PORT_BASE + 2))/database.yaml << EOF
name: psycopg2
args:
database: $POSTGRES_DB_2
EOF
./jenkins/... | <|file_sep|>original/jenkins/sytest-postgres.sh
mkdir -p "localhost-$(($PORT_BASE + 2))"
cat > localhost-$(($PORT_BASE + 1))/database.yaml << EOF
name: psycopg2
args:
database: $POSTGRES_DB_1
user: $POSTGRES_USER_1
password: $POSTGRES_PASS_1
host: $POSTGRES_HOST_1
EOF
cat > localhost-$(($PORT_BASE + 2... | a2e8e6d3dea7b9c308fbcaa0e5cc71ed2a4a0cf9 | jenkins/sytest-postgres.sh | jenkins/sytest-postgres.sh | Shell |
<|file_sep|>original/py/reshape-the-matrix.py
<|file_sep|>current/py/reshape-the-matrix.py
<|file_sep|>updated/py/reshape-the-matrix.py | from operator import add
class Solution(object):
def matrixReshape(self, nums, r, c):
"""
:type nums: List[List[int]]
:type r: int
:type c: int
:rtype: List[List[int]]
"""
if len(nums) == 0:
return nums
origR = len(nums)
origC = len... | <|file_sep|>original/py/reshape-the-matrix.py
<|file_sep|>current/py/reshape-the-matrix.py
<|file_sep|>updated/py/reshape-the-matrix.py
from operator import add
class Solution(object):
def matrixReshape(self, nums, r, c):
"""
:type nums: List[List[int]]
:type r: int
:type c: int
... | c98c9f11d886885110bf6a832595f5a814fa65b9 | py/reshape-the-matrix.py | py/reshape-the-matrix.py | Python |
<|file_sep|>original/scripts/start-metatron.sh
SCRIPTDIR=$(cd $(dirname "$0") && pwd)
# This is the primary script to
# Start the entire robot
if ! (${SCRIPTDIR}/ros_prep.sh)
then
echo "ROS Prep Failed, EXITING!"
exit 1
fi
# Start web server for Twilio
ngrok -authtoken E_-s84Q-fW2O1B_kU1Fl -subdomain=52c014b4 -... | SCRIPTDIR=$(cd $(dirname "$0") && pwd)
# This is the primary script to
# Start the entire robot
if ! (${SCRIPTDIR}/ros_prep.sh)
then
echo "ROS Prep Failed, EXITING!"
exit 1
fi
# Start web server for Twilio
nohup ngrok -authtoken E_-s84Q-fW2O1B_kU1Fl -subdomain=52c014b4 -log=stdout 8001 &
nohup /opt/ros/indigo/b... | <|file_sep|>original/scripts/start-metatron.sh
SCRIPTDIR=$(cd $(dirname "$0") && pwd)
# This is the primary script to
# Start the entire robot
if ! (${SCRIPTDIR}/ros_prep.sh)
then
echo "ROS Prep Failed, EXITING!"
exit 1
fi
# Start web server for Twilio
ngrok -authtoken E_-s84Q-fW2O1B_kU1Fl -subdomain=52c014b4 -... | 106df5114eb93b7ee4e10b5f91759a2167c44f8a | scripts/start-metatron.sh | scripts/start-metatron.sh | Shell |
<|file_sep|>Mapsui/Utilities/OpenStreetMap.cs.diff
original:
public static TileLayer CreateTileLayer()
updated:
public static TileLayer CreateTileLayer(string userAgent = DefaultUserAgent)
<|file_sep|>Mapsui/Utilities/OpenStreetMap.cs.diff
original:
return new TileLayer(CreateTileSource()) {... | {
public static class OpenStreetMap
{
private const string DefaultUserAgent = "Default Mapsui user-agent";
private static readonly BruTile.Attribution OpenStreetMapAttribution = new BruTile.Attribution(
"© OpenStreetMap contributors", "https://www.openstreetmap.org/copyright");
... | <|file_sep|>Mapsui/Utilities/OpenStreetMap.cs.diff
original:
public static TileLayer CreateTileLayer()
updated:
public static TileLayer CreateTileLayer(string userAgent = DefaultUserAgent)
<|file_sep|>Mapsui/Utilities/OpenStreetMap.cs.diff
original:
return new TileLayer(CreateTileSource()) {... | 056235961cf4bb215eea646cee5d793e11c5ab86 | Mapsui/Utilities/OpenStreetMap.cs | Mapsui/Utilities/OpenStreetMap.cs | C# |
<|file_sep|>original/app/components/signIn/signIn.ts
private ref: Firebase;
public constructor(private router: Router, private references:References) {
this.ref = this.references.getGlobalRef();
if (this.ref.getAuth()) {
this.router.navigate(['/Dashboard']);
}
}
onOAuth(provider) {
this.... | private ref: Firebase;
public constructor(private router: Router, private references:References) {
this.ref = this.references.getGlobalRef();
if (this.ref.getAuth()) {
this.router.navigate(['/Dashboard']);
}
}
onOAuth(provider) {
this.ref.authWithOAuthPopup(provider, (error) => {
i... | <|file_sep|>original/app/components/signIn/signIn.ts
private ref: Firebase;
public constructor(private router: Router, private references:References) {
this.ref = this.references.getGlobalRef();
if (this.ref.getAuth()) {
this.router.navigate(['/Dashboard']);
}
}
onOAuth(provider) {
this.... | 4ab1fc513569ec42869061828be1140fda570073 | app/components/signIn/signIn.ts | app/components/signIn/signIn.ts | TypeScript |
<|file_sep|>original/src/global/passwordmgr.css
<|file_sep|>current/src/global/passwordmgr.css
<|file_sep|>updated/src/global/passwordmgr.css | @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
treechildren::-moz-tree-image(siteCol){
list-style-image:url(chrome://global/skin/global.png);
-moz-image-region:rect(144px 16px 160px 0);
width:16px;
height:16px;
-moz-margin-end:3px} | <|file_sep|>original/src/global/passwordmgr.css
<|file_sep|>current/src/global/passwordmgr.css
<|file_sep|>updated/src/global/passwordmgr.css
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
treechildren::-moz-tree-image(siteCol){
list-style-image:url(chrome://global/skin/global.png);
... | 43de51fa34c844149cf6b8c270c63516851e38ad | src/global/passwordmgr.css | src/global/passwordmgr.css | CSS |
<|file_sep|>original/test/features/filter_organization_services_test.rb
<|file_sep|>current/test/features/filter_organization_services_test.rb
<|file_sep|>updated/test/features/filter_organization_services_test.rb | require "test_helper"
require_relative 'support/ui_test_helper'
class FilterOrganizationServicesTest < Capybara::Rails::TestCase
include UITestHelper
include Warden::Test::Helpers
after { Warden.test_reset! }
before do
@service_v = Service.create!(
name: "PetsService",
organization: organizati... | <|file_sep|>original/test/features/filter_organization_services_test.rb
<|file_sep|>current/test/features/filter_organization_services_test.rb
<|file_sep|>updated/test/features/filter_organization_services_test.rb
require "test_helper"
require_relative 'support/ui_test_helper'
class FilterOrganizationServicesTest < ... | cf31ecff289dbdabc3200d049d9c99894df5d1ca | test/features/filter_organization_services_test.rb | test/features/filter_organization_services_test.rb | Ruby |
<|file_sep|>metadata/com.guillaumepayet.remotenumpad.yml.diff
original:
updated:
- versionName: 1.8.0
versionCode: 30
commit: c2ecd961de4ee6ec72d46e75b6faa6a389d45230
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/com.guillaumepayet.remotenumpad.yml
gradle:
- yes
- versio... | gradle:
- yes
- versionName: 1.7.1
versionCode: 29
commit: 1.7.1
subdir: app
gradle:
- yes
- versionName: 1.8.0
versionCode: 30
commit: c2ecd961de4ee6ec72d46e75b6faa6a389d45230
subdir: app
gradle:
- yes
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
Current... | <|file_sep|>metadata/com.guillaumepayet.remotenumpad.yml.diff
original:
updated:
- versionName: 1.8.0
versionCode: 30
commit: c2ecd961de4ee6ec72d46e75b6faa6a389d45230
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/com.guillaumepayet.remotenumpad.yml
gradle:
- yes
- versio... | 0652211ced47a9505fe2a311dc037cfd107803bc | metadata/com.guillaumepayet.remotenumpad.yml | metadata/com.guillaumepayet.remotenumpad.yml | YAML |
<|file_sep|>original/karma.config.js
'app/scripts/**/*.js',
'config.js',
'tests/{,*/}*.js'
],
proxies: {
'/images/': 'www/images/'
},
reporters: ['progress', 'coverage'],
coverageReporter: {
type: 'lcovonly',
dir: 'coverage/',
subdir: 'results/'
},
... | 'app/scripts/**/*.js',
'config.js',
'tests/{,*/}*.js'
],
proxies: {
'/images/': 'www/images/'
},
reporters: ['progress', 'coverage'],
coverageReporter: {
type: 'lcov',
dir: 'coverage/',
subdir: 'results/'
},
autoWatch: true,
singleRun: true
... | <|file_sep|>original/karma.config.js
'app/scripts/**/*.js',
'config.js',
'tests/{,*/}*.js'
],
proxies: {
'/images/': 'www/images/'
},
reporters: ['progress', 'coverage'],
coverageReporter: {
type: 'lcovonly',
dir: 'coverage/',
subdir: 'results/'
},
... | b6af8a7b7d46ad6bded1e6d33db4ec79810c699d | karma.config.js | karma.config.js | JavaScript |
<|file_sep|>original/src/base.js
}
return `${v} (ref to ${keys[seen]})`;
}
return v;
}, 2);
}
function _output(arg) {
console.log(`${arg}`);
}
const peek42 = {
get [Symbol.toStringTag]() {
return LIB_NAME;
},
version: LIB_VERSION,
pretty,
_output
};
<|file_sep|>current/src/base... | }
return `${v} (ref to ${keys[seen]})`;
}
return v;
}, 2);
}
function _output(arg) {
console.log(String(arg));
}
const peek42 = {
get [Symbol.toStringTag]() {
return LIB_NAME;
},
version: LIB_VERSION,
pretty,
_output
}; | <|file_sep|>original/src/base.js
}
return `${v} (ref to ${keys[seen]})`;
}
return v;
}, 2);
}
function _output(arg) {
console.log(`${arg}`);
}
const peek42 = {
get [Symbol.toStringTag]() {
return LIB_NAME;
},
version: LIB_VERSION,
pretty,
_output
};
<|file_sep|>current/src/base... | 6a0ef6e3427625afdb8a045e9cdbd5d39095f499 | src/base.js | src/base.js | JavaScript |
<|file_sep|>original/.travis.yml
os: osx
env: PYTHON=python3 PIP=pip3
- python: 2.7
os: linux
env: TEST_COMMAND=lint
before_install:
- set -e
- |
if [ "${TRAVIS_OS_NAME}" = "osx" ]; then
brew update
if [ "${PYTHON}" = "python3" ]; then
brew install ${PYTHON}
... | os: osx
env: PYTHON=python3 PIP=pip3
- python: 2.7
os: linux
env: TEST_COMMAND=lint
before_install:
- set -e
- |
if [ "${TRAVIS_OS_NAME}" = "osx" ]; then
shell_session_update() { :; }
brew update
if [ "${PYTHON}" = "python3" ]; then
brew install ${PYTHON}
... | <|file_sep|>original/.travis.yml
os: osx
env: PYTHON=python3 PIP=pip3
- python: 2.7
os: linux
env: TEST_COMMAND=lint
before_install:
- set -e
- |
if [ "${TRAVIS_OS_NAME}" = "osx" ]; then
brew update
if [ "${PYTHON}" = "python3" ]; then
brew install ${PYTHON}
... | 5f0b7ed1b062a4c26f0acb9731580b016690ca42 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/scripts/test.sh
#! /bin/bash
echo "TEST: I will now sleep 60s to pretend I'm doing something useful!"
sleep 60
echo "Done sleeping, resuming!"
<|file_sep|>current/scripts/test.sh
#! /bin/bash
echo "TEST: I will now sleep 60s to pretend I'm doing something useful!"
sleep 60
echo "Done sleeping, re... | #! /bin/bash
time=10
echo "TEST: I will now sleep ${time}s to pretend I'm doing something useful!"
sleep ${time}
echo "Done sleeping, resuming!" | <|file_sep|>original/scripts/test.sh
#! /bin/bash
echo "TEST: I will now sleep 60s to pretend I'm doing something useful!"
sleep 60
echo "Done sleeping, resuming!"
<|file_sep|>current/scripts/test.sh
#! /bin/bash
echo "TEST: I will now sleep 60s to pretend I'm doing something useful!"
sleep 60
echo "Done sleeping, re... | 89fff3e27fd90409b606a5351052801742c60a7d | scripts/test.sh | scripts/test.sh | Shell |
<|file_sep|>reagan.gemspec.diff
original:
s.version = '0.8.0'
updated:
s.version = '0.8.1'
<|file_sep|>original/reagan.gemspec
s.platform = Gem::Platform::RUBY
s.extra_rdoc_files = ['README.md', 'LICENSE']
s.summary = 'Trust But Verify - Ruby build script for Jenkins that automates the testing of ... | s.platform = Gem::Platform::RUBY
s.extra_rdoc_files = ['README.md', 'LICENSE']
s.summary = 'Trust But Verify - Ruby build script for Jenkins that automates the testing of Chef cookbooks'
s.description = s.summary
s.authors = ['Tim Smith']
s.email = 'tim@cozy.co'
s.homepage = 'http://www.g... | <|file_sep|>reagan.gemspec.diff
original:
s.version = '0.8.0'
updated:
s.version = '0.8.1'
<|file_sep|>original/reagan.gemspec
s.platform = Gem::Platform::RUBY
s.extra_rdoc_files = ['README.md', 'LICENSE']
s.summary = 'Trust But Verify - Ruby build script for Jenkins that automates the testing of ... | 7687293e46253cd2ebeaa921ff596153ad9ee534 | reagan.gemspec | reagan.gemspec | Ruby |
<|file_sep|>original/README.md
This Eclipse project contains code to run on a laptop 'coprocessor' on a First Robotics
FRC robot.
The code provides a means to execute vision processoring for a robot in both autonomous and
tele-operated modes and makes use of OpenCV for image processing.
The program communicates with ... | This Eclipse project contains code to run on a laptop 'coprocessor' on a First Robotics
FRC robot.
The code provides a means to execute vision processoring for a robot in both autonomous and
tele-operated modes and makes use of OpenCV for image processing.
The program communicates with the robot using First's Network... | <|file_sep|>original/README.md
This Eclipse project contains code to run on a laptop 'coprocessor' on a First Robotics
FRC robot.
The code provides a means to execute vision processoring for a robot in both autonomous and
tele-operated modes and makes use of OpenCV for image processing.
The program communicates with ... | 80550ea8a6896632fbb0d3941fe4465b98c7cce5 | README.md | README.md | Markdown |
<|file_sep|>original/Casks/intellij-idea.rb
cask :v1 => 'intellij-idea' do
version '14.1.1'
sha256 '3d17062a6371a5bf04acd1f2526c3972deea719f43798b9a7e679672258d3828'
url "http://download.jetbrains.com/idea/ideaIU-#{version}.dmg"
name 'IntelliJ IDEA'
homepage 'https://www.jetbrains.com/idea/'
license :comme... | cask :v1 => 'intellij-idea' do
version '14.1.2'
sha256 'ea3326004a8e1dd113ea54b825494f60be0f506c5e6a25743481a719931ce896'
url "http://download.jetbrains.com/idea/ideaIU-#{version}.dmg"
name 'IntelliJ IDEA'
homepage 'https://www.jetbrains.com/idea/'
license :commercial
app 'IntelliJ IDEA 14.app'
zap :... | <|file_sep|>original/Casks/intellij-idea.rb
cask :v1 => 'intellij-idea' do
version '14.1.1'
sha256 '3d17062a6371a5bf04acd1f2526c3972deea719f43798b9a7e679672258d3828'
url "http://download.jetbrains.com/idea/ideaIU-#{version}.dmg"
name 'IntelliJ IDEA'
homepage 'https://www.jetbrains.com/idea/'
license :comme... | 224b6443ac572c7128d37ce6a97f0216ee6375a9 | Casks/intellij-idea.rb | Casks/intellij-idea.rb | Ruby |
<|file_sep|>original/README.md
# pathhelper
[](https://travis-ci.org/northbright/pathhelper)
pathhelper is a [Golang](http://golang.org) package which provides path related helper functions.
#### Get absolute path of current executalbe di... | # pathhelper
[](https://travis-ci.org/northbright/pathhelper)
[](https://goreportcard.com/report/github.com/northbright/pathhelper)
pathhelper is a [Golang]... | <|file_sep|>original/README.md
# pathhelper
[](https://travis-ci.org/northbright/pathhelper)
pathhelper is a [Golang](http://golang.org) package which provides path related helper functions.
#### Get absolute path of current executalbe di... | a167921c6ec8ed4935df0a65157534b69e448d89 | README.md | README.md | Markdown |
<|file_sep|>original/subprojects/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/KotlinBuildScriptPatternTest.kt
<|file_sep|>current/subprojects/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/KotlinBuildScriptPatternTest.kt
<|file_sep|>updated/subprojects/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/KotlinBuil... | /*
* Copyright 2021 the original author or authors.
*
* 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 applica... | <|file_sep|>original/subprojects/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/KotlinBuildScriptPatternTest.kt
<|file_sep|>current/subprojects/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/KotlinBuildScriptPatternTest.kt
<|file_sep|>updated/subprojects/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/KotlinBuil... | 91fa7b3948b46cb3e0d0ed5a88d5e3abefbae646 | subprojects/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/KotlinBuildScriptPatternTest.kt | subprojects/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/KotlinBuildScriptPatternTest.kt | Kotlin |
<|file_sep|>package.json.diff
original:
"express": "~4.13.3",
"riot": "~2.3.12"
updated:
"koa-compress": "^1.0.8",
"koa-csrf": "^2.4.0",
"koa-logger": "^1.3.0",
"koa-route": "^2.4.2",
"koa-static": "^1.5.2",
"riot": "^2.3.12"
<|file_sep|>package.json.diff
original:
"browserify": "~12... | "riot": "^2.3.12"
},
"devDependencies": {
"autoprefixer": "^6.1.2",
"babel-preset-es2015": "^6.3.13",
"babelify": "^7.2.0",
"browserify": "^12.0.1",
"gaze": "^0.5.2",
"handlebars": "^4.0.5",
"koa": "^1.1.2",
"level4": "^1.0.1",
"postcss": "^5.0.13",
"postcss-cli": "^2.3.2... | <|file_sep|>package.json.diff
original:
"express": "~4.13.3",
"riot": "~2.3.12"
updated:
"koa-compress": "^1.0.8",
"koa-csrf": "^2.4.0",
"koa-logger": "^1.3.0",
"koa-route": "^2.4.2",
"koa-static": "^1.5.2",
"riot": "^2.3.12"
<|file_sep|>package.json.diff
original:
"browserify": "~12... | 4d8094bb73a20d08d4eef6d0964641de6202bbaf | package.json | package.json | JSON |
<|file_sep|>original/aldryn_newsblog/__init__.py
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
__version__ = '0.6.0'
<|file_sep|>current/aldryn_newsblog/__init__.py
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
__version__ = '0.6.0'
<|file_sep|>updated/aldryn_newsblog/__init__.py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
__version__ = '0.6.1' | <|file_sep|>original/aldryn_newsblog/__init__.py
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
__version__ = '0.6.0'
<|file_sep|>current/aldryn_newsblog/__init__.py
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
__version__ = '0.6.0'
<|file_sep|>updated/aldryn_newsblog/__init__.py... | 1a2b8b05f17a5974de997f98ed108f0a57dcd1b0 | aldryn_newsblog/__init__.py | aldryn_newsblog/__init__.py | Python |
<|file_sep|>original/README.md
# vsgerrit
vsgerrit is Visual Studio extension, which allows you to quickly grab changes from gerrit, view the changes and comments inline, reply to comments, submit ratings, fix issues and commit them back, all from the warmth and comfort of your favorite IDE.
<|file_sep|>current/README.... | # vsgerrit [](https://ci.appveyor.com/project/wagner89/vsgerrit)
vsgerrit is Visual Studio extension, which allows you to quickly grab changes from gerrit, view the changes and comments inline, reply to comments, submit ratings, fix i... | <|file_sep|>original/README.md
# vsgerrit
vsgerrit is Visual Studio extension, which allows you to quickly grab changes from gerrit, view the changes and comments inline, reply to comments, submit ratings, fix issues and commit them back, all from the warmth and comfort of your favorite IDE.
<|file_sep|>current/README.... | c362fc03ff615159d0709c999e638f6cbfb9666a | README.md | README.md | Markdown |
<|file_sep|>activerecord/test/models/admin/user.rb.diff
original:
updated:
class Coder
def initialize(default = {})
@default = default
end
def dump(o)
ActiveSupport::JSON.encode(o || @default)
end
def load(s)
s.present? ? ActiveSupport::JSON.decode(s) : @default.clone
end
... |
def load(s)
s.present? ? ActiveSupport::JSON.decode(s) : @default.clone
end
end
belongs_to :account
store :settings, :accessors => [ :color, :homepage ]
store_accessor :settings, :favorite_food
store :preferences, :accessors => [ :remember_login ]
store :json_data, :accessors => [ :height, :... | <|file_sep|>activerecord/test/models/admin/user.rb.diff
original:
updated:
class Coder
def initialize(default = {})
@default = default
end
def dump(o)
ActiveSupport::JSON.encode(o || @default)
end
def load(s)
s.present? ? ActiveSupport::JSON.decode(s) : @default.clone
end
... | 1b75b94de6d474d56a6c47e74bdbd985ec14087b | activerecord/test/models/admin/user.rb | activerecord/test/models/admin/user.rb | Ruby |
<|file_sep|>original/.gitlab-ci.yml
stages:
# - build-and-test
- benchmark
# - full-test
variables:
PYTHONUNBUFFERED: "true"
JVMCI_BIN: /home/gitlab-runner/.local/graal-core/bin/java
JVMCI_VERSION_CHECK: ignore
before_script:
- git submodule update --init
# build_and_test_job:
# stage: build-and-test... | stages:
# - build-and-test
- benchmark
# - full-test
variables:
PYTHONUNBUFFERED: "true"
JVMCI_BIN: /home/gitlab-runner/.local/graal-core-may/bin/java
JVMCI_VERSION_CHECK: ignore
before_script:
- git submodule update --init
# build_and_test_job:
# stage: build-and-test
# tags: [benchmarks, infinity... | <|file_sep|>original/.gitlab-ci.yml
stages:
# - build-and-test
- benchmark
# - full-test
variables:
PYTHONUNBUFFERED: "true"
JVMCI_BIN: /home/gitlab-runner/.local/graal-core/bin/java
JVMCI_VERSION_CHECK: ignore
before_script:
- git submodule update --init
# build_and_test_job:
# stage: build-and-test... | b288839f67f7202f6d4e62257a0b5e8b70878afe | .gitlab-ci.yml | .gitlab-ci.yml | YAML |
<|file_sep|>original/.travis.yml
python: "3.2"
- os: linux
dist: trusty
language: python
python: "3.3"
- os: linux
dist: bionic
language: python
python: "3.7"
- os: linux
arch: arm64
dist: bionic
language: python
python: "3.7"
- os: linux... | - os: linux
dist: bionic
language: python
python: "3.7"
- os: linux
arch: arm64
dist: bionic
language: python
python: "3.7"
- os: linux
arch: ppc64le
dist: bionic
language: python
python: "3.7"
- os: linux
dist: xenial
languag... | <|file_sep|>original/.travis.yml
python: "3.2"
- os: linux
dist: trusty
language: python
python: "3.3"
- os: linux
dist: bionic
language: python
python: "3.7"
- os: linux
arch: arm64
dist: bionic
language: python
python: "3.7"
- os: linux... | cd33a7920dfae0fa4e3a4cd72777650f8ad2c928 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- '0.10'
branches:
only:
- master
- travis-ci
# Not using `npm install --dev` because it is recursive. It will pull in the all
# development dependencies for CoffeeScript. Way too much spew in the Travis CI
# build output.
before_install:
- n... | sudo: false
language: node_js
node_js:
- '0.10'
branches:
only:
- master
- travis-ci
# Not using `npm install --dev` because it is recursive. It will pull in the all
# development dependencies for CoffeeScript. Way too much spew in the Travis CI
# build output.
before_install:
- npm install
- npm i... | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- '0.10'
branches:
only:
- master
- travis-ci
# Not using `npm install --dev` because it is recursive. It will pull in the all
# development dependencies for CoffeeScript. Way too much spew in the Travis CI
# build output.
before_install:
- n... | ded4126543a9b5b647785e6fa7a5be0dd66135d1 | .travis.yml | .travis.yml | YAML |
<|file_sep|>RELEASE.md.diff
original:
## [0.16.5](https://github.com/devopsdays/devopsdays-cli/tree/0.16.5) (2017-10-06)
[Full Changelog](https://github.com/devopsdays/devopsdays-cli/compare/0.16.4...0.16.5)
updated:
## [0.17.0](https://github.com/devopsdays/devopsdays-cli/tree/0.17.0) (2017-10-06)
[Full Changelog](htt... | # Change Log
## [0.17.0](https://github.com/devopsdays/devopsdays-cli/tree/0.17.0) (2017-10-06)
[Full Changelog](https://github.com/devopsdays/devopsdays-cli/compare/0.16.5...0.17.0)
**Implemented enhancements:**
- Change create event functionality to use the model package [\#61](https://github.com/devopsdays/devops... | <|file_sep|>RELEASE.md.diff
original:
## [0.16.5](https://github.com/devopsdays/devopsdays-cli/tree/0.16.5) (2017-10-06)
[Full Changelog](https://github.com/devopsdays/devopsdays-cli/compare/0.16.4...0.16.5)
updated:
## [0.17.0](https://github.com/devopsdays/devopsdays-cli/tree/0.17.0) (2017-10-06)
[Full Changelog](htt... | da8a24f9795668fa67abd1c950c29595d8048e73 | RELEASE.md | RELEASE.md | Markdown |
<|file_sep|>original/build.sh
#!/bin/bash
set -e
rm -fr Analyzers/*
rm -fr Rules/*
rm -fr Examples/*
nuget restore DevAudit.Mono.sln && xbuild DevAudit.Mono.sln /p:Configuration=RuntimeDebug $*
cp ./DevAudit.AuditLibrary/bin/Debug/Gendarme.Rules.* ./DevAudit.CommandLine/bin/Debug/
<|file_sep|>current/build.sh
#!/bin... | #!/bin/bash
set -e
rm -fr Analyzers/*
rm -fr Rules/*
rm -fr Examples/*
nuget restore DevAudit.Mono.sln && xbuild DevAudit.Mono.sln /p:Configuration=RuntimeDebug $* | <|file_sep|>original/build.sh
#!/bin/bash
set -e
rm -fr Analyzers/*
rm -fr Rules/*
rm -fr Examples/*
nuget restore DevAudit.Mono.sln && xbuild DevAudit.Mono.sln /p:Configuration=RuntimeDebug $*
cp ./DevAudit.AuditLibrary/bin/Debug/Gendarme.Rules.* ./DevAudit.CommandLine/bin/Debug/
<|file_sep|>current/build.sh
#!/bin... | 92ed2541705e6a7ce40def91538bf74dd3e17e6c | build.sh | build.sh | Shell |
<|file_sep|>original/src/components/PostItem/styled.js
margin-bottom: 0.8rem;
color: var(--text);
transition: color 0.3s;
`
export const PostItemLink = styled(Link)`
display: block;
width: 100%;
color: var(--text);
text-decoration: none;
@media (hover: hover) {
&:hover ${PostItemTitle} {
col... | margin-bottom: 0.8rem;
color: var(--text);
transition: color 0.3s;
`
export const PostItemLink = styled(Link)`
display: block;
width: 100%;
color: var(--text);
text-decoration: none;
transition: color 0.3s;
@media (hover: hover) {
&:hover ${PostItemTitle} {
color: var(--accent);
}
}
... | <|file_sep|>original/src/components/PostItem/styled.js
margin-bottom: 0.8rem;
color: var(--text);
transition: color 0.3s;
`
export const PostItemLink = styled(Link)`
display: block;
width: 100%;
color: var(--text);
text-decoration: none;
@media (hover: hover) {
&:hover ${PostItemTitle} {
col... | 4f8d1ba721fedc3ea88bf1caa8bd4d26065dde9c | src/components/PostItem/styled.js | src/components/PostItem/styled.js | JavaScript |
<|file_sep|>original/udata/__init__.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
uData
'''
from __future__ import unicode_literals
__version__ = '1.2.11.dev'
__description__ = 'Open data portal'
<|file_sep|>current/udata/__init__.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
uData
'''
from __future__ im... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
uData
'''
from __future__ import unicode_literals
__version__ = '1.3.0.dev'
__description__ = 'Open data portal' | <|file_sep|>original/udata/__init__.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
uData
'''
from __future__ import unicode_literals
__version__ = '1.2.11.dev'
__description__ = 'Open data portal'
<|file_sep|>current/udata/__init__.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
uData
'''
from __future__ im... | e103191a347baf446e76a12b9bc77986aa95dc2d | udata/__init__.py | udata/__init__.py | Python |
<|file_sep|>original/packages/ka/katip-scalyr-scribe.yaml
<|file_sep|>current/packages/ka/katip-scalyr-scribe.yaml
<|file_sep|>updated/packages/ka/katip-scalyr-scribe.yaml | homepage: https://github.com/reactormonk/katip-scalyr-scribe#readme
changelog-type: markdown
hash: 2349e97f6a90b1800797827c702f5169f976fbd9d3df197efa67528107e164eb
test-bench-deps:
katip: -any
base: ! '>=4.7 && <5'
unordered-containers: -any
text: -any
katip-scalyr-scribe: -any
scientific: -any
aeson: -an... | <|file_sep|>original/packages/ka/katip-scalyr-scribe.yaml
<|file_sep|>current/packages/ka/katip-scalyr-scribe.yaml
<|file_sep|>updated/packages/ka/katip-scalyr-scribe.yaml
homepage: https://github.com/reactormonk/katip-scalyr-scribe#readme
changelog-type: markdown
hash: 2349e97f6a90b1800797827c702f5169f976fbd9d3df197... | 6cf6a453cff2ba558f6077a71d73438048ef92d1 | packages/ka/katip-scalyr-scribe.yaml | packages/ka/katip-scalyr-scribe.yaml | YAML |
<|file_sep|>original/requirements/dev.txt
-r base.txt
flake8==3.5.0
pre-commit==1.4.1
tox==2.9.1
django-debug-panel==0.8.3
django-debug-toolbar==1.9.1
sphinx-autobuild
django-rest-swagger==2.1.2
<|file_sep|>current/requirements/dev.txt
-r base.txt
flake8==3.5.0
pre-commit==1.4.1
tox==2.9.1
django-debug-panel==0.8.3
dja... | -r base.txt
flake8==3.5.0
pre-commit==1.6.0
tox==2.9.1
django-debug-panel==0.8.3
django-debug-toolbar==1.9.1
sphinx-autobuild
django-rest-swagger==2.1.2 | <|file_sep|>original/requirements/dev.txt
-r base.txt
flake8==3.5.0
pre-commit==1.4.1
tox==2.9.1
django-debug-panel==0.8.3
django-debug-toolbar==1.9.1
sphinx-autobuild
django-rest-swagger==2.1.2
<|file_sep|>current/requirements/dev.txt
-r base.txt
flake8==3.5.0
pre-commit==1.4.1
tox==2.9.1
django-debug-panel==0.8.3
dja... | f0c76d82394bc87555576739c91b59e9ca2a3114 | requirements/dev.txt | requirements/dev.txt | Text |
<|file_sep|>openstack/octavia/templates/etc/_octavia_api_audit_map.yaml.tpl.diff
original:
prefix: '/v2(\.0)?'
updated:
prefix: '/v2(\.0)?(/lbaas|/octavia)?'
<|file_sep|>openstack/octavia/templates/etc/_octavia_api_audit_map.yaml.tpl.diff
original:
lbaas:
singleton: true
updated:
healthmonitors:
type_uri: n... | singleton: true
failover:
singleton: true
listeners:
type_uri: network/loadbalancer/listeners
children:
stats:
singleton: true
pools:
type_uri: network/loadbalancer/pools
children:
members:
l7policies:
type_uri: network/loadbalancer/l7policies
el_t... | <|file_sep|>openstack/octavia/templates/etc/_octavia_api_audit_map.yaml.tpl.diff
original:
prefix: '/v2(\.0)?'
updated:
prefix: '/v2(\.0)?(/lbaas|/octavia)?'
<|file_sep|>openstack/octavia/templates/etc/_octavia_api_audit_map.yaml.tpl.diff
original:
lbaas:
singleton: true
updated:
healthmonitors:
type_uri: n... | eac72b354023e122f55b6db3a5cb159a04ec84bc | openstack/octavia/templates/etc/_octavia_api_audit_map.yaml.tpl | openstack/octavia/templates/etc/_octavia_api_audit_map.yaml.tpl | Smarty |
<|file_sep|>original/src/include/storage/relfilenode.h
#define RELFILENODE_H
/*
* This is all what we need to know to find relation file.
* tblNode is identificator of tablespace and because of
* currently our tablespaces are equal to databases this is
* database OID. relNode is currently relation OID on creation
... | #define RELFILENODE_H
/*
* This is all what we need to know to find relation file.
* tblNode is identificator of tablespace and because of
* currently our tablespaces are equal to databases this is
* database OID. relNode is currently relation OID on creation
* but may be changed later if required. relNode is sto... | <|file_sep|>original/src/include/storage/relfilenode.h
#define RELFILENODE_H
/*
* This is all what we need to know to find relation file.
* tblNode is identificator of tablespace and because of
* currently our tablespaces are equal to databases this is
* database OID. relNode is currently relation OID on creation
... | 4cb0950cfe4055ca54d08b9639ee4e462cb009a3 | src/include/storage/relfilenode.h | src/include/storage/relfilenode.h | C |
<|file_sep|>original/.travis.yml
language: php
php:
- 5.5
- 5.6
- hhvm
- 7.0
matrix:
allow_failures:
- php: 7.0
- php: 5.5
before_script:
- travis_retry composer self-update
- travis_retry composer install --no-interaction --prefer-source --dev
script:
- phpunit
<|file_sep|>current/.travis.y... | language: php
php:
- 5.5
- 5.6
- hhvm
- 7.0
matrix:
allow_failures:
- php: 7.0
- php: 5.5
before_script:
- travis_retry composer self-update
- travis_retry composer install --no-interaction --prefer-source --dev
script:
- phpunit
- bin/pgca analyze --printer=console --serializer=console --... | <|file_sep|>original/.travis.yml
language: php
php:
- 5.5
- 5.6
- hhvm
- 7.0
matrix:
allow_failures:
- php: 7.0
- php: 5.5
before_script:
- travis_retry composer self-update
- travis_retry composer install --no-interaction --prefer-source --dev
script:
- phpunit
<|file_sep|>current/.travis.y... | f788960b211b48bd9b3f2a9e1551139aea75e0e8 | .travis.yml | .travis.yml | YAML |
<|file_sep|>controllers/rsses_controller.php.diff
original:
updated:
/**
INOROUT - Social Discussion Platform.
Copyright (C) 2010 EeChia <eechia@gmail.com>
This program is free software: you can redistribute it and/or
modify it under the terms of the GNU Affero General Public License
as published by... | <http://www.gnu.org/licenses/>.
*/
class RssesController extends AppController {
var $name = 'Rss';
var $components = array('RequestHandler');
var $helpers = array ('Rss','Text');
function index() {
Configure::write('debug', 0); // dont want debug in ajax returned html
$this->loadModel('Post');
$posts =... | <|file_sep|>controllers/rsses_controller.php.diff
original:
updated:
/**
INOROUT - Social Discussion Platform.
Copyright (C) 2010 EeChia <eechia@gmail.com>
This program is free software: you can redistribute it and/or
modify it under the terms of the GNU Affero General Public License
as published by... | f727feb8cabef8fcd06e8c21922c4618de3c6def | controllers/rsses_controller.php | controllers/rsses_controller.php | PHP |
<|file_sep|>app/report/taxonomy/concepts/concepts.html.diff
original:
updated:
<form name="conceptSearchForm">
<span class="text-danger" ng-show="conceptSearchForm.conceptName.$error.pattern">Invalid Concept Name</span>
<|file_sep|>original/app/report/taxonomy/concepts/concepts.html
<h2>Concepts</h2>
<input class="for... | <h2>Concepts</h2>
<form name="conceptSearchForm">
<span class="text-danger" ng-show="conceptSearchForm.conceptName.$error.pattern">Invalid Concept Name</span>
<input class="form-control input-lg" type="text" placeholder="Find or create a concept..."
ng-model="conceptName" typeahead="result.Name for result in ge... | <|file_sep|>app/report/taxonomy/concepts/concepts.html.diff
original:
updated:
<form name="conceptSearchForm">
<span class="text-danger" ng-show="conceptSearchForm.conceptName.$error.pattern">Invalid Concept Name</span>
<|file_sep|>original/app/report/taxonomy/concepts/concepts.html
<h2>Concepts</h2>
<input class="for... | f0bef546de1f6e96548db013c04635d18336f5dd | app/report/taxonomy/concepts/concepts.html | app/report/taxonomy/concepts/concepts.html | HTML |
<|file_sep|>public/javascripts/app/views/homeView.js.diff
original:
'app/views/projectsView',
//Templates
'text!templates/home/boxesTemplate.html'
updated:
'app/views/projectsView'
<|file_sep|>public/javascripts/app/views/homeView.js.diff
original:
projectsView,
//Template
boxesTemplate
updated:
//Vie... | ], function(
Backbone,
//Views
projectsView
){
var HomeView = Backbone.View.extend({
initialize: function(){
this.projects = new projectsView({
el: '.js-projects',
account: this.options.account,
router: this.options.router
});
}
});
| <|file_sep|>public/javascripts/app/views/homeView.js.diff
original:
'app/views/projectsView',
//Templates
'text!templates/home/boxesTemplate.html'
updated:
'app/views/projectsView'
<|file_sep|>public/javascripts/app/views/homeView.js.diff
original:
projectsView,
//Template
boxesTemplate
updated:
//Vie... | 2da8c42efb28666ed08856a465cdbc1f7d8c6cb2 | public/javascripts/app/views/homeView.js | public/javascripts/app/views/homeView.js | JavaScript |
<|file_sep|>original/spec/helpers/application_helper_spec.rb
describe ApplicationHelper do
describe '.up_downify' do
it 'adds a down arrow icon for negative starts' do
expect(helper.up_downify('+10%')).to include('<i')
expect(helper.up_downify('+10%')).to include('up')
end
it 'adds an up ar... | expect(helper.up_downify('-10%')).to include('<i')
expect(helper.up_downify('-10%')).to include('down')
end
it 'does not add other strings' do
expect(helper.up_downify('hello')).to_not include('<i')
expect(helper.up_downify('hello + goodbye')).to_not include('<i')
end
end
desc... | <|file_sep|>original/spec/helpers/application_helper_spec.rb
describe ApplicationHelper do
describe '.up_downify' do
it 'adds a down arrow icon for negative starts' do
expect(helper.up_downify('+10%')).to include('<i')
expect(helper.up_downify('+10%')).to include('up')
end
it 'adds an up ar... | 2e74a42d9a448451e9bd69f589fd1b58b5db571b | spec/helpers/application_helper_spec.rb | spec/helpers/application_helper_spec.rb | Ruby |
<|file_sep|>original/numpy/numarray/setup.py
from os.path import join
def configuration(parent_package='',top_path=None):
from numpy.distutils.misc_util import Configuration
config = Configuration('numarray',parent_package,top_path)
config.add_data_files('numpy/')
config.add_extension('_capi',
... | from os.path import join
def configuration(parent_package='',top_path=None):
from numpy.distutils.misc_util import Configuration
config = Configuration('numarray',parent_package,top_path)
config.add_data_files('numpy/*')
config.add_extension('_capi',
sources=['_capi.c'],
... | <|file_sep|>original/numpy/numarray/setup.py
from os.path import join
def configuration(parent_package='',top_path=None):
from numpy.distutils.misc_util import Configuration
config = Configuration('numarray',parent_package,top_path)
config.add_data_files('numpy/')
config.add_extension('_capi',
... | 988678cf6d0eb8459588e1067dd3a91468cbaa2d | numpy/numarray/setup.py | numpy/numarray/setup.py | Python |
<|file_sep|>original/.travis.yml
<|file_sep|>current/.travis.yml
<|file_sep|>updated/.travis.yml | language: c
notifications:
email:
on_success: never
before_install:
- sudo add-apt-repository ppa:duggan/bats --yes
- sudo apt-get update -qq
- sudo apt-get install -qq bats
script:
- bats --tap test | <|file_sep|>original/.travis.yml
<|file_sep|>current/.travis.yml
<|file_sep|>updated/.travis.yml
language: c
notifications:
email:
on_success: never
before_install:
- sudo add-apt-repository ppa:duggan/bats --yes
- sudo apt-get update -qq
- sudo apt-get install -qq bats
script:
- bats --tap test | 36710e9af57f914edbadf1b0fbc8a0852c8b88a7 | .travis.yml | .travis.yml | YAML |
<|file_sep|>package.json.diff
original:
updated:
"chai": "^3.2.0",
"lodash": "^3.10.0",
<|file_sep|>original/package.json
"keywords": [
"sails",
"service",
"sms"
],
"author": "ghaiklor",
"license": "MIT",
"bugs": {
"url": "https://github.com/ghaiklor/sails-service-sms/issues"
},
"... | "sms"
],
"author": "ghaiklor",
"license": "MIT",
"bugs": {
"url": "https://github.com/ghaiklor/sails-service-sms/issues"
},
"homepage": "https://github.com/ghaiklor/sails-service-sms#readme",
"dependencies": {
"bluebird": "^2.9.25",
"chai": "^3.2.0",
"lodash": "^3.10.0",
"twilio": ... | <|file_sep|>package.json.diff
original:
updated:
"chai": "^3.2.0",
"lodash": "^3.10.0",
<|file_sep|>original/package.json
"keywords": [
"sails",
"service",
"sms"
],
"author": "ghaiklor",
"license": "MIT",
"bugs": {
"url": "https://github.com/ghaiklor/sails-service-sms/issues"
},
"... | 8521fa37d439f0720f19be99a74b1961bf16e415 | package.json | package.json | JSON |
<|file_sep|>original/.travis.yml
- "7"
- "6"
- "5"
- "4"
- "0.12"
services:
- docker
env:
DOCKER_VERSION: 1.12.0-0~trusty
DOCKER_COMPOSE_VERSION: 1.8.0
DEBUG: "navy:*"
NAVY_DEBUG: "navy:*"
before_install:
# list docker-engine versions
- apt-cache madison docker-engine
# upgrade docker-engi... | - "7"
- "6"
- "5"
- "4"
- "0.12"
services:
- docker
env:
DOCKER_VERSION: 1.13.1-0~ubuntu-trusty
DOCKER_COMPOSE_VERSION: 1.8.0
DEBUG: "navy:*"
NAVY_DEBUG: "navy:*"
before_install:
# list docker-engine versions
- apt-cache madison docker-engine
# upgrade docker-engine to specific version
-... | <|file_sep|>original/.travis.yml
- "7"
- "6"
- "5"
- "4"
- "0.12"
services:
- docker
env:
DOCKER_VERSION: 1.12.0-0~trusty
DOCKER_COMPOSE_VERSION: 1.8.0
DEBUG: "navy:*"
NAVY_DEBUG: "navy:*"
before_install:
# list docker-engine versions
- apt-cache madison docker-engine
# upgrade docker-engi... | de6597bf6607611d807a56ed5933bb53cb804b1a | .travis.yml | .travis.yml | YAML |
<|file_sep|>CONTRIBUTING.md.diff
original:
Pull requests are greatly appreciated and are what makes opensource great. Here's a quick guide:
updated:
We'd love to accept your patches and contributions to this project. Pull requests are part of
what makes open source great. There are just a few small guidelines you need ... |
- Maintain the same code style as the rest of the project.
- Remove trailing whitespace. Many editors will do this automatically.
- Ensure any new files have [a trailing newline](https://stackoverflow.com/questions/5813311/no-newline-at-end-of-file)
## How to speed the merging of pull requests
* Describe your change... | <|file_sep|>CONTRIBUTING.md.diff
original:
Pull requests are greatly appreciated and are what makes opensource great. Here's a quick guide:
updated:
We'd love to accept your patches and contributions to this project. Pull requests are part of
what makes open source great. There are just a few small guidelines you need ... | cb5d40de217c81c1deeccbd35174a5bf8be4d837 | CONTRIBUTING.md | CONTRIBUTING.md | Markdown |
<|file_sep|>original/README.md
# AdvisoryEmail
Send security advisory emails to system owners
Use the National Vulnerability Database's XML file holding active and recent CVEs and a list of assets to inform system owners of recent vulnerabilities.
<|file_sep|>current/README.md
# AdvisoryEmail
Send security advisory em... | # AdvisoryEmail
Send security advisory emails to system owners
Current Features
* Download the National Vulnerability Database's XML file holding active and recent CVEs
* Read a list of assets to inform system owners of recent vulnerabilities
* Create an archive of all CVEs from last few years
* Simple PHP report sho... | <|file_sep|>original/README.md
# AdvisoryEmail
Send security advisory emails to system owners
Use the National Vulnerability Database's XML file holding active and recent CVEs and a list of assets to inform system owners of recent vulnerabilities.
<|file_sep|>current/README.md
# AdvisoryEmail
Send security advisory em... | ee64a049629afc3b5f40f00fdafdc7d2b37c6b1f | README.md | README.md | Markdown |
<|file_sep|>original/vim/plug.vim
call plug#begin('~/.vim/plugged')
"My color scheme
Plug 'agude/eldar.vim'
"VimCompletesMe
Plug 'ajh17/VimCompletesMe'
"Surround
Plug 'tpope/vim-surround'
"Repeat (lets you use . with surround)
Plug 'tpope/vim-repeat'
"Vimwiki
Plug 'vimwiki/vimwiki'
"Tagbar
Plug 'majutsushi/tagbar'
"ct... | call plug#begin('~/.vim/plugged')
"My color scheme
Plug 'agude/vim-eldar'
"VimCompletesMe
Plug 'ajh17/VimCompletesMe'
"Surround
Plug 'tpope/vim-surround'
"Repeat (lets you use . with surround)
Plug 'tpope/vim-repeat'
"Vimwiki
Plug 'vimwiki/vimwiki'
"Tagbar
Plug 'majutsushi/tagbar'
"ctrlp
Plug 'ctrlpvim/ctrlp.vim'
"Pyt... | <|file_sep|>original/vim/plug.vim
call plug#begin('~/.vim/plugged')
"My color scheme
Plug 'agude/eldar.vim'
"VimCompletesMe
Plug 'ajh17/VimCompletesMe'
"Surround
Plug 'tpope/vim-surround'
"Repeat (lets you use . with surround)
Plug 'tpope/vim-repeat'
"Vimwiki
Plug 'vimwiki/vimwiki'
"Tagbar
Plug 'majutsushi/tagbar'
"ct... | d8aaf4c0995b029a26f61295fafd6f1b743071cb | vim/plug.vim | vim/plug.vim | VimL |
<|file_sep|>original/register.php
<?php
$REGISTER_LTI2 = array(
"name" => "Simple Attendance Tool",
"short_name" => "Attendance Tool",
"description" => "This is a simple attendance tool that allows the instructor to set a code and the students enter the code."
);
<|file_sep|>current/register.php
<?php
$REGISTER_LTI2 ... | <?php
$REGISTER_LTI2 = array(
"name" => "Simple Attendance Tool",
"FontAwesome" => "fa-server",
"short_name" => "Attendance Tool",
"description" => "This is a simple attendance tool that allows the instructor to set a code and the students enter the code."
); | <|file_sep|>original/register.php
<?php
$REGISTER_LTI2 = array(
"name" => "Simple Attendance Tool",
"short_name" => "Attendance Tool",
"description" => "This is a simple attendance tool that allows the instructor to set a code and the students enter the code."
);
<|file_sep|>current/register.php
<?php
$REGISTER_LTI2 ... | a2967f5df7dd86cf3cd434f5e1115f6e714420da | register.php | register.php | PHP |
<|file_sep|>original/.travis.yml
sudo: required
language: c
compiler:
- clang
- gcc
script:
- make debug
<|file_sep|>current/.travis.yml
sudo: required
language: c
compiler:
- clang
- gcc
script:
- make debug
<|file_sep|>updated/.travis.yml | sudo: required
language: c
compiler:
- clang
- gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
script:
- make debug | <|file_sep|>original/.travis.yml
sudo: required
language: c
compiler:
- clang
- gcc
script:
- make debug
<|file_sep|>current/.travis.yml
sudo: required
language: c
compiler:
- clang
- gcc
script:
- make debug
<|file_sep|>updated/.travis.yml
sudo: required
language: c
compiler:
- clang
- gcc
add... | b09398a2f5bfc52b93c0caa6202b4d0a06c6c80f | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/lib/travis/build/appliances/disable_ssh_roaming.rb
require 'travis/build/appliances/base'
module Travis
module Build
module Appliances
class DisableSshRoaming < Base
def apply
sh.cmd %(mkdir -p $HOME/.ssh)
sh.cmd %(chmod 0700 $HOME/.ssh)
sh.cmd %(t... | require 'travis/build/appliances/base'
module Travis
module Build
module Appliances
class DisableSshRoaming < Base
def apply
sh.cmd <<-EOF
if [ $(sw_vers -productVersion | cut -d . -f 2) -lt 12 ]; do
mkdir -p $HOME/.ssh
chmod 0700 $HOME/.ssh
touch $HOME/.ssh/config
echo -e "Host *... | <|file_sep|>original/lib/travis/build/appliances/disable_ssh_roaming.rb
require 'travis/build/appliances/base'
module Travis
module Build
module Appliances
class DisableSshRoaming < Base
def apply
sh.cmd %(mkdir -p $HOME/.ssh)
sh.cmd %(chmod 0700 $HOME/.ssh)
sh.cmd %(t... | ccefd65239db82e735dfb0497effa572a2946b1d | lib/travis/build/appliances/disable_ssh_roaming.rb | lib/travis/build/appliances/disable_ssh_roaming.rb | Ruby |
<|file_sep|>original/.fixtures.yml
fixtures:
repositories:
stdlib: git://github.com/puppetlabs/puppetlabs-stdlib.git
python: git://github.com/voxpupuli/puppet-python.git
symlinks:
graphite: "#{source_dir}"
<|file_sep|>current/.fixtures.yml
fixtures:
repositories:
stdlib: git://github.com/puppetlab... | fixtures:
repositories:
stdlib: git://github.com/puppetlabs/puppetlabs-stdlib.git
python:
repo: git://github.com/voxpupuli/puppet-python.git
ref: 1.19.0
symlinks:
graphite: "#{source_dir}" | <|file_sep|>original/.fixtures.yml
fixtures:
repositories:
stdlib: git://github.com/puppetlabs/puppetlabs-stdlib.git
python: git://github.com/voxpupuli/puppet-python.git
symlinks:
graphite: "#{source_dir}"
<|file_sep|>current/.fixtures.yml
fixtures:
repositories:
stdlib: git://github.com/puppetlab... | e74733fa26e157a42d087f0cc848f868e98ba608 | .fixtures.yml | .fixtures.yml | YAML |
<|file_sep|>app/controllers/news_items_controller.rb.diff
original:
updated:
before_filter :load_networks, :only => [:index, :search]
<|file_sep|>app/controllers/news_items_controller.rb.diff
original:
@networks = Network.all
updated:
<|file_sep|>original/app/controllers/news_items_controller.rb
def sort_opt... | )
end
def search
get_news_items
render :action => 'index'
end
protected
def get_news_items
model_name = params[:news_item_type]
model_name = 'news_item' unless %w(tips pitches news_items).include?(model_name)
model = model_name.classify.constantize
@news_items = model.with_sort(... | <|file_sep|>app/controllers/news_items_controller.rb.diff
original:
updated:
before_filter :load_networks, :only => [:index, :search]
<|file_sep|>app/controllers/news_items_controller.rb.diff
original:
@networks = Network.all
updated:
<|file_sep|>original/app/controllers/news_items_controller.rb
def sort_opt... | 2aa836576435804d392a42d9c39239386377e0c4 | app/controllers/news_items_controller.rb | app/controllers/news_items_controller.rb | Ruby |
<|file_sep|>original/spring-cloud-kubernetes-zipkin/src/main/java/io/fabric8/spring/cloud/kubernetes/zipkin/KubernetesZipkinDiscoveryProperties.java
*/
package io.fabric8.spring.cloud.kubernetes.zipkin;
import org.springframework.boot.context.properties.ConfigurationProperties;
@ConfigurationProperties("spring.clou... | */
package io.fabric8.spring.cloud.kubernetes.zipkin;
import org.springframework.boot.context.properties.ConfigurationProperties;
@ConfigurationProperties("spring.cloud.kubernetes.zipkin.discovery")
public class KubernetesZipkinDiscoveryProperties {
private boolean enabled = true;
private String serviceNam... | <|file_sep|>original/spring-cloud-kubernetes-zipkin/src/main/java/io/fabric8/spring/cloud/kubernetes/zipkin/KubernetesZipkinDiscoveryProperties.java
*/
package io.fabric8.spring.cloud.kubernetes.zipkin;
import org.springframework.boot.context.properties.ConfigurationProperties;
@ConfigurationProperties("spring.clou... | 7ca8ab277b537a7ea42ac3fb42ec33c7ea6c6345 | spring-cloud-kubernetes-zipkin/src/main/java/io/fabric8/spring/cloud/kubernetes/zipkin/KubernetesZipkinDiscoveryProperties.java | spring-cloud-kubernetes-zipkin/src/main/java/io/fabric8/spring/cloud/kubernetes/zipkin/KubernetesZipkinDiscoveryProperties.java | Java |
<|file_sep|>original/MS/Overlapping_timestamp.cpp
<|file_sep|>current/MS/Overlapping_timestamp.cpp
<|file_sep|>updated/MS/Overlapping_timestamp.cpp | #include <iostream>
#include<algorithm>
using namespace std;
class interval
{
int start;
int duration;
};
bool myCompare(interval a, interval b)
{
return a.start<b.start;
}
bool conflict(interval a, int timestamp)
{
if(a.start <= timestamp && (a.start + a.duration >= timestamp ) )
return true... | <|file_sep|>original/MS/Overlapping_timestamp.cpp
<|file_sep|>current/MS/Overlapping_timestamp.cpp
<|file_sep|>updated/MS/Overlapping_timestamp.cpp
#include <iostream>
#include<algorithm>
using namespace std;
class interval
{
int start;
int duration;
};
bool myCompare(interval a, interval b)
{
return a... | 509ba4267a4fa354cd66190b4766b28001b8546f | MS/Overlapping_timestamp.cpp | MS/Overlapping_timestamp.cpp | C++ |
<|file_sep|>original/test/integration/generated_secret_test.rb
require 'gir_ffi_test_helper'
describe "The generated Secret module" do
describe "Secret::Schema" do
it "has a working constructor" do
begin
GirFFI.setup :Secret
rescue
skip "No GIR data for Secret available"
end
... | require 'gir_ffi_test_helper'
describe "The generated Secret module" do
describe "Secret::Schema" do
it "has a working constructor" do
begin
GirFFI.setup :Secret
rescue
skip "No GIR data for Secret available"
end
instance = Secret::Schema.new("foo", :none, "bar" => :string... | <|file_sep|>original/test/integration/generated_secret_test.rb
require 'gir_ffi_test_helper'
describe "The generated Secret module" do
describe "Secret::Schema" do
it "has a working constructor" do
begin
GirFFI.setup :Secret
rescue
skip "No GIR data for Secret available"
end
... | 1de99e791fc5008955c7558ad19aa0d8c8197eb7 | test/integration/generated_secret_test.rb | test/integration/generated_secret_test.rb | Ruby |
<|file_sep|>original/app/views/plants/new.html.erb
<div class="container">
<header class="page-header">
<h1>New Plant</h1>
</header>
<div>
<%= button_to 'Back to my plants', [:plants] %>
</div>
<div class="row">
<div class="col-sm-6 col-sm-offset-1">
<%= form_for @plant, url: plants_pat... | <div class="container">
<header class="page-header">
<h1>New Plant</h1>
</header>
<div>
<%= link_to 'Back', :plants, class: 'button' %>
</div>
<div class="row">
<div class="col-sm-6 col-sm-offset-1">
<%= form_for @plant, url: plants_path do |form| %>
<% if form.object.errors.... | <|file_sep|>original/app/views/plants/new.html.erb
<div class="container">
<header class="page-header">
<h1>New Plant</h1>
</header>
<div>
<%= button_to 'Back to my plants', [:plants] %>
</div>
<div class="row">
<div class="col-sm-6 col-sm-offset-1">
<%= form_for @plant, url: plants_pat... | dac37eef2dcc8d8a3a6eda460161f1a47ede1adc | app/views/plants/new.html.erb | app/views/plants/new.html.erb | HTML+ERB |
<|file_sep|>original/src/Root.js
import React, { Component, PropTypes } from 'react';
import { combineReducers } from 'redux';
import { Provider } from 'react-redux';
import { Grid, Row, Col } from 'react-bootstrap';
import Router from 'react-router/HashRouter';
import Match from 'react-router/Match';
import { Front }... | import React, { Component, PropTypes } from 'react';
import { combineReducers } from 'redux';
import { Provider } from 'react-redux';
import { Grid, Row, Col } from 'react-bootstrap';
import Router from 'react-router/BrowserRouter';
import Match from 'react-router/Match';
import { Front } from './Front';
import { Menu... | <|file_sep|>original/src/Root.js
import React, { Component, PropTypes } from 'react';
import { combineReducers } from 'redux';
import { Provider } from 'react-redux';
import { Grid, Row, Col } from 'react-bootstrap';
import Router from 'react-router/HashRouter';
import Match from 'react-router/Match';
import { Front }... | 6078a5380563bba38d4a805e5e6c4b998cb8706a | src/Root.js | src/Root.js | JavaScript |
<|file_sep|>original/CUtil.podspec
Pod::Spec.new do |s|
s.name = "CUtil"
s.version = "0.1.6"
s.summary = "CUtil is a common utilities collection. It is designed as a tool-box for iOS development."
s.author = { "Acttos" => "acttosma@gmail.com", "Jason" => "majinshou@gmail.com" }
s.socia... | Pod::Spec.new do |s|
s.name = "CUtil"
s.version = "0.1.7"
s.summary = "CUtil is a common utilities collection. It is designed as a tool-box for iOS development."
s.author = { "Acttos" => "acttosma@gmail.com", "Jason" => "majinshou@gmail.com" }
s.social_media_url = "https://twitter.com/... | <|file_sep|>original/CUtil.podspec
Pod::Spec.new do |s|
s.name = "CUtil"
s.version = "0.1.6"
s.summary = "CUtil is a common utilities collection. It is designed as a tool-box for iOS development."
s.author = { "Acttos" => "acttosma@gmail.com", "Jason" => "majinshou@gmail.com" }
s.socia... | 5de899fb5e9a32dc9d5a74d9a295e1c0293131b4 | CUtil.podspec | CUtil.podspec | Ruby |
<|file_sep|>index.js.diff
original:
// Import dependencies
var path = require('path');
var through = require('through2');
var resolve = require('resolve');
updated:
<|file_sep|>index.js.diff
original:
updated:
<|file_sep|>index.js.diff
original:
updated:
// Import dependencies
var path = require('path');
... | try {
resolve.sync(require);
} catch (exc) {
try {
// Try to resolve the require statement starting from the root folder
resolve.sync(require, {paths: ['.']});
replacement += relativeToRoot + path.sep;
} catch (exc2) {
... | <|file_sep|>index.js.diff
original:
// Import dependencies
var path = require('path');
var through = require('through2');
var resolve = require('resolve');
updated:
<|file_sep|>index.js.diff
original:
updated:
<|file_sep|>index.js.diff
original:
updated:
// Import dependencies
var path = require('path');
... | 3d5754d140f895ae94b57c137357ff2cb0a04635 | index.js | index.js | JavaScript |
<|file_sep|>src/config/store.js.diff
original:
updated:
import Vue from 'vue';
<|file_sep|>original/src/config/store.js
import 'es6-promise/auto';
import Vuex from 'vuex';
import authStore from 'src/stores/auth-store';
import connectionStore from 'src/stores/connection-store';
// Vue.use(Vuex);
export default new V... | import 'es6-promise/auto';
import Vue from 'vue';
import Vuex from 'vuex';
import authStore from 'src/stores/auth-store';
import connectionStore from 'src/stores/connection-store';
Vue.use(Vuex);
export default new Vuex.Store({
strict: true,
modules: {
auth: authStore,
connection: connectionStore,
},
}... | <|file_sep|>src/config/store.js.diff
original:
updated:
import Vue from 'vue';
<|file_sep|>original/src/config/store.js
import 'es6-promise/auto';
import Vuex from 'vuex';
import authStore from 'src/stores/auth-store';
import connectionStore from 'src/stores/connection-store';
// Vue.use(Vuex);
export default new V... | f248e289fbd7e80002dea4ab7e019182f87d86d6 | src/config/store.js | src/config/store.js | JavaScript |
<|file_sep|>original/src/test/java/no/javazone/HelloWorldResourceTest.java
<|file_sep|>current/src/test/java/no/javazone/HelloWorldResourceTest.java
<|file_sep|>updated/src/test/java/no/javazone/HelloWorldResourceTest.java | package no.javazone;
import io.dropwizard.testing.junit.ResourceTestRule;
import org.junit.ClassRule;
import org.junit.Test;
import javax.ws.rs.client.WebTarget;
import static org.assertj.core.api.Assertions.assertThat;
public class HelloWorldResourceTest {
@ClassRule
public static final ResourceTestRule res... | <|file_sep|>original/src/test/java/no/javazone/HelloWorldResourceTest.java
<|file_sep|>current/src/test/java/no/javazone/HelloWorldResourceTest.java
<|file_sep|>updated/src/test/java/no/javazone/HelloWorldResourceTest.java
package no.javazone;
import io.dropwizard.testing.junit.ResourceTestRule;
import org.junit.Cla... | 65184d101b660ac03f9b6b9bf16ecf33f4af9859 | src/test/java/no/javazone/HelloWorldResourceTest.java | src/test/java/no/javazone/HelloWorldResourceTest.java | Java |
<|file_sep|>original/locales/zh-TW/messages.properties
<|file_sep|>current/locales/zh-TW/messages.properties
<|file_sep|>updated/locales/zh-TW/messages.properties | one_time=單次
thank_you_for_your_donation=<em>感謝</em> 您的捐款
monthly=每月
please_select_an_amount=請選擇一個金額
other_amount=其他金額
secure=安全
credit_card=信用卡
this_is_required=此欄位必填
first_name=名字
last_name=姓氏
address=地址
city=城市
postal_code=郵遞區號
state_province=州/省
credit_card_number=信用卡卡號
MM=MM
YY=YY
CVC=CVC
donate_butcoins=使用 Bitcoin... | <|file_sep|>original/locales/zh-TW/messages.properties
<|file_sep|>current/locales/zh-TW/messages.properties
<|file_sep|>updated/locales/zh-TW/messages.properties
one_time=單次
thank_you_for_your_donation=<em>感謝</em> 您的捐款
monthly=每月
please_select_an_amount=請選擇一個金額
other_amount=其他金額
secure=安全
credit_card=信用卡
this_is_req... | e3df35df1e69606f81d6bf5059a969eab4324541 | locales/zh-TW/messages.properties | locales/zh-TW/messages.properties | INI |
<|file_sep|>original/lib/flatten.js
];
export default function (inputData) {
var flattenData = {},
formerKey;
priorityKeys.forEach(function (key) {
if (inputData.hasOwnProperty(key)) {
flattenData[key] = inputData[key];
delete inputData[key];
}
});
for ... | "private",
"publishConfig"
];
export default function (inputData) {
var flattenData = {},
formerKey;
priorityKeys.forEach(function (key) {
if (inputData.hasOwnProperty(key)) {
flattenData[key] = inputData[key];
delete inputData[key];
}
});
for (... | <|file_sep|>original/lib/flatten.js
];
export default function (inputData) {
var flattenData = {},
formerKey;
priorityKeys.forEach(function (key) {
if (inputData.hasOwnProperty(key)) {
flattenData[key] = inputData[key];
delete inputData[key];
}
});
for ... | 5871c8b7077eaeaf04049135142d7e34f6130e30 | lib/flatten.js | lib/flatten.js | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.