prompt
stringlengths
77
6.9k
completion
stringlengths
1
3.38k
text
stringlengths
163
9.03k
commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
lang
stringclasses
277 values
<|file_sep|>spec/lib/regexp_preview/multi_line_spec.rb.diff original: tmp = { updated: params = { <|file_sep|>spec/lib/regexp_preview/multi_line_spec.rb.diff original: tmp["format1"] = "(?<foo>foo)" tmp["format2"] = "(?<bar>bar)" updated: params["format1"] = "(?<foo>foo)" params["for...
let :params do params = { format_firstline: ".+", time_format: "time_format", } params["format1"] = "(?<foo>foo)" params["format2"] = "(?<bar>bar)" 3.upto(Fluentd::Setting::InTail::MULTI_LINE_MAX_FORMAT_COUNT) do |i| params["format#{i}"] = "" end { p...
<|file_sep|>spec/lib/regexp_preview/multi_line_spec.rb.diff original: tmp = { updated: params = { <|file_sep|>spec/lib/regexp_preview/multi_line_spec.rb.diff original: tmp["format1"] = "(?<foo>foo)" tmp["format2"] = "(?<bar>bar)" updated: params["format1"] = "(?<foo>foo)" params["for...
5e1627ca6fa18f6878a4891633e90a5bbe1686c6
spec/lib/regexp_preview/multi_line_spec.rb
spec/lib/regexp_preview/multi_line_spec.rb
Ruby
<|file_sep|>original/.github/workflows/maven.yml matrix: java: [ 11, 15 ] experimental: [false] include: - java: 16-ea experimental: true steps: - uses: actions/checkout@v2.3.4 - name: Set up JDK ${{ matrix.java }} uses: actions/setup-java@v1.4.3 ...
matrix: java: [ 11, 15 ] experimental: [false] include: - java: 16-ea experimental: true steps: - uses: actions/checkout@v2.3.4 - name: Set up JDK ${{ matrix.java }} uses: actions/setup-java@v1.4.3 with: java-version: ${{ matrix.java }...
<|file_sep|>original/.github/workflows/maven.yml matrix: java: [ 11, 15 ] experimental: [false] include: - java: 16-ea experimental: true steps: - uses: actions/checkout@v2.3.4 - name: Set up JDK ${{ matrix.java }} uses: actions/setup-java@v1.4.3 ...
f8db2d67dbb76858cb35fda121568c683b95e9d5
.github/workflows/maven.yml
.github/workflows/maven.yml
YAML
<|file_sep|>original/src/ServiceBus.AttachmentPlugin.Tests/DocoUpdater.cs using MarkdownSnippets; using Xunit; public class DocoUpdater { [Fact] public void Run() { GitHubMarkdownProcessor.RunForFilePath(); } } <|file_sep|>current/src/ServiceBus.AttachmentPlugin.Tests/DocoUpdater.cs using Mar...
using MarkdownSnippets; using Xunit; public class DocoUpdater { [Fact] public void Run() { DirectoryMarkdownProcessor.RunForFilePath(); } }
<|file_sep|>original/src/ServiceBus.AttachmentPlugin.Tests/DocoUpdater.cs using MarkdownSnippets; using Xunit; public class DocoUpdater { [Fact] public void Run() { GitHubMarkdownProcessor.RunForFilePath(); } } <|file_sep|>current/src/ServiceBus.AttachmentPlugin.Tests/DocoUpdater.cs using Mar...
45bbca0381fdc6612047b2b8e86426d1ca8316ac
src/ServiceBus.AttachmentPlugin.Tests/DocoUpdater.cs
src/ServiceBus.AttachmentPlugin.Tests/DocoUpdater.cs
C#
<|file_sep|>original/tests/features/jboss/container/s2i/core/bash/s2i-core.feature <|file_sep|>current/tests/features/jboss/container/s2i/core/bash/s2i-core.feature <|file_sep|>updated/tests/features/jboss/container/s2i/core/bash/s2i-core.feature
@openjdk @ubi8 @redhat-openjdk-18 @openj9 Feature: Openshift S2I tests # OPENJDK-84 - /tmp/src should not be present after build Scenario: run an s2i build and check that /tmp/src has been removed afterwards Given s2i build https://github.com/jboss-openshift/openshift-examples from spring-boot-sample-simple ...
<|file_sep|>original/tests/features/jboss/container/s2i/core/bash/s2i-core.feature <|file_sep|>current/tests/features/jboss/container/s2i/core/bash/s2i-core.feature <|file_sep|>updated/tests/features/jboss/container/s2i/core/bash/s2i-core.feature @openjdk @ubi8 @redhat-openjdk-18 @openj9 Feature: Openshift S2I tests ...
cf5540e26068a4234ff452ef013b249b820260e0
tests/features/jboss/container/s2i/core/bash/s2i-core.feature
tests/features/jboss/container/s2i/core/bash/s2i-core.feature
Cucumber
<|file_sep|>original/spec/helpers-spec.coffee <|file_sep|>current/spec/helpers-spec.coffee <|file_sep|>updated/spec/helpers-spec.coffee
{normalizeKeystrokes} = require '../src/helpers' describe ".normalizeKeystrokes(keystrokes)", -> it "parses and normalizes the keystrokes", -> expect(normalizeKeystrokes('ctrl--')).toBe 'ctrl--' expect(normalizeKeystrokes('ctrl-x')).toBe 'ctrl-x' expect(normalizeKeystrokes('a')).toBe 'a' expect(norma...
<|file_sep|>original/spec/helpers-spec.coffee <|file_sep|>current/spec/helpers-spec.coffee <|file_sep|>updated/spec/helpers-spec.coffee {normalizeKeystrokes} = require '../src/helpers' describe ".normalizeKeystrokes(keystrokes)", -> it "parses and normalizes the keystrokes", -> expect(normalizeKeystrokes('ctrl...
a995194bceabaa79eb5d2b2a283f1723282b54a2
spec/helpers-spec.coffee
spec/helpers-spec.coffee
CoffeeScript
<|file_sep|>spec/models/configuration_spec.rb.diff original: @config.should be_valid updated: expect(@config).to be_valid <|file_sep|>spec/models/configuration_spec.rb.diff original: ::Configuration[:a_config].should == 'a_value' updated: expect(described_class[:a_config]).to eql('a_value') <|file_s...
FactoryGirl.create(:configuration, name: 'other_config', value: 'another_value') end it "should get config" do expect(described_class[:a_config]).to eql('a_value') end it "should return nil when not found" do expect(described_class[:not_found_config]).to be_nil end it "should ...
<|file_sep|>spec/models/configuration_spec.rb.diff original: @config.should be_valid updated: expect(@config).to be_valid <|file_sep|>spec/models/configuration_spec.rb.diff original: ::Configuration[:a_config].should == 'a_value' updated: expect(described_class[:a_config]).to eql('a_value') <|file_s...
43a3bd076a7868921472da41924fa09c5c849d4d
spec/models/configuration_spec.rb
spec/models/configuration_spec.rb
Ruby
<|file_sep|>original/README.md # formsy-react-components [![Build Status](https://travis-ci.org/twisty/formsy-react-components.svg?branch=master)](https://travis-ci.org/twisty/formsy-react-components) [![npm version](https://badge.fury.io/js/formsy-react-components.svg)](https://badge.fury.io/js/formsy-react-component...
# formsy-react-components [![Build Status](https://travis-ci.org/twisty/formsy-react-components.svg?branch=master)](https://travis-ci.org/twisty/formsy-react-components) [![npm version](https://badge.fury.io/js/formsy-react-components.svg)](https://badge.fury.io/js/formsy-react-components) [![GitHub release](https://i...
<|file_sep|>original/README.md # formsy-react-components [![Build Status](https://travis-ci.org/twisty/formsy-react-components.svg?branch=master)](https://travis-ci.org/twisty/formsy-react-components) [![npm version](https://badge.fury.io/js/formsy-react-components.svg)](https://badge.fury.io/js/formsy-react-component...
9d263caf695af5c5f2e867cefa4433065a56df46
README.md
README.md
Markdown
<|file_sep|>original/routes/index.js var express = require('express'); var router = express.Router(); router.get('/', function (req, res, next) { res.render('index', { title: 'Express' }); }); module.exports = router; <|file_sep|>current/routes/index.js var express = require('express'); var router = express.Route...
var express = require('express'); var router = express.Router(); router.get('/', function (req, res, next) { res.render('index'); }); router.get('/tables/:table/rows', function (req, res, next) { var table = res.locals.tables.find(x => x.name === req.params.table); table.rows.then((result) => { res.json(r...
<|file_sep|>original/routes/index.js var express = require('express'); var router = express.Router(); router.get('/', function (req, res, next) { res.render('index', { title: 'Express' }); }); module.exports = router; <|file_sep|>current/routes/index.js var express = require('express'); var router = express.Route...
88b59916a4cf0b9442f13972865df02f8252af19
routes/index.js
routes/index.js
JavaScript
<|file_sep|>original/site/api/migrations/0009_load_pos_fixture_data.py fixture = model_name = 'PartOfSpeech' def load_fixture(apps, schema_editor): call_command('loaddata', fixture, app_label=app_name) def unload_fixture(apps, schema_editor): "Deleting all entries for this model" PartOfSpeech = apps.ge...
fixture = model_name = 'PartOfSpeech' def load_fixture(apps, schema_editor): call_command('loaddata', fixture, app_label=app_name) def unload_fixture(apps, schema_editor): "Deleting all entries for this model" PartOfSpeech = apps.get_model(app_name, model_name) PartOfSpeech.objects.all().delete() ...
<|file_sep|>original/site/api/migrations/0009_load_pos_fixture_data.py fixture = model_name = 'PartOfSpeech' def load_fixture(apps, schema_editor): call_command('loaddata', fixture, app_label=app_name) def unload_fixture(apps, schema_editor): "Deleting all entries for this model" PartOfSpeech = apps.ge...
82c86350f62aefa3b732d5273216b0cb937758db
site/api/migrations/0009_load_pos_fixture_data.py
site/api/migrations/0009_load_pos_fixture_data.py
Python
<|file_sep|>original/test/test_sparql_base_ref.py <|file_sep|>current/test/test_sparql_base_ref.py <|file_sep|>updated/test/test_sparql_base_ref.py
from rdflib import ConjunctiveGraph, Literal from StringIO import StringIO import unittest test_data = """ @prefix foaf: <http://xmlns.com/foaf/0.1/> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . <http://example.org/alice> a foaf:Person; foaf:name "Alice"; foaf:knows <http://exa...
<|file_sep|>original/test/test_sparql_base_ref.py <|file_sep|>current/test/test_sparql_base_ref.py <|file_sep|>updated/test/test_sparql_base_ref.py from rdflib import ConjunctiveGraph, Literal from StringIO import StringIO import unittest test_data = """ @prefix foaf: <http://xmlns.com/foaf/0.1/> . @prefix rd...
4e3e14e5d916c229876fb2faae03082ed65d0918
test/test_sparql_base_ref.py
test/test_sparql_base_ref.py
Python
<|file_sep|>original/spring-boot-admin-server-ui/src/main/frontend/views/applications/i18n.de.json { "applications": { "all_up": "Alle verfügbar", "applications": "Anwendungen", "instances": "Instanzen", "instances_down": "Instanzen nicht verfügbar", "loading_applications": "Anwendungen werden gel...
{ "applications": { "all_up": "Alle verfügbar", "applications": "Anwendungen", "instances": "Instanzen", "instances_down": "Instanzen nicht verfügbar", "loading_applications": "Anwendungen werden geladen ...", "no_applications_registered": "Keine Anwendungen registriert.", "notifications_s...
<|file_sep|>original/spring-boot-admin-server-ui/src/main/frontend/views/applications/i18n.de.json { "applications": { "all_up": "Alle verfügbar", "applications": "Anwendungen", "instances": "Instanzen", "instances_down": "Instanzen nicht verfügbar", "loading_applications": "Anwendungen werden gel...
2b80dd32f1ff4ac1543121bedef762e2a741da73
spring-boot-admin-server-ui/src/main/frontend/views/applications/i18n.de.json
spring-boot-admin-server-ui/src/main/frontend/views/applications/i18n.de.json
JSON
<|file_sep|>original/README.md ancor-dashboard =============== A frontend framework for ancor Please visit the doc folder for more information. <|file_sep|>current/README.md ancor-dashboard =============== A frontend framework for ancor Please visit the doc folder for more information. <|file_sep|>updated/README.md
ancor-dashboard =============== A frontend framework for ancor Please visit the [doc](doc) folder for more information.
<|file_sep|>original/README.md ancor-dashboard =============== A frontend framework for ancor Please visit the doc folder for more information. <|file_sep|>current/README.md ancor-dashboard =============== A frontend framework for ancor Please visit the doc folder for more information. <|file_sep|>updated/README.md...
425e9c7db6c71efb243d7cc906e93d07aaf52307
README.md
README.md
Markdown
<|file_sep|>original/_posts/2017-01-30-an-idea.md --- title: "An Idea" tags: [personal, cse592] --- Sometimes I have weird ideas. I'm a very heavy sleeper, and am prone to waking up late or falling back asleep. But what if I had an alarm clock that didn't screw around? ![An Alarm Clock with Teeth](/images/blog/bed-...
--- title: "An Idea" tags: [personal, ideas, cse592] --- Sometimes I have weird ideas. I'm a very heavy sleeper, and am prone to waking up late or falling back asleep. But what if I had an alarm clock that didn't screw around? ![An Alarm Clock with Teeth](/images/blog/bed-wtf.jpg) I'm taking a course in human-comp...
<|file_sep|>original/_posts/2017-01-30-an-idea.md --- title: "An Idea" tags: [personal, cse592] --- Sometimes I have weird ideas. I'm a very heavy sleeper, and am prone to waking up late or falling back asleep. But what if I had an alarm clock that didn't screw around? ![An Alarm Clock with Teeth](/images/blog/bed-...
ea619ad357bead019144b40a7bfd0d219bbbcc38
_posts/2017-01-30-an-idea.md
_posts/2017-01-30-an-idea.md
Markdown
<|file_sep|>original/.travis.yml language: go go: - 1.3 - tip install: go get -v ./solr before_script: curl -sSL https://raw.githubusercontent.com/moliware/travis-solr/master/travis-solr.sh | SOLR_VERSION=4.7.2 bash script: go test -v ./solr <|file_sep|>current/.travis.yml language: go go: - 1.3 - tip ins...
language: go go: - 1.3 - tip install: go get -v ./solr script: go test -v ./solr
<|file_sep|>original/.travis.yml language: go go: - 1.3 - tip install: go get -v ./solr before_script: curl -sSL https://raw.githubusercontent.com/moliware/travis-solr/master/travis-solr.sh | SOLR_VERSION=4.7.2 bash script: go test -v ./solr <|file_sep|>current/.travis.yml language: go go: - 1.3 - tip ins...
688d79f8aa06f87b72dd87cfd3126ba654b7aaba
.travis.yml
.travis.yml
YAML
<|file_sep|>original/test.js var set = require('./index.js'); var assert = require('assert'); describe('mocha-let', function() { var object = {}; set('object', () => object); it("allows accessing the return value of the given function as the specified property on `this`", function() { assert.equal(this.obje...
var set = require('./index.js'); var assert = require('assert'); describe('mocha-let', function() { var object = {}; set('object', () => object); context("in a sub-context", function() { var aDifferentObject = {}; set('object', () => aDifferentObject); it("allows overriding the value of an existing...
<|file_sep|>original/test.js var set = require('./index.js'); var assert = require('assert'); describe('mocha-let', function() { var object = {}; set('object', () => object); it("allows accessing the return value of the given function as the specified property on `this`", function() { assert.equal(this.obje...
573e68252c868d450fee7764fbf1d49143b4e4c5
test.js
test.js
JavaScript
<|file_sep|>original/src/main/java/Ming/SpeechToTextService.java import com.ibm.watson.developer_cloud.speech_to_text.v1.model.SpeechResults; import com.ibm.watson.developer_cloud.speech_to_text.v1.model.Transcript; import java.io.File; import java.util.List; // TODO: Abstract the service provider. public class Speec...
import com.ibm.watson.developer_cloud.speech_to_text.v1.model.SpeechResults; import com.ibm.watson.developer_cloud.speech_to_text.v1.model.Transcript; import java.io.File; import java.util.List; // TODO: Abstract the service provider. public class SpeechToTextService { public String recognize(File audio) { ...
<|file_sep|>original/src/main/java/Ming/SpeechToTextService.java import com.ibm.watson.developer_cloud.speech_to_text.v1.model.SpeechResults; import com.ibm.watson.developer_cloud.speech_to_text.v1.model.Transcript; import java.io.File; import java.util.List; // TODO: Abstract the service provider. public class Speec...
453c56a57dd787b704000ccc1c9572db8bf5c3ec
src/main/java/Ming/SpeechToTextService.java
src/main/java/Ming/SpeechToTextService.java
Java
<|file_sep|>src/main/java/net/glowstone/util/UuidUtils.java.diff original: return UUID.fromString(str.substring(0, 8) + "-" + str.substring(8, 12) + "-" + str.substring(12, 16) + "-" + str.substring(16, 20) + "-" + str.substring(20, 32)); updated: return new UUID(Long.parseUnsignedLong(s...
package net.glowstone.util; import java.util.UUID; /** * Utility methods for dealing with UUIDs. */ public final class UuidUtils { private UuidUtils() { } public static UUID fromFlatString(String str) { // xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx return new UUID(Long.parseUnsignedLong(str....
<|file_sep|>src/main/java/net/glowstone/util/UuidUtils.java.diff original: return UUID.fromString(str.substring(0, 8) + "-" + str.substring(8, 12) + "-" + str.substring(12, 16) + "-" + str.substring(16, 20) + "-" + str.substring(20, 32)); updated: return new UUID(Long.parseUnsignedLong(s...
fe5fe921ca54c4e86f8e0adf96800f6b20cc631a
src/main/java/net/glowstone/util/UuidUtils.java
src/main/java/net/glowstone/util/UuidUtils.java
Java
<|file_sep|>original/src/excel_sheet_column_number.py <|file_sep|>current/src/excel_sheet_column_number.py <|file_sep|>updated/src/excel_sheet_column_number.py
""" Source : https://oj.leetcode.com/problems/excel-sheet-column-number/ Author : Changxi Wu Date : 2015-01-21 Given a column title as appear in an Excel sheet, return its corresponding column number. For example: A -> 1 B -> 2 C -> 3 ... Z -> 26 AA -> 27 AB -> 28 """ def titl...
<|file_sep|>original/src/excel_sheet_column_number.py <|file_sep|>current/src/excel_sheet_column_number.py <|file_sep|>updated/src/excel_sheet_column_number.py """ Source : https://oj.leetcode.com/problems/excel-sheet-column-number/ Author : Changxi Wu Date : 2015-01-21 Given a column title as appear in an Excel s...
24e21dd5e11844e333278ba580da3814ad513c1a
src/excel_sheet_column_number.py
src/excel_sheet_column_number.py
Python
<|file_sep|>original/views/layouts/_footer.haml %hr %ul %li %a{ href: "/cookies" } Om cookies %li = AppMetadata.release_version != surround "(", ")" do %a{ href: "https://github.com/Starkast/wikimum/commit/#{AppMetadata.commit}" }= AppMetadata.short_commit %li %img{ src: "/favicon.ico", alt:...
%hr %ul %li %a{ href: "/cookies" } Om cookies %li = AppMetadata.release_version ( %a{ href: "https://github.com/Starkast/wikimum/commit/#{AppMetadata.commit}" }>= AppMetadata.short_commit ) %li %img{ src: "/favicon.ico", alt: "Starkast" }
<|file_sep|>original/views/layouts/_footer.haml %hr %ul %li %a{ href: "/cookies" } Om cookies %li = AppMetadata.release_version != surround "(", ")" do %a{ href: "https://github.com/Starkast/wikimum/commit/#{AppMetadata.commit}" }= AppMetadata.short_commit %li %img{ src: "/favicon.ico", alt:...
7ccaa7f66a336cb0aa4001c771112e3904f44374
views/layouts/_footer.haml
views/layouts/_footer.haml
Haml
<|file_sep|>original/server.rb end require 'em-websocket' require 'thread' ts = [] EventMachine::WebSocket.start(host: "0.0.0.0", port: 8888) do |ws| thread = nil ws.onmessage {|msg| ts.each {|t| t[:queue].push(msg) } p ts } ws.onopen { thread = Thread.new { this = Thread.current this[...
end require 'em-websocket' require 'thread' ts = [] EventMachine::WebSocket.start(host: "0.0.0.0", port: 8888) do |ws| thread = nil ws.onmessage {|msg| ts.each {|t| t[:queue].push(msg) } p msg } ws.onopen { thread = Thread.new { this = Thread.current this[:queue] ||= Queue.new wh...
<|file_sep|>original/server.rb end require 'em-websocket' require 'thread' ts = [] EventMachine::WebSocket.start(host: "0.0.0.0", port: 8888) do |ws| thread = nil ws.onmessage {|msg| ts.each {|t| t[:queue].push(msg) } p ts } ws.onopen { thread = Thread.new { this = Thread.current this[...
d49cc0eabd3b3d293787492e35722782b0da663f
server.rb
server.rb
Ruby
<|file_sep|>original/packages/truffle/test/init.js describe('init', function() { var config; before("Create a sandbox", function(done) { this.timeout(5000); Init.sandbox(function(err, result) { if (err) return done(err); config = result; done(); }); }); it('copies example config...
var path = require('path'); describe('init', function() { var config; before("Create a sandbox", function(done) { this.timeout(5000); Init.sandbox(function(err, result) { if (err) return done(err); config = result; done(); }); }); it('copies example configuration', function(done...
<|file_sep|>original/packages/truffle/test/init.js describe('init', function() { var config; before("Create a sandbox", function(done) { this.timeout(5000); Init.sandbox(function(err, result) { if (err) return done(err); config = result; done(); }); }); it('copies example config...
a38248539b8c9a8f225c38b57e813f5a05e0bbd5
packages/truffle/test/init.js
packages/truffle/test/init.js
JavaScript
<|file_sep|>lib/dry/types/enum.rb.diff original: updated: # @return [Hash] attr_reader :inverted_mapping <|file_sep|>lib/dry/types/enum.rb.diff original: @values = @mapping.keys.freeze.each(&:freeze) updated: @values = @mapping.keys.freeze @inverted_mapping = @mapping.invert.freeze...
# @param [Object] input # @return [Object] def call(input = Undefined) value = if input.equal?(Undefined) type.call elsif mapping.key?(input) input else inverted_mapping.fetch(input, input) end type[value] ...
<|file_sep|>lib/dry/types/enum.rb.diff original: updated: # @return [Hash] attr_reader :inverted_mapping <|file_sep|>lib/dry/types/enum.rb.diff original: @values = @mapping.keys.freeze.each(&:freeze) updated: @values = @mapping.keys.freeze @inverted_mapping = @mapping.invert.freeze...
f3033ed163de4fa8c56f034cae861e7f6556ac4c
lib/dry/types/enum.rb
lib/dry/types/enum.rb
Ruby
<|file_sep|>original/roles/httpd/tasks/main.yml name: '{{ item }}' state: present with_items: '{{ httpd_modules }}' when: manage_packages|default(false) - name: Allow apache proxy connections seboolean: name: httpd_can_network_connect state: yes persistent: yes - name: Ensure httpd configura...
name: '{{ item }}' state: present with_items: '{{ httpd_modules }}' when: manage_packages|default(false) - name: Allow apache proxy connections seboolean: name: httpd_can_network_connect state: yes persistent: yes when: '"{{ ansible_selinux.mode }}" in ["enforcing", "permissive"]' - name: ...
<|file_sep|>original/roles/httpd/tasks/main.yml name: '{{ item }}' state: present with_items: '{{ httpd_modules }}' when: manage_packages|default(false) - name: Allow apache proxy connections seboolean: name: httpd_can_network_connect state: yes persistent: yes - name: Ensure httpd configura...
1b239f38a4842052d91e65659535586dc93e5d36
roles/httpd/tasks/main.yml
roles/httpd/tasks/main.yml
YAML
<|file_sep|>original/data/test-biochemists-zinb-ae.py <|file_sep|>current/data/test-biochemists-zinb-ae.py <|file_sep|>updated/data/test-biochemists-zinb-ae.py
import numpy as np import tensorflow as tf from autoencoder.io import read_text, preprocess from autoencoder.api import autoencode import keras.backend as K # for full reproducibility np.random.seed(1) tf.set_random_seed(1) sess = tf.Session(config=tf.ConfigProto(intra_op_parallelism_threads=1, ...
<|file_sep|>original/data/test-biochemists-zinb-ae.py <|file_sep|>current/data/test-biochemists-zinb-ae.py <|file_sep|>updated/data/test-biochemists-zinb-ae.py import numpy as np import tensorflow as tf from autoencoder.io import read_text, preprocess from autoencoder.api import autoencode import keras.backend as K ...
6f59fe88fa00c0c05d985ae11b0373eaf8b21303
data/test-biochemists-zinb-ae.py
data/test-biochemists-zinb-ae.py
Python
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.1.1 branches: only: - master - develop before_script: - mysql -e 'create database saml_test;' script: - RAILS_ENV=test bundle exec rake --trace db:migrate test <|file_sep|>current/.travis.yml language: ruby rvm: - 2.1.1 branches: only: - m...
language: ruby rvm: - 2.1.1 branches: only: - master - develop before_script: - mysql -e 'create database saml_test;' script: - RAILS_ENV=test bundle exec rake --trace db:migrate
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.1.1 branches: only: - master - develop before_script: - mysql -e 'create database saml_test;' script: - RAILS_ENV=test bundle exec rake --trace db:migrate test <|file_sep|>current/.travis.yml language: ruby rvm: - 2.1.1 branches: only: - m...
60fd8e1cb213e8c29d9c14c7fdcc1cff179a56e1
.travis.yml
.travis.yml
YAML
<|file_sep|>Docs/static/custom/tooltips.js.diff original: // no idea why, but it behaves differently in webbrowser component if (window.location.search == "?inapp") return [obj.offsetLeft + 10, obj.offsetTop + 30]; updated: <|file_sep|>original/Docs/static/custom/tooltips.js function hideUsingEsc(e) { if (...
} function showTip(evt, name, unique, owner) { document.onkeydown = hideUsingEsc; if (currentTip == unique) return; currentTip = unique; currentTipElement = name; var pos = findPos(owner ? owner : (evt.srcElement ? evt.srcElement : evt.target)); var posx = pos[0]; var posy = pos[1]; var el = document...
<|file_sep|>Docs/static/custom/tooltips.js.diff original: // no idea why, but it behaves differently in webbrowser component if (window.location.search == "?inapp") return [obj.offsetLeft + 10, obj.offsetTop + 30]; updated: <|file_sep|>original/Docs/static/custom/tooltips.js function hideUsingEsc(e) { if (...
f0144914bb08c8ffd3cd99a35fc9c4d4137b933c
Docs/static/custom/tooltips.js
Docs/static/custom/tooltips.js
JavaScript
<|file_sep|>setup.py.diff original: 'mock ; python_version < "3.0"', updated: <|file_sep|>original/setup.py 'Django>=1.8', 'asgiref~=1.1', 'daphne~=1.3', ], extras_require={ 'tests': [ 'coverage', 'mock ; python_version < "3.0"', '...
'Django>=1.8', 'asgiref~=1.1', 'daphne~=1.3', ], extras_require={ 'tests': [ 'coverage', 'flake8>=2.0,<3.0', 'isort', ], 'tests:python_version < "3.0"': ['mock'], }, classifiers=[ 'Development Status :: 5 - Produ...
<|file_sep|>setup.py.diff original: 'mock ; python_version < "3.0"', updated: <|file_sep|>original/setup.py 'Django>=1.8', 'asgiref~=1.1', 'daphne~=1.3', ], extras_require={ 'tests': [ 'coverage', 'mock ; python_version < "3.0"', '...
8b873e2bd6e4fbbf0464380cd799c9513b26386c
setup.py
setup.py
Python
<|file_sep|>original/design/res/layout/design_navigation_item.xml ~ Copyright (C) 2015 The Android Open Source Project ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ h...
~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~...
<|file_sep|>original/design/res/layout/design_navigation_item.xml ~ Copyright (C) 2015 The Android Open Source Project ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ h...
23ef6d92a03cb113f974a01f02ca61904d1becad
design/res/layout/design_navigation_item.xml
design/res/layout/design_navigation_item.xml
XML
<|file_sep|>original/src/media/js/routes_api.js define('routes_api', [], function() { // List API routes here. // E.g.: // { // "route": "/foo/bar/{0}", // "another_route": "/foo/bar/{0}/asdf" // } return { 'fxa-login': '/api/v2/account/fxa-login/', 'login': '/api/v2/...
define('routes_api', [], function() { // List API routes here. // E.g.: // { // "route": "/foo/bar/{0}", // "another_route": "/foo/bar/{0}/asdf" // } return { 'fxa-login': '/api/v2/account/fxa-login/', 'login': '/api/v2/account/login/', 'logout': '/api/v2/acco...
<|file_sep|>original/src/media/js/routes_api.js define('routes_api', [], function() { // List API routes here. // E.g.: // { // "route": "/foo/bar/{0}", // "another_route": "/foo/bar/{0}/asdf" // } return { 'fxa-login': '/api/v2/account/fxa-login/', 'login': '/api/v2/...
98736e872759e70900492fc0e3d08974cdb4cf8b
src/media/js/routes_api.js
src/media/js/routes_api.js
JavaScript
<|file_sep|>smarts/CMakeLists.txt.diff original: updated: set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake) <|file_sep|>original/smarts/CMakeLists.txt project(BehaviorTrees) cmake_minimum_required(VERSION 2.6) add_subdirectory(common) if(BUILD_GLUON_SMARTS_EDITOR) add_subdirectory(editor) endif(BUILD_GLUON_...
project(BehaviorTrees) cmake_minimum_required(VERSION 2.6) set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake) add_subdirectory(common) if(KDE4_FOUND) include_directories(${KDE4_INCLUDES}) if(BUILD_GLUON_SMARTS_EDITOR) add_subdirectory(editor) endif(BUILD_GLUON_SMARTS_EDITOR) else(KDE4_FOUN...
<|file_sep|>smarts/CMakeLists.txt.diff original: updated: set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake) <|file_sep|>original/smarts/CMakeLists.txt project(BehaviorTrees) cmake_minimum_required(VERSION 2.6) add_subdirectory(common) if(BUILD_GLUON_SMARTS_EDITOR) add_subdirectory(editor) endif(BUILD_GLUON_...
50b4b9610b7581482179c10cffb6fa1131107575
smarts/CMakeLists.txt
smarts/CMakeLists.txt
Text
<|file_sep|>original/src/journal/migrations/0035_journal_xsl.py from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion import journal.models class Migration(migrations.Migration): dependencies = [ ('journal', '0034_migrate_issue_types'), ] ...
from django.db import migrations, models import django.db.models.deletion import journal.models class Migration(migrations.Migration): dependencies = [ ('journal', '0034_migrate_issue_types'), ('core', '0037_journal_xsl_files'), ] operations = [ migrations.AddField( ...
<|file_sep|>original/src/journal/migrations/0035_journal_xsl.py from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion import journal.models class Migration(migrations.Migration): dependencies = [ ('journal', '0034_migrate_issue_types'), ] ...
f33bf5a99b9bb814fe6da6b7713e87014aae5fdf
src/journal/migrations/0035_journal_xsl.py
src/journal/migrations/0035_journal_xsl.py
Python
<|file_sep|>templates/javascript/main.js.diff original: var {DefaultRoute, Route, Routes} = require('react-router'); updated: var Router = require('react-router'); var Route = Router.Route; <|file_sep|>original/templates/javascript/main.js var <%= scriptAppName %> = require('./<%= scriptAppName %>'); var React = requir...
var <%= scriptAppName %> = require('./<%= scriptAppName %>'); var React = require('react'); var Router = require('react-router'); var Route = Router.Route; var content = document.getElementById('content'); var Routes = ( <Route handler={<%= scriptAppName %>}> <Route name="/" handler={<%= scriptAppName %>}/> <...
<|file_sep|>templates/javascript/main.js.diff original: var {DefaultRoute, Route, Routes} = require('react-router'); updated: var Router = require('react-router'); var Route = Router.Route; <|file_sep|>original/templates/javascript/main.js var <%= scriptAppName %> = require('./<%= scriptAppName %>'); var React = requir...
4c93d0c1e941c00b617e9487e7430b58b409f658
templates/javascript/main.js
templates/javascript/main.js
JavaScript
<|file_sep|>original/src/validators/isLength.js const lengths = [ 'em', 'ex', 'ch', 'rem', 'vh', 'vw', 'vmin', 'vmax', 'px', 'mm', 'cm', 'in', 'pt', 'pc', ]; export default num => { let int = isNumber(num); return int && (int.number === '0' || ~lengths.in...
const lengths = [ 'em', 'ex', 'ch', 'rem', 'vh', 'vw', 'vmin', 'vmax', 'px', 'q', 'mm', 'cm', 'in', 'pt', 'pc', ]; export default num => { let int = isNumber(num); return int && (int.number === '0' || ~lengths.indexOf(int.unit));
<|file_sep|>original/src/validators/isLength.js const lengths = [ 'em', 'ex', 'ch', 'rem', 'vh', 'vw', 'vmin', 'vmax', 'px', 'mm', 'cm', 'in', 'pt', 'pc', ]; export default num => { let int = isNumber(num); return int && (int.number === '0' || ~lengths.in...
8826e29b0adfccad7871a1b0a9b1804b3fea4300
src/validators/isLength.js
src/validators/isLength.js
JavaScript
<|file_sep|>original/requirements-dev.txt -r requirements.txt check-manifest==0.35 pyroma==2.2 pytest==3.2.3 pytest-mock==1.6.3 tox==2.9.1 flake8==3.5.0 twine==1.9.1 coverage==4.4.1 pytest-cov==2.5.1 Sphinx==1.6.5 sphinx-autobuild==0.7.1 redis==2.10.6 <|file_sep|>current/requirements-dev.txt -r requirements.txt check-m...
-r requirements.txt check-manifest==0.35 pyroma==2.2 pytest==3.2.3 pytest-mock==1.6.3 tox==2.9.1 flake8==3.5.0 twine==1.9.1 coverage==4.4.2 pytest-cov==2.5.1 Sphinx==1.6.5 sphinx-autobuild==0.7.1 redis==2.10.6
<|file_sep|>original/requirements-dev.txt -r requirements.txt check-manifest==0.35 pyroma==2.2 pytest==3.2.3 pytest-mock==1.6.3 tox==2.9.1 flake8==3.5.0 twine==1.9.1 coverage==4.4.1 pytest-cov==2.5.1 Sphinx==1.6.5 sphinx-autobuild==0.7.1 redis==2.10.6 <|file_sep|>current/requirements-dev.txt -r requirements.txt check-m...
43f066f9e3514e21600da1d8959bb10d4a7ff123
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>original/.scrutinizer.yml - 'vendor/*' before_commands: - 'composer install --prefer-source' build: tests: override: - phpcs-run --standard=./vendor/chadicus/coding-standard/Chadicus/ruleset.xml src tests tools: php_analyzer: true php_mess_detector: true sensi...
- 'vendor/*' before_commands: - 'composer install --prefer-source' build: tests: override: - phpcs-run --standard=./vendor/chadicus/coding-standard/Chadicus/ruleset.xml src tests tools: php_analyzer: true php_mess_detector: true sensiolabs_security_checker: true php_l...
<|file_sep|>original/.scrutinizer.yml - 'vendor/*' before_commands: - 'composer install --prefer-source' build: tests: override: - phpcs-run --standard=./vendor/chadicus/coding-standard/Chadicus/ruleset.xml src tests tools: php_analyzer: true php_mess_detector: true sensi...
dcd86ecb7780a8a625ca906d6f48a356d3805844
.scrutinizer.yml
.scrutinizer.yml
YAML
<|file_sep|>original/task.yml environments: HOME: /root PATH: $PATH:/opt/chefdk/embedded/bin:/opt/chef/embedded/bin:/usr/bin ROLE: '{{config.role}}' CONSUL_SECRET_KEY: '{{config.token}}' variables: default: timeout: 1800 chef: attribute_keys: - cloudconductor events: setup: description: E...
environments: HOME: /root PATH: $PATH:/usr/local/bin:/usr/bin ROLE: '{{config.role}}' CONSUL_SECRET_KEY: '{{config.token}}' variables: default: timeout: 1800 chef: attribute_keys: - cloudconductor events: setup: description: Execute setup task: setup configure: description: Exe...
<|file_sep|>original/task.yml environments: HOME: /root PATH: $PATH:/opt/chefdk/embedded/bin:/opt/chef/embedded/bin:/usr/bin ROLE: '{{config.role}}' CONSUL_SECRET_KEY: '{{config.token}}' variables: default: timeout: 1800 chef: attribute_keys: - cloudconductor events: setup: description: E...
dd0a3cc8cf1e3b7749d15f67f597c06ebba1f393
task.yml
task.yml
YAML
<|file_sep|>original/docs/_posts/2018-02-23-alpha-1-13-1-is-released.md <|file_sep|>current/docs/_posts/2018-02-23-alpha-1-13-1-is-released.md <|file_sep|>updated/docs/_posts/2018-02-23-alpha-1-13-1-is-released.md
--- title: "Alpha 1.13.1 is Released" date: 2018-02-23 07:00:00 categories: release excerpt_separator: <!--more--> author: mickkay layout: post --- The 1.13.1 alpha is small bugfix release. <!--more--> * Fixed [#125](https://github.com/wizards-of-lua/wizards-of-lua/issues/125) - Fix player duplication bug.
<|file_sep|>original/docs/_posts/2018-02-23-alpha-1-13-1-is-released.md <|file_sep|>current/docs/_posts/2018-02-23-alpha-1-13-1-is-released.md <|file_sep|>updated/docs/_posts/2018-02-23-alpha-1-13-1-is-released.md --- title: "Alpha 1.13.1 is Released" date: 2018-02-23 07:00:00 categories: release excerpt_separator...
4ac54371e786db75050169ca2078b16e4118b0ca
docs/_posts/2018-02-23-alpha-1-13-1-is-released.md
docs/_posts/2018-02-23-alpha-1-13-1-is-released.md
Markdown
<|file_sep|>original/script/jsonify-book.py import sys from glob import glob from os.path import basename import json book_dir, out_dir = sys.argv[1:3] files = [basename(x).rstrip(".xhtml") for x in glob(f"{book_dir}/*.xhtml")] json_data = {} for path in files: with open(f"{book_dir}/{path}.json", "r") as meta_...
import sys from glob import glob from os.path import basename import json book_dir, out_dir = sys.argv[1:3] files = [basename(x).rstrip(".xhtml") for x in glob(f"{book_dir}/*.xhtml")] json_data = {} for path in files: with open(f"{book_dir}/{path}-metadata.json", "r") as meta_part: json_data = json.load...
<|file_sep|>original/script/jsonify-book.py import sys from glob import glob from os.path import basename import json book_dir, out_dir = sys.argv[1:3] files = [basename(x).rstrip(".xhtml") for x in glob(f"{book_dir}/*.xhtml")] json_data = {} for path in files: with open(f"{book_dir}/{path}.json", "r") as meta_...
7c02e103a0af86016500625e20a4d7667e568265
script/jsonify-book.py
script/jsonify-book.py
Python
<|file_sep|>original/Modules/SecurityFever/SecurityFever.psm1 <# ----------------- DEBUGGING ONLY -- REMOVED DURING BUILD ----------------- #> # Get and dot source all helper functions (internal) Split-Path -Path $PSCommandPath | Get-ChildItem -Filter 'Helpers' -Directory | Get-ChildItem -Include '*.ps1' -...
<# ----------------- DEBUGGING ONLY -- REMOVED DURING BUILD ----------------- #> # Get and dot source all helper functions (internal) Split-Path -Path $PSCommandPath | Get-ChildItem -Filter 'Helpers' -Directory | Get-ChildItem -Include '*.ps1' -Exclude '*.Tests.*' -Recurse | ForEach-Object { . ...
<|file_sep|>original/Modules/SecurityFever/SecurityFever.psm1 <# ----------------- DEBUGGING ONLY -- REMOVED DURING BUILD ----------------- #> # Get and dot source all helper functions (internal) Split-Path -Path $PSCommandPath | Get-ChildItem -Filter 'Helpers' -Directory | Get-ChildItem -Include '*.ps1' -...
bbc74cd40eb5dfb3c3839e1f463b6cb3386760df
Modules/SecurityFever/SecurityFever.psm1
Modules/SecurityFever/SecurityFever.psm1
PowerShell
<|file_sep|>tests/Http/HomeTest.php.diff original: public function testRedirectLoggedWithoutSelectedDominionToDashboard() updated: public function testRedirectLoggedUserWithoutSelectedDominionToDashboard() <|file_sep|>original/tests/Http/HomeTest.php public function testRedirectLoggedWithoutSelectedDominio...
public function testRedirectLoggedUserWithoutSelectedDominionToDashboard() { $user = $this->createAndImpersonateUser(); $this->actingAs($user) ->get('/') ->assertRedirect('/dashboard'); } public function testRedirectLoggedUserWithSelectedDominionToStatus() ...
<|file_sep|>tests/Http/HomeTest.php.diff original: public function testRedirectLoggedWithoutSelectedDominionToDashboard() updated: public function testRedirectLoggedUserWithoutSelectedDominionToDashboard() <|file_sep|>original/tests/Http/HomeTest.php public function testRedirectLoggedWithoutSelectedDominio...
6af3d2810f265d378ad8c7200fb25d3d0e8c5863
tests/Http/HomeTest.php
tests/Http/HomeTest.php
PHP
<|file_sep|>metadata/com.hearham.repeaterstart.yml.diff original: updated: - versionName: '0.6' versionCode: 6 commit: 236fb160f473add2357b19db40086e8d37cf7d53 subdir: app gradle: - yes <|file_sep|>original/metadata/com.hearham.repeaterstart.yml gradle: - yes - versionName: '0.4' ...
gradle: - yes - versionName: '0.5' versionCode: 5 commit: 22aa2161da3dfac8ff5a90e32eb6c820220d9f16 subdir: app gradle: - yes - versionName: '0.6' versionCode: 6 commit: 236fb160f473add2357b19db40086e8d37cf7d53 subdir: app gradle: - yes AutoUpdateMode: Version...
<|file_sep|>metadata/com.hearham.repeaterstart.yml.diff original: updated: - versionName: '0.6' versionCode: 6 commit: 236fb160f473add2357b19db40086e8d37cf7d53 subdir: app gradle: - yes <|file_sep|>original/metadata/com.hearham.repeaterstart.yml gradle: - yes - versionName: '0.4' ...
064d940e92d5e331e0b135c74a7badf43dd75a94
metadata/com.hearham.repeaterstart.yml
metadata/com.hearham.repeaterstart.yml
YAML
<|file_sep|>original/.rubocop.yml AllCops: RunRailsCops: true Exclude: - 'bin/*' - 'vendor/**/*' Documentation: Enabled: false Lint/HandleExceptions: Exclude: - Rakefile Metrics/LineLength: Max: 120 Style/RescueModifier: Enabled: false <|file_sep|>current/.rubocop.yml AllCops: RunRailsCops...
AllCops: RunRailsCops: true Exclude: - 'bin/*' - 'db/*' - 'vendor/**/*' Documentation: Enabled: false Lint/HandleExceptions: Exclude: - Rakefile Metrics/LineLength: Max: 120 Style/RescueModifier: Enabled: false
<|file_sep|>original/.rubocop.yml AllCops: RunRailsCops: true Exclude: - 'bin/*' - 'vendor/**/*' Documentation: Enabled: false Lint/HandleExceptions: Exclude: - Rakefile Metrics/LineLength: Max: 120 Style/RescueModifier: Enabled: false <|file_sep|>current/.rubocop.yml AllCops: RunRailsCops...
02d311157ea94b35c555bb25e583ce1e11eabebc
.rubocop.yml
.rubocop.yml
YAML
<|file_sep|>original/.forestry/front_matter/templates/pessoal.yml <|file_sep|>current/.forestry/front_matter/templates/pessoal.yml <|file_sep|>updated/.forestry/front_matter/templates/pessoal.yml
--- label: Pessoal hide_body: false fields: - name: layout label: Layout type: text hidden: false default: '' - name: title label: Title type: text hidden: false default: '' - name: date label: Date type: datetime hidden: false default: '' - name: img label: Img
<|file_sep|>original/.forestry/front_matter/templates/pessoal.yml <|file_sep|>current/.forestry/front_matter/templates/pessoal.yml <|file_sep|>updated/.forestry/front_matter/templates/pessoal.yml --- label: Pessoal hide_body: false fields: - name: layout label: Layout type: text hidden: false default: '' - na...
e004b5e285025e222f7c5ba36109741f647f4367
.forestry/front_matter/templates/pessoal.yml
.forestry/front_matter/templates/pessoal.yml
YAML
<|file_sep|>.github/actions/issue_template_bot/index.ts.diff original: console.log("START"); console.log(github.context); updated: core.info("START"); core.info(github.context.eventName); <|file_sep|>original/.github/actions/issue_template_bot/index.ts core.setFailed("Can only run on issues!"); ...
core.setFailed("Can only run on issues!"); return; } const payload = github.context.payload; if (!payload) { core.setFailed("No payload!"); return; } const issue = payload.issue; if (!issue) { core.setFailed("No issue on payload!"); return; }...
<|file_sep|>.github/actions/issue_template_bot/index.ts.diff original: console.log("START"); console.log(github.context); updated: core.info("START"); core.info(github.context.eventName); <|file_sep|>original/.github/actions/issue_template_bot/index.ts core.setFailed("Can only run on issues!"); ...
114e1bd93a84b5e2ee7ac91e7304f91860490fbd
.github/actions/issue_template_bot/index.ts
.github/actions/issue_template_bot/index.ts
TypeScript
<|file_sep|>original/requirements_dev.txt pip==10.0.1 bumpversion==0.5.3 wheel==0.32.3 watchdog==0.9.0 flake8==3.6.0 tox==3.5.3 coverage==4.5.1 Sphinx==1.8.3 cryptography==2.4.1 PyYAML==3.12 pytest==4.0.2 pytest-runner==4.2 vcrpy==2.0.1 twine==1.12.1 <|file_sep|>current/requirements_dev.txt pip==10.0.1 bumpversion==0.5...
pip==10.0.1 bumpversion==0.5.3 wheel==0.32.3 watchdog==0.9.0 flake8==3.6.0 tox==3.5.3 coverage==4.5.1 Sphinx==1.8.3 cryptography==2.4.1 PyYAML==3.12 pytest==4.0.2 pytest-runner==4.2 vcrpy==2.0.1 twine==1.13.0
<|file_sep|>original/requirements_dev.txt pip==10.0.1 bumpversion==0.5.3 wheel==0.32.3 watchdog==0.9.0 flake8==3.6.0 tox==3.5.3 coverage==4.5.1 Sphinx==1.8.3 cryptography==2.4.1 PyYAML==3.12 pytest==4.0.2 pytest-runner==4.2 vcrpy==2.0.1 twine==1.12.1 <|file_sep|>current/requirements_dev.txt pip==10.0.1 bumpversion==0.5...
632a355a70ce3fab1769a39ce6e2901fcd454503
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>packages/gh/ghc-boot-th.yaml.diff original: hash: 63cb626e0ef21f501311d147c9606381a909b06263ffaa930ed9cbce9f6155ba updated: hash: c120f0d15944e770e2b698f5139f0003a86f9e25e5d1a7c6631e442129232748 <|file_sep|>packages/gh/ghc-boot-th.yaml.diff original: Shared functionality between GHC and the @template-hask...
- 8.0.2 - 8.2.1 - 8.2.2 - 8.4.1 - 8.4.2 - 8.4.3 - 8.4.4 - 8.6.1 - 8.6.4 - 8.6.5 author: '' latest: 8.6.5 description-type: haddock description: |- This library contains various bits shared between the @ghc@ and @template-haskell@ libraries. This package exists to ensure that @template-haskell@ has a minimal se...
<|file_sep|>packages/gh/ghc-boot-th.yaml.diff original: hash: 63cb626e0ef21f501311d147c9606381a909b06263ffaa930ed9cbce9f6155ba updated: hash: c120f0d15944e770e2b698f5139f0003a86f9e25e5d1a7c6631e442129232748 <|file_sep|>packages/gh/ghc-boot-th.yaml.diff original: Shared functionality between GHC and the @template-hask...
5e46595e296c2caa4b7823aee07239f553df9bc2
packages/gh/ghc-boot-th.yaml
packages/gh/ghc-boot-th.yaml
YAML
<|file_sep|>lib/assets/javascripts/new-dashboard/components/CodeBlock.vue.diff original: updated: data () { return { codemirror: null, } }, <|file_sep|>lib/assets/javascripts/new-dashboard/components/CodeBlock.vue.diff original: updated: }, beforeDestroy () { this.destroy(); <|file_sep|>orig...
beforeDestroy () { this.destroy(); }, props: { code: { type: String } }, methods: { initialize () { this.codemirror = CodeMirror.fromTextArea(this.$refs.code, defaultOptions); }, destroy () { const codemirrorElement = this.codemirror.doc.cm.getWrapperElement(); ...
<|file_sep|>lib/assets/javascripts/new-dashboard/components/CodeBlock.vue.diff original: updated: data () { return { codemirror: null, } }, <|file_sep|>lib/assets/javascripts/new-dashboard/components/CodeBlock.vue.diff original: updated: }, beforeDestroy () { this.destroy(); <|file_sep|>orig...
eed48707c946ab67a6562ede4c8a36a1ea32ec34
lib/assets/javascripts/new-dashboard/components/CodeBlock.vue
lib/assets/javascripts/new-dashboard/components/CodeBlock.vue
Vue
<|file_sep|>original/settings/language-babel.json { ".source.js.jsx": { "editor": { "commentStart": "// ", "foldEndPattern": "^\\s*\\}|^\\s*\\]|^\\s*\\)", "increaseIndentPattern": "{[^}\"']*$|\\[[^\\]\"']*$|\\([^)\"']*$", "decreaseIndentPattern": "^\\s*(\\s*/[*].*[*]/\\s*)*[}\\])]" } ...
{ ".source.js.jsx": { "editor": { "commentStart": "// ", "foldEndPattern": "^\\s*\\}|^\\s*\\]|^\\s*\\)", "increaseIndentPattern": "{[^}\"']*$|\\[[^\\]\"']*$|\\([^)\"']*$", "decreaseIndentPattern": "^\\s*(\\s*/[*].*[*]/\\s*)*[}\\])]", "nonWordCharacters": "/\\()\"':,.;<>~!@#%^&*|+=[]{...
<|file_sep|>original/settings/language-babel.json { ".source.js.jsx": { "editor": { "commentStart": "// ", "foldEndPattern": "^\\s*\\}|^\\s*\\]|^\\s*\\)", "increaseIndentPattern": "{[^}\"']*$|\\[[^\\]\"']*$|\\([^)\"']*$", "decreaseIndentPattern": "^\\s*(\\s*/[*].*[*]/\\s*)*[}\\])]" } ...
7544639c1861dbdaff8d8e582a1b0e8ed02ee313
settings/language-babel.json
settings/language-babel.json
JSON
<|file_sep|>original/System/Console/CmdArgs/Implicit/Reform.hs {-# LANGUAGE PatternGuards, RecordWildCards #-} module System.Console.CmdArgs.Implicit.Reform(reform) where import System.Console.CmdArgs.Implicit.Local import System.Console.CmdArgs.Implicit.Type import System.Console.CmdArgs.Verbosity import Data.Gener...
{-# LANGUAGE RecordWildCards #-} module System.Console.CmdArgs.Implicit.Reform(reform) where import System.Console.CmdArgs.Implicit.Local import System.Console.CmdArgs.Implicit.Type import System.Console.CmdArgs.Verbosity import Data.Generics.Any import Data.List import Data.Maybe reform :: Prog_ -> CmdArgs Any ->...
<|file_sep|>original/System/Console/CmdArgs/Implicit/Reform.hs {-# LANGUAGE PatternGuards, RecordWildCards #-} module System.Console.CmdArgs.Implicit.Reform(reform) where import System.Console.CmdArgs.Implicit.Local import System.Console.CmdArgs.Implicit.Type import System.Console.CmdArgs.Verbosity import Data.Gener...
7f8beb28d00d2d2ec2d0d81386056c8994dda7db
System/Console/CmdArgs/Implicit/Reform.hs
System/Console/CmdArgs/Implicit/Reform.hs
Haskell
<|file_sep|>original/src/main/ts/ephox/bridge/components/dialog/SelectBox.ts text: string; value: string; } export interface SelectBoxApi extends FormComponentApi { type: 'selectbox'; items: ExternalSelectBoxItem[]; size?: number; } export interface InternalSelectBoxItem extends ExternalSelectBoxItem { te...
text: string; value: string; } export interface SelectBoxApi extends FormComponentApi { type: 'selectbox'; items: ExternalSelectBoxItem[]; size?: number; } interface InternalSelectBoxItem extends ExternalSelectBoxItem { text: string; value: string; } export interface SelectBox extends FormComponent { ...
<|file_sep|>original/src/main/ts/ephox/bridge/components/dialog/SelectBox.ts text: string; value: string; } export interface SelectBoxApi extends FormComponentApi { type: 'selectbox'; items: ExternalSelectBoxItem[]; size?: number; } export interface InternalSelectBoxItem extends ExternalSelectBoxItem { te...
414b0e94dbf38aaa7fd56943f610281e87052752
src/main/ts/ephox/bridge/components/dialog/SelectBox.ts
src/main/ts/ephox/bridge/components/dialog/SelectBox.ts
TypeScript
<|file_sep|>original/requirements/dev_python34.txt -r base.txt mock apache-libcloud>=0.14.0 boto>=2.32.1 boto3>=1.2.1 moto>=0.3.6 SaltPyLint>=v2017.2.29 GitPython>=0.3 pytest git+https://github.com/saltstack/pytest-salt.git@master#egg=pytest-salt <|file_sep|>current/requirements/dev_python34.txt -r base.txt mock apac...
-r base.txt mock apache-libcloud>=0.14.0 boto>=2.32.1 boto3>=1.2.1 moto>=0.3.6 # httpretty Needs to be here for now even though it's a dependency of boto. # A pip install on a fresh system will decide to target httpretty 0.8.10 to # satisfy other requirements, and httpretty 0.8.10 has bugs in setup.py that # prevent i...
<|file_sep|>original/requirements/dev_python34.txt -r base.txt mock apache-libcloud>=0.14.0 boto>=2.32.1 boto3>=1.2.1 moto>=0.3.6 SaltPyLint>=v2017.2.29 GitPython>=0.3 pytest git+https://github.com/saltstack/pytest-salt.git@master#egg=pytest-salt <|file_sep|>current/requirements/dev_python34.txt -r base.txt mock apac...
c09f8e283c829f0522229c115dc6b0589f4fa36b
requirements/dev_python34.txt
requirements/dev_python34.txt
Text
<|file_sep|>original/apps/accessibility/css/themehighcontrast.scss $color-main-background: #fff; $color-background-dark: darken($color-main-background, 30%); $color-background-darker: darken($color-main-background, 30%); $color-text-maxcontrast: $color-main-text; $color-text-light: $color-main-text; $color-text-light...
$color-background-dark: darken($color-main-background, 30%); $color-background-darker: darken($color-main-background, 30%); $color-text-maxcontrast: $color-main-text; $color-text-light: $color-main-text; $color-text-lighter: $color-main-text; $color-loading-light: #ddd; $color-loading-dark: #000; $color-box-shadow: ...
<|file_sep|>original/apps/accessibility/css/themehighcontrast.scss $color-main-background: #fff; $color-background-dark: darken($color-main-background, 30%); $color-background-darker: darken($color-main-background, 30%); $color-text-maxcontrast: $color-main-text; $color-text-light: $color-main-text; $color-text-light...
a05219d24d41f103f68cd38d35d2b9e75b810259
apps/accessibility/css/themehighcontrast.scss
apps/accessibility/css/themehighcontrast.scss
SCSS
<|file_sep|>.travis.yml.diff original: - pip install -q stix==1.2.0.0 - pip install -q stix-validator updated: - pip install stix==1.2.0.1 - pip install stix-validator <|file_sep|>original/.travis.yml - sudo apt-get install libxml2-dev libxslt-dev zlib1g-dev - pip install -q stix==1.2.0.0 - pip install -q...
- sudo apt-get install libxml2-dev libxslt-dev zlib1g-dev - pip install stix==1.2.0.1 - pip install stix-validator script: ./test_idioms.sh branches: only: - master notifications: email: - stix-commits-list@lists.mitre.org webhooks: urls: - https://webhooks.gitter.im/e/1fbfa85a0bb8108a...
<|file_sep|>.travis.yml.diff original: - pip install -q stix==1.2.0.0 - pip install -q stix-validator updated: - pip install stix==1.2.0.1 - pip install stix-validator <|file_sep|>original/.travis.yml - sudo apt-get install libxml2-dev libxslt-dev zlib1g-dev - pip install -q stix==1.2.0.0 - pip install -q...
3ce782c320ebaed39146f09abbbb7b107f426b50
.travis.yml
.travis.yml
YAML
<|file_sep|>original/bookmarks/__init__.py VERSION = (0, 1, 3, "dev") def get_version(): if VERSION[3] != "final": return "%s.%s.%s%s" % (VERSION[0], VERSION[1], VERSION[2], VERSION[3]) else: return "%s.%s.%s" % (VERSION[0], VERSION[1], VERSION[2]) __version__ = get_version() <|file_sep|>curre...
VERSION = (0, 1, 3,) def get_version(): if VERSION[3] != "final": return "%s.%s.%s%s" % (VERSION[0], VERSION[1], VERSION[2], VERSION[3]) else: return "%s.%s.%s" % (VERSION[0], VERSION[1], VERSION[2]) __version__ = get_version()
<|file_sep|>original/bookmarks/__init__.py VERSION = (0, 1, 3, "dev") def get_version(): if VERSION[3] != "final": return "%s.%s.%s%s" % (VERSION[0], VERSION[1], VERSION[2], VERSION[3]) else: return "%s.%s.%s" % (VERSION[0], VERSION[1], VERSION[2]) __version__ = get_version() <|file_sep|>curre...
5e4e246b5b30afc946e202696e84000a715bc895
bookmarks/__init__.py
bookmarks/__init__.py
Python
<|file_sep|>src/main/java/novoda/lib/sqliteprovider/util/SQLFile.java.diff original: import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.io.Reader; updated: import java.io.*; <|file_sep|>original/src/main/java/novoda/lib/sqliteprovider/util/SQLFile.java...
private List<String> statements; private boolean inComment = false; public void parse(Reader in) throws IOException { reader = new BufferedReader(in); statements = new ArrayList<String>(); String line = null; while ((line = reader.readLine()) != null) { line = ...
<|file_sep|>src/main/java/novoda/lib/sqliteprovider/util/SQLFile.java.diff original: import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.io.Reader; updated: import java.io.*; <|file_sep|>original/src/main/java/novoda/lib/sqliteprovider/util/SQLFile.java...
3ed1a2f80593f7960f3a3e06c818f8ab893c0687
src/main/java/novoda/lib/sqliteprovider/util/SQLFile.java
src/main/java/novoda/lib/sqliteprovider/util/SQLFile.java
Java
<|file_sep|>original/lib/auth/auth-key.js // AuthKey class // // This class represents the Authentication Key require('requirish')._(module); var utility = require('lib/utility'); function AuthKey(id, value) { this.id = id; this.value = value; } AuthKey.prototype.toString = function() { return '{ id...
this.id = id; this.value = value; } AuthKey.prototype.toString = function() { return '{ id:' + this.id.toString('hex') + ', value:' + this.value.toString('hex') + ' }'; }; AuthKey.prototype.derivateAesKey = function(msgKey, fromServer) { var aKey = this.value; var x = fromServer ? ...
<|file_sep|>original/lib/auth/auth-key.js // AuthKey class // // This class represents the Authentication Key require('requirish')._(module); var utility = require('lib/utility'); function AuthKey(id, value) { this.id = id; this.value = value; } AuthKey.prototype.toString = function() { return '{ id...
e4fa5754912ec1d0b94e668599030c9600422281
lib/auth/auth-key.js
lib/auth/auth-key.js
JavaScript
<|file_sep|>original/fpr/migrations/0019_fix_gs_command.py <|file_sep|>current/fpr/migrations/0019_fix_gs_command.py <|file_sep|>updated/fpr/migrations/0019_fix_gs_command.py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations def data_migration(apps, schema_editor): """Fix the Ghostscript normalization command "Command Transcoding to pdfa with Ghostscript" so that it documents its true output format as PDF/A 1b (fmt/354) and not P...
<|file_sep|>original/fpr/migrations/0019_fix_gs_command.py <|file_sep|>current/fpr/migrations/0019_fix_gs_command.py <|file_sep|>updated/fpr/migrations/0019_fix_gs_command.py # -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations def data_migration(apps, schema_editor): ...
cb815258413d8ff22a677663be57238b8f8f3654
fpr/migrations/0019_fix_gs_command.py
fpr/migrations/0019_fix_gs_command.py
Python
<|file_sep|>original/src/Surfnet/StepupSelfService/SelfServiceBundle/Exception/UnexpectedIssuerException.php <|file_sep|>current/src/Surfnet/StepupSelfService/SelfServiceBundle/Exception/UnexpectedIssuerException.php <|file_sep|>updated/src/Surfnet/StepupSelfService/SelfServiceBundle/Exception/UnexpectedIssuerExcepti...
<?php /** * Copyright 2016 SURFnet B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
<|file_sep|>original/src/Surfnet/StepupSelfService/SelfServiceBundle/Exception/UnexpectedIssuerException.php <|file_sep|>current/src/Surfnet/StepupSelfService/SelfServiceBundle/Exception/UnexpectedIssuerException.php <|file_sep|>updated/src/Surfnet/StepupSelfService/SelfServiceBundle/Exception/UnexpectedIssuerExcepti...
90958efc55892a0ea4502e3cb6032b80f4ac9d2b
src/Surfnet/StepupSelfService/SelfServiceBundle/Exception/UnexpectedIssuerException.php
src/Surfnet/StepupSelfService/SelfServiceBundle/Exception/UnexpectedIssuerException.php
PHP
<|file_sep|>original/README.md Math24 ====== Solver for the Math 24 game This repository holds the source code for the math24 ruby gem. math24 includes classes for both generating 24 Game problems as well as checking solutions. It also installs an executable, math24, that will allow the user to play a command line v...
Math24 ====== Math 24 game and solver This repository holds the source code for the math24 ruby gem. math24 includes classes for both generating 24 Game problems as well as checking solutions. It also installs an executable, math24, that will allow the user to play a command line version of the 24 Game. Installing ...
<|file_sep|>original/README.md Math24 ====== Solver for the Math 24 game This repository holds the source code for the math24 ruby gem. math24 includes classes for both generating 24 Game problems as well as checking solutions. It also installs an executable, math24, that will allow the user to play a command line v...
2e259e209afd380a2bb0a494c2c85ad38d83f17b
README.md
README.md
Markdown
<|file_sep|>original/src/main/resources/templates/guestbook_display.html <div th:if="${entries.isEmpty()}"> <p>There are no comments in the Guestbook. What a pity.</p> </div> <div th:if="${!entries.isEmpty()}"> <p>Current comments in the Guestbook:</p> <table> <tr> <th>User</th><th>Com...
<div th:if="${entries.isEmpty()}"> <p>There are no comments in the Guestbook. What a pity.</p> </div> <div th:if="${!entries.isEmpty()}"> <p>Current comments in the Guestbook:</p> <table> <tr> <th>User</th><th>Comment</th><th>Date</th><th></th><th></th> </tr> <tr th:eac...
<|file_sep|>original/src/main/resources/templates/guestbook_display.html <div th:if="${entries.isEmpty()}"> <p>There are no comments in the Guestbook. What a pity.</p> </div> <div th:if="${!entries.isEmpty()}"> <p>Current comments in the Guestbook:</p> <table> <tr> <th>User</th><th>Com...
e1c7e3046ce2c5756fb73ee8fcfb36ff9181147c
src/main/resources/templates/guestbook_display.html
src/main/resources/templates/guestbook_display.html
HTML
<|file_sep|>packages/sa/salak.yaml.diff original: hash: f6ab4af725407afbc89f7fbff0c21f1db2818e4b97648eda5d91857633701d0e updated: hash: 65ae44990d5ad1fcd2e3be09b1709146eba8052c0f3497c054bef28230df272c <|file_sep|>packages/sa/salak.yaml.diff original: - '0.1.3' updated: - '0.1.4' <|file_sep|>packages/sa/salak.yaml.diff ...
text: -any filepath: -any scientific: -any aeson: -any yaml: -any vector: -any directory: -any all-versions: - '0.1.4' author: Daniel YU latest: '0.1.4' description-type: markdown description: ! '# salak [![Hackage](https://img.shields.io/badge/hackage-v0.1.4-orange.svg)](https://hackage.haskell.org/p...
<|file_sep|>packages/sa/salak.yaml.diff original: hash: f6ab4af725407afbc89f7fbff0c21f1db2818e4b97648eda5d91857633701d0e updated: hash: 65ae44990d5ad1fcd2e3be09b1709146eba8052c0f3497c054bef28230df272c <|file_sep|>packages/sa/salak.yaml.diff original: - '0.1.3' updated: - '0.1.4' <|file_sep|>packages/sa/salak.yaml.diff ...
173df59a384dab2cba26680b4e8622869fa35a6d
packages/sa/salak.yaml
packages/sa/salak.yaml
YAML
<|file_sep|>original/src/privatepaste_home.erl -module(privatepaste_home). -behavior(cowboy_http_handler). -export([init/3]). -export([handle/2]). -export([terminate/3]). init(_Type, Req, _Opts) -> {ok, Req, undefined_state}. handle(Req, State) -> {ok, Body} = index_dtl:render([]), Headers = [{<<"Conten...
-module(privatepaste_home). -behavior(cowboy_http_handler). -export([init/3]). -export([handle/2]). -export([terminate/3]). init(_Type, Req, _Opts) -> {ok, Req, undefined_state}. handle(Req, State) -> {ok, Body} = base_dtl:render([]), Headers = [{<<"Content-Type">>, <<"text/html">>}], {ok, Req2} = c...
<|file_sep|>original/src/privatepaste_home.erl -module(privatepaste_home). -behavior(cowboy_http_handler). -export([init/3]). -export([handle/2]). -export([terminate/3]). init(_Type, Req, _Opts) -> {ok, Req, undefined_state}. handle(Req, State) -> {ok, Body} = index_dtl:render([]), Headers = [{<<"Conten...
efada0993f19b406660f2796f9bd8ef018f3a112
src/privatepaste_home.erl
src/privatepaste_home.erl
Erlang
<|file_sep|>.travis.yml.diff original: # - ARGS="--resolver lts-3" updated: <|file_sep|>original/.travis.yml addons: apt: packages: - libgmp-dev # Just use the default version of PostgreSQL installed on Travis CI. # postgresql: "9.1" env: - ARGS="" # - ARGS="--resolver lts-3" - ARGS="--resolver ...
addons: apt: packages: - libgmp-dev # Just use the default version of PostgreSQL installed on Travis CI. # postgresql: "9.1" env: - ARGS="" - ARGS="--resolver lts-4" - ARGS="--resolver lts-5" - ARGS="--resolver lts" - ARGS="--resolver nightly" before_install: - mkdir -p $HOME/.local/bin - ...
<|file_sep|>.travis.yml.diff original: # - ARGS="--resolver lts-3" updated: <|file_sep|>original/.travis.yml addons: apt: packages: - libgmp-dev # Just use the default version of PostgreSQL installed on Travis CI. # postgresql: "9.1" env: - ARGS="" # - ARGS="--resolver lts-3" - ARGS="--resolver ...
b51f7cf800d1f82973b8e2f5809fb92871e6640f
.travis.yml
.travis.yml
YAML
<|file_sep|>original/lib/franklin/config.rb class Config DEFAULT_CONFIG_FILE = File.join(Dir.home, ".franklin").freeze attr_reader :libraries def initialize(data) @libraries = data.fetch(:libraries).map { |library| Library.new(library.fetch(:name), library.fetch(:url)) } end ...
class Config DEFAULT_CONFIG_FILE = File.join(Dir.home, ".franklin").freeze attr_reader :libraries def initialize(data) @libraries = data.fetch(:libraries).map { |library| Library.new(library.fetch(:name), library.fetch(:url)) } end class << self def from_yaml(yaml) ...
<|file_sep|>original/lib/franklin/config.rb class Config DEFAULT_CONFIG_FILE = File.join(Dir.home, ".franklin").freeze attr_reader :libraries def initialize(data) @libraries = data.fetch(:libraries).map { |library| Library.new(library.fetch(:name), library.fetch(:url)) } end ...
814e0b19c3faca6a94d460cfeb85a61a06dac192
lib/franklin/config.rb
lib/franklin/config.rb
Ruby
<|file_sep|>original/spec/javascripts/support/jasmine_helper.rb #Use this file to set/override Jasmine configuration options #You can remove it if you don't need it. #This file is loaded *after* jasmine.yml is interpreted. # #Example: using a different boot file. #Jasmine.configure do |config| # config.boot_dir = '/a...
#Use this file to set/override Jasmine configuration options #You can remove it if you don't need it. #This file is loaded *after* jasmine.yml is interpreted. # #Example: using a different boot file. #Jasmine.configure do |config| # config.boot_dir = '/absolute/path/to/boot_dir' # config.boot_files = lambda { ['/ab...
<|file_sep|>original/spec/javascripts/support/jasmine_helper.rb #Use this file to set/override Jasmine configuration options #You can remove it if you don't need it. #This file is loaded *after* jasmine.yml is interpreted. # #Example: using a different boot file. #Jasmine.configure do |config| # config.boot_dir = '/a...
1abede166c8de29d26bc54a9676b58e00d693e19
spec/javascripts/support/jasmine_helper.rb
spec/javascripts/support/jasmine_helper.rb
Ruby
<|file_sep|>original/docs/tips_and_tricks.rst ========================== Tips and Tricks ========================== There are a few tips and tricks, mostly having to do with making cool plots. One main interesting plot is replicating Figure XX from Czekala et al. 2015. <|file_sep|>current/docs/tips_and_tricks.rst ==...
========================== Tips and Tricks ========================== There are a few tips and tricks, mostly having to do with making cool plots. Time how long it takes your script to run. =========================================== Just calling `time` before your script will output the running time: .. code-blo...
<|file_sep|>original/docs/tips_and_tricks.rst ========================== Tips and Tricks ========================== There are a few tips and tricks, mostly having to do with making cool plots. One main interesting plot is replicating Figure XX from Czekala et al. 2015. <|file_sep|>current/docs/tips_and_tricks.rst ==...
5e2894f5061756e804e29a5d93acaabebabe011f
docs/tips_and_tricks.rst
docs/tips_and_tricks.rst
reStructuredText
<|file_sep|>original/manifest.json "icons": { "16": "icons/stopflash_16.png", "32": "icons/stopflash_32.png", "48": "icons/stopflash_48.png", "64": "icons/stopflash_64.png", "128": "icons/stopflash_128.png" }, "permissions": [ "\u003Call_urls\u003E" ]...
"icons": { "16": "icons/stopflash_16.png", "32": "icons/stopflash_32.png", "48": "icons/stopflash_48.png", "64": "icons/stopflash_64.png", "128": "icons/stopflash_128.png" }, "permissions": [ "activeTab" ], "content_scripts": [ { ...
<|file_sep|>original/manifest.json "icons": { "16": "icons/stopflash_16.png", "32": "icons/stopflash_32.png", "48": "icons/stopflash_48.png", "64": "icons/stopflash_64.png", "128": "icons/stopflash_128.png" }, "permissions": [ "\u003Call_urls\u003E" ]...
477929e6f7ad62a9c2f75095dd95fc9a1599a851
manifest.json
manifest.json
JSON
<|file_sep|>.travis.yml.diff original: - scala: 2.10.5 updated: - scala: 2.10.6 <|file_sep|>original/.travis.yml sudo: false language: scala matrix: include: - scala: 2.10.5 script: ./sbt ++$TRAVIS_SCALA_VERSION clean compile test && ./sbt ++$TRAVIS_SCALA_VERSION core:mima-report-binary-issues ...
sudo: false language: scala matrix: include: - scala: 2.10.6 script: ./sbt ++$TRAVIS_SCALA_VERSION clean compile test && ./sbt ++$TRAVIS_SCALA_VERSION core:mima-report-binary-issues - scala: 2.11.8 script: ./sbt ++$TRAVIS_SCALA_VERSION clean compile test && ./sbt ++$TRAVIS_SCALA_VERSION core:mima...
<|file_sep|>.travis.yml.diff original: - scala: 2.10.5 updated: - scala: 2.10.6 <|file_sep|>original/.travis.yml sudo: false language: scala matrix: include: - scala: 2.10.5 script: ./sbt ++$TRAVIS_SCALA_VERSION clean compile test && ./sbt ++$TRAVIS_SCALA_VERSION core:mima-report-binary-issues ...
f81fbaf8a7b0036c0a2ee8b1f22b8a0f3af90d8b
.travis.yml
.travis.yml
YAML
<|file_sep|>original/project/MyBuild.scala <|file_sep|>current/project/MyBuild.scala <|file_sep|>updated/project/MyBuild.scala
import sbt._ import Keys._ object MyBuild extends Build { // ... val getJars = TaskKey[Unit]("get-jars") val getJarsTask = getJars <<= (target, fullClasspath in Runtime) map { (target, cp) => println("Target path is: " + target) println("Full classpath is: " + cp.map(_.data).mkString(":")) } lazy val ...
<|file_sep|>original/project/MyBuild.scala <|file_sep|>current/project/MyBuild.scala <|file_sep|>updated/project/MyBuild.scala import sbt._ import Keys._ object MyBuild extends Build { // ... val getJars = TaskKey[Unit]("get-jars") val getJarsTask = getJars <<= (target, fullClasspath in Runtime) map { (target, ...
316122a20de3e92241836eac926c95f0039230c1
project/MyBuild.scala
project/MyBuild.scala
Scala
<|file_sep|>original/src/stubs/gkx.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format * @flow strict */ 'use strict'; module.exports = function(name: string) { if ...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format * @flow strict */ 'use strict'; module.exports = function (name: string) { if (typeof window !== 'undefined' && win...
<|file_sep|>original/src/stubs/gkx.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format * @flow strict */ 'use strict'; module.exports = function(name: string) { if ...
47f1179d232b5d4693f710b5393d8e0947923155
src/stubs/gkx.js
src/stubs/gkx.js
JavaScript
<|file_sep|>original/actionpack/test/controller/api/with_helpers_test.rb <|file_sep|>current/actionpack/test/controller/api/with_helpers_test.rb <|file_sep|>updated/actionpack/test/controller/api/with_helpers_test.rb
require "abstract_unit" module ApiWithHelper def my_helper "helper" end end class WithHelpersController < ActionController::API include ActionController::Helpers helper ApiWithHelper def with_helpers render plain: self.class.helpers.my_helper end end class WithHelpersTest < ActionController::Tes...
<|file_sep|>original/actionpack/test/controller/api/with_helpers_test.rb <|file_sep|>current/actionpack/test/controller/api/with_helpers_test.rb <|file_sep|>updated/actionpack/test/controller/api/with_helpers_test.rb require "abstract_unit" module ApiWithHelper def my_helper "helper" end end class WithHelpe...
84bfb81a62c142e63569863535f0204669bd006c
actionpack/test/controller/api/with_helpers_test.rb
actionpack/test/controller/api/with_helpers_test.rb
Ruby
<|file_sep|>original/index.html <!DOCTYPE html> <head> <meta charset="utf-8"> <title>Flappy Bird</title> <link rel="shortcut icon" href="favicon.ico"/> <style type="text/css"> * { margin: 0; padding: 0; } </style> </head> <body> <script type="text/javascript"> var Clay = Clay || {}; Clay.gameKey = "...
<!DOCTYPE html> <head> <meta charset="utf-8"> <title>Flappy Bird</title> <link rel="shortcut icon" href="/favicon.ico" /> <style type="text/css"> * { margin: 0; padding: 0; } </style> </head> <body> <script type="text/javascript"> var Clay = Clay || {}; Clay.gameKey = "gflappybird"; Clay.readyFunc...
<|file_sep|>original/index.html <!DOCTYPE html> <head> <meta charset="utf-8"> <title>Flappy Bird</title> <link rel="shortcut icon" href="favicon.ico"/> <style type="text/css"> * { margin: 0; padding: 0; } </style> </head> <body> <script type="text/javascript"> var Clay = Clay || {}; Clay.gameKey = "...
b47e8f682477f520bdab641d7d2350f945d8f4cf
index.html
index.html
HTML
<|file_sep|>original/FileStorage/package.json { "name": "filestorage", "version": "1.0.0", "homepage": "http://www.onlyoffice.com", "private": true, "dependencies": { "s3rver": "^0.0.5", "config": "^1.15.0" } } <|file_sep|>current/FileStorage/package.json { "name": "filestorage", "version": "1.0.0...
{ "name": "filestorage", "version": "1.0.0", "homepage": "http://www.onlyoffice.com", "private": true, "dependencies": { "s3rver": "https://github.com/agolybev/s3rver/archive/v0.0.6.tar.gz", "config": "^1.15.0" } }
<|file_sep|>original/FileStorage/package.json { "name": "filestorage", "version": "1.0.0", "homepage": "http://www.onlyoffice.com", "private": true, "dependencies": { "s3rver": "^0.0.5", "config": "^1.15.0" } } <|file_sep|>current/FileStorage/package.json { "name": "filestorage", "version": "1.0.0...
8ebdcfb862540208cfd96844032075df7f1bd7e9
FileStorage/package.json
FileStorage/package.json
JSON
<|file_sep|>original/javascript/application.js <|file_sep|>current/javascript/application.js <|file_sep|>updated/javascript/application.js
var board = [ [], [], [], [], [], [], [] ] // Click on column //jquery will know that you clicked on a specific column //CSS will provide links for the specific columns //(#:id).on('click', function(){ // board.(this.attr[:id]) // }) // add turn counter // How to know we've won // everytime a piece is ...
<|file_sep|>original/javascript/application.js <|file_sep|>current/javascript/application.js <|file_sep|>updated/javascript/application.js var board = [ [], [], [], [], [], [], [] ] // Click on column //jquery will know that you clicked on a specific column //CSS will provide links for the specific col...
36ebd5b2843c37a60470d1638f1c4c5a4fbab178
javascript/application.js
javascript/application.js
JavaScript
<|file_sep|>original/jupyterlab/tests/build_extension.js // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. var buildExtension = require('jupyterlab-extension-builder').buildExtension; var path = require('path'); buildExtension({ name: 'mockextension', entryPat...
// Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. var buildExtension = require('jupyterlab-extension-builder').buildExtension; var path = require('path'); buildExtension({ name: 'mockextension', entry: './mockextension/index.js', outputDir: './mockextension/...
<|file_sep|>original/jupyterlab/tests/build_extension.js // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. var buildExtension = require('jupyterlab-extension-builder').buildExtension; var path = require('path'); buildExtension({ name: 'mockextension', entryPat...
76182f09b7c0e59dce2bce21d6842b5a0423bf13
jupyterlab/tests/build_extension.js
jupyterlab/tests/build_extension.js
JavaScript
<|file_sep|>src/Serializer/JsonSerializer.php.diff original: $data = json_decode($data, true); updated: $value = json_decode($data, true); <|file_sep|>original/src/Serializer/JsonSerializer.php * @return string */ public function serialize($data) { return json_encode($data); ...
/** * @param string $data * @param string $type * @return mixed */ public function deserialize($data, $type) { $value = json_decode($data, true); if (method_exists($type, 'jsonDeserialize')) { return $type::jsonDeserialize($value, $this); } i...
<|file_sep|>src/Serializer/JsonSerializer.php.diff original: $data = json_decode($data, true); updated: $value = json_decode($data, true); <|file_sep|>original/src/Serializer/JsonSerializer.php * @return string */ public function serialize($data) { return json_encode($data); ...
09792e393eb96abd98db0aa959b613becbc2a192
src/Serializer/JsonSerializer.php
src/Serializer/JsonSerializer.php
PHP
<|file_sep|>original/Problem_04_palindrome/problem_4.py <|file_sep|>current/Problem_04_palindrome/problem_4.py <|file_sep|>updated/Problem_04_palindrome/problem_4.py
def is_palindrome(number): reversed_number = 0 n = number while(n): reversed_number = reversed_number * 10 + (n % 10) #print("reversed_number:", reversed_number) n //= 10 #print("n:", n) return number == reversed_number largest_palindrome = -1 for i in range(100, 1000): #print("i:", i) ...
<|file_sep|>original/Problem_04_palindrome/problem_4.py <|file_sep|>current/Problem_04_palindrome/problem_4.py <|file_sep|>updated/Problem_04_palindrome/problem_4.py def is_palindrome(number): reversed_number = 0 n = number while(n): reversed_number = reversed_number * 10 + (n % 10) #print("reversed_n...
9f6673afa14dda9c4d32b3b30bd8e4f1a0489269
Problem_04_palindrome/problem_4.py
Problem_04_palindrome/problem_4.py
Python
<|file_sep|>original/2-may-modular-design.md <|file_sep|>current/2-may-modular-design.md <|file_sep|>updated/2-may-modular-design.md
--- title: Modular design banner: https://gallery.mailchimp.com/0b968f9b1f0f6e934c7ebbef6/images/27df0363-9902-4e90-bcb4-12876f3dc62a.png intro: 'Modular typography and grid systems are the backbone of modern responsive web design, helping maintain consistent layouts and simplifying the design process for many devices....
<|file_sep|>original/2-may-modular-design.md <|file_sep|>current/2-may-modular-design.md <|file_sep|>updated/2-may-modular-design.md --- title: Modular design banner: https://gallery.mailchimp.com/0b968f9b1f0f6e934c7ebbef6/images/27df0363-9902-4e90-bcb4-12876f3dc62a.png intro: 'Modular typography and grid systems are...
15a61c99ab939a41a61da81c7a449778653d0e38
2-may-modular-design.md
2-may-modular-design.md
Markdown
<|file_sep|>original/docs/testing-your-application.md <|file_sep|>current/docs/testing-your-application.md <|file_sep|>updated/docs/testing-your-application.md
## Testing your application ### Used libraries RSK comes with the following libraries for testing purposes: - [Mocha](https://mochajs.org/) - Node.js and browser test runner - [Chai](http://chaijs.com/) - Assertion library - [Enzyme](https://github.com/airbnb/enzyme) - Testing utilities for React You may also want ...
<|file_sep|>original/docs/testing-your-application.md <|file_sep|>current/docs/testing-your-application.md <|file_sep|>updated/docs/testing-your-application.md ## Testing your application ### Used libraries RSK comes with the following libraries for testing purposes: - [Mocha](https://mochajs.org/) - Node.js and b...
d0e593a402a64f3d566e79eabd2cdfe103ef2525
docs/testing-your-application.md
docs/testing-your-application.md
Markdown
<|file_sep|>original/app/assets/stylesheets/utils/_utils.scss @mixin color($font-color, $bg-color, $is_imp: false) { @if $is_imp == false { color: $font-color; background-color: $bg-color; } @else { color: $font-color !important; background-color: $bg-color !important; } } //buttons @mixin butt...
@mixin color($font-color, $bg-color, $is_imp: false) { @if $is_imp == false { color: $font-color; background-color: $bg-color; } @else { color: $font-color !important; background-color: $bg-color !important; } } //buttons @mixin button-focus($color, $bg-color, $number) { color: lighten($col...
<|file_sep|>original/app/assets/stylesheets/utils/_utils.scss @mixin color($font-color, $bg-color, $is_imp: false) { @if $is_imp == false { color: $font-color; background-color: $bg-color; } @else { color: $font-color !important; background-color: $bg-color !important; } } //buttons @mixin butt...
8eb41d6d0c7056d9524ed6454512e1e5aab3ebac
app/assets/stylesheets/utils/_utils.scss
app/assets/stylesheets/utils/_utils.scss
SCSS
<|file_sep|>packages/shared/lib/browser/supported.js.diff original: import { getBrowser, isIE11, isSafari } from '../helpers/browser'; updated: import { isIE11 } from '../helpers/browser'; <|file_sep|>packages/shared/lib/browser/supported.js.diff original: const browser = getBrowser(); const major = parseInt(br...
import { isIE11 } from '../helpers/browser'; /** * This file is included in the main bundle. Its main purpose is to find out if the main bundle could execute, * or if it errored out due to a Syntax Error since the main bundle is only compiled against a specific list * of browsers. We also check some specific browse...
<|file_sep|>packages/shared/lib/browser/supported.js.diff original: import { getBrowser, isIE11, isSafari } from '../helpers/browser'; updated: import { isIE11 } from '../helpers/browser'; <|file_sep|>packages/shared/lib/browser/supported.js.diff original: const browser = getBrowser(); const major = parseInt(br...
59daf4fc3165dbb877f5bd122a4877d36e9e8ade
packages/shared/lib/browser/supported.js
packages/shared/lib/browser/supported.js
JavaScript
<|file_sep|>metadata/org.secuso.privacyfriendlypin.txt.diff original: updated: Build:1.3,4 commit=v1.3 subdir=app gradle=yes <|file_sep|>original/metadata/org.secuso.privacyfriendlypin.txt It is part of the Privacy Friendly Apps developed by the SECUSO research group of the Technische Universtität Darmsta...
Repo:https://github.com/SecUSo/privacy-friendly-pin-mnemonic Build:1.1,2 commit=v1.1 subdir=app gradle=yes Build:1.2,3 commit=v1.2 subdir=app gradle=yes Build:1.3,4 commit=v1.3 subdir=app gradle=yes Auto Update Mode:Version v%v Update Check Mode:Tags Current Version:1.3 Current V...
<|file_sep|>metadata/org.secuso.privacyfriendlypin.txt.diff original: updated: Build:1.3,4 commit=v1.3 subdir=app gradle=yes <|file_sep|>original/metadata/org.secuso.privacyfriendlypin.txt It is part of the Privacy Friendly Apps developed by the SECUSO research group of the Technische Universtität Darmsta...
950b76eb377a337eb6c9b3ffbb82d7ada35fa7b7
metadata/org.secuso.privacyfriendlypin.txt
metadata/org.secuso.privacyfriendlypin.txt
Text
<|file_sep|>src/cluster/connectionBuilder.js.diff original: if (typeof sasl === 'function') { sasl = await sasl() } updated: <|file_sep|>original/src/cluster/connectionBuilder.js const randomBroker = list[Math.floor(Math.random() * list.length)] host = randomBroker.split(':')[0] ...
const randomBroker = list[Math.floor(Math.random() * list.length)] host = randomBroker.split(':')[0] port = Number(randomBroker.split(':')[1]) } return new Connection({ host, port, rack, sasl: typeof sasl === 'function' ? await sasl() : sasl, ...
<|file_sep|>src/cluster/connectionBuilder.js.diff original: if (typeof sasl === 'function') { sasl = await sasl() } updated: <|file_sep|>original/src/cluster/connectionBuilder.js const randomBroker = list[Math.floor(Math.random() * list.length)] host = randomBroker.split(':')[0] ...
bc2243b624c4fa62fb0807d12c6dfec20d47138d
src/cluster/connectionBuilder.js
src/cluster/connectionBuilder.js
JavaScript
<|file_sep|>original/src/OpenConext/EngineBlockBundle/Controller/AuthenticationLoopThrottlingController.php <|file_sep|>current/src/OpenConext/EngineBlockBundle/Controller/AuthenticationLoopThrottlingController.php <|file_sep|>updated/src/OpenConext/EngineBlockBundle/Controller/AuthenticationLoopThrottlingController....
<?php /** * Copyright 2016 SURFnet B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
<|file_sep|>original/src/OpenConext/EngineBlockBundle/Controller/AuthenticationLoopThrottlingController.php <|file_sep|>current/src/OpenConext/EngineBlockBundle/Controller/AuthenticationLoopThrottlingController.php <|file_sep|>updated/src/OpenConext/EngineBlockBundle/Controller/AuthenticationLoopThrottlingController....
9153980e5756b9d030f08744f65dc261aba3ded2
src/OpenConext/EngineBlockBundle/Controller/AuthenticationLoopThrottlingController.php
src/OpenConext/EngineBlockBundle/Controller/AuthenticationLoopThrottlingController.php
PHP
<|file_sep|>original/requirements.txt django==1.7.8 mezzanine==3.1.10 django-simple-captcha==0.4.3 django_debug_toolbar==1.2.2 django-rq==0.8.0 PyMySQL==0.6.3 python-dateutil icalendar==3.8.4 -e git+https://github.com/jonge-democraten/mezzanine-fullcalendar@v0.6.1#egg=fullcalendar -e git+https://github.com/rbarrois/pyt...
django==1.7.8 mezzanine==3.1.10 django-simple-captcha==0.4.3 django_debug_toolbar==1.2.2 django-rq==0.8.0 PyMySQL==0.6.3 python-dateutil icalendar==3.8.4 -e git+https://github.com/jonge-democraten/mezzanine-fullcalendar@v0.6.2#egg=fullcalendar -e git+https://github.com/rbarrois/python-ldap@py3#egg=python-ldap -e git+ht...
<|file_sep|>original/requirements.txt django==1.7.8 mezzanine==3.1.10 django-simple-captcha==0.4.3 django_debug_toolbar==1.2.2 django-rq==0.8.0 PyMySQL==0.6.3 python-dateutil icalendar==3.8.4 -e git+https://github.com/jonge-democraten/mezzanine-fullcalendar@v0.6.1#egg=fullcalendar -e git+https://github.com/rbarrois/pyt...
3d7b85d0dd4d98557b0fd75cf9fc3b29c9b5a9cc
requirements.txt
requirements.txt
Text
<|file_sep|>src/main/scala/latis/reader/tsml/ml/TsmlResolver.scala.diff original: def fromUrl(url: URL) = Tsml(url) updated: def fromUrl(url: URL): Tsml = Tsml(url) <|file_sep|>src/main/scala/latis/reader/tsml/ml/TsmlResolver.scala.diff original: def fromPath(path: String) = { updated: def fromPath(path: String...
case url: URL => url.toString case null => { //Try looking in the working directory. //Make sure it exists, otherwise this would become a catch-all val file = scala.util.Properties.userDir + File.separator + path if (new File(file).exists) "file:" + file //TODO: use java7 Fi...
<|file_sep|>src/main/scala/latis/reader/tsml/ml/TsmlResolver.scala.diff original: def fromUrl(url: URL) = Tsml(url) updated: def fromUrl(url: URL): Tsml = Tsml(url) <|file_sep|>src/main/scala/latis/reader/tsml/ml/TsmlResolver.scala.diff original: def fromPath(path: String) = { updated: def fromPath(path: String...
bc6b078df3611da4489447690693232a238dc983
src/main/scala/latis/reader/tsml/ml/TsmlResolver.scala
src/main/scala/latis/reader/tsml/ml/TsmlResolver.scala
Scala
<|file_sep|>original/app/views/live/events/_live_entry_button_cluster.html.erb <%= link_to 'View Event', event_path(@event), class: 'btn btn-sm btn-primary' %> <div class="btn-group"> <%= link_to 'Live entry', live_entry_live_event_path(@event), disabled: page == 'live_entry', class: 'btn btn-sm btn-warning' %> <%=...
<%= link_to 'Admin', stage_event_path(@event), class: 'btn btn-sm btn-primary' %> <div class="btn-group"> <%= link_to 'Live entry', live_entry_live_event_path(@event), disabled: page == 'live_entry', class: 'btn btn-sm btn-warning' %> <%= link_to 'Progress', progress_report_live_event_path(@event), disabled: page =...
<|file_sep|>original/app/views/live/events/_live_entry_button_cluster.html.erb <%= link_to 'View Event', event_path(@event), class: 'btn btn-sm btn-primary' %> <div class="btn-group"> <%= link_to 'Live entry', live_entry_live_event_path(@event), disabled: page == 'live_entry', class: 'btn btn-sm btn-warning' %> <%=...
584d9177bfa95844827f56ee1add99296834dc84
app/views/live/events/_live_entry_button_cluster.html.erb
app/views/live/events/_live_entry_button_cluster.html.erb
HTML+ERB
<|file_sep|>config.mk.diff original: PREFIX ?= /usr MANPREFIX := $(PREFIX)/man updated: PREFIX = /usr MANPREFIX = $(PREFIX)/man <|file_sep|>config.mk.diff original: CC ?= cc LD := $(CC) updated: CC = cc LD = $(CC) <|file_sep|>original/config.mk PREFIX ?= /usr MANPREFIX := $(PREFIX)/man CC ?= c...
PREFIX = /usr MANPREFIX = $(PREFIX)/man CC = cc LD = $(CC) CFLAGS = -std=c99 -pedantic -Wall -Os LDFLAGS = -lxcb
<|file_sep|>config.mk.diff original: PREFIX ?= /usr MANPREFIX := $(PREFIX)/man updated: PREFIX = /usr MANPREFIX = $(PREFIX)/man <|file_sep|>config.mk.diff original: CC ?= cc LD := $(CC) updated: CC = cc LD = $(CC) <|file_sep|>original/config.mk PREFIX ?= /usr MANPREFIX := $(PREFIX)/man CC ?= c...
43cfe64796c8df2648071aa15983e0ff8b998858
config.mk
config.mk
Makefile
<|file_sep|>original/.circleci/config.yml version: 2 jobs: build: docker: - image: abcum/circle-golang:latest environment: GOOGLE_APPLICATION_CREDENTIALS: ~/gcloud-service-key.json working_directory: /go/src/github.com/abcum/syncr steps: - checkout - run: name...
version: 2 jobs: build: docker: - image: abcum/circle-golang:latest environment: GOOGLE_APPLICATION_CREDENTIALS: /root/gcloud-service-key.json working_directory: /go/src/github.com/abcum/syncr steps: - checkout - run: name: Auth command: gcauth ...
<|file_sep|>original/.circleci/config.yml version: 2 jobs: build: docker: - image: abcum/circle-golang:latest environment: GOOGLE_APPLICATION_CREDENTIALS: ~/gcloud-service-key.json working_directory: /go/src/github.com/abcum/syncr steps: - checkout - run: name...
d91f17b84e4c0ca0ccf2b615afd690981ca863f1
.circleci/config.yml
.circleci/config.yml
YAML
<|file_sep|>tests/test_person.py.diff original: updated: from address_book import Person <|file_sep|>original/tests/test_person.py from unittest import TestCase class PersonTestCase(TestCase): def test_get_groups(self): pass <|file_sep|>current/tests/test_person.py from unittest import TestCase from a...
from unittest import TestCase from address_book import Person class PersonTestCase(TestCase): def test_get_groups(self): pass def test_add_address(self): basic_address = ['Russian Federation, Kemerovo region, Kemerovo, Kirova street 23, apt. 42'], person = Person( 'John'...
<|file_sep|>tests/test_person.py.diff original: updated: from address_book import Person <|file_sep|>original/tests/test_person.py from unittest import TestCase class PersonTestCase(TestCase): def test_get_groups(self): pass <|file_sep|>current/tests/test_person.py from unittest import TestCase from a...
4c7e4e629d154424acf5590a3c65c7e4d30c5aff
tests/test_person.py
tests/test_person.py
Python
<|file_sep|>original/src/server/Adaptive.ReactiveTrader.MessageBroker/MessageBroker.cs private WampHost _router; public void Dispose() { _router.Dispose(); } public void Start() { _router = new WampHost(); var jsonBinding = new JToken...
private WampHost _router; public void Dispose() { _router.Dispose(); } public void Start() { _router = new WampHost(); var jsonBinding = new JTokenJsonBinding(); var msgPack = new JTokenMsgpackBinding(); _rout...
<|file_sep|>original/src/server/Adaptive.ReactiveTrader.MessageBroker/MessageBroker.cs private WampHost _router; public void Dispose() { _router.Dispose(); } public void Start() { _router = new WampHost(); var jsonBinding = new JToken...
99837098ba510b9e4084ddccd2358b4f805e5d46
src/server/Adaptive.ReactiveTrader.MessageBroker/MessageBroker.cs
src/server/Adaptive.ReactiveTrader.MessageBroker/MessageBroker.cs
C#
<|file_sep|>static/js/src/entry/circle/CircleWall.vue.diff original: <template v-if="group.name === 'Founders\' Circle'" updated: <template v-if="group.name === foundersLabel" <|file_sep|>original/static/js/src/entry/circle/CircleWall.vue <script> import Wall from '../../Wall.vue'; export default { name...
<script> import Wall from '../../Wall.vue'; export default { name: 'CircleWall', components: { Wall }, data() { return { orderedGroupNames: [ "Founders' Circle", "Chairman's Circle", 'Leadership Circle', "Editor's Circle", ], foundersLabel: "Founders' Circl...
<|file_sep|>static/js/src/entry/circle/CircleWall.vue.diff original: <template v-if="group.name === 'Founders\' Circle'" updated: <template v-if="group.name === foundersLabel" <|file_sep|>original/static/js/src/entry/circle/CircleWall.vue <script> import Wall from '../../Wall.vue'; export default { name...
097e7eb3886d996ab90e4131f832bbab8eaabe77
static/js/src/entry/circle/CircleWall.vue
static/js/src/entry/circle/CircleWall.vue
Vue
<|file_sep|>original/README.md [![Travis][build-badge]][build] [![npm package][npm-badge]][npm] A personal ESLint config, but with ESLint itself and all the necessary shareable config, plugins and parser as dependencies. Provides an `eslint` command which runs the real ESLint with this config's `.eslintrc` in the con...
[![Travis][build-badge]][build] [![npm package][npm-badge]][npm] A personal ESLint config, but with ESLint itself and all the necessary shareable config, plugins and parser as dependencies. Provides an `eslint` command which runs the real ESLint with this config's `.eslintrc` in the context of this module's dependenc...
<|file_sep|>original/README.md [![Travis][build-badge]][build] [![npm package][npm-badge]][npm] A personal ESLint config, but with ESLint itself and all the necessary shareable config, plugins and parser as dependencies. Provides an `eslint` command which runs the real ESLint with this config's `.eslintrc` in the con...
3f003f9233a74aefff6afdc90fe44597d576210f
README.md
README.md
Markdown
<|file_sep|>cluster/manifests/kube2iam/daemonset.yaml.diff original: version: master-5 updated: version: master-6 <|file_sep|>cluster/manifests/kube2iam/daemonset.yaml.diff original: version: master-5 updated: version: master-6 <|file_sep|>original/cluster/manifests/kube2iam/daemonset.yaml ...
annotations: scheduler.alpha.kubernetes.io/critical-pod: '' spec: tolerations: - key: CriticalAddonsOnly operator: Exists - key: node-role.kubernetes.io/master effect: NoSchedule hostNetwork: true containers: # kube2iam 0.9.0 with these patchs https:...
<|file_sep|>cluster/manifests/kube2iam/daemonset.yaml.diff original: version: master-5 updated: version: master-6 <|file_sep|>cluster/manifests/kube2iam/daemonset.yaml.diff original: version: master-5 updated: version: master-6 <|file_sep|>original/cluster/manifests/kube2iam/daemonset.yaml ...
3a9a295300ddfce680cb3e598047d08b323893e6
cluster/manifests/kube2iam/daemonset.yaml
cluster/manifests/kube2iam/daemonset.yaml
YAML
<|file_sep|>original/.github/workflows/test.yml <|file_sep|>current/.github/workflows/test.yml <|file_sep|>updated/.github/workflows/test.yml
name: CI on: [push] jobs: build: runs-on: ${{ matrix.os }} strategy: matrix: include: - python: 3.6 DJANGO: 1.11 os: ubuntu-16.07 - python: 3.6 DJANGO: 2.0 os: ubuntu-latest - python: 3.6 DJANGO: 3.0 os...
<|file_sep|>original/.github/workflows/test.yml <|file_sep|>current/.github/workflows/test.yml <|file_sep|>updated/.github/workflows/test.yml name: CI on: [push] jobs: build: runs-on: ${{ matrix.os }} strategy: matrix: include: - python: 3.6 DJANGO: 1.11 os: ubunt...
f9eb4f2422907b42b0da1db5180db8da0c84f1d5
.github/workflows/test.yml
.github/workflows/test.yml
YAML
<|file_sep|>.travis.yml.diff original: - 5.4 updated: <|file_sep|>.travis.yml.diff original: updated: - 7.0 <|file_sep|>original/.travis.yml language: php php: - 5.4 - 5.5 - 5.6 - hhvm - nightly install: - composer install script: - phpunit --coverage-clover=coverage.clover --bootstrap=./vendor/...
language: php php: - 5.5 - 5.6 - 7.0 - hhvm - nightly install: - composer install script: - phpunit --coverage-clover=coverage.clover --bootstrap=./vendor/autoload.php tests after_script: - wget https://scrutinizer-ci.com/ocular.phar - php ocular.phar code-coverage:upload --format=php-clover covera...
<|file_sep|>.travis.yml.diff original: - 5.4 updated: <|file_sep|>.travis.yml.diff original: updated: - 7.0 <|file_sep|>original/.travis.yml language: php php: - 5.4 - 5.5 - 5.6 - hhvm - nightly install: - composer install script: - phpunit --coverage-clover=coverage.clover --bootstrap=./vendor/...
bf07ee135debc5c57f133d2fd5ffd9641d8c5526
.travis.yml
.travis.yml
YAML
<|file_sep|>zsh/init.zsh.diff original: updated: source $HOME/.zsh/_zgen.zsh <|file_sep|>original/zsh/init.zsh # ██ # ░██ # ██████ ██████░██ ██████ █████ # ░░░░██ ██░░░░ ░██████ ░░██░░█ ██░░░██ # ██ ░░█████ ░██░░░██ ░██ ░ ░██ ░░ # ██ ░░░░░██░██ ░██ ░██ ░██ ██ # █...
# ██ # ░██ # ██████ ██████░██ ██████ █████ # ░░░░██ ██░░░░ ░██████ ░░██░░█ ██░░░██ # ██ ░░█████ ░██░░░██ ░██ ░ ░██ ░░ # ██ ░░░░░██░██ ░██ ░██ ░██ ██ # ██████ ██████ ░██ ░██░███ ░░█████ # ░░░░░░ ░░░░░░ ░░ ░░ ░░░ ░░░░░ source $HOME/.zsh/_zgen.zsh source $...
<|file_sep|>zsh/init.zsh.diff original: updated: source $HOME/.zsh/_zgen.zsh <|file_sep|>original/zsh/init.zsh # ██ # ░██ # ██████ ██████░██ ██████ █████ # ░░░░██ ██░░░░ ░██████ ░░██░░█ ██░░░██ # ██ ░░█████ ░██░░░██ ░██ ░ ░██ ░░ # ██ ░░░░░██░██ ░██ ░██ ░██ ██ # █...
044c0bf44ce45543fe499863c530ebafafa462e6
zsh/init.zsh
zsh/init.zsh
Shell
<|file_sep|>original/src/Novell.Directory.Ldap.NETStandard/ILdapConnection.ExtensionMethods.cs /// avoid bloating that interface. /// </summary> public static class LdapConnectionExtensionMethods { /// <summary> /// Get some common Attributes from the Root DSE. /// This is really...
/// avoid bloating that interface. /// </summary> public static class LdapConnectionExtensionMethods { /// <summary> /// Get some common Attributes from the Root DSE. /// This is really just a specialized <see cref="LdapSearchRequest"/> /// to handle getting some commonly...
<|file_sep|>original/src/Novell.Directory.Ldap.NETStandard/ILdapConnection.ExtensionMethods.cs /// avoid bloating that interface. /// </summary> public static class LdapConnectionExtensionMethods { /// <summary> /// Get some common Attributes from the Root DSE. /// This is really...
591c5312593f19ca0be8d59e233cdadb78d6a9b3
src/Novell.Directory.Ldap.NETStandard/ILdapConnection.ExtensionMethods.cs
src/Novell.Directory.Ldap.NETStandard/ILdapConnection.ExtensionMethods.cs
C#
<|file_sep|>traveller/App/Themes/Fonts.js.diff original: base: 'HelveticaNeue', bold: 'HelveticaNeue-Bold', emphasis: 'HelveticaNeue-Italic' updated: base: 'System', bold: 'System-Bold', emphasis: 'System-Italic' <|file_sep|>original/traveller/App/Themes/Fonts.js }, h6: { fontFamily: type.emphasis, ...
fontSize: size.h5 }, h6: { fontFamily: type.emphasis, fontSize: size.h6 }, normal: { fontFamily: type.base, fontSize: size.regular }, description: { fontFamily: type.base, fontSize: size.medium } } export default { type, size, style }
<|file_sep|>traveller/App/Themes/Fonts.js.diff original: base: 'HelveticaNeue', bold: 'HelveticaNeue-Bold', emphasis: 'HelveticaNeue-Italic' updated: base: 'System', bold: 'System-Bold', emphasis: 'System-Italic' <|file_sep|>original/traveller/App/Themes/Fonts.js }, h6: { fontFamily: type.emphasis, ...
23e7a16ed7de3598ae386bcea05edce5707c484a
traveller/App/Themes/Fonts.js
traveller/App/Themes/Fonts.js
JavaScript
<|file_sep|>1.7/Dockerfile.diff original: FROM java:8 updated: FROM java:8-jre <|file_sep|>original/1.7/Dockerfile FROM java:8 ENV JRUBY_VERSION 1.7.18 RUN mkdir /opt/jruby \ && curl https://s3.amazonaws.com/jruby.org/downloads/1.7.18/jruby-bin-${JRUBY_VERSION}.tar.gz \ | tar -zxC /opt/jruby --strip-components=1 \ ...
FROM java:8-jre ENV JRUBY_VERSION 1.7.18 RUN mkdir /opt/jruby \ && curl -sSL https://s3.amazonaws.com/jruby.org/downloads/${JRUBY_VERSION}/jruby-bin-${JRUBY_VERSION}.tar.gz \ | tar -zxC /opt/jruby --strip-components=1 \ && update-alternatives --install /usr/local/bin/ruby ruby /opt/jruby/bin/jruby 1 ENV PATH /opt...
<|file_sep|>1.7/Dockerfile.diff original: FROM java:8 updated: FROM java:8-jre <|file_sep|>original/1.7/Dockerfile FROM java:8 ENV JRUBY_VERSION 1.7.18 RUN mkdir /opt/jruby \ && curl https://s3.amazonaws.com/jruby.org/downloads/1.7.18/jruby-bin-${JRUBY_VERSION}.tar.gz \ | tar -zxC /opt/jruby --strip-components=1 \ ...
550e7f47f6fe3be7d8b2d1ff45c5d18b627713aa
1.7/Dockerfile
1.7/Dockerfile
unknown