prompt
stringlengths
77
6.9k
completion
stringlengths
1
3.38k
text
stringlengths
163
9.03k
commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
lang
stringclasses
277 values
<|file_sep|>original/README.md # Rainbow Scratch # TODO * Create some components * Create comic layout with components * Add favicon * Add mainfest.json w/ cached assets # Random TODOs * Create subdomain for games * Styles and how should the site look * Add tutorials # Fixes TODOs * The main webpack config creates ...
# Rainbow Scratch #WIP * https://rainbowscratch.herokuapp.com/ar - Requires a marker( https://jeromeetienne.github.io/AR.js/data/images/HIRO.jpg ) and a camera * https://rainbowscratch.herokuapp.com/bolt-action - An online tool for building an army for the tabletop game Bolt Action # TODO * Create some components * C...
<|file_sep|>original/README.md # Rainbow Scratch # TODO * Create some components * Create comic layout with components * Add favicon * Add mainfest.json w/ cached assets # Random TODOs * Create subdomain for games * Styles and how should the site look * Add tutorials # Fixes TODOs * The main webpack config creates ...
d612e73a8f3440f34f306f539e0272f7452dfb9b
README.md
README.md
Markdown
<|file_sep|>original/README.md # userscripts My personal scripts that I use to "fix" things that bother me about certain websites I frequent ### Contents * stackOverflow.user.js * Extend pre tags so that you will never have to scroll horizontally (ugly) * Remove right sidebar since I never use it * Increase max ...
# userscripts My personal scripts that I use to "fix" things that bother me about certain websites I frequent ### Contents * stackOverflow.user.js * Extend pre tags so that you will never have to scroll horizontally (ugly) * Remove right sidebar since I never use it * Increase max width of main container div * r...
<|file_sep|>original/README.md # userscripts My personal scripts that I use to "fix" things that bother me about certain websites I frequent ### Contents * stackOverflow.user.js * Extend pre tags so that you will never have to scroll horizontally (ugly) * Remove right sidebar since I never use it * Increase max ...
04eb550a936b559d5dd066d2d70e86feea2e14fe
README.md
README.md
Markdown
<|file_sep|>original/app/views/dashboard/_entry.html.erb <div class="entry"> <h1> <% if entry.created_at.today? %> Today <% else %> <%= l entry.created_at, format: :day_of_week %> <% end %> </h1> <p class="lead"> <%= l entry.created_at, format: :month_day_year %> </p> <%= paginate...
<div class="entry"> <h1> <% if entry.created_at.today? %> Today <% else %> <%= l entry.created_at, format: :day_of_week %> <% end %> </h1> <p class="lead"> <%= l entry.created_at, format: :month_day_year %> </p> <%= paginate @entries %> <%= simple_format(entry.body) %> </div>
<|file_sep|>original/app/views/dashboard/_entry.html.erb <div class="entry"> <h1> <% if entry.created_at.today? %> Today <% else %> <%= l entry.created_at, format: :day_of_week %> <% end %> </h1> <p class="lead"> <%= l entry.created_at, format: :month_day_year %> </p> <%= paginate...
9e5facdbff6c4baf2ffde241f950566368c6e842
app/views/dashboard/_entry.html.erb
app/views/dashboard/_entry.html.erb
HTML+ERB
<|file_sep|>original/tests/options_tests.py @istest def default_style_map_is_used_if_style_map_is_not_set(): assert_equal(_default_style_map, read_options({})["style_map"]) @istest def custom_style_mappings_are_prepended_to_default_style_mappings(): style_map = read_options({ "style_map": "p.SectionTi...
})["style_map"] assert_equal(style_reader.read_style("p.SectionTitle => h2"), style_map[0]) assert_equal(_default_style_map, style_map[1:]) @istest def default_style_mappings_are_ignored_if_include_default_style_map_is_false(): style_map = read_options({ "style_map": "p.SectionTitle => h2", ...
<|file_sep|>original/tests/options_tests.py @istest def default_style_map_is_used_if_style_map_is_not_set(): assert_equal(_default_style_map, read_options({})["style_map"]) @istest def custom_style_mappings_are_prepended_to_default_style_mappings(): style_map = read_options({ "style_map": "p.SectionTi...
97bcf652a18808d89c8de2235e2b32ae933036b6
tests/options_tests.py
tests/options_tests.py
Python
<|file_sep|>original/app/models/media_attachment.rb class MediaAttachment < ApplicationRecord belongs_to :account, inverse_of: :media_attachments belongs_to :status, inverse_of: :media_attachments has_attached_file :file validates_attachment_content_type :file, content_type: /\Aimage\/.*\z/ validates :acco...
class MediaAttachment < ApplicationRecord belongs_to :account, inverse_of: :media_attachments belongs_to :status, inverse_of: :media_attachments has_attached_file :file validates_attachment_content_type :file, content_type: /\Aimage\/.*\z/ validates :account, presence: true def local? self.remote_ur...
<|file_sep|>original/app/models/media_attachment.rb class MediaAttachment < ApplicationRecord belongs_to :account, inverse_of: :media_attachments belongs_to :status, inverse_of: :media_attachments has_attached_file :file validates_attachment_content_type :file, content_type: /\Aimage\/.*\z/ validates :acco...
ed94e998bcd8b952dbd6052309bdf5650b29be4f
app/models/media_attachment.rb
app/models/media_attachment.rb
Ruby
<|file_sep|>original/util/buildscripts/scripts/compile_docker.sh cd / mkdir renderdoc_build cd renderdoc_build CC=clang CXX=clang++ CFLAGS="-fPIC -fvisibility=hidden" LDFLAGS="-static-libstdc++" cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/io/dist/ -DVULKAN_LAYER_FOLDER=/io/dist/etc/vulkan/implicit_...
cd / mkdir renderdoc_build cd renderdoc_build CC=clang CXX=clang++ CFLAGS="-fPIC -fvisibility=hidden" LDFLAGS="-static-libstdc++" cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/io/dist/ -DVULKAN_LAYER_FOLDER=/io/dist/etc/vulkan/implicit_layer.d -DSTATIC_QRENDERDOC=ON -DQRENDERDOC_NO_CXX11_REGEX=ON /re...
<|file_sep|>original/util/buildscripts/scripts/compile_docker.sh cd / mkdir renderdoc_build cd renderdoc_build CC=clang CXX=clang++ CFLAGS="-fPIC -fvisibility=hidden" LDFLAGS="-static-libstdc++" cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/io/dist/ -DVULKAN_LAYER_FOLDER=/io/dist/etc/vulkan/implicit_...
4979157da93eeb1222dd140e05efec198f888dd5
util/buildscripts/scripts/compile_docker.sh
util/buildscripts/scripts/compile_docker.sh
Shell
<|file_sep|>original/android/gradle/wrapper/gradle-wrapper.properties distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-6.2-all.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists <|file_sep|>current/android/gradle/wrapper/gradle-...
distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-6.9.2-all.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists
<|file_sep|>original/android/gradle/wrapper/gradle-wrapper.properties distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-6.2-all.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists <|file_sep|>current/android/gradle/wrapper/gradle-...
29422d35f573a33964f8fbe2b789f2c3170edfca
android/gradle/wrapper/gradle-wrapper.properties
android/gradle/wrapper/gradle-wrapper.properties
INI
<|file_sep|>roles/st2smoketests/tasks/st2chatops.yml.diff original: shell: (sleep 3; echo "!pack get core"; sleep 3; echo exit ) | bin/hubot updated: # when editing, make sure it works for at least 2 adapters: 'shell' and 'slack' shell: timeout 10 bash -c '(sleep 5; echo exit ) | bin/hubot' <|file_sep|>roles/st2s...
args: chdir: /opt/stackstorm/chatops/ environment: HUBOT_LOG_LEVEL: debug register: hubot_output failed_when: no changed_when: no # Additional task to provide better error message - name: Fail if st2chatops couldn't load st2 commands fail: msg: | Please check you 'st2chatops' configuratio...
<|file_sep|>roles/st2smoketests/tasks/st2chatops.yml.diff original: shell: (sleep 3; echo "!pack get core"; sleep 3; echo exit ) | bin/hubot updated: # when editing, make sure it works for at least 2 adapters: 'shell' and 'slack' shell: timeout 10 bash -c '(sleep 5; echo exit ) | bin/hubot' <|file_sep|>roles/st2s...
7dbcc49bc0adc3b2502b6f4caa07769f25fbf0b4
roles/st2smoketests/tasks/st2chatops.yml
roles/st2smoketests/tasks/st2chatops.yml
YAML
<|file_sep|>src/mirplatform.cpp.diff original: updated: #include <QVariant> #include <ubuntu/application/ui/window_properties.h> <|file_sep|>src/mirplatform.cpp.diff original: Q_UNUSED(window) updated: <|file_sep|>original/src/mirplatform.cpp AbstractPlatform(), m_mirPlatformConnection(new MirPlatformCon...
MirPlatform::MirPlatform(): AbstractPlatform(), m_mirPlatformConnection(new MirPlatformConnection) { } void MirPlatform::setupInputPanel(QWindow *window, Maliit::Position position) { Q_UNUSED(position) window->setProperty("role", QVariant(U_ON_SCREEN_KEYBOARD_ROLE)); } void MirPlatform::setInputRegio...
<|file_sep|>src/mirplatform.cpp.diff original: updated: #include <QVariant> #include <ubuntu/application/ui/window_properties.h> <|file_sep|>src/mirplatform.cpp.diff original: Q_UNUSED(window) updated: <|file_sep|>original/src/mirplatform.cpp AbstractPlatform(), m_mirPlatformConnection(new MirPlatformCon...
be8e8b6fe732a58c2aefe549b5b838ee39facc8b
src/mirplatform.cpp
src/mirplatform.cpp
C++
<|file_sep|>original/features/page_visibility.md <|file_sep|>current/features/page_visibility.md <|file_sep|>updated/features/page_visibility.md
--- title: Page Visibility API category: games, apps firefox_status: 10 bugzilla: 690056 mdn_url: https://developer.mozilla.org/en-US/docs/Web/API/Page_Visibility_API spec_url: https://w3c.github.io/page-visibility/ spec_repo: https://github.com/w3c/page-visibility chrome_ref: 5689697795833856 webkit_status: shipped ie...
<|file_sep|>original/features/page_visibility.md <|file_sep|>current/features/page_visibility.md <|file_sep|>updated/features/page_visibility.md --- title: Page Visibility API category: games, apps firefox_status: 10 bugzilla: 690056 mdn_url: https://developer.mozilla.org/en-US/docs/Web/API/Page_Visibility_API spec_u...
7f99d99c969704aa563fb4dbeb0d960708b755bf
features/page_visibility.md
features/page_visibility.md
Markdown
<|file_sep|>original/connect-jenkins-source.properties name=kafka-jenkins-source-connector connector.class=org.aravind.oss.kafka.connect.jenkins.JenkinsSourceConnector tasks.max=1 topic=jenkins.connector.topic jenkins.base.url=<<add jenkins url here>> jenkins.connection.timeoutInMillis=500 jenkins.read.timeoutInMillis=...
name=kafka-jenkins-source-connector connector.class=org.aravind.oss.kafka.connect.jenkins.JenkinsSourceConnector tasks.max=1 topic=jenkins.connector.topic jenkins.base.url=<<add jenkins url here>> jenkins.connection.timeoutInMillis=500 jenkins.read.timeoutInMillis=3000 jenkins.pollIntervalInMillis=<<add poll interval h...
<|file_sep|>original/connect-jenkins-source.properties name=kafka-jenkins-source-connector connector.class=org.aravind.oss.kafka.connect.jenkins.JenkinsSourceConnector tasks.max=1 topic=jenkins.connector.topic jenkins.base.url=<<add jenkins url here>> jenkins.connection.timeoutInMillis=500 jenkins.read.timeoutInMillis=...
b0121a9ee8037e0090cf7e3187280bf65b1ef1d9
connect-jenkins-source.properties
connect-jenkins-source.properties
INI
<|file_sep|>original/ex01/README.md Упражнение 1 ============ Квадратно уравнение ------------------- Напишете програма, която решава квадратното уравнение `ax^2 + bx + c = 0` над множеството на реалните числа, където `a`, `b` и `c` са реални коефициенти, които се въвеждат от стандартния вход. <|file_sep|>current/ex0...
Упражнение 1 ============ Квадратно уравнение ------------------- Напишете програма, която решава квадратното уравнение `ax^2 + bx + c = 0` над множеството на реалните числа, където `a`, `b` и `c` са реални коефициенти, които се въвеждат от стандартния вход. --- [Решение](quadratic-equation.cpp)
<|file_sep|>original/ex01/README.md Упражнение 1 ============ Квадратно уравнение ------------------- Напишете програма, която решава квадратното уравнение `ax^2 + bx + c = 0` над множеството на реалните числа, където `a`, `b` и `c` са реални коефициенти, които се въвеждат от стандартния вход. <|file_sep|>current/ex0...
c17930aa07d3fafe7afd7c6aa2841e021e9eb3c0
ex01/README.md
ex01/README.md
Markdown
<|file_sep|>original/lib/has_magic_columns.rb require 'has_magic_columns/railtie' if defined?(Rails) # Has Magic Columns # # Copyright (c) 2007 Brandon Keene <bkeene AT gmail DOT com> # # Extends @attributes on a per model basis. Column definitions exist through # the built-in :magic_columns association. # # class Mo...
# # class Model < ActiveRecord::Base # has_magic_columns # end # # @model = Model.create(...) #=> @model.id == 1 # @model.magic_columns << MagicColumn.create(:name => "first_name") # @model.first_name = "Brandon" # @model.save # @model = Model.find(1) # @model.first_name #=> "Brandon" module HasMagicColumns # :nodoc:...
<|file_sep|>original/lib/has_magic_columns.rb require 'has_magic_columns/railtie' if defined?(Rails) # Has Magic Columns # # Copyright (c) 2007 Brandon Keene <bkeene AT gmail DOT com> # # Extends @attributes on a per model basis. Column definitions exist through # the built-in :magic_columns association. # # class Mo...
e06d8ba63872742d008ffbc95163372f35c75853
lib/has_magic_columns.rb
lib/has_magic_columns.rb
Ruby
<|file_sep|>README.md.diff original: ``` updated: ```bash <|file_sep|>README.md.diff original: ``` updated: ```bash <|file_sep|>README.md.diff original: ``` updated: ```bash <|file_sep|>original/README.md npm install ``` Start the node server locally: ``` node index.js ``` Or use pm2: ``` pm2 start index.js ``` Then...
npm install ``` Start the node server locally: ```bash node index.js ``` Or use pm2: ```bash pm2 start index.js ``` Then open http://localhost:8000/doc Testing ======= ```bash npm test ```
<|file_sep|>README.md.diff original: ``` updated: ```bash <|file_sep|>README.md.diff original: ``` updated: ```bash <|file_sep|>README.md.diff original: ``` updated: ```bash <|file_sep|>original/README.md npm install ``` Start the node server locally: ``` node index.js ``` Or use pm2: ``` pm2 start index.js ``` Then...
6e3e266cb4ba250c696d4008d707059b6cdf9d24
README.md
README.md
Markdown
<|file_sep|>original/.travis/run-tests.sh #!/bin/bash travisdir=$(dirname $(readlink /proc/$$/fd/255)) testdir="$travisdir/../tests" testedcomponents=(`cat "$travisdir/tested-components"`) result=0 for tested in "${testedcomponents[@]}" do echo "$tested:" phpunit -c $testdir/phpunit.xml --stderr $t...
#!/bin/bash travisdir=$(dirname $(readlink /proc/$$/fd/255)) testdir="$travisdir/../tests" testedcomponents=(`cat "$travisdir/tested-components"`) result=0 for tested in "${testedcomponents[@]}" do echo "$tested:" phpunit -c $testdir/phpunit.xml $testdir/$tested result=$(($result || $?)) do...
<|file_sep|>original/.travis/run-tests.sh #!/bin/bash travisdir=$(dirname $(readlink /proc/$$/fd/255)) testdir="$travisdir/../tests" testedcomponents=(`cat "$travisdir/tested-components"`) result=0 for tested in "${testedcomponents[@]}" do echo "$tested:" phpunit -c $testdir/phpunit.xml --stderr $t...
670ce95ad0e79403b8dbcc19eb961c8241c4e3e2
.travis/run-tests.sh
.travis/run-tests.sh
Shell
<|file_sep|>original/src/rangeValidator.js module.exports = RangeValidator; function RangeValidator(options) { this.defaults = { min: 0, max: 0 }; this.options = _.extend(this.defaults, options); }; RangeValidator.prototype.validate = function(n) { var errors = []; if(n < this.options.min) error...
module.exports = RangeValidator; function RangeValidator(options) { this.defaults = { min: 0, max: 0 }; this.options = _.extend(this.defaults, options); }; RangeValidator.prototype.validate = function(n) { var errors = []; if(n < this.options.min) errors.push('Value less than minimum range'); ...
<|file_sep|>original/src/rangeValidator.js module.exports = RangeValidator; function RangeValidator(options) { this.defaults = { min: 0, max: 0 }; this.options = _.extend(this.defaults, options); }; RangeValidator.prototype.validate = function(n) { var errors = []; if(n < this.options.min) error...
643d52be54f7c801aa1e0dbfa8b2feeaa4268288
src/rangeValidator.js
src/rangeValidator.js
JavaScript
<|file_sep|>examples/logstash/.bitbundler.js.diff original: var loggers = require("bit-bundler/loggers"); var loaderFilter = require("bit-bundler/loggers/loaderFilter"); var JSONStream = require("JSONStream"); updated: const loggers = require("bit-bundler/loggers"); const loaderFilter = require("bit-bundler/loggers/loa...
const loggers = require("bit-bundler/loggers"); const loaderFilter = require("bit-bundler/loggers/loaderFilter"); const JSONStream = require("JSONStream"); const net = require("net"); // TCP client to write to logstash with. const client = net.createConnection({ port: 9400 }); module.exports = { log: loggers.sequen...
<|file_sep|>examples/logstash/.bitbundler.js.diff original: var loggers = require("bit-bundler/loggers"); var loaderFilter = require("bit-bundler/loggers/loaderFilter"); var JSONStream = require("JSONStream"); updated: const loggers = require("bit-bundler/loggers"); const loaderFilter = require("bit-bundler/loggers/loa...
53a1bcb6c6c2ada3b6fc4a9277c86a3f46e3cddd
examples/logstash/.bitbundler.js
examples/logstash/.bitbundler.js
JavaScript
<|file_sep|>original/demos/workflow/scripts/bankaccount.php <?php $UserId = $_SESSION["MangoPayDemo"]["UserLegal"]; $BankAccount = new \MangoPay\BankAccount(); $BankAccount->Type = "IBAN"; $BankAccount->Details = new MangoPay\BankAccountDetailsIBAN(); $BankAccount->Details->IBAN = "FR7618829754160173622224154"; $BankAc...
<?php $UserId = $_SESSION["MangoPayDemo"]["UserLegal"]; $BankAccount = new \MangoPay\BankAccount(); $BankAccount->Type = "IBAN"; $BankAccount->Details = new MangoPay\BankAccountDetailsIBAN(); $BankAccount->Details->IBAN = "FR7618829754160173622224154"; $BankAccount->Details->BIC = "CMBRFR2BCME"; $BankAccount->OwnerName...
<|file_sep|>original/demos/workflow/scripts/bankaccount.php <?php $UserId = $_SESSION["MangoPayDemo"]["UserLegal"]; $BankAccount = new \MangoPay\BankAccount(); $BankAccount->Type = "IBAN"; $BankAccount->Details = new MangoPay\BankAccountDetailsIBAN(); $BankAccount->Details->IBAN = "FR7618829754160173622224154"; $BankAc...
4a9de7410e3e5dacaeefd8b94b6d1b6af2141328
demos/workflow/scripts/bankaccount.php
demos/workflow/scripts/bankaccount.php
PHP
<|file_sep|>original/week-4/nums-letter.md <|file_sep|>current/week-4/nums-letter.md <|file_sep|>updated/week-4/nums-letter.md
ERROR: type should be string, got "\nhttps://github.com/portatlas/phase-0/blob/master/week-4/defining-variables.rb\nhttps://github.com/portatlas/phase-0/blob/master/week-4/simple-string.rb\nhttps://github.com/portatlas/phase-0/blob/master/week-4/basic-math.rb\n\n**What does puts do?**\nputs is a ruby command that stands for put string. puts prints the output of the code to a new line, however, it does not return any value.\n\n**What is an integer? What is a float?**\nAn integer is a number without decimal points. A float is a number with decimal points.\n\n**What is the difference between float and integer division? How would you explain the difference to someone who doesn't know anything about programming?**\nInteger division will not return any remainders. For example the integer 5 divided by the integer 2 (5/2) will return 2. The remainder 0.5 will not be displayed and ruby willl round down the value. Float division, on the other hand will return the remainder. A good way to explain float division is if you are out with a 5 friends and in total you only have 7 dollars in cash. If you all want to take the bus home and the bus ticket is $2. Only 3 of you will be able to get home by bus. The remainder 1 dollar will not suffice to get anyone tickets.\n\n**Write a program that calculates and outputs the:**\n\n**Hours in a year**\n'''\nputs 24 * 365\n'''\n"
<|file_sep|>original/week-4/nums-letter.md <|file_sep|>current/week-4/nums-letter.md <|file_sep|>updated/week-4/nums-letter.md https://github.com/portatlas/phase-0/blob/master/week-4/defining-variables.rb https://github.com/portatlas/phase-0/blob/master/week-4/simple-string.rb https://github.com/portatlas/phase-0/bl...
97190474589978f57edb335c15c45024d3c8ec8f
week-4/nums-letter.md
week-4/nums-letter.md
Markdown
<|file_sep|>original/lib/boxer_linux.cpp #include <boxer/boxer.h> #include <gtk/gtk.h> namespace boxer { void show(const char *message, const char *title) { gtk_init(0, NULL); GtkWidget *dialog = gtk_message_dialog_new(NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_INFO, GTK_BUTTONS_OK, ...
#include <gtk/gtk.h> namespace boxer { void show(const char *message, const char *title) { gtk_init(0, NULL); GtkWidget *dialog = gtk_message_dialog_new(NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_INFO, GTK_BUTTONS_OK, "%s", message); gtk_window_set_title(GTK...
<|file_sep|>original/lib/boxer_linux.cpp #include <boxer/boxer.h> #include <gtk/gtk.h> namespace boxer { void show(const char *message, const char *title) { gtk_init(0, NULL); GtkWidget *dialog = gtk_message_dialog_new(NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_INFO, GTK_BUTTONS_OK, ...
120016886bd2859ba6e62eab39a323b817a74e9c
lib/boxer_linux.cpp
lib/boxer_linux.cpp
C++
<|file_sep|>original/.travis.yml language: python services: redis-server python: - "2.7" env: - FLASK_VERSION=0.9 REDIS_VERSION=2.4.13 - FLASK_VERSION=0.9 REDIS_VERSION=2.6.2 - FLASK_VERSION=0.9 REDIS_VERSION=2.7.4 - FLASK_VERSION=0.10 REDIS_VERSION=2.4.13 - FLASK_VERSION=0.10 REDIS_VERSION=2.6.2 - FLASK_VERSION...
language: python services: redis-server python: - "2.7" env: - FLASK_VERSION=0.10 REDIS_VERSION=2.4.13 - FLASK_VERSION=0.10 REDIS_VERSION=2.6.2 - FLASK_VERSION=0.10 REDIS_VERSION=2.7.4 install: - "pip install -r requirements.txt" - "pip install -r requirements_tests.txt" - "pip install -I Flask==$FLASK_VERSION" ...
<|file_sep|>original/.travis.yml language: python services: redis-server python: - "2.7" env: - FLASK_VERSION=0.9 REDIS_VERSION=2.4.13 - FLASK_VERSION=0.9 REDIS_VERSION=2.6.2 - FLASK_VERSION=0.9 REDIS_VERSION=2.7.4 - FLASK_VERSION=0.10 REDIS_VERSION=2.4.13 - FLASK_VERSION=0.10 REDIS_VERSION=2.6.2 - FLASK_VERSION...
41ab5e9abf3eb2b14f1d5d5a8134975a5536f2ec
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml rvm: - 1.9.3 - 2.0.0 - 2.1.2 before_install: - git submodule update --init --recursive <|file_sep|>current/.travis.yml rvm: - 1.9.3 - 2.0.0 - 2.1.2 before_install: - git submodule update --init --recursive <|file_sep|>updated/.travis.yml
rvm: - 1.9.3 - 2.0 - 2.1 - 2.2 before_install: - git submodule update --init --recursive
<|file_sep|>original/.travis.yml rvm: - 1.9.3 - 2.0.0 - 2.1.2 before_install: - git submodule update --init --recursive <|file_sep|>current/.travis.yml rvm: - 1.9.3 - 2.0.0 - 2.1.2 before_install: - git submodule update --init --recursive <|file_sep|>updated/.travis.yml rvm: - 1.9.3 - 2.0 - 2.1 ...
67f20b1105daa523cda2287c2c83e9718f4bbd82
.travis.yml
.travis.yml
YAML
<|file_sep|>original/osf/migrations/0037_remove_emails_for_unconfirmed_users.py <|file_sep|>current/osf/migrations/0037_remove_emails_for_unconfirmed_users.py <|file_sep|>updated/osf/migrations/0037_remove_emails_for_unconfirmed_users.py
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2017-06-16 19:59 """Removes Email objects that associated with unconfirmed users. These were incorrectly created in 0033_user_emails_to_fk. """ from __future__ import unicode_literals from django.db import migrations def remove_emails(state, *args, **kwargs): ...
<|file_sep|>original/osf/migrations/0037_remove_emails_for_unconfirmed_users.py <|file_sep|>current/osf/migrations/0037_remove_emails_for_unconfirmed_users.py <|file_sep|>updated/osf/migrations/0037_remove_emails_for_unconfirmed_users.py # -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2017-06-16 19:59 """Remo...
14d9f4c6cdea8b2bac1ea199509a5da49ae3d85a
osf/migrations/0037_remove_emails_for_unconfirmed_users.py
osf/migrations/0037_remove_emails_for_unconfirmed_users.py
Python
<|file_sep|>original/darwin/pboard.zsh <|file_sep|>current/darwin/pboard.zsh <|file_sep|>updated/darwin/pboard.zsh
# This is related with .CFUserTextEncoding file located in same directory # See http://developer.apple.com/documentation/CoreFoundation/Reference/CFStringRef/Reference/reference.html uid=`printf '0x%X' \`id -u\`` alias pbcopy="__CF_USER_TEXT_ENCODING=${uid}:0x8000100:14 pbcopy" alias pbpaste="__CF_USER_TEXT_ENCODING=${...
<|file_sep|>original/darwin/pboard.zsh <|file_sep|>current/darwin/pboard.zsh <|file_sep|>updated/darwin/pboard.zsh # This is related with .CFUserTextEncoding file located in same directory # See http://developer.apple.com/documentation/CoreFoundation/Reference/CFStringRef/Reference/reference.html uid=`printf '0x%X' \...
cc35aedb233e72a3a275b16ec816bde1ffd41386
darwin/pboard.zsh
darwin/pboard.zsh
Shell
<|file_sep|>original/composer.json { "name": "koyhoge/php-ncmb", "description": "PHP SDK for NIFTY Cloud mobile backend (NCMB)", "version": "1.0.0", "license": "MIT", "authors": [ { "name": "KOYAMA Tetsuji", "email": "koyama@hoge.org", "homepage": "http://koyhogetech.hatenablog.com/"...
{ "name": "koyhoge/php-ncmb", "description": "PHP SDK for NIFTY Cloud mobile backend (NCMB)", "version": "0.1.0", "license": "MIT", "authors": [ { "name": "KOYAMA Tetsuji", "email": "koyama@hoge.org", "homepage": "http://koyhogetech.hatenablog.com/" } ], "require": { ...
<|file_sep|>original/composer.json { "name": "koyhoge/php-ncmb", "description": "PHP SDK for NIFTY Cloud mobile backend (NCMB)", "version": "1.0.0", "license": "MIT", "authors": [ { "name": "KOYAMA Tetsuji", "email": "koyama@hoge.org", "homepage": "http://koyhogetech.hatenablog.com/"...
857cf5304edd627f07e693af9b25698d1f63af15
composer.json
composer.json
JSON
<|file_sep|>.travis.yml.diff original: updated: - 1.8.6 <|file_sep|>.travis.yml.diff original: updated: - ree <|file_sep|>.travis.yml.diff original: - rbx-19mode - rbx-20mode updated: - ruby-head <|file_sep|>original/.travis.yml language: ruby rvm: - 1.8.7 - 1.9.3 - 2.0.0 - rbx-19mode - rbx-20mode...
language: ruby rvm: - 1.8.6 - 1.8.7 - ree - 1.9.3 - 2.0.0 - ruby-head - jruby
<|file_sep|>.travis.yml.diff original: updated: - 1.8.6 <|file_sep|>.travis.yml.diff original: updated: - ree <|file_sep|>.travis.yml.diff original: - rbx-19mode - rbx-20mode updated: - ruby-head <|file_sep|>original/.travis.yml language: ruby rvm: - 1.8.7 - 1.9.3 - 2.0.0 - rbx-19mode - rbx-20mode...
1c86a17b2c8b8d2914a7ad7c3338a2da0f776594
.travis.yml
.travis.yml
YAML
<|file_sep|>original/eng/pipelines/templates/steps/sync-directory.yml - pwsh: | git clone --branch master https://github.com/azure/${{ repo }} $repoPath = "${{ repo }}/${{ parameters.DirectoryToSync }}" if (!(Test-Path $repoPath)) { mkdir $repoPath } Remove-Item -v -r $repoPath Copy-Ite...
- pwsh: | git clone --branch master https://github.com/azure/${{ repo }} $repoPath = "${{ repo }}/${{ parameters.DirectoryToSync }}" if (!(Test-Path $repoPath)) { mkdir $repoPath } Remove-Item -v -r $repoPath Copy-Item -v -r $(Build.SourcesDirectory)/${{ parameters.DirectoryToSync }} $r...
<|file_sep|>original/eng/pipelines/templates/steps/sync-directory.yml - pwsh: | git clone --branch master https://github.com/azure/${{ repo }} $repoPath = "${{ repo }}/${{ parameters.DirectoryToSync }}" if (!(Test-Path $repoPath)) { mkdir $repoPath } Remove-Item -v -r $repoPath Copy-Ite...
a02a81065f5d899a283ddad08bda20873fe9ce47
eng/pipelines/templates/steps/sync-directory.yml
eng/pipelines/templates/steps/sync-directory.yml
YAML
<|file_sep|>themes/base/css/widget.css.diff original: border: 0; height: 100%; left: 0; margin: 0; opacity: 0; padding: 0; position: absolute; top: 0; width: 100%; z-index: -1; updated: border: 0; height: 100%; left: 0; margin: 0; opacity: 0; padding: 0; position: absolute...
position: absolute; top: 0; width: 100%; z-index: -1; /* IE8 */ -ms-filter: alpha(opacity=0); /* IE7/IE8(quirks) and below */ filter: alpha(opacity=0); /* IE6 */ _width:0; _height:0; } .aui-overlay { position: absolute; } .aui-overlay-hidden, .aui-contextoverlay-hidden { visibility: hidden; }
<|file_sep|>themes/base/css/widget.css.diff original: border: 0; height: 100%; left: 0; margin: 0; opacity: 0; padding: 0; position: absolute; top: 0; width: 100%; z-index: -1; updated: border: 0; height: 100%; left: 0; margin: 0; opacity: 0; padding: 0; position: absolute...
f1d4b77008ac8e651d6c9e860f8adef3c8dfaeb4
themes/base/css/widget.css
themes/base/css/widget.css
CSS
<|file_sep|>original/src/gamescene.cpp { GameScene *scene = qobject_cast<GameScene *>(list->object); if (scene) { gameItem->setParentItem(scene); scene->m_gameItems.append(gameItem); } } GameScene::GameScene(QQuickItem *parent) : QQuickItem(parent) { } QDeclarativeListProperty<GameItem...
{ GameScene *scene = qobject_cast<GameScene *>(list->object); if (scene) { gameItem->setParentItem(scene); scene->m_gameItems.append(gameItem); } } GameScene::GameScene(QQuickItem *parent) : QQuickItem(parent) , m_running(true) { } QDeclarativeListProperty<GameItem> GameScene::game...
<|file_sep|>original/src/gamescene.cpp { GameScene *scene = qobject_cast<GameScene *>(list->object); if (scene) { gameItem->setParentItem(scene); scene->m_gameItems.append(gameItem); } } GameScene::GameScene(QQuickItem *parent) : QQuickItem(parent) { } QDeclarativeListProperty<GameItem...
072dc65dcfc91e635e8a9a0c660b201681c86a36
src/gamescene.cpp
src/gamescene.cpp
C++
<|file_sep|>original/config/initializers/secure_headers.rb # frozen_string_literal: true SecureHeaders::Configuration.default do |config| normal_src = ["'self'"] if ENV['PUBLIC_HOSTNAME'] fastly_alternate = 'https://' + ENV['PUBLIC_HOSTNAME'] + '.global.ssl.fastly.net' normal_src += [...
# frozen_string_literal: true SecureHeaders::Configuration.default do |config| normal_src = ["'self'"] if ENV['PUBLIC_HOSTNAME'] fastly_alternate = 'https://' + ENV['PUBLIC_HOSTNAME'] + '.global.ssl.fastly.net' normal_src += [fastly_alternate] end config.hsts = "max-age=#{20.years...
<|file_sep|>original/config/initializers/secure_headers.rb # frozen_string_literal: true SecureHeaders::Configuration.default do |config| normal_src = ["'self'"] if ENV['PUBLIC_HOSTNAME'] fastly_alternate = 'https://' + ENV['PUBLIC_HOSTNAME'] + '.global.ssl.fastly.net' normal_src += [...
30bc3faf05a3264c16a71bd668d0cfb09cb7983e
config/initializers/secure_headers.rb
config/initializers/secure_headers.rb
Ruby
<|file_sep|>original/src/Couchbase.Lite.Tests.Shared/Assets/GatewayConfig.json { "log":["REST", "REST+", "HTTP", "HTTP+", "Access", "Cache", "Shadow", "Shadow+", "CRUD", "CRUD+", "Changes", "Changes+", "JSON", "JSON+"], "verbose": true, "databases": { "db": { "server":"walrus:", ...
{ "adminInterface": ":4985", "interface": ":4984", "log":["REST", "REST+", "HTTP", "HTTP+", "Access", "Cache", "Shadow", "Shadow+", "CRUD", "CRUD+", "Changes", "Changes+", "JSON", "JSON+"], "verbose": true, "databases": { "db": { "server":"walrus:", "users": {"...
<|file_sep|>original/src/Couchbase.Lite.Tests.Shared/Assets/GatewayConfig.json { "log":["REST", "REST+", "HTTP", "HTTP+", "Access", "Cache", "Shadow", "Shadow+", "CRUD", "CRUD+", "Changes", "Changes+", "JSON", "JSON+"], "verbose": true, "databases": { "db": { "server":"walrus:", ...
2904c180bf8f02e30678e7fd3a7b4eb33a0a52b1
src/Couchbase.Lite.Tests.Shared/Assets/GatewayConfig.json
src/Couchbase.Lite.Tests.Shared/Assets/GatewayConfig.json
JSON
<|file_sep|>original/app/controllers/tags_controller.rb class TagsController < ApplicationController autocomplete :tag, :name, full: true def show @tag = Tag.find_by_name params[:id] if @tag @query = @tag.name issues = Issue.find_by_tag(@tag).order('updated_at desc').page(params[:issue_page]) ...
class TagsController < ApplicationController autocomplete :tag, :name, full: true def show @tag = Tag.find_by_name params[:id] if @tag @query = @tag.name issues = Issue.find_by_tag(@tag).order('updated_at desc').page(params[:issue_page]) @issues = IssueDecorator.decorate_collection issues...
<|file_sep|>original/app/controllers/tags_controller.rb class TagsController < ApplicationController autocomplete :tag, :name, full: true def show @tag = Tag.find_by_name params[:id] if @tag @query = @tag.name issues = Issue.find_by_tag(@tag).order('updated_at desc').page(params[:issue_page]) ...
5908d7cb048535a222d5c58adcebec493ef18291
app/controllers/tags_controller.rb
app/controllers/tags_controller.rb
Ruby
<|file_sep|>original/src/test/java/com/fasterxml/jackson/core/read/NextNameParserTest.java <|file_sep|>current/src/test/java/com/fasterxml/jackson/core/read/NextNameParserTest.java <|file_sep|>updated/src/test/java/com/fasterxml/jackson/core/read/NextNameParserTest.java
package com.fasterxml.jackson.core.read; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonToken; public class NextNameParserTest extends com.fasterxml.jackson.core.BaseTest { public void testBasicNextNameWithReader() throws Exception { _testBasicNextName(MODE_REA...
<|file_sep|>original/src/test/java/com/fasterxml/jackson/core/read/NextNameParserTest.java <|file_sep|>current/src/test/java/com/fasterxml/jackson/core/read/NextNameParserTest.java <|file_sep|>updated/src/test/java/com/fasterxml/jackson/core/read/NextNameParserTest.java package com.fasterxml.jackson.core.read; impor...
5f3d0f4978fb5181dba1855490650ad98a4cfbed
src/test/java/com/fasterxml/jackson/core/read/NextNameParserTest.java
src/test/java/com/fasterxml/jackson/core/read/NextNameParserTest.java
Java
<|file_sep|>original/.travis.yml language: python python: - "2.6" - "2.7" # - "3.2" # does not have headers provided, please ask https://launchpad.net/~pypy/+archive/ppa # maintainers to fix their pypy-dev package. #- "pypy" # command to install dependencies install: - pip install -r requirements.txt # co...
language: python python: # - "2.6" - "2.7" # - "3.2" # does not have headers provided, please ask https://launchpad.net/~pypy/+archive/ppa # maintainers to fix their pypy-dev package. #- "pypy" # command to install dependencies install: - pip install -r requirements.txt # command to run tests script: pyth...
<|file_sep|>original/.travis.yml language: python python: - "2.6" - "2.7" # - "3.2" # does not have headers provided, please ask https://launchpad.net/~pypy/+archive/ppa # maintainers to fix their pypy-dev package. #- "pypy" # command to install dependencies install: - pip install -r requirements.txt # co...
9bda54df22bcf73d8e4bea27b9eff1ef24ba4723
.travis.yml
.travis.yml
YAML
<|file_sep|>original/_pages/1-blog.md # Icon feature uses Font Awesome icon: fa-edit # Strings used for posts counter message msg_qtd: ['São','postagens no total.'] # Enable / Disable 'Tag' and 'Search' buttons in the post listing layout. buttons: false # Enable / Disable this page in the main menu. menu: true publ...
# Strings used for posts counter message msg_qtd: ['São','postagens no total.'] # Enable / Disable 'Tag' and 'Search' buttons in the post listing layout. buttons: false # Enable / Disable this page in the main menu. menu: true published: true # Does not change and does not remove 'script' variables script: [postli...
<|file_sep|>original/_pages/1-blog.md # Icon feature uses Font Awesome icon: fa-edit # Strings used for posts counter message msg_qtd: ['São','postagens no total.'] # Enable / Disable 'Tag' and 'Search' buttons in the post listing layout. buttons: false # Enable / Disable this page in the main menu. menu: true publ...
441bc95ec372c2de666a5eb5c14c6d703febb99a
_pages/1-blog.md
_pages/1-blog.md
Markdown
<|file_sep|>original/client/lib/i18n.js } if (!language) { if(navigator.languages) { language = navigator.languages[0]; } else { language = navigator.language || navigator.userLanguage; } } if (language) { TAPi18n.setLanguage(language); T9n.setLanguage(lan...
Tracker.autorun(() => { const currentUser = Meteor.user(); let language; if (currentUser) { language = currentUser.profile && currentUser.profile.language; } if (!language) { if(navigator.languages) { language = navigator.languages[0]; } else { language = navigat...
<|file_sep|>original/client/lib/i18n.js } if (!language) { if(navigator.languages) { language = navigator.languages[0]; } else { language = navigator.language || navigator.userLanguage; } } if (language) { TAPi18n.setLanguage(language); T9n.setLanguage(lan...
5752383d3cf7fa1d26c6b4815d07443bed7df4b3
client/lib/i18n.js
client/lib/i18n.js
JavaScript
<|file_sep|>original/vim/mappings.vim " use tab for indenting nnoremap <Tab> >>_ nnoremap <S-Tab> <<_ inoremap <S-Tab> <C-D> vnoremap <Tab> >gV vnoremap <S-Tab> <gV " split horizontally with h nnoremap <C-w>h <C-w>s " fly between buffers: " http://of-vim-and-vigor.blogspot.ro/p/vim-vigor-comic.html nnoremap <leader>...
nnoremap <C-w>h <C-w>s " fly between buffers: " http://of-vim-and-vigor.blogspot.ro/p/vim-vigor-comic.html nnoremap <leader>l :ls<CR>:b<space> " prepend leader to copy to null register " http://unix.stackexchange.com/a/88755 nnoremap <leader>c "_c nnoremap <leader>d "_d " quick close buffer cmap qq bd " fix C-h na...
<|file_sep|>original/vim/mappings.vim " use tab for indenting nnoremap <Tab> >>_ nnoremap <S-Tab> <<_ inoremap <S-Tab> <C-D> vnoremap <Tab> >gV vnoremap <S-Tab> <gV " split horizontally with h nnoremap <C-w>h <C-w>s " fly between buffers: " http://of-vim-and-vigor.blogspot.ro/p/vim-vigor-comic.html nnoremap <leader>...
0d98b8bf8520142cf9b98a59e5b3df9080999a85
vim/mappings.vim
vim/mappings.vim
VimL
<|file_sep|>original/coffee/main.coffee $ -> DIC_URL_PREFIX = 'http://alldic.daum.net/search.do?dic=eng&q=' IMAGES_URL_PREFIX = 'http://images.search.yahoo.com/search/images?p=' $input = $('input') $button = $('button') $dicIframe = $('iframe.dic') $imagesIframe = $('iframe.images') search = -> query ...
$ -> DIC_URL_PREFIX = 'http://alldic.daum.net/search.do?dic=eng&q=' IMAGES_URL_PREFIX = 'https://duckduckgo.com/?%3Fiax=1&iax=1&ia=images&q=' $input = $('input') $button = $('button') $dicIframe = $('iframe.dic') $imagesIframe = $('iframe.images') search = -> query = $input.val() return if query i...
<|file_sep|>original/coffee/main.coffee $ -> DIC_URL_PREFIX = 'http://alldic.daum.net/search.do?dic=eng&q=' IMAGES_URL_PREFIX = 'http://images.search.yahoo.com/search/images?p=' $input = $('input') $button = $('button') $dicIframe = $('iframe.dic') $imagesIframe = $('iframe.images') search = -> query ...
91c503e28c7f93c29d47740225bd6bd26d83e786
coffee/main.coffee
coffee/main.coffee
CoffeeScript
<|file_sep|>app/views/posts/show.html.erb.diff original: updated: <div> <h3><%= link_to 'Back to Greenhouse', posts_path %></h3> </div> <div class="text-center page-header"> <|file_sep|>app/views/posts/show.html.erb.diff original: <%= link_to 'Hide', hide_post_path(@post), method: :post, class:'btn b...
<%= render 'layouts/nav' %> <div class="post-container"> <div> <h3><%= link_to 'Back to Greenhouse', posts_path %></h3> </div> <div class="text-center page-header"> <span class="post-tags"> <%= link_to 'Hide', hide_post_path(@post), method: :post, class:'btn btn-warning' if current_user.admin? %> ...
<|file_sep|>app/views/posts/show.html.erb.diff original: updated: <div> <h3><%= link_to 'Back to Greenhouse', posts_path %></h3> </div> <div class="text-center page-header"> <|file_sep|>app/views/posts/show.html.erb.diff original: <%= link_to 'Hide', hide_post_path(@post), method: :post, class:'btn b...
af9d06c286200db9753eced8eb01ab4151fb50fc
app/views/posts/show.html.erb
app/views/posts/show.html.erb
HTML+ERB
<|file_sep|>_includes/header.html.diff original: <form class="navbar-form navbar-right" action="/search" method="GET"> updated: <form class="navbar-form navbar-right search"> <|file_sep|>original/_includes/header.html <div class="container"> <!-- Brand and toggle get grouped for better mobile display ...
<div class="container"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false"> <span class="sr-only">Open Search</s...
<|file_sep|>_includes/header.html.diff original: <form class="navbar-form navbar-right" action="/search" method="GET"> updated: <form class="navbar-form navbar-right search"> <|file_sep|>original/_includes/header.html <div class="container"> <!-- Brand and toggle get grouped for better mobile display ...
bf7785cb4224c47a7dc5f35d9290d9e2901950c6
_includes/header.html
_includes/header.html
HTML
<|file_sep|>original/README.md - This project was bootstrapped with [Create React App](https://github.com/facebookincubator/create-react-app).You can find the most recent version of this guide [here](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md). - The npm...
- This project was bootstrapped with [Create React App](https://github.com/facebookincubator/create-react-app).You can find the most recent version of this guide [here](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md). - The npm installation includes react-ro...
<|file_sep|>original/README.md - This project was bootstrapped with [Create React App](https://github.com/facebookincubator/create-react-app).You can find the most recent version of this guide [here](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md). - The npm...
2fc976359e9e3c57bdd3a35b01b93baabaf95d1c
README.md
README.md
Markdown
<|file_sep|>original/include/utils/string_to_enum.h // License along with this library; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #ifndef LIBMESH_STRING_TO_ENUM_H #define LIBMESH_STRING_TO_ENUM_H // C++ includes #include <string> namespace lib...
// License along with this library; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #ifndef LIBMESH_STRING_TO_ENUM_H #define LIBMESH_STRING_TO_ENUM_H // libMesh includes #include "libmesh/enum_to_string.h" // backwards compatibility // C++ includes...
<|file_sep|>original/include/utils/string_to_enum.h // License along with this library; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #ifndef LIBMESH_STRING_TO_ENUM_H #define LIBMESH_STRING_TO_ENUM_H // C++ includes #include <string> namespace lib...
0b77e6dcf6955ffd783830104c12563a650d3e25
include/utils/string_to_enum.h
include/utils/string_to_enum.h
C
<|file_sep|>application/views/Admin/code-file.html.php.diff original: updated: <?php if ($ReadOnly) { ?> <h2>Viewing: <?= $FilePath ?></h2> <p class="error">This file is not writable by the current user.</p> <?php } else { ?> <h2>Editing: <?= $FilePath ?></h2> <?php } ?> <|file_sep|>original/applicat...
<div class="content-body"> <?php if ($ReadOnly) { ?> <h2>Viewing: <?= $FilePath ?></h2> <p class="error">This file is not writable by the current user.</p> <?php } else { ?> <h2>Editing: <?= $FilePath ?></h2> <?php } ?> <form action="<?= $ControllerURL ?>/code" method="post"> <input ...
<|file_sep|>application/views/Admin/code-file.html.php.diff original: updated: <?php if ($ReadOnly) { ?> <h2>Viewing: <?= $FilePath ?></h2> <p class="error">This file is not writable by the current user.</p> <?php } else { ?> <h2>Editing: <?= $FilePath ?></h2> <?php } ?> <|file_sep|>original/applicat...
f96be1472f5f3b2e4eaa40091671d243afa535cf
application/views/Admin/code-file.html.php
application/views/Admin/code-file.html.php
PHP
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" before_install: - npm install -g grunt-cli karma-cli before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start <|file_sep|>current/.travis.yml language: node_js node_js: - "0.10" before_install: - npm install -g grunt-cli kar...
language: node_js node_js: - "0.10" before_install: - npm install -qg grunt-cli karma-cli before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" before_install: - npm install -g grunt-cli karma-cli before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start <|file_sep|>current/.travis.yml language: node_js node_js: - "0.10" before_install: - npm install -g grunt-cli kar...
99f74aa513ee0f4aa3f8d322bd238a4cbbf778df
.travis.yml
.travis.yml
YAML
<|file_sep|>original/lib/dugway/application.rb @theme.find_image_by_env(env) elsif template = find_template(request) [200, { 'Content-Type' => template.content_type }, [template.render(@theme, @store, request)]] else [404, { 'Content-Type' => 'text/plain' }, ['Page not found']] ...
@theme.find_image_by_env(env) elsif template = find_template(request) [200, { 'Content-Type' => template.content_type }, [template.render(@theme, @store, request)]] else [404, { 'Content-Type' => 'text/plain' }, ['Page not found']] end end private def find...
<|file_sep|>original/lib/dugway/application.rb @theme.find_image_by_env(env) elsif template = find_template(request) [200, { 'Content-Type' => template.content_type }, [template.render(@theme, @store, request)]] else [404, { 'Content-Type' => 'text/plain' }, ['Page not found']] ...
98dae25c8c2a4bc782c0d3cfa9f0fa6070f38750
lib/dugway/application.rb
lib/dugway/application.rb
Ruby
<|file_sep|>README.md.diff original: A **94-byte** JavaScript enum implementation, based on <a href="https://github.com/tolgaek/node-enum" target="_blank">Tolgaek's node-enum</a>. updated: A **94-byte** JavaScript enum implementation. <|file_sep|>original/README.md Micro JS Enum ============= A **94-byte** JavaScript ...
Micro JS Enum ============= A **94-byte** JavaScript enum implementation. Documentation ------------- > Documentation and examples can be found in [the wiki of RougeWare's GitHub repo](https://github.com/RougeWare/Micro-JS-Enum/wiki)
<|file_sep|>README.md.diff original: A **94-byte** JavaScript enum implementation, based on <a href="https://github.com/tolgaek/node-enum" target="_blank">Tolgaek's node-enum</a>. updated: A **94-byte** JavaScript enum implementation. <|file_sep|>original/README.md Micro JS Enum ============= A **94-byte** JavaScript ...
ecc59b70246c03efa9f03ccac1a1c9f43ad35d6b
README.md
README.md
Markdown
<|file_sep|>original/CONTRIBUTING.md <|file_sep|>current/CONTRIBUTING.md <|file_sep|>updated/CONTRIBUTING.md
### Steps to merge changes from dotnet/corefx 1. Clone the latest [dotnet/corefx](https://github.com/dotnet/corefx/) repository into **C:\BasePath\corefx**. 1. Clone the latest [rackerlabs/dotnet-collections](https://github.com/rackerlabs/dotnet-collections) repository into **C:\BasePath\dotnet-collections**. 1. ...
<|file_sep|>original/CONTRIBUTING.md <|file_sep|>current/CONTRIBUTING.md <|file_sep|>updated/CONTRIBUTING.md ### Steps to merge changes from dotnet/corefx 1. Clone the latest [dotnet/corefx](https://github.com/dotnet/corefx/) repository into **C:\BasePath\corefx**. 1. Clone the latest [rackerlabs/dotnet-collections...
f8b220eb8877d09ce868487957e18cff73c29e0f
CONTRIBUTING.md
CONTRIBUTING.md
Markdown
<|file_sep|>original/p001_multiples_of_3_and_5.py <|file_sep|>current/p001_multiples_of_3_and_5.py <|file_sep|>updated/p001_multiples_of_3_and_5.py
# ''' Project Euler - Problem 1 - Multiples of 3 and 5 https://projecteuler.net/problem=1 If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. Find the sum of all the multiples of 3 or 5 below 1000. ''' import sys def main(): '''Sum t...
<|file_sep|>original/p001_multiples_of_3_and_5.py <|file_sep|>current/p001_multiples_of_3_and_5.py <|file_sep|>updated/p001_multiples_of_3_and_5.py # ''' Project Euler - Problem 1 - Multiples of 3 and 5 https://projecteuler.net/problem=1 If we list all the natural numbers below 10 that are multiples of 3 or 5, we ge...
b647416b719c9f0b2534c13a67d3396fefaada47
p001_multiples_of_3_and_5.py
p001_multiples_of_3_and_5.py
Python
<|file_sep|>original/app/scripts/app.js 'use strict'; var app = angular.module('2048App', ['Game', 'Grid', 'Keyboard']); // Game Controller app.controller('GameController', ['GameManager', 'GridManager', 'KeyboardManager', function(GameManager, GridManager, KeyboardManager) { this.game = GameManager; this.grid = ...
'use strict'; var app = angular.module('2048App', ['Game', 'Grid', 'Keyboard']); // Game Controller app.controller('GameController', ['GameManager', 'GridManager', 'KeyboardManager', function(GameManager, GridManager, KeyboardManager) { KeyboardManager.init(); this.game = GameManager; this.grid = GridManager; ...
<|file_sep|>original/app/scripts/app.js 'use strict'; var app = angular.module('2048App', ['Game', 'Grid', 'Keyboard']); // Game Controller app.controller('GameController', ['GameManager', 'GridManager', 'KeyboardManager', function(GameManager, GridManager, KeyboardManager) { this.game = GameManager; this.grid = ...
0e4c476aa2c06ba84cfb807994967bec0c67c4ad
app/scripts/app.js
app/scripts/app.js
JavaScript
<|file_sep|>original/cc3200/appsign.sh #!/bin/bash # Build location # First parameter passed is the board type BUILD=build/$1 # Generate the MD5 hash echo -n md5sum --binary $BUILD/application.bin | awk '{ print $1 }' > __md5hash.bin # Concatenate it with the application binary cat $BUILD/application.bin __md5hash.b...
#!/bin/bash # Build location # First parameter passed is the board type BUILD=build/$1 # Generate the MD5 hash echo -n `md5sum --binary $BUILD/application.bin | awk '{ print $1 }'` > __md5hash.bin # Concatenate it with the application binary cat $BUILD/application.bin __md5hash.bin > $BUILD/MCUIMG.BIN RET=$? # Remo...
<|file_sep|>original/cc3200/appsign.sh #!/bin/bash # Build location # First parameter passed is the board type BUILD=build/$1 # Generate the MD5 hash echo -n md5sum --binary $BUILD/application.bin | awk '{ print $1 }' > __md5hash.bin # Concatenate it with the application binary cat $BUILD/application.bin __md5hash.b...
8a5aee103d0741efbbcf3fa7d0d0b3d2100eddb2
cc3200/appsign.sh
cc3200/appsign.sh
Shell
<|file_sep|>original/sample.cfg # name of the tun interface # default: tun%d interface = tunB # address + prefix length of the associated subnet address = 192.168.21.2/24 [scripts] # shell scripts # available variables: $iface, $addr, $prefixlen, $hostname tun-up = ip link set $iface up; ip addr add $addr/$prefixle...
interface = tunB # address + prefix length of the associated subnet address = 192.168.21.2/24 [scripts] # shell scripts # available variables: $iface, $addr, $prefixlen, $hostname tun-up = ip link set $iface up; ip addr add $addr/$prefixlen dev $iface [encryption] # scheme = fernet|null scheme = fernet #...
<|file_sep|>original/sample.cfg # name of the tun interface # default: tun%d interface = tunB # address + prefix length of the associated subnet address = 192.168.21.2/24 [scripts] # shell scripts # available variables: $iface, $addr, $prefixlen, $hostname tun-up = ip link set $iface up; ip addr add $addr/$prefixle...
21d42c6a51bba1ab38e794b0cc7c004f698ae850
sample.cfg
sample.cfg
INI
<|file_sep|>phantom/graph.js.diff original: console.log('Usage: graph.js IP filename'); phantom.exit(); updated: console.log('Usage: graph.js url filename'); phantom.exit(1); <|file_sep|>original/phantom/graph.js page.viewportSize = { width: 501, height: 233 }; page.onConsoleMessage = function (...
page.onConsoleMessage = function (msg) { console.log('Page msg:', msg); }; page.customHeaders = { // "Referer": "http://www.pool.ntp.org/?graphs" }; page.settings.userAgent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari...
<|file_sep|>phantom/graph.js.diff original: console.log('Usage: graph.js IP filename'); phantom.exit(); updated: console.log('Usage: graph.js url filename'); phantom.exit(1); <|file_sep|>original/phantom/graph.js page.viewportSize = { width: 501, height: 233 }; page.onConsoleMessage = function (...
79a7e9a58d3d6e724ae1e5b434210084f0e908bf
phantom/graph.js
phantom/graph.js
JavaScript
<|file_sep|>original/.travis.yml language: php sudo: false matrix: include: - php: 5.4 - php: 5.5 - php: 5.6 - php: nightly - php: hhvm allow_failures: - php: nightly - php: hhvm fast_finish: true before_install: composer self-update install: composer install before_script: mkdir ...
language: php sudo: false matrix: include: - php: 5.4 - php: 5.5 - php: 5.6 - php: 7.0 - php: nightly - php: hhvm allow_failures: - php: nightly - php: hhvm fast_finish: true before_install: composer self-update install: composer install
<|file_sep|>original/.travis.yml language: php sudo: false matrix: include: - php: 5.4 - php: 5.5 - php: 5.6 - php: nightly - php: hhvm allow_failures: - php: nightly - php: hhvm fast_finish: true before_install: composer self-update install: composer install before_script: mkdir ...
6b5ab3f12bcf3336dd41311d32134660538c62ee
.travis.yml
.travis.yml
YAML
<|file_sep|>packages/pr/print-info.yaml.diff original: hash: a9a6f6c2de9bbdcbb9f92fc744383b810c47f489264c3078b54f59d8f90af038 updated: hash: 551a46efe207728e143c5aa31cb07df501fd1ee36a86d21cf260ddd830c21c03 <|file_sep|>packages/pr/print-info.yaml.diff original: updated: ## 0.1.2.0 -- 2020-09-01 * First version re...
## 0.1.0.0 -- 2020-09-01 * First version. Released on an unsuspecting world. ## 0.1.1.0 -- 2020-09-01 * First version revised A. Added the functions isI1 and isI2 to the Data.Print.Info module. ## 0.1.2.0 -- 2020-09-01 * First version revised B. Added the function fromInfoFile to the Data.Print.Info m...
<|file_sep|>packages/pr/print-info.yaml.diff original: hash: a9a6f6c2de9bbdcbb9f92fc744383b810c47f489264c3078b54f59d8f90af038 updated: hash: 551a46efe207728e143c5aa31cb07df501fd1ee36a86d21cf260ddd830c21c03 <|file_sep|>packages/pr/print-info.yaml.diff original: updated: ## 0.1.2.0 -- 2020-09-01 * First version re...
2785a0034b08427a92fa90d45d041a95b18e5fae
packages/pr/print-info.yaml
packages/pr/print-info.yaml
YAML
<|file_sep|>original/dsaas-services/f8-tenant.yaml services: - hash: 96dd0ec089e8d95877767ab4bbafc07b89fe44bd name: f8tenant path: /OpenShiftTemplate.yml url: https://github.com/fabric8io/fabric8-init-tenant/ <|file_sep|>current/dsaas-services/f8-tenant.yaml services: - hash: 96dd0ec089e8d95877767ab4bbafc07b89fe4...
services: - hash: 92a3c76327ba7cfdaaf32e7008c668e6dcd6d3b4 name: f8tenant path: /OpenShiftTemplate.yml url: https://github.com/fabric8io/fabric8-init-tenant/
<|file_sep|>original/dsaas-services/f8-tenant.yaml services: - hash: 96dd0ec089e8d95877767ab4bbafc07b89fe44bd name: f8tenant path: /OpenShiftTemplate.yml url: https://github.com/fabric8io/fabric8-init-tenant/ <|file_sep|>current/dsaas-services/f8-tenant.yaml services: - hash: 96dd0ec089e8d95877767ab4bbafc07b89fe4...
4257b826cf300033a82977000a594d70c4c8217e
dsaas-services/f8-tenant.yaml
dsaas-services/f8-tenant.yaml
YAML
<|file_sep|>original/AUTHORS.rst ======= Credits ======= Development Lead ---------------- * Johan Van de Wauw <johan.vandewauw@inbo.be> Contributors ------------ * Stijn Van Hoey Why not join? <|file_sep|>current/AUTHORS.rst ======= Credits ======= Development Lead ---------------- * Johan Van de Wauw <johan.va...
======= Credits ======= Development Lead ---------------- * Johan Van de Wauw <johan.vandewauw@inbo.be> Contributors ------------ * Stijn Van Hoey * Cécile Herr * Dries Adriaens Why not join?
<|file_sep|>original/AUTHORS.rst ======= Credits ======= Development Lead ---------------- * Johan Van de Wauw <johan.vandewauw@inbo.be> Contributors ------------ * Stijn Van Hoey Why not join? <|file_sep|>current/AUTHORS.rst ======= Credits ======= Development Lead ---------------- * Johan Van de Wauw <johan.va...
14e759dd5e46d1e757d48d3b753b3be5c5de2021
AUTHORS.rst
AUTHORS.rst
reStructuredText
<|file_sep|>original/MovieFinder/src/main/webapp/public/src/controllers/nav-controller.js .controller('NavCtrl', function ($scope, $modal, user) { var _this = this; var signInModal; this.error = { signIn: '' }; ...
.controller('NavCtrl', function ($scope, $modal, user) { var _this = this; var signInModal; this.error = { signIn: '' }; this.showSignInModal = function () { this.error.signIn = ''; ...
<|file_sep|>original/MovieFinder/src/main/webapp/public/src/controllers/nav-controller.js .controller('NavCtrl', function ($scope, $modal, user) { var _this = this; var signInModal; this.error = { signIn: '' }; ...
25ecb5e4f4bfeac33198913ec49bdb8b2412f462
MovieFinder/src/main/webapp/public/src/controllers/nav-controller.js
MovieFinder/src/main/webapp/public/src/controllers/nav-controller.js
JavaScript
<|file_sep|>original/frontend/applications/nominations/src/api/user.js import { get, post, put } from '../lib/apiService'; export function getUser(id) { return get('nominations', `users/${id}`); } export function getMe() { return get('nominations', 'users/me/profile'); } export function getUserList(pageNumber = ...
import { get, post, put } from '../lib/apiService'; export function getUser(id) { return get('nominations', `users/${id}`); } export function getMe() { return get('v2', 'auth/account'); } export function getUserList(pageNumber = 1, search, affiliationId) { pageNumber = pageNumber < 1 ? 1 : pageNumber; return...
<|file_sep|>original/frontend/applications/nominations/src/api/user.js import { get, post, put } from '../lib/apiService'; export function getUser(id) { return get('nominations', `users/${id}`); } export function getMe() { return get('nominations', 'users/me/profile'); } export function getUserList(pageNumber = ...
91a3d41a337c2bb5f6d7312d2802bf975073286f
frontend/applications/nominations/src/api/user.js
frontend/applications/nominations/src/api/user.js
JavaScript
<|file_sep|>original/app/controllers/api/jwts_controller.rb class Api::JwtsController < Api::ApiApplicationController def show token = AuthToken.issue_token({ user_id: current_user.id }) respond_to do |format| format.json { render json: { jwt: token } } end end end <|file_sep|>current/app/contro...
class Api::JwtsController < Api::ApiApplicationController def show old_token_attrs = decoded_jwt_token(request)&.except("iat", "exp", "aud") token = AuthToken.issue_token(old_token_attrs) respond_to do |format| format.json { render json: { jwt: token } } end end end
<|file_sep|>original/app/controllers/api/jwts_controller.rb class Api::JwtsController < Api::ApiApplicationController def show token = AuthToken.issue_token({ user_id: current_user.id }) respond_to do |format| format.json { render json: { jwt: token } } end end end <|file_sep|>current/app/contro...
ac207e2d17bd8e6ad7985639336bd58d0c721a7d
app/controllers/api/jwts_controller.rb
app/controllers/api/jwts_controller.rb
Ruby
<|file_sep|>original/l2meter.gemspec require File.expand_path("../lib/l2meter/version", __FILE__) Gem::Specification.new do |spec| spec.name = "l2meter" spec.version = L2meter::VERSION spec.authors = ["Pavel Pravosud"] spec.email = ["pavel@pravosud.com"] spec.summary = "L2met fr...
require File.expand_path("../lib/l2meter/version", __FILE__) Gem::Specification.new do |spec| spec.name = "l2meter" spec.version = L2meter::VERSION spec.authors = ["Pavel Pravosud"] spec.email = ["pavel@pravosud.com"] spec.summary = "L2met friendly log formatter" spec.homepage...
<|file_sep|>original/l2meter.gemspec require File.expand_path("../lib/l2meter/version", __FILE__) Gem::Specification.new do |spec| spec.name = "l2meter" spec.version = L2meter::VERSION spec.authors = ["Pavel Pravosud"] spec.email = ["pavel@pravosud.com"] spec.summary = "L2met fr...
0279ef781672680e7ee0a15f4b0fecab6a544e4d
l2meter.gemspec
l2meter.gemspec
Ruby
<|file_sep|>original/.landscape.yaml doc-warnings: true test-warnings: false strictness: veryhigh pep8: full: true ignore-paths: - docs/conf.py - setup.py - version.py <|file_sep|>current/.landscape.yaml doc-warnings: true test-warnings: false strictness: veryhigh pep8: full: true ignore-paths: - docs/c...
doc-warnings: true test-warnings: false strictness: veryhigh pep8: full: true pep257: disable: - D211 - D400 ignore-paths: - docs/conf.py - setup.py - version.py
<|file_sep|>original/.landscape.yaml doc-warnings: true test-warnings: false strictness: veryhigh pep8: full: true ignore-paths: - docs/conf.py - setup.py - version.py <|file_sep|>current/.landscape.yaml doc-warnings: true test-warnings: false strictness: veryhigh pep8: full: true ignore-paths: - docs/c...
aefb647ca1a0b1397ba97cb9059a6bfb624f890e
.landscape.yaml
.landscape.yaml
YAML
<|file_sep|>original/composer.json ], "license": "MIT", "authors": [ { "name": "Mikhail Shamin", "email": "munk13@gmail.com" } ], "require": { "phpunit/phpunit": "~4.0", "munkie/phpunit-teamcity-testlistener": "dev-master" }, "autoload"...
], "license": "MIT", "authors": [ { "name": "Mikhail Shamin", "email": "munk13@gmail.com" } ], "require": { "phpunit/phpunit": "~4.0", "munkie/phpunit-teamcity-testlistener": "~1.0" }, "autoload": { "psr-4": { "Karze...
<|file_sep|>original/composer.json ], "license": "MIT", "authors": [ { "name": "Mikhail Shamin", "email": "munk13@gmail.com" } ], "require": { "phpunit/phpunit": "~4.0", "munkie/phpunit-teamcity-testlistener": "dev-master" }, "autoload"...
1c7c1ec3c00c3fc6df1930182bf1f542f13d45ca
composer.json
composer.json
JSON
<|file_sep|>original/.zuul.yaml <|file_sep|>current/.zuul.yaml <|file_sep|>updated/.zuul.yaml
- project: check: jobs: - heat-translator-tox-py27-tp: voting: false - job: name: heat-translator-tox-py27-tp parent: openstack-tox description: | Run tests for heat-translator project. Uses tox with the ``py27-tp`` environment. vars: tox_envlist: py27-t...
<|file_sep|>original/.zuul.yaml <|file_sep|>current/.zuul.yaml <|file_sep|>updated/.zuul.yaml - project: check: jobs: - heat-translator-tox-py27-tp: voting: false - job: name: heat-translator-tox-py27-tp parent: openstack-tox description: | Run tests for heat-translato...
db60b7e8312c8051b8814aa10318b97e48a69e6a
.zuul.yaml
.zuul.yaml
YAML
<|file_sep|>original/config/routes.rb Rails.application.routes.draw do resources :requests get '/login', :to => 'sessions#new', :as => :login get '/logout', :to => 'sessions#destroy', :as => :logout get "/auth/auth0/callback" => "auth0#callback" get "/auth/failure" => "auth0#failure" post "/groups/ass...
Rails.application.routes.draw do resources :requests get '/login', :to => 'sessions#new', :as => :login get '/logout', :to => 'sessions#destroy', :as => :logout get "/auth/auth0/callback" => "auth0#callback" get "/auth/failure" => "auth0#failure" post "/groups/assign", to: "groups#assign" end
<|file_sep|>original/config/routes.rb Rails.application.routes.draw do resources :requests get '/login', :to => 'sessions#new', :as => :login get '/logout', :to => 'sessions#destroy', :as => :logout get "/auth/auth0/callback" => "auth0#callback" get "/auth/failure" => "auth0#failure" post "/groups/ass...
9337c49ec0adde477a9a2fbe3f03132616df876d
config/routes.rb
config/routes.rb
Ruby
<|file_sep|>original/plugin.json "author":"BuildFire" ,"pluginName":"Geo-Fence Plugin" ,"pluginDescription":"The Geo-Fence Action plugin enables you to trigger actions on your users devices to occur when they enter specific GPS locations. These actions can include sending your users a local notification, open a speci...
"author":"BuildFire" ,"pluginName":"Geo-Fence Plugin" ,"pluginDescription":"The Geo-Fence Action plugin enables you to trigger actions on your users devices to occur when they enter specific GPS locations. These actions can include sending your users a local notification, open a specific plugin in the app, give them ...
<|file_sep|>original/plugin.json "author":"BuildFire" ,"pluginName":"Geo-Fence Plugin" ,"pluginDescription":"The Geo-Fence Action plugin enables you to trigger actions on your users devices to occur when they enter specific GPS locations. These actions can include sending your users a local notification, open a speci...
8c976ac4eeab3666bd029503f993d20a7183929d
plugin.json
plugin.json
JSON
<|file_sep|>app/assets/stylesheets/_deprecated/_nocss_mq.scss.diff original: // ### Responsive ### @media screen and (min-width: 480px) { $pre: "_mq-480_"; @import '_deprecated/nocss'; } updated: <|file_sep|>original/app/assets/stylesheets/_deprecated/_nocss_mq.scss // ### Responsive ### @media screen and (min-wi...
@media screen and (min-width: 600px) { $pre: "_mq-600_"; @import '_deprecated/nocss'; }
<|file_sep|>app/assets/stylesheets/_deprecated/_nocss_mq.scss.diff original: // ### Responsive ### @media screen and (min-width: 480px) { $pre: "_mq-480_"; @import '_deprecated/nocss'; } updated: <|file_sep|>original/app/assets/stylesheets/_deprecated/_nocss_mq.scss // ### Responsive ### @media screen and (min-wi...
d3fcb45f2d1920f4d173146e0fe136ae5523124c
app/assets/stylesheets/_deprecated/_nocss_mq.scss
app/assets/stylesheets/_deprecated/_nocss_mq.scss
SCSS
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.8.7 - 1.9.3 before_install: git submodule update --init && cd external/Xcodeproj && rake ext:install_opencflite_debs && sudo apt-get install subversion script: cd ../.. && bundle exec rake spec:travis <|file_sep|>current/.travis.yml language: ruby rvm: - 1....
language: ruby rvm: - 1.8.7 - 1.9.3 before_install: git submodule update --init && cd external/Xcodeproj && rake travis:install_opencflite_debs && sudo apt-get install subversion script: cd ../.. && bundle exec rake spec:travis
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.8.7 - 1.9.3 before_install: git submodule update --init && cd external/Xcodeproj && rake ext:install_opencflite_debs && sudo apt-get install subversion script: cd ../.. && bundle exec rake spec:travis <|file_sep|>current/.travis.yml language: ruby rvm: - 1....
0c4e909ad4fc1e63758e4c9a4f4f5bbcc0afe6d3
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml language: java before_install: - chmod +x gradlew - pip install --user codecov after_success: - codecov script: ./gradlew check --info <|file_sep|>current/.travis.yml language: java before_install: - chmod +x gradlew - pip install --user codecov after_success: - codecov...
language: java before_install: - chmod +x gradlew - pip install --user codecov after_success: - codecov script: ./gradlew check --stacktrace
<|file_sep|>original/.travis.yml language: java before_install: - chmod +x gradlew - pip install --user codecov after_success: - codecov script: ./gradlew check --info <|file_sep|>current/.travis.yml language: java before_install: - chmod +x gradlew - pip install --user codecov after_success: - codecov...
9046563645563e4346e6f64a9adc371d55cf16ff
.travis.yml
.travis.yml
YAML
<|file_sep|>original/swagger/src/test/resources/refs.json <|file_sep|>current/swagger/src/test/resources/refs.json <|file_sep|>updated/swagger/src/test/resources/refs.json
{ "swagger": "2.0", "info": { "title": "Inventory API", "description": "API to retrieve inventory information", "version": "1.0.0" }, "host": "api.company.com", "schemes": [ "https" ], "basePath": "/v3", "produces": [ "application/json" ], "paths": { "/inventory/product/{pr...
<|file_sep|>original/swagger/src/test/resources/refs.json <|file_sep|>current/swagger/src/test/resources/refs.json <|file_sep|>updated/swagger/src/test/resources/refs.json { "swagger": "2.0", "info": { "title": "Inventory API", "description": "API to retrieve inventory information", "version": "1.0.0" ...
c1f4e8f9216df08195305d2f7ae8c613c5ca379e
swagger/src/test/resources/refs.json
swagger/src/test/resources/refs.json
JSON
<|file_sep|>original/app/templates/thumbnails.html.mustache <button id="copy-button" type="button" class="btn btn-primary"> <span>Copy to Clipboard</span> </button> <button id="montage-button" type="button" class="btn btn-primary"> <span>Generate Montage</span> </button> {{#rows}} <div class="row"> ...
<button id="copy-button" type="button" class="btn btn-primary"> <span>Copy to Clipboard</span> </button> <button id="montage-button" type="button" class="btn btn-primary"> <span>Generate Montage</span> </button> {{#rows}} <div class="row"> {{#images}} <div class="col-xs-6 col-md-3"> <div...
<|file_sep|>original/app/templates/thumbnails.html.mustache <button id="copy-button" type="button" class="btn btn-primary"> <span>Copy to Clipboard</span> </button> <button id="montage-button" type="button" class="btn btn-primary"> <span>Generate Montage</span> </button> {{#rows}} <div class="row"> ...
971baef69c51d6fc240792299919325df13a6262
app/templates/thumbnails.html.mustache
app/templates/thumbnails.html.mustache
HTML+Django
<|file_sep|>original/anchorhub/lib/tests/test_data/test_filetolist.py """ Tests for filetolist.py filetolist.py: http://www.github.com/samjabrahams/anchorhub/lib/filetolist.py """ from anchorhub.lib.filetolist import FileToList from anchorhub.util.getanchorhubpath import get_anchorhub_path from anchorhub.compatibility...
""" Tests for filetolist.py filetolist.py: http://www.github.com/samjabrahams/anchorhub/lib/filetolist.py """ from anchorhub.lib.filetolist import FileToList from anchorhub.util.getanchorhubpath import get_anchorhub_path from anchorhub.compatibility import get_path_separator def test_file_to_list_basic(): sep = ...
<|file_sep|>original/anchorhub/lib/tests/test_data/test_filetolist.py """ Tests for filetolist.py filetolist.py: http://www.github.com/samjabrahams/anchorhub/lib/filetolist.py """ from anchorhub.lib.filetolist import FileToList from anchorhub.util.getanchorhubpath import get_anchorhub_path from anchorhub.compatibility...
9be4dcdf9ea312465a27d6f105213d88d8dd0909
anchorhub/lib/tests/test_data/test_filetolist.py
anchorhub/lib/tests/test_data/test_filetolist.py
Python
<|file_sep|>original/meta-python/recipes-devtools/python/pamela_0.3.0.bb <|file_sep|>current/meta-python/recipes-devtools/python/pamela_0.3.0.bb <|file_sep|>updated/meta-python/recipes-devtools/python/pamela_0.3.0.bb
DESCRIPTION = "Pamela: yet another Python wrapper for PAM" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://PKG-INFO;md5=bfb663f37eb99232bc8ccfa4ea8f1202" SRC_URI[md5sum] = "de6516118d51eb5fc97017f3b6d5c68b" SRC_URI[sha256sum] = "1e198446a6cdd87704aa0def7621d62e7c20b0e6068e2788b9a866a8355e5d6b" PYPI_PACKAGE = "pamela" inh...
<|file_sep|>original/meta-python/recipes-devtools/python/pamela_0.3.0.bb <|file_sep|>current/meta-python/recipes-devtools/python/pamela_0.3.0.bb <|file_sep|>updated/meta-python/recipes-devtools/python/pamela_0.3.0.bb DESCRIPTION = "Pamela: yet another Python wrapper for PAM" LICENSE = "MIT" LIC_FILES_CHKSUM = "file:/...
a09e43e371261a50ee93a3d97eeac38cce3bfd88
meta-python/recipes-devtools/python/pamela_0.3.0.bb
meta-python/recipes-devtools/python/pamela_0.3.0.bb
BitBake
<|file_sep|>openacademy/report/openacademy_session_report.xml.diff original: updated: <h2 t-field="doc.course_id.name"/> <|file_sep|>original/openacademy/report/openacademy_session_report.xml <!--<t t-call="report.external_layout">--> ...
<h2 t-field="doc.name"/> <h2 t-field="doc.course_id.name"/> <p>From <span t-field="doc.start_date"/> to <span t-field="doc.end_date"/></p> <h3>Attendees:</h3> ...
<|file_sep|>openacademy/report/openacademy_session_report.xml.diff original: updated: <h2 t-field="doc.course_id.name"/> <|file_sep|>original/openacademy/report/openacademy_session_report.xml <!--<t t-call="report.external_layout">--> ...
caee084165b99223a65b7afe56d86fd6bc1aac1d
openacademy/report/openacademy_session_report.xml
openacademy/report/openacademy_session_report.xml
XML
<|file_sep|>original/.travis.yml - oraclejdk8 addons: apt: packages: - python-pandas branches: except: - www cache: directories: - $HOME/.gradle/caches - $HOME/.gradle/wrapper before_install: - git fetch --depth=10000 origin install: ./gradlew ciPrep script: ./gradlew ciTest env: global: - TER...
- oraclejdk8 addons: apt: packages: - python-pandas branches: except: - www cache: directories: - $HOME/.gradle/caches - $HOME/.gradle/wrapper before_install: - git fetch --depth=10000 origin install: ./gradlew ciPrep --stacktrace script: ./gradlew ciTest --stacktrace env: global: - TERM=dumb ...
<|file_sep|>original/.travis.yml - oraclejdk8 addons: apt: packages: - python-pandas branches: except: - www cache: directories: - $HOME/.gradle/caches - $HOME/.gradle/wrapper before_install: - git fetch --depth=10000 origin install: ./gradlew ciPrep script: ./gradlew ciTest env: global: - TER...
ef9a1eb001db35a06ecc217ed3cf9c9d3b2f666b
.travis.yml
.travis.yml
YAML
<|file_sep|>original/static/bootstrap.less @import "ui-variables"; .nav { > li > a { border-radius: @component-border-radius; } > li > a:hover { background-color: @background-color-highlight; } &.nav-pills > li.active > a { background-color: @background-color-info; } } <|file_sep|>current/stat...
@import "ui-variables"; .nav { > li > a { border-radius: @component-border-radius; } > li > a:hover { background-color: @background-color-highlight; } &.nav-pills > li.active > a { background-color: @background-color-selected; } }
<|file_sep|>original/static/bootstrap.less @import "ui-variables"; .nav { > li > a { border-radius: @component-border-radius; } > li > a:hover { background-color: @background-color-highlight; } &.nav-pills > li.active > a { background-color: @background-color-info; } } <|file_sep|>current/stat...
cbb82b1dcc53207ae29986c6518b14480eff9e83
static/bootstrap.less
static/bootstrap.less
Less
<|file_sep|>original/.travis.yml language: python python: - "2.7" # command to install wxPython using apt before_install: - sudo apt-get update -qq - sudo apt-get install -qq python-wxgtk2.8 # command to install other dependencies install: - pip install -r requirements.txt --use-mirrors - python setup.py -q i...
python: - "2.7" # command to install wxPython using apt before_install: - sudo apt-get update -qq - sudo apt-get install -qq python-wxgtk2.8 # command to install other dependencies install: - pip install -r requirements.txt --use-mirrors - python setup.py -q install # command to run tests script: nosetests #...
<|file_sep|>original/.travis.yml language: python python: - "2.7" # command to install wxPython using apt before_install: - sudo apt-get update -qq - sudo apt-get install -qq python-wxgtk2.8 # command to install other dependencies install: - pip install -r requirements.txt --use-mirrors - python setup.py -q i...
39730983a496f9b482f81ce971e3721dd0cdf720
.travis.yml
.travis.yml
YAML
<|file_sep|>original/requirements.txt multidict==4.4.2 mypy==0.641 packaging==18.0 protobuf==3.6.1 pycares==2.3.0 pycodestyle==2.4.0 py==1.7.0 pyparsing==2.2.2 pytest==3.9.2 pytest-cov==2.6.0 pytest-forked==0.2 pytest-xdist==1.23.2 python-dateutil==2.7.3 pytz==2018.5 readme-renderer==22.0 requests==2.20.0 six==1.11.0 t...
multidict==4.4.2 mypy==0.641 packaging==18.0 protobuf==3.6.1 pycares==2.3.0 pycodestyle==2.4.0 py==1.7.0 pyparsing==2.2.2 pytest==3.9.2 pytest-cov==2.6.0 pytest-forked==0.2 pytest-xdist==1.23.2 python-dateutil==2.7.3 pytz==2018.6 readme-renderer==22.0 requests==2.20.0 six==1.11.0 tzlocal==1.5.1 ujson==1.35 uvloop==0.11...
<|file_sep|>original/requirements.txt multidict==4.4.2 mypy==0.641 packaging==18.0 protobuf==3.6.1 pycares==2.3.0 pycodestyle==2.4.0 py==1.7.0 pyparsing==2.2.2 pytest==3.9.2 pytest-cov==2.6.0 pytest-forked==0.2 pytest-xdist==1.23.2 python-dateutil==2.7.3 pytz==2018.5 readme-renderer==22.0 requests==2.20.0 six==1.11.0 t...
939e3738ac3ef7460c81d3d5f830a98056f9e68c
requirements.txt
requirements.txt
Text
<|file_sep|>original/package.json ], "author": "https://github.com/orgs/peermusic/", "license": "MIT", "bugs": { "url": "https://github.com/peermusic/node-scraping-server/issues" }, "homepage": "https://github.com/peermusic/node-scraping-server#readme", "dependencies": { "fs": "0.0.2", "node-p...
], "author": "https://github.com/orgs/peermusic/", "license": "MIT", "bugs": { "url": "https://github.com/peermusic/node-scraping-server/issues" }, "homepage": "https://github.com/peermusic/node-scraping-server#readme", "dependencies": { "fs": "0.0.2", "node-persist": "0.0.8", "restify": "...
<|file_sep|>original/package.json ], "author": "https://github.com/orgs/peermusic/", "license": "MIT", "bugs": { "url": "https://github.com/peermusic/node-scraping-server/issues" }, "homepage": "https://github.com/peermusic/node-scraping-server#readme", "dependencies": { "fs": "0.0.2", "node-p...
567deb2e2bc5a374942c783e6a958582e4b03341
package.json
package.json
JSON
<|file_sep|>original/requirements/base.txt django-app-settings==0.2.5 django-suit-dashboard==2.0.5 python-dateutil==2.6.1 requests==2.18.4 archan==2.0.1 dependenpy==3.2.0 <|file_sep|>current/requirements/base.txt django-app-settings==0.2.5 django-suit-dashboard==2.0.5 python-dateutil==2.6.1 requests==2.18.4 archan==2.0...
django-app-settings==0.3.0 django-suit-dashboard==2.0.5 python-dateutil==2.6.1 requests==2.18.4 archan==2.0.1 dependenpy==3.2.0
<|file_sep|>original/requirements/base.txt django-app-settings==0.2.5 django-suit-dashboard==2.0.5 python-dateutil==2.6.1 requests==2.18.4 archan==2.0.1 dependenpy==3.2.0 <|file_sep|>current/requirements/base.txt django-app-settings==0.2.5 django-suit-dashboard==2.0.5 python-dateutil==2.6.1 requests==2.18.4 archan==2.0...
7083d7067c9dd3fd549d5c38344606358241dd1a
requirements/base.txt
requirements/base.txt
Text
<|file_sep|>original/lib/puppet/provider/vagrant_box/vagrant_box.rb vagrant "box", "remove", name, "--provider", vprovider end def exists? if @resource[:force] false else name, vprovider = @resource[:name].split('/') boxes = vagrant "box", "list" boxes =~ /^#{name}\s+\(#{vprovi...
vagrant "box", "remove", name, "--provider", vprovider end def exists? if @resource[:force] false else name, vprovider = @resource[:name].split('/') boxes = vagrant "box", "list" boxes =~ /^#{name}\s+\(#{vprovider}(, .+)?\)/ end end private def custom_environment ...
<|file_sep|>original/lib/puppet/provider/vagrant_box/vagrant_box.rb vagrant "box", "remove", name, "--provider", vprovider end def exists? if @resource[:force] false else name, vprovider = @resource[:name].split('/') boxes = vagrant "box", "list" boxes =~ /^#{name}\s+\(#{vprovi...
b929f9d7fe0fcace3e292e24a9b5339fa0546422
lib/puppet/provider/vagrant_box/vagrant_box.rb
lib/puppet/provider/vagrant_box/vagrant_box.rb
Ruby
<|file_sep|>original/app/views/backend/imports/show.html.haml - main_toolbar do |t| = t.edit resource - if resource.in_progress? = t.abort resource, method: :post, data: { confirm: :are_you_sure.tl } - else = t.run resource, method: :post = main_informations do = attributes_list do |l| - l.attribut...
- main_toolbar do |t| = t.edit resource - if resource.in_progress? = t.abort resource, method: :post, data: { confirm: :are_you_sure.tl } - else = t.run resource, method: :post, class: 'primary' = main_informations do = attributes_list do |l| - l.attribute :importer, url: true - l.attribute :st...
<|file_sep|>original/app/views/backend/imports/show.html.haml - main_toolbar do |t| = t.edit resource - if resource.in_progress? = t.abort resource, method: :post, data: { confirm: :are_you_sure.tl } - else = t.run resource, method: :post = main_informations do = attributes_list do |l| - l.attribut...
51fb5110e7ef8fc2ffd1ee57893bcd449818b054
app/views/backend/imports/show.html.haml
app/views/backend/imports/show.html.haml
Haml
<|file_sep|>original/t/30_inline.t pass("Alive"); tcc_inline typemap => ExtUtils::Typemaps->new, q{ }; pass("Alive"); tcc_inline q{ int foo(int bar) { return bar * 2; } }; pass("Alive"); is(bar(3), 6, "Simple function is callable"); done_testing(); <|file_sep|>current/t/30_inline.t pass("A...
tcc_inline typemap => ExtUtils::Typemaps->new, q{ }; pass("Alive"); tcc_inline q{ int foo(int bar) { return bar * 2; } }; pass("Alive"); is(foo(3), 6, "Simple function is callable"); pass("Alive"); done_testing();
<|file_sep|>original/t/30_inline.t pass("Alive"); tcc_inline typemap => ExtUtils::Typemaps->new, q{ }; pass("Alive"); tcc_inline q{ int foo(int bar) { return bar * 2; } }; pass("Alive"); is(bar(3), 6, "Simple function is callable"); done_testing(); <|file_sep|>current/t/30_inline.t pass("A...
c2c2959e63321036aa2be3b1ab87975d9bda4703
t/30_inline.t
t/30_inline.t
Perl
<|file_sep|>original/app/controllers/cotn_email_controller.rb @message = Message.new @message.subject = "Call for Vols for MN-POP at Con of the North 2020" end def create return unless restrict_to_admin @message = Message.new(message_params) # defense, for a single real test AdminMailer.c...
@message = Message.new @message.subject = "Call for Vols for MN-POP at Con of the North 2020" end def create return unless restrict_to_admin @message = Message.new(message_params) # defense, for a single real test AdminMailer.cotn_gm_request_email(@message).deliver redirect_to welcome...
<|file_sep|>original/app/controllers/cotn_email_controller.rb @message = Message.new @message.subject = "Call for Vols for MN-POP at Con of the North 2020" end def create return unless restrict_to_admin @message = Message.new(message_params) # defense, for a single real test AdminMailer.c...
38ae99534556ea679b6e20f3d83a18cd2a44f2ac
app/controllers/cotn_email_controller.rb
app/controllers/cotn_email_controller.rb
Ruby
<|file_sep|>vint/linting/policy/prohibit_implicit_scope_variable.py.diff original: linter_config = lint_context['config'] updated: <|file_sep|>original/vint/linting/policy/prohibit_implicit_scope_variable.py def is_valid(self, identifier, lint_context): """ Whether the identifier has a scope pref...
def is_valid(self, identifier, lint_context): """ Whether the identifier has a scope prefix. """ scope_plugin = lint_context['plugins']['scope'] explicity = scope_plugin.get_explicity_of_scope_visibility(identifier) is_autoload = scope_plugin.is_autoload_identifier(identifier) ...
<|file_sep|>vint/linting/policy/prohibit_implicit_scope_variable.py.diff original: linter_config = lint_context['config'] updated: <|file_sep|>original/vint/linting/policy/prohibit_implicit_scope_variable.py def is_valid(self, identifier, lint_context): """ Whether the identifier has a scope pref...
4b097d7d343523c99b50dc910b62bf29eb7c4081
vint/linting/policy/prohibit_implicit_scope_variable.py
vint/linting/policy/prohibit_implicit_scope_variable.py
Python
<|file_sep|>original/indico/MaKaC/webinterface/tpls/ConfSpeakerIndex.tpl </div> <div class="speakerIndex index"> % for key, item in items.iteritems(): <div class="speakerIndexItem item"> <div style="padding-bottom: 10px"> <span class="speakerIndexItemText text">${item[0]['fullNam...
<div class="speakerIndex index"> % for key, item in items.iteritems(): <div class="speakerIndexItem item"> <div style="padding-bottom: 10px"> <span class="speakerIndexItemText text">${item[0]['fullName']}</span> % if item[0]['affiliation']: <sp...
<|file_sep|>original/indico/MaKaC/webinterface/tpls/ConfSpeakerIndex.tpl </div> <div class="speakerIndex index"> % for key, item in items.iteritems(): <div class="speakerIndexItem item"> <div style="padding-bottom: 10px"> <span class="speakerIndexItemText text">${item[0]['fullNam...
cc46da2aaccb79a26a344785c923643e8e6a3101
indico/MaKaC/webinterface/tpls/ConfSpeakerIndex.tpl
indico/MaKaC/webinterface/tpls/ConfSpeakerIndex.tpl
Smarty
<|file_sep|>original/requirements.txt Twisted==13.1.0 argparse==1.2.1 pyopenssl==0.13 pyyaml==3.10 pymysql==0.5 pbkdf2==1.3 txsockjs==1.2.1 pycrypto==2.6 <|file_sep|>current/requirements.txt Twisted==13.1.0 argparse==1.2.1 pyopenssl==0.13 pyyaml==3.10 pymysql==0.5 pbkdf2==1.3 txsockjs==1.2.1 pycrypto==2.6 <|file_sep|>u...
Twisted==13.1.0 argparse==1.2.1 pyopenssl==0.13 pyyaml==3.10 pymysql==0.5 pbkdf2==1.3 txsockjs==1.2.1
<|file_sep|>original/requirements.txt Twisted==13.1.0 argparse==1.2.1 pyopenssl==0.13 pyyaml==3.10 pymysql==0.5 pbkdf2==1.3 txsockjs==1.2.1 pycrypto==2.6 <|file_sep|>current/requirements.txt Twisted==13.1.0 argparse==1.2.1 pyopenssl==0.13 pyyaml==3.10 pymysql==0.5 pbkdf2==1.3 txsockjs==1.2.1 pycrypto==2.6 <|file_sep|>u...
43af9774c651d57460504ffe1fc004b5f7cb9318
requirements.txt
requirements.txt
Text
<|file_sep|>original/.travis.yml language: php php: - 5.6 - 7.0 env: - COMPOSER_OPTS="" - COMPOSER_OPTS="--prefer-lowest" install: - composer self-update --snapshot - composer update $COMPOSER_OPTS script: - ./tests/lint.sh - ./bin/sonos git: depth: 5 <|file_sep|>current/.travis.yml language: ph...
language: php php: - 5.6 - 7.0 - 7.1 - 7.2 env: - COMPOSER_OPTS="" - COMPOSER_OPTS="--prefer-lowest" install: - composer self-update --snapshot - composer update $COMPOSER_OPTS script: - ./tests/lint.sh - ./bin/sonos git:
<|file_sep|>original/.travis.yml language: php php: - 5.6 - 7.0 env: - COMPOSER_OPTS="" - COMPOSER_OPTS="--prefer-lowest" install: - composer self-update --snapshot - composer update $COMPOSER_OPTS script: - ./tests/lint.sh - ./bin/sonos git: depth: 5 <|file_sep|>current/.travis.yml language: ph...
defa42d1804a456929919bbc12266391105e5f5b
.travis.yml
.travis.yml
YAML
<|file_sep|>src/Graphics/Text/Width.hs.diff original: foreign import ccall unsafe "vty_mk_wcwidth" wcwidth :: Char -> Int updated: import Foreign.C.Types (CInt(..)) foreign import ccall unsafe "vty_mk_wcwidth" c_wcwidth :: Char -> CInt wcwidth :: Char -> Int wcwidth = fromIntegral . c_wcwidth <|file_sep|>src/Graphics...
wcwidth :: Char -> Int wcwidth = fromIntegral . c_wcwidth wcswidth :: String -> Int wcswidth = sum . map wcwidth -- XXX: Characters with unknown widths occupy 1 column? -- -- Not sure if this is actually correct. I presume there is a replacement character that is output -- by the terminal instead of the character ...
<|file_sep|>src/Graphics/Text/Width.hs.diff original: foreign import ccall unsafe "vty_mk_wcwidth" wcwidth :: Char -> Int updated: import Foreign.C.Types (CInt(..)) foreign import ccall unsafe "vty_mk_wcwidth" c_wcwidth :: Char -> CInt wcwidth :: Char -> Int wcwidth = fromIntegral . c_wcwidth <|file_sep|>src/Graphics...
92ec351173d49c0dff5c6efc035ef20d8d757b19
src/Graphics/Text/Width.hs
src/Graphics/Text/Width.hs
Haskell
<|file_sep|>original/test-requirements.txt docker==4.1.0 elasticsearch==7.1.0 falcon==2.0.0 falcon-cors==1.1.7 npyscreen==4.10.5 pika==1.1.0 pytest==5.2.4 pytest-cov==2.8.1 python-magic==0.4.15 pyyaml==5.1.2 redis==3.3.11 rq==1.1.0 sphinx==2.2.1 urllib3==1.25.7 watchdog==0.9.0 <|file_sep|>current/test-requirements.txt ...
docker==4.1.0 elasticsearch==7.1.0 falcon==2.0.0 falcon-cors==1.1.7 npyscreen==4.10.5 pika==1.1.0 pytest==5.3.0 pytest-cov==2.8.1 python-magic==0.4.15 pyyaml==5.1.2 redis==3.3.11 rq==1.1.0 sphinx==2.2.1 urllib3==1.25.7 watchdog==0.9.0
<|file_sep|>original/test-requirements.txt docker==4.1.0 elasticsearch==7.1.0 falcon==2.0.0 falcon-cors==1.1.7 npyscreen==4.10.5 pika==1.1.0 pytest==5.2.4 pytest-cov==2.8.1 python-magic==0.4.15 pyyaml==5.1.2 redis==3.3.11 rq==1.1.0 sphinx==2.2.1 urllib3==1.25.7 watchdog==0.9.0 <|file_sep|>current/test-requirements.txt ...
b2e471c51bf52295197f72ba0b97aa1f07f00ed0
test-requirements.txt
test-requirements.txt
Text
<|file_sep|>wunderline-today.js.diff original: var today = moment().format('YYYY-MM-DD') updated: var today = new Date() <|file_sep|>original/wunderline-today.js .description('View tasks due today') .parse(process.argv) function main () { getLists(function (err, data) { if (err) process.exit(1) ...
.parse(process.argv) function main () { getLists(function (err, data) { if (err) process.exit(1) var today = new Date() data.forEach(function (list) { list.tasks = list.tasks.filter(function (item) { if (!item.due_date) return false var due = new Date(item.due_date) retu...
<|file_sep|>wunderline-today.js.diff original: var today = moment().format('YYYY-MM-DD') updated: var today = new Date() <|file_sep|>original/wunderline-today.js .description('View tasks due today') .parse(process.argv) function main () { getLists(function (err, data) { if (err) process.exit(1) ...
1424a258da1590deba9197e9c28226af34768515
wunderline-today.js
wunderline-today.js
JavaScript
<|file_sep|>original/lib/domgen/ce/templates/enumeration.java.erb /* DO NOT EDIT: File is auto-generated */ package <%= to_package(enumeration.ce.qualified_name) %>; @javax.annotation.Generated( "Domgen" ) @java.lang.SuppressWarnings( { "UnusedDeclaration", "JavaDoc" } ) public enum <%= enumeration.ce.name %> { <%= ...
/* DO NOT EDIT: File is auto-generated */ package <%= to_package(enumeration.ce.qualified_name) %>; @javax.annotation.Generated( "Domgen" ) @java.lang.SuppressWarnings( { "UnusedDeclaration", "JavaDoc" } ) public enum <%= enumeration.ce.name %> implements java.io.Serializable { <%= enumeration.values.collect {|k| ...
<|file_sep|>original/lib/domgen/ce/templates/enumeration.java.erb /* DO NOT EDIT: File is auto-generated */ package <%= to_package(enumeration.ce.qualified_name) %>; @javax.annotation.Generated( "Domgen" ) @java.lang.SuppressWarnings( { "UnusedDeclaration", "JavaDoc" } ) public enum <%= enumeration.ce.name %> { <%= ...
fa84f3a5b2e988c6be13066fc07e60593e1ce106
lib/domgen/ce/templates/enumeration.java.erb
lib/domgen/ce/templates/enumeration.java.erb
HTML+ERB
<|file_sep|>original/requirements.txt cssselect==1.0.1 lxml==3.8.0 reppy==0.4.7 requests==2.18.1 <|file_sep|>current/requirements.txt cssselect==1.0.1 lxml==3.8.0 reppy==0.4.7 requests==2.18.1 <|file_sep|>updated/requirements.txt
cssselect==1.0.1 lxml==4.0.0 reppy==0.4.7 requests==2.18.1
<|file_sep|>original/requirements.txt cssselect==1.0.1 lxml==3.8.0 reppy==0.4.7 requests==2.18.1 <|file_sep|>current/requirements.txt cssselect==1.0.1 lxml==3.8.0 reppy==0.4.7 requests==2.18.1 <|file_sep|>updated/requirements.txt cssselect==1.0.1 lxml==4.0.0 reppy==0.4.7 requests==2.18.1
593ef3c516fa55f3e98430064efadd7d4c3a771e
requirements.txt
requirements.txt
Text
<|file_sep|>original/Editor/LoggerWindow.cs if (loggerInstance == null) { GameObject loggerGO = new GameObject(); loggerGO.AddComponent<Logger>(); loggerInstance = loggerGO.GetComponent<Logger>(); } ...
if (loggerInstance == null) { GameObject loggerGO = new GameObject(); loggerGO.AddComponent<Logger>(); loggerInstance = loggerGO.GetComponent<Logger>(); } } return loggerInstan...
<|file_sep|>original/Editor/LoggerWindow.cs if (loggerInstance == null) { GameObject loggerGO = new GameObject(); loggerGO.AddComponent<Logger>(); loggerInstance = loggerGO.GetComponent<Logger>(); } ...
068996678bda9c7b2611f3379808091d519f96a5
Editor/LoggerWindow.cs
Editor/LoggerWindow.cs
C#
<|file_sep|>library/src-bootstrapped/scala/internal/quoted/Patterns.scala.diff original: @compileTimeOnly("Illegal reference to `scala.internal.quoted.CompileTime.patternHole`") updated: @compileTimeOnly("Illegal reference to `scala.internal.quoted.Patterns.patternHole`") <|file_sep|>library/src-bootstrapped/scala/...
/** A splice in a quoted pattern is desugared by the compiler into a call to this method */ @compileTimeOnly("Illegal reference to `scala.internal.quoted.Patterns.patternHole`") def patternHole[T]: T = ??? @compileTimeOnly("Illegal reference to `scala.internal.quoted.Patterns.patternHigherOrderHole`") /** A ...
<|file_sep|>library/src-bootstrapped/scala/internal/quoted/Patterns.scala.diff original: @compileTimeOnly("Illegal reference to `scala.internal.quoted.CompileTime.patternHole`") updated: @compileTimeOnly("Illegal reference to `scala.internal.quoted.Patterns.patternHole`") <|file_sep|>library/src-bootstrapped/scala/...
281798460e09552f279d588b669c94938756776c
library/src-bootstrapped/scala/internal/quoted/Patterns.scala
library/src-bootstrapped/scala/internal/quoted/Patterns.scala
Scala
<|file_sep|>README.md.diff original: A simple plugin to format JavaScript code. updated: Because you have better things to worry about than formatting your code. <|file_sep|>README.md.diff original: This package relies on the amazing [prettier](https://github.com/jlongster/prettier) to format JavaScript source code fil...
1. Install [Package Control](https://packagecontrol.io/) 2. Run `Package Control: Install Package` in the Command Palette (<kbd>Super+Shift+P</kbd>) 3. Install `Format` #### Manual 1. Navigate to the Sublime Text package directory 2. Clone the repository $ git clone https://github.com/Rypac/sublime-format.gi...
<|file_sep|>README.md.diff original: A simple plugin to format JavaScript code. updated: Because you have better things to worry about than formatting your code. <|file_sep|>README.md.diff original: This package relies on the amazing [prettier](https://github.com/jlongster/prettier) to format JavaScript source code fil...
a6263e95411a5571cb0b168fd3868701bc73b318
README.md
README.md
Markdown
<|file_sep|>original/source/stylesheets/blog/_posts.sass pre background: #49483E padding: 0.5em 1em border-radius: 0.3em white-space: pre overflow-x: scroll article img display: block margin: 0 auto 2em auto width: 80% height: auto padding: 0.4em border: solid 1px $sw_lightest_gray ...
pre background: #49483E padding: 0.5em 1em border-radius: 0.3em white-space: pre overflow-x: auto article img display: block margin: 0 auto 2em auto width: 80% height: auto padding: 0.4em border: solid 1px $sw_lightest_gray background-color: lighten($sw_lightest_gray, 5%) tim...
<|file_sep|>original/source/stylesheets/blog/_posts.sass pre background: #49483E padding: 0.5em 1em border-radius: 0.3em white-space: pre overflow-x: scroll article img display: block margin: 0 auto 2em auto width: 80% height: auto padding: 0.4em border: solid 1px $sw_lightest_gray ...
03c30ee5d1ac92bfb88063d26ecbe9f55673b98a
source/stylesheets/blog/_posts.sass
source/stylesheets/blog/_posts.sass
Sass
<|file_sep|>metadata/com.github.doomsdayrs.apps.shosetsu.yml.diff original: - versionName: v1.1.4 updated: - versionName: v1.1.4-release <|file_sep|>original/metadata/com.github.doomsdayrs.apps.shosetsu.yml Repo: https://github.com/ShosetsuOrg/android-app.git Builds: - versionName: v1.1.3-release versionCode...
Repo: https://github.com/ShosetsuOrg/android-app.git Builds: - versionName: v1.1.3-release versionCode: 26 commit: v1.1.3 subdir: app gradle: - yes - versionName: v1.1.4-release versionCode: 27 commit: v1.1.4 subdir: app gradle: - yes AutoUpdateMode: Version +-release ...
<|file_sep|>metadata/com.github.doomsdayrs.apps.shosetsu.yml.diff original: - versionName: v1.1.4 updated: - versionName: v1.1.4-release <|file_sep|>original/metadata/com.github.doomsdayrs.apps.shosetsu.yml Repo: https://github.com/ShosetsuOrg/android-app.git Builds: - versionName: v1.1.3-release versionCode...
e08d153aa93e8d4e615ccf4a08e60ff784617a98
metadata/com.github.doomsdayrs.apps.shosetsu.yml
metadata/com.github.doomsdayrs.apps.shosetsu.yml
YAML
<|file_sep|>devmgmtV2/index.js.diff original: exec('mysql -u root -p < ./init.sql', (err, stdout, stderr) => { updated: exec('mysql -u root -proot < ./init.sql', (err, stdout, stderr) => { <|file_sep|>devmgmtV2/index.js.diff original: updated: console.log(err); <|file_sep|>original/devmgmtV...
console.log(err); else { console.log("server running on port 8080"); exec('mysql -u root -proot < ./init.sql', (err, stdout, stderr) => { if (err) { console.log(err); console.log("error in init script"); } else { console.log("init scrip...
<|file_sep|>devmgmtV2/index.js.diff original: exec('mysql -u root -p < ./init.sql', (err, stdout, stderr) => { updated: exec('mysql -u root -proot < ./init.sql', (err, stdout, stderr) => { <|file_sep|>devmgmtV2/index.js.diff original: updated: console.log(err); <|file_sep|>original/devmgmtV...
763798205711ef7b14876f47cda4dd63aaf21427
devmgmtV2/index.js
devmgmtV2/index.js
JavaScript
<|file_sep|>original/requirements.txt bandit==1.6.2 GitPython==3.0.0 codacy-coverage==1.3.11 codecov==2.0.15 coverage==4.5.4 ddt==1.2.1 defusedxml==0.6.0 flake8==3.7.8 internetarchive==1.8.5 nose==1.3.7 oauthlib==3.0.2 patool==1.12 pip==19.2.1 pylint==2.3.1 PyGithub==1.43.8 pywikibot==3.0.20190722 requests==2.22.0 requ...
bandit==1.6.2 GitPython==3.0.0 codacy-coverage==1.3.11 codecov==2.0.15 coverage==4.5.4 ddt==1.2.1 defusedxml==0.6.0 flake8==3.7.8 internetarchive==1.8.5 nose==1.3.7 oauthlib==3.1.0 patool==1.12 pip==19.2.1 pylint==2.3.1 PyGithub==1.43.8 pywikibot==3.0.20190722 requests==2.22.0 requests-mock==1.6.0 requests-oauthlib==1....
<|file_sep|>original/requirements.txt bandit==1.6.2 GitPython==3.0.0 codacy-coverage==1.3.11 codecov==2.0.15 coverage==4.5.4 ddt==1.2.1 defusedxml==0.6.0 flake8==3.7.8 internetarchive==1.8.5 nose==1.3.7 oauthlib==3.0.2 patool==1.12 pip==19.2.1 pylint==2.3.1 PyGithub==1.43.8 pywikibot==3.0.20190722 requests==2.22.0 requ...
04381426655b876a9af1c41e27ccebcf9f576250
requirements.txt
requirements.txt
Text
<|file_sep|>original/tests/unit/App/Form/Contact/DetailTest.php <|file_sep|>current/tests/unit/App/Form/Contact/DetailTest.php <|file_sep|>updated/tests/unit/App/Form/Contact/DetailTest.php
<?php /** * PHP version 7.0 * * This source file is subject to the license that is bundled with this package in the file LICENSE. */ namespace App\Form\Contact; use Mandragora\FormFactory; use PHPUnit_Framework_TestCase as TestCase; class DetailTest extends TestCase { /** @test */ function it_can_be_creat...
<|file_sep|>original/tests/unit/App/Form/Contact/DetailTest.php <|file_sep|>current/tests/unit/App/Form/Contact/DetailTest.php <|file_sep|>updated/tests/unit/App/Form/Contact/DetailTest.php <?php /** * PHP version 7.0 * * This source file is subject to the license that is bundled with this package in the file LICE...
9fa7f534771b0d480b8acc780a348eb3e6058780
tests/unit/App/Form/Contact/DetailTest.php
tests/unit/App/Form/Contact/DetailTest.php
PHP