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|>elements/coupling-view/coupling-element.html.diff original: updated: display: block; <|file_sep|>elements/coupling-view/coupling-element.html.diff original: updated: max-width: 800px; <|file_sep|>original/elements/coupling-view/coupling-element.html backgrou...
display: block; background-color: white; margin: 0 auto; max-width: 800px; --paper-card-header-color: white; --paper-card-header-text: { font-size: medium; background-color: var(--main...
<|file_sep|>elements/coupling-view/coupling-element.html.diff original: updated: display: block; <|file_sep|>elements/coupling-view/coupling-element.html.diff original: updated: max-width: 800px; <|file_sep|>original/elements/coupling-view/coupling-element.html backgrou...
7262106a478eab0e86795ce04a32342b6f6d6d6b
elements/coupling-view/coupling-element.html
elements/coupling-view/coupling-element.html
HTML
<|file_sep|>original/app/assets/stylesheets/layout/page_specific/_retirements.scss @include column(5); } } .l-2col-main { @include column(12); @include respond-to($mq-m) { @include column(7); } } } .l-retirements__cell { margin-bottom: $baseline_unit*4; @include respond-to($mq-m...
@include column(5); } } .l-2col-main { @include column(12); @include respond-to($mq-m) { @include column(7); } } .l-2col-main, .l-2col-even, .l-2col-side { @include body(18, 24); } } .l-retirements__cell { margin-bottom: $baseline_unit*4;
<|file_sep|>original/app/assets/stylesheets/layout/page_specific/_retirements.scss @include column(5); } } .l-2col-main { @include column(12); @include respond-to($mq-m) { @include column(7); } } } .l-retirements__cell { margin-bottom: $baseline_unit*4; @include respond-to($mq-m...
cf3a9338c645fc5398b7de29284c25284f1d2fab
app/assets/stylesheets/layout/page_specific/_retirements.scss
app/assets/stylesheets/layout/page_specific/_retirements.scss
SCSS
<|file_sep|>original/test-app/views/ssjsi.jade //- https://ckarande.gitbooks.io/owasp-nodegoat-tutorial/content/tutorial/a1_-_server_side_js_injection.html //- https://nvisium.com/blog/2015/08/27/the-evil-side-of-javascript-server-side/ p. For many years client-side JavaScript exploitation has been th...
//- https://ckarande.gitbooks.io/owasp-nodegoat-tutorial/content/tutorial/a1_-_server_side_js_injection.html //- https://nvisium.com/blog/2015/08/27/the-evil-side-of-javascript-server-side/ p. For many years client-side JavaScript exploitation has been the focus of web application security researc...
<|file_sep|>original/test-app/views/ssjsi.jade //- https://ckarande.gitbooks.io/owasp-nodegoat-tutorial/content/tutorial/a1_-_server_side_js_injection.html //- https://nvisium.com/blog/2015/08/27/the-evil-side-of-javascript-server-side/ p. For many years client-side JavaScript exploitation has been th...
25aefe8b6570548b2036785772f9489d2cb4631a
test-app/views/ssjsi.jade
test-app/views/ssjsi.jade
Jade
<|file_sep|>gulpfile.js.diff original: gulp.src(javascriptGlobs) updated: return gulp.src(javascriptGlobs) <|file_sep|>gulpfile.js.diff original: gulp.src(javascriptGlobs) updated: return gulp.src(javascriptGlobs) <|file_sep|>gulpfile.js.diff original: gulp.src('test/unit/**/*.js') updated: return gulp.src(...
return gulp.src(javascriptGlobs) .pipe(jshint('.jshintrc')) .pipe(jshint.reporter()) .pipe(jshint.reporter('fail')); }); gulp.task('test:unit', function () { return gulp.src('test/unit/**/*.js') .pipe(gulpMocha()); }); gulp.task('test:integration', function () { return gulp.src('test/integration...
<|file_sep|>gulpfile.js.diff original: gulp.src(javascriptGlobs) updated: return gulp.src(javascriptGlobs) <|file_sep|>gulpfile.js.diff original: gulp.src(javascriptGlobs) updated: return gulp.src(javascriptGlobs) <|file_sep|>gulpfile.js.diff original: gulp.src('test/unit/**/*.js') updated: return gulp.src(...
e410b175f90ac1069335d11ab0bbb3cb80354cdb
gulpfile.js
gulpfile.js
JavaScript
<|file_sep|>original/resource-server/circle.yml test: override: - mvn verify deployment: staging: branch: master commands: - curl -X POST https://circleci.com/api/v1/project/osiam/connector4java-integration-tests/tree/master?circle-token=$CIRCLE_TOKEN - > curl -H "Content-Type: application...
test: override: - mvn verify deployment: staging: branch: master commands: # de-activated as we don't build the artifacts on CircleCI, yet. Re-activate this when we do. #- curl -X POST https://circleci.com/api/v1/project/osiam/connector4java-integration-tests/tree/master?circle-token=$CIRCLE_TOKEN...
<|file_sep|>original/resource-server/circle.yml test: override: - mvn verify deployment: staging: branch: master commands: - curl -X POST https://circleci.com/api/v1/project/osiam/connector4java-integration-tests/tree/master?circle-token=$CIRCLE_TOKEN - > curl -H "Content-Type: application...
f25aa224cc51a81a5d78abe6e4662d4761ac1c2e
resource-server/circle.yml
resource-server/circle.yml
YAML
<|file_sep|>README.md.diff original: Listen to incomming connection and accept them. updated: Listen to incomming connections and accept them. <|file_sep|>original/README.md Actively search for peers and connect to them. --listener (on|off) (default: off) Listen to incomming conne...
Actively search for peers and connect to them. --listener (on|off) (default: off) Listen to incomming connections and accept them. --port #value (default: 8080) Listen on specified port. --logging (off|normal|verbose) (default: normal) Show only logs with requested sev...
<|file_sep|>README.md.diff original: Listen to incomming connection and accept them. updated: Listen to incomming connections and accept them. <|file_sep|>original/README.md Actively search for peers and connect to them. --listener (on|off) (default: off) Listen to incomming conne...
6047ef33ae54a3af4fcfb6cc853f0f6d89d77f40
README.md
README.md
Markdown
<|file_sep|>original/core/src/test/java/org/lable/oss/dynamicconfig/core/InstanceLocalSettingsTest.java package org.lable.oss.dynamicconfig.core; import org.junit.Test; import static org.hamcrest.Matchers.nullValue; import static org.hamcrest.core.Is.is; import static org.junit.Assert.assertThat; public class Instan...
/** * Copyright (C) 2015 Lable (info@lable.nl) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
<|file_sep|>original/core/src/test/java/org/lable/oss/dynamicconfig/core/InstanceLocalSettingsTest.java package org.lable.oss.dynamicconfig.core; import org.junit.Test; import static org.hamcrest.Matchers.nullValue; import static org.hamcrest.core.Is.is; import static org.junit.Assert.assertThat; public class Instan...
afecc49673e668caef96e1377c5cafb5baee0290
core/src/test/java/org/lable/oss/dynamicconfig/core/InstanceLocalSettingsTest.java
core/src/test/java/org/lable/oss/dynamicconfig/core/InstanceLocalSettingsTest.java
Java
<|file_sep|>original/dimod/__init__.py from __future__ import absolute_import import sys __version__ = '0.3.1' __author__ = 'D-Wave Systems Inc.' __authoremail__ = 'acondello@dwavesys.com' __description__ = 'A shared API for binary quadratic model samplers.' _PY2 = sys.version_info[0] == 2 from dimod.template_sampl...
from __future__ import absolute_import import sys __version__ = '0.4.0' __author__ = 'D-Wave Systems Inc.' __authoremail__ = 'acondello@dwavesys.com' __description__ = 'A shared API for binary quadratic model samplers.' _PY2 = sys.version_info[0] == 2 from dimod.template_sampler import * from dimod.samplers import ...
<|file_sep|>original/dimod/__init__.py from __future__ import absolute_import import sys __version__ = '0.3.1' __author__ = 'D-Wave Systems Inc.' __authoremail__ = 'acondello@dwavesys.com' __description__ = 'A shared API for binary quadratic model samplers.' _PY2 = sys.version_info[0] == 2 from dimod.template_sampl...
6d7e6d649302523ccbe0373b172b4a4fa8990a45
dimod/__init__.py
dimod/__init__.py
Python
<|file_sep|>simulator-kura/src/main/docker/kura-simulator.xml.diff original: <outputDirectory>/</outputDirectory> updated: <outputDirectory>.</outputDirectory> <|file_sep|>original/simulator-kura/src/main/docker/kura-simulator.xml <includeBaseDirectory>false</includeBaseDirectory> <fileSets> <fileSet> <d...
<includeBaseDirectory>false</includeBaseDirectory> <fileSets> <fileSet> <directory>${project.build.directory}</directory> <outputDirectory>.</outputDirectory> <includes> <include>*-app.jar</include> </includes> </fileSet> <fileSet> <directory>src/main/docker</directory> <outputDirectory>...
<|file_sep|>simulator-kura/src/main/docker/kura-simulator.xml.diff original: <outputDirectory>/</outputDirectory> updated: <outputDirectory>.</outputDirectory> <|file_sep|>original/simulator-kura/src/main/docker/kura-simulator.xml <includeBaseDirectory>false</includeBaseDirectory> <fileSets> <fileSet> <d...
a998d9f2aba1d394621bddcf457df470b7faf15f
simulator-kura/src/main/docker/kura-simulator.xml
simulator-kura/src/main/docker/kura-simulator.xml
XML
<|file_sep|>original/cms/__init__.py """ A collection of Django extensions that add content-management facilities to Django projects. Developed by Dave Hall. <http://etianen.com/> """ VERSION = (1, 8, 5) <|file_sep|>current/cms/__init__.py """ A collection of Django extensions that add content-management facilities ...
""" A collection of Django extensions that add content-management facilities to Django projects. Developed by Dave Hall. <http://etianen.com/> """ VERSION = (1, 9)
<|file_sep|>original/cms/__init__.py """ A collection of Django extensions that add content-management facilities to Django projects. Developed by Dave Hall. <http://etianen.com/> """ VERSION = (1, 8, 5) <|file_sep|>current/cms/__init__.py """ A collection of Django extensions that add content-management facilities ...
4dfa90cee753f6ef937a7a75aa347ec429fa1720
cms/__init__.py
cms/__init__.py
Python
<|file_sep|>original/lib/mangos/decorated_pathname.rb class DecoratedPathname < Pathname def descendant_directories out = [] children.select { |p| p.directory? && !p.hidden? }.each do |p| if p.children.any? { |c| c.image? } out << p end out += p.descendant_directories end out...
class DecoratedPathname < Pathname def image? file? && extname && %w(.jpg .jpeg .png .gif).include?(extname.downcase) end def hidden? basename.to_s[0..0] == "." end end
<|file_sep|>original/lib/mangos/decorated_pathname.rb class DecoratedPathname < Pathname def descendant_directories out = [] children.select { |p| p.directory? && !p.hidden? }.each do |p| if p.children.any? { |c| c.image? } out << p end out += p.descendant_directories end out...
39886c0a6c54c04ba811ffe911c9aed4bfad0ae0
lib/mangos/decorated_pathname.rb
lib/mangos/decorated_pathname.rb
Ruby
<|file_sep|>.travis.yml.diff original: node_js: "6" addons: postgresql: "9.6" updated: env: - POSTGRESQL_VERSION="9.5" - POSTGRESQL_VERSION="10" <|file_sep|>original/.travis.yml matrix: include: - node_js: "0.10" addons: postgresql: "9.3" - node_js: "0.10" addons: postgr...
env: - PGUSER=postgres PGDATABASE=postgres env: - POSTGRESQL_VERSION="9.5" - POSTGRESQL_VERSION="10" node_js: - "6" - "8" before_install: - sudo service postgresql stop; - sudo apt-get install -y --allow-unauthenticated --no-install-recommends --no-install-suggests postgresql-$POSTGRESQL_VERSION p...
<|file_sep|>.travis.yml.diff original: node_js: "6" addons: postgresql: "9.6" updated: env: - POSTGRESQL_VERSION="9.5" - POSTGRESQL_VERSION="10" <|file_sep|>original/.travis.yml matrix: include: - node_js: "0.10" addons: postgresql: "9.3" - node_js: "0.10" addons: postgr...
86928263e826f4378395d5556e492115bdb16fab
.travis.yml
.travis.yml
YAML
<|file_sep|>original/requirements_dev.txt pip==8.1.2 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==2.6.0 tox==2.3.1 coverage==4.1 Sphinx==1.4.8 cryptography==1.4 PyYAML==3.11 pytest==3.0.3 <|file_sep|>current/requirements_dev.txt pip==8.1.2 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==2.6.0 tox==...
pip==8.1.2 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==2.6.0 tox==2.3.1 coverage==4.1 Sphinx==1.4.8 cryptography==1.4 PyYAML==3.12 pytest==3.0.3
<|file_sep|>original/requirements_dev.txt pip==8.1.2 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==2.6.0 tox==2.3.1 coverage==4.1 Sphinx==1.4.8 cryptography==1.4 PyYAML==3.11 pytest==3.0.3 <|file_sep|>current/requirements_dev.txt pip==8.1.2 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==2.6.0 tox==...
14b627c81eb980035070c3d67e38f7c296f716b3
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>base/android/important_file_writer_android.cc.diff original: updated: #include "base/threading/thread_restrictions.h" <|file_sep|>original/base/android/important_file_writer_android.cc #include "jni/ImportantFileWriterAndroid_jni.h" namespace base { namespace android { static jboolean WriteFileAtomically...
#include "base/threading/thread_restrictions.h" #include "jni/ImportantFileWriterAndroid_jni.h" namespace base { namespace android { static jboolean WriteFileAtomically(JNIEnv* env, jclass /* clazz */, jstring file_name, ...
<|file_sep|>base/android/important_file_writer_android.cc.diff original: updated: #include "base/threading/thread_restrictions.h" <|file_sep|>original/base/android/important_file_writer_android.cc #include "jni/ImportantFileWriterAndroid_jni.h" namespace base { namespace android { static jboolean WriteFileAtomically...
4ecbb8f86691102f2a1162677ce091d3de8c5888
base/android/important_file_writer_android.cc
base/android/important_file_writer_android.cc
C++
<|file_sep|>Web/Python/CMakeLists.txt.diff original: "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/../Wrapping/Python/vtk/web") updated: "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/../Wrapping/Python") <|file_sep|>original/Web/Python/CMakeLists.txt vtk_module_impl() vtk_module_export("") find_package(PythonInterp) include(vtkPyt...
vtk_module_impl() vtk_module_export("") find_package(PythonInterp) include(vtkPythonPackages) if(NOT vtkWebPython_BUILD_DEST) set(vtkWebPython_BUILD_DEST "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/../Wrapping/Python") endif() set(vtkWebPython_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}") set(vtkWebPython_BINARY_DIR "${vt...
<|file_sep|>Web/Python/CMakeLists.txt.diff original: "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/../Wrapping/Python/vtk/web") updated: "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/../Wrapping/Python") <|file_sep|>original/Web/Python/CMakeLists.txt vtk_module_impl() vtk_module_export("") find_package(PythonInterp) include(vtkPyt...
0ddf4490e6d1bc53a88af91d62997985f5c766ea
Web/Python/CMakeLists.txt
Web/Python/CMakeLists.txt
Text
<|file_sep|>original/src/prepare_galaxy.sh #!/bin/bash galaxy_dir=$1 current_dir=$PWD # Pull galaxy code cd $galaxy_dir git pull cd $current_dir # Prepary galaxy tools which are in git submodules ./src/prepare_git_submodules.sh cp -r lib/galaxy_tools/* $galaxy_dir/tools/ # Prepare galaxy tools ./src/prepare_galax...
#!/bin/bash galaxy_dir=$1 current_dir=$PWD # Prepary galaxy tools which are in git submodules ./src/prepare_git_submodules.sh cp -r lib/galaxy_tools/* $galaxy_dir/tools/ # Prepare galaxy tools ./src/prepare_galaxy_tools.sh $galaxy_dir # Prepare galaxy config cp config/* $galaxy_dir/config/ # Prepare galaxy tool_d...
<|file_sep|>original/src/prepare_galaxy.sh #!/bin/bash galaxy_dir=$1 current_dir=$PWD # Pull galaxy code cd $galaxy_dir git pull cd $current_dir # Prepary galaxy tools which are in git submodules ./src/prepare_git_submodules.sh cp -r lib/galaxy_tools/* $galaxy_dir/tools/ # Prepare galaxy tools ./src/prepare_galax...
1c222d6be0840c5120bcb31937d695d0eca10f6e
src/prepare_galaxy.sh
src/prepare_galaxy.sh
Shell
<|file_sep|>original/test/test-batch-transfer.sh <|file_sep|>current/test/test-batch-transfer.sh <|file_sep|>updated/test/test-batch-transfer.sh
#!/bin/sh # This is a sample Git LFS test. See test/README.md and testhelpers.sh for # more documentation. . "test/testlib.sh" begin_test "batch transfer" ( set -e # This initializes a new bare git repository in test/remote. # These remote repositories are global to every test, so keep the names # unique. ...
<|file_sep|>original/test/test-batch-transfer.sh <|file_sep|>current/test/test-batch-transfer.sh <|file_sep|>updated/test/test-batch-transfer.sh #!/bin/sh # This is a sample Git LFS test. See test/README.md and testhelpers.sh for # more documentation. . "test/testlib.sh" begin_test "batch transfer" ( set -e #...
740ba62254709b0f0a7f52bcbd507d05ce826727
test/test-batch-transfer.sh
test/test-batch-transfer.sh
Shell
<|file_sep|>original/test-requirements.txt # Install bounded pep8/pyflakes first, then let flake8 install pep8==1.4.5 pyflakes>=0.7.2,<0.7.4 flake8==2.0 hacking>=0.8.0,<0.9 # Testing Requirements coverage>=3.6 django-nose mock>=1.0 mox>=0.5.3 nose nose-exclude nosexcover openstack.nose_plugin>=0.7 nosehtmloutput>=0.0.3...
# Hacking already pins down pep8, pyflakes and flake8 hacking>=0.8.0,<0.9 # Testing Requirements coverage>=3.6 django-nose mock>=1.0 mox>=0.5.3 nose nose-exclude nosexcover openstack.nose_plugin>=0.7 nosehtmloutput>=0.0.3 selenium # Docs Requirements sphinx>=1.1.2,<1.2 # for bug 1091333, remove after sphinx >1.1.3 is r...
<|file_sep|>original/test-requirements.txt # Install bounded pep8/pyflakes first, then let flake8 install pep8==1.4.5 pyflakes>=0.7.2,<0.7.4 flake8==2.0 hacking>=0.8.0,<0.9 # Testing Requirements coverage>=3.6 django-nose mock>=1.0 mox>=0.5.3 nose nose-exclude nosexcover openstack.nose_plugin>=0.7 nosehtmloutput>=0.0.3...
d32ef45a7a6a291d8f4792a65c87fd1ddb40f266
test-requirements.txt
test-requirements.txt
Text
<|file_sep|>original/.github/ISSUE_TEMPLATE.md <|file_sep|>current/.github/ISSUE_TEMPLATE.md <|file_sep|>updated/.github/ISSUE_TEMPLATE.md
| Q | A | ---------------- | ----- | Bug report? | yes/no | Feature request? | yes/no | BC Break report? | yes/no | RFC? | yes/no | Symfony version | x.y.z <!-- - Please fill in this template according to your issue. - For support request or how-tos, visit https://symfony.com/support -...
<|file_sep|>original/.github/ISSUE_TEMPLATE.md <|file_sep|>current/.github/ISSUE_TEMPLATE.md <|file_sep|>updated/.github/ISSUE_TEMPLATE.md | Q | A | ---------------- | ----- | Bug report? | yes/no | Feature request? | yes/no | BC Break report? | yes/no | RFC? | yes/no | Symfony version...
eeaca5c96b72bafa6da2b239c16693e702fce503
.github/ISSUE_TEMPLATE.md
.github/ISSUE_TEMPLATE.md
Markdown
<|file_sep|>original/README.md ```javascript sudo(args, options) ``` - `args`: An array of arguments to `sudo`. Can be both options (such as `-v` or `-E`) and the program to run. Example: `['ls']`. - `options`: An optional object containing options. Recognized options are: - `cachePassword`: Boolean; wheth...
```javascript sudo(args, options) ``` - `args`: An array of arguments to `sudo`. Can be both options (such as `-v` or `-E`) and the program to run. Example: `['ls']`. - `options`: An optional object containing options. Recognized options are: - `password`: String; sudo password. - `cachePassword`: Boo...
<|file_sep|>original/README.md ```javascript sudo(args, options) ``` - `args`: An array of arguments to `sudo`. Can be both options (such as `-v` or `-E`) and the program to run. Example: `['ls']`. - `options`: An optional object containing options. Recognized options are: - `cachePassword`: Boolean; wheth...
77783da5cb4908d042819271ae7d4b88909d002f
README.md
README.md
Markdown
<|file_sep|>original/requirements.txt # Core packages python-dotenv==0.20.0 # Read environment variables from .env Flask==2.2.2 # Web microframework uWSGI==2.0.20 # Application server syspath==3.0.1 # Modify paths # Features flask-sitemap==0.4.0 # Web sitemaps # Monitoring/tracking/loggi...
# Core packages python-dotenv==0.21.0 # Read environment variables from .env Flask==2.2.2 # Web microframework uWSGI==2.0.20 # Application server syspath==3.0.1 # Modify paths # Features flask-sitemap==0.4.0 # Web sitemaps # Monitoring/tracking/logging blinker==1.5 # Dependency...
<|file_sep|>original/requirements.txt # Core packages python-dotenv==0.20.0 # Read environment variables from .env Flask==2.2.2 # Web microframework uWSGI==2.0.20 # Application server syspath==3.0.1 # Modify paths # Features flask-sitemap==0.4.0 # Web sitemaps # Monitoring/tracking/loggi...
489c460131aa3ded2bf13ed7a2ab760f2d1dd071
requirements.txt
requirements.txt
Text
<|file_sep|>original/test/fixtures/long-running/jobs.yml.erb apiVersion: extensions/v1beta1 kind: Deployment metadata: name: jobs spec: replicas: 2 template: metadata: labels: name: jobs app: fixtures spec: containers: - name: app image: busybox command: [...
apiVersion: extensions/v1beta1 kind: Deployment metadata: name: jobs spec: replicas: 2 strategy: type: RollingUpdate rollingUpdate: maxSurge: 0 maxUnavailable: 50% template: metadata: labels: name: jobs app: fixtures spec: containers: - name: app ...
<|file_sep|>original/test/fixtures/long-running/jobs.yml.erb apiVersion: extensions/v1beta1 kind: Deployment metadata: name: jobs spec: replicas: 2 template: metadata: labels: name: jobs app: fixtures spec: containers: - name: app image: busybox command: [...
c9991d01d453bbf47194444b5540b8c98ba3e654
test/fixtures/long-running/jobs.yml.erb
test/fixtures/long-running/jobs.yml.erb
HTML+ERB
<|file_sep|>original/orderable_inlines/inlines.py 'js/orderable-inline-jquery-ui.js', 'js/orderable-inline.js', ) css = { 'all': [ 'css/orderable-inline.css' ] } def get_fieldsets(self, request, obj=None): if self.decla...
'js/orderable-inline-jquery-ui.js', 'js/orderable-inline.js', ) css = { 'all': [ 'css/orderable-inline.css' ] } def get_fieldsets(self, request, obj=None): form = self.get_formset(request, obj, fields=None).form ...
<|file_sep|>original/orderable_inlines/inlines.py 'js/orderable-inline-jquery-ui.js', 'js/orderable-inline.js', ) css = { 'all': [ 'css/orderable-inline.css' ] } def get_fieldsets(self, request, obj=None): if self.decla...
5fc699b89eae0c41923a813ac48281729c4d80b8
orderable_inlines/inlines.py
orderable_inlines/inlines.py
Python
<|file_sep|>reagan.gemspec.diff original: updated: s.homepage = 'http://www.github.com/tas50/reagan' s.license = 'Apache-2.0' <|file_sep|>reagan.gemspec.diff original: updated: s.required_ruby_version = '>= 1.9.3' <|file_sep|>original/reagan.gemspec s.platform = Gem::Platform::RUBY s.extra_rdoc_files...
s.platform = Gem::Platform::RUBY s.extra_rdoc_files = ['README.md', 'LICENSE'] s.summary = 'Trust But Verify - Ruby build script for Jenkins that automates the testing of Chef cookbooks' s.description = s.summary s.authors = ['Tim Smith'] s.email = 'tim@cozy.co' s.homepage = 'http://www.g...
<|file_sep|>reagan.gemspec.diff original: updated: s.homepage = 'http://www.github.com/tas50/reagan' s.license = 'Apache-2.0' <|file_sep|>reagan.gemspec.diff original: updated: s.required_ruby_version = '>= 1.9.3' <|file_sep|>original/reagan.gemspec s.platform = Gem::Platform::RUBY s.extra_rdoc_files...
12a19d6e7c14cead591cc4688547d6e0c99a01de
reagan.gemspec
reagan.gemspec
Ruby
<|file_sep|>original/tests/Cases/ZipCodeDataTest.php <?php namespace SepomexPhpTests\Cases; use SepomexPhp\PdoGateway\Gateway; use SepomexPhp\SepomexPhp; use SepomexPhpTests\TestCase; class ZipCodeDataTest extends TestCase { public function testZipCodeCheck() { $expectedZipCode = 88305; $sepo...
<?php namespace SepomexPhpTests\Cases; use SepomexPhp\PdoGateway\Gateway; use SepomexPhp\SepomexPhp; use SepomexPhpTests\TestCase; class ZipCodeDataTest extends TestCase { public function testGetZipCodeDataOnNotFound() { $sepomex = new SepomexPhp(new Gateway($this->pdo())); $this->assertNull($...
<|file_sep|>original/tests/Cases/ZipCodeDataTest.php <?php namespace SepomexPhpTests\Cases; use SepomexPhp\PdoGateway\Gateway; use SepomexPhp\SepomexPhp; use SepomexPhpTests\TestCase; class ZipCodeDataTest extends TestCase { public function testZipCodeCheck() { $expectedZipCode = 88305; $sepo...
9fc882d93e50fca76abd931a18f5e2a7cb2b7d9e
tests/Cases/ZipCodeDataTest.php
tests/Cases/ZipCodeDataTest.php
PHP
<|file_sep|>original/platforms/ios/framework/Tangram-es.podspec Pod::Spec.new do |s| s.name = 'Tangram-es' s.version = '0.10.0' s.summary = 'Open source C++ library for rendering 2D and 3D maps from vector data using OpenGL ES.' s.description = 'Open source C++ library for rendering 2D and ...
Pod::Spec.new do |s| s.name = 'Tangram-es' s.version = '0.10.0' s.summary = 'Open source C++ library for rendering 2D and 3D maps from vector data using OpenGL ES.' s.description = 'Open source C++ library for rendering 2D and 3D maps from vector data using OpenGL ES, wrapped with native Co...
<|file_sep|>original/platforms/ios/framework/Tangram-es.podspec Pod::Spec.new do |s| s.name = 'Tangram-es' s.version = '0.10.0' s.summary = 'Open source C++ library for rendering 2D and 3D maps from vector data using OpenGL ES.' s.description = 'Open source C++ library for rendering 2D and ...
06863e13bdb7ea77410ec80be53ee6ebbf6773fe
platforms/ios/framework/Tangram-es.podspec
platforms/ios/framework/Tangram-es.podspec
Ruby
<|file_sep|>original/dev-requirements.txt mypy==0.641 pytest==3.8.2 pytest-cov==2.6.0 pytest-asyncio==0.9.0 pytest-monkeytype==1.0.1 jedi==0.13.1 coverage==4.5.1 flake8==3.5.0 typed-ast==1.1.0 rope==0.11.0 <|file_sep|>current/dev-requirements.txt mypy==0.641 pytest==3.8.2 pytest-cov==2.6.0 pytest-asyncio==0.9.0 pytest-...
mypy==0.641 pytest==3.9.1 pytest-cov==2.6.0 pytest-asyncio==0.9.0 pytest-monkeytype==1.0.1 jedi==0.13.1 coverage==4.5.1 flake8==3.5.0 typed-ast==1.1.0 rope==0.11.0
<|file_sep|>original/dev-requirements.txt mypy==0.641 pytest==3.8.2 pytest-cov==2.6.0 pytest-asyncio==0.9.0 pytest-monkeytype==1.0.1 jedi==0.13.1 coverage==4.5.1 flake8==3.5.0 typed-ast==1.1.0 rope==0.11.0 <|file_sep|>current/dev-requirements.txt mypy==0.641 pytest==3.8.2 pytest-cov==2.6.0 pytest-asyncio==0.9.0 pytest-...
848eb32780a8ad2e8090afb404a07578833cd4b1
dev-requirements.txt
dev-requirements.txt
Text
<|file_sep|>original/lib/asciinema/emails/email.ex end defp base_email do new_email() |> from({"asciinema", from_address()}) |> put_header("Reply-To", reply_to_address()) |> put_html_layout({AsciinemaWeb.LayoutView, "email.html"}) end defp from_address do System.get_env("SMTP_FROM_ADDRESS"...
end defp base_email do new_email() |> from({"asciinema", from_address()}) |> put_header("Reply-To", reply_to_address()) |> put_html_layout({AsciinemaWeb.LayoutView, "email.html"}) end defp from_address do System.get_env("SMTP_FROM_ADDRESS") || "hello@#{instance_hostname()}" end defp r...
<|file_sep|>original/lib/asciinema/emails/email.ex end defp base_email do new_email() |> from({"asciinema", from_address()}) |> put_header("Reply-To", reply_to_address()) |> put_html_layout({AsciinemaWeb.LayoutView, "email.html"}) end defp from_address do System.get_env("SMTP_FROM_ADDRESS"...
04f7cf71c0595097d596b26700e59366642014fb
lib/asciinema/emails/email.ex
lib/asciinema/emails/email.ex
Elixir
<|file_sep|>original/.gitlab-ci.yml image: docker:git stages: - build build-debian-files: stage: build script: - KOHAENV=patched make rebuild logs-f-nocolor delete <|file_sep|>current/.gitlab-ci.yml image: docker:git stages: - build build-debian-files: stage: build script: - KOHAENV=patched make reb...
image: docker:git stages: - build before-script: - apt-get install make build-debian-files: stage: build script: - KOHAENV=patched make rebuild logs-f-nocolor delete
<|file_sep|>original/.gitlab-ci.yml image: docker:git stages: - build build-debian-files: stage: build script: - KOHAENV=patched make rebuild logs-f-nocolor delete <|file_sep|>current/.gitlab-ci.yml image: docker:git stages: - build build-debian-files: stage: build script: - KOHAENV=patched make reb...
6f33e5da88cbbb74cd457d6b495201bcb7b86dfb
.gitlab-ci.yml
.gitlab-ci.yml
YAML
<|file_sep|>original/jsk_2015_05_baxter_apc/config/kiva_pod_interactive_marker.yaml frame_id: /base initial_orientation: [0.002, -0.008, 0.014, 1.000] initial_x: 1.410 initial_y: -0.004 initial_z: 0.414 object_a: 0.2 object_b: 0.2 object_g: 0.0 object_r: 0.0 object_type: cube object_x: 0.865 object_y: 0.865 object_z: 1...
frame_id: /base initial_orientation: [-0.002, -0.028, 0.017, 0.999] initial_x: 1.421 initial_y: 0.020 initial_z: 0.496 object_a: 0.2 object_b: 0.2 object_g: 0.0 object_r: 0.0 object_type: cube object_x: 0.865 object_y: 0.865 object_z: 1.0 publish_tf: true tf_frame: kiva_pod_base
<|file_sep|>original/jsk_2015_05_baxter_apc/config/kiva_pod_interactive_marker.yaml frame_id: /base initial_orientation: [0.002, -0.008, 0.014, 1.000] initial_x: 1.410 initial_y: -0.004 initial_z: 0.414 object_a: 0.2 object_b: 0.2 object_g: 0.0 object_r: 0.0 object_type: cube object_x: 0.865 object_y: 0.865 object_z: 1...
b864e3db00d710c1d2bd43cac54a7162f57bf93f
jsk_2015_05_baxter_apc/config/kiva_pod_interactive_marker.yaml
jsk_2015_05_baxter_apc/config/kiva_pod_interactive_marker.yaml
YAML
<|file_sep|>original/src/lib.rs #![allow(clippy::unreadable_literal)] //! This crate contains parsers and readers for Pcap and Pcapng files. //! It also contains a writer for Pcap files. //! //! For Pcap files see //! [PcapReader](struct.PcapReader.html), [PcapParser](struct.PcapParser.html) and [PcapWriter](struct.Pc...
#![allow(clippy::unreadable_literal)] //! This crate contains parsers and readers for Pcap and Pcapng files. //! It also contains a writer for Pcap files. //! //! For Pcap files see //! [PcapReader](struct.PcapReader.html), [PcapParser](struct.PcapParser.html) and [PcapWriter](struct.PcapWriter.html). //! //! For Pcap...
<|file_sep|>original/src/lib.rs #![allow(clippy::unreadable_literal)] //! This crate contains parsers and readers for Pcap and Pcapng files. //! It also contains a writer for Pcap files. //! //! For Pcap files see //! [PcapReader](struct.PcapReader.html), [PcapParser](struct.PcapParser.html) and [PcapWriter](struct.Pc...
9cf9119bc58ba5e3293eb26f1d6ed57669ca0e23
src/lib.rs
src/lib.rs
Rust
<|file_sep|>original/src/xunit.netcore.extensions/Attributes/PlatformSpecificAttribute.cs ο»Ώ// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using Xunit.Sdk; namespace Xunit { /// <summary> /// A...
ο»Ώ// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using Xunit.Sdk; namespace Xunit { /// <summary> /// Apply this attribute to your test method to specify this is a platform specific test. /...
<|file_sep|>original/src/xunit.netcore.extensions/Attributes/PlatformSpecificAttribute.cs ο»Ώ// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using Xunit.Sdk; namespace Xunit { /// <summary> /// A...
29c723ebc94814d68d050c06f5a6233d732c0800
src/xunit.netcore.extensions/Attributes/PlatformSpecificAttribute.cs
src/xunit.netcore.extensions/Attributes/PlatformSpecificAttribute.cs
C#
<|file_sep|>original/bower.json { "name": "gulp.boilerplate", "license": "MIT", "dependencies": { "jquery": "~2.1", "bourbon": "~4.2", "sanitize-css": "~1.1", "modernizr": "~2.8", "html5shiv": "~3.7", "velocity": "~1.2", "metaquery": "~1.2", "picturefill": "~2.3" } } <|file_sep|>...
{ "name": "gulp.boilerplate", "license": "MIT", "dependencies": { "jquery": "~2.1", "bourbon": "~4.2", "sanitize-css": "~1.1", "modernizr": "~2.8", "html5shiv": "~3.7", "velocity": "~1.2", "metaquery": "~1.2", "picturefill": "~3.0" } }
<|file_sep|>original/bower.json { "name": "gulp.boilerplate", "license": "MIT", "dependencies": { "jquery": "~2.1", "bourbon": "~4.2", "sanitize-css": "~1.1", "modernizr": "~2.8", "html5shiv": "~3.7", "velocity": "~1.2", "metaquery": "~1.2", "picturefill": "~2.3" } } <|file_sep|>...
0edffdcf44e268d5633800750f8eb8ea7928303b
bower.json
bower.json
JSON
<|file_sep|>original/.travis.yml language: node_js node_js: - "7" - "6" - "5" after_success: 'npm run coverage' matrix: allow_failures: - node_js: "7" <|file_sep|>current/.travis.yml language: node_js node_js: - "7" - "6" - "5" after_success: 'npm run coverage' matrix: allow_failures: - node_j...
language: node_js node_js: - "7.4.0" - "6.9.4" - "5.12.0" after_success: 'npm run coverage' matrix: allow_failures: - node_js: "7"
<|file_sep|>original/.travis.yml language: node_js node_js: - "7" - "6" - "5" after_success: 'npm run coverage' matrix: allow_failures: - node_js: "7" <|file_sep|>current/.travis.yml language: node_js node_js: - "7" - "6" - "5" after_success: 'npm run coverage' matrix: allow_failures: - node_j...
da46400d91fd7472370575218638f3095961113b
.travis.yml
.travis.yml
YAML
<|file_sep|>.travis.yml.diff original: slack: secure: VSWqg8r2D4nFQLa+47hxmpUiT+/c+MM/aQdKvl6LhRUCHvnBZXKuXILODvZlsjsWR+TBoMx/r5RgFJrdNOai80MSe/cweLor3GO8G9NsS4f9hSijy2ObpE0gCh79OReZMoXCzU8qX8FeUIoY2rICjABcKm23xuooZaDS7jZoNbaOCOKMqQxRFNfZI/o97Y9Wn0VPrj6qAtxNj145hIAMGAOOynqlm5OICGMqiagdYocDXCcme2yPWXX16GYeZwWbEs1u...
- 3.6 install: - pip install codecov - pip install -r devRequirements before_script: - flake8 . script: - coverage run manage.py test - coverage report after_success: - codecov notifications: email: false pushover: webhooks: ​ https://fleeg.rocket.chat/hooks/6fTG3EgvwyELD8WWE/NfMNWCuyh2YbTbSZ...
<|file_sep|>.travis.yml.diff original: slack: secure: VSWqg8r2D4nFQLa+47hxmpUiT+/c+MM/aQdKvl6LhRUCHvnBZXKuXILODvZlsjsWR+TBoMx/r5RgFJrdNOai80MSe/cweLor3GO8G9NsS4f9hSijy2ObpE0gCh79OReZMoXCzU8qX8FeUIoY2rICjABcKm23xuooZaDS7jZoNbaOCOKMqQxRFNfZI/o97Y9Wn0VPrj6qAtxNj145hIAMGAOOynqlm5OICGMqiagdYocDXCcme2yPWXX16GYeZwWbEs1u...
281e8f6ea4253ac1a6bb749e40d7520ab34c59be
.travis.yml
.travis.yml
YAML
<|file_sep|>static/locales/en-GB/messages.properties.diff original: updated: navigation-title=Pontoon Intro navigation-developers=Developers <|file_sep|>original/static/locales/en-GB/messages.properties # Title tag # Navigation # Header upper-title=Pontoon by Mozilla headline-1=LocaliSe the web. # What what-desc=Po...
# Title tag # Navigation navigation-title=Pontoon Intro navigation-developers=Developers # Header upper-title=Pontoon by Mozilla headline-1=LocaliSe the web. headline-2=In Place. call-to-action=Tell Me More # What what-desc=Pontoon allows you to localise web content in place, with context and spatial limitations rig...
<|file_sep|>static/locales/en-GB/messages.properties.diff original: updated: navigation-title=Pontoon Intro navigation-developers=Developers <|file_sep|>original/static/locales/en-GB/messages.properties # Title tag # Navigation # Header upper-title=Pontoon by Mozilla headline-1=LocaliSe the web. # What what-desc=Po...
785bab0c896554a733ce4c4acff5f4986cbc383b
static/locales/en-GB/messages.properties
static/locales/en-GB/messages.properties
INI
<|file_sep|>original/spec/spec_helper.rb end def mock_model(type) @_mocked_models << type Object.const_set(type, Class.new(OpenStruct)) end def mock_mapper(model_class) klass = Class.new(DataMapper::Mapper) do def inspect "#<#{self.class.model}Mapper:#{object_id} model=#{self.class.m...
end def mock_model(type) @_mocked_models << type Object.const_set(type, Class.new(OpenStruct)) end def mock_mapper(model_class) klass = Class.new(DataMapper::Mapper) do def inspect "#<#{self.class.model}Mapper:#{object_id} model=#{self.class.model}>" end end klass.model...
<|file_sep|>original/spec/spec_helper.rb end def mock_model(type) @_mocked_models << type Object.const_set(type, Class.new(OpenStruct)) end def mock_mapper(model_class) klass = Class.new(DataMapper::Mapper) do def inspect "#<#{self.class.model}Mapper:#{object_id} model=#{self.class.m...
dfc649407decc5434787eb6f1965f2a6d0619704
spec/spec_helper.rb
spec/spec_helper.rb
Ruby
<|file_sep|>original/docs/content/en/news/0.78.1-relnotes/index.md <|file_sep|>current/docs/content/en/news/0.78.1-relnotes/index.md <|file_sep|>updated/docs/content/en/news/0.78.1-relnotes/index.md
--- date: 2020-11-05 title: "Hugo 0.78.1: A couple of Bug Fixes" description: "This version fixes a couple of bugs introduced in 0.78.0." categories: ["Releases"] images: - images/blog/hugo-bug-poster.png --- This is a bug-fix release with a couple of important fixes. * Disable NPM test on Travis on Windows [343...
<|file_sep|>original/docs/content/en/news/0.78.1-relnotes/index.md <|file_sep|>current/docs/content/en/news/0.78.1-relnotes/index.md <|file_sep|>updated/docs/content/en/news/0.78.1-relnotes/index.md --- date: 2020-11-05 title: "Hugo 0.78.1: A couple of Bug Fixes" description: "This version fixes a couple of bugs int...
347f2de67d8c46428ba2366a041d68bea108244e
docs/content/en/news/0.78.1-relnotes/index.md
docs/content/en/news/0.78.1-relnotes/index.md
Markdown
<|file_sep|>original/README.md # fluent-plugin-add ## Installation gem install fluent-plugin-add ## Configration <match test.**> type add add_tag_prefix debug <pair> hoge moge hogehoge mogemoge </pair> </match> ### Assuming following inputs are coming: <|file...
# fluent-plugin-add, a plugin for [Fluentd](http://fluentd.org) ## Installation gem install fluent-plugin-add ## Configration <match test.**> type add add_tag_prefix debug <pair> hoge moge hogehoge mogemoge </pair> </match> ### Assuming following inputs are c...
<|file_sep|>original/README.md # fluent-plugin-add ## Installation gem install fluent-plugin-add ## Configration <match test.**> type add add_tag_prefix debug <pair> hoge moge hogehoge mogemoge </pair> </match> ### Assuming following inputs are coming: <|file...
8851f9637f773396c4155ff14c4f73bc727cfc6f
README.md
README.md
Markdown
<|file_sep|>.travis.yml.diff original: language: ruby updated: <|file_sep|>.travis.yml.diff original: updated: - apt-get -qq update - apt-get install -y qemu-kvm bridge-utils libvirt-bin <|file_sep|>.travis.yml.diff original: updated: - lsmod | grep kvm <|file_sep|>.travis.yml.diff original: updated: - doc...
sudo: required services: - docker before_install: - apt-get -qq update - apt-get install -y qemu-kvm bridge-utils libvirt-bin - cd docker/qemu-nvme/ - lsmod | grep kvm install: - docker build -t ljishen/qemu-nvme . before_script: - wget -O img/vm.img http://cloud-images.ubuntu.com/xenial/current/xenia...
<|file_sep|>.travis.yml.diff original: language: ruby updated: <|file_sep|>.travis.yml.diff original: updated: - apt-get -qq update - apt-get install -y qemu-kvm bridge-utils libvirt-bin <|file_sep|>.travis.yml.diff original: updated: - lsmod | grep kvm <|file_sep|>.travis.yml.diff original: updated: - doc...
ccfdf12587b899e922943e76ec0d3c063b8955ec
.travis.yml
.travis.yml
YAML
<|file_sep|>src/timeline_analysis.css.diff original: -webkit-user-select: text; updated: <|file_sep|>original/src/timeline_analysis.css /* Copyright (c) 2012 The Chromium Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ .timel...
/* Copyright (c) 2012 The Chromium Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ .timeline-analysis { font-family: monospace; white-space: pre; } .timeline-analysis * { -webkit-user-select: text !important; } .timeli...
<|file_sep|>src/timeline_analysis.css.diff original: -webkit-user-select: text; updated: <|file_sep|>original/src/timeline_analysis.css /* Copyright (c) 2012 The Chromium Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ .timel...
1a7f4463abfcfee6666eabc82812cb1cf4284994
src/timeline_analysis.css
src/timeline_analysis.css
CSS
<|file_sep|>original/README.rst Morphological Contour Interpolation =================================== Based off the paper: Albu AB1, Beugeling T, Laurendeau D. "A morphology-based approach for interslice interpolation of anatomical slices from volumetric images." IEEE Trans Biomed Eng. 2008 Aug;55(8):2022-38. doi: ...
Morphological Contour Interpolation =================================== An `ITK <http://itk.org>`_-based implementation of morphological contour interpolation off the paper: Albu AB1, Beugeling T, Laurendeau D. "A morphology-based approach for interslice interpolation of anatomical slices from volumetric images." IEE...
<|file_sep|>original/README.rst Morphological Contour Interpolation =================================== Based off the paper: Albu AB1, Beugeling T, Laurendeau D. "A morphology-based approach for interslice interpolation of anatomical slices from volumetric images." IEEE Trans Biomed Eng. 2008 Aug;55(8):2022-38. doi: ...
6d4302473e7e0fb3089b8d1b5e789fa1ab40af63
README.rst
README.rst
reStructuredText
<|file_sep|>original/build-hgvm.sh <|file_sep|>current/build-hgvm.sh <|file_sep|>updated/build-hgvm.sh
#!/usr/bin/env bash set -e # Shell wrapper to run the build script without installing the module # You still need to pass a bunch of arguments PYTHONPATH=src python -m hgvmbuilder.build "${@}"
<|file_sep|>original/build-hgvm.sh <|file_sep|>current/build-hgvm.sh <|file_sep|>updated/build-hgvm.sh #!/usr/bin/env bash set -e # Shell wrapper to run the build script without installing the module # You still need to pass a bunch of arguments PYTHONPATH=src python -m hgvmbuilder.build "${@}"
5acf7fb2f83f768fcf5a5ae0097cd92471140e03
build-hgvm.sh
build-hgvm.sh
Shell
<|file_sep|>original/src/org/matthewjwhite/stata/macro/MacroList.java <|file_sep|>current/src/org/matthewjwhite/stata/macro/MacroList.java <|file_sep|>updated/src/org/matthewjwhite/stata/macro/MacroList.java
package org.matthewjwhite.stata.macro; import org.matthewjwhite.stata.string.Quotes; public class MacroList { public static String invtokens(String[] list, Quotes.Style style) { StringBuilder macroList = new StringBuilder(); for (int i = 0; i < list.length; i++) { if (i > 0) macroList.append(" "); macr...
<|file_sep|>original/src/org/matthewjwhite/stata/macro/MacroList.java <|file_sep|>current/src/org/matthewjwhite/stata/macro/MacroList.java <|file_sep|>updated/src/org/matthewjwhite/stata/macro/MacroList.java package org.matthewjwhite.stata.macro; import org.matthewjwhite.stata.string.Quotes; public class MacroList ...
988d7553ccc2a44daf292195bdd23ddcf2f776b9
src/org/matthewjwhite/stata/macro/MacroList.java
src/org/matthewjwhite/stata/macro/MacroList.java
Java
<|file_sep|>original/.ohmyzsh_custom/functions.zsh trunk() { tmp=`sinfo -p trunk`; svn switch $tmp } db2a() { if [ $# -gt 0 ]; then java -jar /work/brent/docbook2asciidoc/saxon9he.jar -s $1.docbook -o $1.asc /work/brent/docbook2asciidoc/d2a.xsl else echo "Docbook file must be provided" ...
else echo "Docbook file must be provided" fi } server() { if [ $# -eq 0 ]; then PORT=8000; else PORT=$1; fi open "http://localhost:${PORT}" && python -m SimpleHTTPServer $PORT } dockerImages() { if [ $# -eq 1 ]; then docker images | grep "$1" | awk '{print ...
<|file_sep|>original/.ohmyzsh_custom/functions.zsh trunk() { tmp=`sinfo -p trunk`; svn switch $tmp } db2a() { if [ $# -gt 0 ]; then java -jar /work/brent/docbook2asciidoc/saxon9he.jar -s $1.docbook -o $1.asc /work/brent/docbook2asciidoc/d2a.xsl else echo "Docbook file must be provided" ...
0a564b0e7c8ade9743d70d817b209934dcbfb6ff
.ohmyzsh_custom/functions.zsh
.ohmyzsh_custom/functions.zsh
Shell
<|file_sep|>original/benchmark/datasets/musicbrainz/extract-from-dbdump.py <|file_sep|>current/benchmark/datasets/musicbrainz/extract-from-dbdump.py <|file_sep|>updated/benchmark/datasets/musicbrainz/extract-from-dbdump.py
#!/usr/bin/env python """ Script to extract the artist names from a MusicBrainz database dump. Usage: ./extract-from-dbdump.py <dump_dir>/artist <outfile> """ import pandas as pd import sys __author__ = "Uwe L. Korn" __license__ = "MIT" input_file = sys.argv[1] output_file = sys.argv[2] df = pd.read_csv(input...
<|file_sep|>original/benchmark/datasets/musicbrainz/extract-from-dbdump.py <|file_sep|>current/benchmark/datasets/musicbrainz/extract-from-dbdump.py <|file_sep|>updated/benchmark/datasets/musicbrainz/extract-from-dbdump.py #!/usr/bin/env python """ Script to extract the artist names from a MusicBrainz database dump. ...
fe63d6e1e822f7cb60d1c0bdaa08eb53d3849783
benchmark/datasets/musicbrainz/extract-from-dbdump.py
benchmark/datasets/musicbrainz/extract-from-dbdump.py
Python
<|file_sep|>week-5/nums-commas/my_solution.rb.diff original: updated: =begin <|file_sep|>week-5/nums-commas/my_solution.rb.diff original: updated: # Input: positive integer <|file_sep|>week-5/nums-commas/my_solution.rb.diff original: updated: # Output: String-version of input, but the numbers are separ...
=begin # What is the input? # Input: positive integer # What is the output? (i.e. What should the code return?) # Output: String-version of input, but the numbers are separated by commas. # What are the steps needed to solve the problem? # Steps to solve the problem: VERSION 1: Step 1: Get user input (...
<|file_sep|>week-5/nums-commas/my_solution.rb.diff original: updated: =begin <|file_sep|>week-5/nums-commas/my_solution.rb.diff original: updated: # Input: positive integer <|file_sep|>week-5/nums-commas/my_solution.rb.diff original: updated: # Output: String-version of input, but the numbers are separ...
499e52707a3dc630ae194944d5c4b469a06db6fa
week-5/nums-commas/my_solution.rb
week-5/nums-commas/my_solution.rb
Ruby
<|file_sep|>.github/workflows/build.yml.diff original: updated: env: DISPLAY: :99 WDM_GITHUBTOKENNAME: ${{ secrets.WDM_GITHUBTOKENNAME }} WDM_GITHUBTOKENSECRET: ${{ secrets.WDM_GITHUBTOKENSECRET }} <|file_sep|>original/.github/workflows/build.yml branches: [ master ] pull_request: branches: [ master ]...
WDM_GITHUBTOKENSECRET: ${{ secrets.WDM_GITHUBTOKENSECRET }} jobs: build: runs-on: ${{ matrix.os }} strategy: matrix: os: [windows-latest, ubuntu-latest, macos-latest] steps: - uses: actions/checkout@v2 - name: Set up JDK 1.8 uses: actions/setup-java@v1 with: ...
<|file_sep|>.github/workflows/build.yml.diff original: updated: env: DISPLAY: :99 WDM_GITHUBTOKENNAME: ${{ secrets.WDM_GITHUBTOKENNAME }} WDM_GITHUBTOKENSECRET: ${{ secrets.WDM_GITHUBTOKENSECRET }} <|file_sep|>original/.github/workflows/build.yml branches: [ master ] pull_request: branches: [ master ]...
849bac4d69fb0717ea2595bf28550e362067a519
.github/workflows/build.yml
.github/workflows/build.yml
YAML
<|file_sep|>original/_config.yml name: Your New Jekyll Site description: Blogging about stuffs meta_description: "Your New Jekyll Site, Blogging about stuffs" markdown: kramdown highlighter: pygments logo: false paginate: 15 baseurl: / domain_name: 'http://yourblog-domain.com' google_analytics: 'UA-XXXXXXXX-X' gems: [...
name: Your New Jekyll Site description: Blogging about stuffs meta_description: "Your New Jekyll Site, Blogging about stuffs" markdown: kramdown highlighter: rouge logo: false paginate: 15 baseurl: / domain_name: 'http://yourblog-domain.com' google_analytics: 'UA-XXXXXXXX-X' gems: [jekyll-paginate] # Details for the ...
<|file_sep|>original/_config.yml name: Your New Jekyll Site description: Blogging about stuffs meta_description: "Your New Jekyll Site, Blogging about stuffs" markdown: kramdown highlighter: pygments logo: false paginate: 15 baseurl: / domain_name: 'http://yourblog-domain.com' google_analytics: 'UA-XXXXXXXX-X' gems: [...
dce7c9aa6d4af4ebdb1a14704756e5668edf43e6
_config.yml
_config.yml
YAML
<|file_sep|>src/Halytics/Monitor.hs.diff original: {-# LANGUAGE DataKinds #-} {-# LANGUAGE EmptyDataDecls #-} {-# LANGUAGE GADTs #-} {-# LANGUAGE KindSignatures #-} {-# LANGUAGE TypeOperators #-} updated: {-# LANGUAGE DataKinds #-} {-# LANGUAGE EmptyDataDecls #-} {-# LANGUAGE FlexibleInstances...
module Halytics.Monitor where import GHC.TypeLits data Result a = Result Double class Resultable a where toValue :: [Double] -> Result a class Generate a where generate :: Monitor a instance (Resultable a) => Generate '[a] where generate = MNow [] instance {-# OVERLAPPABLE #-} (Resultable a, Generate as) =...
<|file_sep|>src/Halytics/Monitor.hs.diff original: {-# LANGUAGE DataKinds #-} {-# LANGUAGE EmptyDataDecls #-} {-# LANGUAGE GADTs #-} {-# LANGUAGE KindSignatures #-} {-# LANGUAGE TypeOperators #-} updated: {-# LANGUAGE DataKinds #-} {-# LANGUAGE EmptyDataDecls #-} {-# LANGUAGE FlexibleInstances...
f6c3c33f64669333d532b1d606180512593361c8
src/Halytics/Monitor.hs
src/Halytics/Monitor.hs
Haskell
<|file_sep|>original/.github/PULL_REQUEST_TEMPLATE.md <!-- Please create/claim an issue before sending a PR --> <!-- Add issue number (Eg: fixes #123) --> Fixes # ### Checklist - [ ] My branch is up-to-date with upstream/develop branch. - [ ] Everything works and tested for Python 3.5.2 and above. ### Description <!...
<!-- Please create/claim an issue before sending a PR --> <!-- Add issue number (Eg: fixes #123) --> Fixes # ### Checklist - [ ] My branch is up-to-date with upstream/develop branch. - [ ] Everything works and tested for Python 3.5.2 and above. ### Description <!-- Describe about what this PR does, previous state an...
<|file_sep|>original/.github/PULL_REQUEST_TEMPLATE.md <!-- Please create/claim an issue before sending a PR --> <!-- Add issue number (Eg: fixes #123) --> Fixes # ### Checklist - [ ] My branch is up-to-date with upstream/develop branch. - [ ] Everything works and tested for Python 3.5.2 and above. ### Description <!...
78b1c67a5ec9379a153f991382ecbc383a9b13b0
.github/PULL_REQUEST_TEMPLATE.md
.github/PULL_REQUEST_TEMPLATE.md
Markdown
<|file_sep|>original/css/time-axis.css .time-axis { border-bottom: 1px solid gray; border-top: 1px solid gray; height: 32px; overflow: hidden; } .time-axis pattern line { stroke: gray; } .time-axis .background { fill: url(#time-axis-pattern); } .time-axis .today { fill: orangered; } <|file_sep|>current...
.time-axis { border-bottom: 1px solid gray; border-top: 1px solid gray; height: 32px; overflow: hidden; } .time-axis pattern line { stroke: lightgray; } .time-axis .background { fill: url(#time-axis-pattern); } .time-axis .today { fill: orangered; }
<|file_sep|>original/css/time-axis.css .time-axis { border-bottom: 1px solid gray; border-top: 1px solid gray; height: 32px; overflow: hidden; } .time-axis pattern line { stroke: gray; } .time-axis .background { fill: url(#time-axis-pattern); } .time-axis .today { fill: orangered; } <|file_sep|>current...
771a5712c0742524b276a0d382daf9426911a599
css/time-axis.css
css/time-axis.css
CSS
<|file_sep|>original/README.md # Simple AngularJs Routes [![Build Status](https://travis-ci.org/tunguski/matsuo-ng-route.svg?branch=master)](https://travis-ci.org/tunguski/matsuo-ng-route) Simple AngularJs Routes <|file_sep|>current/README.md # Simple AngularJs Routes [![Build Status](https://travis-ci.org/tunguski/ma...
# Simple AngularJs Routes [![Build Status](https://travis-ci.org/tunguski/matsuo-ng-route.svg?branch=master)](https://travis-ci.org/tunguski/matsuo-ng-route) [![Coverage Status](https://coveralls.io/repos/tunguski/matsuo-ng-route/badge.png?branch=master)](https://coveralls.io/r/tunguski/matsuo-ng-route?branch=master)...
<|file_sep|>original/README.md # Simple AngularJs Routes [![Build Status](https://travis-ci.org/tunguski/matsuo-ng-route.svg?branch=master)](https://travis-ci.org/tunguski/matsuo-ng-route) Simple AngularJs Routes <|file_sep|>current/README.md # Simple AngularJs Routes [![Build Status](https://travis-ci.org/tunguski/ma...
d40befa8823deb528c7d06f72b7056efdaa26c84
README.md
README.md
Markdown
<|file_sep|>src/som/compiler/sourcecode_compiler.py.diff original: updated: from StringIO import StringIO <|file_sep|>src/som/compiler/sourcecode_compiler.py.diff original: result = system_class updated: fname = path + os.sep + filename + ".som" <|file_sep|>src/som/compiler/sourcecode_compiler.py.diff ...
cname = result.get_name() cnameC = cname.get_string() if filename != cnameC: raise ValueError("File name " + filename + " does not match class name " + cnameC) return result def compile_class_string(self, stream, system_class, universe): self._parser = Par...
<|file_sep|>src/som/compiler/sourcecode_compiler.py.diff original: updated: from StringIO import StringIO <|file_sep|>src/som/compiler/sourcecode_compiler.py.diff original: result = system_class updated: fname = path + os.sep + filename + ".som" <|file_sep|>src/som/compiler/sourcecode_compiler.py.diff ...
9fd54adcbd1d21232306d15dc7c6a786c867e455
src/som/compiler/sourcecode_compiler.py
src/som/compiler/sourcecode_compiler.py
Python
<|file_sep|>original/Sketches/MPS/VideoRecorder/SimpleDiracPlayer.py <|file_sep|>current/Sketches/MPS/VideoRecorder/SimpleDiracPlayer.py <|file_sep|>updated/Sketches/MPS/VideoRecorder/SimpleDiracPlayer.py
#!/usr/bin/python from Kamaelia.Chassis.Pipeline import Pipeline from Kamaelia.Codec.Dirac import DiracDecoder from Kamaelia.File.ReadFileAdaptor import ReadFileAdaptor from Kamaelia.Util.RateFilter import MessageRateLimit from Kamaelia.UI.Pygame.VideoOverlay import VideoOverlay import sys if len(sys.argv) != 2: ...
<|file_sep|>original/Sketches/MPS/VideoRecorder/SimpleDiracPlayer.py <|file_sep|>current/Sketches/MPS/VideoRecorder/SimpleDiracPlayer.py <|file_sep|>updated/Sketches/MPS/VideoRecorder/SimpleDiracPlayer.py #!/usr/bin/python from Kamaelia.Chassis.Pipeline import Pipeline from Kamaelia.Codec.Dirac import DiracDecoder f...
6f882f92ad99376ddf147d9637d298601e4d1abf
Sketches/MPS/VideoRecorder/SimpleDiracPlayer.py
Sketches/MPS/VideoRecorder/SimpleDiracPlayer.py
Python
<|file_sep|>original/README.md Java 8 Tutorial ============== This repository contains all code samples from the Java 8 Tutorials of my blog: - http://winterbe.com/posts/2014/03/16/java-8-tutorial/ - http://winterbe.com/posts/2014/04/05/java8-nashorn-tutorial/ - http://winterbe.com/posts/2014/04/07/using-backbonejs-w...
Java 8 Tutorial ============== This repository contains all code samples from the Java 8 Tutorials of my blog: - http://winterbe.com/posts/2014/03/16/java-8-tutorial/ - http://winterbe.com/posts/2014/07/31/java8-stream-tutorial-examples/ - http://winterbe.com/posts/2014/04/05/java8-nashorn-tutorial/ - http://winterbe...
<|file_sep|>original/README.md Java 8 Tutorial ============== This repository contains all code samples from the Java 8 Tutorials of my blog: - http://winterbe.com/posts/2014/03/16/java-8-tutorial/ - http://winterbe.com/posts/2014/04/05/java8-nashorn-tutorial/ - http://winterbe.com/posts/2014/04/07/using-backbonejs-w...
2946422c4d62d4adb15424fe2cb3c7be568066fc
README.md
README.md
Markdown
<|file_sep|>original/.travis.yml language: python python: - "2.7" - "3.5" - "3.6" before_install: - sudo apt-get install -y python-tk - sudo apt-get install -y python3-tk - sudo apt-get install -y texlive-latex-base pgf texlive-pictures texlive-latex-extra install: pip install -r requirements_dev.txt scrip...
language: python python: - "2.7" - "3.5" - "3.6" before_install: - sudo apt-get install -y python-tk - sudo apt-get install -y python3-tk - sudo apt-get install -y texlive-latex-base pgf texlive-pictures texlive-latex-extra - sudo apt-get install -y libblas-dev liblapack-dev libatlas-base-dev gfortran in...
<|file_sep|>original/.travis.yml language: python python: - "2.7" - "3.5" - "3.6" before_install: - sudo apt-get install -y python-tk - sudo apt-get install -y python3-tk - sudo apt-get install -y texlive-latex-base pgf texlive-pictures texlive-latex-extra install: pip install -r requirements_dev.txt scrip...
37cb39ca0b84ff23b37ea8cdb3689121dfebae55
.travis.yml
.travis.yml
YAML
<|file_sep|>lib/scss_lint/engine.rb.diff original: attr_reader :contents, :tree updated: attr_reader :contents, :lines, :tree <|file_sep|>original/lib/scss_lint/engine.rb require 'sass' module SCSSLint class Engine ENGINE_OPTIONS = { cache: false, syntax: :scss } attr_reader :contents, :tree de...
module SCSSLint class Engine ENGINE_OPTIONS = { cache: false, syntax: :scss } attr_reader :contents, :lines, :tree def initialize(scss_or_filename) if File.exists?(scss_or_filename) @engine = Sass::Engine.for_file(scss_or_filename, ENGINE_OPTIONS) @contents = File.open(scss_or_fil...
<|file_sep|>lib/scss_lint/engine.rb.diff original: attr_reader :contents, :tree updated: attr_reader :contents, :lines, :tree <|file_sep|>original/lib/scss_lint/engine.rb require 'sass' module SCSSLint class Engine ENGINE_OPTIONS = { cache: false, syntax: :scss } attr_reader :contents, :tree de...
8712e6db4e018a45335521e084009fd787e3a3ed
lib/scss_lint/engine.rb
lib/scss_lint/engine.rb
Ruby
<|file_sep|>app/views/ideas/_new.html.haml.diff original: = f.text_field :title, :placeholder => "My ideas is...", :maxlength => 120, :id => "new-idea-title" updated: = f.text_field :title, :placeholder => "My ideas is...", :maxlength => 120, :id => "new-idea-title", :class => "input-text big", :size => "51" <|...
= form_for :idea, :url => ideas_path do |f| #idea-title-group.form-group.inline = f.label :title, "Idea" = f.text_field :title, :placeholder => "My ideas is...", :maxlength => 120, :id => "new-idea-title", :class => "input-text big", :size => "51" #idea-description-group.form-group.inline = f.label :des...
<|file_sep|>app/views/ideas/_new.html.haml.diff original: = f.text_field :title, :placeholder => "My ideas is...", :maxlength => 120, :id => "new-idea-title" updated: = f.text_field :title, :placeholder => "My ideas is...", :maxlength => 120, :id => "new-idea-title", :class => "input-text big", :size => "51" <|...
c26b76b722b0fde70f42d1f72a6893769122743a
app/views/ideas/_new.html.haml
app/views/ideas/_new.html.haml
Haml
<|file_sep|>original/README.md One Calendar To Meet Them All ----------------------------- <|file_sep|>current/README.md One Calendar To Meet Them All ----------------------------- <|file_sep|>updated/README.md
One Calendar To Meet Them All ----------------------------- Vous avez dΓ©jΓ  peut Γͺtre cherchΓ© un moyen de trouver un ensemble d'Γ©vΓ©nements sur un sujet donnΓ© ? Vous avez dΓ» vous rendre compte qu'il existait beaucoup de sources d'informations diverses pas forcΓ©ment structurΓ©es, et surtout rarement consultable directemen...
<|file_sep|>original/README.md One Calendar To Meet Them All ----------------------------- <|file_sep|>current/README.md One Calendar To Meet Them All ----------------------------- <|file_sep|>updated/README.md One Calendar To Meet Them All ----------------------------- Vous avez dΓ©jΓ  peut Γͺtre cherchΓ© un moyen de tro...
1a6673d9d3092302e8d66c23eeffb87e270ed91d
README.md
README.md
Markdown
<|file_sep|>original/spec/erlen/schema/documentation_spec.rb <|file_sep|>current/spec/erlen/schema/documentation_spec.rb <|file_sep|>updated/spec/erlen/schema/documentation_spec.rb
# frozen_string_literal: true require 'spec_helper' describe Erlen::Schema::Documentation do describe '#to_markdown' do it 'looks like markdown' do allow(Kernel).to receive(:rand).with(100).and_return(74) allow(Kernel).to receive(:rand).with(2).and_return(0) expected_doc = <<~END_OF_MARKDOWN ...
<|file_sep|>original/spec/erlen/schema/documentation_spec.rb <|file_sep|>current/spec/erlen/schema/documentation_spec.rb <|file_sep|>updated/spec/erlen/schema/documentation_spec.rb # frozen_string_literal: true require 'spec_helper' describe Erlen::Schema::Documentation do describe '#to_markdown' do it 'looks...
f043823db0a87bf95df88b13bf5ffdbfe31d050e
spec/erlen/schema/documentation_spec.rb
spec/erlen/schema/documentation_spec.rb
Ruby
<|file_sep|>circle.yml.diff original: post: - 'sudo [[ -d /opt/CumulusCI ]] && `cd /opt/CumulusCI; git pull` || git clone https://github.com/SalesforceFoundation/CumulusCI /opt/CumulusCI' updated: <|file_sep|>circle.yml.diff original: CUMULUSCI_PATH: /opt/CumulusCI updated: CUMULUSCI_PATH: ../CumulusCI <...
environment: APEXTESTSDB_BASE_URL: 'https://apextestsdb.herokuapp.com' APEXTESTSDB_USER_ID: 1 CUMULUSCI_PATH: ../CumulusCI GITHUB_USERNAME: mrbelvedere GITHUB_ORG_NAME: SalesforceFoundation GITHUB_REPO_NAME: 'CumulusCI-Test' PREFIX_RELEASE: rel/ SF_USERNAME_FEATURE: 'mrbelvedere@cumulu...
<|file_sep|>circle.yml.diff original: post: - 'sudo [[ -d /opt/CumulusCI ]] && `cd /opt/CumulusCI; git pull` || git clone https://github.com/SalesforceFoundation/CumulusCI /opt/CumulusCI' updated: <|file_sep|>circle.yml.diff original: CUMULUSCI_PATH: /opt/CumulusCI updated: CUMULUSCI_PATH: ../CumulusCI <...
f0f3f338cba309d8e6b255d60e3b0ac4d1593a2a
circle.yml
circle.yml
YAML
<|file_sep|>core/app/views/base/topbar/_signed_in.html.erb.diff original: <div class="span3 search"> updated: <div class="search"> <|file_sep|>original/core/app/views/base/topbar/_signed_in.html.erb <div class="span3 search"> <% if can? :index, Fact %> <%= render "facts/fact_search" %> <% end %> </div> <div cl...
<div class="search"> <% if can? :index, Fact %> <%= render "facts/fact_search" %> <% end %> </div> <div class="pull-right"> <ul class="nav secondary-nav pull-right navbar-options"> <li> <%= link_to "Home", home_path, class: 'potential-backbone' %> </li> <li class="divider-vertical"></li> ...
<|file_sep|>core/app/views/base/topbar/_signed_in.html.erb.diff original: <div class="span3 search"> updated: <div class="search"> <|file_sep|>original/core/app/views/base/topbar/_signed_in.html.erb <div class="span3 search"> <% if can? :index, Fact %> <%= render "facts/fact_search" %> <% end %> </div> <div cl...
5479d595da902b7f8829ef17a20ebe74429e03a5
core/app/views/base/topbar/_signed_in.html.erb
core/app/views/base/topbar/_signed_in.html.erb
HTML+ERB
<|file_sep|>original/test/cuda_array_mapper.h <|file_sep|>current/test/cuda_array_mapper.h <|file_sep|>updated/test/cuda_array_mapper.h
#ifndef TEST_CUDA_ARRAY_MAPPER_H_ #define TEST_CUDA_ARRAY_MAPPER_H_ #include <vector> #include <cuda_runtime.h> #include "../src/utils/cuda_array_provider.h" /** * \brief * * */ template <class ElementType> class CudaArrayMapper : public CudaArrayProvider { public: CudaArrayMapper(int width, int height, std:...
<|file_sep|>original/test/cuda_array_mapper.h <|file_sep|>current/test/cuda_array_mapper.h <|file_sep|>updated/test/cuda_array_mapper.h #ifndef TEST_CUDA_ARRAY_MAPPER_H_ #define TEST_CUDA_ARRAY_MAPPER_H_ #include <vector> #include <cuda_runtime.h> #include "../src/utils/cuda_array_provider.h" /** * \brief * * ...
0857928d5aeb4ac73e27ccb027e4e37d99643935
test/cuda_array_mapper.h
test/cuda_array_mapper.h
C
<|file_sep|>src/utils.js.diff original: import { IndexRoute } from 'react-router'; import { isArray } from 'lodash/lang'; updated: import { isArray, isUndefined } from 'lodash/lang'; <|file_sep|>src/utils.js.diff original: updated: /** * This is not a very sophisticated checking method. Assuming we already know * t...
* ); * * getAllPaths(routes); => ['/', '/about] */ export const getNestedPaths = (route, prefix = '') => { if (!route) return []; if (isArray(route)) return route.map(x => getNestedPaths(x, prefix)); // Index routes don't represent a distinct path, so we don't count them if (isIndexRoute(route)) return []...
<|file_sep|>src/utils.js.diff original: import { IndexRoute } from 'react-router'; import { isArray } from 'lodash/lang'; updated: import { isArray, isUndefined } from 'lodash/lang'; <|file_sep|>src/utils.js.diff original: updated: /** * This is not a very sophisticated checking method. Assuming we already know * t...
d7b4bad6651cb280b080722a3d661ee332f0fdea
src/utils.js
src/utils.js
JavaScript
<|file_sep|>original/constraints.txt flask-crossdomain==0.1 flask-sockets==0.2.1 flask==1.0.2 future==0.17.1 gevent==1.4.0 greenlet==0.4.15 gunicorn==19.9.0 localconfig==1.1.1 pexpect==4.6.0 psutil==5.6.1 psycopg2-binary==2.7.7 redis==3.2.0 requests==2.21.0 rq==0.13.0 selenium==3.141.0 six==1.12.0 sqlalchemy-postgres-c...
flask-crossdomain==0.1 flask-sockets==0.2.1 flask==1.0.2 future==0.17.1 gevent==1.4.0 greenlet==0.4.15 gunicorn==19.9.0 localconfig==1.1.1 pexpect==4.6.0 psutil==5.6.1 psycopg2-binary==2.7.7 redis==3.2.0 requests==2.21.0 rq==1.0 selenium==3.141.0 six==1.12.0 sqlalchemy-postgres-copy==0.5.0 sqlalchemy==1.3.1 tabulate==0...
<|file_sep|>original/constraints.txt flask-crossdomain==0.1 flask-sockets==0.2.1 flask==1.0.2 future==0.17.1 gevent==1.4.0 greenlet==0.4.15 gunicorn==19.9.0 localconfig==1.1.1 pexpect==4.6.0 psutil==5.6.1 psycopg2-binary==2.7.7 redis==3.2.0 requests==2.21.0 rq==0.13.0 selenium==3.141.0 six==1.12.0 sqlalchemy-postgres-c...
c412366bcd69d7ecc522f8498a62d8895c13c19c
constraints.txt
constraints.txt
Text
<|file_sep|>original/.travis.yml language: node_js node_js: - '0.10' env: global: - SAUCE_USERNAME: michaelweibel - CANDY_VAGRANT: false - secure: "e32tnzC3ZRA7CTqek48Xm5rfUczBExV0UW+2nrkLGoiV548+Ui0YlERcbkdmlby4RIzjVf9sKRlgMyYnmD/MvE6VVumX0nEDGJN21Ojxf/xWCPavdX1nU+zGHxE5AUl8dReOWXtvpkxuJRy3rNsvNUaLc8sGkK+5eQhA...
language: node_js node_js: - '0.10' env: global: - SAUCE_USERNAME: michaelweibel - CANDY_VAGRANT: false - secure: mELRCguJsVl1j5gABX94o1Zfds8c870Mr7dXVWJRVOBYdkVEHAH6HQtcKt5nYxHG/eh960ZeSNbDXy8XMN4Fxp7J2UR+vOXk9mIKEVsZOvwsVYv26GRUizez3AohsELdsg3KDyscZLXQLA9tgvG2s38ImnocsjO/7KoJ/R/37UA= before_script: - npm inst...
<|file_sep|>original/.travis.yml language: node_js node_js: - '0.10' env: global: - SAUCE_USERNAME: michaelweibel - CANDY_VAGRANT: false - secure: "e32tnzC3ZRA7CTqek48Xm5rfUczBExV0UW+2nrkLGoiV548+Ui0YlERcbkdmlby4RIzjVf9sKRlgMyYnmD/MvE6VVumX0nEDGJN21Ojxf/xWCPavdX1nU+zGHxE5AUl8dReOWXtvpkxuJRy3rNsvNUaLc8sGkK+5eQhA...
43be95fbd077657ad638e54fc2fd46912bb4f8af
.travis.yml
.travis.yml
YAML
<|file_sep|>README.md.diff original: This repo gives you the bare minimum you'd need in an environment that doesn't support Custom Elements or Shadow DOM natively. It gives you support for the V1 APIs of each respectively and ensures all their polyfill dependencies are met. updated: This repo gives you the bare minimum...
# SkateJS Web Components This repo gives you the bare minimum you'd need in an environment that doesn't support Custom Elements or Shadow DOM natively. It gives you support for the V1 APIs of each respectively and ensures all their polyfill dependencies are met all through a single import. *Using this is great for de...
<|file_sep|>README.md.diff original: This repo gives you the bare minimum you'd need in an environment that doesn't support Custom Elements or Shadow DOM natively. It gives you support for the V1 APIs of each respectively and ensures all their polyfill dependencies are met. updated: This repo gives you the bare minimum...
52948c7f51fdaeaa11de939dad2d27dfd4aa4e73
README.md
README.md
Markdown
<|file_sep|>original/routes/messages.js module.exports = function (server) { server.post('/messages', function (req, res, next) { var phoneNumber = req.params.From; var message = req.params.Body.toLowerCase(); if (message === 'flush') { session.flushall(function () { messenger.send(pho...
module.exports = function (server) { server.post('/messages', function (req, res, next) { var phoneNumber = req.params.From; var message = req.params.Body.toLowerCase(); if (message === 'flush') { session.flushall(function () { messenger.send(phoneNumber, 'The database has been flushed...
<|file_sep|>original/routes/messages.js module.exports = function (server) { server.post('/messages', function (req, res, next) { var phoneNumber = req.params.From; var message = req.params.Body.toLowerCase(); if (message === 'flush') { session.flushall(function () { messenger.send(pho...
4d7145ff21f7191cd0eba60595d4cc97fe158ff2
routes/messages.js
routes/messages.js
JavaScript
<|file_sep|>original/package.json { "name": "modern-javascript-starter", "version": "0.1.0", "description": "Minimal starter for modern JavaScript projects.", "author": "Byron Ruth", "license": "MIT", "scripts": { "build": "./node_modules/webpack/bin/webpack.js", "serve": "./node_modules/webpack-dev...
{ "name": "modern-javascript-starter", "version": "0.1.0", "description": "Minimal starter for modern JavaScript projects.", "author": "Byron Ruth", "license": "MIT", "scripts": { "start": "./node_modules/webpack-dev-server/bin/webpack-dev-server.js --hot --inline --colors --no-info --history-api-fallba...
<|file_sep|>original/package.json { "name": "modern-javascript-starter", "version": "0.1.0", "description": "Minimal starter for modern JavaScript projects.", "author": "Byron Ruth", "license": "MIT", "scripts": { "build": "./node_modules/webpack/bin/webpack.js", "serve": "./node_modules/webpack-dev...
8fc7c685a1bc8a6e4f2c2ae974c7066bbb904bbd
package.json
package.json
JSON
<|file_sep|>original/README.md <|file_sep|>current/README.md <|file_sep|>updated/README.md
#javascript-koans This is a copy of the work I did on a private repo, originally a project from [Hack Reactor's](http://hackreactor.com) curriculum. This project was worked on with a pair; it's representative of the kind of problems that I've tackled, but not of my solo work.
<|file_sep|>original/README.md <|file_sep|>current/README.md <|file_sep|>updated/README.md #javascript-koans This is a copy of the work I did on a private repo, originally a project from [Hack Reactor's](http://hackreactor.com) curriculum. This project was worked on with a pair; it's representative of the kind of pr...
21916489f8ccbc7f174052ff178d4e3cd657398a
README.md
README.md
Markdown
<|file_sep|>original/appveyor.yml <|file_sep|>current/appveyor.yml <|file_sep|>updated/appveyor.yml
version: 1.0.{build} shallow_clone: true environment: matrix: - LUA: 5.1 - LUA: 5.2 - LUA: 5.3 configuration: MinGW platform: x86 before_build: set PATH=C:\mingw\bin;%PATH% build_script: python hererocks.py here --lua "%LUA%" --verbose test_script: here\bin\lua -v
<|file_sep|>original/appveyor.yml <|file_sep|>current/appveyor.yml <|file_sep|>updated/appveyor.yml version: 1.0.{build} shallow_clone: true environment: matrix: - LUA: 5.1 - LUA: 5.2 - LUA: 5.3 configuration: MinGW platform: x86 before_build: set PATH=C:\mingw\bin;%PATH% build_script: python hererocks....
68e4d8ccee425fc59c3e874e2cf0898de119c347
appveyor.yml
appveyor.yml
YAML
<|file_sep|>original/CHANGELOG.md # [Changelog](https://github.com/yola/drf-madprops) ## 0.1.4 * Fix update for case self.object is empty queryset ## 0.1.3 * Move JSON serialization to `from_native` method ## 0.1.2 * Support JSON properties ## 0.1.1 * Handle edge cases when object might be `None` in `data` and `fie...
# [Changelog](https://github.com/yola/drf-madprops) ## 0.1.4 * Fix update for the case when self.object is an empty queryset ## 0.1.3 * Move JSON serialization to `from_native` method ## 0.1.2 * Support JSON properties ## 0.1.1 * Handle edge cases when object might be `None` in `data` and `field_to_native` attribut...
<|file_sep|>original/CHANGELOG.md # [Changelog](https://github.com/yola/drf-madprops) ## 0.1.4 * Fix update for case self.object is empty queryset ## 0.1.3 * Move JSON serialization to `from_native` method ## 0.1.2 * Support JSON properties ## 0.1.1 * Handle edge cases when object might be `None` in `data` and `fie...
600f7fd8230a5bdb0519a796670367580e6c066b
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>original/autogen.sh #!/bin/sh ORIGDIR=`pwd` srcdir=`dirname $0` [ -n "$srcdir" ] && cd $srcdir [ ! -d m4 ] && mkdir m4 autoreconf -Wno-portability --force --install -I m4 || exit $? cd $ORIGDIR [ -z "$NO_CONFIGURE" ] && $srcdir/configure --enable-maintainer-mode "$@" <|file_sep|>current/autogen.sh #!/...
#!/bin/sh ORIGDIR=`pwd` srcdir=`dirname $0` [ -n "$srcdir" ] && cd $srcdir [ ! -d m4 ] && mkdir m4 autoreconf -Wno-portability --force --install -I m4 || exit $? cd $ORIGDIR if [ -z "$NO_CONFIGURE" ] then $srcdir/configure --enable-maintainer-mode "$@" || exit $? fi exit 0
<|file_sep|>original/autogen.sh #!/bin/sh ORIGDIR=`pwd` srcdir=`dirname $0` [ -n "$srcdir" ] && cd $srcdir [ ! -d m4 ] && mkdir m4 autoreconf -Wno-portability --force --install -I m4 || exit $? cd $ORIGDIR [ -z "$NO_CONFIGURE" ] && $srcdir/configure --enable-maintainer-mode "$@" <|file_sep|>current/autogen.sh #!/...
9650453a7504dd126e0db1f32090a599573d160e
autogen.sh
autogen.sh
Shell
<|file_sep|>original/setup.py from setuptools import setup, find_packages from os import path here = path.abspath(path.dirname(__file__)) setup( name='publish-aws-lambda', version='0.3', description='Publish a Python module as a set of AWS lambda functions', url='https://github.com/ophirh/publish-aws-...
from setuptools import setup, find_packages from os import path here = path.abspath(path.dirname(__file__)) setup( name='publish-aws-lambda', version='0.3.1', description='Publish a Python module as a set of AWS lambda functions', url='https://github.com/ophirh/publish-aws-lambda', author='Ophir',...
<|file_sep|>original/setup.py from setuptools import setup, find_packages from os import path here = path.abspath(path.dirname(__file__)) setup( name='publish-aws-lambda', version='0.3', description='Publish a Python module as a set of AWS lambda functions', url='https://github.com/ophirh/publish-aws-...
9cb532115f44b25101efa7d448328e35ca51c37c
setup.py
setup.py
Python
<|file_sep|>original/Test/MathLib.h #pragma once //MathLib.h #ifndef _MATHLIB_ #define _MATHLIB_ #endif <|file_sep|>current/Test/MathLib.h #pragma once //MathLib.h #ifndef _MATHLIB_ #define _MATHLIB_ #endif <|file_sep|>updated/Test/MathLib.h
#pragma once //MathLib.h #ifndef _MATHLIB_ #define _MATHLIB_ //Make some change to check if new branch is created. #endif
<|file_sep|>original/Test/MathLib.h #pragma once //MathLib.h #ifndef _MATHLIB_ #define _MATHLIB_ #endif <|file_sep|>current/Test/MathLib.h #pragma once //MathLib.h #ifndef _MATHLIB_ #define _MATHLIB_ #endif <|file_sep|>updated/Test/MathLib.h #pragma once //MathLib.h #ifndef _MATHLIB_ #define _MATHLIB_ //Make ...
61768b0b8e04f3a2c8353db4c2e332b499a5c03a
Test/MathLib.h
Test/MathLib.h
C
<|file_sep|>original/locales/es-AR/notes.properties forgetEmail=Olvidar este correo syncNotReady2=Lo sentimos, sincronizar notas todavΓ­a no estΓ‘ listo. Β‘Contaremos el clic como un voto para que nos apuremos! syncNotes=Sincronizar notas syncProgress=Sincronizando cambios… # LOCALIZATION NOTE (disableSync): Sync is inte...
# LOCALIZATION NOTE (disableSync): Sync is intended as a generic # synchronization, not Firefox Sync. disableSync=Deshabilitar Sync # LOCALIZATION NOTE (syncComplete): {date} is the date of last sync. If this # structure doesn't work for your locale, you can translate this as "Last sync: # {date}". syncComplete=Sincron...
<|file_sep|>original/locales/es-AR/notes.properties forgetEmail=Olvidar este correo syncNotReady2=Lo sentimos, sincronizar notas todavΓ­a no estΓ‘ listo. Β‘Contaremos el clic como un voto para que nos apuremos! syncNotes=Sincronizar notas syncProgress=Sincronizando cambios… # LOCALIZATION NOTE (disableSync): Sync is inte...
0b0d0c8f4341105ff664d733a0f38e05eadde36e
locales/es-AR/notes.properties
locales/es-AR/notes.properties
INI
<|file_sep|>original/images/builder/README.md <|file_sep|>current/images/builder/README.md <|file_sep|>updated/images/builder/README.md
Image Builder ============= This image builder is sugar on top of `gcloud builds submit`. It offers the following features: - Automatically injecting the standard commit-based tag (e.g. `20190403-dddd315ad-dirty`) as `_GIT_TAG` - Optionally blocking pushes of dirty builds - Uploading the working directory to GCS once...
<|file_sep|>original/images/builder/README.md <|file_sep|>current/images/builder/README.md <|file_sep|>updated/images/builder/README.md Image Builder ============= This image builder is sugar on top of `gcloud builds submit`. It offers the following features: - Automatically injecting the standard commit-based tag ...
6144d1dd291e40131b58aec3576737fba0917ffa
images/builder/README.md
images/builder/README.md
Markdown
<|file_sep|>site/gulpfile.js.diff original: updated: var port = argv.p || argv.port || 3000; <|file_sep|>original/site/gulpfile.js var gulp = require('gulp'); var elixir = require('laravel-elixir'); var argv = require('yargs').argv; elixir.config.assetsPath = 'source/_assets'; elixir.config.publicPath = 'source';...
var gulp = require('gulp'); var elixir = require('laravel-elixir'); var argv = require('yargs').argv; elixir.config.assetsPath = 'source/_assets'; elixir.config.publicPath = 'source'; elixir(function(mix) { var env = argv.e || argv.env || 'local'; var port = argv.p || argv.port || 3000; mix.sass('main.sc...
<|file_sep|>site/gulpfile.js.diff original: updated: var port = argv.p || argv.port || 3000; <|file_sep|>original/site/gulpfile.js var gulp = require('gulp'); var elixir = require('laravel-elixir'); var argv = require('yargs').argv; elixir.config.assetsPath = 'source/_assets'; elixir.config.publicPath = 'source';...
46ab27320173597be72854fcffdb54c76635e7f6
site/gulpfile.js
site/gulpfile.js
JavaScript
<|file_sep|>src/responses/general.js.diff original: export const HELP_RESPONSE = tmpl`You can ask Couch Potato about the movies in your queue or add new movies to it. Try asking "Is The Godfather on the list?". If it's not and you want to add it, try saying "Add The Godfather"`; updated: export const HELP_RESPONSE = tm...
import tmpl from '~/lib/tmpl.js'; /** * This module contains functions to help standardize the responses used to send back to ASK. The * constants are all functions, built by the `tmpl` tag function, documented below. They take * parameters and replace them with the data they are provided. Each index in the templat...
<|file_sep|>src/responses/general.js.diff original: export const HELP_RESPONSE = tmpl`You can ask Couch Potato about the movies in your queue or add new movies to it. Try asking "Is The Godfather on the list?". If it's not and you want to add it, try saying "Add The Godfather"`; updated: export const HELP_RESPONSE = tm...
d45f6520d781fd89569c42e9774c10d348d0a7db
src/responses/general.js
src/responses/general.js
JavaScript
<|file_sep|>lib/auth/oauth.js.diff original: var auth = new Buffer(this.clientId + ":" + this.clientSecret).toString("base64"); updated: <|file_sep|>original/lib/auth/oauth.js this.credentials = {}; } OAuth.prototype.getToken = function (opt_callback) { var auth = new Buffer(this.clientId + ":" + this.cli...
} OAuth.prototype.getToken = function (opt_callback) { Request({ url: "https://api.gb1.brightbox.com/token" , method: "POST" , form: { client_id: this.clientId , grant_type: "none" } , auth: { user: this.clientId , pass: this.clientSecre...
<|file_sep|>lib/auth/oauth.js.diff original: var auth = new Buffer(this.clientId + ":" + this.clientSecret).toString("base64"); updated: <|file_sep|>original/lib/auth/oauth.js this.credentials = {}; } OAuth.prototype.getToken = function (opt_callback) { var auth = new Buffer(this.clientId + ":" + this.cli...
5faada0aa05553e82e7e34d56f7f35117de3203e
lib/auth/oauth.js
lib/auth/oauth.js
JavaScript
<|file_sep|>README.md.diff original: [![Flattr this git repo](http://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=ilpianista&url=https://git.merproject.org/ilpianista/harbour-HostIsDown&title=harbour-HostIsDown&language=&tags=jolla&category=software) updated: <|file_sep|>origi...
# HostIsDown An application for [Sailfish OS](https://sailfishos.org) to check whether the desired host is up or not. [Build status](https://build.merproject.org/package/live_build_log/home:ilpianista/harbour-hostisdown/sailfish_latest_armv7hl/armv8el) ## Translations Translations via [Transifex](https://www.transi...
<|file_sep|>README.md.diff original: [![Flattr this git repo](http://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=ilpianista&url=https://git.merproject.org/ilpianista/harbour-HostIsDown&title=harbour-HostIsDown&language=&tags=jolla&category=software) updated: <|file_sep|>origi...
29fd03307b91906739d599e2138ed76569c07ba2
README.md
README.md
Markdown
<|file_sep|>original/spec/javascripts/dropdown_spec.js loadFixtures('dropdown_fixture.html'); locastyle.dropdown.init(); }); describe("Dropdown toggle", function(){ describe('when click on a dropdown trigger', function () { it("should activate a disabled related dropdown module", function(){ ...
it("should activate a disabled related dropdown module", function(){ $("#dropdown-test > a:first-child").trigger("click"); expect($("#dropdown-test").hasClass("active")).toEqual(true); }); it("should disable an active related dropdown module", function() { $("#dropdown-test-2...
<|file_sep|>original/spec/javascripts/dropdown_spec.js loadFixtures('dropdown_fixture.html'); locastyle.dropdown.init(); }); describe("Dropdown toggle", function(){ describe('when click on a dropdown trigger', function () { it("should activate a disabled related dropdown module", function(){ ...
75b1e7b3a384d7e8997e27369ff6bd415156fef7
spec/javascripts/dropdown_spec.js
spec/javascripts/dropdown_spec.js
JavaScript
<|file_sep|>original/app/views/articles/show.html.erb <h1><%= @article.title %></h1> <p> <%= @article.text %> </p> <p> <%= form_for([@article, @article.comments.build]) do |f| %> <p> <%= f.label :author %><br/> <%= f.text_area :author %> </p> <p> <%= f.label :body %><br/> <%= f.text_area :body %> </p> ...
<h1><%= @article.title %></h1> <p> <%= @article.text %> </p> <h2>Comments</h2> <% @article.comments.each do |comment| %> <p> <i><%= comment.author %> said:</i><br /> <%= comment.body %> </p> <% end %> <p> <%= form_for([@article, @article.comments.build]) do |f| %> <p> <%= f.label :author %><br/> <%= f.text...
<|file_sep|>original/app/views/articles/show.html.erb <h1><%= @article.title %></h1> <p> <%= @article.text %> </p> <p> <%= form_for([@article, @article.comments.build]) do |f| %> <p> <%= f.label :author %><br/> <%= f.text_area :author %> </p> <p> <%= f.label :body %><br/> <%= f.text_area :body %> </p> ...
bdb36e68ced3ea7448c89ce421829c1224d500f1
app/views/articles/show.html.erb
app/views/articles/show.html.erb
HTML+ERB
<|file_sep|>original/feature-detects/css-nthchild.js // nth-child pseudo selector Modernizr.addTest('nthchild', function(){ return Modernizr.testStyles("#modernizr div {width:1px} #modernizr div:nth-child(2n) {width:2px;}", function (elem) { var elems = elem.getElementsByTagName("div"), test = true; for ...
// nth-child pseudo selector Modernizr.addTest('nthchild', function(){ return Modernizr.testStyles('#modernizr div {width:1px} #modernizr div:nth-child(2n) {width:2px;}', function (elem) { var elems = elem.getElementsByTagName('div'), test = true; for (var i=0; i<5; i++) { ...
<|file_sep|>original/feature-detects/css-nthchild.js // nth-child pseudo selector Modernizr.addTest('nthchild', function(){ return Modernizr.testStyles("#modernizr div {width:1px} #modernizr div:nth-child(2n) {width:2px;}", function (elem) { var elems = elem.getElementsByTagName("div"), test = true; for ...
3b7f28f66875cd41dfd546764c23d5cf567285d9
feature-detects/css-nthchild.js
feature-detects/css-nthchild.js
JavaScript
<|file_sep|>original/Godeps/Godeps.json { "ImportPath": "github.com/getlantern/go-geoserve", "GoVersion": "devel +969a38842696 Sun May 04 23:00:47 2014 -0400", "Deps": [ { "ImportPath": "github.com/oschwald/geoip2-golang", "Comment": "v0.1.0-3-gf5a6adf", "Rev": "f5a6adffc17dc4626626b09ca1285f26b257c720" ...
{ "ImportPath": "github.com/getlantern/go-geoserve", "GoVersion": "1.2.2", "Deps": [ { "ImportPath": "github.com/oschwald/geoip2-golang", "Comment": "v0.1.0-3-gf5a6adf", "Rev": "f5a6adffc17dc4626626b09ca1285f26b257c720" }, { "ImportPath": "github.com/oschwald/maxminddb-golang", "Comment": "v0.1....
<|file_sep|>original/Godeps/Godeps.json { "ImportPath": "github.com/getlantern/go-geoserve", "GoVersion": "devel +969a38842696 Sun May 04 23:00:47 2014 -0400", "Deps": [ { "ImportPath": "github.com/oschwald/geoip2-golang", "Comment": "v0.1.0-3-gf5a6adf", "Rev": "f5a6adffc17dc4626626b09ca1285f26b257c720" ...
44a4597b2a492896634297558521b57fb39b4077
Godeps/Godeps.json
Godeps/Godeps.json
JSON
<|file_sep|>original/requirements_dev.txt pip==19.3.1 bumpversion==0.5.3 wheel==0.33.6 watchdog==0.9.0 flake8==3.7.9 tox==3.14.5 coverage==5.0.3 Sphinx==2.3.1 cryptography==2.8 PyYAML==5.3 pytest==5.3.5 pytest-runner==5.2 vcrpy==2.1.1 twine==3.1.1 <|file_sep|>current/requirements_dev.txt pip==19.3.1 bumpversion==0.5.3 ...
pip==19.3.1 bumpversion==0.5.3 wheel==0.33.6 watchdog==0.9.0 flake8==3.7.9 tox==3.14.5 coverage==5.0.4 Sphinx==2.3.1 cryptography==2.8 PyYAML==5.3 pytest==5.3.5 pytest-runner==5.2 vcrpy==2.1.1 twine==3.1.1
<|file_sep|>original/requirements_dev.txt pip==19.3.1 bumpversion==0.5.3 wheel==0.33.6 watchdog==0.9.0 flake8==3.7.9 tox==3.14.5 coverage==5.0.3 Sphinx==2.3.1 cryptography==2.8 PyYAML==5.3 pytest==5.3.5 pytest-runner==5.2 vcrpy==2.1.1 twine==3.1.1 <|file_sep|>current/requirements_dev.txt pip==19.3.1 bumpversion==0.5.3 ...
722cc84dc1d47493c07ba0577dcefdea1b4e18f2
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/spec/bundler/fetcher/compact_index_spec.rb # frozen_string_literal: true require "spec_helper" describe Bundler::Fetcher::CompactIndex do let(:downloader) { double(:downloader) } let(:remote) { double(:remote, :cache_slug => "lsjdf") } let(:display_uri) { URI("http://sample_uri.com") }...
# frozen_string_literal: true require "spec_helper" describe Bundler::Fetcher::CompactIndex do let(:downloader) { double(:downloader) } let(:remote) { double(:remote, :cache_slug => "lsjdf") } let(:display_uri) { URI("http://sampleuri.com") } let(:compact_index) { described_class.new(downloader, remote, ...
<|file_sep|>original/spec/bundler/fetcher/compact_index_spec.rb # frozen_string_literal: true require "spec_helper" describe Bundler::Fetcher::CompactIndex do let(:downloader) { double(:downloader) } let(:remote) { double(:remote, :cache_slug => "lsjdf") } let(:display_uri) { URI("http://sample_uri.com") }...
82fc7a7511f8644b81744de20f68bed943fd53fc
spec/bundler/fetcher/compact_index_spec.rb
spec/bundler/fetcher/compact_index_spec.rb
Ruby
<|file_sep|>original/src/common.rs // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with // this file, You can obtain one at https://mozilla.org/MPL/2.0/. pub const NB_CHAR: char = 'Β '; // non breaking space pub const NB_CHAR_NARROW: ch...
// This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with // this file, You can obtain one at https://mozilla.org/MPL/2.0/. pub const NB_CHAR: char = 'Β '; // non breaking space pub const NB_CHAR_NARROW: char = '\u{202F}'; // narrow non brea...
<|file_sep|>original/src/common.rs // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with // this file, You can obtain one at https://mozilla.org/MPL/2.0/. pub const NB_CHAR: char = 'Β '; // non breaking space pub const NB_CHAR_NARROW: ch...
4e0381c374aed06bb09dabc57c912a7923305316
src/common.rs
src/common.rs
Rust
<|file_sep|>original/metadata.json { "name": "tohuwabohu-drupal", "version": "1.0.0", "author": "Martin Meinhold", "license": "Apache License, Version 2.0", "summary": "Install and manage Drupal including modules and sites.", "source": "https://github.com/tohuwabohu/puppet-drupal.git", "proj...
{ "name": "tohuwabohu-drupal", "version": "1.0.0", "author": "Martin Meinhold", "license": "Apache-2.0", "summary": "Install and manage Drupal including modules and sites.", "source": "https://github.com/tohuwabohu/puppet-drupal.git", "project_page": "https://github.com/tohuwabohu/puppet-dru...
<|file_sep|>original/metadata.json { "name": "tohuwabohu-drupal", "version": "1.0.0", "author": "Martin Meinhold", "license": "Apache License, Version 2.0", "summary": "Install and manage Drupal including modules and sites.", "source": "https://github.com/tohuwabohu/puppet-drupal.git", "proj...
7b337135ca905e476b58a72d494d17e16dab71c7
metadata.json
metadata.json
JSON
<|file_sep|>original/README.md <|file_sep|>current/README.md <|file_sep|>updated/README.md
## Slack Poker Bot A bot that will deal Texas Hold'em games in a Slack channel! ### TODO - [ ] Tally up players that are participating - [ ] Actual game logic - [ ] Render the cards as an image attachment ### Notes `node-slack-client` seems to have a bug with edited messages; removing the `_onUpdateMessage` callback ...
<|file_sep|>original/README.md <|file_sep|>current/README.md <|file_sep|>updated/README.md ## Slack Poker Bot A bot that will deal Texas Hold'em games in a Slack channel! ### TODO - [ ] Tally up players that are participating - [ ] Actual game logic - [ ] Render the cards as an image attachment ### Notes `node-slac...
d6e7b9704e2adf5bd90b67cf9f158a4ff19c32c0
README.md
README.md
Markdown
<|file_sep|>original/src/index.jsx import {reducer} from './reducer/index' import '../styles/styles.css' import {App} from './app' const store = createStore(reducer) function Root() { return ( <Provider store={store}> <DelegateContainer> <BrowserRouter> <App /> </BrowserRouter> ...
const store = createStore(reducer) function Root() { return ( <Provider store={store}> <DelegateContainer> <BrowserRouter> <App /> </BrowserRouter> </DelegateContainer> </Provider> ) } render(<Root />, document.body) const spinner = document.querySelector('.splash') d...
<|file_sep|>original/src/index.jsx import {reducer} from './reducer/index' import '../styles/styles.css' import {App} from './app' const store = createStore(reducer) function Root() { return ( <Provider store={store}> <DelegateContainer> <BrowserRouter> <App /> </BrowserRouter> ...
7160b6219896cd140876f699724e81bdafeef067
src/index.jsx
src/index.jsx
JSX
<|file_sep|>original/app/views/admin/server_state/_list_ips.html.erb <|file_sep|>current/app/views/admin/server_state/_list_ips.html.erb <|file_sep|>updated/app/views/admin/server_state/_list_ips.html.erb
<% if @authorizedIps.nil? || @authorizedIps.empty? -%> <tr class="record"> <td colspan="2">Pas d'ip enregistree pour outrepasser la maintenance</td> </tr> <% else count = 0 @authorizedIps.each do |ip| odd = (count%2 == 0 ? ' odd' : '') -%> <tr class="record <%=odd%>" id="record-<%=ip%>"> <td><%=ip%></td> <td clas...
<|file_sep|>original/app/views/admin/server_state/_list_ips.html.erb <|file_sep|>current/app/views/admin/server_state/_list_ips.html.erb <|file_sep|>updated/app/views/admin/server_state/_list_ips.html.erb <% if @authorizedIps.nil? || @authorizedIps.empty? -%> <tr class="record"> <td colspan="2">Pas d'ip enregistree ...
2b196bb624f770f9eecc283421dc35fa6176139e
app/views/admin/server_state/_list_ips.html.erb
app/views/admin/server_state/_list_ips.html.erb
HTML+ERB
<|file_sep|>src/builtin/A17_cond.ik.diff original: `nil, updated: 'nil, <|file_sep|>original/src/builtin/A17_cond.ik DefaultBehavior FlowControl cond = syntax( "takes zero or more arguments. each two arguments are paired, where the first one is the condition part, and the second is the then-part. if there's ...
DefaultBehavior FlowControl cond = syntax( "takes zero or more arguments. each two arguments are paired, where the first one is the condition part, and the second is the then-part. if there's an uneven number of arguments, that part is the else-part. if no arguments are provided, or no conditions match and there is ...
<|file_sep|>src/builtin/A17_cond.ik.diff original: `nil, updated: 'nil, <|file_sep|>original/src/builtin/A17_cond.ik DefaultBehavior FlowControl cond = syntax( "takes zero or more arguments. each two arguments are paired, where the first one is the condition part, and the second is the then-part. if there's ...
a488f8be5c484ebad10837921f992871c6b9f6e1
src/builtin/A17_cond.ik
src/builtin/A17_cond.ik
Ioke
<|file_sep|>.styleci.yml.diff original: - long_array_syntax updated: <|file_sep|>original/.styleci.yml preset: recommended enabled: - long_array_syntax - concat_with_spaces - no_blank_lines_before_namespace - not_operator_with_space disabled: - short_array_syntax - concat_without_spaces ...
preset: recommended enabled: - concat_with_spaces - no_blank_lines_before_namespace - not_operator_with_space disabled: - concat_without_spaces - single_blank_line_before_namespace
<|file_sep|>.styleci.yml.diff original: - long_array_syntax updated: <|file_sep|>original/.styleci.yml preset: recommended enabled: - long_array_syntax - concat_with_spaces - no_blank_lines_before_namespace - not_operator_with_space disabled: - short_array_syntax - concat_without_spaces ...
63ad121a359fa727ae23c5ab20219e8af8f6194d
.styleci.yml
.styleci.yml
YAML
<|file_sep|>README.md.diff original: All of the above can be installed via `pip`. For example, updated: All of the above can be installed via `pip`. If you Debian-like distribution (including Ubuntu), you can install `pip` itself via `apt-get`. For example: <|file_sep|>README.md.diff original: pip install pytest py...
Collection). # Python server dependencies KCAA server (`server/server_main.py`) needs following third-party PyPI packages. - [pytest](https://pypi.python.org/pypi/pytest) (only for testing) - [python-dateutil](https://pypi.python.org/pypi/python-dateutil) - [requests](https://pypi.python.org/pypi/requests) - [seleni...
<|file_sep|>README.md.diff original: All of the above can be installed via `pip`. For example, updated: All of the above can be installed via `pip`. If you Debian-like distribution (including Ubuntu), you can install `pip` itself via `apt-get`. For example: <|file_sep|>README.md.diff original: pip install pytest py...
547e194de88788ce98ba6d906e9e38a8aca1a589
README.md
README.md
Markdown
<|file_sep|>original/_includes/pagination.html <div class="pagination"> <a class="radius" href="">1</a> <a class="radius" href="">2</a> <a class="radius" href="">3</a> <a class="radius" href="">4</a> <a class="radius" href="">5</a> <a class="radius" href="">Next &nbsp;&raquo;</a> </div> <span c...
<div class="pagination"> <a class="radius" href="/1">01</a> <a class="radius" href="/2">02</a> <a class="radius" href="/3">03</a> <a class="radius" href="/4">04</a> <a class="radius" href="/5">05</a> <a class="radius" href="">Next &nbsp;&raquo;</a> </div> <span class="line"></span> <a class=...
<|file_sep|>original/_includes/pagination.html <div class="pagination"> <a class="radius" href="">1</a> <a class="radius" href="">2</a> <a class="radius" href="">3</a> <a class="radius" href="">4</a> <a class="radius" href="">5</a> <a class="radius" href="">Next &nbsp;&raquo;</a> </div> <span c...
45220fec5c8e78d02ba1db0546aed154e3d769c4
_includes/pagination.html
_includes/pagination.html
HTML
<|file_sep|>original/.github/release-drafter.yml categories: - title: '⚠️ Breaking changes' label: 'breaking-change' - title: 'πŸš€ Features' label: 'enhancement' - title: 'πŸ“˜ Documentation' label: 'documentation' - title: 'πŸ› Bug Fixes' label: 'bug' - title: 'πŸ“ˆ Dependency updates' labels: ...
- 'dependency-update' - 'scala-steward' template: | ## What's changed $CHANGES ## Contributors to this release $CONTRIBUTORS autolabeler: - label: "enhancement" branch: - '/enhancement\/.+/' - '/feature\/.+/' - label: "documentation" files: - "*.md" branch: ...
<|file_sep|>original/.github/release-drafter.yml categories: - title: '⚠️ Breaking changes' label: 'breaking-change' - title: 'πŸš€ Features' label: 'enhancement' - title: 'πŸ“˜ Documentation' label: 'documentation' - title: 'πŸ› Bug Fixes' label: 'bug' - title: 'πŸ“ˆ Dependency updates' labels: ...
5b85da686ee736fd1638315d90342fcad2936ce6
.github/release-drafter.yml
.github/release-drafter.yml
YAML
<|file_sep|>client/internal/common/types.go.diff original: "github.com/kr/pretty" updated: "fmt" <|file_sep|>original/client/internal/common/types.go package common import ( "github.com/kr/pretty" ) // Strings accumulates string values from repeated flags. // // Use with flag.Var to accumulate values from "-flag ...
package common import ( "fmt" ) // Strings accumulates string values from repeated flags. // // Use with flag.Var to accumulate values from "-flag s1 -flag s2". type Strings []string func (c *Strings) String() string { return fmt.Sprintf("%v", []string(*c)) } // Set is needed to implements flag.Var interface. fu...
<|file_sep|>client/internal/common/types.go.diff original: "github.com/kr/pretty" updated: "fmt" <|file_sep|>original/client/internal/common/types.go package common import ( "github.com/kr/pretty" ) // Strings accumulates string values from repeated flags. // // Use with flag.Var to accumulate values from "-flag ...
24ddd3d6c1481d4b6d82dade0a19b37d29b1474e
client/internal/common/types.go
client/internal/common/types.go
Go
<|file_sep|>original/CefSharp.BrowserSubprocess.Core/Messaging/EvaluateScriptDelegate.h { class CefAppUnmanagedWrapper; namespace Internals { namespace Messaging { //This class handles incoming evaluate script messages and responses to them after fulfillment. class E...
{ class CefAppUnmanagedWrapper; namespace Internals { namespace Messaging { //This class handles incoming evaluate script messages and responses to them after fulfillment. class EvaluateScriptDelegate : public ProcessMessageDelegate { private:...
<|file_sep|>original/CefSharp.BrowserSubprocess.Core/Messaging/EvaluateScriptDelegate.h { class CefAppUnmanagedWrapper; namespace Internals { namespace Messaging { //This class handles incoming evaluate script messages and responses to them after fulfillment. class E...
d21808b5823bdf53fc969019969f700573a8eb69
CefSharp.BrowserSubprocess.Core/Messaging/EvaluateScriptDelegate.h
CefSharp.BrowserSubprocess.Core/Messaging/EvaluateScriptDelegate.h
C