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/playbooks/roles/common/tasks/main.yml
---
- name: Install zplug
command: curl -sL --proto-redir -all,https https://zplug.sh/installer | zsh
- name: Create local directories
file: path="{{ ansible_env.HOME | join('/workspace/git') }}" state=directory
- name: Restore dotfiles with Mackup
comm... | ---
- name: Install zplug
git: repo=https://github.com/zplug/zplug dest=~/zplug
- name: Create local directories
file: path="{{ ansible_env.HOME | join('/workspace/git') }}" state=directory
- name: Restore dotfiles with Mackup
command: mackup restore | <|file_sep|>original/playbooks/roles/common/tasks/main.yml
---
- name: Install zplug
command: curl -sL --proto-redir -all,https https://zplug.sh/installer | zsh
- name: Create local directories
file: path="{{ ansible_env.HOME | join('/workspace/git') }}" state=directory
- name: Restore dotfiles with Mackup
comm... | 0e4306485493b582e45feccf42fb570a347c7373 | playbooks/roles/common/tasks/main.yml | playbooks/roles/common/tasks/main.yml | YAML |
<|file_sep|>original/test-requirements.txt
coverage>=4.5.3,<4.6
docutils>=0.15,<0.16
flake8>=3.7,<3.8
pytest>=3.6,<5.4
pytest-cov>=2.7.1,<2.9
isort>=4.3.20,<4.4
<|file_sep|>current/test-requirements.txt
coverage>=4.5.3,<4.6
docutils>=0.15,<0.16
flake8>=3.7,<3.8
pytest>=3.6,<5.4
pytest-cov>=2.7.1,<2.9
isort>=4.3.20,<4.4... | coverage>=4.5.3,<5.1
docutils>=0.15,<0.16
flake8>=3.7,<3.8
pytest>=3.6,<5.4
pytest-cov>=2.7.1,<2.9
isort>=4.3.20,<4.4 | <|file_sep|>original/test-requirements.txt
coverage>=4.5.3,<4.6
docutils>=0.15,<0.16
flake8>=3.7,<3.8
pytest>=3.6,<5.4
pytest-cov>=2.7.1,<2.9
isort>=4.3.20,<4.4
<|file_sep|>current/test-requirements.txt
coverage>=4.5.3,<4.6
docutils>=0.15,<0.16
flake8>=3.7,<3.8
pytest>=3.6,<5.4
pytest-cov>=2.7.1,<2.9
isort>=4.3.20,<4.4... | 9e6a8aad85b8775537c67dbcc52c06ea2ede73ba | test-requirements.txt | test-requirements.txt | Text |
<|file_sep|>original/doc/README.temporarycrawler.markdown
<|file_sep|>current/doc/README.temporarycrawler.markdown
<|file_sep|>updated/doc/README.temporarycrawler.markdown | # Setup the temporary crawler
Setup a machine with Ubuntu installed. For example, by creating an AWS instance.
**Make sure that the time zone of your machine is set to Eastern Time.** Run `date` if the result isn't EDT and EST, run `sudo dpkg-reconfigure tzdata` and select America/New_York.
**NOTE: AWS machines are o... | <|file_sep|>original/doc/README.temporarycrawler.markdown
<|file_sep|>current/doc/README.temporarycrawler.markdown
<|file_sep|>updated/doc/README.temporarycrawler.markdown
# Setup the temporary crawler
Setup a machine with Ubuntu installed. For example, by creating an AWS instance.
**Make sure that the time zone of... | 561f8bf71a1a9db8becfe6bbd1e05b9aafb2e5fc | doc/README.temporarycrawler.markdown | doc/README.temporarycrawler.markdown | Markdown |
<|file_sep|>original/README.md
Then (ES6):
```js
import BusinessElementsClient from "business-elements";
```
Or (ES5):
```js
var BusinessElementsClient = require("business-elements").default;
```
Note that this HTTP client can be transparently used server side or in a regular browser page.
## Usage
A client insta... | ```js
var BusinessElementsClient = require("business-elements").default;
```
Note that this HTTP client can be transparently used server side or in a regular browser page.
## Usage
A client instance is created using the `BusinessElementsClient` constructor, passing it the remote Business Elements server root URL:
`... | <|file_sep|>original/README.md
Then (ES6):
```js
import BusinessElementsClient from "business-elements";
```
Or (ES5):
```js
var BusinessElementsClient = require("business-elements").default;
```
Note that this HTTP client can be transparently used server side or in a regular browser page.
## Usage
A client insta... | 092905d94a16269bd426ae89ee75186307e309a3 | README.md | README.md | Markdown |
<|file_sep|>frameworks/PHP/php-symfony2/app/config/config_prod.yml.diff
original:
metadata_cache_driver: apc
updated:
metadata_cache_driver: redis
<|file_sep|>original/frameworks/PHP/php-symfony2/app/config/config_prod.yml
framework:
router:
strict_requirements: null
#validation:
# ... | framework:
router:
strict_requirements: null
#validation:
# cache: apc
doctrine:
orm:
metadata_cache_driver: redis
#result_cache_driver: apc
query_cache_driver: redis
monolog:
handlers:
main:
type: fingers_crossed
action_le... | <|file_sep|>frameworks/PHP/php-symfony2/app/config/config_prod.yml.diff
original:
metadata_cache_driver: apc
updated:
metadata_cache_driver: redis
<|file_sep|>original/frameworks/PHP/php-symfony2/app/config/config_prod.yml
framework:
router:
strict_requirements: null
#validation:
# ... | 031fca6e13c139dd4204a09d341d60e603ea6b0e | frameworks/PHP/php-symfony2/app/config/config_prod.yml | frameworks/PHP/php-symfony2/app/config/config_prod.yml | YAML |
<|file_sep|>app/views/objects/new.html.erb.diff
original:
<h1>New preset</h1>
updated:
<h1>New object</h1>
<|file_sep|>original/app/views/objects/new.html.erb
<%
content_for :title do 'New Object' end
%>
<h1>New preset</h1>
<%= render 'form' %>
<%= link_to 'Back', presets_path %>
<|file_sep|>current/app/views/objects... | <%
content_for :title do 'New Object' end
%>
<h1>New object</h1>
<%= render 'form' %>
<%= link_to 'Back', objects_path %> | <|file_sep|>app/views/objects/new.html.erb.diff
original:
<h1>New preset</h1>
updated:
<h1>New object</h1>
<|file_sep|>original/app/views/objects/new.html.erb
<%
content_for :title do 'New Object' end
%>
<h1>New preset</h1>
<%= render 'form' %>
<%= link_to 'Back', presets_path %>
<|file_sep|>current/app/views/objects... | c76f307a9a994240668211cd5b6bc86169c7258e | app/views/objects/new.html.erb | app/views/objects/new.html.erb | HTML+ERB |
<|file_sep|>modes/exwm-conf.el.diff
original:
updated:
;; Load optional EXWM features:
(require 'exwm-randr)
(require 'exwm-systemtray)
<|file_sep|>modes/exwm-conf.el.diff
original:
updated:
;; Move minibuffer to the top of the screen and auto hide:
'(exwm-workspace-minibuffer-position 'top)
;; Number of w... | '(exwm-input-simulation-keys
'(([?\C-b] . [left])
([?\C-f] . [right])
([?\C-p] . [up])
([?\C-n] . [down])
([?\C-a] . [home])
([?\C-e] . [end])
([?\M-v] . [prior])
([?\C-v] . [next])
([?\C-d] . [delete])
([?\C-k] . [S-end delete]))))
(exwm-input-set-key (kbd "... | <|file_sep|>modes/exwm-conf.el.diff
original:
updated:
;; Load optional EXWM features:
(require 'exwm-randr)
(require 'exwm-systemtray)
<|file_sep|>modes/exwm-conf.el.diff
original:
updated:
;; Move minibuffer to the top of the screen and auto hide:
'(exwm-workspace-minibuffer-position 'top)
;; Number of w... | 6489e2c09951af59f211ccfe7ea74e27c7ea1c91 | modes/exwm-conf.el | modes/exwm-conf.el | Emacs Lisp |
<|file_sep|>original/_posts/2017-03-28-welcome-to-solana.md
---
title: Welcome to Solana
teaser: These sample posts are provided as a template for creating your own content.
category: intro
tags: [markdown, workflow, foss]
reddit_post: 'https://www.reddit.com/r/Jekyll/comments/6258ln/welcome_to_solana/'
featured_commen... | ---
title: Welcome to Solana
teaser: These sample posts are provided as a template for creating your own content.
category: intro
tags: [markdown, workflow, foss]
reddit_post: 'https://www.reddit.com/r/Jekyll/comments/6258ln/welcome_to_solana/'
featured_comments:
- url: 'https://www.reddit.com/r/Jekyll/comments/6258l... | <|file_sep|>original/_posts/2017-03-28-welcome-to-solana.md
---
title: Welcome to Solana
teaser: These sample posts are provided as a template for creating your own content.
category: intro
tags: [markdown, workflow, foss]
reddit_post: 'https://www.reddit.com/r/Jekyll/comments/6258ln/welcome_to_solana/'
featured_commen... | dabb6674d0c22829132dd255ecd14d2be0d8f271 | _posts/2017-03-28-welcome-to-solana.md | _posts/2017-03-28-welcome-to-solana.md | Markdown |
<|file_sep|>first.js.diff
original:
updated:
//Written using a function
var MyActionHandler = () => {
//Function to handle the click event
const handleClick = (e) => {
e.preventDefault();
alert('The link was clicked.');
};
return (
<a href="#" onClick={handleClick}>Click Me</a>
);
};
//Writ... | );
}
}
var MyHelloTag = () => {
return(
<div>
<h1>Hello Clock</h1>
<MyClock/>
<MyActionHandler/>
<br/>
<MyActionHandlerClass/>
</div>
);
};
ReactDOM.render(
<MyHelloTag/>,
document.getElementById('root') | <|file_sep|>first.js.diff
original:
updated:
//Written using a function
var MyActionHandler = () => {
//Function to handle the click event
const handleClick = (e) => {
e.preventDefault();
alert('The link was clicked.');
};
return (
<a href="#" onClick={handleClick}>Click Me</a>
);
};
//Writ... | db341eba5ac14a111b92daac0f0504dc3fc6e6a3 | first.js | first.js | JavaScript |
<|file_sep|>original/requirements_dev.txt
tox==3.7.0
watchdog==0.8.3
wheel==0.33.1
bumpversion==0.5.3
pip==19.0.3
flake8==3.5.0
coverage==4.5.3
Sphinx==1.8.5
cryptography==2.6.1
pyyaml==5.1
numpy==1.16.2
Cython==0.29.6
pandas==0.24.2
<|file_sep|>current/requirements_dev.txt
tox==3.7.0
watchdog==0.8.3
wheel==0.33.1
bump... | tox==3.7.0
watchdog==0.8.3
wheel==0.33.1
bumpversion==0.5.3
pip==19.1.1
flake8==3.5.0
coverage==4.5.3
Sphinx==1.8.5
cryptography==2.6.1
pyyaml==5.1
numpy==1.16.2
Cython==0.29.6
pandas==0.24.2 | <|file_sep|>original/requirements_dev.txt
tox==3.7.0
watchdog==0.8.3
wheel==0.33.1
bumpversion==0.5.3
pip==19.0.3
flake8==3.5.0
coverage==4.5.3
Sphinx==1.8.5
cryptography==2.6.1
pyyaml==5.1
numpy==1.16.2
Cython==0.29.6
pandas==0.24.2
<|file_sep|>current/requirements_dev.txt
tox==3.7.0
watchdog==0.8.3
wheel==0.33.1
bump... | bd075b0e2e01b1d49fd28170a51f27facdf3fb4c | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>src/UghAuthentication/Authentication/AuthenticationService.php.diff
original:
updated:
use Zend\Authentication\Result;
<|file_sep|>src/UghAuthentication/Authentication/AuthenticationService.php.diff
original:
updated:
/**
*
* @param StorageInterface $storage
* @param AdapterInterface $... | }
public function clearIdentity()
{
$this->storage->clear();
}
public function getIdentity()
{
return $this->storage->read();
}
/**
*
* @return boolean
*/
public function hasIdentity()
{
return !$this->storage->isEmpty();
}
} | <|file_sep|>src/UghAuthentication/Authentication/AuthenticationService.php.diff
original:
updated:
use Zend\Authentication\Result;
<|file_sep|>src/UghAuthentication/Authentication/AuthenticationService.php.diff
original:
updated:
/**
*
* @param StorageInterface $storage
* @param AdapterInterface $... | 417af07c2d22f9e8384e3676b4bdb782aec51825 | src/UghAuthentication/Authentication/AuthenticationService.php | src/UghAuthentication/Authentication/AuthenticationService.php | PHP |
<|file_sep|>original/zsh/configs/post/path.zsh
if command -v rbenv >/dev/null; then
eval "$(rbenv init - --no-rehash)"
fi
if command -v nodenv >/dev/null; then
eval "$(nodenv init - --no-rehash)"
fi
GOPATH=$HOME/.go
PATH="$GOPATH/bin:$PATH"
export -U PATH GOPATH
<|file_sep|>current/zsh/configs/post/path.zsh
if c... | if command -v rbenv >/dev/null; then
eval "$(rbenv init - --no-rehash)"
fi
if command -v nodenv >/dev/null; then
eval "$(nodenv init - --no-rehash)"
fi
GOPATH=$HOME/.go
PATH="$GOPATH/bin:$PATH"
PATH="/usr/local/opt/mysql@5.7/bin:$PATH"
export -U PATH GOPATH | <|file_sep|>original/zsh/configs/post/path.zsh
if command -v rbenv >/dev/null; then
eval "$(rbenv init - --no-rehash)"
fi
if command -v nodenv >/dev/null; then
eval "$(nodenv init - --no-rehash)"
fi
GOPATH=$HOME/.go
PATH="$GOPATH/bin:$PATH"
export -U PATH GOPATH
<|file_sep|>current/zsh/configs/post/path.zsh
if c... | f77e21247ec9d75d2fa63631a77c417eac4a7f4c | zsh/configs/post/path.zsh | zsh/configs/post/path.zsh | Shell |
<|file_sep|>vim/bundles.vim.diff
original:
updated:
" Mirror needed since VBA from original source does not seem to install
Bundle 'vim-scripts/ZoomWin'
<|file_sep|>vim/bundles.vim.diff
original:
updated:
Bundle 'Rename'
<|file_sep|>original/vim/bundles.vim
Bundle 'vim-ruby/vim-ruby'
Bundle 'xolox/vim-easytags'
Bund... | Bundle 'xolox/vim-notes'
" Mirror needed since VBA from original source does not seem to install
Bundle 'vim-scripts/ZoomWin'
" vim-scripts
Bundle 'JSON.vim'
Bundle 'Rename'
Bundle 'UltiSnips'
Bundle 'netrw.vim'
Bundle 'ruby-matchit'
" other Git
Bundle 'git://git.wincent.com/command-t.git'
" Should I still keep the... | <|file_sep|>vim/bundles.vim.diff
original:
updated:
" Mirror needed since VBA from original source does not seem to install
Bundle 'vim-scripts/ZoomWin'
<|file_sep|>vim/bundles.vim.diff
original:
updated:
Bundle 'Rename'
<|file_sep|>original/vim/bundles.vim
Bundle 'vim-ruby/vim-ruby'
Bundle 'xolox/vim-easytags'
Bund... | fdca88ea1b650f407238a7920f9209a50889d019 | vim/bundles.vim | vim/bundles.vim | VimL |
<|file_sep|>lib/api/start_gateway.js.diff
original:
function startGateway(opts, fn) {
updated:
function startGateway(opts) {
<|file_sep|>original/lib/api/start_gateway.js
var GatewayProcessManager = require(__dirname+'/../process_manager.js');
/**
* @function startGateway
* @requires GatewayProcessManager
* @descri... | var GatewayProcessManager = require(__dirname+'/../process_manager.js');
/**
* @function startGateway
* @requires GatewayProcessManager
* @description Starts gateway processes.
* @param opts
*/
function startGateway(opts) {
processManager = new GatewayProcessManager();
processManager.start(opts);
}
module.e... | <|file_sep|>lib/api/start_gateway.js.diff
original:
function startGateway(opts, fn) {
updated:
function startGateway(opts) {
<|file_sep|>original/lib/api/start_gateway.js
var GatewayProcessManager = require(__dirname+'/../process_manager.js');
/**
* @function startGateway
* @requires GatewayProcessManager
* @descri... | 0f8f6539d9c6f6c2f05a0f0ae627fdac8a8d49ce | lib/api/start_gateway.js | lib/api/start_gateway.js | JavaScript |
<|file_sep|>original/catalyst/script/px_to_em.pl
<|file_sep|>current/catalyst/script/px_to_em.pl
<|file_sep|>updated/catalyst/script/px_to_em.pl | #!/usr/bin/env perl
use strict;
use warnings;
while (<>) {
my $line = $_;
while ($line =~ m/([: ])([-]?\d+)px/g) {
my $input = $2;
my $value = sprintf("%.2f",(int($2)/12));
# $value = '0' if ($value == 0);
$value = $value.'em';
# Special case: 1px stays the same.
my $test = $line;
next unless ($test =~ ... | <|file_sep|>original/catalyst/script/px_to_em.pl
<|file_sep|>current/catalyst/script/px_to_em.pl
<|file_sep|>updated/catalyst/script/px_to_em.pl
#!/usr/bin/env perl
use strict;
use warnings;
while (<>) {
my $line = $_;
while ($line =~ m/([: ])([-]?\d+)px/g) {
my $input = $2;
my $value = sprintf("%.2f",(int... | 4e41264947b9854e1aaa828540545fd728c7bb80 | catalyst/script/px_to_em.pl | catalyst/script/px_to_em.pl | Perl |
<|file_sep|>.travis.yml.diff
original:
updated:
- 7.0
<|file_sep|>.travis.yml.diff
original:
updated:
matrix:
allow_failures:
- php: 7.0
<|file_sep|>original/.travis.yml
language: php
php:
- 5.4
- 5.5
- 5.6
- hhvm
before_script:
- composer self-update
- composer update
scri... | php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
matrix:
allow_failures:
- php: 7.0
before_script:
- composer self-update
- composer update
script:
- php vendor/bin/phpunit
after_script:
- wget https://tomzx.github.io/php-semver-checker-git/php-semver-checker-git.phar
- php ph... | <|file_sep|>.travis.yml.diff
original:
updated:
- 7.0
<|file_sep|>.travis.yml.diff
original:
updated:
matrix:
allow_failures:
- php: 7.0
<|file_sep|>original/.travis.yml
language: php
php:
- 5.4
- 5.5
- 5.6
- hhvm
before_script:
- composer self-update
- composer update
scri... | b94c2b8746f7b7a964b2f25e4ce2b8c824d4c458 | .travis.yml | .travis.yml | YAML |
<|file_sep|>KeenClient.podspec.diff
original:
spec.source_files = 'KeenClient/*.{h,m}','Library/sqlite-amalgamation/*.{h,c}','Library/Reachability/*.{h,m}'
updated:
spec.source_files = 'KeenClient/*.{h,m}','Library/Reachability/*.{h,m}'
<|file_sep|>KeenClient.podspec.diff
original:
spec.private_header_files = 'Li... | spec.license = { :type => 'MIT' }
spec.ios.deployment_target = '6.0'
spec.osx.deployment_target = '10.9'
spec.homepage = 'https://github.com/keenlabs/KeenClient-iOS'
spec.authors = { 'Daniel Kador' => 'dan@keen.io' }
spec.summary = 'Keen iOS client library.'
spec.description = <<-DESC
... | <|file_sep|>KeenClient.podspec.diff
original:
spec.source_files = 'KeenClient/*.{h,m}','Library/sqlite-amalgamation/*.{h,c}','Library/Reachability/*.{h,m}'
updated:
spec.source_files = 'KeenClient/*.{h,m}','Library/Reachability/*.{h,m}'
<|file_sep|>KeenClient.podspec.diff
original:
spec.private_header_files = 'Li... | 00cfff40fcc2761942c1b778b26dee268639e166 | KeenClient.podspec | KeenClient.podspec | Ruby |
<|file_sep|>original/recipes-security/ocdm/ocdmi_git.bb
#
# This file was derived from the 'Hello World!' example recipe in the
# Yocto Project Development Manual.
#
DESCRIPTION = "Open Content Decryption Module"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=ea83f8bc099c40bde8c4f2441a6eb40b"
SRC_URI = "git:/... | #
# This file was derived from the 'Hello World!' example recipe in the
# Yocto Project Development Manual.
#
DESCRIPTION = "Open Content Decryption Module"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=ea83f8bc099c40bde8c4f2441a6eb40b"
SRC_URI = "git://github.com/linaro-home/open-content-decryption-module-c... | <|file_sep|>original/recipes-security/ocdm/ocdmi_git.bb
#
# This file was derived from the 'Hello World!' example recipe in the
# Yocto Project Development Manual.
#
DESCRIPTION = "Open Content Decryption Module"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=ea83f8bc099c40bde8c4f2441a6eb40b"
SRC_URI = "git:/... | 51414a439e928a97bbcea44f80b7d69aa27f0890 | recipes-security/ocdm/ocdmi_git.bb | recipes-security/ocdm/ocdmi_git.bb | BitBake |
<|file_sep|>original/packages/by/byte-order.yaml
<|file_sep|>current/packages/by/byte-order.yaml
<|file_sep|>updated/packages/by/byte-order.yaml | homepage: https://github.com/andrewthad/byte-order
changelog-type: markdown
hash: ee08534a993246341ea6b84a5a38f98ca9e96c74c2073cbdfb94a66c917db46a
test-bench-deps:
base: -any
primitive: -any
byte-order: -any
maintainer: andrew.thaddeus@gmail.com
synopsis: Portable big-endian and little-endian conversions
changelo... | <|file_sep|>original/packages/by/byte-order.yaml
<|file_sep|>current/packages/by/byte-order.yaml
<|file_sep|>updated/packages/by/byte-order.yaml
homepage: https://github.com/andrewthad/byte-order
changelog-type: markdown
hash: ee08534a993246341ea6b84a5a38f98ca9e96c74c2073cbdfb94a66c917db46a
test-bench-deps:
base: -... | 74bdbfc02852a8dd2e0213b9fdc85c8aa60d4699 | packages/by/byte-order.yaml | packages/by/byte-order.yaml | YAML |
<|file_sep|>metadata/com.drhoffmannstoolsdataloggerreader.yml.diff
original:
updated:
- versionName: 1.12-52
versionCode: 52
commit: 1.12-52
subdir: app
gradle:
- yes
prebuild: sed -i -e '/keystore/d' build.gradle
<|file_sep|>original/metadata/com.drhoffmannstoolsdataloggerreader.yml
Build... |
- versionName: 1.11-51
versionCode: 51
commit: 1.11-51
subdir: app
gradle:
- yes
prebuild: sed -i -e '/keystore/d' build.gradle
- versionName: 1.12-52
versionCode: 52
commit: 1.12-52
subdir: app
gradle:
- yes
prebuild: sed -i -e '/keystore/d' build.gradle
AutoU... | <|file_sep|>metadata/com.drhoffmannstoolsdataloggerreader.yml.diff
original:
updated:
- versionName: 1.12-52
versionCode: 52
commit: 1.12-52
subdir: app
gradle:
- yes
prebuild: sed -i -e '/keystore/d' build.gradle
<|file_sep|>original/metadata/com.drhoffmannstoolsdataloggerreader.yml
Build... | fd6a0f1c4dd5100f5bc2aa54d6092462c01f6ee2 | metadata/com.drhoffmannstoolsdataloggerreader.yml | metadata/com.drhoffmannstoolsdataloggerreader.yml | YAML |
<|file_sep|>original/cdk-data/src/site/markdown/limitations.md
# Known Limitations
The CDK Data module has the following known limitations as well as the intended
course of action, if available. Users are encouraged to participate in the
discussion of any feature addition or improvements by way of the mailing lists
or... | # Known Limitations
The CDK Data module has the following known limitations as well as the intended
course of action, if available. Users are encouraged to participate in the
discussion of any feature addition or improvements by way of the mailing lists
or the indicated JIRA, if it exists.
* It's not currently possib... | <|file_sep|>original/cdk-data/src/site/markdown/limitations.md
# Known Limitations
The CDK Data module has the following known limitations as well as the intended
course of action, if available. Users are encouraged to participate in the
discussion of any feature addition or improvements by way of the mailing lists
or... | 25e560f98a4fe3d04263806e66244f3a7768a560 | cdk-data/src/site/markdown/limitations.md | cdk-data/src/site/markdown/limitations.md | Markdown |
<|file_sep|>src/token.js.diff
original:
var MaapError = require("./utils/MaapError.js");
const EventEmitter = require('events');
const util = require('util');
updated:
var MaapError = require("./utils/MaapError");
const EventEmitter = require("events");
const util = require("util");
<|file_sep|>src/token.js.diff
origin... | models: []
};
EventEmitter.call(this);
};
util.inherits(Token, EventEmitter);
/**
* @description
* Send the notifies for each observer attached at the token with the model loaded.
* @param model {Model}
* The model to store
*/
Token.prototype.register = function (model) {
this.status.mod... | <|file_sep|>src/token.js.diff
original:
var MaapError = require("./utils/MaapError.js");
const EventEmitter = require('events');
const util = require('util');
updated:
var MaapError = require("./utils/MaapError");
const EventEmitter = require("events");
const util = require("util");
<|file_sep|>src/token.js.diff
origin... | 37786b6ca041b387ff9be400a1f13412f0f21db8 | src/token.js | src/token.js | JavaScript |
<|file_sep|>original/modules/effects/src/actions.ts
}
}
lift<R>(operator: Operator<V, R>): Observable<R> {
const observable = new Actions<R>();
observable.source = this;
observable.operator = operator;
return observable;
}
ofType<V2 extends V = V>(...allowedTypes: string[]): Actions<V2> {
... | }
}
lift<R>(operator: Operator<V, R>): Observable<R> {
const observable = new Actions<R>();
observable.source = this;
observable.operator = operator;
return observable;
}
/**
* @deprecated from 6.1.0. Use the pipeable `ofType` operator instead.
*/
ofType<V2 extends V = V>(...allowe... | <|file_sep|>original/modules/effects/src/actions.ts
}
}
lift<R>(operator: Operator<V, R>): Observable<R> {
const observable = new Actions<R>();
observable.source = this;
observable.operator = operator;
return observable;
}
ofType<V2 extends V = V>(...allowedTypes: string[]): Actions<V2> {
... | 830c8fa8c1529d2350814eb954928e913636278e | modules/effects/src/actions.ts | modules/effects/src/actions.ts | TypeScript |
<|file_sep|>src/main/java/de/craften/plugins/educraft/luaapi/functions/WaitFunction.java.diff
original:
public Varargs execute(Varargs varargs) {
updated:
public Varargs invoke(Varargs varargs) {
<|file_sep|>src/main/java/de/craften/plugins/educraft/luaapi/functions/WaitFunction.java.diff
original:
... | /**
* A function to wait for a given duration.
*/
public class WaitFunction extends EduCraftApiFunction {
private static final long DEFAULT_TIME = 1000;
@Override
public Varargs invoke(Varargs varargs) {
try {
Thread.sleep(varargs.optlong(1, DEFAULT_TIME) + getApi().getFunctionDelay()... | <|file_sep|>src/main/java/de/craften/plugins/educraft/luaapi/functions/WaitFunction.java.diff
original:
public Varargs execute(Varargs varargs) {
updated:
public Varargs invoke(Varargs varargs) {
<|file_sep|>src/main/java/de/craften/plugins/educraft/luaapi/functions/WaitFunction.java.diff
original:
... | 96a5329dd36f176c6d1ac3c9ab4d68cf20224680 | src/main/java/de/craften/plugins/educraft/luaapi/functions/WaitFunction.java | src/main/java/de/craften/plugins/educraft/luaapi/functions/WaitFunction.java | Java |
<|file_sep|>original/README.md

http://www.hackbrowser.com
# HackBrowser
HackBrowser is built with Electron (formerly Atom Shell), which enables building cross platform desktop apps with HTML, CSS, and Javascript. HackBrowser uses Electron’... | 
http://www.hackbrowser.com
# HackBrowser
HackBrowser is built with Electron (formerly Atom Shell), which enables building cross platform desktop apps with HTML, CSS, and Javascript. HackBrowser uses Electron’s <webview> API to simulate tabbed ... | <|file_sep|>original/README.md

http://www.hackbrowser.com
# HackBrowser
HackBrowser is built with Electron (formerly Atom Shell), which enables building cross platform desktop apps with HTML, CSS, and Javascript. HackBrowser uses Electron’... | c0c9ab92832d1a85f37f0fc286ef79bc6cf47b21 | README.md | README.md | Markdown |
<|file_sep|>.travis.yml.diff
original:
- eval "$(/opt/chefdk/bin/chef shell-init bash)"
updated:
- eval "$(chef shell-init bash)"
<|file_sep|>.travis.yml.diff
original:
script: KITCHEN_LOCAL_YAML=.kitchen.dokken.yml /opt/chefdk/embedded/bin/kitchen verify ${INSTANCE}
updated:
script: KITCHEN_LOCAL_YAML=.kitchen.dok... | - INSTANCE=default-fedora-latest
- INSTANCE=default-opensuse-leap
- INSTANCE=default-ubuntu-1404
- INSTANCE=default-ubuntu-1604
before_script:
- sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
- eval "$(chef shell-init bash)"
script: KITCHEN_LOCAL_YAML=.kitche... | <|file_sep|>.travis.yml.diff
original:
- eval "$(/opt/chefdk/bin/chef shell-init bash)"
updated:
- eval "$(chef shell-init bash)"
<|file_sep|>.travis.yml.diff
original:
script: KITCHEN_LOCAL_YAML=.kitchen.dokken.yml /opt/chefdk/embedded/bin/kitchen verify ${INSTANCE}
updated:
script: KITCHEN_LOCAL_YAML=.kitchen.dok... | 1423fc06d74f59a078274e452707c423e990c169 | .travis.yml | .travis.yml | YAML |
<|file_sep|>gulpfile.coffee.diff
original:
updated:
errorOccurred = no
process.once 'exit', (code) ->
if errorOccurred and code == 0
process.exit 1
<|file_sep|>original/gulpfile.coffee
gutil = require 'gulp-util'
mocha = require 'gulp-mocha'
rimraf = require 'rimraf'
handleError = (err) ->
gutil.log err
@e... | gutil = require 'gulp-util'
mocha = require 'gulp-mocha'
rimraf = require 'rimraf'
errorOccurred = no
process.once 'exit', (code) ->
if errorOccurred and code == 0
process.exit 1
handleError = (err) ->
errorOccurred = yes
gutil.log err
@emit 'end'
gulp.task 'clean', (done) ->
rimraf './lib', done
gulp... | <|file_sep|>gulpfile.coffee.diff
original:
updated:
errorOccurred = no
process.once 'exit', (code) ->
if errorOccurred and code == 0
process.exit 1
<|file_sep|>original/gulpfile.coffee
gutil = require 'gulp-util'
mocha = require 'gulp-mocha'
rimraf = require 'rimraf'
handleError = (err) ->
gutil.log err
@e... | e44d4748ae716c643825b8c492b720a6f5aed1a3 | gulpfile.coffee | gulpfile.coffee | CoffeeScript |
<|file_sep|>original/libs/lib-ssh-agent.bash
sshagentadd() {
if [ -f "$1" ]; then
sshagentaddfiles "$1"
return
fi
local SSH_KEY_FILE=$SSH_ROOT/$1
if [ -f "$SSH_KEY_FILE" ]; then
sshagentaddfiles "$SSH_KEY_FILE"
return
fi
sshagentaddfiles $SSH_ROOT
}
... | sshagentadd() {
if [ -f "$1" ]; then
sshagentaddfiles "$1"
return
fi
local SSH_KEY_FILE=$SSH_ROOT/$1
if [ -f "$SSH_KEY_FILE" ]; then
sshagentaddfiles "$SSH_KEY_FILE"
return
fi
sshagentaddfiles $SSH_ROOT
}
sshagentaddfiles() {
if [ -f "$1" ]; the... | <|file_sep|>original/libs/lib-ssh-agent.bash
sshagentadd() {
if [ -f "$1" ]; then
sshagentaddfiles "$1"
return
fi
local SSH_KEY_FILE=$SSH_ROOT/$1
if [ -f "$SSH_KEY_FILE" ]; then
sshagentaddfiles "$SSH_KEY_FILE"
return
fi
sshagentaddfiles $SSH_ROOT
}
... | aea9fa1167844a4d1fe744ca8de9dd20d0787f9f | libs/lib-ssh-agent.bash | libs/lib-ssh-agent.bash | Shell |
<|file_sep|>week-4/count-between/my_solution.rb.diff
original:
# I worked on this challenge [by myself, with: ].
updated:
# I worked on this challenge [by myself]
<|file_sep|>week-4/count-between/my_solution.rb.diff
original:
updated:
count = 0
i = 0
x = 0
print "array #{list_of_integers}"
puts lower_bound
... | if (list_of_integers.length == 0)
return 0
end
list_of_integers.each do |x|
if (x >= lower_bound and x <= upper_bound)
count += 1
puts "count #{count}"
end
end
return count
end
puts count_between([1,2,3], 0, 100)
#puts count_between([-10, 1, 2], 7, 100)
#count_between([], -100, ... | <|file_sep|>week-4/count-between/my_solution.rb.diff
original:
# I worked on this challenge [by myself, with: ].
updated:
# I worked on this challenge [by myself]
<|file_sep|>week-4/count-between/my_solution.rb.diff
original:
updated:
count = 0
i = 0
x = 0
print "array #{list_of_integers}"
puts lower_bound
... | d63993ecd985214723ad6974f2346ce678fa98b2 | week-4/count-between/my_solution.rb | week-4/count-between/my_solution.rb | Ruby |
<|file_sep|>original/package.json
<|file_sep|>current/package.json
<|file_sep|>updated/package.json | {
"name": "yaz-blog",
"version": "0.0.1",
"main": "index.js",
"dependencies": {},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "MIT",
"devDependencies": {
"browser-sync": "^2.6.9",
"critical": "^0.5.7",
"del": "^1.1.1",
"gulp": "^3.... | <|file_sep|>original/package.json
<|file_sep|>current/package.json
<|file_sep|>updated/package.json
{
"name": "yaz-blog",
"version": "0.0.1",
"main": "index.js",
"dependencies": {},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "MIT",
"devDependen... | 25d636fc0e4b1a8e2889aba49865a8266267f1d6 | package.json | package.json | JSON |
<|file_sep|>original/wct.conf.json
{
"plugins": {
"istanbul": {
"dir": "./coverage",
"reporters": ["text-summary", "lcov"],
"include": [
"/src/**/*.html"
],
"exclude": [
"/src/bower_components/**"
]
}
}
}
<|file_sep|>current/wct.conf.json
{
"plugins": {
... | {
"plugins": {
"local": {
"browsers": ["chrome"]
},
"istanbul": {
"dir": "./coverage",
"reporters": ["text-summary", "lcov"],
"include": [
"/src/**/*.html"
],
"exclude": [
"/src/bower_components/**"
]
}
}
} | <|file_sep|>original/wct.conf.json
{
"plugins": {
"istanbul": {
"dir": "./coverage",
"reporters": ["text-summary", "lcov"],
"include": [
"/src/**/*.html"
],
"exclude": [
"/src/bower_components/**"
]
}
}
}
<|file_sep|>current/wct.conf.json
{
"plugins": {
... | 4e5dc31d5dcdcb5eca697eb67481dbbb62c2c9cb | wct.conf.json | wct.conf.json | JSON |
<|file_sep|>original/.travis.yml
language: python
python:
# This is not actually used. Because it would take an overly long time
# to build scipy we cannot use the virtual env of travis. Instead, we
# use miniconda.
- "2.7"
sudo: false
install:
# Install miniconda
# -----------------
- if [[ "$TRAVIS_PYTHON_V... | language: python
python:
# This is not actually used. Because it would take an overly long time
# to build scipy we cannot use the virtual env of travis. Instead, we
# use miniconda.
- "2.7"
sudo: false
cache:
directories:
- $HOME/.cache/matplotlib
install:
# Install miniconda
# -----------------
- if ... | <|file_sep|>original/.travis.yml
language: python
python:
# This is not actually used. Because it would take an overly long time
# to build scipy we cannot use the virtual env of travis. Instead, we
# use miniconda.
- "2.7"
sudo: false
install:
# Install miniconda
# -----------------
- if [[ "$TRAVIS_PYTHON_V... | 2f69c805d4fd33b1ff7d4edc250d6511423193ae | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/read.ts
export function todoListEvents(): Promise<DomainEvent[]> {
// This app's domain and event-store are designed to accommodate multiple aggregates of different types.
// Currently, the app only has one aggregate type (TodoList) and only allows the user to have one instance of that aggr... | export function todoListEvents(): Promise<DomainEvent[]> {
// This app's domain and event-store are designed to accommodate multiple aggregates of different types.
// Currently, the app only has one aggregate type (TodoList) and only allows the user to have one instance of that aggregate.
// This todoLists(... | <|file_sep|>original/read.ts
export function todoListEvents(): Promise<DomainEvent[]> {
// This app's domain and event-store are designed to accommodate multiple aggregates of different types.
// Currently, the app only has one aggregate type (TodoList) and only allows the user to have one instance of that aggr... | 45b520975d515a88ac975ca09035b196ba5abeda | read.ts | read.ts | TypeScript |
<|file_sep|>original/Chapter_01/Exercise_01_21/sum_two_sales_data.cpp
* @file
* sum_two_sales_data.cpp
* @author
* Henrik Samuelsson
*/
#include <iostream>
#include "Sales_item.h"
/**
* @brief
* Reads two sales_item's objects prints the sum.
* @note
* The exercise instructions in the book... | * @file
* sum_two_sales_data.cpp
* @author
* Henrik Samuelsson
*/
#include <iostream>
#include "Sales_item.h"
/**
* @brief
* Reads two sales_item's objects and prints the sum.
* @note
* The exercise instructions in the book state that the two objects have
* the same ISBN. It is assu... | <|file_sep|>original/Chapter_01/Exercise_01_21/sum_two_sales_data.cpp
* @file
* sum_two_sales_data.cpp
* @author
* Henrik Samuelsson
*/
#include <iostream>
#include "Sales_item.h"
/**
* @brief
* Reads two sales_item's objects prints the sum.
* @note
* The exercise instructions in the book... | 35892c521a70fcf75a6f2f001bc983b993675364 | Chapter_01/Exercise_01_21/sum_two_sales_data.cpp | Chapter_01/Exercise_01_21/sum_two_sales_data.cpp | C++ |
<|file_sep|>original/setup_organization.sh
cd /cartodb
source /usr/local/rvm/scripts/rvm
ORGANIZATION_NAME="example"
USERNAME="admin4example"
EMAIL="admin@example.com"
PASSWORD="pass1234"
rake cartodb:db:create_user EMAIL="${EMAIL}" PASSWORD="${PASSWORD}" SUBDOMAIN="${USERNAME}"
rake cartodb:db:set_unlimited_table_qu... | cd /cartodb
source /usr/local/rvm/scripts/rvm
ORGANIZATION_NAME="example"
USERNAME="admin4example"
EMAIL="admin@example.com"
PASSWORD="pass1234"
rake cartodb:db:create_user EMAIL="${EMAIL}" PASSWORD="${PASSWORD}" SUBDOMAIN="${USERNAME}"
rake cartodb:db:set_unlimited_table_quota["${USERNAME}"]
rake cartodb:db:create_n... | <|file_sep|>original/setup_organization.sh
cd /cartodb
source /usr/local/rvm/scripts/rvm
ORGANIZATION_NAME="example"
USERNAME="admin4example"
EMAIL="admin@example.com"
PASSWORD="pass1234"
rake cartodb:db:create_user EMAIL="${EMAIL}" PASSWORD="${PASSWORD}" SUBDOMAIN="${USERNAME}"
rake cartodb:db:set_unlimited_table_qu... | 7704e1cfa7baa61bb7942f3f3a0e73a4f3ae91c8 | setup_organization.sh | setup_organization.sh | Shell |
<|file_sep|>original/requirements.txt
# Core packages
django-dotenv==1.4.1 # Read environment variables from .env
Flask==0.12.2 # Web microframework
Flask-Assets==0.12 # Merge and minify CSS and JS assets
Jinja2>=2.8.1 # Templating for Flask; pinned past security update
cssmin==0.2.0 # CSS minifi... | # Core packages
django-dotenv==1.4.1 # Read environment variables from .env
Flask==0.12.2 # Web microframework
Flask-Assets==0.12 # Merge and minify CSS and JS assets
Jinja2>=2.8.1 # Templating for Flask; pinned past security update
cssmin==0.2.0 # CSS minification
uWSGI==2.0.15 # Applicat... | <|file_sep|>original/requirements.txt
# Core packages
django-dotenv==1.4.1 # Read environment variables from .env
Flask==0.12.2 # Web microframework
Flask-Assets==0.12 # Merge and minify CSS and JS assets
Jinja2>=2.8.1 # Templating for Flask; pinned past security update
cssmin==0.2.0 # CSS minifi... | 4fcb541e3f01130e254449b7c222fef7bdda911d | requirements.txt | requirements.txt | Text |
<|file_sep|>original/.codeclimate.yml
---
ratings:
paths:
- "**.rb"
exclude_paths:
- spec/**/*
<|file_sep|>current/.codeclimate.yml
---
ratings:
paths:
- "**.rb"
exclude_paths:
- spec/**/*
<|file_sep|>updated/.codeclimate.yml | ---
engines:
rubocop:
enabled: true
ratings:
paths:
- "**.rb"
exclude_paths:
- spec/**/* | <|file_sep|>original/.codeclimate.yml
---
ratings:
paths:
- "**.rb"
exclude_paths:
- spec/**/*
<|file_sep|>current/.codeclimate.yml
---
ratings:
paths:
- "**.rb"
exclude_paths:
- spec/**/*
<|file_sep|>updated/.codeclimate.yml
---
engines:
rubocop:
enabled: true
ratings:
paths:
- "**.rb"
exclude_pa... | c5b3b6b0092bf7ffa29cb3e0df4cedebe440b69e | .codeclimate.yml | .codeclimate.yml | YAML |
<|file_sep|>packages/bl/blas-ffi.yaml.diff
original:
hash: bccce04f5624375ef084ca3225aceeb4c30de11e3bfd6c9fe3533874badc551e
updated:
hash: f2eacf3c6a24a014cdfd14eb587b2aed39e8d9e74869fa94638cdb2bbfe1b669
<|file_sep|>packages/bl/blas-ffi.yaml.diff
original:
- '0.0.1'
- '0.0.1.1'
- '0.0.2'
updated:
- 0.0.1
- 0.0.1.1
- 0.... | - 0.0.1.1
- 0.0.2
- '0.1'
author: Henning Thielemann <haskell@henning-thielemann.de>
latest: '0.1'
description-type: markdown
description: ! '## cabs1
The reference BLAS implementation provides the functions SCABS1 and DCABS1.
However, it is missing in some optimized alternative implementations
like OpenBLAS ... | <|file_sep|>packages/bl/blas-ffi.yaml.diff
original:
hash: bccce04f5624375ef084ca3225aceeb4c30de11e3bfd6c9fe3533874badc551e
updated:
hash: f2eacf3c6a24a014cdfd14eb587b2aed39e8d9e74869fa94638cdb2bbfe1b669
<|file_sep|>packages/bl/blas-ffi.yaml.diff
original:
- '0.0.1'
- '0.0.1.1'
- '0.0.2'
updated:
- 0.0.1
- 0.0.1.1
- 0.... | 5f5e4f1938a18f85ea9e68ada21bc02b721ad73a | packages/bl/blas-ffi.yaml | packages/bl/blas-ffi.yaml | YAML |
<|file_sep|>static/locales/en-GB/messages.properties.diff
original:
updated:
navigation-title=Pontoon Intro
navigation-developers=Developers
<|file_sep|>original/static/locales/en-GB/messages.properties
# Title tag
# Navigation
# Header
upper-title=Pontoon by Mozilla
headline-1=LocaliSe the web.
# What
what-desc=Po... | # Title tag
# Navigation
navigation-title=Pontoon Intro
navigation-developers=Developers
# Header
upper-title=Pontoon by Mozilla
headline-1=LocaliSe the web.
headline-2=In Place.
call-to-action=Tell Me More
# What
what-desc=Pontoon allows you to localise web content in place, with context and spatial limitations rig... | <|file_sep|>static/locales/en-GB/messages.properties.diff
original:
updated:
navigation-title=Pontoon Intro
navigation-developers=Developers
<|file_sep|>original/static/locales/en-GB/messages.properties
# Title tag
# Navigation
# Header
upper-title=Pontoon by Mozilla
headline-1=LocaliSe the web.
# What
what-desc=Po... | dbbb284e2e2fb4768b97dad267cd894bf6fa49b0 | static/locales/en-GB/messages.properties | static/locales/en-GB/messages.properties | INI |
<|file_sep|>original/requirements/dev.txt
# ulid/requirements/dev.txt
#
# Requirements for using developing package.
-r base.txt
bumpversion==0.5.3
mypy==0.700
pylint==1.7.5; python_version < '2.7' or (python_version > '3.0' and python_version < '3.4') # pyup: ignore
pylint==2.3.1; (python_version > '2.7' and python... | # ulid/requirements/dev.txt
#
# Requirements for using developing package.
-r base.txt
bumpversion==0.5.3
mypy==0.701
pylint==1.7.5; python_version < '2.7' or (python_version > '3.0' and python_version < '3.4') # pyup: ignore
pylint==2.3.1; (python_version > '2.7' and python_version < '3.0') or python_version >= '3.... | <|file_sep|>original/requirements/dev.txt
# ulid/requirements/dev.txt
#
# Requirements for using developing package.
-r base.txt
bumpversion==0.5.3
mypy==0.700
pylint==1.7.5; python_version < '2.7' or (python_version > '3.0' and python_version < '3.4') # pyup: ignore
pylint==2.3.1; (python_version > '2.7' and python... | 52f8a4bcd2abd22ce4c497b00c140f061b273b73 | requirements/dev.txt | requirements/dev.txt | Text |
<|file_sep|>src/git/common.ts.diff
original:
STAGED_ADDED,
STAGED_COPIED,
STAGED_DELETED,
STAGED_MODIFIED,
STAGED_RENAMED,
STAGED_TYPE,
STAGED_UNKNOWN,
STAGED_UNMERGED,
updated:
<|file_sep|>original/src/git/common.ts
export enum GitStatus {
CLEAN,
DELETED,
MODIFIED,
STAG... | CLEAN,
DELETED,
MODIFIED,
STAGED,
UNTRACKED
}
export enum GitStagedType {
ADDED,
COPIED,
DELETED,
MODIFIED,
RENAMED,
TYPE,
UNKNOWN,
UNMERGED
}
export const GitStategTypeMap: Map<string, GitStagedType> = new Map<string, GitStagedType>();
GitStategTypeMap.set("A", Git... | <|file_sep|>src/git/common.ts.diff
original:
STAGED_ADDED,
STAGED_COPIED,
STAGED_DELETED,
STAGED_MODIFIED,
STAGED_RENAMED,
STAGED_TYPE,
STAGED_UNKNOWN,
STAGED_UNMERGED,
updated:
<|file_sep|>original/src/git/common.ts
export enum GitStatus {
CLEAN,
DELETED,
MODIFIED,
STAG... | 3ead67bec6bc5890a0732c44253b474d15f40b96 | src/git/common.ts | src/git/common.ts | TypeScript |
<|file_sep|>original/src/styles/index.js
/* @flow */
export const CONTROL_SIZE = 44;
export const NAVBAR_SIZE = 58;
export const SPACING = 16;
export const HALF_SPACING = 8;
export const BRAND_COLOR = 'rgba(82, 194, 175, 1)';
export const BORDER_COLOR = BRAND_COLOR;
export const HIGHLIGHT_COLOR = 'rgba(86, 164, 174, 0... | /* @flow */
export const CONTROL_SIZE = 44;
export const NAVBAR_SIZE = 58;
export const BRAND_COLOR = 'rgba(82, 194, 175, 1)';
export const BORDER_COLOR = BRAND_COLOR;
export const HIGHLIGHT_COLOR = 'rgba(86, 164, 174, 0.5)';
export const HALF_COLOR = 'rgba(127, 127, 127, 0.5)';
export const QUARTER_COLOR = 'rgba(127,... | <|file_sep|>original/src/styles/index.js
/* @flow */
export const CONTROL_SIZE = 44;
export const NAVBAR_SIZE = 58;
export const SPACING = 16;
export const HALF_SPACING = 8;
export const BRAND_COLOR = 'rgba(82, 194, 175, 1)';
export const BORDER_COLOR = BRAND_COLOR;
export const HIGHLIGHT_COLOR = 'rgba(86, 164, 174, 0... | 817d898f98855e5379f77565390f426d833b8c4f | src/styles/index.js | src/styles/index.js | JavaScript |
<|file_sep|>source/blog/2015-06-29-continuous-integration-and-delivery.md.diff
original:
title: 'Agile companies: how they do Continuous Integration and Delivery?'
updated:
title: 'How the best companies do Continuous Integration'
<|file_sep|>original/source/blog/2015-06-29-continuous-integration-and-delivery.md
---
ti... | ---
title: 'How the best companies do Continuous Integration'
auth: Wojciech Koszek
read: 2015-06-20
tags: article
layout: layout_book
---
Nothing but the successful result of compilation delivers this unique
feeling of accomplishment. There are multiple stages of project's success,
yet each feedback on a positive pro... | <|file_sep|>source/blog/2015-06-29-continuous-integration-and-delivery.md.diff
original:
title: 'Agile companies: how they do Continuous Integration and Delivery?'
updated:
title: 'How the best companies do Continuous Integration'
<|file_sep|>original/source/blog/2015-06-29-continuous-integration-and-delivery.md
---
ti... | a57d4669b063628cf888927bad6a87f7cc5ac0f9 | source/blog/2015-06-29-continuous-integration-and-delivery.md | source/blog/2015-06-29-continuous-integration-and-delivery.md | Markdown |
<|file_sep|>original/circle.yml
---
machine:
java:
version: oraclejdk8
test:
post:
- ./gradlew client:jacocoTestReport client:coveralls
<|file_sep|>current/circle.yml
---
machine:
java:
version: oraclejdk8
test:
post:
- ./gradlew client:jacocoTestReport client:coveralls
<|file_sep|>updated/c... | ---
machine:
java:
version: oraclejdk8
environment:
TERMINAL: dumb
test:
post:
- ./gradlew client:jacocoTestReport client:coveralls | <|file_sep|>original/circle.yml
---
machine:
java:
version: oraclejdk8
test:
post:
- ./gradlew client:jacocoTestReport client:coveralls
<|file_sep|>current/circle.yml
---
machine:
java:
version: oraclejdk8
test:
post:
- ./gradlew client:jacocoTestReport client:coveralls
<|file_sep|>updated/c... | f79831b0c25ea9cb30d926825e1385994920968a | circle.yml | circle.yml | YAML |
<|file_sep|>original/README.md
[](http://travis-ci.org/ikr/tv4-format)
# About
Provides the implementation of common [JSON Schema](http://json-schema.org/) string format
constraints in the form of
[tv4 validator callbacks.](https://github.com/geraintluff... | [](http://travis-ci.org/ikr/tv4-formats)
# About
Provides the implementation of common [JSON Schema](http://json-schema.org/) string format
constraints in the form of
[tv4 validator callbacks.](https://github.com/geraintluff/tv4#addformatformat-validati... | <|file_sep|>original/README.md
[](http://travis-ci.org/ikr/tv4-format)
# About
Provides the implementation of common [JSON Schema](http://json-schema.org/) string format
constraints in the form of
[tv4 validator callbacks.](https://github.com/geraintluff... | d835119f1346322a34cb8fdaf11a3eaae7f62d05 | README.md | README.md | Markdown |
<|file_sep|>index.js.diff
original:
updated:
fm = require('front-matter'),
<|file_sep|>index.js.diff
original:
var markdown = slurp('posts/' + fpath);
updated:
var content = fm(slurp('posts/' + fpath));
<|file_sep|>original/index.js
function spit(fpath, contents) {
fs.writeFileSync(fpath, contents);
}
func... | }
function spit(fpath, contents) {
fs.writeFileSync(fpath, contents);
}
function readPost(fpath) {
var content = fm(slurp('posts/' + fpath));
return {
name: path.basename(fpath, '.md'),
attrs: content.attributes,
markdown: content.body,
html: md(content.body)
};
}
function renderPost($, post)... | <|file_sep|>index.js.diff
original:
updated:
fm = require('front-matter'),
<|file_sep|>index.js.diff
original:
var markdown = slurp('posts/' + fpath);
updated:
var content = fm(slurp('posts/' + fpath));
<|file_sep|>original/index.js
function spit(fpath, contents) {
fs.writeFileSync(fpath, contents);
}
func... | b91a2d062e41eb2c8710467603f25dac14279495 | index.js | index.js | JavaScript |
<|file_sep|>original/.vscode/launch.json
<|file_sep|>current/.vscode/launch.json
<|file_sep|>updated/.vscode/launch.json | {
"version": "0.2.0",
"configurations": [{
"name": "Chrome",
"type": "chrome",
"request": "launch",
"url": "http://localhost:3000",
"webRoot": "${workspaceRoot}/src",
"userDataDir": "${workspaceRoot}/.vscode/chrome",
"sourceMapPathOverrides": {
"webpack:///src/*": "${webRoot}/*"
... | <|file_sep|>original/.vscode/launch.json
<|file_sep|>current/.vscode/launch.json
<|file_sep|>updated/.vscode/launch.json
{
"version": "0.2.0",
"configurations": [{
"name": "Chrome",
"type": "chrome",
"request": "launch",
"url": "http://localhost:3000",
"webRoot": "${workspaceRoot}/src",
"u... | efaaeddd7be8ce531ff828b7c2cc32b20d86d6b0 | .vscode/launch.json | .vscode/launch.json | JSON |
<|file_sep|>original/app/assets/javascripts/tickets.js
jQuery(function() {
jQuery('table tr td.assignee a').click(function(e) {
e.preventDefault();
var dialog = jQuery('#assign-ticket');
var options = dialog.find('form select');
/* set ticket id */
dialog.find('form').attr('action',
jQu... | // Brimir is a helpdesk system to handle email support requests.
// Copyright (C) 2012 Ivaldi http:gcivaldi.nl
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, either version 3 of th... | <|file_sep|>original/app/assets/javascripts/tickets.js
jQuery(function() {
jQuery('table tr td.assignee a').click(function(e) {
e.preventDefault();
var dialog = jQuery('#assign-ticket');
var options = dialog.find('form select');
/* set ticket id */
dialog.find('form').attr('action',
jQu... | 93b6cad3e591ba841a7caf960fad4f0780dea336 | app/assets/javascripts/tickets.js | app/assets/javascripts/tickets.js | JavaScript |
<|file_sep|>original/.codacy.yml
---
engines:
phpmd:
enabled: true
config:
rulesets: "phpmd.xml.dist"
exclude_paths:
- 'ext/**'
- 'prototypes/**'
<|file_sep|>current/.codacy.yml
---
engines:
phpmd:
enabled: true
config:
rulesets: "phpmd.xml.dist"
exclude_paths:
- 'ext/**'
- 'pr... | ---
engines:
phpmd:
enabled: true
config:
rulesets: "phpmd.xml.dist"
phpcs:
enabled: true
config:
ruleset: "phpcs.xml.dist"
exclude_paths:
- 'ext/**'
- 'prototypes/**' | <|file_sep|>original/.codacy.yml
---
engines:
phpmd:
enabled: true
config:
rulesets: "phpmd.xml.dist"
exclude_paths:
- 'ext/**'
- 'prototypes/**'
<|file_sep|>current/.codacy.yml
---
engines:
phpmd:
enabled: true
config:
rulesets: "phpmd.xml.dist"
exclude_paths:
- 'ext/**'
- 'pr... | 743a2cadfeb25129931aecf6d60586943736dc59 | .codacy.yml | .codacy.yml | YAML |
<|file_sep|>original/app/example/index.coffee
module.exports = do (Marionette, $) ->
{ UIRouterMarionette } = require('../router')
App = new Marionette.Application
Marionette.Behaviors.behaviorsLookup = ->
# Import Marionette behaviors for state lookup/active state
UISref: require('../router/marionette/be... | module.exports = do (Marionette, $) ->
{ UIRouterMarionette } = require('../router')
App = new Marionette.Application
Marionette.Behaviors.behaviorsLookup = ->
# Import Marionette behaviors for state lookup/active state
UISref: require('../router/marionette/behaviors').UISref
App.addRegions
rootReg... | <|file_sep|>original/app/example/index.coffee
module.exports = do (Marionette, $) ->
{ UIRouterMarionette } = require('../router')
App = new Marionette.Application
Marionette.Behaviors.behaviorsLookup = ->
# Import Marionette behaviors for state lookup/active state
UISref: require('../router/marionette/be... | e4d8bfd71afc14a8a42c2960ee43c973aaa6dd50 | app/example/index.coffee | app/example/index.coffee | CoffeeScript |
<|file_sep|>original/metadata.rb
name 'pdns'
maintainer 'Chef Software, Inc.'
maintainer_email 'cookbooks@chef.io'
license 'Apache 2.0'
description 'Installs/Configures pdns'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '2.1.1'
supports 'ubun... | name 'pdns'
maintainer 'Chef Software, Inc.'
maintainer_email 'cookbooks@chef.io'
license 'Apache 2.0'
description 'Installs/Configures pdns'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '2.1.1'
source_url 'https://github.com/aetrion/pdn... | <|file_sep|>original/metadata.rb
name 'pdns'
maintainer 'Chef Software, Inc.'
maintainer_email 'cookbooks@chef.io'
license 'Apache 2.0'
description 'Installs/Configures pdns'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '2.1.1'
supports 'ubun... | 4ec4f65e592253c73e130e24c598b924177a5d2e | metadata.rb | metadata.rb | Ruby |
<|file_sep|>original/requirements-dev.txt
-r requirements.txt
check-manifest==0.36
pyroma==2.3
pytest==3.4.0
pytest-mock==1.6.3
tox==2.9.1
flake8==3.5.0
twine==1.9.1
coverage==4.5
pytest-cov==2.5.1
Sphinx==1.6.7
sphinx-autobuild==0.7.1
redis==2.10.6
<|file_sep|>current/requirements-dev.txt
-r requirements.txt
check-man... | -r requirements.txt
check-manifest==0.36
pyroma==2.3
pytest==3.4.0
pytest-mock==1.6.3
tox==2.9.1
flake8==3.5.0
twine==1.9.1
coverage==4.5.1
pytest-cov==2.5.1
Sphinx==1.6.7
sphinx-autobuild==0.7.1
redis==2.10.6 | <|file_sep|>original/requirements-dev.txt
-r requirements.txt
check-manifest==0.36
pyroma==2.3
pytest==3.4.0
pytest-mock==1.6.3
tox==2.9.1
flake8==3.5.0
twine==1.9.1
coverage==4.5
pytest-cov==2.5.1
Sphinx==1.6.7
sphinx-autobuild==0.7.1
redis==2.10.6
<|file_sep|>current/requirements-dev.txt
-r requirements.txt
check-man... | 2eeb13d0c1e6b48cee15c6a3c30b94b774ef2812 | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/tools/Cargo.toml
[package]
name = "matroska-tools"
version = "0.1.0"
authors = ["Luca Barbato <lu_zero@gentoo.org>"]
edition = "2018"
[[bin]]
name = "matroska_info"
path = "src/matroska_info.rs"
[dependencies]
av-data = "0.2"
av-format = "0.2"
circular = "0.3"
log = "0.4"
matroska = { path=".." }... | [package]
name = "matroska-tools"
version = "0.1.0"
authors = ["Luca Barbato <lu_zero@gentoo.org>"]
edition = "2018"
[[bin]]
name = "matroska_info"
path = "src/matroska_info.rs"
[dependencies]
av-data = "0.2"
av-format = "0.2"
circular = "0.3"
log = "0.4"
matroska = { path=".." }
nom = "5.0"
pretty_env_logger = "0.3"... | <|file_sep|>original/tools/Cargo.toml
[package]
name = "matroska-tools"
version = "0.1.0"
authors = ["Luca Barbato <lu_zero@gentoo.org>"]
edition = "2018"
[[bin]]
name = "matroska_info"
path = "src/matroska_info.rs"
[dependencies]
av-data = "0.2"
av-format = "0.2"
circular = "0.3"
log = "0.4"
matroska = { path=".." }... | 182ac85b4db4ebd33d5588148d4719a2f2bbda6f | tools/Cargo.toml | tools/Cargo.toml | TOML |
<|file_sep|>original/.travis.yml
language:
- ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.5
install:
- "travis_retry bin/setup"
script:
- "bundle exec appraisal rake"
branches:
only:
- master
- 2.0
sudo: false
<|file_sep|>current/.travis.yml
language:
- ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.5
instal... | cache: bundler
language:
- ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.5
install:
- "travis_retry bin/setup"
script:
- "bundle exec appraisal rake"
branches:
only:
- master
sudo: false | <|file_sep|>original/.travis.yml
language:
- ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.5
install:
- "travis_retry bin/setup"
script:
- "bundle exec appraisal rake"
branches:
only:
- master
- 2.0
sudo: false
<|file_sep|>current/.travis.yml
language:
- ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.5
instal... | 8f60e1524b364850d43c342891a7aa53c88cf4d1 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/project/plugins.sbt
libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.2.10"
// https://github.com/coursier/coursier/issues/450
classpathTypes += "maven-plugin"
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.34")
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.4")
ad... | libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.2.11"
// https://github.com/coursier/coursier/issues/450
classpathTypes += "maven-plugin"
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.34")
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.4")
addSbtPlugin("com.eed3si9n" % "sbt-buildinf... | <|file_sep|>original/project/plugins.sbt
libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.2.10"
// https://github.com/coursier/coursier/issues/450
classpathTypes += "maven-plugin"
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.34")
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.4")
ad... | f33e7e5023aa6488c2e5c36ad89a746a25a9471b | project/plugins.sbt | project/plugins.sbt | Scala |
<|file_sep|>original/app/scripts/modules/dirty_modules.sh
<|file_sep|>current/app/scripts/modules/dirty_modules.sh
<|file_sep|>updated/app/scripts/modules/dirty_modules.sh | #!/bin/bash
for i in `ls */package.json` ; do
DIR=`dirname $i`;
pushd $DIR > /dev/null;
git log -1 --name-only . | grep "$DIR/package.json" > /dev/null || echo $DIR is dirty;
popd > /dev/null;
done | <|file_sep|>original/app/scripts/modules/dirty_modules.sh
<|file_sep|>current/app/scripts/modules/dirty_modules.sh
<|file_sep|>updated/app/scripts/modules/dirty_modules.sh
#!/bin/bash
for i in `ls */package.json` ; do
DIR=`dirname $i`;
pushd $DIR > /dev/null;
git log -1 --name-only . | grep "$DIR/package.json... | 7ce975a68ba6510fec65f9b57b3a9319e2f95132 | app/scripts/modules/dirty_modules.sh | app/scripts/modules/dirty_modules.sh | Shell |
<|file_sep|>original/scripts/replace-slack-link.js
// slack invite links expire after 30 days and you can't(at least as far as i can tell) create tokens for things like slackin anymore
const fs = require('fs')
const slackInviteLink = process.argv[2]
const siteHeaderPath = `${__dirname}/../site/src/components/SiteHea... | // slack invite links expire after 30 days and you can't(at least as far as i can tell) create tokens for things like slackin anymore
const fs = require('fs')
const slackInviteLink = process.argv[2]
const siteHeaderPath = `${__dirname}/../site/src/components/SiteHeader.js`
const readmePath = `${__dirname}/../README.... | <|file_sep|>original/scripts/replace-slack-link.js
// slack invite links expire after 30 days and you can't(at least as far as i can tell) create tokens for things like slackin anymore
const fs = require('fs')
const slackInviteLink = process.argv[2]
const siteHeaderPath = `${__dirname}/../site/src/components/SiteHea... | b62647e8f52c9646d7f4f6eb789db1b84c94228a | scripts/replace-slack-link.js | scripts/replace-slack-link.js | JavaScript |
<|file_sep|>jenkins/dsl_seed/madcore_jenins_dsl_plugins.groovy.diff
original:
updated:
parameters {
stringParam('BRANCH', 'master', '')
}
<|file_sep|>original/jenkins/dsl_seed/madcore_jenins_dsl_plugins.groovy
job('madcore.jenkins.dsl.seed.plugins') {
customWorkspace('/opt/plugins')
scm {
... | customWorkspace('/opt/plugins')
parameters {
stringParam('BRANCH', 'master', '')
}
scm {
git {
remote {
url('https://github.com/madcore-ai/plugins')
}
branch(params.BRANCH)
}
}
steps {
dsl {
external(... | <|file_sep|>jenkins/dsl_seed/madcore_jenins_dsl_plugins.groovy.diff
original:
updated:
parameters {
stringParam('BRANCH', 'master', '')
}
<|file_sep|>original/jenkins/dsl_seed/madcore_jenins_dsl_plugins.groovy
job('madcore.jenkins.dsl.seed.plugins') {
customWorkspace('/opt/plugins')
scm {
... | 493647adcbb506ff278c7936ad50b288b6bf3927 | jenkins/dsl_seed/madcore_jenins_dsl_plugins.groovy | jenkins/dsl_seed/madcore_jenins_dsl_plugins.groovy | Groovy |
<|file_sep|>original/filebrowser_safe/static/filebrowser/js/FB_FileBrowseField.js
// enable the clear "button"
jQuery(clear).css("display", "inline");
if (ThumbURL && FileType != "") {
// selected file is an image and thumbnail is available:
// display the preview-image (thumbnail)
... |
// enable the clear "button"
jQuery(clear).css("display", "inline");
if (ThumbURL && FileType != "") {
// selected file is an image and thumbnail is available:
// display the preview-image (thumbnail)
// link the preview-image to the original image
link.setAttribute("href",... | <|file_sep|>original/filebrowser_safe/static/filebrowser/js/FB_FileBrowseField.js
// enable the clear "button"
jQuery(clear).css("display", "inline");
if (ThumbURL && FileType != "") {
// selected file is an image and thumbnail is available:
// display the preview-image (thumbnail)
... | 0f53f3742abf00c18e14b1ad4ad2da5369586c03 | filebrowser_safe/static/filebrowser/js/FB_FileBrowseField.js | filebrowser_safe/static/filebrowser/js/FB_FileBrowseField.js | JavaScript |
<|file_sep|>Module.sql.diff
original:
updated:
-- Drops the module if exist.
DROP MODULE LOGGER.LOGGER;
<|file_sep|>original/Module.sql
-- Module for all code for the logger utility.
CREATE OR REPLACE MODULE LOGGER;
-- Public functions and procedures.
-- Procedure to write logs.
ALTER MODULE LOGGER PUBLISH
PROCEDUR... | -- Module for all code for the logger utility.
CREATE OR REPLACE MODULE LOGGER;
-- Public functions and procedures.
-- Procedure to write logs.
ALTER MODULE LOGGER PUBLISH
PROCEDURE LOG (
IN LOGGERID ANCHOR LOGGER.CONF_LOGGERS.LOGGER_ID,
IN LEVELID ANCHOR LOGGER.LEVELS.LEVEL_ID,
IN MESSAGE ANCHOR LOGGER.LOGS.ME... | <|file_sep|>Module.sql.diff
original:
updated:
-- Drops the module if exist.
DROP MODULE LOGGER.LOGGER;
<|file_sep|>original/Module.sql
-- Module for all code for the logger utility.
CREATE OR REPLACE MODULE LOGGER;
-- Public functions and procedures.
-- Procedure to write logs.
ALTER MODULE LOGGER PUBLISH
PROCEDUR... | 32a5bec78cfffc8e001ac6cd50de3db50b628326 | Module.sql | Module.sql | SQL |
<|file_sep|>original/modules/localrepo/templates/base_pkgs.erb
pkgconfig
ruby
ruby-irb
ruby-rdoc
screen
subversion
tzdata-java
vim
virt-what
vsftpd
postgresql-server
irssi
nfs-utils
nfs-utils-lib
drupal7
drupal7-ctools
drupal7-features
drupal7-views
tree
lynx
elinks
<|file_sep|>current/modules/localrepo/templates/base_... | ruby
ruby-irb
ruby-rdoc
screen
subversion
tzdata-java
vim
virt-what
vsftpd
postgresql-server
irssi
nc
nfs-utils
nfs-utils-lib
drupal7
drupal7-ctools
drupal7-features
drupal7-views
tree
lynx
elinks | <|file_sep|>original/modules/localrepo/templates/base_pkgs.erb
pkgconfig
ruby
ruby-irb
ruby-rdoc
screen
subversion
tzdata-java
vim
virt-what
vsftpd
postgresql-server
irssi
nfs-utils
nfs-utils-lib
drupal7
drupal7-ctools
drupal7-features
drupal7-views
tree
lynx
elinks
<|file_sep|>current/modules/localrepo/templates/base_... | 6176f3c05679038c27942ef527581023c56430f9 | modules/localrepo/templates/base_pkgs.erb | modules/localrepo/templates/base_pkgs.erb | HTML+ERB |
<|file_sep|>src/util/messageUtil.ml.diff
original:
updated:
let ansi_color_table =
let colors = [("gray", "30"); ("red", "31"); ("green", "32"); ("yellow", "33"); ("blue", "34");
("violet", "35"); ("turquoise", "36"); ("white", "37"); ("reset", "0;00")] in
let modes = [(Fun.id, "0" (* normal *)); ... |
let ansi_color_table =
let colors = [("gray", "30"); ("red", "31"); ("green", "32"); ("yellow", "33"); ("blue", "34");
("violet", "35"); ("turquoise", "36"); ("white", "37"); ("reset", "0;00")] in
let modes = [(Fun.id, "0" (* normal *)); (String.uppercase_ascii, "1" (* bold *))] in
List.concat_ma... | <|file_sep|>src/util/messageUtil.ml.diff
original:
updated:
let ansi_color_table =
let colors = [("gray", "30"); ("red", "31"); ("green", "32"); ("yellow", "33"); ("blue", "34");
("violet", "35"); ("turquoise", "36"); ("white", "37"); ("reset", "0;00")] in
let modes = [(Fun.id, "0" (* normal *)); ... | 9944f21f2dbd708dd94af0f26a96197d6b0aeb58 | src/util/messageUtil.ml | src/util/messageUtil.ml | OCaml |
<|file_sep|>original/ansible/roles/setup_php/tasks/main.yml
- php-fpm
- php-cli
- php-mysql
- php-intl
- php-curl
- php-memcached
- php-imagick
- php-mcrypt
- php-xml
- php-mbstring
- memcached
- composer
- name: Remove default fpm pool
file:
path: /etc/php/7.0/fpm/pool.d/www.conf
sta... | - php-fpm
- php-cli
- php-mysql
- php-intl
- php-curl
- php-memcached
- php-imagick
- php-mcrypt
- php-xml
- php-mbstring
- php-zip
- memcached
- composer
- name: Remove default fpm pool
file:
path: /etc/php/7.0/fpm/pool.d/www.conf
state: absent
notify: reload php-fpm
- name: Dro... | <|file_sep|>original/ansible/roles/setup_php/tasks/main.yml
- php-fpm
- php-cli
- php-mysql
- php-intl
- php-curl
- php-memcached
- php-imagick
- php-mcrypt
- php-xml
- php-mbstring
- memcached
- composer
- name: Remove default fpm pool
file:
path: /etc/php/7.0/fpm/pool.d/www.conf
sta... | bad6f0599b11d3293bd093ac76e141a810bfc86e | ansible/roles/setup_php/tasks/main.yml | ansible/roles/setup_php/tasks/main.yml | YAML |
<|file_sep|>original/bin/create-travis-secure.sh
#!/bin/bash
ROOT_DIR="$(dirname $0)/.."
$ROOT_DIR/scripts/encrypt-github-token-for-travis.sh $@
<|file_sep|>current/bin/create-travis-secure.sh
#!/bin/bash
ROOT_DIR="$(dirname $0)/.."
$ROOT_DIR/scripts/encrypt-github-token-for-travis.sh $@
<|file_sep|>updated/bin/creat... | #!/bin/bash
# in dev mode
if [ -f ../scripts/encrypt-github-token-for-travis.sh ]
then
../scripts/encrypt-github-token-for-travis.sh $@
else
# as installed npm package, located inside 'node_modules/push2gh-pages'
if [ -f ../push2gh-pages/scripts/encrypt-github-token-for-travis.sh ]
then
../push2gh-pages/sc... | <|file_sep|>original/bin/create-travis-secure.sh
#!/bin/bash
ROOT_DIR="$(dirname $0)/.."
$ROOT_DIR/scripts/encrypt-github-token-for-travis.sh $@
<|file_sep|>current/bin/create-travis-secure.sh
#!/bin/bash
ROOT_DIR="$(dirname $0)/.."
$ROOT_DIR/scripts/encrypt-github-token-for-travis.sh $@
<|file_sep|>updated/bin/creat... | be73eade63565523d343a7f1fe6fb555cc6e9277 | bin/create-travis-secure.sh | bin/create-travis-secure.sh | Shell |
<|file_sep|>original/static/_sass/partials/_content.scss
h2 {
font-weight: 700;
}
}
}
.region.bottom-content {
.sponsor {
margin-bottom: 70px;
}
}
@media only screen and (min-width: 1024px) {
.region.top-content {
.one-speaker {
img {
display: block;
}
}
}
}
<|f... | }
}
}
.region.bottom-content {
.sponsor {
margin-bottom: 70px;
}
}
.sponsor {
img {
margin: 0 35px;
max-width: 250px;
}
}
@media only screen and (min-width: 1024px) {
.region.top-content {
.one-speaker {
img { | <|file_sep|>original/static/_sass/partials/_content.scss
h2 {
font-weight: 700;
}
}
}
.region.bottom-content {
.sponsor {
margin-bottom: 70px;
}
}
@media only screen and (min-width: 1024px) {
.region.top-content {
.one-speaker {
img {
display: block;
}
}
}
}
<|f... | fc26c87a2dd34d16e1b1d41934451c3153cac468 | static/_sass/partials/_content.scss | static/_sass/partials/_content.scss | SCSS |
<|file_sep|>original/app/views/partials/inventory_items.php
<|file_sep|>current/app/views/partials/inventory_items.php
<|file_sep|>updated/app/views/partials/inventory_items.php | <table class="inventory table table-striped">
<thead>
<tr>
<th>Name</th>
<th>Version</th>
<th>BundleID</th>
<th>Path</th>
</tr>
</thead>
<tbody>
<?$inventoryitemobj = new Inventoryitem()?>
<?foreach($inventoryitemobj->retrieve_many(
'serial=?', array($serial_number)) a... | <|file_sep|>original/app/views/partials/inventory_items.php
<|file_sep|>current/app/views/partials/inventory_items.php
<|file_sep|>updated/app/views/partials/inventory_items.php
<table class="inventory table table-striped">
<thead>
<tr>
<th>Name</th>
<th>Version</th>
<th>BundleID</th>... | bed8e07e909acf0bd2a71fc46973123b53b98272 | app/views/partials/inventory_items.php | app/views/partials/inventory_items.php | PHP |
<|file_sep|>src/components/SectionItem/index.js.diff
original:
const redirectTo = link => window.open(link, "_blank");
updated:
const redirectTo = (link) =>
window ? window.open(link, "_blank") : null;
<|file_sep|>src/components/SectionItem/index.js.diff
original:
const SectionItem = ({ title, timeperiod, subtitle, l... | const SectionItem = ({
title,
timeperiod,
content,
link,
}) => {
return (
<div
role="presentation"
className="card section-item col-md"
onClick={() => redirectTo(link)}
onKeyDown={() => redirectTo(link)}
>
<div className="title bold">{title}</div>
<p className="dura... | <|file_sep|>src/components/SectionItem/index.js.diff
original:
const redirectTo = link => window.open(link, "_blank");
updated:
const redirectTo = (link) =>
window ? window.open(link, "_blank") : null;
<|file_sep|>src/components/SectionItem/index.js.diff
original:
const SectionItem = ({ title, timeperiod, subtitle, l... | 94b0421c50f2b0da5a8ec180bf28525b8235fb0f | src/components/SectionItem/index.js | src/components/SectionItem/index.js | JavaScript |
<|file_sep|>original/jenkins/deploy-tater.sh
echo
echo "#########################"
echo "Deploying $INSTANCE_NAME:"
echo
scp -i /keys/infrastructure.pem docker/containers/tater/$INSTANCE_NAME ubuntu@po.tater.io:/tmp
export remote_ssh="ssh -i /keys/infrastructure.pem ubuntu@po.tater.io"
$remote_ssh "sudo... | echo
echo "#########################"
echo "Deploying $INSTANCE_NAME:"
echo
scp -i /keys/infrastructure.pem docker/containers/tater/$INSTANCE_NAME ubuntu@po.tater.io:/tmp
export remote_ssh="ssh -i /keys/infrastructure.pem ubuntu@po.tater.io"
$remote_ssh "sudo docker-compose -f /tmp/$INSTANCE_NAME pull"
... | <|file_sep|>original/jenkins/deploy-tater.sh
echo
echo "#########################"
echo "Deploying $INSTANCE_NAME:"
echo
scp -i /keys/infrastructure.pem docker/containers/tater/$INSTANCE_NAME ubuntu@po.tater.io:/tmp
export remote_ssh="ssh -i /keys/infrastructure.pem ubuntu@po.tater.io"
$remote_ssh "sudo... | 996cab3ee5290f5fa518d9ac96036c311be28433 | jenkins/deploy-tater.sh | jenkins/deploy-tater.sh | Shell |
<|file_sep|>original/lib/robot.rb
end
def respond(regex, &callback)
@listeners << Listener.new(regex, callback)
end
def hear(raw_message)
message = Message.new(raw_message)
@listeners.each do |listener|
if listener.hears?(message)
listener.hear!(message)
en... | end
def respond(regex, &callback)
@listeners << Listener.new(regex, callback)
end
def hear(raw_message)
message = Message.new(raw_message)
@listeners.select do |listener|
listener.hears?(message)
end.each do |listener|
listener.hear!(message)
end
m... | <|file_sep|>original/lib/robot.rb
end
def respond(regex, &callback)
@listeners << Listener.new(regex, callback)
end
def hear(raw_message)
message = Message.new(raw_message)
@listeners.each do |listener|
if listener.hears?(message)
listener.hear!(message)
en... | a27eefe0a72031f4c3d29b3013a010a4a5227bc3 | lib/robot.rb | lib/robot.rb | Ruby |
<|file_sep|>qa/qa/scenario/test/integration/mattermost.rb.diff
original:
tags :mattermost
updated:
tags :core, :mattermost
<|file_sep|>original/qa/qa/scenario/test/integration/mattermost.rb
module QA
module Scenario
module Test
module Integration
##
# Run test suite again... | module QA
module Scenario
module Test
module Integration
##
# Run test suite against any GitLab instance where mattermost is enabled,
# including staging and on-premises installation.
#
class Mattermost < Scenario::Entrypoint
tags :core, :mattermost
... | <|file_sep|>qa/qa/scenario/test/integration/mattermost.rb.diff
original:
tags :mattermost
updated:
tags :core, :mattermost
<|file_sep|>original/qa/qa/scenario/test/integration/mattermost.rb
module QA
module Scenario
module Test
module Integration
##
# Run test suite again... | e1f037980fda1620c2ba6ed407c35349989275fa | qa/qa/scenario/test/integration/mattermost.rb | qa/qa/scenario/test/integration/mattermost.rb | Ruby |
<|file_sep|>releasenotes/notes/add-devstack-elasticsearch-5x-48934b931a31c823.yaml.diff
original:
prelude: >
Replace this text with content to appear at the top of the section for this
release. All of the prelude content is merged together and then rendered
separately from the items listed in other parts of... | ---
upgrade:
- |
Add support for ElasticSearch 5.x | <|file_sep|>releasenotes/notes/add-devstack-elasticsearch-5x-48934b931a31c823.yaml.diff
original:
prelude: >
Replace this text with content to appear at the top of the section for this
release. All of the prelude content is merged together and then rendered
separately from the items listed in other parts of... | 02f21b71e0c7f54502637a59bb95939670fa07d0 | releasenotes/notes/add-devstack-elasticsearch-5x-48934b931a31c823.yaml | releasenotes/notes/add-devstack-elasticsearch-5x-48934b931a31c823.yaml | YAML |
<|file_sep|>original/README.md
[](https://github.com/bmaupin/epub-samples/releases)
[](https://raw.githubusercontent.com/bmaupin/epub-samples/mas... | [](https://github.com/bmaupin/epub-samples/releases)
[](https://raw.githubusercontent.com/bmaupin/epub-samples/master/LICENSE)
Sample EPUB files... | <|file_sep|>original/README.md
[](https://github.com/bmaupin/epub-samples/releases)
[](https://raw.githubusercontent.com/bmaupin/epub-samples/mas... | a9012f0d145a534c7131cd9e265a1667c3da191a | README.md | README.md | Markdown |
<|file_sep|>original/setup.py
from distutils.core import setup
setup(name='Pyranha',
description='Elegant IRC client',
version='0.1',
author='John Reese',
author_email='john@noswap.com',
url='https://github.com/jreese/pyranha',
classifiers=['License :: OSI Approved :: MIT License',
... | from distutils.core import setup
setup(name='Pyranha',
description='Elegant IRC client',
version='0.1',
author='John Reese',
author_email='john@noswap.com',
url='https://github.com/jreese/pyranha',
classifiers=['License :: OSI Approved :: MIT License',
'Topic :: C... | <|file_sep|>original/setup.py
from distutils.core import setup
setup(name='Pyranha',
description='Elegant IRC client',
version='0.1',
author='John Reese',
author_email='john@noswap.com',
url='https://github.com/jreese/pyranha',
classifiers=['License :: OSI Approved :: MIT License',
... | d2cc077bfce9bef654a8ef742996e5aca8858fc7 | setup.py | setup.py | Python |
<|file_sep|>original/src/AppBundle/Controller/UsersController.php
<?php
namespace AppBundle\Controller;
use FOS\RestBundle\Controller\FOSRestController;
use FOS\RestBundle\Controller\Annotations\Get;
use FOS\RestBundle\Controller\Annotations\View;
use AppBundle\Entity\User;
use Nelmio\ApiDocBundle\Annotation\ApiDoc;
... | <?php
namespace AppBundle\Controller;
use FOS\RestBundle\Controller\FOSRestController;
use FOS\RestBundle\Controller\Annotations\Get;
use FOS\RestBundle\Controller\Annotations\View;
use AppBundle\Entity\User;
use Nelmio\ApiDocBundle\Annotation\ApiDoc;
class UsersController extends FOSRestController
{
/**
* ... | <|file_sep|>original/src/AppBundle/Controller/UsersController.php
<?php
namespace AppBundle\Controller;
use FOS\RestBundle\Controller\FOSRestController;
use FOS\RestBundle\Controller\Annotations\Get;
use FOS\RestBundle\Controller\Annotations\View;
use AppBundle\Entity\User;
use Nelmio\ApiDocBundle\Annotation\ApiDoc;
... | e41f5599efad48e12dd6c55359c2e86fd131161f | src/AppBundle/Controller/UsersController.php | src/AppBundle/Controller/UsersController.php | PHP |
<|file_sep|>original/.travis.yml
language: java
jdk:
- oraclejdk8
services:
- memcached
addons:
mariadb: '10.1'
before_install:
- git clone https://github.com/MarSik/jackson-databind.git
- pushd jackson-databind && git checkout improve-unresolved-handling-2.6 && mvn clean install && popd
- git clone http... |
before_install:
- git clone https://github.com/MarSik/jackson-databind.git
- pushd jackson-databind && git checkout improve-unresolved-handling-2.6 && mvn clean install && popd
- git clone https://github.com/pauloubuntu/identicon.git
- pushd identicon && mvn clean install && popd
before_script:
- mysql -e '... | <|file_sep|>original/.travis.yml
language: java
jdk:
- oraclejdk8
services:
- memcached
addons:
mariadb: '10.1'
before_install:
- git clone https://github.com/MarSik/jackson-databind.git
- pushd jackson-databind && git checkout improve-unresolved-handling-2.6 && mvn clean install && popd
- git clone http... | 345f1b3a795fd998a48e3ccbcf9d3959640beaa5 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/artifacts/example/deployment.yaml
replicas: 1
selector:
matchLabels:
apiserver: "true"
template:
metadata:
labels:
apiserver: "true"
spec:
serviceAccountName: apiserver
containers:
- name: wardle-server
# build from staging/src/k8s.io/... | replicas: 1
selector:
matchLabels:
apiserver: "true"
template:
metadata:
labels:
apiserver: "true"
spec:
serviceAccountName: apiserver
containers:
- name: wardle-server
# build from staging/src/k8s.io/sample-apiserver/artifacts/simple-image/Dockerfile
... | <|file_sep|>original/artifacts/example/deployment.yaml
replicas: 1
selector:
matchLabels:
apiserver: "true"
template:
metadata:
labels:
apiserver: "true"
spec:
serviceAccountName: apiserver
containers:
- name: wardle-server
# build from staging/src/k8s.io/... | 9906b76251ca32e5845246aa34d27e5576e87930 | artifacts/example/deployment.yaml | artifacts/example/deployment.yaml | YAML |
<|file_sep|>original/recipes/pigz/build.sh
#!/bin/bash
# Adopt a Unix-friendly path if we're on Windows (see bld.bat).
[ -n "$PATH_OVERRIDE" ] && export PATH="$PATH_OVERRIDE"
LDFLAGS="$LDFLAGS -L$PREFIX/lib"
CFLAGS="$CFLAGS -O3 -I$PREFIX/include"
# The AppVeyor build sets "TARGET_ARCH" to x86 or x64. We need to unse... |
# Adopt a Unix-friendly path if we're on Windows (see bld.bat).
[ -n "$PATH_OVERRIDE" ] && export PATH="$PATH_OVERRIDE"
LDFLAGS="$LDFLAGS -L$PREFIX/lib"
CFLAGS="$CFLAGS -O3 -I$PREFIX/include"
# The AppVeyor build sets "TARGET_ARCH" to x86 or x64. We need to unset
# this, as TARGET_ARCH is put on the command line by ... | <|file_sep|>original/recipes/pigz/build.sh
#!/bin/bash
# Adopt a Unix-friendly path if we're on Windows (see bld.bat).
[ -n "$PATH_OVERRIDE" ] && export PATH="$PATH_OVERRIDE"
LDFLAGS="$LDFLAGS -L$PREFIX/lib"
CFLAGS="$CFLAGS -O3 -I$PREFIX/include"
# The AppVeyor build sets "TARGET_ARCH" to x86 or x64. We need to unse... | df9c27d18034757af90ec8f4afba58cfbd0b0931 | recipes/pigz/build.sh | recipes/pigz/build.sh | Shell |
<|file_sep|>original/README.md
Library that encapsulates common Adapter and RecyclerView methods.
Pre-requisites
--------------
- Android SDK 25
- Android Build Tools v25.0.2
- Android Support Repository
License
-------
Copyright 2017 Xavi Ramos
Licensed to the Apache Software Foundation (ASF) under one or more c... |
Library that encapsulates common Adapter and RecyclerView methods.
Pre-requisites
--------------
- Android SDK 25
- Android Build Tools v25.0.2
- Android Support Repository
Download
--------
Add it in your root build.gradle at the end of repositories:
```groovy
allprojects {
repositories {
...
maven { ur... | <|file_sep|>original/README.md
Library that encapsulates common Adapter and RecyclerView methods.
Pre-requisites
--------------
- Android SDK 25
- Android Build Tools v25.0.2
- Android Support Repository
License
-------
Copyright 2017 Xavi Ramos
Licensed to the Apache Software Foundation (ASF) under one or more c... | e08458d860f6e9e7c277d1c0f7b0bbef25821e21 | README.md | README.md | Markdown |
<|file_sep|>original/lib/ello/kinesis_consumer/base_processor.rb
def self.prefix
name.split('::').last.gsub('Processor', '').downcase
end
def initialize(stream_name: ENV['KINESIS_STREAM_NAME'])
@stream_reader = StreamReader.new(stream_name: stream_name,
... | name.split('::').last.gsub('Processor', '').downcase
end
def initialize(stream_name: ENV['KINESIS_STREAM_NAME'])
@stream_reader = StreamReader.new(stream_name: stream_name,
prefix: self.class.prefix)
@logger = StreamReader.logger
end
... | <|file_sep|>original/lib/ello/kinesis_consumer/base_processor.rb
def self.prefix
name.split('::').last.gsub('Processor', '').downcase
end
def initialize(stream_name: ENV['KINESIS_STREAM_NAME'])
@stream_reader = StreamReader.new(stream_name: stream_name,
... | af326e30f9a9b74515f1a41e22c8751135addae4 | lib/ello/kinesis_consumer/base_processor.rb | lib/ello/kinesis_consumer/base_processor.rb | Ruby |
<|file_sep|>original/test/eavro_rpc_proto_tests.erl
-module(eavro_rpc_proto_tests).
-include("eavro.hrl").
-include_lib("eunit/include/eunit.hrl").
parse_flume_proto_test() ->
Proto = eavro_rpc_proto:parse_protocol_file("../test/data/flume.avpr"),
?assertMatch(
#avro_proto{ ns = <<"org.apache.fl... | -include_lib("eunit/include/eunit.hrl").
parse_flume_proto_test() ->
Proto = eavro_rpc_proto:parse_protocol_file("../test/data/flume.avpr"),
?assertMatch(
#avro_proto{ ns = <<"org.apache.flume.source.avro">>,
name = <<"AvroSourceProtocol">>,
types = [_ | _],
messages = [#a... | <|file_sep|>original/test/eavro_rpc_proto_tests.erl
-module(eavro_rpc_proto_tests).
-include("eavro.hrl").
-include_lib("eunit/include/eunit.hrl").
parse_flume_proto_test() ->
Proto = eavro_rpc_proto:parse_protocol_file("../test/data/flume.avpr"),
?assertMatch(
#avro_proto{ ns = <<"org.apache.fl... | e40f2ec32acaf9a27374b50c785bc76f76e1541c | test/eavro_rpc_proto_tests.erl | test/eavro_rpc_proto_tests.erl | Erlang |
<|file_sep|>client/mock/mock_test.go.diff
original:
updated:
type TestRequest struct {
Param string
}
<|file_sep|>client/mock/mock_test.go.diff
original:
updated:
{Method: "Foo.Struct", Response: &TestRequest{Param: "aparam"}},
<|file_sep|>original/client/mock/mock_test.go
response := []MockResponse{
{Metho... | response := []MockResponse{
{Method: "Foo.Bar", Response: map[string]interface{}{"foo": "bar"}},
{Method: "Foo.Struct", Response: &TestRequest{Param: "aparam"}},
{Method: "Foo.Fail", Error: errors.InternalServerError("go.mock", "failed")},
}
c := NewClient(Response("go.mock", response))
for _, r := range re... | <|file_sep|>client/mock/mock_test.go.diff
original:
updated:
type TestRequest struct {
Param string
}
<|file_sep|>client/mock/mock_test.go.diff
original:
updated:
{Method: "Foo.Struct", Response: &TestRequest{Param: "aparam"}},
<|file_sep|>original/client/mock/mock_test.go
response := []MockResponse{
{Metho... | 9d060bf6e1e43b2ea8c387091ae62909b39cb602 | client/mock/mock_test.go | client/mock/mock_test.go | Go |
<|file_sep|>original/app/views/users/_user.html.erb
<div class="user-list--user">
<div class="flex-row-always">
<div><img src="<%= avatar_url(user) %>" alt="user avatar" height="32" width="32" /></div>
<div class="user--meta">
<% user_posts = user.posts.group(:post_type_id).count(:post_type_id) %>
... | <div class="user-list--user">
<div class="flex-row-always">
<div><img src="<%= avatar_url(user) %>" alt="user avatar" height="32" width="32" /></div>
<div class="user--meta">
<% user_posts = user.posts.group(:post_type_id).count(:post_type_id) %>
<span class="username"><%= link_to user_path(user)... | <|file_sep|>original/app/views/users/_user.html.erb
<div class="user-list--user">
<div class="flex-row-always">
<div><img src="<%= avatar_url(user) %>" alt="user avatar" height="32" width="32" /></div>
<div class="user--meta">
<% user_posts = user.posts.group(:post_type_id).count(:post_type_id) %>
... | 418e131374862c5bcaf37fb3deb06f4d968bc1d3 | app/views/users/_user.html.erb | app/views/users/_user.html.erb | HTML+ERB |
<|file_sep|>original/manifest.json
{
"manifest_version": 2,
"name": "Common YouTube",
"description": "YouTube search at Shortcut command",
"version": "0.1",
"permissions":[
"tabs",
"http://*/*",
"https://*/*"
],
"background": {
"scripts": ... | {
"manifest_version": 2,
"name": "Common YouTube",
"description": "YouTube search at Shortcut command",
"version": "0.1",
"author": "shinshin86",
"homepage_url": "https://github.com/shinshin86",
"permissions":[
"tabs",
"http://*/*",
"https://*/*"
],
... | <|file_sep|>original/manifest.json
{
"manifest_version": 2,
"name": "Common YouTube",
"description": "YouTube search at Shortcut command",
"version": "0.1",
"permissions":[
"tabs",
"http://*/*",
"https://*/*"
],
"background": {
"scripts": ... | 6fc48111be9477b1474853e8eb8310c877d7fdf9 | manifest.json | manifest.json | JSON |
<|file_sep|>original/python/qisrc/test/test_qisrc_reset.py
<|file_sep|>current/python/qisrc/test/test_qisrc_reset.py
<|file_sep|>updated/python/qisrc/test/test_qisrc_reset.py | # this is only used on buildfarm, so only test this
import pytest
import qisrc.snapshot
def test_reset_dash_f(qisrc_action, git_server):
git_server.create_repo("foo")
manifest_url = git_server.manifest_url
git_worktree = qisrc_action.git_worktree
tmpdir = qisrc_action.tmpdir
git_worktree.configure... | <|file_sep|>original/python/qisrc/test/test_qisrc_reset.py
<|file_sep|>current/python/qisrc/test/test_qisrc_reset.py
<|file_sep|>updated/python/qisrc/test/test_qisrc_reset.py
# this is only used on buildfarm, so only test this
import pytest
import qisrc.snapshot
def test_reset_dash_f(qisrc_action, git_server):
... | 6d42f4c26550486af6caa1ee74475d051af18940 | python/qisrc/test/test_qisrc_reset.py | python/qisrc/test/test_qisrc_reset.py | Python |
<|file_sep|>original/sandman/sandman-placement-start.sh
#!/bin/bash
echo "Start placement at ""$(date)"" ..." >> /var/log/placement
java -jar /placement/target/placement-0.0.1-SNAPSHOT-jar-with-dependencies.jar >> /var/log/placement
echo "Stop placement at ""$(date)"" ..." >> /var/log/placement
<|file_sep|>current/sand... | #!/usr/bin/env bash
# http://stackoverflow.com/questions/3173131/redirect-copy-of-stdout-to-log-file-from-within-bash-script-itself#
# Redirect stdout ( > ) into a named pipe ( >() ) running "tee"
exec > >(tee -i -a /var/log/placement)
# Without this, only stdout would be captured - i.e. your
# log file would not cont... | <|file_sep|>original/sandman/sandman-placement-start.sh
#!/bin/bash
echo "Start placement at ""$(date)"" ..." >> /var/log/placement
java -jar /placement/target/placement-0.0.1-SNAPSHOT-jar-with-dependencies.jar >> /var/log/placement
echo "Stop placement at ""$(date)"" ..." >> /var/log/placement
<|file_sep|>current/sand... | 3f47e7336c6bcdff7159c5db010300c0c0f2ab07 | sandman/sandman-placement-start.sh | sandman/sandman-placement-start.sh | Shell |
<|file_sep|>original/lib/generators/hyrax/templates/package.json
{
"name": "hyrax",
"private": true,
"repository": "git@github.com:samvera/hyrax.git",
"dependencies": {
"universalviewer": "^3.0.16"
},
"scripts": {
"preinstall": "rm -rf ./public/uv",
"postinstall": "yarn run uv-install && yarn run uv-confi... | {
"name": "hyrax",
"private": true,
"repository": "git@github.com:samvera/hyrax.git",
"dependencies": {
"universalviewer": "^3.0.16"
},
"scripts": {
"preinstall": "rm -rf ./public/uv",
"postinstall": "yarn run uv-install && yarn run uv-config",
"uv-install": "shx cp -r ./node_modules/universalviewer/dis... | <|file_sep|>original/lib/generators/hyrax/templates/package.json
{
"name": "hyrax",
"private": true,
"repository": "git@github.com:samvera/hyrax.git",
"dependencies": {
"universalviewer": "^3.0.16"
},
"scripts": {
"preinstall": "rm -rf ./public/uv",
"postinstall": "yarn run uv-install && yarn run uv-confi... | a734f8358c4b06fc2c9c7e2befc886cc5357dbd6 | lib/generators/hyrax/templates/package.json | lib/generators/hyrax/templates/package.json | JSON |
<|file_sep|>original/02-stage3.sh
#!/bin/bash
tarball=stage3-amd64-$STAGE3.tar.bz2
mount /dev/sda4 /mnt/gentoo
echo 'Testing stage3 mirrors'
MIRROR=`mirrorselect -b10 -D -s1 -o -H -t60 -c 'USA' | grep 'GENTOO_MIRRORS='`
cd /mnt/gentoo
echo 'Download stage3'
curl -sLO --progress-bar --retry 4 --retry-delay 1 ${MIRRO... | #!/bin/bash
STAGE3=20161020
tarball=stage3-amd64-$STAGE3.tar.bz2
mount /dev/sda4 /mnt/gentoo
echo 'Testing stage3 mirrors'
MIRROR=`mirrorselect -b10 -D -s1 -o -H -t60 -c 'USA' | grep 'GENTOO_MIRRORS='`
cd /mnt/gentoo
echo 'Download stage3'
curl -sLO --progress-bar --retry 4 --retry-delay 1 ${MIRROR:16:-1}releases/a... | <|file_sep|>original/02-stage3.sh
#!/bin/bash
tarball=stage3-amd64-$STAGE3.tar.bz2
mount /dev/sda4 /mnt/gentoo
echo 'Testing stage3 mirrors'
MIRROR=`mirrorselect -b10 -D -s1 -o -H -t60 -c 'USA' | grep 'GENTOO_MIRRORS='`
cd /mnt/gentoo
echo 'Download stage3'
curl -sLO --progress-bar --retry 4 --retry-delay 1 ${MIRRO... | 5efbc1eee7efcbda3708e93a2eae6c895e739e2d | 02-stage3.sh | 02-stage3.sh | Shell |
<|file_sep|>original/.travis.yml
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
script: phpunit -c test/phpunit.xml test/
<|file_sep|>current/.travis.yml
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
script: phpunit -c test/phpunit.xml test/
<|file_sep|>updated/.travis.yml | language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
script: phpunit -c test/phpunit.xml test/ | <|file_sep|>original/.travis.yml
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
script: phpunit -c test/phpunit.xml test/
<|file_sep|>current/.travis.yml
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
script: phpunit -c test/phpunit.xml test/
<|file_sep|>updated/.travis.yml
language: php
php... | 2d2ac370e0a0b66512f4067f899e215b905436ce | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
language: ruby
bundler_args: --without debug
script: "bundle exec rspec spec"
env:
- CI=true
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- jruby-19mode
- rbx
<|file_sep|>current/.travis.yml
language: ruby
bundler_args: --without debug
script: "bundle exec rspec spec"
env:
- CI=true
rvm:
... | language: ruby
bundler_args: --without debug
script: "bundle exec rspec spec"
env:
- CI=true
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- jruby-19mode
- rbx
matrix:
allow_failures:
- rvm: jruby-19mode | <|file_sep|>original/.travis.yml
language: ruby
bundler_args: --without debug
script: "bundle exec rspec spec"
env:
- CI=true
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- jruby-19mode
- rbx
<|file_sep|>current/.travis.yml
language: ruby
bundler_args: --without debug
script: "bundle exec rspec spec"
env:
- CI=true
rvm:
... | b441d01df1924c40595ed0618d5f84ff214f6b6d | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/installer/fixWSL.sh
#!/bin/bash
if [ `whoami` == "root" ]
then
echo This script cannot be run as sudo!
exit
fi
if grep -qE "(Microsoft|WSL)" /proc/version &> /dev/null ; then
BASHRCFILE="/home/$USER/.bashrc"
ALREADYHASBASHRCMODS=`grep "rw,noatime,fallback=1" $BASHRCFILE`
if [ -f "$B... | #!/bin/bash
set -o errexit
if [ `whoami` == "root" ]
then
echo This script cannot be run as sudo!
exit
fi
if grep -qE "(Microsoft|WSL)" /proc/version &> /dev/null ; then
BASHRCFILE="/home/$USER/.bashrc"
ALREADYHASBASHRCMODS=`grep "rw,noatime,fallback=1" $BASHRCFILE`
if [ -f "$BASHRCFILE" -a ! -n "$ALREA... | <|file_sep|>original/installer/fixWSL.sh
#!/bin/bash
if [ `whoami` == "root" ]
then
echo This script cannot be run as sudo!
exit
fi
if grep -qE "(Microsoft|WSL)" /proc/version &> /dev/null ; then
BASHRCFILE="/home/$USER/.bashrc"
ALREADYHASBASHRCMODS=`grep "rw,noatime,fallback=1" $BASHRCFILE`
if [ -f "$B... | f12ab817d58c159c1f3c00439197080875998f04 | installer/fixWSL.sh | installer/fixWSL.sh | Shell |
<|file_sep|>original/composer.json
"symfony/framework-bundle": "^2.7|^3.0",
"symfony/serializer": "^2.7|^3.0",
"exsyst/rest": "^0.0.6@dev"
},
"require-dev": {
"symfony/phpunit-bridge": "~2.7",
"symfony/browser-kit": "^2.7",
"symfony/validator": "~2.7",
"symfony/serializer": "^2.7",
"symfony/property-a... | "symfony/framework-bundle": "^2.7|^3.0",
"symfony/serializer": "^2.7|^3.0",
"exsyst/rest": "^0.0.6@dev"
},
"require-dev": {
"symfony/phpunit-bridge": "~2.7",
"symfony/browser-kit": "^2.7",
"symfony/validator": "~2.7",
"symfony/serializer": "^2.7",
"symfony/property-access": "^2.7",
"jms/serializer-b... | <|file_sep|>original/composer.json
"symfony/framework-bundle": "^2.7|^3.0",
"symfony/serializer": "^2.7|^3.0",
"exsyst/rest": "^0.0.6@dev"
},
"require-dev": {
"symfony/phpunit-bridge": "~2.7",
"symfony/browser-kit": "^2.7",
"symfony/validator": "~2.7",
"symfony/serializer": "^2.7",
"symfony/property-a... | 50208adef149d73d3ecb862b4bf23f9b4cf8e439 | composer.json | composer.json | JSON |
<|file_sep|>original/package.json
{
"name": "copy-and-run-test",
"main": "./lib/copy-and-run-test",
"version": "0.1.2",
"description": "Copies the file path of the current test file, switches to the console and runs it.",
"keywords": [],
"activationCommands": {
"atom-workspace": "copy-and-run-test-under... | {
"name": "copy-and-run-test",
"main": "./lib/copy-and-run-test",
"version": "0.1.2",
"description": "Copies the file path of the current test file, switches to the console and runs it.",
"keywords": [],
"repository": "https://github.com/tomkadwill/copy-and-run-test",
"license": "MIT",
"engines": {
... | <|file_sep|>original/package.json
{
"name": "copy-and-run-test",
"main": "./lib/copy-and-run-test",
"version": "0.1.2",
"description": "Copies the file path of the current test file, switches to the console and runs it.",
"keywords": [],
"activationCommands": {
"atom-workspace": "copy-and-run-test-under... | 00f15e39d3b9c2d69f40e29fa2f6e2aff1bd4f0f | package.json | package.json | JSON |
<|file_sep|>original/ifs-data-layer/ifs-data-service/src/main/resources/db/setup/V107_6_0__Remove_jes_upload_from_ati_competitions.sql
<|file_sep|>current/ifs-data-layer/ifs-data-service/src/main/resources/db/setup/V107_6_0__Remove_jes_upload_from_ati_competitions.sql
<|file_sep|>updated/ifs-data-layer/ifs-data-servi... | -- IFS-2396: As with the APC competition type, jes uploads are not currently required (although this may change)
SET @ati_comp_template_id = (SELECT id FROM competition WHERE name = "Template for the Aerospace Technology Institute competition type");
SET @jes_form_question_id = (SELECT id from question where competiti... | <|file_sep|>original/ifs-data-layer/ifs-data-service/src/main/resources/db/setup/V107_6_0__Remove_jes_upload_from_ati_competitions.sql
<|file_sep|>current/ifs-data-layer/ifs-data-service/src/main/resources/db/setup/V107_6_0__Remove_jes_upload_from_ati_competitions.sql
<|file_sep|>updated/ifs-data-layer/ifs-data-servi... | 4b9ff381c475bf1d4df46f57c8271ccde5922697 | ifs-data-layer/ifs-data-service/src/main/resources/db/setup/V107_6_0__Remove_jes_upload_from_ati_competitions.sql | ifs-data-layer/ifs-data-service/src/main/resources/db/setup/V107_6_0__Remove_jes_upload_from_ati_competitions.sql | SQL |
<|file_sep|>original/spec/unit/schema_spec.rb
it "infers the schema from the database relations" do
setup.postgres.connection.create_table :people do
primary_key :id
String :name
end
schema = rom.schema
expect(schema.people.to_a).to eql(rom.postgres.people.to_a)
expe... |
it "infers the schema from the database relations" do
setup.postgres.connection.create_table :people do
primary_key :id
String :name
end
schema = rom.schema
expect(schema.people.to_a).to eql(rom.postgres.people.to_a)
expect(schema.people.header.columns).to eql([:id, ... | <|file_sep|>original/spec/unit/schema_spec.rb
it "infers the schema from the database relations" do
setup.postgres.connection.create_table :people do
primary_key :id
String :name
end
schema = rom.schema
expect(schema.people.to_a).to eql(rom.postgres.people.to_a)
expe... | 658126182100a6ce9ddb3772349c5feb70b58265 | spec/unit/schema_spec.rb | spec/unit/schema_spec.rb | Ruby |
<|file_sep|>original/src/projects/ll-links.js
@inject(EventAggregator)
export class LlLinks {
@bindable({ defaultBindingMode: bindingMode.twoWay }) source;
constructor(eventAggregator) {
this.ea = eventAggregator;
this.link = {};
}
attached() {
if (this.source && !this.source.... |
@inject(EventAggregator)
export class LlLinks {
@bindable({ defaultBindingMode: bindingMode.twoWay }) source;
constructor(eventAggregator) {
this.ea = eventAggregator;
this.link = {};
}
sourceChanged() {
if (this.source && !this.source.links) {
this.source.links = ... | <|file_sep|>original/src/projects/ll-links.js
@inject(EventAggregator)
export class LlLinks {
@bindable({ defaultBindingMode: bindingMode.twoWay }) source;
constructor(eventAggregator) {
this.ea = eventAggregator;
this.link = {};
}
attached() {
if (this.source && !this.source.... | dec57486ad76b180f7bd4c1e4541d046677addcf | src/projects/ll-links.js | src/projects/ll-links.js | JavaScript |
<|file_sep|>bedrock/firefox/templates/firefox/base-pebbles.html.diff
original:
{% add_lang_files "firefox/new" %}
updated:
<|file_sep|>original/bedrock/firefox/templates/firefox/base-pebbles.html
{# 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 di... | {# 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/. -#}
{% extends "base-pebbles.html" %}
{% block page_title_prefix %}{{_('Mozilla Firefox Web Browser')}} — {% endbloc... | <|file_sep|>bedrock/firefox/templates/firefox/base-pebbles.html.diff
original:
{% add_lang_files "firefox/new" %}
updated:
<|file_sep|>original/bedrock/firefox/templates/firefox/base-pebbles.html
{# 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 di... | 0c1d32ebd6a42e987315d10c790d3fbc4dbde6f5 | bedrock/firefox/templates/firefox/base-pebbles.html | bedrock/firefox/templates/firefox/base-pebbles.html | HTML |
<|file_sep|>original/lib/axiom/types/type.rb
def self.includes(*set)
# TODO: benchmark the cross-over point where it is more efficient to use
# a Set than an Array, and then consider conditionally converting?
set.uniq!
constraint { |object| set.include?(object) }
end
d... | def self.includes(*set)
# TODO: benchmark the cross-over point where it is more efficient to use
# a Set than an Array, and then consider conditionally converting?
set.uniq!
constraint { |object| set.include?(object) }
end
def self.include?(object)
included = c... | <|file_sep|>original/lib/axiom/types/type.rb
def self.includes(*set)
# TODO: benchmark the cross-over point where it is more efficient to use
# a Set than an Array, and then consider conditionally converting?
set.uniq!
constraint { |object| set.include?(object) }
end
d... | 3c79eadc506aff133f92aa69020eb579f6af02cd | lib/axiom/types/type.rb | lib/axiom/types/type.rb | Ruby |
<|file_sep|>original/requirements_dev.txt
#
# This file is autogenerated by pip-compile
# Make changes in requirements_dev.in, then run this to update:
#
# pip-compile requirements_dev.in
#
cached-property==1.3.0
click==6.7 # via pip-tools
first==2.0.1 # via pip-tools
lxml==3.7.3
pip-tools==1.8.2
reques... | #
# This file is autogenerated by pip-compile
# Make changes in requirements_dev.in, then run this to update:
#
# pip-compile requirements_dev.in
#
cached-property==1.3.0
click==6.7 # via pip-tools
first==2.0.1 # via pip-tools
lxml==3.7.3
pip-tools==1.9.0
requests==2.13.0
six==1.10.0 # via... | <|file_sep|>original/requirements_dev.txt
#
# This file is autogenerated by pip-compile
# Make changes in requirements_dev.in, then run this to update:
#
# pip-compile requirements_dev.in
#
cached-property==1.3.0
click==6.7 # via pip-tools
first==2.0.1 # via pip-tools
lxml==3.7.3
pip-tools==1.8.2
reques... | d86e17ac398ba18b69c1306fdffaa212d4407538 | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/requirements.txt
# Testing and deployment packages.
coverage==4.4.2
pytest==3.3.0
pytest-cov==2.5.1
freezegun==0.3.9
wheel==0.30.0
<|file_sep|>current/requirements.txt
# Testing and deployment packages.
coverage==4.4.2
pytest==3.3.0
pytest-cov==2.5.1
freezegun==0.3.9
wheel==0.30.0
<|file_sep|>updat... | # Testing and deployment packages.
coverage==4.4.2
pytest==3.3.0
pytest-cov==2.5.1
freezegun==0.3.9
wheel==0.31.0 | <|file_sep|>original/requirements.txt
# Testing and deployment packages.
coverage==4.4.2
pytest==3.3.0
pytest-cov==2.5.1
freezegun==0.3.9
wheel==0.30.0
<|file_sep|>current/requirements.txt
# Testing and deployment packages.
coverage==4.4.2
pytest==3.3.0
pytest-cov==2.5.1
freezegun==0.3.9
wheel==0.30.0
<|file_sep|>updat... | a6d459ffd5f5c4bd73b9966ea55dd17bb3313f68 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/lib/migrate.rb
# Since we've designed metrics/docs tables to revolve around
# the pods table, but be independent of each other, we can
# run all trunk migrations first, then all others.
#
# Trunk migrations.
#
Sequel::Migrator.run(
DB,
File.join(ROOT, 'migrations/trunk'),
table: 'schema_info... | # Since we've designed metrics/docs tables to revolve around
# the pods table, but be independent of each other, we can
# run all trunk migrations first, then all others.
#
# NOTE Set the versions to the ones you want to migrate to.
#
# Trunk migrations.
#
Sequel::Migrator.run(
DB,
File.join(ROOT, 'migrations/tru... | <|file_sep|>original/lib/migrate.rb
# Since we've designed metrics/docs tables to revolve around
# the pods table, but be independent of each other, we can
# run all trunk migrations first, then all others.
#
# Trunk migrations.
#
Sequel::Migrator.run(
DB,
File.join(ROOT, 'migrations/trunk'),
table: 'schema_info... | 116ca371fc1a9fcdbdfd5791459458df3f918e59 | lib/migrate.rb | lib/migrate.rb | Ruby |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.