prompt stringlengths 77 6.9k | completion stringlengths 1 3.38k | text stringlengths 163 9.03k | commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | lang stringclasses 277
values |
|---|---|---|---|---|---|---|
<|file_sep|>original/docs/pull_request_template.md
## Description
Describe your changes in detail following the [commit message guidelines](https://www.mediawiki.org/wiki/Gerrit/Commit_message_guidelines)
## Rationale
[//]: # (Why is this change required? What problem does it solve?)
## Phabricator Ticket
[//]: # (Li... | Describe your changes in detail following the [commit message guidelines](https://www.mediawiki.org/wiki/Gerrit/Commit_message_guidelines)
## Rationale
[//]: # (Why is this change required? What problem does it solve?)
## Phabricator Ticket
[//]: # (Link to the Phabricator ticket)
## How Has This Been Tested?
[//]: ... | <|file_sep|>original/docs/pull_request_template.md
## Description
Describe your changes in detail following the [commit message guidelines](https://www.mediawiki.org/wiki/Gerrit/Commit_message_guidelines)
## Rationale
[//]: # (Why is this change required? What problem does it solve?)
## Phabricator Ticket
[//]: # (Li... | e7f699cce2aaa82d6c8c79678a826ff5ff33a2ff | docs/pull_request_template.md | docs/pull_request_template.md | Markdown |
<|file_sep|>original/aurso.sh
#!/bin/bash
cd `mktemp -d`
curl "https://aur.archlinux.org/packages/`expr substr $1 1 2`/$1/$1.tar.gz" | tar xz
makepkg -si
<|file_sep|>current/aurso.sh
#!/bin/bash
cd `mktemp -d`
curl "https://aur.archlinux.org/packages/`expr substr $1 1 2`/$1/$1.tar.gz" | tar xz
makepkg -si
<|file_sep|>u... | #!/bin/bash
cd `mktemp -d`
curl "https://aur.archlinux.org/packages/`expr substr $1 1 2`/$1/$1.tar.gz" | tar xz
cd $1
makepkg -si | <|file_sep|>original/aurso.sh
#!/bin/bash
cd `mktemp -d`
curl "https://aur.archlinux.org/packages/`expr substr $1 1 2`/$1/$1.tar.gz" | tar xz
makepkg -si
<|file_sep|>current/aurso.sh
#!/bin/bash
cd `mktemp -d`
curl "https://aur.archlinux.org/packages/`expr substr $1 1 2`/$1/$1.tar.gz" | tar xz
makepkg -si
<|file_sep|>u... | e0e23a83e5774dbcd762d3bdd5c06817ab19f3d9 | aurso.sh | aurso.sh | Shell |
<|file_sep|>original/index.js
'use strict';
var request = require('request');
var symbols = require('log-symbols');
module.exports = function(domain, callback){
var path = 'https://domainr.com/api/json/search?q='+domain+'&client_id=avail';
request(path, function (error, response, body) {
var results = JSON.p... | 'use strict';
var request = require('request');
var symbols = require('log-symbols');
module.exports = function(domain, callback){
var path = 'https://api.domainr.com/v1/api/json/search?q='+domain+'&client_id=avail';
request(path, function (error, response, body) {
var results = JSON.parse(body);
results... | <|file_sep|>original/index.js
'use strict';
var request = require('request');
var symbols = require('log-symbols');
module.exports = function(domain, callback){
var path = 'https://domainr.com/api/json/search?q='+domain+'&client_id=avail';
request(path, function (error, response, body) {
var results = JSON.p... | 5f468801d91b156d8d04b3a81c7dd234b44173db | index.js | index.js | JavaScript |
<|file_sep|>icekit/project/settings/_test.py.diff
original:
DATABASES = {
'default': {
updated:
DATABASES['default'].update({
'NAME': DATABASE_NAME,
'TEST': {
<|file_sep|>original/icekit/project/settings/_test.py
DATABASE_NAME = 'test_%s' % DATABASES['default']['NAME']
DATABASES = {
'default': {
... |
DATABASE_NAME = 'test_%s' % DATABASES['default']['NAME']
DATABASES['default'].update({
'NAME': DATABASE_NAME,
'TEST': {
'NAME': DATABASE_NAME,
# See: https://docs.djangoproject.com/en/1.7/ref/settings/#serialize
'SERIALIZE': False,
},
})
INSTALLED_APPS += ('icekit.tests', )
TEMPL... | <|file_sep|>icekit/project/settings/_test.py.diff
original:
DATABASES = {
'default': {
updated:
DATABASES['default'].update({
'NAME': DATABASE_NAME,
'TEST': {
<|file_sep|>original/icekit/project/settings/_test.py
DATABASE_NAME = 'test_%s' % DATABASES['default']['NAME']
DATABASES = {
'default': {
... | f0e29748ff899d7e65d1f4169e890d3e3c4bda0e | icekit/project/settings/_test.py | icekit/project/settings/_test.py | Python |
<|file_sep|>original/i2mx.js
*/
// Create img2musicXML (abbreviated as i2mx) namespace
var i2mx = i2mx || { };
// Create JsCheckup class (@TODO: Move to inside namespace)
var JsCheckup = function() {
this.divId = "i2mx-checkup";
this.activate = function() {
var div = document.getElementId(this.divId);
div.... | */
// Create img2musicXML (abbreviated as i2mx) namespace
var i2mx = i2mx || { };
// Create JsCheckup class (@TODO: Move to inside namespace)
var JsCheckup = function() {
this.divId = "i2mx-checkup";
this.activate = function() {
var div = document.getElementById(this.divId);
div.innerHTML = "No checklist f... | <|file_sep|>original/i2mx.js
*/
// Create img2musicXML (abbreviated as i2mx) namespace
var i2mx = i2mx || { };
// Create JsCheckup class (@TODO: Move to inside namespace)
var JsCheckup = function() {
this.divId = "i2mx-checkup";
this.activate = function() {
var div = document.getElementId(this.divId);
div.... | afb7193ec8cfa4308c50aaeed2f36647ff78da72 | i2mx.js | i2mx.js | JavaScript |
<|file_sep|>original/db/migrate/20150314005600_add_unique_index_on_fingerprint.rb
<|file_sep|>current/db/migrate/20150314005600_add_unique_index_on_fingerprint.rb
<|file_sep|>updated/db/migrate/20150314005600_add_unique_index_on_fingerprint.rb | class AddUniqueIndexOnFingerprint < ActiveRecord::Migration
def self.up
add_index :gitolite_public_keys, :fingerprint, unique: true
end
def self.down
remove_index :gitolite_public_keys, :fingerprint
end
end | <|file_sep|>original/db/migrate/20150314005600_add_unique_index_on_fingerprint.rb
<|file_sep|>current/db/migrate/20150314005600_add_unique_index_on_fingerprint.rb
<|file_sep|>updated/db/migrate/20150314005600_add_unique_index_on_fingerprint.rb
class AddUniqueIndexOnFingerprint < ActiveRecord::Migration
def self.up... | b53b5d511ba6a3c82cc0483318840a97b027dd7f | db/migrate/20150314005600_add_unique_index_on_fingerprint.rb | db/migrate/20150314005600_add_unique_index_on_fingerprint.rb | Ruby |
<|file_sep|>original/CoreUpdates/3259-ShoutLiteralFloatArrays-JuanVuletich-2018Feb06-11h27m-jmv.1.cs.st
<|file_sep|>current/CoreUpdates/3259-ShoutLiteralFloatArrays-JuanVuletich-2018Feb06-11h27m-jmv.1.cs.st
<|file_sep|>updated/CoreUpdates/3259-ShoutLiteralFloatArrays-JuanVuletich-2018Feb06-11h27m-jmv.1.cs.st | 'From Cuis 5.0 of 7 November 2016 [latest update: #3257] on 6 February 2018 at 11:27:37 am'!
!SHParserST80 methodsFor: 'parse' stamp: 'jmv 2/6/2018 11:27:31'!
parseByteArray
"Literal ByteArray or literal FloatArray"
[currentTokenFirst == $]] whileFalse: [
currentTokenFirst isDigit | (currentTokenFirst = $-)
ifT... | <|file_sep|>original/CoreUpdates/3259-ShoutLiteralFloatArrays-JuanVuletich-2018Feb06-11h27m-jmv.1.cs.st
<|file_sep|>current/CoreUpdates/3259-ShoutLiteralFloatArrays-JuanVuletich-2018Feb06-11h27m-jmv.1.cs.st
<|file_sep|>updated/CoreUpdates/3259-ShoutLiteralFloatArrays-JuanVuletich-2018Feb06-11h27m-jmv.1.cs.st
'From Cu... | fb4bda34c6784c9fb96a284ae7cdd7f37d17c082 | CoreUpdates/3259-ShoutLiteralFloatArrays-JuanVuletich-2018Feb06-11h27m-jmv.1.cs.st | CoreUpdates/3259-ShoutLiteralFloatArrays-JuanVuletich-2018Feb06-11h27m-jmv.1.cs.st | Smalltalk |
<|file_sep|>original/README.md
Dada
====
Dada is a simple program for generating tabular text data.
Installation
------------
make install
The default installation location is `$HOME`. Override it with `$PREFIX`:
PREFIX=/usr/local make install
Usage
-----
Usage: dada [-c columns] [-d delimiter] [-s... | Dada
====
Dada is a simple program for generating tabular text data.
Requirements
------------
Dada requires a C99 compiler and GNU Make.
Installation
------------
make install
The default installation location is `$HOME`. Override it with `$PREFIX`:
PREFIX=/usr/local make install
| <|file_sep|>original/README.md
Dada
====
Dada is a simple program for generating tabular text data.
Installation
------------
make install
The default installation location is `$HOME`. Override it with `$PREFIX`:
PREFIX=/usr/local make install
Usage
-----
Usage: dada [-c columns] [-d delimiter] [-s... | c4d6acf1822a5ff6a464c1614707f23305c76f51 | README.md | README.md | Markdown |
<|file_sep|>original/.github/workflows/test.yml
- uses: actions/checkout@v2
- name: test
run: |
export DEBIAN_FRONTEND=noninteractive && \
echo 'debconf debconf/frontend select Noninteractive' | sudo debconf-set-selections && \
sudo apt-get update && \
sudo apt-get install ... | - uses: actions/checkout@v2
- name: test
run: |
export DEBIAN_FRONTEND=noninteractive && \
echo 'debconf debconf/frontend select Noninteractive' | sudo debconf-set-selections && \
sudo apt-get update && \
sudo apt-get install -yq --no-install-recommends python3.7 python3-de... | <|file_sep|>original/.github/workflows/test.yml
- uses: actions/checkout@v2
- name: test
run: |
export DEBIAN_FRONTEND=noninteractive && \
echo 'debconf debconf/frontend select Noninteractive' | sudo debconf-set-selections && \
sudo apt-get update && \
sudo apt-get install ... | d056046e6d3334fc2a86f412e8f69f01081a7640 | .github/workflows/test.yml | .github/workflows/test.yml | YAML |
<|file_sep|>original/src/templates/overview.html
>✓</div>
</li>
</ul>
</div>
<div class="col-md-9">
<div *ngIf="selectedObject">
<form>
<div class="form-group">
<label>ID</label>
<input [(ngMo... | >✓</div>
</li>
</ul>
</div>
<div class="col-md-9">
<div *ngIf="selectedObject">
<form>
<div class="form-group">
<label>Identifier</label>
<input [(ngModel)]="selectedObject.identifier" class="... | <|file_sep|>original/src/templates/overview.html
>✓</div>
</li>
</ul>
</div>
<div class="col-md-9">
<div *ngIf="selectedObject">
<form>
<div class="form-group">
<label>ID</label>
<input [(ngMo... | d0bc6b72a012be76bea9297852ba9fb144105e8c | src/templates/overview.html | src/templates/overview.html | HTML |
<|file_sep|>Editor/YesAndEditor/YesAndEditorUtil.cs.diff
original:
updated:
using UnityEngine;
using System.Linq;
<|file_sep|>original/Editor/YesAndEditor/YesAndEditorUtil.cs
using UnityEditor;
using UnityEditor.SceneManagement;
namespace YesAndEditor {
// Static class packed to the brim with helpful Unity editor ... |
// Static class packed to the brim with helpful Unity editor utilities.
public static class YesAndEditorUtil {
// Forcefully mark open loaded scenes dirty and save them.
[MenuItem ("File/Force Save")]
public static void ForceSaveOpenScenes () {
EditorSceneManager.MarkAllScenesDirty ();
EditorSceneManage... | <|file_sep|>Editor/YesAndEditor/YesAndEditorUtil.cs.diff
original:
updated:
using UnityEngine;
using System.Linq;
<|file_sep|>original/Editor/YesAndEditor/YesAndEditorUtil.cs
using UnityEditor;
using UnityEditor.SceneManagement;
namespace YesAndEditor {
// Static class packed to the brim with helpful Unity editor ... | 0ae0e096767f0ea2d873676c25b68c0305a816e7 | Editor/YesAndEditor/YesAndEditorUtil.cs | Editor/YesAndEditor/YesAndEditorUtil.cs | C# |
<|file_sep|>original/README.md
# Trello Auto Scroll [![Chrome version][badge-chrome]][link-chrome]
[badge-chrome]: https://img.shields.io/badge/Chrome-v1.1-blue.svg
[link-chrome]: https://chrome.google.com/webstore/detail/trello-auto-scroll/iheeklbhnidcdjfkonakkkbbjophomkk "Version published on Chrome Web Store"
### ... | # Trello Auto Scroll [![Chrome version][badge-chrome]][link-chrome]
[badge-chrome]: https://img.shields.io/badge/Chrome-v1.3-blue.svg
[link-chrome]: https://chrome.google.com/webstore/detail/trello-auto-scroll/iheeklbhnidcdjfkonakkkbbjophomkk "Version published on Chrome Web Store"
### Why?
We decided to create this ... | <|file_sep|>original/README.md
# Trello Auto Scroll [![Chrome version][badge-chrome]][link-chrome]
[badge-chrome]: https://img.shields.io/badge/Chrome-v1.1-blue.svg
[link-chrome]: https://chrome.google.com/webstore/detail/trello-auto-scroll/iheeklbhnidcdjfkonakkkbbjophomkk "Version published on Chrome Web Store"
### ... | a0086f2e90317925e6a1f2351abcf4fd05f7e618 | README.md | README.md | Markdown |
<|file_sep|>original/README.md
# Librato Annotations Hook
<|file_sep|>current/README.md
# Librato Annotations Hook
<|file_sep|>updated/README.md | ## Librato Annotations Hook
Simple Sinatra app to map third-party service webhooks to Librato
Metric's [annotations API](http://dev.librato.com/v1/annotations).
## Supported Services
### Heroku HTTP Post Hook
Supports Heroku's [HTTP Post
Hook](https://devcenter.heroku.com/articles/deploy-hooks#http_post_hook).
Rou... | <|file_sep|>original/README.md
# Librato Annotations Hook
<|file_sep|>current/README.md
# Librato Annotations Hook
<|file_sep|>updated/README.md
## Librato Annotations Hook
Simple Sinatra app to map third-party service webhooks to Librato
Metric's [annotations API](http://dev.librato.com/v1/annotations).
## Supported... | 62375c72b24b7ee22510434837dffd03504d5ac1 | README.md | README.md | Markdown |
<|file_sep|>app/login/login_test.js.diff
original:
updated:
angular.module('ngNotify', []);
<|file_sep|>original/app/login/login_test.js
// Mock unavailable modules
angular.module('ngMessages', []);
angular.module('angularBasicAuthExample.user', []);
beforeEach(module('angularBasicAuthExample.login'));
... | angular.module('ngMessages', []);
angular.module('ngNotify', []);
angular.module('angularBasicAuthExample.user', []);
beforeEach(module('angularBasicAuthExample.login'));
describe('login controller', function() {
it('should ....', inject(function($rootScope, $controller) {
scope = $rootScope.$new(... | <|file_sep|>app/login/login_test.js.diff
original:
updated:
angular.module('ngNotify', []);
<|file_sep|>original/app/login/login_test.js
// Mock unavailable modules
angular.module('ngMessages', []);
angular.module('angularBasicAuthExample.user', []);
beforeEach(module('angularBasicAuthExample.login'));
... | e2358c8b41c32dd9bfaa1afe444b418a258fbd5a | app/login/login_test.js | app/login/login_test.js | JavaScript |
<|file_sep|>public/javascripts/photos.js.diff
original:
return _.chain($("img").toArray())
.map(function (element) {
return element.src;
})
.value();
updated:
return _.chain($("img").toArray())
.map(function (element) {
return element.src;
})
.value();
<|file_sep|>public/javascripts/photos... | var existingImages = getImagesFromDom();
_.chain(json)
.reverse()
.each(function (newPic) {
var exists = existingImages.some(function (url) {
return endsWith(url, newPic.url);
});
if (!exists) {
$("body").prepend($("<img>").addClass("selfie-image").attr("src", newPic.url));
}
});
// remove when t... | <|file_sep|>public/javascripts/photos.js.diff
original:
return _.chain($("img").toArray())
.map(function (element) {
return element.src;
})
.value();
updated:
return _.chain($("img").toArray())
.map(function (element) {
return element.src;
})
.value();
<|file_sep|>public/javascripts/photos... | d358d4029551f3798890ce91381220d71eb5edae | public/javascripts/photos.js | public/javascripts/photos.js | JavaScript |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "5"
- "4"
- "0.10"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "5"
- "4"
- "0.10"
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- "5"
- "4"
- "0.10"
before_script:
- npm install -g grunt-cli | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "5"
- "4"
- "0.10"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "5"
- "4"
- "0.10"
<|file_sep|>updated/.travis.yml
language: node_js
node_js:
- "5"
- "4"
- "0.10"
before_script:
- npm install -g grunt-cli | ff61fb5fc3a1a36a9b04297dcefee8dd933d54e3 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/install-nvm-windows.ps1
#
# 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.
# See the... | #
# 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/install-nvm-windows.ps1
#
# 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.
# See the... | b8fc270fc1519bf53f7b6edf8a6cec1109cae7c4 | install-nvm-windows.ps1 | install-nvm-windows.ps1 | PowerShell |
<|file_sep|>original/src/generated/accessible_adaptor_parent.diff
<|file_sep|>current/src/generated/accessible_adaptor_parent.diff
<|file_sep|>updated/src/generated/accessible_adaptor_parent.diff | diff --git b/src/generated/accessible_adaptor.cpp a/src/generated/accessible_adaptor.cpp
index 5542a5c..5474686 100644
--- b/src/generated/accessible_adaptor.cpp
+++ a/src/generated/accessible_adaptor.cpp
@@ -51,7 +51,8 @@ QString AccessibleAdaptor::name() const
return qvariant_cast< QString >(parent()->property("... | <|file_sep|>original/src/generated/accessible_adaptor_parent.diff
<|file_sep|>current/src/generated/accessible_adaptor_parent.diff
<|file_sep|>updated/src/generated/accessible_adaptor_parent.diff
diff --git b/src/generated/accessible_adaptor.cpp a/src/generated/accessible_adaptor.cpp
index 5542a5c..5474686 100644
---... | bde5e58ec60d3baae040b6e3484c669712ca1394 | src/generated/accessible_adaptor_parent.diff | src/generated/accessible_adaptor_parent.diff | Diff |
<|file_sep|>test/fixtures/cert-manager-values.yaml.diff
original:
cpu: 100m
memory: 50Mi
updated:
cpu: 500m
memory: 200Mi
<|file_sep|>test/fixtures/cert-manager-values.yaml.diff
original:
cpu: 200m
updated:
cpu: 1
<|file_sep|>test/fixtures/cert-manager-values.yaml.diff
original:
cpu: 10m
u... | cpu: 1
memory: 200Mi
extraArgs:
- --v=10
- --leader-election-lease-duration=10s
- --leader-election-renew-deadline=3s
- --leader-election-retry-period=2s
webhook:
enabled: true
image:
tag: build
pullPolicy: Never
resources:
requests:
cpu: 100m
memory: 40Mi
limits:
cpu: ... | <|file_sep|>test/fixtures/cert-manager-values.yaml.diff
original:
cpu: 100m
memory: 50Mi
updated:
cpu: 500m
memory: 200Mi
<|file_sep|>test/fixtures/cert-manager-values.yaml.diff
original:
cpu: 200m
updated:
cpu: 1
<|file_sep|>test/fixtures/cert-manager-values.yaml.diff
original:
cpu: 10m
u... | 939b5c3fac59e9f0b1de53e2bff6cf0fd425a514 | test/fixtures/cert-manager-values.yaml | test/fixtures/cert-manager-values.yaml | YAML |
<|file_sep|>original/requirements-dev.txt
# Runtime requirements
--requirement requirements.txt
# Documentation
Sphinx==1.6.6
#testing
pytest==3.4.0
pytest-cov==2.5.1
<|file_sep|>current/requirements-dev.txt
# Runtime requirements
--requirement requirements.txt
# Documentation
Sphinx==1.6.6
#testing
pytest==3.4.0
p... | # Runtime requirements
--requirement requirements.txt
# Documentation
Sphinx==1.7.1
#testing
pytest==3.4.0
pytest-cov==2.5.1 | <|file_sep|>original/requirements-dev.txt
# Runtime requirements
--requirement requirements.txt
# Documentation
Sphinx==1.6.6
#testing
pytest==3.4.0
pytest-cov==2.5.1
<|file_sep|>current/requirements-dev.txt
# Runtime requirements
--requirement requirements.txt
# Documentation
Sphinx==1.6.6
#testing
pytest==3.4.0
p... | f16e929992fb58bd5aef0afa341fc8cbc51a4d00 | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/content/shell/android/AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2012 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<manifest xmlns:android="http://sch... | <?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2012 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.chromium.con... | <|file_sep|>original/content/shell/android/AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2012 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<manifest xmlns:android="http://sch... | 1ddbbdadc8e565c2f77bfcfbe6b9b07d2ab8c61e | content/shell/android/AndroidManifest.xml | content/shell/android/AndroidManifest.xml | XML |
<|file_sep|>original/db.sql
<|file_sep|>current/db.sql
<|file_sep|>updated/db.sql | CREATE TABLE IF NOT EXISTS `Lectura` (
`ID` int(11) NOT NULL AUTO_INCREMENT,
`data` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`trasto_id` char(64) CHARACTER SET latin1 COLLATE latin1_spanish_ci NOT NULL,
`intensitat` float DEFAULT NULL,
`tensio` float DEFAULT NULL,
... | <|file_sep|>original/db.sql
<|file_sep|>current/db.sql
<|file_sep|>updated/db.sql
CREATE TABLE IF NOT EXISTS `Lectura` (
`ID` int(11) NOT NULL AUTO_INCREMENT,
`data` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`trasto_id` char(64) CHARACTER SET latin1 COLLATE latin1_spanish_ci NOT NULL,
... | 52d0ef5af18cef509bde504137d6efea3061349a | db.sql | db.sql | SQL |
<|file_sep|>original/packages/imon-percent/client/widget.css
.imon-percent .fa {
font-size: 1em;
}
.imon-percent h3{
float: right;
}
.imon-percent .fa.colored {
color: #6192BD;
}
.imon-percent .fa.plain {
color: #bdc3c7;
}
.imon-percent .online-users {
line-height: 1.1em;
}
.imon-percent .users-container... | .imon-percent .fa {
font-size: 1em;
}
.imon-percent h2, .imon-percent h3{
display:inline;
}
.imon-percent h3{
float: right;
}
.imon-percent .fa.colored {
color: #6192BD;
}
.imon-percent .fa.plain {
color: #bdc3c7;
}
.imon-percent .online-users {
line-height: 1.1em;
} | <|file_sep|>original/packages/imon-percent/client/widget.css
.imon-percent .fa {
font-size: 1em;
}
.imon-percent h3{
float: right;
}
.imon-percent .fa.colored {
color: #6192BD;
}
.imon-percent .fa.plain {
color: #bdc3c7;
}
.imon-percent .online-users {
line-height: 1.1em;
}
.imon-percent .users-container... | df1cd0c81c0ae658333d8bee698693adecbc2fc9 | packages/imon-percent/client/widget.css | packages/imon-percent/client/widget.css | CSS |
<|file_sep|>original/composer.json
"authors": [
{
"name": "Denis Oliveira",
"email": "denisolvr@gmail.com"
},
{
"name": "Freemancontingent",
"email": "helpdesk@freemancontingent.ie"
}
],
"minimum-stability": "dev",
"require"... | "authors": [
{
"name": "Denis Oliveira",
"email": "denisolvr@gmail.com"
},
{
"name": "Freemancontingent",
"email": "helpdesk@freemancontingent.ie"
}
],
"minimum-stability": "stable",
"require": {
"php": "^5.3.3 || ^7.0... | <|file_sep|>original/composer.json
"authors": [
{
"name": "Denis Oliveira",
"email": "denisolvr@gmail.com"
},
{
"name": "Freemancontingent",
"email": "helpdesk@freemancontingent.ie"
}
],
"minimum-stability": "dev",
"require"... | 89abe6dfa834dfeb5b27d42eae70092476b462d2 | composer.json | composer.json | JSON |
<|file_sep|>original/src/base/types/SecureTrait.php
public function __construct()
{
$this->security = Security::getInstance();
}
/**
* Método que verifica si está autenticado el usuario
* @return boolean
*/
public function isLogged() {
return (null !== $this->security... | public function __construct()
{
$this->security = Security::getInstance();
}
/**
* Método que verifica si está autenticado el usuario
* @return boolean
*/
public function isLogged() {
return (null !== $this->security->getUser() || $this->isAdmin());
}
/**
... | <|file_sep|>original/src/base/types/SecureTrait.php
public function __construct()
{
$this->security = Security::getInstance();
}
/**
* Método que verifica si está autenticado el usuario
* @return boolean
*/
public function isLogged() {
return (null !== $this->security... | 728bdae1114065852fb744522961efcf7ef88c73 | src/base/types/SecureTrait.php | src/base/types/SecureTrait.php | PHP |
<|file_sep|>original/tests/functional/test_endpoints.py
<|file_sep|>current/tests/functional/test_endpoints.py
<|file_sep|>updated/tests/functional/test_endpoints.py | # Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You
# may not use this file except in compliance with the License. A copy of
# the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" file accompa... | <|file_sep|>original/tests/functional/test_endpoints.py
<|file_sep|>current/tests/functional/test_endpoints.py
<|file_sep|>updated/tests/functional/test_endpoints.py
# Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You
# may ... | b555659518097db41a02d505ebfaf88e828b2f30 | tests/functional/test_endpoints.py | tests/functional/test_endpoints.py | Python |
<|file_sep|>original/package.json
"main": "lint.js",
"bin": "./bin/lint",
"author": "Angelo ZERR <angelo.zerr@gmail.com>",
"description": "Tern plugin to validate JavaScripts files to collect semantic errors.",
"repository": {
"type": "git",
"url": "git://github.com/angelozerr/tern-lint.git"
},
"s... | "main": "lint.js",
"bin": "./bin/lint",
"author": "Angelo ZERR <angelo.zerr@gmail.com>",
"description": "Tern plugin to validate JavaScripts files to collect semantic errors.",
"repository": {
"type": "git",
"url": "git://github.com/angelozerr/tern-lint.git"
},
"scripts": {
"test": "node ./tes... | <|file_sep|>original/package.json
"main": "lint.js",
"bin": "./bin/lint",
"author": "Angelo ZERR <angelo.zerr@gmail.com>",
"description": "Tern plugin to validate JavaScripts files to collect semantic errors.",
"repository": {
"type": "git",
"url": "git://github.com/angelozerr/tern-lint.git"
},
"s... | 2aec4e5edf53c7b9a62dc6a90115981b4a3988c5 | package.json | package.json | JSON |
<|file_sep|>original/etc/requirements_dev.txt
ipython==0.13.1
tornado==2.4.1
pyzmq==2.2.0.1
# Testing
nose==1.2.1
nose-parameterized==0.1
nosexcover==1.0.7
# Linting
flake8==1.7.0
# Documentation Conversion
pyandoc==0.0.1
<|file_sep|>current/etc/requirements_dev.txt
ipython==0.13.1
tornado==2.4.1
pyzmq==2.2.0.1
#... | ipython==0.13.1
tornado==2.4.1
pyzmq==2.2.0.1
# Testing
nose==1.2.1
nose-parameterized==0.1
# Linting
flake8==1.7.0
# Documentation Conversion
pyandoc==0.0.1 | <|file_sep|>original/etc/requirements_dev.txt
ipython==0.13.1
tornado==2.4.1
pyzmq==2.2.0.1
# Testing
nose==1.2.1
nose-parameterized==0.1
nosexcover==1.0.7
# Linting
flake8==1.7.0
# Documentation Conversion
pyandoc==0.0.1
<|file_sep|>current/etc/requirements_dev.txt
ipython==0.13.1
tornado==2.4.1
pyzmq==2.2.0.1
#... | 79c101a32ab7d94b2e0faa4611436908e1523146 | etc/requirements_dev.txt | etc/requirements_dev.txt | Text |
<|file_sep|>raven-log4j/src/test/java/net/kencochrane/raven/log4j/SentryAppenderIT.java.diff
original:
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
updated:
import org.testng.annotations.AfterMethod;
import org.testng.annotations.Test;
<|file_sep|>raven-log4j/src/test/java/net/kencochrane/rav... | import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.is;
public class SentryAppenderIT {
private static final Logger logger = Logger.getLogger(SentryAppenderIT.class);
private SentryStub sentryStub = new SentryStub();
@AfterMethod
public void tearDown() {
se... | <|file_sep|>raven-log4j/src/test/java/net/kencochrane/raven/log4j/SentryAppenderIT.java.diff
original:
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
updated:
import org.testng.annotations.AfterMethod;
import org.testng.annotations.Test;
<|file_sep|>raven-log4j/src/test/java/net/kencochrane/rav... | adaf4fe6e0db2d1f43d08ee7f5af46237037b8d4 | raven-log4j/src/test/java/net/kencochrane/raven/log4j/SentryAppenderIT.java | raven-log4j/src/test/java/net/kencochrane/raven/log4j/SentryAppenderIT.java | Java |
<|file_sep|>original/app/views/users/show.html.erb
<h1>Welcome <%= @user.name %></h1>
<p>Your details:</p>
<ul>
<li>Name: <%= @user.name %></li>
<li>Email: <%= @user.email %></li>
</ul>
<|file_sep|>current/app/views/users/show.html.erb
<h1>Welcome <%= @user.name %></h1>
<p>Your details:</p>
<ul>
<li>Name: <%= @... | <h1>Welcome <%= @user.name %></h1>
<p>Your details:</p>
<ul>
<li>Name: <%= @user.name %></li>
<li>Email: <%= @user.email %></li>
</ul>
<%= link_to 'View your diaries', user_diaries_path([@user]) %> | <|file_sep|>original/app/views/users/show.html.erb
<h1>Welcome <%= @user.name %></h1>
<p>Your details:</p>
<ul>
<li>Name: <%= @user.name %></li>
<li>Email: <%= @user.email %></li>
</ul>
<|file_sep|>current/app/views/users/show.html.erb
<h1>Welcome <%= @user.name %></h1>
<p>Your details:</p>
<ul>
<li>Name: <%= @... | 26853e9ee32f8dc5422cf4811067b7f8b4a71a5a | app/views/users/show.html.erb | app/views/users/show.html.erb | HTML+ERB |
<|file_sep|>original/lib/npm.js
function logWrap (s, fun) {
return function () {
var args = [].slice.apply(arguments);
return Bluebird
.resolve()
.then(function () {
console.log(s + ' ... ');
})
.then(function () {
return fun.apply(null, args);
})
.then(fun... | var args = [].slice.apply(arguments);
return Bluebird
.resolve()
.then(function () {
console.log(s + ' ... ');
})
.then(function () {
return fun.apply(null, args);
})
.then(function () {
console.log(s + ' ... done.');
})
.catch(function (e... | <|file_sep|>original/lib/npm.js
function logWrap (s, fun) {
return function () {
var args = [].slice.apply(arguments);
return Bluebird
.resolve()
.then(function () {
console.log(s + ' ... ');
})
.then(function () {
return fun.apply(null, args);
})
.then(fun... | 60db2c3739f3811f72fe190466a7693c6018bf46 | lib/npm.js | lib/npm.js | JavaScript |
<|file_sep|>original/example/CMakeLists.txt
# Use static anttweakbar.
add_definitions(-DTW_NO_LIB_PRAGMA -DTW_STATIC)
# Use static GLEW.
add_definitions(-DGLEW_STATIC)
# Use static freeglut.
add_definitions(-DFREEGLUT_LIB_PRAGMAS=0 -DFREEGLUT_STATIC)
file(TO_NATIVE_PATH "${PROJECT_SOURCE_DIR}/resources/" GLVIZ_RESOU... | # Use static anttweakbar.
add_definitions(-DTW_NO_LIB_PRAGMA -DTW_STATIC)
# Use static GLEW.
add_definitions(-DGLEW_STATIC)
file(TO_NATIVE_PATH "${PROJECT_SOURCE_DIR}/resources/" GLVIZ_RESOURCES_DIR)
configure_file(config.hpp.in "${CMAKE_CURRENT_BINARY_DIR}/config.hpp")
add_executable(example
example.cpp
)
incl... | <|file_sep|>original/example/CMakeLists.txt
# Use static anttweakbar.
add_definitions(-DTW_NO_LIB_PRAGMA -DTW_STATIC)
# Use static GLEW.
add_definitions(-DGLEW_STATIC)
# Use static freeglut.
add_definitions(-DFREEGLUT_LIB_PRAGMAS=0 -DFREEGLUT_STATIC)
file(TO_NATIVE_PATH "${PROJECT_SOURCE_DIR}/resources/" GLVIZ_RESOU... | b0d009498c81fe016502a3da620ad0792346c5a8 | example/CMakeLists.txt | example/CMakeLists.txt | Text |
<|file_sep|>original/.idea/runConfigurations/ScoreModel__test_.xml
<|file_sep|>current/.idea/runConfigurations/ScoreModel__test_.xml
<|file_sep|>updated/.idea/runConfigurations/ScoreModel__test_.xml | <component name="ProjectRunConfigurationManager">
<configuration default="false" name="ScoreModel [test]" type="GradleRunConfiguration" factoryName="Gradle">
<ExternalSystemSettings>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="externa... | <|file_sep|>original/.idea/runConfigurations/ScoreModel__test_.xml
<|file_sep|>current/.idea/runConfigurations/ScoreModel__test_.xml
<|file_sep|>updated/.idea/runConfigurations/ScoreModel__test_.xml
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="ScoreModel [test]" type="Gradl... | 198ee06997110d3da373d1a19b1e2d85709559d8 | .idea/runConfigurations/ScoreModel__test_.xml | .idea/runConfigurations/ScoreModel__test_.xml | XML |
<|file_sep|>ocradmin/lib/nodetree/registry.py.diff
original:
updated:
import inspect
<|file_sep|>ocradmin/lib/nodetree/registry.py.diff
original:
__all__ = ["NodeRegistry", "nodes"]
updated:
<|file_sep|>ocradmin/lib/nodetree/registry.py.diff
original:
"""Register a node in the node registry.
The n... | def unregister(self, name):
"""Unregister node by name."""
try:
# Might be a node class
name = name.name
except AttributeError:
pass
self.pop(name)
def get_by_attr(self, attr, value=None):
"""Return all nodes of a specific type that ha... | <|file_sep|>ocradmin/lib/nodetree/registry.py.diff
original:
updated:
import inspect
<|file_sep|>ocradmin/lib/nodetree/registry.py.diff
original:
__all__ = ["NodeRegistry", "nodes"]
updated:
<|file_sep|>ocradmin/lib/nodetree/registry.py.diff
original:
"""Register a node in the node registry.
The n... | 492004049da87744cd96a6e6afeb9a6239a8ac44 | ocradmin/lib/nodetree/registry.py | ocradmin/lib/nodetree/registry.py | Python |
<|file_sep|>app/database/seeds/ComponentTableSeeder.php.diff
original:
updated:
"tags" => "",
<|file_sep|>app/database/seeds/ComponentTableSeeder.php.diff
original:
updated:
"tags" => "",
<|file_sep|>original/app/database/seeds/ComponentTableSeeder.php
"us... | "group_id" => 0,
"link" => "",
"tags" => "",
], [
"name" => "Website",
"status" => 1,
"user_id" => 1,
"order" => 0,
"group_id" => 0,
... | <|file_sep|>app/database/seeds/ComponentTableSeeder.php.diff
original:
updated:
"tags" => "",
<|file_sep|>app/database/seeds/ComponentTableSeeder.php.diff
original:
updated:
"tags" => "",
<|file_sep|>original/app/database/seeds/ComponentTableSeeder.php
"us... | 4e454130da7eccd7844ccf624734d429ff4a1444 | app/database/seeds/ComponentTableSeeder.php | app/database/seeds/ComponentTableSeeder.php | PHP |
<|file_sep|>original/.github/workflows/nodejs.yml
branches: [ devel ]
pull_request:
branches: [ devel ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
... | branches: [ devel ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }... | <|file_sep|>original/.github/workflows/nodejs.yml
branches: [ devel ]
pull_request:
branches: [ devel ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
... | 2c79c4effe4c498dd1212eb6a80851c38932a848 | .github/workflows/nodejs.yml | .github/workflows/nodejs.yml | YAML |
<|file_sep|>original/dist/README.md
The distribution folder holds the source and compressed versions of the paging directive.
The distribution files are built using [grunt](http://gruntjs.com/).
Any [bower](https://bower.io/) references should use either the source or compressed version.
Any Content Delivery Networ... |
The distribution folder holds the source and compressed versions of the paging directive.
The distribution files are built using [grunt](http://gruntjs.com/).
Any [bower](https://bower.io/) references should use either the source or compressed version.
Any Content Delivery Networks would reference these files.
---... | <|file_sep|>original/dist/README.md
The distribution folder holds the source and compressed versions of the paging directive.
The distribution files are built using [grunt](http://gruntjs.com/).
Any [bower](https://bower.io/) references should use either the source or compressed version.
Any Content Delivery Networ... | 695dea93785cdb479820c8fd82a0af81db13d9df | dist/README.md | dist/README.md | Markdown |
<|file_sep|>.travis.yml.diff
original:
- '3.7'
updated:
- '3.7-dev'
<|file_sep|>original/.travis.yml
- '3.7'
before_install:
- export PATH=$(echo $PATH | tr ':' "\n" | sed '/\/opt\/python/d' | tr "\n" ":" | sed "s|::|:|g")
addons:
apt_packages:
- pandoc
install:
- pip install .
- pip install -r requi... | - '3.7-dev'
before_install:
- export PATH=$(echo $PATH | tr ':' "\n" | sed '/\/opt\/python/d' | tr "\n" ":" | sed "s|::|:|g")
addons:
apt_packages:
- pandoc
install:
- pip install .
- pip install -r requirements.txt
before_script:
- export PYTHONPATH=$PYTHONPATH:$(pwd)
script:
- pytest -v --cov=. -... | <|file_sep|>.travis.yml.diff
original:
- '3.7'
updated:
- '3.7-dev'
<|file_sep|>original/.travis.yml
- '3.7'
before_install:
- export PATH=$(echo $PATH | tr ':' "\n" | sed '/\/opt\/python/d' | tr "\n" ":" | sed "s|::|:|g")
addons:
apt_packages:
- pandoc
install:
- pip install .
- pip install -r requi... | 20810f5c61841bebb325a87316a9c88a0733dc6b | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/library/Denkmal/library/Denkmal/SmartyPlugins/function.linkDomainShort.php
<|file_sep|>current/library/Denkmal/library/Denkmal/SmartyPlugins/function.linkDomainShort.php
<|file_sep|>updated/library/Denkmal/library/Denkmal/SmartyPlugins/function.linkDomainShort.php | <?php
require_once CM_Util::getModulePath('CM') . 'library/CM/SmartyPlugins/function.link.php';
function smarty_function_linkDomainShort(array $params, Smarty_Internal_Template $template) {
/** @var CM_Frontend_Render $render */
$render = $template->smarty->getTemplateVars('render');
$page = $params['page... | <|file_sep|>original/library/Denkmal/library/Denkmal/SmartyPlugins/function.linkDomainShort.php
<|file_sep|>current/library/Denkmal/library/Denkmal/SmartyPlugins/function.linkDomainShort.php
<|file_sep|>updated/library/Denkmal/library/Denkmal/SmartyPlugins/function.linkDomainShort.php
<?php
require_once CM_Util::getM... | b3b808674c14853ac68daabf02b96de17bb95b7b | library/Denkmal/library/Denkmal/SmartyPlugins/function.linkDomainShort.php | library/Denkmal/library/Denkmal/SmartyPlugins/function.linkDomainShort.php | PHP |
<|file_sep|>original/requirements.txt
beautifulsoup4==4.10.0
bcrypt==3.2.0
croniter==1.1.0
Cython==0.29.26
feedparser==6.0.8
furl==2.1.3
google-api-python-client==2.33.0
isodate==0.6.1
jq==1.2.1
jsonpath-ng==1.5.3
lxml==4.7.0
Pillow==8.4.0
parsedatetime==2.6
psutil==5.8.0
pyhedrals==0.2.0
pymediawiki==0.7.1
pyre2==0.3.... | beautifulsoup4==4.10.0
bcrypt==3.2.0
croniter==1.1.0
Cython==0.29.26
feedparser==6.0.8
furl==2.1.3
google-api-python-client==2.33.0
isodate==0.6.1
jq==1.2.1
jsonpath-ng==1.5.3
lxml==4.7.1
Pillow==8.4.0
parsedatetime==2.6
psutil==5.8.0
pyhedrals==0.2.0
pymediawiki==0.7.1
pyre2==0.3.6
python-dateutil==2.8.2
pytimeparse==... | <|file_sep|>original/requirements.txt
beautifulsoup4==4.10.0
bcrypt==3.2.0
croniter==1.1.0
Cython==0.29.26
feedparser==6.0.8
furl==2.1.3
google-api-python-client==2.33.0
isodate==0.6.1
jq==1.2.1
jsonpath-ng==1.5.3
lxml==4.7.0
Pillow==8.4.0
parsedatetime==2.6
psutil==5.8.0
pyhedrals==0.2.0
pymediawiki==0.7.1
pyre2==0.3.... | edf022cae6f8b953778bd139e2319560cf6e8b58 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/app/styles/ui/_foldout-list.scss
height: 100%;
display: flex;
flex-direction: row;
.foldout-list-contents {
display: flex;
flex-direction: column;
flex: 1;
min-width: inherit;
border-right: var(--box-border-color);
border-right-width: 1px;
border-right-style: ... | display: flex;
flex-direction: row;
.foldout-list-contents {
display: flex;
flex-direction: column;
flex: 1;
min-width: inherit;
border-right: var(--box-border-color);
border-right-width: 1px;
border-right-style: solid;
.filter-field {
padding-left: var(--spacing);
... | <|file_sep|>original/app/styles/ui/_foldout-list.scss
height: 100%;
display: flex;
flex-direction: row;
.foldout-list-contents {
display: flex;
flex-direction: column;
flex: 1;
min-width: inherit;
border-right: var(--box-border-color);
border-right-width: 1px;
border-right-style: ... | 0892df4f9306ddee39e7b1bc58fc456636fb3277 | app/styles/ui/_foldout-list.scss | app/styles/ui/_foldout-list.scss | SCSS |
<|file_sep|>composer.json.diff
original:
"require":
{
updated:
"require": {
<|file_sep|>original/composer.json
{
"name": "silverstripe/subsites",
"description": "Run multiple sites from a single SilverStripe install.",
"license": "BSD-3-Clause",
"type": "silverstripe-module",
"keywords": ["silverstripe", "subsi... | "type": "silverstripe-module",
"keywords": ["silverstripe", "subsites", "multisite"],
"authors": [
{
"name": "Sam Minnee",
"email": "sam@silverstripe.com"
}
],
"require": {
"silverstripe/framework": "~3.2",
"silverstripe/cms": "~3.2"
},
"require-dev": {
"phpunit/PHPUnit": "~3.7@stable"
},
"extr... | <|file_sep|>composer.json.diff
original:
"require":
{
updated:
"require": {
<|file_sep|>original/composer.json
{
"name": "silverstripe/subsites",
"description": "Run multiple sites from a single SilverStripe install.",
"license": "BSD-3-Clause",
"type": "silverstripe-module",
"keywords": ["silverstripe", "subsi... | 4d38452435c69052d7ec0114d4af4e1b85d11c66 | composer.json | composer.json | JSON |
<|file_sep|>original/api/citations/urls.py
from django.conf.urls import url
from api.citations import views
urlpatterns = [
url(r'^$', views.CitationList.as_view(), name=views.CitationList.view_name),
url(r'^(?P<citation_id>\w+)/$', views.CitationDetail.as_view(), name=views.CitationDetail.view_name),
]
<|fil... | from django.conf.urls import url
from api.citations import views
urlpatterns = [
url(r'^styles/$', views.CitationList.as_view(), name=views.CitationList.view_name),
url(r'^styles/(?P<citation_id>\w+)/$', views.CitationDetail.as_view(), name=views.CitationDetail.view_name),
] | <|file_sep|>original/api/citations/urls.py
from django.conf.urls import url
from api.citations import views
urlpatterns = [
url(r'^$', views.CitationList.as_view(), name=views.CitationList.view_name),
url(r'^(?P<citation_id>\w+)/$', views.CitationDetail.as_view(), name=views.CitationDetail.view_name),
]
<|fil... | 5ab34396d4f494f884ddf98fb993bcf1b928216e | api/citations/urls.py | api/citations/urls.py | Python |
<|file_sep|>styles.css.diff
original:
/* border: black solid 3px; */
updated:
<|file_sep|>original/styles.css
.row {
flex: 1;
display: flex;
flex-direction: row;
/* border: black solid 3px; */
}
.col {
flex: 1;
border: black solid 5px;
}
.link {
color: #fff;
height: 100%;
width: 100%;
display:... |
.row {
flex: 1;
display: flex;
flex-direction: row;
}
.col {
flex: 1;
border: black solid 5px;
background: black;
}
.link {
color: #fff;
height: 100%;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
text-decoration: none; | <|file_sep|>styles.css.diff
original:
/* border: black solid 3px; */
updated:
<|file_sep|>original/styles.css
.row {
flex: 1;
display: flex;
flex-direction: row;
/* border: black solid 3px; */
}
.col {
flex: 1;
border: black solid 5px;
}
.link {
color: #fff;
height: 100%;
width: 100%;
display:... | 81ad3eebb3a837138d3d37c454677d4b50250c3e | styles.css | styles.css | CSS |
<|file_sep|>app/controllers/routes_controller.rb.diff
original:
updated:
require 'lib/engine_route_collection'
<|file_sep|>app/controllers/routes_controller.rb.diff
original:
@route_collection = RouteCollection.new(app_routes: application_routes, eng_routes: engine_routes)
updated:
@routes = application_ro... | layout false
def routes
@routes = application_routes + engline_routes
end
private
def engine_routes
RouteCollection.new(
::Rails::Engine.subclasses.map do |engine|
{ engine: engine.name, routes: [*engine.routes.routes.routes] }
end.flatten
)
end
... | <|file_sep|>app/controllers/routes_controller.rb.diff
original:
updated:
require 'lib/engine_route_collection'
<|file_sep|>app/controllers/routes_controller.rb.diff
original:
@route_collection = RouteCollection.new(app_routes: application_routes, eng_routes: engine_routes)
updated:
@routes = application_ro... | 21dde15771cbd98c90451d69d83085730a1e9f1c | app/controllers/routes_controller.rb | app/controllers/routes_controller.rb | Ruby |
<|file_sep|>original/client/views/pages/pages_index/pages_index.html
<template name="PagesIndex">
<ol class="breadcrumb">
<li><a href="/">Letterhead</a></li>
<li>Pages</li>
</ol>
<div class="panel panel-default">
<div class="panel-heading">
<strong>Pages</strong>
<a href="{{pathFor 'pages... |
<div class="panel panel-default">
<div class="panel-heading">
<strong>Pages</strong>
<a href="{{pathFor 'pages.new'}}" class="pull-right" title="Create new page">
<span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
</a>
</div>
<ul class="list-group">
{{#each... | <|file_sep|>original/client/views/pages/pages_index/pages_index.html
<template name="PagesIndex">
<ol class="breadcrumb">
<li><a href="/">Letterhead</a></li>
<li>Pages</li>
</ol>
<div class="panel panel-default">
<div class="panel-heading">
<strong>Pages</strong>
<a href="{{pathFor 'pages... | 1c84803e9de9aeaeb81199913255aef16de9f4f8 | client/views/pages/pages_index/pages_index.html | client/views/pages/pages_index/pages_index.html | HTML |
<|file_sep|>original/requirements_test.txt
coverage==4.5.3
mock>=1.0.1
flake8>=2.1.0
tox>=1.7.0
codecov>=2.0.0
# Additional test requirements go here
<|file_sep|>current/requirements_test.txt
coverage==4.5.3
mock>=1.0.1
flake8>=2.1.0
tox>=1.7.0
codecov>=2.0.0
# Additional test requirements go here
<|file_sep|>updat... | coverage==4.5.4
mock>=1.0.1
flake8>=2.1.0
tox>=1.7.0
codecov>=2.0.0
# Additional test requirements go here | <|file_sep|>original/requirements_test.txt
coverage==4.5.3
mock>=1.0.1
flake8>=2.1.0
tox>=1.7.0
codecov>=2.0.0
# Additional test requirements go here
<|file_sep|>current/requirements_test.txt
coverage==4.5.3
mock>=1.0.1
flake8>=2.1.0
tox>=1.7.0
codecov>=2.0.0
# Additional test requirements go here
<|file_sep|>updat... | 0f59fdabd10a29f78a0d7eeda7827a1ab212c9b7 | requirements_test.txt | requirements_test.txt | Text |
<|file_sep|>original/spec/validator_spec.rb
end
it 'should refuse to validate with CRL or OCSP' do
expect{ subject.validate crl: true }.to raise_error
expect{ subject.validate ocsp: true }.to raise_error
end
end
describe 'with a cert with CRL and OCSP data' do
let(:github_cert){ R509::... | end
it 'should refuse to validate with CRL or OCSP' do
expect{ subject.validate crl: true }.to raise_error
expect{ subject.validate ocsp: true }.to raise_error
end
end
describe 'with a cert with CRL and OCSP data' do
let(:github_cert){ R509::Cert.new cert: load_cert('github.crt') }
... | <|file_sep|>original/spec/validator_spec.rb
end
it 'should refuse to validate with CRL or OCSP' do
expect{ subject.validate crl: true }.to raise_error
expect{ subject.validate ocsp: true }.to raise_error
end
end
describe 'with a cert with CRL and OCSP data' do
let(:github_cert){ R509::... | 0cf30cc7411dd8b1874f449b0736a21dccb47a2c | spec/validator_spec.rb | spec/validator_spec.rb | Ruby |
<|file_sep|>original/netci.groovy
import jobs.generation.Utilities
def project = GithubProject
def branch = GithubBranchName
def isPR = true
def platformList = ['Ubuntu16.04:Debian', 'Windows_2016:NanoServer']
def versionList = ['1.0', '1.1', '2.0']
platformList.each { platform ->
def(hostOS, containerOS) = platf... | import jobs.generation.Utilities
def project = GithubProject
def branch = GithubBranchName
def isPR = true
def platformList = ['Ubuntu16.04:Debian', 'Windows_2016:NanoServer']
def versionList = ['1.0', '1.1', '2.0']
platformList.each { platform ->
def(hostOS, containerOS) = platform.tokenize(':')
def machineL... | <|file_sep|>original/netci.groovy
import jobs.generation.Utilities
def project = GithubProject
def branch = GithubBranchName
def isPR = true
def platformList = ['Ubuntu16.04:Debian', 'Windows_2016:NanoServer']
def versionList = ['1.0', '1.1', '2.0']
platformList.each { platform ->
def(hostOS, containerOS) = platf... | b2b5f2ccf43b8683cd41e342384292f14c9a8fec | netci.groovy | netci.groovy | Groovy |
<|file_sep|>original/requirements.txt
flask==0.10.1
flask-login==0.2.7
flask-sqlalchemy==1.0
wtforms==1.0.3
markdown==2.2.1
ordereddict==1.1
<|file_sep|>current/requirements.txt
flask==0.10.1
flask-login==0.2.7
flask-sqlalchemy==1.0
wtforms==1.0.3
markdown==2.2.1
ordereddict==1.1
<|file_sep|>updated/requirements.txt | flask>=0.12.3
flask-login>=0.2.7
flask-sqlalchemy>=1.0
wtforms>=1.0.3
markdown>=2.2.1
ordereddict>=1.1 | <|file_sep|>original/requirements.txt
flask==0.10.1
flask-login==0.2.7
flask-sqlalchemy==1.0
wtforms==1.0.3
markdown==2.2.1
ordereddict==1.1
<|file_sep|>current/requirements.txt
flask==0.10.1
flask-login==0.2.7
flask-sqlalchemy==1.0
wtforms==1.0.3
markdown==2.2.1
ordereddict==1.1
<|file_sep|>updated/requirements.txt
fl... | f03e8544d4581aab49835617f834f84540df7445 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/bower.json
{
"name": "vui-input",
"main": "input.scss",
"dependencies": {
"d2l-colors": "~2.0.0",
"vui-focus": "~0.7.1"
},
"license": "Apache-2.0",
"ignore": [
"test",
".csslintrc",
".editorconfig",
".gitattributes",
".gitignore",
".npmignore",
".trav... | {
"name": "vui-input",
"main": "input.scss",
"dependencies": {
"d2l-colors": "^2.1.0",
"vui-focus": "~0.7.1"
},
"license": "Apache-2.0",
"ignore": [
"test",
".csslintrc",
".editorconfig",
".gitattributes",
".gitignore",
".npmignore",
".travis.yml",
"package.json"
]
... | <|file_sep|>original/bower.json
{
"name": "vui-input",
"main": "input.scss",
"dependencies": {
"d2l-colors": "~2.0.0",
"vui-focus": "~0.7.1"
},
"license": "Apache-2.0",
"ignore": [
"test",
".csslintrc",
".editorconfig",
".gitattributes",
".gitignore",
".npmignore",
".trav... | 3d62d301cef35ed619bf777cea9aa846f8330d9f | bower.json | bower.json | JSON |
<|file_sep|>doc/source/user_guide/installation.rst.diff
original:
Diskimage-builder is run directly out of the source repository.
updated:
Diskimage-builder can either be run directly out of the source repository or
installed via pip. If you plan on doing development on diskimage-builder or
the elements then we recomme... | ----------------
Installing via pip is as simple as:
::
pip install diskimage-builder
Speedups
--------
If you have 4GB of available physical RAM (As reported by /proc/meminfo
MemTotal), or more, diskimage-builder will create a tmpfs mount to build the
image in. This will improve image build time by building ... | <|file_sep|>doc/source/user_guide/installation.rst.diff
original:
Diskimage-builder is run directly out of the source repository.
updated:
Diskimage-builder can either be run directly out of the source repository or
installed via pip. If you plan on doing development on diskimage-builder or
the elements then we recomme... | d98e6dcff9fa47f40998fe3807d4bb5af6dbcac1 | doc/source/user_guide/installation.rst | doc/source/user_guide/installation.rst | reStructuredText |
<|file_sep|>original/composer.json
"require": {
"contao-community-alliance/build-system-logger": "~1.0",
"symfony/process": "~2.3"
},
"require-dev": {
"monolog/monolog": "~1",
"phpunit/phpunit": "3.7.*",
"symfony/filesystem": "~2.3"
},
"autoload": {
"psr-4": {
"ContaoCommunityAlliance\\BuildSystem\\... | "require": {
"contao-community-alliance/build-system-logger": "~1.0",
"symfony/process": "~2.3"
},
"require-dev": {
"monolog/monolog": "~1",
"phpunit/phpunit": "3.7.*",
"symfony/filesystem": "~2.3"
},
"autoload": {
"psr-4": {
"ContaoCommunityAlliance\\BuildSystem\\Repository\\": "src",
"ContaoCom... | <|file_sep|>original/composer.json
"require": {
"contao-community-alliance/build-system-logger": "~1.0",
"symfony/process": "~2.3"
},
"require-dev": {
"monolog/monolog": "~1",
"phpunit/phpunit": "3.7.*",
"symfony/filesystem": "~2.3"
},
"autoload": {
"psr-4": {
"ContaoCommunityAlliance\\BuildSystem\\... | c5c9b8562f7d6dd244033c9e6bcf6838cc16eff0 | composer.json | composer.json | JSON |
<|file_sep|>original/Readme.md
Add ActiveRecord style find_by and find_all_by to your Mongoid.
[](http://travis-ci.org/envygeeks/mongoid-find_by) [](https://codeclimate.com/github/e... | Add ActiveRecord style find_by and find_all_by to your Mongoid.
[](http://travis-ci.org/envygeeks/mongoid-find_by) [](https://codeclimate.com/github/envygeeks/mongoid-find_by)
---... | <|file_sep|>original/Readme.md
Add ActiveRecord style find_by and find_all_by to your Mongoid.
[](http://travis-ci.org/envygeeks/mongoid-find_by) [](https://codeclimate.com/github/e... | 91694870eb3826288171d86e7f138854249089b8 | Readme.md | Readme.md | Markdown |
<|file_sep|>original/EXERCISES.txt
<|file_sep|>current/EXERCISES.txt
<|file_sep|>updated/EXERCISES.txt | bob
hamming
word-count
anagram
nucleotide-count
phone-number
grade-school
robot-name
leap
etl
meetup
space-age
grains
gigasecond | <|file_sep|>original/EXERCISES.txt
<|file_sep|>current/EXERCISES.txt
<|file_sep|>updated/EXERCISES.txt
bob
hamming
word-count
anagram
nucleotide-count
phone-number
grade-school
robot-name
leap
etl
meetup
space-age
grains
gigasecond | 23370e389c0aa3899a03a039583c44ebd729f1ab | EXERCISES.txt | EXERCISES.txt | Text |
<|file_sep|>spec/client/preprocessors/spec.visualisation_fallback.js.diff
original:
'client/preprocessors/visualisation_fallback'
], function (visualisationFallback) {
updated:
'client/preprocessors/visualisation_fallback',
'modernizr'
], function (visualisationFallback, Modernizr) {
<|file_sep|>spec/client/prepr... | $('.visualisation-inner').remove();
});
it('does nothing when the browser supports SVG', function () {
Modernizr.inlinesvg = true;
visualisationFallback();
expect(el.html()).toEqual('original content');
});
it('replaces the fallback container content with a fallback image', fun... | <|file_sep|>spec/client/preprocessors/spec.visualisation_fallback.js.diff
original:
'client/preprocessors/visualisation_fallback'
], function (visualisationFallback) {
updated:
'client/preprocessors/visualisation_fallback',
'modernizr'
], function (visualisationFallback, Modernizr) {
<|file_sep|>spec/client/prepr... | d8c9ede46ce6e865f68bf56c97e6fc62b3166ef1 | spec/client/preprocessors/spec.visualisation_fallback.js | spec/client/preprocessors/spec.visualisation_fallback.js | JavaScript |
<|file_sep|>original/src/lib/core/bool_test.go
{False, False},
} {
assert.True(t, testEqual(ts[0], ts[1]))
}
for _, ts := range [][2]*Thunk{
{True, False},
{False, True},
} {
assert.True(t, !testEqual(ts[0], ts[1]))
}
}
func TestBoolToString(t *testing.T) {
test := func(s string, b bool) {
assert.Eq... | }
}
func TestBoolToString(t *testing.T) {
test := func(s string, b bool) {
assert.Equal(t, StringType(s), PApp(ToString, NewBool(b)).Eval())
}
test("true", true)
test("false", false)
}
func TestIf(t *testing.T) {
assert.Equal(t, Nil.Eval(), PApp(If, True, Nil, False).Eval())
assert.Equal(t, Nil.Eval(), PApp... | <|file_sep|>original/src/lib/core/bool_test.go
{False, False},
} {
assert.True(t, testEqual(ts[0], ts[1]))
}
for _, ts := range [][2]*Thunk{
{True, False},
{False, True},
} {
assert.True(t, !testEqual(ts[0], ts[1]))
}
}
func TestBoolToString(t *testing.T) {
test := func(s string, b bool) {
assert.Eq... | 24c8425a8b65e4e18146bf487f22898873b488f7 | src/lib/core/bool_test.go | src/lib/core/bool_test.go | Go |
<|file_sep|>original/composer.json
"wiki": "https://github.com/maelsoucaze/flarum/wiki"
},
"require": {
"flarum/core": "^0.1.0-beta.4"
},
"extra": {
"flarum-extension": {
"title": "French",
"icon": {
"image": "icon.svg",
"ba... | "forum": "http://discuss.flarum.org/d/615-french-language-pack",
"wiki": "https://github.com/maelsoucaze/flarum/wiki"
},
"require": {
"flarum/core": "^0.1.0-beta.4"
},
"extra": {
"flarum-extension": {
"title": "French",
"icon": {
"n... | <|file_sep|>original/composer.json
"wiki": "https://github.com/maelsoucaze/flarum/wiki"
},
"require": {
"flarum/core": "^0.1.0-beta.4"
},
"extra": {
"flarum-extension": {
"title": "French",
"icon": {
"image": "icon.svg",
"ba... | cf81dd1f76f40d76c450072647352733885fe7e3 | composer.json | composer.json | JSON |
<|file_sep|>composer.json.diff
original:
"psr-0": { "Symfony\\Component\\Serializer\\": "" }
updated:
"psr-4": { "Symfony\\Component\\Serializer\\": "" }
<|file_sep|>original/composer.json
"doctrine/annotations": "~1.0",
"doctrine/cache": "~1.0"
},
"suggest": {
"doctrine/... | "symfony/property-access": "~2.3",
"doctrine/annotations": "~1.0",
"doctrine/cache": "~1.0"
},
"suggest": {
"doctrine/annotations": "For using the annotation mapping. You will also need doctrine/cache.",
"doctrine/cache": "For using the default cached annotation reader an... | <|file_sep|>composer.json.diff
original:
"psr-0": { "Symfony\\Component\\Serializer\\": "" }
updated:
"psr-4": { "Symfony\\Component\\Serializer\\": "" }
<|file_sep|>original/composer.json
"doctrine/annotations": "~1.0",
"doctrine/cache": "~1.0"
},
"suggest": {
"doctrine/... | bbd4b2c886d1baf172b208235108d64be340abaa | composer.json | composer.json | JSON |
<|file_sep|>original/spec/statrapator/error_spec.rb
<|file_sep|>current/spec/statrapator/error_spec.rb
<|file_sep|>updated/spec/statrapator/error_spec.rb | require 'spec_helper'
describe StatRaptor::Error do
context "#initialize" do
it "returns an instance of StatRaptor::Error" do
StatRaptor::Error.new("message").should be_a(StatRaptor::Error)
end
it "is a subclass of StandardError" do
StatRaptor::Error.superclass.should == StandardError
en... | <|file_sep|>original/spec/statrapator/error_spec.rb
<|file_sep|>current/spec/statrapator/error_spec.rb
<|file_sep|>updated/spec/statrapator/error_spec.rb
require 'spec_helper'
describe StatRaptor::Error do
context "#initialize" do
it "returns an instance of StatRaptor::Error" do
StatRaptor::Error.new("me... | 034c97bfb9dbafdd680a46be54c8387ce1a1dd98 | spec/statrapator/error_spec.rb | spec/statrapator/error_spec.rb | Ruby |
<|file_sep|>original/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.4.1
mock==2.0.0
tox==2.8.2
coverage==4.4.1
Sphinx==1.6.3
cryptography==2.0.3
PyYAML==3.12
future==0.16.0
scipy>=0.17.0
numpy>=1.13.0
matplotlib>=1.3.1
<|file_sep|>current/requirements_dev.txt
pip==9.0.1
bumpv... | pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.4.1
mock==2.0.0
tox==2.8.2
coverage==4.4.1
Sphinx==1.6.4
cryptography==2.0.3
PyYAML==3.12
future==0.16.0
scipy>=0.17.0
numpy>=1.13.0
matplotlib>=1.3.1 | <|file_sep|>original/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.4.1
mock==2.0.0
tox==2.8.2
coverage==4.4.1
Sphinx==1.6.3
cryptography==2.0.3
PyYAML==3.12
future==0.16.0
scipy>=0.17.0
numpy>=1.13.0
matplotlib>=1.3.1
<|file_sep|>current/requirements_dev.txt
pip==9.0.1
bumpv... | 841c2cc4ad441a4264caeb6fade84d995d0f4f33 | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>app/models/manageiq/providers/ansible_tower/inventory_collection_default/automation_manager.rb.diff
original:
class ManageIQ::Providers::AnsibleTower::InventoryCollectionDefault::AutomationManager
updated:
class ManageIQ::Providers::AnsibleTower::InventoryCollectionDefault::AutomationManager < ManagerRefres... | end
def playbooks(extra_attributes = {})
attributes = {
:model_class => ManageIQ::Providers::AnsibleTower::AutomationManager::Playbook,
:association => :configuration_script_payloads,
:manager_ref => [:manager_ref],
}
attributes.merge!(extra_attributes)
end
de... | <|file_sep|>app/models/manageiq/providers/ansible_tower/inventory_collection_default/automation_manager.rb.diff
original:
class ManageIQ::Providers::AnsibleTower::InventoryCollectionDefault::AutomationManager
updated:
class ManageIQ::Providers::AnsibleTower::InventoryCollectionDefault::AutomationManager < ManagerRefres... | b58126d38ccc76bf9557f1ab86fd7cd22136068f | app/models/manageiq/providers/ansible_tower/inventory_collection_default/automation_manager.rb | app/models/manageiq/providers/ansible_tower/inventory_collection_default/automation_manager.rb | Ruby |
<|file_sep|>original/deploy.sh
echo "Placeholder Help Message - Ask Wil"
}
if [ $# -lt 1 ] ; then
echo "Error: Missing argument!"
help
exit 1;
fi
if [ $1 == "-h" -o $1 == "--help" ]; then
help
exit 0
fi
if [ ! -d $1/lux ]
then
mkdir $1/lux
fi
cp -v lux/*.lua $1/lux
<|file_sep|>current/dep... | echo "Placeholder Help Message - Ask Wil"
}
if [ $# -lt 1 ] ; then
echo "Error: Missing argument!"
help
exit 1;
fi
if [ $1 == "-h" -o $1 == "--help" ]; then
help
exit 0
fi
if [ ! -d $1/lux ]
then
mkdir $1/lux
fi
cp -v lux/*.lua lux/externals/*.lua $1/lux
| <|file_sep|>original/deploy.sh
echo "Placeholder Help Message - Ask Wil"
}
if [ $# -lt 1 ] ; then
echo "Error: Missing argument!"
help
exit 1;
fi
if [ $1 == "-h" -o $1 == "--help" ]; then
help
exit 0
fi
if [ ! -d $1/lux ]
then
mkdir $1/lux
fi
cp -v lux/*.lua $1/lux
<|file_sep|>current/dep... | 8aa1a1a68586629983ebd00d938a539cd1150986 | deploy.sh | deploy.sh | Shell |
<|file_sep|>original/app/views/users/new.erb
<|file_sep|>current/app/views/users/new.erb
<|file_sep|>updated/app/views/users/new.erb | <div class = "container">
<h1> Please Sign Up </h1>
<% if @errors %>
<ul>
<% @errors.each do |message| %>
<li> <%= message %> </li>
<% end %>
</ul>
<% end %>
<form action = '/users' method= "POST">
<input type= "text" name= "user[username]" placeholder= "Username">
<input type= "pass... | <|file_sep|>original/app/views/users/new.erb
<|file_sep|>current/app/views/users/new.erb
<|file_sep|>updated/app/views/users/new.erb
<div class = "container">
<h1> Please Sign Up </h1>
<% if @errors %>
<ul>
<% @errors.each do |message| %>
<li> <%= message %> </li>
<% end %>
</ul>
<% end %>
... | 73a84f0048c5bcac139f8ceafa1f0bba80de6aeb | app/views/users/new.erb | app/views/users/new.erb | HTML+ERB |
<|file_sep|>spec/specs.js.diff
original:
describe('pingPong', function() {
it("is false for a number that is not divisible by 3 or 5", function() {
expect(pingPong(7)).to.equal(false);
});
it("will run pingPongType if isPingPong is true", function() {
expect(pingPong(6)).to.equal("ping");
});
});
updat... | describe('pingPongType', function() {
it("returns ping for a number that is divisible by 3", function() {
expect(pingPongType(6)).to.equal("ping");
});
it("returns pong for a number that is divisible by 5", function() {
expect(pingPongType(10)).to.equal("pong");
});
it("returns pingpong for a number t... | <|file_sep|>spec/specs.js.diff
original:
describe('pingPong', function() {
it("is false for a number that is not divisible by 3 or 5", function() {
expect(pingPong(7)).to.equal(false);
});
it("will run pingPongType if isPingPong is true", function() {
expect(pingPong(6)).to.equal("ping");
});
});
updat... | 1e2f32d2da67b3731deee762f888682884f90099 | spec/specs.js | spec/specs.js | JavaScript |
<|file_sep|>original/froide/templates/scaffold.html
{% endblock %}
{% endblock %}
{% render_block "css" %}
{% block meta %}
{% include "snippets/meta.html" %}
{% endblock %}
{% block extra_head %}
{% endblock %}
</head>
<body {% if request.user.is_authenticated %}data-user="{{ request.user.id }}... | {% endblock %}
{% endblock %}
{% render_block "css" %}
{% block meta %}
{% include "snippets/meta.html" %}
{% endblock %}
{% block extra_head %}
{% endblock %}
</head>
<body {% if request.user.is_authenticated %}data-user="{{ request.user.id }}" data-useremail="{{ request.user.email }}"{% endif ... | <|file_sep|>original/froide/templates/scaffold.html
{% endblock %}
{% endblock %}
{% render_block "css" %}
{% block meta %}
{% include "snippets/meta.html" %}
{% endblock %}
{% block extra_head %}
{% endblock %}
</head>
<body {% if request.user.is_authenticated %}data-user="{{ request.user.id }}... | c68695aefd2e8ea63c8360b1ec9afaf8616dfb28 | froide/templates/scaffold.html | froide/templates/scaffold.html | HTML |
<|file_sep|>original/.github/auto-comment.yml
# Comment to a new PR.
pullRequestOpened: >
:sparkling_heart: Thank you so much for creating the pull request! :sparkling_heart:
Have a look at [the test workflow](https://github.com/OrkoHunter/pep8speaks/blob/master/tests/pep8speaks/test_workflow.py). The branch of t... | # Comment to a new PR.
pullRequestOpened: >
:sparkling_heart: Thank you so much for creating the pull request! :sparkling_heart:
Have a look at [the test workflow](https://github.com/OrkoHunter/pep8speaks/blob/master/tests/pep8speaks/test_workflow.py). The branch of this pull request is going to be deployed on He... | <|file_sep|>original/.github/auto-comment.yml
# Comment to a new PR.
pullRequestOpened: >
:sparkling_heart: Thank you so much for creating the pull request! :sparkling_heart:
Have a look at [the test workflow](https://github.com/OrkoHunter/pep8speaks/blob/master/tests/pep8speaks/test_workflow.py). The branch of t... | e69c8f57be3f46d14c84e3a0bc1fad09aab78489 | .github/auto-comment.yml | .github/auto-comment.yml | YAML |
<|file_sep|>original/pluto-descriptor-impl/src/assemble/bin.xml
<assembly>
<id>bin</id>
<formats>
<format>tar.gz</format>
<format>tar.bz2</format>
<format>zip</format>
</formats>
<fileSets>
<fileSet>
<includes>
<include>README*</include>
<include>LICENSE*</include>
... | <!--
Copyright 2005-2006 The Apache Software Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law... | <|file_sep|>original/pluto-descriptor-impl/src/assemble/bin.xml
<assembly>
<id>bin</id>
<formats>
<format>tar.gz</format>
<format>tar.bz2</format>
<format>zip</format>
</formats>
<fileSets>
<fileSet>
<includes>
<include>README*</include>
<include>LICENSE*</include>
... | 0ebe9a089bdce1ca4f214faef256dc4402885689 | pluto-descriptor-impl/src/assemble/bin.xml | pluto-descriptor-impl/src/assemble/bin.xml | XML |
<|file_sep|>original/Models/Helpers.cs
public static DateTimeOffset GetStartOfWeek(string date)
{
var dt = DateTimeOffset.Now;
if (!String.IsNullOrEmpty(date))
{
dt = DateTimeOffset.Parse(date);
}
dt = dt.ToLocalTime();
... | {
var dt = DateTimeOffset.Now;
if (!String.IsNullOrEmpty(date))
{
dt = DateTimeOffset.Parse(date);
}
dt = dt.ToLocalTime();
var dayOfWeekLocal = (int)dt.DayOfWeek;
// Adjust it so the week starts Monday instead... | <|file_sep|>original/Models/Helpers.cs
public static DateTimeOffset GetStartOfWeek(string date)
{
var dt = DateTimeOffset.Now;
if (!String.IsNullOrEmpty(date))
{
dt = DateTimeOffset.Parse(date);
}
dt = dt.ToLocalTime();
... | 65bbc610bf212ac9b054fef1f7e760501869cf56 | Models/Helpers.cs | Models/Helpers.cs | C# |
<|file_sep|>original/usr.sbin/bsnmpd/modules/Makefile
# $FreeBSD$
.include <bsd.own.mk>
.PATH: ${.CURDIR}/../../../contrib/bsnmp/snmpd
.if ${MK_ATM} != "no"
_snmp_atm= snmp_atm
.endif
SUBDIR= ${_snmp_atm} \
snmp_hostres \
snmp_mibII \
snmp_netgraph \
snmp_pf
INCS= snmpmod.h
INCSDIR= ${INCLUDEDIR}/bsnmp
.inclu... | # $FreeBSD$
.include <bsd.own.mk>
.PATH: ${.CURDIR}/../../../contrib/bsnmp/snmpd
.if ${MK_ATM} != "no"
_snmp_atm= snmp_atm
.endif
SUBDIR= ${_snmp_atm} \
snmp_bridge \
snmp_hostres \
snmp_mibII \
snmp_netgraph \
snmp_pf
INCS= snmpmod.h
INCSDIR= ${INCLUDEDIR}/bsnmp
.include <bsd.prog.mk> | <|file_sep|>original/usr.sbin/bsnmpd/modules/Makefile
# $FreeBSD$
.include <bsd.own.mk>
.PATH: ${.CURDIR}/../../../contrib/bsnmp/snmpd
.if ${MK_ATM} != "no"
_snmp_atm= snmp_atm
.endif
SUBDIR= ${_snmp_atm} \
snmp_hostres \
snmp_mibII \
snmp_netgraph \
snmp_pf
INCS= snmpmod.h
INCSDIR= ${INCLUDEDIR}/bsnmp
.inclu... | df49c9eb5b7f0eb7f64ced309c4959d7c4670494 | usr.sbin/bsnmpd/modules/Makefile | usr.sbin/bsnmpd/modules/Makefile | unknown |
<|file_sep|>.travis.yml.diff
original:
updated:
- "0.10"
<|file_sep|>.travis.yml.diff
original:
- "0.10"
updated:
<|file_sep|>.travis.yml.diff
original:
- iojs
updated:
- "4.0"
- "4.1"
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
<|file_sep|>... | sudo: false
language: node_js
node_js:
- "0.10"
- "0.11"
- "0.12"
- "4.0"
- "4.1"
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install:
- npm install -g bob coveralls --loglevel error
script:
- DEBUG=canihaz bob build
- cat .bob/co... | <|file_sep|>.travis.yml.diff
original:
updated:
- "0.10"
<|file_sep|>.travis.yml.diff
original:
- "0.10"
updated:
<|file_sep|>.travis.yml.diff
original:
- iojs
updated:
- "4.0"
- "4.1"
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
<|file_sep|>... | 27682c92eb7ebc353cb672839edcca1e14290054 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements/dev.txt
-r base.txt
django-debug-toolbar==3.2.4
factory-boy==3.2.1
Faker==13.3.4
flake8-docstrings==1.6.0
flake8==4.0.1
freezegun==1.2.0
isort==5.10.1
pytest-cov==3.0.0
pytest-django==4.5.2
pytest-factoryboy==2.1.0
pytest==7.1.0
<|file_sep|>current/requirements/dev.txt
-r base.txt
djan... | -r base.txt
django-debug-toolbar==3.2.4
factory-boy==3.2.1
Faker==13.3.4
flake8-docstrings==1.6.0
flake8==4.0.1
freezegun==1.2.1
isort==5.10.1
pytest-cov==3.0.0
pytest-django==4.5.2
pytest-factoryboy==2.1.0
pytest==7.1.0 | <|file_sep|>original/requirements/dev.txt
-r base.txt
django-debug-toolbar==3.2.4
factory-boy==3.2.1
Faker==13.3.4
flake8-docstrings==1.6.0
flake8==4.0.1
freezegun==1.2.0
isort==5.10.1
pytest-cov==3.0.0
pytest-django==4.5.2
pytest-factoryboy==2.1.0
pytest==7.1.0
<|file_sep|>current/requirements/dev.txt
-r base.txt
djan... | 4b459deada8af46eb78020d2e77fc83a459548a2 | requirements/dev.txt | requirements/dev.txt | Text |
<|file_sep|>original/README.md
## Installation
### RubyGems
```
gem install string-utility
```
### Bundler
Add this line to application's Gemfile:
``` ruby
gem('string-utility')
```
And then execute:
```
$ bundle
```
## Documentation
Please see the [RubyDocs](http://www.rubydoc.info/gems/string-utility)
<|file_sep... | ## Installation
### RubyGems
```
gem install string-utility
```
### Bundler
Add this line to application's Gemfile:
``` ruby
gem('string-utility')
```
And then execute:
```
$ bundle
```
## Documentation
* [RubyDocs](http://www.rubydoc.info/gems/string-utility)
* [GitHub pages](https://elifoster.github.io/String-Uti... | <|file_sep|>original/README.md
## Installation
### RubyGems
```
gem install string-utility
```
### Bundler
Add this line to application's Gemfile:
``` ruby
gem('string-utility')
```
And then execute:
```
$ bundle
```
## Documentation
Please see the [RubyDocs](http://www.rubydoc.info/gems/string-utility)
<|file_sep... | 8210b75163ddd5864cb928e1dc3b7fee1f5f6369 | README.md | README.md | Markdown |
<|file_sep|>original/gir_ffi-pretty_printer.gemspec
s.summary = 'Pretty-printer for modules generated by GirFFI'
s.description = 'Library and executable to pretty-print modules generated by GirFFI, taking method overrides and hand-added methods into account.'
s.authors = ['Matijs van Zuijlen']
s.email = ['mati... | s.summary = 'Pretty-printer for modules generated by GirFFI'
s.description = 'Library and executable to pretty-print modules generated by GirFFI, taking method overrides and hand-added methods into account.'
s.authors = ['Matijs van Zuijlen']
s.email = ['matijs@matijs.net']
s.homepage = 'http://www.github.co... | <|file_sep|>original/gir_ffi-pretty_printer.gemspec
s.summary = 'Pretty-printer for modules generated by GirFFI'
s.description = 'Library and executable to pretty-print modules generated by GirFFI, taking method overrides and hand-added methods into account.'
s.authors = ['Matijs van Zuijlen']
s.email = ['mati... | 541088d276907fb2c7241a953e3e41e7d6a12551 | gir_ffi-pretty_printer.gemspec | gir_ffi-pretty_printer.gemspec | Ruby |
<|file_sep|>original/composer.json
"description": "Laravel Searchy makes user driven searching easy with fuzzy search, basic string matching, Levenshtein Distance and more.",
"keywords": ["laravel","search","fuzzy"],
"license": "MIT",
"authors": [
{
"name": "Tom Lingham",
"email": "tjlingham@gmail.com"
}
... | "description": "Laravel Searchy makes user driven searching easy with fuzzy search, basic string matching, Levenshtein Distance and more.",
"keywords": ["laravel","search","fuzzy"],
"license": "MIT",
"authors": [
{
"name": "Tom Lingham",
"email": "tjlingham@gmail.com"
}
],
"require": {
"php": ">=5.5.0... | <|file_sep|>original/composer.json
"description": "Laravel Searchy makes user driven searching easy with fuzzy search, basic string matching, Levenshtein Distance and more.",
"keywords": ["laravel","search","fuzzy"],
"license": "MIT",
"authors": [
{
"name": "Tom Lingham",
"email": "tjlingham@gmail.com"
}
... | d961509341594a6e5847cf66d60507a3e7074767 | composer.json | composer.json | JSON |
<|file_sep|>original/app/controllers/dre/devices_controller.rb
require_dependency 'dre/application_controller'
module Dre
class DevicesController < ApplicationController
before_filter :authenticate!
respond_to :json
def index
render json: { devices: collection }
end
def register
@d... | require_dependency 'dre/application_controller'
module Dre
class DevicesController < ApplicationController
before_action :authenticate!
respond_to :json
def index
render json: { devices: collection }
end
def register
@device = collection.where(token: params[:token]).first || Device... | <|file_sep|>original/app/controllers/dre/devices_controller.rb
require_dependency 'dre/application_controller'
module Dre
class DevicesController < ApplicationController
before_filter :authenticate!
respond_to :json
def index
render json: { devices: collection }
end
def register
@d... | b1cd30154963227db1f6807c1de530a94fbcd392 | app/controllers/dre/devices_controller.rb | app/controllers/dre/devices_controller.rb | Ruby |
<|file_sep|>original/linux/linux-raspberrypi_3.6.11.bb
<|file_sep|>current/linux/linux-raspberrypi_3.6.11.bb
<|file_sep|>updated/linux/linux-raspberrypi_3.6.11.bb | require linux.inc
DESCRIPTION = "Linux kernel for the RaspberryPi board"
COMPATIBLE_MACHINE = "raspberrypi"
PR = "r6"
PV_append = "+git${SRCREV}"
SRCREV = "31a951046155b27361127d9cf85a1f58719fe9b3"
SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.6.y \
"
S = "${WORKDIR}/git"
# N... | <|file_sep|>original/linux/linux-raspberrypi_3.6.11.bb
<|file_sep|>current/linux/linux-raspberrypi_3.6.11.bb
<|file_sep|>updated/linux/linux-raspberrypi_3.6.11.bb
require linux.inc
DESCRIPTION = "Linux kernel for the RaspberryPi board"
COMPATIBLE_MACHINE = "raspberrypi"
PR = "r6"
PV_append = "+git${SRCREV}"
SRCREV... | 08aad98627c89f1bbc61205a2e8280d46f83ca4c | linux/linux-raspberrypi_3.6.11.bb | linux/linux-raspberrypi_3.6.11.bb | BitBake |
<|file_sep|>original/README.md
# The Interjector
[Live demo](https://jack126guy.github.io/interjector/)
The Interjector is a simple browser-based application for creating your own version of the "GNU/Linux interjection," commonly attributed to Richard Stallman.
## Requirements
* Almost any Web browser released sinc... | # The Interjector
[Live demo](https://jack126guy.github.io/interjector/)
The Interjector is a simple browser-based application for creating your own version of the "GNU/Linux interjection," commonly attributed to Richard Stallman.
## Requirements
* Almost any major Web browser released since 2011, including Interne... | <|file_sep|>original/README.md
# The Interjector
[Live demo](https://jack126guy.github.io/interjector/)
The Interjector is a simple browser-based application for creating your own version of the "GNU/Linux interjection," commonly attributed to Richard Stallman.
## Requirements
* Almost any Web browser released sinc... | f5e7dd55432ef78c1adb2a1a28dc8dc74bc795d3 | README.md | README.md | Markdown |
<|file_sep|>server/privileges.js.diff
original:
updated:
insert: anyoneLoggedIn,
remove: onlyTheOwner,
update: onlyTheOwner,
});
<|file_sep|>server/privileges.js.diff
original:
updated:
// these documents can be only accessed with custom methods
Published.deny({
<|file_sep|>server/privileges.js.diff
original:
... | BlogPosts.allow({
insert: anyoneLoggedIn,
remove: onlyTheOwner,
update: onlyTheOwner,
});
// these documents can be only accessed with custom methods
Published.deny({
insert: Utils.constant(true),
remove: Utils.constant(true),
update: Utils.constant(true),
});
function anyoneLoggedIn(userId) {
return !... | <|file_sep|>server/privileges.js.diff
original:
updated:
insert: anyoneLoggedIn,
remove: onlyTheOwner,
update: onlyTheOwner,
});
<|file_sep|>server/privileges.js.diff
original:
updated:
// these documents can be only accessed with custom methods
Published.deny({
<|file_sep|>server/privileges.js.diff
original:
... | 7722859f57858f8567bb5ab82dfdc023b9470b50 | server/privileges.js | server/privileges.js | JavaScript |
<|file_sep|>original/upcache/common.lua
return json.encode(...)
end
module.prefixHeader = "X-Upcache"
function module.get_variants(key, what)
local pac = ngx.shared.upcacheVariants:get(key)
if pac == nil then
return nil
end
return mp.unpack(pac)[what]
end
function module.set_variants(key, what, data)
local v... | return json.encode(...)
end
module.prefixHeader = "X-Upcache"
function module.get_variants(key, what)
local pac = ngx.shared.upcacheVariants:get(key)
if pac == nil then
return nil
end
local unpac = mp.unpack(pac)
if what ~= nil then
unpac = unpac[what]
end
return unpac
end
function module.set_variants(ke... | <|file_sep|>original/upcache/common.lua
return json.encode(...)
end
module.prefixHeader = "X-Upcache"
function module.get_variants(key, what)
local pac = ngx.shared.upcacheVariants:get(key)
if pac == nil then
return nil
end
return mp.unpack(pac)[what]
end
function module.set_variants(key, what, data)
local v... | 4df1c3340d44e27a35af825473b1c4e091f8db09 | upcache/common.lua | upcache/common.lua | Lua |
<|file_sep|>original/CHANGES.md
* Add to the top of the existing list.
* External Projects like Mesos and Marathon shall provide a link to their published changelogs.
Format of the entries must be.
* Entry with no-newlines. (DCOS_OSS_JIRA)
<new-line>
* Entry two with no-newlines. (DCOS_OSS_JIRA_2)
```
### Highlights... | * For any significant improvement to DC/OS add an entry to Fixed and Improved section.
* For Security updates, please call out in Security updates section.
* Add to the top of the existing list.
* External Projects like Mesos and Marathon shall provide a link to their published changelogs.
Format of the entries must b... | <|file_sep|>original/CHANGES.md
* Add to the top of the existing list.
* External Projects like Mesos and Marathon shall provide a link to their published changelogs.
Format of the entries must be.
* Entry with no-newlines. (DCOS_OSS_JIRA)
<new-line>
* Entry two with no-newlines. (DCOS_OSS_JIRA_2)
```
### Highlights... | 81b79d94996f2a90ede96baa790e0ef5d5402e24 | CHANGES.md | CHANGES.md | Markdown |
<|file_sep|>original/README.md
flipCountDown
==============
[Demo&Documentation][doc]
jQuery Plugin Flip Count Down Retro Clock
flipCountDown


[doc]: http://xdsoft.net/jqplugins/flipcountdown/
<|file_sep|>current/README.md
flipCountDown
==============
[Demo... | flipCountDown
==============
[](https://cdnjs.com/libraries/flipcountdown/)
[Demo&Documentation][doc]
jQuery Plugin Flip Count Down Retro Clock
flipCountDown


[doc]: http://xdsoft.net/jqplugins/flip... | <|file_sep|>original/README.md
flipCountDown
==============
[Demo&Documentation][doc]
jQuery Plugin Flip Count Down Retro Clock
flipCountDown


[doc]: http://xdsoft.net/jqplugins/flipcountdown/
<|file_sep|>current/README.md
flipCountDown
==============
[Demo... | e3f3342171119367fcbc03675092b4ef0bc58dad | README.md | README.md | Markdown |
<|file_sep|>src/css/index.module.css.diff
original:
updated:
/* Make the image larger than normal and then mask it so it has clean edges */
<|file_sep|>original/src/css/index.module.css
justify-content: center;
align-items: center;
position: relative;
overflow: hidden;
width: 100%;
height: ... | position: relative;
overflow: hidden;
width: 100%;
height: 50vh;
}
.heroBackground {
position: absolute;
/* Make the image larger than normal and then mask it so it has clean edges */
top: -5%;
left: -5%;
width: 110%;
height: 110%;
background-image: url(../images/hero.jpg);... | <|file_sep|>src/css/index.module.css.diff
original:
updated:
/* Make the image larger than normal and then mask it so it has clean edges */
<|file_sep|>original/src/css/index.module.css
justify-content: center;
align-items: center;
position: relative;
overflow: hidden;
width: 100%;
height: ... | 08b6713573575060600e979e2cb42e16bf7d2fbd | src/css/index.module.css | src/css/index.module.css | CSS |
<|file_sep|>original/.github/workflows/windows.yml
name: Windows
on: [push, pull_request]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: prep
run: |
where python
copy c:\hostedtoolcache\windows\Python\3.7.9\x64\python.exe c:\hostedtoolcache\wind... | name: Windows
on: [push, pull_request]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Setup csc.exe
uses: yoavain/Setup-CSC@v7
- name: prep
run: |
where python
copy c:\hostedtoolcache\windows\Python\3.7.9\x64\python.exe c:\hostedtoolca... | <|file_sep|>original/.github/workflows/windows.yml
name: Windows
on: [push, pull_request]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: prep
run: |
where python
copy c:\hostedtoolcache\windows\Python\3.7.9\x64\python.exe c:\hostedtoolcache\wind... | 7587210c4603952c351604099221a9abc178622d | .github/workflows/windows.yml | .github/workflows/windows.yml | YAML |
<|file_sep|>tasks.py.diff
original:
updated:
import sys
<|file_sep|>original/tasks.py
"""
import os
import webbrowser
from invoke import task, run
DOCS_DIR = 'docs'
DOCS_OUTPUT_DIR = os.path.join(DOCS_DIR, '_build')
@task
def docs(output='html', rebuild=False, show=True):
"""Build the docs and show them in de... |
from invoke import task, run
DOCS_DIR = 'docs'
DOCS_OUTPUT_DIR = os.path.join(DOCS_DIR, '_build')
@task
def docs(output='html', rebuild=False, show=True):
"""Build the docs and show them in default web browser."""
build_cmd = 'sphinx-build -b {output} {all} docs docs/_build'.format(
output=output,
... | <|file_sep|>tasks.py.diff
original:
updated:
import sys
<|file_sep|>original/tasks.py
"""
import os
import webbrowser
from invoke import task, run
DOCS_DIR = 'docs'
DOCS_OUTPUT_DIR = os.path.join(DOCS_DIR, '_build')
@task
def docs(output='html', rebuild=False, show=True):
"""Build the docs and show them in de... | 60e208200970201f37b0eb4f85b6008681e1f35d | tasks.py | tasks.py | Python |
<|file_sep|>README.markdown.diff
original:
updated:
var util = require('util')
<|file_sep|>README.markdown.diff
original:
var x = { foo : { 'bar' : 3 } }
var y = { foo : { 'baz' : 4 }, quux : 5 }
updated:
var x = { foo : { 'bar' : 3 }, 'array' : [{ do: 'work', too: [1, 2, 3] }] }
var y = { foo : { 'baz' : 4 }, quux : ... | -----------
Merge two objects `x` and `y` deeply, returning a new merged object with the
elements from both `x` and `y`.
If an element at the same key is present for both `x` and `y`, the value from
`y` will appear in the result.
The merge is immutable, so neither `x` nor `y` will be modified.
The merge will also m... | <|file_sep|>README.markdown.diff
original:
updated:
var util = require('util')
<|file_sep|>README.markdown.diff
original:
var x = { foo : { 'bar' : 3 } }
var y = { foo : { 'baz' : 4 }, quux : 5 }
updated:
var x = { foo : { 'bar' : 3 }, 'array' : [{ do: 'work', too: [1, 2, 3] }] }
var y = { foo : { 'baz' : 4 }, quux : ... | 5e682f04ffe4a5cf6624ca48582f401464183573 | README.markdown | README.markdown | Markdown |
<|file_sep|>original/app/styles/ui/history/_history.scss
/** A React component holding the currently selected repository's history */
#history {
display: flex;
flex-direction: column;
flex: 1;
// Necessary so that the diff doesn't expand
// beyond the width of the history
min-width: 0;
}
#commit-summary-... |
/** A React component holding the currently selected repository's history */
#history {
display: flex;
flex-direction: column;
flex: 1;
// Necessary so that the diff doesn't expand
// beyond the width of the history
min-width: 0;
&.expanded {
#commit-details {
display: none;
}
}
}
#com... | <|file_sep|>original/app/styles/ui/history/_history.scss
/** A React component holding the currently selected repository's history */
#history {
display: flex;
flex-direction: column;
flex: 1;
// Necessary so that the diff doesn't expand
// beyond the width of the history
min-width: 0;
}
#commit-summary-... | 9339621da00ee043a8f1b9dda34189a0e4fbc3c7 | app/styles/ui/history/_history.scss | app/styles/ui/history/_history.scss | SCSS |
<|file_sep|>original/.forestry/front_matter/templates/medium.yml
label: Date
type: datetime
hidden: false
default: 2019-02-21 03:00:00 +0000
- name: img
label: Img
type: file
hidden: false
default: "/images/pessoal.png"
- name: comments
label: Comments
type: boolean
hidden: false
default: true
-... | type: datetime
hidden: false
default: 2019-02-21 03:00:00 +0000
- name: img
label: Img
type: file
hidden: false
default: "/images/pessoal.png"
- name: comments
label: Comments
type: boolean
hidden: false
default: true
- name: tags
label: Tags
type: tag_list
hidden: false
default:
- 'pess... | <|file_sep|>original/.forestry/front_matter/templates/medium.yml
label: Date
type: datetime
hidden: false
default: 2019-02-21 03:00:00 +0000
- name: img
label: Img
type: file
hidden: false
default: "/images/pessoal.png"
- name: comments
label: Comments
type: boolean
hidden: false
default: true
-... | 2a14b8c831b1bd149ab844aa922fe79ab1371cc4 | .forestry/front_matter/templates/medium.yml | .forestry/front_matter/templates/medium.yml | YAML |
<|file_sep|>osu.Game/Graphics/Containers/OsuRearrangeableListContainer.cs.diff
original:
updated:
using System.Collections.Specialized;
using osu.Framework.Allocation;
using osu.Framework.Audio;
using osu.Framework.Audio.Sample;
<|file_sep|>osu.Game/Graphics/Containers/OsuRearrangeableListContainer.cs.diff
original:
... |
private Sample sampleSwap;
private double sampleLastPlaybackTime;
protected sealed override RearrangeableListItem<TModel> CreateDrawable(TModel item) => CreateOsuDrawable(item).With(d =>
{
d.DragActive.BindTo(DragActive);
});
protected abstract OsuRearrange... | <|file_sep|>osu.Game/Graphics/Containers/OsuRearrangeableListContainer.cs.diff
original:
updated:
using System.Collections.Specialized;
using osu.Framework.Allocation;
using osu.Framework.Audio;
using osu.Framework.Audio.Sample;
<|file_sep|>osu.Game/Graphics/Containers/OsuRearrangeableListContainer.cs.diff
original:
... | 4a316fad2fedf334db9761764a46d59fb9e18e3a | osu.Game/Graphics/Containers/OsuRearrangeableListContainer.cs | osu.Game/Graphics/Containers/OsuRearrangeableListContainer.cs | C# |
<|file_sep|>vumi/blinkenlights/heartbeat/__init__.py.diff
original:
from vumi.blinkenlights.heartbeat.monitor import HeartBeatMonitor
updated:
<|file_sep|>original/vumi/blinkenlights/heartbeat/__init__.py
from vumi.blinkenlights.heartbeat.publisher import (HeartBeatMessage,
... |
from vumi.blinkenlights.heartbeat.publisher import (HeartBeatMessage,
HeartBeatPublisher)
__all__ = ["HeartBeatMessage", "HeartBeatPublisher"] | <|file_sep|>vumi/blinkenlights/heartbeat/__init__.py.diff
original:
from vumi.blinkenlights.heartbeat.monitor import HeartBeatMonitor
updated:
<|file_sep|>original/vumi/blinkenlights/heartbeat/__init__.py
from vumi.blinkenlights.heartbeat.publisher import (HeartBeatMessage,
... | cd0f4758bcb8eacab0a6a1f21f3c4287b2d24995 | vumi/blinkenlights/heartbeat/__init__.py | vumi/blinkenlights/heartbeat/__init__.py | Python |
<|file_sep|>package.json.diff
original:
"build": "babel --modules umd abp-filter-parser.js --out-file dist/abp-filter-parser.js --source-maps"
updated:
"build": "babel --modules umd abp-filter-parser.js --out-file dist/abp-filter-parser.js --source-maps",
"build-jsm": "babel --modules ignore --plugins bab... | "test": "mocha --compilers js:babel/register",
"lint": "eslint abp-filter-parser.js test/*.js",
"build": "babel --modules umd abp-filter-parser.js --out-file dist/abp-filter-parser.js --source-maps",
"build-jsm": "babel --modules ignore --plugins babel-jsm-plugin abp-filter-parser.js --out-file dist/ab... | <|file_sep|>package.json.diff
original:
"build": "babel --modules umd abp-filter-parser.js --out-file dist/abp-filter-parser.js --source-maps"
updated:
"build": "babel --modules umd abp-filter-parser.js --out-file dist/abp-filter-parser.js --source-maps",
"build-jsm": "babel --modules ignore --plugins bab... | 8069d5503694733af98e96dcd8bcdc3f4d04ce08 | package.json | package.json | JSON |
<|file_sep|>app/src/main/res/menu/menu_article.xml.diff
original:
<menu xmlns:android="http://schemas.android.com/apk/res/android">
updated:
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:yourapp="http://schemas.android.com/apk/res-auto">
<|file_sep|>app/src/main/res/menu/menu_article.xml.di... | <?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:yourapp="http://schemas.android.com/apk/res-auto">
<item
android:id="@+id/action_browser"
android:title="@string/action_open_in_browser"
android:icon="@drawable/ic_open_in_brows... | <|file_sep|>app/src/main/res/menu/menu_article.xml.diff
original:
<menu xmlns:android="http://schemas.android.com/apk/res/android">
updated:
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:yourapp="http://schemas.android.com/apk/res-auto">
<|file_sep|>app/src/main/res/menu/menu_article.xml.di... | 9182eff1b7a453f65af0b8e9b477e637ae771a77 | app/src/main/res/menu/menu_article.xml | app/src/main/res/menu/menu_article.xml | XML |
<|file_sep|>original/composer.json
],
"require": {
"php": ">=5.6",
"psr/log": "^1.0"
},
"require-dev": {
"ext-pdo": "*",
"ext-sqlite3": "*",
"vlucas/phpdotenv": "^2.4",
"fzaninotto/faker": "^1.7",
"phpunit/phpunit": "^6.5",
"jakub-onderka/p... | ],
"require": {
"php": ">=5.6",
"psr/log": "^1.0"
},
"require-dev": {
"ext-pdo": "*",
"ext-sqlite3": "*",
"vlucas/phpdotenv": "^2.4",
"fzaninotto/faker": "^1.7",
"phpunit/phpunit": "^5.7|^6.5",
"jakub-onderka/php-parallel-lint": "^0.9",
... | <|file_sep|>original/composer.json
],
"require": {
"php": ">=5.6",
"psr/log": "^1.0"
},
"require-dev": {
"ext-pdo": "*",
"ext-sqlite3": "*",
"vlucas/phpdotenv": "^2.4",
"fzaninotto/faker": "^1.7",
"phpunit/phpunit": "^6.5",
"jakub-onderka/p... | e3fc1b88d9f2e5aedbdc5478ebf181627acec4de | composer.json | composer.json | JSON |
<|file_sep|>original/test/test_constructor.rb
require 'helper'
class TestConstructor < Test::Unit::TestCase
def test_build_fail
spore = Spore.new() rescue nil
assert_nil spore
end
def test_build_github_json
github_spec = File.join(File.dirname(__FILE__), 'github.json')
spore = Spore.new(github... | require 'helper'
class TestConstructor < Test::Unit::TestCase
def test_build_fail
assert_raise ArgumentError do
spore = Spore.new()
end
end
def test_build_github_json
github_spec = File.join(File.dirname(__FILE__), 'github.json')
spore = Spore.new(github_spec)
assert_kind_of Spore, s... | <|file_sep|>original/test/test_constructor.rb
require 'helper'
class TestConstructor < Test::Unit::TestCase
def test_build_fail
spore = Spore.new() rescue nil
assert_nil spore
end
def test_build_github_json
github_spec = File.join(File.dirname(__FILE__), 'github.json')
spore = Spore.new(github... | c96f9e756f07509e870818f6fdcc4f6b123c05ce | test/test_constructor.rb | test/test_constructor.rb | Ruby |
<|file_sep|>original/aircraft/c172x/reset01.xml
<?xml version="1.0"?>
<initialize name="reset01">
<!--
This file sets up the aircraft to start off
from the runway in preparation for takeoff.
-->
<ubody unit="FT/SEC"> 160.0 </ubody>
<latitude unit="DEG"> 47.0 </latitude>
<longitude unit="DEG"> 12... | <?xml version="1.0"?>
<initialize name="reset01">
<!--
This file sets up the aircraft at 8000
feet on a heading of 200 degrees.
-->
<ubody unit="FT/SEC"> 160.0 </ubody>
<latitude unit="DEG"> 47.0 </latitude>
<longitude unit="DEG"> 122.0 </longitude>
<psi unit="DEG"> 200.0 </psi>
<altitu... | <|file_sep|>original/aircraft/c172x/reset01.xml
<?xml version="1.0"?>
<initialize name="reset01">
<!--
This file sets up the aircraft to start off
from the runway in preparation for takeoff.
-->
<ubody unit="FT/SEC"> 160.0 </ubody>
<latitude unit="DEG"> 47.0 </latitude>
<longitude unit="DEG"> 12... | 66e275482cca2656013b8afa402916b4f228a09e | aircraft/c172x/reset01.xml | aircraft/c172x/reset01.xml | XML |
<|file_sep|>original/yabgp/0.4.0/Dockerfile
<|file_sep|>current/yabgp/0.4.0/Dockerfile
<|file_sep|>updated/yabgp/0.4.0/Dockerfile | FROM ubuntu:16.04
ENV YABGP_VERSION 0.4.0
ENV HOME /root
WORKDIR /root
RUN apt-get update && apt-get install -qy --no-install-recommends \
# For calling REST API of YABGP
curl \
# Utility
iproute2 \
# Python
python-pip \
python-setuptools \
# For building Python C extension
gcc \
python-dev \... | <|file_sep|>original/yabgp/0.4.0/Dockerfile
<|file_sep|>current/yabgp/0.4.0/Dockerfile
<|file_sep|>updated/yabgp/0.4.0/Dockerfile
FROM ubuntu:16.04
ENV YABGP_VERSION 0.4.0
ENV HOME /root
WORKDIR /root
RUN apt-get update && apt-get install -qy --no-install-recommends \
# For calling REST API of YABGP
curl \
# U... | b2e19457fb1a24307b529336d298964eac2dab3f | yabgp/0.4.0/Dockerfile | yabgp/0.4.0/Dockerfile | unknown |
<|file_sep|>static/locales/en-GB/messages.properties.diff
original:
navigation-title=Pontoon Intro
navigation-developers=Developers
updated:
<|file_sep|>original/static/locales/en-GB/messages.properties
# Title tag
# Navigation
navigation-title=Pontoon Intro
navigation-developers=Developers
# Header
upper-title=Pont... | # Title tag
# Navigation
# Header
upper-title=Pontoon by Mozilla
headline-1=LocaliSe the web.
# What
what-desc=Pontoon allows you to localise web content in place, with context and spatial limitations right in front of you.
context-desc=By localising web page on the page itself, you no longer need to worry if the wo... | <|file_sep|>static/locales/en-GB/messages.properties.diff
original:
navigation-title=Pontoon Intro
navigation-developers=Developers
updated:
<|file_sep|>original/static/locales/en-GB/messages.properties
# Title tag
# Navigation
navigation-title=Pontoon Intro
navigation-developers=Developers
# Header
upper-title=Pont... | 3e4ca9d69350ed5b08797658c50526157b28644d | static/locales/en-GB/messages.properties | static/locales/en-GB/messages.properties | INI |
<|file_sep|>original/Casks/mendeley-desktop.rb
cask :v1 => 'mendeley-desktop' do
version '1.13.8'
sha256 'f90b5fec479b8dcb7bbf9d3dc6c4afa6a11d10636097653a28687c5f2415362a'
url "http://desktop-download.mendeley.com/download/Mendeley-Desktop-#{version}-OSX-Universal.dmg"
name 'Mendeley'
homepage 'http://www.me... | cask :v1 => 'mendeley-desktop' do
version '1.13.8'
sha256 'f90b5fec479b8dcb7bbf9d3dc6c4afa6a11d10636097653a28687c5f2415362a'
url "http://desktop-download.mendeley.com/download/Mendeley-Desktop-#{version}-OSX-Universal.dmg"
name 'Mendeley'
homepage 'https://www.mendeley.com/'
license :gratis
app 'Mendele... | <|file_sep|>original/Casks/mendeley-desktop.rb
cask :v1 => 'mendeley-desktop' do
version '1.13.8'
sha256 'f90b5fec479b8dcb7bbf9d3dc6c4afa6a11d10636097653a28687c5f2415362a'
url "http://desktop-download.mendeley.com/download/Mendeley-Desktop-#{version}-OSX-Universal.dmg"
name 'Mendeley'
homepage 'http://www.me... | 75eec85766899ae1d77519792a0f429c9b7c1a75 | Casks/mendeley-desktop.rb | Casks/mendeley-desktop.rb | Ruby |
<|file_sep|>original/public/temporarily_down.html
<|file_sep|>current/public/temporarily_down.html
<|file_sep|>updated/public/temporarily_down.html | <!DOCTYPE html>
<html lang='en-US' xml:lang='en-US' xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>Kassi</title>
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<link href="/stylesheets/compiled/style.css?1285747368" media="screen" rel="stylesheet" type="text/css" />
</head>... | <|file_sep|>original/public/temporarily_down.html
<|file_sep|>current/public/temporarily_down.html
<|file_sep|>updated/public/temporarily_down.html
<!DOCTYPE html>
<html lang='en-US' xml:lang='en-US' xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>Kassi</title>
<meta content='text/html; charset=utf-8... | 598d7dbf0d7d56c0d8d91e3a6efa4ea05bfdd1fa | public/temporarily_down.html | public/temporarily_down.html | HTML |
<|file_sep|>locales/ja/notes.properties.diff
original:
updated:
welcomeText2=Firefox に組み込まれたこの 1 ページのメモ帳へようこそ。ウェブをブラウズしながら必要な時にメモを取る。とってもシンプルですね。
<|file_sep|>original/locales/ja/notes.properties
welcomeTitle2=こんにちは!
emptyPlaceHolder=メモを取る...
openingLogin=ログイン画面を開いています...
forgetEmail=このアドレスを消去
syncNotes=メモを同期
syncPr... | welcomeTitle2=こんにちは!
welcomeText2=Firefox に組み込まれたこの 1 ページのメモ帳へようこそ。ウェブをブラウズしながら必要な時にメモを取る。とってもシンプルですね。
emptyPlaceHolder=メモを取る...
openingLogin=ログイン画面を開いています...
forgetEmail=このアドレスを消去
syncNotReady2=申し訳ありませんが、メモの同期はまだ開発中です。あなたのクリックを投票として数え、完成を急ぎます!
syncNotes=メモを同期
syncProgress=変更内容を同期しています...
# LOCALIZATION NOTE (disabl... | <|file_sep|>locales/ja/notes.properties.diff
original:
updated:
welcomeText2=Firefox に組み込まれたこの 1 ページのメモ帳へようこそ。ウェブをブラウズしながら必要な時にメモを取る。とってもシンプルですね。
<|file_sep|>original/locales/ja/notes.properties
welcomeTitle2=こんにちは!
emptyPlaceHolder=メモを取る...
openingLogin=ログイン画面を開いています...
forgetEmail=このアドレスを消去
syncNotes=メモを同期
syncPr... | 1752e0bf4f374181c55a5d5982facec8c9f45b83 | locales/ja/notes.properties | locales/ja/notes.properties | INI |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.