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|>lib/rom/support/class_macros.rb.diff
original:
updated:
# Internal support module for class-level settings
#
# @private
<|file_sep|>original/lib/rom/support/class_macros.rb
module ROM
module ClassMacros
def defines(*args)
mod = Module.new
args.each do |name|
mod.module_eval... | module ROM
# Internal support module for class-level settings
#
# @private
module ClassMacros
# Specify what macros a class will use
#
# @example
# class MyClass
# extend ROM::ClassMacros
#
# defines :one, :two
#
# one 1
# two 2
# end
#
# ... | <|file_sep|>lib/rom/support/class_macros.rb.diff
original:
updated:
# Internal support module for class-level settings
#
# @private
<|file_sep|>original/lib/rom/support/class_macros.rb
module ROM
module ClassMacros
def defines(*args)
mod = Module.new
args.each do |name|
mod.module_eval... | 471e5fb2866082d30e9d3c02976f666a21093c59 | lib/rom/support/class_macros.rb | lib/rom/support/class_macros.rb | Ruby |
<|file_sep|>original/shrc/00_paths.sh
PATH="$PATH:/usr/local/heroku/bin"
PATH="$PATH:/usr/local/bin:/usr/local/sbin"
PATH="$PATH:/usr/local/mysql/bin"
PATH="$PATH:/usr/local/git/bin"
PATH="$PATH:$HOME/.cargo/bin"
PATH="$PATH:$HOME/Library/Python/2.7/bin"
PATH="$PATH:$HOME/.local/bin"
PATH="$PATH:$HOME/p... | PATH="$PATH:/usr/local/bin:/usr/local/sbin"
PATH="$PATH:/usr/local/mysql/bin"
PATH="$PATH:/usr/local/git/bin"
PATH="$PATH:$HOME/.cargo/bin"
PATH="$PATH:$HOME/Library/Python/2.7/bin"
PATH="$PATH:$HOME/.local/bin"
PATH="$PATH:$HOME/perl5/bin"
PATH="$HOME/.yarn/bin:$PATH"
PATH="$HOME/.config/kubectx:$PAT... | <|file_sep|>original/shrc/00_paths.sh
PATH="$PATH:/usr/local/heroku/bin"
PATH="$PATH:/usr/local/bin:/usr/local/sbin"
PATH="$PATH:/usr/local/mysql/bin"
PATH="$PATH:/usr/local/git/bin"
PATH="$PATH:$HOME/.cargo/bin"
PATH="$PATH:$HOME/Library/Python/2.7/bin"
PATH="$PATH:$HOME/.local/bin"
PATH="$PATH:$HOME/p... | c773de0d1a0c5aafe310b6b21bd87e45d4943b7c | shrc/00_paths.sh | shrc/00_paths.sh | Shell |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
- ruby-head
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
- ruby-head
<|file_sep|>updated/.travis.yml | language: ruby
rvm:
- 1.9.3
- 2.0.0 | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
- ruby-head
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
- ruby-head
<|file_sep|>updated/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0 | b608f9b7176cf5f3446f1defb5ca50f979256ebd | .travis.yml | .travis.yml | YAML |
<|file_sep|>.travis.yml.diff
original:
- 2.0
updated:
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.0
- 2.1
- 2.2
- 2.3.1
gemfile:
- gemfiles/rails_5.0.gemfile
- gemfiles/rails_4.2.gemfile
- gemfiles/rails_4.1.gemfile
matrix:
exclude:
- rvm: 2.0
gemfile: gemfiles/rails_5.0.gem... | language: ruby
rvm:
- 2.1
- 2.2
- 2.3.1
gemfile:
- gemfiles/rails_5.0.gemfile
- gemfiles/rails_4.2.gemfile
- gemfiles/rails_4.1.gemfile
matrix:
exclude:
- rvm: 2.1
gemfile: gemfiles/rails_5.0.gemfile
before_install:
- if ruby --version | cut -d ' ' -f 2 | grep -q 2.1.5p273 ; then gem updat... | <|file_sep|>.travis.yml.diff
original:
- 2.0
updated:
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.0
- 2.1
- 2.2
- 2.3.1
gemfile:
- gemfiles/rails_5.0.gemfile
- gemfiles/rails_4.2.gemfile
- gemfiles/rails_4.1.gemfile
matrix:
exclude:
- rvm: 2.0
gemfile: gemfiles/rails_5.0.gem... | d8dc696a889462efc9b1c2ce8564603a65a6703d | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/settings/volare-gpsd-settings.json
"dimensions": {
"length": 7,
"width": 2.5,
"mast": 10,
"depthTransducer": 0.5,
"keel": 1.5
}
},
"interfaces": {
"bower": true,
"rest": true,
"ws": true
},
"pipedProviders": [{
"id": "n2kFromFile",
"pipeElements"... |
"dimensions": {
"length": 7,
"width": 2.5,
"mast": 10,
"depthTransducer": 0.5,
"keel": 1.5
}
},
"mdns": false,
"interfaces": {
"bower": true,
"rest": true,
"ws": true
},
"pipedProviders": [{
"id": "n2kFromFile",
"pipeElements": [ | <|file_sep|>original/settings/volare-gpsd-settings.json
"dimensions": {
"length": 7,
"width": 2.5,
"mast": 10,
"depthTransducer": 0.5,
"keel": 1.5
}
},
"interfaces": {
"bower": true,
"rest": true,
"ws": true
},
"pipedProviders": [{
"id": "n2kFromFile",
"pipeElements"... | 564ab414b938c553d32b9a720e6875f8aea06ed0 | settings/volare-gpsd-settings.json | settings/volare-gpsd-settings.json | JSON |
<|file_sep|>original/app/views/admin/permission_forms/_permission_forms.html.haml
%tr
%td Name:
%td= f.text_field :name
%td
%tr
%td Url:
%td= f.text_field :url
%td=f.submit "Create"
%tr
%td#permission_form_list{:colspan => 3}
%div
... | %tr
%td Name:
%td= f.text_field :name
%td
%tr
%td Url:
%td= f.text_field :url
%td=f.submit "Create"
%tr
%td#permission_form_list{:colspan => 3}
%div
- permission_forms.each do |perm|
%span.existing_permission
... | <|file_sep|>original/app/views/admin/permission_forms/_permission_forms.html.haml
%tr
%td Name:
%td= f.text_field :name
%td
%tr
%td Url:
%td= f.text_field :url
%td=f.submit "Create"
%tr
%td#permission_form_list{:colspan => 3}
%div
... | 1ffcf414c6f36fd1df304011893e98ac363ac530 | app/views/admin/permission_forms/_permission_forms.html.haml | app/views/admin/permission_forms/_permission_forms.html.haml | Haml |
<|file_sep|>config/README.md.diff
original:
3. Click "Manage..." (right of "Scheme:")
4. Click "Import..."
5. Choose `IntelliJ Code Style.xml`
6. Press "OK"
updated:
3. Click the gear (right of "Scheme: ...")
4. Click "Import Scheme >"
5. Choose `IntelliJ IDEA code style XML`
6. Select the file `config\IntelliJ Code St... | # IntelliJ Configuration
1. Press <kbd>Ctrl</kbd> + <kbd>Alt</kbd> + <kbd>S</kbd>
2. Go to "Editor > Code Style"
3. Click the gear (right of "Scheme: ...")
4. Click "Import Scheme >"
5. Choose `IntelliJ IDEA code style XML`
6. Select the file `config\IntelliJ Code Style.xml`
7. Press "OK"
8. Press "OK"
9. Press "Close... | <|file_sep|>config/README.md.diff
original:
3. Click "Manage..." (right of "Scheme:")
4. Click "Import..."
5. Choose `IntelliJ Code Style.xml`
6. Press "OK"
updated:
3. Click the gear (right of "Scheme: ...")
4. Click "Import Scheme >"
5. Choose `IntelliJ IDEA code style XML`
6. Select the file `config\IntelliJ Code St... | 091383dbe9e083570fa7499707eaca555eac549e | config/README.md | config/README.md | Markdown |
<|file_sep|>original/requirements.txt
awesome-slugify==1.6.5
git+git://github.com/ocha-dap/hdx-python-api.git@v0.65#egg=hdx-python-api
<|file_sep|>current/requirements.txt
awesome-slugify==1.6.5
git+git://github.com/ocha-dap/hdx-python-api.git@v0.65#egg=hdx-python-api
<|file_sep|>updated/requirements.txt | awesome-slugify==1.6.5
git+git://github.com/ocha-dap/hdx-python-api.git@v0.66#egg=hdx-python-api | <|file_sep|>original/requirements.txt
awesome-slugify==1.6.5
git+git://github.com/ocha-dap/hdx-python-api.git@v0.65#egg=hdx-python-api
<|file_sep|>current/requirements.txt
awesome-slugify==1.6.5
git+git://github.com/ocha-dap/hdx-python-api.git@v0.65#egg=hdx-python-api
<|file_sep|>updated/requirements.txt
awesome-slugif... | 667a5e9dcfd489092e926c75bd449c706d46c39e | requirements.txt | requirements.txt | Text |
<|file_sep|>docs/installation.rst.diff
original:
* Rust_ compiler 0.11 (``rustc``)
updated:
* Rust_ compiler 0.12 (``rustc``)
<|file_sep|>original/docs/installation.rst
.. _linux: http://kernel.org
Ubuntu
======
Installing ``rustc``::
sudo apt-add-repository ppa:hansjorg/rust
sudo apt-get update
sudo ap... | .. _linux: http://kernel.org
Ubuntu
======
Installing ``rustc``::
sudo apt-add-repository ppa:hansjorg/rust
sudo apt-get update
sudo apt-get install rust-0.12
Building vagga::
git clone git://github.com/tailhook/vagga
cd vagga
git submodule update --init
make
Installing::
| <|file_sep|>docs/installation.rst.diff
original:
* Rust_ compiler 0.11 (``rustc``)
updated:
* Rust_ compiler 0.12 (``rustc``)
<|file_sep|>original/docs/installation.rst
.. _linux: http://kernel.org
Ubuntu
======
Installing ``rustc``::
sudo apt-add-repository ppa:hansjorg/rust
sudo apt-get update
sudo ap... | 772eb1f8dca3078218f7706fed5928dac2d93d8b | docs/installation.rst | docs/installation.rst | reStructuredText |
<|file_sep|>original/templates/generate_stuff.rb
generate('rspec:install')
generate('controller wombats index') # plural
generate('controller welcome index') # singular
generate('integration_test widgets')
generate('mailer Notifications signup')
generate('model thing name:string')
generate('helper things')
generate('sc... | generate('rspec:install')
generate('controller wombats index') # plural
generate('controller welcome index') # singular
generate('integration_test widgets')
generate('mailer Notifications signup')
generate('model thing name:string')
generate('helper things')
generate('scaffold widget name:string category:string instock... | <|file_sep|>original/templates/generate_stuff.rb
generate('rspec:install')
generate('controller wombats index') # plural
generate('controller welcome index') # singular
generate('integration_test widgets')
generate('mailer Notifications signup')
generate('model thing name:string')
generate('helper things')
generate('sc... | 30315ec840a27bf707da45e74a0cc35a19df15a2 | templates/generate_stuff.rb | templates/generate_stuff.rb | Ruby |
<|file_sep|>original/sql_migrations/relative_file_paths_to_verify_index.sql
<|file_sep|>current/sql_migrations/relative_file_paths_to_verify_index.sql
<|file_sep|>updated/sql_migrations/relative_file_paths_to_verify_index.sql | CREATE INDEX CONCURRENTLY relative_file_paths_to_verify on downloads( relative_file_path ) where file_status = 'tbd' and relative_file_path <> 'tbd' and relative_file_path <> 'error'; | <|file_sep|>original/sql_migrations/relative_file_paths_to_verify_index.sql
<|file_sep|>current/sql_migrations/relative_file_paths_to_verify_index.sql
<|file_sep|>updated/sql_migrations/relative_file_paths_to_verify_index.sql
CREATE INDEX CONCURRENTLY relative_file_paths_to_verify on downloads( relative_file_path ) w... | 8a9bb7855e70095d02314045fb3c3e1977aa2dc6 | sql_migrations/relative_file_paths_to_verify_index.sql | sql_migrations/relative_file_paths_to_verify_index.sql | SQL |
<|file_sep|>.github/workflows/publish_image.yml.diff
original:
pull_request:
branches:
- master
updated:
<|file_sep|>original/.github/workflows/publish_image.yml
jobs:
publish:
name: Publish Docker image to GitHub Container Registry
runs-on: ubuntu-latest
steps:
- name: Login to GitHub ... | jobs:
publish:
name: Publish Docker image to GitHub Container Registry
runs-on: ubuntu-latest
steps:
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHU... | <|file_sep|>.github/workflows/publish_image.yml.diff
original:
pull_request:
branches:
- master
updated:
<|file_sep|>original/.github/workflows/publish_image.yml
jobs:
publish:
name: Publish Docker image to GitHub Container Registry
runs-on: ubuntu-latest
steps:
- name: Login to GitHub ... | 341889d3392d556b95828471192adcc045a5e52c | .github/workflows/publish_image.yml | .github/workflows/publish_image.yml | YAML |
<|file_sep|>original/index.html
---
layout: default
---
<div class="posts">
{% for post in site.posts %}
<article class="post">
<h1><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h1>
<div class="entry">
{{ post.content }}
</div>
<!--a href="{{ site.baseurl }}{... | ---
layout: default
---
<div class="posts">
{% for post in site.posts %}
<article class="post">
<!--h1><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h1-->
<div class="entry">
{{ post.content }}
</div>
<!--a href="{{ site.baseurl }}{{ post.url }}" class="read-... | <|file_sep|>original/index.html
---
layout: default
---
<div class="posts">
{% for post in site.posts %}
<article class="post">
<h1><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h1>
<div class="entry">
{{ post.content }}
</div>
<!--a href="{{ site.baseurl }}{... | 9d2e9938b3476de27b0f0f5a6c478e135e6b81a7 | index.html | index.html | HTML |
<|file_sep|>original/config/initializers/migration_helpers.rb
<|file_sep|>current/config/initializers/migration_helpers.rb
<|file_sep|>updated/config/initializers/migration_helpers.rb | ActiveRecord::Migration[5.0].class_eval do
def view_sql(timestamp, view)
File.read(Rails.root.join("db/views/#{view}/#{timestamp}.sql"))
end
def function_sql(timestamp, function)
File.read(Rails.root.join("db/functions/#{function}/#{timestamp}.sql"))
end
end | <|file_sep|>original/config/initializers/migration_helpers.rb
<|file_sep|>current/config/initializers/migration_helpers.rb
<|file_sep|>updated/config/initializers/migration_helpers.rb
ActiveRecord::Migration[5.0].class_eval do
def view_sql(timestamp, view)
File.read(Rails.root.join("db/views/#{view}/#{timestamp... | 5fdbf462a9d38776ffa150c2ae73ff94e153c1b1 | config/initializers/migration_helpers.rb | config/initializers/migration_helpers.rb | Ruby |
<|file_sep|>original/requirements-tests.txt
importlib-metadata==1.6.0; python_version < "3.8"
jdcal==1.4.1
more-itertools==8.2.0
netaddr==0.7.19
numpy==1.18.4
openpyxl==3.0.3
packaging==20.3
pan-python==0.16.0
pandas==1.0.3
pluggy==0.13.1
py==1.8.1
pyparsing==2.4.7
pytest==5.4.1
pytest-cov==2.8.1
python-dateutil==2.8.1... | importlib-metadata==1.6.0; python_version < "3.8"
jdcal==1.4.1
more-itertools==8.2.0
netaddr==0.7.19
numpy==1.18.4
openpyxl==3.0.3
packaging==20.3
pan-python==0.16.0
pandas==1.0.3
pluggy==0.13.1
py==1.10.0
pyparsing==2.4.7
pytest==5.4.1
pytest-cov==2.8.1
python-dateutil==2.8.1
pytz==2020.1
pyyaml==5.3.1
six==1.14.0
tab... | <|file_sep|>original/requirements-tests.txt
importlib-metadata==1.6.0; python_version < "3.8"
jdcal==1.4.1
more-itertools==8.2.0
netaddr==0.7.19
numpy==1.18.4
openpyxl==3.0.3
packaging==20.3
pan-python==0.16.0
pandas==1.0.3
pluggy==0.13.1
py==1.8.1
pyparsing==2.4.7
pytest==5.4.1
pytest-cov==2.8.1
python-dateutil==2.8.1... | dad1ace670212c3f43b7331397add67c4c239c93 | requirements-tests.txt | requirements-tests.txt | Text |
<|file_sep|>build.ps1.diff
original:
updated:
$ErrorActionPreference = 'Stop'
<|file_sep|>build.ps1.diff
original:
if ($LASTEXITCODE -ne 0) { throw }
updated:
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
<|file_sep|>build.ps1.diff
original:
updated:
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
<|file_... | $ErrorActionPreference = 'Stop'
Push-Location $PSScriptRoot
try {
if (-not (Test-Path ./tools/bin/Build) -or
(Get-ChildItem ./tools/Build/* | Measure-Object LastWriteTime -Maximum).Maximum -gt
(Get-ChildItem ./tools/bin/Build/* | Measure-Object LastWriteTime -Maximum).Maximum) {
dotnet publish ./tools... | <|file_sep|>build.ps1.diff
original:
updated:
$ErrorActionPreference = 'Stop'
<|file_sep|>build.ps1.diff
original:
if ($LASTEXITCODE -ne 0) { throw }
updated:
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
<|file_sep|>build.ps1.diff
original:
updated:
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
<|file_... | 9d7db395d7684a05e421392aae8aea04180eff3f | build.ps1 | build.ps1 | PowerShell |
<|file_sep|>concrete/src/Updater/Migrations/Migrations/Version20161208000000.php.diff
original:
updated:
protected function updateDoctrineXmlTables()
{
$this->output(t('Updating tables found in doctrine xml...'));
// Update tables that still exist in db.xml
\Concrete\Core\Database\Schem... | 'TreeSearchQueryNodes',
));
}
protected function updateEmptyFileAttributes()
{
$this->output(t('Updating old empty file attributes.'));
$this->connection->executeQuery('update atFile set fID = null where fID = 0');
}
public function up(Schema $schema)
{
... | <|file_sep|>concrete/src/Updater/Migrations/Migrations/Version20161208000000.php.diff
original:
updated:
protected function updateDoctrineXmlTables()
{
$this->output(t('Updating tables found in doctrine xml...'));
// Update tables that still exist in db.xml
\Concrete\Core\Database\Schem... | 4ad8f4b3dd247fec467340e2cb5831a0008caf08 | concrete/src/Updater/Migrations/Migrations/Version20161208000000.php | concrete/src/Updater/Migrations/Migrations/Version20161208000000.php | PHP |
<|file_sep|>src/crash-reporter-start.js.diff
original:
updated:
const platformRelease = require('os').release();
<|file_sep|>original/src/crash-reporter-start.js
module.exports = function(params) {
const { crashReporter } = require('electron');
const { uploadToServer } = params;
crashReporter.start({
prod... | module.exports = function(params) {
const { crashReporter } = require('electron');
const platformRelease = require('os').release();
const { uploadToServer } = params;
crashReporter.start({
productName: 'Atom',
companyName: 'GitHub',
submitURL: 'https://atom.io/crash_reports',
uploadToServer,
... | <|file_sep|>src/crash-reporter-start.js.diff
original:
updated:
const platformRelease = require('os').release();
<|file_sep|>original/src/crash-reporter-start.js
module.exports = function(params) {
const { crashReporter } = require('electron');
const { uploadToServer } = params;
crashReporter.start({
prod... | 47d9bbf93884366c48508b6216531c02c0f07f8a | src/crash-reporter-start.js | src/crash-reporter-start.js | JavaScript |
<|file_sep|>original/cas-mfa-web/src/net/unicon/cas/mfa/authentication/defaultResolver/DefaultMultiFactorWebflowConfigurer.java
<|file_sep|>current/cas-mfa-web/src/net/unicon/cas/mfa/authentication/defaultResolver/DefaultMultiFactorWebflowConfigurer.java
<|file_sep|>updated/cas-mfa-web/src/net/unicon/cas/mfa/authenti... | package net.unicon.cas.mfa.authentication.defaultResolver;
import java.util.List;
import java.util.logging.Logger;
import javax.annotation.PostConstruct;
import org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPrincipalResolver;
import org.jasig.cas.authentication.principal.Credentials;
import org.... | <|file_sep|>original/cas-mfa-web/src/net/unicon/cas/mfa/authentication/defaultResolver/DefaultMultiFactorWebflowConfigurer.java
<|file_sep|>current/cas-mfa-web/src/net/unicon/cas/mfa/authentication/defaultResolver/DefaultMultiFactorWebflowConfigurer.java
<|file_sep|>updated/cas-mfa-web/src/net/unicon/cas/mfa/authenti... | f92d5a8c2f48fd953d33e0708af11d6b8f8ecb09 | cas-mfa-web/src/net/unicon/cas/mfa/authentication/defaultResolver/DefaultMultiFactorWebflowConfigurer.java | cas-mfa-web/src/net/unicon/cas/mfa/authentication/defaultResolver/DefaultMultiFactorWebflowConfigurer.java | Java |
<|file_sep|>original/lib/PHPExiftool/Driver/TagFactory.php
$classname = self::classnameFromTagname($tagname);
if ( ! class_exists($classname)) {
throw new Exception\TagUnknown(sprintf('Unknown tag %s', $tagname));
}
return new $classname;
}
public static function h... | if ( ! class_exists($classname)) {
throw new Exception\TagUnknown(sprintf('Unknown tag %s', $tagname));
}
return new $classname;
}
public static function hasFromRDFTagname($tagname)
{
return class_exists(self::classnameFromTagname($tagname));
}
protecte... | <|file_sep|>original/lib/PHPExiftool/Driver/TagFactory.php
$classname = self::classnameFromTagname($tagname);
if ( ! class_exists($classname)) {
throw new Exception\TagUnknown(sprintf('Unknown tag %s', $tagname));
}
return new $classname;
}
public static function h... | 2ea12e6c98b71cf874f29c459e0ecd76e83d5fbd | lib/PHPExiftool/Driver/TagFactory.php | lib/PHPExiftool/Driver/TagFactory.php | PHP |
<|file_sep|>src/land_registry_elements/email-repeat/EmailRepeat.js.diff
original:
hintWrapper = $('<div class="panel panel-border-narrow email-hint spacing-top-single"><p>Please ensure your email address is displayed correctly below. We will need this if you need to reset your password in future.</p><p class="bold ... | * Set everything up
*/
function create () {
// Bail out if we don't have the proper element to act upon
if (!element) {
return
}
hintWrapper = $('<div class="panel panel-border-narrow email-hint spacing-top-single"><p>Please ensure your email address is displayed correctly below. We will ... | <|file_sep|>src/land_registry_elements/email-repeat/EmailRepeat.js.diff
original:
hintWrapper = $('<div class="panel panel-border-narrow email-hint spacing-top-single"><p>Please ensure your email address is displayed correctly below. We will need this if you need to reset your password in future.</p><p class="bold ... | f163eac1c635e9573cc2c11083312acd0cce9c21 | src/land_registry_elements/email-repeat/EmailRepeat.js | src/land_registry_elements/email-repeat/EmailRepeat.js | JavaScript |
<|file_sep|>original/resources/makefiles/network.mk
network: network_global_admiral network_dev network_qa network_prod
plan_network: plan_network_global_admiral plan_network_dev plan_network_qa plan_network_prod
refresh_network: refresh_network_global_admiral refresh_network_dev refresh_network_qa refresh_network_pr... | network: network_global_admiral network_dev network_qa network_prod
plan_network: plan_network_global_admiral plan_network_dev plan_network_qa plan_network_prod
refresh_network: refresh_network_global_admiral refresh_network_dev refresh_network_qa refresh_network_prod
destroy_network: destroy_network_qa destroy_netw... | <|file_sep|>original/resources/makefiles/network.mk
network: network_global_admiral network_dev network_qa network_prod
plan_network: plan_network_global_admiral plan_network_dev plan_network_qa plan_network_prod
refresh_network: refresh_network_global_admiral refresh_network_dev refresh_network_qa refresh_network_pr... | 9c076b004c84c9c6b07bb5b200f70cbca4870c56 | resources/makefiles/network.mk | resources/makefiles/network.mk | Makefile |
<|file_sep|>package.json.diff
original:
updated:
"dependency-check": "^2.7.0",
"istanbul": "^0.4.5",
"standard": "^8.6.0",
<|file_sep|>original/package.json
"homepage": "https://github.com/dominictarr/depject",
"author": "Dominic Tarr (http://dominictarr.com)",
"repository": "dominictarr/depject",
... | "main": "index.js",
"engines": {
"node": ">=4"
},
"dependencies": {
"libnested": "^1.1.0"
},
"devDependencies": {
"dependency-check": "^2.7.0",
"istanbul": "^0.4.5",
"standard": "^8.6.0",
"tape": "^4.6.2"
},
"scripts": {
"test": "npm run test:node && npm run test:deps && npm ... | <|file_sep|>package.json.diff
original:
updated:
"dependency-check": "^2.7.0",
"istanbul": "^0.4.5",
"standard": "^8.6.0",
<|file_sep|>original/package.json
"homepage": "https://github.com/dominictarr/depject",
"author": "Dominic Tarr (http://dominictarr.com)",
"repository": "dominictarr/depject",
... | 6a5c466d37c5c7c4420dec0b4c36c993886378ae | package.json | package.json | JSON |
<|file_sep|>original/PULL_REQUEST_TEMPLATE.md
## Pack (replace this with the pack's name)
### Status
Replace this: describe the pack and PR status. Examples:
- new pack, complete
- pack extension, work in progress
- bugfix
### Description
Replace this with the PR description.
### Checklist (tick everything that... | ## Pack (replace this with the pack's name)
### Status
Replace this: describe the pack and PR status. Examples:
- new pack, complete
- pack extension, work in progress
- bugfix
### Description
Replace this with the PR description.
### Checklist (tick everything that applies)
- [ ] Metadata: pack.yaml, icon, st... | <|file_sep|>original/PULL_REQUEST_TEMPLATE.md
## Pack (replace this with the pack's name)
### Status
Replace this: describe the pack and PR status. Examples:
- new pack, complete
- pack extension, work in progress
- bugfix
### Description
Replace this with the PR description.
### Checklist (tick everything that... | 519d19f4c3181eb60cdffe1ec39a8d5f8a57dd4f | PULL_REQUEST_TEMPLATE.md | PULL_REQUEST_TEMPLATE.md | Markdown |
<|file_sep|>install/apt.sh.diff
original:
# Repositories
updated:
## Repositories
# Adapta GTK theme
<|file_sep|>install/apt.sh.diff
original:
updated:
# Paper icon theme
sudo apt-add-repository -y ppa:snwh/pulp
# Google Chrome
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sud... |
# Packages
apps=(
git
tmux
nodejs
npm
vim
google-chrome-stable
firefox
unity-tweak-tool
adapta-gtk-theme
paper-icon-theme
)
# Update & upgrade
sudo apt update
sudo apt upgrade -y
# Install packages
sudo apt install -y "${apps[@]}" | <|file_sep|>install/apt.sh.diff
original:
# Repositories
updated:
## Repositories
# Adapta GTK theme
<|file_sep|>install/apt.sh.diff
original:
updated:
# Paper icon theme
sudo apt-add-repository -y ppa:snwh/pulp
# Google Chrome
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sud... | c1a4241b3891b49ea765c7fb4e679176c3fab20e | install/apt.sh | install/apt.sh | Shell |
<|file_sep|>original/config/routes.rb
require 'sidekiq/web'
require 'sidekiq-scheduler/web'
Rails.application.routes.draw do
mount RailsAdmin::Engine => '/admin', as: 'rails_admin'
devise_for :organizers, controllers: {omniauth_callbacks: 'organizers/omniauth_callbacks'}
authenticate :organizer, lambda { |organ... | require 'sidekiq/web'
require 'sidekiq-scheduler/web'
Sidekiq::Web.instance_variable_get(:@middleware).delete_if { |klass,_,_| klass == Rack::Protection }
Sidekiq::Web.set :protection, except: :content_security_policy
Rails.application.routes.draw do
mount RailsAdmin::Engine => '/admin', as: 'rails_admin'
devise_... | <|file_sep|>original/config/routes.rb
require 'sidekiq/web'
require 'sidekiq-scheduler/web'
Rails.application.routes.draw do
mount RailsAdmin::Engine => '/admin', as: 'rails_admin'
devise_for :organizers, controllers: {omniauth_callbacks: 'organizers/omniauth_callbacks'}
authenticate :organizer, lambda { |organ... | ce179c75d9a56c1b586d8a823c3e1d3d62f1ad73 | config/routes.rb | config/routes.rb | Ruby |
<|file_sep|>original/requirements_dev.txt
-r requirements.txt
django==2.2.1
bumpversion==0.5.3
wheel==0.33.1
django-environ==0.4.5
radon==3.0.1
djangorestframework==3.9.3
pytz==2019.1
<|file_sep|>current/requirements_dev.txt
-r requirements.txt
django==2.2.1
bumpversion==0.5.3
wheel==0.33.1
django-environ==0.4.5
radon... | -r requirements.txt
django==2.2.2
bumpversion==0.5.3
wheel==0.33.1
django-environ==0.4.5
radon==3.0.1
djangorestframework==3.9.3
pytz==2019.1
| <|file_sep|>original/requirements_dev.txt
-r requirements.txt
django==2.2.1
bumpversion==0.5.3
wheel==0.33.1
django-environ==0.4.5
radon==3.0.1
djangorestframework==3.9.3
pytz==2019.1
<|file_sep|>current/requirements_dev.txt
-r requirements.txt
django==2.2.1
bumpversion==0.5.3
wheel==0.33.1
django-environ==0.4.5
radon... | 5e61c0803d7c1d573a678e14bb28157d46a6ffe4 | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/requirements/base.txt
Django==1.8.7
ipython==4.0.1
raven==5.8.1
psycopg2==2.6.1
PyYAML==3.11
redis==2.10.3
python3-memcached==1.51
certifi==2015.9.6.2
django-flat-theme==1.1.1
djangorestframework==3.3.1
django-extensions==1.5.7
django-cors-headers==1.1.0
django-celery==3.1.17
django-cachalot==1.0... | Django==1.8.7
ipython==4.0.1
raven==5.8.1
psycopg2==2.6.1
PyYAML==3.11
redis==2.10.3
python3-memcached==1.51
certifi==2015.9.6.2
django-flat-theme==1.1.2
djangorestframework==3.3.1
django-extensions==1.5.7
django-cors-headers==1.1.0
django-celery==3.1.17
django-cachalot==1.0.3
django-oauth-toolkit==0.9.0
django-basis... | <|file_sep|>original/requirements/base.txt
Django==1.8.7
ipython==4.0.1
raven==5.8.1
psycopg2==2.6.1
PyYAML==3.11
redis==2.10.3
python3-memcached==1.51
certifi==2015.9.6.2
django-flat-theme==1.1.1
djangorestframework==3.3.1
django-extensions==1.5.7
django-cors-headers==1.1.0
django-celery==3.1.17
django-cachalot==1.0... | b391f5159ad13797c8913535096851d394d1325b | requirements/base.txt | requirements/base.txt | Text |
<|file_sep|>original/.travis.yml
compiler:
- clang
- gcc
env:
- BUILD_TYPE=Debug
- BUILD_TYPE=Release
before_install:
- sudo apt-get install libgsl0ldbl
- sudo apt-get install automake
- git clone https://github.com/kartikkumar/sgp4deorbit sgp4
- cd sgp4
- ./configure CC=gcc CXX=g++
- make
- cd ... | compiler:
- clang
- gcc
env:
- BUILD_TYPE=Debug
- BUILD_TYPE=Release
before_install:
- sudo apt-get install libgsl0ldbl
- curl -OL http://ftpmirror.gnu.org/automake/automake-1.14.tar.gz
- tar -xzf automake-1.14.tar.gz
- cd automake-1.14
- ./configure
- make
- sudo make install
- git clone ht... | <|file_sep|>original/.travis.yml
compiler:
- clang
- gcc
env:
- BUILD_TYPE=Debug
- BUILD_TYPE=Release
before_install:
- sudo apt-get install libgsl0ldbl
- sudo apt-get install automake
- git clone https://github.com/kartikkumar/sgp4deorbit sgp4
- cd sgp4
- ./configure CC=gcc CXX=g++
- make
- cd ... | 3e93565f383e19f0b8b6a086cbb6a1e7839d4801 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/demos/blog/requirements-dev.txt
pyflakes==2.1.1
pep8==1.7.1
pytest==5.2.1
ipdb==0.12.2
<|file_sep|>current/demos/blog/requirements-dev.txt
pyflakes==2.1.1
pep8==1.7.1
pytest==5.2.1
ipdb==0.12.2
<|file_sep|>updated/demos/blog/requirements-dev.txt | pyflakes==2.2.0
pep8==1.7.1
pytest==5.2.1
ipdb==0.12.2 | <|file_sep|>original/demos/blog/requirements-dev.txt
pyflakes==2.1.1
pep8==1.7.1
pytest==5.2.1
ipdb==0.12.2
<|file_sep|>current/demos/blog/requirements-dev.txt
pyflakes==2.1.1
pep8==1.7.1
pytest==5.2.1
ipdb==0.12.2
<|file_sep|>updated/demos/blog/requirements-dev.txt
pyflakes==2.2.0
pep8==1.7.1
pytest==5.2.1
ipdb==0.12.... | 9a2a50792059910f59b63652fd68a9deaf999da4 | demos/blog/requirements-dev.txt | demos/blog/requirements-dev.txt | Text |
<|file_sep|>original/lib/middleman-disqus/extension.rb
class DisqusExtension < Extension
option :shortname, nil, "Your short name for Disqus"
def initialize(app, options_hash={}, &block)
super
# place in class variable so helpers can access
@@options = options
end
def self.options(... | class DisqusExtension < Extension
option :shortname, nil, "Your short name for Disqus"
def initialize(app, options_hash={}, &block)
super
# place in class variable so helpers can access
@@options = options
end
def self.options(options = {})
options = options.to_hash.map do |k... | <|file_sep|>original/lib/middleman-disqus/extension.rb
class DisqusExtension < Extension
option :shortname, nil, "Your short name for Disqus"
def initialize(app, options_hash={}, &block)
super
# place in class variable so helpers can access
@@options = options
end
def self.options(... | 2411189f3226fad57562684520c3b3bf79f3de03 | lib/middleman-disqus/extension.rb | lib/middleman-disqus/extension.rb | Ruby |
<|file_sep|>original/spec/support/oboe_spec.rb
require 'spec_helper'
describe Oboe do
it 'should return correct version string' do
Oboe::Version::STRING.should =~ /2.0.0/
end
end
<|file_sep|>current/spec/support/oboe_spec.rb
require 'spec_helper'
describe Oboe do
it 'should return correct version string' do... | require 'spec_helper'
describe Oboe do
end | <|file_sep|>original/spec/support/oboe_spec.rb
require 'spec_helper'
describe Oboe do
it 'should return correct version string' do
Oboe::Version::STRING.should =~ /2.0.0/
end
end
<|file_sep|>current/spec/support/oboe_spec.rb
require 'spec_helper'
describe Oboe do
it 'should return correct version string' do... | d73e601283b23eef1c5c29d085594734033e6419 | spec/support/oboe_spec.rb | spec/support/oboe_spec.rb | Ruby |
<|file_sep|>original/.github/workflows/ci-workflow.yml
name: j-pet-continuous-integration-tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: sudo apt-get -qq update
- run: sudo apt-get install -y git libboost-all-dev libtbb-dev cmake
- run: wge... |
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: system update
run: |
sudo apt-get -qq update
sudo apt-get install -y git libboost-all-dev libtbb-dev cmake
- name: download and setup ROOT
run: |
wget https://root.cern/download/root_v6.1... | <|file_sep|>original/.github/workflows/ci-workflow.yml
name: j-pet-continuous-integration-tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: sudo apt-get -qq update
- run: sudo apt-get install -y git libboost-all-dev libtbb-dev cmake
- run: wge... | e16facd5c56349304aee1315d5b1766d5d97731d | .github/workflows/ci-workflow.yml | .github/workflows/ci-workflow.yml | YAML |
<|file_sep|>original/.travis.yml
os: osx
language: node_js
node_js:
- "4"
<|file_sep|>current/.travis.yml
os: osx
language: node_js
node_js:
- "4"
<|file_sep|>updated/.travis.yml | os: osx
language: node_js
node_js:
- "4"
- "6"
- "7" | <|file_sep|>original/.travis.yml
os: osx
language: node_js
node_js:
- "4"
<|file_sep|>current/.travis.yml
os: osx
language: node_js
node_js:
- "4"
<|file_sep|>updated/.travis.yml
os: osx
language: node_js
node_js:
- "4"
- "6"
- "7" | 7be7032e318dbd11363d7e2fc341da088771f49f | .travis.yml | .travis.yml | YAML |
<|file_sep|>.travis.yml.diff
original:
updated:
- "3.4"
<|file_sep|>.travis.yml.diff
original:
env:
- TOX_ENV=py35-django-18
- TOX_ENV=py34-django-18
- TOX_ENV=py33-django-18
- TOX_ENV=py32-django-18
- TOX_ENV=py27-django-18
updated:
env:
<|file_sep|>.travis.yml.diff
original:
- TOX_ENV=py27-django-19
u... |
python:
- "3.5"
- "3.4"
env:
- TOX_ENV=py35-django-19
- TOX_ENV=py34-django-19
- TOX_ENV=py35-django-110
- TOX_ENV=py34-django-110
matrix:
fast_finish: true
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install: pip install -r requirements_test.txt
# command to... | <|file_sep|>.travis.yml.diff
original:
updated:
- "3.4"
<|file_sep|>.travis.yml.diff
original:
env:
- TOX_ENV=py35-django-18
- TOX_ENV=py34-django-18
- TOX_ENV=py33-django-18
- TOX_ENV=py32-django-18
- TOX_ENV=py27-django-18
updated:
env:
<|file_sep|>.travis.yml.diff
original:
- TOX_ENV=py27-django-19
u... | d78d6ef927d0ea869e67f350465c3b454c0ab6e7 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/Inline.podspec
Pod::Spec.new do |s|
s.name = 'Inline'
s.version = '0.1.0'
s.license = 'MIT'
s.platform = :ios, '4.3'
s.summary = "Extends SenTestCase to allow for easier implementation of alternative DSLs."
s.homepage = 'https://github.com/rdavies/Inline'
s.author = { 'Ryan Davies' =>... | Pod::Spec.new do |s|
s.name = 'Inline'
s.version = '0.1.0'
s.license = 'MIT'
s.platform = :ios, '5.0'
s.summary = "Extends SenTestCase to allow for easier implementation of alternative DSLs."
s.homepage = 'https://github.com/rdavies/Inline'
s.author = { 'Ryan Davies' => 'ryan@ryandavies.net' }
s.source ... | <|file_sep|>original/Inline.podspec
Pod::Spec.new do |s|
s.name = 'Inline'
s.version = '0.1.0'
s.license = 'MIT'
s.platform = :ios, '4.3'
s.summary = "Extends SenTestCase to allow for easier implementation of alternative DSLs."
s.homepage = 'https://github.com/rdavies/Inline'
s.author = { 'Ryan Davies' =>... | d409d6093cfca27dfdf16d7a67def063c135e59c | Inline.podspec | Inline.podspec | Ruby |
<|file_sep|>original/scripts/use-ssh-git-repository.sh
#!/bin/bash
cd ~/dotfiles
git remote rm origin
git remote add origin git@github.com:Benoth/dotfiles.git
git push origin master
echo ""
echo "Do not forget to add in ~/.ssh/config :"
echo " Host github.com"
echo " HostName github.com"
echo " User git"
e... | #!/bin/bash
cd ~/dotfiles
git remote rm origin
git remote add origin git@github.com:Benoth/dotfiles.git
git push origin master
git branch --set-upstream-to=origin/master master
echo ""
echo "Do not forget to add in ~/.ssh/config :"
echo " Host github.com"
echo " HostName github.com"
echo " User git"
echo "... | <|file_sep|>original/scripts/use-ssh-git-repository.sh
#!/bin/bash
cd ~/dotfiles
git remote rm origin
git remote add origin git@github.com:Benoth/dotfiles.git
git push origin master
echo ""
echo "Do not forget to add in ~/.ssh/config :"
echo " Host github.com"
echo " HostName github.com"
echo " User git"
e... | a4451b11293bf465d623e6f336f3b4602f8ac201 | scripts/use-ssh-git-repository.sh | scripts/use-ssh-git-repository.sh | Shell |
<|file_sep|>falcom/api/uri/api_querier.py.diff
original:
result = SpecialNull
i = 1
updated:
self.result = SpecialNull
self.attempt_number = 1
<|file_sep|>falcom/api/uri/api_querier.py.diff
original:
while result is SpecialNull:
updated:
while self.result is SpecialNull:
... |
except ConnectionError:
sleep(self.sleep_time)
if self.attempt_number == self.max_tries:
self.result = b""
else:
self.attempt_number += 1
return self.result
@staticmethod
def utf8 (str_or_bytes):
... | <|file_sep|>falcom/api/uri/api_querier.py.diff
original:
result = SpecialNull
i = 1
updated:
self.result = SpecialNull
self.attempt_number = 1
<|file_sep|>falcom/api/uri/api_querier.py.diff
original:
while result is SpecialNull:
updated:
while self.result is SpecialNull:
... | 5d67def658f0b1bd206fdefe100d32269f1eb34e | falcom/api/uri/api_querier.py | falcom/api/uri/api_querier.py | Python |
<|file_sep|>app/Http/Requests/BusinessFormRequest.php.diff
original:
'name' => 'required|min:3',
updated:
'name' => 'required|min:4',
<|file_sep|>original/app/Http/Requests/BusinessFormRequest.php
case 'PUT':
return [
'name' =... | case 'PUT':
return [
'name' => 'required|min:4',
'description' => 'required|min:10',
'timezone' => 'timezone',
'strategy' => 'required'
];
break;
case 'POST... | <|file_sep|>app/Http/Requests/BusinessFormRequest.php.diff
original:
'name' => 'required|min:3',
updated:
'name' => 'required|min:4',
<|file_sep|>original/app/Http/Requests/BusinessFormRequest.php
case 'PUT':
return [
'name' =... | eb2dc6e1b6fcb0c590a54a401b652a2528e983aa | app/Http/Requests/BusinessFormRequest.php | app/Http/Requests/BusinessFormRequest.php | PHP |
<|file_sep|>original/feature_extraction/util/cleanup.py
<|file_sep|>current/feature_extraction/util/cleanup.py
<|file_sep|>updated/feature_extraction/util/cleanup.py | import numpy as np
import scipy as sp
def cell_boundary_mask(image):
"""
Identifies the clipping boundary of a cell image.
Returns this as a mask, where True corresponds to "inside the cell".
This is done by finding a mask that is True where image != 0
(as the clipped area will be perfectly zero).
Imperfections... | <|file_sep|>original/feature_extraction/util/cleanup.py
<|file_sep|>current/feature_extraction/util/cleanup.py
<|file_sep|>updated/feature_extraction/util/cleanup.py
import numpy as np
import scipy as sp
def cell_boundary_mask(image):
"""
Identifies the clipping boundary of a cell image.
Returns this as a mask, w... | a2e64a15a1f792308764507d8068f4e109837405 | feature_extraction/util/cleanup.py | feature_extraction/util/cleanup.py | Python |
<|file_sep|>original/code/client_secret.json
{"installed":{"client_id":"723757215783-caqv5p17r04tdf1puar3n7u91mc7h2nq.apps.googleusercontent.com","project_id":"massive-journal-128209","auth_uri":"https://accounts.google.com/o/oauth2/auth","token_uri":"https://accounts.google.com/o/oauth2/token","auth_provider_x509_cert... | {"installed":{"client_id":"723757215783-caqv5p17r04tdf1puar3n7u91mc7h2nq.apps.googleusercontent.com","project_id":"massive-journal-128209","auth_uri":"https://accounts.google.com/o/oauth2/auth","token_uri":"https://accounts.google.com/o/oauth2/token","auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/c... | <|file_sep|>original/code/client_secret.json
{"installed":{"client_id":"723757215783-caqv5p17r04tdf1puar3n7u91mc7h2nq.apps.googleusercontent.com","project_id":"massive-journal-128209","auth_uri":"https://accounts.google.com/o/oauth2/auth","token_uri":"https://accounts.google.com/o/oauth2/token","auth_provider_x509_cert... | 4bb789762ff8b156f99ec8523eda563cf8bd4435 | code/client_secret.json | code/client_secret.json | JSON |
<|file_sep|>original/deployment/puppet/nailgun/templates/nginx_nailgun.conf.erb
alias <%= @logdumpdir %>;
}
location ~ ^/ostf/(.*) {
proxy_pass http://<%= @ostf_host %>:8777/v1/$1;
proxy_buffering off;
}
location ~ ^/keystone/(.*) {
proxy_pass http://<%= @keystone_host ... | alias <%= @logdumpdir %>;
}
location ~ ^/ostf/(.*) {
proxy_pass http://<%= @ostf_host %>:8777/v1/$1;
proxy_buffering off;
}
location ~ ^/keystone/(.*) {
proxy_pass http://<%= @keystone_host %>:5000/$1;
proxy_buffering off;
}
location / {
root <%... | <|file_sep|>original/deployment/puppet/nailgun/templates/nginx_nailgun.conf.erb
alias <%= @logdumpdir %>;
}
location ~ ^/ostf/(.*) {
proxy_pass http://<%= @ostf_host %>:8777/v1/$1;
proxy_buffering off;
}
location ~ ^/keystone/(.*) {
proxy_pass http://<%= @keystone_host ... | f2fe8034e9103ff1458ee7f5fc463fffb146fbfc | deployment/puppet/nailgun/templates/nginx_nailgun.conf.erb | deployment/puppet/nailgun/templates/nginx_nailgun.conf.erb | HTML+ERB |
<|file_sep|>original/Casks/cocos-code-ide.rb
<|file_sep|>current/Casks/cocos-code-ide.rb
<|file_sep|>updated/Casks/cocos-code-ide.rb | cask :v1 => 'cocos-code-ide' do
version '1.2.0'
sha256 'b588d3d7993204d0828ee954eabab09824f66dfc44c8fc3d6fe774ed8b25a23e'
url "http://www.cocos2d-x.org/filedown/cocos-code-ide-mac64-#{version}.dmg"
name 'Cocos Code IDE'
homepage 'http://www.cocos2d-x.org'
license :unknown
app 'Cocos Code IDE.app'
zap... | <|file_sep|>original/Casks/cocos-code-ide.rb
<|file_sep|>current/Casks/cocos-code-ide.rb
<|file_sep|>updated/Casks/cocos-code-ide.rb
cask :v1 => 'cocos-code-ide' do
version '1.2.0'
sha256 'b588d3d7993204d0828ee954eabab09824f66dfc44c8fc3d6fe774ed8b25a23e'
url "http://www.cocos2d-x.org/filedown/cocos-code-ide-ma... | 8463b983d064dcd542681ef735b1accfa8c6ae48 | Casks/cocos-code-ide.rb | Casks/cocos-code-ide.rb | Ruby |
<|file_sep|>.travis.yml.diff
original:
- 7.0
updated:
<|file_sep|>original/.travis.yml
language: php
php:
- 7.0
- 7.1
- 7.2
install: composer install
script: bin/phpunit tests/phpunit
<|file_sep|>current/.travis.yml
language: php
php:
- 7.1
- 7.2
install: composer install
script: bin/phpunit tests/phpunit
... | language: php
php:
- 7.1
- 7.2
- 7.3
install: composer install
script: bin/phpunit tests/phpunit | <|file_sep|>.travis.yml.diff
original:
- 7.0
updated:
<|file_sep|>original/.travis.yml
language: php
php:
- 7.0
- 7.1
- 7.2
install: composer install
script: bin/phpunit tests/phpunit
<|file_sep|>current/.travis.yml
language: php
php:
- 7.1
- 7.2
install: composer install
script: bin/phpunit tests/phpunit
... | c623cc9fad34921eaccbab34362815e476d3f22a | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/app/views/data/pages/_git_gem_info.html.haml
- spec = Gem.loaded_specs[name]
- version = spec.full_gem_path.match(/-([a-f0-9]+)$/)[1]
- commit = Git.open(spec.full_gem_path).gcommit(version)
%tr.gem-info
%td== #{ name.titleize } Info
%td
%a.compare{ href: "https://github.com/quintel/#{... | - spec = Gem.loaded_specs[name]
- version = spec.full_gem_path.match(/-([a-f0-9]+)$/)[1]
- commit = Git.open(spec.full_gem_path).gcommit(version)
%tr.gem-info
%td== #{ name.titleize } Info
%td
%a.compare{ href: "https://github.com/quintel/#{ name }/compare/#{ version }...master" }<
Compare with HEAD
... | <|file_sep|>original/app/views/data/pages/_git_gem_info.html.haml
- spec = Gem.loaded_specs[name]
- version = spec.full_gem_path.match(/-([a-f0-9]+)$/)[1]
- commit = Git.open(spec.full_gem_path).gcommit(version)
%tr.gem-info
%td== #{ name.titleize } Info
%td
%a.compare{ href: "https://github.com/quintel/#{... | fe70c110de5deaf1923fdcc60fd34426874a46be | app/views/data/pages/_git_gem_info.html.haml | app/views/data/pages/_git_gem_info.html.haml | Haml |
<|file_sep|>original/Cargo.toml
[package]
name = "currency"
version = "0.4.0"
authors = ["tberry@student.neumont.edu"]
description = "A library for representing international currencies."
repository = "https://github.com/Tahler/rust-lang-currency"
documentation = "http://tahler.github.io/rust-lang-currency/currency/ind... | [package]
name = "currency"
version = "0.4.0"
authors = ["tyler@berryac.com"]
description = "A library for representing international currencies."
repository = "https://github.com/Tahler/rust-lang-currency"
documentation = "http://tahler.github.io/rust-lang-currency/currency/index.html"
keywords = ["currency", "money",... | <|file_sep|>original/Cargo.toml
[package]
name = "currency"
version = "0.4.0"
authors = ["tberry@student.neumont.edu"]
description = "A library for representing international currencies."
repository = "https://github.com/Tahler/rust-lang-currency"
documentation = "http://tahler.github.io/rust-lang-currency/currency/ind... | b9cee59ff5f8fb120605506177c0e66e68ef799e | Cargo.toml | Cargo.toml | TOML |
<|file_sep|>original/support/build/_docker/cedar-14.Dockerfile
FROM heroku/cedar:14
WORKDIR /app
ENV WORKSPACE_DIR=/app/support/build
RUN apt-get update && apt-get install -y python-pip
RUN pip install 'bob-builder>=0.0.10' 's3cmd>=1.6.0'
ADD . /app
<|file_sep|>current/support/build/_docker/cedar-14.Dockerfile
FROM... | FROM heroku/cedar:14
WORKDIR /app
ENV WORKSPACE_DIR=/app/support/build
RUN apt-get update && apt-get install -y python-pip
ADD requirements.txt /app/requirements.txt
RUN pip install -r /app/requirements.txt
ADD . /app | <|file_sep|>original/support/build/_docker/cedar-14.Dockerfile
FROM heroku/cedar:14
WORKDIR /app
ENV WORKSPACE_DIR=/app/support/build
RUN apt-get update && apt-get install -y python-pip
RUN pip install 'bob-builder>=0.0.10' 's3cmd>=1.6.0'
ADD . /app
<|file_sep|>current/support/build/_docker/cedar-14.Dockerfile
FROM... | 74e646f97c090524f216ffec7638035a85505f6f | support/build/_docker/cedar-14.Dockerfile | support/build/_docker/cedar-14.Dockerfile | unknown |
<|file_sep|>original/src/components/NewHousehold/__tests__/NewHousehold.test.js
it('renders correctly', () => {
const { getByTestId } = render(
<Provider store={store}>
<NewHousehold />
</Provider>
);
expect(getByTestId('page-header').textContent).toBe('Create A New Family');
});
... |
it('renders the new household form', () => {
const { getByTestId } = render(
<Provider store={store}>
<NewHousehold />
</Provider>
);
expect(getByTestId('household-form')).toBeTruthy();
});
it('submits the form correctly', () => {
const { getByText } = render(
<Provide... | <|file_sep|>original/src/components/NewHousehold/__tests__/NewHousehold.test.js
it('renders correctly', () => {
const { getByTestId } = render(
<Provider store={store}>
<NewHousehold />
</Provider>
);
expect(getByTestId('page-header').textContent).toBe('Create A New Family');
});
... | cd6928cc1bdf7bb64caaa762492edc9c520328c2 | src/components/NewHousehold/__tests__/NewHousehold.test.js | src/components/NewHousehold/__tests__/NewHousehold.test.js | JavaScript |
<|file_sep|>original/.travis.yml
addons:
apt:
packages:
- gettext
- libcurl4-openssl-dev
- libicu-dev
- libssl-dev
- libunwind8
- zlib1g
mono:
- 4.2.3
os:
- linux
- osx
osx_image: xcode7.1
#before_install:
# - if test "$TRAVIS_OS_NAME" == "osx"; then brew update; brew inst... | addons:
apt:
packages:
- gettext
- libcurl4-openssl-dev
- libicu-dev
- libssl-dev
- libunwind8
- zlib1g
mono:
- 4.4.2
os:
- linux
- osx
osx_image: xcode7.1
#before_install:
# - if test "$TRAVIS_OS_NAME" == "osx"; then brew update; brew install openssl; ln -s /usr/local/opt... | <|file_sep|>original/.travis.yml
addons:
apt:
packages:
- gettext
- libcurl4-openssl-dev
- libicu-dev
- libssl-dev
- libunwind8
- zlib1g
mono:
- 4.2.3
os:
- linux
- osx
osx_image: xcode7.1
#before_install:
# - if test "$TRAVIS_OS_NAME" == "osx"; then brew update; brew inst... | 0b7379666cf653995fae44910c1244892fbcd889 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/test/server/name_bazaar/utils.cljs
<|file_sep|>current/test/server/name_bazaar/utils.cljs
<|file_sep|>updated/test/server/name_bazaar/utils.cljs | (ns server.name-bazaar.utils
(:require
[cljs.core.async :refer [<! go]]
[cljs.test :refer-macros [async]]
[cljs-time.coerce :refer [from-long]]
[cljs-web3-next.eth :as web3-eth]
[cljs-web3-next.evm :as web3-evm]
[cljs-web3-next.helpers :as web3-helpers]
[district.server.web3 :refer [web3]]... | <|file_sep|>original/test/server/name_bazaar/utils.cljs
<|file_sep|>current/test/server/name_bazaar/utils.cljs
<|file_sep|>updated/test/server/name_bazaar/utils.cljs
(ns server.name-bazaar.utils
(:require
[cljs.core.async :refer [<! go]]
[cljs.test :refer-macros [async]]
[cljs-time.coerce :refer [from-l... | dcef8899b6d6e1b0d8c9c3bdbd3bf681c8a31db7 | test/server/name_bazaar/utils.cljs | test/server/name_bazaar/utils.cljs | Clojure |
<|file_sep|>original/fluent-plugin-elasticsearch.gemspec
s.name = "fluent-plugin-elasticsearch"
s.version = '0.2.0'
s.authors = ["diogo", 'pitr']
s.email = ["team@uken.com"]
s.description = %q{ElasticSearch output plugin for Fluent event collector}
s.summary = s.descript... | s.name = "fluent-plugin-elasticsearch"
s.version = '0.2.0'
s.authors = ["diogo", 'pitr']
s.email = ["team@uken.com"]
s.description = %q{ElasticSearch output plugin for Fluent event collector}
s.summary = s.description
s.homepage = "https://github.com/uken/fluent-p... | <|file_sep|>original/fluent-plugin-elasticsearch.gemspec
s.name = "fluent-plugin-elasticsearch"
s.version = '0.2.0'
s.authors = ["diogo", 'pitr']
s.email = ["team@uken.com"]
s.description = %q{ElasticSearch output plugin for Fluent event collector}
s.summary = s.descript... | 3a171820f76c939f9de28eb976460c0447a79b5c | fluent-plugin-elasticsearch.gemspec | fluent-plugin-elasticsearch.gemspec | Ruby |
<|file_sep|>original/ykman-gui/main.cpp
#include <QApplication>
#include <QQmlApplicationEngine>
#include <QQmlContext>
#include <stdlib.h>
#include <QtGlobal>
#include <QtWidgets>
#include <QtSingleApplication>
int main(int argc, char *argv[])
{
QtSingleApplication app(argc, argv);
QQmlApplicationEngine engin... | #include <QQmlApplicationEngine>
#include <QQmlContext>
#include <stdlib.h>
#include <QtGlobal>
#include <QtWidgets>
#include <QtSingleApplication>
int main(int argc, char *argv[])
{
QtSingleApplication app(argc, argv);
if (app.isRunning()) {
return 0;
}
QQmlApplicationEngine engine;
app.se... | <|file_sep|>original/ykman-gui/main.cpp
#include <QApplication>
#include <QQmlApplicationEngine>
#include <QQmlContext>
#include <stdlib.h>
#include <QtGlobal>
#include <QtWidgets>
#include <QtSingleApplication>
int main(int argc, char *argv[])
{
QtSingleApplication app(argc, argv);
QQmlApplicationEngine engin... | 0fcfeabab1783f424027840f62d942435d4fd828 | ykman-gui/main.cpp | ykman-gui/main.cpp | C++ |
<|file_sep|>original/src/ggrc/migrations/versions/20170302155757_2127ea770285_add_audit_fk_to_assessments_and_issues.py
<|file_sep|>current/src/ggrc/migrations/versions/20170302155757_2127ea770285_add_audit_fk_to_assessments_and_issues.py
<|file_sep|>updated/src/ggrc/migrations/versions/20170302155757_2127ea770285_ad... | # Copyright (C) 2017 Google Inc.
# Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file>
"""
Add audit FK to assessments and issues
Create Date: 2017-03-02 15:57:57.006126
"""
# disable Invalid constant name pylint warning for mandatory Alembic variables.
# pylint: disable=invalid-name
import ... | <|file_sep|>original/src/ggrc/migrations/versions/20170302155757_2127ea770285_add_audit_fk_to_assessments_and_issues.py
<|file_sep|>current/src/ggrc/migrations/versions/20170302155757_2127ea770285_add_audit_fk_to_assessments_and_issues.py
<|file_sep|>updated/src/ggrc/migrations/versions/20170302155757_2127ea770285_ad... | d0dcdf7ed663f9909f2a8e889bb972c5731aef0f | src/ggrc/migrations/versions/20170302155757_2127ea770285_add_audit_fk_to_assessments_and_issues.py | src/ggrc/migrations/versions/20170302155757_2127ea770285_add_audit_fk_to_assessments_and_issues.py | Python |
<|file_sep|>.travis/build_docker.sh.diff
original:
if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
updated:
if [ "$TRAVIS_BRANCH" == "master" || "$TRAVIS_BRANCH" == "test" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
<|file_sep|>original/.travis/build_docker.sh
#!/bin/bash
if [ "... | #!/bin/bash
if [ "$TRAVIS_BRANCH" == "master" || "$TRAVIS_BRANCH" == "test" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
curl -H "Content-Type: application/json" --data '{"source_type": "Branch", "source_name": "core"}' -X POST https://registry.hub.docker.com/u/jembi/openhim-core/trigger/5cd6f182-c523-409e-ae6... | <|file_sep|>.travis/build_docker.sh.diff
original:
if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
updated:
if [ "$TRAVIS_BRANCH" == "master" || "$TRAVIS_BRANCH" == "test" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
<|file_sep|>original/.travis/build_docker.sh
#!/bin/bash
if [ "... | 9c6dfc808384aa495709f402c30a3c2fea2c4b26 | .travis/build_docker.sh | .travis/build_docker.sh | Shell |
<|file_sep|>doxy/githublabels.awk.diff
original:
updated:
# Get file name prefix for references.
#
filename != FILENAME {
filename = FILENAME
# strip path
"pwd" | getline path
path = path "/"
prefix = substr(filename, 1, length(path)) == path \
? substr(filename, length(path) + 1) \
: filename... | gsub(/\)__REF__>/, ")")
}
#
# If this line is underlining a heading, add a label to the previous
# line.
#
line && (/^===*$/ || /^---*$/) {
id = tolower(line)
gsub(/[^_a-z0-9]+/, "-", id)
line = line " {#" prefix id "}"
}
#
# Print the previous line, after a label might have been added.
#
{print line}
#
# Rememb... | <|file_sep|>doxy/githublabels.awk.diff
original:
updated:
# Get file name prefix for references.
#
filename != FILENAME {
filename = FILENAME
# strip path
"pwd" | getline path
path = path "/"
prefix = substr(filename, 1, length(path)) == path \
? substr(filename, length(path) + 1) \
: filename... | feb107421f91c5001dc3c580aa3a4ea237865f99 | doxy/githublabels.awk | doxy/githublabels.awk | Awk |
<|file_sep|>original/app/views/schema_versions/index.html.haml
%p#notice
%h1= @schema.name
%h2= @schema.schema_category.name
%table
%thead
%tr
%th Fecha
%th Version
%th{:colspan => "3"}
%tbody
- @schema_versions.each do |schema_version|
%tr
%td= schema_version.created_at
... | - if !user_signed_in?
Para subir un esquema por favor
= link_to 'identifíquese con su clave única', user_clave_unica_omniauth_authorize_path
- else
= form_for @schema do |f|
- if @schema.errors.any?
#error_explanation
%h2
= pluralize(@schema.errors.count, "error")
prohibited ... | <|file_sep|>original/app/views/schema_versions/index.html.haml
%p#notice
%h1= @schema.name
%h2= @schema.schema_category.name
%table
%thead
%tr
%th Fecha
%th Version
%th{:colspan => "3"}
%tbody
- @schema_versions.each do |schema_version|
%tr
%td= schema_version.created_at
... | 565415b896a33313ad8397dfb5943ec50a640d7c | app/views/schema_versions/index.html.haml | app/views/schema_versions/index.html.haml | Haml |
<|file_sep|>packages/lesswrong/components/posts/PostsDay.jsx.diff
original:
}
updated:
},
noPosts: {
marginLeft: "23px",
color: "rgba(0,0,0,0.5)",
},
<|file_sep|>original/packages/lesswrong/components/posts/PostsDay.jsx
const { date, posts, classes } = this.props;
const noPosts = posts.length ==... |
class PostsDay extends PureComponent {
render() {
const { date, posts, classes } = this.props;
const noPosts = posts.length === 0;
return (
<div className="posts-day">
<Typography variant="display2" className={classes.dayTitle} >{date.format('dddd, MMMM Do YYYY')}</Typography>
{ n... | <|file_sep|>packages/lesswrong/components/posts/PostsDay.jsx.diff
original:
}
updated:
},
noPosts: {
marginLeft: "23px",
color: "rgba(0,0,0,0.5)",
},
<|file_sep|>original/packages/lesswrong/components/posts/PostsDay.jsx
const { date, posts, classes } = this.props;
const noPosts = posts.length ==... | 4cc3765a3b41e1cb97d22a1e230e91d37aa58489 | packages/lesswrong/components/posts/PostsDay.jsx | packages/lesswrong/components/posts/PostsDay.jsx | JSX |
<|file_sep|>test/tools/service.py.diff
original:
import novaclient.v2.client as nvclient
updated:
import novaclient.client as nvclient
<|file_sep|>original/test/tools/service.py
from glanceclient import Client as glclient
import keystoneclient.v2_0.client as ksclient
import novaclient.v2.client as nvclient
client_ar... | from os import environ as env
from glanceclient import Client as glclient
import keystoneclient.v2_0.client as ksclient
import novaclient.client as nvclient
client_args = {
}
nova = nvclient.Client('2', env['OS_USERNAME'], env['OS_PASSWORD'], env['OS_TENANT_NAME'], env['OS_AUTH_URL'])
keystone = ksclient.C... | <|file_sep|>test/tools/service.py.diff
original:
import novaclient.v2.client as nvclient
updated:
import novaclient.client as nvclient
<|file_sep|>original/test/tools/service.py
from glanceclient import Client as glclient
import keystoneclient.v2_0.client as ksclient
import novaclient.v2.client as nvclient
client_ar... | 92e96d8b352f608a0d04521a140bdd3dcbe5ebbc | test/tools/service.py | test/tools/service.py | Python |
<|file_sep|>original/README.md
CSV Query is a command line tool that allows you to run SQL queries on data
stored in CSV files.
For example:
$ csvq --select "count(*)" --where "name='Jakob'" sample.csv
count(*)
--------
1
Assumptions
-----------
The first row of data is assumed to be headers.... | CSV Query is a command line tool that allows you to run SQL queries on data
stored in CSV files.
For example:
$ csvq --select "count(*)" --where "name='Jakob'" sample.csv
count(*)
--------
1
[](https://travis-ci.or... | <|file_sep|>original/README.md
CSV Query is a command line tool that allows you to run SQL queries on data
stored in CSV files.
For example:
$ csvq --select "count(*)" --where "name='Jakob'" sample.csv
count(*)
--------
1
Assumptions
-----------
The first row of data is assumed to be headers.... | 8fde5eec0a519fcc0fe789d45a2e2653d7284646 | README.md | README.md | Markdown |
<|file_sep|>original/ghost/members-csv/package.json
"dev": "echo \"Implement me!\"",
"test": "NODE_ENV=testing mocha './test/**/*.test.js'",
"lint": "eslint . --ext .js --cache",
"posttest": "yarn lint"
},
"files": [
"index.js",
"lib"
],
"publishConfig": {
"access": "public"
},
"... | "dev": "echo \"Implement me!\"",
"test": "NODE_ENV=testing mocha './test/**/*.test.js'",
"lint": "eslint . --ext .js --cache",
"posttest": "yarn lint"
},
"files": [
"index.js",
"lib"
],
"publishConfig": {
"access": "public"
},
"devDependencies": {
"mocha": "8.0.1",
"shoul... | <|file_sep|>original/ghost/members-csv/package.json
"dev": "echo \"Implement me!\"",
"test": "NODE_ENV=testing mocha './test/**/*.test.js'",
"lint": "eslint . --ext .js --cache",
"posttest": "yarn lint"
},
"files": [
"index.js",
"lib"
],
"publishConfig": {
"access": "public"
},
"... | ed20668eac181dedb2bd7bb2f0b6e5b2a7c270b6 | ghost/members-csv/package.json | ghost/members-csv/package.json | JSON |
<|file_sep|>packages/hs/hschema.yaml.diff
original:
hash: 3dd71dd3add0704b08211453fb653e90952dcf52f86e9443d78094b8ea0ee31f
updated:
hash: 6c2e0a9b31f895660c497a1c50c1d122571799b4638dccc7637c6020166c3289
<|file_sep|>packages/hs/hschema.yaml.diff
original:
updated:
- '0.0.1.1'
<|file_sep|>original/packages/hs/hschema.ya... | contravariant: -any
mtl: -any
natural-transformation: -any
hashable: -any
profunctors: -any
vector: -any
all-versions:
- '0.0.1.0'
- '0.0.1.1'
author: Antonio Alonso Dominguez
latest: '0.0.1.1'
description-type: markdown
description: ! '# Haskell Schema Core
This is the core module of the the Haskell Sc... | <|file_sep|>packages/hs/hschema.yaml.diff
original:
hash: 3dd71dd3add0704b08211453fb653e90952dcf52f86e9443d78094b8ea0ee31f
updated:
hash: 6c2e0a9b31f895660c497a1c50c1d122571799b4638dccc7637c6020166c3289
<|file_sep|>packages/hs/hschema.yaml.diff
original:
updated:
- '0.0.1.1'
<|file_sep|>original/packages/hs/hschema.ya... | 682060d2a331b7ff0a48e6010987773d9ad3a9c9 | packages/hs/hschema.yaml | packages/hs/hschema.yaml | YAML |
<|file_sep|>original/chart/templates/storageclass.yaml
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
name: longhorn
{{- if .Values.persistence.defaultClass }}
annotations:
storageclass.beta.kubernetes.io/is-default-class: "true"
{{- else }}
annotations:
storageclass.beta.kubernetes.io/is-... | kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
name: longhorn
{{- if .Values.persistence.defaultClass }}
annotations:
storageclass.beta.kubernetes.io/is-default-class: "true"
{{- else }}
annotations:
storageclass.beta.kubernetes.io/is-default-class: "false"
{{- end }}
provisioner: driver... | <|file_sep|>original/chart/templates/storageclass.yaml
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
name: longhorn
{{- if .Values.persistence.defaultClass }}
annotations:
storageclass.beta.kubernetes.io/is-default-class: "true"
{{- else }}
annotations:
storageclass.beta.kubernetes.io/is-... | 5778a6141a349de72329745fd26db13dff5e9c09 | chart/templates/storageclass.yaml | chart/templates/storageclass.yaml | YAML |
<|file_sep|>original/Tools/generate_code_coverage.ps1
$output = "$PSScriptRoot\coverage.xml"
If (Test-Path $output) {
Remove-Item $output -Force
}
dotnet test -f netcoreapp2.0 /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput=$output ../source/tusdotnet.sln
$key = Read-Host -Prompt 'Input Co... | $output = "$PSScriptRoot\coverage.xml"
If (Test-Path $output) {
Remove-Item $output -Force
}
dotnet test -f netcoreapp2.0 /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput=$output /p:Exclude="[xunit.*]*" ../source/tusdotnet.sln
$key = Read-Host -Prompt 'Input Codecov key'
./codecov.sh -f "co... | <|file_sep|>original/Tools/generate_code_coverage.ps1
$output = "$PSScriptRoot\coverage.xml"
If (Test-Path $output) {
Remove-Item $output -Force
}
dotnet test -f netcoreapp2.0 /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput=$output ../source/tusdotnet.sln
$key = Read-Host -Prompt 'Input Co... | 386eb793ef7494ade8080497ea92cc10de954781 | Tools/generate_code_coverage.ps1 | Tools/generate_code_coverage.ps1 | PowerShell |
<|file_sep|>original/lib/node/embedded.rb
require 'jruby'
Dir["#{ElasticSearch::Node.lib}/*.jar"].each do |jar|
require jar
end
module ElasticSearch
module Node
class Embedded
include ElasticSearch::ClientProvider
include
def initialize(opts = {})
node_builder = org.elasticsearch.no... | require 'jruby'
Dir["#{ElasticSearch::Node.lib}/*.jar"].each do |jar|
require jar
end
module ElasticSearch
module Node
class Embedded
include ElasticSearch::ClientProvider
def initialize(opts = {})
node_builder = org.elasticsearch.node.NodeBuilder.nodeBuilder.loadConfigSettings(true)
... | <|file_sep|>original/lib/node/embedded.rb
require 'jruby'
Dir["#{ElasticSearch::Node.lib}/*.jar"].each do |jar|
require jar
end
module ElasticSearch
module Node
class Embedded
include ElasticSearch::ClientProvider
include
def initialize(opts = {})
node_builder = org.elasticsearch.no... | 4aa627cb43efbcb3335b8f0878a357f09ed6a342 | lib/node/embedded.rb | lib/node/embedded.rb | Ruby |
<|file_sep|>original/ltsv_logger_formatter.gemspec
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'ltsv_logger_formatter/version'
Gem::Specification.new do |spec|
spec.name = 'ltsv_logger_formatter'
spec.version = LtsvLoggerFormatter::VERSI... | lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'ltsv_logger_formatter/version'
Gem::Specification.new do |spec|
spec.name = 'ltsv_logger_formatter'
spec.version = LtsvLoggerFormatter::VERSION
spec.authors = ['ryu39']
spec.email ... | <|file_sep|>original/ltsv_logger_formatter.gemspec
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'ltsv_logger_formatter/version'
Gem::Specification.new do |spec|
spec.name = 'ltsv_logger_formatter'
spec.version = LtsvLoggerFormatter::VERSI... | a2d753cc2f8db475fd0f5397a68d3a761bc1c872 | ltsv_logger_formatter.gemspec | ltsv_logger_formatter.gemspec | Ruby |
<|file_sep|>original/README.md
smartquotes.js
==============
Smart quotes are smart typography, and now it’s just a ’script away.
Visit the homepage at <a href="http://smartquotesjs.com">smartquotesjs.com</a>.
<|file_sep|>current/README.md
smartquotes.js
==============
Smart quotes are smart typography, and now it’... | smartquotes.js
==============
Smart quotes are smart typography, and now it’s just a ’script away.
Visit the homepage at <a href="http://smartquotesjs.com">smartquotesjs.com</a>.
#### What are smart quotes?
“Smart quotes,” or “curly quotes,” are the proper typographical way to represent quotation marks. Unfortunat... | <|file_sep|>original/README.md
smartquotes.js
==============
Smart quotes are smart typography, and now it’s just a ’script away.
Visit the homepage at <a href="http://smartquotesjs.com">smartquotesjs.com</a>.
<|file_sep|>current/README.md
smartquotes.js
==============
Smart quotes are smart typography, and now it’... | 1d93e6b41ae2aef451cf4cdb529746e95e872803 | README.md | README.md | Markdown |
<|file_sep|>original/src/main/workflo/macros/jscomponents.cljs
(ns workflo.macros.jscomponents)
<|file_sep|>current/src/main/workflo/macros/jscomponents.cljs
(ns workflo.macros.jscomponents)
<|file_sep|>updated/src/main/workflo/macros/jscomponents.cljs | (ns workflo.macros.jscomponents
(:require-macros [workflo.macros.jscomponents
:refer [defjscomponents]])
(:require [workflo.macros.util.string]))
(def camelize-keys workflo.macros.util.string/camelize-keys) | <|file_sep|>original/src/main/workflo/macros/jscomponents.cljs
(ns workflo.macros.jscomponents)
<|file_sep|>current/src/main/workflo/macros/jscomponents.cljs
(ns workflo.macros.jscomponents)
<|file_sep|>updated/src/main/workflo/macros/jscomponents.cljs
(ns workflo.macros.jscomponents
(:require-macros [workflo.macros.... | 77dfbea421367eabce41d40cf9f33a33e1860d4e | src/main/workflo/macros/jscomponents.cljs | src/main/workflo/macros/jscomponents.cljs | Clojure |
<|file_sep|>original/tasks.yaml
- role: ['primary-controller']
stage: post_deployment
type: puppet
parameters:
puppet_manifest: puppet/manifests/primary-controller.pp
puppet_modules: puppet/modules:/etc/puppet/modules
timeout: 720
- role: ['controller']
stage: post_deployment
type: puppet
param... | stage: post_deployment
type: puppet
parameters:
puppet_manifest: puppet/manifests/primary-controller.pp
puppet_modules: puppet/modules:/etc/puppet/modules
timeout: 720
- role: ['controller']
stage: post_deployment
type: puppet
parameters:
puppet_manifest: puppet/manifests/controller.pp
... | <|file_sep|>original/tasks.yaml
- role: ['primary-controller']
stage: post_deployment
type: puppet
parameters:
puppet_manifest: puppet/manifests/primary-controller.pp
puppet_modules: puppet/modules:/etc/puppet/modules
timeout: 720
- role: ['controller']
stage: post_deployment
type: puppet
param... | 867db9c18fcccbb283159438ead16fdd671ce2a5 | tasks.yaml | tasks.yaml | YAML |
<|file_sep|>original/test/FrontendC++/msasm.cpp
// RUN: %llvmgcc %s -fasm-blocks -S -o - | FileCheck %s
// Complicated expression as jump target
// XFAIL: *
// XTARGET: x86,i386,i686
void Method3()
{
// CHECK: Method3
// CHECK-NOT: msasm
asm("foo:");
// CHECK: return
}
void Method4()
{
// CHECK: Method4
// CHECK:... | // RUN: %llvmgxx %s -fasm-blocks -S -o - | FileCheck %s
// Complicated expression as jump target
// XFAIL: *
// XTARGET: x86,i386,i686
void Method3()
{
// CHECK: Method3
// CHECK-NOT: msasm
asm("foo:");
// CHECK: return
}
void Method4()
{
// CHECK: Method4
// CHECK: msasm
asm {
bar:
}
// CHECK: return | <|file_sep|>original/test/FrontendC++/msasm.cpp
// RUN: %llvmgcc %s -fasm-blocks -S -o - | FileCheck %s
// Complicated expression as jump target
// XFAIL: *
// XTARGET: x86,i386,i686
void Method3()
{
// CHECK: Method3
// CHECK-NOT: msasm
asm("foo:");
// CHECK: return
}
void Method4()
{
// CHECK: Method4
// CHECK:... | 52a53627330f07d3102a11e2d7da5c23e365ba8f | test/FrontendC++/msasm.cpp | test/FrontendC++/msasm.cpp | C++ |
<|file_sep|>original/.zuul.yaml
- project:
templates:
- check-requirements
- lib-forward-testing-python3
- openstack-lower-constraints-jobs
- openstack-python3-victoria-jobs
- periodic-stable-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
<|file_sep|>current... | - project:
templates:
- check-requirements
- lib-forward-testing-python3
- openstack-lower-constraints-jobs
- openstack-python3-wallaby-jobs
- periodic-stable-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3 | <|file_sep|>original/.zuul.yaml
- project:
templates:
- check-requirements
- lib-forward-testing-python3
- openstack-lower-constraints-jobs
- openstack-python3-victoria-jobs
- periodic-stable-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
<|file_sep|>current... | 1f41eccb3a98f7488c6c62fa9062e219025a74fe | .zuul.yaml | .zuul.yaml | YAML |
<|file_sep|>original/src/Zimbra/Mail/Tests/Struct/AddressBookTestTest.php
<|file_sep|>current/src/Zimbra/Mail/Tests/Struct/AddressBookTestTest.php
<|file_sep|>updated/src/Zimbra/Mail/Tests/Struct/AddressBookTestTest.php | <?php
namespace Zimbra\Mail\Tests\Struct;
use Zimbra\Mail\Tests\ZimbraMailTestCase;
use Zimbra\Mail\Struct\AddressBookTest;
/**
* Testcase class for AddressBookTest.
*/
class AddressBookTestTest extends ZimbraMailTestCase
{
public function testAddressBookTest()
{
$index = mt_rand(1, 100);
$... | <|file_sep|>original/src/Zimbra/Mail/Tests/Struct/AddressBookTestTest.php
<|file_sep|>current/src/Zimbra/Mail/Tests/Struct/AddressBookTestTest.php
<|file_sep|>updated/src/Zimbra/Mail/Tests/Struct/AddressBookTestTest.php
<?php
namespace Zimbra\Mail\Tests\Struct;
use Zimbra\Mail\Tests\ZimbraMailTestCase;
use Zimbra\M... | 3b2b46e25e82c8c990b667a325565e6970fe1583 | src/Zimbra/Mail/Tests/Struct/AddressBookTestTest.php | src/Zimbra/Mail/Tests/Struct/AddressBookTestTest.php | PHP |
<|file_sep|>original/src/Controllers/Controller.php
<?php
namespace Mschlueter\Backend\Controllers;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Foundation\Validation\ValidatesRequests;
class Controller extends \Illuminate\Routing\Controller
{... | <?php
namespace Mschlueter\Backend\Controllers;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Foundation\Validation\ValidatesRequests;
class Controller extends \Illuminate\Routing\Controller
{
use AuthorizesRequests, DispatchesJobs, Validat... | <|file_sep|>original/src/Controllers/Controller.php
<?php
namespace Mschlueter\Backend\Controllers;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Foundation\Validation\ValidatesRequests;
class Controller extends \Illuminate\Routing\Controller
{... | 33504168e159c7bab81f8fe200a0d120d7219083 | src/Controllers/Controller.php | src/Controllers/Controller.php | PHP |
<|file_sep|>adhocracy4/categories/forms.py.diff
original:
from django import forms
updated:
<|file_sep|>adhocracy4/categories/forms.py.diff
original:
queryset = category_models.Category.objects.filter(module=module)
self.fields[self.category_field_name] = forms.ModelChoiceField(
queryset=q... |
class CategorizableFieldMixin:
category_field_name = 'category'
def __init__(self, *args, **kwargs):
module = kwargs.pop('module')
super().__init__(*args, **kwargs)
field = self.fields[self.category_field_name]
field.queryset = category_models.Category.objects.filter(module=m... | <|file_sep|>adhocracy4/categories/forms.py.diff
original:
from django import forms
updated:
<|file_sep|>adhocracy4/categories/forms.py.diff
original:
queryset = category_models.Category.objects.filter(module=module)
self.fields[self.category_field_name] = forms.ModelChoiceField(
queryset=q... | 8bbdadc61611512dbd1bfbff2495ff0dee101054 | adhocracy4/categories/forms.py | adhocracy4/categories/forms.py | Python |
<|file_sep|>source/guides/templates/writing-helpers.md.diff
original:
Handlebars.registerHelper('highlight', function(property, options) {
var value = Ember.Handlebars.getPath(this, property, options);
updated:
Ember.Handlebars.registerBoundHelper('highlight', function(value, options) {
<|file_sep|>original/source/gu... | ```handlebars
{{highlight name}}
```
and it will output the following:
```html
<span class="highlight">Peter</span>
```
If the `name` property on the current context changes, Ember.js will
automatically execute the helper again and update the DOM with the new
value.
### Dependencies
Imagine you want to render the ... | <|file_sep|>source/guides/templates/writing-helpers.md.diff
original:
Handlebars.registerHelper('highlight', function(property, options) {
var value = Ember.Handlebars.getPath(this, property, options);
updated:
Ember.Handlebars.registerBoundHelper('highlight', function(value, options) {
<|file_sep|>original/source/gu... | 0576eb114fc97d615d795ed4cbd08e33a6ed09c7 | source/guides/templates/writing-helpers.md | source/guides/templates/writing-helpers.md | Markdown |
<|file_sep|>catalog/Security/rails_authorization.yml.diff
original:
name: Authorization
updated:
name: User Authorization
<|file_sep|>original/catalog/Security/rails_authorization.yml
name: Authorization
description:
projects:
- 10to1/roleify
- access-granted
- acl9
- action_policy
- aegis
- allowy
- auth... | name: User Authorization
description:
Narrow down the visibility and accessibility of operations for users
based on roles and similar access control patterns
projects:
- 10to1/roleify
- access-granted
- acl9
- action_policy
- aegis
- allowy
- authority
- baldwindavid/padlock_authorization
- canabl... | <|file_sep|>catalog/Security/rails_authorization.yml.diff
original:
name: Authorization
updated:
name: User Authorization
<|file_sep|>original/catalog/Security/rails_authorization.yml
name: Authorization
description:
projects:
- 10to1/roleify
- access-granted
- acl9
- action_policy
- aegis
- allowy
- auth... | 2d6e82f34a0136ba8366d7c1e8bac935625d8428 | catalog/Security/rails_authorization.yml | catalog/Security/rails_authorization.yml | YAML |
<|file_sep|>original/README.md
# Jupyter Notebooks on One Codex
[](https://quay.io/repository/refgenomics/docker-onecodex-notebook)
This repository includes a base Docker image capable of run... | # Jupyter Notebooks on One Codex
[](https://quay.io/repository/refgenomics/docker-onecodex-notebook)
This repository includes a base Docker image capable of running Jupyter notebooks embedded... | <|file_sep|>original/README.md
# Jupyter Notebooks on One Codex
[](https://quay.io/repository/refgenomics/docker-onecodex-notebook)
This repository includes a base Docker image capable of run... | 2b1adfcf3fb62b753590e3b4b172fa2f56f1d466 | README.md | README.md | Markdown |
<|file_sep|>original/test/flow.js
it('extracts ES module ependencies', (done) => {
madge(dir + '/es/calc.js').then((res) => {
res.obj().should.eql({
'math.js': [],
'calc.js': ['math.js']
});
done();
}).catch(done);
});
it('extracts CommonsJS module dependencies', (done) => {
madge(dir + '/cjs... | 'calc.js': ['math.js']
});
done();
}).catch(done);
});
it('extracts CommonsJS module dependencies', (done) => {
madge(dir + '/cjs/calc.js').then((res) => {
res.obj().should.eql({
'geometry.js': [],
'calc.js': ['geometry.js']
});
done();
}).catch(done);
});
it('extracts CommonsJS m... | <|file_sep|>original/test/flow.js
it('extracts ES module ependencies', (done) => {
madge(dir + '/es/calc.js').then((res) => {
res.obj().should.eql({
'math.js': [],
'calc.js': ['math.js']
});
done();
}).catch(done);
});
it('extracts CommonsJS module dependencies', (done) => {
madge(dir + '/cjs... | 139cf282071cb80cdbff04fa9b1c5d8884465235 | test/flow.js | test/flow.js | JavaScript |
<|file_sep|>original/scripts/ci.sh
#!/usr/bin/env bash
set -o errexit
if [ "$TEST" = "integration" ]; then
npm test
elif [ "$TEST" = "colony" ]; then
npm install -g yarn
git clone https://github.com/JoinColony/colonyNetwork.git
cd colonyNetwork || exit
yarn
yarn remove -W eth-gas-reporter --dev
yarn ... | #!/usr/bin/env bash
set -o errexit
if [ "$TEST" = "integration" ]; then
npm test
elif [ "$TEST" = "colony" ]; then
npm install -g yarn
git clone https://github.com/JoinColony/colonyNetwork.git
cd colonyNetwork || exit
yarn
yarn remove -W eth-gas-reporter --dev
yarn add -W https://github.com/cgewecke/... | <|file_sep|>original/scripts/ci.sh
#!/usr/bin/env bash
set -o errexit
if [ "$TEST" = "integration" ]; then
npm test
elif [ "$TEST" = "colony" ]; then
npm install -g yarn
git clone https://github.com/JoinColony/colonyNetwork.git
cd colonyNetwork || exit
yarn
yarn remove -W eth-gas-reporter --dev
yarn ... | feb4f8ed04ae11daacaee4c7e8246fd6a02716ed | scripts/ci.sh | scripts/ci.sh | Shell |
<|file_sep|>original/week0/README.md
Linux is the de facto programming OS. It's Unix-based and open-source.
It's author is [Linus Torvalds](http://en.wikipedia.org/wiki/Linus_Torvalds).
Reasons for using Linux:
* free
* open-source
* unix shell
* unix tooling
The most popular linux distributions are Ubuntu, Debian, ... | Linux is the de facto programming OS. It's Unix-based and open-source.
It's author is [Linus Torvalds](http://en.wikipedia.org/wiki/Linus_Torvalds).
Reasons for using Linux:
* free
* open-source
* unix shell
* unix tooling
The most popular linux distributions are Ubuntu, Debian, Arch, Fedora and openSUSE.
We're go... | <|file_sep|>original/week0/README.md
Linux is the de facto programming OS. It's Unix-based and open-source.
It's author is [Linus Torvalds](http://en.wikipedia.org/wiki/Linus_Torvalds).
Reasons for using Linux:
* free
* open-source
* unix shell
* unix tooling
The most popular linux distributions are Ubuntu, Debian, ... | 2163c8c93eb03bba9c405f59035eeaebd26e1807 | week0/README.md | week0/README.md | Markdown |
<|file_sep|>original/sql/selectResetLinks.sql
<|file_sep|>current/sql/selectResetLinks.sql
<|file_sep|>updated/sql/selectResetLinks.sql | DROP PROCEDURE IF EXISTS selectResetLinks;
DELIMITER $$
CREATE PROCEDURE selectResetLinks(p_timeout_minutes SMALLINT UNSIGNED)
/* By making the parameter unsigned smallint, it has a max value of 65535 */
/* So effectively, the longest expiration that can be generated with this */
/* procedure is 65535 minutes, which ... | <|file_sep|>original/sql/selectResetLinks.sql
<|file_sep|>current/sql/selectResetLinks.sql
<|file_sep|>updated/sql/selectResetLinks.sql
DROP PROCEDURE IF EXISTS selectResetLinks;
DELIMITER $$
CREATE PROCEDURE selectResetLinks(p_timeout_minutes SMALLINT UNSIGNED)
/* By making the parameter unsigned smallint, it has ... | 0789f0228d5ec913b395c84a26fa90acae303a30 | sql/selectResetLinks.sql | sql/selectResetLinks.sql | SQL |
<|file_sep|>original/src/scss/index.scss
// (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP
//for hpe theme, uncomment the following import
@import '~grommet/scss/hpe/hpe.defaults';
@import '~grommet/scss/grommet-core/index';
.topology {
font-family: monospace;
}
<|file_sep|>current/src/scss/inde... | // (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP
@import '~grommet/scss/hpe/hpe.defaults';
@import '~grommet/scss/grommet-core/index';
.topology {
font-family: monospace;
} | <|file_sep|>original/src/scss/index.scss
// (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP
//for hpe theme, uncomment the following import
@import '~grommet/scss/hpe/hpe.defaults';
@import '~grommet/scss/grommet-core/index';
.topology {
font-family: monospace;
}
<|file_sep|>current/src/scss/inde... | 3275954d800e8e4a1752fcc7235f3e74527bf085 | src/scss/index.scss | src/scss/index.scss | SCSS |
<|file_sep|>original/frontend/test/controllers/artist_controller_test.rb
require 'test_helper'
class ArtistControllerTest < ActionController::TestCase
test "list of artists" do
get "index"
assert_response 200
assert_select %Q[a:contains("Steve Argyle")]
assert_select %Q[li:contains("Steve Argyle\n(99... | require 'test_helper'
class ArtistControllerTest < ActionController::TestCase
test "list of artists" do
get "index"
assert_response 200
assert_select %Q[a:contains("Yang Hong")]
assert_select %Q[li:contains("Yang Hong\n(8 cards)")]
assert_equal "Artists - mtg.wtf", html_document.title
end
te... | <|file_sep|>original/frontend/test/controllers/artist_controller_test.rb
require 'test_helper'
class ArtistControllerTest < ActionController::TestCase
test "list of artists" do
get "index"
assert_response 200
assert_select %Q[a:contains("Steve Argyle")]
assert_select %Q[li:contains("Steve Argyle\n(99... | 0efd66aa58d45d63fd8a0f690a2848091a6527ff | frontend/test/controllers/artist_controller_test.rb | frontend/test/controllers/artist_controller_test.rb | Ruby |
<|file_sep|>original/wididitserver/templates/full/wididitserver/render_entry_full.html
{% load i18n %}
{{ entry }}
<h1>{{ entry.title }}</h1>
<img src="{% gravatar_for_user entry.author.user %}" alt="gravatar" />
<a href="{% url wididit:web:people entry.author %}" class="people author">{{ entry.author }}</a>
<p class=... | {% load i18n %}
{% load gravatar %}
{{ entry }}
<h1>{{ entry.title }}</h1>
<img src="{% gravatar_for_user entry.author.user %}" alt="gravatar" />
<a href="{% url wididit:web:people entry.author %}" class="people author">{{ entry.author }}</a>
<p class="subtitle">{{ entry.subtitle }}</p>
<p class="summary">{{ entry.sum... | <|file_sep|>original/wididitserver/templates/full/wididitserver/render_entry_full.html
{% load i18n %}
{{ entry }}
<h1>{{ entry.title }}</h1>
<img src="{% gravatar_for_user entry.author.user %}" alt="gravatar" />
<a href="{% url wididit:web:people entry.author %}" class="people author">{{ entry.author }}</a>
<p class=... | f95585b4dbde6c609c974d73a4dfe6625fed749d | wididitserver/templates/full/wididitserver/render_entry_full.html | wididitserver/templates/full/wididitserver/render_entry_full.html | HTML |
<|file_sep|>original/requirements-dev.txt
# Runtime requirements
--requirement requirements.txt
# Postgresql database access
psycopg2==2.7.5
# Documentation
Sphinx==1.7.8
# Testing
pytest==3.6.0
pytest-cov==2.5.1
coveralls==1.3.0
# Linting
flake8==3.5.0
mccabe==0.6.1
pep8==1.7.1
pyflakes==2.0.0
<|file_sep|>current/... | # Runtime requirements
--requirement requirements.txt
# Postgresql database access
psycopg2==2.7.5
# Documentation
Sphinx==1.7.8
# Testing
pytest==3.7.4
pytest-cov==2.5.1
coveralls==1.3.0
# Linting
flake8==3.5.0
mccabe==0.6.1
pep8==1.7.1
pyflakes==2.0.0 | <|file_sep|>original/requirements-dev.txt
# Runtime requirements
--requirement requirements.txt
# Postgresql database access
psycopg2==2.7.5
# Documentation
Sphinx==1.7.8
# Testing
pytest==3.6.0
pytest-cov==2.5.1
coveralls==1.3.0
# Linting
flake8==3.5.0
mccabe==0.6.1
pep8==1.7.1
pyflakes==2.0.0
<|file_sep|>current/... | 884efa51c9c249c9e39aab18b298386584b11eb4 | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>yadda-analysis-api/src/main/java/pl/edu/icm/yadda/analysis/classification/features/FeatureVectorBuilder.java.diff
original:
* @param <S> Type of objects for whom features' values can be calculated.
* @param <T> Type of additional context objects that can be used
updated:
* @param <X> Type of objects for ... | * @param featureCalculators A collection of feature calculators.
*/
void setFeatureCalculators(Collection<FeatureCalculator<X, Y>> featureCalculators);
/**
* Returns calculated feature vector.
*
* @param object An object, whose feature vector is to be calculated.
* @param context ... | <|file_sep|>yadda-analysis-api/src/main/java/pl/edu/icm/yadda/analysis/classification/features/FeatureVectorBuilder.java.diff
original:
* @param <S> Type of objects for whom features' values can be calculated.
* @param <T> Type of additional context objects that can be used
updated:
* @param <X> Type of objects for ... | 9a594437624c21699d81f9dab9e800c211595114 | yadda-analysis-api/src/main/java/pl/edu/icm/yadda/analysis/classification/features/FeatureVectorBuilder.java | yadda-analysis-api/src/main/java/pl/edu/icm/yadda/analysis/classification/features/FeatureVectorBuilder.java | Java |
<|file_sep|>javascript_settings/templatetags/javascript_settings_tags.py.diff
original:
updated:
import json
<|file_sep|>javascript_settings/templatetags/javascript_settings_tags.py.diff
original:
from django.utils import simplejson
updated:
<|file_sep|>original/javascript_settings/templatetags/javascript_settings_t... | def do_javascript_settings(parser, token):
"""
Returns a node with generated configuration.
"""
return JavascriptConfigurationNode()
class JavascriptConfigurationNode(template.Node):
"""
Represents a node that renders JavaScript configuration.
"""
def __init__(self):
pa... | <|file_sep|>javascript_settings/templatetags/javascript_settings_tags.py.diff
original:
updated:
import json
<|file_sep|>javascript_settings/templatetags/javascript_settings_tags.py.diff
original:
from django.utils import simplejson
updated:
<|file_sep|>original/javascript_settings/templatetags/javascript_settings_t... | 8e58d7cccb837254cc433c7533bff119cc19645d | javascript_settings/templatetags/javascript_settings_tags.py | javascript_settings/templatetags/javascript_settings_tags.py | Python |
<|file_sep|>app/views/users/_user_form.html.erb.diff
original:
</div>
updated:
git </div>
<|file_sep|>original/app/views/users/_user_form.html.erb
<div class="mu-user-header">
<h1><%= @user.name %></h1>
<%= edit_profile_button %>
</div>
<div class="row mu-tab-body">
<div class="col-md-4 text-center">
<%= i... | <div class="mu-user-header">
<h1><%= @user.name %></h1>
<%= edit_profile_button %>
</div>
<div class="row mu-tab-body">
<div class="col-md-4 text-center">
<%= image_tag @user.profile_picture, class: 'mu-user-avatar', id: 'mu-user-avatar' %>
git </div>
</div>
<%= content_for :no_container do %>
<%= rende... | <|file_sep|>app/views/users/_user_form.html.erb.diff
original:
</div>
updated:
git </div>
<|file_sep|>original/app/views/users/_user_form.html.erb
<div class="mu-user-header">
<h1><%= @user.name %></h1>
<%= edit_profile_button %>
</div>
<div class="row mu-tab-body">
<div class="col-md-4 text-center">
<%= i... | e492cceeaafa7bfefaf9f052b10682d6614eeb2d | app/views/users/_user_form.html.erb | app/views/users/_user_form.html.erb | HTML+ERB |
<|file_sep|>original/_api/api-prelevements-sociaux.md
---
title: API Prélèvements sociaux
tagline: Estimer le coût d'embauche en France
doc_tech: https://embauche.beta.gouv.fr/api-prelevements-sociaux.html
domain: https://embauche.beta.gouv.fr
contact: contact@embauche.beta.gouv.fr
contract: OUVERT
experimental: true
c... | ---
title: API Prélèvements sociaux
tagline: Estimer le coût d'embauche en France
doc_tech: https://github.com/sgmap/cout-embauche/wiki/Documentation-de-l'API-pr%C3%A9l%C3%A8vements-sociaux
domain: https://embauche.beta.gouv.fr
contact: contact@embauche.beta.gouv.fr
contract: OUVERT
experimental: true
clients:
- Entr... | <|file_sep|>original/_api/api-prelevements-sociaux.md
---
title: API Prélèvements sociaux
tagline: Estimer le coût d'embauche en France
doc_tech: https://embauche.beta.gouv.fr/api-prelevements-sociaux.html
domain: https://embauche.beta.gouv.fr
contact: contact@embauche.beta.gouv.fr
contract: OUVERT
experimental: true
c... | 997f0e372637a5fad0886b81f4250e0f1e001834 | _api/api-prelevements-sociaux.md | _api/api-prelevements-sociaux.md | Markdown |
<|file_sep|>app/utilities/Simulator.js.diff
original:
updated:
const EXPORT_FILES = 'export_files';
const exportedDir = path.join(__dirname, '../', EXPORT_FILES);
<|file_sep|>app/utilities/Simulator.js.diff
original:
//Deserialize project info from projInfo file, contains path to index.html and presence of webpack a... |
const EXPORT_FILES = 'export_files';
const exportedDir = path.join(__dirname, '../', EXPORT_FILES);
const simulator = root => {
const WIDTH = 800;
const HEIGHT = 600;
let child = spawn(
'npm',
['start'],
{
cwd: exportedDir,
stdio: 'inherit',
env: process.env
}
)
setTimeout(... | <|file_sep|>app/utilities/Simulator.js.diff
original:
updated:
const EXPORT_FILES = 'export_files';
const exportedDir = path.join(__dirname, '../', EXPORT_FILES);
<|file_sep|>app/utilities/Simulator.js.diff
original:
//Deserialize project info from projInfo file, contains path to index.html and presence of webpack a... | ce489cb26125b16c52176b457dd9607f43c24a46 | app/utilities/Simulator.js | app/utilities/Simulator.js | JavaScript |
<|file_sep|>planetstack/openstack_observer/backend.py.diff
original:
try:
updated:
<|file_sep|>original/planetstack/openstack_observer/backend.py
from observer.event_loop import PlanetStackObserver
from observer.event_manager import EventListener
from util.logger import Logger, logging
logger = Logger(level=l... | import threading
import time
from observer.event_loop import PlanetStackObserver
from observer.event_manager import EventListener
from util.logger import Logger, logging
logger = Logger(level=logging.INFO)
class Backend:
def run(self):
# start the openstack observer
observer = PlanetS... | <|file_sep|>planetstack/openstack_observer/backend.py.diff
original:
try:
updated:
<|file_sep|>original/planetstack/openstack_observer/backend.py
from observer.event_loop import PlanetStackObserver
from observer.event_manager import EventListener
from util.logger import Logger, logging
logger = Logger(level=l... | a6a95afca2964756a7777ea43839da1709187a27 | planetstack/openstack_observer/backend.py | planetstack/openstack_observer/backend.py | Python |
<|file_sep|>original/package.json
{
"name": "chai-angular",
"version": "1.0.0",
"description": "Easier testing of Angular app with Chai.",
"main": "chai-angular.js",
"scripts": {
"test": "./node_modules/mocha/bin/mocha"
},
"repository": {
"type": "git",
"url": "https://github.com/peferron/chai... | {
"name": "chai-angular",
"version": "1.0.0",
"description": "Easier testing of Angular app with Chai.",
"main": "chai-angular.js",
"scripts": {
"test": "./node_modules/mocha/bin/mocha",
"cover": "./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha -- -R spec && open ./coverage/lc... | <|file_sep|>original/package.json
{
"name": "chai-angular",
"version": "1.0.0",
"description": "Easier testing of Angular app with Chai.",
"main": "chai-angular.js",
"scripts": {
"test": "./node_modules/mocha/bin/mocha"
},
"repository": {
"type": "git",
"url": "https://github.com/peferron/chai... | 34853665c1bb233469ae8f6b895a64db4a2fcc2d | package.json | package.json | JSON |
<|file_sep|>src/app/models/workout.ts.diff
original:
constructor(
updated:
constructor(sport = new Sport(), address = new Address(), startdate = new Date(), enddate = new Date(), tags = new Array(), photo = new Image()
<|file_sep|>original/src/app/models/workout.ts
public price: number;
public address: ... | public outfit: string;
public notice: string;
public tags: Tag[];
public styleTop: string;
public styleHeight: string;
constructor(sport = new Sport(), address = new Address(), startdate = new Date(), enddate = new Date(), tags = new Array(), photo = new Image()
) {
this.sport = spo... | <|file_sep|>src/app/models/workout.ts.diff
original:
constructor(
updated:
constructor(sport = new Sport(), address = new Address(), startdate = new Date(), enddate = new Date(), tags = new Array(), photo = new Image()
<|file_sep|>original/src/app/models/workout.ts
public price: number;
public address: ... | 54d76b8531e70c16f54791c37930a610e6540a7d | src/app/models/workout.ts | src/app/models/workout.ts | TypeScript |
<|file_sep|>original/public/locales/azz/send.ftl
# Firefox Send is a brand name and should not be localized.
title = Firefox Send
siteFeedback = Nikan uelis tikijkuilos tein tiknemilijtos
importingFile = Mokalakijtok...
encryptingFile = Motatijtok...
decryptingFile = Kichiujtok se uelis kiixtajtoltis ya...
downloadCoun... | siteFeedback = Nikan uelis tikijkuilos tein tiknemilijtos
importingFile = Mokalakijtok...
encryptingFile = Motatijtok...
decryptingFile = Kichiujtok se uelis kiixtajtoltis ya...
downloadCount =
{ $num ->
*[undefined] kitemouijtok
}
timespanHours =
{ $num ->
*[undefined] hora
}
copiedUrl = ... | <|file_sep|>original/public/locales/azz/send.ftl
# Firefox Send is a brand name and should not be localized.
title = Firefox Send
siteFeedback = Nikan uelis tikijkuilos tein tiknemilijtos
importingFile = Mokalakijtok...
encryptingFile = Motatijtok...
decryptingFile = Kichiujtok se uelis kiixtajtoltis ya...
downloadCoun... | 59fb485ba6c75411f86981fda0477e4c9c4d6979 | public/locales/azz/send.ftl | public/locales/azz/send.ftl | FreeMarker |
<|file_sep|>original/README.md
### Install
When all requirements are met, then installation process is simple
> python setup.py install
You can also use pip. All requirements besides toolkits (OpenBabel, RDKit) are installed if necessary.
Installing inside virtualenv is encouraged, but not necessary.
> pip install od... |
### Install
When all requirements are met, then installation process is simple
> python setup.py install
You can also use pip. All requirements besides toolkits (OpenBabel, RDKit) are installed if necessary.
Installing inside virtualenv is encouraged, but not necessary.
> pip install oddt
### Documentation
Automatic... | <|file_sep|>original/README.md
### Install
When all requirements are met, then installation process is simple
> python setup.py install
You can also use pip. All requirements besides toolkits (OpenBabel, RDKit) are installed if necessary.
Installing inside virtualenv is encouraged, but not necessary.
> pip install od... | 4642f29759a5c6eb735ec977651542a22954d576 | README.md | README.md | Markdown |
<|file_sep|>css/outer/docs/categories.less.diff
original:
li {
updated:
a {
display: block;
<|file_sep|>original/css/outer/docs/categories.less
// Categories view
#content > .categories {
padding-top: 0;
}
.categories {
li {
background: @link;
border: 2px solid @linkHover;
list-style: none;
}... | // Categories view
#content > .categories {
padding-top: 0;
}
.categories {
a {
display: block;
background: @link;
border: 2px solid @linkHover;
margin-bottom: 15px;
}
li {
list-style: none;
}
} | <|file_sep|>css/outer/docs/categories.less.diff
original:
li {
updated:
a {
display: block;
<|file_sep|>original/css/outer/docs/categories.less
// Categories view
#content > .categories {
padding-top: 0;
}
.categories {
li {
background: @link;
border: 2px solid @linkHover;
list-style: none;
}... | 4b1567d4f1a5bb72d6a7bb5d53b34ea26ad1a1b4 | css/outer/docs/categories.less | css/outer/docs/categories.less | Less |
<|file_sep|>original/lib/moneybird/resource/contact.rb
send_invoices_to_attention
send_invoices_to_email
send_method
sepa_active
sepa_bic
sepa_iban
sepa_iban_account_name
sepa_mandate_date
sepa_mandate_id
sepa_sequence_type
tax_number
tax_number_va... | send_invoices_to_attention
send_invoices_to_email
send_method
sepa_active
sepa_bic
sepa_iban
sepa_iban_account_name
sepa_mandate_date
sepa_mandate_id
sepa_sequence_type
si_identifier
si_identifier_type
tax_number
tax_number_valid
... | <|file_sep|>original/lib/moneybird/resource/contact.rb
send_invoices_to_attention
send_invoices_to_email
send_method
sepa_active
sepa_bic
sepa_iban
sepa_iban_account_name
sepa_mandate_date
sepa_mandate_id
sepa_sequence_type
tax_number
tax_number_va... | 4f2e902884b37e950685262ce187104e47dd0d96 | lib/moneybird/resource/contact.rb | lib/moneybird/resource/contact.rb | Ruby |
<|file_sep|>original/web/views/page_view.ex
defmodule MarcCx.PageView do
use MarcCx.Web, :view
end
<|file_sep|>current/web/views/page_view.ex
defmodule MarcCx.PageView do
use MarcCx.Web, :view
end
<|file_sep|>updated/web/views/page_view.ex | defmodule MarcCx.PageView do
use MarcCx.Web, :view
use Timex
alias MarcCx.Article
def format_date(%Article{:timestamp => timestamp}) do
{:ok, date} = DateFormat.parse("#{timestamp}", "{s-epoch}")
[month, day, year] =
date
|> DateFormat.format!("%B %d %Y", :strftime)
|> String.split("... | <|file_sep|>original/web/views/page_view.ex
defmodule MarcCx.PageView do
use MarcCx.Web, :view
end
<|file_sep|>current/web/views/page_view.ex
defmodule MarcCx.PageView do
use MarcCx.Web, :view
end
<|file_sep|>updated/web/views/page_view.ex
defmodule MarcCx.PageView do
use MarcCx.Web, :view
use Timex
alias Mar... | 2d233a095cad9099c5f8e22fd22234811956cfbc | web/views/page_view.ex | web/views/page_view.ex | Elixir |
<|file_sep|>original/src/main/java/info/u_team/u_team_core/gui/render/FluidInventoryRenderer.java
<|file_sep|>current/src/main/java/info/u_team/u_team_core/gui/render/FluidInventoryRenderer.java
<|file_sep|>updated/src/main/java/info/u_team/u_team_core/gui/render/FluidInventoryRenderer.java | package info.u_team.u_team_core.gui.render;
import com.mojang.blaze3d.matrix.MatrixStack;
import com.mojang.blaze3d.systems.RenderSystem;
import info.u_team.u_team_core.util.RGBA;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.AbstractGui;
import net.minecraft.client.renderer.texture.TextureAt... | <|file_sep|>original/src/main/java/info/u_team/u_team_core/gui/render/FluidInventoryRenderer.java
<|file_sep|>current/src/main/java/info/u_team/u_team_core/gui/render/FluidInventoryRenderer.java
<|file_sep|>updated/src/main/java/info/u_team/u_team_core/gui/render/FluidInventoryRenderer.java
package info.u_team.u_team... | 39850afa960bf53082de70ac711e1b715e327471 | src/main/java/info/u_team/u_team_core/gui/render/FluidInventoryRenderer.java | src/main/java/info/u_team/u_team_core/gui/render/FluidInventoryRenderer.java | Java |
<|file_sep|>original/src/aui-datatable/js/aui-datatable-core.js
A.DataTable.NAME = 'table';
A.DataTable.CSS_PREFIX = 'aui-table';
console.log('core');
<|file_sep|>current/src/aui-datatable/js/aui-datatable-core.js
A.DataTable.NAME = 'table';
A.DataTable.CSS_PREFIX = 'aui-table';
console.log('core');
<|file_sep|>updated... | A.DataTable.NAME = 'table';
A.DataTable.CSS_PREFIX = 'aui-table'; | <|file_sep|>original/src/aui-datatable/js/aui-datatable-core.js
A.DataTable.NAME = 'table';
A.DataTable.CSS_PREFIX = 'aui-table';
console.log('core');
<|file_sep|>current/src/aui-datatable/js/aui-datatable-core.js
A.DataTable.NAME = 'table';
A.DataTable.CSS_PREFIX = 'aui-table';
console.log('core');
<|file_sep|>updated... | d906eb5a3f5b2e4adfe8338d011dd4290b735c0a | src/aui-datatable/js/aui-datatable-core.js | src/aui-datatable/js/aui-datatable-core.js | JavaScript |
<|file_sep|>presentation/tests.py.diff
original:
from django.contrib.auth.models import AnonymousUser
updated:
<|file_sep|>presentation/tests.py.diff
original:
updated:
from django.test import Client
<|file_sep|>presentation/tests.py.diff
original:
from django.test import RequestFactory
updated:
<|file_sep|>presenta... | author=self.test_user,
markdown="#Abcdefghijklmno",
html="<h1>Abcdefghijklmno</h1>")
for _ in range(0, 20):
self.presentation.save()
def test_get_presentation_list_page(sel... | <|file_sep|>presentation/tests.py.diff
original:
from django.contrib.auth.models import AnonymousUser
updated:
<|file_sep|>presentation/tests.py.diff
original:
updated:
from django.test import Client
<|file_sep|>presentation/tests.py.diff
original:
from django.test import RequestFactory
updated:
<|file_sep|>presenta... | 44d8692b6739856170ba5d5b9712a2afe170f4df | presentation/tests.py | presentation/tests.py | Python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.