prompt
stringlengths
77
6.9k
completion
stringlengths
1
3.38k
text
stringlengths
163
9.03k
commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
lang
stringclasses
277 values
<|file_sep|>original/CONTRIBUTING.rst D-Wave welcomes contributions to Ocean projects. See how to contribute at `Ocean Contributors <https://github.com/dwavesystems/docs/blob/master/contributing.rst>`_. <|file_sep|>current/CONTRIBUTING.rst D-Wave welcomes contributions to Ocean projects. See how to contribute at `Oce...
D-Wave welcomes contributions to Ocean projects. See how to contribute at `Ocean Contributors <http://dw-docs.readthedocs.io/en/latest/CONTRIBUTING.html>`_.
<|file_sep|>original/CONTRIBUTING.rst D-Wave welcomes contributions to Ocean projects. See how to contribute at `Ocean Contributors <https://github.com/dwavesystems/docs/blob/master/contributing.rst>`_. <|file_sep|>current/CONTRIBUTING.rst D-Wave welcomes contributions to Ocean projects. See how to contribute at `Oce...
a2900571e7272fad812106fb7430dd6f4b1b19bc
CONTRIBUTING.rst
CONTRIBUTING.rst
reStructuredText
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.0.0 - 2.1.1 script: "bundle exec rspec" <|file_sep|>current/.travis.yml language: ruby rvm: - 2.0.0 - 2.1.1 script: "bundle exec rspec" <|file_sep|>updated/.travis.yml
language: ruby rvm: - 2.1.10 - 2.2.6 - 2.3.3 script: "bundle exec rspec"
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.0.0 - 2.1.1 script: "bundle exec rspec" <|file_sep|>current/.travis.yml language: ruby rvm: - 2.0.0 - 2.1.1 script: "bundle exec rspec" <|file_sep|>updated/.travis.yml language: ruby rvm: - 2.1.10 - 2.2.6 - 2.3.3 script: "bundle exec rspec"
e915f1a627c788aaa001790d96045eb648f61eb3
.travis.yml
.travis.yml
YAML
<|file_sep|>src/LfMerge/LanguageForge/Model/LfAuthorInfo.cs.diff original: updated: using MongoDB.Bson; <|file_sep|>src/LfMerge/LanguageForge/Model/LfAuthorInfo.cs.diff original: public string CreatedByUserRef { get; set; } updated: public ObjectId? CreatedByUserRef { get; set; } <|file_sep|>original/src/LfMerge/L...
// Copyright (c) 2015 SIL International // This software is licensed under the MIT license (http://opensource.org/licenses/MIT) using System; using MongoDB.Bson; namespace LfMerge.LanguageForge.Model { public class LfAuthorInfo : LfFieldBase { public ObjectId? CreatedByUserRef { get; set; } public DateTime Crea...
<|file_sep|>src/LfMerge/LanguageForge/Model/LfAuthorInfo.cs.diff original: updated: using MongoDB.Bson; <|file_sep|>src/LfMerge/LanguageForge/Model/LfAuthorInfo.cs.diff original: public string CreatedByUserRef { get; set; } updated: public ObjectId? CreatedByUserRef { get; set; } <|file_sep|>original/src/LfMerge/L...
1ce92e0330ea1abc9d2860e127490eaf9f10e664
src/LfMerge/LanguageForge/Model/LfAuthorInfo.cs
src/LfMerge/LanguageForge/Model/LfAuthorInfo.cs
C#
<|file_sep|>original/tests/unit/src/flixel/system/frontEnds/CameraFrontEndTest.hx <|file_sep|>current/tests/unit/src/flixel/system/frontEnds/CameraFrontEndTest.hx <|file_sep|>updated/tests/unit/src/flixel/system/frontEnds/CameraFrontEndTest.hx
package flixel.system.frontEnds; import flixel.FlxCamera; import massive.munit.Assert; class CameraFrontEndTest { @Test public function testCameraAdded() { var success = false; var newCamara = new FlxCamera(); FlxG.cameras.cameraAdded.add(function(camera) { success = camera == newCamara; }); FlxG.ca...
<|file_sep|>original/tests/unit/src/flixel/system/frontEnds/CameraFrontEndTest.hx <|file_sep|>current/tests/unit/src/flixel/system/frontEnds/CameraFrontEndTest.hx <|file_sep|>updated/tests/unit/src/flixel/system/frontEnds/CameraFrontEndTest.hx package flixel.system.frontEnds; import flixel.FlxCamera; import massive....
e319ffd260142da43443f3a32f906a76dcf0c9ac
tests/unit/src/flixel/system/frontEnds/CameraFrontEndTest.hx
tests/unit/src/flixel/system/frontEnds/CameraFrontEndTest.hx
Haxe
<|file_sep|>original/quiver/run-quiver.sh # if necessary. We also run a few other dependency checks to help those # running on unsupported systems. Note that git is *not* present by default # on DigitalOcean's Ubuntu 14.04 image: Docker's installer installs it. This # is why we check for Docker first, even thou...
# if necessary. We also run a few other dependency checks to help those # running on unsupported systems. Note that git is *not* present by default # on DigitalOcean's Ubuntu 14.04 image: Docker's installer installs it. This # is why we check for Docker first, even though it may seem cleaner to test # for lig...
<|file_sep|>original/quiver/run-quiver.sh # if necessary. We also run a few other dependency checks to help those # running on unsupported systems. Note that git is *not* present by default # on DigitalOcean's Ubuntu 14.04 image: Docker's installer installs it. This # is why we check for Docker first, even thou...
ba16862e1b5ee48571383e25f8d023eb3775caec
quiver/run-quiver.sh
quiver/run-quiver.sh
Shell
<|file_sep|>original/CHANGELOG.md ### 1.0.1 * ### 1.0.0 * Major version upgrade only ### 0.0.10 * Change test lib to buster-node + referee * Set min node engine to >= v0.10.0 * Add test-integration to CI build ### 0.0.9 * Add max concurrent workers option to gen command * Concurrently running workers are limited to ...
### 1.0.1 * Set min node engine to >= 4.0.0 ### 1.0.0 * Major version upgrade only ### 0.0.10 * Change test lib to buster-node + referee * Set min node engine to >= v0.10.0 * Add test-integration to CI build ### 0.0.9 * Add max concurrent workers option to gen command * Concurrently running workers are limited to av...
<|file_sep|>original/CHANGELOG.md ### 1.0.1 * ### 1.0.0 * Major version upgrade only ### 0.0.10 * Change test lib to buster-node + referee * Set min node engine to >= v0.10.0 * Add test-integration to CI build ### 0.0.9 * Add max concurrent workers option to gen command * Concurrently running workers are limited to ...
60061fcc37ccf9d940259a848d4951a7149988ba
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>original/resources/helm-broker/templates/cfg-repos-url.yaml apiVersion: v1 kind: ConfigMap metadata: name: helm-repos-urls namespace: {{ .Release.Namespace }} labels: app: {{ template "fullname" . }} chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" helm-broker-repo: "true" data: URLs: "ht...
apiVersion: v1 kind: ConfigMap metadata: name: helm-repos-urls namespace: {{ .Release.Namespace }} labels: app: {{ template "fullname" . }} chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" helm-broker-repo: "true" data: URLs: "https://github.com/kyma-project/bundles/releases/download/0.4.0/"
<|file_sep|>original/resources/helm-broker/templates/cfg-repos-url.yaml apiVersion: v1 kind: ConfigMap metadata: name: helm-repos-urls namespace: {{ .Release.Namespace }} labels: app: {{ template "fullname" . }} chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" helm-broker-repo: "true" data: URLs: "ht...
925771e567fa3288eccaa504c7c7a37a9f9b7257
resources/helm-broker/templates/cfg-repos-url.yaml
resources/helm-broker/templates/cfg-repos-url.yaml
YAML
<|file_sep|>original/.travis.yml # Travis CI Configuration language: python python: - "3.2" - "3.3" - "3.4" install: - pip install -r requirements.txt - pip install coveralls script: - coverage run -m nose after_success: - coveralls <|file_sep|>current/.travis.yml # Travis CI Configuration language: pyt...
# Travis CI Configuration language: python python: - "3.3" - "3.4" install: - pip install -r requirements.txt - pip install coveralls script: - coverage run -m nose after_success: - coveralls
<|file_sep|>original/.travis.yml # Travis CI Configuration language: python python: - "3.2" - "3.3" - "3.4" install: - pip install -r requirements.txt - pip install coveralls script: - coverage run -m nose after_success: - coveralls <|file_sep|>current/.travis.yml # Travis CI Configuration language: pyt...
08c3df64699e1a6221836cbee439c271690eb8bb
.travis.yml
.travis.yml
YAML
<|file_sep|>original/mezzanine/blog/management/commands/import_posterous.py <|file_sep|>current/mezzanine/blog/management/commands/import_posterous.py <|file_sep|>updated/mezzanine/blog/management/commands/import_posterous.py
from mezzanine.blog.management.base import BaseImporterCommand from optparse import make_option from urllib import urlopen, urlencode import requests import json import time from datetime import datetime import sys # import requests_cache # requests_cache.configure('demo_cache') class PosterousImportException(Exceptio...
<|file_sep|>original/mezzanine/blog/management/commands/import_posterous.py <|file_sep|>current/mezzanine/blog/management/commands/import_posterous.py <|file_sep|>updated/mezzanine/blog/management/commands/import_posterous.py from mezzanine.blog.management.base import BaseImporterCommand from optparse import make_opt...
56d9482598d14b243f7e8d1cf0e167969e8fac4e
mezzanine/blog/management/commands/import_posterous.py
mezzanine/blog/management/commands/import_posterous.py
Python
<|file_sep|>lib/bosh/gen/generators/new_release_generator.rb.diff original: argument :name updated: argument :app_path <|file_sep|>lib/bosh/gen/generators/new_release_generator.rb.diff original: updated: def create_root self.destination_root = File.expand_path(app_path, destination_root) ...
IGNORE end def setup_git git :init git :add => "." git :commit => "-m 'Initial scaffold'" end private # Run a command in git. # # ==== Examples # # git :init # git :add => "this.file that.rb" # git :ad...
<|file_sep|>lib/bosh/gen/generators/new_release_generator.rb.diff original: argument :name updated: argument :app_path <|file_sep|>lib/bosh/gen/generators/new_release_generator.rb.diff original: updated: def create_root self.destination_root = File.expand_path(app_path, destination_root) ...
5b67c9102230531143aafed1d1eaae0caf1755fc
lib/bosh/gen/generators/new_release_generator.rb
lib/bosh/gen/generators/new_release_generator.rb
Ruby
<|file_sep|>spec/spec_helper.rb.diff original: # Don't get coverage on the test cases themselves updated: # Don't get coverage on the test cases themselves. add_filter '/spec/' <|file_sep|>original/spec/spec_helper.rb end unless formatters.empty? SimpleCov.formatters = formatters end SimpleCov.start do # Do...
end unless formatters.empty? SimpleCov.formatters = formatters end SimpleCov.start do # Don't get coverage on the test cases themselves. add_filter '/spec/' add_filter '/test/' # Codecov doesn't automatically ignore vendored files. add_filter '/vendor/' end require 'halite' RSpec.configure do |config| ...
<|file_sep|>spec/spec_helper.rb.diff original: # Don't get coverage on the test cases themselves updated: # Don't get coverage on the test cases themselves. add_filter '/spec/' <|file_sep|>original/spec/spec_helper.rb end unless formatters.empty? SimpleCov.formatters = formatters end SimpleCov.start do # Do...
933cd75bb8e1dfc550b8942ac3e9be6afd8ba7d1
spec/spec_helper.rb
spec/spec_helper.rb
Ruby
<|file_sep|>opps/contrib/logging/models.py.diff original: null=True, blank=True) updated: null=True, blank=True, ) <|file_sep|>original/opps/contrib/logging/models.py user = models.ForeignKey( settings.AUTH_USER_MODEL, null=True, blank=True) application = models.CharField( ...
settings.AUTH_USER_MODEL, null=True, blank=True, ) application = models.CharField( _(u"Application"), max_length=75, null=True, blank=True, db_index=True) action = models.CharField( _(u"Action"), max_length=50, null=True, blank=True, ...
<|file_sep|>opps/contrib/logging/models.py.diff original: null=True, blank=True) updated: null=True, blank=True, ) <|file_sep|>original/opps/contrib/logging/models.py user = models.ForeignKey( settings.AUTH_USER_MODEL, null=True, blank=True) application = models.CharField( ...
80326d96a8137c1d285d3c24eda15039e03dedfe
opps/contrib/logging/models.py
opps/contrib/logging/models.py
Python
<|file_sep|>original/migrations/versions/3042d0ca43bf_index_job_project_id.py <|file_sep|>current/migrations/versions/3042d0ca43bf_index_job_project_id.py <|file_sep|>updated/migrations/versions/3042d0ca43bf_index_job_project_id.py
"""Index Job(project_id, status, date_created) where patch_id IS NULL Revision ID: 3042d0ca43bf Revises: 3a3366fb7822 Create Date: 2014-01-03 15:24:39.947813 """ # revision identifiers, used by Alembic. revision = '3042d0ca43bf' down_revision = '3a3366fb7822' from alembic import op def upgrade(): op.execute('...
<|file_sep|>original/migrations/versions/3042d0ca43bf_index_job_project_id.py <|file_sep|>current/migrations/versions/3042d0ca43bf_index_job_project_id.py <|file_sep|>updated/migrations/versions/3042d0ca43bf_index_job_project_id.py """Index Job(project_id, status, date_created) where patch_id IS NULL Revision ID: 30...
989a94c81f74a17707e66f126960b6bb45e9b4d5
migrations/versions/3042d0ca43bf_index_job_project_id.py
migrations/versions/3042d0ca43bf_index_job_project_id.py
Python
<|file_sep|>original/openstack/net-virt/src/test/java/org/opendaylight/ovsdb/openstack/netvirt/NodeConfigurationTest.java <|file_sep|>current/openstack/net-virt/src/test/java/org/opendaylight/ovsdb/openstack/netvirt/NodeConfigurationTest.java <|file_sep|>updated/openstack/net-virt/src/test/java/org/opendaylight/ovsdb...
/* * Copyright (c) 2015 Inocybe and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org.opendayligh...
<|file_sep|>original/openstack/net-virt/src/test/java/org/opendaylight/ovsdb/openstack/netvirt/NodeConfigurationTest.java <|file_sep|>current/openstack/net-virt/src/test/java/org/opendaylight/ovsdb/openstack/netvirt/NodeConfigurationTest.java <|file_sep|>updated/openstack/net-virt/src/test/java/org/opendaylight/ovsdb...
2ef3684233fe8f9c901d1e9500746ba6df744b58
openstack/net-virt/src/test/java/org/opendaylight/ovsdb/openstack/netvirt/NodeConfigurationTest.java
openstack/net-virt/src/test/java/org/opendaylight/ovsdb/openstack/netvirt/NodeConfigurationTest.java
Java
<|file_sep|>original/lib/travis/sidekiq/build_request.rb require 'sidekiq/worker' require 'multi_json' module Travis module Sidekiq class BuildRequest class ProcessingError < StandardError; end include ::Sidekiq::Worker # sidekiq_options queue: :build_requests attr_accessor :payload ...
require 'sidekiq/worker' require 'multi_json' module Travis module Sidekiq class BuildRequest class ProcessingError < StandardError; end include ::Sidekiq::Worker sidekiq_options queue: :build_requests attr_accessor :payload def perform(payload) @payload = payload ...
<|file_sep|>original/lib/travis/sidekiq/build_request.rb require 'sidekiq/worker' require 'multi_json' module Travis module Sidekiq class BuildRequest class ProcessingError < StandardError; end include ::Sidekiq::Worker # sidekiq_options queue: :build_requests attr_accessor :payload ...
8e1fb16b29b0287e38ccc84146ed5ae499ca6643
lib/travis/sidekiq/build_request.rb
lib/travis/sidekiq/build_request.rb
Ruby
<|file_sep|>README.md.diff original: Basic usage: (only support on windows platform now, until I get a mac/linux environment :) ) updated: Basic usage: (support on windows and mac platform now. ) Windows platform <|file_sep|>original/README.md Trilateration The purposes of this project are, 1. Experiment c...
1. Experiment cross platform development, using CMake and Ant. Basic usage: (support on windows and mac platform now. ) Windows platform * Preparation projects: .\antwin.bat prep * Build projects: .\antwin.bat build * Delete builds: .\antwin.bat delete_build Mac platform * Preparation projec...
<|file_sep|>README.md.diff original: Basic usage: (only support on windows platform now, until I get a mac/linux environment :) ) updated: Basic usage: (support on windows and mac platform now. ) Windows platform <|file_sep|>original/README.md Trilateration The purposes of this project are, 1. Experiment c...
9a1238a8842a74ee8600008ceb6dce8f0df3883c
README.md
README.md
Markdown
<|file_sep|>README.md.diff original: updated: Master: <|file_sep|>original/README.md POC: JSON is more efficient than XML in Web API resource representation ======================================================================= ## Build Status [![Build Status](https://travis-ci.org/muhammadghazali/ghanoz-json.png?...
POC: JSON is more efficient than XML in Web API resource representation ======================================================================= ## Build Status Master: [![Build Status](https://travis-ci.org/muhammadghazali/ghanoz-json.png?branch=master)](https://travis-ci.org/muhammadghazali/ghanoz-json) Developmen...
<|file_sep|>README.md.diff original: updated: Master: <|file_sep|>original/README.md POC: JSON is more efficient than XML in Web API resource representation ======================================================================= ## Build Status [![Build Status](https://travis-ci.org/muhammadghazali/ghanoz-json.png?...
670dcc347e642ca12815de10f7f2daf766bf90ec
README.md
README.md
Markdown
<|file_sep|>Cargo.toml.diff original: version = "0.4.2" updated: version = "0.5.0" <|file_sep|>original/Cargo.toml [package] name = "special" version = "0.4.2" authors = [ "Ivan Ukhov <ivan.ukhov@gmail.com>", "Rúnar Berg Baugsson Sigríðarson <runarberg@zoho.com>", ] license = "MIT" repository = "https://github.com/...
[package] name = "special" version = "0.5.0" authors = [ "Abhishek Chanda <abhishek.becs@gmail.com>", "Ivan Ukhov <ivan.ukhov@gmail.com>", "Rúnar Berg Baugsson Sigríðarson <runarberg@zoho.com>", ] license = "MIT" repository = "https://github.com/stainless-steel/special" homepage = "https://github.com/stainless-st...
<|file_sep|>Cargo.toml.diff original: version = "0.4.2" updated: version = "0.5.0" <|file_sep|>original/Cargo.toml [package] name = "special" version = "0.4.2" authors = [ "Ivan Ukhov <ivan.ukhov@gmail.com>", "Rúnar Berg Baugsson Sigríðarson <runarberg@zoho.com>", ] license = "MIT" repository = "https://github.com/...
d7b0662922e7dd50183e0b661446d70616eb8290
Cargo.toml
Cargo.toml
TOML
<|file_sep|>src/edu/asu/scrapbook/digital/util/UserUtil.java.diff original: updated: import com.google.appengine.api.users.User; <|file_sep|>original/src/edu/asu/scrapbook/digital/util/UserUtil.java package edu.asu.scrapbook.digital.util; import com.google.appengine.api.users.UserService; import com.google.appengine....
package edu.asu.scrapbook.digital.util; import com.google.appengine.api.users.User; import com.google.appengine.api.users.UserService; import com.google.appengine.api.users.UserServiceFactory; import edu.asu.scrapbook.digital.dao.UserDAO; import edu.asu.scrapbook.digital.dao.UserDAOFactory; public class UserUtil { ...
<|file_sep|>src/edu/asu/scrapbook/digital/util/UserUtil.java.diff original: updated: import com.google.appengine.api.users.User; <|file_sep|>original/src/edu/asu/scrapbook/digital/util/UserUtil.java package edu.asu.scrapbook.digital.util; import com.google.appengine.api.users.UserService; import com.google.appengine....
e9bb7cb745610efe45c0cace95c2f6b7bf1fd162
src/edu/asu/scrapbook/digital/util/UserUtil.java
src/edu/asu/scrapbook/digital/util/UserUtil.java
Java
<|file_sep|>original/docs/docs/going-further/wiki-contributors.md <|file_sep|>current/docs/docs/going-further/wiki-contributors.md <|file_sep|>updated/docs/docs/going-further/wiki-contributors.md
--- title: Wiki Contributors sidebar_position: 12 --- Ransack previously had documentation contained in a GitHub Wiki, and this content has been merged into this documentation website. The following long list of _amazing_ people all made contributions to the Wiki: * Abinoam P. Marques Jr * Alex Stophel * Andrea Schia...
<|file_sep|>original/docs/docs/going-further/wiki-contributors.md <|file_sep|>current/docs/docs/going-further/wiki-contributors.md <|file_sep|>updated/docs/docs/going-further/wiki-contributors.md --- title: Wiki Contributors sidebar_position: 12 --- Ransack previously had documentation contained in a GitHub Wiki, an...
02da46e2f8e4428c23471b6b8c06bf6ba769649f
docs/docs/going-further/wiki-contributors.md
docs/docs/going-further/wiki-contributors.md
Markdown
<|file_sep|>test/conf/karma-common.conf.js.diff original: frameworks: ["jasmine", 'commonjs'], updated: frameworks: ["jasmine"], <|file_sep|>original/test/conf/karma-common.conf.js "test/util/matchers.js", "test/util/mock/vivliostyle/logging-mock.js", "test/util/mock/vivliostyle/plugin-mock....
"test/util/mock/vivliostyle/plugin-mock.js", "test/spec/**/*.js" ]; module.exports = function(config) { return { basePath: "../..", frameworks: ["jasmine"], files: sourceFiles.concat(testFiles).concat(commonJsSourceFiles), // frameworks: ["jasmine", 'commonjs'], // p...
<|file_sep|>test/conf/karma-common.conf.js.diff original: frameworks: ["jasmine", 'commonjs'], updated: frameworks: ["jasmine"], <|file_sep|>original/test/conf/karma-common.conf.js "test/util/matchers.js", "test/util/mock/vivliostyle/logging-mock.js", "test/util/mock/vivliostyle/plugin-mock....
1a12317c2c9fa53e0ead42abe63b55ad222f9b49
test/conf/karma-common.conf.js
test/conf/karma-common.conf.js
JavaScript
<|file_sep|>.travis.yml.diff original: - 1.10.x updated: <|file_sep|>original/.travis.yml language: go os: - linux - osx go: - 1.10.x - 1.11.x env: global: - GO111MODULE: "on" install: - make install-dependencies - make install-tools - make install script: - make lint <|file_sep|>current/....
language: go os: - linux - osx go: - 1.11.x - 1.12.x env: global: - GO111MODULE: "on" install: - make install-dependencies - make install-tools - make install script: - make lint
<|file_sep|>.travis.yml.diff original: - 1.10.x updated: <|file_sep|>original/.travis.yml language: go os: - linux - osx go: - 1.10.x - 1.11.x env: global: - GO111MODULE: "on" install: - make install-dependencies - make install-tools - make install script: - make lint <|file_sep|>current/....
dc46625b859fc5723519b2cd161239b5aa688605
.travis.yml
.travis.yml
YAML
<|file_sep|>original/profile/templates/bird/bird-nat.conf.erb <|file_sep|>current/profile/templates/bird/bird-nat.conf.erb <|file_sep|>updated/profile/templates/bird/bird-nat.conf.erb
router id <%= @ipaddress_trp1 %>; <% if @debug %>debug protocols all; <% end -%> # We are only going to export routes from Calico interfaces. # Currently, 'tap*' is used by the OpenStack implimentation # and 'cali*' is used by the docker implimentation. # dummy1 is the interface that bare metal "service" addresses # ...
<|file_sep|>original/profile/templates/bird/bird-nat.conf.erb <|file_sep|>current/profile/templates/bird/bird-nat.conf.erb <|file_sep|>updated/profile/templates/bird/bird-nat.conf.erb router id <%= @ipaddress_trp1 %>; <% if @debug %>debug protocols all; <% end -%> # We are only going to export routes from Calico in...
142997af862a44c079c2de77cbe9cdc672f133ea
profile/templates/bird/bird-nat.conf.erb
profile/templates/bird/bird-nat.conf.erb
HTML+ERB
<|file_sep|>original/src/main/java/algorithms/trees/TreeHeightCalculator.java private final int parents[]; /** * @param parents * defines index of parent for each node. Value -1 determines a root node */ public TreeHeightCalculator(int parents[]) { this.parents = parents; } public int computeHei...
private final int parents[]; /** * @param parents * defines index of parent for each node. Value -1 determines a root node */ public TreeHeightCalculator(int parents[]) { this.parents = parents; } /** * assumptions: there is exactly one root and the input represents a tree */ public int com...
<|file_sep|>original/src/main/java/algorithms/trees/TreeHeightCalculator.java private final int parents[]; /** * @param parents * defines index of parent for each node. Value -1 determines a root node */ public TreeHeightCalculator(int parents[]) { this.parents = parents; } public int computeHei...
58515da9800f7b9815ad93d3f53ff9c6a23a221b
src/main/java/algorithms/trees/TreeHeightCalculator.java
src/main/java/algorithms/trees/TreeHeightCalculator.java
Java
<|file_sep|>metadata/site.leos.apps.lespas.yml.diff original: updated: - versionName: '1.3' versionCode: 4 commit: '1.3' subdir: app gradle: - yes <|file_sep|>original/metadata/site.leos.apps.lespas.yml Repo: https://github.com/scubajeff/lespas Builds: - versionName: '1.0' versionCode: ...
gradle: - yes - versionName: '1.2' versionCode: 3 commit: '1.2' subdir: app gradle: - yes - versionName: '1.3' versionCode: 4 commit: '1.3' subdir: app gradle: - yes AutoUpdateMode: Version %v UpdateCheckMode: Tags CurrentVersion: '1.3' CurrentVersionCode: 4
<|file_sep|>metadata/site.leos.apps.lespas.yml.diff original: updated: - versionName: '1.3' versionCode: 4 commit: '1.3' subdir: app gradle: - yes <|file_sep|>original/metadata/site.leos.apps.lespas.yml Repo: https://github.com/scubajeff/lespas Builds: - versionName: '1.0' versionCode: ...
bc2e4b1d583a6f3b52c9f91f8f02bd1f8481053c
metadata/site.leos.apps.lespas.yml
metadata/site.leos.apps.lespas.yml
YAML
<|file_sep|>original/.travis.yml language: r r: "3.3" cache: packages matrix: include: - os: linux dist: trusty sudo: required before_install: [ "sudo add-apt-repository \"deb http://archive.ubuntu.com/ubuntu/ xenial main\" -y", "sudo apt-get update -q", "echo 'Installin...
language: r r: "3.4" cache: packages matrix: include: - os: linux dist: trusty sudo: required before_install: [ "sudo add-apt-repository \"deb http://archive.ubuntu.com/ubuntu/ xenial main\" -y", "sudo apt-get update -q", "echo 'Installing R package dependencies'", ...
<|file_sep|>original/.travis.yml language: r r: "3.3" cache: packages matrix: include: - os: linux dist: trusty sudo: required before_install: [ "sudo add-apt-repository \"deb http://archive.ubuntu.com/ubuntu/ xenial main\" -y", "sudo apt-get update -q", "echo 'Installin...
7cee7474f1f035c27770009cd8ff0c84f7865e2c
.travis.yml
.travis.yml
YAML
<|file_sep|>original/requirements.txt -i https://pypi.org/simple ansimarkup==1.4.0 better-exceptions-fork==0.2.1.post6 certifi==2018.11.29 chardet==3.0.4 colorama==0.4.1 coverage==5.0a4 coveralls==1.5.1 docopt==0.6.2 idna==2.8 loguru==0.2.4 packaging==18.0 pbr==5.1.1 pygments==2.3.1 pyparsing==2.3.1 requests==2.21.0 s...
-i https://pypi.org/simple ansimarkup==1.4.0 better-exceptions-fork==0.2.1.post6 certifi==2018.11.29 chardet==3.0.4 colorama==0.4.1 coverage==5.0a4 coveralls==1.5.1 docopt==0.6.2 idna==2.8 loguru==0.2.4 packaging==19.0 pbr==5.1.1 pygments==2.3.1 pyparsing==2.3.1 requests==2.21.0 six==1.12.0 urllib3>=1.24.2
<|file_sep|>original/requirements.txt -i https://pypi.org/simple ansimarkup==1.4.0 better-exceptions-fork==0.2.1.post6 certifi==2018.11.29 chardet==3.0.4 colorama==0.4.1 coverage==5.0a4 coveralls==1.5.1 docopt==0.6.2 idna==2.8 loguru==0.2.4 packaging==18.0 pbr==5.1.1 pygments==2.3.1 pyparsing==2.3.1 requests==2.21.0 s...
c29f50b21570460a594f2bd27649a069fcdb078d
requirements.txt
requirements.txt
Text
<|file_sep|>original/themes/asterisk/source/styles/modules/_social.scss padding-top: rem(124px); color: $color-text-light; &::before { display: block; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: $color-grey-light; content: ""; } } .Social-header, .Soci...
padding-top: rem(124px); color: $color-text-light; &::before { display: block; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: $color-grey; content: ""; } } .Social-header, .Social-content { position: relative; z-index: 1; }
<|file_sep|>original/themes/asterisk/source/styles/modules/_social.scss padding-top: rem(124px); color: $color-text-light; &::before { display: block; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: $color-grey-light; content: ""; } } .Social-header, .Soci...
34b7479ec84ddd063803495d943c837a345dd7ee
themes/asterisk/source/styles/modules/_social.scss
themes/asterisk/source/styles/modules/_social.scss
SCSS
<|file_sep|>original/README.md * UuidIds A simple gem to make it easy to use UUIDs as the id for Rails models. Your table creation migration should look something like this: ```ruby create_table :things, :id => false do |t| t.binary :id, :primary_key => true t.timestamps end add_index :things...
# UuidIds A simple gem to make it easy to use UUIDs as the id for Rails models. Your table creation migration should look something like this: ```ruby create_table :things, :id => false do |t| t.binary :id, :primary_key => true t.timestamps end add_index :things, :id, :unique => true ``` `bi...
<|file_sep|>original/README.md * UuidIds A simple gem to make it easy to use UUIDs as the id for Rails models. Your table creation migration should look something like this: ```ruby create_table :things, :id => false do |t| t.binary :id, :primary_key => true t.timestamps end add_index :things...
0d93384ea2a5a3aa474e4e30b2126ea0ed21d996
README.md
README.md
Markdown
<|file_sep|>original/.travis.yml - 2.2 - ruby-head matrix: include: - rvm: jruby-19mode - rvm: jruby-20mode - rvm: jruby-21mode - rvm: jruby-head - rvm: rbx-2 allow_failures: - rvm: 2.2 - rvm: ruby-head - rvm: jruby-head - rvm: jruby-20mode - rvm: jruby-21mode - rvm: ...
- 2.0 - 2.1 - 2.2 - ruby-head matrix: include: - rvm: jruby-19mode - rvm: jruby-20mode - rvm: jruby-21mode - rvm: jruby-head - rvm: rbx-2 allow_failures: - rvm: 2.2 - rvm: ruby-head - rvm: jruby-head - rvm: rbx-2 fast_finish: true branches: only: master notifications:...
<|file_sep|>original/.travis.yml - 2.2 - ruby-head matrix: include: - rvm: jruby-19mode - rvm: jruby-20mode - rvm: jruby-21mode - rvm: jruby-head - rvm: rbx-2 allow_failures: - rvm: 2.2 - rvm: ruby-head - rvm: jruby-head - rvm: jruby-20mode - rvm: jruby-21mode - rvm: ...
e8d6637c950de210338903bc711c121f846c9130
.travis.yml
.travis.yml
YAML
<|file_sep|>original/features/step_definitions/my_first_steps.rb Given /^I am on the Welcome Screen$/ do wait_for(:timeout => 5) { element_exists("label text:'Top Box Office'") } touch("view marked: 'MovieCell-1-1'") wait_for(:timeout => 5) { element_exists("label text:'Movie info'") } # check_element_exists("vie...
Given /^I am on the Welcome Screen$/ do wait_for(:timeout => 5) { element_exists("label text:'Top Box Office'") } touch("view marked: 'MovieCell-1-0'") wait_for(:timeout => 5) { element_exists("label text:'Movie info'") } # check_element_exists("view marked: 'Rotten'") check_element_does_not_exist("view marked: ...
<|file_sep|>original/features/step_definitions/my_first_steps.rb Given /^I am on the Welcome Screen$/ do wait_for(:timeout => 5) { element_exists("label text:'Top Box Office'") } touch("view marked: 'MovieCell-1-1'") wait_for(:timeout => 5) { element_exists("label text:'Movie info'") } # check_element_exists("vie...
83c37d379c8f6b2e1f7bb16a8895f3ac8824a6c9
features/step_definitions/my_first_steps.rb
features/step_definitions/my_first_steps.rb
Ruby
<|file_sep|>original/source/js/modules/home/home-ctrl.js }; $scope.editLink = function (id) { $scope.editedLink = $scope.links[id]; }; $scope.doneEditing = function (id) { var link = $scope.links[id]; link.url = link.url.trim(); $scope.links.$save(); i...
var totalLength = length * 9; $('ul').css('width', totalLength+"px"); numberOfLinks += 1; }, true); $scope.addLink = function () { var newLink = $scope.newLink.trim(); if (!newLink.length) { return; } $scope.links.$add({ url: newL...
<|file_sep|>original/source/js/modules/home/home-ctrl.js }; $scope.editLink = function (id) { $scope.editedLink = $scope.links[id]; }; $scope.doneEditing = function (id) { var link = $scope.links[id]; link.url = link.url.trim(); $scope.links.$save(); i...
ce3cf01162c24adcbcf3ad059b4a7b4af26a12f7
source/js/modules/home/home-ctrl.js
source/js/modules/home/home-ctrl.js
JavaScript
<|file_sep|>original/app/views/scrapers/_running_indicator.html.haml #running-indicator - if scraper.queued? || scraper.running? = render "spinner" <|file_sep|>current/app/views/scrapers/_running_indicator.html.haml #running-indicator - if scraper.queued? || scraper.running? = render "spinner" <|file_sep|>u...
.running-indicator - if scraper.queued? || scraper.running? = render "spinner"
<|file_sep|>original/app/views/scrapers/_running_indicator.html.haml #running-indicator - if scraper.queued? || scraper.running? = render "spinner" <|file_sep|>current/app/views/scrapers/_running_indicator.html.haml #running-indicator - if scraper.queued? || scraper.running? = render "spinner" <|file_sep|>u...
a342a551b53d47c2a563073da69a48c65b54a10d
app/views/scrapers/_running_indicator.html.haml
app/views/scrapers/_running_indicator.html.haml
Haml
<|file_sep|>.travis/build.sh.diff original: #comment this when we can do an 'apt-get install llvm-5.0' #exit 0 updated: <|file_sep|>.travis/build.sh.diff original: #sudo updatedb #locate FileCheck #ls -laR /usr/lib/llvm-5.0/ updated: <|file_sep|>original/.travis/build.sh mkdir -p travis_build/Repositories #now set...
#now set up the environment . ${BUILD_HOME}/.travis/bash_profile cd ${BUILD_HOME} make make install RETURN="$?" if [ "${RETURN}" != "0" ]; then echo "Building OCCAM failed!" exit 1 fi make test RETURN="$?" if [ "${RETURN}" != "0" ]; then echo "The testing harness is dicky!" exit 1 fi
<|file_sep|>.travis/build.sh.diff original: #comment this when we can do an 'apt-get install llvm-5.0' #exit 0 updated: <|file_sep|>.travis/build.sh.diff original: #sudo updatedb #locate FileCheck #ls -laR /usr/lib/llvm-5.0/ updated: <|file_sep|>original/.travis/build.sh mkdir -p travis_build/Repositories #now set...
f0c05e30d015d755d9d969185a600a014368dd75
.travis/build.sh
.travis/build.sh
Shell
<|file_sep|>src/mixin/PlaceholderItem.js.diff original: me.insert(0, placeholderItem); updated: me[placeholderItem.dock ? 'insertDocked' : 'insert'](0, placeholderItem); <|file_sep|>original/src/mixin/PlaceholderItem.js if (oldPlaceholderItem) { me.remove(oldP...
if (oldPlaceholderItem) { me.remove(oldPlaceholderItem); } if (placeholderItem) { me[placeholderItem.dock ? 'insertDocked' : 'insert'](0, placeholderItem); } } }, // container lifecycle initPlaceholderItem: function()...
<|file_sep|>src/mixin/PlaceholderItem.js.diff original: me.insert(0, placeholderItem); updated: me[placeholderItem.dock ? 'insertDocked' : 'insert'](0, placeholderItem); <|file_sep|>original/src/mixin/PlaceholderItem.js if (oldPlaceholderItem) { me.remove(oldP...
76a200a6ed697add085b1a2ff1c99cb1b7dab057
src/mixin/PlaceholderItem.js
src/mixin/PlaceholderItem.js
JavaScript
<|file_sep|>original/popup.js /* TODO: put in some if (localizationEnabled) block in case people who use non-english browser still wants english extension? */ translate('name', 'title', 'extName'); translate('id', 'battleLink', 'battle'); translate('class', 'by', 'by'); }; function translate (type, name, messa...
/* TODO: put in some if (localizationEnabled) block in case people who use non-english browser still wants english extension? */ translate('name', 'title', 'extName'); translate('id', 'battleLink', 'battle'); translate('class', 'by', 'by'); }; function translate (type, name, message) { switch (type) { ca...
<|file_sep|>original/popup.js /* TODO: put in some if (localizationEnabled) block in case people who use non-english browser still wants english extension? */ translate('name', 'title', 'extName'); translate('id', 'battleLink', 'battle'); translate('class', 'by', 'by'); }; function translate (type, name, messa...
8695b307d127d541d95c5d0ecb4a540675b5f729
popup.js
popup.js
JavaScript
<|file_sep|>src/handler.rs.diff original: updated: use std::sync::Arc; <|file_sep|>original/src/handler.rs //!Request handlers. use context::Context; use response::Response; ///A trait for request handlers. pub trait Handler: Send + Sync + 'static { ///Handle a request from the client. Panicking within this meth...
///Handle a request from the client. Panicking within this method is ///discouraged, to allow the server to run smoothly. fn handle_request(&self, context: Context, response: Response); } impl<F: Fn(Context, Response) + Send + Sync + 'static> Handler for F { fn handle_request(&self, context: Context, r...
<|file_sep|>src/handler.rs.diff original: updated: use std::sync::Arc; <|file_sep|>original/src/handler.rs //!Request handlers. use context::Context; use response::Response; ///A trait for request handlers. pub trait Handler: Send + Sync + 'static { ///Handle a request from the client. Panicking within this meth...
6315a2e2ace63ecd7f06e7fe0166bfcc1804e4e1
src/handler.rs
src/handler.rs
Rust
<|file_sep|>original/docker/README.md The docker image contains the compiled examples from the `examples` folder and may be used to test various solver options with matrices in the MatrixMarket format. Run solver from the docker image: ``` $ docker run -ti -v $PWD:/data dedemidov/amgcl solver -A A.mtx -f b.mtx ``` <|...
The docker image contains the compiled examples from the `examples` folder and may be used to test various solver options with matrices in the MatrixMarket format. Run solver from the docker image: ``` $ docker run -ti -v $PWD:/data amgcl/examples solver -A A.mtx -f b.mtx ```
<|file_sep|>original/docker/README.md The docker image contains the compiled examples from the `examples` folder and may be used to test various solver options with matrices in the MatrixMarket format. Run solver from the docker image: ``` $ docker run -ti -v $PWD:/data dedemidov/amgcl solver -A A.mtx -f b.mtx ``` <|...
3580ae4991b447c4329f4cd472b356e64dd066ef
docker/README.md
docker/README.md
Markdown
<|file_sep|>oem/ibm/configurations/events/oem_ibm_event_state_sensor.json.diff original: updated: }, { "containerID": 1, "entityType": 32801, "entityInstance": 0, "sensorOffset": 0, "stateSetId": 32777, "event_states":[ ...
"entityType": 32801, "entityInstance": 0, "sensorOffset": 0, "stateSetId": 32777, "event_states":[ 1, 2 ], "dbus": { "object_path": "/com/ibm/panel_app", "interface": "com....
<|file_sep|>oem/ibm/configurations/events/oem_ibm_event_state_sensor.json.diff original: updated: }, { "containerID": 1, "entityType": 32801, "entityInstance": 0, "sensorOffset": 0, "stateSetId": 32777, "event_states":[ ...
915baa3a3407cd09c3310804e4c20506d92fea2e
oem/ibm/configurations/events/oem_ibm_event_state_sensor.json
oem/ibm/configurations/events/oem_ibm_event_state_sensor.json
JSON
<|file_sep|>CefSharp.WinForms.Example/Program.cs.diff original: updated: using CefSharp.WinForms.Example.Minimal; <|file_sep|>original/CefSharp.WinForms.Example/Program.cs // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System; using System.Windows.Forms; ...
using System; using System.Windows.Forms; using CefSharp.Example; using CefSharp.WinForms.Example.Minimal; namespace CefSharp.WinForms.Example { class Program { [STAThread] static void Main() { CefExample.Init(); var browser = new BrowserForm(); //v...
<|file_sep|>CefSharp.WinForms.Example/Program.cs.diff original: updated: using CefSharp.WinForms.Example.Minimal; <|file_sep|>original/CefSharp.WinForms.Example/Program.cs // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System; using System.Windows.Forms; ...
5933114f7c35f53bb6a42a90468630d7b1f67a15
CefSharp.WinForms.Example/Program.cs
CefSharp.WinForms.Example/Program.cs
C#
<|file_sep|>original/.travis.yml language: python python: - 2.7 install: - pip install -r requirements.txt - sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm script: coverage run --source=breeze setup.py test notifications: email: recipients: - aortiz32@gmail.com on_success: [always|never|chan...
language: python python: - 2.7 - 3.6 install: - pip install -r requirements.txt - sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm script: coverage run --source=breeze setup.py test notifications: email: recipients: - aortiz32@gmail.com on_success: [always|never|change] # default: change ...
<|file_sep|>original/.travis.yml language: python python: - 2.7 install: - pip install -r requirements.txt - sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm script: coverage run --source=breeze setup.py test notifications: email: recipients: - aortiz32@gmail.com on_success: [always|never|chan...
164551576fef07d3cfb45ad6037c8100a471b8f9
.travis.yml
.travis.yml
YAML
<|file_sep|>ansible/roles/install-deps/tasks/install-mongodb.yml.diff original: # sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 updated: <|file_sep|>ansible/roles/install-deps/tasks/install-mongodb.yml.diff original: - name: Add MongoDB apt key updated: - name: Add MongoDB apt key (Ubuntu...
update_cache=yes when: ansible_lsb.id == "Debian" tags: - install - mongodb - deps - name: Install MongoDB apt: pkg={{ item }} state=latest with_items: - mongodb-org - libsnappy1 tags: - install - mongodb - deps - name: Make sure MongoDB is running ...
<|file_sep|>ansible/roles/install-deps/tasks/install-mongodb.yml.diff original: # sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 updated: <|file_sep|>ansible/roles/install-deps/tasks/install-mongodb.yml.diff original: - name: Add MongoDB apt key updated: - name: Add MongoDB apt key (Ubuntu...
27015815791ad4fa4aa6e51db44540d761ab0cf9
ansible/roles/install-deps/tasks/install-mongodb.yml
ansible/roles/install-deps/tasks/install-mongodb.yml
YAML
<|file_sep|>original/README.md ```js require('volkswagen') ``` ## Project status CI servers detected: - [Travis CI](http://travis-ci.org) - [CircleCI](http://circleci.com) Test suites defeated: - [assert](https://nodejs.org/api/assert.html) - [tape](https://github.com/substack/tape) ## License MIT ## Credits <|...
```js require('volkswagen') ``` ## Project status CI servers detected: - [Travis CI](http://travis-ci.org) - [CircleCI](http://circleci.com) - [GitLab CI](https://about.gitlab.com/gitlab-ci/) Test suites defeated: - [assert](https://nodejs.org/api/assert.html) - [tape](https://github.com/substack/tape) ## License...
<|file_sep|>original/README.md ```js require('volkswagen') ``` ## Project status CI servers detected: - [Travis CI](http://travis-ci.org) - [CircleCI](http://circleci.com) Test suites defeated: - [assert](https://nodejs.org/api/assert.html) - [tape](https://github.com/substack/tape) ## License MIT ## Credits <|...
62ca06bc0abb904cace476c3011364d837b2acb1
README.md
README.md
Markdown
<|file_sep|>original/travis/script_deploy_android_snapshot.sh #!/usr/bin/env bash set -e set -o pipefail if [ "${PLATFORM}" = "android" ] && [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_BRANCH}" = "master" ]; then cd "$TRAVIS_BUILD_DIR"/android; ./gradlew uploadArchives -PsonatypeUsername="$SONATYPE_USER...
#!/usr/bin/env bash set -e set -o pipefail if [ "${PLATFORM}" = "android" ] && [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_BRANCH}" = "master" ]; then cd "$TRAVIS_BUILD_DIR"/android; ./gradlew uploadArchives -PsonatypeUsername="$SONATYPE_USERNAME" -PsonatypePassword="$SONATYPE_PASSWORD" cd "$TRAVIS_...
<|file_sep|>original/travis/script_deploy_android_snapshot.sh #!/usr/bin/env bash set -e set -o pipefail if [ "${PLATFORM}" = "android" ] && [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_BRANCH}" = "master" ]; then cd "$TRAVIS_BUILD_DIR"/android; ./gradlew uploadArchives -PsonatypeUsername="$SONATYPE_USER...
3fba86b3e7aef635027280124ff36d6451b8b534
travis/script_deploy_android_snapshot.sh
travis/script_deploy_android_snapshot.sh
Shell
<|file_sep|>karum/inOrderRec.cpp.diff original: else if(d <= root->data) updated: if(d <= root->data) <|file_sep|>karum/inOrderRec.cpp.diff original: inorder(root->left); updated: if(root->left) inorder(root->left); <|file_sep|>original/karum/inOrderRec.cpp return root; } node *inorder(...
return root; } node *inorder(node *root) { if(root) { if(root->left) inorder(root->left); cout<<root->data<<"\n"; if(root->right) inorder(root->right); } } }; int main() { int n,d; node nd;
<|file_sep|>karum/inOrderRec.cpp.diff original: else if(d <= root->data) updated: if(d <= root->data) <|file_sep|>karum/inOrderRec.cpp.diff original: inorder(root->left); updated: if(root->left) inorder(root->left); <|file_sep|>original/karum/inOrderRec.cpp return root; } node *inorder(...
37aa8a56dc4cc0f38b60f800334b0631a0f8d157
karum/inOrderRec.cpp
karum/inOrderRec.cpp
C++
<|file_sep|>original/README.md (https://getcomposer.org/) Dependency Manager for PHP. To build the image: `docker build -t chekote/docker-composer .` When using the container with a project, you can easily run composer commands against the container by doing the following: * Copy the bin directory into your project...
(https://getcomposer.org/) Dependency Manager for PHP. To build the image: `docker build -t chekote/docker-composer .` When using the container with a project, you can easily run composer commands against the container by doing the following: * Copy the bin directory into your project. * Ensure that your profile P...
<|file_sep|>original/README.md (https://getcomposer.org/) Dependency Manager for PHP. To build the image: `docker build -t chekote/docker-composer .` When using the container with a project, you can easily run composer commands against the container by doing the following: * Copy the bin directory into your project...
d0d273aedab89ac856a6ae8d2245c043a9cd84f9
README.md
README.md
Markdown
<|file_sep|>original/.circleci/config.yml steps: - checkout - run: yarn - run: yarn test deploy: docker: - image: circleci/node:8.9.1 working_directory: ~/svc steps: - checkout - deploy: name: Deploy to npm command: | echo "$NPM_REGIS...
steps: - checkout - run: yarn - run: yarn test deploy: docker: - image: circleci/node:8.9.1 working_directory: ~/svc steps: - checkout - run: yarn - deploy: name: Deploy to npm command: | echo "$NPM_REGISTRY" > ~/.npmrc ...
<|file_sep|>original/.circleci/config.yml steps: - checkout - run: yarn - run: yarn test deploy: docker: - image: circleci/node:8.9.1 working_directory: ~/svc steps: - checkout - deploy: name: Deploy to npm command: | echo "$NPM_REGIS...
11caaa7e349933dafdcaea45f5483a0e053e5c3e
.circleci/config.yml
.circleci/config.yml
YAML
<|file_sep|>original/about/organizations/user-groups/sw-utah/index.html --- layout: page status: publish published: true title: Southwest Utah author: display_name: Zach Beck login: Zach Beck email: zbeck@utah.gov url: '' author_login: Zach Beck author_email: zbeck@utah.gov wordpress_id: 2587 wordpress_url: htt...
--- layout: page status: publish published: false title: Southwest Utah author: display_name: Zach Beck login: Zach Beck email: zbeck@utah.gov url: '' author_login: Zach Beck author_email: zbeck@utah.gov wordpress_id: 2587 wordpress_url: http://gis.utah.gov/?page_id=2587 date: '2011-09-19 10:37:37 -0600' date_g...
<|file_sep|>original/about/organizations/user-groups/sw-utah/index.html --- layout: page status: publish published: true title: Southwest Utah author: display_name: Zach Beck login: Zach Beck email: zbeck@utah.gov url: '' author_login: Zach Beck author_email: zbeck@utah.gov wordpress_id: 2587 wordpress_url: htt...
0c904b63e4e5682cbe366e4732d3ba7f6a686c57
about/organizations/user-groups/sw-utah/index.html
about/organizations/user-groups/sw-utah/index.html
HTML
<|file_sep|>.travis.yml.diff original: - wget -c "ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.31/ncbi-blast-2.2.31+-x64-linux.tar.gz" - tar xvf ncbi-blast-2.2.31+-x64-linux.tar.gz - export PATH="ncbi-blast-2.2.31+/bin:$PATH" updated: - wget -c "ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.6...
secure: "cT2wvWS2Uk2trYGwZ38Qo9XWCeL+OOXH0lVmLfNb1Xy/tWAXycDdZsc9CN8igjhD+/cKvvh529/qdDm2PJnb1Hux1bxHSTuMuE2xQWlfJqaOR/IX0z96MbP1eITKjhGv9vccmIPdV3Rh/OQLeHkyqyHvXio9NXiARMJUZDTpRuA=" branches: only: - 1.0.x # stable - master install: - wget -c "ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2....
<|file_sep|>.travis.yml.diff original: - wget -c "ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.31/ncbi-blast-2.2.31+-x64-linux.tar.gz" - tar xvf ncbi-blast-2.2.31+-x64-linux.tar.gz - export PATH="ncbi-blast-2.2.31+/bin:$PATH" updated: - wget -c "ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.6...
229c820eb0721dcbaf79dfdc82fa8ef380a84b16
.travis.yml
.travis.yml
YAML
<|file_sep|>original/spacy/tests/test_download.py # coding: utf-8 from __future__ import unicode_literals from ..download import download, get_compatibility, get_version, check_error_depr import pytest def test_download_fetch_compatibility(): compatibility = get_compatibility() assert type(compatibility) == ...
# coding: utf-8 from __future__ import unicode_literals from ..download import download, get_compatibility, get_version, check_error_depr import pytest @pytest.mark.slow def test_download_fetch_compatibility(): compatibility = get_compatibility() assert type(compatibility) == dict @pytest.mark.slow @pytest...
<|file_sep|>original/spacy/tests/test_download.py # coding: utf-8 from __future__ import unicode_literals from ..download import download, get_compatibility, get_version, check_error_depr import pytest def test_download_fetch_compatibility(): compatibility = get_compatibility() assert type(compatibility) == ...
0e533ad0cc42431a57758b577cf96783ee4b7484
spacy/tests/test_download.py
spacy/tests/test_download.py
Python
<|file_sep|>original/.circleci/copy_recursive_regex.sh #!/usr/bin/env bash REGEX="$1" DEST_FOLDER=$2 rm -rf ${DEST_FOLDER} mkdir -p ${DEST_FOLDER} for testXml in $(find . -type f -regex ${REGEX}); do echo ${testXml} cp ${testXml} ${DEST_FOLDER} done echo <|file_sep|>current/.circleci/copy_recursive_regex.sh...
#!/usr/bin/env bash REGEX="$1" DEST_FOLDER=$2 rm -rf ${DEST_FOLDER} mkdir -p ${DEST_FOLDER} for matching_file in $(find . -type f -regex ${REGEX}); do echo ${matching_file} cp ${matching_file} ${DEST_FOLDER} done echo
<|file_sep|>original/.circleci/copy_recursive_regex.sh #!/usr/bin/env bash REGEX="$1" DEST_FOLDER=$2 rm -rf ${DEST_FOLDER} mkdir -p ${DEST_FOLDER} for testXml in $(find . -type f -regex ${REGEX}); do echo ${testXml} cp ${testXml} ${DEST_FOLDER} done echo <|file_sep|>current/.circleci/copy_recursive_regex.sh...
f8c1f47ba847eadf84da6fdf2060f77a6ba030c0
.circleci/copy_recursive_regex.sh
.circleci/copy_recursive_regex.sh
Shell
<|file_sep|>original/_posts/2016-01-01-pub.markdown --- title: Pub external_url: artur-kot.pl/pub desc: interactive animation --- <|file_sep|>current/_posts/2016-01-01-pub.markdown --- title: Pub external_url: artur-kot.pl/pub desc: interactive animation --- <|file_sep|>updated/_posts/2016-01-01-pub.markdown
--- title: Pub external_url: http://artur-kot.pl/pub desc: interactive animation ---
<|file_sep|>original/_posts/2016-01-01-pub.markdown --- title: Pub external_url: artur-kot.pl/pub desc: interactive animation --- <|file_sep|>current/_posts/2016-01-01-pub.markdown --- title: Pub external_url: artur-kot.pl/pub desc: interactive animation --- <|file_sep|>updated/_posts/2016-01-01-pub.markdown --- title:...
baa5ad3d25573340c4d35f13b785dd937025eefe
_posts/2016-01-01-pub.markdown
_posts/2016-01-01-pub.markdown
Markdown
<|file_sep|>petulant/meme/tests.py.diff original: from django.test import TestCase updated: import json <|file_sep|>original/petulant/meme/tests.py from django.test import TestCase # Create your tests here. <|file_sep|>current/petulant/meme/tests.py import json # Create your tests here. <|file_sep|>updated/petulant/m...
import json from django.test import TestCase, Client class MemeTests(TestCase): def test_can_post_to_db(self): response = json.loads(self.client.post('/', {'url':'https://foo.bar/baz.gif', 'keywords':'omg, this, is, great'}).content) self.assertTrue(response['success'])
<|file_sep|>petulant/meme/tests.py.diff original: from django.test import TestCase updated: import json <|file_sep|>original/petulant/meme/tests.py from django.test import TestCase # Create your tests here. <|file_sep|>current/petulant/meme/tests.py import json # Create your tests here. <|file_sep|>updated/petulant/m...
e18f4bd7db18743bb290fed276ff21a9e63e6922
petulant/meme/tests.py
petulant/meme/tests.py
Python
<|file_sep|>original/joequery/blog/posts/code/learning-c-1/meta.txt [post] title: Learning C (Part 1): The basics description: A general overview of the style and purpose of the C programming language. time: 2013-11-15 Fri 01:17 PM tags: c series: learning-c <|file_sep|>current/joequery/blog/posts/code/learning-c-...
[post] title: Learning C (Part 1): The basics description: A general overview of the style and purpose of the C programming language. time: 2013-11-19 Tue 02:03 AM tags: c series: learning-c
<|file_sep|>original/joequery/blog/posts/code/learning-c-1/meta.txt [post] title: Learning C (Part 1): The basics description: A general overview of the style and purpose of the C programming language. time: 2013-11-15 Fri 01:17 PM tags: c series: learning-c <|file_sep|>current/joequery/blog/posts/code/learning-c-...
b2e912a59b329ba37d25c5747e5cce2e2ae60ebe
joequery/blog/posts/code/learning-c-1/meta.txt
joequery/blog/posts/code/learning-c-1/meta.txt
Text
<|file_sep|>packages/meta/openslug-native-packages.bb.diff original: PR = "r1" updated: PR = "r2" <|file_sep|>packages/meta/openslug-native-packages.bb.diff original: updated: # Just something the test with <|file_sep|>original/packages/meta/openslug-native-packages.bb DESCRIPTION = "Packages that are to be compiled n...
DESCRIPTION = "Packages that are to be compiled nativly for the OpenSlug firmware" LICENSE = MIT PR = "r2" INHIBIT_DEFAULT_DEPS = "1" ALLOW_EMPTY = 1 PACKAGES = "${PN}" # Just something the test with OPENSLUG_NATIVE_PACKAGES = "\ gzip \ vlan \ " BROKEN_PACKAGES = "\ " DEPENDS = '${OPENSLUG_NATIVE_PACKAGES} \ p...
<|file_sep|>packages/meta/openslug-native-packages.bb.diff original: PR = "r1" updated: PR = "r2" <|file_sep|>packages/meta/openslug-native-packages.bb.diff original: updated: # Just something the test with <|file_sep|>original/packages/meta/openslug-native-packages.bb DESCRIPTION = "Packages that are to be compiled n...
9e2e093e8735e7ecbdbeedf48bb476eb6f52c45b
packages/meta/openslug-native-packages.bb
packages/meta/openslug-native-packages.bb
BitBake
<|file_sep|>original/initialize.sh #!/bin/sh set -e npm install -g os-types moment underscore lodash lodash-addons ls -la /usr/lib/node_modules rm celerybeat-schedule || ls -la pwd pip3 install -U git+git://github.com/frictionlessdata/datapackage-pipelines.git pip3 install -U git+git://github.com/openspending/datapack...
#!/bin/sh set -e npm install -g os-types moment underscore lodash lodash-addons ls -la /usr/lib/node_modules rm celerybeat-schedule || ls -la pwd pip3 install -U git+git://github.com/frictionlessdata/datapackage-pipelines.git pip3 install -U git+git://github.com/openspending/datapackage-pipelines-fiscal.git pip3 insta...
<|file_sep|>original/initialize.sh #!/bin/sh set -e npm install -g os-types moment underscore lodash lodash-addons ls -la /usr/lib/node_modules rm celerybeat-schedule || ls -la pwd pip3 install -U git+git://github.com/frictionlessdata/datapackage-pipelines.git pip3 install -U git+git://github.com/openspending/datapack...
fa3a789fb63b45047f7974d39e34e4f828914c97
initialize.sh
initialize.sh
Shell
<|file_sep|>original/tests/auto/api/testdata/export-item-with-group/project.qbs import qbs Project { Product { name: "dep" Export { Depends { name: "cpp" } Group { files: ["main.cpp"] } } } Application { name: "app" Depends { name: "dep" } ...
import qbs Project { Product { name: "dep" Export { Depends { name: "cpp" } Group { files: ["main.cpp"] } } } Application { name: "app" bundle.isBundle: false Depends { name: "dep" } } }
<|file_sep|>original/tests/auto/api/testdata/export-item-with-group/project.qbs import qbs Project { Product { name: "dep" Export { Depends { name: "cpp" } Group { files: ["main.cpp"] } } } Application { name: "app" Depends { name: "dep" } ...
ecb3643ce3c0fcfb1fb3a0369f81066f65e11172
tests/auto/api/testdata/export-item-with-group/project.qbs
tests/auto/api/testdata/export-item-with-group/project.qbs
QML
<|file_sep|>original/dfreedm/core-icon-study/x-foo-is-core-icon-minus-iconset.html <|file_sep|>current/dfreedm/core-icon-study/x-foo-is-core-icon-minus-iconset.html <|file_sep|>updated/dfreedm/core-icon-study/x-foo-is-core-icon-minus-iconset.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width"> <title>SVG example</title> <script src="bower_components/platform-dev/platform.js"></script> <link rel="import" href="email.html"> <link rel="import" href="bower_components/core-icon/core-icon....
<|file_sep|>original/dfreedm/core-icon-study/x-foo-is-core-icon-minus-iconset.html <|file_sep|>current/dfreedm/core-icon-study/x-foo-is-core-icon-minus-iconset.html <|file_sep|>updated/dfreedm/core-icon-study/x-foo-is-core-icon-minus-iconset.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <met...
0f76e7549a449502d0ea754de1be6025cfb1e23f
dfreedm/core-icon-study/x-foo-is-core-icon-minus-iconset.html
dfreedm/core-icon-study/x-foo-is-core-icon-minus-iconset.html
HTML
<|file_sep|>original/.github/workflows/build.yml <|file_sep|>current/.github/workflows/build.yml <|file_sep|>updated/.github/workflows/build.yml
name: 'Build' on: push: branches: [main] pull_request: branches: [main] jobs: lint-and-test: runs-on: ubuntu-latest strategy: matrix: ruby_version: ['2.6', '2.7', '3.0', '3.1'] steps: - name: Checkout code uses: actions/checkout@v3 - name: Setup Ruby ${{ matri...
<|file_sep|>original/.github/workflows/build.yml <|file_sep|>current/.github/workflows/build.yml <|file_sep|>updated/.github/workflows/build.yml name: 'Build' on: push: branches: [main] pull_request: branches: [main] jobs: lint-and-test: runs-on: ubuntu-latest strategy: matrix: rub...
ea2f72db0f944ef3fc22058097bfaba4a9fc24ad
.github/workflows/build.yml
.github/workflows/build.yml
YAML
<|file_sep|>original/packages/regenerator-runtime/package.json { "name": "regenerator-runtime", "author": "Ben Newman <bn@cs.stanford.edu>", "description": "Runtime for Regenerator-compiled generator and async functions.", "version": "0.13.7", "main": "runtime.js", "keywords": [ "regenerator", "runt...
{ "name": "regenerator-runtime", "author": "Ben Newman <bn@cs.stanford.edu>", "description": "Runtime for Regenerator-compiled generator and async functions.", "version": "0.13.8", "main": "runtime.js", "keywords": [ "regenerator", "runtime", "generator", "async" ], "sideEffects": true, ...
<|file_sep|>original/packages/regenerator-runtime/package.json { "name": "regenerator-runtime", "author": "Ben Newman <bn@cs.stanford.edu>", "description": "Runtime for Regenerator-compiled generator and async functions.", "version": "0.13.7", "main": "runtime.js", "keywords": [ "regenerator", "runt...
e6895f39ad1e689196ecf149dcd48fb01e7a41cf
packages/regenerator-runtime/package.json
packages/regenerator-runtime/package.json
JSON
<|file_sep|>original/plugin_gems.rb dir 'plugin_gems' download "td-client", "0.8.66" download "td", "0.11.5" download "fluent-plugin-td", "0.10.22" download "thrift", "0.8.0" download "fluent-plugin-scribe", "0.10.13" download "fluent-plugin-flume", "0.1.1" download "bson", "1.10.2" download "bson_ext", "1.10.2" downlo...
dir 'plugin_gems' download "td-client", "0.8.66" download "td", "0.11.5" download "fluent-plugin-td", "0.10.22" download "thrift", "0.8.0" download "fluent-plugin-scribe", "0.10.13" download "fluent-plugin-flume", "0.1.1" download "bson", "1.10.2" download "bson_ext", "1.10.2" download "mongo", "1.10.2" download "fluen...
<|file_sep|>original/plugin_gems.rb dir 'plugin_gems' download "td-client", "0.8.66" download "td", "0.11.5" download "fluent-plugin-td", "0.10.22" download "thrift", "0.8.0" download "fluent-plugin-scribe", "0.10.13" download "fluent-plugin-flume", "0.1.1" download "bson", "1.10.2" download "bson_ext", "1.10.2" downlo...
c2456adb4ee17a76a1588d4ec4438c5114bb42d5
plugin_gems.rb
plugin_gems.rb
Ruby
<|file_sep|>original/app/controllers/site_controller.rb class SiteController < ApplicationController def members @key = Option.user_registration_token end def regenerate_token Option.update_registration_token redirect_to site_members_path, notice: 'Token regenerated' end def settings @settin...
class SiteController < ApplicationController before_action :authenticate_user! def members @key = Option.user_registration_token end def regenerate_token Option.update_registration_token redirect_to site_members_path, notice: 'Token regenerated' end def settings @setting = Setting.new( si...
<|file_sep|>original/app/controllers/site_controller.rb class SiteController < ApplicationController def members @key = Option.user_registration_token end def regenerate_token Option.update_registration_token redirect_to site_members_path, notice: 'Token regenerated' end def settings @settin...
a0e140af3b24195ffe6ebacaff0d353a779ffe1f
app/controllers/site_controller.rb
app/controllers/site_controller.rb
Ruby
<|file_sep|>.rubocop.yml.diff original: updated: AbcSize: Severity: refactor <|file_sep|>.rubocop.yml.diff original: updated: BlockNesting: Severity: refactor ClassLength: Severity: refactor <|file_sep|>.rubocop.yml.diff original: updated: CyclomaticComplexity: Severity: refactor DoubleNegation: Severity: ...
- $vim_log # In Automate methods - $evm HashSyntax: EnforcedStyle: hash_rockets LineLength: Max: 120 Severity: refactor MethodLength: Max: 25 Severity: refactor ParameterLists: Severity: refactor PerceivedComplexity: Severity: refactor RedundantReturn: AllowMultipleReturnValues: true SignalExcepti...
<|file_sep|>.rubocop.yml.diff original: updated: AbcSize: Severity: refactor <|file_sep|>.rubocop.yml.diff original: updated: BlockNesting: Severity: refactor ClassLength: Severity: refactor <|file_sep|>.rubocop.yml.diff original: updated: CyclomaticComplexity: Severity: refactor DoubleNegation: Severity: ...
04d4e19ef11ec2d64120a3df32580d2ae3a84f4d
.rubocop.yml
.rubocop.yml
YAML
<|file_sep|>original/src/kinect_tomato_searcher/cfg/kinect_tomato_searcher.cfg <|file_sep|>current/src/kinect_tomato_searcher/cfg/kinect_tomato_searcher.cfg <|file_sep|>updated/src/kinect_tomato_searcher/cfg/kinect_tomato_searcher.cfg
#!/usr/bin/env python PACKAGE = "kinect_tomato_searcher" from dynamic_reconfigure.parameter_generator_catkin import * gen = ParameterGenerator() gen.add("int_param", int_t, 0, "An Integer parameter", 50, 0, 100) gen.add("double_param", double_t, 0, "A double parameter", .5, 0, 1) gen.add("str_param", ...
<|file_sep|>original/src/kinect_tomato_searcher/cfg/kinect_tomato_searcher.cfg <|file_sep|>current/src/kinect_tomato_searcher/cfg/kinect_tomato_searcher.cfg <|file_sep|>updated/src/kinect_tomato_searcher/cfg/kinect_tomato_searcher.cfg #!/usr/bin/env python PACKAGE = "kinect_tomato_searcher" from dynamic_reconfigure...
ba9b0f4303e470417ecaf6f37a505330915a11fa
src/kinect_tomato_searcher/cfg/kinect_tomato_searcher.cfg
src/kinect_tomato_searcher/cfg/kinect_tomato_searcher.cfg
INI
<|file_sep|>original/root/src/partials/_dontMiss.html <section class="thin-div"> <div class="center">Don't Miss</div> </section> <section class="dont-miss"> <% data.forEach(function(story) { %> <div class="story"> <div class="padded"> <a href="<%= story.link %>"> <img src="./assets/<%= stor...
<section class="thin-div"> <div class="center">Don't Miss</div> </section> <section class="dont-miss"> <% data.forEach(function(story) { %> <div class="story"> <div class="padded"> <a href="<%= story.link %>"> <img src="./assets/<%= story.image %>"></img> </a> <div class="small"...
<|file_sep|>original/root/src/partials/_dontMiss.html <section class="thin-div"> <div class="center">Don't Miss</div> </section> <section class="dont-miss"> <% data.forEach(function(story) { %> <div class="story"> <div class="padded"> <a href="<%= story.link %>"> <img src="./assets/<%= stor...
5bddadc272c2949ca4c75740acd95e6c44cb696a
root/src/partials/_dontMiss.html
root/src/partials/_dontMiss.html
HTML
<|file_sep|>original/sample/utils.py import os def open_lastrun_file(mode='r'): '''Open and return lastrun file.''' # path to data directory data_dir = os.path.join(os.path.dirname(os.path.dirname(__file__)), 'data') os.makedirs(data_dir, exist_ok=True) # path to lastrun file lastrun_path = ...
import os def open_lastrun_file(mode='r'): '''Open and return lastrun file.''' # path to data directory data_dir = os.path.expanduser('~/.local/share/classer/') os.makedirs(data_dir, exist_ok=True) # path to lastrun file lastrun_path = os.path.join(data_dir, 'lastrun.txt') return open(la...
<|file_sep|>original/sample/utils.py import os def open_lastrun_file(mode='r'): '''Open and return lastrun file.''' # path to data directory data_dir = os.path.join(os.path.dirname(os.path.dirname(__file__)), 'data') os.makedirs(data_dir, exist_ok=True) # path to lastrun file lastrun_path = ...
4dc2bb7e2973f39dabb267fb8d6782fe61fe36a9
sample/utils.py
sample/utils.py
Python
<|file_sep|>.travis.yml.diff original: updated: cache: directories: - $HOME/.cache/pip - $HOME/.pip-accel before_cache: - rm -f $HOME/.cache/pip/log/debug.log <|file_sep|>original/.travis.yml postgresql: "9.4" before_script: - psql -c "CREATE DATABASE wye" -U postgres install: - pip install --upgrade...
- $HOME/.pip-accel before_cache: - rm -f $HOME/.cache/pip/log/debug.log before_script: - psql -c "CREATE DATABASE wye" -U postgres install: - pip install pip-accel - pip-accel install -r requirements/dev.txt - pip-accel install python-coveralls script: - flake8 - py.test --cov --fail-on-template-vars --splint...
<|file_sep|>.travis.yml.diff original: updated: cache: directories: - $HOME/.cache/pip - $HOME/.pip-accel before_cache: - rm -f $HOME/.cache/pip/log/debug.log <|file_sep|>original/.travis.yml postgresql: "9.4" before_script: - psql -c "CREATE DATABASE wye" -U postgres install: - pip install --upgrade...
291c78e4b043d563cf19dad0bec6f9c847dcc8ff
.travis.yml
.travis.yml
YAML
<|file_sep|>original/app/scripts/components/home/home.jsx import { Link } from 'react-router-dom'; import Countdown from './countdown.jsx'; import State from './state.jsx'; import Quote from './quote.jsx'; export default function Home() { return ( <> <div className="wrapper text"> ...
import { Link } from 'react-router-dom'; import Countdown from './countdown.jsx'; import State from './state.jsx'; import Quote from './quote.jsx'; export default function Home() { return ( <> <div className="wrapper text"> <h2 className="home-title color-primary mbm">Welcome</...
<|file_sep|>original/app/scripts/components/home/home.jsx import { Link } from 'react-router-dom'; import Countdown from './countdown.jsx'; import State from './state.jsx'; import Quote from './quote.jsx'; export default function Home() { return ( <> <div className="wrapper text"> ...
1305c813759af89087223961643dc987f33991aa
app/scripts/components/home/home.jsx
app/scripts/components/home/home.jsx
JSX
<|file_sep|>README.md.diff original: updated: - circo <|file_sep|>README.md.diff original: updated: - fdp <|file_sep|>README.md.diff original: - circo updated: - osage <|file_sep|>original/README.md Viz("digraph g { x -> y -> z; }", { format: "plain" }); These engines are supported: - dot - neato - circo - twop...
Viz("digraph g { x -> y -> z; }", { format: "plain" }); These engines are supported: - circo - dot - fdp - neato - osage - twopi These formats are supported: - svg - xdot - plain - ps ## Build To build from source, you will need to install the Emscripten SDK: http://kripken.github.io/emscripten-site/docs/gett...
<|file_sep|>README.md.diff original: updated: - circo <|file_sep|>README.md.diff original: updated: - fdp <|file_sep|>README.md.diff original: - circo updated: - osage <|file_sep|>original/README.md Viz("digraph g { x -> y -> z; }", { format: "plain" }); These engines are supported: - dot - neato - circo - twop...
a45285bd640ff297c7e399318d39312d0a9d28c3
README.md
README.md
Markdown
<|file_sep|>original/service/build-all.sh #!/bin/sh mkdir bin env GOOS=linux GOARCH=arm go build -o bin/watchcat-arm env GOOS=linux GOARCH=amd64 go build -o bin/watchcat-linux env GOOS=darwin GOARCH=amd64 go build -o bin/watchcat-macos env GOOS=windows GOARCH=amd64 go build -o bin/watchcat-win <|file_sep|>current/serv...
#!/bin/sh mkdir bin env GOOS=linux GOARCH=arm go build -ldflags "-s -w" -o bin/watchcat-arm env GOOS=linux GOARCH=amd64 go build -ldflags "-s -w" -o bin/watchcat-linux env GOOS=darwin GOARCH=amd64 go build -ldflags "-s -w" -o bin/watchcat-macos env GOOS=windows GOARCH=amd64 go build -ldflags "-s -w" -o bin/watchcat-wi...
<|file_sep|>original/service/build-all.sh #!/bin/sh mkdir bin env GOOS=linux GOARCH=arm go build -o bin/watchcat-arm env GOOS=linux GOARCH=amd64 go build -o bin/watchcat-linux env GOOS=darwin GOARCH=amd64 go build -o bin/watchcat-macos env GOOS=windows GOARCH=amd64 go build -o bin/watchcat-win <|file_sep|>current/serv...
e941bdf02ed6d276d1b444b3ad2870e80251f7fb
service/build-all.sh
service/build-all.sh
Shell
<|file_sep|>original/app/views/forums/index.atom.builder atom_feed do |feed| if @user feed.title("LinuxFr.org : les posts de #{@user.name}") else feed.title("LinuxFr.org : les forums") end feed.updated(@nodes.first.try :created_at) feed.icon("/favicon.png") @nodes.each do |node| post = node.con...
atom_feed do |feed| if @user feed.title("LinuxFr.org : les posts de #{@user.name}") else feed.title("LinuxFr.org : les forums") end feed.updated(@nodes.first.try :created_at) feed.icon("/favicon.png") @nodes.each do |node| post = node.content feed.entry(post, :url => forum_post_url(:forum_i...
<|file_sep|>original/app/views/forums/index.atom.builder atom_feed do |feed| if @user feed.title("LinuxFr.org : les posts de #{@user.name}") else feed.title("LinuxFr.org : les forums") end feed.updated(@nodes.first.try :created_at) feed.icon("/favicon.png") @nodes.each do |node| post = node.con...
dd23106a1a8617b73797771046b4736686a338ef
app/views/forums/index.atom.builder
app/views/forums/index.atom.builder
Ruby
<|file_sep|>original/app/assets/javascripts/helpers/prop_types.js saveNotes: nullable(React.PropTypes.string).isRequired }), api: React.PropTypes.shape({ saveNotes: React.PropTypes.func.isRequired }), // The feed of all notes and data entered in Student Insights for // a student. fe...
requests: React.PropTypes.shape({ saveNotes: nullable(React.PropTypes.string).isRequired }), api: React.PropTypes.shape({ saveNotes: React.PropTypes.func.isRequired }), // The feed of all notes and data entered in Student Insights for // a student. feed: React.PropTypes.shape({ ...
<|file_sep|>original/app/assets/javascripts/helpers/prop_types.js saveNotes: nullable(React.PropTypes.string).isRequired }), api: React.PropTypes.shape({ saveNotes: React.PropTypes.func.isRequired }), // The feed of all notes and data entered in Student Insights for // a student. fe...
8f9737a551807974a261c4afa1a1c48f0eedf2a3
app/assets/javascripts/helpers/prop_types.js
app/assets/javascripts/helpers/prop_types.js
JavaScript
<|file_sep|>original/context.go func NewContext() *Context { m := make(map[string]interface{}) return &Context{m: m} } func (c *Context) Get(key string) (interface{}, error) { c.mu.RLock() defer c.mu.RUnlock() val := c.m[key] if val == nil { return nil, fmt.Errorf("stack.Context: key '%s' does not exist", key)...
func NewContext() *Context { m := make(map[string]interface{}) return &Context{m: m} } func (c *Context) Get(key string) (interface{}, error) { c.mu.RLock() defer c.mu.RUnlock() val := c.m[key] if val == nil { return nil, fmt.Errorf("stack.Context: key %q does not exist", key) } return val, nil } func (c *C...
<|file_sep|>original/context.go func NewContext() *Context { m := make(map[string]interface{}) return &Context{m: m} } func (c *Context) Get(key string) (interface{}, error) { c.mu.RLock() defer c.mu.RUnlock() val := c.m[key] if val == nil { return nil, fmt.Errorf("stack.Context: key '%s' does not exist", key)...
10adbb2bdfa621ae3ac43736bd1a23781988b6ea
context.go
context.go
Go
<|file_sep|>app/models/calendar_invite.rb.diff original: updated: event.dtstart = outcome.poll_option.name.to_date <|file_sep|>app/models/calendar_invite.rb.diff original: updated: event.dtstart = Icalendar::Values::DateTime.new(date_time(outcome.poll_option.name), tzid: 'UTC') <|file_sep|...
return unless outcome.poll_option && outcome.dates_as_options Icalendar::Calendar.new.tap do |calendar| calendar.event do |event| if outcome.poll_option.name.match /^\d+-\d+-\d+$/ event.duration = "+P0W1D0H0M" event.dtstart = outcome.poll_option.name.to_date else ...
<|file_sep|>app/models/calendar_invite.rb.diff original: updated: event.dtstart = outcome.poll_option.name.to_date <|file_sep|>app/models/calendar_invite.rb.diff original: updated: event.dtstart = Icalendar::Values::DateTime.new(date_time(outcome.poll_option.name), tzid: 'UTC') <|file_sep|...
8725fac015572a7c4c1a4180f5f0e445df195b92
app/models/calendar_invite.rb
app/models/calendar_invite.rb
Ruby
<|file_sep|>original/data/transition-sites/defra_vla.yml --- site: defra_vla whitehall_slug: animal-health-and-veterinary-laboratories-agency homepage: https://www.gov.uk/government/organisations/animal-health-and-veterinary-laboratories-agency tna_timestamp: 20130904121313 host: vla.defra.gov.uk homepage_furl: www.gov...
--- site: defra_vla whitehall_slug: animal-health-and-veterinary-laboratories-agency homepage: https://www.gov.uk/government/organisations/animal-health-and-veterinary-laboratories-agency tna_timestamp: 20130904121313 host: vla.defra.gov.uk homepage_furl: www.gov.uk/ahvla aliases: - animalhealth.defra.gov.uk - ahvla.de...
<|file_sep|>original/data/transition-sites/defra_vla.yml --- site: defra_vla whitehall_slug: animal-health-and-veterinary-laboratories-agency homepage: https://www.gov.uk/government/organisations/animal-health-and-veterinary-laboratories-agency tna_timestamp: 20130904121313 host: vla.defra.gov.uk homepage_furl: www.gov...
be5fecb57410ec238cb98616139a13c33c8a44db
data/transition-sites/defra_vla.yml
data/transition-sites/defra_vla.yml
YAML
<|file_sep|>original/meta-arago-extras/recipes-graphics/kmscube/kmscube_1.0.0.bb LICENSE = "BSD" LIC_FILES_CHKSUM = "file://kmscube.c;beginline=1;endline=23;md5=e760965096e52da8f3969dd53b6bf158" DEPENDS = "libdrm virtual/libgbm virtual/egl virtual/libgles2" COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k3" PACKAGE_ARCH ...
LICENSE = "BSD" LIC_FILES_CHKSUM = "file://kmscube.c;beginline=1;endline=23;md5=e760965096e52da8f3969dd53b6bf158" DEPENDS = "libdrm virtual/libgbm virtual/egl virtual/libgles2" COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k3" PACKAGE_ARCH = "${MACHINE_ARCH}" inherit autotools pkgconfig PR = "r14" SRCREV = "7bc7ff6c4e...
<|file_sep|>original/meta-arago-extras/recipes-graphics/kmscube/kmscube_1.0.0.bb LICENSE = "BSD" LIC_FILES_CHKSUM = "file://kmscube.c;beginline=1;endline=23;md5=e760965096e52da8f3969dd53b6bf158" DEPENDS = "libdrm virtual/libgbm virtual/egl virtual/libgles2" COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k3" PACKAGE_ARCH ...
e82f624cc8dafd94370de8487bfd234badf759fe
meta-arago-extras/recipes-graphics/kmscube/kmscube_1.0.0.bb
meta-arago-extras/recipes-graphics/kmscube/kmscube_1.0.0.bb
BitBake
<|file_sep|>original/autoroll/config/flutter-plugins-flutter.json <|file_sep|>current/autoroll/config/flutter-plugins-flutter.json <|file_sep|>updated/autoroll/config/flutter-plugins-flutter.json
// See https://skia.googlesource.com/buildbot.git/+show/master/autoroll/go/roller/config.go#130 // for documentation of the autoroller config. { "childDisplayName": "Plugins", "commitMsg": { "childLogURLTmpl": "https://github.com/flutter/plugins/compare/{{.RollingFrom}}...{{.RollingTo}}", "includeLog": true...
<|file_sep|>original/autoroll/config/flutter-plugins-flutter.json <|file_sep|>current/autoroll/config/flutter-plugins-flutter.json <|file_sep|>updated/autoroll/config/flutter-plugins-flutter.json // See https://skia.googlesource.com/buildbot.git/+show/master/autoroll/go/roller/config.go#130 // for documentation of th...
64726cf4796c0c6a97bed46051d126d5bd8630b5
autoroll/config/flutter-plugins-flutter.json
autoroll/config/flutter-plugins-flutter.json
JSON
<|file_sep|>original/roles/tmux/tasks/main.yml --- - name: Install tmux become: true package: name: tmux state: installed when: only_config is not defined - name: Symlink config and theme become: true file: src: "{{ role_path }}/files/{{ item }}" dest: "/etc/{{ item }}" state: link with...
--- - name: Install tmux become: true package: name: tmux state: installed when: only_config is not defined - name: Symlink config and theme become: true file: src: "{{ role_path }}/files/{{ item }}" dest: "~/.{{ item }}" state: link with_items: - tmux.conf - tmux_theme.conf
<|file_sep|>original/roles/tmux/tasks/main.yml --- - name: Install tmux become: true package: name: tmux state: installed when: only_config is not defined - name: Symlink config and theme become: true file: src: "{{ role_path }}/files/{{ item }}" dest: "/etc/{{ item }}" state: link with...
a5652251b0143d74315af169b1741a8277ed7f85
roles/tmux/tasks/main.yml
roles/tmux/tasks/main.yml
YAML
<|file_sep|>code/controllers/subsystem/server_maintenance.dm.diff original: message_admins("This server is on the SS13 hub.") updated: world.log << "This server has hub broadcast enabled." <|file_sep|>original/code/controllers/subsystem/server_maintenance.dm wait = 6000 flags = SS_NO_TICK_CHECK /datum/subsystem/...
wait = 6000 flags = SS_NO_TICK_CHECK /datum/subsystem/server_maint/New() NEW_SS_GLOBAL(SSserver) /datum/subsystem/server_maint/Initialize(timeofday) if (config.hub) world.log << "This server has hub broadcast enabled." world.visibility = 1 else world.log << "This server has hub broadcast disabled." ..() ...
<|file_sep|>code/controllers/subsystem/server_maintenance.dm.diff original: message_admins("This server is on the SS13 hub.") updated: world.log << "This server has hub broadcast enabled." <|file_sep|>original/code/controllers/subsystem/server_maintenance.dm wait = 6000 flags = SS_NO_TICK_CHECK /datum/subsystem/...
8bcfe832ac30da108c0df6a6a7623ced9738722d
code/controllers/subsystem/server_maintenance.dm
code/controllers/subsystem/server_maintenance.dm
DM
<|file_sep|>extensions.py.diff original: updated: <|file_sep|>original/extensions.py process = subprocess.Popen(command, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE) out, err = process.communicate(data) if process.returncode: return None, ...
if process.returncode: return None, err else: _, ext = os.path.splitext(filename) dest = filename.replace(ext, '.js') return dest, out @extension def dest(filename, data): destination = dest.settings.get('destination') if destination: if not os.path.exists(dest...
<|file_sep|>extensions.py.diff original: updated: <|file_sep|>original/extensions.py process = subprocess.Popen(command, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE) out, err = process.communicate(data) if process.returncode: return None, ...
901e6cc8bdafcd6e6d419ffd5eee4e58d266d40a
extensions.py
extensions.py
Python
<|file_sep|>NBNPhotoChooser.podspec.diff original: s.version = "0.0.4" updated: s.version = "0.0.5" <|file_sep|>NBNPhotoChooser.podspec.diff original: s.homepage = "https://github.com/nerdishbynature/#{s.name}" updated: s.homepage = "https://github.com/nerdishbynature/NBNPhotoChooser" <|file_s...
Pod::Spec.new do |s| s.name = "NBNPhotoChooser" s.version = "0.0.5" s.platform = :ios s.summary = "NBNPhotoChooser is an example implementation of the Tumblr Photo Chooser." s.homepage = "https://github.com/nerdishbynature/NBNPhotoChooser" s.license = { :type => 'MIT', :file =...
<|file_sep|>NBNPhotoChooser.podspec.diff original: s.version = "0.0.4" updated: s.version = "0.0.5" <|file_sep|>NBNPhotoChooser.podspec.diff original: s.homepage = "https://github.com/nerdishbynature/#{s.name}" updated: s.homepage = "https://github.com/nerdishbynature/NBNPhotoChooser" <|file_s...
ba4e0f44526067d24a4fae19a56141f4123be55b
NBNPhotoChooser.podspec
NBNPhotoChooser.podspec
Ruby
<|file_sep|>original/config/private_pub.yml development: server: "http://54.191.23.117:9292/faye" secret_token: "04e13fcc7f1c88f81608101e49220698241472f1a5578a485b818cb328d237c2" signature_expiration: 3600 # one hour test: server: "http://54.191.23.117:9292/faye" secret_token: "secret" production: server: "...
development: server: "http://54.191.23.117:9292/faye" secret_token: "04e13fcc7f1c88f81608101e49220698241472f1a5578a485b818cb328d237c2" signature_expiration: 3600 # one hour test: server: "http://54.191.23.117:9292/faye" secret_token: "secret" production: server: "http://54.191.23.117:9292/faye" secret_tok...
<|file_sep|>original/config/private_pub.yml development: server: "http://54.191.23.117:9292/faye" secret_token: "04e13fcc7f1c88f81608101e49220698241472f1a5578a485b818cb328d237c2" signature_expiration: 3600 # one hour test: server: "http://54.191.23.117:9292/faye" secret_token: "secret" production: server: "...
b5c50a2eb1a9cfc957a7a60f7387f8ee71999f8a
config/private_pub.yml
config/private_pub.yml
YAML
<|file_sep|>tests/src/rules/no-mutable-exports.js.diff original: errors: ['Exporting mutable \'let\' binding, use const instead.'], updated: errors: ['Exporting mutable \'let\' binding, use \'const\' instead.'], <|file_sep|>original/tests/src/rules/no-mutable-exports.js import rule from 'rules/no-mutable-ex...
import rule from 'rules/no-mutable-exports' const ruleTester = new RuleTester() ruleTester.run('no-mutable-exports', rule, { valid: [ test({ code: 'export const count = 1'}), test({ code: 'export function getCount() {}'}), test({ code: 'export class Counter {}'}), ], invalid: [ test({ code...
<|file_sep|>tests/src/rules/no-mutable-exports.js.diff original: errors: ['Exporting mutable \'let\' binding, use const instead.'], updated: errors: ['Exporting mutable \'let\' binding, use \'const\' instead.'], <|file_sep|>original/tests/src/rules/no-mutable-exports.js import rule from 'rules/no-mutable-ex...
38b95bf13437432533a3ab02a80bef5ef143b8d8
tests/src/rules/no-mutable-exports.js
tests/src/rules/no-mutable-exports.js
JavaScript
<|file_sep|>original/configuration/automation/hallways/lights.yaml <|file_sep|>current/configuration/automation/hallways/lights.yaml <|file_sep|>updated/configuration/automation/hallways/lights.yaml
- alias: Hallways Lights Off trigger: - entity_id: binary_sensor.house_motion platform: state from: 'on' to: 'off' for: hours: 0 minutes: 15 seconds: 0 action: - service: light.turn_off entity_id: light.hallways data: transition: 15 - alias: Hallways Lights On ...
<|file_sep|>original/configuration/automation/hallways/lights.yaml <|file_sep|>current/configuration/automation/hallways/lights.yaml <|file_sep|>updated/configuration/automation/hallways/lights.yaml - alias: Hallways Lights Off trigger: - entity_id: binary_sensor.house_motion platform: state from: 'on' ...
8665b83e473cd9969da36e9eb08a09addd71fb3e
configuration/automation/hallways/lights.yaml
configuration/automation/hallways/lights.yaml
YAML
<|file_sep|>original/pyrsss/usarray/info.py *info_link*, a link to a tab delineated text file containing information for each USArray MT site. """ df = PD.read_table(info_link, sep='\t', skiprows=1, names=['vnet', ...
*info_link*, a link to a tab delineated text file containing information for each USArray MT site. """ df = PD.read_csv(info_link, sep='\t', skiprows=1, names=['vnet', 'net', 'sta', ...
<|file_sep|>original/pyrsss/usarray/info.py *info_link*, a link to a tab delineated text file containing information for each USArray MT site. """ df = PD.read_table(info_link, sep='\t', skiprows=1, names=['vnet', ...
8c64757759e69f7aff84065db8da604dd43faded
pyrsss/usarray/info.py
pyrsss/usarray/info.py
Python
<|file_sep|>original/routemap/bin/launch_app.sh #!/bin/bash $SPLUNK_HOME/bin/splunk cmd node $(dirname $0)/app/app.js <|file_sep|>current/routemap/bin/launch_app.sh #!/bin/bash $SPLUNK_HOME/bin/splunk cmd node $(dirname $0)/app/app.js <|file_sep|>updated/routemap/bin/launch_app.sh
#!/bin/bash current_dir=$(dirname "$0") "$SPLUNK_HOME/bin/splunk" cmd node "$current_dir/app/app.js"
<|file_sep|>original/routemap/bin/launch_app.sh #!/bin/bash $SPLUNK_HOME/bin/splunk cmd node $(dirname $0)/app/app.js <|file_sep|>current/routemap/bin/launch_app.sh #!/bin/bash $SPLUNK_HOME/bin/splunk cmd node $(dirname $0)/app/app.js <|file_sep|>updated/routemap/bin/launch_app.sh #!/bin/bash current_dir=$(dir...
47e2b880c44315ccdbf7a0a7f0a4f8827deade6f
routemap/bin/launch_app.sh
routemap/bin/launch_app.sh
Shell
<|file_sep|>original/config/nconf.js var nconf = require('nconf'); nconf .file({ file: './config/config.json' }) .env(); nconf.defaults({ 'RIPPLE_REST_API': 'http://localhost:5990', 'DATABASE_URL': 'postgres://postgres:password@localhost:5432/ripple_gateway', 'RIPPLE_DATAMODEL_ADAPTER': 'ripple-gateway-data...
var nconf = require('nconf'); nconf .file({ file: './config/config.json' }) .env(); nconf.defaults({ 'RIPPLE_REST_API': 'http://localhost:5990', 'DATABASE_URL': 'postgres://postgres:password@localhost:5432/ripple_gateway', 'RIPPLE_DATAMODEL_ADAPTER': 'ripple-gateway-data-sequelize-adapter', 'RIPPLE_EXPRES...
<|file_sep|>original/config/nconf.js var nconf = require('nconf'); nconf .file({ file: './config/config.json' }) .env(); nconf.defaults({ 'RIPPLE_REST_API': 'http://localhost:5990', 'DATABASE_URL': 'postgres://postgres:password@localhost:5432/ripple_gateway', 'RIPPLE_DATAMODEL_ADAPTER': 'ripple-gateway-data...
ad80ebc41b0b9c4d2e083d75fbf90ab259741bbe
config/nconf.js
config/nconf.js
JavaScript
<|file_sep|>original/lib/themes/dosomething/paraneue_dosomething/templates/fact_page/fact-page-list.tpl.php * * Available Variables * - $links: Array of links, keyed by the cause name. */ ?> <section class="container container--facts-list"> <div class="wrapper"> <h2 class="container__title visually-hidden"><?ph...
* * Available Variables * - $links: Array of links, keyed by the cause name. */ ?> <section class="container container--facts-list"> <div class="wrapper"> <h2 class="container__title visually-hidden"><?php print t('List of All Facts'); ?></h2> <div class="container__body"> <?php foreach ($links as $cause =...
<|file_sep|>original/lib/themes/dosomething/paraneue_dosomething/templates/fact_page/fact-page-list.tpl.php * * Available Variables * - $links: Array of links, keyed by the cause name. */ ?> <section class="container container--facts-list"> <div class="wrapper"> <h2 class="container__title visually-hidden"><?ph...
525478f67ddcd02e55205ebae4b2d55f58cb239c
lib/themes/dosomething/paraneue_dosomething/templates/fact_page/fact-page-list.tpl.php
lib/themes/dosomething/paraneue_dosomething/templates/fact_page/fact-page-list.tpl.php
PHP
<|file_sep|>original/README.md ===================== Node module wrapping making restlet call to execute a saved search in netsuite. ## Installation npm install netsuite-saved-search ## Configuration Set up a restlet in netsuite that can generically invoke a saved search. function executeSavedSearch(opt...
if ( !options.searchId ) { return { error: 'Must provide the searchId of the saved search', options: options }; } return nlapiSearchRecord(null, options.searchId, null, null); } Once this restlet is deployed, make a note of the ```External URL``` in the deployment. Example: https://r...
<|file_sep|>original/README.md ===================== Node module wrapping making restlet call to execute a saved search in netsuite. ## Installation npm install netsuite-saved-search ## Configuration Set up a restlet in netsuite that can generically invoke a saved search. function executeSavedSearch(opt...
9e3e5fd47cf78597f0a0c1a4e75a342d0cfae066
README.md
README.md
Markdown
<|file_sep|>original/lib/knapsack.rb require 'singleton' require_relative 'knapsack/version' require_relative 'knapsack/config/env' require_relative 'knapsack/config/tracker' require_relative 'knapsack/logger' require_relative 'knapsack/tracker' require_relative 'knapsack/presenter' require_relative 'knapsack/report' r...
require 'singleton' require_relative 'knapsack/version' require_relative 'knapsack/config/env' require_relative 'knapsack/config/tracker' require_relative 'knapsack/logger' require_relative 'knapsack/tracker' require_relative 'knapsack/presenter' require_relative 'knapsack/report' require_relative 'knapsack/allocator' ...
<|file_sep|>original/lib/knapsack.rb require 'singleton' require_relative 'knapsack/version' require_relative 'knapsack/config/env' require_relative 'knapsack/config/tracker' require_relative 'knapsack/logger' require_relative 'knapsack/tracker' require_relative 'knapsack/presenter' require_relative 'knapsack/report' r...
d84060c5e71a401aade65d1a298df168693df51e
lib/knapsack.rb
lib/knapsack.rb
Ruby
<|file_sep|>src/Fixie.Samples/Skipped/CustomConvention.cs.diff original: using System.Reflection; updated: <|file_sep|>src/Fixie.Samples/Skipped/CustomConvention.cs.diff original: CaseExecution .Skip(SkipDueToClassLevelSkipAttribute, @case => "Whole class skipped") .Skip...
ClassExecution .Lifecycle<SkipLifecycle>(); } class SkipLifecycle : Lifecycle { public void Execute(TestClass testClass, Action<CaseAction> runCases) { var skipClass = testClass.Type.Has<SkipAttribute>(); var i...
<|file_sep|>src/Fixie.Samples/Skipped/CustomConvention.cs.diff original: using System.Reflection; updated: <|file_sep|>src/Fixie.Samples/Skipped/CustomConvention.cs.diff original: CaseExecution .Skip(SkipDueToClassLevelSkipAttribute, @case => "Whole class skipped") .Skip...
a323ab0d4b677d93b1171dceb5b49f76bab1d9f1
src/Fixie.Samples/Skipped/CustomConvention.cs
src/Fixie.Samples/Skipped/CustomConvention.cs
C#
<|file_sep|>original/src/Observers/BotNicknameObserver.php $this->configuration = $configuration; $this->logger = $logger; } /** * @param NicknameChangedEvent $event */ public function monitorBotNickname(NicknameChangedEvent $event): void { if ($event->getOldNickname()...
$this->configuration = $configuration; $this->logger = $logger; } /** * @param NicknameChangedEvent $event */ public function monitorBotNickname(NicknameChangedEvent $event): void { if ($event->getOldNickname() !== $this->configuration['currentNickname']) { ...
<|file_sep|>original/src/Observers/BotNicknameObserver.php $this->configuration = $configuration; $this->logger = $logger; } /** * @param NicknameChangedEvent $event */ public function monitorBotNickname(NicknameChangedEvent $event): void { if ($event->getOldNickname()...
af6a8046afc8c872e56ee6499997f90e84529141
src/Observers/BotNicknameObserver.php
src/Observers/BotNicknameObserver.php
PHP
<|file_sep|>original/.github/workflows/buildWindows.yml - name: Download OSMesa Binary run: | curl -L http://github.com/pal1000/mesa-dist-win/releases/download/19.1.6/mesa3d-19.1.6-release-mingw.7z -o mesa.7z 7z x mesa.7z mkdir .\Tests\bin\Debug\netcoreapp3.0\mesa mv .\x64\open...
run: | curl -L http://github.com/pal1000/mesa-dist-win/releases/download/19.1.6/mesa3d-19.1.6-release-mingw.7z -o mesa.7z 7z x mesa.7z mkdir .\Tests\bin\Debug\netcoreapp3.0\mesa mv .\x64\opengl32.dll .\Tests\bin\Debug\netcoreapp3.0\mesa\opengl32.dll ls .\Tests\bin\Debug\net...
<|file_sep|>original/.github/workflows/buildWindows.yml - name: Download OSMesa Binary run: | curl -L http://github.com/pal1000/mesa-dist-win/releases/download/19.1.6/mesa3d-19.1.6-release-mingw.7z -o mesa.7z 7z x mesa.7z mkdir .\Tests\bin\Debug\netcoreapp3.0\mesa mv .\x64\open...
3c6e94c8e0e3dd9901cd4f43068ac5b110c6e1da
.github/workflows/buildWindows.yml
.github/workflows/buildWindows.yml
YAML
<|file_sep|>original/.travis.yml language: ruby rvm: - "1.8.7" - "1.9.2" - "1.9.3" - jruby-18mode # JRuby in 1.8 mode - jruby-19mode # JRuby in 1.9 mode - rbx-18mode - rbx-19mode <|file_sep|>current/.travis.yml language: ruby rvm: - "1.8.7" - "1.9.2" - "1.9.3" - jruby-18mode # JRuby in 1.8 mode ...
language: ruby rvm: - "2.3.0"
<|file_sep|>original/.travis.yml language: ruby rvm: - "1.8.7" - "1.9.2" - "1.9.3" - jruby-18mode # JRuby in 1.8 mode - jruby-19mode # JRuby in 1.9 mode - rbx-18mode - rbx-19mode <|file_sep|>current/.travis.yml language: ruby rvm: - "1.8.7" - "1.9.2" - "1.9.3" - jruby-18mode # JRuby in 1.8 mode ...
0f3af39d1d07aea64050050f8d18f232922cee66
.travis.yml
.travis.yml
YAML
<|file_sep|>app/service.go.diff original: // DB returns a ServiceOption that sets the DB object for the service. func DB(db *sql.DB) ServiceOption { return func(s *Service) { s.db = db } } updated: <|file_sep|>app/service.go.diff original: func NewService(opts ...ServiceOption) *Service { updated: func NewService...
db *sql.DB logger log.Logger errorHandler errors.Handler } // NewService creates a new service object. func NewService(db *sql.DB, opts ...ServiceOption) *Service { s := new(Service) s.db = db for _, opt := range opts { opt(s) } // Default logger if s.logger == nil { s.logger = log.NewNopLogger(...
<|file_sep|>app/service.go.diff original: // DB returns a ServiceOption that sets the DB object for the service. func DB(db *sql.DB) ServiceOption { return func(s *Service) { s.db = db } } updated: <|file_sep|>app/service.go.diff original: func NewService(opts ...ServiceOption) *Service { updated: func NewService...
073ebeca719f9de2e5aa38cad1d95b68b4766983
app/service.go
app/service.go
Go
<|file_sep|>original/config/initializers/rakismet.rb Rails.application.config.rakismet.key = ENV['AKISMET_KEY'] Rails.application.config.rakismet.url = 'http://refugerestrooms.org' <|file_sep|>current/config/initializers/rakismet.rb Rails.application.config.rakismet.key = ENV['AKISMET_KEY'] Rails.application.config.rak...
Rails.application.config.rakismet.key = ENV['AKISMET_KEY'] || 'test' Rails.application.config.rakismet.url = 'http://refugerestrooms.org'
<|file_sep|>original/config/initializers/rakismet.rb Rails.application.config.rakismet.key = ENV['AKISMET_KEY'] Rails.application.config.rakismet.url = 'http://refugerestrooms.org' <|file_sep|>current/config/initializers/rakismet.rb Rails.application.config.rakismet.key = ENV['AKISMET_KEY'] Rails.application.config.rak...
a55b1cc11cf68f9844bf5d8cd792d0889b86718b
config/initializers/rakismet.rb
config/initializers/rakismet.rb
Ruby
<|file_sep|>original/src/defaults.js 'bower_components', 'coverage', 't{e, }mp', '*.min.js', '*.log', 'bundle.js', 'fixture{-*,}.{js,jsx}', 'spec', 'test{s, }', 'fixture{s, }', 'vendor', 'dist' ] export const DEFAULT_CONFIG = { output: '{name}.dist.{ext}', plugins: [], rules: [] } export...
'bower_components', 'coverage', 't{e, }mp', '*.min.js', '*.log', 'bundle.js', 'fixture{-*,}.{js,jsx}', 'spec', 'test{s, }', 'fixture{s, }', 'vendor', 'dist' ] export const DEFAULT_CONFIG = { outputPath: '{name}.dist.{ext}', plugins: [], rules: [] } export const template = Template.create...
<|file_sep|>original/src/defaults.js 'bower_components', 'coverage', 't{e, }mp', '*.min.js', '*.log', 'bundle.js', 'fixture{-*,}.{js,jsx}', 'spec', 'test{s, }', 'fixture{s, }', 'vendor', 'dist' ] export const DEFAULT_CONFIG = { output: '{name}.dist.{ext}', plugins: [], rules: [] } export...
13a6b7c5bc2f5203a9de1902f09b7e9d3e1c1482
src/defaults.js
src/defaults.js
JavaScript
<|file_sep|>original/.travis.yml sudo: required dist: trusty language: ruby cache: bundler matrix: include: - rvm: 1.9.3 - rvm: 2.2.8 - rvm: 2.4.2 # see https://github.com/travis-ci/travis-ci/issues/6471 - rvm: jruby-9.1.14.0 env: JRUBY_OPTS="" before_install: - "sudo apt-get update" - "...
sudo: required dist: trusty language: ruby cache: bundler matrix: include: - rvm: 1.9.3 - rvm: 2.2.8 - rvm: 2.4.2 # see https://github.com/travis-ci/travis-ci/issues/6471 - rvm: jruby-9.1.14.0 env: JRUBY_OPTS="" before_install: - "sudo apt-get update" - "sudo apt-get install -y libav-too...
<|file_sep|>original/.travis.yml sudo: required dist: trusty language: ruby cache: bundler matrix: include: - rvm: 1.9.3 - rvm: 2.2.8 - rvm: 2.4.2 # see https://github.com/travis-ci/travis-ci/issues/6471 - rvm: jruby-9.1.14.0 env: JRUBY_OPTS="" before_install: - "sudo apt-get update" - "...
50d060ff03556498d43c271afcf2cca02da4e158
.travis.yml
.travis.yml
YAML
<|file_sep|>src/Validator/Constraints/TimezoneValidator.php.diff original: private Localization $localization; public function __construct(Localization $localization) { $this->localization = $localization; updated: public function __construct( private Localization $localization, ) {...
class TimezoneValidator extends ConstraintValidator { public function __construct( private Localization $localization, ) { } /** * {@inheritdoc} */ public function validate($value, Constraint $constraint): void { if (in_array($value, array_column($this->localization->g...
<|file_sep|>src/Validator/Constraints/TimezoneValidator.php.diff original: private Localization $localization; public function __construct(Localization $localization) { $this->localization = $localization; updated: public function __construct( private Localization $localization, ) {...
53a54d8b61b8fa8dc2b3d11e5f691390e2c1cdbd
src/Validator/Constraints/TimezoneValidator.php
src/Validator/Constraints/TimezoneValidator.php
PHP
<|file_sep|>original/vendor/plugins/inquiries/app/views/admin/inquiries/_inquiry.html.erb <li class='clearfix record <%= cycle("on", "on-hover") %>'> <span class='title'> <%= link_to t('.said', :who => h(inquiry.name)), admin_inquiry_url(inquiry) %> <span class="preview"><%= truncate(strip_tags(inquiry.messag...
<li class='clearfix record <%= cycle("on", "on-hover") %>'> <span class='title'> <%= link_to (h(inquiry.name)), admin_inquiry_url(inquiry) %> <%= t('.said') %> <span class="preview"><%= truncate(strip_tags(inquiry.message), :length => 60) -%></span> </span> <span class='actions'> <%= link_to refinery_...
<|file_sep|>original/vendor/plugins/inquiries/app/views/admin/inquiries/_inquiry.html.erb <li class='clearfix record <%= cycle("on", "on-hover") %>'> <span class='title'> <%= link_to t('.said', :who => h(inquiry.name)), admin_inquiry_url(inquiry) %> <span class="preview"><%= truncate(strip_tags(inquiry.messag...
3918cac3e4192e7d24d58c1b89a68f05ce740b87
vendor/plugins/inquiries/app/views/admin/inquiries/_inquiry.html.erb
vendor/plugins/inquiries/app/views/admin/inquiries/_inquiry.html.erb
HTML+ERB