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: dist: trusty sudo: required <|file_sep|>original/.travis.yml language: php php: - 5.6 - '7' mysql: database: activecollab_jobs_queue_test username: root encoding: utf8mb4 install: composer install --dev before_script: # create the database - mysql -e 'creat...
dist: trusty sudo: required language: php php: - 5.6 - '7' addons: apt: packages: - mysql-server-5.6 - mysql-client-core-5.6 - mysql-client-5.6 mysql: database: activecollab_jobs_queue_test username: root encoding: utf8mb4 install: composer install --dev before_script: # create the databas...
<|file_sep|>.travis.yml.diff original: updated: dist: trusty sudo: required <|file_sep|>original/.travis.yml language: php php: - 5.6 - '7' mysql: database: activecollab_jobs_queue_test username: root encoding: utf8mb4 install: composer install --dev before_script: # create the database - mysql -e 'creat...
278401917c574f7026ecc317f7e6a1216d6c3184
.travis.yml
.travis.yml
YAML
<|file_sep|>original/07_perf/google_analytics.sql <|file_sep|>current/07_perf/google_analytics.sql <|file_sep|>updated/07_perf/google_analytics.sql
SELECT DISTINCT visitId , totals.pageviews , totals.timeOnsite , trafficSource.source , device.browser , device.isMobile , h.page.pageTitle FROM `bigquery-public-data`.google_analytics_sample.ga_sessions_20170801, UNNEST(hits) AS h WHERE totals.timeOnSite IS NOT NULL AND h.page.pageTitle = 'Shopping Cart...
<|file_sep|>original/07_perf/google_analytics.sql <|file_sep|>current/07_perf/google_analytics.sql <|file_sep|>updated/07_perf/google_analytics.sql SELECT DISTINCT visitId , totals.pageviews , totals.timeOnsite , trafficSource.source , device.browser , device.isMobile , h.page.pageTitle FROM `bigquery-publi...
06fbbb1d7a7dd22dd5e32d31d004bebcd50c27d8
07_perf/google_analytics.sql
07_perf/google_analytics.sql
SQL
<|file_sep|>original/iOS/Article/OpenInSafariActivity.swift } override class var activityCategory: UIActivity.Category { return .action } override func canPerform(withActivityItems activityItems: [Any]) -> Bool { return true } override func prepare(withActivityItems activityItems: [Any]) { self.activit...
} override func canPerform(withActivityItems activityItems: [Any]) -> Bool { return true } override func prepare(withActivityItems activityItems: [Any]) { self.activityItems = activityItems } override func perform() { guard let url = activityItems?.firstElementPassingTest({ $0 is URL }) as? URL else {...
<|file_sep|>original/iOS/Article/OpenInSafariActivity.swift } override class var activityCategory: UIActivity.Category { return .action } override func canPerform(withActivityItems activityItems: [Any]) -> Bool { return true } override func prepare(withActivityItems activityItems: [Any]) { self.activit...
4eedd9650715409c434f72a4edf07f30f241c0b1
iOS/Article/OpenInSafariActivity.swift
iOS/Article/OpenInSafariActivity.swift
Swift
<|file_sep|>original/src/main/scala/git/PullRequest.scala //case class PullRequest(branch: String, base:String, account:String, repo:String) case class PullRequest(number: Int, branch: String, base:String) { override def toString(): String = { s"#$number: '$branch'" } } object PullRequest { def getPairs(pu...
//case class PullRequest(branch: String, base:String, account:String, repo:String) case class PullRequest(number: Int, branch: String, base:String) { override def toString(): String = { s"#$number: '$branch'" } } object PullRequest { def getPairs(pulls: List[PullRequest]): Set[(PullRequest, PullRequest)] =...
<|file_sep|>original/src/main/scala/git/PullRequest.scala //case class PullRequest(branch: String, base:String, account:String, repo:String) case class PullRequest(number: Int, branch: String, base:String) { override def toString(): String = { s"#$number: '$branch'" } } object PullRequest { def getPairs(pu...
7adbd47848fc90652d2dc5cb3503502269cf5d1c
src/main/scala/git/PullRequest.scala
src/main/scala/git/PullRequest.scala
Scala
<|file_sep|>lib/miq_tools_services/sidekiq_worker_mixin.rb.diff original: delegate :sidekiq_queue, :workers, :running, :to => self updated: delegate :sidekiq_queue, :workers, :running?, :to => self <|file_sep|>original/lib/miq_tools_services/sidekiq_worker_mixin.rb workers = Sidekiq::Workers.new.to...
workers = Sidekiq::Workers.new.to_a workers.select! do |_name, work, _started_at| work["queue"] == queue && work.fetch_path("payload", "class") == name end workers.sort_by! { |_name, work, _started_at| work.fetch_path("payload", "enqueued_at") } workers end ...
<|file_sep|>lib/miq_tools_services/sidekiq_worker_mixin.rb.diff original: delegate :sidekiq_queue, :workers, :running, :to => self updated: delegate :sidekiq_queue, :workers, :running?, :to => self <|file_sep|>original/lib/miq_tools_services/sidekiq_worker_mixin.rb workers = Sidekiq::Workers.new.to...
7d28af1f0aff2bc3cd6114b22773019633e4264d
lib/miq_tools_services/sidekiq_worker_mixin.rb
lib/miq_tools_services/sidekiq_worker_mixin.rb
Ruby
<|file_sep|>README.rst.diff original: A ctypes-based OpenCC_ converter for Python. updated: An OpenCC_ converter for Python. <|file_sep|>README.rst.diff original: You should install OpenCC library first: Debian/Ubuntu:: # apt-get install opencc Fedora:: # yum install opencc Mac:: $ brew install opencc...
Installation ------------ You should install OpenCC (0.4.3) library first. Install the python library with pip:: $ pip install OpenCC Features -------- 1. Compatible with CPython and PyPy (c-types) 2. Cython implementation (TODO) Usage ----- This library has only one method::
<|file_sep|>README.rst.diff original: A ctypes-based OpenCC_ converter for Python. updated: An OpenCC_ converter for Python. <|file_sep|>README.rst.diff original: You should install OpenCC library first: Debian/Ubuntu:: # apt-get install opencc Fedora:: # yum install opencc Mac:: $ brew install opencc...
4849f08b51ca93b805ca6da4dfab84a4ac7eb409
README.rst
README.rst
reStructuredText
<|file_sep|>original/README.md # summer-2015-haskell-class Summer 2015 Haskell Class <|file_sep|>current/README.md # summer-2015-haskell-class Summer 2015 Haskell Class <|file_sep|>updated/README.md
Summer 2015 Haskell Class (June 29 - September 10, 2015). ## Course slides * [Lecture 1 on June 30](https://docs.google.com/presentation/d/1rnqw2WXHZ_KnjoQ5Wu92of0aPvemhi_GnCzY_xPMjms/edit?usp=sharing) Introduction ("Why Haskell?) as well as the core ideas behind functional programming -- and why they're important. In...
<|file_sep|>original/README.md # summer-2015-haskell-class Summer 2015 Haskell Class <|file_sep|>current/README.md # summer-2015-haskell-class Summer 2015 Haskell Class <|file_sep|>updated/README.md Summer 2015 Haskell Class (June 29 - September 10, 2015). ## Course slides * [Lecture 1 on June 30](https://docs.google....
2280371e8cc4cc6ff8689b2d44704acc62a87ee5
README.md
README.md
Markdown
<|file_sep|>metadata/com.saha.batchuninstaller.txt.diff original: updated: Build:0.95,7 commit=0.95 subdir=app gradle=yes <|file_sep|>original/metadata/com.saha.batchuninstaller.txt Summary:Uninstall multiple applications at once Description: Batch Uninstaller allows you to uninstall multiple apps at once...
prompted for each app uninstalled. Non Root users can not uninstall system apps. This is a limitation with the Android Operating system. . Repo Type:git Repo:https://github.com/sarbajitsaha/Batch-Uninstaller.git Build:0.9,1 commit=0.92 subdir=app gradle=yes Build:0.95,7 commit=0.95 subdir=app ...
<|file_sep|>metadata/com.saha.batchuninstaller.txt.diff original: updated: Build:0.95,7 commit=0.95 subdir=app gradle=yes <|file_sep|>original/metadata/com.saha.batchuninstaller.txt Summary:Uninstall multiple applications at once Description: Batch Uninstaller allows you to uninstall multiple apps at once...
022326f732b4915ed445c09d815d190b86528fdf
metadata/com.saha.batchuninstaller.txt
metadata/com.saha.batchuninstaller.txt
Text
<|file_sep|>original/mosecom_air/api/parser.py #coding: utf-8 from collections import namedtuple Substance = namedtuple('Substance', 'name alias') Measurement = namedtuple('Measurement', 'substance unit performed value') Result = namedtuple('Result', 'measurements substances units station_alias') <|file_sep|>current/...
#coding: utf-8 from collections import namedtuple Substance = namedtuple('Substance', ('name', 'alias')) Measurement = namedtuple('Measurement', ('substance', 'unit', 'performed', 'value')) Result = namedtuple('Result', ('measurements', 'substances', 'units', ...
<|file_sep|>original/mosecom_air/api/parser.py #coding: utf-8 from collections import namedtuple Substance = namedtuple('Substance', 'name alias') Measurement = namedtuple('Measurement', 'substance unit performed value') Result = namedtuple('Result', 'measurements substances units station_alias') <|file_sep|>current/...
978b9450346f4de687ed3c23bc11c970538e948b
mosecom_air/api/parser.py
mosecom_air/api/parser.py
Python
<|file_sep|>original/kleopatra/missing-icons.txt <|file_sep|>current/kleopatra/missing-icons.txt <|file_sep|>updated/kleopatra/missing-icons.txt
Actions w/o (correct) icons =mainwindow.cpp============= file_new_certificate file_export_certificate file_export_certifictes_to_server file_export_secret_keys file_lookup_certificates (from server) file_import_certificates file_decrypt_verify_files (use same in gpgex) file_sign_encrypt_files (use same in gpgex) view_...
<|file_sep|>original/kleopatra/missing-icons.txt <|file_sep|>current/kleopatra/missing-icons.txt <|file_sep|>updated/kleopatra/missing-icons.txt Actions w/o (correct) icons =mainwindow.cpp============= file_new_certificate file_export_certificate file_export_certifictes_to_server file_export_secret_keys file_lookup_c...
af696efc50ae04d66567f6fd6b4eeb7c8f1a37da
kleopatra/missing-icons.txt
kleopatra/missing-icons.txt
Text
<|file_sep|>resources/assets/coffee/react/beatmap-discussions/message-icon.coffee.diff original: name = switch @props.messageType when 'praise' then 'heart' when 'suggestion' then 'circle-o' when 'problem' then 'exclamation-circle' updated: el Icon, name: @typeMapping[@props.messageType] <|fil...
# # You should have received a copy of the GNU Affero General Public License # along with osu!web. If not, see <http://www.gnu.org/licenses/>. ### {span} = React.DOM el = React.createElement bn = 'beatmap-discussions-post-icon' BeatmapDiscussions.MessageIcon = React.createClass mixins: [React.addons.PureRenderMixi...
<|file_sep|>resources/assets/coffee/react/beatmap-discussions/message-icon.coffee.diff original: name = switch @props.messageType when 'praise' then 'heart' when 'suggestion' then 'circle-o' when 'problem' then 'exclamation-circle' updated: el Icon, name: @typeMapping[@props.messageType] <|fil...
73a38b85f5635d8bceb68003329bb3f2b5e865fd
resources/assets/coffee/react/beatmap-discussions/message-icon.coffee
resources/assets/coffee/react/beatmap-discussions/message-icon.coffee
CoffeeScript
<|file_sep|>original/install-atom-editor-flatpak.sh <|file_sep|>current/install-atom-editor-flatpak.sh <|file_sep|>updated/install-atom-editor-flatpak.sh
#!/bin/sh # Installs the Atom Editor (Flatpak) with favorite packages flatpak remote-add --if-not-exists flathub \ https://dl.flathub.org/repo/flathub.flatpakrepo && flatpak install flathub \ io.atom.Atom && flatpak run --command=apm io.atom.Atom install atom-ide-ui \ ide-css ide-php ide-rust ide-typescript ide-vue lan...
<|file_sep|>original/install-atom-editor-flatpak.sh <|file_sep|>current/install-atom-editor-flatpak.sh <|file_sep|>updated/install-atom-editor-flatpak.sh #!/bin/sh # Installs the Atom Editor (Flatpak) with favorite packages flatpak remote-add --if-not-exists flathub \ https://dl.flathub.org/repo/flathub.flatpakrepo &...
1e786b4762fed291c36b81e38e52b83b1444bba1
install-atom-editor-flatpak.sh
install-atom-editor-flatpak.sh
Shell
<|file_sep|>juliet_importer.py.diff original: def load_modules(path="./modules/"): # Consider adding recursive sorting at some point in the future updated: def load_modules(path="./modules/"): # Consider adding recursive searching at some point in the future modules['juliet_module'] = imp.load_source('juliet_module...
import os import imp modules = {} def load_modules(path="./modules/"): # Consider adding recursive searching at some point in the future modules['juliet_module'] = imp.load_source('juliet_module', path + "juliet_module.py") names = os.listdir(path) for name in names: if not name.endswith(".py"): c...
<|file_sep|>juliet_importer.py.diff original: def load_modules(path="./modules/"): # Consider adding recursive sorting at some point in the future updated: def load_modules(path="./modules/"): # Consider adding recursive searching at some point in the future modules['juliet_module'] = imp.load_source('juliet_module...
c3792ccdde5a44979f34d84cebad722c7a64ab64
juliet_importer.py
juliet_importer.py
Python
<|file_sep|>original/app/views/projects/tree/_tree_commit_column.html.haml %span.str-truncated %span.tree_author= commit_author_link(commit, avatar: true, size: 16) = link_to_gfm commit.title, namespace_project_commit_path(@project.namespace, @project, commit.id), class: "tree-commit-link" <|file_sep|>current/app/v...
%span.str-truncated = link_to_gfm commit.title, namespace_project_commit_path(@project.namespace, @project, commit.id), class: "tree-commit-link"
<|file_sep|>original/app/views/projects/tree/_tree_commit_column.html.haml %span.str-truncated %span.tree_author= commit_author_link(commit, avatar: true, size: 16) = link_to_gfm commit.title, namespace_project_commit_path(@project.namespace, @project, commit.id), class: "tree-commit-link" <|file_sep|>current/app/v...
1567914f7c93fb493d22f60858f2b16ef1521380
app/views/projects/tree/_tree_commit_column.html.haml
app/views/projects/tree/_tree_commit_column.html.haml
Haml
<|file_sep|>original/Documentation/devicetree/bindings/arm/primecell.txt * ARM Primecell Peripherals ARM, Ltd. Primecell peripherals have a standard id register that can be used to identify the peripheral type, vendor, and revision. This value can be used for driver matching. Required properties: - compatible : shou...
* ARM Primecell Peripherals ARM, Ltd. Primecell peripherals have a standard id register that can be used to identify the peripheral type, vendor, and revision. This value can be used for driver matching. Required properties: - compatible : should be a specific name for the peripheral and "arm,primecel...
<|file_sep|>original/Documentation/devicetree/bindings/arm/primecell.txt * ARM Primecell Peripherals ARM, Ltd. Primecell peripherals have a standard id register that can be used to identify the peripheral type, vendor, and revision. This value can be used for driver matching. Required properties: - compatible : shou...
2b0fce8da2f5b6dc9661be540982416a9e2267f8
Documentation/devicetree/bindings/arm/primecell.txt
Documentation/devicetree/bindings/arm/primecell.txt
Text
<|file_sep|>original/.github/workflows/basic-maven-build.yml push: branches: [ master ] jobs: build: name: Maven build runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v2 - name: Set up JDK uses: actions/setup-java@v2 with: ...
push: branches: [ master ] jobs: build: name: Maven build runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v3 - name: Set up JDK uses: actions/setup-java@v2 with: java-version: '11' distribution: 'adopt' ...
<|file_sep|>original/.github/workflows/basic-maven-build.yml push: branches: [ master ] jobs: build: name: Maven build runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v2 - name: Set up JDK uses: actions/setup-java@v2 with: ...
217bf69ed2e037e4b9130758e7bf5c540a627756
.github/workflows/basic-maven-build.yml
.github/workflows/basic-maven-build.yml
YAML
<|file_sep|>original/layout.mustache <!doctype html> <html> <head> <meta charset="{{encoding}}"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"> <title>{{title}}</title> <style type="text/css"> {{{style}}} </style> </head> <body> <div class="revea...
<!doctype html> <html> <head> <meta charset="{{encoding}}"> {{#version}}<meta name="generator" content="cleaver {{version}}" />{{/version}} <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"> <title>{{title}}</title> <style type="text/css"> {{{style}}...
<|file_sep|>original/layout.mustache <!doctype html> <html> <head> <meta charset="{{encoding}}"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"> <title>{{title}}</title> <style type="text/css"> {{{style}}} </style> </head> <body> <div class="revea...
e22cc462790d47be607c4e77dc5a66ba706cdf98
layout.mustache
layout.mustache
HTML+Django
<|file_sep|>.travis.yml.diff original: env: CAPYBARA_WAIT_TIME=30 updated: env: global: - secure: "POCDb9nm0jgXCeRMqz2Ul+KPmZAQpve0IxFL0WQ1Ad9RxiK8rQzRkoHnc1RY\ntFDYN9x5EpQbIn1wmOPLEMZhMp0uibtlraSeYSYwoIVpbK2A5jZ1r83x5PEY\n/TzM2A8eun0nQWm/xwwC6cx2jiuhWZ/nw8ODCb0ln9QXKIhgPvc=" - secure: "GH6Kx/tbkr5VqWsOAJjdsD...
language: ruby rvm: - 1.9.2 - 1.9.3 - 2.0.0 matrix: allow_failures: - rvm: 2.0.0 env: global: - secure: "POCDb9nm0jgXCeRMqz2Ul+KPmZAQpve0IxFL0WQ1Ad9RxiK8rQzRkoHnc1RY\ntFDYN9x5EpQbIn1wmOPLEMZhMp0uibtlraSeYSYwoIVpbK2A5jZ1r83x5PEY\n/TzM2A8eun0nQWm/xwwC6cx2jiuhWZ/nw8ODCb0ln9QXKIhgPvc=" - secure: "GH6K...
<|file_sep|>.travis.yml.diff original: env: CAPYBARA_WAIT_TIME=30 updated: env: global: - secure: "POCDb9nm0jgXCeRMqz2Ul+KPmZAQpve0IxFL0WQ1Ad9RxiK8rQzRkoHnc1RY\ntFDYN9x5EpQbIn1wmOPLEMZhMp0uibtlraSeYSYwoIVpbK2A5jZ1r83x5PEY\n/TzM2A8eun0nQWm/xwwC6cx2jiuhWZ/nw8ODCb0ln9QXKIhgPvc=" - secure: "GH6Kx/tbkr5VqWsOAJjdsD...
6d5acb7f7e3dd458ad84322f3e7b61d8631d8ca8
.travis.yml
.travis.yml
YAML
<|file_sep|>original/setup.py #!/usr/bin/env python from setuptools import setup, find_packages setup( name='Eve-Mongoengine', version='0.0.1', url='https://github.com/hellerstanislav/eve-mongoengine', author='Stanislav Heller', author_email='heller.stanislav@gmail.com', description='An Eve ex...
from setuptools import setup, find_packages setup( name='Eve-Mongoengine', version='0.0.1', url='https://github.com/hellerstanislav/eve-mongoengine', author='Stanislav Heller', author_email='heller.stanislav@gmail.com', description='An Eve extension for Mongoengine ODM support', packages=[...
<|file_sep|>original/setup.py #!/usr/bin/env python from setuptools import setup, find_packages setup( name='Eve-Mongoengine', version='0.0.1', url='https://github.com/hellerstanislav/eve-mongoengine', author='Stanislav Heller', author_email='heller.stanislav@gmail.com', description='An Eve ex...
c308ddec90d37777896a9275738fac8e5764dec7
setup.py
setup.py
Python
<|file_sep|>cheat-stylesheet.css.diff original: .Strings{ updated: #Strings{ <|file_sep|>cheat-stylesheet.css.diff original: .Integers{ updated: #Integers{ <|file_sep|>cheat-stylesheet.css.diff original: .Arrays{ updated: #Arrays{ <|file_sep|>original/cheat-stylesheet.css float: left; padding: 10px 0px 5px 0px; b...
float: left; padding: 10px 0px 5px 0px; background-color: #EFEFEF; text-align: left; } #Strings{ height: 50px; } #Integers{ height: 50px; } #Arrays{ height: 100px; } #Hashes{ height: 100px; }
<|file_sep|>cheat-stylesheet.css.diff original: .Strings{ updated: #Strings{ <|file_sep|>cheat-stylesheet.css.diff original: .Integers{ updated: #Integers{ <|file_sep|>cheat-stylesheet.css.diff original: .Arrays{ updated: #Arrays{ <|file_sep|>original/cheat-stylesheet.css float: left; padding: 10px 0px 5px 0px; b...
95ef09600303e2387cadfde5ccf366d81a2e727e
cheat-stylesheet.css
cheat-stylesheet.css
CSS
<|file_sep|>original/docs/apps.py import certifi from django.apps import AppConfig from django.conf import settings from django.utils.translation import ugettext_lazy as _ from elasticsearch_dsl.connections import connections class DocsConfig(AppConfig): name = 'docs' verbose_name = _('Documentation') de...
from django.apps import AppConfig from django.conf import settings from django.utils.translation import ugettext_lazy as _ from elasticsearch_dsl.connections import connections class DocsConfig(AppConfig): name = 'docs' verbose_name = _('Documentation') def ready(self): super(DocsConfig, self).re...
<|file_sep|>original/docs/apps.py import certifi from django.apps import AppConfig from django.conf import settings from django.utils.translation import ugettext_lazy as _ from elasticsearch_dsl.connections import connections class DocsConfig(AppConfig): name = 'docs' verbose_name = _('Documentation') de...
aa9cb1bc1a04de4e4a4a787881123e2a60aaeb4e
docs/apps.py
docs/apps.py
Python
<|file_sep|>index.md.diff original: Confusing aspect 1 ================== updated: Variants of HoTT === <|file_sep|>original/index.md % Auke Booij % October 2017 Auke Booij Changelog --------- **0.1** First sections: * ??? <hr/> Confusing aspect 1 ================== Some topic ----- <|file_sep|>current/index.md...
First sections: * ??? <hr/> Variants of HoTT === Book HoTT --- Cubical type theory --- Impredicative prop --- HoTT as an approach to MLTT ---
<|file_sep|>index.md.diff original: Confusing aspect 1 ================== updated: Variants of HoTT === <|file_sep|>original/index.md % Auke Booij % October 2017 Auke Booij Changelog --------- **0.1** First sections: * ??? <hr/> Confusing aspect 1 ================== Some topic ----- <|file_sep|>current/index.md...
9a0071e5c816816d3d14f3659cd1ee7d90e33809
index.md
index.md
Markdown
<|file_sep|>original/packages/wo/word16.yaml <|file_sep|>current/packages/wo/word16.yaml <|file_sep|>updated/packages/wo/word16.yaml
homepage: '' changelog-type: markdown hash: b15315a8572aafa05cdccecbe17b22cd89d33d7bbd7a86ac2003ae58686d99af test-bench-deps: bytestring: '>=0.10 && <0.12' base: '>=4.9.1.0 && <5' hspec: -any criterion: '>=1.1 && <1.6' word16: -any maintainer: hasufell@posteo.de synopsis: Word16 library changelog: | # Revis...
<|file_sep|>original/packages/wo/word16.yaml <|file_sep|>current/packages/wo/word16.yaml <|file_sep|>updated/packages/wo/word16.yaml homepage: '' changelog-type: markdown hash: b15315a8572aafa05cdccecbe17b22cd89d33d7bbd7a86ac2003ae58686d99af test-bench-deps: bytestring: '>=0.10 && <0.12' base: '>=4.9.1.0 && <5' ...
96e0002ed0838d08e6c25ab63fe911c78bb19fe0
packages/wo/word16.yaml
packages/wo/word16.yaml
YAML
<|file_sep|>.travis.yml.diff original: - 1.9.2 updated: <|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.2 - 1.9.3 - 2.0.0 before_install: - sudo apt-get update -qq - sudo apt-get install -qq beanstalkd - sudo sed -i 's/#START=yes/START=yes/' /etc/default/beanstalkd - sudo service beanstalk...
language: ruby rvm: - 1.9.3 - 2.0.0 - jruby-19mode - rbx-19mode before_install: - sudo apt-get update -qq - sudo apt-get install -qq beanstalkd - sudo sed -i 's/#START=yes/START=yes/' /etc/default/beanstalkd - sudo service beanstalkd start - cat /etc/init.d/beanstalkd | sed 's/NAME=beanstalkd/NAME=b...
<|file_sep|>.travis.yml.diff original: - 1.9.2 updated: <|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.2 - 1.9.3 - 2.0.0 before_install: - sudo apt-get update -qq - sudo apt-get install -qq beanstalkd - sudo sed -i 's/#START=yes/START=yes/' /etc/default/beanstalkd - sudo service beanstalk...
755280e07fd190267fcf71b51452fb5c45ddd56f
.travis.yml
.travis.yml
YAML
<|file_sep|>original/travis/scripts/03-docker-compose.sh #!/bin/bash set -ev #------------------------------------------------------------------------------- # Start docker container #------------------------------------------------------------------------------- cd "$HOME"/"$JHIPSTER" if [[ ("$JHIPSTER" == 'app-cassan...
#!/bin/bash set -ev #------------------------------------------------------------------------------- # Start docker container #------------------------------------------------------------------------------- cd "$HOME"/"$JHIPSTER" if [[ ("$JHIPSTER" == 'app-cassandra') && (-a src/main/docker/dev.yml) ]]; then # travis...
<|file_sep|>original/travis/scripts/03-docker-compose.sh #!/bin/bash set -ev #------------------------------------------------------------------------------- # Start docker container #------------------------------------------------------------------------------- cd "$HOME"/"$JHIPSTER" if [[ ("$JHIPSTER" == 'app-cassan...
0076af9f83d8d44d500030e9c07c50615ac4ea47
travis/scripts/03-docker-compose.sh
travis/scripts/03-docker-compose.sh
Shell
<|file_sep|>README.md.diff original: rainbird-release ================ updated: # Rainbird Release <|file_sep|>original/README.md rainbird-release ================ Rainbird release tool <|file_sep|>current/README.md # Rainbird Release Rainbird release tool <|file_sep|>updated/README.md
# Rainbird Release A tool used to handle releasing from `master` to the `production` branch in git. The tool assumes a node.js style `package.json` and a file called `release-notes.md` in the root of the repository. Once run `rbrelease` will prompt for the version of the release, then open an editor to allow editing ...
<|file_sep|>README.md.diff original: rainbird-release ================ updated: # Rainbird Release <|file_sep|>original/README.md rainbird-release ================ Rainbird release tool <|file_sep|>current/README.md # Rainbird Release Rainbird release tool <|file_sep|>updated/README.md # Rainbird Release A tool used...
5e93a9e1f7511dc3fd25aef0ca27946601720803
README.md
README.md
Markdown
<|file_sep|>Casks/neteasemusic.rb.diff original: version '1.3.1' sha256 '1a850e6c624d05e72d25caf6d449613713294ffd5fe4ddad4287684118a10fd6' updated: version '1.4.0' sha256 'e617ccc626c2275638ee731af0dcfd955b327bb581b5b8b1caa91f69c055e3e1' <|file_sep|>original/Casks/neteasemusic.rb cask :v1 => 'neteasemusic' do ...
cask :v1 => 'neteasemusic' do version '1.4.0' sha256 'e617ccc626c2275638ee731af0dcfd955b327bb581b5b8b1caa91f69c055e3e1' # 126.net is the official download host per the vendor homepage url "http://s1.music.126.net/download/osx/NeteaseMusic_#{version}_392_web.dmg" name '网易云音乐' name 'NetEase cloud music' ho...
<|file_sep|>Casks/neteasemusic.rb.diff original: version '1.3.1' sha256 '1a850e6c624d05e72d25caf6d449613713294ffd5fe4ddad4287684118a10fd6' updated: version '1.4.0' sha256 'e617ccc626c2275638ee731af0dcfd955b327bb581b5b8b1caa91f69c055e3e1' <|file_sep|>original/Casks/neteasemusic.rb cask :v1 => 'neteasemusic' do ...
f8b94d6cb70c2d64bfd55edf8eec027c841f8ef8
Casks/neteasemusic.rb
Casks/neteasemusic.rb
Ruby
<|file_sep|>original/requirements.txt Django==1.11.6 dj-database-url==0.4.2 django-cors-middleware==1.3.1 django-extensions==1.9.7 django-test-without-migrations==0.6 gunicorn==19.7.1 psycopg2==2.7.3.2 python-decouple==3.1 pytz==2017.2 whitenoise==3.3.0 <|file_sep|>current/requirements.txt Django==1.11.6 dj-database-ur...
Django==1.11.6 dj-database-url==0.4.2 django-cors-middleware==1.3.1 django-extensions==1.9.7 django-test-without-migrations==0.6 gunicorn==19.7.1 psycopg2==2.7.3.2 python-decouple==3.1 pytz==2017.3 whitenoise==3.3.0
<|file_sep|>original/requirements.txt Django==1.11.6 dj-database-url==0.4.2 django-cors-middleware==1.3.1 django-extensions==1.9.7 django-test-without-migrations==0.6 gunicorn==19.7.1 psycopg2==2.7.3.2 python-decouple==3.1 pytz==2017.2 whitenoise==3.3.0 <|file_sep|>current/requirements.txt Django==1.11.6 dj-database-ur...
a23807c5c79720b729a77b79895fdddcb2a5ed3b
requirements.txt
requirements.txt
Text
<|file_sep|>original/client/components/Events/Event.jsx import React, { PropTypes } from 'react'; import { Link } from 'react-router'; const Event = ({ eventName, contractAddress, description, eventStartDateTime, eventEndDateTime, eventContractAddress, price, addressLine1, addressLine2, city, state, zipPostalCode, cou...
import React, { PropTypes } from 'react'; import { Link } from 'react-router'; const Event = ({ eventName, contractAddress, description, eventStartDateTime, eventEndDateTime, eventContractAddress, price, addressLine1, addressLine2, city, state, zipPostalCode, country }) => ( <li> <Link to={{ pathname: ...
<|file_sep|>original/client/components/Events/Event.jsx import React, { PropTypes } from 'react'; import { Link } from 'react-router'; const Event = ({ eventName, contractAddress, description, eventStartDateTime, eventEndDateTime, eventContractAddress, price, addressLine1, addressLine2, city, state, zipPostalCode, cou...
4e2275a2e3f6d55b32a65bf23f78bb37ec700fd6
client/components/Events/Event.jsx
client/components/Events/Event.jsx
JSX
<|file_sep|>t/01-load.t.diff original: plan 2; updated: # Methods to test my @methods = 'set_url', 'get_url', 'get_source', 'move_to', 'click', 'quit', 'get_screenshot', 'save_screenshot', 'forward', 'back', 'refresh'; plan @methods.elems + 2; <|file_sep|>original/t/01-load.t use Test; use lib 'lib'; plan 2; use ...
use Selenium::WebDriver::PhantomJS; ok 1, "'use Selenium::WebDriver::PhantomJS' worked!"; { # Skip tests if phantomjs is not found use File::Which; unless which('phantomjs') { skip-rest("phantomjs is not installed. skipping tests..."); exit; } } my $driver = Selenium::WebDriver::PhantomJS.new; ok $dr...
<|file_sep|>t/01-load.t.diff original: plan 2; updated: # Methods to test my @methods = 'set_url', 'get_url', 'get_source', 'move_to', 'click', 'quit', 'get_screenshot', 'save_screenshot', 'forward', 'back', 'refresh'; plan @methods.elems + 2; <|file_sep|>original/t/01-load.t use Test; use lib 'lib'; plan 2; use ...
ef3ceb5b7fe0bdd6d059bdb8cc231b37ac04a05b
t/01-load.t
t/01-load.t
Perl
<|file_sep|>original/util/pingdom/requirements.txt # # This file is autogenerated by pip-compile # To update, run: # # make upgrade # certifi==2019.3.9 # via requests chardet==3.0.4 # via requests click==6.7 idna==2.6 # via requests pyyaml==3.12 requests==2.18.4 urllib3==1.22 ...
# # This file is autogenerated by pip-compile # To update, run: # # make upgrade # certifi==2019.3.9 # via requests chardet==3.0.4 # via requests click==6.7 idna==2.6 # via requests pyyaml==3.12 requests==2.18.4 urllib3==1.24.2 # via requests six==1.12.0
<|file_sep|>original/util/pingdom/requirements.txt # # This file is autogenerated by pip-compile # To update, run: # # make upgrade # certifi==2019.3.9 # via requests chardet==3.0.4 # via requests click==6.7 idna==2.6 # via requests pyyaml==3.12 requests==2.18.4 urllib3==1.22 ...
e8ec576ddd6ec53cd3557ccc914afcfdc4839aae
util/pingdom/requirements.txt
util/pingdom/requirements.txt
Text
<|file_sep|>app/helpers/sessions_helper.rb.diff original: puts request_token.inspect updated: <|file_sep|>original/app/helpers/sessions_helper.rb base = 'https://twitter.com' # callback = 'http://weekerapp.heroku.com/twitter-authentication-return' callback = 'http://localhost:9393/twitter-authentication-ret...
ENV['TWITTER_SECRET'], { site: base } ) request_token = consumer.get_request_token(oauth_callback: callback) session[:request_token] = request_token redirect request_token.authorize_url end def get_twitter_access_token session[:access_token] = access_token = session[:reque...
<|file_sep|>app/helpers/sessions_helper.rb.diff original: puts request_token.inspect updated: <|file_sep|>original/app/helpers/sessions_helper.rb base = 'https://twitter.com' # callback = 'http://weekerapp.heroku.com/twitter-authentication-return' callback = 'http://localhost:9393/twitter-authentication-ret...
79f4bc473291483289edb5bbad06618a87b80a6c
app/helpers/sessions_helper.rb
app/helpers/sessions_helper.rb
Ruby
<|file_sep|>original/lib/src/service/authentication_service.dart } final token = headerValue.substring(6); try { final session = await _sessionRepository.getSessionByToken(token); return await _userRepository.getUserBySession(session); } on SessionNotFoundException catch (_) { throw...
throw new AuthenticationException('This API endpoint needs authentication. Call with `authorization: token xxx...`.'); } final token = headerValue.substring(6); try { final session = await _sessionRepository.getSessionByToken(token); return await _userRepository.getUserBySession(session...
<|file_sep|>original/lib/src/service/authentication_service.dart } final token = headerValue.substring(6); try { final session = await _sessionRepository.getSessionByToken(token); return await _userRepository.getUserBySession(session); } on SessionNotFoundException catch (_) { throw...
bb72f94e0e09d4723f4917b0a62eccdc07d27b43
lib/src/service/authentication_service.dart
lib/src/service/authentication_service.dart
Dart
<|file_sep|>lib/core/pages/status_page.dart.diff original: updated: import 'package:gap/gap.dart'; <|file_sep|>lib/core/pages/status_page.dart.diff original: if (isNotBlank(suggestion)) const SizedBox(height: 8), updated: if (isNotBlank(suggestion)) const Gap(8), <|file_sep|>origina...
), ), if (isNotBlank(suggestion)) const Gap(8), if (isNotBlank(suggestion)) Text( suggestion!, style: const TextStyle( fontSize: 16, ), ...
<|file_sep|>lib/core/pages/status_page.dart.diff original: updated: import 'package:gap/gap.dart'; <|file_sep|>lib/core/pages/status_page.dart.diff original: if (isNotBlank(suggestion)) const SizedBox(height: 8), updated: if (isNotBlank(suggestion)) const Gap(8), <|file_sep|>origina...
0ec7fcca6b85ecfb4c8fb5daf5e2b85d5b1547c8
lib/core/pages/status_page.dart
lib/core/pages/status_page.dart
Dart
<|file_sep|>components/EditorMenuHamburger.js.diff original: updated: handleToggleButtonKeyDown = ( event: SyntheticKeyboardEvent<HTMLButtonElement>, ) => { if (event.key === 'Escape') { this.setState(state => ({ open: false })); } }; <|file_sep|>original/components/EditorMenuHamburger.js r...
if (event.key === 'Escape') { this.setState(state => ({ open: false })); } }; render() { return ( <Box paddingLeft={1} alignItems="flex-end"> <ToggleButton onPress={this.handleToggleButtonPress} onKeyDown={this.handleToggleButtonKeyDown} opacity={this.s...
<|file_sep|>components/EditorMenuHamburger.js.diff original: updated: handleToggleButtonKeyDown = ( event: SyntheticKeyboardEvent<HTMLButtonElement>, ) => { if (event.key === 'Escape') { this.setState(state => ({ open: false })); } }; <|file_sep|>original/components/EditorMenuHamburger.js r...
ccd19eacaeb0b09cffa8b1e390c9f9ac656ec2e2
components/EditorMenuHamburger.js
components/EditorMenuHamburger.js
JavaScript
<|file_sep|>original/vaadin-components/vaadin-button/test/index.html <|file_sep|>current/vaadin-components/vaadin-button/test/index.html <|file_sep|>updated/vaadin-components/vaadin-button/test/index.html
<!doctype html> <html> <head> <meta charset="utf-8"> <script src="../../webcomponentsjs/webcomponents.min.js"></script> <script src="../../web-component-tester/browser.js"></script> </head> <body> <script> WCT.loadSuites([ 'vaadin-button.html', ]); </script> </body> </htm...
<|file_sep|>original/vaadin-components/vaadin-button/test/index.html <|file_sep|>current/vaadin-components/vaadin-button/test/index.html <|file_sep|>updated/vaadin-components/vaadin-button/test/index.html <!doctype html> <html> <head> <meta charset="utf-8"> <script src="../../webcomponentsjs/webcomponents.m...
76fa8d20d9a12ea7fb052c12b8ea7672551e82b7
vaadin-components/vaadin-button/test/index.html
vaadin-components/vaadin-button/test/index.html
HTML
<|file_sep|>src/Functions/ElementPanel.java.diff original: add(new JLabel(name)); updated: this.setLayout(new GridBagLayout()); GridBagConstraints c = new GridBagConstraints(); c.ipady = -5; c.gridy = 0; add(new JLabel("" + element.getNum()), c); c.gridy = 1; add(new JLabel("<html><h3>" + name ...
c.gridy = 1; add(new JLabel("<html><h3>" + name + "</h3></html>"), c); c.gridy = 2; c.ipady = 0; add(new JLabel("<html><font size=\"1\">" + element.getName() + "</font></html>"), c); setBorder(new CompoundBorder(new LineBorder(Color.BLACK, 1), new EmptyBorder(3, 3, 3, 3))); /*add(new J...
<|file_sep|>src/Functions/ElementPanel.java.diff original: add(new JLabel(name)); updated: this.setLayout(new GridBagLayout()); GridBagConstraints c = new GridBagConstraints(); c.ipady = -5; c.gridy = 0; add(new JLabel("" + element.getNum()), c); c.gridy = 1; add(new JLabel("<html><h3>" + name ...
b3b5fa598c1b5a9acd7b1e2e02da1ef6ff8a44a1
src/Functions/ElementPanel.java
src/Functions/ElementPanel.java
Java
<|file_sep|>.travis.yml.diff original: - make test updated: - go test -race -coverprofile=coverage.txt -covermode=atomic ./... <|file_sep|>original/.travis.yml language: go go: - 1.12 env: - GO111MODULE=on script: # Fail on first non 0 exit code - set -e # Check if Go source code is unformatted - UNFMT_...
go: - 1.12 env: - GO111MODULE=on script: # Fail on first non 0 exit code - set -e # Check if Go source code is unformatted - UNFMT_LIST=$(gofmt -l $(find . -iname '*.go' -type f)) - if [ "${UNFMT_LIST}" ]; then echo "${UNFMT_LIST}"; exit 1; fi # Run tests - go test -race -coverprofile=coverage.txt -co...
<|file_sep|>.travis.yml.diff original: - make test updated: - go test -race -coverprofile=coverage.txt -covermode=atomic ./... <|file_sep|>original/.travis.yml language: go go: - 1.12 env: - GO111MODULE=on script: # Fail on first non 0 exit code - set -e # Check if Go source code is unformatted - UNFMT_...
adb33c68e95f67cdeac15ddf2e7e12dd4eb32a5f
.travis.yml
.travis.yml
YAML
<|file_sep|>Src/TensorSharp/Operations/SubtractDoubleDoubleOperation.cs.diff original: Tensor<double> result = new Tensor<double>(); updated: double[] values1 = tensor1.GetValues(); int l = values1.Length; <|file_sep|>Src/TensorSharp/Operations/SubtractDoubleDoubleOperation.cs.diff o...
using System.Linq; using System.Text; public class SubtractDoubleDoubleOperation : IBinaryOperation<double, double, double> { public Tensor<double> Evaluate(Tensor<double> tensor1, Tensor<double> tensor2) { double[] values1 = tensor1.GetValues(); int l = values1....
<|file_sep|>Src/TensorSharp/Operations/SubtractDoubleDoubleOperation.cs.diff original: Tensor<double> result = new Tensor<double>(); updated: double[] values1 = tensor1.GetValues(); int l = values1.Length; <|file_sep|>Src/TensorSharp/Operations/SubtractDoubleDoubleOperation.cs.diff o...
80e7ecc9a2c3b2536054b015bb7fa1773fff3ded
Src/TensorSharp/Operations/SubtractDoubleDoubleOperation.cs
Src/TensorSharp/Operations/SubtractDoubleDoubleOperation.cs
C#
<|file_sep|>python/problem2.py.diff original: def inner(): count = 0 last = 0 current = 1 updated: count = 0 last = 0 current = 1 <|file_sep|>python/problem2.py.diff original: while size < 0 or count < size: last, current = current, last + current updated: ...
def fib(size=-1): count = 0 last = 0 current = 1 while size < 0 or count < size: last, current = current, last + current if current > 4000000: break count += 1 yield current print sum((i for i in fib() if i % 2 == 0))
<|file_sep|>python/problem2.py.diff original: def inner(): count = 0 last = 0 current = 1 updated: count = 0 last = 0 current = 1 <|file_sep|>python/problem2.py.diff original: while size < 0 or count < size: last, current = current, last + current updated: ...
55f6b85e0c376ba56a2ce860fd8d33011c34bc7e
python/problem2.py
python/problem2.py
Python
<|file_sep|>lib/mdb/api.go.diff original: updated: /* Package mdb implements a simple in-memory Machine DataBase. */ <|file_sep|>lib/mdb/api.go.diff original: updated: // Machine describes a single machine with a unique Hostname and optional // metadata about the machine. <|file_sep|>lib/mdb/api.go.diff original: u...
} // Len returns the number of machines. func (mdb *Mdb) Len() int { return len(mdb.Machines) } // Less compares the hostnames of left and right. func (mdb *Mdb) Less(left, right int) bool { if mdb.Machines[left].Hostname < mdb.Machines[right].Hostname { return true } return false } // Swap swaps two entries i...
<|file_sep|>lib/mdb/api.go.diff original: updated: /* Package mdb implements a simple in-memory Machine DataBase. */ <|file_sep|>lib/mdb/api.go.diff original: updated: // Machine describes a single machine with a unique Hostname and optional // metadata about the machine. <|file_sep|>lib/mdb/api.go.diff original: u...
9b970240ad45f3004841296c14e93f25838ce341
lib/mdb/api.go
lib/mdb/api.go
Go
<|file_sep|>original/.travis.yml --- sudo: false language: ruby bundler_args: --without system_tests script: "bundle exec rake validate lint spec SPEC_OPTS='--format documentation'" matrix: fast_finish: true include: - rvm: 1.8.7 env: PUPPET_VERSION="~> 2.7.0" - rmv: 1.9.3 env: PUPPET_VERSION="...
--- sudo: false language: ruby bundler_args: --without system_tests script: "bundle exec rake validate lint spec SPEC_OPTS='--format documentation'" matrix: fast_finish: true include: - rvm: 1.9.3 env: PUPPET_VERSION="~> 2.7.0" - rmv: 1.9.3 env: PUPPET_VERSION="~> 3.1.0" - rvm: 2.0.0 ...
<|file_sep|>original/.travis.yml --- sudo: false language: ruby bundler_args: --without system_tests script: "bundle exec rake validate lint spec SPEC_OPTS='--format documentation'" matrix: fast_finish: true include: - rvm: 1.8.7 env: PUPPET_VERSION="~> 2.7.0" - rmv: 1.9.3 env: PUPPET_VERSION="...
1530f7478ece7f684eca4072c7ae7e6ad9f0e72c
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml language: python dist: xenial python: - "3.5" services: - mysql before_install: - sudo apt-get update - sudo apt-get install apache2 apache2-dev - sudo apt-get install python3-dev libmysqlclient-dev - sudo apt-get install libssl-dev libcurl4-openssl-dev - mysql -u root -e ...
language: python dist: trusty sudo: required python: - "3.5" services: - mysql before_install: - sudo apt-get update - sudo apt-get install apache2 apache2-dev - sudo apt-get install python3-dev libmysqlclient-dev - sudo apt-get install libssl-dev libcurl4-openssl-dev - mysql -u root -e "CREATE DATABASE c...
<|file_sep|>original/.travis.yml language: python dist: xenial python: - "3.5" services: - mysql before_install: - sudo apt-get update - sudo apt-get install apache2 apache2-dev - sudo apt-get install python3-dev libmysqlclient-dev - sudo apt-get install libssl-dev libcurl4-openssl-dev - mysql -u root -e ...
60162afaf7e55ac1f28fb3d9a7aaa83bda52418d
.travis.yml
.travis.yml
YAML
<|file_sep|>original/config/sidekiq.yml :verbose: true :concurrency: 2 :logfile: ./log/sidekiq.json.log :queues: - scheduled_publishing - default - publishing_api - asset_manager - email_alert_api_signup - bulk_republishing - sync_checks - link_checks - asset_migration :schedule: check_all_organisat...
:verbose: true :concurrency: 8 :logfile: ./log/sidekiq.json.log :queues: - scheduled_publishing - default - publishing_api - asset_manager - email_alert_api_signup - bulk_republishing - sync_checks - link_checks - asset_migration :schedule: check_all_organisations_links_worker: cron: '0 1 * * *'...
<|file_sep|>original/config/sidekiq.yml :verbose: true :concurrency: 2 :logfile: ./log/sidekiq.json.log :queues: - scheduled_publishing - default - publishing_api - asset_manager - email_alert_api_signup - bulk_republishing - sync_checks - link_checks - asset_migration :schedule: check_all_organisat...
658f107445adb347760157afaec624804e28d3d8
config/sidekiq.yml
config/sidekiq.yml
YAML
<|file_sep|>pkgs/servers/http/lighttpd/default.nix.diff original: { stdenv, fetchurl, pcre, libxml2, zlib, attr, bzip2, which, file, openssl }: updated: { stdenv, fetchurl, pkgconfig, pcre, libxml2, zlib, attr, bzip2, which, file , openssl, enableMagnet ? false, lua5 ? null }: assert enableMagnet -> lua5 != null; <|fi...
name = "lighttpd-1.4.32"; src = fetchurl { url = http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-1.4.32.tar.xz; sha256 = "1hgd9bi4mrak732h57na89lqg58b1kkchnddij9gawffd40ghs0k"; }; buildInputs = [ pkgconfig pcre libxml2 zlib attr bzip2 which file openssl ] ++ stdenv.lib.optio...
<|file_sep|>pkgs/servers/http/lighttpd/default.nix.diff original: { stdenv, fetchurl, pcre, libxml2, zlib, attr, bzip2, which, file, openssl }: updated: { stdenv, fetchurl, pkgconfig, pcre, libxml2, zlib, attr, bzip2, which, file , openssl, enableMagnet ? false, lua5 ? null }: assert enableMagnet -> lua5 != null; <|fi...
c9614d2d056172d5ee4b10dda16bf37e1ee32dbf
pkgs/servers/http/lighttpd/default.nix
pkgs/servers/http/lighttpd/default.nix
Nix
<|file_sep|>original/docs/routing-helpers.markdown # Route Helpers [routing-helpers] # Slim provides several helper methods (exposed via the `Slim` application instance) that will help you control the flow of your application. <|file_sep|>current/docs/routing-helpers.markdown # Route Helpers [routing-helpers] # Slim ...
# Route Helpers [routing-helpers] # Slim provides several helper methods (exposed via the `Slim` application instance) that will help you control the flow of your application. Please be aware that the following application instance method helpers, `halt()`, `pass()`, `redirect()` and `stop()` are implemented using ex...
<|file_sep|>original/docs/routing-helpers.markdown # Route Helpers [routing-helpers] # Slim provides several helper methods (exposed via the `Slim` application instance) that will help you control the flow of your application. <|file_sep|>current/docs/routing-helpers.markdown # Route Helpers [routing-helpers] # Slim ...
d445eccd78acf6a27a9d05c0ac2695adf6575ffa
docs/routing-helpers.markdown
docs/routing-helpers.markdown
Markdown
<|file_sep|>original/src/Sylius/Bundle/AdminBundle/Resources/views/Dashboard/_channelSwitch.html.twig {% if channels|length > 1 %} {% set selected = channels|first %} {% set code = app.request.query.get('channel') %} {% for channel in channels %} {% if channel.code is sameas(code) %} {% set selected = cha...
{% if channels|length > 1 %} {% set selected = channels|first %} {% set code = app.request.query.get('channel') %} {% for channel in channels %} {% if channel.code is same as(code) %} {% set selected = channel %} {% endif %} {% endfor %} <div class="ui floating dropdown labeled icon button"> <i c...
<|file_sep|>original/src/Sylius/Bundle/AdminBundle/Resources/views/Dashboard/_channelSwitch.html.twig {% if channels|length > 1 %} {% set selected = channels|first %} {% set code = app.request.query.get('channel') %} {% for channel in channels %} {% if channel.code is sameas(code) %} {% set selected = cha...
86d036030fcedd5e35b002aa4f10772df1e20c47
src/Sylius/Bundle/AdminBundle/Resources/views/Dashboard/_channelSwitch.html.twig
src/Sylius/Bundle/AdminBundle/Resources/views/Dashboard/_channelSwitch.html.twig
Twig
<|file_sep|>playbook.yml.diff original: updated: tags: - brew <|file_sep|>playbook.yml.diff original: updated: tags: - cask <|file_sep|>playbook.yml.diff original: updated: tags: - gem <|file_sep|>original/playbook.yml - node - pwsafe - tig - tmux - homebrew_cask: name={{ite...
- cask with_items: - eclipse-java - firefox - google-chrome - intellij-idea - iterm2 - java - vagrant - virtualbox - gem: name={{item}} tags: - gem with_items: - timetrap - npm: name={{item}} global=yes tags: - npm with_items: - bower - gru...
<|file_sep|>playbook.yml.diff original: updated: tags: - brew <|file_sep|>playbook.yml.diff original: updated: tags: - cask <|file_sep|>playbook.yml.diff original: updated: tags: - gem <|file_sep|>original/playbook.yml - node - pwsafe - tig - tmux - homebrew_cask: name={{ite...
af75741a03be7b52a6877cfc2bb2a093dd071df4
playbook.yml
playbook.yml
YAML
<|file_sep|>.travis.yml.diff original: updated: - "7.1" <|file_sep|>.travis.yml.diff original: - if [[ ${TRAVIS_PHP_VERSION:0:3} == "5.4" || ${TRAVIS_PHP_VERSION:0:3} == "5.3" ]]; then composer require satooshi/php-coveralls:1.0.1; else composer require satooshi/php-coveralls:dev-master; fi updated: - if [[ ${TR...
language: php php: - "7.1" - "7.0" - "5.6" - "5.5" - "5.4" - "5.3" before_script: - if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.0" || ${TRAVIS_PHP_VERSION:0:3} == "7.1" ]]; then composer require phpunit/phpunit "~5.7"; fi - if [[ ${TRAVIS_PHP_VERSION:0:3} == "5.4" || ${TRAVIS_PHP_VERSION:0:3} == "5.3" ]]; t...
<|file_sep|>.travis.yml.diff original: updated: - "7.1" <|file_sep|>.travis.yml.diff original: - if [[ ${TRAVIS_PHP_VERSION:0:3} == "5.4" || ${TRAVIS_PHP_VERSION:0:3} == "5.3" ]]; then composer require satooshi/php-coveralls:1.0.1; else composer require satooshi/php-coveralls:dev-master; fi updated: - if [[ ${TR...
95060b405d0af1a8725f595e71951bb067389df2
.travis.yml
.travis.yml
YAML
<|file_sep|>original/CHANGELOG.md ## [2.0.1] - 2018-02-13 ### Added * Ability to filter AMIs cached from accounts based on a key-tag. Set via the `AMIQUERY_TAG_FILTER` environment variable. ## [2.0.0] - 2017-12-19 ### Added * Ability cache AMIs from mulitple accounts (requires an IAM role). * Caches the Launch P...
## [2.1.0] - 2018-03-23 ### Added * Now supports CORS Origin header through the `AMIQUERY_CORS_ALLOWED_ORIGINS` environment variable. ## [2.0.1] - 2018-02-13 ### Added * Ability to filter AMIs cached from accounts based on a key-tag. Set via the `AMIQUERY_TAG_FILTER` environment variable. ## [2.0.0] - 2017-12...
<|file_sep|>original/CHANGELOG.md ## [2.0.1] - 2018-02-13 ### Added * Ability to filter AMIs cached from accounts based on a key-tag. Set via the `AMIQUERY_TAG_FILTER` environment variable. ## [2.0.0] - 2017-12-19 ### Added * Ability cache AMIs from mulitple accounts (requires an IAM role). * Caches the Launch P...
37912dafa8fd4a40e8a4d41e990422f9c79727f9
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>original/ReleaseSteps.md ## Release Steps ### Things to check before releasing - Tests pass? - Public API documented? - Roadmap up to date? ### Steps 1. Cut release branch from develop 2. Bump version in `AssemblyInfo.cs` 3. Update changelog 4. Update nuget release notes in `~/src/PygmentSharp/Pygmen...
## Release Steps ### Things to check before releasing - Tests pass? - Public API documented? - Roadmap up to date? - Does it build and pass tests in Release mode? ### Steps 1. Cut release branch from develop 2. Bump version in `AssemblyInfo.cs` 3. Update changelog 4. Update nuget release notes in `~/src/Pygment...
<|file_sep|>original/ReleaseSteps.md ## Release Steps ### Things to check before releasing - Tests pass? - Public API documented? - Roadmap up to date? ### Steps 1. Cut release branch from develop 2. Bump version in `AssemblyInfo.cs` 3. Update changelog 4. Update nuget release notes in `~/src/PygmentSharp/Pygmen...
8b78e13db471ef3ebad7ac7b73ae02261ad2b083
ReleaseSteps.md
ReleaseSteps.md
Markdown
<|file_sep|>tests/test-recipes/metadata/always_include_files_glob/run_test.py.diff original: assert sorted(info['files']) == ['lib/libpng.dylib', 'lib/libpng16.16.dylib', 'lib/libpng16.dylib'] updated: assert set(info['files']) == {'lib/libpng.dylib', 'lib/libpng16.16.dylib', 'lib/libpng16.dylib'} <|fil...
import os import sys import json def main(): prefix = os.environ['PREFIX'] info_file = os.path.join(prefix, 'conda-meta', 'always_include_files_regex-0.1-0.json') with open(info_file, 'r') as fh: info = json.load(fh) if sys.platform == 'darwin': assert set...
<|file_sep|>tests/test-recipes/metadata/always_include_files_glob/run_test.py.diff original: assert sorted(info['files']) == ['lib/libpng.dylib', 'lib/libpng16.16.dylib', 'lib/libpng16.dylib'] updated: assert set(info['files']) == {'lib/libpng.dylib', 'lib/libpng16.16.dylib', 'lib/libpng16.dylib'} <|fil...
76d9ff900204678423208967b4578764013984ad
tests/test-recipes/metadata/always_include_files_glob/run_test.py
tests/test-recipes/metadata/always_include_files_glob/run_test.py
Python
<|file_sep|>original/travis-ci-build.sh cmake \ -D git_tag=1.1.0-travis \ -D WITH_CLI=ON \ -D WITH_STUDIO=OFF \ -D WITH_TOOLS=OFF \ -D WITH_PYTHON=OFF \ -D WITH_ALEMBIC=OFF \ -D WITH_OSL=OFF \ -D USE_STATIC_BOOST=OFF \ -D USE_EXTERNAL_ZLIB=ON \ -D USE_EXTERNAL_EXR=ON \ -D US...
cmake \ -D git_tag=1.1.0-travis \ -D WITH_CLI=ON \ -D WITH_STUDIO=OFF \ -D WITH_TOOLS=OFF \ -D WITH_PYTHON=OFF \ -D WITH_ALEMBIC=OFF \ -D WITH_OSL=OFF \ -D USE_STATIC_BOOST=OFF \ -D USE_EXTERNAL_ZLIB=ON \ -D USE_EXTERNAL_EXR=ON \ -D USE_EXTERNAL_PNG=ON \ -D USE_EXTERNAL_X...
<|file_sep|>original/travis-ci-build.sh cmake \ -D git_tag=1.1.0-travis \ -D WITH_CLI=ON \ -D WITH_STUDIO=OFF \ -D WITH_TOOLS=OFF \ -D WITH_PYTHON=OFF \ -D WITH_ALEMBIC=OFF \ -D WITH_OSL=OFF \ -D USE_STATIC_BOOST=OFF \ -D USE_EXTERNAL_ZLIB=ON \ -D USE_EXTERNAL_EXR=ON \ -D US...
b1791e86f4c1623e9d9e70b5b515d0cf46c390e4
travis-ci-build.sh
travis-ci-build.sh
Shell
<|file_sep|>original/docs/docker/README.md ## Running with Docker To build the image: ``` docker build -t skyhook . ``` To run the application: ``` docker run -p 8080:8080 --name skyhook skyhook ``` To run the tests: ``` docker run --name skyhook skyhook npm test ``` To remove the created container: ``` docker rm skyho...
## Running with Docker We have a Docker image provided [here](https://hub.docker.com/repository/docker/commit451/skyhook). To build the image: ``` docker build -t skyhook . ``` To run the application: ``` docker run -p 8080:8080 --name skyhook skyhook ``` To run the tests: ``` docker run --name skyhook skyhook npm tes...
<|file_sep|>original/docs/docker/README.md ## Running with Docker To build the image: ``` docker build -t skyhook . ``` To run the application: ``` docker run -p 8080:8080 --name skyhook skyhook ``` To run the tests: ``` docker run --name skyhook skyhook npm test ``` To remove the created container: ``` docker rm skyho...
bcbbdbaf3a3639d62e2ccb4442e316d78c20b658
docs/docker/README.md
docs/docker/README.md
Markdown
<|file_sep|>original/social_auth/backends/pipeline/associate.py from social_auth.backends.exceptions import AuthException def associate_by_email(details, user=None, *args, **kwargs): """Return user entry with same email address as one returned on details.""" if user: return None email = details.g...
from social_auth.backends.exceptions import AuthException def associate_by_email(details, user=None, *args, **kwargs): """Return user entry with same email address as one returned on details.""" if user: return None email = details.get('email') # Don't spam with a warning, this doesn't apply...
<|file_sep|>original/social_auth/backends/pipeline/associate.py from social_auth.backends.exceptions import AuthException def associate_by_email(details, user=None, *args, **kwargs): """Return user entry with same email address as one returned on details.""" if user: return None email = details.g...
71fd42a92b41529d9f5c784840ab4c190946adef
social_auth/backends/pipeline/associate.py
social_auth/backends/pipeline/associate.py
Python
<|file_sep|>server/queries.js.diff original: updated: const getOneTodo = (id) => { return db.one('select * from todos where id = $1', [id]) } <|file_sep|>server/queries.js.diff original: updated: const findsql = 'select * from todos where description = $1' <|file_sep|>server/queries.js.diff original: return db...
const variables = [ attributes.description, attributes.due, attributes.id ] return db.none(sql, variables) }; const deleteTodo = (id) => { objId = parseInt(id) return db.result('delete from todos where id = $1', [objId]) }; module.exports = { getAllTodos, createTodo, updateTodo, deleteT...
<|file_sep|>server/queries.js.diff original: updated: const getOneTodo = (id) => { return db.one('select * from todos where id = $1', [id]) } <|file_sep|>server/queries.js.diff original: updated: const findsql = 'select * from todos where description = $1' <|file_sep|>server/queries.js.diff original: return db...
c322d0f6cb253a4100b30df78ef60c6cc8459153
server/queries.js
server/queries.js
JavaScript
<|file_sep|>tests/Output/UrlOutputTest.php.diff original: updated: $expected = 'test.example.com:8069'; <|file_sep|>original/tests/Output/UrlOutputTest.php <?php namespace Odoo\Client\Test\Output; use Odoo\Client\Output\UrlOutput; class UrlOutputTest extends \PHPUnit_Framework_TestCase { public function ...
<?php namespace Odoo\Client\Test\Output; use Odoo\Client\Output\UrlOutput; class UrlOutputTest extends \PHPUnit_Framework_TestCase { public function testCreateUrl() { $urlOutput = new UrlOutput(); $host = 'test.example.com'; $port = 8069; $type = null; $expected = 'tes...
<|file_sep|>tests/Output/UrlOutputTest.php.diff original: updated: $expected = 'test.example.com:8069'; <|file_sep|>original/tests/Output/UrlOutputTest.php <?php namespace Odoo\Client\Test\Output; use Odoo\Client\Output\UrlOutput; class UrlOutputTest extends \PHPUnit_Framework_TestCase { public function ...
b02b9ed6e489d6f046bff2e1f8570b33721ea9da
tests/Output/UrlOutputTest.php
tests/Output/UrlOutputTest.php
PHP
<|file_sep|>original/app/views/main/index.html.haml %h2 Cuttlefish &mdash; lovely transactional email %p Ensure your emails arrive at their destination. And a whole lot more&hellip; %p= link_to "How to send email via Cuttlefish", documentation_path .row#status-counts = render "main/status_counts" <|file_sep|>c...
.page-header %h1 Dashboard %p Summary of emails sent and received today and in the last week. Updates every few seconds. %p= link_to "How to send email via Cuttlefish", documentation_path .row#status-counts = render "main/status_counts"
<|file_sep|>original/app/views/main/index.html.haml %h2 Cuttlefish &mdash; lovely transactional email %p Ensure your emails arrive at their destination. And a whole lot more&hellip; %p= link_to "How to send email via Cuttlefish", documentation_path .row#status-counts = render "main/status_counts" <|file_sep|>c...
7c234e3eea6e9a79e5f4eda77eaf68e50f48fd76
app/views/main/index.html.haml
app/views/main/index.html.haml
Haml
<|file_sep|>original/us_ignite/people/urls.py from django.conf.urls import patterns, url urlpatterns = patterns( 'us_ignite.people.views', url(r'^$', 'profile_list', name='profile_list'), url(r'^(?P<slug>[-\w]{1,32})/$', 'profile_detail', name='profile_detail'), ) <|file_sep|>current/us_ignite/people/urls....
from django.conf.urls import patterns, url urlpatterns = patterns( 'us_ignite.people.views', url(r'^$', 'profile_list', name='profile_list'), url(r'^(?P<slug>[-_\w]{1,32})/$', 'profile_detail', name='profile_detail'), )
<|file_sep|>original/us_ignite/people/urls.py from django.conf.urls import patterns, url urlpatterns = patterns( 'us_ignite.people.views', url(r'^$', 'profile_list', name='profile_list'), url(r'^(?P<slug>[-\w]{1,32})/$', 'profile_detail', name='profile_detail'), ) <|file_sep|>current/us_ignite/people/urls....
8861ff87f20de238ea3ddccd7958973dcf992e4a
us_ignite/people/urls.py
us_ignite/people/urls.py
Python
<|file_sep|>src/components/Basic.js.diff original: updated: // TODO take in events as props <|file_sep|>original/src/components/Basic.js 'title': 'All Day Event', 'allDay': true, 'start': new Date(2015, 3, 0), 'end': new Date(2015, 3, 0) }, ...
'allDay': true, 'start': new Date(2015, 3, 0), 'end': new Date(2015, 3, 0) }, { 'title': 'Long Event', 'start': new Date(2015, 3, 7), 'end': new Date(2015, 3, 10) } ]} timeslots={8...
<|file_sep|>src/components/Basic.js.diff original: updated: // TODO take in events as props <|file_sep|>original/src/components/Basic.js 'title': 'All Day Event', 'allDay': true, 'start': new Date(2015, 3, 0), 'end': new Date(2015, 3, 0) }, ...
831b852021e89d8db86da91c1e8074ebaa143c2b
src/components/Basic.js
src/components/Basic.js
JavaScript
<|file_sep|>original/lib/emcee/processors/directive_processor.rb module Emcee # The `DirectiveProcessor` is responsible for parsing and evaluating # directive comments in a source file. class DirectiveProcessor < Sprockets::DirectiveProcessor # Matches the entire header/directive block. This is everything fro...
module Emcee # The `DirectiveProcessor` is responsible for parsing and evaluating # directive comments in a source file. class DirectiveProcessor < Sprockets::DirectiveProcessor # Matches the entire header/directive block. This is everything from the # top of the file, enclosed in html comments. HEADE...
<|file_sep|>original/lib/emcee/processors/directive_processor.rb module Emcee # The `DirectiveProcessor` is responsible for parsing and evaluating # directive comments in a source file. class DirectiveProcessor < Sprockets::DirectiveProcessor # Matches the entire header/directive block. This is everything fro...
b8abe79e221ce9ab8f6e0d5a7c0c03c81ec9d251
lib/emcee/processors/directive_processor.rb
lib/emcee/processors/directive_processor.rb
Ruby
<|file_sep|>original/docs/support.md layout: narrow tab: support title: Getting Support for Marathon --- # Getting Support for Marathon Marathon is under constant development by the team at Mesosphere. The team keeps an eye on questions in a few places. ### Marathon Google Group The [**marathon-framework** Google G...
layout: narrow tab: support title: Getting Support for Marathon --- # Getting Support for Marathon Marathon is under constant development by the team at Mesosphere. The team keeps an eye on questions in a few places. ### GitHub Issues Issues and feature requests can be filed through the [GitHub Issues page](https://...
<|file_sep|>original/docs/support.md layout: narrow tab: support title: Getting Support for Marathon --- # Getting Support for Marathon Marathon is under constant development by the team at Mesosphere. The team keeps an eye on questions in a few places. ### Marathon Google Group The [**marathon-framework** Google G...
7b7f45dc803277743b113a1c81cc6584e04fe4cf
docs/support.md
docs/support.md
Markdown
<|file_sep|>original/project.clj (defproject onyx-app/lein-template "0.13.0.0" :description "Onyx Leiningen application template" :url "https://github.com/onyx-platform/onyx-template" :license {:name "MIT License" :url "http://choosealicense.com/licenses/mit/#"} :repositories {"snapshots" {:url "htt...
(defproject onyx-app/lein-template "0.13.0.1-SNAPSHOT" :description "Onyx Leiningen application template" :url "https://github.com/onyx-platform/onyx-template" :license {:name "MIT License" :url "http://choosealicense.com/licenses/mit/#"} :repositories {"snapshots" {:url "https://clojars.org/repo" ...
<|file_sep|>original/project.clj (defproject onyx-app/lein-template "0.13.0.0" :description "Onyx Leiningen application template" :url "https://github.com/onyx-platform/onyx-template" :license {:name "MIT License" :url "http://choosealicense.com/licenses/mit/#"} :repositories {"snapshots" {:url "htt...
9e957a3437de8540c687aa3dfc348daaa42924a7
project.clj
project.clj
Clojure
<|file_sep|>original/samples/twitter-showcase/src/main/webapp/WEB-INF/spring/social-connection.xml <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:social="http://www.springframework.org/schema/spring-social" xsi:schemaLocation="http://www.spring...
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:social="http://www.springframework.org/schema/spring-social" xsi:schemaLocation="http://www.springframework.org/schema/spring-social http://www.springframework.org/schema/social/spring-social-1.0.x...
<|file_sep|>original/samples/twitter-showcase/src/main/webapp/WEB-INF/spring/social-connection.xml <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:social="http://www.springframework.org/schema/spring-social" xsi:schemaLocation="http://www.spring...
4fe8991c0b2788d07809be1d149570d9146dc374
samples/twitter-showcase/src/main/webapp/WEB-INF/spring/social-connection.xml
samples/twitter-showcase/src/main/webapp/WEB-INF/spring/social-connection.xml
XML
<|file_sep|>lib/menagerie/collection.rb.diff original: updated: puts "Found releases: #{existing.map(&:id).join(',')}" <|file_sep|>lib/menagerie/collection.rb.diff original: updated: puts "Deleting releases: #{existing.map(&:id).join(',')}" <|file_sep|>original/lib/menagerie/collection.rb end pri...
end private def rotate existing = releases.reverse.sort puts "Found releases: #{existing.map(&:id).join(',')}" keepers = existing.shift(@options[:retention]) puts "Deleting releases: #{existing.map(&:id).join(',')}" existing.each(&:delete) puts "Rotating releases: #{kee...
<|file_sep|>lib/menagerie/collection.rb.diff original: updated: puts "Found releases: #{existing.map(&:id).join(',')}" <|file_sep|>lib/menagerie/collection.rb.diff original: updated: puts "Deleting releases: #{existing.map(&:id).join(',')}" <|file_sep|>original/lib/menagerie/collection.rb end pri...
dd94d63af42e7e4514fe1817263fa7e63e45965e
lib/menagerie/collection.rb
lib/menagerie/collection.rb
Ruby
<|file_sep|>original/lib/rspec_api_documentation/configuration.rb module RspecApiDocumentation class Configuration def self.add_setting(name, opts) define_method("#{name}=") { |value| settings[name] = value } define_method("#{name}") { settings.has_key?(name) ? settings[name] : opts[:default] } en...
module RspecApiDocumentation class Configuration def self.add_setting(name, opts = {}) define_method("#{name}=") { |value| settings[name] = value } define_method("#{name}") { settings.has_key?(name) ? settings[name] : opts[:default] } end add_setting :docs_dir, :default => Rails.root.join("do...
<|file_sep|>original/lib/rspec_api_documentation/configuration.rb module RspecApiDocumentation class Configuration def self.add_setting(name, opts) define_method("#{name}=") { |value| settings[name] = value } define_method("#{name}") { settings.has_key?(name) ? settings[name] : opts[:default] } en...
a6347f23dcf5ff259360c9bcc4740d7fa9061cd0
lib/rspec_api_documentation/configuration.rb
lib/rspec_api_documentation/configuration.rb
Ruby
<|file_sep|>original/res/values/gtfs_rts_values_gen.xml <?xml version="1.0" encoding="utf-8"?> <resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation"> <integer name="gtfs_rts_agency_type">3</integer> <bool name="gtfs_rts_schedule_available">true</bool> <bool name="gtfs_r...
<?xml version="1.0" encoding="utf-8"?> <resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation"> <integer name="gtfs_rts_agency_type">3</integer> <bool name="gtfs_rts_schedule_available">true</bool> <bool name="gtfs_rts_frequency_available">false</bool> <string name="g...
<|file_sep|>original/res/values/gtfs_rts_values_gen.xml <?xml version="1.0" encoding="utf-8"?> <resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation"> <integer name="gtfs_rts_agency_type">3</integer> <bool name="gtfs_rts_schedule_available">true</bool> <bool name="gtfs_r...
0f1c27598818727ab8ab78f92529e3ced3400761
res/values/gtfs_rts_values_gen.xml
res/values/gtfs_rts_values_gen.xml
XML
<|file_sep|>original/src/main/java/tars/commons/core/Messages.java package tars.commons.core; /** * Container for user visible messages. */ public class Messages { public static final String MESSAGE_UNKNOWN_COMMAND = "Unknown command"; public static final String MESSAGE_INVALID_COMMAND_FORMAT = "Invalid com...
package tars.commons.core; /** * Container for user visible messages. */ public class Messages { public static final String MESSAGE_UNKNOWN_COMMAND = "Unknown command"; public static final String MESSAGE_INVALID_COMMAND_FORMAT = "Invalid command format! \n%1$s"; public static final String MESSAGE_INVALI...
<|file_sep|>original/src/main/java/tars/commons/core/Messages.java package tars.commons.core; /** * Container for user visible messages. */ public class Messages { public static final String MESSAGE_UNKNOWN_COMMAND = "Unknown command"; public static final String MESSAGE_INVALID_COMMAND_FORMAT = "Invalid com...
fcd56080682e3ddb27768ec1029bd844fb9aee2d
src/main/java/tars/commons/core/Messages.java
src/main/java/tars/commons/core/Messages.java
Java
<|file_sep|>original/.travis.yml language: cpp compiler: gcc sudo: required install: - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test - sudo apt-get update - sudo apt-get install -yq build-essential gcc-4.8 g++-4.8 make bison flex libpthread-stubs0-dev - sudo update-alternatives --install /usr/bin/gcc g...
language: cpp compiler: gcc sudo: required install: - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test - sudo apt-get update - sudo apt-get install -yq build-essential gcc-4.8 g++-4.8 make bison flex libpthread-stubs0-dev - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.6 60 --slave /u...
<|file_sep|>original/.travis.yml language: cpp compiler: gcc sudo: required install: - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test - sudo apt-get update - sudo apt-get install -yq build-essential gcc-4.8 g++-4.8 make bison flex libpthread-stubs0-dev - sudo update-alternatives --install /usr/bin/gcc g...
0509bf878c9b9a76153cb6503608f5778f02601b
.travis.yml
.travis.yml
YAML
<|file_sep|>lib/smart_answer_flows/state-pension-age/state_pension_age.govspeak.erb.diff original: Check when you’ll reach State Pension age and Pension Credit qualifying age. updated: You can check: <|file_sep|>original/lib/smart_answer_flows/state-pension-age/state_pension_age.govspeak.erb <% content_for :title d...
<% content_for :title do %> Check your State Pension age <% end %> <% content_for :meta_description do %> Work out your State Pension age and Pension Credit qualifying age <% end %> <% content_for :body do %> You can check: - when you'll reach State Pension age - your Pension Credit qualifying age - when...
<|file_sep|>lib/smart_answer_flows/state-pension-age/state_pension_age.govspeak.erb.diff original: Check when you’ll reach State Pension age and Pension Credit qualifying age. updated: You can check: <|file_sep|>original/lib/smart_answer_flows/state-pension-age/state_pension_age.govspeak.erb <% content_for :title d...
6b2ce0a30406517db680ca82dd64d2b690956b9d
lib/smart_answer_flows/state-pension-age/state_pension_age.govspeak.erb
lib/smart_answer_flows/state-pension-age/state_pension_age.govspeak.erb
HTML+ERB
<|file_sep|>src/utils/polyfillEnvironment.js.diff original: updated: */ <|file_sep|>original/src/utils/polyfillEnvironment.js /** * Copyright 2017-present, Callstack. * All rights reserved. * * polyfillEnvironment.js * * This file is loaded as a part of user bundle /* eslint-disable import/no-extraneous-depend...
/** * Copyright 2017-present, Callstack. * All rights reserved. * * polyfillEnvironment.js * * This file is loaded as a part of user bundle */ /* eslint-disable import/no-extraneous-dependencies */ require('react-native/packager/src/Resolver/polyfills/polyfills.js'); require('react-native/packager/src/Resolver/...
<|file_sep|>src/utils/polyfillEnvironment.js.diff original: updated: */ <|file_sep|>original/src/utils/polyfillEnvironment.js /** * Copyright 2017-present, Callstack. * All rights reserved. * * polyfillEnvironment.js * * This file is loaded as a part of user bundle /* eslint-disable import/no-extraneous-depend...
933174a926f0078aedfdc8c8e8b5b6d184d91200
src/utils/polyfillEnvironment.js
src/utils/polyfillEnvironment.js
JavaScript
<|file_sep|>original/go/api/go_api/tests/utils.py <|file_sep|>current/go/api/go_api/tests/utils.py <|file_sep|>updated/go/api/go_api/tests/utils.py
import json from django.conf import settings from mock import Mock, patch class MockRpc(object): def setUp(self): self.response = self.set_response() self.request = None self.rpc_patcher = patch('go.api.go_api.client.rpc') self.mock_rpc = self.rpc_patcher.start() self.mo...
<|file_sep|>original/go/api/go_api/tests/utils.py <|file_sep|>current/go/api/go_api/tests/utils.py <|file_sep|>updated/go/api/go_api/tests/utils.py import json from django.conf import settings from mock import Mock, patch class MockRpc(object): def setUp(self): self.response = self.set_response() ...
aa7fdb1d7a7b42dee7bcfcf1eb4a4a5efcb3a2e3
go/api/go_api/tests/utils.py
go/api/go_api/tests/utils.py
Python
<|file_sep|>original/app/decorators/service_template_decorator.rb class ServiceTemplateDecorator < MiqDecorator def self.fonticon 'fa fa-cube' end def fonticon atomic? ? super : 'fa fa-cubes' end def fileicon try(:picture) ? "/pictures/#{picture.basename}" : "100/service_template.png" end end ...
class ServiceTemplateDecorator < MiqDecorator def self.fonticon 'fa fa-cube' end def fonticon atomic? ? super : 'fa fa-cubes' end def fileicon try(:picture) ? "/pictures/#{picture.basename}" : nil end def single_quad fileicon ? {:fileicon => fileicon} : {:fonticon => fonticon} end end
<|file_sep|>original/app/decorators/service_template_decorator.rb class ServiceTemplateDecorator < MiqDecorator def self.fonticon 'fa fa-cube' end def fonticon atomic? ? super : 'fa fa-cubes' end def fileicon try(:picture) ? "/pictures/#{picture.basename}" : "100/service_template.png" end end ...
ac3ec6da20682684e6dc644d822178c0a0be6d9e
app/decorators/service_template_decorator.rb
app/decorators/service_template_decorator.rb
Ruby
<|file_sep|>original/.travis.yml - go test -race ./... - go test -coverprofile=sarah.coverprofile . - go test -coverprofile=alerter.line.coverprofile ./alerter/line - go test -coverprofile=gitter.coverprofile ./gitter - go test -coverprofile=log.coverprofile ./log - go test -coverprofile=retry.coverprofile ...
- go test -coverprofile=log.coverprofile ./log - go test -coverprofile=retry.coverprofile ./retry - go test -coverprofile=slack.coverprofile ./slack - go test -coverprofile=watchers.coverprofile ./watchers - go test -coverprofile=workers.coverprofile ./workers - gover - goveralls -coverprofile=gover.cover...
<|file_sep|>original/.travis.yml - go test -race ./... - go test -coverprofile=sarah.coverprofile . - go test -coverprofile=alerter.line.coverprofile ./alerter/line - go test -coverprofile=gitter.coverprofile ./gitter - go test -coverprofile=log.coverprofile ./log - go test -coverprofile=retry.coverprofile ...
ebc8cae729652b53224df9c3bb2e93deacadce1f
.travis.yml
.travis.yml
YAML
<|file_sep|>original/README.md brew install ledger --HEAD ## Usage Install dependencies with npm. npm install ledger-cli Use the Ledger class to execute reports (only balance is currently supported). var Ledger = require('ledger-cli).Ledger; ledger = new Ledger({ file: 'path/to/ledger/journal/file....
brew install ledger --HEAD ## Usage Install dependencies with npm. npm install ledger-cli Use the Ledger class to execute reports (only balance is currently supported). var Ledger = require('ledger-cli').Ledger; ledger = new Ledger({ file: 'path/to/ledger/journal/file.dat' }); ### Balance ...
<|file_sep|>original/README.md brew install ledger --HEAD ## Usage Install dependencies with npm. npm install ledger-cli Use the Ledger class to execute reports (only balance is currently supported). var Ledger = require('ledger-cli).Ledger; ledger = new Ledger({ file: 'path/to/ledger/journal/file....
bb39d1f55656879b53c53e0bc9506c1395490bd4
README.md
README.md
Markdown
<|file_sep|>original/src/Oro/Bundle/ApiBundle/Tests/Unit/Processor/NormalizeValue/NormalizeValueContextTest.php <|file_sep|>current/src/Oro/Bundle/ApiBundle/Tests/Unit/Processor/NormalizeValue/NormalizeValueContextTest.php <|file_sep|>updated/src/Oro/Bundle/ApiBundle/Tests/Unit/Processor/NormalizeValue/NormalizeValue...
<?php namespace Oro\Bundle\ApiBundle\Tests\Unit\Processor\NormalizeValue; use Oro\Bundle\ApiBundle\Processor\NormalizeValue\NormalizeValueContext; class NormalizeValueContextTest extends \PHPUnit_Framework_TestCase { /** @var NormalizeValueContext */ protected $context; public function setUp() { ...
<|file_sep|>original/src/Oro/Bundle/ApiBundle/Tests/Unit/Processor/NormalizeValue/NormalizeValueContextTest.php <|file_sep|>current/src/Oro/Bundle/ApiBundle/Tests/Unit/Processor/NormalizeValue/NormalizeValueContextTest.php <|file_sep|>updated/src/Oro/Bundle/ApiBundle/Tests/Unit/Processor/NormalizeValue/NormalizeValue...
ec59d12a445e2a1f47c40eee9474328c0772ca0c
src/Oro/Bundle/ApiBundle/Tests/Unit/Processor/NormalizeValue/NormalizeValueContextTest.php
src/Oro/Bundle/ApiBundle/Tests/Unit/Processor/NormalizeValue/NormalizeValueContextTest.php
PHP
<|file_sep|>week-4/nums-letters.md.diff original: updated: #Hours in a year <|file_sep|>original/week-4/nums-letters.md 1. What does puts do? Puts stands for "put string" and returns nil but prints the output the the console. 2. What is an integer? What is a float? Integers and numbers without decimal points like...
1. What does puts do? Puts stands for "put string" and returns nil but prints the output the the console. 2. What is an integer? What is a float? Integers and numbers without decimal points like 4, 5000, or -89. Making floats (or floating-point) number with decimal points such as 4.0, 0.87 or -56.12. 3. What is t...
<|file_sep|>week-4/nums-letters.md.diff original: updated: #Hours in a year <|file_sep|>original/week-4/nums-letters.md 1. What does puts do? Puts stands for "put string" and returns nil but prints the output the the console. 2. What is an integer? What is a float? Integers and numbers without decimal points like...
3e495b467855c3d410eb9c85b0a015dfd5562aa2
week-4/nums-letters.md
week-4/nums-letters.md
Markdown
<|file_sep|>.travis.yml.diff original: - 1.4 updated: <|file_sep|>original/.travis.yml language: go sudo: false go: - 1.4 - 1.5 - tip install: - go get -d -t -v ./... - go get github.com/tools/godep before_script: - ./build script: - ./test <|file_sep|>current/.travis.yml language: go sudo: false go: - 1.5 - ti...
language: go sudo: false go: - 1.5 - 1.8 - tip install: - go get -d -t -v ./... - go get github.com/tools/godep before_script: - ./build script: - ./test
<|file_sep|>.travis.yml.diff original: - 1.4 updated: <|file_sep|>original/.travis.yml language: go sudo: false go: - 1.4 - 1.5 - tip install: - go get -d -t -v ./... - go get github.com/tools/godep before_script: - ./build script: - ./test <|file_sep|>current/.travis.yml language: go sudo: false go: - 1.5 - ti...
d1867840048eff3c9fb166e48ac34610de0e2f10
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" - "0.11" env: - NACL_SRC=nacl.min.js - NACL_SRC=nacl-fast.min.js script: "npm run testall" <|file_sep|>current/.travis.yml language: node_js node_js: - "0.10" - "0.11" env: - NACL_SRC=nacl.min.js - NACL_SRC=nacl-fast.min.js script: "np...
language: node_js node_js: - "0.10" - "0.12" env: - NACL_SRC=nacl.min.js - NACL_SRC=nacl-fast.min.js script: "npm run testall"
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" - "0.11" env: - NACL_SRC=nacl.min.js - NACL_SRC=nacl-fast.min.js script: "npm run testall" <|file_sep|>current/.travis.yml language: node_js node_js: - "0.10" - "0.11" env: - NACL_SRC=nacl.min.js - NACL_SRC=nacl-fast.min.js script: "np...
d13de82e3d8ab0160001107358ae75531f33584f
.travis.yml
.travis.yml
YAML
<|file_sep|>original/contrib/aho-corasick/CMakeLists.txt SET(AHOCORASICSRC acism_create.c acism.c) if ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU") SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3") endif () ADD_LIBRARY(rspamd-actrie SHARED ${AHOCORASICSRC}) INSTALL(TARGETS rspamd-...
SET(AHOCORASICSRC acism_create.c acism.c) if ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU") SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3") endif () ADD_LIBRARY(rspamd-actrie SHARED ${AHOCORASICSRC}) INSTALL(TARGETS rspamd-actrie LIBRARY DESTINATION lib/rspamd)
<|file_sep|>original/contrib/aho-corasick/CMakeLists.txt SET(AHOCORASICSRC acism_create.c acism.c) if ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU") SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3") endif () ADD_LIBRARY(rspamd-actrie SHARED ${AHOCORASICSRC}) INSTALL(TARGETS rspamd-...
8f6bde8c1eb6872631f5b1177f1d8121cedf3863
contrib/aho-corasick/CMakeLists.txt
contrib/aho-corasick/CMakeLists.txt
Text
<|file_sep|>original/composer.json { "name": "ministryofjustice/opg-lpa-datamodels", "description": "PHP data models that represent a Lasting Power of Attorney", "minimum-stability": "stable", "license": "MIT", "require": { "php": "^7.1", "symfony/validator": "^4.2", "egulias...
{ "name": "ministryofjustice/opg-lpa-datamodels", "description": "PHP data models that represent a Lasting Power of Attorney", "minimum-stability": "stable", "license": "MIT", "require": { "php": "^7.1 | ^8.0", "symfony/validator": "^4.2", "egulias/email-validator": "~1.2" ...
<|file_sep|>original/composer.json { "name": "ministryofjustice/opg-lpa-datamodels", "description": "PHP data models that represent a Lasting Power of Attorney", "minimum-stability": "stable", "license": "MIT", "require": { "php": "^7.1", "symfony/validator": "^4.2", "egulias...
502f6e7b6a75b22aa7f7d9b55a768ce7f7e46299
composer.json
composer.json
JSON
<|file_sep|>plat/ti/k3/board/generic/include/board_def.h.diff original: * Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved. updated: * Copyright (c) 2017-2019, ARM Limited and Contributors. All rights reserved. <|file_sep|>original/plat/ti/k3/board/generic/include/board_def.h * SPDX-License...
* SPDX-License-Identifier: BSD-3-Clause */ #ifndef BOARD_DEF_H #define BOARD_DEF_H #include <lib/utils_def.h> /* The ports must be in order and contiguous */ #define K3_CLUSTER0_CORE_COUNT U(2) #define K3_CLUSTER1_CORE_COUNT U(2) #define K3_CLUSTER2_CORE_COUNT U(2) #define K3_CLUSTER3_CORE_COUNT U(2) /* * Th...
<|file_sep|>plat/ti/k3/board/generic/include/board_def.h.diff original: * Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved. updated: * Copyright (c) 2017-2019, ARM Limited and Contributors. All rights reserved. <|file_sep|>original/plat/ti/k3/board/generic/include/board_def.h * SPDX-License...
79fadd8f36f90b29386d3dd7d23bae016d4b8671
plat/ti/k3/board/generic/include/board_def.h
plat/ti/k3/board/generic/include/board_def.h
C
<|file_sep|>original/README.md # Cyber Transcriber A browser-based music transcription tool primarily focused on figuring out chord progressions from popular music, playing from whatever music source you have running on your computer, including Youtube videos, streaming services like Rhapsody and Spotify, and native p...
# Cyber Transcriber A browser-based music transcription tool primarily focused on figuring out chord progressions from popular music, playing from whatever music source you have running on your computer, including Youtube videos, streaming services like Rhapsody and Spotify, and native programs like iTunes. It's earl...
<|file_sep|>original/README.md # Cyber Transcriber A browser-based music transcription tool primarily focused on figuring out chord progressions from popular music, playing from whatever music source you have running on your computer, including Youtube videos, streaming services like Rhapsody and Spotify, and native p...
ebf05b3f915fc334529158052879df42d1c345e3
README.md
README.md
Markdown
<|file_sep|>metadata/org.inventati.massimol.liberovocab.yml.diff original: updated: - versionName: 0.9.2 versionCode: 38 commit: v-0.9.2 subdir: liberovocab gradle: - yes <|file_sep|>original/metadata/org.inventati.massimol.liberovocab.yml Repo: https://git.code.sf.net/p/liberovocab/code Buil...
gradle: - yes - versionName: 0.9.1 versionCode: 37 commit: v-0.9.1 subdir: liberovocab gradle: - yes - versionName: 0.9.2 versionCode: 38 commit: v-0.9.2 subdir: liberovocab gradle: - yes AutoUpdateMode: Version v-%v UpdateCheckMode: Tags CurrentVersion: 0.9....
<|file_sep|>metadata/org.inventati.massimol.liberovocab.yml.diff original: updated: - versionName: 0.9.2 versionCode: 38 commit: v-0.9.2 subdir: liberovocab gradle: - yes <|file_sep|>original/metadata/org.inventati.massimol.liberovocab.yml Repo: https://git.code.sf.net/p/liberovocab/code Buil...
8c71c776764136e5c2f6748c2d78d0b8dd6e641b
metadata/org.inventati.massimol.liberovocab.yml
metadata/org.inventati.massimol.liberovocab.yml
YAML
<|file_sep|>original/assets/css/modes/_popup.less .squatch-container-popup { .box-shadow(0 2px 4px rgba(0,0,0,.5)); height: 486px; overflow: hidden; &, #squatch-panel { background: @white; } // Box shadow alternative for lesser "browsers" html.lt-ie9 & { border: 1px solid @gray-lighter; } } ...
.squatch-container-popup { .box-shadow(0 2px 4px rgba(0,0,0,.5)); height: 486px; overflow: hidden; // Disable responsive view on popup temporarily. // This is due to the popup being displayed inconsistently - with responsive styles activated, sometimes the mobile view will be displayed, even on a desktop mon...
<|file_sep|>original/assets/css/modes/_popup.less .squatch-container-popup { .box-shadow(0 2px 4px rgba(0,0,0,.5)); height: 486px; overflow: hidden; &, #squatch-panel { background: @white; } // Box shadow alternative for lesser "browsers" html.lt-ie9 & { border: 1px solid @gray-lighter; } } ...
8f57858d413e398f7b4920747e4f7f2d1cb30e29
assets/css/modes/_popup.less
assets/css/modes/_popup.less
Less
<|file_sep|>test/DebugInfo/ASTSection_linker.swift.diff original: // RUN: %target-swiftc_driver %t/ASTSection.o -Xlinker -sectcreate -Xlinker __SWIFT -Xlinker __ast -Xlinker %t/ASTSection.swiftmodule -o %t/ASTSection.dylib updated: // RUN: ld %t/ASTSection.o -sectcreate __SWIFT __ast %t/ASTSection.swiftmodule -o %t/AST...
// RUN: mkdir %t // RUN: %target-swift-frontend -c -sdk /fake/sdk/path -Xcc -DA -Xcc -DB -emit-module -o %t %S/ASTSection.swift // RUN: %swift-ide-test -test-CompilerInvocation-from-module -source-filename=%t/ASTSection.swiftmodule // Test the inline section mechanism. // RUN: ld %t/ASTSection.o -sectcreate __SWIFT _...
<|file_sep|>test/DebugInfo/ASTSection_linker.swift.diff original: // RUN: %target-swiftc_driver %t/ASTSection.o -Xlinker -sectcreate -Xlinker __SWIFT -Xlinker __ast -Xlinker %t/ASTSection.swiftmodule -o %t/ASTSection.dylib updated: // RUN: ld %t/ASTSection.o -sectcreate __SWIFT __ast %t/ASTSection.swiftmodule -o %t/AST...
189eb3251e94ada209c534ccd4c5ef31979fd3f0
test/DebugInfo/ASTSection_linker.swift
test/DebugInfo/ASTSection_linker.swift
Swift
<|file_sep|>original/modules/proud-navbar/templates/nav-topbar-logo-area.php <?php if ( $topbar_logo || $topbar_title ): ?> <ul class="logo-menu list-unstyled clearfix"> <?php if ( $topbar_logo ): ?> <li class="h3"> <a href="<?php echo get_logo_link_url(); ?>" title="Home" rel="h...
<?php if ( $topbar_logo || $topbar_title ): ?> <ul class="logo-menu list-unstyled clearfix"> <?php if ( $topbar_logo ): ?> <li class="h3"> <a href="<?php echo get_logo_link_url(); ?>" title="Home" rel="home" id="header-logo-topbar" class="nav-logo same-window"> ...
<|file_sep|>original/modules/proud-navbar/templates/nav-topbar-logo-area.php <?php if ( $topbar_logo || $topbar_title ): ?> <ul class="logo-menu list-unstyled clearfix"> <?php if ( $topbar_logo ): ?> <li class="h3"> <a href="<?php echo get_logo_link_url(); ?>" title="Home" rel="h...
55ecaccb250d05fb9bdd8636c2bdaae28170610f
modules/proud-navbar/templates/nav-topbar-logo-area.php
modules/proud-navbar/templates/nav-topbar-logo-area.php
PHP
<|file_sep|>original/packages/styles/assets/img/shared/flags/4x3/ch.svg <svg width="640" height="480" viewBox="0 0 640 480" fill="none" xmlns="http://www.w3.org/2000/svg"> <path fill="red" d="M80 0h480v480H80z"/><path fill="#fff" d="M275 90h90v105h105v90H365v105h-90V285H170v-90h105V90z"/> </svg> <|file_sep|>current/pac...
<svg width="640" height="480" viewBox="0 0 640 480" fill="none" xmlns="http://www.w3.org/2000/svg"> <rect width="640" height="480" fill="#FF0000"/> <path d="M275 90H365V195H470V285H365V390H275V285H170V195H275V90Z" fill="white"/> </svg>
<|file_sep|>original/packages/styles/assets/img/shared/flags/4x3/ch.svg <svg width="640" height="480" viewBox="0 0 640 480" fill="none" xmlns="http://www.w3.org/2000/svg"> <path fill="red" d="M80 0h480v480H80z"/><path fill="#fff" d="M275 90h90v105h105v90H365v105h-90V285H170v-90h105V90z"/> </svg> <|file_sep|>current/pac...
1c10973b6a623a8a6c038e27cec458c7f45527f4
packages/styles/assets/img/shared/flags/4x3/ch.svg
packages/styles/assets/img/shared/flags/4x3/ch.svg
SVG
<|file_sep|>original/scripts/Python/modules/CMakeLists.txt # Disable some warnings triggered by Python's headers. check_cxx_compiler_flag("-Wno-macro-redefined" CXX_SUPPORTS_NO_MACRO_REDEFINED) if (CXX_SUPPORTS_NO_MACRO_REDEFINED) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-macro-redefined") ...
# Disable some warnings triggered by Python's headers. check_cxx_compiler_flag("-Wno-macro-redefined" CXX_SUPPORTS_NO_MACRO_REDEFINED) if (CXX_SUPPORTS_NO_MACRO_REDEFINED) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-macro-redefined") endif () # build the Python readline suppression module on...
<|file_sep|>original/scripts/Python/modules/CMakeLists.txt # Disable some warnings triggered by Python's headers. check_cxx_compiler_flag("-Wno-macro-redefined" CXX_SUPPORTS_NO_MACRO_REDEFINED) if (CXX_SUPPORTS_NO_MACRO_REDEFINED) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-macro-redefined") ...
892238ce61449ca0c26fdd7d7934404c03bf14f6
scripts/Python/modules/CMakeLists.txt
scripts/Python/modules/CMakeLists.txt
Text
<|file_sep|>original/.travis.yml language: java jdk: - openjdk6 env: - TERM=dumb before_install: - chmod +x gradlew script: ./gradlew -PbuildNumber=${TRAVIS_BUILD_NUMBER} -PrevisionNumber=${TRAVIS_COMMIT} -PbranchName=${TRAVIS_BRANCH} clean test check dist integration after_success: - gradle cobertura - gradle cov...
language: java jdk: - openjdk6 env: - TERM=dumb before_install: - chmod +x gradlew script: ./gradlew -PbuildNumber=${TRAVIS_BUILD_NUMBER} -PrevisionNumber=${TRAVIS_COMMIT} -PbranchName=${TRAVIS_BRANCH} clean test check dist integration after_success: - ./gradlew -PbuildNumber=${TRAVIS_BUILD_NUMBER} -PrevisionNumbe...
<|file_sep|>original/.travis.yml language: java jdk: - openjdk6 env: - TERM=dumb before_install: - chmod +x gradlew script: ./gradlew -PbuildNumber=${TRAVIS_BUILD_NUMBER} -PrevisionNumber=${TRAVIS_COMMIT} -PbranchName=${TRAVIS_BRANCH} clean test check dist integration after_success: - gradle cobertura - gradle cov...
b84fdb910151888c3bd7d477d1d2f509a8eb6026
.travis.yml
.travis.yml
YAML
<|file_sep|>original/two-factor-authentication/verify-webhook/verify-webhook.6.x.py <|file_sep|>current/two-factor-authentication/verify-webhook/verify-webhook.6.x.py <|file_sep|>updated/two-factor-authentication/verify-webhook/verify-webhook.6.x.py
import base64 import hashlib import hmac from django.conf import settings from django.http import HttpResponseForbidden from functools import wraps try: from urllib.parse import urlencode except ImportError: from urllib import urlencode def validate_authy_request(f): """Validates that incoming requests g...
<|file_sep|>original/two-factor-authentication/verify-webhook/verify-webhook.6.x.py <|file_sep|>current/two-factor-authentication/verify-webhook/verify-webhook.6.x.py <|file_sep|>updated/two-factor-authentication/verify-webhook/verify-webhook.6.x.py import base64 import hashlib import hmac from django.conf import se...
6ad2a6b20762ebeb842a0d75a4000fc6246d4770
two-factor-authentication/verify-webhook/verify-webhook.6.x.py
two-factor-authentication/verify-webhook/verify-webhook.6.x.py
Python
<|file_sep|>original/package.json { "name": "date-clashes", "version": "0.1.0", "description": "", "main": "date-clashes.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "tsglob && tsc" }, "repository": { "type": "git", "url": "git+https://github.com/seikho...
{ "name": "date-clashes", "version": "0.0.1", "description": "", "main": "date-clashes.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "tsglob && tsc" }, "repository": { "type": "git", "url": "git+https://github.com/seikho/ts-scaffold.git" }, "keywords...
<|file_sep|>original/package.json { "name": "date-clashes", "version": "0.1.0", "description": "", "main": "date-clashes.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "tsglob && tsc" }, "repository": { "type": "git", "url": "git+https://github.com/seikho...
a3ec5de9e59caf6bd4241343113d8bcce554a6b7
package.json
package.json
JSON
<|file_sep|>original/examples/requirements-dev.txt -e . coverage==4.3.2 django-coverage-plugin==1.4 flake8==3.2.1 isort==4.2.5 mccabe==0.5.3 pydocstyle==1.1.1 pep8==1.7.0 pep8-naming==0.4.1 pre-commit==0.10.1 py==1.4.32 pytest==3.0.5 <|file_sep|>current/examples/requirements-dev.txt -e . coverage==4.3.2 django-coverage...
-e . coverage==4.3.3 django-coverage-plugin==1.4 flake8==3.2.1 isort==4.2.5 mccabe==0.5.3 pydocstyle==1.1.1 pep8==1.7.0 pep8-naming==0.4.1 pre-commit==0.10.1 py==1.4.32 pytest==3.0.5
<|file_sep|>original/examples/requirements-dev.txt -e . coverage==4.3.2 django-coverage-plugin==1.4 flake8==3.2.1 isort==4.2.5 mccabe==0.5.3 pydocstyle==1.1.1 pep8==1.7.0 pep8-naming==0.4.1 pre-commit==0.10.1 py==1.4.32 pytest==3.0.5 <|file_sep|>current/examples/requirements-dev.txt -e . coverage==4.3.2 django-coverage...
e1a4da33882d99c0ead6c016519927d9b8313353
examples/requirements-dev.txt
examples/requirements-dev.txt
Text
<|file_sep|>original/package.json { "name": "kademlia" , "version": "0.0.1" , "description": "An implementation of the Kademlia DHT in pure JavaScript" , "keywords": ["dht", "kademlia", "p2p"] , "author": { "name": "Nikhil Marathe" , "email": "nsm.nikhil@gmail.com" , "url": "http://kodeclutz.blogspo...
{ "name": "kademlia" , "version": "0.0.1" , "description": "An implementation of the Kademlia DHT in pure JavaScript" , "keywords": ["dht", "kademlia", "p2p"] , "author": { "name": "Nikhil Marathe" , "email": "nsm.nikhil@gmail.com" , "url": "http://kodeclutz.blogspot.com" } , "files": "lib" , ...
<|file_sep|>original/package.json { "name": "kademlia" , "version": "0.0.1" , "description": "An implementation of the Kademlia DHT in pure JavaScript" , "keywords": ["dht", "kademlia", "p2p"] , "author": { "name": "Nikhil Marathe" , "email": "nsm.nikhil@gmail.com" , "url": "http://kodeclutz.blogspo...
0393fa192acfce4f18c0cc3b372388ee6911ab12
package.json
package.json
JSON
<|file_sep|>original/salt/_grains/digitalocean_metadata.py <|file_sep|>current/salt/_grains/digitalocean_metadata.py <|file_sep|>updated/salt/_grains/digitalocean_metadata.py
# -*- coding: utf-8 -*- ''' :codeauthor: David Boucha :copyright: © 2014 by the SaltStack Team, see AUTHORS for more details. :license: Apache 2.0, see LICENSE for more details. salt.grains.digitalocean_metadata.py ~~~~~~~~~~~~~~~~~~~~~~~ Create a DigitalOcean grain from the DigitalOcean meta...
<|file_sep|>original/salt/_grains/digitalocean_metadata.py <|file_sep|>current/salt/_grains/digitalocean_metadata.py <|file_sep|>updated/salt/_grains/digitalocean_metadata.py # -*- coding: utf-8 -*- ''' :codeauthor: David Boucha :copyright: © 2014 by the SaltStack Team, see AUTHORS for more details. :lice...
55cd293695c5457df8168874734c668a6d028718
salt/_grains/digitalocean_metadata.py
salt/_grains/digitalocean_metadata.py
Python
<|file_sep|>app/views/spree/return_authorizations/labels.html.erb.diff original: updated: <hr class="return-request-printout-divider" /> <|file_sep|>original/app/views/spree/return_authorizations/labels.html.erb <% content_for :head do %> <%= render partial: 'labels_print_styles' %> <% end %> <div class="return-...
<% content_for :head do %> <%= render partial: 'labels_print_styles' %> <% end %> <div class="return-request-printing-instructions"> <h1>Return Form and Address Labels</h1> <p>Print out this page and cut along the dotted lines.</p> <p>Fill out the Return Form to indicate which items you are returning, and ho...
<|file_sep|>app/views/spree/return_authorizations/labels.html.erb.diff original: updated: <hr class="return-request-printout-divider" /> <|file_sep|>original/app/views/spree/return_authorizations/labels.html.erb <% content_for :head do %> <%= render partial: 'labels_print_styles' %> <% end %> <div class="return-...
ceb506f9bae5003ac463b76caac243fe91f042a4
app/views/spree/return_authorizations/labels.html.erb
app/views/spree/return_authorizations/labels.html.erb
HTML+ERB
<|file_sep|>original/sql/branch.py <|file_sep|>current/sql/branch.py <|file_sep|>updated/sql/branch.py
from gratipay import wireup env = wireup.env() db = wireup.db(env) participants = [] with open('./sql/emails.txt') as f: emails = [line.rstrip() for line in f] participants = db.all(""" SELECT p.*::participants FROM participants p WHERE email_address IN %s """, (tuple(emails), ...
<|file_sep|>original/sql/branch.py <|file_sep|>current/sql/branch.py <|file_sep|>updated/sql/branch.py from gratipay import wireup env = wireup.env() db = wireup.db(env) participants = [] with open('./sql/emails.txt') as f: emails = [line.rstrip() for line in f] participants = db.all(""" SELECT p.*...
95f0383393d88328d49ae2af7a042be812d98372
sql/branch.py
sql/branch.py
Python
<|file_sep|>original/composer.json "php": ">=7.0.0", "gajus/dindent": "^2.0.0", "setbased/exception": "^1.0.0", "setbased/abc": "^0.10.0", "setbased/abc-babel": "^0.10.1", "setbased/abc-form": "^0.10.0", "setbased/abc-form-louver": "^0.10.0", "setbased/abc-html": "^1.1.0", "setbased/...
"php": ">=7.0.0", "gajus/dindent": "^2.0.0", "setbased/exception": "^1.0.0", "setbased/abc": "^0.10.0", "setbased/abc-babel": "^0.10.1", "setbased/abc-form": "^0.10.0", "setbased/abc-form-louver": "^0.10.0", "setbased/abc-html": "^1.1.0", "setbased/abc-http-header": "^1.0.0", "se...
<|file_sep|>original/composer.json "php": ">=7.0.0", "gajus/dindent": "^2.0.0", "setbased/exception": "^1.0.0", "setbased/abc": "^0.10.0", "setbased/abc-babel": "^0.10.1", "setbased/abc-form": "^0.10.0", "setbased/abc-form-louver": "^0.10.0", "setbased/abc-html": "^1.1.0", "setbased/...
62622f3c68c368d35324e33be81093be273e6671
composer.json
composer.json
JSON
<|file_sep|>original/.travis.yml script: - if [ $TRAVIS_OS_NAME == osx ]; then mkdir build; cd build; cmake ..; make; make test; fi - if [ $TRAVIS_OS_NAME == linux ]; then docker run -v $PWD:/root/src:ro -v $HOME:/root --priv...
script: - if [ $TRAVIS_OS_NAME == osx ]; then mkdir build; cd build; cmake ..; make; make test; fi - if [ $TRAVIS_OS_NAME == linux ]; then mv ${HOME}/build/cpp-ipfs/cpp-multihash ${HOME}/src docker run -v $HOME:/root --privileged -it lo...
<|file_sep|>original/.travis.yml script: - if [ $TRAVIS_OS_NAME == osx ]; then mkdir build; cd build; cmake ..; make; make test; fi - if [ $TRAVIS_OS_NAME == linux ]; then docker run -v $PWD:/root/src:ro -v $HOME:/root --priv...
46928feaeb9f025ba2f20d1e2d0906f794ec5e8f
.travis.yml
.travis.yml
YAML
<|file_sep|>.travis.yml.diff original: updated: before_install: - sudo apt-get update <|file_sep|>original/.travis.yml - "3.5" node_js: - "6" php: - "7.0" compiler: - gcc install: - sudo apt-get update - if [[ "${TRAVIS_PYTHON_VERSION:0:1}" == "2" ]]; then wget https://repo.continuum.io/miniconda/M...
- "3.5" node_js: - "6" php: - "7.0" compiler: - gcc before_install: - sudo apt-get update install: - sudo apt-get install php7.0 - if [[ "${TRAVIS_PYTHON_VERSION:0:1}" == "2" ]]; then wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh; else wget http...
<|file_sep|>.travis.yml.diff original: updated: before_install: - sudo apt-get update <|file_sep|>original/.travis.yml - "3.5" node_js: - "6" php: - "7.0" compiler: - gcc install: - sudo apt-get update - if [[ "${TRAVIS_PYTHON_VERSION:0:1}" == "2" ]]; then wget https://repo.continuum.io/miniconda/M...
04302c7ab01f2b7dc414ce025e6e6ea4103454c8
.travis.yml
.travis.yml
YAML