prompt
stringlengths
77
6.9k
completion
stringlengths
1
3.38k
text
stringlengths
163
9.03k
commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
lang
stringclasses
277 values
<|file_sep|>original/spec/acceptance/organizer/context_failure_and_skipping_spec.rb <|file_sep|>current/spec/acceptance/organizer/context_failure_and_skipping_spec.rb <|file_sep|>updated/spec/acceptance/organizer/context_failure_and_skipping_spec.rb
require 'spec_helper' require 'test_doubles' RSpec.describe LightService::Organizer do class TestSkipBefore extend LightService::Organizer def self.call with(:number => 1) .reduce([ TestDoubles::SkipAllAction, reduce_until(->(ctx) { ctx.number == 3 }, ...
<|file_sep|>original/spec/acceptance/organizer/context_failure_and_skipping_spec.rb <|file_sep|>current/spec/acceptance/organizer/context_failure_and_skipping_spec.rb <|file_sep|>updated/spec/acceptance/organizer/context_failure_and_skipping_spec.rb require 'spec_helper' require 'test_doubles' RSpec.describe LightSe...
c2f6ab94bbfe75beb1325e7ce7f9462114f62e70
spec/acceptance/organizer/context_failure_and_skipping_spec.rb
spec/acceptance/organizer/context_failure_and_skipping_spec.rb
Ruby
<|file_sep|>original/users/models.py from django.contrib.auth.models import AbstractUser from django.db import models class Person(AbstractUser): description = models.TextField(blank=True) def __str__(self): return "User(<{}>}".format(self.email) <|file_sep|>current/users/models.py from django.contri...
from django.contrib.auth.models import AbstractUser from django.db import models class Person(AbstractUser): description = models.TextField(blank=True) def __str__(self): if self.email: return "User(<{}>)".format(self.email) return "User(<{}>)".format(self.username)
<|file_sep|>original/users/models.py from django.contrib.auth.models import AbstractUser from django.db import models class Person(AbstractUser): description = models.TextField(blank=True) def __str__(self): return "User(<{}>}".format(self.email) <|file_sep|>current/users/models.py from django.contri...
03d62abc0f48e49e1bfd672ab6c7c60cd8f6fef5
users/models.py
users/models.py
Python
<|file_sep|>original/bootstrap.sh #!/bin/bash # install docker curl -sSL https://get.docker.io/ubuntu/ | sudo sh # install nodejs curl -sL https://deb.nodesource.com/setup | sudo bash - sudo apt-get install --assume-yes nodejs # install sails.js npm install --global sails@0.10.5 <|file_sep|>current/bootstrap.sh #!/b...
#!/bin/bash # install docker curl -sSL https://get.docker.io/ubuntu/ | sudo sh # install nodejs curl -sL https://deb.nodesource.com/setup | sudo bash - sudo apt-get install --assume-yes nodejs # install sails.js npm install --global sails@0.10.5 rsync -av /vagrant/web /var/web pushd /var/web && npm install && popd
<|file_sep|>original/bootstrap.sh #!/bin/bash # install docker curl -sSL https://get.docker.io/ubuntu/ | sudo sh # install nodejs curl -sL https://deb.nodesource.com/setup | sudo bash - sudo apt-get install --assume-yes nodejs # install sails.js npm install --global sails@0.10.5 <|file_sep|>current/bootstrap.sh #!/b...
3674ba029acac9a91fcf0ebdb71e813985556135
bootstrap.sh
bootstrap.sh
Shell
<|file_sep|>original/custom/custom_init.txt [SOUND:NO] [INTRO:NO] [RESIZABLE:YES] [MACRO_MS:0] <|file_sep|>current/custom/custom_init.txt [SOUND:NO] [INTRO:NO] [RESIZABLE:YES] [MACRO_MS:0] <|file_sep|>updated/custom/custom_init.txt
[SOUND:NO] [INTRO:NO] [RESIZABLE:YES] [MACRO_MS:0] [FPS_CAP:250] [G_FPS_CAP:50]
<|file_sep|>original/custom/custom_init.txt [SOUND:NO] [INTRO:NO] [RESIZABLE:YES] [MACRO_MS:0] <|file_sep|>current/custom/custom_init.txt [SOUND:NO] [INTRO:NO] [RESIZABLE:YES] [MACRO_MS:0] <|file_sep|>updated/custom/custom_init.txt [SOUND:NO] [INTRO:NO] [RESIZABLE:YES] [MACRO_MS:0] [FPS_CAP:250] [G_FPS_CAP:50]
b6eacad88e40846d196038d7bb5bf90010211f07
custom/custom_init.txt
custom/custom_init.txt
Text
<|file_sep|>original/spec/lib/i18n/core_ext_spec.rb module I18n module Backend RSpec.describe Base do # Since #load_erb is a protected method, this spec tests the # interface that calls it: #load_translations describe '#load_translations' do let(:translations) do I18n.backend.i...
module I18n module Backend RSpec.describe Base do # Since #load_erb is a protected method, this spec tests the # interface that calls it: #load_translations describe '#load_translations' do let(:translations) do I18n.backend.instance_variable_get(:@translations) end ...
<|file_sep|>original/spec/lib/i18n/core_ext_spec.rb module I18n module Backend RSpec.describe Base do # Since #load_erb is a protected method, this spec tests the # interface that calls it: #load_translations describe '#load_translations' do let(:translations) do I18n.backend.i...
1b0495a1e80e1cd04474f6338e1a19574dbafe2b
spec/lib/i18n/core_ext_spec.rb
spec/lib/i18n/core_ext_spec.rb
Ruby
<|file_sep|>original/src/templates/event-heading.js - ${event.country} - ${event.competition}` } </h4> ) } } function formatDate (date) { const now = new Date() return date.getDate() === now.getDate() ? 'Hoje' : date.getDate() === (now.getDate() + 1) ? 'Amanhã' : da...
- ${event.country} - ${event.competition}` } </h4> ) } } function formatDate (date) { const now = new Date() return date.getDate() === now.getDate() ? 'Hoje' : date.getDate() === (now.getDate() + 1) ? 'Amanhã' : date.toLocaleDateString() } function formatTime (date...
<|file_sep|>original/src/templates/event-heading.js - ${event.country} - ${event.competition}` } </h4> ) } } function formatDate (date) { const now = new Date() return date.getDate() === now.getDate() ? 'Hoje' : date.getDate() === (now.getDate() + 1) ? 'Amanhã' : da...
aec312a3d434a070c14853f67b2c1b2ee2a7b700
src/templates/event-heading.js
src/templates/event-heading.js
JavaScript
<|file_sep|>original/package.json "grunt": "~0.4.5", "load-grunt-tasks": "~0.6.0", "grunt-contrib-yuidoc": "^0.5.2", "grunt-contrib-clean": "^0.6.0", "grunt-contrib-watch": "^0.6.1", "grunt-bump": "0.0.16", "grunt-contrib-requirejs": "^0.4.4", "grunt-banner": "^0.2.3" }, "repository"...
"grunt": "~0.4.5", "load-grunt-tasks": "~0.6.0", "grunt-contrib-yuidoc": "^0.5.2", "grunt-contrib-clean": "^0.6.0", "grunt-contrib-watch": "^0.6.1", "grunt-bump": "0.0.16", "grunt-contrib-requirejs": "^0.4.4", "grunt-banner": "^0.2.3" }, "repository": { "type": "git", "url": ...
<|file_sep|>original/package.json "grunt": "~0.4.5", "load-grunt-tasks": "~0.6.0", "grunt-contrib-yuidoc": "^0.5.2", "grunt-contrib-clean": "^0.6.0", "grunt-contrib-watch": "^0.6.1", "grunt-bump": "0.0.16", "grunt-contrib-requirejs": "^0.4.4", "grunt-banner": "^0.2.3" }, "repository"...
7e932fcbc838000b901a397818a51d321a7c4404
package.json
package.json
JSON
<|file_sep|>BadgerControlModule/Utils/RemotePrimitiveDriverService.cs.diff original: updated: // This is intentional, do not attempt to swap the X and Y values. <|file_sep|>original/BadgerControlModule/Utils/RemotePrimitiveDriverService.cs namespace BadgerControlModule.Utils { class RemotePrimitiveDriv...
{ BadgerControlSubsystem badgerControlSubsystem; public RemotePrimitiveDriverService(BadgerControlSubsystem badgerControlSubsystem) { this.badgerControlSubsystem = badgerControlSubsystem; } public void SendDriveCommand(long xJoystickValue, long yJoystickValue, l...
<|file_sep|>BadgerControlModule/Utils/RemotePrimitiveDriverService.cs.diff original: updated: // This is intentional, do not attempt to swap the X and Y values. <|file_sep|>original/BadgerControlModule/Utils/RemotePrimitiveDriverService.cs namespace BadgerControlModule.Utils { class RemotePrimitiveDriv...
4e6a155744dd59829a14468c753ef7581b9a4d84
BadgerControlModule/Utils/RemotePrimitiveDriverService.cs
BadgerControlModule/Utils/RemotePrimitiveDriverService.cs
C#
<|file_sep|>original/.travis.yml language: python python: - "2.6" - "2.7" - "3.3" - "3.4" - "3.5" - "3.5dev" - "nightly" install: pip install tox-travis script: tox <|file_sep|>current/.travis.yml language: python python: - "2.6" - "2.7" - "3.3" - "3.4" - "3.5" - "3.5dev" - "nightly" insta...
language: python python: - "2.6" - "2.7" - "3.3" - "3.4" - "3.5" - "3.5-dev" - "nightly" install: pip install tox-travis script: tox
<|file_sep|>original/.travis.yml language: python python: - "2.6" - "2.7" - "3.3" - "3.4" - "3.5" - "3.5dev" - "nightly" install: pip install tox-travis script: tox <|file_sep|>current/.travis.yml language: python python: - "2.6" - "2.7" - "3.3" - "3.4" - "3.5" - "3.5dev" - "nightly" insta...
69e882b13749e3b98f48f4ce2da77006d6c6c678
.travis.yml
.travis.yml
YAML
<|file_sep|>requirements.txt.diff original: updated: Flask-Simple-Registration == 0.1 <|file_sep|>original/requirements.txt gevent == 0.13.8 requests == 1.2.3 rq == 0.3.8 flask == 0.10.1 flask-github == 0.1.3 jinja2 == 2.7.1 simplejson == 3.3.0 <|file_sep|>current/requirements.txt gevent == 0.13.8 requests == 1.2.3 rq...
gevent == 0.13.8 requests == 1.2.3 rq == 0.3.8 flask == 0.10.1 flask-github == 0.1.3 Flask-Simple-Registration == 0.1 jinja2 == 2.7.1 simplejson == 3.3.0 pymongo == 2.5.2
<|file_sep|>requirements.txt.diff original: updated: Flask-Simple-Registration == 0.1 <|file_sep|>original/requirements.txt gevent == 0.13.8 requests == 1.2.3 rq == 0.3.8 flask == 0.10.1 flask-github == 0.1.3 jinja2 == 2.7.1 simplejson == 3.3.0 <|file_sep|>current/requirements.txt gevent == 0.13.8 requests == 1.2.3 rq...
4e72e4dacddbca043236ee6b91ade05b974d80d3
requirements.txt
requirements.txt
Text
<|file_sep|>README.md.diff original: [![Build Status](https://travis-ci.org/Symplicity/entic.svg)](https://travis-ci.org/Symplicity/entic) updated: [ ![Codeship Status for Symplicity/entic](https://codeship.com/projects/f7af4310-f775-0132-2961-76fcd0eb4f4a/status?branch=master)](https://codeship.com/projects/86377) <|f...
## Entic [ ![Codeship Status for Symplicity/entic](https://codeship.com/projects/f7af4310-f775-0132-2961-76fcd0eb4f4a/status?branch=master)](https://codeship.com/projects/86377) [![Code Climate](https://codeclimate.com/github/Symplicity/entic/badges/gpa.svg)](https://codeclimate.com/github/Symplicity/entic) [![Test Co...
<|file_sep|>README.md.diff original: [![Build Status](https://travis-ci.org/Symplicity/entic.svg)](https://travis-ci.org/Symplicity/entic) updated: [ ![Codeship Status for Symplicity/entic](https://codeship.com/projects/f7af4310-f775-0132-2961-76fcd0eb4f4a/status?branch=master)](https://codeship.com/projects/86377) <|f...
b7ffa1f0ee6c406a4e0a25c4d811b6e57a0594ee
README.md
README.md
Markdown
<|file_sep|>original/build/win/installer.nsh WriteRegStr HKCU "Software\Classes\Directory\Background\shell\Hyper" "Icon" "$appExe" WriteRegStr HKCU "Software\Classes\Directory\Background\shell\Hyper\command" "" `$appExe "%V"` WriteRegStr HKCU "Software\Classes\Directory\shell\Hyper" "" "Open Hyper here" WriteR...
WriteRegStr HKCU "Software\Classes\Directory\shell\Hyper\command" "" `$appExe "%V"` WriteRegStr HKCU "Software\Classes\Drive\shell\Hyper" "" "Open Hyper here" WriteRegStr HKCU "Software\Classes\Drive\shell\Hyper" "Icon" "$appExe" WriteRegStr HKCU "Software\Classes\Drive\shell\Hyper\command" "" `$appExe "%V"` !...
<|file_sep|>original/build/win/installer.nsh WriteRegStr HKCU "Software\Classes\Directory\Background\shell\Hyper" "Icon" "$appExe" WriteRegStr HKCU "Software\Classes\Directory\Background\shell\Hyper\command" "" `$appExe "%V"` WriteRegStr HKCU "Software\Classes\Directory\shell\Hyper" "" "Open Hyper here" WriteR...
f76c27c44a2459e3b670cb49b8dbbaaec8f9d62b
build/win/installer.nsh
build/win/installer.nsh
NSIS
<|file_sep|>original/lib/device_api.rb require 'device_api/sys_log' module DeviceAPI attr_accessor :log @@log = DeviceAPI::SysLog.new def self.set_logger(log) @@log = log end def self.log @@log end end <|file_sep|>current/lib/device_api.rb require 'device_api/sys_log' module DeviceAPI attr_ac...
require 'device_api/sys_log' module DeviceAPI attr_accessor :log class UnauthorizedDevice < StandardError; end class DeviceNotFound < StandardError; end @@log = DeviceAPI::SysLog.new def self.set_logger(log) @@log = log end def self.log @@log end end
<|file_sep|>original/lib/device_api.rb require 'device_api/sys_log' module DeviceAPI attr_accessor :log @@log = DeviceAPI::SysLog.new def self.set_logger(log) @@log = log end def self.log @@log end end <|file_sep|>current/lib/device_api.rb require 'device_api/sys_log' module DeviceAPI attr_ac...
f3cff5102e1ed2cca11fd215336a42a6b9a7fb43
lib/device_api.rb
lib/device_api.rb
Ruby
<|file_sep|>original/config/schema/default/core.json "type": "string", "index": "not_analyzed", "include_in_all": false }, "updated_at": { "type": "date", "index": "not_analyzed", "include_in_all": false }, "last_update": { "type": "date", "index": "not_an...
"updated_at": { "type": "date", "index": "not_analyzed", "include_in_all": false }, "last_update": { "type": "date", "index": "not_analyzed", "include_in_all": false }, "public_timestamp": { "type": "date", "index": "not_analyzed", "include_in_al...
<|file_sep|>original/config/schema/default/core.json "type": "string", "index": "not_analyzed", "include_in_all": false }, "updated_at": { "type": "date", "index": "not_analyzed", "include_in_all": false }, "last_update": { "type": "date", "index": "not_an...
f0aa2d65ffff5b71516dd510b335ab4185187930
config/schema/default/core.json
config/schema/default/core.json
JSON
<|file_sep|>original/package.json "build", "optimize", "dead", "code", "plugin" ], "author": "Roman Liutikov", "license": "MIT", "dependencies": { "async": "^1.5.2", "google-closure-compiler": "^20180101.0.0", "google-closure-compiler-js": "^20180101.0.0", "temp": "^0.8.3", ...
"build", "optimize", "dead", "code", "plugin" ], "author": "Roman Liutikov", "license": "MIT", "dependencies": { "async": "^1.5.2", "google-closure-compiler": "^20180402.0.0", "google-closure-compiler-js": "^20180402.0.0", "temp": "^0.8.3", "webpack-core": "^0.6.9" }, ...
<|file_sep|>original/package.json "build", "optimize", "dead", "code", "plugin" ], "author": "Roman Liutikov", "license": "MIT", "dependencies": { "async": "^1.5.2", "google-closure-compiler": "^20180101.0.0", "google-closure-compiler-js": "^20180101.0.0", "temp": "^0.8.3", ...
a208204d3bb1192afb6cfe61bc96b178c0b3b806
package.json
package.json
JSON
<|file_sep|>original/wordpress_deploy.gemspec # -*- encoding: utf-8 -*- require File.expand_path('../lib/wordpress_deploy/version', __FILE__) Gem::Specification.new do |gem| gem.authors = ["Ryan Lovelett"] gem.email = ["ryan@lovelett.me"] gem.description = %q{Used to deploy a Wordpress site.} g...
# -*- encoding: utf-8 -*- require File.expand_path('../lib/wordpress_deploy/version', __FILE__) Gem::Specification.new do |gem| gem.authors = ["Ryan Lovelett"] gem.email = ["ryan@lovelett.me"] gem.description = %q{Used to deploy a Wordpress site.} gem.summary = %q{Wordpress Deploy is a Ru...
<|file_sep|>original/wordpress_deploy.gemspec # -*- encoding: utf-8 -*- require File.expand_path('../lib/wordpress_deploy/version', __FILE__) Gem::Specification.new do |gem| gem.authors = ["Ryan Lovelett"] gem.email = ["ryan@lovelett.me"] gem.description = %q{Used to deploy a Wordpress site.} g...
0220ace7b7b3cdf3b7411558897bde5df1147b5f
wordpress_deploy.gemspec
wordpress_deploy.gemspec
Ruby
<|file_sep|>original/locale-to-csv.py <|file_sep|>current/locale-to-csv.py <|file_sep|>updated/locale-to-csv.py
#!/usr/bin/env python import yaml import yaml.constructor try: # included in standard lib from Python 2.7 from collections import OrderedDict except ImportError: # try importing the backported drop-in replacement # it's available on PyPI from ordereddict import OrderedDict class OrderedDictYAMLLo...
<|file_sep|>original/locale-to-csv.py <|file_sep|>current/locale-to-csv.py <|file_sep|>updated/locale-to-csv.py #!/usr/bin/env python import yaml import yaml.constructor try: # included in standard lib from Python 2.7 from collections import OrderedDict except ImportError: # try importing the backported...
d628837000db5cc50ff114ab376a0dc0f112ab44
locale-to-csv.py
locale-to-csv.py
Python
<|file_sep|>original/logs/index.html --- layout: page slug: logs type: index title: Logs Folder exclude_from_nav: true --- {% for tag in site.tags %} {% capture tag_name %}{{ tag | first }}{% endcapture %} <h2>{{ tag_name }}</h2> {% for post in site.tags[tag_name] %} <time class="blog-date" pubdate="pubdat...
--- layout: page slug: logs type: index title: Logs Folder exclude_from_nav: true --- {% for tag in site.tags %} {% capture tag_name %}{{ tag | first }}{% endcapture %} <h2 id="{{ tag_name }}">{{ tag_name }}</h2> {% for post in site.tags[tag_name] %} <time class="blog-date" pubdate="pubdate">{{ post.date|d...
<|file_sep|>original/logs/index.html --- layout: page slug: logs type: index title: Logs Folder exclude_from_nav: true --- {% for tag in site.tags %} {% capture tag_name %}{{ tag | first }}{% endcapture %} <h2>{{ tag_name }}</h2> {% for post in site.tags[tag_name] %} <time class="blog-date" pubdate="pubdat...
71faca1a144eb1d935e228f5b4f65a784e9eda72
logs/index.html
logs/index.html
HTML
<|file_sep|>original/t/author-pod-spell.t if $@; eval "use Test::Spelling 0.12"; plan skip_all => "Test::Spelling 0.12 required for testing POD spelling" if $@; add_stopwords(<DATA>); all_pod_files_spelling_ok('lib'); __DATA__ SubmittingPatches wordlist PodSpelling Caleb Cushing Marcel Gruenauer Harley Pig Caleb...
eval "use Test::Spelling 0.12"; plan skip_all => "Test::Spelling 0.12 required for testing POD spelling" if $@; add_stopwords(<DATA>); all_pod_files_spelling_ok('lib'); __DATA__ SubmittingPatches wordlist PodSpelling ACKNOWLEDGEMENTS Stauner Caleb Cushing Marcel Gruenauer Harley Pig Caleb Cushing
<|file_sep|>original/t/author-pod-spell.t if $@; eval "use Test::Spelling 0.12"; plan skip_all => "Test::Spelling 0.12 required for testing POD spelling" if $@; add_stopwords(<DATA>); all_pod_files_spelling_ok('lib'); __DATA__ SubmittingPatches wordlist PodSpelling Caleb Cushing Marcel Gruenauer Harley Pig Caleb...
7ee598c867583a865ae788889fc103d8bcbcbae5
t/author-pod-spell.t
t/author-pod-spell.t
Perl
<|file_sep|>original/app/assets/stylesheets/modules/event.css.scss .event { .person { display: inline-block; } .avatar { display: inline-block; margin-right: $padding-small-horizontal; } } <|file_sep|>current/app/assets/stylesheets/modules/event.css.scss .event { .person { display: inline-blo...
.event { .person { display: inline-block; } }
<|file_sep|>original/app/assets/stylesheets/modules/event.css.scss .event { .person { display: inline-block; } .avatar { display: inline-block; margin-right: $padding-small-horizontal; } } <|file_sep|>current/app/assets/stylesheets/modules/event.css.scss .event { .person { display: inline-blo...
75eeaad8e72bd11aa2eb04e6f4c49973cf747d9c
app/assets/stylesheets/modules/event.css.scss
app/assets/stylesheets/modules/event.css.scss
SCSS
<|file_sep|>Src/Simple.Data.Mysql/MysqlConnectorHelper.cs.diff original: updated: <|file_sep|>Src/Simple.Data.Mysql/MysqlConnectorHelper.cs.diff original: updated: <|file_sep|>Src/Simple.Data.Mysql/MysqlConnectorHelper.cs.diff original: var mysqlAssembly = Assembly.LoadFile(Path....
adapter.SelectCommand = command; return adapter; } private static DbProviderFactory GetDbFactory() { var thisAssembly = typeof(MysqlSchemaProvider).Assembly; var path = thisAssembly.CodeBase.Replace("file:///", "").Replace("file://", "//"); ...
<|file_sep|>Src/Simple.Data.Mysql/MysqlConnectorHelper.cs.diff original: updated: <|file_sep|>Src/Simple.Data.Mysql/MysqlConnectorHelper.cs.diff original: updated: <|file_sep|>Src/Simple.Data.Mysql/MysqlConnectorHelper.cs.diff original: var mysqlAssembly = Assembly.LoadFile(Path....
20dda2ea4a70b3d63d960a037437ee67f95adb67
Src/Simple.Data.Mysql/MysqlConnectorHelper.cs
Src/Simple.Data.Mysql/MysqlConnectorHelper.cs
C#
<|file_sep|>lib/proxyReponder.js.diff original: updated: var zlib = require('zlib'); var handleError = require('./handleError'); <|file_sep|>lib/proxyReponder.js.diff original: updated: function callMiddleware(middlewares, req, res, done){ function next(){ callMiddleware(middlewares, req, res, done); } va...
originalRes.end(proxyRes.body, 'utf8'); } return function responder() { callMiddleware(porous.middlewares, originalReq, proxyRes, respond); }; } function proxyReponder(porous, originalReq, originalRes) { return function proxyRespond(proxyRes) { if (!ableToAlter) { return passthrough(original...
<|file_sep|>lib/proxyReponder.js.diff original: updated: var zlib = require('zlib'); var handleError = require('./handleError'); <|file_sep|>lib/proxyReponder.js.diff original: updated: function callMiddleware(middlewares, req, res, done){ function next(){ callMiddleware(middlewares, req, res, done); } va...
12f44576b20f804e4a385c11819f2e8f44e4a1b5
lib/proxyReponder.js
lib/proxyReponder.js
JavaScript
<|file_sep|>original/service/OpenWeatherMapAdapter.js function OpenWeatherMapAdapter(options) { logger.info("Creating OpenWeatherMapAdapter"); this.validateOptions(options); this.options = options; this.weatherInterface = new WeatherInterface(options.OpenWeatherMap); }; OpenWeatherMapAdapter.prototype.validate...
OpenWeatherMapAdapter.prototype.validateOptions = function(options) { logger.debug("Configuration options: ", options); if(!_.has(options, "OpenWeatherMap.api_key")) { throw new Error("Bad OpenWeatherMapAdapter configuration."); } }; OpenWeatherMapAdapter.prototype.start = function() { var deferred = Q.de...
<|file_sep|>original/service/OpenWeatherMapAdapter.js function OpenWeatherMapAdapter(options) { logger.info("Creating OpenWeatherMapAdapter"); this.validateOptions(options); this.options = options; this.weatherInterface = new WeatherInterface(options.OpenWeatherMap); }; OpenWeatherMapAdapter.prototype.validate...
b201d9f525b2f840eb49146c51c48e4fd80c1bdb
service/OpenWeatherMapAdapter.js
service/OpenWeatherMapAdapter.js
JavaScript
<|file_sep|>original/test/test_browse_node_resource.rb require "petitest/autorun" require "petitest/power_assert" require "petitest/spec" require "rapa" class TestItemResource < Petitest::Test extend ::Petitest::Spec prepend ::Petitest::PowerAssert let(:asin) do "B075SWSZ1Z" end let(:browse_node_resou...
require "petitest/autorun" require "petitest/power_assert" require "petitest/spec" require "rapa" class TestBrowseNodeResource < Petitest::Test extend ::Petitest::Spec prepend ::Petitest::PowerAssert let(:asin) do "B075SWSZ1Z" end let(:browse_node_resource) do ::Rapa::Resources::BrowseNodeResource...
<|file_sep|>original/test/test_browse_node_resource.rb require "petitest/autorun" require "petitest/power_assert" require "petitest/spec" require "rapa" class TestItemResource < Petitest::Test extend ::Petitest::Spec prepend ::Petitest::PowerAssert let(:asin) do "B075SWSZ1Z" end let(:browse_node_resou...
cf076f5a1ff766afc6e3b35ab756bec394c5b5cc
test/test_browse_node_resource.rb
test/test_browse_node_resource.rb
Ruby
<|file_sep|>original/components/comment/widget/widget.styl .comment-widget &-thread margin-bottom: $line-height-computed * 2 &-translate-btn margin-bottom: $line-height-computed * 2 margin-left: 100px &-translating &-comments opacity: 0.5 .translate-button-branding font-weight: normal font-size: $font-...
.comment-widget &-thread margin-bottom: $line-height-computed * 2 &-translate-btn margin-bottom: $line-height-computed * 2 @media $media-sm-up margin-left: 100px &-translating &-comments opacity: 0.5 .translate-button-branding font-weight: normal font-size: $font-size-tiny text-transform: none di...
<|file_sep|>original/components/comment/widget/widget.styl .comment-widget &-thread margin-bottom: $line-height-computed * 2 &-translate-btn margin-bottom: $line-height-computed * 2 margin-left: 100px &-translating &-comments opacity: 0.5 .translate-button-branding font-weight: normal font-size: $font-...
207b2307b95303d032cfe9f8ac527f3765b1b3ee
components/comment/widget/widget.styl
components/comment/widget/widget.styl
Stylus
<|file_sep|>original/.eslintrc.yaml 'googshift/requires-first': 'error', 'googshift/valid-provide-and-module': ['error', { entryPoints: ['olcs'], root: 'src' }], 'googshift/valid-requires': 'error', no-console: 0, no-extra-boolean-cast: 0, brace-style: 0, no-multiple-empty...
'googshift/requires-first': 'error', 'googshift/valid-provide-and-module': ['error', { entryPoints: ['olcs'], root: 'src' }], 'googshift/valid-requires': 'error', no-console: 0, comma-dangle: 0, no-extra-boolean-cast: 0, brace-style: 0, no-multiple-empty-lines: 0, ...
<|file_sep|>original/.eslintrc.yaml 'googshift/requires-first': 'error', 'googshift/valid-provide-and-module': ['error', { entryPoints: ['olcs'], root: 'src' }], 'googshift/valid-requires': 'error', no-console: 0, no-extra-boolean-cast: 0, brace-style: 0, no-multiple-empty...
1d14d61df7a7dfba43153c600196a77ea02519d4
.eslintrc.yaml
.eslintrc.yaml
YAML
<|file_sep|>original/templates/zones.conf.erb # THIS CONFIGURATION IS MANAGED BY PUPPET # see man 5 knot.conf for all available configuration options <%- @zones.each do |k,v| -%> <%= k -%> { file "<%= k -%>.zone"; <%- if (@zone_defaults && v && v.length > 0) then _v = @zone_defaults.merge(v) -%> <%- elsif (v && v.len...
# THIS CONFIGURATION IS MANAGED BY PUPPET # see man 5 knot.conf for all available configuration options <%- @zones.each do |k,v| -%> <%= k -%> { file "<%= k.gsub(/\//, "_") -%>.zone"; <%- if (@zone_defaults && v && v.length > 0) then _v = @zone_defaults.merge(v) -%> <%- elsif (v && v.length > 0) then _v = v -%> <%- e...
<|file_sep|>original/templates/zones.conf.erb # THIS CONFIGURATION IS MANAGED BY PUPPET # see man 5 knot.conf for all available configuration options <%- @zones.each do |k,v| -%> <%= k -%> { file "<%= k -%>.zone"; <%- if (@zone_defaults && v && v.length > 0) then _v = @zone_defaults.merge(v) -%> <%- elsif (v && v.len...
69e15490d83c1c65c1ac5636fa3b5823520178cf
templates/zones.conf.erb
templates/zones.conf.erb
HTML+ERB
<|file_sep|>original/test/unit/app-state.spec.js import App from '../../src/app'; describe.only('App StateModel', function() { describe('when passing StateModel on Toolkit.App definition', function() { before(function() { this.MyModel = Backbone.Model.extend({ foo: 'bar' }); this.myApp...
import App from '../../src/app'; describe('App StateModel', function() { describe('when passing StateModel on Toolkit.App definition', function() { before(function() { this.MyModel = Backbone.Model.extend({ foo: 'bar' }); this.myApp = new App({ StateModel: this.MyModel })...
<|file_sep|>original/test/unit/app-state.spec.js import App from '../../src/app'; describe.only('App StateModel', function() { describe('when passing StateModel on Toolkit.App definition', function() { before(function() { this.MyModel = Backbone.Model.extend({ foo: 'bar' }); this.myApp...
38fbb065be6ead1ffa35afce3fdc432cb1632dac
test/unit/app-state.spec.js
test/unit/app-state.spec.js
JavaScript
<|file_sep|>original/content/report-on-the-diaconate.md <|file_sep|>current/content/report-on-the-diaconate.md <|file_sep|>updated/content/report-on-the-diaconate.md
+++ title = "Report on the Diaconate" description = "Minutes of the General Assembly of the Presbyterian Church in the U.S. (1884): 283-290." authors = ["John L. Girardeau", "Robert L. Dabney", "Thomas E. Peck"] [sources] web = "http://pcahistory.org/topicalresources/deacons/1884-PCUS-Report.pdf" +++
<|file_sep|>original/content/report-on-the-diaconate.md <|file_sep|>current/content/report-on-the-diaconate.md <|file_sep|>updated/content/report-on-the-diaconate.md +++ title = "Report on the Diaconate" description = "Minutes of the General Assembly of the Presbyterian Church in the U.S. (1884): 283-290." authors = ...
00003ef16130de6f72168646183e7996ed9b6880
content/report-on-the-diaconate.md
content/report-on-the-diaconate.md
Markdown
<|file_sep|>original/pom.xml <|file_sep|>current/pom.xml <|file_sep|>updated/pom.xml
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>io.scif</groupId> ...
<|file_sep|>original/pom.xml <|file_sep|>current/pom.xml <|file_sep|>updated/pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4...
1778a248fc89ef9a678a5fa232baeed7d765437e
pom.xml
pom.xml
XML
<|file_sep|>recipes/varscan/meta.yaml.diff original: version: 2.4.1 updated: version: 2.4.2 <|file_sep|>original/recipes/varscan/meta.yaml about: home: http://dkoboldt.github.io/varscan/ license: The Non-Profit Open Software License version 3.0 (NPOSL-3.0) summary: variant detection in massively par...
about: home: http://dkoboldt.github.io/varscan/ license: The Non-Profit Open Software License version 3.0 (NPOSL-3.0) summary: variant detection in massively parallel sequencing data package: name: varscan version: 2.4.2 build: number: 0 source: fn: VarScan-2.4.2.jar url: https://github.co...
<|file_sep|>recipes/varscan/meta.yaml.diff original: version: 2.4.1 updated: version: 2.4.2 <|file_sep|>original/recipes/varscan/meta.yaml about: home: http://dkoboldt.github.io/varscan/ license: The Non-Profit Open Software License version 3.0 (NPOSL-3.0) summary: variant detection in massively par...
2ddc34850460701c23f8912ba8daf4d03153ebcf
recipes/varscan/meta.yaml
recipes/varscan/meta.yaml
YAML
<|file_sep|>original/source/CroquetAustralia.Website/app/tournaments/scripts/Tournament.ts eventsAreClosed(): boolean { return !this.eventsAreOpen(); } isClosed(): boolean { return !this.isOpen(); } isOpen(): boolean { return true; }...
eventsAreClosed(): boolean { return !this.eventsAreOpen(); } isClosed(): boolean { return !this.isOpen(); } isOpen(): boolean { return false; } totalPayable(): number { return this.allTournamentItems() ...
<|file_sep|>original/source/CroquetAustralia.Website/app/tournaments/scripts/Tournament.ts eventsAreClosed(): boolean { return !this.eventsAreOpen(); } isClosed(): boolean { return !this.isOpen(); } isOpen(): boolean { return true; }...
8ab504cb23a256636c5a542d6eae1553ed27b56f
source/CroquetAustralia.Website/app/tournaments/scripts/Tournament.ts
source/CroquetAustralia.Website/app/tournaments/scripts/Tournament.ts
TypeScript
<|file_sep|>original/Block/Brand/View.php array $data = [] ) { $this->_coreRegistry = $registry; parent::__construct($context, $data); } protected function _prepareLayout() { parent::_prepareLayout(); $this->pageConfig->getTitle()->set('Brands!!!'); ...
array $data = [] ) { $this->_coreRegistry = $registry; parent::__construct($context, $data); } protected function _prepareLayout() { parent::_prepareLayout(); $brand = $this->getBrand(); if ($brand) { $title = $brand->getName(); i...
<|file_sep|>original/Block/Brand/View.php array $data = [] ) { $this->_coreRegistry = $registry; parent::__construct($context, $data); } protected function _prepareLayout() { parent::_prepareLayout(); $this->pageConfig->getTitle()->set('Brands!!!'); ...
6e190b49ecc77246fc06c3277bfcae95fc658c6f
Block/Brand/View.php
Block/Brand/View.php
PHP
<|file_sep|>original/.travis.yml language: php php: - 5.3 env: - DB=MYSQL CORE_RELEASE=3.1 - DB=MYSQL CORE_RELEASE=master - DB=PGSQL CORE_RELEASE=3.1 matrix: include: - php: 5.4 env: DB=MYSQL CORE_RELEASE=master before_script: - git clone git://github.com/silverstripe-labs/silverstripe-travis-supp...
language: php php: - 5.3 env: - DB=MYSQL CORE_RELEASE=3.1 - DB=MYSQL CORE_RELEASE=master - DB=PGSQL CORE_RELEASE=3.1 matrix: include: - php: 5.4 env: DB=MYSQL CORE_RELEASE=master before_script: - git clone git://github.com/silverstripe-labs/silverstripe-travis-support.git ~/travis-support - php ~...
<|file_sep|>original/.travis.yml language: php php: - 5.3 env: - DB=MYSQL CORE_RELEASE=3.1 - DB=MYSQL CORE_RELEASE=master - DB=PGSQL CORE_RELEASE=3.1 matrix: include: - php: 5.4 env: DB=MYSQL CORE_RELEASE=master before_script: - git clone git://github.com/silverstripe-labs/silverstripe-travis-supp...
887981afddff763887e8cb3d0a2743ba58006209
.travis.yml
.travis.yml
YAML
<|file_sep|>original/appveyor.yml version: 0.1.{build} before_build: - cmd: >- nuget restore nuget install xunit.runner.console -ExcludeVersion -OutputDirectory packages nuget install xunit.runner.msbuild -ExcludeVersion -OutputDirectory packages build: publish_nuget: true publish_nuget_symbols: true ...
version: 0.2.{build} before_build: - cmd: >- nuget restore nuget install xunit.runner.console -ExcludeVersion -OutputDirectory packages nuget install xunit.runner.msbuild -ExcludeVersion -OutputDirectory packages build: publish_nuget: true publish_nuget_symbols: true verbosity: minimal test: assem...
<|file_sep|>original/appveyor.yml version: 0.1.{build} before_build: - cmd: >- nuget restore nuget install xunit.runner.console -ExcludeVersion -OutputDirectory packages nuget install xunit.runner.msbuild -ExcludeVersion -OutputDirectory packages build: publish_nuget: true publish_nuget_symbols: true ...
b46acf973b5bf6b564713bfcae62cb9a51d167a9
appveyor.yml
appveyor.yml
YAML
<|file_sep|>original/twg.gemspec Gem::Specification.new do |s| s.name = 'twg' s.version = '2.0.0' s.summary = 'The Werewolf Game.' s.description = 'A 6+ player IRC game bot based on Mafia.' s.authors = ['Nicholas Robinson-Wall'] s.email = ['nick@robinson-wall.com'] s.required_ruby_version = '>= 1.9.1' s...
Gem::Specification.new do |s| s.name = 'twg' s.version = '2.0.0' s.summary = 'The Werewolf Game.' s.description = 'A 6+ player IRC game bot based on Mafia.' s.authors = ['Nicholas Robinson-Wall'] s.email = ['nick@robinson-wall.com'] s.required_ruby_version = '>= 1.9.1' s.files = Dir['{lib,lang}/**/*'] ...
<|file_sep|>original/twg.gemspec Gem::Specification.new do |s| s.name = 'twg' s.version = '2.0.0' s.summary = 'The Werewolf Game.' s.description = 'A 6+ player IRC game bot based on Mafia.' s.authors = ['Nicholas Robinson-Wall'] s.email = ['nick@robinson-wall.com'] s.required_ruby_version = '>= 1.9.1' s...
0d0e4ac5afd4462cd71fa270e0522477a57ccc76
twg.gemspec
twg.gemspec
Ruby
<|file_sep|>original/registerTestResults.ps1 $testsuites = [xml](get-content .\test-results\*.xml) $anyFailures = $FALSE foreach ($testsuite in $testsuites.testsuite) { write-host " $($testsuite.name)" foreach ($testcase in $testsuite.testcase){ $failed = $testcase.failure $time = [decimal]$...
$testsuites = [xml](get-content .\test-results\*.xml) $anyFailures = $FALSE foreach ($testsuite in $testsuites.testsuite) { write-host " $($testsuite.name)" foreach ($testcase in $testsuite.testcase){ $failed = $testcase.failure $time = [long]$testsuite.time * 1000 # from seconds to millisec...
<|file_sep|>original/registerTestResults.ps1 $testsuites = [xml](get-content .\test-results\*.xml) $anyFailures = $FALSE foreach ($testsuite in $testsuites.testsuite) { write-host " $($testsuite.name)" foreach ($testcase in $testsuite.testcase){ $failed = $testcase.failure $time = [decimal]$...
842593e7ca128031982f4ca1acd77ab5fb5830cf
registerTestResults.ps1
registerTestResults.ps1
PowerShell
<|file_sep|>original/.screenlayout/ziyal/land.sh #!/bin/sh xrandr --output VIRTUAL1 --off --output eDP1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP1 --off --output HDMI2 --off --output HDMI1 --off --output DP1-3 --off --output DP1-2 --mode 1920x1080 --pos 3840x0 --rotate normal --output DP1-1 --mod...
#!/bin/sh xrandr \ --output VIRTUAL1 --off \ --output eDP1 --primary --mode 1920x1080 --pos 0x0 --rotate normal \ --output DP1 --off \ --output HDMI2 --off \ --output HDMI1 --off \ --output DP1-3 --off \ --output DP1-2 --crtc 1 --mode 1920x1080 --pos 3840x0 --rotate normal \ --output DP1...
<|file_sep|>original/.screenlayout/ziyal/land.sh #!/bin/sh xrandr --output VIRTUAL1 --off --output eDP1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP1 --off --output HDMI2 --off --output HDMI1 --off --output DP1-3 --off --output DP1-2 --mode 1920x1080 --pos 3840x0 --rotate normal --output DP1-1 --mod...
3a78bba6e50425793a6634f1bcd48c174844193f
.screenlayout/ziyal/land.sh
.screenlayout/ziyal/land.sh
Shell
<|file_sep|>original/azure-pipelines.yml <|file_sep|>current/azure-pipelines.yml <|file_sep|>updated/azure-pipelines.yml
# Xcode # Build, test, and archive an Xcode workspace on macOS. # Add steps that install certificates, test, sign, and distribute an app, save build artifacts, and more: # https://docs.microsoft.com/azure/devops/pipelines/languages/xcode trigger: - master pool: vmImage: 'macos-latest' steps: - task: Xcode@5 inpu...
<|file_sep|>original/azure-pipelines.yml <|file_sep|>current/azure-pipelines.yml <|file_sep|>updated/azure-pipelines.yml # Xcode # Build, test, and archive an Xcode workspace on macOS. # Add steps that install certificates, test, sign, and distribute an app, save build artifacts, and more: # https://docs.microsoft.co...
8e0e21847300fcdc915031324599cf7299ae8c09
azure-pipelines.yml
azure-pipelines.yml
YAML
<|file_sep|>original/src/Core/Bundle/FrameworkBundle/EventListener/AuthenticatedUserListener.php $this->router = $router; $this->container = $container; } public static function getSubscribedEvents() { return array( KernelEvents::REQUEST => array('onKernelRequest', 0), ); } public fu...
$this->router = $router; $this->container = $container; } public static function getSubscribedEvents() { return array( KernelEvents::REQUEST => array('onKernelRequest', 0), ); } public function onKernelRequest(GetResponseEvent $event) { if ($this->container->get('session')->...
<|file_sep|>original/src/Core/Bundle/FrameworkBundle/EventListener/AuthenticatedUserListener.php $this->router = $router; $this->container = $container; } public static function getSubscribedEvents() { return array( KernelEvents::REQUEST => array('onKernelRequest', 0), ); } public fu...
b2771cf8854095faf8f145bbdbfc4507fc5ed21e
src/Core/Bundle/FrameworkBundle/EventListener/AuthenticatedUserListener.php
src/Core/Bundle/FrameworkBundle/EventListener/AuthenticatedUserListener.php
PHP
<|file_sep|>project/Build.scala.diff original: updated: val bokeh = "org.continuumio" %% "bokeh" % "0.1-SNAPSHOT" <|file_sep|>original/project/Build.scala "continuum (%s)> ".format(Project.extract(state).currentProject.id) }, cancelable := true, resolvers ++= Seq( ...
}, cancelable := true, resolvers ++= Seq( Resolver.sonatypeRepo("releases"), Resolver.sonatypeRepo("snapshots")) ) object Dependencies { val bokeh = "org.continuumio" %% "bokeh" % "0.1-SNAPSHOT" val breeze = "org.scalanlp" %% "breeze" % "0.6" ...
<|file_sep|>project/Build.scala.diff original: updated: val bokeh = "org.continuumio" %% "bokeh" % "0.1-SNAPSHOT" <|file_sep|>original/project/Build.scala "continuum (%s)> ".format(Project.extract(state).currentProject.id) }, cancelable := true, resolvers ++= Seq( ...
21966bb3c1e5f0877495f30cd19480c20964d0e0
project/Build.scala
project/Build.scala
Scala
<|file_sep|>.travis.yml.diff original: - 1.7.x updated: <|file_sep|>original/.travis.yml sudo: false language: go go: - 1.7.x - 1.8.x - master install: - go get -t -v ./... script: - go test -v -race ./... matrix: allow_failures: - go: master fast_finish: true <|file_sep|>current/.travis.yml sud...
sudo: false language: go go: - 1.8.x - 1.11.x - master install: - go get -t -v ./... script: - go test -v -race ./... matrix: allow_failures: - go: master fast_finish: true
<|file_sep|>.travis.yml.diff original: - 1.7.x updated: <|file_sep|>original/.travis.yml sudo: false language: go go: - 1.7.x - 1.8.x - master install: - go get -t -v ./... script: - go test -v -race ./... matrix: allow_failures: - go: master fast_finish: true <|file_sep|>current/.travis.yml sud...
e6282a7cc577290a53b298334fca4d7538ded66f
.travis.yml
.travis.yml
YAML
<|file_sep|>original/conda-forge.yml azure: store_build_artifacts: true bot: abi_migration_branches: - 3.8 - 3.9 automerge: true build_platform: linux_aarch64: linux_64 linux_ppc64le: linux_64 osx_arm64: osx_64 build_with_mambabuild: true conda_forge_output_validation: true github: branch_name: main ...
azure: store_build_artifacts: true bot: abi_migration_branches: - 3.8 - 3.9 automerge: true build_platform: linux_aarch64: linux_64 linux_ppc64le: linux_64 osx_arm64: osx_64 build_with_mambabuild: true channels: sources: - ryanvolz/label/bigsur-patch - conda-forge conda_forge_output_validation...
<|file_sep|>original/conda-forge.yml azure: store_build_artifacts: true bot: abi_migration_branches: - 3.8 - 3.9 automerge: true build_platform: linux_aarch64: linux_64 linux_ppc64le: linux_64 osx_arm64: osx_64 build_with_mambabuild: true conda_forge_output_validation: true github: branch_name: main ...
a242cb78b9a7a0b6132cc75626ad6887342d06be
conda-forge.yml
conda-forge.yml
YAML
<|file_sep|>original/lib/Scat/TwigExtension.php 'DEBUG' => $GLOBALS['DEBUG'], 'PUBLIC' => ORDURE, 'PUBLIC_CATALOG' => ORDURE . '/art-supplies', 'STATIC' => ORDURE_STATIC ]; } public function getFunctions() { return [ new \Twig\TwigFunction('notes', [ $this, 'getNotes' ]), ...
'STATIC' => ORDURE_STATIC ]; } public function getFunctions() { return [ new \Twig\TwigFunction('notes', [ $this, 'getNotes' ]), ]; } public function getFilters() { return [ new \Twig_SimpleFilter('hexdec', 'hexdec') ]; } public function getNotes() { return \Mode...
<|file_sep|>original/lib/Scat/TwigExtension.php 'DEBUG' => $GLOBALS['DEBUG'], 'PUBLIC' => ORDURE, 'PUBLIC_CATALOG' => ORDURE . '/art-supplies', 'STATIC' => ORDURE_STATIC ]; } public function getFunctions() { return [ new \Twig\TwigFunction('notes', [ $this, 'getNotes' ]), ...
9de214086c136fc69eb10f52dda0c85c1fee22c6
lib/Scat/TwigExtension.php
lib/Scat/TwigExtension.php
PHP
<|file_sep|>original/requirements.txt # The order of packages is significant, because pip processes them in the order # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. pyasn1!=0.2.3,>=0.1.8 # BSD pyOpenSSL>=17.1.0 # Apache-2.0 ndg-httpsclie...
# The order of packages is significant, because pip processes them in the order # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. pyasn1!=0.2.3,>=0.1.8 # BSD pyOpenSSL>=17.1.0 # Apache-2.0 ndg-httpsclient>=0.4.2;python_version<'3.0' # BSD n...
<|file_sep|>original/requirements.txt # The order of packages is significant, because pip processes them in the order # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. pyasn1!=0.2.3,>=0.1.8 # BSD pyOpenSSL>=17.1.0 # Apache-2.0 ndg-httpsclie...
399902019999ad975dcdba8193bf29e4a2cbbea8
requirements.txt
requirements.txt
Text
<|file_sep|>original/cymbology/identifiers/cusip.py from itertools import chain import string from cymbology.alphanum import CHAR_MAP from cymbology.codes import CINS_CODES from cymbology.exceptions import CountryCodeError from cymbology.luhn import _luhnify from cymbology.validation import SecurityId CUSIP_FIRST_CHA...
from itertools import chain import string from cymbology.alphanum import CHAR_MAP from cymbology.codes import CINS_CODES from cymbology.exceptions import CountryCodeError from cymbology.luhn import _luhnify from cymbology.validation import SecurityId CUSIP_FIRST_CHAR = frozenset(chain((c[0] for c in CINS_CODES), stri...
<|file_sep|>original/cymbology/identifiers/cusip.py from itertools import chain import string from cymbology.alphanum import CHAR_MAP from cymbology.codes import CINS_CODES from cymbology.exceptions import CountryCodeError from cymbology.luhn import _luhnify from cymbology.validation import SecurityId CUSIP_FIRST_CHA...
3986476071b1c8d2808c02a6885643c509e64456
cymbology/identifiers/cusip.py
cymbology/identifiers/cusip.py
Python
<|file_sep|>original/package.json }, "dependencies": { "bin-wrapper": "^4.0.0", "del-cli": "^1.1.0", "logalot": "^2.1.0", "pkg-conf": "^2.1.0" }, "devDependencies": { "bin-check": "^4.1.0", "eslint": "^5.6.1", "lodash": "^4.17.11", "mocha": "^5.2.0" }, "scripts": { "eslin...
}, "dependencies": { "bin-wrapper": "^4.0.0", "del-cli": "^1.1.0", "logalot": "^2.1.0", "pkg-conf": "^2.1.0" }, "devDependencies": { "bin-check": "^4.1.0", "eslint": "^5.6.1", "mocha": "^5.2.0" }, "scripts": { "eslint": "eslint .", "mocha": "mocha", "test": "npm run e...
<|file_sep|>original/package.json }, "dependencies": { "bin-wrapper": "^4.0.0", "del-cli": "^1.1.0", "logalot": "^2.1.0", "pkg-conf": "^2.1.0" }, "devDependencies": { "bin-check": "^4.1.0", "eslint": "^5.6.1", "lodash": "^4.17.11", "mocha": "^5.2.0" }, "scripts": { "eslin...
39729c28d7756e364e275ea671a2b83baf30023b
package.json
package.json
JSON
<|file_sep|>original/CONTRIBUTING.md # Pull Requests Pull requests should be made against the `working` branch. # Coding Guidelines In general, I follow strict pep8 and pyflakes. All code must pass these tests. Since we support python 2.4-3.4, pyflakes reports unknown names in python 3. pyflakes is run in python 2...
# Pull Requests Pull requests should be made against the `working` branch. # Coding Guidelines In general, I follow strict pep8 and pyflakes. All code must pass these tests. Since we support python 2.4-3.4, pyflakes reports unknown names in python 3. pyflakes is run in python 2.7 only in my tests. # Supported Pyt...
<|file_sep|>original/CONTRIBUTING.md # Pull Requests Pull requests should be made against the `working` branch. # Coding Guidelines In general, I follow strict pep8 and pyflakes. All code must pass these tests. Since we support python 2.4-3.4, pyflakes reports unknown names in python 3. pyflakes is run in python 2...
724563049c7958966b88176fd6565f398e2a84b9
CONTRIBUTING.md
CONTRIBUTING.md
Markdown
<|file_sep|>original/src/main/java/org/apache/commons/daemon/DaemonInitException.java * 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 Lic...
* 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 Lic...
<|file_sep|>original/src/main/java/org/apache/commons/daemon/DaemonInitException.java * 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 Lic...
0674022e21a32657b1b5338f3dfaa311bec7d53f
src/main/java/org/apache/commons/daemon/DaemonInitException.java
src/main/java/org/apache/commons/daemon/DaemonInitException.java
Java
<|file_sep|>original/{{cookiecutter.project_slug}}/requirements/local.txt # Local development dependencies go here -r base.txt Sphinx==1.6.6 coverage==4.4.2 django-extensions==2.0.7 django-test-plus==1.0.22 factory-boy==2.10.0 django-debug-toolbar==1.9.1 # pytest! pytest-django==3.2.1 pytest-sugar==0.9.0 <|file_sep|...
# Local development dependencies go here -r base.txt Sphinx==1.6.6 coverage==4.4.2 django-extensions==2.0.7 django-test-plus==1.0.22 factory-boy==2.10.0 django-debug-toolbar==1.9.1 # pytest! pytest-django==3.2.1 pytest-sugar==0.9.1
<|file_sep|>original/{{cookiecutter.project_slug}}/requirements/local.txt # Local development dependencies go here -r base.txt Sphinx==1.6.6 coverage==4.4.2 django-extensions==2.0.7 django-test-plus==1.0.22 factory-boy==2.10.0 django-debug-toolbar==1.9.1 # pytest! pytest-django==3.2.1 pytest-sugar==0.9.0 <|file_sep|...
36b727e2244bb813137369c4302630792f77b2e6
{{cookiecutter.project_slug}}/requirements/local.txt
{{cookiecutter.project_slug}}/requirements/local.txt
Text
<|file_sep|>original/requirements.txt Click==7.0 Cython==0.29.11 GDAL Pillow==6.1.0 glob2==0.7 joblib==0.13.2 mpi4py==3.0.2 networkx==2.3 numpy==1.16.4 pyproj==2.2.1 scipy==1.3.0 numexpr==2.7.0 <|file_sep|>current/requirements.txt Click==7.0 Cython==0.29.11 GDAL Pillow==6.1.0 glob2==0.7 joblib==0.13.2 mpi4py==3.0.2 net...
Cython==0.29.11 GDAL Pillow==6.1.0 glob2==0.7 joblib==0.13.2 mpi4py==3.0.2 networkx==2.3 numpy==1.16.4 pyproj==2.2.1 scipy==1.3.0 numexpr==2.7.0
<|file_sep|>original/requirements.txt Click==7.0 Cython==0.29.11 GDAL Pillow==6.1.0 glob2==0.7 joblib==0.13.2 mpi4py==3.0.2 networkx==2.3 numpy==1.16.4 pyproj==2.2.1 scipy==1.3.0 numexpr==2.7.0 <|file_sep|>current/requirements.txt Click==7.0 Cython==0.29.11 GDAL Pillow==6.1.0 glob2==0.7 joblib==0.13.2 mpi4py==3.0.2 net...
edc4647e1961cad303963fb5cd17a47ae174e682
requirements.txt
requirements.txt
Text
<|file_sep|>original/App/Darts301/Darts301/WelcomeViewController.swift startButton.layer.cornerRadius = 8.0 rulesButton.layer.cornerRadius = 8.0 rulesButton.layer.borderColor = UIColor.white.cgColor rulesButton.layer.borderWidth = 2.0 Utils.addShadow(to: startButton) le...
startButton.layer.cornerRadius = 8.0 rulesButton.layer.cornerRadius = 8.0 rulesButton.layer.borderColor = UIColor.white.cgColor rulesButton.layer.borderWidth = 2.0 Utils.addShadow(to: startButton) let gradientLayer = CAGradientLayer() gradientLayer.frame = view.b...
<|file_sep|>original/App/Darts301/Darts301/WelcomeViewController.swift startButton.layer.cornerRadius = 8.0 rulesButton.layer.cornerRadius = 8.0 rulesButton.layer.borderColor = UIColor.white.cgColor rulesButton.layer.borderWidth = 2.0 Utils.addShadow(to: startButton) le...
cf4270fb79b3b610aba4e6e6a4c6a7eca5798c22
App/Darts301/Darts301/WelcomeViewController.swift
App/Darts301/Darts301/WelcomeViewController.swift
Swift
<|file_sep|>thinglang/parser/tokens/functions.py.diff original: from thinglang.lexer.symbols.base import LexicalIdentifier updated: from thinglang.lexer.symbols.base import LexicalIdentifier, LexicalAccess <|file_sep|>thinglang/parser/tokens/functions.py.diff original: self.target = [x.value for x in slice if i...
from thinglang.parser.tokens.collections import ListInitializationPartial, ListInitialization from thinglang.utils.type_descriptors import ValueType class Access(BaseToken): def __init__(self, slice): super(Access, self).__init__(slice) self.target = [x for x in slice if not isinstance(x, LexicalA...
<|file_sep|>thinglang/parser/tokens/functions.py.diff original: from thinglang.lexer.symbols.base import LexicalIdentifier updated: from thinglang.lexer.symbols.base import LexicalIdentifier, LexicalAccess <|file_sep|>thinglang/parser/tokens/functions.py.diff original: self.target = [x.value for x in slice if i...
8e76b64fa3eafa9d22fc37b68ddb1daff6633119
thinglang/parser/tokens/functions.py
thinglang/parser/tokens/functions.py
Python
<|file_sep|>original/README.md # hydea [![Build Status](https://travis-ci.org/hydea/hydea.svg?branch=master)](https://travis-ci.org/hydea/hydea) <|file_sep|>current/README.md # hydea [![Build Status](https://travis-ci.org/hydea/hydea.svg?branch=master)](https://travis-ci.org/hydea/hydea) <|file_sep|>updated/README.md
# hydea ######[![Build Status](https://travis-ci.org/hydea/hydea.svg?branch=master)](https://travis-ci.org/hydea/hydea) ######[Product backlog](https://docs.google.com/spreadsheets/d/13nRrrNHnRrLA40qjXNct4FVXtXXHJmQrAF0Z7SjJx9s/edit#gid=0)
<|file_sep|>original/README.md # hydea [![Build Status](https://travis-ci.org/hydea/hydea.svg?branch=master)](https://travis-ci.org/hydea/hydea) <|file_sep|>current/README.md # hydea [![Build Status](https://travis-ci.org/hydea/hydea.svg?branch=master)](https://travis-ci.org/hydea/hydea) <|file_sep|>updated/README.md #...
33816bce7ed8996aec65c5158adfadec2022726e
README.md
README.md
Markdown
<|file_sep|>original/.github/workflows/test-workflow.yaml runs-on: macos-latest steps: - name: Checkout uses: actions/checkout@v2 - name: Set up JDK 1.8 uses: actions/setup-java@v1 with: java-version: 1.8 - name: Run JUnit tests run: bash ./gra...
uses: actions/setup-java@v1 with: java-version: 1.8 - name: Run JUnit tests run: bash ./gradlew test working-directory: ./MoviesTVSentiments - name: Run Espresso tests uses: reactivecircus/android-emulator-runner@v2 with: working-di...
<|file_sep|>original/.github/workflows/test-workflow.yaml runs-on: macos-latest steps: - name: Checkout uses: actions/checkout@v2 - name: Set up JDK 1.8 uses: actions/setup-java@v1 with: java-version: 1.8 - name: Run JUnit tests run: bash ./gra...
114dbb7ace41cf1d64ad4796b7c326556f2179af
.github/workflows/test-workflow.yaml
.github/workflows/test-workflow.yaml
YAML
<|file_sep|>lib/pronto/credo/output_parser.rb.diff original: updated: TYPE_WARNINGS = { 'R' => :info, 'W' => :warning, 'C' => :info, 'D' => :info, 'F' => :info, } <|file_sep|>lib/pronto/credo/out...
def parse output.lines.map do |line| next unless line.start_with?(file) line_parts = line.split(':') offence_in_line = line_parts[1] column_line = nil if line_parts[2].to_i == 0 offence_level = TYPE_WARNING[line_parts[2].strip] offe...
<|file_sep|>lib/pronto/credo/output_parser.rb.diff original: updated: TYPE_WARNINGS = { 'R' => :info, 'W' => :warning, 'C' => :info, 'D' => :info, 'F' => :info, } <|file_sep|>lib/pronto/credo/out...
a58d01f0d923cb9c3de6c77ef9143e88e2748fb1
lib/pronto/credo/output_parser.rb
lib/pronto/credo/output_parser.rb
Ruby
<|file_sep|>app/templates/views/broadcast/tour/2.html.diff original: In an emergency, broadcast an alert to every mobile phone in updated: In an emergency, you can broadcast an alert to every mobile phone in <|file_sep|>original/app/templates/views/broadcast/tour/2.html {% endblock %} {% set mainClasses = "govuk-!...
{% endblock %} {% set mainClasses = "govuk-!-padding-top-0 govuk-!-padding-bottom-0" %} {% block content %} <div class="banner-tour banner-tour-no-fixed-height govuk-!-margin-top-0"> <div class="govuk-grid-row"> <div class="govuk-grid-column-one-half"> <h1 class="heading-medium"> In an ...
<|file_sep|>app/templates/views/broadcast/tour/2.html.diff original: In an emergency, broadcast an alert to every mobile phone in updated: In an emergency, you can broadcast an alert to every mobile phone in <|file_sep|>original/app/templates/views/broadcast/tour/2.html {% endblock %} {% set mainClasses = "govuk-!...
8913eee803c5c31b6f11dd3a9a43332afc106e2f
app/templates/views/broadcast/tour/2.html
app/templates/views/broadcast/tour/2.html
HTML
<|file_sep|>original/html-formatter/ruby/spec/html-formatter/assets_loader_spec.rb <|file_sep|>current/html-formatter/ruby/spec/html-formatter/assets_loader_spec.rb <|file_sep|>updated/html-formatter/ruby/spec/html-formatter/assets_loader_spec.rb
require 'cucumber/html_formatter/assets_loader' describe Cucumber::HTMLFormatter::AssetsLoader do let(:subject) { Cucumber::HTMLFormatter::AssetsLoader.new } before do allow(File).to receive(:read).and_return('whatever content') end context '.template' do it 'reads the content of assets/index.mustach...
<|file_sep|>original/html-formatter/ruby/spec/html-formatter/assets_loader_spec.rb <|file_sep|>current/html-formatter/ruby/spec/html-formatter/assets_loader_spec.rb <|file_sep|>updated/html-formatter/ruby/spec/html-formatter/assets_loader_spec.rb require 'cucumber/html_formatter/assets_loader' describe Cucumber::HTM...
32f8824a8db90022cb2627e3c3baa4375cfa1778
html-formatter/ruby/spec/html-formatter/assets_loader_spec.rb
html-formatter/ruby/spec/html-formatter/assets_loader_spec.rb
Ruby
<|file_sep|>original/dist/BUNDLE.md ## How to create bundle and minfied files Run `./bundle-min.sh` from the root folder. It will create in the dist folder: * `angular-meteor.bundle.js`, `angular-meteor.bundle.min.js` * `angular-meteor-auth.bundle.js`, `angular-meteor-auth.bundle.min.js` and you can run separat...
## How to create bundle and minfied files Run `./bundle-min.sh` from the root folder. It will create in the dist folder: * `angular-meteor-auth.bundle.js`, `angular-meteor-auth.bundle.min.js`
<|file_sep|>original/dist/BUNDLE.md ## How to create bundle and minfied files Run `./bundle-min.sh` from the root folder. It will create in the dist folder: * `angular-meteor.bundle.js`, `angular-meteor.bundle.min.js` * `angular-meteor-auth.bundle.js`, `angular-meteor-auth.bundle.min.js` and you can run separat...
7d600a7f64185cc040074312bd979fe8b1d969ab
dist/BUNDLE.md
dist/BUNDLE.md
Markdown
<|file_sep|>original/app/presenters/tree_builder_containers_filter.rb def tree_init_options(_) { :leaf => "Container", :full_ids => true } end def set_locals_for_render locals = super locals.merge!(:autoload => true) end def root_options { :title => t = _("All Co...
def tree_init_options(_) { :leaf => "Container", :full_ids => true } end def set_locals_for_render locals = super locals.merge!(:autoload => true, :allow_reselect => true) end def root_options { :title => t = _("All Containers"), :tooltip => t } end ...
<|file_sep|>original/app/presenters/tree_builder_containers_filter.rb def tree_init_options(_) { :leaf => "Container", :full_ids => true } end def set_locals_for_render locals = super locals.merge!(:autoload => true) end def root_options { :title => t = _("All Co...
9a55ce8a6ad96e57116b4386bf0a7b7c5381f8dd
app/presenters/tree_builder_containers_filter.rb
app/presenters/tree_builder_containers_filter.rb
Ruby
<|file_sep|>original/requirements.txt certifi==2017.7.27.1 chardet==3.0.4 click==6.7 Flask==0.12.2 idna==2.6 itsdangerous==0.24 Jinja2==2.9.6 jsonpickle==0.9.5 MarkupSafe==1.0 py==1.4.34 pytest==3.2.2 requests==2.18.4 urllib3==1.22 Werkzeug==0.15.3 <|file_sep|>current/requirements.txt certifi==2017.7.27.1 chardet==3.0....
certifi==2017.7.27.1 chardet==3.0.4 click==6.7 Flask==0.12.2 idna==2.6 itsdangerous==0.24 Jinja2==2.9.6 jsonpickle==0.9.5 MarkupSafe==1.0 py==1.4.34 pytest==3.2.2 requests==2.20.0 urllib3==1.22 Werkzeug==0.15.3
<|file_sep|>original/requirements.txt certifi==2017.7.27.1 chardet==3.0.4 click==6.7 Flask==0.12.2 idna==2.6 itsdangerous==0.24 Jinja2==2.9.6 jsonpickle==0.9.5 MarkupSafe==1.0 py==1.4.34 pytest==3.2.2 requests==2.18.4 urllib3==1.22 Werkzeug==0.15.3 <|file_sep|>current/requirements.txt certifi==2017.7.27.1 chardet==3.0....
6409ed85acbfdc86fc1c995c8922e36cee6a4812
requirements.txt
requirements.txt
Text
<|file_sep|>original/.travis.yml language: objective-c cache: cocoapods osx_image: xcode8.2 install: - gem install slather script: - xctool -project {{path_to_xcodeproj}} -scheme {{your_testing_scheme}} build test -sdk iphonesimulator GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES after_su...
language: objective-c cache: cocoapods osx_image: xcode8.2 install: - gem install slather script: - ./fastlane/travis.sh after_success: - bash <(curl -s https://codecov.io/bash)
<|file_sep|>original/.travis.yml language: objective-c cache: cocoapods osx_image: xcode8.2 install: - gem install slather script: - xctool -project {{path_to_xcodeproj}} -scheme {{your_testing_scheme}} build test -sdk iphonesimulator GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES after_su...
62c50dc5654251982e7297db252219cdde959543
.travis.yml
.travis.yml
YAML
<|file_sep|>original/core/lib/spree/testing_support/common_rake.rb Spree::InstallGenerator.start ["--lib_name=#{ENV['LIB_NAME']}", "--auto-accept", "--migrate=false", "--seed=false", "--sample=false", "--quiet", "--user_class=#{args[:user_class]}"] puts "Setting up dummy database..." sh "bin/rails db:envi...
Spree::InstallGenerator.start ["--lib_name=#{ENV['LIB_NAME']}", "--auto-accept", "--migrate=false", "--seed=false", "--sample=false", "--quiet", "--user_class=#{args[:user_class]}"] puts "Setting up dummy database..." sh "bin/rails db:environment:set RAILS_ENV=test" sh "bin/rails db:drop db:create db:...
<|file_sep|>original/core/lib/spree/testing_support/common_rake.rb Spree::InstallGenerator.start ["--lib_name=#{ENV['LIB_NAME']}", "--auto-accept", "--migrate=false", "--seed=false", "--sample=false", "--quiet", "--user_class=#{args[:user_class]}"] puts "Setting up dummy database..." sh "bin/rails db:envi...
8241630bfeb1d2d497f29b7abc918ab140ad4262
core/lib/spree/testing_support/common_rake.rb
core/lib/spree/testing_support/common_rake.rb
Ruby
<|file_sep|>scripts/customize.sh.diff original: # Uncomment this to recompile php7 on provisioning (NOTE: Slow) # makephp 7 updated: # Uncomment this to recompile php7 on provisioning (NOTE: Slow). You can also change it # to compile other versions of php if you wish (e.g 5.6) # /vagrant/makephp 7 <|file_sep|>original/...
# Ensure composer deps are installed cd phpbb/phpBB php ../composer.phar install # Delete the db and make a new one rm -rf /tmp/phpbb.sqlite3 rm -rf /var/www/phpbb/phpBB/config.php cd /vagrant php /var/www/phpbb/phpBB/install_new/phpbbcli.php install ./phpbb-install-config.yml # Uncomment this to recompile php7 on pr...
<|file_sep|>scripts/customize.sh.diff original: # Uncomment this to recompile php7 on provisioning (NOTE: Slow) # makephp 7 updated: # Uncomment this to recompile php7 on provisioning (NOTE: Slow). You can also change it # to compile other versions of php if you wish (e.g 5.6) # /vagrant/makephp 7 <|file_sep|>original/...
28db64ed6d86e2a2e7006f005cb451d5ea4bf92a
scripts/customize.sh
scripts/customize.sh
Shell
<|file_sep|>original/src/hfold/Parser.hs import Hfold.Types parseFile :: Text -> [Content] parseFile t = case parse parseContent "content" (T.unpack t) of Left err -> [] Right xs -> xs parseContent :: Parser [Content] parseContent = do c <- many (quoted <|> codeBlock <|> normal) eof return c nor...
import Hfold.Types parseFile :: Text -> [Content] parseFile t = case parse parseContent "content" (T.unpack t) of Left err -> [] Right xs -> xs parseContent :: Parser [Content] parseContent = many (quoted <|> codeBlock <|> normal) <* eof normal :: Parser Content normal = Normal <$> singleLine quoted :: Par...
<|file_sep|>original/src/hfold/Parser.hs import Hfold.Types parseFile :: Text -> [Content] parseFile t = case parse parseContent "content" (T.unpack t) of Left err -> [] Right xs -> xs parseContent :: Parser [Content] parseContent = do c <- many (quoted <|> codeBlock <|> normal) eof return c nor...
35e3ddfaa492bfe4af8e64e079da0a8a3bb1a84a
src/hfold/Parser.hs
src/hfold/Parser.hs
Haskell
<|file_sep|>wafer/users/tests/test_models.py.diff original: PY2 = sys.version_info[0] == 2 updated: <|file_sep|>original/wafer/users/tests/test_models.py # vim:fileencoding=utf-8 ai ts=4 sts=4 et sw=4 """Tests for wafer.user.models""" from django.contrib.auth import get_user_model from django.test import TestCase im...
# -*- coding: utf-8 -*- # vim:fileencoding=utf-8 ai ts=4 sts=4 et sw=4 """Tests for wafer.user.models""" from django.contrib.auth import get_user_model from django.test import TestCase import sys class UserModelTestCase(TestCase): def test_str_method_issue192(self): """Test that str(user) works correct...
<|file_sep|>wafer/users/tests/test_models.py.diff original: PY2 = sys.version_info[0] == 2 updated: <|file_sep|>original/wafer/users/tests/test_models.py # vim:fileencoding=utf-8 ai ts=4 sts=4 et sw=4 """Tests for wafer.user.models""" from django.contrib.auth import get_user_model from django.test import TestCase im...
4f5fe3002f3244f5ce6b90303def86c1763c8afb
wafer/users/tests/test_models.py
wafer/users/tests/test_models.py
Python
<|file_sep|>original/scrooge-core/src/main/scala/com/twitter/scrooge/thrift_validation/ThriftValidationException.scala ThriftValidationException(endpoint, requestClazz, validationViolations.asScala.toSet) } /** * An exception which is used to communicate when a thrift_validation * has failed with the respectiv...
ThriftValidationException(endpoint, requestClazz, validationViolations.asScala.toSet) } /** * An exception which is used to communicate when a thrift_validation * has failed with the respective [[ThriftValidationViolation]] * @param endpoint thrift method the invalid request tries to reach * @param reque...
<|file_sep|>original/scrooge-core/src/main/scala/com/twitter/scrooge/thrift_validation/ThriftValidationException.scala ThriftValidationException(endpoint, requestClazz, validationViolations.asScala.toSet) } /** * An exception which is used to communicate when a thrift_validation * has failed with the respectiv...
329725ef6c550ae6cfe6ffc74fd1fdd51a88129e
scrooge-core/src/main/scala/com/twitter/scrooge/thrift_validation/ThriftValidationException.scala
scrooge-core/src/main/scala/com/twitter/scrooge/thrift_validation/ThriftValidationException.scala
Scala
<|file_sep|>original/app/views/ninetails/containers/_container.json.jbuilder json.container do json.call container, :id json.type container.type.demodulize if container.try(:layout).present? json.layout do json.partial! "/ninetails/containers/container", container: container.layout end end if ...
json.container do json.call container, :id json.type container.type.demodulize json.layout_id container.layout_id if container.try(:layout).present? json.layout do json.partial! "/ninetails/containers/container", container: container.layout end end if container.try(:current_revision).present...
<|file_sep|>original/app/views/ninetails/containers/_container.json.jbuilder json.container do json.call container, :id json.type container.type.demodulize if container.try(:layout).present? json.layout do json.partial! "/ninetails/containers/container", container: container.layout end end if ...
3ba758b9148a8cee78a271e7c9c5a8cef174b337
app/views/ninetails/containers/_container.json.jbuilder
app/views/ninetails/containers/_container.json.jbuilder
Ruby
<|file_sep|>original/css/device.css #login_overlay input{ font-size:30px; width:90%; margin: 10px 0px; } #login_overlay button{ font-size:20px; } #moira_overlay input{ font-size:25px; } header button{ font-size:25px; } #wrapper{ width:100%; position:absolute; <|file_sep|>current/css/...
#login_overlay input{ font-size:30px; width:90%; margin: 10px 0px; } #login_overlay button{ width:175px; font-size:30px; } #moira_overlay input{ font-size:25px; } header button{ font-size:25px; } #wrapper{ width:100%;
<|file_sep|>original/css/device.css #login_overlay input{ font-size:30px; width:90%; margin: 10px 0px; } #login_overlay button{ font-size:20px; } #moira_overlay input{ font-size:25px; } header button{ font-size:25px; } #wrapper{ width:100%; position:absolute; <|file_sep|>current/css/...
91bbcf7a93d94e19ff4a0827598ad6564a148895
css/device.css
css/device.css
CSS
<|file_sep|>requirements.txt.diff original: numpy==1.9.0 updated: numpy==1.9.2 <|file_sep|>original/requirements.txt bunch==1.0.1 inflection==0.3.1 numpy==1.9.0 nibabel==2.0.1 scipy==0.14.0 sympy==0.7.5 matplotlib==1.4.0 nipy==0.3.0 dipy==0.7.1 traits==4.4.0 networkx==1.8.1 openpyxl==2.2.3 six==1.9.0 qiutil==2.2.8 qidi...
bunch==1.0.1 inflection==0.3.1 numpy==1.9.2 nibabel==2.0.1 scipy==0.14.0 sympy==0.7.5 matplotlib==1.4.0 nipy==0.3.0 dipy==0.9.2 traits==4.5.0 networkx==1.8.1 openpyxl==2.2.3 six==1.9.0 qiutil==2.2.8 qidicom==2.3.7 qixnat==4.1.4 qiprofile-rest-client==5.6.3 git+git://github.com/moloney/dcmstack.git#egg=dcmstack git+git:...
<|file_sep|>requirements.txt.diff original: numpy==1.9.0 updated: numpy==1.9.2 <|file_sep|>original/requirements.txt bunch==1.0.1 inflection==0.3.1 numpy==1.9.0 nibabel==2.0.1 scipy==0.14.0 sympy==0.7.5 matplotlib==1.4.0 nipy==0.3.0 dipy==0.7.1 traits==4.4.0 networkx==1.8.1 openpyxl==2.2.3 six==1.9.0 qiutil==2.2.8 qidi...
15f2c47f245086f4c92924337e3137ba8e2eb40e
requirements.txt
requirements.txt
Text
<|file_sep|>original/src/app/boot/chrome_app_background.js // Copyright 2014 Google Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.o...
// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distribut...
<|file_sep|>original/src/app/boot/chrome_app_background.js // Copyright 2014 Google Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.o...
7d59b53a21381f7f81a5d3980d29c57035856619
src/app/boot/chrome_app_background.js
src/app/boot/chrome_app_background.js
JavaScript
<|file_sep|>original/ansible/roles/openshift/defaults/main.yml developer_user: developer developer_password: developer nfs_root: /nfsshare persistent_volumes: 5 <|file_sep|>current/ansible/roles/openshift/defaults/main.yml developer_user: developer developer_password: developer nfs_root: /nfsshare persistent_volumes: 5...
developer_user: developer developer_password: developer nfs_root: /nfsshare persistent_volumes: 5 deploy_logging: false
<|file_sep|>original/ansible/roles/openshift/defaults/main.yml developer_user: developer developer_password: developer nfs_root: /nfsshare persistent_volumes: 5 <|file_sep|>current/ansible/roles/openshift/defaults/main.yml developer_user: developer developer_password: developer nfs_root: /nfsshare persistent_volumes: 5...
6137525571da1e94d0c769533114ec272402a4a8
ansible/roles/openshift/defaults/main.yml
ansible/roles/openshift/defaults/main.yml
YAML
<|file_sep|>openjdk/deprecated.md.diff original: # **WARNING** If you are a user/consumer of Java, this image is probably not what you expect! These images contain "vanilla" builds of the OpenJDK project provided by [Oracle](https://jdk.java.net/) or [the relevant "updates project lead"](https://github.com/docker-lib...
This image is officially deprecated and all users are recommended to find and use suitable replacements ASAP. Some examples of other Official Image alternatives (listed in alphabetical order with no intentional or implied preference): - [`amazoncorretto`](https://hub.docker.com/_/amazoncorretto) - [`eclipse-temurin`](...
<|file_sep|>openjdk/deprecated.md.diff original: # **WARNING** If you are a user/consumer of Java, this image is probably not what you expect! These images contain "vanilla" builds of the OpenJDK project provided by [Oracle](https://jdk.java.net/) or [the relevant "updates project lead"](https://github.com/docker-lib...
326814f7acbdf65a3a3d82aef519466c24036284
openjdk/deprecated.md
openjdk/deprecated.md
Markdown
<|file_sep|>original/.travis.yml language: python python: - "2.7" install: - python setup.py develop - pip install -r test-requirements.txt - npm install karma karma-coverage karma-jasmine@0.1.5 karma-firefox-launcher - gem install rake before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start...
language: python python: - "2.7" install: - python setup.py develop - pip install -r test-requirements.txt - npm install karma karma-coverage karma-jasmine@0.1.5 karma-firefox-launcher - npm install https://github.com/davidmiller/karma-jasmine/tarball/opal - gem install rake before_script: - export DISPL...
<|file_sep|>original/.travis.yml language: python python: - "2.7" install: - python setup.py develop - pip install -r test-requirements.txt - npm install karma karma-coverage karma-jasmine@0.1.5 karma-firefox-launcher - gem install rake before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start...
7f4e90c4c2e0e57807106be4e514350a92374836
.travis.yml
.travis.yml
YAML
<|file_sep|>original/config.ini [rss] # Add your own rss feeds. # DO NOT use number as item name. HN_50 = http://feeds.feedburner.com/hacker-news-feed-50?format=rss wsj = http://online.wsj.com/xml/rss/3_7085.xml [weather] # Your city code for yahoo weather. # You can find it from the url of your city's # yahoo weather...
[rss] # Add your own rss feeds. # DO NOT use number as item name. wsj = http://online.wsj.com/xml/rss/3_7085.xml [weather] # Your city code for yahoo weather. # You can find it from the url of your city's # yahoo weather. city = 2459115 unit = F [duration] # Duration time of running, in minutes. # Use 0 to run endles...
<|file_sep|>original/config.ini [rss] # Add your own rss feeds. # DO NOT use number as item name. HN_50 = http://feeds.feedburner.com/hacker-news-feed-50?format=rss wsj = http://online.wsj.com/xml/rss/3_7085.xml [weather] # Your city code for yahoo weather. # You can find it from the url of your city's # yahoo weather...
edf2a67404a8243517481fed046fc6565a59c850
config.ini
config.ini
INI
<|file_sep|>tests/check/objects/CMakeLists.txt.diff original: object set updated: ws_object ws_set <|file_sep|>tests/check/objects/CMakeLists.txt.diff original: add_subdirectory("ws_${TEST}") updated: add_subdirectory("${TEST}") <|file_sep|>tests/check/objects/CMakeLists.txt.diff original: s...
if (DEFINED TEST_INCLUDE_DIRS) include_directories(${TEST_INCLUDE_DIRS}) endif() if (DEFINED TEST_DEFINITIONS) add_definitions(${TEST_DEFINITIONS}) endif() set(TEST_EXE "check_${TEST}.test") add_executable(${TEST_EXE} EXCLUDE_FROM_ALL "${TEST}/test.c" ${TEST_SOU...
<|file_sep|>tests/check/objects/CMakeLists.txt.diff original: object set updated: ws_object ws_set <|file_sep|>tests/check/objects/CMakeLists.txt.diff original: add_subdirectory("ws_${TEST}") updated: add_subdirectory("${TEST}") <|file_sep|>tests/check/objects/CMakeLists.txt.diff original: s...
9272b5af16d1a553295dabad544a7e190c4156e9
tests/check/objects/CMakeLists.txt
tests/check/objects/CMakeLists.txt
Text
<|file_sep|>original/ecosystem.config.js } ], /** * Deployment section * http://pm2.keymetrics.io/docs/usage/deployment/ */ deploy: { production: { key: '~/.ssh/bot-deploy', // TODO: Create a deploy user user: 'gin', host: 'blair-vm.eastus.cloudapp.azure.com', ref: ...
} ], /** * Deployment section * http://pm2.keymetrics.io/docs/usage/deployment/ */ deploy: { production: { key: '~/.ssh/bot-deploy', // TODO: Create a deploy user user: 'gin', host: 'blair-vm.eastus.cloudapp.azure.com', ref: 'origin/master', repo: 'git@github....
<|file_sep|>original/ecosystem.config.js } ], /** * Deployment section * http://pm2.keymetrics.io/docs/usage/deployment/ */ deploy: { production: { key: '~/.ssh/bot-deploy', // TODO: Create a deploy user user: 'gin', host: 'blair-vm.eastus.cloudapp.azure.com', ref: ...
9ef588a4ae0cc91c2b1dd4d80181f1d71c38e55d
ecosystem.config.js
ecosystem.config.js
JavaScript
<|file_sep|>original/client/welcome-page/template.html <div class="welcome-page"> <h1 data-text="name"></h1> <h3>How can you get to work?</h3> <h4>Select all that apply</h4> <div class="alerts"></div> <div class="answers"> <div class="answer icon-train" data-active="train"></div> <div class="answer ic...
<div class="welcome-page"> <h3>How can you get to work?</h3> <h4>Select all that apply</h4> <div class="alerts"></div> <div class="answers"> <div class="answer icon-train" data-active="train"></div> <div class="answer icon-bus" data-active="bus"></div> <div class="answer icon-bike" data-active="bike...
<|file_sep|>original/client/welcome-page/template.html <div class="welcome-page"> <h1 data-text="name"></h1> <h3>How can you get to work?</h3> <h4>Select all that apply</h4> <div class="alerts"></div> <div class="answers"> <div class="answer icon-train" data-active="train"></div> <div class="answer ic...
2d73bb3b21380a517e9a5d8131884da0c23389c7
client/welcome-page/template.html
client/welcome-page/template.html
HTML
<|file_sep|>original/src/test/runTests.ts import { runTests } from 'vscode-test'; (async function main() { // The folder containing the Extension Manifest package.json // Passed to `--extensionDevelopmentPath` const extensionDevelopmentPath = process.cwd(); // The path to test runner // Passed to ...
import { runTests } from 'vscode-test'; (async function main() { // The folder containing the Extension Manifest package.json // Passed to `--extensionDevelopmentPath` const extensionDevelopmentPath = process.cwd(); // The path to test runner // Passed to --extensionTestsPath const extensionTe...
<|file_sep|>original/src/test/runTests.ts import { runTests } from 'vscode-test'; (async function main() { // The folder containing the Extension Manifest package.json // Passed to `--extensionDevelopmentPath` const extensionDevelopmentPath = process.cwd(); // The path to test runner // Passed to ...
2c159fa94d59a3790ce658a388609bedfb791f34
src/test/runTests.ts
src/test/runTests.ts
TypeScript
<|file_sep|>original/google-cloud-sdk.sh set -e GCLOUD_SDK_TARBALL_URL="https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-354.0.0-darwin-x86_64.tar.gz" out="/Users/se7entyse7en/google-cloud-sdk.tar.gz" echo "Downloading gcloud into $out..." curl -LsSo "$out" "$GCLOUD_SDK_TARBALL_URL" &> /dev...
set -e GCLOUD_SDK_TARBALL_URL="https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-354.0.0-darwin-x86_64.tar.gz" out="/Users/se7entyse7en/google-cloud-sdk.tar.gz" echo "Downloading gcloud into $out..." curl -LsSo "$out" "$GCLOUD_SDK_TARBALL_URL" &> /dev/null tar -zxf "$out" -C /tmp echo "Inst...
<|file_sep|>original/google-cloud-sdk.sh set -e GCLOUD_SDK_TARBALL_URL="https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-354.0.0-darwin-x86_64.tar.gz" out="/Users/se7entyse7en/google-cloud-sdk.tar.gz" echo "Downloading gcloud into $out..." curl -LsSo "$out" "$GCLOUD_SDK_TARBALL_URL" &> /dev...
96bd0771f6c7e5191a5a1413c031d03f8a424871
google-cloud-sdk.sh
google-cloud-sdk.sh
Shell
<|file_sep|>original/source/_posts/2014-09-24-gitlab-shell-and-bash-cve-2014-6271.markdown <|file_sep|>current/source/_posts/2014-09-24-gitlab-shell-and-bash-cve-2014-6271.markdown <|file_sep|>updated/source/_posts/2014-09-24-gitlab-shell-and-bash-cve-2014-6271.markdown
--- layout: post title: "Gitlab-shell is affected by Bash CVE-2014-6271" date: 2014-09-24 comments: true categories: author: Jacob Vosmaer --- Today a security vulnerability in Bash (CVE-2014-6271) was announced that can be exploited against the OpenSSH daemon. On GitLab servers where the default shell of the `git` us...
<|file_sep|>original/source/_posts/2014-09-24-gitlab-shell-and-bash-cve-2014-6271.markdown <|file_sep|>current/source/_posts/2014-09-24-gitlab-shell-and-bash-cve-2014-6271.markdown <|file_sep|>updated/source/_posts/2014-09-24-gitlab-shell-and-bash-cve-2014-6271.markdown --- layout: post title: "Gitlab-shell is affect...
ec59cdc7f55c65e4075a21049261041debdc126a
source/_posts/2014-09-24-gitlab-shell-and-bash-cve-2014-6271.markdown
source/_posts/2014-09-24-gitlab-shell-and-bash-cve-2014-6271.markdown
Markdown
<|file_sep|>src/BehaviorsSDKManaged/Microsoft.Xaml.Interactivity/Behavior.cs.diff original: updated: using System; <|file_sep|>original/src/BehaviorsSDKManaged/Microsoft.Xaml.Interactivity/Behavior.cs /// A base class for behaviors, implementing the basic plumbing of IBehavior /// </summary> public abstra...
{ /// <summary> /// A base class for behaviors, implementing the basic plumbing of IBehavior /// </summary> public abstract class Behavior : DependencyObject, IBehavior { public DependencyObject AssociatedObject { get; private set; } public void Attach(DependencyObject associatedObj...
<|file_sep|>src/BehaviorsSDKManaged/Microsoft.Xaml.Interactivity/Behavior.cs.diff original: updated: using System; <|file_sep|>original/src/BehaviorsSDKManaged/Microsoft.Xaml.Interactivity/Behavior.cs /// A base class for behaviors, implementing the basic plumbing of IBehavior /// </summary> public abstra...
3bac6ad93820e9710c0cebb8678b3ddc4e81ff1a
src/BehaviorsSDKManaged/Microsoft.Xaml.Interactivity/Behavior.cs
src/BehaviorsSDKManaged/Microsoft.Xaml.Interactivity/Behavior.cs
C#
<|file_sep|>original/requirements-dev.txt aioconsole==0.1.2 aiohttp==1.3.5 docutils==0.13.1 flake8==3.3.0 ipdb==0.10.2 pytest-cov==2.4.0 pytest-sugar==0.8.0 pytest==3.0.7 terminaltables==3.1.0 uvloop==0.8.0 <|file_sep|>current/requirements-dev.txt aioconsole==0.1.2 aiohttp==1.3.5 docutils==0.13.1 flake8==3.3.0 ipdb==0....
aioconsole==0.1.2 aiohttp==2.0.0 docutils==0.13.1 flake8==3.3.0 ipdb==0.10.2 pytest-cov==2.4.0 pytest-sugar==0.8.0 pytest==3.0.7 terminaltables==3.1.0 uvloop==0.8.0
<|file_sep|>original/requirements-dev.txt aioconsole==0.1.2 aiohttp==1.3.5 docutils==0.13.1 flake8==3.3.0 ipdb==0.10.2 pytest-cov==2.4.0 pytest-sugar==0.8.0 pytest==3.0.7 terminaltables==3.1.0 uvloop==0.8.0 <|file_sep|>current/requirements-dev.txt aioconsole==0.1.2 aiohttp==1.3.5 docutils==0.13.1 flake8==3.3.0 ipdb==0....
d8083c6f63c9edeee145e3b661a2321a2d89cd31
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>original/app/views/admin/projects/_project.html.haml - last_commit = project.last_commit %tr.alert{class: commit_status_alert_class(last_commit) } %td = project.id %td = link_to [:admin, project] do %strong= project.name %td - if last_commit #{last_commit.status} (#{commit_link...
- last_commit = project.last_commit %tr.alert{class: commit_status_alert_class(last_commit) } %td = project.id %td = link_to [:admin, project] do %strong= project.name %td - if last_commit #{last_commit.status} (#{commit_link(last_commit)}) - if project.last_commit_date = tim...
<|file_sep|>original/app/views/admin/projects/_project.html.haml - last_commit = project.last_commit %tr.alert{class: commit_status_alert_class(last_commit) } %td = project.id %td = link_to [:admin, project] do %strong= project.name %td - if last_commit #{last_commit.status} (#{commit_link...
8bf9b7e99a998bb86ee7522e657fced7ee77c025
app/views/admin/projects/_project.html.haml
app/views/admin/projects/_project.html.haml
Haml
<|file_sep|>original/requirements.txt click==7.0 Jinja2==2.11.1 PyYAML==5.3 awscli==1.18.11 requests==2.23.0 boto3==1.12.5 docopt==0.6.2 bcrypt==3.1.7 yq==2.10.0 <|file_sep|>current/requirements.txt click==7.0 Jinja2==2.11.1 PyYAML==5.3 awscli==1.18.11 requests==2.23.0 boto3==1.12.5 docopt==0.6.2 bcrypt==3.1.7 yq==2.10...
click==7.0 Jinja2==2.11.1 PyYAML==5.3 awscli==1.18.11 requests==2.23.0 boto3==1.12.11 docopt==0.6.2 bcrypt==3.1.7 yq==2.10.0
<|file_sep|>original/requirements.txt click==7.0 Jinja2==2.11.1 PyYAML==5.3 awscli==1.18.11 requests==2.23.0 boto3==1.12.5 docopt==0.6.2 bcrypt==3.1.7 yq==2.10.0 <|file_sep|>current/requirements.txt click==7.0 Jinja2==2.11.1 PyYAML==5.3 awscli==1.18.11 requests==2.23.0 boto3==1.12.5 docopt==0.6.2 bcrypt==3.1.7 yq==2.10...
f207aae036d1929d7a03f8fcff322c50a7971d75
requirements.txt
requirements.txt
Text
<|file_sep|>original/setup.py from distutils.core import setup setup( name='pyxdevkit', version='0.1dev', packages=['pyxdevkit',], license='MIT', author='T.J. Corley', author_email='tjcorley30@hotmail.com', description='xdevkit for python.', long_description=open('README.MD').read(), ) ...
from distutils.core import setup setup( name='pyxdevkit', version='0.1dev', packages=['pyxdevkit',], license='MIT', author='T.J. Corley', author_email='tjcorley30@hotmail.com', description='xdevkit for python.', long_description=open('README.md').read(), )
<|file_sep|>original/setup.py from distutils.core import setup setup( name='pyxdevkit', version='0.1dev', packages=['pyxdevkit',], license='MIT', author='T.J. Corley', author_email='tjcorley30@hotmail.com', description='xdevkit for python.', long_description=open('README.MD').read(), ) ...
84c581b61eecc4599bce5bff66276f94a8aa31d7
setup.py
setup.py
Python
<|file_sep|>app/javascript/app/components/button-group/button-group-styles.scss.diff original: border-right: solid 2.5px $border-color; updated: border-right: solid 2.5px $gray3; <|file_sep|>original/app/javascript/app/components/button-group/button-group-styles.scss border-radius: 0 4px 4px 0; } } .disabled...
border-radius: 0 4px 4px 0; } } .disabled { cursor: not-allowed; fill: rgba($theme-color, 0.6); } .button { border: solid 2.5px $gray3; border-radius: 0; border-right: 0; padding: 0; width: 100%; box-shadow: none; fill: $theme-color; min-width: 24px; &.share { height: 45px;
<|file_sep|>app/javascript/app/components/button-group/button-group-styles.scss.diff original: border-right: solid 2.5px $border-color; updated: border-right: solid 2.5px $gray3; <|file_sep|>original/app/javascript/app/components/button-group/button-group-styles.scss border-radius: 0 4px 4px 0; } } .disabled...
9a067ef311c863152e6c8758285f917c9e09a446
app/javascript/app/components/button-group/button-group-styles.scss
app/javascript/app/components/button-group/button-group-styles.scss
SCSS
<|file_sep|>example/drummer/src/historyComponent/reduce.js.diff original: const historyDeleteFrame = (hist, t) => { const newHist = way.clone(hist); newHist.map((ch) => { return ch.splice(t, 1); }); return newHist; }; const historyDuplicateFrame = (hist, t) => { const newHist = way.clone(hist); newHis...
return Object.assign({}, model, { history: way.repeatChannel(model.history, ev.channel), }); } case 'DUPLICATE_HISTORY_FRAME': { return Object.assign({}, model, { history: way.repeatAt(model.history, ev.time) }); } case 'SET_HISTORY_VALUE': { return Object...
<|file_sep|>example/drummer/src/historyComponent/reduce.js.diff original: const historyDeleteFrame = (hist, t) => { const newHist = way.clone(hist); newHist.map((ch) => { return ch.splice(t, 1); }); return newHist; }; const historyDuplicateFrame = (hist, t) => { const newHist = way.clone(hist); newHis...
513024b1add009b895acd5e12f60094f95fb14a7
example/drummer/src/historyComponent/reduce.js
example/drummer/src/historyComponent/reduce.js
JavaScript
<|file_sep|>original/tests/codeception/acceptance/ComFunctionalCept.php <|file_sep|>current/tests/codeception/acceptance/ComFunctionalCept.php <|file_sep|>updated/tests/codeception/acceptance/ComFunctionalCept.php
<?php /* @var $scenario Codeception\Scenario */ $I = new AcceptanceTester($scenario); $I->loadSecrets(); $I->amOnPage('/link/index'); include __DIR__ . '/scripts/ComLoginScript.php'; include __DIR__ . '/scripts/EmptyLinksScript.php'; include __DIR__ . '/scripts/AddLinksScript.php';
<|file_sep|>original/tests/codeception/acceptance/ComFunctionalCept.php <|file_sep|>current/tests/codeception/acceptance/ComFunctionalCept.php <|file_sep|>updated/tests/codeception/acceptance/ComFunctionalCept.php <?php /* @var $scenario Codeception\Scenario */ $I = new AcceptanceTester($scenario); $I->loadSecrets...
16edd47d4fadcf58bec349922e09ee316a8bc23e
tests/codeception/acceptance/ComFunctionalCept.php
tests/codeception/acceptance/ComFunctionalCept.php
PHP
<|file_sep|>original/website/views.py from django.shortcuts import render from news.models import Article, Event from door.models import DoorStatus from datetime import datetime from itertools import chain def index(request): number_of_news = 4 # Sorts the news to show the events nearest in future and then ...
from django.shortcuts import render from news.models import Article, Event from door.models import DoorStatus from datetime import datetime from itertools import chain def index(request): number_of_news = 3 # Sorts the news to show the events nearest in future and then fill in with the newest articles e...
<|file_sep|>original/website/views.py from django.shortcuts import render from news.models import Article, Event from door.models import DoorStatus from datetime import datetime from itertools import chain def index(request): number_of_news = 4 # Sorts the news to show the events nearest in future and then ...
1045c46b48f9599faf85f259c0e9d5e89f11a700
website/views.py
website/views.py
Python
<|file_sep|>package.json.diff original: "express": "3.4.8", updated: "express": "3.21.2", <|file_sep|>original/package.json "scripts": { "test": "echo \"Hello World!\" && exit 0", "start": "node main.js" }, "dependencies": { "colors": "1.1.2", "connect-mongo": "0.8.2", "express": "3.4....
"scripts": { "test": "echo \"Hello World!\" && exit 0", "start": "node main.js" }, "dependencies": { "colors": "1.1.2", "connect-mongo": "0.8.2", "express": "3.21.2", "moment": "^2.10.6", "mongodb": "1.4.19", "nodemailer": "1.7.0", "passport": "0.3.0", "passport-facebook": ...
<|file_sep|>package.json.diff original: "express": "3.4.8", updated: "express": "3.21.2", <|file_sep|>original/package.json "scripts": { "test": "echo \"Hello World!\" && exit 0", "start": "node main.js" }, "dependencies": { "colors": "1.1.2", "connect-mongo": "0.8.2", "express": "3.4....
39c38446e8c3371651e89da0754e0f55352a92ea
package.json
package.json
JSON
<|file_sep|>temp2dash.py.diff original: updated: import os <|file_sep|>temp2dash.py.diff original: updated: import time import traceback <|file_sep|>temp2dash.py.diff original: URL="http://dashing:3030/widgets/inside" SCALE=1.0 OFFSET=-3.0 updated: URL = os.environ['DASHING_URL'] SCALE = float(os.environ['TEMP_SCAL...
temperature, u'\N{DEGREE SIGN}', ), } sys.stdout.write(u'%0.1f%s, ' % ( temperature, u'\N{DEGREE SIGN}', )) sys.stdout.flush() try: post = requests.post(URL, data=json.dumps(payload)) except Exception, err: print "\nException on p...
<|file_sep|>temp2dash.py.diff original: updated: import os <|file_sep|>temp2dash.py.diff original: updated: import time import traceback <|file_sep|>temp2dash.py.diff original: URL="http://dashing:3030/widgets/inside" SCALE=1.0 OFFSET=-3.0 updated: URL = os.environ['DASHING_URL'] SCALE = float(os.environ['TEMP_SCAL...
3f18e4891b64c45fbda9ae88e9b508b5bc2cb03a
temp2dash.py
temp2dash.py
Python
<|file_sep|>original/cmake/FindMySQL.cmake find_path(MYSQL_INCLUDE_DIR NAMES mysql.h PATH_SUFFIXES mysql ) find_library(MYSQL_LIBRARIES NAMES mysqlclient_r ) if(MYSQL_INCLUDE_DIR AND MYSQL_LIBRARIES) set(MYSQL_FOUND ON) endif(MYSQL_INCLUDE_DIR AND MYSQL_LIBRARIES) if(MYSQL_FOUND) if (NOT MYSQL_FIN...
find_path(MYSQL_INCLUDE_DIR NAMES mysql.h PATH_SUFFIXES mysql ) find_library(MYSQL_LIBRARIES NAMES mysqlclient_r PATH_SUFFIXES mysql ) if(MYSQL_INCLUDE_DIR AND MYSQL_LIBRARIES) set(MYSQL_FOUND ON) endif(MYSQL_INCLUDE_DIR AND MYSQL_LIBRARIES) if(MYSQL_FOUND) if (NOT MYSQL_FIND_QUIETLY) ...
<|file_sep|>original/cmake/FindMySQL.cmake find_path(MYSQL_INCLUDE_DIR NAMES mysql.h PATH_SUFFIXES mysql ) find_library(MYSQL_LIBRARIES NAMES mysqlclient_r ) if(MYSQL_INCLUDE_DIR AND MYSQL_LIBRARIES) set(MYSQL_FOUND ON) endif(MYSQL_INCLUDE_DIR AND MYSQL_LIBRARIES) if(MYSQL_FOUND) if (NOT MYSQL_FIN...
28a7f606a575fa14b87bdf90372b5832c6675b2d
cmake/FindMySQL.cmake
cmake/FindMySQL.cmake
CMake
<|file_sep|>original/vim/ftplugin/markdown.vim setlocal spell highlight htmlItalic cterm=italic highlight htmlBold cterm=bold " Highlight words to avoid in tech writing " http://css-tricks.com/words-avoid-educational-writing/ " https://github.com/pengwynn/dotfiles highlight TechWordsToAvoid ctermbg=red ctermfg=white ...
setlocal spell spelllang=en_us set complete+=kspell highlight htmlItalic cterm=italic highlight htmlBold cterm=bold " Highlight words to avoid in tech writing " http://css-tricks.com/words-avoid-educational-writing/ " https://github.com/pengwynn/dotfiles highlight TechWordsToAvoid ctermbg=red ctermfg=white function! ...
<|file_sep|>original/vim/ftplugin/markdown.vim setlocal spell highlight htmlItalic cterm=italic highlight htmlBold cterm=bold " Highlight words to avoid in tech writing " http://css-tricks.com/words-avoid-educational-writing/ " https://github.com/pengwynn/dotfiles highlight TechWordsToAvoid ctermbg=red ctermfg=white ...
498e380cd2523c8fab63a20f16fdb792ce47f241
vim/ftplugin/markdown.vim
vim/ftplugin/markdown.vim
VimL
<|file_sep|>original/.travis.yml language: ruby before_install: gem install bundler bundler_args: --without yard guard benchmarks script: "bundle exec rake ci:metrics" rvm: - 1.9.3 - 2.0.0 - 2.1.2 - ruby-head - rbx-2 matrix: include: - rvm: jruby env: JRUBY_OPTS="$JRUBY_OPTS --debug --1.9" # for ...
language: ruby before_install: "rvm repair all && gem install bundler" bundler_args: --without yard guard benchmarks script: "bundle exec rake ci:metrics" rvm: - 1.9.3 - 2.0.0 - 2.1.2 - ruby-head - rbx-2 matrix: include: - rvm: jruby env: JRUBY_OPTS="$JRUBY_OPTS --debug --1.9" # for simplecov ...
<|file_sep|>original/.travis.yml language: ruby before_install: gem install bundler bundler_args: --without yard guard benchmarks script: "bundle exec rake ci:metrics" rvm: - 1.9.3 - 2.0.0 - 2.1.2 - ruby-head - rbx-2 matrix: include: - rvm: jruby env: JRUBY_OPTS="$JRUBY_OPTS --debug --1.9" # for ...
b57c5a9d0f79c8e906c841cc69a7354122a7d03c
.travis.yml
.travis.yml
YAML
<|file_sep|>original/Casks/vlc.rb class Vlc < Cask homepage 'http://www.videolan.org/vlc/' url 'http://get.videolan.org/vlc/2.1.0/macosx/vlc-2.1.0.dmg' version '2.1.0' sha1 'a28961b75ca445ac8daad7944c71d6dbab0c7397' link 'VLC.app' end <|file_sep|>current/Casks/vlc.rb class Vlc < Cask homepage 'http://www.vi...
class Vlc < Cask homepage 'http://www.videolan.org/vlc/' url 'http://get.videolan.org/vlc/2.1.1/macosx/vlc-2.1.1.dmg' version '2.1.1' sha1 'ef3ded27e0ca622ae2262840ba2d7d05090b0a0c' link 'VLC.app' end
<|file_sep|>original/Casks/vlc.rb class Vlc < Cask homepage 'http://www.videolan.org/vlc/' url 'http://get.videolan.org/vlc/2.1.0/macosx/vlc-2.1.0.dmg' version '2.1.0' sha1 'a28961b75ca445ac8daad7944c71d6dbab0c7397' link 'VLC.app' end <|file_sep|>current/Casks/vlc.rb class Vlc < Cask homepage 'http://www.vi...
424160656eb9516f366c85079b99d9ef625d02ae
Casks/vlc.rb
Casks/vlc.rb
Ruby
<|file_sep|>original/setup.cfg [extract_messages] msgid-bugs-address=lunaryorn@googlemail.com <|file_sep|>current/setup.cfg [extract_messages] msgid-bugs-address=lunaryorn@googlemail.com <|file_sep|>updated/setup.cfg
[egg_info] tag_build = dev tag_date = true [aliases] release = egg_info -RDb '' [extract_messages] msgid-bugs-address=lunaryorn@googlemail.com
<|file_sep|>original/setup.cfg [extract_messages] msgid-bugs-address=lunaryorn@googlemail.com <|file_sep|>current/setup.cfg [extract_messages] msgid-bugs-address=lunaryorn@googlemail.com <|file_sep|>updated/setup.cfg [egg_info] tag_build = dev tag_date = true [aliases] release = egg_info -RDb '' [extract_messages] ms...
b1a800a850b6b03e61313775bde0b2aa14c8466b
setup.cfg
setup.cfg
INI
<|file_sep|>original/dill.gemspec s.version = Dill::VERSION s.authors = ["David Leal"] s.email = ["dleal@mojotech.com"] s.homepage = "https://github.com/mojotech/dill" s.summary = "A set of helpers to ease integration testing" s.description = "See https://github.com/mojotech...
s.name = "dill" s.version = Dill::VERSION s.authors = ["David Leal"] s.email = ["dleal@mojotech.com"] s.homepage = "https://github.com/mojotech/dill" s.summary = "A set of helpers to ease integration testing" s.description = "See https://github.com/mojotech/dill/R...
<|file_sep|>original/dill.gemspec s.version = Dill::VERSION s.authors = ["David Leal"] s.email = ["dleal@mojotech.com"] s.homepage = "https://github.com/mojotech/dill" s.summary = "A set of helpers to ease integration testing" s.description = "See https://github.com/mojotech...
6f111fc1a17f2f8dcccd63067d70967d78cf88b4
dill.gemspec
dill.gemspec
Ruby
<|file_sep|>original/polygerrit-ui/app/services/flags/flags.ts * 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. */ import {Finalizable} from '../registry'; export interface FlagsService...
* See the License for the specific language governing permissions and * limitations under the License. */ import {Finalizable} from '../registry'; export interface FlagsService extends Finalizable { isEnabled(experimentId: string): boolean; enabledExperiments: string[]; } /** * @desc Experiment ids used in G...
<|file_sep|>original/polygerrit-ui/app/services/flags/flags.ts * 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. */ import {Finalizable} from '../registry'; export interface FlagsService...
c923621226e0b5626f00d0bb9d42b7477f321d83
polygerrit-ui/app/services/flags/flags.ts
polygerrit-ui/app/services/flags/flags.ts
TypeScript
<|file_sep|>original/premake4.lua kind "SharedLib" files { "stlsplit.cpp", "*.h" } targetname ("stlsplit") configuration { "linux" } targetextension (".so.1") linkoptions { "-Wl,-soname,libstlsplit.so.1" } postbuildcommands { "ln -sf libstlsplit.so.1 build/libstlsplit.so" } --cleancommands { "rm bui...
kind "SharedLib" files { "stlsplit.cpp", "*.h" } targetname ("stlsplit") configuration { "linux" } targetextension (".so.1") linkoptions { "-Wl,-soname,libstlsplit.so.1" } postbuildcommands { "ln -sf libstlsplit.so.1 build/libstlsplit.so" } --cleancommands { "rm build/libstlsplit.so || :" } config...
<|file_sep|>original/premake4.lua kind "SharedLib" files { "stlsplit.cpp", "*.h" } targetname ("stlsplit") configuration { "linux" } targetextension (".so.1") linkoptions { "-Wl,-soname,libstlsplit.so.1" } postbuildcommands { "ln -sf libstlsplit.so.1 build/libstlsplit.so" } --cleancommands { "rm bui...
c78b7b1f0edc520f52ac3fd907abfeb9eee87fd5
premake4.lua
premake4.lua
Lua