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/drivers/scsi/qla4xxx/ql4_version.h
/*
* QLogic iSCSI HBA Driver
* Copyright (c) 2003-2013 QLogic Corporation
*
* See LICENSE.qla4xxx for copyright and licensing details.
*/
#define QLA4XXX_DRIVER_VERSION "5.04.00-k0"
<|file_sep|>current/drivers/scsi/qla4xxx/ql4_version.h
/*
* QLogic iSCSI H... | /*
* QLogic iSCSI HBA Driver
* Copyright (c) 2003-2013 QLogic Corporation
*
* See LICENSE.qla4xxx for copyright and licensing details.
*/
#define QLA4XXX_DRIVER_VERSION "5.04.00-k1" | <|file_sep|>original/drivers/scsi/qla4xxx/ql4_version.h
/*
* QLogic iSCSI HBA Driver
* Copyright (c) 2003-2013 QLogic Corporation
*
* See LICENSE.qla4xxx for copyright and licensing details.
*/
#define QLA4XXX_DRIVER_VERSION "5.04.00-k0"
<|file_sep|>current/drivers/scsi/qla4xxx/ql4_version.h
/*
* QLogic iSCSI H... | 272fd3b28f5ebbf20ccf39c511744cb682056434 | drivers/scsi/qla4xxx/ql4_version.h | drivers/scsi/qla4xxx/ql4_version.h | C |
<|file_sep|>original/README.rst
blackjack
=========
A simple blackjack game written in Python.
<|file_sep|>current/README.rst
blackjack
=========
A simple blackjack game written in Python.
<|file_sep|>updated/README.rst | blackjack
=========
.. image:: https://travis-ci.org/ExcaliburZero/blackjack.svg?branch=master
:target: https://travis-ci.org/ExcaliburZero/blackjack
.. image:: https://coveralls.io/repos/ExcaliburZero/blackjack/badge.svg?branch=master&service=github
:target: https://coveralls.io/github/ExcaliburZero/blackjack... | <|file_sep|>original/README.rst
blackjack
=========
A simple blackjack game written in Python.
<|file_sep|>current/README.rst
blackjack
=========
A simple blackjack game written in Python.
<|file_sep|>updated/README.rst
blackjack
=========
.. image:: https://travis-ci.org/ExcaliburZero/blackjack.svg?branch=master
... | 838ee57c2b4f04aadc4525721821fe48bbcca916 | README.rst | README.rst | reStructuredText |
<|file_sep|>original/test/Sanitizers/tsan/async_taskgroup_next.swift
<|file_sep|>current/test/Sanitizers/tsan/async_taskgroup_next.swift
<|file_sep|>updated/test/Sanitizers/tsan/async_taskgroup_next.swift | // RUN: %target-run-simple-swift(-Xfrontend -enable-experimental-concurrency %import-libdispatch -parse-as-library -sanitize=thread)
// REQUIRES: executable_test
// REQUIRES: concurrency
// REQUIRES: libdispatch
// REQUIRES: tsan_runtime
var scratchBuffer: UnsafeMutableBufferPointer<Int> = .allocate(capacity: 1000)
... | <|file_sep|>original/test/Sanitizers/tsan/async_taskgroup_next.swift
<|file_sep|>current/test/Sanitizers/tsan/async_taskgroup_next.swift
<|file_sep|>updated/test/Sanitizers/tsan/async_taskgroup_next.swift
// RUN: %target-run-simple-swift(-Xfrontend -enable-experimental-concurrency %import-libdispatch -parse-as-librar... | 3d93ec32af3428394f1507bfb960f20583da61d0 | test/Sanitizers/tsan/async_taskgroup_next.swift | test/Sanitizers/tsan/async_taskgroup_next.swift | Swift |
<|file_sep|>original/app/javascript/styles/components/_inbox-actions.scss
.inbox-actions {
.form-group {
margin-bottom: 0;
}
}
<|file_sep|>current/app/javascript/styles/components/_inbox-actions.scss
.inbox-actions {
.form-group {
margin-bottom: 0;
}
}
<|file_sep|>updated/app/javascript/styles/component... | .inbox-actions {
.form-group {
margin-bottom: 0;
}
.card-body {
padding: $card-spacer-y $card-spacer-x;
}
} | <|file_sep|>original/app/javascript/styles/components/_inbox-actions.scss
.inbox-actions {
.form-group {
margin-bottom: 0;
}
}
<|file_sep|>current/app/javascript/styles/components/_inbox-actions.scss
.inbox-actions {
.form-group {
margin-bottom: 0;
}
}
<|file_sep|>updated/app/javascript/styles/component... | d11aff1db9dea171cf8696bb1baa2168d2879165 | app/javascript/styles/components/_inbox-actions.scss | app/javascript/styles/components/_inbox-actions.scss | SCSS |
<|file_sep|>original/src/web/lib/immutable-store.js
class ImmutableStore extends events.EventEmitter {
state = {};
constructor(state = {}) {
super();
this.state = state;
}
get(key, defaultValue) {
return _.get(this.state, key, defaultValue);
}
set(key, value) {
... |
class ImmutableStore extends events.EventEmitter {
state = {};
constructor(state = {}) {
super();
this.state = state;
}
get(key, defaultValue) {
return (key === undefined) ? this.state : _.get(this.state, key, defaultValue);
}
set(key, value) {
const prevValue ... | <|file_sep|>original/src/web/lib/immutable-store.js
class ImmutableStore extends events.EventEmitter {
state = {};
constructor(state = {}) {
super();
this.state = state;
}
get(key, defaultValue) {
return _.get(this.state, key, defaultValue);
}
set(key, value) {
... | e69d30b32c28f09504f1cf2fbea56ebaa9b00d59 | src/web/lib/immutable-store.js | src/web/lib/immutable-store.js | JavaScript |
<|file_sep|>original/spec/factories/ci/runner_projects.rb
FactoryGirl.define do
factory :ci_runner_project, class: Ci::RunnerProject do
runner_id 1
project_id 1
end
end
<|file_sep|>current/spec/factories/ci/runner_projects.rb
FactoryGirl.define do
factory :ci_runner_project, class: Ci::RunnerProject do
... | FactoryGirl.define do
factory :ci_runner_project, class: Ci::RunnerProject do
runner factory: :ci_runner
project factory: :empty_project
end
end | <|file_sep|>original/spec/factories/ci/runner_projects.rb
FactoryGirl.define do
factory :ci_runner_project, class: Ci::RunnerProject do
runner_id 1
project_id 1
end
end
<|file_sep|>current/spec/factories/ci/runner_projects.rb
FactoryGirl.define do
factory :ci_runner_project, class: Ci::RunnerProject do
... | 6f1e00ea36bdcc39da955f7aa2add6a21432d190 | spec/factories/ci/runner_projects.rb | spec/factories/ci/runner_projects.rb | Ruby |
<|file_sep|>original/lib/utils/media-utils.js
): ?FileInfo {
const fileTypeResult = fileType(data);
if (!fileTypeResult) {
return null;
}
const { ext, mime } = fileTypeResult;
const mediaType = mimeTypesToMediaTypes[mime];
if (!mediaType) {
return null;
}
const [ readableFileName, extension ] = ... | ): ?FileInfo {
const fileTypeResult = fileType(data);
if (!fileTypeResult) {
return null;
}
const { ext, mime } = fileTypeResult;
const mediaType = mimeTypesToMediaTypes[mime];
if (!mediaType) {
return null;
}
let [ readableFileName ] = fileName.split('.');
if (!readableFileName) {
readabl... | <|file_sep|>original/lib/utils/media-utils.js
): ?FileInfo {
const fileTypeResult = fileType(data);
if (!fileTypeResult) {
return null;
}
const { ext, mime } = fileTypeResult;
const mediaType = mimeTypesToMediaTypes[mime];
if (!mediaType) {
return null;
}
const [ readableFileName, extension ] = ... | 137f1e513694a914ead27a29d6b7584343c49a18 | lib/utils/media-utils.js | lib/utils/media-utils.js | JavaScript |
<|file_sep|>android/src/main/java/org/kobjects/nativehtml/android/HtmlView.java.diff
original:
updated:
import android.util.AttributeSet;
<|file_sep|>android/src/main/java/org/kobjects/nativehtml/android/HtmlView.java.diff
original:
import java.io.Reader;
import java.net.URI;
updated:
<|file_sep|>android/src/main/jav... |
import java.io.Reader;
import java.net.URI;
public class HtmlView extends FrameLayout implements InternalLinkHandler {
private HtmlParser htmlParser;
private DefaultRequestHandler requestHandler;
public HtmlView(Context context) {
super(context);
init(context);
}
public HtmlView(... | <|file_sep|>android/src/main/java/org/kobjects/nativehtml/android/HtmlView.java.diff
original:
updated:
import android.util.AttributeSet;
<|file_sep|>android/src/main/java/org/kobjects/nativehtml/android/HtmlView.java.diff
original:
import java.io.Reader;
import java.net.URI;
updated:
<|file_sep|>android/src/main/jav... | 582f29e6bd22cbd9a49656dd4a677deeccf86735 | android/src/main/java/org/kobjects/nativehtml/android/HtmlView.java | android/src/main/java/org/kobjects/nativehtml/android/HtmlView.java | Java |
<|file_sep|>original/package.json
"cucumber"
],
"author": "Aslak Hellesøy",
"license": "MIT",
"bugs": {
"url": "https://github.com/cucumber/cucumber/issues"
},
"homepage": "https://github.com/cucumber/gherkin-javascript",
"devDependencies": {
"@types/mocha": "9.0.0",
"@types/node": "16.11.... | "cucumber"
],
"author": "Aslak Hellesøy",
"license": "MIT",
"bugs": {
"url": "https://github.com/cucumber/cucumber/issues"
},
"homepage": "https://github.com/cucumber/gherkin-javascript",
"devDependencies": {
"@types/mocha": "9.0.0",
"@types/node": "16.11.21",
"core-js": "3.20.3",
... | <|file_sep|>original/package.json
"cucumber"
],
"author": "Aslak Hellesøy",
"license": "MIT",
"bugs": {
"url": "https://github.com/cucumber/cucumber/issues"
},
"homepage": "https://github.com/cucumber/gherkin-javascript",
"devDependencies": {
"@types/mocha": "9.0.0",
"@types/node": "16.11.... | 438df9fa09580238f8d82405b00312431635e286 | package.json | package.json | JSON |
<|file_sep|>original/features/past_meetings.feature
Feature: Past meetings page
Scenario: No past meetings
Given there are no past meetings
And there is 1 upcoming meeting
When I visit the 'Past Meetings' page
Then I should see the text "We haven't had any meetings yet!"
And I should see a link t... | Feature: Past meetings page
Scenario: No past meetings
Given there are no past meetings
And there is 1 upcoming meeting
When I visit the 'Past Meetings' page
Then I should see the text "We haven't had any meetings yet!"
And I should see a link to the 'Upcoming Meetings' page
Scenario: Two past... | <|file_sep|>original/features/past_meetings.feature
Feature: Past meetings page
Scenario: No past meetings
Given there are no past meetings
And there is 1 upcoming meeting
When I visit the 'Past Meetings' page
Then I should see the text "We haven't had any meetings yet!"
And I should see a link t... | 641f402f787ded5fdc221af8e1b905c64ce33ee6 | features/past_meetings.feature | features/past_meetings.feature | Cucumber |
<|file_sep|>original/app/views/users/profile.html.haml
%h4
= t("titles.adopted", :thing_name => @thing.name != "" ? @thing.name.titleize : t("defaults.this_thing", :thing => t("defaults.thing")))
%div
= t("titles.byline", :name => @thing.user.name)
= t("titles.ofline", :organization => @thing.user.organization) u... | %h4
= t("titles.adopted", :thing_name => @thing.name != "" ? @thing.name.titleize : t("defaults.this_thing", :thing => t("defaults.thing")))
%div
= t("titles.byline", :name => @thing.user.name)
= t("titles.ofline", :organization => @thing.user.organization) unless @thing.user.organization.blank? | <|file_sep|>original/app/views/users/profile.html.haml
%h4
= t("titles.adopted", :thing_name => @thing.name != "" ? @thing.name.titleize : t("defaults.this_thing", :thing => t("defaults.thing")))
%div
= t("titles.byline", :name => @thing.user.name)
= t("titles.ofline", :organization => @thing.user.organization) u... | 8a938bfcb256eb9d165351aaed2cff416c0cdcdf | app/views/users/profile.html.haml | app/views/users/profile.html.haml | Haml |
<|file_sep|>test/app.js.diff
original:
updated:
/* eslint-env mocha */
<|file_sep|>test/app.js.diff
original:
var path = require('path');
var assert = require('yeoman-assert');
var helpers = require('yeoman-test');
updated:
<|file_sep|>test/app.js.diff
original:
describe('generator-drizzle:app', function () {
befo... | /* eslint-env mocha */
'use strict';
const path = require('path');
const assert = require('yeoman-assert');
const helpers = require('yeoman-test');
describe('generator-drizzle:app', () => {
before(done => {
helpers.run(path.join(__dirname, '../generators/app'))
.withPrompts({someAnswer: true})
.on(... | <|file_sep|>test/app.js.diff
original:
updated:
/* eslint-env mocha */
<|file_sep|>test/app.js.diff
original:
var path = require('path');
var assert = require('yeoman-assert');
var helpers = require('yeoman-test');
updated:
<|file_sep|>test/app.js.diff
original:
describe('generator-drizzle:app', function () {
befo... | da648c56dc3098744d3316bfe5e38048c4c961b4 | test/app.js | test/app.js | JavaScript |
<|file_sep|>original/README.rst
emocapper
=========
Record 3 seconds to file with default filename 'recording.csv':
$ python emocapper.py record --time=3
An electrode signal can be plotted with
>>> from everything import *
>>> read_csv('recording.csv').O1.plot()
<matplotlib.axes._subplots.AxesSub... | emocapper
=========
Record 3 seconds to file with default filename 'recording.csv':
$ python emocapper.py record --duration=3
An electrode signal can be plotted with
>>> from everything import *
>>> read_csv('recording.csv').O1.plot()
<matplotlib.axes._subplots.AxesSubplot object at 0x7f88a10b119... | <|file_sep|>original/README.rst
emocapper
=========
Record 3 seconds to file with default filename 'recording.csv':
$ python emocapper.py record --time=3
An electrode signal can be plotted with
>>> from everything import *
>>> read_csv('recording.csv').O1.plot()
<matplotlib.axes._subplots.AxesSub... | 3f19d9774435dd93fee7e5e2dfe011a50e9b15c6 | README.rst | README.rst | reStructuredText |
<|file_sep|>original/src/test/java/de/muspellheim/flowdesign/MethodsCheatSheet.java
<|file_sep|>current/src/test/java/de/muspellheim/flowdesign/MethodsCheatSheet.java
<|file_sep|>updated/src/test/java/de/muspellheim/flowdesign/MethodsCheatSheet.java | /*
* Flow-Design for Java
*
* Copyright (c) 2015 Falko Schumann
* Released under the terms of the MIT License (MIT).
*/
package de.muspellheim.flowdesign;
/**
* Zeigt wie Functional-Units in Methoden überführt werden können.
*
* @author Falko Schumann <falko.schumann@muspellheim.de>
*/
public class Met... | <|file_sep|>original/src/test/java/de/muspellheim/flowdesign/MethodsCheatSheet.java
<|file_sep|>current/src/test/java/de/muspellheim/flowdesign/MethodsCheatSheet.java
<|file_sep|>updated/src/test/java/de/muspellheim/flowdesign/MethodsCheatSheet.java
/*
* Flow-Design for Java
*
* Copyright (c) 2015 Falko Schumann
... | 6e1c45a934b58a9153f184cf6bb706b47d048039 | src/test/java/de/muspellheim/flowdesign/MethodsCheatSheet.java | src/test/java/de/muspellheim/flowdesign/MethodsCheatSheet.java | Java |
<|file_sep|>original/qatest/backend/api/18_list_used_profiles.t
<|file_sep|>current/qatest/backend/api/18_list_used_profiles.t
<|file_sep|>updated/qatest/backend/api/18_list_used_profiles.t | #!/usr/bin/perl
use strict;
use warnings;
# Core modules
use Carp;
use English;
use Data::Dumper;
use File::Basename;
# CPAN modules
use Log::Log4perl qw(:easy);
Log::Log4perl->easy_init($WARN);
use Test::More;
use Test::Deep;
# Project modules
use lib qw(../../lib);
use TestCfg;
use OpenXPKI::Test::More;
use OpenXP... | <|file_sep|>original/qatest/backend/api/18_list_used_profiles.t
<|file_sep|>current/qatest/backend/api/18_list_used_profiles.t
<|file_sep|>updated/qatest/backend/api/18_list_used_profiles.t
#!/usr/bin/perl
use strict;
use warnings;
# Core modules
use Carp;
use English;
use Data::Dumper;
use File::Basename;
# CPAN m... | 8039a5e249a2b38240643a91198cf02076b14a63 | qatest/backend/api/18_list_used_profiles.t | qatest/backend/api/18_list_used_profiles.t | Perl |
<|file_sep|>original/src/Model/Resource.php
public function addPropertyValue($name, $value)
{
$name = (string)$name;
$value = (string)$value;
$property = new Property($name, $value);
$this->addProperty($property);
return $this;
}
public function addShare... | public function addShare(Share $share)
{
$this->shares[] = $share;
return $this;
}
public function getShares()
{
return $this->shares;
}
private $sourceUrl;
public function getSourceUrl()
{
return $this->sourceUrl;
}
public ... | <|file_sep|>original/src/Model/Resource.php
public function addPropertyValue($name, $value)
{
$name = (string)$name;
$value = (string)$value;
$property = new Property($name, $value);
$this->addProperty($property);
return $this;
}
public function addShare... | 3c138df28de31b858b8efa4a74b0191e3f622e4c | src/Model/Resource.php | src/Model/Resource.php | PHP |
<|file_sep|>original/frontend/package.json
{
"scripts": {
"dev": "parcel src/*.html --no-autoinstall",
"build": "parcel build ./src/*.html --no-minify --no-autoinstall "
},
"dependencies": {
"countdown": "^2.6.0",
"highcharts": "^8.2.2",
"leaflet": "^1.7.1",
"@raruto/leaflet-elevation": "^... | {
"scripts": {
"dev": "parcel serve src/*.html --no-autoinstall",
"build": "parcel build ./src/*.html --no-minify --no-autoinstall "
},
"dependencies": {
"countdown": "^2.6.0",
"highcharts": "^8.2.2",
"leaflet": "^1.7.1",
"@raruto/leaflet-elevation": "^1.4.0"
},
"devDependencies": {
... | <|file_sep|>original/frontend/package.json
{
"scripts": {
"dev": "parcel src/*.html --no-autoinstall",
"build": "parcel build ./src/*.html --no-minify --no-autoinstall "
},
"dependencies": {
"countdown": "^2.6.0",
"highcharts": "^8.2.2",
"leaflet": "^1.7.1",
"@raruto/leaflet-elevation": "^... | 03ae4fad3fdbddcc0577784d320e28295f910fe6 | frontend/package.json | frontend/package.json | JSON |
<|file_sep|>original/lib/slack_responder/command_handler.rb
# Reponds to Slack slash command and mentions.
class CommandHandler
def response
tour
end
private
def tour
'*Welcome to slashrocket!*
*Here\'s a quick channel breakdown:*
*#general* - everything tech/programming r... | # Reponds to Slack slash command and mentions.
class CommandHandler
def response
tour
end
private
def tour
'*Welcome to slashrocket!*
*Here\'s a quick channel breakdown:*
*#general* - everything tech/programming related :computer:
*#random* - for anything that\'s no... | <|file_sep|>original/lib/slack_responder/command_handler.rb
# Reponds to Slack slash command and mentions.
class CommandHandler
def response
tour
end
private
def tour
'*Welcome to slashrocket!*
*Here\'s a quick channel breakdown:*
*#general* - everything tech/programming r... | 51a65f55ee6607b71787d136dc4d0edfe7905fea | lib/slack_responder/command_handler.rb | lib/slack_responder/command_handler.rb | Ruby |
<|file_sep|>original/tokens/tokens-ella.json
<|file_sep|>current/tokens/tokens-ella.json
<|file_sep|>updated/tokens/tokens-ella.json | [
{
"symbol": "MINING",
"name": "MINING",
"address": "0x991e7fe4b05f2b3db1d788e705963f5d647b0044",
"decimals": 18,
"website": "",
"logo": {
"src": "",
"width": "",
"height": "",
"ipfs_hash": ""
},
"support": {
"email": "",
"url": ""
},
"social": {
"blog": "",
"chat": "",
... | <|file_sep|>original/tokens/tokens-ella.json
<|file_sep|>current/tokens/tokens-ella.json
<|file_sep|>updated/tokens/tokens-ella.json
[
{
"symbol": "MINING",
"name": "MINING",
"address": "0x991e7fe4b05f2b3db1d788e705963f5d647b0044",
"decimals": 18,
"website": "",
"logo": {
"src": "",
"width": "",
... | a6676fd640d6c01ce5be065a3922b1146f195dfa | tokens/tokens-ella.json | tokens/tokens-ella.json | JSON |
<|file_sep|>original/examples/EntropySeed/EntropySeed.ino
int ledPin = 13;
void setup()
{
Serial.begin(9600);
while (!Serial)
{
; // wait for serial port to connect. Needed for Leonardo and Due
}
Entropy.Initialize();
ArcFour.initialize();
for (int i = 0; i < ARCFOUR_MAX; i++)
{
if (i ... | int ledPin = 13;
void setup()
{
Serial.begin(9600);
while (!Serial)
{
; // wait for serial port to connect. Needed for Leonardo and Due
}
Entropy.initialize();
ArcFour.initialize();
for (int i = 0; i < ARCFOUR_MAX; i++)
{
if (i / 4 % 2)
digitalWrite(ledPin, LOW);
else
d... | <|file_sep|>original/examples/EntropySeed/EntropySeed.ino
int ledPin = 13;
void setup()
{
Serial.begin(9600);
while (!Serial)
{
; // wait for serial port to connect. Needed for Leonardo and Due
}
Entropy.Initialize();
ArcFour.initialize();
for (int i = 0; i < ARCFOUR_MAX; i++)
{
if (i ... | b687f248496c1c88565fe6578236e1c158c1a941 | examples/EntropySeed/EntropySeed.ino | examples/EntropySeed/EntropySeed.ino | Arduino |
<|file_sep|>original/create/javascript/inject.js
// Generate a random number from 1 to 10000
author = Math.floor((Math.random() * 10000) + 1);
});
}
function injectCreateEditor() {
Range = ace.require('ace/range').Range;
createEditor = ace.edit("editor");
createEditor.setTheme("ace/theme/gith... | // Generate a random number from 1 to 10000
author = Math.floor((Math.random() * 10000) + 1);
});
}
function injectCreateEditor() {
Range = ace.require('ace/range').Range;
createEditor = ace.edit("editor");
createEditor.setTheme("ace/theme/github");
// Set this to RESOLVE mode
//var ... | <|file_sep|>original/create/javascript/inject.js
// Generate a random number from 1 to 10000
author = Math.floor((Math.random() * 10000) + 1);
});
}
function injectCreateEditor() {
Range = ace.require('ace/range').Range;
createEditor = ace.edit("editor");
createEditor.setTheme("ace/theme/gith... | af95ac79ddea73ed8d58b8971d33bf022b23764d | create/javascript/inject.js | create/javascript/inject.js | JavaScript |
<|file_sep|>app/js/models/key_pair.js.diff
original:
// self.bitcoin_worker = new Worker('/js/workers/bitcoin_worker.js');
// self.bitcoin_worker.postMessage();
// self.bitcoin_worker.currentMessageId = 0;
// self.bitcoin_worker.callbacks = {};
// self.bitcoin_worker.onmessage = function(e) {
// ... | Models.entropy.randomWords(32),
password
];
bitcoinWorker.async("seedGenerateAndEncryptKeys", params, function(keyPair) {
self.isGenerated = true;
self.encryptedPrivateKeyExponent = keyPair.encryptedPrivateKeyExponent;
self.publicKeyX = keyPair.publicKeyX;
self.publicKeyY =... | <|file_sep|>app/js/models/key_pair.js.diff
original:
// self.bitcoin_worker = new Worker('/js/workers/bitcoin_worker.js');
// self.bitcoin_worker.postMessage();
// self.bitcoin_worker.currentMessageId = 0;
// self.bitcoin_worker.callbacks = {};
// self.bitcoin_worker.onmessage = function(e) {
// ... | b8142700dbe5c9f4031c866cd6ac2d4dba2c55ee | app/js/models/key_pair.js | app/js/models/key_pair.js | JavaScript |
<|file_sep|>original/setup.py
name='jsondiff',
packages=find_packages(exclude=['tests']),
version=version,
description='Diff JSON and JSON-like structures in Python',
author='Zoomer Analytics LLC',
author_email='eric.reynolds@zoomeranalytics.com',
url='https://github.com/ZoomerAnalytics/json... | setup(
name='jsondiff',
packages=find_packages(exclude=['tests']),
version=version,
description='Diff JSON and JSON-like structures in Python',
author='Zoomer Analytics LLC',
author_email='eric.reynolds@zoomeranalytics.com',
url='https://github.com/ZoomerAnalytics/jsondiff',
keywords=['j... | <|file_sep|>original/setup.py
name='jsondiff',
packages=find_packages(exclude=['tests']),
version=version,
description='Diff JSON and JSON-like structures in Python',
author='Zoomer Analytics LLC',
author_email='eric.reynolds@zoomeranalytics.com',
url='https://github.com/ZoomerAnalytics/json... | 0ef82c3b6b98da84f423a61482969cb1cdb64681 | setup.py | setup.py | Python |
<|file_sep|>original/README.md
```
License
-------
This Bot-API is distributed under the [MIT-License](http://www.opensource.org/licenses/mit-license.php).
Maven Usage
--------
If you want to add ___telegram-bot-api___ to your maven project, you can add the following dependency in your __pom.xml__:
```xml
<depe... |
```
License
-------
This Bot-API is distributed under the [MIT-License](http://www.opensource.org/licenses/mit-license.php).
Maven Usage
--------
If you want to add ___telegram-bot-api___ to your maven project, you can add the following dependency in your __pom.xml__:
```xml
<dependency>
<groupId>de.raysha.... | <|file_sep|>original/README.md
```
License
-------
This Bot-API is distributed under the [MIT-License](http://www.opensource.org/licenses/mit-license.php).
Maven Usage
--------
If you want to add ___telegram-bot-api___ to your maven project, you can add the following dependency in your __pom.xml__:
```xml
<depe... | fe4f0c8706559032a9d12666924f865bb209d3f5 | README.md | README.md | Markdown |
<|file_sep|>botbot/templates/includes/field.html.diff
original:
<div class="control-group required {% if field_class %} {{ field_class }}{% endif %}">
updated:
<div class="control-group required {% if field_class %} {{ field_class }}{% endif %}{% if field.errors %} error{% endif %}">
<|file_sep|>original/botbot/templat... | <div class="control-group required {% if field_class %} {{ field_class }}{% endif %}{% if field.errors %} error{% endif %}">
<label class="control-label" for="id_{{ field.html_name }}">
{% if label %}{{ label }}{% else %}{{ field.label }}{% endif %}
{% if not field.field.required and not hide_optio... | <|file_sep|>botbot/templates/includes/field.html.diff
original:
<div class="control-group required {% if field_class %} {{ field_class }}{% endif %}">
updated:
<div class="control-group required {% if field_class %} {{ field_class }}{% endif %}{% if field.errors %} error{% endif %}">
<|file_sep|>original/botbot/templat... | d5fc2a456e463efe4ae5dea1b4cfb542891b6da1 | botbot/templates/includes/field.html | botbot/templates/includes/field.html | HTML |
<|file_sep|>original/ruby/roman.rb
<|file_sep|>current/ruby/roman.rb
<|file_sep|>updated/ruby/roman.rb | #!/bin/env ruby
# Demonstrate the use of `method_missing' to create a flexible API
class Roman
def self.method_missing name, *args
roman = name.to_s
.gsub("IV", "IIII")
.gsub("IX", "VIIII")
.gsub("XL", "XXXX")
.gsub("XC", "LXXXX")
{"I" => 1,
"V" => 5,
"X" => 10,
"L"... | <|file_sep|>original/ruby/roman.rb
<|file_sep|>current/ruby/roman.rb
<|file_sep|>updated/ruby/roman.rb
#!/bin/env ruby
# Demonstrate the use of `method_missing' to create a flexible API
class Roman
def self.method_missing name, *args
roman = name.to_s
.gsub("IV", "IIII")
.gsub("IX", "VIIII")
... | 2049f7bd58c52b5116928a8e8d9d109b6109ebe1 | ruby/roman.rb | ruby/roman.rb | Ruby |
<|file_sep|>app/models/sensor_reading.rb.diff
original:
only: [ :value, :created_at ]
updated:
only: [ :value, :setpoint, :created_at ]
<|file_sep|>original/app/models/sensor_reading.rb
))
end
def value
case sensor.device.user.temperature_scale
when 'F'
read_attribute( :value )
wh... | case sensor.device.user.temperature_scale
when 'F'
read_attribute( :value )
when 'C'
fahrenheit_to_celcius( read_attribute(:value) )
else
read_attribute( :value )
end
end
def setpoint
case sensor.device.user.temperature_scale
when 'F'
read_attribute( :setpoint )
... | <|file_sep|>app/models/sensor_reading.rb.diff
original:
only: [ :value, :created_at ]
updated:
only: [ :value, :setpoint, :created_at ]
<|file_sep|>original/app/models/sensor_reading.rb
))
end
def value
case sensor.device.user.temperature_scale
when 'F'
read_attribute( :value )
wh... | 875fa1d27c43bab23b7ababc12de9e31b263f279 | app/models/sensor_reading.rb | app/models/sensor_reading.rb | Ruby |
<|file_sep|>_includes/js.html.diff
original:
<script src="{{ "/js/jquery-1.11.0.js" | prepend: site.baseurl }}"></script>
updated:
<script src="{{ "js/jquery-1.11.0.js" | prepend: site.baseurl }}"></script>
<|file_sep|>_includes/js.html.diff
original:
<script src="{{ "/js/bootstrap.min.js" | prepend: site.b... | <!-- jQuery Version 1.11.0 -->
<script src="{{ "js/jquery-1.11.0.js" | prepend: site.baseurl }}"></script>
<!-- Bootstrap Core JavaScript -->
<script src="{{ "js/bootstrap.min.js" | prepend: site.baseurl }}"></script>
<!-- Plugin JavaScript -->
<script src="{{ "js/jquery.easing.min.js" | prepend:... | <|file_sep|>_includes/js.html.diff
original:
<script src="{{ "/js/jquery-1.11.0.js" | prepend: site.baseurl }}"></script>
updated:
<script src="{{ "js/jquery-1.11.0.js" | prepend: site.baseurl }}"></script>
<|file_sep|>_includes/js.html.diff
original:
<script src="{{ "/js/bootstrap.min.js" | prepend: site.b... | 4808d4f492cd9597a614897751a4774b7fc7299a | _includes/js.html | _includes/js.html | HTML |
<|file_sep|>lib/modules/helpers/hooks/onInitClass.js.diff
original:
this.getHelper.apply(this, args);
updated:
return this.getHelper.apply(this, args);
<|file_sep|>lib/modules/helpers/hooks/onInitClass.js.diff
original:
this.getHelpers.apply(this, args);
updated:
return this.getHelpers.apply(this, args)... | `use the "${className}.getHelper" function instead.`
);
return this.getHelper.apply(this, args);
};
Class.getMethods = function(...args) {
console.warn(
`Deprecation warning: methods have been renamed to helpers, please ` +
`use the "${className}.getHelpers" function instead.`
);
... | <|file_sep|>lib/modules/helpers/hooks/onInitClass.js.diff
original:
this.getHelper.apply(this, args);
updated:
return this.getHelper.apply(this, args);
<|file_sep|>lib/modules/helpers/hooks/onInitClass.js.diff
original:
this.getHelpers.apply(this, args);
updated:
return this.getHelpers.apply(this, args)... | 6c4893042e5688139f83bb5dd475a615741133c9 | lib/modules/helpers/hooks/onInitClass.js | lib/modules/helpers/hooks/onInitClass.js | JavaScript |
<|file_sep|>original/test_requirements.txt
codacy-coverage==1.3.11
pytest==6.2.5
pytest-cov==3.0.0
python-coveralls==2.9.3
pytest-flask==1.2.0
pytest-xdist==2.4.0
<|file_sep|>current/test_requirements.txt
codacy-coverage==1.3.11
pytest==6.2.5
pytest-cov==3.0.0
python-coveralls==2.9.3
pytest-flask==1.2.0
pytest-xdist==2... | codacy-coverage==1.3.11
pytest==6.2.5
pytest-cov==3.0.0
python-coveralls==2.9.3
pytest-flask==1.2.0
pytest-xdist==2.5.0 | <|file_sep|>original/test_requirements.txt
codacy-coverage==1.3.11
pytest==6.2.5
pytest-cov==3.0.0
python-coveralls==2.9.3
pytest-flask==1.2.0
pytest-xdist==2.4.0
<|file_sep|>current/test_requirements.txt
codacy-coverage==1.3.11
pytest==6.2.5
pytest-cov==3.0.0
python-coveralls==2.9.3
pytest-flask==1.2.0
pytest-xdist==2... | f1182961e5509cf091f3b6dfaffa04671ad79da1 | test_requirements.txt | test_requirements.txt | Text |
<|file_sep|>Rocket.Chat/API/Requests/Subscription/SubscriptionRolesRequest.swift.diff
original:
updated:
let requiredVersion = Version(0, 64, 2)
<|file_sep|>original/Rocket.Chat/API/Requests/Subscription/SubscriptionRolesRequest.swift
init(roomName: String, subscriptionType: SubscriptionType) {
self.t... | init(roomName: String, subscriptionType: SubscriptionType) {
self.type = subscriptionType
self.roomName = roomName
self.query = "roomName=\(roomName)"
}
}
final class SubscriptionRolesResource: APIResource {
var subscriptionRoles: [SubscriptionRoles]? {
return raw?["roles"].... | <|file_sep|>Rocket.Chat/API/Requests/Subscription/SubscriptionRolesRequest.swift.diff
original:
updated:
let requiredVersion = Version(0, 64, 2)
<|file_sep|>original/Rocket.Chat/API/Requests/Subscription/SubscriptionRolesRequest.swift
init(roomName: String, subscriptionType: SubscriptionType) {
self.t... | 700504bf4f6a11ddb433c6be9bd24cf5c575fbe5 | Rocket.Chat/API/Requests/Subscription/SubscriptionRolesRequest.swift | Rocket.Chat/API/Requests/Subscription/SubscriptionRolesRequest.swift | Swift |
<|file_sep|>.rultor.yml.diff
original:
secring.gpg: "repo/secret.gpg.asc"
updated:
secret.gpg: "repo/secret.gpg.asc"
<|file_sep|>original/.rultor.yml
install: |-
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
sudo apt-get install git-lfs
mkdir ~/.ssh
touch ~/.s... | install: |-
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
sudo apt-get install git-lfs
mkdir ~/.ssh
touch ~/.ssh/known_hosts
ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
git config lfs.url "https://github.com/smallcreep/jb-hub-client.git/info/lfs"
git... | <|file_sep|>.rultor.yml.diff
original:
secring.gpg: "repo/secret.gpg.asc"
updated:
secret.gpg: "repo/secret.gpg.asc"
<|file_sep|>original/.rultor.yml
install: |-
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
sudo apt-get install git-lfs
mkdir ~/.ssh
touch ~/.s... | d35efd07cf00d36db93fb48a361a6c55d36b2b7a | .rultor.yml | .rultor.yml | YAML |
<|file_sep|>setup.py.diff
original:
updated:
import sys
if sys.platform == 'linux'
extra_compile_args = ['-fopenmp'
extra_link_args = ['-fopenmp']
else:
extra_compile_args = ['-/openmp']
extra_link_args = ['-/openmp']
<|file_sep|>original/setup.py
from setuptools import setup, Extension
import numpy... | extra_compile_args = ['-/openmp']
extra_link_args = ['-/openmp']
ext_modules=[
Extension(
"heat_diffusion_experiment.cython_versions",
["heat_diffusion_experiment/cython_versions.pyx"],
language='c++',
extra_compile_args=extra_compile_args,
extra_link_args=extra_l... | <|file_sep|>setup.py.diff
original:
updated:
import sys
if sys.platform == 'linux'
extra_compile_args = ['-fopenmp'
extra_link_args = ['-fopenmp']
else:
extra_compile_args = ['-/openmp']
extra_link_args = ['-/openmp']
<|file_sep|>original/setup.py
from setuptools import setup, Extension
import numpy... | 4359912ce0898c6c4a8d54c7328fb11a7eb486c9 | setup.py | setup.py | Python |
<|file_sep|>original/ansible/roles/api/files/build_api.sh
# Log and temporary directories
dirs_to_check='/srv/www/api/var/log /srv/www/api/tmp'
for dir in $dirs_to_check; do
if [ ! -d $dir ]; then
mkdir $dir \
&& chown dpla:webapp $dir \
&& chmod 0775 $dir
fi
done
# Clear out th... | # Log and temporary directories
dirs_to_check='/srv/www/api/var/log /srv/www/api/tmp'
for dir in $dirs_to_check; do
if [ ! -d $dir ]; then
mkdir $dir \
&& chown dpla:webapp $dir \
&& chmod 0775 $dir
fi
done
# Clear out the job queue, caches, and temporary files.
# Is it OK to do... | <|file_sep|>original/ansible/roles/api/files/build_api.sh
# Log and temporary directories
dirs_to_check='/srv/www/api/var/log /srv/www/api/tmp'
for dir in $dirs_to_check; do
if [ ! -d $dir ]; then
mkdir $dir \
&& chown dpla:webapp $dir \
&& chmod 0775 $dir
fi
done
# Clear out th... | 7640b84956b215f7bd4469341b96c143f7764961 | ansible/roles/api/files/build_api.sh | ansible/roles/api/files/build_api.sh | Shell |
<|file_sep|>original/py/baseball-game.py
<|file_sep|>current/py/baseball-game.py
<|file_sep|>updated/py/baseball-game.py | class Solution(object):
def calPoints(self, ops):
"""
:type ops: List[str]
:rtype: int
"""
s = 0
stack = []
for c in ops:
try:
v = int(c)
stack.append(v)
except ValueError:
if c == 'C':
... | <|file_sep|>original/py/baseball-game.py
<|file_sep|>current/py/baseball-game.py
<|file_sep|>updated/py/baseball-game.py
class Solution(object):
def calPoints(self, ops):
"""
:type ops: List[str]
:rtype: int
"""
s = 0
stack = []
for c in ops:
try... | 3763078a5a9a1973b17fd1c11411c29e176a034f | py/baseball-game.py | py/baseball-game.py | Python |
<|file_sep|>.travis.yml.diff
original:
updated:
---
<|file_sep|>.travis.yml.diff
original:
updated:
<|file_sep|>.travis.yml.diff
original:
- 2.6
- 2.7
- 3.3
- 3.4
updated:
- '2.6'
- '2.7'
- '3.3'
- '3.4'
<|file_sep|>.travis.yml.diff
original:
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip in... | before_install:
- git clone git://github.com/maxmind/geoip-api-c
- cd geoip-api-c
- ./bootstrap
- ./configure
- make
- sudo make install
- sudo ldconfig
- cd ..
- "if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2; fi"
script:
- CFLAGS="-Werror -Wall -Wextra" python setup.py test
... | <|file_sep|>.travis.yml.diff
original:
updated:
---
<|file_sep|>.travis.yml.diff
original:
updated:
<|file_sep|>.travis.yml.diff
original:
- 2.6
- 2.7
- 3.3
- 3.4
updated:
- '2.6'
- '2.7'
- '3.3'
- '3.4'
<|file_sep|>.travis.yml.diff
original:
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip in... | 59a6ab034440ab3f3cbb304de5aa8db9bc711185 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/gulpfile.js
gulp.task('minify-css', () => {
gulp.src('src/styles/**.css')
.pipe(cleanCSS({ processImport: false }))
.pipe(gulp.dest('dist/styles'));
});
gulp.task('lint-standard', () => {
gulp.src(['src/scripts/**.js'])
.pipe(standard())
.pipe(standard.repo... |
gulp.task('minify-css', () => {
gulp.src('src/styles/**.css')
.pipe(cleanCSS({ processImport: false }))
.pipe(gulp.dest('dist/styles'));
});
gulp.task('lint-standard', () => {
gulp.src(['src/scripts/**.js'])
.pipe(standard())
.pipe(standard.reporter('default', {
bre... | <|file_sep|>original/gulpfile.js
gulp.task('minify-css', () => {
gulp.src('src/styles/**.css')
.pipe(cleanCSS({ processImport: false }))
.pipe(gulp.dest('dist/styles'));
});
gulp.task('lint-standard', () => {
gulp.src(['src/scripts/**.js'])
.pipe(standard())
.pipe(standard.repo... | 6adaceb970ed4feadb535f81505e7d68ed5db25b | gulpfile.js | gulpfile.js | JavaScript |
<|file_sep|>weckan/static/js/dataset.js.diff
original:
var COW_URL = $('link[rel="cow"]').attr('href'),
updated:
var QUALITY_PRECISION = 2,
COW_URL = $('link[rel="cow"]').attr('href'),
<|file_sep|>weckan/static/js/dataset.js.diff
original:
var weight = data.value.weight.toFixed(3),
updated:
... | COW_URL = $('link[rel="cow"]').attr('href'),
COW_API_URL = COW_URL + '/api/1/datasets/{name}/ranking';
$(function() {
var name = $('meta[name="dataset-name"]').attr('content'),
url = COW_API_URL.replace('{name}', name);
// Fetch ranking
$.get(url, function(data)... | <|file_sep|>weckan/static/js/dataset.js.diff
original:
var COW_URL = $('link[rel="cow"]').attr('href'),
updated:
var QUALITY_PRECISION = 2,
COW_URL = $('link[rel="cow"]').attr('href'),
<|file_sep|>weckan/static/js/dataset.js.diff
original:
var weight = data.value.weight.toFixed(3),
updated:
... | 535e980c271e6e39514857c54189339a2cb7f70d | weckan/static/js/dataset.js | weckan/static/js/dataset.js | JavaScript |
<|file_sep|>template_timings_panel/templates/debug_toolbar_template_timings.html.diff
original:
<td>{{ time }}</td>
updated:
<td>{{ time|floatformat:5 }} ms</td>
<|file_sep|>original/template_timings_panel/templates/debug_toolbar_template_timings.html
</tbody>
</table>
<h4>Blocks</h4>
<table>
<... | </tbody>
</table>
<h4>Blocks</h4>
<table>
<thead>
<tr>
<th>Name</th>
<th>Time Taken</th>
</tr>
</thead>
<tbody>
{% for name, time in template_timings.blocks.items %}
<tr class="{% cycle 'djDebugOdd' 'djDebugEven' %}">
<td>{{ name }}</td>
<td>{{ time|floa... | <|file_sep|>template_timings_panel/templates/debug_toolbar_template_timings.html.diff
original:
<td>{{ time }}</td>
updated:
<td>{{ time|floatformat:5 }} ms</td>
<|file_sep|>original/template_timings_panel/templates/debug_toolbar_template_timings.html
</tbody>
</table>
<h4>Blocks</h4>
<table>
<... | 9e504a81fd1d4af1ec5cc3b36590c2a783760fb5 | template_timings_panel/templates/debug_toolbar_template_timings.html | template_timings_panel/templates/debug_toolbar_template_timings.html | HTML |
<|file_sep|>original/Cargo.toml
authors = ["Michael Yang <mikkyangg@gmail.com>"]
description = "JSON Web Token library"
documentation = "https://docs.rs/jwt"
homepage = "http://github.com/mikkyang/rust-jwt"
repository = "http://github.com/mikkyang/rust-jwt"
readme = "README.md"
keywords = ["JWT", "token", "web"]
licens... | authors = ["Michael Yang <mikkyangg@gmail.com>"]
description = "JSON Web Token library"
documentation = "https://docs.rs/jwt"
homepage = "http://github.com/mikkyang/rust-jwt"
repository = "http://github.com/mikkyang/rust-jwt"
readme = "README.md"
keywords = ["JWT", "token", "web"]
license = "MIT"
edition = "2018"
[pac... | <|file_sep|>original/Cargo.toml
authors = ["Michael Yang <mikkyangg@gmail.com>"]
description = "JSON Web Token library"
documentation = "https://docs.rs/jwt"
homepage = "http://github.com/mikkyang/rust-jwt"
repository = "http://github.com/mikkyang/rust-jwt"
readme = "README.md"
keywords = ["JWT", "token", "web"]
licens... | a6c62ac218429340c89fbac7c04dc802ee25335a | Cargo.toml | Cargo.toml | TOML |
<|file_sep|>original/.travis.yml
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
script:
- phpunit ./php/tests/disposable_email_checker_tests.php
<|file_sep|>current/.travis.yml
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
script:
- phpunit ./php/tests/disposable_email_... | language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
script:
- phpunit ./php/tests/disposable_email_checker_tests.php
| <|file_sep|>original/.travis.yml
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
script:
- phpunit ./php/tests/disposable_email_checker_tests.php
<|file_sep|>current/.travis.yml
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
script:
- phpunit ./php/tests/disposable_email_... | 69f7fb4914cd5ff554947e2552129a62462920ad | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements/common.txt
git+https://github.com/zmike808/wac.git#egg=wac
git+https://github.com/zmike808/balanced-python.git#egg=balanced
flask==0.10.1
flask-restful==0.2.11
Flask-Script==0.6.7
Flask-SQLAlchemy==1.0
SQLAlchemy==0.9.3
passlib==1.6.2
py-bcrypt==0.4
PyJWT==0.1.9
celery==3.1.10
gunicorn... | git+https://github.com/zmike808/wac.git
git+https://github.com/zmike808/balanced-python.git
flask==0.10.1
flask-restful==0.2.11
Flask-Script==0.6.7
Flask-SQLAlchemy==1.0
SQLAlchemy==0.9.3
passlib==1.6.2
py-bcrypt==0.4
PyJWT==0.1.9
celery==3.1.10
gunicorn==18.0 | <|file_sep|>original/requirements/common.txt
git+https://github.com/zmike808/wac.git#egg=wac
git+https://github.com/zmike808/balanced-python.git#egg=balanced
flask==0.10.1
flask-restful==0.2.11
Flask-Script==0.6.7
Flask-SQLAlchemy==1.0
SQLAlchemy==0.9.3
passlib==1.6.2
py-bcrypt==0.4
PyJWT==0.1.9
celery==3.1.10
gunicorn... | 381495d81961baa85b35ac4c9ca61a9f4636578e | requirements/common.txt | requirements/common.txt | Text |
<|file_sep|>original/about/index.md
---
layout: page
title: About
tags: [about, software engineer, freelance]
modified: 2015-09-19
comments: false
share: false
image:
feature: sample-image-2.jpg
credit: WeGraphics
creditlink: http://wegraphics.net/downloads/free-ultimate-blurred-background-pack/
---
Hello, I'm P... | ---
layout: page
title: About
tags: [about, software engineer, freelance]
modified: 2015-09-19
comments: false
share: false
---
Hello, I'm Peter Oost, a freelance software engineer from The Netherlands.
My experience covers multiple platforms and languages (C++, .Net, Java, ...) and I prefer to work with graphics (Ope... | <|file_sep|>original/about/index.md
---
layout: page
title: About
tags: [about, software engineer, freelance]
modified: 2015-09-19
comments: false
share: false
image:
feature: sample-image-2.jpg
credit: WeGraphics
creditlink: http://wegraphics.net/downloads/free-ultimate-blurred-background-pack/
---
Hello, I'm P... | e7daf24c862f4daef96c5812eb0623dc14566956 | about/index.md | about/index.md | Markdown |
<|file_sep|>original/_data/authors.yml
# Authors
jroelofs:
name: Jon Roelofs
web: http://github.com/jroelofs
email: jroelofs@gmail.com
bio: "Remind me again why I care?"
avatar: jroelofs-bio.jpg
twitter: jonathanroelofs
github: jroelofs
facebook: jroelofs
madphilosopher:
name: Joey
bio: "Death met... | # Authors
jroelofs:
name: Jon Roelofs
web: http://github.com/jroelofs
email: jroelofs@gmail.com
bio: "Remind me again why I care?"
avatar: jroelofs-bio.jpg
bitcoin: 19tRA6Me3D84BSKRYDgePeGUexxNZmdkHB
twitter: jonathanroelofs
github: jroelofs
facebook: jroelofs
madphilosopher:
name: Joey
bio: "De... | <|file_sep|>original/_data/authors.yml
# Authors
jroelofs:
name: Jon Roelofs
web: http://github.com/jroelofs
email: jroelofs@gmail.com
bio: "Remind me again why I care?"
avatar: jroelofs-bio.jpg
twitter: jonathanroelofs
github: jroelofs
facebook: jroelofs
madphilosopher:
name: Joey
bio: "Death met... | bef65dacf700988a37bd333ffdd7f1ff9cc40337 | _data/authors.yml | _data/authors.yml | YAML |
<|file_sep|>original/src/models/image.py
import datetime
from utils.utils import limit_file_name
class Image():
_file_name_pattern = "reddit_%s_%s_%s_album_%s_%s_%s"
def __init__(self, url, post, image_file):
self.post_id = post.id
self.url = url
self.sub_display_name = post.subreddit... | import datetime
from utils.utils import limit_file_name
class Image:
_file_name_pattern = "reddit_%s_%s_%s_album_%s_%s_%s"
def __init__(self, url, post, image_file):
self.post_id = post.id
self.url = url
self.sub_display_name = post.subreddit.display_name
self.image_file = lim... | <|file_sep|>original/src/models/image.py
import datetime
from utils.utils import limit_file_name
class Image():
_file_name_pattern = "reddit_%s_%s_%s_album_%s_%s_%s"
def __init__(self, url, post, image_file):
self.post_id = post.id
self.url = url
self.sub_display_name = post.subreddit... | 5d3349675a0b4049efedf52958b6843e9ef31c1b | src/models/image.py | src/models/image.py | Python |
<|file_sep|>original/requirements.txt
git+https://github.com/cuducos/django-simple-history.git@cuducos-missing-translations-in-pt-br#egg=django-simple-history
Django==1.11.7
brazilnum==0.8.8
celery==4.1.0
dj-database-url==0.4.2
django-assets==0.12
django-bulk-update==2.2.0
django-cors-middleware==1.3.1
django-debug-too... | git+https://github.com/cuducos/django-simple-history.git@cuducos-missing-translations-in-pt-br#egg=django-simple-history
Django==1.11.7
brazilnum==0.8.8
celery==4.1.0
dj-database-url==0.4.2
django-assets==0.12
django-bulk-update==2.2.0
django-cors-middleware==1.3.1
django-debug-toolbar==1.8
django-extensions==1.9.7
dja... | <|file_sep|>original/requirements.txt
git+https://github.com/cuducos/django-simple-history.git@cuducos-missing-translations-in-pt-br#egg=django-simple-history
Django==1.11.7
brazilnum==0.8.8
celery==4.1.0
dj-database-url==0.4.2
django-assets==0.12
django-bulk-update==2.2.0
django-cors-middleware==1.3.1
django-debug-too... | 0b50786a46f13736b2ebbff845862ff0a322659b | requirements.txt | requirements.txt | Text |
<|file_sep|>original/CMakeLists.txt
include(GetGitRevisionDescription)
get_git_head_revision(GIT_REFSPEC GIT_SHA1)
git_describe(GIT_DESCRIPTION)
set(GIT_REFSPEC ${GIT_REFSPEC} CACHE STRING "GIT_REFSPEC")
set(GIT_SHA1 ${GIT_SHA1} CACHE STRING "GIT_SHA1")
set(GIT_DESCRIPTION ${GIT_DESC... | include(GetGitRevisionDescription)
get_git_head_revision(GIT_REFSPEC GIT_SHA1)
git_describe(GIT_DESCRIPTION)
set(GIT_REFSPEC ${GIT_REFSPEC} CACHE STRING "GIT_REFSPEC")
set(GIT_SHA1 ${GIT_SHA1} CACHE STRING "GIT_SHA1")
set(GIT_DESCRIPTION ${GIT_DESCRIPTION} CACHE STRING "GIT_DESCRIPT... | <|file_sep|>original/CMakeLists.txt
include(GetGitRevisionDescription)
get_git_head_revision(GIT_REFSPEC GIT_SHA1)
git_describe(GIT_DESCRIPTION)
set(GIT_REFSPEC ${GIT_REFSPEC} CACHE STRING "GIT_REFSPEC")
set(GIT_SHA1 ${GIT_SHA1} CACHE STRING "GIT_SHA1")
set(GIT_DESCRIPTION ${GIT_DESC... | 032ecf2f32309eff32d5ab2437728fad969a5d09 | CMakeLists.txt | CMakeLists.txt | Text |
<|file_sep|>original/python/misc/solarized-dark-high-contrast.py
<|file_sep|>current/python/misc/solarized-dark-high-contrast.py
<|file_sep|>updated/python/misc/solarized-dark-high-contrast.py | #!/usr/bin/env python
import sys
if sys.version_info < (3, 4):
sys.exit('ERROR: Requires Python 3.4')
from enum import Enum
def main():
Cases = Enum('Cases', 'lower upper')
infile_case = None
if len(sys.argv) < 2:
sys.stderr.write('ERROR: Must provide a file to modify\n')
sys.ex... | <|file_sep|>original/python/misc/solarized-dark-high-contrast.py
<|file_sep|>current/python/misc/solarized-dark-high-contrast.py
<|file_sep|>updated/python/misc/solarized-dark-high-contrast.py
#!/usr/bin/env python
import sys
if sys.version_info < (3, 4):
sys.exit('ERROR: Requires Python 3.4')
from enum import... | 971570b4288c9ac7131a1756e17574acbe6d1b9a | python/misc/solarized-dark-high-contrast.py | python/misc/solarized-dark-high-contrast.py | Python |
<|file_sep|>cbv/static/permalinks.js.diff
original:
updated:
// On DOM Load...
<|file_sep|>cbv/static/permalinks.js.diff
original:
var $section, hash = window.location.hash;
updated:
var hash = window.location.hash;
var headerHeight = $('.navbar').height();
var methods = $('.accordi... | setTimeout(function(){
// Open the desired method
$hdr.find('h3').click();
// Take into account the fixed header and the margin
methodTop = $hdr.offset().top - headerHeight - 8;
//... | <|file_sep|>cbv/static/permalinks.js.diff
original:
updated:
// On DOM Load...
<|file_sep|>cbv/static/permalinks.js.diff
original:
var $section, hash = window.location.hash;
updated:
var hash = window.location.hash;
var headerHeight = $('.navbar').height();
var methods = $('.accordi... | d0e6353434fe7d47462c43a17a48723835e5a5ae | cbv/static/permalinks.js | cbv/static/permalinks.js | JavaScript |
<|file_sep|>original/app/views/projects/explore.erb
<div class="container">
<h1>Here goes the view of all projects</h1>
<div class="row">
<% @projects.each do |project| %>
<div class="col-lg-4 col-md-4">
<div class="panel panel-primary">
<div class="panel-heading">
<img src="<%= ... | <div class="container">
<div id="map-canvas">
</div>
<h1>Here goes the view of all projects</h1>
<div class="row">
<% @projects.each do |project| %>
<div class="col-lg-4 col-md-4">
<div class="panel panel-primary">
<div class="panel-heading">
<img src="<%= project.cover_img_url ... | <|file_sep|>original/app/views/projects/explore.erb
<div class="container">
<h1>Here goes the view of all projects</h1>
<div class="row">
<% @projects.each do |project| %>
<div class="col-lg-4 col-md-4">
<div class="panel panel-primary">
<div class="panel-heading">
<img src="<%= ... | 363ddc25165b90d95bb0ca8157d64cf2b5877e21 | app/views/projects/explore.erb | app/views/projects/explore.erb | HTML+ERB |
<|file_sep|>original/CHANGELOG.md
# Release notes
## Upcoming
## Fix
- `toUpperCase`-helper must execute `String.prototype.toUpperCase` instead of returning it (see [nknapp/bootprint-swagger#5](https://github
.com/nknapp/bootprint-swagger/issues/5))
## v0.3.0 - 2015-06-17
### Add
- New helper `htmlId` which strips ... | # Release notes
## v0.3.1 - 2015-06-18
## Fix
- `toUpperCase`-helper must execute `String.prototype.toUpperCase` instead of returning it (see [nknapp/bootprint-swagger#5](https://github
.com/nknapp/bootprint-swagger/issues/5))
## v0.3.0 - 2015-06-17
### Add
- New helper `htmlId` which strips characters that are ill... | <|file_sep|>original/CHANGELOG.md
# Release notes
## Upcoming
## Fix
- `toUpperCase`-helper must execute `String.prototype.toUpperCase` instead of returning it (see [nknapp/bootprint-swagger#5](https://github
.com/nknapp/bootprint-swagger/issues/5))
## v0.3.0 - 2015-06-17
### Add
- New helper `htmlId` which strips ... | 0bf936460d070421f6d575a991f18200225cf063 | CHANGELOG.md | CHANGELOG.md | Markdown |
<|file_sep|>original/opps/channels/context_processors.py
# -*- coding: utf-8 -*-
from django.utils import timezone
from django.conf import settings
from django.contrib.sites.models import get_current_site
from .models import Channel
def channel_context(request):
""" Channel context processors
"""
site = ... | # -*- coding: utf-8 -*-
from django.utils import timezone
from django.conf import settings
from django.contrib.sites.models import get_current_site
from .models import Channel
def channel_context(request):
""" Channel context processors
"""
site = get_current_site(request)
opps_menu = Channel.objects... | <|file_sep|>original/opps/channels/context_processors.py
# -*- coding: utf-8 -*-
from django.utils import timezone
from django.conf import settings
from django.contrib.sites.models import get_current_site
from .models import Channel
def channel_context(request):
""" Channel context processors
"""
site = ... | ab079e05cb0a242235c1f506cb710279bf233ba0 | opps/channels/context_processors.py | opps/channels/context_processors.py | Python |
<|file_sep|>example/src/main.cpp.diff
original:
updated:
#include <string>
<|file_sep|>example/src/main.cpp.diff
original:
int main()
{
updated:
<|file_sep|>example/src/main.cpp.diff
original:
ofSetupOpenGL(600, 500, OF_FULLSCREEN);
updated:
// Accept arguments in the Pi version
int main(int argc, char* argv[]) {
... | if (strcmp(argv[i], fullscreenFlag.c_str()) == 0) {
fullscreen = true;
break;
}
}
}
if (fullscreen) {
ofSetupOpenGL(600, 500, OF_FULLSCREEN);
} else {
ofSetupOpenGL(800, 450, OF_WINDOW);
}
ofRunApp(new ofApp());
}
#else
int main() {
ofSetupOpenGL(800, 600, OF_WI... | <|file_sep|>example/src/main.cpp.diff
original:
updated:
#include <string>
<|file_sep|>example/src/main.cpp.diff
original:
int main()
{
updated:
<|file_sep|>example/src/main.cpp.diff
original:
ofSetupOpenGL(600, 500, OF_FULLSCREEN);
updated:
// Accept arguments in the Pi version
int main(int argc, char* argv[]) {
... | dde58195761e930cee31a7feea063bae9613187a | example/src/main.cpp | example/src/main.cpp | C++ |
<|file_sep|>original/README.md
# pipboylib
A companion pip boy library for Fallout 4.
See [pipboyrelay](https://github.com/rgbkrk/pipboyrelay) for an example usage.
Totally a work in progress. Checkout the TODO/ROADMAP to see what you could help with.
## Requirements
You'll need Fallout 4 for the PC, PS4. XBONE do... | # pipboylib
A companion pip boy library for Fallout 4.
See [pipboyrelay](https://github.com/rgbkrk/pipboyrelay) for an example usage.
Totally a work in progress. Checkout the TODO/ROADMAP to see what you could help with.
[Read the blog post for more details](https://getcarina.com/blog/fallout-4-service-discovery-an... | <|file_sep|>original/README.md
# pipboylib
A companion pip boy library for Fallout 4.
See [pipboyrelay](https://github.com/rgbkrk/pipboyrelay) for an example usage.
Totally a work in progress. Checkout the TODO/ROADMAP to see what you could help with.
## Requirements
You'll need Fallout 4 for the PC, PS4. XBONE do... | 73dcae43cdfef12ed641ac4f96c0958d8d8e1599 | README.md | README.md | Markdown |
<|file_sep|>original/scripts/copy_moose.sh
<|file_sep|>current/scripts/copy_moose.sh
<|file_sep|>updated/scripts/copy_moose.sh | #!/bin/bash
OLD=$1
NEW=$2
path=$PWD
new_path="${path/src/include}"
cp $OLD".C" $NEW".C"
sed -i "s/$OLD/$NEW/g" $NEW".C"
cd $new_path
cp $OLD".h" $NEW".h"
sed -i "s/$OLD/$NEW/g" $NEW".h"
sed -i "s/${OLD^^}/${NEW^^}/g" $NEW".h" | <|file_sep|>original/scripts/copy_moose.sh
<|file_sep|>current/scripts/copy_moose.sh
<|file_sep|>updated/scripts/copy_moose.sh
#!/bin/bash
OLD=$1
NEW=$2
path=$PWD
new_path="${path/src/include}"
cp $OLD".C" $NEW".C"
sed -i "s/$OLD/$NEW/g" $NEW".C"
cd $new_path
cp $OLD".h" $NEW".h"
sed -i "s/$OLD/$NEW/g" $NEW".h"
s... | d0165a8c95ee6e72ec48fe94a2e629a27513d4b4 | scripts/copy_moose.sh | scripts/copy_moose.sh | Shell |
<|file_sep|>packages/qu/QuickCheck-GenT.yaml.diff
original:
hash: da6e8e3be163322ef3dd3aa95b4ff8dd60a659069c0222b19cc62a56dd6fbf53
updated:
hash: d11b7b4a3f7648895eff66376a00f763821ee955ce42a37fb918213a8eae88d6
<|file_sep|>packages/qu/QuickCheck-GenT.yaml.diff
original:
QuickCheck: <2.7
updated:
QuickCheck: ! '>=2.... | test-bench-deps: {}
maintainer: Nikita Volkov <nikita.y.volkov@mail.ru>
synopsis: A GenT monad transformer for QuickCheck library.
changelog: ''
basic-deps:
base: ! '>=4.5 && <5'
mtl: -any
random: -any
QuickCheck: ! '>=2.7'
all-versions:
- '0.1.0'
- '0.1.1'
- '0.1.2'
- '0.1.3'
- '0.1.4'
- '0.2.0'
author: Nikita... | <|file_sep|>packages/qu/QuickCheck-GenT.yaml.diff
original:
hash: da6e8e3be163322ef3dd3aa95b4ff8dd60a659069c0222b19cc62a56dd6fbf53
updated:
hash: d11b7b4a3f7648895eff66376a00f763821ee955ce42a37fb918213a8eae88d6
<|file_sep|>packages/qu/QuickCheck-GenT.yaml.diff
original:
QuickCheck: <2.7
updated:
QuickCheck: ! '>=2.... | 36eb880bdbb7b8d7ece7c99f9c045536a31b17b2 | packages/qu/QuickCheck-GenT.yaml | packages/qu/QuickCheck-GenT.yaml | YAML |
<|file_sep|>original/images/opensourcedesign-logo-margin.svg
<|file_sep|>current/images/opensourcedesign-logo-margin.svg
<|file_sep|>updated/images/opensourcedesign-logo-margin.svg | <svg width="800" height="800" enable-background="new -497 263.9 273 264" version="1.1" viewBox="-497 263.9 800 800" xmlns="http://www.w3.org/2000/svg"><path d="m159 407.9-512 2e-5v512h164.48l0.18754-0.3751s51.95-140.1 58.889-150.41c0 0-59.827-13.503-58.139-111.21 1.6879-97.711 76.519-147.41 76.519-147.41s-13.128 75.018... | <|file_sep|>original/images/opensourcedesign-logo-margin.svg
<|file_sep|>current/images/opensourcedesign-logo-margin.svg
<|file_sep|>updated/images/opensourcedesign-logo-margin.svg
<svg width="800" height="800" enable-background="new -497 263.9 273 264" version="1.1" viewBox="-497 263.9 800 800" xmlns="http://www.w3.... | 330a657ab47e0ba5a7981a5773683bdc2ab35477 | images/opensourcedesign-logo-margin.svg | images/opensourcedesign-logo-margin.svg | SVG |
<|file_sep|>original/etc/travis/suites/application/install.sh
#!/usr/bin/env bash
source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/../../../bash/common.lib.sh"
source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/../../../bash/application.sh"
print_header "Installing dependencies" "Sylius"
run_command "if [ ! -... | #!/usr/bin/env bash
source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/../../../bash/common.lib.sh"
source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/../../../bash/application.sh"
print_header "Installing dependencies" "Sylius"
run_command "if [ ! -z \"${SYMFONY_VERSION}\" ]; then bin/require-symfony-version c... | <|file_sep|>original/etc/travis/suites/application/install.sh
#!/usr/bin/env bash
source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/../../../bash/common.lib.sh"
source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/../../../bash/application.sh"
print_header "Installing dependencies" "Sylius"
run_command "if [ ! -... | 09944b606d860251738a7a41dd0043d2518a9368 | etc/travis/suites/application/install.sh | etc/travis/suites/application/install.sh | Shell |
<|file_sep|>original/src/Oro/Bundle/CalendarBundle/Migrations/Data/ORM/LoadDashboardData.php
*/
public function getDependencies()
{
return ['Oro\Bundle\DashboardBundle\Migrations\Data\ORM\LoadDashboardData'];
}
/**
* {@inheritdoc}
*/
public function load(ObjectManager $manage... | */
public function getDependencies()
{
return ['Oro\Bundle\DashboardBundle\Migrations\Data\ORM\LoadDashboardData'];
}
/**
* {@inheritdoc}
*/
public function load(ObjectManager $manager)
{
$mainDashboard = $this->findAdminDashboard($manager, 'main');
if ($... | <|file_sep|>original/src/Oro/Bundle/CalendarBundle/Migrations/Data/ORM/LoadDashboardData.php
*/
public function getDependencies()
{
return ['Oro\Bundle\DashboardBundle\Migrations\Data\ORM\LoadDashboardData'];
}
/**
* {@inheritdoc}
*/
public function load(ObjectManager $manage... | caaa2f1f963bbf22c2f3a1f72564a6ecaeb7f9c6 | src/Oro/Bundle/CalendarBundle/Migrations/Data/ORM/LoadDashboardData.php | src/Oro/Bundle/CalendarBundle/Migrations/Data/ORM/LoadDashboardData.php | PHP |
<|file_sep|>original/package.json
"dependencies": {
"capitalize": "^2.0.0",
"chance": "^1.0.3",
"handlebars": "^4.0.3",
"ltx": "^2.3.0",
"moment": "^2.10.6",
"num2fraction": "^1.2.2",
"ramda": "^0.27.0",
"require-dir": "^1.0.0",
"tinycolor2": "^1.3.0"
},
"devDependencies": {
... | "dependencies": {
"capitalize": "^2.0.0",
"chance": "^1.0.3",
"handlebars": "^4.0.3",
"ltx": "^2.3.0",
"moment": "^2.10.6",
"num2fraction": "^1.2.2",
"ramda": "^0.27.0",
"require-dir": "^1.0.0",
"tinycolor2": "^1.3.0"
},
"devDependencies": {
"tap-spec": "5.0.0",
"tape":... | <|file_sep|>original/package.json
"dependencies": {
"capitalize": "^2.0.0",
"chance": "^1.0.3",
"handlebars": "^4.0.3",
"ltx": "^2.3.0",
"moment": "^2.10.6",
"num2fraction": "^1.2.2",
"ramda": "^0.27.0",
"require-dir": "^1.0.0",
"tinycolor2": "^1.3.0"
},
"devDependencies": {
... | 3d13b85092fc9d0cc5b0c150cb7f2aadddd0edc4 | package.json | package.json | JSON |
<|file_sep|>original/middleware/index.js
var fs = require('fs'),
path = require('path')
files = fs.readdirSync(__dirname);
// load in each file within this directory and attach it to exports
files.forEach(function(file) {
var name = path.basename(file, '.js');
if (name === 'index') return;
module.exports[nam... | var fs = require('fs'),
path = require('path')
files = fs.readdirSync(__dirname);
// load in each file within this directory and attach it to exports
files.forEach(function(file) {
var name = path.basename(file, '.js'),
regex = new RegExp(/^_/);
if (name === 'index' || name.match(regex) !== null) {
... | <|file_sep|>original/middleware/index.js
var fs = require('fs'),
path = require('path')
files = fs.readdirSync(__dirname);
// load in each file within this directory and attach it to exports
files.forEach(function(file) {
var name = path.basename(file, '.js');
if (name === 'index') return;
module.exports[nam... | 6a654de28eee0b37505e7623ddffcd3d1164a07d | middleware/index.js | middleware/index.js | JavaScript |
<|file_sep|>original/.github/workflows/first-interaction.yml
<|file_sep|>current/.github/workflows/first-interaction.yml
<|file_sep|>updated/.github/workflows/first-interaction.yml | name: First interaction
on:
- pull_request_target
- issues
jobs:
build:
runs-on: ubuntu-latest
permissions:
pull-requests: write
issues: write
steps:
- uses: actions/first-interaction@v1
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
issue-message: '# Thank yo... | <|file_sep|>original/.github/workflows/first-interaction.yml
<|file_sep|>current/.github/workflows/first-interaction.yml
<|file_sep|>updated/.github/workflows/first-interaction.yml
name: First interaction
on:
- pull_request_target
- issues
jobs:
build:
runs-on: ubuntu-latest
permissions:
pull-re... | 440113266719060bc290f4f3555a2d6e8b656777 | .github/workflows/first-interaction.yml | .github/workflows/first-interaction.yml | YAML |
<|file_sep|>original/.travis.yml
language: python
python:
- 2.7
- 3.4
- 3.5
- 3.6
install:
- pip install -r requirements.txt
script: python test_tablib.py
<|file_sep|>current/.travis.yml
language: python
python:
- 2.7
- 3.4
- 3.5
- 3.6
install:
- pip install -r requirements.txt
script: python test_t... | language: python
cache: pip
python:
- 2.7
- 3.4
- 3.5
- 3.6
install:
- pip install -r requirements.txt
script: python test_tablib.py | <|file_sep|>original/.travis.yml
language: python
python:
- 2.7
- 3.4
- 3.5
- 3.6
install:
- pip install -r requirements.txt
script: python test_tablib.py
<|file_sep|>current/.travis.yml
language: python
python:
- 2.7
- 3.4
- 3.5
- 3.6
install:
- pip install -r requirements.txt
script: python test_t... | c650b67e064573e49c4a2529c32309e8fc974fa3 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/packaging/linux/root/usr/share/buildkite-agent/bootstrap.sh
#!/bin/sh
# This is a shim to make the upgrade process from v2 -> v3 smoother as
# v2 configurations will still have bootstrap-path=/usr/share/buildkite-agent/bootstrap.sh
# which will cause all sorts of wierd behaviour
echo "+++ :warnin... | #!/bin/sh
# This is a shim to make the upgrade process from v2 -> v3 smoother as
# v2 configurations will still have bootstrap-path=/usr/share/buildkite-agent/bootstrap.sh
# which will cause all sorts of wierd behaviour
echo "+++ :warning: Your buildkite-agent.cfg file contains a deprecated bootstrap.sh"
echo "As par... | <|file_sep|>original/packaging/linux/root/usr/share/buildkite-agent/bootstrap.sh
#!/bin/sh
# This is a shim to make the upgrade process from v2 -> v3 smoother as
# v2 configurations will still have bootstrap-path=/usr/share/buildkite-agent/bootstrap.sh
# which will cause all sorts of wierd behaviour
echo "+++ :warnin... | fbfb0b4f42333dc1fdb15ca3d7acec649259f98e | packaging/linux/root/usr/share/buildkite-agent/bootstrap.sh | packaging/linux/root/usr/share/buildkite-agent/bootstrap.sh | Shell |
<|file_sep|>original/app/controllers/api/v0/base_controller.rb
# frozen_string_literal: true
module Api
module V0
class BaseController < ApplicationController
include Api::OpenidConnect::ProtectedResourceEndpoint
protected
def current_user
current_token ? current_token.authorization.u... | # frozen_string_literal: true
module Api
module V0
class BaseController < ApplicationController
include Api::OpenidConnect::ProtectedResourceEndpoint
protected
rescue_from Exception do |e|
logger.error e.message
render json: {error: e.message}, status: 500
end
res... | <|file_sep|>original/app/controllers/api/v0/base_controller.rb
# frozen_string_literal: true
module Api
module V0
class BaseController < ApplicationController
include Api::OpenidConnect::ProtectedResourceEndpoint
protected
def current_user
current_token ? current_token.authorization.u... | 5a0759a3d91a0b1226b539f9962e25e76ad20128 | app/controllers/api/v0/base_controller.rb | app/controllers/api/v0/base_controller.rb | Ruby |
<|file_sep|>original/nehm.gemspec
spec.authors = ['Albert Nigmatzianov']
spec.email = ['albertnigma@gmail.com']
spec.summary = 'Convenient way to download tracks from SoundCloud via terminal'
spec.description = 'nehm is a console tool, which downloads, sets IDv3 tags and adds to your iTunes library your ... | spec.version = Nehm::VERSION
spec.authors = ['Albert Nigmatzianov']
spec.email = ['albertnigma@gmail.com']
spec.summary = 'Convenient way to download tracks from SoundCloud via terminal'
spec.description = 'nehm is a console tool, which downloads, sets IDv3 tags and adds to your iTunes library your Sou... | <|file_sep|>original/nehm.gemspec
spec.authors = ['Albert Nigmatzianov']
spec.email = ['albertnigma@gmail.com']
spec.summary = 'Convenient way to download tracks from SoundCloud via terminal'
spec.description = 'nehm is a console tool, which downloads, sets IDv3 tags and adds to your iTunes library your ... | c52609acd02a2441f1d306654617ec10a684b099 | nehm.gemspec | nehm.gemspec | Ruby |
<|file_sep|>original/kmail/kmversion.h
// KMail Version Information
//
#ifndef kmversion_h
#define kmversion_h
#define KMAIL_VERSION "1.8.91"
#endif /*kmversion_h*/
<|file_sep|>current/kmail/kmversion.h
// KMail Version Information
//
#ifndef kmversion_h
#define kmversion_h
#define KMAIL_VERSION "1.8.91"
#endif /*k... | // KMail Version Information
//
#ifndef kmversion_h
#define kmversion_h
#define KMAIL_VERSION "1.9.50"
#endif /*kmversion_h*/ | <|file_sep|>original/kmail/kmversion.h
// KMail Version Information
//
#ifndef kmversion_h
#define kmversion_h
#define KMAIL_VERSION "1.8.91"
#endif /*kmversion_h*/
<|file_sep|>current/kmail/kmversion.h
// KMail Version Information
//
#ifndef kmversion_h
#define kmversion_h
#define KMAIL_VERSION "1.8.91"
#endif /*k... | b7ce10aacc06b17d1e47c6da0d00a570e8517566 | kmail/kmversion.h | kmail/kmversion.h | C |
<|file_sep|>.travis.yml.diff
original:
updated:
dist: trusty
<|file_sep|>.travis.yml.diff
original:
# Make sure we compile using Java JDK7, because the RESOLVE WebIDE does not support JDK8.
updated:
# Make sure we run most of the tests using JDK7, because the RESOLVE WebIDE-v4 does not
# support JDK8. However, some of... | install: true
# The following settings allow us to run concurrent tests using the scripts in the "bin" folder.
# It also caches things related to Maven. If caching errors occur, please clear the cache on the
# Travis CI website.
env:
- SCRIPT_JDK7=runFormatter
- SCRIPT_JDK7=runLicensePlugin
- SCRIPT_JDK7=runComp... | <|file_sep|>.travis.yml.diff
original:
updated:
dist: trusty
<|file_sep|>.travis.yml.diff
original:
# Make sure we compile using Java JDK7, because the RESOLVE WebIDE does not support JDK8.
updated:
# Make sure we run most of the tests using JDK7, because the RESOLVE WebIDE-v4 does not
# support JDK8. However, some of... | 67417f5487da6ad568ea25a6809b1b033d75f1ec | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/setup.py
README = f.read()
setup(
name='Rhino',
version=version,
author='Stanis Trendelenburg',
author_email='stanis.trendelenburg@gmail.com',
packages=find_packages(exclude=['test*', 'example*']),
url='https://github.com/trendels/rhino',
license='MIT',
descript... | with open('README.rst') as f:
README = f.read()
setup(
name='Rhino',
version=version,
author='Stanis Trendelenburg',
author_email='stanis.trendelenburg@gmail.com',
packages=find_packages(exclude=['test*', 'example*']),
url='https://github.com/trendels/rhino',
license='MIT',
descript... | <|file_sep|>original/setup.py
README = f.read()
setup(
name='Rhino',
version=version,
author='Stanis Trendelenburg',
author_email='stanis.trendelenburg@gmail.com',
packages=find_packages(exclude=['test*', 'example*']),
url='https://github.com/trendels/rhino',
license='MIT',
descript... | 2f155a48bfdae8a603148f4e593d7e49fccc7ddc | setup.py | setup.py | Python |
<|file_sep|>original/k9mail/src/main/java/com/fsck/k9/message/html/HtmlSanitizer.java
import org.jsoup.safety.Whitelist;
public class HtmlSanitizer {
private final HeadCleaner headCleaner;
private final Cleaner cleaner;
HtmlSanitizer() {
Whitelist whitelist = Whitelist.relaxed()
.... | import org.jsoup.safety.Whitelist;
public class HtmlSanitizer {
private final HeadCleaner headCleaner;
private final Cleaner cleaner;
HtmlSanitizer() {
Whitelist whitelist = Whitelist.relaxed()
.addTags("font", "hr", "ins", "del")
.addAttributes("font", "color", "f... | <|file_sep|>original/k9mail/src/main/java/com/fsck/k9/message/html/HtmlSanitizer.java
import org.jsoup.safety.Whitelist;
public class HtmlSanitizer {
private final HeadCleaner headCleaner;
private final Cleaner cleaner;
HtmlSanitizer() {
Whitelist whitelist = Whitelist.relaxed()
.... | 9b8617d33fb95a33bab0e9468e796b12a9982158 | k9mail/src/main/java/com/fsck/k9/message/html/HtmlSanitizer.java | k9mail/src/main/java/com/fsck/k9/message/html/HtmlSanitizer.java | Java |
<|file_sep|>original/.travis.yml
language: python
python:
- 3.6
install:
- pip install -r requirements.txt
- pip install coveralls
script:
- coverage run --source='.' -m py.test
- coverage report -m
after_success:
- coveralls
<|file_sep|>current/.travis.yml
language: python
python:
- 3.6
install:
- pip ... | language: python
cache: pip
python:
- 3.6
install:
- pip install -r requirements.txt
- pip install coveralls
script:
- coverage run --source='.' -m py.test
- coverage report -m
after_success:
- coveralls | <|file_sep|>original/.travis.yml
language: python
python:
- 3.6
install:
- pip install -r requirements.txt
- pip install coveralls
script:
- coverage run --source='.' -m py.test
- coverage report -m
after_success:
- coveralls
<|file_sep|>current/.travis.yml
language: python
python:
- 3.6
install:
- pip ... | 35d215d14bb0a88614e0b8ef9c2894430dd480c4 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/CONTRIBUTING.md
# Contributing
To contribute:
1. Fork the repository
2. Create a feature branch and commit your code into that feature branch. Include the standard license header (see LICENSE-HEADER) at the top of new files.
3. Pull request the feature branch against the main repository early. Th... | # Contributing
To contribute:
1. Fork the repository
2. Create a feature branch and commit your code into that feature branch. Include the standard license header (see LICENSE-HEADER) at the top of new files.
3. Pull request the feature branch against the main repository early. This allows conversation around the PR.... | <|file_sep|>original/CONTRIBUTING.md
# Contributing
To contribute:
1. Fork the repository
2. Create a feature branch and commit your code into that feature branch. Include the standard license header (see LICENSE-HEADER) at the top of new files.
3. Pull request the feature branch against the main repository early. Th... | c3a489ab2bfdcf7d2acf1ded74bf900d3590a944 | CONTRIBUTING.md | CONTRIBUTING.md | Markdown |
<|file_sep|>original/javascript/package.json
"author": "Aslak Hellesøy",
"license": "MIT",
"bugs": {
"url": "https://github.com/cucumber/cucumber/issues"
},
"homepage": "https://github.com/cucumber/gherkin-javascript",
"devDependencies": {
"@types/mocha": "9.0.0",
"@types/node": "14.17.12",
... | "author": "Aslak Hellesøy",
"license": "MIT",
"bugs": {
"url": "https://github.com/cucumber/cucumber/issues"
},
"homepage": "https://github.com/cucumber/gherkin-javascript",
"devDependencies": {
"@types/mocha": "9.0.0",
"@types/node": "14.17.12",
"core-js": "3.16.3",
"mocha": "9.1.1",
... | <|file_sep|>original/javascript/package.json
"author": "Aslak Hellesøy",
"license": "MIT",
"bugs": {
"url": "https://github.com/cucumber/cucumber/issues"
},
"homepage": "https://github.com/cucumber/gherkin-javascript",
"devDependencies": {
"@types/mocha": "9.0.0",
"@types/node": "14.17.12",
... | 7a54d0fc4d3bbfe5d182690309080a8238387f13 | javascript/package.json | javascript/package.json | JSON |
<|file_sep|>lib/makeprintable/client/endpoints.rb.diff
original:
JSON.parse RestClient.get(uri, {})
updated:
Crack::XML.parse RestClient::Request.execute(method: :get, url: uri, headers: {key: self.api_key})
<|file_sep|>original/lib/makeprintable/client/endpoints.rb
def base_uri(path='/')
"https:/... | def base_uri(path='/')
"https://api.makeprintable.com/v1#{path}"
end
def configure_payload(path, opts={})
base_uri(path) + opts.to_params
end
def get_request(uri)
Crack::XML.parse RestClient::Request.execute(method: :get, url: uri, headers: {key: self.api_key})
end
def p... | <|file_sep|>lib/makeprintable/client/endpoints.rb.diff
original:
JSON.parse RestClient.get(uri, {})
updated:
Crack::XML.parse RestClient::Request.execute(method: :get, url: uri, headers: {key: self.api_key})
<|file_sep|>original/lib/makeprintable/client/endpoints.rb
def base_uri(path='/')
"https:/... | 51e3ea0a153f19baddc7620a8a3c2c4f2896c783 | lib/makeprintable/client/endpoints.rb | lib/makeprintable/client/endpoints.rb | Ruby |
<|file_sep|>app/views/contact_groups/_contact_group.html.erb.diff
original:
<li class="department">
<h2 id="<%= contact_group.slug %>">
<%= link_to contact_group, "##{contact_group.slug}", 'data-expand' => "#{contact_group.slug}-elements" %>
</h2>
<p>
<%= contact_group.description %>
</p>
<%= link_to ... | </p>
<%= link_to 'view all', "##{contact_group.slug}", class: "view-all", 'data-expand' => "#{contact_group.slug}-elements" %>
<div class="organisations-box" id="<%= contact_group.slug %>-elements">
<div class="organisations-box-inner">
<ul>
<% contact_group.offices.each do |office|... | <|file_sep|>app/views/contact_groups/_contact_group.html.erb.diff
original:
<li class="department">
<h2 id="<%= contact_group.slug %>">
<%= link_to contact_group, "##{contact_group.slug}", 'data-expand' => "#{contact_group.slug}-elements" %>
</h2>
<p>
<%= contact_group.description %>
</p>
<%= link_to ... | dd3cbe08e17be1e904d0925f3c4dd4b239eb3567 | app/views/contact_groups/_contact_group.html.erb | app/views/contact_groups/_contact_group.html.erb | HTML+ERB |
<|file_sep|>original/package.json
{
"name": "granim",
"version": "1.0.1",
"description": "Create fluid and interactive gradients animations with this small js library.",
"main": "granim.js",
"scripts": {
"start": "cd docs/ && node server.js"
},
"httpPort": 8080,
"keywords": [
"gradient",
"an... | {
"name": "granim",
"version": "1.0.1",
"description": "Create fluid and interactive gradients animations with this small js library.",
"main": "granim.js",
"scripts": {
"start": "cd docs/ && node server.js"
},
"bugs": {
"url": "https://github.com/sarcadass/granim.js/issues"
},
"repository": {... | <|file_sep|>original/package.json
{
"name": "granim",
"version": "1.0.1",
"description": "Create fluid and interactive gradients animations with this small js library.",
"main": "granim.js",
"scripts": {
"start": "cd docs/ && node server.js"
},
"httpPort": 8080,
"keywords": [
"gradient",
"an... | ca2e2522c226d9b30a9bcaa107f2258e71d69c07 | package.json | package.json | JSON |
<|file_sep|>original/spec/support/html_helper.rb
module OpenFoodNetwork
module HtmlHelper
def save_and_open(html)
require "launchy"
file = Tempfile.new('html')
file.write html
Launchy.open(file.path)
end
end
end
<|file_sep|>current/spec/support/html_helper.rb
module OpenFoodNetwork
... | module OpenFoodNetwork
module HtmlHelper
def html_save_and_open(html)
require "launchy"
file = Tempfile.new('html')
file.write html
Launchy.open(file.path)
end
end
end | <|file_sep|>original/spec/support/html_helper.rb
module OpenFoodNetwork
module HtmlHelper
def save_and_open(html)
require "launchy"
file = Tempfile.new('html')
file.write html
Launchy.open(file.path)
end
end
end
<|file_sep|>current/spec/support/html_helper.rb
module OpenFoodNetwork
... | 3e7a12cca169ab3ba2015a55d26e829f3d812698 | spec/support/html_helper.rb | spec/support/html_helper.rb | Ruby |
<|file_sep|>original/plugins/ant/ant.plugin.zsh
_ant_does_target_list_need_generating () {
[ ! -f .ant_targets ] && return 0;
[ build.xml -nt .ant_targets ] && return 0;
return 1;
}
_ant () {
if [ -f build.xml ]; then
if _ant_does_target_list_need_generating; then
ant -p | awk -F " " 'NR > 5 { print l... | _ant_does_target_list_need_generating () {
[ ! -f .ant_targets ] && return 0;
[ build.xml -nt .ant_targets ] && return 0;
return 1;
}
_ant () {
if [ -f build.xml ]; then
if _ant_does_target_list_need_generating; then
ant -p | awk -F " " 'NR > 5 { print lastTarget }{lastTarget = $1}' > .ant_targets
... | <|file_sep|>original/plugins/ant/ant.plugin.zsh
_ant_does_target_list_need_generating () {
[ ! -f .ant_targets ] && return 0;
[ build.xml -nt .ant_targets ] && return 0;
return 1;
}
_ant () {
if [ -f build.xml ]; then
if _ant_does_target_list_need_generating; then
ant -p | awk -F " " 'NR > 5 { print l... | 6b23b5254fdd833b8f8815f72c0bb99a94eeb74c | plugins/ant/ant.plugin.zsh | plugins/ant/ant.plugin.zsh | Shell |
<|file_sep|>original/kurssit/2017-2018/rub10.5/kotitehtavat/materiaali/index.md
---
layout: "content-main"
title: Materiaali
theme: swedish
course: rub10.5
---
<|file_sep|>current/kurssit/2017-2018/rub10.5/kotitehtavat/materiaali/index.md
---
layout: "content-main"
title: Materiaali
theme: swedish
course: rub10.5
---
<... | ---
layout: "content-main"
title: Materiaali
theme: swedish
course: rub10.5
---
### Kuunteluharjoitus pienryhmissä
1. Jakaudu neljän hengen ryhmiin valmiiksi lähelle toisia. Tehtävän alku tehdään itsenäisesti, loppu ryhmissä.
2. Mene omalla koneellaan osoitteeseen https://castbox.fm. Valitse "Listen now". Halutess... | <|file_sep|>original/kurssit/2017-2018/rub10.5/kotitehtavat/materiaali/index.md
---
layout: "content-main"
title: Materiaali
theme: swedish
course: rub10.5
---
<|file_sep|>current/kurssit/2017-2018/rub10.5/kotitehtavat/materiaali/index.md
---
layout: "content-main"
title: Materiaali
theme: swedish
course: rub10.5
---
<... | 91fecb36065ac4ec5b48fe89297a2cfdb5f0f0a7 | kurssit/2017-2018/rub10.5/kotitehtavat/materiaali/index.md | kurssit/2017-2018/rub10.5/kotitehtavat/materiaali/index.md | Markdown |
<|file_sep|>web/core/api/resources.py.diff
original:
updated:
import tastypie.fields
<|file_sep|>web/core/api/resources.py.diff
original:
import django.db.models
updated:
import django.contrib.auth.models
<|file_sep|>web/core/api/resources.py.diff
original:
updated:
always_return_data = True
<|file_sep|>web/c... | always_return_data = True
authentication = tastypie.authentication.MultiAuthentication(
tastypie.authentication.SessionAuthentication(),
tastypie.authentication.ApiKeyAuthentication()
)
authorization = web.core.api.authorization.UserObjectsOnlyAuthorization()
... | <|file_sep|>web/core/api/resources.py.diff
original:
updated:
import tastypie.fields
<|file_sep|>web/core/api/resources.py.diff
original:
import django.db.models
updated:
import django.contrib.auth.models
<|file_sep|>web/core/api/resources.py.diff
original:
updated:
always_return_data = True
<|file_sep|>web/c... | 1bd287d3f6f7545e47364832a824e7380c6609e8 | web/core/api/resources.py | web/core/api/resources.py | Python |
<|file_sep|>original/src/main/plugins/org.dita.xhtml/xsl/map2xhtml-cover.xsl
<!--
This file is part of the DITA Open Toolkit project.
Copyright 2014 Jarno Elovirta
See the accompanying LICENSE file for applicable license.
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="2.... | <!--
This file is part of the DITA Open Toolkit project.
Copyright 2014 Jarno Elovirta
See the accompanying LICENSE file for applicable license.
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="2.0">
<xsl:import href="plugin:org.dita.xhtml:xsl/dita2xhtml.xsl"/>
<xsl:i... | <|file_sep|>original/src/main/plugins/org.dita.xhtml/xsl/map2xhtml-cover.xsl
<!--
This file is part of the DITA Open Toolkit project.
Copyright 2014 Jarno Elovirta
See the accompanying LICENSE file for applicable license.
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="2.... | 5e9fd0a6cecec1c220db69ca87c6fee987f1ee47 | src/main/plugins/org.dita.xhtml/xsl/map2xhtml-cover.xsl | src/main/plugins/org.dita.xhtml/xsl/map2xhtml-cover.xsl | XSLT |
<|file_sep|>.travis.yml.diff
original:
updated:
- '8'
- '6'
<|file_sep|>original/.travis.yml
sudo: false
language: node_js
node_js:
- '5'
- '4.2'
- '4.1'
- '4.0'
script:
- npm run test
<|file_sep|>current/.travis.yml
sudo: false
language: node_js
node_js:
- '8'
- '6'
- '5'
- '4.2'
- '4.1'
- '4.... | sudo: false
language: node_js
node_js:
- '8'
- '6'
- '5'
- '4.2'
- '4.1'
- '4.0'
script:
- npm run test | <|file_sep|>.travis.yml.diff
original:
updated:
- '8'
- '6'
<|file_sep|>original/.travis.yml
sudo: false
language: node_js
node_js:
- '5'
- '4.2'
- '4.1'
- '4.0'
script:
- npm run test
<|file_sep|>current/.travis.yml
sudo: false
language: node_js
node_js:
- '8'
- '6'
- '5'
- '4.2'
- '4.1'
- '4.... | 082d3d2c242a20cd06b09a07bf518bb200d9b3f5 | .travis.yml | .travis.yml | YAML |
<|file_sep|>app/controllers/projects/board_lists_controller.rb.diff
original:
updated:
respond_to :json
<|file_sep|>app/controllers/projects/board_lists_controller.rb.diff
original:
respond_to do |format|
if list.valid?
format.json { render json: list.as_json(only: [:id, :list_type, :position], me... | if service.execute
head :ok
else
head :unprocessable_entity
end
end
private
def list_params
params.require(:list).permit(:label_id)
end
def move_params
params.require(:list).permit(:position).merge(id: params[:id])
end
def record_not_found(exception)
render json: { ... | <|file_sep|>app/controllers/projects/board_lists_controller.rb.diff
original:
updated:
respond_to :json
<|file_sep|>app/controllers/projects/board_lists_controller.rb.diff
original:
respond_to do |format|
if list.valid?
format.json { render json: list.as_json(only: [:id, :list_type, :position], me... | 7d6a02aaae8572686aadb7f3cd01b1c0e39cfefd | app/controllers/projects/board_lists_controller.rb | app/controllers/projects/board_lists_controller.rb | Ruby |
<|file_sep|>original/app/models/spree/gateway/stripe_ach_gateway.rb
<|file_sep|>current/app/models/spree/gateway/stripe_ach_gateway.rb
<|file_sep|>updated/app/models/spree/gateway/stripe_ach_gateway.rb | module Spree
class Gateway::StripeAchGateway < Gateway::StripeGateway
def method_type
'stripe_ach'
end
def create_profile(payment)
return unless payment.source&.gateway_customer_profile_id.nil?
options = {
email: payment.order.user&.email || payment.order.email,
login:... | <|file_sep|>original/app/models/spree/gateway/stripe_ach_gateway.rb
<|file_sep|>current/app/models/spree/gateway/stripe_ach_gateway.rb
<|file_sep|>updated/app/models/spree/gateway/stripe_ach_gateway.rb
module Spree
class Gateway::StripeAchGateway < Gateway::StripeGateway
def method_type
'stripe_ach'
... | 336b68b8245ca307f412e1a088c1e6e27e676bd8 | app/models/spree/gateway/stripe_ach_gateway.rb | app/models/spree/gateway/stripe_ach_gateway.rb | Ruby |
<|file_sep|>.travis.yml.diff
original:
osx_image: xcode8.2
updated:
osx_image: xcode8.3
- os: osx
language: generic
# Xcode version implicitly defines the Swift version to be used on macOS.
osx_image: xcode9
<|file_sep|>original/.travis.yml
language: generic
sudo: required... | language: generic
sudo: required
services:
- docker
env:
# The Docker image to use on Linux in Docker notation,
# e.g. "swift" or "myusername/myswift" or "swift:3.0.2".
# The image must have Swift installed so that the `swift`
# command is in the `$PATH`.
... | <|file_sep|>.travis.yml.diff
original:
osx_image: xcode8.2
updated:
osx_image: xcode8.3
- os: osx
language: generic
# Xcode version implicitly defines the Swift version to be used on macOS.
osx_image: xcode9
<|file_sep|>original/.travis.yml
language: generic
sudo: required... | 6b5f8cd35c70359c15261bf0bb6d27c6f477e1fe | .travis.yml | .travis.yml | YAML |
<|file_sep|>core/test/datastore/helpers.spec.ts.diff
original:
import { isProjectDocument } from "../../src/datastore/helpers";
updated:
import { isProjectDocument } from '../../src/datastore/helpers';
<|file_sep|>original/core/test/datastore/helpers.spec.ts
import { isProjectDocument } from "../../src/datastore/helper... | import { isProjectDocument } from '../../src/datastore/helpers';
describe('helpers', () => {
it('isProjectDocument', () => {
const result = isProjectDocument({ resource: { id: 'project' }} as any);
expect(result).toBeTruthy();
});
}); | <|file_sep|>core/test/datastore/helpers.spec.ts.diff
original:
import { isProjectDocument } from "../../src/datastore/helpers";
updated:
import { isProjectDocument } from '../../src/datastore/helpers';
<|file_sep|>original/core/test/datastore/helpers.spec.ts
import { isProjectDocument } from "../../src/datastore/helper... | eb41396452c5f81cf08e99b18a1a59109fc2cdc9 | core/test/datastore/helpers.spec.ts | core/test/datastore/helpers.spec.ts | TypeScript |
<|file_sep|>original/css/_ui.less
}
header {
.box-sizing;
left:0;
padding:0;
text-align:center;
width:100%;
height:50px;
z-index:2;
}
.panel {
display: none;
height:100%;
left:0;
position: absolute;
top:0;
width:100%;
.box-sizing;
&.visible {
<|file_sep|>current/css/_ui.less
}
... | }
header {
.box-sizing;
left:0;
padding:0;
text-align:center;
width:100%;
height:50px;
z-index:2;
-webkit-user-select: none;
-webkit-touch-callout: none;
}
.panel {
display: none;
height:100%;
left:0;
position: absolute;
top:0;
width:100%; | <|file_sep|>original/css/_ui.less
}
header {
.box-sizing;
left:0;
padding:0;
text-align:center;
width:100%;
height:50px;
z-index:2;
}
.panel {
display: none;
height:100%;
left:0;
position: absolute;
top:0;
width:100%;
.box-sizing;
&.visible {
<|file_sep|>current/css/_ui.less
}
... | d4e129be50fe0ef8bc895dc806c9216cafb9d804 | css/_ui.less | css/_ui.less | Less |
<|file_sep|>original/.travis/run-tests.sh
#!/bin/bash
travisdir=$(dirname $(readlink /proc/$$/fd/255))
testdir="$travisdir/../tests"
testedcomponents=(`cat "$travisdir/tested-components"`)
result=0
for tested in "${testedcomponents[@]}"
do
echo "$tested:"
phpunit -c $testdir/phpunit.xml --stderr $t... | #!/bin/bash
travisdir=$(dirname $(readlink /proc/$$/fd/255))
testdir="$travisdir/../tests"
testedcomponents=(`cat "$travisdir/tested-components"`)
result=0
for tested in "${testedcomponents[@]}"
do
echo "$tested:"
phpunit -c $testdir/phpunit.xml $testdir/$tested
result=$(($result || $?))
do... | <|file_sep|>original/.travis/run-tests.sh
#!/bin/bash
travisdir=$(dirname $(readlink /proc/$$/fd/255))
testdir="$travisdir/../tests"
testedcomponents=(`cat "$travisdir/tested-components"`)
result=0
for tested in "${testedcomponents[@]}"
do
echo "$tested:"
phpunit -c $testdir/phpunit.xml --stderr $t... | ce70d9ff032f0f41e9d832e9bd29273309ad6dc0 | .travis/run-tests.sh | .travis/run-tests.sh | Shell |
<|file_sep|>original/recipes/triqs_tprf/meta.yaml
name: triqs_tprf
version: {{ version }}
source:
url: https://github.com/TRIQS/tprf/releases/download/{{ version }}/tprf-{{ version }}.tar.gz
sha256: 87389c71bdf690e05b72a5cd7dd2f4f7d8a8ac69b15f1481de1960e7740efc9f
build:
number: 0
skip: True # [win or py>... | name: triqs_tprf
version: {{ version }}
source:
url: https://github.com/TRIQS/tprf/releases/download/{{ version }}/tprf-{{ version }}.tar.gz
sha256: 87389c71bdf690e05b72a5cd7dd2f4f7d8a8ac69b15f1481de1960e7740efc9f
build:
number: 0
skip: True # [win or py>30]
requirements:
build:
- cmake
- make... | <|file_sep|>original/recipes/triqs_tprf/meta.yaml
name: triqs_tprf
version: {{ version }}
source:
url: https://github.com/TRIQS/tprf/releases/download/{{ version }}/tprf-{{ version }}.tar.gz
sha256: 87389c71bdf690e05b72a5cd7dd2f4f7d8a8ac69b15f1481de1960e7740efc9f
build:
number: 0
skip: True # [win or py>... | 1ed6e7626c996216d4b29d6377441e49f3d4c43b | recipes/triqs_tprf/meta.yaml | recipes/triqs_tprf/meta.yaml | YAML |
<|file_sep|>original/en/help/1.0.md
---
layout: default
title: Help for Mu 1.0.*
---
# Help for Mu 1.0
You have three options for finding help about this version of Mu:
1. The [tutorials](/tutorials) introduce you to using Mu.
They are the best place to start. The tutorial entitled
"[Start Here!](/en/tutorials/... | ---
layout: default
title: Help for Mu 1.0.*
---
# Help for Mu 1.0
You have three options for finding help about this version of Mu:
1. The [tutorials](/en/tutorials) introduce you to using Mu.
They are the best place to start. The tutorial entitled
"[Start Here!](/en/tutorials/1.0/start)" gives you the basics ... | <|file_sep|>original/en/help/1.0.md
---
layout: default
title: Help for Mu 1.0.*
---
# Help for Mu 1.0
You have three options for finding help about this version of Mu:
1. The [tutorials](/tutorials) introduce you to using Mu.
They are the best place to start. The tutorial entitled
"[Start Here!](/en/tutorials/... | cb53e046e77c91dc6714a001758d9cb6c6cc1e94 | en/help/1.0.md | en/help/1.0.md | Markdown |
<|file_sep|>original/production-docker-compose.yml
### Workspace Utilities Container ###########################
workspace:
build:
context: ./workspace
args:
- INSTALL_XDEBUG=false
- INSTALL_MONGO=false
- INSTALL_NODE=false
... |
### Workspace Utilities Container ###########################
workspace:
build:
context: ./workspace
args:
- INSTALL_XDEBUG=false
- INSTALL_MONGO=false
- INSTALL_NODE=false
- INSTALL_YARN=false
- INSTAL... | <|file_sep|>original/production-docker-compose.yml
### Workspace Utilities Container ###########################
workspace:
build:
context: ./workspace
args:
- INSTALL_XDEBUG=false
- INSTALL_MONGO=false
- INSTALL_NODE=false
... | c9415b12c06d7e6048895ffd622788804ff81264 | production-docker-compose.yml | production-docker-compose.yml | YAML |
<|file_sep|>original/petitparser/example/calc.dart
final start = term.end();
term.set(prod
.seq(char('+').trim())
.seq(term)
.map((values) => values[0] + values[2])
.or(prod));
prod.set(prim
.seq(char('*').trim())
.seq(prod)
.map((values) => values[0] * values[2])
... | final start = term.end();
term.set(prod
.seq(char('+').trim())
.seq(term)
.map((values) => values[0] + values[2])
.or(prod));
prod.set(prim
.seq(char('*').trim())
.seq(prod)
.map((values) => values[0] * values[2])
.or(prim));
prim.set(char('(')
.trim()
... | <|file_sep|>original/petitparser/example/calc.dart
final start = term.end();
term.set(prod
.seq(char('+').trim())
.seq(term)
.map((values) => values[0] + values[2])
.or(prod));
prod.set(prim
.seq(char('*').trim())
.seq(prod)
.map((values) => values[0] * values[2])
... | 72663aa875c79ba416d68a45850907f99735154c | petitparser/example/calc.dart | petitparser/example/calc.dart | Dart |
<|file_sep|>README.md.diff
original:
# TigerStopSDK-Example
C# code that can be used to create a desktop program to interact with a TigerStop machine amplifier.
updated:
# TigerSop SDK
<|file_sep|>original/README.md
# TigerStopSDK-Example
C# code that can be used to create a desktop program to interact with a TigerSto... | # TigerSop SDK
## Usage
> In order to properly run this code, you will need to obtain a TigerStop amplifier with amplifier version 5.60 or later and TigerSET enabled. You can obtain an amplifier with the proper software at www.tigerstop.com.
-----------------------------
### A [TigerStopSDK-Example](https://github.com/... | <|file_sep|>README.md.diff
original:
# TigerStopSDK-Example
C# code that can be used to create a desktop program to interact with a TigerStop machine amplifier.
updated:
# TigerSop SDK
<|file_sep|>original/README.md
# TigerStopSDK-Example
C# code that can be used to create a desktop program to interact with a TigerSto... | 0563749847140b08e6369c2b4cbc9c9e21ad2c46 | README.md | README.md | Markdown |
<|file_sep|>packages/lo/loup.yaml.diff
original:
hash: 741833124c5028599f250cf6fd6c102614036323e6ee0d7e7c0ebca09f4c3b05
updated:
hash: 614bdb5f5b6e85790958ac32aa24ea10fe78c540717fb2134eaae3dd32411fd4
<|file_sep|>packages/lo/loup.yaml.diff
original:
updated:
- '0.0.5'
<|file_sep|>original/packages/lo/loup.yaml
uuid: ... | preamble: -any
monad-control: -any
lifted-base: -any
conduit: -any
turtle: -any
loup: -any
lifted-async: -any
amazonka-swf: -any
aeson: -any
yaml: -any
all-versions:
- '0.0.1'
- '0.0.2'
- '0.0.3'
- '0.0.4'
- '0.0.5'
author: Swift Navigation Inc.
latest: '0.0.5'
description-type: haddock
description:... | <|file_sep|>packages/lo/loup.yaml.diff
original:
hash: 741833124c5028599f250cf6fd6c102614036323e6ee0d7e7c0ebca09f4c3b05
updated:
hash: 614bdb5f5b6e85790958ac32aa24ea10fe78c540717fb2134eaae3dd32411fd4
<|file_sep|>packages/lo/loup.yaml.diff
original:
updated:
- '0.0.5'
<|file_sep|>original/packages/lo/loup.yaml
uuid: ... | 70936d1da2392b14ff5aa45e6af70e3e28e541db | packages/lo/loup.yaml | packages/lo/loup.yaml | YAML |
<|file_sep|>original/src/Compiler/GraphQLStandard.php
<|file_sep|>current/src/Compiler/GraphQLStandard.php
<|file_sep|>updated/src/Compiler/GraphQLStandard.php | <?php
/**
* This file is part of Railgun package.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Serafim\Railgun\Compiler;
use Serafim\Railgun\Reflection\Abstraction\CalleeDirectiveInterface;
use... | <|file_sep|>original/src/Compiler/GraphQLStandard.php
<|file_sep|>current/src/Compiler/GraphQLStandard.php
<|file_sep|>updated/src/Compiler/GraphQLStandard.php
<?php
/**
* This file is part of Railgun package.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed ... | 48b2f450789cbb345a05b9dc1b278930a5ae6ed6 | src/Compiler/GraphQLStandard.php | src/Compiler/GraphQLStandard.php | PHP |
<|file_sep|>original/cloudbio/edition/__init__.py
"""An Edition reflects a base install, the default being BioLinux.
Editions are shared between multiple projects. To specialize an edition, create
a Flavor instead.
Other editions can be found in this directory
"""
from cloudbio.edition.base import Edition
from cloud... | """An Edition reflects a base install, the default being BioLinux.
Editions are shared between multiple projects. To specialize an edition, create
a Flavor instead.
Other editions can be found in this directory
"""
from cloudbio.edition.base import Edition, Minimal, BioNode
_edition_map = {None: Edition,
... | <|file_sep|>original/cloudbio/edition/__init__.py
"""An Edition reflects a base install, the default being BioLinux.
Editions are shared between multiple projects. To specialize an edition, create
a Flavor instead.
Other editions can be found in this directory
"""
from cloudbio.edition.base import Edition
from cloud... | 4b451721c9e3530d83cf4ada1c1a7c994c217f15 | cloudbio/edition/__init__.py | cloudbio/edition/__init__.py | Python |
<|file_sep|>original/modules/version.js
<|file_sep|>current/modules/version.js
<|file_sep|>updated/modules/version.js | var exec = require('child_process').exec;
var hash;
module.exports.init = function(b) {
exec('git rev-parse HEAD', function(error, stdout, stderr) {
if(error != null) {
hash = null;
console.err("git's broken yo");
}
hash = stdout;
console.log(hash);
});
}
module.exports.run = function(r, parts, reply... | <|file_sep|>original/modules/version.js
<|file_sep|>current/modules/version.js
<|file_sep|>updated/modules/version.js
var exec = require('child_process').exec;
var hash;
module.exports.init = function(b) {
exec('git rev-parse HEAD', function(error, stdout, stderr) {
if(error != null) {
hash = null;
console... | c043ca4b069b8e50bc892fdb3c113232c6ddeb8a | modules/version.js | modules/version.js | JavaScript |
<|file_sep|>mission_manhattan.json.diff
original:
updated:
"period": 599,
<|file_sep|>mission_manhattan.json.diff
original:
"start_pose":{"x":0.1,"y":0.2,"z":0.7,"t":0.0}
updated:
"start_pose":{"x":148.0,"y":303.2,"z":0.7,"t":0.0}
<|file_sep|>mission_manhattan.json.diff
original:
... | "team":
[ {
"name": "manna",
"description": "./robot.json",
"pos_map": "./maps/manhattan_grid.png",
"start_pose":{"x":148.0,"y":303.2,"z":0.7,"t":0.0}
},
{
"name": "minnie",
"description": "./robot.json",
... | <|file_sep|>mission_manhattan.json.diff
original:
updated:
"period": 599,
<|file_sep|>mission_manhattan.json.diff
original:
"start_pose":{"x":0.1,"y":0.2,"z":0.7,"t":0.0}
updated:
"start_pose":{"x":148.0,"y":303.2,"z":0.7,"t":0.0}
<|file_sep|>mission_manhattan.json.diff
original:
... | c945989b7a74d69023740e9aeec1b6e329fca369 | mission_manhattan.json | mission_manhattan.json | JSON |
<|file_sep|>lib/discordrb/commands/container.rb.diff
original:
updated:
require 'discordrb/containers'
<|file_sep|>lib/discordrb/commands/container.rb.diff
original:
def include!(container)
updated:
def include_commands(container)
<|file_sep|>original/lib/discordrb/commands/container.rb
name.each { |n... | @commands.delete name
end
# Adds all commands from another container into this one. Existing commands will be overwritten.
# @param container [Module] A module that `extend`s {CommandContainer} from which the commands will be added.
def include_commands(container)
handlers = container.insta... | <|file_sep|>lib/discordrb/commands/container.rb.diff
original:
updated:
require 'discordrb/containers'
<|file_sep|>lib/discordrb/commands/container.rb.diff
original:
def include!(container)
updated:
def include_commands(container)
<|file_sep|>original/lib/discordrb/commands/container.rb
name.each { |n... | f8190d3ed7f2ee027cdb6281b48af94facfcfdfd | lib/discordrb/commands/container.rb | lib/discordrb/commands/container.rb | Ruby |
<|file_sep|>original/.travis.yml
language: ruby
sudo: false
rvm:
- 2.2.3
- 2.1.7
- 2.0.0
- 1.9.3
<|file_sep|>current/.travis.yml
language: ruby
sudo: false
rvm:
- 2.2.3
- 2.1.7
- 2.0.0
- 1.9.3
<|file_sep|>updated/.travis.yml | language: ruby
sudo: false
rvm:
- 2.3.0
- 2.2.3
- 2.1.7
- 2.0.0
- 1.9.3 | <|file_sep|>original/.travis.yml
language: ruby
sudo: false
rvm:
- 2.2.3
- 2.1.7
- 2.0.0
- 1.9.3
<|file_sep|>current/.travis.yml
language: ruby
sudo: false
rvm:
- 2.2.3
- 2.1.7
- 2.0.0
- 1.9.3
<|file_sep|>updated/.travis.yml
language: ruby
sudo: false
rvm:
- 2.3.0
- 2.2.3
- 2.1.7
- 2.0.0
- 1.9... | ac2403f0c567f2f2ac1765500bc4fd35fc4b4223 | .travis.yml | .travis.yml | YAML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.