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/gradle.properties VERSION_NAME=5.8.3 POM_PACKAGING=aar GROUP=com.mixpanel.android POM_DESCRIPTION=Official Mixpanel tracking library for Android http://mixpanel.com/ POM_URL=https://github.com/mixpanel/mixpanel-android POM_SCM_URL=https://github.com/mixpanel/mixpanel-android POM_SCM_CONNECTION=sc...
VERSION_NAME=5.8.4-SNAPSHOT POM_PACKAGING=aar GROUP=com.mixpanel.android POM_DESCRIPTION=Official Mixpanel tracking library for Android http://mixpanel.com/ POM_URL=https://github.com/mixpanel/mixpanel-android POM_SCM_URL=https://github.com/mixpanel/mixpanel-android POM_SCM_CONNECTION=scm:git:http://github.com/mixpan...
<|file_sep|>original/gradle.properties VERSION_NAME=5.8.3 POM_PACKAGING=aar GROUP=com.mixpanel.android POM_DESCRIPTION=Official Mixpanel tracking library for Android http://mixpanel.com/ POM_URL=https://github.com/mixpanel/mixpanel-android POM_SCM_URL=https://github.com/mixpanel/mixpanel-android POM_SCM_CONNECTION=sc...
b72f288734c5acd9a2e1f929657729c949af6f3a
gradle.properties
gradle.properties
INI
<|file_sep|>lib/bank_working_day/holidays.rb.diff original: @holidays = set_holiday('holidays.yml') @bank_holidays = set_holiday('bank_holidays.yml') updated: @holidays = set_holiday(holidays_path) @bank_holidays = set_holiday('../../../bank_holidays.yml') <|file_sep|>original/lib/bank_working_d...
@holidays = set_holiday(holidays_path) @bank_holidays = set_holiday('../../../bank_holidays.yml') end def holiday?(date) holidays[date] || bank_holidays[date] || date.wday.in?(HOLIDAY_WDAYS) end private # Rails側に祝日のYAMLファイルがあれば優先する def holidays_path path = Rails.root.t...
<|file_sep|>lib/bank_working_day/holidays.rb.diff original: @holidays = set_holiday('holidays.yml') @bank_holidays = set_holiday('bank_holidays.yml') updated: @holidays = set_holiday(holidays_path) @bank_holidays = set_holiday('../../../bank_holidays.yml') <|file_sep|>original/lib/bank_working_d...
da1b79ebb79eb94828edc36a74aec4791df64d45
lib/bank_working_day/holidays.rb
lib/bank_working_day/holidays.rb
Ruby
<|file_sep|>.travis.yml.diff original: dist: trusty updated: dist: xenial <|file_sep|>.travis.yml.diff original: - oraclejdk8 updated: <|file_sep|>.travis.yml.diff original: updated: - openjdk11 <|file_sep|>original/.travis.yml sudo: false install: true jdk: - oraclejdk8 - openjdk8 - oraclejdk11 addons: ...
sudo: false install: true jdk: - openjdk8 - openjdk11 - oraclejdk11 addons: apt: packages: - openjdk-8-jdk notifications: slack: oskari:N5vZf0lzsIGpQ8nAPRfHgQ91 webhooks: urls: - secure: "jFL9lnYQWrHe+3b749MfPQEpqhqY6Cr7nI48Zkj2wSDhMfuTId2ujawAoXDZGUcqmWVMR4T4uQnhpRX05jEQkTkSweAWV7TefJ...
<|file_sep|>.travis.yml.diff original: dist: trusty updated: dist: xenial <|file_sep|>.travis.yml.diff original: - oraclejdk8 updated: <|file_sep|>.travis.yml.diff original: updated: - openjdk11 <|file_sep|>original/.travis.yml sudo: false install: true jdk: - oraclejdk8 - openjdk8 - oraclejdk11 addons: ...
100c1d2e4196c72ff7745bd0b34244a7f7203ffe
.travis.yml
.travis.yml
YAML
<|file_sep|>original/app/views/static_pages/home.html.erb Open Source Software (FLOSS) projects to show that they follow best practices. Projects can voluntarily self-certify, at no cost, by using this web application to explain how they follow each best practice. The CII Best Practices Badge is inspire...
at no cost, by using this web application to explain how they follow each best practice. The CII Best Practices Badge is inspired by the many badges available to projects on GitHub. Consumers of the badge will be able to quickly assess which FLOSS projects are following best practices and as a resul...
<|file_sep|>original/app/views/static_pages/home.html.erb Open Source Software (FLOSS) projects to show that they follow best practices. Projects can voluntarily self-certify, at no cost, by using this web application to explain how they follow each best practice. The CII Best Practices Badge is inspire...
5c9340eaeeb84837f1e19fbdd50a266c626efc27
app/views/static_pages/home.html.erb
app/views/static_pages/home.html.erb
HTML+ERB
<|file_sep|>src/scripts/modules/media/editbar/modals/publish-template.html.diff original: <div class="publish-list"> {{! Add Publish List View}} </div> updated: <|file_sep|>original/src/scripts/modules/media/editbar/modals/publish-template.html <div class="modal-heade...
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button> <h4 class="modal-title">Publish</h4> </div> <div class="modal-body"> <div class="form-group"> <label class="control-label"> <input type="checkbox"> I agre...
<|file_sep|>src/scripts/modules/media/editbar/modals/publish-template.html.diff original: <div class="publish-list"> {{! Add Publish List View}} </div> updated: <|file_sep|>original/src/scripts/modules/media/editbar/modals/publish-template.html <div class="modal-heade...
fc59d08b08144bb72a73c98910cff466304b8b82
src/scripts/modules/media/editbar/modals/publish-template.html
src/scripts/modules/media/editbar/modals/publish-template.html
HTML
<|file_sep|>original/README.md * Partial bindings * Sample class is ported to Haskell * Hello-World sample is ported ## Compilation of Urho3D Urho3D was configured with following options for development of the bindings: ``` cmake .. -DURHO3D_SAMPLES=1 -DURHO3D_EXTRAS=1 -DURHO3D_LIB_TYPE=SHARED -DCMAKE_INSTALL_PREFIX...
Also you need to adjust paths at the end of `stack.yml`: ``` extra-lib-dirs: - /usr/lib64/Urho3D extra-include-dirs: - /usr/include - /usr/include/Urho3D/ThirdParty ``` And you need to setup `URHO3D_PREFIX_PATH` environment variable to run samples. For instance: ``` URHO3D_PREFIX_PATH=/usr/share/Urho3D/Resources ``...
<|file_sep|>original/README.md * Partial bindings * Sample class is ported to Haskell * Hello-World sample is ported ## Compilation of Urho3D Urho3D was configured with following options for development of the bindings: ``` cmake .. -DURHO3D_SAMPLES=1 -DURHO3D_EXTRAS=1 -DURHO3D_LIB_TYPE=SHARED -DCMAKE_INSTALL_PREFIX...
95bad7373f564ceecc9ebde9a97ed6e2d15b626f
README.md
README.md
Markdown
<|file_sep|>src/game/detail/view_input/sound_effect_modifier.h.diff original: augs::distance_model distance_model = augs::distance_model::NONE; int repetitions = 1; updated: char repetitions = 1; <|file_sep|>original/src/game/detail/view_input/sound_effect_modifier.h #pragma once #include "augs/math/declare_math.h" ...
#pragma once #include "augs/math/declare_math.h" #include "augs/audio/distance_model.h" struct sound_effect_modifier { // GEN INTROSPECTOR struct sound_effect_modifier real32 gain = 1.f; real32 pitch = 1.f; real32 max_distance = -1.f; real32 reference_distance = -1.f; real32 doppler_factor = 1.f; char repetitio...
<|file_sep|>src/game/detail/view_input/sound_effect_modifier.h.diff original: augs::distance_model distance_model = augs::distance_model::NONE; int repetitions = 1; updated: char repetitions = 1; <|file_sep|>original/src/game/detail/view_input/sound_effect_modifier.h #pragma once #include "augs/math/declare_math.h" ...
f9b6386e1f69a8f5b4d69b0f1af75d242bcd71e9
src/game/detail/view_input/sound_effect_modifier.h
src/game/detail/view_input/sound_effect_modifier.h
C
<|file_sep|>eloquent_js_exercises/chapter04/ch04_ex03.js.diff original: function arrayToList(arr) { var list = null; for (var i = arr.length - 1; i >= 0; --i) list = { value: arr[i], rest: list }; updated: function arrayToList(array) { let list = null; for (let i = array.length - 1; i >= 0; --i)...
list = {value: array[i], rest: list}; } return list; } function listToArray(list) { let array = []; for (let node = list; node; node = node.rest) { array.push(node.value); } return array; } function prepend(element, list) { return arrayToList([element, ...listToArray(list)]...
<|file_sep|>eloquent_js_exercises/chapter04/ch04_ex03.js.diff original: function arrayToList(arr) { var list = null; for (var i = arr.length - 1; i >= 0; --i) list = { value: arr[i], rest: list }; updated: function arrayToList(array) { let list = null; for (let i = array.length - 1; i >= 0; --i)...
baf065bba0f91819fa879ca0a3be3fa895d64d01
eloquent_js_exercises/chapter04/ch04_ex03.js
eloquent_js_exercises/chapter04/ch04_ex03.js
JavaScript
<|file_sep|>original/.travis.yml rvm: 2.2 sudo: required # install the pre-release chef-dk. Use chef-stable-precise to install the stable release addons: apt: sources: - chef-current-precise packages: - chefdk services: docker env: matrix: - INSTANCE=default-centos-71 # Don't `bundle ins...
sudo: required # install the pre-release chef-dk. Use chef-stable-precise to install the stable release addons: apt: sources: - chef-current-precise packages: - chefdk services: docker env: matrix: - INSTANCE=default-centos-71 # Don't `bundle install` install: echo "skip bundle install" ...
<|file_sep|>original/.travis.yml rvm: 2.2 sudo: required # install the pre-release chef-dk. Use chef-stable-precise to install the stable release addons: apt: sources: - chef-current-precise packages: - chefdk services: docker env: matrix: - INSTANCE=default-centos-71 # Don't `bundle ins...
3c425a70f505007b9d9867b102bdefd0cae25256
.travis.yml
.travis.yml
YAML
<|file_sep|>README.md.diff original: # linter-pylama [![Build Status](https://travis-ci.org/AtomLinter/linter-pylama.svg?branch=master)](https://travis-ci.org/AtomLinter/linter-pylama) updated: # linter-pylama [![Build Status](https://travis-ci.org/AtomLinter/linter-pylama.svg?branch=master)](https://travis-ci.org/Atom...
# linter-pylama [![Build Status](https://travis-ci.org/AtomLinter/linter-pylama.svg?branch=master)](https://travis-ci.org/AtomLinter/linter-pylama) [![apm downloads](https://img.shields.io/apm/dm/linter-pylama.svg?maxAge=2592000)](https://atom.io/packages/linter-pylama) [![GitHub license](https://img.shields.io/badge/l...
<|file_sep|>README.md.diff original: # linter-pylama [![Build Status](https://travis-ci.org/AtomLinter/linter-pylama.svg?branch=master)](https://travis-ci.org/AtomLinter/linter-pylama) updated: # linter-pylama [![Build Status](https://travis-ci.org/AtomLinter/linter-pylama.svg?branch=master)](https://travis-ci.org/Atom...
156240631a25b99013ffc3af3e4b0e82d8fe10b0
README.md
README.md
Markdown
<|file_sep|>original/README.md Galaxy-XSD ========== A Galaxy XML tool wrapper __XML schema definition__ (__XSD__) # History * Feb-2015 : Pierre Lindenbaum added doc, tests, Java-XML binding file (jxb) for java xml compiler (xjc) ( https://docs.oracle.com/cd/E19575-01/819-3669/bnbal/index.html ) * 2013 : initial...
Galaxy-XSD ========== [![Build Status](https://travis-ci.org/JeanFred/Galaxy-XSD.svg)](http://travis-ci.org/JeanFred/Galaxy-XSD) A Galaxy XML tool wrapper __XML schema definition__ (__XSD__) # History * Feb-2015 : Pierre Lindenbaum added doc, tests, Java-XML binding file (jxb) for java xml compiler (xjc) ( https...
<|file_sep|>original/README.md Galaxy-XSD ========== A Galaxy XML tool wrapper __XML schema definition__ (__XSD__) # History * Feb-2015 : Pierre Lindenbaum added doc, tests, Java-XML binding file (jxb) for java xml compiler (xjc) ( https://docs.oracle.com/cd/E19575-01/819-3669/bnbal/index.html ) * 2013 : initial...
48e1ad17e1271ba0bfd0776c67c4b58d05bfddd9
README.md
README.md
Markdown
<|file_sep|>original/config/environments/staging.rb # Show full error reports and disable caching config.consider_all_requests_local = true config.action_controller.perform_caching = false # Don't care if the mailer can't send config.action_mailer.raise_delivery_errors = false # Print deprecation no...
# Show full error reports and disable caching config.consider_all_requests_local = true config.action_controller.perform_caching = false # Don't care if the mailer can't send config.action_mailer.raise_delivery_errors = false # Print deprecation notices to the Rails logger config.active_support.de...
<|file_sep|>original/config/environments/staging.rb # Show full error reports and disable caching config.consider_all_requests_local = true config.action_controller.perform_caching = false # Don't care if the mailer can't send config.action_mailer.raise_delivery_errors = false # Print deprecation no...
8d533412ff05396878361a9b59143d363a11e0a4
config/environments/staging.rb
config/environments/staging.rb
Ruby
<|file_sep|>original/grnline.fs/Program.fs let prompt_default = Path.GetFileNameWithoutExtension config.DBPath |> sprintf "grnline.fs(%s)> " let mutable prompt = prompt_default let mutable inputs: string list = [] let mutable continueLooping = true while continueLooping do ...
let prompt_default = Path.GetFileNameWithoutExtension config.DBPath |> sprintf "grnline.fs(%s)> " let mutable prompt = prompt_default let mutable inputs: string list = [] let mutable continueLooping = true while continueLooping do prompt |> printf "%s" let...
<|file_sep|>original/grnline.fs/Program.fs let prompt_default = Path.GetFileNameWithoutExtension config.DBPath |> sprintf "grnline.fs(%s)> " let mutable prompt = prompt_default let mutable inputs: string list = [] let mutable continueLooping = true while continueLooping do ...
c5a46727fe8c9c5e975b4f458930b0a2f5e0e714
grnline.fs/Program.fs
grnline.fs/Program.fs
F#
<|file_sep|>original/CHANGELOG.md ## [Unreleased][unreleased] ### Added - vagrant: support for libvirt provider (#138) ## [0.18.0] - 2015-01-24 ### Added - vagrant: support for `vagrant reload` (#101) ## [0.17.0] - 2015-01-18 ### Added - cli: `add` / `rm|del` subcommands (#96) ### Fixed - cli: default to show...
## [Unreleased][unreleased] ### Added - vagrant: support for libvirt provider (#138) - Add support for CNAME records (#99) ## [0.18.0] - 2015-01-24 ### Added - vagrant: support for `vagrant reload` (#101) ## [0.17.0] - 2015-01-18 ### Added - cli: `add` / `rm|del` subcommands (#96) ### Fixed - cli: default to...
<|file_sep|>original/CHANGELOG.md ## [Unreleased][unreleased] ### Added - vagrant: support for libvirt provider (#138) ## [0.18.0] - 2015-01-24 ### Added - vagrant: support for `vagrant reload` (#101) ## [0.17.0] - 2015-01-18 ### Added - cli: `add` / `rm|del` subcommands (#96) ### Fixed - cli: default to show...
d3eb2e6505b0d4d4b8eae8c2cc5867db2a597631
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>original/app/assets/javascripts/templates/price_breakdown_button.html.haml %button.graph-button{"ng-class" => "{open: tt_isOpen}"} / %i.ofn-i_058-graph <|file_sep|>current/app/assets/javascripts/templates/price_breakdown_button.html.haml %button.graph-button{"ng-class" => "{open: tt_isOpen}"} / %i.ofn-i...
%button.graph-button{"ng-class" => "{open: tt_isOpen}", type: 'button'} / %i.ofn-i_058-graph
<|file_sep|>original/app/assets/javascripts/templates/price_breakdown_button.html.haml %button.graph-button{"ng-class" => "{open: tt_isOpen}"} / %i.ofn-i_058-graph <|file_sep|>current/app/assets/javascripts/templates/price_breakdown_button.html.haml %button.graph-button{"ng-class" => "{open: tt_isOpen}"} / %i.ofn-i...
e25e4e7482a3dda600c7e3041499a51571eabbc1
app/assets/javascripts/templates/price_breakdown_button.html.haml
app/assets/javascripts/templates/price_breakdown_button.html.haml
Haml
<|file_sep|>original/core/src/main/amp/config/alfresco/module/org.alfresco.extension.alfresco-bulk-import/log4j.properties # ####TODO: REVERT THIS TO WARN BEFORE FINAL RELEASE log4j.logger.org.alfresco.extension.bulkimport=info # log4j.logger.org.alfresco.extension.bulkimport=warn # ####TODO: REMOVE THIS BEFORE FINAL ...
# ####TODO: REVERT THIS TO WARN BEFORE FINAL RELEASE log4j.logger.org.alfresco.extension.bulkimport=info # log4j.logger.org.alfresco.extension.bulkimport=warn # ####TODO: REMOVE THIS BEFORE FINAL RELEASE #log4j.logger.org.alfresco.repo.transaction.RetryingTransactionHelper=DEBUG
<|file_sep|>original/core/src/main/amp/config/alfresco/module/org.alfresco.extension.alfresco-bulk-import/log4j.properties # ####TODO: REVERT THIS TO WARN BEFORE FINAL RELEASE log4j.logger.org.alfresco.extension.bulkimport=info # log4j.logger.org.alfresco.extension.bulkimport=warn # ####TODO: REMOVE THIS BEFORE FINAL ...
e03adf041f58334a56dc671154a55358aab87edf
core/src/main/amp/config/alfresco/module/org.alfresco.extension.alfresco-bulk-import/log4j.properties
core/src/main/amp/config/alfresco/module/org.alfresco.extension.alfresco-bulk-import/log4j.properties
INI
<|file_sep|>original/README.rst Econometrics Examples ===================== `Different ways to compute OLS <https://github.com/khrapovs/metrix/blob/master/notebooks/computing_ols.ipynb>`_ `Basic data IO and analysis <https://github.com/khrapovs/metrix/blob/master/notebooks/basic_data_io_analysis.ipynb>`_ `Testing AD...
Econometrics Examples ===================== `Different ways to compute OLS <https://github.com/khrapovs/metrix/blob/master/notebooks/computing_ols.ipynb>`_ `Basic data IO and analysis <https://github.com/khrapovs/metrix/blob/master/notebooks/basic_data_io_analysis.ipynb>`_ `Testing ADL model <https://github.com/khra...
<|file_sep|>original/README.rst Econometrics Examples ===================== `Different ways to compute OLS <https://github.com/khrapovs/metrix/blob/master/notebooks/computing_ols.ipynb>`_ `Basic data IO and analysis <https://github.com/khrapovs/metrix/blob/master/notebooks/basic_data_io_analysis.ipynb>`_ `Testing AD...
20a5bbddc77792a23e9970ad18aef6b40a6b19df
README.rst
README.rst
reStructuredText
<|file_sep|>original/.travis.yml language: python python: - 2.7 - 3.3 - 3.4 install: - pip install coveralls scrutinizer-ocular before_script: - make env - make depends-ci script: - make ci after_success: - coveralls - ocular notifications: email: on_success: never on_failure: change <|file_sep|>current/.trav...
sudo: false language: python python: - 2.7 - 3.3 - 3.4 install: - pip install coveralls scrutinizer-ocular before_script: - make env - make depends-ci script: - make ci after_success: - coveralls - ocular notifications: email: on_success: never on_failure: change
<|file_sep|>original/.travis.yml language: python python: - 2.7 - 3.3 - 3.4 install: - pip install coveralls scrutinizer-ocular before_script: - make env - make depends-ci script: - make ci after_success: - coveralls - ocular notifications: email: on_success: never on_failure: change <|file_sep|>current/.trav...
48fd5e97db680b1125e83684c315634e00c463e4
.travis.yml
.travis.yml
YAML
<|file_sep|>app/views/layouts/application/_form_errors.html.erb.diff original: <div> updated: <div class="error_explanation"> <|file_sep|>original/app/views/layouts/application/_form_errors.html.erb <% if object.errors.any? %> <div> <h3> <%= pluralize(object.errors.count, 'error') %> was found </h3>...
<% if object.errors.any? %> <div class="error_explanation"> <h3> <%= pluralize(object.errors.count, 'error') %> were found </h3> <ul> <% object.errors.full_messages.each do |msg| %> <li><%= msg %></li> <% end %> </ul> </div> <% end %>
<|file_sep|>app/views/layouts/application/_form_errors.html.erb.diff original: <div> updated: <div class="error_explanation"> <|file_sep|>original/app/views/layouts/application/_form_errors.html.erb <% if object.errors.any? %> <div> <h3> <%= pluralize(object.errors.count, 'error') %> was found </h3>...
bf8554e60cb856bb9e9c21b90997f84ca4902f8a
app/views/layouts/application/_form_errors.html.erb
app/views/layouts/application/_form_errors.html.erb
HTML+ERB
<|file_sep|>utils/summary_downloader.py.diff original: updated: from dateutil.parser import parse from dateutil.relativedelta import DAILY from dateutil.rrule import rrule <|file_sep|>utils/summary_downloader.py.diff original: # url template for official json gamefeed page updated: # url template for officia...
from dateutil.rrule import rrule class SummaryDownloader(): # base url for official schedule json page SCHEDULE_URL_BASE = "http://statsapi.web.nhl.com/api/v1/schedule" # url template for official json gamefeed page JSON_GAME_FEED_URL_TEMPLATE = ( "http://statsapi.web.nhl.com/api/v1/game/%s/f...
<|file_sep|>utils/summary_downloader.py.diff original: updated: from dateutil.parser import parse from dateutil.relativedelta import DAILY from dateutil.rrule import rrule <|file_sep|>utils/summary_downloader.py.diff original: # url template for official json gamefeed page updated: # url template for officia...
086e2bb85d0076c55dff886154664dc7179561fa
utils/summary_downloader.py
utils/summary_downloader.py
Python
<|file_sep|>original/core/lib/generators/refinery/core/templates/config/initializers/refinery.rb.erb Refinery::Core.configure do |config| # When true will rescue all not found errors and display a friendly error page config.rescue_not_found = Rails.env.production? # When true will use Amazon's Simple Storage Ser...
Refinery::Core.configure do |config| # When true will rescue all not found errors and display a friendly error page config.rescue_not_found = Rails.env.production? # When true will use Amazon's Simple Storage Service instead of # the default file system for storing resources and images config.s3_backend = !(...
<|file_sep|>original/core/lib/generators/refinery/core/templates/config/initializers/refinery.rb.erb Refinery::Core.configure do |config| # When true will rescue all not found errors and display a friendly error page config.rescue_not_found = Rails.env.production? # When true will use Amazon's Simple Storage Ser...
38913ccb2a8042070171002e943b272a87c55546
core/lib/generators/refinery/core/templates/config/initializers/refinery.rb.erb
core/lib/generators/refinery/core/templates/config/initializers/refinery.rb.erb
HTML+ERB
<|file_sep|>lib/rspec/announce/formatter.rb.diff original: require 'rspec/core/formatters/documentation_formatter' updated: RSpec::Support.require_rspec_core 'formatters/documentation_formatter' <|file_sep|>lib/rspec/announce/formatter.rb.diff original: updated: RSpec::Core::Formatters.register self, :example_gr...
end def example_started(example) @announcements = [] end def example_passed(passed) super @announcements.each do |m| output.puts success_color("#{current_indentation} #{m}") end end private def success_color(s) RSpec::Core...
<|file_sep|>lib/rspec/announce/formatter.rb.diff original: require 'rspec/core/formatters/documentation_formatter' updated: RSpec::Support.require_rspec_core 'formatters/documentation_formatter' <|file_sep|>lib/rspec/announce/formatter.rb.diff original: updated: RSpec::Core::Formatters.register self, :example_gr...
d5ba63497ae45019e401039481963d836763db97
lib/rspec/announce/formatter.rb
lib/rspec/announce/formatter.rb
Ruby
<|file_sep|>original/app/api/api/v1/rankings.rb module V1 module Entities class Ranking < Grape::Entity expose :player, using: Entities::Player expose :rating end end class Rankings < Grape::API resource :rankings do desc "Returns an ordered list of player rankin...
module V1 module Entities class Ranking < Grape::Entity expose :player, using: Entities::Player expose :rating end end class Rankings < Grape::API resource :rankings do desc "Returns an list of player rankings in descending rating order" get do ...
<|file_sep|>original/app/api/api/v1/rankings.rb module V1 module Entities class Ranking < Grape::Entity expose :player, using: Entities::Player expose :rating end end class Rankings < Grape::API resource :rankings do desc "Returns an ordered list of player rankin...
4ffc580a32351ca6f2f03d8aa24cde736239f64e
app/api/api/v1/rankings.rb
app/api/api/v1/rankings.rb
Ruby
<|file_sep|>original/css/sass/supporting/wordpress-responsive.scss /* All images are responsive by default */ img { height: auto; max-width: 100%; } /* Make sure videos and embeds fit their containers. */ embed, iframe, object, video { max-width: 100%; } <|file_sep|>current/css/sass/supporting/wordpress-re...
/* All images are responsive by default */ img { height: auto; max-width: 100%; } /* Make sure videos, embeds, and captions fit their containers. */ .wp-caption, embed, iframe, object, video { max-width: 100%; }
<|file_sep|>original/css/sass/supporting/wordpress-responsive.scss /* All images are responsive by default */ img { height: auto; max-width: 100%; } /* Make sure videos and embeds fit their containers. */ embed, iframe, object, video { max-width: 100%; } <|file_sep|>current/css/sass/supporting/wordpress-re...
64fc3e42a0ba9abaeca262f40d1ed9254e7b9683
css/sass/supporting/wordpress-responsive.scss
css/sass/supporting/wordpress-responsive.scss
SCSS
<|file_sep|>original/requirements_dev.txt <<<<<<< HEAD pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.3.0 tox==2.7.0 coverage==4.3.4 Sphinx==1.5.5 cryptography==1.8.1 PyYAML==3.12 pytest==3.0.7 ======= pip>=9.0.1 wheel>=0.29.0 flake8>=3.3.0 coverage>=4.3.4 Sphinx>=1.5.5 pytest>=3.0.7 twine>=1.9.1...
<<<<<<< HEAD pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.3.0 tox==3.1.3 coverage==4.3.4 Sphinx==1.5.5 cryptography==1.8.1 PyYAML==3.12 pytest==3.0.7 ======= pip>=9.0.1 wheel>=0.29.0 flake8>=3.3.0 coverage>=4.3.4 Sphinx>=1.5.5 pytest>=3.0.7 twine>=1.9.1
<|file_sep|>original/requirements_dev.txt <<<<<<< HEAD pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.3.0 tox==2.7.0 coverage==4.3.4 Sphinx==1.5.5 cryptography==1.8.1 PyYAML==3.12 pytest==3.0.7 ======= pip>=9.0.1 wheel>=0.29.0 flake8>=3.3.0 coverage>=4.3.4 Sphinx>=1.5.5 pytest>=3.0.7 twine>=1.9.1...
563c0605835e2a56f6801ec218f4d656b27df9b1
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/DOM/TKDOMMaker.h #import <Cocoa/Cocoa.h> #import <WebKit/WebKit.h> #import <ActorKit/ActorKit.h> // TKDOMMaker // // Make a DOMDocument from given URL synchronously // @interface TKDOMMaker : NSObject { NSMutableSet *workerPool_; } + (id)DOMMaker; // NOTE: // - Do NOT perform newDOMDocument...
#import <Cocoa/Cocoa.h> #import <WebKit/WebKit.h> #import <ActorKit/ActorKit.h> // TKDOMMaker // // Make a DOMDocument from given URL synchronously // @interface TKDOMMaker : NSObject { } + (id)DOMMaker; // NOTE: // - Do NOT perform newDOMDocumentWithURLString on the main thread // - Returned DOMDocument MUST be re...
<|file_sep|>original/DOM/TKDOMMaker.h #import <Cocoa/Cocoa.h> #import <WebKit/WebKit.h> #import <ActorKit/ActorKit.h> // TKDOMMaker // // Make a DOMDocument from given URL synchronously // @interface TKDOMMaker : NSObject { NSMutableSet *workerPool_; } + (id)DOMMaker; // NOTE: // - Do NOT perform newDOMDocument...
e2db3e62cfe0e413b0497a345c6d5bf03097974a
DOM/TKDOMMaker.h
DOM/TKDOMMaker.h
C
<|file_sep|>original/test/integration/users_login_test.rb test "login with valid information" do get @login_path post session_path, { email: ENV['SCRIVITO_EMAIL'], password: ENV["SCRIVITO_PASSWORD"] } assert_redirected_to "/sotechsha" assert_equal session[:user] , ENV['SCR...
test "login with valid information" do get @login_path post session_path, { email: ENV['SCRIVITO_EMAIL'], password: ENV["SCRIVITO_PASSWORD"] } assert_redirected_to "/sotechsha" assert_equal session[:user] , ENV['SCRIVITO_EMAIL'] follow_redirect! assert_template "sot...
<|file_sep|>original/test/integration/users_login_test.rb test "login with valid information" do get @login_path post session_path, { email: ENV['SCRIVITO_EMAIL'], password: ENV["SCRIVITO_PASSWORD"] } assert_redirected_to "/sotechsha" assert_equal session[:user] , ENV['SCR...
45e279f9974932dbcc578a0080686d5622fd1514
test/integration/users_login_test.rb
test/integration/users_login_test.rb
Ruby
<|file_sep|>original/espresso/response.py import logging class Response(object): """The object sent back to the callback Contains methods for calling senders and responders on Espresso """ def __init__(self, robot, msg, match): self.robot = robot self.msg = msg self.match = matc...
import logging class Response(object): """The object sent back to the callback Contains methods for calling senders and responders on Espresso """ def __init__(self, robot, msg, match): self.robot = robot self.msg = msg self.match = match def send(self, message, channel=Non...
<|file_sep|>original/espresso/response.py import logging class Response(object): """The object sent back to the callback Contains methods for calling senders and responders on Espresso """ def __init__(self, robot, msg, match): self.robot = robot self.msg = msg self.match = matc...
1d15a2463f0149531f8cb6913ed3093a0e2220b4
espresso/response.py
espresso/response.py
Python
<|file_sep|>original/app/src/main/res/layout/browser_bubblehead.xml android:layout_width="match_parent" android:layout_height="match_parent"> <fr.castorflex.android.circularprogressbar.CircularProgressBar xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.c...
android:layout_width="match_parent" android:layout_height="match_parent"> <fr.castorflex.android.circularprogressbar.CircularProgressBar xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/progressBar" andro...
<|file_sep|>original/app/src/main/res/layout/browser_bubblehead.xml android:layout_width="match_parent" android:layout_height="match_parent"> <fr.castorflex.android.circularprogressbar.CircularProgressBar xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.c...
0dd4b0c6e7b82e8f3597ec854ca13267f3316a3c
app/src/main/res/layout/browser_bubblehead.xml
app/src/main/res/layout/browser_bubblehead.xml
XML
<|file_sep|>original/README.md # Scala for the Impatient (2nd edition) - My Solutions I put my solutions here mainly for my own reference. Don't mind if you take a look, though. For each chapter's exercises, I try to use only language constructs covered so far in the book. ## Running the Code ``` sbt test ``` <|fil...
# Scala for the Impatient (2nd edition) - My Solutions I put my solutions here mainly for my own reference. Don't mind if you take a look, though. For each chapter's exercises, I try to use only language constructs covered so far in the book. ## Running the Code ``` sbt test ``` ## Elsewhere Solutions for the 1st...
<|file_sep|>original/README.md # Scala for the Impatient (2nd edition) - My Solutions I put my solutions here mainly for my own reference. Don't mind if you take a look, though. For each chapter's exercises, I try to use only language constructs covered so far in the book. ## Running the Code ``` sbt test ``` <|fil...
0f89dc4a74bc134319082db98bfb623e07ca4bf9
README.md
README.md
Markdown
<|file_sep|>src/marketplace/resources/list/ProjectResourcesContainer.tsx.diff original: updated: import { useSelector } from 'react-redux'; <|file_sep|>src/marketplace/resources/list/ProjectResourcesContainer.tsx.diff original: updated: import { getProject } from '@waldur/workspace/selectors'; <|file_sep|>original/sr...
const { loading, value, error } = useAsync(() => loadData(category_uuid), [ category_uuid, ]); useTitle( value ? translate('{category} resources', { category: value.title }) : translate('Project resources'), ); const project = useSelector(getProject); if (!project) { return null; ...
<|file_sep|>src/marketplace/resources/list/ProjectResourcesContainer.tsx.diff original: updated: import { useSelector } from 'react-redux'; <|file_sep|>src/marketplace/resources/list/ProjectResourcesContainer.tsx.diff original: updated: import { getProject } from '@waldur/workspace/selectors'; <|file_sep|>original/sr...
ee34aded73eb73728b7baa7f8eb9aee4995c5c88
src/marketplace/resources/list/ProjectResourcesContainer.tsx
src/marketplace/resources/list/ProjectResourcesContainer.tsx
TypeScript
<|file_sep|>original/package.json { "name": "nodejs-docker-example", "scripts": { "test": "mocha ./test.js" }, "devDependencies": { "mocha": "9.0.3" } } <|file_sep|>current/package.json { "name": "nodejs-docker-example", "scripts": { "test": "mocha ./test.js" }, "devDependencies": { "m...
{ "name": "nodejs-docker-example", "scripts": { "test": "mocha ./test.js" }, "devDependencies": { "mocha": "9.1.0" } }
<|file_sep|>original/package.json { "name": "nodejs-docker-example", "scripts": { "test": "mocha ./test.js" }, "devDependencies": { "mocha": "9.0.3" } } <|file_sep|>current/package.json { "name": "nodejs-docker-example", "scripts": { "test": "mocha ./test.js" }, "devDependencies": { "m...
14d93f7bb73c2daa06e4e1b1add06de8258b001e
package.json
package.json
JSON
<|file_sep|>original/compiler/Type/Constrain/Literal.hs module Type.Constrain.Literal where import Data.Map ((!)) import qualified Data.Map as Map import SourceSyntax.Literal import Type.Type import Type.Fragment import Type.Environment as Env constrain :: Environment -> Literal -> Type -> IO TypeConstraint constrai...
module Type.Constrain.Literal where import Data.Map ((!)) import qualified Data.Map as Map import SourceSyntax.Literal import Type.Type import Type.Fragment import Type.Environment as Env constrain :: Environment -> Literal -> Type -> IO TypeConstraint constrain env literal tipe = let prim name = Env.get env Env...
<|file_sep|>original/compiler/Type/Constrain/Literal.hs module Type.Constrain.Literal where import Data.Map ((!)) import qualified Data.Map as Map import SourceSyntax.Literal import Type.Type import Type.Fragment import Type.Environment as Env constrain :: Environment -> Literal -> Type -> IO TypeConstraint constrai...
d059c362d9634b048b678f83529da3d23e385080
compiler/Type/Constrain/Literal.hs
compiler/Type/Constrain/Literal.hs
Haskell
<|file_sep|>original/.circleci/config.yml - run: name: install-npm command: npm ci - run: name: lint command: npm run lint - run: name: test command: npm test - run: name: build command: npm run build - run: ...
command: npm ci - run: name: lint command: npm run lint - run: name: test command: npm test - run: name: build command: npm run build - run: name: test-e2e command: npm run test:e2e:ci environment...
<|file_sep|>original/.circleci/config.yml - run: name: install-npm command: npm ci - run: name: lint command: npm run lint - run: name: test command: npm test - run: name: build command: npm run build - run: ...
8d20582fcaa331814d754c7e5fdb4af65606d148
.circleci/config.yml
.circleci/config.yml
YAML
<|file_sep|>original/ansible/roles/deployka/tasks/main.yml - name: install cpanminus apt: name=cpanminus state=present - name: install make apt: name=make - name: install deployka Perl module cpanm: name=git://github.com/alexclear/de-ployka.git <|file_sep|>current/ansible/roles/deployka/tasks/main.yml - name: i...
- name: install cpanminus apt: name=cpanminus state=present - name: install make apt: name=make - name: install deployka Perl module cpanm: name=git://github.com/alexclear/de-ployka.git - name: delete config from a previous test run file: dest=/etc/deployka.yml state=absent - name: invoke the tool without p...
<|file_sep|>original/ansible/roles/deployka/tasks/main.yml - name: install cpanminus apt: name=cpanminus state=present - name: install make apt: name=make - name: install deployka Perl module cpanm: name=git://github.com/alexclear/de-ployka.git <|file_sep|>current/ansible/roles/deployka/tasks/main.yml - name: i...
4b3f3c7c737b5b54d1089c30acbfca1fa3ece172
ansible/roles/deployka/tasks/main.yml
ansible/roles/deployka/tasks/main.yml
YAML
<|file_sep|>original/requirements/doc.txt -r ./base.txt docutils==0.14 sphinx==1.7.0 alagitpull==0.0.19 releases==1.4.0 aafigure==0.6 <|file_sep|>current/requirements/doc.txt -r ./base.txt docutils==0.14 sphinx==1.7.0 alagitpull==0.0.19 releases==1.4.0 aafigure==0.6 <|file_sep|>updated/requirements/doc.txt
-r ./base.txt docutils==0.14 sphinx==1.7.1 alagitpull==0.0.19 releases==1.4.0 aafigure==0.6
<|file_sep|>original/requirements/doc.txt -r ./base.txt docutils==0.14 sphinx==1.7.0 alagitpull==0.0.19 releases==1.4.0 aafigure==0.6 <|file_sep|>current/requirements/doc.txt -r ./base.txt docutils==0.14 sphinx==1.7.0 alagitpull==0.0.19 releases==1.4.0 aafigure==0.6 <|file_sep|>updated/requirements/doc.txt -r ./base.tx...
6f291482fa1803b33de52d0b3e507417ec2c1d95
requirements/doc.txt
requirements/doc.txt
Text
<|file_sep|>original/CodeSniffer/Standards/Sherlock/ruleset.xml <|file_sep|>current/CodeSniffer/Standards/Sherlock/ruleset.xml <|file_sep|>updated/CodeSniffer/Standards/Sherlock/ruleset.xml
<?xml version="1.0"?> <ruleset name="Elasticsearch"> <description>The coding standard for Sherlock.</description> <exclude-pattern>*/Tests/*</exclude-pattern> <!-- Include the whole PSR2 standard --> <rule ref="PSR2"/> <!-- Include some of the Squiz standard --> <rule ref="Squiz"> <exc...
<|file_sep|>original/CodeSniffer/Standards/Sherlock/ruleset.xml <|file_sep|>current/CodeSniffer/Standards/Sherlock/ruleset.xml <|file_sep|>updated/CodeSniffer/Standards/Sherlock/ruleset.xml <?xml version="1.0"?> <ruleset name="Elasticsearch"> <description>The coding standard for Sherlock.</description> <exclu...
4efb4608398f95f040e256fd3d62939d6aa77b31
CodeSniffer/Standards/Sherlock/ruleset.xml
CodeSniffer/Standards/Sherlock/ruleset.xml
XML
<|file_sep|>original/app/controllers/artists_controller.rb def create @artist = Artist.new create_params if @artist.save redirect_to action: :index else render :new end end def index @artists = Artist.all.order('LOWER(name)') @chart_data = Artist.joins(:glass_art_pieces).grou...
def create @artist = Artist.new create_params if @artist.save redirect_to action: :index else render :new end end def index @artists = Artist.all.order('LOWER(name)') @chart_data = Artist.joins(:glass_art_pieces). group('Artists.id', 'Artists.name').order('count_all DESC...
<|file_sep|>original/app/controllers/artists_controller.rb def create @artist = Artist.new create_params if @artist.save redirect_to action: :index else render :new end end def index @artists = Artist.all.order('LOWER(name)') @chart_data = Artist.joins(:glass_art_pieces).grou...
ed7689321e3cfff6207d560186a5d8f5c5278e33
app/controllers/artists_controller.rb
app/controllers/artists_controller.rb
Ruby
<|file_sep|>original/core/spec/models/zone_spec.rb require 'spec_helper' describe Zone do let(:zone) { Factory :zone } context 'factory' do #let(:zone){ Factory :zone } it "should set zone members correctly" do zone.zone_members.count.should == 1 end end context "#destroy" do before {...
require 'spec_helper' describe Spree::Zone do let(:zone) { Factory :zone } context 'factory' do #let(:zone){ Factory :zone } it "should set zone members correctly" do zone.zone_members.count.should == 1 end end context "#destroy" do before { zone.destroy } it "should destroy all z...
<|file_sep|>original/core/spec/models/zone_spec.rb require 'spec_helper' describe Zone do let(:zone) { Factory :zone } context 'factory' do #let(:zone){ Factory :zone } it "should set zone members correctly" do zone.zone_members.count.should == 1 end end context "#destroy" do before {...
697867d3d89d248e7b44c84e2e688806ad72cba1
core/spec/models/zone_spec.rb
core/spec/models/zone_spec.rb
Ruby
<|file_sep|>original/Resources/config/services.yml services: google_admin_client: class: SAS\IRAD\GoogleAdminClientBundle\Service\GoogleAdminClient arguments: [ @account_logger, @oauth2_token_storage, %oauth_params%, %google_params% ] <|file_sep|>current/Resources/config/services.yml services: g...
services: google_admin_client: class: SAS\IRAD\GoogleAdminClientBundle\Service\GoogleAdminClient arguments: [ @account_logger, @oauth2_client, %google_params% ]
<|file_sep|>original/Resources/config/services.yml services: google_admin_client: class: SAS\IRAD\GoogleAdminClientBundle\Service\GoogleAdminClient arguments: [ @account_logger, @oauth2_token_storage, %oauth_params%, %google_params% ] <|file_sep|>current/Resources/config/services.yml services: g...
135d0828f453848caf13e4431ab2274516e3f2d7
Resources/config/services.yml
Resources/config/services.yml
YAML
<|file_sep|>original/deploy/before.sql BEGIN; ALTER TABLE payments_for_open_source ADD COLUMN on_mailing_list bool NOT NULL DEFAULT TRUE; UPDATE payments_for_open_source SET on_mailing_list=true WHERE follow_up != 'never'; ALTER TABLE payments_for_open_source DROP COLUMN follow_up; END; <|file_sep|>current/...
BEGIN; ALTER TABLE payments_for_open_source ADD COLUMN on_mailing_list bool NOT NULL DEFAULT TRUE; UPDATE payments_for_open_source SET on_mailing_list=false WHERE follow_up = 'never'; ALTER TABLE payments_for_open_source DROP COLUMN follow_up; END;
<|file_sep|>original/deploy/before.sql BEGIN; ALTER TABLE payments_for_open_source ADD COLUMN on_mailing_list bool NOT NULL DEFAULT TRUE; UPDATE payments_for_open_source SET on_mailing_list=true WHERE follow_up != 'never'; ALTER TABLE payments_for_open_source DROP COLUMN follow_up; END; <|file_sep|>current/...
c8cf68e15caca15c282cf9e30183e23490c8c7c1
deploy/before.sql
deploy/before.sql
SQL
<|file_sep|>mint.go.diff original: updated: Scolds = map[int]string{ FailBase: "Expected to be `%+v`, but actual `%+v`\n", FailType: "Expectec type `%+v`, but actual `%T`\n", } <|file_sep|>original/mint.go var ( FailBase = 0 FailType = 1 ) var Scolds = map[int]string{ FailBase: "Expected to be `%+v`, but a...
var ( FailBase = 0 FailType = 1 Scolds = map[int]string{ FailBase: "Expected to be `%+v`, but actual `%+v`\n", FailType: "Expectec type `%+v`, but actual `%T`\n", } ) func Expect(t *testing.T, actual interface{}) *ProxyTestee { return &ProxyTestee{t: t, actual: actual} } func (p *ProxyTestee) failed(fail ....
<|file_sep|>mint.go.diff original: updated: Scolds = map[int]string{ FailBase: "Expected to be `%+v`, but actual `%+v`\n", FailType: "Expectec type `%+v`, but actual `%T`\n", } <|file_sep|>original/mint.go var ( FailBase = 0 FailType = 1 ) var Scolds = map[int]string{ FailBase: "Expected to be `%+v`, but a...
b059059a68b83f26aeda05e0cabc63423f6424dc
mint.go
mint.go
Go
<|file_sep|>.travis.yml.diff original: # 1.12 is now best-effort; we recommend 1.13 - "1.12" updated: # 1.12 is no longer supported by apimachinery; we recommend 1.13 <|file_sep|>original/.travis.yml - osx go: # 1.12 is now best-effort; we recommend 1.13 - "1.12" - "1.13" - "1.14" go_import_path: k8s.i...
# 1.12 is no longer supported by apimachinery; we recommend 1.13 - "1.13" - "1.14" go_import_path: k8s.io/kops script: - GOPROXY=https://proxy.golang.org make nodeup examples test jobs: # To exclude a known-bad configuration: #exclude: # - os: osx # go: "1.12" include: - name: Verify ...
<|file_sep|>.travis.yml.diff original: # 1.12 is now best-effort; we recommend 1.13 - "1.12" updated: # 1.12 is no longer supported by apimachinery; we recommend 1.13 <|file_sep|>original/.travis.yml - osx go: # 1.12 is now best-effort; we recommend 1.13 - "1.12" - "1.13" - "1.14" go_import_path: k8s.i...
f996d4e6e962c8987432ffd02870ca14153635b9
.travis.yml
.travis.yml
YAML
<|file_sep|>.travis.yml.diff original: updated: sudo: false <|file_sep|>.travis.yml.diff original: sudo: false updated: <|file_sep|>.travis.yml.diff original: updated: <|file_sep|>original/.travis.yml sudo: false language: scala scala: - 2.11.8 jdk: - oraclejdk8 cache: directories: - '$HOME/.ivy2/cache...
sudo: false language: scala scala: - 2.11.8 jdk: - oraclejdk8 script: - sbt ++$TRAVIS_SCALA_VERSION test it:test cache: directories: - '$HOME/.ivy2/cache' notifications: email: - andy.hicks@digital.hmrc.gov.uk - richard.beton@digital.hmrc.gov.uk
<|file_sep|>.travis.yml.diff original: updated: sudo: false <|file_sep|>.travis.yml.diff original: sudo: false updated: <|file_sep|>.travis.yml.diff original: updated: <|file_sep|>original/.travis.yml sudo: false language: scala scala: - 2.11.8 jdk: - oraclejdk8 cache: directories: - '$HOME/.ivy2/cache...
5ccfbebf7fd58f0d448e5ba9ef125c411c3f1cb7
.travis.yml
.travis.yml
YAML
<|file_sep|>original/Native.cpp #include <Headers\Native IO Board\MainStream IO\Native MainInput\IO Board.h> using namespace std; int main() { } <|file_sep|>current/Native.cpp #include <Headers\Native IO Board\MainStream IO\Native MainInput\IO Board.h> using namespace std; int main() { } <|file_sep|>updated...
#include <Headers\Native IO Board\MainStream IO\Native MainInput\IO Board.h> int main() { }
<|file_sep|>original/Native.cpp #include <Headers\Native IO Board\MainStream IO\Native MainInput\IO Board.h> using namespace std; int main() { } <|file_sep|>current/Native.cpp #include <Headers\Native IO Board\MainStream IO\Native MainInput\IO Board.h> using namespace std; int main() { } <|file_sep|>updated...
c04ba86d75b2ff4891f2836a77011be652277b15
Native.cpp
Native.cpp
C++
<|file_sep|>original/GET-LYNX.md <|file_sep|>current/GET-LYNX.md <|file_sep|>updated/GET-LYNX.md
Getting Lynx ============ We use lynx to fetch pages from Google. Here's how you get Lynx on a Mac. 1. Fetch the source. (You may want to check at http://lynx.invisible-island.net/ for the current version.) curl -O http://invisible-mirror.net/archives/lynx/tarballs/lynx2.8.8rel.2.tar.gz 2. Unpack the source...
<|file_sep|>original/GET-LYNX.md <|file_sep|>current/GET-LYNX.md <|file_sep|>updated/GET-LYNX.md Getting Lynx ============ We use lynx to fetch pages from Google. Here's how you get Lynx on a Mac. 1. Fetch the source. (You may want to check at http://lynx.invisible-island.net/ for the current version.) cur...
bc7826f47cd0b12292abb72d5e4a0fd3aa33b079
GET-LYNX.md
GET-LYNX.md
Markdown
<|file_sep|>original/app/assets/stylesheets/orders.scss // Place all the styles related to the Orders controller here. // They will automatically be included in application.css. // You can use Sass (SCSS) here: http://sass-lang.com/ <|file_sep|>current/app/assets/stylesheets/orders.scss // Place all the styles related ...
// Place all the styles related to the Orders controller here. // They will automatically be included in application.css. // You can use Sass (SCSS) here: http://sass-lang.com/ .list_image { width: 60px; height: 70px; }
<|file_sep|>original/app/assets/stylesheets/orders.scss // Place all the styles related to the Orders controller here. // They will automatically be included in application.css. // You can use Sass (SCSS) here: http://sass-lang.com/ <|file_sep|>current/app/assets/stylesheets/orders.scss // Place all the styles related ...
0dd36d75f66dfce07194efa9575642fcada09746
app/assets/stylesheets/orders.scss
app/assets/stylesheets/orders.scss
SCSS
<|file_sep|>original/requirements_dev.txt -r requirements.txt -e . black==19.3b0 bump2version==0.5.11 coverage==4.5.4 coveralls==1.8.2 flake8==3.7.8 pre-commit==1.18.3 pytest==4.6.5 # pyup: <5 pytest-cov==2.8.1 responses==0.10.6 Sphinx==2.2.0 testfixtures==6.10.0 tox==3.14.0 twine==2.0.0 watchdog==0.9.0 wheel==0.33.6 ...
-r requirements.txt -e . black==19.3b0 bump2version==0.5.11 coverage==4.5.4 coveralls==1.8.2 flake8==3.7.8 pre-commit==1.18.3 pytest==4.6.6 # pyup: <5 pytest-cov==2.8.1 responses==0.10.6 Sphinx==2.2.0 testfixtures==6.10.0 tox==3.14.0 twine==2.0.0 watchdog==0.9.0 wheel==0.33.6
<|file_sep|>original/requirements_dev.txt -r requirements.txt -e . black==19.3b0 bump2version==0.5.11 coverage==4.5.4 coveralls==1.8.2 flake8==3.7.8 pre-commit==1.18.3 pytest==4.6.5 # pyup: <5 pytest-cov==2.8.1 responses==0.10.6 Sphinx==2.2.0 testfixtures==6.10.0 tox==3.14.0 twine==2.0.0 watchdog==0.9.0 wheel==0.33.6 ...
c28ed8325d9bfeae3161e518eac553940a001c0a
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>src/Contracts/Store.php.diff original: updated: /** * Set the model to be used for the table. * * @param mixed $model * @return $this */ public function model($model); <|file_sep|>original/src/Contracts/Store.php * * @param $amount * @param $page * @par...
* Return a count of all of the results. * * @return int */ public function count(); /** * Return a paginated list of results. * * @param int|string $amount * @param int|string $page * @param int|string $perPage * @return array */ public function pagina...
<|file_sep|>src/Contracts/Store.php.diff original: updated: /** * Set the model to be used for the table. * * @param mixed $model * @return $this */ public function model($model); <|file_sep|>original/src/Contracts/Store.php * * @param $amount * @param $page * @par...
67d6ad2c331931895e6ae27197b61411d2357842
src/Contracts/Store.php
src/Contracts/Store.php
PHP
<|file_sep|>original/requirements.txt # Core packages python-dotenv==0.13.0 # Read environment variables from .env Flask==1.1.2 # Web microframework uWSGI==2.0.18 # Application server syspath==2.0.0 # Modify paths # Features flask-sitemap==0.3.0 # Web sitemaps # Monitoring/tracking/loggi...
# Core packages python-dotenv==0.13.0 # Read environment variables from .env Flask==1.1.2 # Web microframework uWSGI==2.0.18 # Application server syspath==2.0.0 # Modify paths # Features flask-sitemap==0.3.0 # Web sitemaps # Monitoring/tracking/logging blinker==1.4 # Dependency...
<|file_sep|>original/requirements.txt # Core packages python-dotenv==0.13.0 # Read environment variables from .env Flask==1.1.2 # Web microframework uWSGI==2.0.18 # Application server syspath==2.0.0 # Modify paths # Features flask-sitemap==0.3.0 # Web sitemaps # Monitoring/tracking/loggi...
d6a0882256ab8eef60a7b2afc21697672d453170
requirements.txt
requirements.txt
Text
<|file_sep|>original/tox.ini [tox] envlist = py36, py37, py37-flake8 [flake8] max-line-length = 99 [testenv] deps = -rrequirements-test.txt pip >= 18.0.1 commands = pytest [testenv:py37-flake8] deps = flake8 pip >= 18.0.1 commands = flake8 aubreylib tests setup.py <|file_sep|>current/tox.ini [tox] envl...
[tox] envlist = py36, py37, py37-flake8 [flake8] max-line-length = 99 [testenv] deps = -rrequirements-test.txt pip >= 18.0.1 commands = pytest [testenv:py37-flake8] deps = flake8 commands = flake8 aubreylib tests setup.py
<|file_sep|>original/tox.ini [tox] envlist = py36, py37, py37-flake8 [flake8] max-line-length = 99 [testenv] deps = -rrequirements-test.txt pip >= 18.0.1 commands = pytest [testenv:py37-flake8] deps = flake8 pip >= 18.0.1 commands = flake8 aubreylib tests setup.py <|file_sep|>current/tox.ini [tox] envl...
963068f50b0ac26306fe33b3b669e5e765fc8535
tox.ini
tox.ini
INI
<|file_sep|>db/migrate/20140113000001_create_simple_slug_history_slug.rb.diff original: updated: t.string :locale, limit: 10 <|file_sep|>original/db/migrate/20140113000001_create_simple_slug_history_slug.rb class CreateSimpleSlugHistorySlug < ActiveRecord::Migration def change create_table :simple_slug_his...
class CreateSimpleSlugHistorySlug < ActiveRecord::Migration def change create_table :simple_slug_history_slugs do |t| t.string :slug, null: false, limit: 191 t.string :locale, limit: 10 t.integer :sluggable_id, null: false t.string :sluggable_type, limit: 50, null: false t.timestamps...
<|file_sep|>db/migrate/20140113000001_create_simple_slug_history_slug.rb.diff original: updated: t.string :locale, limit: 10 <|file_sep|>original/db/migrate/20140113000001_create_simple_slug_history_slug.rb class CreateSimpleSlugHistorySlug < ActiveRecord::Migration def change create_table :simple_slug_his...
a9a5ad493bdaa1ae83731becdb301c58bde93cdb
db/migrate/20140113000001_create_simple_slug_history_slug.rb
db/migrate/20140113000001_create_simple_slug_history_slug.rb
Ruby
<|file_sep|>web/views/outdated_gems.erb.diff original: updated: <form class="pull-right"> <input type="checkbox" onclick="$('td:contains(\'+amd64\')').parent().toggle();" checked> amd64<br> <input type="checkbox" onclick="$('td:contains(\'+~amd64\')').parent().toggle();" checked> ~amd64 </form> <|file_sep|>original...
<th>RubyGem Version</th> </tr> </thead> <%Package.order{[category, lower(name), version]}.each do |package|%> <%next unless package[:version] == Package.where(name: package[:name]).order(:version).last[:version]%> <%unless package[:gem_version] == 'nil'%> <%if package[:gem_version] > package[:version]%> <tr> ...
<|file_sep|>web/views/outdated_gems.erb.diff original: updated: <form class="pull-right"> <input type="checkbox" onclick="$('td:contains(\'+amd64\')').parent().toggle();" checked> amd64<br> <input type="checkbox" onclick="$('td:contains(\'+~amd64\')').parent().toggle();" checked> ~amd64 </form> <|file_sep|>original...
2a87583fc526b12e241e1c5d7c6799d654c97c70
web/views/outdated_gems.erb
web/views/outdated_gems.erb
HTML+ERB
<|file_sep|>original/tools/driver/CMakeLists.txt cc1_main.cpp ) if(UNIX) set(CLANGXX_LINK_OR_COPY create_symlink) else() set(CLANGXX_LINK_OR_COPY copy) endif() # Create the clang++ symlink in the build directory. add_custom_target(clang++ ALL ${CMAKE_COMMAND} -E ${CLANGXX_LINK_OR_COPY} "${LLVM_BINARY_DI...
cc1_main.cpp ) if(UNIX) set(CLANGXX_LINK_OR_COPY create_symlink) else() set(CLANGXX_LINK_OR_COPY copy) endif() # Create the clang++ symlink in the build directory. add_custom_target(clang++ ALL ${CMAKE_COMMAND} -E ${CLANGXX_LINK_OR_COPY} "${LLVM_BINARY_DIR}/bin/${CMAKE_CFG_INTDIR}/clang${CMAKE_EXECUTABL...
<|file_sep|>original/tools/driver/CMakeLists.txt cc1_main.cpp ) if(UNIX) set(CLANGXX_LINK_OR_COPY create_symlink) else() set(CLANGXX_LINK_OR_COPY copy) endif() # Create the clang++ symlink in the build directory. add_custom_target(clang++ ALL ${CMAKE_COMMAND} -E ${CLANGXX_LINK_OR_COPY} "${LLVM_BINARY_DI...
e83b4c17b1689e531013a7177157a0e83713d832
tools/driver/CMakeLists.txt
tools/driver/CMakeLists.txt
Text
<|file_sep|>scripts/setup-arch.sh.diff original: yaourt --needed --noconfirm -Sy \ android-ndk \ android-sdk \ android-sdk-platform-tools updated: install_aur=false usage=' Install dependencies and set up enviroment. <|file_sep|>original/scripts/setup-arch.sh #!/bin/bash set -o errexit set ...
#!/bin/bash set -o errexit set -o nounset install_aur=false usage=' Install dependencies and set up enviroment. Usage: # setup.sh [-a] -a install AUR packages ' while getopts :a opt; do case "${opt}" in a) install_aur=true ;; \?|*) echo "${usage}"
<|file_sep|>scripts/setup-arch.sh.diff original: yaourt --needed --noconfirm -Sy \ android-ndk \ android-sdk \ android-sdk-platform-tools updated: install_aur=false usage=' Install dependencies and set up enviroment. <|file_sep|>original/scripts/setup-arch.sh #!/bin/bash set -o errexit set ...
f7f6974750d3f43a87df0d7c6c082e9386ff7370
scripts/setup-arch.sh
scripts/setup-arch.sh
Shell
<|file_sep|>original/README.md [Phergie](http://github.com/phergie/phergie-irc-bot-react/) plugin for providing weather information from thefuckingweather.com. [![Build Status](https://secure.travis-ci.org/phergie/phergie-irc-plugin-react-thefuckingweather.png?branch=master)](http://travis-ci.org/phergie/phergie-irc-p...
[Phergie](http://github.com/phergie/phergie-irc-bot-react/) plugin for providing weather information from thefuckingweather.com. [![Build Status](https://secure.travis-ci.org/phergie/phergie-irc-plugin-react-thefuckingweather.png?branch=master)](http://travis-ci.org/phergie/phergie-irc-plugin-react-thefuckingweather) ...
<|file_sep|>original/README.md [Phergie](http://github.com/phergie/phergie-irc-bot-react/) plugin for providing weather information from thefuckingweather.com. [![Build Status](https://secure.travis-ci.org/phergie/phergie-irc-plugin-react-thefuckingweather.png?branch=master)](http://travis-ci.org/phergie/phergie-irc-p...
3df5e530874236c04b12a4f6eca432227231cf40
README.md
README.md
Markdown
<|file_sep|>index.js.diff original: qs: { token: token }, updated: <|file_sep|>original/index.js var util = require('util'); var wrapi = require('wrapi'); var endpoints = require('./api/slack.json'); function slackWrapi(token) { var opts = { qs: { token: token }, headers: { ...
var util = require('util'); var wrapi = require('wrapi'); var endpoints = require('./api/slack.json'); function slackWrapi(token) { var opts = { headers: { 'User-Agent': 'slack-wrapi', 'Authorization': 'Bearer ' + token, } }; slackWrapi.super_.call(this, 'https://slack.com/api...
<|file_sep|>index.js.diff original: qs: { token: token }, updated: <|file_sep|>original/index.js var util = require('util'); var wrapi = require('wrapi'); var endpoints = require('./api/slack.json'); function slackWrapi(token) { var opts = { qs: { token: token }, headers: { ...
3372bfedefcc5c057fbdc5ed43457493e1aee71a
index.js
index.js
JavaScript
<|file_sep|>original/.scrutinizer.yml tests: override: - php-scrutinizer-run before_commands: - "composer install --no-dev --prefer-source -a" tools: external_code_coverage: timeout: 3600 runs: 28 # 23x Travis (jobs with COVERAGE=yes) + 3x AppVey...
tests: override: - php-scrutinizer-run before_commands: - "composer install --no-dev --prefer-source -a" tools: external_code_coverage: timeout: 3600 runs: 27 # 23x Travis (jobs with COVERAGE=yes) + 3x AppVeyor (jobs with coverage=yes) + 1x Conti...
<|file_sep|>original/.scrutinizer.yml tests: override: - php-scrutinizer-run before_commands: - "composer install --no-dev --prefer-source -a" tools: external_code_coverage: timeout: 3600 runs: 28 # 23x Travis (jobs with COVERAGE=yes) + 3x AppVey...
feba49da00d1dd63a8d9f7a533ca55f5ce353288
.scrutinizer.yml
.scrutinizer.yml
YAML
<|file_sep|>original/db/migrate/20150731225331_migrate_old_moved_posts.rb <|file_sep|>current/db/migrate/20150731225331_migrate_old_moved_posts.rb <|file_sep|>updated/db/migrate/20150731225331_migrate_old_moved_posts.rb
class MigrateOldMovedPosts < ActiveRecord::Migration def up execute "UPDATE posts SET post_type = 3, action_code = 'split_topic' WHERE post_type = 2 AND raw ~* '^I moved [a\\d]+ posts? to a new topic:'" execute "UPDATE posts SET post_type = 3, action_code = 'split_topic' WHERE post_type = 2 AND raw ~* '^I mov...
<|file_sep|>original/db/migrate/20150731225331_migrate_old_moved_posts.rb <|file_sep|>current/db/migrate/20150731225331_migrate_old_moved_posts.rb <|file_sep|>updated/db/migrate/20150731225331_migrate_old_moved_posts.rb class MigrateOldMovedPosts < ActiveRecord::Migration def up execute "UPDATE posts SET post_t...
0d9899198f05224505d7aae1ce72a8ce00ea2d09
db/migrate/20150731225331_migrate_old_moved_posts.rb
db/migrate/20150731225331_migrate_old_moved_posts.rb
Ruby
<|file_sep|>original/core/src/uk/co/alynn/games/ld30/SuperimposedWave.java private final Wave m_right; public SuperimposedWave(Wave left, Wave right) { m_left = left; m_right = right; } @Override public boolean dispatch(List<Planet> planets, List<Adversary> adversaries, int...
private final Wave m_right; public SuperimposedWave(Wave left, Wave right) { m_left = left; m_right = right; } @Override public boolean dispatch(List<Planet> planets, List<Adversary> adversaries, int tickID) { boolean ok = true; ok = m_left.dispatch(planets,...
<|file_sep|>original/core/src/uk/co/alynn/games/ld30/SuperimposedWave.java private final Wave m_right; public SuperimposedWave(Wave left, Wave right) { m_left = left; m_right = right; } @Override public boolean dispatch(List<Planet> planets, List<Adversary> adversaries, int...
0f9feb95d836c423b4194196fb3a2215658df996
core/src/uk/co/alynn/games/ld30/SuperimposedWave.java
core/src/uk/co/alynn/games/ld30/SuperimposedWave.java
Java
<|file_sep|>install/apps.sh.diff original: updated: language-applescript \ language-tmux \ language-viml \ <|file_sep|>original/install/apps.sh # Install some Atom packages APM=/Applications/Atom.app/Contents/Resources/app/apm/node_modules/.bin/apm $APM install ...
$APM install \ advanced-open-file \ atom-alignment \ highlight-selected \ language-applescript \ language-tmux \ language-viml \ line-ending-converter \ linter \ lin...
<|file_sep|>install/apps.sh.diff original: updated: language-applescript \ language-tmux \ language-viml \ <|file_sep|>original/install/apps.sh # Install some Atom packages APM=/Applications/Atom.app/Contents/Resources/app/apm/node_modules/.bin/apm $APM install ...
6c5de757882cb4e98d95db9d9217cad2a47c5166
install/apps.sh
install/apps.sh
Shell
<|file_sep|>original/src/Colorium/Http/Request/File.php /** * Create from $_FILES * * @param array $file */ public function __construct(array $file) { $this->name = basename($file['name']); $this->ext = pathinfo($this->name, PATHINFO_EXTENSION); $this->tmp = $fil...
/** * Create from $_FILES * * @param array $file */ public function __construct(array $file) { $this->name = basename($file['name']); $this->ext = pathinfo($this->name, PATHINFO_EXTENSION); $this->tmp = $file['tmp_name']; $this->type = $file['type']; ...
<|file_sep|>original/src/Colorium/Http/Request/File.php /** * Create from $_FILES * * @param array $file */ public function __construct(array $file) { $this->name = basename($file['name']); $this->ext = pathinfo($this->name, PATHINFO_EXTENSION); $this->tmp = $fil...
e6ea6e90aade60530d9058c571ddaa02c0638237
src/Colorium/Http/Request/File.php
src/Colorium/Http/Request/File.php
PHP
<|file_sep|>original/.github/workflows/build_dist.yml name: Bulid distribution package on: push: branches: [ master ] tags: [ '*' ] jobs: buildOnLinux: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 # Setup environment - name: Setup JDK uses: actions/setup-jav...
name: Bulid distribution package on: push: branches: [ master ] tags: [ '*' ] jobs: buildOnLinux: runs-on: ubuntu-latest env: NATIVE_IMAGE_INSTALLED: true steps: - uses: actions/checkout@v2 # Setup environment - name: Setup JDK uses: actions/setup-java@v2 ...
<|file_sep|>original/.github/workflows/build_dist.yml name: Bulid distribution package on: push: branches: [ master ] tags: [ '*' ] jobs: buildOnLinux: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 # Setup environment - name: Setup JDK uses: actions/setup-jav...
e7f41b0c19cc719fd61060075d81647336465cc5
.github/workflows/build_dist.yml
.github/workflows/build_dist.yml
YAML
<|file_sep|>original/app/views/humpyard/elements/text_elements/_show.html.haml = element.content_data.content &#160; <|file_sep|>current/app/views/humpyard/elements/text_elements/_show.html.haml = element.content_data.content &#160; <|file_sep|>updated/app/views/humpyard/elements/text_elements/_show.html.haml
- if element.content_data.content.blank? &#160; - else - if Object.const_defined?('RedCloth') = RedCloth.new(element.content_data.content).to_html.html_safe - else = element.content_data.content
<|file_sep|>original/app/views/humpyard/elements/text_elements/_show.html.haml = element.content_data.content &#160; <|file_sep|>current/app/views/humpyard/elements/text_elements/_show.html.haml = element.content_data.content &#160; <|file_sep|>updated/app/views/humpyard/elements/text_elements/_show.html.haml - if elem...
07944af02aefeda7f377d2832b2b10d7f31125c2
app/views/humpyard/elements/text_elements/_show.html.haml
app/views/humpyard/elements/text_elements/_show.html.haml
Haml
<|file_sep|>Library/Formula/android-ndk.rb.diff original: url 'http://dl.google.com/android/ndk/android-ndk-r4-darwin-x86.zip' updated: url 'http://dl.google.com/android/ndk/android-ndk-r5-darwin-x86.tar.bz2' <|file_sep|>original/Library/Formula/android-ndk.rb require 'formula' class AndroidNdk <Formula url 'htt...
require 'formula' class AndroidNdk <Formula url 'http://dl.google.com/android/ndk/android-ndk-r5-darwin-x86.tar.bz2' homepage 'http://developer.android.com/sdk/ndk/index.html#overview' md5 '9dee8e4cb529a5619e9b8d1707478c32' version 'r5' depends_on 'android-sdk' def install prefix.install Dir['*'] e...
<|file_sep|>Library/Formula/android-ndk.rb.diff original: url 'http://dl.google.com/android/ndk/android-ndk-r4-darwin-x86.zip' updated: url 'http://dl.google.com/android/ndk/android-ndk-r5-darwin-x86.tar.bz2' <|file_sep|>original/Library/Formula/android-ndk.rb require 'formula' class AndroidNdk <Formula url 'htt...
10c6b246fa5bdd7b2c5b0909034f8189d1531f17
Library/Formula/android-ndk.rb
Library/Formula/android-ndk.rb
Ruby
<|file_sep|>original/ipython_widgets/__init__.py from .widgets import * # Register a comm target for Javascript initialized widgets.. from IPython import get_ipython ip = get_ipython() if ip is not None: ip.kernel.comm_manager.register_target('ipython.widget', Widget.handle_comm_opened) <|file_sep|>current/ipython...
from .widgets import * # Register a comm target for Javascript initialized widgets.. from IPython import get_ipython ip = get_ipython() if ip is not None and hasattr(ip, 'kernel') and hasattr(ip.kernel, 'comm_manager'): ip.kernel.comm_manager.register_target('ipython.widget', Widget.handle_comm_opened)
<|file_sep|>original/ipython_widgets/__init__.py from .widgets import * # Register a comm target for Javascript initialized widgets.. from IPython import get_ipython ip = get_ipython() if ip is not None: ip.kernel.comm_manager.register_target('ipython.widget', Widget.handle_comm_opened) <|file_sep|>current/ipython...
d8e054df4810ad2c32cd61c41391e0ee1b542a66
ipython_widgets/__init__.py
ipython_widgets/__init__.py
Python
<|file_sep|>drawinginstruction.go.diff original: updated: // // The struct contains all necessary fields but only the ones needed (as // indicated byt the InstructionType) will be non-nil. <|file_sep|>original/drawinginstruction.go // These are instruction types that we use with our path drawing library const ( Path...
MoveInstruction CircleInstruction CurveInstruction LineInstruction HLineInstruction CloseInstruction ) // DrawingInstruction contains enough information that a simple drawing // library can draw the shapes contained in an SVG file. // // The struct contains all necessary fields but only the ones needed (as // in...
<|file_sep|>drawinginstruction.go.diff original: updated: // // The struct contains all necessary fields but only the ones needed (as // indicated byt the InstructionType) will be non-nil. <|file_sep|>original/drawinginstruction.go // These are instruction types that we use with our path drawing library const ( Path...
3b13756dd8d6a00e9177e9f5769cca5a42b64c76
drawinginstruction.go
drawinginstruction.go
Go
<|file_sep|>docs/markdown/home.md.diff original: Thanks for visiting the documentation for [angularjs-portal](https://github.com/UW-Madison-DoIT/angularjs-portal). This documentation describes the features and implementation details of the angularjs-portal project, the new home of MyUW. angularjs-portal is based on uw-...
+ [Expanded Mode](#/md/expanded) - This is the home screen in expanded mode with widgets. + [Compact Mode](#/md/compact) - This mode is more compact, made for mobile view and minimalists. + [Widget Creator](https://tools.my.wisc.edu/widget-creator/#/default) - This tool helps you see your content before we add it to M...
<|file_sep|>docs/markdown/home.md.diff original: Thanks for visiting the documentation for [angularjs-portal](https://github.com/UW-Madison-DoIT/angularjs-portal). This documentation describes the features and implementation details of the angularjs-portal project, the new home of MyUW. angularjs-portal is based on uw-...
b4418e94d5ad37ada251ffbb0207e06fcb4733c8
docs/markdown/home.md
docs/markdown/home.md
Markdown
<|file_sep|>original/examples/sector-coupling/battery-electric-vehicle-charging.py <|file_sep|>current/examples/sector-coupling/battery-electric-vehicle-charging.py <|file_sep|>updated/examples/sector-coupling/battery-electric-vehicle-charging.py
## Battery Electric Vehicle Charging # #In this example a battery electric vehicle (BEV) is driven 100 km in the morning and 100 km in the evening, to simulate commuting, and charged during the day by a solar panel at the driver's place of work. The size of the panel is computed by the optimisation. # #The BEV has a ba...
<|file_sep|>original/examples/sector-coupling/battery-electric-vehicle-charging.py <|file_sep|>current/examples/sector-coupling/battery-electric-vehicle-charging.py <|file_sep|>updated/examples/sector-coupling/battery-electric-vehicle-charging.py ## Battery Electric Vehicle Charging # #In this example a battery elect...
aa215f1d5e6059517c3f7e13287434fd7e193e26
examples/sector-coupling/battery-electric-vehicle-charging.py
examples/sector-coupling/battery-electric-vehicle-charging.py
Python
<|file_sep|>original/README.md # :round_pushpin: uulm-map This map started out as a bicycle parking map for the ulm university campus. ## contributing Go ahead – contribute! Create pull requests! Go wild! Take a look at the issues page, useful additions are listed there. Or post your own suggestions. ## libraries a...
# :round_pushpin: [uulm-map](http://www.ulmapi.de/uulm-map/) This map started out as a bicycle parking map for the ulm university campus. ## contributing Go ahead – contribute! Create pull requests! Go wild! Take a look at the issues page, useful additions are listed there. Or post your own suggestions. ## librarie...
<|file_sep|>original/README.md # :round_pushpin: uulm-map This map started out as a bicycle parking map for the ulm university campus. ## contributing Go ahead – contribute! Create pull requests! Go wild! Take a look at the issues page, useful additions are listed there. Or post your own suggestions. ## libraries a...
b84db9139a26eb419860c32089a9ff3d16b3fd6b
README.md
README.md
Markdown
<|file_sep|>original/packages/non-core/bundle-visualizer/package.js Package.describe({ version: '1.1.1', summary: 'Meteor bundle analysis and visualization.', documentation: 'README.md', }); Npm.depends({ "d3-selection": "1.0.5", "d3-shape": "1.0.6", "d3-hierarchy": "1.1.4", "d3-transition": "1.0.4", "...
Package.describe({ version: '1.1.2', summary: 'Meteor bundle analysis and visualization.', documentation: 'README.md', }); Npm.depends({ "d3-selection": "1.0.5", "d3-shape": "1.0.6", "d3-hierarchy": "1.1.4", "d3-transition": "1.0.4", "d3-collection": "1.0.4", "pretty-bytes": "4.0.2", }); Package.onU...
<|file_sep|>original/packages/non-core/bundle-visualizer/package.js Package.describe({ version: '1.1.1', summary: 'Meteor bundle analysis and visualization.', documentation: 'README.md', }); Npm.depends({ "d3-selection": "1.0.5", "d3-shape": "1.0.6", "d3-hierarchy": "1.1.4", "d3-transition": "1.0.4", "...
ad80b2068cdb6804ffe22f9d98b19ee1a19ea6c3
packages/non-core/bundle-visualizer/package.js
packages/non-core/bundle-visualizer/package.js
JavaScript
<|file_sep|>webapp/src/main/frontend/app/scripts/components/doctorProfile.js.diff original: function DoctorProfileCtrl(doctorsService) { updated: function DoctorProfileCtrl(doctorsService, sessionService) { <|file_sep|>webapp/src/main/frontend/app/scripts/components/doctorProfile.js.diff original: doctorsSe...
onDoctorRated: function (ev) { doctorsService .rate(this.doctor.id, ev.rating) .then(function (result) { // TODO }); } }; } DoctorProfileCtrl.$inject = ['doctorsService', 'sessionService']; ChoPidoTurnos .component('doctorProfile', { bi...
<|file_sep|>webapp/src/main/frontend/app/scripts/components/doctorProfile.js.diff original: function DoctorProfileCtrl(doctorsService) { updated: function DoctorProfileCtrl(doctorsService, sessionService) { <|file_sep|>webapp/src/main/frontend/app/scripts/components/doctorProfile.js.diff original: doctorsSe...
2a7e347e4f2f08faf84ce745ae8e611ced216421
webapp/src/main/frontend/app/scripts/components/doctorProfile.js
webapp/src/main/frontend/app/scripts/components/doctorProfile.js
JavaScript
<|file_sep|>Module.php.diff original: public function init(Application $app, $source = '&db', $cache = NULL, $auto_discover = true) updated: public function init(Application $app) <|file_sep|>original/Module.php * This file is part of the Miny framework. * (c) Dániel Buga <daniel@bugadani.hu> * * For licens...
* * For licensing information see the LICENSE file. */ namespace Modules\ORM; use Miny\Application\Application; class Module extends \Miny\Application\Module { public function init(Application $app) { $orm = $app->add('orm', __NAMESPACE__ . '\Manager') ->setArguments($app['orm']['d...
<|file_sep|>Module.php.diff original: public function init(Application $app, $source = '&db', $cache = NULL, $auto_discover = true) updated: public function init(Application $app) <|file_sep|>original/Module.php * This file is part of the Miny framework. * (c) Dániel Buga <daniel@bugadani.hu> * * For licens...
edcde672ea3958ceaa909144f36ee4eb9c9e5707
Module.php
Module.php
PHP
<|file_sep|>original/test/fixture-aws-provider-patch/example-module/main.tf <|file_sep|>current/test/fixture-aws-provider-patch/example-module/main.tf <|file_sep|>updated/test/fixture-aws-provider-patch/example-module/main.tf
# We intentionally have an AWS provider block nested within this module so that we can have an integration test that # checks if the aws-provider-patch command helps to work around https://github.com/hashicorp/terraform/issues/13018. provider "aws" { region = var.secondary_aws_region alias = "secondary" } variabl...
<|file_sep|>original/test/fixture-aws-provider-patch/example-module/main.tf <|file_sep|>current/test/fixture-aws-provider-patch/example-module/main.tf <|file_sep|>updated/test/fixture-aws-provider-patch/example-module/main.tf # We intentionally have an AWS provider block nested within this module so that we can have ...
2e975523c64e67dcc184562d4a4d395246a208e3
test/fixture-aws-provider-patch/example-module/main.tf
test/fixture-aws-provider-patch/example-module/main.tf
HCL
<|file_sep|>original/requirements_for_test.txt -r requirements.txt beautifulsoup4==4.9.3 pytest==6.2.1 pytest-mock==3.5.1 pytest-xdist==2.2.0 requests-mock==1.8.0 freezegun==1.0.0 flake8==3.8.4 flake8-bugbear==20.11.1 flake8-print==4.0.0 pytest-profiling==1.7.0 snakeviz==2.1.0 isort==5.7.0 <|file_sep|>current/requirem...
-r requirements.txt beautifulsoup4==4.9.3 pytest==6.2.1 pytest-mock==3.5.1 pytest-xdist==2.2.0 requests-mock==1.8.0 freezegun==1.1.0 flake8==3.8.4 flake8-bugbear==20.11.1 flake8-print==4.0.0 pytest-profiling==1.7.0 snakeviz==2.1.0 isort==5.7.0
<|file_sep|>original/requirements_for_test.txt -r requirements.txt beautifulsoup4==4.9.3 pytest==6.2.1 pytest-mock==3.5.1 pytest-xdist==2.2.0 requests-mock==1.8.0 freezegun==1.0.0 flake8==3.8.4 flake8-bugbear==20.11.1 flake8-print==4.0.0 pytest-profiling==1.7.0 snakeviz==2.1.0 isort==5.7.0 <|file_sep|>current/requirem...
829bdc023a84f74f88ddd5fa3423cc3884bfcb80
requirements_for_test.txt
requirements_for_test.txt
Text
<|file_sep|>.travis.yml.diff original: # - 1.9.2 updated: <|file_sep|>original/.travis.yml language: ruby rvm: # - 1.9.2 - 1.9.3 - 2.0.0 - 2.1.5 - ruby-head <|file_sep|>current/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.5 - ruby-head <|file_sep|>updated/.travis.yml
language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.5 - 2.2.0 - ruby-head
<|file_sep|>.travis.yml.diff original: # - 1.9.2 updated: <|file_sep|>original/.travis.yml language: ruby rvm: # - 1.9.2 - 1.9.3 - 2.0.0 - 2.1.5 - ruby-head <|file_sep|>current/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.5 - ruby-head <|file_sep|>updated/.travis.yml language: ruby rvm: ...
c179467c1e0ad72b33d15e1a8567dd5460667c97
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.goreleaser.yml arm64: ARM64 darwin: mac linux: linux windows: windows brew: github: owner: qvl name: homebrew-tap folder: Formula homepage: https://qvl.io/ghbackup description: Embarrassingly simple GitHub backup tool nfpm: homepage: https://qvl.io/ghbackup desc...
darwin: mac linux: linux windows: windows brew: github: owner: qvl name: homebrew-tap folder: Formula homepage: https://qvl.io/ghbackup description: Embarrassingly simple GitHub backup tool dependencies: - git nfpm: homepage: https://qvl.io/ghbackup description: Embarrassingly simp...
<|file_sep|>original/.goreleaser.yml arm64: ARM64 darwin: mac linux: linux windows: windows brew: github: owner: qvl name: homebrew-tap folder: Formula homepage: https://qvl.io/ghbackup description: Embarrassingly simple GitHub backup tool nfpm: homepage: https://qvl.io/ghbackup desc...
be77d12441a6dadcc4bd0a1dd6f5545480d31221
.goreleaser.yml
.goreleaser.yml
YAML
<|file_sep|>flexget/templates/configure.html.diff original: updated: {% block head %} <script type="text/javascript"> function on_delete(root, name){ var ans = confirm("Really delete "+name+"?") if(ans){ location.href = "/configure/delete/"+root+"/"+name; ...
<dl id="cat"> {% for category in manager.config.iterkeys() %} <dt><div{% if category == root|default('') %} class="selected"{% endif %}>{{ category }}</div></dt> <dd> <ul> {% for a_name in manager.config[category].iterkeys() %} <li> <div class="item{% ...
<|file_sep|>flexget/templates/configure.html.diff original: updated: {% block head %} <script type="text/javascript"> function on_delete(root, name){ var ans = confirm("Really delete "+name+"?") if(ans){ location.href = "/configure/delete/"+root+"/"+name; ...
ace3c3e5cb59311b2b90c9f970bec6308ce2e7d2
flexget/templates/configure.html
flexget/templates/configure.html
HTML
<|file_sep|>original/pyproject.toml [build-system] requires = [ "setuptools >= 35.0.2", "setuptools_scm >= 3.1.0, <4", ] build-backend = "setuptools.build_meta" [tool.black] py36 = true skip-string-normalization = true <|file_sep|>current/pyproject.toml [build-system] requires = [ "setuptools >= 35.0.2", ...
[build-system] requires = [ "setuptools >= 35.0.2", "setuptools_scm >= 3.1.0, <4", ] build-backend = "setuptools.build_meta" [tool.black] target_version = ['py36', 'py37'] skip-string-normalization = true
<|file_sep|>original/pyproject.toml [build-system] requires = [ "setuptools >= 35.0.2", "setuptools_scm >= 3.1.0, <4", ] build-backend = "setuptools.build_meta" [tool.black] py36 = true skip-string-normalization = true <|file_sep|>current/pyproject.toml [build-system] requires = [ "setuptools >= 35.0.2", ...
ad3f052a69889e8b303ddf9f5c91cb90ba04c48c
pyproject.toml
pyproject.toml
TOML
<|file_sep|>carbonate/list.py.diff original: from os import scandir, walk updated: from os import scandir, walk # noqa # pylint: disable=unused-import <|file_sep|>carbonate/list.py.diff original: from scandir import scandir, walk updated: from scandir import scandir, walk # noqa # pylint: disable=unus...
# Use the built-in version of scandir/walk if possible, otherwise # use the scandir module version try: from os import scandir, walk # noqa # pylint: disable=unused-import except ImportError: from scandir import scandir, walk # noqa # pylint: disable=unused-import def listMetrics(storage_dir, follow_sym_lin...
<|file_sep|>carbonate/list.py.diff original: from os import scandir, walk updated: from os import scandir, walk # noqa # pylint: disable=unused-import <|file_sep|>carbonate/list.py.diff original: from scandir import scandir, walk updated: from scandir import scandir, walk # noqa # pylint: disable=unus...
a03b166f8297783819a43eeb78e5af4d52d11bcc
carbonate/list.py
carbonate/list.py
Python
<|file_sep|>original/View/Helper/FontawesomeHelper.php <|file_sep|>current/View/Helper/FontawesomeHelper.php <|file_sep|>updated/View/Helper/FontawesomeHelper.php
<?php /** * FontAwesome Helper * * PHP 5 * * @copyright Copyright (c) Sylvain Lévesque (http://www.gezere.com) * @link http://www.gezere.com * @package app.View.Helper */ class FontawesomeHelper extends AppHelper { /** * Create a Fontawesome Icon * * Inspired by @webandcow Thanks ! * ...
<|file_sep|>original/View/Helper/FontawesomeHelper.php <|file_sep|>current/View/Helper/FontawesomeHelper.php <|file_sep|>updated/View/Helper/FontawesomeHelper.php <?php /** * FontAwesome Helper * * PHP 5 * * @copyright Copyright (c) Sylvain Lévesque (http://www.gezere.com) * @link http://www.gezere.com * @pack...
7dbcbdaaf9fa6b6870fae3ed11a840cfb73038e6
View/Helper/FontawesomeHelper.php
View/Helper/FontawesomeHelper.php
PHP
<|file_sep|>original/units_java/src/main/java/com/units/constants/PlanetaryMasses.java <|file_sep|>current/units_java/src/main/java/com/units/constants/PlanetaryMasses.java <|file_sep|>updated/units_java/src/main/java/com/units/constants/PlanetaryMasses.java
package com.units.constants; import com.units.mass.SolarMasses; public class PlanetaryMasses { //the mass of the sun static public final SolarMasses sunMass = new SolarMasses(1.0); //the mass of mercury static public final SolarMasses mercuryMass = new SolarMasses(1.6601E-7); //the mass of venus static pu...
<|file_sep|>original/units_java/src/main/java/com/units/constants/PlanetaryMasses.java <|file_sep|>current/units_java/src/main/java/com/units/constants/PlanetaryMasses.java <|file_sep|>updated/units_java/src/main/java/com/units/constants/PlanetaryMasses.java package com.units.constants; import com.units.mass.SolarMa...
abfd07d86e6ca13f191a6fd2afbcdebc8fac3dae
units_java/src/main/java/com/units/constants/PlanetaryMasses.java
units_java/src/main/java/com/units/constants/PlanetaryMasses.java
Java
<|file_sep|>original/.travis.yml # Config file for automatic testing at travis-ci.org language: python python: - "3.4" - "3.3" - "2.7" - "2.6" - "pypy" # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors install: pip install -r requirements.txt # command to run tests, e.g...
# Config file for automatic testing at travis-ci.org language: python python: - "2.7" - "2.6" - "pypy" # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors install: pip install -r requirements.txt # command to run tests, e.g. python setup.py test script: python setup.py test
<|file_sep|>original/.travis.yml # Config file for automatic testing at travis-ci.org language: python python: - "3.4" - "3.3" - "2.7" - "2.6" - "pypy" # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors install: pip install -r requirements.txt # command to run tests, e.g...
36409c86ac926aa28c150849837ad8debb7baa8a
.travis.yml
.travis.yml
YAML
<|file_sep|>original/appveyor.yml version: 0.0.{build} install: - cmd: git submodule update --init - ps: .\prebuild.ps1 platform: Any CPU configuration: Release build: publish_nuget: true build_script: - ps: .\build.ps1 -Target Package # -Verbosity Diagnostic artifacts: - path: YamlDotNet\bin\Release-Un...
version: 0.0.{build} install: - cmd: git submodule update --init - ps: .\prebuild.ps1 platform: Any CPU configuration: Release image: - Visual Studio 2017 build: publish_nuget: true build_script: - ps: .\build.ps1 -Target Package # -Verbosity Diagnostic artifacts: - path: YamlDotNet\bin\Release-Unsign...
<|file_sep|>original/appveyor.yml version: 0.0.{build} install: - cmd: git submodule update --init - ps: .\prebuild.ps1 platform: Any CPU configuration: Release build: publish_nuget: true build_script: - ps: .\build.ps1 -Target Package # -Verbosity Diagnostic artifacts: - path: YamlDotNet\bin\Release-Un...
77f5aae7e2fc75cde5c87fc6aae69407945fd569
appveyor.yml
appveyor.yml
YAML
<|file_sep|>lib/api/account_methods.rb.diff original: def find_account(args) self.call_api("/account/find", args) updated: def find_account(params={}) self.call_api("/account/find", params) <|file_sep|>original/lib/api/account_methods.rb end def get_account(account_id) s...
end def get_account(account_id) self.call_api("/account", {:account_id => account_id}) end def find_account(params={}) self.call_api("/account/find", params) end def modify_account(account_id, params={}) self.call_api("/account/modify", params.merge({:accou...
<|file_sep|>lib/api/account_methods.rb.diff original: def find_account(args) self.call_api("/account/find", args) updated: def find_account(params={}) self.call_api("/account/find", params) <|file_sep|>original/lib/api/account_methods.rb end def get_account(account_id) s...
56dda7499cd45f4b4a1bf1b70773befb4998c42d
lib/api/account_methods.rb
lib/api/account_methods.rb
Ruby
<|file_sep|>original/_posts/2018-10-30-travel.md <|file_sep|>current/_posts/2018-10-30-travel.md <|file_sep|>updated/_posts/2018-10-30-travel.md
--- layout: post title: What did you do this semester? Travel. --- _How I learned to stop worrying and love the airport_ I visited Barcelona, Paris and San Francisco in the last month. It meant spending a major part of my time in airports around the world and in the air. It was still really fun! There was a small ...
<|file_sep|>original/_posts/2018-10-30-travel.md <|file_sep|>current/_posts/2018-10-30-travel.md <|file_sep|>updated/_posts/2018-10-30-travel.md --- layout: post title: What did you do this semester? Travel. --- _How I learned to stop worrying and love the airport_ I visited Barcelona, Paris and San Francisco in th...
618c28087da4d7bfda635041894cc3e80dc40854
_posts/2018-10-30-travel.md
_posts/2018-10-30-travel.md
Markdown
<|file_sep|>original/lib/rack/fiber_pool.rb # The size of the pool is configurable: # # use Rack::FiberPool, :size => 25 def initialize(app, options={}) @app = app @fiber_pool = ::FiberPool.new(options[:size] || SIZE) @rescue_exception = options[:rescue_exception] || Proc.new { |env,...
# The size of the pool is configurable: # # use Rack::FiberPool, :size => 25 def initialize(app, options={}) @app = app @fiber_pool = ::FiberPool.new(options[:size] || SIZE) @rescue_exception = options[:rescue_exception] || Proc.new { |env, e| [500, {}, ["#{e.class.name}: #{e.message...
<|file_sep|>original/lib/rack/fiber_pool.rb # The size of the pool is configurable: # # use Rack::FiberPool, :size => 25 def initialize(app, options={}) @app = app @fiber_pool = ::FiberPool.new(options[:size] || SIZE) @rescue_exception = options[:rescue_exception] || Proc.new { |env,...
cf0efe7d292fb0f1bebda4b9f205d81357f68015
lib/rack/fiber_pool.rb
lib/rack/fiber_pool.rb
Ruby
<|file_sep|>original/cli_helpers/tabular_output/terminaltables_adapter.py supported_formats = ('ascii', 'double', 'github') preprocessors = (bytes_to_string, override_missing_value, align_decimals) def adapter(data, headers, table_format=None, **kwargs): """Wrap terminaltables inside a function for TabularOutputF...
from .preprocessors import (bytes_to_string, align_decimals, override_missing_value) supported_formats = ('ascii', 'double', 'github') preprocessors = (bytes_to_string, override_missing_value, align_decimals) def adapter(data, headers, table_format=None, **kwargs): """Wrap terminaltab...
<|file_sep|>original/cli_helpers/tabular_output/terminaltables_adapter.py supported_formats = ('ascii', 'double', 'github') preprocessors = (bytes_to_string, override_missing_value, align_decimals) def adapter(data, headers, table_format=None, **kwargs): """Wrap terminaltables inside a function for TabularOutputF...
d8344f9bea9cfbc8ab22b952f223d2365de907b4
cli_helpers/tabular_output/terminaltables_adapter.py
cli_helpers/tabular_output/terminaltables_adapter.py
Python
<|file_sep|>original/src/modules/listeners/client/reconnecting.js const { Listener } = require('discord-akairo'); const Logger = require('../../../util/Logger'); function exec() { Logger.info('Client reconnecting.'); } module.exports = new Listener('reconnecting', exec, { emitter: 'client', eventName: 're...
const { Listener } = require('discord-akairo'); const Logger = require('../../../util/Logger'); function exec() { Logger.info('Client reconnecting.'); if (this.client.config.exitOnDisconnect) process.exit(); } module.exports = new Listener('reconnecting', exec, { emitter: 'client', eventName: 'reconne...
<|file_sep|>original/src/modules/listeners/client/reconnecting.js const { Listener } = require('discord-akairo'); const Logger = require('../../../util/Logger'); function exec() { Logger.info('Client reconnecting.'); } module.exports = new Listener('reconnecting', exec, { emitter: 'client', eventName: 're...
04e3ca4fd7fa518826defbb1fe76c392d182d8ca
src/modules/listeners/client/reconnecting.js
src/modules/listeners/client/reconnecting.js
JavaScript
<|file_sep|>original/telethon/events/messageedited.py from .common import name_inner_event from .newmessage import NewMessage from ..tl import types @name_inner_event class MessageEdited(NewMessage): """ Event fired when a message has been edited. """ @classmethod def build(cls, update): i...
from .common import name_inner_event from .newmessage import NewMessage from ..tl import types @name_inner_event class MessageEdited(NewMessage): """ Event fired when a message has been edited. .. warning:: On channels, `Message.out <telethon.tl.custom.message.Message>` will be ``True`` ...
<|file_sep|>original/telethon/events/messageedited.py from .common import name_inner_event from .newmessage import NewMessage from ..tl import types @name_inner_event class MessageEdited(NewMessage): """ Event fired when a message has been edited. """ @classmethod def build(cls, update): i...
85be48f42b03273ea458b7c4db3303ae8b991558
telethon/events/messageedited.py
telethon/events/messageedited.py
Python
<|file_sep|>original/server/db/config.js var mysql = require('mysql'); exports.connection = mysql.createConnection({ host: 'localhost', user: 'root', database: 'uncovery' }); exports.initialize = function(callback) { exports.connection.connect(); }; <|file_sep|>current/server/db/config.js var mysql = require(...
var mysql = require('mysql'); exports.connection = mysql.createConnection({ host: 'localhost', user: 'tony', database: 'uncovery' }); exports.initialize = function(callback) { exports.connection.connect(); };
<|file_sep|>original/server/db/config.js var mysql = require('mysql'); exports.connection = mysql.createConnection({ host: 'localhost', user: 'root', database: 'uncovery' }); exports.initialize = function(callback) { exports.connection.connect(); }; <|file_sep|>current/server/db/config.js var mysql = require(...
6a06c6ffcaf5d3456ffa0830aee5efbeed19f540
server/db/config.js
server/db/config.js
JavaScript
<|file_sep|>setup.py.diff original: updated: import os.path with open(os.path.join(os.path.dirname(__file__), 'README.md')) as f: long_description = f.read().partition('\n\n\n')[0].partition('\n\n')[2] <|file_sep|>setup.py.diff original: name='django_dust', description='Distributed Upload STorage for Dja...
name='django_dust', version='0.1', description='Distributed Upload STorage for Django, a file backend ' 'that mirrors all incoming media files to several servers', long_description=long_description, packages=[ 'django_dust', 'django_dust.backends', 'django_dus...
<|file_sep|>setup.py.diff original: updated: import os.path with open(os.path.join(os.path.dirname(__file__), 'README.md')) as f: long_description = f.read().partition('\n\n\n')[0].partition('\n\n')[2] <|file_sep|>setup.py.diff original: name='django_dust', description='Distributed Upload STorage for Dja...
de613623c638b923a6bbfb6c33c373794d654000
setup.py
setup.py
Python
<|file_sep|>app/models/User.php.diff original: updated: use Phragile\Providers\PhabricatorAPI; <|file_sep|>app/models/User.php.diff original: class User extends Eloquent implements UserInterface{ updated: class User extends Eloquent implements UserInterface { <|file_sep|>original/app/models/User.php <?php use Illumin...
// This is used for password authentication, recovery etc which we don't need. // Only using this because Auth::login won't work otherwise. use UserTrait; protected $fillable = ['phid', 'username']; public function setRememberToken($token) { // Workaround: Auth::logout breaks with the default behavior since w...
<|file_sep|>app/models/User.php.diff original: updated: use Phragile\Providers\PhabricatorAPI; <|file_sep|>app/models/User.php.diff original: class User extends Eloquent implements UserInterface{ updated: class User extends Eloquent implements UserInterface { <|file_sep|>original/app/models/User.php <?php use Illumin...
7f9c9a27bed71df698480c936ebd058ead670a19
app/models/User.php
app/models/User.php
PHP
<|file_sep|>original/keg/keg.go CurrentFlow float64 Capacity float64 Available float64 LastUpdate time.Time Connection* net.UDPConn } func Initialize() (KegStatus, error) { status := KegStatus {} socket, err := net.ListenUDP("udp4", &net.UDPAddr { IP: net.ParseIP("127.0.0.1"), //net.IPv4bcast, Port: 59312, ...
CurrentFlow float64 Capacity float64 Available float64 LastUpdate time.Time Connection* net.UDPConn } func Initialize() (KegStatus, error) { status := KegStatus {} socket, err := net.ListenUDP("udp4", &net.UDPAddr { IP: net.ParseIP("0.0.0.0"), Port: 59312, }) if err != nil { return status, err } statu...
<|file_sep|>original/keg/keg.go CurrentFlow float64 Capacity float64 Available float64 LastUpdate time.Time Connection* net.UDPConn } func Initialize() (KegStatus, error) { status := KegStatus {} socket, err := net.ListenUDP("udp4", &net.UDPAddr { IP: net.ParseIP("127.0.0.1"), //net.IPv4bcast, Port: 59312, ...
3416a80f4fb79493fa62faf62d463374e2747eb2
keg/keg.go
keg/keg.go
Go
<|file_sep|>original/.circleci/config.yml # PHP CircleCI 2.0 configuration file # # Check https://circleci.com/docs/2.0/language-php/ for more details # version: 2 jobs: build: docker: # specify the version you desire here - image: docker:latest steps: - checkout - run: ./build-push-im...
# PHP CircleCI 2.0 configuration file # # Check https://circleci.com/docs/2.0/language-php/ for more details # version: 2 jobs: build: docker: # specify the version you desire here - image: docker:latest steps: - checkout - run: sh build-push-images.sh
<|file_sep|>original/.circleci/config.yml # PHP CircleCI 2.0 configuration file # # Check https://circleci.com/docs/2.0/language-php/ for more details # version: 2 jobs: build: docker: # specify the version you desire here - image: docker:latest steps: - checkout - run: ./build-push-im...
4f3d7234e7bb4c81775ca442269f7c7c869efd1b
.circleci/config.yml
.circleci/config.yml
YAML
<|file_sep|>original/tools/build_manylinux.sh <|file_sep|>current/tools/build_manylinux.sh <|file_sep|>updated/tools/build_manylinux.sh
#!/bin/bash # # Build script for manylinux1. Run this with # sudo docker run -ti -v `pwd`:/io --rm \ # quay.io/pypa/manylinux1_x86_64 \ # /bin/bash -c "cd /io && ./tools/build_manylinux.sh" set -e git clean -fdx . tools/build_concorde.sh TAGS="cp27-cp27m cp27-cp27mu cp35-cp35m cp36-cp36m" for tag in $TAGS; do ...
<|file_sep|>original/tools/build_manylinux.sh <|file_sep|>current/tools/build_manylinux.sh <|file_sep|>updated/tools/build_manylinux.sh #!/bin/bash # # Build script for manylinux1. Run this with # sudo docker run -ti -v `pwd`:/io --rm \ # quay.io/pypa/manylinux1_x86_64 \ # /bin/bash -c "cd /io && ./tools/build_...
60e9383a06c555b87009dcbf080cc375ac131666
tools/build_manylinux.sh
tools/build_manylinux.sh
Shell
<|file_sep|>original/requirements/dev.txt -r prod.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.3.0 flake8-docstrings==1.1.0 tox==2.7.0 coverage==4.4 Sphinx==1.5.5 cryptography==1.8.1 PyYAML==3.12 pytest==3.0.7 click==6.7 <|file_sep|>current/requirements/dev.txt -r prod.txt pip==9.0.1 bumpve...
-r prod.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.3.0 flake8-docstrings==1.1.0 tox==2.7.0 coverage==4.4.1 Sphinx==1.5.5 cryptography==1.8.1 PyYAML==3.12 pytest==3.0.7 click==6.7
<|file_sep|>original/requirements/dev.txt -r prod.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.3.0 flake8-docstrings==1.1.0 tox==2.7.0 coverage==4.4 Sphinx==1.5.5 cryptography==1.8.1 PyYAML==3.12 pytest==3.0.7 click==6.7 <|file_sep|>current/requirements/dev.txt -r prod.txt pip==9.0.1 bumpve...
60334188941684412ef30e36a77a36df76103275
requirements/dev.txt
requirements/dev.txt
Text
<|file_sep|>original/.travis.yml language: php php: - 7.0 - 7.1 before_script: - sudo add-apt-repository -y ppa:mwhiteley/imagemagick-webp - sudo apt-get update - sudo apt-get -y --force-yes --reinstall install imagemagick - printf "\n" | pecl install imagick-beta - travis_retry composer self-update --p...
language: php php: - 7.0 - 7.1 before_script: - sudo add-apt-repository -y ppa:researchgate/imagemagick - sudo apt-get update - sudo apt-get -y --force-yes --reinstall install imagemagick - printf "\n" | pecl install imagick-beta - travis_retry composer self-update --preview - travis_retry composer in...
<|file_sep|>original/.travis.yml language: php php: - 7.0 - 7.1 before_script: - sudo add-apt-repository -y ppa:mwhiteley/imagemagick-webp - sudo apt-get update - sudo apt-get -y --force-yes --reinstall install imagemagick - printf "\n" | pecl install imagick-beta - travis_retry composer self-update --p...
60808faf9d8d32f6650ce97d488324f7f8622ffb
.travis.yml
.travis.yml
YAML
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists <|file_sep|>current/gradle/wrapper/gradle-wrapper.properti...
distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists <|file_sep|>current/gradle/wrapper/gradle-wrapper.properti...
f4e6a12a59b6e398d4a191137d975eb3e5cd2b61
gradle/wrapper/gradle-wrapper.properties
gradle/wrapper/gradle-wrapper.properties
INI
<|file_sep|>docs/guides/known-issues.md.diff original: ## Missing modules and Views updated: ## Safari flexbox performance <|file_sep|>original/docs/guides/known-issues.md # Known issues ## Missing modules and Views This is an initial release of React Native for Web, therefore, not all of the views present on iOS/And...
# Known issues ## Safari flexbox performance Safari version prior to 10.1 can suffer from extremely [poor flexbox performance](https://bugs.webkit.org/show_bug.cgi?id=150445). The recommended way to work around this issue (as used on mobile.twitter.com) is to set `display:block` on Views in your element hierarchy tha...
<|file_sep|>docs/guides/known-issues.md.diff original: ## Missing modules and Views updated: ## Safari flexbox performance <|file_sep|>original/docs/guides/known-issues.md # Known issues ## Missing modules and Views This is an initial release of React Native for Web, therefore, not all of the views present on iOS/And...
50b168cc41e7ecc7d8ea204395ca4161cb95e2e1
docs/guides/known-issues.md
docs/guides/known-issues.md
Markdown