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|>examples/modulus_match.cc.diff
original:
updated:
using analyze_t = pegtl::analysis::generic< pegtl::analysis::rule_type::ANY >;
<|file_sep|>original/examples/modulus_match.cc
if ( in.size() ) {
if ( ( ( * in.begin() ) % M ) == R ) {
in.bump( 1 );
r... | if ( in.size() ) {
if ( ( ( * in.begin() ) % M ) == R ) {
in.bump( 1 );
return true;
}
}
return false;
}
};
struct grammar
: pegtl::until< pegtl::eolf, pegtl::must< my_rule< 3 > > > {};
}
int main( int argc, char * a... | <|file_sep|>examples/modulus_match.cc.diff
original:
updated:
using analyze_t = pegtl::analysis::generic< pegtl::analysis::rule_type::ANY >;
<|file_sep|>original/examples/modulus_match.cc
if ( in.size() ) {
if ( ( ( * in.begin() ) % M ) == R ) {
in.bump( 1 );
r... | 54db7f2b76fc80dff0e2758cda2744d5701f890b | examples/modulus_match.cc | examples/modulus_match.cc | C++ |
<|file_sep|>original/Links.txt
Movies Documents/My Videos
Documents/My Videos Documents/My Video
Music Documents/My Music
Pictures Documents/My Pictures
<|file_sep|>current/Links.txt
Movies Documents/My Videos
Documents/My Videos Documents/My Video
Music Documents/My Music
Pictures Documents/My Pictures
<|file_sep|>upd... | Movies Documents/My Videos
Documents/My Videos Documents/My Video
Music Documents/My Music
Pictures Documents/My Pictures
Library/Containers/com.amazon.Kindle/Data/Library/Application Support/Kindle/My Kindle Content My Kindle Content
Dropbox/Books Books | <|file_sep|>original/Links.txt
Movies Documents/My Videos
Documents/My Videos Documents/My Video
Music Documents/My Music
Pictures Documents/My Pictures
<|file_sep|>current/Links.txt
Movies Documents/My Videos
Documents/My Videos Documents/My Video
Music Documents/My Music
Pictures Documents/My Pictures
<|file_sep|>upd... | cea35c53e87fc7c306cdd16f2cc3daa3bce791f8 | Links.txt | Links.txt | Text |
<|file_sep|>original/README.md
<|file_sep|>current/README.md
<|file_sep|>updated/README.md | #2013-04-javascript-koans
This is a copy of the work I did on a private repo, originally a project from
the [Hack Reactor](http://hackreactor.com) curriculum. This project was worked
on with a pair, and as such is representative of the kind of problems that I've
tackled, but not of my solo work.
For a better perspect... | <|file_sep|>original/README.md
<|file_sep|>current/README.md
<|file_sep|>updated/README.md
#2013-04-javascript-koans
This is a copy of the work I did on a private repo, originally a project from
the [Hack Reactor](http://hackreactor.com) curriculum. This project was worked
on with a pair, and as such is representati... | 836d138959425ac6723fbec19ab7a1a728c53c94 | README.md | README.md | Markdown |
<|file_sep|>.codeclimate.yml.diff
original:
updated:
---
engines:
duplication:
enabled: true
config:
languages:
- ruby
- javascript
- python
- php
eslint:
enabled: true
fixme:
enabled: true
<|file_sep|>original/.codeclimate.yml
ratings:
paths:
- "src/**/*"
<|fi... | ---
engines:
duplication:
enabled: true
config:
languages:
- ruby
- javascript
- python
- php
eslint:
enabled: true
fixme:
enabled: true
ratings:
paths:
- "src/**/*"
exclude_paths: [] | <|file_sep|>.codeclimate.yml.diff
original:
updated:
---
engines:
duplication:
enabled: true
config:
languages:
- ruby
- javascript
- python
- php
eslint:
enabled: true
fixme:
enabled: true
<|file_sep|>original/.codeclimate.yml
ratings:
paths:
- "src/**/*"
<|fi... | 3173db85f408a9a13cd5a9f72a034f9e7de85ba1 | .codeclimate.yml | .codeclimate.yml | YAML |
<|file_sep|>original/python/ecep/portal/static/js/cel/templates/neighborhoodList.html
{{#each neighborhoods}}
<div class="accordion" id="location{{@index}}" style="margin-top: 0;">
<div class="accordion-group">
<div class="accordion-heading location">
<div class="row">
<div class="span6">
... | {{#each neighborhoods}}
<div class="accordion" id="location{{@index}}" style="margin-top: 0;">
<div class="accordion-group">
<div class="accordion-heading location">
<div class="row">
<div class="span6">
<h1>{{name}}</h1>
</div>
<div class="span2">
{{schools}}
... | <|file_sep|>original/python/ecep/portal/static/js/cel/templates/neighborhoodList.html
{{#each neighborhoods}}
<div class="accordion" id="location{{@index}}" style="margin-top: 0;">
<div class="accordion-group">
<div class="accordion-heading location">
<div class="row">
<div class="span6">
... | 81729a1031d69e39bdd81bbd321972b174c192e3 | python/ecep/portal/static/js/cel/templates/neighborhoodList.html | python/ecep/portal/static/js/cel/templates/neighborhoodList.html | HTML |
<|file_sep|>original/3rdparty/python/requirements.txt
ansicolors==1.0.2
antlr_python_runtime==3.1.3
--allow-external antlr-python-runtime
--allow-unverified antlr-python-runtime
Markdown==2.1.1
mock==1.0.1
mox==0.5.3
psutil==1.1.3
Pygments==1.4
pystache==0.5.3
pytest==2.5.2
pytest-cov==1.6
python_daemon==1.5.5
reques... | ansicolors==1.0.2
antlr_python_runtime==3.1.3
--allow-external antlr-python-runtime
--allow-unverified antlr-python-runtime
Markdown==2.1.1
mock==1.0.1
mox==0.5.3
psutil==1.1.3
Pygments==1.4
pystache==0.5.3
pytest==2.5.2
pytest-cov==1.6
python_daemon==1.5.5
requests==2.0.0
setuptools==5.0
thrift==0.9.1
wheel==0.23.0 | <|file_sep|>original/3rdparty/python/requirements.txt
ansicolors==1.0.2
antlr_python_runtime==3.1.3
--allow-external antlr-python-runtime
--allow-unverified antlr-python-runtime
Markdown==2.1.1
mock==1.0.1
mox==0.5.3
psutil==1.1.3
Pygments==1.4
pystache==0.5.3
pytest==2.5.2
pytest-cov==1.6
python_daemon==1.5.5
reques... | a877a163dac6b1fa05f67fc7c84c0c1798e751df | 3rdparty/python/requirements.txt | 3rdparty/python/requirements.txt | Text |
<|file_sep|>original/setup.py
# coding: utf-8
from setuptools import find_packages, setup
setup(name='egoio',
author='NEXT ENERGY, Reiner Lemoine Institut gGmbH, ZNES',
author_email='ulf.p.mueller@hs-flensburg.de',
description='ego input/output repository',
version='0.3.0',
url='https://... | # coding: utf-8
from setuptools import find_packages, setup
setup(name='egoio',
author='NEXT ENERGY, Reiner Lemoine Institut gGmbH, ZNES',
author_email='ulf.p.mueller@hs-flensburg.de',
description='ego input/output repository',
version='0.3.0',
url='https://github.com/openego/ego.io',
... | <|file_sep|>original/setup.py
# coding: utf-8
from setuptools import find_packages, setup
setup(name='egoio',
author='NEXT ENERGY, Reiner Lemoine Institut gGmbH, ZNES',
author_email='ulf.p.mueller@hs-flensburg.de',
description='ego input/output repository',
version='0.3.0',
url='https://... | a1208aeffb57e16f49007f86b144ab6d576cbd0d | setup.py | setup.py | Python |
<|file_sep|>packages/gs/gsmenu.yaml.diff
original:
hash: a6d6fe7d0642897ef05fe18ae806031be6632bfafd251d0faf2c4fb85f864ed8
updated:
hash: d19f42d82fdacbf972b0cb4bc4b0917d9d3260d833639ae0ba3e2f335e51359a
<|file_sep|>packages/gs/gsmenu.yaml.diff
original:
X11: ! '>=1.5.0.0 && <1.6'
parsec: ==3.*
updated:
X11: '>=1.5... | base: ==4.*
text: -any
X11: '>=1.5.0.0'
parsec: '>=3'
permute: -any
containers: -any
sindre: '>=0.6'
mtl: -any
all-versions:
- '1.0'
- '1.1'
- '2.0'
- '2.1'
- '2.2'
- '3.0'
- '3.1'
author: Troels Henriksen
latest: '3.1'
description-type: haddock
description: Grid-oriented element selection inspired by X... | <|file_sep|>packages/gs/gsmenu.yaml.diff
original:
hash: a6d6fe7d0642897ef05fe18ae806031be6632bfafd251d0faf2c4fb85f864ed8
updated:
hash: d19f42d82fdacbf972b0cb4bc4b0917d9d3260d833639ae0ba3e2f335e51359a
<|file_sep|>packages/gs/gsmenu.yaml.diff
original:
X11: ! '>=1.5.0.0 && <1.6'
parsec: ==3.*
updated:
X11: '>=1.5... | 70ca20c37d5e60bf3dc8bca621ab819cbfd98f8a | packages/gs/gsmenu.yaml | packages/gs/gsmenu.yaml | YAML |
<|file_sep|>original/tools/rails/bin/jruby.bat
@ECHO OFF
set GO_ROOT=%~dp0\..\..\..
set JRUBY_BASE=%GO_ROOT%\tools\jruby
set SERVER_ROOT=%GO_ROOT%\server
set RAILS_ROOT=%SERVER_ROOT%\webapp\WEB-INF\rails.new
set GEM_HOME=%RAILS_ROOT%\vendor\bundle\jruby\1.9
set GEM_PATH=%JRUBY_BASE%\lib\ruby\gems\shared;%GEM_HOME%
set ... | @ECHO OFF
set GO_ROOT=%~dp0\..\..\..
set JRUBY_BASE=%GO_ROOT%\tools\jruby
set SERVER_ROOT=%GO_ROOT%\server
set RAILS_ROOT=%SERVER_ROOT%\webapp\WEB-INF\rails.new
set GEM_HOME=%RAILS_ROOT%\vendor\bundle\jruby\1.9
set GEM_PATH=%JRUBY_BASE%\lib\ruby\gems\shared;%GEM_HOME%
set PATH=%JRUBY_BASE%\bin;%PATH%
set JRUBY_OPTS="-... | <|file_sep|>original/tools/rails/bin/jruby.bat
@ECHO OFF
set GO_ROOT=%~dp0\..\..\..
set JRUBY_BASE=%GO_ROOT%\tools\jruby
set SERVER_ROOT=%GO_ROOT%\server
set RAILS_ROOT=%SERVER_ROOT%\webapp\WEB-INF\rails.new
set GEM_HOME=%RAILS_ROOT%\vendor\bundle\jruby\1.9
set GEM_PATH=%JRUBY_BASE%\lib\ruby\gems\shared;%GEM_HOME%
set ... | 53172e7a9cc67b46070cf77c0d0c7bf027332449 | tools/rails/bin/jruby.bat | tools/rails/bin/jruby.bat | Batchfile |
<|file_sep|>original/update-cacert.sh
#! /usr/bin/env bash
# Update the cacert.pem file from curl's official website.
# This will download the file only if the remote file is more recent than the
# local one.
curl \
--time-cond $HOME/.emacs.d/cacert.pem \
https://curl.haxx.se/ca/cacert.pem \
--output $HOM... | #! /usr/bin/env bash
# Update the cacert.pem file from curl's official website.
# This will download the file only if the remote file is more recent than the
# local one.
curl \
--ssl-reqd \
--time-cond $HOME/.emacs.d/cacert.pem \
https://curl.haxx.se/ca/cacert.pem \
--output $HOME/.emacs.d/cacert.pem... | <|file_sep|>original/update-cacert.sh
#! /usr/bin/env bash
# Update the cacert.pem file from curl's official website.
# This will download the file only if the remote file is more recent than the
# local one.
curl \
--time-cond $HOME/.emacs.d/cacert.pem \
https://curl.haxx.se/ca/cacert.pem \
--output $HOM... | 4d93c934495392bb9bb22752923ac03d775d1aad | update-cacert.sh | update-cacert.sh | Shell |
<|file_sep|>original/build/tasks/CreateLzma.cs
public override bool Execute()
{
var progress = new ConsoleProgressReport();
using (var archive = new IndexedArchive())
{
foreach (var source in Sources)
{
if (Directo... |
public override bool Execute()
{
var progress = new ConsoleProgressReport();
using (var archive = new IndexedArchive())
{
foreach (var source in Sources)
{
if (Directory.Exists(source))
{
... | <|file_sep|>original/build/tasks/CreateLzma.cs
public override bool Execute()
{
var progress = new ConsoleProgressReport();
using (var archive = new IndexedArchive())
{
foreach (var source in Sources)
{
if (Directo... | 5931c7fb9a8884adaf3087fb831caa103e0cfb86 | build/tasks/CreateLzma.cs | build/tasks/CreateLzma.cs | C# |
<|file_sep|>lib/smart_answer/question/value.rb.diff
original:
rescue TypeError => e
raise InvalidResponse, e.message
updated:
rescue TypeError
raise InvalidResponse
<|file_sep|>original/lib/smart_answer/question/value.rb
begin
Integer(raw_input)
... | begin
Integer(raw_input)
rescue TypeError
raise InvalidResponse
end
elsif :to_i == @parse
raw_input.to_i
elsif Float == @parse
begin
Float(raw_input)
rescue TypeError
raise InvalidResponse
... | <|file_sep|>lib/smart_answer/question/value.rb.diff
original:
rescue TypeError => e
raise InvalidResponse, e.message
updated:
rescue TypeError
raise InvalidResponse
<|file_sep|>original/lib/smart_answer/question/value.rb
begin
Integer(raw_input)
... | 61192bf629f3a1ea7f548f3f1d14c1ba2c63439e | lib/smart_answer/question/value.rb | lib/smart_answer/question/value.rb | Ruby |
<|file_sep|>original/package.json
{
"name": "autocomplete-emojis",
"main": "./lib/autocomplete-emojis",
"version": "0.2.0",
"description": "Adds emoji autocompletion to autocomplete+",
"repository": {
"type": "git",
"url": "https://github.com/eqot/autocomplete-emojis"
},
"license": "MIT",
"engin... | {
"name": "autocomplete-emojis",
"main": "./lib/autocomplete-emojis",
"version": "0.2.0",
"description": "Adds emoji autocompletion to autocomplete+",
"repository": {
"type": "git",
"url": "https://github.com/eqot/autocomplete-emojis"
},
"license": "MIT",
"engines": {
"atom": ">0.50.0"
},
... | <|file_sep|>original/package.json
{
"name": "autocomplete-emojis",
"main": "./lib/autocomplete-emojis",
"version": "0.2.0",
"description": "Adds emoji autocompletion to autocomplete+",
"repository": {
"type": "git",
"url": "https://github.com/eqot/autocomplete-emojis"
},
"license": "MIT",
"engin... | a438b32ba7681fe50a9d4d55cfc861615f31f47d | package.json | package.json | JSON |
<|file_sep|>original/ingestors/email/outlookpst.py
COMMAND_TIMEOUT = 12 * 60 * 60
def ingest(self, file_path, entity):
entity.schema = model.get('Package')
self.extract_ole_metadata(file_path, entity)
temp_dir = self.make_empty_directory()
try:
self.exec_command('rea... | COMMAND_TIMEOUT = 12 * 60 * 60
def ingest(self, file_path, entity):
entity.schema = model.get('Package')
self.extract_ole_metadata(file_path, entity)
temp_dir = self.make_empty_directory()
try:
self.exec_command('readpst',
'-e', # make... | <|file_sep|>original/ingestors/email/outlookpst.py
COMMAND_TIMEOUT = 12 * 60 * 60
def ingest(self, file_path, entity):
entity.schema = model.get('Package')
self.extract_ole_metadata(file_path, entity)
temp_dir = self.make_empty_directory()
try:
self.exec_command('rea... | 08eb1f9e510b85e77d401ca4e13b7ad5354f4ecf | ingestors/email/outlookpst.py | ingestors/email/outlookpst.py | Python |
<|file_sep|>_layouts/default.html.diff
original:
{% if jekyll.environment == 'production' %}
updated:
<|file_sep|>original/_layouts/default.html
<html>
{% include head.html %}
<body id="page-top" class="index">
{% include header.html %}
{% include services.html %}
{% include portfolio_grid.ht... | <!DOCTYPE html>
<html>
{% include head.html %}
<body id="page-top" class="index">
{% include header.html %}
{% include services.html %}
{% include portfolio_grid.html %}
{% include about.html %}
{% include team.html %}
{% include clients.html %}
{% include contact.html %}
{% in... | <|file_sep|>_layouts/default.html.diff
original:
{% if jekyll.environment == 'production' %}
updated:
<|file_sep|>original/_layouts/default.html
<html>
{% include head.html %}
<body id="page-top" class="index">
{% include header.html %}
{% include services.html %}
{% include portfolio_grid.ht... | b39606976c34bf51fee95e9574eca60c5c21343e | _layouts/default.html | _layouts/default.html | HTML |
<|file_sep|>original/test/integration/packages-php73/inspec/php73_spec.rb
%w(mod_php73
php73-devel
php73-fpm
php73-gd
pear1).each do |pkg|
describe package(pkg) do
it { should be_installed }
end
end
describe yum.repo 'ius' do
it { should be_enabled }
end
describe file '/etc/yum.repos.d/ius.repo'... | %w(
mod_php73 php73-devel php73-fpm php73-gd pear1
).each do |pkg|
describe package(pkg) do
it { should be_installed }
end
end
describe yum.repo 'ius' do
it { should be_enabled }
end
describe file '/etc/yum.repos.d/ius.repo' do
it { should exist }
end
describe yum.repo 'ius-archive' do
it { should_no... | <|file_sep|>original/test/integration/packages-php73/inspec/php73_spec.rb
%w(mod_php73
php73-devel
php73-fpm
php73-gd
pear1).each do |pkg|
describe package(pkg) do
it { should be_installed }
end
end
describe yum.repo 'ius' do
it { should be_enabled }
end
describe file '/etc/yum.repos.d/ius.repo'... | cbbdc7db2b6d8b9af2b0e7e980fed07f2be2e62d | test/integration/packages-php73/inspec/php73_spec.rb | test/integration/packages-php73/inspec/php73_spec.rb | Ruby |
<|file_sep|>original/README.md
# nvda-quicknav
OsX-style internet browsing for your Windows screen reader.
## Description
This is an add-on for the [NVDA screen reader][1] that implements a set of commands for browsing web content similar to VoiceOver's quick navigation feature. It lets you browse a web document by its... | # nvda-quicknav
OsX-style internet browsing for your Windows screen reader.
## Description
This is an add-on for the [NVDA screen reader][1] that implements a set of commands for browsing web content similar to VoiceOver's quick navigation feature. It lets you browse a web document by its elements with just the arrow k... | <|file_sep|>original/README.md
# nvda-quicknav
OsX-style internet browsing for your Windows screen reader.
## Description
This is an add-on for the [NVDA screen reader][1] that implements a set of commands for browsing web content similar to VoiceOver's quick navigation feature. It lets you browse a web document by its... | f9e44e78be92b4bbe5dab3b44eff872d617fab0b | README.md | README.md | Markdown |
<|file_sep|>original/package.json
{
"name": "mare",
"version": "0.0.0",
"private": true,
"dependencies": {
"async": "~0.9.0",
"cloudinary": "~1.1.2",
"dotenv": "~1.1.0",
"express-handlebars": "~2.0.0",
"handlebars": "~2.0.0",
"keystone": "~0.3.11",
"moment": "~2.10.2",
"newrelic": "^1.20.0",
"node... | {
"name": "mare",
"version": "0.0.0",
"private": true,
"dependencies": {
"async": "~0.9.0",
"cloudinary": "~1.1.2",
"dotenv": "~1.1.0",
"express-handlebars": "~2.0.0",
"handlebars": "~2.0.0",
"keystone": "~0.3.13",
"moment": "~2.10.2",
"newrelic": "^1.20.0",
"node-sass": "~2.1.1",
"node-sass-mid... | <|file_sep|>original/package.json
{
"name": "mare",
"version": "0.0.0",
"private": true,
"dependencies": {
"async": "~0.9.0",
"cloudinary": "~1.1.2",
"dotenv": "~1.1.0",
"express-handlebars": "~2.0.0",
"handlebars": "~2.0.0",
"keystone": "~0.3.11",
"moment": "~2.10.2",
"newrelic": "^1.20.0",
"node... | 14caedf71f6eacea47c938dc8ee726ee2edb596e | package.json | package.json | JSON |
<|file_sep|>instruct.js.diff
original:
updated:
/*global console, require, module*/
<|file_sep|>instruct.js.diff
original:
updated:
"use strict";
<|file_sep|>instruct.js.diff
original:
var root = this;
updated:
var root, Instructor, setup, isNode;
root = this;
<|file_sep|>instruct.js.diff
original:
... | setup = function (isNode) {
if (isNode) {
root.Firebase = require('firebase');
} else if (!root.Firebase) {
console.log("Please include Firebase.js");
}
};
isNode = false;
// Export the Instruce object for **CommonJS**, with backwards-compatibility
/... | <|file_sep|>instruct.js.diff
original:
updated:
/*global console, require, module*/
<|file_sep|>instruct.js.diff
original:
updated:
"use strict";
<|file_sep|>instruct.js.diff
original:
var root = this;
updated:
var root, Instructor, setup, isNode;
root = this;
<|file_sep|>instruct.js.diff
original:
... | 0b9e0d34dd6ebe8154dc76ada004098974383227 | instruct.js | instruct.js | JavaScript |
<|file_sep|>.github/workflows/build_pull_request.yml.diff
original:
node-version: [14.x, 16.x]
updated:
node-version: [14.x, 16.x, 18.x, 19.x]
<|file_sep|>.github/workflows/build_pull_request.yml.diff
original:
updated:
- name: Set ENV
if: matrix.node-version > '16'
run: echo "NODE_OPTI... |
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 18.x, 19.x]
steps:
- uses: actions/checkout@v2
- name: Build with Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- ... | <|file_sep|>.github/workflows/build_pull_request.yml.diff
original:
node-version: [14.x, 16.x]
updated:
node-version: [14.x, 16.x, 18.x, 19.x]
<|file_sep|>.github/workflows/build_pull_request.yml.diff
original:
updated:
- name: Set ENV
if: matrix.node-version > '16'
run: echo "NODE_OPTI... | 9c47c17c451a733d956ba735715043b8250106a3 | .github/workflows/build_pull_request.yml | .github/workflows/build_pull_request.yml | YAML |
<|file_sep|>original/CHANGELOG.md
# Changelog
## `0.0.2`
- Created [ROADMAP](/ROADMAP.md) and [CHANGELOG](/CHANGELOG.md) documents
- Added license headers to Makefiles
- Now using macros for platform dependant serial methods
- Added `build` step to Makefiles (alias of `all` currently)
- Now outputs version informa... | # Changelog
## `0.0.3`
- Update [ROADMAP](/ROADMAP.md) and [TODO](/TODO.md)
- Change name of packet struct to lowercase
## `0.0.2`
- Created [ROADMAP](/ROADMAP.md) and [CHANGELOG](/CHANGELOG.md) documents
- Added license headers to Makefiles
- Now using macros for platform dependant serial methods
- Added `build... | <|file_sep|>original/CHANGELOG.md
# Changelog
## `0.0.2`
- Created [ROADMAP](/ROADMAP.md) and [CHANGELOG](/CHANGELOG.md) documents
- Added license headers to Makefiles
- Now using macros for platform dependant serial methods
- Added `build` step to Makefiles (alias of `all` currently)
- Now outputs version informa... | e4d7e9f1f24be68e463e356732ca0208c5661b4d | CHANGELOG.md | CHANGELOG.md | Markdown |
<|file_sep|>original/generation/output/helpers_test.go
package output
<|file_sep|>current/generation/output/helpers_test.go
package output
<|file_sep|>updated/generation/output/helpers_test.go | package output
import (
"testing"
)
func TestExport(t *testing.T) {
if r := export(""); r != "" {
t.Errorf(`Empty input, the same string was expected as a result. Got "%s".`, r)
}
if r := export("a"); r != "A" {
t.Errorf(`Incorrect result. Expected "A", got "%s".`, r)
}
if r := export("int"); r != "Int" {
... | <|file_sep|>original/generation/output/helpers_test.go
package output
<|file_sep|>current/generation/output/helpers_test.go
package output
<|file_sep|>updated/generation/output/helpers_test.go
package output
import (
"testing"
)
func TestExport(t *testing.T) {
if r := export(""); r != "" {
t.Errorf(`Empty input, ... | fcf2fb08bc454237d55c88c6e0331735703962fd | generation/output/helpers_test.go | generation/output/helpers_test.go | Go |
<|file_sep|>original/package.json
{
"name": "cordova-osx",
"version": "4.0.0",
"description": "cordova-osx release",
"main": "bin/templates/scripts/cordova/Api.js",
"repository": {
"type": "git",
"url": "https://git-wip-us.apache.org/repos/asf/cordova-osx.git"
},
"keywords": ... | {
"name": "cordova-osx",
"version": "4.1.0-dev",
"description": "cordova-osx release",
"main": "bin/templates/scripts/cordova/Api.js",
"repository": {
"type": "git",
"url": "https://git-wip-us.apache.org/repos/asf/cordova-osx.git"
},
"keywords": [
"osx",
"cord... | <|file_sep|>original/package.json
{
"name": "cordova-osx",
"version": "4.0.0",
"description": "cordova-osx release",
"main": "bin/templates/scripts/cordova/Api.js",
"repository": {
"type": "git",
"url": "https://git-wip-us.apache.org/repos/asf/cordova-osx.git"
},
"keywords": ... | f810d9436660c4564b4bfb3b48363df279288458 | package.json | package.json | JSON |
<|file_sep|>package.json.diff
original:
"start" : "node server.js",
updated:
"start": "node server.js",
<|file_sep|>original/package.json
"karma-junit-reporter": "^0.2.2",
"protractor": "^2.1.0"
},
"scripts": {
"postinstall": "bower install",
"prestart": "npm install",
"start" : "node se... | "karma-junit-reporter": "^0.2.2",
"protractor": "^2.1.0"
},
"scripts": {
"postinstall": "bower install",
"prestart": "npm install",
"start": "node server.js",
"start_old": "node_modules/http-server/bin/http-server -p 8000",
"pretest": "npm install",
"test": "karma start karma.conf.js... | <|file_sep|>package.json.diff
original:
"start" : "node server.js",
updated:
"start": "node server.js",
<|file_sep|>original/package.json
"karma-junit-reporter": "^0.2.2",
"protractor": "^2.1.0"
},
"scripts": {
"postinstall": "bower install",
"prestart": "npm install",
"start" : "node se... | 04b3e8d7a6412cdcdc28c86b0a03799e5f70053e | package.json | package.json | JSON |
<|file_sep|>original/knowledge-base/treelist-add-tooltip-to-cell-template-content-automatically.md
<|file_sep|>current/knowledge-base/treelist-add-tooltip-to-cell-template-content-automatically.md
<|file_sep|>updated/knowledge-base/treelist-add-tooltip-to-cell-template-content-automatically.md | ---
title: Add tooltip for RadTreeList or RadGrid cell template content automatically
description:
type: how-to
page_title:
slug: treelist-add-tooltip-to-cell-template-content-automatically
position:
tags:
ticketid: 1443084
res_type: kb
---
## Environment
<table>
<tbody>
<tr>
<td>Product</td>
<td>RadTreeL... | <|file_sep|>original/knowledge-base/treelist-add-tooltip-to-cell-template-content-automatically.md
<|file_sep|>current/knowledge-base/treelist-add-tooltip-to-cell-template-content-automatically.md
<|file_sep|>updated/knowledge-base/treelist-add-tooltip-to-cell-template-content-automatically.md
---
title: Add tooltip ... | d63bd155b211c74963ba3c29648891c3841b08c0 | knowledge-base/treelist-add-tooltip-to-cell-template-content-automatically.md | knowledge-base/treelist-add-tooltip-to-cell-template-content-automatically.md | Markdown |
<|file_sep|>app/views/profiles/passwords/new.html.haml.diff
original:
= form_for @user, url: profile_password_path, method: :post do |f|
.light-well.padded
%p.slead
Please set new password before proceed.
%br
After successful password update you will be redirected to login screen
-if @user.e... | %hr
= form_for @user, url: profile_password_path, method: :post, html: { class: 'form-horizontal '} do |f|
%p.slead
Please set new password before proceed.
%br
After successful password update you will be redirected to login screen
-if @user.errors.any?
.alert.alert-danger
%ul
- @user.... | <|file_sep|>app/views/profiles/passwords/new.html.haml.diff
original:
= form_for @user, url: profile_password_path, method: :post do |f|
.light-well.padded
%p.slead
Please set new password before proceed.
%br
After successful password update you will be redirected to login screen
-if @user.e... | faafde2d2b8dc3457c45aa87e6dd280bfdd13dde | app/views/profiles/passwords/new.html.haml | app/views/profiles/passwords/new.html.haml | Haml |
<|file_sep|>original/Dominion.Cards/Actions/Chancellor.cs
public void Play(TurnContext context)
{
context.MoneyToSpend += 2;
context.AddEffect(new ChancellorEffect());
}
public class ChancellorEffect : CardEffectBase
{
public override void Res... | public void Play(TurnContext context)
{
context.MoneyToSpend += 2;
context.AddEffect(new ChancellorEffect());
}
public class ChancellorEffect : CardEffectBase
{
public override void Resolve(TurnContext context)
{
if... | <|file_sep|>original/Dominion.Cards/Actions/Chancellor.cs
public void Play(TurnContext context)
{
context.MoneyToSpend += 2;
context.AddEffect(new ChancellorEffect());
}
public class ChancellorEffect : CardEffectBase
{
public override void Res... | a2839acd1680be52f57587aea524976fc74d9088 | Dominion.Cards/Actions/Chancellor.cs | Dominion.Cards/Actions/Chancellor.cs | C# |
<|file_sep|>includes/js/main.js.diff
original:
function calc_mode() {
updated:
function mode_text() {
<|file_sep|>original/includes/js/main.js
return false;
});
$(".view").button();
$(".submit").button();
$("#ingredients_table table").tablesorter();
$("#effects_table table").tablesorter();
$("#calc_ingredi... | return false;
});
$(".view").button();
$(".submit").button();
$("#ingredients_table table").tablesorter();
$("#effects_table table").tablesorter();
$("#calc_ingredients tbody").find('tr').each(function(){
$(this).click(function(){
$('#'+mode_text()).html($(this).text());
send_data();
});
});
... | <|file_sep|>includes/js/main.js.diff
original:
function calc_mode() {
updated:
function mode_text() {
<|file_sep|>original/includes/js/main.js
return false;
});
$(".view").button();
$(".submit").button();
$("#ingredients_table table").tablesorter();
$("#effects_table table").tablesorter();
$("#calc_ingredi... | 10237126bc0fb4c456f17754bfb44edd84dbea09 | includes/js/main.js | includes/js/main.js | JavaScript |
<|file_sep|>package.json.diff
original:
"@types/fs-extra": "0.0.37",
"@types/mz": "0.0.30",
updated:
<|file_sep|>original/package.json
"fs",
"file",
"file system"
],
"author": "Kevin Beaty",
"license": "MIT",
"dependencies": {
"@types/fs-extra": "0.0.37",
"@types/mz": "0.0.30",
... | "file system"
],
"author": "Kevin Beaty",
"license": "MIT",
"dependencies": {
"any-promise": "^1.3.0",
"fs-extra": "^2.0.0",
"mz": "^2.6.0",
"thenify-all": "^1.6.0"
},
"devDependencies": {
"@types/fs-extra": "0.0.37",
"@types/mz": "0.0.30",
"mocha": "^3.0.0",
"es6-promise... | <|file_sep|>package.json.diff
original:
"@types/fs-extra": "0.0.37",
"@types/mz": "0.0.30",
updated:
<|file_sep|>original/package.json
"fs",
"file",
"file system"
],
"author": "Kevin Beaty",
"license": "MIT",
"dependencies": {
"@types/fs-extra": "0.0.37",
"@types/mz": "0.0.30",
... | 90fd3d42d4b48a88fa46c69f03825534e7c791e2 | package.json | package.json | JSON |
<|file_sep|>original/requirements.txt
Django==1.5.11
django-grappelli==2.4.10
South==1.0.1
opps-piston
Pillow<=2.3.0
libthumbor
django-googl==0.1.1
django-haystack>=2.0
django-mptt
django-appconf
django-polymorphic
django-celery
django-endless-pagination
feedparser
mimeparse
redis
magicdate
<|file_sep|>current/requirem... | Django==1.5.11
django-grappelli==2.4.12
South==1.0.1
opps-piston
Pillow<=2.3.0
libthumbor
django-googl==0.1.1
django-haystack>=2.0
django-mptt
django-appconf
django-polymorphic
django-celery
django-endless-pagination
feedparser
mimeparse
redis
magicdate | <|file_sep|>original/requirements.txt
Django==1.5.11
django-grappelli==2.4.10
South==1.0.1
opps-piston
Pillow<=2.3.0
libthumbor
django-googl==0.1.1
django-haystack>=2.0
django-mptt
django-appconf
django-polymorphic
django-celery
django-endless-pagination
feedparser
mimeparse
redis
magicdate
<|file_sep|>current/requirem... | 89eea5ee387530f54c0fa1da599a12d0f300177f | requirements.txt | requirements.txt | Text |
<|file_sep|>original/data/releases.yml
url: https://github.com/JetBrains/kotlin/releases
latest:
version: 1.1.51
url: https://github.com/JetBrains/kotlin/releases/tag/v1.1.51
runtime_size: 885KB
date: September 29, 2017
<|file_sep|>current/data/releases.yml
url: https://github.com/JetBrains/kotlin/releases
la... | url: https://github.com/JetBrains/kotlin/releases
latest:
version: 1.1.60
url: https://github.com/JetBrains/kotlin/releases/tag/v1.1.60
runtime_size: 888KB
date: November 13, 2017 | <|file_sep|>original/data/releases.yml
url: https://github.com/JetBrains/kotlin/releases
latest:
version: 1.1.51
url: https://github.com/JetBrains/kotlin/releases/tag/v1.1.51
runtime_size: 885KB
date: September 29, 2017
<|file_sep|>current/data/releases.yml
url: https://github.com/JetBrains/kotlin/releases
la... | bf484f4cfab15319c90c11e9e91433e38310ac67 | data/releases.yml | data/releases.yml | YAML |
<|file_sep|>original/Flowchart/Flowchart/Extensions.swift
<|file_sep|>current/Flowchart/Flowchart/Extensions.swift
<|file_sep|>updated/Flowchart/Flowchart/Extensions.swift | //
// Extensions.swift
// Flowchart
//
// Created by Todd Olsen on 5/10/16.
// Copyright © 2016 Todd Olsen. All rights reserved.
//
import UIKit
extension UIColor {
@nonobjc static let Mercury: UIColor = UIColor(rgb: 0xE6E6E6)
@nonobjc static let Highlight: UIColor = UIColor(rgb: 0xFABF1A)
@nonobjc... | <|file_sep|>original/Flowchart/Flowchart/Extensions.swift
<|file_sep|>current/Flowchart/Flowchart/Extensions.swift
<|file_sep|>updated/Flowchart/Flowchart/Extensions.swift
//
// Extensions.swift
// Flowchart
//
// Created by Todd Olsen on 5/10/16.
// Copyright © 2016 Todd Olsen. All rights reserved.
//
import UI... | d6706a18de1a578c7c8f8a3ba84b832246ec64b8 | Flowchart/Flowchart/Extensions.swift | Flowchart/Flowchart/Extensions.swift | Swift |
<|file_sep|>original/source/50_java.sh
export JAVA_HOME="/usr/java/latest"
<|file_sep|>current/source/50_java.sh
export JAVA_HOME="/usr/java/latest"
<|file_sep|>updated/source/50_java.sh | # Use alternatives configuration if it's available, otherwise assume /usr/java/latest is correct
if [ -a /etc/alternatives/java_sdk ] ; then
export JAVA_HOME="/etc/alternatives/java_sdk"
else
export JAVA_HOME="/usr/java/latest"
fi | <|file_sep|>original/source/50_java.sh
export JAVA_HOME="/usr/java/latest"
<|file_sep|>current/source/50_java.sh
export JAVA_HOME="/usr/java/latest"
<|file_sep|>updated/source/50_java.sh
# Use alternatives configuration if it's available, otherwise assume /usr/java/latest is correct
if [ -a /etc/alternatives/java_sdk ]... | d4d72621d17d1e5f68e2a861297f91d07aa1936d | source/50_java.sh | source/50_java.sh | Shell |
<|file_sep|>README.md.diff
original:
<img src="http://wiki.macbre.net/images/plc/board.jpg" />
updated:

<|file_sep|>original/README.md
Projekt nadajnika i odbiornika implementującego protokół [X10](http://en.wikipedia.org/wiki/X10_(industry_standard)) służący do transmisji danych... | Projekt nadajnika i odbiornika implementującego protokół [X10](http://en.wikipedia.org/wiki/X10_(industry_standard)) służący do transmisji danych przez sieć elektroenergetyczną.
### Elektronika
* ATMega 8
* LM311 (komparator)
* 2N2222 (tranzystor kluczujący)
* 6N135 (optoizolator)
* diody Zenera 6,8V
* transformator ... | <|file_sep|>README.md.diff
original:
<img src="http://wiki.macbre.net/images/plc/board.jpg" />
updated:

<|file_sep|>original/README.md
Projekt nadajnika i odbiornika implementującego protokół [X10](http://en.wikipedia.org/wiki/X10_(industry_standard)) służący do transmisji danych... | 94ca101395f727a1b2034227432b599b2b34b11b | README.md | README.md | Markdown |
<|file_sep|>original/.travis.yml
language: cpp
dist: trusty
sudo: required
before_install:
- sudo apt-get install unixodbc unixodbc-dev
script:
- mkdir build && cd build && cmake .. && make -j4
<|file_sep|>current/.travis.yml
language: cpp
dist: trusty
sudo: required
before_install:
- sudo apt-get install unixodb... | language: cpp
dist: trusty
sudo: required
before_install:
- sudo apt-get install unixodbc unixodbc-dev
- sudo apt-get install libboost-all-dev
script:
- mkdir build && cd build && cmake .. && make -j4 | <|file_sep|>original/.travis.yml
language: cpp
dist: trusty
sudo: required
before_install:
- sudo apt-get install unixodbc unixodbc-dev
script:
- mkdir build && cd build && cmake .. && make -j4
<|file_sep|>current/.travis.yml
language: cpp
dist: trusty
sudo: required
before_install:
- sudo apt-get install unixodb... | 2e891be530b175c95d7ef4a1c4b3d6d1aa52210b | .travis.yml | .travis.yml | YAML |
<|file_sep|>gpsDB/kalman.jl.diff
original:
export newModel,initialGuess,predict,update;
updated:
export newModel,initialGuess,predict,update,extractMeanFromState;
<|file_sep|>gpsDB/kalman.jl.diff
original:
predictedState = StateSpace.predict(model,state)
return predictedState.
updated:
return StateSpace.predic... | function newModel(processVariance::Float64,observationVariance::Float64)
M_p::Matrix{Float64} = eye(2);
M_v::Matrix{Float64} = eye(2)*processVariance;
O_p::Matrix{Float64} = eye(2);
O_v::Matrix{Float64} = eye(2)*observationVariance;
return StateSpace.LinearGaussianSSM(M_p,M_v,O_p,O_v);
end
function upd... | <|file_sep|>gpsDB/kalman.jl.diff
original:
export newModel,initialGuess,predict,update;
updated:
export newModel,initialGuess,predict,update,extractMeanFromState;
<|file_sep|>gpsDB/kalman.jl.diff
original:
predictedState = StateSpace.predict(model,state)
return predictedState.
updated:
return StateSpace.predic... | d0af628d05e5d39190bfab2cd6c1331fb005ceb8 | gpsDB/kalman.jl | gpsDB/kalman.jl | Julia |
<|file_sep|>original/lib/on_the_spot.rb
require 'on_the_spot/controller_extension'
require 'on_the_spot/on_the_spot_helpers'
module OnTheSpot
class Engine < ::Rails::Engine
config.before_initialize do
config.action_view.javascript_expansions[:on_the_spot] = %w(jquery.jeditable.mini.js on_the_spot_code)
... | require 'on_the_spot/controller_extension'
require 'on_the_spot/on_the_spot_helpers'
module OnTheSpot
class Engine < ::Rails::Engine
config.before_initialize do
if config.action_view.javascript_expansions
config.action_view.javascript_expansions[:on_the_spot] = %w(jquery.jeditable.mini.js on_the_s... | <|file_sep|>original/lib/on_the_spot.rb
require 'on_the_spot/controller_extension'
require 'on_the_spot/on_the_spot_helpers'
module OnTheSpot
class Engine < ::Rails::Engine
config.before_initialize do
config.action_view.javascript_expansions[:on_the_spot] = %w(jquery.jeditable.mini.js on_the_spot_code)
... | 50482f4528dcbd1a37292fca3486402fba6e12ee | lib/on_the_spot.rb | lib/on_the_spot.rb | Ruby |
<|file_sep|>original/.github/workflows/python-test.yml
on: [push]
jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.4, 3.5, 3.6, 3.7, 3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-py... | name: Test python package
on: [push]
jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.4, 3.5, 3.6, 3.7, 3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
... | <|file_sep|>original/.github/workflows/python-test.yml
on: [push]
jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.4, 3.5, 3.6, 3.7, 3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-py... | a739a9b71791fefccafd4b83be253c83c9713c56 | .github/workflows/python-test.yml | .github/workflows/python-test.yml | YAML |
<|file_sep|>Source/SnowyImageCopy/Common/NotificationObject.cs.diff
original:
using System.Linq.Expressions;
updated:
<|file_sep|>Source/SnowyImageCopy/Common/NotificationObject.cs.diff
original:
protected void SetPropertyValue<T>(ref T storage, T value, [CallerMemberName] string propertyName = null)
updated:
prot... | if (EqualityComparer<T>.Default.Equals(storage, value))
return false;
storage = value;
RaisePropertyChanged(propertyName);
return true;
}
protected void RaisePropertyChanged([CallerMemberName] string propertyName = null) =>
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName... | <|file_sep|>Source/SnowyImageCopy/Common/NotificationObject.cs.diff
original:
using System.Linq.Expressions;
updated:
<|file_sep|>Source/SnowyImageCopy/Common/NotificationObject.cs.diff
original:
protected void SetPropertyValue<T>(ref T storage, T value, [CallerMemberName] string propertyName = null)
updated:
prot... | f8e2931e60f885f618cd3a679cc51174c83d9948 | Source/SnowyImageCopy/Common/NotificationObject.cs | Source/SnowyImageCopy/Common/NotificationObject.cs | C# |
<|file_sep|>original/.forestry/settings.yml
label: JTemporal
- type: jekyll-posts
label: Posts
create: all
- type: jekyll-pages
label: Pages
create: all
upload_dir: images
public_path: "/images"
front_matter_path: ''
use_front_matter_path: false
file_template: ":filename:"
build:
preview_command: bundle exe... | label: JTemporal
- type: jekyll-posts
label: Posts
create: all
- type: jekyll-pages
label: Pages
create: all
upload_dir: images
public_path: "/images"
front_matter_path: ''
use_front_matter_path: false
file_template: ":filename:"
build:
preview_command: 'bundle exec jekyll build --drafts --unpublished --fut... | <|file_sep|>original/.forestry/settings.yml
label: JTemporal
- type: jekyll-posts
label: Posts
create: all
- type: jekyll-pages
label: Pages
create: all
upload_dir: images
public_path: "/images"
front_matter_path: ''
use_front_matter_path: false
file_template: ":filename:"
build:
preview_command: bundle exe... | 49b713d2d37e40ba5425ac19ea9e45132d20413c | .forestry/settings.yml | .forestry/settings.yml | YAML |
<|file_sep|>original/samples/counter/web/index.html
<!DOCTYPE html>
<html>
<head>
<title>Redux basic example</title>
<script src="js/lib/kotlin.js"></script>
<!--<script src="js/lib/redux-kotlin.js"></script>-->
</head>
<body>
<div>
<p>
Clicked: <span id="value">0</span> times
... | <!DOCTYPE html>
<html>
<head>
<title>Redux basic example</title>
<script src="js/lib/kotlin.js"></script>
<script src="js/lib/redux-kotlin.js"></script>
</head>
<body>
<div>
<p>
Clicked: <span id="value">0</span> times
<button id="increment">+</button>
<button id="dec... | <|file_sep|>original/samples/counter/web/index.html
<!DOCTYPE html>
<html>
<head>
<title>Redux basic example</title>
<script src="js/lib/kotlin.js"></script>
<!--<script src="js/lib/redux-kotlin.js"></script>-->
</head>
<body>
<div>
<p>
Clicked: <span id="value">0</span> times
... | 2c9e2df6d454f67315156f4c102269022a916173 | samples/counter/web/index.html | samples/counter/web/index.html | HTML |
<|file_sep|>original/package.json
"keywords": [
"hexo",
"generator",
"index",
"home"
],
"author": "Tommy Chen <tommy351@gmail.com> (http://zespia.tw)",
"license": "MIT",
"devDependencies": {
"chai": "^3.4.0",
"eslint": "^1.8.0",
"eslint-config-hexo": "^1.0.2",
"hexo": "^3.0.0",... | "keywords": [
"hexo",
"generator",
"index",
"home"
],
"author": "Tommy Chen <tommy351@gmail.com> (http://zespia.tw)",
"license": "MIT",
"devDependencies": {
"chai": "^3.4.0",
"eslint": "^2.13.1",
"eslint-config-hexo": "^1.0.2",
"hexo": "^3.0.0",
"istanbul": "^0.4.0",
"j... | <|file_sep|>original/package.json
"keywords": [
"hexo",
"generator",
"index",
"home"
],
"author": "Tommy Chen <tommy351@gmail.com> (http://zespia.tw)",
"license": "MIT",
"devDependencies": {
"chai": "^3.4.0",
"eslint": "^1.8.0",
"eslint-config-hexo": "^1.0.2",
"hexo": "^3.0.0",... | 49235010858a56bb470bcb24cc62d12c9365f270 | package.json | package.json | JSON |
<|file_sep|>appveyor.yml.diff
original:
CONDA_CHANNELS: "spyder-ide"
updated:
CONDA_CHANNELS: "msarahan"
<|file_sep|>original/appveyor.yml
matrix:
- PYTHON_VERSION: "2.7"
CONDA_CHANNELS: "spyder-ide"
CONDA_DEPENDENCIES: "pytest qt5 pyqt5"
- PYTHON_VERSION: "2.7"
CONDA_DEPENDENCI... | matrix:
- PYTHON_VERSION: "2.7"
CONDA_CHANNELS: "msarahan"
CONDA_DEPENDENCIES: "pytest qt5 pyqt5"
- PYTHON_VERSION: "2.7"
CONDA_DEPENDENCIES: "pytest qt pyqt"
- PYTHON_VERSION: "2.7"
CONDA_DEPENDENCIES: "pytest qt pyside"
- PYTHON_VERSION: "3.5"
CONDA_CHANNELS: "msarahan... | <|file_sep|>appveyor.yml.diff
original:
CONDA_CHANNELS: "spyder-ide"
updated:
CONDA_CHANNELS: "msarahan"
<|file_sep|>original/appveyor.yml
matrix:
- PYTHON_VERSION: "2.7"
CONDA_CHANNELS: "spyder-ide"
CONDA_DEPENDENCIES: "pytest qt5 pyqt5"
- PYTHON_VERSION: "2.7"
CONDA_DEPENDENCI... | d439226c142fa6fefb09dcd1a9f25fb7314ff49e | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/README.md
evergit [](https://travis-ci.org/jverghese/evergit) [](https://david-dm.org/jverghese/evergit#info=devDependencies) [](https://travis-ci.org/jverghese/evergit)
[](https://saucelabs.com/u/evergit)
[](https://davi... | <|file_sep|>original/README.md
evergit [](https://travis-ci.org/jverghese/evergit) [](https://david-dm.org/jverghese/evergit#info=devDependencies) [![Browser Matrix Tes... | c9f5f75159bf74671a2a75bf27f3daf96e8846e4 | README.md | README.md | Markdown |
<|file_sep|>lib/filepicker/rails/policy.rb.diff
original:
attr_accessor :expiry, :call, :handle, :maxsize, :minsize
updated:
attr_accessor :expiry, :call, :handle, :maxsize, :minsize, :path
<|file_sep|>lib/filepicker/rails/policy.rb.diff
original:
[:expiry, :call, :handle, :maxsize, :minsize].each d... | end
def signature
OpenSSL::HMAC.hexdigest('sha256', ::Rails.application.config.filepicker_rails.secret_key, policy)
end
private
def json_policy
hash = Hash.new
@expiry ||= Time.now.to_i + ::Rails.application.config.filepicker_rails.default_expiry
[:expir... | <|file_sep|>lib/filepicker/rails/policy.rb.diff
original:
attr_accessor :expiry, :call, :handle, :maxsize, :minsize
updated:
attr_accessor :expiry, :call, :handle, :maxsize, :minsize, :path
<|file_sep|>lib/filepicker/rails/policy.rb.diff
original:
[:expiry, :call, :handle, :maxsize, :minsize].each d... | c19e0bea9f17d44dc1d26f1ee7bbaa2f2a4dc257 | lib/filepicker/rails/policy.rb | lib/filepicker/rails/policy.rb | Ruby |
<|file_sep|>original/les_09/modules/accessors.rb
module ClassMethods
def attr_accessor_with_history(*args)
args.each do |arg|
var_name = "@#{arg}".to_sym
define_method(arg) { instance_variable_get(var_name) }
define_method("#{arg}=".to_sym) do |value|
instance_variable_s... | instance_variable_set(var_name, value)
@var_history ||= {}
@var_history[var_name] ||= []
@var_history[var_name] << value
end
define_method("#{arg}_history") { @var_history[var_name] }
end
end
def strong_attr_acessor(name, name_class)
var_nam... | <|file_sep|>original/les_09/modules/accessors.rb
module ClassMethods
def attr_accessor_with_history(*args)
args.each do |arg|
var_name = "@#{arg}".to_sym
define_method(arg) { instance_variable_get(var_name) }
define_method("#{arg}=".to_sym) do |value|
instance_variable_s... | ccb551d24f45de7a122dba527f614eb67a1fc708 | les_09/modules/accessors.rb | les_09/modules/accessors.rb | Ruby |
<|file_sep|>original/rails/getting_started/rails_getting_started.md
>gem install rails
## create a blog app
>rails new blog
* creates a rails app in the blog directory
* installs dependencies with bundler
you can view the options of rails new with
* >rails new -h
## start your rails server
you can start... |
* >rails new -h
## start your rails server
you can start your rails server with
* >bin/rails server
you will see a default webpage that ships with a newly generated Rails application
## create a controller and a view
* create a new controller with the run "controller" generator
* specify you want a ... | <|file_sep|>original/rails/getting_started/rails_getting_started.md
>gem install rails
## create a blog app
>rails new blog
* creates a rails app in the blog directory
* installs dependencies with bundler
you can view the options of rails new with
* >rails new -h
## start your rails server
you can start... | 39822169f7e9be39ca2070fc3257439092d203eb | rails/getting_started/rails_getting_started.md | rails/getting_started/rails_getting_started.md | Markdown |
<|file_sep|>original/templates/layout.html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>{% block title %}FormalDateFinder.com{% endblock %}</title>
<link rel="shortcut icon" href="/static/favicon.ico" type="image/x-icon">
<link rel="icon" href="/static/favicon.ico" type="image/... | <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% block title %}FormalDateFinder.com{% endblock %}</title>
<link rel="shortcut icon" href="/static/favicon.ico" type="image/x-icon">
<link rel="icon" href="/st... | <|file_sep|>original/templates/layout.html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>{% block title %}FormalDateFinder.com{% endblock %}</title>
<link rel="shortcut icon" href="/static/favicon.ico" type="image/x-icon">
<link rel="icon" href="/static/favicon.ico" type="image/... | f4b273b8cee5a282876c2fcc745b733ccb2d74ad | templates/layout.html | templates/layout.html | HTML |
<|file_sep|>original/vars/main.yml
---
# vars file for virtualbox
virtualbox_distributions_with_newpublickey:
- jessie
- xenial
- yakkety
- artful
<|file_sep|>current/vars/main.yml
---
# vars file for virtualbox
virtualbox_distributions_with_newpublickey:
- jessie
- xenial
- yakkety
- artful
<|file_sep|... | ---
# vars file for virtualbox
virtualbox_distributions_with_newpublickey:
- jessie
- xenial
- yakkety
- artful
- bionic | <|file_sep|>original/vars/main.yml
---
# vars file for virtualbox
virtualbox_distributions_with_newpublickey:
- jessie
- xenial
- yakkety
- artful
<|file_sep|>current/vars/main.yml
---
# vars file for virtualbox
virtualbox_distributions_with_newpublickey:
- jessie
- xenial
- yakkety
- artful
<|file_sep|... | d5bb7eb62bc780717d05043262494ed53035efcd | vars/main.yml | vars/main.yml | YAML |
<|file_sep|>original/test/ELF/i386-reloc-range.s
<|file_sep|>current/test/ELF/i386-reloc-range.s
<|file_sep|>updated/test/ELF/i386-reloc-range.s | // RUN: llvm-mc %s -o %t.o -triple i386-pc-linux-code16 -filetype=obj
// RUN: echo ".global foo; foo = 0x8202" > %t1.s
// RUN: llvm-mc %t1.s -o %t1.o -triple i386-pc-linux -filetype=obj
// RUN: echo ".global foo; foo = 0x8203" > %t2.s
// RUN: llvm-mc %t2.s -o %t2.o -triple i386-pc-linux -filetype=obj
// RUN: ld.lld -... | <|file_sep|>original/test/ELF/i386-reloc-range.s
<|file_sep|>current/test/ELF/i386-reloc-range.s
<|file_sep|>updated/test/ELF/i386-reloc-range.s
// RUN: llvm-mc %s -o %t.o -triple i386-pc-linux-code16 -filetype=obj
// RUN: echo ".global foo; foo = 0x8202" > %t1.s
// RUN: llvm-mc %t1.s -o %t1.o -triple i386-pc-linux ... | 704b64a464f3777c4f2a7ff4b033589493c10e9f | test/ELF/i386-reloc-range.s | test/ELF/i386-reloc-range.s | GAS |
<|file_sep|>original/src/Coduo/PHPHumanizer/Resources/translations/oxford.es.yml
<|file_sep|>current/src/Coduo/PHPHumanizer/Resources/translations/oxford.es.yml
<|file_sep|>updated/src/Coduo/PHPHumanizer/Resources/translations/oxford.es.yml | only_two: "%first% y %second%"
comma_separated: "%list%, y %last%"
comma_separated_with_limit: "{1} %list%, y 1 más|[2,Inf] %list%, y %count% más" | <|file_sep|>original/src/Coduo/PHPHumanizer/Resources/translations/oxford.es.yml
<|file_sep|>current/src/Coduo/PHPHumanizer/Resources/translations/oxford.es.yml
<|file_sep|>updated/src/Coduo/PHPHumanizer/Resources/translations/oxford.es.yml
only_two: "%first% y %second%"
comma_separated: "%list%, y %last%"
comma_sepa... | 2b3bb8f60a40369a408e06d7c509d1afddc6f9db | src/Coduo/PHPHumanizer/Resources/translations/oxford.es.yml | src/Coduo/PHPHumanizer/Resources/translations/oxford.es.yml | YAML |
<|file_sep|>original/tox.ini
[tox]
envlist =
py{27,34,35}-django{18,19}
[testenv]
changedir =
django18: test_framework/django18
django19: test_framework/django19
deps =
django18: -rtest_framework/requirements/django18.txt
django19: -rtest_framework/requirements/django19.txt
commands =
python ..... | [tox]
envlist =
py{27,34,35}-django{18,19}
[testenv]
changedir =
django18: test_framework/django18
django19: test_framework/django19
deps =
django18: -rtest_framework/requirements/django18.txt
django19: -rtest_framework/requirements/django19.txt
commands =
python ../show_versions.py
python ... | <|file_sep|>original/tox.ini
[tox]
envlist =
py{27,34,35}-django{18,19}
[testenv]
changedir =
django18: test_framework/django18
django19: test_framework/django19
deps =
django18: -rtest_framework/requirements/django18.txt
django19: -rtest_framework/requirements/django19.txt
commands =
python ..... | 4492d48e2804b4c732c8baea64e1ebf8a7ec1a1a | tox.ini | tox.ini | INI |
<|file_sep|>original/_config.yml
# Site settings
title: "Cristofer.i0"
logo: logo.png # image from https://www.flickr.com/photos/lwr/5496279831/in/set-72157594159055823
email: your-email@domain.com
description: > # this means to ignore newlines until "url:"
Ing. de Profesión... Apasionado por la tecnología y la prog... | # Site settings
title: "Cristofer.i0"
logo: logo.png # image from https://www.flickr.com/photos/lwr/5496279831/in/set-72157594159055823
email: your-email@domain.com
description: > # this means to ignore newlines until "url:"
Ing. de Profesión... Apasionado por la tecnología y la programación! Veterano del PHP, MySQL... | <|file_sep|>original/_config.yml
# Site settings
title: "Cristofer.i0"
logo: logo.png # image from https://www.flickr.com/photos/lwr/5496279831/in/set-72157594159055823
email: your-email@domain.com
description: > # this means to ignore newlines until "url:"
Ing. de Profesión... Apasionado por la tecnología y la prog... | e122e8daf773d96e4f3e4eb18fbcbba1e8dd2cc4 | _config.yml | _config.yml | YAML |
<|file_sep|>src/Console/DeployCommand.php.diff
original:
class DeployCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'deployer:deploy';
updated:
class DeployCommand extends Command
{
/**
* The name and signature of the console com... | */
public function fire()
{
if( $this->confirm( 'Do you wish to manually run the deployer commands? [y|N]' ) )
{
if( $this->deployer->deploy() )
{
$this->info( 'Deployment successful' );
}
else
{
$this->error( $this->deployer->getErrorMessage() );
}
}
}
} | <|file_sep|>src/Console/DeployCommand.php.diff
original:
class DeployCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'deployer:deploy';
updated:
class DeployCommand extends Command
{
/**
* The name and signature of the console com... | 1c4fa444915ed0982af986e36b00fbf20e4507da | src/Console/DeployCommand.php | src/Console/DeployCommand.php | PHP |
<|file_sep|>original/tests/test_vector2_ctor.py
<|file_sep|>current/tests/test_vector2_ctor.py
<|file_sep|>updated/tests/test_vector2_ctor.py | import pytest # type: ignore
from hypothesis import given
from utils import floats, vectors, vector_likes
from ppb_vector import Vector2
class V(Vector2): pass
@pytest.mark.parametrize('cls', [Vector2, V])
@given(x=vectors())
def test_ctor_vector_like(cls, x: Vector2):
for x_like in vector_likes(x):
v... | <|file_sep|>original/tests/test_vector2_ctor.py
<|file_sep|>current/tests/test_vector2_ctor.py
<|file_sep|>updated/tests/test_vector2_ctor.py
import pytest # type: ignore
from hypothesis import given
from utils import floats, vectors, vector_likes
from ppb_vector import Vector2
class V(Vector2): pass
@pytest.ma... | a45b62ab76324db2ae4a0842b901fec8e463e2f0 | tests/test_vector2_ctor.py | tests/test_vector2_ctor.py | Python |
<|file_sep|>original/integration-tests/feature_list.txt
# Order of the features in this file is significant, so shuffle them carefully.
features/smoketest.feature
features/server_api.feature
#features/ecosystems.feature
#features/packages.feature
#features/versions.feature
#features/anitya.feature
# This is workaround... | # Order of the features in this file is significant, so shuffle them carefully.
features/smoketest.feature
features/server_api.feature
features/jobs_api.feature
#features/ecosystems.feature
#features/packages.feature
#features/versions.feature
#features/anitya.feature
# This is workaround to temporary disable integrat... | <|file_sep|>original/integration-tests/feature_list.txt
# Order of the features in this file is significant, so shuffle them carefully.
features/smoketest.feature
features/server_api.feature
#features/ecosystems.feature
#features/packages.feature
#features/versions.feature
#features/anitya.feature
# This is workaround... | 8db42e8c346009daf0df16cb4aef5342f7829f93 | integration-tests/feature_list.txt | integration-tests/feature_list.txt | Text |
<|file_sep|>original/IonicApp/www/templates/settings.html
</ion-nav-bar>
<ion-content has-header="true" padding="true">
<button class="button button-block button-positive" ng-click="resetColours()">
Reset Favourite Colours
</button>
<button class="button button-block button-positive" ng-click="resetStati... | </ion-nav-bar>
<ion-content has-header="true" padding="true">
<button class="button button-block button-positive" ng-click="resetColours()">
Reset Favourite Colours
</button>
<button class="button button-block button-positive" ng-click="resetStatic()">
Reset Static Favourites
</button>
<button... | <|file_sep|>original/IonicApp/www/templates/settings.html
</ion-nav-bar>
<ion-content has-header="true" padding="true">
<button class="button button-block button-positive" ng-click="resetColours()">
Reset Favourite Colours
</button>
<button class="button button-block button-positive" ng-click="resetStati... | bcd2cf59ceb24b024c7f65d93215d3f334c9dd59 | IonicApp/www/templates/settings.html | IonicApp/www/templates/settings.html | HTML |
<|file_sep|>original/models/PodioReference.php
$this->has_one('created_by', 'ByLine');
$this->has_one('created_via', 'Via');
$this->init($attributes);
}
/**
* @see https://developers.podio.com/doc/reference/get-reference-10661022
*/
public static function get_for($ref_type, $ref_id, $attribute... | * @see https://developers.podio.com/doc/reference/get-reference-10661022
*/
public static function get_for($ref_type, $ref_id, $attributes = array()) {
return self::member(Podio::get("/reference/{$ref_type}/{$ref_id}", $attributes));
}
/**
* @see https://developers.podio.com/doc/reference/search-ref... | <|file_sep|>original/models/PodioReference.php
$this->has_one('created_by', 'ByLine');
$this->has_one('created_via', 'Via');
$this->init($attributes);
}
/**
* @see https://developers.podio.com/doc/reference/get-reference-10661022
*/
public static function get_for($ref_type, $ref_id, $attribute... | e2b2a404b8f77518a6451961762f87e9e5f614bc | models/PodioReference.php | models/PodioReference.php | PHP |
<|file_sep|>tools/remark/plugins/remark-svg-equations/examples/fixtures/simple.md.diff
original:
<!-- <intro> -->
updated:
<section class="intro">
<|file_sep|>original/tools/remark/plugins/remark-svg-equations/examples/fixtures/simple.md
# Absolute Value
<!-- <intro> -->
The absolute value is defined as
<!-- <equati... | # Absolute Value
<section class="intro">
The absolute value is defined as
<!-- <equation class="equation" label="eq:absolute_value" align="center" raw="|x| = \begin{cases} x & \textrm{if}\ x \geq 0 \\ -x & \textrm{if}\ x < 0\end{cases}" alt="Absolute value"> -->
<div class="equation" align="center" data-raw-text="|... | <|file_sep|>tools/remark/plugins/remark-svg-equations/examples/fixtures/simple.md.diff
original:
<!-- <intro> -->
updated:
<section class="intro">
<|file_sep|>original/tools/remark/plugins/remark-svg-equations/examples/fixtures/simple.md
# Absolute Value
<!-- <intro> -->
The absolute value is defined as
<!-- <equati... | 601a4830194b29dabf60480b366602a9b4c761e3 | tools/remark/plugins/remark-svg-equations/examples/fixtures/simple.md | tools/remark/plugins/remark-svg-equations/examples/fixtures/simple.md | Markdown |
<|file_sep|>original/lib/omniauth/strategies/wordpress_hosted.rb
uid{ raw_info['ID'] }
info do
{
name: raw_info['display_name'],
email: raw_info['user_email'],
nickname: raw_info['user_nicename'],
urls: { "Website" => raw_info['user_url'] }
}
... | uid{ raw_info['ID'] }
info do
{
name: raw_info['display_name'],
email: raw_info['user_email'],
nickname: raw_info['user_nicename'],
urls: { "Website" => raw_info['user_url'] }
}
end
extra do
{ :raw_info => raw_info }
... | <|file_sep|>original/lib/omniauth/strategies/wordpress_hosted.rb
uid{ raw_info['ID'] }
info do
{
name: raw_info['display_name'],
email: raw_info['user_email'],
nickname: raw_info['user_nicename'],
urls: { "Website" => raw_info['user_url'] }
}
... | bc2c3ee31a833255736994511688d78a1cccc926 | lib/omniauth/strategies/wordpress_hosted.rb | lib/omniauth/strategies/wordpress_hosted.rb | Ruby |
<|file_sep|>original/recipes/pymix/meta.yaml
build:
number: 0
skip: True # [not py27]
package:
name: {{ name }}
version: {{ version }}
requirements:
build:
- gcc # [not osx]
- llvm # [osx]
- python
- setuptools
- numpy
- gsl
run:
- libgcc
- python
- numpy
- gsl
<... | build:
number: 0
skip: True # [not py27]
package:
name: {{ name }}
version: {{ version }}
requirements:
build:
- gcc
- python
- setuptools
- numpy
- gsl
run:
- libgcc
- python
- numpy
- gsl
- ghmm | <|file_sep|>original/recipes/pymix/meta.yaml
build:
number: 0
skip: True # [not py27]
package:
name: {{ name }}
version: {{ version }}
requirements:
build:
- gcc # [not osx]
- llvm # [osx]
- python
- setuptools
- numpy
- gsl
run:
- libgcc
- python
- numpy
- gsl
<... | 264479accd4e3d9d9bea24d8435d123e3d128f8d | recipes/pymix/meta.yaml | recipes/pymix/meta.yaml | YAML |
<|file_sep|>original/install/brew-cask.sh
# Tap extra homebrew casks.
brew tap homebrew/cask-versions
brew tap homebrew/cask-drivers
# Install packages
apps=(
appcleaner
brave-browser
bricklink-studio
docker
elgato-stream-deck
figma
firefox
google-chrome
hyper
plantronics-hub
postgres-unofficial
... | # Tap extra homebrew casks.
brew tap homebrew/cask-versions
brew tap homebrew/cask-drivers
# Install packages
apps=(
appcleaner
brave-browser
bricklink-studio
devtoys
docker
elgato-stream-deck
figma
firefox
google-chrome
hyper
plantronics-hub
postgres-unofficial
tor-browser
visual-studio-co... | <|file_sep|>original/install/brew-cask.sh
# Tap extra homebrew casks.
brew tap homebrew/cask-versions
brew tap homebrew/cask-drivers
# Install packages
apps=(
appcleaner
brave-browser
bricklink-studio
docker
elgato-stream-deck
figma
firefox
google-chrome
hyper
plantronics-hub
postgres-unofficial
... | db65ae63e94de5d45cd7977a499098082545be0e | install/brew-cask.sh | install/brew-cask.sh | Shell |
<|file_sep|>opps/core/__init__.py.diff
original:
from django.conf import settings
updated:
<|file_sep|>original/opps/core/__init__.py
# -*- coding: utf-8 -*-
from django.utils.translation import ugettext_lazy as _
from django.conf import settings
trans_app_label = _('Opps')
settings.INSTALLED_APPS += ('opps.article... | # -*- coding: utf-8 -*-
from django.utils.translation import ugettext_lazy as _
trans_app_label = _('Opps') | <|file_sep|>opps/core/__init__.py.diff
original:
from django.conf import settings
updated:
<|file_sep|>original/opps/core/__init__.py
# -*- coding: utf-8 -*-
from django.utils.translation import ugettext_lazy as _
from django.conf import settings
trans_app_label = _('Opps')
settings.INSTALLED_APPS += ('opps.article... | b47e3677120b9b2d64d38b48b0382dc7986a1b82 | opps/core/__init__.py | opps/core/__init__.py | Python |
<|file_sep|>application.py.diff
original:
from flask.ext.script import Manager
updated:
from flask.ext.script import Manager, Server
<|file_sep|>original/application.py
#!/usr/bin/env python
import os
from app import create_app
from flask.ext.script import Manager
application = create_app(os.getenv('FLASH_CONFIG') or... | #!/usr/bin/env python
import os
from app import create_app
from flask.ext.script import Manager, Server
application = create_app(os.getenv('FLASH_CONFIG') or 'development')
manager = Manager(application)
manager.add_command("runserver", Server(port=5001))
if __name__ == '__main__':
manager.run() | <|file_sep|>application.py.diff
original:
from flask.ext.script import Manager
updated:
from flask.ext.script import Manager, Server
<|file_sep|>original/application.py
#!/usr/bin/env python
import os
from app import create_app
from flask.ext.script import Manager
application = create_app(os.getenv('FLASH_CONFIG') or... | 9dce07895a773998469aeed8c1cfb8476d4264eb | application.py | application.py | Python |
<|file_sep|>original/workout-delete.php
//connect to database
include 'dbconnect.php';
//check that user has a valid cookie, redirect if no valid cookie
include 'php_common/cookiecheck.php';
$workoutId = $_GET['wid'];
$workoutLoggingService = new WorkoutLoggingService();
$workoutInfo = $w... |
//check that user has a valid cookie, redirect if no valid cookie
include 'php_common/cookiecheck.php';
$workoutId = $_GET['wid'];
$workoutLoggingService = new WorkoutLoggingService();
$workoutInfo = $workoutLoggingService->getWorkoutInfo($workoutId);
$workoutUserId = $workoutInfo["userid"... | <|file_sep|>original/workout-delete.php
//connect to database
include 'dbconnect.php';
//check that user has a valid cookie, redirect if no valid cookie
include 'php_common/cookiecheck.php';
$workoutId = $_GET['wid'];
$workoutLoggingService = new WorkoutLoggingService();
$workoutInfo = $w... | 2045bdf16a3dbbc499408f589a91719dd010183b | workout-delete.php | workout-delete.php | PHP |
<|file_sep|>original/AUTHORS.rst
Primary Authors
===============
Charlie Leifer
Eric Holscher
Bobby Grace
Awesome Contributors
====================
Eric Pierce
Chris Dickinson
Jonas Obrist
Issac Kelly
<|file_sep|>current/AUTHORS.rst
Primary Authors
===============
Charlie Leifer
Eric Holscher
Bobby Grace
Awesome Cont... | Primary Authors
===============
Charlie Leifer
Eric Holscher
Bobby Grace
Awesome Contributors
====================
Eric Pierce
Chris Dickinson
Jonas Obrist
Issac Kelly
Dan Colish
Jacob Kaplan-Moss
Daniel Greenfeld | <|file_sep|>original/AUTHORS.rst
Primary Authors
===============
Charlie Leifer
Eric Holscher
Bobby Grace
Awesome Contributors
====================
Eric Pierce
Chris Dickinson
Jonas Obrist
Issac Kelly
<|file_sep|>current/AUTHORS.rst
Primary Authors
===============
Charlie Leifer
Eric Holscher
Bobby Grace
Awesome Cont... | 0967f72a5033a4ef4e09a92f796650e3a243d4cf | AUTHORS.rst | AUTHORS.rst | reStructuredText |
<|file_sep|>original/t/01-start.t
<|file_sep|>current/t/01-start.t
<|file_sep|>updated/t/01-start.t |
#This file should test if the system starts up properly.
use Test;
use Hiker;
plan 2;
#Start the server.
my $app = Hiker.new(
hikes => ['controllers', 'models'],
templates => 'templates',
host => "localhost",
port => 8888
);
my $srv = $app.listen;
sleep 2;
#Make a sub to talk to the s... | <|file_sep|>original/t/01-start.t
<|file_sep|>current/t/01-start.t
<|file_sep|>updated/t/01-start.t
#This file should test if the system starts up properly.
use Test;
use Hiker;
plan 2;
#Start the server.
my $app = Hiker.new(
hikes => ['controllers', 'models'],
templates => 'templates',
host ... | 0459c43e703963b7f48594c30b2f903189efcee4 | t/01-start.t | t/01-start.t | Perl |
<|file_sep|>original/walkthroughs/week-4-tdd/project/src/test/java/com/google/sps/MeetingRequestTest.java
<|file_sep|>current/walkthroughs/week-4-tdd/project/src/test/java/com/google/sps/MeetingRequestTest.java
<|file_sep|>updated/walkthroughs/week-4-tdd/project/src/test/java/com/google/sps/MeetingRequestTest.java | // Copyright 2019 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | <|file_sep|>original/walkthroughs/week-4-tdd/project/src/test/java/com/google/sps/MeetingRequestTest.java
<|file_sep|>current/walkthroughs/week-4-tdd/project/src/test/java/com/google/sps/MeetingRequestTest.java
<|file_sep|>updated/walkthroughs/week-4-tdd/project/src/test/java/com/google/sps/MeetingRequestTest.java
//... | 2626a43fb19edfb8a454ee2988faf4c64bd0a1ab | walkthroughs/week-4-tdd/project/src/test/java/com/google/sps/MeetingRequestTest.java | walkthroughs/week-4-tdd/project/src/test/java/com/google/sps/MeetingRequestTest.java | Java |
<|file_sep|>original/composer.json
"authors": [
{
"name": "Chris Wright",
"email": "addr@daverandom.com",
"role": "Creator / Lead Developer"
}
],
"require": {
"php": ">=5.4.0",
"amphp/amp": "~0.15.0",
"daverandom/libdns": "~0.2"
... | "authors": [
{
"name": "Chris Wright",
"email": "addr@daverandom.com",
"role": "Creator / Lead Developer"
}
],
"require": {
"php": ">=5.4.0",
"amphp/amp": "~0.15.0",
"daverandom/libdns": "~1.0"
},
"require-dev": {
"m... | <|file_sep|>original/composer.json
"authors": [
{
"name": "Chris Wright",
"email": "addr@daverandom.com",
"role": "Creator / Lead Developer"
}
],
"require": {
"php": ">=5.4.0",
"amphp/amp": "~0.15.0",
"daverandom/libdns": "~0.2"
... | f7b291272ad7fdbb229d2518e41795bf30bb2ed3 | composer.json | composer.json | JSON |
<|file_sep|>original/requirements-dev.txt
coveralls==1.1
pytest==3.0.5
pytest-cov==2.4.0
flake8==3.2.1
sphinx==1.5.2
alabaster>=0.6.2
tox==2.5.0
mock==2.0.0
<|file_sep|>current/requirements-dev.txt
coveralls==1.1
pytest==3.0.5
pytest-cov==2.4.0
flake8==3.2.1
sphinx==1.5.2
alabaster>=0.6.2
tox==2.5.0
mock==2.0.0
<|file_... | coveralls==1.1
pytest==3.0.5
pytest-cov==2.4.0
flake8==3.2.1
sphinx==1.5.2
alabaster>=0.6.2
tox==2.6.0
mock==2.0.0 | <|file_sep|>original/requirements-dev.txt
coveralls==1.1
pytest==3.0.5
pytest-cov==2.4.0
flake8==3.2.1
sphinx==1.5.2
alabaster>=0.6.2
tox==2.5.0
mock==2.0.0
<|file_sep|>current/requirements-dev.txt
coveralls==1.1
pytest==3.0.5
pytest-cov==2.4.0
flake8==3.2.1
sphinx==1.5.2
alabaster>=0.6.2
tox==2.5.0
mock==2.0.0
<|file_... | d49cd6d59cd5dc5ae081881a0542e15a9e042e7a | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/Casks/wowza-streaming-engine.rb
<|file_sep|>current/Casks/wowza-streaming-engine.rb
<|file_sep|>updated/Casks/wowza-streaming-engine.rb | cask 'wowza-streaming-engine' do
version '4.4.1'
sha256 '2d87573f3aa0af2b23bbef9b327774ed83f6dea5de5c70d66a66545b7db693b4'
url "https://www.wowza.com/downloads/WowzaStreamingEngine-#{version.dots_to_hyphens}/WowzaStreamingEngine-#{version}-osx-installer.dmg"
appcast 'https://www.wowza.com/rss/wowzastreamingeng... | <|file_sep|>original/Casks/wowza-streaming-engine.rb
<|file_sep|>current/Casks/wowza-streaming-engine.rb
<|file_sep|>updated/Casks/wowza-streaming-engine.rb
cask 'wowza-streaming-engine' do
version '4.4.1'
sha256 '2d87573f3aa0af2b23bbef9b327774ed83f6dea5de5c70d66a66545b7db693b4'
url "https://www.wowza.com/down... | 70afae3cb84b1ee1e636591daf44c86e8b3ba199 | Casks/wowza-streaming-engine.rb | Casks/wowza-streaming-engine.rb | Ruby |
<|file_sep|>original/source/Nuke.Common.Tests/SettingsTest.cs
<|file_sep|>current/source/Nuke.Common.Tests/SettingsTest.cs
<|file_sep|>updated/source/Nuke.Common.Tests/SettingsTest.cs | // Copyright Matthias Koch 2017.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.IO;
using System.Linq;
using FluentAssertions;
using Nuke.Common.Tools.MSBuild;
using Nuke.Common.Tools.OpenCover;
using Nuke.Common.Tools.Xunit2;
using Nuke.Core.... | <|file_sep|>original/source/Nuke.Common.Tests/SettingsTest.cs
<|file_sep|>current/source/Nuke.Common.Tests/SettingsTest.cs
<|file_sep|>updated/source/Nuke.Common.Tests/SettingsTest.cs
// Copyright Matthias Koch 2017.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
usin... | ce8ea1245b27795b20826ae61044b770c422c65f | source/Nuke.Common.Tests/SettingsTest.cs | source/Nuke.Common.Tests/SettingsTest.cs | C# |
<|file_sep|>original/deleteDevice.sh
<|file_sep|>current/deleteDevice.sh
<|file_sep|>updated/deleteDevice.sh | clear
echo Delete the device
echo
echo Request
echo curl -X DELETE "https://api.authy.com/protected/$AUTHY_API_FORMAT/sdk/devices/\$AUTHY_DEVICE_ID?api_key=\$AUTHY_API_KEY"
echo
echo Response
curl -X DELETE "https://api.authy.com/protected/$AUTHY_API_FORMAT/sdk/devices/\$AUTHY_DEVICE_ID?api_key=\$AUTHY_API_KEY"
echo | <|file_sep|>original/deleteDevice.sh
<|file_sep|>current/deleteDevice.sh
<|file_sep|>updated/deleteDevice.sh
clear
echo Delete the device
echo
echo Request
echo curl -X DELETE "https://api.authy.com/protected/$AUTHY_API_FORMAT/sdk/devices/\$AUTHY_DEVICE_ID?api_key=\$AUTHY_API_KEY"
echo
echo Response
curl -X DELETE "h... | 84c9d88d7afd9c1acfd6e600f2240f6d101974ef | deleteDevice.sh | deleteDevice.sh | Shell |
<|file_sep|>original/bower.json
{
"name": "nhs-number-validator",
"main": "index.js",
"version": "1.0.0",
"homepage": "https://github.com/spikeheap/nhs-number-validator",
"authors": [
"Ryan Brooks <ryan@ryanbrooks.co.uk>"
],
"description": "A simple NHS number validator",
"moduleType": [
"node",... | {
"name": "nhs-number-validator",
"main": "index.js",
"version": "1.1.1",
"homepage": "https://github.com/spikeheap/nhs-number-validator",
"authors": [
"Ryan Brooks <ryan@ryanbrooks.co.uk>"
],
"description": "A simple NHS number validator",
"moduleType": [
"node",
"globals"
],
"keywords"... | <|file_sep|>original/bower.json
{
"name": "nhs-number-validator",
"main": "index.js",
"version": "1.0.0",
"homepage": "https://github.com/spikeheap/nhs-number-validator",
"authors": [
"Ryan Brooks <ryan@ryanbrooks.co.uk>"
],
"description": "A simple NHS number validator",
"moduleType": [
"node",... | 0e15fa9fdb225f35f973c69141326f4ddb952ca9 | bower.json | bower.json | JSON |
<|file_sep|>original/requirements.txt
awesome-slugify==1.6.5
cssmin==0.2.0
Flask==0.12.2
Flask-Analytics==0.6.0
Flask-Assets==0.12
Flask-Mail==0.9.1
Flask-Migrate==2.1.1
Flask-Misaka==0.4.1
Flask-SQLAlchemy==2.3.2
Flask-User==0.6.15
Flask-WaffleConf==0.3.1
Flask-WTF==0.14.2
pygments==2.2.0
<|file_sep|>current/requireme... | awesome-slugify==1.6.5
cssmin==0.2.0
Flask==0.12.2
Flask-Analytics==0.6.0
Flask-Assets==0.12
Flask-Mail==0.9.1
Flask-Migrate==2.1.1
Flask-Misaka==0.4.1
Flask-SQLAlchemy==2.3.2
Flask-User==0.6.19
Flask-WaffleConf==0.3.1
Flask-WTF==0.14.2
pygments==2.2.0 | <|file_sep|>original/requirements.txt
awesome-slugify==1.6.5
cssmin==0.2.0
Flask==0.12.2
Flask-Analytics==0.6.0
Flask-Assets==0.12
Flask-Mail==0.9.1
Flask-Migrate==2.1.1
Flask-Misaka==0.4.1
Flask-SQLAlchemy==2.3.2
Flask-User==0.6.15
Flask-WaffleConf==0.3.1
Flask-WTF==0.14.2
pygments==2.2.0
<|file_sep|>current/requireme... | 187f3f201aa62b0253ba99107e1f11dd17cdc12e | requirements.txt | requirements.txt | Text |
<|file_sep|>ansible/roles/ceph/tasks/config.yml.diff
original:
src: "{{ item }}.json.j2"
dest: "{{ node_config_directory }}/{{ item }}/config.json"
updated:
src: "{{ item.name }}.json.j2"
dest: "{{ node_config_directory }}/{{ item.name }}/config.json"
when:
- inventory_hostname in groups[item.grou... | - "ceph-rgw"
- name: Copying over config.json files for services
template:
src: "{{ item.name }}.json.j2"
dest: "{{ node_config_directory }}/{{ item.name }}/config.json"
when:
- inventory_hostname in groups[item.group]
with_items:
- name: "ceph-mon"
group: ceph-mon
- name: "ceph-osd... | <|file_sep|>ansible/roles/ceph/tasks/config.yml.diff
original:
src: "{{ item }}.json.j2"
dest: "{{ node_config_directory }}/{{ item }}/config.json"
updated:
src: "{{ item.name }}.json.j2"
dest: "{{ node_config_directory }}/{{ item.name }}/config.json"
when:
- inventory_hostname in groups[item.grou... | 2109e6402926e32fc56850eaabc11b19d81037d3 | ansible/roles/ceph/tasks/config.yml | ansible/roles/ceph/tasks/config.yml | YAML |
<|file_sep|>original/docs/_config.yml
plugins:
- jekyll-seo-tag
markdown: kramdown
collections:
chapters:
output: true
macros:
output: true
heads:
output: true
tools:
output: true
commands:
output: true
plugins:
output: true
instructions:
output: true
defaults:
<|file_sep|>... | plugins:
- jekyll-seo-tag
- jekyll-sitemap
markdown: kramdown
collections:
chapters:
output: true
macros:
output: true
heads:
output: true
tools:
output: true
commands:
output: true
plugins:
output: true
instructions:
output: true
| <|file_sep|>original/docs/_config.yml
plugins:
- jekyll-seo-tag
markdown: kramdown
collections:
chapters:
output: true
macros:
output: true
heads:
output: true
tools:
output: true
commands:
output: true
plugins:
output: true
instructions:
output: true
defaults:
<|file_sep|>... | f553787d0e339948b01085545e291f63d0e9175c | docs/_config.yml | docs/_config.yml | YAML |
<|file_sep|>original/README.md
# HATEOAS
## [Presentation](https://zmeda.github.io/mc-hateoas-evaluation)
<|file_sep|>current/README.md
# HATEOAS
## [Presentation](https://zmeda.github.io/mc-hateoas-evaluation)
<|file_sep|>updated/README.md | # HATEOAS
## Evalutaion of the HATEOAS
[Presentation](https://zmeda.github.io/mc-hateoas-evaluation)
by [reveal.js](https://github.com/hakimel/reveal.js) | <|file_sep|>original/README.md
# HATEOAS
## [Presentation](https://zmeda.github.io/mc-hateoas-evaluation)
<|file_sep|>current/README.md
# HATEOAS
## [Presentation](https://zmeda.github.io/mc-hateoas-evaluation)
<|file_sep|>updated/README.md
# HATEOAS
## Evalutaion of the HATEOAS
[Presentation](https://zmeda.github.... | 74e1a652bacfcf8792df5f13cbc5cd2fb7472280 | README.md | README.md | Markdown |
<|file_sep|>original/test/reference-check.bash
<|file_sep|>current/test/reference-check.bash
<|file_sep|>updated/test/reference-check.bash | #!/bin/bash
for file in `ls -1 res-reach/*.wiki`; do
count=`grep '\[http.*\]' $file | wc -l`
refs=`echo $file | sed -e's/.wiki/-references.wiki/' `
# echo "$file -> $refs -> $count"
# if article contains references AND
if [ $count -gt 5 ]; then
# if there is no references cache already for this article AND
if... | <|file_sep|>original/test/reference-check.bash
<|file_sep|>current/test/reference-check.bash
<|file_sep|>updated/test/reference-check.bash
#!/bin/bash
for file in `ls -1 res-reach/*.wiki`; do
count=`grep '\[http.*\]' $file | wc -l`
refs=`echo $file | sed -e's/.wiki/-references.wiki/' `
# echo "$file -> $refs -> $... | cfe47700510ff3eb453a073606a76f6bc77e4823 | test/reference-check.bash | test/reference-check.bash | Shell |
<|file_sep|>original/categories/cookbook/01strings/01-04converting-values.pl
=TITLE Converting between characters and numbers.
=AUTHOR Scott Penrose
You want to convert characters to their codepoint number value or vice-versa
=end pod
my $char = 'a';
my $num = $char.ord;
say $num;
my $char2 = $num.chr;
say $char2;... | =TITLE Converting between characters and numbers.
=AUTHOR Scott Penrose
You want to convert characters to their codepoint number value or vice-versa
=end pod
my $char = 'a';
my $num = $char.ord;
say $num;
my $char2 = $num.chr;
say $char2;
my $copyright = '©';
say $copyright ~ " : " ~ $copyright.ord ~ " : " ~ $copy... | <|file_sep|>original/categories/cookbook/01strings/01-04converting-values.pl
=TITLE Converting between characters and numbers.
=AUTHOR Scott Penrose
You want to convert characters to their codepoint number value or vice-versa
=end pod
my $char = 'a';
my $num = $char.ord;
say $num;
my $char2 = $num.chr;
say $char2;... | 98e085100c0ef9410790d6585aabc6cd8cae7daa | categories/cookbook/01strings/01-04converting-values.pl | categories/cookbook/01strings/01-04converting-values.pl | Perl |
<|file_sep|>jsrn/encoding.py.diff
original:
import registration
updated:
<|file_sep|>jsrn/encoding.py.diff
original:
state = o.__getstate__()
state['$'] = o._meta.resource_name
return state
updated:
obj = {f.name: f.to_json(f.value_from_object(o)) for f in o._meta.fields... | if isinstance(o, resources.Resource):
obj = {f.name: f.to_json(f.value_from_object(o)) for f in o._meta.fields}
obj[resources.RESOURCE_TYPE_FIELD] = o._meta.resource_name
return obj
return super(JSRNEncoder, self)
def build_object_graph(obj, resource_name=None):
... | <|file_sep|>jsrn/encoding.py.diff
original:
import registration
updated:
<|file_sep|>jsrn/encoding.py.diff
original:
state = o.__getstate__()
state['$'] = o._meta.resource_name
return state
updated:
obj = {f.name: f.to_json(f.value_from_object(o)) for f in o._meta.fields... | b0b1be44c64ed48c15f9e796b90a21e7e4597df8 | jsrn/encoding.py | jsrn/encoding.py | Python |
<|file_sep|>original/tools/valgrind/gtest_exclude/browser_tests.gtest-drmemory.txt
SSLUITest.TestRefNavigation
SSLUITest.TestWSSInvalidCertAndGoForward
# http://crbug.com/403007
WorkerDevToolsSanityTest.InspectSharedWorker
# http://crbug.com/451991
AppViewTest.TestAppViewMultipleConnects
BrowserViewTest.DevToolsUpdat... | # http://crbug.com/403007
WorkerDevToolsSanityTest.InspectSharedWorker
# http://crbug.com/451991
AppViewTest.TestAppViewMultipleConnects
BrowserViewTest.DevToolsUpdatesBrowserWindow
# http://crbug.com/451992
ExtensionLoadingTest.UpgradeAfterNavigatingFromOverriddenNewTabPage
# http://crbug.com/459000
ClipboardApiTes... | <|file_sep|>original/tools/valgrind/gtest_exclude/browser_tests.gtest-drmemory.txt
SSLUITest.TestRefNavigation
SSLUITest.TestWSSInvalidCertAndGoForward
# http://crbug.com/403007
WorkerDevToolsSanityTest.InspectSharedWorker
# http://crbug.com/451991
AppViewTest.TestAppViewMultipleConnects
BrowserViewTest.DevToolsUpdat... | 8dd9f45caae90bf49d124edf399aaca9b9942bce | tools/valgrind/gtest_exclude/browser_tests.gtest-drmemory.txt | tools/valgrind/gtest_exclude/browser_tests.gtest-drmemory.txt | Text |
<|file_sep|>sh/tmuxwords.sh.diff
original:
updated:
panes_all_sessions() {
current=$(tmux display-message -p '#S')
tmux list-panes -a -F '#S #I.#P' |
while read session pane; do
[[ $current != $session ]] && echo "$session:$pane"
done
}
<|file_sep|>original/sh/tmuxwords.sh
panes_current_sessio... | tmux list-panes -a -F '#S #I.#P' |
while read session pane; do
[[ $current != $session ]] && echo "$session:$pane"
done
}
# take all lines
# append copy with replaced non word characters
# split on spaces
# filter by first argument
# sort ard remove duplicates
(
panes_current_window
panes_current_s... | <|file_sep|>sh/tmuxwords.sh.diff
original:
updated:
panes_all_sessions() {
current=$(tmux display-message -p '#S')
tmux list-panes -a -F '#S #I.#P' |
while read session pane; do
[[ $current != $session ]] && echo "$session:$pane"
done
}
<|file_sep|>original/sh/tmuxwords.sh
panes_current_sessio... | 01152b636baed03e2244dd74fe6db5789da7bbf2 | sh/tmuxwords.sh | sh/tmuxwords.sh | Shell |
<|file_sep|>original/spec/lib/i18n/core_ext_spec.rb
<|file_sep|>current/spec/lib/i18n/core_ext_spec.rb
<|file_sep|>updated/spec/lib/i18n/core_ext_spec.rb | require 'i18n'
RSpec.describe I18n::Backend::Base do
# Since #load_erb is a protected method, this spec tests the
# interface that calls it: #load_translations
describe '#load_translations' do
let(:translations) do
I18n.backend.instance_variable_get(:@translations)
end
before do
I18n.bac... | <|file_sep|>original/spec/lib/i18n/core_ext_spec.rb
<|file_sep|>current/spec/lib/i18n/core_ext_spec.rb
<|file_sep|>updated/spec/lib/i18n/core_ext_spec.rb
require 'i18n'
RSpec.describe I18n::Backend::Base do
# Since #load_erb is a protected method, this spec tests the
# interface that calls it: #load_translations... | 508402b68050763a80974628a1aafcd086022e58 | spec/lib/i18n/core_ext_spec.rb | spec/lib/i18n/core_ext_spec.rb | Ruby |
<|file_sep|>django_extensions/management/technical_response.py.diff
original:
updated:
import threading
<|file_sep|>django_extensions/management/technical_response.py.diff
original:
wsgi_tb = None
updated:
tld = threading.local()
<|file_sep|>django_extensions/management/technical_response.py.diff
original:
Django... | leaking exceptions. If and uncaught exception is raised, the wrapper calls technical_500_response()
to create a response for django's debug view.
Runserver_plus overrides the django debug view's technical_500_response() function to allow for
an enhanced WSGI debugger view to be displayed. However, beca... | <|file_sep|>django_extensions/management/technical_response.py.diff
original:
updated:
import threading
<|file_sep|>django_extensions/management/technical_response.py.diff
original:
wsgi_tb = None
updated:
tld = threading.local()
<|file_sep|>django_extensions/management/technical_response.py.diff
original:
Django... | cd14ff6463d12c1e97be014766094ef90945e783 | django_extensions/management/technical_response.py | django_extensions/management/technical_response.py | Python |
<|file_sep|>Nexmo.Api/Jwt.cs.diff
original:
using System.IO;
updated:
<|file_sep|>Nexmo.Api/Jwt.cs.diff
original:
internal static string CreateToken(string appId, string privateKeyFile)
updated:
internal static string CreateToken(string appId, string privateKey)
<|file_sep|>original/Nexmo.Api/Jwt.cs
... | {
internal static string CreateToken(string appId, string privateKey)
{
var tokenData = new byte[64];
var rng = RandomNumberGenerator.Create();
rng.GetBytes(tokenData);
var jwtTokenId = Convert.ToBase64String(tokenData);
var payload = new ... | <|file_sep|>Nexmo.Api/Jwt.cs.diff
original:
using System.IO;
updated:
<|file_sep|>Nexmo.Api/Jwt.cs.diff
original:
internal static string CreateToken(string appId, string privateKeyFile)
updated:
internal static string CreateToken(string appId, string privateKey)
<|file_sep|>original/Nexmo.Api/Jwt.cs
... | 660d6a57fca927107d4645b69402fec8311d0ac1 | Nexmo.Api/Jwt.cs | Nexmo.Api/Jwt.cs | C# |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.8"
- "0.10"
before_install:
- npm install -g grunt-cli
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.8"
- "0.10"
before_install:
- npm install -g grunt-cli
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- "0.10"
before_install:
- npm install -g grunt-cli | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.8"
- "0.10"
before_install:
- npm install -g grunt-cli
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.8"
- "0.10"
before_install:
- npm install -g grunt-cli
<|file_sep|>updated/.travis.yml
language: node_js
node_js:
- "0.10"... | 029aab621e1d215af92de4e8271957b0d95a9418 | .travis.yml | .travis.yml | YAML |
<|file_sep|>lib/islay/searchable.rb.diff
original:
COLUMNS = [:id, :name, :type].freeze
updated:
COLUMNS = [:id, :name, :desc].freeze
<|file_sep|>original/lib/islay/searchable.rb
module ClassMethods
def search_terms(opts)
columns = opts[:return] || {}
terms = opts[:against]
p... |
module ClassMethods
def search_terms(opts)
columns = opts[:return] || {}
terms = opts[:against]
projections = COLUMNS.map do |col|
"#{columns[col] || col} AS #{col}"
end
projections << unless columns.has_key?(:desc)
"'#{self.to_s.humanize}' AS des... | <|file_sep|>lib/islay/searchable.rb.diff
original:
COLUMNS = [:id, :name, :type].freeze
updated:
COLUMNS = [:id, :name, :desc].freeze
<|file_sep|>original/lib/islay/searchable.rb
module ClassMethods
def search_terms(opts)
columns = opts[:return] || {}
terms = opts[:against]
p... | a2b66223d8dc9ffc8e33c48ce9d6b63b46a25ea9 | lib/islay/searchable.rb | lib/islay/searchable.rb | Ruby |
<|file_sep|>original/lib/segments/dg1.rb
add_field :outlier_cost
add_field :grouper_version_and_type
add_field :diagnosis_priority
add_field :diagnosis_clinician
add_field :diagnosis_classification
add_field :confidential_indicator
add_field :attestation_date_time do |value|
convert_to... | add_field :outlier_cost
add_field :grouper_version_and_type
add_field :diagnosis_priority
add_field :diagnosis_clinician
add_field :diagnosis_classification
add_field :confidential_indicator
add_field :attestation_date_time do |value|
convert_to_ts(value)
end
private
... | <|file_sep|>original/lib/segments/dg1.rb
add_field :outlier_cost
add_field :grouper_version_and_type
add_field :diagnosis_priority
add_field :diagnosis_clinician
add_field :diagnosis_classification
add_field :confidential_indicator
add_field :attestation_date_time do |value|
convert_to... | abba2fd340cee7eba4976c93a0ea0c601ed425bc | lib/segments/dg1.rb | lib/segments/dg1.rb | Ruby |
<|file_sep|>original/django/setup.py
import sys
import setup_util
import os
from os.path import expanduser
home = expanduser("~")
def start(args):
setup_util.replace_text("django/hello/hello/settings.py", "HOST': '.*'", "HOST': '" + args.database_host + "'")
setup_util.replace_text("django/hello/hello/settings.py... | import sys
import setup_util
import os
from os.path import expanduser
home = expanduser("~")
def start(args):
setup_util.replace_text("django/hello/hello/settings.py", "HOST': '.*'", "HOST': '" + args.database_host + "'")
setup_util.replace_text("django/hello/hello/settings.py", "\/home\/ubuntu", home)
# becau... | <|file_sep|>original/django/setup.py
import sys
import setup_util
import os
from os.path import expanduser
home = expanduser("~")
def start(args):
setup_util.replace_text("django/hello/hello/settings.py", "HOST': '.*'", "HOST': '" + args.database_host + "'")
setup_util.replace_text("django/hello/hello/settings.py... | 5ae10de8c33b3388c0e593187be9fb62ac1f2c2c | django/setup.py | django/setup.py | Python |
<|file_sep|>original/tests/dummy/config/environment.js
var ENV = {
APP: {},
rootURL: '/',
EmberENV: {
FEATURES: {}
},
googleFonts: [
'Roboto:300'
],
environment: environment,
locationType: 'auto',
modulePrefix: 'dummy',
'ember-prop-types': {
spreadProperty: '... | var ENV = {
APP: {},
rootURL: '/',
EmberENV: {
FEATURES: {}
},
googleFonts: [
'Roboto:300'
],
environment: environment,
locationType: 'hash',
modulePrefix: 'dummy',
'ember-prop-types': {
spreadProperty: 'options',
throwErrors: false,
validateOnUpd... | <|file_sep|>original/tests/dummy/config/environment.js
var ENV = {
APP: {},
rootURL: '/',
EmberENV: {
FEATURES: {}
},
googleFonts: [
'Roboto:300'
],
environment: environment,
locationType: 'auto',
modulePrefix: 'dummy',
'ember-prop-types': {
spreadProperty: '... | 0f912e0a983d02763d972eec0502ba7aec58e223 | tests/dummy/config/environment.js | tests/dummy/config/environment.js | JavaScript |
<|file_sep|>original/.travis.yml
language: cpp
compiler: gcc
branches:
only:
- develop
script:
- mkdir build && cd build && cmake .. && make
- ./xzbuf-test
<|file_sep|>current/.travis.yml
language: cpp
compiler: gcc
branches:
only:
- develop
script:
- mkdir build && cd build && cmake .. && make
- ./... | language: cpp
compiler: gcc
branches:
only:
- develop
install:
- sudo add-apt-repository ppa:george-edison55/precise-backports --yes
- sudo apt-get update
- sudo apt-get install cmake
script:
- mkdir build && cd build && cmake .. && make
- ./xzbuf-test | <|file_sep|>original/.travis.yml
language: cpp
compiler: gcc
branches:
only:
- develop
script:
- mkdir build && cd build && cmake .. && make
- ./xzbuf-test
<|file_sep|>current/.travis.yml
language: cpp
compiler: gcc
branches:
only:
- develop
script:
- mkdir build && cd build && cmake .. && make
- ./... | beb13716f23c317adcb0e842272ef92eaea8f60d | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- "2.1.2"
- "1.9.3"
- "1.8.7"
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- "2.1.2"
- "1.9.3"
- "1.8.7"
<|file_sep|>updated/.travis.yml | language: ruby
before_install:
- gem install bundler
rvm:
- "2.1.2"
- "1.9.3"
- "1.8.7" | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- "2.1.2"
- "1.9.3"
- "1.8.7"
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- "2.1.2"
- "1.9.3"
- "1.8.7"
<|file_sep|>updated/.travis.yml
language: ruby
before_install:
- gem install bundler
rvm:
- "2.1.2"
- "1.9.3"
- "1.8.7" | dcc9c7e493e75e5ea236553f44c6c27f73a25ac9 | .travis.yml | .travis.yml | YAML |
<|file_sep|>linux/status_bar.sh.diff
original:
PERCENT=$1
SIZE=$(($2-2))
START=$3
PROGRESS=$((PERCENT*SIZE/100))
STRING=""
for ((i=0; i<SIZE; i++)); do
if [ $i -lt $PROGRESS ]; then
STRING+="#"
else
STRING+="-"
fi
done
echo -ne "... | START=$3
PROGRESS=$((START+PERCENT*SIZE/100))
END=$((START+SIZE))
if [ $PERCENT -eq 0 ]; then
STRING=""
for ((i=0; i<SIZE; i++)); do
STRING+="░"
done
echo -ne "\r\033[${START}C$STRING"
elif [ $PROGRESS -lt $END ]; then
echo -ne "\r\033[${PROGRESS}C▓$PERCENT%"
else
echo -ne "\r\033[${END}C100%"
... | <|file_sep|>linux/status_bar.sh.diff
original:
PERCENT=$1
SIZE=$(($2-2))
START=$3
PROGRESS=$((PERCENT*SIZE/100))
STRING=""
for ((i=0; i<SIZE; i++)); do
if [ $i -lt $PROGRESS ]; then
STRING+="#"
else
STRING+="-"
fi
done
echo -ne "... | f3797c1e388fc14aa88ddf9e36f78b973787fd14 | linux/status_bar.sh | linux/status_bar.sh | Shell |
<|file_sep|>original/site/templates/shared/header.html
<header class="maxview">
<input type="checkbox" id="nav-check" />
{% include "shared/logo.html" %}
<nav class="nav">
<a href="/cheatsheet">Cheatsheet</a>
<a href="https://docs.rs/clap">Reference</a>
<a href="https://github.com/clap-rs/clap">Code... | <header class="maxview">
<input type="checkbox" id="nav-check" />
{% include "shared/logo.html" %}
<nav class="nav">
<a href="/cheatsheet">Cheatsheet</a>
<a href="/cookbook">Cookbook</a>
<a href="https://docs.rs/clap">Reference</a>
<a href="https://github.com/clap-rs/clap">Code</a>
</nav>
</he... | <|file_sep|>original/site/templates/shared/header.html
<header class="maxview">
<input type="checkbox" id="nav-check" />
{% include "shared/logo.html" %}
<nav class="nav">
<a href="/cheatsheet">Cheatsheet</a>
<a href="https://docs.rs/clap">Reference</a>
<a href="https://github.com/clap-rs/clap">Code... | 750aba282f1ad4ed623ef32dfe9fb04588e6dd42 | site/templates/shared/header.html | site/templates/shared/header.html | HTML |
<|file_sep|>lib/fog/aws/models/glacier/vault.rb.diff
original:
updated:
def set_notification_configuration(topic, events)
connection.set_vault_notification_configuration(id, topic, events)
end
def delete_notification_configuration
connection.delete_vault_notification_config... | def set_notification_configuration(topic, events)
connection.set_vault_notification_configuration(id, topic, events)
end
def delete_notification_configuration
connection.delete_vault_notification_configuration
end
def save
requires :id
... | <|file_sep|>lib/fog/aws/models/glacier/vault.rb.diff
original:
updated:
def set_notification_configuration(topic, events)
connection.set_vault_notification_configuration(id, topic, events)
end
def delete_notification_configuration
connection.delete_vault_notification_config... | dd37b52c1f84a0f7c3641f4a94a55703ccf63aaf | lib/fog/aws/models/glacier/vault.rb | lib/fog/aws/models/glacier/vault.rb | Ruby |
<|file_sep|>original/packer/scripts/learning_cleanup.sh
# Stop all PE processes to free up memory
for s in `find /etc/init.d/ -name pe* -type f -printf "%f\n"`
do
service $s stop
done
# Clean up PE installer files
rm -rf /root/puppet-enterprise*
rm -rf /root/puppet-enterprise
rm -rf /usr/src/installer
# Clean up o... | do
service $s stop
done
# Clean up PE installer files
rm -rf /root/puppet-enterprise*
rm -rf /root/puppet-enterprise
rm -rf /usr/src/installer
# Clean up other random files
rm -rf /usr/src/puppetlabs-training-bootstrap
rm -rf /usr/src/puppet
rm -rf /usr/share/doc/*
rm -rf /usr/src/kernels
rm -rf /var/cache/yum
rm ... | <|file_sep|>original/packer/scripts/learning_cleanup.sh
# Stop all PE processes to free up memory
for s in `find /etc/init.d/ -name pe* -type f -printf "%f\n"`
do
service $s stop
done
# Clean up PE installer files
rm -rf /root/puppet-enterprise*
rm -rf /root/puppet-enterprise
rm -rf /usr/src/installer
# Clean up o... | 2f397cf3459a88741152ee8c9182e4188d3da79d | packer/scripts/learning_cleanup.sh | packer/scripts/learning_cleanup.sh | Shell |
<|file_sep|>gradle.properties.diff
original:
h2oMajorVersion=3.8.0
updated:
h2oMajorVersion=3.8.1
<|file_sep|>gradle.properties.diff
original:
h2oMajorName=tukey
updated:
h2oMajorName=turan
<|file_sep|>original/gradle.properties
#Tue, 19 May 2015 17:15:25 -0700
group=ai.h2o
version=1.5.99999-SNAPSHOT
# Major version of... | #Tue, 19 May 2015 17:15:25 -0700
group=ai.h2o
version=1.5.99999-SNAPSHOT
# Major version of H2O release
h2oMajorVersion=3.8.1
# Name of H2O major version
h2oMajorName=turan
# H2O Build version, defined here to be overriden by -P option
h2oBuild=3
# Spark version
sparkVersion=1.5.2
org.gradle.jvmargs='-XX:MaxPermSize=3... | <|file_sep|>gradle.properties.diff
original:
h2oMajorVersion=3.8.0
updated:
h2oMajorVersion=3.8.1
<|file_sep|>gradle.properties.diff
original:
h2oMajorName=tukey
updated:
h2oMajorName=turan
<|file_sep|>original/gradle.properties
#Tue, 19 May 2015 17:15:25 -0700
group=ai.h2o
version=1.5.99999-SNAPSHOT
# Major version of... | 2bbcd8045caba1ee2dd46081742aefbd440162b5 | gradle.properties | gradle.properties | INI |
<|file_sep|>original/codenvy-ext-datasource-core/src/main/java/com/codenvy/ide/ext/datasource/client/sqllauncher/SqlLauncherEditorProvider.java
<|file_sep|>current/codenvy-ext-datasource-core/src/main/java/com/codenvy/ide/ext/datasource/client/sqllauncher/SqlLauncherEditorProvider.java
<|file_sep|>updated/codenvy-ext... | package com.codenvy.ide.ext.datasource.client.sqllauncher;
import com.codenvy.ide.api.editor.EditorPartPresenter;
import com.codenvy.ide.api.editor.EditorProvider;
import com.codenvy.ide.api.notification.NotificationManager;
import com.codenvy.ide.api.preferences.PreferencesManager;
import com.codenvy.ide.dto.DtoFacto... | <|file_sep|>original/codenvy-ext-datasource-core/src/main/java/com/codenvy/ide/ext/datasource/client/sqllauncher/SqlLauncherEditorProvider.java
<|file_sep|>current/codenvy-ext-datasource-core/src/main/java/com/codenvy/ide/ext/datasource/client/sqllauncher/SqlLauncherEditorProvider.java
<|file_sep|>updated/codenvy-ext... | bc137fc8b1c7ca3ba3a304661cfa7ec857ca7cac | codenvy-ext-datasource-core/src/main/java/com/codenvy/ide/ext/datasource/client/sqllauncher/SqlLauncherEditorProvider.java | codenvy-ext-datasource-core/src/main/java/com/codenvy/ide/ext/datasource/client/sqllauncher/SqlLauncherEditorProvider.java | Java |
<|file_sep|>app/views/events/index.html.haml.diff
original:
events_view ||= params[:view] || cookies[:events_view] || 'list'
updated:
events_view ||= params[:view] || cookies[:events_view] || 'calendar'
<|file_sep|>original/app/views/events/index.html.haml
:ruby
events_view ||= params[:view] || cookies[:events_vi... | :ruby
events_view ||= params[:view] || cookies[:events_view] || 'calendar'
- content_for :sidebar do
#sidebar-welcome.sidebar-box= render 'site/welcome'
#sidebar-event-details.sidebar-box
#sidebar-filters.sidebar-box= render 'events/filters'
#sidebar-exports.sidebar-box= render 'events/exports'
.view-switc... | <|file_sep|>app/views/events/index.html.haml.diff
original:
events_view ||= params[:view] || cookies[:events_view] || 'list'
updated:
events_view ||= params[:view] || cookies[:events_view] || 'calendar'
<|file_sep|>original/app/views/events/index.html.haml
:ruby
events_view ||= params[:view] || cookies[:events_vi... | acd817f0d1047adcee65e476a077cef3fabaa5fe | app/views/events/index.html.haml | app/views/events/index.html.haml | Haml |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.