prompt
stringlengths
77
6.9k
completion
stringlengths
1
3.38k
text
stringlengths
163
9.03k
commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
lang
stringclasses
277 values
<|file_sep|>original/concurren-futures.py <|file_sep|>current/concurren-futures.py <|file_sep|>updated/concurren-futures.py
from concurrent.futures import ProcessPoolExecutor, ThreadPoolExecutor import multiprocessing from multiprocessing.pool import ThreadPool import threading import time def bar(i=0): if i == 0: raise ValueError("bar raise") return i ** 2 def main_Thread(): thread = threading.Thread(target=bar) ...
<|file_sep|>original/concurren-futures.py <|file_sep|>current/concurren-futures.py <|file_sep|>updated/concurren-futures.py from concurrent.futures import ProcessPoolExecutor, ThreadPoolExecutor import multiprocessing from multiprocessing.pool import ThreadPool import threading import time def bar(i=0): if i ==...
d5fbbc55286d249c320ed5b54460b2091a023419
concurren-futures.py
concurren-futures.py
Python
<|file_sep|>original/.github/workflows/update-assets-manifest.yml workflow_dispatch: jobs: build: name: Update assets-manifest runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v2 with: token: ${{ secrets.AM_PAT }} - name: Cache npm d...
workflow_dispatch: jobs: build: name: Update assets-manifest runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v2 with: persist-credentials: false fetch-depth: 0 - name: Cache npm dependencies uses: actions/cache@v2 ...
<|file_sep|>original/.github/workflows/update-assets-manifest.yml workflow_dispatch: jobs: build: name: Update assets-manifest runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v2 with: token: ${{ secrets.AM_PAT }} - name: Cache npm d...
4d906deba95bf52c8fc5f2363826e47efd44ff29
.github/workflows/update-assets-manifest.yml
.github/workflows/update-assets-manifest.yml
YAML
<|file_sep|>notifications/match_score.py.diff original: self._event_feed = match.event.id # TODO Add notion of District to Match model? updated: self.event = match.event.get() self._event_feed = self.event.key_name self._district_feed = self.event.event_district_enum <|file_sep|>...
class MatchScoreNotification(BaseNotification): def __init__(self, match): self.match = match self.event = match.event.get() self._event_feed = self.event.key_name self._district_feed = self.event.event_district_enum @property def _type(self): return NotificationT...
<|file_sep|>notifications/match_score.py.diff original: self._event_feed = match.event.id # TODO Add notion of District to Match model? updated: self.event = match.event.get() self._event_feed = self.event.key_name self._district_feed = self.event.event_district_enum <|file_sep|>...
60d8b38eac3c36bd754f5ed01aae6d3af1918adc
notifications/match_score.py
notifications/match_score.py
Python
<|file_sep|>original/app/views/vehicle-licensing/_failures.html.erb <% id ||= "failures" %> <% title ||= "Error codes (web)" %> <section id="<%= id %>" class="failures"> <h1><%= title %></h1> <ul class="module-actions"> <li class="info"> <div> <p>Data source: <abbr title="Driver and Vehicle Licens...
<% id ||= "failures" %> <% title ||= "Error codes (web)" %> <section id="<%= id %>" class="failures"> <h1><%= title %></h1> <ul class="module-actions"> <li class="info"> <div> <p>Data source: <abbr title="Driver and Vehicle Licensing Agency">DVLA</abbr> database</p> <p>Shows errors that ha...
<|file_sep|>original/app/views/vehicle-licensing/_failures.html.erb <% id ||= "failures" %> <% title ||= "Error codes (web)" %> <section id="<%= id %>" class="failures"> <h1><%= title %></h1> <ul class="module-actions"> <li class="info"> <div> <p>Data source: <abbr title="Driver and Vehicle Licens...
e2839534fe4efdbaa9446d1ac598629a3094973b
app/views/vehicle-licensing/_failures.html.erb
app/views/vehicle-licensing/_failures.html.erb
HTML+ERB
<|file_sep|>original/.github/workflows/renovate-go-mod-fix.yaml on: push: branches: - renovate/* jobs: go-mod-fix: runs-on: ubuntu-latest steps: - name: checkout uses: actions/checkout@v2 with: fetch-depth: 2 - name: fix uses: at-wat/go-sum-fix-action...
on: push: branches: - renovate/* jobs: go-mod-fix: runs-on: ubuntu-latest steps: - name: checkout uses: actions/checkout@v2 with: fetch-depth: 2 - name: fix uses: at-wat/go-sum-fix-action@v0 with: git_user: Pion Bot git_ema...
<|file_sep|>original/.github/workflows/renovate-go-mod-fix.yaml on: push: branches: - renovate/* jobs: go-mod-fix: runs-on: ubuntu-latest steps: - name: checkout uses: actions/checkout@v2 with: fetch-depth: 2 - name: fix uses: at-wat/go-sum-fix-action...
1938a5b2578911c8c7b5b0551d8ef5302227a275
.github/workflows/renovate-go-mod-fix.yaml
.github/workflows/renovate-go-mod-fix.yaml
YAML
<|file_sep|>original/package.json { "name": "armstrong.core.arm_sections", "version": "1.5.3alpha", "description": "Provides the basic section objects", "install_requires": [ "Django==1.3.1,==1.4", "django-mptt==0.5.2", "armstrong.utils.backends>=1.0.0,<2.0" ] } <|file_sep|>c...
{ "name": "armstrong.core.arm_sections", "version": "1.5.3", "description": "Provides the basic section objects", "install_requires": [ "Django==1.3.1,==1.4", "django-mptt==0.5.2", "armstrong.utils.backends>=1.0.0,<2.0" ] }
<|file_sep|>original/package.json { "name": "armstrong.core.arm_sections", "version": "1.5.3alpha", "description": "Provides the basic section objects", "install_requires": [ "Django==1.3.1,==1.4", "django-mptt==0.5.2", "armstrong.utils.backends>=1.0.0,<2.0" ] } <|file_sep|>c...
6844add4390a45a4affcda85b14a675fc8e469e5
package.json
package.json
JSON
<|file_sep|>original/app/views/items/show.html.erb <h2><%= @item.name %></h2> <% if !@item.image.empty? %> <img src="<%= @item.image %>"> <% else %> IMAGE NOT AVAILABLE <%end%> <ul> <li>Description: <%= @item.description %></li> <li>Quantity: <%= @item.quantity %></li> <li>Price: <%= @item.price %></li> </u...
<h2><%= @item.name %></h2> <% if !@item.image.blank? %> <img src="<%= @item.image %>"> <% else %> IMAGE NOT AVAILABLE <%end%> <ul> <li>Description: <%= @item.description %></li> <li>Quantity: <%= @item.quantity %></li> <li>Price: <%= @item.price %></li> </ul>
<|file_sep|>original/app/views/items/show.html.erb <h2><%= @item.name %></h2> <% if !@item.image.empty? %> <img src="<%= @item.image %>"> <% else %> IMAGE NOT AVAILABLE <%end%> <ul> <li>Description: <%= @item.description %></li> <li>Quantity: <%= @item.quantity %></li> <li>Price: <%= @item.price %></li> </u...
0cdd378bcd2e23a940aae6e0206bfba1ec84a31e
app/views/items/show.html.erb
app/views/items/show.html.erb
HTML+ERB
<|file_sep|>original/recipes/astcheck/meta.yaml url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz sha256: {{ sha256 }} build: noarch: python number: 0 script: python -m flit install --deps none requirements: build: - python >= 3 - pip - flit run: ...
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz sha256: {{ sha256 }} build: noarch: python number: 0 script: python -m flit install --deps none requirements: build: - python >=3 - pip - flit run: - python test: imports: - astcheck abo...
<|file_sep|>original/recipes/astcheck/meta.yaml url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz sha256: {{ sha256 }} build: noarch: python number: 0 script: python -m flit install --deps none requirements: build: - python >= 3 - pip - flit run: ...
29eaa811c0573415b76cbbbb2653cd951798d1ed
recipes/astcheck/meta.yaml
recipes/astcheck/meta.yaml
YAML
<|file_sep|>original/.travis.yml language: php matrix: include: - php: 7.1 - php: 7.2 - php: 7.3 - php: nightly env: PHP_CS_FIXER_IGNORE_ENV=1 fast_finish: true allow_failures: - php: nightly before_install: phpenv config-rm xdebug.ini || true install: make install script: scripts/travis...
language: php matrix: include: - php: 7.1 - php: 7.2 - php: 7.3 - php: 7.4snapshot - php: nightly env: PHP_CS_FIXER_IGNORE_ENV=1 fast_finish: true allow_failures: - php: nightly before_install: phpenv config-rm xdebug.ini || true install: make install script: scripts/travis after_scr...
<|file_sep|>original/.travis.yml language: php matrix: include: - php: 7.1 - php: 7.2 - php: 7.3 - php: nightly env: PHP_CS_FIXER_IGNORE_ENV=1 fast_finish: true allow_failures: - php: nightly before_install: phpenv config-rm xdebug.ini || true install: make install script: scripts/travis...
7ac651acd05651b1accf45fc4310c83f773ab25c
.travis.yml
.travis.yml
YAML
<|file_sep|>assets/javascripts/application.js.diff original: this.resource("rooms"); updated: this.resource("rooms", function() { this.route("new"); this.resource("room", {path: "/:room_id"}, function() { this.route("edit"); }); }); <|file_sep|>original/assets/javascripts/application.js App.Ro...
// rooms this.resource("rooms", function() { this.route("new"); this.resource("room", {path: "/:room_id"}, function() { this.route("edit"); }); }); // users // users/new // users/:user_id this.resource("users", function() { this.route("new"); this.resource("user", {path: "/:use...
<|file_sep|>assets/javascripts/application.js.diff original: this.resource("rooms"); updated: this.resource("rooms", function() { this.route("new"); this.resource("room", {path: "/:room_id"}, function() { this.route("edit"); }); }); <|file_sep|>original/assets/javascripts/application.js App.Ro...
806b9f0af2214d4ce684fc631afb5f88123e3d53
assets/javascripts/application.js
assets/javascripts/application.js
JavaScript
<|file_sep|>original/examples/animations/app.css .Image { position: relative; } .Image { position: absolute; height: 400; width: 400; } .example-enter { opacity: 0.01; transition: opacity .5s ease-in; } .example-enter.example-enter-active { opacity: 1; } .example-leave { opacity: 1; <|file_sep|>curr...
.Image { position: relative; } .Image { position: absolute; height: 400px; width: 400px; } .example-enter { opacity: 0.01; transition: opacity .5s ease-in; } .example-enter.example-enter-active { opacity: 1; } .example-leave { opacity: 1;
<|file_sep|>original/examples/animations/app.css .Image { position: relative; } .Image { position: absolute; height: 400; width: 400; } .example-enter { opacity: 0.01; transition: opacity .5s ease-in; } .example-enter.example-enter-active { opacity: 1; } .example-leave { opacity: 1; <|file_sep|>curr...
04449d5c159bb43027fdf8f904b7358b1049c376
examples/animations/app.css
examples/animations/app.css
CSS
<|file_sep|>hopsanc/CMakeLists.txt.diff original: set(CMAKE_CXX_STANDARD 11) updated: set(CMAKE_CXX_STANDARD 14) <|file_sep|>original/hopsanc/CMakeLists.txt set(CMAKE_CXX_STANDARD 11) set(CMAKE_DEBUG_POSTFIX _d) if(WIN32) set(CMAKE_SHARED_LIBRARY_PREFIX "") endif() # Find source code file(GLOB_RECURSE srcfiles src/*...
set(CMAKE_CXX_STANDARD 14) set(CMAKE_DEBUG_POSTFIX _d) if(WIN32) set(CMAKE_SHARED_LIBRARY_PREFIX "") endif() # Find source code file(GLOB_RECURSE srcfiles src/*.cpp) file(GLOB_RECURSE headerfiles include/*.h include/*.hpp) # Create library target and add source code files add_library(hopsanc SHARED ${srcfiles} ${he...
<|file_sep|>hopsanc/CMakeLists.txt.diff original: set(CMAKE_CXX_STANDARD 11) updated: set(CMAKE_CXX_STANDARD 14) <|file_sep|>original/hopsanc/CMakeLists.txt set(CMAKE_CXX_STANDARD 11) set(CMAKE_DEBUG_POSTFIX _d) if(WIN32) set(CMAKE_SHARED_LIBRARY_PREFIX "") endif() # Find source code file(GLOB_RECURSE srcfiles src/*...
876396aa21bbe9596d92bd949828e98235db9cab
hopsanc/CMakeLists.txt
hopsanc/CMakeLists.txt
Text
<|file_sep|>web/models/team_from_auth.ex.diff original: updated: team_params = scrubbed_params(params) <|file_sep|>web/models/team_from_auth.ex.diff original: |> Team.changeset(params) updated: |> Team.changeset(team_params) <|file_sep|>web/models/team_from_auth.ex.diff original: |> Team.c...
existing_team |> Team.changeset(team_params) |> Repo.update end end defp team_by_slack_id(slack_id) do Repo.get_by(Team, slack_id: slack_id) end defp bot_token(auth) do auth.extra.raw_info.token.other_params["bot"]["bot_access_token"] end def scrubbed_params(params) do...
<|file_sep|>web/models/team_from_auth.ex.diff original: updated: team_params = scrubbed_params(params) <|file_sep|>web/models/team_from_auth.ex.diff original: |> Team.changeset(params) updated: |> Team.changeset(team_params) <|file_sep|>web/models/team_from_auth.ex.diff original: |> Team.c...
9a4c614c1a22664e1c42accbf256f2318dbe755e
web/models/team_from_auth.ex
web/models/team_from_auth.ex
Elixir
<|file_sep|>src/Winium.Desktop.Driver/CommandExecutors/IsElementSelectedExecutor.cs.diff original: updated: using Winium.Cruciatus.Exceptions; <|file_sep|>src/Winium.Desktop.Driver/CommandExecutors/IsElementSelectedExecutor.cs.diff original: var controlType = element.GetAutomationPropertyValue<ControlT...
if (isTogglePattrenAvailable) { var toggleStateProperty = TogglePattern.ToggleStateProperty; var toggleState = element.GetAutomationPropertyValue<ToggleState>(toggleStateProperty); isSelected = toggleState == ToggleState.On; ...
<|file_sep|>src/Winium.Desktop.Driver/CommandExecutors/IsElementSelectedExecutor.cs.diff original: updated: using Winium.Cruciatus.Exceptions; <|file_sep|>src/Winium.Desktop.Driver/CommandExecutors/IsElementSelectedExecutor.cs.diff original: var controlType = element.GetAutomationPropertyValue<ControlT...
d3615d7deea12f8b2a8d863c6959003b624b5c72
src/Winium.Desktop.Driver/CommandExecutors/IsElementSelectedExecutor.cs
src/Winium.Desktop.Driver/CommandExecutors/IsElementSelectedExecutor.cs
C#
<|file_sep|>original/README.md # DDD Shop # Running tests $ rake <|file_sep|>current/README.md # DDD Shop # Running tests $ rake <|file_sep|>updated/README.md
[![Build Status](https://travis-ci.org/mlomnicki/ddd-shop.svg?branch=master)](https://travis-ci.org/mlomnicki/ddd-shop) # DDD Shop # Running tests $ rake
<|file_sep|>original/README.md # DDD Shop # Running tests $ rake <|file_sep|>current/README.md # DDD Shop # Running tests $ rake <|file_sep|>updated/README.md [![Build Status](https://travis-ci.org/mlomnicki/ddd-shop.svg?branch=master)](https://travis-ci.org/mlomnicki/ddd-shop) # DDD Shop # Running tests ...
5003f4766214fc9cbbe10f992dc46aefb65fdfff
README.md
README.md
Markdown
<|file_sep|>original/examples/read_rdb.rb $:.unshift File.expand_path('../lib', File.dirname(__FILE__)) require 'rdb' RDB::Reader.read_file('test/rdb/multiple_databases.rdb', callbacks: RDB::DebugCallbacks.new) <|file_sep|>current/examples/read_rdb.rb $:.unshift File.expand_path('../lib', File.dirname(__FILE__)) req...
$:.unshift File.expand_path('../lib', File.dirname(__FILE__)) require 'rdb' options = { callbacks: RDB::DebugCallbacks.new, } RDB::Reader.read_file('test/rdb/database_multiple_logical_dbs.rdb', options)
<|file_sep|>original/examples/read_rdb.rb $:.unshift File.expand_path('../lib', File.dirname(__FILE__)) require 'rdb' RDB::Reader.read_file('test/rdb/multiple_databases.rdb', callbacks: RDB::DebugCallbacks.new) <|file_sep|>current/examples/read_rdb.rb $:.unshift File.expand_path('../lib', File.dirname(__FILE__)) req...
55b83b0731e7c59c70317d3c7732a63826228ff6
examples/read_rdb.rb
examples/read_rdb.rb
Ruby
<|file_sep|>original/jsk_apc2016_common/scripts/install_trained_data.py download_data( pkg_name=PKG, path='trained_data/vgg16_96000.chainermodel', url='https://drive.google.com/uc?id=0B9P1L--7Wd2vOTdzOGlJcGM1N00', md5='3c993d333cf554684b5162c9f69b20cf', ) download_data( ...
download_data( pkg_name=PKG, path='trained_data/vgg16_96000.chainermodel', url='https://drive.google.com/uc?id=0B9P1L--7Wd2vOTdzOGlJcGM1N00', md5='3c993d333cf554684b5162c9f69b20cf', ) download_data( pkg_name=PKG, path='trained_data/vgg16_rotation_translation_...
<|file_sep|>original/jsk_apc2016_common/scripts/install_trained_data.py download_data( pkg_name=PKG, path='trained_data/vgg16_96000.chainermodel', url='https://drive.google.com/uc?id=0B9P1L--7Wd2vOTdzOGlJcGM1N00', md5='3c993d333cf554684b5162c9f69b20cf', ) download_data( ...
aeb43ef66c0dc16d020b941e71fa19d357016e02
jsk_apc2016_common/scripts/install_trained_data.py
jsk_apc2016_common/scripts/install_trained_data.py
Python
<|file_sep|>original/metadata/com.crazyhitty.chdev.ks.munch.txt Summary:Manage and view RSS feeds Description: Enable the users to manage their RSS feeds. User can add new sources, manage them and view the article associated with the feeds. [https://github.com/crazyhitty/Munch/tree/HEAD/screenshots Screenshots] . Rep...
Summary:Manage and view RSS feeds Description: Enable the users to manage their RSS feeds. User can add new sources, manage them and view the article associated with the feeds. [https://github.com/crazyhitty/Munch/tree/HEAD/screenshots Screenshots] . Repo Type:git Repo:https://github.com/crazyhitty/Munch Build:0.41,...
<|file_sep|>original/metadata/com.crazyhitty.chdev.ks.munch.txt Summary:Manage and view RSS feeds Description: Enable the users to manage their RSS feeds. User can add new sources, manage them and view the article associated with the feeds. [https://github.com/crazyhitty/Munch/tree/HEAD/screenshots Screenshots] . Rep...
36b66b72be6527a2423b0d7795e4969b11e4f8e7
metadata/com.crazyhitty.chdev.ks.munch.txt
metadata/com.crazyhitty.chdev.ks.munch.txt
Text
<|file_sep|>meta-linaro/recipes-extra/dwarfutils/libdwarf_20121130.bb.diff original: install -d ${D}${libdir} ${D}${includedir} updated: install -d ${D}${libdir} ${D}${includedir}/libdwarf <|file_sep|>original/meta-linaro/recipes-extra/dwarfutils/libdwarf_20121130.bb require dwarf.inc SRC_URI += "file://fix-ge...
require dwarf.inc SRC_URI += "file://fix-gennames.patch" do_install() { install -d ${D}${libdir} ${D}${includedir}/libdwarf install -m 0755 libdwarf.a ${D}${libdir} install -m 0644 dwarf.h libdwarf.h ${D}${includedir}/libdwarf } ALLOW_EMPTY_${PN} = "1" BBCLASSEXTEND = "native"
<|file_sep|>meta-linaro/recipes-extra/dwarfutils/libdwarf_20121130.bb.diff original: install -d ${D}${libdir} ${D}${includedir} updated: install -d ${D}${libdir} ${D}${includedir}/libdwarf <|file_sep|>original/meta-linaro/recipes-extra/dwarfutils/libdwarf_20121130.bb require dwarf.inc SRC_URI += "file://fix-ge...
4ff1ac6fe3f8868525ca93b6d4048014855ca224
meta-linaro/recipes-extra/dwarfutils/libdwarf_20121130.bb
meta-linaro/recipes-extra/dwarfutils/libdwarf_20121130.bb
BitBake
<|file_sep|>original/snomed-drools-rf2-validator/README.md # SNOMED RF2 Drools Engine An implementation of the SNOMED Drools validation engine which uses RF2 files. ## Usage Build with maven: `mvn clean install` Checkout the [snomed-drools-rules](https://github.com/IHTSDO/snomed-drools-rules). Validate an RF2 Snapsh...
## Usage Build with maven: `mvn clean install` Checkout the [snomed-drools-rules](https://github.com/IHTSDO/snomed-drools-rules). Validate an RF2 Snapshot: Format: ``` java -jar target/snomed-drools-rf2-*executable.jar <snomedDroolsRulesPath> <assertionGroup1,assertionGroup2,etc> <rf2SnapshotDirectory> <currentEff...
<|file_sep|>original/snomed-drools-rf2-validator/README.md # SNOMED RF2 Drools Engine An implementation of the SNOMED Drools validation engine which uses RF2 files. ## Usage Build with maven: `mvn clean install` Checkout the [snomed-drools-rules](https://github.com/IHTSDO/snomed-drools-rules). Validate an RF2 Snapsh...
3bedd0f74d28bb84b2a0b1cf039ae49d79f9e94e
snomed-drools-rf2-validator/README.md
snomed-drools-rf2-validator/README.md
Markdown
<|file_sep|>original/packages/ch/chorale.yaml <|file_sep|>current/packages/ch/chorale.yaml <|file_sep|>updated/packages/ch/chorale.yaml
homepage: https://github.com/mocnik-science/chorale changelog-type: '' hash: 0e8e869142360365e68a944f7d6cfad0c98dbcbe54df363e563b02d194566822 test-bench-deps: {} maintainer: Franz-Benjamin Mocnik <mail@mocnik-science.net> synopsis: A module containing basic functions that the prelude does not offer changelog: '' basic-...
<|file_sep|>original/packages/ch/chorale.yaml <|file_sep|>current/packages/ch/chorale.yaml <|file_sep|>updated/packages/ch/chorale.yaml homepage: https://github.com/mocnik-science/chorale changelog-type: '' hash: 0e8e869142360365e68a944f7d6cfad0c98dbcbe54df363e563b02d194566822 test-bench-deps: {} maintainer: Franz-Be...
22a444a688dac9bd105ee7d0bf08564838e96d33
packages/ch/chorale.yaml
packages/ch/chorale.yaml
YAML
<|file_sep|>gulpfile.js.diff original: gulp.src('./src/css/bowler.scss') updated: gulp.src('./src/scss/bowler.scss') <|file_sep|>original/gulpfile.js gulp.watch('./src/js/**/*.js', ['test']); gulp.watch('./spec/**/*.js', ['test']); gulp.watch('./src/scss/**/*.scss', ['css']); }); gulp.task('build',...
gulp.watch('./src/js/**/*.js', ['test']); gulp.watch('./spec/**/*.js', ['test']); gulp.watch('./src/scss/**/*.scss', ['css']); }); gulp.task('build', ['javascript', 'css']); gulp.task('css', function () { gulp.src('./src/scss/bowler.scss') .pipe(sourcemaps.init()) .pipe(sass({ outputSt...
<|file_sep|>gulpfile.js.diff original: gulp.src('./src/css/bowler.scss') updated: gulp.src('./src/scss/bowler.scss') <|file_sep|>original/gulpfile.js gulp.watch('./src/js/**/*.js', ['test']); gulp.watch('./spec/**/*.js', ['test']); gulp.watch('./src/scss/**/*.scss', ['css']); }); gulp.task('build',...
11901cd8635578f1eaf1c057c0c72f3de591b215
gulpfile.js
gulpfile.js
JavaScript
<|file_sep|>original/app/extension-scripts/main.js (function() { chrome.browserAction.onClicked.addListener(function() { var newURL = "chrome-extension://" + chrome.runtime.id + "/index.html"; chrome.tabs.create({ url: newURL }); }); })(); <|file_sep|>current/app/extension-scripts/main.js (function() { ch...
(function() { chrome.browserAction.onClicked.addListener(function() { var appUrl = chrome.extension.getURL('index.html'); chrome.tabs.create({ url: appUrl }); }); })();
<|file_sep|>original/app/extension-scripts/main.js (function() { chrome.browserAction.onClicked.addListener(function() { var newURL = "chrome-extension://" + chrome.runtime.id + "/index.html"; chrome.tabs.create({ url: newURL }); }); })(); <|file_sep|>current/app/extension-scripts/main.js (function() { ch...
53a27ad98440fb40c5d13f0415ee0ac348289ca1
app/extension-scripts/main.js
app/extension-scripts/main.js
JavaScript
<|file_sep|>original/joequery/blog/posts/code/screenx-tv-first-impressions/meta.py title="ScreenX TV: First Impressions" description=""" My initial thoughts of [ScreenX TV](http://screenx.tv), a way to broadcast your terminal to the world. """ time="2012-12-07 Fri 09:53 PM" # related=[("Some article", "its/url")] <|fil...
title="ScreenX TV: First Impressions" description=""" My initial thoughts of [ScreenX TV](http://screenx.tv), a way to broadcast your terminal to the world. """ time="2012-12-08 Sat 03:11 AM" # related=[("Some article", "its/url")]
<|file_sep|>original/joequery/blog/posts/code/screenx-tv-first-impressions/meta.py title="ScreenX TV: First Impressions" description=""" My initial thoughts of [ScreenX TV](http://screenx.tv), a way to broadcast your terminal to the world. """ time="2012-12-07 Fri 09:53 PM" # related=[("Some article", "its/url")] <|fil...
a8107b6877ffa19e51ba1bfbee5143ca82df6602
joequery/blog/posts/code/screenx-tv-first-impressions/meta.py
joequery/blog/posts/code/screenx-tv-first-impressions/meta.py
Python
<|file_sep|>original/cascade.css <|file_sep|>current/cascade.css <|file_sep|>updated/cascade.css
.ripple { animation-fill-mode: both; animation-duration: 1s; } @keyframes fadeUp { from { opacity: 0; transform: translate3d(0, 100%, 0); } to { opacity: 1; transform: none; } } .fadeUp { animation-name: fadeUp; }
<|file_sep|>original/cascade.css <|file_sep|>current/cascade.css <|file_sep|>updated/cascade.css .ripple { animation-fill-mode: both; animation-duration: 1s; } @keyframes fadeUp { from { opacity: 0; transform: translate3d(0, 100%, 0); } to { opacity: 1; transform:...
098c3376a516d05686fa2cd30f6c5f53722736dc
cascade.css
cascade.css
CSS
<|file_sep|>original/.github/workflows/test.yml branches: - master types: [opened, synchronize, reopened] jobs: test: runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest] python-version: ['3.7', '3.8', '3.9'] steps: - uses: actions/checkout@v2 - nam...
branches: - master types: [opened, synchronize, reopened] jobs: test: runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest] python-version: ['3.7', '3.8'] fail-fast: false steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.pyth...
<|file_sep|>original/.github/workflows/test.yml branches: - master types: [opened, synchronize, reopened] jobs: test: runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest] python-version: ['3.7', '3.8', '3.9'] steps: - uses: actions/checkout@v2 - nam...
8334c13333ebba403db6cf615ea5d57ce8741383
.github/workflows/test.yml
.github/workflows/test.yml
YAML
<|file_sep|>original/README.md # go-senml A go library to parse SenML records. It currently supports only JSON and XML, but more formats like CBOR are planned. This currently implements 'draft-ietf-core-senml-08' (https://tools.ietf.org/html/draft-ietf-core-senml-08) ## Install ```sh go get github.com/nkristek/go-se...
# go-senml [![GitHub license](https://img.shields.io/github/license/nkristek/go-senml.svg)](https://github.com/nkristek/go-senml/blob/master/LICENSE) [![Build Status](https://travis-ci.com/nkristek/go-senml.svg?branch=master)](https://travis-ci.com/nkristek/go-senml) [![Coverage Status](https://coveralls.io/repos/gith...
<|file_sep|>original/README.md # go-senml A go library to parse SenML records. It currently supports only JSON and XML, but more formats like CBOR are planned. This currently implements 'draft-ietf-core-senml-08' (https://tools.ietf.org/html/draft-ietf-core-senml-08) ## Install ```sh go get github.com/nkristek/go-se...
9ab5b36a352d7e5dbf8137f040a5ae0be18cb095
README.md
README.md
Markdown
<|file_sep|>tests/EloquentInheritanceStorage/InheritanceStorageTest.php.diff original: use ThibaudDauce\EloquentInheritanceStorage\ParentTrait; use Illuminate\Database\Eloquent\Model as Eloquent; use Illuminate\Foundation\Testing\TestCase; updated: <|file_sep|>tests/EloquentInheritanceStorage/InheritanceStorageTest.ph...
{ $this->assertTrue(InheritanceStorage::$activated); $this->inheritanceStorage->desactivate(); $this->assertFalse(InheritanceStorage::$activated); $this->inheritanceStorage->activate(); $this->assertTrue(InheritanceStorage::$activated); } public function testActionOnStorage() { $storage...
<|file_sep|>tests/EloquentInheritanceStorage/InheritanceStorageTest.php.diff original: use ThibaudDauce\EloquentInheritanceStorage\ParentTrait; use Illuminate\Database\Eloquent\Model as Eloquent; use Illuminate\Foundation\Testing\TestCase; updated: <|file_sep|>tests/EloquentInheritanceStorage/InheritanceStorageTest.ph...
16d2b07a21288d452dbd8c9d85f116c1fa24a53e
tests/EloquentInheritanceStorage/InheritanceStorageTest.php
tests/EloquentInheritanceStorage/InheritanceStorageTest.php
PHP
<|file_sep|>original/.travis.yml language: go go: - 1.3 - 1.4 - tip before_install: - go get -u github.com/axw/gocov/gocov - go get -u github.com/mattn/goveralls - go get golang.org/x/tools/cmd/cover matrix: allow_failures: - go: tip script: - make build - make travis - make cover - goveralls -service=travis-ci...
language: go go: - 1.3 - 1.4 - 1.5 - 1.6 - 1.7 - 1.8 - tip before_install: - go get -u github.com/axw/gocov/gocov - go get -u github.com/mattn/goveralls - go get golang.org/x/tools/cmd/cover matrix: allow_failures: - go: tip script:
<|file_sep|>original/.travis.yml language: go go: - 1.3 - 1.4 - tip before_install: - go get -u github.com/axw/gocov/gocov - go get -u github.com/mattn/goveralls - go get golang.org/x/tools/cmd/cover matrix: allow_failures: - go: tip script: - make build - make travis - make cover - goveralls -service=travis-ci...
7aeccb48ea138aa6224bd2bd7d313ef4f5d34c97
.travis.yml
.travis.yml
YAML
<|file_sep|>original/requirements.txt Jinja2==2.7.3 MarkupSafe==0.23 PyYAML==3.11 ansible==1.7.2 argparse==1.2.1 boto==2.34.0 chardet==2.3.0 colorama==0.3.2 crcmod==1.7 ecdsa==0.13.3 google-compute-engine==2.3.5 graphitesend==0.10.0 html5lib==0.999 httplib2==0.9 influxdb==4.0.0 paramiko==1.15.1 prometheus-client==0.0.1...
Jinja2==2.7.3 MarkupSafe==0.23 PyYAML==3.11 ansible==2.6.18 argparse==1.2.1 boto==2.34.0 chardet==2.3.0 colorama==0.3.2 crcmod==1.7 ecdsa==0.13.3 google-compute-engine==2.3.5 graphitesend==0.10.0 html5lib==0.999 httplib2==0.9 influxdb==4.0.0 paramiko==1.15.1 prometheus-client==0.0.19 pycrypto==2.6.1 python-dateutil==2....
<|file_sep|>original/requirements.txt Jinja2==2.7.3 MarkupSafe==0.23 PyYAML==3.11 ansible==1.7.2 argparse==1.2.1 boto==2.34.0 chardet==2.3.0 colorama==0.3.2 crcmod==1.7 ecdsa==0.13.3 google-compute-engine==2.3.5 graphitesend==0.10.0 html5lib==0.999 httplib2==0.9 influxdb==4.0.0 paramiko==1.15.1 prometheus-client==0.0.1...
84e28fd52db1db6d867c9c2db8c110162ff71ce4
requirements.txt
requirements.txt
Text
<|file_sep|>original/Cargo.toml [package] name = "mysql" version = "0.0.1" authors = ["blackbeam"] description = "Mysql client library implemented in rust" license = "MIT" documentation = "http://blackbeam.org/doc/mysql/index.html" exclude = ["tests/*", ".*", "Makefile"] [lib] name = "mysql" crate_type = ["rlib", "d...
[package] name = "mysql" version = "0.0.1" authors = ["blackbeam"] description = "Mysql client library implemented in rust" license = "MIT" documentation = "http://blackbeam.org/doc/mysql/index.html" repository = "https://github.com/blackbeam/rust-mysql-simple" exclude = ["tests/*", ".*", "Makefile"] [lib] name = "m...
<|file_sep|>original/Cargo.toml [package] name = "mysql" version = "0.0.1" authors = ["blackbeam"] description = "Mysql client library implemented in rust" license = "MIT" documentation = "http://blackbeam.org/doc/mysql/index.html" exclude = ["tests/*", ".*", "Makefile"] [lib] name = "mysql" crate_type = ["rlib", "d...
59f723776350415b0ee75db150bb9c31121e97e0
Cargo.toml
Cargo.toml
TOML
<|file_sep|>original/docker/opensuse-42.2/Dockerfile # non-default docker proxy vars ARG ALL_PROXY ARG socks_proxy ARG SOCKS_PROXY RUN zypper --no-color --non-interactive ref -f && \ zypper --no-color --non-interactive update && \ zypper --no-color --non-interactive install --no-recommends python gcc \ ...
# non-default docker proxy vars ARG ALL_PROXY ARG socks_proxy ARG SOCKS_PROXY RUN zypper --no-color --non-interactive ref -f && \ zypper --no-color --non-interactive update && \ zypper --no-color --non-interactive install --no-recommends python gcc \ gcc-c++ git chrpath make wget python-xml diffsta...
<|file_sep|>original/docker/opensuse-42.2/Dockerfile # non-default docker proxy vars ARG ALL_PROXY ARG socks_proxy ARG SOCKS_PROXY RUN zypper --no-color --non-interactive ref -f && \ zypper --no-color --non-interactive update && \ zypper --no-color --non-interactive install --no-recommends python gcc \ ...
9e2dc870ac8b30fdfc544d8c84a5b6ebb7eb267f
docker/opensuse-42.2/Dockerfile
docker/opensuse-42.2/Dockerfile
unknown
<|file_sep|>original/src/app/models/twitch/ChannelSerializer.js define( [ "store/TwitchSerializer" ], function( TwitchSerializer ) { return TwitchSerializer.extend({ primaryKey: "name", modelNameFromPayloadKey: function() { return "twitchChannel"; }, attrs : { teams: { deserialize: "records" } }, ...
define( [ "store/TwitchSerializer" ], function( TwitchSerializer ) { return TwitchSerializer.extend({ primaryKey: "name", modelNameFromPayloadKey: function() { return "twitchChannel"; }, normalizeResponse: function( store, primaryModelClass, payload, id, requestType ) { payload = { twitchChannel: ...
<|file_sep|>original/src/app/models/twitch/ChannelSerializer.js define( [ "store/TwitchSerializer" ], function( TwitchSerializer ) { return TwitchSerializer.extend({ primaryKey: "name", modelNameFromPayloadKey: function() { return "twitchChannel"; }, attrs : { teams: { deserialize: "records" } }, ...
20369d3a14975590ca6939b86c63f89f49fc1670
src/app/models/twitch/ChannelSerializer.js
src/app/models/twitch/ChannelSerializer.js
JavaScript
<|file_sep|>original/services/slip/src/main/java/com/ippon/jug/slip/SlipController.java @RestController public class SlipController { @RequestMapping(value = "/request") public String getRequest() throws InterruptedException, UnknownHostException { this.doSlip(); return "Hello I'm " + InetAddr...
@RestController public class SlipController { @RequestMapping(value = "/request") public String getRequest() throws InterruptedException, UnknownHostException { this.doSlip(); return "Hello I'm " + InetAddress.getLocalHost().getHostName(); } private static final int SLEEP_MILLIS = 50;...
<|file_sep|>original/services/slip/src/main/java/com/ippon/jug/slip/SlipController.java @RestController public class SlipController { @RequestMapping(value = "/request") public String getRequest() throws InterruptedException, UnknownHostException { this.doSlip(); return "Hello I'm " + InetAddr...
ea5663844bf7c78b6ef7277acea58217166b8b4c
services/slip/src/main/java/com/ippon/jug/slip/SlipController.java
services/slip/src/main/java/com/ippon/jug/slip/SlipController.java
Java
<|file_sep|>original/web/templates/game/edit.html.eex <%= label f, :height %> <%= number_input f, :height %> </div> <%= inputs_for f, :snakes, [append: [snake]], fn g -> %> <div> <%= label g, :url %> <%= url_input g, :url %> <%= label g, :delete %> <%= checkbox g, :delete %> </div> <% end %> <div> <%= ...
<%= checkbox g, :delete %> </div> <% end %> <div> <%= submit "Update game" %> </div> <% end %> <div> <%= link "Play", to: play_path(@conn, :show, @game) %> </div> <div> <%= link "Show", to: game_path(@conn, :show, @game) %> </div> <div> <%= link "Back", to: game_path(@conn, :index) %> </div>
<|file_sep|>original/web/templates/game/edit.html.eex <%= label f, :height %> <%= number_input f, :height %> </div> <%= inputs_for f, :snakes, [append: [snake]], fn g -> %> <div> <%= label g, :url %> <%= url_input g, :url %> <%= label g, :delete %> <%= checkbox g, :delete %> </div> <% end %> <div> <%= ...
e5d4ce7d0f47e09e67ca44192d7b6f39ecf1ff52
web/templates/game/edit.html.eex
web/templates/game/edit.html.eex
HTML+EEX
<|file_sep|>original/examples/components/Example.jsx render: function() { return ( <div> <h1>{this.props.title}</h1> <h3>demo</h3> <div className="well"> {this.props.code} </div> <pre> {JSON.stringify(this.props.state)} </pre> <h3>...
render: function() { return ( <div> <h1>{this.props.title}</h1> <h3>demo</h3> <div className="well"> {this.props.code} </div> <pre> {JSON.stringify(this.props.state, null, 2)} </pre> <h3>jsx</h3> <pre> {this.props...
<|file_sep|>original/examples/components/Example.jsx render: function() { return ( <div> <h1>{this.props.title}</h1> <h3>demo</h3> <div className="well"> {this.props.code} </div> <pre> {JSON.stringify(this.props.state)} </pre> <h3>...
05c831792efe2b9e8b38caaee54a290b947c85a2
examples/components/Example.jsx
examples/components/Example.jsx
JSX
<|file_sep|>original/app/views/layouts/application.html.erb <!DOCTYPE html> <html> <head> <title>Top SEO News</title> <%= stylesheet_link_tag "application" %> </head> <body> <div class="container"> <%= yield %> <hr> <footer> <p>&copy; Top SEO News 2014</p> <a href="/?all=1">all</a> </foo...
<!DOCTYPE html> <html> <head> <title>Top SEO News</title> <%= stylesheet_link_tag "application" %> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> </head> <body> <div class="container"> <%= yield %> <hr> <footer> <p>&copy; Top SEO News 2014</p> <a href...
<|file_sep|>original/app/views/layouts/application.html.erb <!DOCTYPE html> <html> <head> <title>Top SEO News</title> <%= stylesheet_link_tag "application" %> </head> <body> <div class="container"> <%= yield %> <hr> <footer> <p>&copy; Top SEO News 2014</p> <a href="/?all=1">all</a> </foo...
40240b3659d2dae043f9511918d08708e4c90b20
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
HTML+ERB
<|file_sep|>original/app/stylesheets/partials/content/_application.sass @import 'partials/content/invoice' @import 'partials/content/accounting' // Overview +overview-icon-48('store') +overview-icon-48('accounting') +overview-icon-48('invoicing') +overview-icon-48('basic_claims_data') +overview-icon-48('user_settings'...
@import 'partials/content/invoice' @import 'partials/content/accounting' // Overview ul.overview-list.level-1 >li min-height: 9em +overview-icon-48('store') +overview-icon-48('accounting') +overview-icon-48('invoicing') +overview-icon-48('basic_claims_data') +overview-icon-48('user_settings')
<|file_sep|>original/app/stylesheets/partials/content/_application.sass @import 'partials/content/invoice' @import 'partials/content/accounting' // Overview +overview-icon-48('store') +overview-icon-48('accounting') +overview-icon-48('invoicing') +overview-icon-48('basic_claims_data') +overview-icon-48('user_settings'...
856225eebd5662c216632733705fb5da1c1045e6
app/stylesheets/partials/content/_application.sass
app/stylesheets/partials/content/_application.sass
Sass
<|file_sep|>original/operations/experimental/use-cf-networking-postgres.yml <|file_sep|>current/operations/experimental/use-cf-networking-postgres.yml <|file_sep|>updated/operations/experimental/use-cf-networking-postgres.yml
# add this opsfile after use-cf-networking.yml # add network policy db to bosh-lite postgres - type: replace path: /instance_groups/name=postgres/jobs/name=postgres/properties/databases/roles/- value: name: network_policy password: "((network_policy_database_password))" tag: admin - type: replace pa...
<|file_sep|>original/operations/experimental/use-cf-networking-postgres.yml <|file_sep|>current/operations/experimental/use-cf-networking-postgres.yml <|file_sep|>updated/operations/experimental/use-cf-networking-postgres.yml # add this opsfile after use-cf-networking.yml # add network policy db to bosh-lite postgre...
93833e27bb551cc38668fb117ac7814492588a38
operations/experimental/use-cf-networking-postgres.yml
operations/experimental/use-cf-networking-postgres.yml
YAML
<|file_sep|>original/generate.js var items = new CSV(data, {header: true}).parse(); var ret = []; items.forEach(function (el) { if (el.Territory !== '') { ret.push(el.Territory); } if (el['Local code'] !== '') { ret.push(el['Local code']); } if (el['Full code'] !== '') { ret.push(el[...
var items = new CSV(data, {header: true}).parse(); var ret = []; items.forEach(function (el) { if (el.Territory !== '') { ret.push(el.Territory); } if (el['Local code'] !== '') { ret.push(el['Local code']); } if (el['Full code'] !== '') { ret.push(el['Full code']); } }); var ...
<|file_sep|>original/generate.js var items = new CSV(data, {header: true}).parse(); var ret = []; items.forEach(function (el) { if (el.Territory !== '') { ret.push(el.Territory); } if (el['Local code'] !== '') { ret.push(el['Local code']); } if (el['Full code'] !== '') { ret.push(el[...
26e8c6f32ca4dda553ca2394a155cb7174b1bf05
generate.js
generate.js
JavaScript
<|file_sep|>original/assets/css/custom.css .sponsor-logo { width: 200px; float: left; } <|file_sep|>current/assets/css/custom.css .sponsor-logo { width: 200px; float: left; } <|file_sep|>updated/assets/css/custom.css
.sponsor-logo { margin-right: 10px; width: 200px; float: left; }
<|file_sep|>original/assets/css/custom.css .sponsor-logo { width: 200px; float: left; } <|file_sep|>current/assets/css/custom.css .sponsor-logo { width: 200px; float: left; } <|file_sep|>updated/assets/css/custom.css .sponsor-logo { margin-right: 10px; width: 200px; float: left; }
f0018ea0f9480a283d69aae7ceab50f2e7878d41
assets/css/custom.css
assets/css/custom.css
CSS
<|file_sep|>test/unit/main.js.diff original: describe('controllers', function(){ var scope; updated: describe('controllers', function () { var scope, ctrl; <|file_sep|>test/unit/main.js.diff original: beforeEach(inject(function($rootScope) { scope = $rootScope.$new(); })); updated: describe('WalletCtrl', f...
describe('WalletCtrl', function () { beforeEach(inject(function ($rootScope, $controller) { scope = $rootScope.$new(); ctrl = $controller('WalletCtrl', { $scope: scope }); })); it('should start with 0 transactions', function () { expect(angular.isArray(scope.$storage.trans...
<|file_sep|>test/unit/main.js.diff original: describe('controllers', function(){ var scope; updated: describe('controllers', function () { var scope, ctrl; <|file_sep|>test/unit/main.js.diff original: beforeEach(inject(function($rootScope) { scope = $rootScope.$new(); })); updated: describe('WalletCtrl', f...
90aee5473e1911d7572d7af7b4d589d40c294039
test/unit/main.js
test/unit/main.js
JavaScript
<|file_sep|>original/.github/actions/change-release-intent/main.js ...options }), stdout: myOutput, stderr: myError }; } const publishablePackages = [ 'xstate', '@xstate/fsm', '@xstate/test', '@xstate/vue' ]; (async () => { const currentBranchName = (await execWithOutput('git', [ 'r...
...options }), stdout: myOutput, stderr: myError }; } const publishablePackages = ['xstate', '@xstate/fsm', '@xstate/test']; (async () => { const currentBranchName = (await execWithOutput('git', [ 'rev-parse', '--abbrev-ref', 'HEAD' ])).stdout.trim(); if (!/^changeset-release\/...
<|file_sep|>original/.github/actions/change-release-intent/main.js ...options }), stdout: myOutput, stderr: myError }; } const publishablePackages = [ 'xstate', '@xstate/fsm', '@xstate/test', '@xstate/vue' ]; (async () => { const currentBranchName = (await execWithOutput('git', [ 'r...
632153b03e3b6c1562c279002406752a322973d3
.github/actions/change-release-intent/main.js
.github/actions/change-release-intent/main.js
JavaScript
<|file_sep|>original/data/unverified_title/unverified-title.json { "data": { "title_number": "AGL1013", "application_reference": "J991DWW", "last_app_timestamp": "2003-08-28T14:45:50+01:00", "verified": "false" } } <|file_sep|>current/data/unverified_title/unverified-title.json {...
{ "data": { "title_number": "AGL1013", "application_reference": "J991DWW", "last_app_timestamp": "2003-08-28T14:45:50+01:00", "verified": false } }
<|file_sep|>original/data/unverified_title/unverified-title.json { "data": { "title_number": "AGL1013", "application_reference": "J991DWW", "last_app_timestamp": "2003-08-28T14:45:50+01:00", "verified": "false" } } <|file_sep|>current/data/unverified_title/unverified-title.json {...
e346ffff05c365ec4f997a8601b04a1c40f8e5bd
data/unverified_title/unverified-title.json
data/unverified_title/unverified-title.json
JSON
<|file_sep|>original/unknown.c #ifdef NO_PORT #include "mono/interpreter/interp.h" MonoPIFunc mono_create_trampoline (MonoMethod *method) { g_error ("Unsupported arch"); return NULL; } void * mono_create_method_pointer (MonoMethod *method) { g_error ("Unsupported arch"); return NULL; } #endif <|file_sep|>curren...
#ifdef NO_PORT #include "mono/interpreter/interp.h" MonoPIFunc mono_create_trampoline (MonoMethodSignature *sig, gboolean string_ctor) { g_error ("Unsupported arch"); return NULL; } void * mono_create_method_pointer (MonoMethod *method) { g_error ("Unsupported arch"); return NULL; } #endif
<|file_sep|>original/unknown.c #ifdef NO_PORT #include "mono/interpreter/interp.h" MonoPIFunc mono_create_trampoline (MonoMethod *method) { g_error ("Unsupported arch"); return NULL; } void * mono_create_method_pointer (MonoMethod *method) { g_error ("Unsupported arch"); return NULL; } #endif <|file_sep|>curren...
6d1b716753c1cc8a2f5c26338020941aa58ce9d7
unknown.c
unknown.c
C
<|file_sep|>.travis.yml.diff original: install: composer require --no-update symfony/http-foundation $SYMFONY_VERSION; composer install updated: install: - composer require --no-update symfony/http-foundation $SYMFONY_VERSION; composer install <|file_sep|>.travis.yml.diff original: script: vendor/bin/phpunit && vendo...
language: php php: - 5.5 - 5.6 - 7.0 - 7.1 install: - composer require --no-update symfony/http-foundation $SYMFONY_VERSION; composer install script: - vendor/bin/phpunit - vendor/bin/php-cs-fixer fix -v --dry-run env: - SYMFONY_VERSION: ~2 - SYMFONY_VERSION: ~3 - SYMFONY_VERSION: ~4
<|file_sep|>.travis.yml.diff original: install: composer require --no-update symfony/http-foundation $SYMFONY_VERSION; composer install updated: install: - composer require --no-update symfony/http-foundation $SYMFONY_VERSION; composer install <|file_sep|>.travis.yml.diff original: script: vendor/bin/phpunit && vendo...
88c71627c1a329b2277ba2a49974a5f8b630ac21
.travis.yml
.travis.yml
YAML
<|file_sep|>estimate.py.diff original: updated: def calcExhaustion(disk, procRates): """Calculate how many seconds before the disk is filled. procRates lists the rates at which each process fills 1 byte of disk space.""" print(disk) print(procRates) <|file_sep|>estimate.py.diff origin...
procRates lists the rates at which each process fills 1 byte of disk space.""" print(disk) print(procRates) def estimateConf(conf): """Estimate configuration from a string.""" confElements = [int(x) for x in conf.split(sep=" ")] disk = confElements[0] procRates = confElements[1:] ...
<|file_sep|>estimate.py.diff original: updated: def calcExhaustion(disk, procRates): """Calculate how many seconds before the disk is filled. procRates lists the rates at which each process fills 1 byte of disk space.""" print(disk) print(procRates) <|file_sep|>estimate.py.diff origin...
3eaf0ea514b0f78906af7e614079f3a90624bcc7
estimate.py
estimate.py
Python
<|file_sep|>original/addons/zotero/migrations/0005_auto_20180216_0849.py <|file_sep|>current/addons/zotero/migrations/0005_auto_20180216_0849.py <|file_sep|>updated/addons/zotero/migrations/0005_auto_20180216_0849.py
# -*- coding: utf-8 -*- # Generated by Django 1.11.9 on 2018-02-16 14:49 from __future__ import unicode_literals from bulk_update.helper import bulk_update from django.db import migrations def reverse_func(state, schema): print 'Starting reverse zotero library migration' modify_node_settings(state, None) ...
<|file_sep|>original/addons/zotero/migrations/0005_auto_20180216_0849.py <|file_sep|>current/addons/zotero/migrations/0005_auto_20180216_0849.py <|file_sep|>updated/addons/zotero/migrations/0005_auto_20180216_0849.py # -*- coding: utf-8 -*- # Generated by Django 1.11.9 on 2018-02-16 14:49 from __future__ import unico...
9ade5a79e74281f8503c798b06f6b568122b0594
addons/zotero/migrations/0005_auto_20180216_0849.py
addons/zotero/migrations/0005_auto_20180216_0849.py
Python
<|file_sep|>original/requirements.txt fonttools[unicode,lxml,ufo]==4.28.3; platform_python_implementation == 'CPython' fonttools[unicode,ufo]==4.28.3; platform_python_implementation != 'CPython' cu2qu==1.6.7.post1 glyphsLib==6.0.0 ufo2ft[pathops]==2.25.1 MutatorMath==3.0.1 fontMath==0.8.1 defcon[lxml]==0.9.0; platform_...
fonttools[unicode,lxml,ufo]==4.28.3; platform_python_implementation == 'CPython' fonttools[unicode,ufo]==4.28.3; platform_python_implementation != 'CPython' cu2qu==1.6.7.post1 glyphsLib==6.0.1 ufo2ft[pathops]==2.25.1 MutatorMath==3.0.1 fontMath==0.8.1 defcon[lxml]==0.9.0; platform_python_implementation == 'CPython' def...
<|file_sep|>original/requirements.txt fonttools[unicode,lxml,ufo]==4.28.3; platform_python_implementation == 'CPython' fonttools[unicode,ufo]==4.28.3; platform_python_implementation != 'CPython' cu2qu==1.6.7.post1 glyphsLib==6.0.0 ufo2ft[pathops]==2.25.1 MutatorMath==3.0.1 fontMath==0.8.1 defcon[lxml]==0.9.0; platform_...
07cc9d41c952dd3298536231f14b9245941d11b8
requirements.txt
requirements.txt
Text
<|file_sep|>original/package.json { "title": "AO3rdr", "name": "ao3rdr", "id": "jid1-ayTtY9e4Iz49HA@jetpack", "version": "1.2.3", "description": "Rating system and block by tag system for Archive of Our Own.", "main": "index-jpm-firefox.js", "author": "darthkrallt", "engines": { "firefox": ">=38.0a1...
"id": "jid1-ayTtY9e4Iz49HA@jetpack", "version": "1.2.3", "description": "Rating system and block by tag system for Archive of Our Own.", "main": "index-jpm-firefox.js", "author": "darthkrallt", "engines": { "firefox": ">=38.0a1", "fennec": ">=38.0a1" }, "permissions": { "cross-domain-content...
<|file_sep|>original/package.json { "title": "AO3rdr", "name": "ao3rdr", "id": "jid1-ayTtY9e4Iz49HA@jetpack", "version": "1.2.3", "description": "Rating system and block by tag system for Archive of Our Own.", "main": "index-jpm-firefox.js", "author": "darthkrallt", "engines": { "firefox": ">=38.0a1...
95daf3209c924e22f7cea76f920eea0db34341e9
package.json
package.json
JSON
<|file_sep|>original/source/layouts/default.haml !!! 5 %HTML %body = yield <|file_sep|>current/source/layouts/default.haml !!! 5 %HTML %body = yield <|file_sep|>updated/source/layouts/default.haml
!!! 5 %HTML %link{rel: "stylesheet", href: "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css"} %link{rel: "stylesheet", href: "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap-theme.min.css"} %script{src: "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bo...
<|file_sep|>original/source/layouts/default.haml !!! 5 %HTML %body = yield <|file_sep|>current/source/layouts/default.haml !!! 5 %HTML %body = yield <|file_sep|>updated/source/layouts/default.haml !!! 5 %HTML %link{rel: "stylesheet", href: "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/boo...
3cdb77d110adaa4161b63e2875901900858373d0
source/layouts/default.haml
source/layouts/default.haml
Haml
<|file_sep|>src/main/java/com/gmail/nossr50/events/McMMOPlayerLevelUpEvent.java.diff original: private static final HandlerList handers = new HandlerList(); updated: private static final HandlerList handlers = new HandlerList(); <|file_sep|>src/main/java/com/gmail/nossr50/events/McMMOPlayerLevelUpEvent.java.diff orig...
return skill; } /** * @return The number of levels gained in this event */ public int getLevelsGained() { return levelsGained; } /** Rest of file is required boilerplate for custom events **/ private static final HandlerList handlers = new HandlerList(); public HandlerList getHandlers() { return ...
<|file_sep|>src/main/java/com/gmail/nossr50/events/McMMOPlayerLevelUpEvent.java.diff original: private static final HandlerList handers = new HandlerList(); updated: private static final HandlerList handlers = new HandlerList(); <|file_sep|>src/main/java/com/gmail/nossr50/events/McMMOPlayerLevelUpEvent.java.diff orig...
fded7cad96b6ee04e3b027f66c8750e72d08fa88
src/main/java/com/gmail/nossr50/events/McMMOPlayerLevelUpEvent.java
src/main/java/com/gmail/nossr50/events/McMMOPlayerLevelUpEvent.java
Java
<|file_sep|>README.md.diff original: # Service Manual updated: # Digital Guides > https://guides.service.gov.au/ <|file_sep|>README.md.diff original: <!-- ## Production - **url**: [https://service-manual.apps.platform.digital.gov.au/](https://service-manual.apps.platform.digital.gov.au/) - **branch**: `master` - **st...
```shell npm run build ``` **Start the development server** ```shell npm run watch ``` ## Run search engine in Development **Build the search index** ```shell npm run build ``` ## Content
<|file_sep|>README.md.diff original: # Service Manual updated: # Digital Guides > https://guides.service.gov.au/ <|file_sep|>README.md.diff original: <!-- ## Production - **url**: [https://service-manual.apps.platform.digital.gov.au/](https://service-manual.apps.platform.digital.gov.au/) - **branch**: `master` - **st...
95a421d2d4efee6a8d5618633e0216fdb934ccd8
README.md
README.md
Markdown
<|file_sep|>original/cmd/tchaik/ui/static/js/src/components/Covers.js return ( <div className="covers"> {covers} </div> ); }, _onChange: function(path) { if (path === CollectionStore.pathToKey(["Root"])) { this.setState({ list: CollectionStore.getCollection(["Root"]).G...
return ( <div className="covers"> {covers} </div> ); }, _onChange: function(path) { if (path === CollectionStore.pathToKey(["Root"])) { this.setState({ list: CollectionStore.getCollection(["Root"]).Groups.slice(0, 30), }); } }, }); var Cover = React.create...
<|file_sep|>original/cmd/tchaik/ui/static/js/src/components/Covers.js return ( <div className="covers"> {covers} </div> ); }, _onChange: function(path) { if (path === CollectionStore.pathToKey(["Root"])) { this.setState({ list: CollectionStore.getCollection(["Root"]).G...
3fb3edd0ae7ffb1e66504073c3fb9403efee6d21
cmd/tchaik/ui/static/js/src/components/Covers.js
cmd/tchaik/ui/static/js/src/components/Covers.js
JavaScript
<|file_sep|>original/atom/init.coffee # Activate Python virtualenv for this project directory if it exists activateVirtualenv = -> project = atom.project.getPaths()[0] if project virtualenv = path.join(getVirtualenvHome(), path.basename(project)) # Do not activate virtualenv if project is itself a virtuale...
# Activate Python virtualenv for this project directory if it exists activateVirtualenv = -> project = atom.project.getPaths()[0] if project virtualenv = path.join(getVirtualenvHome(), path.basename(project)) # Do not activate virtualenv if project is itself a virtualenv if virtualenv isnt project ...
<|file_sep|>original/atom/init.coffee # Activate Python virtualenv for this project directory if it exists activateVirtualenv = -> project = atom.project.getPaths()[0] if project virtualenv = path.join(getVirtualenvHome(), path.basename(project)) # Do not activate virtualenv if project is itself a virtuale...
4ac3c0e6fb9a65b89e328675383f1d51c8506c73
atom/init.coffee
atom/init.coffee
CoffeeScript
<|file_sep|>original/onadata/apps/restservice/services/kpi_hook.py class ServiceDefinition(RestServiceInterface): id = 'kpi_hook' verbose_name = 'KPI Hook POST' def send(self, endpoint, data): # Will be used internally by KPI to fetch data with KoBoCatBackend post_data = { 'i...
class ServiceDefinition(RestServiceInterface): id = 'kpi_hook' verbose_name = 'KPI Hook POST' def send(self, endpoint, data): # Will be used internally by KPI to fetch data with KoBoCatBackend post_data = { 'submission_id': data.get('instance_id') } headers = ...
<|file_sep|>original/onadata/apps/restservice/services/kpi_hook.py class ServiceDefinition(RestServiceInterface): id = 'kpi_hook' verbose_name = 'KPI Hook POST' def send(self, endpoint, data): # Will be used internally by KPI to fetch data with KoBoCatBackend post_data = { 'i...
2901988d46a644c70ba12409c06e0bcb3bfc0eff
onadata/apps/restservice/services/kpi_hook.py
onadata/apps/restservice/services/kpi_hook.py
Python
<|file_sep|>lib/i18n-backoffice.rb.diff original: def load_translation_from_redis updated: def i18n_translations(reload = false) if reload @i18n_translations = I18n.backend.send(:translations) end @i18n_translations ||= I18n.backend.send(:translations) end def ...
@translations ||= redis.hgetall('I18n_translations') end def i18n_translations(reload = false) if reload @i18n_translations = I18n.backend.send(:translations) end @i18n_translations ||= I18n.backend.send(:translations) end def reinitialize_translations...
<|file_sep|>lib/i18n-backoffice.rb.diff original: def load_translation_from_redis updated: def i18n_translations(reload = false) if reload @i18n_translations = I18n.backend.send(:translations) end @i18n_translations ||= I18n.backend.send(:translations) end def ...
688139ee02c4f58f0bf2da244a2e5f706dce5d29
lib/i18n-backoffice.rb
lib/i18n-backoffice.rb
Ruby
<|file_sep|>src/Purl/Query.php.diff original: parse_str($this->query); updated: parse_str($this->query, $data); <|file_sep|>original/src/Purl/Query.php $this->query = $query; } /** * @inheritDoc */ public function __toString() { return $this->getQuery(); } ...
$this->query = $query; } /** * @inheritDoc */ public function __toString() { return $this->getQuery(); } /** * @inheritDoc */ protected function doInitialize() { parse_str($this->query, $data); $this->data = $data; } }
<|file_sep|>src/Purl/Query.php.diff original: parse_str($this->query); updated: parse_str($this->query, $data); <|file_sep|>original/src/Purl/Query.php $this->query = $query; } /** * @inheritDoc */ public function __toString() { return $this->getQuery(); } ...
a1584ea255b063b455029023a8bae9b35eebabe3
src/Purl/Query.php
src/Purl/Query.php
PHP
<|file_sep|>package.json.diff original: "log4js": "^0.6.29", updated: <|file_sep|>original/package.json { "name": "antsword", "version": "2.0.0", "description": "中国蚁剑是一款跨平台的开源网站管理工具", "main": "app.js", "dependencies": { "extract-zip": "^1.5.0", "geoips": "0.0.1", "iconv-lite": "^0.4.13", ...
{ "name": "antsword", "version": "2.0.0", "description": "中国蚁剑是一款跨平台的开源网站管理工具", "main": "app.js", "dependencies": { "extract-zip": "^1.5.0", "geoips": "0.0.1", "iconv-lite": "^0.4.13", "nedb": "^1.5.1", "superagent": "^1.6.1", "superagent-proxy": "^1.0.0", "through": "^2.3.8" }, ...
<|file_sep|>package.json.diff original: "log4js": "^0.6.29", updated: <|file_sep|>original/package.json { "name": "antsword", "version": "2.0.0", "description": "中国蚁剑是一款跨平台的开源网站管理工具", "main": "app.js", "dependencies": { "extract-zip": "^1.5.0", "geoips": "0.0.1", "iconv-lite": "^0.4.13", ...
13cfdc557d719ac22e32825c709d1944af123eb4
package.json
package.json
JSON
<|file_sep|>gs-cv/src/main/java/org/genericsystem/cv/HistogramComparator.java.diff original: import java.util.stream.Collectors; updated: import java.io.IOException; import java.nio.file.DirectoryStream; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.ArrayList; impor...
public class HistogramComparator { static { System.loadLibrary(Core.NATIVE_LIBRARY_NAME); } private final static String classImgRepertory = "png"; public static void main(String[] args) { List<Path> directories = new ArrayList<>(); List<Img> imgs = new ArrayList<>(); try (DirectoryStream<Path> directoryS...
<|file_sep|>gs-cv/src/main/java/org/genericsystem/cv/HistogramComparator.java.diff original: import java.util.stream.Collectors; updated: import java.io.IOException; import java.nio.file.DirectoryStream; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.ArrayList; impor...
735de6e199e44f9e2718b52d404ff42b86c5444f
gs-cv/src/main/java/org/genericsystem/cv/HistogramComparator.java
gs-cv/src/main/java/org/genericsystem/cv/HistogramComparator.java
Java
<|file_sep|>package.json.diff original: updated: "flux": "^2.0.1", <|file_sep|>package.json.diff original: updated: "react": "^0.12.1", <|file_sep|>original/package.json { "name": "osc-dev", "version": "0.0.0", "description": "osc-dev", "main": "index.js", "repository": { "type": "git", "url...
"license": "MIT", "bugs": { "url": "https://github.com/razh/osc-dev/issues" }, "homepage": "https://github.com/razh/osc-dev", "dependencies": { "flux": "^2.0.1", "node-osc": "^0.2.1", "react": "^0.12.1", "ws": "^0.4.32" }, "devDependencies": { "browser-sync": "^1.7.0", "browser...
<|file_sep|>package.json.diff original: updated: "flux": "^2.0.1", <|file_sep|>package.json.diff original: updated: "react": "^0.12.1", <|file_sep|>original/package.json { "name": "osc-dev", "version": "0.0.0", "description": "osc-dev", "main": "index.js", "repository": { "type": "git", "url...
2a9c75f115f195e325177c0c69d11fd426468f3b
package.json
package.json
JSON
<|file_sep|>original/package.json "dependencies": { "lodash": "^3.9.3", "msgpack5rpc": "^1.0.1", "traverse": "^0.6.6" }, "devDependencies": { "mocha": "^2.2.5", "nodemon": "^1.3.7", "which": "^1.1.1" }, "scripts": { "test": "make test" }, "keywords": [ "neovim", "neovim...
"lodash": "^3.9.3", "msgpack5rpc": "^1.0.1", "traverse": "^0.6.6" }, "devDependencies": { "mocha": "^2.2.5", "nodemon": "^1.3.7", "which": "^1.1.1" }, "scripts": { "test": "make test", "prepublish": "[ -r ~/.global.npmignore ] && cat ~/.global.npmignore > .npmignore || true" },...
<|file_sep|>original/package.json "dependencies": { "lodash": "^3.9.3", "msgpack5rpc": "^1.0.1", "traverse": "^0.6.6" }, "devDependencies": { "mocha": "^2.2.5", "nodemon": "^1.3.7", "which": "^1.1.1" }, "scripts": { "test": "make test" }, "keywords": [ "neovim", "neovim...
add36ecb19daf3a84ab4b689d35244762f1eeb4a
package.json
package.json
JSON
<|file_sep|>README.md.diff original: This content is for https://firebog.net as well as my Big Blocklist Collection. updated: This content is for my domain https://firebog.net as well as my Big Blocklist Collection. <|file_sep|>original/README.md # WaLLy3K's GitHub pages repo This content is for https://firebog.net as ...
# WaLLy3K's GitHub pages repo This content is for my domain https://firebog.net as well as my Big Blocklist Collection. ## Found a false positive, but don't know which list contains it? Run `pihole -q -adlist blockeddomain.com`, and it will return the URL of the block list, opposed to `list.X.*.domains`. ## Know whic...
<|file_sep|>README.md.diff original: This content is for https://firebog.net as well as my Big Blocklist Collection. updated: This content is for my domain https://firebog.net as well as my Big Blocklist Collection. <|file_sep|>original/README.md # WaLLy3K's GitHub pages repo This content is for https://firebog.net as ...
f9c8d790fec8e4ee2ef166f062698bf180dcbead
README.md
README.md
Markdown
<|file_sep|>original/requirements-dev.txt coverage==4.5.4 ddt==1.2.0 flake8==3.7.9 mock==3.0.5 pytest==3.6.3 pytest-cov==2.8.1 <|file_sep|>current/requirements-dev.txt coverage==4.5.4 ddt==1.2.0 flake8==3.7.9 mock==3.0.5 pytest==3.6.3 pytest-cov==2.8.1 <|file_sep|>updated/requirements-dev.txt
coverage==4.5.4 ddt==1.2.2 flake8==3.7.9 mock==3.0.5 pytest==3.6.3 pytest-cov==2.8.1
<|file_sep|>original/requirements-dev.txt coverage==4.5.4 ddt==1.2.0 flake8==3.7.9 mock==3.0.5 pytest==3.6.3 pytest-cov==2.8.1 <|file_sep|>current/requirements-dev.txt coverage==4.5.4 ddt==1.2.0 flake8==3.7.9 mock==3.0.5 pytest==3.6.3 pytest-cov==2.8.1 <|file_sep|>updated/requirements-dev.txt coverage==4.5.4 ddt==1.2.2...
e6e9263260f92249ed4f71d9bf62cefc0d186e3d
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>original/defaults/main.yml # registry related parameters docker_registry: quay.io docker_registry_password: "" docker_registry_username: "" # proxy related parameters docker_use_proxy: no docker_http_proxy: "http://proxy.tld:8080" docker_https_proxy: "https://proxy.tld:8080" # cadvisor related parameter...
# registry related parameters docker_registry: quay.io docker_registry_password: "" docker_registry_username: "" # proxy related parameters docker_use_proxy: no docker_http_proxy: "http://proxy.tld:8080" docker_https_proxy: "{{ docker_http_proxy }}" # cadvisor related parameters docker_run_cadvisor: no cadvisor_li...
<|file_sep|>original/defaults/main.yml # registry related parameters docker_registry: quay.io docker_registry_password: "" docker_registry_username: "" # proxy related parameters docker_use_proxy: no docker_http_proxy: "http://proxy.tld:8080" docker_https_proxy: "https://proxy.tld:8080" # cadvisor related parameter...
d9fb85951c385481c94829639ef02714074aba77
defaults/main.yml
defaults/main.yml
YAML
<|file_sep|>lib/docs/scrapers/symfony.rb.diff original: updated: version '3.2' do self.release = '3.2.1' self.base_url = "http://api.symfony.com/#{version}/" end <|file_sep|>original/lib/docs/scrapers/symfony.rb &copy; 2004&ndash;2016 Fabien Potencier<br> Licensed under the MIT License...
&copy; 2004&ndash;2016 Fabien Potencier<br> Licensed under the MIT License. HTML version '3.2' do self.release = '3.2.1' self.base_url = "http://api.symfony.com/#{version}/" end version '3.1' do self.release = '3.1.8' self.base_url = "http://api.symfony.com/#{versio...
<|file_sep|>lib/docs/scrapers/symfony.rb.diff original: updated: version '3.2' do self.release = '3.2.1' self.base_url = "http://api.symfony.com/#{version}/" end <|file_sep|>original/lib/docs/scrapers/symfony.rb &copy; 2004&ndash;2016 Fabien Potencier<br> Licensed under the MIT License...
a4f10c40a423767c83cbda011dad7181d3dad30f
lib/docs/scrapers/symfony.rb
lib/docs/scrapers/symfony.rb
Ruby
<|file_sep|>src/request/components/request-entry-item-view.jsx.diff original: updated: Timeago = require('../../lib/components/timeago.jsx'); <|file_sep|>src/request/components/request-entry-item-view.jsx.diff original: <td colSpan="7"> updated: <td colSpan="6"> <|fi...
render: function() { var entry = this.props.entry; return ( <div className="request-entry-item-holder"> <table className="table table-bordered"> <tr> <td rowSpan="2">{entry.duration}ms</td> <td colSpan="6...
<|file_sep|>src/request/components/request-entry-item-view.jsx.diff original: updated: Timeago = require('../../lib/components/timeago.jsx'); <|file_sep|>src/request/components/request-entry-item-view.jsx.diff original: <td colSpan="7"> updated: <td colSpan="6"> <|fi...
df198c7f35f6bb05f55be9a3afc985dfb5a9ec44
src/request/components/request-entry-item-view.jsx
src/request/components/request-entry-item-view.jsx
JSX
<|file_sep|>dataedit/templatetags/dataedit/taghandler.py.diff original: updated: <|file_sep|>original/dataedit/templatetags/dataedit/taghandler.py from django import template from dataedit import models import webcolors register = template.Library() @register.assignment_tag def get_tags(): return models.Tag.ob...
from django import template from dataedit import models import webcolors register = template.Library() @register.assignment_tag def get_tags(): return models.Tag.objects.all()[:10] @register.simple_tag() def readable_text_color(color_hex): r, g, b = webcolors.hex_to_rgb(color_hex) # Calculate brightnes...
<|file_sep|>dataedit/templatetags/dataedit/taghandler.py.diff original: updated: <|file_sep|>original/dataedit/templatetags/dataedit/taghandler.py from django import template from dataedit import models import webcolors register = template.Library() @register.assignment_tag def get_tags(): return models.Tag.ob...
71166b445eb5b4aec407b743f8167842e21ed28f
dataedit/templatetags/dataedit/taghandler.py
dataedit/templatetags/dataedit/taghandler.py
Python
<|file_sep|>CMakeLists.txt.diff original: project(oni2mov) updated: project(oni2avi) <|file_sep|>CMakeLists.txt.diff original: set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules/" ${CMAKE_MODULE_PATH}) updated: set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/" ${CMAKE_MODULE_PATH}) <|file_sep|>or...
### ---[ Find universal dependencies set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/" ${CMAKE_MODULE_PATH}) # ---[ Release/Debug specific flags if(CMAKE_BUILD_TYPE STREQUAL "Release" OR CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo") add_definitions("-DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG") endif() find_p...
<|file_sep|>CMakeLists.txt.diff original: project(oni2mov) updated: project(oni2avi) <|file_sep|>CMakeLists.txt.diff original: set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules/" ${CMAKE_MODULE_PATH}) updated: set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/" ${CMAKE_MODULE_PATH}) <|file_sep|>or...
b518005b6a52d8eff4b3e8e559cdfd5e9c0f6c24
CMakeLists.txt
CMakeLists.txt
Text
<|file_sep|>original/.travis.yml - jruby-18mode - jruby-19mode - jruby-9000 - 1.8.7 - 1.9.2 - 1.9.3 - 2.0.0 - 2.1.10 - 2.2.7 - 2.3.4 - 2.4.1 - jruby-head - rbx-2 - ruby-head matrix: allow_failures: - rvm: jruby-head - rvm: rbx-2 - rvm: ruby-head fast_finish: true sudo: false ...
- jruby-9000 - 1.8.7 - 1.9.2 - 1.9.3 - 2.0.0 - 2.1.10 - 2.2.7 - 2.3.4 - 2.4.1 - jruby-head - rbx-2 - ruby-head matrix: allow_failures: - rvm: jruby-head - rvm: rbx-2 - rvm: ruby-head fast_finish: true sudo: false before_install: - gem update bundler
<|file_sep|>original/.travis.yml - jruby-18mode - jruby-19mode - jruby-9000 - 1.8.7 - 1.9.2 - 1.9.3 - 2.0.0 - 2.1.10 - 2.2.7 - 2.3.4 - 2.4.1 - jruby-head - rbx-2 - ruby-head matrix: allow_failures: - rvm: jruby-head - rvm: rbx-2 - rvm: ruby-head fast_finish: true sudo: false ...
66a972c5dafc909340f22ffd93c196e8e789a4b9
.travis.yml
.travis.yml
YAML
<|file_sep|>src/core/transform.js.diff original: constructor: noop, updated: <|file_sep|>src/core/transform.js.diff original: } = Object.assign({}, modulePolyfill, module); updated: } = Object.assign({ constructor: function() {} }, modulePolyfill, module); <|file_sep|>original/src/core/transfor...
ko.toJS(params), pluck(componentInfo.element) ); const vm = new constructor(opts, componentInfo); props && Object.assign(vm, observable(opts, props)); mixins && mixin(vm, opts, mixins); computed && c...
<|file_sep|>src/core/transform.js.diff original: constructor: noop, updated: <|file_sep|>src/core/transform.js.diff original: } = Object.assign({}, modulePolyfill, module); updated: } = Object.assign({ constructor: function() {} }, modulePolyfill, module); <|file_sep|>original/src/core/transfor...
f0543ec50fea760d243cdf0b3d3b15f9a2c8adcd
src/core/transform.js
src/core/transform.js
JavaScript
<|file_sep|>original/spec/classes/astrill_spec.rb require 'spec_helper' describe 'astrill' do it { should contain_class('astrill') } it { should contain_package('Astrill').with_provider('appdmg') } it { should contain_package('Adium').with_source('https://www.astrill.com/downloads/astrill-setup-mac.dmg?mirror=u...
require 'spec_helper' describe 'astrill' do it { should contain_class('astrill') } it { should contain_package('Astrill').with_provider('appdmg') } it { should contain_package('Astrill').with_source('https://www.astrill.com/downloads/astrill-setup-mac.dmg?mirror=usa') } end
<|file_sep|>original/spec/classes/astrill_spec.rb require 'spec_helper' describe 'astrill' do it { should contain_class('astrill') } it { should contain_package('Astrill').with_provider('appdmg') } it { should contain_package('Adium').with_source('https://www.astrill.com/downloads/astrill-setup-mac.dmg?mirror=u...
8849c5a51316ffc94cbaddaf6502caeb2b4581ae
spec/classes/astrill_spec.rb
spec/classes/astrill_spec.rb
Ruby
<|file_sep|>docs/examples/generateAccessToken.php.diff original: $uri = sprintf("http://imbo/users/%s/images/%s?%s", $user, $publicKey, $image, implode('&', $query)); updated: $uri = sprintf("http://imbo/users/%s/images/%s?%s", $user, $image, implode('&', $query)); <|file_sep|>original/docs/examples/generateAccessToken...
// Image transformations $query = [ "t[]=thumbnail:width=40,height=40,fit=outbound", "t[]=border:width=3,height=3,color=000", "t[]=canvas:width=100,height=100,mode=center" ]; // Add a query parameter for public key if it differs from the user if ($user != $publicKey) { $query[] = 'publicKey=' . $publi...
<|file_sep|>docs/examples/generateAccessToken.php.diff original: $uri = sprintf("http://imbo/users/%s/images/%s?%s", $user, $publicKey, $image, implode('&', $query)); updated: $uri = sprintf("http://imbo/users/%s/images/%s?%s", $user, $image, implode('&', $query)); <|file_sep|>original/docs/examples/generateAccessToken...
9ec83dbadce602d67a529d46ec66d31a9eac2eb9
docs/examples/generateAccessToken.php
docs/examples/generateAccessToken.php
PHP
<|file_sep|>.travis.yml.diff original: before_install: updated: cache: bundler: true yarn: true directories: - node_modules install: <|file_sep|>original/.travis.yml language: ruby services: - postgresql before_install: - gem install bundler -v 2.1.2 - yarn install before_script: - psql -c 'create dat...
language: ruby services: - postgresql cache: bundler: true yarn: true directories: - node_modules install: - gem install bundler -v 2.1.2 - bundle install - nvm install node - node -v - npm i -g yarn - yarn install before_script: - psql -c 'create database kinship_test' -U postgres - psql -c...
<|file_sep|>.travis.yml.diff original: before_install: updated: cache: bundler: true yarn: true directories: - node_modules install: <|file_sep|>original/.travis.yml language: ruby services: - postgresql before_install: - gem install bundler -v 2.1.2 - yarn install before_script: - psql -c 'create dat...
a46c9de1fc1fe09aca1fd5ba3e08979a4bceffbd
.travis.yml
.travis.yml
YAML
<|file_sep|>original/examples/calculate_single_person_2.json <|file_sep|>current/examples/calculate_single_person_2.json <|file_sep|>updated/examples/calculate_single_person_2.json
{ "scenarios": [ { "input_variables": { "birth": ["1980-01-01"] }, "period": "2015" } ], "output_format": "variables", "variables": ["revdisp"] }
<|file_sep|>original/examples/calculate_single_person_2.json <|file_sep|>current/examples/calculate_single_person_2.json <|file_sep|>updated/examples/calculate_single_person_2.json { "scenarios": [ { "input_variables": { "birth": ["1980-01-01"] }, "period": "2015" } ], "output_...
5d1d51669a27749e6e6ce4a46f69c37a02533edb
examples/calculate_single_person_2.json
examples/calculate_single_person_2.json
JSON
<|file_sep|>original/index.html <meta name="viewport" content="width=device-width"> <title>codeFormatter demo</title> </head> <body> <div class="content" contenteditable="true"> <span> ``` int foo[10] = { 0 }; // Comments are great. for (int index = 0; index < (s...
<title>codeFormatter demo</title> </head> <body> <div class="content" contenteditable="true"> <span> ``` int foo[10] = { 0 }; // Comments are great. for (int index = 0; index < (sizeof(foo) / sizeof(foo)[0]); index++) { foo[index] = index; ...
<|file_sep|>original/index.html <meta name="viewport" content="width=device-width"> <title>codeFormatter demo</title> </head> <body> <div class="content" contenteditable="true"> <span> ``` int foo[10] = { 0 }; // Comments are great. for (int index = 0; index < (s...
f9e71c7d8ebc26f470bff1a779eb7e6283df84e0
index.html
index.html
HTML
<|file_sep|>original/_source/stylesheets/components/_districts.scss .district-list.district-list { margin-bottom: $line-height * 1em; } .district-list li { } <|file_sep|>current/_source/stylesheets/components/_districts.scss .district-list.district-list { margin-bottom: $line-height * 1em; } .district-list li { } <...
.district-list.district-list { margin-bottom: $line-height * 1em; } .district-list a { &:link, &:visited { text-decoration: none; } }
<|file_sep|>original/_source/stylesheets/components/_districts.scss .district-list.district-list { margin-bottom: $line-height * 1em; } .district-list li { } <|file_sep|>current/_source/stylesheets/components/_districts.scss .district-list.district-list { margin-bottom: $line-height * 1em; } .district-list li { } <...
fe0aa75ea0497690f12509f500b209dcfa6861c9
_source/stylesheets/components/_districts.scss
_source/stylesheets/components/_districts.scss
SCSS
<|file_sep|>original/.travis.yml language: ruby jdk: - oraclejdk8 sudo: false rvm: - 2.3.1 install: - rvm use 2.3.1 - gem install bundler - bundle install script: buildr clean package git: depth: 10 <|file_sep|>current/.travis.yml language: ruby jdk: - oraclejdk8 sudo: false rvm: - 2.3.1 install: - rv...
language: ruby jdk: - oraclejdk8 rvm: - 2.3.1 install: - rvm use 2.3.1 - gem install bundler - bundle install script: buildr clean package git: depth: 10
<|file_sep|>original/.travis.yml language: ruby jdk: - oraclejdk8 sudo: false rvm: - 2.3.1 install: - rvm use 2.3.1 - gem install bundler - bundle install script: buildr clean package git: depth: 10 <|file_sep|>current/.travis.yml language: ruby jdk: - oraclejdk8 sudo: false rvm: - 2.3.1 install: - rv...
b6862043e5297dd6f6a813846d49af9a3778ecda
.travis.yml
.travis.yml
YAML
<|file_sep|>src/ui/app.js.diff original: .config(['$stateProvider', '$urlRouterProvider', '$translateProvider', '$mdIconProvider', '$logProvider', function($stateProvider, $urlRouterProvider, $translateProvider, $mdIconProvider, $logProvider) { updated: .config(['$stateProvider', '$urlRouterProvider', '$transla...
angular.module('proxtop', ['ngMaterial', 'ngSanitize', 'ui.router', 'angular-progress-arc', 'pascalprecht.translate', 'debounce']) .config(['$stateProvider', '$urlRouterProvider', '$translateProvider', '$mdIconProvider', '$logProvider', '$compileProvider', function($stateProvider, $urlRouterProvider, $translateProv...
<|file_sep|>src/ui/app.js.diff original: .config(['$stateProvider', '$urlRouterProvider', '$translateProvider', '$mdIconProvider', '$logProvider', function($stateProvider, $urlRouterProvider, $translateProvider, $mdIconProvider, $logProvider) { updated: .config(['$stateProvider', '$urlRouterProvider', '$transla...
d42ac5686758deb3d7f05f309b4bc37c612c9c52
src/ui/app.js
src/ui/app.js
JavaScript
<|file_sep|>original/src/jspsych-conditional-run.js description: 'The type of the plugin to use if the condition is met' } // + Other parameters relevant to the dependent plugin } }, 'conditionalFunction': { type: jsPsych.plugins.parameterType.FUNCTION, description: 'Function that will...
// + Other parameters relevant to the dependent plugin } }, 'conditionalFunction': { type: jsPsych.plugins.parameterType.FUNCTION, description: 'Function that will be executed when this trial is started. If it returns true, the trial is run. Otherwise, it is skipped.' } } } plugin.trial = ...
<|file_sep|>original/src/jspsych-conditional-run.js description: 'The type of the plugin to use if the condition is met' } // + Other parameters relevant to the dependent plugin } }, 'conditionalFunction': { type: jsPsych.plugins.parameterType.FUNCTION, description: 'Function that will...
bc3e7cf4bf12637f2a7bf380db29343ceb231064
src/jspsych-conditional-run.js
src/jspsych-conditional-run.js
JavaScript
<|file_sep|>original/debug_toolbar/panels/version.py def url(self): return '' def title(self): return _('Versions') def process_response(self, request, response): versions = {} versions['Python'] = '%d.%d.%d' % sys.version_info[:3] for app in settings.I...
def url(self): return '' def title(self): return _('Versions') def process_response(self, request, response): versions = {} versions['Python'] = '%d.%d.%d' % sys.version_info[:3] for app in list(settings.INSTALLED_APPS) + ['django']: name = ...
<|file_sep|>original/debug_toolbar/panels/version.py def url(self): return '' def title(self): return _('Versions') def process_response(self, request, response): versions = {} versions['Python'] = '%d.%d.%d' % sys.version_info[:3] for app in settings.I...
411175d40b449a793528920c3745ca831f6f55e0
debug_toolbar/panels/version.py
debug_toolbar/panels/version.py
Python
<|file_sep|>command-line-interface.js.diff original: var generateInvoice = require('./') updated: var markdownBill = require('./') <|file_sep|>original/command-line-interface.js #!/usr/bin/env node var generateInvoice = require('./') var JSONStream = require('JSONStream') if (process.argv.length < 4) { console.error...
#!/usr/bin/env node var markdownBill = require('./') var JSONStream = require('JSONStream') if (process.argv.length < 4) { console.error('Usage: <from> <to>'); process.exit(1) } var from = Date.parse(process.argv[2]) var through = Date.parse(process.argv[3]) var projects = [] process.stdin .pipe(JSONStream.pa...
<|file_sep|>command-line-interface.js.diff original: var generateInvoice = require('./') updated: var markdownBill = require('./') <|file_sep|>original/command-line-interface.js #!/usr/bin/env node var generateInvoice = require('./') var JSONStream = require('JSONStream') if (process.argv.length < 4) { console.error...
945390deae59f7ccee954a8090e27c26d7d84fdb
command-line-interface.js
command-line-interface.js
JavaScript
<|file_sep|>original/go/otgrpc/shared.go gRPCComponentTag = opentracing.Tag{string(ext.Component), "gRPC"} ) // metadataReaderWriter satisfies both the opentracing.TextMapReader and // opentracing.TextMapWriter interfaces. type metadataReaderWriter struct { metadata.MD } func (w metadataReaderWriter) Set(key, val s...
gRPCComponentTag = opentracing.Tag{string(ext.Component), "gRPC"} ) // metadataReaderWriter satisfies both the opentracing.TextMapReader and // opentracing.TextMapWriter interfaces. type metadataReaderWriter struct { metadata.MD } func (w metadataReaderWriter) Set(key, val string) { // The GRPC HPACK implementatio...
<|file_sep|>original/go/otgrpc/shared.go gRPCComponentTag = opentracing.Tag{string(ext.Component), "gRPC"} ) // metadataReaderWriter satisfies both the opentracing.TextMapReader and // opentracing.TextMapWriter interfaces. type metadataReaderWriter struct { metadata.MD } func (w metadataReaderWriter) Set(key, val s...
8fa31758f85ff84c4f21071a156e7a5539a93795
go/otgrpc/shared.go
go/otgrpc/shared.go
Go
<|file_sep|>original/evelink/parsing/assets.py results = [] for row in rowset.findall('row'): item = {'id': int(row.attrib['itemID']), 'item_type_id': int(row.attrib['typeID']), 'location_id': int(row.attrib.get('locationID', parent_location)), ...
results = [] for row in rowset.findall('row'): item = {'id': int(row.attrib['itemID']), 'item_type_id': int(row.attrib['typeID']), 'location_id': int(row.attrib.get('locationID', parent_location)), 'location_flag': int(row.attrib['f...
<|file_sep|>original/evelink/parsing/assets.py results = [] for row in rowset.findall('row'): item = {'id': int(row.attrib['itemID']), 'item_type_id': int(row.attrib['typeID']), 'location_id': int(row.attrib.get('locationID', parent_location)), ...
c52a39b8a89e1fc8bfe607d2bfa92970d7ae17ad
evelink/parsing/assets.py
evelink/parsing/assets.py
Python
<|file_sep|>.travis.yml.diff original: - '0.10' - '0.11' - '0.12' - '5.1' updated: <|file_sep|>original/.travis.yml language: node_js node_js: - '0.10' - '0.11' - '0.12' - '5.1' - '6' <|file_sep|>current/.travis.yml language: node_js node_js: - '6' <|file_sep|>updated/.travis.yml
language: node_js node_js: - '6' - '8' - '10'
<|file_sep|>.travis.yml.diff original: - '0.10' - '0.11' - '0.12' - '5.1' updated: <|file_sep|>original/.travis.yml language: node_js node_js: - '0.10' - '0.11' - '0.12' - '5.1' - '6' <|file_sep|>current/.travis.yml language: node_js node_js: - '6' <|file_sep|>updated/.travis.yml language: node_js ...
28ed19de3271fdfb05654660c85deb0fd4735272
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/test/resources/logback-test.xml <?xml version="1.0" encoding="UTF-8"?> <configuration> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <encoder> <pattern>%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36}.%M\(%line\) -- %msg%n</pattern> <...
<?xml version="1.0" encoding="UTF-8"?> <configuration> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <encoder> <pattern>%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36}.%M\(%line\) -- %msg%n</pattern> </encoder> </appender> <logger name="io.github.bo...
<|file_sep|>original/src/test/resources/logback-test.xml <?xml version="1.0" encoding="UTF-8"?> <configuration> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <encoder> <pattern>%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36}.%M\(%line\) -- %msg%n</pattern> <...
490ef8223d0f346ca670dadb477c9885937cd449
src/test/resources/logback-test.xml
src/test/resources/logback-test.xml
XML
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - stable - "4" - "0.12" <|file_sep|>current/.travis.yml sudo: false language: node_js node_js: - stable - "4" - "0.12" <|file_sep|>updated/.travis.yml
sudo: false language: node_js node_js: - stable - "5" - "4" - "0.12"
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - stable - "4" - "0.12" <|file_sep|>current/.travis.yml sudo: false language: node_js node_js: - stable - "4" - "0.12" <|file_sep|>updated/.travis.yml sudo: false language: node_js node_js: - stable - "5" - "4" - "0.12"
5ad4a1f436fb7a90e5f87d8dfa042e4f8806cba7
.travis.yml
.travis.yml
YAML
<|file_sep|>packages/ha/hascas.yaml.diff original: hash: 2c5cf97cf6591937cbc76e99b7d5e6ed03965e6a1a6f3a3e5ca617287b5c8e85 updated: hash: f0fc31e51df5e83c80fb11f1fd40f9e869d182168f824f6a67e17f3a78773d53 <|file_sep|>packages/ha/hascas.yaml.diff original: updated: safe-exceptions: -any <|file_sep|>packages/ha/hascas.ya...
changelog: '' basic-deps: bytestring: -any stm: -any base: ! '>=4.7 && <5' uuid: -any safe-exceptions: -any network: -any containers: -any binary: -any mtl: -any data-binary-ieee754: -any template-haskell: -any all-versions: - '0.1.0.0' - '1.0.0' author: Saurabh Rawat latest: '1.0.0' description-t...
<|file_sep|>packages/ha/hascas.yaml.diff original: hash: 2c5cf97cf6591937cbc76e99b7d5e6ed03965e6a1a6f3a3e5ca617287b5c8e85 updated: hash: f0fc31e51df5e83c80fb11f1fd40f9e869d182168f824f6a67e17f3a78773d53 <|file_sep|>packages/ha/hascas.yaml.diff original: updated: safe-exceptions: -any <|file_sep|>packages/ha/hascas.ya...
6d8e23c3b69f499657e0765b3aefd1f9f288e366
packages/ha/hascas.yaml
packages/ha/hascas.yaml
YAML
<|file_sep|>original/.travis.yml language: ruby cache: bundler rvm: - 2.2.0 - 2.1.0 - 2.0.0 before_install: - gem update bundler <|file_sep|>current/.travis.yml language: ruby cache: bundler rvm: - 2.2.0 - 2.1.0 - 2.0.0 before_install: - gem update bundler <|file_sep|>updated/.travis.yml
language: ruby cache: bundler rvm: - 2.2.0 - 2.1.0 - 2.0.0 - 1.9.3 before_install: - gem update bundler
<|file_sep|>original/.travis.yml language: ruby cache: bundler rvm: - 2.2.0 - 2.1.0 - 2.0.0 before_install: - gem update bundler <|file_sep|>current/.travis.yml language: ruby cache: bundler rvm: - 2.2.0 - 2.1.0 - 2.0.0 before_install: - gem update bundler <|file_sep|>updated/.travis.yml language: ruby ...
0b028c4efdb8c4fa2a2aae299d9ba28d8ceb26e4
.travis.yml
.travis.yml
YAML
<|file_sep|>original/sources/Curse/projectozone3.json "description": "Project Ozone 3: A New Way Forward is a pack filled to the brim of mods ranging from tech to magic to even exploration. A Better Questing pack filled with 'currently 1129' quests (if you include the reward system). Project Ozone 3 also supports p...
"mirror": true, "releases": [ { "version": "3.0.38", "url": "https://s3.amazonaws.com/MCProHosting-Misc/Curse/ProjectOzone3-3.0.38.zip", "build": 3039 }, { "version": "...
<|file_sep|>original/sources/Curse/projectozone3.json "description": "Project Ozone 3: A New Way Forward is a pack filled to the brim of mods ranging from tech to magic to even exploration. A Better Questing pack filled with 'currently 1129' quests (if you include the reward system). Project Ozone 3 also supports p...
8a6eef88e737450b8643412440b970f5e4bca3bb
sources/Curse/projectozone3.json
sources/Curse/projectozone3.json
JSON
<|file_sep|>original/test/CMakeLists.txt add_subdirectory(bf) if (Boost_FOUND) add_executable(unit unit.cc) target_link_libraries(unit libbf ${Boost_UNIT_TEST_FRAMEWORK_LIBRARY}) add_custom_target(test ${CMAKE_CURRENT_BINARY_DIR}/unit) endif () <|file_sep|>current/test/CMakeLists.txt add_subdirectory(bf) if (Bo...
add_subdirectory(bf) if (Boost_FOUND) add_executable(unit unit.cc) target_link_libraries(unit libbf ${Boost_UNIT_TEST_FRAMEWORK_LIBRARY}) add_custom_target(test ${CMAKE_CURRENT_BINARY_DIR}/unit DEPENDS libbf) endif ()
<|file_sep|>original/test/CMakeLists.txt add_subdirectory(bf) if (Boost_FOUND) add_executable(unit unit.cc) target_link_libraries(unit libbf ${Boost_UNIT_TEST_FRAMEWORK_LIBRARY}) add_custom_target(test ${CMAKE_CURRENT_BINARY_DIR}/unit) endif () <|file_sep|>current/test/CMakeLists.txt add_subdirectory(bf) if (Bo...
09333f74d3191496f7bf7490a6d4d7710367ccfc
test/CMakeLists.txt
test/CMakeLists.txt
Text
<|file_sep|>original/lib/watch_tower/server/views/_file.haml %article.file[file] %div .path= file.path .elapsed= file.elapsed .clearfix .percentage_img_container .percentage -# TODO: Move this to the presenter after having resolved the presenter -# issues, in Draper I can't access ...
%article.file[file] %div .path= file.path .elapsed= file.elapsed .clearfix .percentage_img_container .percentage %img.percentage_img{src: asset_path('percentage.png'), 'data-width' => file.percent}/ .clearfix
<|file_sep|>original/lib/watch_tower/server/views/_file.haml %article.file[file] %div .path= file.path .elapsed= file.elapsed .clearfix .percentage_img_container .percentage -# TODO: Move this to the presenter after having resolved the presenter -# issues, in Draper I can't access ...
e786ecc11551ec8d89a90cd88b1ab97347b6a6a3
lib/watch_tower/server/views/_file.haml
lib/watch_tower/server/views/_file.haml
Haml
<|file_sep|>original/project.clj ;; The only requirement of the project.clj file is that it includes a ;; defproject form. It can have other code in it as well, including ;; loading other task definitions. (defproject leiningen "1.1.0-RC1" :description "A build tool designed not to set your hair on fire." :url "ht...
;; The only requirement of the project.clj file is that it includes a ;; defproject form. It can have other code in it as well, including ;; loading other task definitions. (defproject leiningen "1.1.0-RC1" :description "A build tool designed not to set your hair on fire." :url "http://github.com/technomancy/leini...
<|file_sep|>original/project.clj ;; The only requirement of the project.clj file is that it includes a ;; defproject form. It can have other code in it as well, including ;; loading other task definitions. (defproject leiningen "1.1.0-RC1" :description "A build tool designed not to set your hair on fire." :url "ht...
37543115935fcd9b34a835b4a79385e6b6b2d244
project.clj
project.clj
Clojure
<|file_sep|>original/tests/auto/declarative/qdeclarativeloader/data/GraphicsWidget250x250.qml import Qt 4.6 QGraphicsWidget { size: "250x250" } <|file_sep|>current/tests/auto/declarative/qdeclarativeloader/data/GraphicsWidget250x250.qml import Qt 4.6 QGraphicsWidget { size: "250x250" } <|file_sep|>updated/tes...
import Qt 4.6 import Qt.widgets 4.6 QGraphicsWidget { size: "250x250" }
<|file_sep|>original/tests/auto/declarative/qdeclarativeloader/data/GraphicsWidget250x250.qml import Qt 4.6 QGraphicsWidget { size: "250x250" } <|file_sep|>current/tests/auto/declarative/qdeclarativeloader/data/GraphicsWidget250x250.qml import Qt 4.6 QGraphicsWidget { size: "250x250" } <|file_sep|>updated/tes...
eed6afb54c48892b0f748d7d8accbecadf0680af
tests/auto/declarative/qdeclarativeloader/data/GraphicsWidget250x250.qml
tests/auto/declarative/qdeclarativeloader/data/GraphicsWidget250x250.qml
QML
<|file_sep|>README.md.diff original: # yadlam-wp-install-script updated: # wp-install <|file_sep|>original/README.md # Dependencies # ### wp-cli ### You can install the latest version of wp-cli to `/usr/bin` by running `./get-wp-cli`. # Installation # Copy `wp-install` to somewhere on your `path`. `/usr/bin` mig...
Copy `wp-install` to somewhere on your `path`. `/usr/bin` might be a good choice. sudo cp wp-install /usr/bin/wp-install # Usage # 1. `wp-install` 2. Follow instructions 3. Appreciate free time # Features # - Comes with options to install common plugins - Yoast SEO - Regenerate Thumbnails - Contact Fo...
<|file_sep|>README.md.diff original: # yadlam-wp-install-script updated: # wp-install <|file_sep|>original/README.md # Dependencies # ### wp-cli ### You can install the latest version of wp-cli to `/usr/bin` by running `./get-wp-cli`. # Installation # Copy `wp-install` to somewhere on your `path`. `/usr/bin` mig...
0b97447575bd694123662ba86bfd0739b2d75f1e
README.md
README.md
Markdown
<|file_sep|>original/Pods/Expecta/src/matchers/EXPMatchers+equal.h #import "Expecta.h" EXPMatcherInterface(_equal, (id expected)); EXPMatcherInterface(equal, (id expected)); // to aid code completion #define equal(expected) _equal(EXPObjectify((expected))) <|file_sep|>current/Pods/Expecta/src/matchers/EXPMatchers+equa...
#import "Expecta.h" EXPMatcherInterface(_equal, (id expected)); EXPMatcherInterface(equal, (id expected)); // to aid code completion #define equal(...) _equal(EXPObjectify((__VA_ARGS__)))
<|file_sep|>original/Pods/Expecta/src/matchers/EXPMatchers+equal.h #import "Expecta.h" EXPMatcherInterface(_equal, (id expected)); EXPMatcherInterface(equal, (id expected)); // to aid code completion #define equal(expected) _equal(EXPObjectify((expected))) <|file_sep|>current/Pods/Expecta/src/matchers/EXPMatchers+equa...
cd15a3b8e5975c8ddc5928022fce4696adce5e8c
Pods/Expecta/src/matchers/EXPMatchers+equal.h
Pods/Expecta/src/matchers/EXPMatchers+equal.h
C
<|file_sep|>js/application.js.diff original: updated: var Game = function(givenBoard) { <|file_sep|>original/js/application.js $(document).ready(function() { }); <|file_sep|>current/js/application.js $(document).ready(function() { var Game = function(givenBoard) { }); <|file_sep|>updated/js/application.js
$(document).ready(function() { var Game = function(givenBoard) { function getRandomIndex(maxExclusive) { return Math.floor(Math.random() * maxExclusive) } function randomBoard() { var board = [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] var index1 = getRandomIndex(16) var index2 = index1 ...
<|file_sep|>js/application.js.diff original: updated: var Game = function(givenBoard) { <|file_sep|>original/js/application.js $(document).ready(function() { }); <|file_sep|>current/js/application.js $(document).ready(function() { var Game = function(givenBoard) { }); <|file_sep|>updated/js/application.js $(docu...
66351913130d3c41bda823c945cafed8e5198ec2
js/application.js
js/application.js
JavaScript
<|file_sep|>original/django/__init__.py VERSION = (1, 5, 0, 'final', 2) def get_version(*args, **kwargs): # Don't litter django/__init__.py with all the get_version stuff. # Only import if it's actually called. from django.utils.version import get_version return get_version(*args, **kwargs) <|file_sep|...
VERSION = (1, 5, 0, 'final', 0) def get_version(*args, **kwargs): # Don't litter django/__init__.py with all the get_version stuff. # Only import if it's actually called. from django.utils.version import get_version return get_version(*args, **kwargs)
<|file_sep|>original/django/__init__.py VERSION = (1, 5, 0, 'final', 2) def get_version(*args, **kwargs): # Don't litter django/__init__.py with all the get_version stuff. # Only import if it's actually called. from django.utils.version import get_version return get_version(*args, **kwargs) <|file_sep|...
b170c077ccd86280715dbc57cf2cac9a2327ff4b
django/__init__.py
django/__init__.py
Python
<|file_sep|>.travis.yml.diff original: - go vet ./... - golint ./... updated: <|file_sep|>original/.travis.yml language: go go: - 1.7 - tip before_install: - go get github.com/mattn/goveralls - go get -u github.com/golang/lint/golint script: - go vet ./... - golint ./... - go test -v ./... -race - ...
language: go go: - 1.7 - tip before_install: - go get github.com/mattn/goveralls - go get -u github.com/golang/lint/golint script: - go test -v ./... -race - $HOME/gopath/bin/goveralls -service=travis-ci after_script: - go vet ./... - golint -set_exit_status ./...
<|file_sep|>.travis.yml.diff original: - go vet ./... - golint ./... updated: <|file_sep|>original/.travis.yml language: go go: - 1.7 - tip before_install: - go get github.com/mattn/goveralls - go get -u github.com/golang/lint/golint script: - go vet ./... - golint ./... - go test -v ./... -race - ...
c825c32a7e7118c91c772f032436135ae9a927ba
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/APIBundle/Controller/InjectTypeController.php * description="List inject types" * ) * @Rest\Get("/inject_types") */ public function getInjectTypesAction(Request $request) { $url = $this->getParameter('worker_url') . '/cxf/contracts'; $contracts = j...
* description="List inject types" * ) * @Rest\Get("/inject_types") */ public function getInjectTypesAction(Request $request) { $url = $this->getParameter('worker_url') . '/cxf/contracts'; $contracts = json_decode(file_get_contents($url), true); $other = array(); ...
<|file_sep|>original/src/APIBundle/Controller/InjectTypeController.php * description="List inject types" * ) * @Rest\Get("/inject_types") */ public function getInjectTypesAction(Request $request) { $url = $this->getParameter('worker_url') . '/cxf/contracts'; $contracts = j...
ade82766c903389d78d3f8f2ca75543c25f1fb08
src/APIBundle/Controller/InjectTypeController.php
src/APIBundle/Controller/InjectTypeController.php
PHP