prompt
stringlengths
77
6.9k
completion
stringlengths
1
3.38k
text
stringlengths
163
9.03k
commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
lang
stringclasses
277 values
<|file_sep|>original/app/index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Arkis</title> </head> <body> <div id="logo"> <div id="corners-container"> <div id="corners-anim-container-1"><div id="corners-anim-container-2"> <div id="corners"> <div class="...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Arkis</title> </head> <body ontouchstart=""> <div id="logo"> <div id="corners-container"> <div id="corners-anim-container-1"><div id="corners-anim-container-2"> <div id="corners"> <div class="row"> <d...
<|file_sep|>original/app/index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Arkis</title> </head> <body> <div id="logo"> <div id="corners-container"> <div id="corners-anim-container-1"><div id="corners-anim-container-2"> <div id="corners"> <div class="...
5d09e5563f591892412b1fd03a91e13c13b2018c
app/index.html
app/index.html
HTML
<|file_sep|>MatrixInterface.java.diff original: public Matrix m_add(Matrix m); updated: public Matrix add(Matrix m); <|file_sep|>MatrixInterface.java.diff original: public Matrix m_add(Matrix m, boolean modify); updated: public Matrix add(Matrix m, boolean modify); <|file_sep|>MatrixInterface.java.diff original: p...
public Matrix add(Matrix m); public Matrix add(Matrix m, boolean modify); // matrix multiplication public Matrix multiply(Matrix m); public Matrix multiply(Matrix m, boolean modify); // transpose matrix public Matrix transpose(Matrix m); public Matrix transpose(Matrix m, boolean modify); // change e...
<|file_sep|>MatrixInterface.java.diff original: public Matrix m_add(Matrix m); updated: public Matrix add(Matrix m); <|file_sep|>MatrixInterface.java.diff original: public Matrix m_add(Matrix m, boolean modify); updated: public Matrix add(Matrix m, boolean modify); <|file_sep|>MatrixInterface.java.diff original: p...
7e0887fb38e75f2ccb89d66c27757ca5e3b67720
MatrixInterface.java
MatrixInterface.java
Java
<|file_sep|>original/media/js/main.js // Return a localized URL. app.localeUrl = function(url) { return '/' + app.locale + '/' + url.toString(); }; // Apply language change once another language is selected $('#language').change(function() { $('#language-...
app.locale = $('body').data('locale'); // Return a localized URL. app.localeUrl = function(url) { return '/' + app.locale + '/' + url.toString(); }; // Apply language change once another language is selected $('#language').change(function() { $('...
<|file_sep|>original/media/js/main.js // Return a localized URL. app.localeUrl = function(url) { return '/' + app.locale + '/' + url.toString(); }; // Apply language change once another language is selected $('#language').change(function() { $('#language-...
e8c34b60da218c4970ffcabc28854f429fc25798
media/js/main.js
media/js/main.js
JavaScript
<|file_sep|>original/docs/requirements.txt sphinx==1.6.5 sphinxcontrib-asyncio==0.2.0 sphinxcontrib-spelling==4.0.1 pyenchant==2.0.0 <|file_sep|>current/docs/requirements.txt sphinx==1.6.5 sphinxcontrib-asyncio==0.2.0 sphinxcontrib-spelling==4.0.1 pyenchant==2.0.0 <|file_sep|>updated/docs/requirements.txt
sphinx==1.6.6 sphinxcontrib-asyncio==0.2.0 sphinxcontrib-spelling==4.0.1 pyenchant==2.0.0
<|file_sep|>original/docs/requirements.txt sphinx==1.6.5 sphinxcontrib-asyncio==0.2.0 sphinxcontrib-spelling==4.0.1 pyenchant==2.0.0 <|file_sep|>current/docs/requirements.txt sphinx==1.6.5 sphinxcontrib-asyncio==0.2.0 sphinxcontrib-spelling==4.0.1 pyenchant==2.0.0 <|file_sep|>updated/docs/requirements.txt sphinx==1.6.6...
d81256056dae7bf16eee06dc7157ff435e2415bc
docs/requirements.txt
docs/requirements.txt
Text
<|file_sep|>original/.travis.yml language: node_js sudo: false before_script: - npm install web-component-tester - npm install bower - 'export PATH=$PWD/node_modules/.bin:$PATH' - bower install branches: only: - gh-pages - master node_js: 4 addons: firefox: latest apt: sources: - google-...
language: node_js sudo: required dist: trusty before_script: - npm install web-component-tester - npm install bower - 'export PATH=$PWD/node_modules/.bin:$PATH' - bower install branches: only: - gh-pages - master node_js: 4 addons: firefox: latest apt: sources: - google-chrome packag...
<|file_sep|>original/.travis.yml language: node_js sudo: false before_script: - npm install web-component-tester - npm install bower - 'export PATH=$PWD/node_modules/.bin:$PATH' - bower install branches: only: - gh-pages - master node_js: 4 addons: firefox: latest apt: sources: - google-...
2a8ab780de9d38642051db22134765b4c7f21553
.travis.yml
.travis.yml
YAML
<|file_sep|>original/gradle.properties springVersion =5.1.2.RELEASE springBootVersion =2.1.0.RELEASE springDataCommonsVersion=2.1.2.RELEASE springDataMongoVersion =2.1.2.RELEASE springDataJPAVersion =2.1.2.RELEASE springSecurityVersion =5.1.1.RELEASE mongoDbDriverVersion =3.8.2 hibernateVersion...
springVersion =5.1.2.RELEASE springBootVersion =2.1.0.RELEASE springDataCommonsVersion=2.1.2.RELEASE springDataMongoVersion =2.1.2.RELEASE springDataJPAVersion =2.1.2.RELEASE springSecurityVersion =5.1.1.RELEASE mongoDbDriverVersion =3.8.2 hibernateVersion =5.3.7.Final guavaVersion ...
<|file_sep|>original/gradle.properties springVersion =5.1.2.RELEASE springBootVersion =2.1.0.RELEASE springDataCommonsVersion=2.1.2.RELEASE springDataMongoVersion =2.1.2.RELEASE springDataJPAVersion =2.1.2.RELEASE springSecurityVersion =5.1.1.RELEASE mongoDbDriverVersion =3.8.2 hibernateVersion...
39ceee3e8e301a31aec2427c45352c2712a2c9f4
gradle.properties
gradle.properties
INI
<|file_sep|>README.md.diff original: updated: [![License](http://img.shields.io/:license-mit-blue.svg?style=flat-square)](http://marnen.mit-license.org) <|file_sep|>original/README.md [![Build Status](http://img.shields.io/travis/marnen/contraq.svg?style=flat-square)](https://travis-ci.org/marnen/contraq) [![Dependen...
[![Build Status](http://img.shields.io/travis/marnen/contraq.svg?style=flat-square)](https://travis-ci.org/marnen/contraq) [![Dependency Status](http://img.shields.io/gemnasium/marnen/contraq.svg?style=flat-square)](https://gemnasium.com/marnen/contraq) [![License](http://img.shields.io/:license-mit-blue.svg?style=flat...
<|file_sep|>README.md.diff original: updated: [![License](http://img.shields.io/:license-mit-blue.svg?style=flat-square)](http://marnen.mit-license.org) <|file_sep|>original/README.md [![Build Status](http://img.shields.io/travis/marnen/contraq.svg?style=flat-square)](https://travis-ci.org/marnen/contraq) [![Dependen...
84bbb7cfadba60adbe1c416de03c9ca0a2a20a22
README.md
README.md
Markdown
<|file_sep|>original/gui/admin-gui-v2/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/dto/ObjectViewDto.java */ public class ObjectViewDto implements Serializable { private String oid; private String name; private String xml; public ObjectViewDto() { } public ObjectViewDto(S...
*/ public class ObjectViewDto implements Serializable { private String oid; private String name; private String xml; public ObjectViewDto() { } public ObjectViewDto(String oid, String name, String xml) { this.name = name; this.oid = oid; this.xml = xml; } pub...
<|file_sep|>original/gui/admin-gui-v2/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/dto/ObjectViewDto.java */ public class ObjectViewDto implements Serializable { private String oid; private String name; private String xml; public ObjectViewDto() { } public ObjectViewDto(S...
3d92d863b4b5c93c5d7892c83fdf32cec43e37da
gui/admin-gui-v2/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/dto/ObjectViewDto.java
gui/admin-gui-v2/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/dto/ObjectViewDto.java
Java
<|file_sep|>original/alert_templates/shared/logsearch/logsearch_persistent_disk_usage.json.erb { "silenced": false, "query": "avg(last_1h):max:bosh.healthmonitor.system.disk.persistent.percent{deployment:cf-elk-3az} by {deployment,index,job} > 90", "message": "Healthmonitor reports that the persistent disk usage ...
{ "silenced": false, "query": "avg(last_1h):max:bosh.healthmonitor.system.disk.persistent.percent{deployment:cf-elk-3az} by {deployment,index,job} > 90", "message": "Healthmonitor reports that the persistent disk usage is > 90% in the past 60 minutes on: \n{{deployment.name}},\n{{job.name}}, \n{{index.name}}\n@cl...
<|file_sep|>original/alert_templates/shared/logsearch/logsearch_persistent_disk_usage.json.erb { "silenced": false, "query": "avg(last_1h):max:bosh.healthmonitor.system.disk.persistent.percent{deployment:cf-elk-3az} by {deployment,index,job} > 90", "message": "Healthmonitor reports that the persistent disk usage ...
035787b33e5fe66576c89968763b83a7cdfc246c
alert_templates/shared/logsearch/logsearch_persistent_disk_usage.json.erb
alert_templates/shared/logsearch/logsearch_persistent_disk_usage.json.erb
HTML+ERB
<|file_sep|>_includes/ganalytics.html.diff original: <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); updated: <script...
<script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.j...
<|file_sep|>_includes/ganalytics.html.diff original: <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); updated: <script...
00764c2ed145c23293da59ea1a8029841ab853df
_includes/ganalytics.html
_includes/ganalytics.html
HTML
<|file_sep|>original/lib/aasm/graph.rb require "graphviz" module AASM class Graph < ::GraphViz def initialize(class_name, options = {}) options = {path: '.'}.merge(options) @file_path = File.join(options[:path], "#{class_name.parameterize('_')}_aasm.png") super(:G) end def output ...
require "graphviz" module AASM class Graph < ::GraphViz def initialize(class_name, options = {}) options = {path: '.'}.merge(options) @file_path = File.join(options[:path], "#{class_name.parameterize(separator: '_')}_aasm.png") super(:G) end def output super png: @file_path ...
<|file_sep|>original/lib/aasm/graph.rb require "graphviz" module AASM class Graph < ::GraphViz def initialize(class_name, options = {}) options = {path: '.'}.merge(options) @file_path = File.join(options[:path], "#{class_name.parameterize('_')}_aasm.png") super(:G) end def output ...
a8f907c5e708a482e493eee30a2260d76794aee1
lib/aasm/graph.rb
lib/aasm/graph.rb
Ruby
<|file_sep|>original/tests/utils/test_ssdp.py <|file_sep|>current/tests/utils/test_ssdp.py <|file_sep|>updated/tests/utils/test_ssdp.py
# -*- coding: utf-8 -*- ''' :codeauthor: :email:`Bo Maryniuk <bo@suse.de>` ''' from __future__ import absolute_import, print_function, unicode_literals from tests.support.unit import TestCase, skipIf from tests.support.mock import ( NO_MOCK, NO_MOCK_REASON, MagicMock, patch) # Import Salt libs imp...
<|file_sep|>original/tests/utils/test_ssdp.py <|file_sep|>current/tests/utils/test_ssdp.py <|file_sep|>updated/tests/utils/test_ssdp.py # -*- coding: utf-8 -*- ''' :codeauthor: :email:`Bo Maryniuk <bo@suse.de>` ''' from __future__ import absolute_import, print_function, unicode_literals from tests.support.unit i...
6090dc1539bd0701381c73128a5ca0606adc09e4
tests/utils/test_ssdp.py
tests/utils/test_ssdp.py
Python
<|file_sep|>original/tests/factories/user.py from pycroft.model.user import User from .base import BaseFactory from .facilities import RoomFactory from .finance import AccountFactory class UserFactory(BaseFactory): class Meta: model = User login = Faker('user_name') name = Faker('name') regist...
from pycroft.model.user import User from .base import BaseFactory from .facilities import RoomFactory from .finance import AccountFactory class UserFactory(BaseFactory): class Meta: model = User login = Faker('user_name') name = Faker('name') registered_at = Faker('date_time') password = F...
<|file_sep|>original/tests/factories/user.py from pycroft.model.user import User from .base import BaseFactory from .facilities import RoomFactory from .finance import AccountFactory class UserFactory(BaseFactory): class Meta: model = User login = Faker('user_name') name = Faker('name') regist...
73d0be7a432340b4ecd140ad1cc8792d3f049779
tests/factories/user.py
tests/factories/user.py
Python
<|file_sep|>cdi-injection/src/main/java/pl/dawidstepien/jee/examples/SimpleDateFormatProducer.java.diff original: updated: import java.util.logging.Logger; <|file_sep|>cdi-injection/src/main/java/pl/dawidstepien/jee/examples/SimpleDateFormatProducer.java.diff original: updated: import javax.enterprise.inject.Disposes...
import javax.enterprise.inject.Disposes; import javax.enterprise.inject.Produces; import javax.inject.Inject; public class SimpleDateFormatProducer { @Inject Logger logger; @Inject @SimpleDatePattern private String pattern; @Produces public SimpleDateFormat produceSimpleDateFormat() { return new Sim...
<|file_sep|>cdi-injection/src/main/java/pl/dawidstepien/jee/examples/SimpleDateFormatProducer.java.diff original: updated: import java.util.logging.Logger; <|file_sep|>cdi-injection/src/main/java/pl/dawidstepien/jee/examples/SimpleDateFormatProducer.java.diff original: updated: import javax.enterprise.inject.Disposes...
78cb050afbd289324fea5323f39fef59d8dd13c7
cdi-injection/src/main/java/pl/dawidstepien/jee/examples/SimpleDateFormatProducer.java
cdi-injection/src/main/java/pl/dawidstepien/jee/examples/SimpleDateFormatProducer.java
Java
<|file_sep|>original/spec/main/program.js var test = require('test'); test.assert(require('dot-slash') === 10, 'main with "./"'); test.assert(require('js-ext') === 20, 'main with ".js" extension'); test.assert(require('no-ext') === 30, 'main with no extension'); test.assert(require('dot-js-ext') === 40, 'main with "."...
var test = require('test'); test.assert(require('dot-slash') === 10, 'main with "./"'); test.assert(require('js-ext') === 20, 'main with ".js" extension'); test.assert(require('no-ext') === 30, 'main with no extension'); test.assert(require('dot-js-ext') === 40, 'main with "." in module name and ".js" extension'); te...
<|file_sep|>original/spec/main/program.js var test = require('test'); test.assert(require('dot-slash') === 10, 'main with "./"'); test.assert(require('js-ext') === 20, 'main with ".js" extension'); test.assert(require('no-ext') === 30, 'main with no extension'); test.assert(require('dot-js-ext') === 40, 'main with "."...
9ab9b55982f39de1b9866ee9ba86e4bbd7d2050d
spec/main/program.js
spec/main/program.js
JavaScript
<|file_sep|>original/src/main/java/com/s24/redjob/worker/WrappingRunnable.java * Job runner. */ private final Object runner; /** * Constructor. * * @param runner * Job runner. */ public WrappingRunnable(Object runner) { this.runner = runner; } /** * Job ...
* Job runner. */ private final Object runner; /** * Constructor. * * @param runner * Job runner. */ public WrappingRunnable(Object runner) { this.runner = runner; } /** * Job runner. */ public <R> R unwrap() { return (R) runner; } }
<|file_sep|>original/src/main/java/com/s24/redjob/worker/WrappingRunnable.java * Job runner. */ private final Object runner; /** * Constructor. * * @param runner * Job runner. */ public WrappingRunnable(Object runner) { this.runner = runner; } /** * Job ...
d5c22fe1d8452064a68dfcd9638dae5db92b808d
src/main/java/com/s24/redjob/worker/WrappingRunnable.java
src/main/java/com/s24/redjob/worker/WrappingRunnable.java
Java
<|file_sep|>composer.json.diff original: "symfony/config": "~2.8|~3.0|~4.0", "symfony/intl": "^2.8.18|^3.2.5|~4.0", "symfony/yaml": "~3.3|~4.0", updated: "symfony/config": "~3.4|~4.0", "symfony/intl": "~3.4|~4.0", "symfony/yaml": "~3.4|~4.0", <|file_sep|>original/composer...
"php": "^7.1.3", "symfony/polyfill-mbstring": "~1.0" }, "require-dev": { "symfony/config": "~3.4|~4.0", "symfony/intl": "~3.4|~4.0", "symfony/yaml": "~3.4|~4.0", "psr/log": "~1.0" }, "conflict": { "symfony/config": "<3.4", "symfony/yaml": "...
<|file_sep|>composer.json.diff original: "symfony/config": "~2.8|~3.0|~4.0", "symfony/intl": "^2.8.18|^3.2.5|~4.0", "symfony/yaml": "~3.3|~4.0", updated: "symfony/config": "~3.4|~4.0", "symfony/intl": "~3.4|~4.0", "symfony/yaml": "~3.4|~4.0", <|file_sep|>original/composer...
be8b1d624e8635204afdba85a68f041f82cc5f48
composer.json
composer.json
JSON
<|file_sep|>.travis.yml.diff original: - env: TEST_TYPE=test-compile failsafe:integration-test updated: - env: TEST_TYPE=examples MVN_GOAL=failsafe:integration-test <|file_sep|>.travis.yml.diff original: - TEST_TYPE=test - TEST_TYPE=test-compile failsafe:integration-test updated: - TEST_TYPE=acceptance-te...
- env: TEST_TYPE=examples MVN_GOAL=failsafe:integration-test env: - TEST_TYPE=acceptance-test MVN_GOAL=test - TEST_TYPE=examples MVN_GOAL=failsafe:integration-test cache: directories: - $HOME/.m2 addons: sauce_connect: true language: java script: mvn -DseleniumGridUrl=http://$SAUCE_USERNAME:$SAUCE_ACC...
<|file_sep|>.travis.yml.diff original: - env: TEST_TYPE=test-compile failsafe:integration-test updated: - env: TEST_TYPE=examples MVN_GOAL=failsafe:integration-test <|file_sep|>.travis.yml.diff original: - TEST_TYPE=test - TEST_TYPE=test-compile failsafe:integration-test updated: - TEST_TYPE=acceptance-te...
b309f05b018992e1ae3e319c2a1de960d10b772a
.travis.yml
.travis.yml
YAML
<|file_sep|>original/app/views/components/poi-maps/partials/_img.html.haml :ruby src = "https://maps.googleapis.com/maps/api/staticmap" src+= "?size=#{properties[:width]}x#{properties[:height]}" src+= "&zoom=#{properties[:zoom]}&scale=#{properties[:scale]}" if properties[:marker] src+= "&markers=icon:#{CG...
src = "https://maps.googleapis.com/maps/api/staticmap" src+= "?size=#{properties[:width]}x#{properties[:height]}" src+= "&zoom=#{properties[:zoom]}&scale=#{properties[:scale]}" if properties[:marker] src+= "&markers=icon:#{CGI.escape(properties[:icon])}|#{properties[:latitude]},#{properties[:longitude]}" ...
<|file_sep|>original/app/views/components/poi-maps/partials/_img.html.haml :ruby src = "https://maps.googleapis.com/maps/api/staticmap" src+= "?size=#{properties[:width]}x#{properties[:height]}" src+= "&zoom=#{properties[:zoom]}&scale=#{properties[:scale]}" if properties[:marker] src+= "&markers=icon:#{CG...
ca3e6f0b440b52c08202d67f80ed14bc6de2a671
app/views/components/poi-maps/partials/_img.html.haml
app/views/components/poi-maps/partials/_img.html.haml
Haml
<|file_sep|>original/ansible/playbook.yml - name: Install dependencies become: true become_method: su become_user: root package: name={{ item }} state=latest with_items: - "{{ build_essential_package }}" - "{{ cmake_pa...
- "{{ golang_package }}" - "{{ mono_xbuild }}" - "{{ node_typescript_package }}" - "{{ npm_package }}" - "{{ python_dev_package }}" - "{{ python3_dev_package }}" - "{{ sudo_package }}" - "{{ t...
<|file_sep|>original/ansible/playbook.yml - name: Install dependencies become: true become_method: su become_user: root package: name={{ item }} state=latest with_items: - "{{ build_essential_package }}" - "{{ cmake_pa...
428258bef438865799fdb1946640d65a36855125
ansible/playbook.yml
ansible/playbook.yml
YAML
<|file_sep|>pyinfra_cli/__main__.py.diff original: updated: import gevent <|file_sep|>pyinfra_cli/__main__.py.diff original: # Handle ctrl+c def _signal_handler(signum, frame): print('Exiting upon user request!') updated: def _handle_interrupt(signum, frame): click.echo('Exiting upon user request!') <|file_se...
# Shut it click click.disable_unicode_literals_warning = True # noqa def _handle_interrupt(signum, frame): click.echo('Exiting upon user request!') sys.exit(0) gevent.signal(signal.SIGINT, gevent.kill) # kill any greenlets on ctrl+c signal.signal(signal.SIGINT, _handle_interrupt) # print the message an...
<|file_sep|>pyinfra_cli/__main__.py.diff original: updated: import gevent <|file_sep|>pyinfra_cli/__main__.py.diff original: # Handle ctrl+c def _signal_handler(signum, frame): print('Exiting upon user request!') updated: def _handle_interrupt(signum, frame): click.echo('Exiting upon user request!') <|file_se...
ce77cbeb6fcb71b49c669188b38e43fb75e4d729
pyinfra_cli/__main__.py
pyinfra_cli/__main__.py
Python
<|file_sep|>original/app/assets/stylesheets/organisations.css left: 30%; width: 200px; padding: 10px; background: #000; opacity: 0.8; color: #FFF; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; } .org_form { width: 95%; margin-bottom: 0 !important...
opacity: 0.8; color: #FFF; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; } .org_form { width: 95%; margin-bottom: 0 !important; } .org-info-msg-1 { color: rgba(0, 0, 0, 0.7); background-color: #E0FDEF; width:50%; border-radius:2em; text-align...
<|file_sep|>original/app/assets/stylesheets/organisations.css left: 30%; width: 200px; padding: 10px; background: #000; opacity: 0.8; color: #FFF; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; } .org_form { width: 95%; margin-bottom: 0 !important...
f32985b1d55fac0d101ebba2b848469cc8b82f6f
app/assets/stylesheets/organisations.css
app/assets/stylesheets/organisations.css
CSS
<|file_sep|>original/resources/scss/theme/layout/_push.scss &:hover { text-decoration: underline; } } } .dismiss { top: 0.5em; right: 1em; z-index: 10001; position: absolute; font-size: $font-size-lg; color: darken(...
text-decoration: underline; } } } .dismiss { top: 0.5em; right: 1em; z-index: 10001; position: absolute; font-size: $font-size-lg; color: darken($gray-lighter, 20%); } } body.pushing { #push { top: 0; p...
<|file_sep|>original/resources/scss/theme/layout/_push.scss &:hover { text-decoration: underline; } } } .dismiss { top: 0.5em; right: 1em; z-index: 10001; position: absolute; font-size: $font-size-lg; color: darken(...
6de96c93e1cba672a40c914fb09a45c363630e06
resources/scss/theme/layout/_push.scss
resources/scss/theme/layout/_push.scss
SCSS
<|file_sep|>original/requirements-dev.txt coverage==4.4.1 flake8==3.4.1 ipdb==0.10.2 ipython==6.1.0 pytest==3.2.4 pytest-cov==2.5.1 pytest-sugar==0.9.0 sphinx==1.6.4 sphinxcontrib-asyncio==0.2.0 sqlalchemy==1.1.14 <|file_sep|>current/requirements-dev.txt coverage==4.4.1 flake8==3.4.1 ipdb==0.10.2 ipython==6.1.0 pytest=...
coverage==4.4.1 flake8==3.4.1 ipdb==0.10.2 ipython==6.1.0 pytest==3.3.1 pytest-cov==2.5.1 pytest-sugar==0.9.0 sphinx==1.6.4 sphinxcontrib-asyncio==0.2.0 sqlalchemy==1.1.14
<|file_sep|>original/requirements-dev.txt coverage==4.4.1 flake8==3.4.1 ipdb==0.10.2 ipython==6.1.0 pytest==3.2.4 pytest-cov==2.5.1 pytest-sugar==0.9.0 sphinx==1.6.4 sphinxcontrib-asyncio==0.2.0 sqlalchemy==1.1.14 <|file_sep|>current/requirements-dev.txt coverage==4.4.1 flake8==3.4.1 ipdb==0.10.2 ipython==6.1.0 pytest=...
5289fdb6a6e993b6902e84a92ae04f9850a18cad
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>original/Package.json { "dependencies": [ { "repo": "https://gitorious.org/mcinglis/libtypes.git", "tag": "v2.*" }, { "repo": "https://gitorious.org/mcinglis/libmacro.git", "tag": "v1.*" }, { "repo": "https://gitorious.org/mcinglis/libbase.git", "t...
{ "dependencies": [ { "repo": "https://gitorious.org/mcinglis/libtypes.git", "tag": "v2.*" }, { "repo": "https://gitorious.org/mcinglis/libmacro.git", "tag": "v1.*" }, { "repo": "https://gitorious.org/mcinglis/libbase.git" } ], "commands": { "build": "ma...
<|file_sep|>original/Package.json { "dependencies": [ { "repo": "https://gitorious.org/mcinglis/libtypes.git", "tag": "v2.*" }, { "repo": "https://gitorious.org/mcinglis/libmacro.git", "tag": "v1.*" }, { "repo": "https://gitorious.org/mcinglis/libbase.git", "t...
91edfbbc149943bb323fb09434d730fd63a291cd
Package.json
Package.json
JSON
<|file_sep|>original/requirements/base.txt Django==2.2.7 six==1.13.0 sqlparse==0.3.0 # Whitenoise: Staticfile hosting whitenoise==4.1.4 django-npm==1.0.0 # Tagging # Taggit Helpers: TaggitCounter, TaggitListFilter # Taggit Templatetags: Template tags for tags - https://github.com/feuervogel/django-taggit-templatetags...
Django==3.0 six==1.13.0 sqlparse==0.3.0 # Whitenoise: Staticfile hosting whitenoise==4.1.4 django-npm==1.0.0 # Tagging # Taggit Helpers: TaggitCounter, TaggitListFilter # Taggit Templatetags: Template tags for tags - https://github.com/feuervogel/django-taggit-templatetags django-taggit==1.1.0 django-taggit-helpers==...
<|file_sep|>original/requirements/base.txt Django==2.2.7 six==1.13.0 sqlparse==0.3.0 # Whitenoise: Staticfile hosting whitenoise==4.1.4 django-npm==1.0.0 # Tagging # Taggit Helpers: TaggitCounter, TaggitListFilter # Taggit Templatetags: Template tags for tags - https://github.com/feuervogel/django-taggit-templatetags...
baba18e7822a798c16f55ce4a9169634a4059c93
requirements/base.txt
requirements/base.txt
Text
<|file_sep|>original/lib/troo/cli/thor_fixes.rb module Troo module CLI class ThorFixes < Thor # def self.exit_on_failure? # true # exit code is non-zero on error # end def self.banner(command, namespace = nil, subcommand = false) "#{basename} #{@package_name} #{command.usage}" ...
module Troo module CLI class ThorFixes < Thor # def self.exit_on_failure? # true # exit code is non-zero on error # end def self.banner(command, namespace = nil, subcommand = false) if subcommand "#{basename} #{@package_name} #{command.usage}" else "#{...
<|file_sep|>original/lib/troo/cli/thor_fixes.rb module Troo module CLI class ThorFixes < Thor # def self.exit_on_failure? # true # exit code is non-zero on error # end def self.banner(command, namespace = nil, subcommand = false) "#{basename} #{@package_name} #{command.usage}" ...
4347bdbdd6a0d12f67666d36e23042129c6e3969
lib/troo/cli/thor_fixes.rb
lib/troo/cli/thor_fixes.rb
Ruby
<|file_sep|>original/_posts/recept/2020-06-01-Geroosterde-bloemkool.md <|file_sep|>current/_posts/recept/2020-06-01-Geroosterde-bloemkool.md <|file_sep|>updated/_posts/recept/2020-06-01-Geroosterde-bloemkool.md
--- layout: single title: "Geroosterde bloemkool met curry" date: 2020-06-01 12:00:00 +0000 published: true categories: ["Recepten"] tags: ["Recept"] author: Tom Kerkhove --- # Ingrediënten Voor dit gerecht heb je volgende ingrediënten nodig: - 1 grote of 2 kleine bloemkool, gebroken in roosjes of roosjes in plakjes ...
<|file_sep|>original/_posts/recept/2020-06-01-Geroosterde-bloemkool.md <|file_sep|>current/_posts/recept/2020-06-01-Geroosterde-bloemkool.md <|file_sep|>updated/_posts/recept/2020-06-01-Geroosterde-bloemkool.md --- layout: single title: "Geroosterde bloemkool met curry" date: 2020-06-01 12:00:00 +0000 published: true...
d57a84772d2159bfae832cda4c78b3a41695027d
_posts/recept/2020-06-01-Geroosterde-bloemkool.md
_posts/recept/2020-06-01-Geroosterde-bloemkool.md
Markdown
<|file_sep|>code/pr_label_update.sh.diff original: DATA="{\"labels\": $LABELS}" curl -H "Authorization: token $BOT_TOKEN" -X PUT -d "$DATA" -f -s -S "https://api.github.com/repos/$TRAVIS_REPO_SLUG/issues/$TRAVIS_PULL_REQUEST/labels" updated: else LABELS="[]" <|file_sep|>original/code/pr_label_update.sh if [ -z "$LAB...
if [ -z "$LABEL_FILE" ]; then echo "Missing temp file location." exit 1 fi if [ -z "$TRAVIS_PULL_REQUEST_BRANCH" ]; then echo "Not a pull request." echo "Not running post-build step." exit 0 fi if [ -f "$LABEL_FILE" ]; then LABELS=$(head -c -1 $LABEL_FILE | jq -R -s -c 'split("\n")') else LABELS="[]" fi DATA=...
<|file_sep|>code/pr_label_update.sh.diff original: DATA="{\"labels\": $LABELS}" curl -H "Authorization: token $BOT_TOKEN" -X PUT -d "$DATA" -f -s -S "https://api.github.com/repos/$TRAVIS_REPO_SLUG/issues/$TRAVIS_PULL_REQUEST/labels" updated: else LABELS="[]" <|file_sep|>original/code/pr_label_update.sh if [ -z "$LAB...
3cc9caf2c1967a47fe1ec84c77dd080fee9b2733
code/pr_label_update.sh
code/pr_label_update.sh
Shell
<|file_sep|>src/lib/src/network/persistent-cookie-jar.h.diff original: updated: /** * Network cookie jar which loads and stores cookies on a persistent file on disk. */ <|file_sep|>src/lib/src/network/persistent-cookie-jar.h.diff original: updated: /** * Create a new persistent cookie jar. * @param filename...
bool insertCookies(const QList<QNetworkCookie> &cookies); QList<QNetworkCookie> cookiesForUrl(const QUrl &url) const override; bool setCookiesFromUrl(const QList<QNetworkCookie> &cookieList, const QUrl &url) override; protected: /** * Save the cookies to the file. */ void save(); /** * Load the...
<|file_sep|>src/lib/src/network/persistent-cookie-jar.h.diff original: updated: /** * Network cookie jar which loads and stores cookies on a persistent file on disk. */ <|file_sep|>src/lib/src/network/persistent-cookie-jar.h.diff original: updated: /** * Create a new persistent cookie jar. * @param filename...
7c0fe28d061b6316017683c31b2e027c2d2f017f
src/lib/src/network/persistent-cookie-jar.h
src/lib/src/network/persistent-cookie-jar.h
C
<|file_sep|>original/.travis.yml language: c compiler: clang before_install: - curl https://letsencrypt.org/certs/isrgrootx1.pem.txt | sudo tee /usr/share/ca-certificates/isrgrootx1.crt - echo "isrgrootx1.crt" | sudo tee -a /etc/ca-certificates.conf - sudo update-ca-certificates - curl https://raw.githubusercontent.com...
language: c compiler: clang before_install: - curl https://letsencrypt.org/certs/isrgrootx1.pem.txt | sudo tee /usr/share/ca-certificates/isrgrootx1.crt - echo "isrgrootx1.crt" | sudo tee -a /etc/ca-certificates.conf - curl https://letsencrypt.org/certs/lets-encrypt-x3-cross-signed.pem.txt | sudo tee /usr/share/ca-cert...
<|file_sep|>original/.travis.yml language: c compiler: clang before_install: - curl https://letsencrypt.org/certs/isrgrootx1.pem.txt | sudo tee /usr/share/ca-certificates/isrgrootx1.crt - echo "isrgrootx1.crt" | sudo tee -a /etc/ca-certificates.conf - sudo update-ca-certificates - curl https://raw.githubusercontent.com...
d77c744d25970eced22bf3f79061dd01d0d24c44
.travis.yml
.travis.yml
YAML
<|file_sep|>original/lib/brain/backup_schedule.go package brain import ( "github.com/BytemarkHosting/bytemark-client/lib/prettyprint" "io" ) // BackupSchedule represents a schedule to take backups on. It is represented as a start date in YYYY-MM-DD hh:mm:ss format (and assuming UK timezones of some kind.) type Back...
package brain import ( "github.com/BytemarkHosting/bytemark-client/lib/prettyprint" "io" ) // BackupSchedule represents a schedule to take backups on. It is represented as a start date in YYYY-MM-DD hh:mm:ss format (and assuming UK timezones of some kind.) type BackupSchedule struct { StartDate string `json:"start...
<|file_sep|>original/lib/brain/backup_schedule.go package brain import ( "github.com/BytemarkHosting/bytemark-client/lib/prettyprint" "io" ) // BackupSchedule represents a schedule to take backups on. It is represented as a start date in YYYY-MM-DD hh:mm:ss format (and assuming UK timezones of some kind.) type Back...
c2125148de79fc205f46f14712ea693e5217abf2
lib/brain/backup_schedule.go
lib/brain/backup_schedule.go
Go
<|file_sep|>original/.travis.yml language: python python: - "2.6" - "2.7" jdk: - openjdk6 - openjdk7 script: "python --version && ./build-support/python/clean.sh && java -version && ./pants goal clean-all test tests/{java,scala}/com/twitter/common:: --no-ng-daemons -vx && ./pants tests/python/twitter/common:...
language: python python: - "2.6" - "2.7" jdk: - openjdk6 - openjdk7 script: | ./build-support/python/clean.sh \ && PANTS_VERBOSE=1 PEX_VERBOSE=1 PYTHON_VERBOSE=1 ./pants \ && java -version \ && ./pants goal clean-all test tests/{java,scala}/com/twitter/common:: --no-ng-daemons -vx \ && ./pants test...
<|file_sep|>original/.travis.yml language: python python: - "2.6" - "2.7" jdk: - openjdk6 - openjdk7 script: "python --version && ./build-support/python/clean.sh && java -version && ./pants goal clean-all test tests/{java,scala}/com/twitter/common:: --no-ng-daemons -vx && ./pants tests/python/twitter/common:...
12db5fdb42f1320fac2591e6f18e1a272020e13a
.travis.yml
.travis.yml
YAML
<|file_sep|>original/ios-ntp.podspec Pod::Spec.new do |s| s.name = 'ios-ntp' s.version = '1.0.0' s.summary = 'SNTP implementation for iOS.' s.homepage = 'https://github.com/jbenet/ios-ntp' s.license = { :type => 'MIT', :file => 'LICENSE' } s.source = { :git => 'https://githu...
Pod::Spec.new do |s| s.name = 'ios-ntp' s.version = '1.0.0' s.summary = 'SNTP implementation for iOS.' s.homepage = 'https://github.com/jbenet/ios-ntp' s.license = { :type => 'MIT', :file => 'LICENSE' } s.source = { :git => 'https://github.com/jbenet/ios-ntp.git', :tag => '1...
<|file_sep|>original/ios-ntp.podspec Pod::Spec.new do |s| s.name = 'ios-ntp' s.version = '1.0.0' s.summary = 'SNTP implementation for iOS.' s.homepage = 'https://github.com/jbenet/ios-ntp' s.license = { :type => 'MIT', :file => 'LICENSE' } s.source = { :git => 'https://githu...
0f0f78c5977cfb0fc40eb3025bc4d2687bdace7e
ios-ntp.podspec
ios-ntp.podspec
Ruby
<|file_sep|>linux_app/sbsa-acs-app.bb.diff original: https://raw.githubusercontent.com/ARM-software/sbsa-acs/master/val/include/sbsa_avs_common.h \ updated: file://include/sbsa_avs_common.h \ <|file_sep|>linux_app/sbsa-acs-app.bb.diff original: SRC_URI[md5sum] = "67ac822ba7b3a74c355c81663d8c7f21" ...
LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" SRC_URI = "file://sbsa_app_main.c \ file://sbsa_app_pcie.c \ file://sbsa_drv_intf.c \ file://include/sbsa_drv_intf.h \ file://include/sbsa_app.h \ ...
<|file_sep|>linux_app/sbsa-acs-app.bb.diff original: https://raw.githubusercontent.com/ARM-software/sbsa-acs/master/val/include/sbsa_avs_common.h \ updated: file://include/sbsa_avs_common.h \ <|file_sep|>linux_app/sbsa-acs-app.bb.diff original: SRC_URI[md5sum] = "67ac822ba7b3a74c355c81663d8c7f21" ...
ab13fa223b7ecf373233fba7f17745df3b451b55
linux_app/sbsa-acs-app.bb
linux_app/sbsa-acs-app.bb
BitBake
<|file_sep|>original/Library/Formula/oxygen-icons.rb <|file_sep|>current/Library/Formula/oxygen-icons.rb <|file_sep|>updated/Library/Formula/oxygen-icons.rb
require 'formula' class OxygenIcons <Formula url 'ftp://ftp.kde.org/pub/kde/stable/4.4.0/src/oxygen-icons-4.4.0.tar.bz2' homepage 'http://www.oxygen-icons.org/' md5 'fbcd429cc822cb88a815d97a4e66be4d' depends_on 'cmake' def install system "cmake . #{std_cmake_parameters}" system "make install" end...
<|file_sep|>original/Library/Formula/oxygen-icons.rb <|file_sep|>current/Library/Formula/oxygen-icons.rb <|file_sep|>updated/Library/Formula/oxygen-icons.rb require 'formula' class OxygenIcons <Formula url 'ftp://ftp.kde.org/pub/kde/stable/4.4.0/src/oxygen-icons-4.4.0.tar.bz2' homepage 'http://www.oxygen-icons.o...
ad297ae347405404d37b28c38c21d969a743af23
Library/Formula/oxygen-icons.rb
Library/Formula/oxygen-icons.rb
Ruby
<|file_sep|>packages/sy/synthesizer-filter.yaml.diff original: hash: c51fe3de6b0dc92da67dda89ad6080f42bbfd38fc9cf3212eaaaef5810602bbe updated: hash: c0acf29b60df6866f2b107ca1ed8b75fa4d5cb6592795df9321251fabe8f539a <|file_sep|>packages/sy/synthesizer-filter.yaml.diff original: synthesizer-core: ! '>=0.4 && <0.8' tra...
base: ! '>=3 && <5' numeric-quest: ! '>=0.1 && <0.3' utility-ht: ! '>=0.0.5 && <0.1' containers: ! '>=0.1 && <0.6' synthesizer-core: ! '>=0.4 && <0.9' transformers: ! '>=0.2 && <0.6' numeric-prelude: ! '>=0.2 && <0.5' all-versions: - '0.4' - '0.4.0.1' - '0.4.0.2' - '0.4.1' author: Henning Thielemann <hask...
<|file_sep|>packages/sy/synthesizer-filter.yaml.diff original: hash: c51fe3de6b0dc92da67dda89ad6080f42bbfd38fc9cf3212eaaaef5810602bbe updated: hash: c0acf29b60df6866f2b107ca1ed8b75fa4d5cb6592795df9321251fabe8f539a <|file_sep|>packages/sy/synthesizer-filter.yaml.diff original: synthesizer-core: ! '>=0.4 && <0.8' tra...
0da7c07d1c4bb11c7f982af22ff72fadd5d2d6ea
packages/sy/synthesizer-filter.yaml
packages/sy/synthesizer-filter.yaml
YAML
<|file_sep|>original/.vscode/tasks.json <|file_sep|>current/.vscode/tasks.json <|file_sep|>updated/.vscode/tasks.json
{ // See https://go.microsoft.com/fwlink/?LinkId=733558 // for the documentation about the tasks.json format "version": "0.1.0", "command": "tsc", "isShellCommand": true, "args": ["-p", "."], "showOutput": "silent", "problemMatcher": "$tsc" }
<|file_sep|>original/.vscode/tasks.json <|file_sep|>current/.vscode/tasks.json <|file_sep|>updated/.vscode/tasks.json { // See https://go.microsoft.com/fwlink/?LinkId=733558 // for the documentation about the tasks.json format "version": "0.1.0", "command": "tsc", "isShellCommand": true, "args...
904dfeea740aef8f747cbde8796eb6ddfb5413bc
.vscode/tasks.json
.vscode/tasks.json
JSON
<|file_sep|>original/src/modules/provider/configs/init_api.js const providerApi = { onStory(cb) { providerApi._onStoryCallback = cb; }, addAction: actions.api.addAction, setStories: actions.api.setStories, selectStory: actions.api.selectStory, handleShortcut: actions.shortcuts.handleEve...
onStory(cb) { providerApi._onStoryCallback = cb; }, addAction: actions.api.addAction, setStories: actions.api.setStories, selectStory: actions.api.selectStory, handleShortcut: actions.shortcuts.handleEvent, }; provider.handleAPI(providerApi); // subscribe to redux store and trigge...
<|file_sep|>original/src/modules/provider/configs/init_api.js const providerApi = { onStory(cb) { providerApi._onStoryCallback = cb; }, addAction: actions.api.addAction, setStories: actions.api.setStories, selectStory: actions.api.selectStory, handleShortcut: actions.shortcuts.handleEve...
ba4f532801e29b0b782c25f06cb8e21880467d6c
src/modules/provider/configs/init_api.js
src/modules/provider/configs/init_api.js
JavaScript
<|file_sep|>original/examples/actors/remote-target-check-group-v2/_actor.yaml <|file_sep|>current/examples/actors/remote-target-check-group-v2/_actor.yaml <|file_sep|>updated/examples/actors/remote-target-check-group-v2/_actor.yaml
inputs: - name: check_target_service_status type: name: BaseTypeBool - name: target_host type: name: BaseTypeString - name: target_user_name type: name: BaseTypeString outputs: - name: rsyncinfo type: name: RSyncInfo - name: dockerinfo type: name: DockerInfo - name: containerslist type: ...
<|file_sep|>original/examples/actors/remote-target-check-group-v2/_actor.yaml <|file_sep|>current/examples/actors/remote-target-check-group-v2/_actor.yaml <|file_sep|>updated/examples/actors/remote-target-check-group-v2/_actor.yaml inputs: - name: check_target_service_status type: name: BaseTypeBool - name: tar...
f826e20e82d963f957d0b91cedd9f04ba3f8e7dd
examples/actors/remote-target-check-group-v2/_actor.yaml
examples/actors/remote-target-check-group-v2/_actor.yaml
YAML
<|file_sep|>original/.travis.yml language: python python: - "2.7" - "3.4" - "3.5" - "3.6" before_install: - wget -qO - https://bintray.com/user/downloadSubjectPublicKey?username=bintray | sudo apt-key add - - echo "deb http://dl.bintray.com/siegfried/debian wheezy main" | sudo tee -a /etc/apt/sources.list ...
language: python python: - "2.7" - "3.4" - "3.5" - "3.6" before_install: - wget -qO - https://bintray.com/user/downloadSubjectPublicKey?username=bintray | sudo apt-key add - - echo "deb http://dl.bintray.com/siegfried/debian wheezy main" | sudo tee -a /etc/apt/sources.list - sudo apt-get update && sudo ap...
<|file_sep|>original/.travis.yml language: python python: - "2.7" - "3.4" - "3.5" - "3.6" before_install: - wget -qO - https://bintray.com/user/downloadSubjectPublicKey?username=bintray | sudo apt-key add - - echo "deb http://dl.bintray.com/siegfried/debian wheezy main" | sudo tee -a /etc/apt/sources.list ...
eb6cbc023017eea86a4132fe0554cdacabf115c4
.travis.yml
.travis.yml
YAML
<|file_sep|>original/requirements_dev.txt pip==10.0.1 bumpversion==0.5.3 wheel==0.31.1 watchdog==0.8.3 flake8==3.5.0 tox==3.1.1 coverage==4.1 Sphinx==1.4.8 cryptography==1.7 PyYAML==3.11 pytest==2.9.2 click==6.7 <|file_sep|>current/requirements_dev.txt pip==10.0.1 bumpversion==0.5.3 wheel==0.31.1 watchdog==0.8.3 flake8...
pip==10.0.1 bumpversion==0.5.3 wheel==0.31.1 watchdog==0.8.3 flake8==3.5.0 tox==3.1.1 coverage==4.5.1 Sphinx==1.4.8 cryptography==1.7 PyYAML==3.11 pytest==2.9.2 click==6.7
<|file_sep|>original/requirements_dev.txt pip==10.0.1 bumpversion==0.5.3 wheel==0.31.1 watchdog==0.8.3 flake8==3.5.0 tox==3.1.1 coverage==4.1 Sphinx==1.4.8 cryptography==1.7 PyYAML==3.11 pytest==2.9.2 click==6.7 <|file_sep|>current/requirements_dev.txt pip==10.0.1 bumpversion==0.5.3 wheel==0.31.1 watchdog==0.8.3 flake8...
f9ff5e7233125215777675ed246d2e51b909c81a
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>app/jsx/Department/DepartmentFilterBox.js.diff original: { // Hack: trick Babel/TypeScript into allowing this before super. if (false) { super(); } let thisFn = (() => { return this; }).toString(); let thisName = thisFn.match(/_this\d*/)[0]; eval(`${thisName} = this;`); ...
label: filter => filter.get('label'), selected: model.get('filter').get('id') }) this.model = model // add a router tied to the model this.router = new DepartmentRouter(this.model) // connect combobox to model this.on('change', this.push) this.model.on('change:filter', this.pu...
<|file_sep|>app/jsx/Department/DepartmentFilterBox.js.diff original: { // Hack: trick Babel/TypeScript into allowing this before super. if (false) { super(); } let thisFn = (() => { return this; }).toString(); let thisName = thisFn.match(/_this\d*/)[0]; eval(`${thisName} = this;`); ...
cde20171dae65a724d4acb96dd927778a68f88b6
app/jsx/Department/DepartmentFilterBox.js
app/jsx/Department/DepartmentFilterBox.js
JavaScript
<|file_sep|>api/files.php.diff original: updated: $result['files'][]['path'] = str_replace("../", "", $dir) . $file; <|file_sep|>original/api/files.php // reads files from specified path and returns them as an json-array // takes one argument from GET variables, does not work without it // the argument shoul...
// reads files from specified path and returns them as an json-array // takes one argument from GET variables, does not work without it // the argument should come from http call to directories.php header("Content-Type: application/json"); if(isset($_GET['dir']) && $_GET['dir'] != ""){ $directory = urldecode($_GET['...
<|file_sep|>api/files.php.diff original: updated: $result['files'][]['path'] = str_replace("../", "", $dir) . $file; <|file_sep|>original/api/files.php // reads files from specified path and returns them as an json-array // takes one argument from GET variables, does not work without it // the argument shoul...
8f4ddb5ea3121a33db8c991aa4e950f81e31a547
api/files.php
api/files.php
PHP
<|file_sep|>original/_config.yml style: compressed name: "Jimmy Thompson - Software Developer" description: "The personal website and blog of Jimmy Thompson, a software developer based in London" gravatar: //www.gravatar.com/avatar/73083e7e6bda1576bf6ea9e5be037c78 twitter: jimmythompson github: jimmythompson medium...
name: "Jimmy Thompson - Software Developer" description: "The personal website and blog of Jimmy Thompson, a software developer based in London" gravatar: //www.gravatar.com/avatar/73083e7e6bda1576bf6ea9e5be037c78 twitter: jimmythompson github: jimmythompson medium: jimmythompson facebook: JimmyThompsonUK email: jimm...
<|file_sep|>original/_config.yml style: compressed name: "Jimmy Thompson - Software Developer" description: "The personal website and blog of Jimmy Thompson, a software developer based in London" gravatar: //www.gravatar.com/avatar/73083e7e6bda1576bf6ea9e5be037c78 twitter: jimmythompson github: jimmythompson medium...
73889ba17316d22ba12ddda45b0478941945e5f7
_config.yml
_config.yml
YAML
<|file_sep|>original/react-native-instabug-sdk.podspec require "json" json = File.read(File.join(__dir__, "package.json")) package = JSON.parse(json).deep_symbolize_keys Pod::Spec.new do |s| s.name = package[:name] s.version = package[:version] s.license = { type: "MIT" } s.homepage = package[:homepage] s.a...
require "json" json = File.read(File.join(__dir__, "package.json")) package = JSON.parse(json).deep_symbolize_keys Pod::Spec.new do |s| s.name = package[:name] s.version = package[:version] s.license = { type: "MIT" } s.homepage = package[:homepage] s.authors = package[:contributors].flat_map { |author| { a...
<|file_sep|>original/react-native-instabug-sdk.podspec require "json" json = File.read(File.join(__dir__, "package.json")) package = JSON.parse(json).deep_symbolize_keys Pod::Spec.new do |s| s.name = package[:name] s.version = package[:version] s.license = { type: "MIT" } s.homepage = package[:homepage] s.a...
c9093da8946d794e0e9bb5dad22621260ea59a1d
react-native-instabug-sdk.podspec
react-native-instabug-sdk.podspec
Ruby
<|file_sep|>original/travis.yml <|file_sep|>current/travis.yml <|file_sep|>updated/travis.yml
language: python python: 2.7 env: - TOX_ENV= virtualenv: system_site_packages: true install: - pip install -U tox coveralls script: - tox - coveralls --rcfile=.coveragerc
<|file_sep|>original/travis.yml <|file_sep|>current/travis.yml <|file_sep|>updated/travis.yml language: python python: 2.7 env: - TOX_ENV= virtualenv: system_site_packages: true install: - pip install -U tox coveralls script: - tox - coveralls --rcfile=.coveragerc
34c534f950e74bcae2997646e87644984a907eba
travis.yml
travis.yml
YAML
<|file_sep|>original/views/_form.erb <% board.pins.each do |pin| %> <div class="box"> <div class="boxInner"> <form method="POST" action="/<%= pin.id %>"> <input name="value" value="<%= pin.value %>" type="hidden"/> <button type="submit" value="Setzen" class="button <%= 0 == pin.value ? 'gray' : 'b...
<% board.pins.each do |pin| %> <div class="box"> <div class="boxInner"> <form method="POST" action="/<%= pin.id %>"> <input name="value" value="<%= 0 == pin.value ? '1' : '0' %>" type="hidden"/> <button type="submit" value="Setzen" class="button <%= 0 == pin.value ? 'blue' : 'gray' %>"> <d...
<|file_sep|>original/views/_form.erb <% board.pins.each do |pin| %> <div class="box"> <div class="boxInner"> <form method="POST" action="/<%= pin.id %>"> <input name="value" value="<%= pin.value %>" type="hidden"/> <button type="submit" value="Setzen" class="button <%= 0 == pin.value ? 'gray' : 'b...
16c9418abf7fe1a037a64bdc7a0733b0125b5c96
views/_form.erb
views/_form.erb
HTML+ERB
<|file_sep|>original/.travis.yml language: node_js node_js: - "4" - "5" - "stable" sudo: false script: "gulp coverage" after_success: - npm install -g codeclimate-test-reporter - codeclimate-test-reporter < coverage/lcov.info <|file_sep|>current/.travis.yml language: node_js node_js: - "4" - "5" - "stab...
language: node_js node_js: - "6" - "7" sudo: false script: "gulp coverage" after_success: - npm install -g codeclimate-test-reporter - codeclimate-test-reporter < coverage/lcov.info
<|file_sep|>original/.travis.yml language: node_js node_js: - "4" - "5" - "stable" sudo: false script: "gulp coverage" after_success: - npm install -g codeclimate-test-reporter - codeclimate-test-reporter < coverage/lcov.info <|file_sep|>current/.travis.yml language: node_js node_js: - "4" - "5" - "stab...
9e34c0754504359b14ed99919804fe1a41e0d7bd
.travis.yml
.travis.yml
YAML
<|file_sep|>original/requirements/local.txt # Local development dependencies go here -r base.txt -r test.txt # Documentation sphinx==1.6.5 sphinx-rtd-theme==0.2.4 # Debugging Tools django-debug-toolbar==1.9.1 django-extensions==1.9.8 <|file_sep|>current/requirements/local.txt # Local development dependencies go here ...
# Local development dependencies go here -r base.txt -r test.txt # Documentation sphinx==1.6.6 sphinx-rtd-theme==0.2.4 # Debugging Tools django-debug-toolbar==1.9.1 django-extensions==1.9.8
<|file_sep|>original/requirements/local.txt # Local development dependencies go here -r base.txt -r test.txt # Documentation sphinx==1.6.5 sphinx-rtd-theme==0.2.4 # Debugging Tools django-debug-toolbar==1.9.1 django-extensions==1.9.8 <|file_sep|>current/requirements/local.txt # Local development dependencies go here ...
fb0eb9aa3fb2f34d9329fc17bb34d53afef027d3
requirements/local.txt
requirements/local.txt
Text
<|file_sep|>original/test/CodeGen/X86/pic_jumptable.ll <|file_sep|>current/test/CodeGen/X86/pic_jumptable.ll <|file_sep|>updated/test/CodeGen/X86/pic_jumptable.ll
; RUN: llvm-as < %s | llc -relocation-model=pic -march=x86 | not grep -F .text target endian = little target pointersize = 32 target triple = "i386-linux-gnu" implementation ; Functions: declare void %_Z3bari( int ) linkonce void %_Z3fooILi1EEvi(int %Y) { entry: %Y_addr = alloca int ; <int*> [#uses=2] "alloca ...
<|file_sep|>original/test/CodeGen/X86/pic_jumptable.ll <|file_sep|>current/test/CodeGen/X86/pic_jumptable.ll <|file_sep|>updated/test/CodeGen/X86/pic_jumptable.ll ; RUN: llvm-as < %s | llc -relocation-model=pic -march=x86 | not grep -F .text target endian = little target pointersize = 32 target triple = "i386-linux-g...
460b8bd15457469ecd62b581a275d2101648d0fb
test/CodeGen/X86/pic_jumptable.ll
test/CodeGen/X86/pic_jumptable.ll
LLVM
<|file_sep|>original/package.json { "name": "armstrong.core.arm_access", "version": "1.0.6alpha.0", "description": "Code for having different access levels for content", "install_requires": [ "Django==1.3.1" ] } <|file_sep|>current/package.json { "name": "armstrong.core.arm_access", ...
{ "name": "armstrong.core.arm_access", "version": "1.0.6alpha.0", "description": "Code for having different access levels for content", "install_requires": [ "Django==1.3.1,==1.4" ] }
<|file_sep|>original/package.json { "name": "armstrong.core.arm_access", "version": "1.0.6alpha.0", "description": "Code for having different access levels for content", "install_requires": [ "Django==1.3.1" ] } <|file_sep|>current/package.json { "name": "armstrong.core.arm_access", ...
1da267c03e9b48548df1f2d0da39d57e84bf2fc2
package.json
package.json
JSON
<|file_sep|>original/generate/templates/manual/include/callback_wrapper.h jsCallback = callback; this->throttle = throttle; } bool WillBeThrottled() { if(!throttle) { return false; } // throttle if needed uint64_t now = uv_hrtime(); if(lastCallTime > 0 && now < lastCallTime + thro...
jsCallback = callback; this->throttle = throttle; } bool WillBeThrottled() { if(!throttle) { return false; } // throttle if needed uint64_t now = uv_hrtime(); if(lastCallTime > 0 && now < lastCallTime + throttle * (uint64_t)1000000) { // throttled return true; } el...
<|file_sep|>original/generate/templates/manual/include/callback_wrapper.h jsCallback = callback; this->throttle = throttle; } bool WillBeThrottled() { if(!throttle) { return false; } // throttle if needed uint64_t now = uv_hrtime(); if(lastCallTime > 0 && now < lastCallTime + thro...
c018da163f50acc6add9df3d74905ec150ce8573
generate/templates/manual/include/callback_wrapper.h
generate/templates/manual/include/callback_wrapper.h
C
<|file_sep|>original/osu.Game/Beatmaps/Beatmap.cs int point = 0; int samplePoint = 0; for (int i = 0; i < ControlPoints.Count; i++) if (ControlPoints[i].Time <= time) { if (ControlPoints[i].TimingChange) poi...
int point = 0; int samplePoint = 0; for (int i = 0; i < ControlPoints.Count; i++) if (ControlPoints[i].Time <= time) { if (ControlPoints[i].TimingChange) point = i; else ...
<|file_sep|>original/osu.Game/Beatmaps/Beatmap.cs int point = 0; int samplePoint = 0; for (int i = 0; i < ControlPoints.Count; i++) if (ControlPoints[i].Time <= time) { if (ControlPoints[i].TimingChange) poi...
a0131b8b25a739de25dac928ec76715597ec8e36
osu.Game/Beatmaps/Beatmap.cs
osu.Game/Beatmaps/Beatmap.cs
C#
<|file_sep|>original/src/JK/RestServer/Language.php <|file_sep|>current/src/JK/RestServer/Language.php <|file_sep|>updated/src/JK/RestServer/Language.php
<?php /** * @project RestServer * @author Jens Kohl <jens.kohl@milchundzucker.de> * @since 2014-07-31 13:17 */ namespace JK\RestServer; /** * Class Language * Should represent the parsed Accept-Language * * Probably will change in the future * * @package JK\RestServer */ class Language extends \SplEnum { ...
<|file_sep|>original/src/JK/RestServer/Language.php <|file_sep|>current/src/JK/RestServer/Language.php <|file_sep|>updated/src/JK/RestServer/Language.php <?php /** * @project RestServer * @author Jens Kohl <jens.kohl@milchundzucker.de> * @since 2014-07-31 13:17 */ namespace JK\RestServer; /** * Class Language ...
66df4caeeb8eaffb003b22e86d8e8ea022252074
src/JK/RestServer/Language.php
src/JK/RestServer/Language.php
PHP
<|file_sep|>.travis.yml.diff original: updated: - "RAILS_VERSION=master" <|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 - rbx-19mode - jruby-19mode - ruby-head env: - "RAILS_VERSION=3.2" - "RAILS_VERSION=3.1" - "RAILS_VERSION=3.0" matrix: allow_failures: - rvm: ruby-head <|file_sep|...
language: ruby rvm: - 1.9.3 - rbx-19mode - jruby-19mode - ruby-head env: - "RAILS_VERSION=3.2" - "RAILS_VERSION=3.1" - "RAILS_VERSION=3.0" - "RAILS_VERSION=master" matrix: allow_failures: - rvm: ruby-head - env: "RAILS_VERSION=master"
<|file_sep|>.travis.yml.diff original: updated: - "RAILS_VERSION=master" <|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 - rbx-19mode - jruby-19mode - ruby-head env: - "RAILS_VERSION=3.2" - "RAILS_VERSION=3.1" - "RAILS_VERSION=3.0" matrix: allow_failures: - rvm: ruby-head <|file_sep|...
0da4f273cf0f7b993a0232b6cfc066b0646dd85e
.travis.yml
.travis.yml
YAML
<|file_sep|>original/composer.json "description": "Tag any entity in your Symfony2 project.", "homepage": "http://github.com/fogs/tagging-bundle", "license": "MIT", "type": "library", "autoload": { "psr-0": { "Fogs\\TaggingBundle": "" } }, "require": { "ph...
"description": "Tag any entity in your Symfony2 project.", "homepage": "http://github.com/fogs/tagging-bundle", "license": "MIT", "type": "library", "autoload": { "psr-0": { "Fogs\\TaggingBundle": "" } }, "require": { "php": ">=5.4", "fpn/tag-bundl...
<|file_sep|>original/composer.json "description": "Tag any entity in your Symfony2 project.", "homepage": "http://github.com/fogs/tagging-bundle", "license": "MIT", "type": "library", "autoload": { "psr-0": { "Fogs\\TaggingBundle": "" } }, "require": { "ph...
a8956de83bc96d3b820e7573efa66f071473dd5b
composer.json
composer.json
JSON
<|file_sep|>original/requirements.txt docker==2.5.0 molecule==1.25.0 pytest==3.2.0 python-vagrant==0.5.15 testinfra==1.6.5 tox==2.7.0 <|file_sep|>current/requirements.txt docker==2.5.0 molecule==1.25.0 pytest==3.2.0 python-vagrant==0.5.15 testinfra==1.6.5 tox==2.7.0 <|file_sep|>updated/requirements.txt
docker==2.5.0 molecule==1.25.0 pytest==3.2.1 python-vagrant==0.5.15 testinfra==1.6.5 tox==2.7.0
<|file_sep|>original/requirements.txt docker==2.5.0 molecule==1.25.0 pytest==3.2.0 python-vagrant==0.5.15 testinfra==1.6.5 tox==2.7.0 <|file_sep|>current/requirements.txt docker==2.5.0 molecule==1.25.0 pytest==3.2.0 python-vagrant==0.5.15 testinfra==1.6.5 tox==2.7.0 <|file_sep|>updated/requirements.txt docker==2.5.0 mo...
a258cf244ee84e05bc6f3fe81ea9109f78b6e95b
requirements.txt
requirements.txt
Text
<|file_sep|>.kitchen.dokken.yml.diff original: image: dokken/debian-9 updated: # Need a custom Stretch image as dokken one contains extra packages and then we hit https://github.com/chef-cookbooks/apt/issues/234 image: debian:9 <|file_sep|>original/.kitchen.dokken.yml - name: debian-8 driver: image: d...
- name: debian-8 driver: image: dokken/debian-8 pid_one_command: /bin/systemd - name: debian-9 driver: # Need a custom Stretch image as dokken one contains extra packages and then we hit https://github.com/chef-cookbooks/apt/issues/234 image: debian:9 pid_one_command: /bin/systemd intermedi...
<|file_sep|>.kitchen.dokken.yml.diff original: image: dokken/debian-9 updated: # Need a custom Stretch image as dokken one contains extra packages and then we hit https://github.com/chef-cookbooks/apt/issues/234 image: debian:9 <|file_sep|>original/.kitchen.dokken.yml - name: debian-8 driver: image: d...
77e3db9b379897222a7f73cef4f4639861e43da0
.kitchen.dokken.yml
.kitchen.dokken.yml
YAML
<|file_sep|>original/android/versioned-react-native/gradle/wrapper/gradle-wrapper.properties #Sat Sep 16 17:38:34 PDT 2017 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-6.2-all.z...
#Sat Sep 16 17:38:34 PDT 2017 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-6.8-all.zip
<|file_sep|>original/android/versioned-react-native/gradle/wrapper/gradle-wrapper.properties #Sat Sep 16 17:38:34 PDT 2017 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-6.2-all.z...
2749776c028a5e219fab8cfd4140f4a5b7105b77
android/versioned-react-native/gradle/wrapper/gradle-wrapper.properties
android/versioned-react-native/gradle/wrapper/gradle-wrapper.properties
INI
<|file_sep|>original/data/transition-sites/nda_magnox.yml <|file_sep|>current/data/transition-sites/nda_magnox.yml <|file_sep|>updated/data/transition-sites/nda_magnox.yml
--- site: nda_magnox whitehall_slug: magnox-ltd homepage: https://www.gov.uk/government/organisations/magnox-ltd tna_timestamp: 20171011143403 host: magnoxsites.com aliases: - www.magnoxsites.com
<|file_sep|>original/data/transition-sites/nda_magnox.yml <|file_sep|>current/data/transition-sites/nda_magnox.yml <|file_sep|>updated/data/transition-sites/nda_magnox.yml --- site: nda_magnox whitehall_slug: magnox-ltd homepage: https://www.gov.uk/government/organisations/magnox-ltd tna_timestamp: 20171011143403 hos...
39b936fd4942a32de5a7330906974b833ac84be1
data/transition-sites/nda_magnox.yml
data/transition-sites/nda_magnox.yml
YAML
<|file_sep|>original/src/Console/Commands/PublishCommand.php use Illuminate\Console\Command; class PublishCommand extends Command { /** * The name and signature of the console command. * * @var string */ protected $signature = 'rinvex:publish:auth {--force : Overwrite any existing files.} ...
use Illuminate\Console\Command; class PublishCommand extends Command { /** * The name and signature of the console command. * * @var string */ protected $signature = 'rinvex:publish:auth {--f|force : Overwrite any existing files.} {--r|resource=all}'; /** * The console command de...
<|file_sep|>original/src/Console/Commands/PublishCommand.php use Illuminate\Console\Command; class PublishCommand extends Command { /** * The name and signature of the console command. * * @var string */ protected $signature = 'rinvex:publish:auth {--force : Overwrite any existing files.} ...
faabfc4bd22b6e536ee8601e3577d101090e0a84
src/Console/Commands/PublishCommand.php
src/Console/Commands/PublishCommand.php
PHP
<|file_sep|>original/lib/rspec/rails/matchers/relation_match_array.rb if defined?(ActiveRecord::Relation) RSpec::Matchers::OperatorMatcher.register(ActiveRecord::Relation, '=~', RSpec::Matchers::BuiltIn::MatchArray) module RSpec module Rails module RelationOperationMatcherHook def inherited(subcl...
if defined?(ActiveRecord::Relation) RSpec::Matchers::OperatorMatcher.register(ActiveRecord::Relation, '=~', RSpec::Matchers::BuiltIn::MatchArray) end
<|file_sep|>original/lib/rspec/rails/matchers/relation_match_array.rb if defined?(ActiveRecord::Relation) RSpec::Matchers::OperatorMatcher.register(ActiveRecord::Relation, '=~', RSpec::Matchers::BuiltIn::MatchArray) module RSpec module Rails module RelationOperationMatcherHook def inherited(subcl...
03b069fe5c2a278500d150e688695a77b3075180
lib/rspec/rails/matchers/relation_match_array.rb
lib/rspec/rails/matchers/relation_match_array.rb
Ruby
<|file_sep|>original/test/tagName.test.js const it = createTest(<Fixture />) describe('#tagName', () => { describe('(tagName)', () => { it('passes when the actual matches the expected', (wrapper) => { expect(wrapper).to.have.tagName('div') expect(wrapper.find('span')).to.have.tagName('span') }) ...
const it = createTest(<Fixture />) describe('#tagName', () => { describe('(tagName)', () => { it('passes when the actual matches the expected', (wrapper) => { expect(wrapper).to.have.tagName('div') expect(wrapper.find('span')).to.have.tagName('span') }) it('passes negated when the actual doe...
<|file_sep|>original/test/tagName.test.js const it = createTest(<Fixture />) describe('#tagName', () => { describe('(tagName)', () => { it('passes when the actual matches the expected', (wrapper) => { expect(wrapper).to.have.tagName('div') expect(wrapper.find('span')).to.have.tagName('span') }) ...
df4d2502743a2f30308eeed3a0e13f16b2e468bb
test/tagName.test.js
test/tagName.test.js
JavaScript
<|file_sep|>Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Shows/Common/TraktShowsMostAnticipatedRequest.cs.diff original: updated: using Base; <|file_sep|>Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Shows/Common/TraktShowsMostAnticipatedRequest.cs.diff original: protected override string UriTemplate =>...
{ using Base; using Base.Get; using Objects.Basic; using Objects.Get.Shows.Common; internal class TraktShowsMostAnticipatedRequest : TraktGetRequest<TraktPaginationListResult<TraktMostAnticipatedShow>, TraktMostAnticipatedShow> { internal TraktShowsMostAnticipatedRequest(TraktClient cli...
<|file_sep|>Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Shows/Common/TraktShowsMostAnticipatedRequest.cs.diff original: updated: using Base; <|file_sep|>Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Shows/Common/TraktShowsMostAnticipatedRequest.cs.diff original: protected override string UriTemplate =>...
045c6e940dfefe3333da89615e4ded9c3d70d585
Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Shows/Common/TraktShowsMostAnticipatedRequest.cs
Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Shows/Common/TraktShowsMostAnticipatedRequest.cs
C#
<|file_sep|>original/test/spec/store/get_with_expected_version.rb context "Right version" do store = EventStore::EntityStore::Controls::Store::SomeStore.build store.category_name = category_name specify "Is not an error" do store.get id, expected_version: 1 end end context "Wrong version"...
context "Right version" do store = EventStore::EntityStore::Controls::Store::SomeStore.build store.category_name = category_name specify "Is not an error" do store.get id, expected_version: 1 end end context "Wrong version" do store = EventStore::EntityStore::Controls::Store::SomeStor...
<|file_sep|>original/test/spec/store/get_with_expected_version.rb context "Right version" do store = EventStore::EntityStore::Controls::Store::SomeStore.build store.category_name = category_name specify "Is not an error" do store.get id, expected_version: 1 end end context "Wrong version"...
a8fc4a73e0dc1dcf46b700e41d575afbe344bc20
test/spec/store/get_with_expected_version.rb
test/spec/store/get_with_expected_version.rb
Ruby
<|file_sep|>original/docs/README.md <|file_sep|>current/docs/README.md <|file_sep|>updated/docs/README.md
# Microbio * a minimal Bioinformatics framework For most of my use cases, extensive frameworks such as Biopython or scikit-bio are complete overkill. These frameworks are handling everything as an object (e.g. Sequences) which is certainly helpful in some cases, but often it's just more straightforward to save the s...
<|file_sep|>original/docs/README.md <|file_sep|>current/docs/README.md <|file_sep|>updated/docs/README.md # Microbio * a minimal Bioinformatics framework For most of my use cases, extensive frameworks such as Biopython or scikit-bio are complete overkill. These frameworks are handling everything as an object (e.g....
29655f3e61586f53785778044c5744c2fe2da42c
docs/README.md
docs/README.md
Markdown
<|file_sep|>TODO.md.diff original: - varargs (how to pass them, etc) updated: <|file_sep|>TODO.md.diff original: updated: - primitive operations working - unable to bitcast floats - varargs - `printf` is working - submit vararg patch to clang - aliases - We might be done with this. - standard libr...
- submit vararg patch to clang - aliases - We might be done with this. - standard library - create repo for modified musl - add back printf float support - memory - simplify memory model (symByte idea) - handle arbitrary-width integers (iN) - `gcc-torture/20001111-1.opt.ll`: stuck on siz...
<|file_sep|>TODO.md.diff original: - varargs (how to pass them, etc) updated: <|file_sep|>TODO.md.diff original: updated: - primitive operations working - unable to bitcast floats - varargs - `printf` is working - submit vararg patch to clang - aliases - We might be done with this. - standard libr...
ead2ca0044136c8e8b4756e7380a4422a57648bf
TODO.md
TODO.md
Markdown
<|file_sep|>original/config/prisons/BNI-bullingdon-convicted-only.yml email: socialvisits.bullingdon@hmps.gsi.gov.uk enabled: true estate: Bullingdon finder_slug: bullingdon phone: 01869 353176 slots: mon: - 1400-1610 sat: - 1400-1610 sun: - 1400-1610 thu: - 1400-1610 tue: - 1400-1610 wed: - 140...
estate: Bullingdon finder_slug: bullingdon phone: 01869 353176 slots: mon: - 1400-1610 sat: - 1400-1610 sun: - 1400-1610 thu: - 1400-1610 tue: - 1400-1610 wed: - 1400-1610 unbookable: - 2014-12-25 - 2014-12-26 - 2015-12-25 - 2016-01-01
<|file_sep|>original/config/prisons/BNI-bullingdon-convicted-only.yml email: socialvisits.bullingdon@hmps.gsi.gov.uk enabled: true estate: Bullingdon finder_slug: bullingdon phone: 01869 353176 slots: mon: - 1400-1610 sat: - 1400-1610 sun: - 1400-1610 thu: - 1400-1610 tue: - 1400-1610 wed: - 140...
2e503e07dd865bcba8173c42b82810042237259c
config/prisons/BNI-bullingdon-convicted-only.yml
config/prisons/BNI-bullingdon-convicted-only.yml
YAML
<|file_sep|>original/apps/CMakeLists.txt option(WITH_APPS "Build apps" ON) include_directories ("${CMAKE_BINARY_DIR}/include") link_directories ("${LLVM_LIB}") include_directories ("${CMAKE_CURRENT_LIST_DIR}/support") if(WITH_APPS) add_subdirectory(bilateral_grid) add_subdirectory(blur) add_subdirectory(c_backe...
# FIXME: Renable by default once we fix the build option(WITH_APPS "Build apps" OFF) include_directories ("${CMAKE_BINARY_DIR}/include") link_directories ("${LLVM_LIB}") include_directories ("${CMAKE_CURRENT_LIST_DIR}/support") if(WITH_APPS) add_subdirectory(bilateral_grid) add_subdirectory(blur) add_subdirecto...
<|file_sep|>original/apps/CMakeLists.txt option(WITH_APPS "Build apps" ON) include_directories ("${CMAKE_BINARY_DIR}/include") link_directories ("${LLVM_LIB}") include_directories ("${CMAKE_CURRENT_LIST_DIR}/support") if(WITH_APPS) add_subdirectory(bilateral_grid) add_subdirectory(blur) add_subdirectory(c_backe...
d28aa83cf7f0fd3a1273704023c9c9298ed52f21
apps/CMakeLists.txt
apps/CMakeLists.txt
Text
<|file_sep|>original/usr.sbin/pkg_install/lib/Makefile LIB= install SRCS= file.c msg.c plist.c str.c exec.c global.c pen.c CFLAGS+= ${DEBUG} NOPROFILE= yes NOPIC= yes install: @echo -n .include <bsd.lib.mk> <|file_sep|>current/usr.sbin/pkg_install/lib/Makefile LIB= install SRCS= file.c msg.c plist.c str.c exec.c glo...
LIB= install SRCS= file.c ftp.c msg.c plist.c str.c exec.c global.c pen.c CFLAGS+= ${DEBUG} NOPROFILE= yes NOPIC= yes install: @echo -n .include <bsd.lib.mk>
<|file_sep|>original/usr.sbin/pkg_install/lib/Makefile LIB= install SRCS= file.c msg.c plist.c str.c exec.c global.c pen.c CFLAGS+= ${DEBUG} NOPROFILE= yes NOPIC= yes install: @echo -n .include <bsd.lib.mk> <|file_sep|>current/usr.sbin/pkg_install/lib/Makefile LIB= install SRCS= file.c msg.c plist.c str.c exec.c glo...
a33d87a3201bc79b82e931908a5c3df42f7a1961
usr.sbin/pkg_install/lib/Makefile
usr.sbin/pkg_install/lib/Makefile
unknown
<|file_sep|>original/src/ee/plannodes/tablecountnode.cpp #include <sstream> #include "tablecountnode.h" #include "common/common.h" #include "expressions/abstractexpression.h" #include "storage/table.h" namespace voltdb { TableCountPlanNode::~TableCountPlanNode() { } std::string TableCountPlanNode::debugInfo(const s...
#include <sstream> #include "tablecountnode.h" #include "common/common.h" #include "expressions/abstractexpression.h" #include "storage/table.h" namespace voltdb { TableCountPlanNode::~TableCountPlanNode() { delete getOutputTable(); setOutputTable(NULL); } std::string TableCountPlanNode::debugInfo(const std...
<|file_sep|>original/src/ee/plannodes/tablecountnode.cpp #include <sstream> #include "tablecountnode.h" #include "common/common.h" #include "expressions/abstractexpression.h" #include "storage/table.h" namespace voltdb { TableCountPlanNode::~TableCountPlanNode() { } std::string TableCountPlanNode::debugInfo(const s...
798bac22d573f6ad6e9589b0ad4cbefc10430ca6
src/ee/plannodes/tablecountnode.cpp
src/ee/plannodes/tablecountnode.cpp
C++
<|file_sep|>original/slang/Compilation/CompilationRoot.cs <|file_sep|>current/slang/Compilation/CompilationRoot.cs <|file_sep|>updated/slang/Compilation/CompilationRoot.cs
using System.Collections.Generic; namespace slang.Compilation { public class CompilationRoot { public CompilationRoot (CompilationMetadata metadata) { CompilationUnits = new List<CompilationUnit> (); Metadata = metadata; } public List<CompilationUnit> C...
<|file_sep|>original/slang/Compilation/CompilationRoot.cs <|file_sep|>current/slang/Compilation/CompilationRoot.cs <|file_sep|>updated/slang/Compilation/CompilationRoot.cs using System.Collections.Generic; namespace slang.Compilation { public class CompilationRoot { public CompilationRoot (Compilati...
ff774510037c6c8908a590623260e59c8617075f
slang/Compilation/CompilationRoot.cs
slang/Compilation/CompilationRoot.cs
C#
<|file_sep|>original/src/node/README.md The [`src/node/`](./) directory contains code that needs to access node state (state in `CChain`, `CBlockIndex`, `CCoinsView`, `CTxMemPool`, and similar classes). Code in [`src/node/`](./) is meant to be segregated from code in [`src/wallet/`](../wallet/) and [`src/qt/`](../qt/...
# src/node/ The [`src/node/`](./) directory contains code that needs to access node state (state in `CChain`, `CBlockIndex`, `CCoinsView`, `CTxMemPool`, and similar classes). Code in [`src/node/`](./) is meant to be segregated from code in [`src/wallet/`](../wallet/) and [`src/qt/`](../qt/), to ensure wallet and GUI ...
<|file_sep|>original/src/node/README.md The [`src/node/`](./) directory contains code that needs to access node state (state in `CChain`, `CBlockIndex`, `CCoinsView`, `CTxMemPool`, and similar classes). Code in [`src/node/`](./) is meant to be segregated from code in [`src/wallet/`](../wallet/) and [`src/qt/`](../qt/...
fadcd3f78e1dd1acd7a774f8fad68dc471ff9e1f
src/node/README.md
src/node/README.md
Markdown
<|file_sep|>original/extlibs/raxmpp/prep.sh <|file_sep|>current/extlibs/raxmpp/prep.sh <|file_sep|>updated/extlibs/raxmpp/prep.sh
#!/bin/bash #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless re...
<|file_sep|>original/extlibs/raxmpp/prep.sh <|file_sep|>current/extlibs/raxmpp/prep.sh <|file_sep|>updated/extlibs/raxmpp/prep.sh #!/bin/bash #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in comp...
90cde5ba9927d19d0c1826500f3ada41e2693d2f
extlibs/raxmpp/prep.sh
extlibs/raxmpp/prep.sh
Shell
<|file_sep|>original/src/manifest.json { "name": "Minimal Bookmarks Tree", "manifest_version": 2, "content_security_policy": "script-src 'self' https://code.jquery.com; object-src 'self'", "description": "Display a tree of bookmarks under a toolbar button, and search your bookmarks in the omnibox using the keyword ...
{ "name": "Minimal Bookmarks Tree", "manifest_version": 2, "content_security_policy": "script-src 'self'; object-src 'self'", "description": "Display a tree of bookmarks under a toolbar button, and search your bookmarks in the omnibox using the keyword 'bm'.", "version": "3.0.0", "minimum_chrome_version": "51", ...
<|file_sep|>original/src/manifest.json { "name": "Minimal Bookmarks Tree", "manifest_version": 2, "content_security_policy": "script-src 'self' https://code.jquery.com; object-src 'self'", "description": "Display a tree of bookmarks under a toolbar button, and search your bookmarks in the omnibox using the keyword ...
a86aca88a8395ff48ffd4232176cb27ca674a498
src/manifest.json
src/manifest.json
JSON
<|file_sep|>original/certbot/certbot_renew_freebsd.sh <|file_sep|>current/certbot/certbot_renew_freebsd.sh <|file_sep|>updated/certbot/certbot_renew_freebsd.sh
#!/usr/bin/env bash ###################################################################################################### ## This is a post-hook script to use with Certbot for renewals to send an email when a cert is renewed ## For example, you'd put something like this in your crontab (must run as root though!) ## Ce...
<|file_sep|>original/certbot/certbot_renew_freebsd.sh <|file_sep|>current/certbot/certbot_renew_freebsd.sh <|file_sep|>updated/certbot/certbot_renew_freebsd.sh #!/usr/bin/env bash ###################################################################################################### ## This is a post-hook script to us...
693ba39b96824cf33021d694754f459187c55535
certbot/certbot_renew_freebsd.sh
certbot/certbot_renew_freebsd.sh
Shell
<|file_sep|>original/ansible/playbooks/development/local-run.sh <|file_sep|>current/ansible/playbooks/development/local-run.sh <|file_sep|>updated/ansible/playbooks/development/local-run.sh
#!/bin/sh if [ $# -eq 0 ]; then echo "Usage: $0 playbook" echo "playbook: playbook file (e.g. playbook.yml)" exit 1 fi ansible-playbook --inventory "localhost," --connection local "$@"
<|file_sep|>original/ansible/playbooks/development/local-run.sh <|file_sep|>current/ansible/playbooks/development/local-run.sh <|file_sep|>updated/ansible/playbooks/development/local-run.sh #!/bin/sh if [ $# -eq 0 ]; then echo "Usage: $0 playbook" echo "playbook: playbook file (e.g. playbook.yml)" exit 1 fi ansi...
bc47a07ccf7b806404ad40458c1223b2a8e33c89
ansible/playbooks/development/local-run.sh
ansible/playbooks/development/local-run.sh
Shell
<|file_sep|>original/requirements.txt chardet==3.0.4 codecov==2.0.9 coverage==4.4.1 docutils==0.14 jmespath==0.9.3 multidict==3.1.3 mypy==0.521 packaging==16.8 pep8==1.7.0 py==1.4.34 pyparsing==2.2.0 pytest==3.2.0 pytest-cov==2.5.1 python-dateutil==2.6.1 pytz==2017.2 requests==2.18.3 six==1.10.0 tzlocal==1.4 ujson==1.3...
chardet==3.0.4 codecov==2.0.9 coverage==4.4.1 docutils==0.14 jmespath==0.9.3 multidict==3.1.3 mypy==0.521 packaging==16.8 pep8==1.7.0 py==1.4.34 pyparsing==2.2.0 pytest==3.2.1 pytest-cov==2.5.1 python-dateutil==2.6.1 pytz==2017.2 requests==2.18.3 six==1.10.0 tzlocal==1.4 ujson==1.35 uvloop==0.8.0 yarl==0.12.0
<|file_sep|>original/requirements.txt chardet==3.0.4 codecov==2.0.9 coverage==4.4.1 docutils==0.14 jmespath==0.9.3 multidict==3.1.3 mypy==0.521 packaging==16.8 pep8==1.7.0 py==1.4.34 pyparsing==2.2.0 pytest==3.2.0 pytest-cov==2.5.1 python-dateutil==2.6.1 pytz==2017.2 requests==2.18.3 six==1.10.0 tzlocal==1.4 ujson==1.3...
d2d5be851d249fc8a09af6970a0821de0d738e32
requirements.txt
requirements.txt
Text
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.2.3 - 2.1.7 - 2.0.0 - 1.9.3 <|file_sep|>current/.travis.yml language: ruby rvm: - 2.2.3 - 2.1.7 - 2.0.0 - 1.9.3 <|file_sep|>updated/.travis.yml
language: ruby rvm: - 2.2.3 - 2.1.7 - 2.0.0 - 1.9.3 before_script: - cd test/rails-dummy - bundle exec rake db:create db:migrate
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.2.3 - 2.1.7 - 2.0.0 - 1.9.3 <|file_sep|>current/.travis.yml language: ruby rvm: - 2.2.3 - 2.1.7 - 2.0.0 - 1.9.3 <|file_sep|>updated/.travis.yml language: ruby rvm: - 2.2.3 - 2.1.7 - 2.0.0 - 1.9.3 before_script: - cd test/rails-dummy - ...
3ea59e39aa44c8d2185ae44658d6765f60f05c9f
.travis.yml
.travis.yml
YAML
<|file_sep|>lib/action_profiler.rb.diff original: updated: min_percent = (params[:profile_percent] || 0.05).to_f <|file_sep|>lib/action_profiler.rb.diff original: min_percent = (params[:profile_percent] || 10).to_i RubyProf::GraphHtmlPrinter.new(result).print(output, :min_percent => min_p...
end result = RubyProf.profile(&block) if response.body.is_a?(String) min_percent = (params[:profile_percent] || 0.05).to_f output = StringIO.new RubyProf::CallTreePrinter.new(result).print(output, :min_percent => min_percent) response.body.replace(outpu...
<|file_sep|>lib/action_profiler.rb.diff original: updated: min_percent = (params[:profile_percent] || 0.05).to_f <|file_sep|>lib/action_profiler.rb.diff original: min_percent = (params[:profile_percent] || 10).to_i RubyProf::GraphHtmlPrinter.new(result).print(output, :min_percent => min_p...
391f26bebf0ec850b2b796f53c6c2ac17ee8d8f0
lib/action_profiler.rb
lib/action_profiler.rb
Ruby
<|file_sep|>original/_config.yml - jekyll-sitemap data_dir: ./_locales exclude: [ "CHANGELOG.md", "CODE_OF_CONDUCT.md", "CONTRIBUTING.md", "TRANSLATING.md", "assets/images/icons", "package.json", "Gemfile", "Gemfile.lock", "README.md", "pages/**/README.md", "LICENSE", ...
- jekyll-sitemap data_dir: ./_locales exclude: [ "CHANGELOG.md", "CODE_OF_CONDUCT.md", "CONTRIBUTING.md", "TRANSLATING.md", "assets/images/icons", "package.json", "package-lock.json", "package-scripts.js", "Gemfile", "Gemfile.lock", "README.md", "pages/**/README.md", ...
<|file_sep|>original/_config.yml - jekyll-sitemap data_dir: ./_locales exclude: [ "CHANGELOG.md", "CODE_OF_CONDUCT.md", "CONTRIBUTING.md", "TRANSLATING.md", "assets/images/icons", "package.json", "Gemfile", "Gemfile.lock", "README.md", "pages/**/README.md", "LICENSE", ...
179983ac51214a91213e970002f09a67b61de8f2
_config.yml
_config.yml
YAML
<|file_sep|>original/lib/burlesque/client.rb @http.read_timeout = Burlesque.config.timeout end def publish queue, message req = Net::HTTP::Post.new("#{PUB_ENDPOINT}?queue=#{queue}") req.body = message res = http.request(req) res.body == OK end def subscribe queues q...
@http.read_timeout = Burlesque.config.timeout end def publish queue, message req = Net::HTTP::Post.new("#{PUB_ENDPOINT}?queue=#{queue}") req.body = message res = http.request(req) res.body == OK end def subscribe *queues req = Net::HTTP::Get.new("#{SUB_ENDPOINT}?que...
<|file_sep|>original/lib/burlesque/client.rb @http.read_timeout = Burlesque.config.timeout end def publish queue, message req = Net::HTTP::Post.new("#{PUB_ENDPOINT}?queue=#{queue}") req.body = message res = http.request(req) res.body == OK end def subscribe queues q...
52b67313cc38d14008e198ca77e605a406ec4a30
lib/burlesque/client.rb
lib/burlesque/client.rb
Ruby
<|file_sep|>original/roles/marathon/handlers/main.yml --- # handlers file for marathon # Restart service marathon, in all cases - name: Restart marathon sudo: yes service: name: marathon state: restarted <|file_sep|>current/roles/marathon/handlers/main.yml --- # handlers file for marathon # Restart service ...
--- # handlers file for marathon # Restart service marathon, in all cases - name: Restart marathon sudo: yes service: name: marathon state: restarted notify: - wait for marathon to listen - name: wait for marathon to listen sudo: yes command: "curl -s http://localhost:{{ marathon_port }}/ping" ...
<|file_sep|>original/roles/marathon/handlers/main.yml --- # handlers file for marathon # Restart service marathon, in all cases - name: Restart marathon sudo: yes service: name: marathon state: restarted <|file_sep|>current/roles/marathon/handlers/main.yml --- # handlers file for marathon # Restart service ...
b2e1e298bcf0035d3851938752dc1b7b861279a1
roles/marathon/handlers/main.yml
roles/marathon/handlers/main.yml
YAML
<|file_sep|>original/examples/resize_base/README.md This example takes a base image of 2G and uses it as the backing store of a bigger volume. _cloud-init_ is then used to resize the original partition to the new available space. See https://github.com/dmacvicar/terraform-provider-libvirt/issues/369 <|file_sep|>curre...
This example takes a base image of 2G and uses it as the backing store of a bigger volume. _cloud-init_ is then used to resize the original partition to the new available space. See https://github.com/dmacvicar/terraform-provider-libvirt/issues/369 # Running ```console $ terraform apply $ ssh -i id_rsa "root@$(terr...
<|file_sep|>original/examples/resize_base/README.md This example takes a base image of 2G and uses it as the backing store of a bigger volume. _cloud-init_ is then used to resize the original partition to the new available space. See https://github.com/dmacvicar/terraform-provider-libvirt/issues/369 <|file_sep|>curre...
4012715b031561019aee95ed907aa9831e629ec4
examples/resize_base/README.md
examples/resize_base/README.md
Markdown
<|file_sep|>Resources/config/orm-services.yml.diff original: arguments: ["@annotation_reader", %ambta_doctrine_encrypt.encryptor_class_name%, %ambta_doctrine_encrypt.secret_key%] updated: arguments: ["@annotation_reader", "%ambta_doctrine_encrypt.encryptor_class_name%", "%ambta_doctrine_encrypt.secret_k...
services: ambta_doctrine_encrypt.orm_subscriber: class: Ambta\DoctrineEncryptBundle\Subscribers\DoctrineEncryptSubscriber arguments: ["@annotation_reader", "%ambta_doctrine_encrypt.encryptor_class_name%", "%ambta_doctrine_encrypt.secret_key%"] tags: - { name: doctrine.event_subs...
<|file_sep|>Resources/config/orm-services.yml.diff original: arguments: ["@annotation_reader", %ambta_doctrine_encrypt.encryptor_class_name%, %ambta_doctrine_encrypt.secret_key%] updated: arguments: ["@annotation_reader", "%ambta_doctrine_encrypt.encryptor_class_name%", "%ambta_doctrine_encrypt.secret_k...
aef1c6f10a6b816387355e3931abc71154d5b55e
Resources/config/orm-services.yml
Resources/config/orm-services.yml
YAML
<|file_sep|>original/src/DynamicMemory.h // // Created by James Telfer on 30/07/2017. // #ifndef C_11_FEATURE_DEMO_DYNAMICMEMORY_H #define C_11_FEATURE_DEMO_DYNAMICMEMORY_H #include "Thing.h" class DynamicMemory { public: DynamicMemory(); void uniquePointers(); void sharedPointers(); void makeShared...
// // Created by James Telfer on 30/07/2017. // #ifndef C_11_FEATURE_DEMO_DYNAMICMEMORY_H #define C_11_FEATURE_DEMO_DYNAMICMEMORY_H #include <memory> #include "Thing.h" class DynamicMemory { public: DynamicMemory(); void uniquePointers(); void sharedPointers(); void makeShared(); private: void ou...
<|file_sep|>original/src/DynamicMemory.h // // Created by James Telfer on 30/07/2017. // #ifndef C_11_FEATURE_DEMO_DYNAMICMEMORY_H #define C_11_FEATURE_DEMO_DYNAMICMEMORY_H #include "Thing.h" class DynamicMemory { public: DynamicMemory(); void uniquePointers(); void sharedPointers(); void makeShared...
c02cabaab61367862776ad1d612161d4d623f7a0
src/DynamicMemory.h
src/DynamicMemory.h
C
<|file_sep|>original/blazeweb/registry.py class StackedObjectProxy(PasteSOP): # override b/c of # http://trac.pythonpaste.org/pythonpaste/ticket/482 def _pop_object(self, obj=None): """Remove a thread-local object. If ``obj`` is given, it is checked against the popped object and an ...
# override b/c of # http://trac.pythonpaste.org/pythonpaste/ticket/482 def _pop_object(self, obj=None): """Remove a thread-local object. If ``obj`` is given, it is checked against the popped object and an error is emitted if they don't match. """ try: p...
<|file_sep|>original/blazeweb/registry.py class StackedObjectProxy(PasteSOP): # override b/c of # http://trac.pythonpaste.org/pythonpaste/ticket/482 def _pop_object(self, obj=None): """Remove a thread-local object. If ``obj`` is given, it is checked against the popped object and an ...
d14160537292c87f870fa8c7d99c253b61420dde
blazeweb/registry.py
blazeweb/registry.py
Python
<|file_sep|>original/release/all.sh #!/usr/bin/env bash set -e PLATFORMS=(debian docker osx) VERSIONS=$@ ./gradlew clean && ./gradlew installDist -Prelease.useLastTag=true USAGE="You must supply a list of <versions>, e.g.\n $0 <version1> <version2>" if [ -z "$VERSIONS" ]; then >&2 echo $USAGE exit 1 fi for PL...
#!/usr/bin/env bash set -e PLATFORMS=(debian docker osx) VERSIONS=$@ ./gradlew clean -Prelease.useLastTag=true && ./gradlew installDist -Prelease.useLastTag=true USAGE="You must supply a list of <versions>, e.g.\n $0 <version1> <version2>" if [ -z "$VERSIONS" ]; then >&2 echo $USAGE exit 1 fi for PLATFORM in ...
<|file_sep|>original/release/all.sh #!/usr/bin/env bash set -e PLATFORMS=(debian docker osx) VERSIONS=$@ ./gradlew clean && ./gradlew installDist -Prelease.useLastTag=true USAGE="You must supply a list of <versions>, e.g.\n $0 <version1> <version2>" if [ -z "$VERSIONS" ]; then >&2 echo $USAGE exit 1 fi for PL...
2e9dd956061f0a146eb7490b5717aab0cb8cbbd3
release/all.sh
release/all.sh
Shell
<|file_sep|>original/WarDroid/src/main/res/values/strings.xml <resources> <!-- Strings for possible PreferenceActivity Back/Next buttons --> <string name="back_button_label">Back</string> <string name="next_button_label">Next</string> <!-- Optional button to Skip a PreferenceActivity [CHAR LIMIT=20] -...
<resources> <!-- Strings for possible PreferenceActivity Back/Next buttons --> <string name="back_button_label">Back</string> <string name="next_button_label">Next</string> <!-- Optional button to Skip a PreferenceActivity [CHAR LIMIT=20] --> <string name="skip_button_label">Skip</string> <st...
<|file_sep|>original/WarDroid/src/main/res/values/strings.xml <resources> <!-- Strings for possible PreferenceActivity Back/Next buttons --> <string name="back_button_label">Back</string> <string name="next_button_label">Next</string> <!-- Optional button to Skip a PreferenceActivity [CHAR LIMIT=20] -...
4a78c5fdc39b2bc42ac271c740baa908f8101401
WarDroid/src/main/res/values/strings.xml
WarDroid/src/main/res/values/strings.xml
XML
<|file_sep|>original/pneumatictube-package/tools/ChocolateyInstall.ps1 $packageName = 'PneumaticTube.portable' $url = 'https://github.com/hartez/PneumaticTube/releases/download/1.0.0/PneumaticTube.zip' try { $binRoot = "$env:systemdrive\tools" if($env:chocolatey_bin_root -ne $null -and $env:chocolatey_bin_root ...
$packageName = 'PneumaticTube.portable' $url = 'https://github.com/hartez/PneumaticTube/releases/download/1.0.0/PneumaticTube.zip' try { $binRoot = Get-BinRoot $installDir = Join-Path $binRoot "$packageName" Write-Host "Adding `'$installDir`' to the path and the current shell path" Install-ChocolateyPath "$...
<|file_sep|>original/pneumatictube-package/tools/ChocolateyInstall.ps1 $packageName = 'PneumaticTube.portable' $url = 'https://github.com/hartez/PneumaticTube/releases/download/1.0.0/PneumaticTube.zip' try { $binRoot = "$env:systemdrive\tools" if($env:chocolatey_bin_root -ne $null -and $env:chocolatey_bin_root ...
1a84a113e4f24b269162990b375f58a9a622dff1
pneumatictube-package/tools/ChocolateyInstall.ps1
pneumatictube-package/tools/ChocolateyInstall.ps1
PowerShell
<|file_sep|>original/app/views/materials/_form.html.erb <%= render partial: "layouts/file_uploader_complicated", locals: { owner: nil } %> <%= form_for [@course, @folder], :html => { :class => 'form-horizontal' } do |f| %> <div id="uploaded_files_div"></div> <div class="form-actions"> <%= f.submit "...
<%= render partial: "layouts/file_uploader_complicated", locals: { owner: nil } %> <%= form_for [@course, @folder], :html => { :class => 'form-horizontal' } do |f| %> <div id="uploaded_files_div"></div> <div class="form-actions"> <%= f.submit "Done", :class => 'btn btn-primary', data: {disable_with:...
<|file_sep|>original/app/views/materials/_form.html.erb <%= render partial: "layouts/file_uploader_complicated", locals: { owner: nil } %> <%= form_for [@course, @folder], :html => { :class => 'form-horizontal' } do |f| %> <div id="uploaded_files_div"></div> <div class="form-actions"> <%= f.submit "...
1380849df11ec45b0f89caf0e01cbb126d45d1b9
app/views/materials/_form.html.erb
app/views/materials/_form.html.erb
HTML+ERB
<|file_sep|>original/boundary_cli/plugin_manifest.py <|file_sep|>current/boundary_cli/plugin_manifest.py <|file_sep|>updated/boundary_cli/plugin_manifest.py
#!/usr/bin/env python ### ### Copyright 2014-2015, Boundary ### ### Licensed under the Apache License, Version 2.0 (the "License"); ### you may not use this file except in compliance with the License. ### You may obtain a copy of the License at ### ### http://www.apache.org/licenses/LICENSE-2.0 ### ### Unless requi...
<|file_sep|>original/boundary_cli/plugin_manifest.py <|file_sep|>current/boundary_cli/plugin_manifest.py <|file_sep|>updated/boundary_cli/plugin_manifest.py #!/usr/bin/env python ### ### Copyright 2014-2015, Boundary ### ### Licensed under the Apache License, Version 2.0 (the "License"); ### you may not use this file...
033bddcfc933191397e4f01cd5ce5b10b2344c92
boundary_cli/plugin_manifest.py
boundary_cli/plugin_manifest.py
Python
<|file_sep|>metadata/co.appreactor.news.yml.diff original: updated: - versionName: 0.2.4 versionCode: 10 commit: v0.2.4 subdir: app gradle: - yes <|file_sep|>original/metadata/co.appreactor.news.yml gradle: - yes - versionName: 0.2.2 versionCode: 8 commit: v0.2.2 subdi...
gradle: - yes - versionName: 0.2.3 versionCode: 9 commit: v0.2.3 subdir: app gradle: - yes - versionName: 0.2.4 versionCode: 10 commit: v0.2.4 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: 0.2.4 CurrentVersionCode...
<|file_sep|>metadata/co.appreactor.news.yml.diff original: updated: - versionName: 0.2.4 versionCode: 10 commit: v0.2.4 subdir: app gradle: - yes <|file_sep|>original/metadata/co.appreactor.news.yml gradle: - yes - versionName: 0.2.2 versionCode: 8 commit: v0.2.2 subdi...
5baf73846e052cd9a337b26cbaad6238efd84c45
metadata/co.appreactor.news.yml
metadata/co.appreactor.news.yml
YAML
<|file_sep|>src/components/main-menu/main-menu.css.diff original: /* { font-size: 14px; box-sizing: border-box; position: absolute; right: 250px; top: 0px; border-radius: 5px; border: 0px; background-color: blue; text-align: center; */ updated: .main-menu { display: inline-block;...
font-size: 13px; text-decoration: none !important; line-height: 1; text-transform: uppercase; background-color: transparent; -webkit-transition: background-color 0.25s; -moz-transition: background-color 0.25s; transition: background-color 0.25s; } .main-menu a:first-child { border-r...
<|file_sep|>src/components/main-menu/main-menu.css.diff original: /* { font-size: 14px; box-sizing: border-box; position: absolute; right: 250px; top: 0px; border-radius: 5px; border: 0px; background-color: blue; text-align: center; */ updated: .main-menu { display: inline-block;...
2bbd1deb858a6acedfa2c3337066a4252fc0fa92
src/components/main-menu/main-menu.css
src/components/main-menu/main-menu.css
CSS
<|file_sep|>original/integration/experiment/common_args.py <|file_sep|>current/integration/experiment/common_args.py <|file_sep|>updated/integration/experiment/common_args.py
# # Copyright (c) 2015, 2016, 2017, 2018, 2019, 2020, Intel Corporation # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistributions of source code must retain the above copyright # notice, th...
<|file_sep|>original/integration/experiment/common_args.py <|file_sep|>current/integration/experiment/common_args.py <|file_sep|>updated/integration/experiment/common_args.py # # Copyright (c) 2015, 2016, 2017, 2018, 2019, 2020, Intel Corporation # # Redistribution and use in source and binary forms, with or withou...
4ebf68bc3ae22f39be6f7c0a260323648537e65c
integration/experiment/common_args.py
integration/experiment/common_args.py
Python
<|file_sep|>original/build-artefact.sh <|file_sep|>current/build-artefact.sh <|file_sep|>updated/build-artefact.sh
#!/bin/bash VIRTUALENV_DIR=/var/tmp/virtualenvs/$(echo ${JOB_NAME} | tr ' ' '-') export PIP_DOWNLOAD_CACHE=/var/tmp/pip_download_cache virtualenv --clear --no-site-packages $VIRTUALENV_DIR source $VIRTUALENV_DIR/bin/activate pip install -r requirements.txt python fetch_csv.py python create_pages.py mkdir -p artefa...
<|file_sep|>original/build-artefact.sh <|file_sep|>current/build-artefact.sh <|file_sep|>updated/build-artefact.sh #!/bin/bash VIRTUALENV_DIR=/var/tmp/virtualenvs/$(echo ${JOB_NAME} | tr ' ' '-') export PIP_DOWNLOAD_CACHE=/var/tmp/pip_download_cache virtualenv --clear --no-site-packages $VIRTUALENV_DIR source $VIRT...
3e47ec764e6f1c5c47f79758f54a66682977b9fa
build-artefact.sh
build-artefact.sh
Shell
<|file_sep|>.travis.yml.diff original: - HAXE_VERSION=3.4.7 updated: <|file_sep|>original/.travis.yml install: - npm i -g lix - npm install - lix install haxe $HAXE_VERSION - lix download - if [[ "$(haxe -version)" =~ ^4.* ]]; then sudo apt-get install php7.0-cli php7.0-mysql; else sudo apt-get install ...
install: - npm i -g lix - npm install - lix install haxe $HAXE_VERSION - lix download - if [[ "$(haxe -version)" =~ ^4.* ]]; then sudo apt-get install php7.0-cli php7.0-mysql; else sudo apt-get install php5.6-cli php5.6-mysql; fi script: - lix run travix node # - lix run travix php # jobs: # includ...
<|file_sep|>.travis.yml.diff original: - HAXE_VERSION=3.4.7 updated: <|file_sep|>original/.travis.yml install: - npm i -g lix - npm install - lix install haxe $HAXE_VERSION - lix download - if [[ "$(haxe -version)" =~ ^4.* ]]; then sudo apt-get install php7.0-cli php7.0-mysql; else sudo apt-get install ...
9e464f1518d8270b1f58673e9efa2104129ef972
.travis.yml
.travis.yml
YAML
<|file_sep|>original/style/form.khtml.all.css form.cmxform ol li.list label{ line-height: 1.6; } input[type="radio"], input[type="checkbox"] { vertical-align: bottom; } label.nocmx input[type="radio"], label.nocmx input[type="checkbox"] { vertical-align: baseline; } li.checkbox label{ line-height: 1.8; } <|f...
form.cmxform ol li.list label{ line-height: 1.6; } input[type="radio"], input[type="checkbox"] { vertical-align: bottom; } label input[type="radio"], label input[type="checkbox"] { vertical-align: baseline; } li.checkbox label{ line-height: 1.8; } /*
<|file_sep|>original/style/form.khtml.all.css form.cmxform ol li.list label{ line-height: 1.6; } input[type="radio"], input[type="checkbox"] { vertical-align: bottom; } label.nocmx input[type="radio"], label.nocmx input[type="checkbox"] { vertical-align: baseline; } li.checkbox label{ line-height: 1.8; } <|f...
4b8b73c47558f8f176b5f5e11b8b21a70578a3b7
style/form.khtml.all.css
style/form.khtml.all.css
CSS
<|file_sep|>original/tests/Log/Writer/PdoWriterTest.php <|file_sep|>current/tests/Log/Writer/PdoWriterTest.php <|file_sep|>updated/tests/Log/Writer/PdoWriterTest.php
<?php /** * Tlumx Framework (http://framework.tlumx.xyz/) * * @author Yaroslav Kharitonchuk <yarik.proger@gmail.com> * @link https://github.com/tlumx/framework * @copyright Copyright (c) 2016 Yaroslav Kharitonchuk * @license http://framework.tlumx.xyz/license (MIT License) */ namespace Tlumx\Tests\Log...
<|file_sep|>original/tests/Log/Writer/PdoWriterTest.php <|file_sep|>current/tests/Log/Writer/PdoWriterTest.php <|file_sep|>updated/tests/Log/Writer/PdoWriterTest.php <?php /** * Tlumx Framework (http://framework.tlumx.xyz/) * * @author Yaroslav Kharitonchuk <yarik.proger@gmail.com> * @link https://github....
0e916e3d0e64e709b809183771077415c8b2b54d
tests/Log/Writer/PdoWriterTest.php
tests/Log/Writer/PdoWriterTest.php
PHP