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|>lib/rom/support/class_macros.rb.diff original: updated: @@macros = [#{args.map(&:inspect).join(', ')}] <|file_sep|>original/lib/rom/support/class_macros.rb Undefined = Object.new.freeze def defines(*args) mod = Module.new args.each do |name| mod.module_eval <<-RUBY,...
mod.module_eval <<-RUBY, __FILE__, __LINE__ + 1 @@macros = [#{args.map(&:inspect).join(', ')}] def #{name}(value = Undefined) if value == Undefined @#{name} else @#{name} = value end end def inherited(klass...
<|file_sep|>lib/rom/support/class_macros.rb.diff original: updated: @@macros = [#{args.map(&:inspect).join(', ')}] <|file_sep|>original/lib/rom/support/class_macros.rb Undefined = Object.new.freeze def defines(*args) mod = Module.new args.each do |name| mod.module_eval <<-RUBY,...
e18e25a03aae86a1f0377c747a6a148150831e5e
lib/rom/support/class_macros.rb
lib/rom/support/class_macros.rb
Ruby
<|file_sep|>features/support/hooks.rb.diff original: updated: Before("@capsulecrm") do @capsule_cleanup = [] end <|file_sep|>original/features/support/hooks.rb After("@clean_up_xero_contact") do if @contact @contact.name = [@contact.name, @contact.id].join(' ') @contact.save end end After("@capsulecrm"...
@contact.name = [@contact.name, @contact.id].join(' ') @contact.save end end Before("@capsulecrm") do @capsule_cleanup = [] end After("@capsulecrm") do @capsule_cleanup.each do |x| x.delete! end end After do if @invoice @invoice.delete! end # Clear up after multiple invoices are created...
<|file_sep|>features/support/hooks.rb.diff original: updated: Before("@capsulecrm") do @capsule_cleanup = [] end <|file_sep|>original/features/support/hooks.rb After("@clean_up_xero_contact") do if @contact @contact.name = [@contact.name, @contact.id].join(' ') @contact.save end end After("@capsulecrm"...
7d055a4097386adefdc3262a799365de233c086f
features/support/hooks.rb
features/support/hooks.rb
Ruby
<|file_sep|>original/_games/tiny-epic-mechs.md <|file_sep|>current/_games/tiny-epic-mechs.md <|file_sep|>updated/_games/tiny-epic-mechs.md
--- title: "Tiny Epic Mechs" players: 1-4 time: "0:30" type: strategy link: "https://boardgamegeek.com/boardgame/257283/tiny-epic-mechs" ---
<|file_sep|>original/_games/tiny-epic-mechs.md <|file_sep|>current/_games/tiny-epic-mechs.md <|file_sep|>updated/_games/tiny-epic-mechs.md --- title: "Tiny Epic Mechs" players: 1-4 time: "0:30" type: strategy link: "https://boardgamegeek.com/boardgame/257283/tiny-epic-mechs" ---
2b23bb85e4d3801f7ade95e09435da645aeb2213
_games/tiny-epic-mechs.md
_games/tiny-epic-mechs.md
Markdown
<|file_sep|>original/src/components/e-ripple.vue/module.css position: absolute; z-index: 9000; background-color: rgba(0, 0, 0, 0.2); border-radius: 100%; width: 100px; height: 100px; margin-left: -50px; margin-top: -50px; transform: scale(0); cursor: pointer; } .root[color="ligh...
position: absolute; z-index: 9000; background-color: rgba(0, 0, 0, 0.2); border-radius: 100%; width: 100px; height: 100px; margin-left: -50px; margin-top: -50px; transform: scale(0); cursor: pointer; pointer-events: none; } .root[color="light"] { background-color: rgba(2...
<|file_sep|>original/src/components/e-ripple.vue/module.css position: absolute; z-index: 9000; background-color: rgba(0, 0, 0, 0.2); border-radius: 100%; width: 100px; height: 100px; margin-left: -50px; margin-top: -50px; transform: scale(0); cursor: pointer; } .root[color="ligh...
6756069487aa99f31ba315976b4fda1674df7df1
src/components/e-ripple.vue/module.css
src/components/e-ripple.vue/module.css
CSS
<|file_sep|>original/.eslintrc.js module.exports = { extends: [ '@nextcloud', ], rules: { 'jsdoc/require-param-description': ['off'], 'jsdoc/require-param-type': ['off'], 'jsdoc/check-param-names': ['off'], 'jsdoc/no-undefined-types': ['off'], 'jsdoc/require-property-description' : ['off'] }, } <|file_s...
module.exports = { root: true, extends: [ '@nextcloud', ], rules: { 'jsdoc/require-param-description': ['off'], 'jsdoc/require-param-type': ['off'], 'jsdoc/check-param-names': ['off'], 'jsdoc/no-undefined-types': ['off'], 'jsdoc/require-property-description' : ['off'] }, }
<|file_sep|>original/.eslintrc.js module.exports = { extends: [ '@nextcloud', ], rules: { 'jsdoc/require-param-description': ['off'], 'jsdoc/require-param-type': ['off'], 'jsdoc/check-param-names': ['off'], 'jsdoc/no-undefined-types': ['off'], 'jsdoc/require-property-description' : ['off'] }, } <|file_s...
011b60b3bf8652784b2101785d9b6d6f183fa2ea
.eslintrc.js
.eslintrc.js
JavaScript
<|file_sep|>original/net/base/network_change_notifier_win.cc #include <iphlpapi.h> #include <winsock2.h> #pragma comment(lib, "iphlpapi.lib") namespace net { NetworkChangeNotifierWin::NetworkChangeNotifierWin() { memset(&addr_overlapped_, 0, sizeof addr_overlapped_); addr_overlapped_.hEvent = WSACreateEvent(); }...
#include <iphlpapi.h> #include <winsock2.h> #pragma comment(lib, "iphlpapi.lib") namespace net { NetworkChangeNotifierWin::NetworkChangeNotifierWin() { memset(&addr_overlapped_, 0, sizeof addr_overlapped_); addr_overlapped_.hEvent = WSACreateEvent(); WatchForAddressChange(); } NetworkChangeNotifierWin::~Netwo...
<|file_sep|>original/net/base/network_change_notifier_win.cc #include <iphlpapi.h> #include <winsock2.h> #pragma comment(lib, "iphlpapi.lib") namespace net { NetworkChangeNotifierWin::NetworkChangeNotifierWin() { memset(&addr_overlapped_, 0, sizeof addr_overlapped_); addr_overlapped_.hEvent = WSACreateEvent(); }...
ebb72cc5945a1d6824753e7282075c69d2edc1ef
net/base/network_change_notifier_win.cc
net/base/network_change_notifier_win.cc
C++
<|file_sep|>original/simgear/scene/model/CMakeLists.txt persparam.hxx placement.hxx ) set(SOURCES CheckSceneryVisitor.cxx ConditionNode.cxx ModelRegistry.cxx SGClipGroup.cxx SGInteractionAnimation.cxx SGMaterialAnimation.cxx SGOffsetTransform.cxx SGReaderWriterXML.cxx S...
persparam.hxx placement.hxx ) set(SOURCES CheckSceneryVisitor.cxx ConditionNode.cxx ModelRegistry.cxx SGClipGroup.cxx SGInteractionAnimation.cxx SGLightAnimation.cxx SGMaterialAnimation.cxx SGOffsetTransform.cxx SGReaderWriterXML.cxx SGRotateTransform.cxx SGScal...
<|file_sep|>original/simgear/scene/model/CMakeLists.txt persparam.hxx placement.hxx ) set(SOURCES CheckSceneryVisitor.cxx ConditionNode.cxx ModelRegistry.cxx SGClipGroup.cxx SGInteractionAnimation.cxx SGMaterialAnimation.cxx SGOffsetTransform.cxx SGReaderWriterXML.cxx S...
ad6c04489cf7af1b31cdabfc7ac7fe20e77bee72
simgear/scene/model/CMakeLists.txt
simgear/scene/model/CMakeLists.txt
Text
<|file_sep|>original/gnu/usr.bin/cvs/Makefile # $FreeBSD$ SUBDIR = lib libdiff cvs contrib cvsbug doc .include <bsd.subdir.mk> <|file_sep|>current/gnu/usr.bin/cvs/Makefile # $FreeBSD$ SUBDIR = lib libdiff cvs contrib cvsbug doc .include <bsd.subdir.mk> <|file_sep|>updated/gnu/usr.bin/cvs/Makefile
# $FreeBSD$ SUBDIR = lib libdiff cvs cvsbug doc .include <bsd.subdir.mk>
<|file_sep|>original/gnu/usr.bin/cvs/Makefile # $FreeBSD$ SUBDIR = lib libdiff cvs contrib cvsbug doc .include <bsd.subdir.mk> <|file_sep|>current/gnu/usr.bin/cvs/Makefile # $FreeBSD$ SUBDIR = lib libdiff cvs contrib cvsbug doc .include <bsd.subdir.mk> <|file_sep|>updated/gnu/usr.bin/cvs/Makefile # $FreeBSD$ SUBDI...
bc0984672083d779dabd932bbc58de972ee6b666
gnu/usr.bin/cvs/Makefile
gnu/usr.bin/cvs/Makefile
unknown
<|file_sep|>original/builder/run.sh #!/bin/sh -x L=/run/lock/fscq-builder lockfile -r 0 $L || exit 0 THISDIR=$(dirname $0) # $THISDIR/run-one.sh /usr/local/bin master master-coq85 # $THISDIR/run-one.sh /usr/local/coq-v86/bin master master-coq86 $THISDIR/run-one.sh /usr/local/coq-trunk/bin master master-coqtrunk $THI...
#!/bin/sh -x L=/run/lock/fscq-builder lockfile -r 0 $L || exit 0 THISDIR=$(dirname $0) # $THISDIR/run-one.sh /usr/local/bin master master-coq85 # $THISDIR/run-one.sh /usr/local/coq-v86/bin master master-coq86 $THISDIR/run-one.sh /usr/local/coq-trunk/bin master master-coqtrunk $THISDIR/run-one.sh /usr/local/coq-trunk...
<|file_sep|>original/builder/run.sh #!/bin/sh -x L=/run/lock/fscq-builder lockfile -r 0 $L || exit 0 THISDIR=$(dirname $0) # $THISDIR/run-one.sh /usr/local/bin master master-coq85 # $THISDIR/run-one.sh /usr/local/coq-v86/bin master master-coq86 $THISDIR/run-one.sh /usr/local/coq-trunk/bin master master-coqtrunk $THI...
6da81ef4c2f9341f073280cd168ab807cb3f059c
builder/run.sh
builder/run.sh
Shell
<|file_sep|>original/couscous.yml exclude: - %gitignore% cname: laratools.com # Theme Specific github: user: laratools repo: laratools menu: sections: main: items: introduction: text: Introduction path: introduction.html ...
index: introduction.md exclude: - %gitignore% cname: laratools.com # Theme Specific github: user: laratools repo: laratools menu: sections: main: items: introduction: text: Introduction installation: text...
<|file_sep|>original/couscous.yml exclude: - %gitignore% cname: laratools.com # Theme Specific github: user: laratools repo: laratools menu: sections: main: items: introduction: text: Introduction path: introduction.html ...
c883559dca4d5ea0a14d98ad240b93296d17f6a6
couscous.yml
couscous.yml
YAML
<|file_sep|>original/requirements-dev.txt amqp==2.1.4 # via kombu billiard==3.5.0.2 # via celery celery==4.0.2 coverage==4.3.4 flake8==3.3.0 isort==4.2.5 kombu==4.0.2 # via celery mccabe==0.6.1 mock==2.0.0 pbr==2.1.0 # via mock pep8-naming==0.4.1 pep8==1.7.0 py==1.4.33 ...
amqp==2.1.4 # via kombu billiard==3.5.0.2 # via celery celery==4.0.2 coverage==4.3.4 flake8==3.3.0 isort==4.2.5 kombu==4.0.2 # via celery mccabe==0.6.1 mock==2.0.0 pbr==2.1.0 # via mock pep8-naming==0.4.1 pep8==1.7.0 py==1.4.33 # via pytest pycodestyle==2....
<|file_sep|>original/requirements-dev.txt amqp==2.1.4 # via kombu billiard==3.5.0.2 # via celery celery==4.0.2 coverage==4.3.4 flake8==3.3.0 isort==4.2.5 kombu==4.0.2 # via celery mccabe==0.6.1 mock==2.0.0 pbr==2.1.0 # via mock pep8-naming==0.4.1 pep8==1.7.0 py==1.4.33 ...
c4e91ffcbba630cefab1813a11d3e5fec53275d5
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>original/regexp/luaregexp_test.go ) func TestLuaRegexp(t *testing.T) { l := lua.NewState() lua.OpenLibraries(l) regexp.Open(l) failHook := func(l *lua.State) int { str, ok := lua.ToString(l, -1) if !ok { t.Fatalf("need a string on the lua stack for calls to fail()") } lua.Pop(l, 1) t.Err...
) func TestLuaRegexp(t *testing.T) { l := lua.NewState() lua.OpenLibraries(l) regexp.Open(l) failHook := func(l *lua.State) int { str := lua.CheckString(l, -1) lua.Pop(l, 1) t.Error(str) return 0 } lua.Register(l, "fail", failHook) wantTop := lua.Top(l) if err := lua.LoadFile(l, "testdata/regexptest...
<|file_sep|>original/regexp/luaregexp_test.go ) func TestLuaRegexp(t *testing.T) { l := lua.NewState() lua.OpenLibraries(l) regexp.Open(l) failHook := func(l *lua.State) int { str, ok := lua.ToString(l, -1) if !ok { t.Fatalf("need a string on the lua stack for calls to fail()") } lua.Pop(l, 1) t.Err...
1fa40f443b5aeb9204a6d0e63b2d1d1a46316e68
regexp/luaregexp_test.go
regexp/luaregexp_test.go
Go
<|file_sep|>original/_includes/header.html <div class="container"> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"> <span class="sr-only">Toggle navigation</span> <span...
<nav class="navbar navbar-inverse navbar-fixed-top"> <div class="container"> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"> <span class="sr-only">Toggle navigation</span> ...
<|file_sep|>original/_includes/header.html <div class="container"> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"> <span class="sr-only">Toggle navigation</span> <span...
b765e9a41eae53a89fe9343f20465b5b641faae6
_includes/header.html
_includes/header.html
HTML
<|file_sep|>run_tracker.py.diff original: from cloudtracker import main as tracker_main updated: from cloudtracker.main import main from cloudtracker.load_config import config from cloudtracker.load_config import c <|file_sep|>run_tracker.py.diff original: def run_tracker(input): updated: def run_tracker(): <|file_sep...
from cloudtracker.main import main from cloudtracker.load_config import config from cloudtracker.load_config import c def run_tracker(): print( " Running the cloud-tracking algorithm... " ) # Print out model parameters from config.json print( " \n Model parameters: " ) print( " \t Case name: {}"...
<|file_sep|>run_tracker.py.diff original: from cloudtracker import main as tracker_main updated: from cloudtracker.main import main from cloudtracker.load_config import config from cloudtracker.load_config import c <|file_sep|>run_tracker.py.diff original: def run_tracker(input): updated: def run_tracker(): <|file_sep...
476c97edf8489be59d5e96ce36aa9214ae4ca00c
run_tracker.py
run_tracker.py
Python
<|file_sep|>original/sources/us/wi/jefferson.json { "coverage": { "US Census": { "geoid": "55055", "name": "Jefferson County", "state": "Wisconsin" }, "country": "us", "state": "wi", "county": "Jefferson" }, "data": "http://jeffarcg...
}, "country": "us", "state": "wi", "county": "Jefferson" }, "data": "http://jeffarcgis.jeffersoncountywi.gov/arcgis/rest/services/Public/Property_Ownership/MapServer/24", "type": "ESRI", "conform": { "type": "geojson", "number": { "vector.SDE.A...
<|file_sep|>original/sources/us/wi/jefferson.json { "coverage": { "US Census": { "geoid": "55055", "name": "Jefferson County", "state": "Wisconsin" }, "country": "us", "state": "wi", "county": "Jefferson" }, "data": "http://jeffarcg...
61786639d3194f8b58e39b8c57992c54157e5244
sources/us/wi/jefferson.json
sources/us/wi/jefferson.json
JSON
<|file_sep|>original/molly/external_media/views.py class IndexView(BaseView): breadcrumb = NullBreadcrumb def handle_GET(self, request, context): raise Http404 class ExternalImageView(BaseView): breadcrumb = NullBreadcrumb def handle_GET(self, request, context, slug): eis = get_ob...
def handle_GET(self, request, context): raise Http404 class ExternalImageView(BaseView): breadcrumb = NullBreadcrumb def handle_GET(self, request, context, slug): eis = get_object_or_404(ExternalImageSized, slug=slug) try: response = HttpResponse(open(eis.get_filename...
<|file_sep|>original/molly/external_media/views.py class IndexView(BaseView): breadcrumb = NullBreadcrumb def handle_GET(self, request, context): raise Http404 class ExternalImageView(BaseView): breadcrumb = NullBreadcrumb def handle_GET(self, request, context, slug): eis = get_ob...
98552a4cb683e25ec9af53024e58644c04b55872
molly/external_media/views.py
molly/external_media/views.py
Python
<|file_sep|>original/requirements.txt base58==0.2.4 botocore==1.5.4 boto3==1.4.4 docutils>=0.12 durationpy==0.3 futures==3.0.5 hjson==2.0.2 jmespath==0.9.0 kappa==0.6.0 lambda-packages==0.12.0 python-dateutil==2.6.0 python-slugify==1.2.1 PyYAML==3.12 requests>=2.10.0 six==1.10.0 toml==0.9.2 tqdm==4.11.1 troposphere>=1....
base58==0.2.4 botocore==1.5.4 boto3==1.4.4 docutils>=0.12 durationpy==0.3 futures==3.0.5 hjson==2.0.2 jmespath==0.9.0 kappa==0.6.0 lambda-packages==0.12.0 python-dateutil==2.6.0 python-slugify==1.2.1 PyYAML==3.12 requests>=2.10.0 six==1.10.0 toml==0.9.2 tqdm==4.11.2 troposphere>=1.9.0 Werkzeug==0.11.15 wheel==0.29.0 ws...
<|file_sep|>original/requirements.txt base58==0.2.4 botocore==1.5.4 boto3==1.4.4 docutils>=0.12 durationpy==0.3 futures==3.0.5 hjson==2.0.2 jmespath==0.9.0 kappa==0.6.0 lambda-packages==0.12.0 python-dateutil==2.6.0 python-slugify==1.2.1 PyYAML==3.12 requests>=2.10.0 six==1.10.0 toml==0.9.2 tqdm==4.11.1 troposphere>=1....
31578ad30bd3da4ed55ec9b44bdfb9de3d3dda53
requirements.txt
requirements.txt
Text
<|file_sep|>original/linguist/utils/__init__.py # -*- coding: utf-8 -*- from .i18n import (get_language_name, get_language, get_fallback_language, build_localized_field_name, build_localized_verbose_name) from .models import load_class, get_mo...
# -*- coding: utf-8 -*- from .i18n import (get_language_name, get_language, get_fallback_language, get_real_field_name, get_fallback_field_name, build_localized_field_name, build_localized_verbose_name) fr...
<|file_sep|>original/linguist/utils/__init__.py # -*- coding: utf-8 -*- from .i18n import (get_language_name, get_language, get_fallback_language, build_localized_field_name, build_localized_verbose_name) from .models import load_class, get_mo...
f5e4a8000e23e279192834d03e4b5b9ecca6b2b0
linguist/utils/__init__.py
linguist/utils/__init__.py
Python
<|file_sep|>original/src/Core/Framework/QScriptEngineHelpers.h // See http://lists.trolltech.com/qt-interest/2007-12/thread00158-0.html . template <typename Tp> QScriptValue qScriptValueFromQObject(QScriptEngine *engine, Tp const &qobject) { return engine->newQObject(qobject); } template <typename Tp> void qScript...
// See http://lists.trolltech.com/qt-interest/2007-12/thread00158-0.html . template <typename Tp> QScriptValue qScriptValueFromQObject(QScriptEngine *engine, Tp const &qobject) { return engine->newQObject(qobject); } template <typename Tp> void qScriptValueToQObject(const QScriptValue &value, Tp &qobject) { qo...
<|file_sep|>original/src/Core/Framework/QScriptEngineHelpers.h // See http://lists.trolltech.com/qt-interest/2007-12/thread00158-0.html . template <typename Tp> QScriptValue qScriptValueFromQObject(QScriptEngine *engine, Tp const &qobject) { return engine->newQObject(qobject); } template <typename Tp> void qScript...
46d81f2bcfa56dc2579d26b1d38b86051119c7ca
src/Core/Framework/QScriptEngineHelpers.h
src/Core/Framework/QScriptEngineHelpers.h
C
<|file_sep|>original/VERSION.txt //////////////////////////////////////////////////////////////////////////////////////////////////// // +--------------------------------------------------------------------------------------------+ // // CakePHP Version // // Holds a static string representing the current version of Ca...
//////////////////////////////////////////////////////////////////////////////////////////////////// // +--------------------------------------------------------------------------------------------+ // // CakePHP Version // // Holds a static string representing the current version of CakePHP // // CakePHP(tm) : Rapid D...
<|file_sep|>original/VERSION.txt //////////////////////////////////////////////////////////////////////////////////////////////////// // +--------------------------------------------------------------------------------------------+ // // CakePHP Version // // Holds a static string representing the current version of Ca...
1bca9f741e414cf53d1b97a84842e6442917010d
VERSION.txt
VERSION.txt
Text
<|file_sep|>original/requirements.txt SQLAlchemy==0.9.2 Twisted==13.2.0 autobahn==0.8.1 psycopg2==2.5.2 pyOpenSSL==0.13.1 zope.interface==4.1.0 <|file_sep|>current/requirements.txt SQLAlchemy==0.9.2 Twisted==13.2.0 autobahn==0.8.1 psycopg2==2.5.2 pyOpenSSL==0.13.1 zope.interface==4.1.0 <|file_sep|>updated/requirements....
SQLAlchemy==0.9.2 Twisted==13.2.0 autobahn==0.8.1 psycopg2==2.5.2 pyOpenSSL==0.13.1 zope.interface==4.1.0 sqlamp==0.6
<|file_sep|>original/requirements.txt SQLAlchemy==0.9.2 Twisted==13.2.0 autobahn==0.8.1 psycopg2==2.5.2 pyOpenSSL==0.13.1 zope.interface==4.1.0 <|file_sep|>current/requirements.txt SQLAlchemy==0.9.2 Twisted==13.2.0 autobahn==0.8.1 psycopg2==2.5.2 pyOpenSSL==0.13.1 zope.interface==4.1.0 <|file_sep|>updated/requirements....
57b72b6f9af0d56226850693244c8ec2bb6982b9
requirements.txt
requirements.txt
Text
<|file_sep|>original/py-requirements/base.txt django-choices==1.5.0 django-extensions==1.7.7 django-storages==1.5.2 djangorestframework==3.5.4 whitenoise==3.3.0 # Allauth defusedxml==0.5.0 django-allauth==0.30.0 oauthlib==2.0.1 python3-openid==3.0.10 requests-oauthlib==0.8.0 # Github github3.py==1.0.0a4 uritemplate==...
django-choices==1.5.0 django-extensions==1.7.7 django-storages==1.5.2 djangorestframework==3.5.4 whitenoise==3.3.0 # Allauth defusedxml==0.5.0 django-allauth==0.30.0 oauthlib==2.0.1 python3-openid==3.1.0 requests-oauthlib==0.8.0 # Github github3.py==1.0.0a4 uritemplate==3.0.0 uritemplate.py==3.0.2 # Misc boto==2.46....
<|file_sep|>original/py-requirements/base.txt django-choices==1.5.0 django-extensions==1.7.7 django-storages==1.5.2 djangorestframework==3.5.4 whitenoise==3.3.0 # Allauth defusedxml==0.5.0 django-allauth==0.30.0 oauthlib==2.0.1 python3-openid==3.0.10 requests-oauthlib==0.8.0 # Github github3.py==1.0.0a4 uritemplate==...
c287ef01bc39160d9b5e54343e43e124939afaaa
py-requirements/base.txt
py-requirements/base.txt
Text
<|file_sep|>original/src/app/utils/notification/NotificationProviderNative.js } static test() { return Promise.resolve(); } notify( data ) { return new Promise( ( resolve, reject ) => { let notification = new window.Notification( data.title, { body: NotificationProvider.getMessageAsString( data.message...
} static test() { return Promise.resolve(); } notify( data ) { return new Promise( ( resolve, reject ) => { let notification = new window.Notification( data.title, { body: NotificationProvider.getMessageAsString( data.message ), icon: `file://${data.icon}`, actions: [] }); notification.a...
<|file_sep|>original/src/app/utils/notification/NotificationProviderNative.js } static test() { return Promise.resolve(); } notify( data ) { return new Promise( ( resolve, reject ) => { let notification = new window.Notification( data.title, { body: NotificationProvider.getMessageAsString( data.message...
af1d6fe7bd69422321657c63e318d8c49ed155f0
src/app/utils/notification/NotificationProviderNative.js
src/app/utils/notification/NotificationProviderNative.js
JavaScript
<|file_sep|>original/README.md # MyoSports Myo Sports is intended to be an app to give athletes more information about their games. Sports of interest include: - Tennis - Golf - Baseball ## Recording The apps main function right now is data recording. Each recording file is timestamped with the start time, and acces...
# MyoSports Myo Sports is intended to be an app to give athletes more information about their games. Sports of interest include: - Tennis - Golf - Baseball ## First Steps Some good first steps for the application would be the ability to detect a forehand vs a backhand in tennis, or the handedness of a baseball swing...
<|file_sep|>original/README.md # MyoSports Myo Sports is intended to be an app to give athletes more information about their games. Sports of interest include: - Tennis - Golf - Baseball ## Recording The apps main function right now is data recording. Each recording file is timestamped with the start time, and acces...
48ce77d90a3126141384ac16b35e925d6c5b8b69
README.md
README.md
Markdown
<|file_sep|>original/.travis.yml sudo: false language: ruby rvm: - 2.0 - 2.1 - 2.2 - 2.3.3 - 2.4.0 env: COVERALL=1 before_install: - gem update --system - gem install bundler <|file_sep|>current/.travis.yml sudo: false language: ruby rvm: - 2.0 - 2.1 - 2.2 - 2.3.3 - 2.4.0 env: COVERALL=1 before_install: - gem u...
sudo: false language: ruby rvm: - 2.0 - 2.1 - 2.2 - 2.3.4 - 2.4.1 env: COVERALL=1 before_install: - gem update --system - gem install bundler
<|file_sep|>original/.travis.yml sudo: false language: ruby rvm: - 2.0 - 2.1 - 2.2 - 2.3.3 - 2.4.0 env: COVERALL=1 before_install: - gem update --system - gem install bundler <|file_sep|>current/.travis.yml sudo: false language: ruby rvm: - 2.0 - 2.1 - 2.2 - 2.3.3 - 2.4.0 env: COVERALL=1 before_install: - gem u...
89c02e5520c84f3b90b3394a1c05a3b8af78044a
.travis.yml
.travis.yml
YAML
<|file_sep|>original/saltstack/base/elasticsearch/install.sls # # Install Elasticsearch and plugins configured in pillar # elasticsearch-requirements: pkg.installed: - pkgs: - openjdk-8-jre-headless elasticsearch: pkg.installed: - version: {{ pillar.elasticsearch.version }} - require: - pk...
# # Install Elasticsearch and plugins configured in pillar # elasticsearch-requirements: pkg.installed: - pkgs: - openjdk-11-jre-headless - policykit-1 elasticsearch: pkg.installed: - version: {{ pillar.elasticsearch.version }} - require: - pkg: elasticsearch-requirements # Disable ...
<|file_sep|>original/saltstack/base/elasticsearch/install.sls # # Install Elasticsearch and plugins configured in pillar # elasticsearch-requirements: pkg.installed: - pkgs: - openjdk-8-jre-headless elasticsearch: pkg.installed: - version: {{ pillar.elasticsearch.version }} - require: - pk...
3f5fabd9408c33b7e286fa7e51bc063a439e7543
saltstack/base/elasticsearch/install.sls
saltstack/base/elasticsearch/install.sls
SaltStack
<|file_sep|>original/test/DebugInfo/async-let-await.swift // RUN: %target-swift-frontend %s -emit-ir -g -o - \ // RUN: -module-name M -enable-experimental-concurrency \ // RUN: -parse-as-library | %FileCheck %s // REQUIRES: concurrency // UNSUPPORTED: CPU=arm64e public func getVegetables() async -> [String] { ...
// RUN: %target-swift-frontend %s -emit-ir -g -o - \ // RUN: -module-name M -enable-experimental-concurrency \ // RUN: -parse-as-library | %FileCheck %s // REQUIRES: concurrency // UNSUPPORTED: CPU=arm64e public func getVegetables() async -> [String] { return ["leek", "carrot"] } // CHECK: define {{.*}} @"$...
<|file_sep|>original/test/DebugInfo/async-let-await.swift // RUN: %target-swift-frontend %s -emit-ir -g -o - \ // RUN: -module-name M -enable-experimental-concurrency \ // RUN: -parse-as-library | %FileCheck %s // REQUIRES: concurrency // UNSUPPORTED: CPU=arm64e public func getVegetables() async -> [String] { ...
1a9992991f26d9b8a57f455bf81348a5a14a352e
test/DebugInfo/async-let-await.swift
test/DebugInfo/async-let-await.swift
Swift
<|file_sep|>original/.gitlab-ci.yml create_dockerfile: image: java:8-jdk stage: build script: - ./gradlew clean createDockerfile build_docker_image: image: docker:stable stage: build script: - docker build -t ${IMAGE_NAME}:${LATEST_IMAGE_TAG} - docker save ${IMAGE_NAME}:${CI_COMMIT_SHA} > ${IMA...
create_dockerfile: image: java:8-jdk stage: build script: - ./gradlew clean createDockerfile build_docker_image: image: docker:stable stage: build script: - docker build -t ${CREATED_DARZEE_DOCKERFILE_PATH} ${IMAGE_NAME}:${LATEST_IMAGE_TAG} - docker save ${IMAGE_NAME}:${CI_COMMIT_SHA} > ${IMAGE...
<|file_sep|>original/.gitlab-ci.yml create_dockerfile: image: java:8-jdk stage: build script: - ./gradlew clean createDockerfile build_docker_image: image: docker:stable stage: build script: - docker build -t ${IMAGE_NAME}:${LATEST_IMAGE_TAG} - docker save ${IMAGE_NAME}:${CI_COMMIT_SHA} > ${IMA...
a20172a606c34fe65a7bf3c12bebaf7338b05551
.gitlab-ci.yml
.gitlab-ci.yml
YAML
<|file_sep|>src/multiboot.rs.diff original: updated: #[derive(Debug)] #[repr(C, packed)] <|file_sep|>src/multiboot.rs.diff original: reserved: u32, // Should always be 0 mem_lower: u32, mem_upper: u32, boot_device: u32, boot_cmd_line: u32, module_count: u32, modules: u32, elf_symbo...
let reserved = *((multiboot_addr + 4) as *const u32); let first_tag = (multiboot_addr + 8) as *const Tag; MultiBootInfo { total_size: total_size, reserved: reserved, first_tag: first_tag } } pub fn start_address(&self) -> usize { ...
<|file_sep|>src/multiboot.rs.diff original: updated: #[derive(Debug)] #[repr(C, packed)] <|file_sep|>src/multiboot.rs.diff original: reserved: u32, // Should always be 0 mem_lower: u32, mem_upper: u32, boot_device: u32, boot_cmd_line: u32, module_count: u32, modules: u32, elf_symbo...
91eead1f7d5296d9cbfa3042d63df453dbc859a6
src/multiboot.rs
src/multiboot.rs
Rust
<|file_sep|>original/.travis.yml rvm: # - 1.9.3 # - 2.0.0 # - 2.1.0 # - 2.1.1 - 2.1.2 # - jruby # - rbx-2 deploy: provider: rubygems api_key: secure: beHIrfhi+kpvA67zbiMXx5n2qAUaNUz+y3RO3yB19jIiTm4Zol8DRJH9jKO6YpIwLlolTrGVQsmZHqmmXRghv3qZXeYwLdp0mvyMIYc5w10OiRwDzlS1DFogevDszRDpypP7J48oFn2llRt1mw9HyLE83GFQcTEvxU...
# - 1.9.3 # - 2.0.0 # - 2.1.0 # - 2.1.1 - 2.1.2 # - jruby # - rbx-2 deploy: provider: rubygems api_key: secure: beHIrfhi+kpvA67zbiMXx5n2qAUaNUz+y3RO3yB19jIiTm4Zol8DRJH9jKO6YpIwLlolTrGVQsmZHqmmXRghv3qZXeYwLdp0mvyMIYc5w10OiRwDzlS1DFogevDszRDpypP7J48oFn2llRt1mw9HyLE83GFQcTEvxUJ+ENLA3tY= gem: minitest-capybara ...
<|file_sep|>original/.travis.yml rvm: # - 1.9.3 # - 2.0.0 # - 2.1.0 # - 2.1.1 - 2.1.2 # - jruby # - rbx-2 deploy: provider: rubygems api_key: secure: beHIrfhi+kpvA67zbiMXx5n2qAUaNUz+y3RO3yB19jIiTm4Zol8DRJH9jKO6YpIwLlolTrGVQsmZHqmmXRghv3qZXeYwLdp0mvyMIYc5w10OiRwDzlS1DFogevDszRDpypP7J48oFn2llRt1mw9HyLE83GFQcTEvxU...
bb9c170a73af46f22d56c64cc4a6713c54e615a7
.travis.yml
.travis.yml
YAML
<|file_sep|>original/README.md If provided, the optional `hashFunction` will be used to recognize when two objects are the same. If not provided, `JSON.stringify` will be used. ### patch ```js var b = jiff.patch(patch, a); ``` Given an rfc6902 JSON Patch containing only `add`, `replace`, and `remove` operations, ap...
```js var b = jiff.patch(patch, a); ``` Given an rfc6902 JSON Patch containing only `add`, `replace`, and `remove` operations, apply it to `a` and return the patched JSON object/array/value. ### clone ```js var b = jiff.clone(a); ``` Creates a deep copy of `a`, which must be a valid JSON object/array/value. ### In...
<|file_sep|>original/README.md If provided, the optional `hashFunction` will be used to recognize when two objects are the same. If not provided, `JSON.stringify` will be used. ### patch ```js var b = jiff.patch(patch, a); ``` Given an rfc6902 JSON Patch containing only `add`, `replace`, and `remove` operations, ap...
3284ea678b3fdd1fdef23eea9861c1f72783f217
README.md
README.md
Markdown
<|file_sep|>original/lib/data_loader/debates.rb # The options hash takes: # :from_date - Date to parse from (just specify this date if you only want one ) # :to_date - A single date def self.load!(options = {}) dates = if options[:to_date] Date.parse(options[:from_date])..Date.pars...
# The options hash takes: # :from_date - Date to parse from (just specify this date if you only want one ) # :to_date - A single date def self.load!(options = {}) dates = if options[:to_date] Date.parse(options[:from_date])..Date.parse(options[:to_date]) else ...
<|file_sep|>original/lib/data_loader/debates.rb # The options hash takes: # :from_date - Date to parse from (just specify this date if you only want one ) # :to_date - A single date def self.load!(options = {}) dates = if options[:to_date] Date.parse(options[:from_date])..Date.pars...
a930e05946a05f99131a829fc4c270aca45326f2
lib/data_loader/debates.rb
lib/data_loader/debates.rb
Ruby
<|file_sep|>original/cookbooks/nagios/templates/default/hosts.cfg.erb <% if node['nagios']['multi_environment_monitoring'] -%> <% if n.run_list.roles.nil? || n.run_list.roles.length == 0 -%> hostgroups all,<%= n.os %>,<%= n.chef_environment %> <% else -%> hostgroups <%= (n.run_list.roles.to_a & @hostgroups).j...
<% if node['nagios']['multi_environment_monitoring'] -%> <% if n.run_list.roles.nil? || n.run_list.roles.length == 0 -%> hostgroups all,<%= n.os %>,<%= n.chef_environment %> <% else -%> hostgroups <%= (n.run_list.roles.to_a & @hostgroups).join(",") %>,<%= n.os %>,<%= n.chef_environment %> <% end -%> <% el...
<|file_sep|>original/cookbooks/nagios/templates/default/hosts.cfg.erb <% if node['nagios']['multi_environment_monitoring'] -%> <% if n.run_list.roles.nil? || n.run_list.roles.length == 0 -%> hostgroups all,<%= n.os %>,<%= n.chef_environment %> <% else -%> hostgroups <%= (n.run_list.roles.to_a & @hostgroups).j...
6f72cc4b9c63a970f33f6eb3881cbefbdb5fdb83
cookbooks/nagios/templates/default/hosts.cfg.erb
cookbooks/nagios/templates/default/hosts.cfg.erb
HTML+ERB
<|file_sep|>original/app/models/dojo.rb NUM_OF_WHOLE_EVENTS = "1,555" NUM_OF_JAPAN_DOJOS = Dojo.count.to_s belongs_to :prefecture has_many :dojo_event_services, dependent: :destroy has_many :event_histories, dependent: :destroy serialize :tags before_save { self.email = self.email.downcase } vali...
NUM_OF_WHOLE_EVENTS = "1,555" NUM_OF_JAPAN_DOJOS = Dojo.count.to_s belongs_to :prefecture has_many :dojo_event_services, dependent: :destroy has_many :event_histories, dependent: :destroy serialize :tags before_save { self.email = self.email.downcase } scope :default_order, -> { order(prefecture_...
<|file_sep|>original/app/models/dojo.rb NUM_OF_WHOLE_EVENTS = "1,555" NUM_OF_JAPAN_DOJOS = Dojo.count.to_s belongs_to :prefecture has_many :dojo_event_services, dependent: :destroy has_many :event_histories, dependent: :destroy serialize :tags before_save { self.email = self.email.downcase } vali...
c22925be0c54c2028ac85bfebac75a3c392861eb
app/models/dojo.rb
app/models/dojo.rb
Ruby
<|file_sep|>original/.travis.yml language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 - nightly matrix: allow_failures: - php: nightly before_script: - export DISPLAY=:99.0 - Xvfb $DISPLAY -extension RANDR &> /dev/null & - curl http://selenium-release.storage.googleapis.co...
language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 - 7.2 - nightly matrix: allow_failures: - php: nightly before_script: - export DISPLAY=:99.0 - Xvfb $DISPLAY -extension RANDR &> /dev/null & - curl http://selenium-release.storage.googleapis.com/3.5/selenium-server-s...
<|file_sep|>original/.travis.yml language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 - nightly matrix: allow_failures: - php: nightly before_script: - export DISPLAY=:99.0 - Xvfb $DISPLAY -extension RANDR &> /dev/null & - curl http://selenium-release.storage.googleapis.co...
5f1ffdd2d1bbfab260497562c1eee55aa4849ee0
.travis.yml
.travis.yml
YAML
<|file_sep|>hack/imports.go.diff original: package hack updated: <|file_sep|>original/hack/imports.go http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS ...
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ /* Packag...
<|file_sep|>hack/imports.go.diff original: package hack updated: <|file_sep|>original/hack/imports.go http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS ...
200075926154dd2b7948961008ccb841401423b5
hack/imports.go
hack/imports.go
Go
<|file_sep|>original/.travis.yml language: node_js node_js: - "6" - "0.10" - "0.8" before_install: npm i -g npm <|file_sep|>current/.travis.yml language: node_js node_js: - "6" - "0.10" - "0.8" before_install: npm i -g npm <|file_sep|>updated/.travis.yml
language: node_js node_js: - "6" - "4" cache: directories: - node_modules
<|file_sep|>original/.travis.yml language: node_js node_js: - "6" - "0.10" - "0.8" before_install: npm i -g npm <|file_sep|>current/.travis.yml language: node_js node_js: - "6" - "0.10" - "0.8" before_install: npm i -g npm <|file_sep|>updated/.travis.yml language: node_js node_js: - "6" - "4" cache: d...
b16580f30fccb70f2bfc3f7fe7cafc34667daa86
.travis.yml
.travis.yml
YAML
<|file_sep|>original/package.json { "name": "sails-generate-humpback-api", "version": "0.11.5", "description": "sails generate humpback-api", "main": "Generator.js", "scripts": { "test": "mocha" }, "keywords": [ "humpback-api", "generator", "sails", "generate", "plugin" ], "aut...
{ "name": "sails-generate-humpback-api", "version": "0.11.6", "description": "sails generate humpback-api", "main": "Generator.js", "scripts": { "test": "mocha" }, "keywords": [ "humpback-api", "generator", "sails", "generate", "plugin" ], "author": "scottBwyatt", "license": ...
<|file_sep|>original/package.json { "name": "sails-generate-humpback-api", "version": "0.11.5", "description": "sails generate humpback-api", "main": "Generator.js", "scripts": { "test": "mocha" }, "keywords": [ "humpback-api", "generator", "sails", "generate", "plugin" ], "aut...
84172059d975bb1b3b94bdf7252117ccd9fb93e5
package.json
package.json
JSON
<|file_sep|>original/src/build.js fs.writeFileSync(`./dist/${filename}.min.css`, minified.styles) }) .then(resolve) .catch(error => { console.log(error) reject() }) }) }) } console.info('Building Tailwind!') Promise.all([ buildDistFile('preflight')...
fs.writeFileSync(`./dist/${filename}.min.css`, minified.styles) }) .then(resolve) .catch(error => { console.log(error) reject() }) }) }) } console.info('Building Tailwind!') Promise.all([ buildDistFile('base'), buildDistFile('components'), buil...
<|file_sep|>original/src/build.js fs.writeFileSync(`./dist/${filename}.min.css`, minified.styles) }) .then(resolve) .catch(error => { console.log(error) reject() }) }) }) } console.info('Building Tailwind!') Promise.all([ buildDistFile('preflight')...
f6e40afb28c93c3b537d73d2313fc2bf17e7548f
src/build.js
src/build.js
JavaScript
<|file_sep|>original/Sources/Extensions/iOS/UINavigationController.swift // ZamzamKit iOS // // Created by Basem Emara on 2018-08-28. // Copyright © 2018 Zamzam Inc. All rights reserved. // import UIKit public extension UINavigationController { /// Pops the top view controller from the navigation stack an...
// ZamzamKit iOS // // Created by Basem Emara on 2018-08-28. // Copyright © 2018 Zamzam Inc. All rights reserved. // import UIKit public extension UINavigationController { /// The previous view controller of the navigation stack. var previousViewController: UIViewController? { return viewContr...
<|file_sep|>original/Sources/Extensions/iOS/UINavigationController.swift // ZamzamKit iOS // // Created by Basem Emara on 2018-08-28. // Copyright © 2018 Zamzam Inc. All rights reserved. // import UIKit public extension UINavigationController { /// Pops the top view controller from the navigation stack an...
5c80a8debd3a92dbe59b851dd401dc9d7fcbecbd
Sources/Extensions/iOS/UINavigationController.swift
Sources/Extensions/iOS/UINavigationController.swift
Swift
<|file_sep|>original/timer/src/org/jeffpiazza/derby/devices/AllDeviceTypes.java @SuppressWarnings(value = "unchecked") public static final Class<? extends TimerDevice>[] allDeviceClasses = (Class<? extends TimerDevice>[]) new Class[]{ SmartLineDevice.class, FastTrackDevice.class, Older...
@SuppressWarnings(value = "unchecked") public static final Class<? extends TimerDevice>[] allDeviceClasses = (Class<? extends TimerDevice>[]) new Class[]{ SmartLineDevice.class, FastTrackDevice.class, OlderFastTrackDevice.class, TheJudgeDevice.class, NewBoldDevice.class...
<|file_sep|>original/timer/src/org/jeffpiazza/derby/devices/AllDeviceTypes.java @SuppressWarnings(value = "unchecked") public static final Class<? extends TimerDevice>[] allDeviceClasses = (Class<? extends TimerDevice>[]) new Class[]{ SmartLineDevice.class, FastTrackDevice.class, Older...
8286decd08422329e615ba114ea670c376ee202a
timer/src/org/jeffpiazza/derby/devices/AllDeviceTypes.java
timer/src/org/jeffpiazza/derby/devices/AllDeviceTypes.java
Java
<|file_sep|>original/awa/plugins/awa-blogs/dynamo.xml <project> <name>awa-blogs</name> <property name="author_email">Stephane.Carrez@gmail.com</property> <property name="license">none</property> <property name="is_plugin">TRUE</property> <property name="author">Stephane Carrez</property> <depend...
<project> <name>awa-blogs</name> <property name="author_email">Stephane.Carrez@gmail.com</property> <property name="license">none</property> <property name="is_plugin">TRUE</property> <property name="author">Stephane Carrez</property> <depend name="awa_markedit"></depend> <depend name="awa_f...
<|file_sep|>original/awa/plugins/awa-blogs/dynamo.xml <project> <name>awa-blogs</name> <property name="author_email">Stephane.Carrez@gmail.com</property> <property name="license">none</property> <property name="is_plugin">TRUE</property> <property name="author">Stephane Carrez</property> <depend...
3f1801a0d168a7d32097761c5bdf1e511d5d0569
awa/plugins/awa-blogs/dynamo.xml
awa/plugins/awa-blogs/dynamo.xml
XML
<|file_sep|>original/bower.json { "name": "flight", "description": "Clientside component infrastructure", "main": "lib/index.js", "version": "1.0.9", "ignore": [ "tools/standalone", "test", ".gitignore", ".travis.yml", "CHANGELOG.md", "CONTRIBUTING.md", "Makefile", "package.jso...
{ "name": "flight", "description": "Clientside component infrastructure", "main": "lib/index.js", "version": "1.0.9", "ignore": [ "tools/standalone", "test", ".gitignore", ".travis.yml", "CHANGELOG.md", "CONTRIBUTING.md", "Makefile", "package.json" ], "dependencies": { ...
<|file_sep|>original/bower.json { "name": "flight", "description": "Clientside component infrastructure", "main": "lib/index.js", "version": "1.0.9", "ignore": [ "tools/standalone", "test", ".gitignore", ".travis.yml", "CHANGELOG.md", "CONTRIBUTING.md", "Makefile", "package.jso...
e9c1a2a5fd334b5b75784cc37aaa03432d183e7e
bower.json
bower.json
JSON
<|file_sep|>original/index.md --- layout: landing --- All-round senior Machine Learning Engineer that enjoys solving business problems with data. Currently available for a new freelance project! As a strong problem solver with attention to detail, I can help you tackle loosely defined data problems. I am able to driv...
--- layout: landing --- All-round senior Machine Learning Engineer that enjoys solving business problems with data. As a strong problem solver with attention to detail, I can help you tackle loosely defined data problems. I am able to drive projects to completion with minimal guidance, while at the same I go out of my...
<|file_sep|>original/index.md --- layout: landing --- All-round senior Machine Learning Engineer that enjoys solving business problems with data. Currently available for a new freelance project! As a strong problem solver with attention to detail, I can help you tackle loosely defined data problems. I am able to driv...
2010b12561652688b5b8418db12fed14da73aa87
index.md
index.md
Markdown
<|file_sep|>original/src/components/controls/Range.jsx props.onSetFilterOption(props.name, parseFloat(e.target.value))} /> <span role="button" tabIndex="0" className={[s.value, s.clickable].join(" ")} onClick={() => { const newValue = window.prompt("Value...
props.onSetFilterOption(props.name, parseFloat(e.target.value))} /> <span role="button" tabIndex="0" className={[s.value, s.clickable].join(" ")} onClick={() => { const newValue = window.prompt("Value"); // eslint-disable-line const parsed = par...
<|file_sep|>original/src/components/controls/Range.jsx props.onSetFilterOption(props.name, parseFloat(e.target.value))} /> <span role="button" tabIndex="0" className={[s.value, s.clickable].join(" ")} onClick={() => { const newValue = window.prompt("Value...
67a8d1770ad3223ec6651059b4e5b05cb56b47df
src/components/controls/Range.jsx
src/components/controls/Range.jsx
JSX
<|file_sep|>original/.travis.yml language: php sudo: false php: - '7.1' - '7.2' - nightly env: matrix: - DEPENDENCIES="high" - DEPENDENCIES="low" global: - DEFAULT_COMPOSER_FLAGS="--no-interaction --no-ansi --no-progress --no-suggest" before_install: - composer self-update - composer clear...
language: php sudo: false php: - '7.1' - '7.2' - nightly matrix: allow_failures: php: nightly cache: directories: - $HOME/.composer/cache env: matrix: - DEPENDENCIES="high" - DEPENDENCIES="low"
<|file_sep|>original/.travis.yml language: php sudo: false php: - '7.1' - '7.2' - nightly env: matrix: - DEPENDENCIES="high" - DEPENDENCIES="low" global: - DEFAULT_COMPOSER_FLAGS="--no-interaction --no-ansi --no-progress --no-suggest" before_install: - composer self-update - composer clear...
1452ffa9ae6cfe17ecc6aa1076846bc0b0f27b0c
.travis.yml
.travis.yml
YAML
<|file_sep|>tox.ini.diff original: envlist = py3,flake8 updated: envlist = py34,py35,py36,flake8 <|file_sep|>original/tox.ini [tox] envlist = py3,flake8 [testenv] deps = pytest==3.1.0 coverage==4.4.1 commands = coverage run -m pytest {posargs} coverage report -m # coverage html --skip-covered # Linters [tes...
[tox] envlist = py34,py35,py36,flake8 [testenv] deps = pytest==3.1.0 coverage==4.4.1 commands = coverage run -m pytest {posargs} # coverage report -m # coverage html --skip-covered # Linters [testenv:flake8] skipsdist = True basepython = python3 deps = flake8==3.3.0 commands = flake8 {posargs} .
<|file_sep|>tox.ini.diff original: envlist = py3,flake8 updated: envlist = py34,py35,py36,flake8 <|file_sep|>original/tox.ini [tox] envlist = py3,flake8 [testenv] deps = pytest==3.1.0 coverage==4.4.1 commands = coverage run -m pytest {posargs} coverage report -m # coverage html --skip-covered # Linters [tes...
3867b818d268f7d1a9b77f36f372e0fb8849fa3b
tox.ini
tox.ini
INI
<|file_sep|>original/README.rst ===== dmenu ===== A python wrapper for `dmenu <http://tools.suckless.org/dmenu/>`_. dmenu is a dynamic menu for X, originally designed for dwm. It manages large numbers of user-defined menu items efficiently. :: > pip install dmenu * `source <https://github.com/allonhadaya/d...
===== dmenu ===== A python wrapper for `dmenu <http://tools.suckless.org/dmenu/>`_. dmenu is a dynamic menu for X, originally designed for dwm. It manages large numbers of user-defined menu items efficiently. :: > pip install dmenu * `source <https://github.com/allonhadaya/dmenu-python>`_ * `docs <http://d...
<|file_sep|>original/README.rst ===== dmenu ===== A python wrapper for `dmenu <http://tools.suckless.org/dmenu/>`_. dmenu is a dynamic menu for X, originally designed for dwm. It manages large numbers of user-defined menu items efficiently. :: > pip install dmenu * `source <https://github.com/allonhadaya/d...
0d855e52910d6129e5e09e65a87d14fc1a491b47
README.rst
README.rst
reStructuredText
<|file_sep|>original/_config.yml path: "" type: announcements values: layout: announcement - scope: path: "" type: sports values: layout: sport - scope: path: "" type: clubs values: layout: club gems: - jekyll-sitemap - jekyll-feed - jekyll-re...
- scope: path: "" type: announcements values: layout: announcement - scope: path: "" type: sports values: layout: sport - scope: path: "" type: clubs values: layout: club gems: - jekyll-sitemap - jekyll-feed - jekyll-redirect-from - jekyll...
<|file_sep|>original/_config.yml path: "" type: announcements values: layout: announcement - scope: path: "" type: sports values: layout: sport - scope: path: "" type: clubs values: layout: club gems: - jekyll-sitemap - jekyll-feed - jekyll-re...
559da0988d063d6d1204219e467fdea40c179464
_config.yml
_config.yml
YAML
<|file_sep|>original/AUTHORS.md ## Authors - Juerg Lehni <juerg@lehni.org> - Jonathan Puckey <me@jonathanpuckey.com> ## Contributors - Jt Whissel <jtwhissel@gmail.com> - Andrew Roles <jaroles58@gmail.com> - Jacob Lites <jnightlight@gmail.com> - Justin Ridgewell <justinridgewell@gmail.com> - Andrew Wagenheim <abwagen...
## Authors - Juerg Lehni <juerg@lehni.org> - Jonathan Puckey <jonathan@studiomoniker.com> ## Contributors - Jt Whissel <jtwhissel@gmail.com> - Andrew Roles <jaroles58@gmail.com> - Jacob Lites <jnightlight@gmail.com> - Justin Ridgewell <justinridgewell@gmail.com> - Andrew Wagenheim <abwagenheim@gmail.com> - Scott Kie...
<|file_sep|>original/AUTHORS.md ## Authors - Juerg Lehni <juerg@lehni.org> - Jonathan Puckey <me@jonathanpuckey.com> ## Contributors - Jt Whissel <jtwhissel@gmail.com> - Andrew Roles <jaroles58@gmail.com> - Jacob Lites <jnightlight@gmail.com> - Justin Ridgewell <justinridgewell@gmail.com> - Andrew Wagenheim <abwagen...
b1359bde3dd875d3b3055710e1d8ceda0f429a03
AUTHORS.md
AUTHORS.md
Markdown
<|file_sep|>conductor.rb.diff original: cask :v1 => 'conductor' do version '1.2.2' sha256 'a5f9ba34c258c7d6a902de86c4f14e36e0b6283ab3893d6c43a7ba95f3831e63' updated: cask :v1 => "conductor" do version "1.2.2" sha256 "a5f9ba34c258c7d6a902de86c4f14e36e0b6283ab3893d6c43a7ba95f3831e63" <|file_sep|>conductor.rb.diff...
cask :v1 => "conductor" do version "1.2.2" sha256 "a5f9ba34c258c7d6a902de86c4f14e36e0b6283ab3893d6c43a7ba95f3831e63" url "https://github.com/keith/conductor/releases/download/#{version}/Conductor.app.zip" appcast "https://github.com/keith/conductor/releases.atom" name "Conductor" homepage "https://github.c...
<|file_sep|>conductor.rb.diff original: cask :v1 => 'conductor' do version '1.2.2' sha256 'a5f9ba34c258c7d6a902de86c4f14e36e0b6283ab3893d6c43a7ba95f3831e63' updated: cask :v1 => "conductor" do version "1.2.2" sha256 "a5f9ba34c258c7d6a902de86c4f14e36e0b6283ab3893d6c43a7ba95f3831e63" <|file_sep|>conductor.rb.diff...
8ac85908836c29d78afc70848396d8dedd1a7c99
conductor.rb
conductor.rb
Ruby
<|file_sep|>original/requirements.txt aioamqp==0.10.0 aiobotocore==0.3.1 aiohttp==2.0.7 async-timeout==1.2.0 botocore==1.5.45 chardet==3.0.2 docutils==0.13.1 jmespath==0.9.2 multidict==2.1.4 python-dateutil==2.6.0 six==1.10.0 ujson==1.35 uvloop==0.8.0 yarl==0.10.0 pytest-cov==2.4.0 pytest-pep8==1.0.6 codecov==2.0.9 <|f...
aioamqp==0.10.0 aiobotocore==0.3.1 aiohttp==2.0.7 async-timeout==1.2.0 botocore==1.5.45 chardet==3.0.2 docutils==0.13.1 jmespath==0.9.2 multidict==2.1.4 python-dateutil==2.6.0 six==1.10.0 ujson==1.35 uvloop==0.8.0 yarl==0.10.1 pytest-cov==2.4.0 pytest-pep8==1.0.6 codecov==2.0.9
<|file_sep|>original/requirements.txt aioamqp==0.10.0 aiobotocore==0.3.1 aiohttp==2.0.7 async-timeout==1.2.0 botocore==1.5.45 chardet==3.0.2 docutils==0.13.1 jmespath==0.9.2 multidict==2.1.4 python-dateutil==2.6.0 six==1.10.0 ujson==1.35 uvloop==0.8.0 yarl==0.10.0 pytest-cov==2.4.0 pytest-pep8==1.0.6 codecov==2.0.9 <|f...
643be51afdc0d700c9c1d2cdea919127e2d38bb6
requirements.txt
requirements.txt
Text
<|file_sep|>original/requirements.txt docutils==0.12 Kivy==1.9.1 Kivy-Garden==0.1.4 pyasn1==0.1.9 pycrypto==2.6.1 requests==2.11.1 Twisted==15.4.0 #zope.interface==4.3.2 <|file_sep|>current/requirements.txt docutils==0.12 Kivy==1.9.1 Kivy-Garden==0.1.4 pyasn1==0.1.9 pycrypto==2.6.1 requests==2.11.1 Twisted==15.4.0 #zop...
docutils==0.12 Kivy==1.9.1 Kivy-Garden==0.1.4 pyasn1==0.1.9 pycrypto==2.6.1 requests==2.11.1 Twisted==20.3.0 #zope.interface==4.3.2
<|file_sep|>original/requirements.txt docutils==0.12 Kivy==1.9.1 Kivy-Garden==0.1.4 pyasn1==0.1.9 pycrypto==2.6.1 requests==2.11.1 Twisted==15.4.0 #zope.interface==4.3.2 <|file_sep|>current/requirements.txt docutils==0.12 Kivy==1.9.1 Kivy-Garden==0.1.4 pyasn1==0.1.9 pycrypto==2.6.1 requests==2.11.1 Twisted==15.4.0 #zop...
004c83a666392e8bfca2f3e9dcd03576b3111802
requirements.txt
requirements.txt
Text
<|file_sep|>example/demo_tcp_server.cpp.diff original: #include <tcp_server.hpp> updated: #include <tcp/tcp_server.hpp> #include <sstream> <|file_sep|>example/demo_tcp_server.cpp.diff original: int main() updated: int main(int argc, char** argv) <|file_sep|>example/demo_tcp_server.cpp.diff original: updated: //inita...
#include <iostream> #include <tcp/tcp_server.hpp> #include <sstream> int main(int argc, char** argv) { //initalize default port number and max connection cout int port = 12001, max_connection_count= 1000; // check if there are any passed arguments if(argc > 1) { // initialize string stream from argument...
<|file_sep|>example/demo_tcp_server.cpp.diff original: #include <tcp_server.hpp> updated: #include <tcp/tcp_server.hpp> #include <sstream> <|file_sep|>example/demo_tcp_server.cpp.diff original: int main() updated: int main(int argc, char** argv) <|file_sep|>example/demo_tcp_server.cpp.diff original: updated: //inita...
932550d0b1762e26d83b473d62fd837a981419a6
example/demo_tcp_server.cpp
example/demo_tcp_server.cpp
C++
<|file_sep|>original/views/table.erb <th><%= column %></th> <% end %> </tr> </thead> <tbody> <% @records.each do |record| %> <tr> <% record.each do |key, value| %> <% type = @schema[key][:db_type] %> <% if type == 'text' %> <td> <tex...
<th><%= column %></th> <% end %> </tr> </thead> <tbody> <% @records.each do |record| %> <tr> <% record.each do |key, value| %> <% type = @schema[key][:db_type] %> <% if type.match /text|hstore/ %> <td> <textarea style="max-width: 200...
<|file_sep|>original/views/table.erb <th><%= column %></th> <% end %> </tr> </thead> <tbody> <% @records.each do |record| %> <tr> <% record.each do |key, value| %> <% type = @schema[key][:db_type] %> <% if type == 'text' %> <td> <tex...
cfd5e584221eb11844156b0b9f173bf55a053fa0
views/table.erb
views/table.erb
HTML+ERB
<|file_sep|>original/timer.js } if (current === maximum - 60){ document.getElementById('finished').play(); } } function extendFontSize(){ var height = $(window).height(); var width = $(window).width(); $('#timer').css('font-size', (Math.min(width / 3 | 0, height)) + 'px'); } $(function...
if (current === maximum - 60){ document.getElementById('finished').play(); } } function extendFontSize(){ var height = $(window).height(); var width = $(window).width(); $('#timer').css('font-size', (Math.min(width / 3 | 0, height)) + 'px'); } $(function(){ extendFontSize(); $(wind...
<|file_sep|>original/timer.js } if (current === maximum - 60){ document.getElementById('finished').play(); } } function extendFontSize(){ var height = $(window).height(); var width = $(window).width(); $('#timer').css('font-size', (Math.min(width / 3 | 0, height)) + 'px'); } $(function...
f29a47c69f1d0ddf8148a9151ba40eedbff53468
timer.js
timer.js
JavaScript
<|file_sep|>original/app/services/email_alerts_unsubscriber.rb body:, sender_message_id: SecureRandom.uuid, }) # GOVUK-Request-Id HTTP header is set by Nginx and handled by gds-api-adapters. # For out-of-band processes (asynchronous workers) # it needs to be set explicitly to se...
body:, sender_message_id: SecureRandom.uuid, }) # GOVUK-Request-Id HTTP header is set by Nginx and handled by gds-api-adapters. # For out-of-band processes (asynchronous workers) # it needs to be set explicitly to send emails. args.merge!({ govuk_request_id: }) if govuk_re...
<|file_sep|>original/app/services/email_alerts_unsubscriber.rb body:, sender_message_id: SecureRandom.uuid, }) # GOVUK-Request-Id HTTP header is set by Nginx and handled by gds-api-adapters. # For out-of-band processes (asynchronous workers) # it needs to be set explicitly to se...
43e271ad831d821e4bf16991dcf5abbcd039804a
app/services/email_alerts_unsubscriber.rb
app/services/email_alerts_unsubscriber.rb
Ruby
<|file_sep|>original/css/style.css a:hover { color: #000000; } /* Change the active element in the right hand navbar to grays. */ .nav-list > .active > a, .nav-list > .active > a:hover { color: #ffffff; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); background-color: #888888; } .nav .nav-header { text-transform:...
color: #000000; } /* Change the active element in the right hand navbar to grays. */ .nav-list > .active > a, .nav-list > .active > a:hover { color: #ffffff; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); background-color: #888888; } .nav .nav-header { text-transform: none; font-weight: bold; font-variant: s...
<|file_sep|>original/css/style.css a:hover { color: #000000; } /* Change the active element in the right hand navbar to grays. */ .nav-list > .active > a, .nav-list > .active > a:hover { color: #ffffff; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); background-color: #888888; } .nav .nav-header { text-transform:...
db4f9f03882a8c438ba802f3431c13840522dd46
css/style.css
css/style.css
CSS
<|file_sep|>original/.travis.yml language: objective-c osx_image: xcode8.2 xcode_workspace: ESFramework.xcworkspace xcode_scheme: Example before_install: - env - cd Example - gem install cocoapods --no-rdoc --no-ri --no-document --quiet - pod install --no-repo-update script: - pod lib lint ../ESF...
language: objective-c osx_image: xcode8.2 xcode_workspace: ESFramework.xcworkspace xcode_scheme: Example before_install: - env - cd Example - gem install cocoapods --no-rdoc --no-ri --no-document --quiet - pod install --no-repo-update script: - pod lib lint ../ESFramework.podspec --verbose
<|file_sep|>original/.travis.yml language: objective-c osx_image: xcode8.2 xcode_workspace: ESFramework.xcworkspace xcode_scheme: Example before_install: - env - cd Example - gem install cocoapods --no-rdoc --no-ri --no-document --quiet - pod install --no-repo-update script: - pod lib lint ../ESF...
268bac99664011644338fc1a820985c4cb88c781
.travis.yml
.travis.yml
YAML
<|file_sep|>original/app/controllers/books_controller.rb class BooksController < ApplicationController end <|file_sep|>current/app/controllers/books_controller.rb class BooksController < ApplicationController end <|file_sep|>updated/app/controllers/books_controller.rb
class BooksController < ApplicationController def show @book = Book.find(paramas[:id]) respond_to do |format| format.html format.csv format.json end end end
<|file_sep|>original/app/controllers/books_controller.rb class BooksController < ApplicationController end <|file_sep|>current/app/controllers/books_controller.rb class BooksController < ApplicationController end <|file_sep|>updated/app/controllers/books_controller.rb class BooksController < ApplicationController def...
60e42e8c22297d1781fa7e42a358d58800d0fa85
app/controllers/books_controller.rb
app/controllers/books_controller.rb
Ruby
<|file_sep|>original/spec/performance/benchmark_spec.rb end def inc_loop @loops += 1 end end it "correctly loops through events" do measurement = Measurement.new fsm = FiniteMachine.define(target: measurement) do initial :green events { event :next, :green => :yello...
end def inc_loop @loops += 1 end end it "correctly loops through events" do measurement = Measurement.new fsm = FiniteMachine.define(measurement) do initial :green events { event :next, :green => :yellow, :yellow => :red, :r...
<|file_sep|>original/spec/performance/benchmark_spec.rb end def inc_loop @loops += 1 end end it "correctly loops through events" do measurement = Measurement.new fsm = FiniteMachine.define(target: measurement) do initial :green events { event :next, :green => :yello...
9269001e1e981ec3d22b50dff97232317ff4e55a
spec/performance/benchmark_spec.rb
spec/performance/benchmark_spec.rb
Ruby
<|file_sep|>original/vim/config/plugins/tcomment.vim "remove right-hand whitespace from all lines on uncomment let g:tcomment#rstrip_on_uncomment = 2 "use // to comment in vue files call tcomment#type#Define('vue', '// %s') <|file_sep|>current/vim/config/plugins/tcomment.vim "remove right-hand whitespace from all line...
"remove right-hand whitespace from all lines on uncomment let g:tcomment#rstrip_on_uncomment = 2 "use // to comment in vue files call tcomment#type#Define('vue', '// %s') call tcomment#type#Define('blade', '{{-- %s --}}')
<|file_sep|>original/vim/config/plugins/tcomment.vim "remove right-hand whitespace from all lines on uncomment let g:tcomment#rstrip_on_uncomment = 2 "use // to comment in vue files call tcomment#type#Define('vue', '// %s') <|file_sep|>current/vim/config/plugins/tcomment.vim "remove right-hand whitespace from all line...
9948a625213884fd27f2cffd166ea68d5ef60b8c
vim/config/plugins/tcomment.vim
vim/config/plugins/tcomment.vim
VimL
<|file_sep|>lib/generators/thincloud/test/test_generator.rb.diff original: gem "mocha" updated: <|file_sep|>lib/generators/thincloud/test/test_generator.rb.diff original: updated: gem "rb-fsevent", "~> 0.9.1" <|file_sep|>original/lib/generators/thincloud/test/test_generator.rb ...
gem_group :test do gem "factory_girl_rails" gem "guard" gem "growl" gem "minitest" gem "guard-minitest" gem "minitest-rails" gem "minitest-rails-shoulda", "~> 0.1.0" gem "rb-fsevent", "~> 0.9.1" gem "simplecov"...
<|file_sep|>lib/generators/thincloud/test/test_generator.rb.diff original: gem "mocha" updated: <|file_sep|>lib/generators/thincloud/test/test_generator.rb.diff original: updated: gem "rb-fsevent", "~> 0.9.1" <|file_sep|>original/lib/generators/thincloud/test/test_generator.rb ...
253437fe2cb18fa83acd0ca37ae68b5b9022f79f
lib/generators/thincloud/test/test_generator.rb
lib/generators/thincloud/test/test_generator.rb
Ruby
<|file_sep|>original/models/score_board.rb class ScoreBoard SB_URI = "http://site.api.espn.com/apis/site/v2/sports/basketball/nba/scoreboard?lang=en&region=us&calendartype=blacklist&limit=100&dates=%s" def initialize (d=nil) date = d ? Date.new(2000 + d[0,2].to_i, d[2,2].to_i, d[4,2].to_i) : Date.today ...
class ScoreBoard SB_URI = "http://site.api.espn.com/apis/site/v2/sports/basketball/nba/scoreboard?lang=en&region=us&calendartype=blacklist&limit=100&dates=%s" def initialize (d=nil) date = d ? Date.new(2000 + d[0,2].to_i, d[2,2].to_i, d[4,2].to_i) : Date.today gids = [] while gids.empty? json ...
<|file_sep|>original/models/score_board.rb class ScoreBoard SB_URI = "http://site.api.espn.com/apis/site/v2/sports/basketball/nba/scoreboard?lang=en&region=us&calendartype=blacklist&limit=100&dates=%s" def initialize (d=nil) date = d ? Date.new(2000 + d[0,2].to_i, d[2,2].to_i, d[4,2].to_i) : Date.today ...
409a3b54b3a230d8ce9e50a1b1b15ca9147faad5
models/score_board.rb
models/score_board.rb
Ruby
<|file_sep|>original/web/pages/contactGroupCreation.jsp <title><bean:message key="contactgroup.creation.page.title"/></title> </head> <body> <h1><bean:message key="contactgroup.creation.page.title" /></h1> <html:errors/> <html:form action="/AddContactGroup"> <table> <tr> <td><bean:message ...
<title><bean:message key="contactgroup.creation.page.title"/></title> </head> <body> <h1><bean:message key="contactgroup.creation.page.title" /></h1> <html:errors/> <html:form action="/AddContactGroup"> <table> <tr> <td><bean:message key="form.contactgroup.groupname" /></td> <t...
<|file_sep|>original/web/pages/contactGroupCreation.jsp <title><bean:message key="contactgroup.creation.page.title"/></title> </head> <body> <h1><bean:message key="contactgroup.creation.page.title" /></h1> <html:errors/> <html:form action="/AddContactGroup"> <table> <tr> <td><bean:message ...
49bf85876f3ada935b57f35b9718b5b8fe79cc85
web/pages/contactGroupCreation.jsp
web/pages/contactGroupCreation.jsp
Java Server Pages
<|file_sep|>original/docs/assets-update.md <|file_sep|>current/docs/assets-update.md <|file_sep|>updated/docs/assets-update.md
# Clear Containers assets updates Clear Containers requires additional resources to create a virtual machine container. These resources are called [Clear Container assets](https://github.com/clearcontainers/runtime/blob/master/docs/architecture/architecture.md#assets) which are a `kernel` and a root `filesystem` imag...
<|file_sep|>original/docs/assets-update.md <|file_sep|>current/docs/assets-update.md <|file_sep|>updated/docs/assets-update.md # Clear Containers assets updates Clear Containers requires additional resources to create a virtual machine container. These resources are called [Clear Container assets](https://github.co...
bedb77b1094f5ed119b1d462466a9b5ba56fdb1b
docs/assets-update.md
docs/assets-update.md
Markdown
<|file_sep|>original/static/index.html <!doctype html> <html> <head> <meta charset="utf-8"> <title>Mercurius</title> <meta name="viewport" content="width=device-width, initial-scale=1"> </head> <body> <form id="registrationForm">Register for a token: <button id="register">Register</button></form> <p id="token"></...
<!doctype html> <html> <head> <meta charset="utf-8"> <title>Mercurius</title> <meta name="viewport" content="width=device-width, initial-scale=1"> </head> <body> <div id="registrationForm">Register for a token: <button id="register">Register</button></div> <p id="token"></p> <script src="./index.js"></script> </...
<|file_sep|>original/static/index.html <!doctype html> <html> <head> <meta charset="utf-8"> <title>Mercurius</title> <meta name="viewport" content="width=device-width, initial-scale=1"> </head> <body> <form id="registrationForm">Register for a token: <button id="register">Register</button></form> <p id="token"></...
798c4e3cd7b5652bf7e259125916163642143c3f
static/index.html
static/index.html
HTML
<|file_sep|>app/views/users/show.html.erb.diff original: <div class="pure-u-1-3"> updated: <div class="pure-u-1-12"> <|file_sep|>original/app/views/users/show.html.erb <div class="pure-g"> <div class="pure-u-1-3"> </div> <div class="pure-u-1-3"> <h1><%= User.find(params[:id]).username %>'s Profile</h1> ...
<div class="pure-g"> <div class="pure-u-1-12"> </div> <div class="pure-u-11-12"> <h1><%= User.find(params[:id]).username %>'s Profile</h1> <% if @groups.length > 0 %> <h2>Your Groups</h2> <ul> <% @groups.each do |group| %> <li class="user-group"><a href="/groups/<%= gro...
<|file_sep|>app/views/users/show.html.erb.diff original: <div class="pure-u-1-3"> updated: <div class="pure-u-1-12"> <|file_sep|>original/app/views/users/show.html.erb <div class="pure-g"> <div class="pure-u-1-3"> </div> <div class="pure-u-1-3"> <h1><%= User.find(params[:id]).username %>'s Profile</h1> ...
b6124e8da4ac0f2cf424cc80534f19e0689ba3f1
app/views/users/show.html.erb
app/views/users/show.html.erb
HTML+ERB
<|file_sep|>metadata/com.termux.api.txt.diff original: updated: Build:0.8,8 commit=v0.8 subdir=app gradle=yes prebuild=sed -i -e '/signingConfig/d' build.gradle <|file_sep|>original/metadata/com.termux.api.txt subdir=app gradle=yes prebuild=sed -i -e '/signingConfig/d' build.gradle Build:...
commit=v0.6 subdir=app gradle=yes prebuild=sed -i -e '/signingConfig/d' build.gradle Build:0.7,7 commit=v0.7 subdir=app gradle=yes prebuild=sed -i -e '/signingConfig/d' build.gradle Build:0.8,8 commit=v0.8 subdir=app gradle=yes prebuild=sed -i -e '/signingConfig/d' buil...
<|file_sep|>metadata/com.termux.api.txt.diff original: updated: Build:0.8,8 commit=v0.8 subdir=app gradle=yes prebuild=sed -i -e '/signingConfig/d' build.gradle <|file_sep|>original/metadata/com.termux.api.txt subdir=app gradle=yes prebuild=sed -i -e '/signingConfig/d' build.gradle Build:...
ae617f4e2479d5f47163069e9b224ecc0f25722a
metadata/com.termux.api.txt
metadata/com.termux.api.txt
Text
<|file_sep|>.travis.yml.diff original: updated: cache: yarn: true <|file_sep|>original/.travis.yml language: node_js node_js: - "lts/argon" - "lts/boron" - "7" sudo: false dist: trusty before_install: - "npm config set spin false" - "npm install -g npm@latest" <|file_sep|>current/.travis.yml language:...
language: node_js node_js: - "lts/argon" - "lts/boron" - "7" sudo: false dist: trusty cache: yarn: true before_install: - curl -o- -L https://yarnpkg.com/install.sh | bash - export PATH=$HOME/.yarn/bin:$PATH install: - yarn install --no-lockfile script: - yarn test
<|file_sep|>.travis.yml.diff original: updated: cache: yarn: true <|file_sep|>original/.travis.yml language: node_js node_js: - "lts/argon" - "lts/boron" - "7" sudo: false dist: trusty before_install: - "npm config set spin false" - "npm install -g npm@latest" <|file_sep|>current/.travis.yml language:...
e4443513251a12fb250f3246098f8fd887a89087
.travis.yml
.travis.yml
YAML
<|file_sep|>app/views/brexit_campaign/_other_campaigns.html.erb.diff original: <ul class="campaign__other-campaigns-list"> updated: <ul class="campaign__other-campaigns-list" data-module="track-click"> <|file_sep|>original/app/views/brexit_campaign/_other_campaigns.html.erb <div class="campaign__other-campaigns...
<div class="campaign__other-campaigns"> <h2 class="campaign__other-campaigns-title"> <%= @campaign_links[:section_title] %> </h2> <ul class="campaign__other-campaigns-list" data-module="track-click"> <% @campaign_links[:contents_list_links].each do |link| %> <li class="campaign__other-c...
<|file_sep|>app/views/brexit_campaign/_other_campaigns.html.erb.diff original: <ul class="campaign__other-campaigns-list"> updated: <ul class="campaign__other-campaigns-list" data-module="track-click"> <|file_sep|>original/app/views/brexit_campaign/_other_campaigns.html.erb <div class="campaign__other-campaigns...
f24f1b64a228ce7602052410b5c609bd8db766b2
app/views/brexit_campaign/_other_campaigns.html.erb
app/views/brexit_campaign/_other_campaigns.html.erb
HTML+ERB
<|file_sep|>original/ManifoldTests/DeclarationTests.swift let expected: Term = .Type XCTAssertEqual(booleanModule.context["Boolean"].map(Term.init), expected) } func testDatatypeDeclarationsAddDataConstructorsToContext() { XCTAssertEqual(booleanModule.context["true"].map(Term.init), Term.Variable("Boolean")) ...
let expected: Term = .Type XCTAssertEqual(booleanModule.context["Boolean"].map(Term.init), expected) } func testDatatypeDeclarationsAddDataConstructorsToContext() { XCTAssertEqual(booleanModule.context["true"].map(Term.init), Term.Variable("Boolean")) XCTAssertEqual(booleanModule.context["false"].map(Term.in...
<|file_sep|>original/ManifoldTests/DeclarationTests.swift let expected: Term = .Type XCTAssertEqual(booleanModule.context["Boolean"].map(Term.init), expected) } func testDatatypeDeclarationsAddDataConstructorsToContext() { XCTAssertEqual(booleanModule.context["true"].map(Term.init), Term.Variable("Boolean")) ...
3b232b7ca229efcc2dacc1f38fd27ef50e3d032a
ManifoldTests/DeclarationTests.swift
ManifoldTests/DeclarationTests.swift
Swift
<|file_sep|>Casks/sequel-pro-nightly.rb.diff original: version '36c6eeb3a2' sha256 '3a74e3c37fec5118a3576c8fa00fce2962b0b14335a2e71f4aa35b064578a6c3' updated: version '19a1c9f81e' sha256 '246f509c708232e4c52156f661d3798dbb4a57458e0ae9a943aef8cda287b153' <|file_sep|>Casks/sequel-pro-nightly.rb.diff original: u...
cask :v1 => 'sequel-pro-nightly' do version '19a1c9f81e' sha256 '246f509c708232e4c52156f661d3798dbb4a57458e0ae9a943aef8cda287b153' url "http://nightly.sequelpro.com/builds/Sequel_Pro_r#{version}.dmg" name 'Sequel Pro' homepage 'http://nightly.sequelpro.com/' license :mit app 'Sequel Pro.app' end
<|file_sep|>Casks/sequel-pro-nightly.rb.diff original: version '36c6eeb3a2' sha256 '3a74e3c37fec5118a3576c8fa00fce2962b0b14335a2e71f4aa35b064578a6c3' updated: version '19a1c9f81e' sha256 '246f509c708232e4c52156f661d3798dbb4a57458e0ae9a943aef8cda287b153' <|file_sep|>Casks/sequel-pro-nightly.rb.diff original: u...
c44595eb4187e176eb331e289069db05316edf3b
Casks/sequel-pro-nightly.rb
Casks/sequel-pro-nightly.rb
Ruby
<|file_sep|>original/requirements.txt coreapi==2.2.4 Django==1.10.6 django-rest-swagger==2.1.1 django-taggit==0.22.0 django-taggit-serializer==0.1.5 django-webpack-loader==0.4.1 djangorestframework==3.5.4 djangorestframework-jwt==1.9.0 freezegun==0.3.8 itypes==1.1.0 openapi-codec==1.2.1 psycopg2==2.7 PyJWT==1.4.2 pytho...
coreapi==2.3.0 Django==1.10.6 django-rest-swagger==2.1.1 django-taggit==0.22.0 django-taggit-serializer==0.1.5 django-webpack-loader==0.4.1 djangorestframework==3.5.4 djangorestframework-jwt==1.9.0 freezegun==0.3.8 itypes==1.1.0 openapi-codec==1.2.1 psycopg2==2.7 PyJWT==1.4.2 python-dateutil==2.6.0 requests==2.13.0 sim...
<|file_sep|>original/requirements.txt coreapi==2.2.4 Django==1.10.6 django-rest-swagger==2.1.1 django-taggit==0.22.0 django-taggit-serializer==0.1.5 django-webpack-loader==0.4.1 djangorestframework==3.5.4 djangorestframework-jwt==1.9.0 freezegun==0.3.8 itypes==1.1.0 openapi-codec==1.2.1 psycopg2==2.7 PyJWT==1.4.2 pytho...
b8503132251453704a7c4d45c77171024f3db2b1
requirements.txt
requirements.txt
Text
<|file_sep|>original/src/Hackspace/Bundle/CalciferBundle/Resources/views/Event/index.html.twig {% endjavascripts %} {% endblock %} {% block body -%} <div class="ui one column page grid title"> <div class="ui column"> <h1> Termine {% if tag|default(false) %} f...
{% endjavascripts %} {% endblock %} {% block body -%} <div class="ui one column page grid title"> <div class="ui column"> <h1> Termine {% if tag|default(false) %} für Tag „{{ tag.name }}“{% endif %} {% if location|default(false) %} für Ort „{{...
<|file_sep|>original/src/Hackspace/Bundle/CalciferBundle/Resources/views/Event/index.html.twig {% endjavascripts %} {% endblock %} {% block body -%} <div class="ui one column page grid title"> <div class="ui column"> <h1> Termine {% if tag|default(false) %} f...
d2601e19d766fc1593ef3c8ca421f5dc9ead12d0
src/Hackspace/Bundle/CalciferBundle/Resources/views/Event/index.html.twig
src/Hackspace/Bundle/CalciferBundle/Resources/views/Event/index.html.twig
Twig
<|file_sep|>original/app/components/searchbar/SearchBar.local.css background-color: #efefef; } .btnhide{ float:right; margin-bottom: 20px; margin-top: -45px; } .searchbar{ margin-bottom: 100px; } .title{ font-size: 30px; } .smallTitle{ color: lightgray; display: inline; font-size: 15px; <|file_sep...
background-color: #efefef; } .btnhide{ float:right; margin-bottom: 20px; margin-top: -45px; } .searchbar{ margin-bottom: 150px; } .title{ font-size: 30px; } .smallTitle{ color: lightgray; display: inline; font-size: 15px;
<|file_sep|>original/app/components/searchbar/SearchBar.local.css background-color: #efefef; } .btnhide{ float:right; margin-bottom: 20px; margin-top: -45px; } .searchbar{ margin-bottom: 100px; } .title{ font-size: 30px; } .smallTitle{ color: lightgray; display: inline; font-size: 15px; <|file_sep...
5897dd2172f27e30def79209e73e753af1bfd529
app/components/searchbar/SearchBar.local.css
app/components/searchbar/SearchBar.local.css
CSS
<|file_sep|>original/requirements/prod.txt # Database Flask-SQLAlchemy==2.1 psycopg2==2.6.2 SQLAlchemy==1.1.3 # Migrations Flask-Migrate==2.0.0 # Forms Flask-WTF==0.12 WTForms==2.1 # Deployment gunicorn>=19.1.1 # Assets Flask-Assets==0.12 cssmin>=0.2.0 jsmin>=2.0.11 <|file_sep|>current/requirements/prod.txt # Da...
# Database Flask-SQLAlchemy==2.1 psycopg2==2.6.2 SQLAlchemy==1.1.3 # Migrations Flask-Migrate==2.0.0 # Forms Flask-WTF==0.13.1 WTForms==2.1 # Deployment gunicorn>=19.1.1 # Assets Flask-Assets==0.12 cssmin>=0.2.0 jsmin>=2.0.11
<|file_sep|>original/requirements/prod.txt # Database Flask-SQLAlchemy==2.1 psycopg2==2.6.2 SQLAlchemy==1.1.3 # Migrations Flask-Migrate==2.0.0 # Forms Flask-WTF==0.12 WTForms==2.1 # Deployment gunicorn>=19.1.1 # Assets Flask-Assets==0.12 cssmin>=0.2.0 jsmin>=2.0.11 <|file_sep|>current/requirements/prod.txt # Da...
5c6e36862db7d60dbd7e639f1c051c47994cb89f
requirements/prod.txt
requirements/prod.txt
Text
<|file_sep|>iso_urls.json.diff original: "iso_url": "https://channels.nixos.org/nixos-20.03/latest-nixos-minimal-x86_64-linux.iso", "iso_sha256": "fee337ed6dafa8ee09dd80c7f7e52153f2afb45bf568363e42dbfb45dcbea071" updated: "iso_url": "https://channels.nixos.org/nixos-20.09/latest-nixos-minimal-x86_64-linux.i...
{ "x86_64": { "iso_url": "https://channels.nixos.org/nixos-20.09/latest-nixos-minimal-x86_64-linux.iso", "iso_sha256": "4dcda77f30ff97832b80b74686068c896674d09c9b222e6c05f85f91cbbbbc5b" }, "i686": { "iso_url": "https://channels.nixos.org/nixos-20.09/latest-nixos-minimal-i686-linux.iso", "iso_sha25...
<|file_sep|>iso_urls.json.diff original: "iso_url": "https://channels.nixos.org/nixos-20.03/latest-nixos-minimal-x86_64-linux.iso", "iso_sha256": "fee337ed6dafa8ee09dd80c7f7e52153f2afb45bf568363e42dbfb45dcbea071" updated: "iso_url": "https://channels.nixos.org/nixos-20.09/latest-nixos-minimal-x86_64-linux.i...
496b73ff439d36458e4af67455f8a398b2ea9dbb
iso_urls.json
iso_urls.json
JSON
<|file_sep|>metadata/de.wellenvogel.bonjourbrowser.yml.diff original: updated: - versionName: '1.12' versionCode: 112 commit: 73ab55bd1d8338c8960912e67e7a143c92991023 subdir: app gradle: - yes <|file_sep|>original/metadata/de.wellenvogel.bonjourbrowser.yml gradle: - yes - versionN...
gradle: - yes - versionName: '1.11' versionCode: 111 commit: release-111 subdir: app gradle: - yes - versionName: '1.12' versionCode: 112 commit: 73ab55bd1d8338c8960912e67e7a143c92991023 subdir: app gradle: - yes AutoUpdateMode: Version release-%c UpdateCheck...
<|file_sep|>metadata/de.wellenvogel.bonjourbrowser.yml.diff original: updated: - versionName: '1.12' versionCode: 112 commit: 73ab55bd1d8338c8960912e67e7a143c92991023 subdir: app gradle: - yes <|file_sep|>original/metadata/de.wellenvogel.bonjourbrowser.yml gradle: - yes - versionN...
a7c29ac341eaeaba48beb3d389fea22474b06619
metadata/de.wellenvogel.bonjourbrowser.yml
metadata/de.wellenvogel.bonjourbrowser.yml
YAML
<|file_sep|>original/test/unit/stamp_file_test.rb <|file_sep|>current/test/unit/stamp_file_test.rb <|file_sep|>updated/test/unit/stamp_file_test.rb
require 'support/test_case' require 'support/fixture_config' require 'jekyll/minibundle/stamp_file' module Jekyll::Minibundle::Test class StampFileTest < TestCase include FixtureConfig def test_consistent_fingerprint_in_file_and_markup with_site do basenamer = ->(base, ext, stamper) { "#{base}...
<|file_sep|>original/test/unit/stamp_file_test.rb <|file_sep|>current/test/unit/stamp_file_test.rb <|file_sep|>updated/test/unit/stamp_file_test.rb require 'support/test_case' require 'support/fixture_config' require 'jekyll/minibundle/stamp_file' module Jekyll::Minibundle::Test class StampFileTest < TestCase ...
84620f07137c0144e3046ad39fea051fb0160f23
test/unit/stamp_file_test.rb
test/unit/stamp_file_test.rb
Ruby
<|file_sep|>original/composer.json "php": ">=5.3.0", "symfony/framework-bundle": "^2.4|^3.0", "cron/cron": "^1.0", "doctrine/doctrine-bundle": "^1.3", "doctrine/orm": "^2.4" }, "autoload": { "psr-4" : { "Cron\\CronBundle\\" : "" } }, "e...
"php": ">=5.3.0", "symfony/framework-bundle": "^2.4|^3.0", "cron/cron": "^1.0", "doctrine/doctrine-bundle": "^1.3", "doctrine/orm": "^2.4" }, "autoload": { "psr-4" : { "Cron\\CronBundle\\" : "" } }, "extra": { "branch-alias": { ...
<|file_sep|>original/composer.json "php": ">=5.3.0", "symfony/framework-bundle": "^2.4|^3.0", "cron/cron": "^1.0", "doctrine/doctrine-bundle": "^1.3", "doctrine/orm": "^2.4" }, "autoload": { "psr-4" : { "Cron\\CronBundle\\" : "" } }, "e...
91554b7073f62f25c86374df9eb6778cbc7b001b
composer.json
composer.json
JSON
<|file_sep|>original/inboxen/tests/settings.py os.environ['INBOX_TESTING'] = '1' os.environ["INBOXEN_ADMIN_ACCESS"] = '1' from inboxen.settings import * CACHES = { "default": { "BACKEND": "django.core.cache.backends.locmem.LocMemCache" } } db = os.environ.get('DB') postgres_user = os.environ.get('PG_U...
os.environ['INBOX_TESTING'] = '1' os.environ["INBOXEN_ADMIN_ACCESS"] = '1' from inboxen.settings import * CACHES = { "default": { "BACKEND": "django.core.cache.backends.locmem.LocMemCache" } } db = os.environ.get('DB', "sqlite") postgres_user = os.environ.get('PG_USER', 'postgres') SECRET_KEY = "This...
<|file_sep|>original/inboxen/tests/settings.py os.environ['INBOX_TESTING'] = '1' os.environ["INBOXEN_ADMIN_ACCESS"] = '1' from inboxen.settings import * CACHES = { "default": { "BACKEND": "django.core.cache.backends.locmem.LocMemCache" } } db = os.environ.get('DB') postgres_user = os.environ.get('PG_U...
818a1b6537c6daedaa4f8320aeb8ff4b25f365d9
inboxen/tests/settings.py
inboxen/tests/settings.py
Python
<|file_sep|>original/theme-files/subpages_as_landing_page.scss .landing-section h3 { margin-bottom: $spacing-unit; } .landing-excerpt { font-size: $spacing-unit; line-height: $spacing-unit*1.25; } @media only screen and (min-width: $breakpoint-desktop) { .landing-section { marg...
.landing-section h3 { margin-bottom: $spacing-unit; } .landing-excerpt { font-size: $spacing-unit; line-height: $spacing-unit*1.25; } @media only screen and (min-width: 1025px) { .landing-section { margin-bottom: $spacing-unit*3; } .landing-section h3 { font-...
<|file_sep|>original/theme-files/subpages_as_landing_page.scss .landing-section h3 { margin-bottom: $spacing-unit; } .landing-excerpt { font-size: $spacing-unit; line-height: $spacing-unit*1.25; } @media only screen and (min-width: $breakpoint-desktop) { .landing-section { marg...
f2c61cc04e6699bc0a287d998cf05c05bf11392c
theme-files/subpages_as_landing_page.scss
theme-files/subpages_as_landing_page.scss
SCSS
<|file_sep|>original/package.json { "name": "persistence", "version": "0.1.0", "description": "An abstraction library for redis and sentinel connection management", "main": "persistence.js", "scripts": { "check-modules": "if [ -z \"$SKIP_PACKAGE_CHECK\" ] && [ ./package.json -nt ./node_modules ]; then ech...
{ "name": "persistence", "version": "0.1.0", "description": "An abstraction library for redis and sentinel connection management", "main": "persistence.js", "scripts": { "check-modules": "if [ -z \"$SKIP_PACKAGE_CHECK\" ] && [ ./package.json -nt ./node_modules ]; then echo 'Your node_modules are out of da...
<|file_sep|>original/package.json { "name": "persistence", "version": "0.1.0", "description": "An abstraction library for redis and sentinel connection management", "main": "persistence.js", "scripts": { "check-modules": "if [ -z \"$SKIP_PACKAGE_CHECK\" ] && [ ./package.json -nt ./node_modules ]; then ech...
4ba4792df8fbbd3e89dfc33963ddba116123379b
package.json
package.json
JSON
<|file_sep|>original/dist.sh #!/bin/sh # Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. if [ -z "$1" ]; then echo "Usage: $0 VERSION" 2>&1 exit 1 fi VERSION="$1" mkdir -p ~/rpmbuild/{SOURCES,SPECS} GZIP=-1 tar -zcf ~/rpmbuild/SOURCES/vespa-$VER...
#!/bin/sh # Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. if [ -z "$1" ]; then echo "Usage: $0 VERSION" 2>&1 exit 1 fi VERSION="$1" mkdir -p ~/rpmbuild/{SOURCES,SPECS} GZIP=-1 tar -zcf ~/rpmbuild/SOURCES/vespa-$VERSION.tar.gz --exclude target ...
<|file_sep|>original/dist.sh #!/bin/sh # Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. if [ -z "$1" ]; then echo "Usage: $0 VERSION" 2>&1 exit 1 fi VERSION="$1" mkdir -p ~/rpmbuild/{SOURCES,SPECS} GZIP=-1 tar -zcf ~/rpmbuild/SOURCES/vespa-$VER...
883afaa9194ad86c6015f9af6880810709c3d691
dist.sh
dist.sh
Shell
<|file_sep|>scripts/main.js.diff original: updated: var controller = { DISPLAY_WINDOW_ID: 'displayWindow', showDisplay: function() { if (chrome.app.window.get(this.DISPLAY_WINDOW_ID)) { return; } var externalDisplayInfo, queueMoveToExternalDisplay = false; chrome.system.dis...
if (externalDisplayInfo) { this.moveToExternalDisplay(displayWindow, externalDisplayInfo); } else { queueMoveToExternalDisplay = true; } }).bind(this)); }, moveToExternalDisplay: function(displayWindow, externalDisplayInfo) { displayWindow.con...
<|file_sep|>scripts/main.js.diff original: updated: var controller = { DISPLAY_WINDOW_ID: 'displayWindow', showDisplay: function() { if (chrome.app.window.get(this.DISPLAY_WINDOW_ID)) { return; } var externalDisplayInfo, queueMoveToExternalDisplay = false; chrome.system.dis...
c9c13e5c6c372a4ca1fd50f9e42eaa028d886fad
scripts/main.js
scripts/main.js
JavaScript
<|file_sep|>original/src/notebook/api/kernel.js spawn, }; }); } export function shutdownKernel(channels, spawn, connectionFile) { if (channels) { channels.shell.complete(); channels.iopub.complete(); channels.stdin.complete(); } if (spawn) { spawn.stdin.destroy(); spaw...
spawn, }; }); } export function shutdownKernel(channels, spawn, connectionFile) { if (channels) { channels.shell.complete(); channels.iopub.complete(); channels.stdin.complete(); channels.control.complete(); } if (spawn) { spawn.stdin.destroy(); spawn.stdout.destro...
<|file_sep|>original/src/notebook/api/kernel.js spawn, }; }); } export function shutdownKernel(channels, spawn, connectionFile) { if (channels) { channels.shell.complete(); channels.iopub.complete(); channels.stdin.complete(); } if (spawn) { spawn.stdin.destroy(); spaw...
1bf0f61c03478a1e2277fecbdf770bcb2a920041
src/notebook/api/kernel.js
src/notebook/api/kernel.js
JavaScript
<|file_sep|>.travis.yml.diff original: - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.10.1 - export PATH="$HOME/.yarn/bin:$PATH" updated: <|file_sep|>.travis.yml.diff original: - npm install - npm run build updated: - yarn install - yarn run build <|file_sep|>original/.travis.yml lan...
language: node_js node_js: - '9.11.2' before_install: - npm install -g webpack install: - yarn install - yarn run build script: - yarn run build-test - yarn run coverage after_success: 'npm run coveralls' cache: yarn: true directories: - node_modules
<|file_sep|>.travis.yml.diff original: - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.10.1 - export PATH="$HOME/.yarn/bin:$PATH" updated: <|file_sep|>.travis.yml.diff original: - npm install - npm run build updated: - yarn install - yarn run build <|file_sep|>original/.travis.yml lan...
6b9c513af4955a5490a5bcc97ca38495b209a566
.travis.yml
.travis.yml
YAML
<|file_sep|>original/pyproject.toml [tool.black] line_length = 100 target_version = ['py37', 'py38', 'py39', 'py310'] include = '\.pyi?$' exclude = ''' ( /( | \.git | \.virtualenv | __pycache__ )/ ) ''' [tool.isort] profile = "black" multi_line_output = 3 line_length = 99 src_paths = ["libcloud", "cont...
[tool.black] line_length = 100 target_version = ['py37', 'py38', 'py39', 'py310'] include = '\.pyi?$' extended_exclude = ''' ( /( | \.git | \.virtualenv | __pycache__ )/ ) ''' [tool.isort] profile = "black" multi_line_output = 3 line_length = 99 src_paths = ["libcloud", "contrib", "docs", "demos", "pyl...
<|file_sep|>original/pyproject.toml [tool.black] line_length = 100 target_version = ['py37', 'py38', 'py39', 'py310'] include = '\.pyi?$' exclude = ''' ( /( | \.git | \.virtualenv | __pycache__ )/ ) ''' [tool.isort] profile = "black" multi_line_output = 3 line_length = 99 src_paths = ["libcloud", "cont...
d2bf9cda7342bd060e45f107b19db70d9412767e
pyproject.toml
pyproject.toml
TOML
<|file_sep|>original/config/open_jdk_jre.yml # limitations under the License. # Configuration for JRE repositories keyed by vendor # If Java 7 is required, permgen will be used instead of metaspace. Please see the documentation for more detail. --- jre: version: 1.8.0_+ repository_root: ! '{default.repository.root...
# limitations under the License. # Configuration for JRE repositories keyed by vendor # If Java 7 is required, permgen will be used instead of metaspace. Please see the documentation for more detail. --- jre: version: 1.8.0_+ repository_root: ! '{default.repository.root}/openjdk/{platform}/{architecture}' memory_c...
<|file_sep|>original/config/open_jdk_jre.yml # limitations under the License. # Configuration for JRE repositories keyed by vendor # If Java 7 is required, permgen will be used instead of metaspace. Please see the documentation for more detail. --- jre: version: 1.8.0_+ repository_root: ! '{default.repository.root...
0d80452f9c0f42654f6d3727553a5fbd77416b9b
config/open_jdk_jre.yml
config/open_jdk_jre.yml
YAML
<|file_sep|>original/README.rst spectrum-python --------------- :: $ pip install spectrum-python Django ====== To direct all logging from your Django project to Spectrum, you can use the predefined `FIRE_HOSE` logging configuration:: # settings.py from spectrum.django import spectrum LOGGING = spe...
spectrum-python --------------- :: $ pip install spectrum-python Django ====== To direct all logging from your Django project to Spectrum, you can use the predefined `FIRE_HOSE` logging configuration:: # settings.py from spectrum.django import spectrum LOGGING = spectrum.FIRE_HOSE If you use `cel...
<|file_sep|>original/README.rst spectrum-python --------------- :: $ pip install spectrum-python Django ====== To direct all logging from your Django project to Spectrum, you can use the predefined `FIRE_HOSE` logging configuration:: # settings.py from spectrum.django import spectrum LOGGING = spe...
96abf8ff48e702980a45b7f4b3dd3ba64ec33545
README.rst
README.rst
reStructuredText
<|file_sep|>cinder/brick/initiator/host_driver.py.diff original: updated: files = [] <|file_sep|>original/cinder/brick/initiator/host_driver.py # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is d...
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under th...
<|file_sep|>cinder/brick/initiator/host_driver.py.diff original: updated: files = [] <|file_sep|>original/cinder/brick/initiator/host_driver.py # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is d...
1766a5acc5c948288b4cd81c62d0c1507c55f727
cinder/brick/initiator/host_driver.py
cinder/brick/initiator/host_driver.py
Python
<|file_sep|>src/model/validations/exclusion_validator.js.coffee.diff original: @acceptableValues = options.exlusionIn updated: @unacceptableValues = options.exlusionIn <|file_sep|>original/src/model/validations/exclusion_validator.js.coffee #= require ./validators class Batman.ExclusionValidator extends Batman...
#= require ./validators class Batman.ExclusionValidator extends Batman.Validator @triggers 'exlusionIn' constructor: (options) -> @unacceptableValues = options.exlusionIn super validateEach: (errors, record, key, callback) -> value = record.get(key) for unacceptableValue in @unacceptableValues...
<|file_sep|>src/model/validations/exclusion_validator.js.coffee.diff original: @acceptableValues = options.exlusionIn updated: @unacceptableValues = options.exlusionIn <|file_sep|>original/src/model/validations/exclusion_validator.js.coffee #= require ./validators class Batman.ExclusionValidator extends Batman...
ba0226f7fa71de06eee7f3afee51a9ac4dacc539
src/model/validations/exclusion_validator.js.coffee
src/model/validations/exclusion_validator.js.coffee
CoffeeScript
<|file_sep|>original/extdata/development.csv app_domain,"dev.gov.uk" govuk_app_enable_services,false imminence_intercept_errors,false needotron_intercept_errors,false nginx_enable_ssl,false nginx_enable_basic_auth,false shell_prompt_string,"dev" limelight_proxy_performance_api,true <|file_sep|>current/extdata/developme...
app_domain,"dev.gov.uk" govuk_app_enable_services,false imminence_intercept_errors,false needotron_intercept_errors,false nginx_enable_basic_auth,false shell_prompt_string,"dev" limelight_proxy_performance_api,true
<|file_sep|>original/extdata/development.csv app_domain,"dev.gov.uk" govuk_app_enable_services,false imminence_intercept_errors,false needotron_intercept_errors,false nginx_enable_ssl,false nginx_enable_basic_auth,false shell_prompt_string,"dev" limelight_proxy_performance_api,true <|file_sep|>current/extdata/developme...
f85496b48869ff2250693a0ae5542f2cede6643c
extdata/development.csv
extdata/development.csv
CSV
<|file_sep|>SIGS/app/controllers/administrative_assistant_controller.rb.diff original: @user.destroy updated: @administrative_assistant = AdministrativeAssistant.all if @administrative_assistant.count > 1 @administrative_assistant.destroy @user.destroy redirect_to destroy_path else ...
end def approve_allocation end def index_users @users = User.all end def view_users end def edit_users end def remove_users end private def administrative_assistant_params
<|file_sep|>SIGS/app/controllers/administrative_assistant_controller.rb.diff original: @user.destroy updated: @administrative_assistant = AdministrativeAssistant.all if @administrative_assistant.count > 1 @administrative_assistant.destroy @user.destroy redirect_to destroy_path else ...
d5137720bef19f4e45a330463980c78f9f94421f
SIGS/app/controllers/administrative_assistant_controller.rb
SIGS/app/controllers/administrative_assistant_controller.rb
Ruby
<|file_sep|>src/js/components/NewPageHeaderTabs.js.diff original: let {isActive} = tab; let classes = classNames('tab-item', {active: isActive}); let linkClasses = classNames('tab-item-label', {active: isActive}); updated: let {isActive, callback} = tab; let classes = classNames('menu-tabb...
<span className="tab-item-label-text"> {tab.label} </span> </Link> </li> ); }); return ( <div className="page-header-navigation"> <ul className="menu-tabbed"> {tabElements} </ul> </div> ); } } PageHeaderT...
<|file_sep|>src/js/components/NewPageHeaderTabs.js.diff original: let {isActive} = tab; let classes = classNames('tab-item', {active: isActive}); let linkClasses = classNames('tab-item-label', {active: isActive}); updated: let {isActive, callback} = tab; let classes = classNames('menu-tabb...
c0e375921363a2581a5b3819078e01fe172b560d
src/js/components/NewPageHeaderTabs.js
src/js/components/NewPageHeaderTabs.js
JavaScript
<|file_sep|>original/.travis.yml language: ruby # without --debug, JRuby doesn't support coverage reporting env: - JRUBY_OPTS="--debug" rvm: - 2.0 - 2.1 - 2.2 - jruby-head - ruby-head <|file_sep|>current/.travis.yml language: ruby # without --debug, JRuby doesn't support coverage reporting env: - JRUBY_...
language: ruby # without --debug, JRuby doesn't support coverage reporting env: - JRUBY_OPTS="--debug" rvm: - 2.0 - 2.1 - 2.2 - jruby-head # - ruby-head
<|file_sep|>original/.travis.yml language: ruby # without --debug, JRuby doesn't support coverage reporting env: - JRUBY_OPTS="--debug" rvm: - 2.0 - 2.1 - 2.2 - jruby-head - ruby-head <|file_sep|>current/.travis.yml language: ruby # without --debug, JRuby doesn't support coverage reporting env: - JRUBY_...
a5d187c5791c449ba08b579072d23e8004dccad6
.travis.yml
.travis.yml
YAML
<|file_sep|>original/lib/patches/controller/projects_controller_patch.rb module Pwfmt::ProjectsControllerPatch extend ActiveSupport::Concern included do before_render :load_wiki_format, only: [:edit, :settings, :show] before_render :reserve_format, only: [:edit, :settings, :show] end private def lo...
module Pwfmt::ProjectsControllerPatch extend ActiveSupport::Concern included do before_render :load_wiki_format, only: [:edit, :settings, :show] before_render :reserve_format, only: [:edit, :settings] end private def load_wiki_format @project.load_wiki_format! if @project.respond_to?(:load_wiki...
<|file_sep|>original/lib/patches/controller/projects_controller_patch.rb module Pwfmt::ProjectsControllerPatch extend ActiveSupport::Concern included do before_render :load_wiki_format, only: [:edit, :settings, :show] before_render :reserve_format, only: [:edit, :settings, :show] end private def lo...
27e49f19be0c49913017ce2f8495ea426f920576
lib/patches/controller/projects_controller_patch.rb
lib/patches/controller/projects_controller_patch.rb
Ruby
<|file_sep|>array/quick-sort.py.diff original: if len(lst) == 0: print [] updated: if len(lst) <= 1: return lst <|file_sep|>array/quick-sort.py.diff original: pivot = lst[0] updated: <|file_sep|>array/quick-sort.py.diff original: for i in range(1, len(lst)): if lst[i] < pivot: left.append(lst[i]) updated:...
def quick_sort(lst): if len(lst) <= 1: return lst left = [] right = [] # compare first element in list to the rest for i in lst[1:]: if lst[i] < lst[0]: left.append(i) else: right.append(i) # recursion return quick_sort(left) + lst[0:1] + quick_sort(right) # test case print quick_sort([5, 4, 3,...
<|file_sep|>array/quick-sort.py.diff original: if len(lst) == 0: print [] updated: if len(lst) <= 1: return lst <|file_sep|>array/quick-sort.py.diff original: pivot = lst[0] updated: <|file_sep|>array/quick-sort.py.diff original: for i in range(1, len(lst)): if lst[i] < pivot: left.append(lst[i]) updated:...
75ce7463218609129151ea96fae4590763165961
array/quick-sort.py
array/quick-sort.py
Python
<|file_sep|>original/test/configs/bad_config.cfg } data_sources { config { name: "linux.ftrace" target_buffer: 0 ftrace_config { ftrace_events: "sched_switch" } } } trigger_config { trigger_mode: START_TRACING triggers: { name: "foo" } trigger_timeout_ms: 100000000000000000 } <...
} data_sources { config { name: "linux.ftrace" target_buffer: 0 ftrace_config { ftrace_events: "sched_switch" } } } trigger_config { trigger_mode: START_TRACING triggers: { name: "foo" } trigger_timeout_ms: 900000000 }
<|file_sep|>original/test/configs/bad_config.cfg } data_sources { config { name: "linux.ftrace" target_buffer: 0 ftrace_config { ftrace_events: "sched_switch" } } } trigger_config { trigger_mode: START_TRACING triggers: { name: "foo" } trigger_timeout_ms: 100000000000000000 } <...
8f964acbdce7620f9738ff7ed8ec779f7c6f5d9d
test/configs/bad_config.cfg
test/configs/bad_config.cfg
INI