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/frontend/src/uxbox/config.cljs
;; This Source Code Form is subject to the terms of the Mozilla Public
;; License, v. 2.0. If a copy of the MPL was not distributed with this
;; file, You can obtain one at http://mozilla.org/MPL/2.0/.
;;
;; Copyright (c) 2016 Andrey Antukh <niwi@niwi.nz>
(ns uxbox.c... | ;; This Source Code Form is subject to the terms of the Mozilla Public
;; License, v. 2.0. If a copy of the MPL was not distributed with this
;; file, You can obtain one at http://mozilla.org/MPL/2.0/.
;;
;; Copyright (c) 2016 Andrey Antukh <niwi@niwi.nz>
(ns uxbox.config)
(goog-define url "http://127.0.0.1:6060/api"... | <|file_sep|>original/frontend/src/uxbox/config.cljs
;; This Source Code Form is subject to the terms of the Mozilla Public
;; License, v. 2.0. If a copy of the MPL was not distributed with this
;; file, You can obtain one at http://mozilla.org/MPL/2.0/.
;;
;; Copyright (c) 2016 Andrey Antukh <niwi@niwi.nz>
(ns uxbox.c... | b54c7e1b49d027c08a54b957084a95b47fec3409 | frontend/src/uxbox/config.cljs | frontend/src/uxbox/config.cljs | Clojure |
<|file_sep|>original/.jestrc.json
{
"verbose": true,
"transform": {
".ts": "<rootDir>/scripts/jest-preprocessor.js"
},
"moduleFileExtensions": [
"ts",
"js"
],
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|js)$"
}
<|file_sep|>current/.jestrc.json
{
"verbose": true,
"transform": {
".t... | {
"verbose": true,
"transform": {
".ts": "<rootDir>/scripts/jest-preprocessor.js"
},
"moduleFileExtensions": [
"ts",
"js"
],
"testPathDirs": [
"<rootDir>/src"
],
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|js)$"
} | <|file_sep|>original/.jestrc.json
{
"verbose": true,
"transform": {
".ts": "<rootDir>/scripts/jest-preprocessor.js"
},
"moduleFileExtensions": [
"ts",
"js"
],
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|js)$"
}
<|file_sep|>current/.jestrc.json
{
"verbose": true,
"transform": {
".t... | c4852d22fbcf1c767cb59ffdb73d64a7f48a7810 | .jestrc.json | .jestrc.json | JSON |
<|file_sep|>docs/security_providers.md.diff
original:
| Provider | Issues | Link | Usage Guidance |
| ------------------- | ----------------------------------------------------- | ---------------------------... | | Provider | HTTP/2 | TLSv1.3 | Powered By | Notes |
| :--------------- | :------ | :----------- | :-------------- | :----------------------------------------------------------- |
| JVM default | Java 9+ | Java 11+ | [OpenJDK] | ... | <|file_sep|>docs/security_providers.md.diff
original:
| Provider | Issues | Link | Usage Guidance |
| ------------------- | ----------------------------------------------------- | ---------------------------... | 82f773376e19bb7e10916627349fad06e45f90cb | docs/security_providers.md | docs/security_providers.md | Markdown |
<|file_sep|>original/blueprints/ember-cli-mirage/index.js
return 'app';
}
};
},
afterInstall: function() {
this.insertIntoFile('.jshintrc', ' "server",', {
after: '"predef": [\n'
});
this.insertIntoFile('tests/.jshintrc', ' "server",', {
after: '"predef": [\n'
}... | return 'app';
}
};
},
afterInstall: function() {
this.insertIntoFile('.jshintrc', ' "server",', {
after: '"predef": [\n'
});
this.insertIntoFile('tests/.jshintrc', ' "server",', {
after: '"predef": [\n'
});
return this.addBowerPackagesToProject([
{nam... | <|file_sep|>original/blueprints/ember-cli-mirage/index.js
return 'app';
}
};
},
afterInstall: function() {
this.insertIntoFile('.jshintrc', ' "server",', {
after: '"predef": [\n'
});
this.insertIntoFile('tests/.jshintrc', ' "server",', {
after: '"predef": [\n'
}... | ca6cc34982889c59a4efd13ac2d1bbe210ec2ca7 | blueprints/ember-cli-mirage/index.js | blueprints/ember-cli-mirage/index.js | JavaScript |
<|file_sep|>original/spec/internal/config/database.yml
test: &test
adapter: postgresql
database: activerecord_views_test
min_messages: warning
development:
<<: *test
production:
<<: *test
<|file_sep|>current/spec/internal/config/database.yml
test: &test
adapter: postgresql
database: activerecord_views_tes... | test: &test
adapter: postgresql
database: activerecord_views_test
min_messages: warning
advisory_locks: <%= !Rails.version.start_with?('6.0.') %>
development:
<<: *test
production:
<<: *test | <|file_sep|>original/spec/internal/config/database.yml
test: &test
adapter: postgresql
database: activerecord_views_test
min_messages: warning
development:
<<: *test
production:
<<: *test
<|file_sep|>current/spec/internal/config/database.yml
test: &test
adapter: postgresql
database: activerecord_views_tes... | 3513aa7672081335ac992da57f972dc232c5d879 | spec/internal/config/database.yml | spec/internal/config/database.yml | YAML |
<|file_sep|>original/design/Commons-logo.svg
<|file_sep|>current/design/Commons-logo.svg
<|file_sep|>updated/design/Commons-logo.svg | <?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="1024" height="1376" viewBox="-305 -516 610 820">
<title>Wikimedia Commons Logo</title>
<defs>
<clipPath id="c"><circle r="298"/></clipPath>
</defs>
<circle r="100" fill="#900"/... | <|file_sep|>original/design/Commons-logo.svg
<|file_sep|>current/design/Commons-logo.svg
<|file_sep|>updated/design/Commons-logo.svg
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="1024" height="1376" viewBox="-305 -516 610... | f86916ab8c7762acd613b9bbe7e99bf7a90ae16b | design/Commons-logo.svg | design/Commons-logo.svg | SVG |
<|file_sep|>modes/markdown-mode-conf.el.diff
original:
(eval-when-compile (require 'markdown-mode))
updated:
(eval-when-compile
(require 'markdown-mode))
<|file_sep|>original/modes/markdown-mode-conf.el
;;; markdown-conf.el -- Settings for markdown-mode.
(eval-when-compile (require 'markdown-mode))
(setq markdown-co... | ;;; markdown-conf.el -- Settings for markdown-mode.
(eval-when-compile
(require 'markdown-mode))
(setq markdown-command "pandoc -f markdown -t html"
markdown-follow-wiki-link-on-enter nil)
(defun pjones:markdown-mode-hook ()
"Set up key bindings and other crap for markdown-mode."
(local-set-key (kbd "C-c ... | <|file_sep|>modes/markdown-mode-conf.el.diff
original:
(eval-when-compile (require 'markdown-mode))
updated:
(eval-when-compile
(require 'markdown-mode))
<|file_sep|>original/modes/markdown-mode-conf.el
;;; markdown-conf.el -- Settings for markdown-mode.
(eval-when-compile (require 'markdown-mode))
(setq markdown-co... | 3c4edd92783bd878b3ec946867f7684e084c7a0a | modes/markdown-mode-conf.el | modes/markdown-mode-conf.el | Emacs Lisp |
<|file_sep|>original/sources/prompt_forwarding/README.md
<|file_sep|>current/sources/prompt_forwarding/README.md
<|file_sep|>updated/sources/prompt_forwarding/README.md | Use the following command to generate the OS symbols for the `remote` script:
```shell
for N in $(grep 'nf-' pkg/cars/os/main.go | sed -r -e 's/",\s+}.*//' -e 's/",.*"/,/' -e 's/":.*"/:/' -e 's/.*"//'); do NAME=${N%%:*}; COLOR=${N##*,}; TMP=${N##*:}; ICON=${TMP%%,*}; echo "GBT__SYMBOLS[$NAME]='\\\\001\\\\e[38;5;${COLO... | <|file_sep|>original/sources/prompt_forwarding/README.md
<|file_sep|>current/sources/prompt_forwarding/README.md
<|file_sep|>updated/sources/prompt_forwarding/README.md
Use the following command to generate the OS symbols for the `remote` script:
```shell
for N in $(grep 'nf-' pkg/cars/os/main.go | sed -r -e 's/",\s... | e6e0f8091ea2465d0c6758a7d26c5a1bccfa8d1f | sources/prompt_forwarding/README.md | sources/prompt_forwarding/README.md | Markdown |
<|file_sep|>original/lib/app/views/application/nav/account.erb
<li class="dropdown">
<a class="dropdown-toggle" id="drop-account" href="#" data-toggle="dropdown">
<%= gravatar_tag current_user.avatar_url, size: 20 %>
<%= current_user.username %> <b class="caret"></b>
</a>
<ul class="dropdown-menu" role="... | <li class="dropdown">
<a class="dropdown-toggle" id="drop-account" href="#" data-toggle="dropdown">
<%= gravatar_tag current_user.avatar_url, size: 20 %>
<%= current_user.username %> <b class="caret"></b>
</a>
<ul class="dropdown-menu" role="menu">
<li><a role="menuitem" tabindex="-1" href="/<%= curr... | <|file_sep|>original/lib/app/views/application/nav/account.erb
<li class="dropdown">
<a class="dropdown-toggle" id="drop-account" href="#" data-toggle="dropdown">
<%= gravatar_tag current_user.avatar_url, size: 20 %>
<%= current_user.username %> <b class="caret"></b>
</a>
<ul class="dropdown-menu" role="... | 9e11e19aae5aba02161fe779314e840ddcf48276 | lib/app/views/application/nav/account.erb | lib/app/views/application/nav/account.erb | HTML+ERB |
<|file_sep|>original/log/zapadapter/adapter.go
}
func NewLogger(logger *zap.Logger) *Logger {
return &Logger{logger: logger.WithOptions(zap.AddCallerSkip(1))}
}
func (pl *Logger) Log(level pgx.LogLevel, msg string, data map[string]interface{}) {
fields := make([]zapcore.Field, len(data))
i := 0
for k, v := range ... | }
func NewLogger(logger *zap.Logger) *Logger {
return &Logger{logger: logger.WithOptions(zap.AddCallerSkip(1))}
}
func (pl *Logger) Log(level pgx.LogLevel, msg string, data map[string]interface{}) {
fields := make([]zapcore.Field, len(data))
i := 0
for k, v := range data {
fields[i] = zap.Any(k, v)
i++
}
s... | <|file_sep|>original/log/zapadapter/adapter.go
}
func NewLogger(logger *zap.Logger) *Logger {
return &Logger{logger: logger.WithOptions(zap.AddCallerSkip(1))}
}
func (pl *Logger) Log(level pgx.LogLevel, msg string, data map[string]interface{}) {
fields := make([]zapcore.Field, len(data))
i := 0
for k, v := range ... | 8ba5485db6ebfa824458df98db6df29cbe128332 | log/zapadapter/adapter.go | log/zapadapter/adapter.go | Go |
<|file_sep|>.travis.yml.diff
original:
updated:
- jruby-head
<|file_sep|>original/.travis.yml
cache: bundler
language: ruby
bundler_args: --without local_development
script: bundle exec rake
rvm:
- 1.9.3
- 2.0.0
- 2.1
- 2.2
- jruby-19mode
- rbx-2
matrix:
allow_failures:
- rvm: jruby-19mode
- rv... | bundler_args: --without local_development
script: bundle exec rake
rvm:
- 1.9.3
- 2.0.0
- 2.1
- 2.2
- jruby-19mode
- jruby-head
- rbx-2
matrix:
allow_failures:
- rvm: jruby-19mode
- rvm: jruby-head
- rvm: rbx-2
notifications:
recipients:
- timo.roessner@googlemail.com
- matijs@mati... | <|file_sep|>.travis.yml.diff
original:
updated:
- jruby-head
<|file_sep|>original/.travis.yml
cache: bundler
language: ruby
bundler_args: --without local_development
script: bundle exec rake
rvm:
- 1.9.3
- 2.0.0
- 2.1
- 2.2
- jruby-19mode
- rbx-2
matrix:
allow_failures:
- rvm: jruby-19mode
- rv... | b49e69ddb4b59e83b8cc5906d6bb5b23f9a73629 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/lib/free_cite/citation.rb
# encoding: UTF-8
require 'active_support/core_ext/object'
require 'crfpp'
require 'free_cite/crfparser'
class Citation
def self.parse(str)
return unless str.present?
hash = self.parser.parse_string(str).symbolize_keys
hash if self.valid_reference?(hash)
... | # encoding: UTF-8
require 'active_support/core_ext/object'
require 'crfpp'
require 'free_cite/crfparser'
class Citation
def self.parse(str)
return unless str.present?
hash = (self.parser.parse_string(str) || {}).symbolize_keys
hash if self.valid_reference?(hash)
end
def self.parser
@parser ||=... | <|file_sep|>original/lib/free_cite/citation.rb
# encoding: UTF-8
require 'active_support/core_ext/object'
require 'crfpp'
require 'free_cite/crfparser'
class Citation
def self.parse(str)
return unless str.present?
hash = self.parser.parse_string(str).symbolize_keys
hash if self.valid_reference?(hash)
... | 47f2fdfb42e21480a2b737deed275205aa45f847 | lib/free_cite/citation.rb | lib/free_cite/citation.rb | Ruby |
<|file_sep|>original/immercv/static/css/project.css
.nav.navbar-nav.pull-right {
float: none !important; } }
[hidden][style="display: block;"] {
display: block !important; }
.cvgraph-button {
display: inline-block;
}
footer {
border-top: 1px solid black;
margin-top: 2em;
font-size: small;
}
.cv-side... | display: block !important; }
.cvgraph-button {
display: inline-block;
}
footer {
border-top: 1px solid black;
margin-top: 2em;
font-size: small;
}
.cv-sidebar {
float: right;
width: 40%;
margin: 1em 1em;
}
code {
white-space: pre;
} | <|file_sep|>original/immercv/static/css/project.css
.nav.navbar-nav.pull-right {
float: none !important; } }
[hidden][style="display: block;"] {
display: block !important; }
.cvgraph-button {
display: inline-block;
}
footer {
border-top: 1px solid black;
margin-top: 2em;
font-size: small;
}
.cv-side... | a27a675ab24e8cc14ef0c03e546907876d0d3fe8 | immercv/static/css/project.css | immercv/static/css/project.css | CSS |
<|file_sep|>original/dev-requirements.txt
# Build tasks
invoke==1.2.0
# Soft deps
Flask==1.0.2
# Testing
pytest==3.9.3
tox==3.5.3
faker==0.9.2
# Syntax checking
pre-commit==1.12.0
flake8==3.6.0
# Install this package in development mode
-e '.'
<|file_sep|>current/dev-requirements.txt
# Build tasks
invoke==1.2.0
# ... | # Build tasks
invoke==1.2.0
# Soft deps
Flask==1.0.2
# Testing
pytest==3.10.0
tox==3.5.3
faker==0.9.2
# Syntax checking
pre-commit==1.12.0
flake8==3.6.0
# Install this package in development mode
-e '.' | <|file_sep|>original/dev-requirements.txt
# Build tasks
invoke==1.2.0
# Soft deps
Flask==1.0.2
# Testing
pytest==3.9.3
tox==3.5.3
faker==0.9.2
# Syntax checking
pre-commit==1.12.0
flake8==3.6.0
# Install this package in development mode
-e '.'
<|file_sep|>current/dev-requirements.txt
# Build tasks
invoke==1.2.0
# ... | f0fbe4323fce0a86abc23336f0c1d7ef16e25ca1 | dev-requirements.txt | dev-requirements.txt | Text |
<|file_sep|>GerritCommon/src/main/java/com.holmsted/file/FileWriter.java.diff
original:
updated:
import javax.annotation.Nonnull;
<|file_sep|>GerritCommon/src/main/java/com.holmsted/file/FileWriter.java.diff
original:
updated:
mkdirsForFile(dataFile);
<|file_sep|>GerritCommon/src/main/java/com.holmsted/file... | try {
outputStream = new FileOutputStream(dataFile);
byte[] buffer = new byte[4096];
int readBytes;
while ((readBytes = inputStream.read(buffer)) > 0) {
outputStream.write(buffer, 0, readBytes);
}
outputStream.close();
... | <|file_sep|>GerritCommon/src/main/java/com.holmsted/file/FileWriter.java.diff
original:
updated:
import javax.annotation.Nonnull;
<|file_sep|>GerritCommon/src/main/java/com.holmsted/file/FileWriter.java.diff
original:
updated:
mkdirsForFile(dataFile);
<|file_sep|>GerritCommon/src/main/java/com.holmsted/file... | b9aa93c127573b4b1d068290bb4ca2e3eaf4b82c | GerritCommon/src/main/java/com.holmsted/file/FileWriter.java | GerritCommon/src/main/java/com.holmsted/file/FileWriter.java | Java |
<|file_sep|>src/vs/workbench/contrib/terminal/browser/media/widgets.css.diff
original:
font-size: 14px;
updated:
font-size: 12px;
<|file_sep|>original/src/vs/workbench/contrib/terminal/browser/media/widgets.css
.monaco-workbench .terminal-widget-overlay {
position: absolute;
left: 0;
right: 0;
bottom: 0;
}
.mona... | .monaco-workbench .terminal-widget-overlay {
position: absolute;
left: 0;
right: 0;
bottom: 0;
}
.monaco-workbench .terminal-message-widget {
font-size: 12px;
line-height: 19px;
padding: 4px 8px;
animation: fadein 100ms linear;
white-space: nowrap;
/* Must be drawn on the top of the terminal's canvases */
z... | <|file_sep|>src/vs/workbench/contrib/terminal/browser/media/widgets.css.diff
original:
font-size: 14px;
updated:
font-size: 12px;
<|file_sep|>original/src/vs/workbench/contrib/terminal/browser/media/widgets.css
.monaco-workbench .terminal-widget-overlay {
position: absolute;
left: 0;
right: 0;
bottom: 0;
}
.mona... | c1d07827ec96db3507790f2a795b833cab642da4 | src/vs/workbench/contrib/terminal/browser/media/widgets.css | src/vs/workbench/contrib/terminal/browser/media/widgets.css | CSS |
<|file_sep|>original/lisp/init-local.el
(require-package 'j-mode)
(require-package 'android-mode)
(require-package 'fuel)
(require-package 'idris-mode)
(require-package 'auctex)
(require-package 'reftex)
(require-package 'auto-complete-auctex)
(require 'auto-complete-auctex)
(setq slime-path (file-name-directory (loc... | (require-package 'j-mode)
(require-package 'android-mode)
(require-package 'fuel)
(require-package 'idris-mode)
(require-package 'auctex)
(require-package 'reftex)
(setq slime-path (file-name-directory (locate-library "slime")))
(setq slime-backend (expand-file-name "swank-loader.lisp" slime-path))
(setq slime-lisp-i... | <|file_sep|>original/lisp/init-local.el
(require-package 'j-mode)
(require-package 'android-mode)
(require-package 'fuel)
(require-package 'idris-mode)
(require-package 'auctex)
(require-package 'reftex)
(require-package 'auto-complete-auctex)
(require 'auto-complete-auctex)
(setq slime-path (file-name-directory (loc... | 70c51521a23d222305af2a59d25c0b42ef0fe1d4 | lisp/init-local.el | lisp/init-local.el | Emacs Lisp |
<|file_sep|>original/doc/requirements.txt
# This is required for the docs build jobs
sphinx>=3.5.1 # BSD
openstackdocstheme>=2.2.1 # Apache-2.0
# This is required for the releasenotes build jobs
reno>=3.1.0 # Apache-2.0
<|file_sep|>current/doc/requirements.txt
# This is required for the docs build jobs
sphinx>=3.5.1 #... | # This is required for the docs build jobs
sphinx>=3.5.1 # BSD
openstackdocstheme>=2.2.1 # Apache-2.0
# This is required for the releasenotes build jobs
reno>=3.2.0 # Apache-2.0 | <|file_sep|>original/doc/requirements.txt
# This is required for the docs build jobs
sphinx>=3.5.1 # BSD
openstackdocstheme>=2.2.1 # Apache-2.0
# This is required for the releasenotes build jobs
reno>=3.1.0 # Apache-2.0
<|file_sep|>current/doc/requirements.txt
# This is required for the docs build jobs
sphinx>=3.5.1 #... | 6e6715bde9b7f940dce7948501341e5c187daf0a | doc/requirements.txt | doc/requirements.txt | Text |
<|file_sep|>{{cookiecutter.repo_name}}/Makefile.diff
original:
.PHONY: docs
updated:
.PHONY: docs po mo
<|file_sep|>original/{{cookiecutter.repo_name}}/Makefile
@echo "coverage - generate a coverage report and open it"
@echo "docs - generate Sphinx HTML documentation and open it"
@echo "apk - build an android apk wi... |
docs:
$(MAKE) -C docs html
xdg-open docs/build/html/index.html
apk:
buildozer -v android debug
deploy:
buildozer android deploy logcat
po:
xgettext -Lpython --keyword=tr:1 --output=messages.pot main.py lang.kv
msgmerge --update --no-fuzzy-matching --backup=off po/en.po messages.pot
msgmerge --update --no-fuz... | <|file_sep|>{{cookiecutter.repo_name}}/Makefile.diff
original:
.PHONY: docs
updated:
.PHONY: docs po mo
<|file_sep|>original/{{cookiecutter.repo_name}}/Makefile
@echo "coverage - generate a coverage report and open it"
@echo "docs - generate Sphinx HTML documentation and open it"
@echo "apk - build an android apk wi... | 8d4b3a88ba01aaa0f3da61c4ad69ce3620939850 | {{cookiecutter.repo_name}}/Makefile | {{cookiecutter.repo_name}}/Makefile | unknown |
<|file_sep|>original/app/views/donations/_donation_row.html.erb
<tr>
<td><%= donation_row.source_view %></td>
<td><%= donation_row.dropoff_location.name if donation_row.dropoff_location.present? %></td>
<td><%= donation_row.storage_location.name %></td>
<td><%= donation_row.line_items.total %></td>
<td><%= do... | <tr>
<td><%= donation_row.source_view %></td>
<td><%= donation_row.dropoff_location.name if donation_row.dropoff_location.present? %></td>
<td><%= donation_row.storage_location.name %></td>
<td><%= donation_row.line_items.total %></td>
<td><%= donation_row.line_items.size %></td>
<td class="text-right">
... | <|file_sep|>original/app/views/donations/_donation_row.html.erb
<tr>
<td><%= donation_row.source_view %></td>
<td><%= donation_row.dropoff_location.name if donation_row.dropoff_location.present? %></td>
<td><%= donation_row.storage_location.name %></td>
<td><%= donation_row.line_items.total %></td>
<td><%= do... | 7b826886a1920969b50b761c1524c51b67d3ecd4 | app/views/donations/_donation_row.html.erb | app/views/donations/_donation_row.html.erb | HTML+ERB |
<|file_sep|>original/README.md
network_merge
=============
Structure-based network alignment. Merging of equivalent nodes and edges in protein-protein interaction (PPI) networks to improve accuracy and reduce network size.
<|file_sep|>current/README.md
network_merge
=============
Structure-based network alignment. Me... | network_merge
=============
Structure-based network alignment. Merging of equivalent nodes and edges in protein-protein interaction (PPI) networks to improve accuracy and reduce network size.
### Build Status
[](https://travis-ci.org/dmyersturnbu... | <|file_sep|>original/README.md
network_merge
=============
Structure-based network alignment. Merging of equivalent nodes and edges in protein-protein interaction (PPI) networks to improve accuracy and reduce network size.
<|file_sep|>current/README.md
network_merge
=============
Structure-based network alignment. Me... | 26bcd40f3c943394b81b2a0dfb9781459936f25b | README.md | README.md | Markdown |
<|file_sep|>original/requirements.txt
certifi==2019.11.28
cffi==1.14.0
chardet==3.0.4
cryptography==3.3.2
decorator==4.4.2
future==0.18.2
httplib2==0.19.0
httpretty==1.0.2
idna==2.9
lxml==4.6.3
oauth2==1.9.0.post1
oauthlib==3.1.0
pycparser==2.20
python-telegram-bot==12.4.2
PyTumblr==0.1.0
requests==2.23.0
requests-oaut... | certifi==2019.11.28
cffi==1.14.0
chardet==3.0.4
cryptography==3.3.2
decorator==4.4.2
future==0.18.2
httplib2==0.19.0
httpretty==1.0.2
idna==2.9
lxml==4.6.5
oauth2==1.9.0.post1
oauthlib==3.1.0
pycparser==2.20
python-telegram-bot==12.4.2
PyTumblr==0.1.0
requests==2.23.0
requests-oauthlib==1.3.0
six==1.14.0
tornado==6.0.4... | <|file_sep|>original/requirements.txt
certifi==2019.11.28
cffi==1.14.0
chardet==3.0.4
cryptography==3.3.2
decorator==4.4.2
future==0.18.2
httplib2==0.19.0
httpretty==1.0.2
idna==2.9
lxml==4.6.3
oauth2==1.9.0.post1
oauthlib==3.1.0
pycparser==2.20
python-telegram-bot==12.4.2
PyTumblr==0.1.0
requests==2.23.0
requests-oaut... | f2bff1373fe7d6c25c4ded570ad3e25ea3928356 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/.github/workflows/maven.yml
name: Maven CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Maven
run:... | name: Maven CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.4.0
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Maven
run: mvn clean package | <|file_sep|>original/.github/workflows/maven.yml
name: Maven CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Maven
run:... | 0dc1b9ce22b5129ff0df06e97016ca3785b7714e | .github/workflows/maven.yml | .github/workflows/maven.yml | YAML |
<|file_sep|>features/support/pass_fail.rb.diff
original:
updated:
state = 'stty -g'
<|file_sep|>features/support/pass_fail.rb.diff
original:
system("stty raw -echo -icanon isig")
updated:
system("stty raw -echo isig")
<|file_sep|>features/support/pass_fail.rb.diff
original:
if str.chr == "p"
upda... | str = STDIN.getc.chr
case
when str.chr == "p"
true
when str.chr =="\r"
true
when str.chr == "f"
false
when str.chr == "x"
false
else
# something
end
ensure
system("stty -raw echo")
end
end
end
World(PassFail) | <|file_sep|>features/support/pass_fail.rb.diff
original:
updated:
state = 'stty -g'
<|file_sep|>features/support/pass_fail.rb.diff
original:
system("stty raw -echo -icanon isig")
updated:
system("stty raw -echo isig")
<|file_sep|>features/support/pass_fail.rb.diff
original:
if str.chr == "p"
upda... | d184618494a51c28ee3197b78847e1ab39ff4110 | features/support/pass_fail.rb | features/support/pass_fail.rb | Ruby |
<|file_sep|>original/src/css/components/Page.css
.Page {
background-color: #ffffff;
position: relative;
z-index: var(--layers-page);
margin-top: var(--header-height);
min-height: calc(100vh - var(--header-height));
box-sizing: border-box;
box-shadow: 0 0 28px 0 rgba(30, 30, 30, 0.3);
padding-bottom: 60p... | .Page {
background-color: #ffffff;
position: relative;
z-index: var(--layers-page);
margin-top: var(--header-height);
min-height: calc(100vh - var(--header-height));
box-sizing: border-box;
box-shadow: 0 0 28px 0 rgba(30, 30, 30, 0.3);
padding-bottom: 100px;
&__heading {
margin: 0;
padding-... | <|file_sep|>original/src/css/components/Page.css
.Page {
background-color: #ffffff;
position: relative;
z-index: var(--layers-page);
margin-top: var(--header-height);
min-height: calc(100vh - var(--header-height));
box-sizing: border-box;
box-shadow: 0 0 28px 0 rgba(30, 30, 30, 0.3);
padding-bottom: 60p... | 324000f7bda81a3ec1f62284de6c7d099abd0234 | src/css/components/Page.css | src/css/components/Page.css | CSS |
<|file_sep|>src/generators/shadows.js.diff
original:
return _(shadows)
.toPairs()
.map(([className, shadow]) => {
return defineClass(`shadow-${className}`, {
boxShadow: shadow,
})
updated:
return _.map(shadows, (shadow, className) => {
return defineClass(`shadow-${className}`, {
... | import _ from 'lodash'
import defineClass from '../util/defineClass'
export default function({shadows}) {
return _.map(shadows, (shadow, className) => {
return defineClass(`shadow-${className}`, {
boxShadow: shadow,
})
})
} | <|file_sep|>src/generators/shadows.js.diff
original:
return _(shadows)
.toPairs()
.map(([className, shadow]) => {
return defineClass(`shadow-${className}`, {
boxShadow: shadow,
})
updated:
return _.map(shadows, (shadow, className) => {
return defineClass(`shadow-${className}`, {
... | 7f506ff0418a19aa0b790638d847918623662708 | src/generators/shadows.js | src/generators/shadows.js | JavaScript |
<|file_sep|>original/tox.ini
# Local host configuration. Run linters and one Python 3 version
[tox]
envlist = lint, py3
# Travis configuration. Maps Travis Python version to tox env targets. Do not
# run linters on old versions of Python because they give different results.
[tox:travis]
3.4 = py3
3.5 = py3
3.6 = py... | # Local host configuration. Run linters and one Python 3 version
[tox]
envlist = lint, py3
# Travis configuration. Maps Travis Python version to tox env targets. Do not
# run linters on old versions of Python because they give different results.
[tox:travis]
3.6 = py3, lint
3.7 = py3, lint
3.8 = py3, lint
3.9 = py3... | <|file_sep|>original/tox.ini
# Local host configuration. Run linters and one Python 3 version
[tox]
envlist = lint, py3
# Travis configuration. Maps Travis Python version to tox env targets. Do not
# run linters on old versions of Python because they give different results.
[tox:travis]
3.4 = py3
3.5 = py3
3.6 = py... | dc7e52dc1da5b10b03df5eeef1e777536c92c806 | tox.ini | tox.ini | INI |
<|file_sep|>original/README.md
# Meditation Player
A minimal guided meditation player, built with Polymer.
## Goal
Play a series of meditation audio segments with arbitrarily long pauses in between segments. Audio must automatically pause between segments, pressing a play button to continue.
## Requirements
### Non ... | # Meditation Player
A minimal guided meditation player, built with Polymer.
## Goal
Play a series of meditation audio segments with arbitrarily long pauses in between segments. Audio must automatically pause between segments, pressing a play button to continue.
## Status
In development, currently as a prototype for t... | <|file_sep|>original/README.md
# Meditation Player
A minimal guided meditation player, built with Polymer.
## Goal
Play a series of meditation audio segments with arbitrarily long pauses in between segments. Audio must automatically pause between segments, pressing a play button to continue.
## Requirements
### Non ... | 98185413ac21fe646b40b04135c711c0ebf5abbc | README.md | README.md | Markdown |
<|file_sep|>original/src/cp-cli.ts
.usage('Usage: $0 [-L] source target')
.demand(2, 2)
.boolean('d')
.alias('d', 'dereference')
.describe('d', 'Dereference symlinks')
.help('h')
.alias('h', 'help').argv;
const source = argv._[0];
const target = argv._[1];
const options: fse.CopyOptions = {
dereference... | .demand(2, 2)
.boolean('d')
.alias('d', 'dereference')
.describe('d', 'Dereference symlinks')
.help('h')
.alias('h', 'help').argv;
const source = argv._[0];
const target = argv._[1];
const options: fse.CopyOptions = {
dereference: argv.dereference,
overwrite: true,
};
fse.copy(source, target, options)... | <|file_sep|>original/src/cp-cli.ts
.usage('Usage: $0 [-L] source target')
.demand(2, 2)
.boolean('d')
.alias('d', 'dereference')
.describe('d', 'Dereference symlinks')
.help('h')
.alias('h', 'help').argv;
const source = argv._[0];
const target = argv._[1];
const options: fse.CopyOptions = {
dereference... | bd3344c7bf5f4d517d3ee3160463b170f191b19f | src/cp-cli.ts | src/cp-cli.ts | TypeScript |
<|file_sep|>original/.travis.yml
language: go
go:
- 1.6
- 1.7
- 1.8
- 1.9
- master
install:
- wget https://github.com/golang/dep/releases/download/v0.3.0/dep-linux-amd64.zip
- unzip dep-linux-amd64.zip
- chmod +x dep
- ./dep ensure
- go get -u github.com/alecthomas/gometalinter
- gometalinter -u -i -f
scri... | language: go
go:
- 1.6
- 1.7
- 1.8
- 1.9
install:
- wget https://github.com/golang/dep/releases/download/v0.3.0/dep-linux-amd64.zip
- unzip dep-linux-amd64.zip
- chmod +x dep
- ./dep ensure
- go get -u github.com/alecthomas/gometalinter
- gometalinter -u -i -f
script:
- go test -race -coverprofile=coverage.t... | <|file_sep|>original/.travis.yml
language: go
go:
- 1.6
- 1.7
- 1.8
- 1.9
- master
install:
- wget https://github.com/golang/dep/releases/download/v0.3.0/dep-linux-amd64.zip
- unzip dep-linux-amd64.zip
- chmod +x dep
- ./dep ensure
- go get -u github.com/alecthomas/gometalinter
- gometalinter -u -i -f
scri... | 322e87ddca8d8397b68a1dd4b58215e1d2b7d867 | .travis.yml | .travis.yml | YAML |
<|file_sep|>tsconfig.json.diff
original:
"lib": ["es6", "dom"]
updated:
"lib": ["es6", "dom"],
"typeRoots": ["./node_modules/@types", "./node_modules/vega-lite/typings"]
<|file_sep|>original/tsconfig.json
{
"compilerOptions": {
"outDir": "./build",
"target": "es6",
"module": "es2015",
"mod... | {
"compilerOptions": {
"outDir": "./build",
"target": "es6",
"module": "es2015",
"moduleResolution": "node",
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"declaration": true,
"strict": true,
"suppressImplicitAnyIndexErrors": true,
"preserveConstEnums": true,
... | <|file_sep|>tsconfig.json.diff
original:
"lib": ["es6", "dom"]
updated:
"lib": ["es6", "dom"],
"typeRoots": ["./node_modules/@types", "./node_modules/vega-lite/typings"]
<|file_sep|>original/tsconfig.json
{
"compilerOptions": {
"outDir": "./build",
"target": "es6",
"module": "es2015",
"mod... | 4cfa95cb8d567371a8b93738b9c50e964f25f918 | tsconfig.json | tsconfig.json | JSON |
<|file_sep|>original/spec/data/events/ignition_off.json
{
"id": "1c048d25b875",
"user": {
"id": "6sQPMSEW71FQ3H"
},
"type": "ignition:off",
"created_at": 1383448450201,
"time_zone": "America/Los_Angeles",
"location": {
"lat": 37.757076,
"lon": -122.448120,
"accuracy_m": 10
},
"vehicle"... | {
"id": "1c048d25b875",
"user": {
"id": "6sQPMSEW71FQ3H",
"v2_id": "U_234325345345"
},
"type": "ignition:off",
"created_at": 1383448450201,
"time_zone": "America/Los_Angeles",
"location": {
"lat": 37.757076,
"lon": -122.448120,
"accuracy_m": 10
},
"vehicle": {
"uri": "https://a... | <|file_sep|>original/spec/data/events/ignition_off.json
{
"id": "1c048d25b875",
"user": {
"id": "6sQPMSEW71FQ3H"
},
"type": "ignition:off",
"created_at": 1383448450201,
"time_zone": "America/Los_Angeles",
"location": {
"lat": 37.757076,
"lon": -122.448120,
"accuracy_m": 10
},
"vehicle"... | da8eb9fca6e6f3237ddcfa9fb609d0e4c7eb5e23 | spec/data/events/ignition_off.json | spec/data/events/ignition_off.json | JSON |
<|file_sep|>original/README.md
[](https://snap-ci.com/TransEmpregos/transempregos-portal/branch/master)
# TEmpregos
Projeto de reformulação do site que tem como objetivo trazer empregos para o público TRANS (transexuais, ... | [](https://snap-ci.com/TransEmpregos/transempregos-portal/branch/master)
[](https://travis-ci.org/alexgwasp/transempregos-portal)
# TE... | <|file_sep|>original/README.md
[](https://snap-ci.com/TransEmpregos/transempregos-portal/branch/master)
# TEmpregos
Projeto de reformulação do site que tem como objetivo trazer empregos para o público TRANS (transexuais, ... | 4a9c75f6d80e38b7dc079691dd156cf630c5b2bf | README.md | README.md | Markdown |
<|file_sep|>app/views/welcome/index.html.erb.diff
original:
<div class="col s12"><h4>Friends in far places</h4></div>
updated:
<div class="col s12"><h4>Find friends in far places</h4></div>
<|file_sep|>original/app/views/welcome/index.html.erb
<div class="col s12"><h2>Welcome to Global Host</h2></div>... | <div class="col s12"><h4>Find friends in far places</h4></div>
</div>
<div class="row">
<div class="col s12">
<%= render '/sessions/form' %>
</div>
</div>
<hr class=user-page-hr>
<br>
<div class="row">
<div class="col s12">
<div class="category-title">
... | <|file_sep|>app/views/welcome/index.html.erb.diff
original:
<div class="col s12"><h4>Friends in far places</h4></div>
updated:
<div class="col s12"><h4>Find friends in far places</h4></div>
<|file_sep|>original/app/views/welcome/index.html.erb
<div class="col s12"><h2>Welcome to Global Host</h2></div>... | 8bbf5d0425ec5857f166a63b270dcd4c54fec5b4 | app/views/welcome/index.html.erb | app/views/welcome/index.html.erb | HTML+ERB |
<|file_sep|>original/updates.json
{
"versionCode": 784,
"message":
{
"en-us": "-Add firebase notification\n-Create update function\n-Create update function\n"
}
}
<|file_sep|>current/updates.json
{
"versionCode": 784,
"message":
{
"en-us": "-Add firebase notification\n-Create... | {
"versionCode": 784,
"message":
{
"en-us": "-Add firebase notification\n-Create update new version\n"
}
} | <|file_sep|>original/updates.json
{
"versionCode": 784,
"message":
{
"en-us": "-Add firebase notification\n-Create update function\n-Create update function\n"
}
}
<|file_sep|>current/updates.json
{
"versionCode": 784,
"message":
{
"en-us": "-Add firebase notification\n-Create... | 215cbc5892cdab7cbf57c3ccdf08a98ca4a841da | updates.json | updates.json | JSON |
<|file_sep|>spec/docstrings_spec.rb.diff
original:
it 'should have a version number' do
Docstrings::VERSION.should_not be_nil
updated:
class TestClass
def no_docstring
end
def simple_docstring
"""Simple"""
end
<|file_sep|>original/spec/docstrings_spec.rb
require 'spec_helper'
describe Do... | describe Docstrings do
class TestClass
def no_docstring
end
def simple_docstring
"""Simple"""
end
end
def docstring_for_method(method_name)
TestClass.instance_method(method_name).docstring
end
it "works with simple docstrings" do
docstring_for_method(:simple_docstring).should ... | <|file_sep|>spec/docstrings_spec.rb.diff
original:
it 'should have a version number' do
Docstrings::VERSION.should_not be_nil
updated:
class TestClass
def no_docstring
end
def simple_docstring
"""Simple"""
end
<|file_sep|>original/spec/docstrings_spec.rb
require 'spec_helper'
describe Do... | 975adc43a96e3f30be8a29a722ea5a9dba826492 | spec/docstrings_spec.rb | spec/docstrings_spec.rb | Ruby |
<|file_sep|>original/mpld3/test_plots/test_date_ticks.py
"""Plot to test custom date axis tick locations and labels"""
from datetime import datetime
import matplotlib.pyplot as plt
import mpld3
def create_plot():
times = [datetime(2013, 12, i) for i in range(1, 20)]
ticks = [times[0], times[1], times[2], time... | """
Plot to test custom date axis tick locations and labels
NOTE (@vladh): We may see different behaviour in mpld3 vs d3 for the y axis, because we never
specified exactly how we want the y axis formatted. This is ok.
"""
from datetime import datetime
import matplotlib.pyplot as plt
import mpld3
def create_plot():
... | <|file_sep|>original/mpld3/test_plots/test_date_ticks.py
"""Plot to test custom date axis tick locations and labels"""
from datetime import datetime
import matplotlib.pyplot as plt
import mpld3
def create_plot():
times = [datetime(2013, 12, i) for i in range(1, 20)]
ticks = [times[0], times[1], times[2], time... | ce13dd0fd049782531e939da9a5238a6f5493b8d | mpld3/test_plots/test_date_ticks.py | mpld3/test_plots/test_date_ticks.py | Python |
<|file_sep|>original/tests/src/MicrodataPhpTest.php
namespace linclark\MicrodataPHP;
/**
* Tests the MicrodataPHP functionality.
*/
class MicrodataPhpTest extends \PHPUnit_Framework_TestCase {
/**
* Tests parsing a sample html document.
*/
public function testParseMicroData() {
$config = array('html' ... | /**
* Tests parsing a sample html document.
*/
public function testParseMicroData() {
$config = array('html' => file_get_contents(__DIR__ . '/../data/person.html'));
$microdata = new MicrodataPhp($config);
$data = $microdata->obj();
$name = $data->items[0]->properties['name'][0];
$this->... | <|file_sep|>original/tests/src/MicrodataPhpTest.php
namespace linclark\MicrodataPHP;
/**
* Tests the MicrodataPHP functionality.
*/
class MicrodataPhpTest extends \PHPUnit_Framework_TestCase {
/**
* Tests parsing a sample html document.
*/
public function testParseMicroData() {
$config = array('html' ... | 0c05ac1d8b093fd5e3e19940d2e7bd3197e548b8 | tests/src/MicrodataPhpTest.php | tests/src/MicrodataPhpTest.php | PHP |
<|file_sep|>original/config/cronotab.rb
# cronotab.rb — Crono configuration file
#
# Here you can specify periodic jobs and schedule.
# You can use ActiveJob's jobs from `app/jobs/`
# You can use any class. The only requirement is that
# class should have a method `perform` without arguments.
#
# class TestJob
# def ... | # cronotab.rb — Crono configuration file
#
# Here you can specify periodic jobs and schedule.
# You can use ActiveJob's jobs from `app/jobs/`
# You can use any class. The only requirement is that
# class should have a method `perform` without arguments.
#
# class TestJob
# def perform
# puts 'Test!'
# end
# end... | <|file_sep|>original/config/cronotab.rb
# cronotab.rb — Crono configuration file
#
# Here you can specify periodic jobs and schedule.
# You can use ActiveJob's jobs from `app/jobs/`
# You can use any class. The only requirement is that
# class should have a method `perform` without arguments.
#
# class TestJob
# def ... | ce8a413311a7ec00fc4495208b109d1fadbfc8a8 | config/cronotab.rb | config/cronotab.rb | Ruby |
<|file_sep|>original/init-maxframe.el
(require 'maxframe)
(when *is-cocoa-emacs*
(fset 'maximize-frame 'x-maximize-frame)
(fset 'restore-frame 'x-restore-frame))
(when *macbook-pro-support-enabled*
(setq mf-max-width 1440)
(setq mf-max-height 898)
(setq mf-offset-x 0))
(defmacro with-selected-frame (frame &r... | (require 'maxframe)
(when *is-cocoa-emacs*
(fset 'maximize-frame 'x-maximize-frame)
(fset 'restore-frame 'x-restore-frame))
(when *macbook-pro-support-enabled*
(setq mf-max-width 1440)
(setq mf-max-height 890)
(setq mf-offset-x 0))
(defmacro with-selected-frame (frame &rest forms)
(let ((prev-frame (gensym... | <|file_sep|>original/init-maxframe.el
(require 'maxframe)
(when *is-cocoa-emacs*
(fset 'maximize-frame 'x-maximize-frame)
(fset 'restore-frame 'x-restore-frame))
(when *macbook-pro-support-enabled*
(setq mf-max-width 1440)
(setq mf-max-height 898)
(setq mf-offset-x 0))
(defmacro with-selected-frame (frame &r... | 163d23a1a1fad123b7cd38fc843a40ab9d963f5f | init-maxframe.el | init-maxframe.el | Emacs Lisp |
<|file_sep|>original/.teamcity/_Self/Constants.kt
package _Self
object Constants {
const val DEFAULT_CHANNEL = "default"
const val EAP_CHANNEL = "eap"
const val DEV_CHANNEL = "Dev"
const val VERSION = "1.10.3"
const val DEV_VERSION = "1.11.0"
const val GITHUB_TESTS = "LATEST-EAP-SNAPSHOT"
const val NVI... | object Constants {
const val DEFAULT_CHANNEL = "default"
const val EAP_CHANNEL = "eap"
const val DEV_CHANNEL = "Dev"
const val VERSION = "1.10.3"
const val DEV_VERSION = "1.11.0"
const val GITHUB_TESTS = "LATEST-EAP-SNAPSHOT"
const val NVIM_TESTS = "LATEST-EAP-SNAPSHOT"
const val PROPERTY_TESTS = "LAT... | <|file_sep|>original/.teamcity/_Self/Constants.kt
package _Self
object Constants {
const val DEFAULT_CHANNEL = "default"
const val EAP_CHANNEL = "eap"
const val DEV_CHANNEL = "Dev"
const val VERSION = "1.10.3"
const val DEV_VERSION = "1.11.0"
const val GITHUB_TESTS = "LATEST-EAP-SNAPSHOT"
const val NVI... | ffa3052b502969079cdb9fab885842fe5466b0f9 | .teamcity/_Self/Constants.kt | .teamcity/_Self/Constants.kt | Kotlin |
<|file_sep|>requirements.txt.diff
original:
oslo.config>=2.3.0 # Apache-2.0
updated:
oslo.config>=1.6.0 # Apache-2.0
<|file_sep|>original/requirements.txt
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# proces... | # The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
oslo.config>=1.6.0 # Apache-2.0
oslo.log>=1.8.0 # Apache-2.0
Paste
PasteDeploy>=1.5.0
pbr>=1.6
pecan>=1.0.0
B... | <|file_sep|>requirements.txt.diff
original:
oslo.config>=2.3.0 # Apache-2.0
updated:
oslo.config>=1.6.0 # Apache-2.0
<|file_sep|>original/requirements.txt
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# proces... | 5564818fb76c6d4a2990f714ee3d029fab2356f5 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/template_src/src/main.vue
<script>
// Import Routes...
import routes from './routes.js'
let theme = 'auto';
if (document.location.search.indexOf('theme=') >= 0) {
theme = document.location.search.split('theme=')[1].split('&')[0];
}
export default {
data() {
return {
f7pa... | theme = document.location.search.split('theme=')[1].split('&')[0];
}
export default {
data() {
return {
f7params: {
theme,
routes,
id: 'io.framework7.testapp',
}
}
},
mounted() {
let vm = this;
document.ad... | <|file_sep|>original/template_src/src/main.vue
<script>
// Import Routes...
import routes from './routes.js'
let theme = 'auto';
if (document.location.search.indexOf('theme=') >= 0) {
theme = document.location.search.split('theme=')[1].split('&')[0];
}
export default {
data() {
return {
f7pa... | e5e7df47dff875acd9786e5e021cbdf30073fef7 | template_src/src/main.vue | template_src/src/main.vue | Vue |
<|file_sep|>original/requirements.txt
deepmerge==0.1.0
pyyaml>=3.13
six==1.12.0
<|file_sep|>current/requirements.txt
deepmerge==0.1.0
pyyaml>=3.13
six==1.12.0
<|file_sep|>updated/requirements.txt | deepmerge==0.1.0
pyyaml>=3.13
six==1.14.0 | <|file_sep|>original/requirements.txt
deepmerge==0.1.0
pyyaml>=3.13
six==1.12.0
<|file_sep|>current/requirements.txt
deepmerge==0.1.0
pyyaml>=3.13
six==1.12.0
<|file_sep|>updated/requirements.txt
deepmerge==0.1.0
pyyaml>=3.13
six==1.14.0 | d640cd13a7d992665718fceea8766653d0dc75af | requirements.txt | requirements.txt | Text |
<|file_sep|>original/.travis.yml
language: php
php:
- 7.0
- 7.1
- 7.2
before_script:
- composer install -n --dev --prefer-source
script: vendor/bin/phpcs --standard=PSR2 src && vendor/bin/phpunit --coverage-text
after_script: vendor/bin/coveralls -v
<|file_sep|>current/.travis.yml
language: php
php:
- 7.... | language: php
php:
- 7.0
- 7.1
- 7.2
- 7.3
- 7.4
- 8.0
- 8.1
before_script:
- composer install -n --dev --prefer-source
script: vendor/bin/phpcs --standard=PSR2 src && vendor/bin/phpunit --coverage-text
after_script: vendor/bin/coveralls -v | <|file_sep|>original/.travis.yml
language: php
php:
- 7.0
- 7.1
- 7.2
before_script:
- composer install -n --dev --prefer-source
script: vendor/bin/phpcs --standard=PSR2 src && vendor/bin/phpunit --coverage-text
after_script: vendor/bin/coveralls -v
<|file_sep|>current/.travis.yml
language: php
php:
- 7.... | 547d4bd0cac5ad5861a462e3c75141f91e8b367e | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements_dev.txt
-e .
pip>=8.1.2
bumpversion==0.5.3
wheel>=0.29.0
watchdog==0.8.3
flake8==3.5.0
tox==2.9.1
coverage==4.4.2
cryptography==2.1.4
PyYAML==3.12
pytest==3.3.0
pytest-runner==3.0
moto[server]==1.1.25
requests==2.18.4
Sphinx==1.6.5
pytest-asyncio==0.8.0
<|file_sep|>current/requirements... | -e .
pip>=8.1.2
bumpversion==0.5.3
wheel>=0.29.0
watchdog==0.8.3
flake8==3.5.0
tox==2.9.1
coverage==4.4.2
cryptography==2.1.4
PyYAML==3.12
pytest==3.3.0
pytest-runner==3.0
moto[server]==1.2.0
requests==2.18.4
Sphinx==1.6.5
pytest-asyncio==0.8.0 | <|file_sep|>original/requirements_dev.txt
-e .
pip>=8.1.2
bumpversion==0.5.3
wheel>=0.29.0
watchdog==0.8.3
flake8==3.5.0
tox==2.9.1
coverage==4.4.2
cryptography==2.1.4
PyYAML==3.12
pytest==3.3.0
pytest-runner==3.0
moto[server]==1.1.25
requests==2.18.4
Sphinx==1.6.5
pytest-asyncio==0.8.0
<|file_sep|>current/requirements... | a2aa1e3512ea687c8bd0fae6deed7cfa2001ef02 | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionSha256Sum=cd5c2958a107ee7f0722004a12d0f8559b4564c34daad7df06cffd4d12a426d0
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip
zipStoreBase=GRADLE_USER_HOM... | distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionSha256Sum=8cc27038d5dbd815759851ba53e70cf62e481b87494cc97cfd97982ada5ba634
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists | <|file_sep|>original/gradle/wrapper/gradle-wrapper.properties
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionSha256Sum=cd5c2958a107ee7f0722004a12d0f8559b4564c34daad7df06cffd4d12a426d0
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip
zipStoreBase=GRADLE_USER_HOM... | a38716f44113d643384c1dd59e8dadc700441533 | gradle/wrapper/gradle-wrapper.properties | gradle/wrapper/gradle-wrapper.properties | INI |
<|file_sep|>original/changelogs/unreleased/wip-new-mr-cmd.yml
title: Port /wip quick action command to Merge Request creation (on description)
merge_request: 17463
author: Adam Pahlevi
<|file_sep|>current/changelogs/unreleased/wip-new-mr-cmd.yml
title: Port /wip quick action command to Merge Request creation (on descri... | title: Port /wip quick action command to Merge Request creation (on description)
merge_request: 17463
author: Adam Pahlevi
type: added | <|file_sep|>original/changelogs/unreleased/wip-new-mr-cmd.yml
title: Port /wip quick action command to Merge Request creation (on description)
merge_request: 17463
author: Adam Pahlevi
<|file_sep|>current/changelogs/unreleased/wip-new-mr-cmd.yml
title: Port /wip quick action command to Merge Request creation (on descri... | 25ed4a7e324f3d08f121436296efd41365e01258 | changelogs/unreleased/wip-new-mr-cmd.yml | changelogs/unreleased/wip-new-mr-cmd.yml | YAML |
<|file_sep|>original/bin/requirements.txt
cachetools==4.2.4
certifi==2021.10.8
chardet==4.0.0
coverage==6.1.1
google-api-core==2.2.1
google-api-python-client==2.28.0
google-auth==2.3.3
google-auth-httplib2==0.1.0
google-auth-oauthlib==0.4.6
googleapis-common-protos==1.53.0
httplib2==0.20.2
idna==3.3
oauth2client==4.1.3... | cachetools==4.2.4
certifi==2021.10.8
chardet==4.0.0
coverage==6.1.1
google-api-core==2.2.1
google-api-python-client==2.29.0
google-auth==2.3.3
google-auth-httplib2==0.1.0
google-auth-oauthlib==0.4.6
googleapis-common-protos==1.53.0
httplib2==0.20.2
idna==3.3
oauth2client==4.1.3
oauthlib==3.1.1
packaging==21.2
protobuf=... | <|file_sep|>original/bin/requirements.txt
cachetools==4.2.4
certifi==2021.10.8
chardet==4.0.0
coverage==6.1.1
google-api-core==2.2.1
google-api-python-client==2.28.0
google-auth==2.3.3
google-auth-httplib2==0.1.0
google-auth-oauthlib==0.4.6
googleapis-common-protos==1.53.0
httplib2==0.20.2
idna==3.3
oauth2client==4.1.3... | 27fa38d79256f5f13a5050361e524e46b98c50a0 | bin/requirements.txt | bin/requirements.txt | Text |
<|file_sep|>original/app/views/includes/head.html
span.exmpt {
font-weight:700;
float:right;
margin-right:-80px;
display:block;
zoom:1;
position:relative;
}
label.exemption {
background-color:#ededed;
border-color:#ededed;
padding-right: 100px;
w... | span.exmpt {
font-weight:700;
float:right;
margin-right:-80px;
display:block;
zoom:1;
position:relative;
}
label.exemption {
background-color:#ededed;
border-color:#ededed;
padding-right: 100px;
width: 66.6666666667%;
}
#main{
margi... | <|file_sep|>original/app/views/includes/head.html
span.exmpt {
font-weight:700;
float:right;
margin-right:-80px;
display:block;
zoom:1;
position:relative;
}
label.exemption {
background-color:#ededed;
border-color:#ededed;
padding-right: 100px;
w... | 48c43d5855b3ae92f8f440ad560405b036d8af05 | app/views/includes/head.html | app/views/includes/head.html | HTML |
<|file_sep|>original/docs/image/sharp-logo-mono.svg
<|file_sep|>current/docs/image/sharp-logo-mono.svg
<|file_sep|>updated/docs/image/sharp-logo-mono.svg | <svg xmlns="http://www.w3.org/2000/svg" viewBox="86 86 550 550">
<!-- Copyright 2021 Lovell Fuller. This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) License. -->
<path fill="none" stroke="#000" stroke-width="80" d="M258.411 285.777l200.176-26.8M244.113 466.413L451... | <|file_sep|>original/docs/image/sharp-logo-mono.svg
<|file_sep|>current/docs/image/sharp-logo-mono.svg
<|file_sep|>updated/docs/image/sharp-logo-mono.svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="86 86 550 550">
<!-- Copyright 2021 Lovell Fuller. This work is licensed under the Creative Commons Attribution-Sha... | 5031c8323fbd9a81a60a9581ab986e89d50a8923 | docs/image/sharp-logo-mono.svg | docs/image/sharp-logo-mono.svg | SVG |
<|file_sep|>original/server/utils/getSelfProfile.js
const getBasicInfo = require('../db/controllers/getSelfBasicInfoGivenFBProfile.js');
module.exports = (req, res, next) => {
console.log('reached');
const fbId = req.user.id;
getBasicInfo(fbId).then(results => {
const user = results[0];
req.idioma.profil... | const getBasicInfo = require('../db/controllers/getSelfBasicInfoGivenFBId.js');
module.exports = (req, res, next) => {
console.log('reached');
const fbId = req.user.id;
getBasicInfo(fbId).then(results => {
const user = results[0];
req.idioma.profile = {
id: user.id,
firstName: user.first_name... | <|file_sep|>original/server/utils/getSelfProfile.js
const getBasicInfo = require('../db/controllers/getSelfBasicInfoGivenFBProfile.js');
module.exports = (req, res, next) => {
console.log('reached');
const fbId = req.user.id;
getBasicInfo(fbId).then(results => {
const user = results[0];
req.idioma.profil... | bd235299e11df8ddcc75d8e21eefa2dfc331d0ef | server/utils/getSelfProfile.js | server/utils/getSelfProfile.js | JavaScript |
<|file_sep|>original/package.json
{
"name" : "fluentreports",
"description" : "A simple, Fluent API for creating PDF Reports",
"url" : "http://github.com/Nathanaela/fluentreports",
"keywords" : ["pdf", "report", "reporting", "print"],
"author" : "Nathanael Anderson <nathan@mas... | {
"name" : "fluentreports",
"description" : "A simple, Fluent API for creating PDF Reports",
"url" : "http://github.com/Nathanaela/fluentreports",
"keywords" : ["pdf", "report", "reporting", "print"],
"author" : "Nathanael Anderson <nathan@master-technology.com> (http://fluent... | <|file_sep|>original/package.json
{
"name" : "fluentreports",
"description" : "A simple, Fluent API for creating PDF Reports",
"url" : "http://github.com/Nathanaela/fluentreports",
"keywords" : ["pdf", "report", "reporting", "print"],
"author" : "Nathanael Anderson <nathan@mas... | efb311e2055de26385801810857729fadc571470 | package.json | package.json | JSON |
<|file_sep|>original/app/controllers/application_controller.rb
# For APIs, you may want to use :null_session instead.
protect_from_forgery with: :exception
rescue_from CanCan::AccessDenied do |exception|
redirect_to root_url, alert: exception.message
end
def append_info_to_payload(payload)
super
... | # For APIs, you may want to use :null_session instead.
protect_from_forgery with: :exception
rescue_from CanCan::AccessDenied do |exception|
redirect_to root_url, alert: exception.message
end
def append_info_to_payload(payload)
super
# More info for Lograge
payload[:customer_id] = current_us... | <|file_sep|>original/app/controllers/application_controller.rb
# For APIs, you may want to use :null_session instead.
protect_from_forgery with: :exception
rescue_from CanCan::AccessDenied do |exception|
redirect_to root_url, alert: exception.message
end
def append_info_to_payload(payload)
super
... | b3b8254f39e445ee48f062e776208a6a519a36ec | app/controllers/application_controller.rb | app/controllers/application_controller.rb | Ruby |
<|file_sep|>original/doc/Index.md
Model418
======
1. [Quick Start](Quick-Start.md)
2. [File Provider](File-Provider.md)
<|file_sep|>current/doc/Index.md
Model418
======
1. [Quick Start](Quick-Start.md)
2. [File Provider](File-Provider.md)
<|file_sep|>updated/doc/Index.md | Model418
======
1. [Quick Start](Quick-Start.md)
2. [Advanced Model](Advanced-Model.md) (*ToDo*)
3. [Advanced Query](Advanced-Query.md) (*ToDo*)
4. [File Provider](File-Provider.md) (*ToDo*) | <|file_sep|>original/doc/Index.md
Model418
======
1. [Quick Start](Quick-Start.md)
2. [File Provider](File-Provider.md)
<|file_sep|>current/doc/Index.md
Model418
======
1. [Quick Start](Quick-Start.md)
2. [File Provider](File-Provider.md)
<|file_sep|>updated/doc/Index.md
Model418
======
1. [Quick Start](Quick-Start.... | c377c813d22526cb5b807530c459ef573ddab958 | doc/Index.md | doc/Index.md | Markdown |
<|file_sep|>osu.Game/Online/Rooms/JoinRoomRequest.cs.diff
original:
updated:
req.AddParameter(@"password", Password, RequestParameterType.Query);
<|file_sep|>original/osu.Game/Online/Rooms/JoinRoomRequest.cs
{
public readonly Room Room;
public readonly string Password;
public J... | {
public readonly Room Room;
public readonly string Password;
public JoinRoomRequest(Room room, string password)
{
Room = room;
Password = password;
}
protected override WebRequest CreateWebRequest()
{
var req = base.Creat... | <|file_sep|>osu.Game/Online/Rooms/JoinRoomRequest.cs.diff
original:
updated:
req.AddParameter(@"password", Password, RequestParameterType.Query);
<|file_sep|>original/osu.Game/Online/Rooms/JoinRoomRequest.cs
{
public readonly Room Room;
public readonly string Password;
public J... | 6dbdfcc70cd9f228707977e34bb56329e97b867f | osu.Game/Online/Rooms/JoinRoomRequest.cs | osu.Game/Online/Rooms/JoinRoomRequest.cs | C# |
<|file_sep|>original/data/transition-sites/defra_sd.yml
<|file_sep|>current/data/transition-sites/defra_sd.yml
<|file_sep|>updated/data/transition-sites/defra_sd.yml | ---
site: defra_sd
whitehall_slug: department-for-environment-food-rural-affairs
title: Department for Environment, Food & Rural Affairs
redirection_date: 31st May 2014
homepage: https://www.gov.uk/government/organisations/department-for-environment-food-rural-affairs
tna_timestamp: 20131001185437
host: sd.defra.go... | <|file_sep|>original/data/transition-sites/defra_sd.yml
<|file_sep|>current/data/transition-sites/defra_sd.yml
<|file_sep|>updated/data/transition-sites/defra_sd.yml
---
site: defra_sd
whitehall_slug: department-for-environment-food-rural-affairs
title: Department for Environment, Food & Rural Affairs
redirection... | d0e30d6f32a53a18f1ebdfb4311a5ac2951ab3f8 | data/transition-sites/defra_sd.yml | data/transition-sites/defra_sd.yml | YAML |
<|file_sep|>readme.md.diff
original:
gem 'lessneglect'
updated:
gem 'lessneglect', :git => 'git://github.com/zmillman/lessneglect-ruby.git'
```
Configuration
---
Configure LessNeglect with your API credentials. (This should go in an initializer in Rails applications)
```ruby
LessNeglect.configure do |config|
confi... | ```
Usage
---
```ruby
person = {
:name => "Christopher Gooley",
:email => "gooley@foliohd.com",
:external_identifer => "gooley",
:properties => {
:account_level => "Pro",
:is_paying => True,
:created_at => 1347060566
}
}
LessNeglect.log_event(person, 'upgraded', :price_paid => '25.00')
```
Cop... | <|file_sep|>readme.md.diff
original:
gem 'lessneglect'
updated:
gem 'lessneglect', :git => 'git://github.com/zmillman/lessneglect-ruby.git'
```
Configuration
---
Configure LessNeglect with your API credentials. (This should go in an initializer in Rails applications)
```ruby
LessNeglect.configure do |config|
confi... | 19ed4d2b2ca79e69dea57d84c562ce8a0b52bb72 | readme.md | readme.md | Markdown |
<|file_sep|>original/spec/lib/box_spec.rb
<|file_sep|>current/spec/lib/box_spec.rb
<|file_sep|>updated/spec/lib/box_spec.rb | require 'spec_helper'
require 'pathname'
describe Caja::Box do
context "initialization" do
it "should raise an error if the data store can not be created" do
let(:bad_path) { "~/i-dont-exist.db"}
expect { Caja::Box.new(bad_path) }.to raise_error(Caja::IOError)
PathName::File.exist?(bad... | <|file_sep|>original/spec/lib/box_spec.rb
<|file_sep|>current/spec/lib/box_spec.rb
<|file_sep|>updated/spec/lib/box_spec.rb
require 'spec_helper'
require 'pathname'
describe Caja::Box do
context "initialization" do
it "should raise an error if the data store can not be created" do
let(:bad_path)... | 8b60c9147973737ebf6e1cec2c0e0a7a992c48e5 | spec/lib/box_spec.rb | spec/lib/box_spec.rb | Ruby |
<|file_sep|>original/ui/src/utils/formatting.js
const k = 1000;
const dm = 2;
const sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'];
const i = Math.floor(Math.log(bytes) / Math.log(k));
return `${parseFloat((bytes / Math.pow(k, i)).toFixed(dm))} ${sizes[i]}`;
}
export const formatRPDuratio... | const k = 1000;
const dm = 2;
const sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'];
const i = Math.floor(Math.log(bytes) / Math.log(k));
return `${parseFloat((bytes / Math.pow(k, i)).toFixed(dm))} ${sizes[i]}`;
}
export const formatRPDuration = (duration) => {
if (duration === '0' || du... | <|file_sep|>original/ui/src/utils/formatting.js
const k = 1000;
const dm = 2;
const sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'];
const i = Math.floor(Math.log(bytes) / Math.log(k));
return `${parseFloat((bytes / Math.pow(k, i)).toFixed(dm))} ${sizes[i]}`;
}
export const formatRPDuratio... | ba442737793f0f51ce29f502f54f90178821035b | ui/src/utils/formatting.js | ui/src/utils/formatting.js | JavaScript |
<|file_sep|>original/README.md
# App Catalog
A collection of extensible apps from Rally's [App Catalog](https://help.rallydev.com/app-catalog).
The apps in this repository are written against the nightly version of App SDK 2, which is not guaranteed to be stable.
The latest stable version of the app catalog is availbl... | # App Catalog
A collection of extensible apps from Rally's [App Catalog](https://help.rallydev.com/app-catalog).
The apps in this repository are written against the nightly version of App SDK 2, which is not guaranteed to be stable.
The latest stable version of the app catalog is availble here: https://github.com/Rall... | <|file_sep|>original/README.md
# App Catalog
A collection of extensible apps from Rally's [App Catalog](https://help.rallydev.com/app-catalog).
The apps in this repository are written against the nightly version of App SDK 2, which is not guaranteed to be stable.
The latest stable version of the app catalog is availbl... | b5ab61f2c58ec2e8684c7cd11c7faa831afa87d5 | README.md | README.md | Markdown |
<|file_sep|>original/tests/WebGL-CTS-known-failures.txt
Known failures in the WebGL CTS 1.0.4, top of tree, using Chromium
https://www.khronos.org/registry/webgl/sdk/tests/webgl-conformance-tests.html
conformance/context/user-defined-properties-on-context.html: 1 tests failed
conformance/extensions/ext-frag-depth.html... | Known failures in the WebGL CTS 1.0.4, top of tree, using Chromium
https://www.khronos.org/registry/webgl/sdk/tests/webgl-conformance-tests.html
conformance/glsl/bugs/pow-of-small-constant-in-user-defined-function.html: 1 tests failed
conformance/glsl/bugs/sampler-struct-function-arg.html: 1 tests failed
conformance/g... | <|file_sep|>original/tests/WebGL-CTS-known-failures.txt
Known failures in the WebGL CTS 1.0.4, top of tree, using Chromium
https://www.khronos.org/registry/webgl/sdk/tests/webgl-conformance-tests.html
conformance/context/user-defined-properties-on-context.html: 1 tests failed
conformance/extensions/ext-frag-depth.html... | 6036a1fe4f5713d4ccd59914a89b940fc7c58d2d | tests/WebGL-CTS-known-failures.txt | tests/WebGL-CTS-known-failures.txt | Text |
<|file_sep|>scripts/purge_staging.rb.diff
original:
updated:
USER = 'feeder'.freeze
<|file_sep|>scripts/purge_staging.rb.diff
original:
url: 'https://candy.freefeed.net/v2/timelines/feeder',
updated:
url: 'https://candy.freefeed.net/v2/timelines/home?offset=0',
<|file_sep|>scripts/purge_staging.rb.diff
origin... | user_id = users.find { |user| user['username'] == USER }['id']
own_posts = posts.select { |post| post['createdBy'] == user_id }
unless own_posts.any?
puts "#{posts_count} deleted"
exit
end
puts "#{own_posts.length} posts loaded"
own_posts.each do |post|
post_id = post['id']
puts "deletin... | <|file_sep|>scripts/purge_staging.rb.diff
original:
updated:
USER = 'feeder'.freeze
<|file_sep|>scripts/purge_staging.rb.diff
original:
url: 'https://candy.freefeed.net/v2/timelines/feeder',
updated:
url: 'https://candy.freefeed.net/v2/timelines/home?offset=0',
<|file_sep|>scripts/purge_staging.rb.diff
origin... | e352e60140bedb1ef5f562da19e4762a52d90d54 | scripts/purge_staging.rb | scripts/purge_staging.rb | Ruby |
<|file_sep|>original/CODE_OF_CONDUCT.md
<|file_sep|>current/CODE_OF_CONDUCT.md
<|file_sep|>updated/CODE_OF_CONDUCT.md | # Contributor Covenant Code of Conduct
## Our Pledge
In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, gender... | <|file_sep|>original/CODE_OF_CONDUCT.md
<|file_sep|>current/CODE_OF_CONDUCT.md
<|file_sep|>updated/CODE_OF_CONDUCT.md
# Contributor Covenant Code of Conduct
## Our Pledge
In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project ... | 08c83af2d32c6a6b40e6c36500fa3d20d529abda | CODE_OF_CONDUCT.md | CODE_OF_CONDUCT.md | Markdown |
<|file_sep|>original/.travis.yml
sudo: false
language: ruby
install: 'gem update --system; gem install bundler; bundle install --retry=3'
before_script: unset CI
script: 'ruby -vr bundler/setup -S rake test'
matrix:
include:
- rvm: 2.4
env: RUBYOPT=--enable-frozen-string-literal
- rvm: 2.5
env: ... | sudo: false
language: ruby
install: 'gem update --system; gem install bundler; bundle install --retry=3'
before_script: unset CI
script: 'ruby -vr bundler/setup -S rake test'
matrix:
include:
- rvm: 2.6
env: RUBYOPT=--enable-frozen-string-literal
- rvm: 2.7
env: RUBYOPT=--enable-frozen-string-li... | <|file_sep|>original/.travis.yml
sudo: false
language: ruby
install: 'gem update --system; gem install bundler; bundle install --retry=3'
before_script: unset CI
script: 'ruby -vr bundler/setup -S rake test'
matrix:
include:
- rvm: 2.4
env: RUBYOPT=--enable-frozen-string-literal
- rvm: 2.5
env: ... | 977267a73260d9df68674c548f3a15bcbd495873 | .travis.yml | .travis.yml | YAML |
<|file_sep|>.appveyor.yml.diff
original:
updated:
- Visual Studio 2015
<|file_sep|>original/.appveyor.yml
image:
- Visual Studio 2017
build_script:
- git submodule update --init --recursive
- mkdir build
- cd build
- sh: cmake ..
- cmd: cmake .. -G "Visual Studio 15 2017"
- cmake --build .
<|file_sep|... | image:
- Visual Studio 2015
- Visual Studio 2017
for:
-
matrix:
only:
- image: Visual Studio 2015
build_script:
- git submodule update --init
- mkdir build
- cd build
- cmake .. -G "Visual Studio 14 2015"
- cmake --build .
-
matrix:
only:
- image: Visual Studio 2017
... | <|file_sep|>.appveyor.yml.diff
original:
updated:
- Visual Studio 2015
<|file_sep|>original/.appveyor.yml
image:
- Visual Studio 2017
build_script:
- git submodule update --init --recursive
- mkdir build
- cd build
- sh: cmake ..
- cmd: cmake .. -G "Visual Studio 15 2017"
- cmake --build .
<|file_sep|... | dd1ae5a79e05d949d462a34038c311be98f6c695 | .appveyor.yml | .appveyor.yml | YAML |
<|file_sep|>.kitchen.cloud.yml.diff
original:
Name: mcrouter-ubuntu-1404
updated:
<|file_sep|>.kitchen.cloud.yml.diff
original:
updated:
Env: public
<|file_sep|>original/.kitchen.cloud.yml
Type: test
transport:
ssh_key: <%= ENV['EC2_SSH_KEY_PATH'] %>
provisioner:
name: chef_zero
platforms:
- name... | Type: test
Env: public
transport:
ssh_key: <%= ENV['EC2_SSH_KEY_PATH'] %>
provisioner:
name: chef_zero
platforms:
- name: ubuntu-14.04
driver_config:
image_id: ami-9301c7f8
tags:
Name: mcrouter-default-ubuntu-1404
suites:
- name: default
run_list:
- recipe[mcrouter:... | <|file_sep|>.kitchen.cloud.yml.diff
original:
Name: mcrouter-ubuntu-1404
updated:
<|file_sep|>.kitchen.cloud.yml.diff
original:
updated:
Env: public
<|file_sep|>original/.kitchen.cloud.yml
Type: test
transport:
ssh_key: <%= ENV['EC2_SSH_KEY_PATH'] %>
provisioner:
name: chef_zero
platforms:
- name... | 956cd42b284fb21eb9080120e1617d6b0a687b6d | .kitchen.cloud.yml | .kitchen.cloud.yml | YAML |
<|file_sep|>original/components/PersonListView.js
icon={{color: colors.tintColor}}
clearButtonMode='always'
placeholder='Buscar'
/>
<ScrollView style={styles.container}>
<List containerStyle={styles.list}>
{
list.map((l, i) => (
<ListItem
... | icon={{color: colors.tintColor}}
clearButtonMode='always'
placeholder='Buscar'
/>
<ScrollView style={styles.container}>
<List containerStyle={styles.list}>
{
list.map((l, i) => (
<ListItem
roundAvatar
avatar=... | <|file_sep|>original/components/PersonListView.js
icon={{color: colors.tintColor}}
clearButtonMode='always'
placeholder='Buscar'
/>
<ScrollView style={styles.container}>
<List containerStyle={styles.list}>
{
list.map((l, i) => (
<ListItem
... | ca0bd590276676051f563280b89aed0a825a1e52 | components/PersonListView.js | components/PersonListView.js | JavaScript |
<|file_sep|>original/puppetboard/static/js/timestamps.js
if (timestamp === "None"){
return '';
};
d = moment.utc(timestamp);
d.local();
return d;
};
$("[rel=utctimestamp]").each(
function(index, timestamp){
var tstamp = $(timestamp);
var tstring = tstamp.text().trim();
... | if (timestamp === "None"){
return '';
};
d = moment.utc(timestamp);
d.local();
return d;
};
$("[rel=utctimestamp]").each(
function(index, timestamp){
var tstamp = $(timestamp);
var tstring = tstamp.text().trim();
var result = localise_timestamp(tstring);
if (re... | <|file_sep|>original/puppetboard/static/js/timestamps.js
if (timestamp === "None"){
return '';
};
d = moment.utc(timestamp);
d.local();
return d;
};
$("[rel=utctimestamp]").each(
function(index, timestamp){
var tstamp = $(timestamp);
var tstring = tstamp.text().trim();
... | ce4c7a26cdf89dff39c9fb987dbda6a6d947cad2 | puppetboard/static/js/timestamps.js | puppetboard/static/js/timestamps.js | JavaScript |
<|file_sep|>Source/Eto.Mac/Properties/AssemblyInfo.cs.diff
original:
updated:
[assembly: AssemblyTitle("Eto.Forms - MonoMac 64-bit Platform")]
[assembly: AssemblyDescription("OS X Platform for the Eto.Forms UI Framework using the open-source MonoMac with 64-bit mono")]
#else
<|file_sep|>original/Source/Eto.Mac/Propert... | using System.Reflection;
#if XAMMAC2
[assembly: AssemblyTitle("Eto.Forms - Xamarin.Mac v2.0 Platform")]
[assembly: AssemblyDescription("OS X Platform for the Eto.Forms UI Framework using Xamarin.Mac v2.0")]
#elif XAMMAC
[assembly: AssemblyTitle("Eto.Forms - Xamarin.Mac Platform")]
[assembly: AssemblyDescription("OS X ... | <|file_sep|>Source/Eto.Mac/Properties/AssemblyInfo.cs.diff
original:
updated:
[assembly: AssemblyTitle("Eto.Forms - MonoMac 64-bit Platform")]
[assembly: AssemblyDescription("OS X Platform for the Eto.Forms UI Framework using the open-source MonoMac with 64-bit mono")]
#else
<|file_sep|>original/Source/Eto.Mac/Propert... | 90ef417afc30e542bcef8b43ac2c290217230372 | Source/Eto.Mac/Properties/AssemblyInfo.cs | Source/Eto.Mac/Properties/AssemblyInfo.cs | C# |
<|file_sep|>original/tsconfig.json
{
"compilerOptions": {
"target": "es5",
"noImplicitAny": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"moduleResolution": "node",
"pretty": true,
"sourceMap": true
},
"include": [
"src/**/*.ts"
],
"exclude": [
"node_modules",
... | {
"compilerOptions": {
"target": "es3",
"noImplicitAny": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"moduleResolution": "node",
"pretty": true,
"sourceMap": true
},
"include": [
"src/**/*.ts"
],
"exclude": [
"node_modules",
"src/**/*.test.ts"
]
} | <|file_sep|>original/tsconfig.json
{
"compilerOptions": {
"target": "es5",
"noImplicitAny": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"moduleResolution": "node",
"pretty": true,
"sourceMap": true
},
"include": [
"src/**/*.ts"
],
"exclude": [
"node_modules",
... | b60f9ff2ac7e9c30a3eb81b0c83e53dc3fe8cef6 | tsconfig.json | tsconfig.json | JSON |
<|file_sep|>original/bundler/benchmarks/bm_bundle_exec_shell.rb
<|file_sep|>current/bundler/benchmarks/bm_bundle_exec_shell.rb
<|file_sep|>updated/bundler/benchmarks/bm_bundle_exec_shell.rb | require_relative 'support/benchmark_bundler.rb'
require 'bundler/cli'
noop_gem = Pathname(__FILE__).expand_path + '../gems/noop-gem'
Dir.mktmpdir do |dir|
Dir.chdir(dir) do
File.write('Gemfile', <<-GEMFILE)
source 'https://rubygems.org'
gem 'rails'
gem 'noop-gem', path: '#{noop_gem}'
GEMFI... | <|file_sep|>original/bundler/benchmarks/bm_bundle_exec_shell.rb
<|file_sep|>current/bundler/benchmarks/bm_bundle_exec_shell.rb
<|file_sep|>updated/bundler/benchmarks/bm_bundle_exec_shell.rb
require_relative 'support/benchmark_bundler.rb'
require 'bundler/cli'
noop_gem = Pathname(__FILE__).expand_path + '../gems/noop... | c0bd811c0e46d23dc6e6fde7658810492d418051 | bundler/benchmarks/bm_bundle_exec_shell.rb | bundler/benchmarks/bm_bundle_exec_shell.rb | Ruby |
<|file_sep|>original/src/types.ts
cacheDir: string
compilerJars: string
dotEnsimePath: string
sourceRoots: [string]
}
export class EnsimeInstance {
rootDir: string;
constructor(public dotEnsime: DotEnsime, public client: any, public ui?: any) {
}
isSourceOf = (path) => _.some... | cacheDir: string
compilerJars: string
dotEnsimePath: string
sourceRoots: [string]
}
export class EnsimeInstance {
rootDir: string;
constructor(public dotEnsime: DotEnsime, public client: any, public ui?: any) {
this.rootDir = dotEnsime.rootDir;
}
isSourceOf = (path) =... | <|file_sep|>original/src/types.ts
cacheDir: string
compilerJars: string
dotEnsimePath: string
sourceRoots: [string]
}
export class EnsimeInstance {
rootDir: string;
constructor(public dotEnsime: DotEnsime, public client: any, public ui?: any) {
}
isSourceOf = (path) => _.some... | 2e6e81599e36eeb58189401d363797fb32e4f3c7 | src/types.ts | src/types.ts | TypeScript |
<|file_sep|>original/composer.json
{
"name": "bossa/phpspec2-expect",
"description": "Helper that decorates any SUS with a phpspec lazy object wrapper",
"keywords": ["BDD", "SpecBDD", "TDD", "spec", "specification"],
"license": "MIT",
"authors": [
{
"name... | {
"name": "bossa/phpspec2-expect",
"description": "Helper that decorates any SUS with a phpspec lazy object wrapper",
"keywords": ["BDD", "SpecBDD", "TDD", "spec", "specification"],
"license": "MIT",
"authors": [
{
"name": "Marcello Duarte",
... | <|file_sep|>original/composer.json
{
"name": "bossa/phpspec2-expect",
"description": "Helper that decorates any SUS with a phpspec lazy object wrapper",
"keywords": ["BDD", "SpecBDD", "TDD", "spec", "specification"],
"license": "MIT",
"authors": [
{
"name... | 790937986f5f9e01f9c6530a73444d66fa89c621 | composer.json | composer.json | JSON |
<|file_sep|>original/.travis.yml
sudo: false
language: ruby
rvm:
- 2.1.5
- 2.4.1
before_install: gem install bundler -v 1.14.6
<|file_sep|>current/.travis.yml
sudo: false
language: ruby
rvm:
- 2.1.5
- 2.4.1
before_install: gem install bundler -v 1.14.6
<|file_sep|>updated/.travis.yml | sudo: false
language: ruby
rvm:
- 2.1.5
- 2.4.1
before_install: gem install bundler -v 1.14.6
cache: bundler | <|file_sep|>original/.travis.yml
sudo: false
language: ruby
rvm:
- 2.1.5
- 2.4.1
before_install: gem install bundler -v 1.14.6
<|file_sep|>current/.travis.yml
sudo: false
language: ruby
rvm:
- 2.1.5
- 2.4.1
before_install: gem install bundler -v 1.14.6
<|file_sep|>updated/.travis.yml
sudo: false
language: ruby
... | e482200e3ab8d51c31bb775015b07b4573fcd091 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/app/controllers/application_controller.rb
class ApplicationController < ActionController::Base
# Prevent CSRF attacks by raising an exception.
# For APIs, you may want to use :null_session instead.
protect_from_forgery with: :exception
rescue_from MongoMapper::DocumentNotFound, :with => :e... | class ApplicationController < ActionController::Base
# Prevent CSRF attacks by raising an exception.
# For APIs, you may want to use :null_session instead.
protect_from_forgery :with => :null_session
rescue_from MongoMapper::DocumentNotFound, :with => :error_404
protected
def error_404
render :status... | <|file_sep|>original/app/controllers/application_controller.rb
class ApplicationController < ActionController::Base
# Prevent CSRF attacks by raising an exception.
# For APIs, you may want to use :null_session instead.
protect_from_forgery with: :exception
rescue_from MongoMapper::DocumentNotFound, :with => :e... | e0509455da94b9f6610a8766921d25a3e1f0079b | app/controllers/application_controller.rb | app/controllers/application_controller.rb | Ruby |
<|file_sep|>original/.travis.yml
env:
- PACKAGE_VERSION=high
matrix:
include:
- php: 5.3.3
env: PACKAGE_VERSION=low
before_script:
# FIXME: remove require on jackalope/jackalope-transport
# temporary fix until https://github.com/composer/composer/issues/2038 is implemented
- sed '/jackalope\/jacka... | - 5.6
- hhvm
env:
- PACKAGE_VERSION=high
matrix:
include:
- php: 5.3.3
env: PACKAGE_VERSION=low
before_script:
- composer remove jackalope/jackalope-transport
- composer selfupdate
- if [[ "$PACKAGE_VERSION" == "high" ]]; then composer update --prefer-source; fi
- if [[ "$PACKAGE_VERSION" ==... | <|file_sep|>original/.travis.yml
env:
- PACKAGE_VERSION=high
matrix:
include:
- php: 5.3.3
env: PACKAGE_VERSION=low
before_script:
# FIXME: remove require on jackalope/jackalope-transport
# temporary fix until https://github.com/composer/composer/issues/2038 is implemented
- sed '/jackalope\/jacka... | 73e76270deafa538b253ab277c8940726f3fa4d2 | .travis.yml | .travis.yml | YAML |
<|file_sep|>setup.cfg.diff
original:
updated:
<|file_sep|>original/setup.cfg
[yapf]
based_on_style=facebook
COLUMN_LIMIT=100
SPACE_BETWEEN_ENDING_COMMA_AND_CLOSING_BRACKET=False
SPLIT_PENALTY_AFTER_OPENING_BRACKET=0
#DEDENT_CLOSING_BRACKETS=True
#ALIGN_CLOSING_BRACKET_WITH_VISUAL_INDENT=True
<|file_sep|>current/set... | [yapf]
based_on_style=facebook
COLUMN_LIMIT=100
SPACE_BETWEEN_ENDING_COMMA_AND_CLOSING_BRACKET=False
SPLIT_PENALTY_AFTER_OPENING_BRACKET=0
#DEDENT_CLOSING_BRACKETS=True
#ALIGN_CLOSING_BRACKET_WITH_VISUAL_INDENT=True
[nosetests]
verbosity=2
| <|file_sep|>setup.cfg.diff
original:
updated:
<|file_sep|>original/setup.cfg
[yapf]
based_on_style=facebook
COLUMN_LIMIT=100
SPACE_BETWEEN_ENDING_COMMA_AND_CLOSING_BRACKET=False
SPLIT_PENALTY_AFTER_OPENING_BRACKET=0
#DEDENT_CLOSING_BRACKETS=True
#ALIGN_CLOSING_BRACKET_WITH_VISUAL_INDENT=True
<|file_sep|>current/set... | 1c06cb6c7a91ecb85ac18c9a1fa268a5f3ca7038 | setup.cfg | setup.cfg | INI |
<|file_sep|>original/services/web/public/stylesheets/app/blog-posts.less
.tags {
margin-top: @margin-md;
.tags-list {
list-style: none;
padding: 0;
}
li {
display: inline-block;
margin: 0;
padding: 0 @margin-sm 0 0;
}
a {
font-size: small;
}
}
pre ... |
.tags {
margin-top: @margin-md;
.tags-list {
list-style: none;
padding: 0;
}
li {
display: inline-block;
margin: 0;
padding: 0 @padding-sm @padding-sm 0;
}
a {
font-size: small;
}
}
pre {
border: 1px solid @ol-blue-gray-2;
border-radius: @b... | <|file_sep|>original/services/web/public/stylesheets/app/blog-posts.less
.tags {
margin-top: @margin-md;
.tags-list {
list-style: none;
padding: 0;
}
li {
display: inline-block;
margin: 0;
padding: 0 @margin-sm 0 0;
}
a {
font-size: small;
}
}
pre ... | 87b047e3681557ed06c2cde64aab92d9f9c1b94d | services/web/public/stylesheets/app/blog-posts.less | services/web/public/stylesheets/app/blog-posts.less | Less |
<|file_sep|>original/clang-tidy/readability/CMakeLists.txt
ImplicitBoolCastCheck.cpp
InconsistentDeclarationParameterNameCheck.cpp
NamedParameterCheck.cpp
NamespaceCommentCheck.cpp
ReadabilityTidyModule.cpp
RedundantControlFlowCheck.cpp
RedundantStringCStrCheck.cpp
RedundantSmartptrGetCheck.cpp
Redund... | InconsistentDeclarationParameterNameCheck.cpp
NamedParameterCheck.cpp
NamespaceCommentCheck.cpp
ReadabilityTidyModule.cpp
RedundantControlFlowCheck.cpp
RedundantStringCStrCheck.cpp
RedundantSmartptrGetCheck.cpp
RedundantStringInitCheck.cpp
SimplifyBooleanExprCheck.cpp
StaticDefinitionInAnonymousName... | <|file_sep|>original/clang-tidy/readability/CMakeLists.txt
ImplicitBoolCastCheck.cpp
InconsistentDeclarationParameterNameCheck.cpp
NamedParameterCheck.cpp
NamespaceCommentCheck.cpp
ReadabilityTidyModule.cpp
RedundantControlFlowCheck.cpp
RedundantStringCStrCheck.cpp
RedundantSmartptrGetCheck.cpp
Redund... | 98d6ff18882a915d7fe641acf354e7b7691865e9 | clang-tidy/readability/CMakeLists.txt | clang-tidy/readability/CMakeLists.txt | Text |
<|file_sep|>original/CHANGES.txt
v0.4.0
* Add --changes option to print change history
* Search & Replace - Markers and replacement text now support \n (newline), \t (tab)
\0 (empty, i.e. no text). As a consequence, \ must be escaped with \\ (e.g. in regex)
* Change regex group substitution char from \ to $
* Impr... | v0.4.0
* Add --changes option to print change history
* Search & Replace - Markers and replacement text now support \n (newline), \t (tab)
\0 (empty, i.e. no text). As a consequence, \ must be escaped with \\
* Change regex group substitution char from \ to $ (so it need not be escaped)
* Improve matching of funct... | <|file_sep|>original/CHANGES.txt
v0.4.0
* Add --changes option to print change history
* Search & Replace - Markers and replacement text now support \n (newline), \t (tab)
\0 (empty, i.e. no text). As a consequence, \ must be escaped with \\ (e.g. in regex)
* Change regex group substitution char from \ to $
* Impr... | 9d6124606b28e2840f31c7bbf859223533df795b | CHANGES.txt | CHANGES.txt | Text |
<|file_sep|>original/xpserver_api/urls.py
from xpserver_api import views
from django.conf.urls import url, include
from rest_framework import routers
from xpserver_api.serializers import UserViewSet
router = routers.DefaultRouter()
router.register(r'users', UserViewSet)
urlpatterns = [
url(r'^', include(router.ur... | from xpserver_api import views
from django.conf.urls import url, include
from rest_framework import routers
from xpserver_api.serializers import UserViewSet
router = routers.DefaultRouter()
router.register(r'users', UserViewSet)
urlpatterns = [
url(r'^', include(router.urls)),
url(r'^api-auth/', include('rest... | <|file_sep|>original/xpserver_api/urls.py
from xpserver_api import views
from django.conf.urls import url, include
from rest_framework import routers
from xpserver_api.serializers import UserViewSet
router = routers.DefaultRouter()
router.register(r'users', UserViewSet)
urlpatterns = [
url(r'^', include(router.ur... | 041afe6cec2fadd37b8e18fb1ac8a01cf9050dbf | xpserver_api/urls.py | xpserver_api/urls.py | Python |
<|file_sep|>original/autobuilder/slack.py
<|file_sep|>current/autobuilder/slack.py
<|file_sep|>updated/autobuilder/slack.py | import json
from twisted.internet import defer
from twisted.python import log
from buildbot.process.results import CANCELLED, EXCEPTION, FAILURE, SUCCESS, WARNINGS
from buildbot.reporters.notifier import NotifierBase
from buildbot.util import httpclientservice
COLORS = {
CANCELLED: 'warning',
EXCEPTION: 'warn... | <|file_sep|>original/autobuilder/slack.py
<|file_sep|>current/autobuilder/slack.py
<|file_sep|>updated/autobuilder/slack.py
import json
from twisted.internet import defer
from twisted.python import log
from buildbot.process.results import CANCELLED, EXCEPTION, FAILURE, SUCCESS, WARNINGS
from buildbot.reporters.notif... | e8f1f4290b7eb2630cecf7e18da0f3ed2cad58d8 | autobuilder/slack.py | autobuilder/slack.py | Python |
<|file_sep|>app/scripts/RebooEditor/Toolbar/MediaControls/Media.js.diff
original:
const { src, ...extraProps } = entity.getData()
const type = entity.getType()
updated:
const {
// Inside tag a
href,
target,
// Image or Iframe
...mediaProps
} = entity.getData()
<|file_sep|>o... | const {
// Inside tag a
href,
target,
// Image or Iframe
...mediaProps
} = entity.getData()
const media = React.createElement(
entity.getType(),
{...mediaProps}
)
if (href) {
return (
<a href={href} target={target||'_blank'}>{media}</a>
... | <|file_sep|>app/scripts/RebooEditor/Toolbar/MediaControls/Media.js.diff
original:
const { src, ...extraProps } = entity.getData()
const type = entity.getType()
updated:
const {
// Inside tag a
href,
target,
// Image or Iframe
...mediaProps
} = entity.getData()
<|file_sep|>o... | d9d49c46346aa08eb189c8ff22746f757829e428 | app/scripts/RebooEditor/Toolbar/MediaControls/Media.js | app/scripts/RebooEditor/Toolbar/MediaControls/Media.js | JavaScript |
<|file_sep|>original/l10n_it_ipa/README.rst
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:alt: License
IPA Code (IndicePA)
===================
This module adds IPA (IndicePA) field to partner
http://www.indicepa.gov.it/
Installation
============
Nothing special is needed to install this modu... | .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:alt: License
IPA Code (IndicePA)
===================
This module adds IPA (IndicePA) field to partner
http://www.indicepa.gov.it/
Installation
============
Nothing special is needed to install this module.
Configuration
=============
Nothing s... | <|file_sep|>original/l10n_it_ipa/README.rst
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:alt: License
IPA Code (IndicePA)
===================
This module adds IPA (IndicePA) field to partner
http://www.indicepa.gov.it/
Installation
============
Nothing special is needed to install this modu... | 1a7f193ca1484b0642aa2ace1d4f0660dd5a04e5 | l10n_it_ipa/README.rst | l10n_it_ipa/README.rst | reStructuredText |
<|file_sep|>original/calexicon/constants.py
from datetime import date as vanilla_date
from dates.base import BasicBCEDate
first_julian_date = BasicBCEDate(-45, 1, 1)
first_vanilla_date = vanilla_date(1, 1, 1)
last_vanilla_date = vanilla_date(9999, 12, 31)
julian_day_number_of_first_vanilla_date = 1721423
julian_day_... | from datetime import date as vanilla_date
from dates.base import BasicBCEDate
first_julian_date = BasicBCEDate(-45, 1, 1)
first_vanilla_date = vanilla_date(1, 1, 1)
last_vanilla_date = vanilla_date(9999, 12, 31)
julian_day_number_of_first_vanilla_date = 1721423
julian_day_number_of_last_vanilla_date = (
julian_d... | <|file_sep|>original/calexicon/constants.py
from datetime import date as vanilla_date
from dates.base import BasicBCEDate
first_julian_date = BasicBCEDate(-45, 1, 1)
first_vanilla_date = vanilla_date(1, 1, 1)
last_vanilla_date = vanilla_date(9999, 12, 31)
julian_day_number_of_first_vanilla_date = 1721423
julian_day_... | 8626733d3a4960013189ffa90fe8e496dd8cc90a | calexicon/constants.py | calexicon/constants.py | Python |
<|file_sep|>original/Packagist/WebBundle/Controller/Controller.php
{
protected function getPackagesMetadata($packages)
{
$metadata = null;
try {
$dlKeys = array();
foreach ($packages as $package) {
$id = $package instanceof \Solarium_Document_ReadOnly ? $p... | {
protected function getPackagesMetadata($packages)
{
$metadata = null;
try {
$dlKeys = array();
foreach ($packages as $package) {
$id = $package instanceof \Solarium_Document_ReadOnly ? $package->id : $package->getId();
$dlKeys[$id] = 'dl:... | <|file_sep|>original/Packagist/WebBundle/Controller/Controller.php
{
protected function getPackagesMetadata($packages)
{
$metadata = null;
try {
$dlKeys = array();
foreach ($packages as $package) {
$id = $package instanceof \Solarium_Document_ReadOnly ? $p... | 5514c295e4167cbb6610f8f4db808933793ebb27 | Packagist/WebBundle/Controller/Controller.php | Packagist/WebBundle/Controller/Controller.php | PHP |
<|file_sep|>s3s3/api.py.diff
original:
`dest_keys` The destination boto s3 keys.
updated:
`dest_keys` A list of the destination boto s3 keys.
<|file_sep|>original/s3s3/api.py
from boto.s3.connection import S3Connection
def create_connection(connection_args):
connection_args = connection_args.copy()
co... |
def create_connection(connection_args):
connection_args = connection_args.copy()
connection_args.pop('bucket_name')
return S3Connection(**connection_args)
def upload(source_key, dest_keys):
"""
`source_key` The source boto s3 key.
`dest_keys` A list of the destination boto s3 keys.
"""
... | <|file_sep|>s3s3/api.py.diff
original:
`dest_keys` The destination boto s3 keys.
updated:
`dest_keys` A list of the destination boto s3 keys.
<|file_sep|>original/s3s3/api.py
from boto.s3.connection import S3Connection
def create_connection(connection_args):
connection_args = connection_args.copy()
co... | e77042c914b9725da0fef7e56ede12635c1a876b | s3s3/api.py | s3s3/api.py | Python |
<|file_sep|>original/requirements.txt
Flask_Mako==0.4
requests==2.20.1
tornado==5.1.1
Flask==1.0.2
wsgi_request_logger==0.4.6
<|file_sep|>current/requirements.txt
Flask_Mako==0.4
requests==2.20.1
tornado==5.1.1
Flask==1.0.2
wsgi_request_logger==0.4.6
<|file_sep|>updated/requirements.txt | Flask_Mako==0.4
requests==2.21.0
tornado==5.1.1
Flask==1.0.2
wsgi_request_logger==0.4.6 | <|file_sep|>original/requirements.txt
Flask_Mako==0.4
requests==2.20.1
tornado==5.1.1
Flask==1.0.2
wsgi_request_logger==0.4.6
<|file_sep|>current/requirements.txt
Flask_Mako==0.4
requests==2.20.1
tornado==5.1.1
Flask==1.0.2
wsgi_request_logger==0.4.6
<|file_sep|>updated/requirements.txt
Flask_Mako==0.4
requests==2.21.0... | 9c38c4ead875a45f399d351adbfb432a7ecc2587 | requirements.txt | requirements.txt | Text |
<|file_sep|>rx/linq/observable/average.py.diff
original:
def selector(s):
updated:
def mapper(s):
<|file_sep|>original/rx/linq/observable/average.py
res = source.average(lambda x: x.value)
key_selector -- A transform function to apply to each element.
Returns an observable sequ... | res = source.average(lambda x: x.value)
key_selector -- A transform function to apply to each element.
Returns an observable sequence containing a single element with the
average of the sequence of values."""
if key_selector:
return self.select(key_selector).averag... | <|file_sep|>rx/linq/observable/average.py.diff
original:
def selector(s):
updated:
def mapper(s):
<|file_sep|>original/rx/linq/observable/average.py
res = source.average(lambda x: x.value)
key_selector -- A transform function to apply to each element.
Returns an observable sequ... | 8a7be30e2847f6d50f401dedc616d667cb36a6c6 | rx/linq/observable/average.py | rx/linq/observable/average.py | Python |
<|file_sep|>blueprints.yaml.diff
original:
updated:
<|file_sep|>original/blueprints.yaml
email: devs@getgrav.org
url: http://getgrav.org
homepage: https://github.com/getgrav/grav-plugin-cdn
demo: http://getgrav.org
keywords: "cdn, plugin, performance, speed"
bugs: https://github.com/getgrav/grav-plugin-cdn/issues... | enabled:
type: toggle
label: Plugin Status
highlight: 1
default: 1
options:
1: Enabled
0: Disabled
validate:
type: bool
pullzone:
type: text
label: Login path
default: "yourdomain.cdn.com"
placeholder: "yourdomain.cdn.com"
... | <|file_sep|>blueprints.yaml.diff
original:
updated:
<|file_sep|>original/blueprints.yaml
email: devs@getgrav.org
url: http://getgrav.org
homepage: https://github.com/getgrav/grav-plugin-cdn
demo: http://getgrav.org
keywords: "cdn, plugin, performance, speed"
bugs: https://github.com/getgrav/grav-plugin-cdn/issues... | c98c61abf7bd673287ea385a04c8f85f1e391ba0 | blueprints.yaml | blueprints.yaml | YAML |
<|file_sep|>original/caprice/models.py
id = Column(String, primary_key=True)
# TODO: JSON uniqueness is needed
body = Column(String)
# ID is generated in Python context(=in application)
def __init__(self, id=None, body=None):
self.id = id
self.body = body
def __repr__(self):
... | id = Column(String, primary_key=True)
# TODO: JSON uniqueness is needed
body = Column(String)
# ID is generated in Python context(=in application)
def __init__(self, id=None, body=None):
self.id = id
self.body = body
def __repr__(self):
return "<{0}: '{1}'>".format(self... | <|file_sep|>original/caprice/models.py
id = Column(String, primary_key=True)
# TODO: JSON uniqueness is needed
body = Column(String)
# ID is generated in Python context(=in application)
def __init__(self, id=None, body=None):
self.id = id
self.body = body
def __repr__(self):
... | b35ee625143fd57f5571f807d0cd4331be4e0947 | caprice/models.py | caprice/models.py | Python |
<|file_sep|>original/scripts/make_tiles.sh
<|file_sep|>current/scripts/make_tiles.sh
<|file_sep|>updated/scripts/make_tiles.sh | #!/bin/bash
#$ -V
#$ -l h_rt=24:00:00
#$ -l eth_speed=10
#$ -j y
#$ -N make_tile
set +e
tiledir=$1
if [ -z $1 ]; then
echo "Must specify tiledir as 1st input arg"
exit 1
fi
imgs=$(find images -name 'L*stack')
n=$(echo "$imgs" | wc -w)
i=1
for img in $imgs; do
echo "$i / $n: Working on $img" | <|file_sep|>original/scripts/make_tiles.sh
<|file_sep|>current/scripts/make_tiles.sh
<|file_sep|>updated/scripts/make_tiles.sh
#!/bin/bash
#$ -V
#$ -l h_rt=24:00:00
#$ -l eth_speed=10
#$ -j y
#$ -N make_tile
set +e
tiledir=$1
if [ -z $1 ]; then
echo "Must specify tiledir as 1st input arg"
exit 1
fi
imgs=$(... | 843bf4d68c2ef1036f778f274d4fa71cdfb62e05 | scripts/make_tiles.sh | scripts/make_tiles.sh | Shell |
<|file_sep|>client/test/setup.js.diff
original:
updated:
import chaiSpies from 'chai-spies';
<|file_sep|>original/client/test/setup.js
import jsdom from 'jsdom';
import chai from 'chai';
import chaiImmutable from 'chai-immutable';
import ignoreStyles from 'ignore-styles';
global.document = jsdom.jsdom('<!doctype html... | import jsdom from 'jsdom';
import chai from 'chai';
import chaiImmutable from 'chai-immutable';
import chaiSpies from 'chai-spies';
import ignoreStyles from 'ignore-styles';
global.document = jsdom.jsdom('<!doctype html><html><body></body></html>');
global.window = document.defaultView;
global.navigator = global.windo... | <|file_sep|>client/test/setup.js.diff
original:
updated:
import chaiSpies from 'chai-spies';
<|file_sep|>original/client/test/setup.js
import jsdom from 'jsdom';
import chai from 'chai';
import chaiImmutable from 'chai-immutable';
import ignoreStyles from 'ignore-styles';
global.document = jsdom.jsdom('<!doctype html... | 4d86aeb3dd0e8d92cce02901cc37c3b3078b11d9 | client/test/setup.js | client/test/setup.js | JavaScript |
<|file_sep|>original/dev-requirements.txt
autoflake==1.2
check-manifest==0.37
codecov==2.0.15 # Upload coverage data
doc8==0.8.0
dodgy==0.1.9 # Look for uploaded secrets
dulwich==0.19.9
flake8-commas==2.0.0 # Require silicon valley commas
flake8-quotes==1.0.0 # Require single quotes
flake8==3.6.0 # Lint
isort==4.3.... | autoflake==1.2
check-manifest==0.37
codecov==2.0.15 # Upload coverage data
doc8==0.8.0
dodgy==0.1.9 # Look for uploaded secrets
dulwich==0.19.9
flake8-commas==2.0.0 # Require silicon valley commas
flake8-quotes==1.0.0 # Require single quotes
flake8==3.6.0 # Lint
isort==4.3.4 # Lint imports
mypy==0.660 # Type chec... | <|file_sep|>original/dev-requirements.txt
autoflake==1.2
check-manifest==0.37
codecov==2.0.15 # Upload coverage data
doc8==0.8.0
dodgy==0.1.9 # Look for uploaded secrets
dulwich==0.19.9
flake8-commas==2.0.0 # Require silicon valley commas
flake8-quotes==1.0.0 # Require single quotes
flake8==3.6.0 # Lint
isort==4.3.... | b1026648a64c0ab47df3b34fe80611c2888adc67 | dev-requirements.txt | dev-requirements.txt | Text |
<|file_sep|>original/test/functional-test.sh
#!/usr/bin/env bash
shopt -s expand_aliases
alias tldr="node bin/tldr"
function tldr-render-pages {
tldr zip && \
tldr du --os=linux && \
tldr du --os=osx && \
tldr --random && \
tldr --random-example && \
tldr --list && \
tldr --list-all
}
tldr --render $H... | #!/usr/bin/env bash
shopt -s expand_aliases
alias tldr="node bin/tldr"
function tldr-render-pages {
tldr zip && \
tldr du --os=linux && \
tldr du --os=osx && \
tldr du --os=linux --markdown && \
tldr du --os=osx --markdown && \
tldr --random && \
tldr --random-example && \
tldr --list && \
tldr --l... | <|file_sep|>original/test/functional-test.sh
#!/usr/bin/env bash
shopt -s expand_aliases
alias tldr="node bin/tldr"
function tldr-render-pages {
tldr zip && \
tldr du --os=linux && \
tldr du --os=osx && \
tldr --random && \
tldr --random-example && \
tldr --list && \
tldr --list-all
}
tldr --render $H... | b50c0f94c96b898a0065211edbecbb072ac19dfa | test/functional-test.sh | test/functional-test.sh | Shell |
<|file_sep|>original/etc/requirements_dev.txt
# Testing
nose==1.3.0
nose-parameterized==0.3
nose-ignore-docstring==0.1
xlrd==0.9.2
# Linting
flake8==2.0
mccabe==0.2.1
pep8==1.4.6
pyflakes==0.7.3
pip-tools==0.3.4
# Documentation Conversion
pyandoc==0.0.1
# Example scripts that are run during unit tests use the foll... | # Testing
nose==1.3.0
nose-parameterized==0.3.1
nose-ignore-docstring==0.1
xlrd==0.9.2
# Linting
flake8==2.0
mccabe==0.2.1
pep8==1.4.6
pyflakes==0.7.3
pip-tools==0.3.4
# Documentation Conversion
pyandoc==0.0.1
# Example scripts that are run during unit tests use the following:
scipy==0.12.0 | <|file_sep|>original/etc/requirements_dev.txt
# Testing
nose==1.3.0
nose-parameterized==0.3
nose-ignore-docstring==0.1
xlrd==0.9.2
# Linting
flake8==2.0
mccabe==0.2.1
pep8==1.4.6
pyflakes==0.7.3
pip-tools==0.3.4
# Documentation Conversion
pyandoc==0.0.1
# Example scripts that are run during unit tests use the foll... | e5a9b08abffdb6e2bc6c0068fc1f5b92375ba11e | etc/requirements_dev.txt | etc/requirements_dev.txt | Text |
<|file_sep|>original/docs/source/_partials/customized-config.blade.php
<div class="border-2 border-smoke rounded mb-8">
<div class="md:flex">
<div class="flex-1 bg-smoke-lighter border-b-2 md:border-b-0 md:border-r-2 border-smoke">
<div class="px-4 py-3 bg-white font-semibold border-b-2 border-s... | <div class="border-2 border-smoke rounded mb-8">
<div class="md:flex">
<div class="flex-1 bg-smoke-lighter border-b-2 border-smoke md:border-b-0 md:border-r-2 md:border-smoke">
<div class="px-4 py-3 bg-white font-semibold border-b-2 border-smoke-light text-smoke-darker">Default values</div>
... | <|file_sep|>original/docs/source/_partials/customized-config.blade.php
<div class="border-2 border-smoke rounded mb-8">
<div class="md:flex">
<div class="flex-1 bg-smoke-lighter border-b-2 md:border-b-0 md:border-r-2 border-smoke">
<div class="px-4 py-3 bg-white font-semibold border-b-2 border-s... | 4160b13d74e580199c2bfdaabd35617d2d9e73f1 | docs/source/_partials/customized-config.blade.php | docs/source/_partials/customized-config.blade.php | PHP |
<|file_sep|>original/Command/ScaleAssetsImagesCommand.php
<|file_sep|>current/Command/ScaleAssetsImagesCommand.php
<|file_sep|>updated/Command/ScaleAssetsImagesCommand.php | <?php
namespace Dothiv\Bundle\ContentfulBundle\Command;
use Doctrine\Common\Cache\Cache;
use Doctrine\ORM\EntityManager;
use Dothiv\Bundle\ContentfulBundle\Logger\OutputInterfaceLogger;
use Dothiv\Bundle\ContentfulBundle\Output\ImageAssetScaler;
use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
use Sy... | <|file_sep|>original/Command/ScaleAssetsImagesCommand.php
<|file_sep|>current/Command/ScaleAssetsImagesCommand.php
<|file_sep|>updated/Command/ScaleAssetsImagesCommand.php
<?php
namespace Dothiv\Bundle\ContentfulBundle\Command;
use Doctrine\Common\Cache\Cache;
use Doctrine\ORM\EntityManager;
use Dothiv\Bundle\Conte... | 07819e6002d3e523130ae32cd03346c8c8a47694 | Command/ScaleAssetsImagesCommand.php | Command/ScaleAssetsImagesCommand.php | PHP |
<|file_sep|>original/README.md
# mapify-example
An example of using Mapify in an Unity app.
# Spoilers!
# GameInitializer.cs
```
using UnityEngine;
using System.Collections;
using Substantial;
public class GameInitializer : MonoBehaviour {
public TextAsset LevelAsset;
public TileRepository TileRepository;
pub... | # mapify-example
An example of using [Mapify](http://github.com/substantial/mapify) in an Unity app.
# Spoilers!
# GameInitializer.cs
```
using UnityEngine;
using System.Collections;
using Substantial;
public class GameInitializer : MonoBehaviour {
public TextAsset LevelAsset;
public TileRepository TileReposito... | <|file_sep|>original/README.md
# mapify-example
An example of using Mapify in an Unity app.
# Spoilers!
# GameInitializer.cs
```
using UnityEngine;
using System.Collections;
using Substantial;
public class GameInitializer : MonoBehaviour {
public TextAsset LevelAsset;
public TileRepository TileRepository;
pub... | 1b5b17357a5d1e1a40a2b0b7c7bd7ab7cdd450f9 | README.md | README.md | Markdown |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.