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/phpunit.xml.dist <phpunit bootstrap="./phpunit.php"> <testsuites> <testsuite> <directory>./tests</directory> </testsuite> </testsuites> </phpunit> <|file_sep|>current/phpunit.xml.dist <phpunit bootstrap="./phpunit.php"> <testsuites> <testsuite> ...
<phpunit bootstrap="./phpunit.php"> <testsuites> <testsuite> <directory>./tests</directory> </testsuite> </testsuites> <filter> <whitelist processUncoveredFilesFromWhitelist="true"> <directory suffix=".php">./src</directory> </whitelist> </filter> ...
<|file_sep|>original/phpunit.xml.dist <phpunit bootstrap="./phpunit.php"> <testsuites> <testsuite> <directory>./tests</directory> </testsuite> </testsuites> </phpunit> <|file_sep|>current/phpunit.xml.dist <phpunit bootstrap="./phpunit.php"> <testsuites> <testsuite> ...
0f98ef822d0cce932cad205bea36a06d1dccc4ed
phpunit.xml.dist
phpunit.xml.dist
unknown
<|file_sep|>.travis.yml.diff original: updated: - "wget https://chromedriver.googlecode.com/files/chromedriver_linux32_26.0.1383.0.zip -O chromedriver.zip" - "unzip chromedriver.zip" - "sudo cp chromedriver /usr/local/bin" - "sudo chmod 755 /usr/local/bin/chromedriver" <|file_sep|>original/.travis.yml language...
language: python python: - "2.7" before_script: - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" - "wget https://chromedriver.googlecode.com/files/chromedriver_linux32_26.0.1383.0.zip -O chromedriver.zip" - "unzip chromedriver.zip" - "sudo cp chromedriver /usr/local/bin" - "sudo chmod 755 /usr/lo...
<|file_sep|>.travis.yml.diff original: updated: - "wget https://chromedriver.googlecode.com/files/chromedriver_linux32_26.0.1383.0.zip -O chromedriver.zip" - "unzip chromedriver.zip" - "sudo cp chromedriver /usr/local/bin" - "sudo chmod 755 /usr/local/bin/chromedriver" <|file_sep|>original/.travis.yml language...
d6ca190a9b2628912e920cd74c377722258eb819
.travis.yml
.travis.yml
YAML
<|file_sep|>common/fields.py.diff original: from django.db.models import AutoField updated: from django.db.models import Field <|file_sep|>common/fields.py.diff original: class SequenceField(AutoField): """Overrides the parts of AutoField that force it to be a PK""" updated: class SequenceField(Field): <|file_sep|>...
def db_type(self, connection): return 'serial' def get_db_prep_value(self, value, connection, prepared=False): if not prepared: value = self.get_prep_value(value) # avoid the PK validation of AutoField return value def get_prep_value(self, value): v...
<|file_sep|>common/fields.py.diff original: from django.db.models import AutoField updated: from django.db.models import Field <|file_sep|>common/fields.py.diff original: class SequenceField(AutoField): """Overrides the parts of AutoField that force it to be a PK""" updated: class SequenceField(Field): <|file_sep|>...
0e8504c8ad81076f190918b17d9c46710875fe8f
common/fields.py
common/fields.py
Python
<|file_sep|>Casks/dashlane.rb.diff original: version '2.4.1.62949' sha256 '97bca51c71ba32e5fa13160a77b9a12824e2e44990958d9831263936ed3f1f40' updated: version :latest sha256 :no_check <|file_sep|>original/Casks/dashlane.rb cask :v1 => 'dashlane' do version '2.4.1.62949' sha256 '97bca51c71ba32e5fa13160a77b9a1...
cask :v1 => 'dashlane' do version :latest sha256 :no_check url 'https://www.dashlane.com/directdownload?platform=mac' homepage 'https://www.dashlane.com/' license :unknown app 'Dashlane.app' end
<|file_sep|>Casks/dashlane.rb.diff original: version '2.4.1.62949' sha256 '97bca51c71ba32e5fa13160a77b9a12824e2e44990958d9831263936ed3f1f40' updated: version :latest sha256 :no_check <|file_sep|>original/Casks/dashlane.rb cask :v1 => 'dashlane' do version '2.4.1.62949' sha256 '97bca51c71ba32e5fa13160a77b9a1...
af107b8fb68e4158a6b5ec954a54c345e8533991
Casks/dashlane.rb
Casks/dashlane.rb
Ruby
<|file_sep|>original/composer.json "homepage": "http://sylius.com" }, { "name": "Community contributions", "homepage": "http://github.com/Sylius/Sylius/contributors" } ], "require": { "php": "^7.1", "sylius/registry": "^1.0", "...
"homepage": "http://sylius.com" }, { "name": "Community contributions", "homepage": "http://github.com/Sylius/Sylius/contributors" } ], "require": { "php": "^7.1", "sylius/registry": "^1.2", "sylius/resource": "^1.0" }, ...
<|file_sep|>original/composer.json "homepage": "http://sylius.com" }, { "name": "Community contributions", "homepage": "http://github.com/Sylius/Sylius/contributors" } ], "require": { "php": "^7.1", "sylius/registry": "^1.0", "...
156419a1a9ebb41300072f577cba4b3aab894238
composer.json
composer.json
JSON
<|file_sep|>original/views/acquire-your-record.html <div layout="row"> <div class="panel panel-default"> <div class="panel-body"> <h1>If you would like a tutorial on how to search online for your cases, watch this video below:</h1> <div class="responsive-iframe-container"> <iframe src...
<div layout="row"> <div class="panel panel-default"> <div class="panel-body"> <h1>If you would like a tutorial on how to search online for your cases, watch this video below:</h1> <hr> <div class="responsive-iframe-container"> <iframe src="https://www.youtube.com/embed/MY8yf3...
<|file_sep|>original/views/acquire-your-record.html <div layout="row"> <div class="panel panel-default"> <div class="panel-body"> <h1>If you would like a tutorial on how to search online for your cases, watch this video below:</h1> <div class="responsive-iframe-container"> <iframe src...
c6fd39556b4531b815bf1a7f7b0cd7a0937f27f0
views/acquire-your-record.html
views/acquire-your-record.html
HTML
<|file_sep|>original/fortran/CMakeLists.txt set( SOURCES "m_serialize.f90" ) add_library(fortranser_files OBJECT ${SOURCES}) add_library( FortranSer STATIC ${SOURCES} ) install( TARGETS FortranSer DESTINATION lib/ ) <|file_sep|>current/fortran/CMakeLists.txt set( SOURCES "m_serialize.f90" ) add...
set( SOURCES "m_serialize.f90" "utils_ppser.f90" ) add_library(fortranser_files OBJECT ${SOURCES}) add_library( FortranSer STATIC ${SOURCES} ) install( TARGETS FortranSer DESTINATION lib/ )
<|file_sep|>original/fortran/CMakeLists.txt set( SOURCES "m_serialize.f90" ) add_library(fortranser_files OBJECT ${SOURCES}) add_library( FortranSer STATIC ${SOURCES} ) install( TARGETS FortranSer DESTINATION lib/ ) <|file_sep|>current/fortran/CMakeLists.txt set( SOURCES "m_serialize.f90" ) add...
29774baa20cfb07f5b5de7570a37247f0d51c302
fortran/CMakeLists.txt
fortran/CMakeLists.txt
Text
<|file_sep|>go/apps/jsbox/templates/jsbox/jsbox_logs.html.diff original: updated: <h1>Logs</h1> <|file_sep|>original/go/apps/jsbox/templates/jsbox/jsbox_logs.html <h1><a href="{% url 'conversations:index' %}">Conversations</a> &raquo; {{conversation.name}}</h1> </div> ...
<h1><a href="{% url 'conversations:index' %}">Conversations</a> &raquo; {{conversation.name}}</h1> </div> </div> </div> <div class="row"> <div class="span12"> <div id="logs"> <h1>Logs</h1> <table> <tbody> ...
<|file_sep|>go/apps/jsbox/templates/jsbox/jsbox_logs.html.diff original: updated: <h1>Logs</h1> <|file_sep|>original/go/apps/jsbox/templates/jsbox/jsbox_logs.html <h1><a href="{% url 'conversations:index' %}">Conversations</a> &raquo; {{conversation.name}}</h1> </div> ...
e3d323cf1ed7af31d1a38d9df7473e958eebfe0b
go/apps/jsbox/templates/jsbox/jsbox_logs.html
go/apps/jsbox/templates/jsbox/jsbox_logs.html
HTML
<|file_sep|>src/app/move-popup/press-tip.directive.js.diff original: updated: let timer = null; <|file_sep|>src/app/move-popup/press-tip.directive.js.diff original: updated: $element.on('mouseenter', (e) => { timer = setTimeout(() => { showTip(); }, 300); }); <|file_sep|>o...
$element.on('mousedown touchstart', (e) => { e.preventDefault(); showTip(); }); $element.on('mouseup mouseleave touchend', (e) => { e.preventDefault(); if (tooltip) { tooltip.hide(); } clearTimeout(timer); }); $scope.$on('$destroy...
<|file_sep|>src/app/move-popup/press-tip.directive.js.diff original: updated: let timer = null; <|file_sep|>src/app/move-popup/press-tip.directive.js.diff original: updated: $element.on('mouseenter', (e) => { timer = setTimeout(() => { showTip(); }, 300); }); <|file_sep|>o...
c297483328ab0b4c77c87ee51b86112c364c4407
src/app/move-popup/press-tip.directive.js
src/app/move-popup/press-tip.directive.js
JavaScript
<|file_sep|>.zsh/40_completion.zsh.diff original: eval "$(dircolors)" updated: eval "$(dircolors -b)" <|file_sep|>original/.zsh/40_completion.zsh if ! (type compinit &>/dev/null) ; then autoload -Uz compinit compinit -u fi # Set LS_COLORS variable if [[ -z "${LS_COLORS}" ]]; then if type dircolors &>/dev/null; ...
if ! (type compinit &>/dev/null) ; then autoload -Uz compinit compinit -u fi # Set LS_COLORS variable if [[ -z "${LS_COLORS}" ]]; then if type dircolors &>/dev/null; then eval "$(dircolors -b)" elif type gdircolors &>/dev/null; then eval "$(gdircolors -b)" fi fi zstyle ':completion:*:default' menu select=1 i...
<|file_sep|>.zsh/40_completion.zsh.diff original: eval "$(dircolors)" updated: eval "$(dircolors -b)" <|file_sep|>original/.zsh/40_completion.zsh if ! (type compinit &>/dev/null) ; then autoload -Uz compinit compinit -u fi # Set LS_COLORS variable if [[ -z "${LS_COLORS}" ]]; then if type dircolors &>/dev/null; ...
a7011e0f052c73782fe40ba3eabe286caeadc51f
.zsh/40_completion.zsh
.zsh/40_completion.zsh
Shell
<|file_sep|>src/app/core/constants/constants.js.diff original: .factory('constants', function() { updated: .factory('constants', function () { <|file_sep|>original/src/app/core/constants/constants.js 'use strict'; angular.module('koastAdminApp.core.constants', []) .factory('constants', function() { return { ...
'use strict'; angular.module('koastAdminApp.core.constants', []) .factory('constants', function () { return { adminPath: 'http://localhost:3000/admin', // TODO make this a server side configuration option and add endpoints to // facilitate selection awsBucket: 'test-koast' }; });
<|file_sep|>src/app/core/constants/constants.js.diff original: .factory('constants', function() { updated: .factory('constants', function () { <|file_sep|>original/src/app/core/constants/constants.js 'use strict'; angular.module('koastAdminApp.core.constants', []) .factory('constants', function() { return { ...
92ea30a750cc604cf72df36d8a18a95eb52946e6
src/app/core/constants/constants.js
src/app/core/constants/constants.js
JavaScript
<|file_sep|>original/README.org * clojure-site 日本語訳プロジェクト <|file_sep|>current/README.org * clojure-site 日本語訳プロジェクト <|file_sep|>updated/README.org
* clojure-site 日本語訳プロジェクト [[https://circleci.com/gh/japan-clojurians/clojure-site-ja.svg?style=svg]]
<|file_sep|>original/README.org * clojure-site 日本語訳プロジェクト <|file_sep|>current/README.org * clojure-site 日本語訳プロジェクト <|file_sep|>updated/README.org * clojure-site 日本語訳プロジェクト [[https://circleci.com/gh/japan-clojurians/clojure-site-ja.svg?style=svg]]
c434b0d837ddeb6a05692fa78416a735e7df03c8
README.org
README.org
Org
<|file_sep|>original/app/js/app.js 'use strict'; var eventsApp = angular.module('eventsApp', ['ngResource']) .factory('myCache', function($cacheFactory) { return $cacheFactory('myCache', {capacity: 3}); }); <|file_sep|>current/app/js/app.js 'use strict'; var eventsApp = angular.module('eventsApp', ['ngResource'])...
'use strict'; var eventsApp = angular.module('eventsApp', ['ngResource', 'ngCookies']) .factory('myCache', function($cacheFactory) { return $cacheFactory('myCache', {capacity: 3}); });
<|file_sep|>original/app/js/app.js 'use strict'; var eventsApp = angular.module('eventsApp', ['ngResource']) .factory('myCache', function($cacheFactory) { return $cacheFactory('myCache', {capacity: 3}); }); <|file_sep|>current/app/js/app.js 'use strict'; var eventsApp = angular.module('eventsApp', ['ngResource'])...
5b193ca4cabc1278372c7a052c99dcd3842e8e1f
app/js/app.js
app/js/app.js
JavaScript
<|file_sep|>webroot/handler.php.diff original: updated: * @author David Vandemaele <david@tigron.be> <|file_sep|>original/webroot/handler.php <?php /** * Initialize the application * * @author Christophe Gosiau <christophe@tigron.be> * @author Gerry Demaret <gerry@tigron.be> */ require_once '../config/global.ph...
<?php /** * Initialize the application * * @author Christophe Gosiau <christophe@tigron.be> * @author Gerry Demaret <gerry@tigron.be> * @author David Vandemaele <david@tigron.be> */ require_once dirname(__FILE__) . '/../config/global.php'; \Skeleton\Core\Web\Handler::Run();
<|file_sep|>webroot/handler.php.diff original: updated: * @author David Vandemaele <david@tigron.be> <|file_sep|>original/webroot/handler.php <?php /** * Initialize the application * * @author Christophe Gosiau <christophe@tigron.be> * @author Gerry Demaret <gerry@tigron.be> */ require_once '../config/global.ph...
e9c7fc7560413ce636a039bc975fe4207a5ece99
webroot/handler.php
webroot/handler.php
PHP
<|file_sep|>original/README.md # FF14 tools website Code for Mireiawen's [Final Fantasy XIV tools website](https://ff14.mireiawen.net/) <|file_sep|>current/README.md # FF14 tools website Code for Mireiawen's [Final Fantasy XIV tools website](https://ff14.mireiawen.net/) <|file_sep|>updated/README.md
# FF14 tools website Code for Mireiawen's [Final Fantasy XIV tools website](https://ff14.mireiawen.net/) ## Installation ### Requirements This has been tested with Linux servers only. It may or may not work on Windows server. Live sites runs on PHP 5.6 and Nginx, with MariaDB 10.1. ### Nginx Clean URLs should work ...
<|file_sep|>original/README.md # FF14 tools website Code for Mireiawen's [Final Fantasy XIV tools website](https://ff14.mireiawen.net/) <|file_sep|>current/README.md # FF14 tools website Code for Mireiawen's [Final Fantasy XIV tools website](https://ff14.mireiawen.net/) <|file_sep|>updated/README.md # FF14 tools webs...
f090ee9269438d1e63920aac0fe26e25a7a212ba
README.md
README.md
Markdown
<|file_sep|>tests/run_python_unittests.sh.diff original: updated: TESTS=tests if [ $# -ge 1 ] && [ -n "$1" ]; then echo "Only testing $1" TESTS=$* fi <|file_sep|>tests/run_python_unittests.sh.diff original: tests updated: $TESTS <|file_sep|>original/tests/run_python_unittests.sh s...
--with-xunit \ --xunit-file=nosetests.xml \ $TESTS # Handle coverage errors explicitly set +e echo "Test coverage" coverage report -m --fail-under=100 --include=$SMROOT/tests/* if [ $# -eq 0 ] && [ $? -ne 0 ] then echo "Test code not fully covered" ...
<|file_sep|>tests/run_python_unittests.sh.diff original: updated: TESTS=tests if [ $# -ge 1 ] && [ -n "$1" ]; then echo "Only testing $1" TESTS=$* fi <|file_sep|>tests/run_python_unittests.sh.diff original: tests updated: $TESTS <|file_sep|>original/tests/run_python_unittests.sh s...
36da32aad55379cd7c5aa7db4bc3832b0d6c3551
tests/run_python_unittests.sh
tests/run_python_unittests.sh
Shell
<|file_sep|>original/doc/model/model_decla.py <|file_sep|>current/doc/model/model_decla.py <|file_sep|>updated/doc/model/model_decla.py
#autogenerated by sqlautocode from sqlalchemy import * from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import relation engine = create_engine('mysql://monty:passwd@localhost/test_dia') DeclarativeBase = declarative_base() metadata = DeclarativeBase.metadata metadata.bind = engine class Me...
<|file_sep|>original/doc/model/model_decla.py <|file_sep|>current/doc/model/model_decla.py <|file_sep|>updated/doc/model/model_decla.py #autogenerated by sqlautocode from sqlalchemy import * from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import relation engine = create_engine('mysql://m...
896270bcd99b26e4128fd35dd3821a59807ae850
doc/model/model_decla.py
doc/model/model_decla.py
Python
<|file_sep|>test/testCases/compiler.js.diff original: var nameCount updated: <|file_sep|>original/test/testCases/compiler.js var std = require('std'), compiler = require('../../lib/compiler'), a = require('../astMocks') test('compiles something', a.static(1), function(output, assert) { assert.ok(!!std.strip(outpu...
var std = require('std'), compiler = require('../../lib/compiler'), a = require('../astMocks') test('compiles something', a.static(1), function(output, assert) { assert.ok(!!std.strip(output)) }) /* UTIL */ function test(name, ast, fn) { module.exports['test ' +name] = function(assert) { var output = compile(a...
<|file_sep|>test/testCases/compiler.js.diff original: var nameCount updated: <|file_sep|>original/test/testCases/compiler.js var std = require('std'), compiler = require('../../lib/compiler'), a = require('../astMocks') test('compiles something', a.static(1), function(output, assert) { assert.ok(!!std.strip(outpu...
22fb9cf88a3e1780310770b30304451707bb7e44
test/testCases/compiler.js
test/testCases/compiler.js
JavaScript
<|file_sep|>original/common/profile_default/ipython_notebook_config.py c = get_config() c.NotebookApp.ip = '*' c.NotebookApp.open_browser = False c.NotebookApp.port = 8888 # Whether to trust or not X-Scheme/X-Forwarded-Proto and X-Real-Ip/X-Forwarded- # For headerssent by the upstream reverse proxy. Necessary if the p...
c = get_config() c.NotebookApp.ip = '*' c.NotebookApp.open_browser = False c.NotebookApp.port = 8888 # Whether to trust or not X-Scheme/X-Forwarded-Proto and X-Real-Ip/X-Forwarded- # For headerssent by the upstream reverse proxy. Necessary if the proxy handles # SSL c.NotebookApp.trust_xheaders = True # Include our e...
<|file_sep|>original/common/profile_default/ipython_notebook_config.py c = get_config() c.NotebookApp.ip = '*' c.NotebookApp.open_browser = False c.NotebookApp.port = 8888 # Whether to trust or not X-Scheme/X-Forwarded-Proto and X-Real-Ip/X-Forwarded- # For headerssent by the upstream reverse proxy. Necessary if the p...
d41005d14239a93237fb839084f029208b94539d
common/profile_default/ipython_notebook_config.py
common/profile_default/ipython_notebook_config.py
Python
<|file_sep|>original/ClientExample.jsx 'enable-drive': true, 'create-drive-path': true, security: 'any', 'ignore-cert': true, 'enable-wallpaper': false, }, }, }); this.tunnel = new Guacamole.WebSocketTunnel('ws://localhost:8080/'); this.client...
'enable-drive': true, 'create-drive-path': true, security: 'any', 'ignore-cert': true, 'enable-wallpaper': false, }, }, }); this.tunnel = new Guacamole.WebSocketTunnel('ws://localhost:8080/'); this.client = new Guacamole.Client(this.tunnel); ...
<|file_sep|>original/ClientExample.jsx 'enable-drive': true, 'create-drive-path': true, security: 'any', 'ignore-cert': true, 'enable-wallpaper': false, }, }, }); this.tunnel = new Guacamole.WebSocketTunnel('ws://localhost:8080/'); this.client...
4e5ccb6609d849e8467a1fad4a6e3ffb6bf7c229
ClientExample.jsx
ClientExample.jsx
JSX
<|file_sep|>original/requirements/base.txt django==1.9.7 colorlog==2.6.0 docopt==0.6.2 django-mptt==0.8.5 djangorestframework-csv==1.4.1 tqdm==4.8.3 # progress bars requests==2.10.0 https://github.com/cherrypy/cherrypy/archive/v6.2.0.zip#egg=cherrypy https://github.com/learningequality/barbequeue/ar...
django==1.9.7 colorlog==2.6.0 docopt==0.6.2 django-mptt==0.8.5 djangorestframework-csv==1.4.1 tqdm==4.8.3 # progress bars requests==2.10.0 https://github.com/cherrypy/cherrypy/archive/v6.2.0.zip#egg=cherrypy https://github.com/learningequality/barbequeue/archive/b0189.zip#egg=barbequeue porter2stemm...
<|file_sep|>original/requirements/base.txt django==1.9.7 colorlog==2.6.0 docopt==0.6.2 django-mptt==0.8.5 djangorestframework-csv==1.4.1 tqdm==4.8.3 # progress bars requests==2.10.0 https://github.com/cherrypy/cherrypy/archive/v6.2.0.zip#egg=cherrypy https://github.com/learningequality/barbequeue/ar...
fe633509202a9425fd899dc39127b1aaf305e88a
requirements/base.txt
requirements/base.txt
Text
<|file_sep|>app/modules/components/reviewcard/kkReviewCardTemplate.html.diff original: <div class="card__btn pull-left" ng-click="flip()"> updated: <div class="card__btn pull-left"> <|file_sep|>original/app/modules/components/reviewcard/kkReviewCardTemplate.html <div class="card__btn...
<div class="card__btn pull-left"> <i class="fa fa-refresh"></i> </div> </div> <div class="card__back"> <div class="card__text"> {{ character.en }} </div> <div class="card__btn pull-left"> <i cla...
<|file_sep|>app/modules/components/reviewcard/kkReviewCardTemplate.html.diff original: <div class="card__btn pull-left" ng-click="flip()"> updated: <div class="card__btn pull-left"> <|file_sep|>original/app/modules/components/reviewcard/kkReviewCardTemplate.html <div class="card__btn...
8d7cf4e9f0501306f7b353c03f7a891af5e9505c
app/modules/components/reviewcard/kkReviewCardTemplate.html
app/modules/components/reviewcard/kkReviewCardTemplate.html
HTML
<|file_sep|>ca_uoguelph_ccs_sidebar/config_template.xml.diff original: <property name="enable_help">true</property> <property name="helpurl">http://www.uoguelph.ca/ccs/gryph-mail/extensions/news-events-sidebar</property> updated: <|file_sep|>original/ca_uoguelph_ccs_sidebar/config_template.xml <zimletConfig na...
<zimletConfig name="ca_uoguelph_ccs_sidebar" version="1.7"> <global> <property name="enable_today">true</property> <property name="enable_tomorrow">true</property> <property name="enable_week">true</property> <property name="enable_tasks">true</property> <property name="enable_news">true</property...
<|file_sep|>ca_uoguelph_ccs_sidebar/config_template.xml.diff original: <property name="enable_help">true</property> <property name="helpurl">http://www.uoguelph.ca/ccs/gryph-mail/extensions/news-events-sidebar</property> updated: <|file_sep|>original/ca_uoguelph_ccs_sidebar/config_template.xml <zimletConfig na...
82f97363c2ea3b523838019e26b3bfcb950ea789
ca_uoguelph_ccs_sidebar/config_template.xml
ca_uoguelph_ccs_sidebar/config_template.xml
XML
<|file_sep|>original/requirements.txt numpy==1.14.0 scipy>=0.19.0 astropy>=1.3.2 pandas>=0.19.2 matplotlib>=2.0.1 hypothesis>=3.9.0 PyAstronomy>=0.10.1 requests>=2.13.0 seaborn>=0.7.1 astroquery==0.3.7 lineid_plot==0.5 isochrones==1.1 <|file_sep|>current/requirements.txt numpy==1.14.0 scipy>=0.19.0 astropy>=1.3.2 panda...
numpy==1.14.2 scipy>=0.19.0 astropy>=1.3.2 pandas>=0.19.2 matplotlib>=2.0.1 hypothesis>=3.9.0 PyAstronomy>=0.10.1 requests>=2.13.0 seaborn>=0.7.1 astroquery==0.3.7 lineid_plot==0.5 isochrones==1.1
<|file_sep|>original/requirements.txt numpy==1.14.0 scipy>=0.19.0 astropy>=1.3.2 pandas>=0.19.2 matplotlib>=2.0.1 hypothesis>=3.9.0 PyAstronomy>=0.10.1 requests>=2.13.0 seaborn>=0.7.1 astroquery==0.3.7 lineid_plot==0.5 isochrones==1.1 <|file_sep|>current/requirements.txt numpy==1.14.0 scipy>=0.19.0 astropy>=1.3.2 panda...
2becba206a2307ebb60c6455a855d09474c66be0
requirements.txt
requirements.txt
Text
<|file_sep|>original/app/models/wine_region.rb class WineRegion < ApplicationRecord validates_presence_of :name belongs_to :country belongs_to :state # had_many :appellations # has_and_belongs_to_many :varietals end <|file_sep|>current/app/models/wine_region.rb class WineRegion < ApplicationRecord validates...
class WineRegion < ApplicationRecord validates_presence_of :name belongs_to :country belongs_to :state, optional: true # had_many :appellations # has_and_belongs_to_many :varietals end
<|file_sep|>original/app/models/wine_region.rb class WineRegion < ApplicationRecord validates_presence_of :name belongs_to :country belongs_to :state # had_many :appellations # has_and_belongs_to_many :varietals end <|file_sep|>current/app/models/wine_region.rb class WineRegion < ApplicationRecord validates...
3a60dc221546eaa4cef5d658305c95f53e5c688e
app/models/wine_region.rb
app/models/wine_region.rb
Ruby
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" <|file_sep|>current/.travis.yml language: node_js node_js: - "0.10" <|file_sep|>updated/.travis.yml
language: node_js node_js: - "0.10" before_install: npm install -g grunt-cli
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" <|file_sep|>current/.travis.yml language: node_js node_js: - "0.10" <|file_sep|>updated/.travis.yml language: node_js node_js: - "0.10" before_install: npm install -g grunt-cli
0f167d6ba29aeb778ba9585252a16a2c6a43245b
.travis.yml
.travis.yml
YAML
<|file_sep|>config/ldap.yml.diff original: host: <%= ENV['SOMERVILLE_LDAP_HOST'] %> port: <%= ENV['SOMERVILLE_LDAP_PORT'] %> updated: host: <%= ENV['DISTRICT_LDAP_HOST'] %> port: <%= ENV['DISTRICT_LDAP_PORT'] %> <|file_sep|>original/config/ldap.yml # required_groups: # # If only a group name is given, mem...
# required_groups: # # If only a group name is given, membership will be checked against "uniqueMember" # - cn=admins,ou=groups,dc=test,dc=com # - cn=users,ou=groups,dc=test,dc=com # # If an array is given, the first element will be the attribute to check against, the second the group name # - ["m...
<|file_sep|>config/ldap.yml.diff original: host: <%= ENV['SOMERVILLE_LDAP_HOST'] %> port: <%= ENV['SOMERVILLE_LDAP_PORT'] %> updated: host: <%= ENV['DISTRICT_LDAP_HOST'] %> port: <%= ENV['DISTRICT_LDAP_PORT'] %> <|file_sep|>original/config/ldap.yml # required_groups: # # If only a group name is given, mem...
d2b4c45a781eb57ccae1813ff20468c4b6770333
config/ldap.yml
config/ldap.yml
YAML
<|file_sep|>original/htdocs/samples/element.html <|file_sep|>current/htdocs/samples/element.html <|file_sep|>updated/htdocs/samples/element.html
<html> <head> <link rel="stylesheet" type="text/css" href="/css/c3.css"> </head> <body> <!-- <div id="chart"></div>--> <script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script> <script src="/js/c3.js"></script> <script> var chart = c3.generate({ data: { colum...
<|file_sep|>original/htdocs/samples/element.html <|file_sep|>current/htdocs/samples/element.html <|file_sep|>updated/htdocs/samples/element.html <html> <head> <link rel="stylesheet" type="text/css" href="/css/c3.css"> </head> <body> <!-- <div id="chart"></div>--> <script src="http://d3js.org/d3.v3.m...
5f8f1cbd6115d83d45a8530eecd4d307a5c7ad6a
htdocs/samples/element.html
htdocs/samples/element.html
HTML
<|file_sep|>original/pylinks/main/models.py from django.contrib.sites.models import Site class DatedModel(models.Model): created_time = models.DateTimeField(auto_now_add=True, null=True) updated_time = models.DateTimeField(auto_now=True, null=True) class Meta: abstract = True get_latest_b...
class Meta: abstract = True get_latest_by = 'updated_time' class SiteInfo(models.Model): site = models.OneToOneField(Site, primary_key=True) description = models.TextField(null=True) def __unicode__(self): return unicode(self.site) class Meta: verbose_name_plural ...
<|file_sep|>original/pylinks/main/models.py from django.contrib.sites.models import Site class DatedModel(models.Model): created_time = models.DateTimeField(auto_now_add=True, null=True) updated_time = models.DateTimeField(auto_now=True, null=True) class Meta: abstract = True get_latest_b...
c035b951d85ffc60598968ca5a277afc416446a3
pylinks/main/models.py
pylinks/main/models.py
Python
<|file_sep|>original/README.md - SDL - CMake - Clang - Linux or Mac (Windows might or might not work, I couldn't get it working) ## Build Instruction Clone this project and cd into the directory. Then issue this command: ``clang++ main.cpp sdl-config --libs --cflag`` ## Todo - [x] Make the program GCC compatible (...
- SDL - CMake - Clang - Linux or Mac (Windows might or might not work, I couldn't get it working) ## Build Instruction Clone this project and cd into the directory. Then issue this command: ``clang++ main.cpp sdl-config --libs --cflag`` ## Todo - [x] Make the program GCC compatible (Remove clang optimization flag)...
<|file_sep|>original/README.md - SDL - CMake - Clang - Linux or Mac (Windows might or might not work, I couldn't get it working) ## Build Instruction Clone this project and cd into the directory. Then issue this command: ``clang++ main.cpp sdl-config --libs --cflag`` ## Todo - [x] Make the program GCC compatible (...
96e72a4065908cb6342b0b5780538f5ec656ea9a
README.md
README.md
Markdown
<|file_sep|>project/build.sbt.diff original: "socrata snapshots" at "http://repository-socrata-oss.forge.cloudbees.com/snapshot", updated: <|file_sep|>original/project/build.sbt resolvers ++= Seq( "socrata snapshots" at "http://repository-socrata-oss.forge.cloudbees.com/snapshot", "socrata releases" at "http://r...
resolvers ++= Seq( "socrata releases" at "http://repository-socrata-oss.forge.cloudbees.com/release" ) addSbtPlugin("com.socrata" % "socrata-cloudbees-sbt" % "1.0.0")
<|file_sep|>project/build.sbt.diff original: "socrata snapshots" at "http://repository-socrata-oss.forge.cloudbees.com/snapshot", updated: <|file_sep|>original/project/build.sbt resolvers ++= Seq( "socrata snapshots" at "http://repository-socrata-oss.forge.cloudbees.com/snapshot", "socrata releases" at "http://r...
4694d1f7bec6ea1b8a7fa21029149b69ea6c1574
project/build.sbt
project/build.sbt
Scala
<|file_sep|>original/ruby-solutions/find_the_difference.rb <|file_sep|>current/ruby-solutions/find_the_difference.rb <|file_sep|>updated/ruby-solutions/find_the_difference.rb
# @param {String} s # @param {String} t # @return {Character} def find_the_difference(s, t) output = "" dict = {} s.chars.map do |val| dict[val] = dict[val] ? dict[val] += 1 : 1 end t.chars.map do |val| dict[val] = dict[val] ? dict[val] += 1 : 1 end dict.keys.map do |key| output << key if d...
<|file_sep|>original/ruby-solutions/find_the_difference.rb <|file_sep|>current/ruby-solutions/find_the_difference.rb <|file_sep|>updated/ruby-solutions/find_the_difference.rb # @param {String} s # @param {String} t # @return {Character} def find_the_difference(s, t) output = "" dict = {} s.chars.map do |val| ...
e7162f254e1ef6d59c52552e76fa67d9a19b3258
ruby-solutions/find_the_difference.rb
ruby-solutions/find_the_difference.rb
Ruby
<|file_sep|>README.md.diff original: The Settlers II.net Map Generator ================================= updated: **NOTE!** This project is being refactored for better code reuse. <|file_sep|>README.md.diff original: Generates random maps for [The Settlers II](http://settlers2.net/) and [Return to the Roots](http://www...
**NOTE!** This project is being refactored for better code reuse. # Map Generator JavaScript utilities for working with 2D game maps and terrains for the purpose of generating cool looking fields to play with. See the [TODO list](https://github.com/Merri/map-generator/wiki) @ wiki. ### Notes This project started a...
<|file_sep|>README.md.diff original: The Settlers II.net Map Generator ================================= updated: **NOTE!** This project is being refactored for better code reuse. <|file_sep|>README.md.diff original: Generates random maps for [The Settlers II](http://settlers2.net/) and [Return to the Roots](http://www...
f0ed513119807032d33ea05fdb9043bf70ad28b6
README.md
README.md
Markdown
<|file_sep|>original/.circleci/config.yml orbs: node: circleci/node@4.1 jobs: build-and-test: docker: - image: cimg/node:lts steps: - checkout - node/install-packages - run: name: Run tests (qunit) command: npm run test:cli - run: name: Run tests ...
version: 2.1 orbs: node: circleci/node@4.1 jobs: build-and-test: docker: - image: cimg/node:lts steps: - checkout - node/install-packages - run: name: Run tests (mocha) command: npm run test:mocha workflows: main: jobs: - build-and-test
<|file_sep|>original/.circleci/config.yml orbs: node: circleci/node@4.1 jobs: build-and-test: docker: - image: cimg/node:lts steps: - checkout - node/install-packages - run: name: Run tests (qunit) command: npm run test:cli - run: name: Run tests ...
2bfcda8b6e2fee6870107ccb0171b72530130ded
.circleci/config.yml
.circleci/config.yml
YAML
<|file_sep|>leap/test.pony.diff original: updated: actor Main is TestList new create(env: Env) => PonyTest(env, this) <|file_sep|>leap/test.pony.diff original: actor Main updated: new make() => None <|file_sep|>leap/test.pony.diff original: new create(env: Env) => var test = PonyTest(env) test(r...
new create(env: Env) => PonyTest(env, this) new make() => None fun tag tests(test: PonyTest) => test(_LeapTest) class _LeapTest iso is UnitTest """ Test Leap package """ fun name(): String => "leap/Leap" fun apply(h: TestHelper): TestResult => h.expect_true(Leap(1996), "Testing a lea...
<|file_sep|>leap/test.pony.diff original: updated: actor Main is TestList new create(env: Env) => PonyTest(env, this) <|file_sep|>leap/test.pony.diff original: actor Main updated: new make() => None <|file_sep|>leap/test.pony.diff original: new create(env: Env) => var test = PonyTest(env) test(r...
9c4775e83b7e7d8d0fdbeba4ffdbca7d5b871832
leap/test.pony
leap/test.pony
Pony
<|file_sep|>src/test/java/info/u_team/u_team_test/init/TestColors.java.diff original: import info.u_team.u_team_test.TestMod; import net.minecraftforge.api.distmarker.Dist; updated: <|file_sep|>src/test/java/info/u_team/u_team_test/init/TestColors.java.diff original: import net.minecraftforge.eventbus.api.SubscribeEve...
package info.u_team.u_team_test.init; import java.awt.Color; import net.minecraftforge.client.event.ColorHandlerEvent; import net.minecraftforge.eventbus.api.IEventBus; public class TestColors { private static void colorItem(ColorHandlerEvent.Item event) { // This use the awt color class. Might not work but was...
<|file_sep|>src/test/java/info/u_team/u_team_test/init/TestColors.java.diff original: import info.u_team.u_team_test.TestMod; import net.minecraftforge.api.distmarker.Dist; updated: <|file_sep|>src/test/java/info/u_team/u_team_test/init/TestColors.java.diff original: import net.minecraftforge.eventbus.api.SubscribeEve...
18c8bb9e3e0e48c2f02c30f106c085101cafdab9
src/test/java/info/u_team/u_team_test/init/TestColors.java
src/test/java/info/u_team/u_team_test/init/TestColors.java
Java
<|file_sep|>original/misc/uninstall.bat echo Removing BetterDiscord... echo. :: Delete %appdata%\BetterDiscord call:deleteFolder %appdata%\BetterDiscord :: Remove BetterDiscord from all app versions for /d %%G in ("%localappdata%\Discord\app-*") do ( call:deleteFolder "%%G\resources\node_modules\BetterDiscord" ...
echo Removing BetterDiscord... echo. :: Delete %appdata%\BetterDiscord call:deleteFolder %appdata%\BetterDiscord :: Remove BetterDiscord from all app versions for /d %%G in ("%localappdata%\Discord\app-*") do ( call:deleteFolder "%%G\resources\node_modules\BetterDiscord" call:deleteFolder "%%G\resources\app" ...
<|file_sep|>original/misc/uninstall.bat echo Removing BetterDiscord... echo. :: Delete %appdata%\BetterDiscord call:deleteFolder %appdata%\BetterDiscord :: Remove BetterDiscord from all app versions for /d %%G in ("%localappdata%\Discord\app-*") do ( call:deleteFolder "%%G\resources\node_modules\BetterDiscord" ...
9ae3b5ba693c1e2fc77fade2419d9a4f8f7a7ef8
misc/uninstall.bat
misc/uninstall.bat
Batchfile
<|file_sep|>original/src/java/edu/csus/ecs/moneybeets/narvaro/database/DatabaseType.java <|file_sep|>current/src/java/edu/csus/ecs/moneybeets/narvaro/database/DatabaseType.java <|file_sep|>updated/src/java/edu/csus/ecs/moneybeets/narvaro/database/DatabaseType.java
/** * Narvaro: @VERSION@ * Build Date: @DATE@ * Commit Head: @HEAD@ * JDK: @JDK@ * ANT: @ANT@ * */ package edu.csus.ecs.moneybeets.narvaro.database; /** * Narvaro supported database types. * */ public enum DatabaseType { sqlserver, mysql,
<|file_sep|>original/src/java/edu/csus/ecs/moneybeets/narvaro/database/DatabaseType.java <|file_sep|>current/src/java/edu/csus/ecs/moneybeets/narvaro/database/DatabaseType.java <|file_sep|>updated/src/java/edu/csus/ecs/moneybeets/narvaro/database/DatabaseType.java /** * Narvaro: @VERSION@ * Build Date: @DATE@ * Co...
c940c721cbdd6bbb19e053dc756e6f9f8a8f6068
src/java/edu/csus/ecs/moneybeets/narvaro/database/DatabaseType.java
src/java/edu/csus/ecs/moneybeets/narvaro/database/DatabaseType.java
Java
<|file_sep|>original/app/views/home/index.atom.builder # http://www.atomenabled.org/developers/syndication/ items = controller.controller_name item = items.singularize assets = controller.instance_variable_get("@#{items}") atom_feed do |feed| feed.title t(:activities) feed.updated @activities.max { |a, b| a.upd...
# http://www.atomenabled.org/developers/syndication/ items = controller.controller_name item = items.singularize assets = controller.instance_variable_get("@#{items}") atom_feed do |feed| feed.title t(:activities) feed.updated @activities.max { |a, b| a.updated_at <=> b.updated_at }.try(:updated_at) feed.gene...
<|file_sep|>original/app/views/home/index.atom.builder # http://www.atomenabled.org/developers/syndication/ items = controller.controller_name item = items.singularize assets = controller.instance_variable_get("@#{items}") atom_feed do |feed| feed.title t(:activities) feed.updated @activities.max { |a, b| a.upd...
d30656a5d63157597a367350c83a302951d06168
app/views/home/index.atom.builder
app/views/home/index.atom.builder
Ruby
<|file_sep|>lib/helpers.coffee.diff original: if fs.existsSync(userKeymapPath) updated: if fs.isFileSync(userKeymapPath) <|file_sep|>original/lib/helpers.coffee if fs.existsSync(userKeymapPath) linter.checkKeymap(CSON.readFileSync(atom.keymaps.getUserKeymapPath()), { packageName: "your local #{path.b...
if fs.isFileSync(userKeymapPath) linter.checkKeymap(CSON.readFileSync(atom.keymaps.getUserKeymapPath()), { packageName: "your local #{path.basename(userKeymapPath)} file", packagePath: "", sourcePath: userKeymapPath }) userStyleSheetPath = atom.styles.getUserStyleSheetPath() i...
<|file_sep|>lib/helpers.coffee.diff original: if fs.existsSync(userKeymapPath) updated: if fs.isFileSync(userKeymapPath) <|file_sep|>original/lib/helpers.coffee if fs.existsSync(userKeymapPath) linter.checkKeymap(CSON.readFileSync(atom.keymaps.getUserKeymapPath()), { packageName: "your local #{path.b...
b759f8c5f08eb31b2a03212fa20dfa3aa1d9009b
lib/helpers.coffee
lib/helpers.coffee
CoffeeScript
<|file_sep|>README.md.diff original: This project is under active development. updated: This project is still in very early development stage - it does not support all of vimscript syntax and most features are not implemented yet. The long term goal is to implement vimscript AST that will allow for: * building langua...
* support all syntax of vimscript. ## Setup ### Build ```shell $ cargo build ``` Then, copy built binary to a location that is in your PATH. ### Configure in vim-lsp ```vim if executable('vimscript-language-server') au User lsp_setup call lsp#register_server({ \ 'name': 'vimscript-language-server', ...
<|file_sep|>README.md.diff original: This project is under active development. updated: This project is still in very early development stage - it does not support all of vimscript syntax and most features are not implemented yet. The long term goal is to implement vimscript AST that will allow for: * building langua...
d1e5848daa5cab34ba004d834f0ce03d2473454d
README.md
README.md
Markdown
<|file_sep|>original/DEPENDENCIES.md <|file_sep|>current/DEPENDENCIES.md <|file_sep|>updated/DEPENDENCIES.md
WorkbenchAuth depends on: * [AngularJS](https://angularjs.org/) * [Geo API](http://www.opengeospatial.org/ogc/software) * [Apache Commons](https://commons.apache.org/) * [Eclipse modeling framework](https://www.eclipse.org/modeling/emf/) * [Geotools](http://docs.geotools.org/latest/userguide/welcome/faq.html) * [Hiber...
<|file_sep|>original/DEPENDENCIES.md <|file_sep|>current/DEPENDENCIES.md <|file_sep|>updated/DEPENDENCIES.md WorkbenchAuth depends on: * [AngularJS](https://angularjs.org/) * [Geo API](http://www.opengeospatial.org/ogc/software) * [Apache Commons](https://commons.apache.org/) * [Eclipse modeling framework](https://w...
b8e3b6b91e4290f47c090a718a578e7aa22caefb
DEPENDENCIES.md
DEPENDENCIES.md
Markdown
<|file_sep|>original/docs/push_to_gs.sh <|file_sep|>current/docs/push_to_gs.sh <|file_sep|>updated/docs/push_to_gs.sh
#!/bin/bash MY_DIR=$(dirname "$(readlink "$0")") gsutil cp -r -z html -a public-read "$MY_DIR/html" gs://chrome-infra-docs/flat/depot_tools/docs/html
<|file_sep|>original/docs/push_to_gs.sh <|file_sep|>current/docs/push_to_gs.sh <|file_sep|>updated/docs/push_to_gs.sh #!/bin/bash MY_DIR=$(dirname "$(readlink "$0")") gsutil cp -r -z html -a public-read "$MY_DIR/html" gs://chrome-infra-docs/flat/depot_tools/docs/html
280f250691df74fa2f20be81d96947b3a5105e7c
docs/push_to_gs.sh
docs/push_to_gs.sh
Shell
<|file_sep|>original/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.2.1 tox==2.4.1 coverage==4.2 Sphinx==1.5 cryptography==1.5.3 PyYAML==3.12 pytest==3.0.5 <|file_sep|>current/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.2.1 tox==...
pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.2.1 tox==2.4.1 coverage==4.3.1 Sphinx==1.5 cryptography==1.5.3 PyYAML==3.12 pytest==3.0.5
<|file_sep|>original/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.2.1 tox==2.4.1 coverage==4.2 Sphinx==1.5 cryptography==1.5.3 PyYAML==3.12 pytest==3.0.5 <|file_sep|>current/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.2.1 tox==...
f8198364dc1be4effea0e8b18a2987e795deb2c2
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>metadata/cz.vitskalicky.lepsirozvrh.yml.diff original: updated: - versionName: 1.3.2 versionCode: 6 commit: v1.3.2 subdir: app gradle: - yes <|file_sep|>original/metadata/cz.vitskalicky.lepsirozvrh.yml - yes - versionName: '1.3' versionCode: 4 commit: v1.3 subd...
- yes - versionName: 1.3.1 versionCode: 5 commit: v1.3.1 subdir: app gradle: - yes - versionName: 1.3.2 versionCode: 6 commit: v1.3.2 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags UpdateCheckIgnore: beta preview CurrentVersion: 1.3.2...
<|file_sep|>metadata/cz.vitskalicky.lepsirozvrh.yml.diff original: updated: - versionName: 1.3.2 versionCode: 6 commit: v1.3.2 subdir: app gradle: - yes <|file_sep|>original/metadata/cz.vitskalicky.lepsirozvrh.yml - yes - versionName: '1.3' versionCode: 4 commit: v1.3 subd...
f5ceceac6a1f29014a88d99005189e114e5ca215
metadata/cz.vitskalicky.lepsirozvrh.yml
metadata/cz.vitskalicky.lepsirozvrh.yml
YAML
<|file_sep|>original/composer.json { "name": "boo1ean/shared", "description": "Shared storage using native shared memory functions", "keywords": ["storage", "shared", "shared memory", "shm"], "license": "MIT", "authors": [ { "name": "Egor Gumenyuk", "email": "boo1ean0...
{ "name": "boo1ean/shared", "description": "Shared storage using native shared memory functions", "keywords": ["storage", "shared", "shared memory", "shm"], "license": "MIT", "authors": [ { "name": "Egor Gumenyuk", "email": "boo1ean0807@gmail.com" } ], ...
<|file_sep|>original/composer.json { "name": "boo1ean/shared", "description": "Shared storage using native shared memory functions", "keywords": ["storage", "shared", "shared memory", "shm"], "license": "MIT", "authors": [ { "name": "Egor Gumenyuk", "email": "boo1ean0...
92c6309a9af21e280179b4de161dbe74bc764f22
composer.json
composer.json
JSON
<|file_sep|>original/requirements.txt execnet==1.5.0 jmespath==0.9.3 multidict==4.3.1 mypy==0.620 packaging==17.1 protobuf==3.6.1 pycares==2.3.0 pycodestyle==2.4.0 py==1.5.4 pyparsing==2.2.0 pytest==3.7.1 pytest-cov==2.5.1 pytest-forked==0.2 pytest-xdist==1.22.5 python-dateutil==2.7.3 pytz==2018.5 readme-renderer==21.0...
execnet==1.5.0 jmespath==0.9.3 multidict==4.3.1 mypy==0.620 packaging==17.1 protobuf==3.6.1 pycares==2.3.0 pycodestyle==2.4.0 py==1.5.4 pyparsing==2.2.0 pytest==3.7.2 pytest-cov==2.5.1 pytest-forked==0.2 pytest-xdist==1.22.5 python-dateutil==2.7.3 pytz==2018.5 readme-renderer==21.0 requests==2.19.1 six==1.11.0 tzlocal=...
<|file_sep|>original/requirements.txt execnet==1.5.0 jmespath==0.9.3 multidict==4.3.1 mypy==0.620 packaging==17.1 protobuf==3.6.1 pycares==2.3.0 pycodestyle==2.4.0 py==1.5.4 pyparsing==2.2.0 pytest==3.7.1 pytest-cov==2.5.1 pytest-forked==0.2 pytest-xdist==1.22.5 python-dateutil==2.7.3 pytz==2018.5 readme-renderer==21.0...
f7a29de0ef3e32546ad3bb63533dcde23cc4629c
requirements.txt
requirements.txt
Text
<|file_sep|>web/src/client/Config.js.diff original: maxValue: 65, updated: maxValue: 125, <|file_sep|>web/src/client/Config.js.diff original: maxValue: 65, updated: maxValue: 125, <|file_sep|>original/web/src/client/Config.js maxValue: 65, color: "...
maxValue: 125, color: "#F78900" }, fpsMin: { label: "FPS Min", maxValue: 125, color: "#800000" }, cps: { label: "CPS", maxValue: 125, color: "#E5E500" }, playerCount: { ...
<|file_sep|>web/src/client/Config.js.diff original: maxValue: 65, updated: maxValue: 125, <|file_sep|>web/src/client/Config.js.diff original: maxValue: 65, updated: maxValue: 125, <|file_sep|>original/web/src/client/Config.js maxValue: 65, color: "...
1d4c65af2e164189882901b5ed8c22a9ce4aab30
web/src/client/Config.js
web/src/client/Config.js
JavaScript
<|file_sep|>original/lib/spree_komoju/engine.rb module SpreeKomoju class Engine < Rails::Engine require 'spree/core' isolate_namespace Spree engine_name 'spree_komoju' initializer "spree.gateway.payment_methods", after: "spree.register.payment_methods" do |app| app.config.spree.payment_methods ...
module SpreeKomoju class Engine < Rails::Engine require 'spree/core' isolate_namespace Spree engine_name 'spree_komoju' initializer "spree.gateway.payment_methods", after: "spree.register.payment_methods" do |app| app.config.spree.payment_methods << Spree::Gateway::KomojuKonbini app.confi...
<|file_sep|>original/lib/spree_komoju/engine.rb module SpreeKomoju class Engine < Rails::Engine require 'spree/core' isolate_namespace Spree engine_name 'spree_komoju' initializer "spree.gateway.payment_methods", after: "spree.register.payment_methods" do |app| app.config.spree.payment_methods ...
76fcbbc9f19554bd88fc0cb71dd0abc0f8bccbe1
lib/spree_komoju/engine.rb
lib/spree_komoju/engine.rb
Ruby
<|file_sep|>original/package.json "engines": { "node": ">= 0.8.0" }, "scripts": { "test": "grunt test" }, "devDependencies": { "grunt-contrib-jshint": "^0.9.2", "grunt-contrib-nodeunit": "^0.3.3", "grunt": "~0.4.5" }, "peerDependencies": { "grunt": "~0.4.5" }, "keywords": [ ...
"engines": { "node": ">= 0.8.0" }, "scripts": { "test": "grunt test" }, "devDependencies": { "grunt-contrib-jshint": "^0.9.2", "grunt-contrib-nodeunit": "^0.3.3", "grunt": "~0.4.5" }, "peerDependencies": { "grunt": ">=0.4.0" }, "keywords": [ "gruntplugin" ], "dependenci...
<|file_sep|>original/package.json "engines": { "node": ">= 0.8.0" }, "scripts": { "test": "grunt test" }, "devDependencies": { "grunt-contrib-jshint": "^0.9.2", "grunt-contrib-nodeunit": "^0.3.3", "grunt": "~0.4.5" }, "peerDependencies": { "grunt": "~0.4.5" }, "keywords": [ ...
0f3d879f8e2c60d6a1f8981bc359743b35c5efa4
package.json
package.json
JSON
<|file_sep|>original/config/initializers/assets.rb # Be sure to restart your server when you modify this file. # Version of your assets, change this if you want to expire all your assets. Rails.application.config.assets.version = '1.0' Rails.application.config.assets.precompile += %w( materialize.css ) Rails.applicati...
# Be sure to restart your server when you modify this file. # Version of your assets, change this if you want to expire all your assets. Rails.application.config.assets.version = '1.0' # Add additional assets to the asset load path # Rails.application.config.assets.paths << Emoji.images_path # Precompile additional a...
<|file_sep|>original/config/initializers/assets.rb # Be sure to restart your server when you modify this file. # Version of your assets, change this if you want to expire all your assets. Rails.application.config.assets.version = '1.0' Rails.application.config.assets.precompile += %w( materialize.css ) Rails.applicati...
c004781c38aee65f81ba864e5a2f3a03407f80c6
config/initializers/assets.rb
config/initializers/assets.rb
Ruby
<|file_sep|>original/mdot_rest/migrations/0001_initial.py <|file_sep|>current/mdot_rest/migrations/0001_initial.py <|file_sep|>updated/mdot_rest/migrations/0001_initial.py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='ResourceLink', fields=[ ('id', models.AutoField...
<|file_sep|>original/mdot_rest/migrations/0001_initial.py <|file_sep|>current/mdot_rest/migrations/0001_initial.py <|file_sep|>updated/mdot_rest/migrations/0001_initial.py # -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration):...
5746ee3a5c07ea58631db85d43f103992d9e1e38
mdot_rest/migrations/0001_initial.py
mdot_rest/migrations/0001_initial.py
Python
<|file_sep|>original/pog_absolute_pointing.py <|file_sep|>current/pog_absolute_pointing.py <|file_sep|>updated/pog_absolute_pointing.py
import numpy as np from Chandra.Time import DateTime import plot_aimpoint # Get 99th percential absolute pointing radius plot_aimpoint.opt = plot_aimpoint.get_opt() asols = plot_aimpoint.get_asol() # Last six months of data asols = asols[asols['time'] > DateTime(-183).secs] # center of box of range of data mid_dy = (...
<|file_sep|>original/pog_absolute_pointing.py <|file_sep|>current/pog_absolute_pointing.py <|file_sep|>updated/pog_absolute_pointing.py import numpy as np from Chandra.Time import DateTime import plot_aimpoint # Get 99th percential absolute pointing radius plot_aimpoint.opt = plot_aimpoint.get_opt() asols = plot_ai...
ca002a18b7e392bbdca9d7e0ed8c39739dc5b4a3
pog_absolute_pointing.py
pog_absolute_pointing.py
Python
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - '7' - '6' - '4' <|file_sep|>current/.travis.yml sudo: false language: node_js node_js: - '7' - '6' - '4' <|file_sep|>updated/.travis.yml
sudo: false language: node_js node_js: - '8' - '6' - '4'
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - '7' - '6' - '4' <|file_sep|>current/.travis.yml sudo: false language: node_js node_js: - '7' - '6' - '4' <|file_sep|>updated/.travis.yml sudo: false language: node_js node_js: - '8' - '6' - '4'
7fc25c337bf90a942dd7d94a9c4e4e20602d5f7f
.travis.yml
.travis.yml
YAML
<|file_sep|>original/requirements.txt ansible-lint==4.3.7 docker==4.4.1 flake8==3.8.4 molecule==3.0.8 pytest==6.2.2 testinfra==6.0.0 tox==3.21.4 <|file_sep|>current/requirements.txt ansible-lint==4.3.7 docker==4.4.1 flake8==3.8.4 molecule==3.0.8 pytest==6.2.2 testinfra==6.0.0 tox==3.21.4 <|file_sep|>updated/requirement...
ansible-lint==4.3.7 docker==4.4.2 flake8==3.8.4 molecule==3.0.8 pytest==6.2.2 testinfra==6.0.0 tox==3.21.4
<|file_sep|>original/requirements.txt ansible-lint==4.3.7 docker==4.4.1 flake8==3.8.4 molecule==3.0.8 pytest==6.2.2 testinfra==6.0.0 tox==3.21.4 <|file_sep|>current/requirements.txt ansible-lint==4.3.7 docker==4.4.1 flake8==3.8.4 molecule==3.0.8 pytest==6.2.2 testinfra==6.0.0 tox==3.21.4 <|file_sep|>updated/requirement...
fe53bdf49fe6b01b04a3022254173df100dd47fa
requirements.txt
requirements.txt
Text
<|file_sep|>original/webpack/common.js export const globalOptions = { resolve: { extensions: ['', '.js', '.jsx'], }, }; export const serverEntry = path.resolve(__dirname, '../src/server/main.js'); export const frontendEntry = path.resolve(__dirname, '../src/web/main.jsx'); export const frontendPlugins = [ n...
export const globalOptions = { resolve: { extensions: ['', '.js', '.jsx'], }, }; export const serverEntry = path.resolve(__dirname, '../src/server/main.js'); export const frontendEntry = path.resolve(__dirname, '../src/web/main.jsx'); export const frontendPlugins = [ new webpack.ContextReplacementPlugin(/mo...
<|file_sep|>original/webpack/common.js export const globalOptions = { resolve: { extensions: ['', '.js', '.jsx'], }, }; export const serverEntry = path.resolve(__dirname, '../src/server/main.js'); export const frontendEntry = path.resolve(__dirname, '../src/web/main.jsx'); export const frontendPlugins = [ n...
a2a038b4a000feeb4b53fed8d76c6ebd5edd829f
webpack/common.js
webpack/common.js
JavaScript
<|file_sep|>original/web-client/src/main/java/uk/co/thinkofdeath/mapviewer/client/render/shaders/chunk_fragment.glsl vec2 pos = vTexturePos + fract(vTextureOffset) * vTextureSize; // I hate GLSL int tid = int(texture); if (tid == 0) { colour = texture2D(textures[0], pos); } else if (tid == 1...
vec2 pos = vTexturePos + fract(vTextureOffset) * vTextureSize; // I hate GLSL int tid = int(texture); if (tid == 0) { colour = texture2D(textures[0], pos); } else if (tid == 1) { colour = texture2D(textures[1], pos); } else if (tid == 2) { colour = texture2D(textures[2], ...
<|file_sep|>original/web-client/src/main/java/uk/co/thinkofdeath/mapviewer/client/render/shaders/chunk_fragment.glsl vec2 pos = vTexturePos + fract(vTextureOffset) * vTextureSize; // I hate GLSL int tid = int(texture); if (tid == 0) { colour = texture2D(textures[0], pos); } else if (tid == 1...
28c213df46401cbe4432120b5cc38372bdcff748
web-client/src/main/java/uk/co/thinkofdeath/mapviewer/client/render/shaders/chunk_fragment.glsl
web-client/src/main/java/uk/co/thinkofdeath/mapviewer/client/render/shaders/chunk_fragment.glsl
GLSL
<|file_sep|>src/main/scala/akka/persistence/hbase/journal/HBaseClientFactory.scala.diff original: updated: <<<<<<< HEAD <|file_sep|>original/src/main/scala/akka/persistence/hbase/journal/HBaseClientFactory.scala client.compareAndSet(null, new HBaseClient(config.zookeeperQuorum)) // since we will be forcing a ...
// by setting the internal flushing to max(...), we're manually in hold of doing the flushing at the rigth moment. val maxBatchSize = List( persistenceSettings.journal.maxMessageBatchSize, persistenceSettings.journal.maxConfirmationBatchSize, persistenceSettings.journal.maxDeletionBatchSize ...
<|file_sep|>src/main/scala/akka/persistence/hbase/journal/HBaseClientFactory.scala.diff original: updated: <<<<<<< HEAD <|file_sep|>original/src/main/scala/akka/persistence/hbase/journal/HBaseClientFactory.scala client.compareAndSet(null, new HBaseClient(config.zookeeperQuorum)) // since we will be forcing a ...
e419c9ca0d119e02c372b00ffe1cc01eb86d44e3
src/main/scala/akka/persistence/hbase/journal/HBaseClientFactory.scala
src/main/scala/akka/persistence/hbase/journal/HBaseClientFactory.scala
Scala
<|file_sep|>rails_generators/cucumber/templates/paths.rb.diff original: # Maps a static name to a static route. updated: # Maps a name to a path. Used by the <|file_sep|>rails_generators/cucumber/templates/paths.rb.diff original: # This method is *not* designed to map from a dynamic name to a # dynamic route l...
def path_to(page_name) case page_name # When I when /the homepage/ '/' # Add more mappings here. # Here is a more fancy example: # # when /^(.*)'s profile page$/i # user_profile_path(User.find_by_login($1)) else raise "Can't find mapping from \"#{page_...
<|file_sep|>rails_generators/cucumber/templates/paths.rb.diff original: # Maps a static name to a static route. updated: # Maps a name to a path. Used by the <|file_sep|>rails_generators/cucumber/templates/paths.rb.diff original: # This method is *not* designed to map from a dynamic name to a # dynamic route l...
07a8f2b5677db00125bbe73af51737bd5bccf588
rails_generators/cucumber/templates/paths.rb
rails_generators/cucumber/templates/paths.rb
Ruby
<|file_sep|>server/game/cards/03-DotV/WholenessOfTheWorld.js.diff original: setupCardAbilities() { updated: setupCardAbilities(ability) { <|file_sep|>original/server/game/cards/03-DotV/WholenessOfTheWorld.js const DrawCard = require('../../drawcard.js'); class WholenessOfTheWorld extends DrawCard { setupCa...
const DrawCard = require('../../drawcard.js'); class WholenessOfTheWorld extends DrawCard { setupCardAbilities(ability) { this.wouldInterrupt({ title: 'Keep a claimed ring', when: { onReturnRing: (event, context) => event.ring.claimedBy === context.player.name ...
<|file_sep|>server/game/cards/03-DotV/WholenessOfTheWorld.js.diff original: setupCardAbilities() { updated: setupCardAbilities(ability) { <|file_sep|>original/server/game/cards/03-DotV/WholenessOfTheWorld.js const DrawCard = require('../../drawcard.js'); class WholenessOfTheWorld extends DrawCard { setupCa...
8065d9a0273271fbc807e3f5c66919c5d103ad24
server/game/cards/03-DotV/WholenessOfTheWorld.js
server/game/cards/03-DotV/WholenessOfTheWorld.js
JavaScript
<|file_sep|>pyvisa/__init__.py.diff original: updated: import wrapper <|file_sep|>original/pyvisa/__init__.py import subprocess import pkg_resources logger = logging.getLogger('pyvisa') logger.addHandler(logging.NullHandler) __version__ = "unknown" try: # try to grab the commit version of our package __version...
stderr=subprocess.STDOUT, cwd=os.path.dirname(os.path.abspath(__file__)))).strip() except: # on any error just try to grab the version that is installed on the system try: __version__ = pkg_resources.get_distribution('pyv...
<|file_sep|>pyvisa/__init__.py.diff original: updated: import wrapper <|file_sep|>original/pyvisa/__init__.py import subprocess import pkg_resources logger = logging.getLogger('pyvisa') logger.addHandler(logging.NullHandler) __version__ = "unknown" try: # try to grab the commit version of our package __version...
0be63749c039e16aa1fcc64cfd8227b50829254e
pyvisa/__init__.py
pyvisa/__init__.py
Python
<|file_sep|>original/Cargo.toml [workspace] members = [ "bindgen", "libbindgen", "libbindgen/tests/expectations", ] <|file_sep|>current/Cargo.toml [workspace] members = [ "bindgen", "libbindgen", "libbindgen/tests/expectations", ] <|file_sep|>updated/Cargo.toml
[workspace] members = [ "bindgen", "libbindgen", "libbindgen/tests/expectations", ]
<|file_sep|>original/Cargo.toml [workspace] members = [ "bindgen", "libbindgen", "libbindgen/tests/expectations", ] <|file_sep|>current/Cargo.toml [workspace] members = [ "bindgen", "libbindgen", "libbindgen/tests/expectations", ] <|file_sep|>updated/Cargo.toml [workspace...
854aa11d237ff75474dc6c26833fcde884fdecd6
Cargo.toml
Cargo.toml
TOML
<|file_sep|>original/app/helpers/people_helper.rb module PeopleHelper def person_form_for(type_name) concat content_tag(:h1, "Edit #{type_name} for #{@person.name}") form_for @person, :html => { :multipart => true } do |form| yield form concat form.submit("Save") end end end <|file_sep|>curr...
module PeopleHelper def person_form_for(type_name) concat content_tag(:h1, "Edit #{type_name} for #{@person.name}") form_for @person, :html => { :multipart => true } do |form| yield form concat form.submit("Save") concat " or " concat link_to("cancel", person_path(@person)) end e...
<|file_sep|>original/app/helpers/people_helper.rb module PeopleHelper def person_form_for(type_name) concat content_tag(:h1, "Edit #{type_name} for #{@person.name}") form_for @person, :html => { :multipart => true } do |form| yield form concat form.submit("Save") end end end <|file_sep|>curr...
e290aaa39c247488ce6903875a8213910557b6c2
app/helpers/people_helper.rb
app/helpers/people_helper.rb
Ruby
<|file_sep|>original/app/config/auth.js module.exports = { settings: { domain: 'your-domain.auth0.com', clientID: 'your-client-id', clientSecret: 'your-client-secret' }, allow: function(user) { return true; }, }; <|file_sep|>current/app/config/auth.js module.exports = { ...
module.exports = { settings: { domain: 'your-domain.auth0.com', clientID: 'your-client-id', clientSecret: 'your-client-secret' }, allow: function() { return false; }, };
<|file_sep|>original/app/config/auth.js module.exports = { settings: { domain: 'your-domain.auth0.com', clientID: 'your-client-id', clientSecret: 'your-client-secret' }, allow: function(user) { return true; }, }; <|file_sep|>current/app/config/auth.js module.exports = { ...
77e82bf90581e98a95ba5c1f58cf1cbb67e8bdc6
app/config/auth.js
app/config/auth.js
JavaScript
<|file_sep|>original/README.md # nginx-responsive This module optimize image delivery depending on the device that request the image. ## Development This project is in development, don't use it now :) <|file_sep|>current/README.md # nginx-responsive This module optimize image delivery depending on the device that ...
[![Build Status](https://travis-ci.org/jstuyck/nginx-responsive.svg?branch=master)](https://travis-ci.org/jstuyck/nginx-responsive) # nginx-responsive This module optimize image delivery depending on the device that request the image. ## Development This project is in development, don't use it now :)
<|file_sep|>original/README.md # nginx-responsive This module optimize image delivery depending on the device that request the image. ## Development This project is in development, don't use it now :) <|file_sep|>current/README.md # nginx-responsive This module optimize image delivery depending on the device that ...
68dd80da2247ed85fe4c2ad4cc0b5ee713b5aee7
README.md
README.md
Markdown
<|file_sep|>original/users/templates/registerform_simple.html {% extends 'base.html'%} {% block maincontent %} <form action="" method="post"> {%csrf_token%} {{form.email.errors}} {{form.email.label_tag}} {{form.email}} {{form.password1.errors}} {{form.password1.label_tag}} {{form.password1}} {{form.password2.errors}} ...
{% extends 'base.html'%} {% block maincontent %} {{form.errors}} <form action="" method="post"> {%csrf_token%} {{form.email.errors}} {{form.email.label_tag}} {{form.email}} {{form.password1.errors}} {{form.password1.label_tag}} {{form.password1}} {{form.password2.errors}} {{form.password2.label_tag}} {{form.password2}...
<|file_sep|>original/users/templates/registerform_simple.html {% extends 'base.html'%} {% block maincontent %} <form action="" method="post"> {%csrf_token%} {{form.email.errors}} {{form.email.label_tag}} {{form.email}} {{form.password1.errors}} {{form.password1.label_tag}} {{form.password1}} {{form.password2.errors}} ...
a299b1993b675ba962414fd3d25a7964e78be267
users/templates/registerform_simple.html
users/templates/registerform_simple.html
HTML
<|file_sep|>original/appengine-vmruntime/tox.ini [tox] skipsdist = True envlist = py27, pep8 recreate = True [testenv:py27] deps = ../appengine-compat -rrequirements-dev.txt commands = py.test vmruntime --cov=vmruntime [testenv:lint] deps = flake8 flake8-import-order commands = flake8 --impor...
[tox] skipsdist = True envlist = py27 recreate = True [testenv:py27] deps = ../appengine-compat -rrequirements-dev.txt commands = py.test vmruntime --cov=vmruntime [testenv:lint] deps = flake8 flake8-import-order commands = flake8 --import-order-style=google {posargs}
<|file_sep|>original/appengine-vmruntime/tox.ini [tox] skipsdist = True envlist = py27, pep8 recreate = True [testenv:py27] deps = ../appengine-compat -rrequirements-dev.txt commands = py.test vmruntime --cov=vmruntime [testenv:lint] deps = flake8 flake8-import-order commands = flake8 --impor...
068a1144213dd76b3ef1100f1618120d75deb88e
appengine-vmruntime/tox.ini
appengine-vmruntime/tox.ini
INI
<|file_sep|>original/exercises/space-age/HINTS.md ## Hints In this exercise, you need to complete the definition of the [algebric data data](http://learnyouahaskell.com/making-our-own-types-and-typeclasses) named `Planet`, and implement the `ageOn` function, that calculates how many years old someone would be on a `Pl...
## Hints In this exercise, you need to complete the definition of the [algebric data data](http://learnyouahaskell.com/making-our-own-types-and-typeclasses) named `Planet`, and implement the `ageOn` function, that calculates how many years old someone would be on a `Planet`, given an age in seconds. Your can use the ...
<|file_sep|>original/exercises/space-age/HINTS.md ## Hints In this exercise, you need to complete the definition of the [algebric data data](http://learnyouahaskell.com/making-our-own-types-and-typeclasses) named `Planet`, and implement the `ageOn` function, that calculates how many years old someone would be on a `Pl...
bdfe19e00b323bf6cbb35e10a862409edc95f7af
exercises/space-age/HINTS.md
exercises/space-age/HINTS.md
Markdown
<|file_sep|>original/docs/requirements-docs.txt sphinx==1.6.6 releases==1.4.0 sphinx-rtd-theme==0.2.4 <|file_sep|>current/docs/requirements-docs.txt sphinx==1.6.6 releases==1.4.0 sphinx-rtd-theme==0.2.4 <|file_sep|>updated/docs/requirements-docs.txt
sphinx==1.6.7 releases==1.4.0 sphinx-rtd-theme==0.2.4
<|file_sep|>original/docs/requirements-docs.txt sphinx==1.6.6 releases==1.4.0 sphinx-rtd-theme==0.2.4 <|file_sep|>current/docs/requirements-docs.txt sphinx==1.6.6 releases==1.4.0 sphinx-rtd-theme==0.2.4 <|file_sep|>updated/docs/requirements-docs.txt sphinx==1.6.7 releases==1.4.0 sphinx-rtd-theme==0.2.4
057ab1c1e0ad150b06dc56b02e88f9acd1c84301
docs/requirements-docs.txt
docs/requirements-docs.txt
Text
<|file_sep|>original/core/db/migrate/20140410141842_add_many_missing_indexes.rb class AddManyMissingIndexes < ActiveRecord::Migration def change add_index :spree_adjustments, [:adjustable_id, :adjustable_type] add_index :spree_adjustments, :eligible add_index :spree_adjustments, :order_id add_index :s...
class AddManyMissingIndexes < ActiveRecord::Migration def change add_index :spree_adjustments, [:adjustable_id, :adjustable_type] add_index :spree_adjustments, :eligible add_index :spree_adjustments, :order_id add_index :spree_promotions, :code add_index :spree_promotions, :expires_at add_inde...
<|file_sep|>original/core/db/migrate/20140410141842_add_many_missing_indexes.rb class AddManyMissingIndexes < ActiveRecord::Migration def change add_index :spree_adjustments, [:adjustable_id, :adjustable_type] add_index :spree_adjustments, :eligible add_index :spree_adjustments, :order_id add_index :s...
8544aa5eaf167f358471e0acf95ac7f2d7199e4f
core/db/migrate/20140410141842_add_many_missing_indexes.rb
core/db/migrate/20140410141842_add_many_missing_indexes.rb
Ruby
<|file_sep|>packages/n2/n2o-nitro.yaml.diff original: hash: 6cdad1ce2b2a501784475f04273d3762c765af31c10adb83f6955c1ff1ec5c67 updated: hash: a0a3e54be651bc5d229e4b519682acf62fc2490ddf684d9afe2609d8a3e1ee30 <|file_sep|>packages/n2/n2o-nitro.yaml.diff original: bert: ! '>=1.2' updated: <|file_sep|>packages/n2/n2o-nitro...
test-bench-deps: {} maintainer: xafizoff@gmail.com synopsis: Nitro Elements, Events and Actions changelog: '' basic-deps: bytestring: ! '>=0.10' base: ! '>=4.7 && <5' base64-bytestring: ! '>=1.0' text: ! '>=1.2' containers: ! '>=0.5' binary: ! '>=0.5' n2o: ==0.11.* all-versions: - '0.11.0' - '0.11.1' - '0...
<|file_sep|>packages/n2/n2o-nitro.yaml.diff original: hash: 6cdad1ce2b2a501784475f04273d3762c765af31c10adb83f6955c1ff1ec5c67 updated: hash: a0a3e54be651bc5d229e4b519682acf62fc2490ddf684d9afe2609d8a3e1ee30 <|file_sep|>packages/n2/n2o-nitro.yaml.diff original: bert: ! '>=1.2' updated: <|file_sep|>packages/n2/n2o-nitro...
e2ce174cb3ac0d9e0e9aaf4f81f6a7c1d552056d
packages/n2/n2o-nitro.yaml
packages/n2/n2o-nitro.yaml
YAML
<|file_sep|>original/CHANGES.md # Changelog # ## v4.2.0 (?) ## * ClassLoader::findFile now does a better job of canonizing directory separators * ClassLoader::loadFile will now always return true or throw an exception, irregardless of verbose setting * Class loader will now look in the include_path last *...
# Changelog # ## v4.2.0 (2015-01-01) ## * ClassLoader::findFile now does a better job of canonizing directory separators * ClassLoader::loadFile will now always return true or throw an exception, irregardless of verbose setting * Class loader will now look in the include_path last * Some documentation cla...
<|file_sep|>original/CHANGES.md # Changelog # ## v4.2.0 (?) ## * ClassLoader::findFile now does a better job of canonizing directory separators * ClassLoader::loadFile will now always return true or throw an exception, irregardless of verbose setting * Class loader will now look in the include_path last *...
da49d2ffbf574772e92a768a1551bd62949bb85b
CHANGES.md
CHANGES.md
Markdown
<|file_sep|>original/index.js 'use strict'; var gutil = require('gulp-util'); var through = require('through2'); var chalk = require('chalk'); module.exports = function (opts) { var count = 0; return through.obj(function (file, enc, cb) { gutil.log('The data URI:') var dataUri = 'data: text/html, ' + encod...
'use strict'; var gutil = require('gulp-util'); var through = require('through2'); var chalk = require('chalk'); module.exports = function (opts) { var count = 0; return through.obj(function (file, enc, cb) { gutil.log('The data URI:'); var dataUri = 'data:text/html, ' + encodeURIComponent(file.contents.to...
<|file_sep|>original/index.js 'use strict'; var gutil = require('gulp-util'); var through = require('through2'); var chalk = require('chalk'); module.exports = function (opts) { var count = 0; return through.obj(function (file, enc, cb) { gutil.log('The data URI:') var dataUri = 'data: text/html, ' + encod...
2b706c4b7d9c596f1996ae6d3527030997157ded
index.js
index.js
JavaScript
<|file_sep|>README.md.diff original: HElib is a software library that implements homomorphic encryption (HE). Currently available is an implementation of the [Brakerski-Gentry-Vaikuntanathan] [1] (BGV) scheme, along with many optimizations to make homomorphic evaluation runs faster, focusing mostly on effective use of ...
HElib ===== HElib is a software library that implements [homomorphic encryption] [6] (HE). Currently available is an implementation of the [Brakerski-Gentry-Vaikuntanathan] [1] (BGV) scheme, along with many optimizations to make homomorphic evaluation runs faster, focusing mostly on effective use of the [Smart-Vercaut...
<|file_sep|>README.md.diff original: HElib is a software library that implements homomorphic encryption (HE). Currently available is an implementation of the [Brakerski-Gentry-Vaikuntanathan] [1] (BGV) scheme, along with many optimizations to make homomorphic evaluation runs faster, focusing mostly on effective use of ...
3342b3467cd33b89901b0ca85b61bf137a44d3c8
README.md
README.md
Markdown
<|file_sep|>Library/Formula/gnupg.rb.diff original: @url='ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-1.4.9.tar.bz2' updated: @url='ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-1.4.10.tar.bz2' <|file_sep|>Library/Formula/gnupg.rb.diff original: @sha1='826f4bef1effce61c3799c8f7d3cc8313b340b55' updated: @sha1='fd1b6a5f3b2dd...
require 'brewkit' class Gnupg <Formula @url='ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-1.4.10.tar.bz2' @homepage='http://www.gnupg.org/' @sha1='fd1b6a5f3b2dd836b598a1123ac257b8f105615d' def install system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", "--disable-asm"...
<|file_sep|>Library/Formula/gnupg.rb.diff original: @url='ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-1.4.9.tar.bz2' updated: @url='ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-1.4.10.tar.bz2' <|file_sep|>Library/Formula/gnupg.rb.diff original: @sha1='826f4bef1effce61c3799c8f7d3cc8313b340b55' updated: @sha1='fd1b6a5f3b2dd...
d5f01b4163dd56cc1777bbaad24d5231f7da22c7
Library/Formula/gnupg.rb
Library/Formula/gnupg.rb
Ruby
<|file_sep|>python/sparknlp/functions.py.diff original: updated: from sparknlp.annotation import Annotation <|file_sep|>original/python/sparknlp/functions.py def map_annotations(f, output_type: DataType): sys.modules['sparknlp.annotation'] = sparknlp # Makes Annotation() pickle serializable in top-level retu...
def map_annotations(f, output_type: DataType): sys.modules['sparknlp.annotation'] = sparknlp # Makes Annotation() pickle serializable in top-level return udf( lambda content: f(content), output_type ) def map_annotations_strict(f): sys.modules['sparknlp.annotation'] = sparknlp # Ma...
<|file_sep|>python/sparknlp/functions.py.diff original: updated: from sparknlp.annotation import Annotation <|file_sep|>original/python/sparknlp/functions.py def map_annotations(f, output_type: DataType): sys.modules['sparknlp.annotation'] = sparknlp # Makes Annotation() pickle serializable in top-level retu...
27112881583e53d790e66d31a2bb4d2a996ee405
python/sparknlp/functions.py
python/sparknlp/functions.py
Python
<|file_sep|>original/test/scene/texture/checkerboard_test.cc namespace { static IntersectionData DataWithCoords(Scalar ss, Scalar tt) { Ray r(Point3(0, 0, 0), Vector3(0, 0, 1)); IntersectionData data(r); data.texture_coordinate.s = ss; data.texture_coordinate.t = tt; return data; } TEST(Checkerboard, IsCha...
namespace { static IntersectionData DataWithCoords(Scalar ss, Scalar tt) { Ray r(Point3(0, 0, 0), Vector3(0, 0, 1)); IntersectionData data(r); data.texture_coordinate.s = ss; data.texture_coordinate.t = tt; return data; } TEST(Checkerboard, IsChanging) { Color3 blue(0, 0, 1); Color3 red(1, 0, 0); Che...
<|file_sep|>original/test/scene/texture/checkerboard_test.cc namespace { static IntersectionData DataWithCoords(Scalar ss, Scalar tt) { Ray r(Point3(0, 0, 0), Vector3(0, 0, 1)); IntersectionData data(r); data.texture_coordinate.s = ss; data.texture_coordinate.t = tt; return data; } TEST(Checkerboard, IsCha...
feea673502d89090d1e13c570a8e28cdd8147a42
test/scene/texture/checkerboard_test.cc
test/scene/texture/checkerboard_test.cc
C++
<|file_sep|>setup.py.diff original: #!/usr/local/bin/python -u updated: #!/usr/local/bin/python3 -u <|file_sep|>original/setup.py print 'Installing node.js dependencies:' if 0 != os.system('npm install home'): print 'Error installing node.js home module. Exiting...' quit() if 0 != os.system('npm install inipa...
if 0 != os.system('npm install home'): print 'Error installing node.js home module. Exiting...' quit() if 0 != os.system('npm install iniparser'): print 'Error installing node.js iniparser module. Exiting...' quit() print 'Installing Python3 dependencies' if 0 != os.system('pip3 install requests'): ...
<|file_sep|>setup.py.diff original: #!/usr/local/bin/python -u updated: #!/usr/local/bin/python3 -u <|file_sep|>original/setup.py print 'Installing node.js dependencies:' if 0 != os.system('npm install home'): print 'Error installing node.js home module. Exiting...' quit() if 0 != os.system('npm install inipa...
929997d9d86f93033ef013c586095b59f151bce8
setup.py
setup.py
Python
<|file_sep|>original/CONTRIBUTING.md To submit pull requests for Sulong, you need to sign the Oracle Contributor Agreement. There is a white-list for contributors who have signed the OCA so please add a comment to your first pull request indicating the name you used to sign the OCA if it isn't clear from your github pr...
your github profile. Pull requests can only be merged by committers and a committer cannot merge his or her own pull requests. When creating a pull request, make sure you designate an assignee to ensure the request is processed in a timely manner. Before submitting a pull request please run "mx gate" to validate tha...
<|file_sep|>original/CONTRIBUTING.md To submit pull requests for Sulong, you need to sign the Oracle Contributor Agreement. There is a white-list for contributors who have signed the OCA so please add a comment to your first pull request indicating the name you used to sign the OCA if it isn't clear from your github pr...
ee0bc7c5d40eca72c1eb3b5a92956d23d88ae790
CONTRIBUTING.md
CONTRIBUTING.md
Markdown
<|file_sep|>original/config.json { "configuration":{ "token":"MzU1OTA5MDcxMjIxODE3MzQ0.DZCU4w.wcEeteW6WAzoaFVfD8ZFuJNp9Nc", "YTAPIKey":"AIzaSyAu8mMJAfiLSysrOJClj-ZqfQW46cNsJhg", "status":"online", "prefix":"!", "botAdmins":[], "enable-eval":true } } <|file_sep|>current/config.json { "confi...
{ "configuration":{ "token":"", "YTAPIKey":"", "status":"online", "prefix":"!", "botAdmins":[], "enable-eval":true } }
<|file_sep|>original/config.json { "configuration":{ "token":"MzU1OTA5MDcxMjIxODE3MzQ0.DZCU4w.wcEeteW6WAzoaFVfD8ZFuJNp9Nc", "YTAPIKey":"AIzaSyAu8mMJAfiLSysrOJClj-ZqfQW46cNsJhg", "status":"online", "prefix":"!", "botAdmins":[], "enable-eval":true } } <|file_sep|>current/config.json { "confi...
54bec4f009e762a9a60f56ec9eca30f538385466
config.json
config.json
JSON
<|file_sep|>example/test.py.diff original: updated: #!/usr/bin/env python <|file_sep|>original/example/test.py import rust_ext import numpy as np a = np.array([1.0, 2.0]) rust_ext.mult(3, a) print(a) <|file_sep|>current/example/test.py #!/usr/bin/env python import rust_ext import numpy as np a = np.array([1.0, 2.0...
#!/usr/bin/env python import rust_ext import numpy as np x = np.array([1.0, 2.0]) y = np.array([2.0, 3.0]) result = rust_ext.axpy(3, x, y) print(result)
<|file_sep|>example/test.py.diff original: updated: #!/usr/bin/env python <|file_sep|>original/example/test.py import rust_ext import numpy as np a = np.array([1.0, 2.0]) rust_ext.mult(3, a) print(a) <|file_sep|>current/example/test.py #!/usr/bin/env python import rust_ext import numpy as np a = np.array([1.0, 2.0...
6282aa2617bcc9bb8f293ea620eff23d2009334b
example/test.py
example/test.py
Python
<|file_sep|>original/ui/head.html {{ isset(@PAGE.title) ? @PAGE.title : (isset(@title) ? @title : '') }} </title> <check if="isset(@PAGE.description) && @PAGE.description"> <meta name="description" content="{{ @PAGE.description }}"> </check> <meta name="viewport" content="width=device-width, initial-sca...
{{ isset(@PAGE.title) ? @PAGE.title : (isset(@title) ? @title : '') }} </title> <check if="isset(@PAGE.description) && @PAGE.description"> <meta name="description" content="{{ @PAGE.description }}"> </check> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" ...
<|file_sep|>original/ui/head.html {{ isset(@PAGE.title) ? @PAGE.title : (isset(@title) ? @title : '') }} </title> <check if="isset(@PAGE.description) && @PAGE.description"> <meta name="description" content="{{ @PAGE.description }}"> </check> <meta name="viewport" content="width=device-width, initial-sca...
e248e2ede8eba334a73d9923c52cd8e30f4e32b4
ui/head.html
ui/head.html
HTML
<|file_sep|>original/.travis.yml language: python python: - "2.7" virtualenv: system_site_packages: true script: - ./setup_dev.sh -u <|file_sep|>current/.travis.yml language: python python: - "2.7" virtualenv: system_site_packages: true script: - ./setup_dev.sh -u <|file_sep|>updated/.travis.yml
language: python python: - "2.7" virtualenv: system_site_packages: true # For more information about the nasty /dev/random hack, please see: # https://github.com/travis-ci/travis-ci/issues/1913#issuecomment-33891474 before_install: - sudo apt-get update -qq - sudo apt-get install --yes dpkg-dev fakeroot lintian...
<|file_sep|>original/.travis.yml language: python python: - "2.7" virtualenv: system_site_packages: true script: - ./setup_dev.sh -u <|file_sep|>current/.travis.yml language: python python: - "2.7" virtualenv: system_site_packages: true script: - ./setup_dev.sh -u <|file_sep|>updated/.travis.yml language: p...
708e0cd9668ca5fbc23a69258bd97ce81ca91b8b
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml language: php php: - '7.0' - nightly before_install: - travis_retry composer self-update install: - travis_retry composer install --no-interaction --prefer-dist script: - phpunit --coverage-text --coverage-clover=coverage.clover after_script: - wget https://scrutinizer-...
language: php php: - '7.1' - nightly before_install: - travis_retry composer self-update install: - travis_retry composer install --no-interaction --prefer-dist script: - phpunit --coverage-text --coverage-clover=coverage.clover after_script: - wget https://scrutinizer-ci.com/ocular.phar - php ocular...
<|file_sep|>original/.travis.yml language: php php: - '7.0' - nightly before_install: - travis_retry composer self-update install: - travis_retry composer install --no-interaction --prefer-dist script: - phpunit --coverage-text --coverage-clover=coverage.clover after_script: - wget https://scrutinizer-...
95860548fb36e8eb7a61db7623c78e9ce424a7d1
.travis.yml
.travis.yml
YAML
<|file_sep|>metadata/net.phunehehe.foocam.txt.diff original: updated: Auto Name:fooCam beta <|file_sep|>original/metadata/net.phunehehe.foocam.txt Issue Tracker:https://github.com/phunehehe/fooCam/issues Summary:Autobracketing Camera App Description: fooCam takes multiple successive shots with different exposure sett...
Auto Name:fooCam beta Summary:Autobracketing Camera App Description: fooCam takes multiple successive shots with different exposure settings. The resulting images can be post-processed using image editors such as Luminance HDR and Gimp to produce HDR images. . Repo Type:git Repo:https://github.com/phunehehe/fooCam.git...
<|file_sep|>metadata/net.phunehehe.foocam.txt.diff original: updated: Auto Name:fooCam beta <|file_sep|>original/metadata/net.phunehehe.foocam.txt Issue Tracker:https://github.com/phunehehe/fooCam/issues Summary:Autobracketing Camera App Description: fooCam takes multiple successive shots with different exposure sett...
7283d89134b748153cf22d40aed0c01c10868d5e
metadata/net.phunehehe.foocam.txt
metadata/net.phunehehe.foocam.txt
Text
<|file_sep|>server/main.go.diff original: updated: "io/ioutil" "log" <|file_sep|>server/main.go.diff original: updated: // For now, the server stores a great deal of state in memory, although it will // write as much as it can out to directories that will look reasonable to afl. var binary []byte type QueueMembe...
func target(c web.C, w http.ResponseWriter, r *http.Request) { w.Header().Set("Content-Type", "application/octet-stream") w.Write(binary) } func setupAndServe() { goji.Put("/state", put) goji.Get("/state", get) goji.Get("/target", target) goji.Serve() } func main() { var err error binary, err = ioutil.ReadFil...
<|file_sep|>server/main.go.diff original: updated: "io/ioutil" "log" <|file_sep|>server/main.go.diff original: updated: // For now, the server stores a great deal of state in memory, although it will // write as much as it can out to directories that will look reasonable to afl. var binary []byte type QueueMembe...
8702a31d404b4ecaa096553133676dbc97686204
server/main.go
server/main.go
Go
<|file_sep|>public/examples/Intermediate/Clock.elm.diff original: clock t = let blu = hsv (degrees 200) 0.6 1 in collage 400 400 [ filled blu (ngon 12 110) , hand (complement blu) 100 t , hand black 100 (t/60) , hand black 60 (t/720) ] up...
main = lift clock (every second) clock t = collage 400 400 [ filled (rgb 98 177 208) (ngon 12 110), hand red 100 t, hand black 100 (t/60), hand black 60 (t/720) ] hand clr len time = let angle = degrees (90 - 6 * inSeconds time) in traced (solid clr) <|...
<|file_sep|>public/examples/Intermediate/Clock.elm.diff original: clock t = let blu = hsv (degrees 200) 0.6 1 in collage 400 400 [ filled blu (ngon 12 110) , hand (complement blu) 100 t , hand black 100 (t/60) , hand black 60 (t/720) ] up...
f2d0b6cbdeba2b232666101be94a8da908d022c5
public/examples/Intermediate/Clock.elm
public/examples/Intermediate/Clock.elm
Elm
<|file_sep|>original/_assets/stylesheets/loading.css.sass .deck-container visibility: hidden #loading_screen-no-js font-size: 2rem #loading_screen, #loading_screen-no-js display: flex height: 100% align-items: center justify-content: center font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, ...
.deck-container visibility: hidden #loading_screen-no-js font-size: 2rem #loading_screen, #loading_screen-no-js display: flex height: 100% align-items: center justify-content: center font-family: "Roboto", "Open Sans", "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif span margin-left:...
<|file_sep|>original/_assets/stylesheets/loading.css.sass .deck-container visibility: hidden #loading_screen-no-js font-size: 2rem #loading_screen, #loading_screen-no-js display: flex height: 100% align-items: center justify-content: center font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, ...
9e2c32ec71030ee103dd696dbb00094f9ba73173
_assets/stylesheets/loading.css.sass
_assets/stylesheets/loading.css.sass
Sass
<|file_sep|>original/test/recipes/02-test_errstr.t <|file_sep|>current/test/recipes/02-test_errstr.t <|file_sep|>updated/test/recipes/02-test_errstr.t
#! /usr/bin/env perl # Copyright 2018 The OpenSSL Project Authors. All Rights Reserved. # # Licensed under the OpenSSL license (the "License"). You may not use # this file except in compliance with the License. You can obtain a copy # in the file LICENSE in the source distribution or at # https://www.openssl.org/sour...
<|file_sep|>original/test/recipes/02-test_errstr.t <|file_sep|>current/test/recipes/02-test_errstr.t <|file_sep|>updated/test/recipes/02-test_errstr.t #! /usr/bin/env perl # Copyright 2018 The OpenSSL Project Authors. All Rights Reserved. # # Licensed under the OpenSSL license (the "License"). You may not use # this...
4b801fdcf4c25f44374eb18cb18f36d904975edd
test/recipes/02-test_errstr.t
test/recipes/02-test_errstr.t
Perl
<|file_sep|>CHARTER.md.diff original: ## Tenets updated: ## Tenets (unless you know better ones) <|file_sep|>CHARTER.md.diff original: ## Contributions & Governance updated: ## Contributions & Project Roles <|file_sep|>original/CHARTER.md multitenant workloads, and cannot be mistakenly disabled by customers. Cus...
1. **Built-In Security**: We provide compute security barriers that enable multitenant workloads, and cannot be mistakenly disabled by customers. Customer workloads are simultaneously considered sacred (shall not be touched) and malicious (shall be defended against). 1. **Light-weight Virtualization**: We focu...
<|file_sep|>CHARTER.md.diff original: ## Tenets updated: ## Tenets (unless you know better ones) <|file_sep|>CHARTER.md.diff original: ## Contributions & Governance updated: ## Contributions & Project Roles <|file_sep|>original/CHARTER.md multitenant workloads, and cannot be mistakenly disabled by customers. Cus...
068befdab5156c03ab610b8e7e22c2760444e41a
CHARTER.md
CHARTER.md
Markdown
<|file_sep|>original/mpfmc/integration/machine_files/high_score/modes/high_score/config/high_score.yaml #config_version=5 high_score: _overwrite: True categories: - score: - GRAND CHAMPION - HIGH SCORE 1 - HIGH SCORE 2 - HIGH SCORE 3 - HIGH SCORE 4 - loops: - LOOP CHAMP def...
#config_version=5 high_score: _overwrite: True categories: !!omap - score: - GRAND CHAMPION - HIGH SCORE 1 - HIGH SCORE 2 - HIGH SCORE 3 - HIGH SCORE 4 - loops: - LOOP CHAMP defaults: score: - BRI: 4242 - GHK: 2323 - JK: 1337 - QC: 42 - MPF...
<|file_sep|>original/mpfmc/integration/machine_files/high_score/modes/high_score/config/high_score.yaml #config_version=5 high_score: _overwrite: True categories: - score: - GRAND CHAMPION - HIGH SCORE 1 - HIGH SCORE 2 - HIGH SCORE 3 - HIGH SCORE 4 - loops: - LOOP CHAMP def...
8569973beb43731a2820697acd8d3905f99049ef
mpfmc/integration/machine_files/high_score/modes/high_score/config/high_score.yaml
mpfmc/integration/machine_files/high_score/modes/high_score/config/high_score.yaml
YAML
<|file_sep|>spec/unit/rom/relation/class_methods/build_spec.rb.diff original: fake(:relation) { Axiom::Relation } fake(:mapped_relation) { Axiom::Relation } fake(:mapper) { Mapper } updated: fake(:relation) { Axiom::Relation } fake(:mapped) { Axiom::Relation } fake(:optimized) { Axiom::R...
# encoding: utf-8 require 'spec_helper' describe Relation, '.build' do subject { described_class.build(relation, mapper) } fake(:relation) { Axiom::Relation } fake(:mapped) { Axiom::Relation } fake(:optimized) { Axiom::Relation } fake(:mapper) { Mapper } before do stub(mapper).call(relation) ...
<|file_sep|>spec/unit/rom/relation/class_methods/build_spec.rb.diff original: fake(:relation) { Axiom::Relation } fake(:mapped_relation) { Axiom::Relation } fake(:mapper) { Mapper } updated: fake(:relation) { Axiom::Relation } fake(:mapped) { Axiom::Relation } fake(:optimized) { Axiom::R...
38d9a08e7d133125a809a9fa86d515034b8e703f
spec/unit/rom/relation/class_methods/build_spec.rb
spec/unit/rom/relation/class_methods/build_spec.rb
Ruby
<|file_sep|>src/Translator.php.diff original: public function get($key, array $replace = array(), $locale = null) updated: public function get($key, array $replace = array(), $locale = null, $fallback = true) <|file_sep|>original/src/Translator.php * @param string $key * @param array $replace ...
* @param string $key * @param array $replace * @param string $locale * @return string */ public function get($key, array $replace = array(), $locale = null, $fallback = true) { $result = parent::get($key, $replace, $locale); if($result === $key){ $this...
<|file_sep|>src/Translator.php.diff original: public function get($key, array $replace = array(), $locale = null) updated: public function get($key, array $replace = array(), $locale = null, $fallback = true) <|file_sep|>original/src/Translator.php * @param string $key * @param array $replace ...
136fd882716d9501898682bcb67fd9fe20728a99
src/Translator.php
src/Translator.php
PHP
<|file_sep|>.github/workflows/ci.yaml.diff original: name: Build and publish to ECR updated: name: CI <|file_sep|>.github/workflows/ci.yaml.diff original: build-publish-image-to-ecr: updated: build-and-publish-image: name: Build and publish image <|file_sep|>original/.github/workflows/ci.yaml name: Build and pu...
- main push: branches: - main paths-ignore: - "Jenkinsfile" - ".git**" jobs: build-and-publish-image: name: Build and publish image uses: alphagov/govuk-infrastructure/.github/workflows/ci-ecr.yaml@main secrets: AWS_GOVUK_ECR_ACCESS_KEY_ID: ${{ secrets.AWS_GOVUK_EC...
<|file_sep|>.github/workflows/ci.yaml.diff original: name: Build and publish to ECR updated: name: CI <|file_sep|>.github/workflows/ci.yaml.diff original: build-publish-image-to-ecr: updated: build-and-publish-image: name: Build and publish image <|file_sep|>original/.github/workflows/ci.yaml name: Build and pu...
5775b46e023eecf7b5b7248760c0f7d0d1db3053
.github/workflows/ci.yaml
.github/workflows/ci.yaml
YAML
<|file_sep|>original/app/controllers/questions_controller.rb before_action :set_question, only: [:show, :edit, :update, :destroy] def index @questions = Question.all.order('created_at DESC') @question = Question.new @user = User.new end def show @user = User.new end def create @user ...
before_action :set_question, only: [:show, :edit, :update, :destroy] def index @questions = Question.all.order('created_at DESC') @question = Question.new @user = User.new end def show @user = @question.user end def create @user = User.find(session[:current_user]) @question = Que...
<|file_sep|>original/app/controllers/questions_controller.rb before_action :set_question, only: [:show, :edit, :update, :destroy] def index @questions = Question.all.order('created_at DESC') @question = Question.new @user = User.new end def show @user = User.new end def create @user ...
89b0491e52c9650929261805bb9b0193d9ff61b7
app/controllers/questions_controller.rb
app/controllers/questions_controller.rb
Ruby
<|file_sep|>original/recipes/friendly-styles/meta.yaml test: imports: - friendly_styles commands: - pip check - "'SELECT * FROM table LIMIT 10' | pygmentize -s -l SQL -O style=friendly_light" # [unix] - "'SELECT * FROM table LIMIT 10' | pygmentize -s -l SQL -O style=friendly_dark" # [unix] requ...
test: imports: - friendly_styles commands: - pip check - "'SELECT * FROM table LIMIT 10' | pygmentize -s -l SQL -O style=friendly_light" # [unix] - "'SELECT * FROM table LIMIT 10' | pygmentize -s -l SQL -O style=friendly_dark" # [unix] requires: - pip about: home: https://github.com/fri...
<|file_sep|>original/recipes/friendly-styles/meta.yaml test: imports: - friendly_styles commands: - pip check - "'SELECT * FROM table LIMIT 10' | pygmentize -s -l SQL -O style=friendly_light" # [unix] - "'SELECT * FROM table LIMIT 10' | pygmentize -s -l SQL -O style=friendly_dark" # [unix] requ...
e05cebdd49ca97065ccadb058296d0185fd3ac0d
recipes/friendly-styles/meta.yaml
recipes/friendly-styles/meta.yaml
YAML
<|file_sep|>src/main/java/stage2/elements/GeneralElementStage2.java.diff original: updated: import com.google.common.collect.ImmutableTable; import model.Container; <|file_sep|>original/src/main/java/stage2/elements/GeneralElementStage2.java package stage2.elements; /** * */ public interface GeneralElementStage2 {...
package stage2.elements; import com.google.common.collect.ImmutableTable; import model.Container; /** * */ public interface GeneralElementStage2 { String AR = Container.getInstance().getStage2().getAr().toString(); String CO2 = Container.getInstance().getStage2().getCo2().toString(); String O2 = Container.getIn...
<|file_sep|>src/main/java/stage2/elements/GeneralElementStage2.java.diff original: updated: import com.google.common.collect.ImmutableTable; import model.Container; <|file_sep|>original/src/main/java/stage2/elements/GeneralElementStage2.java package stage2.elements; /** * */ public interface GeneralElementStage2 {...
05da66881d491d4b554f1d126f8427df3d7280b1
src/main/java/stage2/elements/GeneralElementStage2.java
src/main/java/stage2/elements/GeneralElementStage2.java
Java
<|file_sep|>original/scripts/release/rethreshold_family.py <|file_sep|>current/scripts/release/rethreshold_family.py <|file_sep|>updated/scripts/release/rethreshold_family.py
""" Copyright [2009-2019] EMBL-European Bioinformatics Institute Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
<|file_sep|>original/scripts/release/rethreshold_family.py <|file_sep|>current/scripts/release/rethreshold_family.py <|file_sep|>updated/scripts/release/rethreshold_family.py """ Copyright [2009-2019] EMBL-European Bioinformatics Institute Licensed under the Apache License, Version 2.0 (the "License"); you may not us...
20b10fcedc6395dc693185e01fc4c56479660c52
scripts/release/rethreshold_family.py
scripts/release/rethreshold_family.py
Python
<|file_sep|>original/requirements/prod.txt # Octave interaction scipy==1.3.0 numpy==1.16.3 octave-kernel==0.30.3 ipython==5.4.1 # pyup: ignore # Octave packages sympy==1.4 # Database SQLAlchemy==1.3.3 Flask-SQLAlchemy==2.4.0 # App management Flask-Migrate==2.5.0 Flask-Script==2.0.6 honcho==1.0.1 -e git://github.com/...
# Octave interaction scipy==1.3.0 numpy==1.16.3 octave-kernel==0.30.3 ipython==5.4.1 # pyup: ignore # Octave packages sympy==1.4 # Database SQLAlchemy==1.3.3 Flask-SQLAlchemy==2.4.0 # App management Flask-Migrate==2.5.1 Flask-Script==2.0.6 honcho==1.0.1 -e git://github.com/benwilber/honcho-export-systemd.git@27c5ec1...
<|file_sep|>original/requirements/prod.txt # Octave interaction scipy==1.3.0 numpy==1.16.3 octave-kernel==0.30.3 ipython==5.4.1 # pyup: ignore # Octave packages sympy==1.4 # Database SQLAlchemy==1.3.3 Flask-SQLAlchemy==2.4.0 # App management Flask-Migrate==2.5.0 Flask-Script==2.0.6 honcho==1.0.1 -e git://github.com/...
95f9cbd3cabca5ff19062d6d2d26d3ce6b651e93
requirements/prod.txt
requirements/prod.txt
Text
<|file_sep|>README.md.diff original: python-namibia ============== updated: Introduction to Git & GitHub ============================ <|file_sep|>README.md.diff original: Collaborative website for Python Namibia conference attendees updated: This project contains the [class project](https://python-namibia.github.io/) f...
Introduction to Git & GitHub ============================ This project contains the [class project](https://python-namibia.github.io/) files for the [Introduction to Git & GitHub](http://python-namibia.org/event/introduction-git-and-github/) workshop at the Python Namibia conference. ### Local development To run thi...
<|file_sep|>README.md.diff original: python-namibia ============== updated: Introduction to Git & GitHub ============================ <|file_sep|>README.md.diff original: Collaborative website for Python Namibia conference attendees updated: This project contains the [class project](https://python-namibia.github.io/) f...
4d69ac7a49c51e184a49b1bc8f34ac19d8d1564f
README.md
README.md
Markdown