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|>public/examples/Functional/QuickSort.elm.diff original: import JavaScript as JS updated: <|file_sep|>public/examples/Functional/QuickSort.elm.diff original: - Choose a pivot element which be placed in the "middle" of the sorted list. In our case we are choosing the first element as the pivot. updat...
{--------------------- QuickSort works as follows: - Choose a pivot element to put in the "middle" of the sorted list. - Gather all of the elements less than the pivot in `lower`. - Gather all of the elements greater than the pivot in `higher`. - Run `quicksort` on the `lower` and `higher` lists, sorting them. ...
<|file_sep|>public/examples/Functional/QuickSort.elm.diff original: import JavaScript as JS updated: <|file_sep|>public/examples/Functional/QuickSort.elm.diff original: - Choose a pivot element which be placed in the "middle" of the sorted list. In our case we are choosing the first element as the pivot. updat...
859ba6491f8d68340fd508b891cd7a575ce95f31
public/examples/Functional/QuickSort.elm
public/examples/Functional/QuickSort.elm
Elm
<|file_sep|>original/recipes/pyflyby/meta.yaml name: {{ name|lower }} version: {{ version }} source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz sha256: 5bebd9fe0f40d809bbf029e3d0d1bfa7bfe2a94379f5a8f383cb85d94fb9a88c build: skip: true # [win] number: 0 ...
name: {{ name|lower }} version: {{ version }} source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz sha256: 5bebd9fe0f40d809bbf029e3d0d1bfa7bfe2a94379f5a8f383cb85d94fb9a88c build: skip: true # [win] number: 0 noarch: python entry_points: - py = pyfl...
<|file_sep|>original/recipes/pyflyby/meta.yaml name: {{ name|lower }} version: {{ version }} source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz sha256: 5bebd9fe0f40d809bbf029e3d0d1bfa7bfe2a94379f5a8f383cb85d94fb9a88c build: skip: true # [win] number: 0 ...
2fed8cb08388247fff988ea945a9c8d7dbdc1196
recipes/pyflyby/meta.yaml
recipes/pyflyby/meta.yaml
YAML
<|file_sep|>original/3rdparty/python/requirements.txt --allow-external antlr-python-runtime --allow-unverified antlr-python-runtime coverage>=3.7,<3.8 docutils>=0.12,<0.13 Markdown==2.1.1 mock==1.0.1 mox==0.5.3 # Until https://github.com/pantsbuild/pex/issues/28 is addressed, we cannot # do pex<0.9.0. pex>=0.8.1,<0.8....
--allow-external antlr-python-runtime --allow-unverified antlr-python-runtime coverage>=3.7,<3.8 docutils>=0.12,<0.13 Markdown==2.1.1 mock==1.0.1 mox==0.5.3 # Until https://github.com/pantsbuild/pex/issues/28 is addressed, we cannot # do pex<0.9.0. pex>=0.8.3,<0.8.999999 psutil==1.1.3 lockfile==0.10.2 Pygments==1.4 py...
<|file_sep|>original/3rdparty/python/requirements.txt --allow-external antlr-python-runtime --allow-unverified antlr-python-runtime coverage>=3.7,<3.8 docutils>=0.12,<0.13 Markdown==2.1.1 mock==1.0.1 mox==0.5.3 # Until https://github.com/pantsbuild/pex/issues/28 is addressed, we cannot # do pex<0.9.0. pex>=0.8.1,<0.8....
002dd305e45ecc972fe44e088e2ab4032ad066b4
3rdparty/python/requirements.txt
3rdparty/python/requirements.txt
Text
<|file_sep|>original/setup.py from setuptools import setup setup( name='pyhunter', packages=['pyhunter'], version='0.2', description='An (unofficial) Python wrapper for the Hunter.io API', author='Quentin Durantay', author_email='quentin.durantay@gmail.com', url='https://github.com/VonStru...
from setuptools import setup setup( name='pyhunter', packages=['pyhunter'], version='0.2', description='An (unofficial) Python wrapper for the Hunter.io API', author='Quentin Durantay', author_email='quentin.durantay@gmail.com', url='https://github.com/VonStruddle/PyHunter', install_re...
<|file_sep|>original/setup.py from setuptools import setup setup( name='pyhunter', packages=['pyhunter'], version='0.2', description='An (unofficial) Python wrapper for the Hunter.io API', author='Quentin Durantay', author_email='quentin.durantay@gmail.com', url='https://github.com/VonStru...
6757b7dc89d70b3c2307c489146ed7dfb7e6cce1
setup.py
setup.py
Python
<|file_sep|>original/tools/utils.py import subprocess def TryAddDepotToolsToPythonPath(): depot_tools = FindDepotToolsInPath() if depot_tools: sys.path.append(depot_tools) def FindDepotToolsInPath(): paths = os.getenv('PATH').split(os.path.pathsep) for path in paths: if os.path.basename(path) == 'depo...
import subprocess def TryAddDepotToolsToPythonPath(): depot_tools = FindDepotToolsInPath() if depot_tools: sys.path.append(depot_tools) def FindDepotToolsInPath(): paths = os.getenv('PATH').split(os.path.pathsep) for path in paths: if os.path.basename(path) == '': # path is end with os.path.path...
<|file_sep|>original/tools/utils.py import subprocess def TryAddDepotToolsToPythonPath(): depot_tools = FindDepotToolsInPath() if depot_tools: sys.path.append(depot_tools) def FindDepotToolsInPath(): paths = os.getenv('PATH').split(os.path.pathsep) for path in paths: if os.path.basename(path) == 'depo...
11f933e986dd9e2c62b852ca38a37f959c10145e
tools/utils.py
tools/utils.py
Python
<|file_sep|>original/README.md [![Go Documentation](http://godoc.org/github.com/raff/goble?status.svg)](http://godoc.org/github.com/raff/goble) [![Go Report Card](https://goreportcard.com/badge/github.com/raff/goble)](https://goreportcard.com/report/github.com/raff/goble) [![Actions Status](https://github.com/raff/gobl...
[![Go Documentation](http://godoc.org/github.com/raff/goble?status.svg)](http://godoc.org/github.com/raff/goble) [![Go Report Card](https://goreportcard.com/badge/github.com/raff/goble)](https://goreportcard.com/report/github.com/raff/goble) <!--[![Actions Status](https://github.com/raff/goble/workflows/Go/badge.svg)](...
<|file_sep|>original/README.md [![Go Documentation](http://godoc.org/github.com/raff/goble?status.svg)](http://godoc.org/github.com/raff/goble) [![Go Report Card](https://goreportcard.com/badge/github.com/raff/goble)](https://goreportcard.com/report/github.com/raff/goble) [![Actions Status](https://github.com/raff/gobl...
23577f989776a9ac1b1ded62ac52b25907b806bf
README.md
README.md
Markdown
<|file_sep|>original/src/js/Helpers/dancerData.js const makeDancer = (mass, x, y, z) => ({ mass, position: [x, y, z] }); const dancerData = [ makeDancer(100, -3, 4, -8), makeDancer(200, -2, -1, -12), makeDancer(700, 3, 2, -8), makeDancer(1200, 1, -2, -7), ]; module.exports = dancerData; <|file_sep|>current/src...
const makeDancer = (mass, x, y, z) => ({ mass, position: [x, y, z] }); const dancerData = [ makeDancer(100, -3, 4, -8), makeDancer(100, 2, 1.8, -10), makeDancer(100, -2, 1.8, -10), makeDancer(100, 3, 2, -8), ]; module.exports = dancerData;
<|file_sep|>original/src/js/Helpers/dancerData.js const makeDancer = (mass, x, y, z) => ({ mass, position: [x, y, z] }); const dancerData = [ makeDancer(100, -3, 4, -8), makeDancer(200, -2, -1, -12), makeDancer(700, 3, 2, -8), makeDancer(1200, 1, -2, -7), ]; module.exports = dancerData; <|file_sep|>current/src...
4297ec2bcefba6cad2cce80bc4fef4a740081db5
src/js/Helpers/dancerData.js
src/js/Helpers/dancerData.js
JavaScript
<|file_sep|>app/views/postcodes/_postcode_lookup.html.haml.diff original: %p= t('.search_by_postcode') updated: <|file_sep|>original/app/views/postcodes/_postcode_lookup.html.haml - if flash[:error] .highlight--box.highlight--caution__soft %p= flash[:error] %p= t('.search_by_postcode') = form_tag(path, method...
- if flash[:error] .highlight--box.highlight--caution__soft %p= flash[:error] = form_tag(path, method: :post) do .form-group = hidden_field_tag('previous_path', request.env['PATH_INFO']) = hidden_field_tag('constituency_id', @constituency.graph_id) if @constituency = hidden_field_tag('person_id', @...
<|file_sep|>app/views/postcodes/_postcode_lookup.html.haml.diff original: %p= t('.search_by_postcode') updated: <|file_sep|>original/app/views/postcodes/_postcode_lookup.html.haml - if flash[:error] .highlight--box.highlight--caution__soft %p= flash[:error] %p= t('.search_by_postcode') = form_tag(path, method...
40864f1bba52e17a347eda961655935852ec1b54
app/views/postcodes/_postcode_lookup.html.haml
app/views/postcodes/_postcode_lookup.html.haml
Haml
<|file_sep|>lib/Watch/DebugWatcher.php.diff original: updated: declare(ticks = 1); <|file_sep|>original/lib/Watch/DebugWatcher.php $server->start($hosts); foreach ($hosts->getBindableAddresses() as $addr) { $addr = substr(str_replace('0.0.0.0', '*', $addr), 6); printf("Listen...
$this->shutdown($server); }); $server->start($hosts); foreach ($hosts->getBindableAddresses() as $addr) { $addr = substr(str_replace('0.0.0.0', '*', $addr), 6); printf("Listening for HTTP traffic on %s ...\n", $addr); } if (extension_loaded(...
<|file_sep|>lib/Watch/DebugWatcher.php.diff original: updated: declare(ticks = 1); <|file_sep|>original/lib/Watch/DebugWatcher.php $server->start($hosts); foreach ($hosts->getBindableAddresses() as $addr) { $addr = substr(str_replace('0.0.0.0', '*', $addr), 6); printf("Listen...
dac6d9fbb322a7ef76920f6f552ebe261d8b5e31
lib/Watch/DebugWatcher.php
lib/Watch/DebugWatcher.php
PHP
<|file_sep|>original/lib/tasks/attachment_repair.rake gds_user = User.find_by_name!("GDS Inside Government Team") logger.info "Cleaning up Document with misnamed attachment files" logger.info "Note: Only published or draft documents will be fixed" document_ids = [] AttachmentUploader::EXTENSION_WH...
gds_user = User.find_by_name!("GDS Inside Government Team") logger.info "Cleaning up Document with misnamed attachment files" logger.info "Note: Only published or draft documents will be fixed" document_ids = [] AttachmentUploader::EXTENSION_WHITE_LIST.each do |ext| query = "SELECT DISTINCT ...
<|file_sep|>original/lib/tasks/attachment_repair.rake gds_user = User.find_by_name!("GDS Inside Government Team") logger.info "Cleaning up Document with misnamed attachment files" logger.info "Note: Only published or draft documents will be fixed" document_ids = [] AttachmentUploader::EXTENSION_WH...
4c5d8c7a4cc224556ee4fa7e3066464763526c0e
lib/tasks/attachment_repair.rake
lib/tasks/attachment_repair.rake
Ruby
<|file_sep|>original/requirements_dev.txt pip==9.0.1 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.7 PyYAML==3.11 pytest==2.9.2 pytest-cov==2.5.1 coveralls==1.1 pytest-runner==2.11.1 numpy==1.13.0 pandas==0.20.2 <|file_sep|>current/requirements_dev...
pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.3.0 tox==2.3.1 coverage==4.1 Sphinx==1.4.8 cryptography==1.7 PyYAML==3.11 pytest==2.9.2 pytest-cov==2.5.1 coveralls==1.1 pytest-runner==2.11.1 numpy==1.13.0 pandas==0.20.2
<|file_sep|>original/requirements_dev.txt pip==9.0.1 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.7 PyYAML==3.11 pytest==2.9.2 pytest-cov==2.5.1 coveralls==1.1 pytest-runner==2.11.1 numpy==1.13.0 pandas==0.20.2 <|file_sep|>current/requirements_dev...
cb834c8222ea70bedbcad7959f1bd9c59fdce19d
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/.travis.yml language: node_js sudo: false node_js: - '0.10' - '0.12' - 'node' before_install: # Log HTTP requests - npm config set loglevel http install: - time npm install <|file_sep|>current/.travis.yml language: node_js sudo: false node_js: - '0.10' - '0.12' - 'node' before_ins...
language: node_js sudo: false node_js: - '0.10' - '0.12' - '4' before_install: # Log HTTP requests - npm config set loglevel http install: - time npm install
<|file_sep|>original/.travis.yml language: node_js sudo: false node_js: - '0.10' - '0.12' - 'node' before_install: # Log HTTP requests - npm config set loglevel http install: - time npm install <|file_sep|>current/.travis.yml language: node_js sudo: false node_js: - '0.10' - '0.12' - 'node' before_ins...
4aac70325b1a3d48486ba84dc2da1bcf4029013e
.travis.yml
.travis.yml
YAML
<|file_sep|>original/chef/roles/api_umbrella_web_base.rb name "api_umbrella_web_base" description "A base role for API Umbrella web servers" run_list([ "role[base]", "role[nginx]", "role[torquebox]", "role[ruby]", "recipe[pygments]", "recipe[xml]", ]) default_attributes({ :nginx => { :listen => 80...
name "api_umbrella_web_base" description "A base role for API Umbrella web servers" run_list([ "role[base]", "role[nginx]", "role[torquebox]", "role[ruby]", "recipe[iptables::http]", "recipe[iptables::https]", "recipe[pygments]", "recipe[xml]", ]) default_attributes({ :nginx => { :listen => 80...
<|file_sep|>original/chef/roles/api_umbrella_web_base.rb name "api_umbrella_web_base" description "A base role for API Umbrella web servers" run_list([ "role[base]", "role[nginx]", "role[torquebox]", "role[ruby]", "recipe[pygments]", "recipe[xml]", ]) default_attributes({ :nginx => { :listen => 80...
162af43e390633970dc786c12ca487ffc988168c
chef/roles/api_umbrella_web_base.rb
chef/roles/api_umbrella_web_base.rb
Ruby
<|file_sep|>original/templates/jira.service.erb [Unit] Description=Atlassian Systemd Jira Service After=syslog.target network.target [Service] Type=forking Environment="JAVA_HOME=<%= scope.lookupvar('jira::javahome') %>" PIDFile=<%= scope.lookupvar('jira::webappdir') %>/work/catalina.pid User=<%= scope.lookupvar('jira...
[Unit] Description=Atlassian Systemd Jira Service After=syslog.target network.target [Service] Type=forking Environment="JAVA_HOME=<%= scope.lookupvar('jira::javahome') %>" User=<%= scope.lookupvar('jira::user') %> ExecStart=<%= scope.lookupvar('jira::webappdir') %>/bin/start-jira.sh ExecStop=<%= scope.lookupvar('jira...
<|file_sep|>original/templates/jira.service.erb [Unit] Description=Atlassian Systemd Jira Service After=syslog.target network.target [Service] Type=forking Environment="JAVA_HOME=<%= scope.lookupvar('jira::javahome') %>" PIDFile=<%= scope.lookupvar('jira::webappdir') %>/work/catalina.pid User=<%= scope.lookupvar('jira...
2e1a95ff7fb7c04375ef8e78eb3f62f715be3953
templates/jira.service.erb
templates/jira.service.erb
HTML+ERB
<|file_sep|>original/composer.json "license": "Apache-2.0", "type": "library", "description": "Symfony bundle for the Modlr REST ODM library.", "authors": [ { "name": "Jacob Bare", "email": "jacob.bare@gmail.com" } ], "autoload": { "psr-4": { ...
"license": "Apache-2.0", "type": "library", "description": "Symfony bundle for the Modlr REST ODM library.", "authors": [ { "name": "Jacob Bare", "email": "jacob.bare@gmail.com" } ], "autoload": { "psr-4": { "As3\\Bundle\\ModlrBundle\\"...
<|file_sep|>original/composer.json "license": "Apache-2.0", "type": "library", "description": "Symfony bundle for the Modlr REST ODM library.", "authors": [ { "name": "Jacob Bare", "email": "jacob.bare@gmail.com" } ], "autoload": { "psr-4": { ...
63315a22ed40aec42ba4b28684c54cbe6c9da986
composer.json
composer.json
JSON
<|file_sep|>original/requirements/doc.txt -r ./base.txt sphinx==1.7.1 alagitpull==0.0.19 releases==1.4.0 <|file_sep|>current/requirements/doc.txt -r ./base.txt sphinx==1.7.1 alagitpull==0.0.19 releases==1.4.0 <|file_sep|>updated/requirements/doc.txt
-r ./base.txt sphinx==1.7.2 alagitpull==0.0.19 releases==1.4.0
<|file_sep|>original/requirements/doc.txt -r ./base.txt sphinx==1.7.1 alagitpull==0.0.19 releases==1.4.0 <|file_sep|>current/requirements/doc.txt -r ./base.txt sphinx==1.7.1 alagitpull==0.0.19 releases==1.4.0 <|file_sep|>updated/requirements/doc.txt -r ./base.txt sphinx==1.7.2 alagitpull==0.0.19 releases==1.4.0
a196acd0b993a52693a9047c520b5724906b9e95
requirements/doc.txt
requirements/doc.txt
Text
<|file_sep|>original/app/src/main/res/layout/welcome_do_upload.xml android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent" android:background="#0c609c" android:gravity="center_vertical" > <ImageView android:layout_width="wrap_content" ...
android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent" android:background="#0c609c" android:gravity="center_vertical" > <GridLayout android:layout_width="397dp" android:layout_height="249dp"> </GridLayout> <TextView ...
<|file_sep|>original/app/src/main/res/layout/welcome_do_upload.xml android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent" android:background="#0c609c" android:gravity="center_vertical" > <ImageView android:layout_width="wrap_content" ...
129c0dea808ada89e734f2474858ca3765310ef2
app/src/main/res/layout/welcome_do_upload.xml
app/src/main/res/layout/welcome_do_upload.xml
XML
<|file_sep|>original/.travis.yml - "2.7" env: - DJANGO=1.7 - DJANGO=1.8 - DJANGO=1.9 cache: - pip install: - pip install -q Django==$DJANGO --use-mirrors - pip install -q six - pip install -q pep8 pyflakes --use-mirrors before_script: - "pep8 --ignore=E128,E501 templated_email" - "pyflakes templ...
- "2.7" env: - DJANGO=1.7 - DJANGO=1.8 - DJANGO=1.9 cache: - pip install: - pip install -q Django==$DJANGO --use-mirrors - pip install -q six - pip install -q pep8 pyflakes --use-mirrors before_script: - "pep8 --ignore=E128,E501 templated_email" - "pyflakes templated_email" script: - python m...
<|file_sep|>original/.travis.yml - "2.7" env: - DJANGO=1.7 - DJANGO=1.8 - DJANGO=1.9 cache: - pip install: - pip install -q Django==$DJANGO --use-mirrors - pip install -q six - pip install -q pep8 pyflakes --use-mirrors before_script: - "pep8 --ignore=E128,E501 templated_email" - "pyflakes templ...
420a0ca0ec17b70fa69631efbf506da74e96b30a
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml language: python dist: xenial python: - "3.5" - "3.6" sudo: true services: - postgresql addons: postgresql: "10" before_script: - psql -c "ALTER USER travis WITH PASSWORD 'travis';" install: - travis_retry pip install -r requirements.txt - travis_retry pip install co...
language: python dist: xenial python: - "3.6" sudo: true services: - postgresql addons: postgresql: "10" before_script: - psql -c "ALTER USER travis WITH PASSWORD 'travis';" install: - travis_retry pip install -r requirements.txt - travis_retry pip install coveralls
<|file_sep|>original/.travis.yml language: python dist: xenial python: - "3.5" - "3.6" sudo: true services: - postgresql addons: postgresql: "10" before_script: - psql -c "ALTER USER travis WITH PASSWORD 'travis';" install: - travis_retry pip install -r requirements.txt - travis_retry pip install co...
dab162ee7f14cd2b5a2b2d0be53efdb3b39d2bff
.travis.yml
.travis.yml
YAML
<|file_sep|>{{cookiecutter.app_name}}/.travis.yml.diff original: - GAE_VERSION=1.9.20 updated: - GAE_VERSION=1.9.24 <|file_sep|>original/{{cookiecutter.app_name}}/.travis.yml python: - "2.7" env: global: - GAE_VERSION=1.9.20 - PYTHONPATH=$PYTHONPATH:$PWD/vendor/google_appengine...
python: - "2.7" env: global: - GAE_VERSION=1.9.24 - PYTHONPATH=$PYTHONPATH:$PWD/vendor/google_appengine before_script: - wget -P vendor -nv https://storage.googleapis.com/appengine-sdks/featured/google_appengine_${GAE_VERSION}.zip - unzip -q -d vendor vendor/google_appengine_${GAE_...
<|file_sep|>{{cookiecutter.app_name}}/.travis.yml.diff original: - GAE_VERSION=1.9.20 updated: - GAE_VERSION=1.9.24 <|file_sep|>original/{{cookiecutter.app_name}}/.travis.yml python: - "2.7" env: global: - GAE_VERSION=1.9.20 - PYTHONPATH=$PYTHONPATH:$PWD/vendor/google_appengine...
13dab8311516fc77eb1fdacb59c9522906af4f91
{{cookiecutter.app_name}}/.travis.yml
{{cookiecutter.app_name}}/.travis.yml
YAML
<|file_sep|>webserver/templates/competition/game/_result_display.html.diff original: <td class="win"><span class="label label-success">Win</span></td> updated: <td class="win"><span class="label label-success">Win</span>{% if game.data.win_reason and game.data.win_reason != "Unknown reason" %} -- {{ game.data.win_r...
{% if game.data.winner.name == user_team.slug %} <td class="win"><span class="label label-success">Win</span>{% if game.data.win_reason and game.data.win_reason != "Unknown reason" %} -- {{ game.data.win_reason }}{% endif %}</td> {% else %} {% if game.data.loser.name == user_team.slug %} <td class="loss"><span ...
<|file_sep|>webserver/templates/competition/game/_result_display.html.diff original: <td class="win"><span class="label label-success">Win</span></td> updated: <td class="win"><span class="label label-success">Win</span>{% if game.data.win_reason and game.data.win_reason != "Unknown reason" %} -- {{ game.data.win_r...
5a6f119026bc6e2ae9cb48bc2d5d55a7217156f7
webserver/templates/competition/game/_result_display.html
webserver/templates/competition/game/_result_display.html
HTML
<|file_sep|>layouts/post/single.html.diff original: updated: <hr> <|file_sep|>original/layouts/post/single.html <header style="background-image: url('{{ .Site.BaseURL }}{{ with $.Params.featureimage }}{{ . }}{{ end }}')"> <h1 class="title">{{ .Title }}</h1> <p class="meta"> {{ .Date....
<article {{ if isset .Params "featureimage" }}class="feature-image"{{ end }}> <header style="background-image: url('{{ .Site.BaseURL }}{{ with $.Params.featureimage }}{{ . }}{{ end }}')"> <h1 class="title">{{ .Title }}</h1> <p class="meta"> {{ .Date.Format "January 1, 2006" }} ...
<|file_sep|>layouts/post/single.html.diff original: updated: <hr> <|file_sep|>original/layouts/post/single.html <header style="background-image: url('{{ .Site.BaseURL }}{{ with $.Params.featureimage }}{{ . }}{{ end }}')"> <h1 class="title">{{ .Title }}</h1> <p class="meta"> {{ .Date....
1235ffa79a44ce9cbed3e7f63d4e470c63f2eeca
layouts/post/single.html
layouts/post/single.html
HTML
<|file_sep|>original/requirements.txt coreapi==2.3.3 Django==1.11.6 django-rest-swagger==2.1.2 django-webpack-loader==0.5.0 djangorestframework==3.7.1 djangorestframework-jwt==1.11.0 freezegun==0.3.9 itypes==1.1.0 openapi-codec==1.3.2 psycopg2==2.7.3 PyJWT==1.5.3 python-dateutil==2.6.1 requests==2.18.4 simplejson==3.11...
coreapi==2.3.3 Django==1.11.6 django-rest-swagger==2.1.2 django-webpack-loader==0.5.0 djangorestframework==3.7.2 djangorestframework-jwt==1.11.0 freezegun==0.3.9 itypes==1.1.0 openapi-codec==1.3.2 psycopg2==2.7.3 PyJWT==1.5.3 python-dateutil==2.6.1 requests==2.18.4 simplejson==3.11.1 six==1.11.0 uritemplate==3.0.0 uWSG...
<|file_sep|>original/requirements.txt coreapi==2.3.3 Django==1.11.6 django-rest-swagger==2.1.2 django-webpack-loader==0.5.0 djangorestframework==3.7.1 djangorestframework-jwt==1.11.0 freezegun==0.3.9 itypes==1.1.0 openapi-codec==1.3.2 psycopg2==2.7.3 PyJWT==1.5.3 python-dateutil==2.6.1 requests==2.18.4 simplejson==3.11...
5d238e294e8b15802238e69c6650bb1fcba4cf11
requirements.txt
requirements.txt
Text
<|file_sep|>original/presets/hostile-ships-super_capitals.yml --- name: super-capitals symbol: ♞ hostile level: 3 groups: - common-minimal-ships - ships-super_capitals states: - hostile <|file_sep|>current/presets/hostile-ships-super_capitals.yml --- name: super-capitals symbol: ♞ hostile level: 3 groups: - com...
--- name: super-capitals symbol: ♞ hostile level: 2 groups: - common-minimal-ships - ships-super_capitals states: - hostile
<|file_sep|>original/presets/hostile-ships-super_capitals.yml --- name: super-capitals symbol: ♞ hostile level: 3 groups: - common-minimal-ships - ships-super_capitals states: - hostile <|file_sep|>current/presets/hostile-ships-super_capitals.yml --- name: super-capitals symbol: ♞ hostile level: 3 groups: - com...
d6c68467c81ef0145543919f3b2a4471a67d88fc
presets/hostile-ships-super_capitals.yml
presets/hostile-ships-super_capitals.yml
YAML
<|file_sep|>test/bench/client_integration/write_batch.rb.diff original: event_data = eval("read_data_#{i}") updated: event_data = binding.local_variable_get "read_data_#{i}" <|file_sep|>original/test/bench/client_integration/write_batch.rb message_2.some_attribute = token_2 writer = EventStore::Messaging::...
writer = EventStore::Messaging::Writer.build writer.write [message_1, message_2], stream_name get = EventStore::Client::HTTP::Request::Get.build body_text_1, get_response = get.("#{path}/0") body_text_2, get_response = get.("#{path}/1") read_data_1 = EventStore::Client::HTTP::EventData::Read.parse body_te...
<|file_sep|>test/bench/client_integration/write_batch.rb.diff original: event_data = eval("read_data_#{i}") updated: event_data = binding.local_variable_get "read_data_#{i}" <|file_sep|>original/test/bench/client_integration/write_batch.rb message_2.some_attribute = token_2 writer = EventStore::Messaging::...
d943870fcd5a844bc7cf3acca046a50899fad0e9
test/bench/client_integration/write_batch.rb
test/bench/client_integration/write_batch.rb
Ruby
<|file_sep|>original/requirements-dev.txt # Suggested versions for development based oni # Ubuntu 16.04 stack # !! update pip first! so wheels will be used !! pkgconfig==1.1.0 Cython==0.23.4 futures==3.0.5 mock==1.3.0 h5py==2.6.0 nose==1.3.7 numpy==1.11.0 pbr==1.8.0 psutil==3.4.2 scipy==0.17.0 shapely==1.5.13 six==1.1...
# Suggested versions for development based oni # Ubuntu 16.04 stack # !! update pip first! so wheels will be used !! pkgconfig==1.1.0 Cython==0.23.4 futures==3.0.5 mock==1.3.0 h5py==2.6.0 nose==1.3.7 numpy==1.11.0 pbr==1.8.0 psutil==3.4.2 scipy==0.17.0 shapely==1.5.13 six==1.10.0 django==1.8.7 docutils==0.12 decorator...
<|file_sep|>original/requirements-dev.txt # Suggested versions for development based oni # Ubuntu 16.04 stack # !! update pip first! so wheels will be used !! pkgconfig==1.1.0 Cython==0.23.4 futures==3.0.5 mock==1.3.0 h5py==2.6.0 nose==1.3.7 numpy==1.11.0 pbr==1.8.0 psutil==3.4.2 scipy==0.17.0 shapely==1.5.13 six==1.1...
c1696f8caeb5817eca10086b3fe7daf37fe0aa97
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>eloquent_js/chapter03/ch03_ex01.js.diff original: return a < b ? a : b; updated: return a < b ? a : b; <|file_sep|>original/eloquent_js/chapter03/ch03_ex01.js function min(a, b) { return a < b ? a : b; } console.log(min(0, 10)); console.log(min(0, -10)); <|file_sep|>current/eloquent_js/chapter03/c...
function min(a, b) { return a < b ? a : b; }
<|file_sep|>eloquent_js/chapter03/ch03_ex01.js.diff original: return a < b ? a : b; updated: return a < b ? a : b; <|file_sep|>original/eloquent_js/chapter03/ch03_ex01.js function min(a, b) { return a < b ? a : b; } console.log(min(0, 10)); console.log(min(0, -10)); <|file_sep|>current/eloquent_js/chapter03/c...
087fe83fd227c9700ca4dc0e9248103406617937
eloquent_js/chapter03/ch03_ex01.js
eloquent_js/chapter03/ch03_ex01.js
JavaScript
<|file_sep|>original/salt/modules/philips_hue.py <|file_sep|>current/salt/modules/philips_hue.py <|file_sep|>updated/salt/modules/philips_hue.py
# -*- coding: utf-8 -*- ''' Philips HUE lamps module for proxy. ''' from __future__ import absolute_import import sys __virtualname__ = 'hue' __proxyenabled__ = ['philips_hue'] def _proxy(): ''' Get proxy. ''' return __opts__['proxymodule'] def __virtual__(): '''
<|file_sep|>original/salt/modules/philips_hue.py <|file_sep|>current/salt/modules/philips_hue.py <|file_sep|>updated/salt/modules/philips_hue.py # -*- coding: utf-8 -*- ''' Philips HUE lamps module for proxy. ''' from __future__ import absolute_import import sys __virtualname__ = 'hue' __proxyenabled__ = ['philips_...
5503b6f20ed6bfb28c5d3285b36c7ec809ced55d
salt/modules/philips_hue.py
salt/modules/philips_hue.py
Python
<|file_sep|>src/main/java/seedu/bulletjournal/logic/parser/FlexibleCommand.java.diff original: * @author A0127826Y updated: * @@author A0127826Y <|file_sep|>src/main/java/seedu/bulletjournal/logic/parser/FlexibleCommand.java.diff original: updated: <|file_sep|>original/src/main/java/seedu/bulletjournal/logic/parser...
private String commandFromUser = ""; private String[] commandGroups = new String[] { "add a adds create creates new", "clear clr c clears empty empties", "delete d deletes del remove removes rm", "edit edits e change changes", "exit exits close closes logout logouts quit q", "find finds f search...
<|file_sep|>src/main/java/seedu/bulletjournal/logic/parser/FlexibleCommand.java.diff original: * @author A0127826Y updated: * @@author A0127826Y <|file_sep|>src/main/java/seedu/bulletjournal/logic/parser/FlexibleCommand.java.diff original: updated: <|file_sep|>original/src/main/java/seedu/bulletjournal/logic/parser...
fb07c0d3e640f867fe1b6330f804ddb37310e21f
src/main/java/seedu/bulletjournal/logic/parser/FlexibleCommand.java
src/main/java/seedu/bulletjournal/logic/parser/FlexibleCommand.java
Java
<|file_sep|>addon/components/markdown-to-html.js.diff original: didReceiveAttrs() { this._super(...arguments); updated: createConverter() { <|file_sep|>original/addon/components/markdown-to-html.js } return new Handlebars.SafeString(this.converter.makeHtml(get(this, 'markdown'))); }).readOnly(),...
}).readOnly(), createConverter() { let extensions = get(this, 'extensions'); if (typeof extensions === 'string') { extensions = extensions.split(' '); } this.converter = new showdown.Converter({ extensions }); }, didReceiveAttrs() { this._super(...arguments); this.createConv...
<|file_sep|>addon/components/markdown-to-html.js.diff original: didReceiveAttrs() { this._super(...arguments); updated: createConverter() { <|file_sep|>original/addon/components/markdown-to-html.js } return new Handlebars.SafeString(this.converter.makeHtml(get(this, 'markdown'))); }).readOnly(),...
c80630704d96379369888252f5258fa5d5f45a32
addon/components/markdown-to-html.js
addon/components/markdown-to-html.js
JavaScript
<|file_sep|>original/ui/src/app/loadingbar.ts declare function require(name: string): string; import * as nprogress from "nprogress"; interface IWindow extends Window { Loadingbar: Loadingbar; } export class Loadingbar { public static Start(): void { Loadingbar.Instance.Start(); } public stat...
import * as nprogress from "nprogress"; interface IWindow extends Window { Loadingbar: Loadingbar; } export class Loadingbar { public static Start(): void { Loadingbar.Instance.Start(); } public static Inc(): void { Loadingbar.Instance.Inc(); } public static Done(): void { ...
<|file_sep|>original/ui/src/app/loadingbar.ts declare function require(name: string): string; import * as nprogress from "nprogress"; interface IWindow extends Window { Loadingbar: Loadingbar; } export class Loadingbar { public static Start(): void { Loadingbar.Instance.Start(); } public stat...
7f49b1e9d6d5a299c34d9eafabda49a073595226
ui/src/app/loadingbar.ts
ui/src/app/loadingbar.ts
TypeScript
<|file_sep|>original/views/index.haml %h1 Redline %p.lead Quick and simple art feedback %form{action: '/upload', method: 'POST', enctype: 'multipart/form-data'} %input{type: 'file', name: 'image', accept: 'image/*'} %button Get Feedback <|file_sep|>current/views/index.haml %h1 Redline %p.lead Quick and simple art...
%h1 Redline %p.lead Quick and simple art feedback %form{action: '/upload', method: 'POST', enctype: 'multipart/form-data'} %input{type: 'file', name: 'image', accept: 'image/*'} %button Get Feedback %p Images must be less than 5MB in size. %br Uploads and redlines will be deleted after one week. %br If ...
<|file_sep|>original/views/index.haml %h1 Redline %p.lead Quick and simple art feedback %form{action: '/upload', method: 'POST', enctype: 'multipart/form-data'} %input{type: 'file', name: 'image', accept: 'image/*'} %button Get Feedback <|file_sep|>current/views/index.haml %h1 Redline %p.lead Quick and simple art...
9cff5d317faf33c8e59d257fb051353cde24c777
views/index.haml
views/index.haml
Haml
<|file_sep|>original/build.sbt import com.github.retronym.SbtOneJar._ oneJarSettings name := "api-build" organization := "io.flow" scalaVersion in ThisBuild := "2.11.8" version := "0.1.49" exportJars := true lazy val root = project .in(file(".")) .settings( libraryDependencies ++= Seq( "com.typesaf...
import com.github.retronym.SbtOneJar._ oneJarSettings name := "api-build" organization := "io.flow" scalaVersion in ThisBuild := "2.11.8" version := "0.1.50" exportJars := true lazy val root = project .in(file(".")) .settings( libraryDependencies ++= Seq( "com.typesafe.play" %% "play-json" % "2.6.2...
<|file_sep|>original/build.sbt import com.github.retronym.SbtOneJar._ oneJarSettings name := "api-build" organization := "io.flow" scalaVersion in ThisBuild := "2.11.8" version := "0.1.49" exportJars := true lazy val root = project .in(file(".")) .settings( libraryDependencies ++= Seq( "com.typesaf...
aa4cf90f2e6655efb7d26f0ab76d2a4adf617de9
build.sbt
build.sbt
Scala
<|file_sep|>rspec_java.gemspec.diff original: $:.push File.expand_path("../lib", __FILE__) updated: $:.push File.expand_path('../lib', __FILE__) <|file_sep|>rspec_java.gemspec.diff original: require "rspec_java/version" updated: require 'rspec_java/version' <|file_sep|>rspec_java.gemspec.diff original: s.name ...
# Maintain your gem's version: require 'rspec_java/version' # Describe your gem and declare its dependencies: Gem::Specification.new do |s| s.name = 'rspec_java' s.version = RspecJava::VERSION s.authors = ['paresharma'] s.email = ['paresh.brahm@gmail.com'] s.homepage = 'TODO' s.summ...
<|file_sep|>rspec_java.gemspec.diff original: $:.push File.expand_path("../lib", __FILE__) updated: $:.push File.expand_path('../lib', __FILE__) <|file_sep|>rspec_java.gemspec.diff original: require "rspec_java/version" updated: require 'rspec_java/version' <|file_sep|>rspec_java.gemspec.diff original: s.name ...
2361d59a41120add7fedcf9d578b1f0bca150306
rspec_java.gemspec
rspec_java.gemspec
Ruby
<|file_sep|>original/requirements/doc.txt -r ./base.txt sphinx==1.8.3 alagitpull==0.0.22 releases==1.6.1 <|file_sep|>current/requirements/doc.txt -r ./base.txt sphinx==1.8.3 alagitpull==0.0.22 releases==1.6.1 <|file_sep|>updated/requirements/doc.txt
-r ./base.txt sphinx==1.8.4 alagitpull==0.0.22 releases==1.6.1
<|file_sep|>original/requirements/doc.txt -r ./base.txt sphinx==1.8.3 alagitpull==0.0.22 releases==1.6.1 <|file_sep|>current/requirements/doc.txt -r ./base.txt sphinx==1.8.3 alagitpull==0.0.22 releases==1.6.1 <|file_sep|>updated/requirements/doc.txt -r ./base.txt sphinx==1.8.4 alagitpull==0.0.22 releases==1.6.1
5dd66cf789e94933f53137872bf528930e7bfb53
requirements/doc.txt
requirements/doc.txt
Text
<|file_sep|>.travis.yml.diff original: - 5.3 updated: <|file_sep|>original/.travis.yml sudo: false language: php php: - 5.3 - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 before_script: - travis_retry composer self-update - travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source script: -...
sudo: false language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 matrix: include: - php: 5.3 dist: precise before_script: - travis_retry composer self-update - travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source script: - composer test
<|file_sep|>.travis.yml.diff original: - 5.3 updated: <|file_sep|>original/.travis.yml sudo: false language: php php: - 5.3 - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 before_script: - travis_retry composer self-update - travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source script: -...
a54de9e32d0916d4b7bd31352d65c20e84676193
.travis.yml
.travis.yml
YAML
<|file_sep|>original/Cargo.toml [package] name = "xdg" version = "0.1.0" authors = [ "Ben Longbons <b.r.longbons@gmail.com>" ] [lib] name = "xdg" <|file_sep|>current/Cargo.toml [package] name = "xdg" version = "0.1.0" authors = [ "Ben Longbons <b.r.longbons@gmail.com>" ] [lib] name = "xdg" <|file_sep|>updated...
[package] name = "xdg" version = "0.1.0" authors = [ "Ben Longbons <b.r.longbons@gmail.com>", "whitequark <whitequark@whitequark.org>" ] [lib] name = "xdg"
<|file_sep|>original/Cargo.toml [package] name = "xdg" version = "0.1.0" authors = [ "Ben Longbons <b.r.longbons@gmail.com>" ] [lib] name = "xdg" <|file_sep|>current/Cargo.toml [package] name = "xdg" version = "0.1.0" authors = [ "Ben Longbons <b.r.longbons@gmail.com>" ] [lib] name = "xdg" <|file_sep|>updated...
7b8c24fba5dfdfbe1231750d342f4be1de3654a8
Cargo.toml
Cargo.toml
TOML
<|file_sep|>original/config/schedule.rb end every :sunday, :at => '2am' do # restart the analytics stats every week rake "mconf:analytics:init" end every :day, :at => '2pm' do # send daily digest emails runner "Mconf::DigestEmail.send_daily_digest" end every :monday, :at => '2pm' do # send weekly digest em...
end every :sunday, :at => '2am' do # restart the analytics stats every week rake "mconf:analytics:init" end every :day, :at => '2pm' do # send daily digest emails runner "Mconf::DigestEmail.send_daily_digest" end every :monday, :at => '2pm' do # send weekly digest emails runner "Mconf::DigestEmail.send_w...
<|file_sep|>original/config/schedule.rb end every :sunday, :at => '2am' do # restart the analytics stats every week rake "mconf:analytics:init" end every :day, :at => '2pm' do # send daily digest emails runner "Mconf::DigestEmail.send_daily_digest" end every :monday, :at => '2pm' do # send weekly digest em...
bbad53f495ba3ebdc62d61ced5fd776406768b98
config/schedule.rb
config/schedule.rb
Ruby
<|file_sep|>original/.forestry/front_matter/templates/the-new-dynamic-meetup-group.yml <|file_sep|>current/.forestry/front_matter/templates/the-new-dynamic-meetup-group.yml <|file_sep|>updated/.forestry/front_matter/templates/the-new-dynamic-meetup-group.yml
--- hide_body: false fields: - name: title label: Title type: text hidden: false default: '' - name: type label: Type type: text hidden: false default: '' - name: location label: Location type: text hidden: false default: '' - name: website label: Website type: text
<|file_sep|>original/.forestry/front_matter/templates/the-new-dynamic-meetup-group.yml <|file_sep|>current/.forestry/front_matter/templates/the-new-dynamic-meetup-group.yml <|file_sep|>updated/.forestry/front_matter/templates/the-new-dynamic-meetup-group.yml --- hide_body: false fields: - name: title label: Title ...
6da0cfb9763c2ede073115839dcad972e8337090
.forestry/front_matter/templates/the-new-dynamic-meetup-group.yml
.forestry/front_matter/templates/the-new-dynamic-meetup-group.yml
YAML
<|file_sep|>original/src/templates/Mouf/Html/Widgets/Menu/MenuItem.twig {% if not this.hidden %} {% set menuCssClass = this.cssClass ~ (this.active?" active":"") ~ (this.children?" dropdown":"") %} <li{% if menuCssClass %} class="{{ menuCssClass }}"{% endif %}> {%- if this.url or this.children %}<a href="{{ this.link ...
{% if not this.hidden %} {% set menuCssClass = this.cssClass ~ (this.active?" active":"") ~ (this.children?" dropdown":"") %} <li{% if menuCssClass %} class="{{ menuCssClass }}"{% endif %}> {%- if this.url or this.children %}<a href="{{ this.link ? this.link : '#' }}" {% if this.children %}class="dropdown-toggle" data...
<|file_sep|>original/src/templates/Mouf/Html/Widgets/Menu/MenuItem.twig {% if not this.hidden %} {% set menuCssClass = this.cssClass ~ (this.active?" active":"") ~ (this.children?" dropdown":"") %} <li{% if menuCssClass %} class="{{ menuCssClass }}"{% endif %}> {%- if this.url or this.children %}<a href="{{ this.link ...
6070c19d369d690f298e4ddb00545230252aeaec
src/templates/Mouf/Html/Widgets/Menu/MenuItem.twig
src/templates/Mouf/Html/Widgets/Menu/MenuItem.twig
Twig
<|file_sep|>original/lib/departure/log_sanitizers/password_sanitizer.rb module LogSanitizers class PasswordSanitizer PASSWORD_REPLACEMENT = '[filtered_password]' def initialize(config) @config = config end def execute(log_statement) return log_statement if password_argume...
module LogSanitizers class PasswordSanitizer PASSWORD_REPLACEMENT = '[filtered_password]' def initialize(config) @config = config end def execute(log_statement) return log_statement if password_argument.blank? log_statement.gsub(password_argument, PASSWORD_REPLACE...
<|file_sep|>original/lib/departure/log_sanitizers/password_sanitizer.rb module LogSanitizers class PasswordSanitizer PASSWORD_REPLACEMENT = '[filtered_password]' def initialize(config) @config = config end def execute(log_statement) return log_statement if password_argume...
1ec73b4dd71c8c79de9a7fb4490d4704c748394c
lib/departure/log_sanitizers/password_sanitizer.rb
lib/departure/log_sanitizers/password_sanitizer.rb
Ruby
<|file_sep|>original/.travis.yml language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 - 7.2 before_script: - composer install --no-progress --prefer-source script: - vendor/bin/phpunit <|file_sep|>current/.travis.yml language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 - 7.2 before_script: - ...
language: php php: - 7.3 - 7.4 before_script: - composer install --no-progress --prefer-source script: - vendor/bin/phpunit
<|file_sep|>original/.travis.yml language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 - 7.2 before_script: - composer install --no-progress --prefer-source script: - vendor/bin/phpunit <|file_sep|>current/.travis.yml language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 - 7.2 before_script: - ...
a46bcab81a4924b47d33d5ef02f7f0daa361dfd5
.travis.yml
.travis.yml
YAML
<|file_sep|>src/app/projects/states/dashboard/directives/task-dashboard/directives/task-status-card/task-status-card.coffee.diff original: controller: ($scope, $stateParams, alertService, taskService, listenerService, ConfirmationModal, ExtensionModal) -> updated: controller: ($scope, $stateParams, alertService, ta...
$scope.triggers = filteredStudentTriggers # Required changes when task changes listeners.push $scope.$watch('task.id', -> return unless $scope.task? reapplyTriggers() ) # Triggers a new task status $scope.triggerTransition = (trigger) -> $scope.task.triggerTransition(trigg...
<|file_sep|>src/app/projects/states/dashboard/directives/task-dashboard/directives/task-status-card/task-status-card.coffee.diff original: controller: ($scope, $stateParams, alertService, taskService, listenerService, ConfirmationModal, ExtensionModal) -> updated: controller: ($scope, $stateParams, alertService, ta...
958dfc725cc406a0f639ced04de071aa3c056fdd
src/app/projects/states/dashboard/directives/task-dashboard/directives/task-status-card/task-status-card.coffee
src/app/projects/states/dashboard/directives/task-dashboard/directives/task-status-card/task-status-card.coffee
CoffeeScript
<|file_sep|>original/ceres-solver.rb require 'formula' class CeresSolver < Formula homepage 'http://ceres-solver.org/' url 'http://ceres-solver.org/ceres-solver-1.9.0.tar.gz' sha1 'f73ab69cfa1e19d40961503984bc7d6b601cb8a6' head 'https://ceres-solver.googlesource.com/ceres-solver.git' option 'without-tests',...
require 'formula' class CeresSolver < Formula homepage 'http://ceres-solver.org/' url 'http://ceres-solver.org/ceres-solver-1.10.0.tar.gz' sha1 '340bf0676ed8b1da02a66ee4595923ba9fc75f1f' head 'https://ceres-solver.googlesource.com/ceres-solver.git' option 'without-tests', 'Do not build and run the tests (no...
<|file_sep|>original/ceres-solver.rb require 'formula' class CeresSolver < Formula homepage 'http://ceres-solver.org/' url 'http://ceres-solver.org/ceres-solver-1.9.0.tar.gz' sha1 'f73ab69cfa1e19d40961503984bc7d6b601cb8a6' head 'https://ceres-solver.googlesource.com/ceres-solver.git' option 'without-tests',...
eefd1ce5ea82670c5ec22da3219aff16b489c72d
ceres-solver.rb
ceres-solver.rb
Ruby
<|file_sep|>original/addon/templates/components/form-fields/select-field.hbs control=control update=(action update) as |f|}} {{f.label required=required}} {{f.control accesskey=accesskey autofocus=autofocus dir=dir disabled=disabled groupLabelPath=groupLabelPath hidden=hi...
control=control update=(action update) as |f|}} {{f.label required=required}} {{f.control accesskey=accesskey autofocus=autofocus dir=dir disabled=disabled groupLabelPath=groupLabelPath hidden=hidden includeBlank=includeBlank lang=lang multiple=multiple ...
<|file_sep|>original/addon/templates/components/form-fields/select-field.hbs control=control update=(action update) as |f|}} {{f.label required=required}} {{f.control accesskey=accesskey autofocus=autofocus dir=dir disabled=disabled groupLabelPath=groupLabelPath hidden=hi...
0464f8d9af7269657c4584056eb0a038e9a253f1
addon/templates/components/form-fields/select-field.hbs
addon/templates/components/form-fields/select-field.hbs
Handlebars
<|file_sep|>lib/vanity/experiment/definition.rb.diff original: # methods to define you experiments, for example: updated: # methods to define your experiments, for example: <|file_sep|>lib/vanity/experiment/definition.rb.diff original: fail "Experiment #{@experiment_id} already defined in playground" if ...
attr_reader :playground # Defines a new experiment, given the experiment's name, type and # definition block. def define(name, type, options = nil, &block) fail "Experiment #{@experiment_id} already defined in playground" if playground.experiments[@experiment_id] klass = Experim...
<|file_sep|>lib/vanity/experiment/definition.rb.diff original: # methods to define you experiments, for example: updated: # methods to define your experiments, for example: <|file_sep|>lib/vanity/experiment/definition.rb.diff original: fail "Experiment #{@experiment_id} already defined in playground" if ...
47d94d484bf9649d87a5e029e1d611c999555671
lib/vanity/experiment/definition.rb
lib/vanity/experiment/definition.rb
Ruby
<|file_sep|>.travis.yml.diff original: updated: sudo: false <|file_sep|>original/.travis.yml language: ruby rvm: - "1.9.3" - "2.0.0" - "2.1.0" - "2.3.0" script: bundle exec rspec spec os: - "linux" - "osx" <|file_sep|>current/.travis.yml sudo: false language: ruby rvm: - "1.9.3" - "2.0.0" - "2.1.0" - "2.3....
sudo: false language: ruby rvm: - "1.9.3" - "2.0.0" - "2.1.0" - "2.3.0" script: bundle exec rspec spec os: - "linux" - "osx" matrix: allow_failures: # https://github.com/travis-ci/travis-ci/issues/5361 - os: osx rvm: 2.3.0 include: - os: linux rvm: jruby-9.0.4.0
<|file_sep|>.travis.yml.diff original: updated: sudo: false <|file_sep|>original/.travis.yml language: ruby rvm: - "1.9.3" - "2.0.0" - "2.1.0" - "2.3.0" script: bundle exec rspec spec os: - "linux" - "osx" <|file_sep|>current/.travis.yml sudo: false language: ruby rvm: - "1.9.3" - "2.0.0" - "2.1.0" - "2.3....
dca47202a20bc3c1c805d3cfbb2ea7d6d7cf689a
.travis.yml
.travis.yml
YAML
<|file_sep|>original/vpr/tests/migrate/shell_migrate.py <|file_sep|>current/vpr/tests/migrate/shell_migrate.py <|file_sep|>updated/vpr/tests/migrate/shell_migrate.py
from django.db import connection from vpr_content import models def removeDuplicatedTitleInMaterial(): cur = connection.cursor() qr0 = 'select id from vpr_content_material' qr1 = 'select text from vpr_content_material where id=%d' qr2 = 'update vpr_content_material set text=\'%s\' where id=%d' pt0 ...
<|file_sep|>original/vpr/tests/migrate/shell_migrate.py <|file_sep|>current/vpr/tests/migrate/shell_migrate.py <|file_sep|>updated/vpr/tests/migrate/shell_migrate.py from django.db import connection from vpr_content import models def removeDuplicatedTitleInMaterial(): cur = connection.cursor() qr0 = 'select ...
0d243fbb4eeb9f1065a3f29fa00b44e1349cb946
vpr/tests/migrate/shell_migrate.py
vpr/tests/migrate/shell_migrate.py
Python
<|file_sep|>README.rst.diff original: updated: An example notebook can be viewed here_. <|file_sep|>original/README.rst ---------------- You can install jupyter_kernel through `pip`: `pip install jupyter_kernel --upgrade` Documentation ----------------------- Documentation is available online_. For version inf...
`pip install jupyter_kernel --upgrade` Documentation ----------------------- An example notebook can be viewed here_. Documentation is available online_. For version information, see the Revision History_. .. _here: http://nbviewer.ipython.org/github/blink1073/jupyter_kernel/blob/master/examples/echo_kernel.ipy...
<|file_sep|>README.rst.diff original: updated: An example notebook can be viewed here_. <|file_sep|>original/README.rst ---------------- You can install jupyter_kernel through `pip`: `pip install jupyter_kernel --upgrade` Documentation ----------------------- Documentation is available online_. For version inf...
b7815db4d2183480bf282bdee53f9a9452644188
README.rst
README.rst
reStructuredText
<|file_sep|>original/applvsdklib/src/main/java/com/applivery/applvsdklib/domain/appconfig/update/AppConfigChecker.java private final LastConfigReader lastConfigReader; public AppConfigChecker(LastConfigReader lastConfigReader) { this.lastConfigReader = lastConfigReader; } public boolean shouldCheckAppConf...
private final LastConfigReader lastConfigReader; public AppConfigChecker(LastConfigReader lastConfigReader) { this.lastConfigReader = lastConfigReader; } public boolean shouldCheckAppConfigForUpdate() { if (AppliverySdk.isSdkFirstTime()) { AppliverySdk.setSdkFirstTimeFalse(); return false...
<|file_sep|>original/applvsdklib/src/main/java/com/applivery/applvsdklib/domain/appconfig/update/AppConfigChecker.java private final LastConfigReader lastConfigReader; public AppConfigChecker(LastConfigReader lastConfigReader) { this.lastConfigReader = lastConfigReader; } public boolean shouldCheckAppConf...
fbb3a154472048a41dbadc743ad997c5d46d349a
applvsdklib/src/main/java/com/applivery/applvsdklib/domain/appconfig/update/AppConfigChecker.java
applvsdklib/src/main/java/com/applivery/applvsdklib/domain/appconfig/update/AppConfigChecker.java
Java
<|file_sep|>original/src/PhpBrew/AppStore.php <?php namespace PhpBrew; class AppStore { public static function all() { $apps = array( 'composer' => array('url' => 'https://getcomposer.org/composer.phar', 'as' => 'composer'), 'phpunit' => array('url' => 'https://phar.phpunit.de/...
<?php namespace PhpBrew; class AppStore { public static function all() { $apps = array( 'composer' => array('url' => 'https://getcomposer.org/composer.phar', 'as' => 'composer'), 'phpunit' => array('url' => 'https://phar.phpunit.de/phpunit.phar',...
<|file_sep|>original/src/PhpBrew/AppStore.php <?php namespace PhpBrew; class AppStore { public static function all() { $apps = array( 'composer' => array('url' => 'https://getcomposer.org/composer.phar', 'as' => 'composer'), 'phpunit' => array('url' => 'https://phar.phpunit.de/...
74ba44705540cd6fecc7d13b21790350c9f65917
src/PhpBrew/AppStore.php
src/PhpBrew/AppStore.php
PHP
<|file_sep|>original/workers/social/lib/social/models/sharedmachine.coffee {secure} = bongo JMachine = require './computeproviders/machine' module.exports = class SharedMachine extends bongo.Base @share() @add = secure (client, uid, target, callback) -> asUser = yes options = {target, asUser} se...
@share() @add = secure (client, uid, target, callback) -> asUser = yes options = {target, asUser} setUsers client, uid, options, callback @kick = secure (client, uid, target, callback) -> asUser = no options = {target, asUser} setUsers client, uid, options, callback setUsers = ...
<|file_sep|>original/workers/social/lib/social/models/sharedmachine.coffee {secure} = bongo JMachine = require './computeproviders/machine' module.exports = class SharedMachine extends bongo.Base @share() @add = secure (client, uid, target, callback) -> asUser = yes options = {target, asUser} se...
005f74451fe8380538c63816bcd60cb0b026c6a0
workers/social/lib/social/models/sharedmachine.coffee
workers/social/lib/social/models/sharedmachine.coffee
CoffeeScript
<|file_sep|>original/package.json { "name": "routemaster", "version": "0.1.0", "description": "A small route loader for express.js 4.x", "author": "Chris Newton <chrisn@brandwatch.com>", "main": "routemaster.js", "license": "MIT", "repository": { "type": "git", "url": "git://github.com/chrisnewtn/...
{ "name": "routemaster", "version": "0.2.0", "description": "A small route loader for express.js 4.x", "author": "Chris Newton <chrisn@brandwatch.com>", "main": "routemaster.js", "license": "MIT", "repository": { "type": "git", "url": "git://github.com/chrisnewtn/pathfinder.git" }, "scripts": ...
<|file_sep|>original/package.json { "name": "routemaster", "version": "0.1.0", "description": "A small route loader for express.js 4.x", "author": "Chris Newton <chrisn@brandwatch.com>", "main": "routemaster.js", "license": "MIT", "repository": { "type": "git", "url": "git://github.com/chrisnewtn/...
3c5da630924ff547e4cc8051ab573bc1b3ead3c7
package.json
package.json
JSON
<|file_sep|>original/client/src/main.js import VueBootstrap from 'bootstrap-vue' import 'bootstrap/dist/css/bootstrap.css' import 'bootstrap-vue/dist/bootstrap-vue.css' Vue.use(VueBootstrap) // HTTP Client we use. import Axios from 'axios' // TODO: Set these during build time. Axios.defaults.baseURL = 'http://localh...
import VueBootstrap from 'bootstrap-vue' import 'bootstrap/dist/css/bootstrap.css' import 'bootstrap-vue/dist/bootstrap-vue.css' Vue.use(VueBootstrap) // HTTP Client we use. import Axios from 'axios' // TODO: Set these during build time. Axios.defaults.baseURL = 'http://localhost:8080' Axios.defaults.headers['Content...
<|file_sep|>original/client/src/main.js import VueBootstrap from 'bootstrap-vue' import 'bootstrap/dist/css/bootstrap.css' import 'bootstrap-vue/dist/bootstrap-vue.css' Vue.use(VueBootstrap) // HTTP Client we use. import Axios from 'axios' // TODO: Set these during build time. Axios.defaults.baseURL = 'http://localh...
45dfa92abf7678b0ad6aa7472fe8964d40905d5a
client/src/main.js
client/src/main.js
JavaScript
<|file_sep|>original/www/app/Models/Traits/Label.php // Create key by name and json encode/decode value attribute trait Label { function setNameAttribute ($val) { $this->attributes['name'] = $val; $this->attributes['key'] = snake_case(camel_case(strtolower(trim($val)))); } function setValueAttribute ($val) { ...
// Create key by name and json encode/decode value attribute trait Label { function setNameAttribute ($val) { $this->attributes['name'] = $val; $this->attributes['key'] = snake_case(camel_case(strtolower(trim($val)))); } function setValueAttribute ($val) { if ($val === '' || is_null($val)) { $val = ''; }...
<|file_sep|>original/www/app/Models/Traits/Label.php // Create key by name and json encode/decode value attribute trait Label { function setNameAttribute ($val) { $this->attributes['name'] = $val; $this->attributes['key'] = snake_case(camel_case(strtolower(trim($val)))); } function setValueAttribute ($val) { ...
a23e293be87ed7042c0f964811c9f084028261d8
www/app/Models/Traits/Label.php
www/app/Models/Traits/Label.php
PHP
<|file_sep|>original/.travis.yml # https://github.com/travis-ci/travis-ci/wiki/.travis.yml-options bundler_args: --without development script: "bundle exec rspec spec" rvm: - 1.8.7 - 1.8.7-p249 - 1.9.2 - jruby - rbx-2.0 - ree - ruby-head notifications: recipients: - jakub@rabbitmq.com - michaelk...
# https://github.com/travis-ci/travis-ci/wiki/.travis.yml-options bundler_args: --without development script: "bundle exec rspec spec" rvm: - 1.8.7 - 1.8.7-p249 - 1.9.2 - rbx-2.0 - ree - ruby-head notifications: recipients: - jakub@rabbitmq.com - michaelklishin@me.com - markizko@gmail.com
<|file_sep|>original/.travis.yml # https://github.com/travis-ci/travis-ci/wiki/.travis.yml-options bundler_args: --without development script: "bundle exec rspec spec" rvm: - 1.8.7 - 1.8.7-p249 - 1.9.2 - jruby - rbx-2.0 - ree - ruby-head notifications: recipients: - jakub@rabbitmq.com - michaelk...
3acb6b66f7b63f3d2b96b3c8afa2eefefc121880
.travis.yml
.travis.yml
YAML
<|file_sep|>original/gradle.properties grailsVersion=4.1.0.BUILD-SNAPSHOT gormVersion=7.1.0.BUILD-SNAPSHOT hibernateGormVersion=7.1.0.BUILD-SNAPSHOT mongodbVersion=7.1.0.BUILD-SNAPSHOT testingSupportVersion=2.2.0.BUILD-SNAPSHOT gradleWrapperVersion=6.5.1 assetPipelineVersion=3.2.4 micronautVersion=2.0.0 spockVersion=2....
grailsVersion=4.1.0.BUILD-SNAPSHOT gormVersion=7.1.0.BUILD-SNAPSHOT hibernateGormVersion=7.1.0.BUILD-SNAPSHOT mongodbVersion=7.1.0.BUILD-SNAPSHOT testingSupportVersion=2.2.0.BUILD-SNAPSHOT gradleWrapperVersion=6.5.1 assetPipelineVersion=3.2.4 micronautVersion=2.0.0 spockVersion=2.0-M2-groovy-3.0 groovyVersion=3.0.5 ser...
<|file_sep|>original/gradle.properties grailsVersion=4.1.0.BUILD-SNAPSHOT gormVersion=7.1.0.BUILD-SNAPSHOT hibernateGormVersion=7.1.0.BUILD-SNAPSHOT mongodbVersion=7.1.0.BUILD-SNAPSHOT testingSupportVersion=2.2.0.BUILD-SNAPSHOT gradleWrapperVersion=6.5.1 assetPipelineVersion=3.2.4 micronautVersion=2.0.0 spockVersion=2....
bcaf338a082fcab905066ba0941b10f2d359b4ee
gradle.properties
gradle.properties
INI
<|file_sep|>original/packages/meteor.sh <|file_sep|>current/packages/meteor.sh <|file_sep|>updated/packages/meteor.sh
#!/bin/bash # Install Meteor, https://www.meteor.com # # Include in your builds via # \curl -sSL https://raw.githubusercontent.com/codeship/scripts/master/packages/meteor.sh | bash -s set -e curl https://install.meteor.com > "${HOME}/install_meteor" sed -i'' -e 's/PREFIX=.*/PREFIX="${HOME}"/g' "${HOME}/install_meteor" ...
<|file_sep|>original/packages/meteor.sh <|file_sep|>current/packages/meteor.sh <|file_sep|>updated/packages/meteor.sh #!/bin/bash # Install Meteor, https://www.meteor.com # # Include in your builds via # \curl -sSL https://raw.githubusercontent.com/codeship/scripts/master/packages/meteor.sh | bash -s set -e curl http...
041253dea09c7bd78af786072a7b826121d9cff5
packages/meteor.sh
packages/meteor.sh
Shell
<|file_sep|>Apps/BitChangeSetManager/AspNet/Api/Implementations/BitChangeSetManagerAppMessageHubEvents.cs.diff original: using BitChangeSetManager.DataAccess; updated: using BitChangeSetManager.DataAccess.Contracts; <|file_sep|>Apps/BitChangeSetManager/AspNet/Api/Implementations/BitChangeSetManagerAppMessageHubEvents.c...
using System; using System.Threading.Tasks; namespace BitChangeSetManager.Api.Implementations { public class BitChangeSetManagerAppMessageHubEvents : DefaultMessageHubEvents { public virtual IBitChangeSetManagerRepository<User> UsersRepository { get; set; } public virtual IOwinContext OwinCont...
<|file_sep|>Apps/BitChangeSetManager/AspNet/Api/Implementations/BitChangeSetManagerAppMessageHubEvents.cs.diff original: using BitChangeSetManager.DataAccess; updated: using BitChangeSetManager.DataAccess.Contracts; <|file_sep|>Apps/BitChangeSetManager/AspNet/Api/Implementations/BitChangeSetManagerAppMessageHubEvents.c...
5108c25fd2bec05e809cf5dff9ddbabd1e262756
Apps/BitChangeSetManager/AspNet/Api/Implementations/BitChangeSetManagerAppMessageHubEvents.cs
Apps/BitChangeSetManager/AspNet/Api/Implementations/BitChangeSetManagerAppMessageHubEvents.cs
C#
<|file_sep|>examples/dcell-hazelcast.rb.diff original: # The local port for the 0MZ communication. updated: # The local port for the 0MQ communication. <|file_sep|>original/examples/dcell-hazelcast.rb require 'dcell' require 'dcell/registries/hazelcast_adapter' require 'optparse' # The DCell node_id name = nil # The ...
require 'dcell' require 'dcell/registries/hazelcast_adapter' require 'optparse' # The DCell node_id name = nil # The local port for the 0MQ communication. port = nil registry = {:adapter => 'hazelcast', :env => 'test'} OptionParser.new.tap { |options| options.on('-n NAME', 'Node name') do |value| name = value...
<|file_sep|>examples/dcell-hazelcast.rb.diff original: # The local port for the 0MZ communication. updated: # The local port for the 0MQ communication. <|file_sep|>original/examples/dcell-hazelcast.rb require 'dcell' require 'dcell/registries/hazelcast_adapter' require 'optparse' # The DCell node_id name = nil # The ...
ffd6249de275065a3f69c68b9f43503c00e79b1b
examples/dcell-hazelcast.rb
examples/dcell-hazelcast.rb
Ruby
<|file_sep|>original/sc2/helpers/control_group.py class ControlGroup(set): def __init__(self, units): super().__init__({unit.tag for unit in units}) def __hash__(self): return hash(tuple(sorted(list(self)))) def select_units(self, units): return units.filter(lambda unit: unit.tag i...
def select_units(self, units): return units.filter(lambda unit: unit.tag in self) def missing_unit_tags(self, units): return {t for t in self if units.find_by_tag(t) is None} @property def empty(self): return self.amount == 0 def add_unit(self, units): self.add(un...
<|file_sep|>original/sc2/helpers/control_group.py class ControlGroup(set): def __init__(self, units): super().__init__({unit.tag for unit in units}) def __hash__(self): return hash(tuple(sorted(list(self)))) def select_units(self, units): return units.filter(lambda unit: unit.tag i...
03430a5b0abbd051e878274a669edf5afaa656b3
sc2/helpers/control_group.py
sc2/helpers/control_group.py
Python
<|file_sep|>original/prob-puzzles/intermediate/puzzle-28.md <|file_sep|>current/prob-puzzles/intermediate/puzzle-28.md <|file_sep|>updated/prob-puzzles/intermediate/puzzle-28.md
You have a broken 12-hour analog clock on your wall: every sixty minutes the hour hand moves forward by one hour with probability 9.99, but remains stuck with probability 0.01. The movements are independent across hours: the probability of move-stuck-move is `0.99*0.01*0.99`, for example. It is currently noon. We're i...
<|file_sep|>original/prob-puzzles/intermediate/puzzle-28.md <|file_sep|>current/prob-puzzles/intermediate/puzzle-28.md <|file_sep|>updated/prob-puzzles/intermediate/puzzle-28.md You have a broken 12-hour analog clock on your wall: every sixty minutes the hour hand moves forward by one hour with probability 9.99, but ...
d14073f2af9103d0163a2cd626d80f74a3f21fd0
prob-puzzles/intermediate/puzzle-28.md
prob-puzzles/intermediate/puzzle-28.md
Markdown
<|file_sep|>shippable.yml.diff original: - DISTRO=latest CLASS=report - DISTRO=latest CLASS=cv - DISTRO=fedora24 CLASS=report - DISTRO=fedora24 CLASS=cv - DISTRO=fedora25 CLASS=report - DISTRO=fedora25 CLASS=cv updated: - TAG=latest CLASS=report - TAG=latest CLASS=cv ...
- integrationName: email type: email on_success: never on_failure: always env: - TAG=latest CLASS=report - TAG=latest CLASS=cv - TAG=1 CLASS=report - TAG=1 CLASS=cv build: pre_ci_boot: image_name: idelsink/mexdown-fedora image_tag: $TAG pull: true ci...
<|file_sep|>shippable.yml.diff original: - DISTRO=latest CLASS=report - DISTRO=latest CLASS=cv - DISTRO=fedora24 CLASS=report - DISTRO=fedora24 CLASS=cv - DISTRO=fedora25 CLASS=report - DISTRO=fedora25 CLASS=cv updated: - TAG=latest CLASS=report - TAG=latest CLASS=cv ...
d56c09688d89e27ae32351f900c57b0667637449
shippable.yml
shippable.yml
YAML
<|file_sep|>original/Casks/actprinter.rb cask :v1 => 'actprinter' do version '3.2.1' sha256 '979768faafd99b5714d3397ef7dd29ff085b3f7c7aac59ea6c96c4f15f0ceb6d' # actprinter.com is the official download host per the vendor homepage url "http://www.actprinter.com/mac/ACTPrinter%20for%20Mac%20#{version}.zip" nam...
cask :v1 => 'actprinter' do version '3.2.2' sha256 '6e49ac75f8a660e33b3f0d3033bf9788cfeef5a0838faad93f06b21af0efb2ee' # actprinter.com is the official download host per the vendor homepage url "http://www.actprinter.com/mac/ACTPrinter%20for%20Mac%20#{version}.zip" name 'ACTPrinter' appcast 'http://www.houd...
<|file_sep|>original/Casks/actprinter.rb cask :v1 => 'actprinter' do version '3.2.1' sha256 '979768faafd99b5714d3397ef7dd29ff085b3f7c7aac59ea6c96c4f15f0ceb6d' # actprinter.com is the official download host per the vendor homepage url "http://www.actprinter.com/mac/ACTPrinter%20for%20Mac%20#{version}.zip" nam...
58f6f4c49f31e2efb6bff622d957f9920e01f5ce
Casks/actprinter.rb
Casks/actprinter.rb
Ruby
<|file_sep|>String/Util/StringUtil.sh.diff original: updated: include Comparator/Comparator.sh <|file_sep|>original/String/Util/StringUtil.sh echo ${str^} } replace(){ local str=${1} local orig=${2} local new=${3} if [[ ${new} == space ]]; then new=" " fi echo ${str//${orig}/${new}} } returnO...
local str=${1} echo ${str^} } replace(){ local str=${1} local orig=${2} local new=${3} if [[ $(Comparator isEqual ${orig} space) ]]; then orig=" " fi if [[ $(Comparator isEqual ${new} space) ]]; then new=" " fi echo ${str//${orig}/${new}} }
<|file_sep|>String/Util/StringUtil.sh.diff original: updated: include Comparator/Comparator.sh <|file_sep|>original/String/Util/StringUtil.sh echo ${str^} } replace(){ local str=${1} local orig=${2} local new=${3} if [[ ${new} == space ]]; then new=" " fi echo ${str//${orig}/${new}} } returnO...
4e146b4f8965172ddd912f01e4c129e2fe0a70e1
String/Util/StringUtil.sh
String/Util/StringUtil.sh
Shell
<|file_sep|>original/package.json "image-type": "^4.1.0", "jpeg-js": "^0.3.4", "md5-file": "^4.0.0", "png-js": "^0.1.1", "q": "^1.1.2", "ramda": "^0.26.1", "read-chunk": "^1.0.1", "recursive-fs": "^0.1.4", "to-arraybuffer": "^1.0.1" }, "description": "Calculates the perceptual im...
"image-type": "^4.1.0", "jpeg-js": "^0.3.4", "md5-file": "^4.0.0", "png-js": "^0.1.1", "q": "^1.1.2", "ramda": "^0.26.1", "read-chunk": "^1.0.1", "recursive-fs": "^0.1.4", "to-arraybuffer": "^1.0.1" }, "description": "Calculates the perceptual image hash of all JPG images in the ...
<|file_sep|>original/package.json "image-type": "^4.1.0", "jpeg-js": "^0.3.4", "md5-file": "^4.0.0", "png-js": "^0.1.1", "q": "^1.1.2", "ramda": "^0.26.1", "read-chunk": "^1.0.1", "recursive-fs": "^0.1.4", "to-arraybuffer": "^1.0.1" }, "description": "Calculates the perceptual im...
926319b979da1cdca2b5f7de2565f817e956a936
package.json
package.json
JSON
<|file_sep|>args-privsep.pl.diff original: # Check ktrace for setting the correct uid and gid. updated: # Check ktrace for setting the correct uid and gid and exec priv. <|file_sep|>original/args-privsep.pl qr/ -d / => 1, }, fstat => { qr/^root .* wd / => 1, qr/^root .* root / => 0, qr/^root .* kq...
fstat => { qr/^root .* wd / => 1, qr/^root .* root / => 0, qr/^root .* kqueue / => 0, qr/^root .* internet/ => 0, qr/^_syslogd .* wd / => 1, qr/^_syslogd .* root / => 1, qr/^_syslogd .* kqueue / => 1, qr/^_syslogd .* internet/ => 2, }, ktrace => { qr/syslogd CALL setres...
<|file_sep|>args-privsep.pl.diff original: # Check ktrace for setting the correct uid and gid. updated: # Check ktrace for setting the correct uid and gid and exec priv. <|file_sep|>original/args-privsep.pl qr/ -d / => 1, }, fstat => { qr/^root .* wd / => 1, qr/^root .* root / => 0, qr/^root .* kq...
50dcdf90e065cbf6d1bf806bb75ca435ed98fecb
args-privsep.pl
args-privsep.pl
Perl
<|file_sep|>Gruntfile.js.diff original: grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), updated: grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), <|file_sep|>Gruntfile.js.diff original: banner: '/*! <%= pkg.name %> <%= pkg.version %> | Copyright <%= grunt.template.toda...
'correctingInterval.js' ] }, mocha: { index: ['test/index.html'], options: { run: true } } }); grunt.loadNpmTasks('grunt-contrib-uglify'); grunt.loadNpmTasks('grunt-contrib-concat'); grunt.loadNpmTasks('grunt-contrib-jshint'); grunt.loadNpmTasks('grunt-moc...
<|file_sep|>Gruntfile.js.diff original: grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), updated: grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), <|file_sep|>Gruntfile.js.diff original: banner: '/*! <%= pkg.name %> <%= pkg.version %> | Copyright <%= grunt.template.toda...
fc2a0b966a8c7796ff06653f4f9bc4a70101e43e
Gruntfile.js
Gruntfile.js
JavaScript
<|file_sep|>app/reducers/index.js.diff original: const initialState = {} updated: import { TAP_ASSERT_DONE } from '../actions' const initialState = { assertions: [] } <|file_sep|>original/app/reducers/index.js const initialState = {} export default (state = initialState, action) => { return state } <|file_sep|>cu...
import { TAP_ASSERT_DONE } from '../actions' const initialState = { assertions: [] } export default (state = initialState, action) => { switch (action.type) { case TAP_ASSERT_DONE: return { ...state, assertions: [...state.assertions, action.payload] } default: return sta...
<|file_sep|>app/reducers/index.js.diff original: const initialState = {} updated: import { TAP_ASSERT_DONE } from '../actions' const initialState = { assertions: [] } <|file_sep|>original/app/reducers/index.js const initialState = {} export default (state = initialState, action) => { return state } <|file_sep|>cu...
92a0225cc144967211f4f6760367d213237dffd0
app/reducers/index.js
app/reducers/index.js
JavaScript
<|file_sep|>db/seeds.rb.diff original: Entity.create([ { updated: Entity.where( <|file_sep|>db/seeds.rb.diff original: },{ updated: ).first_or_create Entity.where( <|file_sep|>db/seeds.rb.diff original: } ]) updated: ).first_or_create <|file_sep|>db/seeds.rb.diff original: Keyword.first_or_create( updated: Keywor...
puts 'Creating entites...' Entity.where( name: 'University Communications', description: 'Central communications office', link: 'http://ucom.osu.edu', ).first_or_create Entity.where( name: 'Arts and Sciences Communications', description: 'College comm office', link: 'http://asccomm.osu.edu', )...
<|file_sep|>db/seeds.rb.diff original: Entity.create([ { updated: Entity.where( <|file_sep|>db/seeds.rb.diff original: },{ updated: ).first_or_create Entity.where( <|file_sep|>db/seeds.rb.diff original: } ]) updated: ).first_or_create <|file_sep|>db/seeds.rb.diff original: Keyword.first_or_create( updated: Keywor...
2a9e1141ac8129f47217b5026b3c2ccaf18b7f3c
db/seeds.rb
db/seeds.rb
Ruby
<|file_sep|>original/Tests/Serilog.Exceptions.Test/GlobalSuppressions.cs // This file is used by Code Analysis to maintain SuppressMessage // attributes that are applied to this project. // Project-level suppressions either have no target or are given // a specific target and scoped to a namespace, type, member, etc. ...
// This file is used by Code Analysis to maintain SuppressMessage // attributes that are applied to this project. // Project-level suppressions either have no target or are given // a specific target and scoped to a namespace, type, member, etc. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("StyleCop.CSha...
<|file_sep|>original/Tests/Serilog.Exceptions.Test/GlobalSuppressions.cs // This file is used by Code Analysis to maintain SuppressMessage // attributes that are applied to this project. // Project-level suppressions either have no target or are given // a specific target and scoped to a namespace, type, member, etc. ...
c775562d917749a72052298a9df49284a360009b
Tests/Serilog.Exceptions.Test/GlobalSuppressions.cs
Tests/Serilog.Exceptions.Test/GlobalSuppressions.cs
C#
<|file_sep|>original/shuup_workbench/wsgi.py # This file is part of Shuup. # # Copyright (c) 2012-2017, Shoop Commerce Ltd. All rights reserved. # # This source code is licensed under the OSL-3.0 license found in the # LICENSE file in the root directory of this source tree. """ WSGI config for shuup_workbench project. ...
# This file is part of Shuup. # # Copyright (c) 2012-2017, Shoop Commerce Ltd. All rights reserved. # # This source code is licensed under the OSL-3.0 license found in the # LICENSE file in the root directory of this source tree. """ WSGI config for shuup_workbench project. It exposes the WSGI callable as a module-lev...
<|file_sep|>original/shuup_workbench/wsgi.py # This file is part of Shuup. # # Copyright (c) 2012-2017, Shoop Commerce Ltd. All rights reserved. # # This source code is licensed under the OSL-3.0 license found in the # LICENSE file in the root directory of this source tree. """ WSGI config for shuup_workbench project. ...
4c922ea8e2ebd6e2ffb001f4733fcf7fa5edc250
shuup_workbench/wsgi.py
shuup_workbench/wsgi.py
Python
<|file_sep|>original/requirements.txt cookiecutter==1.6.0 flake8==3.7.5 # pyup: != 2.6.0 sh==1.12.14 binaryornot==0.4.4 # Testing pytest==4.5.0 pep8==1.7.1 pyflakes==2.1.0 tox==3.14.6 pytest-cookies==0.3.0 <|file_sep|>current/requirements.txt cookiecutter==1.6.0 flake8==3.7.5 # pyup: != 2.6.0 sh==1.12.14 binaryornot==...
cookiecutter==1.6.0 flake8==3.7.5 # pyup: != 2.6.0 sh==1.12.14 binaryornot==0.4.4 # Testing pytest==4.5.0 pep8==1.7.1 pyflakes==2.1.0 tox==3.14.6 pytest-cookies==0.5.1
<|file_sep|>original/requirements.txt cookiecutter==1.6.0 flake8==3.7.5 # pyup: != 2.6.0 sh==1.12.14 binaryornot==0.4.4 # Testing pytest==4.5.0 pep8==1.7.1 pyflakes==2.1.0 tox==3.14.6 pytest-cookies==0.3.0 <|file_sep|>current/requirements.txt cookiecutter==1.6.0 flake8==3.7.5 # pyup: != 2.6.0 sh==1.12.14 binaryornot==...
098beb0b6d438973e0caca91937d537860ccf32b
requirements.txt
requirements.txt
Text
<|file_sep|>original/README.md g4-logger ========= A simple logger that is configured with some niceties such as listening for a SIGUSR2 to change log levels Log Levels ---------- We use syslog levels [RFC-5424](http://tools.ietf.org/html/rfc5424) for the level definitions. * `0` = `Emergency` (panic) - Only log `pa...
* `0` = `Emergency` (panic) - Only log `panic` conditions * `1` = `Alert` (alert) - Only notify on conditions that cause immediate failure from the local system. * `2` = `Critical` (crit) - Notify on conditions that cause immediate failure from the local system or any secondary system or su...
<|file_sep|>original/README.md g4-logger ========= A simple logger that is configured with some niceties such as listening for a SIGUSR2 to change log levels Log Levels ---------- We use syslog levels [RFC-5424](http://tools.ietf.org/html/rfc5424) for the level definitions. * `0` = `Emergency` (panic) - Only log `pa...
f618b164005756c167a0179ae2461e033a016a1a
README.md
README.md
Markdown
<|file_sep|>original/index.html <!DOCTYPE html> <html> <head> <title>Redux Auth</title> <!-- Latest compiled and minified CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"> <!-- Auth0Lock script --> <script src="//cdn.auth0.com/js/lock...
<!DOCTYPE html> <html> <head> <title>Redux Auth</title> <!-- Latest compiled and minified CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"> <!-- Auth0Lock script --> <script src="//cdn.auth0.com/js/lock-9.0.min.js"></script> </head>...
<|file_sep|>original/index.html <!DOCTYPE html> <html> <head> <title>Redux Auth</title> <!-- Latest compiled and minified CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"> <!-- Auth0Lock script --> <script src="//cdn.auth0.com/js/lock...
67875cd6ff1cb664ef242c1ac618f675c74d0a3b
index.html
index.html
HTML
<|file_sep|>original/dts/bindings/wifi/inventek,eswifi.yaml <|file_sep|>current/dts/bindings/wifi/inventek,eswifi.yaml <|file_sep|>updated/dts/bindings/wifi/inventek,eswifi.yaml
# # Copyright (c) 2018, Linaro Limited # # SPDX-License-Identifier: Apache-2.0 # --- title: Inventek eS-WiFi WiFi module id: inventek,eswifi version: 0.1 description: > This binding gives the base representation of es-WiFi module inherits: !include spi-device.yaml properties: compatible: constraint...
<|file_sep|>original/dts/bindings/wifi/inventek,eswifi.yaml <|file_sep|>current/dts/bindings/wifi/inventek,eswifi.yaml <|file_sep|>updated/dts/bindings/wifi/inventek,eswifi.yaml # # Copyright (c) 2018, Linaro Limited # # SPDX-License-Identifier: Apache-2.0 # --- title: Inventek eS-WiFi WiFi module id: inventek,eswifi...
38080c8d933f62f2225a4ddb9b5fa8d336065e8a
dts/bindings/wifi/inventek,eswifi.yaml
dts/bindings/wifi/inventek,eswifi.yaml
YAML
<|file_sep|>original/pubspec.yaml name: devtools version: 1.0.0 author: Kenneth Endfinger <kaendfinger@gmail.com> description: DirectCode Development Tools homepage: https://github.com/DirectMyFile/devtools environment: sdk: '>=1.6.0-dev' dependencies: args: '>=0.12.0 <0.15.0' collection: '>=0.9.4 <0.10.0' cryp...
name: devtools version: 1.0.0 author: Kenneth Endfinger <kaendfinger@gmail.com> description: DirectCode Development Tools homepage: https://github.com/DirectMyFile/devtools dependencies: args: '>=0.12.0 <0.15.0' collection: '>=0.9.4 <0.10.0' crypto: '>=0.9.0 <1.0.0' github: '>=0.5.9 <0.6.0' grinder: '>=0.5.7 ...
<|file_sep|>original/pubspec.yaml name: devtools version: 1.0.0 author: Kenneth Endfinger <kaendfinger@gmail.com> description: DirectCode Development Tools homepage: https://github.com/DirectMyFile/devtools environment: sdk: '>=1.6.0-dev' dependencies: args: '>=0.12.0 <0.15.0' collection: '>=0.9.4 <0.10.0' cryp...
d8d4b669f162b387ff0c14682ce43be9549a53f3
pubspec.yaml
pubspec.yaml
YAML
<|file_sep|>original/ansible/roles/app/tasks/main.yml sudo: no file: path=/dev/shm/symfony/cache state=directory - name: Create log directory sudo: no file: path=/dev/shm/symfony/logs state=directory - name: Create session directory sudo: no file: path=/dev/shm/symfony/sessions state=directory - name: Cr...
sudo: no file: path=/dev/shm/symfony/cache state=directory - name: Create log directory sudo: no file: path=/dev/shm/symfony/logs state=directory - name: Create session directory sudo: no file: path=/dev/shm/symfony/sessions state=directory - name: Create dependency directory sudo: no file: path=/tmp...
<|file_sep|>original/ansible/roles/app/tasks/main.yml sudo: no file: path=/dev/shm/symfony/cache state=directory - name: Create log directory sudo: no file: path=/dev/shm/symfony/logs state=directory - name: Create session directory sudo: no file: path=/dev/shm/symfony/sessions state=directory - name: Cr...
87169eaddbcd45686be3d3e464f328d9296a23ae
ansible/roles/app/tasks/main.yml
ansible/roles/app/tasks/main.yml
YAML
<|file_sep|>original/requirements.txt # Main dependencies mozci==0.40.0 pulse_replay==0.2.2 treeherder_submitter==0.1.0 # Required by mozci buildapi-client==0.3.0 ijson==2.2 keyring==6.0 progressbar==2.3 pushlog-client==0.5.0 redo==1.5 requests==2.9.1 taskcluster==0.2.0 treeherder-client==2.1.0 # Required by pulse_re...
# Main dependencies mozci==0.40.0 pulse_replay==0.2.2 treeherder_submitter==0.2.1 # Required by mozci buildapi-client==0.3.0 ijson==2.2 keyring==6.0 progressbar==2.3 pushlog-client==0.5.0 redo==1.5 requests==2.9.1 taskcluster==0.2.0 treeherder-client==2.1.0 # Required by pulse_replay MozillaPulse==1.2.2 amqp==1.4.9 a...
<|file_sep|>original/requirements.txt # Main dependencies mozci==0.40.0 pulse_replay==0.2.2 treeherder_submitter==0.1.0 # Required by mozci buildapi-client==0.3.0 ijson==2.2 keyring==6.0 progressbar==2.3 pushlog-client==0.5.0 redo==1.5 requests==2.9.1 taskcluster==0.2.0 treeherder-client==2.1.0 # Required by pulse_re...
6894e19359f2ca48c8603c7b4a74db049840b346
requirements.txt
requirements.txt
Text
<|file_sep|>.github/workflows/pull-request-check.yml.diff original: name: Build and CheckStyle updated: name: Build and CheckStyle <|file_sep|>original/.github/workflows/pull-request-check.yml jobs: test: name: Build and CheckStyle runs-on: ubuntu-latest steps: - uses: actions/checkout@...
jobs: test: name: Build and CheckStyle runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: Set up JDK 8 uses: actions/setup-java@v1 with: java-version: 8 java-package: jdk architecture: x64 - name: Check well-formatted code ...
<|file_sep|>.github/workflows/pull-request-check.yml.diff original: name: Build and CheckStyle updated: name: Build and CheckStyle <|file_sep|>original/.github/workflows/pull-request-check.yml jobs: test: name: Build and CheckStyle runs-on: ubuntu-latest steps: - uses: actions/checkout@...
ec5314d0f05a807753d25a55aee7d3492549dac0
.github/workflows/pull-request-check.yml
.github/workflows/pull-request-check.yml
YAML
<|file_sep|>original/manifests/lite-multitenant-broker-vars-file.yml --- deployment-name: cf-rabbitmq-with-multitenant-broker cf-rabbitmq-broker-release-name: cf-rabbitmq-broker rabbitmq-broker-domain: rabbitmq-multitenant-broker bosh-hostname: bosh-lite.com cf-admin-password: admin cf-admin-username: admin multitenant...
--- cf-rabbitmq-broker-release-name: cf-rabbitmq-broker rabbitmq-broker-domain: rabbitmq-multitenant-broker bosh-hostname: bosh-lite.com cf-admin-password: admin cf-admin-username: admin multitenant-rabbitmq-broker-password: broker multitenant-rabbitmq-broker-username: broker product-name: p-rabbitmq rabbitmq-broker-pl...
<|file_sep|>original/manifests/lite-multitenant-broker-vars-file.yml --- deployment-name: cf-rabbitmq-with-multitenant-broker cf-rabbitmq-broker-release-name: cf-rabbitmq-broker rabbitmq-broker-domain: rabbitmq-multitenant-broker bosh-hostname: bosh-lite.com cf-admin-password: admin cf-admin-username: admin multitenant...
870f7c8400c60d56cb8193cb19b94b1627796b2f
manifests/lite-multitenant-broker-vars-file.yml
manifests/lite-multitenant-broker-vars-file.yml
YAML
<|file_sep|>original/test/runner.js var mocha = new Mocha({ reporter: 'spec', timeout: 200, slow: Infinity }); var patterns = []; if (process.argv[2]) { patterns.push(process.argv[2]); } else { patterns.push('*-test.js'); } var path = require('path'); var glob = require('glob'); patterns.reduce(function(pat...
var mocha = new Mocha({ reporter: 'spec', timeout: 200, slow: Infinity }); var patterns = []; if (process.argv[2]) { patterns.push(process.argv[2]); } else { patterns.push('**/*-test.js'); } var path = require('path'); var glob = require('glob'); patterns.reduce(function(paths, pattern) { return paths.con...
<|file_sep|>original/test/runner.js var mocha = new Mocha({ reporter: 'spec', timeout: 200, slow: Infinity }); var patterns = []; if (process.argv[2]) { patterns.push(process.argv[2]); } else { patterns.push('*-test.js'); } var path = require('path'); var glob = require('glob'); patterns.reduce(function(pat...
42332460a81ef944e351e3c26bc5bda50d2164c6
test/runner.js
test/runner.js
JavaScript
<|file_sep|>original/jenkins/ci.opensuse.org/openstack-devstack.yaml - job: name: 'openstack-devstack' project-type: matrix triggers: - timed: 'H 5 * * *' axes: - axis: type: user-defined name: image values: - openSUSE-Leap-42.1 - SLE_12_...
- job: name: 'openstack-devstack' project-type: matrix triggers: - timed: 'H 5 * * *' axes: - axis: type: user-defined name: image values: - openSUSE-Leap-42.2 - axis: type: slave name: slave values: - ...
<|file_sep|>original/jenkins/ci.opensuse.org/openstack-devstack.yaml - job: name: 'openstack-devstack' project-type: matrix triggers: - timed: 'H 5 * * *' axes: - axis: type: user-defined name: image values: - openSUSE-Leap-42.1 - SLE_12_...
e8ec4fce0a3819da0bd3b5e0512bcfaa96255583
jenkins/ci.opensuse.org/openstack-devstack.yaml
jenkins/ci.opensuse.org/openstack-devstack.yaml
YAML
<|file_sep|>original/gradle.properties group=io.github.tommy1199 artifactId=appconfigr version=1.0.0-SNAPSHOT <|file_sep|>current/gradle.properties group=io.github.tommy1199 artifactId=appconfigr version=1.0.0-SNAPSHOT <|file_sep|>updated/gradle.properties
group=io.github.tommy1199 artifactId=appconfigr version=1.0.0
<|file_sep|>original/gradle.properties group=io.github.tommy1199 artifactId=appconfigr version=1.0.0-SNAPSHOT <|file_sep|>current/gradle.properties group=io.github.tommy1199 artifactId=appconfigr version=1.0.0-SNAPSHOT <|file_sep|>updated/gradle.properties group=io.github.tommy1199 artifactId=appconfigr version=1.0.0
adac69636c23af47e2c0fa4408b019734bb2f42a
gradle.properties
gradle.properties
INI
<|file_sep|>original/app/controllers/islay_shop/admin/products_controller.rb render :edit end private def invalid_record @product.skus.build(:template => true) end def new_record Product.new.tap {|p| p.skus.build(:template => true)} end def find_reco...
render :edit end private def invalid_record @product.skus.build(:template => true) end def new_record if params[:action] == 'new' Product.new.tap {|p| p.skus.build(:template => true)} else Product.new end end def f...
<|file_sep|>original/app/controllers/islay_shop/admin/products_controller.rb render :edit end private def invalid_record @product.skus.build(:template => true) end def new_record Product.new.tap {|p| p.skus.build(:template => true)} end def find_reco...
42ed1603462a8ce8729d1e571d3d7358c1f79065
app/controllers/islay_shop/admin/products_controller.rb
app/controllers/islay_shop/admin/products_controller.rb
Ruby
<|file_sep|>app/assets/stylesheets/sass/mixins/_images.sass.diff original: background-image: url("#{normalised_asset_path('#{$path}-#{nth($sizes, 1)}.#{$extension}', "")}") updated: background-image: url("#{image_path('#{$path}-#{nth($sizes, 1)}.#{$extension}')}") <|file_sep|>app/assets/stylesheets/sass...
@mixin responsive-image($path: '', $extension: 'jpg') $sizes: "480", "700", "1600" @if $is-ie == false @each $size in $sizes $index: index($sizes, $size) // Default is the smallest @if $index == 1 background-image: url("#{image_path('#{$path}-#{nth($sizes, 1)}.#{$extension}')}") ...
<|file_sep|>app/assets/stylesheets/sass/mixins/_images.sass.diff original: background-image: url("#{normalised_asset_path('#{$path}-#{nth($sizes, 1)}.#{$extension}', "")}") updated: background-image: url("#{image_path('#{$path}-#{nth($sizes, 1)}.#{$extension}')}") <|file_sep|>app/assets/stylesheets/sass...
78c7a8137b29a5521434066fd80e44e51b8eeb8c
app/assets/stylesheets/sass/mixins/_images.sass
app/assets/stylesheets/sass/mixins/_images.sass
Sass
<|file_sep|>original/res/layout/about_textview.xml 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 applicable law or agreed to in writing, software distributed under the License is distrib...
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 applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CO...
<|file_sep|>original/res/layout/about_textview.xml 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 applicable law or agreed to in writing, software distributed under the License is distrib...
b58b7ea3e9407926693fc52d7f78cc7cf1a74aec
res/layout/about_textview.xml
res/layout/about_textview.xml
XML
<|file_sep|>lib/node/column-namer.js.diff original: this.columns = columns.map(name => stripTableName(name)); updated: this.columns = columns.map(name => stripTableName(name).toLowerCase()); <|file_sep|>lib/node/column-namer.js.diff original: updated: baseName = baseName.toLowerCase(); <|file_s...
uniqueName(baseName) { baseName = baseName.toLowerCase(); var name = baseName; var ok = this.isUnique(name); if (!ok) { // try adding a numeric suffix var count = 1; while (!ok) { name = baseName + '_' + (++count); o...
<|file_sep|>lib/node/column-namer.js.diff original: this.columns = columns.map(name => stripTableName(name)); updated: this.columns = columns.map(name => stripTableName(name).toLowerCase()); <|file_sep|>lib/node/column-namer.js.diff original: updated: baseName = baseName.toLowerCase(); <|file_s...
b069cec340994881ad80eb119a179d1f28f047be
lib/node/column-namer.js
lib/node/column-namer.js
JavaScript
<|file_sep|>original/test-tesseract-versions.sh <|file_sep|>current/test-tesseract-versions.sh <|file_sep|>updated/test-tesseract-versions.sh
#!/usr/bin/env sh TESSERACT_VERSION=3.03.02-3 vendor/bin/phpunit tests/FunctionalTests.php TESSERACT_VERSION=3.03.03-1 vendor/bin/phpunit tests/FunctionalTests.php TESSERACT_VERSION=3.04.01-4 vendor/bin/phpunit tests/FunctionalTests.php TESSERACT_VERSION=3.04.01-5 vendor/bin/phpunit tests/FunctionalTests.php TESSERACT_...
<|file_sep|>original/test-tesseract-versions.sh <|file_sep|>current/test-tesseract-versions.sh <|file_sep|>updated/test-tesseract-versions.sh #!/usr/bin/env sh TESSERACT_VERSION=3.03.02-3 vendor/bin/phpunit tests/FunctionalTests.php TESSERACT_VERSION=3.03.03-1 vendor/bin/phpunit tests/FunctionalTests.php TESSERACT_VE...
9fcd5634df7af234040238e88070b9ce4ec0290c
test-tesseract-versions.sh
test-tesseract-versions.sh
Shell
<|file_sep|>original/src/client/es6/controller/cart-blog-create.js this.apiService.postDefaultCategory().then( (category) => { this.category = category; this.post.category = category.uuid; }, (error) => this.msgService.error(error) ); this.tags = []; this.attachments = ...
this.apiService.postDefaultCategory().then( (category) => { this.category = category; this.post.category = category.uuid; }, (error) => this.msgService.error(error) ); this.tags = []; this.attachments = []; this.post = { uuid: undefined, // have to be "undefin...
<|file_sep|>original/src/client/es6/controller/cart-blog-create.js this.apiService.postDefaultCategory().then( (category) => { this.category = category; this.post.category = category.uuid; }, (error) => this.msgService.error(error) ); this.tags = []; this.attachments = ...
7e019de783a757fdeb5fc5babb05b297defb6b46
src/client/es6/controller/cart-blog-create.js
src/client/es6/controller/cart-blog-create.js
JavaScript
<|file_sep|>original/.travis.yml sudo: false language: go go: - "1.10" - "1.11" - "1.12" matrix: allow_failures: - go: master fast_finish: true script: - go get -t -v ./... - diff -u <(echo -n) <(gofmt -d -s .) - go generate -x ./... && git diff --exit-code; code=$?; git checkout -- .; (exit $code) ...
sudo: false language: go go: - "1.10" - "1.11" - "1.12" matrix: allow_failures: - go: master fast_finish: true script: - go get -t -v ./... - diff -u <(echo -n) <(gofmt -d -s .) - go generate -x ./... && git diff --exit-code; code=$?; git checkout -- .; (exit $code) # Check that go generate ./... pr...
<|file_sep|>original/.travis.yml sudo: false language: go go: - "1.10" - "1.11" - "1.12" matrix: allow_failures: - go: master fast_finish: true script: - go get -t -v ./... - diff -u <(echo -n) <(gofmt -d -s .) - go generate -x ./... && git diff --exit-code; code=$?; git checkout -- .; (exit $code) ...
b6c7645af5067f64ba9c75d999ceca0bba5c18eb
.travis.yml
.travis.yml
YAML
<|file_sep|>test/CodeGen/2003-08-18-SigSetJmp.c.diff original: // RUN: %clang -S -emit-llvm %s -o /dev/null // XFAIL: mingw,win32 updated: // RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm %s -o /dev/null <|file_sep|>original/test/CodeGen/2003-08-18-SigSetJmp.c // RUN: %clang -S -emit-llvm %s -o /dev/null //...
// RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm %s -o /dev/null #define _JBLEN ((9 * 2) + 3 + 16) typedef int sigjmp_buf[_JBLEN + 1]; int sigsetjmp(sigjmp_buf env, int savemask); sigjmp_buf B; int foo() { sigsetjmp(B, 1); bar(); }
<|file_sep|>test/CodeGen/2003-08-18-SigSetJmp.c.diff original: // RUN: %clang -S -emit-llvm %s -o /dev/null // XFAIL: mingw,win32 updated: // RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm %s -o /dev/null <|file_sep|>original/test/CodeGen/2003-08-18-SigSetJmp.c // RUN: %clang -S -emit-llvm %s -o /dev/null //...
95ee667503b8b3123951242e3f7b93598cb9f9b9
test/CodeGen/2003-08-18-SigSetJmp.c
test/CodeGen/2003-08-18-SigSetJmp.c
C
<|file_sep|>lib/tasks/braumeister.rake.diff original: desc 'Completely regenerates all repositories and their formulae' task_with_tracing regenerate: :environment do Repository.all.each do |repo| updated: task :select_repos, [:repo] => :environment do |t, args| @repos = args[:repo].nil? ? Repository.all :...
repo.authors.clear repo.formulae.clear repo.revisions.clear repo.sha = nil FileUtils.rm_rf repo.path repo.refresh repo.save! end end desc 'Regenerates the history of one or all repositories' task_with_tracing :regenerate_history, [:repo] => :select_repos do @repo...
<|file_sep|>lib/tasks/braumeister.rake.diff original: desc 'Completely regenerates all repositories and their formulae' task_with_tracing regenerate: :environment do Repository.all.each do |repo| updated: task :select_repos, [:repo] => :environment do |t, args| @repos = args[:repo].nil? ? Repository.all :...
07be2da257bf2452ac4ea0dd1357bdc1e2982908
lib/tasks/braumeister.rake
lib/tasks/braumeister.rake
Ruby
<|file_sep|>original/composer.json "monolog/monolog": "~1.11", "silverstripe/crontask": "2.x-dev" }, "require-dev": { "phpunit/phpunit": "^5.7" }, "autoload": { "psr-4": { "SilverLeague\\LogViewer\\": "src/" } }, "autoload-dev": { "psr-...
"silverstripe/framework": "^4.0@dev", "monolog/monolog": "~1.11", "silverstripe/crontask": "2.x-dev" }, "require-dev": { "phpunit/phpunit": "^5.7" }, "autoload": { "psr-4": { "SilverLeague\\LogViewer\\": "src/", "SilverLeague\\LogViewer\\Te...
<|file_sep|>original/composer.json "monolog/monolog": "~1.11", "silverstripe/crontask": "2.x-dev" }, "require-dev": { "phpunit/phpunit": "^5.7" }, "autoload": { "psr-4": { "SilverLeague\\LogViewer\\": "src/" } }, "autoload-dev": { "psr-...
35deda8c6409eb2cb01db2a31d7592211d0e9178
composer.json
composer.json
JSON
<|file_sep|>freeciv/version.txt.diff original: # Previous:30206 FCREV=30207 updated: # Previous:30207 FCREV=30219 <|file_sep|>original/freeciv/version.txt # I keep previous version easily available here so I don't need to check # version history constantly when handling ruleset differences. # Previous:30206 FCREV=30207...
# I keep previous version easily available here so I don't need to check # version history constantly when handling ruleset differences. # Previous:30207 FCREV=30219 FCBRANCH=trunk ORIGCAPSTR="+Freeciv.Devel-3.0-2015.Oct.26" # There's no need to bump this constantly as current freeciv-web # makes no connections to ou...
<|file_sep|>freeciv/version.txt.diff original: # Previous:30206 FCREV=30207 updated: # Previous:30207 FCREV=30219 <|file_sep|>original/freeciv/version.txt # I keep previous version easily available here so I don't need to check # version history constantly when handling ruleset differences. # Previous:30206 FCREV=30207...
8861ccaf11f002bba2523f78bc937e33f076c564
freeciv/version.txt
freeciv/version.txt
Text
<|file_sep|>original/app/assets/stylesheets/application.css.sass #controls position: fixed left: 50% margin-left: $root-width / 2 top: -$footer z-index: 1 height: 100% width: 300px +box-sizing(border-box) padding: $footer 0 0 20px .wrap position: relative @import 'flash' @import 'button' @impo...
margin-left: $root-width / 2 top: -$footer z-index: 1 height: 100% width: 300px +box-sizing(border-box) padding: $footer 0 0 20px .wrap position: relative ::-moz-selection, ::selection background: complement($green) color: white @import 'flash' @import 'button' @import 'signin' @import 'menu' ...
<|file_sep|>original/app/assets/stylesheets/application.css.sass #controls position: fixed left: 50% margin-left: $root-width / 2 top: -$footer z-index: 1 height: 100% width: 300px +box-sizing(border-box) padding: $footer 0 0 20px .wrap position: relative @import 'flash' @import 'button' @impo...
74714f0ad1f81bad8851e6b4b3fd098cf3cb71fe
app/assets/stylesheets/application.css.sass
app/assets/stylesheets/application.css.sass
Sass
<|file_sep|>original/library.properties name=DS3231 version=1.0.6 author=Andrew Wickert <awickert@umn.edu>, Eric Ayars, Jean-Claude Wippler, Northern Widget LLC <info@northernwidget.com> maintainer=Andrew Wickert <awickert@umn.edu> sentence=Arduino library for the DS3231 real-time clock (RTC) paragraph=Abstracts functi...
name=DS3231 version=1.0.7 author=Andrew Wickert <awickert@umn.edu>, Eric Ayars, Jean-Claude Wippler, Northern Widget LLC <info@northernwidget.com> maintainer=Andrew Wickert <awickert@umn.edu> sentence=Arduino library for the DS3231 real-time clock (RTC) paragraph=Abstracts functionality for clock reading, clock setting...
<|file_sep|>original/library.properties name=DS3231 version=1.0.6 author=Andrew Wickert <awickert@umn.edu>, Eric Ayars, Jean-Claude Wippler, Northern Widget LLC <info@northernwidget.com> maintainer=Andrew Wickert <awickert@umn.edu> sentence=Arduino library for the DS3231 real-time clock (RTC) paragraph=Abstracts functi...
11b8c376a624d08436302a65c6de8cc95beb44ed
library.properties
library.properties
INI
<|file_sep|>original/requirements.txt argcomplete==1.8.2 base58==0.2.4 botocore==1.5.27 boto3==1.4.4 docutils>=0.12 durationpy==0.3 futures==3.0.5 hjson==2.0.2 jmespath==0.9.2 kappa==0.6.0 lambda-packages==0.14.2 python-dateutil==2.6.0 python-slugify==1.2.1 PyYAML==3.12 requests>=2.10.0 six==1.10.0 toml==0.9.2 tqdm==4....
argcomplete==1.8.2 base58==0.2.4 botocore==1.5.28 boto3==1.4.4 docutils>=0.12 durationpy==0.3 futures==3.0.5 hjson==2.0.2 jmespath==0.9.2 kappa==0.6.0 lambda-packages==0.14.2 python-dateutil==2.6.0 python-slugify==1.2.1 PyYAML==3.12 requests>=2.10.0 six==1.10.0 toml==0.9.2 tqdm==4.11.2 troposphere>=1.9.0 Werkzeug==0.12...
<|file_sep|>original/requirements.txt argcomplete==1.8.2 base58==0.2.4 botocore==1.5.27 boto3==1.4.4 docutils>=0.12 durationpy==0.3 futures==3.0.5 hjson==2.0.2 jmespath==0.9.2 kappa==0.6.0 lambda-packages==0.14.2 python-dateutil==2.6.0 python-slugify==1.2.1 PyYAML==3.12 requests>=2.10.0 six==1.10.0 toml==0.9.2 tqdm==4....
8e9e8aafe48dc14ad857ce854305d6c75b158ebf
requirements.txt
requirements.txt
Text
<|file_sep|>original/project/plugins.sbt resolvers ++= Seq( Classpaths.sbtPluginReleases, Resolver.sonatypeRepo("releases"), Resolver.bintrayIvyRepo("jetbrains", "sbt-plugins") ) addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.3.3") addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.6") addSbtPlugin("com.github...
resolvers ++= Seq( Classpaths.sbtPluginReleases, Resolver.sonatypeRepo("releases"), Resolver.bintrayIvyRepo("jetbrains", "sbt-plugins") ) addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.3.4") addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.6") addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.10") addS...
<|file_sep|>original/project/plugins.sbt resolvers ++= Seq( Classpaths.sbtPluginReleases, Resolver.sonatypeRepo("releases"), Resolver.bintrayIvyRepo("jetbrains", "sbt-plugins") ) addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.3.3") addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.6") addSbtPlugin("com.github...
e215f3053225fdb884c70d342e0fdf41df65fc30
project/plugins.sbt
project/plugins.sbt
Scala
<|file_sep|>original/requirements.txt flake8==3.3.0 docutils==0.13.1 pytest==3.0.6 pytest-aiohttp==0.1.3 pytest-cov==2.4.0 pytest-sugar==0.8.0 pytest-mock==1.5.0 sphinx==1.5.2 aiohttp==1.3.3 yarl==0.9.8 multidict==2.1.4 -e . <|file_sep|>current/requirements.txt flake8==3.3.0 docutils==0.13.1 pytest==3.0.6 pytest-aiohtt...
flake8==3.3.0 docutils==0.13.1 pytest==3.0.6 pytest-aiohttp==0.1.3 pytest-cov==2.4.0 pytest-sugar==0.8.0 pytest-mock==1.5.0 sphinx==1.5.3 aiohttp==1.3.3 yarl==0.9.8 multidict==2.1.4 -e .
<|file_sep|>original/requirements.txt flake8==3.3.0 docutils==0.13.1 pytest==3.0.6 pytest-aiohttp==0.1.3 pytest-cov==2.4.0 pytest-sugar==0.8.0 pytest-mock==1.5.0 sphinx==1.5.2 aiohttp==1.3.3 yarl==0.9.8 multidict==2.1.4 -e . <|file_sep|>current/requirements.txt flake8==3.3.0 docutils==0.13.1 pytest==3.0.6 pytest-aiohtt...
51171967c160b818e85af07487b95373e1435284
requirements.txt
requirements.txt
Text