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|>.travis.yml.diff original: updated: sudo: false <|file_sep|>original/.travis.yml language: python before_install: - sudo apt-get -qq update - sudo apt-get install libjpeg-turbo8-dev libturbojpeg - pip install tox env: - TOX_ENV=py26 - TOX_ENV=py27 - TOX_ENV=py33 - TOX_ENV=py34 ...
sudo: false language: python addons: apt: packages: - libjpeg-turbo8-deva - libturbojpeg python: - "2.6" - "2.7" - "3.3" - "3.4" - "3.5" install: pip install tox-travis script: tox
<|file_sep|>.travis.yml.diff original: updated: sudo: false <|file_sep|>original/.travis.yml language: python before_install: - sudo apt-get -qq update - sudo apt-get install libjpeg-turbo8-dev libturbojpeg - pip install tox env: - TOX_ENV=py26 - TOX_ENV=py27 - TOX_ENV=py33 - TOX_ENV=py34 ...
63d0ca5fc642cf86c5230bd944776e9caddd83c8
.travis.yml
.travis.yml
YAML
<|file_sep|>original/run.sh # Ensure dependencies are installed. echo "* Checking dependencies..." hash tsc 2>/dev/null if [ $? -ne 0 ]; then echo "Please install the typescript compiler with ('sudo npm install -g typescript') before continuing." exit fi hash multirust 2>/dev/null if [ $? -ne 0 ]; then echo "Ple...
# Ensure dependencies are installed. echo "* Checking dependencies..." hash tsc 2>/dev/null if [ $? -ne 0 ]; then echo "Please install the typescript compiler with ('sudo npm install -g typescript') before continuing." exit fi hash multirust 2>/dev/null if [ $? -ne 0 ]; then echo "Please install multirust with (...
<|file_sep|>original/run.sh # Ensure dependencies are installed. echo "* Checking dependencies..." hash tsc 2>/dev/null if [ $? -ne 0 ]; then echo "Please install the typescript compiler with ('sudo npm install -g typescript') before continuing." exit fi hash multirust 2>/dev/null if [ $? -ne 0 ]; then echo "Ple...
a14f5be18f597c50ba6c2e65a7976a39a1beafdc
run.sh
run.sh
Shell
<|file_sep|>original/valid/IsolatedAbstract.scala <|file_sep|>current/valid/IsolatedAbstract.scala <|file_sep|>updated/valid/IsolatedAbstract.scala
import leon.Utils._ import leon.Annotations._ object LoneAbstract { /* * create a structure with all these fields */ sealed abstract class TrackedFields case class TreeFields(isBST: Boolean) /* add this structure to Tree class */ sealed abstract class Tree case class Leaf(fields:TreeFields) extend...
<|file_sep|>original/valid/IsolatedAbstract.scala <|file_sep|>current/valid/IsolatedAbstract.scala <|file_sep|>updated/valid/IsolatedAbstract.scala import leon.Utils._ import leon.Annotations._ object LoneAbstract { /* * create a structure with all these fields */ sealed abstract class TrackedFields ca...
db1319c8445e79b28bf9856c81aab1af4a878bcd
valid/IsolatedAbstract.scala
valid/IsolatedAbstract.scala
Scala
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - jruby - rbx - ree <|file_sep|>current/.travis.yml language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - jruby - rbx - ree <|file_sep|>updated/.travis.yml
language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - jruby-18mode - jruby-19mode - rbx-18mode - rbx-19mode
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - jruby - rbx - ree <|file_sep|>current/.travis.yml language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - jruby - rbx - ree <|file_sep|>updated/.travis.yml language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - jruby-18mode - ...
c9c66cb003f9b8eac323cb7531bb83628c120efb
.travis.yml
.travis.yml
YAML
<|file_sep|>original/capi/templates/default/bash_it/custom/capi-aliases.bash alias resprout='(cd ~/workspace/sprout-capi && git pull && chruby-exec system -- bundle exec soloist)' alias cats='(cd ~/workspace/cf-release/src/github.com/cloudfoundry/cf-acceptance-tests && CONFIG=$PWD/integration_config.json bin/test_defau...
alias resprout='(cd ~/workspace/sprout-capi && git pull && chruby-exec system -- bundle exec soloist)' alias cats='(cd ~/workspace/cf-release/src/github.com/cloudfoundry/cf-acceptance-tests && CONFIG=$PWD/integration_config.json bin/test_default -p)' alias v3-cats='(cd ~/workspace/cf-release/src/github.com/cloudfoundry...
<|file_sep|>original/capi/templates/default/bash_it/custom/capi-aliases.bash alias resprout='(cd ~/workspace/sprout-capi && git pull && chruby-exec system -- bundle exec soloist)' alias cats='(cd ~/workspace/cf-release/src/github.com/cloudfoundry/cf-acceptance-tests && CONFIG=$PWD/integration_config.json bin/test_defau...
11cb3f261d8a3db0c9149c4cc5c014f4a42499e4
capi/templates/default/bash_it/custom/capi-aliases.bash
capi/templates/default/bash_it/custom/capi-aliases.bash
Shell
<|file_sep|>original/src/System.ComponentModel/tests/ComponentModelBasicTests.cs public class ComponentModelTests { [Fact] public static void TestComponentModelBasic() { // dummy tests to make sure the System.ComponentModel library loaded successfully #pragma warning disable ...
Assert.Null(iChangeTracking); IEditableObject iEditableObject = null; CancelEventArgs cancelEventArgs = new CancelEventArgs(); Assert.NotNull(cancelEventArgs); IServiceProvider iServiceProvider = null; Assert.Null(iServiceProvider); #pragma warni...
<|file_sep|>original/src/System.ComponentModel/tests/ComponentModelBasicTests.cs public class ComponentModelTests { [Fact] public static void TestComponentModelBasic() { // dummy tests to make sure the System.ComponentModel library loaded successfully #pragma warning disable ...
d455029b61aaa9bae768e4cbbba38632b97fc8b4
src/System.ComponentModel/tests/ComponentModelBasicTests.cs
src/System.ComponentModel/tests/ComponentModelBasicTests.cs
C#
<|file_sep|>original/.travis.yml <|file_sep|>current/.travis.yml <|file_sep|>updated/.travis.yml
# Config file for automatic testing at travis-ci.org sudo: false language: python matrix: include: - python: 2.7 env: TOX_ENV=py27 install: - pip install requirements.txt script: tox -e $TOX_ENV
<|file_sep|>original/.travis.yml <|file_sep|>current/.travis.yml <|file_sep|>updated/.travis.yml # Config file for automatic testing at travis-ci.org sudo: false language: python matrix: include: - python: 2.7 env: TOX_ENV=py27 install: - pip install requirements.txt script: tox -e $TOX_ENV
f6379b7a644bef489daee75a5fa001d5c96dfae6
.travis.yml
.travis.yml
YAML
<|file_sep|>original/README.md # Grain Graphs Grain graphs collectively refer to a performance visualization method for OpenMP programs. See the [wiki](https://github.com/anamud/grain-graphs/wiki) for documentation about structure and utility of grain graphs, including usage of prototype implementations. ## Citation...
# Grain Graphs Grain graphs collectively refer to a performance visualization method for OpenMP programs. See the [wiki](https://github.com/anamud/grain-graphs/wiki) for documentation about structure and utility of grain graphs, including usage of prototype implementations. ## Citation If you use grain graphs in yo...
<|file_sep|>original/README.md # Grain Graphs Grain graphs collectively refer to a performance visualization method for OpenMP programs. See the [wiki](https://github.com/anamud/grain-graphs/wiki) for documentation about structure and utility of grain graphs, including usage of prototype implementations. ## Citation...
ddbdbf0a71cfb3f9a7e4b8d6857b1c2930de6a3c
README.md
README.md
Markdown
<|file_sep|>original/app/controllers/spree/admin/review_settings_controller.rb class Spree::Admin::ReviewSettingsController < Spree::Admin::BaseController def update # workaround for unset checkbox behaviour %i[include_unapproved_reviews feedback_rating show_email require_login track_locale].each do |s...
class Spree::Admin::ReviewSettingsController < Spree::Admin::BaseController def update # workaround for unset checkbox behaviour %w(include_unapproved_reviews feedback_rating show_email require_login track_locale).each do |sym| params[:preferences][sym] = false if params[:preferences][sym].blank? en...
<|file_sep|>original/app/controllers/spree/admin/review_settings_controller.rb class Spree::Admin::ReviewSettingsController < Spree::Admin::BaseController def update # workaround for unset checkbox behaviour %i[include_unapproved_reviews feedback_rating show_email require_login track_locale].each do |s...
53ea7d2cfbd171275e5233b4b4aa54b93ee272c9
app/controllers/spree/admin/review_settings_controller.rb
app/controllers/spree/admin/review_settings_controller.rb
Ruby
<|file_sep|>original/window/window.go package window import "github.com/oakmound/oak/v2/alg/intgeom" type Window interface { SetFullScreen(bool) error SetBorderless(bool) error SetTopMost(bool) error SetTitle(string) error SetTrayIcon(string) error ShowNotification(title, msg string, icon bool) error MoveWindo...
package window import "github.com/oakmound/oak/v2/alg/intgeom" type Window interface { SetFullScreen(bool) error SetBorderless(bool) error SetTopMost(bool) error SetTitle(string) error SetTrayIcon(string) error ShowNotification(title, msg string, icon bool) error MoveWindow(x, y, w, h int) error //GetMonitorS...
<|file_sep|>original/window/window.go package window import "github.com/oakmound/oak/v2/alg/intgeom" type Window interface { SetFullScreen(bool) error SetBorderless(bool) error SetTopMost(bool) error SetTitle(string) error SetTrayIcon(string) error ShowNotification(title, msg string, icon bool) error MoveWindo...
be73da58aa89a35541c04b042b9ddb17c947a710
window/window.go
window/window.go
Go
<|file_sep|>app/views/layouts/runs.slim.diff original: nav, .breadcrumb, #alerts, #footer, #carbonads-holder updated: nav, .breadcrumb, #alerts, #footer <|file_sep|>original/app/views/layouts/runs.slim - if current_user.nil? - content_for(:head) do sass: nav, .breadcrumb, #alerts, #footer, #carb...
- if current_user.nil? - content_for(:head) do sass: nav, .breadcrumb, #alerts, #footer visibility: hidden #carbonads-holder display: none = render template: 'layouts/application' - if current_user.nil? footer.fixed-bottom.text-secondary.ml-auto.mr-0 style='text-align: right' => i...
<|file_sep|>app/views/layouts/runs.slim.diff original: nav, .breadcrumb, #alerts, #footer, #carbonads-holder updated: nav, .breadcrumb, #alerts, #footer <|file_sep|>original/app/views/layouts/runs.slim - if current_user.nil? - content_for(:head) do sass: nav, .breadcrumb, #alerts, #footer, #carb...
d8c828dc86aff00ee2b7a68e46a478f7c413b0fd
app/views/layouts/runs.slim
app/views/layouts/runs.slim
Slim
<|file_sep|>original/beyonic/__init__.py # Beyonic API Python bindings #default values if any DEFAULT_ENDPOINT_BASE = 'https://app.beyonic.com/api/' #config api_key = None api_endpoint_base = None api_version = None verify_ssl_certs = True #set to False if you want to bypass SSL checks(mostly useful while testing it ...
# Beyonic API Python bindings #default values if any DEFAULT_ENDPOINT_BASE = 'https://app.beyonic.com/api/' #config api_key = None api_endpoint_base = None api_version = None verify_ssl_certs = True #set to False if you want to bypass SSL checks(mostly useful while testing it on local env). from beyonic.apis.paymen...
<|file_sep|>original/beyonic/__init__.py # Beyonic API Python bindings #default values if any DEFAULT_ENDPOINT_BASE = 'https://app.beyonic.com/api/' #config api_key = None api_endpoint_base = None api_version = None verify_ssl_certs = True #set to False if you want to bypass SSL checks(mostly useful while testing it ...
1bb03750b997a152a9360be613a15057e59b8a17
beyonic/__init__.py
beyonic/__init__.py
Python
<|file_sep|>original/app/workers/organisations_worker.rb include Sidekiq::Worker include Sidekiq::Status::Worker sidekiq_options :retry => 1, :dead => false def perform(uri, current_user_id) organisation = Organisation.find(uri) logger.debug "> [Sidekiq]: Generating graph for #{uri}" graph_json...
include Sidekiq::Status::Worker sidekiq_options :retry => 1, :dead => false def perform(uri, current_user_id) organisation = Organisation.find(uri) logger.debug "> [Sidekiq]: Generating graph for #{uri}" graph_json = D3::OrganisationsGraph.new(organisation).formatted_hash organisation.set_visu...
<|file_sep|>original/app/workers/organisations_worker.rb include Sidekiq::Worker include Sidekiq::Status::Worker sidekiq_options :retry => 1, :dead => false def perform(uri, current_user_id) organisation = Organisation.find(uri) logger.debug "> [Sidekiq]: Generating graph for #{uri}" graph_json...
6e24865456a650d690cc0f7e3a2b6e1e7b255ae0
app/workers/organisations_worker.rb
app/workers/organisations_worker.rb
Ruby
<|file_sep|>gerrit-gwtui/src/main/java/com/google/gerrit/client/ui/SuggestAfterTypingNCharsOracle.java.diff original: updated: import java.util.Collections; import java.util.List; <|file_sep|>original/gerrit-gwtui/src/main/java/com/google/gerrit/client/ui/SuggestAfterTypingNCharsOracle.java import com.google.gerrit....
import java.util.List; /** * Suggest oracle that only provides suggestions if the user has typed at least * as many characters as configured by 'suggest.from'. If 'suggest.from' is set * to 0, suggestions will always be provided. */ public abstract class SuggestAfterTypingNCharsOracle extends HighlightSuggestOracl...
<|file_sep|>gerrit-gwtui/src/main/java/com/google/gerrit/client/ui/SuggestAfterTypingNCharsOracle.java.diff original: updated: import java.util.Collections; import java.util.List; <|file_sep|>original/gerrit-gwtui/src/main/java/com/google/gerrit/client/ui/SuggestAfterTypingNCharsOracle.java import com.google.gerrit....
c145f976b226cd4cdf6116d6fd550697fa8a9e78
gerrit-gwtui/src/main/java/com/google/gerrit/client/ui/SuggestAfterTypingNCharsOracle.java
gerrit-gwtui/src/main/java/com/google/gerrit/client/ui/SuggestAfterTypingNCharsOracle.java
Java
<|file_sep|>original/__openerp__.py # -*- coding: utf-8 -*- { "name": "Alternate Ledger", "version": "1.2.2", "author": "XCG Consulting", "category": 'Accounting', "description": '''Allow the creation of new accounting ledgers that store separate transactions.''', 'website': 'http://www....
# -*- coding: utf-8 -*- { "name": "Alternate Ledger", "version": "1.2.3", "author": "XCG Consulting", "category": 'Accounting', "description": '''Allow the creation of new accounting ledgers that store separate transactions.''', 'website': 'http://www.openerp-experts.com', 'init_xml'...
<|file_sep|>original/__openerp__.py # -*- coding: utf-8 -*- { "name": "Alternate Ledger", "version": "1.2.2", "author": "XCG Consulting", "category": 'Accounting', "description": '''Allow the creation of new accounting ledgers that store separate transactions.''', 'website': 'http://www....
44f2ea1a47ee8502580853aaf6ca98597d83446a
__openerp__.py
__openerp__.py
Python
<|file_sep|>original/.kitchen.yml driver: name: vagrant provisioner: name: chef_zero deprecations_as_errors: true platforms: - name: centos-6.8 - name: centos-7.3 - name: debian-7.11 - name: debian-8.7 - name: fedora-25 - name: opensuse-leap-42.2 - name: ubuntu-14.04 - name: ubuntu-16.04 suites...
driver: name: vagrant provisioner: name: chef_zero deprecations_as_errors: true platforms: - name: centos-6.9 - name: centos-7.3 - name: debian-7.11 - name: debian-8.7 - name: fedora-25 - name: opensuse-leap-42.2 - name: ubuntu-14.04 - name: ubuntu-16.04 suites: - name: default run_list: ...
<|file_sep|>original/.kitchen.yml driver: name: vagrant provisioner: name: chef_zero deprecations_as_errors: true platforms: - name: centos-6.8 - name: centos-7.3 - name: debian-7.11 - name: debian-8.7 - name: fedora-25 - name: opensuse-leap-42.2 - name: ubuntu-14.04 - name: ubuntu-16.04 suites...
af1483bd44ec82076f5d9335169554841d46eff1
.kitchen.yml
.kitchen.yml
YAML
<|file_sep|>original/genomics/sparkcaller/src/main/java/com/github/sparkcaller/variantdiscovery/VQSRRecalibrationApplier.java package com.github.sparkcaller.variantdiscovery; import com.github.sparkcaller.BaseGATKProgram; import com.github.sparkcaller.Utils; import scala.Tuple2; import java.io.File; public class VQS...
package com.github.sparkcaller.variantdiscovery; import com.github.sparkcaller.BaseGATKProgram; import com.github.sparkcaller.Utils; import scala.Tuple2; import java.io.File; /* * Applies the recalibration targets generated by VQSRTarget generator. * * See: * https://software.broadinstitute.org/gatk/gatkdocs/org...
<|file_sep|>original/genomics/sparkcaller/src/main/java/com/github/sparkcaller/variantdiscovery/VQSRRecalibrationApplier.java package com.github.sparkcaller.variantdiscovery; import com.github.sparkcaller.BaseGATKProgram; import com.github.sparkcaller.Utils; import scala.Tuple2; import java.io.File; public class VQS...
2ed4bea13d44007854be4260cc20341ae8b71420
genomics/sparkcaller/src/main/java/com/github/sparkcaller/variantdiscovery/VQSRRecalibrationApplier.java
genomics/sparkcaller/src/main/java/com/github/sparkcaller/variantdiscovery/VQSRRecalibrationApplier.java
Java
<|file_sep|>original/CHANGELOG.md Change Log ========== Version 2.1.1beta *(2011-08-27)* -------------------------------- * Always use a GridLayout for the show list. * Tidy up settings. * Change URLs to new webiste. * Improvements for DeltaUpdate. * Latest translations. <|file_sep|>current/CHANGELOG.md Change Log ==...
Change Log ========== Version 2.1.2beta *(in development)* -------------------------------- * Revert some time calc code that accidentially slipped into the last beta * Better user communication when doing delta and full update (now called 'Update All') * Use TVDB id instead of IMDb id to mark episodes as seen on tra...
<|file_sep|>original/CHANGELOG.md Change Log ========== Version 2.1.1beta *(2011-08-27)* -------------------------------- * Always use a GridLayout for the show list. * Tidy up settings. * Change URLs to new webiste. * Improvements for DeltaUpdate. * Latest translations. <|file_sep|>current/CHANGELOG.md Change Log ==...
8fa2c9a631c2a41429d4db5391332df79ca53379
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>original/package.json "licenses": [ { "type": "MIT", "url": "https://github.com/philwareham/hive-framework/blob/master/LICENSE" } ], "devDependencies": { "grunt": "~0.4.5", "grunt-cli": "~0.1", "grunt-contrib-compass": "1.0.1", "grunt-contrib-compress": "0.12.0", ...
"licenses": [ { "type": "MIT", "url": "https://github.com/philwareham/hive-framework/blob/master/LICENSE" } ], "devDependencies": { "grunt": "~0.4.5", "grunt-cli": "~0.1", "grunt-contrib-compass": "1.0.1", "grunt-contrib-compress": "0.12.0", "grunt-contrib-copy": "0.7.0", ...
<|file_sep|>original/package.json "licenses": [ { "type": "MIT", "url": "https://github.com/philwareham/hive-framework/blob/master/LICENSE" } ], "devDependencies": { "grunt": "~0.4.5", "grunt-cli": "~0.1", "grunt-contrib-compass": "1.0.1", "grunt-contrib-compress": "0.12.0", ...
2a1faabf1ad414e66e708d6d07471569ed1a148c
package.json
package.json
JSON
<|file_sep|>original/custom/views/_login_form.erb <%= _("Username") %>: </label> <input type="text" id="username" name="username" size="32" tabindex="1" accesskey="u" /> </div> <div id="password-container"> <label id="password-label" for="password"> ...
<%= _("Username") %>: </label> <input type="text" id="username" name="username" size="32" tabindex="1" accesskey="u" /> </div> <div id="password-container"> <label id="password-label" for="password"> <%= _("Password") %>: </label> <i...
<|file_sep|>original/custom/views/_login_form.erb <%= _("Username") %>: </label> <input type="text" id="username" name="username" size="32" tabindex="1" accesskey="u" /> </div> <div id="password-container"> <label id="password-label" for="password"> ...
f75b5af58d5395482f78a8902248e4438a615735
custom/views/_login_form.erb
custom/views/_login_form.erb
HTML+ERB
<|file_sep|>original/leetCodeOJ/algorithms/_485_MaxConsecutiveOnes/Main.java <|file_sep|>current/leetCodeOJ/algorithms/_485_MaxConsecutiveOnes/Main.java <|file_sep|>updated/leetCodeOJ/algorithms/_485_MaxConsecutiveOnes/Main.java
public class Solution { public int findMaxConsecutiveOnes(int[] nums) { int max = 0; int current = 0; for (int i = 0; i < nums.length; i++) { if (nums[i] == 1) { current++; max = Math.max(max, current); } else if (nums[i] == 0){ ...
<|file_sep|>original/leetCodeOJ/algorithms/_485_MaxConsecutiveOnes/Main.java <|file_sep|>current/leetCodeOJ/algorithms/_485_MaxConsecutiveOnes/Main.java <|file_sep|>updated/leetCodeOJ/algorithms/_485_MaxConsecutiveOnes/Main.java public class Solution { public int findMaxConsecutiveOnes(int[] nums) { int...
ecca54f9c0ad63a096aa2dc759cba07b65c1268f
leetCodeOJ/algorithms/_485_MaxConsecutiveOnes/Main.java
leetCodeOJ/algorithms/_485_MaxConsecutiveOnes/Main.java
Java
<|file_sep|>original/_docs/index.md --- layout: documentation title: Getting started order: 1 --- Welcome to The Lounge, web-based [IRC](https://en.wikipedia.org/wiki/Internet_Relay_Chat) client for the modern world! ❤️ For an optimal experience, The Lounge must be installed on a server that runs 24/7. Once configure...
--- layout: documentation title: Getting started order: 1 --- Welcome to The Lounge, a web-based [IRC](https://en.wikipedia.org/wiki/Internet_Relay_Chat) client for the modern world! ❤️ For an optimal experience, The Lounge must be installed on a server that runs 24/7. Once configured and started, users can access it...
<|file_sep|>original/_docs/index.md --- layout: documentation title: Getting started order: 1 --- Welcome to The Lounge, web-based [IRC](https://en.wikipedia.org/wiki/Internet_Relay_Chat) client for the modern world! ❤️ For an optimal experience, The Lounge must be installed on a server that runs 24/7. Once configure...
2b6a314cafaed8680aab549f28cce77f9fbfe6c1
_docs/index.md
_docs/index.md
Markdown
<|file_sep|>src/app.ts.diff original: updated: const priceInputsProxy$ : xs<{}> = xs.create(); <|file_sep|>src/app.ts.diff original: // @TODO: is this ok? sources.PRICE = priceInputs$; updated: const priceVDom$ : Stream<VNode> = Price({...sources, PRICE: priceInputsProxy$ as xs<number>}); priceInpu...
const priceInputsVDom$ : Stream<VNode> = priceInputsSinks.DOM; const priceInputs$ : xs<number> = priceInputsSinks.PRICE; const priceVDom$ : Stream<VNode> = Price({...sources, PRICE: priceInputsProxy$ as xs<number>}); priceInputsProxy$.imitate(priceInputs$); const footerVDom$ : Stream<VNode> = Foot...
<|file_sep|>src/app.ts.diff original: updated: const priceInputsProxy$ : xs<{}> = xs.create(); <|file_sep|>src/app.ts.diff original: // @TODO: is this ok? sources.PRICE = priceInputs$; updated: const priceVDom$ : Stream<VNode> = Price({...sources, PRICE: priceInputsProxy$ as xs<number>}); priceInpu...
dd2031cef5ccc6f06035d59b409c1cee127b705e
src/app.ts
src/app.ts
TypeScript
<|file_sep|>WhatsMac/noConnection.html.diff original: <style> .noConnectionMessage { width:70%; height:200px; margin-left:15%; margin-right:15%; margin-top:25%; margin-bott...
background-color: #009688; } p { text-align: center; vertical-align: middle; display: table-cell; font-family: Helvetica, Arial, Sans-Serif; line-height: 35px; font-size: 14pt; ...
<|file_sep|>WhatsMac/noConnection.html.diff original: <style> .noConnectionMessage { width:70%; height:200px; margin-left:15%; margin-right:15%; margin-top:25%; margin-bott...
6114f2c00f1d260a4626e0b8fc3f64e4ea2ef0d5
WhatsMac/noConnection.html
WhatsMac/noConnection.html
HTML
<|file_sep|>metadata/de.tobiasbielefeld.searchbar.txt.diff original: updated: Build:1.2,10 commit=v1.2 subdir=app gradle=yes <|file_sep|>original/metadata/de.tobiasbielefeld.searchbar.txt preferred search engine. This app contains a search bar to type in a search query, which will be opened in the Intern...
You can change the search engine in the settings (Default is DuckDuckGo) or type in a custom search string. The app also saves the search queries as a history. . Repo Type:git Repo:https://github.com/TobiasBielefeld/Simple-Search.git Build:1.1.4,9 commit=v1.1.4 subdir=app gradle=yes Build:1.2,10 comm...
<|file_sep|>metadata/de.tobiasbielefeld.searchbar.txt.diff original: updated: Build:1.2,10 commit=v1.2 subdir=app gradle=yes <|file_sep|>original/metadata/de.tobiasbielefeld.searchbar.txt preferred search engine. This app contains a search bar to type in a search query, which will be opened in the Intern...
33530f3ba41c1e9c86c44afe66a6130b3ea656ac
metadata/de.tobiasbielefeld.searchbar.txt
metadata/de.tobiasbielefeld.searchbar.txt
Text
<|file_sep|>original/articles/_posts/2007-04-13-making-the-future-based-on-html.md --- title: Making the Future Based on HTML authors: - anne-van-kesteren tags: - w3c - htmlwg - whatwg - labs layout: article --- The W3C recently renewed its HTML activity. Opera joined the new [HTML Working Group][1] to help shape the ...
--- title: Making the Future Based on HTML authors: - anne-van-kesteren intro: 'The W3C recently renewed its HTML activity. Opera joined the new HTML Working Group to help shape the future of the web and so can you. The HTML Working Group allows virtually everyone to participate.' tags: - w3c - htmlwg - whatwg - labs l...
<|file_sep|>original/articles/_posts/2007-04-13-making-the-future-based-on-html.md --- title: Making the Future Based on HTML authors: - anne-van-kesteren tags: - w3c - htmlwg - whatwg - labs layout: article --- The W3C recently renewed its HTML activity. Opera joined the new [HTML Working Group][1] to help shape the ...
000f0041249841a691779ce653208b509f9e0a08
articles/_posts/2007-04-13-making-the-future-based-on-html.md
articles/_posts/2007-04-13-making-the-future-based-on-html.md
Markdown
<|file_sep|>original/.travis.yml language: python python: - "2.7" - "3.4" install: - pip install coverage - pip install prettytable script: python setup.py test after_success: - coverage run setup.py test - coverage html <|file_sep|>current/.travis.yml language: python python: - "2.7" - "3.4" instal...
language: python python: - "2.7" - "3.5" - "3.6" install: - pip install coverage - pip install prettytable script: python setup.py test after_success: - coverage run setup.py test - coverage html
<|file_sep|>original/.travis.yml language: python python: - "2.7" - "3.4" install: - pip install coverage - pip install prettytable script: python setup.py test after_success: - coverage run setup.py test - coverage html <|file_sep|>current/.travis.yml language: python python: - "2.7" - "3.4" instal...
03ac610e01de8120223519e86c7acc9b2c37059b
.travis.yml
.travis.yml
YAML
<|file_sep|>original/setup.cfg #License :: OSI Approved :: Apache Software License Operating System :: POSIX :: Linux author = OpenStack author-email = openstack-dev@lists.openstack.org [files] packages = mistralclient data_files = /etc/bash_completion.d = tools/mistral.bash_completion [entry...
Environment :: OpenStack Intended Audience :: Information Technology Intended Audience :: System Administrators #License :: OSI Approved :: Apache Software License Operating System :: POSIX :: Linux author = OpenStack author-email = openstack-dev@lists.openstack.org [files] packages = mistralcl...
<|file_sep|>original/setup.cfg #License :: OSI Approved :: Apache Software License Operating System :: POSIX :: Linux author = OpenStack author-email = openstack-dev@lists.openstack.org [files] packages = mistralclient data_files = /etc/bash_completion.d = tools/mistral.bash_completion [entry...
70bfeb94c320f58670813f6769c65c9b5af6438e
setup.cfg
setup.cfg
INI
<|file_sep|>original/lib/truncate_html/html_string.rb module TruncateHtml class HtmlString < String UNPAIRED_TAGS = %w(br hr img) def initialize(original_html) super(original_html) end def html_tokens scan(/(?:<script.*>.*<\/script>)+|<\/?[^>]+>|[[[:alpha:]]\w\|`~!@#\$%^&*\(\)\-_\+=\[\]...
module TruncateHtml class HtmlString < String UNPAIRED_TAGS = %w(br hr img) def initialize(original_html) super(original_html) end def html_tokens regex = if RUBY_VERSION >= "1.9" /(?:<script.*>.*<\/script>)+|<\/?[^>]+>|[[[:alpha:]]\w\|`~!@#\$%^&*\(\)\-_\+=\[\]{}:;'",\.\...
<|file_sep|>original/lib/truncate_html/html_string.rb module TruncateHtml class HtmlString < String UNPAIRED_TAGS = %w(br hr img) def initialize(original_html) super(original_html) end def html_tokens scan(/(?:<script.*>.*<\/script>)+|<\/?[^>]+>|[[[:alpha:]]\w\|`~!@#\$%^&*\(\)\-_\+=\[\]...
6d0c53778770722780a7c13b290b11e6a9cf46f3
lib/truncate_html/html_string.rb
lib/truncate_html/html_string.rb
Ruby
<|file_sep|>original/install.sh #!env zsh # A function to link a file from this directory as a dotfile in the user's $HOME # Assumes that the file should have the same name with a '.' prepended. makelink () { if [[ -f $HOME/.$1 ]]; then mv $HOME/.$1 $HOME/.backups fi ln -s $DIR/$1 $HOME/.$1 } # Ge...
#!env zsh # A function to link a file from this directory as a dotfile in the user's $HOME # Assumes that the file should have the same name with a '.' prepended. makelink () { if [[ -h $HOME/.$1 ]] then rm $HOME/.$1 elif [[ -e $HOME/.$1 ]]; then mv $HOME/.$1 $HOME/.backups fi ln -s $DIR/$1 $H...
<|file_sep|>original/install.sh #!env zsh # A function to link a file from this directory as a dotfile in the user's $HOME # Assumes that the file should have the same name with a '.' prepended. makelink () { if [[ -f $HOME/.$1 ]]; then mv $HOME/.$1 $HOME/.backups fi ln -s $DIR/$1 $HOME/.$1 } # Ge...
f46c98e2da9a388b9188c3860f6183a682e9e6e7
install.sh
install.sh
Shell
<|file_sep|>original/AndroidManifest.xml android:versionName="1.0" > <uses-sdk android:minSdkVersion="15" android:targetSdkVersion="15" /> <application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name"> <activit...
android:versionName="1.0" > <uses-sdk android:minSdkVersion="15" android:targetSdkVersion="15" /> <application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name"> <uses-library android:name="...
<|file_sep|>original/AndroidManifest.xml android:versionName="1.0" > <uses-sdk android:minSdkVersion="15" android:targetSdkVersion="15" /> <application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name"> <activit...
c4a0164b077246ef5d3a11410b3d47ec75305923
AndroidManifest.xml
AndroidManifest.xml
XML
<|file_sep|>original/.travis.yml git: depth: 1 env: - GO111MODULE=on - GO111MODULE=off go: [1.11.x, 1.12.x, 1.13.x] os: [linux, osx] matrix: exclude: - go: 1.11.x env: GO111MODULE=off - go: 1.12.x env: GO111MODULE=off - go: 1.13.x env: GO111MODULE=off install: - ./travis/install....
language: go go_import_path: github.com/sirupsen/logrus git: depth: 1 env: - GO111MODULE=on - GO111MODULE=off go: [1.11.x, 1.12.x, 1.13.x] os: [linux, osx] install: - ./travis/install.sh - if [[ "$GO111MODULE" == "on" ]]; then go mod download; fi - if [[ "$GO111MODULE" == "off" ]]; then go get github.com/s...
<|file_sep|>original/.travis.yml git: depth: 1 env: - GO111MODULE=on - GO111MODULE=off go: [1.11.x, 1.12.x, 1.13.x] os: [linux, osx] matrix: exclude: - go: 1.11.x env: GO111MODULE=off - go: 1.12.x env: GO111MODULE=off - go: 1.13.x env: GO111MODULE=off install: - ./travis/install....
8ec9a493ec1b609038df0e3ecbae99540ee74fe3
.travis.yml
.travis.yml
YAML
<|file_sep|>original/README.md # book-queue Use your GoodReads profile to generate a reading timeline. <|file_sep|>current/README.md # book-queue Use your GoodReads profile to generate a reading timeline. <|file_sep|>updated/README.md
# book-queue Use your GoodReads profile to generate a reading timeline. *book-queue* creates a static website that displays your GoodReads shelves, ratings, and reviews.
<|file_sep|>original/README.md # book-queue Use your GoodReads profile to generate a reading timeline. <|file_sep|>current/README.md # book-queue Use your GoodReads profile to generate a reading timeline. <|file_sep|>updated/README.md # book-queue Use your GoodReads profile to generate a reading timeline. *book-queue*...
7186a9bd6099f93d5b0d33705e5b045dd4fa6e0f
README.md
README.md
Markdown
<|file_sep|>original/src/main/java/com/alma/pay2bid/gui/ClientGui.java <|file_sep|>current/src/main/java/com/alma/pay2bid/gui/ClientGui.java <|file_sep|>updated/src/main/java/com/alma/pay2bid/gui/ClientGui.java
package com.alma.pay2bid.gui; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; /** * Created by Folkvir(Grall Arnaud)) on 28/09/16. */ public class ClientGui { private JFrame ...
<|file_sep|>original/src/main/java/com/alma/pay2bid/gui/ClientGui.java <|file_sep|>current/src/main/java/com/alma/pay2bid/gui/ClientGui.java <|file_sep|>updated/src/main/java/com/alma/pay2bid/gui/ClientGui.java package com.alma.pay2bid.gui; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; ...
3cbe7492250cb86e9817e24acf1040f0a9e91996
src/main/java/com/alma/pay2bid/gui/ClientGui.java
src/main/java/com/alma/pay2bid/gui/ClientGui.java
Java
<|file_sep|>original/messaging.gemspec # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = 'evt-messaging' s.version = '0.10.0.0' s.summary = 'Messaging primitives for Eventide' s.description = ' ' s.authors = ['The Eventide Project'] s.email = 'opensource@eventide-project.org' s.homepage = ...
# -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = 'evt-messaging' s.version = '0.11.0.0' s.summary = 'Messaging primitives for Eventide' s.description = ' ' s.authors = ['The Eventide Project'] s.email = 'opensource@eventide-project.org' s.homepage = 'https://github.com/eventide-project/me...
<|file_sep|>original/messaging.gemspec # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = 'evt-messaging' s.version = '0.10.0.0' s.summary = 'Messaging primitives for Eventide' s.description = ' ' s.authors = ['The Eventide Project'] s.email = 'opensource@eventide-project.org' s.homepage = ...
2e67311f378ef918ac21fa45b303bc038504d8f2
messaging.gemspec
messaging.gemspec
Ruby
<|file_sep|>tests/capstone/policy/test_greedy.py.diff original: from capstone.util import play_match class FakeEnv(object): def __init__(self): self._actions = [] def cur_state(self): return 'FakeState' def actions(self, state): return self._actions updated: <|file_sep|>origina...
import unittest from capstone.policy import GreedyPolicy class TestGreedy(unittest.TestCase): def setUp(self): self.policy = GreedyPolicy() def test_max_action(self): state = 1 actions = [1, 5, 8] fake_qf = { (state, 1): 5, (state, 5): 33, ...
<|file_sep|>tests/capstone/policy/test_greedy.py.diff original: from capstone.util import play_match class FakeEnv(object): def __init__(self): self._actions = [] def cur_state(self): return 'FakeState' def actions(self, state): return self._actions updated: <|file_sep|>origina...
8ae44c3645eb6ec0bc0063299a193c14280430c7
tests/capstone/policy/test_greedy.py
tests/capstone/policy/test_greedy.py
Python
<|file_sep|>original/app/Console/Kernel.php use Illuminate\Foundation\Console\Kernel as ConsoleKernel; class Kernel extends ConsoleKernel { /** * The Artisan commands provided by your application. * * @var array */ protected $commands = [ // ]; /** * Define the applica...
use Illuminate\Foundation\Console\Kernel as ConsoleKernel; class Kernel extends ConsoleKernel { /** * The Artisan commands provided by your application. * * @var array */ protected $commands = [ Commands\AddItem::class, ]; /** * Define the application's command schedul...
<|file_sep|>original/app/Console/Kernel.php use Illuminate\Foundation\Console\Kernel as ConsoleKernel; class Kernel extends ConsoleKernel { /** * The Artisan commands provided by your application. * * @var array */ protected $commands = [ // ]; /** * Define the applica...
fe3933801ce2ffc83fd171930ba048c7d73fbc28
app/Console/Kernel.php
app/Console/Kernel.php
PHP
<|file_sep|>original/jasyproject.yaml check: - webkit - gecko - trident - presto detect: core.detect.Engine es5: check: Boolean default: false detect: core.detect.ES5 locale: check: String default: en detect: core.detect.Locale runtime: check: - browser ...
- trident - presto detect: core.detect.Engine es5: check: Boolean default: false detect: core.detect.ES5 locale: check: String default: en detect: core.detect.Locale runtime: check: - browser - webworker - native default: browser detect: core.detect.Runt...
<|file_sep|>original/jasyproject.yaml check: - webkit - gecko - trident - presto detect: core.detect.Engine es5: check: Boolean default: false detect: core.detect.ES5 locale: check: String default: en detect: core.detect.Locale runtime: check: - browser ...
00e435926e5fd105ea0bdd28a111e0f5622e1e98
jasyproject.yaml
jasyproject.yaml
YAML
<|file_sep|>original/blaze-client/src/test/resources/logback.xml <configuration> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <!-- encoders are assigned the type ch.qos.logback.classic.encoder.PatternLayoutEncoder by default --> <encoder> <pattern>%d{HH:mm:ss.SSS} [%thr...
<configuration> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <!-- encoders are assigned the type ch.qos.logback.classic.encoder.PatternLayoutEncoder by default --> <encoder> <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern> </encoder> </a...
<|file_sep|>original/blaze-client/src/test/resources/logback.xml <configuration> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <!-- encoders are assigned the type ch.qos.logback.classic.encoder.PatternLayoutEncoder by default --> <encoder> <pattern>%d{HH:mm:ss.SSS} [%thr...
c02e4b861b188f52c4b0dc196da9efda8e32ad10
blaze-client/src/test/resources/logback.xml
blaze-client/src/test/resources/logback.xml
XML
<|file_sep|>original/app/admin/photos.rb index do column :id column :image do |photo| link_to(image_tag(photo.image.url(:thumb_iphone).to_s), image_path(photo.image.url.to_s)) end column :user do |photo| link_to(photo.user.id, admin_user_path(photo.user)) end column :poi do |photo|...
column :id column :image do |photo| link_to(image_tag(photo.image.url(:thumb_iphone).to_s), image_path(photo.image.url.to_s)) end column :user do |photo| link_to(photo.user.id, admin_user_path(photo.user)) end column :poi do |photo| if photo.poi.present? span do ...
<|file_sep|>original/app/admin/photos.rb index do column :id column :image do |photo| link_to(image_tag(photo.image.url(:thumb_iphone).to_s), image_path(photo.image.url.to_s)) end column :user do |photo| link_to(photo.user.id, admin_user_path(photo.user)) end column :poi do |photo|...
2b5057b5ebc68aacf39a59fc4e24bc949a3ec26a
app/admin/photos.rb
app/admin/photos.rb
Ruby
<|file_sep|>original/src/queue/delay.js define([ "../core", "../queue", "../effects" // Delay is optional because of this dependency ], function( jQuery ) { // Based off of the plugin by Clint Helfers, with permission. // http://blindsignals.com/index.php/2009/07/jquery-delay/ jQuery.fn.delay = function( time, type...
define([ "../core", "../queue", "../effects" // Delay is optional because of this dependency ], function( jQuery ) { // Based off of the plugin by Clint Helfers, with permission. // http://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ jQuery.fn.delay = function( time, ty...
<|file_sep|>original/src/queue/delay.js define([ "../core", "../queue", "../effects" // Delay is optional because of this dependency ], function( jQuery ) { // Based off of the plugin by Clint Helfers, with permission. // http://blindsignals.com/index.php/2009/07/jquery-delay/ jQuery.fn.delay = function( time, type...
31d58c5cbbede6dc33d10feecd5277ccddb367e6
src/queue/delay.js
src/queue/delay.js
JavaScript
<|file_sep|>composer.json.diff original: "license": "GPL 2", updated: "license": "GPL 2.0+", <|file_sep|>original/composer.json "role": "lead" }, { "name": "Marat A. Denenberg" } ], "support": { "issues": "https://github.com/greencape/xml-converter...
"support": { "issues": "https://github.com/greencape/xml-converter/issues" }, "require": { "php": ">=5.4" }, "require-dev": { "phpunit/phpunit": "~4" }, "autoload": { "classmap": [ "src" ] }, "archive": { "exclude": [ ...
<|file_sep|>composer.json.diff original: "license": "GPL 2", updated: "license": "GPL 2.0+", <|file_sep|>original/composer.json "role": "lead" }, { "name": "Marat A. Denenberg" } ], "support": { "issues": "https://github.com/greencape/xml-converter...
6bd191e92f3e1f234461df8eefde87776d5c5d78
composer.json
composer.json
JSON
<|file_sep|>original/src/game.state.js var total = 0; if (room.storage) { total += room.storage.store[RESOURCE_ENERGY]; } if (room.terminal) { total += room.terminal.store[RESOURCE_ENERGY]; } var storageLocation = room.getStorageLocation(); ...
var total = 0; if (room.storage) { total += room.storage.store[RESOURCE_ENERGY]; } if (room.terminal) { total += room.terminal.store[RESOURCE_ENERGY]; } var storageLocation = room.getStorageLocation(); var resources = room.find(FIND_DROPPE...
<|file_sep|>original/src/game.state.js var total = 0; if (room.storage) { total += room.storage.store[RESOURCE_ENERGY]; } if (room.terminal) { total += room.terminal.store[RESOURCE_ENERGY]; } var storageLocation = room.getStorageLocation(); ...
6c040a712abc78b93421b05c095e28d7161d478d
src/game.state.js
src/game.state.js
JavaScript
<|file_sep|>original/playbooks/external-ip/external-ip.yaml # For Amazon EC2 hosts, use the ec2 fact - hosts: external-ip:&amazon tasks: - set_fact: external_hostname="{{ansible_ec2_public_hostname}}" # For non-EC2 hosts, use a detected external IP address - hosts: external-ip:!amazon:&apt sudo: yes tasks: ...
tasks: - set_fact: external_hostname="{{ansible_ec2_public_hostname}}" # For non-EC2 hosts, use a detected external IP address - hosts: external-ip:!amazon:&apt sudo: yes tasks: - name: Install curl apt: name=curl state=present - hosts: external-ip:!amazon tasks: - name: get host's external...
<|file_sep|>original/playbooks/external-ip/external-ip.yaml # For Amazon EC2 hosts, use the ec2 fact - hosts: external-ip:&amazon tasks: - set_fact: external_hostname="{{ansible_ec2_public_hostname}}" # For non-EC2 hosts, use a detected external IP address - hosts: external-ip:!amazon:&apt sudo: yes tasks: ...
c02ddf45a2586949a3e707e984baf5016593a426
playbooks/external-ip/external-ip.yaml
playbooks/external-ip/external-ip.yaml
YAML
<|file_sep|>original/source/php/Module/Social/Social.php <?php namespace Modularity\Module\Social; class Social extends \Modularity\Module { public function __construct() { $this->register( 'social', __("Social Media Feed", 'modularity'), __("Sociala Media Feeds", '...
namespace Modularity\Module\Social; class Social extends \Modularity\Module { public function __construct() { $this->register( 'social', __("Social Media Feed", 'modularity'), __("Sociala Media Feeds", 'modularity'), __("Outputs a social media feed from ...
<|file_sep|>original/source/php/Module/Social/Social.php <?php namespace Modularity\Module\Social; class Social extends \Modularity\Module { public function __construct() { $this->register( 'social', __("Social Media Feed", 'modularity'), __("Sociala Media Feeds", '...
a1712009d454e45f19a168d2be5d128b8dac63ba
source/php/Module/Social/Social.php
source/php/Module/Social/Social.php
PHP
<|file_sep|>lib/templates/json/development_package.json.diff original: updated: "publish": null <|file_sep|>original/lib/templates/json/development_package.json "description": "<%= name %> application build with Electron", "repository": "", "dependencies": {}, "author": { "name": "<%= author %>", ...
"dependencies": {}, "author": { "name": "<%= author %>", "email": "" }, "devDependencies": { "bozon": "<%= bozonVersion %>", "mocha": "<%= mochaVersion %>", "spectron": "<%= spectronVersion %>" }, "build": { "appId": "com.electron.<%= id %>", "win": { "publish": null },...
<|file_sep|>lib/templates/json/development_package.json.diff original: updated: "publish": null <|file_sep|>original/lib/templates/json/development_package.json "description": "<%= name %> application build with Electron", "repository": "", "dependencies": {}, "author": { "name": "<%= author %>", ...
44414ded795b4fac3fee502b8f2b96ed9eda326f
lib/templates/json/development_package.json
lib/templates/json/development_package.json
JSON
<|file_sep|>original/docs/scala.md ## sbt To add the library as a prerequisite, use the following entry to the library dependencies in the `build.sbt` file ### Stable release ```scala libraryDependencies += "com.github.mmarquee" % "ui-automation" % "0.5.0" ``` ### Snapshot release ```scala resolvers += "Sonat...
## sbt To add the library as a prerequisite, use the following entry to the library dependencies in the `build.sbt` file ### Stable release ```scala libraryDependencies += "com.github.mmarquee" % "ui-automation" % "0.5.1" ``` ### Snapshot release ```scala resolvers += "Sonatype OSS Snapshots" at "https://oss....
<|file_sep|>original/docs/scala.md ## sbt To add the library as a prerequisite, use the following entry to the library dependencies in the `build.sbt` file ### Stable release ```scala libraryDependencies += "com.github.mmarquee" % "ui-automation" % "0.5.0" ``` ### Snapshot release ```scala resolvers += "Sonat...
ec43c1449b11b5d0f3fd313367e242c6ce456bd9
docs/scala.md
docs/scala.md
Markdown
<|file_sep|>__main__.py.diff original: parser.add_argument('user', type=str, help='GitHub user handle') parser.add_argument('-f', '--format', choices=['json', 'csv', 'md', 'raw.txt', 'tbl.txt'], updated: parser.add_argument('user', type=str, nargs='+', help='GitHub user handle') parser.add_argument('-f', '--format', na...
parser.add_argument('-f', '--format', nargs='+', choices=['json', 'csv', 'md', 'raw.txt', 'tbl.txt', 'all'], help='File output format.') def main(): args = parser.parse_args() user = args.user format_ = ['json', 'csv', 'md', 'raw.txt', 'tbl.txt'] if 'all' in args.fo...
<|file_sep|>__main__.py.diff original: parser.add_argument('user', type=str, help='GitHub user handle') parser.add_argument('-f', '--format', choices=['json', 'csv', 'md', 'raw.txt', 'tbl.txt'], updated: parser.add_argument('user', type=str, nargs='+', help='GitHub user handle') parser.add_argument('-f', '--format', na...
5d8a37cdbd41af594f03d78092b78a22afc53c05
__main__.py
__main__.py
Python
<|file_sep|>original/t/t3103-ls-tree-misc.sh <|file_sep|>current/t/t3103-ls-tree-misc.sh <|file_sep|>updated/t/t3103-ls-tree-misc.sh
#!/bin/sh test_description=' Miscellaneous tests for git ls-tree. 1. git ls-tree fails in presence of tree damage. ' . ./test-lib.sh test_expect_success 'setup' ' mkdir a && touch a/one && git add a/one && git commit -m test ' test_expect_failure 'ls-tree fails with non-zero exit code on broken tree' '...
<|file_sep|>original/t/t3103-ls-tree-misc.sh <|file_sep|>current/t/t3103-ls-tree-misc.sh <|file_sep|>updated/t/t3103-ls-tree-misc.sh #!/bin/sh test_description=' Miscellaneous tests for git ls-tree. 1. git ls-tree fails in presence of tree damage. ' . ./test-lib.sh test_expect_success 'setup' ' mkdir a &...
6c1c14480ddf912fca5e09a6a7e66dee7793d2ea
t/t3103-ls-tree-misc.sh
t/t3103-ls-tree-misc.sh
Shell
<|file_sep|>src/ImGui/Development/GUIDebug.cs.diff original: namespace ImGui.Development updated: using ImGui.Rendering; namespace ImGui.Development <|file_sep|>original/src/ImGui/Development/GUIDebug.cs namespace ImGui.Development { public class GUIDebug { public static void SetWindowPosition(strin...
public static void SetWindowPosition(string windowName, Point position) { var possibleWindow = Application.ImGuiContext.WindowManager.Windows.Find(window => window.Name == windowName); if (possibleWindow != null) { possibleWindow.Position = position; ...
<|file_sep|>src/ImGui/Development/GUIDebug.cs.diff original: namespace ImGui.Development updated: using ImGui.Rendering; namespace ImGui.Development <|file_sep|>original/src/ImGui/Development/GUIDebug.cs namespace ImGui.Development { public class GUIDebug { public static void SetWindowPosition(strin...
6073c6ec0f756db7396d4e78bb2a611554832cf9
src/ImGui/Development/GUIDebug.cs
src/ImGui/Development/GUIDebug.cs
C#
<|file_sep|>Documentation/install-webdoc.sh.diff original: for h in *.html howto/*.txt howto/*.html updated: for h in *.html *.txt howto/*.txt howto/*.html <|file_sep|>original/Documentation/install-webdoc.sh for h in *.html howto/*.txt howto/*.html do diff -u -I'Last updated [0-9][0-9]-[A-Z][a-z][a-z]-' "$T/$h" "$h" ...
for h in *.html *.txt howto/*.txt howto/*.html do diff -u -I'Last updated [0-9][0-9]-[A-Z][a-z][a-z]-' "$T/$h" "$h" || { echo >&2 "# install $h $T/$h" rm -f "$T/$h" mkdir -p `dirname "$T/$h"` cp "$h" "$T/$h" } done strip_leading=`echo "$T/" | sed -e 's|.|.|g'` for th in "$T"/*.html "$T"/*.txt "$T"/howto/*.txt...
<|file_sep|>Documentation/install-webdoc.sh.diff original: for h in *.html howto/*.txt howto/*.html updated: for h in *.html *.txt howto/*.txt howto/*.html <|file_sep|>original/Documentation/install-webdoc.sh for h in *.html howto/*.txt howto/*.html do diff -u -I'Last updated [0-9][0-9]-[A-Z][a-z][a-z]-' "$T/$h" "$h" ...
54c2533da0228244bbde7f94abfdb0a7fbb859c1
Documentation/install-webdoc.sh
Documentation/install-webdoc.sh
Shell
<|file_sep|>original/GATEWAY/README.md `$ cd tiles-rapIoT/GATEWAY` `$ npm install` ### Install cross-platform tools for CLI-commands (Needed to build and test the solution) (This is needed because the development-team works on both IOS and Windows, and needed a copy-command that works on both platforms) `$ npm insta...
`$ npm install` ### Install cross-platform tools for CLI-commands (Needed to build and test the solution) (This is needed because the development-team works on both IOS and Windows, and needed a copy-command that works on both platforms) `$ npm install -g cd-cli` ## Running the app Now there are a few possible ways...
<|file_sep|>original/GATEWAY/README.md `$ cd tiles-rapIoT/GATEWAY` `$ npm install` ### Install cross-platform tools for CLI-commands (Needed to build and test the solution) (This is needed because the development-team works on both IOS and Windows, and needed a copy-command that works on both platforms) `$ npm insta...
46879bd55fb8c55bf30f59985ea13029da3d8b4b
GATEWAY/README.md
GATEWAY/README.md
Markdown
<|file_sep|>src/floobits/common/protocol/send/InitialBase.java.diff original: updated: import floobits.common.Constants; <|file_sep|>original/src/floobits/common/protocol/send/InitialBase.java package floobits.common.protocol.send; import com.intellij.openapi.application.ApplicationInfo; import floobits.common.protoc...
package floobits.common.protocol.send; import com.intellij.openapi.application.ApplicationInfo; import floobits.common.Constants; import floobits.common.protocol.Base; public abstract class InitialBase implements Base { public String platform = System.getProperty("os.name"); public String version = Constants....
<|file_sep|>src/floobits/common/protocol/send/InitialBase.java.diff original: updated: import floobits.common.Constants; <|file_sep|>original/src/floobits/common/protocol/send/InitialBase.java package floobits.common.protocol.send; import com.intellij.openapi.application.ApplicationInfo; import floobits.common.protoc...
19b3255c9873c443952d29cdee3ffb9bee17fde8
src/floobits/common/protocol/send/InitialBase.java
src/floobits/common/protocol/send/InitialBase.java
Java
<|file_sep|>original/tv-script-generation/helper.py data = f.read() return data def preprocess_and_save_data(dataset_path, token_lookup, create_lookup_tables): """ Preprocess Text Data """ text = load_data(dataset_path) token_dict = token_lookup() for key, token in token_dict.ite...
data = f.read() return data def preprocess_and_save_data(dataset_path, token_lookup, create_lookup_tables): """ Preprocess Text Data """ text = load_data(dataset_path) # Ignore notice, since we don't use it for analysing the data text = text[81:] token_dict = token_looku...
<|file_sep|>original/tv-script-generation/helper.py data = f.read() return data def preprocess_and_save_data(dataset_path, token_lookup, create_lookup_tables): """ Preprocess Text Data """ text = load_data(dataset_path) token_dict = token_lookup() for key, token in token_dict.ite...
c8decb4f11059b58dd96442a4114f10cb95c7b35
tv-script-generation/helper.py
tv-script-generation/helper.py
Python
<|file_sep|>original/lib/chaindrive/user.rb <|file_sep|>current/lib/chaindrive/user.rb <|file_sep|>updated/lib/chaindrive/user.rb
require 'sequel' module Chaindrive class User < Sequel::Model def exists?(name) super.find(:name => name).exists? end class Entity < Grape::Entity expose :name end end end
<|file_sep|>original/lib/chaindrive/user.rb <|file_sep|>current/lib/chaindrive/user.rb <|file_sep|>updated/lib/chaindrive/user.rb require 'sequel' module Chaindrive class User < Sequel::Model def exists?(name) super.find(:name => name).exists? end class Entity < Grape::Entity expose :name ...
33b82f775370e4eb83f8c54572abe0cc26d2f397
lib/chaindrive/user.rb
lib/chaindrive/user.rb
Ruby
<|file_sep|>.travis.yml.diff original: # Verify this with: http://lint.travis-ci.org/ updated: <|file_sep|>.travis.yml.diff original: # Delete dependency locks for matrix builds. updated: <|file_sep|>.travis.yml.diff original: rvm: - 1.9.3 env: - PUPPET_VERSION="~> 3.8.0" - PUPPET_VERSION="~> 5.3.0" updated: <...
--- language: ruby before_install: rm Gemfile.lock || true script: bundle exec rake test matrix: fast_finish: true include: - rvm: 1.9.3 env: PUPPET_VERSION="~> 3.8.0" - rvm: 2.4.0 env: PUPPET_VERSION="~> 5.3.0" allow_failures: - rvm: 2.4.0 env: PUPPET_VERSION="~> 5.3.0"
<|file_sep|>.travis.yml.diff original: # Verify this with: http://lint.travis-ci.org/ updated: <|file_sep|>.travis.yml.diff original: # Delete dependency locks for matrix builds. updated: <|file_sep|>.travis.yml.diff original: rvm: - 1.9.3 env: - PUPPET_VERSION="~> 3.8.0" - PUPPET_VERSION="~> 5.3.0" updated: <...
d2adef4d4467257c2eb00dc9ae170a4e96bf5c8a
.travis.yml
.travis.yml
YAML
<|file_sep|>original/package.json { "name": "hiwwwww", "version": "0.0.1", "private": true, "scripts": { "start": "node ./bin/www" }, "dependencies": { "body-parser": "1.19.0", "debug": "4.1.1", "mongoose": "5.9.23", "express": "4.17.1", "morgan": "1.9.1", "express-resource": "1....
{ "name": "hiwwwww", "version": "0.0.1", "private": true, "scripts": { "start": "node ./bin/www" }, "dependencies": { "body-parser": "1.19.0", "debug": "4.1.1", "mongoose": "5.10.2", "express": "4.17.1", "morgan": "1.9.1", "express-resource": "1.0.0", "passport": "0.4.1", ...
<|file_sep|>original/package.json { "name": "hiwwwww", "version": "0.0.1", "private": true, "scripts": { "start": "node ./bin/www" }, "dependencies": { "body-parser": "1.19.0", "debug": "4.1.1", "mongoose": "5.9.23", "express": "4.17.1", "morgan": "1.9.1", "express-resource": "1....
647a629924c5a32c56c736ef716b8d00b7b319cc
package.json
package.json
JSON
<|file_sep|>ci/tasks/gats-windows.yml.diff original: - name: cli updated: - name: cli-ci <|file_sep|>original/ci/tasks/gats-windows.yml --- platform: windows params: ADMIN_USER: ADMIN_PASSWORD: inputs: - name: cli-acceptance-tests path: gopath/src/github.com/cloudfoundry/cli-acceptance-tests - name: cf-cli-bina...
--- platform: windows params: ADMIN_USER: ADMIN_PASSWORD: inputs: - name: cli-acceptance-tests path: gopath/src/github.com/cloudfoundry/cli-acceptance-tests - name: cf-cli-binaries - name: bosh-lite-lock - name: cli-ci run: path: cli-ci/ci/tasks/gats-windows.bat
<|file_sep|>ci/tasks/gats-windows.yml.diff original: - name: cli updated: - name: cli-ci <|file_sep|>original/ci/tasks/gats-windows.yml --- platform: windows params: ADMIN_USER: ADMIN_PASSWORD: inputs: - name: cli-acceptance-tests path: gopath/src/github.com/cloudfoundry/cli-acceptance-tests - name: cf-cli-bina...
5e621b65fadd84908c2441007815d77c1d54facc
ci/tasks/gats-windows.yml
ci/tasks/gats-windows.yml
YAML
<|file_sep|>koans/AboutObjects.js.diff original: it('should understanding computed names usage', function() { updated: it('should understand computed names usage', function() { <|file_sep|>original/koans/AboutObjects.js describe('Computed Names', function() { it('should understanding computed names usage'...
} } expect(typeof FILL_ME_IN).toEqual('object'); expect(FILL_ME_IN).toEqual(4); expect(FILL_ME_IN).toEqual('v8'); expect(FILL_ME_IN).toEqual('Mustang'); }) }) describe('Duplicate Literal Properties', function() { it('should understand have duplicate keys are handled...
<|file_sep|>koans/AboutObjects.js.diff original: it('should understanding computed names usage', function() { updated: it('should understand computed names usage', function() { <|file_sep|>original/koans/AboutObjects.js describe('Computed Names', function() { it('should understanding computed names usage'...
b36bf2a38c0000449670e9a26c38395c9877389a
koans/AboutObjects.js
koans/AboutObjects.js
JavaScript
<|file_sep|>original/app/tests/model_helpers.py <|file_sep|>current/app/tests/model_helpers.py <|file_sep|>updated/app/tests/model_helpers.py
import pytest def test_factory(factory): try: factory() except Exception as e: pytest.fail( f"Failed factory initialization for {str(factory)} with exception: {e}" )
<|file_sep|>original/app/tests/model_helpers.py <|file_sep|>current/app/tests/model_helpers.py <|file_sep|>updated/app/tests/model_helpers.py import pytest def test_factory(factory): try: factory() except Exception as e: pytest.fail( f"Failed factory initialization for {str(facto...
f72f7252808266b8ee9e3f5f46b3c617a4b1f787
app/tests/model_helpers.py
app/tests/model_helpers.py
Python
<|file_sep|>original/requirements/testing.txt pytest-mock==1.6.3 pytest-stepwise==0.4 pytest-xdist==1.22.2 python-magic==0.4.13 selenium==3.8.1 # Linting flake8==3.5.0 flake8-docstrings==1.1.0 flake8-tidy-imports==1.1.0 mypy==0.560 pycodestyle==2.3.1 pytest-flake8==0.9.1 # Coverage coverage==4.4.2 codecov==2.0.14 pyt...
pytest-mock==1.6.3 pytest-stepwise==0.4 pytest-xdist==1.22.2 python-magic==0.4.13 selenium==3.8.1 # Linting flake8==3.5.0 flake8-docstrings==1.1.0 flake8-tidy-imports==1.1.0 mypy==0.560 pycodestyle==2.3.1 pytest-flake8==1.0.0 # Coverage coverage==4.4.2 codecov==2.0.14 pytest-cov==2.5.1 # Utils dj-inmemorystorage==1....
<|file_sep|>original/requirements/testing.txt pytest-mock==1.6.3 pytest-stepwise==0.4 pytest-xdist==1.22.2 python-magic==0.4.13 selenium==3.8.1 # Linting flake8==3.5.0 flake8-docstrings==1.1.0 flake8-tidy-imports==1.1.0 mypy==0.560 pycodestyle==2.3.1 pytest-flake8==0.9.1 # Coverage coverage==4.4.2 codecov==2.0.14 pyt...
4db8ceadf3ae0f38fe84a30df2d4075a0cd424fd
requirements/testing.txt
requirements/testing.txt
Text
<|file_sep|>original/zsh/functions.zsh # Override rake and rails methods to automatically use `zeus` or `bundle exec`. rake() { if [ -S '.zeus.sock' ]; then zeus rake elif [ -f 'Gemfile' ]; then bundle exec rake else rake fi } rails() { if [[ -S '.zeus.sock' && ($1 = 's' || $1 = 'server' || $1 = ...
# Override rake and rails methods to automatically use `zeus` or `bundle exec`. rake() { if [ -S '.zeus.sock' ]; then zeus rake elif [ -f 'Gemfile' ]; then bundle exec rake else rake fi } rails() { if [[ -S '.zeus.sock' && ($1 = 's' || $1 = 'server' || $1 = 'g' || $1 = 'generate' || $1 = 'd' || $...
<|file_sep|>original/zsh/functions.zsh # Override rake and rails methods to automatically use `zeus` or `bundle exec`. rake() { if [ -S '.zeus.sock' ]; then zeus rake elif [ -f 'Gemfile' ]; then bundle exec rake else rake fi } rails() { if [[ -S '.zeus.sock' && ($1 = 's' || $1 = 'server' || $1 = ...
3abb4212103b2237571c2903d80c8099e9198072
zsh/functions.zsh
zsh/functions.zsh
Shell
<|file_sep|>original/spec/scss_lint/linter/compass/property_with_mixin_spec.rb context 'when a rule does not have a property with a corresponding Compass mixin' do let(:css) { <<-CSS } p { margin: 0; } CSS it { should_not report_lint } end context 'when a rule includes display: ...
context 'when a rule includes display: inline-block' do let(:css) { <<-CSS } p { display: inline-block; } CSS it { should report_lint line: 2 } end context 'when properties are ignored' do let(:linter_config) { { 'ignore' => %w[inline-block] } } let(:css) { <<-CSS } ...
<|file_sep|>original/spec/scss_lint/linter/compass/property_with_mixin_spec.rb context 'when a rule does not have a property with a corresponding Compass mixin' do let(:css) { <<-CSS } p { margin: 0; } CSS it { should_not report_lint } end context 'when a rule includes display: ...
dbd1179f946eae025a585cea4dc2d4c77809174e
spec/scss_lint/linter/compass/property_with_mixin_spec.rb
spec/scss_lint/linter/compass/property_with_mixin_spec.rb
Ruby
<|file_sep|>original/azure-pipelines.yml <|file_sep|>current/azure-pipelines.yml <|file_sep|>updated/azure-pipelines.yml
steps: - checkout: self submodules: true - script: | git config --global user.email "harrysummer@hotmail.com" git config --global user.name "Azure Pipeline" displayName: Set git user name and email - script: cmake -G "Visual Studio 15 2017" -A x64 "-DCMAKE_INSTALL_PREFIX=$(Build.ArtifactStag...
<|file_sep|>original/azure-pipelines.yml <|file_sep|>current/azure-pipelines.yml <|file_sep|>updated/azure-pipelines.yml steps: - checkout: self submodules: true - script: | git config --global user.email "harrysummer@hotmail.com" git config --global user.name "Azure Pipeline" displayName: Se...
94f07d44c866b3872c83d4eae94332372edff1bb
azure-pipelines.yml
azure-pipelines.yml
YAML
<|file_sep|>original/osu.Game/Graphics/UserInterface/DimmedLoadingLayer.cs loading.Show(); } protected override void PopOut() { this.FadeOut(transition_duration, Easing.OutQuint); loading.Hide(); } protected override bool Handle(UIEvent e) ...
} protected override void PopOut() { this.FadeOut(transition_duration, Easing.OutQuint); loading.Hide(); } protected override bool Handle(UIEvent e) { switch (e) { // blocking scroll can cause weird behavio...
<|file_sep|>original/osu.Game/Graphics/UserInterface/DimmedLoadingLayer.cs loading.Show(); } protected override void PopOut() { this.FadeOut(transition_duration, Easing.OutQuint); loading.Hide(); } protected override bool Handle(UIEvent e) ...
ffa0cf2d44174c870c5c0dc2173b73e9ba496a89
osu.Game/Graphics/UserInterface/DimmedLoadingLayer.cs
osu.Game/Graphics/UserInterface/DimmedLoadingLayer.cs
C#
<|file_sep|>tests/Unit/TestForm.php.diff original: updated: use PHPUnit\Framework\TestCase; <|file_sep|>original/tests/Unit/TestForm.php <?php use Mro95\FormBuilder\Form; use Mro95\FormBuilder\FormBuilderFactory; use Mro95\FormBuilder\View\FormViewBuilder; class TestForm extends PHPUnit_Framework_TestCase { publ...
<?php use PHPUnit\Framework\TestCase; use Mro95\FormBuilder\Form; use Mro95\FormBuilder\FormBuilderFactory; use Mro95\FormBuilder\View\FormViewBuilder; class TestForm extends TestCase { public function testOne() { $builderFactory = new FormBuilderFactory(); $builder = $builderFactory->fromJson...
<|file_sep|>tests/Unit/TestForm.php.diff original: updated: use PHPUnit\Framework\TestCase; <|file_sep|>original/tests/Unit/TestForm.php <?php use Mro95\FormBuilder\Form; use Mro95\FormBuilder\FormBuilderFactory; use Mro95\FormBuilder\View\FormViewBuilder; class TestForm extends PHPUnit_Framework_TestCase { publ...
66f390380fadaac2911a6df8b809fa7700c38261
tests/Unit/TestForm.php
tests/Unit/TestForm.php
PHP
<|file_sep|>original/server/controllers/filters.coffee checkToken = require('../lib/token').checkToken errors = require '../middlewares/errors' module.exports.checkDevice = (req, res, next) -> auth = req.header('authorization') [err, isAuthenticated, name] = checkToken auth if err or not isAuthenticated or...
checkToken = require('../lib/token').checkToken errors = require '../middlewares/errors' module.exports.checkDevice = (req, res, next) -> auth = req.header('authorization') [err, isAuthenticated, name] = checkToken auth # Device authorization is not necessary because filter name ensure # permissions fo...
<|file_sep|>original/server/controllers/filters.coffee checkToken = require('../lib/token').checkToken errors = require '../middlewares/errors' module.exports.checkDevice = (req, res, next) -> auth = req.header('authorization') [err, isAuthenticated, name] = checkToken auth if err or not isAuthenticated or...
59c7206e27381e3720a427abfebc80bc1b91c6f7
server/controllers/filters.coffee
server/controllers/filters.coffee
CoffeeScript
<|file_sep|>static/locales/en-GB/messages.properties.diff original: updated: navigation-title=Pontoon Intro navigation-what=What navigation-how=কিভাবে navigation-more=আরও navigation-developers=Developers <|file_sep|>static/locales/en-GB/messages.properties.diff original: updated: headline-2=In Place. call-to-action=T...
navigation-more=আরও navigation-developers=Developers # Header upper-title=Pontoon by Mozilla headline-1=LocaliSe the web. headline-2=In Place. call-to-action=Tell Me More # What what-title=পন্টুন কি? what-desc=Pontoon allows you to localise web content in place, with context and spatial limitations right in front of ...
<|file_sep|>static/locales/en-GB/messages.properties.diff original: updated: navigation-title=Pontoon Intro navigation-what=What navigation-how=কিভাবে navigation-more=আরও navigation-developers=Developers <|file_sep|>static/locales/en-GB/messages.properties.diff original: updated: headline-2=In Place. call-to-action=T...
a6c53635ebc0950aa189aa33e874a8b7efc69055
static/locales/en-GB/messages.properties
static/locales/en-GB/messages.properties
INI
<|file_sep|>original/weaveserver/services/simpledb/__init__.py from .service import SimpleDatabaseService __meta__ = { "name": "Simple Database", "class": SimpleDatabaseService, "deps": ["messaging", "appmanager"], "config": [] } <|file_sep|>current/weaveserver/services/simpledb/__init__.py from .servi...
from .service import SimpleDatabaseService __meta__ = { "name": "Simple Database", "class": SimpleDatabaseService, "deps": ["messaging", "appmanager"], "config": [ { "name": "core", "loaders": [ {"type": "env"}, {"type": "sysvarfile"} ...
<|file_sep|>original/weaveserver/services/simpledb/__init__.py from .service import SimpleDatabaseService __meta__ = { "name": "Simple Database", "class": SimpleDatabaseService, "deps": ["messaging", "appmanager"], "config": [] } <|file_sep|>current/weaveserver/services/simpledb/__init__.py from .servi...
1d1dcccc31cb566ec0e8d37926cf72fecef1b70d
weaveserver/services/simpledb/__init__.py
weaveserver/services/simpledb/__init__.py
Python
<|file_sep|>original/examples/twitter-oauth/app.rb end TWITTER_CREDENTIALS = { :consumer_key => "", :consumer_secret => "", :token => "", :token_secret => "" } # Initialize API Her::API.setup :base_uri => "https://api.twitter.com/1/", :parse_middleware => TwitterSearchParser, :add_middleware => [FaradayMiddle...
end TWITTER_CREDENTIALS = { :consumer_key => "", :consumer_secret => "", :token => "", :token_secret => "" } # Initialize API Her::API.setup :base_uri => "https://api.twitter.com/1/", :parse_middleware => TwitterSearchParser, :add_middleware => [FaradayMiddleware::OAuth => TWITTER_CREDENTIALS] # Define class...
<|file_sep|>original/examples/twitter-oauth/app.rb end TWITTER_CREDENTIALS = { :consumer_key => "", :consumer_secret => "", :token => "", :token_secret => "" } # Initialize API Her::API.setup :base_uri => "https://api.twitter.com/1/", :parse_middleware => TwitterSearchParser, :add_middleware => [FaradayMiddle...
65e9d072dff6894215b282cb33fb71c7beaa4d29
examples/twitter-oauth/app.rb
examples/twitter-oauth/app.rb
Ruby
<|file_sep|>original/dotfiles/.tmuxlaunch.sh # prevents script from making changes to previously running session # if one already exists set -e if [[ $# > 0 ]]; then SESSION=$1 else SESSION=Main fi # Create session in detached mode tmux -2 new-session -d -s $SESSION # Select first window tmux -2 select-window -t...
# prevents script from making changes to previously running session # if one already exists set -e if [[ $# > 0 ]]; then SESSION=$1 else SESSION=Main fi # NOTE: I use the option "-2" to force Tmux to accept 256 colors This is # necessary for proper Vim support in the Linux Console. My Vim colorscheme, # PaperColo...
<|file_sep|>original/dotfiles/.tmuxlaunch.sh # prevents script from making changes to previously running session # if one already exists set -e if [[ $# > 0 ]]; then SESSION=$1 else SESSION=Main fi # Create session in detached mode tmux -2 new-session -d -s $SESSION # Select first window tmux -2 select-window -t...
913deff24ccfe7ad0c686f304dcfd2ade51591eb
dotfiles/.tmuxlaunch.sh
dotfiles/.tmuxlaunch.sh
Shell
<|file_sep|>routes/web.php.diff original: updated: <|file_sep|>routes/web.php.diff original: Route::get('/api/v1/teams', 'TeamController@index'); Route::post('/api/v1/team', 'TeamController@store'); Route::get('/api/v1/team/{team}/projects', 'ProjectController@teamProjects'); updated: Route::group(['middleware' => 'a...
Route::get('/api/v1/authenticate', 'Auth\LoginController@authenticate'); Route::group(['middleware' => 'auth'], function() { Route::get('/api/v1/teams', 'TeamController@index'); Route::post('/api/v1/team', 'TeamController@store'); Route::get('/api/v1/team/{team}/projects', 'ProjectController@teamProjects'); R...
<|file_sep|>routes/web.php.diff original: updated: <|file_sep|>routes/web.php.diff original: Route::get('/api/v1/teams', 'TeamController@index'); Route::post('/api/v1/team', 'TeamController@store'); Route::get('/api/v1/team/{team}/projects', 'ProjectController@teamProjects'); updated: Route::group(['middleware' => 'a...
43d1f7ee083f3a3cf951bf390d38d7569618b850
routes/web.php
routes/web.php
PHP
<|file_sep|>src/scss/components/_loading.scss.diff original: updated: z-index: 999; <|file_sep|>original/src/scss/components/_loading.scss @include overlay; align-items: center; display: none; justify-content: center; overflow: hidden; &.is-active { display: flex } &.is-full...
@include overlay; align-items: center; display: none; justify-content: center; overflow: hidden; z-index: 999; &.is-active { display: flex } &.is-full-page { position: fixed; .loading-icon { &:after { top: calc(50% - #{$loading-full...
<|file_sep|>src/scss/components/_loading.scss.diff original: updated: z-index: 999; <|file_sep|>original/src/scss/components/_loading.scss @include overlay; align-items: center; display: none; justify-content: center; overflow: hidden; &.is-active { display: flex } &.is-full...
0f6341795959eb56fcbd36e34861b42927568ce1
src/scss/components/_loading.scss
src/scss/components/_loading.scss
SCSS
<|file_sep|>original/.docker/production/deploy.sh export REPO=wowanalyzer/wowanalyzer; export BUILD_TAG="build-$TRAVIS_BUILD_NUMBER"; export DEPLOY_TAG=$( if [ "$TRAVIS_BRANCH" == "master" ]; then echo "latest"; else echo $TRAVIS_BRANCH; fi | sed -r 's/\//-/g' ); echo "> Create a Docker image for this sp...
export REPO=wowanalyzer/wowanalyzer; export BUILD_TAG="build-$TRAVIS_BUILD_NUMBER"; export DEPLOY_TAG=$( if [ "$TRAVIS_BRANCH" == "master" ]; then echo "latest"; else echo $TRAVIS_BRANCH; fi | sed -r 's/\//-/g' ); echo "> Create a Docker image for this specific build. This allows us to go back to a parti...
<|file_sep|>original/.docker/production/deploy.sh export REPO=wowanalyzer/wowanalyzer; export BUILD_TAG="build-$TRAVIS_BUILD_NUMBER"; export DEPLOY_TAG=$( if [ "$TRAVIS_BRANCH" == "master" ]; then echo "latest"; else echo $TRAVIS_BRANCH; fi | sed -r 's/\//-/g' ); echo "> Create a Docker image for this sp...
f6281bb9629c103857a8876022dd22bb5e4c35c0
.docker/production/deploy.sh
.docker/production/deploy.sh
Shell
<|file_sep|>original/setup.py from setuptools import setup, find_packages setup( name='hadmin', version='0.1', packages=find_packages(), author='Alec Ten Harmsel', author_email='alec@alectenharmsel.com', description='A Hadoop configuration manager', url='http://github.com/trozamon/hadmin', ...
from setuptools import setup, find_packages setup( name='hadmin', version='0.1', packages=find_packages(), author='Alec Ten Harmsel', author_email='alec@alectenharmsel.com', description='A Hadoop configuration manager', url='http://github.com/trozamon/hadmin', license='MIT', test_su...
<|file_sep|>original/setup.py from setuptools import setup, find_packages setup( name='hadmin', version='0.1', packages=find_packages(), author='Alec Ten Harmsel', author_email='alec@alectenharmsel.com', description='A Hadoop configuration manager', url='http://github.com/trozamon/hadmin', ...
584b4f08cb1dacd57fde85b11824709e10d657ce
setup.py
setup.py
Python
<|file_sep|>original/premium_and_date.py <|file_sep|>current/premium_and_date.py <|file_sep|>updated/premium_and_date.py
from datetime import date def get_first_payment_date(signup_date, previous_premium): raise NotImplementedError() def get_end_date(sign_up_date, cancel_date): raise NotImplementedError() def get_billing_day(signup_date): raise NotImplementedError()
<|file_sep|>original/premium_and_date.py <|file_sep|>current/premium_and_date.py <|file_sep|>updated/premium_and_date.py from datetime import date def get_first_payment_date(signup_date, previous_premium): raise NotImplementedError() def get_end_date(sign_up_date, cancel_date): raise NotImplementedError()...
3742545d6b2c13198bd1ecb3f7c675a8e6dad948
premium_and_date.py
premium_and_date.py
Python
<|file_sep|>original/_config.yml linode_referral: "ba2e6ce21e0c63952a7c74967ea0b96617bd44a3" date_format: "%-d %B %Y" permalink: "/:year/:month/:title/" keep_files: [ # Managed by rsync outside the main Jekyll process "files", "images", "slides", # Created by a Jekyll plugin "word-count.csv", ] markdown:...
linode_referral: "ba2e6ce21e0c63952a7c74967ea0b96617bd44a3" date_format: "%-d %B %Y" permalink: "/:year/:month/:title/" keep_files: [ # Managed by rsync outside the main Jekyll process "files", "images", "slides", ] markdown: "kramdown" kramdown: auto_ids: true smart_quotes: "lsquo,rsquo,ldquo,rdquo" ...
<|file_sep|>original/_config.yml linode_referral: "ba2e6ce21e0c63952a7c74967ea0b96617bd44a3" date_format: "%-d %B %Y" permalink: "/:year/:month/:title/" keep_files: [ # Managed by rsync outside the main Jekyll process "files", "images", "slides", # Created by a Jekyll plugin "word-count.csv", ] markdown:...
ffefd395881b52fd636768212d9c7918ded5cf73
_config.yml
_config.yml
YAML
<|file_sep|>original/packages/mesos-modules/buildinfo.json { "requires": ["mesos"], "single_source" : { "kind": "git", "git": "https://github.com/dcos/dcos-mesos-modules.git", "ref": "11d8b8fbab3f98112b403059446338a8a3a81190", "ref_origin": "master" } } <|file_sep|>current/packages/mes...
{ "requires": ["mesos"], "single_source" : { "kind": "git", "git": "https://github.com/dcos/dcos-mesos-modules.git", "ref": "1e264ece1a69837d0b5da5e397852424f9b4a3eb", "ref_origin": "master" } }
<|file_sep|>original/packages/mesos-modules/buildinfo.json { "requires": ["mesos"], "single_source" : { "kind": "git", "git": "https://github.com/dcos/dcos-mesos-modules.git", "ref": "11d8b8fbab3f98112b403059446338a8a3a81190", "ref_origin": "master" } } <|file_sep|>current/packages/mes...
5baa8ddb8ef424e62930441730a72e4dac7a6dbe
packages/mesos-modules/buildinfo.json
packages/mesos-modules/buildinfo.json
JSON
<|file_sep|>original/sli/acceptance-tests/test/features/cross_app_tests/rc_integration_cleanup.feature When I submit the credentials "<SECONDARY_EMAIL>" "<SECONDARY_EMAIL_PASS>" for the "Simple" login page Then I should be on Portal home page Then I should see Admin link And I click on Admin Then I should be ...
When I submit the credentials "<SECONDARY_EMAIL>" "<SECONDARY_EMAIL_PASS>" for the "Simple" login page Then I should be on Portal home page Then I should see Admin link And I click on Admin Then I should be on the admin page And under System Tools, I click on "Manage Realm" And I switch to the iframe Th...
<|file_sep|>original/sli/acceptance-tests/test/features/cross_app_tests/rc_integration_cleanup.feature When I submit the credentials "<SECONDARY_EMAIL>" "<SECONDARY_EMAIL_PASS>" for the "Simple" login page Then I should be on Portal home page Then I should see Admin link And I click on Admin Then I should be ...
bb874b550190b691f3ed949b927d9fdbeed23310
sli/acceptance-tests/test/features/cross_app_tests/rc_integration_cleanup.feature
sli/acceptance-tests/test/features/cross_app_tests/rc_integration_cleanup.feature
Cucumber
<|file_sep|>original/scss/sass-errors/api/_sass-errors-message.scss /// @param {String} $error - Error message /// @param {String} $prefix [null] - Message prefix /// @return {String} /// /// @example scss - Simple message /// $msg: sass-errors-message('Error'); /// // 'Error' /// /// @example scss - Message with p...
/// @param {String} $error - Error message /// @param {String} $prefix [null] - Message prefix /// @return {String} /// /// @example scss - Simple message /// $msg: sass-errors-message('Error'); /// // 'Error' /// /// @example scss - Message with prefix /// $msg: sass-errors-message('Error', 'my-function'); /// ...
<|file_sep|>original/scss/sass-errors/api/_sass-errors-message.scss /// @param {String} $error - Error message /// @param {String} $prefix [null] - Message prefix /// @return {String} /// /// @example scss - Simple message /// $msg: sass-errors-message('Error'); /// // 'Error' /// /// @example scss - Message with p...
b6eb6cf966e87882ee42a4f6c08edc8b9250938c
scss/sass-errors/api/_sass-errors-message.scss
scss/sass-errors/api/_sass-errors-message.scss
SCSS
<|file_sep|>test/integration/basic-agent/agent.yml.diff original: pre_tasks: - name: Install nginx include: ../nginx.yml updated: <|file_sep|>original/test/integration/basic-agent/agent.yml hosts: all become: True gather_facts: false tasks: - include: ../ubuntu-test-tools.yml - name: agent ...
tasks: - include: ../ubuntu-test-tools.yml - name: agent hosts: all become: True gather_facts: true vars_files: - agent_vars.yml roles : - ansible-consul post_tasks: - name: Pause till every thing is update_cache pause: prompt="Make sure that helth checks pass and our serv...
<|file_sep|>test/integration/basic-agent/agent.yml.diff original: pre_tasks: - name: Install nginx include: ../nginx.yml updated: <|file_sep|>original/test/integration/basic-agent/agent.yml hosts: all become: True gather_facts: false tasks: - include: ../ubuntu-test-tools.yml - name: agent ...
deb591917f915feadd354312cb264b8c620fb938
test/integration/basic-agent/agent.yml
test/integration/basic-agent/agent.yml
YAML
<|file_sep|>original/config/settings_production.py https://docs.djangoproject.com/en/1.6/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.6/ref/settings/ """ import os from .settings_basic import * from .settings import * DEBUG = False TEMPLATE_DEBUG = False A...
https://docs.djangoproject.com/en/1.6/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.6/ref/settings/ """ import os from .settings_basic import * from .settings import * DEBUG = False TEMPLATE_DEBUG = False ALLOWED_HOSTS = [ "services-stage.policycompass....
<|file_sep|>original/config/settings_production.py https://docs.djangoproject.com/en/1.6/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.6/ref/settings/ """ import os from .settings_basic import * from .settings import * DEBUG = False TEMPLATE_DEBUG = False A...
85807f8de56eb5f8db805ca80f8c11c270cee100
config/settings_production.py
config/settings_production.py
Python
<|file_sep|>original/.travis.yml language: objective-c osx_image: xcode8.1sneakpeek script: - swift build - swift test - xcrun xcodebuild -workspace BigInt.xcworkspace -scheme BigInt-macOS test - xcrun xcodebuild -workspace BigInt.xcworkspace -scheme BigInt-iOS - xcrun xcodebuild -workspace BigInt.xcworkspace -scheme B...
language: objective-c osx_image: xcode8.1 script: - swift build - swift test - xcrun xcodebuild -workspace BigInt.xcworkspace -scheme BigInt-macOS test - xcrun xcodebuild -workspace BigInt.xcworkspace -scheme BigInt-iOS - xcrun xcodebuild -workspace BigInt.xcworkspace -scheme BigInt-watchOS - xcrun xcodebuild -workspac...
<|file_sep|>original/.travis.yml language: objective-c osx_image: xcode8.1sneakpeek script: - swift build - swift test - xcrun xcodebuild -workspace BigInt.xcworkspace -scheme BigInt-macOS test - xcrun xcodebuild -workspace BigInt.xcworkspace -scheme BigInt-iOS - xcrun xcodebuild -workspace BigInt.xcworkspace -scheme B...
0d3368395b3ccd5c17437b168fc3f8ae5b7dea67
.travis.yml
.travis.yml
YAML
<|file_sep|>original/requirements-dev.txt docutils==0.12 # via botocore, zappa filechunkio==1.6 # via zappa flake8==2.5.4 futures==3.0.5 # via zappa isort==4.2.5 jmespath==0.9.0 # via boto3, botocore, zappa lambda-packages==0.5.0 # via zappa mccabe==0.4.0 # via f...
docutils==0.12 # via botocore, zappa filechunkio==1.6 # via zappa flake8==2.5.4 futures==3.0.5 # via zappa isort==4.2.5 jmespath==0.9.0 # via boto3, botocore, zappa lambda-packages==0.5.0 # via zappa mccabe==0.4.0 # via flake8 nose==1.3.7 # via zapp...
<|file_sep|>original/requirements-dev.txt docutils==0.12 # via botocore, zappa filechunkio==1.6 # via zappa flake8==2.5.4 futures==3.0.5 # via zappa isort==4.2.5 jmespath==0.9.0 # via boto3, botocore, zappa lambda-packages==0.5.0 # via zappa mccabe==0.4.0 # via f...
9255524eec99f8a0016370931c884db80c7d1b3c
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>.travis.yml.diff original: updated: os: - linux - osx <|file_sep|>original/.travis.yml language: go go: - 1.2 - 1.3 - 1.4 - tip before_install: - sudo apt-get install isc-dhcp-client install: - go get "github.com/codegangsta/cli" - go install "./cmd/dns-client-conf" script: - dns-clien...
language: go os: - linux - osx go: - 1.2 - 1.3 - 1.4 - tip matrix: include: - os: linux before_install: sudo apt-get install isc-dhcp-client install: - go get "github.com/codegangsta/cli" - go install "./cmd/dns-client-conf" script: - dns-client-conf show - sudo $HOME/gopath/bin/dns-cli...
<|file_sep|>.travis.yml.diff original: updated: os: - linux - osx <|file_sep|>original/.travis.yml language: go go: - 1.2 - 1.3 - 1.4 - tip before_install: - sudo apt-get install isc-dhcp-client install: - go get "github.com/codegangsta/cli" - go install "./cmd/dns-client-conf" script: - dns-clien...
d68a1ca8263eb3e85c525e9892595a577d13289d
.travis.yml
.travis.yml
YAML
<|file_sep|>packages/ea/easytensor-vulkan.yaml.diff original: hash: 8f73379833ced2384bb453c91a4d02a4f672639e901b13795920e8296b2d3fc3 updated: hash: 7156156b3f2ad9e34a4b0e2d56236d4c8ba9ef88a531a0297864defb4eae0fb3 <|file_sep|>packages/ea/easytensor-vulkan.yaml.diff original: easytensor: ! '>=2.0.1.0 && <3' base: ! '...
changelog: '' basic-deps: easytensor: '>=2.0.1.0 && <3' base: '>=4.11 && <5' vulkan-api: '>=1.3.0.0 && <2' dimensions: '>=2 && <3' all-versions: - 1.0.0.0 - 1.0.1.0 - 2.0.0.0 - 2.0.1.0 - 2.0.2.0 - 2.0.2.1 author: Artem Chirkin latest: 2.0.2.1 description-type: haddock description: Use easytensor DataFrame types...
<|file_sep|>packages/ea/easytensor-vulkan.yaml.diff original: hash: 8f73379833ced2384bb453c91a4d02a4f672639e901b13795920e8296b2d3fc3 updated: hash: 7156156b3f2ad9e34a4b0e2d56236d4c8ba9ef88a531a0297864defb4eae0fb3 <|file_sep|>packages/ea/easytensor-vulkan.yaml.diff original: easytensor: ! '>=2.0.1.0 && <3' base: ! '...
fcff1f86fb6c6a19cbf0b4d343f14fdaec010d30
packages/ea/easytensor-vulkan.yaml
packages/ea/easytensor-vulkan.yaml
YAML
<|file_sep|>original/railties/lib/rails/generators/rails/app/templates/config/initializers/application_controller_renderer.rb ## Change renderer defaults here. # # ApplicationController.renderer.defaults.merge!( # http_host: 'example.org', # https: false # ) <|file_sep|>current/railties/lib/rails/generators/rails/a...
# Be sure to restart your server when you modify this file. # ApplicationController.renderer.defaults.merge!( # http_host: 'example.org', # https: false # )
<|file_sep|>original/railties/lib/rails/generators/rails/app/templates/config/initializers/application_controller_renderer.rb ## Change renderer defaults here. # # ApplicationController.renderer.defaults.merge!( # http_host: 'example.org', # https: false # ) <|file_sep|>current/railties/lib/rails/generators/rails/a...
e50ea481dd4ee2e82e947835dff849f28130c2c2
railties/lib/rails/generators/rails/app/templates/config/initializers/application_controller_renderer.rb
railties/lib/rails/generators/rails/app/templates/config/initializers/application_controller_renderer.rb
Ruby
<|file_sep|>original/ruby/gherkin3.gemspec s.description = 'Gherkin parser' s.summary = "gherkin-#{s.version}" s.email = 'cukes@googlegroups.com' s.homepage = "https://github.com/cucumber/gherkin3" s.platform = Gem::Platform::RUBY s.license = "MIT" s.required_ruby_version = ">= 1.9.3" ...
s.description = 'Gherkin parser' s.summary = "gherkin-#{s.version}" s.email = 'cukes@googlegroups.com' s.homepage = "https://github.com/cucumber/gherkin3" s.platform = Gem::Platform::RUBY s.license = "MIT" s.required_ruby_version = ">= 1.9.3" s.add_development_dependency 'bundler', ...
<|file_sep|>original/ruby/gherkin3.gemspec s.description = 'Gherkin parser' s.summary = "gherkin-#{s.version}" s.email = 'cukes@googlegroups.com' s.homepage = "https://github.com/cucumber/gherkin3" s.platform = Gem::Platform::RUBY s.license = "MIT" s.required_ruby_version = ">= 1.9.3" ...
a5fe2d77b57dc7da894860cbdbd2f1ac8a366186
ruby/gherkin3.gemspec
ruby/gherkin3.gemspec
Ruby
<|file_sep|>daemon/daemon.py.diff original: artist = crawler.searchArtist("Ed Sheeran") updated: artist_name = "Ed Sheeran" artist = crawler.searchArtist(artist_name) <|file_sep|>original/daemon/daemon.py #!/usr/bin/env python import json from objects.album import Album from spotify_crawler import SpotifyCr...
from objects.album import Album from spotify_crawler import SpotifyCrawler if __name__ == "__main__": crawler = SpotifyCrawler() artist_name = "Ed Sheeran" artist = crawler.searchArtist(artist_name) if artist: albums = crawler.getAlbumsByArtist(artist.getArtistId()) for album in ...
<|file_sep|>daemon/daemon.py.diff original: artist = crawler.searchArtist("Ed Sheeran") updated: artist_name = "Ed Sheeran" artist = crawler.searchArtist(artist_name) <|file_sep|>original/daemon/daemon.py #!/usr/bin/env python import json from objects.album import Album from spotify_crawler import SpotifyCr...
c63391026fadc6f23ca7802e6ec706365ae4e117
daemon/daemon.py
daemon/daemon.py
Python
<|file_sep|>original/README.md # Delorean ![Delorean](http://i.giphy.com/ZbErMnK1VShsQ.gif) Great scott! Delorean(tm) is the hottest time travel rideshare startup in town. However, its engineers are suffering a serious case of the blues with this bad boy of a monolith. All hope is not lost, though! With the powers o...
# Delorean ## Watch the Railsconf video Be sure to watch my Railsconf 2017 talk (https://www.youtube.com/watch?v=52qChRS4M0Y) on DDD and Rails, then come back to this repository to see some of those ideas in action. --- ![Delorean](http://i.giphy.com/ZbErMnK1VShsQ.gif) Great scott! Delorean(tm) is the hottest time...
<|file_sep|>original/README.md # Delorean ![Delorean](http://i.giphy.com/ZbErMnK1VShsQ.gif) Great scott! Delorean(tm) is the hottest time travel rideshare startup in town. However, its engineers are suffering a serious case of the blues with this bad boy of a monolith. All hope is not lost, though! With the powers o...
f74b305006c8698e50a79024919274927b67f938
README.md
README.md
Markdown
<|file_sep|>original/src/markup/engine/remarkup/markuprule/monospace/PhutilRemarkupRuleMonospace.php * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * ...
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License....
<|file_sep|>original/src/markup/engine/remarkup/markuprule/monospace/PhutilRemarkupRuleMonospace.php * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * ...
906bbf9d5ad03f0decfd6c1c7a8f3a31de94009b
src/markup/engine/remarkup/markuprule/monospace/PhutilRemarkupRuleMonospace.php
src/markup/engine/remarkup/markuprule/monospace/PhutilRemarkupRuleMonospace.php
PHP
<|file_sep|>views/partials/signup.jade.diff original: form(ng-submit="signup()", id="signup-form", novalidate) updated: form(ng-submit="signup()", id="signup-form", name="signupForm", novalidate) <|file_sep|>views/partials/signup.jade.diff original: input(ng-model="signup.identifier", class="form-contro...
div(class="form-group") label Email input(ng-model="signup.identifier", class="form-control", type="email", name="email", required) div(class="form-group") label Password input(ng-model="signup.password", class="form-control", type="password", na...
<|file_sep|>views/partials/signup.jade.diff original: form(ng-submit="signup()", id="signup-form", novalidate) updated: form(ng-submit="signup()", id="signup-form", name="signupForm", novalidate) <|file_sep|>views/partials/signup.jade.diff original: input(ng-model="signup.identifier", class="form-contro...
d1e81abf6c89e09b1f479fd3c16170e164aa11f3
views/partials/signup.jade
views/partials/signup.jade
Jade
<|file_sep|>original/requirements.txt certifi==2019.3.9 chardet==3.0.4 click==7.0 Flask==1.0.3 fritzconnection==0.6.5 idna==2.8 itsdangerous==1.1.0 Jinja2==2.10.1 lxml==4.3.3 MarkupSafe==1.1.1 requests==2.22.0 urllib3==1.25.2 Werkzeug==0.15.4 <|file_sep|>current/requirements.txt certifi==2019.3.9 chardet==3.0.4 click==...
certifi==2019.3.9 chardet==3.0.4 click==7.0 Flask==1.0.3 fritzconnection==0.6.5 idna==2.8 itsdangerous==1.1.0 Jinja2==2.10.1 lxml==4.3.3 MarkupSafe==1.1.1 requests==2.22.0 urllib3==1.25.3 Werkzeug==0.15.4
<|file_sep|>original/requirements.txt certifi==2019.3.9 chardet==3.0.4 click==7.0 Flask==1.0.3 fritzconnection==0.6.5 idna==2.8 itsdangerous==1.1.0 Jinja2==2.10.1 lxml==4.3.3 MarkupSafe==1.1.1 requests==2.22.0 urllib3==1.25.2 Werkzeug==0.15.4 <|file_sep|>current/requirements.txt certifi==2019.3.9 chardet==3.0.4 click==...
c8031d71b3f725e4daf34d2def0d4848561f2c2e
requirements.txt
requirements.txt
Text
<|file_sep|>original/test/Misc/stats_dir_long_path_name.swift <|file_sep|>current/test/Misc/stats_dir_long_path_name.swift <|file_sep|>updated/test/Misc/stats_dir_long_path_name.swift
// REQUIRES: OS=macosx // RUN: rm -rf %t && mkdir -p %t // RUN: mkdir -p %t/very-long-directory-name-that-contains-over-128-characters-which-is-not-enough-to-be-illegal-on-its-own-but-presents // RUN: cp %s %t/very-long-directory-name-that-contains-over-128-characters-which-is-not-enough-to-be-illegal-on-its-own-but-pr...
<|file_sep|>original/test/Misc/stats_dir_long_path_name.swift <|file_sep|>current/test/Misc/stats_dir_long_path_name.swift <|file_sep|>updated/test/Misc/stats_dir_long_path_name.swift // REQUIRES: OS=macosx // RUN: rm -rf %t && mkdir -p %t // RUN: mkdir -p %t/very-long-directory-name-that-contains-over-128-characters...
a8ecfb2b926c05bbc761217ea4057b7cd3b64835
test/Misc/stats_dir_long_path_name.swift
test/Misc/stats_dir_long_path_name.swift
Swift
<|file_sep|>.travis.yml.diff original: - ree - 1.8.7 - 1.9.2 updated: <|file_sep|>.travis.yml.diff original: - jruby-18mode updated: <|file_sep|>original/.travis.yml language: ruby before_install: gem install bundler bundler_args: --without yard guard benchmarks script: "bundle exec rake ci" rvm: - ree - ...
language: ruby before_install: gem install bundler bundler_args: --without yard guard benchmarks script: "bundle exec rake ci" rvm: - 1.9.3 - 2.0.0 - ruby-head - jruby-19mode - jruby-head - rbx-19mode notifications: irc: channels: - irc.freenode.org#rom-rb on_success: never on_failure: c...
<|file_sep|>.travis.yml.diff original: - ree - 1.8.7 - 1.9.2 updated: <|file_sep|>.travis.yml.diff original: - jruby-18mode updated: <|file_sep|>original/.travis.yml language: ruby before_install: gem install bundler bundler_args: --without yard guard benchmarks script: "bundle exec rake ci" rvm: - ree - ...
b0e62ada0854e9bac65cd63887297224626b3939
.travis.yml
.travis.yml
YAML
<|file_sep|>original/lib/berks_to_rightscale.rb # permit persons to whom the Software is furnished to do so, subject to # the following conditions: # # The above copyright notice and this permission notice shall be # included in all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", W...
# # The above copyright notice and this permission notice shall be # included in all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOS...
<|file_sep|>original/lib/berks_to_rightscale.rb # permit persons to whom the Software is furnished to do so, subject to # the following conditions: # # The above copyright notice and this permission notice shall be # included in all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", W...
04d3bde02b1433345eb69f45c55f3827f6ca2970
lib/berks_to_rightscale.rb
lib/berks_to_rightscale.rb
Ruby
<|file_sep|>original/app/controllers/databases_controller.rb # class DatabasesController < ApplicationController before_action do authenticate_user! if AppSetting.set? end # POST /databases/export def export prepare_db_zip send_file(@zipfile.path, filename: "SkyHopper-db-#{Rails.env}.zip") @zi...
# class DatabasesController < ApplicationController before_action do authenticate_user! if AppSetting.set? end # POST /databases/export def export prepare_db_zip time = Time.now.strftime('%Y%m%d%H%M%S') send_file(@zipfile.path, filename: "SkyHopper-db-#{Rails.env}-#{time}.zip") @zipfile.cl...
<|file_sep|>original/app/controllers/databases_controller.rb # class DatabasesController < ApplicationController before_action do authenticate_user! if AppSetting.set? end # POST /databases/export def export prepare_db_zip send_file(@zipfile.path, filename: "SkyHopper-db-#{Rails.env}.zip") @zi...
efcda597dbf6ce02d3a993e098b4fa439aba440d
app/controllers/databases_controller.rb
app/controllers/databases_controller.rb
Ruby
<|file_sep|>original/src/Core/Application/CompilerPass/CommandsCompilerPass.php <|file_sep|>current/src/Core/Application/CompilerPass/CommandsCompilerPass.php <|file_sep|>updated/src/Core/Application/CompilerPass/CommandsCompilerPass.php
<?php namespace Ibuildings\QaTools\Core\Application\CompilerPass; use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Reference; final class CommandsCompilerPass implements CompilerPassInterfac...
<|file_sep|>original/src/Core/Application/CompilerPass/CommandsCompilerPass.php <|file_sep|>current/src/Core/Application/CompilerPass/CommandsCompilerPass.php <|file_sep|>updated/src/Core/Application/CompilerPass/CommandsCompilerPass.php <?php namespace Ibuildings\QaTools\Core\Application\CompilerPass; use Symfony\...
f5ca948ffbf6c4105a7aee7ad5c7bd97be1b3159
src/Core/Application/CompilerPass/CommandsCompilerPass.php
src/Core/Application/CompilerPass/CommandsCompilerPass.php
PHP
<|file_sep|>original/db/sanitize_data.rb <|file_sep|>current/db/sanitize_data.rb <|file_sep|>updated/db/sanitize_data.rb
def update_address(address, user) unless address.nil? address.firstname = user[:first_name] address.lastname = user[:last_name] address.phone = user[:phone] address.save! end end def sanitize_data canned_users = [ { :first_name => "Bob", :last_name => "jones", :email => "bob@jones.com", :phone =...
<|file_sep|>original/db/sanitize_data.rb <|file_sep|>current/db/sanitize_data.rb <|file_sep|>updated/db/sanitize_data.rb def update_address(address, user) unless address.nil? address.firstname = user[:first_name] address.lastname = user[:last_name] address.phone = user[:phone] address.save! end e...
5e2fbcb874bc4bc2386ec4faa75d458046ecc817
db/sanitize_data.rb
db/sanitize_data.rb
Ruby
<|file_sep|>original/spec/lib/gitlab/ci/status/build/common_spec.rb <|file_sep|>current/spec/lib/gitlab/ci/status/build/common_spec.rb <|file_sep|>updated/spec/lib/gitlab/ci/status/build/common_spec.rb
require 'spec_helper' describe Gitlab::Ci::Status::Build::Common do let(:user) { create(:user) } let(:build) { create(:ci_build) } let(:project) { build.project } subject do Gitlab::Ci::Status::Core .new(build, user) .extend(described_class) end describe '#has_action?' do it { is_expe...
<|file_sep|>original/spec/lib/gitlab/ci/status/build/common_spec.rb <|file_sep|>current/spec/lib/gitlab/ci/status/build/common_spec.rb <|file_sep|>updated/spec/lib/gitlab/ci/status/build/common_spec.rb require 'spec_helper' describe Gitlab::Ci::Status::Build::Common do let(:user) { create(:user) } let(:build) { ...
8f743edee14374a6d39a3cf5aa0fc884a0d536b8
spec/lib/gitlab/ci/status/build/common_spec.rb
spec/lib/gitlab/ci/status/build/common_spec.rb
Ruby