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|>spec/models/section_spec.rb.diff
original:
let(:attrs) { FactoryGirl.attributes_for(:section) }
let(:course) { double("course") }
subject(:section) { Section.new(attrs) }
before do
allow(course).to receive("id"){ 1 }
subject.course_id = course.id
end
updated:
let(:course) { double("Cours... | :course_id => course.id
)}
it { is_expected.to respond_to(:title) }
it { is_expected.to respond_to(:title_url) }
it { is_expected.to respond_to(:description) }
it { is_expected.to respond_to(:position) }
it { is_expected.to respond_to(:course_id) }
it { is_expected.to respond_to(:course) }
it { i... | <|file_sep|>spec/models/section_spec.rb.diff
original:
let(:attrs) { FactoryGirl.attributes_for(:section) }
let(:course) { double("course") }
subject(:section) { Section.new(attrs) }
before do
allow(course).to receive("id"){ 1 }
subject.course_id = course.id
end
updated:
let(:course) { double("Cours... | 0672efb20c7761031473069d8dc356091d617365 | spec/models/section_spec.rb | spec/models/section_spec.rb | Ruby |
<|file_sep|>MonetDB/NT/Mserver.bat.diff
original:
@rem figure out the folder name
@set MONETDB=%~dp0
updated:
@echo off
<|file_sep|>MonetDB/NT/Mserver.bat.diff
original:
@rem remove the final backslash from the path
@set MONETDB=%MONETDB:~0,-1%
updated:
rem figure out the folder name
set MONETDB=%~dp0
<|file_sep|>Monet... | @echo off
rem figure out the folder name
set MONETDB=%~dp0
rem remove the final backslash from the path
set MONETDB=%MONETDB:~0,-1%
rem extend the search path with our EXE and DLL folders
rem we depend on pthreadVCE.dll having been copied to the lib folder
set PATH=%MONETDB%\bin;%MONETDB%\lib;%PATH%
set MONETDBFARM... | <|file_sep|>MonetDB/NT/Mserver.bat.diff
original:
@rem figure out the folder name
@set MONETDB=%~dp0
updated:
@echo off
<|file_sep|>MonetDB/NT/Mserver.bat.diff
original:
@rem remove the final backslash from the path
@set MONETDB=%MONETDB:~0,-1%
updated:
rem figure out the folder name
set MONETDB=%~dp0
<|file_sep|>Monet... | b31738491246f6803d330a8b34cb66836831890f | MonetDB/NT/Mserver.bat | MonetDB/NT/Mserver.bat | Batchfile |
<|file_sep|>original/requirements.txt
Django==1.6.5
django-bootstrap-form==3.1
-e hg+https://bitbucket.org/schinckel/django-weekday-field@6cb823c5e94aad1aa5dd1caad4dd7a5be7391b28#egg=django_weekday_field-dev
elasticsearch==1.0.0
python-social-auth==0.1.26
psycopg2==2.5.3
-e git://github.com/toastdriven/django-haystack.... | Django==1.6.5
django-bootstrap-form==3.1
-e hg+https://bitbucket.org/NaderM/django-weekday-field@6cb823c5e94aad1aa5dd1caad4dd7a5be7391b28#egg=django_weekday_field-dev
elasticsearch==1.0.0
python-social-auth==0.1.26
psycopg2==2.5.3
-e git://github.com/toastdriven/django-haystack.git#egg=django_haystack-master
pypandoc
d... | <|file_sep|>original/requirements.txt
Django==1.6.5
django-bootstrap-form==3.1
-e hg+https://bitbucket.org/schinckel/django-weekday-field@6cb823c5e94aad1aa5dd1caad4dd7a5be7391b28#egg=django_weekday_field-dev
elasticsearch==1.0.0
python-social-auth==0.1.26
psycopg2==2.5.3
-e git://github.com/toastdriven/django-haystack.... | 20d28a47c1a39b5cec5b20094ff8a78b9589d0a9 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/package.json
"main": "index.js",
"version": "1.0.372",
"author": "Tornyi Dénes",
"description": "WebRTC simplier library",
"repository": {
"url": "https://github.com/pinting/TalkJS",
"type": "git"
},
"scripts": {
"preinstall": "npm install -g grun... | "main": "index.js",
"version": "1.0.372",
"author": "Tornyi Dénes",
"description": "WebRTC simplier library",
"repository": {
"url": "https://github.com/pinting/TalkJS",
"type": "git"
},
"scripts": {
"preinstall": "npm install -g grunt-cli"
},
"dependencies": ... | <|file_sep|>original/package.json
"main": "index.js",
"version": "1.0.372",
"author": "Tornyi Dénes",
"description": "WebRTC simplier library",
"repository": {
"url": "https://github.com/pinting/TalkJS",
"type": "git"
},
"scripts": {
"preinstall": "npm install -g grun... | 450db588cc8909593194afaa07f98646ee97d75b | package.json | package.json | JSON |
<|file_sep|>original/app/assets/javascripts/comics_collection.js
(function() {
window.collections.comics = Backbone.Collection.extend({
url: '/comics'
});
})();
<|file_sep|>current/app/assets/javascripts/comics_collection.js
(function() {
window.collections.comics = Backbone.Collection.extend({
url: '/com... | (function() {
window.collections.comics = Backbone.Collection.extend({
url: '/'
});
})(); | <|file_sep|>original/app/assets/javascripts/comics_collection.js
(function() {
window.collections.comics = Backbone.Collection.extend({
url: '/comics'
});
})();
<|file_sep|>current/app/assets/javascripts/comics_collection.js
(function() {
window.collections.comics = Backbone.Collection.extend({
url: '/com... | d2906d68cd6a075d92fa6582918c8497e19c7133 | app/assets/javascripts/comics_collection.js | app/assets/javascripts/comics_collection.js | JavaScript |
<|file_sep|>pkgs/development/libraries/libwebp/default.nix.diff
original:
name = "libwebp-0.1.3";
updated:
name = "libwebp-0.4.0";
<|file_sep|>original/pkgs/development/libraries/libwebp/default.nix
{stdenv, fetchurl, libpng, libjpeg}:
stdenv.mkDerivation rec {
name = "libwebp-0.1.3";
src = fetchurl {
... | {stdenv, fetchurl, libpng, libjpeg}:
stdenv.mkDerivation rec {
name = "libwebp-0.4.0";
src = fetchurl {
url = "http://webp.googlecode.com/files/${name}.tar.gz";
sha256 = "0sadjkx8m6sf064r5gngjvz4b5246q3j27dlaml5b1k3x5vkb49i";
};
buildInputs = [ libpng libjpeg ];
meta = {
homepage = http://code... | <|file_sep|>pkgs/development/libraries/libwebp/default.nix.diff
original:
name = "libwebp-0.1.3";
updated:
name = "libwebp-0.4.0";
<|file_sep|>original/pkgs/development/libraries/libwebp/default.nix
{stdenv, fetchurl, libpng, libjpeg}:
stdenv.mkDerivation rec {
name = "libwebp-0.1.3";
src = fetchurl {
... | a01f279d2e1b7cffd1cee29ae555d5ddedfa9b73 | pkgs/development/libraries/libwebp/default.nix | pkgs/development/libraries/libwebp/default.nix | Nix |
<|file_sep|>RELEASE-NOTES.md.diff
original:
### Featurs
updated:
### Features
* Added support for [DataMember] attributes on properties, whereas previously on fields were supported. #87.
<|file_sep|>original/RELEASE-NOTES.md
# rethinkdb-net Release Notes
## Unreleased
### Featurs
* Updated order-by API using .Orde... | # rethinkdb-net Release Notes
## Unreleased
### Features
* Added support for [DataMember] attributes on properties, whereas previously on fields were supported. #87.
* Updated order-by API using .OrderBy, .OrderByDescending, .ThenBy, and .ThenByDescending is compatible with LINQ .NET syntax.
* Added Query.Where()... | <|file_sep|>RELEASE-NOTES.md.diff
original:
### Featurs
updated:
### Features
* Added support for [DataMember] attributes on properties, whereas previously on fields were supported. #87.
<|file_sep|>original/RELEASE-NOTES.md
# rethinkdb-net Release Notes
## Unreleased
### Featurs
* Updated order-by API using .Orde... | 78daf46fa099a0c862d571357205c57e33a16852 | RELEASE-NOTES.md | RELEASE-NOTES.md | Markdown |
<|file_sep|>original/lib/zanders/base.rb
params.each do |param|
if param.is_a?(Array)
raise ArgumentError.new("Missing required parameter: #{param.first}") unless hash.has_key?(param.first)
valid_options = param[1..-1]
raise ArgumentError.new("Parameter: #{param.first} must ... | end
end
# Instance methods become class methods through inheritance
def connect(options)
self.class.connect(options) do |ftp|
yield ftp
end
end
def content_for(xml_doc, field)
node = xml_doc.css(field).first
if node.nil?
nil
else
if node... | <|file_sep|>original/lib/zanders/base.rb
params.each do |param|
if param.is_a?(Array)
raise ArgumentError.new("Missing required parameter: #{param.first}") unless hash.has_key?(param.first)
valid_options = param[1..-1]
raise ArgumentError.new("Parameter: #{param.first} must ... | d6c9ba2865fbfb240d38c5ce7358b54e18868071 | lib/zanders/base.rb | lib/zanders/base.rb | Ruby |
<|file_sep|>app/views/books/show.html.erb.diff
original:
<ol class='frontmatter'>
<% @frontmatter.each do |chapter| %>
<li><%= link_to chapter.title, [@book, chapter] %></li>
<% end %>
</ol>
updated:
<%= link_to "All notes for this book", book_notes_path(@book) %>
<hr>
<|fi... | <div class='col-md-7 content'>
<h1><%= @book.title %></h1>
<%= link_to "All notes for this book", book_notes_path(@book) %>
<hr>
<h3>Frontmatter</h3>
<ol class='frontmatter'>
<% @frontmatter.each do |chapter| %>
<li><%= link_to chapter.title, [@book, chapter] %></li>
<% end %... | <|file_sep|>app/views/books/show.html.erb.diff
original:
<ol class='frontmatter'>
<% @frontmatter.each do |chapter| %>
<li><%= link_to chapter.title, [@book, chapter] %></li>
<% end %>
</ol>
updated:
<%= link_to "All notes for this book", book_notes_path(@book) %>
<hr>
<|fi... | a03cdb9597f1f4156df8e2e19188a3cf60d5964d | app/views/books/show.html.erb | app/views/books/show.html.erb | HTML+ERB |
<|file_sep|>Components/team.jsx.diff
original:
updated:
var position = {
keepers : [],
defenders : [],
midfields : [],
forwards : []
}
<|file_sep|>Components/team.jsx.diff
original:
var playerLists;
updated:
var f = _.chain(this.props.selectPlayers.players).groupBy('position').pair... | console.log(f)
/*
playerLists = this.props.selectPlayers.players.map(function(p) {
return (<li>{p.name}</li>)
}.bind(this));*/
return (
<div>
<h3>{this.props.data.name}</h3>
<ul className="list-unstyled">
... | <|file_sep|>Components/team.jsx.diff
original:
updated:
var position = {
keepers : [],
defenders : [],
midfields : [],
forwards : []
}
<|file_sep|>Components/team.jsx.diff
original:
var playerLists;
updated:
var f = _.chain(this.props.selectPlayers.players).groupBy('position').pair... | 7a88ce0d8014e4db61473c7c1e57d33f8d016dd7 | Components/team.jsx | Components/team.jsx | JSX |
<|file_sep|>original/playbooks/roles/desktop/tasks/install_desktop_packages.yml
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF ... | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWAR... | <|file_sep|>original/playbooks/roles/desktop/tasks/install_desktop_packages.yml
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF ... | a3f6ade709621872adeeadf6095399808dc3eba7 | playbooks/roles/desktop/tasks/install_desktop_packages.yml | playbooks/roles/desktop/tasks/install_desktop_packages.yml | YAML |
<|file_sep|>original/app/js/services/modalhandler.js
'use strict';
/*
* Simple wrapper around $ionicPopup for modals and alerts and such
*/
var modalhandler = angular.module('modalhandler', []);
modalhandler.factory('modalFactory', function(i$ionicPopup) {
return {}
});
<|file_sep|>current/app/js/services/mod... | 'use strict';
/*
* Simple wrapper around $ionicPopup for modals and alerts and such
*/
var modalhandler = angular.module('modalhandler', []);
modalhandler.factory('modalFactory', function(i$ionicPopup) {
return {
alert: function (title, template) {
return $ionicPopup.alert({
... | <|file_sep|>original/app/js/services/modalhandler.js
'use strict';
/*
* Simple wrapper around $ionicPopup for modals and alerts and such
*/
var modalhandler = angular.module('modalhandler', []);
modalhandler.factory('modalFactory', function(i$ionicPopup) {
return {}
});
<|file_sep|>current/app/js/services/mod... | 40ee6a7448bdad262cf62fdab69a44a14b6d2352 | app/js/services/modalhandler.js | app/js/services/modalhandler.js | JavaScript |
<|file_sep|>source/ceylon/build/engine/console.ceylon.diff
original:
import ceylon.collection { LinkedList }
updated:
import ceylon.collection { HashMap }
<|file_sep|>original/source/ceylon/build/engine/console.ceylon
import ceylon.build.task { Goal, GoalSet }
import ceylon.collection { LinkedList }
"An interactive ... | import ceylon.build.task { Goal, GoalSet }
import ceylon.collection { HashMap }
"An interactive console."
void console({<Goal|GoalSet>+} goals) {
value exitMessages = HashMap<Integer, String>({
exitCodes.success->"Success",
exitCodes.dependencyCycleFound->"Dependency Cycle Found",
exitCodes... | <|file_sep|>source/ceylon/build/engine/console.ceylon.diff
original:
import ceylon.collection { LinkedList }
updated:
import ceylon.collection { HashMap }
<|file_sep|>original/source/ceylon/build/engine/console.ceylon
import ceylon.build.task { Goal, GoalSet }
import ceylon.collection { LinkedList }
"An interactive ... | b61cf79d80014741f4c690c3c858204e88534b68 | source/ceylon/build/engine/console.ceylon | source/ceylon/build/engine/console.ceylon | Ceylon |
<|file_sep|>src/FlexEnvServiceProvider.php.diff
original:
$this->app['env:set'] = $this->app->share(function () {
return new Commands\SetEnv();
});
$this->app['env:get'] = $this->app->share(function () {
return new Commands\GetEnv();
});
$this->app['env:... | //
}
/**
* Register the application services.
*
* @return void
*/
public function register()
{
$this->commands([
Commands\SetEnv::class,
Commands\GetEnv::class,
Commands\DeleteEnv::class,
Commands\ListEnv::class,
... | <|file_sep|>src/FlexEnvServiceProvider.php.diff
original:
$this->app['env:set'] = $this->app->share(function () {
return new Commands\SetEnv();
});
$this->app['env:get'] = $this->app->share(function () {
return new Commands\GetEnv();
});
$this->app['env:... | ee2c78da8e886e7874c98121ddb17e9ff7904409 | src/FlexEnvServiceProvider.php | src/FlexEnvServiceProvider.php | PHP |
<|file_sep|>original/src/Neblion/ScrumBundle/Controller/ResettingController.php
<|file_sep|>current/src/Neblion/ScrumBundle/Controller/ResettingController.php
<|file_sep|>updated/src/Neblion/ScrumBundle/Controller/ResettingController.php | <?php
namespace Neblion\ScrumBundle\Controller;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\Security\Core\Exception\AccessDeniedException;
use FOS\UserBundle\Controller\ResettingController as BaseController;
use FOS\UserBundle\Model\UserInterface;
/**
* Controller managing the passw... | <|file_sep|>original/src/Neblion/ScrumBundle/Controller/ResettingController.php
<|file_sep|>current/src/Neblion/ScrumBundle/Controller/ResettingController.php
<|file_sep|>updated/src/Neblion/ScrumBundle/Controller/ResettingController.php
<?php
namespace Neblion\ScrumBundle\Controller;
use Symfony\Component\HttpFoun... | c1cf1610fac0fc9ce894bd66cec9254f21c9fde7 | src/Neblion/ScrumBundle/Controller/ResettingController.php | src/Neblion/ScrumBundle/Controller/ResettingController.php | PHP |
<|file_sep|>original/lib/util/lamearecord.py
<|file_sep|>current/lib/util/lamearecord.py
<|file_sep|>updated/lib/util/lamearecord.py | # coding: utf-8
import os
import re
import shlex
from subprocess import Popen, PIPE
def available_devices():
devices =[]
os.environ['LANG'] = 'C'
command = 'arecord -l'
arecord_l = Popen(shlex.split(command), stdout=PIPE, stderr=PIPE)
arecord_l.wait()
if arecord_l.returncode != 0:
p... | <|file_sep|>original/lib/util/lamearecord.py
<|file_sep|>current/lib/util/lamearecord.py
<|file_sep|>updated/lib/util/lamearecord.py
# coding: utf-8
import os
import re
import shlex
from subprocess import Popen, PIPE
def available_devices():
devices =[]
os.environ['LANG'] = 'C'
command = 'arecord -l'
... | e38211248504bb87b73775e0157a7e1d2dace6ed | lib/util/lamearecord.py | lib/util/lamearecord.py | Python |
<|file_sep|>original/spec/integration/console_spec.rb
describe "A request sent to CloudStack for console access", :vcr do
let(:config_hash) do
{
url: CONFIG['url'],
api_key: CONFIG['api_key'],
secret_key: CONFIG['secret_key']
}
end
let(:client) do
StackerBee::Client.new(co... | describe "A request sent to CloudStack for console access", :vcr do
let(:config_hash) do
{
url: CONFIG['url'],
api_key: CONFIG['api_key'],
secret_key: CONFIG['secret_key']
}
end
let(:client) do
StackerBee::Client.new(config_hash)
end
let(:vm) { "36f9c08b-f17a-4d0e-ac9... | <|file_sep|>original/spec/integration/console_spec.rb
describe "A request sent to CloudStack for console access", :vcr do
let(:config_hash) do
{
url: CONFIG['url'],
api_key: CONFIG['api_key'],
secret_key: CONFIG['secret_key']
}
end
let(:client) do
StackerBee::Client.new(co... | 2058978664a6193ba1b94984d3242d822ab59603 | spec/integration/console_spec.rb | spec/integration/console_spec.rb | Ruby |
<|file_sep|>original/requirements/doc.txt
sphinx==1.6.2
alagitpull==0.0.5
releases==1.3.1
<|file_sep|>current/requirements/doc.txt
sphinx==1.6.2
alagitpull==0.0.5
releases==1.3.1
<|file_sep|>updated/requirements/doc.txt | sphinx==1.6.2
alagitpull==0.0.9
releases==1.3.1 | <|file_sep|>original/requirements/doc.txt
sphinx==1.6.2
alagitpull==0.0.5
releases==1.3.1
<|file_sep|>current/requirements/doc.txt
sphinx==1.6.2
alagitpull==0.0.5
releases==1.3.1
<|file_sep|>updated/requirements/doc.txt
sphinx==1.6.2
alagitpull==0.0.9
releases==1.3.1 | 065bf3bca446442cb38fe4bd9dc37389e70cafde | requirements/doc.txt | requirements/doc.txt | Text |
<|file_sep|>original/composer.json
"url": "https://github.com/magento/marketplace-eqp"
}
],
"autoload": {
"psr-4": {
"Nosto\\": "src"
},
"files": [
"src/bootstrap.php"
]
},
"autoload-dev": {
"classmap": [
"tests/"
]
},
"require": {
"phpseclib/phpseclib... | "url": "https://github.com/magento/marketplace-eqp"
}
],
"autoload": {
"psr-4": {
"Nosto\\": "src"
},
"files": [
"src/bootstrap.php"
]
},
"autoload-dev": {
"classmap": [
"tests/"
]
},
"require": {
"phpseclib/phpseclib": "2.0.5",
"vlucas/phpdotenv":... | <|file_sep|>original/composer.json
"url": "https://github.com/magento/marketplace-eqp"
}
],
"autoload": {
"psr-4": {
"Nosto\\": "src"
},
"files": [
"src/bootstrap.php"
]
},
"autoload-dev": {
"classmap": [
"tests/"
]
},
"require": {
"phpseclib/phpseclib... | e1c74e091a5a152147cc1396d339379c71810b81 | composer.json | composer.json | JSON |
<|file_sep|>original/test/common.js
var odbc = require("../");
//odbc.library = '/usr/lib/odbc/libsqlite3odbc-0.91';
//odbc.library = '/usr/lib/x86_64-linux-gnu/odbc/libtdsodbc';
exports.connectionString = "DRIVER={SQLite3};DATABASE=data/sqlite-test.db";
//exports.connectionString = "DRIVER={MySQL};DATABASE=test;HOST=... | var odbc = require("../");
//odbc.library = '/usr/lib/odbc/libsqlite3odbc-0.91';
//odbc.library = '/usr/lib/x86_64-linux-gnu/odbc/libtdsodbc';
//odbc.library = '/opt/sqlncli-11.0.1790.0/lib64/libsqlncli-11.0';
exports.connectionString = "DRIVER={SQLite3};DATABASE=data/sqlite-test.db";
//exports.connectionString = "DRI... | <|file_sep|>original/test/common.js
var odbc = require("../");
//odbc.library = '/usr/lib/odbc/libsqlite3odbc-0.91';
//odbc.library = '/usr/lib/x86_64-linux-gnu/odbc/libtdsodbc';
exports.connectionString = "DRIVER={SQLite3};DATABASE=data/sqlite-test.db";
//exports.connectionString = "DRIVER={MySQL};DATABASE=test;HOST=... | d47c2c8aead44a4f2304b62ea0b5e6a49e60155f | test/common.js | test/common.js | JavaScript |
<|file_sep|>original/rdmo/questions/static/questions/css/catalogs.scss
.modal table {
margin-bottom: 5px;
}
.panel-sites {
ul {
margin: 0;
}
}
<|file_sep|>current/rdmo/questions/static/questions/css/catalogs.scss
.modal table {
margin-bottom: 5px;
}
.panel-sites {
ul {
margin: 0;
... | .modal table {
margin-bottom: 5px;
}
.panel-sites {
ul {
margin: 0;
}
}
.panel-section {
margin-left: 20px;
}
.panel-questionset {
margin-left: 40px;
} | <|file_sep|>original/rdmo/questions/static/questions/css/catalogs.scss
.modal table {
margin-bottom: 5px;
}
.panel-sites {
ul {
margin: 0;
}
}
<|file_sep|>current/rdmo/questions/static/questions/css/catalogs.scss
.modal table {
margin-bottom: 5px;
}
.panel-sites {
ul {
margin: 0;
... | 286bf869658faf3443d8a776878816255d66c32d | rdmo/questions/static/questions/css/catalogs.scss | rdmo/questions/static/questions/css/catalogs.scss | SCSS |
<|file_sep|>original/config/services.php
| This file is for storing the credentials for third party services such
| as Stripe, Mailgun, SparkPost and others. This file provides a sane
| default location for this type of information, allowing packages
| to have a conventional place to find your various c... | | This file is for storing the credentials for third party services such
| as Stripe, Mailgun, SparkPost and others. This file provides a sane
| default location for this type of information, allowing packages
| to have a conventional place to find your various credentials.
|
*/
'mailgun' =... | <|file_sep|>original/config/services.php
| This file is for storing the credentials for third party services such
| as Stripe, Mailgun, SparkPost and others. This file provides a sane
| default location for this type of information, allowing packages
| to have a conventional place to find your various c... | dfe5afa71bb4edc0be2b03d71f2e3e5e4652c94a | config/services.php | config/services.php | PHP |
<|file_sep|>original/buildSrc/src/main/java/io/wax911/emoji/buildSrc/common/Versions.kt
package io.wax911.emoji.buildSrc.common
object Versions {
const val compileSdk = 29
const val targetSdk = 29
const val minSdk = 21
const val versionCode = 15401
const val versionName = "1.5.4-alpha01"
con... | package io.wax911.emoji.buildSrc.common
object Versions {
const val compileSdk = 29
const val targetSdk = 29
const val minSdk = 21
const val versionCode = 16001
const val versionName = "1.6.0-alpha01"
const val mockk = "1.10.0"
const val junit = "4.13"
const val timber = "4.7.1"
} | <|file_sep|>original/buildSrc/src/main/java/io/wax911/emoji/buildSrc/common/Versions.kt
package io.wax911.emoji.buildSrc.common
object Versions {
const val compileSdk = 29
const val targetSdk = 29
const val minSdk = 21
const val versionCode = 15401
const val versionName = "1.5.4-alpha01"
con... | d14413f01de63ba6e539d2a846e6f79a076dd70c | buildSrc/src/main/java/io/wax911/emoji/buildSrc/common/Versions.kt | buildSrc/src/main/java/io/wax911/emoji/buildSrc/common/Versions.kt | Kotlin |
<|file_sep|>original/appveyor.yml
install:
- nuget restore
build:
project: hub-nuget.sln
verbosity: detailed
on_success:
- nuget install Hub-Nuget -Version 1.0.0
- Hub-NuGet.1.0.0\tools\buildBom.exe --hub_deploy_bdio=false
- curl -s https://copilot.blackducksoftware.com/batch/appveyor > appveyor.bat
- app... | install:
- nuget restore
build:
project: hub-nuget.sln
verbosity: detailed
on_success:
- nuget install Hub-Nuget -Version 1.1.0
- Hub-NuGet.1.1.0\tools\buildBom.exe --hub_deploy_bdio=false --hub_create_merged_bdio=true
- curl -s https://copilot.blackducksoftware.com/batch/appveyor > appveyor.bat
- appveyor | <|file_sep|>original/appveyor.yml
install:
- nuget restore
build:
project: hub-nuget.sln
verbosity: detailed
on_success:
- nuget install Hub-Nuget -Version 1.0.0
- Hub-NuGet.1.0.0\tools\buildBom.exe --hub_deploy_bdio=false
- curl -s https://copilot.blackducksoftware.com/batch/appveyor > appveyor.bat
- app... | b806a96b52ac5ccd2d8c29f473d711dd2e1457aa | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>gost.go.diff
original:
updated:
"fmt"
<|file_sep|>gost.go.diff
original:
updated:
"os"
<|file_sep|>gost.go.diff
original:
var gistPrivateFlag = flag.Bool("private", false, "Tells if the gist is private")
updated:
var gistPrivateFlag = flag.Bool("private", false, "Set gist to private")
<|file_sep|>gost.g... | if (flag.NFlag() == 0) && (len(flag.Args()) == 0) {
fmt.Println("No arguments or files given!")
fmt.Fprintf(os.Stderr, "Usage of %s:\n", os.Args[0])
flag.PrintDefaults()
os.Exit(2)
}
if *listGistsFlag != "" {
username := *listGistsFlag
url := baseUrl + "users/" + username + "/gists"
Gist.List(url)
} ... | <|file_sep|>gost.go.diff
original:
updated:
"fmt"
<|file_sep|>gost.go.diff
original:
updated:
"os"
<|file_sep|>gost.go.diff
original:
var gistPrivateFlag = flag.Bool("private", false, "Tells if the gist is private")
updated:
var gistPrivateFlag = flag.Bool("private", false, "Set gist to private")
<|file_sep|>gost.g... | 0f8f060cef86344634d7cb185fdf26a51a240474 | gost.go | gost.go | Go |
<|file_sep|>original/spec/cli_spec.rb
require 'spec_helper'
describe 'bundle executable' do
it 'returns non-zero exit status when passed unrecognized options' do
mami '--invalid_argument'
expect(err).to include('Unknown switches')
end
end
describe 'common case' do
it 'returns common output' do
mami ... | require 'spec_helper'
describe 'bundle executable' do
it 'returns non-zero exit status when passed unrecognized options' do
mami '--invalid_argument'
expect(err).to include('Unknown switches')
end
end
describe 'common case' do
before do
ENV['MAMI_DIR'] = "/path/to/mami"
end
it 'returns common o... | <|file_sep|>original/spec/cli_spec.rb
require 'spec_helper'
describe 'bundle executable' do
it 'returns non-zero exit status when passed unrecognized options' do
mami '--invalid_argument'
expect(err).to include('Unknown switches')
end
end
describe 'common case' do
it 'returns common output' do
mami ... | 13b2f0dfce704f63c59190b39d884638342ee705 | spec/cli_spec.rb | spec/cli_spec.rb | Ruby |
<|file_sep|>original/README.md
# Hexflex
Hexflex is a Ruby gem and command-line tool for automatically generating
[hexaflexagon] templates.
## Installation
gem install 'hexaflexa'
...or you can put it in your Gemfile.
## Usage
hexflex BACKGROUND BACKGROUND BACKGROUND OUTPUT_FILE
Where `BACKGROUND` can be... | [](https://travis-ci.org/aauthor/hexflex)
# Hexflex
Hexflex is a Ruby gem and command-line tool for automatically generating
[hexaflexagon] templates.
## Installation
gem install 'hexaflexa'
...or you can put it in your Gemfile.
## Usage
... | <|file_sep|>original/README.md
# Hexflex
Hexflex is a Ruby gem and command-line tool for automatically generating
[hexaflexagon] templates.
## Installation
gem install 'hexaflexa'
...or you can put it in your Gemfile.
## Usage
hexflex BACKGROUND BACKGROUND BACKGROUND OUTPUT_FILE
Where `BACKGROUND` can be... | 0b4e679b1b5051ec8a55cc4ce5b888413e6f8271 | README.md | README.md | Markdown |
<|file_sep|>original/lib/travis/nightly_builder/views/_build_request.slim
option value=""
option value="freebsd" FreeBSD
option value="osx" macOS
option value="linux" selected="true" Linux (Ubuntu)
td
select name="dist"
option value="" selected="true"
... | option value="freebsd" FreeBSD
option value="osx" macOS
option value="linux" selected="true" Linux (Ubuntu)
td
select name="dist"
option value="" selected="true"
option value="bionic" Ubuntu Bionic (18.04)
option value="xenial" Ubuntu Xenial (16.... | <|file_sep|>original/lib/travis/nightly_builder/views/_build_request.slim
option value=""
option value="freebsd" FreeBSD
option value="osx" macOS
option value="linux" selected="true" Linux (Ubuntu)
td
select name="dist"
option value="" selected="true"
... | 2409500940e384f037a323f0ebf8d769d1a80901 | lib/travis/nightly_builder/views/_build_request.slim | lib/travis/nightly_builder/views/_build_request.slim | Slim |
<|file_sep|>test/functional/cucumber/step_definitions/commonSteps.js.diff
original:
updated:
passwordBox = element.all(by.id('txt-pwd'));
loginButton = element.all(by.css('.login-button'))
<|file_sep|>test/functional/cucumber/step_definitions/commonSteps.js.diff
original:
updated:
<|file_sep|>test/f... | this.Given(/^that I am at the HMDA homepage$/, function(next) {
passwordBox = element.all(by.id('txt-pwd'));
loginButton = element.all(by.css('.login-button'))
browser.get('http://dev.hmda-pilot.ec2.devis.com/#/');
//Prevents 'are you sure you want to leave?' window from popping up... | <|file_sep|>test/functional/cucumber/step_definitions/commonSteps.js.diff
original:
updated:
passwordBox = element.all(by.id('txt-pwd'));
loginButton = element.all(by.css('.login-button'))
<|file_sep|>test/functional/cucumber/step_definitions/commonSteps.js.diff
original:
updated:
<|file_sep|>test/f... | d7e2221203de3f69a952ae02562d8e6556ae1087 | test/functional/cucumber/step_definitions/commonSteps.js | test/functional/cucumber/step_definitions/commonSteps.js | JavaScript |
<|file_sep|>original/terraform/queues.tf
extract_still = 60,
ingest_finished_job = 30,
ingest_status_job = 30,
ingest = 300,
master_file_management_delete = 30,
master_file_management_move = 60,
reindex ... | extract_still = 60,
ingest_finished_job = 30,
ingest_status_job = 30,
ingest = 300,
master_file_management_delete = 30,
master_file_management_move = 60,
reindex = 43200,
s3_split ... | <|file_sep|>original/terraform/queues.tf
extract_still = 60,
ingest_finished_job = 30,
ingest_status_job = 30,
ingest = 300,
master_file_management_delete = 30,
master_file_management_move = 60,
reindex ... | 7dbd32bb9da327f1ce307d307565119cfd211cc9 | terraform/queues.tf | terraform/queues.tf | HCL |
<|file_sep|>original/app/view/twig/email/pingtest.twig
<p style="color: #204460;"><strong>This is a test e-mail from Bolt!</strong></p>
<p></p>
<p>
This was sent from the Bolt site with the name {{ sitename }} and the IP
address of {{ ip }}, by the user {{ user }}
</p>
<|file_sep|>current/app/view/twig/email/pi... | <p style="color: #204460;"><strong>This is a test e-mail from Bolt!</strong></p>
<p></p>
<p>
This was sent from the Bolt site with the following details:
<table>
<tr><td><b>Site title</b></td><td>{{ sitename }}</td></tr>
<tr><td><b>User name</b></td><td>{{ user }}</td></tr>
<tr><td><b>IP address<... | <|file_sep|>original/app/view/twig/email/pingtest.twig
<p style="color: #204460;"><strong>This is a test e-mail from Bolt!</strong></p>
<p></p>
<p>
This was sent from the Bolt site with the name {{ sitename }} and the IP
address of {{ ip }}, by the user {{ user }}
</p>
<|file_sep|>current/app/view/twig/email/pi... | 2088c985047c7997ed73da4b4a38cca9dba8d292 | app/view/twig/email/pingtest.twig | app/view/twig/email/pingtest.twig | Twig |
<|file_sep|>request.go.diff
original:
updated:
"encoding/json"
<|file_sep|>original/request.go
// through Request. Every Request has it's own Context providing a key-value store to share
// data between multiple Handlers. In case that the Route handling the Request has parameters, the parameter
// values are extracte... | Context *Context
// Key-value store containing named parameter values extracted from
// the Request's path. See Route.
Params Params
// Sanitized http.Request.URL.Path
SanitizedPath string
}
// JSON parses the request's body using the encoding/json Decoder. In case
// of a decoding error the error is returned.... | <|file_sep|>request.go.diff
original:
updated:
"encoding/json"
<|file_sep|>original/request.go
// through Request. Every Request has it's own Context providing a key-value store to share
// data between multiple Handlers. In case that the Route handling the Request has parameters, the parameter
// values are extracte... | 255d2e7c71a9812127ab3bef421397d1815576ba | request.go | request.go | Go |
<|file_sep|>original/modes/flycheck-conf.el
;;; flycheck-conf.el -- Configuration for flycheck.
;;
;;; Commentary:
;;
;;; Code:
(require 'flycheck)
(custom-set-variables
'(flycheck-disabled-checkers '(javascript-gjslint))
'(flycheck-standard-error-navigation nil))
;;; flycheck-conf.el ends here
<|file_sep|>current/... | ;;; flycheck-conf.el -- Configuration for flycheck.
;;
;;; Commentary:
;;
;;; Code:
(require 'flycheck)
(custom-set-variables
'(flycheck-disabled-checkers '(javascript-gjslint))
'(flycheck-emacs-lisp-load-path 'inherit)
'(flycheck-standard-error-navigation nil))
;;; flycheck-conf.el ends here | <|file_sep|>original/modes/flycheck-conf.el
;;; flycheck-conf.el -- Configuration for flycheck.
;;
;;; Commentary:
;;
;;; Code:
(require 'flycheck)
(custom-set-variables
'(flycheck-disabled-checkers '(javascript-gjslint))
'(flycheck-standard-error-navigation nil))
;;; flycheck-conf.el ends here
<|file_sep|>current/... | fddee40fc1a476b7079a8cbc449a6c4f43ffca86 | modes/flycheck-conf.el | modes/flycheck-conf.el | Emacs Lisp |
<|file_sep|>original/spec/lib/task-data/schemas/install-coreos-spec.js
var canonical = {
"profile": "install-coreos.ipxe",
"installScript": "install-coreos.sh",
"installScriptUri": "http://172.31.128.9090/api/current/templates/install-coreos.sh",
"version": "current",
"repo":... | var canonical = {
"profile": "install-coreos.ipxe",
"installScript": "install-coreos.sh",
"installScriptUri": "http://172.31.128.9090/api/current/templates/install-coreos.sh",
"version": "current",
"repo": "http://172.31.128.1:9080/coreos/current",
"hostname": "rackhd... | <|file_sep|>original/spec/lib/task-data/schemas/install-coreos-spec.js
var canonical = {
"profile": "install-coreos.ipxe",
"installScript": "install-coreos.sh",
"installScriptUri": "http://172.31.128.9090/api/current/templates/install-coreos.sh",
"version": "current",
"repo":... | 74bc1f0f28969cf4f1c5be86da03306fc49a943d | spec/lib/task-data/schemas/install-coreos-spec.js | spec/lib/task-data/schemas/install-coreos-spec.js | JavaScript |
<|file_sep|>original/src/Web/Twig/TwigResponseServiceProvider.php
class TwigResponseServiceProvider implements ServiceProviderInterface, EventSubscriberInterface {
public function onResponse(FilterResponseEvent $event) {
$response = $event->getResponse();
if (!$response instanceof TwigResponse) {
return;
}
... | class TwigResponseServiceProvider implements ServiceProviderInterface, EventSubscriberInterface {
public function onResponse(FilterResponseEvent $event) {
$response = $event->getResponse();
if (!$response instanceof TwigResponse) {
return;
}
/** @var \Twig_Environment $twig */
$twig = $this->app['twig'];... | <|file_sep|>original/src/Web/Twig/TwigResponseServiceProvider.php
class TwigResponseServiceProvider implements ServiceProviderInterface, EventSubscriberInterface {
public function onResponse(FilterResponseEvent $event) {
$response = $event->getResponse();
if (!$response instanceof TwigResponse) {
return;
}
... | 2f0419d10f555c97209ba8d2e857ea90ce2ae86f | src/Web/Twig/TwigResponseServiceProvider.php | src/Web/Twig/TwigResponseServiceProvider.php | PHP |
<|file_sep|>guice/common/src/main/java/com/peterphi/std/guice/restclient/resteasy/impl/TracingClientRequestFilter.java.diff
original:
updated:
import org.apache.log4j.Logger;
<|file_sep|>guice/common/src/main/java/com/peterphi/std/guice/restclient/resteasy/impl/TracingClientRequestFilter.java.diff
original:
updated:
... | public void filter(final ClientRequestContext requestContext) throws IOException
{
final String traceId = Tracing.log("HTTP:req", () -> "" + requestContext.getUri());
if (traceId != null)
{
if (requestContext.getHeaders().containsKey(TracingConstants.HTTP_HEADER_CORRELATION_ID))
log.warn("Duplicate call... | <|file_sep|>guice/common/src/main/java/com/peterphi/std/guice/restclient/resteasy/impl/TracingClientRequestFilter.java.diff
original:
updated:
import org.apache.log4j.Logger;
<|file_sep|>guice/common/src/main/java/com/peterphi/std/guice/restclient/resteasy/impl/TracingClientRequestFilter.java.diff
original:
updated:
... | 65b8ec176deae2aea940a8d3c989ff7a37f440c9 | guice/common/src/main/java/com/peterphi/std/guice/restclient/resteasy/impl/TracingClientRequestFilter.java | guice/common/src/main/java/com/peterphi/std/guice/restclient/resteasy/impl/TracingClientRequestFilter.java | Java |
<|file_sep|>original/saleor/static/less/style.less
.product-gallery {
margin-top: @grid-gutter-width;
}
.product-related {
.active {
border: 1px solid @btn-primary-border;
box-shadow: 0 0 5px @btn-primary-border;
}
}
.product-form {
.btn-group {
display: block;
overflow: hidden;
.btn-default.active {
... | .product-related {
.active {
border: 1px solid @btn-primary-border;
box-shadow: 0 0 5px @btn-primary-border;
}
}
.product-form {
.btn-group {
display: block;
overflow: hidden;
.btn-default.active {
.btn-primary;
}
}
}
.form-group.required .control-label:after{
content: '*';
} | <|file_sep|>original/saleor/static/less/style.less
.product-gallery {
margin-top: @grid-gutter-width;
}
.product-related {
.active {
border: 1px solid @btn-primary-border;
box-shadow: 0 0 5px @btn-primary-border;
}
}
.product-form {
.btn-group {
display: block;
overflow: hidden;
.btn-default.active {
... | 3bd32d98081b302a602905a50ffa395a6f4c1c1d | saleor/static/less/style.less | saleor/static/less/style.less | Less |
<|file_sep|>original/package.json
"webpack"
],
"author": {
"name": "Francis Besset (@francisbesset)"
},
"bugs": {
"url": "https://github.com/francisbesset/font-awesome-sass-loader/issues"
},
"dependencies": {
"css-loader": "*",
"sass-loader": "*",
"style-loader": "*"
},
"peerDepe... | "webpack"
],
"author": {
"name": "Francis Besset (@francisbesset)"
},
"bugs": {
"url": "https://github.com/francisbesset/font-awesome-sass-loader/issues"
},
"dependencies": {
"css-loader": "*",
"sass-loader": "*",
"style-loader": "*"
},
"peerDependencies": {
"font-awesome": "... | <|file_sep|>original/package.json
"webpack"
],
"author": {
"name": "Francis Besset (@francisbesset)"
},
"bugs": {
"url": "https://github.com/francisbesset/font-awesome-sass-loader/issues"
},
"dependencies": {
"css-loader": "*",
"sass-loader": "*",
"style-loader": "*"
},
"peerDepe... | b63e3ddd68f55e09c895d8c7f4244e92e09a33f5 | package.json | package.json | JSON |
<|file_sep|>original/requirements.txt
mock==1.3.0
nose==1.3.7
pbr==1.8.1
pyasn1==0.1.9
pyasn1-modules==0.0.8
pycparser==2.14
pyOpenSSL==0.15.1
python-json-logger==0.1.2
PyYAML==3.11
queuelib==1.2.2
redis==2.10.3
Scrapy==1.0.3
#scutils==0.0.1 temp removal
service-identity==14.0.0
six==1.10.0
testfixtures==4.3.3
tldextra... | mock==1.3.0
nose==1.3.7
pbr==1.8.1
pyasn1==0.1.9
pyasn1-modules==0.0.8
pycparser==2.14
pyOpenSSL==0.15.1
python-json-logger==0.1.2
PyYAML==3.11
queuelib==1.2.2
redis==2.10.3
Scrapy==1.0.3
scutils==0.0.1
service-identity==14.0.0
six==1.10.0
testfixtures==4.3.3
tldextract==1.7.1
Twisted==15.4.0
w3lib==1.12.0
wheel==0.26.... | <|file_sep|>original/requirements.txt
mock==1.3.0
nose==1.3.7
pbr==1.8.1
pyasn1==0.1.9
pyasn1-modules==0.0.8
pycparser==2.14
pyOpenSSL==0.15.1
python-json-logger==0.1.2
PyYAML==3.11
queuelib==1.2.2
redis==2.10.3
Scrapy==1.0.3
#scutils==0.0.1 temp removal
service-identity==14.0.0
six==1.10.0
testfixtures==4.3.3
tldextra... | aa67e09829156b2369b34c2bccfea96b00742d62 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/.travis.yml
language: haskell
script: wget https://raw.github.com/ndmitchell/neil/master/travis.sh -O - --no-check-certificate --no-cache --quiet | sh
relevant: |
Running HLint on self took
Tests passed (
<|file_sep|>current/.travis.yml
language: haskell
script: wget https://raw.github.com/... | env:
- GHCVER=7.2.2
- GHCVER=7.4.2
- GHCVER=7.6.3
- GHCVER=7.8.3
- GHCVER=head
matrix:
allow_failures:
- env: GHCVER=head
script:
- wget https://raw.github.com/ndmitchell/neil/master/travis.sh -O - --no-check-certificate --quiet | sh | <|file_sep|>original/.travis.yml
language: haskell
script: wget https://raw.github.com/ndmitchell/neil/master/travis.sh -O - --no-check-certificate --no-cache --quiet | sh
relevant: |
Running HLint on self took
Tests passed (
<|file_sep|>current/.travis.yml
language: haskell
script: wget https://raw.github.com/... | 46998c2b4c7ba2672a421c92499a8426909bc2ff | .travis.yml | .travis.yml | YAML |
<|file_sep|>spec/spec_helper.rb.diff
original:
updated:
require 'yaml'
properties = YAML.load_file('properties.yml')
<|file_sep|>original/spec/spec_helper.rb
end
set :sudo_password, ask("Enter sudo password: ") { |q| q.echo = false }
else
set :sudo_password, ENV['SUDO_PASSWORD']
end
host = ENV['TARGET_HOST']
... | require 'highline/import'
rescue LoadError
fail "highline is not available. Try installing it."
end
set :sudo_password, ask("Enter sudo password: ") { |q| q.echo = false }
else
set :sudo_password, ENV['SUDO_PASSWORD']
end
host = ENV['TARGET_HOST']
set_property properties[host]
options = Net::SSH::Conf... | <|file_sep|>spec/spec_helper.rb.diff
original:
updated:
require 'yaml'
properties = YAML.load_file('properties.yml')
<|file_sep|>original/spec/spec_helper.rb
end
set :sudo_password, ask("Enter sudo password: ") { |q| q.echo = false }
else
set :sudo_password, ENV['SUDO_PASSWORD']
end
host = ENV['TARGET_HOST']
... | 5bd3415074d04e948f23d1d26c0819438554dfdf | spec/spec_helper.rb | spec/spec_helper.rb | Ruby |
<|file_sep|>original/resources/views/core/head.blade.php
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="mobile-web-app-capable" content="yes">
... | <head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="apple-touch-icon-pre... | <|file_sep|>original/resources/views/core/head.blade.php
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="mobile-web-app-capable" content="yes">
... | c58104744be872ebcb15ec08e7718270bab2d38f | resources/views/core/head.blade.php | resources/views/core/head.blade.php | PHP |
<|file_sep|>wercker.yml.diff
original:
id: beamerkun/cutdetector
updated:
id: beamerkun/cutdetector-opencv3
<|file_sep|>wercker.yml.diff
original:
tag: 1.2
updated:
tag: 1.0
<|file_sep|>original/wercker.yml
name: 'cmake'
code: |
cd $WERCKER_OUTPUT_DIR
... | name: 'cmake'
code: |
cd $WERCKER_OUTPUT_DIR
cmake $WERCKER_SOURCE_DIR
make
- script:
name: 'run unit tests'
code: |
cd $WERCKER_OUTPUT_DIR/out
./runUnitTests
build-opencv2:
box:
... | <|file_sep|>wercker.yml.diff
original:
id: beamerkun/cutdetector
updated:
id: beamerkun/cutdetector-opencv3
<|file_sep|>wercker.yml.diff
original:
tag: 1.2
updated:
tag: 1.0
<|file_sep|>original/wercker.yml
name: 'cmake'
code: |
cd $WERCKER_OUTPUT_DIR
... | 7be4a61503002d4246031505f20d10cef12fb4cc | wercker.yml | wercker.yml | YAML |
<|file_sep|>original/src/regex/index.js
var main = require('./main');
var extend = require('extend');
var defaultOptions = {
definitions: false,
quotes: '"'
};
module.exports = function (data, options) {
var regexOptions = options.parserConfig.regex || {};
var finalOptions = extend(options, regexOptions);
va... | var main = require('./main');
var extend = require('extend');
var defaultOptions = {
definitions: false,
quotes: '"'
};
module.exports = function (data, options) {
options = options || {};
options.parserConfig = options.parserConfig || {};
var regexOptions = options.parserConfig.regex || {};
var finalOpti... | <|file_sep|>original/src/regex/index.js
var main = require('./main');
var extend = require('extend');
var defaultOptions = {
definitions: false,
quotes: '"'
};
module.exports = function (data, options) {
var regexOptions = options.parserConfig.regex || {};
var finalOptions = extend(options, regexOptions);
va... | f8a02fad40dde2daa0600e17e3a44dc132b2981c | src/regex/index.js | src/regex/index.js | JavaScript |
<|file_sep|>original/.forestry/settings.yml
<|file_sep|>current/.forestry/settings.yml
<|file_sep|>updated/.forestry/settings.yml | ---
new_page_extension: md
auto_deploy: false
admin_path:
webhook_url:
sections:
upload_dir: uploads
public_path: "/uploads"
front_matter_path: ''
use_front_matter_path: false
file_template: ":filename:" | <|file_sep|>original/.forestry/settings.yml
<|file_sep|>current/.forestry/settings.yml
<|file_sep|>updated/.forestry/settings.yml
---
new_page_extension: md
auto_deploy: false
admin_path:
webhook_url:
sections:
upload_dir: uploads
public_path: "/uploads"
front_matter_path: ''
use_front_matter_path: false
file_temp... | 7f838703a9761d4e4fe36d3585486d3f9d7d0558 | .forestry/settings.yml | .forestry/settings.yml | YAML |
<|file_sep|>original/project.clj
(defproject devcards/lein-template "0.1.3"
:description "A Leinigen template for devcards"
:url "https://github.com/bhauman/devcards-template"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:scm { :name "git"
:url ... | (defproject devcards/lein-template "0.1.4"
:description "A Leinigen template for devcards"
:url "https://github.com/bhauman/devcards-template"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:scm { :name "git"
:url "https://github.com/bhauman/devca... | <|file_sep|>original/project.clj
(defproject devcards/lein-template "0.1.3"
:description "A Leinigen template for devcards"
:url "https://github.com/bhauman/devcards-template"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:scm { :name "git"
:url ... | b258656bb03db73a76eb7f3c8da52ffd052c141e | project.clj | project.clj | Clojure |
<|file_sep|>original/Casks/zulip.rb
cask 'zulip' do
version :latest
sha256 :no_check
url 'https://zulip.com/dist/apps/mac/Zulip-latest.dmg'
name 'Zulip'
homepage 'https://www.zulip.org/'
license :apache
app 'Zulip.app'
end
<|file_sep|>current/Casks/zulip.rb
cask 'zulip' do
version :latest
sha256 :no... | cask 'zulip' do
version :latest
sha256 :no_check
# zulip.com was verified as official when first introduced to the cask
url 'https://zulip.com/dist/apps/mac/Zulip-latest.dmg'
name 'Zulip'
homepage 'https://www.zulip.org/'
license :apache
app 'Zulip.app'
end | <|file_sep|>original/Casks/zulip.rb
cask 'zulip' do
version :latest
sha256 :no_check
url 'https://zulip.com/dist/apps/mac/Zulip-latest.dmg'
name 'Zulip'
homepage 'https://www.zulip.org/'
license :apache
app 'Zulip.app'
end
<|file_sep|>current/Casks/zulip.rb
cask 'zulip' do
version :latest
sha256 :no... | bd01529dacf0b768261f71275a5e0d2cb8817fba | Casks/zulip.rb | Casks/zulip.rb | Ruby |
<|file_sep|>original/static/base.css
background-color: var(--page-bg);
font-family: Verdana, sans-serif;
line-height: 1.4;
-webkit-hyphens: auto;
hyphens: auto;
}
body {
max-width: 65ch;
margin: 0 auto;
padding: 0.5em;
}
a,
a:visited {
color: inherit;
}
dd {
margin: 0 0 0.5em 4ch;
}
<|file_sep|>c... | background-color: var(--page-bg);
font-family: Verdana, sans-serif;
line-height: 1.4;
-webkit-hyphens: auto;
hyphens: auto;
}
body {
max-width: 65ch;
margin: 0 auto;
padding: 0.5em 0.5em 4em;
}
a,
a:visited {
color: inherit;
}
dd {
margin: 0 0 0.5em 4ch;
} | <|file_sep|>original/static/base.css
background-color: var(--page-bg);
font-family: Verdana, sans-serif;
line-height: 1.4;
-webkit-hyphens: auto;
hyphens: auto;
}
body {
max-width: 65ch;
margin: 0 auto;
padding: 0.5em;
}
a,
a:visited {
color: inherit;
}
dd {
margin: 0 0 0.5em 4ch;
}
<|file_sep|>c... | b2487e487ca7e98a28aada8fcb13702fe41fb6e4 | static/base.css | static/base.css | CSS |
<|file_sep|>original/chrome/test/data/valgrind/ui_tests.gtest.txt
# Takes too long to valgrind, causes timeouts
BrowserTest.ThirtyFourTabs
# FIXME: these tests hang frequently in valgrind
SessionRestoreUITest.*
# Buggy test; see http://crbug.com/6522
DownloadTest.UnknownSize
# Flakily hangs on Linux
ErrorPageTest.DNSEr... | SessionRestoreUITest.*
# Buggy test; see http://crbug.com/6522
DownloadTest.UnknownSize
# Flakily hangs on Linux
ErrorPageTest.DNSError_GoBack2AndForward
# Flaky timeout on Linux; see http://crbug.com/22927
UnloadTest.BrowserCloseInfiniteBeforeUnload
UnloadTest.BrowserCloseInfiniteBeforeUnloadAlert
# This test hangs u... | <|file_sep|>original/chrome/test/data/valgrind/ui_tests.gtest.txt
# Takes too long to valgrind, causes timeouts
BrowserTest.ThirtyFourTabs
# FIXME: these tests hang frequently in valgrind
SessionRestoreUITest.*
# Buggy test; see http://crbug.com/6522
DownloadTest.UnknownSize
# Flakily hangs on Linux
ErrorPageTest.DNSEr... | 86b389fbe8a46d7cb21ad03f8b6ee4f62914e891 | chrome/test/data/valgrind/ui_tests.gtest.txt | chrome/test/data/valgrind/ui_tests.gtest.txt | Text |
<|file_sep|>original/config/dbman.php
<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* Dbman
*
* @package Dbman
* @author Robert-Jan de Dreu
* @copyright (c) 2010 Robert-Jan de Dreu
* @license http://www.opensource.org/licenses/isc-license.txt
*/
return array
(
/**
* Db... | <?php defined('SYSPATH') or die('No direct access allowed.');
/**
* Dbman
*
* @package Dbman
* @author Robert-Jan de Dreu
* @copyright (c) 2010 Robert-Jan de Dreu
* @license http://www.opensource.org/licenses/isc-license.txt
*/
return array
(
/**
* Dbman settings
*
* string path th... | <|file_sep|>original/config/dbman.php
<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* Dbman
*
* @package Dbman
* @author Robert-Jan de Dreu
* @copyright (c) 2010 Robert-Jan de Dreu
* @license http://www.opensource.org/licenses/isc-license.txt
*/
return array
(
/**
* Db... | 1b5538b8da8350e8dfa13f91a4d3ebc81d19e276 | config/dbman.php | config/dbman.php | PHP |
<|file_sep|>original/caroline/modules/report/template/advice_email_body.erb
Your scan report of <%= "#{report.config['target']}" %> is ready. For detailed report, please download the attachment.
========================================
Revok Executive Report
========================================
Revok versi... | Your scan report of <%= "#{report.config['target']}" %> is ready. For detailed report, please download the attachment.
========================================
Revok Executive Report
========================================
Revok version: 0.8
Target: <%= "#{report.config['target']}\n" %>
Started on: <%= "#{rep... | <|file_sep|>original/caroline/modules/report/template/advice_email_body.erb
Your scan report of <%= "#{report.config['target']}" %> is ready. For detailed report, please download the attachment.
========================================
Revok Executive Report
========================================
Revok versi... | 0b333c19c931d90aded7c657f52478086b8842e1 | caroline/modules/report/template/advice_email_body.erb | caroline/modules/report/template/advice_email_body.erb | HTML+ERB |
<|file_sep|>addons/TOParmaInfo/news.html.diff
original:
• Fractured-Gaming!<br />
updated:
• 4TH OF JULY EVENT 50% OFF EXPLOSIVES/ARMED VEHICLES. SPECIAL UGV TODAY ONLY<br />
<|file_sep|>original/addons/TOParmaInfo/news.html
<!DOCTYPE html>
<html>
<body>
<p>
<font size="13">
<br />
• Fractured-Gaming!<br />
• Te... | <!DOCTYPE html>
<html>
<body>
<p>
<font size="13">
<br />
• 4TH OF JULY EVENT 50% OFF EXPLOSIVES/ARMED VEHICLES. SPECIAL UGV TODAY ONLY<br />
• TeamSpeak3 - TS.Fractured-Gaming.com<br />
</font>
<font size="13">
<p><a href="http://www.fractured-gaming.com"> Click here for more info ...</a></p>
</font>
</body>
</htm... | <|file_sep|>addons/TOParmaInfo/news.html.diff
original:
• Fractured-Gaming!<br />
updated:
• 4TH OF JULY EVENT 50% OFF EXPLOSIVES/ARMED VEHICLES. SPECIAL UGV TODAY ONLY<br />
<|file_sep|>original/addons/TOParmaInfo/news.html
<!DOCTYPE html>
<html>
<body>
<p>
<font size="13">
<br />
• Fractured-Gaming!<br />
• Te... | 3c325e61c1e1142d532154fec895bdc972d141aa | addons/TOParmaInfo/news.html | addons/TOParmaInfo/news.html | HTML |
<|file_sep|>original/public/stylesheets/scaffold.css
line-height: 18px;
}
pre {
background-color: #eee;
padding: 10px;
font-size: 11px;
}
a { color: #000; }
a:visited { color: #666; }
a:hover { color: #fff; background-color:#000; }
.fieldWithErrors {
padding: 2px;
background-color: red;
display: table;... | line-height: 18px;
}
pre {
background-color: #eee;
padding: 10px;
font-size: 11px;
}
a { color: #000; }
a:visited { color: #000; }
a:hover { color: #fff; background-color:#000; }
.fieldWithErrors {
padding: 2px;
background-color: red;
display: table;
}
#errorExplanation {
width: 400px; | <|file_sep|>original/public/stylesheets/scaffold.css
line-height: 18px;
}
pre {
background-color: #eee;
padding: 10px;
font-size: 11px;
}
a { color: #000; }
a:visited { color: #666; }
a:hover { color: #fff; background-color:#000; }
.fieldWithErrors {
padding: 2px;
background-color: red;
display: table;... | 255f5da78299d7920bb8e3a7c7fc04c9d8ed40a0 | public/stylesheets/scaffold.css | public/stylesheets/scaffold.css | CSS |
<|file_sep|>original/src/me/jacobcrofts/simplestructureloader/StructureAPI.java
FileWriter writer = new FileWriter("plugins/structures/" + filename + ".json");
writer.write(selection.toJSON().toJSONString());
writer.close();
}
public static JSONArray readFromFile(String path) throws FileNotFoundExceptio... |
FileWriter writer = new FileWriter("plugins/structures/" + filename + ".json");
writer.write(selection.toJSON().toJSONString());
writer.close();
}
public static JSONArray readFromFile(String path) throws FileNotFoundException, IOException, ParseException {
return (JSONArray) new JSONParser().parse(new... | <|file_sep|>original/src/me/jacobcrofts/simplestructureloader/StructureAPI.java
FileWriter writer = new FileWriter("plugins/structures/" + filename + ".json");
writer.write(selection.toJSON().toJSONString());
writer.close();
}
public static JSONArray readFromFile(String path) throws FileNotFoundExceptio... | 730cdeafe7a1518c722bb2beadeb7dc7ba88a21c | src/me/jacobcrofts/simplestructureloader/StructureAPI.java | src/me/jacobcrofts/simplestructureloader/StructureAPI.java | Java |
<|file_sep|>original/data/CMakeLists.txt
add_subdirectory(examples)
INSTALL(
FILES
License.txt
DESTINATION
data
)
<|file_sep|>current/data/CMakeLists.txt
add_subdirectory(examples)
INSTALL(
FILES
License.txt
DESTINATION
data
)
<|file_sep|>updated/data/CMakeLists.txt | add_subdirectory(examples)
INSTALL(
FILES
License.txt
DESTINATION
${CMAKE_INSTALL_DATADIR}
)
| <|file_sep|>original/data/CMakeLists.txt
add_subdirectory(examples)
INSTALL(
FILES
License.txt
DESTINATION
data
)
<|file_sep|>current/data/CMakeLists.txt
add_subdirectory(examples)
INSTALL(
FILES
License.txt
DESTINATION
data
)
<|file_sep|>updated/data/CMakeLists.txt
a... | f7bb6026b10de1a96e3f01015f7184e67d5ab963 | data/CMakeLists.txt | data/CMakeLists.txt | Text |
<|file_sep|>hotModuleReplacement.js.diff
original:
var origin = document.location.protocol + '//' + document.location.hostname + (document.location.port ? ':' + document.location.port: '');
var newHref = origin + publicPath + outputFilename
updated:
var newHref = publicPath.match(/https?:/g) ? new URL(outpu... | var newHref = publicPath.match(/https?:/g) ? new URL(outputFilename, publicPath) : new URL(outputFilename, window.location);
var links = document.getElementsByTagName('link');
//update the stylesheet corresponding to `outputFilename`
for (var i = 0; i < links.length; i++) {
if (links[i].href) {
... | <|file_sep|>hotModuleReplacement.js.diff
original:
var origin = document.location.protocol + '//' + document.location.hostname + (document.location.port ? ':' + document.location.port: '');
var newHref = origin + publicPath + outputFilename
updated:
var newHref = publicPath.match(/https?:/g) ? new URL(outpu... | c86dfac9e31dfaba00611e5bae362fe7633fc593 | hotModuleReplacement.js | hotModuleReplacement.js | JavaScript |
<|file_sep|>original/tests/network/__init__.py
from . file_transfer import * # NOQA
#from . node import * # NOQA
from . message import * # NOQA
from . file_handshake import * # NOQA
from . queued_file_transfer import * # NOQA
from . process_transfers import * # NOQA
from . bandwidth_test import * # NOQA
if __n... | from . file_transfer import * # NOQA
from . node import * # NOQA
from . message import * # NOQA
from . file_handshake import * # NOQA
from . queued_file_transfer import * # NOQA
from . process_transfers import * # NOQA
from . bandwidth_test import * # NOQA
if __name__ == "__main__":
unittest.main() | <|file_sep|>original/tests/network/__init__.py
from . file_transfer import * # NOQA
#from . node import * # NOQA
from . message import * # NOQA
from . file_handshake import * # NOQA
from . queued_file_transfer import * # NOQA
from . process_transfers import * # NOQA
from . bandwidth_test import * # NOQA
if __n... | 316a17402aca8ca99a90f151de7535a1033b3e24 | tests/network/__init__.py | tests/network/__init__.py | Python |
<|file_sep|>original/dropwizard-core/src/main/java/io/dropwizard/ConfiguredBundle.java
* conditional on configuration parameters.
*
* @param <T> the required configuration interface
*/
public interface ConfiguredBundle<T> {
/**
* Initializes the environment.
*
* @param configuration the con... | * conditional on configuration parameters.
*
* @param <T> the required configuration interface
*/
public interface ConfiguredBundle<T> {
/**
* Initializes the environment.
*
* @param configuration the configuration object
* @param environment the application's {@link Environment}
... | <|file_sep|>original/dropwizard-core/src/main/java/io/dropwizard/ConfiguredBundle.java
* conditional on configuration parameters.
*
* @param <T> the required configuration interface
*/
public interface ConfiguredBundle<T> {
/**
* Initializes the environment.
*
* @param configuration the con... | 237ea304bddb653450672d8105707d64127fa063 | dropwizard-core/src/main/java/io/dropwizard/ConfiguredBundle.java | dropwizard-core/src/main/java/io/dropwizard/ConfiguredBundle.java | Java |
<|file_sep|>package.json.diff
original:
"version": "0.8.9",
updated:
"version": "0.9.0",
<|file_sep|>original/package.json
"version": "0.8.9",
"description": "Plugin enabling ASPAX to handle Jade files.",
"keywords": [
"aspax",
"jade",
"template",
"js",
"compilation"
],
"dependencies":... | "version": "0.9.0",
"description": "Plugin enabling ASPAX to handle Jade files.",
"keywords": [
"aspax",
"jade",
"template",
"js",
"compilation"
],
"dependencies": {
"iced-coffee-script": "^1.7.1-g",
"jade": "~1.7.0"
},
"engines": {
"node": ">=0.8.16"
},
"repository": {... | <|file_sep|>package.json.diff
original:
"version": "0.8.9",
updated:
"version": "0.9.0",
<|file_sep|>original/package.json
"version": "0.8.9",
"description": "Plugin enabling ASPAX to handle Jade files.",
"keywords": [
"aspax",
"jade",
"template",
"js",
"compilation"
],
"dependencies":... | a972279d31b2e9654934b774f58de9d8683d1ea2 | package.json | package.json | JSON |
<|file_sep|>original/requirements_dev.txt
pip==21.1.3
bumpversion==0.5.3
wheel==0.32.3
watchdog==0.9.0
flake8==3.7.7
tox==3.11.1
coverage==4.5.3
Sphinx==3.1.1
cryptography==3.4.7
PyYAML==5.4.1
pytest==5.2.0
requests==2.21.0
Pillow==8.3.1
<|file_sep|>current/requirements_dev.txt
pip==21.1.3
bumpversion==0.5.3
wheel==0.3... | pip==21.1.3
bumpversion==0.5.3
wheel==0.32.3
watchdog==0.9.0
flake8==3.7.7
tox==3.11.1
coverage==4.5.3
Sphinx==3.1.1
cryptography==3.4.7
PyYAML==5.4.1
pytest==5.2.0
requests==2.21.0
Pillow==9.2.0 | <|file_sep|>original/requirements_dev.txt
pip==21.1.3
bumpversion==0.5.3
wheel==0.32.3
watchdog==0.9.0
flake8==3.7.7
tox==3.11.1
coverage==4.5.3
Sphinx==3.1.1
cryptography==3.4.7
PyYAML==5.4.1
pytest==5.2.0
requests==2.21.0
Pillow==8.3.1
<|file_sep|>current/requirements_dev.txt
pip==21.1.3
bumpversion==0.5.3
wheel==0.3... | b2427845379bd240b945b4dde1c79b4d7c1b2551 | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>app/user-quickfiles/route.js.diff
original:
updated:
},
afterModel(model, transition) {
if (model.id !== this.get('currentUser.currentUserId')) {
transition.send('track', 'view', 'track', 'Quick Files - Main page view');
}
<|file_sep|>original/app/user-quickfiles/route.j... | return this.store.findRecord('user', params.user_id);
},
afterModel(model, transition) {
if (model.id !== this.get('currentUser.currentUserId')) {
transition.send('track', 'view', 'track', 'Quick Files - Main page view');
}
},
actions: {
didTransition() {
... | <|file_sep|>app/user-quickfiles/route.js.diff
original:
updated:
},
afterModel(model, transition) {
if (model.id !== this.get('currentUser.currentUserId')) {
transition.send('track', 'view', 'track', 'Quick Files - Main page view');
}
<|file_sep|>original/app/user-quickfiles/route.j... | f83107432eaa9a172653744a0cf42976e0609229 | app/user-quickfiles/route.js | app/user-quickfiles/route.js | JavaScript |
<|file_sep|>original/src/Asset/File/FileAssetInterface.php
<|file_sep|>current/src/Asset/File/FileAssetInterface.php
<|file_sep|>updated/src/Asset/File/FileAssetInterface.php | <?php
namespace Bolt\Asset\File;
/**
* File asset interface.
*
* @author Gawain Lynch <gawain.lynch@gmail.com>
*/
interface FileAssetInterface
{
/**
* Get the asset's type.
*
* @return string
*/
public function getType();
/**
* Get the asset's file name.
* | <|file_sep|>original/src/Asset/File/FileAssetInterface.php
<|file_sep|>current/src/Asset/File/FileAssetInterface.php
<|file_sep|>updated/src/Asset/File/FileAssetInterface.php
<?php
namespace Bolt\Asset\File;
/**
* File asset interface.
*
* @author Gawain Lynch <gawain.lynch@gmail.com>
*/
interface FileAssetInte... | b011cde0bcb37197ab9ec9c71aef78d393528347 | src/Asset/File/FileAssetInterface.php | src/Asset/File/FileAssetInterface.php | PHP |
<|file_sep|>src/app/projects/states/tutorials/tutorials.coffee.diff
original:
updated:
oldTutorialAbbr = $scope.unit.tutorialFromId($scope.project.tutorial_id)?.abbreviation
<|file_sep|>original/src/app/projects/states/tutorials/tutorials.coffee
data:
task: "Tutorial List"
pageTitle: "_Home_"
... |
.controller("ProjectsTutorialsStateCtrl", ($scope, $modal, User, Project, alertService, projectService, analyticsService) ->
$scope.sortOrder = 'abbreviation'
$scope.setTutorial = (id) ->
Project.update(
{ id: $scope.project.project_id, tutorial_id: id }
(project) ->
oldTutorialAbbr = $scop... | <|file_sep|>src/app/projects/states/tutorials/tutorials.coffee.diff
original:
updated:
oldTutorialAbbr = $scope.unit.tutorialFromId($scope.project.tutorial_id)?.abbreviation
<|file_sep|>original/src/app/projects/states/tutorials/tutorials.coffee
data:
task: "Tutorial List"
pageTitle: "_Home_"
... | dfe7a8fd46ec0e400551ff5d48faef4faee51cab | src/app/projects/states/tutorials/tutorials.coffee | src/app/projects/states/tutorials/tutorials.coffee | CoffeeScript |
<|file_sep|>original/docker-compose.yml
version: '2'
services:
d7:
build: .
image: zilleem-d7:1
volumes:
- $PWD/html:/var/www/html
ports:
- "80:80"
links:
- db
- redis
- solr
db:
image: mysql
volumes:
- $PWD/mysql/:/var/lib/mysql
environment:
... | version: '2'
services:
d7:
build: .
image: zilleem-d7:1.1
volumes:
- $PWD/html:/var/www/html
ports:
- "80:80"
links:
- db
- redis
- solr
db:
image: mysql
volumes:
- $PWD/mysql/:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: mysql
MYS... | <|file_sep|>original/docker-compose.yml
version: '2'
services:
d7:
build: .
image: zilleem-d7:1
volumes:
- $PWD/html:/var/www/html
ports:
- "80:80"
links:
- db
- redis
- solr
db:
image: mysql
volumes:
- $PWD/mysql/:/var/lib/mysql
environment:
... | 49e2791e8e19d98deb57f85e58d2c264d73cdbc0 | docker-compose.yml | docker-compose.yml | YAML |
<|file_sep|>tests/test_sst.py.diff
original:
def test_detect(self):
updated:
def test_detect_by_svd(self):
<|file_sep|>original/tests/test_sst.py
class TestSST(unittest.TestCase):
def setUp(self):
self.raw_data = pd.read_csv('tests/test_data/periodic_wave.csv')
self.data = self.raw_data['... |
def setUp(self):
self.raw_data = pd.read_csv('tests/test_data/periodic_wave.csv')
self.data = self.raw_data['y']
def test_detect_by_svd(self):
model = SST(w=50)
results = model.detect(self.data)
self.assertEqual(len(self.data), len(results))
def test_detect_by_lanc... | <|file_sep|>tests/test_sst.py.diff
original:
def test_detect(self):
updated:
def test_detect_by_svd(self):
<|file_sep|>original/tests/test_sst.py
class TestSST(unittest.TestCase):
def setUp(self):
self.raw_data = pd.read_csv('tests/test_data/periodic_wave.csv')
self.data = self.raw_data['... | 2059d6ac5478f1e8fa5adc1a00c77c9f74892940 | tests/test_sst.py | tests/test_sst.py | Python |
<|file_sep|>original/README.md
# Digital Color Meter for Windows
Move your mouse about and get a zoomed preview and see the exact RGB color of the pixel underneath the current mouse position.
Press SPACE to store the current color in the list where you can right-click and copy from later.
;
updated:
<|file_sep|>code/controllers/SitemapXML.php.diff
original:
$this->getSiteTree();
updated:
<|file_sep|>original/code/controllers/SitemapXML.php
'GetSitema... | 'GetSitemapXML'
);
public function init()
{
parent::init();
}
public function GetSitemapXML()
{
$this->response->addHeader("Content-Type", "application/xml");
$this->getSiteTree();
$sitemap = new ArrayData(array(
'Pages' => $this->pages
... | <|file_sep|>code/controllers/SitemapXML.php.diff
original:
$this->response->addHeader("Content-Type", "application/xml");
updated:
<|file_sep|>code/controllers/SitemapXML.php.diff
original:
$this->getSiteTree();
updated:
<|file_sep|>original/code/controllers/SitemapXML.php
'GetSitema... | 0b4ef037da94d6789a4ea806a2ec8601a0ca5c33 | code/controllers/SitemapXML.php | code/controllers/SitemapXML.php | PHP |
<|file_sep|>original/Deathstar_Win7VM_Kitware_TubeTK_Nightly.bat
<|file_sep|>current/Deathstar_Win7VM_Kitware_TubeTK_Nightly.bat
<|file_sep|>updated/Deathstar_Win7VM_Kitware_TubeTK_Nightly.bat | REM Start from a clean build directory
rmdir /Q /S C:\Dashboards\TubeTK\TubeTK-Release
REM Update the TubeTK Dashboard scripts
cd C:\Dashboards\TubeTK\TubeTK-DashboardScripts
REM "C:\Program Files (x86)\Git\bin\git" reset --hard HEAD
"C:\Program Files (x86)\Git\bin\git" pull
cd ..
REM Run the nightly CTest
"C:\Progra... | <|file_sep|>original/Deathstar_Win7VM_Kitware_TubeTK_Nightly.bat
<|file_sep|>current/Deathstar_Win7VM_Kitware_TubeTK_Nightly.bat
<|file_sep|>updated/Deathstar_Win7VM_Kitware_TubeTK_Nightly.bat
REM Start from a clean build directory
rmdir /Q /S C:\Dashboards\TubeTK\TubeTK-Release
REM Update the TubeTK Dashboard scrip... | 5473f3e032563849c83f2ff030d69c0eeffd4ac9 | Deathstar_Win7VM_Kitware_TubeTK_Nightly.bat | Deathstar_Win7VM_Kitware_TubeTK_Nightly.bat | Batchfile |
<|file_sep|>original/.travis.yml
<|file_sep|>current/.travis.yml
<|file_sep|>updated/.travis.yml | language: rust
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq libmagic1 libmagic-dev
script:
- cargo build --verbose
- cargo test --verbose | <|file_sep|>original/.travis.yml
<|file_sep|>current/.travis.yml
<|file_sep|>updated/.travis.yml
language: rust
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq libmagic1 libmagic-dev
script:
- cargo build --verbose
- cargo test --verbose | 7370f862797cb6eb972a7cdb1cddb9f762af26de | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/app/templates/views/returned-letter-summary.html
{% block maincolumn_content %}
<h1 class="heading-large">
Returned letters
</h1>
<div class="body-copy-table" id='pill-selected-item'>
{% call(item, row_number) list_table(
data,
caption="Returned letters report",
c... |
{% block maincolumn_content %}
<h1 class="heading-large">
Returned letters
</h1>
<div class="body-copy-table" id='pill-selected-item'>
{% call(item, row_number) list_table(
data,
caption="Returned letters report",
caption_visible=False,
empty_message='If you have returned lett... | <|file_sep|>original/app/templates/views/returned-letter-summary.html
{% block maincolumn_content %}
<h1 class="heading-large">
Returned letters
</h1>
<div class="body-copy-table" id='pill-selected-item'>
{% call(item, row_number) list_table(
data,
caption="Returned letters report",
c... | 9c3315f194fc5ec3f165f4ca6eca7bd05425d133 | app/templates/views/returned-letter-summary.html | app/templates/views/returned-letter-summary.html | HTML |
<|file_sep|>original/database/migrations/2016_04_16_082627_create_various_artists.php
class CreateVariousArtists extends Migration
{
/**
* Create the "Various Artists".
*
* @return void
*/
public function up()
{
Artist::unguard();
$existingArtist = Artist::find(Artist::... |
class CreateVariousArtists extends Migration
{
/**
* Create the "Various Artists".
*
* @return void
*/
public function up()
{
// Make sure modified artists cascade the album's artist_id field.
Schema::table('albums', function ($table) {
$table->dropForeign('a... | <|file_sep|>original/database/migrations/2016_04_16_082627_create_various_artists.php
class CreateVariousArtists extends Migration
{
/**
* Create the "Various Artists".
*
* @return void
*/
public function up()
{
Artist::unguard();
$existingArtist = Artist::find(Artist::... | e2d35738fd543cb52fd87947cb3fc4076a8fba34 | database/migrations/2016_04_16_082627_create_various_artists.php | database/migrations/2016_04_16_082627_create_various_artists.php | PHP |
<|file_sep|>original/.github/workflows/deploy-fly.yml
name: Deploy to Fly
on:
workflow_run:
workflows: [CI]
types: [completed]
jobs:
deploy:
if: |
github.event.workflow_run.conclusion == 'success' &&
github.event.workflow_run.head_branch == github.event.repository.default_branch
concur... | name: Deploy to Fly
on:
workflow_run:
workflows: [CI]
types: [completed]
jobs:
deploy:
if: |
github.event.workflow_run.conclusion == 'success' &&
github.event.workflow_run.head_branch == github.event.repository.default_branch
concurrency: fly-deploy
runs-on: ubuntu-latest
timeo... | <|file_sep|>original/.github/workflows/deploy-fly.yml
name: Deploy to Fly
on:
workflow_run:
workflows: [CI]
types: [completed]
jobs:
deploy:
if: |
github.event.workflow_run.conclusion == 'success' &&
github.event.workflow_run.head_branch == github.event.repository.default_branch
concur... | 26deba87aacabef604892245d4a6c9e625d868a4 | .github/workflows/deploy-fly.yml | .github/workflows/deploy-fly.yml | YAML |
<|file_sep|>core/classes/utility.php.diff
original:
updated:
if (!defined("KAKU_ACCESS")) {
// Deny direct access to this file.
exit();
}
<|file_sep|>core/classes/utility.php.diff
original:
public function __construct() {
updated:
public function displayError($message) {
<|file_sep|>core/classes/utility.php.... |
// Deny direct access to this file.
exit();
}
class Utility {
public function displayError($message) {
if (ob_get_status()["level"] > 0) {
// Clear the buffer.
ob_end_clean();
}
// Terminate with an error message.
exit("Error: {$message}.");
}
}
?> | <|file_sep|>core/classes/utility.php.diff
original:
updated:
if (!defined("KAKU_ACCESS")) {
// Deny direct access to this file.
exit();
}
<|file_sep|>core/classes/utility.php.diff
original:
public function __construct() {
updated:
public function displayError($message) {
<|file_sep|>core/classes/utility.php.... | ccf846633f0bcc9836d3d05403094c37be3de07c | core/classes/utility.php | core/classes/utility.php | PHP |
<|file_sep|>data/transition-sites/phe_mthr.yml.diff
original:
host: www.mhtr.org.uk
updated:
host: www.mthr.org.uk
<|file_sep|>original/data/transition-sites/phe_mthr.yml
---
site: phe_mthr
whitehall_slug: public-health-england
homepage: https://www.gov.uk/government/organisations/public-health-england
homepage_furl: w... | ---
site: phe_mthr
whitehall_slug: public-health-england
homepage: https://www.gov.uk/government/organisations/public-health-england
homepage_furl: www.gov.uk/phe
tna_timestamp: 20150423142832
host: www.mthr.org.uk
aliases:
- mthr.org.uk
global: =301 https://www.gov.uk/government/organisations/public-health-england | <|file_sep|>data/transition-sites/phe_mthr.yml.diff
original:
host: www.mhtr.org.uk
updated:
host: www.mthr.org.uk
<|file_sep|>original/data/transition-sites/phe_mthr.yml
---
site: phe_mthr
whitehall_slug: public-health-england
homepage: https://www.gov.uk/government/organisations/public-health-england
homepage_furl: w... | 67f26435d46aa3df5c1b96e1cda91db152598ebb | data/transition-sites/phe_mthr.yml | data/transition-sites/phe_mthr.yml | YAML |
<|file_sep|>original/java/res/layout/key_preview.xml
** 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
** distributed under the Lice... | ** 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
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** Se... | <|file_sep|>original/java/res/layout/key_preview.xml
** 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
** distributed under the Lice... | fe5c13e63a4f6950174ce18ec602b989b50c46f7 | java/res/layout/key_preview.xml | java/res/layout/key_preview.xml | XML |
<|file_sep|>setup.py.diff
original:
updated:
my_packages=setuptools.find_packages()
<|file_sep|>setup.py.diff
original:
packages=setuptools.find_packages(),
updated:
packages=my_packages,
<|file_sep|>original/setup.py
],
extras_require={
'docs': [
'sphin... | 'sphinx',
'sphinxcontrib-napoleon',
'sphinx_rtd_theme',
'numpydoc',
],
'tests': [
'pytest',
'pytest-cov'
],
},
classifiers=[
'Development Status :: 4 - Beta',
... | <|file_sep|>setup.py.diff
original:
updated:
my_packages=setuptools.find_packages()
<|file_sep|>setup.py.diff
original:
packages=setuptools.find_packages(),
updated:
packages=my_packages,
<|file_sep|>original/setup.py
],
extras_require={
'docs': [
'sphin... | 29980772f93392c72987329c38dc0cab38251006 | setup.py | setup.py | Python |
<|file_sep|>original/test/test_toc_parser.rb
<|file_sep|>current/test/test_toc_parser.rb
<|file_sep|>updated/test/test_toc_parser.rb | require 'test_helper'
require_relative '../lib/jekyll-toc'
class TestTOCParser < Minitest::Test
SIMPLE_HTML = <<EOL
<h1>Simple H1</h1>
<h2>Simple H2</h2>
<h3>Simple H3</h3>
<h4>Simple H4</h4>
<h5>Simple H5</h5>
<h6>Simple H6</h6>
EOL
def setup
@data = SIMPLE_HTML
@parser = Jekyll::TableOfContentsFilter::... | <|file_sep|>original/test/test_toc_parser.rb
<|file_sep|>current/test/test_toc_parser.rb
<|file_sep|>updated/test/test_toc_parser.rb
require 'test_helper'
require_relative '../lib/jekyll-toc'
class TestTOCParser < Minitest::Test
SIMPLE_HTML = <<EOL
<h1>Simple H1</h1>
<h2>Simple H2</h2>
<h3>Simple H3</h3>
<h4>Simp... | f7d72aec9b10e580790ea1007eabe4a7313c293f | test/test_toc_parser.rb | test/test_toc_parser.rb | Ruby |
<|file_sep|>original/packages/cm/cmark-highlight.yaml
<|file_sep|>current/packages/cm/cmark-highlight.yaml
<|file_sep|>updated/packages/cm/cmark-highlight.yaml | homepage: http://github.com/aelve/cmark-highlight
changelog-type: markdown
hash: 0144f6396c80a4ba66c9cc463a38de1bfb0c51361988e847f7b9a5a25860c98d
test-bench-deps: {}
maintainer: yom@artyom.me
synopsis: Code highlighting for cmark
changelog: ! '# 0.1.0.0
First release.
'
basic-deps:
base: ! '>=4.7 && <4.10'
tex... | <|file_sep|>original/packages/cm/cmark-highlight.yaml
<|file_sep|>current/packages/cm/cmark-highlight.yaml
<|file_sep|>updated/packages/cm/cmark-highlight.yaml
homepage: http://github.com/aelve/cmark-highlight
changelog-type: markdown
hash: 0144f6396c80a4ba66c9cc463a38de1bfb0c51361988e847f7b9a5a25860c98d
test-bench-d... | d176800c90ba31b0a6e97a122d19e97989ff5c8c | packages/cm/cmark-highlight.yaml | packages/cm/cmark-highlight.yaml | YAML |
<|file_sep|>static/locales/en-GB/messages.properties.diff
original:
updated:
navigation-developers=Developers
<|file_sep|>original/static/locales/en-GB/messages.properties
# Title tag
# Navigation
# Header
upper-title=Pontoon by Mozilla
headline-1=LocaliSe the web.
# What
what-desc=Pontoon allows you to localise we... | # Title tag
# Navigation
navigation-developers=Developers
# Header
upper-title=Pontoon by Mozilla
headline-1=LocaliSe the web.
headline-2=In Place.
call-to-action=Tell Me More
# What
what-desc=Pontoon allows you to localise web content in place, with context and spatial limitations right in front of you.
context-des... | <|file_sep|>static/locales/en-GB/messages.properties.diff
original:
updated:
navigation-developers=Developers
<|file_sep|>original/static/locales/en-GB/messages.properties
# Title tag
# Navigation
# Header
upper-title=Pontoon by Mozilla
headline-1=LocaliSe the web.
# What
what-desc=Pontoon allows you to localise we... | 1c592c1bfcace053cd6ad4d639151c1e27f6ce7f | static/locales/en-GB/messages.properties | static/locales/en-GB/messages.properties | INI |
<|file_sep|>original/Modules/unicodedatabase.c
Data was extracted from the Unicode 3.0 UnicodeData.txt file.
Written by Marc-Andre Lemburg (mal@lemburg.com).
Rewritten for Python 2.0 by Fredrik Lundh (fredrik@pythonware.com)
Copyright (c) Corporation for National Research Initiatives.
---------------... |
Data was extracted from the Unicode 3.0 UnicodeData.txt file.
Written by Marc-Andre Lemburg (mal@lemburg.com).
Rewritten for Python 2.0 by Fredrik Lundh (fredrik@pythonware.com)
Copyright (c) Corporation for National Research Initiatives.
--------------------------------------------------------------... | <|file_sep|>original/Modules/unicodedatabase.c
Data was extracted from the Unicode 3.0 UnicodeData.txt file.
Written by Marc-Andre Lemburg (mal@lemburg.com).
Rewritten for Python 2.0 by Fredrik Lundh (fredrik@pythonware.com)
Copyright (c) Corporation for National Research Initiatives.
---------------... | e4bf49a203afcee266a24cd5b7b4c49944a74f3b | Modules/unicodedatabase.c | Modules/unicodedatabase.c | C |
<|file_sep|>original/www/assets/javascript/script.js
Walrus.init({
ajaxNavigation: true
});
SyntaxHighlighter.all();
Walrus.breadCrumb(function () {
SyntaxHighlighter.highlight();
init();
});
function init() {
$('#version').on('change', function () {
var version = $(this).find(':selected').va... | Walrus.init({
ajaxNavigation: true
});
SyntaxHighlighter.all();
Walrus.breadCrumb(function () {
SyntaxHighlighter.highlight();
init();
});
function init() {
$('#version').on('change', function () {
var version = $(this).find(':selected').val();
var pos = window.location.href.indexOf('... | <|file_sep|>original/www/assets/javascript/script.js
Walrus.init({
ajaxNavigation: true
});
SyntaxHighlighter.all();
Walrus.breadCrumb(function () {
SyntaxHighlighter.highlight();
init();
});
function init() {
$('#version').on('change', function () {
var version = $(this).find(':selected').va... | bd82643d261765fe26280881819cadf096cc7465 | www/assets/javascript/script.js | www/assets/javascript/script.js | JavaScript |
<|file_sep|>original/src/sentry/static/sentry/app/components/selectInput.jsx
this.props.onChange.call(this, this.select2, ...args);
},
render() {
let opts = {
ref: 'select',
disabled: this.props.disabled,
required: this.props.required,
multiple: this.props.multiple,
... | this.props.onChange.call(this, this.select2, ...args);
},
render() {
let opts = {
ref: 'select',
disabled: this.props.disabled,
required: this.props.required,
multiple: this.props.multiple,
placeholder: this.props.placeholder,
className: this.props.className,... | <|file_sep|>original/src/sentry/static/sentry/app/components/selectInput.jsx
this.props.onChange.call(this, this.select2, ...args);
},
render() {
let opts = {
ref: 'select',
disabled: this.props.disabled,
required: this.props.required,
multiple: this.props.multiple,
... | a2dd3f5119d4d806923e6a84b6667df9f6d5d1c1 | src/sentry/static/sentry/app/components/selectInput.jsx | src/sentry/static/sentry/app/components/selectInput.jsx | JSX |
<|file_sep|>original/spec/styles.js
import { default as React } from "react";
import { checkParity } from "./_util";
const Foobar = () => (
<div
style={{
padding: 10,
margin: 15,
opacity: 1,
animationIterationCount: 1,
animationName: "foobar",
fontSize: 15
}}
/>
);
de... | import { default as React } from "react";
import { checkParity } from "./_util";
const Foobar = () => (
<div
style={{
padding: 10,
margin: 15,
opacity: 1,
animationIterationCount: 1,
animationName: "foobar",
fontSize: 15
}}
/>
);
describe("the style prop", () => {
c... | <|file_sep|>original/spec/styles.js
import { default as React } from "react";
import { checkParity } from "./_util";
const Foobar = () => (
<div
style={{
padding: 10,
margin: 15,
opacity: 1,
animationIterationCount: 1,
animationName: "foobar",
fontSize: 15
}}
/>
);
de... | 3dd8a945d45e5bac66f4a0078350b4ca6f437211 | spec/styles.js | spec/styles.js | JavaScript |
<|file_sep|>original/buildscript.sh
mkdir /tmp/build
cd /tmp/build
cmake -DCUSTOM_ALLOC=$CUSTOM_ALLOC -DCMAKE_BUILD_TYPE=Debug -DCOVERAGE=ON $SOURCE
make
ctest -V
if [ "$CC" == "gcc" ]; then
# For some reason, this needs clean build
rm -rf *
cmake $SOURCE -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=gcc -D... |
mkdir /tmp/build
cd /tmp/build
cmake -DCUSTOM_ALLOC=$CUSTOM_ALLOC -DCMAKE_BUILD_TYPE=Debug -DCOVERAGE=ON $SOURCE
make
ctest -V
if [ "$CC" == "gcc" ]; then
# For some reason, this needs clean build
rm -rf *
cmake $SOURCE -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=gcc -DCOVERAGE=ON -DCUSTOM_ALLOC=$CUSTOM_A... | <|file_sep|>original/buildscript.sh
mkdir /tmp/build
cd /tmp/build
cmake -DCUSTOM_ALLOC=$CUSTOM_ALLOC -DCMAKE_BUILD_TYPE=Debug -DCOVERAGE=ON $SOURCE
make
ctest -V
if [ "$CC" == "gcc" ]; then
# For some reason, this needs clean build
rm -rf *
cmake $SOURCE -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=gcc -D... | 78273e030770482f04dd711ebb41bb47b679bd2e | buildscript.sh | buildscript.sh | Shell |
<|file_sep|>original/CodeFights/leastFactorial.py
<|file_sep|>current/CodeFights/leastFactorial.py
<|file_sep|>updated/CodeFights/leastFactorial.py | #!/usr/local/bin/python
# Code Fights Least Factorial (Core) Problem
def leastFactorial(n):
def factGen():
m, res = 1, 1
while True:
res *= m
yield res
m += 1
for f in factGen():
if f >= n:
return f
def main():
tests = [
[1... | <|file_sep|>original/CodeFights/leastFactorial.py
<|file_sep|>current/CodeFights/leastFactorial.py
<|file_sep|>updated/CodeFights/leastFactorial.py
#!/usr/local/bin/python
# Code Fights Least Factorial (Core) Problem
def leastFactorial(n):
def factGen():
m, res = 1, 1
while True:
res... | e9f30ec92520f8caa4f5d08fdf43b08ced84fd6b | CodeFights/leastFactorial.py | CodeFights/leastFactorial.py | Python |
<|file_sep|>original/ansible/roles/bootstrap/tasks/main.yml
# 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 gov... | # Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ... | <|file_sep|>original/ansible/roles/bootstrap/tasks/main.yml
# 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 gov... | 94d630ad1cbe75545e1a272b6dbefec61e606dbc | ansible/roles/bootstrap/tasks/main.yml | ansible/roles/bootstrap/tasks/main.yml | YAML |
<|file_sep|>cam-control/video-creator.sh.diff
original:
/usr/local/bin/youtube-upload --tags=$WEATHER_CAM_VID_TAGS -d $WEATHER_CAM_VID_DESCRIPTION --title "WEATHER_CAM_VID_TITLE $YEAR Day $DAY" --privacy=public --playlist=$WEATHER_CAM_VID_PLAYLIST --client-secrets=$HOME/youtube_client_secret.json ~/videos/$YEAR-$DAY/$Y... | echo "$PROGRAM Usage: $PROGRAM MONTH DAY YEAR"
exit
fi
DAY=$2
MONTH=$1
YEAR=$3
mkdir -p ~/videos/$YEAR-$DAY
cd ~/videos/$YEAR-$DAY
swift download weather-cam-$YEAR-$DAY --skip-identical
mencoder -nosound -ovc copy -o $YEAR-$DAY.avi -mf w=2592:h=1555:fps=40:type=jpg mf://*.jpg
avconv -i $YEAR-$DAY.avi -c:v h264 ... | <|file_sep|>cam-control/video-creator.sh.diff
original:
/usr/local/bin/youtube-upload --tags=$WEATHER_CAM_VID_TAGS -d $WEATHER_CAM_VID_DESCRIPTION --title "WEATHER_CAM_VID_TITLE $YEAR Day $DAY" --privacy=public --playlist=$WEATHER_CAM_VID_PLAYLIST --client-secrets=$HOME/youtube_client_secret.json ~/videos/$YEAR-$DAY/$Y... | b6c864928cc4055df616c2e4135685fc9a415c2e | cam-control/video-creator.sh | cam-control/video-creator.sh | Shell |
<|file_sep|>test/integration/justhub-version/serverspec/server_spec.rb.diff
original:
updated:
describe file('/usr/bin/ghc') do
it { should be_executable }
end
<|file_sep|>original/test/integration/justhub-version/serverspec/server_spec.rb
require 'serverspec'
include Serverspec::Helper::Exec
include Serverspec::... | require 'serverspec'
include Serverspec::Helper::Exec
include Serverspec::Helper::DetectOS
%w[haskell haskell-min].each do |p|
describe package(p) do
it { should be_installed.with_version('1-4.0.el6') }
end
end
describe file('/usr/bin/ghc') do
it { should be_executable }
end
describe command('/usr/bin/g... | <|file_sep|>test/integration/justhub-version/serverspec/server_spec.rb.diff
original:
updated:
describe file('/usr/bin/ghc') do
it { should be_executable }
end
<|file_sep|>original/test/integration/justhub-version/serverspec/server_spec.rb
require 'serverspec'
include Serverspec::Helper::Exec
include Serverspec::... | c0839bf63be9e56518ec0614d06c06b7f09a47d5 | test/integration/justhub-version/serverspec/server_spec.rb | test/integration/justhub-version/serverspec/server_spec.rb | Ruby |
<|file_sep|>packages/li/list-zip-def.yaml.diff
original:
hash: d03baa3b393854504d85cde3c9012c8ffe55b601f75c30231a40fc8d7df12ef2
updated:
hash: 2bbd57e04eb7266dda77ff6134d10af2fb96b36402ee78612df62a96e898d224
<|file_sep|>packages/li/list-zip-def.yaml.diff
original:
synopsis: Provides zips where the combining doesn't sto... | maintainer: muesli4@gmail.com
synopsis: Provides zips with default values.
changelog: ''
basic-deps:
base: ! '>=4.7 && <4.12'
all-versions:
- '0.1.0.0'
- '0.1.0.1'
- '0.1.0.2'
author: Moritz Bruder
latest: '0.1.0.2'
description-type: markdown
description: ! "# list-zip-def\n\nProvides zip functions that use a given d... | <|file_sep|>packages/li/list-zip-def.yaml.diff
original:
hash: d03baa3b393854504d85cde3c9012c8ffe55b601f75c30231a40fc8d7df12ef2
updated:
hash: 2bbd57e04eb7266dda77ff6134d10af2fb96b36402ee78612df62a96e898d224
<|file_sep|>packages/li/list-zip-def.yaml.diff
original:
synopsis: Provides zips where the combining doesn't sto... | f6144e61263a2f3e796d9fb1bc72faef1c8daf81 | packages/li/list-zip-def.yaml | packages/li/list-zip-def.yaml | YAML |
<|file_sep|>original/examples/sapui5/readme.md
<|file_sep|>current/examples/sapui5/readme.md
<|file_sep|>updated/examples/sapui5/readme.md | # SAPUI5/OpenUI5 • [TodoMVC](http://todomvc.com)
> The UI development toolkit for HTML5 (SAPUI5) is a platform for developing rich user interfaces for modern Web business applications.
> SAPUI5 has the following advantages:
> - SAPUI5 is an enterprise-ready web toolkit with powerful development concepts:
> - Built-i... | <|file_sep|>original/examples/sapui5/readme.md
<|file_sep|>current/examples/sapui5/readme.md
<|file_sep|>updated/examples/sapui5/readme.md
# SAPUI5/OpenUI5 • [TodoMVC](http://todomvc.com)
> The UI development toolkit for HTML5 (SAPUI5) is a platform for developing rich user interfaces for modern Web business applica... | 2de650d1e28f9b28d62d8378c2dffe165b58a07a | examples/sapui5/readme.md | examples/sapui5/readme.md | Markdown |
<|file_sep|>examples/index.html.diff
original:
<title>Addepar Ember Table Examples</title>
updated:
<title>Addepar Ember Table Examples, Documentation & Tests</title>
<|file_sep|>examples/index.html.diff
original:
<h1>Addepar Ember Table Examples & Documentation</h1>
updated:
<h1>Addepar... | <li><a href="./table_fluid">Table Fluid</a></li>
<li><a href="./table_simple">Table Simple</a></li>
<li><a href="./table_with_bar">Table With Bar</a></li>
<li><a href="./table_with_dynamic_bar">Table With Dynamic Bar</a></li>
<li><a href="./table_with_header">... | <|file_sep|>examples/index.html.diff
original:
<title>Addepar Ember Table Examples</title>
updated:
<title>Addepar Ember Table Examples, Documentation & Tests</title>
<|file_sep|>examples/index.html.diff
original:
<h1>Addepar Ember Table Examples & Documentation</h1>
updated:
<h1>Addepar... | 0590ee1e1f41984abd533abbe582532d20cc5d3e | examples/index.html | examples/index.html | HTML |
<|file_sep|>original/include/ImageIO/CGImageSourceInternal.h
//
// This code is licensed under the MIT License (MIT).
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONIN... | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF ... | <|file_sep|>original/include/ImageIO/CGImageSourceInternal.h
//
// This code is licensed under the MIT License (MIT).
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONIN... | 1ee690946e0b9dc2a44dd673f4e62942a953bec5 | include/ImageIO/CGImageSourceInternal.h | include/ImageIO/CGImageSourceInternal.h | C |
<|file_sep|>original/src/index.html
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>iDAI.field</title>
<meta name="description" content="iDAI.field 2 - Ein modulares Dokumenta... |
<title>iDAI.field</title>
<meta name="description" content="iDAI.field 2 - Ein modulares Dokumentationssystem für Feldforschungsprojekte.">
<meta name="keywords" content="iDAI.field 2, Grabung, Grabungssystem, Dokumentation">
<meta name="author" content="CoDArchLab Cologne">
<link rel="icon" href... | <|file_sep|>original/src/index.html
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>iDAI.field</title>
<meta name="description" content="iDAI.field 2 - Ein modulares Dokumenta... | 1a05fd2e2a75ab5770347f04e42648d79a546760 | src/index.html | src/index.html | HTML |
<|file_sep|>app/assets/javascripts/html_editor.js.diff
original:
var handler;
updated:
var options = undefined;
<|file_sep|>app/assets/javascripts/html_editor.js.diff
original:
var options = {
"html": true,
updated:
options = {
html: true,
<|file_sep|>app/assets/javascripts/html_editor.js.diff... | var handler = function() {
var $this = $(this);
if ($this.data('wysihtml5')) {
// We need to reinitialise the component; otherwise the iframe is as good as dead
// see https://github.com/xing/wysihtml5/issues/148
$this.css('display', 'block');
var input = $this.val();
var $parent... | <|file_sep|>app/assets/javascripts/html_editor.js.diff
original:
var handler;
updated:
var options = undefined;
<|file_sep|>app/assets/javascripts/html_editor.js.diff
original:
var options = {
"html": true,
updated:
options = {
html: true,
<|file_sep|>app/assets/javascripts/html_editor.js.diff... | 866d4ef1ddc75a0b11ed6862561ca1a4c1f63c9d | app/assets/javascripts/html_editor.js | app/assets/javascripts/html_editor.js | JavaScript |
<|file_sep|>original/scripts/aws_install_dependencies.sh
#!/bin/bash
set -eo pipefail
echo "Install dependencies"
cd /home/notify-app/notifications-api;
pip3 install --no-index --find-links=wheelhouse wheelhouse/*
<|file_sep|>current/scripts/aws_install_dependencies.sh
#!/bin/bash
set -eo pipefail
echo "Install de... | #!/bin/bash
set -eo pipefail
echo "Install dependencies"
cd /home/notify-app/notifications-api;
pip3 install --find-links=wheelhouse -r /home/notify-app/notifications-api/requirements.txt | <|file_sep|>original/scripts/aws_install_dependencies.sh
#!/bin/bash
set -eo pipefail
echo "Install dependencies"
cd /home/notify-app/notifications-api;
pip3 install --no-index --find-links=wheelhouse wheelhouse/*
<|file_sep|>current/scripts/aws_install_dependencies.sh
#!/bin/bash
set -eo pipefail
echo "Install de... | 4ac604370179648b20aec2cff25e9940d49a9721 | scripts/aws_install_dependencies.sh | scripts/aws_install_dependencies.sh | Shell |
<|file_sep|>original/pubspec.yaml
name: range_fix
description: A workaround for the Range.getClientRects bug in Chrome.
version: 0.1.2
author: Kwang Yul Seo <kwangyul.seo@gmail.com>
homepage: https://github.com/kseo/range_fix
environment:
sdk: '>=1.0.0 <2.0.0'
#dependencies:
# lib_name: any
dev_dependencies:
br... | name: range_fix
description: A workaround for the Range.getClientRects bug in Chrome.
version: 0.1.2
authors:
- Kwang Yul Seo <kwangyul.seo@gmail.com>
- Fluidic Team <dev@fluidic.io>
homepage: https://github.com/kseo/range_fix
environment:
sdk: '>=1.0.0 <2.0.0'
#dependencies:
# lib_name: any
dev_dependencies:
b... | <|file_sep|>original/pubspec.yaml
name: range_fix
description: A workaround for the Range.getClientRects bug in Chrome.
version: 0.1.2
author: Kwang Yul Seo <kwangyul.seo@gmail.com>
homepage: https://github.com/kseo/range_fix
environment:
sdk: '>=1.0.0 <2.0.0'
#dependencies:
# lib_name: any
dev_dependencies:
br... | f83f2c1f0e203f98a3bd36c40e5a1d72eed4555f | pubspec.yaml | pubspec.yaml | YAML |
<|file_sep|>app/src/main/java/com/marverenic/reader/utils/ViewUtils.kt.diff
original:
updated:
import android.view.ViewTreeObserver
<|file_sep|>original/app/src/main/java/com/marverenic/reader/utils/ViewUtils.kt
package com.marverenic.reader.utils
import android.view.View
inline fun <V : View> V.whenMeasured(crossin... | package com.marverenic.reader.utils
import android.view.View
import android.view.ViewTreeObserver
inline fun <V : View> V.whenMeasured(crossinline action: V.() -> Unit) {
if (isLaidOut) {
action()
} else {
viewTreeObserver.addOnGlobalLayoutListener(object : ViewTreeObserver.OnGlobalLayoutListe... | <|file_sep|>app/src/main/java/com/marverenic/reader/utils/ViewUtils.kt.diff
original:
updated:
import android.view.ViewTreeObserver
<|file_sep|>original/app/src/main/java/com/marverenic/reader/utils/ViewUtils.kt
package com.marverenic.reader.utils
import android.view.View
inline fun <V : View> V.whenMeasured(crossin... | ad824f0fead0d44ed6f4ba519aa8270fdad5c8d0 | app/src/main/java/com/marverenic/reader/utils/ViewUtils.kt | app/src/main/java/com/marverenic/reader/utils/ViewUtils.kt | Kotlin |
<|file_sep|>original/vendor/chef-server-12/templates/default/chef-server.rb.erb
<%
if node['chef-server-12']['analytics'] || node['chef-server-12']['supermarket']
@applications = {}
@applications.merge!({
analytics: {
redirect_uri: "https://#{node['chef-server-12']['analytics']['fqdn']}/"
}
}) if no... | if node['chef-server-12']['analytics'] || node['chef-server-12']['supermarket']
@applications = {}
@applications.merge!({
analytics: {
redirect_uri: "https://#{node['chef-server-12']['analytics']['fqdn']}/"
}
}) if node['chef-server-12']['analytics']
@applications.merge!({
supermarket: {
... | <|file_sep|>original/vendor/chef-server-12/templates/default/chef-server.rb.erb
<%
if node['chef-server-12']['analytics'] || node['chef-server-12']['supermarket']
@applications = {}
@applications.merge!({
analytics: {
redirect_uri: "https://#{node['chef-server-12']['analytics']['fqdn']}/"
}
}) if no... | 1e71296b638670db1fa4f182114d9dd75e828617 | vendor/chef-server-12/templates/default/chef-server.rb.erb | vendor/chef-server-12/templates/default/chef-server.rb.erb | HTML+ERB |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.