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/Kwc/Basic/LinkTag/Trl/Admin.php <?php class Kwc_Basic_LinkTag_Trl_Admin extends Kwc_Basic_LinkTag_Admin { public function getPagePropertiesForm() { $ret = new Kwc_Basic_LinkTag_Trl_Form(null, $this->_class); $fs = new Kwf_Form_Container_FieldSet(trlKwf('Link')); fore...
<?php class Kwc_Basic_LinkTag_Trl_Admin extends Kwc_Basic_LinkTag_Admin { public function getPagePropertiesForm() { $ret = new Kwc_Abstract_Cards_Trl_Form(null, $this->_class); $fs = new Kwf_Form_Container_FieldSet(trlKwf('Link')); foreach ($ret as $f) { $ret->fields->remove(...
<|file_sep|>original/Kwc/Basic/LinkTag/Trl/Admin.php <?php class Kwc_Basic_LinkTag_Trl_Admin extends Kwc_Basic_LinkTag_Admin { public function getPagePropertiesForm() { $ret = new Kwc_Basic_LinkTag_Trl_Form(null, $this->_class); $fs = new Kwf_Form_Container_FieldSet(trlKwf('Link')); fore...
b0c771b094fcc861a60487d78bc67c280a96c7d0
Kwc/Basic/LinkTag/Trl/Admin.php
Kwc/Basic/LinkTag/Trl/Admin.php
PHP
<|file_sep|>wger/manager/templates/user/password_reset_confirm.html.diff original: <h2>{% trans 'Enter new password' %}</h2> updated: <h3>{% trans 'Enter new password' %}</h3> <|file_sep|>original/wger/manager/templates/user/password_reset_confirm.html {% csrf_token %} <table> {% yaml_form_fiel...
{% csrf_token %} <table> {% yaml_form_field form.new_password1 %} {% yaml_form_field form.new_password2 %} <tr> <td colspan="2"> <input type="submit" value="{% trans 'Change my password' %}" id="form-save"> </td> </tr> </table> </form> {% else %} ...
<|file_sep|>wger/manager/templates/user/password_reset_confirm.html.diff original: <h2>{% trans 'Enter new password' %}</h2> updated: <h3>{% trans 'Enter new password' %}</h3> <|file_sep|>original/wger/manager/templates/user/password_reset_confirm.html {% csrf_token %} <table> {% yaml_form_fiel...
1e6a2eb7f374c0f013958797b941674792b7ea45
wger/manager/templates/user/password_reset_confirm.html
wger/manager/templates/user/password_reset_confirm.html
HTML
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - '0.10' - '0.12' - '4' - '5' branches: only: - master - development - travis-ci before_install: - npm install - npm install -g istanbul coveralls <|file_sep|>current/.travis.yml sudo: false language: node_js node_js...
sudo: false language: node_js node_js: - '0.10' - '0.12' - '4' - '5' - '6' branches: only: - master - development - travis-ci before_install: - npm install - npm install -g istanbul coveralls
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - '0.10' - '0.12' - '4' - '5' branches: only: - master - development - travis-ci before_install: - npm install - npm install -g istanbul coveralls <|file_sep|>current/.travis.yml sudo: false language: node_js node_js...
4eea1e891eea819c7b29cb9c1b515f00a216a742
.travis.yml
.travis.yml
YAML
<|file_sep|>qtsix/meta.yaml.diff original: number: 2 updated: number: 1 <|file_sep|>original/qtsix/meta.yaml md5: e9056d16c7d42d6f4276624b3215575b patches: - qt_plugin_path.patch build: number: 2 requirements: build: - patch - python - setuptools run: - python test: imports: ...
md5: e9056d16c7d42d6f4276624b3215575b patches: - qt_plugin_path.patch build: number: 1 requirements: build: - python - setuptools run: - python test: imports: - qtsix requires:
<|file_sep|>qtsix/meta.yaml.diff original: number: 2 updated: number: 1 <|file_sep|>original/qtsix/meta.yaml md5: e9056d16c7d42d6f4276624b3215575b patches: - qt_plugin_path.patch build: number: 2 requirements: build: - patch - python - setuptools run: - python test: imports: ...
012ab3f61297ead7d1a9fd8318aa6216cfc8ec08
qtsix/meta.yaml
qtsix/meta.yaml
YAML
<|file_sep|>original/floo/shared.py DEFAULT_HOST = '' DEFAULT_PORT = '' SECURE = True USERNAME = '' SECRET = '' ALERT_ON_MSG = True PERMS = [] WORKSPACE_WINDOW = None CHAT_VIEW = None CHAT_VIEW_PATH = None STALKER_MODE = False IGNORE_MODIFIED_EVENTS = False AGENT = None <|file_sep|>current/floo/shared.py DEFAUL...
DEFAULT_PORT = '' SECURE = True USERNAME = '' SECRET = '' ALERT_ON_MSG = True PERMS = [] WORKSPACE_WINDOW = None CHAT_VIEW = None CHAT_VIEW_PATH = None STALKER_MODE = False IGNORE_MODIFIED_EVENTS = False TICK_TIME = 50 AGENT = None
<|file_sep|>original/floo/shared.py DEFAULT_HOST = '' DEFAULT_PORT = '' SECURE = True USERNAME = '' SECRET = '' ALERT_ON_MSG = True PERMS = [] WORKSPACE_WINDOW = None CHAT_VIEW = None CHAT_VIEW_PATH = None STALKER_MODE = False IGNORE_MODIFIED_EVENTS = False AGENT = None <|file_sep|>current/floo/shared.py DEFAUL...
7481aede4fffc9bc6cf307a70d6d96f2eabbe0be
floo/shared.py
floo/shared.py
Python
<|file_sep|>techlibs/xilinx/drams.txt.diff original: updated: min bits 5 min wports 1 <|file_sep|>original/techlibs/xilinx/drams.txt init 1 abits 7 dbits 1 groups 2 ports 1 1 wrmode 0 1 enable 0 1 transp 0 0 clocks 0 1 clkpol 0 2 endbram match $__XILINX_RAM64X1D make_outreg or_next_if_bet...
ports 1 1 wrmode 0 1 enable 0 1 transp 0 0 clocks 0 1 clkpol 0 2 endbram match $__XILINX_RAM64X1D min bits 5 min wports 1 make_outreg or_next_if_better endmatch match $__XILINX_RAM128X1D min bits 9 min wports 1 make_outreg endmatch
<|file_sep|>techlibs/xilinx/drams.txt.diff original: updated: min bits 5 min wports 1 <|file_sep|>original/techlibs/xilinx/drams.txt init 1 abits 7 dbits 1 groups 2 ports 1 1 wrmode 0 1 enable 0 1 transp 0 0 clocks 0 1 clkpol 0 2 endbram match $__XILINX_RAM64X1D make_outreg or_next_if_bet...
99a3fee8f4a0f89f865ccf5292d5e70d59febd9f
techlibs/xilinx/drams.txt
techlibs/xilinx/drams.txt
Text
<|file_sep|>original/requirements_for_test.txt -r requirements.txt flake8==3.5.0 moto==1.3.4 pytest==3.7.3 pytest-env==0.6.2 pytest-mock==1.10.0 pytest-cov==2.5.1 pytest-xdist==1.23.0 coveralls==1.4.0 freezegun==0.3.10 requests-mock==1.5.2 # optional requirements for jsonschema strict-rfc3339==0.7 rfc3987==1.3.8 <|file...
-r requirements.txt flake8==3.5.0 moto==1.3.4 pytest==3.7.3 pytest-env==0.6.2 pytest-mock==1.10.0 pytest-cov==2.5.1 pytest-xdist==1.23.0 coveralls==1.5.0 freezegun==0.3.10 requests-mock==1.5.2 # optional requirements for jsonschema strict-rfc3339==0.7 rfc3987==1.3.8
<|file_sep|>original/requirements_for_test.txt -r requirements.txt flake8==3.5.0 moto==1.3.4 pytest==3.7.3 pytest-env==0.6.2 pytest-mock==1.10.0 pytest-cov==2.5.1 pytest-xdist==1.23.0 coveralls==1.4.0 freezegun==0.3.10 requests-mock==1.5.2 # optional requirements for jsonschema strict-rfc3339==0.7 rfc3987==1.3.8 <|file...
66431f82be7805a87c9c05055ba78a9d55b5ee85
requirements_for_test.txt
requirements_for_test.txt
Text
<|file_sep|>original/CodeFights/avoidObstacles.py <|file_sep|>current/CodeFights/avoidObstacles.py <|file_sep|>updated/CodeFights/avoidObstacles.py
#!//urs/local/bin/python # Code Fights Avoid Obstacles Problem def avoidObstacles(inputArray): for jump in range(2, 40): safe = True for item in inputArray: if item % jump == 0: safe = False break if safe: return jump def main(): ...
<|file_sep|>original/CodeFights/avoidObstacles.py <|file_sep|>current/CodeFights/avoidObstacles.py <|file_sep|>updated/CodeFights/avoidObstacles.py #!//urs/local/bin/python # Code Fights Avoid Obstacles Problem def avoidObstacles(inputArray): for jump in range(2, 40): safe = True for item in inp...
9d196fff2c1347361e3650363e2c4d718e84ce62
CodeFights/avoidObstacles.py
CodeFights/avoidObstacles.py
Python
<|file_sep|>original/{{cookiecutter.project_slug}}/requirements/production.txt -r base.txt django-celery==3.1.17 django-redis-cache==1.7.0 gunicorn==19.6.0 redis==2.10.5 {% if cookiecutter.use_opbeat == 'y' %}opbeat{% endif %} <|file_sep|>current/{{cookiecutter.project_slug}}/requirements/production.txt -r base.txt dja...
-r base.txt django-celery==3.1.17 django-redis-cache==1.7.1 gunicorn==19.6.0 redis==2.10.5 {% if cookiecutter.use_opbeat == 'y' %}opbeat{% endif %}
<|file_sep|>original/{{cookiecutter.project_slug}}/requirements/production.txt -r base.txt django-celery==3.1.17 django-redis-cache==1.7.0 gunicorn==19.6.0 redis==2.10.5 {% if cookiecutter.use_opbeat == 'y' %}opbeat{% endif %} <|file_sep|>current/{{cookiecutter.project_slug}}/requirements/production.txt -r base.txt dja...
9a146fb6946a413e0199f99a6afa94f3b10838c5
{{cookiecutter.project_slug}}/requirements/production.txt
{{cookiecutter.project_slug}}/requirements/production.txt
Text
<|file_sep|>original/README.md <|file_sep|>current/README.md <|file_sep|>updated/README.md
# Openl10n SDK ## Usage ```php <?php require __DIR__.'/vendor/autoload.php'; $api = new \Openl10n\Sdk\Api(array( 'hostname' => 'openl10n.dev', 'username' => 'user', 'password' => 'user', )); // Retrieve project (object Openl10n\Sdk\Model\Project) $project = $api->getProject('foobar'); // Get languages...
<|file_sep|>original/README.md <|file_sep|>current/README.md <|file_sep|>updated/README.md # Openl10n SDK ## Usage ```php <?php require __DIR__.'/vendor/autoload.php'; $api = new \Openl10n\Sdk\Api(array( 'hostname' => 'openl10n.dev', 'username' => 'user', 'password' => 'user', )); // Retrieve project...
5b8e6eb3959972525582517d5a8fb93a42e9053e
README.md
README.md
Markdown
<|file_sep|>original/.travis.yml language: python python: - 3.2 - 3.3 - 3.4 - pypy3 install: - pip install scrutinizer-ocular coverage webtest httmock requests ppp_datamodel ppp_core sympy ply before_script: - ./setup.py install script: - coverage3 run run_tests.py after_script: - ocular --data-...
language: python python: - 3.2 - 3.3 - 3.4 - pypy3 install: - pip install scrutinizer-ocular webtest httmock requests ppp_datamodel ppp_core sympy ply # Coveralls 4.0 doesn't support Python 3.2 - if [ "$TRAVIS_PYTHON_VERSION" == "3.2" ]; then travis_retry pip install coverage==3.7.1; fi - if ...
<|file_sep|>original/.travis.yml language: python python: - 3.2 - 3.3 - 3.4 - pypy3 install: - pip install scrutinizer-ocular coverage webtest httmock requests ppp_datamodel ppp_core sympy ply before_script: - ./setup.py install script: - coverage3 run run_tests.py after_script: - ocular --data-...
90b5594c55eb593f3c9a497528549b7cb5670ac3
.travis.yml
.travis.yml
YAML
<|file_sep|>original/memegen/routes/_cache.py @yorm.attr(items=List.of_type(Object)) @yorm.sync("data/images/cache.yml") class Cache: SIZE = 9 def __init__(self): self.items = [] def add(self, **kwargs): if kwargs['key'] == 'custom': return log.info("Caching: %s", kwa...
@yorm.attr(items=List.of_type(Object)) @yorm.sync("data/images/cache.yml") class Cache: SIZE = 9 def __init__(self): self.items = [] def add(self, **kwargs): if kwargs['key'] == 'custom' or kwargs in self.items: return log.info("Caching: %s", kwargs) self.ite...
<|file_sep|>original/memegen/routes/_cache.py @yorm.attr(items=List.of_type(Object)) @yorm.sync("data/images/cache.yml") class Cache: SIZE = 9 def __init__(self): self.items = [] def add(self, **kwargs): if kwargs['key'] == 'custom': return log.info("Caching: %s", kwa...
8c3782e676e27bf6b3512ea390ad789698ba331c
memegen/routes/_cache.py
memegen/routes/_cache.py
Python
<|file_sep|>Gamgine/State/RenderState.hs.diff original: textureId name res = snd <$> L.find ((== name) . fst) (textureIds res) updated: textureId name res = L.lookup name $ textureIds res <|file_sep|>original/Gamgine/State/RenderState.hs fontIds :: FontIds } deriving Show emptyRessources :: Ressources emptyRe...
fontIds :: FontIds } deriving Show emptyRessources :: Ressources emptyRessources = Ressources [] [] textureId :: TextureName -> Ressources -> Maybe GL.GLuint textureId name res = L.lookup name $ textureIds res fontId :: FontName -> Ressources -> Maybe GLF.FontId fontId name res = L.lookup name $ fontIds res...
<|file_sep|>Gamgine/State/RenderState.hs.diff original: textureId name res = snd <$> L.find ((== name) . fst) (textureIds res) updated: textureId name res = L.lookup name $ textureIds res <|file_sep|>original/Gamgine/State/RenderState.hs fontIds :: FontIds } deriving Show emptyRessources :: Ressources emptyRe...
3eee6377b71747024df00a5bc6a7e66ca3d43aee
Gamgine/State/RenderState.hs
Gamgine/State/RenderState.hs
Haskell
<|file_sep|>original/examples/plot_2d.py <|file_sep|>current/examples/plot_2d.py <|file_sep|>updated/examples/plot_2d.py
"""Visualizes batch ('population') optimizers as 2D plots.""" import numpy as np from heuristic_optimization.optimizers import ParticleSwarmOptimizer try: import matplotlib.pyplot as plt except ImportError: print("This requires matplotlib (despite not being in the dependencies), but it was not found. Exiting....
<|file_sep|>original/examples/plot_2d.py <|file_sep|>current/examples/plot_2d.py <|file_sep|>updated/examples/plot_2d.py """Visualizes batch ('population') optimizers as 2D plots.""" import numpy as np from heuristic_optimization.optimizers import ParticleSwarmOptimizer try: import matplotlib.pyplot as plt exce...
fecd1e39592ea420039be37717f2b641249b5458
examples/plot_2d.py
examples/plot_2d.py
Python
<|file_sep|>resources/assets/styles/main.scss.diff original: updated: @import "common/settings"; <|file_sep|>original/resources/assets/styles/main.scss @import "common/variables"; @import "common/settings"; @import "common/mixins"; /** Import everything from autoload */ @import "./autoload/**/*"; /** * Import npm d...
@import "common/settings"; @import "common/variables"; @import "common/mixins"; /** Import everything from autoload */ @import "./autoload/**/*"; /** * Import npm dependencies * * Prefix your imports with `~` to grab from node_modules/ * @see https://github.com/webpack-contrib/sass-loader#imports */ // @import "...
<|file_sep|>resources/assets/styles/main.scss.diff original: updated: @import "common/settings"; <|file_sep|>original/resources/assets/styles/main.scss @import "common/variables"; @import "common/settings"; @import "common/mixins"; /** Import everything from autoload */ @import "./autoload/**/*"; /** * Import npm d...
272ce9291cde4e6104ea2671ba6f6dd59e48f92a
resources/assets/styles/main.scss
resources/assets/styles/main.scss
SCSS
<|file_sep|>original/locales/sl/app.ftl footerLinkCookies = Piškotki newsletterFooterHeader = Ostanite v stiku # TODO: these strings are not currently localized. # They are served by the python static dir # and will need python-l20n implementation for coverage <|file_sep|>current/locales/sl/app.ftl footerLinkCookies =...
siteName = Firefox Test Pilot footerLinkCookies = Piškotki newsletterFooterHeader = Ostanite v stiku # TODO: these strings are not currently localized. # They are served by the python static dir # and will need python-l20n implementation for coverage
<|file_sep|>original/locales/sl/app.ftl footerLinkCookies = Piškotki newsletterFooterHeader = Ostanite v stiku # TODO: these strings are not currently localized. # They are served by the python static dir # and will need python-l20n implementation for coverage <|file_sep|>current/locales/sl/app.ftl footerLinkCookies =...
12d0742af5f63e3be1994a79052c029952334b92
locales/sl/app.ftl
locales/sl/app.ftl
FreeMarker
<|file_sep|>wishlist/admin.py.diff original: from wishlist.models import Item updated: from wishlist.models import * <|file_sep|>original/wishlist/admin.py ## Django Admin from django.contrib import admin from wishlist.models import Item #admin.site.register( Category ) #admin.site.register( Item ) class ItemAdmin( ...
## Django Admin from django.contrib import admin from wishlist.models import * admin.site.register( Category ) class ItemAdmin( admin.ModelAdmin ) : list_display = ( "id", "name", "category", "sort_order", "price" ) list_filter = ( "is_active", "category" ) search_fields = ( 'name', ) list_per_page = 30 admin.si...
<|file_sep|>wishlist/admin.py.diff original: from wishlist.models import Item updated: from wishlist.models import * <|file_sep|>original/wishlist/admin.py ## Django Admin from django.contrib import admin from wishlist.models import Item #admin.site.register( Category ) #admin.site.register( Item ) class ItemAdmin( ...
d8e3612d0defdd55253275e676ef57c22a25c3f7
wishlist/admin.py
wishlist/admin.py
Python
<|file_sep|>src/cli/_actions/_pool.py.diff original: (_, rc, message) = dbus_thing.CreatePool( updated: (result, rc, message) = dbus_thing.CreatePool( <|file_sep|>src/cli/_actions/_pool.py.diff original: updated: if rc == 0: print("New pool with object path: %s" % result) <|file_sep|>src/cli/_acti...
print(item) return (rc, message) def destroy_pool(dbus_thing, namespace): """ Destroy a stratis pool. """ if namespace.force: raise StratisCliValueUnimplementedError( namespace.force, "namespace.force" ) (result, rc, message) = dbus_thing.DestroyPo...
<|file_sep|>src/cli/_actions/_pool.py.diff original: (_, rc, message) = dbus_thing.CreatePool( updated: (result, rc, message) = dbus_thing.CreatePool( <|file_sep|>src/cli/_actions/_pool.py.diff original: updated: if rc == 0: print("New pool with object path: %s" % result) <|file_sep|>src/cli/_acti...
6023fa1fdec83c0a4568529982a69ae64801ad5f
src/cli/_actions/_pool.py
src/cli/_actions/_pool.py
Python
<|file_sep|>original/src/components/Contact/Contact.less height: 1em; line-height: 1.0; } .TextContainer { font-size: 1.125em; } // 500px logo .icon-500px { margin-top: -0.1em; display: block; &:before { font-family: sans-serif; content: "5∞"; font-weight: 900; ...
height: 1em; line-height: 1.0; } .TextContainer { font-size: 1.125em; } // 500px logo .icon-500px { margin-top: -0.055em; display: block; &:before { font-family: sans-serif; content: "5∞"; font-weight: 900; font-size: 0.7em; } } }
<|file_sep|>original/src/components/Contact/Contact.less height: 1em; line-height: 1.0; } .TextContainer { font-size: 1.125em; } // 500px logo .icon-500px { margin-top: -0.1em; display: block; &:before { font-family: sans-serif; content: "5∞"; font-weight: 900; ...
9ffccd4fa5acb555413583a4f13aa1666a8da5c9
src/components/Contact/Contact.less
src/components/Contact/Contact.less
Less
<|file_sep|>original/README.md Send push notifications to apple devices (iPhone, iPad, iPod). Installation ------------ Add AppleApnPush in your composer.json: ```js { "require": { "apple/apn-push": "dev-master" } } ``` Now tell composer to download the library by running the command: ``` bash $ ph...
Send push notifications to apple devices (iPhone, iPad, iPod). Installation ------------ Add AppleApnPush in your composer.json: ```js { "require": { "apple/apn-push": "2.0.*@dev" } } ``` Now tell composer to download the library by running the command: ``` bash $ php composer.phar update apple/apn...
<|file_sep|>original/README.md Send push notifications to apple devices (iPhone, iPad, iPod). Installation ------------ Add AppleApnPush in your composer.json: ```js { "require": { "apple/apn-push": "dev-master" } } ``` Now tell composer to download the library by running the command: ``` bash $ ph...
d1bf6686a5dc6556baa44961b0b306a1a36ee30f
README.md
README.md
Markdown
<|file_sep|>original/.kitchen.yml driver_plugin: vagrant driver_config: require_chef_omnibus: true platforms: - name: ubuntu-12.04 run_list: - recipe[apt::default] - name: centos-6.6 suites: - name: default run_list: - recipe[nscd::default] attributes: nscd: server_user: ...
driver_plugin: vagrant driver_config: require_chef_omnibus: true platforms: - name: ubuntu-12.04 run_list: - recipe[apt::default] - name: ubuntu-14.04 run_list: - recipe[apt::default] - name: centos-6.6 suites: - name: default run_list: - recipe[nscd::default] attributes: ...
<|file_sep|>original/.kitchen.yml driver_plugin: vagrant driver_config: require_chef_omnibus: true platforms: - name: ubuntu-12.04 run_list: - recipe[apt::default] - name: centos-6.6 suites: - name: default run_list: - recipe[nscd::default] attributes: nscd: server_user: ...
b1dca4d38441c9ff4a2ef1a0b2e9233b192027b1
.kitchen.yml
.kitchen.yml
YAML
<|file_sep|>original/requirements.txt -i https://pypi.python.org/simple ansible==2.9.4 boto==2.49.0 cffi==1.13.2 jinja2==2.10.3 markupsafe==1.1.1 pycparser==2.19 pyyaml==5.3 six==1.14.0 <|file_sep|>current/requirements.txt -i https://pypi.python.org/simple ansible==2.9.4 boto==2.49.0 cffi==1.13.2 jinja2==2.10.3 markups...
-i https://pypi.python.org/simple ansible==2.9.4 boto==2.49.0 cffi==1.15.0 jinja2==2.10.3 markupsafe==1.1.1 pycparser==2.19 pyyaml==5.3 six==1.14.0
<|file_sep|>original/requirements.txt -i https://pypi.python.org/simple ansible==2.9.4 boto==2.49.0 cffi==1.13.2 jinja2==2.10.3 markupsafe==1.1.1 pycparser==2.19 pyyaml==5.3 six==1.14.0 <|file_sep|>current/requirements.txt -i https://pypi.python.org/simple ansible==2.9.4 boto==2.49.0 cffi==1.13.2 jinja2==2.10.3 markups...
58b058bf91f3e3d974f4f35de27671b99502b5d2
requirements.txt
requirements.txt
Text
<|file_sep|>app/model/Plate.js.diff original: return foods.toString(); updated: return foods.join('\n'); <|file_sep|>original/app/model/Plate.js function makeString(foods) { return foods.toString(); } function update () { var labelSprite = _.find(this.sprite.children, function(child) { return child instanc...
function makeString(foods) { return foods.join('\n'); } function update () { var labelSprite = _.find(this.sprite.children, function(child) { return child instanceof Phaser.Text; }); if (labelSprite) { var label = makeString(this.foods); labelSprite.setText(label); labelSprite.y = 20 - 30 * th...
<|file_sep|>app/model/Plate.js.diff original: return foods.toString(); updated: return foods.join('\n'); <|file_sep|>original/app/model/Plate.js function makeString(foods) { return foods.toString(); } function update () { var labelSprite = _.find(this.sprite.children, function(child) { return child instanc...
f63cf7de2b9aac613121f8af8e56002bd9b48af1
app/model/Plate.js
app/model/Plate.js
JavaScript
<|file_sep|>.travis.yml.diff original: sudo: false updated: <|file_sep|>.travis.yml.diff original: updated: cache: bundler <|file_sep|>.travis.yml.diff original: - 2.2.10 - 2.3.8 - 2.4.9 - 2.5.7 - 2.6.5 updated: - 2.2 - 2.3 - 2.4 - 2.5 - 2.6 - 2.7 <|file_sep|>.travis.yml.diff original: - RAI...
- 2.3 - 2.4 - 2.5 - 2.6 - 2.7 env: matrix: - RAILS_VERSION='~> 4.2.0' SQLITE_VERSION='~> 1.3.6' - RAILS_VERSION='~> 5.0.0' SQLITE_VERSION='~> 1.3.6' - RAILS_VERSION='~> 5.1.0' - RAILS_VERSION='~> 5.2.0' - RAILS_VERSION='~> 6.0.0' matrix: exclude: - rvm: 2.2 env: RAILS_VERSIO...
<|file_sep|>.travis.yml.diff original: sudo: false updated: <|file_sep|>.travis.yml.diff original: updated: cache: bundler <|file_sep|>.travis.yml.diff original: - 2.2.10 - 2.3.8 - 2.4.9 - 2.5.7 - 2.6.5 updated: - 2.2 - 2.3 - 2.4 - 2.5 - 2.6 - 2.7 <|file_sep|>.travis.yml.diff original: - RAI...
c7f3dd848e0b8cf5a49b29bb2ae96ea57b7cde01
.travis.yml
.travis.yml
YAML
<|file_sep|>src/tokens/eth/0x5FB9E9C359CC7191b0293d2FAF1cC41cE3688D75.json.diff original: "width": "28", "height": "28", updated: "width": "28px", "height": "28px", <|file_sep|>src/tokens/eth/0x5FB9E9C359CC7191b0293d2FAF1cC41cE3688D75.json.diff original: "facebook": "", updated: "facebook": "htt...
"width": "28px", "height": "28px", "ipfs_hash": "" }, "support": { "email": "info@goldsilverstandard.com", "url": "https://goldsilverstandard.com/contact" }, "social": { "blog": "https://goldsilverstandard.com/gold-silver-news", "chat": "", "facebook": "https://www.facebook.com/goldsilvers...
<|file_sep|>src/tokens/eth/0x5FB9E9C359CC7191b0293d2FAF1cC41cE3688D75.json.diff original: "width": "28", "height": "28", updated: "width": "28px", "height": "28px", <|file_sep|>src/tokens/eth/0x5FB9E9C359CC7191b0293d2FAF1cC41cE3688D75.json.diff original: "facebook": "", updated: "facebook": "htt...
65859b5e7a51d1d60c99c5da13b88decd96628c8
src/tokens/eth/0x5FB9E9C359CC7191b0293d2FAF1cC41cE3688D75.json
src/tokens/eth/0x5FB9E9C359CC7191b0293d2FAF1cC41cE3688D75.json
JSON
<|file_sep|>original/jenkins/docker-clean-orphans.sh dev-parse.eha.io parse.eha.io eidr-connect.eha.io grits.eha.io grits-dev.eha.io birt.eha.io era.eha.io spa.eha.io ) #Remove local orphans on jenkins itself $remove_orphans #SSH to each machine, and clean up for server in $docker_serve...
dev-parse.eha.io parse.eha.io eidr-connect.eha.io grits.eha.io grits-dev.eha.io birt.eha.io era.eha.io spa.eha.io ) #Remove stopped containers and local orphans on jenkins itself docker ps -a|egrep "Exited|Created"|awk '{print $1}'|xargs docker rm -f $remove_orphans #SSH to each machine...
<|file_sep|>original/jenkins/docker-clean-orphans.sh dev-parse.eha.io parse.eha.io eidr-connect.eha.io grits.eha.io grits-dev.eha.io birt.eha.io era.eha.io spa.eha.io ) #Remove local orphans on jenkins itself $remove_orphans #SSH to each machine, and clean up for server in $docker_serve...
6a4815a6f12aebc05ddcb8e0c310e601aeb4aebf
jenkins/docker-clean-orphans.sh
jenkins/docker-clean-orphans.sh
Shell
<|file_sep|>original/st2client/in-requirements.txt # Remeber to list implicit packages here, otherwise version won't be fixated! argcomplete prettytable pytz python-dateutil pyyaml jsonschema jsonpath-rw requests six sseclient python-editor prompt-toolkit <|file_sep|>current/st2client/in-requirements.txt # Remeber to l...
# Remeber to list implicit packages here, otherwise version won't be fixated! argcomplete prettytable pytz python-dateutil pyyaml jsonschema jsonpath-rw requests six sseclient python-editor prompt-toolkit cryptography
<|file_sep|>original/st2client/in-requirements.txt # Remeber to list implicit packages here, otherwise version won't be fixated! argcomplete prettytable pytz python-dateutil pyyaml jsonschema jsonpath-rw requests six sseclient python-editor prompt-toolkit <|file_sep|>current/st2client/in-requirements.txt # Remeber to l...
12463adfa6d9816f489ae70166c01dd1f70d5633
st2client/in-requirements.txt
st2client/in-requirements.txt
Text
<|file_sep|>original/requirements_dev.txt wheel==0.37.0 pip==21.2.4 watchdog==2.1.5 pip==21.2.4 flake8==3.9.2 Sphinx==4.2.0 tox==3.24.3 coverage==5.5 PyYAML==5.4.1 pytest==6.2.5 <|file_sep|>current/requirements_dev.txt wheel==0.37.0 pip==21.2.4 watchdog==2.1.5 pip==21.2.4 flake8==3.9.2 Sphinx==4.2.0 tox==3.24.3 coverag...
wheel==0.37.0 pip==21.2.4 watchdog==2.1.5 pip==21.2.4 flake8==3.9.2 Sphinx==4.2.0 tox==3.24.4 coverage==5.5 PyYAML==5.4.1 pytest==6.2.5
<|file_sep|>original/requirements_dev.txt wheel==0.37.0 pip==21.2.4 watchdog==2.1.5 pip==21.2.4 flake8==3.9.2 Sphinx==4.2.0 tox==3.24.3 coverage==5.5 PyYAML==5.4.1 pytest==6.2.5 <|file_sep|>current/requirements_dev.txt wheel==0.37.0 pip==21.2.4 watchdog==2.1.5 pip==21.2.4 flake8==3.9.2 Sphinx==4.2.0 tox==3.24.3 coverag...
8ccbfba493ca03bb0d13aae10a52d3ba2f4fe3e3
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/src/Abp.Web/EntityHistory/HttpRequestEntityChangeSetReasonProvider.cs <|file_sep|>current/src/Abp.Web/EntityHistory/HttpRequestEntityChangeSetReasonProvider.cs <|file_sep|>updated/src/Abp.Web/EntityHistory/HttpRequestEntityChangeSetReasonProvider.cs
using Abp.Dependency; using Abp.EntityHistory; using Abp.Runtime; using JetBrains.Annotations; using System.Web; namespace Abp.Web.EntityHistory { /// <summary> /// Implements <see cref="IEntityChangeSetReasonProvider"/> to get reason from HTTP request. /// </summary> public class HttpRequestEntityCha...
<|file_sep|>original/src/Abp.Web/EntityHistory/HttpRequestEntityChangeSetReasonProvider.cs <|file_sep|>current/src/Abp.Web/EntityHistory/HttpRequestEntityChangeSetReasonProvider.cs <|file_sep|>updated/src/Abp.Web/EntityHistory/HttpRequestEntityChangeSetReasonProvider.cs using Abp.Dependency; using Abp.EntityHistory;...
6494b13f3509cfb7fe63863e4d6dc36fbff61804
src/Abp.Web/EntityHistory/HttpRequestEntityChangeSetReasonProvider.cs
src/Abp.Web/EntityHistory/HttpRequestEntityChangeSetReasonProvider.cs
C#
<|file_sep|>original/docs/readme.md # Kickoff documentation: ## Getting started * [Usage](usage.md) — Overview of the project contents. * [FAQ](faq.md) — Frequently asked questions, along with their answers. ## The core of Kickoff * [HTML](html.md) — A guide to the default HTML. * [LESS](less.md) — A guide to the d...
# Kickoff documentation: ## Getting started * [Usage](usage.md) — Overview of the project contents. * [FAQ](faq.md) — Frequently asked questions, along with their answers. ## The core of Kickoff * [HTML](html.md) — A guide to the default HTML. * [SASS](sass.md) — A guide to the default SASS. * [LESS](less.md) — A g...
<|file_sep|>original/docs/readme.md # Kickoff documentation: ## Getting started * [Usage](usage.md) — Overview of the project contents. * [FAQ](faq.md) — Frequently asked questions, along with their answers. ## The core of Kickoff * [HTML](html.md) — A guide to the default HTML. * [LESS](less.md) — A guide to the d...
8feaa54d40795f424334ba062d6345cbd80bb1e9
docs/readme.md
docs/readme.md
Markdown
<|file_sep|>original/_posts/ianmoore/2016-04-24-ian-meetup-2.md <|file_sep|>current/_posts/ianmoore/2016-04-24-ian-meetup-2.md <|file_sep|>updated/_posts/ianmoore/2016-04-24-ian-meetup-2.md
--- layout: post author: touchwick title: "Ian's Second Meetup" --- On Monday, April 18, I went to TriPython's Durham project night. After the Open Source Open Mic, I think this meetup was a bit of a letdown. It was very, very quiet, and everybody kept to themselves. I think I was reminded very clearly that I work best...
<|file_sep|>original/_posts/ianmoore/2016-04-24-ian-meetup-2.md <|file_sep|>current/_posts/ianmoore/2016-04-24-ian-meetup-2.md <|file_sep|>updated/_posts/ianmoore/2016-04-24-ian-meetup-2.md --- layout: post author: touchwick title: "Ian's Second Meetup" --- On Monday, April 18, I went to TriPython's Durham project ni...
49faec73a45b1db29687f391dcc6f4fc4df70b36
_posts/ianmoore/2016-04-24-ian-meetup-2.md
_posts/ianmoore/2016-04-24-ian-meetup-2.md
Markdown
<|file_sep|>original/README.md Please visit the **[pyquaternion homepage](http://kieranwynn.github.io/pyquaternion/)** for full information and the latest documentation. **Designed for Python 2.7+ and 3.0+** --- *** IMPORTANT NOTE *** This module is still under development, and is, at the moment, incomplete. See ...
#pyquaternion A fully featured python module for quaternion representation, manipulation, 3D rotation and animation. Please visit the **[pyquaternion homepage](http://kieranwynn.github.io/pyquaternion/)** for full information and the latest documentation. **Designed for Python 2.7+ and 3.0+** ![demo](./demo.gif) ...
<|file_sep|>original/README.md Please visit the **[pyquaternion homepage](http://kieranwynn.github.io/pyquaternion/)** for full information and the latest documentation. **Designed for Python 2.7+ and 3.0+** --- *** IMPORTANT NOTE *** This module is still under development, and is, at the moment, incomplete. See ...
f586d64c801618a891832bdfb7f1069b3da7b31c
README.md
README.md
Markdown
<|file_sep|>original/app/views/favorite_enterprises/index.html.erb <h1><%= _("%s's favorite enterprises") % profile.name %></h1> <ul class="profile-list"> <% @favorite_enterprises.each do |enterprise| %> <li> <%= link_to_profile profile_image(enterprise) + '<br/>'.html_safe + enterprise.name, ...
<h1><%= _("%s's favorite enterprises") % profile.name %></h1> <ul class="profile-list"> <% @favorite_enterprises.each do |enterprise| %> <li> <%= link_to_profile profile_image(enterprise) + '<br/>'.html_safe + enterprise.name, enterprise.identifier, :class => 'profile-link' %> <%# pr...
<|file_sep|>original/app/views/favorite_enterprises/index.html.erb <h1><%= _("%s's favorite enterprises") % profile.name %></h1> <ul class="profile-list"> <% @favorite_enterprises.each do |enterprise| %> <li> <%= link_to_profile profile_image(enterprise) + '<br/>'.html_safe + enterprise.name, ...
f3b96e61e3ee041b1bd4d77a19f84e054e784c21
app/views/favorite_enterprises/index.html.erb
app/views/favorite_enterprises/index.html.erb
HTML+ERB
<|file_sep|>src/i18n/index.js.diff original: let em; let config; updated: <|file_sep|>src/i18n/index.js.diff original: const configDef = { updated: const config = { <|file_sep|>src/i18n/index.js.diff original: updated: config, <|file_sep|>src/i18n/index.js.diff original: return config; updated: ...
}, /** * Get current locale * @returns {String} Current locale value */ getLocale() { return this.config.locale; }, /** * Initialize module * @param {Object} config Configurations * @private */ init(opts = {}) { this.em = opts.em; return thi...
<|file_sep|>src/i18n/index.js.diff original: let em; let config; updated: <|file_sep|>src/i18n/index.js.diff original: const configDef = { updated: const config = { <|file_sep|>src/i18n/index.js.diff original: updated: config, <|file_sep|>src/i18n/index.js.diff original: return config; updated: ...
88135630eeee214e6a6777b325970084305a3028
src/i18n/index.js
src/i18n/index.js
JavaScript
<|file_sep|>original/_events/2020_06_11_stay_motivated.md layout: event published: true cancelled: false cancel_reason: title: Stay Motivated date: 2020-06-11 14:30:00 +0100 date_end: 2020-10-05 21:00:00 +0100 banner: 2020_06_11_stay_motivated.png location: Discord fb_link: ticket_link: price: Free category: - ...
cancelled: false cancel_reason: title: Stay Motivated date: 2020-06-11 14:30:00 +0100 date_end: 2020-10-05 21:00:00 +0100 banner: 2020_06_11_stay_motivated.png location: Discord fb_link: ticket_link: price: Free category: - Social cohost: --- Join us for weekly catch up sessions to share project ideas, help eac...
<|file_sep|>original/_events/2020_06_11_stay_motivated.md layout: event published: true cancelled: false cancel_reason: title: Stay Motivated date: 2020-06-11 14:30:00 +0100 date_end: 2020-10-05 21:00:00 +0100 banner: 2020_06_11_stay_motivated.png location: Discord fb_link: ticket_link: price: Free category: - ...
eb61424bbbee8f3a28f5bac0fb34996e1fdbae09
_events/2020_06_11_stay_motivated.md
_events/2020_06_11_stay_motivated.md
Markdown
<|file_sep|>recipes/singledispatchmethod/meta.yaml.diff original: updated: noarch: python >=3.4 <|file_sep|>original/recipes/singledispatchmethod/meta.yaml number: 0 requirements: host: - pip - python - setuptools-scm run: - python - singledispatch # [py<34] test: imports: - single...
script: {{ PYTHON }} -m pip install . -vv number: 0 requirements: host: - pip - python - setuptools-scm run: - python test: imports: - singledispatchmethod commands: - pip check requires: - pip about: home: https://github.com/ikalnytskyi/singledispatchmethod
<|file_sep|>recipes/singledispatchmethod/meta.yaml.diff original: updated: noarch: python >=3.4 <|file_sep|>original/recipes/singledispatchmethod/meta.yaml number: 0 requirements: host: - pip - python - setuptools-scm run: - python - singledispatch # [py<34] test: imports: - single...
32fbdf2281eb6ac331006b355b34ba8b81ec8bbf
recipes/singledispatchmethod/meta.yaml
recipes/singledispatchmethod/meta.yaml
YAML
<|file_sep|>inventory_control/database/sql.py.diff original: updated: serial_number VARCHAR(255), <|file_sep|>original/inventory_control/database/sql.py id INT PRIMARY KEY AUTO_INCREMENT, sku TEXT, type INT, status INT, FOREIGN KEY (type) REFERENCES component_type(id) ); CREATE TABLE projects ...
id INT PRIMARY KEY AUTO_INCREMENT, serial_number VARCHAR(255), sku TEXT, type INT, status INT, FOREIGN KEY (type) REFERENCES component_type(id) ); CREATE TABLE projects ( id INT PRIMARY KEY AUTO_INCREMENT, product_number INT, motherboard INT, power_supply INT, cpu INT, h...
<|file_sep|>inventory_control/database/sql.py.diff original: updated: serial_number VARCHAR(255), <|file_sep|>original/inventory_control/database/sql.py id INT PRIMARY KEY AUTO_INCREMENT, sku TEXT, type INT, status INT, FOREIGN KEY (type) REFERENCES component_type(id) ); CREATE TABLE projects ...
222628c6747bdc3574bcb7cf6257c785ffa6451d
inventory_control/database/sql.py
inventory_control/database/sql.py
Python
<|file_sep|>original/index.html --- layout: default title: What time is it right meow? --- <div id="home"> <meta http-equiv="refresh" content="20" > <h1>What time is it right meow?</h1> <p can i put a marker here?>05 53 PST</p> <p><a href=http://smaslennikov.com>Get me out of here!</a></p> <p><a href=http://smaslennik...
--- layout: default title: What time is it right meow? --- <div id="home"> <meta http-equiv="refresh" content="20" > <h1>What time is it right meow?</h1> <p can i put a marker here?>05 53 PST</p> <p><a href=http://smaslennikov.com>Get me out of here!</a></p> <p><a href=http://smaslennikov.com/whattimeisitrightmeow/tim...
<|file_sep|>original/index.html --- layout: default title: What time is it right meow? --- <div id="home"> <meta http-equiv="refresh" content="20" > <h1>What time is it right meow?</h1> <p can i put a marker here?>05 53 PST</p> <p><a href=http://smaslennikov.com>Get me out of here!</a></p> <p><a href=http://smaslennik...
f30f09fef08fbfc1235529f696e2a13cb6a95197
index.html
index.html
HTML
<|file_sep|>original/requirements.txt crc16==0.1.1 docopt==0.6.2 enum34==1.1.6 nose==1.3.7 packaging==19.0 PyCRC==1.21 six==1.13.0 <|file_sep|>current/requirements.txt crc16==0.1.1 docopt==0.6.2 enum34==1.1.6 nose==1.3.7 packaging==19.0 PyCRC==1.21 six==1.13.0 <|file_sep|>updated/requirements.txt
crc16==0.1.1 docopt==0.6.2 enum34==1.1.6 nose==1.3.7 packaging==19.2 PyCRC==1.21 six==1.13.0
<|file_sep|>original/requirements.txt crc16==0.1.1 docopt==0.6.2 enum34==1.1.6 nose==1.3.7 packaging==19.0 PyCRC==1.21 six==1.13.0 <|file_sep|>current/requirements.txt crc16==0.1.1 docopt==0.6.2 enum34==1.1.6 nose==1.3.7 packaging==19.0 PyCRC==1.21 six==1.13.0 <|file_sep|>updated/requirements.txt crc16==0.1.1 docopt==0...
438c133a94297d53d3193e64be7a32a6aa002ef8
requirements.txt
requirements.txt
Text
<|file_sep|>original/tests/ToString2.jl <|file_sep|>current/tests/ToString2.jl <|file_sep|>updated/tests/ToString2.jl
/* Test that we can only coerce an expression to a string if there * is a toString method. * */ public class ToString2 { public void foo() { String s = null; int i = 3; Object o = null; ToString2 o2 = null; s += s; s += o; s += i; s += o2; o += s; // this should be ruled out. } }
<|file_sep|>original/tests/ToString2.jl <|file_sep|>current/tests/ToString2.jl <|file_sep|>updated/tests/ToString2.jl /* Test that we can only coerce an expression to a string if there * is a toString method. * */ public class ToString2 { public void foo() { String s = null; int i = 3; Object o = null; To...
48e4deff446216a75d13eb6d345a8a35b28fdc41
tests/ToString2.jl
tests/ToString2.jl
Julia
<|file_sep|>README.md.diff original: TODO: Write a gem description updated: Provide an alternative to **ActiveRecord#find** that uses the Rails cache to store retrieved items to reduce database load and increase performance for subsequent lookups for the same item. **CacheLookup** also provides cache expiry for items ...
end ``` #### Model#lookup_by_<attribute> The method **lookup_by_<attribute>** will be added to your model. In the above example, this will be **lookup_by_id**. When used with the 'id' attribute, this can be a direct replacement for Model.find(id). ## Contributing 1. Fork it 2. Create your feature branch (`git che...
<|file_sep|>README.md.diff original: TODO: Write a gem description updated: Provide an alternative to **ActiveRecord#find** that uses the Rails cache to store retrieved items to reduce database load and increase performance for subsequent lookups for the same item. **CacheLookup** also provides cache expiry for items ...
d0e056d2b429872d5d26c13e9be188d31ee4f033
README.md
README.md
Markdown
<|file_sep|>original/_includes/head.html <!-- Meta --> <meta charset="UTF-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1"> <meta name="generator" content="Jekyll"> <meta name="description" content="{{ site.description }}"> <title>{%if page.title %}{{ page.title }...
<!-- Meta --> <meta charset="UTF-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1"> <meta name="generator" content="Jekyll"> <meta name="description" content="{{ site.description }}"> <title>{%if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</t...
<|file_sep|>original/_includes/head.html <!-- Meta --> <meta charset="UTF-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1"> <meta name="generator" content="Jekyll"> <meta name="description" content="{{ site.description }}"> <title>{%if page.title %}{{ page.title }...
7514be003980ec3e356716048cdedeba76c95691
_includes/head.html
_includes/head.html
HTML
<|file_sep|>original/README.md # git-hell Git hosting on one shell account. <|file_sep|>current/README.md # git-hell Git hosting on one shell account. <|file_sep|>updated/README.md
# git-hell Git hosting on one shell account. Similar to git-shell, but supports multiple private accounts identified via user's public key. Similar to gitosis and gitolite, but with minimum administration - public keys are installed by users themselves. Some features: * one shell account can host multiple git-hell ac...
<|file_sep|>original/README.md # git-hell Git hosting on one shell account. <|file_sep|>current/README.md # git-hell Git hosting on one shell account. <|file_sep|>updated/README.md # git-hell Git hosting on one shell account. Similar to git-shell, but supports multiple private accounts identified via user's public k...
4699958f44164794399dd139368a87e62dd2a24c
README.md
README.md
Markdown
<|file_sep|>original/stack/logs.py RetentionInDays=365, DeletionPolicy="Retain", ) logging_policy = iam.Policy( PolicyName="LoggingPolicy", PolicyDocument=dict( Statement=[dict( Effect="Allow", Action=[ "logs:Create*", "logs:PutLogEvents"...
logging_policy = iam.Policy( PolicyName="LoggingPolicy", PolicyDocument=dict( Statement=[dict( Effect="Allow", Action=[ "logs:Create*", "logs:PutLogEvents", # Needed by aws-for-fluent-bit: "logs:DescribeLogGroups",...
<|file_sep|>original/stack/logs.py RetentionInDays=365, DeletionPolicy="Retain", ) logging_policy = iam.Policy( PolicyName="LoggingPolicy", PolicyDocument=dict( Statement=[dict( Effect="Allow", Action=[ "logs:Create*", "logs:PutLogEvents"...
9ad049bdac489e5f500f8bf8ec0cd615ccacadbf
stack/logs.py
stack/logs.py
Python
<|file_sep|>original/Mos6510/Instructions/Opcodes.cs namespace Mos6510.Instructions { public enum Opcode { Inx, Iny, Nop, And, Ora, Eor, Adc, Clc, Lda, Sbc, Sta, Ldx, Ldy, } } <|file_sep|>current/Mos6510/Instructions/Opcodes.cs namespace Mos6510.Instructions { ...
namespace Mos6510.Instructions { public enum Opcode { Adc, // Add Memory to Accumulator with Carry And, // "AND" Memory with Accumulator Asl, // Shift Left One Bit (Memory or Accumulator) Bcc, // Branch on Carry Clear Bcs, // Branch on Carry Set Beq, // Branch on Result Zero Bit, // Test...
<|file_sep|>original/Mos6510/Instructions/Opcodes.cs namespace Mos6510.Instructions { public enum Opcode { Inx, Iny, Nop, And, Ora, Eor, Adc, Clc, Lda, Sbc, Sta, Ldx, Ldy, } } <|file_sep|>current/Mos6510/Instructions/Opcodes.cs namespace Mos6510.Instructions { ...
1dbbbc0b38776f29885fe0707c2fe0678373b2d0
Mos6510/Instructions/Opcodes.cs
Mos6510/Instructions/Opcodes.cs
C#
<|file_sep|>original/app/mailers/base_mandrill_mailer.rb <|file_sep|>current/app/mailers/base_mandrill_mailer.rb <|file_sep|>updated/app/mailers/base_mandrill_mailer.rb
require 'mandrill' class BaseMandrillMailer < ActionMailer::Base default( from: "hello@example.com", reply_to: "hello@example.com" ) private def send_mail(email, subject, body) mail(to: email, subject: subject, body: body, content_type: "text/html") end def mandrill_template(template_name, a...
<|file_sep|>original/app/mailers/base_mandrill_mailer.rb <|file_sep|>current/app/mailers/base_mandrill_mailer.rb <|file_sep|>updated/app/mailers/base_mandrill_mailer.rb require 'mandrill' class BaseMandrillMailer < ActionMailer::Base default( from: "hello@example.com", reply_to: "hello@example.com" ) ...
4e71757fe328f3a947a4602d54f01a228016f3f4
app/mailers/base_mandrill_mailer.rb
app/mailers/base_mandrill_mailer.rb
Ruby
<|file_sep|>original/.travis.yml sudo: required dist: trusty language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1 - 2.2 <|file_sep|>current/.travis.yml sudo: required dist: trusty language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1 - 2.2 <|file_sep|>updated/.travis.yml
sudo: required dist: trusty language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1 - 2.2 - 2.3.0
<|file_sep|>original/.travis.yml sudo: required dist: trusty language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1 - 2.2 <|file_sep|>current/.travis.yml sudo: required dist: trusty language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1 - 2.2 <|file_sep|>updated/.travis.yml sudo: required dist: trusty language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1 -...
041b9edf8779f14ae087b885d93d1d4e73db2466
.travis.yml
.travis.yml
YAML
<|file_sep|>original/examples/all_extensions.json "extension_state": { "cogbot.extensions.groups": { "cooldown_rate": 5, "cooldown_per": 10, "server_groups": { "247089194357358592": [ "red", "blue" ] } }, "cogbot.extensions.feed": { "pollin...
"extension_state": { "cogbot.extensions.groups": { "cooldown_rate": 5, "cooldown_per": 10, "server_groups": { "247089194357358592": [ "red", "blue" ] } }, "cogbot.extensions.feed": { "polling_interval": 1, "subscriptions": { "...
<|file_sep|>original/examples/all_extensions.json "extension_state": { "cogbot.extensions.groups": { "cooldown_rate": 5, "cooldown_per": 10, "server_groups": { "247089194357358592": [ "red", "blue" ] } }, "cogbot.extensions.feed": { "pollin...
5c0bd0dc02faa1cb7ebc26167e3cc397882d9dcf
examples/all_extensions.json
examples/all_extensions.json
JSON
<|file_sep|>original/.travis.yml language: php php: - 7.2 - 7.3 cache: directories: - ~/.composer/cache/files before_install: - phpenv config-rm xdebug.ini || true install: - composer update script: - composer validate --strict - composer analyse <|file_sep|>current/.travis.ym...
language: php php: - 7.2 - 7.3 - 7.4 cache: directories: - ~/.composer/cache/files before_install: - phpenv config-rm xdebug.ini || true install: - composer update script: - composer validate --strict - composer analyse
<|file_sep|>original/.travis.yml language: php php: - 7.2 - 7.3 cache: directories: - ~/.composer/cache/files before_install: - phpenv config-rm xdebug.ini || true install: - composer update script: - composer validate --strict - composer analyse <|file_sep|>current/.travis.ym...
dabccc3a54420b5994e924e94680e055ed4fd0a4
.travis.yml
.travis.yml
YAML
<|file_sep|>original/scripts/merge_translations.py <|file_sep|>current/scripts/merge_translations.py <|file_sep|>updated/scripts/merge_translations.py
import sys import yaml def main(base_file, new_file, overwrite_language): old = yaml.load(file(base_file).read()) new = yaml.load(file(new_file).read()) assert len(overwrite_language) == 2 for o, n in zip(old, new): if overwrite_language in n['text']: o['text'][overwrite_languag...
<|file_sep|>original/scripts/merge_translations.py <|file_sep|>current/scripts/merge_translations.py <|file_sep|>updated/scripts/merge_translations.py import sys import yaml def main(base_file, new_file, overwrite_language): old = yaml.load(file(base_file).read()) new = yaml.load(file(new_file).read()) ...
d36f0e06533f08e471981f6afee56a78a0be87fc
scripts/merge_translations.py
scripts/merge_translations.py
Python
<|file_sep|>original/pointofsale/templates/pointofsale/account_list.html <tr> <th>Name</th> <th>&#8359; total</th> <th>&#8359; spend</th> <th>&#8359; left</th> <th>Drinks bought</th> <td></td> </tr> {% for account in object_list %} <tr class="{% cycle 'row1' 'row2' %}"> <td>{{ accoun...
<tr> <th>Name</th> <th>&#8359; total</th> <th>&#8359; spend</th> <th>&#8359; left</th> <th>Drinks bought</th> <td></td> </tr> {% for account in object_list %} <tr class="{% cycle 'row1' 'row2' %}"> <td>{{ account.user.get_full_name }}</td> <td>{{ account.credits }}</td> ...
<|file_sep|>original/pointofsale/templates/pointofsale/account_list.html <tr> <th>Name</th> <th>&#8359; total</th> <th>&#8359; spend</th> <th>&#8359; left</th> <th>Drinks bought</th> <td></td> </tr> {% for account in object_list %} <tr class="{% cycle 'row1' 'row2' %}"> <td>{{ accoun...
ba2dcb7f5bffca9b554a6539bb6955d7113cda5a
pointofsale/templates/pointofsale/account_list.html
pointofsale/templates/pointofsale/account_list.html
HTML
<|file_sep|>.travis.yml.diff original: updated: - sudo add-apt-repository -y ppa:jonathonf/backports <|file_sep|>original/.travis.yml - "3.4" # - "3.5" sudo: required dist: trusty before_install: - sudo apt-get -qq update - sudo apt-get install -y lynx install: - pip install -r requirements.txt - pyth...
- "3.4" # - "3.5" sudo: required dist: trusty before_install: - sudo add-apt-repository -y ppa:jonathonf/backports - sudo apt-get -qq update - sudo apt-get install -y lynx sqlite3 install: - pip install -r requirements.txt - python setup.py install - pip2 install texttest services: - memcached sc...
<|file_sep|>.travis.yml.diff original: updated: - sudo add-apt-repository -y ppa:jonathonf/backports <|file_sep|>original/.travis.yml - "3.4" # - "3.5" sudo: required dist: trusty before_install: - sudo apt-get -qq update - sudo apt-get install -y lynx install: - pip install -r requirements.txt - pyth...
85bdfbb31a00084f65e01a750424ea654e05975f
.travis.yml
.travis.yml
YAML
<|file_sep|>scalameta/tokenizers/shared/src/main/scala/scala/meta/tokenizers/Errors.scala.diff original: def get: Tokens = this match { case Tokenized.Success(tokens) => tokens case Tokenized.Error(_, _, details) => throw details updated: def fold[A](fe: Tokenized.Error => A, ft: Tokens => A): A = this mat...
@root trait Tokenized { def fold[A](fe: Tokenized.Error => A, ft: Tokens => A): A = this match { case Tokenized.Success(t) => ft(t) case e: Tokenized.Error => fe(e) } def get: Tokens = fold(e => throw e.details, identity) def orElse(alt: => Tokenized): Tokenized = fold(_ => alt, _ => this) def getO...
<|file_sep|>scalameta/tokenizers/shared/src/main/scala/scala/meta/tokenizers/Errors.scala.diff original: def get: Tokens = this match { case Tokenized.Success(tokens) => tokens case Tokenized.Error(_, _, details) => throw details updated: def fold[A](fe: Tokenized.Error => A, ft: Tokens => A): A = this mat...
8ff0e9de55224d62241f3da38901defa8ee6d60f
scalameta/tokenizers/shared/src/main/scala/scala/meta/tokenizers/Errors.scala
scalameta/tokenizers/shared/src/main/scala/scala/meta/tokenizers/Errors.scala
Scala
<|file_sep|>original/src/SecucardConnect/Product/Payment/SecupayCreditcardsService.php <?php namespace SecucardConnect\Product\Payment; use SecucardConnect\Product\Payment\Service\PaymentService; /** * Operations for the payment.secupaycreditcard resource. * @package SecucardConnect\Product\Payment */ class Secup...
<?php namespace SecucardConnect\Product\Payment; use SecucardConnect\Product\Payment\Service\PaymentService; /** * Operations for the payment.secupaycreditcard resource. * @package SecucardConnect\Product\Payment */ class SecupayCreditcardsService extends PaymentService { }
<|file_sep|>original/src/SecucardConnect/Product/Payment/SecupayCreditcardsService.php <?php namespace SecucardConnect\Product\Payment; use SecucardConnect\Product\Payment\Service\PaymentService; /** * Operations for the payment.secupaycreditcard resource. * @package SecucardConnect\Product\Payment */ class Secup...
415855559410f86056f0848d380034af2dfd8db5
src/SecucardConnect/Product/Payment/SecupayCreditcardsService.php
src/SecucardConnect/Product/Payment/SecupayCreditcardsService.php
PHP
<|file_sep|>original/resources/db/update/34.php <|file_sep|>current/resources/db/update/34.php <|file_sep|>updated/resources/db/update/34.php
<?php if (CM_Db_Db::existsTable('cm_language')) { CM_Db_Db::exec('RENAME TABLE cm_language TO cm_model_language'); } if (CM_Db_Db::existsTable('cm_languageKey')) { CM_Db_Db::exec('RENAME TABLE cm_languageKey TO cm_model_languagekey'); }
<|file_sep|>original/resources/db/update/34.php <|file_sep|>current/resources/db/update/34.php <|file_sep|>updated/resources/db/update/34.php <?php if (CM_Db_Db::existsTable('cm_language')) { CM_Db_Db::exec('RENAME TABLE cm_language TO cm_model_language'); } if (CM_Db_Db::existsTable('cm_languageKey')) { CM...
271bce91f56d0999077efaab2deebeb7c6057d2d
resources/db/update/34.php
resources/db/update/34.php
PHP
<|file_sep|>original/.scrutinizer.yml build: nodes: analysis: tests: override: - php-scrutinizer-run --enable-security-analysis filter: excluded_paths: - 'build/*' - 'l10n/*' - 'src/tests/*' - 'tests/' - 'vendor/*' ...
build: nodes: analysis: tests: override: - php-scrutinizer-run filter: excluded_paths: - 'build/*' - 'l10n/*' - 'src/tests/*' - 'tests/' - 'vendor/*' imports: - javascript - php tools: external_code_co...
<|file_sep|>original/.scrutinizer.yml build: nodes: analysis: tests: override: - php-scrutinizer-run --enable-security-analysis filter: excluded_paths: - 'build/*' - 'l10n/*' - 'src/tests/*' - 'tests/' - 'vendor/*' ...
3577b7a7ad2654fdb1939c579c2612074ef8e6d9
.scrutinizer.yml
.scrutinizer.yml
YAML
<|file_sep|>original/csvkit/__init__.py if self.row_count == 0: row.insert(0, 'line_number') else: row.insert(0, self.row_count) self.row_count += 1 def writerow(self, row): if self.line_numbers: row = list(row) self._appe...
if self.row_count == 0: row.insert(0, 'line_number') else: row.insert(0, self.row_count) self.row_count += 1 def writerow(self, row): if self.line_numbers: row = list(row) self._append_line_number(row) # Convert e...
<|file_sep|>original/csvkit/__init__.py if self.row_count == 0: row.insert(0, 'line_number') else: row.insert(0, self.row_count) self.row_count += 1 def writerow(self, row): if self.line_numbers: row = list(row) self._appe...
7125760a5d824ebe4bab81d688113a877f1c78c3
csvkit/__init__.py
csvkit/__init__.py
Python
<|file_sep|>original/index.js #!/usr/bin/env node var path = require('path'); var adventure = require('adventure'); var jsing = adventure('javascripting-jp'); var problems = require('./menu.json'); problems.forEach(function (problem) { var p = problem.toLowerCase().replace(/\s/g, '-'); var dir = path.join(__dirn...
#!/usr/bin/env node var path = require('path'); var adventure = require('adventure'); var jsing = adventure('javascripting-jp'); var problems = require('./menu.json'); problems.forEach(function (problem) { // eg. title(dir) var link = problem.match(/.*\((\w[\s\w]*\w)\)/); if(link){ var name = link[1]; ...
<|file_sep|>original/index.js #!/usr/bin/env node var path = require('path'); var adventure = require('adventure'); var jsing = adventure('javascripting-jp'); var problems = require('./menu.json'); problems.forEach(function (problem) { var p = problem.toLowerCase().replace(/\s/g, '-'); var dir = path.join(__dirn...
61333f7cc1e06f0159aea3379e29949a221858f0
index.js
index.js
JavaScript
<|file_sep|>original/docs/deeplearning/DeepLearningRVignetteDemo/readme.txt H2O Deep Learning R Vignette Example R script ********************************************* This example R script goes together with the R Vignette at https://github.com/0xdata/h2o/blob/master/docs/deeplearning/DeepLearningRVignette.pdf Plea...
H2O Deep Learning R Vignette Example R script ********************************************* This example R script goes together with the R Vignette at https://github.com/0xdata/h2o/blob/master/docs/deeplearning/DeepLearningRVignette.pdf Please check frequently for updates. Prerequisites: 1) R needs to be installed,...
<|file_sep|>original/docs/deeplearning/DeepLearningRVignetteDemo/readme.txt H2O Deep Learning R Vignette Example R script ********************************************* This example R script goes together with the R Vignette at https://github.com/0xdata/h2o/blob/master/docs/deeplearning/DeepLearningRVignette.pdf Plea...
8601db72ebdf0729a8d554a2f8d59b726bd16c07
docs/deeplearning/DeepLearningRVignetteDemo/readme.txt
docs/deeplearning/DeepLearningRVignetteDemo/readme.txt
Text
<|file_sep|>ansible/roles/millpond-filebot/templates/sortitaaht.sh.diff original: --output "/var/lib/plexmediaserver" \ updated: --output "/var/lib/plexmediaserver/Media" \ <|file_sep|>ansible/roles/millpond-filebot/templates/sortitaaht.sh.diff original: "seriesFormat=TV Shows/{n}/{'S'+s...
#!/bin/sh filebot -script fn:amc \ --output "/var/lib/plexmediaserver/Media" \ --log-file amc.log \ --action hardlink \ --conflict override -non-strict \ --def music=y subtitles=en artwork=y \ --def \ "seriesFormat=TV/{n}/{'S'+s}/{s00e00} - {t}" \ ...
<|file_sep|>ansible/roles/millpond-filebot/templates/sortitaaht.sh.diff original: --output "/var/lib/plexmediaserver" \ updated: --output "/var/lib/plexmediaserver/Media" \ <|file_sep|>ansible/roles/millpond-filebot/templates/sortitaaht.sh.diff original: "seriesFormat=TV Shows/{n}/{'S'+s...
3e52da231ebe9606388be9552da17fe0c5aadb4a
ansible/roles/millpond-filebot/templates/sortitaaht.sh
ansible/roles/millpond-filebot/templates/sortitaaht.sh
Shell
<|file_sep|>lib/sendgrid.js.diff original: updated: //Helper to get empty request function getEmptyRequest() { return JSON.parse(JSON.stringify(emptyRequest)); } <|file_sep|>lib/sendgrid.js.diff original: var globalRequest = this.emptyRequest(); updated: var globalRequest = getEmptyRequest(); <|file_sep|>lib/se...
} var client = new Client(globalRequest); this.emptyRequest = getEmptyRequest; // Interact with the API with this function this.API = function(request, callback) { client.API(request, function(response) { callback(response); }); }; this.globalRequest = globalRequest; return this; } mod...
<|file_sep|>lib/sendgrid.js.diff original: updated: //Helper to get empty request function getEmptyRequest() { return JSON.parse(JSON.stringify(emptyRequest)); } <|file_sep|>lib/sendgrid.js.diff original: var globalRequest = this.emptyRequest(); updated: var globalRequest = getEmptyRequest(); <|file_sep|>lib/se...
d051d8f055631619f51719648f7e6e29005623fd
lib/sendgrid.js
lib/sendgrid.js
JavaScript
<|file_sep|>src/arch/posix/csp_clock.c.diff original: void clock_get_time(timestamp_t * timestamp) { updated: void clock_get_time(csp_timestamp_t * timestamp) { <|file_sep|>original/src/arch/posix/csp_clock.c This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the impl...
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along...
<|file_sep|>src/arch/posix/csp_clock.c.diff original: void clock_get_time(timestamp_t * timestamp) { updated: void clock_get_time(csp_timestamp_t * timestamp) { <|file_sep|>original/src/arch/posix/csp_clock.c This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the impl...
a9a7737f4f0120d49ef870a1aa5bf74e05dac1e8
src/arch/posix/csp_clock.c
src/arch/posix/csp_clock.c
C
<|file_sep|>original/validation-test/compiler_crashers/28217-swift-diagnosticengine-emitdiagnostic.swift <|file_sep|>current/validation-test/compiler_crashers/28217-swift-diagnosticengine-emitdiagnostic.swift <|file_sep|>updated/validation-test/compiler_crashers/28217-swift-diagnosticengine-emitdiagnostic.swift
// RUN: not --crash %target-swift-frontend %s -parse // REQUIRES: asserts // Distributed under the terms of the MIT license // Test case submitted to project by https://github.com/practicalswift (practicalswift) // Test case found by fuzzing var b{enum b:String{case=nil
<|file_sep|>original/validation-test/compiler_crashers/28217-swift-diagnosticengine-emitdiagnostic.swift <|file_sep|>current/validation-test/compiler_crashers/28217-swift-diagnosticengine-emitdiagnostic.swift <|file_sep|>updated/validation-test/compiler_crashers/28217-swift-diagnosticengine-emitdiagnostic.swift // RU...
1fbef1f777133fa5c51dbcbd58d23f15768e7dd6
validation-test/compiler_crashers/28217-swift-diagnosticengine-emitdiagnostic.swift
validation-test/compiler_crashers/28217-swift-diagnosticengine-emitdiagnostic.swift
Swift
<|file_sep|>subprojects/configuration-cache-report/README.md.diff original: Start a continuous build on one shell: updated: Start a build on one shell: <|file_sep|>subprojects/configuration-cache-report/README.md.diff original: $ ./gradlew :cCR:stageDevReport -t updated: $ ./gradlew :cCR:stageDevReport <|file_s...
An [example file](./src/main/resources/configuration-cache-report-data.js) is kept for documentation and testing purposes. The app itself is built according to [the Elm architecture](https://guide.elm-lang.org/architecture/). ## Setting up a quick feedback loop Start a build on one shell: $ ./gradlew :cCR:stage...
<|file_sep|>subprojects/configuration-cache-report/README.md.diff original: Start a continuous build on one shell: updated: Start a build on one shell: <|file_sep|>subprojects/configuration-cache-report/README.md.diff original: $ ./gradlew :cCR:stageDevReport -t updated: $ ./gradlew :cCR:stageDevReport <|file_s...
355b1ae69369b05e670d7ac0b79727ad6e1811fb
subprojects/configuration-cache-report/README.md
subprojects/configuration-cache-report/README.md
Markdown
<|file_sep|>original/app/views/detour/flags/index.html.erb <h1><%= params[:flaggable_type].classify %> Flags</h1> <table class="table table-striped"> <thead> <tr> <th>Feature</th> </tr> </thead> <tbody> <% @features.each do |feature| %> <tr> <td><%= feature %></td> </tr> ...
<h1><%= params[:flaggable_type].classify %> Flags</h1> <table class="table table-striped"> <thead> <tr> <th>Feature</th> </tr> </thead> <tbody> <% @features.each do |feature| %> <tr> <td><%= feature %></td> </tr> <% end %> </tbody> </table>
<|file_sep|>original/app/views/detour/flags/index.html.erb <h1><%= params[:flaggable_type].classify %> Flags</h1> <table class="table table-striped"> <thead> <tr> <th>Feature</th> </tr> </thead> <tbody> <% @features.each do |feature| %> <tr> <td><%= feature %></td> </tr> ...
cc49e6d08bca268a79e94508b103dfa3315c636e
app/views/detour/flags/index.html.erb
app/views/detour/flags/index.html.erb
HTML+ERB
<|file_sep|>original/{{cookiecutter.repo_name}}/requirements/base.txt Django==1.9.8 wagtail==1.5.3 celery==3.1.23 django-cachalot==1.2.1 django-compressor==2.0 django-environ==0.4.0 django-foundation-formtags==0.0.5 django-wagtail-feeds==0.0.3 django-libsass==0.7 django-redis==4.4.3 elasticsearch==2.3.0 libsass==0.11.1...
Django==1.9.8 wagtail==1.5.3 celery==3.1.23 django-cachalot==1.2.1 django-compressor==2.0 django-environ==0.4.0 django-foundation-formtags==0.0.5 django-wagtail-feeds==0.0.3 django-libsass==0.7 django-redis==4.4.4 elasticsearch==2.3.0 libsass==0.11.1 psycopg2==2.6.2 wagalytics==0.6
<|file_sep|>original/{{cookiecutter.repo_name}}/requirements/base.txt Django==1.9.8 wagtail==1.5.3 celery==3.1.23 django-cachalot==1.2.1 django-compressor==2.0 django-environ==0.4.0 django-foundation-formtags==0.0.5 django-wagtail-feeds==0.0.3 django-libsass==0.7 django-redis==4.4.3 elasticsearch==2.3.0 libsass==0.11.1...
74c07eb118184e99541474421fa9f24e85fc0279
{{cookiecutter.repo_name}}/requirements/base.txt
{{cookiecutter.repo_name}}/requirements/base.txt
Text
<|file_sep|>original/data/building-hours/8-bc.yaml name: Buntrock Commons image: buntrock category: Academia schedule: - title: Hours hours: - {days: [Mo, Tu, We, Th], from: '7:00am', to: '12:00am'} - {days: [Fr, Sa], from: '7:00am', to: '2:00am'} - {days: [Su], from: '7:00am', to: '12:00am'} ...
name: Buntrock Commons image: buntrock category: Academia schedule: - title: Hours hours: # - {days: [Mo, Tu, We, Th], from: '7:00am', to: '12:00am'} # - {days: [Fr, Sa], from: '7:00am', to: '2:00am'} # - {days: [Su], from: '7:00am', to: '12:00am'} breakSchedule: fall: [] thanksgiving: [] ...
<|file_sep|>original/data/building-hours/8-bc.yaml name: Buntrock Commons image: buntrock category: Academia schedule: - title: Hours hours: - {days: [Mo, Tu, We, Th], from: '7:00am', to: '12:00am'} - {days: [Fr, Sa], from: '7:00am', to: '2:00am'} - {days: [Su], from: '7:00am', to: '12:00am'} ...
393e8655fb3bbe7a0fe04d0308ed3d4d8c1205ca
data/building-hours/8-bc.yaml
data/building-hours/8-bc.yaml
YAML
<|file_sep|>original/WundergroundClient/Autocomplete/RawAutocompleteResult.cs <|file_sep|>current/WundergroundClient/Autocomplete/RawAutocompleteResult.cs <|file_sep|>updated/WundergroundClient/Autocomplete/RawAutocompleteResult.cs
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; namespace WundergroundClient.Autocomplete { [DataContract] internal class RawAutocompleteResult { [DataMember] internal RawResult[] RESULTS; } [DataContract] inter...
<|file_sep|>original/WundergroundClient/Autocomplete/RawAutocompleteResult.cs <|file_sep|>current/WundergroundClient/Autocomplete/RawAutocompleteResult.cs <|file_sep|>updated/WundergroundClient/Autocomplete/RawAutocompleteResult.cs using System; using System.Collections.Generic; using System.Linq; using System.Runti...
9f0fb6a5d4fa64e15ace810e29ae90b02175db78
WundergroundClient/Autocomplete/RawAutocompleteResult.cs
WundergroundClient/Autocomplete/RawAutocompleteResult.cs
C#
<|file_sep|>original/karma.headless.js See the accompanying LICENSE file for terms. */ // Karma configuration module.exports = function(config) { var sharedConf = require('./karma.shared')(config); // Coverage sharedConf.browserify.transform.push([ 'browserify-istanbul', { ignore: [ '**/src...
See the accompanying LICENSE file for terms. */ // Karma configuration module.exports = function(config) { var sharedConf = require('./karma.shared')(config); // Coverage sharedConf.browserify.transform.push([ 'browserify-istanbul', { ignore: [ '**/src/scrollable.js', // just a wrapper ...
<|file_sep|>original/karma.headless.js See the accompanying LICENSE file for terms. */ // Karma configuration module.exports = function(config) { var sharedConf = require('./karma.shared')(config); // Coverage sharedConf.browserify.transform.push([ 'browserify-istanbul', { ignore: [ '**/src...
776649affe45e648653cd87b235dbe10726aebbf
karma.headless.js
karma.headless.js
JavaScript
<|file_sep|>src/app/containers/Root.js.diff original: import CounterApp from './App'; updated: import App from './App'; <|file_sep|>original/src/app/containers/Root.js import React, { Component, PropTypes } from 'react'; import { Provider } from 'react-redux'; import CounterApp from './App'; export default class Root ...
import React, { Component, PropTypes } from 'react'; import { Provider } from 'react-redux'; import App from './App'; export default class Root extends Component { static propTypes = { store: PropTypes.object.isRequired }; render() { const { store } = this.props; return ( <Provider store={stor...
<|file_sep|>src/app/containers/Root.js.diff original: import CounterApp from './App'; updated: import App from './App'; <|file_sep|>original/src/app/containers/Root.js import React, { Component, PropTypes } from 'react'; import { Provider } from 'react-redux'; import CounterApp from './App'; export default class Root ...
57dad8d39afa87f35124b3a442644747435deda6
src/app/containers/Root.js
src/app/containers/Root.js
JavaScript
<|file_sep|>lib/main.coffee.diff original: updated: INTERFILESAVETIME = 1000 <|file_sep|>lib/main.coffee.diff original: updated: @fileSaveTimes = {} <|file_sep|>lib/main.coffee.diff original: if atom.workspace.getActiveTextEditor().id is textEditor.id and textEditor.getGrammar().packageName is 'l...
@textEditors[textEditor.id] = new CompositeDisposable @textEditors[textEditor.id].add textEditor.onDidSave (event) => if textEditor.getGrammar().packageName is 'language-babel' filePath = textEditor.getPath() lastSaveTime = @fileSaveTimes[filePath] @fileSaveTimes[filePa...
<|file_sep|>lib/main.coffee.diff original: updated: INTERFILESAVETIME = 1000 <|file_sep|>lib/main.coffee.diff original: updated: @fileSaveTimes = {} <|file_sep|>lib/main.coffee.diff original: if atom.workspace.getActiveTextEditor().id is textEditor.id and textEditor.getGrammar().packageName is 'l...
cb90ae3504fc300f63f42e0d0070ea7e9eb32692
lib/main.coffee
lib/main.coffee
CoffeeScript
<|file_sep|>base/data/purify/base_unittests.exe_UMR_flakey.txt.diff original: ^^^ updated: ^^^ <|file_sep|>base/data/purify/base_unittests.exe_UMR_flakey.txt.diff original: ... updated: ... <|file_sep|>original/base/data/purify/base_unittests.exe_UMR_flakey.txt Uninitialized memory read in `anonymous na...
Uninitialized memory read in `anonymous namespace'::PrependInteger Error Location base/crypto/rsa_private_key_win.cc `anonymous namespace'::PrependInteger base/crypto/rsa_private_key_win.cc base::RSAPrivateKey::ExportPrivateKey(vector::std *) base/crypto/rsa_private_key_unittest.cc RSAPrivateKeyUnitTest_Ini...
<|file_sep|>base/data/purify/base_unittests.exe_UMR_flakey.txt.diff original: ^^^ updated: ^^^ <|file_sep|>base/data/purify/base_unittests.exe_UMR_flakey.txt.diff original: ... updated: ... <|file_sep|>original/base/data/purify/base_unittests.exe_UMR_flakey.txt Uninitialized memory read in `anonymous na...
8265b034e27c6908cf2bbc5b0354425d25577ee6
base/data/purify/base_unittests.exe_UMR_flakey.txt
base/data/purify/base_unittests.exe_UMR_flakey.txt
Text
<|file_sep|>original/README.md # ExcelReport This reporting engine is built on NPOI. #About In fact, now say that ExcelReport is the report engine is still too early, but the assembly since I determined to continue, this is the original intention! <br/><br/> <B>So now, what ExcelReport can do for you?</B><br/> If you ...
# ExcelReport This reporting engine is built on NPOI. #About In fact, now say that ExcelReport is the report engine is still too early, but the assembly since I determined to continue, this is the original intention! <br/><br/> <B>So now, what ExcelReport can do for you?</B><br/> If you have the demand, export data to...
<|file_sep|>original/README.md # ExcelReport This reporting engine is built on NPOI. #About In fact, now say that ExcelReport is the report engine is still too early, but the assembly since I determined to continue, this is the original intention! <br/><br/> <B>So now, what ExcelReport can do for you?</B><br/> If you ...
fbd8b4bb91711093d0b32318fe5ce3837fb213be
README.md
README.md
Markdown
<|file_sep|>original/issue_template.md ### Expected behavior *[Insert details on expected behaviour]* ### Observed behavior *[Insert details on observed behaviour]* ### Steps to reproduce *[Insert reproduction steps (if known)]* ### Environment - react-native version: - bugsnag-react-native version: - react-native-...
### Expected behavior *[Insert details on expected behaviour]* ### Observed behavior *[Insert details on observed behaviour]* ### Steps to reproduce *[Insert reproduction steps (if known)]* ### Environment - react-native version: - bugsnag-react-native version: - react-native-code-push version (if any): - cocoapods...
<|file_sep|>original/issue_template.md ### Expected behavior *[Insert details on expected behaviour]* ### Observed behavior *[Insert details on observed behaviour]* ### Steps to reproduce *[Insert reproduction steps (if known)]* ### Environment - react-native version: - bugsnag-react-native version: - react-native-...
dec2625f53bd5072ff4fc4c4e3fd1806cc8f5004
issue_template.md
issue_template.md
Markdown
<|file_sep|>.travis.yml.diff original: - oraclejdk7 updated: <|file_sep|>original/.travis.yml sudo: false language: java jdk: - oraclejdk11 - oraclejdk10 - oraclejdk9 - oraclejdk8 - oraclejdk7 - openjdk11 - openjdk10 - openjdk9 - openjdk8 - openjdk7 - openjdk6 env: - TERM=dumb after_success: ...
sudo: false language: java jdk: - oraclejdk11 - oraclejdk10 - oraclejdk9 - oraclejdk8 - openjdk11 - openjdk10 - openjdk9 - openjdk8 - openjdk7 env: - TERM=dumb after_success: - gradle cobertura coveralls
<|file_sep|>.travis.yml.diff original: - oraclejdk7 updated: <|file_sep|>original/.travis.yml sudo: false language: java jdk: - oraclejdk11 - oraclejdk10 - oraclejdk9 - oraclejdk8 - oraclejdk7 - openjdk11 - openjdk10 - openjdk9 - openjdk8 - openjdk7 - openjdk6 env: - TERM=dumb after_success: ...
266247f7dad4ea7ea456dc3cee7da576880a9466
.travis.yml
.travis.yml
YAML
<|file_sep|>playbooks/edx_sandbox.yml.diff original: - ora updated: <|file_sep|>original/playbooks/edx_sandbox.yml - xqueue nginx_default_sites: - lms - edxlocal - mongo - { role: 'edxapp', celery_worker: True } - edxapp #- demo - { role: 'rabbitmq', rabbitmq_ip: '127.0....
- xqueue nginx_default_sites: - lms - edxlocal - mongo - { role: 'edxapp', celery_worker: True } - edxapp #- demo - { role: 'rabbitmq', rabbitmq_ip: '127.0.0.1' } - oraclejdk - elasticsearch - forum - { role: "xqueue", update_users: True } - certs - edx_...
<|file_sep|>playbooks/edx_sandbox.yml.diff original: - ora updated: <|file_sep|>original/playbooks/edx_sandbox.yml - xqueue nginx_default_sites: - lms - edxlocal - mongo - { role: 'edxapp', celery_worker: True } - edxapp #- demo - { role: 'rabbitmq', rabbitmq_ip: '127.0....
98d8d7e10eb6fe6b4a6645353c3ead60e553ee9d
playbooks/edx_sandbox.yml
playbooks/edx_sandbox.yml
YAML
<|file_sep|>original/server/services/event-logger.js let trackEvent; // App insights blows up in a non server environment try { // eslint-disable-next-line const appInsights = require('../../utils/applicationinsights'); trackEvent = (name, properties = {}) => { appInsights.client.trackEvent({ name, ...
let trackEvent; // App insights blows up in a non server environment try { // eslint-disable-next-line const appInsights = require('../../utils/applicationinsights'); trackEvent = (name, properties = {}) => { appInsights.client.trackEvent(name, properties); }; } catch (exception) { // eslint-disable-next...
<|file_sep|>original/server/services/event-logger.js let trackEvent; // App insights blows up in a non server environment try { // eslint-disable-next-line const appInsights = require('../../utils/applicationinsights'); trackEvent = (name, properties = {}) => { appInsights.client.trackEvent({ name, ...
0ee09345854583ba479ea530d7079c4aa7f0fb72
server/services/event-logger.js
server/services/event-logger.js
JavaScript
<|file_sep|>recipes/triqs/meta.yaml.diff original: updated: - openblas <|file_sep|>original/recipes/triqs/meta.yaml - boost - clangxx >=8 - fftw - gmp - hdf5 - h5py - mpi4py - {{ pin_compatible("numpy") }} - openmpi - python - scipy test: imports: - pytriqs about...
run: - boost - clangxx >=8 - fftw - gmp - hdf5 - h5py - mpi4py - {{ pin_compatible("numpy") }} - openmpi - openblas - python - scipy test: imports: - pytriqs about: home: https://triqs.github.io license: GPLv3
<|file_sep|>recipes/triqs/meta.yaml.diff original: updated: - openblas <|file_sep|>original/recipes/triqs/meta.yaml - boost - clangxx >=8 - fftw - gmp - hdf5 - h5py - mpi4py - {{ pin_compatible("numpy") }} - openmpi - python - scipy test: imports: - pytriqs about...
3939b08272170bde9b6eaf22afa5fabacb40029f
recipes/triqs/meta.yaml
recipes/triqs/meta.yaml
YAML
<|file_sep|>original/.eslintrc.json <|file_sep|>current/.eslintrc.json <|file_sep|>updated/.eslintrc.json
{ "extends": ["eslint:recommended", "es2015", "google"], "env": { "browser": true, "node": true }, "plugins": [ "html" ], "rules": { "no-var": "off", "new-cap": ["error", { "capIsNewExceptions": ["Polymer"] }], "require-jsdoc": ["warn", { "require": { "FunctionDeclarati...
<|file_sep|>original/.eslintrc.json <|file_sep|>current/.eslintrc.json <|file_sep|>updated/.eslintrc.json { "extends": ["eslint:recommended", "es2015", "google"], "env": { "browser": true, "node": true }, "plugins": [ "html" ], "rules": { "no-var": "off", "new-cap": ["error", { "capIsN...
f16d667d59156c15300ace34ef754f7dca451003
.eslintrc.json
.eslintrc.json
JSON
<|file_sep|>original/get-deps.sh #!/bin/sh -e # # Fetch dependencies, and place them in location that Makefile expects CUDDVER=2.5.0 SHA1SUM=7d0d8b4b03f5c1819fe77a82f3b947421a72d629 URI=ftp://vlsi.colorado.edu/pub/cudd-$CUDDVER.tar.gz mkdir -p extern curl $URI > extern/cudd-$CUDDVER.tar.gz FILECHECKSUM=`sha1sum exte...
#!/bin/sh -e # # Fetch dependencies, and place them in location that Makefile expects CUDDVER=2.5.0 SHA1SUM=7d0d8b4b03f5c1819fe77a82f3b947421a72d629 URI=ftp://vlsi.colorado.edu/pub/cudd-$CUDDVER.tar.gz mkdir -p extern curl $URI > extern/cudd-$CUDDVER.tar.gz FILECHECKSUM=`sha1sum extern/cudd-$CUDDVER.tar.gz| sed 's/ ...
<|file_sep|>original/get-deps.sh #!/bin/sh -e # # Fetch dependencies, and place them in location that Makefile expects CUDDVER=2.5.0 SHA1SUM=7d0d8b4b03f5c1819fe77a82f3b947421a72d629 URI=ftp://vlsi.colorado.edu/pub/cudd-$CUDDVER.tar.gz mkdir -p extern curl $URI > extern/cudd-$CUDDVER.tar.gz FILECHECKSUM=`sha1sum exte...
cc1845b9afd1e25bc9d695777f8ebaabd380d4fe
get-deps.sh
get-deps.sh
Shell
<|file_sep|>packages/cl/clist.yaml.diff original: hash: f6af52ebb3268323778c3d27f5779adcf85bf5651ec5b59f37e1779f5fe262a1 updated: hash: 5508b5f87701885103461d4e1b28594051e698fd6f09254cddd4b37676809d02 <|file_sep|>original/packages/cl/clist.yaml homepage: https://github.com/strake/clist.hs changelog-type: '' hash: f6af5...
homepage: https://github.com/strake/clist.hs changelog-type: '' hash: 5508b5f87701885103461d4e1b28594051e698fd6f09254cddd4b37676809d02 test-bench-deps: {} maintainer: strake888@gmail.com synopsis: Counted list changelog: '' basic-deps: base-unicode-symbols: -any peano: -any base: ! '>=4.8 && <5' all-versions: - '...
<|file_sep|>packages/cl/clist.yaml.diff original: hash: f6af52ebb3268323778c3d27f5779adcf85bf5651ec5b59f37e1779f5fe262a1 updated: hash: 5508b5f87701885103461d4e1b28594051e698fd6f09254cddd4b37676809d02 <|file_sep|>original/packages/cl/clist.yaml homepage: https://github.com/strake/clist.hs changelog-type: '' hash: f6af5...
76f9a51171fc1b7c17d334953b240019dc3d4f6d
packages/cl/clist.yaml
packages/cl/clist.yaml
YAML
<|file_sep|>original/pubspec.yaml name: polymer_expressions version: 0.10.0-pre.1.dev author: Polymer.dart Authors <web-ui-dev@dartlang.org> description: An expressive custom binding syntax for HTML templates homepage: http://www.dartlang.org/polymer-dart/ dependencies: browser: ">=0.10.0 <0.11.0" observe: ">=0.10....
name: polymer_expressions version: 0.10.0-pre.1 author: Polymer.dart Authors <web-ui-dev@dartlang.org> description: An expressive custom binding syntax for HTML templates homepage: http://www.dartlang.org/polymer-dart/ dependencies: browser: ">=0.10.0 <0.11.0" observe: ">=0.10.0-pre.0 <0.11.0" template_binding: "...
<|file_sep|>original/pubspec.yaml name: polymer_expressions version: 0.10.0-pre.1.dev author: Polymer.dart Authors <web-ui-dev@dartlang.org> description: An expressive custom binding syntax for HTML templates homepage: http://www.dartlang.org/polymer-dart/ dependencies: browser: ">=0.10.0 <0.11.0" observe: ">=0.10....
09819838c8b34f7005828706b3d8c080c2504ef3
pubspec.yaml
pubspec.yaml
YAML
<|file_sep|>original/tests/test_config.py class TestBase(object): def test_base_config_interval(self, base_config): assert base_config.interval == 5 class TestRiemann(object): def test_base_config_get_riemann(self, base_config): assert isinstance(base_config.riemann, RiemannConfig) de...
class TestBase(object): def test_base_config_interval(self, base_config): assert base_config.interval == 5 class TestRiemann(object): def test_base_config_get_riemann(self, base_config): assert isinstance(base_config.riemann, RiemannConfig) def test_incomplete_config_get_riemann(self, i...
<|file_sep|>original/tests/test_config.py class TestBase(object): def test_base_config_interval(self, base_config): assert base_config.interval == 5 class TestRiemann(object): def test_base_config_get_riemann(self, base_config): assert isinstance(base_config.riemann, RiemannConfig) de...
0c25bef5514913239db942d96a00a499144282c0
tests/test_config.py
tests/test_config.py
Python
<|file_sep|>original/.travis.yml --- language: node_js node_js: - '0.10' before_install: - sudo apt-get update -qq - npm install -g grunt-cli - npm link grunt - git submodule update --init --recursive env: global: - secure: |- caiZawX1I0N6l9lh9ksYXf7SaoinQckitLw1Be8SY4UnG8fUKOoRN3qhAzf7 KaJeafrGDpQEkvt8...
--- language: node_js node_js: - '0.10' before_install: - sudo apt-get update -qq - npm install -g grunt-cli - git submodule update --init --recursive env: global: - secure: |- caiZawX1I0N6l9lh9ksYXf7SaoinQckitLw1Be8SY4UnG8fUKOoRN3qhAzf7 KaJeafrGDpQEkvt8BARaRRHGfReUcfLfcY8jvq5t2t8yEESpwtOrAfavAWP7 ...
<|file_sep|>original/.travis.yml --- language: node_js node_js: - '0.10' before_install: - sudo apt-get update -qq - npm install -g grunt-cli - npm link grunt - git submodule update --init --recursive env: global: - secure: |- caiZawX1I0N6l9lh9ksYXf7SaoinQckitLw1Be8SY4UnG8fUKOoRN3qhAzf7 KaJeafrGDpQEkvt8...
8f7fbfc7137630d2ec1db1753069de574958e6c6
.travis.yml
.travis.yml
YAML
<|file_sep|>original/packages/node_modules/@node-red/editor-client/src/images/icons/arrow-in.svg <svg width="40" height="60" xmlns="http://www.w3.org/2000/svg"><path d="M18 5v12H7v26h11v12l14-25z" fill="#fff"/></svg> <|file_sep|>current/packages/node_modules/@node-red/editor-client/src/images/icons/arrow-in.svg <svg wi...
<svg width="40" height="60" viewBox="0, 0, 40, 60" xmlns="http://www.w3.org/2000/svg"><path d="M18 5v12H7v26h11v12l14-25z" fill="#fff"/></svg>
<|file_sep|>original/packages/node_modules/@node-red/editor-client/src/images/icons/arrow-in.svg <svg width="40" height="60" xmlns="http://www.w3.org/2000/svg"><path d="M18 5v12H7v26h11v12l14-25z" fill="#fff"/></svg> <|file_sep|>current/packages/node_modules/@node-red/editor-client/src/images/icons/arrow-in.svg <svg wi...
1395092ca6ae47d466992b8b0a297c2ceb78d251
packages/node_modules/@node-red/editor-client/src/images/icons/arrow-in.svg
packages/node_modules/@node-red/editor-client/src/images/icons/arrow-in.svg
SVG
<|file_sep|>original/setup.py author_email='sniemitz@twitter.com', url='https://www.github.com/steveniemitz/scales', description='A python RPC client stack', summary='A generic python RPC client framework.', license='MIT License', packages=['scales', 'scales.http', 'scales.kafka', ...
author_email='sniemitz@twitter.com', url='https://www.github.com/steveniemitz/scales', description='A python RPC client stack', summary='A generic python RPC client framework.', license='MIT License', packages=['scales', 'scales.http', 'scales.kafka', 'scales.loadbalancer...
<|file_sep|>original/setup.py author_email='sniemitz@twitter.com', url='https://www.github.com/steveniemitz/scales', description='A python RPC client stack', summary='A generic python RPC client framework.', license='MIT License', packages=['scales', 'scales.http', 'scales.kafka', ...
e980c71884bd1a6b6c843d52cc2719f468fa077c
setup.py
setup.py
Python
<|file_sep|>original/resources/views/utils/check_remaining_tickets.php <?php /* |------------------------------------------------------ | Return the Closure to calculate the remaining tickets |------------------------------------------------------ */ return function(PDO $db_conn) { $totalTicekts = require _...
<?php /* |------------------------------------------------------ | Return the Closure to calculate the remaining tickets |------------------------------------------------------ */ return function(PDO $db_conn) { $totalTickets = require __DIR__.'/check_total_tickets.php'; try { $soldTickets = (i...
<|file_sep|>original/resources/views/utils/check_remaining_tickets.php <?php /* |------------------------------------------------------ | Return the Closure to calculate the remaining tickets |------------------------------------------------------ */ return function(PDO $db_conn) { $totalTicekts = require _...
282f9f981d2da6f70c672a35f916e6bd38150131
resources/views/utils/check_remaining_tickets.php
resources/views/utils/check_remaining_tickets.php
PHP
<|file_sep|>circle.yml.diff original: - pip install -U pylint updated: <|file_sep|>original/circle.yml dependencies: post: - npm install -g jshint csslint durable-json-lint-cli coffeelint - go get github.com/golang/lint/golint - pip install -U pylint - gem install rubocop -v0.26.1 - gem insta...
dependencies: post: - npm install -g jshint csslint durable-json-lint-cli coffeelint - go get github.com/golang/lint/golint - gem install rubocop -v0.26.1 - gem install scss-lint -v0.28.0 - apt-get install cppcheck - pip install -U pylint
<|file_sep|>circle.yml.diff original: - pip install -U pylint updated: <|file_sep|>original/circle.yml dependencies: post: - npm install -g jshint csslint durable-json-lint-cli coffeelint - go get github.com/golang/lint/golint - pip install -U pylint - gem install rubocop -v0.26.1 - gem insta...
8559672c680bcedf00a49413e8010ba51d681303
circle.yml
circle.yml
YAML
<|file_sep|>fortwayne/index.markdown.diff original: * [11 April 2013](http://openhackfw.eventbrite.com/) updated: * [9 May 2013](http://openhackfw.eventbrite.com/) <|file_sep|>original/fortwayne/index.markdown our Fort Wayne office. We'll keep our [events on Eventbrite](http://openhackfw.eventbrite.com) and would love...
We'll keep our [events on Eventbrite](http://openhackfw.eventbrite.com) and would love to have you join us! Be sure to RSVP for the event so we know to get enough food. If you'd like to get involved, ping [@OpenHackFW](http://twitter.com/OpenHackFW) to let us know what you're thinking! ### Next meetup * [9 May 2013...
<|file_sep|>fortwayne/index.markdown.diff original: * [11 April 2013](http://openhackfw.eventbrite.com/) updated: * [9 May 2013](http://openhackfw.eventbrite.com/) <|file_sep|>original/fortwayne/index.markdown our Fort Wayne office. We'll keep our [events on Eventbrite](http://openhackfw.eventbrite.com) and would love...
6a1a66eb50d200967068fc1318224be61a7d1587
fortwayne/index.markdown
fortwayne/index.markdown
Markdown
<|file_sep|>tests/Unit/CrudApiHelperTest.php.diff original: updated: use \Mockery as m; <|file_sep|>original/tests/Unit/CrudApiHelperTest.php public function testGetModelDisplayNameWithoutAnInstance() { $options = [ 'namespace' => null, 'model' => 'User' ]; $crud...
$this->assertEquals('User', $display); } public function testAuthorUserModelBinding() { $crudApi = new CrudApi(['namespace' => 'Test\\Models\\', 'model' => 'Post']); $related_field = $crudApi->getRelatedField('author_id'); $this->assertEquals('author', $related_field); ...
<|file_sep|>tests/Unit/CrudApiHelperTest.php.diff original: updated: use \Mockery as m; <|file_sep|>original/tests/Unit/CrudApiHelperTest.php public function testGetModelDisplayNameWithoutAnInstance() { $options = [ 'namespace' => null, 'model' => 'User' ]; $crud...
1e14513ce4040db23785ca1de78327552e2562d9
tests/Unit/CrudApiHelperTest.php
tests/Unit/CrudApiHelperTest.php
PHP
<|file_sep|>real_estate_agency/real_estate_agency/views.py.diff original: updated: from new_buildings.forms import SearchForm <|file_sep|>original/real_estate_agency/real_estate_agency/views.py def corporation_benefit_plan(request): return render(request, 'corporation_benefit_plan.html') def index(request): ...
from company.views import about_company_in_digits_context_processor def corporation_benefit_plan(request): return render(request, 'corporation_benefit_plan.html') def index(request): feedbacks = Feedback.objects.all()[:4] context = { 'feedbacks': feedbacks, 'form': SearchForm, } c...
<|file_sep|>real_estate_agency/real_estate_agency/views.py.diff original: updated: from new_buildings.forms import SearchForm <|file_sep|>original/real_estate_agency/real_estate_agency/views.py def corporation_benefit_plan(request): return render(request, 'corporation_benefit_plan.html') def index(request): ...
170293123c89696bbdcfca0cbc72233ea03f90c8
real_estate_agency/real_estate_agency/views.py
real_estate_agency/real_estate_agency/views.py
Python
<|file_sep|>original/data/docs.yml # This is the navigation for Documentation browser - First Steps: Introduction: /docs/introduction Quick Start Guide: /docs/quickstart Getting Started Guide: /docs/gettingstarted - Contributing: How to Contribute: /docs/howtocontribute - (This navigation lives in data/docs.y...
# This is the navigation for Documentation browser - First Steps: Introduction: /docs/introduction Quick Start Guide: /docs/quickstart Getting Started Guide: /docs/gettingstarted - In depth: Filesystems: /docs/filesystems Storage Recommendations: /docs/docker-storage-recommendation Building RHEL images: /do...
<|file_sep|>original/data/docs.yml # This is the navigation for Documentation browser - First Steps: Introduction: /docs/introduction Quick Start Guide: /docs/quickstart Getting Started Guide: /docs/gettingstarted - Contributing: How to Contribute: /docs/howtocontribute - (This navigation lives in data/docs.y...
ca47361e71659154774f8100ffb066f2f4fdfed8
data/docs.yml
data/docs.yml
YAML
<|file_sep|>original/src/test/java/info/avalon566/shardingscaling/sync/mysql/binlog/codec/DecimalValueDecoderTest.java <|file_sep|>current/src/test/java/info/avalon566/shardingscaling/sync/mysql/binlog/codec/DecimalValueDecoderTest.java <|file_sep|>updated/src/test/java/info/avalon566/shardingscaling/sync/mysql/binlo...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
<|file_sep|>original/src/test/java/info/avalon566/shardingscaling/sync/mysql/binlog/codec/DecimalValueDecoderTest.java <|file_sep|>current/src/test/java/info/avalon566/shardingscaling/sync/mysql/binlog/codec/DecimalValueDecoderTest.java <|file_sep|>updated/src/test/java/info/avalon566/shardingscaling/sync/mysql/binlo...
4a170e2b0730b0dfd741f4bd70c6ff583f58f513
src/test/java/info/avalon566/shardingscaling/sync/mysql/binlog/codec/DecimalValueDecoderTest.java
src/test/java/info/avalon566/shardingscaling/sync/mysql/binlog/codec/DecimalValueDecoderTest.java
Java
<|file_sep|>.kitchen.yml.diff original: image: dynatrace/centos-testing:6 updated: provision_command: - yum update -y - yum install -y net-tools tar <|file_sep|>.kitchen.yml.diff original: image: dynatrace/debian-testing:7.8 updated: provision_command: - apt-get update ...
name: docker platforms: - name: centos-6 driver_config: provision_command: - yum update -y - yum install -y net-tools tar - name: debian-7.8 driver_config: provision_command: - apt-get update - apt-get install -y net-tools tar - name: ubuntu-12.04 driver_...
<|file_sep|>.kitchen.yml.diff original: image: dynatrace/centos-testing:6 updated: provision_command: - yum update -y - yum install -y net-tools tar <|file_sep|>.kitchen.yml.diff original: image: dynatrace/debian-testing:7.8 updated: provision_command: - apt-get update ...
c431466cea864699a03aea70fb20b399e4d3ba17
.kitchen.yml
.kitchen.yml
YAML
<|file_sep|>original/publishes/config.php <?php return [ 'providers' => [ #\App\Http\Terranet\Administrator\Navigation\Providers\PagesProvider::class, \App\Http\Terranet\Administrator\Navigation\Providers\RoutesProvider::class, \App\Http\Terranet\Administrator\Navigation\Providers\LinksProv...
<?php return [ 'providers' => [ #\App\Http\Terranet\Administrator\Navigation\Providers\PagesProvider::class, \App\Http\Terranet\Administrator\Navigation\Providers\RoutesProvider::class, \App\Http\Terranet\Administrator\Navigation\Providers\LinksProvider::class, ], 'paths' => [ ...
<|file_sep|>original/publishes/config.php <?php return [ 'providers' => [ #\App\Http\Terranet\Administrator\Navigation\Providers\PagesProvider::class, \App\Http\Terranet\Administrator\Navigation\Providers\RoutesProvider::class, \App\Http\Terranet\Administrator\Navigation\Providers\LinksProv...
ad5532e1156b059bdf527179b430993f16f38e77
publishes/config.php
publishes/config.php
PHP
<|file_sep|>noodles/entities.py.diff original: TODO: - work out a standard form to normalize company names to - import company names into the massive regex updated: <|file_sep|>noodles/entities.py.diff original: updated: COMPANY_SOURCE_FILE = '/tmp/companies_dev.csv' <|file_sep|>noodles/entities.py.diff original: ...
(' bv ', 'b.v.'), ) def normalize(text): text = text.lower() for (rgx, replacement) in norm_reqs: text = re.sub(rgx, replacement, text) return text def get_company_names(): rows = csv.reader(open(COMPANY_SOURCE_FILE, 'r')) names = [normalize(row[0]) for row in rows] return name...
<|file_sep|>noodles/entities.py.diff original: TODO: - work out a standard form to normalize company names to - import company names into the massive regex updated: <|file_sep|>noodles/entities.py.diff original: updated: COMPANY_SOURCE_FILE = '/tmp/companies_dev.csv' <|file_sep|>noodles/entities.py.diff original: ...
ccfe12391050d598ec32861ed146b66f4e907943
noodles/entities.py
noodles/entities.py
Python
<|file_sep|>original/src/Matthias/PhpUnitAsynchronicity/Eventually.php use Matthias\Polling\SystemClock; use Matthias\Polling\Timeout; class Eventually extends \PHPUnit_Framework_Constraint { private $timeoutMilliseconds; private $waitMilliseconds; public function __construct($timeoutMilliseconds = 5000, ...
use Matthias\Polling\SystemClock; use Matthias\Polling\Timeout; class Eventually extends \PHPUnit_Framework_Constraint { private $timeoutMilliseconds; private $waitMilliseconds; public function __construct($timeoutMilliseconds = 5000, $waitMilliseconds = 500) { // for compatibility with PHPUni...
<|file_sep|>original/src/Matthias/PhpUnitAsynchronicity/Eventually.php use Matthias\Polling\SystemClock; use Matthias\Polling\Timeout; class Eventually extends \PHPUnit_Framework_Constraint { private $timeoutMilliseconds; private $waitMilliseconds; public function __construct($timeoutMilliseconds = 5000, ...
33f3d0ee966c86fa0eda6b4731d17736ebe7d466
src/Matthias/PhpUnitAsynchronicity/Eventually.php
src/Matthias/PhpUnitAsynchronicity/Eventually.php
PHP
<|file_sep|>original/app/models/competitions/tabor_overall.rb "Masters Men 50+", "Masters Men 40+", "Masters Women", "Senior Men", "Senior Women" ] end def double_points_for_last_event? true end def default_bar_points 1 end def point_s...
"Senior Women" ] end def double_points_for_last_event? true end def default_bar_points 1 end def maximum_events(race) 5 end def point_schedule [ 100, 70, 50, 40, 36, 32, 28, 24, 20, 16, 15, 14, 13, 12, 11 ] end end end
<|file_sep|>original/app/models/competitions/tabor_overall.rb "Masters Men 50+", "Masters Men 40+", "Masters Women", "Senior Men", "Senior Women" ] end def double_points_for_last_event? true end def default_bar_points 1 end def point_s...
570daefbb8f77222030b83d0892f54c0697b60b4
app/models/competitions/tabor_overall.rb
app/models/competitions/tabor_overall.rb
Ruby
<|file_sep|>original/resources/assets/docs/troubleshooting-guide.md <|file_sep|>current/resources/assets/docs/troubleshooting-guide.md <|file_sep|>updated/resources/assets/docs/troubleshooting-guide.md
<!-- title: Troubleshooting guide short_title: Troubleshooting guide last_updated: February 26, 2015 --> ### The build passes locally but fails on CircleCI There are multiple potential causes for this behavior. Here is a compilation of the ones we see most frequently: - Different language version. Make sure that y...
<|file_sep|>original/resources/assets/docs/troubleshooting-guide.md <|file_sep|>current/resources/assets/docs/troubleshooting-guide.md <|file_sep|>updated/resources/assets/docs/troubleshooting-guide.md <!-- title: Troubleshooting guide short_title: Troubleshooting guide last_updated: February 26, 2015 --> ### The ...
cc54ece9f4c65958bf43e3ff7631456ffe9d9161
resources/assets/docs/troubleshooting-guide.md
resources/assets/docs/troubleshooting-guide.md
Markdown
<|file_sep|>original/Code/Reader/Source-tracking/stream.lisp (trivial-gray-streams:fundamental-character-input-stream) ((%original :initarg :original :reader original) (%contents :initform (make-contents) :reader contents) (%index :initform 0 :accessor index) (%line :initform 0 :accessor line) (%colum...
(%index :initform 0 :accessor index) (%line :initform 0 :accessor line) (%column :initform 0 :accessor column) (%char-to-read :initform nil :accessor char-to-read))) (defun make-source-tracking-stream (stream) (make-instance 'source-tracking-stream :original stream)) (defmethod trivial-gray-streams:...
<|file_sep|>original/Code/Reader/Source-tracking/stream.lisp (trivial-gray-streams:fundamental-character-input-stream) ((%original :initarg :original :reader original) (%contents :initform (make-contents) :reader contents) (%index :initform 0 :accessor index) (%line :initform 0 :accessor line) (%colum...
220506e43b94858c836dc60e5ccfd8c5aec0c9d5
Code/Reader/Source-tracking/stream.lisp
Code/Reader/Source-tracking/stream.lisp
Common Lisp