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/.eslintrc.js
'sourceType': 'module',
},
'plugins': [
'import',
'react',
],
'parser': 'babel-eslint',
'rules': {
'comma-dangle': ['error', 'always-multiline'],
'indent': ['warn', 2],
'linebreak-style': ['error', 'unix'],
'no-console': ['warn', {'allow': ['warn',... | 'linebreak-style': ['error', 'unix'],
'no-console': ['warn', {'allow': ['warn', 'error']}],
'no-var': 'error',
'no-unused-vars': ['warn', {'args': 'none'}],
'semi': ['error', 'never'],
'sort-vars': 'warn',
'unicode-bom': 'error',
'react/prop-types': 'off',
},
'settings': {
'impo... | <|file_sep|>original/.eslintrc.js
'sourceType': 'module',
},
'plugins': [
'import',
'react',
],
'parser': 'babel-eslint',
'rules': {
'comma-dangle': ['error', 'always-multiline'],
'indent': ['warn', 2],
'linebreak-style': ['error', 'unix'],
'no-console': ['warn', {'allow': ['warn',... | fb815f7573e040d032b894069e10fb4e0a61dd42 | .eslintrc.js | .eslintrc.js | JavaScript |
<|file_sep|>original/Medium/192_Word_Frequency.sh
<|file_sep|>current/Medium/192_Word_Frequency.sh
<|file_sep|>updated/Medium/192_Word_Frequency.sh | # Read from the file words.txt and output the word frequency list to stdout.
sed "s/ /\n/g" words.txt | sort | uniq -c | sort -rn | awk '$2 {print $2" "$1}' | <|file_sep|>original/Medium/192_Word_Frequency.sh
<|file_sep|>current/Medium/192_Word_Frequency.sh
<|file_sep|>updated/Medium/192_Word_Frequency.sh
# Read from the file words.txt and output the word frequency list to stdout.
sed "s/ /\n/g" words.txt | sort | uniq -c | sort -rn | awk '$2 {print $2" "$1}' | 9dea5646f9b436c93ac94650e4c353fad09da5b7 | Medium/192_Word_Frequency.sh | Medium/192_Word_Frequency.sh | Shell |
<|file_sep|>original/pyramid_jsonapi/version.py
if isdir(join(d, '../.git')):
# Get the version using "git describe".
cmd = 'git describe --tags --match %s[0-9]* --dirty' % PREFIX
try:
version = check_output(cmd.split()).decode().strip()[len(PREFIX):]
except CalledProcess... | if isdir(join(d, '../.git')):
# Get the version using "git describe".
cmd = 'git describe --tags --match %s[0-9]* --dirty' % PREFIX
try:
version = check_output(cmd.split()).decode().strip()[len(PREFIX):]
except CalledProcessError:
raise RuntimeError('Unable to... | <|file_sep|>original/pyramid_jsonapi/version.py
if isdir(join(d, '../.git')):
# Get the version using "git describe".
cmd = 'git describe --tags --match %s[0-9]* --dirty' % PREFIX
try:
version = check_output(cmd.split()).decode().strip()[len(PREFIX):]
except CalledProcess... | 74e75cba3c923bc4aea9a7f1c4f387d29227f003 | pyramid_jsonapi/version.py | pyramid_jsonapi/version.py | Python |
<|file_sep|>original/package.json
"name": "qjs",
"version": "0.0.1",
"description": "Q - in JavaScript",
"main": "index.js",
"author": "Louis Lambeau <louislambeau@gmail.com>",
"license": "MIT",
"scripts":{
"test": "grunt test"
},
"dependencies": {
"coffee-script": "~1.7.1",
"underscore": ... | "version": "0.0.1",
"description": "Q - in JavaScript",
"main": "index.js",
"author": "Louis Lambeau <louislambeau@gmail.com>",
"license": "MIT",
"scripts":{
"test": "grunt test"
},
"dependencies": {
"coffee-script": "~1.7.1",
"underscore": "~1.6.0",
"underscore.string": "~2.3.3"
},
... | <|file_sep|>original/package.json
"name": "qjs",
"version": "0.0.1",
"description": "Q - in JavaScript",
"main": "index.js",
"author": "Louis Lambeau <louislambeau@gmail.com>",
"license": "MIT",
"scripts":{
"test": "grunt test"
},
"dependencies": {
"coffee-script": "~1.7.1",
"underscore": ... | 568a8d1d3469c1ee6458e4bc7cee2e06bb16c2e3 | package.json | package.json | JSON |
<|file_sep|>README.rdoc.diff
original:
=== Ben Orenstein's dot files
These are config files to set up a system the way I like it.
Vim-users will likely find useful stuff in .vimrc, and also vim/snippets.
I'm also a pretty aggressive aliaser. You might find a few you like in bash/aliases.
updated:
=== Einar Jonsson's... | === Einar Jonsson's dot files
This is more or less a rip-off from Ben Orenstein's dot files
== Installation
git clone git://github.com/einarj/dotfiles ~/.dotfiles
cd ~/.dotfiles
rake install
Vim plugins are managed through vundle. You'll need to install vundle to get them.
git clone https://github.com/gma... | <|file_sep|>README.rdoc.diff
original:
=== Ben Orenstein's dot files
These are config files to set up a system the way I like it.
Vim-users will likely find useful stuff in .vimrc, and also vim/snippets.
I'm also a pretty aggressive aliaser. You might find a few you like in bash/aliases.
updated:
=== Einar Jonsson's... | f84267155a0508b1f91a1de227f42fc3b2f626e2 | README.rdoc | README.rdoc | RDoc |
<|file_sep|>original/.travis.yml
language: java
jdk:
- openjdk8
- openjdk11
script: mvn clean verify
env:
global:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "lsTdhAiNAYTfpi14mofp3W8HauFE5tj40TOuy... | - openjdk11
script: mvn clean verify
env:
global:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "lsTdhAiNAYTfpi14mofp3W8HauFE5tj40TOuyGgNGfNNCuk0dktAuAnBVZyb/ylaRqedzMJ7LCBjFZFkycMdh0nQO9TgEav0WaFjflD... | <|file_sep|>original/.travis.yml
language: java
jdk:
- openjdk8
- openjdk11
script: mvn clean verify
env:
global:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "lsTdhAiNAYTfpi14mofp3W8HauFE5tj40TOuy... | 0831f1de03d426b267fda888fd0d50ac7e664d62 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/website/blog/2021-07-16-welcome-to-the-new-orbitjs.md
tags: [documentation, docusaurus]
---
I'm excited to announce a complete refresh of Orbitjs.com! 🎉
Our site has been rebuilt using [Docusaurus](https://docusaurus.io/). The
source for this site now lives in [Orbit's
monorepo](https://github.c... | tags: [documentation, docusaurus]
---
I'm excited to announce a complete refresh of Orbitjs.com! 🎉
Our site has been rebuilt using [Docusaurus](https://docusaurus.io/). The
source for this site now lives in [Orbit's
monorepo](https://github.com/orbitjs/orbit/tree/main/website) right alongside
the packages that it de... | <|file_sep|>original/website/blog/2021-07-16-welcome-to-the-new-orbitjs.md
tags: [documentation, docusaurus]
---
I'm excited to announce a complete refresh of Orbitjs.com! 🎉
Our site has been rebuilt using [Docusaurus](https://docusaurus.io/). The
source for this site now lives in [Orbit's
monorepo](https://github.c... | db6b88ceb6baeebd4af3252fe7725ef96bfc668f | website/blog/2021-07-16-welcome-to-the-new-orbitjs.md | website/blog/2021-07-16-welcome-to-the-new-orbitjs.md | Markdown |
<|file_sep|>original/.github/workflows/ci.yml
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-... |
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
... | <|file_sep|>original/.github/workflows/ci.yml
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-... | 1158bc4a6e601c1995f82fb9009668fa24c526af | .github/workflows/ci.yml | .github/workflows/ci.yml | YAML |
<|file_sep|>original/README.md
## Data model
```
o
|-- Video Group
| |-- Title
| |-- Description
| |-- Image
| |-- Author {}
| `-- List of Videos []
|-- Author
| |-- Name
| `-- Image
`-- Video
|-- Title
`-- YouTube ID
```
## Sample Applications
To be Added
<|file_sep|>current/README.md
... | | |-- Image
| |-- Author {}
| `-- List of Videos []
|-- Author
| |-- Name
| `-- Image
`-- Video
|-- Title
`-- YouTube ID
```
## Installation guide
Rename the following files as mentoned below
1. application/config/config.sample.php --> config.php
2. application/config/database.sample.php --> database... | <|file_sep|>original/README.md
## Data model
```
o
|-- Video Group
| |-- Title
| |-- Description
| |-- Image
| |-- Author {}
| `-- List of Videos []
|-- Author
| |-- Name
| `-- Image
`-- Video
|-- Title
`-- YouTube ID
```
## Sample Applications
To be Added
<|file_sep|>current/README.md
... | 68e87b0b4768d16e07b3fcd9ea09a68b7bbe345a | README.md | README.md | Markdown |
<|file_sep|>original/ipa-fun-prepare-replica.sh
# If any command here fails, exit the script
set -e
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source $DIR/config.sh
# Check if hostname of VM was given
if [[ $1 == "" ]]
then
echo "Usage: $0 vm-xyz (first segment of replica's hostname)"
fi
# $1 should b... | # If any command here fails, exit the script
set -e
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source $DIR/config.sh
# Check if hostname of VM was given
if [[ $1 == "" ]]
then
echo "Usage: $0 vm-xyz (first segment of replica's hostname)"
exit
fi
# $1 should be vm-xyz
REPLICA=$1.$DOMAIN
VM_ID=`echo $... | <|file_sep|>original/ipa-fun-prepare-replica.sh
# If any command here fails, exit the script
set -e
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source $DIR/config.sh
# Check if hostname of VM was given
if [[ $1 == "" ]]
then
echo "Usage: $0 vm-xyz (first segment of replica's hostname)"
fi
# $1 should b... | 7305d2acb2321bba6ef902424df22b5df4006b31 | ipa-fun-prepare-replica.sh | ipa-fun-prepare-replica.sh | Shell |
<|file_sep|>original/carrier/init.sls
- pkg: iptables-persistent
- require_in:
- service: iptables-persistent
- watch_in:
- service: iptables-persistent
iptables-v6-rules:
file.managed:
- name: /etc/iptables/rules.v6
- replace: True
- source: salt://openstack/carrier/conf/rules
... | - template: jinja
- defaults:
ip: 6
- mode: 444
- require:
- pkg: iptables-persistent
- require_in:
- service: iptables-persistent
- watch_in:
- service: iptables-persistent
carrier-config-dir:
file.directory:
- name: /srv/containers
- mode: 775
carrier-conf... | <|file_sep|>original/carrier/init.sls
- pkg: iptables-persistent
- require_in:
- service: iptables-persistent
- watch_in:
- service: iptables-persistent
iptables-v6-rules:
file.managed:
- name: /etc/iptables/rules.v6
- replace: True
- source: salt://openstack/carrier/conf/rules
... | 9c305e94b686cce8ddf7dfbb2dfd87da3126c35c | carrier/init.sls | carrier/init.sls | SaltStack |
<|file_sep|>original/FCModel.podspec
Pod::Spec.new do |s|
s.name = 'FCModel'
s.version = '0.1.0'
s.summary = 'An alternative to Core Data for people who like having direct SQL access.'
s.homepage = 'https://github.com/marcoarment/FCModel'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Marc... | Pod::Spec.new do |s|
s.name = 'FCModel'
s.version = '0.1.0'
s.summary = 'An alternative to Core Data for people who like having direct SQL access.'
s.homepage = 'https://github.com/marcoarment/FCModel'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Marco Arment' => 'me@marco.org' }
s.sou... | <|file_sep|>original/FCModel.podspec
Pod::Spec.new do |s|
s.name = 'FCModel'
s.version = '0.1.0'
s.summary = 'An alternative to Core Data for people who like having direct SQL access.'
s.homepage = 'https://github.com/marcoarment/FCModel'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Marc... | dd06e507798792fe6d420a04f98b36e4f370d4bc | FCModel.podspec | FCModel.podspec | Ruby |
<|file_sep|>original/.travis.yml
rvm:
- 1.9.3
- jruby
- rbx
- 2.0.0
- 2.1.0
- ruby-head
env:
- CHILDPROCESS_POSIX_SPAWN=true
- CHILDPROCESS_POSIX_SPAWN=false
matrix:
allow_failures:
- rvm: jruby
env: CHILDPROCESS_POSIX_SPAWN=true
- rvm: rbx
env: CHILDPROCESS_POSIX_SPAWN=true
- ... | rvm:
- 1.9.3
- jruby
- rbx
- 2.0.0
- 2.1.0
- ruby-head
env:
- CHILDPROCESS_POSIX_SPAWN=true
- CHILDPROCESS_POSIX_SPAWN=false
matrix:
allow_failures:
- rvm: jruby
env: CHILDPROCESS_POSIX_SPAWN=true
- rvm: rbx
- rvm: ruby-head | <|file_sep|>original/.travis.yml
rvm:
- 1.9.3
- jruby
- rbx
- 2.0.0
- 2.1.0
- ruby-head
env:
- CHILDPROCESS_POSIX_SPAWN=true
- CHILDPROCESS_POSIX_SPAWN=false
matrix:
allow_failures:
- rvm: jruby
env: CHILDPROCESS_POSIX_SPAWN=true
- rvm: rbx
env: CHILDPROCESS_POSIX_SPAWN=true
- ... | cbc518a05a6d949eb5b99ef054f22cdb3aeec3f2 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/timestamp-impl/src/test/java/com/palantir/timestamp/LastReturnedTimestampTest.java
<|file_sep|>current/timestamp-impl/src/test/java/com/palantir/timestamp/LastReturnedTimestampTest.java
<|file_sep|>updated/timestamp-impl/src/test/java/com/palantir/timestamp/LastReturnedTimestampTest.java | /**
* Copyright 2016 Palantir Technologies
*
* Licensed under the BSD-3 License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://opensource.org/licenses/BSD-3-Clause
*
* Unless required by applicable law or agreed to in wri... | <|file_sep|>original/timestamp-impl/src/test/java/com/palantir/timestamp/LastReturnedTimestampTest.java
<|file_sep|>current/timestamp-impl/src/test/java/com/palantir/timestamp/LastReturnedTimestampTest.java
<|file_sep|>updated/timestamp-impl/src/test/java/com/palantir/timestamp/LastReturnedTimestampTest.java
/**
* C... | 959ac81012cfab269df6e7c7cc0835e25f29e4fd | timestamp-impl/src/test/java/com/palantir/timestamp/LastReturnedTimestampTest.java | timestamp-impl/src/test/java/com/palantir/timestamp/LastReturnedTimestampTest.java | Java |
<|file_sep|>original/library/src/test/java/com/androidzeitgeist/ani/discovery/DiscoveryTest.java
<|file_sep|>current/library/src/test/java/com/androidzeitgeist/ani/discovery/DiscoveryTest.java
<|file_sep|>updated/library/src/test/java/com/androidzeitgeist/ani/discovery/DiscoveryTest.java | /*
* Copyright (C) 2013 Sebastian Kaspari
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | <|file_sep|>original/library/src/test/java/com/androidzeitgeist/ani/discovery/DiscoveryTest.java
<|file_sep|>current/library/src/test/java/com/androidzeitgeist/ani/discovery/DiscoveryTest.java
<|file_sep|>updated/library/src/test/java/com/androidzeitgeist/ani/discovery/DiscoveryTest.java
/*
* Copyright (C) 2013 Seba... | 8ca50bc0185561985eae11627c7ae83b30c1c3be | library/src/test/java/com/androidzeitgeist/ani/discovery/DiscoveryTest.java | library/src/test/java/com/androidzeitgeist/ani/discovery/DiscoveryTest.java | Java |
<|file_sep|>assets/js/components/UserListRemove.js.diff
original:
updated:
getInitialState: function() {
return {
collection: []
};
},
componentDidMount: function() {
this.createCollectionArray();
},
<|file_sep|>assets/js/components/UserListRemove.js.diff
original:... | );
});
this.setState({collection: currentCollection});
},
handleItemRemove: function(e) {
e.preventDefault();
const io = new IO;
let currentCollection = this.state.collection;
let index = e.target.getAttribute("data-entry");
io.removeJSONEn... | <|file_sep|>assets/js/components/UserListRemove.js.diff
original:
updated:
getInitialState: function() {
return {
collection: []
};
},
componentDidMount: function() {
this.createCollectionArray();
},
<|file_sep|>assets/js/components/UserListRemove.js.diff
original:... | a6e006d630bcfbb2ae088be3f7751e153a6eadee | assets/js/components/UserListRemove.js | assets/js/components/UserListRemove.js | JavaScript |
<|file_sep|>original/_posts/2017-06-19-clang-finding-out-which-headers-were-included.md
<|file_sep|>current/_posts/2017-06-19-clang-finding-out-which-headers-were-included.md
<|file_sep|>updated/_posts/2017-06-19-clang-finding-out-which-headers-were-included.md | ---
layout: post
title: ! "Clang: Finding out which headers were included"
tags: [c++, clang, include, header]
---
From [Stack Overflow](https://stackoverflow.com/questions/5834778/how-to-tell-where-a-header-file-is-included-from).
Get gcc or clang to output a hierarchical list of included headers like this:
``` bash
... | <|file_sep|>original/_posts/2017-06-19-clang-finding-out-which-headers-were-included.md
<|file_sep|>current/_posts/2017-06-19-clang-finding-out-which-headers-were-included.md
<|file_sep|>updated/_posts/2017-06-19-clang-finding-out-which-headers-were-included.md
---
layout: post
title: ! "Clang: Finding out which head... | e22d10df10db49bb1ad7930b3b3cb8a1ce42f499 | _posts/2017-06-19-clang-finding-out-which-headers-were-included.md | _posts/2017-06-19-clang-finding-out-which-headers-were-included.md | Markdown |
<|file_sep|>original/telemetry-service/src/main/resources/com/yammer/telemetry/service/views/home.ftl
<#-- @ftlvariable name="" type="com.yammer.telemetry.service.views.TracingHomeView" -->
<html>
<head>
<title>Traces</title>
</head>
<body>
<table>
<tr>
<th>ID</th>
<th>Name</th>
</tr>
<#list... | <#-- @ftlvariable name="" type="com.yammer.telemetry.service.views.TracingHomeView" -->
<html>
<head>
<title>Traces</title>
</head>
<body>
<table>
<tr>
<th>ID</th>
<th>Name</th>
</tr>
<#list traces as trace>
<tr>
<td><a href="/tracing/${trace.id?c?url('utf-8')}">${trace.id}</a></... | <|file_sep|>original/telemetry-service/src/main/resources/com/yammer/telemetry/service/views/home.ftl
<#-- @ftlvariable name="" type="com.yammer.telemetry.service.views.TracingHomeView" -->
<html>
<head>
<title>Traces</title>
</head>
<body>
<table>
<tr>
<th>ID</th>
<th>Name</th>
</tr>
<#list... | 64e63ae8a55ba6d48890e36eda517ee1dcdaafc2 | telemetry-service/src/main/resources/com/yammer/telemetry/service/views/home.ftl | telemetry-service/src/main/resources/com/yammer/telemetry/service/views/home.ftl | FreeMarker |
<|file_sep|>apps/catalogue/templates/catalogue/my_page.html.diff
original:
updated:
{% load compressed %}
<|file_sep|>original/apps/catalogue/templates/catalogue/my_page.html
{% extends "catalogue/base.html" %}
{% load i18n %}
{% load catalogue book_list wall %}
{% block leftcolumn %}
{% book_list request.user ... | {% extends "catalogue/base.html" %}
{% load i18n %}
{% load catalogue book_list wall %}
{% load compressed %}
{% block add_js %}
{% compressed_js 'book_list' %}
{% endblock %}
{% block add_css %}
{% compressed_css 'book_list' %}
{% endblock %}
{% block leftcolumn %}
{% book_list request.user %}
{% endblock left... | <|file_sep|>apps/catalogue/templates/catalogue/my_page.html.diff
original:
updated:
{% load compressed %}
<|file_sep|>original/apps/catalogue/templates/catalogue/my_page.html
{% extends "catalogue/base.html" %}
{% load i18n %}
{% load catalogue book_list wall %}
{% block leftcolumn %}
{% book_list request.user ... | b15e4ab256a6c7b43a73090aba04e1a768d2e9bb | apps/catalogue/templates/catalogue/my_page.html | apps/catalogue/templates/catalogue/my_page.html | HTML |
<|file_sep|>src/components/SectionHeader.tsx.diff
original:
${letterSpacing(16)};
updated:
<|file_sep|>src/components/SectionHeader.tsx.diff
original:
updated:
span {
${letterSpacing(16)};
}
<|file_sep|>original/src/components/SectionHeader.tsx
};
const Container = styled.h1`
margin-top: 80px;
width: ... | margin-top: 80px;
width: 100%;
text-align: center;
text-transform: uppercase;
font-family: ${fontSecondary};
font-size: 24px;
font-weight: 400;
color: ${colorPrimary};
border-top: 1px solid ${colorTertiary};
padding-top: 16px;
margin-bottom: 40px;
span {
${letterSpacing(16)};
}
`;
const... | <|file_sep|>src/components/SectionHeader.tsx.diff
original:
${letterSpacing(16)};
updated:
<|file_sep|>src/components/SectionHeader.tsx.diff
original:
updated:
span {
${letterSpacing(16)};
}
<|file_sep|>original/src/components/SectionHeader.tsx
};
const Container = styled.h1`
margin-top: 80px;
width: ... | fe9b7538fc212961da40f45783c4eefe9ddf3f55 | src/components/SectionHeader.tsx | src/components/SectionHeader.tsx | TypeScript |
<|file_sep|>original/.travis.yml
---
bundler_args: --without development
language: ruby
cache: bundler
rvm:
- 2.2.0
sudo: false
before_script:
- mysql -e 'create database elmo_test;'
- "for f in $(find -name '*.example'); do cp \"$f\" \"${f%.example}\"; done"
- "sed -ri 's/user: elmo/user: travis/; /password:/d... | ---
bundler_args: --without development
language: ruby
cache: bundler
rvm:
- 2.2.0
sudo: false
before_script:
- mysql -e 'create database elmo_test;'
- "for f in $(find -name '*.example'); do cp \"$f\" \"${f%.example}\"; done"
- "sed -ri 's/user: elmo/user: travis/; /password:/d' config/database.yml"
- "sed -... | <|file_sep|>original/.travis.yml
---
bundler_args: --without development
language: ruby
cache: bundler
rvm:
- 2.2.0
sudo: false
before_script:
- mysql -e 'create database elmo_test;'
- "for f in $(find -name '*.example'); do cp \"$f\" \"${f%.example}\"; done"
- "sed -ri 's/user: elmo/user: travis/; /password:/d... | 5757bb3250767db98ab375592f350d552f1421a2 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
# gh-pages-gitbook
Deploy your Gitbook with Github Pages
## installation:
1. First install [gh-pages](https://github.com/GochoMugo/gh-pages)
2. Install this template: `gh-pages template gitbook https://github.com/GochoMugo/gh-pages-gitbook`
3. Prepare your Gitbook: `gh-pages prepare ... |
# gh-pages-gitbook
> Deploy your Gitbook with Github Pages
>
> COMPATIBLE WITH `gh-pages` [v0](https://github.com/GochoMugo/gh-pages/tree/v0).
## installation:
1. First install [gh-pages](https://github.com/GochoMugo/gh-pages)
2. Install this template: `gh-pages template gitbook https://github.com/GochoMugo/gh-pag... | <|file_sep|>original/README.md
# gh-pages-gitbook
Deploy your Gitbook with Github Pages
## installation:
1. First install [gh-pages](https://github.com/GochoMugo/gh-pages)
2. Install this template: `gh-pages template gitbook https://github.com/GochoMugo/gh-pages-gitbook`
3. Prepare your Gitbook: `gh-pages prepare ... | 7b08ca81a72f5cfff862295146dd5ea88bbae31e | README.md | README.md | Markdown |
<|file_sep|>original/autoupdate-docs-travis.sh
# This script is called by .travis.yml to update our doxygen documentation, which is stored on the gh-pages branch of this repo
# It's based on this blog post: http://philipuren.com/serendipity/index.php?/archives/21-Using-Travis-to-automatically-publish-documentation.html... | set -e
# This script is called by .travis.yml to update our doxygen documentation, which is stored on the gh-pages branch of this repo
# It's based on this blog post: http://philipuren.com/serendipity/index.php?/archives/21-Using-Travis-to-automatically-publish-documentation.html
if [ "$(git rev-parse master)" = "$... | <|file_sep|>original/autoupdate-docs-travis.sh
# This script is called by .travis.yml to update our doxygen documentation, which is stored on the gh-pages branch of this repo
# It's based on this blog post: http://philipuren.com/serendipity/index.php?/archives/21-Using-Travis-to-automatically-publish-documentation.html... | bd6340b805d652bd8bcacc69b4e74cd2f5a44f45 | autoupdate-docs-travis.sh | autoupdate-docs-travis.sh | Shell |
<|file_sep|>original/CODE_OF_CONDUCT.md
<|file_sep|>current/CODE_OF_CONDUCT.md
<|file_sep|>updated/CODE_OF_CONDUCT.md | # Contributor Covenant Code of Conduct
## Our Pledge
In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, gender... | <|file_sep|>original/CODE_OF_CONDUCT.md
<|file_sep|>current/CODE_OF_CONDUCT.md
<|file_sep|>updated/CODE_OF_CONDUCT.md
# Contributor Covenant Code of Conduct
## Our Pledge
In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project ... | e9c6cb870ceb0cb8ea10e0dbbd39c511db2d4067 | CODE_OF_CONDUCT.md | CODE_OF_CONDUCT.md | Markdown |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "6"
script:
- npm run-script coverage
- npm run-script lint
after_script: "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "6"
script:
- npm run-script coverage
- ... | language: node_js
node_js:
- "6"
script:
- npm run-script coverage
- npm run-script lint
after_script: "./node_modules/.bin/nyc report --reporter=text-lcov | ./node_modules/coveralls/bin/coveralls.js" | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "6"
script:
- npm run-script coverage
- npm run-script lint
after_script: "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "6"
script:
- npm run-script coverage
- ... | c877c60c41037aaabeda4b2df351290aa1cbbd42 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/azure-chef-extension.gemspec
s.name = "azure-chef-extension"
s.version = ChefAzure::VERSION
s.platform = Gem::Platform::RUBY
s.extra_rdoc_files = ["README.md", "LICENSE" ]
s.authors = ["Kaustubh Deorukhkar"]
s.email = ["contact@clogeny.com"]
s.homepage = "ht... | s.name = "azure-chef-extension"
s.version = ChefAzure::VERSION
s.platform = Gem::Platform::RUBY
s.extra_rdoc_files = ["README.md", "LICENSE" ]
s.authors = ["Kaustubh Deorukhkar"]
s.email = ["contact@clogeny.com"]
s.homepage = "https://github.com/opscode/azure-chef-extension"
s... | <|file_sep|>original/azure-chef-extension.gemspec
s.name = "azure-chef-extension"
s.version = ChefAzure::VERSION
s.platform = Gem::Platform::RUBY
s.extra_rdoc_files = ["README.md", "LICENSE" ]
s.authors = ["Kaustubh Deorukhkar"]
s.email = ["contact@clogeny.com"]
s.homepage = "ht... | e75d2af6b7ed3489b274588fad2233276d281d3f | azure-chef-extension.gemspec | azure-chef-extension.gemspec | Ruby |
<|file_sep|>original/example/src/screens/transitions/sharedElementTransitions/Masonry/Item.js
/>
</SharedElementTransition>
</View>
);
}
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#ffffff',
alignIt... | source={this.props.image}
/>
</SharedElementTransition>
</View>
);
}
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#ffffff',
justifyContent: 'center',
},
image: {
... | <|file_sep|>original/example/src/screens/transitions/sharedElementTransitions/Masonry/Item.js
/>
</SharedElementTransition>
</View>
);
}
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#ffffff',
alignIt... | 50ac0100fec4b2caf4fef2f07981551617afd5b3 | example/src/screens/transitions/sharedElementTransitions/Masonry/Item.js | example/src/screens/transitions/sharedElementTransitions/Masonry/Item.js | JavaScript |
<|file_sep|>original/source/developers/signing-commits.md
<|file_sep|>current/source/developers/signing-commits.md
<|file_sep|>updated/source/developers/signing-commits.md | ---
title: "Signing Commit Messages"
---
We use `gpg` to verify the integrity of important documents. Use the following
instructions to create your own key and use it to sign your work:
0. Generate a key with `gpg --gen-key`
1. Collect gpg key ID with `gpg --list-keys`
```
$ gpg --list-keys
pub 4096R/F78BBE1E 20... | <|file_sep|>original/source/developers/signing-commits.md
<|file_sep|>current/source/developers/signing-commits.md
<|file_sep|>updated/source/developers/signing-commits.md
---
title: "Signing Commit Messages"
---
We use `gpg` to verify the integrity of important documents. Use the following
instructions to create y... | 0e105a9aedb92ae6efea544e2ae470760ddcf739 | source/developers/signing-commits.md | source/developers/signing-commits.md | Markdown |
<|file_sep|>original/README.md
npm install -g terminal-title
```
## Usage
Pass a string to `title` to set it as the currently focussed tab's title.
```sh
title My Terminal Tab
```
Strings passed to `title` may be in quotes, but it's not required.
## Options
```sh
-h, --help output usage information
-V, -... | npm install -g terminal-title
```
## Usage
Pass a string to `title` to set it as the currently focussed tab's title.
```sh
title My Terminal Tab
```
Strings passed to `title` may be in quotes, but it's not required.
## Options
```sh
-h, --help output usage information
-V, --version output the version nu... | <|file_sep|>original/README.md
npm install -g terminal-title
```
## Usage
Pass a string to `title` to set it as the currently focussed tab's title.
```sh
title My Terminal Tab
```
Strings passed to `title` may be in quotes, but it's not required.
## Options
```sh
-h, --help output usage information
-V, -... | 5ae759cd0e89b2f46f2a8054ab1ee1f7b5eabfe6 | README.md | README.md | Markdown |
<|file_sep|>original/06_light_grid.rb
<|file_sep|>current/06_light_grid.rb
<|file_sep|>updated/06_light_grid.rb | COMMAND = /^(?:turn )?(on|off|toggle) (\d+),(\d+) through (\d+),(\d+)$/
def new_grid; Array.new(1000) { Array.new(1000, 0) }; end
puts ARGF.each_line.with_object([new_grid, new_grid]) { |l, (on_off_grid, bright_grid)|
captures = COMMAND.match(l).captures
command = captures.shift
xmin, ymin, xmax, ymax = capture... | <|file_sep|>original/06_light_grid.rb
<|file_sep|>current/06_light_grid.rb
<|file_sep|>updated/06_light_grid.rb
COMMAND = /^(?:turn )?(on|off|toggle) (\d+),(\d+) through (\d+),(\d+)$/
def new_grid; Array.new(1000) { Array.new(1000, 0) }; end
puts ARGF.each_line.with_object([new_grid, new_grid]) { |l, (on_off_grid, ... | 67b5c28f57da993411d1fd1320b57d15013fec79 | 06_light_grid.rb | 06_light_grid.rb | Ruby |
<|file_sep|>original/composer.json
"name": "ambimax/magento-module-ambimax-import",
"type": "magento-module",
"description": "Module to extend ho_import module for Magento 1",
"homepage": "https://www.ambimax.de",
"license": ["MIT"],
"require": {
"php": ">=5.6",
"magento-hackathon/magento-composer-i... | "name": "ambimax/magento-module-ambimax-import",
"type": "magento-module",
"description": "Module to extend ho_import module for Magento 1",
"homepage": "https://www.ambimax.de",
"license": ["MIT"],
"require": {
"php": ">=5.6",
"magento-hackathon/magento-composer-installer": "3.*",
"aws/aws-sdk-... | <|file_sep|>original/composer.json
"name": "ambimax/magento-module-ambimax-import",
"type": "magento-module",
"description": "Module to extend ho_import module for Magento 1",
"homepage": "https://www.ambimax.de",
"license": ["MIT"],
"require": {
"php": ">=5.6",
"magento-hackathon/magento-composer-i... | b9ba899181ac58bc2e647182089c6a1548e7817d | composer.json | composer.json | JSON |
<|file_sep|>original/packages/sa/safe-foldable.yaml
<|file_sep|>current/packages/sa/safe-foldable.yaml
<|file_sep|>updated/packages/sa/safe-foldable.yaml | homepage: https://github.com/tejon/safe-foldable#readme
changelog-type: ''
hash: dd9d8099faa71e5cbc38e3060dc23804de26d13d514e65ea13617ecb6e624d5e
test-bench-deps: {}
maintainer: tanuki@gmail.com
synopsis: Safe wrappers for null-partial Foldable operations
changelog: ''
basic-deps:
base: ! '>=4.7 && <5'
all-versions:
... | <|file_sep|>original/packages/sa/safe-foldable.yaml
<|file_sep|>current/packages/sa/safe-foldable.yaml
<|file_sep|>updated/packages/sa/safe-foldable.yaml
homepage: https://github.com/tejon/safe-foldable#readme
changelog-type: ''
hash: dd9d8099faa71e5cbc38e3060dc23804de26d13d514e65ea13617ecb6e624d5e
test-bench-deps: {... | 5e755fa7701254c63c92c91c5b48911064ef683b | packages/sa/safe-foldable.yaml | packages/sa/safe-foldable.yaml | YAML |
<|file_sep|>original/blazar/api/context.py
from blazar import context
from blazar import exceptions
def ctx_from_headers(headers):
try:
service_catalog = jsonutils.loads(headers['X-Service-Catalog'])
except KeyError:
raise exceptions.ServiceCatalogNotFound()
except TypeError:
raise... | from blazar import context
from blazar import exceptions
def ctx_from_headers(headers):
try:
service_catalog = jsonutils.loads(headers['X-Service-Catalog'])
except KeyError:
raise exceptions.ServiceCatalogNotFound()
except TypeError:
raise exceptions.WrongFormat()
return conte... | <|file_sep|>original/blazar/api/context.py
from blazar import context
from blazar import exceptions
def ctx_from_headers(headers):
try:
service_catalog = jsonutils.loads(headers['X-Service-Catalog'])
except KeyError:
raise exceptions.ServiceCatalogNotFound()
except TypeError:
raise... | 600992d9bb3f357bdef8769a61b4829be8952573 | blazar/api/context.py | blazar/api/context.py | Python |
<|file_sep|>time_lapse.py.diff
original:
updated:
image_file_prefix = job.image_settings.prefix
output_file = IMAGES_DIRECTORY + '/' + image_file_prefix + '_{counter:03d}.jpg'
<|file_sep|>original/time_lapse.py
if job.exists():
resolution_x = job.image_settings.resolution_x
resoluti... | resolution_x = job.image_settings.resolution_x
resolution_y = job.image_settings.resolution_y
image_quality = job.image_settings.quality
snap_interval = job.snap_settings.interval
snap_total = job.snap_settings.total
image_file_prefix = job.image_settings.prefix
o... | <|file_sep|>time_lapse.py.diff
original:
updated:
image_file_prefix = job.image_settings.prefix
output_file = IMAGES_DIRECTORY + '/' + image_file_prefix + '_{counter:03d}.jpg'
<|file_sep|>original/time_lapse.py
if job.exists():
resolution_x = job.image_settings.resolution_x
resoluti... | de3218c662f5fa98dac57e7f875cbe49efbc1b78 | time_lapse.py | time_lapse.py | Python |
<|file_sep|>original/requirements_dev.txt
bumpversion==0.5.3
coverage==4.5.1
flake8==3.5.0
pytest==3.8.0
pytz==2018.5
Sphinx==1.7.9
tox==3.2.1
<|file_sep|>current/requirements_dev.txt
bumpversion==0.5.3
coverage==4.5.1
flake8==3.5.0
pytest==3.8.0
pytz==2018.5
Sphinx==1.7.9
tox==3.2.1
<|file_sep|>updated/requirements_de... | bumpversion==0.5.3
coverage==4.5.1
flake8==3.5.0
pytest==3.8.0
pytz==2018.5
Sphinx==1.8.0
tox==3.2.1 | <|file_sep|>original/requirements_dev.txt
bumpversion==0.5.3
coverage==4.5.1
flake8==3.5.0
pytest==3.8.0
pytz==2018.5
Sphinx==1.7.9
tox==3.2.1
<|file_sep|>current/requirements_dev.txt
bumpversion==0.5.3
coverage==4.5.1
flake8==3.5.0
pytest==3.8.0
pytz==2018.5
Sphinx==1.7.9
tox==3.2.1
<|file_sep|>updated/requirements_de... | b56f6aab0330e778c76781fda3a7c9d634f7bf60 | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/Casks/serial-cloner.rb
<|file_sep|>current/Casks/serial-cloner.rb
<|file_sep|>updated/Casks/serial-cloner.rb | class SerialCloner < Cask
url 'http://serialbasics.free.fr/Serial_Cloner-Download_files/SerialCloner2-6.dmg'
homepage 'http://serialbasics.free.fr/Serial_Cloner.html'
version '2.6.1'
sha1 'e5df2593bc860cca8ed6abc268cd9922e9836f39'
link :app, 'SerialCloner2-6'
end | <|file_sep|>original/Casks/serial-cloner.rb
<|file_sep|>current/Casks/serial-cloner.rb
<|file_sep|>updated/Casks/serial-cloner.rb
class SerialCloner < Cask
url 'http://serialbasics.free.fr/Serial_Cloner-Download_files/SerialCloner2-6.dmg'
homepage 'http://serialbasics.free.fr/Serial_Cloner.html'
version '2.6.1'... | 5690f2e05168ef241333520ab73e8d4b6e081406 | Casks/serial-cloner.rb | Casks/serial-cloner.rb | Ruby |
<|file_sep|>original/A/01/09/task2.c
<|file_sep|>current/A/01/09/task2.c
<|file_sep|>updated/A/01/09/task2.c | #include <stdio.h>
#include <string.h>
#define MAX_WORDS 3000
#define STOPPER "vsmisal"
struct occurance_t {
long hash;
unsigned int count;
};
long hash(char*);
int index_of(char*, struct occurance_t*, int);
int main() {
int i = 0, temp;
char word[200];
struct occurance_t most_common = { 0,... | <|file_sep|>original/A/01/09/task2.c
<|file_sep|>current/A/01/09/task2.c
<|file_sep|>updated/A/01/09/task2.c
#include <stdio.h>
#include <string.h>
#define MAX_WORDS 3000
#define STOPPER "vsmisal"
struct occurance_t {
long hash;
unsigned int count;
};
long hash(char*);
int index_of(char*, struct occurance_t... | 7faa28183f84df0fa245cab5b64447d05f71089b | A/01/09/task2.c | A/01/09/task2.c | C |
<|file_sep|>original/_sass/base.scss
html, body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, img {
margin: 0;
padding: 0;
border: 0;
}
/*- Base color -*/
$main-color: #008A3C;
$background-color: #FDFDFD;
$text-color: #222222;
$syntax-highlighter-background: #ecebeb;
$syntax-text-color: #f55567;
/*- Base settings -*... | html, body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, img {
margin: 0;
padding: 0;
border: 0;
}
/*- Base color -*/
$main-color: #008A3C;
$background-color: #FDFDFD;
$text-color: #555555;
$syntax-highlighter-background: #ecebeb;
$syntax-text-color: #f55567;
/*- Base settings -*/
html {
background-color: $backgro... | <|file_sep|>original/_sass/base.scss
html, body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, img {
margin: 0;
padding: 0;
border: 0;
}
/*- Base color -*/
$main-color: #008A3C;
$background-color: #FDFDFD;
$text-color: #222222;
$syntax-highlighter-background: #ecebeb;
$syntax-text-color: #f55567;
/*- Base settings -*... | a0a9fffde85099ac5cff34c7f655ad6e76af5aae | _sass/base.scss | _sass/base.scss | SCSS |
<|file_sep|>original/source/stylesheets/_posts_detail.sass
.detail-post-title
margin-top: 40px
.detail-post-date
font-size: 1.1em
.soundcloud-player-big
margin-bottom: 50px
<|file_sep|>current/source/stylesheets/_posts_detail.sass
.detail-post-title
margin-top: 40px
.detail-post-date
font-size: 1.1em
.sou... | .detail-post-title
color: darken($medium-gray, 30%)
font-size: 2em
margin-top: .4em
margin-bottom: .4em
.detail-post-topic-list
font-size: 1.2em
color: $medium-gray
.detail-post-date
font-size: 1.1em
.soundcloud-player-big
margin-bottom: 50px | <|file_sep|>original/source/stylesheets/_posts_detail.sass
.detail-post-title
margin-top: 40px
.detail-post-date
font-size: 1.1em
.soundcloud-player-big
margin-bottom: 50px
<|file_sep|>current/source/stylesheets/_posts_detail.sass
.detail-post-title
margin-top: 40px
.detail-post-date
font-size: 1.1em
.sou... | 5b60b5624e24a69e7992c0290d6855a258af8f10 | source/stylesheets/_posts_detail.sass | source/stylesheets/_posts_detail.sass | Sass |
<|file_sep|>original/py/insert-delete-getrandom-o1-duplicates-allowed.py
<|file_sep|>current/py/insert-delete-getrandom-o1-duplicates-allowed.py
<|file_sep|>updated/py/insert-delete-getrandom-o1-duplicates-allowed.py | from collections import Counter
import random
class RandomizedCollection(object):
def __init__(self):
"""
Initialize your data structure here.
"""
self.counter = Counter()
self.redundant = Counter()
self.array = []
def insert(self, val):
"""
Ins... | <|file_sep|>original/py/insert-delete-getrandom-o1-duplicates-allowed.py
<|file_sep|>current/py/insert-delete-getrandom-o1-duplicates-allowed.py
<|file_sep|>updated/py/insert-delete-getrandom-o1-duplicates-allowed.py
from collections import Counter
import random
class RandomizedCollection(object):
def __init__(s... | 52d736e154f74342dde91acb069c0ea7cb9068ec | py/insert-delete-getrandom-o1-duplicates-allowed.py | py/insert-delete-getrandom-o1-duplicates-allowed.py | Python |
<|file_sep|>original/docs/api/location.md
# Location
## Static methods
###### `Location.isLocation(value: any): value is Location`
Check if a value implements the `Location` interface.
<|file_sep|>current/docs/api/location.md
# Location
## Static methods
###### `Location.isLocation(value: any): value is Location`
... | # Location
## Static methods
- [Check methods](#check-methods)
### Check methods
###### `Location.isLocation(value: any): value is Location`
Check if a value implements the `Location` interface. | <|file_sep|>original/docs/api/location.md
# Location
## Static methods
###### `Location.isLocation(value: any): value is Location`
Check if a value implements the `Location` interface.
<|file_sep|>current/docs/api/location.md
# Location
## Static methods
###### `Location.isLocation(value: any): value is Location`
... | 141656b4434b058934506286c7f28620be335fab | docs/api/location.md | docs/api/location.md | Markdown |
<|file_sep|>original/app/views/spree/admin/sale_prices/index.html.slim
= render :partial => 'spree/admin/shared/product_sub_menu'
= render :partial => 'spree/admin/shared/product_tabs', :locals => {:current => "Product Sale Prices"}
= csrf_meta_tag
#add-line-item
fieldset
legend align="center" = Spree.t('add_pr... | = render :partial => 'spree/admin/shared/product_tabs', :locals => {:current => "Product Sale Prices"}
= csrf_meta_tag
#add-line-item
fieldset
legend align="center" = Spree.t('add_product_sale_prices')
= form_for [:admin, @product, Spree::SalePrice.new], remote: true do |f|
.row
.columns.thre... | <|file_sep|>original/app/views/spree/admin/sale_prices/index.html.slim
= render :partial => 'spree/admin/shared/product_sub_menu'
= render :partial => 'spree/admin/shared/product_tabs', :locals => {:current => "Product Sale Prices"}
= csrf_meta_tag
#add-line-item
fieldset
legend align="center" = Spree.t('add_pr... | 0031e1f8d4a2f493d9af9bc7bf583641594be5f2 | app/views/spree/admin/sale_prices/index.html.slim | app/views/spree/admin/sale_prices/index.html.slim | Slim |
<|file_sep|>.travis.yml.diff
original:
updated:
-
<|file_sep|>original/.travis.yml
cache:
directories:
- $HOME/.composer/cache
- $HOME/.cache/composer
- $HOME/.cache/opcache
install:
- phpenv config-rm xdebug.ini || true;
- |
if [ "$csfixer" != "1" ]; then
composer remove --dev friend... |
cache:
directories:
- $HOME/.composer/cache
- $HOME/.cache/composer
- $HOME/.cache/opcache
-
install:
- phpenv config-rm xdebug.ini || true;
- composer validate --strict
- |
if [ "$csfixer" != "1" ]; then
composer remove --dev friendsofphp/php-cs-fixer;
fi;
- |
if [ "$lowes... | <|file_sep|>.travis.yml.diff
original:
updated:
-
<|file_sep|>original/.travis.yml
cache:
directories:
- $HOME/.composer/cache
- $HOME/.cache/composer
- $HOME/.cache/opcache
install:
- phpenv config-rm xdebug.ini || true;
- |
if [ "$csfixer" != "1" ]; then
composer remove --dev friend... | d34a9dc652d7dcb44aea559ac9a63e76712b0c03 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/jackrabbit-jcr2spi/assembly.xml
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
... | distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<assembly>
<id>tests</id>
<includeBaseDirectory>false</inclu... | <|file_sep|>original/jackrabbit-jcr2spi/assembly.xml
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
... | 19280b62440c0ce5087c2fab9caf8fd68a7c2f5c | jackrabbit-jcr2spi/assembly.xml | jackrabbit-jcr2spi/assembly.xml | XML |
<|file_sep|>src/kissmetrics-batch.coffee.diff
original:
updated:
, ->
queue.done()
<|file_sep|>original/src/kissmetrics-batch.coffee
host: @HOST
path: "#{baseUrl}?_signature=#{signature}"
headers:
'X-KM-ApiKey': apiKey
requestBody = JSON.stringify {data: queue.get()}
reques... | host: @HOST
path: "#{baseUrl}?_signature=#{signature}"
headers:
'X-KM-ApiKey': apiKey
, ->
queue.done()
requestBody = JSON.stringify {data: queue.get()}
request.write requestBody
return request
@_generateSignature: (baseUrl, apiSecret) =>
crypto = require 'crypto... | <|file_sep|>src/kissmetrics-batch.coffee.diff
original:
updated:
, ->
queue.done()
<|file_sep|>original/src/kissmetrics-batch.coffee
host: @HOST
path: "#{baseUrl}?_signature=#{signature}"
headers:
'X-KM-ApiKey': apiKey
requestBody = JSON.stringify {data: queue.get()}
reques... | 68d03eaee75742488b773af5393f8d06f4026793 | src/kissmetrics-batch.coffee | src/kissmetrics-batch.coffee | CoffeeScript |
<|file_sep|>testsuite/tests/Shaker/Properties.hs.diff
original:
arbitrary = ModuleMapping `liftM` (listOf1 . elements) letters
`ap` (listOf . listOf . elements) letters
`ap` (listOf . listOf . elements) letters
where letters = '.' : ['a'..'z']
updated:
ar... | arbitrary = arbitrary >>= \cl ->
elements [".",".."] >>= \ele ->
return $ FileInfo ele cl
instance Arbitrary ModuleMapping where
arbitrary = do
name <- createShortName
listHunitName <- listOf createShortName
listPropName <- listOf createSho... | <|file_sep|>testsuite/tests/Shaker/Properties.hs.diff
original:
arbitrary = ModuleMapping `liftM` (listOf1 . elements) letters
`ap` (listOf . listOf . elements) letters
`ap` (listOf . listOf . elements) letters
where letters = '.' : ['a'..'z']
updated:
ar... | 0e5ca1e85915389a8dce3aaccf6175ca9cb1191a | testsuite/tests/Shaker/Properties.hs | testsuite/tests/Shaker/Properties.hs | Haskell |
<|file_sep|>original/modules/vscode/settings/user/settings.json
"editor.suggestSelection": "recentlyUsed",
"editor.tabSize": 2,
"editor.wordBasedSuggestions": false,
"explorer.confirmDelete": false,
"explorer.confirmDragAndDrop": false,
"javascript.updateImportsOnFileMove.enabled": "always",
"search.exclu... | "explorer.confirmDelete": false,
"explorer.confirmDragAndDrop": false,
"javascript.updateImportsOnFileMove.enabled": "always",
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true,
"**/coverage": true,
"**/dist": true,
"**/build": true,
"**/.build": true
},
"searc... | <|file_sep|>original/modules/vscode/settings/user/settings.json
"editor.suggestSelection": "recentlyUsed",
"editor.tabSize": 2,
"editor.wordBasedSuggestions": false,
"explorer.confirmDelete": false,
"explorer.confirmDragAndDrop": false,
"javascript.updateImportsOnFileMove.enabled": "always",
"search.exclu... | bdce641b894a1f455f3364a8c2e581cb77931539 | modules/vscode/settings/user/settings.json | modules/vscode/settings/user/settings.json | JSON |
<|file_sep|>original/mods/gen3/scripts.js
inherit: 'gen5',
gen: 3,
init: function () {
for (var i in this.data.Pokedex) {
delete this.data.Pokedex[i].abilities['H'];
}
var specialTypes = {Fire:1, Water:1, Grass:1, Ice:1, Electric:1, Dark:1, Psychic:1, Dragon:1};
var newCategory = '';
for (var i in this.... | exports.BattleScripts = {
inherit: 'gen5',
gen: 3,
init: function () {
for (var i in this.data.Pokedex) {
delete this.data.Pokedex[i].abilities['H'];
}
var specialTypes = {Fire:1, Water:1, Grass:1, Ice:1, Electric:1, Dark:1, Psychic:1, Dragon:1};
var newCategory = '';
for (var i in this.data.Movedex) {
... | <|file_sep|>original/mods/gen3/scripts.js
inherit: 'gen5',
gen: 3,
init: function () {
for (var i in this.data.Pokedex) {
delete this.data.Pokedex[i].abilities['H'];
}
var specialTypes = {Fire:1, Water:1, Grass:1, Ice:1, Electric:1, Dark:1, Psychic:1, Dragon:1};
var newCategory = '';
for (var i in this.... | c5ff8e77c877ca00463ac7760c2b242ea8055fb4 | mods/gen3/scripts.js | mods/gen3/scripts.js | JavaScript |
<|file_sep|>original/poshsecframework/PShell/psfilenameeditor.cs
if (context == null || context.Instance == null)
{
return base.EditValue(context, provider, value);
}
else
{
OpenFileDialog dlg = new OpenFileDialog();
... | if (context == null || context.Instance == null)
{
return base.EditValue(context, provider, value);
}
else
{
OpenFileDialog dlg = new OpenFileDialog();
dlg.Title = "Select " + context.PropertyDescriptor.DisplayNa... | <|file_sep|>original/poshsecframework/PShell/psfilenameeditor.cs
if (context == null || context.Instance == null)
{
return base.EditValue(context, provider, value);
}
else
{
OpenFileDialog dlg = new OpenFileDialog();
... | 519f31ce81bbf886b3d048f42d6b32cdd5a5f739 | poshsecframework/PShell/psfilenameeditor.cs | poshsecframework/PShell/psfilenameeditor.cs | C# |
<|file_sep|>original/app/src/main/java/org/zeropage/apps/zeropage/database/notification/NotificationOpenHelper.java
NotificationOpenHelper(Context context) {
super(context, DATABASE_NAME, null, VERSION);
}
@Override
public void onCreate(SQLiteDatabase db) {
db.execSQL("create table " +... |
NotificationOpenHelper(Context context) {
super(context, DATABASE_NAME, null, VERSION);
}
@Override
public void onCreate(SQLiteDatabase db) {
db.execSQL("create table " + NotificationTable.NAME + "(" +
" _id integer primary key autoincrement, " +
Notific... | <|file_sep|>original/app/src/main/java/org/zeropage/apps/zeropage/database/notification/NotificationOpenHelper.java
NotificationOpenHelper(Context context) {
super(context, DATABASE_NAME, null, VERSION);
}
@Override
public void onCreate(SQLiteDatabase db) {
db.execSQL("create table " +... | 182bee08b0b66e0f52ab4defb0fce77bc6bb2eb0 | app/src/main/java/org/zeropage/apps/zeropage/database/notification/NotificationOpenHelper.java | app/src/main/java/org/zeropage/apps/zeropage/database/notification/NotificationOpenHelper.java | Java |
<|file_sep|>original/arch/x86/include/asm/jump_label.h
#include <asm/nops.h>
#define JUMP_LABEL_NOP_SIZE 5
# define JUMP_LABEL_INITIAL_NOP ".byte 0xe9 \n\t .long 0\n\t"
# define JUMP_LABEL(key, label) \
do { \
asm goto("1:" \
JUMP_LABEL_INITIAL_NOP \
".pushsection __jump_table, \"a\" \n\t"\... | #include <asm/nops.h>
#define JUMP_LABEL_NOP_SIZE 5
# define JUMP_LABEL_INITIAL_NOP ".byte 0xe9 \n\t .long 0\n\t"
# define JUMP_LABEL(key, label) \
do { \
asm goto("1:" \
JUMP_LABEL_INITIAL_NOP \
".pushsection __jump_table, \"aw\" \n\t"\
_ASM_PTR "1b, %l[" #label "], %c0 \n\t" \
".pop... | <|file_sep|>original/arch/x86/include/asm/jump_label.h
#include <asm/nops.h>
#define JUMP_LABEL_NOP_SIZE 5
# define JUMP_LABEL_INITIAL_NOP ".byte 0xe9 \n\t .long 0\n\t"
# define JUMP_LABEL(key, label) \
do { \
asm goto("1:" \
JUMP_LABEL_INITIAL_NOP \
".pushsection __jump_table, \"a\" \n\t"\... | 8969691343354bdd80eff5405a0f879edbf013d6 | arch/x86/include/asm/jump_label.h | arch/x86/include/asm/jump_label.h | C |
<|file_sep|>original/.config/rmonitor/config-e7440.rb
<|file_sep|>current/.config/rmonitor/config-e7440.rb
<|file_sep|>updated/.config/rmonitor/config-e7440.rb | profile "docked" do
device "DP1-1", :mode => "1920x1080", :rate => "60.00"
device "DP1-2", :mode => "1920x1080", :rate => "60.00", :right_of => "DP1-1"
end
profile "projector" do
device "eDP1", :mode => "1920x1080"
device "DP1", :right_of => "eDP1"
end
profile "default" do
device "eDP1", :mode => "1920x1080... | <|file_sep|>original/.config/rmonitor/config-e7440.rb
<|file_sep|>current/.config/rmonitor/config-e7440.rb
<|file_sep|>updated/.config/rmonitor/config-e7440.rb
profile "docked" do
device "DP1-1", :mode => "1920x1080", :rate => "60.00"
device "DP1-2", :mode => "1920x1080", :rate => "60.00", :right_of => "DP1-1"
en... | 0fa781f0147dc6eba6674ac1b72581f5cb5d922d | .config/rmonitor/config-e7440.rb | .config/rmonitor/config-e7440.rb | Ruby |
<|file_sep|>original/requirements_dev.txt
pip==9.0.1
mock==2.0.0
pytest==3.0.7
click==6.7
seaborn==0.7.1
matplotlib==2.0.1
Pillow==4.1.1
scipy==0.19.0
h5py==2.7.0
flake8==3.3.0
configparser==3.5.0
PyYAML==3.12
Mako==1.0.6
<|file_sep|>current/requirements_dev.txt
pip==9.0.1
mock==2.0.0
pytest==3.0.7
click==6.7
seaborn==... | pip==9.0.1
mock==2.0.0
pytest==3.0.7
click==6.7
seaborn==0.7.1
matplotlib==2.0.2
Pillow==4.1.1
scipy==0.19.0
h5py==2.7.0
flake8==3.3.0
configparser==3.5.0
PyYAML==3.12
Mako==1.0.6 | <|file_sep|>original/requirements_dev.txt
pip==9.0.1
mock==2.0.0
pytest==3.0.7
click==6.7
seaborn==0.7.1
matplotlib==2.0.1
Pillow==4.1.1
scipy==0.19.0
h5py==2.7.0
flake8==3.3.0
configparser==3.5.0
PyYAML==3.12
Mako==1.0.6
<|file_sep|>current/requirements_dev.txt
pip==9.0.1
mock==2.0.0
pytest==3.0.7
click==6.7
seaborn==... | 5dc6f7f192428547c31f802d5edbaf63da88a360 | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/Casks/photo-supreme-single-user.rb
<|file_sep|>current/Casks/photo-supreme-single-user.rb
<|file_sep|>updated/Casks/photo-supreme-single-user.rb | cask :v1 => 'photo-supreme-single-user' do
version '3'
sha256 'b2a60379e61ac6a44ac14b05e462a145ad65d5606e78c0cb4d46bd1fae1cc37c'
url 'http://www.idimager.com/Trial/PhotoSupreme_V3.pkg'
name 'Photo Supreme Single User'
homepage 'http://www.idimager.com/WP/?page_id=20'
license :commercial
pkg 'PhotoSuprem... | <|file_sep|>original/Casks/photo-supreme-single-user.rb
<|file_sep|>current/Casks/photo-supreme-single-user.rb
<|file_sep|>updated/Casks/photo-supreme-single-user.rb
cask :v1 => 'photo-supreme-single-user' do
version '3'
sha256 'b2a60379e61ac6a44ac14b05e462a145ad65d5606e78c0cb4d46bd1fae1cc37c'
url 'http://www.... | 0c2c8000bb364a8f1b59b3c95adb623585d7b189 | Casks/photo-supreme-single-user.rb | Casks/photo-supreme-single-user.rb | Ruby |
<|file_sep|>metadata/org.iilab.pb.txt.diff
original:
prebuild=sed -i 's@<version>3.8.2</version>@<version>3.7.0</version>@g' pom.xml && find src -type f -print0 | xargs -0 sed -i '/Crashlytics/d'
updated:
prebuild=sed -i 's@<version>3.8.2</version>@<version>3.7.0</version>@g' pom.xml && \
find src -type... | Repo:https://github.com/iilab/PanicButton
Build:1.2.8,128
commit=a121b9d97fe771dd8d2dde2f768525f5711e6041
maven=yes
rm=libs/crashlytics.jar
prebuild=sed -i 's@<version>3.8.2</version>@<version>3.7.0</version>@g' pom.xml && \
find src -type f -print0 | xargs -0 sed -i '/Crashlytics/d'
Maintaine... | <|file_sep|>metadata/org.iilab.pb.txt.diff
original:
prebuild=sed -i 's@<version>3.8.2</version>@<version>3.7.0</version>@g' pom.xml && find src -type f -print0 | xargs -0 sed -i '/Crashlytics/d'
updated:
prebuild=sed -i 's@<version>3.8.2</version>@<version>3.7.0</version>@g' pom.xml && \
find src -type... | 580c1692dc89e4ac016ef4a0fea9b932be067c7c | metadata/org.iilab.pb.txt | metadata/org.iilab.pb.txt | Text |
<|file_sep|>original/lib/util.js
};
/**
* Safe JSON string to object decoder.
*
* @param {String} Input
*
* @return {Object}
*/
Util.prototype.parse = function (obj, callback) {
try {
callback(null, JSON.parse(obj));
} catch (err) {
callback('Invalid JSON');
}
};
/**
* Export
*/
mo... | * Safe JSON string to object decoder.
*
* @param {String} Input
*
* @return {Object}
*/
Util.prototype.parse = function (obj, callback) {
try {
callback(null, JSON.parse(obj));
} catch (err) {
if (typeof obj === 'object') {
callback(null, obj);
} else {
call... | <|file_sep|>original/lib/util.js
};
/**
* Safe JSON string to object decoder.
*
* @param {String} Input
*
* @return {Object}
*/
Util.prototype.parse = function (obj, callback) {
try {
callback(null, JSON.parse(obj));
} catch (err) {
callback('Invalid JSON');
}
};
/**
* Export
*/
mo... | 20316f58ec8926e8899f18443b1b1186a514740e | lib/util.js | lib/util.js | JavaScript |
<|file_sep|>migrations/6_clear_github_tokens.sql.diff
original:
UPDATE users SET github_token = NULL
updated:
UPDATE users SET github_token = NULL;
<|file_sep|>original/migrations/6_clear_github_tokens.sql
-- +migrate Up
UPDATE users SET github_token = NULL
-- +migrate Down
<|file_sep|>current/migrations/6_clear_gith... | -- +migrate Up
UPDATE users SET github_token = NULL;
-- +migrate Down
-- +migrate StatementBegin
-- +migrate StatementEnd | <|file_sep|>migrations/6_clear_github_tokens.sql.diff
original:
UPDATE users SET github_token = NULL
updated:
UPDATE users SET github_token = NULL;
<|file_sep|>original/migrations/6_clear_github_tokens.sql
-- +migrate Up
UPDATE users SET github_token = NULL
-- +migrate Down
<|file_sep|>current/migrations/6_clear_gith... | 5d910a76851b986e5afc9f888dd7fd85e1a6945c | migrations/6_clear_github_tokens.sql | migrations/6_clear_github_tokens.sql | SQL |
<|file_sep|>.travis.yml.diff
original:
- ruby-head
- 1.9.2
- 1.8.7
- ree
updated:
- 2.1.5
- 2.0.0
<|file_sep|>original/.travis.yml
rvm:
- ruby-head
- 1.9.2
- 1.8.7
- ree
- jruby
- rbx
- rbx-2.0.0pre
<|file_sep|>current/.travis.yml
rvm:
- 2.1.5
- 2.0.0
- jruby
- rbx
- rbx-2.0.0pre
<|f... | rvm:
- 2.1.5
- 2.0.0
- jruby | <|file_sep|>.travis.yml.diff
original:
- ruby-head
- 1.9.2
- 1.8.7
- ree
updated:
- 2.1.5
- 2.0.0
<|file_sep|>original/.travis.yml
rvm:
- ruby-head
- 1.9.2
- 1.8.7
- ree
- jruby
- rbx
- rbx-2.0.0pre
<|file_sep|>current/.travis.yml
rvm:
- 2.1.5
- 2.0.0
- jruby
- rbx
- rbx-2.0.0pre
<|f... | 37d6814a9bd43bbaebb9511afa99dc4c1dffecfb | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/less/forum/extension.less
margin-right: 0;
}
}
}
@media @desktop-up {
.TagsPage {
.sideNav {
.sideNav--horizontal();
float: none;
width: auto;
padding-top: 0;
&:after {
display: none;
}
}
.sideNavOffset {
margin: 15px 0 0;... | }
@media @desktop-up {
.TagsPage {
.sideNav {
.sideNav--horizontal();
float: none;
width: auto;
padding-top: 0;
&:after {
display: none;
}
}
.sideNavOffset {
margin: 15px 0 0;
}
}
.TagsPage-nav .item-newDiscussion .Button {
width: auto;
}
} | <|file_sep|>original/less/forum/extension.less
margin-right: 0;
}
}
}
@media @desktop-up {
.TagsPage {
.sideNav {
.sideNav--horizontal();
float: none;
width: auto;
padding-top: 0;
&:after {
display: none;
}
}
.sideNavOffset {
margin: 15px 0 0;... | 18786cf809c703c20bb6e91efd6c77326ef657d9 | less/forum/extension.less | less/forum/extension.less | Less |
<|file_sep|>original/requirements.txt
Django==2.0.2
dj_database_url==0.4.2
pytz==2017.3
python_box==3.1.1
six==1.11.0
gunicorn==19.7.1
psycopg2==2.7.4
python-decouple==3.1
raven==6.5.0
#Amazon S3 Stuff
boto3==1.5.22
Collectfast==0.6.0
botocore==1.8.36
django-s3-folder-storage==0.5
django-storages==1.6.5
docutils==0.14... | Django==2.0.2
dj_database_url==0.4.2
pytz==2017.3
python_box==3.1.1
six==1.11.0
gunicorn==19.7.1
psycopg2==2.7.4
python-decouple==3.1
raven==6.5.0
#Amazon S3 Stuff
boto3==1.5.22
Collectfast==0.6.0
botocore==1.9.2
django-s3-folder-storage==0.5
django-storages==1.6.5
docutils==0.14
jmespath==0.9.3
python-dateutil==2.6.1... | <|file_sep|>original/requirements.txt
Django==2.0.2
dj_database_url==0.4.2
pytz==2017.3
python_box==3.1.1
six==1.11.0
gunicorn==19.7.1
psycopg2==2.7.4
python-decouple==3.1
raven==6.5.0
#Amazon S3 Stuff
boto3==1.5.22
Collectfast==0.6.0
botocore==1.8.36
django-s3-folder-storage==0.5
django-storages==1.6.5
docutils==0.14... | e67a0adb4c0b08d3d36af7358ed52d9df1abd5e2 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/lib/changelogger.rb
require 'grit'
require 'changelogger/commit_formatter'
require 'changelogger/commit_filter'
class ChangeLogger
def initialize(repo_dir)
@repo = Grit::Repo.new(repo_dir)
end
def changelog(formatter = CommitFormatter.new, filter = CommitFilter.new)
tags = @repo.tag... | require 'grit'
require 'changelogger/commit_formatter'
require 'changelogger/commit_filter'
class ChangeLogger
def initialize(repo_dir, is_bare = false)
@repo = Grit::Repo.new(repo_dir, :is_bare => is_bare)
end
def changelog(formatter = CommitFormatter.new, filter = CommitFilter.new)
tags = @repo.tags
... | <|file_sep|>original/lib/changelogger.rb
require 'grit'
require 'changelogger/commit_formatter'
require 'changelogger/commit_filter'
class ChangeLogger
def initialize(repo_dir)
@repo = Grit::Repo.new(repo_dir)
end
def changelog(formatter = CommitFormatter.new, filter = CommitFilter.new)
tags = @repo.tag... | fcde58bf33700d099bcd63342cd6048657f2843f | lib/changelogger.rb | lib/changelogger.rb | Ruby |
<|file_sep|>original/app/assets/javascripts/pages/worktimes.coffee
'use strict'
TimeTracker.WorkTimes =
setDestroyCallback: ->
$('.worktime-page #day-records').on 'ajax:success', '.day-row a.destroy', (event, data, status, xhr) ->
$(event.target).parent().fadeOut 'fast', ->
$(this).remove()
init:... | 'use strict'
TimeTracker.WorkTimes =
setDestroyCallback: ->
$('.worktime-page #day-records').on 'ajax:success', '.day-row a.destroy', (event, data, status, xhr) ->
$(event.target).parent().parent().fadeOut 'fast', ->
$(this).remove()
init: ->
do @setDestroyCallback
$ ->
do TimeTracker.Work... | <|file_sep|>original/app/assets/javascripts/pages/worktimes.coffee
'use strict'
TimeTracker.WorkTimes =
setDestroyCallback: ->
$('.worktime-page #day-records').on 'ajax:success', '.day-row a.destroy', (event, data, status, xhr) ->
$(event.target).parent().fadeOut 'fast', ->
$(this).remove()
init:... | bd8d6bd5adb2521cf7b81cce6e6b9a0f4885a0d9 | app/assets/javascripts/pages/worktimes.coffee | app/assets/javascripts/pages/worktimes.coffee | CoffeeScript |
<|file_sep|>original/BikeMates/BikeMates.Contracts/IUserRepository.cs
using BikeMates.DataAccess.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BikeMates.Contracts
{
//TODO: Create folder Repositories and move this interface in... | using BikeMates.DataAccess.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BikeMates.Contracts
{
//TODO: Create folder Repositories and move this interface into it
//TODO: Create a base IRepository interface
public inter... | <|file_sep|>original/BikeMates/BikeMates.Contracts/IUserRepository.cs
using BikeMates.DataAccess.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BikeMates.Contracts
{
//TODO: Create folder Repositories and move this interface in... | 0f2e4c47c695686ef42d36c144887de28113caa3 | BikeMates/BikeMates.Contracts/IUserRepository.cs | BikeMates/BikeMates.Contracts/IUserRepository.cs | C# |
<|file_sep|>original/trunk/CVSROOT/org.mwc.cmap.legacy/plugin.xml
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin
id="org.mwc.cmap.legacy"
name="CMap Legacy Algorithms Plug-in"
version="1.0.21"
provider-name="MWC">
<runtime>
<library name="cmap_legacy.jar">
<expor... | <?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin
id="org.mwc.cmap.legacy"
name="CMap Legacy Algorithms Plug-in"
version="1.0.22"
provider-name="MWC">
<runtime>
<library name="cmap_legacy.jar">
<export name="*"/>
</library>
<library name="libs/xercesImpl... | <|file_sep|>original/trunk/CVSROOT/org.mwc.cmap.legacy/plugin.xml
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin
id="org.mwc.cmap.legacy"
name="CMap Legacy Algorithms Plug-in"
version="1.0.21"
provider-name="MWC">
<runtime>
<library name="cmap_legacy.jar">
<expor... | 955774d7d36e133fbb7375ee40b65b2193f32738 | trunk/CVSROOT/org.mwc.cmap.legacy/plugin.xml | trunk/CVSROOT/org.mwc.cmap.legacy/plugin.xml | XML |
<|file_sep|>original/src/BrazilianDddToUF/TraitValidator.php
<?php
namespace BrazilianDddToUF;
trait TraitValidator {
protected static function validate(array $arrayDDD, $ddd){
if( !array_key_exists($ddd, $arrayDDD) ) {
return false;
throw new \InvalidArgumentException('DDD inexis... | <?php
namespace BrazilianDddToUF;
trait TraitValidator {
protected static function validate(array $arrayDDD, $ddd){
if( !array_key_exists($ddd, $arrayDDD) ) {
return false;
throw new \InvalidArgumentException('DDD inexistente');
}
return true;
}
} | <|file_sep|>original/src/BrazilianDddToUF/TraitValidator.php
<?php
namespace BrazilianDddToUF;
trait TraitValidator {
protected static function validate(array $arrayDDD, $ddd){
if( !array_key_exists($ddd, $arrayDDD) ) {
return false;
throw new \InvalidArgumentException('DDD inexis... | bbdb30379d4df61a8e5b3adbc195d44c78793898 | src/BrazilianDddToUF/TraitValidator.php | src/BrazilianDddToUF/TraitValidator.php | PHP |
<|file_sep|>original/.travis.yml
language: php
phps:
- 5.3
- 5.4
before_script:
- wget http://getcomposer.org/composer.phar
- php composer.phar install
script: php vendor/bin/atoum -c .atoum.php -d tests
notifications:
email:
- ludo.fleury@gmail.com
- dguyon@gmail.com
<|file_sep|>current/.travis.yml
l... | language: php
phps:
- 5.3
- 5.4
before_script:
- wget http://getcomposer.org/composer.phar
- php composer.phar install
script: php vendor/bin/atoum -c .atoum.php -d tests
branches:
only:
- master
- refacto
notifications:
email:
- ludo.fleury@gmail.com
- dguyon@gmail.com | <|file_sep|>original/.travis.yml
language: php
phps:
- 5.3
- 5.4
before_script:
- wget http://getcomposer.org/composer.phar
- php composer.phar install
script: php vendor/bin/atoum -c .atoum.php -d tests
notifications:
email:
- ludo.fleury@gmail.com
- dguyon@gmail.com
<|file_sep|>current/.travis.yml
l... | 692cd2c1cdd8bc82ed8cf9cbf3685e0e6f4864c7 | .travis.yml | .travis.yml | YAML |
<|file_sep|>app/views/admin/shared/pictures/_one.html.slim.diff
original:
- f.inputs 'Picture', for: [:picture, f.object.picture || Picture.new] do |item|
updated:
- f.inputs I18n.t('activerecord.models.picture.one'), for: [:picture, f.object.picture || Picture.new] do |item|
<|file_sep|>original/app/views/admin/shared... | - f.inputs I18n.t('activerecord.models.picture.one'), for: [:picture, f.object.picture || Picture.new] do |item|
- item.input :image,
as: :file,
label: I18n.t('form.label.picture'),
hint: retina_image_tag(item.object, :image, :medium) + '<br/> N\'oubliez pas de sauvegarde... | <|file_sep|>app/views/admin/shared/pictures/_one.html.slim.diff
original:
- f.inputs 'Picture', for: [:picture, f.object.picture || Picture.new] do |item|
updated:
- f.inputs I18n.t('activerecord.models.picture.one'), for: [:picture, f.object.picture || Picture.new] do |item|
<|file_sep|>original/app/views/admin/shared... | 7f15cb2b2c03417d99d33774f65b09b09feb875a | app/views/admin/shared/pictures/_one.html.slim | app/views/admin/shared/pictures/_one.html.slim | Slim |
<|file_sep|>original/event_store-client-http.gemspec
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'event_store-client-http'
s.version = '0.0.4.1'
s.summary = 'HTTP Client for EventStore'
s.description = ' '
s.authors = ['Obsidian Software, Inc']
s.email = 'opensource@obsidianexchange.co... | # -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'event_store-client-http'
s.version = '0.0.4.2'
s.summary = 'HTTP Client for EventStore'
s.description = ' '
s.authors = ['Obsidian Software, Inc']
s.email = 'opensource@obsidianexchange.com'
s.homepage = 'https://github.com/obsidian-btc/ev... | <|file_sep|>original/event_store-client-http.gemspec
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'event_store-client-http'
s.version = '0.0.4.1'
s.summary = 'HTTP Client for EventStore'
s.description = ' '
s.authors = ['Obsidian Software, Inc']
s.email = 'opensource@obsidianexchange.co... | 74c6c8fdc4e2e375938ef9e996a793c28c9f5944 | event_store-client-http.gemspec | event_store-client-http.gemspec | Ruby |
<|file_sep|>original/src/applications/paste/xaction/PhabricatorPasteStatusTransaction.php
public function generateOldValue($object) {
return $object->getStatus();
}
public function applyInternalEffects($object, $value) {
$object->setStatus($value);
}
private function isActivate() {
return ($thi... |
public function generateOldValue($object) {
return $object->getStatus();
}
public function applyInternalEffects($object, $value) {
$object->setStatus($value);
}
private function isActivate() {
return ($this->getNewValue() == PhabricatorPaste::STATUS_ACTIVE);
}
public function getIcon() {
... | <|file_sep|>original/src/applications/paste/xaction/PhabricatorPasteStatusTransaction.php
public function generateOldValue($object) {
return $object->getStatus();
}
public function applyInternalEffects($object, $value) {
$object->setStatus($value);
}
private function isActivate() {
return ($thi... | 38c290a241b1210ea2ff30a273330fdbe0abcf9b | src/applications/paste/xaction/PhabricatorPasteStatusTransaction.php | src/applications/paste/xaction/PhabricatorPasteStatusTransaction.php | PHP |
<|file_sep|>original/byte-buddy-gradle-plugin/README.md
<|file_sep|>current/byte-buddy-gradle-plugin/README.md
<|file_sep|>updated/byte-buddy-gradle-plugin/README.md | # Byte Buddy Maven Plugin
The **Byte Buddy Gradle Plugin** enables you to apply bytecode enhancements during the build process. To activate this process, add the following sections to your project Gradle build file:
###### build.gradle
```groovy
buildscript {
repositories {
jCenter()
}
dependencies {
cl... | <|file_sep|>original/byte-buddy-gradle-plugin/README.md
<|file_sep|>current/byte-buddy-gradle-plugin/README.md
<|file_sep|>updated/byte-buddy-gradle-plugin/README.md
# Byte Buddy Maven Plugin
The **Byte Buddy Gradle Plugin** enables you to apply bytecode enhancements during the build process. To activate this proces... | 0ff027f76edfd110e0a8c06a4f1bbb99d16a2abe | byte-buddy-gradle-plugin/README.md | byte-buddy-gradle-plugin/README.md | Markdown |
<|file_sep|>app/assets/javascripts/views/travel-advice.js.diff
original:
updated:
var headingHasVisibleCountries = function(headingFirstLetter) {
return $("section#" + headingFirstLetter.toUpperCase()).find("li:visible").length > 0;
};
<|file_sep|>app/assets/javascripts/views/travel-advice.js.diff
original:
... | }
});
};
input.change(function () {
var filter = $(this).val();
if (filter && filter.length > 0) {
listItems.show();
listItems.filter(":not(:contains(" + filter + "))").hide();
filterHeadings();
} else {
listItems.show();
countryHeadings.show();
}
retur... | <|file_sep|>app/assets/javascripts/views/travel-advice.js.diff
original:
updated:
var headingHasVisibleCountries = function(headingFirstLetter) {
return $("section#" + headingFirstLetter.toUpperCase()).find("li:visible").length > 0;
};
<|file_sep|>app/assets/javascripts/views/travel-advice.js.diff
original:
... | cff63c773cdd5e38d3c966bf7f98e475fff273f6 | app/assets/javascripts/views/travel-advice.js | app/assets/javascripts/views/travel-advice.js | JavaScript |
<|file_sep|>original/ISSUE_TEMPLATE.md
<!-- Please paste the output of following commands -->
<!--Which python version are you using?-->
`python -V`
`pip freeze | grep rst2pdf`
`pip freeze | grep reportlab`
<!--- (Optional) If you are using Sphinx, please paste output of this too.-->
`pip freeze | grep Sphinx`
<!-... |
🖥 **Versions**
<!-- Please paste the output of following commands -->
<!--Which python version are you using?-->
`python -V`
`pip freeze | grep rst2pdf`
`pip freeze | grep reportlab`
<!--- (Optional) If you are using Sphinx, please paste output of this too.-->
`pip freeze | grep Sphinx`
Which operating system a... | <|file_sep|>original/ISSUE_TEMPLATE.md
<!-- Please paste the output of following commands -->
<!--Which python version are you using?-->
`python -V`
`pip freeze | grep rst2pdf`
`pip freeze | grep reportlab`
<!--- (Optional) If you are using Sphinx, please paste output of this too.-->
`pip freeze | grep Sphinx`
<!-... | ef3522e765ce57628d29a66863141db6584e7cdc | ISSUE_TEMPLATE.md | ISSUE_TEMPLATE.md | Markdown |
<|file_sep|>lib/rom/header/attribute.rb.diff
original:
attr_reader :name, :key, :meta
updated:
attr_reader :name, :key, :type, :meta
<|file_sep|>lib/rom/header/attribute.rb.diff
original:
end
def type
meta.fetch(:type)
updated:
@type = meta.fetch(:type)
<|file_sep|>original/lib/... | end
def mapping
{ key => name }
end
end
class Embedded < Attribute
include Equalizer.new(:name, :key, :type, :header)
attr_reader :header
def initialize(*)
super
@header = meta.fetch(:header)
end
def tuple_keys
header.tuple_key... | <|file_sep|>lib/rom/header/attribute.rb.diff
original:
attr_reader :name, :key, :meta
updated:
attr_reader :name, :key, :type, :meta
<|file_sep|>lib/rom/header/attribute.rb.diff
original:
end
def type
meta.fetch(:type)
updated:
@type = meta.fetch(:type)
<|file_sep|>original/lib/... | 6a9567004af93df3d030dff7f05a43fae91a6175 | lib/rom/header/attribute.rb | lib/rom/header/attribute.rb | Ruby |
<|file_sep|>original/config/doctrine/BaconUser.Entity.ResetPassword.dcm.xml
<?xml version="1.0" encoding="UTF-8"?>
<doctrine-mapping
xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://doctrine-project.org/schemas/... | <?xml version="1.0" encoding="UTF-8"?>
<doctrine-mapping
xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping
http://doctrine-project.org/schemas/orm/doctrine-ma... | <|file_sep|>original/config/doctrine/BaconUser.Entity.ResetPassword.dcm.xml
<?xml version="1.0" encoding="UTF-8"?>
<doctrine-mapping
xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://doctrine-project.org/schemas/... | 2e04887aabd66c8f34d90710a96309d3e7a1e188 | config/doctrine/BaconUser.Entity.ResetPassword.dcm.xml | config/doctrine/BaconUser.Entity.ResetPassword.dcm.xml | XML |
<|file_sep|>original/package.json
"url": "git+https://github.com/lever/planer.git"
},
"keywords": [
"email",
"quotations",
"reply",
"talon"
],
"author": "Leighton Wallace (https://github.com/l8on)",
"license": "MIT",
"bugs": {
"url": "https://github.com/lever/planer/issues"
},
"h... | "url": "git+https://github.com/lever/planer.git"
},
"keywords": [
"email",
"quotations",
"reply",
"talon"
],
"author": "Leighton Wallace (https://github.com/l8on)",
"license": "MIT",
"bugs": {
"url": "https://github.com/lever/planer/issues"
},
"homepage": "https://github.com/leve... | <|file_sep|>original/package.json
"url": "git+https://github.com/lever/planer.git"
},
"keywords": [
"email",
"quotations",
"reply",
"talon"
],
"author": "Leighton Wallace (https://github.com/l8on)",
"license": "MIT",
"bugs": {
"url": "https://github.com/lever/planer/issues"
},
"h... | b83e2e60394834b080739b253f79461237f520d2 | package.json | package.json | JSON |
<|file_sep|>.bazelci/presubmit.yml.diff
original:
updated:
- echo "import %workspace%/tools/bazel.rc" > .bazelrc
<|file_sep|>.bazelci/presubmit.yml.diff
original:
updated:
- echo "import %workspace%/tools/bazel.rc" > .bazelrc
<|file_sep|>original/.bazelci/presubmit.yml
- mv tools/bazel.rc.buildkite tools/... | - "//test/..."
test_targets:
- "//test/..."
ubuntu1604:
shell_commands:
# Disable local disk caching on CI.
- mv tools/bazel.rc.buildkite tools/bazel.rc
- echo "import %workspace%/tools/bazel.rc" > .bazelrc
build_targets:
- "//test/..."
test_targets:
- "//test/..."
macos:... | <|file_sep|>.bazelci/presubmit.yml.diff
original:
updated:
- echo "import %workspace%/tools/bazel.rc" > .bazelrc
<|file_sep|>.bazelci/presubmit.yml.diff
original:
updated:
- echo "import %workspace%/tools/bazel.rc" > .bazelrc
<|file_sep|>original/.bazelci/presubmit.yml
- mv tools/bazel.rc.buildkite tools/... | ac656fe3f00bf0d6abbb1bb8c07f1fecbc0f2fbd | .bazelci/presubmit.yml | .bazelci/presubmit.yml | YAML |
<|file_sep|>original/src/components/sass/mixins/_clearfix.scss
// Clearfix mixin
// http://cssmojo.com/the-very-latest-clearfix-reloaded/
/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
* `contenteditable` attribute is included anywhere els... | // Clearfix mixin
// http://cssmojo.com/the-very-latest-clearfix-reloaded/
/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
* `contenteditable` attribute is included anywhere else in the document.
* Otherwise it causes space to appear at... | <|file_sep|>original/src/components/sass/mixins/_clearfix.scss
// Clearfix mixin
// http://cssmojo.com/the-very-latest-clearfix-reloaded/
/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
* `contenteditable` attribute is included anywhere els... | 7d3ff590c8180e8cbaae125e25baa61c208f7b60 | src/components/sass/mixins/_clearfix.scss | src/components/sass/mixins/_clearfix.scss | SCSS |
<|file_sep|>app/today/collections/TodayItems.js.diff
original:
define(['core/collections/MoxieCollection', 'today/models/OxfordDate'], function(MoxieCollection, OxfordDate) {
updated:
define(['core/collections/MoxieCollection', 'today/models/OxfordDate', 'today/models/Weather', 'today/models/RiverStatus'], function(Mox... | define(['core/collections/MoxieCollection', 'today/models/OxfordDate', 'today/models/Weather', 'today/models/RiverStatus'], function(MoxieCollection, OxfordDate, Weather, RiverStatus) {
var TodayItems = MoxieCollection.extend({
fetch: function() {
if (this.length===0) {
this.rese... | <|file_sep|>app/today/collections/TodayItems.js.diff
original:
define(['core/collections/MoxieCollection', 'today/models/OxfordDate'], function(MoxieCollection, OxfordDate) {
updated:
define(['core/collections/MoxieCollection', 'today/models/OxfordDate', 'today/models/Weather', 'today/models/RiverStatus'], function(Mox... | edddbdb34443329c3b0fb5efd2727779baa36ab9 | app/today/collections/TodayItems.js | app/today/collections/TodayItems.js | JavaScript |
<|file_sep|>original/app/templates/src/utils/createDevToolsWindow.js
// Window name.
const name = 'Redux DevTools';
// Give it a name so it reuses the same window.
const win = window.open(
null,
name,
'menubar=no,location=no,resizable=yes,scrollbars=no,status=no'
);
// Reload in case it's reus... | // Window name.
const name = 'Redux DevTools';
// Give it a name so it reuses the same window.
const win = window.open(
null,
name,
'menubar=no,location=no,resizable=yes,scrollbars=no,status=no'
);
// Pop-ups are blocked by default, so it may open async
if (!win) {
console.warn(
'C... | <|file_sep|>original/app/templates/src/utils/createDevToolsWindow.js
// Window name.
const name = 'Redux DevTools';
// Give it a name so it reuses the same window.
const win = window.open(
null,
name,
'menubar=no,location=no,resizable=yes,scrollbars=no,status=no'
);
// Reload in case it's reus... | d8b56e7e13ba6e02f42f535c20e5b96890537a97 | app/templates/src/utils/createDevToolsWindow.js | app/templates/src/utils/createDevToolsWindow.js | JavaScript |
<|file_sep|>installers/SlackBSD.sh.diff
original:
updated:
set -x
set -e
<|file_sep|>installers/SlackBSD.sh.diff
original:
updated:
if ! pkg info ca_root_nss;
then pkg install -y ca_root_nss
fi
if ! pkg info libXScrnSaver;
then pkg install -y libXScrnSaver
fi
if ! pkg info libsecret;
then pkg install -y libsecret... | if ! pkg info libXScrnSaver;
then pkg install -y libXScrnSaver
fi
if ! pkg info libsecret;
then pkg install -y libsecret
fi
if ! pkg info gconf2;
then pkg install -y gconf2
fi
if ! pkg info gcc;
then pkg install -y gcc
fi
if [ ! -d "$HOME"/Downloads ]; then
mkdir "$HOME"/Downloads
fi
cd "$HOME"/Downloads
fetch "h... | <|file_sep|>installers/SlackBSD.sh.diff
original:
updated:
set -x
set -e
<|file_sep|>installers/SlackBSD.sh.diff
original:
updated:
if ! pkg info ca_root_nss;
then pkg install -y ca_root_nss
fi
if ! pkg info libXScrnSaver;
then pkg install -y libXScrnSaver
fi
if ! pkg info libsecret;
then pkg install -y libsecret... | 34076fe6f0302ba7fdaba2f490560051bbe2fa94 | installers/SlackBSD.sh | installers/SlackBSD.sh | Shell |
<|file_sep|>original/project.clj
(defproject io.aviso/twixt "0.1.6"
:description "An extensible asset pipeline for Clojure web applications"
:url "https://github.com/AvisoNovate/twixt"
:license {:name "Apache Sofware Licencse 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"}
:dependencie... | (defproject io.aviso/twixt "0.1.7"
:description "An extensible asset pipeline for Clojure web applications"
:url "https://github.com/AvisoNovate/twixt"
:license {:name "Apache Sofware Licencse 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"}
:dependencies [[org.clojure/clojure "1.5.1"]
... | <|file_sep|>original/project.clj
(defproject io.aviso/twixt "0.1.6"
:description "An extensible asset pipeline for Clojure web applications"
:url "https://github.com/AvisoNovate/twixt"
:license {:name "Apache Sofware Licencse 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"}
:dependencie... | a3cc4ff118800681cb4d4063ee5b52f46fac776d | project.clj | project.clj | Clojure |
<|file_sep|>original/jarbas/core/views.py
from django.shortcuts import get_object_or_404
from rest_framework.generics import RetrieveAPIView
from jarbas.core.models import Company
from jarbas.core.serializers import CompanySerializer
from jarbas.chamber_of_deputies.serializers import format_cnpj
class CompanyDetailVi... | from django.shortcuts import get_object_or_404
from rest_framework.generics import RetrieveAPIView
from jarbas.core.models import Company
from jarbas.core.serializers import CompanySerializer
from jarbas.chamber_of_deputies.serializers import format_cnpj
class CompanyDetailView(RetrieveAPIView):
lookup_field = ... | <|file_sep|>original/jarbas/core/views.py
from django.shortcuts import get_object_or_404
from rest_framework.generics import RetrieveAPIView
from jarbas.core.models import Company
from jarbas.core.serializers import CompanySerializer
from jarbas.chamber_of_deputies.serializers import format_cnpj
class CompanyDetailVi... | 30e050b836a4e8df3f918738b78552a070a1a176 | jarbas/core/views.py | jarbas/core/views.py | Python |
<|file_sep|>original/app/concerns/couriers/fusionable.rb
puts "Selecting Fusion Table (#{self.table_id})"
@@table ||= client.show_tables.select { |t| t.id == self.table_id }.first or raise InvalidFusionTableError
end
def perform
while id = Resque.redis.lpop('fusionable')
... | puts "Selecting Fusion Table (#{self.table_id})"
@@table ||= client.show_tables.select { |t| t.id == self.table_id }.first or raise InvalidFusionTableError
end
def perform
while id = Resque.redis.lpop('fusionable')
begin
photo = Photo.find id
... | <|file_sep|>original/app/concerns/couriers/fusionable.rb
puts "Selecting Fusion Table (#{self.table_id})"
@@table ||= client.show_tables.select { |t| t.id == self.table_id }.first or raise InvalidFusionTableError
end
def perform
while id = Resque.redis.lpop('fusionable')
... | 54a2be448c4f738a8f562c48a6ddc4b62ce1b01a | app/concerns/couriers/fusionable.rb | app/concerns/couriers/fusionable.rb | Ruby |
<|file_sep|>original/.travis.yml
language: objective-c
env: APM_TEST_PACKAGES="language-plantuml"
script: 'curl -s https://raw.githubusercontent.com/markushedvall/ci/master/build-package.sh | sh'
git:
depth: 10
<|file_sep|>current/.travis.yml
language: objective-c
env: APM_TEST_PACKAGES="language-plantuml"
scrip... | language: objective-c
env: APM_TEST_PACKAGES="language-plantuml"
script: 'curl -s https://raw.githubusercontent.com/atom/ci/master/build-package.sh | sh'
git:
depth: 10 | <|file_sep|>original/.travis.yml
language: objective-c
env: APM_TEST_PACKAGES="language-plantuml"
script: 'curl -s https://raw.githubusercontent.com/markushedvall/ci/master/build-package.sh | sh'
git:
depth: 10
<|file_sep|>current/.travis.yml
language: objective-c
env: APM_TEST_PACKAGES="language-plantuml"
scrip... | b24ed0058f34e80c2e430031d1433bd79181d2a0 | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/cli.ts.diff
original:
failureExitCode(),
updated:
<|file_sep|>original/src/cli.ts
findTestFiles,
component,
loadTests,
runTests,
printResultsToConsole,
writeResultsToFile,
writeResultsToJunitFile,
failureExitCode
} from "./index";
const run = tf(
component("assert", assert),
find... | component,
loadTests,
runTests,
printResultsToConsole,
writeResultsToFile,
writeResultsToJunitFile,
failureExitCode
} from "./index";
const run = tf(
component("assert", assert),
findTestFiles("./tests/*.test.js"),
loadTests,
runTests,
printResultsToConsole,
writeResultsToJunitFile("results.x... | <|file_sep|>src/cli.ts.diff
original:
failureExitCode(),
updated:
<|file_sep|>original/src/cli.ts
findTestFiles,
component,
loadTests,
runTests,
printResultsToConsole,
writeResultsToFile,
writeResultsToJunitFile,
failureExitCode
} from "./index";
const run = tf(
component("assert", assert),
find... | 2231cdee2a335e7b67beba91d9138df2eceabab9 | src/cli.ts | src/cli.ts | TypeScript |
<|file_sep|>original/sources/un.org/2015-members-growth/url.html
<meta http-equiv="refresh" content="0;
url=http://www.un.org/en/members/growth.shtml/
"/>
<|file_sep|>current/sources/un.org/2015-members-growth/url.html
<meta http-equiv="refresh" content="0;
url=http://www.un.org/en/members/growth.shtml/
"/>
<|file_... | <meta http-equiv="refresh" content="0;
url=http://www.un.org/en/members/growth.shtml
"/> | <|file_sep|>original/sources/un.org/2015-members-growth/url.html
<meta http-equiv="refresh" content="0;
url=http://www.un.org/en/members/growth.shtml/
"/>
<|file_sep|>current/sources/un.org/2015-members-growth/url.html
<meta http-equiv="refresh" content="0;
url=http://www.un.org/en/members/growth.shtml/
"/>
<|file_... | 8b9da7f74515fa874a61a28f1ff63f64d5ca1211 | sources/un.org/2015-members-growth/url.html | sources/un.org/2015-members-growth/url.html | HTML |
<|file_sep|>original/spec/color-scanner-spec.coffee
withTextEditor fixture, ->
beforeEach -> scanner = new ColorScanner(buffer: editor.getBuffer())
afterEach -> scanner = null
do block
describe '::search', ->
withScannerForTextEditor 'four-variables.styl', ->
beforeEach ->
b... | do block
describe '::search', ->
withScannerForTextEditor 'four-variables.styl', ->
beforeEach ->
bufferColor = scanner.search()
it 'returns the first buffer color match', ->
expect(bufferColor).toBeDefined()
describe 'the resulting buffer color', ->
it 'has a te... | <|file_sep|>original/spec/color-scanner-spec.coffee
withTextEditor fixture, ->
beforeEach -> scanner = new ColorScanner(buffer: editor.getBuffer())
afterEach -> scanner = null
do block
describe '::search', ->
withScannerForTextEditor 'four-variables.styl', ->
beforeEach ->
b... | 871452bf242126e8fcf79c71f711305658853119 | spec/color-scanner-spec.coffee | spec/color-scanner-spec.coffee | CoffeeScript |
<|file_sep|>original/tsconfig.aot.json
{
"compilerOptions": {
"declaration": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"noEmitHelpers": true,
"lib": ["es6", "dom"],
"mapRoot": "./",
"module": "es2015",
"moduleResolution": "node",
"outDir": "./dist",
"... | {
"compilerOptions": {
"declaration": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"noEmitHelpers": true,
"lib": ["es6", "dom"],
"module": "es2015",
"moduleResolution": "node",
"outDir": "./dist",
"sourceMap": true,
"target": "es5",
"typeRoots": [
... | <|file_sep|>original/tsconfig.aot.json
{
"compilerOptions": {
"declaration": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"noEmitHelpers": true,
"lib": ["es6", "dom"],
"mapRoot": "./",
"module": "es2015",
"moduleResolution": "node",
"outDir": "./dist",
"... | 63c2a680179d97fe67bcc2e8554fbbd4d033c66e | tsconfig.aot.json | tsconfig.aot.json | JSON |
<|file_sep|>original/HISTORY.rst
.. :changelog:
History
-------
0.1.0 (2014-10-30)
------------------
* First release on PyPI.
<|file_sep|>current/HISTORY.rst
.. :changelog:
History
-------
0.1.0 (2014-10-30)
------------------
* First release on PyPI.
<|file_sep|>updated/HISTORY.rst | .. :changelog:
History
-------
0.1.0 (2014-10-21)
------------------
* First release on PyPI. | <|file_sep|>original/HISTORY.rst
.. :changelog:
History
-------
0.1.0 (2014-10-30)
------------------
* First release on PyPI.
<|file_sep|>current/HISTORY.rst
.. :changelog:
History
-------
0.1.0 (2014-10-30)
------------------
* First release on PyPI.
<|file_sep|>updated/HISTORY.rst
.. :changelog:
History
-----... | 558c5f09b2b2bb74ae18edd5ba81c5d6e0d866e2 | HISTORY.rst | HISTORY.rst | reStructuredText |
<|file_sep|>swampdragon/file_upload_handler.py.diff
original:
updated:
from datetime import datetime
import time
<|file_sep|>original/swampdragon/file_upload_handler.py
from os.path import join
from os import makedirs
from django.conf import settings
def make_file_id(file_data):
return str(abs(hash(file_data)))
... | from os.path import join
from os import makedirs
from django.conf import settings
from datetime import datetime
import time
def make_file_id(file_data):
timestamp = datetime.now()
timestamp = time.mktime(timestamp.timetuple()) * 1e3 + timestamp.microsecond / 1e3
timestamp = '{}'.format(timestamp).encode()... | <|file_sep|>swampdragon/file_upload_handler.py.diff
original:
updated:
from datetime import datetime
import time
<|file_sep|>original/swampdragon/file_upload_handler.py
from os.path import join
from os import makedirs
from django.conf import settings
def make_file_id(file_data):
return str(abs(hash(file_data)))
... | 183bd0005b71a587021c21b095961a0760e12f23 | swampdragon/file_upload_handler.py | swampdragon/file_upload_handler.py | Python |
<|file_sep|>composer.json.diff
original:
"illuminate/support": "4.1.*",
"mockery/mockery": "0.9.*"
updated:
"illuminate/support": "4.1.*"
<|file_sep|>original/composer.json
],
"authors": [
{
"name": "Jeffrey Way",
"email": "jeffrey@laracasts.com"
}... | "authors": [
{
"name": "Jeffrey Way",
"email": "jeffrey@laracasts.com"
}
],
"require": {
"php": ">=5.4.0",
"illuminate/support": "4.1.*"
},
"require-dev": {
"phpspec/phpspec": "2.0.*@dev",
"mockery/mockery": "0.9.*"
},
"... | <|file_sep|>composer.json.diff
original:
"illuminate/support": "4.1.*",
"mockery/mockery": "0.9.*"
updated:
"illuminate/support": "4.1.*"
<|file_sep|>original/composer.json
],
"authors": [
{
"name": "Jeffrey Way",
"email": "jeffrey@laracasts.com"
}... | 88fc359a6ca54566b177c2e37e3da5dc89c0d04e | composer.json | composer.json | JSON |
<|file_sep|>lisp/init-which-key.el.diff
original:
;; Which Key
updated:
;; init-which-key.el --- Which Key setup
;;; Commentary:
<|file_sep|>lisp/init-which-key.el.diff
original:
(require-package 'which-key)
(which-key-mode)
updated:
;;; Code:
(use-package which-key
:diminish which-key-mode
:init
(which-key-mod... | ;; init-which-key.el --- Which Key setup
;;; Commentary:
;; https://github.com/justbur/emacs-which-key
;;; Code:
(use-package which-key
:diminish which-key-mode
:init
(which-key-mode))
(provide 'init-which-key)
;;; init-which-key ends here | <|file_sep|>lisp/init-which-key.el.diff
original:
;; Which Key
updated:
;; init-which-key.el --- Which Key setup
;;; Commentary:
<|file_sep|>lisp/init-which-key.el.diff
original:
(require-package 'which-key)
(which-key-mode)
updated:
;;; Code:
(use-package which-key
:diminish which-key-mode
:init
(which-key-mod... | cdf279830f6eec64d75093af14699aa23ee73cb6 | lisp/init-which-key.el | lisp/init-which-key.el | Emacs Lisp |
<|file_sep|>app/css/pots.scss.diff
original:
$budget-colors: (
"under": "success",
"warning": "warning",
"over": "danger",
);
updated:
<|file_sep|>app/css/pots.scss.diff
original:
h2 small {
white-space: nowrap;
updated:
h2 {
@extend .h4;
small {
// If the pot title is too long to fit the... |
small {
// If the pot title is too long to fit the status text in the
// same line then wrap the entire status text to the next.
white-space: nowrap;
}
}
$budget-colors: (
"under": "success",
"warning": "warning",
"over": "danger",
);
@each $type, $color in $budget-colo... | <|file_sep|>app/css/pots.scss.diff
original:
$budget-colors: (
"under": "success",
"warning": "warning",
"over": "danger",
);
updated:
<|file_sep|>app/css/pots.scss.diff
original:
h2 small {
white-space: nowrap;
updated:
h2 {
@extend .h4;
small {
// If the pot title is too long to fit the... | b5da7651cf53f8bfd41e60891bbbe9a97b41c60d | app/css/pots.scss | app/css/pots.scss | SCSS |
<|file_sep|>original/app/assets/javascripts/comfortable_mexican_sofa/admin/application.js
window.CMS.wysiwyg = function() {
require([
'mas-editor'
], function (
masEditor
) {
var markdownEditorContentNode = document.querySelector('.js-markdown-editor-content'),
classActive = 'is-active',
... |
window.CMS.wysiwyg = function() {
require([
'mas-editor'
], function (
masEditor
) {
var markdownEditorContentNode = document.querySelector('.js-markdown-editor-content'),
classActive = 'is-active',
htmlEditorNode;
'use strict';
if(!markdownEditorContentNode) return;
mar... | <|file_sep|>original/app/assets/javascripts/comfortable_mexican_sofa/admin/application.js
window.CMS.wysiwyg = function() {
require([
'mas-editor'
], function (
masEditor
) {
var markdownEditorContentNode = document.querySelector('.js-markdown-editor-content'),
classActive = 'is-active',
... | bb541c161b66e6deabcf515f6557b730354bee95 | app/assets/javascripts/comfortable_mexican_sofa/admin/application.js | app/assets/javascripts/comfortable_mexican_sofa/admin/application.js | JavaScript |
<|file_sep|>original/examples/policy-controller.yaml
name: policy-controller
namespace: calico-system
labels:
version: "latest"
projectcalico.org/app: "policy-controller"
spec:
hostNetwork: true
containers:
# The Calico policy controller.
- name: policy-controller
image: calico/k8s-pol... | name: policy-controller
namespace: calico-system
labels:
version: "latest"
projectcalico.org/app: "policy-controller"
spec:
hostNetwork: true
containers:
# The Calico policy controller.
- name: policy-controller
image: calico/kube-policy-controller:latest
env:
# Modify ET... | <|file_sep|>original/examples/policy-controller.yaml
name: policy-controller
namespace: calico-system
labels:
version: "latest"
projectcalico.org/app: "policy-controller"
spec:
hostNetwork: true
containers:
# The Calico policy controller.
- name: policy-controller
image: calico/k8s-pol... | 616999b84043e8b8880e973818cfb5b657611108 | examples/policy-controller.yaml | examples/policy-controller.yaml | YAML |
<|file_sep|>ansible/roles/openshift_master_resource_quota/README.md.diff
original:
osmrq_enable_pv_quotas: BOOL. Should pv quotas be enabled.
osmrq_enable_service_lb_quotas: BOOL. Should service loadbalancer quotas be enabled.
osmrq_cluster_pv_quota: Cluster wide storage quota
osmrq_cluster_service_lb_quota: Cluster ... | ----------------
```yaml
- role: tools_roles/openshift_master_resource_quota
osmrq_enable_pv_quotas: True
osmrq_cluster_pv_quota: 100Gi
osmrq_exclude_pv_quota_label: exclude_pv_quota
osmrq_pv_projects_to_exclude:
- default
- openshift-infra
```
License
-------
Apache
Author Information
-----------------... | <|file_sep|>ansible/roles/openshift_master_resource_quota/README.md.diff
original:
osmrq_enable_pv_quotas: BOOL. Should pv quotas be enabled.
osmrq_enable_service_lb_quotas: BOOL. Should service loadbalancer quotas be enabled.
osmrq_cluster_pv_quota: Cluster wide storage quota
osmrq_cluster_service_lb_quota: Cluster ... | 2eaf7498391f87eed662f7ab35e9163d162d5c7a | ansible/roles/openshift_master_resource_quota/README.md | ansible/roles/openshift_master_resource_quota/README.md | Markdown |
<|file_sep|>photutils/utils/_misc.py.diff
original:
updated:
import sys
<|file_sep|>original/photutils/utils/_misc.py
Return a dictionary of the installed version numbers for photutils
and its dependencies.
Returns
-------
result : dict
A dictionary containing the version numbers for photu... | """
Return a dictionary of the installed version numbers for photutils
and its dependencies.
Returns
-------
result : dict
A dictionary containing the version numbers for photutils and
its dependencies.
"""
versions = {'Python': sys.version.split()[0]}
packages = ('... | <|file_sep|>photutils/utils/_misc.py.diff
original:
updated:
import sys
<|file_sep|>original/photutils/utils/_misc.py
Return a dictionary of the installed version numbers for photutils
and its dependencies.
Returns
-------
result : dict
A dictionary containing the version numbers for photu... | fa609681c2732e655cde9075182af918983ccc1f | photutils/utils/_misc.py | photutils/utils/_misc.py | Python |
<|file_sep|>original/.travis.yml
---
language: ruby
sudo: false
cache:
- bundler
rvm:
- 2.0.0
- 2.1.9
- 2.2.4
- 2.3.1
- jruby
- rbx
matrix:
allow_failures:
- rvm: jruby
- rvm: rbx
script: rake spec
<|file_sep|>current/.travis.yml
---
language: ruby
sudo: false
cache:
- bundler
rvm:
- 2.0.0
... | ---
language: ruby
sudo: false
cache:
- bundler
rvm:
- 2.0.0
- 2.1.9
- 2.2.4
- 2.3.1
- jruby
- rbx
matrix:
allow_failures:
- rvm: jruby
- rvm: rbx
script: bundle exec rake spec | <|file_sep|>original/.travis.yml
---
language: ruby
sudo: false
cache:
- bundler
rvm:
- 2.0.0
- 2.1.9
- 2.2.4
- 2.3.1
- jruby
- rbx
matrix:
allow_failures:
- rvm: jruby
- rvm: rbx
script: rake spec
<|file_sep|>current/.travis.yml
---
language: ruby
sudo: false
cache:
- bundler
rvm:
- 2.0.0
... | 39258d69764d07c2ed4225d4931e7d53c1450a3a | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements_dev.txt
numpy==1.14.0
pandas==0.22.0
pandocfilters==1.4.2
pathlib2==2.3.0
pbr==3.1.1
pexpect==4.3.1
Pillow==5.0.0
protobuf==3.5.1
Pygments==2.2.0
python-dateutil==2.6.1
PyYAML==3.12
pyzmq==16.0.3
scipy==1.0.0
seaborn==0.8.1
Sphinx==1.6.5
stevedore==1.28.0
tornado==4.5.3
h5py==2.7.1
rec... | numpy==1.14.0
pandas==0.22.0
pandocfilters==1.4.2
pathlib2==2.3.0
pbr==3.1.1
pexpect==4.3.1
Pillow==5.0.0
protobuf==3.5.1
Pygments==2.2.0
python-dateutil==2.6.1
PyYAML==3.12
pyzmq==16.0.3
scipy==1.0.0
seaborn==0.8.1
Sphinx==1.6.6
stevedore==1.28.0
tornado==4.5.3
h5py==2.7.1
recommonmark==0.4.0
pytest-flake8==0.9
tensor... | <|file_sep|>original/requirements_dev.txt
numpy==1.14.0
pandas==0.22.0
pandocfilters==1.4.2
pathlib2==2.3.0
pbr==3.1.1
pexpect==4.3.1
Pillow==5.0.0
protobuf==3.5.1
Pygments==2.2.0
python-dateutil==2.6.1
PyYAML==3.12
pyzmq==16.0.3
scipy==1.0.0
seaborn==0.8.1
Sphinx==1.6.5
stevedore==1.28.0
tornado==4.5.3
h5py==2.7.1
rec... | cc1717835cf203bdb5da71eaa646ca3ae1d255bd | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/lib/sprockets_compressor.rb
module Sprockets
@compression = false
class << self
attr_accessor :compression
end
class Concatenation
def save_to_with_compress(filename)
status = save_to_without_compress(filename)
if Sprockets.compression
compre... | begin
require 'sprockets'
rescue LoadError => e
e.message << " (You may need to install the sprockets gem)"
raise e
end
module Sprockets
@compression = false
class << self
attr_accessor :compression
end
class Concatenation
def save_to_with_compress(filename)
status = save_to_... | <|file_sep|>original/lib/sprockets_compressor.rb
module Sprockets
@compression = false
class << self
attr_accessor :compression
end
class Concatenation
def save_to_with_compress(filename)
status = save_to_without_compress(filename)
if Sprockets.compression
compre... | 6322d3d36d0ff89b962eb5f941c2364a53adfda4 | lib/sprockets_compressor.rb | lib/sprockets_compressor.rb | Ruby |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.