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/docker/README.md # Docker These files can be used for running Algernon as a docker container. build_prod.sh and run_prod.sh is for building and running the production image for Algernon. This image will serve both HTTP and HTTPS+HTTP/2. Please adjust the Dockerfile for your needs. In particular, ...
# Docker These files can be used for running Algernon as a docker container. build_prod.sh and run_prod.sh is for building and running the production image for Algernon. This image will serve both HTTP and HTTPS+HTTP/2. Please adjust the Dockerfile for your needs. In particular, the caching is too aggressive if you h...
<|file_sep|>original/docker/README.md # Docker These files can be used for running Algernon as a docker container. build_prod.sh and run_prod.sh is for building and running the production image for Algernon. This image will serve both HTTP and HTTPS+HTTP/2. Please adjust the Dockerfile for your needs. In particular, ...
db2002ae1af7dba8bbee47c1f4e1918d5e67ce14
docker/README.md
docker/README.md
Markdown
<|file_sep|>recipes/commentjson/meta.yaml.diff original: - python updated: - python>=3.6 <|file_sep|>original/recipes/commentjson/meta.yaml build: noarch: python number: 0 script: "{{ PYTHON }} -m pip install . -vv" requirements: host: - python - pip run: - python - lark-parser <0.8.0...
build: noarch: python number: 0 script: "{{ PYTHON }} -m pip install . -vv" requirements: host: - python>=3.6 - pip run: - python>=3.6 - lark-parser <0.8.0,>=0.7.1 test: imports: - commentjson - commentjson.tests requires: - pip commands: - pip check
<|file_sep|>recipes/commentjson/meta.yaml.diff original: - python updated: - python>=3.6 <|file_sep|>original/recipes/commentjson/meta.yaml build: noarch: python number: 0 script: "{{ PYTHON }} -m pip install . -vv" requirements: host: - python - pip run: - python - lark-parser <0.8.0...
d6cc897518e0e0a5714b0c216885f6b0ea1b4c7b
recipes/commentjson/meta.yaml
recipes/commentjson/meta.yaml
YAML
<|file_sep|>original/.travis.yml rvm: 2.2 sudo: required # install the pre-release chef-dk. Use chef-stable-precise to install the stable release addons: apt: sources: - chef-current-precise packages: - chefdk services: docker env: matrix: - INSTANCE=default-ubuntu-1404 - INSTANCE=defau...
sudo: required # install the pre-release chef-dk. Use chef-stable-precise to install the stable release addons: apt: sources: - chef-current-precise packages: - chefdk services: docker env: matrix: - INSTANCE=default-ubuntu-1404 - INSTANCE=default-ubuntu-1204 - INSTANCE=default-centos-...
<|file_sep|>original/.travis.yml rvm: 2.2 sudo: required # install the pre-release chef-dk. Use chef-stable-precise to install the stable release addons: apt: sources: - chef-current-precise packages: - chefdk services: docker env: matrix: - INSTANCE=default-ubuntu-1404 - INSTANCE=defau...
ab8ecea18e271ff9fdb581139b21c229be14d816
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/addons/simulator/vcs/_vars.mk # Copyright 2016 Palmer Dabbelt <palmer@dabbelt.com> ifeq ($(SYNOPSYS_HOME),) $(error Running VCS requires SYNOPSYS_HOME to be set) endif ifeq ($(VCS_VERSION),) $(error Specify a VCS version as VCS_VERSION) endif VCS_HOME = $(SYNOPSYS_HOME)/vcs/$(VCS_VERSION) VC...
# Copyright 2016 Palmer Dabbelt <palmer@dabbelt.com> ifeq ($(SYNOPSYS_HOME),) $(error Running VCS requires SYNOPSYS_HOME to be set) endif ifeq ($(VCS_VERSION),) $(error Specify a VCS version as VCS_VERSION) endif ifeq ($(SNPSLMD_LICENSE_FILE),) $(error SNPSLMD_LICENSE_FILE needs to be exported for VCS to run) endif ...
<|file_sep|>original/src/addons/simulator/vcs/_vars.mk # Copyright 2016 Palmer Dabbelt <palmer@dabbelt.com> ifeq ($(SYNOPSYS_HOME),) $(error Running VCS requires SYNOPSYS_HOME to be set) endif ifeq ($(VCS_VERSION),) $(error Specify a VCS version as VCS_VERSION) endif VCS_HOME = $(SYNOPSYS_HOME)/vcs/$(VCS_VERSION) VC...
dd393d5fd17887cadbd47f4f995d74914cf4403a
src/addons/simulator/vcs/_vars.mk
src/addons/simulator/vcs/_vars.mk
Makefile
<|file_sep|>original/README.md # Installing To use `osfclient` install its dependencies with `pip install -r requirements.txt`. Install the library itself in development mode with: ``` pip install -e . ``` To participate in the development install the development requirements from `devRequirements.txt`. Run the test...
mode with: ``` pip install -e . ``` To participate in the development install the development requirements from `devRequirements.txt`. Run the tests by executing `pytest` in the top level directory. # Usage This project provides two things: a python library and a command-line program for interacting with files stor...
<|file_sep|>original/README.md # Installing To use `osfclient` install its dependencies with `pip install -r requirements.txt`. Install the library itself in development mode with: ``` pip install -e . ``` To participate in the development install the development requirements from `devRequirements.txt`. Run the test...
95b0fc03ada04d5bc8ad97069dc9220a95691925
README.md
README.md
Markdown
<|file_sep|>original/run_python.sh export TERM=xterm source /broad/software/scripts/useuse reuse UGER reuse Python-3.4 echo "run_python.sh: user=$USER" echo "run_python.sh: host=$HOST" echo "run_python.sh: load="`uptime` $@ <|file_sep|>current/run_python.sh export TERM=xterm source /broad/software/scripts/useuse reu...
if [ ! -d /humgen/atgu1/fs03 ]; then echo "/humgen/atgu1/fs03 not found. Exiting.." exit -1 fi export TERM=xterm source /broad/software/scripts/useuse reuse UGER reuse Python-3.4 echo "run_python.sh: user=$USER" echo "run_python.sh: host=$HOST" echo "run_python.sh: load="`uptime` $@
<|file_sep|>original/run_python.sh export TERM=xterm source /broad/software/scripts/useuse reuse UGER reuse Python-3.4 echo "run_python.sh: user=$USER" echo "run_python.sh: host=$HOST" echo "run_python.sh: load="`uptime` $@ <|file_sep|>current/run_python.sh export TERM=xterm source /broad/software/scripts/useuse reu...
a9025a46d5c3e2f98d23662063a17b352a6da80b
run_python.sh
run_python.sh
Shell
<|file_sep|>README.md.diff original: To host just put all files in app on a web-server updated: Install node.js <|file_sep|>original/README.md RostRecept ========== A little program that interacts with Riksdagens API to find what your riksdagsman voted for. Written using angular and is all client side with the REST A...
RostRecept ========== A little program that interacts with Riksdagens API to find what your riksdagsman voted for. Written using angular and is all client side with the REST API found at data.riksdagen.se. Install node.js Go to the folder for the project. First time run: npm install -g karma npm install -g grunt-...
<|file_sep|>README.md.diff original: To host just put all files in app on a web-server updated: Install node.js <|file_sep|>original/README.md RostRecept ========== A little program that interacts with Riksdagens API to find what your riksdagsman voted for. Written using angular and is all client side with the REST A...
cb9f575b0c6c7427810eb85a287cdbe3daa1019c
README.md
README.md
Markdown
<|file_sep|>original/requirements.txt argparse >= 1.2.1 twisted >= 12.0.0 requests >= 2.0.0 pyyaml jsonschema >= 1.0.0 beautifulsoup4 pyopenssl tvdb_api repoze.lru pygeoip sqlalchemy < 0.9.0 dataset < 0.4.0 python-instagram simplejson >= 3.0.0 httplib2 >= 0.8.0 feedparser >= 5.1.3 service_identity python-dateutil >= 2....
argparse >= 1.2.1 twisted >= 12.0.0 requests >= 2.0.0 pyyaml jsonschema >= 1.0.0 beautifulsoup4 pyopenssl ndg-httpsclient pyasn1 tvdb_api repoze.lru pygeoip sqlalchemy < 0.9.0 dataset < 0.4.0 python-instagram simplejson >= 3.0.0 httplib2 >= 0.8.0 feedparser >= 5.1.3 service_identity python-dateutil >= 2.2
<|file_sep|>original/requirements.txt argparse >= 1.2.1 twisted >= 12.0.0 requests >= 2.0.0 pyyaml jsonschema >= 1.0.0 beautifulsoup4 pyopenssl tvdb_api repoze.lru pygeoip sqlalchemy < 0.9.0 dataset < 0.4.0 python-instagram simplejson >= 3.0.0 httplib2 >= 0.8.0 feedparser >= 5.1.3 service_identity python-dateutil >= 2....
7c643501c6390233a0902a289256439b0ec0942b
requirements.txt
requirements.txt
Text
<|file_sep|>original/test/start_cluster.js 'use strict'; process.env = require('../env.json'); var cluster = require('../src/server/index'); cluster({ master: function() { var master = new cluster.Master({ spinTimeout: 100, graceful: new cluster.Graceful() }); master.start(); // setTi...
'use strict'; var path = require('path'); var core = require('thehelp-core'); core.env.merge(path.join(__dirname, '../env.json')); var cluster = require('../src/server/index'); cluster({ master: function() { var master = new cluster.Master({ spinTimeout: 100, graceful: new cluster.Graceful() }...
<|file_sep|>original/test/start_cluster.js 'use strict'; process.env = require('../env.json'); var cluster = require('../src/server/index'); cluster({ master: function() { var master = new cluster.Master({ spinTimeout: 100, graceful: new cluster.Graceful() }); master.start(); // setTi...
1a4c54be19c88c203d734ced257191ccd4785aeb
test/start_cluster.js
test/start_cluster.js
JavaScript
<|file_sep|>lib/veritas/adapter/arango/visitor/function.rb.diff original: updated: # Base class for visitors with static root <|file_sep|>lib/veritas/adapter/arango/visitor/function.rb.diff original: updated: # Visitor for Veritas::Function::Proposition::Tautology <|file_sep|>original/lib/veritas/a...
# def root self.class::ROOT end # Visitor for Veritas::Function::Proposition::Tautology class Tautology < self ROOT = AQL::Node::Literal::Singleton::TRUE handle(Veritas::Function::Proposition::Tautology) end # Vi...
<|file_sep|>lib/veritas/adapter/arango/visitor/function.rb.diff original: updated: # Base class for visitors with static root <|file_sep|>lib/veritas/adapter/arango/visitor/function.rb.diff original: updated: # Visitor for Veritas::Function::Proposition::Tautology <|file_sep|>original/lib/veritas/a...
c42f833e677ad4db7ca7ad76506d1cfa9642534a
lib/veritas/adapter/arango/visitor/function.rb
lib/veritas/adapter/arango/visitor/function.rb
Ruby
<|file_sep|>original/.github/workflows/node.js.yml pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [12.x, 14.x, 16.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - uses: ...
pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [12.x, 14.x, 16.x, 18.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - uses: actions/checkout@v3 - name: Use Node.js $...
<|file_sep|>original/.github/workflows/node.js.yml pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [12.x, 14.x, 16.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - uses: ...
226b341ffc6a0e44211adee0f9b7d905ec683020
.github/workflows/node.js.yml
.github/workflows/node.js.yml
YAML
<|file_sep|>locales/cs/notes.properties.diff original: # LOCALIZATION NOTE (syncNotReady): Sync is intended as a generic # synchronization, not Firefox Sync. updated: <|file_sep|>original/locales/cs/notes.properties welcomeTitle=Vítejte! welcomeText=Toto je jednoduchý jednostránkový poznámkový blok integrovaný do Fire...
forgetEmail=Zapomenout tento e-mail syncNotReady=Omlouváme se, ale Sync zatím není připraven, vaše kliknutí však bereme jako hlas pro zrychlení! syncNotes=Synchronizovat poznámky syncProgress=Synchronizace změn… # LOCALIZATION NOTE (disableSync): Sync is intended as a generic # synchronization, not Firefox Sync. disab...
<|file_sep|>locales/cs/notes.properties.diff original: # LOCALIZATION NOTE (syncNotReady): Sync is intended as a generic # synchronization, not Firefox Sync. updated: <|file_sep|>original/locales/cs/notes.properties welcomeTitle=Vítejte! welcomeText=Toto je jednoduchý jednostránkový poznámkový blok integrovaný do Fire...
236f98d11edea38bfcc9a5ac2e2ae7278e36dbe5
locales/cs/notes.properties
locales/cs/notes.properties
INI
<|file_sep|>original/lib/keyline/resources/master_signature.rb module Keyline class MasterSignature include Resource include Writeable::Resource attributes :name, :mode, :folding_pattern, :layout, :first_page, :last_page writeable_attributes :name, :mode, :first_page, :last_page, :layout associ...
module Keyline class MasterSignature include Resource include Writeable::Resource attributes :name, :mode, :kind, :folding_pattern, :layout, :first_page, :last_page writeable_attributes :name, :mode, :kind, :folding_pattern, :layout, :first_page, :last_page associations :signatures def box ...
<|file_sep|>original/lib/keyline/resources/master_signature.rb module Keyline class MasterSignature include Resource include Writeable::Resource attributes :name, :mode, :folding_pattern, :layout, :first_page, :last_page writeable_attributes :name, :mode, :first_page, :last_page, :layout associ...
20fa66c8114cecaa906bbf920ed5f0f96e4b9e69
lib/keyline/resources/master_signature.rb
lib/keyline/resources/master_signature.rb
Ruby
<|file_sep|>notes/configuring-hound.md.diff original: updated: # Use Chrome with the default driver (selenium) config :hound, browser: "chrome" ``` ```elixir <|file_sep|>original/notes/configuring-hound.md config :hound, driver: "selenium" ``` ```elixir # Start with default driver at port 1234 and use firefox confi...
config :hound, driver: "selenium" ``` ```elixir # Use Chrome with the default driver (selenium) config :hound, browser: "chrome" ``` ```elixir # Start with default driver at port 1234 and use firefox config :hound, port: 1234, browser: "firefox" ``` ```elixir # Start Hound for PhantomJs config :hound, driver: "phant...
<|file_sep|>notes/configuring-hound.md.diff original: updated: # Use Chrome with the default driver (selenium) config :hound, browser: "chrome" ``` ```elixir <|file_sep|>original/notes/configuring-hound.md config :hound, driver: "selenium" ``` ```elixir # Start with default driver at port 1234 and use firefox confi...
6ec268301eed4def199ca458ddaf7925aeecfc51
notes/configuring-hound.md
notes/configuring-hound.md
Markdown
<|file_sep|>original/project.clj (defproject onyx-app/lein-template "0.9.7.0-beta1" :description "Onyx Leiningen application template" :url "https://github.com/onyx-platform/onyx-template" :license {:name "MIT License" :url "http://choosealicense.com/licenses/mit/#"} :repositories {"snapshots" {:url...
(defproject onyx-app/lein-template "0.9.7.0-SNAPSHOT" :description "Onyx Leiningen application template" :url "https://github.com/onyx-platform/onyx-template" :license {:name "MIT License" :url "http://choosealicense.com/licenses/mit/#"} :repositories {"snapshots" {:url "https://clojars.org/repo" ...
<|file_sep|>original/project.clj (defproject onyx-app/lein-template "0.9.7.0-beta1" :description "Onyx Leiningen application template" :url "https://github.com/onyx-platform/onyx-template" :license {:name "MIT License" :url "http://choosealicense.com/licenses/mit/#"} :repositories {"snapshots" {:url...
c9aa92c5af3d06f23868af60a7d4aab549f68abc
project.clj
project.clj
Clojure
<|file_sep|>original/plugins/aws/aws.plugin.zsh brew list awscli &> /dev/null } export AWS_HOME=~/.aws function agp { echo $AWS_DEFAULT_PROFILE } function asp { export AWS_DEFAULT_PROFILE=$1 export RPROMPT="<aws:$AWS_DEFAULT_PROFILE>" } function aws_profiles { reply=($(grep profile $AWS_HOME/config|sed -e '...
brew list awscli &> /dev/null } export AWS_HOME=~/.aws function agp { echo $AWS_DEFAULT_PROFILE } function asp { export AWS_DEFAULT_PROFILE=$1 export AWS_PROFILE=$1 export RPROMPT="<aws:$AWS_DEFAULT_PROFILE>$RPROMPT" } function aws_profiles { reply=($(grep profile $AWS_HOME/config|sed -e 's/.*profile \([a...
<|file_sep|>original/plugins/aws/aws.plugin.zsh brew list awscli &> /dev/null } export AWS_HOME=~/.aws function agp { echo $AWS_DEFAULT_PROFILE } function asp { export AWS_DEFAULT_PROFILE=$1 export RPROMPT="<aws:$AWS_DEFAULT_PROFILE>" } function aws_profiles { reply=($(grep profile $AWS_HOME/config|sed -e '...
29b789088323a896a3be36c8abc064d8171f87bb
plugins/aws/aws.plugin.zsh
plugins/aws/aws.plugin.zsh
Shell
<|file_sep|>original/requirements/build.txt # uild/requirements/build.txt # # Requirements necessary to build the ulid package. setuptools==41.0.0 <|file_sep|>current/requirements/build.txt # uild/requirements/build.txt # # Requirements necessary to build the ulid package. setuptools==41.0.0 <|file_sep|>updated/requi...
# uild/requirements/build.txt # # Requirements necessary to build the ulid package. setuptools==41.0.1
<|file_sep|>original/requirements/build.txt # uild/requirements/build.txt # # Requirements necessary to build the ulid package. setuptools==41.0.0 <|file_sep|>current/requirements/build.txt # uild/requirements/build.txt # # Requirements necessary to build the ulid package. setuptools==41.0.0 <|file_sep|>updated/requi...
f6459bafebbd1a1ffd71a8718bd5592c2e4dd59f
requirements/build.txt
requirements/build.txt
Text
<|file_sep|>original/metadata/org.ligi.ajsha.txt subdir=app gradle=NoAnalytics prebuild=sed -i '/play_services/d' build.gradle && \ sed -i '/android-sdk-manager/d' build.gradle Build:0.10,10 commit=0.10 subdir=app gradle=noAnalytics,forFDroid prebuild=sed -i -e '/play_services/d' -e...
subdir=app gradle=NoAnalytics prebuild=sed -i '/play_services/d' build.gradle && \ sed -i '/android-sdk-manager/d' build.gradle Build:0.10,10 commit=0.10 subdir=app gradle=noAnalytics,forFDroid prebuild=sed -i -e '/play_services/d' -e '/android-sdk-manager/d' build.gradle Build:0.1...
<|file_sep|>original/metadata/org.ligi.ajsha.txt subdir=app gradle=NoAnalytics prebuild=sed -i '/play_services/d' build.gradle && \ sed -i '/android-sdk-manager/d' build.gradle Build:0.10,10 commit=0.10 subdir=app gradle=noAnalytics,forFDroid prebuild=sed -i -e '/play_services/d' -e...
5a98f51c0e09695d4d19c16e84efde09a1dc7c63
metadata/org.ligi.ajsha.txt
metadata/org.ligi.ajsha.txt
Text
<|file_sep|>workflow/cli/src/main/java/com/asakusafw/workflow/cli/common/ExecutionContextParameter.java.diff original: updated: import com.asakusafw.workflow.executor.TaskExecutors; <|file_sep|>workflow/cli/src/main/java/com/asakusafw/workflow/cli/common/ExecutionContextParameter.java.diff original: updated: import c...
@Parameter( names = { "-B", "--batchapps" }, description = "Batch application base directory (ASAKUSA_BATCHAPPS_HOME).", required = false ) public String batchappsPath; private final BasicExecutionContext context = new BasicExecutionContext() .withEnviron...
<|file_sep|>workflow/cli/src/main/java/com/asakusafw/workflow/cli/common/ExecutionContextParameter.java.diff original: updated: import com.asakusafw.workflow.executor.TaskExecutors; <|file_sep|>workflow/cli/src/main/java/com/asakusafw/workflow/cli/common/ExecutionContextParameter.java.diff original: updated: import c...
7a999f17e30283eaf97ff2fd9733bc617a398b9c
workflow/cli/src/main/java/com/asakusafw/workflow/cli/common/ExecutionContextParameter.java
workflow/cli/src/main/java/com/asakusafw/workflow/cli/common/ExecutionContextParameter.java
Java
<|file_sep|>original/test/rospy.jl #Test basic rospy interactions init_node("jltest", anonymous=true) #Parameters @test length(RobotOS.get_param_names()) > 0 @test has_param("rosdistro") @test chomp(get_param("rosdistro")) in ["hydro", "indigo", "jade", "kinetic"] @test ! has_param("some_param") @test_throws KeyError ...
#Test basic rospy interactions init_node("jltest", anonymous=true) #Parameters @test length(RobotOS.get_param_names()) > 0 @test has_param("rosdistro") @test chomp(get_param("rosdistro")) in ["hydro", "indigo", "jade", "kinetic", "lunar"] @test ! has_param("some_param") @test_throws KeyError get_param("some_param") @t...
<|file_sep|>original/test/rospy.jl #Test basic rospy interactions init_node("jltest", anonymous=true) #Parameters @test length(RobotOS.get_param_names()) > 0 @test has_param("rosdistro") @test chomp(get_param("rosdistro")) in ["hydro", "indigo", "jade", "kinetic"] @test ! has_param("some_param") @test_throws KeyError ...
1644eb4683b68b5af0cb9c6db599e5e8aeda388d
test/rospy.jl
test/rospy.jl
Julia
<|file_sep|>original/sentry-stub/src/main/java/net/kencochrane/raven/sentrystub/SentryAuthenticationFilter.java <|file_sep|>current/sentry-stub/src/main/java/net/kencochrane/raven/sentrystub/SentryAuthenticationFilter.java <|file_sep|>updated/sentry-stub/src/main/java/net/kencochrane/raven/sentrystub/SentryAuthentica...
package net.kencochrane.raven.sentrystub; import net.kencochrane.raven.sentrystub.auth.AuthValidator; import net.kencochrane.raven.sentrystub.auth.InvalidAuthException; import javax.servlet.*; import javax.servlet.annotation.WebFilter; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServle...
<|file_sep|>original/sentry-stub/src/main/java/net/kencochrane/raven/sentrystub/SentryAuthenticationFilter.java <|file_sep|>current/sentry-stub/src/main/java/net/kencochrane/raven/sentrystub/SentryAuthenticationFilter.java <|file_sep|>updated/sentry-stub/src/main/java/net/kencochrane/raven/sentrystub/SentryAuthentica...
aded72cb5e3c46bc694a37f219795e0dd6c8e979
sentry-stub/src/main/java/net/kencochrane/raven/sentrystub/SentryAuthenticationFilter.java
sentry-stub/src/main/java/net/kencochrane/raven/sentrystub/SentryAuthenticationFilter.java
Java
<|file_sep|>original/.travis.yml script: "bundle exec rake ci" rvm: - 2.0.0 - 2.1.10 - 2.2.10 - 2.3.8 - 2.4.5 - 2.5.3 - 2.6.0 - ruby-head - jruby-9.1.5.0 - jruby-head matrix: allow_failures: - rvm: ruby-head - rvm: jruby-head fast_finish: true branches: only: master notifications: em...
rvm: - 2.0.0 - 2.1.10 - 2.2.10 - 2.3.8 - 2.4.5 - 2.5.3 - 2.6.0 - ruby-head - jruby-9.1.5.0 - jruby-head matrix: allow_failures: - rvm: ruby-head - rvm: jruby-head - rvm: jruby-9.1.5.0 fast_finish: true branches: only: master notifications: email: false
<|file_sep|>original/.travis.yml script: "bundle exec rake ci" rvm: - 2.0.0 - 2.1.10 - 2.2.10 - 2.3.8 - 2.4.5 - 2.5.3 - 2.6.0 - ruby-head - jruby-9.1.5.0 - jruby-head matrix: allow_failures: - rvm: ruby-head - rvm: jruby-head fast_finish: true branches: only: master notifications: em...
12357b96e0d5a0c48421d8d87c44195f7f9baeee
.travis.yml
.travis.yml
YAML
<|file_sep|>original/setup.py name='dj-email-url', version='1.0.4', url='https://github.com/migonzalvar/dj-email-url', license='BSD', author='Miguel Gonzalez', author_email='migonzalvar@gmail.com', description='Use an URL to configure email backend settings in your ' 'Django ...
name='dj-email-url', version='1.0.4', url='https://github.com/migonzalvar/dj-email-url', license='BSD', author='Miguel Gonzalez', author_email='migonzalvar@gmail.com', description='Use an URL to configure email backend settings in your ' 'Django Application.', long_descri...
<|file_sep|>original/setup.py name='dj-email-url', version='1.0.4', url='https://github.com/migonzalvar/dj-email-url', license='BSD', author='Miguel Gonzalez', author_email='migonzalvar@gmail.com', description='Use an URL to configure email backend settings in your ' 'Django ...
bf9f55d60087624df84c32ec6d1e5cf58045ed25
setup.py
setup.py
Python
<|file_sep|>original/spec/models/comment_spec.rb require 'rails_helper' RSpec.describe Comment do let(:comment) { build(:comment) } it "must be valid" do expect(comment).to be_valid end end <|file_sep|>current/spec/models/comment_spec.rb require 'rails_helper' RSpec.describe Comment do let(:comment) { bu...
require 'rails_helper' RSpec.describe Comment do let(:comment) { build(:comment) } it { should belong_to(:commentable) } it { should belong_to(:owner).class_name("User") } it { should have_many(:attachments) } it { should validate_presence_of(:content) } it { should validate_presence_of(:owner_id) } i...
<|file_sep|>original/spec/models/comment_spec.rb require 'rails_helper' RSpec.describe Comment do let(:comment) { build(:comment) } it "must be valid" do expect(comment).to be_valid end end <|file_sep|>current/spec/models/comment_spec.rb require 'rails_helper' RSpec.describe Comment do let(:comment) { bu...
c87489fd453866edb9f78dcdb019f64fa9260f66
spec/models/comment_spec.rb
spec/models/comment_spec.rb
Ruby
<|file_sep|>grammar/CMakeLists.txt.diff original: updated: include_directories(${GRAMMAR_SOURCE_DIR}) <|file_sep|>original/grammar/CMakeLists.txt add_library(grammar symbol.cpp terminal.cpp non_terminal.cpp ) <|file_sep|>current/grammar/CMakeLists.txt include_directories(${GRAMMAR_SOURCE_DIR}) add_libra...
include_directories(${GRAMMAR_SOURCE_DIR}) add_library(grammar symbol.cpp terminal.cpp non_terminal.cpp ) target_compile_options(grammar PUBLIC "-std=c++11")
<|file_sep|>grammar/CMakeLists.txt.diff original: updated: include_directories(${GRAMMAR_SOURCE_DIR}) <|file_sep|>original/grammar/CMakeLists.txt add_library(grammar symbol.cpp terminal.cpp non_terminal.cpp ) <|file_sep|>current/grammar/CMakeLists.txt include_directories(${GRAMMAR_SOURCE_DIR}) add_libra...
7689ad5c8aa3a3bd3541da535a3480757316a073
grammar/CMakeLists.txt
grammar/CMakeLists.txt
Text
<|file_sep|>lib/ex_twilio/resources/incoming_phone_number.ex.diff original: identity_sid: nil, updated: address_sid: nil, address_requirements: nil, api_version: nil, beta: nil, capabilities: nil, <|file_sep|>lib/ex_twilio/resources/incoming_phone_...
sms_url: nil, status: nil, # no longer used status_callback: nil, status_callback_method: nil, trunk_sid: nil, uri: nil, voice_application_sid: nil, voice_caller_id_lookup: nil, voice_fallback_method: nil, ...
<|file_sep|>lib/ex_twilio/resources/incoming_phone_number.ex.diff original: identity_sid: nil, updated: address_sid: nil, address_requirements: nil, api_version: nil, beta: nil, capabilities: nil, <|file_sep|>lib/ex_twilio/resources/incoming_phone_...
231d4d439735b1215e5f945cd83ec4f32346ea49
lib/ex_twilio/resources/incoming_phone_number.ex
lib/ex_twilio/resources/incoming_phone_number.ex
Elixir
<|file_sep|>original/ckanext/romania_theme/templates/footer.html {% ckan_extends %} {% block footer_links_ckan %} <li><a href="/termeni.html">Termeni și Condiții</a></li> <li><a href="/cookie.html">Politică Cookies</a></li> {% set api_url = 'http://docs.ckan.org/en/{0}/api/'.format(g.ckan_doc_version) %} <li>...
{% ckan_extends %} {% block footer_links_ckan %} <li><a href="/termeni.html">Termeni și Condiții</a></li> <li><a href="/cookie.html">Politică Cookies</a></li> {% set api_url = 'http://docs.ckan.org/en/{0}/api/'.format(g.ckan_doc_version) %} <li><a href="{{ api_url }}">{{ _('CKAN API') }}</a></li> <li><a hr...
<|file_sep|>original/ckanext/romania_theme/templates/footer.html {% ckan_extends %} {% block footer_links_ckan %} <li><a href="/termeni.html">Termeni și Condiții</a></li> <li><a href="/cookie.html">Politică Cookies</a></li> {% set api_url = 'http://docs.ckan.org/en/{0}/api/'.format(g.ckan_doc_version) %} <li>...
2b379e1e0e693fe668db49b0286cf87d167a18d2
ckanext/romania_theme/templates/footer.html
ckanext/romania_theme/templates/footer.html
HTML
<|file_sep|>original/game/hud/src/widgets/HUDFullScreen/graphql/fragments/strings/AlloyStatsFragment.ts thermConductivity slashingResistance piercingResistance crushingResistance acidResistance poisonResistance diseaseResistance earthResistance waterResistance fireResistance airResistance lightn...
weightBonus strengthRequirementBonus dexterityRequirementBonus vitalityRequirementBonus enduranceRequirementBonus attunementRequirementBonus willRequirementBonus faithRequirementBonus resonanceRequirementBonus fractureThresholdBonus fractureChanceBonus densityBonus malleabilityBonus meltingP...
<|file_sep|>original/game/hud/src/widgets/HUDFullScreen/graphql/fragments/strings/AlloyStatsFragment.ts thermConductivity slashingResistance piercingResistance crushingResistance acidResistance poisonResistance diseaseResistance earthResistance waterResistance fireResistance airResistance lightn...
ced6fcdd0563c0c867174a1c302f3a354ec8715b
game/hud/src/widgets/HUDFullScreen/graphql/fragments/strings/AlloyStatsFragment.ts
game/hud/src/widgets/HUDFullScreen/graphql/fragments/strings/AlloyStatsFragment.ts
TypeScript
<|file_sep|>original/utils/00-cinspect.py from cinspect import getsource, getfile import IPython.core.oinspect as OI from IPython.utils.py3compat import cast_unicode old_find_file = OI.find_file old_getsource = inspect.getsource inspect.getsource = getsource def patch_find_file(obj): fname = old_find_file(obj)...
def patch_find_file(obj): fname = old_find_file(obj) if fname is None: try: fname = cast_unicode(getfile(obj)) except: pass return fname OI.find_file = patch_find_file ipy = get_ipython() old_format = ipy.inspector.format def c_format(raw, *args, **kwargs): re...
<|file_sep|>original/utils/00-cinspect.py from cinspect import getsource, getfile import IPython.core.oinspect as OI from IPython.utils.py3compat import cast_unicode old_find_file = OI.find_file old_getsource = inspect.getsource inspect.getsource = getsource def patch_find_file(obj): fname = old_find_file(obj)...
9942b7b6e550ec6f76def44a7470f747c47b13a8
utils/00-cinspect.py
utils/00-cinspect.py
Python
<|file_sep|>original/Lib/test/test_pep3120.py ) self.assertEqual( "\П".encode("utf-8"), b'\\\xd0\x9f' ) def test_badsyntax(self): try: import test.badsyntax_pep3120 except SyntaxError as msg: self.assertTrue(str(msg).find("Non-...
) self.assertEqual( "\П".encode("utf-8"), b'\\\xd0\x9f' ) def test_badsyntax(self): try: import test.badsyntax_pep3120 except SyntaxError as msg: msg = str(msg) self.assertTrue('UTF-8' in msg or 'utf8' in msg) ...
<|file_sep|>original/Lib/test/test_pep3120.py ) self.assertEqual( "\П".encode("utf-8"), b'\\\xd0\x9f' ) def test_badsyntax(self): try: import test.badsyntax_pep3120 except SyntaxError as msg: self.assertTrue(str(msg).find("Non-...
53b8c8efcef4c419c06197365448cc271a5f6aef
Lib/test/test_pep3120.py
Lib/test/test_pep3120.py
Python
<|file_sep|>original/release/ia64/doFS.sh <|file_sep|>current/release/ia64/doFS.sh <|file_sep|>updated/release/ia64/doFS.sh
#!/bin/sh # # $FreeBSD$ # # See also: ../scripts/doFS.sh # set -e export BLOCKSIZE=512 if [ "$1" = "-s" ]; then do_size="yes"; shift else do_size="" fi FSIMG=$1; shift RD=$1 ; shift MNT=$1 ; shift FSSIZE=$1 ; shift
<|file_sep|>original/release/ia64/doFS.sh <|file_sep|>current/release/ia64/doFS.sh <|file_sep|>updated/release/ia64/doFS.sh #!/bin/sh # # $FreeBSD$ # # See also: ../scripts/doFS.sh # set -e export BLOCKSIZE=512 if [ "$1" = "-s" ]; then do_size="yes"; shift else do_size="" fi FSIMG=$1; shift RD=$1 ; shift MNT=$1...
45cc95f130ee7d873742f9af541d21b215a4d762
release/ia64/doFS.sh
release/ia64/doFS.sh
Shell
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - 2.0.0 - jruby-19mode - rbx-19mode <|file_sep|>current/.travis.yml language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - 2.0.0 - jruby-19mode - rbx-19mode <|file_sep|>updated/.travis.yml
language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - 2.0.0 - jruby-19mode - rbx
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - 2.0.0 - jruby-19mode - rbx-19mode <|file_sep|>current/.travis.yml language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - 2.0.0 - jruby-19mode - rbx-19mode <|file_sep|>updated/.travis.yml language: ruby rvm: - 1.8.7 - 1.9.2...
cd0d43fad380cf442043ab27a429a6e31c2e02b1
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml language: clojure env: OBB_SCENARIOS_TO_TEST=10 install: - wget -O boot https://github.com/boot-clj/boot/releases/download/2.0.0-rc9/boot.sh - chmod 755 boot - ./boot -V lein: lein2 script: lein test && ./boot test-clj && ./boot test-cljs jdk: - oraclejdk8 after_script: - bash -ex s...
language: clojure env: OBB_SCENARIOS_TO_TEST=10 install: - wget -O boot https://github.com/boot-clj/boot/releases/download/2.0.0-rc9/boot.sh - chmod 755 boot - ./boot -V script: ./boot test-clj && ./boot test-cljs jdk: - oraclejdk8 after_script: - bash -ex script/coveralls.sh
<|file_sep|>original/.travis.yml language: clojure env: OBB_SCENARIOS_TO_TEST=10 install: - wget -O boot https://github.com/boot-clj/boot/releases/download/2.0.0-rc9/boot.sh - chmod 755 boot - ./boot -V lein: lein2 script: lein test && ./boot test-clj && ./boot test-cljs jdk: - oraclejdk8 after_script: - bash -ex s...
93036e92136ab27c6d1ecfb5165ed1f208b420ff
.travis.yml
.travis.yml
YAML
<|file_sep|>archaius-core/src/test/java/com/netflix/config/CascadedPropertiesWithDeploymentContextTest.java.diff original: @Test updated: //@Test <|file_sep|>original/archaius-core/src/test/java/com/netflix/config/CascadedPropertiesWithDeploymentContextTest.java package com.netflix.config; import org.junit.Tes...
package com.netflix.config; import org.junit.Test; import static org.junit.Assert.assertEquals; public class CascadedPropertiesWithDeploymentContextTest { //@Test public void testLoadCascadedPropertiesConfigDeployment() throws Exception { ConfigurationManager.getConfigInstance().setProperty("archaiu...
<|file_sep|>archaius-core/src/test/java/com/netflix/config/CascadedPropertiesWithDeploymentContextTest.java.diff original: @Test updated: //@Test <|file_sep|>original/archaius-core/src/test/java/com/netflix/config/CascadedPropertiesWithDeploymentContextTest.java package com.netflix.config; import org.junit.Tes...
a243af2d85d1250bf722abb3b523b8d49ddeaffc
archaius-core/src/test/java/com/netflix/config/CascadedPropertiesWithDeploymentContextTest.java
archaius-core/src/test/java/com/netflix/config/CascadedPropertiesWithDeploymentContextTest.java
Java
<|file_sep|>.travis.yml.diff original: - 1.8.7 updated: <|file_sep|>original/.travis.yml --- # Verify this with: http://lint.travis-ci.org/ language: ruby # Delete dependency locks for matrix builds. before_install: rm Gemfile.lock || true script: bundle exec rake test rvm: - 1.8.7 - 1.9.3 env: matrix: - PUP...
--- # Verify this with: http://lint.travis-ci.org/ language: ruby # Delete dependency locks for matrix builds. before_install: rm Gemfile.lock || true script: bundle exec rake test rvm: - 1.9.3 env: - PUPPET_VERSION="~> 3.8.0" - PUPPET_VERSION="~> 4.9.0" matrix: allow_failures: - env: PUPPET_VERSION="~> 4.9.0...
<|file_sep|>.travis.yml.diff original: - 1.8.7 updated: <|file_sep|>original/.travis.yml --- # Verify this with: http://lint.travis-ci.org/ language: ruby # Delete dependency locks for matrix builds. before_install: rm Gemfile.lock || true script: bundle exec rake test rvm: - 1.8.7 - 1.9.3 env: matrix: - PUP...
3c9cd16e73ffcd844182294fa40f8c726bcd967d
.travis.yml
.travis.yml
YAML
<|file_sep|>original/package.json { "name": "canvas-sandbox", "version": "0.0.1", "description": "Sandox to play with canvas scripts", "repository": { "type": "git", "url": "https://github.com/krauzer/canvas-sandbox.git" }, "scripts": {}, "dependencies": {}, "devDependencies": { "babel-core"...
{ "name": "canvas-sandbox", "version": "0.0.1", "description": "Sandox to play with canvas scripts", "repository": { "type": "git", "url": "https://github.com/krauzer/canvas-sandbox.git" }, "scripts": { "dev": "./node_modules/.bin/webpack-dev-server --progress --colors", "build": "./node_mod...
<|file_sep|>original/package.json { "name": "canvas-sandbox", "version": "0.0.1", "description": "Sandox to play with canvas scripts", "repository": { "type": "git", "url": "https://github.com/krauzer/canvas-sandbox.git" }, "scripts": {}, "dependencies": {}, "devDependencies": { "babel-core"...
d3de5dab610529917216250821e8c518766d93bd
package.json
package.json
JSON
<|file_sep|>original/.travis.yml language: node_js node_js: - "node" - "lts/*" - "10" before_script: - yarn prepare script: - yarn test - node lib/cli.js --version - node lib/cli.js test/fixtures/valid.graphql notifications: email: false <|file_sep|>current/.travis.yml language: node_js node_js: - "no...
language: node_js node_js: - "node" - "lts/*" - "10" before_script: - yarn prepare script: - yarn test - node lib/cli.js --version - node lib/cli.js test/fixtures/valid.graphql - cat test/fixtures/valid.graphql | node lib/cli.js --stdin notifications: email: false
<|file_sep|>original/.travis.yml language: node_js node_js: - "node" - "lts/*" - "10" before_script: - yarn prepare script: - yarn test - node lib/cli.js --version - node lib/cli.js test/fixtures/valid.graphql notifications: email: false <|file_sep|>current/.travis.yml language: node_js node_js: - "no...
e6f3fdebbac0f031c13bd716670ab4dbb875792b
.travis.yml
.travis.yml
YAML
<|file_sep|>original/README.md gem 'konjak' And then execute: $ bundle Or install it yourself as: $ gem install konjak ## Usage $ konjak translate src target file.tmx file.txt ## Contributing 1. Fork it ( http://github.com/yasslab/konjak/fork ) 2. Create your feature branch (`git checkout -b my-...
Or install it yourself as: $ gem install konjak ## Usage $ konjak translate src target file.tmx file.txt ## Contributing 1. Fork it ( http://github.com/yasslab/konjak/fork ) 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push...
<|file_sep|>original/README.md gem 'konjak' And then execute: $ bundle Or install it yourself as: $ gem install konjak ## Usage $ konjak translate src target file.tmx file.txt ## Contributing 1. Fork it ( http://github.com/yasslab/konjak/fork ) 2. Create your feature branch (`git checkout -b my-...
d90b5d70a3d9e736239ebb986a24080fb7839344
README.md
README.md
Markdown
<|file_sep|>original/chrome/renderer/renderer_main_platform_delegate_linux.cc RendererMainPlatformDelegate::RendererMainPlatformDelegate( const MainFunctionParams& parameters) : parameters_(parameters) { } RendererMainPlatformDelegate::~RendererMainPlatformDelegate() { } void RendererMainPlatformDelegate...
RendererMainPlatformDelegate::RendererMainPlatformDelegate( const MainFunctionParams& parameters) : parameters_(parameters) { } RendererMainPlatformDelegate::~RendererMainPlatformDelegate() { } void RendererMainPlatformDelegate::PlatformInitialize() { // To make wcstombs/mbstowcs work in a renderer. ...
<|file_sep|>original/chrome/renderer/renderer_main_platform_delegate_linux.cc RendererMainPlatformDelegate::RendererMainPlatformDelegate( const MainFunctionParams& parameters) : parameters_(parameters) { } RendererMainPlatformDelegate::~RendererMainPlatformDelegate() { } void RendererMainPlatformDelegate...
40bf052d479fb3cb6230e3784d9ea256535d7f12
chrome/renderer/renderer_main_platform_delegate_linux.cc
chrome/renderer/renderer_main_platform_delegate_linux.cc
C++
<|file_sep|>original/bin/requirements.txt cachetools==4.1.1 certifi==2020.6.20 chardet==3.0.4 coverage==5.3 google-api-core==1.23.0 google-api-python-client==1.12.4 google-auth==1.22.1 google-auth-httplib2==0.0.4 google-auth-oauthlib==0.4.1 googleapis-common-protos==1.52.0 httplib2==0.18.1 idna==2.10 oauth2client==4.1....
cachetools==4.1.1 certifi==2020.6.20 chardet==3.0.4 coverage==5.3 google-api-core==1.23.0 google-api-python-client==1.12.5 google-auth==1.22.1 google-auth-httplib2==0.0.4 google-auth-oauthlib==0.4.1 googleapis-common-protos==1.52.0 httplib2==0.18.1 idna==2.10 oauth2client==4.1.3 oauthlib==3.1.0 protobuf==3.13.0 pyasn1=...
<|file_sep|>original/bin/requirements.txt cachetools==4.1.1 certifi==2020.6.20 chardet==3.0.4 coverage==5.3 google-api-core==1.23.0 google-api-python-client==1.12.4 google-auth==1.22.1 google-auth-httplib2==0.0.4 google-auth-oauthlib==0.4.1 googleapis-common-protos==1.52.0 httplib2==0.18.1 idna==2.10 oauth2client==4.1....
9fccefa12de197b5ac060d51cd650437167e28a9
bin/requirements.txt
bin/requirements.txt
Text
<|file_sep|>original/src/main/config/sql/current/5.0.1/dml/KC_DML_01_KCIAC-287_B000.sql <|file_sep|>current/src/main/config/sql/current/5.0.1/dml/KC_DML_01_KCIAC-287_B000.sql <|file_sep|>updated/src/main/config/sql/current/5.0.1/dml/KC_DML_01_KCIAC-287_B000.sql
INSERT INTO NOTIFICATION_TYPE (NOTIFICATION_TYPE_ID, MODULE_CODE, ACTION_CODE, DESCRIPTION, SUBJECT, MESSAGE, PROMPT_USER, SEND_NOTIFICATION, UPDATE_USER, UPDATE_TIMESTAMP, VER_NBR, OBJ_ID) VALUES (SEQ_NOTIFICATION_TYPE_ID.NEXTVAL, (SELECT MODULE_CODE FROM COEUS_MODULE WHERE DESCRIPTION='IACUC Protocol'),'216','...
<|file_sep|>original/src/main/config/sql/current/5.0.1/dml/KC_DML_01_KCIAC-287_B000.sql <|file_sep|>current/src/main/config/sql/current/5.0.1/dml/KC_DML_01_KCIAC-287_B000.sql <|file_sep|>updated/src/main/config/sql/current/5.0.1/dml/KC_DML_01_KCIAC-287_B000.sql INSERT INTO NOTIFICATION_TYPE (NOTIFICATION_TYPE_ID, MOD...
f0a30652d66d497b7ca17b9c448403dff87f5580
src/main/config/sql/current/5.0.1/dml/KC_DML_01_KCIAC-287_B000.sql
src/main/config/sql/current/5.0.1/dml/KC_DML_01_KCIAC-287_B000.sql
SQL
<|file_sep|>original/.travis.yml install: # Install ansible - pip install ansible # Check ansible version - ansible --version - pip install lxml # Create ansible.cfg with correct roles_path - printf '[defaults]\nroles_path=../' >ansible.cfg # Install extra XML module - ansible-galaxy install -f cmpre...
install: # Install ansible - pip install ansible # Check ansible version - ansible --version - pip install lxml # Create ansible.cfg with correct roles_path - printf '[defaults]\nroles_path=../' >ansible.cfg # Install extra XML module - ansible-galaxy install -f cmprescott.xml script: # Basic role...
<|file_sep|>original/.travis.yml install: # Install ansible - pip install ansible # Check ansible version - ansible --version - pip install lxml # Create ansible.cfg with correct roles_path - printf '[defaults]\nroles_path=../' >ansible.cfg # Install extra XML module - ansible-galaxy install -f cmpre...
8088bb271c99373cf00a2416148fcd891181e0b0
.travis.yml
.travis.yml
YAML
<|file_sep|>handroll/tests/test_site.py.diff original: valid_site = tempfile.mkdtemp() updated: valid_site = os.path.realpath(tempfile.mkdtemp()) <|file_sep|>handroll/tests/test_site.py.diff original: valid_site = tempfile.mkdtemp() updated: valid_site = os.path.realpath(tempfile.mkdtemp...
original = os.getcwd() valid_site = os.path.realpath(tempfile.mkdtemp()) open(os.path.join(valid_site, Site.CONFIG), 'w').close() os.chdir(valid_site) site = Site() self.assertEqual(valid_site, site.path) os.chdir(original) def test_site_has_absolute_path(s...
<|file_sep|>handroll/tests/test_site.py.diff original: valid_site = tempfile.mkdtemp() updated: valid_site = os.path.realpath(tempfile.mkdtemp()) <|file_sep|>handroll/tests/test_site.py.diff original: valid_site = tempfile.mkdtemp() updated: valid_site = os.path.realpath(tempfile.mkdtemp...
97e3b202bbe6726a4056facb8b4690b0710029a9
handroll/tests/test_site.py
handroll/tests/test_site.py
Python
<|file_sep|>app/src/main/AndroidManifest.xml.diff original: updated: xmlns:tools="http://schemas.android.com/tools" <|file_sep|>app/src/main/AndroidManifest.xml.diff original: <uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.ACCESS_NETWORK_STAT...
<application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:theme="@style/AppTheme" tools:replace="android:icon"> <activity android:name="com.feedhenry.helloworld.MainActivity" android:l...
<|file_sep|>app/src/main/AndroidManifest.xml.diff original: updated: xmlns:tools="http://schemas.android.com/tools" <|file_sep|>app/src/main/AndroidManifest.xml.diff original: <uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.ACCESS_NETWORK_STAT...
48339875b9e1514a7a9b5dfc332f907553fe8799
app/src/main/AndroidManifest.xml
app/src/main/AndroidManifest.xml
XML
<|file_sep|>original/README.md [<img src="https://travis-ci.org/tinify/tinify-java.svg?branch=master" alt="Build Status">](https://travis-ci.org/tinify/tinify-java) # Tinify API client for Java Java client for the Tinify API, used by [TinyPNG](https://tinypng.com) and [TinyJPG](https://tinyjpg.com). Tinify compresses...
[<img src="https://travis-ci.org/tinify/tinify-java.svg?branch=master" alt="Build Status">](https://travis-ci.org/tinify/tinify-java) # Tinify API client for Java Java client for the Tinify API, used for [TinyPNG](https://tinypng.com) and [TinyJPG](https://tinyjpg.com). Tinify compresses your images intelligently. Re...
<|file_sep|>original/README.md [<img src="https://travis-ci.org/tinify/tinify-java.svg?branch=master" alt="Build Status">](https://travis-ci.org/tinify/tinify-java) # Tinify API client for Java Java client for the Tinify API, used by [TinyPNG](https://tinypng.com) and [TinyJPG](https://tinyjpg.com). Tinify compresses...
173289ebe09911009e84ea6cbd3d98b7af97889e
README.md
README.md
Markdown
<|file_sep|>setup.py.diff original: import os updated: from pathlib import Path <|file_sep|>setup.py.diff original: BASEDIR = os.path.abspath(os.path.dirname(__file__)) updated: BASEDIR = Path(__file__).parent.resolve() <|file_sep|>setup.py.diff original: with open(os.path.join(BASEDIR, 'README.rst'), 'r') as f: update...
author_email="philippe.pinard@gmail.com", maintainer="Philippe Pinard", maintainer_email="philippe.pinard@gmail.com", url="https://github.com/ppinard/matplotlib-scalebar", license="BSD", keywords="matplotlib scale micron bar", classifiers=[ "Development Status :: 4 - Beta", "...
<|file_sep|>setup.py.diff original: import os updated: from pathlib import Path <|file_sep|>setup.py.diff original: BASEDIR = os.path.abspath(os.path.dirname(__file__)) updated: BASEDIR = Path(__file__).parent.resolve() <|file_sep|>setup.py.diff original: with open(os.path.join(BASEDIR, 'README.rst'), 'r') as f: update...
166015e9b4cad5b9d00df31e0d242c335c93ab79
setup.py
setup.py
Python
<|file_sep|>original/composer.json "license": "MIT", "authors": [{ "name": "Yago Riveiro", "email": "yago.riveiro@gmail.com" }], "require": { "php": ">=7.0" }, "require-dev": { "phpunit/phpunit": "~6.2", "satooshi/php-coveralls": "~1.0", "phpstan/p...
"license": "MIT", "authors": [{ "name": "Yago Riveiro", "email": "yago.riveiro@gmail.com" }], "require": { "php": ">=7.0" }, "require-dev": { "phpunit/phpunit": "~6.5.8", "satooshi/php-coveralls": "~2.0", "phpstan/phpstan": "^0.9.2" }, "aut...
<|file_sep|>original/composer.json "license": "MIT", "authors": [{ "name": "Yago Riveiro", "email": "yago.riveiro@gmail.com" }], "require": { "php": ">=7.0" }, "require-dev": { "phpunit/phpunit": "~6.2", "satooshi/php-coveralls": "~1.0", "phpstan/p...
7bb57ea7ca5181ae680c2be391caad11bc2efe5a
composer.json
composer.json
JSON
<|file_sep|>original/moocng/media_contents/templates/media_contents/handlers/ytaccesible_template.html <video id="ytaccesibleplayer" data-able-player preload="auto" width='{{ width }}' height='{{ height }}' data-youtube-id="{{content_id}}"> {% for transcription in transcriptions %} <track...
<video id="ytaccesibleplayer" data-able-player preload="auto" width='{{ width }}' height='{{ height }}' data-youtube-id="{{content_id}}"> {% for transcription in transcriptions %} <track kind="{{transcription.transcription_type}}" src="/media/{{ transcription.filename }}" srclang="{{ tran...
<|file_sep|>original/moocng/media_contents/templates/media_contents/handlers/ytaccesible_template.html <video id="ytaccesibleplayer" data-able-player preload="auto" width='{{ width }}' height='{{ height }}' data-youtube-id="{{content_id}}"> {% for transcription in transcriptions %} <track...
3cd9d20bb2782cf225462a1cad9a791228cce5e6
moocng/media_contents/templates/media_contents/handlers/ytaccesible_template.html
moocng/media_contents/templates/media_contents/handlers/ytaccesible_template.html
HTML
<|file_sep|>original/script/mirror_prod.sh <|file_sep|>current/script/mirror_prod.sh <|file_sep|>updated/script/mirror_prod.sh
#!/bin/bash set -e echo "drop database open_food_web_dev" | psql -h localhost -U ofw open_food_web_test echo "create database open_food_web_dev" | psql -h localhost -U ofw open_food_web_test ssh ofw-prod "pg_dump -h localhost -U openfoodweb openfoodweb_production |gzip" |gunzip |psql -h localhost -U ofw open_food_web...
<|file_sep|>original/script/mirror_prod.sh <|file_sep|>current/script/mirror_prod.sh <|file_sep|>updated/script/mirror_prod.sh #!/bin/bash set -e echo "drop database open_food_web_dev" | psql -h localhost -U ofw open_food_web_test echo "create database open_food_web_dev" | psql -h localhost -U ofw open_food_web_tes...
a898d6d8310280b3c4f888481c9bb15940b6df15
script/mirror_prod.sh
script/mirror_prod.sh
Shell
<|file_sep|>original/spec/rrj/rrj_spec.rb # frozen_string_literal: true require 'spec_helper' describe 'RubyRabbitmqJanus::RRJ', type: :config do it 'Has a version number' do expect(RubyRabbitmqJanus::VERSION).not_to be nil end it 'Has a description' do expect(RubyRabbitmqJanus::DESCRIPTION).not_to be ...
describe 'RubyRabbitmqJanus::RRJ', type: :config do it 'Has a version number' do expect(RubyRabbitmqJanus::VERSION).not_to be nil end it 'Has a description' do expect(RubyRabbitmqJanus::DESCRIPTION).not_to be nil end it 'Has a summary description' do expect(RubyRabbitmqJanus::SUMMARY).not_to be ...
<|file_sep|>original/spec/rrj/rrj_spec.rb # frozen_string_literal: true require 'spec_helper' describe 'RubyRabbitmqJanus::RRJ', type: :config do it 'Has a version number' do expect(RubyRabbitmqJanus::VERSION).not_to be nil end it 'Has a description' do expect(RubyRabbitmqJanus::DESCRIPTION).not_to be ...
97b21827215036806bf782ee2a6b9cdd485e8501
spec/rrj/rrj_spec.rb
spec/rrj/rrj_spec.rb
Ruby
<|file_sep|>original/src/satosa/logging_util.py return session_id def satosa_logging(logger, level, message, state, **kwargs): """ Adds a session ID to the message. :type logger: logging :type level: int :type message: str :type state: satosa.state.State :param logger: Logger to use ...
return session_id def satosa_logging(logger, level, message, state, **kwargs): """ Adds a session ID to the message. :type logger: logging :type level: int :type message: str :type state: satosa.state.State :param logger: Logger to use :param level: Logger level (ex: logging.DEBU...
<|file_sep|>original/src/satosa/logging_util.py return session_id def satosa_logging(logger, level, message, state, **kwargs): """ Adds a session ID to the message. :type logger: logging :type level: int :type message: str :type state: satosa.state.State :param logger: Logger to use ...
4979be89083fcdee5a9d4328ce6c9ac64d853b0b
src/satosa/logging_util.py
src/satosa/logging_util.py
Python
<|file_sep|>app/views/main.scss.diff original: updated: <|file_sep|>original/app/views/main.scss // bower:scss // endbower @import "commons/colors"; @import "commons/animations"; @import "commons/mdToast"; @import "commons/toolbar"; @import "commons/breadcrumb"; @import "commons/spinner"; @import "hub/hub"; @import ...
@import "commons/animations"; @import "commons/mdToast"; @import "commons/toolbar"; @import "commons/breadcrumb"; @import "commons/spinner"; @import "hub/hub"; @import "level/level"; @import "settings/settings"; body.md-toast-animating { overflow: auto !important; } .center { text-align: center;} .lowercase { text-tr...
<|file_sep|>app/views/main.scss.diff original: updated: <|file_sep|>original/app/views/main.scss // bower:scss // endbower @import "commons/colors"; @import "commons/animations"; @import "commons/mdToast"; @import "commons/toolbar"; @import "commons/breadcrumb"; @import "commons/spinner"; @import "hub/hub"; @import ...
66386c071fa789382b6554c2fd44e53f3042cbee
app/views/main.scss
app/views/main.scss
SCSS
<|file_sep|>original/package.json "author": "Aslak Hellesøy", "license": "MIT", "bugs": { "url": "https://github.com/cucumber/cucumber/issues" }, "homepage": "https://github.com/cucumber/gherkin-javascript", "devDependencies": { "@cucumber/gherkin-streams": "^5.0.1", "@types/mocha": "9.1.0", ...
"author": "Aslak Hellesøy", "license": "MIT", "bugs": { "url": "https://github.com/cucumber/cucumber/issues" }, "homepage": "https://github.com/cucumber/gherkin-javascript", "devDependencies": { "@cucumber/gherkin-streams": "^5.0.1", "@types/mocha": "9.1.0", "@types/node": "16.11.27", "c...
<|file_sep|>original/package.json "author": "Aslak Hellesøy", "license": "MIT", "bugs": { "url": "https://github.com/cucumber/cucumber/issues" }, "homepage": "https://github.com/cucumber/gherkin-javascript", "devDependencies": { "@cucumber/gherkin-streams": "^5.0.1", "@types/mocha": "9.1.0", ...
5db8f4cbaa83e36a5934345512121470ef611ea8
package.json
package.json
JSON
<|file_sep|>original/.renovaterc.json { "ignoreDeps": ["eventlet", "scapy"], "separateMajorMinor": false, "schedule": [ "after 10pm every weekday", "before 5am every weekday", "every weekend" ], "timezone": "Pacific/Auckland", "extends": [ "config:base", ":prHourlyLimit1", ":preserve...
{ "ignoreDeps": ["eventlet"], "separateMajorMinor": false, "schedule": [ "after 10pm every weekday", "before 5am every weekday", "every weekend" ], "timezone": "Pacific/Auckland", "extends": [ "config:base", ":prHourlyLimit1", ":preserveSemverRanges", "docker:enableMajor" ] }
<|file_sep|>original/.renovaterc.json { "ignoreDeps": ["eventlet", "scapy"], "separateMajorMinor": false, "schedule": [ "after 10pm every weekday", "before 5am every weekday", "every weekend" ], "timezone": "Pacific/Auckland", "extends": [ "config:base", ":prHourlyLimit1", ":preserve...
332754a33f199276085d8b02d626b0d015c5416a
.renovaterc.json
.renovaterc.json
JSON
<|file_sep|>vars/goBuildNode.groovy.diff original: env.GOPATH = env.WORKSPACE env.PATH = "${env.GOPATH}/bin:${env.PATH}" def newWorkspace = "${env.GOPATH}/src/${goImportPath}" updated: def goPath = env.WORKSPACE def path = "${goPath}/bin:${env.PATH}" def newWorkspace = "${goPath}/src/${goImportP...
import org.istio.testutils.Utilities def call(gitUtils, goImportPath, Closure body) { utils = new Utilities() def nodeLabel = utils.getParam('SLAVE_LABEL', gitUtils.DEFAULT_SLAVE_LABEL) def buildNodeLabel = "${nodeLabel}-build" node(buildNodeLabel) { def goPath = env.WORKSPACE def path = "${goPath}/b...
<|file_sep|>vars/goBuildNode.groovy.diff original: env.GOPATH = env.WORKSPACE env.PATH = "${env.GOPATH}/bin:${env.PATH}" def newWorkspace = "${env.GOPATH}/src/${goImportPath}" updated: def goPath = env.WORKSPACE def path = "${goPath}/bin:${env.PATH}" def newWorkspace = "${goPath}/src/${goImportP...
03d1ba30ab603b9defb6a4b8b9135179515f2d87
vars/goBuildNode.groovy
vars/goBuildNode.groovy
Groovy
<|file_sep|>CMakeLists.txt.diff original: updated: include_directories(${VC_DIR}/include) <|file_sep|>original/CMakeLists.txt # raspimjpg cmake_minimum_required(VERSION 2.0) SET(VC_DIR /opt/vc CACHE STRING "Path to VideoCore base directory") SET(COMPILE_DEFINITIONS -Werror) include_directories(${VC_DIR}/include/inte...
# raspimjpg cmake_minimum_required(VERSION 2.0) SET(VC_DIR /opt/vc CACHE STRING "Path to VideoCore base directory") SET(COMPILE_DEFINITIONS -Werror) include_directories(${VC_DIR}/include) include_directories(${VC_DIR}/include/interface/vcos/pthreads) include_directories(${VC_DIR}/include/interface/vmcs_host/linux) li...
<|file_sep|>CMakeLists.txt.diff original: updated: include_directories(${VC_DIR}/include) <|file_sep|>original/CMakeLists.txt # raspimjpg cmake_minimum_required(VERSION 2.0) SET(VC_DIR /opt/vc CACHE STRING "Path to VideoCore base directory") SET(COMPILE_DEFINITIONS -Werror) include_directories(${VC_DIR}/include/inte...
4bd2ced627cb6ebbce669602bcee3e2dc14d44e9
CMakeLists.txt
CMakeLists.txt
Text
<|file_sep|>original/.travis.yml --- sudo: false language: perl6 install: - rakudobrew build zef - zef install JSON::Tiny before_script: - git submodule update --recursive --remote - bin/fetch-configlet script: - bin/configlet . - prove -re perl6 exercises/ <|file_sep|>current/.travis.yml --- sudo: false la...
--- sudo: false language: perl6 perl6: - latest - '2017.01' # Latest Rakudo Star install: - rakudobrew build zef - zef install JSON::Tiny before_script: - git submodule update --recursive --remote - bin/fetch-configlet script: - bin/configlet . - prove -re perl6 exercises/
<|file_sep|>original/.travis.yml --- sudo: false language: perl6 install: - rakudobrew build zef - zef install JSON::Tiny before_script: - git submodule update --recursive --remote - bin/fetch-configlet script: - bin/configlet . - prove -re perl6 exercises/ <|file_sep|>current/.travis.yml --- sudo: false la...
c1c6752a13d5087cf3c53849d07305516d16cc53
.travis.yml
.travis.yml
YAML
<|file_sep|>original/Linkedlists/02.c <|file_sep|>current/Linkedlists/02.c <|file_sep|>updated/Linkedlists/02.c
#include <stdio.h> #include <stdlib.h> typedef struct n { int data; struct n * next; } node; /* Print Linked list values */ void showList(node * list){ int i = 1; while( list != NULL){ printf("#%d. node, data: %d at pointed: %p, and points to %p\n", i, list->data, list, list->next); list = list->next;...
<|file_sep|>original/Linkedlists/02.c <|file_sep|>current/Linkedlists/02.c <|file_sep|>updated/Linkedlists/02.c #include <stdio.h> #include <stdlib.h> typedef struct n { int data; struct n * next; } node; /* Print Linked list values */ void showList(node * list){ int i = 1; while( list != NULL){ printf(...
e17247a4550b9c9b3394ea378b61ecea17a75da3
Linkedlists/02.c
Linkedlists/02.c
C
<|file_sep|>original/src/js/page/svgo.js "use strict"; var SvgFile = require('./svg-file'); class Svgo extends require('./worker-messenger') { constructor() { super('js/svgo-worker.js'); this._multiPass = false; this._abortOnNextIteration = false; this._currentJob = Promise.resolve(); } load(sv...
"use strict"; var SvgFile = require('./svg-file'); class Svgo extends require('./worker-messenger') { constructor() { super('js/svgo-worker.js'); this._abortOnNextIteration = false; this._currentJob = Promise.resolve(); } load(svgText) { return this._requestResponse({ action: 'load', ...
<|file_sep|>original/src/js/page/svgo.js "use strict"; var SvgFile = require('./svg-file'); class Svgo extends require('./worker-messenger') { constructor() { super('js/svgo-worker.js'); this._multiPass = false; this._abortOnNextIteration = false; this._currentJob = Promise.resolve(); } load(sv...
9844a09b1bfc0f68042ea51cf613b27a6c53016c
src/js/page/svgo.js
src/js/page/svgo.js
JavaScript
<|file_sep|>original/gws-core/src/site/dump-db.sh #!/usr/bin/env bash pg_dumpall -U postgres -h localhost -p 5433 --globals-only --no-tablespaces > target/site/create-db.sql pg_dump -U geodesy -h localhost -p 5433 --clean --create geodesydb >> target/site/create-db.sql <|file_sep|>current/gws-core/src/site/dump-db.sh ...
#!/usr/bin/env bash pg_dumpall -U postgres -h localhost -p 5434 --globals-only --no-tablespaces > target/site/create-db.sql pg_dump -U geodesy -h localhost -p 5434 --clean --create geodesydb >> target/site/create-db.sql
<|file_sep|>original/gws-core/src/site/dump-db.sh #!/usr/bin/env bash pg_dumpall -U postgres -h localhost -p 5433 --globals-only --no-tablespaces > target/site/create-db.sql pg_dump -U geodesy -h localhost -p 5433 --clean --create geodesydb >> target/site/create-db.sql <|file_sep|>current/gws-core/src/site/dump-db.sh ...
05a9d613b16e8b22d4d5916c195e20daaa629256
gws-core/src/site/dump-db.sh
gws-core/src/site/dump-db.sh
Shell
<|file_sep|>original/dev-requirements.txt # Extra stuff required for local dev coverage ddt # Invoke from py3 branch, remove once it gets a release. https://github.com/pyinvoke/invoke/archive/my-py3.zip <|file_sep|>current/dev-requirements.txt # Extra stuff required for local dev coverage ddt # Invoke from py3 bran...
# Extra stuff required for local dev coverage ddt # Invoke from py3 branch, remove once it gets a release. invoke==0.3.0
<|file_sep|>original/dev-requirements.txt # Extra stuff required for local dev coverage ddt # Invoke from py3 branch, remove once it gets a release. https://github.com/pyinvoke/invoke/archive/my-py3.zip <|file_sep|>current/dev-requirements.txt # Extra stuff required for local dev coverage ddt # Invoke from py3 bran...
8b15f4b2bc5744a884a048bd598262a083098647
dev-requirements.txt
dev-requirements.txt
Text
<|file_sep|>README.md.diff original: office = Node() jane = Node() john = Node() bob = Node() updated: city = Node({'location': 'Philadelphia'}) jane = Node({'name': 'Jane'}) john = Node({'name': 'John'}) bob = Node({'name': 'Bob'}) <|file_sep|>README.md.diff original: jane.relate(office, 'WORKS_IN') john.relate(office...
john.relate(bob, 'FRIENDS_WITH') ``` ### Serialize Serializes the object reprsentations into dicts and lists which can be encoded as JSON or loaded into a graph database. ```python from graphlib import serialize data = serialize(city) ``` ### Load Takes the serialized data and loads it into a database. This examp...
<|file_sep|>README.md.diff original: office = Node() jane = Node() john = Node() bob = Node() updated: city = Node({'location': 'Philadelphia'}) jane = Node({'name': 'Jane'}) john = Node({'name': 'John'}) bob = Node({'name': 'Bob'}) <|file_sep|>README.md.diff original: jane.relate(office, 'WORKS_IN') john.relate(office...
ed72bca3199fbe4d9b0708cf9a0e1a8ec399bcb4
README.md
README.md
Markdown
<|file_sep|>requirements.txt.diff original: numpy==1.13.0 updated: numpy==1.13.1 <|file_sep|>original/requirements.txt coverage==4.4.1 coveralls==1.1 flask==0.12.2 flask-restful==0.3.6 flask-swagger==0.2.13 futures==3.1.1 nose==1.3.7 nose-cov==1.6 numpy==1.13.0 pandas==0.20.2 numpy==1.13.0 scipy==0.19.1 psutil==5.2.2 p...
coverage==4.4.1 coveralls==1.1 flask==0.12.2 flask-restful==0.3.6 flask-swagger==0.2.13 futures==3.1.1 nose==1.3.7 nose-cov==1.6 numpy==1.13.1 pandas==0.20.2 numpy==1.13.1 scipy==0.19.1 psutil==5.2.2 pylint==1.7.2 pymongo==3.4.0 python-coveralls==2.9.1 pytz==2017.2 requests==2.18.1 sqlalchemy==1.1.11 # sqlalchemy-utils...
<|file_sep|>requirements.txt.diff original: numpy==1.13.0 updated: numpy==1.13.1 <|file_sep|>original/requirements.txt coverage==4.4.1 coveralls==1.1 flask==0.12.2 flask-restful==0.3.6 flask-swagger==0.2.13 futures==3.1.1 nose==1.3.7 nose-cov==1.6 numpy==1.13.0 pandas==0.20.2 numpy==1.13.0 scipy==0.19.1 psutil==5.2.2 p...
bd5afd78f516354bb5fc9da22502270e7001332c
requirements.txt
requirements.txt
Text
<|file_sep|>original/README.md # Professional Portfolio ## Description This is my personal showcase to market myself to potential employers and clients alike. I will continue to iterate upon this site to ensure I always put my best foot forward. ## Credits Thanks to the [Bootstrap](https://getbootstrap.com/) team for...
# Professional Portfolio ## Description This is my personal showcase to market myself to potential employers and clients alike. I will continue to iterate upon this site to ensure I always put my best foot forward. [Deployed Site: mrjcowman.github.io/bootstrapPortfolio](https://mrjcowman.github.io/bootstrapPortfolio/...
<|file_sep|>original/README.md # Professional Portfolio ## Description This is my personal showcase to market myself to potential employers and clients alike. I will continue to iterate upon this site to ensure I always put my best foot forward. ## Credits Thanks to the [Bootstrap](https://getbootstrap.com/) team for...
3fb9e5f3c06a930a81c48c9fa1f1e6c378c8c3f3
README.md
README.md
Markdown
<|file_sep|>.travis.yml.diff original: updated: env: - CXX=g++-4.8 <|file_sep|>original/.travis.yml language: node_js sudo: false node_js: - "4" - "5" - "6" cache: directories: - node_modules script: npm run test:coverage <|file_sep|>current/.travis.yml language: node_js sudo: false node_js: - "4" - ...
language: node_js sudo: false node_js: - "4" - "5" - "6" env: - CXX=g++-4.8 cache: directories: - node_modules script: npm run test:coverage addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8
<|file_sep|>.travis.yml.diff original: updated: env: - CXX=g++-4.8 <|file_sep|>original/.travis.yml language: node_js sudo: false node_js: - "4" - "5" - "6" cache: directories: - node_modules script: npm run test:coverage <|file_sep|>current/.travis.yml language: node_js sudo: false node_js: - "4" - ...
72e1f82917e87228b7eef2028dd047da8ebe8cd2
.travis.yml
.travis.yml
YAML
<|file_sep|>tasks/static.py.diff original: invoke.run("compass compile -c compass.rb --force") updated: invoke.run("compass compile -c config.rb --force") <|file_sep|>original/tasks/static.py # See the License for the specific language governing permissions and # limitations under the License. import os.path im...
# See the License for the specific language governing permissions and # limitations under the License. import os.path import shutil import invoke @invoke.task def build(): # Build our CSS files invoke.run("compass compile -c config.rb --force") @invoke.task def watch(): try: # Watch With Compas...
<|file_sep|>tasks/static.py.diff original: invoke.run("compass compile -c compass.rb --force") updated: invoke.run("compass compile -c config.rb --force") <|file_sep|>original/tasks/static.py # See the License for the specific language governing permissions and # limitations under the License. import os.path im...
153025aaa585e70d09509248ab18b214194759ae
tasks/static.py
tasks/static.py
Python
<|file_sep|>original/app.py <|file_sep|>current/app.py <|file_sep|>updated/app.py
def app(env, start_response): start_response('200 OK', [('Content-Type','text/html')]) return [b"Hello World"] if __name__ == '__main__': try: from wsgiref.simple_server import make_server httpd = make_server('', 8080, app) print('Serving on port 8080...') httpd.serve_foreve...
<|file_sep|>original/app.py <|file_sep|>current/app.py <|file_sep|>updated/app.py def app(env, start_response): start_response('200 OK', [('Content-Type','text/html')]) return [b"Hello World"] if __name__ == '__main__': try: from wsgiref.simple_server import make_server httpd = make_serve...
0e5a6019f88093691724532221fd1f4b24ad84d6
app.py
app.py
Python
<|file_sep|>original/pkg/dev_compiler/tool/browser_test.sh fi # Check for Chrome Canary on Ubuntu # The default install path is sometimes google-chrome-unstable # instead of google-chrome-canary as karma expects. if [[ "$OSTYPE" == "linux-gnu" ]] && [[ -z "$CHROME_CANARY_BIN" ]]; then checkcanary=$(hash google-chrom...
fi # Check for Chrome Canary on Ubuntu # The default install path is sometimes google-chrome-unstable # instead of google-chrome-canary as karma expects. if [[ "$OSTYPE" == "linux-gnu" ]] && [[ -z "$CHROME_CANARY_BIN" ]]; then checkcanary=$(hash google-chrome-canary 2> /dev/null) if [[ $? -ne 0 ]]; then checku...
<|file_sep|>original/pkg/dev_compiler/tool/browser_test.sh fi # Check for Chrome Canary on Ubuntu # The default install path is sometimes google-chrome-unstable # instead of google-chrome-canary as karma expects. if [[ "$OSTYPE" == "linux-gnu" ]] && [[ -z "$CHROME_CANARY_BIN" ]]; then checkcanary=$(hash google-chrom...
fc696b039c4d05f289caa72681c206e35e195d8c
pkg/dev_compiler/tool/browser_test.sh
pkg/dev_compiler/tool/browser_test.sh
Shell
<|file_sep|>original/requirements.txt Flask>=0.11.1 Flask-Cache==0.13.1 gunicorn==19.7.1 requests==2.18.3 beautifulsoup4>=4.5.1 pep8==1.7.0 pytest==3.2.1 retry==0.9.2 selenium==3.5.0 git+https://github.com/alphagov/notifications-python-client.git@3.0.0#egg=notifications-python-client==3.0.0 <|file_sep|>current/require...
Flask>=0.11.1 Flask-Cache==0.13.1 gunicorn==19.7.1 requests==2.18.4 beautifulsoup4>=4.5.1 pep8==1.7.0 pytest==3.2.1 retry==0.9.2 selenium==3.5.0 git+https://github.com/alphagov/notifications-python-client.git@3.0.0#egg=notifications-python-client==3.0.0
<|file_sep|>original/requirements.txt Flask>=0.11.1 Flask-Cache==0.13.1 gunicorn==19.7.1 requests==2.18.3 beautifulsoup4>=4.5.1 pep8==1.7.0 pytest==3.2.1 retry==0.9.2 selenium==3.5.0 git+https://github.com/alphagov/notifications-python-client.git@3.0.0#egg=notifications-python-client==3.0.0 <|file_sep|>current/require...
5f1f774db90c4cacd095eba8e6202f997ff34836
requirements.txt
requirements.txt
Text
<|file_sep|>original/requirements_dev.txt future==0.15.2 click==6.6 boto==2.42.0 pip==8.1.2 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.0.4 tox==2.3.1 coverage==4.2 Sphinx==1.4.8 cryptography==1.5.2 PyYAML==3.12 pytest==3.0.3 configstruct==0.1.0 <|file_sep|>current/requirements_dev.txt future==0.15.2 cli...
future==0.15.2 click==6.6 boto==2.42.0 pip==8.1.2 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.0.4 tox==2.3.1 coverage==4.2 Sphinx==1.5.1 cryptography==1.5.2 PyYAML==3.12 pytest==3.0.3 configstruct==0.1.0
<|file_sep|>original/requirements_dev.txt future==0.15.2 click==6.6 boto==2.42.0 pip==8.1.2 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.0.4 tox==2.3.1 coverage==4.2 Sphinx==1.4.8 cryptography==1.5.2 PyYAML==3.12 pytest==3.0.3 configstruct==0.1.0 <|file_sep|>current/requirements_dev.txt future==0.15.2 cli...
4cdbb7044c96ff71acd9ebe3f52a604d06831307
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/.travis.yml language: node_js node_js: - "lts/*" script: - npm run build:new <|file_sep|>current/.travis.yml language: node_js node_js: - "lts/*" script: - npm run build:new <|file_sep|>updated/.travis.yml
language: node_js node_js: - "lts/*" - "node" script: - npm run build:new
<|file_sep|>original/.travis.yml language: node_js node_js: - "lts/*" script: - npm run build:new <|file_sep|>current/.travis.yml language: node_js node_js: - "lts/*" script: - npm run build:new <|file_sep|>updated/.travis.yml language: node_js node_js: - "lts/*" - "node" script: - npm run build:new
2029140242abdb58e2ba96f31377679fd05d8899
.travis.yml
.travis.yml
YAML
<|file_sep|>app.js.diff original: updated: // Add Swagger docs <|file_sep|>original/app.js // Bring in our dependencies const app = require('express')(); const routes = require('./routes'); YAML = require('yamljs'); const swaggerDoc = YAML.load('./openapi.yaml'); const swaggerTools = require('swagger-tools'); swagger...
YAML = require('yamljs'); const swaggerDoc = YAML.load('./openapi.yaml'); const swaggerTools = require('swagger-tools'); // Add Swagger docs swaggerTools.initializeMiddleware(swaggerDoc, function (middleware) { // Serve the Swagger documents and Swagger UI app.use(middleware.swaggerUi()); }); // Enable CORS app.u...
<|file_sep|>app.js.diff original: updated: // Add Swagger docs <|file_sep|>original/app.js // Bring in our dependencies const app = require('express')(); const routes = require('./routes'); YAML = require('yamljs'); const swaggerDoc = YAML.load('./openapi.yaml'); const swaggerTools = require('swagger-tools'); swagger...
b864482da93015a8246d89c5d5ab6d9c56e04538
app.js
app.js
JavaScript
<|file_sep|>original/contribs/gmf/apps/oeedit/less/main.less @import '../../../less/desktop.less'; .gmf-displayquerywindow { width: 36rem; max-width: 36rem; } <|file_sep|>current/contribs/gmf/apps/oeedit/less/main.less @import '../../../less/desktop.less'; .gmf-displayquerywindow { width: 36rem; max-width: 36...
@import '../../../less/desktop.less'; .gmf-displayquerywindow { width: 36rem; max-width: 36rem; } .gmf-displayquerywindow .gmf-displayquerywindow-details { overflow-x: auto; } ::-webkit-scrollbar { height: @half-app-margin; }
<|file_sep|>original/contribs/gmf/apps/oeedit/less/main.less @import '../../../less/desktop.less'; .gmf-displayquerywindow { width: 36rem; max-width: 36rem; } <|file_sep|>current/contribs/gmf/apps/oeedit/less/main.less @import '../../../less/desktop.less'; .gmf-displayquerywindow { width: 36rem; max-width: 36...
4608ea10ff27caffd35da74c1148c723f485484b
contribs/gmf/apps/oeedit/less/main.less
contribs/gmf/apps/oeedit/less/main.less
Less
<|file_sep|>app/assets/javascripts/pants.js.coffee.diff original: updated: expandElement = (e) -> el = $(this).data('expand') $(el).toggleClass('expanded') e.preventDefault() <|file_sep|>original/app/assets/javascripts/pants.js.coffee initPage = -> # Fix stupid Chrome bug. # See https://code.google.com/p/ch...
# Autofocus form fields with autofocus. We need to do this even though # browsers do it natively because (due to Turbolinks), we're always just # on the same single page. Duh! # $('[autofocus="autofocus"]').focus() # Run dem trackers if available. # _gs('track') if (_gs?) ga('send', 'pageview') if (...
<|file_sep|>app/assets/javascripts/pants.js.coffee.diff original: updated: expandElement = (e) -> el = $(this).data('expand') $(el).toggleClass('expanded') e.preventDefault() <|file_sep|>original/app/assets/javascripts/pants.js.coffee initPage = -> # Fix stupid Chrome bug. # See https://code.google.com/p/ch...
3df7888019dd133a91556c979a9f759dc52849a0
app/assets/javascripts/pants.js.coffee
app/assets/javascripts/pants.js.coffee
CoffeeScript
<|file_sep|>original/deploy/kube-config/influxdb/influxdb-deployment.yaml kind: Deployment metadata: name: monitoring-influxdb namespace: kube-system spec: replicas: 1 template: metadata: labels: task: monitoring k8s-app: influxdb spec: containers: - name: influxdb ...
kind: Deployment metadata: name: monitoring-influxdb namespace: kube-system spec: replicas: 1 template: metadata: labels: task: monitoring k8s-app: influxdb spec: containers: - name: influxdb image: gcr.io/google_containers/heapster-influxdb-amd64:v1.1.1 ...
<|file_sep|>original/deploy/kube-config/influxdb/influxdb-deployment.yaml kind: Deployment metadata: name: monitoring-influxdb namespace: kube-system spec: replicas: 1 template: metadata: labels: task: monitoring k8s-app: influxdb spec: containers: - name: influxdb ...
e11ae5d4b8950da9fba5ca8cfe258a4994b308cb
deploy/kube-config/influxdb/influxdb-deployment.yaml
deploy/kube-config/influxdb/influxdb-deployment.yaml
YAML
<|file_sep|>original/tips.json { "title": "Remove branches that have already been merged with master", "tip": "git branch --merged | grep -v '\\*' | xargs -n 1 git branch -d" }, { "title": "List all branches and their upstreams, as well as last commit on branch", "tip": "git branch -vv" ...
{ "title": "List all branches that are already merged into master", "tip": "git checkout master && git branch --merged" }, { "title": "Quickly switch to the previous branch", "tip": "git checkout -" }, { "title": "Remove branches that have already been merged with master", ...
<|file_sep|>original/tips.json { "title": "Remove branches that have already been merged with master", "tip": "git branch --merged | grep -v '\\*' | xargs -n 1 git branch -d" }, { "title": "List all branches and their upstreams, as well as last commit on branch", "tip": "git branch -vv" ...
0a7bbef10cef73756508f5d6c3bceb74392b014c
tips.json
tips.json
JSON
<|file_sep|>original/db_queries.py <|file_sep|>current/db_queries.py <|file_sep|>updated/db_queries.py
import os import sqlite3 import pandas as pd DB_PATH = os.path.dirname(__file__)+"/Tables/Pyranitar.db" def query_level(group, experience): cnx = sqlite3.connect(DB_PATH) sql = "" \ "SELECT level " \ "FROM Experience " \ "WHERE exp_group = {} " \ "AND total_exp <= {} " \ "ORDER BY total_ex...
<|file_sep|>original/db_queries.py <|file_sep|>current/db_queries.py <|file_sep|>updated/db_queries.py import os import sqlite3 import pandas as pd DB_PATH = os.path.dirname(__file__)+"/Tables/Pyranitar.db" def query_level(group, experience): cnx = sqlite3.connect(DB_PATH) sql = "" \ "SELECT level " \ ...
21f2571a0e5b7100db8c2ddf3c49d32992d20e3e
db_queries.py
db_queries.py
Python
<|file_sep|>js/addresses.js.diff original: updated: $scope.addresses.message = (response.data.length == 0) ? 'No addresses found for ' + $scope.addresses.query + '.' : ''; <|file_sep|>original/js/addresses.js $scope.addresses.isShowMessage = false; $scope.addressSearch = function(item, $event) {...
'Authorization': 'Bearer ' + AUTH_TOKEN }, } responsePromise = $http.get(QUERY_URL + $scope.addresses.search, config); responsePromise.then(function(response) { $scope.addresses.data = response.data; $scope.addresses.isShowMessage = (response.data.length...
<|file_sep|>js/addresses.js.diff original: updated: $scope.addresses.message = (response.data.length == 0) ? 'No addresses found for ' + $scope.addresses.query + '.' : ''; <|file_sep|>original/js/addresses.js $scope.addresses.isShowMessage = false; $scope.addressSearch = function(item, $event) {...
7655a4481b262f31f8288d533d9746865224fae9
js/addresses.js
js/addresses.js
JavaScript
<|file_sep|>original/content/browser/geofencing/geofencing_dispatcher_host.h namespace content { class GeofencingDispatcherHost : public BrowserMessageFilter { public: GeofencingDispatcherHost(); private: virtual ~GeofencingDispatcherHost(); // BrowserMessageFilter implementation. virtual bool OnMessageRec...
namespace content { class GeofencingDispatcherHost : public BrowserMessageFilter { public: GeofencingDispatcherHost(); private: virtual ~GeofencingDispatcherHost(); // BrowserMessageFilter implementation. virtual bool OnMessageReceived(const IPC::Message& message) override; void OnRegisterRegion(int thr...
<|file_sep|>original/content/browser/geofencing/geofencing_dispatcher_host.h namespace content { class GeofencingDispatcherHost : public BrowserMessageFilter { public: GeofencingDispatcherHost(); private: virtual ~GeofencingDispatcherHost(); // BrowserMessageFilter implementation. virtual bool OnMessageRec...
aec97a07b46188ed7ec61600c6068045a18fe142
content/browser/geofencing/geofencing_dispatcher_host.h
content/browser/geofencing/geofencing_dispatcher_host.h
C
<|file_sep|>original/roles/unizar.rb :accounts => { :users => { :osluz => { :status => :administrator } } }, :hosted_by => "University of Zaragoza", :location => "Zaragoza, Spain" ) override_attributes( :networking => { :nameservers => ["155.210.12.9", "155.210.3.12"] }, :ntp => { :...
description "Role applied to all servers at University of Zaragoza" default_attributes( :accounts => { :users => { :osluz => { :status => :administrator } } }, :hosted_by => "University of Zaragoza", :location => "Zaragoza, Spain" ) override_attributes( :ntp => { :servers => ["0.es.pool.nt...
<|file_sep|>original/roles/unizar.rb :accounts => { :users => { :osluz => { :status => :administrator } } }, :hosted_by => "University of Zaragoza", :location => "Zaragoza, Spain" ) override_attributes( :networking => { :nameservers => ["155.210.12.9", "155.210.3.12"] }, :ntp => { :...
b960891e5db1df049d1b3f19137538cd4ffa2608
roles/unizar.rb
roles/unizar.rb
Ruby
<|file_sep|>app/javascript/styles/imastodon/favourite_tags.scss.diff original: updated: top: 50%; <|file_sep|>original/app/javascript/styles/imastodon/favourite_tags.scss color: $white; text-decoration: none; width: 200px; } .favourite-tags__name .fa-hashtag { color: $classic-highlight-color; margin-right...
width: 200px; } .favourite-tags__name .fa-hashtag { color: $classic-highlight-color; margin-right: 2px; } .favourite-tags__icon { padding: 0 5px; text-align: center; } .favourite-tags__lock { position: absolute; top: 50%; right: 20px; margin-top: -7px; width: 14px; text-align: center; }
<|file_sep|>app/javascript/styles/imastodon/favourite_tags.scss.diff original: updated: top: 50%; <|file_sep|>original/app/javascript/styles/imastodon/favourite_tags.scss color: $white; text-decoration: none; width: 200px; } .favourite-tags__name .fa-hashtag { color: $classic-highlight-color; margin-right...
36655fdfd3df5a47255e4502185ce4773ef2ef2a
app/javascript/styles/imastodon/favourite_tags.scss
app/javascript/styles/imastodon/favourite_tags.scss
SCSS
<|file_sep|>original/Debugger/ModToolsMod.cs using UnityEngine; namespace ModTools { public sealed class ModToolsMod : IUserMod { public const string ModToolsName = "ModTools"; public static GameObject MainWindowObject; private static GameObject mainObject; public static stri...
using UnityEngine; namespace ModTools { public sealed class ModToolsMod : IUserMod { public const string ModToolsName = "ModTools"; public static GameObject MainWindowObject; private GameObject mainObject; public static string Version { get; } = GitVersion.GetAssemblyVersion(...
<|file_sep|>original/Debugger/ModToolsMod.cs using UnityEngine; namespace ModTools { public sealed class ModToolsMod : IUserMod { public const string ModToolsName = "ModTools"; public static GameObject MainWindowObject; private static GameObject mainObject; public static stri...
2a93bc84998395347341901a6df9fc0df5a265f5
Debugger/ModToolsMod.cs
Debugger/ModToolsMod.cs
C#
<|file_sep|>original/.travis.yml language: php php: - '5.4' - '5.5' - '5.6' - '7.0' - hhvm - nightly before_script: - composer install --prefer-source --no-interaction --dev <|file_sep|>current/.travis.yml language: php php: - '5.4' - '5.5' - '5.6' - '7.0' - hhvm - nightly before_script: ...
language: php php: - '5.5' - '5.6' - '7.0' - hhvm - nightly before_script: - composer install --prefer-source --no-interaction --dev
<|file_sep|>original/.travis.yml language: php php: - '5.4' - '5.5' - '5.6' - '7.0' - hhvm - nightly before_script: - composer install --prefer-source --no-interaction --dev <|file_sep|>current/.travis.yml language: php php: - '5.4' - '5.5' - '5.6' - '7.0' - hhvm - nightly before_script: ...
aed0e586ad9a0027537801c2f1b7f6a2afc2b192
.travis.yml
.travis.yml
YAML
<|file_sep|>original/nested-pages-permissions-by-role.php <|file_sep|>current/nested-pages-permissions-by-role.php <|file_sep|>updated/nested-pages-permissions-by-role.php
<?php /* Plugin Name: Nested Pages Permissions by Role Description: This plugin restricts users to only be able to edit pages under their assigned page tree. Version: 0.2.25 Author: Jorge Donoso */ /* * Add the column header for the "Parent Page". */ add_filter('manage_pages_columns', 'nested_pages_permissions_by_role...
<|file_sep|>original/nested-pages-permissions-by-role.php <|file_sep|>current/nested-pages-permissions-by-role.php <|file_sep|>updated/nested-pages-permissions-by-role.php <?php /* Plugin Name: Nested Pages Permissions by Role Description: This plugin restricts users to only be able to edit pages under their assigned...
46605b1cc689d15a762a2e789fe33f9b230c5913
nested-pages-permissions-by-role.php
nested-pages-permissions-by-role.php
PHP
<|file_sep|>client/postcss.config.js.diff original: const purgecss = require('@fullhuman/postcss-purgecss')({ updated: // Disabling purgecss for now because it strips too many styles. // TODO - figure out the correct extractor to parse backbone templates (inline and html) // const purgecss = require('@fullhuman/postcss...
{ syntax: 'postcss-scss', plugins: [ require('postcss-import'), require('postcss-mixins')({ mixinsDir: path.join(__dirname, 'src', 'css', 'mixins') }), // Using utilities for clearfix - ie8 style is closer to original one used require('postcss-utilities')({ ie8: true}), ...
<|file_sep|>client/postcss.config.js.diff original: const purgecss = require('@fullhuman/postcss-purgecss')({ updated: // Disabling purgecss for now because it strips too many styles. // TODO - figure out the correct extractor to parse backbone templates (inline and html) // const purgecss = require('@fullhuman/postcss...
e424a470ab6d2f785d962b6a18af9dea96d512fd
client/postcss.config.js
client/postcss.config.js
JavaScript
<|file_sep|>original/spec/errors_spec.rb it 'should create an instance with the correct code' do classy = Discordrb::Errors.Code(10_002) error = classy.new 'random message' expect(error.code).to eq(10_002) expect(error.message).to eq 'random message' end end end des...
it 'should create an instance with the correct code' do classy = Discordrb::Errors.Code(10_002) error = classy.new 'random message' expect(error.code).to eq(10_002) expect(error.message).to eq 'random message' end end end describe 'error_class_for' do it 'should...
<|file_sep|>original/spec/errors_spec.rb it 'should create an instance with the correct code' do classy = Discordrb::Errors.Code(10_002) error = classy.new 'random message' expect(error.code).to eq(10_002) expect(error.message).to eq 'random message' end end end des...
be7f35f3c3da9df4580d11b20c82abe4f41b2726
spec/errors_spec.rb
spec/errors_spec.rb
Ruby
<|file_sep|>original/lib/pgpool/pcpwrapper.rb # = class: PCPWrapper, the main gem module class PCPWrapper extend Forwardable DEFAULT_TIMEOUT = 10 DEFAULT_HOSTNAME = 'localhost' DEFAULT_PORT = 9898 DEFAULT_USER = 'postgres' DEFAULT_PASSWORD = 'postgres' def_delegator :@command_...
# = class: PCPWrapper, the main gem module class PCPWrapper extend Forwardable DEFAULT_TIMEOUT = 10 DEFAULT_HOSTNAME = 'localhost' DEFAULT_PORT = 9898 DEFAULT_USER = 'postgres' DEFAULT_PASSWORD = 'postgres' def_delegators :@command_launcher, :node_information, :nodes_informati...
<|file_sep|>original/lib/pgpool/pcpwrapper.rb # = class: PCPWrapper, the main gem module class PCPWrapper extend Forwardable DEFAULT_TIMEOUT = 10 DEFAULT_HOSTNAME = 'localhost' DEFAULT_PORT = 9898 DEFAULT_USER = 'postgres' DEFAULT_PASSWORD = 'postgres' def_delegator :@command_...
a413afb4f1decba84d053b9f5e98774f492f02ab
lib/pgpool/pcpwrapper.rb
lib/pgpool/pcpwrapper.rb
Ruby
<|file_sep|>original/.travis.yml language: python python: - "pypy" install: - python setup.py develop - pip install coverage nose mock moto python-coveralls script: nosetests after_success: - coveralls <|file_sep|>current/.travis.yml language: python python: - "pypy" install: - python setup.py develop - p...
language: python sudo: false python: - "pypy" install: - python setup.py develop - pip install coverage nose mock moto python-coveralls script: nosetests after_success: - coveralls
<|file_sep|>original/.travis.yml language: python python: - "pypy" install: - python setup.py develop - pip install coverage nose mock moto python-coveralls script: nosetests after_success: - coveralls <|file_sep|>current/.travis.yml language: python python: - "pypy" install: - python setup.py develop - p...
f845dfaa15c85ac343c8821c20bd46d38394311b
.travis.yml
.travis.yml
YAML
<|file_sep|>src/model/associations/association_set.coffee.diff original: @loaded = true unless err updated: unless err @set 'loaded', true @loaded = true <|file_sep|>original/src/model/associations/association_set.coffee #= require ../../set/set_sort class Batman.AssociationSet extends Batm...
#= require ../../set/set_sort class Batman.AssociationSet extends Batman.SetSort constructor: (@foreignKeyValue, @association) -> base = new Batman.Set super(base, 'hashKey') loaded: false load: (callback) -> return callback(undefined, @) unless @foreignKeyValue? @association.getRelatedModel().lo...
<|file_sep|>src/model/associations/association_set.coffee.diff original: @loaded = true unless err updated: unless err @set 'loaded', true @loaded = true <|file_sep|>original/src/model/associations/association_set.coffee #= require ../../set/set_sort class Batman.AssociationSet extends Batm...
90f11474066ce96d2c13a4bf4fa5c6e3b00add53
src/model/associations/association_set.coffee
src/model/associations/association_set.coffee
CoffeeScript
<|file_sep|>original/.travis.yml language: python python: - "2.6" - "2.7" - "3.2" - "3.3" env: - DJANGO=Django==1.3.7 - DJANGO=Django==1.4.8 - DJANGO=Django==1.5.4 matrix: exclude: - python: 3.2 env: DJANGO=Django==1.3.7 - python: 3.2 env: DJANGO=Django==1.4.8 - python: 3.3 ...
language: python python: - 2.6 - 2.7 - 3.2 - 3.3 env: - DJANGO=Django==1.3.7 - DJANGO=Django==1.4.8 - DJANGO=Django==1.5.4 matrix: exclude: - python: 3.2 env: DJANGO=Django==1.3.7 - python: 3.2 env: DJANGO=Django==1.4.8 - python: 3.3 env: DJANGO=Django==1.3.7 - python:...
<|file_sep|>original/.travis.yml language: python python: - "2.6" - "2.7" - "3.2" - "3.3" env: - DJANGO=Django==1.3.7 - DJANGO=Django==1.4.8 - DJANGO=Django==1.5.4 matrix: exclude: - python: 3.2 env: DJANGO=Django==1.3.7 - python: 3.2 env: DJANGO=Django==1.4.8 - python: 3.3 ...
7d859f7dcd7c60be01b3cd34b0748a398ae559a0
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml language: ruby bundler_args: --without yard guard benchmarks metrics script: "bundle exec rake ci" rvm: - ree - 1.8.7 - 1.9.2 - 1.9.3 - 2.0.0 - ruby-head - jruby-18mode - jruby-19mode - jruby-head - rbx-18mode - rbx-19mode notifications: irc: "irc.freenode.org#da...
language: ruby bundler_args: --without yard guard benchmarks script: "bundle exec rake ci" rvm: - ree - 1.8.7 - 1.9.2 - 1.9.3 - 2.0.0 - ruby-head - jruby-18mode - jruby-19mode - jruby-head - rbx-18mode - rbx-19mode notifications: irc: "irc.freenode.org#datamapper" email: - dan.kubb@gmail.c...
<|file_sep|>original/.travis.yml language: ruby bundler_args: --without yard guard benchmarks metrics script: "bundle exec rake ci" rvm: - ree - 1.8.7 - 1.9.2 - 1.9.3 - 2.0.0 - ruby-head - jruby-18mode - jruby-19mode - jruby-head - rbx-18mode - rbx-19mode notifications: irc: "irc.freenode.org#da...
b09c2a657139ef689b9156bb773ad0fef6d5145f
.travis.yml
.travis.yml
YAML
<|file_sep|>modules/collections/build.gradle.kts.diff original: updated: macos() ios() <|file_sep|>original/modules/collections/build.gradle.kts `maven-publish` id("com.jfrog.bintray") } kotlin { jvm() js() configure(targets) { configureMavenPublication() } sourceSets { getByNa...
`maven-publish` id("com.jfrog.bintray") } kotlin { jvm() js() macos() ios() configure(targets) { configureMavenPublication() } setupNativeSourceSets() sourceSets { getByName("commonMain").dependencies { api(kotlin("stdlib-common")) } getByName("jv...
<|file_sep|>modules/collections/build.gradle.kts.diff original: updated: macos() ios() <|file_sep|>original/modules/collections/build.gradle.kts `maven-publish` id("com.jfrog.bintray") } kotlin { jvm() js() configure(targets) { configureMavenPublication() } sourceSets { getByNa...
64acb6380b95b4492ce1102248eccc1a69502116
modules/collections/build.gradle.kts
modules/collections/build.gradle.kts
Kotlin
<|file_sep|>original/Table.cpp int Table::insertInstruction(int state, int symbol, int newState, int newSymbol, char instruction) { machineState_t mStat; mStat.state = state; mStat.symbol = symbol; machineAction_t mAct; mAct.newState = newState; mAct.newSymbol = newSymbol; ...
int Table::insertInstruction(int state, int symbol, int newState, int newSymbol, char instruction) { machineState_t mStat; mStat.state = state; mStat.symbol = symbol; machineAction_t mAct; mAct.newState = newState; mAct.newSymbol = newSymbol; mAct.instruction = instruction; ...
<|file_sep|>original/Table.cpp int Table::insertInstruction(int state, int symbol, int newState, int newSymbol, char instruction) { machineState_t mStat; mStat.state = state; mStat.symbol = symbol; machineAction_t mAct; mAct.newState = newState; mAct.newSymbol = newSymbol; ...
df663c4fd53fb1784c7618e46c2f81c95120c0fd
Table.cpp
Table.cpp
C++
<|file_sep|>original/atom/packages.cson <|file_sep|>current/atom/packages.cson <|file_sep|>updated/atom/packages.cson
packages: [ "editorconfig" "file-icons" "highlight-selected" "linter" "linter-coffeelint" "linter-csslint" "linter-flake8" "linter-htmlhint" "linter-js-yaml" "linter-jshint" "linter-jsonlint" "linter-less" "linter-php" "linter-scss-lint" "linter-shellcheck" "linter-xmllint" "minimap" ...
<|file_sep|>original/atom/packages.cson <|file_sep|>current/atom/packages.cson <|file_sep|>updated/atom/packages.cson packages: [ "editorconfig" "file-icons" "highlight-selected" "linter" "linter-coffeelint" "linter-csslint" "linter-flake8" "linter-htmlhint" "linter-js-yaml" "linter-jshint" "lin...
f7616fa40eb1990aa571e56ce7f05b91249f2d91
atom/packages.cson
atom/packages.cson
CoffeeScript
<|file_sep|>original/t/02-rakudo/08-slangs.t <|file_sep|>current/t/02-rakudo/08-slangs.t <|file_sep|>updated/t/02-rakudo/08-slangs.t
use v6; use lib <t/spec/packages/>; use Test; use Test::Util; # Tests for slang interface that aren't yet spec plan 1; is_run 「 BEGIN $?LANG.refine_slang( 'MAIN', role { token apostrophe { <[ - ' \\ ]> } }, role {}, ); my $foo\bar = "pass"; say $foo\bar; ...
<|file_sep|>original/t/02-rakudo/08-slangs.t <|file_sep|>current/t/02-rakudo/08-slangs.t <|file_sep|>updated/t/02-rakudo/08-slangs.t use v6; use lib <t/spec/packages/>; use Test; use Test::Util; # Tests for slang interface that aren't yet spec plan 1; is_run 「 BEGIN $?LANG.refine_slang( 'MAIN',...
fe1a06cc9799eb99409029b0b363d654fff9b350
t/02-rakudo/08-slangs.t
t/02-rakudo/08-slangs.t
Perl
<|file_sep|>original/resource.h <|file_sep|>current/resource.h <|file_sep|>updated/resource.h
//{{NO_DEPENDENCIES}} // Microsoft Developer Studio generated include file. // Used by Glide2x.rc // // Next default values for new objects // #ifdef APSTUDIO_INVOKED #ifndef APSTUDIO_READONLY_SYMBOLS #define _APS_NEXT_RESOURCE_VALUE 101 #define _APS_NEXT_COMMAND_VALUE 40001 #define _APS_NEXT_CONTROL_V...
<|file_sep|>original/resource.h <|file_sep|>current/resource.h <|file_sep|>updated/resource.h //{{NO_DEPENDENCIES}} // Microsoft Developer Studio generated include file. // Used by Glide2x.rc // // Next default values for new objects // #ifdef APSTUDIO_INVOKED #ifndef APSTUDIO_READONLY_SYMBOLS #define _APS_NEXT_RES...
617257ce33aeaede4f9756b3ad1bebc099901955
resource.h
resource.h
C
<|file_sep|>original/src/Migrations/2017_05_16_090119_update_ticketit_table.php <|file_sep|>current/src/Migrations/2017_05_16_090119_update_ticketit_table.php <|file_sep|>updated/src/Migrations/2017_05_16_090119_update_ticketit_table.php
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class UpdateTicketitTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('ticketit', func...
<|file_sep|>original/src/Migrations/2017_05_16_090119_update_ticketit_table.php <|file_sep|>current/src/Migrations/2017_05_16_090119_update_ticketit_table.php <|file_sep|>updated/src/Migrations/2017_05_16_090119_update_ticketit_table.php <?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blu...
b426b8dd26bbe1bf132015c15b680eb424803175
src/Migrations/2017_05_16_090119_update_ticketit_table.php
src/Migrations/2017_05_16_090119_update_ticketit_table.php
PHP
<|file_sep|>original/lib/healthy/a19/correct_patient_check.rb module A19 class CorrectPatientCheck attr_reader :patient_id, :record def initialize(patient_id, record) @patient_id = patient_id @record = record end def check record[:identities].any? { |i| i[:ide...
module Healthy module A19 class CorrectPatientCheck attr_reader :patient_id, :record def initialize(patient_id, record) @patient_id = patient_id @record = record end def check record[:identities].any? { |i| i[:ident] == patient_id } end end end end
<|file_sep|>original/lib/healthy/a19/correct_patient_check.rb module A19 class CorrectPatientCheck attr_reader :patient_id, :record def initialize(patient_id, record) @patient_id = patient_id @record = record end def check record[:identities].any? { |i| i[:ide...
115628699ef7e7da1122b556da34ff398d2f5306
lib/healthy/a19/correct_patient_check.rb
lib/healthy/a19/correct_patient_check.rb
Ruby
<|file_sep|>original/ISSUE_TEMPLATE.md **Summary:** Summarize your issue in one sentence (what goes wrong, what did you expect to happen) **Steps to reproduce:** How can we reproduce the issue? **Add System logs:** Add logcat files here (if possible). **Expected behavior:** What did you expect the App to do? ...
_Before creating an issue, please search the existing issues to see if a similar one has already been created. You can search issues by specific labels (e.g. `label:nearby `) or just by typing keywords into the search filter._ **Summary:** Summarize your issue in one sentence (what goes wrong, what did you expect to...
<|file_sep|>original/ISSUE_TEMPLATE.md **Summary:** Summarize your issue in one sentence (what goes wrong, what did you expect to happen) **Steps to reproduce:** How can we reproduce the issue? **Add System logs:** Add logcat files here (if possible). **Expected behavior:** What did you expect the App to do? ...
63cdd9a5b2e6c6d9c91521f3d261816f79f39e53
ISSUE_TEMPLATE.md
ISSUE_TEMPLATE.md
Markdown
<|file_sep|>ManifoldTests/NaturalTests.swift.diff original: updated: func testSuccessorOfZeroIsOne() { let value = Term.application(Successor, Zero).evaluate(naturalEnvironment) let one = One.evaluate(naturalEnvironment) assert(value, !=, nil) assert(one, !=, nil) assert(value.quote, ==, one.quote) } <|fi...
assert(value?.quote, ==, type.quote) } func testSuccessorOfZeroIsOne() { let value = Term.application(Successor, Zero).evaluate(naturalEnvironment) let one = One.evaluate(naturalEnvironment) assert(value, !=, nil) assert(one, !=, nil) assert(value.quote, ==, one.quote) } } let Natural = Term.free("Natu...
<|file_sep|>ManifoldTests/NaturalTests.swift.diff original: updated: func testSuccessorOfZeroIsOne() { let value = Term.application(Successor, Zero).evaluate(naturalEnvironment) let one = One.evaluate(naturalEnvironment) assert(value, !=, nil) assert(one, !=, nil) assert(value.quote, ==, one.quote) } <|fi...
ea542447bb73d2e4c6cf1d6e29a02720f042f2de
ManifoldTests/NaturalTests.swift
ManifoldTests/NaturalTests.swift
Swift