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/.travis.yml
language: java
services:
- mysql
env:
- MYSQL_PORT=3306 MYSQL_USER=root MYSQL_PASSWORD=
script: ./gradlew check --stacktrace
<|file_sep|>current/.travis.yml
language: java
services:
- mysql
env:
- MYSQL_PORT=3306 MYSQL_USER=root MYSQL_PASSWORD=
script: ./gradlew check --stacktra... | language: java
services:
- mysql
env:
- MYSQL_PORT=3306 MYSQL_USER=root MYSQL_PASSWORD=
script: ./gradlew check --stacktrace --info | <|file_sep|>original/.travis.yml
language: java
services:
- mysql
env:
- MYSQL_PORT=3306 MYSQL_USER=root MYSQL_PASSWORD=
script: ./gradlew check --stacktrace
<|file_sep|>current/.travis.yml
language: java
services:
- mysql
env:
- MYSQL_PORT=3306 MYSQL_USER=root MYSQL_PASSWORD=
script: ./gradlew check --stacktra... | 46486ea73d95c330f39111343c87445b347d0c28 | .travis.yml | .travis.yml | YAML |
<|file_sep|>rplugin/lisp/lisp-interface.lisp.diff
original:
(ql:quickload :arrow-macros)
updated:
<|file_sep|>rplugin/lisp/lisp-interface.lisp.diff
original:
(:use #:cl #:cl-neovim #:arrow-macros)
updated:
(:use #:cl #:cl-neovim)
<|file_sep|>rplugin/lisp/lisp-interface.lisp.diff
original:
updated:
(defmacro echo... | (:use #:cl #:cl-neovim)
(:shadowing-import-from #:cl #:defun #:eval))
(in-package :lisp-interface)
(defmacro echo-output (&body forms)
(let ((output (gensym)))
`(let ((,output (with-output-to-string (*standard-output*)
,@forms)))
(nvim:command (format nil "echo '~A'" ,output)))))... | <|file_sep|>rplugin/lisp/lisp-interface.lisp.diff
original:
(ql:quickload :arrow-macros)
updated:
<|file_sep|>rplugin/lisp/lisp-interface.lisp.diff
original:
(:use #:cl #:cl-neovim #:arrow-macros)
updated:
(:use #:cl #:cl-neovim)
<|file_sep|>rplugin/lisp/lisp-interface.lisp.diff
original:
updated:
(defmacro echo... | f53dca0d4058e1a070c837ec72418b308da9431b | rplugin/lisp/lisp-interface.lisp | rplugin/lisp/lisp-interface.lisp | Common Lisp |
<|file_sep|>src/js/pages/nodes/breadcrumbs/TaskDetailBreadcrumb.js.diff
original:
super.componentDidMount();
updated:
<|file_sep|>original/src/js/pages/nodes/breadcrumbs/TaskDetailBreadcrumb.js
this.store_listeners = [
{name: 'state', events: ['success'], listenAlways: false}
];
}
componentDidMo... | this.store_listeners = [
{name: 'state', events: ['success'], listenAlways: false}
];
}
componentDidMount() {
this.updateCrumbStatus();
}
componentWillReceiveProps() {
this.updateCrumbStatus();
}
onStateStoreSuccess() {
this.setState({isLoadingCrumb: false});
}
updateCrumbS... | <|file_sep|>src/js/pages/nodes/breadcrumbs/TaskDetailBreadcrumb.js.diff
original:
super.componentDidMount();
updated:
<|file_sep|>original/src/js/pages/nodes/breadcrumbs/TaskDetailBreadcrumb.js
this.store_listeners = [
{name: 'state', events: ['success'], listenAlways: false}
];
}
componentDidMo... | 9375f3cf27f9b2858050225f4cadcc2274c7612a | src/js/pages/nodes/breadcrumbs/TaskDetailBreadcrumb.js | src/js/pages/nodes/breadcrumbs/TaskDetailBreadcrumb.js | JavaScript |
<|file_sep|>app/views/search/find.html.erb.diff
original:
Search#Find
updated:
<!-- Search#Find -->
<|file_sep|>original/app/views/search/find.html.erb
Search#Find
<!-- SEARCH PANTRY FUNCTIONALITY -->
<div class='search_bar'>
<%= bootstrap_form_tag url: '/search/pantry', method: 'get' do |f| %>
<%= f.text_field ... | <!-- Search#Find -->
<!-- SEARCH PANTRY FUNCTIONALITY -->
<div class='search_bar'>
<%= bootstrap_form_tag url: '/search/pantry', method: 'get' do |f| %>
<%= f.text_field :search_term, label: "Search for Users/Pantries" , placeholder: "Search by user phone number"%>
<%= f.submit "Search" %>
<% end %>
</div>... | <|file_sep|>app/views/search/find.html.erb.diff
original:
Search#Find
updated:
<!-- Search#Find -->
<|file_sep|>original/app/views/search/find.html.erb
Search#Find
<!-- SEARCH PANTRY FUNCTIONALITY -->
<div class='search_bar'>
<%= bootstrap_form_tag url: '/search/pantry', method: 'get' do |f| %>
<%= f.text_field ... | 16bce32acd6cb97e1aaf9840490e9729a1222609 | app/views/search/find.html.erb | app/views/search/find.html.erb | HTML+ERB |
<|file_sep|>original/README.md
ascii-art
=========
Convert selected text to ascii art banner
<|file_sep|>current/README.md
ascii-art
=========
Convert selected text to ascii art banner
<|file_sep|>updated/README.md | ascii-art
=========
Convert selected text to ascii art banner
This is the source code for the [create your own package](https://atom.io/docs/latest/your-first-package) tutorial. | <|file_sep|>original/README.md
ascii-art
=========
Convert selected text to ascii art banner
<|file_sep|>current/README.md
ascii-art
=========
Convert selected text to ascii art banner
<|file_sep|>updated/README.md
ascii-art
=========
Convert selected text to ascii art banner
This is the source code for the [create... | 759ae0beb43092764819e4cbac856546efbe60d4 | README.md | README.md | Markdown |
<|file_sep|>bin/calculate_carry_over_allowance_for_all_users.js.diff
original:
updated:
moment = require('moment'),
<|file_sep|>bin/calculate_carry_over_allowance_for_all_users.js.diff
original:
YEAR_FROM = '2017',
YEAR_TO = '2018';
updated:
YEAR_FROM = '2018',
YEAR_TO = '2019';
<|file_sep|>bin/calculate... | * */
models.User
.findAll()
.then(users => Promise.map(
users,
user => {
let carryOver;
return Promise.resolve(user.getCompany().then(c => carryOver = c.carry_over))
.then(() => user.reload_with_leave_details({YEAR_FROM}))
.then(user => user.promise_allowance({year:moment.utc(Y... | <|file_sep|>bin/calculate_carry_over_allowance_for_all_users.js.diff
original:
updated:
moment = require('moment'),
<|file_sep|>bin/calculate_carry_over_allowance_for_all_users.js.diff
original:
YEAR_FROM = '2017',
YEAR_TO = '2018';
updated:
YEAR_FROM = '2018',
YEAR_TO = '2019';
<|file_sep|>bin/calculate... | e2a22c9fc6a4de0d806d5d7ec120ef5b1d1dd2da | bin/calculate_carry_over_allowance_for_all_users.js | bin/calculate_carry_over_allowance_for_all_users.js | JavaScript |
<|file_sep|>original/README.md
# Relais
This is work in progress. Build for and extracted from [Cocoa-Tree](http://cocoa-tree.github.io).
This project rocks and uses [MIT-LICENSE](MIT-LICENSE).
<|file_sep|>current/README.md
# Relais
This is work in progress. Build for and extracted from [Cocoa-Tree](http://cocoa-tre... | # Relais
[](https://travis-ci.org/dpree/relais)
[](https://codeclimate.com/github/dpree/relais)
This is work in progress. Build for and extracted from [Cocoa-Tree](http://cocoa-tree.github.io).
This... | <|file_sep|>original/README.md
# Relais
This is work in progress. Build for and extracted from [Cocoa-Tree](http://cocoa-tree.github.io).
This project rocks and uses [MIT-LICENSE](MIT-LICENSE).
<|file_sep|>current/README.md
# Relais
This is work in progress. Build for and extracted from [Cocoa-Tree](http://cocoa-tre... | b8cbb30327b6e2fb05d7a4b03f59ca7b1aec1185 | README.md | README.md | Markdown |
<|file_sep|>original/startup.sh
#!/bin/bash
bundle install
bundle exec shotgun -o '*' -p 3009
<|file_sep|>current/startup.sh
#!/bin/bash
bundle install
bundle exec shotgun -o '*' -p 3009
<|file_sep|>updated/startup.sh | #!/bin/bash
bundle install
bundle exec shotgun -o '0.0.0.0' -p 3009 | <|file_sep|>original/startup.sh
#!/bin/bash
bundle install
bundle exec shotgun -o '*' -p 3009
<|file_sep|>current/startup.sh
#!/bin/bash
bundle install
bundle exec shotgun -o '*' -p 3009
<|file_sep|>updated/startup.sh
#!/bin/bash
bundle install
bundle exec shotgun -o '0.0.0.0' -p 3009 | dd99bab7bff412cdcbaebb1b7bf69a84ee67db7c | startup.sh | startup.sh | Shell |
<|file_sep|>original/src/defcalc/defcalc.cpp
<|file_sep|>current/src/defcalc/defcalc.cpp
<|file_sep|>updated/src/defcalc/defcalc.cpp | //// Basic implementation of the icalcterm interface
#include "icalc/icalc.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#define EXPORT __attribute__ ((visibility ("default")))
extern "C" {
void EXPORT CI_init( CI_Config* config )
{
printf("Starting defcalc.\n");
}
// Note: this function retu... | <|file_sep|>original/src/defcalc/defcalc.cpp
<|file_sep|>current/src/defcalc/defcalc.cpp
<|file_sep|>updated/src/defcalc/defcalc.cpp
//// Basic implementation of the icalcterm interface
#include "icalc/icalc.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#define EXPORT __attribute__ ((visibility ("d... | b2d7e710de9cd6b7ea74f186aacada9daba47e72 | src/defcalc/defcalc.cpp | src/defcalc/defcalc.cpp | C++ |
<|file_sep|>lib/templates/android/inc/_attributes_properties.liquid.diff
original:
updated:
{%- capture default_value %}
{%- if attribute.default.size > 0 %} =
{%- if convert_type == "boolean" %}
{%- if attribute.default == "YES" %} true
{%- else %} false
{%... | {%- endcapture %}
{%- assign name = attribute.name -%}
{%- if name == primary_key %}
@PrimaryKey
{%- endif -%}
{%- if attribute.indexed == true %}
@Index
{%- endif -%}
{%- if attribute.realm_ignored == true %}
@Ignore
{%- endif -%}
{%- if attribute.json... | <|file_sep|>lib/templates/android/inc/_attributes_properties.liquid.diff
original:
updated:
{%- capture default_value %}
{%- if attribute.default.size > 0 %} =
{%- if convert_type == "boolean" %}
{%- if attribute.default == "YES" %} true
{%- else %} false
{%... | 44526f2184b202214292a4f8d2932cdbcf0417b7 | lib/templates/android/inc/_attributes_properties.liquid | lib/templates/android/inc/_attributes_properties.liquid | Liquid |
<|file_sep|>app/Repositories/RepositoryInterface.php.diff
original:
updated:
use Illuminate\Database\Eloquent\ModelNotFoundException;
<|file_sep|>app/Repositories/RepositoryInterface.php.diff
original:
updated:
* @throws ModelNotFoundException
<|file_sep|>original/app/Repositories/RepositoryInterface.php
public fu... | /**
* Fetches the specified entity from the storage.
*
* @param int $id
* @param array $columns
*
* @return Model
* @throws ModelNotFoundException
*/
public function getById($id, array $columns = ['*']);
/**
* Deletes the specified entity from the storage.
*
* @param int $id
*
* @re... | <|file_sep|>app/Repositories/RepositoryInterface.php.diff
original:
updated:
use Illuminate\Database\Eloquent\ModelNotFoundException;
<|file_sep|>app/Repositories/RepositoryInterface.php.diff
original:
updated:
* @throws ModelNotFoundException
<|file_sep|>original/app/Repositories/RepositoryInterface.php
public fu... | 5521fe141df2bd7599e35d6fc94f395da4f37286 | app/Repositories/RepositoryInterface.php | app/Repositories/RepositoryInterface.php | PHP |
<|file_sep|>original/service/requirements.txt
--index-url https://pypi.python.org/simple/
-e 'git+https://github.com/pixelated/python-gnupg.git@key_extension_and_sign#egg=gnupg'
pyasn1==0.1.9
requests==2.11.1
srp==1.0.6
whoosh==2.6.0
Twisted==16.1.1
-e 'git+https://0xacab.org/pixelated/leap_pycommon.git@develop#egg=le... | --index-url https://pypi.python.org/simple/
-e 'git+https://github.com/pixelated/python-gnupg.git@key_extension_and_sign#egg=gnupg'
pyasn1==0.1.9
requests==2.11.1
srp==1.0.6
whoosh==2.6.0
Twisted==16.1.1
-e 'git+https://0xacab.org/pixelated/leap_pycommon.git@develop#egg=leap.common'
-e 'git+https://0xacab.org/pixelate... | <|file_sep|>original/service/requirements.txt
--index-url https://pypi.python.org/simple/
-e 'git+https://github.com/pixelated/python-gnupg.git@key_extension_and_sign#egg=gnupg'
pyasn1==0.1.9
requests==2.11.1
srp==1.0.6
whoosh==2.6.0
Twisted==16.1.1
-e 'git+https://0xacab.org/pixelated/leap_pycommon.git@develop#egg=le... | 038d21cecd47ab185cfe575d5f51aa34b5ad6178 | service/requirements.txt | service/requirements.txt | Text |
<|file_sep|>src/Cell.js.diff
original:
transitionEnterTimeout={500}
transitionLeaveTimeout={500}
updated:
transitionEnterTimeout={300}
transitionLeaveTimeout={300}
<|file_sep|>src/Cell.js.diff
original:
<div
className="Cell-panel"
style={{ backgroundColo... | <CSSTransitionGroup
component="div"
className="Cell"
onClick={onClickCell}
transitionName="Cell-flip"
transitionEnterTimeout={300}
transitionLeaveTimeout={300}
>
<div className="Cell-flipper" key={value}>
<div className="Cell-panel" style={{ ... | <|file_sep|>src/Cell.js.diff
original:
transitionEnterTimeout={500}
transitionLeaveTimeout={500}
updated:
transitionEnterTimeout={300}
transitionLeaveTimeout={300}
<|file_sep|>src/Cell.js.diff
original:
<div
className="Cell-panel"
style={{ backgroundColo... | 5fe7c38c180528724676e76977dcf6934dd4782e | src/Cell.js | src/Cell.js | JavaScript |
<|file_sep|>package.json.diff
original:
"hapi": ">=2.x.x"
updated:
"hapi": "2.x.x || 3.x.x"
<|file_sep|>original/package.json
"bugs": {
"url": "https://github.com/bleupen/hapi-hal/issues"
},
"homepage": "https://github.com/bleupen/hapi-hal",
"dependencies": {
"hoek": "^1.... | "bugs": {
"url": "https://github.com/bleupen/hapi-hal/issues"
},
"homepage": "https://github.com/bleupen/hapi-hal",
"dependencies": {
"hoek": "^1.5.0",
"hal": "^0.1.0",
"url-template": "^2.0.4",
"lodash": "^2.4.1",
"swig": "^1.3.2"
},
"peerDependen... | <|file_sep|>package.json.diff
original:
"hapi": ">=2.x.x"
updated:
"hapi": "2.x.x || 3.x.x"
<|file_sep|>original/package.json
"bugs": {
"url": "https://github.com/bleupen/hapi-hal/issues"
},
"homepage": "https://github.com/bleupen/hapi-hal",
"dependencies": {
"hoek": "^1.... | 4670015841229ca5a6de1a6d13489e882685f6f7 | package.json | package.json | JSON |
<|file_sep|>original/index.md
---
layout: default
permalink: /
title: "Home"
image:
feature: home-feature-tall.jpg
---
{% if page.image.feature %}
<div class="page-lead" style="background-image:url({{ site.url }}/images/{{ page.image.feature }})">
<div class="wrap page-lead-content">
<h1>Lick Innovations</h1>
<... | ---
layout: default
permalink: /
title: "Home"
image:
feature: home-feature-tall.jpg
---
{% if page.image.feature %}
<div class="page-lead" style="background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url({{ site.url }}/images/{{ page.image.feature }})">
<div class="wrap page-lead-content">
<h1>Lic... | <|file_sep|>original/index.md
---
layout: default
permalink: /
title: "Home"
image:
feature: home-feature-tall.jpg
---
{% if page.image.feature %}
<div class="page-lead" style="background-image:url({{ site.url }}/images/{{ page.image.feature }})">
<div class="wrap page-lead-content">
<h1>Lick Innovations</h1>
<... | 686cf97338eb396bca2a9fcf08a5ca59fea49396 | index.md | index.md | Markdown |
<|file_sep|>src/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Activity.Current.net45.cs.diff
original:
updated:
// this code is specific to .NET 4.5 and uses CallContext to store Activity.Current which requires Activity to be Serializable.
[Serializable] // DO NOT remove
<|file_sep|>original/src/S... |
#if ALLOW_PARTIALLY_TRUSTED_CALLERS
[System.Security.SecuritySafeCriticalAttribute]
#endif
private set
{
CallContext.LogicalSetData(FieldKey, value);
}
}
#region private
[Serializable] // DO NOT remove
private... | <|file_sep|>src/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Activity.Current.net45.cs.diff
original:
updated:
// this code is specific to .NET 4.5 and uses CallContext to store Activity.Current which requires Activity to be Serializable.
[Serializable] // DO NOT remove
<|file_sep|>original/src/S... | 8a856105f0522681b77d8f55592ea6bd7f90fa4e | src/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Activity.Current.net45.cs | src/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Activity.Current.net45.cs | C# |
<|file_sep|>src/Verifier/SAW/Constant.hs.diff
original:
module Verifier.SAW.Constant (scConstant) where
import Verifier.SAW.SharedTerm
import Verifier.SAW.Rewriter
import Verifier.SAW.Conversion
updated:
<|file_sep|>original/src/Verifier/SAW/Constant.hs
module Verifier.SAW.Constant (scConstant) where
import Verifier.... | {- |
Module : Verifier.SAW.Constant
Copyright : Galois, Inc. 2012-2015
License : BSD3
Maintainer : huffman@galois.com
Stability : experimental
Portability : non-portable (language extensions)
-}
module Verifier.SAW.Constant (scConstant) where
import Verifier.SAW.SharedTerm
import Verifier.SAW.Rewriter
im... | <|file_sep|>src/Verifier/SAW/Constant.hs.diff
original:
module Verifier.SAW.Constant (scConstant) where
import Verifier.SAW.SharedTerm
import Verifier.SAW.Rewriter
import Verifier.SAW.Conversion
updated:
<|file_sep|>original/src/Verifier/SAW/Constant.hs
module Verifier.SAW.Constant (scConstant) where
import Verifier.... | ed839f8d1d8a3cbb05e7b3e6750e74ae609f8cad | src/Verifier/SAW/Constant.hs | src/Verifier/SAW/Constant.hs | Haskell |
<|file_sep|>azure/modules/kubeconfig/kubeconfig.tf.diff
original:
data "template_file" "kubeconfig" {
template = <<EOF
kubectl config set-cluster cluster-${ var.name } \
--embed-certs=true \
--server=https://${ var.fqdn_k8s } \
--certificate-authority=${ var.ca_pem }
kubectl config set-credentials admin-${ var... | provisioner "local-exec" {
command = <<LOCAL_EXEC
KUBECONFIG="${ var.data_dir}/kubeconfig" \
kubectl config set-cluster cluster-${ var.name } \
--server=https://${ var.fqdn_k8s } \
--certificate-authority=${ var.ca_pem } &&\
KUBECONFIG="${ var.data_dir}/kubeconfig" \
kubectl config set-credentials admin-${ va... | <|file_sep|>azure/modules/kubeconfig/kubeconfig.tf.diff
original:
data "template_file" "kubeconfig" {
template = <<EOF
kubectl config set-cluster cluster-${ var.name } \
--embed-certs=true \
--server=https://${ var.fqdn_k8s } \
--certificate-authority=${ var.ca_pem }
kubectl config set-credentials admin-${ var... | f614cfc4d5d5d6b4af9f3873d2e6d7543ac7880a | azure/modules/kubeconfig/kubeconfig.tf | azure/modules/kubeconfig/kubeconfig.tf | HCL |
<|file_sep|>.travis.yml.diff
original:
updated:
sudo: false
<|file_sep|>original/.travis.yml
language: python
python:
- 2.7
- 3.2
- 3.3
- 3.4
- 3.5-dev
install:
- pip install . coverage coveralls flake8 flake8-import-order nose
script:
- flake8
- nosetests
after_success:
- coveralls
<|file_sep|>current/.travis.yml
sud... | sudo: false
language: python
python:
- 2.7
- 3.2
- 3.3
- 3.4
- 3.5-dev
install:
- pip install . "coverage<4" coveralls flake8 flake8-import-order nose
script:
- flake8
- nosetests
after_success:
- coveralls | <|file_sep|>.travis.yml.diff
original:
updated:
sudo: false
<|file_sep|>original/.travis.yml
language: python
python:
- 2.7
- 3.2
- 3.3
- 3.4
- 3.5-dev
install:
- pip install . coverage coveralls flake8 flake8-import-order nose
script:
- flake8
- nosetests
after_success:
- coveralls
<|file_sep|>current/.travis.yml
sud... | 62b827326c0ea615a202c31d4071fef1a556745b | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements.txt
ansible-lint==4.2.0
docker==4.3.1
flake8==3.8.4
molecule==3.0.8
pytest==6.1.2
testinfra==5.3.1
tox==3.20.1
<|file_sep|>current/requirements.txt
ansible-lint==4.2.0
docker==4.3.1
flake8==3.8.4
molecule==3.0.8
pytest==6.1.2
testinfra==5.3.1
tox==3.20.1
<|file_sep|>updated/requirement... | ansible-lint==4.2.0
docker==4.3.1
flake8==3.8.4
molecule==3.0.8
pytest==6.1.2
testinfra==6.0.0
tox==3.20.1 | <|file_sep|>original/requirements.txt
ansible-lint==4.2.0
docker==4.3.1
flake8==3.8.4
molecule==3.0.8
pytest==6.1.2
testinfra==5.3.1
tox==3.20.1
<|file_sep|>current/requirements.txt
ansible-lint==4.2.0
docker==4.3.1
flake8==3.8.4
molecule==3.0.8
pytest==6.1.2
testinfra==5.3.1
tox==3.20.1
<|file_sep|>updated/requirement... | 03664520b0c0a30e3f56a9a167ad8215c84ff95c | requirements.txt | requirements.txt | Text |
<|file_sep|>original/tools/paas-uaa-assets/manifest.yml
---
applications:
- name: paas-uaa-assets
memory: 64M
disk_quota: 100M
instances: 2
<|file_sep|>current/tools/paas-uaa-assets/manifest.yml
---
applications:
- name: paas-uaa-assets
memory: 64M
disk_quota: 100M
instances: 2
<|file_sep|>updated/t... | ---
applications:
- name: paas-uaa-assets
memory: 64M
disk_quota: 100M
instances: 2
stack: cflinuxfs3 | <|file_sep|>original/tools/paas-uaa-assets/manifest.yml
---
applications:
- name: paas-uaa-assets
memory: 64M
disk_quota: 100M
instances: 2
<|file_sep|>current/tools/paas-uaa-assets/manifest.yml
---
applications:
- name: paas-uaa-assets
memory: 64M
disk_quota: 100M
instances: 2
<|file_sep|>updated/t... | efee0d7ceea682a7b34d98ea57bb9d5149ffc364 | tools/paas-uaa-assets/manifest.yml | tools/paas-uaa-assets/manifest.yml | YAML |
<|file_sep|>original/tox.ini
[tox]
envlist = py{36}
[testenv]
commands = flake8
py.test -v
deps =
flake8
pytest
-rrequirements.txt
<|file_sep|>current/tox.ini
[tox]
envlist = py{36}
[testenv]
commands = flake8
py.test -v
deps =
flake8
pytest
-rrequirements.txt
<|file_se... | [tox]
envlist = py{36}
[testenv]
commands = flake8
py.test -v
deps =
flake8
pytest
pytest-asyncio
-rrequirements.txt | <|file_sep|>original/tox.ini
[tox]
envlist = py{36}
[testenv]
commands = flake8
py.test -v
deps =
flake8
pytest
-rrequirements.txt
<|file_sep|>current/tox.ini
[tox]
envlist = py{36}
[testenv]
commands = flake8
py.test -v
deps =
flake8
pytest
-rrequirements.txt
<|file_se... | a5c9355d7ff386e5f60984d24a0d3cf6a39585ca | tox.ini | tox.ini | INI |
<|file_sep|>original/test/stack-test.js
'use strict';
var assert = require('assert');
var run = require('./fixture/run');
describe('stack', function () {
this.timeout(3000);
it('does not screw up xunit', function (done) {
run('passes', ['-R', 'xunit'], function (code, stdout) {
var lines = stdout.s... | 'use strict';
var assert = require('assert');
var run = require('./fixture/run');
describe('stack', function () {
this.timeout(3000);
it('does not screw up xunit', function (done) {
run('passes', ['-R', 'xunit'], function (code, stdout) {
var lines = stdout.split('\n');
assert.equal(lines[1].... | <|file_sep|>original/test/stack-test.js
'use strict';
var assert = require('assert');
var run = require('./fixture/run');
describe('stack', function () {
this.timeout(3000);
it('does not screw up xunit', function (done) {
run('passes', ['-R', 'xunit'], function (code, stdout) {
var lines = stdout.s... | 6f202897a9144a752c88c7dc992de17bc67c8f9c | test/stack-test.js | test/stack-test.js | JavaScript |
<|file_sep|>original/src/ofp/mptablestats.cpp
#include "ofp/writable.h"
#include "ofp/constants.h"
#include "ofp/log.h"
#include "ofp/validation.h"
using namespace ofp;
void MPTableStatsBuilder::write(Writable *channel) {
UInt8 version = channel->version();
if (version == OFP_VERSION_4) {
channel->write(&msg... | #include "ofp/writable.h"
#include "ofp/constants.h"
#include "ofp/log.h"
#include "ofp/validation.h"
using namespace ofp;
void MPTableStatsBuilder::write(Writable *channel) {
UInt8 version = channel->version();
if (version >= OFP_VERSION_4) {
channel->write(&msg_, 4);
channel->write(&msg_.activeCount_, ... | <|file_sep|>original/src/ofp/mptablestats.cpp
#include "ofp/writable.h"
#include "ofp/constants.h"
#include "ofp/log.h"
#include "ofp/validation.h"
using namespace ofp;
void MPTableStatsBuilder::write(Writable *channel) {
UInt8 version = channel->version();
if (version == OFP_VERSION_4) {
channel->write(&msg... | 65601d9e400a7354482d0e147d20437406df54c6 | src/ofp/mptablestats.cpp | src/ofp/mptablestats.cpp | C++ |
<|file_sep|>original/conda/meta.yaml
build:
noarch: python
number: {{ GIT_DESCRIBE_NUMBER }}
script: python setup.py install --single-version-externally-managed --record=record.txt
requirements:
build:
- python>=3.6
- setuptools
- pbr
run:
- python>=3.6
- nu... |
build:
noarch: python
number: {{ GIT_DESCRIBE_NUMBER }}
script: python setup.py install --single-version-externally-managed --record=record.txt
requirements:
build:
- python>=3.6
- setuptools
- setuptools_scm
- pbr
run:
- python>=3.6
- numpy
... | <|file_sep|>original/conda/meta.yaml
build:
noarch: python
number: {{ GIT_DESCRIBE_NUMBER }}
script: python setup.py install --single-version-externally-managed --record=record.txt
requirements:
build:
- python>=3.6
- setuptools
- pbr
run:
- python>=3.6
- nu... | e594bde035dd454aa17883706a24df49034142a1 | conda/meta.yaml | conda/meta.yaml | YAML |
<|file_sep|>original/plugin/gina.vim
if exists('g:gina_loaded')
finish
endif
let g:gina_loaded = 1
command! -nargs=* -range -bang -bar
\ -complete=customlist,gina#router#complete
\ Gina
\ call gina#router#command(
\ <q-bang>,
\ [<line1>, <line2>],
\ <q-args>,
\ has('... | if exists('g:gina_loaded')
finish
endif
let g:gina_loaded = 1
command! -nargs=* -range -bang -bar
\ -complete=customlist,gina#router#complete
\ Gina
\ call gina#router#command(<q-bang>, [<line1>, <line2>], <q-args>, <q-mods>)
augroup gina_internal
autocmd! *
autocmd BufReadCmd gina://* nested ... | <|file_sep|>original/plugin/gina.vim
if exists('g:gina_loaded')
finish
endif
let g:gina_loaded = 1
command! -nargs=* -range -bang -bar
\ -complete=customlist,gina#router#complete
\ Gina
\ call gina#router#command(
\ <q-bang>,
\ [<line1>, <line2>],
\ <q-args>,
\ has('... | f965e48e4f22f52afdf67ebfdb35fc83c631172f | plugin/gina.vim | plugin/gina.vim | VimL |
<|file_sep|>original/app/views/devise/registrations/_form.html.erb
<%= devise_error_messages! %>
<div class="field">
<%= f.email_field :email, autofocus: true %>
</div>
<div class="field">
<% if @minimum_password_length %>
<em>(<%= @minimum_password_length %> characters minimum)</em>
<% end %>... | <%= devise_error_messages! %>
<div class="field">
<%= f.email_field :email, autofocus: true %>
</div>
<div class="field">
<% if @minimum_password_length %>
<em>(<%= @minimum_password_length %> characters minimum)</em>
<% end %><br />
<%= f.password_field :password, autocomplete: "off" %>
... | <|file_sep|>original/app/views/devise/registrations/_form.html.erb
<%= devise_error_messages! %>
<div class="field">
<%= f.email_field :email, autofocus: true %>
</div>
<div class="field">
<% if @minimum_password_length %>
<em>(<%= @minimum_password_length %> characters minimum)</em>
<% end %>... | fbfb519f05408230209a118d0173be3f2002071f | app/views/devise/registrations/_form.html.erb | app/views/devise/registrations/_form.html.erb | HTML+ERB |
<|file_sep|>original/doc/source/devref/jenkins.rst
Continuous Integration with Jenkins
===================================
Each change made to Stackalytics core code is tested with unit and integration tests and style checks flake8.
Unit tests and style checks are performed on public `OpenStack Jenkins <https://jenki... | Continuous Integration with Jenkins
===================================
Each change made to Stackalytics core code is tested with unit and integration tests and style checks flake8.
Unit tests and style checks are performed on public `OpenStack Jenkins <https://jenkins.openstack.org/>`_ managed by `Zuul <https://zuul... | <|file_sep|>original/doc/source/devref/jenkins.rst
Continuous Integration with Jenkins
===================================
Each change made to Stackalytics core code is tested with unit and integration tests and style checks flake8.
Unit tests and style checks are performed on public `OpenStack Jenkins <https://jenki... | 6f6cbc4db23643596c889430362debfc081c8691 | doc/source/devref/jenkins.rst | doc/source/devref/jenkins.rst | reStructuredText |
<|file_sep|>original/.travis.yml
language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
- "pypy"
# Use container-based infrastructure
sudo: false
install:
# Coveralls 4.0 doesn't support Python 3.2
- if [ "$TRAVIS_PYTHON_VERSION" == "3.2" ]; then pip install coverage==3.7.1; fi
- if [ "$TRAVIS... | language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
- "3.6-dev"
- "3.7-dev"
- "nightly"
- "pypy"
# Use container-based infrastructure
sudo: false
install:
# Coveralls 4.0 doesn't support Python 3.2
- if [ "$TRAVIS_PYTHON_VERSION" == "3.2" ]; then pip install coverage==3.7.1; fi | <|file_sep|>original/.travis.yml
language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
- "pypy"
# Use container-based infrastructure
sudo: false
install:
# Coveralls 4.0 doesn't support Python 3.2
- if [ "$TRAVIS_PYTHON_VERSION" == "3.2" ]; then pip install coverage==3.7.1; fi
- if [ "$TRAVIS... | 31cc8cee94bced0031f76b88d9ab0a152d00f00d | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
language: python
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- pip install nose mock coverage pep8 pylint
- python setup.py develop
# command to run tests, e.g. python s... | language: python
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- pip install nose mock coverage pep8 "pylint<1.4"
- python setup.py develop
# command to run tests, e.g. python setup.py test
script:
- ... | <|file_sep|>original/.travis.yml
language: python
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- pip install nose mock coverage pep8 pylint
- python setup.py develop
# command to run tests, e.g. python s... | c15651ddb02a2fa4f6620e3c0bde204a93fe34b9 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
# CDNetworks API Demo script
CDNetworks API Demo python script will help you to automate CDNetworks.
## Getting Started
Clone repository to your local disk.
To get help of different options run
On Windows:
```
python CDNetworksAPIs.py -h
```
On Linux:
```
./CDNetworksAPIs.py
```
###... | # CDNetworks API Demo script
[CDNetworks](http://www.cdnetworks.com) API Demo python script to help you to automate your [CDNetworks](http://www.cdnetworks.com) configuration.
Demo script is built based on Open API - PAD Configuration v2.0.1
## Getting Started
Clone repository to your local disk.
To get help of diff... | <|file_sep|>original/README.md
# CDNetworks API Demo script
CDNetworks API Demo python script will help you to automate CDNetworks.
## Getting Started
Clone repository to your local disk.
To get help of different options run
On Windows:
```
python CDNetworksAPIs.py -h
```
On Linux:
```
./CDNetworksAPIs.py
```
###... | 8692849a16c8de9c3a811a9d3d18eaba4b49ee4a | README.md | README.md | Markdown |
<|file_sep|>original/requirements.txt
gunicorn==19.9.0
backports-abc==0.5
bkcharts==0.2
bokeh==1.3.4
certifi==2019.6.16
chardet==3.0.4
click==7.0
Flask==1.1.1
idna==2.8
itsdangerous==1.1.0
Jinja2>=2.10.1
MarkupSafe==1.1.1
numpy==1.17.1
python-dateutil==2.8.0
pyyaml>=4.2b1
requests>=2.20.0
singledispatch==3.4.0.3
six==1... | gunicorn==19.9.0
backports-abc==0.5
bkcharts==0.2
bokeh==1.3.4
certifi==2019.9.11
chardet==3.0.4
click==7.0
Flask==1.1.1
idna==2.8
itsdangerous==1.1.0
Jinja2>=2.10.1
MarkupSafe==1.1.1
numpy==1.17.1
python-dateutil==2.8.0
pyyaml>=4.2b1
requests>=2.20.0
singledispatch==3.4.0.3
six==1.12.0
tornado==6.0.3
urllib3>=1.24.2
W... | <|file_sep|>original/requirements.txt
gunicorn==19.9.0
backports-abc==0.5
bkcharts==0.2
bokeh==1.3.4
certifi==2019.6.16
chardet==3.0.4
click==7.0
Flask==1.1.1
idna==2.8
itsdangerous==1.1.0
Jinja2>=2.10.1
MarkupSafe==1.1.1
numpy==1.17.1
python-dateutil==2.8.0
pyyaml>=4.2b1
requests>=2.20.0
singledispatch==3.4.0.3
six==1... | f7962fafa84b8cae166f1d363eee9ff027f77283 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/requirements.txt
pydplace==0.4
Django==1.11.1
django-appconf==1.0.2
django-bootstrap3==8.2.3
django-filter==1.0.3
djangorestframework==3.6.3
ete3==3.0.0b35
psycopg2==2.7.1
python-nexus==1.42
six==1.10.0
coverage==4.4.1
flake8==3.3.0
newick==0.7
clldutils==1.9.5
attrs==17.1.0
<|file_sep|>current/req... | pydplace==0.4
Django==1.11.1
django-appconf==1.0.2
django-bootstrap3==8.2.3
django-filter==1.0.3
djangorestframework==3.6.3
ete3==3.0.0b35
psycopg2==2.7.1
python-nexus==1.42
six==1.10.0
coverage==4.4.1
flake8==3.3.0
newick==0.7
clldutils==1.10.1
attrs==17.1.0 | <|file_sep|>original/requirements.txt
pydplace==0.4
Django==1.11.1
django-appconf==1.0.2
django-bootstrap3==8.2.3
django-filter==1.0.3
djangorestframework==3.6.3
ete3==3.0.0b35
psycopg2==2.7.1
python-nexus==1.42
six==1.10.0
coverage==4.4.1
flake8==3.3.0
newick==0.7
clldutils==1.9.5
attrs==17.1.0
<|file_sep|>current/req... | 79ac91a742d708b509d644b2b3dfe8d4dfce6604 | requirements.txt | requirements.txt | Text |
<|file_sep|>src/VarWords.txt.diff
original:
updated:
AI
<|file_sep|>src/VarWords.txt.diff
original:
updated:
binary
<|file_sep|>src/VarWords.txt.diff
original:
updated:
boolean
<|file_sep|>src/VarWords.txt.diff
original:
updated:
delay
<|file_sep|>src/VarWords.txt.diff
original:
updated:
dogecoin
<|file_sep|>origi... | random
regex
robot
RPG
Runescape
search
segfault
server
size
solve
stop
story
test
thread
throughput
TCP
trap
tree
warning
web
WoW | <|file_sep|>src/VarWords.txt.diff
original:
updated:
AI
<|file_sep|>src/VarWords.txt.diff
original:
updated:
binary
<|file_sep|>src/VarWords.txt.diff
original:
updated:
boolean
<|file_sep|>src/VarWords.txt.diff
original:
updated:
delay
<|file_sep|>src/VarWords.txt.diff
original:
updated:
dogecoin
<|file_sep|>origi... | 4118633258a4e05cc453a993ac6043e8f5fc6254 | src/VarWords.txt | src/VarWords.txt | Text |
<|file_sep|>original/BUILD.md
raspbian-ua-netinst build instructions
======================================
The following scripts are used to build the raspbian-ua-netinst installer, listed in the same order they would be used:
- update.sh - Downloads latest Raspbian packages that will be used to build the installer... | raspbian-ua-netinst build instructions
======================================
The Required packages are zip, kpartx (sudo apt-get install zip kpartx).
The following scripts are used to build the raspbian-ua-netinst installer, listed in the same order they would be used:
- update.sh - Downloads latest Raspbian packa... | <|file_sep|>original/BUILD.md
raspbian-ua-netinst build instructions
======================================
The following scripts are used to build the raspbian-ua-netinst installer, listed in the same order they would be used:
- update.sh - Downloads latest Raspbian packages that will be used to build the installer... | edd349ee1f4f0b5a826f825d2dd1e4728d31c9a2 | BUILD.md | BUILD.md | Markdown |
<|file_sep|>original/lib/vagrant/actions/vm/customize.rb
module Vagrant
module Actions
module VM
class Customize < Base
def execute!
# Run the customization procs over the VM
Vagrant.config.vm.run_procs!(@runner.vm)
# Save the vm
@runner.vm.save(true)
... | module Vagrant
module Actions
module VM
class Customize < Base
def execute!
logger.info "Running any VM customizations..."
# Run the customization procs over the VM
Vagrant.config.vm.run_procs!(@runner.vm)
# Save the vm
@runner.vm.save(true)
... | <|file_sep|>original/lib/vagrant/actions/vm/customize.rb
module Vagrant
module Actions
module VM
class Customize < Base
def execute!
# Run the customization procs over the VM
Vagrant.config.vm.run_procs!(@runner.vm)
# Save the vm
@runner.vm.save(true)
... | 829d1231bfae129a257ed7baa713ee4c2b1d8fad | lib/vagrant/actions/vm/customize.rb | lib/vagrant/actions/vm/customize.rb | Ruby |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.2.3
- 2.3.1
- ruby-head
branches:
only:
- "master"
- "/^release-/"
before_install: gem install bundler
matrix:
fast_finish: true
include:
- rvm: jruby-9.0.5.0
env: DISABLE_NOKOGIRI=1
- rvm: jruby-9.0.5.0
env: DISABLE_NOKOGI... | language: ruby
rvm:
- 2.2.5
- 2.3.1
- ruby-head
branches:
only:
- "master"
- "/^release-/"
before_install: gem install bundler
matrix:
fast_finish: true
include:
- rvm: jruby-9.0.5.0
env: DISABLE_NOKOGIRI=1
- rvm: jruby-9.0.5.0
env: DISABLE_NOKOGIRI=0
allow_failures:
- rvm:... | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.2.3
- 2.3.1
- ruby-head
branches:
only:
- "master"
- "/^release-/"
before_install: gem install bundler
matrix:
fast_finish: true
include:
- rvm: jruby-9.0.5.0
env: DISABLE_NOKOGIRI=1
- rvm: jruby-9.0.5.0
env: DISABLE_NOKOGI... | 226960da89682f52eab6c99e64689213227f214d | .travis.yml | .travis.yml | YAML |
<|file_sep|>artifactory-pro/plan.sh.diff
original:
pkg_version=4.8.1
updated:
pkg_version=4.14.3
<|file_sep|>original/artifactory-pro/plan.sh
pkg_origin=core
pkg_name=artifactory-pro
pkg_version=4.8.1
pkg_maintainer="The Habitat Maintainers <humans@habitat.sh>"
pkg_license=("JFrog Artifactory EULA")
pkg_source=https://... | pkg_origin=core
pkg_name=artifactory-pro
pkg_version=4.14.3
pkg_maintainer="The Habitat Maintainers <humans@habitat.sh>"
pkg_license=("JFrog Artifactory EULA")
pkg_source=https://dl.bintray.com/jfrog/${pkg_name}/org/artifactory/pro/jfrog-${pkg_name}/${pkg_version}/jfrog-${pkg_name}-${pkg_version}.zip
pkg_shasum=470f7ca... | <|file_sep|>artifactory-pro/plan.sh.diff
original:
pkg_version=4.8.1
updated:
pkg_version=4.14.3
<|file_sep|>original/artifactory-pro/plan.sh
pkg_origin=core
pkg_name=artifactory-pro
pkg_version=4.8.1
pkg_maintainer="The Habitat Maintainers <humans@habitat.sh>"
pkg_license=("JFrog Artifactory EULA")
pkg_source=https://... | 8d71599e59672a88da4e1904a7d9c4b156cc15aa | artifactory-pro/plan.sh | artifactory-pro/plan.sh | Shell |
<|file_sep|>original/example_site/settings/travis.py
from .base import *
DEBUG = False
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.abspath(os.path.join(
BASE_DIR, '..', 'data', 'db.sqlite3')),
}
}
ALLOWED_HOSTS = [
'127.0.0.1'
... | from .base import *
DEBUG = False
# Make data dir
DATA_DIR = os.path.abspath(os.path.join(BASE_DIR, '..', 'data'))
not os.path.isdir(DATA_DIR) and os.mkdir(DATA_DIR, 0o0775)
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.abspath(os.path.join(
BASE_D... | <|file_sep|>original/example_site/settings/travis.py
from .base import *
DEBUG = False
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.abspath(os.path.join(
BASE_DIR, '..', 'data', 'db.sqlite3')),
}
}
ALLOWED_HOSTS = [
'127.0.0.1'
... | 1f8b19d3baa2970adc008d5b7903730b51edad58 | example_site/settings/travis.py | example_site/settings/travis.py | Python |
<|file_sep|>original/reel.gemspec
gem.description = "A Celluloid::IO-powered HTTP server"
gem.summary = "A reel good HTTP server"
gem.homepage = "https://github.com/celluloid/reel"
gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
gem.files = `git ls-fil... | gem.description = "A Celluloid::IO-powered HTTP server"
gem.summary = "A reel good HTTP server"
gem.homepage = "https://github.com/celluloid/reel"
gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
gem.files = `git ls-files`.split("\n")
gem.test_files ... | <|file_sep|>original/reel.gemspec
gem.description = "A Celluloid::IO-powered HTTP server"
gem.summary = "A reel good HTTP server"
gem.homepage = "https://github.com/celluloid/reel"
gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
gem.files = `git ls-fil... | 42b5f82c78797ab4b77fb78125a8aa1f52fe6552 | reel.gemspec | reel.gemspec | Ruby |
<|file_sep|>furikura/desktop/unity.py.diff
original:
import time
updated:
<|file_sep|>furikura/desktop/unity.py.diff
original:
from gi.repository import Unity, GObject
updated:
from gi.repository import Unity
<|file_sep|>original/furikura/desktop/unity.py
import gi
import time
gi.require_version('Unity', '7.0')
from ... | import gi
gi.require_version('Unity', '7.0')
from gi.repository import Unity
def update_counter(count):
launcher = Unity.LauncherEntry.get_for_desktop_id("furikura.desktop")
launcher.set_property("count", count)
launcher.set_property("count_visible", True) | <|file_sep|>furikura/desktop/unity.py.diff
original:
import time
updated:
<|file_sep|>furikura/desktop/unity.py.diff
original:
from gi.repository import Unity, GObject
updated:
from gi.repository import Unity
<|file_sep|>original/furikura/desktop/unity.py
import gi
import time
gi.require_version('Unity', '7.0')
from ... | 135ac2fa3aa978328ba72db6ca84920f3da0f39a | furikura/desktop/unity.py | furikura/desktop/unity.py | Python |
<|file_sep|>original/README.md
homepage
========
This is the source code for the project's home page at <http://gokien.org>.
<|file_sep|>current/README.md
homepage
========
This is the source code for the project's home page at <http://gokien.org>.
<|file_sep|>updated/README.md | homepage
========
This is the source code for the project's home page at <http://gokien.org>.
This site uses Jekyll as its backend. Here is how to use Jekyll (Vietnamese):
<https://github.com/AptechC1203L/project-g3#jekyll>. | <|file_sep|>original/README.md
homepage
========
This is the source code for the project's home page at <http://gokien.org>.
<|file_sep|>current/README.md
homepage
========
This is the source code for the project's home page at <http://gokien.org>.
<|file_sep|>updated/README.md
homepage
========
This is the source c... | 7139ecf3b011631ce6ca3269070d9099053e82f2 | README.md | README.md | Markdown |
<|file_sep|>original/react-native/react/constants/tabs.js
'use strict'
export const STARTUP_TAB = 'STARTUP_TAB'
export const FOLDER_TAB = 'FOLDER_TAB'
export const CHAT_TAB = 'CHAT_TAB'
export const PEOPLE_TAB = 'PEOPLE_TAB'
export const DEVICES_TAB = 'DEVICES_TAB'
export const MORE_TAB = 'MORE_TAB'
<|file_sep|>current... | 'use strict'
export const STARTUP_TAB = 'STARTUP_TAB'
export const FOLDER_TAB = 'FOLDER_TAB'
export const CHAT_TAB = 'CHAT_TAB'
export const PEOPLE_TAB = 'PEOPLE_TAB'
export const DEVICES_TAB = 'DEVICES_TAB'
export const MORE_TAB = 'MORE_TAB'
const prettyNames = {
[STARTUP_TAB]: null,
[FOLDER_TAB]: 'Folder',
[CH... | <|file_sep|>original/react-native/react/constants/tabs.js
'use strict'
export const STARTUP_TAB = 'STARTUP_TAB'
export const FOLDER_TAB = 'FOLDER_TAB'
export const CHAT_TAB = 'CHAT_TAB'
export const PEOPLE_TAB = 'PEOPLE_TAB'
export const DEVICES_TAB = 'DEVICES_TAB'
export const MORE_TAB = 'MORE_TAB'
<|file_sep|>current... | c7b00ee92b02ac777920fa65a83ebf9ab598058c | react-native/react/constants/tabs.js | react-native/react/constants/tabs.js | JavaScript |
<|file_sep|>original/requirements.txt
beautifulsoup4==4.6.3
croniter==0.3.26
Cython==0.29.2
git+git://github.com/andreasvc/pyre2.git@7146ce3#egg=re2
google-api-python-client==1.7.7
isodate==0.6.0
jsonpath-ng==1.4.3
lxml==4.2.5
numpy==1.15.4
parsedatetime==2.4
psutil==5.4.8
pyhedrals==0.1.2
python-dateutil==2.7.5
pytime... | beautifulsoup4==4.6.3
croniter==0.3.26
Cython==0.29.2
git+git://github.com/andreasvc/pyre2.git@7146ce3#egg=re2
google-api-python-client==1.7.7
isodate==0.6.0
jsonpath-ng==1.4.3
lxml==4.2.5
numpy==1.15.4
parsedatetime==2.4
psutil==5.4.8
pyhedrals==0.1.2
python-dateutil==2.7.5
pytimeparse==1.1.8
pyxDamerauLevenshtein==1.... | <|file_sep|>original/requirements.txt
beautifulsoup4==4.6.3
croniter==0.3.26
Cython==0.29.2
git+git://github.com/andreasvc/pyre2.git@7146ce3#egg=re2
google-api-python-client==1.7.7
isodate==0.6.0
jsonpath-ng==1.4.3
lxml==4.2.5
numpy==1.15.4
parsedatetime==2.4
psutil==5.4.8
pyhedrals==0.1.2
python-dateutil==2.7.5
pytime... | 9fa5fe1f3c680128d31a68bcd38c2576f03007de | requirements.txt | requirements.txt | Text |
<|file_sep|>original/.travis.yml
language: php
# use the new container infrastructure
#sudo: false
php:
- '7.1'
cache:
directories:
- vendor
before_script:
- composer self-update
- composer update --prefer-source
script:
- ./bin/phpspec run
- ./bin/phpstan analyse src -l 6
<|file_sep|>cur... | language: php
# use the new container infrastructure
#sudo: false
php:
- '7.1'
cache:
directories:
- vendor
before_script:
- composer self-update
script:
- ./bin/phpspec run
- ./bin/phpstan analyse src -l 6 | <|file_sep|>original/.travis.yml
language: php
# use the new container infrastructure
#sudo: false
php:
- '7.1'
cache:
directories:
- vendor
before_script:
- composer self-update
- composer update --prefer-source
script:
- ./bin/phpspec run
- ./bin/phpstan analyse src -l 6
<|file_sep|>cur... | b4810ac934eaa0ac177d1fd37c8e4e993de8baa7 | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/bin/open.rs.diff
original:
updated:
use std::io::BufferedWriter;
use std::io::stdio::stdout_raw;
<|file_sep|>original/src/bin/open.rs
let data = match file.read_to_end() {
Ok(x) => x,
Err(x) => fail!("Can't read: {}", x),
};
let data = match String::from_utf8(data) {
... | let data = match file.read_to_end() {
Ok(x) => x,
Err(x) => fail!("Can't read: {}", x),
};
let data = match String::from_utf8(data) {
Ok(x) => x,
Err(x) => fail!("Unable to convert to UTF-8: {}", x),
};
let p = Parser::new();
let d = match p.parse(data.as_slice... | <|file_sep|>src/bin/open.rs.diff
original:
updated:
use std::io::BufferedWriter;
use std::io::stdio::stdout_raw;
<|file_sep|>original/src/bin/open.rs
let data = match file.read_to_end() {
Ok(x) => x,
Err(x) => fail!("Can't read: {}", x),
};
let data = match String::from_utf8(data) {
... | f4b786a67aaae324f6e7e1fbc90807d8e37e2a10 | src/bin/open.rs | src/bin/open.rs | Rust |
<|file_sep|>original/src/components/semver-explain-constraint-warning.jsx
var SemverExplainConstraintWarning = React.createClass({
render: function() {
if (!this.props.constraint) {
return false;
}
this.props.constraint = new SemverConstraint(this.props.const... | var SemverExplainConstraintWarning = React.createClass({
render: function() {
if (!this.props.constraint) {
return false;
}
this.props.constraint = new SemverConstraint(this.props.constraint);
return (
<div>
<I... | <|file_sep|>original/src/components/semver-explain-constraint-warning.jsx
var SemverExplainConstraintWarning = React.createClass({
render: function() {
if (!this.props.constraint) {
return false;
}
this.props.constraint = new SemverConstraint(this.props.const... | ead1bac02ca8f004b4ddd6024ce2e66f8e35905f | src/components/semver-explain-constraint-warning.jsx | src/components/semver-explain-constraint-warning.jsx | JSX |
<|file_sep|>original/src/resharper-unity/annotations/UnityEditor.EditorTestsRunner.xml
<|file_sep|>current/src/resharper-unity/annotations/UnityEditor.EditorTestsRunner.xml
<|file_sep|>updated/src/resharper-unity/annotations/UnityEditor.EditorTestsRunner.xml | <assembly name="UnityEditor.EditorTestsRunner">
<member name="M:UnityEditor.EditorTestsRunner.EditorTestsWithLogParser.ExpectLogLineRegex(System.String)">
<parameter name="pattern">
<attribute ctor="M:JetBrains.Annotations.NotNullAttribute.#ctor" />
<attribute ctor="M:JetBrains.Annotations.RegexPatter... | <|file_sep|>original/src/resharper-unity/annotations/UnityEditor.EditorTestsRunner.xml
<|file_sep|>current/src/resharper-unity/annotations/UnityEditor.EditorTestsRunner.xml
<|file_sep|>updated/src/resharper-unity/annotations/UnityEditor.EditorTestsRunner.xml
<assembly name="UnityEditor.EditorTestsRunner">
<member n... | 7d3b41d5ee2c3f4132585e1c2585559181f566ac | src/resharper-unity/annotations/UnityEditor.EditorTestsRunner.xml | src/resharper-unity/annotations/UnityEditor.EditorTestsRunner.xml | XML |
<|file_sep|>original/.travis.yml
language: node_js
branches:
except:
- gh-pages
node_js:
- 4
- 5
- 6
- 7
before_script:
- npm run tsc
script:
- npm run cover
after_success:
- npm run cover:up
notifications:
email: false
<|file_sep|>current/.travis.yml
language: node_js
branches:
except:
- gh... | language: node_js
branches:
except:
- gh-pages
node_js:
- 4
- 6
- 7
before_script:
- npm run tsc
script:
- npm run cover
after_success:
- npm run cover:up
notifications:
email: false | <|file_sep|>original/.travis.yml
language: node_js
branches:
except:
- gh-pages
node_js:
- 4
- 5
- 6
- 7
before_script:
- npm run tsc
script:
- npm run cover
after_success:
- npm run cover:up
notifications:
email: false
<|file_sep|>current/.travis.yml
language: node_js
branches:
except:
- gh... | 9a9361727784d233fb60b1b8865c99530523b2ff | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/renderer/components/query-result-table.scss
.query-result-table {
.pagination {
text-align: center !important;
ul, li {
display: inline-block;
}
li {
padding: 0 0.5em;
&.active {
a {
color: #fff;
background: #1e70bf;
b... | .pagination {
text-align: center !important;
ul, li {
display: inline-block;
}
li {
padding: 0 0.5em;
&.active {
a {
color: #fff;
background: #1e70bf;
border-radius: 15px;
padding: 0.5em 0.80em;
}
}
}
}
} | <|file_sep|>original/src/renderer/components/query-result-table.scss
.query-result-table {
.pagination {
text-align: center !important;
ul, li {
display: inline-block;
}
li {
padding: 0 0.5em;
&.active {
a {
color: #fff;
background: #1e70bf;
b... | 2b8376dc99ab01c5ee4d1840e1fdd9aee07d4944 | src/renderer/components/query-result-table.scss | src/renderer/components/query-result-table.scss | SCSS |
<|file_sep|>about/index.md.diff
original:
title: About the Charcha
updated:
title: About Charcha
<|file_sep|>about/index.md.diff
original:
Holding a virtual audio discussion via Internet has been a challenge as the number of participants (in the discussion) increases. Google Hangouts allows a maximum of ten participa... | ---
layout: page
title: About Charcha
modified: 2014-08-08T19:44:38.564948-04:00
---
Charcha is an online audio conferencing tool with special added functionalities. As an online audio conferencing tool, it allows a large number of users to connect on an online audio call. A special feature provided by Charcha is sync... | <|file_sep|>about/index.md.diff
original:
title: About the Charcha
updated:
title: About Charcha
<|file_sep|>about/index.md.diff
original:
Holding a virtual audio discussion via Internet has been a challenge as the number of participants (in the discussion) increases. Google Hangouts allows a maximum of ten participa... | 5977a1a4bfe72054681539406513ca3eb613b51d | about/index.md | about/index.md | Markdown |
<|file_sep|>original/tri/photo.py
<|file_sep|>current/tri/photo.py
<|file_sep|>updated/tri/photo.py | #!/usr/bin/python
import re
from os import listdir, makedirs, link, walk, rename
from os.path import isdir,isfile
cam_directory = '/home/poclement/Dropbox/Camera Uploads'
file_list = listdir(cam_directory)
archive_directory = ('/home/poclement/Dropbox/Images/Archive_Camera')
for f in file_list:
m = re.search('^(... | <|file_sep|>original/tri/photo.py
<|file_sep|>current/tri/photo.py
<|file_sep|>updated/tri/photo.py
#!/usr/bin/python
import re
from os import listdir, makedirs, link, walk, rename
from os.path import isdir,isfile
cam_directory = '/home/poclement/Dropbox/Camera Uploads'
file_list = listdir(cam_directory)
archive_di... | 033d46a8157146027f2fe4bc94c6e1ae6ba49f6a | tri/photo.py | tri/photo.py | Python |
<|file_sep|>original/.travis.yml
# Add build number to version
before_script: sed -ri "s/Version\(\"(.*).0.0\"\)/Version(\"\1.${TRAVIS_BUILD_NUMBER}.0\")/g" OxidePatcher/Properties/AssemblyInfo.cs
# Build the project
solution: OxidePatcher.sln /p:win32Icon="Resources/logo.ico"
# Run deployment script
after_success: ... | language: csharp
# Add build number to version
before_script: sed -ri "s/Version\(\"(.*).0.0\"\)/Version(\"\1.${TRAVIS_BUILD_NUMBER}.0\")/g" OxidePatcher/Properties/AssemblyInfo.cs
# Build the project
solution: OxidePatcher.sln /p:win32Icon="Resources/logo.ico"
# Run deployment script
after_success: "[[ $TRAVIS_PULL... | <|file_sep|>original/.travis.yml
# Add build number to version
before_script: sed -ri "s/Version\(\"(.*).0.0\"\)/Version(\"\1.${TRAVIS_BUILD_NUMBER}.0\")/g" OxidePatcher/Properties/AssemblyInfo.cs
# Build the project
solution: OxidePatcher.sln /p:win32Icon="Resources/logo.ico"
# Run deployment script
after_success: ... | b1798d589a394134f9806f8c6a2e9367a4d9cbf2 | .travis.yml | .travis.yml | YAML |
<|file_sep|>core/sql/cj_base_table.sql.diff
original:
updated:
--
-- Table structure for table `cj_base_table`
--
<|file_sep|>core/sql/cj_base_table.sql.diff
original:
`id` int(11) unsigned NOT NULL,
updated:
`id` int(11) unsigned NOT NULL,
<|file_sep|>core/sql/cj_base_table.sql.diff
original:
DELIMITER //
CREATE T... | DELIMITER ;
--
-- Indexes for dumped tables
--
--
-- Indexes for table `cj_base_table`
--
ALTER TABLE `cj_base_table`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `cj_base_table`
--
ALTER TABLE `cj_base_table`
MODIFY `id` int(11) unsigned NOT NULL AUTO_INCREMENT; | <|file_sep|>core/sql/cj_base_table.sql.diff
original:
updated:
--
-- Table structure for table `cj_base_table`
--
<|file_sep|>core/sql/cj_base_table.sql.diff
original:
`id` int(11) unsigned NOT NULL,
updated:
`id` int(11) unsigned NOT NULL,
<|file_sep|>core/sql/cj_base_table.sql.diff
original:
DELIMITER //
CREATE T... | 122d60b23b0a6903df156cf8bd197b324349d1f2 | core/sql/cj_base_table.sql | core/sql/cj_base_table.sql | SQL |
<|file_sep|>original/tox.ini
[tox]
envlist=flake8,py27,py33,py34,py35,pypy,pypy3
[testenv]
deps=
pytest
pytest-cov
commands=
sqlformat --version # Sanity check.
py.test --cov=sqlparse/ tests
[testenv:flake8]
basepython=python3.5
deps=flake8
commands=flake8 .
<|file_sep|>current/tox.ini
[tox]
envlist=flake8,p... | [tox]
envlist=flake8,py27,py33,py34,py35,pypy,pypy3
[testenv]
deps=
pytest
pytest-cov
commands=
sqlformat --version # Sanity check.
py.test --cov=sqlparse/ tests
[testenv:flake8]
basepython=python3.5
deps=flake8
commands=flake8 --exclude=docs/ . | <|file_sep|>original/tox.ini
[tox]
envlist=flake8,py27,py33,py34,py35,pypy,pypy3
[testenv]
deps=
pytest
pytest-cov
commands=
sqlformat --version # Sanity check.
py.test --cov=sqlparse/ tests
[testenv:flake8]
basepython=python3.5
deps=flake8
commands=flake8 .
<|file_sep|>current/tox.ini
[tox]
envlist=flake8,p... | 4b686c4d7fd0d645fbd8f219794d4b2e6edd48a5 | tox.ini | tox.ini | INI |
<|file_sep|>corehq/apps/hqwebapp/static/hqwebapp/js/stay-on-tab.js.diff
original:
// Activate latest tab on document ready
updated:
// Activate latest (or first) tab on document ready
<|file_sep|>original/corehq/apps/hqwebapp/static/hqwebapp/js/stay-on-tab.js
// hqDefine intentionally not used
// Modified from... | // Modified from
// http://stackoverflow.com/questions/10523433/how-do-i-keep-the-current-tab-active-with-twitter-bootstrap-after-a-page-reload
$(function() {
// Save latest tab when switching tabs
$(document).on('shown.bs.tab', 'a[data-toggle="tab"]', function(e){
var href = $(e.target).attr('href');
... | <|file_sep|>corehq/apps/hqwebapp/static/hqwebapp/js/stay-on-tab.js.diff
original:
// Activate latest tab on document ready
updated:
// Activate latest (or first) tab on document ready
<|file_sep|>original/corehq/apps/hqwebapp/static/hqwebapp/js/stay-on-tab.js
// hqDefine intentionally not used
// Modified from... | c100b138f7314da553a0657573e8dd584ce9e8c7 | corehq/apps/hqwebapp/static/hqwebapp/js/stay-on-tab.js | corehq/apps/hqwebapp/static/hqwebapp/js/stay-on-tab.js | JavaScript |
<|file_sep|>original/package.json
"version": "0.3.0-pre",
"description": "## Why ?",
"main": "./lib/spytext.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "https://github.com/thecodebureau/spytext"
},
"author": "",
"license"... | "version": "0.3.0-pre",
"description": "## Why ?",
"main": "./lib/spytext.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "https://github.com/thecodebureau/spytext"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "h... | <|file_sep|>original/package.json
"version": "0.3.0-pre",
"description": "## Why ?",
"main": "./lib/spytext.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "https://github.com/thecodebureau/spytext"
},
"author": "",
"license"... | 570863eb041e148d0ba0f76596a9bf01f52454c2 | package.json | package.json | JSON |
<|file_sep|>_pages/projects.md.diff
original:
last_modified_at: 2017-06-25 00:00:00 +0800
updated:
last_modified_at: 2017-07-01 23:00:00 +0800
<|file_sep|>_pages/projects.md.diff
original:
## Atom Packages
updated:
[CJK Fonts Package for Atom Editor](https://github.com/jmlntw/atom-fonts-cjk)
: 在 Atom Editor 直接使用各種適合 CJ... | date: 2017-06-25 00:00:00 +0800
last_modified_at: 2017-07-01 23:00:00 +0800
order: 1
---
看看我做了什麼玩意。
[CJK Fonts Package for Atom Editor](https://github.com/jmlntw/atom-fonts-cjk)
: 在 Atom Editor 直接使用各種適合 CJK 環境的字型。
<https://atom.io/packages/fonts-cjk>
[Chinese Translator for Atom Editor](https://github.com/jmlntw/a... | <|file_sep|>_pages/projects.md.diff
original:
last_modified_at: 2017-06-25 00:00:00 +0800
updated:
last_modified_at: 2017-07-01 23:00:00 +0800
<|file_sep|>_pages/projects.md.diff
original:
## Atom Packages
updated:
[CJK Fonts Package for Atom Editor](https://github.com/jmlntw/atom-fonts-cjk)
: 在 Atom Editor 直接使用各種適合 CJ... | 5348180eac0f1d3441bb86a0840e4a9125773714 | _pages/projects.md | _pages/projects.md | Markdown |
<|file_sep|>original/lib/pg_search.rb
module PgSearch
extend ActiveSupport::Concern
module ClassMethods
def pg_search_scope(name, options)
scope = PgSearch::Scope.new(name, self, options)
scope_method =
if respond_to?(:scope) && !protected_methods.include?('scope')
:scope # Activ... | require "pg_search/version"
#require "pg_search/railtie" if defined?(Rails) && defined?(Rails::Railtie)
module PgSearch
extend ActiveSupport::Concern
module ClassMethods
def pg_search_scope(name, options)
self.scope(
name,
PgSearch::Scope.new(name, self, options).to_proc
)
end
... | <|file_sep|>original/lib/pg_search.rb
module PgSearch
extend ActiveSupport::Concern
module ClassMethods
def pg_search_scope(name, options)
scope = PgSearch::Scope.new(name, self, options)
scope_method =
if respond_to?(:scope) && !protected_methods.include?('scope')
:scope # Activ... | 034a9bc83c7395c745b2f6af0d1bf1c977b54fb2 | lib/pg_search.rb | lib/pg_search.rb | Ruby |
<|file_sep|>original/.travis.yml
language: java
jdk:
- oraclejdk8
<|file_sep|>current/.travis.yml
language: java
jdk:
- oraclejdk8
<|file_sep|>updated/.travis.yml | language: java
jdk:
- oraclejdk8
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/ | <|file_sep|>original/.travis.yml
language: java
jdk:
- oraclejdk8
<|file_sep|>current/.travis.yml
language: java
jdk:
- oraclejdk8
<|file_sep|>updated/.travis.yml
language: java
jdk:
- oraclejdk8
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- $HOME/.gradle/caches... | c100785f399f540502eacf871f73cefbebd48df6 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/site-cookbooks/media-server/recipes/plex.rb
docker_image 'plex' do
source '/data/configs/dockerfiles/plex'
action :build_if_missing
end
docker_container 'plex' do
repo 'plex'
memory '4096M'
network_mode 'host'
volumes [
'/data/configs/plex:/config',
'/data/shar... |
docker_image 'plex' do
source '/data/configs/dockerfiles/plex'
action :build_if_missing
end
docker_container 'plex' do
repo 'plex'
memory '4096M'
network_mode 'host'
env [ 'PLEX_MEDIA_SERVER_USER=nobody' ]
volumes [
'/data/configs/plex:/config',
'/data/shares/Media:/media',
... | <|file_sep|>original/site-cookbooks/media-server/recipes/plex.rb
docker_image 'plex' do
source '/data/configs/dockerfiles/plex'
action :build_if_missing
end
docker_container 'plex' do
repo 'plex'
memory '4096M'
network_mode 'host'
volumes [
'/data/configs/plex:/config',
'/data/shar... | 0809ee9fdaf239e89b85a8daebe8b4eb7b916073 | site-cookbooks/media-server/recipes/plex.rb | site-cookbooks/media-server/recipes/plex.rb | Ruby |
<|file_sep|>original/README.md
# CachetHQ Status
`CachetStatus` uses CachetHQ API to get a list of system components and their
statuses.
You decide what to do with received information. On the demo page you could
find an example of a nice looking popover window with all GoHiring APIs and their current statuses.
## U... | # CachetHQ Status
> CachetHQ - an open source status page system, for everyone.
> -- [cachethq.io](https://cachethq.io/)
`CachetStatus` uses CachetHQ API to get a list of system components and their
statuses.
You decide what to do with received information. On the demo page you could
find an example of a nice look... | <|file_sep|>original/README.md
# CachetHQ Status
`CachetStatus` uses CachetHQ API to get a list of system components and their
statuses.
You decide what to do with received information. On the demo page you could
find an example of a nice looking popover window with all GoHiring APIs and their current statuses.
## U... | d7fa6953e6446275b5d2675a1ad0f3f18d2e4493 | README.md | README.md | Markdown |
<|file_sep|>bubble-wrap.gemspec.diff
original:
gem.authors = ["Matt Aimonetti", "Francis Chong"]
gem.email = ["mattaimonetti@gmail.com", "francis@ignition.hk"]
updated:
gem.authors = ["Matt Aimonetti", "Francis Chong", "James Harton"]
gem.email = ["mattaimonetti@gmail.com", "francis@... | # -*- encoding: utf-8 -*-
require File.expand_path('../lib/bubble-wrap/version', __FILE__)
Gem::Specification.new do |gem|
gem.authors = ["Matt Aimonetti", "Francis Chong", "James Harton"]
gem.email = ["mattaimonetti@gmail.com", "francis@ignition.hk", "james@sociable.co.nz"]
gem.description = "Ru... | <|file_sep|>bubble-wrap.gemspec.diff
original:
gem.authors = ["Matt Aimonetti", "Francis Chong"]
gem.email = ["mattaimonetti@gmail.com", "francis@ignition.hk"]
updated:
gem.authors = ["Matt Aimonetti", "Francis Chong", "James Harton"]
gem.email = ["mattaimonetti@gmail.com", "francis@... | 51c91bda006190953d206b1c71f85bb49a908996 | bubble-wrap.gemspec | bubble-wrap.gemspec | Ruby |
<|file_sep|>original/spec/views/mentorships/show.html.erb_spec.rb
describe "/mentorships/show.html.erb" do
include MentorshipsHelper
before(:each) do
assigns[:mentorship] = @mentorship = stub_model(Mentorship,
:mentee_id => 1,
:mentor_id => 1,
:sender_id => 1,
:receiver_id => 1
)
... | include MentorshipsHelper
before(:each) do
assigns[:mentorship] = @mentorship = stub_model(Mentorship,
:mentee_id => 1,
:mentor_id => 1,
:sender_id => 1,
:receiver_id => 1
)
end
it "renders attributes in <p>" do
pending "I don't spec views"
render
response.shoul... | <|file_sep|>original/spec/views/mentorships/show.html.erb_spec.rb
describe "/mentorships/show.html.erb" do
include MentorshipsHelper
before(:each) do
assigns[:mentorship] = @mentorship = stub_model(Mentorship,
:mentee_id => 1,
:mentor_id => 1,
:sender_id => 1,
:receiver_id => 1
)
... | 16da71b1b9a7d191974a968920d83af54b3068a5 | spec/views/mentorships/show.html.erb_spec.rb | spec/views/mentorships/show.html.erb_spec.rb | Ruby |
<|file_sep|>original/requirements-tests.txt
-r requirements.txt
-e .
ipdb==0.10.3
pytest==3.2.0
pytest-sugar==0.9.0
<|file_sep|>current/requirements-tests.txt
-r requirements.txt
-e .
ipdb==0.10.3
pytest==3.2.0
pytest-sugar==0.9.0
<|file_sep|>updated/requirements-tests.txt | -r requirements.txt
-e .
ipdb==0.10.3
pytest==3.9.3
pytest-sugar==0.9.0 | <|file_sep|>original/requirements-tests.txt
-r requirements.txt
-e .
ipdb==0.10.3
pytest==3.2.0
pytest-sugar==0.9.0
<|file_sep|>current/requirements-tests.txt
-r requirements.txt
-e .
ipdb==0.10.3
pytest==3.2.0
pytest-sugar==0.9.0
<|file_sep|>updated/requirements-tests.txt
-r requirements.txt
-e .
ipdb==0.10.3
pytes... | b36eb4391a73ed6890f5dc61effa6cd7879a0874 | requirements-tests.txt | requirements-tests.txt | Text |
<|file_sep|>original/crypto/ec/curve448/arch_32/arch_intrinsics.h
*
* Originally written by Mike Hamburg
*/
#ifndef __ARCH_ARCH_32_ARCH_INTRINSICS_H__
# define __ARCH_ARCH_32_ARCH_INTRINSICS_H__
# define ARCH_WORD_BITS 32
static ossl_inline uint32_t word_is_zero(uint32_t a)
{
/* let's hope the compiler isn't ... | *
* Originally written by Mike Hamburg
*/
#ifndef __ARCH_ARCH_32_ARCH_INTRINSICS_H__
# define __ARCH_ARCH_32_ARCH_INTRINSICS_H__
# define ARCH_WORD_BITS 32
static ossl_inline uint32_t word_is_zero(uint32_t a)
{
/* let's hope the compiler isn't clever enough to optimize this. */
return (((uint64_t)a) - 1) ... | <|file_sep|>original/crypto/ec/curve448/arch_32/arch_intrinsics.h
*
* Originally written by Mike Hamburg
*/
#ifndef __ARCH_ARCH_32_ARCH_INTRINSICS_H__
# define __ARCH_ARCH_32_ARCH_INTRINSICS_H__
# define ARCH_WORD_BITS 32
static ossl_inline uint32_t word_is_zero(uint32_t a)
{
/* let's hope the compiler isn't ... | 06d72c2c64ecad9b36a0bf26139320e569bd05e3 | crypto/ec/curve448/arch_32/arch_intrinsics.h | crypto/ec/curve448/arch_32/arch_intrinsics.h | C |
<|file_sep|>original/client/src/test/java/replicant/spy/DataLoaderMessageProcessEventTest.java
<|file_sep|>current/client/src/test/java/replicant/spy/DataLoaderMessageProcessEventTest.java
<|file_sep|>updated/client/src/test/java/replicant/spy/DataLoaderMessageProcessEventTest.java | package replicant.spy;
import arez.Arez;
import java.util.HashMap;
import org.realityforge.guiceyloops.shared.ValueUtil;
import org.realityforge.replicant.client.transport.DataLoadStatus;
import org.testng.annotations.Test;
import replicant.AbstractReplicantTest;
import static org.testng.Assert.*;
public class DataLo... | <|file_sep|>original/client/src/test/java/replicant/spy/DataLoaderMessageProcessEventTest.java
<|file_sep|>current/client/src/test/java/replicant/spy/DataLoaderMessageProcessEventTest.java
<|file_sep|>updated/client/src/test/java/replicant/spy/DataLoaderMessageProcessEventTest.java
package replicant.spy;
import arez... | 27f58de7a0349b5ef695e746ca22be5fbc9d8844 | client/src/test/java/replicant/spy/DataLoaderMessageProcessEventTest.java | client/src/test/java/replicant/spy/DataLoaderMessageProcessEventTest.java | Java |
<|file_sep|>original/CHANGELOG.md
## 0.2.1
* Fix #1
## 0.2.0
* Add settings to select which parts should be fixed.
* Add setting to focus the editor upon opening a file.
## 0.1.0
* Initial release.
<|file_sep|>current/CHANGELOG.md
## 0.2.1
* Fix #1
## 0.2.0
* Add settings to select which parts should be fixed.
* Add... | ## 0.2.2
* Fix #4 - thanks @bjmiller for the dispose method patch!
## 0.2.1
* Fix #1
## 0.2.0
* Add settings to select which parts should be fixed.
* Add setting to focus the editor upon opening a file.
## 0.1.0
* Initial release. | <|file_sep|>original/CHANGELOG.md
## 0.2.1
* Fix #1
## 0.2.0
* Add settings to select which parts should be fixed.
* Add setting to focus the editor upon opening a file.
## 0.1.0
* Initial release.
<|file_sep|>current/CHANGELOG.md
## 0.2.1
* Fix #1
## 0.2.0
* Add settings to select which parts should be fixed.
* Add... | fc10849d41666ccbca90e05b602312dc65394bf9 | CHANGELOG.md | CHANGELOG.md | Markdown |
<|file_sep|>original/tmuxinator/tachyons-components.yml
# ~/.tmuxinator/tachyons-components.yml
name: tachyons-components
root: ~/elm/tachyons-components
on_project_first_start:
- asdf local nodejs 11.0.0
- asdf local elm 0.18.0
# Server
- open --background http://localhost:3000
# elm-analyse
- open --bac... | # ~/.tmuxinator/tachyons-components.yml
name: tachyons-components
root: ~/elm/tachyons-components
on_project_first_start:
- asdf local nodejs 11.12.0
- asdf local elm 0.19.0-bugfix6
# Server
- open --background http://localhost:3000
# elm-analyse
- open --background http://localhost:3001
# Grip
- open... | <|file_sep|>original/tmuxinator/tachyons-components.yml
# ~/.tmuxinator/tachyons-components.yml
name: tachyons-components
root: ~/elm/tachyons-components
on_project_first_start:
- asdf local nodejs 11.0.0
- asdf local elm 0.18.0
# Server
- open --background http://localhost:3000
# elm-analyse
- open --bac... | 07f9269d830224ba98f7b7d9d20196d9876a9e0d | tmuxinator/tachyons-components.yml | tmuxinator/tachyons-components.yml | YAML |
<|file_sep|>original/lib/spree_brewbit_dashboard/engine.rb
class Engine < Rails::Engine
require 'spree/core'
isolate_namespace Spree
engine_name 'spree_brewbit_dashboard'
# use rspec for tests
config.generators do |g|
g.test_framework :rspec
end
def self.activate
Dir.glob(Fil... | class Engine < Rails::Engine
require 'spree/core'
isolate_namespace Spree
engine_name 'spree_brewbit_dashboard'
# use rspec for tests
config.generators do |g|
g.test_framework :rspec
end
def self.activate
Dir.glob(File.join(File.dirname(__FILE__), '../../app/**/*_decorator*.r... | <|file_sep|>original/lib/spree_brewbit_dashboard/engine.rb
class Engine < Rails::Engine
require 'spree/core'
isolate_namespace Spree
engine_name 'spree_brewbit_dashboard'
# use rspec for tests
config.generators do |g|
g.test_framework :rspec
end
def self.activate
Dir.glob(Fil... | 7d2f407a12024e954351974adedd4cb867686bb6 | lib/spree_brewbit_dashboard/engine.rb | lib/spree_brewbit_dashboard/engine.rb | Ruby |
<|file_sep|>src/lib/str-sanitize.c.diff
original:
if ((unsigned char)*p < 32)
updated:
if (((unsigned char)*p & 0x7f) < 32)
<|file_sep|>original/src/lib/str-sanitize.c
{
const char *p;
for (p = src; *p != '\0'; p++) {
if ((unsigned char)*p < 32)
break;
}
str_append_n(dest, src, (size_t)(p - src));
for (... | {
const char *p;
for (p = src; *p != '\0'; p++) {
if (((unsigned char)*p & 0x7f) < 32)
break;
}
str_append_n(dest, src, (size_t)(p - src));
for (; *p != '\0' && max_len > 0; p++, max_len--) {
if (((unsigned char)*p & 0x7f) < 32)
str_append_c(dest, '?');
else
str_append_c(dest, *p);
}
if (*p != ... | <|file_sep|>src/lib/str-sanitize.c.diff
original:
if ((unsigned char)*p < 32)
updated:
if (((unsigned char)*p & 0x7f) < 32)
<|file_sep|>original/src/lib/str-sanitize.c
{
const char *p;
for (p = src; *p != '\0'; p++) {
if ((unsigned char)*p < 32)
break;
}
str_append_n(dest, src, (size_t)(p - src));
for (... | 412799711a2b6ae29c865159df88e0bbe19fd2df | src/lib/str-sanitize.c | src/lib/str-sanitize.c | C |
<|file_sep|>src/ServiceSimpleXmlToArray.php.diff
original:
updated:
<|file_sep|>src/ServiceSimpleXmlToArray.php.diff
original:
updated:
<|file_sep|>src/ServiceSimpleXmlToArray.php.diff
original:
updated:
$array = array();
<|file_sep|>src/ServiceSimpleXmlToArray.php.diff
original:
updated:
<|file_sep|>src... | }
return $array;
}
private function __construct($xmlObject)
{
if (!is_a($xmlObject, \SimpleXMLElement::class)) {
throw new PShopWsException('The service '.__CLASS__.' has received a parameter other than SimpleXmlElement');
}
}
private function xmlToArra... | <|file_sep|>src/ServiceSimpleXmlToArray.php.diff
original:
updated:
<|file_sep|>src/ServiceSimpleXmlToArray.php.diff
original:
updated:
<|file_sep|>src/ServiceSimpleXmlToArray.php.diff
original:
updated:
$array = array();
<|file_sep|>src/ServiceSimpleXmlToArray.php.diff
original:
updated:
<|file_sep|>src... | 674b2b7ffb120eeab9334d9d4f1142ccac8cbd05 | src/ServiceSimpleXmlToArray.php | src/ServiceSimpleXmlToArray.php | PHP |
<|file_sep|>apps/accounts/serializers.py.diff
original:
updated:
from apps.bluebottle_utils.serializers import SorlImageField
<|file_sep|>apps/accounts/serializers.py.diff
original:
updated:
picture = SorlImageField('userprofile.picture', '100x100', crop='center')
<|file_sep|>original/apps/accounts/serializers.py... | from apps.bluebottle_utils.serializers import SorlImageField
from django.contrib.auth.models import User
from rest_framework import serializers
from rest_framework.fields import HyperlinkedIdentityField
class MemberDetailSerializer(serializers.ModelSerializer):
url = HyperlinkedIdentityField(view_name='member-de... | <|file_sep|>apps/accounts/serializers.py.diff
original:
updated:
from apps.bluebottle_utils.serializers import SorlImageField
<|file_sep|>apps/accounts/serializers.py.diff
original:
updated:
picture = SorlImageField('userprofile.picture', '100x100', crop='center')
<|file_sep|>original/apps/accounts/serializers.py... | 8139a3a49e4ee6d1fc8a2a71becbfd6d625b5c5f | apps/accounts/serializers.py | apps/accounts/serializers.py | Python |
<|file_sep|>original/core/api/src/main/java/org/onosproject/net/behaviour/MplsQuery.java
<|file_sep|>current/core/api/src/main/java/org/onosproject/net/behaviour/MplsQuery.java
<|file_sep|>updated/core/api/src/main/java/org/onosproject/net/behaviour/MplsQuery.java | /*
* Copyright 2015 Open Networking Laboratory
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | <|file_sep|>original/core/api/src/main/java/org/onosproject/net/behaviour/MplsQuery.java
<|file_sep|>current/core/api/src/main/java/org/onosproject/net/behaviour/MplsQuery.java
<|file_sep|>updated/core/api/src/main/java/org/onosproject/net/behaviour/MplsQuery.java
/*
* Copyright 2015 Open Networking Laboratory
*
*... | a8241cab85dc5c5a484879b528f7d29913c73567 | core/api/src/main/java/org/onosproject/net/behaviour/MplsQuery.java | core/api/src/main/java/org/onosproject/net/behaviour/MplsQuery.java | Java |
<|file_sep|>original/app/js/arethusa.core/dependency_loader.js
"use strict";
angular.module('arethusa.core').service('dependencyLoader', [
'$ocLazyLoad',
'$q',
'basePath',
function($ocLazyLoad, $q, basePath) {
function expand(p) {
return basePath.path + '/' + p;
}
function expandPath(path) {
... | "use strict";
angular.module('arethusa.core').service('dependencyLoader', [
'$ocLazyLoad',
'$q',
'basePath',
function($ocLazyLoad, $q, basePath) {
function expand(p) {
if (aU.isUrl(p)) {
return p;
} else {
return basePath.path + '/' + p;
}
}
function expandPath(pat... | <|file_sep|>original/app/js/arethusa.core/dependency_loader.js
"use strict";
angular.module('arethusa.core').service('dependencyLoader', [
'$ocLazyLoad',
'$q',
'basePath',
function($ocLazyLoad, $q, basePath) {
function expand(p) {
return basePath.path + '/' + p;
}
function expandPath(path) {
... | dd81193bee7b57d2ff7c2f604a4ff37d629713bc | app/js/arethusa.core/dependency_loader.js | app/js/arethusa.core/dependency_loader.js | JavaScript |
<|file_sep|>original/setup.py
license = "MIT License",
keywords = 'redis, qless, job',
packages = ['qless', 'qless.workers'],
package_dir = {
'qless': 'qless',
'qless.workers': 'qless/workers'},
package_data = {'qless': ['qless-co... | license = "MIT License",
keywords = 'redis, qless, job',
packages = ['qless', 'qless.workers'],
package_dir = {
'qless': 'qless',
'qless.workers': 'qless/workers'},
package_data = {'qless': ['qless-core/*.lua']},
include_packa... | <|file_sep|>original/setup.py
license = "MIT License",
keywords = 'redis, qless, job',
packages = ['qless', 'qless.workers'],
package_dir = {
'qless': 'qless',
'qless.workers': 'qless/workers'},
package_data = {'qless': ['qless-co... | 0fa23851cbe33ba0d3bddb8367d7089545de6847 | setup.py | setup.py | Python |
<|file_sep|>original/tools/distServer.js
// This file configures a web server for testing the production build
// on your local machine.
import browserSync from 'browser-sync';
import historyApiFallback from 'connect-history-api-fallback';
// Run Browsersync
browserSync({
port: 3000,
ui: {
port: 3001
},
s... | // This file configures a web server for testing the production build
// on your local machine.
import browserSync from 'browser-sync';
import historyApiFallback from 'connect-history-api-fallback';
import {chalkProcessing} from './chalkConfig';
/* eslint-disable no-console */
console.log(chalkProcessing('Opening pr... | <|file_sep|>original/tools/distServer.js
// This file configures a web server for testing the production build
// on your local machine.
import browserSync from 'browser-sync';
import historyApiFallback from 'connect-history-api-fallback';
// Run Browsersync
browserSync({
port: 3000,
ui: {
port: 3001
},
s... | aa46f414201a857a1ab58f7ebd250efa4f4bfe93 | tools/distServer.js | tools/distServer.js | JavaScript |
<|file_sep|>original/VersionInfo.cs
using System.Reflection;
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by ... | using System.Reflection;
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [as... | <|file_sep|>original/VersionInfo.cs
using System.Reflection;
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by ... | 0fb27b97a09cca21a308e73fb38b1e9366e4edfd | VersionInfo.cs | VersionInfo.cs | C# |
<|file_sep|>nixpkgs-overlays/mobile-ghc/default.nix.diff
original:
updated:
# Use libffi-3.3-rc0 because the regular libffi is not compatible with android-ndk.
# Google has its own forked libffi (https://android.googlesource.com/platform/external/libffi/)
# but upstream also has a release candidate t... | };
libffi = if self.stdenv.targetPlatform.useAndroidPrebuilt
then
# Use libffi-3.3-rc0 because the regular libffi is not compatible with android-ndk.
# Google has its own forked libffi (https://android.googlesource.com/platform/external/libffi/)
# but upstream also has a release candidate that... | <|file_sep|>nixpkgs-overlays/mobile-ghc/default.nix.diff
original:
updated:
# Use libffi-3.3-rc0 because the regular libffi is not compatible with android-ndk.
# Google has its own forked libffi (https://android.googlesource.com/platform/external/libffi/)
# but upstream also has a release candidate t... | bd2605917fc3e3515e5014330d68c6723bb4783b | nixpkgs-overlays/mobile-ghc/default.nix | nixpkgs-overlays/mobile-ghc/default.nix | Nix |
<|file_sep|>original/js/tableChart.js
$(function() {
$.ajax({
url: '/data/fipsData.json',
dataType: 'json',
success: function(data) {
fipsData = data;
}
});
$('#collapse-data-more').on('shown.bs.collapse', function () {
generateChart();
});
});
functi... | $(function() {
$.ajax({
url: '/data/fipsData.json',
dataType: 'json',
success: function(data) {
fipsData = data;
}
});
$('#collapse-data-more').on('shown.bs.collapse', function () {
generateChart();
$('#tableToggle').html('Hide this data');
});... | <|file_sep|>original/js/tableChart.js
$(function() {
$.ajax({
url: '/data/fipsData.json',
dataType: 'json',
success: function(data) {
fipsData = data;
}
});
$('#collapse-data-more').on('shown.bs.collapse', function () {
generateChart();
});
});
functi... | ad73c48726dcfaa523d6b5f184738b7b6885436f | js/tableChart.js | js/tableChart.js | JavaScript |
<|file_sep|>original/test/reducers/slides/actions/moveSlideUp-spec.ts
<|file_sep|>current/test/reducers/slides/actions/moveSlideUp-spec.ts
<|file_sep|>updated/test/reducers/slides/actions/moveSlideUp-spec.ts | import { expect } from 'chai';
import { MOVE_SLIDE_UP } from '../../../../app/constants/slides.constants';
export default function(initialState: any, reducer: any, slide: any) {
const dummySlide1 = {
plugins: ['plugin1'],
state: {
backgroundColor: { r: 255, g: 255, b: 255, a: 100 },
transition: {... | <|file_sep|>original/test/reducers/slides/actions/moveSlideUp-spec.ts
<|file_sep|>current/test/reducers/slides/actions/moveSlideUp-spec.ts
<|file_sep|>updated/test/reducers/slides/actions/moveSlideUp-spec.ts
import { expect } from 'chai';
import { MOVE_SLIDE_UP } from '../../../../app/constants/slides.constants';
ex... | d0240ed204a02a5cd006295c3fa24b90bee75bf4 | test/reducers/slides/actions/moveSlideUp-spec.ts | test/reducers/slides/actions/moveSlideUp-spec.ts | TypeScript |
<|file_sep|>original/requirements/dev.txt
async-timeout==2.0.1
brotlipy==0.7.0
cchardet==2.1.1
chardet==3.0.4
coverage==4.5.1
cython==0.28.2
flake8==3.5.0
gunicorn==19.7.1
isort==4.3.4
multidict==4.1.0
pip==10.0.0
pyflakes==1.6.0
pytest-cov==2.5.1
pytest-mock==1.6.3
pytest==3.5.0
towncrier==17.8.0
tox==2.9.1
twine==1.9... | async-timeout==2.0.1
brotlipy==0.7.0
cchardet==2.1.1
chardet==3.0.4
coverage==4.5.1
cython==0.28.2
flake8==3.5.0
gunicorn==19.7.1
isort==4.3.4
multidict==4.1.0
pip==10.0.0
pyflakes==1.6.0
pytest-cov==2.5.1
pytest-mock==1.9.0
pytest==3.5.0
towncrier==17.8.0
tox==2.9.1
twine==1.9.1
yarl==0.16.0 | <|file_sep|>original/requirements/dev.txt
async-timeout==2.0.1
brotlipy==0.7.0
cchardet==2.1.1
chardet==3.0.4
coverage==4.5.1
cython==0.28.2
flake8==3.5.0
gunicorn==19.7.1
isort==4.3.4
multidict==4.1.0
pip==10.0.0
pyflakes==1.6.0
pytest-cov==2.5.1
pytest-mock==1.6.3
pytest==3.5.0
towncrier==17.8.0
tox==2.9.1
twine==1.9... | 945ae67f8dc503ad74c5b990cb49ff7696ca5ab8 | requirements/dev.txt | requirements/dev.txt | Text |
<|file_sep|>cmd/resourceful/endpoints.go.diff
original:
updated:
"strings"
<|file_sep|>original/cmd/resourceful/endpoints.go
"github.com/gentlemanautomaton/serviceresolver"
"github.com/scjalliance/resourceful/guardian"
)
func collectEndpoints(ctx context.Context) (endpoints []guardian.Endpoint, err error) {
serv... |
"github.com/gentlemanautomaton/serviceresolver"
"github.com/scjalliance/resourceful/guardian"
)
func collectEndpoints(ctx context.Context) (endpoints []guardian.Endpoint, err error) {
services, err := serviceresolver.DefaultResolver.Resolve(ctx, "resourceful")
if err != nil {
return nil, fmt.Errorf("failed to l... | <|file_sep|>cmd/resourceful/endpoints.go.diff
original:
updated:
"strings"
<|file_sep|>original/cmd/resourceful/endpoints.go
"github.com/gentlemanautomaton/serviceresolver"
"github.com/scjalliance/resourceful/guardian"
)
func collectEndpoints(ctx context.Context) (endpoints []guardian.Endpoint, err error) {
serv... | aea5dfb3007912341a0966107f90db8fe58aa2dd | cmd/resourceful/endpoints.go | cmd/resourceful/endpoints.go | Go |
<|file_sep|>original/src/shared/components/libs/ExperimentImages.js
class ExperimentImages extends React.Component {
constructor() {
super();
}
render() {
let imageDiv = this.props.images.map(url => {
return (<a href={url} target="_blank"><img src={url} alt="experiment image"/... |
class ExperimentImages extends React.Component {
constructor() {
super();
}
render() {
let imageDiv = null;
if(this.props.images) {
imageDiv = this.props.images.map(url => {
return (<a href={url} target="_blank"><img src={url} alt="experiment image"/><... | <|file_sep|>original/src/shared/components/libs/ExperimentImages.js
class ExperimentImages extends React.Component {
constructor() {
super();
}
render() {
let imageDiv = this.props.images.map(url => {
return (<a href={url} target="_blank"><img src={url} alt="experiment image"/... | a4f4dd98a2b78ed66af02761d33ebbc8dd5e516d | src/shared/components/libs/ExperimentImages.js | src/shared/components/libs/ExperimentImages.js | JavaScript |
<|file_sep|>original/doc/release-notes.md
Wallets and other bitcoin services should alert their users to
double-spends that affect them. Merchants and other users may have
enough time to withhold goods or services when payment becomes
uncertain, until confirmation.
Bitcoin Core Wallet Alerts
------------------------... | (note: this is a temporary file, to be added-to by anybody, and moved to
release-notes at release time)
New RPC methods
===============
Fee/Priority estimation
-----------------------
estimatefee nblocks : Returns approximate fee-per-1,000-bytes needed for
a transaction to be confirmed within nblocks. Returns -1 if ... | <|file_sep|>original/doc/release-notes.md
Wallets and other bitcoin services should alert their users to
double-spends that affect them. Merchants and other users may have
enough time to withhold goods or services when payment becomes
uncertain, until confirmation.
Bitcoin Core Wallet Alerts
------------------------... | d467827e7caf83d736465b86411204cb930cd1ad | doc/release-notes.md | doc/release-notes.md | Markdown |
<|file_sep|>original/src/skins/vector/css/matrix-react-sdk/views/dialogs/_CreateGroupDialog.scss
*/
.mx_CreateGroupDialog_inputRow {
margin-top: 10px;
margin-bottom: 10px;
}
.mx_CreateGroupDialog_label {
text-align: left;
padding-bottom: 12px;
}
.mx_CreateGroupDialog_input {
font-size: 15px;
... |
.mx_CreateGroupDialog_input {
font-size: 15px;
border-radius: 3px;
border: 1px solid $input-border-color;
padding: 9px;
color: $primary-fg-color;
background-color: $primary-bg-color;
}
.mx_CreateGroupDialog_input.has_prefix.has_suffix {
border-radius: 0px;
}
.mx_CreateGroupDialog_input_gr... | <|file_sep|>original/src/skins/vector/css/matrix-react-sdk/views/dialogs/_CreateGroupDialog.scss
*/
.mx_CreateGroupDialog_inputRow {
margin-top: 10px;
margin-bottom: 10px;
}
.mx_CreateGroupDialog_label {
text-align: left;
padding-bottom: 12px;
}
.mx_CreateGroupDialog_input {
font-size: 15px;
... | 67bc346ebbffe49e276a360a0e933b5193512448 | src/skins/vector/css/matrix-react-sdk/views/dialogs/_CreateGroupDialog.scss | src/skins/vector/css/matrix-react-sdk/views/dialogs/_CreateGroupDialog.scss | SCSS |
<|file_sep|>original/sql_migrations/applied_migrations/05_relative_file_paths_to_verify_index.sql
CREATE INDEX CONCURRENTLY relative_file_paths_to_verify on downloads( relative_file_path ) where file_status = 'tbd' and relative_file_path <> 'tbd' and relative_file_path <> 'error';
<|file_sep|>current/sql_migrations/app... | CREATE INDEX relative_file_paths_to_verify on downloads( relative_file_path ) where file_status = 'tbd' and relative_file_path <> 'tbd' and relative_file_path <> 'error'; | <|file_sep|>original/sql_migrations/applied_migrations/05_relative_file_paths_to_verify_index.sql
CREATE INDEX CONCURRENTLY relative_file_paths_to_verify on downloads( relative_file_path ) where file_status = 'tbd' and relative_file_path <> 'tbd' and relative_file_path <> 'error';
<|file_sep|>current/sql_migrations/app... | f4c7b3a02d1249ca731c8d70648f41a24f0eb8e3 | sql_migrations/applied_migrations/05_relative_file_paths_to_verify_index.sql | sql_migrations/applied_migrations/05_relative_file_paths_to_verify_index.sql | SQL |
<|file_sep|>original/py/testdir_multi_jvm/test_gbm_prostate.py
<|file_sep|>current/py/testdir_multi_jvm/test_gbm_prostate.py
<|file_sep|>updated/py/testdir_multi_jvm/test_gbm_prostate.py | import sys
sys.path.insert(1, '../../h2o-py/src/main/py')
from h2o import H2OConnection
from h2o import H2OFrame
from h2o import H2OGBM
from tabulate import tabulate
######################################################
# Parse command-line args.
#
# usage: python test_name.py --usecloud ipaddr:port
#
ip_port = sy... | <|file_sep|>original/py/testdir_multi_jvm/test_gbm_prostate.py
<|file_sep|>current/py/testdir_multi_jvm/test_gbm_prostate.py
<|file_sep|>updated/py/testdir_multi_jvm/test_gbm_prostate.py
import sys
sys.path.insert(1, '../../h2o-py/src/main/py')
from h2o import H2OConnection
from h2o import H2OFrame
from h2o import H... | e41ce4338334794466ba6918fc3b8a1f118d6b41 | py/testdir_multi_jvm/test_gbm_prostate.py | py/testdir_multi_jvm/test_gbm_prostate.py | Python |
<|file_sep|>original/scripts/figwheel.clj
'[cljs.tagged-literals])
(alter-var-root #'cljs.tagged-literals/*cljs-data-readers*
assoc 'ux/tr (fn [v] `(uxbox.locales/tr ~v)))
(ra/start-figwheel!
{:figwheel-options {:css-dirs ["resources/public/css"]}
:build-ids ["dev"]
:all-builds
[{:... | '[cljs.tagged-literals])
(alter-var-root #'cljs.tagged-literals/*cljs-data-readers*
assoc 'ux/tr (fn [v] `(uxbox.locales/tr ~v)))
(ra/start-figwheel!
{:figwheel-options {:css-dirs ["resources/public/css"]}
:build-ids ["dev"]
:all-builds
[{:id "dev"
:figwheel {:on-jsload "uxbox... | <|file_sep|>original/scripts/figwheel.clj
'[cljs.tagged-literals])
(alter-var-root #'cljs.tagged-literals/*cljs-data-readers*
assoc 'ux/tr (fn [v] `(uxbox.locales/tr ~v)))
(ra/start-figwheel!
{:figwheel-options {:css-dirs ["resources/public/css"]}
:build-ids ["dev"]
:all-builds
[{:... | d62a6922bebaedb752eeca3e9906280c5f659e6f | scripts/figwheel.clj | scripts/figwheel.clj | Clojure |
<|file_sep|>original/src/migrations/molecules/merge/index.md
(Array, Object, Object) -> Object
```
**EXAMPLE**
```js
const myObject = {
rooms: {
kitchen: {name: 'Kitchen'},
living: {name: 'Living Rooms'}
}
};
//
// Naming is important
//
$override('rooms', { kitchen: { name: 'Mighty hall of cu... | living: {name: 'Living Rooms'}
}
};
//
// Naming is important
//
$override('rooms', { kitchen: { name: 'Mighty hall of culinary awesomeness' } }, subject);
// returns {
// kitchen: {name: 'Mighty hall of culinary awesomeness'},
// living: {name: 'Living Rooms'}
// }
```
**IMMUTABLE JS SUPPORT**
*t... | <|file_sep|>original/src/migrations/molecules/merge/index.md
(Array, Object, Object) -> Object
```
**EXAMPLE**
```js
const myObject = {
rooms: {
kitchen: {name: 'Kitchen'},
living: {name: 'Living Rooms'}
}
};
//
// Naming is important
//
$override('rooms', { kitchen: { name: 'Mighty hall of cu... | 9e6528e4e872a1601b7b61c2ea981d62940d8011 | src/migrations/molecules/merge/index.md | src/migrations/molecules/merge/index.md | Markdown |
<|file_sep|>original/roles/openshift_node/tasks/install.yml
block:
- name: Install Node package
package:
name: "{{ openshift_service_type }}-node{{ (openshift_pkg_version | default('')) | lib_utils_oo_image_tag_to_rpm_version(include_dash=True) }}"
state: present
register: result
until: resu... | package:
name: "{{ item.name }}"
state: present
register: result
until: result is succeeded
with_items:
- name: "{{ openshift_service_type }}-node{{ (openshift_pkg_version | default('')) | lib_utils_oo_image_tag_to_rpm_version(include_dash=True) }}"
- name: "{{ openshift_service_type }}-sdn-ovs{{ (o... | <|file_sep|>original/roles/openshift_node/tasks/install.yml
block:
- name: Install Node package
package:
name: "{{ openshift_service_type }}-node{{ (openshift_pkg_version | default('')) | lib_utils_oo_image_tag_to_rpm_version(include_dash=True) }}"
state: present
register: result
until: resu... | 83c357e25ee657600982103ad5c7fedc86ad4267 | roles/openshift_node/tasks/install.yml | roles/openshift_node/tasks/install.yml | YAML |
<|file_sep|>original/requirements.txt
beautifulsoup4==4.8.0
bcrypt==3.1.7
croniter==0.3.30
Cython==0.29.12
feedparser==5.2.1
git+git://github.com/andreasvc/pyre2.git@7146ce3#egg=re2
google-api-python-client==1.7.9
isodate==0.6.0
jsonpath-ng==1.4.3
lxml==4.3.4
numpy==1.16.4
Pillow==6.0.0
parsedatetime==2.4
psutil==5.6.3... | beautifulsoup4==4.8.0
bcrypt==3.1.7
croniter==0.3.30
Cython==0.29.12
feedparser==5.2.1
git+git://github.com/andreasvc/pyre2.git@7146ce3#egg=re2
google-api-python-client==1.7.9
isodate==0.6.0
jsonpath-ng==1.4.3
lxml==4.3.4
numpy==1.16.4
Pillow==6.1.0
parsedatetime==2.4
psutil==5.6.3
pyhedrals==0.2.0
python-dateutil==2.8... | <|file_sep|>original/requirements.txt
beautifulsoup4==4.8.0
bcrypt==3.1.7
croniter==0.3.30
Cython==0.29.12
feedparser==5.2.1
git+git://github.com/andreasvc/pyre2.git@7146ce3#egg=re2
google-api-python-client==1.7.9
isodate==0.6.0
jsonpath-ng==1.4.3
lxml==4.3.4
numpy==1.16.4
Pillow==6.0.0
parsedatetime==2.4
psutil==5.6.3... | ee2849adfafbf769d9e4873c7643b2bd2685b683 | requirements.txt | requirements.txt | Text |
<|file_sep|>spec/v3/services/preference/update_spec.rb.diff
original:
let(:user) { Travis::API::V3::Models::User.create!(name: 'svenfuchs') }
updated:
let(:user) { Travis::API::V3::Models::User.create!(name: 'svenfuchs', github_oauth_token: github_oauth_token) }
<|file_sep|>spec/v3/services/preference/update_spec.r... | end
include_examples 'not authenticated'
end
describe 'authenticated' do
before do
patch("/v3/preference/build_emails", params, headers)
end
example { expect(last_response.status).to eq 200 }
example do
expect(parsed_body).to eql_json(
"@type" => "preference",
"@... | <|file_sep|>spec/v3/services/preference/update_spec.rb.diff
original:
let(:user) { Travis::API::V3::Models::User.create!(name: 'svenfuchs') }
updated:
let(:user) { Travis::API::V3::Models::User.create!(name: 'svenfuchs', github_oauth_token: github_oauth_token) }
<|file_sep|>spec/v3/services/preference/update_spec.r... | 74f73ff1fd7d22ccbea5577fccb1740bf463d87c | spec/v3/services/preference/update_spec.rb | spec/v3/services/preference/update_spec.rb | Ruby |
<|file_sep|>original/Magic/src/main/resources/defaults/messages/costs.yml
hunger: Energy
health: Health
health_amount: $amount Health
hunger_amount: $amount Energy
heroes_mana: $amount Mana
currency_singular: Dollar
currency: Dollars
currency_amount: "$$amount"
currency:
item_name: ... | hunger: Energy
health: Health
health_amount: $amount Health
hunger_amount: $amount Energy
heroes_mana: $amount Mana
currency_singular: Dollar
currency: Dollars
currency_amount: "$$amount"
currency:
item_name: "&e$amount &6$type"
description: Right-click to deposit
limit: "a:... | <|file_sep|>original/Magic/src/main/resources/defaults/messages/costs.yml
hunger: Energy
health: Health
health_amount: $amount Health
hunger_amount: $amount Energy
heroes_mana: $amount Mana
currency_singular: Dollar
currency: Dollars
currency_amount: "$$amount"
currency:
item_name: ... | fc5604289bfa45f52e0616a264adec94350d1808 | Magic/src/main/resources/defaults/messages/costs.yml | Magic/src/main/resources/defaults/messages/costs.yml | YAML |
<|file_sep|>original/src/components/video_detail.js
import React from 'react';
const VideoDetail = ({video}) => {
const videoId = video.id.videoId;
const url = `https://www.youtube.com/embed/${videoId}`;
return (
<div className="video-detail col-md-8">
<div className="embed-responsive embed-responsive... | import React from 'react';
const VideoDetail = ({video}) => {
if(!video) {
return <div>Loading...</div>
}
const videoId = video.id.videoId;
const url = `https://www.youtube.com/embed/${videoId}`;
return (
<div className="video-detail col-md-8">
<div className="embed-responsive embed-responsi... | <|file_sep|>original/src/components/video_detail.js
import React from 'react';
const VideoDetail = ({video}) => {
const videoId = video.id.videoId;
const url = `https://www.youtube.com/embed/${videoId}`;
return (
<div className="video-detail col-md-8">
<div className="embed-responsive embed-responsive... | b2709a926011de76d930e1fbaebe91de74f78992 | src/components/video_detail.js | src/components/video_detail.js | JavaScript |
<|file_sep|>original/requirements-alpine.txt
# These packages all have pre-compiled manylinux builds for Debian now, so we
# only need to build them on Alpine
cffi==1.11.2
cryptography==2.1.3
lxml==4.1.1
Pillow==4.3.0
psycopg2==2.7.3.2
numpy==1.13.3
<|file_sep|>current/requirements-alpine.txt
# These packages all have ... | # These packages all have pre-compiled manylinux builds for Debian now, so we
# only need to build them on Alpine
cffi==1.11.2
cryptography==2.1.4
lxml==4.1.1
Pillow==4.3.0
psycopg2==2.7.3.2
numpy==1.13.3 | <|file_sep|>original/requirements-alpine.txt
# These packages all have pre-compiled manylinux builds for Debian now, so we
# only need to build them on Alpine
cffi==1.11.2
cryptography==2.1.3
lxml==4.1.1
Pillow==4.3.0
psycopg2==2.7.3.2
numpy==1.13.3
<|file_sep|>current/requirements-alpine.txt
# These packages all have ... | f1a1ae286e36e1f5db180ce5c40815368dda4ce5 | requirements-alpine.txt | requirements-alpine.txt | Text |
<|file_sep|>original/demos/blog_react/requirements-dev.txt
pyflakes==2.1.1
pep8==1.7.1
pytest==4.4.0
ipdb==0.11
<|file_sep|>current/demos/blog_react/requirements-dev.txt
pyflakes==2.1.1
pep8==1.7.1
pytest==4.4.0
ipdb==0.11
<|file_sep|>updated/demos/blog_react/requirements-dev.txt | pyflakes==2.1.1
pep8==1.7.1
pytest==4.4.0
ipdb==0.12 | <|file_sep|>original/demos/blog_react/requirements-dev.txt
pyflakes==2.1.1
pep8==1.7.1
pytest==4.4.0
ipdb==0.11
<|file_sep|>current/demos/blog_react/requirements-dev.txt
pyflakes==2.1.1
pep8==1.7.1
pytest==4.4.0
ipdb==0.11
<|file_sep|>updated/demos/blog_react/requirements-dev.txt
pyflakes==2.1.1
pep8==1.7.1
pytest==4.4... | 0daf6a4cab94d86c3ee4379ef3789f105f6cf9e7 | demos/blog_react/requirements-dev.txt | demos/blog_react/requirements-dev.txt | Text |
<|file_sep|>original/fedora22-net/ansible/roles/node_child/tasks/main.yml
---
- name: Install required packages
dnf: name={{ item }} state=present
with_items:
- "@pulp-nodes-child"
<|file_sep|>current/fedora22-net/ansible/roles/node_child/tasks/main.yml
---
- name: Install required packages
dnf: name={{ item... | ---
- name: Install required packages
dnf: name={{ item }} state=present
with_items:
- "@pulp-nodes-child"
- name: Set oauth user in nodes.conf
lineinfile:
dest: /etc/pulp/nodes.conf
insertafter: '^\[oauth\]'
line: 'user_id: {{ oauth_user }}'
state: present
- name: Set parent oauth c... | <|file_sep|>original/fedora22-net/ansible/roles/node_child/tasks/main.yml
---
- name: Install required packages
dnf: name={{ item }} state=present
with_items:
- "@pulp-nodes-child"
<|file_sep|>current/fedora22-net/ansible/roles/node_child/tasks/main.yml
---
- name: Install required packages
dnf: name={{ item... | a67631660fd3b732726dd8260be24902d674821b | fedora22-net/ansible/roles/node_child/tasks/main.yml | fedora22-net/ansible/roles/node_child/tasks/main.yml | YAML |
<|file_sep|>original/parity-match/README.md
======================
Parity Matching Engine is a high-performance matching engine for the JVM.
Download
--------
Add a Maven dependency to Parity Matching Engine:
<dependency>
<groupId>com.paritytrading.parity</groupId>
<artifactId>parity-match</artifac... | ======================
Parity Matching Engine is a high-performance matching engine for the JVM.
Download
--------
Add a Maven dependency to Parity Matching Engine:
<dependency>
<groupId>com.paritytrading.parity</groupId>
<artifactId>parity-match</artifactId>
<version><!-- latest version --><... | <|file_sep|>original/parity-match/README.md
======================
Parity Matching Engine is a high-performance matching engine for the JVM.
Download
--------
Add a Maven dependency to Parity Matching Engine:
<dependency>
<groupId>com.paritytrading.parity</groupId>
<artifactId>parity-match</artifac... | c9dea23a25ed9ff5e6a31e436ff2be5a5817940c | parity-match/README.md | parity-match/README.md | Markdown |
<|file_sep|>original/gemfile_arranger.gemspec
spec.authors = ['sanemat']
spec.email = ['o.gata.ken@gmail.com']
spec.summary = 'TODO: Write a short summary. Required.'
spec.description = 'TODO: Write a longer description. Optional.'
spec.homepage = ''
spec.license = 'MIT'
... | spec.authors = ['sanemat']
spec.email = ['o.gata.ken@gmail.com']
spec.summary = 'TODO: Write a short summary. Required.'
spec.description = 'TODO: Write a longer description. Optional.'
spec.homepage = ''
spec.license = 'MIT'
spec.files = `git ls-files -z`.split("... | <|file_sep|>original/gemfile_arranger.gemspec
spec.authors = ['sanemat']
spec.email = ['o.gata.ken@gmail.com']
spec.summary = 'TODO: Write a short summary. Required.'
spec.description = 'TODO: Write a longer description. Optional.'
spec.homepage = ''
spec.license = 'MIT'
... | 8d2b2300ea533862b9b65e955c7c72969d69a0c1 | gemfile_arranger.gemspec | gemfile_arranger.gemspec | Ruby |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.