prompt stringlengths 77 6.9k | completion stringlengths 1 3.38k | text stringlengths 163 9.03k | commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | lang stringclasses 277
values |
|---|---|---|---|---|---|---|
<|file_sep|>original/scripts/startdev.sh
rm -rf app/bower_components/videogular-questions
ln -s ../../../videogular-questions app/bower_components/videogular-questions
rm -rf app/bower_components/videogular-controls
ln -s ../../../videogular-controls app/bower_components/videogular-controls
http-server -a localhost -... | rm -rf app/bower_components/videogular-questions
ln -s ../../../videogular-questions app/bower_components/videogular-questions
rm -rf app/bower_components/videogular-controls
ln -s ../../../bower-videogular-controls app/bower_components/videogular-controls
http-server -a localhost -p 8000 -c-1 | <|file_sep|>original/scripts/startdev.sh
rm -rf app/bower_components/videogular-questions
ln -s ../../../videogular-questions app/bower_components/videogular-questions
rm -rf app/bower_components/videogular-controls
ln -s ../../../videogular-controls app/bower_components/videogular-controls
http-server -a localhost -... | f9b8359e3cce614e485e0be0a9bd32d644e6a200 | scripts/startdev.sh | scripts/startdev.sh | Shell |
<|file_sep|>metadata/rocks.tbog.tblauncher.yml.diff
original:
updated:
- versionName: '5.3'
versionCode: 20
commit: v5.3
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/rocks.tbog.tblauncher.yml
gradle:
- yes
- versionName: '5.1'
versionCode: 18
commit: v5.1
su... | gradle:
- yes
- versionName: '5.2'
versionCode: 19
commit: v5.2
subdir: app
gradle:
- yes
- versionName: '5.3'
versionCode: 20
commit: v5.3
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: '5.3'
CurrentVersionCode: 2... | <|file_sep|>metadata/rocks.tbog.tblauncher.yml.diff
original:
updated:
- versionName: '5.3'
versionCode: 20
commit: v5.3
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/rocks.tbog.tblauncher.yml
gradle:
- yes
- versionName: '5.1'
versionCode: 18
commit: v5.1
su... | 99a48bfa0c57acf41198d377c613232f86fcbe6b | metadata/rocks.tbog.tblauncher.yml | metadata/rocks.tbog.tblauncher.yml | YAML |
<|file_sep|>original/test/factories/user.rb
FactoryGirl.define do
factory :user do
name "Winston Smith-Churchill"
sequence(:github_id)
end
end
<|file_sep|>current/test/factories/user.rb
FactoryGirl.define do
factory :user do
name "Winston Smith-Churchill"
sequence(:github_id)
end
end
<|file_sep|... | FactoryGirl.define do
factory :user do
name 'Winston Smith-Churchill'
sequence(:email) {|n|
"user#{n}@example.org"
}
provider 'google'
sequence(:provider_uid)
sequence(:image_url) {|n|
"http://example.org/users/#{n}.jpg"
}
end
end | <|file_sep|>original/test/factories/user.rb
FactoryGirl.define do
factory :user do
name "Winston Smith-Churchill"
sequence(:github_id)
end
end
<|file_sep|>current/test/factories/user.rb
FactoryGirl.define do
factory :user do
name "Winston Smith-Churchill"
sequence(:github_id)
end
end
<|file_sep|... | 93468ff087e791cf814ccd3bfa581bb5278a8924 | test/factories/user.rb | test/factories/user.rb | Ruby |
<|file_sep|>original/doc/_static/overrules.css
div.note {
background-color: #FFFFCC;
border: 0;
}
div.body h1, div.body h2, div.body h3,
div.body h4, div.body h5, div.body h6 {
background: inherit;
}
pre {
font-size: 13px;
line-height: 140%;
}
tt {
font-size: 13px;
}
/* table styles */
th {
... | div.note {
background-color: #FFFFCC;
border: 0;
}
div.body h1, div.body h2, div.body h3,
div.body h4, div.body h5, div.body h6 {
background: inherit;
}
div.body p, div.body dd, div.body li {
text-align: left;
}
pre {
font-size: 13px;
line-height: 140%;
}
tt {
font-size: 13px; | <|file_sep|>original/doc/_static/overrules.css
div.note {
background-color: #FFFFCC;
border: 0;
}
div.body h1, div.body h2, div.body h3,
div.body h4, div.body h5, div.body h6 {
background: inherit;
}
pre {
font-size: 13px;
line-height: 140%;
}
tt {
font-size: 13px;
}
/* table styles */
th {
... | 59bc9d0ed08da8a8e1dd86bfcaf9fd2cb8ca7e98 | doc/_static/overrules.css | doc/_static/overrules.css | CSS |
<|file_sep|>original/phpunit.xml.dist
<|file_sep|>current/phpunit.xml.dist
<|file_sep|>updated/phpunit.xml.dist | <?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure=... | <|file_sep|>original/phpunit.xml.dist
<|file_sep|>current/phpunit.xml.dist
<|file_sep|>updated/phpunit.xml.dist
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExcep... | 47aeee0e788e6091653c7b3cd2a202aac1463e98 | phpunit.xml.dist | phpunit.xml.dist | unknown |
<|file_sep|>.styleci.yml.diff
original:
preset: recommended
updated:
php:
preset: recommended
<|file_sep|>.styleci.yml.diff
original:
enabled:
- dir_constant
- ereg_to_preg
- mb_str_functions
- no_short_echo_tag
- strict_comparison
- phpdoc_link_to_see
- no_php4_constructor
- declare_strict_types
- ... | - phpdoc_link_to_see
- no_php4_constructor
- declare_strict_types
- unalign_double_arrow
- length_ordered_imports
- modernize_types_casting
- return_type_declaration
- not_operator_with_successor_space
disabled:
- align_double_arrow
- alpha_ordered_imports
js:
tab-width: 4
... | <|file_sep|>.styleci.yml.diff
original:
preset: recommended
updated:
php:
preset: recommended
<|file_sep|>.styleci.yml.diff
original:
enabled:
- dir_constant
- ereg_to_preg
- mb_str_functions
- no_short_echo_tag
- strict_comparison
- phpdoc_link_to_see
- no_php4_constructor
- declare_strict_types
- ... | ee680758a3fad80f18520a5f0006778d07f3333d | .styleci.yml | .styleci.yml | YAML |
<|file_sep|>original/Resources/views/Core/dashboard.html.twig
(c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
#}
{% extends base_template %}
{% block title %}{% trans 'title_dashboard' from ... | (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
#}
{% extends base_template %}
{% block title %}{% trans 'title_dashboard' from 'BaseApplicationBundle' %}{% endblock%}
{% block breadcrumb %}... | <|file_sep|>original/Resources/views/Core/dashboard.html.twig
(c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
#}
{% extends base_template %}
{% block title %}{% trans 'title_dashboard' from ... | f93114eff93d47f280e80d4dc2d36b6c233456b1 | Resources/views/Core/dashboard.html.twig | Resources/views/Core/dashboard.html.twig | Twig |
<|file_sep|>original/snoop.gemspec
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'snoop/version'
Gem::Specification.new do |spec|
spec.name = 'snoop'
spec.version = Snoop::VERSION
spec.authors = ['Chris Hunt']
spe... | # coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'snoop/version'
Gem::Specification.new do |spec|
spec.name = 'snoop'
spec.version = Snoop::VERSION
spec.authors = ['Chris Hunt']
spec.email = ['c@chrishunt.co'... | <|file_sep|>original/snoop.gemspec
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'snoop/version'
Gem::Specification.new do |spec|
spec.name = 'snoop'
spec.version = Snoop::VERSION
spec.authors = ['Chris Hunt']
spe... | 9a541d604e4c3083f7fbafe0d977060093ab7673 | snoop.gemspec | snoop.gemspec | Ruby |
<|file_sep|>original/puppet-lint-no_cron_resources-check.gemspec
spec.files = Dir[
'README.md',
'LICENSE',
'lib/**/*',
'spec/**/*',
]
spec.test_files = Dir['spec/**/*']
spec.summary = 'puppet-lint no_cron_resources check'
spec.description = <<-EOF
Extends puppet-lint to ensure n... | spec.files = Dir[
'README.md',
'LICENSE',
'lib/**/*',
'spec/**/*',
]
spec.test_files = Dir['spec/**/*']
spec.summary = 'puppet-lint no_cron_resources check'
spec.description = <<-EOF
Extends puppet-lint to ensure no cron resources are contained in the catalog.
EOF
spec.add_... | <|file_sep|>original/puppet-lint-no_cron_resources-check.gemspec
spec.files = Dir[
'README.md',
'LICENSE',
'lib/**/*',
'spec/**/*',
]
spec.test_files = Dir['spec/**/*']
spec.summary = 'puppet-lint no_cron_resources check'
spec.description = <<-EOF
Extends puppet-lint to ensure n... | 38aabd529269d149f6f6b76aa079e381e1eb6527 | puppet-lint-no_cron_resources-check.gemspec | puppet-lint-no_cron_resources-check.gemspec | Ruby |
<|file_sep|>lionschool/core/admin.py.diff
original:
from .models import Grade, Group, Pupil, Teacher, Warden
updated:
from .models import Grade, Group, Pupil, Teacher, Warden, Course
<|file_sep|>original/lionschool/core/admin.py
from django.contrib import admin
from .models import Grade, Group, Pupil, Teacher, Warden
... | from django.contrib import admin
from .models import Grade, Group, Pupil, Teacher, Warden, Course
for model in Grade, Group, Pupil, Teacher, Warden, Course:
admin.site.register(model) | <|file_sep|>lionschool/core/admin.py.diff
original:
from .models import Grade, Group, Pupil, Teacher, Warden
updated:
from .models import Grade, Group, Pupil, Teacher, Warden, Course
<|file_sep|>original/lionschool/core/admin.py
from django.contrib import admin
from .models import Grade, Group, Pupil, Teacher, Warden
... | e5db0a11634dc442f77f5550efd5cbf687ea6526 | lionschool/core/admin.py | lionschool/core/admin.py | Python |
<|file_sep|>test/setupTests.js.diff
original:
updated:
const createSessionStorageMock = () => {
let store = {}
return {
setItem(key, value) {
store[key] = value.toString()
},
getItem(key) {
return store[key] || null
},
removeItem(key) {
delete store[key]
},
clear() {
... | let store = {}
return {
setItem(key, value) {
store[key] = value.toString()
},
getItem(key) {
return store[key] || null
},
removeItem(key) {
delete store[key]
},
clear() {
store = {}
}
}
}
global.fetch = fetch
global.localStorage = createLocalStorageMock()... | <|file_sep|>test/setupTests.js.diff
original:
updated:
const createSessionStorageMock = () => {
let store = {}
return {
setItem(key, value) {
store[key] = value.toString()
},
getItem(key) {
return store[key] || null
},
removeItem(key) {
delete store[key]
},
clear() {
... | 6b18f778f0a3686050bcc414fc4ceafd0a3340ff | test/setupTests.js | test/setupTests.js | JavaScript |
<|file_sep|>original/src/eventDispatchers/touchEventHandlers/shared/customCallbackHandler.js
import { getters, state } from './../../../store/index.js';
import getActiveToolsForElement from './../../../store/getActiveToolsForElement.js';
export default function (customFunction, evt) {
if (state.isToolLocked) {
r... | import { getters, state } from './../../../store/index.js';
import getActiveToolsForElement from './../../../store/getActiveToolsForElement.js';
export default function (customFunction, evt) {
if (state.isToolLocked) {
return false;
}
// TODO: We sometimes see a null detail for TOUCH_PRESS
let tools;
co... | <|file_sep|>original/src/eventDispatchers/touchEventHandlers/shared/customCallbackHandler.js
import { getters, state } from './../../../store/index.js';
import getActiveToolsForElement from './../../../store/getActiveToolsForElement.js';
export default function (customFunction, evt) {
if (state.isToolLocked) {
r... | e472842fded69c6aaa67e74e9e9da5635f0c8306 | src/eventDispatchers/touchEventHandlers/shared/customCallbackHandler.js | src/eventDispatchers/touchEventHandlers/shared/customCallbackHandler.js | JavaScript |
<|file_sep|>original/reviewboard/templates/admin/manual-updates/ext-dir.html
<|file_sep|>current/reviewboard/templates/admin/manual-updates/ext-dir.html
<|file_sep|>updated/reviewboard/templates/admin/manual-updates/ext-dir.html | {% load i18n %}
<h1 class="title">{% trans "Extensions media directory changes" %}</h1>
<div class="main">
<p>
{% blocktrans %}
Your site's extensions media directory isn't properly set up. This directory
is where Review Board will store various extension media files.
{% endblocktrans %}
</p>
<p>
{% blocktrans %... | <|file_sep|>original/reviewboard/templates/admin/manual-updates/ext-dir.html
<|file_sep|>current/reviewboard/templates/admin/manual-updates/ext-dir.html
<|file_sep|>updated/reviewboard/templates/admin/manual-updates/ext-dir.html
{% load i18n %}
<h1 class="title">{% trans "Extensions media directory changes" %}</h1>
<... | 1fa8e6b59b30ab7c05dc35d2f0250f86dc405bb9 | reviewboard/templates/admin/manual-updates/ext-dir.html | reviewboard/templates/admin/manual-updates/ext-dir.html | HTML |
<|file_sep|>original/modules/read_more/read_more.php
$this->setPriority("markup_post_text", 4);
}
public function markup_post_text($text, $post = null) {
if (!is_string($text) or !preg_match("/<!-- *more(.+?)?-->/i", $text, $matches))
return $text;
$... | $this->setPriority("markup_post_text", 4);
}
public function markup_post_text($text, $post = null) {
if (!is_string($text) or !preg_match("/<!-- *more(.+?)?-->/i", $text, $matches))
return $text;
$route = Route::current();
$controller = $... | <|file_sep|>original/modules/read_more/read_more.php
$this->setPriority("markup_post_text", 4);
}
public function markup_post_text($text, $post = null) {
if (!is_string($text) or !preg_match("/<!-- *more(.+?)?-->/i", $text, $matches))
return $text;
$... | 223801e57d5162d98b5a55e53dfe2bdcbfb77e0f | modules/read_more/read_more.php | modules/read_more/read_more.php | PHP |
<|file_sep|>original/lib/pinch_hitter.rb
require "pinch_hitter/version"
require "pinch_hitter/message/message_store"
require "pinch_hitter/message/content_type"
require "pinch_hitter/service/runner"
module PinchHitter
include PinchHitter::Service::Runner
include PinchHitter::Message::ContentType
attr_accessor :m... | require "pinch_hitter/version"
require "pinch_hitter/message/message_store"
require "pinch_hitter/message/content_type"
require "pinch_hitter/service/runner"
require "net/http"
module PinchHitter
include PinchHitter::Service::Runner
include PinchHitter::Message::ContentType
attr_accessor :message_store
def me... | <|file_sep|>original/lib/pinch_hitter.rb
require "pinch_hitter/version"
require "pinch_hitter/message/message_store"
require "pinch_hitter/message/content_type"
require "pinch_hitter/service/runner"
module PinchHitter
include PinchHitter::Service::Runner
include PinchHitter::Message::ContentType
attr_accessor :m... | 069819cda9b7fd90f5a2b940da708b9a71d178c9 | lib/pinch_hitter.rb | lib/pinch_hitter.rb | Ruby |
<|file_sep|>original/README.md
Etiquette
=========
I am currently running a demonstration copy of Etiquette at http://etiquette.voussoir.net where you can browse around. This is not yet permanent.
### To do list
- Make the wording between "new", "create", "add"; and "remove", "delete" more consistent.
- User account ... | Etiquette
=========
I am currently running a demonstration copy of Etiquette at http://etiquette.voussoir.net where you can browse around. This is not yet permanent.
### What am I looking at
Etiquette is a tag-based file organization system with a web front-end.
Documentation is still a work in progress. In general... | <|file_sep|>original/README.md
Etiquette
=========
I am currently running a demonstration copy of Etiquette at http://etiquette.voussoir.net where you can browse around. This is not yet permanent.
### To do list
- Make the wording between "new", "create", "add"; and "remove", "delete" more consistent.
- User account ... | 467d5a262647ce948bacc8735daffc45cf4f9137 | README.md | README.md | Markdown |
<|file_sep|>original/webapp/config/environment.js
/* jshint node: true */
module.exports = function(environment) {
var ENV = {
modulePrefix: 'webapp',
environment: environment,
baseURL: '/',
locationType: 'auto',
EmberENV: {
FEATURES: {
// Here you can enable experimental features o... | /* jshint node: true */
module.exports = function(environment) {
var ENV = {
modulePrefix: 'webapp',
environment: environment,
baseURL: '/',
locationType: 'hash',
EmberENV: {
FEATURES: {
// Here you can enable experimental features on an ember canary build
// e.g. 'with-cont... | <|file_sep|>original/webapp/config/environment.js
/* jshint node: true */
module.exports = function(environment) {
var ENV = {
modulePrefix: 'webapp',
environment: environment,
baseURL: '/',
locationType: 'auto',
EmberENV: {
FEATURES: {
// Here you can enable experimental features o... | 8ca5920274ec4caca154b1f875994ce9579dd157 | webapp/config/environment.js | webapp/config/environment.js | JavaScript |
<|file_sep|>original/.travis.yml
language: php
os: linux
php:
- 7.0
- 7.1
- 7.2
- 7.3
cache:
directories:
- vendor
- $HOME/.composer/cache
install:
- travis_retry composer self-update && composer --version
- export PATH="$HOME/.composer/vendor/bin:$PATH"
- travis_retry composer install --pre... | language: php
os: linux
php:
- 7.1
- 7.2
- 7.3
cache:
directories:
- vendor
- $HOME/.composer/cache
install:
- travis_retry composer self-update && composer --version
- export PATH="$HOME/.composer/vendor/bin:$PATH"
- travis_retry composer install --prefer-dist --no-interaction
script:
- ve... | <|file_sep|>original/.travis.yml
language: php
os: linux
php:
- 7.0
- 7.1
- 7.2
- 7.3
cache:
directories:
- vendor
- $HOME/.composer/cache
install:
- travis_retry composer self-update && composer --version
- export PATH="$HOME/.composer/vendor/bin:$PATH"
- travis_retry composer install --pre... | 49a7c21d05e6ec59e4187ad43c517221361360ce | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/autoroll/config/cros-proto-infra.json
<|file_sep|>current/autoroll/config/cros-proto-infra.json
<|file_sep|>updated/autoroll/config/cros-proto-infra.json | {
"childName": "chromiumos/infra/proto",
"contacts": [
"seanabraham@google.com"
],
"gerrit": {
"url": "https://chromium-review.googlesource.com",
"project": "infra/infra",
"config": "chromium"
},
"isInternal": false,
"parentName": "infra",
"parentWaterfall": "https://ci.chromium.org/p/in... | <|file_sep|>original/autoroll/config/cros-proto-infra.json
<|file_sep|>current/autoroll/config/cros-proto-infra.json
<|file_sep|>updated/autoroll/config/cros-proto-infra.json
{
"childName": "chromiumos/infra/proto",
"contacts": [
"seanabraham@google.com"
],
"gerrit": {
"url": "https://chromium-review.... | 5fa5f5716ccedf8fed13f77742a6265627bd6bc4 | autoroll/config/cros-proto-infra.json | autoroll/config/cros-proto-infra.json | JSON |
<|file_sep|>original/_config.yml
name: Designers of Interactive, Intelligent, Internet of Things (DoIIIT)
author: gparuthi
description: DoIIIT
url: http://doiiit.github.io
highlighter: pygments
permalink: /:title
ordered_categories: [research1, research2]
people_cats: [people1, people2]
all_tags: [HCI, UbiComp, ICTD, D... | name: DoIIIT
author: gparuthi
description: DoIIIT
url: http://doiiit.github.io
highlighter: pygments
permalink: /:title
ordered_categories: [research1, research2]
people_cats: [people1, people2]
all_tags: [HCI, UbiComp, ICTD, DataMining, Health]
sass:
sass_dir: css
defaults:
-
scope:
path: ""
type: ... | <|file_sep|>original/_config.yml
name: Designers of Interactive, Intelligent, Internet of Things (DoIIIT)
author: gparuthi
description: DoIIIT
url: http://doiiit.github.io
highlighter: pygments
permalink: /:title
ordered_categories: [research1, research2]
people_cats: [people1, people2]
all_tags: [HCI, UbiComp, ICTD, D... | 86bf5c748511607dc79c82cd22b60bea41c98727 | _config.yml | _config.yml | YAML |
<|file_sep|>original/CONTRIBUTING.md
We love pull requests from everyone. Follow the thoughtbot [code of conduct](https://thoughtbot.com/open-source-code-of-conduct) while contributing.
## Development
bundle
jekyll serve -w
## Contributing
1. Fork the repo.
2. Make changes.
3. Write a [good commit message](... | We love pull requests from everyone. Follow the Contributor Covenant [code of conduct](http://contributor-covenant.org/) while contributing.
## Development
bundle
jekyll serve -w
## Contributing
1. Fork the repo.
2. Make changes.
3. Write a [good commit message](http://tbaggery.com/2008/04/19/a-note-about-g... | <|file_sep|>original/CONTRIBUTING.md
We love pull requests from everyone. Follow the thoughtbot [code of conduct](https://thoughtbot.com/open-source-code-of-conduct) while contributing.
## Development
bundle
jekyll serve -w
## Contributing
1. Fork the repo.
2. Make changes.
3. Write a [good commit message](... | 4833c103cb03641cc5ff316eb17fc271b1973f7b | CONTRIBUTING.md | CONTRIBUTING.md | Markdown |
<|file_sep|>original/.github/workflows/ci.yml
on: [push, pull_request, workflow_dispatch]
jobs:
build:
name: "Ruby: ${{ matrix.ruby }} OS: ${{ matrix.os }}"
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, macos-10.15, windows-2019]
# 3.0 is inter... | on: [push, pull_request, workflow_dispatch]
jobs:
build:
name: "Ruby: ${{ matrix.ruby }} OS: ${{ matrix.os }}"
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, macos-10.15, windows-2019]
# 3.0 is interpreted as 3
ruby: [2.2, 2.3, 2.4, 2.5,... | <|file_sep|>original/.github/workflows/ci.yml
on: [push, pull_request, workflow_dispatch]
jobs:
build:
name: "Ruby: ${{ matrix.ruby }} OS: ${{ matrix.os }}"
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, macos-10.15, windows-2019]
# 3.0 is inter... | 19102bb5b402e6724dbd6a6414106b531cf171fa | .github/workflows/ci.yml | .github/workflows/ci.yml | YAML |
<|file_sep|>original/scripts/runme.bat
<|file_sep|>current/scripts/runme.bat
<|file_sep|>updated/scripts/runme.bat | @echo off
.\choosenim\choosenim.exe stable --firstInstall
for /f "delims=" %%a in ('.\choosenim\choosenim.exe --getNimbleBin') do @set NIMBLEBIN=%%a
copy .\choosenim\choosenim.exe "%NIMBLEBIN%\choosenim.exe"
echo Work finished.
echo Now you must ensure that the Nimble bin dir is in your PATH:
... | <|file_sep|>original/scripts/runme.bat
<|file_sep|>current/scripts/runme.bat
<|file_sep|>updated/scripts/runme.bat
@echo off
.\choosenim\choosenim.exe stable --firstInstall
for /f "delims=" %%a in ('.\choosenim\choosenim.exe --getNimbleBin') do @set NIMBLEBIN=%%a
copy .\choosenim\choosenim.exe "%NIMBLEBIN%\choosenim... | e7cd56bf8a732e3a7149c31ef4a6703ad31440e2 | scripts/runme.bat | scripts/runme.bat | Batchfile |
<|file_sep|>src/DBConnect/Network.php.diff
original:
updated:
private string $sslMode = '';
private string $sslKey = '';
private string $sslCert = '';
private string $sslRootCert = '';
<|file_sep|>src/DBConnect/Network.php.diff
original:
public function getPort(): int
updated:
public function... | $this->port = $port;
return $this;
}
/**
*
*/
public function setSslMode(string $sslMode): static
{
$this->sslMode = $sslMode;
return $this;
}
/**
*/
public function setSslKey(string $sslKey): static
{
$this->sslKey = $sslKey;
| <|file_sep|>src/DBConnect/Network.php.diff
original:
updated:
private string $sslMode = '';
private string $sslKey = '';
private string $sslCert = '';
private string $sslRootCert = '';
<|file_sep|>src/DBConnect/Network.php.diff
original:
public function getPort(): int
updated:
public function... | 2c9a0567b5606d356857bb7db2746a688ab42bfc | src/DBConnect/Network.php | src/DBConnect/Network.php | PHP |
<|file_sep|>src/atom10/feed.php.diff
original:
'type' => 'atomTextConstruct',
updated:
'contentConstructor' => 'ComplexPie\\Atom10\\Content::from_text_construct',
<|file_sep|>src/atom10/feed.php.diff
original:
'type' => 'atomTextConstruct',
updated:
'contentConstructor' =... | public function __invoke($dom, $name)
{
if (isset(self::$elements[$name]))
{
return $this->elements_table($dom, $name);
}
elseif (isset(self::$aliases[$name]))
{
return $this->__invoke($dom, self::$aliases[$name]);
}
}
private ... | <|file_sep|>src/atom10/feed.php.diff
original:
'type' => 'atomTextConstruct',
updated:
'contentConstructor' => 'ComplexPie\\Atom10\\Content::from_text_construct',
<|file_sep|>src/atom10/feed.php.diff
original:
'type' => 'atomTextConstruct',
updated:
'contentConstructor' =... | 66fed655a9b41f6e270acec19fe66f787049063b | src/atom10/feed.php | src/atom10/feed.php | PHP |
<|file_sep|>original/src/Resources/config/routing.yml
# This file is part of the Kreta package.
#
# (c) BeΓ±at EspiΓ±a <benatespina@gmail.com>
# (c) Gorka Laucirica <gorka.lauzirika@gmail.com>
#
# For the full copyright and license information, please view the LICENSE
# file that was distributed with this source code.
n... | # This file is part of the Kreta package.
#
# (c) BeΓ±at EspiΓ±a <benatespina@gmail.com>
# (c) Gorka Laucirica <gorka.lauzirika@gmail.com>
#
# For the full copyright and license information, please view the LICENSE
# file that was distributed with this source code.
nelmio_api_doc_index:
path: /
defaults: { _cont... | <|file_sep|>original/src/Resources/config/routing.yml
# This file is part of the Kreta package.
#
# (c) BeΓ±at EspiΓ±a <benatespina@gmail.com>
# (c) Gorka Laucirica <gorka.lauzirika@gmail.com>
#
# For the full copyright and license information, please view the LICENSE
# file that was distributed with this source code.
n... | ccb3c17fcff271af9db64e9c9794c3b34ca24a41 | src/Resources/config/routing.yml | src/Resources/config/routing.yml | YAML |
<|file_sep|>original/src/style/Textpattern/sass/core/_base.scss
*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section,
summary {
display: block;
}
/**
* Address `[hidden]` styling not present in IE 8/9/10.
* Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
*/
<... | */
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
display: block;
}
/**
* Address `[hidden]` styling not present in IE 8/9/10.
* Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
*/ | <|file_sep|>original/src/style/Textpattern/sass/core/_base.scss
*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section,
summary {
display: block;
}
/**
* Address `[hidden]` styling not present in IE 8/9/10.
* Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
*/
<... | 50536a89563c1f53e5e6b1e60721358158321351 | src/style/Textpattern/sass/core/_base.scss | src/style/Textpattern/sass/core/_base.scss | SCSS |
<|file_sep|>original/requirements/production.txt
-r base.txt
ec2_tag_conditional==0.1.2
gunicorn==19.9.0
django-redis
hiredis
<|file_sep|>current/requirements/production.txt
-r base.txt
ec2_tag_conditional==0.1.2
gunicorn==19.9.0
django-redis
hiredis
<|file_sep|>updated/requirements/production.txt | -r base.txt
ec2_tag_conditional==0.1.2
gunicorn==20.0.0
django-redis
hiredis | <|file_sep|>original/requirements/production.txt
-r base.txt
ec2_tag_conditional==0.1.2
gunicorn==19.9.0
django-redis
hiredis
<|file_sep|>current/requirements/production.txt
-r base.txt
ec2_tag_conditional==0.1.2
gunicorn==19.9.0
django-redis
hiredis
<|file_sep|>updated/requirements/production.txt
-r base.txt
ec2_ta... | 7a944b0f4404f6f3325b69baf03417bf34d070cf | requirements/production.txt | requirements/production.txt | Text |
<|file_sep|>original/collects/frtime/develop-frtime.rkt
<|file_sep|>current/collects/frtime/develop-frtime.rkt
<|file_sep|>updated/collects/frtime/develop-frtime.rkt | #lang racket
(require setup/link)
#|Update this to point to your racket installation directory|#
(define install-path "C:/Program Files/Racket/collects/frtime")
#|Update this to point to your github clone|#
(define dev-path "C:/Users/user/Documents/GitHub/racket/collects/frtime")
#|Then call one of these ... | <|file_sep|>original/collects/frtime/develop-frtime.rkt
<|file_sep|>current/collects/frtime/develop-frtime.rkt
<|file_sep|>updated/collects/frtime/develop-frtime.rkt
#lang racket
(require setup/link)
#|Update this to point to your racket installation directory|#
(define install-path "C:/Program Files/Racket/co... | c13cbf448f2d2d5db2e18c9646f52168c5cdcd35 | collects/frtime/develop-frtime.rkt | collects/frtime/develop-frtime.rkt | Racket |
<|file_sep|>original/composer.json
{
"name": "hari/assets",
"type": "pw-module",
"description": "Assets module help you to move your `index.php` file of Process Wire CMS to any part you like.",
"keywords": [ "structure", "assets", "processwire"],
"homepage": "https://github.com/harikt/Assets",
"... | {
"name": "hari/assets",
"type": "pw-module",
"description": "Assets module help you to move your `index.php` file of Process Wire CMS to any part you like.",
"keywords": [ "structure", "assets", "processwire"],
"homepage": "https://github.com/harikt/Assets",
"license": "BSD-2-Clause",
"auth... | <|file_sep|>original/composer.json
{
"name": "hari/assets",
"type": "pw-module",
"description": "Assets module help you to move your `index.php` file of Process Wire CMS to any part you like.",
"keywords": [ "structure", "assets", "processwire"],
"homepage": "https://github.com/harikt/Assets",
"... | 5e81fbbfc28c456eb673d910cb0d74bea7063657 | composer.json | composer.json | JSON |
<|file_sep|>DCExplosion.podspec.json.diff
original:
"version": "1.0",
updated:
"version": "1.1",
<|file_sep|>original/DCExplosion.podspec.json
"name": "DCExplosion",
"version": "1.0",
"summary": "Allow you remove a subview with explode animation",
"homepage": "https://github.com/Tangdixi/DCExplosion",
"li... | "name": "DCExplosion",
"version": "1.1",
"summary": "Allow you remove a subview with explode animation",
"homepage": "https://github.com/Tangdixi/DCExplosion",
"license": {
"type": "MIT",
"text": "The DCExplosion use the MIT license"
},
"authors": {
"Tangdixi": "Tangdixi@gmail.com"
},
"pla... | <|file_sep|>DCExplosion.podspec.json.diff
original:
"version": "1.0",
updated:
"version": "1.1",
<|file_sep|>original/DCExplosion.podspec.json
"name": "DCExplosion",
"version": "1.0",
"summary": "Allow you remove a subview with explode animation",
"homepage": "https://github.com/Tangdixi/DCExplosion",
"li... | 2909883d20e296b6620e484ff5935b41dd3738d6 | DCExplosion.podspec.json | DCExplosion.podspec.json | JSON |
<|file_sep|>wasm/CMakeLists.txt.diff
original:
updated:
if(NOT LLD_BUILT_STANDALONE)
set(tablegen_deps intrinsics_gen)
endif()
<|file_sep|>original/wasm/CMakeLists.txt
MarkLive.cpp
OutputSections.cpp
SymbolTable.cpp
Symbols.cpp
Writer.cpp
WriterUtils.cpp
LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
B... | Writer.cpp
WriterUtils.cpp
LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
BinaryFormat
Core
Demangle
LTO
MC
Object
Option
Support
LINK_LIBS
lldCommon
DEPENDS
WasmOptionsTableGen
${tablegen_deps}
) | <|file_sep|>wasm/CMakeLists.txt.diff
original:
updated:
if(NOT LLD_BUILT_STANDALONE)
set(tablegen_deps intrinsics_gen)
endif()
<|file_sep|>original/wasm/CMakeLists.txt
MarkLive.cpp
OutputSections.cpp
SymbolTable.cpp
Symbols.cpp
Writer.cpp
WriterUtils.cpp
LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
B... | fb960bd437461c9cda7f8c2bb5311b438092f251 | wasm/CMakeLists.txt | wasm/CMakeLists.txt | Text |
<|file_sep|>original/.travis.yml
language: go
sudo: false
go:
- 1.6
- tip
install:
# Install our tracked dependencies
- go get github.com/Masterminds/glide
- glide install
script:
- go test $(glide novendor)
- make
matrix:
allow_failures:
- go: tip
<|file_sep|>current/.travis.yml
language: go
... | language: go
sudo: false
go:
- 1.6
- tip
install:
# Install our tracked dependencies
- go get github.com/Masterminds/glide
- glide install
script:
- go vet $(glide novendor)
- go test $(glide novendor)
- make
matrix:
allow_failures:
- go: tip | <|file_sep|>original/.travis.yml
language: go
sudo: false
go:
- 1.6
- tip
install:
# Install our tracked dependencies
- go get github.com/Masterminds/glide
- glide install
script:
- go test $(glide novendor)
- make
matrix:
allow_failures:
- go: tip
<|file_sep|>current/.travis.yml
language: go
... | e3377713bcc64929e22dda18574464d65cc26504 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/lib/cb/models/cb_application_external.rb
# API Request parameters
attr_accessor :job_did, :email, :site_id, :ipath
# Response from External Application API
# Populated after application submission.
attr_accessor :apply_url
def initialize(args = {})
@job_did ... | # API Request parameters
attr_accessor :job_did, :email, :site_id, :ipath
# Response from External Application API
# Populated after application submission.
attr_accessor :apply_url
def initialize(args = {})
@job_did = args[:job_did] || ''
@email = args[:email] ... | <|file_sep|>original/lib/cb/models/cb_application_external.rb
# API Request parameters
attr_accessor :job_did, :email, :site_id, :ipath
# Response from External Application API
# Populated after application submission.
attr_accessor :apply_url
def initialize(args = {})
@job_did ... | ce0cd2b3f7331acf526954a7ef41ecc85e1a2f6f | lib/cb/models/cb_application_external.rb | lib/cb/models/cb_application_external.rb | Ruby |
<|file_sep|>capstone-project/src/main/angular-webapp/src/app/toast/toast.service.spec.ts.diff
original:
updated:
let htmlElement;
let model;
<|file_sep|>capstone-project/src/main/angular-webapp/src/app/toast/toast.service.spec.ts.diff
original:
updated:
htmlElement = document.createElement("div");
model =... |
service.showToast(htmlElement, model);
expect(service['toastInstance'].show).toHaveBeenCalled();
});
it('Should show toast when toastInstance is not defined', () => {
// Create a Toast instance so we can spy on its show method
const toast = new Toast();
// Use the instance we created to init... | <|file_sep|>capstone-project/src/main/angular-webapp/src/app/toast/toast.service.spec.ts.diff
original:
updated:
let htmlElement;
let model;
<|file_sep|>capstone-project/src/main/angular-webapp/src/app/toast/toast.service.spec.ts.diff
original:
updated:
htmlElement = document.createElement("div");
model =... | 5b4e2c13f8199e6d1eead37c8712b27588d5e38d | capstone-project/src/main/angular-webapp/src/app/toast/toast.service.spec.ts | capstone-project/src/main/angular-webapp/src/app/toast/toast.service.spec.ts | TypeScript |
<|file_sep|>packages/mi/minitypeset-opengl.yaml.diff
original:
hash: 679c16468fb03c7251acc97898f6fcebe06bbb549d0d2a272742370873781309
updated:
hash: b65823651b4cbf5d59f35b05b52f611cf8f1e61f05c90c0aadddd8de95536e81
<|file_sep|>packages/mi/minitypeset-opengl.yaml.diff
original:
updated:
- 0.3.0.0
<|file_sep|>original/pa... | basic-deps:
OpenGL: ! '>=3'
base: ! '>=4 && <5'
filepath: -any
containers: ! '>=0.5'
stb-truetype: ! '>=0.1.4'
all-versions:
- 0.1.0.0
- 0.2.0.0
- 0.2.0.1
- 0.3.0.0
author: Balazs Komuves
latest: 0.3.0.0
description-type: haddock
description: |-
This is a library to render text with OpenGL.
TrueType (and ... | <|file_sep|>packages/mi/minitypeset-opengl.yaml.diff
original:
hash: 679c16468fb03c7251acc97898f6fcebe06bbb549d0d2a272742370873781309
updated:
hash: b65823651b4cbf5d59f35b05b52f611cf8f1e61f05c90c0aadddd8de95536e81
<|file_sep|>packages/mi/minitypeset-opengl.yaml.diff
original:
updated:
- 0.3.0.0
<|file_sep|>original/pa... | 8811346f0a4949c9e2c8276ac25e20b9adafc9db | packages/mi/minitypeset-opengl.yaml | packages/mi/minitypeset-opengl.yaml | YAML |
<|file_sep|>original/requirements/dev.txt
-r test.txt
autopep8==1.3.1
bumpversion==0.5.3
docker-compose==1.12.0
elpy==1.14.1
epc==0.0.5
flake8==3.3.0
grip==4.3.2
importmagic==0.1.7
ipdb==0.10.2
ipython==5.3.0
ipython-genutils==0.2.0
jedi==0.10.2
pre-commit==0.13.6
pylint==1.6.5
yapf==0.16.1
<|file_sep|>current/require... | -r test.txt
autopep8==1.3.1
bumpversion==0.5.3
docker-compose==1.12.0
elpy==1.14.1
epc==0.0.5
flake8==3.3.0
grip==4.3.2
importmagic==0.1.7
ipdb==0.10.3
ipython==5.3.0
ipython-genutils==0.2.0
jedi==0.10.2
pre-commit==0.13.6
pylint==1.6.5
yapf==0.16.1 | <|file_sep|>original/requirements/dev.txt
-r test.txt
autopep8==1.3.1
bumpversion==0.5.3
docker-compose==1.12.0
elpy==1.14.1
epc==0.0.5
flake8==3.3.0
grip==4.3.2
importmagic==0.1.7
ipdb==0.10.2
ipython==5.3.0
ipython-genutils==0.2.0
jedi==0.10.2
pre-commit==0.13.6
pylint==1.6.5
yapf==0.16.1
<|file_sep|>current/require... | 1606f4cab4db660c0b5f2fb75986c9cb56f9f5e0 | requirements/dev.txt | requirements/dev.txt | Text |
<|file_sep|>original/app/helpers/hub/request_helper.rb
module Hub
module RequestHelper
def wechat_request?
request.user_agent.downcase.match(/micromessenger/)
rescue
false
end
def android_browser_request?
ua = request.user_agent.downcase
ua.match(/android/) && !ua.start_with?(... | module Hub
module RequestHelper
def android_browser_request?
ua = request.user_agent.downcase
ua.match(/android/) && !ua.start_with?('dalvik')
rescue
false
end
def android_app_request?
request.user_agent.downcase.start_with?('dalvik')
rescue
false
end
def ip... | <|file_sep|>original/app/helpers/hub/request_helper.rb
module Hub
module RequestHelper
def wechat_request?
request.user_agent.downcase.match(/micromessenger/)
rescue
false
end
def android_browser_request?
ua = request.user_agent.downcase
ua.match(/android/) && !ua.start_with?(... | 691e4a1ddd0f76d2aff73ce2b4db424eda826572 | app/helpers/hub/request_helper.rb | app/helpers/hub/request_helper.rb | Ruby |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.2
- jruby
notifications:
email: false
services:
- elasticsearch
before_install:
- gem install bundler
before_script:
- ln -s database.yml.example config/database.yml
- bundle exec rake secret:replace
- bundle exec rake db:migrate
script:
<|f... | language: ruby
rvm:
- 2.2
- jruby
matrix:
allow_failures:
- rvm: jruby
notifications:
email: false
services:
- elasticsearch
before_install:
- gem install bundler
before_script:
- ln -s database.yml.example config/database.yml | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.2
- jruby
notifications:
email: false
services:
- elasticsearch
before_install:
- gem install bundler
before_script:
- ln -s database.yml.example config/database.yml
- bundle exec rake secret:replace
- bundle exec rake db:migrate
script:
<|f... | fd43d09494b639c84300b28c761aac4714bf421f | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.vscode/tasks.json
<|file_sep|>current/.vscode/tasks.json
<|file_sep|>updated/.vscode/tasks.json | {
"version": "2.0.0",
"tasks": [
{
"type": "shell",
"label": "cargo build",
"command": "cargo",
"args": [
"build"
],
"problemMatcher": [
"$rustc"
],
"group": {
... | <|file_sep|>original/.vscode/tasks.json
<|file_sep|>current/.vscode/tasks.json
<|file_sep|>updated/.vscode/tasks.json
{
"version": "2.0.0",
"tasks": [
{
"type": "shell",
"label": "cargo build",
"command": "cargo",
"args": [
"build"
... | 2db6a60fe86ff19124c29dcddf1e010b20d6c080 | .vscode/tasks.json | .vscode/tasks.json | JSON |
<|file_sep|>original/project.clj
(defproject onyx-app/lein-template "0.10.0.0-beta9"
:description "Onyx Leiningen application template"
:url "https://github.com/onyx-platform/onyx-template"
:license {:name "MIT License"
:url "http://choosealicense.com/licenses/mit/#"}
:repositories {"snapshots" {:ur... | (defproject onyx-app/lein-template "0.10.0.0-SNAPSHOT"
:description "Onyx Leiningen application template"
:url "https://github.com/onyx-platform/onyx-template"
:license {:name "MIT License"
:url "http://choosealicense.com/licenses/mit/#"}
:repositories {"snapshots" {:url "https://clojars.org/repo"
... | <|file_sep|>original/project.clj
(defproject onyx-app/lein-template "0.10.0.0-beta9"
:description "Onyx Leiningen application template"
:url "https://github.com/onyx-platform/onyx-template"
:license {:name "MIT License"
:url "http://choosealicense.com/licenses/mit/#"}
:repositories {"snapshots" {:ur... | 7a5bf872679826feeee6d51ea1dff1e1cea62dee | project.clj | project.clj | Clojure |
<|file_sep|>original/index.md
---
title: Home
---
* [Computing sin & cos in hardware with synthesisable Verilog](/pages/cordic.html)
* [The malloc4 algorithm for memory allocation](/pages/malloc4.html)
<|file_sep|>current/index.md
---
title: Home
---
* [Computing sin & cos in hardware with synthesisable Verilog](/pag... | ---
title: Home
---
* [Computing sin & cos in hardware with synthesisable Verilog](/pages/cordic.html)
* [The malloc4 algorithm for memory allocation](/pages/malloc4.html)
* [A simple SPI driver with configurable timing parameters.](/pages/spi.html) | <|file_sep|>original/index.md
---
title: Home
---
* [Computing sin & cos in hardware with synthesisable Verilog](/pages/cordic.html)
* [The malloc4 algorithm for memory allocation](/pages/malloc4.html)
<|file_sep|>current/index.md
---
title: Home
---
* [Computing sin & cos in hardware with synthesisable Verilog](/pag... | 04376f8477ff1ec7b15f03ea290a8376de66b67c | index.md | index.md | Markdown |
<|file_sep|>original/deployment/tower/apply_patches.yml
<|file_sep|>current/deployment/tower/apply_patches.yml
<|file_sep|>updated/deployment/tower/apply_patches.yml | ---
# This playbook will patch the application servers behind the load balancer
# one at a time.
- hosts: appservers
serial: 1
# These tasks run before applying the update to each host
pre_tasks:
- name: pull the server from the load balancer
haproxy: 'state=disabled backend=app host={{ inventory_hostname }... | <|file_sep|>original/deployment/tower/apply_patches.yml
<|file_sep|>current/deployment/tower/apply_patches.yml
<|file_sep|>updated/deployment/tower/apply_patches.yml
---
# This playbook will patch the application servers behind the load balancer
# one at a time.
- hosts: appservers
serial: 1
# These tasks run bef... | 8fd941bd4bf236e2dda14980e95830082e3e575f | deployment/tower/apply_patches.yml | deployment/tower/apply_patches.yml | YAML |
<|file_sep|>parser_tests.c.diff
original:
tkl.append(make_token(tok_number, NULL, 0.0, 42);
updated:
struct token *tk = make_token(tok_number, NULL, 0.0, 42);
append_token_list(tkl, tk);
<|file_sep|>original/parser_tests.c
int number) {
struct token *tk = malloc(sizeof(struct token));
tk->ty... | struct token *tk = malloc(sizeof(struct token));
tk->type = tk_type;
if (tk_type == tok_dbl) {
tk->value.dbl = dbl;
} else if (tk_type == tok_number) {
tk->value.num = number;
} else {
tk->value.string = str;
}
return tk;
}
void test_parse_number() {
struct token... | <|file_sep|>parser_tests.c.diff
original:
tkl.append(make_token(tok_number, NULL, 0.0, 42);
updated:
struct token *tk = make_token(tok_number, NULL, 0.0, 42);
append_token_list(tkl, tk);
<|file_sep|>original/parser_tests.c
int number) {
struct token *tk = malloc(sizeof(struct token));
tk->ty... | ab42abde834a306787fee9b66f6e482501395e3b | parser_tests.c | parser_tests.c | C |
<|file_sep|>original/spec/dummy/app/views/layouts/application.html.erb
<!DOCTYPE html>
<html>
<head>
<title>Dummy</title>
<%= stylesheet_link_tag "application", :media => "all" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
</head>
<body>
<p class="notice"><%= notice %></p>
<p class="al... | <!DOCTYPE html>
<html>
<head>
<title>Dummy</title>
<%= stylesheet_link_tag "application", :media => "all" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
</head>
<body>
<p class="notice"><%= notice %></p>
<p class="alert"><%= alert %></p>
<%= link_to('Login', new_user_session_path) %>
<%... | <|file_sep|>original/spec/dummy/app/views/layouts/application.html.erb
<!DOCTYPE html>
<html>
<head>
<title>Dummy</title>
<%= stylesheet_link_tag "application", :media => "all" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
</head>
<body>
<p class="notice"><%= notice %></p>
<p class="al... | 4e5dadcb220deef9ed92fcef70a20e487c051fa1 | spec/dummy/app/views/layouts/application.html.erb | spec/dummy/app/views/layouts/application.html.erb | HTML+ERB |
<|file_sep|>original/.rubocop.yml
AllCops:
RunRailsCops: true
Exclude:
- 'bin/*'
- 'vendor/**/*'
Documentation:
Enabled: false
Lint/HandleExceptions:
Exclude:
- Rakefile
Metrics/LineLength:
Max: 120
Style/RescueModifier:
Enabled: false
<|file_sep|>current/.rubocop.yml
AllCops:
RunRailsCops... | AllCops:
RunRailsCops: true
Exclude:
- 'bin/*'
- 'db/*'
- 'vendor/**/*'
Documentation:
Enabled: false
Lint/HandleExceptions:
Exclude:
- Rakefile
Metrics/LineLength:
Max: 120
Style/RescueModifier:
Enabled: false | <|file_sep|>original/.rubocop.yml
AllCops:
RunRailsCops: true
Exclude:
- 'bin/*'
- 'vendor/**/*'
Documentation:
Enabled: false
Lint/HandleExceptions:
Exclude:
- Rakefile
Metrics/LineLength:
Max: 120
Style/RescueModifier:
Enabled: false
<|file_sep|>current/.rubocop.yml
AllCops:
RunRailsCops... | 108af80991ec7b02b20c40a0cf1afe5135ae2705 | .rubocop.yml | .rubocop.yml | YAML |
<|file_sep|>original/composer.json
{
"name": "linio/util",
"description": "Generic component that provides many helper classes, such as JSON parsing, conversion tools, data structures, etc.",
"keywords": ["linio", "util"],
"type": "library",
"license": "BSD-3-Clause",
"require": {
"php":... | {
"name": "linio/util",
"description": "Generic component that provides many helper classes, such as JSON parsing, conversion tools, data structures, etc.",
"keywords": ["linio", "util"],
"type": "library",
"license": "BSD-3-Clause",
"require": {
"php": ">=7.0"
},
"require-dev": ... | <|file_sep|>original/composer.json
{
"name": "linio/util",
"description": "Generic component that provides many helper classes, such as JSON parsing, conversion tools, data structures, etc.",
"keywords": ["linio", "util"],
"type": "library",
"license": "BSD-3-Clause",
"require": {
"php":... | e0ae8f3eaa22775859b1b503e7759d6f471850d6 | composer.json | composer.json | JSON |
<|file_sep|>original/metadata/de.spiritcroc.darkcroc.substratum.yml
Categories:
- Theming
License: Apache-2.0
SourceCode: https://github.com/SpiritCroc/DarkCroc-Android-theme
IssueTracker: https://github.com/SpiritCroc/DarkCroc-Android-theme/issues
Changelog: https://github.com/SpiritCroc/DarkCroc-Android-theme/relea... | Categories:
- Theming
License: Apache-2.0
SourceCode: https://github.com/SpiritCroc/DarkCroc-Android-theme
IssueTracker: https://github.com/SpiritCroc/DarkCroc-Android-theme/issues
Changelog: https://github.com/SpiritCroc/DarkCroc-Android-theme/releases
AutoName: DarkCroc Theme
Summary: A dark Substratum theme targe... | <|file_sep|>original/metadata/de.spiritcroc.darkcroc.substratum.yml
Categories:
- Theming
License: Apache-2.0
SourceCode: https://github.com/SpiritCroc/DarkCroc-Android-theme
IssueTracker: https://github.com/SpiritCroc/DarkCroc-Android-theme/issues
Changelog: https://github.com/SpiritCroc/DarkCroc-Android-theme/relea... | c4d79899bf93d1400680a9de1d5780f36eb01c2b | metadata/de.spiritcroc.darkcroc.substratum.yml | metadata/de.spiritcroc.darkcroc.substratum.yml | YAML |
<|file_sep|>mediaman/management/commands/generate_thumbs.py.diff
original:
updated:
#import ImageFile
from PIL import ImageFile
<|file_sep|>mediaman/management/commands/generate_thumbs.py.diff
original:
updated:
ImageFile.MAXBLOCK = 1024 * 1024 * 10 # default is 64k, fixes "Suspension not allowed here" error... |
class Command(BaseCommand):
help = "Generate thumbnails for Artefact Representations"
def handle(self, *args, **options):
unbuffered = os.fdopen(self.stdout.fileno(), 'w', 0)
self.stdout = unbuffered
ImageFile.MAXBLOCK = 1024 * 1024 * 10 # default is 64k, fixes "Suspension not allowe... | <|file_sep|>mediaman/management/commands/generate_thumbs.py.diff
original:
updated:
#import ImageFile
from PIL import ImageFile
<|file_sep|>mediaman/management/commands/generate_thumbs.py.diff
original:
updated:
ImageFile.MAXBLOCK = 1024 * 1024 * 10 # default is 64k, fixes "Suspension not allowed here" error... | bdeb1196025c8f982390f0f298fa8b16b1883bce | mediaman/management/commands/generate_thumbs.py | mediaman/management/commands/generate_thumbs.py | Python |
<|file_sep|>uranus_dp/include/uranus_dp/eigen_helper.h.diff
original:
updated:
#include "ros/ros.h"
<|file_sep|>original/uranus_dp/include/uranus_dp/eigen_helper.h
#ifndef EIGEN_HELPER_H
#define EIGEN_HELPER_H
#include <Eigen/Dense>
template<typename Derived>
inline bool isFucked(const Eigen::MatrixBase<Derived>& x)... |
#include "ros/ros.h"
#include <Eigen/Dense>
template<typename Derived>
inline bool isFucked(const Eigen::MatrixBase<Derived>& x)
{
return !((x.array() == x.array())).all() && !( (x - x).array() == (x - x).array()).all();
}
inline Eigen::MatrixXd getMatrixParam(ros::NodeHandle nh, std::string name)
{
XmlRpc::XmlR... | <|file_sep|>uranus_dp/include/uranus_dp/eigen_helper.h.diff
original:
updated:
#include "ros/ros.h"
<|file_sep|>original/uranus_dp/include/uranus_dp/eigen_helper.h
#ifndef EIGEN_HELPER_H
#define EIGEN_HELPER_H
#include <Eigen/Dense>
template<typename Derived>
inline bool isFucked(const Eigen::MatrixBase<Derived>& x)... | 74ce9a97e81b913f26f0353dc0d3e988af99cb5c | uranus_dp/include/uranus_dp/eigen_helper.h | uranus_dp/include/uranus_dp/eigen_helper.h | C |
<|file_sep|>docs/main/GlobalResources.rst.diff
original:
<http://toscawidgets.org/documentation/ToscaWidgets/modules/api.html#jslink>`_
and `CSSLink
<http://toscawidgets.org/documentation/ToscaWidgets/modules/api.html#csslink>`_
ToscaWidgets that are on the `[moksha.global]` entry-point. You can point to
updated:
<htt... | and `Widget` ToscaWidgets that are on the `[moksha.global]` entry-point. You can point to
classes, or instantiated objects.
Installing a Global Resource Widget
-----------------------------------
By default Moksha includes global resources for jQuery, jQuery UI, and the Blueprint CSS framework.
Here is an example of... | <|file_sep|>docs/main/GlobalResources.rst.diff
original:
<http://toscawidgets.org/documentation/ToscaWidgets/modules/api.html#jslink>`_
and `CSSLink
<http://toscawidgets.org/documentation/ToscaWidgets/modules/api.html#csslink>`_
ToscaWidgets that are on the `[moksha.global]` entry-point. You can point to
updated:
<htt... | 617e5fceb6be259857ab4ab7651256ca9b246402 | docs/main/GlobalResources.rst | docs/main/GlobalResources.rst | reStructuredText |
<|file_sep|>original/src/FilterList.js
});
var count = this.props.count;
var inner = '';
if (typeof count !== 'undefined') {
inner = <span className="count">{count}</span>;
}
return (
<li className={className}>
{inner}
... | });
var count = this.props.count;
var inner = '';
if (typeof count !== 'undefined') {
inner = <span className="count">{count}</span>;
}
return (
<li>
<a className={className} onClick={this.onClick}>
{inner}
... | <|file_sep|>original/src/FilterList.js
});
var count = this.props.count;
var inner = '';
if (typeof count !== 'undefined') {
inner = <span className="count">{count}</span>;
}
return (
<li className={className}>
{inner}
... | 2b01341d5bb36f656e96efa03fb26f40291b7690 | src/FilterList.js | src/FilterList.js | JavaScript |
<|file_sep|>original/usr.bin/sockstat/Makefile
# $FreeBSD$
MAINTAINER= des@freebsd.org
SCRIPTS= sockstat.pl
MAN= sockstat.1
.include <bsd.prog.mk>
<|file_sep|>current/usr.bin/sockstat/Makefile
# $FreeBSD$
MAINTAINER= des@freebsd.org
SCRIPTS= sockstat.pl
MAN= sockstat.1
.include <bsd.prog.mk>
<|file_sep|>updated/u... | # $FreeBSD$
SCRIPTS= sockstat.pl
MAN= sockstat.1
.include <bsd.prog.mk> | <|file_sep|>original/usr.bin/sockstat/Makefile
# $FreeBSD$
MAINTAINER= des@freebsd.org
SCRIPTS= sockstat.pl
MAN= sockstat.1
.include <bsd.prog.mk>
<|file_sep|>current/usr.bin/sockstat/Makefile
# $FreeBSD$
MAINTAINER= des@freebsd.org
SCRIPTS= sockstat.pl
MAN= sockstat.1
.include <bsd.prog.mk>
<|file_sep|>updated/u... | 1c6c608da67b0477f52e0ca40ba6c03f378c4420 | usr.bin/sockstat/Makefile | usr.bin/sockstat/Makefile | unknown |
<|file_sep|>original/Casks/openvanilla.rb
cask :v1 => 'openvanilla' do
version '1.0.11'
sha256 '35745a0767e4131efbdcb34459c5a7b44126aa11e73af80310b813bf6efe1bc5'
url "https://app.openvanilla.org/file/openvanilla/OpenVanilla-Installer-Mac-#{version}.zip"
name 'OpenVanilla'
homepage 'http://openvanilla.org/'
... | cask :v1 => 'openvanilla' do
version '1.0.11'
sha256 '35745a0767e4131efbdcb34459c5a7b44126aa11e73af80310b813bf6efe1bc5'
url "https://app.openvanilla.org/file/openvanilla/OpenVanilla-Installer-Mac-#{version}.zip"
name 'OpenVanilla'
homepage 'https://openvanilla.org/'
license :mit
input_method 'OpenVanill... | <|file_sep|>original/Casks/openvanilla.rb
cask :v1 => 'openvanilla' do
version '1.0.11'
sha256 '35745a0767e4131efbdcb34459c5a7b44126aa11e73af80310b813bf6efe1bc5'
url "https://app.openvanilla.org/file/openvanilla/OpenVanilla-Installer-Mac-#{version}.zip"
name 'OpenVanilla'
homepage 'http://openvanilla.org/'
... | 4a08fb1e113978cc0f35dd0b0e55a64375dbd8c5 | Casks/openvanilla.rb | Casks/openvanilla.rb | Ruby |
<|file_sep|>original/cbagent/collectors/libstats/psstats.py
class PSStats(RemoteStats):
METRICS = (
("rss", 1024), # kB -> B
("vsize", 1024),
)
PS_CMD = "ps -eo pid,rss,vsize,comm | " \
"grep {} | grep -v grep | sort -n -k 2 | tail -n 1"
TOP_CMD = "top -b n2 -d1 -p {0} | gr... | class PSStats(RemoteStats):
METRICS = (
("rss", 1024), # kB -> B
("vsize", 1024),
)
PS_CMD = "ps -eo pid,rss,vsize,comm | " \
"grep {} | grep -v grep | sort -n -k 2 | tail -n 1"
TOP_CMD = "top -b n2 -d1 -p {0} | grep ^{0}"
@parallel_task(server_side=True)
def get_s... | <|file_sep|>original/cbagent/collectors/libstats/psstats.py
class PSStats(RemoteStats):
METRICS = (
("rss", 1024), # kB -> B
("vsize", 1024),
)
PS_CMD = "ps -eo pid,rss,vsize,comm | " \
"grep {} | grep -v grep | sort -n -k 2 | tail -n 1"
TOP_CMD = "top -b n2 -d1 -p {0} | gr... | 149c1257f4af4c6962c61e74bddbdddfcc741524 | cbagent/collectors/libstats/psstats.py | cbagent/collectors/libstats/psstats.py | Python |
<|file_sep|>original/osu.Game.Tests/Visual/TestCasePlaybackControl.cs
ο»Ώ// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Graphics;
using osu.Game.Beatmaps;
using osu.Game.Screens.Edit.Compo... | ο»Ώ// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics;
using osu.Game.Beatmaps;
using osu.Game.Screens.Edit.Components;
using osu.Game.Tests.Beatmaps;
using OpenTK;
namespace osu.Game.Tests.Vi... | <|file_sep|>original/osu.Game.Tests/Visual/TestCasePlaybackControl.cs
ο»Ώ// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Graphics;
using osu.Game.Beatmaps;
using osu.Game.Screens.Edit.Compo... | 757bb6911e6e7db4e4cbadaec7bb58858afc9780 | osu.Game.Tests/Visual/TestCasePlaybackControl.cs | osu.Game.Tests/Visual/TestCasePlaybackControl.cs | C# |
<|file_sep|>original/playbooks/cassandra_logs.yml
<|file_sep|>current/playbooks/cassandra_logs.yml
<|file_sep|>updated/playbooks/cassandra_logs.yml | ---
- hosts: kv
vars:
cassandra_home: /opt/apache-cassandra
tasks:
- name: creating a temporary directory
tempfile:
state: directory
register: result
- name: archiving the database logs
archive:
path: "{{ cassandra_home }}/logs"
dest: "{{ result.path }}/{{ inventory_hostname }... | <|file_sep|>original/playbooks/cassandra_logs.yml
<|file_sep|>current/playbooks/cassandra_logs.yml
<|file_sep|>updated/playbooks/cassandra_logs.yml
---
- hosts: kv
vars:
cassandra_home: /opt/apache-cassandra
tasks:
- name: creating a temporary directory
tempfile:
state: directory
register: res... | 69bcba9f83924d1aa82469f42e7b6eb7aff9d5e9 | playbooks/cassandra_logs.yml | playbooks/cassandra_logs.yml | YAML |
<|file_sep|>esbuild/frappe-html.js.diff
original:
content = JSON.stringify(scrub_html_template(content));
updated:
content = scrub_html_template(content);
<|file_sep|>original/esbuild/frappe-html.js
build.onLoad({ filter: /.*/, namespace: "frappe-html" }, (args) => {
let filepath = args.path;
let fil... |
build.onLoad({ filter: /.*/, namespace: "frappe-html" }, (args) => {
let filepath = args.path;
let filename = path.basename(filepath).split(".")[0];
return fs
.readFile(filepath, "utf-8")
.then((content) => {
content = scrub_html_template(content);
return {
contents: `\n\tfrappe.tem... | <|file_sep|>esbuild/frappe-html.js.diff
original:
content = JSON.stringify(scrub_html_template(content));
updated:
content = scrub_html_template(content);
<|file_sep|>original/esbuild/frappe-html.js
build.onLoad({ filter: /.*/, namespace: "frappe-html" }, (args) => {
let filepath = args.path;
let fil... | 17e546f1a58744f7fe2f4e80147f6df2a203a2ee | esbuild/frappe-html.js | esbuild/frappe-html.js | JavaScript |
<|file_sep|>original/src/Libraries/ReactNative/I18nManager.js
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @providesModule I18nManager
* @flow
* @format
*/
'use strict';
type I... | /**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
* @format
*/
'use strict';
type I18nManagerStatus = {
isRTL: boolean,
doLeftAndRightSwapInRTL: boolean,
allowRTL: (allow... | <|file_sep|>original/src/Libraries/ReactNative/I18nManager.js
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @providesModule I18nManager
* @flow
* @format
*/
'use strict';
type I... | 413595ce25477495c7891288eca5c1c249ec83f5 | src/Libraries/ReactNative/I18nManager.js | src/Libraries/ReactNative/I18nManager.js | JavaScript |
<|file_sep|>appveyor.yml.diff
original:
server: https://www.myget.org/F/nfugue/api/v2/package
updated:
<|file_sep|>appveyor.yml.diff
original:
secure: 2gpeKZzqgpyD+Qncx3QJDQSDGg/8yF8otze+AnlOuukzSkd9GO9lpM2Uuhpqkcyg
updated:
secure: Kpo2YYLP/rdpADh2H4iFiL5KVciwSu8j5znuL47rK8XrnycbNxln0f92Bw5x2tBC
<|file_sep|... | assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '$(packageVersion)'
before_build:
- nuget restore
build:
verbosity: minimal
publish_nuget: true
cache:
- packages -> **\packages.config
deploy:
provider: NuGet
api_key:
secure: Kpo2YYLP/rdpADh2H4i... | <|file_sep|>appveyor.yml.diff
original:
server: https://www.myget.org/F/nfugue/api/v2/package
updated:
<|file_sep|>appveyor.yml.diff
original:
secure: 2gpeKZzqgpyD+Qncx3QJDQSDGg/8yF8otze+AnlOuukzSkd9GO9lpM2Uuhpqkcyg
updated:
secure: Kpo2YYLP/rdpADh2H4iFiL5KVciwSu8j5znuL47rK8XrnycbNxln0f92Bw5x2tBC
<|file_sep|... | 69d1d680c308f58c34796a3af72b2557eb843140 | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/requirements-dev.txt
-r requirements.txt
#Required for testing
pytest==4.3.0
flake8==3.7.7
mock==2.0.0
cssselect==1.0.3
watchdog==0.9.0
coverage==4.5.2
coveralls==1.6.0
pytest-cov==2.6.1
hypothesis==4.7.19
git+https://github.com/alphagov/digitalmarketplace-test-utils.git@2.1.2#egg=digitalmarketp... | -r requirements.txt
#Required for testing
pytest==4.3.0
flake8==3.7.7
mock==2.0.0
cssselect==1.0.3
watchdog==0.9.0
coverage==4.5.3
coveralls==1.6.0
pytest-cov==2.6.1
hypothesis==4.7.19
git+https://github.com/alphagov/digitalmarketplace-test-utils.git@2.1.2#egg=digitalmarketplace-test-utils==2.1.2 | <|file_sep|>original/requirements-dev.txt
-r requirements.txt
#Required for testing
pytest==4.3.0
flake8==3.7.7
mock==2.0.0
cssselect==1.0.3
watchdog==0.9.0
coverage==4.5.2
coveralls==1.6.0
pytest-cov==2.6.1
hypothesis==4.7.19
git+https://github.com/alphagov/digitalmarketplace-test-utils.git@2.1.2#egg=digitalmarketp... | 17b56a7be5baf874a5f78e4c9c75701915288574 | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/modules/ruby/spec/classes/ruby_spec.rb
require_relative '../../../../spec_helper'
describe 'ruby', :type => :class do
let(:params) { {'version' => '1.2.3.4.5.6'} }
it do
should contain_package('ruby1.9.1').with({'ensure' => '1.2.3.4.5.6'})
should contain_package('ruby1.9.1-dev').with(... | require_relative '../../../../spec_helper'
describe 'ruby', :type => :class do
let(:params) { {'version' => '1.2.3.4.5.6'} }
it do
should contain_package('ruby1.9.1').with({'ensure' => '1.2.3.4.5.6'})
should contain_package('ruby1.9.1-dev').with({'ensure' => '1.2.3.4.5.6'})
end
end | <|file_sep|>original/modules/ruby/spec/classes/ruby_spec.rb
require_relative '../../../../spec_helper'
describe 'ruby', :type => :class do
let(:params) { {'version' => '1.2.3.4.5.6'} }
it do
should contain_package('ruby1.9.1').with({'ensure' => '1.2.3.4.5.6'})
should contain_package('ruby1.9.1-dev').with(... | 652deed7d6996c8c87c1acfe21f8f8a0cfc1b0b1 | modules/ruby/spec/classes/ruby_spec.rb | modules/ruby/spec/classes/ruby_spec.rb | Ruby |
<|file_sep|>original/src/main/java/uk/gov/register/filters/ContentSecurityPolicyFilter.java
package uk.gov.register.filters;
import com.google.common.net.HttpHeaders;
import javax.ws.rs.container.ContainerRequestContext;
import javax.ws.rs.container.ContainerResponseContext;
import javax.ws.rs.container.ContainerResp... | package uk.gov.register.filters;
import com.google.common.net.HttpHeaders;
import javax.ws.rs.container.ContainerRequestContext;
import javax.ws.rs.container.ContainerResponseContext;
import javax.ws.rs.container.ContainerResponseFilter;
import javax.ws.rs.ext.Provider;
import java.io.IOException;
@Provider
public c... | <|file_sep|>original/src/main/java/uk/gov/register/filters/ContentSecurityPolicyFilter.java
package uk.gov.register.filters;
import com.google.common.net.HttpHeaders;
import javax.ws.rs.container.ContainerRequestContext;
import javax.ws.rs.container.ContainerResponseContext;
import javax.ws.rs.container.ContainerResp... | d6d33e9928971b87c0143a3e9741e7d3d05e337a | src/main/java/uk/gov/register/filters/ContentSecurityPolicyFilter.java | src/main/java/uk/gov/register/filters/ContentSecurityPolicyFilter.java | Java |
<|file_sep|>Plafile.yml.diff
original:
- python setup.py bdist bdist_egg sdist upload
updated:
- =distribute
<|file_sep|>original/Plafile.yml
release[version]:
- git status -s | egrep -c "^\s?[ADMR]" | grep -q 0
- git checkout -b release/%version%
- echo "__version__ = \"%version%\"" > pla/version.py
- git ... | release[version]:
- git status -s | egrep -c "^\s?[ADMR]" | grep -q 0
- git checkout -b release/%version%
- echo "__version__ = \"%version%\"" > pla/version.py
- git add pla/version.py
- git commit -m "Tagging release v%version%"
- git tag %version%
- git push origin %version%
- =distribute
- git chec... | <|file_sep|>Plafile.yml.diff
original:
- python setup.py bdist bdist_egg sdist upload
updated:
- =distribute
<|file_sep|>original/Plafile.yml
release[version]:
- git status -s | egrep -c "^\s?[ADMR]" | grep -q 0
- git checkout -b release/%version%
- echo "__version__ = \"%version%\"" > pla/version.py
- git ... | ef85f4c4a75302487c28621af9f29b0cfa588c9f | Plafile.yml | Plafile.yml | YAML |
<|file_sep|>tasks/addBanner.js.diff
original:
let subDirectory = directory + files[i] + '/';
updated:
const subDirectory = directory + files[i] + '/';
<|file_sep|>tasks/addBanner.js.diff
original:
let options = {
banner: './tasks/banner.tmpl',
updated:
con... | let stat = fs.statSync(directory + files[i]);
if (stat.isDirectory()) {
const subDirectory = directory + files[i] + '/';
appendBanner(subDirectory);
} else if (path.extname(files[i]) === '.js') {
const options = {
template: './tasks/banner.tmp... | <|file_sep|>tasks/addBanner.js.diff
original:
let subDirectory = directory + files[i] + '/';
updated:
const subDirectory = directory + files[i] + '/';
<|file_sep|>tasks/addBanner.js.diff
original:
let options = {
banner: './tasks/banner.tmpl',
updated:
con... | 53324d7433b663423ce3672b0c4808e17a174919 | tasks/addBanner.js | tasks/addBanner.js | JavaScript |
<|file_sep|>original/app/src/main/AndroidManifest.xml
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/Theme.App">
<activity
android:name=".HomeActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
and... | android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/Theme.App">
<activity
android:name=".HomeActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:label="@string/app_name"
android:them... | <|file_sep|>original/app/src/main/AndroidManifest.xml
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/Theme.App">
<activity
android:name=".HomeActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
and... | d1e112c62e2cdeff8ad455fc8dd54d90db202f44 | app/src/main/AndroidManifest.xml | app/src/main/AndroidManifest.xml | XML |
<|file_sep|>original/.github/workflows/test.yml
with:
submodules: recursive
- name: Checkout vn3d
uses: actions/checkout@v2
with:
repository: shamazmazum/vn3d
path: vn3d
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v1
... | with:
submodules: recursive
- name: Checkout vn3d
uses: actions/checkout@v2
with:
repository: shamazmazum/vn3d
path: vn3d
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v1
with:
version: "13.0"
dire... | <|file_sep|>original/.github/workflows/test.yml
with:
submodules: recursive
- name: Checkout vn3d
uses: actions/checkout@v2
with:
repository: shamazmazum/vn3d
path: vn3d
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v1
... | dbca1ec57f9ff59cd327863f73a6ac6307360355 | .github/workflows/test.yml | .github/workflows/test.yml | YAML |
<|file_sep|>original/sli/acceptance-tests/test/features/bulk_extract/features/bulk_extract_sea_ingest.feature
Feature: As an bulk extract user, I want to be able to get the state public entities
Scenario: As an bulk extract user, I want to initialize my database with test data.
Given I am using local data store
... | Feature: As an bulk extract user, I want to be able to get the state public entities
Scenario: As an bulk extract user, I want to initialize my database with test data.
Given I am using local data store
And I am using preconfigured Ingestion Landing Zone for "Midgar-Daybreak"
And I post "SEAFullDataset.zip... | <|file_sep|>original/sli/acceptance-tests/test/features/bulk_extract/features/bulk_extract_sea_ingest.feature
Feature: As an bulk extract user, I want to be able to get the state public entities
Scenario: As an bulk extract user, I want to initialize my database with test data.
Given I am using local data store
... | 08f30eb6d366f1b9f45d6b0f2e347ee9400b02c9 | sli/acceptance-tests/test/features/bulk_extract/features/bulk_extract_sea_ingest.feature | sli/acceptance-tests/test/features/bulk_extract/features/bulk_extract_sea_ingest.feature | Cucumber |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.3
script: bundle exec rspec
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.9.3
script: bundle exec rspec
<|file_sep|>updated/.travis.yml | language: ruby
rvm:
- 1.9.3
before_script:
- psql -c 'create database currencyja;' -U postgres
script: bundle exec rspec | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.3
script: bundle exec rspec
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.9.3
script: bundle exec rspec
<|file_sep|>updated/.travis.yml
language: ruby
rvm:
- 1.9.3
before_script:
- psql -c 'create database currencyja;' -U postgres
script: bund... | 1a4f09a0f1e93892798adbadcb59da10fa75df34 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/tests/test_replwrap.py
try:
py.run_command("for a in range(3):")
except ValueError:
pass
else:
assert False, "Didn't raise ValueError for incorrect input"
# Check that the REPL was reset (SIGINT) after the incomplete input
... | try:
py.run_command("for a in range(3):")
except ValueError:
pass
else:
assert False, "Didn't raise ValueError for incorrect input"
# Check that the REPL was reset (SIGINT) after the incomplete input
res = py.run_command("for a in range(3):\n ... | <|file_sep|>original/tests/test_replwrap.py
try:
py.run_command("for a in range(3):")
except ValueError:
pass
else:
assert False, "Didn't raise ValueError for incorrect input"
# Check that the REPL was reset (SIGINT) after the incomplete input
... | c0a7554c7c8160d6a7b4023441c3cbe5e2f46ee5 | tests/test_replwrap.py | tests/test_replwrap.py | Python |
<|file_sep|>original/ci/azure-test-all.yml
displayName: "Install gcc-multilib (linux)"
condition: and(succeeded(), eq(variables['Agent.OS'], 'Linux'))
# Some tests rely on a clippy command to run, so let's try to install clippy to
# we can be sure to run those tests.
- bash: rustup component add clippy || echo "cl... | displayName: "Install gcc-multilib (linux)"
condition: and(succeeded(), eq(variables['Agent.OS'], 'Linux'))
# Some tests rely on a clippy command to run, so let's try to install clippy to
# we can be sure to run those tests.
- bash: rustup component add clippy || echo "clippy not available"
displayName: "Install... | <|file_sep|>original/ci/azure-test-all.yml
displayName: "Install gcc-multilib (linux)"
condition: and(succeeded(), eq(variables['Agent.OS'], 'Linux'))
# Some tests rely on a clippy command to run, so let's try to install clippy to
# we can be sure to run those tests.
- bash: rustup component add clippy || echo "cl... | 3e82792c4fea01ddd2bcda90155097fbc2d4f792 | ci/azure-test-all.yml | ci/azure-test-all.yml | YAML |
<|file_sep|>original/sensu/plugins/check-mcelog.sh
<|file_sep|>current/sensu/plugins/check-mcelog.sh
<|file_sep|>updated/sensu/plugins/check-mcelog.sh | #!/bin/bash
# Queries the running mcelog daemon for accumulated errors.
# by Ulysses Kanigel
trap 'exit 1' ERR
if mcelog --client | grep total | grep -v "0 total"; then
echo "mcelog reports memory errors"
exit 2
fi
exit 0 | <|file_sep|>original/sensu/plugins/check-mcelog.sh
<|file_sep|>current/sensu/plugins/check-mcelog.sh
<|file_sep|>updated/sensu/plugins/check-mcelog.sh
#!/bin/bash
# Queries the running mcelog daemon for accumulated errors.
# by Ulysses Kanigel
trap 'exit 1' ERR
if mcelog --client | grep total | grep -v "0 total"; th... | f21b8cfa0ba98af7800ac6cda723e165ed75ab46 | sensu/plugins/check-mcelog.sh | sensu/plugins/check-mcelog.sh | Shell |
<|file_sep|>original/metadata/streetwalrus.usbmountr.txt
.
Requires Root:yes
Repo Type:git
Repo:https://github.com/Streetwalrus/android_usb_msd
Build:0.3,1
commit=0.3
subdir=app
gradle=yes
Build:0.3.1.1,2
commit=0.3.1.1
subdir=app
gradle=yes
Auto Update Mode:None
Update Check Mode:Tags
Curr... | .
Requires Root:yes
Repo Type:git
Repo:https://github.com/Streetwalrus/android_usb_msd
Build:0.3,1
commit=0.3
subdir=app
gradle=yes
Build:0.3.1.1,2
commit=0.3.1.1
subdir=app
gradle=yes
Auto Update Mode:None
Update Check Mode:Tags
Current Version:0.3.1.2
Current Version Code:3 | <|file_sep|>original/metadata/streetwalrus.usbmountr.txt
.
Requires Root:yes
Repo Type:git
Repo:https://github.com/Streetwalrus/android_usb_msd
Build:0.3,1
commit=0.3
subdir=app
gradle=yes
Build:0.3.1.1,2
commit=0.3.1.1
subdir=app
gradle=yes
Auto Update Mode:None
Update Check Mode:Tags
Curr... | bb17b13ed572adefa025e5f10c1048d460885985 | metadata/streetwalrus.usbmountr.txt | metadata/streetwalrus.usbmountr.txt | Text |
<|file_sep|>original/CHANGELOG.md
# Changelog
## 0.4.2 - 2014-03-12
- Allow controller.use to be called idempotently
- Fix issue where requestAnimationFrame would not be used in Chrome
- Exclude node code from browser js
##0.4.1 - 2014-02-11
- Allow controller.use to accept a factory directly (node support)
##0.... | # Changelog
## 0.4.2 - 2014-03-12
- Allow controller.use to be called idempotently
- Fix issue where requestAnimationFrame would not be used in Chrome
- Exclude node code from browser js
- The plugin pipeline now runs on animationFrames rather than deviceFrames when in the browser.
##0.4.1 - 2014-02-11
- Allow c... | <|file_sep|>original/CHANGELOG.md
# Changelog
## 0.4.2 - 2014-03-12
- Allow controller.use to be called idempotently
- Fix issue where requestAnimationFrame would not be used in Chrome
- Exclude node code from browser js
##0.4.1 - 2014-02-11
- Allow controller.use to accept a factory directly (node support)
##0.... | c7c90876de5d5edae7b6cf6ded20ae3a356dfcde | CHANGELOG.md | CHANGELOG.md | Markdown |
<|file_sep|>original/_includes/about.html
<hr class="star-light">
</div>
</div>
<div class="row">
<div class="col-md-4">
<p>I am a full-stack, Philadelphia-area jr. web-developer and former attorney with a passion for buildi... | <hr class="star-light">
</div>
</div>
<div class="row">
<div class="col-md-4">
<p>I am a full-stack, Philadelphia-area jr. web-developer and former attorney with a passion for building beautiful, meaningful things.</p>
... | <|file_sep|>original/_includes/about.html
<hr class="star-light">
</div>
</div>
<div class="row">
<div class="col-md-4">
<p>I am a full-stack, Philadelphia-area jr. web-developer and former attorney with a passion for buildi... | 73328668a224fafe9409124bb00708f6590fcccd | _includes/about.html | _includes/about.html | HTML |
<|file_sep|>original/apps/jsdoc/actions.js
var repo = new ScriptRepository(require.paths.peek());
if (module && module != "/") {
var res = repo.getScriptResource(module);
var jsdoc = parseResource(res);
// log.info("export()ed symbols: " + exported);
return new SkinnedResponse(ge... | var repo = new ScriptRepository(require.paths.peek());
if (module && module != "/") {
var res = repo.getScriptResource(module);
var jsdoc = parseResource(res);
// log.info("export()ed symbols: " + exported);
return new SkinnedResponse(getResource('./skins/module.html'), {
... | <|file_sep|>original/apps/jsdoc/actions.js
var repo = new ScriptRepository(require.paths.peek());
if (module && module != "/") {
var res = repo.getScriptResource(module);
var jsdoc = parseResource(res);
// log.info("export()ed symbols: " + exported);
return new SkinnedResponse(ge... | fb5826a7ee4df0f21e1fbe19a8f6c599cae85b62 | apps/jsdoc/actions.js | apps/jsdoc/actions.js | JavaScript |
<|file_sep|>package.json.diff
original:
updated:
"expresso": "~0.9",
<|file_sep|>original/package.json
"htmlparser": "~1.7",
"jsdom-nocontextifiy": "~0.2",
"nib": "~0.3",
"optimist": "~0.3",
"stylus": "~0.25",
"stylus-images": "~0.2",
"uglify-js": "~1.2",
"underscore": "~1.3"
},
... | "jsdom-nocontextifiy": "~0.2",
"nib": "~0.3",
"optimist": "~0.3",
"stylus": "~0.25",
"stylus-images": "~0.2",
"uglify-js": "~1.2",
"underscore": "~1.3"
},
"devDependencies": {
"expresso": "~0.9",
"glob": "~2",
"wrench": "~1.2"
},
"bin": {
"lumbar": "bin/lumbar"
},
... | <|file_sep|>package.json.diff
original:
updated:
"expresso": "~0.9",
<|file_sep|>original/package.json
"htmlparser": "~1.7",
"jsdom-nocontextifiy": "~0.2",
"nib": "~0.3",
"optimist": "~0.3",
"stylus": "~0.25",
"stylus-images": "~0.2",
"uglify-js": "~1.2",
"underscore": "~1.3"
},
... | 511918132e380ef2f86eaea5ea6365c11e97bb19 | package.json | package.json | JSON |
<|file_sep|>original/tests/test_fuzzy_completion.py
<|file_sep|>current/tests/test_fuzzy_completion.py
<|file_sep|>updated/tests/test_fuzzy_completion.py | from __future__ import unicode_literals
import pytest
from prompt_toolkit.completion import Completion
from prompt_toolkit.document import Document
@pytest.fixture
def completer():
import pgcli.pgcompleter as pgcompleter
return pgcompleter.PGCompleter()
def test_ranking_ignores_identifier_quotes(completer):... | <|file_sep|>original/tests/test_fuzzy_completion.py
<|file_sep|>current/tests/test_fuzzy_completion.py
<|file_sep|>updated/tests/test_fuzzy_completion.py
from __future__ import unicode_literals
import pytest
from prompt_toolkit.completion import Completion
from prompt_toolkit.document import Document
@pytest.fixtur... | 40149ad648fa84f4597fcb3f3182b83ee62de035 | tests/test_fuzzy_completion.py | tests/test_fuzzy_completion.py | Python |
<|file_sep|>rust/rotational-cipher/src/lib.rs.diff
original:
updated:
const LA: u8 = b'a';
const UA: u8 = b'A';
<|file_sep|>rust/rotational-cipher/src/lib.rs.diff
original:
let v = (x as u8 - b'a' + key as u8) % 26 + b'a';
updated:
let v = (x as u8 - LA + key as u8) % 26 + LA;
<... | #![feature(ascii_ctype)]
use std::ascii::AsciiExt;
pub fn rotate(text: &str, key: usize) -> String {
const LA: u8 = b'a';
const UA: u8 = b'A';
text.chars()
.map(|x| match x {
_ if x.is_ascii_lowercase() => {
let v = (x as u8 - LA + key as u8) % 26 + LA;
v... | <|file_sep|>rust/rotational-cipher/src/lib.rs.diff
original:
updated:
const LA: u8 = b'a';
const UA: u8 = b'A';
<|file_sep|>rust/rotational-cipher/src/lib.rs.diff
original:
let v = (x as u8 - b'a' + key as u8) % 26 + b'a';
updated:
let v = (x as u8 - LA + key as u8) % 26 + LA;
<... | 1857c88ff7127689da538b31cdce7a9839cda61c | rust/rotational-cipher/src/lib.rs | rust/rotational-cipher/src/lib.rs | Rust |
<|file_sep|>original/run.py
# run.py
#
# Copyright(c) Exequiel Ceasar Navarrete <esnavarrete1@up.edu.ph>
# Licensed under MIT
# Version 0.0.0
from app import app
if __name__ == "__main__":
# run the application
app.run(debug=app.config['DEBUG'])
<|file_sep|>current/run.py
# run.py
#
# Copyright(c) Exequiel Ceas... | #!/usr/bin/env python
# run.py
#
# Copyright(c) Exequiel Ceasar Navarrete <esnavarrete1@up.edu.ph>
# Licensed under MIT
# Version 0.0.0
from app import app
if __name__ == "__main__":
# run the application
app.run(debug=app.config['DEBUG'])
| <|file_sep|>original/run.py
# run.py
#
# Copyright(c) Exequiel Ceasar Navarrete <esnavarrete1@up.edu.ph>
# Licensed under MIT
# Version 0.0.0
from app import app
if __name__ == "__main__":
# run the application
app.run(debug=app.config['DEBUG'])
<|file_sep|>current/run.py
# run.py
#
# Copyright(c) Exequiel Ceas... | 8db0479c6d6d960eda2de2332ea19f3779943294 | run.py | run.py | Python |
<|file_sep|>original/testing/test_models.py
from k2catalogue import models
def test_safe_float_good():
assert models.safe_float("2") == 2.0
def test_safe_float_bad():
assert models.safe_float('this is not convertable to a float') is None
<|file_sep|>current/testing/test_models.py
from k2catalogue import mode... | from k2catalogue import models
def test_safe_float_good():
assert models.safe_float("2") == 2.0
def test_safe_float_bad():
assert models.safe_float('this is not convertable to a float') is None
def test_proposal_printing():
proposal = models.Proposal(proposal_id='abc')
assert repr(proposal) == '<Prop... | <|file_sep|>original/testing/test_models.py
from k2catalogue import models
def test_safe_float_good():
assert models.safe_float("2") == 2.0
def test_safe_float_bad():
assert models.safe_float('this is not convertable to a float') is None
<|file_sep|>current/testing/test_models.py
from k2catalogue import mode... | 50d69badbaeb41736269c99f7b301f09c9b24ecb | testing/test_models.py | testing/test_models.py | Python |
<|file_sep|>lib/i18n-docs.rb.diff
original:
updated:
<|file_sep|>original/lib/i18n-docs.rb
# require 'rake'
# load rake tasks in case GEM is included within rails project
require 'csv'
require 'yaml'
require 'open-uri'
require 'i18n_docs/missing_keys_finder'
require 'i18n_docs/csv_to_yaml'
require 'i18n_docs/transl... | # require 'rake'
# load rake tasks in case GEM is included within rails project
require 'csv'
require 'yaml'
require 'open-uri'
require 'i18n_docs/missing_keys_finder'
require 'i18n_docs/csv_to_yaml'
require 'i18n_docs/translations'
require 'i18n_docs/translation_file_export'
if defined?(Rails)
class I18nDocs::Ra... | <|file_sep|>lib/i18n-docs.rb.diff
original:
updated:
<|file_sep|>original/lib/i18n-docs.rb
# require 'rake'
# load rake tasks in case GEM is included within rails project
require 'csv'
require 'yaml'
require 'open-uri'
require 'i18n_docs/missing_keys_finder'
require 'i18n_docs/csv_to_yaml'
require 'i18n_docs/transl... | 0f764d9d53483918e4acb1e2e4ee43f623860072 | lib/i18n-docs.rb | lib/i18n-docs.rb | Ruby |
<|file_sep|>original/.travis.yml
matrix:
allow_failures:
- php: 7.0
before_script:
- travis_retry composer self-update
- travis_retry composer install --prefer-source --no-interaction
script:
- if [ "$TRAVIS_PHP_VERSION" == "hhvm" ]; then phpunit; fi
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php... |
matrix:
allow_failures:
- php: 7.0
before_script:
- travis_retry composer self-update
- travis_retry composer install --prefer-source --no-interaction
script:
- if [ "$TRAVIS_PHP_VERSION" != "7.0" ] && [ "$TRAVIS_PHP_VERSION" == "hhvm" ]; then phpunit; fi
- if [ "$TRAVIS_PHP_VERSION" != "7.0" ] && [ ... | <|file_sep|>original/.travis.yml
matrix:
allow_failures:
- php: 7.0
before_script:
- travis_retry composer self-update
- travis_retry composer install --prefer-source --no-interaction
script:
- if [ "$TRAVIS_PHP_VERSION" == "hhvm" ]; then phpunit; fi
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php... | 109b874c83051de7337501540077c03ba756cc18 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/lib/Support/ManagedStatic.cpp
assert(Ptr && DeleterFn && "ManagedStatic not initialized correctly!");
assert(StaticList == this &&
"Not destroyed in reverse order of construction?");
// Unlink from list.
StaticList = Next;
Next = 0;
// Destroy memory.
DeleterFn(Ptr);
//... | assert(Ptr && DeleterFn && "ManagedStatic not initialized correctly!");
assert(StaticList == this &&
"Not destroyed in reverse order of construction?");
// Unlink from list.
StaticList = Next;
Next = 0;
// Destroy memory.
DeleterFn(Ptr);
// Cleanup.
Ptr = 0;
DeleterFn = 0;
}
/// llvm_s... | <|file_sep|>original/lib/Support/ManagedStatic.cpp
assert(Ptr && DeleterFn && "ManagedStatic not initialized correctly!");
assert(StaticList == this &&
"Not destroyed in reverse order of construction?");
// Unlink from list.
StaticList = Next;
Next = 0;
// Destroy memory.
DeleterFn(Ptr);
//... | 151880b020e33e12a0286612ec450051bd16f8e8 | lib/Support/ManagedStatic.cpp | lib/Support/ManagedStatic.cpp | C++ |
<|file_sep|>original/requirements/production.txt
# Pro-tip: Try not to put anything here. There should be no dependency in
# production that isn't in development.
-r local.txt
Django==1.11.7
# WSGI Handler
# ------------------------------------------------
gevent==1.2.2
gunicorn==19.7.1
# Static and Media Storage
# --... | # Pro-tip: Try not to put anything here. There should be no dependency in
# production that isn't in development.
-r local.txt
Django==2.0.2
# WSGI Handler
# ------------------------------------------------
gevent==1.2.2
gunicorn==19.7.1
# Static and Media Storage
# ------------------------------------------------
bot... | <|file_sep|>original/requirements/production.txt
# Pro-tip: Try not to put anything here. There should be no dependency in
# production that isn't in development.
-r local.txt
Django==1.11.7
# WSGI Handler
# ------------------------------------------------
gevent==1.2.2
gunicorn==19.7.1
# Static and Media Storage
# --... | b89923129ca531a7cbd4247eba94900f48425ded | requirements/production.txt | requirements/production.txt | Text |
<|file_sep|>original/php/UPDATING.md
```
Add the license header back to the generated source file.
Test the generated code:
```
vendor/bin/phpunit
````
Update the version number in `gtfs-realtime-bindings.gemspec`.
Build and deploy the gem to rubygems.org
```
gem build gtfs-realtime-bindings.gemspec
gem push gtfs... |
First, make sure you have all [Composer](https://getcomposer.org/) dependencies installed:
```
composer update
```
Regenerate the language binding source from gtfs-realtime.proto.
```
vendor/bin/protoc-gen-php.php --include=.. --out=src ../gtfs-realtime.proto
```
Add the license header back to the generated source... | <|file_sep|>original/php/UPDATING.md
```
Add the license header back to the generated source file.
Test the generated code:
```
vendor/bin/phpunit
````
Update the version number in `gtfs-realtime-bindings.gemspec`.
Build and deploy the gem to rubygems.org
```
gem build gtfs-realtime-bindings.gemspec
gem push gtfs... | 0b3244bd26d093a0390a302677f287eee347ed2b | php/UPDATING.md | php/UPDATING.md | Markdown |
<|file_sep|>original/cli.js
#!/usr/bin/env node
const qr = require('qrcode-terminal')
const argv = require('minimist')(process.argv.slice(2), { string: '_' })
const generatePayload = require('./')
const target = argv._[0].replace(/-/g, '')
if (!/^(0|66)\d{9}|\d{13}$/.test(target)) {
console.error('Invalid recipient ... | #!/usr/bin/env node
const qr = require('qrcode-terminal')
const argv = require('minimist')(process.argv.slice(2), { string: '_' })
const generatePayload = require('./')
const target = String(argv._[0]).replace(/-/g, '')
if (!/^(0|66)\d{9}|\d{13}$/.test(target)) {
console.error('Invalid recipient given: expected tax ... | <|file_sep|>original/cli.js
#!/usr/bin/env node
const qr = require('qrcode-terminal')
const argv = require('minimist')(process.argv.slice(2), { string: '_' })
const generatePayload = require('./')
const target = argv._[0].replace(/-/g, '')
if (!/^(0|66)\d{9}|\d{13}$/.test(target)) {
console.error('Invalid recipient ... | e2351181d4f653850b7c77db819fd90a63953435 | cli.js | cli.js | JavaScript |
<|file_sep|>original/requirements_dev.txt
numpy==1.14.0
pandas==0.22.0
pandocfilters==1.4.2
pathlib2==2.3.0
pbr==3.1.1
pexpect==4.4.0
Pillow==5.0.0
protobuf==3.5.1
Pygments==2.2.0
python-dateutil==2.6.1
PyYAML==3.12
pyzmq==17.0.0
scipy==1.0.0
seaborn==0.8.1
Sphinx==1.7.0
stevedore==1.28.0
tornado==4.5.3
h5py==2.7.1
rec... | numpy==1.14.0
pandas==0.22.0
pandocfilters==1.4.2
pathlib2==2.3.0
pbr==3.1.1
pexpect==4.4.0
Pillow==5.0.0
protobuf==3.5.1
Pygments==2.2.0
python-dateutil==2.6.1
PyYAML==3.12
pyzmq==17.0.0
scipy==1.0.0
seaborn==0.8.1
Sphinx==1.7.1
stevedore==1.28.0
tornado==4.5.3
h5py==2.7.1
recommonmark==0.4.0
pytest-flake8==0.9.1
tens... | <|file_sep|>original/requirements_dev.txt
numpy==1.14.0
pandas==0.22.0
pandocfilters==1.4.2
pathlib2==2.3.0
pbr==3.1.1
pexpect==4.4.0
Pillow==5.0.0
protobuf==3.5.1
Pygments==2.2.0
python-dateutil==2.6.1
PyYAML==3.12
pyzmq==17.0.0
scipy==1.0.0
seaborn==0.8.1
Sphinx==1.7.0
stevedore==1.28.0
tornado==4.5.3
h5py==2.7.1
rec... | b661608aeca1cd2f374ac75974a92841bbc78bc2 | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/accelerator/migrations/0033_migrate_gender_data.py
<|file_sep|>current/accelerator/migrations/0033_migrate_gender_data.py
<|file_sep|>updated/accelerator/migrations/0033_migrate_gender_data.py | # Generated by Django 2.2.10 on 2021-01-22 12:13
from django.db import migrations
# gender identity
GENDER_MALE = "Male"
GENDER_FEMALE = "Female"
GENDER_PREFER_TO_SELF_DESCRIBE = "I Prefer To Self-describe"
GENDER_PREFER_NOT_TO_SAY = "I Prefer Not To Say"
# gender
MALE_CHOICE = "m"
FEMALE_CHOICE = "f"
OTHER_CHOICE = ... | <|file_sep|>original/accelerator/migrations/0033_migrate_gender_data.py
<|file_sep|>current/accelerator/migrations/0033_migrate_gender_data.py
<|file_sep|>updated/accelerator/migrations/0033_migrate_gender_data.py
# Generated by Django 2.2.10 on 2021-01-22 12:13
from django.db import migrations
# gender identity
GEN... | 3cc76b052ea7a49ad50247bff218f34056470f31 | accelerator/migrations/0033_migrate_gender_data.py | accelerator/migrations/0033_migrate_gender_data.py | Python |
<|file_sep|>js/views/filelist.jsx.diff
original:
updated:
// TODO: get gateway path from config instead of using hardcoded localhost:8080
<|file_sep|>original/js/views/filelist.jsx
<th className="filelist-name">Name</th>
<th>ID</th>
</tr>
</thead>
<tbody>
... | <th>ID</th>
</tr>
</thead>
<tbody>
{files ? files.map(function(file) {
if(typeof file === 'string') file = { id: file }
// TODO: get gateway path from config instead of using hardcoded localhost:8080
return (
<tr className="webui-f... | <|file_sep|>js/views/filelist.jsx.diff
original:
updated:
// TODO: get gateway path from config instead of using hardcoded localhost:8080
<|file_sep|>original/js/views/filelist.jsx
<th className="filelist-name">Name</th>
<th>ID</th>
</tr>
</thead>
<tbody>
... | deabd499cb2d81964b7afbf9aa10be8bc504513d | js/views/filelist.jsx | js/views/filelist.jsx | JSX |
<|file_sep|>packages/pa/paint.yaml.diff
original:
hash: 5e77d7a49015f6998f3f52d798d2cbc530776acb96b5404f88bc3d244daeb4e2
updated:
hash: b892916be73af98bd62372df7cee15a917bcea7345e00dfed3b02086cdd2c956
<|file_sep|>packages/pa/paint.yaml.diff
original:
updated:
paint: -any
<|file_sep|>packages/pa/paint.yaml.diff
origi... | changelog-type: ''
hash: b892916be73af98bd62372df7cee15a917bcea7345e00dfed3b02086cdd2c956
test-bench-deps: {}
maintainer: Daniel Lovasko <daniel.lovasko@gmail.com>
synopsis: Colorization of text for command-line output
changelog: ''
basic-deps:
paint: -any
base: ! '>=4.7 && <5'
all-versions:
- 1.0.0
- 2.0.0
author:... | <|file_sep|>packages/pa/paint.yaml.diff
original:
hash: 5e77d7a49015f6998f3f52d798d2cbc530776acb96b5404f88bc3d244daeb4e2
updated:
hash: b892916be73af98bd62372df7cee15a917bcea7345e00dfed3b02086cdd2c956
<|file_sep|>packages/pa/paint.yaml.diff
original:
updated:
paint: -any
<|file_sep|>packages/pa/paint.yaml.diff
origi... | bdc08f3f22f161fc3c27174c59070d7e59ee81d5 | packages/pa/paint.yaml | packages/pa/paint.yaml | YAML |
<|file_sep|>original/search-engine/lib/condition/condition_color_count_expr.rb
def initialize(a, op, b)
@a = a.downcase
@op = op
@b = b.to_i
end
def match?(card)
if @a == "c"
a = card.colors.size
elsif @a == "in"
a = card.color_indicator_set
return false unless a
else
... | def initialize(a, op, b)
@a = a.downcase
@op = op
@b = b.to_i
end
def match?(card)
if @a == "c"
a = card.colors.size
elsif @a == "in"
a = (card.color_indicator_set || Set[]).size
else
a = card.color_identity.size
end
case @op
when "="
a == @b
when ... | <|file_sep|>original/search-engine/lib/condition/condition_color_count_expr.rb
def initialize(a, op, b)
@a = a.downcase
@op = op
@b = b.to_i
end
def match?(card)
if @a == "c"
a = card.colors.size
elsif @a == "in"
a = card.color_indicator_set
return false unless a
else
... | 443dfd5d6d73a1ff76daa01f823efb0e4397aea0 | search-engine/lib/condition/condition_color_count_expr.rb | search-engine/lib/condition/condition_color_count_expr.rb | Ruby |
<|file_sep|>original/docker-entrypoint.sh
set -e
if [ "$CREATE_USER_UID" -a "$CREATE_USER_GID" ]; then
echo "Create 'site-owner' group with GID=$CREATE_USER_GID"
groupadd -g $CREATE_USER_GID site-owner
echo "Add 'www-data' user to group 'site-owner'"
usermod -a -G site-owner www-data
echo "Create '... |
if [ "$CREATE_USER_UID" -a "$CREATE_USER_GID" ]; then
echo "Create 'site-owner' group with GID=$CREATE_USER_GID"
groupadd -g $CREATE_USER_GID site-owner
echo "Add 'www-data' user to group 'site-owner'"
usermod -a -G site-owner www-data
echo "Create 'site-owner' user with UID=$CREATE_USER_UID, GID=$... | <|file_sep|>original/docker-entrypoint.sh
set -e
if [ "$CREATE_USER_UID" -a "$CREATE_USER_GID" ]; then
echo "Create 'site-owner' group with GID=$CREATE_USER_GID"
groupadd -g $CREATE_USER_GID site-owner
echo "Add 'www-data' user to group 'site-owner'"
usermod -a -G site-owner www-data
echo "Create '... | 2f66b37aabd279f543a154b07f8c86d30226e950 | docker-entrypoint.sh | docker-entrypoint.sh | Shell |
<|file_sep|>src/csmacnz.Coveralls/CoverageFileBuilder.cs.diff
original:
_coverage[lineNumber] = 1;
updated:
_coverage[lineNumber-1] = 1;
<|file_sep|>original/src/csmacnz.Coveralls/CoverageFileBuilder.cs
_filePath = filePath;
}
public void RecordCovered(int lineNumber... | _filePath = filePath;
}
public void RecordCovered(int lineNumber)
{
_coverage[lineNumber-1] = 1;
}
public void RecordUnCovered(int lineNumber)
{
_coverage[lineNumber-1] = 0;
}
public CoverageFile CreateFile()
... | <|file_sep|>src/csmacnz.Coveralls/CoverageFileBuilder.cs.diff
original:
_coverage[lineNumber] = 1;
updated:
_coverage[lineNumber-1] = 1;
<|file_sep|>original/src/csmacnz.Coveralls/CoverageFileBuilder.cs
_filePath = filePath;
}
public void RecordCovered(int lineNumber... | 33b4b00eb19bc6f7ecdf84db58724f02842feab2 | src/csmacnz.Coveralls/CoverageFileBuilder.cs | src/csmacnz.Coveralls/CoverageFileBuilder.cs | C# |
<|file_sep|>original/src/contrib/chukwa/CHANGES.txt
BUG FIXES
HADOOP-5138. Fixing failing test cases by separating TestCharFileTailing
and TestFileTailing adaptors. (Jerome Boulon via acmurthy)
Release 0.19.0 - Unreleased
IMPROVEMENTS
HADOOP-4431. Add versionning/tags to Chukwa Chunk.
(Jerome ... | and TestFileTailing adaptors. (Jerome Boulon via acmurthy)
Release 0.19.0 - Unreleased
IMPROVEMENTS
HADOOP-4431. Add versionning/tags to Chukwa Chunk.
(Jerome Boulon via Johan)
HADOOP-4433. Improve data loader for collecting metrics and log files.
(Eric Yang via omalley)
HADOOP-5205. Ch... | <|file_sep|>original/src/contrib/chukwa/CHANGES.txt
BUG FIXES
HADOOP-5138. Fixing failing test cases by separating TestCharFileTailing
and TestFileTailing adaptors. (Jerome Boulon via acmurthy)
Release 0.19.0 - Unreleased
IMPROVEMENTS
HADOOP-4431. Add versionning/tags to Chukwa Chunk.
(Jerome ... | 93666f49497fb0066b51c0e03bc4162c3b8dd477 | src/contrib/chukwa/CHANGES.txt | src/contrib/chukwa/CHANGES.txt | Text |
<|file_sep|>config/initializers/quiet_assets.rb.diff
original:
# Turn off sprocket's noise.
Rails.application.assets.logger = Logger.new('/dev/null')
Rails::Rack::Logger.class_eval do
def before_dispatch_with_quiet_assets(env)
before_dispatch_without_quiet_assets(env) unless env['PATH_INFO'].index("/assets/") ==... | # Turn off sprocket's noise#
# Updated to rails 3.2.3 compatibility.
if Rails.env.development?
Rails.application.assets.logger = Logger.new('/dev/null')
Rails::Rack::Logger.class_eval do
def call_with_quiet_assets(env)
previous_level = Rails.logger.level
Rails.logger.level = Logger::ERROR if env['PA... | <|file_sep|>config/initializers/quiet_assets.rb.diff
original:
# Turn off sprocket's noise.
Rails.application.assets.logger = Logger.new('/dev/null')
Rails::Rack::Logger.class_eval do
def before_dispatch_with_quiet_assets(env)
before_dispatch_without_quiet_assets(env) unless env['PATH_INFO'].index("/assets/") ==... | f659bb80e4e5bc388b2820e34f3e23a2c65ca5de | config/initializers/quiet_assets.rb | config/initializers/quiet_assets.rb | Ruby |
<|file_sep|>src/vocabulary/disclose.coffee.diff
original:
updated:
{RankError, IndexError} = require '../errors'
<|file_sep|>src/vocabulary/disclose.coffee.diff
original:
updated:
# (2 2β΄0)β1 2 !!! RANK ERROR
# (2 2)β1 2 !!! RANK ERROR
# 0 2β2 2β΄'ABCD' !!! INDEX ERROR
<|file_sep|>src/vocabulary/di... | # 2β'PICK' <=> 'C'
# 1 0β2 2β΄'ABCD' <=> 'C'
# 1β'foo' 'bar' <=> 'bar'
# (2 2β΄0)β1 2 !!! RANK ERROR
# (2 2)β1 2 !!! RANK ERROR
# 0 2β2 2β΄'ABCD' !!! INDEX ERROR
if alpha.shape.length > 1
throw RankError()
pick = alpha.toArray()
if pick.length isnt omega.shape.lengt... | <|file_sep|>src/vocabulary/disclose.coffee.diff
original:
updated:
{RankError, IndexError} = require '../errors'
<|file_sep|>src/vocabulary/disclose.coffee.diff
original:
updated:
# (2 2β΄0)β1 2 !!! RANK ERROR
# (2 2)β1 2 !!! RANK ERROR
# 0 2β2 2β΄'ABCD' !!! INDEX ERROR
<|file_sep|>src/vocabulary/di... | 547ec0b4637b42b31e3e713e992071843a1e1f51 | src/vocabulary/disclose.coffee | src/vocabulary/disclose.coffee | CoffeeScript |
<|file_sep|>original/TODO.txt
Ideas for the final release:
- Fix the scroller's shadow (there are stripes from the line rendering)
- Add the tunnel / camera texture "hidden" part
- Adjust the scroller text
- Maybe use a global sin/cos table
<|file_sep|>current/TODO.txt
Ideas for the final release:
- Fix the scroll... | Ideas for the final release:
- Fix the scroller's shadow (there are stripes from the line rendering)
- Add the tunnel / camera texture "hidden" part
- Adjust the scroller text | <|file_sep|>original/TODO.txt
Ideas for the final release:
- Fix the scroller's shadow (there are stripes from the line rendering)
- Add the tunnel / camera texture "hidden" part
- Adjust the scroller text
- Maybe use a global sin/cos table
<|file_sep|>current/TODO.txt
Ideas for the final release:
- Fix the scroll... | a8ddd9662b14d36d404d2301c7757d109a2db278 | TODO.txt | TODO.txt | Text |
<|file_sep|>original/lib/ublisherp/publishable.rb
require 'securerandom'
module Ublisherp::Publishable
extend ActiveSupport::Concern
module ClassMethods
def publish_associations(*assocs)
@publish_associations ||= []
@publish_associations.concat Array.new(assocs || [])
@publish_associations
... | require 'securerandom'
module Ublisherp::Publishable
extend ActiveSupport::Concern
included do
if self.respond_to?(:include_root_in_json=)
self.include_root_in_json = true
end
end
module ClassMethods
def publish_associations(*assocs)
@publish_associations ||= []
@publish_associa... | <|file_sep|>original/lib/ublisherp/publishable.rb
require 'securerandom'
module Ublisherp::Publishable
extend ActiveSupport::Concern
module ClassMethods
def publish_associations(*assocs)
@publish_associations ||= []
@publish_associations.concat Array.new(assocs || [])
@publish_associations
... | 4393d96b69b08be8e9e9a8360424b895be04e349 | lib/ublisherp/publishable.rb | lib/ublisherp/publishable.rb | Ruby |
<|file_sep|>client/app/serializers/site.js.diff
original:
updated:
var SITE_SERIALIZER_FIELDS = [ 'name', 'tagline', 'description', 'moreDesc', 'joinText' ];
<|file_sep|>original/client/app/serializers/site.js
import DS from 'ember-data';
var SiteSerializer = DS.RESTSerializer.extend({
serialize: function(site, op... | import DS from 'ember-data';
var SITE_SERIALIZER_FIELDS = [ 'name', 'tagline', 'description', 'moreDesc', 'joinText' ];
var SiteSerializer = DS.RESTSerializer.extend({
serialize: function(site, options) {
var result = site.getProperties(SITE_SERIALIZER_FIELDS);
if (options && options.includeId) {
res... | <|file_sep|>client/app/serializers/site.js.diff
original:
updated:
var SITE_SERIALIZER_FIELDS = [ 'name', 'tagline', 'description', 'moreDesc', 'joinText' ];
<|file_sep|>original/client/app/serializers/site.js
import DS from 'ember-data';
var SiteSerializer = DS.RESTSerializer.extend({
serialize: function(site, op... | c23457181f01c0df8b9a262edbe0113ca550c504 | client/app/serializers/site.js | client/app/serializers/site.js | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.