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/tortilla/utils.py formats = FormatBank() discover_json(formats, content_type='application/json') discover_yaml(formats, content_type='application/x-yaml') def run_from_ipython(): try: __IPYTHON__ return True except NameError: return False class Bunch(dict): ...
formats = FormatBank() discover_json(formats, content_type='application/json') discover_yaml(formats, content_type='application/x-yaml') def run_from_ipython(): return getattr(__builtins__, "__IPYTHON__", False) class Bunch(dict): def __init__(self, kwargs=None): if kwargs is None: kwa...
<|file_sep|>original/tortilla/utils.py formats = FormatBank() discover_json(formats, content_type='application/json') discover_yaml(formats, content_type='application/x-yaml') def run_from_ipython(): try: __IPYTHON__ return True except NameError: return False class Bunch(dict): ...
0f2ccc881e8d2b8b0f4064e3e1fae39b14875821
tortilla/utils.py
tortilla/utils.py
Python
<|file_sep|>original/requirements/common.txt # common requirements # Django Django==1.11.6 django-extensions==1.9.6 django-braces==1.11.0 django-allauth==0.33.0 # Images Pillow==4.2.1 # Frontend django-compressor==2.2 csscompressor==0.9.4 <|file_sep|>current/requirements/common.txt # common requirements # Django Dj...
# common requirements # Django Django==1.11.6 django-extensions==1.9.6 django-braces==1.11.0 django-allauth==0.33.0 # Images Pillow==4.3.0 # Frontend django-compressor==2.2 csscompressor==0.9.4
<|file_sep|>original/requirements/common.txt # common requirements # Django Django==1.11.6 django-extensions==1.9.6 django-braces==1.11.0 django-allauth==0.33.0 # Images Pillow==4.2.1 # Frontend django-compressor==2.2 csscompressor==0.9.4 <|file_sep|>current/requirements/common.txt # common requirements # Django Dj...
338599ea954e83564c5675456f87b71bf5977a05
requirements/common.txt
requirements/common.txt
Text
<|file_sep|>Expecta.podspec.diff original: s.source = { :git => 'https://github.com/specta/expecta.git', :tag => 'v0.2.4' } updated: s.source = { :git => 'https://github.com/specta/expecta.git', :tag => "#{s.version}" } <|file_sep|>original/Expecta.podspec s.version = '0.2.4' s.license = 'MIT' s.summary...
s.name = 'Expecta' s.version = '0.2.4' s.license = 'MIT' s.summary = 'A matcher framework for Objective-C & Cocoa.' s.homepage = 'http://github.com/petejkim/expecta' s.author = { 'Peter Jihoon Kim' => 'raingrove@gmail.com' } s.source = { :git => 'https://github.com/specta/expecta.git', :tag =>...
<|file_sep|>Expecta.podspec.diff original: s.source = { :git => 'https://github.com/specta/expecta.git', :tag => 'v0.2.4' } updated: s.source = { :git => 'https://github.com/specta/expecta.git', :tag => "#{s.version}" } <|file_sep|>original/Expecta.podspec s.version = '0.2.4' s.license = 'MIT' s.summary...
b366552071b9c0cc28986145ef55070d8b42fa18
Expecta.podspec
Expecta.podspec
Ruby
<|file_sep|>original/tests/test_simpleflow/test_exceptions.py <|file_sep|>current/tests/test_simpleflow/test_exceptions.py <|file_sep|>updated/tests/test_simpleflow/test_exceptions.py
import unittest from sure import expect from simpleflow.exceptions import TaskFailed class TestTaskFailed(unittest.TestCase): def test_task_failed_representation(self): failure = TaskFailed("message", None, None) expect(str(failure)).to.equal("('message', None, None)") expect(repr(failur...
<|file_sep|>original/tests/test_simpleflow/test_exceptions.py <|file_sep|>current/tests/test_simpleflow/test_exceptions.py <|file_sep|>updated/tests/test_simpleflow/test_exceptions.py import unittest from sure import expect from simpleflow.exceptions import TaskFailed class TestTaskFailed(unittest.TestCase): ...
ab0ecd4defaffc2e342d435ca490dd28e0314316
tests/test_simpleflow/test_exceptions.py
tests/test_simpleflow/test_exceptions.py
Python
<|file_sep|>original/library/CM/Page/Error/Notfound.php <?php class CM_Page_Error_NotFound extends CM_Page_Abstract { public function prepare(CM_RequestHandler_Abstract $requestHandler) { $requestHandler->setHeaderNotfound(); $this->setTitle('Page Not Found'); } } <|file_sep|>current/library/CM/Page/Error/Notfou...
<?php class CM_Page_Error_Notfound extends CM_Page_Abstract { public function prepare(CM_RequestHandler_Abstract $requestHandler) { $requestHandler->setHeaderNotfound(); $this->setTitle('Page Not Found'); } }
<|file_sep|>original/library/CM/Page/Error/Notfound.php <?php class CM_Page_Error_NotFound extends CM_Page_Abstract { public function prepare(CM_RequestHandler_Abstract $requestHandler) { $requestHandler->setHeaderNotfound(); $this->setTitle('Page Not Found'); } } <|file_sep|>current/library/CM/Page/Error/Notfou...
5fb96d0260e2ed0f84d1e6433395e94a76d91ad8
library/CM/Page/Error/Notfound.php
library/CM/Page/Error/Notfound.php
PHP
<|file_sep|>original/INSTALL.md Installing TickThreading ========== - Install Forge, if you don't already have it. - [Download TickThreading](http://nallar.me/buildservice/job/TickThreading/lastSuccessfulBuild/artifact/target/) - Put it in your minecraft mods directory - Run minecraft, join a world once if using a cli...
Installing TickThreading ========== - Install Forge, if you don't already have it. - [Download TickThreading](http://nallar.me/buildservice/job/TickThreading/lastSuccessfulBuild/artifact/target/) - Put it in your minecraft mods directory - Run minecraft, join a world once if using a client, else just start it if using...
<|file_sep|>original/INSTALL.md Installing TickThreading ========== - Install Forge, if you don't already have it. - [Download TickThreading](http://nallar.me/buildservice/job/TickThreading/lastSuccessfulBuild/artifact/target/) - Put it in your minecraft mods directory - Run minecraft, join a world once if using a cli...
67d54fea3a502193c314c9c63e370f5e209f323c
INSTALL.md
INSTALL.md
Markdown
<|file_sep|>original/log4j-slf4j-impl/src/main/java/org/apache/logging/slf4j/package-info.java /* * 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 AS...
* 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 not ...
<|file_sep|>original/log4j-slf4j-impl/src/main/java/org/apache/logging/slf4j/package-info.java /* * 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 AS...
e02711fc7a26a779960e42ea380503d7c1bd7aa8
log4j-slf4j-impl/src/main/java/org/apache/logging/slf4j/package-info.java
log4j-slf4j-impl/src/main/java/org/apache/logging/slf4j/package-info.java
Java
<|file_sep|>original/weight/models.py # # You should have received a copy of the GNU Affero General Public License # along with Workout Manager. If not, see <http://www.gnu.org/licenses/>. from django.db import models from django.contrib.auth.models import User from django.utils.translation import ugettext as _ cl...
from django.db import models from django.contrib.auth.models import User from django.utils.translation import ugettext as _ class WeightEntry(models.Model): """Model for a weight point """ creation_date = models.DateField(_('Creation date')) weight = models.FloatField(_('Weight')) user = models.F...
<|file_sep|>original/weight/models.py # # You should have received a copy of the GNU Affero General Public License # along with Workout Manager. If not, see <http://www.gnu.org/licenses/>. from django.db import models from django.contrib.auth.models import User from django.utils.translation import ugettext as _ cl...
d6acda58c696c5b348da8c6a4fef3bf06cea0e58
weight/models.py
weight/models.py
Python
<|file_sep|>original/.travis.yml - 1.9.3 - 2.0.0 - 2.1.2 - rbx-2 - ruby-head matrix: include: - rvm: jruby-18mode env: JRUBY_OPTS="$JRUBY_OPTS --debug" - rvm: jruby-19mode env: JRUBY_OPTS="$JRUBY_OPTS --debug" - rvm: jruby-head env: JRUBY_OPTS="$JRUBY_OPTS --debug" allow_fail...
- 2.0.0 - 2.1.2 - rbx-2 - ruby-head matrix: include: - rvm: jruby-18mode env: JRUBY_OPTS="$JRUBY_OPTS --debug" - rvm: jruby-19mode env: JRUBY_OPTS="$JRUBY_OPTS --debug" - rvm: jruby-head env: JRUBY_OPTS="$JRUBY_OPTS --debug" allow_failures: - rvm: 1.9.2 - rvm: jruby-18m...
<|file_sep|>original/.travis.yml - 1.9.3 - 2.0.0 - 2.1.2 - rbx-2 - ruby-head matrix: include: - rvm: jruby-18mode env: JRUBY_OPTS="$JRUBY_OPTS --debug" - rvm: jruby-19mode env: JRUBY_OPTS="$JRUBY_OPTS --debug" - rvm: jruby-head env: JRUBY_OPTS="$JRUBY_OPTS --debug" allow_fail...
067f6638f95bd000b0a92cfb45b668bca5b0efe3
.travis.yml
.travis.yml
YAML
<|file_sep|>original/nova/tests/virt_unittest.py <|file_sep|>current/nova/tests/virt_unittest.py <|file_sep|>updated/nova/tests/virt_unittest.py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # # Copyright 2010 OpenStack LLC # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0...
<|file_sep|>original/nova/tests/virt_unittest.py <|file_sep|>current/nova/tests/virt_unittest.py <|file_sep|>updated/nova/tests/virt_unittest.py # vim: tabstop=4 shiftwidth=4 softtabstop=4 # # Copyright 2010 OpenStack LLC # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use t...
56c9d8dc45c27b8d86f17be4a88dd1c574874460
nova/tests/virt_unittest.py
nova/tests/virt_unittest.py
Python
<|file_sep|>original/src/main/java/strength/PokerHandComparator.java /* First, check if the hands are in the same category. If not, the result * of the comparison is the result of comparing the Hand-Categories, according * to the order degined in the PokerHandKindenumeration type. */ { final int handKindCo...
/* First, check if the hands are in the same category. If not, the result * of the comparison is the result of comparing the Hand-Categories, according * to the order degined in the PokerHandKindenumeration type. */ { final int handKindComparisonResult = Comparator.comparing((PokerHandRanking r) -> r.handK...
<|file_sep|>original/src/main/java/strength/PokerHandComparator.java /* First, check if the hands are in the same category. If not, the result * of the comparison is the result of comparing the Hand-Categories, according * to the order degined in the PokerHandKindenumeration type. */ { final int handKindCo...
e0bd591a7336c75d1f5065886ac3003722b8a343
src/main/java/strength/PokerHandComparator.java
src/main/java/strength/PokerHandComparator.java
Java
<|file_sep|>original/setup.py version='.' . join(map(str, version)), description='face.com face recognition Python API client library', author='Tomaž Muraus', author_email='tomaz@tomaz.me', license='BSD', url='http://github.com/Kami/python-face-client', download_url='http://git...
version='.' . join(map(str, version)), description='face.com face recognition Python API client library', author='Tomaž Muraus', author_email='tomaz@tomaz.me', license='BSD', url='http://github.com/Kami/python-face-client', download_url='http://github.com/Kami/python-face-clien...
<|file_sep|>original/setup.py version='.' . join(map(str, version)), description='face.com face recognition Python API client library', author='Tomaž Muraus', author_email='tomaz@tomaz.me', license='BSD', url='http://github.com/Kami/python-face-client', download_url='http://git...
ee1c890df7c2c86192b68bd442e41226f70a3850
setup.py
setup.py
Python
<|file_sep|>original/package.json ], "author": "Aslak Hellesøy", "license": "MIT", "bugs": { "url": "https://github.com/cucumber/cucumber/issues" }, "homepage": "https://github.com/cucumber/gherkin-javascript", "devDependencies": { "@cucumber/gherkin-streams": "^5.0.1", "@types/mocha": "9.1.1"...
], "author": "Aslak Hellesøy", "license": "MIT", "bugs": { "url": "https://github.com/cucumber/cucumber/issues" }, "homepage": "https://github.com/cucumber/gherkin-javascript", "devDependencies": { "@cucumber/gherkin-streams": "^5.0.1", "@types/mocha": "9.1.1", "@types/node": "16.11.52", ...
<|file_sep|>original/package.json ], "author": "Aslak Hellesøy", "license": "MIT", "bugs": { "url": "https://github.com/cucumber/cucumber/issues" }, "homepage": "https://github.com/cucumber/gherkin-javascript", "devDependencies": { "@cucumber/gherkin-streams": "^5.0.1", "@types/mocha": "9.1.1"...
80419125a4dac0ad354e1425f3ef555fa7b95203
package.json
package.json
JSON
<|file_sep|>original/CME/pages/cme-certificate.xml <widget class="SwatForm" id="certificate_form"> <widget class="SwatDisplayableContainer" id="article_bodytext_container"> <widget class="SwatContentBlock" id="article_bodytext"> <property name="content_type">text/xml</property> </widget> </widget> <wid...
<widget class="SwatForm" id="certificate_form"> <widget class="SwatDisplayableContainer" id="article_bodytext_container"> <widget class="SwatContentBlock" id="article_bodytext"> <property name="content_type">text/xml</property> </widget> </widget> <widget class="SwatFormField" id="credits_field"> <w...
<|file_sep|>original/CME/pages/cme-certificate.xml <widget class="SwatForm" id="certificate_form"> <widget class="SwatDisplayableContainer" id="article_bodytext_container"> <widget class="SwatContentBlock" id="article_bodytext"> <property name="content_type">text/xml</property> </widget> </widget> <wid...
b2465cb1b1455f54565e8b0b6a3b1853b6a1d6b6
CME/pages/cme-certificate.xml
CME/pages/cme-certificate.xml
XML
<|file_sep|>tox.ini.diff original: sitepackages = True updated: <|file_sep|>original/tox.ini [tox] envlist = py27,flake8 [testenv] sitepackages = True deps = -r{toxinidir}/test-requirements.txt commands = python -m testtools.run discover tests [testenv:flake8] deps = flake8 commands = flake8 --builtins=_ zl tests se...
[tox] envlist = py27,flake8 [testenv] deps = -r{toxinidir}/test-requirements.txt commands = nosetests -w tests {posargs} [testenv:flake8] deps = flake8 commands = flake8 --builtins=_ zl tests setup.py
<|file_sep|>tox.ini.diff original: sitepackages = True updated: <|file_sep|>original/tox.ini [tox] envlist = py27,flake8 [testenv] sitepackages = True deps = -r{toxinidir}/test-requirements.txt commands = python -m testtools.run discover tests [testenv:flake8] deps = flake8 commands = flake8 --builtins=_ zl tests se...
e3e77b148d994000d53abee521a514c9b194bf5d
tox.ini
tox.ini
INI
<|file_sep|>original/packages/libtiff/tiff_3.7.2.bb DESCRIPTION = "This software provides support for the Tag Image File Format (TIFF)" LICENSE = "" HOMEPAGE = "http://www.remotesensing.org/libtiff/" DEPENDS = "zlib jpeg" PR = "r3" SRC_URI = "http://dl.maptools.org/dl/libtiff/old/tiff-${PV}.tar.gz \ file://configur...
DESCRIPTION = "This software provides support for the Tag Image File Format (TIFF)" LICENSE = "" HOMEPAGE = "http://www.remotesensing.org/libtiff/" DEPENDS = "zlib jpeg lzo" PR = "r4" SRC_URI = "http://dl.maptools.org/dl/libtiff/old/tiff-${PV}.tar.gz \ file://configure.patch;patch=1" inherit autotools do_stage() ...
<|file_sep|>original/packages/libtiff/tiff_3.7.2.bb DESCRIPTION = "This software provides support for the Tag Image File Format (TIFF)" LICENSE = "" HOMEPAGE = "http://www.remotesensing.org/libtiff/" DEPENDS = "zlib jpeg" PR = "r3" SRC_URI = "http://dl.maptools.org/dl/libtiff/old/tiff-${PV}.tar.gz \ file://configur...
c4a84c511b0657abf8580002def52e3b6428670e
packages/libtiff/tiff_3.7.2.bb
packages/libtiff/tiff_3.7.2.bb
BitBake
<|file_sep|>original/app/assets/stylesheets/app/tables.scss .folder-icon { @extend .fa; @extend .fa-folder-o; } &.expanded .folder-icon { @extend .fa-folder-open-o; } } td.icon, th.icon { width: 32px; } table.table { tr.description td, tr.details td { border-top: none; padding-top: 0; ...
.folder-icon { @extend .fa; @extend .fa-folder-o; } &.expanded .folder-icon { @extend .fa-folder-open-o; } } td.icon, th.icon { width: 32px + 16px; } table.table { tr.description td, tr.details td { border-top: none; padding-top: 0; } td.actions { white-space: nowrap; }
<|file_sep|>original/app/assets/stylesheets/app/tables.scss .folder-icon { @extend .fa; @extend .fa-folder-o; } &.expanded .folder-icon { @extend .fa-folder-open-o; } } td.icon, th.icon { width: 32px; } table.table { tr.description td, tr.details td { border-top: none; padding-top: 0; ...
ac29bf7056863dabbdf5c57ac40683a72153e4e2
app/assets/stylesheets/app/tables.scss
app/assets/stylesheets/app/tables.scss
SCSS
<|file_sep|>original/README.md # pokeoverflow Team Poke Stack Overflow clone <|file_sep|>current/README.md # pokeoverflow Team Poke Stack Overflow clone <|file_sep|>updated/README.md
# Poke Overflow Team Poke's Stack Overflow clone ## Team Members: ... Linsey Reed, Julie Xu, Josh Mun, Nick Jarin ## MVP ### Level One 1. As a user, I can register an account 2. As a user, I can log in to my account 3. As a user, I can log out of my account 4. As a user, I can view a list of all users 5. As a user, I...
<|file_sep|>original/README.md # pokeoverflow Team Poke Stack Overflow clone <|file_sep|>current/README.md # pokeoverflow Team Poke Stack Overflow clone <|file_sep|>updated/README.md # Poke Overflow Team Poke's Stack Overflow clone ## Team Members: ... Linsey Reed, Julie Xu, Josh Mun, Nick Jarin ## MVP ### Level One ...
8b302d76f8ee9db9b27a9fff5236f07109b63c8d
README.md
README.md
Markdown
<|file_sep|>amaranth-chrome-ext/manifest.json.diff original: "js": ["content.js"] updated: "js": ["tf.min.js", "content.js"] <|file_sep|>original/amaranth-chrome-ext/manifest.json { "name": "Amaranth", "version": "0.1.0", "manifest_version": 2, "content_scripts": [ { "matches": ["...
{ "name": "Amaranth", "version": "0.1.0", "manifest_version": 2, "content_scripts": [ { "matches": ["<all_urls>"], "js": ["tf.min.js", "content.js"] } ], "web_accessible_resources": [ "tokenizer.json", "model/*" ] }
<|file_sep|>amaranth-chrome-ext/manifest.json.diff original: "js": ["content.js"] updated: "js": ["tf.min.js", "content.js"] <|file_sep|>original/amaranth-chrome-ext/manifest.json { "name": "Amaranth", "version": "0.1.0", "manifest_version": 2, "content_scripts": [ { "matches": ["...
dbc649ed55c0a05a29a902c77929e4c4a3ed57fd
amaranth-chrome-ext/manifest.json
amaranth-chrome-ext/manifest.json
JSON
<|file_sep|>original/lib/staytus/config.rb module Staytus module Config class << self def theme_name ENV['STAYTUS_THEME'] || 'default' end def theme_root Rails.root.join('content', 'themes', self.theme_name) end def version Staytus::VERSION end ...
module Staytus module Config class << self def theme_name ENV['STAYTUS_THEME'] || 'default' end def theme_root ENV['STAYTUS_THEME_ROOT'] ? File.join(ENV['STAYTUS_THEME_ROOT'], self.theme_name) : Rails.root.join('content', 'themes', self.theme_name) end def version...
<|file_sep|>original/lib/staytus/config.rb module Staytus module Config class << self def theme_name ENV['STAYTUS_THEME'] || 'default' end def theme_root Rails.root.join('content', 'themes', self.theme_name) end def version Staytus::VERSION end ...
2e8c3fdb4d2ac0198c5706479b218dacd2d9a6a5
lib/staytus/config.rb
lib/staytus/config.rb
Ruby
<|file_sep|>noah/noah.py.diff original: updated: import pprint <|file_sep|>noah/noah.py.diff original: entry = next((x for x in self.dictionary if x['word'] == word), None) updated: return self.output(filter(lambda x: x['word'] == word, self.dictionary)) <|file_sep|>noah/noah.py.diff original: ...
return self.output(filter(lambda x: x['word'] == word, self.dictionary)) if not entry is None: return self.output(entry) def random(self): return self.output(random.choice(self.dictionary)) def output(self, data): return json.dumps(data, indent=4) def main(): ...
<|file_sep|>noah/noah.py.diff original: updated: import pprint <|file_sep|>noah/noah.py.diff original: entry = next((x for x in self.dictionary if x['word'] == word), None) updated: return self.output(filter(lambda x: x['word'] == word, self.dictionary)) <|file_sep|>noah/noah.py.diff original: ...
910d9e724e1e80d967853b21f553d753c70fefc0
noah/noah.py
noah/noah.py
Python
<|file_sep|>original/requirements.txt # Handle urllib3 InsecurePlatformWarning requests[security] ndg-httpsclient pyasn1 # running the server gunicorn # monitoring newrelic raven # unit tests coverage unittest-xml-reporting cobertura-clover-transform <|file_sep|>current/requirements.txt # Handle urllib3 InsecurePlat...
# Handle urllib3 InsecurePlatformWarning requests[security] ndg-httpsclient pyasn1 # running the server gunicorn # static files django-storages~=1.4 boto==2.39.0 # monitoring newrelic raven # unit tests coverage unittest-xml-reporting cobertura-clover-transform
<|file_sep|>original/requirements.txt # Handle urllib3 InsecurePlatformWarning requests[security] ndg-httpsclient pyasn1 # running the server gunicorn # monitoring newrelic raven # unit tests coverage unittest-xml-reporting cobertura-clover-transform <|file_sep|>current/requirements.txt # Handle urllib3 InsecurePlat...
c90b8cd40e15a3ccd6cdce990382260df6068a27
requirements.txt
requirements.txt
Text
<|file_sep|>original/README.md ![screenshot](screenshot.png) ## Introduction Nightcode is a simple IDE for Clojure. It integrates a copy of Leiningen as well as the lein-cljsbuild, lein-droid, and lein-fruit plugins. The goal is to provide a simple, all-in-one solution to get started with Clojure programming for the ...
![screenshot](screenshot.png) ## Introduction Nightcode is a simple IDE for Clojure. It integrates a copy of Leiningen as well as the lein-cljsbuild and lein-droid plugins. The goal is to provide a simple, all-in-one solution to get started with Clojure programming for the command line, the desktop, the web, and Andr...
<|file_sep|>original/README.md ![screenshot](screenshot.png) ## Introduction Nightcode is a simple IDE for Clojure. It integrates a copy of Leiningen as well as the lein-cljsbuild, lein-droid, and lein-fruit plugins. The goal is to provide a simple, all-in-one solution to get started with Clojure programming for the ...
3e7f651610a3c9bdfd1e5ba0a9f5977515901ce0
README.md
README.md
Markdown
<|file_sep|>original/serial/teensy32-throughput/teensy32-throughput.ino <|file_sep|>current/serial/teensy32-throughput/teensy32-throughput.ino <|file_sep|>updated/serial/teensy32-throughput/teensy32-throughput.ino
//#define USE_BINARY const int sampleRate = 8000; const long serialRate = 2000000; const int NWORDS = 20; const int WSIZE = sizeof(uint16_t); const int NBYTES = NWORDS * WSIZE; volatile bool pushData = false; typedef union { uint16_t words[NWORDS]; uint8_t bytes[NBYTES]; } MODEL; ...
<|file_sep|>original/serial/teensy32-throughput/teensy32-throughput.ino <|file_sep|>current/serial/teensy32-throughput/teensy32-throughput.ino <|file_sep|>updated/serial/teensy32-throughput/teensy32-throughput.ino //#define USE_BINARY const int sampleRate = 8000; const long serialRate = 2000000; const int N...
d942f251f7e7b92f11bb4f699e819384a4b178fa
serial/teensy32-throughput/teensy32-throughput.ino
serial/teensy32-throughput/teensy32-throughput.ino
Arduino
<|file_sep|>original/local.sh #!/bin/bash sudo hostname leonardinius.galeoconsulting.com cd /vagrant \ && rm -rf ./_site \ && sudo jekyll serve \ --watch \ --port 80 \ --drafts \ --config _config-dev.yml <|file_sep|>current/local.sh #!/bin/bash sudo hostname leonardinius.galeoconsulting.com cd /vag...
#!/bin/bash sudo hostname leonardinius.galeoconsulting.com cd /vagrant \ && rm -rf ./_site \ && sudo jekyll serve \ --watch \ --port 80 \ --force_polling \ --drafts \ --config _config-dev.yml
<|file_sep|>original/local.sh #!/bin/bash sudo hostname leonardinius.galeoconsulting.com cd /vagrant \ && rm -rf ./_site \ && sudo jekyll serve \ --watch \ --port 80 \ --drafts \ --config _config-dev.yml <|file_sep|>current/local.sh #!/bin/bash sudo hostname leonardinius.galeoconsulting.com cd /vag...
f41d4d86eef019646e11a9eaa817de285910904e
local.sh
local.sh
Shell
<|file_sep|>original/include/core/SkMilestone.h /* * Copyright 2016 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef SK_MILESTONE #define SK_MILESTONE 58 #endif <|file_sep|>current/include/core/SkMilestone.h /* * Copyright 2016 Google I...
/* * Copyright 2016 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef SK_MILESTONE #define SK_MILESTONE 59 #endif
<|file_sep|>original/include/core/SkMilestone.h /* * Copyright 2016 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef SK_MILESTONE #define SK_MILESTONE 58 #endif <|file_sep|>current/include/core/SkMilestone.h /* * Copyright 2016 Google I...
1429550f5d9b6df0693b7cc10de4258982b6251d
include/core/SkMilestone.h
include/core/SkMilestone.h
C
<|file_sep|>original/api/BucketListAPI.py from flask import Flask, jsonify from modals.modals import User, Bucket, Item from api.__init__ import app, db @app.errorhandler(404) def page_not_found(e): response = jsonify({'error': 'The request can not be completed'}) response.status_code = 404 return respons...
from flask import Flask, jsonify from modals.modals import User, Bucket, Item from api.__init__ import create_app, db app = create_app('DevelopmentEnv') @app.errorhandler(404) def page_not_found(e): response = jsonify({'error': 'The request can not be completed'}) response.status_code = 404 return respon...
<|file_sep|>original/api/BucketListAPI.py from flask import Flask, jsonify from modals.modals import User, Bucket, Item from api.__init__ import app, db @app.errorhandler(404) def page_not_found(e): response = jsonify({'error': 'The request can not be completed'}) response.status_code = 404 return respons...
37831f549eddc014ab89cc7dba3616a133c774a2
api/BucketListAPI.py
api/BucketListAPI.py
Python
<|file_sep|>original/apt_get_autoupdater.sh <|file_sep|>current/apt_get_autoupdater.sh <|file_sep|>updated/apt_get_autoupdater.sh
#!/bin/bash # +-----------------------------------------------+ # | apt-get updater script for crontab | # +-----------------------------------------------+ # | Author: Matjaž <dev@matjaz.it> matjaz.it | # | v0.7 2015-05-06 | # +---------------------------------------------...
<|file_sep|>original/apt_get_autoupdater.sh <|file_sep|>current/apt_get_autoupdater.sh <|file_sep|>updated/apt_get_autoupdater.sh #!/bin/bash # +-----------------------------------------------+ # | apt-get updater script for crontab | # +-----------------------------------------------+ # | Author: Matjaž <...
e6a5ec62a4e60b4e01d4f3a616c4977275f72c33
apt_get_autoupdater.sh
apt_get_autoupdater.sh
Shell
<|file_sep|>original/.travis.yml dist: trusty group: beta language: node_js node_js: - node addons: firefox: '49.0.2' cache: directories: - node_modules - "$HOME/.cache/bower" before_install: - "if [ -d node_modules ] && [ x$(cat node_modules/.last-node-version 2>/dev/null) != x$(node -e 'console.log(process.v...
dist: trusty group: beta language: node_js node_js: - node addons: firefox: latest-esr cache: directories: - node_modules - "$HOME/.cache/bower" before_install: - "if [ -d node_modules ] && [ x$(cat node_modules/.last-node-version 2>/dev/null) != x$(node -e 'console.log(process.version)') ]; then npm rebuild &...
<|file_sep|>original/.travis.yml dist: trusty group: beta language: node_js node_js: - node addons: firefox: '49.0.2' cache: directories: - node_modules - "$HOME/.cache/bower" before_install: - "if [ -d node_modules ] && [ x$(cat node_modules/.last-node-version 2>/dev/null) != x$(node -e 'console.log(process.v...
7de8fbcd925abfa0044559a4e364352427c0611d
.travis.yml
.travis.yml
YAML
<|file_sep|>gevents.js.diff original: uri: 'https://api.github.com' + '/users/' + process.argv[2] + '/events', updated: uri: 'https://api.github.com' + '/users/' + parseParams(process.argv[2]) + '/events', <|file_sep|>gevents.js.diff original: } if (! process.argv[2]) { console.log('Usage: nodejs gevents.j...
for (var i = 0; i < body.length; i++) { /* * TODO return something like this as JSON * for caller consumption (useful for servers). */ console.log(format , body[i].created_at , body[i].type , body[i].actor.login , body[i].re...
<|file_sep|>gevents.js.diff original: uri: 'https://api.github.com' + '/users/' + process.argv[2] + '/events', updated: uri: 'https://api.github.com' + '/users/' + parseParams(process.argv[2]) + '/events', <|file_sep|>gevents.js.diff original: } if (! process.argv[2]) { console.log('Usage: nodejs gevents.j...
3caeb7ea456af5e7c62af1d8c5bff1628084d37c
gevents.js
gevents.js
JavaScript
<|file_sep|>original/cmd/chdir.go } entries, err := conf.ReadEntries() if err != nil { cli.Exitf(1, "err: %s\n", err) } if entry, found := entries.Find(dir); found { entry.UpdateScore() } else { entries = append(entries, *scoring.NewEntry(dir)) } if err := conf.WriteEntries(entries); err != nil { cli...
} entries, err := conf.ReadEntries() if err != nil { cli.Exitf(1, "err: %s\n", err) } if entry, found := entries.Find(dir); found { entry.UpdateScore() } else { entries = append(entries, *scoring.NewEntry(dir)) } if err := conf.WriteEntries(entries); err != nil { cli.Exitf(1, "err: %s\n", err) } } ...
<|file_sep|>original/cmd/chdir.go } entries, err := conf.ReadEntries() if err != nil { cli.Exitf(1, "err: %s\n", err) } if entry, found := entries.Find(dir); found { entry.UpdateScore() } else { entries = append(entries, *scoring.NewEntry(dir)) } if err := conf.WriteEntries(entries); err != nil { cli...
aa1f6a1c3c53e721f4ee29ab286cd669240183ff
cmd/chdir.go
cmd/chdir.go
Go
<|file_sep|>original/requirements.txt appdirs==1.4.3 certifi==2018.4.16 chardet==3.0.4 coverage==4.5.1 coveralls==1.3.0 Django==2.0.2 docopt==0.6.2 idna==2.6 packaging==16.8 pyparsing==2.2.0 pytz==2017.3 requests==2.18.4 six==1.11.0 urllib3==1.22 <|file_sep|>current/requirements.txt appdirs==1.4.3 certifi==2018.4.16 ch...
appdirs==1.4.3 certifi==2018.4.16 chardet==3.0.4 coverage==4.5.1 coveralls==1.3.0 Django==2.0.5 docopt==0.6.2 idna==2.6 packaging==16.8 pyparsing==2.2.0 pytz==2017.3 requests==2.18.4 six==1.11.0 urllib3==1.22
<|file_sep|>original/requirements.txt appdirs==1.4.3 certifi==2018.4.16 chardet==3.0.4 coverage==4.5.1 coveralls==1.3.0 Django==2.0.2 docopt==0.6.2 idna==2.6 packaging==16.8 pyparsing==2.2.0 pytz==2017.3 requests==2.18.4 six==1.11.0 urllib3==1.22 <|file_sep|>current/requirements.txt appdirs==1.4.3 certifi==2018.4.16 ch...
7857340d414500d7a6aa3e87c5a3c58bd5a94bed
requirements.txt
requirements.txt
Text
<|file_sep|>original/_config.yml domain_name: 'http://shoaib-ahmed.com' google_analytics: 'UA-66607718-1' disqus: true disqus_shortname: 'sufialhussaini' # Details for the RSS feed generator url: 'http://shoaib-ahmed.com' author: 'Shoaib Ahmed' authorTwitter: 'sufi-al-hussaini' permalink: /:...
domain_name: 'http://shoaib-ahmed.com' google_analytics: 'UA-66607718-1' disqus: true disqus_shortname: 'sufialhussaini' # Details for the RSS feed generator url: 'http://shoaib-ahmed.com' author: 'Shoaib Ahmed' authorTwitter: 'sufi-al-hussaini' permalink: /:year/:title/ defaults: - ...
<|file_sep|>original/_config.yml domain_name: 'http://shoaib-ahmed.com' google_analytics: 'UA-66607718-1' disqus: true disqus_shortname: 'sufialhussaini' # Details for the RSS feed generator url: 'http://shoaib-ahmed.com' author: 'Shoaib Ahmed' authorTwitter: 'sufi-al-hussaini' permalink: /:...
273c616b5293fb6aa62de90a240b34d7c505d483
_config.yml
_config.yml
YAML
<|file_sep|>original/src/Country.php <?php declare(strict_types=1); namespace BinSoul\Common\I18n; /** * Represents a country. */ interface Country { /** * Returns the ISO2 code. */ public function getIso2(): string; /** * Returns the ISO3 code. */ public function getIso3(): st...
<?php declare(strict_types=1); namespace BinSoul\Common\I18n; /** * Represents a country. */ interface Country { /** * Returns the ISO2 code. */ public function getIso2(): string; /** * Returns the ISO3 code. */ public function getIso3(): ?string; }
<|file_sep|>original/src/Country.php <?php declare(strict_types=1); namespace BinSoul\Common\I18n; /** * Represents a country. */ interface Country { /** * Returns the ISO2 code. */ public function getIso2(): string; /** * Returns the ISO3 code. */ public function getIso3(): st...
ac4caa586b57f4f26b5615eb749000b68dd97035
src/Country.php
src/Country.php
PHP
<|file_sep|>original/lib/archive-editor.coffee {File} = require 'pathwatcher' fs = require 'fs-plus' Serializable = require 'serializable' module.exports= class ArchiveEditor extends Serializable atom.deserializers.add(this) @activate: -> atom.workspace.registerOpener (filePath='') -> # Don't open URIs ...
{File} = require 'pathwatcher' fs = require 'fs-plus' Serializable = require 'serializable' module.exports= class ArchiveEditor extends Serializable atom.deserializers.add(this) @activate: -> atom.workspace.registerOpener (filePath='') -> # Check that the file path exists before opening in case somethin...
<|file_sep|>original/lib/archive-editor.coffee {File} = require 'pathwatcher' fs = require 'fs-plus' Serializable = require 'serializable' module.exports= class ArchiveEditor extends Serializable atom.deserializers.add(this) @activate: -> atom.workspace.registerOpener (filePath='') -> # Don't open URIs ...
e9dbd64f25e2cfe47a737a7bc7be8b29cfec0705
lib/archive-editor.coffee
lib/archive-editor.coffee
CoffeeScript
<|file_sep|>original/functions/detach-policy.fish <|file_sep|>current/functions/detach-policy.fish <|file_sep|>updated/functions/detach-policy.fish
function detach-policy --argument type name policy if empty "$type" "$name" "$policy" usage detach-policy '<type>' '<name>' '<policy>' return (false) end print-status detach-policy "$argv" aws iam detach-$type-policy --$type-name "$name" --policy-arn (lookup-policy "$policy") end
<|file_sep|>original/functions/detach-policy.fish <|file_sep|>current/functions/detach-policy.fish <|file_sep|>updated/functions/detach-policy.fish function detach-policy --argument type name policy if empty "$type" "$name" "$policy" usage detach-policy '<type>' '<name>' '<policy>' return (false) ...
ec5f828fbc443318f7ceed4d5c6f2c8f39bd736a
functions/detach-policy.fish
functions/detach-policy.fish
fish
<|file_sep|>app/assets/stylesheets/modules/hero-header.sass.diff original: updated: background-color: $secondary-color <|file_sep|>original/app/assets/stylesheets/modules/hero-header.sass .hero-header padding: +emCalc(60px) 0 min-height: +emCalc(200px) background-size: cover background-position: center tex...
.hero-header background-color: $secondary-color padding: +emCalc(60px) 0 min-height: +emCalc(200px) background-size: cover background-position: center text-align: center h2, h3 color: white h2 font-weight: bold h3 text-transform: uppercase font-weight: 300 padding-top: +emCalc(8px)
<|file_sep|>app/assets/stylesheets/modules/hero-header.sass.diff original: updated: background-color: $secondary-color <|file_sep|>original/app/assets/stylesheets/modules/hero-header.sass .hero-header padding: +emCalc(60px) 0 min-height: +emCalc(200px) background-size: cover background-position: center tex...
68e4af86f71fddfc87995941a878c754d60b4a10
app/assets/stylesheets/modules/hero-header.sass
app/assets/stylesheets/modules/hero-header.sass
Sass
<|file_sep|>original/src/vcs-lib/VersionControl/RepositoryBranch.cs } public Repository<TValue, TMeta> Repository { get; } public string Name { get; } public Commit<TValue, TMeta> Head { get; protected set; } public Commit<TValue, TMeta> Commit(TValue value, TMeta metadata) ...
} public Repository<TValue, TMeta> Repository { get; } public string Name { get; } public Commit<TValue, TMeta> Head { get; protected set; } public Commit<TValue, TMeta> Commit(TValue value, TMeta metadata) { if (value == null) throw new ArgumentNullExcept...
<|file_sep|>original/src/vcs-lib/VersionControl/RepositoryBranch.cs } public Repository<TValue, TMeta> Repository { get; } public string Name { get; } public Commit<TValue, TMeta> Head { get; protected set; } public Commit<TValue, TMeta> Commit(TValue value, TMeta metadata) ...
1cb5853e1f66454df5420497fa2d950a844d4907
src/vcs-lib/VersionControl/RepositoryBranch.cs
src/vcs-lib/VersionControl/RepositoryBranch.cs
C#
<|file_sep|>original/chrome/renderer/resources/mobile_youtube_plugin.html <!doctype html> <html> <head> <meta name="viewport" content="width=device-width, user-scalable=no"> <script> function insertBackground() { var video = templateData['video_id']; document.body.style.backgroundImage = "url('http://img.youtube.co...
<!doctype html> <html> <head> <meta name="viewport" content="width=device-width, user-scalable=no"> <script> function insertBackground() { var video = loadTimeData.getValue("video_id"); document.body.style.backgroundImage = "url('http://img.youtube.com/vi/" + video + "/0.jpg')"; } </script> <style type="text/css"> ...
<|file_sep|>original/chrome/renderer/resources/mobile_youtube_plugin.html <!doctype html> <html> <head> <meta name="viewport" content="width=device-width, user-scalable=no"> <script> function insertBackground() { var video = templateData['video_id']; document.body.style.backgroundImage = "url('http://img.youtube.co...
356b1bd7f88c7c2fb5003406561668a4dc68d83c
chrome/renderer/resources/mobile_youtube_plugin.html
chrome/renderer/resources/mobile_youtube_plugin.html
HTML
<|file_sep|>original/scripts/build_test.sh #!/bin/bash -e # Ted: contact me when you make any changes SRC_DIR="$(dirname "${BASH_SOURCE[0]}")" source "$SRC_DIR/env.sh" go test -race -coverprofile=coverage.out -covermode=atomic ./... <|file_sep|>current/scripts/build_test.sh #!/bin/bash -e # Ted: contact me when you...
#!/bin/bash -e # Ted: contact me when you make any changes SRC_DIR="$(dirname "${BASH_SOURCE[0]}")" source "$SRC_DIR/env.sh" go test -race -timeout="30s" -coverprofile="coverage.out" -covermode="atomic" ./...
<|file_sep|>original/scripts/build_test.sh #!/bin/bash -e # Ted: contact me when you make any changes SRC_DIR="$(dirname "${BASH_SOURCE[0]}")" source "$SRC_DIR/env.sh" go test -race -coverprofile=coverage.out -covermode=atomic ./... <|file_sep|>current/scripts/build_test.sh #!/bin/bash -e # Ted: contact me when you...
95cca6f29c299f0583211f6a104298bd477423a6
scripts/build_test.sh
scripts/build_test.sh
Shell
<|file_sep|>original/Tests/Permalink/SourcePermalinkFactoryTest.php <|file_sep|>current/Tests/Permalink/SourcePermalinkFactoryTest.php <|file_sep|>updated/Tests/Permalink/SourcePermalinkFactoryTest.php
<?php namespace Sculpin\Core\Tests\Permalink; use Dflydev\DotAccessConfiguration\Configuration; use Sculpin\Core\Permalink\Permalink; use Sculpin\Core\Permalink\SourcePermalinkFactory; use Sculpin\Core\Source\MemorySource; use Sculpin\Core\Source\SourceInterface; class SourcePermalinkFactoryTest extends \PHPUnit_Fra...
<|file_sep|>original/Tests/Permalink/SourcePermalinkFactoryTest.php <|file_sep|>current/Tests/Permalink/SourcePermalinkFactoryTest.php <|file_sep|>updated/Tests/Permalink/SourcePermalinkFactoryTest.php <?php namespace Sculpin\Core\Tests\Permalink; use Dflydev\DotAccessConfiguration\Configuration; use Sculpin\Core\P...
209f7cffc443413d98a30bd1923db4ca45430354
Tests/Permalink/SourcePermalinkFactoryTest.php
Tests/Permalink/SourcePermalinkFactoryTest.php
PHP
<|file_sep|>angular/src/app/widgets/widgets.js.diff original: updated: templateUrl: 'widgets/track.tpl.html', <|file_sep|>angular/src/app/widgets/widgets.js.diff original: scope.$on('mopidy:event:trackPlaybackStarted', function(event, data) { updated: var cleanUpTrackPlaybackStarted = scope.$on('mopidy...
scope.$apply(); }); var cleanUpTrackPlaybackPaused = scope.$on('mopidy:event:trackPlaybackPaused', function(event, data) { scope.isPlaying = data.tl_track.track.uri === scope.track.uri; scope.$apply(); }); var cleanUpCurrentTrackRequested = scope.$on('moped:currenttrack...
<|file_sep|>angular/src/app/widgets/widgets.js.diff original: updated: templateUrl: 'widgets/track.tpl.html', <|file_sep|>angular/src/app/widgets/widgets.js.diff original: scope.$on('mopidy:event:trackPlaybackStarted', function(event, data) { updated: var cleanUpTrackPlaybackStarted = scope.$on('mopidy...
3336165043655f235012890d934ac103a14ba105
angular/src/app/widgets/widgets.js
angular/src/app/widgets/widgets.js
JavaScript
<|file_sep|>original/.ci/java-versions.properties # This file is used with all of the non-matrix tests in Jenkins. # This .properties file defines the versions of Java with which to # build and test Elasticsearch for this branch. Valid Java versions # are 'java' or 'openjdk' followed by the major release number. ES_B...
# This file is used with all of the non-matrix tests in Jenkins. # This .properties file defines the versions of Java with which to # build and test Elasticsearch for this branch. Valid Java versions # are 'java' or 'openjdk' followed by the major release number. ES_BUILD_JAVA=openjdk16 ES_RUNTIME_JAVA=jdk11
<|file_sep|>original/.ci/java-versions.properties # This file is used with all of the non-matrix tests in Jenkins. # This .properties file defines the versions of Java with which to # build and test Elasticsearch for this branch. Valid Java versions # are 'java' or 'openjdk' followed by the major release number. ES_B...
800a9be9ea8c820a302dd54b702cb85767a2b92e
.ci/java-versions.properties
.ci/java-versions.properties
INI
<|file_sep|>original/requirements.txt # # This file is autogenerated by pip-compile # To update, run: # # pip-compile --output-file requirements.txt requirements.in # boto3==1.7.50 botocore==1.5.92 # via boto3, s3transfer certifi==2017.7.27.1 # via requests chardet==3.0.4 # via requests csss...
# # This file is autogenerated by pip-compile # To update, run: # # pip-compile --output-file requirements.txt requirements.in # boto3==1.7.51 botocore==1.5.92 # via boto3, s3transfer certifi==2017.7.27.1 # via requests chardet==3.0.4 # via requests cssselect==1.0.3 docutils==0.13.1 ...
<|file_sep|>original/requirements.txt # # This file is autogenerated by pip-compile # To update, run: # # pip-compile --output-file requirements.txt requirements.in # boto3==1.7.50 botocore==1.5.92 # via boto3, s3transfer certifi==2017.7.27.1 # via requests chardet==3.0.4 # via requests csss...
05548e8296b96ebcf97c43cb651bba081716c291
requirements.txt
requirements.txt
Text
<|file_sep|>original/.github/workflows/push.yml on: [push, pull_request] name: Run tests jobs: test: runs-on: ubuntu-latest strategy: matrix: node-version: ['10', '12', '14'] steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: node-version: ${...
on: [push, pull_request] name: Run tests jobs: test: runs-on: ubuntu-latest strategy: matrix: node-version: ['12', '14', '16'] steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - run: npm ci ...
<|file_sep|>original/.github/workflows/push.yml on: [push, pull_request] name: Run tests jobs: test: runs-on: ubuntu-latest strategy: matrix: node-version: ['10', '12', '14'] steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: node-version: ${...
7d521e3540d1efc5ce0322860b71b1ccd8d97bf2
.github/workflows/push.yml
.github/workflows/push.yml
YAML
<|file_sep|>activestorage/test/dummy/config/application.rb.diff original: updated: require "active_storage/engine" <|file_sep|>activestorage/test/dummy/config/application.rb.diff original: require "active_storage" updated: <|file_sep|>original/activestorage/test/dummy/config/application.rb require "active_job/railtie...
require "active_model/railtie" require "active_job/railtie" require "active_record/railtie" require "action_controller/railtie" require "action_view/railtie" require "sprockets/railtie" require "active_storage/engine" #require "action_mailer/railtie" #require "rails/test_unit/railtie" #require "action_cable/engine" B...
<|file_sep|>activestorage/test/dummy/config/application.rb.diff original: updated: require "active_storage/engine" <|file_sep|>activestorage/test/dummy/config/application.rb.diff original: require "active_storage" updated: <|file_sep|>original/activestorage/test/dummy/config/application.rb require "active_job/railtie...
4f8be04f4e51c10fcaa0efd8eb004ea7860f1a56
activestorage/test/dummy/config/application.rb
activestorage/test/dummy/config/application.rb
Ruby
<|file_sep|>spec/spec_helper.rb.diff original: updated: require "byebug" require "dotenv" <|file_sep|>original/spec/spec_helper.rb require "hearthstone_api" require "rspec" require "vcr" VCR.configure do |c| c.cassette_library_dir = "spec/support/vcr_cassettes" c.hook_into :webmock c.configure_rspec_metadata! ...
require "hearthstone_api" require "rspec" require "vcr" require "byebug" require "dotenv" VCR.configure do |c| c.cassette_library_dir = "spec/support/vcr_cassettes" c.hook_into :webmock c.configure_rspec_metadata! c.allow_http_connections_when_no_cassette = false c.default_cassette_options = {:record => :new...
<|file_sep|>spec/spec_helper.rb.diff original: updated: require "byebug" require "dotenv" <|file_sep|>original/spec/spec_helper.rb require "hearthstone_api" require "rspec" require "vcr" VCR.configure do |c| c.cassette_library_dir = "spec/support/vcr_cassettes" c.hook_into :webmock c.configure_rspec_metadata! ...
16e2ee1f9d8b5262c99d92814d376700c9bbb560
spec/spec_helper.rb
spec/spec_helper.rb
Ruby
<|file_sep|>metadata/org.fossasia.pslab.txt.diff original: updated: Build:1.1.9,11 commit=v1.1.9 subdir=app gradle=yes <|file_sep|>original/metadata/org.fossasia.pslab.txt Pocket Science Lab hardware device provides an array of sensors for doing science and engineering experiments. It provides functions o...
Oscilloscope and Wave Generator. The app has built-in support for experiments covering areas like electronics, electrical and physics etc. . Repo Type:git Repo:https://github.com/fossasia/pslab-android Build:1.1.7,9 commit=v1.1.7 subdir=app gradle=yes Build:1.1.9,11 commit=v1.1.9 subdir=app g...
<|file_sep|>metadata/org.fossasia.pslab.txt.diff original: updated: Build:1.1.9,11 commit=v1.1.9 subdir=app gradle=yes <|file_sep|>original/metadata/org.fossasia.pslab.txt Pocket Science Lab hardware device provides an array of sensors for doing science and engineering experiments. It provides functions o...
8dca1d5df2ecd12f4ba7c210ce287abcd47477a0
metadata/org.fossasia.pslab.txt
metadata/org.fossasia.pslab.txt
Text
<|file_sep|>packages/sh/shake-dhall.yaml.diff original: hash: 1d44ce111841d37ffa13e5196d7dafd445c98afe9f5a9f1a7a7ea823e03c60f4 updated: hash: ce20fe23e5b4915019b038172299def6a19c4bb4f1e12090c21925c5ab3edbcb <|file_sep|>packages/sh/shake-dhall.yaml.diff original: updated: ## 0.1.1.0 * Add functions `dhallDeps` ...
shake: -any base: '>=4.9 && <5' dhall: '>=1.25.0' text: -any filepath: -any containers: '>=0.6' all-versions: - 0.1.0.0 - 0.1.1.0 author: Vanessa McHale latest: 0.1.1.0 description-type: markdown description: | # shake-dhall shake-dhall uses the [dhall library](http://hackage.haskell.org/package/dhall)...
<|file_sep|>packages/sh/shake-dhall.yaml.diff original: hash: 1d44ce111841d37ffa13e5196d7dafd445c98afe9f5a9f1a7a7ea823e03c60f4 updated: hash: ce20fe23e5b4915019b038172299def6a19c4bb4f1e12090c21925c5ab3edbcb <|file_sep|>packages/sh/shake-dhall.yaml.diff original: updated: ## 0.1.1.0 * Add functions `dhallDeps` ...
69db5dcb833ac7ae7221e1e6d362bc8d7b91fd5a
packages/sh/shake-dhall.yaml
packages/sh/shake-dhall.yaml
YAML
<|file_sep|>original/README.md # CodeIgniter3 Filename Checker This package checks CodeIgniter 3.0 class filename. ## Installation Install `application/controller/Check.php` in your CodeIgniter 3.0 project. ## Usage Access to `http://your-server/check/filename`. Or you can run via CLI: ~~~ $ php index.php check...
# CodeIgniter3 Filename Checker This package checks CodeIgniter 3.0 class filename. > Starting with CodeIgniter 3.0, all class filenames (libraries, drivers, controllers and models) must be named in a Ucfirst-like manner or in other words - they must start with a capital letter. [CodeIgniter User Guide](http://www.co...
<|file_sep|>original/README.md # CodeIgniter3 Filename Checker This package checks CodeIgniter 3.0 class filename. ## Installation Install `application/controller/Check.php` in your CodeIgniter 3.0 project. ## Usage Access to `http://your-server/check/filename`. Or you can run via CLI: ~~~ $ php index.php check...
cee8828d2b8ff809aa9b7407800ddbe52bbabfce
README.md
README.md
Markdown
<|file_sep|>src/FluxBB/Server/Request.php.diff original: protected $parameters = []; updated: protected $parameters; <|file_sep|>original/src/FluxBB/Server/Request.php namespace FluxBB\Server; class Request { protected $handler; protected $parameters = []; public function __construct($handler, ...
namespace FluxBB\Server; class Request { protected $handler; protected $parameters; public function __construct($handler, array $parameters = []) { $this->handler = $handler; $this->parameters = $parameters; } public function getHandler() { return $this->handler...
<|file_sep|>src/FluxBB/Server/Request.php.diff original: protected $parameters = []; updated: protected $parameters; <|file_sep|>original/src/FluxBB/Server/Request.php namespace FluxBB\Server; class Request { protected $handler; protected $parameters = []; public function __construct($handler, ...
c5545b9500eb1bb1eaa46c04e4e2a4a2523b1f71
src/FluxBB/Server/Request.php
src/FluxBB/Server/Request.php
PHP
<|file_sep|>original/db/migrations/20160510210904_UpdateUsersAddTotalIncome.sql <|file_sep|>current/db/migrations/20160510210904_UpdateUsersAddTotalIncome.sql <|file_sep|>updated/db/migrations/20160510210904_UpdateUsersAddTotalIncome.sql
-- +goose Up -- SQL in section 'Up' is executed when this migration is applied ALTER TABLE `users` ADD COLUMN `total_income` DECIMAL(32, 8) NOT NULL DEFAULT 0 COMMENT 'user total income'; ALTER TABLE `users` ADD COLUMN `referer_total_income` DECIMAL(32, 8) NOT NULL DEFAULT 0 COMMENT 'referer total income'; -- +goose ...
<|file_sep|>original/db/migrations/20160510210904_UpdateUsersAddTotalIncome.sql <|file_sep|>current/db/migrations/20160510210904_UpdateUsersAddTotalIncome.sql <|file_sep|>updated/db/migrations/20160510210904_UpdateUsersAddTotalIncome.sql -- +goose Up -- SQL in section 'Up' is executed when this migration is applied ...
4eafd4c692108b491b67f40b21a19ced3221e1b8
db/migrations/20160510210904_UpdateUsersAddTotalIncome.sql
db/migrations/20160510210904_UpdateUsersAddTotalIncome.sql
SQL
<|file_sep|>original/_includes/portfolio_grid.html <div class="col-lg-12 text-center"> <h2>Portfolio</h2> <hr class="star-primary"> </div> </div> <div class="row"> {% for post in site.posts %} ...
<div class="col-lg-12 text-center"> <h2>Portfolio</h2> <hr class="star-primary"> </div> </div> <div class="row"> {% for post in site.posts %} <div class="col-sm-4 portfolio-item"> ...
<|file_sep|>original/_includes/portfolio_grid.html <div class="col-lg-12 text-center"> <h2>Portfolio</h2> <hr class="star-primary"> </div> </div> <div class="row"> {% for post in site.posts %} ...
e9704cc305e2154bd338c93d3fd77d996894c54a
_includes/portfolio_grid.html
_includes/portfolio_grid.html
HTML
<|file_sep|>original/logtoday/tests.py class HomePageTest(TestCase): fixtures = ['tests/functional/auth_dump.json'] def test_root_url_resolves_to_index_page_view(self): found = resolve("/") self.assertEqual(found.view_name, "index") def test_uses_login_template(self): response = s...
def test_uses_login_template(self): response = self.client.get('/') self.assertTemplateUsed(response, 'login.html') def test_redirects_login_and_logout(self): response = self.client.post('/login/', {'username': 'admin', 'password': 'admin...
<|file_sep|>original/logtoday/tests.py class HomePageTest(TestCase): fixtures = ['tests/functional/auth_dump.json'] def test_root_url_resolves_to_index_page_view(self): found = resolve("/") self.assertEqual(found.view_name, "index") def test_uses_login_template(self): response = s...
765dd18fb05c0cef21b9dce7cbddda3c079f0b7d
logtoday/tests.py
logtoday/tests.py
Python
<|file_sep|>original/cookbooks/sys_dns/recipes/do_set_private.rb s.connect '64.233.187.99', 1 s.addr.last end ensure Socket.do_not_reverse_lookup = orig end if ! node.has_key?('cloud') private_ip = "#{local_ip}" else public_ip = node['cloud']['public_ips'][0] end log "Detected private IP: #{privat...
s.connect '64.233.187.99', 1 s.addr.last end ensure Socket.do_not_reverse_lookup = orig end if ! node.has_key?('cloud') private_ip = "#{local_ip}" else private_ip = node['cloud']['public_ips'][0] end log "Detected private IP: #{private_ip}" sys_dns "default" do id node['sys_dns']['id'] addres...
<|file_sep|>original/cookbooks/sys_dns/recipes/do_set_private.rb s.connect '64.233.187.99', 1 s.addr.last end ensure Socket.do_not_reverse_lookup = orig end if ! node.has_key?('cloud') private_ip = "#{local_ip}" else public_ip = node['cloud']['public_ips'][0] end log "Detected private IP: #{privat...
31ca0da094a34787f04260d6eb02cb14c115e0da
cookbooks/sys_dns/recipes/do_set_private.rb
cookbooks/sys_dns/recipes/do_set_private.rb
Ruby
<|file_sep|>original/post.hbs {{!< default}} {{#post}} <p class="return"> <a href="{{@blog.url}}">Return to post list</a> </p> <article class="{{post_class}}"> <header class="post-header"> <p class="post-date"><time datetime="{{published_at}}">{{date format="DD MMM YYYY"}}</tim...
{{!< default}} {{#post}} <p class="return"> <a href="{{@blog.url}}">Return to posts</a> </p> <article class="{{post_class}}"> <header class="post-header"> <p class="post-date"><time datetime="{{published_at}}">{{date format="DD MMM YYYY"}}</time></p> <h1 class="post...
<|file_sep|>original/post.hbs {{!< default}} {{#post}} <p class="return"> <a href="{{@blog.url}}">Return to post list</a> </p> <article class="{{post_class}}"> <header class="post-header"> <p class="post-date"><time datetime="{{published_at}}">{{date format="DD MMM YYYY"}}</tim...
90ddd9ea65ce0bce09a8e992528e3c6c1386798c
post.hbs
post.hbs
Handlebars
<|file_sep|>welt2000/__init__.py.diff original: from flask import Flask, request, session updated: from flask import Flask, request, session, current_app <|file_sep|>welt2000/__init__.py.diff original: translations = ['en'] translations.extend(map(str, babel.list_translations())) updated: <|file_sep|>welt2000/__init_...
app = Flask(__name__) app.secret_key = '1234567890' babel = Babel(app) @app.template_global() @babel.localeselector def get_locale(): available = ['en'] available.extend(map(str, current_app.babel_instance.list_translations())) lang = session.get('lang') if lang and lang in available: return...
<|file_sep|>welt2000/__init__.py.diff original: from flask import Flask, request, session updated: from flask import Flask, request, session, current_app <|file_sep|>welt2000/__init__.py.diff original: translations = ['en'] translations.extend(map(str, babel.list_translations())) updated: <|file_sep|>welt2000/__init_...
4a6060f476aebac163dbac8f9822539596379c0a
welt2000/__init__.py
welt2000/__init__.py
Python
<|file_sep|>lib/solve.rb.diff original: # a ui object for output updated: # a ui object for output, this will be used to output from a Solve::Tracers::HumanReadable if # no other tracer is provided in options[:tracer] # @option options [AbstractTracer] :tracer (nil) # a Tracer object that i...
# @param [Solve::Graph] graph # @param [Array<Solve::Demand>, Array<String, String>] demands # # @option options [#say] :ui (nil) # a ui object for output, this will be used to output from a Solve::Tracers::HumanReadable if # no other tracer is provided in options[:tracer] # @option opt...
<|file_sep|>lib/solve.rb.diff original: # a ui object for output updated: # a ui object for output, this will be used to output from a Solve::Tracers::HumanReadable if # no other tracer is provided in options[:tracer] # @option options [AbstractTracer] :tracer (nil) # a Tracer object that i...
78b8e562e5ea97138e4ddaa1eab5f7d65b525a73
lib/solve.rb
lib/solve.rb
Ruby
<|file_sep|>original/setup.cfg [egg_info] tag_build = .dev tag_svn_revision = 1 [aliases] snapshot = egg_info -Dr nightly = egg_info -dR alpha2 = egg_info -DRb alpha2 alpha1 = egg_info -DRb alpha1 beta2 = egg_info -DRb beta2 beta1 = egg_info -DRb beta1 rc1 = egg_info -DRb rc1 rc2 = egg_info -DRb rc2 release = egg_info...
[egg_info] tag_build = .dev [aliases] snapshot = egg_info -Dr nightly = egg_info -dR alpha2 = egg_info -DRb alpha2 alpha1 = egg_info -DRb alpha1 beta2 = egg_info -DRb beta2 beta1 = egg_info -DRb beta1 rc1 = egg_info -DRb rc1 rc2 = egg_info -DRb rc2 release = egg_info -DRb ''
<|file_sep|>original/setup.cfg [egg_info] tag_build = .dev tag_svn_revision = 1 [aliases] snapshot = egg_info -Dr nightly = egg_info -dR alpha2 = egg_info -DRb alpha2 alpha1 = egg_info -DRb alpha1 beta2 = egg_info -DRb beta2 beta1 = egg_info -DRb beta1 rc1 = egg_info -DRb rc1 rc2 = egg_info -DRb rc2 release = egg_info...
3cb5ac41e4955c707152441813bfe2f8ccec91ba
setup.cfg
setup.cfg
INI
<|file_sep|>original/app/assets/stylesheets/bootstrap_and_overrides.css.less @fontAwesomeWoffPath: asset-url("fontawesome-webfont.woff"); @fontAwesomeTtfPath: asset-url("fontawesome-webfont.ttf"); @fontAwesomeSvgPath: asset-url("fontawesome-webfont.svg#fontawesomeregular"); // Font Awesome @import "fontawesome/font-aw...
@fontAwesomeTtfPath: asset-url("fontawesome-webfont.ttf"); @fontAwesomeSvgPath: asset-url("fontawesome-webfont.svg#fontawesomeregular"); // Font Awesome @import "fontawesome/font-awesome"; // Glyphicons //@import "twitter/bootstrap/sprites.less"; // Your custom LESS stylesheets goes here // // Since bootstrap was im...
<|file_sep|>original/app/assets/stylesheets/bootstrap_and_overrides.css.less @fontAwesomeWoffPath: asset-url("fontawesome-webfont.woff"); @fontAwesomeTtfPath: asset-url("fontawesome-webfont.ttf"); @fontAwesomeSvgPath: asset-url("fontawesome-webfont.svg#fontawesomeregular"); // Font Awesome @import "fontawesome/font-aw...
469af0b95bfe22484f4cef5b476adac2476d55d8
app/assets/stylesheets/bootstrap_and_overrides.css.less
app/assets/stylesheets/bootstrap_and_overrides.css.less
Less
<|file_sep|>original/src/clojure/fault/service.clj (valAt [this key] (.valAt this key nil)) (valAt [_ key default] (case key :open? (.isOpen breaker) :config (let [^BreakerConfig config (.getBreakerConfig breaker)] {:time-period-in-millis (.timePeriodInMillis config) ...
(valAt [this key] (.valAt this key nil)) (valAt [_ key default] (case key :open? (.isOpen breaker) :config (let [^BreakerConfig config (.getBreakerConfig breaker)] {:time-period-in-millis (.timePeriodInMillis config) :failure-threshold (.failureThreshold config) ...
<|file_sep|>original/src/clojure/fault/service.clj (valAt [this key] (.valAt this key nil)) (valAt [_ key default] (case key :open? (.isOpen breaker) :config (let [^BreakerConfig config (.getBreakerConfig breaker)] {:time-period-in-millis (.timePeriodInMillis config) ...
bf2ed14113f2630284df742201e1b4ec6bfecc90
src/clojure/fault/service.clj
src/clojure/fault/service.clj
Clojure
<|file_sep|>original/Classpath.mk MAVEN_CLASSPATH=$$HOME/src/xjdr/xio/target/classes:$$HOME/.m2/repository/com/google/code/findbugs/jsr305/3.0.1/jsr305-3.0.1.jar:$$HOME/.m2/repository/com/google/guava/guava/19.0/guava-19.0.jar:$$HOME/.m2/repository/io/netty/netty-all/4.1.0.Final/netty-all-4.1.0.Final.jar:$$HOME/.m2/rep...
MAVEN_CLASSPATH=$(PROJECT_ROOT)/target/classes:$$HOME/.m2/repository/com/google/code/findbugs/jsr305/3.0.1/jsr305-3.0.1.jar:$$HOME/.m2/repository/com/google/guava/guava/19.0/guava-19.0.jar:$$HOME/.m2/repository/io/netty/netty-all/4.1.0.Final/netty-all-4.1.0.Final.jar:$$HOME/.m2/repository/io/netty/netty-tcnative/1.1.33...
<|file_sep|>original/Classpath.mk MAVEN_CLASSPATH=$$HOME/src/xjdr/xio/target/classes:$$HOME/.m2/repository/com/google/code/findbugs/jsr305/3.0.1/jsr305-3.0.1.jar:$$HOME/.m2/repository/com/google/guava/guava/19.0/guava-19.0.jar:$$HOME/.m2/repository/io/netty/netty-all/4.1.0.Final/netty-all-4.1.0.Final.jar:$$HOME/.m2/rep...
b5a9cff378b3662ee2e875977590a7dcc36db553
Classpath.mk
Classpath.mk
Makefile
<|file_sep|>keystone/carrier/shipment.sls.diff original: updated: <|file_sep|>keystone/carrier/shipment.sls.diff original: updated: - require: - user: keystone-user <|file_sep|>original/keystone/carrier/shipment.sls keystone-conf: file.managed: - name: {{staging}}/keystone/keystone.conf - sour...
- name: {{staging}}/keystone/keystone.conf - source: salt://openstack/keystone/conf/keystone.conf - template: jinja - user: keystone - group: keystone - require: - user: keystone-user keystonerc: file.managed: - name: {{staging}}/openrc - mode: 400 - user: root - group...
<|file_sep|>keystone/carrier/shipment.sls.diff original: updated: <|file_sep|>keystone/carrier/shipment.sls.diff original: updated: - require: - user: keystone-user <|file_sep|>original/keystone/carrier/shipment.sls keystone-conf: file.managed: - name: {{staging}}/keystone/keystone.conf - sour...
5821fab5d73637c3fcdb989a10c020df0f5dd92b
keystone/carrier/shipment.sls
keystone/carrier/shipment.sls
SaltStack
<|file_sep|>.travis.yml.diff original: dist: trusty updated: dist: xenial <|file_sep|>original/.travis.yml dist: trusty addons: chrome: stable language: python python: - '3.5' before_install: - wget https://chromedriver.storage.googleapis.com/2.33/chromedriver_linux64.zip - unzip chromedriver_linux64.zip - sudo mv ch...
dist: xenial addons: chrome: stable language: python python: - '3.7' before_install: - wget https://chromedriver.storage.googleapis.com/2.33/chromedriver_linux64.zip - unzip chromedriver_linux64.zip - sudo mv chromedriver /usr/local/bin - sudo chmod a+x /usr/local/bin/chromedriver install: - pip install -r requiremen...
<|file_sep|>.travis.yml.diff original: dist: trusty updated: dist: xenial <|file_sep|>original/.travis.yml dist: trusty addons: chrome: stable language: python python: - '3.5' before_install: - wget https://chromedriver.storage.googleapis.com/2.33/chromedriver_linux64.zip - unzip chromedriver_linux64.zip - sudo mv ch...
134c97b8c0742d6ce3052aebd6066a3f40bc656a
.travis.yml
.travis.yml
YAML
<|file_sep|>ui/reflectionview.h.diff original: updated: std::map<BNFunctionGraphType, BNFunctionGraphType> m_ilMap; bool m_ilSync; bool m_locationSync; <|file_sep|>original/ui/reflectionview.h class BINARYNINJAUIAPI ReflectionView: public QWidget, public DockContextHandler { Q_OBJECT Q_INTERFACES(DockContextHand...
ViewFrame* m_frame; BinaryViewRef m_data; DisassemblyContainer* m_disassemblyContainer; std::map<BNFunctionGraphType, BNFunctionGraphType> m_ilMap; bool m_ilSync; bool m_locationSync; public: ReflectionView(ViewFrame* frame, BinaryViewRef data); ~ReflectionView(); void toggleILSync(); void toggleLocationSyn...
<|file_sep|>ui/reflectionview.h.diff original: updated: std::map<BNFunctionGraphType, BNFunctionGraphType> m_ilMap; bool m_ilSync; bool m_locationSync; <|file_sep|>original/ui/reflectionview.h class BINARYNINJAUIAPI ReflectionView: public QWidget, public DockContextHandler { Q_OBJECT Q_INTERFACES(DockContextHand...
2a608956279a2bc37c762f3f2b5e20ee38b1f43c
ui/reflectionview.h
ui/reflectionview.h
C
<|file_sep|>integration-tests/src/test/java/arez/integration/IdentifiableIntegrationTest.java.diff original: updated: import arez.annotations.Feature; <|file_sep|>integration-tests/src/test/java/arez/integration/IdentifiableIntegrationTest.java.diff original: public void arezManagedArezId() updated: public void re...
static abstract class Model2 { private final int id; Model2( final int id ) { this.id = id; } @ComponentId int getId() { return id; } } @ArezComponent( allowEmpty = true, requireId = Feature.AUTODETECT ) static abstract class Model3 { } }
<|file_sep|>integration-tests/src/test/java/arez/integration/IdentifiableIntegrationTest.java.diff original: updated: import arez.annotations.Feature; <|file_sep|>integration-tests/src/test/java/arez/integration/IdentifiableIntegrationTest.java.diff original: public void arezManagedArezId() updated: public void re...
368808eee4701f78d2931970d28674c4db0428dc
integration-tests/src/test/java/arez/integration/IdentifiableIntegrationTest.java
integration-tests/src/test/java/arez/integration/IdentifiableIntegrationTest.java
Java
<|file_sep|>original/.scrutinizer.yml tools: external_code_coverage: timeout: 600 php_mess_detector: true php_code_sniffer: true sensiolabs_security_checker: true php_code_coverage: true php_pdepend: true php_loc: enabled: true excluded_dirs: [vendor, tests] php_c...
tools: external_code_coverage: timeout: 600 php_mess_detector: true php_code_sniffer: true sensiolabs_security_checker: true php_code_coverage: true php_pdepend: true php_loc: enabled: true excluded_dirs: [vendor, tests] php_cpd: enabled: true excl...
<|file_sep|>original/.scrutinizer.yml tools: external_code_coverage: timeout: 600 php_mess_detector: true php_code_sniffer: true sensiolabs_security_checker: true php_code_coverage: true php_pdepend: true php_loc: enabled: true excluded_dirs: [vendor, tests] php_c...
df21f22c17fd48f5130fd00e13b8bdd1fec16898
.scrutinizer.yml
.scrutinizer.yml
YAML
<|file_sep|>original/src/main/java/de/biomedical_imaging/traJ/simulation/CombinedSimulator.java <|file_sep|>current/src/main/java/de/biomedical_imaging/traJ/simulation/CombinedSimulator.java <|file_sep|>updated/src/main/java/de/biomedical_imaging/traJ/simulation/CombinedSimulator.java
package de.biomedical_imaging.traJ.simulation; import de.biomedical_imaging.traJ.Trajectory; import de.biomedical_imaging.traJ.TrajectoryUtil; public class CombinedSimulator extends AbstractSimulator { private AbstractSimulator sim1; private AbstractSimulator sim2; public CombinedSimulator(AbstractSimulator sim...
<|file_sep|>original/src/main/java/de/biomedical_imaging/traJ/simulation/CombinedSimulator.java <|file_sep|>current/src/main/java/de/biomedical_imaging/traJ/simulation/CombinedSimulator.java <|file_sep|>updated/src/main/java/de/biomedical_imaging/traJ/simulation/CombinedSimulator.java package de.biomedical_imaging.tr...
bd8eaa4ee5b21509f513a314eca0391475b23239
src/main/java/de/biomedical_imaging/traJ/simulation/CombinedSimulator.java
src/main/java/de/biomedical_imaging/traJ/simulation/CombinedSimulator.java
Java
<|file_sep|>original/ci/tasks/build-release/execute.sh metalink_path="$build_dir/.resource/metalink.meta4" mkdir "$release_dir/blobs" if [ -e "$task_dir/repo/docs/releases/v${version}.md" ]; then sed '1{/^---$/!q;};1,/^---$/d' "$task_dir/repo/docs/releases/v${version}.md" > $release_dir/notes.md echo "" >> $relea...
metalink_path="$build_dir/.resource/metalink.meta4" mkdir "$release_dir/blobs" if [ -e "$task_dir/repo/docs/releases/v${version}.md" ]; then sed '1{/^---$/!q;};1,/^---$/d' "$task_dir/repo/docs/releases/v${version}.md" > $release_dir/notes.md echo "" >> $release_dir/notes.md fi ( echo "**Artifacts**" echo "" ...
<|file_sep|>original/ci/tasks/build-release/execute.sh metalink_path="$build_dir/.resource/metalink.meta4" mkdir "$release_dir/blobs" if [ -e "$task_dir/repo/docs/releases/v${version}.md" ]; then sed '1{/^---$/!q;};1,/^---$/d' "$task_dir/repo/docs/releases/v${version}.md" > $release_dir/notes.md echo "" >> $relea...
9573b8ef543aeaa17ca83b32d05922859acb8d79
ci/tasks/build-release/execute.sh
ci/tasks/build-release/execute.sh
Shell
<|file_sep|>original/requirements.txt apache-airflow==1.10.2 # pyup: ignore autoflake==1.3 black==19.3b0 flake8==3.7.7 google-api-python-client==1.7.9 isort==4.3.20 j2cli==0.3.10 Jinja2==2.10.1 mypy==0.701 parameterized==0.7.0 paramiko==2.5.0 pre-commit==1.17.0 pydeps==1.7.2 pylint==2.3.1 pytest-cov==2.7.1 safety==1.8....
apache-airflow==1.10.2 # pyup: ignore autoflake==1.3 black==19.3b0 flake8==3.7.7 google-api-python-client==1.7.9 isort==4.3.20 j2cli==0.3.10 Jinja2==2.10.1 mypy==0.710 parameterized==0.7.0 paramiko==2.5.0 pre-commit==1.17.0 pydeps==1.7.2 pylint==2.3.1 pytest-cov==2.7.1 safety==1.8.5 sshtunnel==0.1.5 twine==1.13.0 yamll...
<|file_sep|>original/requirements.txt apache-airflow==1.10.2 # pyup: ignore autoflake==1.3 black==19.3b0 flake8==3.7.7 google-api-python-client==1.7.9 isort==4.3.20 j2cli==0.3.10 Jinja2==2.10.1 mypy==0.701 parameterized==0.7.0 paramiko==2.5.0 pre-commit==1.17.0 pydeps==1.7.2 pylint==2.3.1 pytest-cov==2.7.1 safety==1.8....
cfb4df51c821f89fa4f530c02f2cd6c8bf37ed01
requirements.txt
requirements.txt
Text
<|file_sep|>original/src/main/java/com/hubspot/jackson/datatype/protobuf/ProtobufJacksonConfig.java public ExtensionRegistryWrapper extensionRegistry() { return extensionRegistry; } public boolean acceptLiteralFieldnames() { return acceptLiteralFieldnames; } public static class Builder { private...
public ExtensionRegistryWrapper extensionRegistry() { return extensionRegistry; } public boolean acceptLiteralFieldnames() { return acceptLiteralFieldnames; } public static class Builder { private ExtensionRegistryWrapper extensionRegistry = ExtensionRegistryWrapper.empty(); private boolean ...
<|file_sep|>original/src/main/java/com/hubspot/jackson/datatype/protobuf/ProtobufJacksonConfig.java public ExtensionRegistryWrapper extensionRegistry() { return extensionRegistry; } public boolean acceptLiteralFieldnames() { return acceptLiteralFieldnames; } public static class Builder { private...
50365915f701928857cb83c44efac131b38d75bf
src/main/java/com/hubspot/jackson/datatype/protobuf/ProtobufJacksonConfig.java
src/main/java/com/hubspot/jackson/datatype/protobuf/ProtobufJacksonConfig.java
Java
<|file_sep|>original/tests/texture_draw.rs <|file_sep|>current/tests/texture_draw.rs <|file_sep|>updated/tests/texture_draw.rs
#![feature(plugin)] #![feature(unboxed_closures)] #[plugin] extern crate glium_macros; extern crate glutin; #[macro_use] extern crate glium; use std::default::Default; use glium::Surface; mod support; #[test] fn texture_2d_draw() { let display = support::build_display(); let (vb, ib) = support::build_...
<|file_sep|>original/tests/texture_draw.rs <|file_sep|>current/tests/texture_draw.rs <|file_sep|>updated/tests/texture_draw.rs #![feature(plugin)] #![feature(unboxed_closures)] #[plugin] extern crate glium_macros; extern crate glutin; #[macro_use] extern crate glium; use std::default::Default; use glium::Surface;...
2c24b22e7affc6f8d0b664292276de1b71ed8236
tests/texture_draw.rs
tests/texture_draw.rs
Rust
<|file_sep|>original/gdemo/util.py """Share utility functions.""" from urllib import parse def get_route_value(environ, name): value = environ['wsgiorg.routing_args'][1][name] value = parse.unquote(value) return value.replace('%2F', '/') <|file_sep|>current/gdemo/util.py """Share utility functions.""" f...
"""Share utility functions.""" try: from urllib import parse except ImportError: import urllib as parse def get_route_value(environ, name): value = environ['wsgiorg.routing_args'][1][name] value = parse.unquote(value) return value.replace('%2F', '/')
<|file_sep|>original/gdemo/util.py """Share utility functions.""" from urllib import parse def get_route_value(environ, name): value = environ['wsgiorg.routing_args'][1][name] value = parse.unquote(value) return value.replace('%2F', '/') <|file_sep|>current/gdemo/util.py """Share utility functions.""" f...
666d9c999ebf0cc388d8f045a04756424c2d9b62
gdemo/util.py
gdemo/util.py
Python
<|file_sep|>original/README.md # weather API to retrieve weather information # To run app npm start # To run tests npm run test # To run coverage report npm run cover <|file_sep|>current/README.md # weather API to retrieve weather information # To run app npm start # To run tests npm run test # To run coverage re...
# weather API to retrieve weather information # To run app npm start # To hit endpoint http://localhost:3000/weather?country=<country>&&city=<city>&&key=<key> Example: http://localhost:3000/weather?city=melbourne&country=au&key=key4 # To run tests npm run test # To run coverage report npm run cover
<|file_sep|>original/README.md # weather API to retrieve weather information # To run app npm start # To run tests npm run test # To run coverage report npm run cover <|file_sep|>current/README.md # weather API to retrieve weather information # To run app npm start # To run tests npm run test # To run coverage re...
760a11dadcd91c61d8300f7df22182028d7a63a1
README.md
README.md
Markdown
<|file_sep|>original/.travis.yml - npm install -g gulp - pip install --user protobuf script: - gulp lint - gulp build - gulp dist - gulp presubmit # Unit tests with Travis' default chromium - gulp test --compiled # Integration tests with all saucelabs browsers - gulp test --saucelabs --integration -...
- gulp lint - gulp build - gulp dist - gulp presubmit # Unit tests with Travis' default chromium - gulp test --compiled # Integration tests with all saucelabs browsers - gulp test --saucelabs --integration --compiled # All unit tests with an old chrome (best we can do right now to pass tests # and n...
<|file_sep|>original/.travis.yml - npm install -g gulp - pip install --user protobuf script: - gulp lint - gulp build - gulp dist - gulp presubmit # Unit tests with Travis' default chromium - gulp test --compiled # Integration tests with all saucelabs browsers - gulp test --saucelabs --integration -...
93256f610c4cb2bc99e1aeb4ede38f659bcbe547
.travis.yml
.travis.yml
YAML
<|file_sep|>original/Twig/Extension/Data/View/RendererExtension.php <|file_sep|>current/Twig/Extension/Data/View/RendererExtension.php <|file_sep|>updated/Twig/Extension/Data/View/RendererExtension.php
<?php declare(strict_types=1); /** * @author Igor Nikolaev <igor.sv.n@gmail.com> * @copyright Copyright (c) 2021, Darvin Studio * @link https://www.darvin-studio.ru * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace...
<|file_sep|>original/Twig/Extension/Data/View/RendererExtension.php <|file_sep|>current/Twig/Extension/Data/View/RendererExtension.php <|file_sep|>updated/Twig/Extension/Data/View/RendererExtension.php <?php declare(strict_types=1); /** * @author Igor Nikolaev <igor.sv.n@gmail.com> * @copyright Copyright (c) 202...
7848a09bfd7fcfb6bc52b79101cadbe3c7292108
Twig/Extension/Data/View/RendererExtension.php
Twig/Extension/Data/View/RendererExtension.php
PHP
<|file_sep|>original/package.json "set", "setAll", "delete", "deleteAll", "watch" ], "dependencies": { "clone": "^2.1.1", "deep-equal": "^1.0.1", "electron": "^1.0.0", "fs-extra": "^2.1.2" }, "devDependencies": { "electron-mocha": "^3.4.0", "electron-prebuilt": "^1.4....
"getAll", "set", "setAll", "delete", "deleteAll", "watch" ], "dependencies": { "clone": "^2.1.1", "deep-equal": "^1.0.1", "electron": "^1.0.0", "fs-extra": "^2.1.2" }, "devDependencies": { "electron-mocha": "^3.4.0", "eslint": "^3.18.0", "eslint-config-airbnb-...
<|file_sep|>original/package.json "set", "setAll", "delete", "deleteAll", "watch" ], "dependencies": { "clone": "^2.1.1", "deep-equal": "^1.0.1", "electron": "^1.0.0", "fs-extra": "^2.1.2" }, "devDependencies": { "electron-mocha": "^3.4.0", "electron-prebuilt": "^1.4....
4c1df12a567192b4afe072f1178eea32a653e0c2
package.json
package.json
JSON
<|file_sep|>original/requirements_dev.txt wheel==0.36.2 watchdog==2.0.2 pip==21.0.1 flake8==3.8.4 Sphinx==3.5.1 tox==3.22.0 coverage==5.4 PyYAML==5.4.1 pytest==6.2.2 <|file_sep|>current/requirements_dev.txt wheel==0.36.2 watchdog==2.0.2 pip==21.0.1 flake8==3.8.4 Sphinx==3.5.1 tox==3.22.0 coverage==5.4 PyYAML==5.4.1 pyt...
wheel==0.36.2 watchdog==2.0.2 pip==21.0.1 flake8==3.8.4 Sphinx==3.5.1 tox==3.22.0 coverage==5.5 PyYAML==5.4.1 pytest==6.2.2
<|file_sep|>original/requirements_dev.txt wheel==0.36.2 watchdog==2.0.2 pip==21.0.1 flake8==3.8.4 Sphinx==3.5.1 tox==3.22.0 coverage==5.4 PyYAML==5.4.1 pytest==6.2.2 <|file_sep|>current/requirements_dev.txt wheel==0.36.2 watchdog==2.0.2 pip==21.0.1 flake8==3.8.4 Sphinx==3.5.1 tox==3.22.0 coverage==5.4 PyYAML==5.4.1 pyt...
319a8ca10dc422d0c3cfacc4993b8d844d797069
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>.travis.yml.diff original: - psql -c "GRANT ALL PRIVILEGES ON DATABASE metronus_db_travis TO metronus_user_travis;" -U postgres updated: - psql -c "GRANT ALL PRIVILEGES ON DATABASE metronus_db_travis TO metronus_user_travis;" -U postgres - cd $TRAVIS_BUILD_DIR/Metronus-Project/ <|file_sep|>original/....
- export DJANGO_SETTINGS_MODULE=metronus.settings - export PYTHONPATH=$HOME/builds/Metronus/metronus - export PIP_USE_MIRRORS=true - export METRONUS_DB_NAME=metronus_db_travis - export METRONUS_DB_USER=metronus_user_travis - export METRONUS_DB_PASS='metronus_pass_travis' - export DJANGO_SECRET_KEY=travist...
<|file_sep|>.travis.yml.diff original: - psql -c "GRANT ALL PRIVILEGES ON DATABASE metronus_db_travis TO metronus_user_travis;" -U postgres updated: - psql -c "GRANT ALL PRIVILEGES ON DATABASE metronus_db_travis TO metronus_user_travis;" -U postgres - cd $TRAVIS_BUILD_DIR/Metronus-Project/ <|file_sep|>original/....
d50a230029384706a7da6fec7ca7b0d32550cf09
.travis.yml
.travis.yml
YAML
<|file_sep|>original/foot_stats.gemspec gem.authors = ["Tomas D'Stefano"] gem.email = ["tomas_stefano@successoft.com"] gem.description = %q{FootStats API Client in Ruby.} gem.summary = %q{FootStats API Client.} gem.homepage = "https://github.com/tomas-stefano/foot_stats" gem.file...
gem.email = ["tomas_stefano@successoft.com"] gem.description = %q{FootStats API Client in Ruby.} gem.summary = %q{FootStats API Client.} gem.homepage = "https://github.com/tomas-stefano/foot_stats" gem.files = `git ls-files`.split($/) gem.executables = gem.files.grep(%r{^bin/...
<|file_sep|>original/foot_stats.gemspec gem.authors = ["Tomas D'Stefano"] gem.email = ["tomas_stefano@successoft.com"] gem.description = %q{FootStats API Client in Ruby.} gem.summary = %q{FootStats API Client.} gem.homepage = "https://github.com/tomas-stefano/foot_stats" gem.file...
27a974ac462af2eb74f61d4d59a3a1d9b4a0676c
foot_stats.gemspec
foot_stats.gemspec
Ruby
<|file_sep|>original/src/Settings/General.php * @inheritDoc */ public function get(): array { /** @var Driver $oDriverService */ $oDriverService = Factory::service('Driver', Constants::MODULE_SLUG); /** @var Setting $oDriver */ $oDriver = Factory::factory('ComponentSet...
* @inheritDoc */ public function get(): array { /** @var Driver $oDriverService */ $oDriverService = Factory::service('Driver', Constants::MODULE_SLUG); /** @var Setting $oDriver */ $oDriver = Factory::factory('ComponentSetting'); $oDriver ->setKey(...
<|file_sep|>original/src/Settings/General.php * @inheritDoc */ public function get(): array { /** @var Driver $oDriverService */ $oDriverService = Factory::service('Driver', Constants::MODULE_SLUG); /** @var Setting $oDriver */ $oDriver = Factory::factory('ComponentSet...
d51f8542b1b3d748663afac77e57bc02d86f0926
src/Settings/General.php
src/Settings/General.php
PHP
<|file_sep|>original/meson_options.txt option('gtk_doc', type: 'boolean', value: true, description: 'Enable generating the API reference (depends on GTK-Doc)') option('sniffer', type: 'boolean', value: true, description: 'Compile graphical SSDP sniffer') option('introspection', type: 'boolean', value : true, descriptio...
option('gtk_doc', type: 'boolean', value: false, description: 'Enable generating the API reference (depends on GTK-Doc)') option('sniffer', type: 'boolean', value: true, description: 'Compile graphical SSDP sniffer') option('introspection', type: 'boolean', value : true, description: 'Enable or disable GObject Introspe...
<|file_sep|>original/meson_options.txt option('gtk_doc', type: 'boolean', value: true, description: 'Enable generating the API reference (depends on GTK-Doc)') option('sniffer', type: 'boolean', value: true, description: 'Compile graphical SSDP sniffer') option('introspection', type: 'boolean', value : true, descriptio...
2a6526fc7a9ce3503665b69f131efd2449c99e09
meson_options.txt
meson_options.txt
Text
<|file_sep|>original/db/TableBill.py { PDBConst.Name: "bill", PDBConst.Columns: [ { PDBConst.Name: "ID", PDBConst.Attributes: ["int", "not null", "auto_increment", "primary key"] }, { PDBConst.Name: "Datetime", PDBConst.Attributes: ["datetime", "not null"] }, ...
{ PDBConst.Name: "bill", PDBConst.Columns: [ { PDBConst.Name: "ID", PDBConst.Attributes: ["int", "not null", "auto_increment", "primary key"] }, { PDBConst.Name: "PID", PDBConst.Attributes: ["int", "not null"] }, { PDBConst.Name: "Datetime", PD...
<|file_sep|>original/db/TableBill.py { PDBConst.Name: "bill", PDBConst.Columns: [ { PDBConst.Name: "ID", PDBConst.Attributes: ["int", "not null", "auto_increment", "primary key"] }, { PDBConst.Name: "Datetime", PDBConst.Attributes: ["datetime", "not null"] }, ...
b2354fdde28bf841bebfc1f5347b2bde3c3cc390
db/TableBill.py
db/TableBill.py
Python
<|file_sep|>package.json.diff original: "start": "nodemon index.js", updated: "start": "node index.js", <|file_sep|>original/package.json { "name": "sockets", "version": "1.0.0", "description": "", "main": "index.js", "dependencies": { "socket.io": "^1.3.7", "express" : "^4.13.3" }, "scri...
{ "name": "sockets", "version": "1.0.0", "description": "", "main": "index.js", "dependencies": { "socket.io": "^1.3.7", "express" : "^4.13.3" }, "scripts": { "start": "node index.js", "test": "echo \"No test specified\" && exit 1" }, "author": "josebaseba", "license": "MIT" }
<|file_sep|>package.json.diff original: "start": "nodemon index.js", updated: "start": "node index.js", <|file_sep|>original/package.json { "name": "sockets", "version": "1.0.0", "description": "", "main": "index.js", "dependencies": { "socket.io": "^1.3.7", "express" : "^4.13.3" }, "scri...
41285794c6c380c22299bae0096b732847af59ba
package.json
package.json
JSON
<|file_sep|>FEZHAT.py.diff original: def get_light(): updated: def get_light(self): <|file_sep|>FEZHAT.py.diff original: def get_temperature(): updated: def get_temperature(self): <|file_sep|>original/FEZHAT.py import ADS7830 class FEZHAT: def __init__(self): self._ads = ADS7830.ADS783...
import ADS7830 class FEZHAT: def __init__(self): self._ads = ADS7830.ADS7830(1, 0x48) def get_light(self): return self._ads.read(5) / 255.0 # http://ww1.microchip.com/downloads/en/DeviceDoc/20001942F.pdf def get_temperature(self): # see page 8 return (...
<|file_sep|>FEZHAT.py.diff original: def get_light(): updated: def get_light(self): <|file_sep|>FEZHAT.py.diff original: def get_temperature(): updated: def get_temperature(self): <|file_sep|>original/FEZHAT.py import ADS7830 class FEZHAT: def __init__(self): self._ads = ADS7830.ADS783...
644912b4e4ef533db23b732a36e4dfc373f47540
FEZHAT.py
FEZHAT.py
Python
<|file_sep|>.travis.yml.diff original: node: 6 # The version we use in electron updated: node: v6 # The version we use in electron <|file_sep|>original/.travis.yml deploy: # Deploy to npm when new version is good - provider: npm skip_cleanup: true email: $NPM_EMAIL api_key: $NPM_API_KEY ...
deploy: # Deploy to npm when new version is good - provider: npm skip_cleanup: true email: $NPM_EMAIL api_key: $NPM_API_KEY on: branch: master tags: true node: v6 # The version we use in electron # Update docs when new version is good - provider: pages skip_cleanup: true ...
<|file_sep|>.travis.yml.diff original: node: 6 # The version we use in electron updated: node: v6 # The version we use in electron <|file_sep|>original/.travis.yml deploy: # Deploy to npm when new version is good - provider: npm skip_cleanup: true email: $NPM_EMAIL api_key: $NPM_API_KEY ...
929acc3c7bb886138de4cc156d3826684e328182
.travis.yml
.travis.yml
YAML
<|file_sep|>original/packaging/debian/README.txt <|file_sep|>current/packaging/debian/README.txt <|file_sep|>updated/packaging/debian/README.txt
I have added a debian folder for use in building a .deb file for ansible. From the ansible directory you can run the following command to construct a debian package of ansible. ~/ansible$ dpkg-buildpackage -us -uc -rfakeroot The debian package files will be placed in the ../ directory and can be installed with the fo...
<|file_sep|>original/packaging/debian/README.txt <|file_sep|>current/packaging/debian/README.txt <|file_sep|>updated/packaging/debian/README.txt I have added a debian folder for use in building a .deb file for ansible. From the ansible directory you can run the following command to construct a debian package of ansib...
b70ed206c630d83d6d72a61f15fb7ac057a27854
packaging/debian/README.txt
packaging/debian/README.txt
Text
<|file_sep|>original/app/helpers/admin/paths_helper.rb end def path_for_edition(edition) send("admin_edition_path", edition) end def edit_edition_path(edition) "/admin/editions/#{edition.to_param}" end def clone_edition_path(edition, conversions) send("clone_admin_edition_path", edition, conv...
def start_work_path(edition) send("start_work_admin_edition_path", edition) end def path_for_edition(edition) send("admin_edition_path", edition) end def edit_edition_path(edition) "/admin/editions/#{edition.to_param}" end def view_edition_path(edition) "/admin?with=#{edition.id}" end...
<|file_sep|>original/app/helpers/admin/paths_helper.rb end def path_for_edition(edition) send("admin_edition_path", edition) end def edit_edition_path(edition) "/admin/editions/#{edition.to_param}" end def clone_edition_path(edition, conversions) send("clone_admin_edition_path", edition, conv...
a0a2402ed9bd49768ba9dbae63b695b6a1239e5e
app/helpers/admin/paths_helper.rb
app/helpers/admin/paths_helper.rb
Ruby
<|file_sep|>original/CHANGELOG.md # Changelog ## 0.0.3 - Change `Everything` from a class to a module ## 0.0.2 - Add dotenv support ## 0.0.1 - Initial release <|file_sep|>current/CHANGELOG.md # Changelog ## 0.0.3 - Change `Everything` from a class to a module ## 0.0.2 - Add dotenv support ## 0.0.1 - Initial...
# Changelog ## 0.0.3 - Change `Everything` from a class to a module - Add basic rspec coverage ## 0.0.2 - Add dotenv support ## 0.0.1 - Initial release
<|file_sep|>original/CHANGELOG.md # Changelog ## 0.0.3 - Change `Everything` from a class to a module ## 0.0.2 - Add dotenv support ## 0.0.1 - Initial release <|file_sep|>current/CHANGELOG.md # Changelog ## 0.0.3 - Change `Everything` from a class to a module ## 0.0.2 - Add dotenv support ## 0.0.1 - Initial...
9605a9719e2be603397f505652dd134ae4d7942c
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>original/table.cs using System; namespace Table { public class Table { public int Width; public int Spacing; public Table(int width, int spacing) { Width = width; Spacing = spacing; } } } <|file_sep|>current/table.cs using System; namespace Table { public class Table { ...
using System; namespace Hangman { public class Table { public int Width; public int Spacing; public Table(int width, int spacing) { Width = width; Spacing = spacing; } } }
<|file_sep|>original/table.cs using System; namespace Table { public class Table { public int Width; public int Spacing; public Table(int width, int spacing) { Width = width; Spacing = spacing; } } } <|file_sep|>current/table.cs using System; namespace Table { public class Table { ...
3a50b65ec3a64ca4faf197ba53dbcfd3d5c85bd3
table.cs
table.cs
C#
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.2 - 1.9.3 - rbx-19mode - jruby-19mode - ruby-head notifications: irc: "irc.freenode.org#adhearsion" <|file_sep|>current/.travis.yml language: ruby rvm: - 1.9.2 - 1.9.3 - rbx-19mode - jruby-19mode - ruby-head notifications: irc: "irc.free...
language: ruby rvm: - 1.9.2 - 1.9.3 - 2.1.0 - rbx-19mode - jruby-19mode - ruby-head notifications: irc: "irc.freenode.org#adhearsion"
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.2 - 1.9.3 - rbx-19mode - jruby-19mode - ruby-head notifications: irc: "irc.freenode.org#adhearsion" <|file_sep|>current/.travis.yml language: ruby rvm: - 1.9.2 - 1.9.3 - rbx-19mode - jruby-19mode - ruby-head notifications: irc: "irc.free...
7f9148f0237d52824df214d6b326010b7c13999a
.travis.yml
.travis.yml
YAML
<|file_sep|>original/osu.Android/OsuGameAndroid.cs public class OsuGameAndroid : OsuGame { public override Version AssemblyVersion { get { var packageInfo = Application.Context.ApplicationContext.PackageManager.GetPackageInfo(Application.Context.Applicatio...
public class OsuGameAndroid : OsuGame { public override Version AssemblyVersion { get { var packageInfo = Application.Context.ApplicationContext.PackageManager.GetPackageInfo(Application.Context.ApplicationContext.PackageName, 0); try ...
<|file_sep|>original/osu.Android/OsuGameAndroid.cs public class OsuGameAndroid : OsuGame { public override Version AssemblyVersion { get { var packageInfo = Application.Context.ApplicationContext.PackageManager.GetPackageInfo(Application.Context.Applicatio...
8b5de7403f317cd87be9315976632d08873b021a
osu.Android/OsuGameAndroid.cs
osu.Android/OsuGameAndroid.cs
C#
<|file_sep|>views/index.jade.diff original: input(type='file', name='f') input(type='button', id="upload_button", value='Upload') #ans updated: p | Load flight plan: input(type='file', name='f') input(type='button', id="upload_button", value='Upload') #answer h3 fligh...
input(type='submit', id='fp_submit', value='Download') script(type="text/javascript") var global_fp = null; $("#upload_button").click(function() { $("#ans").html("") planconverterjs.get_data($("#upload_form")[0], function(fp,err) { if (err !== null) { alert(...
<|file_sep|>views/index.jade.diff original: input(type='file', name='f') input(type='button', id="upload_button", value='Upload') #ans updated: p | Load flight plan: input(type='file', name='f') input(type='button', id="upload_button", value='Upload') #answer h3 fligh...
7eb9bb1ee88dd3de78b2007ea454dccb03542724
views/index.jade
views/index.jade
Jade
<|file_sep|>original/.travis.yml language: node_js sudo: false cache: directories: - node_modules node_js: - '6' - '8' - '9' script: 'npm run ci' after_success: '<coverage/lcov.info ./node_modules/coveralls/bin/coveralls.js' <|file_sep|>current/.travis.yml language: node_js sudo: false cache: directories:...
language: node_js sudo: false cache: directories: - node_modules node_js: - '8' - '9' script: 'npm run ci' after_success: '<coverage/lcov.info ./node_modules/coveralls/bin/coveralls.js'
<|file_sep|>original/.travis.yml language: node_js sudo: false cache: directories: - node_modules node_js: - '6' - '8' - '9' script: 'npm run ci' after_success: '<coverage/lcov.info ./node_modules/coveralls/bin/coveralls.js' <|file_sep|>current/.travis.yml language: node_js sudo: false cache: directories:...
0e605153db5dc2c705153e3cf2b03fe5e9e4694b
.travis.yml
.travis.yml
YAML
<|file_sep|>scripts/change-version.js.diff original: updated: const { spawn } = require('child_process') <|file_sep|>scripts/change-version.js.diff original: ;['chrome/manifest.json', 'package.json'].forEach(file => { updated: const files = ['package.json', 'chrome/manifest.json', 'octohint.safariextension/Info.plist'...
const { spawn } = require('child_process') const version = process.argv[2] if (!version) { throw Error('No version specified') } const files = ['package.json', 'chrome/manifest.json', 'octohint.safariextension/Info.plist'] files.slice(0, 2).forEach(file => { fs.writeFileSync(file, fs.readFileSync(file, 'utf8')....
<|file_sep|>scripts/change-version.js.diff original: updated: const { spawn } = require('child_process') <|file_sep|>scripts/change-version.js.diff original: ;['chrome/manifest.json', 'package.json'].forEach(file => { updated: const files = ['package.json', 'chrome/manifest.json', 'octohint.safariextension/Info.plist'...
9b1df49dec41ac29fcbf669f8be94259030dd17d
scripts/change-version.js
scripts/change-version.js
JavaScript
<|file_sep|>original/client/reply_test.go package client import ( "bytes" "testing" ) func TestBytes(t *testing.T) { r := client.Cmd("get", "k").Bytes() if !bytes.Equal(r, []byte("v")) { t.Logf("expect bytes [% #x], but get[ % #x]\n", []byte("v"), r) t.Fail() } } <|file_sep|>current/client/reply_test.go pac...
"testing" ) func TestBytes(t *testing.T) { r := client.Cmd("get", "k").Bytes() if !bytes.Equal(r, []byte("v")) { t.Logf("expect bytes [% #x], but get[ % #x]\n", []byte("v"), r) t.Fail() } } func TestString(t *testing.T) { r := client.Cmd("get", "k").String() if r != "v" { t.Logf("expect string [v], but ...
<|file_sep|>original/client/reply_test.go package client import ( "bytes" "testing" ) func TestBytes(t *testing.T) { r := client.Cmd("get", "k").Bytes() if !bytes.Equal(r, []byte("v")) { t.Logf("expect bytes [% #x], but get[ % #x]\n", []byte("v"), r) t.Fail() } } <|file_sep|>current/client/reply_test.go pac...
863a9fc3cd9215aa3894aba43ae452e7e5f384f0
client/reply_test.go
client/reply_test.go
Go
<|file_sep|>original/scripts/ci.cmd <|file_sep|>current/scripts/ci.cmd <|file_sep|>updated/scripts/ci.cmd
rem CI script rem Install Bazel using Choco echo "Installing/updating bazel" choco install bazel -y rem Use placeholder secret file mkdir data\ echo ' {"installed":{"client_id":"PLACEHOLDER.apps.googleusercontent.com","project_id":"PLACEHOLDER","auth_uri":"https://accounts.google.com/o/oauth2/auth","token_uri":"h...
<|file_sep|>original/scripts/ci.cmd <|file_sep|>current/scripts/ci.cmd <|file_sep|>updated/scripts/ci.cmd rem CI script rem Install Bazel using Choco echo "Installing/updating bazel" choco install bazel -y rem Use placeholder secret file mkdir data\ echo ' {"installed":{"client_id":"PLACEHOLDER.apps.googleuserc...
d1b06f830029002ab626b17da9547c42d517f0a8
scripts/ci.cmd
scripts/ci.cmd
Batchfile
<|file_sep|>original/source/layouts/bloglayout.erb <!DOCTYPE html> <html lang="en-gb"> <%= partial "head" %> <body> <%= partial "navbar" %> <div class="container body-content"> <h1><%= current_page.data.title %></h1> <p><%= current_page.data.date.strftime('%e %B %Y') %> by <a href="/about-me...
<!DOCTYPE html> <html lang="en-gb"> <%= partial "head" %> <body> <%= partial "navbar" %> <div class="container body-content"> <div class="jumbotron"> <h1><%= current_page.data.title %></h1> <p class="lead"><%= current_page.data.description %></p> </div> <p><%=...
<|file_sep|>original/source/layouts/bloglayout.erb <!DOCTYPE html> <html lang="en-gb"> <%= partial "head" %> <body> <%= partial "navbar" %> <div class="container body-content"> <h1><%= current_page.data.title %></h1> <p><%= current_page.data.date.strftime('%e %B %Y') %> by <a href="/about-me...
378440d62c197673aa9482b949d28129f20b1e89
source/layouts/bloglayout.erb
source/layouts/bloglayout.erb
HTML+ERB
<|file_sep|>original/serene/ui/src/js/actions/userActions.js export const doLogout = () => { return { type : USER_LOGOUT, payload : null } } export const doLogin = (email, password) => { return dispatch => { fetch(LOGIN_URL, { method : 'get' }) .then(response => { return response....
export const doLogout = () => { return { type : USER_LOGOUT, payload : null } } export const doLogin = (email, password) => { return dispatch => { fetch(LOGIN_URL, { method : 'post' }) .then(response => { return response.json() }) .then(json => { console.log('/login ...
<|file_sep|>original/serene/ui/src/js/actions/userActions.js export const doLogout = () => { return { type : USER_LOGOUT, payload : null } } export const doLogin = (email, password) => { return dispatch => { fetch(LOGIN_URL, { method : 'get' }) .then(response => { return response....
06de8ea01af514fbc1db4b480c7a1d47e8098788
serene/ui/src/js/actions/userActions.js
serene/ui/src/js/actions/userActions.js
JavaScript
<|file_sep|>original/app/views/layouts/admin.html.erb <!DOCTYPE html> <html lang="en-gb"> <head> <meta http-equiv="content-type" content="text/html;charset=UTF-8" > <title><%= site_name %> admin<%= @title ? ":" : "" %> <%=@title%></title> <%= javascript_include_tag '/javascripts/jquery.js', '/adm...
<!DOCTYPE html> <html lang="en-gb"> <head> <meta http-equiv="content-type" content="text/html;charset=UTF-8" > <title><%= site_name %> admin<%= @title ? ":" : "" %> <%=@title%></title> <%= javascript_include_tag '/javascripts/jquery.js', '/admin/javascripts/jquery-ui.min.js', '/admin/javascripts/...
<|file_sep|>original/app/views/layouts/admin.html.erb <!DOCTYPE html> <html lang="en-gb"> <head> <meta http-equiv="content-type" content="text/html;charset=UTF-8" > <title><%= site_name %> admin<%= @title ? ":" : "" %> <%=@title%></title> <%= javascript_include_tag '/javascripts/jquery.js', '/adm...
71f0e5cff9d87ae111fed6e4cc89b886efa67e6b
app/views/layouts/admin.html.erb
app/views/layouts/admin.html.erb
HTML+ERB