prompt
stringlengths
77
6.9k
completion
stringlengths
1
3.38k
text
stringlengths
163
9.03k
commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
lang
stringclasses
277 values
<|file_sep|>.travis.yml.diff original: - ./gradlew clean build check uploadArchives - cd samples/example && ./gradlew clean webResourceCompile && cd ../../ updated: - ./gradlew clean build check uploadArchives --full-stacktrace - cd samples/example && ./gradlew clean webResourceCompile --full-stacktrace && cd ....
language: groovy jdk: - openjdk7 - oraclejdk8 script: - ./gradlew clean build check uploadArchives --full-stacktrace - cd samples/example && ./gradlew clean webResourceCompile --full-stacktrace && cd ../../ after_success: - ./gradlew cobertura coveralls --full-stacktrace
<|file_sep|>.travis.yml.diff original: - ./gradlew clean build check uploadArchives - cd samples/example && ./gradlew clean webResourceCompile && cd ../../ updated: - ./gradlew clean build check uploadArchives --full-stacktrace - cd samples/example && ./gradlew clean webResourceCompile --full-stacktrace && cd ....
8b105c3ff93bd7a83253b936857e97305557cb0c
.travis.yml
.travis.yml
YAML
<|file_sep|>original/README.md # L2meter L2meter is a little gem that helps you build loggers that outputs things in l2met format. ### Usage ```ruby Metrics = L2meter.build do |config| # sort output tokens, false by default config.sort = true # default context config.context = { name: "my-app-name" } # ....
# L2meter [![Gem Version](https://img.shields.io/gem/v/l2meter.svg)](https://rubygems.org/gems/l2meter) [![Build Status](https://img.shields.io/travis/heroku/l2meter.svg)](http://travis-ci.org/heroku/l2meter) [![Code Climate](https://img.shields.io/codeclimate/github/heroku/l2meter.svg)](https://codeclimate.com/github/...
<|file_sep|>original/README.md # L2meter L2meter is a little gem that helps you build loggers that outputs things in l2met format. ### Usage ```ruby Metrics = L2meter.build do |config| # sort output tokens, false by default config.sort = true # default context config.context = { name: "my-app-name" } # ....
2b6ae78e84317bd1729ab0a57669d638e4f4d2bd
README.md
README.md
Markdown
<|file_sep|>parmed/meta.yaml.diff original: version: !!str 2.0beta2 updated: version: !!str 2.0beta3 <|file_sep|>parmed/meta.yaml.diff original: fn: ParmEd-2.0-beta2.tar.gz url: https://github.com/ParmEd/ParmEd/archive/v2.0-beta2.tar.gz md5: add3605f05da0a90dfbbfb080001a710 updated: fn: ParmEd-2.0-beta3.tar...
package: name: parmed version: !!str 2.0beta3 source: fn: ParmEd-2.0-beta3.tar.gz url: https://github.com/ParmEd/ParmEd/archive/v2.0-beta3.tar.gz md5: 62df64e824f691cbfc46c746701e04bf build: number: 3 requirements: build: - python - numpy - setuptools run: - python - numpy
<|file_sep|>parmed/meta.yaml.diff original: version: !!str 2.0beta2 updated: version: !!str 2.0beta3 <|file_sep|>parmed/meta.yaml.diff original: fn: ParmEd-2.0-beta2.tar.gz url: https://github.com/ParmEd/ParmEd/archive/v2.0-beta2.tar.gz md5: add3605f05da0a90dfbbfb080001a710 updated: fn: ParmEd-2.0-beta3.tar...
0c11ae5e2f0b4b54c40269ea99045f8e2c1694d4
parmed/meta.yaml
parmed/meta.yaml
YAML
<|file_sep|>original/.github/workflows/labeler.yml name: Labeler on: push: branches: - main - master jobs: labeler: runs-on: ubuntu-latest steps: - name: Check out the repository uses: actions/checkout@v2.3.3 - name: Run Labeler uses: crazy-max/ghaction-github-...
name: Labeler on: push: branches: - main - master jobs: labeler: runs-on: ubuntu-latest steps: - name: Check out the repository uses: actions/checkout@v2.3.4 - name: Run Labeler uses: crazy-max/ghaction-github-labeler@v3.1.1 with: skip-delete:...
<|file_sep|>original/.github/workflows/labeler.yml name: Labeler on: push: branches: - main - master jobs: labeler: runs-on: ubuntu-latest steps: - name: Check out the repository uses: actions/checkout@v2.3.3 - name: Run Labeler uses: crazy-max/ghaction-github-...
67ad8b477c68f788aa857af894a2f36f063d6ae9
.github/workflows/labeler.yml
.github/workflows/labeler.yml
YAML
<|file_sep|>scripts/test-ubuntu.dockerfile.diff original: && apt-get -qq -y install make python-qpid-proton updated: && apt-get -qq -y install make python python3-qpid-proton <|file_sep|>original/scripts/test-ubuntu.dockerfile # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, either express or im...
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. # FROM ubuntu RUN apt-get -qq update && apt-get -qq -y upgrade RUN apt-get -qq -y install software-properties-common \ ...
<|file_sep|>scripts/test-ubuntu.dockerfile.diff original: && apt-get -qq -y install make python-qpid-proton updated: && apt-get -qq -y install make python python3-qpid-proton <|file_sep|>original/scripts/test-ubuntu.dockerfile # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, either express or im...
9ee15e7ffa8c4abd7fd73530ecacd6f2697c968c
scripts/test-ubuntu.dockerfile
scripts/test-ubuntu.dockerfile
Dockerfile
<|file_sep|>README.md.diff original: This is mostly what's been accumulating in my OSX installs updated: This is mostly what's been accumulating in my OSX installs. I use the gnu stow tool to deploy. Usual install process is: <|file_sep|>original/README.md dotfiles ======== This is mostly what's been accumulating in m...
dotfiles ======== This is mostly what's been accumulating in my OSX installs. I use the gnu stow tool to deploy. Usual install process is: 1. cd ~ 2. git clone git@github.com:quintonparker/dotfiles.git 3. ~/dotfiles/scripts/bin/install-homebrew 3. cd dotfiles 4. stow -S zsh -S vim -S git -S ctags -S scripts
<|file_sep|>README.md.diff original: This is mostly what's been accumulating in my OSX installs updated: This is mostly what's been accumulating in my OSX installs. I use the gnu stow tool to deploy. Usual install process is: <|file_sep|>original/README.md dotfiles ======== This is mostly what's been accumulating in m...
bfa593478d41e768544e5722b7ab1fbcc3c8ea17
README.md
README.md
Markdown
<|file_sep|>chromium-extension/content.gmail.js.diff original: function detectLoginInfo() { updated: function detectLoginInfo(selector, services) { <|file_sep|>chromium-extension/content.gmail.js.diff original: var selector = '//*[@role="navigation"]//*[starts-with(@href, "https://profiles.google.com/")]//text()[cont...
return true; } function setupGoaIntegration(selector, services) { // Run detectLoginInfo() on any DOM change if not ready yet if (!detectLoginInfo()) { var t = {}; t.observer = new WebKitMutationObserver(function(mutations, observer) { if (detectLoginInfo(selector, services)) { observer.dis...
<|file_sep|>chromium-extension/content.gmail.js.diff original: function detectLoginInfo() { updated: function detectLoginInfo(selector, services) { <|file_sep|>chromium-extension/content.gmail.js.diff original: var selector = '//*[@role="navigation"]//*[starts-with(@href, "https://profiles.google.com/")]//text()[cont...
1fa8376db7905b79774de989866f1bc24de77a18
chromium-extension/content.gmail.js
chromium-extension/content.gmail.js
JavaScript
<|file_sep|>stackdio/server/management/saltdirs/core_states/core/salt_minion_upstart.sls.diff original: updated: # Make sure salt-minion starts on boot, this already happens on systemd. {% if grains.init == 'upstart' %} <|file_sep|>original/stackdio/server/management/saltdirs/core_states/core/salt_minion_upstart.sls /...
# Make sure salt-minion starts on boot, this already happens on systemd. {% if grains.init == 'upstart' %} /etc/init/salt-minion.conf: file: - managed - source: salt://core/etc/init/salt-minion.conf {% endif %}
<|file_sep|>stackdio/server/management/saltdirs/core_states/core/salt_minion_upstart.sls.diff original: updated: # Make sure salt-minion starts on boot, this already happens on systemd. {% if grains.init == 'upstart' %} <|file_sep|>original/stackdio/server/management/saltdirs/core_states/core/salt_minion_upstart.sls /...
f6bae34078a49680b95ea42d8566ad4476e5decd
stackdio/server/management/saltdirs/core_states/core/salt_minion_upstart.sls
stackdio/server/management/saltdirs/core_states/core/salt_minion_upstart.sls
SaltStack
<|file_sep|>original/core/db/migrate/20160207191757_add_id_column_to_earlier_habtm_tables.rb <|file_sep|>current/core/db/migrate/20160207191757_add_id_column_to_earlier_habtm_tables.rb <|file_sep|>updated/core/db/migrate/20160207191757_add_id_column_to_earlier_habtm_tables.rb
class AddIdColumnToEarlierHabtmTables < ActiveRecord::Migration def up add_column :spree_option_type_prototypes, :id, :primary_key add_column :spree_option_value_variants, :id, :primary_key add_column :spree_order_promotions, :id, :primary_key add_column :spree_product_promotion_rules, :id, :primary_k...
<|file_sep|>original/core/db/migrate/20160207191757_add_id_column_to_earlier_habtm_tables.rb <|file_sep|>current/core/db/migrate/20160207191757_add_id_column_to_earlier_habtm_tables.rb <|file_sep|>updated/core/db/migrate/20160207191757_add_id_column_to_earlier_habtm_tables.rb class AddIdColumnToEarlierHabtmTables < A...
c9fb0539b7f85a84470d89196df546e5e9196c61
core/db/migrate/20160207191757_add_id_column_to_earlier_habtm_tables.rb
core/db/migrate/20160207191757_add_id_column_to_earlier_habtm_tables.rb
Ruby
<|file_sep|>board/signals.py.diff original: from account.signals import email_confirmation_sent, user_signed_up updated: from account.models import EmailAddress from account.signals import email_confirmation_sent, password_changed, user_signed_up <|file_sep|>original/board/signals.py from board.models import Board, Not...
[s.delete() for s in Session.objects.all() if s.get_decoded().get('_auth_user_id') == user.id] @receiver(user_signed_up) def user_signed_up_callback(sender, user, form, **kwargs): user.is_active = True user.save() data = treedict() data['type'] = 'SITE_ANNOUNCEMENT' data['message'] = _('New s...
<|file_sep|>board/signals.py.diff original: from account.signals import email_confirmation_sent, user_signed_up updated: from account.models import EmailAddress from account.signals import email_confirmation_sent, password_changed, user_signed_up <|file_sep|>original/board/signals.py from board.models import Board, Not...
7c1623513151a3c1d81cd42f00efbb8a1b7d09fc
board/signals.py
board/signals.py
Python
<|file_sep|>.travis.yml.diff original: updated: - 2.1 <|file_sep|>original/.travis.yml language: ruby rvm: - 2.0 - 1.9.3 - ruby-head - rbx-19mode - jruby-19mode - jruby-head matrix: allow_failures: - rvm: rbx-19mode - rvm: jruby-19mode - rvm: jruby-head script: - "bundle exec rake ci:al...
language: ruby rvm: - 2.1 - 2.0 - 1.9.3 - ruby-head - rbx-19mode - jruby-19mode - jruby-head matrix: allow_failures: - rvm: ruby-head - rvm: rbx-19mode - rvm: jruby-19mode - rvm: jruby-head script: - "bundle exec rake ci:all"
<|file_sep|>.travis.yml.diff original: updated: - 2.1 <|file_sep|>original/.travis.yml language: ruby rvm: - 2.0 - 1.9.3 - ruby-head - rbx-19mode - jruby-19mode - jruby-head matrix: allow_failures: - rvm: rbx-19mode - rvm: jruby-19mode - rvm: jruby-head script: - "bundle exec rake ci:al...
82b5b1d44e0f260cd7b461f3e0c0ff9ed404cade
.travis.yml
.travis.yml
YAML
<|file_sep|>ldap_sync/callbacks.py.diff original: updated: def user_active_directory_deactivate(user, attributes, created, updated): """ Deactivate user accounts based on Active Directory's userAccountControl flags. Requires 'userAccountControl' to be included in LDAP_SYNC_USER_EXTRA_ATTRIBUTES. ""...
user.is_active = False except KeyError: pass def removed_user_deactivate(user): """ Deactivate user accounts that no longer appear in the source LDAP server. """ if user.is_active: user.is_active = False user.save() def removed_user_delete(user): """ ...
<|file_sep|>ldap_sync/callbacks.py.diff original: updated: def user_active_directory_deactivate(user, attributes, created, updated): """ Deactivate user accounts based on Active Directory's userAccountControl flags. Requires 'userAccountControl' to be included in LDAP_SYNC_USER_EXTRA_ATTRIBUTES. ""...
dfc885784a869dc3f3ef200557be4303aa2752e9
ldap_sync/callbacks.py
ldap_sync/callbacks.py
Python
<|file_sep|>test/__snapshots__/show.js.diff original: updated: var filter = process.argv[2] <|file_sep|>original/test/__snapshots__/show.js var path = require('path') var chalk = require('chalk') function show (result) { Object.keys(result).sort().reverse().forEach(file => { var test = file.replace(/\.test\.js...
var path = require('path') var chalk = require('chalk') var filter = process.argv[2] function show (result) { Object.keys(result).sort().reverse().forEach(file => { var test = file.replace(/\.test\.js\.snap$/, '') result[file].split('exports[`') .filter(str => str.indexOf('// ') !== 0) .filter(s...
<|file_sep|>test/__snapshots__/show.js.diff original: updated: var filter = process.argv[2] <|file_sep|>original/test/__snapshots__/show.js var path = require('path') var chalk = require('chalk') function show (result) { Object.keys(result).sort().reverse().forEach(file => { var test = file.replace(/\.test\.js...
1a721d6b1bd32da9f48fb5f3dc0b26eee8bfd095
test/__snapshots__/show.js
test/__snapshots__/show.js
JavaScript
<|file_sep|>docs/modules/ima-ads/README.md.diff original: To use this module you need to add this script to your `head` tag on the `index.html`: updated: To use this module you need to add this script to your `head` tag and initialize the googletag property before the declaration on the `index.html`: <|file_sep|>docs/m...
gads.async = true; gads.type = 'text/javascript'; gads.src = 'https://www.googletagservices.com/tag/js/gpt.js'; var node = document.getElementsByTagName('script')[0]; node.parentNode.insertBefore(gads, node); })(); </script> <script src="//imasdk.googleapis.com/js/sdkloader/ima3.js"></script> ``` ...
<|file_sep|>docs/modules/ima-ads/README.md.diff original: To use this module you need to add this script to your `head` tag on the `index.html`: updated: To use this module you need to add this script to your `head` tag and initialize the googletag property before the declaration on the `index.html`: <|file_sep|>docs/m...
cd5ac5a1a35aadb93ca5d67ebff4b80a65dd0bb0
docs/modules/ima-ads/README.md
docs/modules/ima-ads/README.md
Markdown
<|file_sep|>original/package.json { "name": "hubot-coffee", "description": "A hubot script for announcing & claiming coffee", "version": "0.2.3", "author": "brent@kiratalent.com", "license": "MIT", "keywords": "hubot, hubot-scripts, coffee", "repository": { "type": "git", "url": "git://github.com/...
{ "name": "hubot-coffee", "description": "A hubot script for announcing & claiming coffee", "version": "0.2.4", "author": "brent@kiratalent.com", "license": "MIT", "keywords": "hubot, hubot-scripts, coffee", "repository": { "type": "git", "url": "git://github.com/kiratalent/hubot-coffee.git" }, ...
<|file_sep|>original/package.json { "name": "hubot-coffee", "description": "A hubot script for announcing & claiming coffee", "version": "0.2.3", "author": "brent@kiratalent.com", "license": "MIT", "keywords": "hubot, hubot-scripts, coffee", "repository": { "type": "git", "url": "git://github.com/...
e8aeacbe17ad51b832615728e5e3e9848a0b0e00
package.json
package.json
JSON
<|file_sep|>original/Scanner/src/main/java/executors/CommandCreator.java public String createCommand(String userCommand) { String[] tokens = userCommand.split("\\s+"); switch(tokens[0]) { case "security": switch (tokens[1]) { case "tls": ...
String[] tokens = userCommand.split("\\s+"); switch(tokens[0]) { case "security": switch (tokens[1]) { case "tls": return "nmap --script ssl-enum-ciphers -p 443 " + tokens[2]; case "ecrypt2lvl": ...
<|file_sep|>original/Scanner/src/main/java/executors/CommandCreator.java public String createCommand(String userCommand) { String[] tokens = userCommand.split("\\s+"); switch(tokens[0]) { case "security": switch (tokens[1]) { case "tls": ...
2a4b34f5f8b61f9a758266d236b70072065b20c5
Scanner/src/main/java/executors/CommandCreator.java
Scanner/src/main/java/executors/CommandCreator.java
Java
<|file_sep|>original/requirements-dev.txt coverage==4.2 docker-py==1.10.6 flake8==3.1.0 ipdb==0.10.1 ipython==5.1.0 pyodbc==3.0.10 pytest==3.0.4 pytest-cov==2.4.0 pytest-sugar==0.7.1 sphinx==1.4.8 sphinxcontrib-asyncio==0.2.0 uvloop==0.6.5 <|file_sep|>current/requirements-dev.txt coverage==4.2 docker-py==1.10.6 flake8=...
coverage==4.2 docker-py==1.10.6 flake8==3.2.0 ipdb==0.10.1 ipython==5.1.0 pyodbc==3.0.10 pytest==3.0.4 pytest-cov==2.4.0 pytest-sugar==0.7.1 sphinx==1.4.8 sphinxcontrib-asyncio==0.2.0 uvloop==0.6.5
<|file_sep|>original/requirements-dev.txt coverage==4.2 docker-py==1.10.6 flake8==3.1.0 ipdb==0.10.1 ipython==5.1.0 pyodbc==3.0.10 pytest==3.0.4 pytest-cov==2.4.0 pytest-sugar==0.7.1 sphinx==1.4.8 sphinxcontrib-asyncio==0.2.0 uvloop==0.6.5 <|file_sep|>current/requirements-dev.txt coverage==4.2 docker-py==1.10.6 flake8=...
b3de8e7a5c537a57e56157007490d80950569f28
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>original/_packages/zzmanual.md --- title: Manual installation id: manual --- For 64-bit distros where a package is not available, Terminix can be installed manually from the <a href="https://github.com/gnunn1/terminix/releases">Terminix Github releases</a> section by downloading terminix.zip and following t...
--- title: Manual installation id: manual --- For 64-bit distros where a package is not available, Terminix can be installed manually from the [Terminix Github releases](https://github.com/gnunn1/terminix/releases) section by downloading terminix.zip and following these instructions: ``` sudo unzip terminix.zip -d / s...
<|file_sep|>original/_packages/zzmanual.md --- title: Manual installation id: manual --- For 64-bit distros where a package is not available, Terminix can be installed manually from the <a href="https://github.com/gnunn1/terminix/releases">Terminix Github releases</a> section by downloading terminix.zip and following t...
44b6a44f8c029e94a4425aa602a4a4b99dedf777
_packages/zzmanual.md
_packages/zzmanual.md
Markdown
<|file_sep|>original/recipes/genesis2/bld.bat copy mpi.f.single mpi.f copy mpif.h.single mpif.h if errorlevel 1 exit 1 flang -g -w -O -Wall -o genesis2 main.f check.f diagno.f esource.f field.f incoherent.f math.f partsim.f pushp.f loadbeam.f loadrad.f magfield.f tdepend.f track.f string.f rpos.f scan.f source.f step...
copy mpi.f.single mpi.f copy mpif.h.single mpif.h if errorlevel 1 exit 1 flang -g -w -O -Wall -o genesis2 main.f check.f diagno.f esource.f field.f incoherent.f math.f partsim.f pushp.f loadbeam.f loadrad.f magfield.f tdepend.f track.f string.f rpos.f scan.f source.f stepz.f timerec.f initrun.f input.f output.f mpi....
<|file_sep|>original/recipes/genesis2/bld.bat copy mpi.f.single mpi.f copy mpif.h.single mpif.h if errorlevel 1 exit 1 flang -g -w -O -Wall -o genesis2 main.f check.f diagno.f esource.f field.f incoherent.f math.f partsim.f pushp.f loadbeam.f loadrad.f magfield.f tdepend.f track.f string.f rpos.f scan.f source.f step...
cefb1557258add38bb75e6d7e02985ca38a3c9e9
recipes/genesis2/bld.bat
recipes/genesis2/bld.bat
Batchfile
<|file_sep|>original/test_requirements.txt pytest==5.3.5 pytest-cov==2.8.1 freezegun==0.3.15 boto3==1.11.9 moto==1.3.14 mock==3.0.5 <|file_sep|>current/test_requirements.txt pytest==5.3.5 pytest-cov==2.8.1 freezegun==0.3.15 boto3==1.11.9 moto==1.3.14 mock==3.0.5 <|file_sep|>updated/test_requirements.txt
pytest==5.3.5 pytest-cov==2.8.1 freezegun==0.3.15 boto3==1.12.11 moto==1.3.14 mock==3.0.5
<|file_sep|>original/test_requirements.txt pytest==5.3.5 pytest-cov==2.8.1 freezegun==0.3.15 boto3==1.11.9 moto==1.3.14 mock==3.0.5 <|file_sep|>current/test_requirements.txt pytest==5.3.5 pytest-cov==2.8.1 freezegun==0.3.15 boto3==1.11.9 moto==1.3.14 mock==3.0.5 <|file_sep|>updated/test_requirements.txt pytest==5.3.5 p...
921fa50af3f36900da1aabec96ec5cde1fe5cfad
test_requirements.txt
test_requirements.txt
Text
<|file_sep|>original/CHANGELOG.md 1.4.0 ===== * Fix error when disconnecting clients (missing argument for fs.close) * Using `npm shrinkwrap` to fix dependency's versions * Allow log level to be set with environment variable `LOGLEVEL` * Adding timestamp to log output * Kill server process if main.js (monitor...
1.4.0 ===== * Fix error when disconnecting clients (missing argument for fs.close) * Using npm lock file to fix dependencies' versions * Allow log level to be set with environment variable `LOGLEVEL` * Adding timestamp to log output * Kill server process if main.js (monitoring) gets killed. This will **no...
<|file_sep|>original/CHANGELOG.md 1.4.0 ===== * Fix error when disconnecting clients (missing argument for fs.close) * Using `npm shrinkwrap` to fix dependency's versions * Allow log level to be set with environment variable `LOGLEVEL` * Adding timestamp to log output * Kill server process if main.js (monitor...
beee848a4c9ba1b40d82160ab414026b5a7f9f74
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>original/static/client.js $(document).ready(function () { var provider = new XMPPProvider({webrtc: {video: true, fake: true}}); $('form').submit(function() { var jid = $('#jid').val(); var pass = $('#pass').val(); provider.connect({jid: jid, pass: pass}); return false; }); provider...
$(document).ready(function () { var provider = new XMPPProvider({webrtc: {video: true, audio: true}}); $('form').submit(function() { var jid = $('#jid').val(); var pass = $('#pass').val(); provider.connect({jid: jid, pass: pass}); return false; }); provider.on('contact-list', function(roster) ...
<|file_sep|>original/static/client.js $(document).ready(function () { var provider = new XMPPProvider({webrtc: {video: true, fake: true}}); $('form').submit(function() { var jid = $('#jid').val(); var pass = $('#pass').val(); provider.connect({jid: jid, pass: pass}); return false; }); provider...
0dde3e29458a9cb10d2df873591b0023fdc3ba34
static/client.js
static/client.js
JavaScript
<|file_sep|>original/tests/test_lc.py <|file_sep|>current/tests/test_lc.py <|file_sep|>updated/tests/test_lc.py
from __future__ import division, print_function import cPickle as pickle import sys import matplotlib.pyplot as plt print('Loading lc file...') lcdata = pickle.load(open(sys.argv[1])) time = lcdata['time'] lc = lcdata['lc'] gti = lcdata['gti'] plt.plot(time, lc, drawstyle='steps-mid', color='k') for g in gti: p...
<|file_sep|>original/tests/test_lc.py <|file_sep|>current/tests/test_lc.py <|file_sep|>updated/tests/test_lc.py from __future__ import division, print_function import cPickle as pickle import sys import matplotlib.pyplot as plt print('Loading lc file...') lcdata = pickle.load(open(sys.argv[1])) time = lcdata['time'...
4e73cc77f8353bf18b15d704fe58336018cb68a8
tests/test_lc.py
tests/test_lc.py
Python
<|file_sep|>npm-react/README.md.diff original: var immutabilityHelpers = require('react/addons/updates'); updated: var immutabilityHelpers = require('react/addons/update'); <|file_sep|>original/npm-react/README.md without also requiring the JSX transformer. This is especially useful for cases where you want to [`browse...
An npm package to get you immediate access to [React](https://facebook.github.io/react/), without also requiring the JSX transformer. This is especially useful for cases where you want to [`browserify`](https://github.com/substack/node-browserify) your module using `React`. **Note:** by default, React will be in devel...
<|file_sep|>npm-react/README.md.diff original: var immutabilityHelpers = require('react/addons/updates'); updated: var immutabilityHelpers = require('react/addons/update'); <|file_sep|>original/npm-react/README.md without also requiring the JSX transformer. This is especially useful for cases where you want to [`browse...
c9ab11f5ff8d7c9d148d99e5f65873c2d54377b6
npm-react/README.md
npm-react/README.md
Markdown
<|file_sep|>original/CHANGELOG.md # dev-master (v0.1.x) 2015-08-03 msiebeneicher <marc.siebeneicher@trivago.com> * added first DoctrineCacheTest and travis-ci config * changed default parameters in ChapiApplication * updated docs # v0.1.0 2015-08-03 msiebeneicher <marc.siebeneicher@triv...
# dev-master (v0.1.x) 2015-08-04 msiebeneicher <marc.siebeneicher@trivago.com> * updated ApiClient::addingJob() and integrated unit tests 2015-08-03 msiebeneicher <marc.siebeneicher@trivago.com> * added first DoctrineCacheTest and travis-ci config * changed default parameters in ChapiAp...
<|file_sep|>original/CHANGELOG.md # dev-master (v0.1.x) 2015-08-03 msiebeneicher <marc.siebeneicher@trivago.com> * added first DoctrineCacheTest and travis-ci config * changed default parameters in ChapiApplication * updated docs # v0.1.0 2015-08-03 msiebeneicher <marc.siebeneicher@triv...
270a23ac29cdfaa31965ab810f2724f4718f2cc8
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>original/_config.yml # Site settings title: "Plotly Academy" description: "site description goes here" url: "http://academy.plot.ly" # Tutorials collections: react: output: true permalink: /react/:path/index.html title: "Learn React.js with @mxstbr" category: "Frontend" ipython-notebook...
# Site settings title: "Plotly Academy" description: "site description goes here" url: "http://academy.plot.ly" # Tutorials collections: react: output: true permalink: /react/:path/index.html title: "Build your first real world React.js application with @mxstbr" category: "Frontend" ipython-noteboo...
<|file_sep|>original/_config.yml # Site settings title: "Plotly Academy" description: "site description goes here" url: "http://academy.plot.ly" # Tutorials collections: react: output: true permalink: /react/:path/index.html title: "Learn React.js with @mxstbr" category: "Frontend" ipython-notebook...
8699203891ae962f952bd8f3fc046ed73917cecf
_config.yml
_config.yml
YAML
<|file_sep|>original/src/RecurrenceInterface.php <?php namespace Plummer\Calendar; interface RecurrenceInterface { public function getEvents(); } <|file_sep|>current/src/RecurrenceInterface.php <?php namespace Plummer\Calendar; interface RecurrenceInterface { public function getEvents(); } <|file_sep|>updated/src...
<?php namespace Plummer\Calendar; interface RecurrenceInterface { public function generate(); }
<|file_sep|>original/src/RecurrenceInterface.php <?php namespace Plummer\Calendar; interface RecurrenceInterface { public function getEvents(); } <|file_sep|>current/src/RecurrenceInterface.php <?php namespace Plummer\Calendar; interface RecurrenceInterface { public function getEvents(); } <|file_sep|>updated/src...
dbe14b6839ca2980f504af6daa19fa63782b9745
src/RecurrenceInterface.php
src/RecurrenceInterface.php
PHP
<|file_sep|>original/lib/generators/templates/app/views/_form.html.erb <%- strformfor = "@#{singular_table_name}" if not namespace_alone.blank? then strformfor = "[:#{namespace_alone}, @#{singular_table_name} ]" end -%> <%%= form_for(<%= strformfor %>, :class => "form-horizontal") do |f| %> <%% if @<%= singular_ta...
<%- strformfor = "@#{singular_table_name}" if not namespace_alone.blank? then strformfor = "[:#{namespace_alone}, @#{singular_table_name} ]" end -%> <%%= form_for(<%= strformfor %>, :html => { :class => "form-horizontal" }) do |f| %> <%% if @<%= singular_table_name %>.errors.any? %> <div id="error_explanation"...
<|file_sep|>original/lib/generators/templates/app/views/_form.html.erb <%- strformfor = "@#{singular_table_name}" if not namespace_alone.blank? then strformfor = "[:#{namespace_alone}, @#{singular_table_name} ]" end -%> <%%= form_for(<%= strformfor %>, :class => "form-horizontal") do |f| %> <%% if @<%= singular_ta...
718f223342677de2274b15175da0944ea6e73167
lib/generators/templates/app/views/_form.html.erb
lib/generators/templates/app/views/_form.html.erb
HTML+ERB
<|file_sep|>conllu/__init__.py.diff original: updated: def parse_incr(in_file, fields=None): for sentence in _iter_sents(in_file): yield TokenList(*parse_token_and_metadata(sentence, fields=fields)) def parse_tree(data): tokenlists = parse(data) sentences = [] for tokenlist in tokenlists: ...
sentences = [] for tokenlist in tokenlists: sentences.append(tokenlist.to_tree()) return sentences def parse_tree_incr(in_file): for tokenlist in parse_incr(in_file): yield tokenlist.to_tree() def _iter_sents(in_file): buf = [] for line in in_file: if line == "\n": ...
<|file_sep|>conllu/__init__.py.diff original: updated: def parse_incr(in_file, fields=None): for sentence in _iter_sents(in_file): yield TokenList(*parse_token_and_metadata(sentence, fields=fields)) def parse_tree(data): tokenlists = parse(data) sentences = [] for tokenlist in tokenlists: ...
699279fe19c20e200db91e032c97b3f0b644c2af
conllu/__init__.py
conllu/__init__.py
Python
<|file_sep|>lib/index.js.diff original: var converters = { 'distance': [ 'mil', 'in', 'ft', 'yd', 'mi', 'cp', 'rd', 'A', 'n', 'µ', 'mm', 'cm', 'm', 'km', 'ly', 'ld', 'lh', 'lm', 'ls' ], 'weight': [ 'ct', 'pt', 'adr', 'tdr', 'mgr', 'tgr', 'g', 'lhwt', 'shwt', 'kg', 'M...
var getConverters = require('./utils/get_converters'); module.exports = function(options) { /* * TODO Support for large numbers using big.js https://github.com/MikeMcl/big.js/ * when options contains big: true */ this.convert = function(value, unit) { var converters = getConverters(); ...
<|file_sep|>lib/index.js.diff original: var converters = { 'distance': [ 'mil', 'in', 'ft', 'yd', 'mi', 'cp', 'rd', 'A', 'n', 'µ', 'mm', 'cm', 'm', 'km', 'ly', 'ld', 'lh', 'lm', 'ls' ], 'weight': [ 'ct', 'pt', 'adr', 'tdr', 'mgr', 'tgr', 'g', 'lhwt', 'shwt', 'kg', 'M...
693c3a5b22bba808dd445990a760b0dced3f8c21
lib/index.js
lib/index.js
JavaScript
<|file_sep|>original/README.md * `ember test` * `ember test --server` ### Building * `ember build` (development) * `ember build --environment production` (production) ### Deploying * ./deploy.sh ## Further Reading / Useful Links * ember: http://emberjs.com/ * ember-cli: http://www.ember-cli.com/ * Development Br...
* `ember test` * `ember test --server` ### Building * `ember build` (development) * `ember build --environment production` (production) ### Deploying * `./deploy.sh` ## Further Reading / Useful Links * ember: http://emberjs.com/ * ember-cli: http://www.ember-cli.com/ * Development Browser Extensions * [ember i...
<|file_sep|>original/README.md * `ember test` * `ember test --server` ### Building * `ember build` (development) * `ember build --environment production` (production) ### Deploying * ./deploy.sh ## Further Reading / Useful Links * ember: http://emberjs.com/ * ember-cli: http://www.ember-cli.com/ * Development Br...
c3b6a3cbf81322a28fdcf7f63bb2678a18742248
README.md
README.md
Markdown
<|file_sep|>CoconutData/Source/Graphics/CNGraphics.swift.diff original: public enum CNAlignment: Int32 { case Left case Center case Right updated: public enum CNAxis: Int32 { case horizontal case vertical <|file_sep|>CoconutData/Source/Graphics/CNGraphics.swift.diff original: case Top case Middle case Bottom ...
public var description: String { let result: String switch self { case .horizontal: result = "horizontal" case .vertical: result = "vertial" } return result } } public enum CNAlignment: Int32 { case leading case trailing case fill case center public var description: String { let result: String ...
<|file_sep|>CoconutData/Source/Graphics/CNGraphics.swift.diff original: public enum CNAlignment: Int32 { case Left case Center case Right updated: public enum CNAxis: Int32 { case horizontal case vertical <|file_sep|>CoconutData/Source/Graphics/CNGraphics.swift.diff original: case Top case Middle case Bottom ...
242eab02c0341a989c7abdd50111fca8a420418d
CoconutData/Source/Graphics/CNGraphics.swift
CoconutData/Source/Graphics/CNGraphics.swift
Swift
<|file_sep|>service/init.go.diff original: "github.com/coreos/go-etcd/etcd" updated: "io/ioutils" <|file_sep|>service/init.go.diff original: updated: "github.com/coreos/go-etcd/etcd" <|file_sep|>service/init.go.diff original: updated: cacert = os.Getenv("ETCD_CACERT") tlskey = os.Getenv("ETCD_TLS_KEY") tlsc...
} else { h, err := os.Hostname() if err != nil { panic(err) } hostname = h } logger = log.New(os.Stderr, "[etcd-discovery]", log.LstdFlags) } func newTLSClient(hosts []string) *etcd.Client { cacertContent, err := ioutils.ReadAll(cacert) if err != nil { panic(err) } keyContent, err := ioutils.ReadA...
<|file_sep|>service/init.go.diff original: "github.com/coreos/go-etcd/etcd" updated: "io/ioutils" <|file_sep|>service/init.go.diff original: updated: "github.com/coreos/go-etcd/etcd" <|file_sep|>service/init.go.diff original: updated: cacert = os.Getenv("ETCD_CACERT") tlskey = os.Getenv("ETCD_TLS_KEY") tlsc...
44de547317ecb78e4176631c7726f14082db7c48
service/init.go
service/init.go
Go
<|file_sep|>original/Nocilla.podspec s.author = { "Luis Solano" => "contact@luissolano.com" } s.source = { :git => "https://github.com/luisobo/Nocilla.git", :tag => "0.6" } s.ios.deployment_target = '4.0' s.osx.deployment_target = '10.7' s.source_files = 'Nocilla/**/*.{h,m}' s.public_header_...
s.source = { :git => "https://github.com/luisobo/Nocilla.git", :tag => "0.6" } s.ios.deployment_target = '4.0' s.osx.deployment_target = '10.7' s.source_files = 'Nocilla/**/*.{h,m}' s.public_header_files = ['Nocilla/Nocilla.h', 'Nocilla/LSNocilla.h', 'Nocilla/DSL/DSL.h', 'Nocilla/DSL/LSS...
<|file_sep|>original/Nocilla.podspec s.author = { "Luis Solano" => "contact@luissolano.com" } s.source = { :git => "https://github.com/luisobo/Nocilla.git", :tag => "0.6" } s.ios.deployment_target = '4.0' s.osx.deployment_target = '10.7' s.source_files = 'Nocilla/**/*.{h,m}' s.public_header_...
4266097d6bb583211fd5d19015fc8d00aa3b3520
Nocilla.podspec
Nocilla.podspec
Ruby
<|file_sep|>.travis.yml.diff original: updated: sudo: false <|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 - 2.1.1 - 2.1.2 - jruby-19mode <|file_sep|>current/.travis.yml sudo: false language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 - 2.1.1 - 2.1.2 - jruby-19mode <|file...
sudo: false language: ruby cache: bundler rvm: - 1.9.3 - 2.0.0 - 2.1.0 - 2.1.1 - 2.1.2 - jruby-19mode
<|file_sep|>.travis.yml.diff original: updated: sudo: false <|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 - 2.1.1 - 2.1.2 - jruby-19mode <|file_sep|>current/.travis.yml sudo: false language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 - 2.1.1 - 2.1.2 - jruby-19mode <|file...
06a71b55344dbe9c38477822951419decc03bd4c
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/Command/Time.js moment: null, Discord: null, dependencies: { 'moment': 'moment', 'Discord': 'Discord', }, processMessage: function (message, tokens) { const now = this.moment().locale(this.i18n.getLocale()); const cdt = now.tz('America/Chicago...
moment: null, Discord: null, dependencies: { 'moment': 'moment', 'Discord': 'Discord', }, processMessage: function (message, tokens) { const now = this.moment().locale(this.i18n.getLocale()); const cdt = now.tz('America/Chicago'); const jst = now.clone().tz('A...
<|file_sep|>original/src/Command/Time.js moment: null, Discord: null, dependencies: { 'moment': 'moment', 'Discord': 'Discord', }, processMessage: function (message, tokens) { const now = this.moment().locale(this.i18n.getLocale()); const cdt = now.tz('America/Chicago...
9524c1e2cb034235f914003f1c2b850fabef817e
src/Command/Time.js
src/Command/Time.js
JavaScript
<|file_sep|>original/source/manual/data-gov-uk-contracts-archive.html.md <|file_sep|>current/source/manual/data-gov-uk-contracts-archive.html.md <|file_sep|>updated/source/manual/data-gov-uk-contracts-archive.html.md
--- owner_slack: "#govuk-platform-health" title: Data.gov.uk Contracts Archive section: data.gov.uk layout: manual_layout type: learn parent: "/manual.html" last_reviewed_on: 2019-04-05 review_in: 6 months --- ## Contracts archive finder application The contracts archive currently sits on a publically accessible IP a...
<|file_sep|>original/source/manual/data-gov-uk-contracts-archive.html.md <|file_sep|>current/source/manual/data-gov-uk-contracts-archive.html.md <|file_sep|>updated/source/manual/data-gov-uk-contracts-archive.html.md --- owner_slack: "#govuk-platform-health" title: Data.gov.uk Contracts Archive section: data.gov.uk l...
df6fafc0b5a805996d8d0968712641856e3479c8
source/manual/data-gov-uk-contracts-archive.html.md
source/manual/data-gov-uk-contracts-archive.html.md
Markdown
<|file_sep|>original/app/views/forem/admin/forums/_form.html.erb <%= simple_form_for [forem, :admin, @forum] do |f| %> <%= f.association :category, :include_blank => false %> <%= f.input :title %> <%= f.input :description, :as => :text %> <h3>Moderator Groups</h3> <%= f.association :moderators, :as => :check...
<%= simple_form_for [forem, :admin, @forum] do |f| %> <%= f.association :category, :include_blank => false %> <%= f.input :title %> <%= f.input :description, :as => :text %> <h3>Private for</h3> <%= f.association :allowed_viewers, :as => :check_boxes %> <h3>Moderator Groups</h3> <%= f.association :moder...
<|file_sep|>original/app/views/forem/admin/forums/_form.html.erb <%= simple_form_for [forem, :admin, @forum] do |f| %> <%= f.association :category, :include_blank => false %> <%= f.input :title %> <%= f.input :description, :as => :text %> <h3>Moderator Groups</h3> <%= f.association :moderators, :as => :check...
0b67a4bbb55afa301818d11e8d6fb4c9a6f560b4
app/views/forem/admin/forums/_form.html.erb
app/views/forem/admin/forums/_form.html.erb
HTML+ERB
<|file_sep|>.travis.yml.diff original: - sudo apt-get update -qq - sudo apt-get install libgtk-3-dev updated: - echo $TRAVIS_OS_NAME - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get -qq update ; fi - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install libgtk-3-dev ; fi - if [ "$...
- linux - osx perl6: - 2016.05 - latest before_install: - echo $TRAVIS_OS_NAME - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get -qq update ; fi - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install libgtk-3-dev ; fi - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update ...
<|file_sep|>.travis.yml.diff original: - sudo apt-get update -qq - sudo apt-get install libgtk-3-dev updated: - echo $TRAVIS_OS_NAME - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get -qq update ; fi - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install libgtk-3-dev ; fi - if [ "$...
6e69610557eac551cabd833286e8ab1874548033
.travis.yml
.travis.yml
YAML
<|file_sep|>TYPO3.Flow/Tests/Functional/Reflection/Fixtures/BrokenClassImplementingDoctrineProxy.php.diff original: // run during functional tests will fail. It is NOT used for the testcase. updated: // run during functional tests will fail, as it expects to find a class named // like the file. It is NOT used for th...
* See issue http://forge.typo3.org/issues/29449 for details. */ class BrokenClassImplementingDoctrineProxy { // This class just exists to satisfy the class loader -- else the compilation // run during functional tests will fail, as it expects to find a class named // like the file. It is NOT used for the testcase....
<|file_sep|>TYPO3.Flow/Tests/Functional/Reflection/Fixtures/BrokenClassImplementingDoctrineProxy.php.diff original: // run during functional tests will fail. It is NOT used for the testcase. updated: // run during functional tests will fail, as it expects to find a class named // like the file. It is NOT used for th...
7f67dec99a6479bf8d85f7c641a3f71686157a67
TYPO3.Flow/Tests/Functional/Reflection/Fixtures/BrokenClassImplementingDoctrineProxy.php
TYPO3.Flow/Tests/Functional/Reflection/Fixtures/BrokenClassImplementingDoctrineProxy.php
PHP
<|file_sep|>original/project/plugins.sbt resolvers ++= Seq( Classpaths.typesafeReleases, Classpaths.sbtPluginReleases, "jgit-repo" at "https://download.eclipse.org/jgit/maven", Resolver.sonatypeRepo("snapshots") ) addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.9.3") addSbtPlugin("com.github.sbt" % "sbt-un...
resolvers ++= Seq( Classpaths.typesafeReleases, Classpaths.sbtPluginReleases, "jgit-repo" at "https://download.eclipse.org/jgit/maven", Resolver.sonatypeRepo("snapshots") ) addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.9.3") addSbtPlugin("com.github.sbt" % "sbt-unidoc" % "0.5.0") addSbtPlugin("com.github...
<|file_sep|>original/project/plugins.sbt resolvers ++= Seq( Classpaths.typesafeReleases, Classpaths.sbtPluginReleases, "jgit-repo" at "https://download.eclipse.org/jgit/maven", Resolver.sonatypeRepo("snapshots") ) addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.9.3") addSbtPlugin("com.github.sbt" % "sbt-un...
218ef1cce33b858406089274a199d84949288eb1
project/plugins.sbt
project/plugins.sbt
Scala
<|file_sep|>original/_posts/2017-10-31-Node-Router-Error.md --- layout: post title: " Node.js Error : Router.use() " date: 2017-10-31 excerpt: " TypeError: Router.use() requires middleware function but got a Object " cate : "post" tag: - node.js --- ## Problem * npm start 명령어를 실행시키는데 다음과 같은 Error가 떴다. {% capture...
--- layout: post title: " Node.js Error : Router.use() " date: 2017-10-31 excerpt: " TypeError: Router.use() requires middleware function but got a Object " cate : "post" tag: - Node.js --- ## Problem * npm start 명령어를 실행시키는데 다음과 같은 Error가 떴다. {% capture images %} /assets/img/posts/ec2_error_1.png {% endcapture ...
<|file_sep|>original/_posts/2017-10-31-Node-Router-Error.md --- layout: post title: " Node.js Error : Router.use() " date: 2017-10-31 excerpt: " TypeError: Router.use() requires middleware function but got a Object " cate : "post" tag: - node.js --- ## Problem * npm start 명령어를 실행시키는데 다음과 같은 Error가 떴다. {% capture...
77d20554530c169c3e02e96950b3e139e029cb4a
_posts/2017-10-31-Node-Router-Error.md
_posts/2017-10-31-Node-Router-Error.md
Markdown
<|file_sep|>original/lib/hue.rb require 'hue/version' require 'hue/errors' require 'hue/client' require 'hue/bridge' require 'hue/editable_state' require 'hue/translate_keys' require 'hue/light' require 'hue/group' require 'hue/scene' module Hue USERNAME_RANGE = 10..40 USERNAME = '1234567890' end <|file_sep|>curre...
require 'hue/version' require 'hue/errors' require 'hue/client' require 'hue/bridge' require 'hue/editable_state' require 'hue/translate_keys' require 'hue/light' require 'hue/group' require 'hue/scene' module Hue USERNAME_RANGE = 10..40 USERNAME = (ENV['HUE_BRIDGE_USER'] && ENV['HUE_BRIDGE_USER'] != '') ? ENV['HU...
<|file_sep|>original/lib/hue.rb require 'hue/version' require 'hue/errors' require 'hue/client' require 'hue/bridge' require 'hue/editable_state' require 'hue/translate_keys' require 'hue/light' require 'hue/group' require 'hue/scene' module Hue USERNAME_RANGE = 10..40 USERNAME = '1234567890' end <|file_sep|>curre...
99305027a162e30813fce773a9c44bb9d0f67381
lib/hue.rb
lib/hue.rb
Ruby
<|file_sep|>original/app/controllers/api/agendas_controller.rb class Api::AgendasController < ApplicationController end <|file_sep|>current/app/controllers/api/agendas_controller.rb class Api::AgendasController < ApplicationController end <|file_sep|>updated/app/controllers/api/agendas_controller.rb
class Api::AgendasController < ApplicationController def index @agendas = Agenda.all render json: @agendas end def show @agenda = Agenda.find(params[:id]) render json: @agenda end end
<|file_sep|>original/app/controllers/api/agendas_controller.rb class Api::AgendasController < ApplicationController end <|file_sep|>current/app/controllers/api/agendas_controller.rb class Api::AgendasController < ApplicationController end <|file_sep|>updated/app/controllers/api/agendas_controller.rb class Api::AgendasC...
457a3d3165fcc7fbe0fb5e533e0a417c84890be5
app/controllers/api/agendas_controller.rb
app/controllers/api/agendas_controller.rb
Ruby
<|file_sep|>original/src/test/resources/com/semperos/screwdriver/sample/hardcoded-build.js { mainConfigFile: 'output/javascripts/common.js', optimize: 'none', baseUrl: 'output/javascripts', // was full canonical path findNestedDependencies: true, include: [ 'common' ], insertRequire: [ 'common' ...
{ mainConfigFile: 'output/javascripts/common.js', optimize: 'none', baseUrl: 'output/javascripts', // was full canonical path findNestedDependencies: true, include: [ 'common' ], insertRequire: [ 'common' ], // This is relative to baseUrl name: 'vendor/almond-0.2.4', wrap: true, ...
<|file_sep|>original/src/test/resources/com/semperos/screwdriver/sample/hardcoded-build.js { mainConfigFile: 'output/javascripts/common.js', optimize: 'none', baseUrl: 'output/javascripts', // was full canonical path findNestedDependencies: true, include: [ 'common' ], insertRequire: [ 'common' ...
180fd901302c238d3a033c2620a8a1d61909a9c4
src/test/resources/com/semperos/screwdriver/sample/hardcoded-build.js
src/test/resources/com/semperos/screwdriver/sample/hardcoded-build.js
JavaScript
<|file_sep|>testrepository/tests/test_setup.py.diff original: stderr=subprocess.STDOUT) updated: stderr=subprocess.STDOUT, universal_newlines=True) <|file_sep|>original/testrepository/tests/test_setup.py import sys from testtools import ( TestCase, ) from testtools.matchers import ( ...
TestCase, ) from testtools.matchers import ( DocTestMatches, ) class TestCanSetup(TestCase): def test_bdist(self): # Single smoke test to make sure we can build a package. path = os.path.join(os.path.dirname(__file__), '..', '..', 'setup.py') proc = subprocess.Popen([sys.ex...
<|file_sep|>testrepository/tests/test_setup.py.diff original: stderr=subprocess.STDOUT) updated: stderr=subprocess.STDOUT, universal_newlines=True) <|file_sep|>original/testrepository/tests/test_setup.py import sys from testtools import ( TestCase, ) from testtools.matchers import ( ...
2c02816c05f3863ef76b3a412ac5bad9eecfafdd
testrepository/tests/test_setup.py
testrepository/tests/test_setup.py
Python
<|file_sep|>original/src/style/style.css * { box-sizing: border-box; } html, body { height: 100%; width: 100%; overflow: hidden; -webkit-user-select: none; } body { background: black; color: white; font-family: 'Avenir Next', 'Helvetica Neue', sans-serif; padding: 30px; } drag-reg...
* { box-sizing: border-box; position: relative; } html, body { height: 100%; width: 100%; overflow: hidden; -webkit-user-select: none; } body { background: black; color: white; font-family: 'Avenir Next', 'Helvetica Neue', sans-serif; padding: 30px; } drag-region {
<|file_sep|>original/src/style/style.css * { box-sizing: border-box; } html, body { height: 100%; width: 100%; overflow: hidden; -webkit-user-select: none; } body { background: black; color: white; font-family: 'Avenir Next', 'Helvetica Neue', sans-serif; padding: 30px; } drag-reg...
ede5a84e308e8b2f242d944a75ba33c7f21b4f07
src/style/style.css
src/style/style.css
CSS
<|file_sep|>original/src/static/index.html <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" /> <title>TODO</title> <link rel="stylesheet" href="./index.css"> </head> <body> <div class="indicator">Loading</div> <...
<meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" /> <title>TODO</title> <link rel="stylesheet" href="./index.css"> </head> <body> <div class="indicator">Loading</div> <webview id="todo-app" src="http...
<|file_sep|>original/src/static/index.html <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" /> <title>TODO</title> <link rel="stylesheet" href="./index.css"> </head> <body> <div class="indicator">Loading</div> <...
12c1b0a973e159d21eb3b3578b300936d30b88cb
src/static/index.html
src/static/index.html
HTML
<|file_sep|>datafilters/views.py.diff original: try: from django.views.generic.base import ContextMixin as mixin_base except ImportError: mixin_base = object updated: from django.views.generic.list import MultipleObjectMixin <|file_sep|>original/datafilters/views.py try: from django.views.generic.base impor...
from django.views.generic.list import MultipleObjectMixin __all__ = ('FilterFormMixin',) class FilterFormMixin(MultipleObjectMixin): """ Mixin that adds filtering behaviour for Class Based Views. Changed in a way that can play nicely with other CBV simply by overriding the get_queryset(self) and get_...
<|file_sep|>datafilters/views.py.diff original: try: from django.views.generic.base import ContextMixin as mixin_base except ImportError: mixin_base = object updated: from django.views.generic.list import MultipleObjectMixin <|file_sep|>original/datafilters/views.py try: from django.views.generic.base impor...
85f8d0662901047115f2d852489a3a5be1a01226
datafilters/views.py
datafilters/views.py
Python
<|file_sep|>original/.travis.yml language: java jdk: - oraclejdk7 - openjdk7 before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock cache: directories: - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/ # https://github.com/travis-ci/travis-ci/issues/5227 sudo: false <|file_sep|>current/.t...
language: java jdk: - oraclejdk8 - openjdk7 before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock cache: directories: - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/ # https://github.com/travis-ci/travis-ci/issues/5227 sudo: false
<|file_sep|>original/.travis.yml language: java jdk: - oraclejdk7 - openjdk7 before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock cache: directories: - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/ # https://github.com/travis-ci/travis-ci/issues/5227 sudo: false <|file_sep|>current/.t...
da930c7ff909b3f89db4dd0164ae76b61211e621
.travis.yml
.travis.yml
YAML
<|file_sep|>original/GitVersion.yml assembly-versioning-format: '{major}.{minor}.{WeightedPreReleaseNumber}' assembly-informational-format: '{major}.{minor}{PreReleaseTagWithDash}--{CommitDate}--{ShortSha}' mode: ContinuousDeployment continuous-delivery-fallback-tag: '' branches: master: regex: ^master tag:...
assembly-versioning-format: '{major}.{minor}.{WeightedPreReleaseNumber}' assembly-informational-format: '{major}.{minor}{PreReleaseTagWithDash}--{CommitDate}--{ShortSha}' mode: ContinuousDeployment branches: master: regex: ^master tag: beta pre-release-weight: 30000 # 0 after stable release, 15000 before...
<|file_sep|>original/GitVersion.yml assembly-versioning-format: '{major}.{minor}.{WeightedPreReleaseNumber}' assembly-informational-format: '{major}.{minor}{PreReleaseTagWithDash}--{CommitDate}--{ShortSha}' mode: ContinuousDeployment continuous-delivery-fallback-tag: '' branches: master: regex: ^master tag:...
3d9eccce7e757ac56a4db15cd5cf0a5fa1da69e2
GitVersion.yml
GitVersion.yml
YAML
<|file_sep|>README.rst.diff original: .. image:: https://travis-ci.org/solidarium/correios.png :target: https://travis-ci.org/solidarium/correios updated: .. image:: https://travis-ci.org/olist/correios.png :target: https://travis-ci.org/olist/correios <|file_sep|>original/README.rst correios ======== .. image::...
correios ======== .. image:: https://img.shields.io/pypi/v/correios.svg :target: https://pypi.python.org/pypi/correios :alt: Latest PyPI version .. image:: https://travis-ci.org/olist/correios.png :target: https://travis-ci.org/olist/correios :alt: Latest Travis CI build status .. image:: https://cover...
<|file_sep|>README.rst.diff original: .. image:: https://travis-ci.org/solidarium/correios.png :target: https://travis-ci.org/solidarium/correios updated: .. image:: https://travis-ci.org/olist/correios.png :target: https://travis-ci.org/olist/correios <|file_sep|>original/README.rst correios ======== .. image::...
73cfbfcee81c7abc24ae48d4c718aa2e5aeddaaa
README.rst
README.rst
reStructuredText
<|file_sep|>original/lib/jsonapi_swagger_helpers/destroy_action.rb module JsonapiSwaggerHelpers class DestroyAction include JsonapiSwaggerHelpers::Writeable def action_name :destroy end def generate _self = self @node.operation :delete do key :description, _self.descriptio...
def action_name :destroy end def generate _self = self @node.operation :delete do key :description, _self.description key :operationId, _self.operation_id key :tags, _self.tags _self.util.id_in_url(self) response 200 do key :description...
<|file_sep|>original/lib/jsonapi_swagger_helpers/destroy_action.rb module JsonapiSwaggerHelpers class DestroyAction include JsonapiSwaggerHelpers::Writeable def action_name :destroy end def generate _self = self @node.operation :delete do key :description, _self.descriptio...
a033605a63b896bad28830f146a2b589d4d50938
lib/jsonapi_swagger_helpers/destroy_action.rb
lib/jsonapi_swagger_helpers/destroy_action.rb
Ruby
<|file_sep|>original/README.md # Nullable Types [![GoDoc](https://godoc.org/github.com/spkg/nullable?status.svg)](https://godoc.org/github.com/spkg/nullable) [![Build Status (Linux)](https://travis-ci.org/spkg/nullable.svg?branch=master)](https://travis-ci.org/spkg/nullable) [![license](http://img.shields.io/badge/lic...
# Nullable Types [![GoDoc](https://godoc.org/github.com/spkg/nullable?status.svg)](https://godoc.org/github.com/spkg/nullable) [![Build Status (Linux)](https://travis-ci.org/spkg/nullable.svg?branch=master)](https://travis-ci.org/spkg/nullable) [![Build status (Windows)](https://ci.appveyor.com/api/projects/status/txf...
<|file_sep|>original/README.md # Nullable Types [![GoDoc](https://godoc.org/github.com/spkg/nullable?status.svg)](https://godoc.org/github.com/spkg/nullable) [![Build Status (Linux)](https://travis-ci.org/spkg/nullable.svg?branch=master)](https://travis-ci.org/spkg/nullable) [![license](http://img.shields.io/badge/lic...
895bf7427fc0379ba600ee8b65deeb1c853122d6
README.md
README.md
Markdown
<|file_sep|>packages/st/stable-marriage.yaml.diff original: hash: 667ccf960a53f46a907e898bf8452fc939915f13f7fdd384842a518912433857 updated: hash: 2c6bf22d87409cf65d65a4809606f7882f0162fbb31c9a82fae3af6b393a76aa <|file_sep|>packages/st/stable-marriage.yaml.diff original: ghc-prim: ! '>=0.4 && <0.5' updated: ghc-prim...
homepage: http://github.com/cutsea110/stable-marriage changelog-type: '' hash: 2c6bf22d87409cf65d65a4809606f7882f0162fbb31c9a82fae3af6b393a76aa test-bench-deps: {} maintainer: cutsea110@gmail.com synopsis: algorithms around stable marriage changelog: '' basic-deps: base: ! '>=4.8 && <5' ghc-prim: ! '>=0.4 && <0.6' ...
<|file_sep|>packages/st/stable-marriage.yaml.diff original: hash: 667ccf960a53f46a907e898bf8452fc939915f13f7fdd384842a518912433857 updated: hash: 2c6bf22d87409cf65d65a4809606f7882f0162fbb31c9a82fae3af6b393a76aa <|file_sep|>packages/st/stable-marriage.yaml.diff original: ghc-prim: ! '>=0.4 && <0.5' updated: ghc-prim...
4f38a161db8e6374ad3e7da857c1c5031be399d8
packages/st/stable-marriage.yaml
packages/st/stable-marriage.yaml
YAML
<|file_sep|>.travis.yml.diff original: updated: cache: directories: - ./vendor - $HOME/.composer/cache env: - LARAVEL_VERSION=5.5.* TESTBENCH_VERSION=3.5.* - LARAVEL_VERSION=5.6.* TESTBENCH_VERSION=3.6.* <|file_sep|>original/.travis.yml language: php php: - 7.0 - 7.1 before_script: - composer s...
php: - 7.0 - 7.1 cache: directories: - ./vendor - $HOME/.composer/cache env: - LARAVEL_VERSION=5.5.* TESTBENCH_VERSION=3.5.* - LARAVEL_VERSION=5.6.* TESTBENCH_VERSION=3.6.* before_script: - composer self-update - composer require "laravel/framework:${LARAVEL_VERSION}" "orchestra/testbench:${TES...
<|file_sep|>.travis.yml.diff original: updated: cache: directories: - ./vendor - $HOME/.composer/cache env: - LARAVEL_VERSION=5.5.* TESTBENCH_VERSION=3.5.* - LARAVEL_VERSION=5.6.* TESTBENCH_VERSION=3.6.* <|file_sep|>original/.travis.yml language: php php: - 7.0 - 7.1 before_script: - composer s...
4d14ad468a87f0256b6a0896add1a236d648228b
.travis.yml
.travis.yml
YAML
<|file_sep|>original/lib/penguin/cli.rb def self.source_root File.expand_path("../../../assets", __FILE__) end default_task :start desc "start", "Start your presentation" def start if Pathname.new("deck.rb").exist? Server.run! else say "You must be inside a proje...
def self.source_root File.expand_path("../../../assets", __FILE__) end default_task :start desc "start", "Start your presentation" def start if Pathname.new("deck.rb").exist? say "Starting Penguin... Press control-C to stop.", :green Server.run! else say ...
<|file_sep|>original/lib/penguin/cli.rb def self.source_root File.expand_path("../../../assets", __FILE__) end default_task :start desc "start", "Start your presentation" def start if Pathname.new("deck.rb").exist? Server.run! else say "You must be inside a proje...
5203f189b1f55595a0785a55aaa48c8e0de2c04a
lib/penguin/cli.rb
lib/penguin/cli.rb
Ruby
<|file_sep|>original/.vsts-ci.yml variables: deployment: deploy nuget: packages steps: - task: NuGetCommand@2 inputs: command: 'restore' packDestination: $(nuget) projects: WhiteLibrary\src\ displayName: Download NuGet packages - script: | pip install -r requirements.txt displayName: Insta...
variables: deployment: deploy nuget: packages steps: - task: NuGetCommand@2 inputs: command: 'restore' packDestination: $(nuget) projects: src\WhiteLibrary displayName: Download NuGet packages - script: | pip install -r requirements.txt displayName: Install needed compoments from PyPi - t...
<|file_sep|>original/.vsts-ci.yml variables: deployment: deploy nuget: packages steps: - task: NuGetCommand@2 inputs: command: 'restore' packDestination: $(nuget) projects: WhiteLibrary\src\ displayName: Download NuGet packages - script: | pip install -r requirements.txt displayName: Insta...
35f94e5a346f479ec6cc4f37978f6c5aa7ca1e82
.vsts-ci.yml
.vsts-ci.yml
YAML
<|file_sep|>original/examples/affiliateNetwork/index.php <|file_sep|>current/examples/affiliateNetwork/index.php <|file_sep|>updated/examples/affiliateNetwork/index.php
<?php /* * Copyright 2011 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
<|file_sep|>original/examples/affiliateNetwork/index.php <|file_sep|>current/examples/affiliateNetwork/index.php <|file_sep|>updated/examples/affiliateNetwork/index.php <?php /* * Copyright 2011 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in c...
fb5cb4b50c297cdff686554a2a7dff2b628ccdb0
examples/affiliateNetwork/index.php
examples/affiliateNetwork/index.php
PHP
<|file_sep|>original/.travis.yml language: objective-c osx_image: xcode6.4 before_script: - bundle install script: - xcodebuild -project Valet.xcodeproj -scheme "Valet iOS" -sdk iphonesimulator -configuration Debug -PBXBuildsContinueAfterErrors=0 ACTIVE_ARCH_ONLY=0 build test - xcodebuild -project Valet.xco...
language: objective-c osx_image: xcode6.4 before_script: - bundle install script: - xcodebuild -project Valet.xcodeproj -scheme "Valet iOS" -sdk iphonesimulator -configuration Debug -PBXBuildsContinueAfterErrors=0 ACTIVE_ARCH_ONLY=0 build test - xcodebuild -project Valet.xcodeproj -scheme "Valet Mac" -sdk m...
<|file_sep|>original/.travis.yml language: objective-c osx_image: xcode6.4 before_script: - bundle install script: - xcodebuild -project Valet.xcodeproj -scheme "Valet iOS" -sdk iphonesimulator -configuration Debug -PBXBuildsContinueAfterErrors=0 ACTIVE_ARCH_ONLY=0 build test - xcodebuild -project Valet.xco...
af11cbefcb640dc5443d880dcc5dbc477a773263
.travis.yml
.travis.yml
YAML
<|file_sep|>original/README.rst Clone the repository:: git clone git://github.com/jericks/geoserver-shell.git Build the code:: mvn clean install Run the geoserver-shell:: java -jar target/geoserver-shell-1.0-SNAPSHOT.jar Enter commands:: gs-shell>geoserver set --url http://localhost:8080/geoserve...
Clone the repository:: git clone git://github.com/jericks/geoserver-shell.git Build the code:: mvn clean install Run the geoserver-shell:: target/gs-shell-app/gs-shell-1.0-SNAPSHOT/bin/gs-shell Enter commands:: gs-shell>geoserver set --url http://localhost:8080/geoserver --user admin --password g...
<|file_sep|>original/README.rst Clone the repository:: git clone git://github.com/jericks/geoserver-shell.git Build the code:: mvn clean install Run the geoserver-shell:: java -jar target/geoserver-shell-1.0-SNAPSHOT.jar Enter commands:: gs-shell>geoserver set --url http://localhost:8080/geoserve...
1e03dd3e84fa7ebf352cf2d47f1589bf37885a04
README.rst
README.rst
reStructuredText
<|file_sep|>original/docker-compose.yml --- version: '2' services: zookeeper: image: confluentinc/cp-zookeeper:latest environment: ZOOKEEPER_CLIENT_PORT: 2181 ZOOKEEPER_TICK_TIME: 2000 kafka: image: confluentinc/cp-kafka:latest depends_on: - zookeeper ports: - 9092:909...
--- version: '2' services: zookeeper: image: confluentinc/cp-zookeeper:5.2.6 environment: ZOOKEEPER_CLIENT_PORT: 2181 ZOOKEEPER_TICK_TIME: 2000 kafka: image: confluentinc/cp-kafka:latest depends_on: - zookeeper ports: - 9092:9092 environment: KAFKA_BROKER_ID:...
<|file_sep|>original/docker-compose.yml --- version: '2' services: zookeeper: image: confluentinc/cp-zookeeper:latest environment: ZOOKEEPER_CLIENT_PORT: 2181 ZOOKEEPER_TICK_TIME: 2000 kafka: image: confluentinc/cp-kafka:latest depends_on: - zookeeper ports: - 9092:909...
65db08d507b547a8387b979ab15806420e8a2412
docker-compose.yml
docker-compose.yml
YAML
<|file_sep|>original/lib/pub_sub/railties/active_record.rb module PubSub module Railties module ActiveRecord def self.included(klass) klass.send :include, InstanceMethods klass.send :extend, ClassMethods klass.after_save :publish_changes, if: -> { changed? } klass.after_dest...
module PubSub module Railties module ActiveRecord def self.included(klass) klass.send :include, InstanceMethods klass.send :extend, ClassMethods klass.after_save :publish_changes, if: -> { changed? } klass.after_destroy :publish_changes klass.after_touch :publish_cha...
<|file_sep|>original/lib/pub_sub/railties/active_record.rb module PubSub module Railties module ActiveRecord def self.included(klass) klass.send :include, InstanceMethods klass.send :extend, ClassMethods klass.after_save :publish_changes, if: -> { changed? } klass.after_dest...
b75ef2bec5134f561cfc83bba5577a19c2ee7215
lib/pub_sub/railties/active_record.rb
lib/pub_sub/railties/active_record.rb
Ruby
<|file_sep|>original/README.markdown ![Logo](https://github.com/uboot/stromx/raw/master/logo/stromx-logo-rgb-text-69x100.png) <br> <br> Welcome to stromx! ================ The stromx project provides tools for near real time processing of data with a focus on industrial imaging. Further information can be found on the...
![Logo](https://github.com/uboot/stromx/raw/master/logo/stromx-logo-rgb-text-69x100.png) <br> <br> Welcome to stromx! ================ The stromx project provides tools for near real time processing of data with a focus on industrial imaging. Further information can be found on the project <a href="http://www.stromx.o...
<|file_sep|>original/README.markdown ![Logo](https://github.com/uboot/stromx/raw/master/logo/stromx-logo-rgb-text-69x100.png) <br> <br> Welcome to stromx! ================ The stromx project provides tools for near real time processing of data with a focus on industrial imaging. Further information can be found on the...
fe794f63de0a84c488b785b9fa643c1ce91fce79
README.markdown
README.markdown
Markdown
<|file_sep|>original/packages/do/dobutokO4.yaml <|file_sep|>current/packages/do/dobutokO4.yaml <|file_sep|>updated/packages/do/dobutokO4.yaml
homepage: https://hackage.haskell.org/package/dobutokO4 changelog-type: markdown hash: 6eb8a3c695207a9e047f4b827e7f764680dc712147be8f433ddcca52df296c5a test-bench-deps: {} maintainer: olexandr543@yahoo.com synopsis: Helps to create experimental music. Uses SoX inside. changelog: | # Revision history for dobutokO4 ...
<|file_sep|>original/packages/do/dobutokO4.yaml <|file_sep|>current/packages/do/dobutokO4.yaml <|file_sep|>updated/packages/do/dobutokO4.yaml homepage: https://hackage.haskell.org/package/dobutokO4 changelog-type: markdown hash: 6eb8a3c695207a9e047f4b827e7f764680dc712147be8f433ddcca52df296c5a test-bench-deps: {} main...
c16601e282b58fef82e71cb51d5dbd1d0ae8c923
packages/do/dobutokO4.yaml
packages/do/dobutokO4.yaml
YAML
<|file_sep|>original/lib/readvar.sh readvar(){ if [[ ${1} != *[a-zA-Z0-9_]* || ${1} == *[-./]* ]]; then echo "${@}" elif [[ ${!1} && ${1} != [0-9]* ]]; then local var=${1}[@] echo ${!var} else echo "${@}" fi } <|file_sep|>current/lib/readvar.sh readvar(){ if [[ ${1} != *[a-zA-Z0-9_]* || ${1} == *[-./]* ]]...
readvar(){ if [[ ${1} != *[a-zA-Z0-9_]* || ${1} == *[-./,\#]* ]]; then echo "${@}" elif [[ ${!1} && ${1} != [0-9]* ]]; then local var=${1}[@] echo ${!var} else echo "${@}" fi }
<|file_sep|>original/lib/readvar.sh readvar(){ if [[ ${1} != *[a-zA-Z0-9_]* || ${1} == *[-./]* ]]; then echo "${@}" elif [[ ${!1} && ${1} != [0-9]* ]]; then local var=${1}[@] echo ${!var} else echo "${@}" fi } <|file_sep|>current/lib/readvar.sh readvar(){ if [[ ${1} != *[a-zA-Z0-9_]* || ${1} == *[-./]* ]]...
cf4cf8cebf3c6d0d69a59a5602630419b76c4de0
lib/readvar.sh
lib/readvar.sh
Shell
<|file_sep|>original/nubis/builder/project.json { "variables": { "builders": [ "amazon-ebs-ubuntu" ], "deregister": "true", "platform": "nubis", "project_description": "Nubis - CI (jenkins)", "project_name": "nubis-ci", "project_version": "v2.2.0" } } <|file_sep|>current/nubis/buil...
{ "variables": { "builders": [ "amazon-ebs-ubuntu" ], "deregister": "true", "platform": "nubis", "project_description": "Nubis - CI (jenkins)", "project_name": "nubis-ci", "project_version": "v2.2.0-dev" } }
<|file_sep|>original/nubis/builder/project.json { "variables": { "builders": [ "amazon-ebs-ubuntu" ], "deregister": "true", "platform": "nubis", "project_description": "Nubis - CI (jenkins)", "project_name": "nubis-ci", "project_version": "v2.2.0" } } <|file_sep|>current/nubis/buil...
f2ac3ca9e95abdb72ba76b731a46630e29354ce2
nubis/builder/project.json
nubis/builder/project.json
JSON
<|file_sep|>original/Kwc/Newsletter/Subscribe/MailEditable/Events.php <|file_sep|>current/Kwc/Newsletter/Subscribe/MailEditable/Events.php <|file_sep|>updated/Kwc/Newsletter/Subscribe/MailEditable/Events.php
<?php class Kwc_Newsletter_Subscribe_MailEditable_Events extends Kwc_Abstract_Events { public function getListeners() { $ret = parent::getListeners(); $ret[] = array( 'class' => 'Kwc_Newsletter_Subscribe_MailEditable_Content_Component', 'event' => 'Kwf_Component_Event_Com...
<|file_sep|>original/Kwc/Newsletter/Subscribe/MailEditable/Events.php <|file_sep|>current/Kwc/Newsletter/Subscribe/MailEditable/Events.php <|file_sep|>updated/Kwc/Newsletter/Subscribe/MailEditable/Events.php <?php class Kwc_Newsletter_Subscribe_MailEditable_Events extends Kwc_Abstract_Events { public function get...
c4bf3f93bf22a19c03ef8bdac35b92125c283b5d
Kwc/Newsletter/Subscribe/MailEditable/Events.php
Kwc/Newsletter/Subscribe/MailEditable/Events.php
PHP
<|file_sep|>docs/getting_started/installation/index.rst.diff original: *********************** Installing from scratch *********************** You can install django CMS into a new django project: :doc:`scratch` updated: ********************************************** Installing django CMS into an existing project *****...
************ Should you run into trouble and can't figure out how to solve it yourself, you can get help from either our `mailinglist`_ or IRC channel ``#django-cms`` on the ``irc.freenode.net`` network. ********************************************** Installing django CMS into an existing project *******************...
<|file_sep|>docs/getting_started/installation/index.rst.diff original: *********************** Installing from scratch *********************** You can install django CMS into a new django project: :doc:`scratch` updated: ********************************************** Installing django CMS into an existing project *****...
7238c94d1bbbe7453f2d082f59252bb7649c2eaf
docs/getting_started/installation/index.rst
docs/getting_started/installation/index.rst
reStructuredText
<|file_sep|>original/.travis.yml services: - docker language: node_js cache: directories: - node_modules node_js: - '8' - '10' - 'node' addons: apt: packages: - gcc-4.8 - g++-4.8 env: CXX="g++-4.8" CC="gcc-4.8" before_script: - sudo pip install fonttools brotli zopfli <|file_sep|>cu...
services: - docker language: node_js cache: directories: - node_modules node_js: - '10' - 'node' addons: apt: packages: - gcc-4.8 - g++-4.8 env: CXX="g++-4.8" CC="gcc-4.8" before_script: - sudo pip install fonttools brotli zopfli script: 'npm install && npm run ci'
<|file_sep|>original/.travis.yml services: - docker language: node_js cache: directories: - node_modules node_js: - '8' - '10' - 'node' addons: apt: packages: - gcc-4.8 - g++-4.8 env: CXX="g++-4.8" CC="gcc-4.8" before_script: - sudo pip install fonttools brotli zopfli <|file_sep|>cu...
0af565874edc7dd5f692dfd24ae7100793399314
.travis.yml
.travis.yml
YAML
<|file_sep|>app/components/Avatar/index.js.diff original: import { Image, View } from 'react-native'; updated: import { Image, Platform, View } from 'react-native'; <|file_sep|>original/app/components/Avatar/index.js export default function Avatar({ size = 44, source, style, ...props }: Props) { const styles = { ...
export default function Avatar({ size = 44, source, style, ...props }: Props) { const styles = { wrapper: { backgroundColor: theme.color.sceneBg, borderRadius: size, overflow: 'hidden', height: size, width: size, }, image: { borderRadius: Platform.OS === 'android' ? siz...
<|file_sep|>app/components/Avatar/index.js.diff original: import { Image, View } from 'react-native'; updated: import { Image, Platform, View } from 'react-native'; <|file_sep|>original/app/components/Avatar/index.js export default function Avatar({ size = 44, source, style, ...props }: Props) { const styles = { ...
2750c4c4c08dc452e7dedea70f15e28e25e0f334
app/components/Avatar/index.js
app/components/Avatar/index.js
JavaScript
<|file_sep|>original/docs/integrations/monolog.rst Adding Context -------------- Capturing context can be done via a monolog processor: .. sourcecode:: php $monolog->pushProcessor(function ($record) { // record the current user $user = Acme::getCurrentUser(); $record['user'] = array( ...
Adding Context -------------- Capturing context can be done via a monolog processor: .. sourcecode:: php $monolog->pushProcessor(function ($record) { // record the current user $user = Acme::getCurrentUser(); $record['context']['user'] = array( 'name' => $user->getName(), ...
<|file_sep|>original/docs/integrations/monolog.rst Adding Context -------------- Capturing context can be done via a monolog processor: .. sourcecode:: php $monolog->pushProcessor(function ($record) { // record the current user $user = Acme::getCurrentUser(); $record['user'] = array( ...
85a1ede732cebf80ba386e12de632ad90ef901b5
docs/integrations/monolog.rst
docs/integrations/monolog.rst
reStructuredText
<|file_sep|>original/views/calls.html {% block body %} <div class="panel"> <table class="list list-calls"> {% for call in calls.list %} <tr> <td class="list-icon"> <i class="ion-android-call {% if call.status == "completed" %}text-success{% else ...
{% block body %} <div class="panel"> <table class="list list-calls"> {% for call in calls.list %} <tr> <td class="list-icon"> <div class="tooltip" title="{{ call.direction|capitalize }} call, {{ call.status|capitalize }}"> ...
<|file_sep|>original/views/calls.html {% block body %} <div class="panel"> <table class="list list-calls"> {% for call in calls.list %} <tr> <td class="list-icon"> <i class="ion-android-call {% if call.status == "completed" %}text-success{% else ...
6fe57dc31f5e99522a96032fbb7a14452a7005e0
views/calls.html
views/calls.html
HTML
<|file_sep|>original/index.js import {default as color, Color} from "./src/color"; import {default as rgb, Rgb} from "./src/rgb"; import {default as hsl, Hsl} from "./src/hsl"; import {default as lab, Lab} from "./src/lab"; import {default as hcl, Hcl} from "./src/hcl"; import {default as cubehelix, Cubehelix} from "./...
import color from "./src/color"; import rgb from "./src/rgb"; import hsl from "./src/hsl"; import lab from "./src/lab"; import hcl from "./src/hcl"; import cubehelix from "./src/cubehelix"; import interpolateRgb from "./src/interpolateRgb"; import interpolateHsl from "./src/interpolateHsl"; import interpolateHslLong fr...
<|file_sep|>original/index.js import {default as color, Color} from "./src/color"; import {default as rgb, Rgb} from "./src/rgb"; import {default as hsl, Hsl} from "./src/hsl"; import {default as lab, Lab} from "./src/lab"; import {default as hcl, Hcl} from "./src/hcl"; import {default as cubehelix, Cubehelix} from "./...
6f0cfb0e09a602175c0b5e6b90b8f8a2bd90f96f
index.js
index.js
JavaScript
<|file_sep|>src/Models/ModelInterface.php.diff original: public function has($attribute); updated: public function hasAttribute($attribute); <|file_sep|>original/src/Models/ModelInterface.php */ public function identity(); /** * Checks whether this model has the given attribute set. * ...
* * @return boolean */ public function hasAttribute($attribute); /** * Get the value associated with the given attribute. * * @param string $attribute * * @return mixed */ public function getAttribute($attribute); /** * Get all the attributes associate...
<|file_sep|>src/Models/ModelInterface.php.diff original: public function has($attribute); updated: public function hasAttribute($attribute); <|file_sep|>original/src/Models/ModelInterface.php */ public function identity(); /** * Checks whether this model has the given attribute set. * ...
7254cd00e17b54bef0eeab157d7c4becd21f7d2a
src/Models/ModelInterface.php
src/Models/ModelInterface.php
PHP
<|file_sep|>original/toro.gemspec require File.expand_path('../lib/toro/version', __FILE__) Gem::Specification.new do |s| s.authors = ['Tom Benner'] s.email = ['tombenner@gmail.com'] s.description = s.summary = %q{Transparent, extensible background processing for Ruby & PostgreSQL} s.homepage ...
require File.expand_path('../lib/toro/version', __FILE__) Gem::Specification.new do |s| s.authors = ['Tom Benner'] s.email = ['tombenner@gmail.com'] s.description = s.summary = %q{Transparent, extensible background processing for Ruby & PostgreSQL} s.homepage = 'https://github.com/tombenner/...
<|file_sep|>original/toro.gemspec require File.expand_path('../lib/toro/version', __FILE__) Gem::Specification.new do |s| s.authors = ['Tom Benner'] s.email = ['tombenner@gmail.com'] s.description = s.summary = %q{Transparent, extensible background processing for Ruby & PostgreSQL} s.homepage ...
ed6c2dbfa6da15b973f0d8dac96907ec9fa7d615
toro.gemspec
toro.gemspec
Ruby
<|file_sep|>original/tile/example_vars.yml <|file_sep|>current/tile/example_vars.yml <|file_sep|>updated/tile/example_vars.yml
docker-hub-email: buzztroll@gmail.com docker-hub-username: buzztroll docker-hub-password: xxxxxxxx s3-bucket: stardog-pcf s3-region: us-west-2 s3-access-key: xxxxxxxxxx s3-secret: xxxxxxxxxxxxxxxxxxxx opsmgr-url: https://opsman.pie-21.cfplatformeng.com opsmgr-username: admin opsmgr-password: xxxxxxxxxxxxxxxx stardog-ur...
<|file_sep|>original/tile/example_vars.yml <|file_sep|>current/tile/example_vars.yml <|file_sep|>updated/tile/example_vars.yml docker-hub-email: buzztroll@gmail.com docker-hub-username: buzztroll docker-hub-password: xxxxxxxx s3-bucket: stardog-pcf s3-region: us-west-2 s3-access-key: xxxxxxxxxx s3-secret: xxxxxxxxxxx...
7c21c818fe875d7cc782a5ade614361673aa6eef
tile/example_vars.yml
tile/example_vars.yml
YAML
<|file_sep|>original/packages/te/telegraph.yaml <|file_sep|>current/packages/te/telegraph.yaml <|file_sep|>updated/packages/te/telegraph.yaml
homepage: https://github.com/poscat0x04/telegraph changelog-type: markdown hash: b0f8cbc0487f18a303ecb03e6c4d89d84b899b0d2b809bf9b05ebdb232702c58 test-bench-deps: http-client: '>=0.6.4 && <=0.8' exceptions: ^>=0.10.4 bytestring: '>=0.10.12 && <0.12' base: '>=4.10 && <5' text: ^>=1.2.4 monad-control: ^>=1.0....
<|file_sep|>original/packages/te/telegraph.yaml <|file_sep|>current/packages/te/telegraph.yaml <|file_sep|>updated/packages/te/telegraph.yaml homepage: https://github.com/poscat0x04/telegraph changelog-type: markdown hash: b0f8cbc0487f18a303ecb03e6c4d89d84b899b0d2b809bf9b05ebdb232702c58 test-bench-deps: http-client...
616e4ddc285009da9ef96a6d94e58c16ae74f13e
packages/te/telegraph.yaml
packages/te/telegraph.yaml
YAML
<|file_sep|>.travis.yml.diff original: updated: - 7.2 <|file_sep|>.travis.yml.diff original: updated: before_script: - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter - chmod +x ./cc-test-reporter - ./cc-test-reporter before-build <|file_sep|>or...
language: php php: - 7.0 - 7.1 - 7.2 - nightly install: composer install before_script: - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter - chmod +x ./cc-test-reporter - ./cc-test-reporter before-build script: - ./vendor/phpunit/phpunit/p...
<|file_sep|>.travis.yml.diff original: updated: - 7.2 <|file_sep|>.travis.yml.diff original: updated: before_script: - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter - chmod +x ./cc-test-reporter - ./cc-test-reporter before-build <|file_sep|>or...
5b56703e854e71656cea969e57c6c690dd9ff145
.travis.yml
.travis.yml
YAML
<|file_sep|>original/package.json { "name": "k2", "version": "0.0.0", "description": "Functional functional javascript.", "main": "k2.js", "scripts": { "test": "karma start --single-run" }, "repository": { "type": "git", "url": "https://github.com/kensho/K2.git" }, "keywords": [ "javas...
{ "name": "k2", "version": "0.0.0", "description": "Functional functional javascript.", "main": "k2.js", "scripts": { "test": "node node_modules/karma/bin/karma start --single-run" }, "repository": { "type": "git", "url": "https://github.com/kensho/K2.git" }, "keywords": [ "javascript"...
<|file_sep|>original/package.json { "name": "k2", "version": "0.0.0", "description": "Functional functional javascript.", "main": "k2.js", "scripts": { "test": "karma start --single-run" }, "repository": { "type": "git", "url": "https://github.com/kensho/K2.git" }, "keywords": [ "javas...
10c88ec41874078f183f680c1e4e9813e8154190
package.json
package.json
JSON
<|file_sep|>original/lib/frontkick/error.rb require 'json' module Frontkick # ref. http://docs.ruby-lang.org/ja/1.9.3/class/Timeout=3a=3aError.html class TimeoutLocal < ::Timeout::Error; end class Locked < StandardError; end class Timeout < StandardError attr_reader :pid, :command, :killed def initial...
require 'json' require 'timeout' module Frontkick # ref. http://docs.ruby-lang.org/ja/1.9.3/class/Timeout=3a=3aError.html class TimeoutLocal < ::Timeout::Error; end class Locked < StandardError; end class Timeout < StandardError attr_reader :pid, :command, :killed def initialize(pid, command, killed) ...
<|file_sep|>original/lib/frontkick/error.rb require 'json' module Frontkick # ref. http://docs.ruby-lang.org/ja/1.9.3/class/Timeout=3a=3aError.html class TimeoutLocal < ::Timeout::Error; end class Locked < StandardError; end class Timeout < StandardError attr_reader :pid, :command, :killed def initial...
9e379e13708700bb5b9fc8f9b5bc1a52a04f5813
lib/frontkick/error.rb
lib/frontkick/error.rb
Ruby
<|file_sep|>original/cc1/tests/test044.c <|file_sep|>current/cc1/tests/test044.c <|file_sep|>updated/cc1/tests/test044.c
/* name: TEST044 description: Test of corner cases in #if output: test044.c:14: warning: division by 0 test044.c:18: warning: division by 0 test044.c:22: warning: division by 0 test044.c:28: error: parameter of #if is not an integer constant expression test044.c:29: error: #error 3 != (1,2,3) */ /* These should be ac...
<|file_sep|>original/cc1/tests/test044.c <|file_sep|>current/cc1/tests/test044.c <|file_sep|>updated/cc1/tests/test044.c /* name: TEST044 description: Test of corner cases in #if output: test044.c:14: warning: division by 0 test044.c:18: warning: division by 0 test044.c:22: warning: division by 0 test044.c:28: error:...
8a1556967443af2e55ef33b3cdab613acbc0ef91
cc1/tests/test044.c
cc1/tests/test044.c
C
<|file_sep|>original/lib/redirector/tests.rb module Redirector class Tests def self.create_default(args) tests_filename = Redirector.path("data/tests/#{args.host}.csv") tests_csv = <<-CSV Old Url,New Url,Status http://#{args.host},https://www.gov.uk/government/organisations/#{args.whitehall_slug},3...
module Redirector class Tests def self.create_default(args) tests_filename = Redirector.path("data/tests/#{args.host}.csv") tests_csv = <<-CSV Old Url,New Url,Status http://#{args.host},https://www.gov.uk/government/organisations/#{args.whitehall_slug},301 CSV `echo '#{tests_csv.chomp}' > #{t...
<|file_sep|>original/lib/redirector/tests.rb module Redirector class Tests def self.create_default(args) tests_filename = Redirector.path("data/tests/#{args.host}.csv") tests_csv = <<-CSV Old Url,New Url,Status http://#{args.host},https://www.gov.uk/government/organisations/#{args.whitehall_slug},3...
0e2cf74ee11a568a5fdf102d7c0b844d594c834d
lib/redirector/tests.rb
lib/redirector/tests.rb
Ruby
<|file_sep|>original/PRIVACY_POLICY.md <|file_sep|>current/PRIVACY_POLICY.md <|file_sep|>updated/PRIVACY_POLICY.md
# Privacy Policy for "GitLab Notifier for Google Chrome™" No data or personal information is collected by [GitLab Notifier for Google Chrome™](https://chrome.google.com/webstore/detail/gitlab-notifier-for-googl/eageapgbnjicdjjihgclpclilenjbobi). ## Contact If you have any questions or suggestions regarding this priva...
<|file_sep|>original/PRIVACY_POLICY.md <|file_sep|>current/PRIVACY_POLICY.md <|file_sep|>updated/PRIVACY_POLICY.md # Privacy Policy for "GitLab Notifier for Google Chrome™" No data or personal information is collected by [GitLab Notifier for Google Chrome™](https://chrome.google.com/webstore/detail/gitlab-notifier-f...
0d8d1d2f9695cb992f0dc0f6f234fde763d49873
PRIVACY_POLICY.md
PRIVACY_POLICY.md
Markdown
<|file_sep|>original/config/schedule.rb # Use this file to easily define all of your cron jobs. # # It's helpful, but not entirely necessary to understand cron before proceeding. # http://en.wikipedia.org/wiki/Cron set :output, error: 'log/cron.error.log', standard: 'log/cron.log' bundler_prefix = ENV.fetch('BUNDLER_...
# Use this file to easily define all of your cron jobs. # # It's helpful, but not entirely necessary to understand cron before proceeding. # http://en.wikipedia.org/wiki/Cron set :output, error: 'log/cron.error.log', standard: 'log/cron.log' bundler_prefix = ENV.fetch('BUNDLER_PREFIX', '/usr/local/bin/govuk_setenv fi...
<|file_sep|>original/config/schedule.rb # Use this file to easily define all of your cron jobs. # # It's helpful, but not entirely necessary to understand cron before proceeding. # http://en.wikipedia.org/wiki/Cron set :output, error: 'log/cron.error.log', standard: 'log/cron.log' bundler_prefix = ENV.fetch('BUNDLER_...
47cb0ce908cf2020a86f393010f99de8dd910287
config/schedule.rb
config/schedule.rb
Ruby
<|file_sep|>packages/la/lambda-cube.yaml.diff original: homepage: https://github.com/Ailrun/LambdaCube#readme updated: homepage: https://github.com/Ailrun/lambda-cube#readme <|file_sep|>original/packages/la/lambda-cube.yaml homepage: https://github.com/Ailrun/LambdaCube#readme changelog-type: '' hash: 2b3e9fa85897d0452...
homepage: https://github.com/Ailrun/lambda-cube#readme changelog-type: '' hash: c041f1cf761b50c6f1c30d38ef6334f0d84dacd2a67189095ffa839724718a79 test-bench-deps: base: -any hspec: -any lambda-cube: -any QuickCheck: -any maintainer: jjc9310@gmail.com synopsis: Haskell implementation of (some of) lambda cube calc...
<|file_sep|>packages/la/lambda-cube.yaml.diff original: homepage: https://github.com/Ailrun/LambdaCube#readme updated: homepage: https://github.com/Ailrun/lambda-cube#readme <|file_sep|>original/packages/la/lambda-cube.yaml homepage: https://github.com/Ailrun/LambdaCube#readme changelog-type: '' hash: 2b3e9fa85897d0452...
eaefc3424921907ab688ad701256336088219f18
packages/la/lambda-cube.yaml
packages/la/lambda-cube.yaml
YAML
<|file_sep|>README.md.diff original: ## Document updated: ## Documents <|file_sep|>original/README.md # EnumerableTest [![NuGet version](https://badge.fury.io/nu/EnumerableTest.Core.svg)](https://badge.fury.io/nu/EnumerableTest.Core) A unit testing framework for .NET framework. .NET フレームワーク向けの単体テストフレームワーク。 ![A scree...
A unit testing framework for .NET framework. .NET フレームワーク向けの単体テストフレームワーク。 ![A screen shot of EnumerableTest.Runner.Wpf](document/image/EnumerableTest.Runner.Wpf.Screenshot.png) ## Documents - [Tutorial (チュートリアル)](document/Tutorial.md) - [Expert (上級者向けの解説)](document/Expert.md) ### Why use **EnumerableTest**? - You c...
<|file_sep|>README.md.diff original: ## Document updated: ## Documents <|file_sep|>original/README.md # EnumerableTest [![NuGet version](https://badge.fury.io/nu/EnumerableTest.Core.svg)](https://badge.fury.io/nu/EnumerableTest.Core) A unit testing framework for .NET framework. .NET フレームワーク向けの単体テストフレームワーク。 ![A scree...
0828fe695c554064d07a8136b2628b93ee3bd06f
README.md
README.md
Markdown
<|file_sep|>original/requirements.txt certifi==2018.1.18 cffi==1.11.5 chardet==3.0.4 contextlib2==0.5.5 Django==2.0 django-appconf==1.0.2 django-cacheops==4.0 django-compressor==2.2 django-debug-toolbar==1.9 fastpbkdf2==0.2 freezegun==0.3.9 funcy==1.10 num2words==0.5.6 psycopg2==2.7.3.1 pycodestyle==2.3.1 pycparser==2....
certifi==2018.1.18 cffi==1.11.5 chardet==3.0.4 contextlib2==0.5.5 Django==2.0 django-appconf==1.0.2 django-cacheops==4.0 django-compressor==2.2 django-debug-toolbar==1.9 fastpbkdf2==0.2 freezegun==0.3.10 funcy==1.10 num2words==0.5.6 psycopg2==2.7.3.1 pycodestyle==2.3.1 pycparser==2.18 pycrypto==2.6.1 python-dateutil==2...
<|file_sep|>original/requirements.txt certifi==2018.1.18 cffi==1.11.5 chardet==3.0.4 contextlib2==0.5.5 Django==2.0 django-appconf==1.0.2 django-cacheops==4.0 django-compressor==2.2 django-debug-toolbar==1.9 fastpbkdf2==0.2 freezegun==0.3.9 funcy==1.10 num2words==0.5.6 psycopg2==2.7.3.1 pycodestyle==2.3.1 pycparser==2....
40b2741a62edfb812b55825b97292012b2ad4211
requirements.txt
requirements.txt
Text
<|file_sep|>original/README.md pocket-sinatra-interface ======================== Sinatra-based web interface for pocket api <|file_sep|>current/README.md pocket-sinatra-interface ======================== Sinatra-based web interface for pocket api <|file_sep|>updated/README.md
pocket-sinatra-interface ======================== Sinatra-based web interface for pocket api Based on demo-server from https://github.com/turadg/pocket-ruby
<|file_sep|>original/README.md pocket-sinatra-interface ======================== Sinatra-based web interface for pocket api <|file_sep|>current/README.md pocket-sinatra-interface ======================== Sinatra-based web interface for pocket api <|file_sep|>updated/README.md pocket-sinatra-interface ================...
b5bd764bbc1da3330823f430cf9f42e01964a0f2
README.md
README.md
Markdown
<|file_sep|>original/src/main/resources/import.sql INSERT INTO version (`name`, `release`, `author`, `license`, `created`) VALUES ("Present IT", "1.0.1", "Icepick & Strikeflare", "MIT", CURRENT_TIMESTAMP()); <|file_sep|>current/src/main/resources/import.sql INSERT INTO version (`name`, `release`, `author`, `license`, ...
INSERT INTO version (`name`, `release`, `author`, `license`, `created`) VALUES ("Present IT", "1.0.1", "Icepick & Winnefoo", "MIT", CURRENT_TIMESTAMP());
<|file_sep|>original/src/main/resources/import.sql INSERT INTO version (`name`, `release`, `author`, `license`, `created`) VALUES ("Present IT", "1.0.1", "Icepick & Strikeflare", "MIT", CURRENT_TIMESTAMP()); <|file_sep|>current/src/main/resources/import.sql INSERT INTO version (`name`, `release`, `author`, `license`, ...
e6ec8e7031bf00fca30c6b626523c9a3c1d307f8
src/main/resources/import.sql
src/main/resources/import.sql
SQL
<|file_sep|>original/pom.xml <|file_sep|>current/pom.xml <|file_sep|>updated/pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>org.codefx.demo</groupId> <artifactId>junit-5</artifactId> <...
<|file_sep|>original/pom.xml <|file_sep|>current/pom.xml <|file_sep|>updated/pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</...
8256a6a1c3f5253c14b7ae1564dd1bc12952ad33
pom.xml
pom.xml
XML
<|file_sep|>original/README.md # BitReader BitReader is a helper type to extract strings of bits from a slice of bytes. Here is how you read first a single bit, then three bits and finally four bits from a byte buffer: use bitreader::BitReader; let slice_of_u8 = &[0b1000_1111]; let mut reader = BitReade...
# BitReader BitReader is a helper type to extract strings of bits from a slice of bytes. [![Build Status](https://travis-ci.org/irauta/bitreader.svg)](https://travis-ci.org/irauta/bitreader) Here is how you read first a single bit, then three bits and finally four bits from a byte buffer: use bitreader::BitRead...
<|file_sep|>original/README.md # BitReader BitReader is a helper type to extract strings of bits from a slice of bytes. Here is how you read first a single bit, then three bits and finally four bits from a byte buffer: use bitreader::BitReader; let slice_of_u8 = &[0b1000_1111]; let mut reader = BitReade...
6a10c51f375efbca06db36c456a360ae8cc8ccda
README.md
README.md
Markdown
<|file_sep|>original/.travis.yml env: - GOARCH=amd64 before_install: - go get golang.org/x/tools/cmd/cover - go get github.com/axw/gocov/gocov - go get github.com/modocache/gover - go get github.com/mattn/goveralls script: - go test -coverprofile=configuration.coverprofile ./configuration - go test -co...
env: - GOARCH=amd64 before_install: - go get golang.org/x/tools/cmd/cover - go get github.com/axw/gocov/gocov - go get github.com/modocache/gover - go get github.com/mattn/goveralls script: - go test -coverprofile=configuration.coverprofile ./configuration - go test -coverprofile=api.coverprofile ./api ...
<|file_sep|>original/.travis.yml env: - GOARCH=amd64 before_install: - go get golang.org/x/tools/cmd/cover - go get github.com/axw/gocov/gocov - go get github.com/modocache/gover - go get github.com/mattn/goveralls script: - go test -coverprofile=configuration.coverprofile ./configuration - go test -co...
362e2d81bf20ce8734e51d6c072cbf96a9ee4664
.travis.yml
.travis.yml
YAML
<|file_sep|>original/spec/spec_helper.rb FactoryGirl.definition_file_paths = %w(./spec/factories) FactoryGirl.find_definitions RSpec.configure do |config| # Enable focus feature to execute focused test only. config.filter_run focus: true config.run_all_when_everything_filtered = true config.befo...
RSpec.configure do |config| # Enable focus feature to execute focused test only. config.filter_run focus: true config.run_all_when_everything_filtered = true config.before :all do FactoryGirl.reload end config.before :suite do DatabaseCleaner.strategy = :transaction Databas...
<|file_sep|>original/spec/spec_helper.rb FactoryGirl.definition_file_paths = %w(./spec/factories) FactoryGirl.find_definitions RSpec.configure do |config| # Enable focus feature to execute focused test only. config.filter_run focus: true config.run_all_when_everything_filtered = true config.befo...
b05e8c01da54bba3c620e663beb685fd14ba96d5
spec/spec_helper.rb
spec/spec_helper.rb
Ruby
<|file_sep|>original/both/router/routes.js } else { this.next(); } }; // Make sure user is logged in with registrar role var requiresRegistrarAccess = function () { const userId = Meteor.userId(); if (Roles.userIsInRole(userId, 'registrar')) { this.next(); } else { this.render('notFound'...
} else { this.next(); } }; // Make sure user is logged in with registrar role var requiresRegistrarAccess = function () { const userId = Meteor.userId(); if (Roles.userIsInRole(userId, 'registrar')) { this.next(); } else { this.render('notFound'); } }; // User login required for event...
<|file_sep|>original/both/router/routes.js } else { this.next(); } }; // Make sure user is logged in with registrar role var requiresRegistrarAccess = function () { const userId = Meteor.userId(); if (Roles.userIsInRole(userId, 'registrar')) { this.next(); } else { this.render('notFound'...
5f1571d54e2f3651deeaa7f051c91762951ce86a
both/router/routes.js
both/router/routes.js
JavaScript
<|file_sep|>original/src/CommitmentsV2/SFA.DAS.CommitmentsV2.Types/Dtos/DraftApprenticeshipDto.cs namespace SFA.DAS.CommitmentsV2.Types.Dtos { public class DraftApprenticeshipDto { public long Id { get; set; } public string FirstName { get; set; } public string LastName { get; set; } ...
{ public class DraftApprenticeshipDto { public long Id { get; set; } public string FirstName { get; set; } public string LastName { get; set; } public string Email { get; set; } public DateTime? DateOfBirth { get; set; } public int? Cost { get; set; } publ...
<|file_sep|>original/src/CommitmentsV2/SFA.DAS.CommitmentsV2.Types/Dtos/DraftApprenticeshipDto.cs namespace SFA.DAS.CommitmentsV2.Types.Dtos { public class DraftApprenticeshipDto { public long Id { get; set; } public string FirstName { get; set; } public string LastName { get; set; } ...
700d615d57add88622a15d6575c1205e629a7fed
src/CommitmentsV2/SFA.DAS.CommitmentsV2.Types/Dtos/DraftApprenticeshipDto.cs
src/CommitmentsV2/SFA.DAS.CommitmentsV2.Types/Dtos/DraftApprenticeshipDto.cs
C#
<|file_sep|>postHooks.js.diff original: if (config.site.functions && config.site.functions[hookName]) { functions.push(config.site.functions[hookName]); } updated: <|file_sep|>original/postHooks.js if (config.site.functions && config.site.functions[hookName]) { functions.push(config.site.functions[hook...
// if (config.plugins) { // _.each(config.plugins, function (pluginName) { // var plugin = require(pluginName); // if(plugin && plugin.functions && plugin.functions[hookName]) { // functions.push(plugin.functions[hookName]); // } // }); // } if (config.site.functions && config....
<|file_sep|>postHooks.js.diff original: if (config.site.functions && config.site.functions[hookName]) { functions.push(config.site.functions[hookName]); } updated: <|file_sep|>original/postHooks.js if (config.site.functions && config.site.functions[hookName]) { functions.push(config.site.functions[hook...
f2a4bf48b513ccd113cc1c6d9babfba4bc5f3e88
postHooks.js
postHooks.js
JavaScript
<|file_sep|>original/_includes/head.html <link href="{{ base_path }}/feed.xml" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed"> <meta name="HandheldFriendly" content="True"> <meta name="MobileOptimized" content="320"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <me...
<link href="{{ base_path }}/feed.xml" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed"> <meta name="HandheldFriendly" content="True"> <meta name="MobileOptimized" content="320"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="cleartype" content="on"> ...
<|file_sep|>original/_includes/head.html <link href="{{ base_path }}/feed.xml" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed"> <meta name="HandheldFriendly" content="True"> <meta name="MobileOptimized" content="320"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <me...
4123920c8c6ac90c7ec2e9ac1a0f904dbf0df1b6
_includes/head.html
_includes/head.html
HTML
<|file_sep|>README.md.diff original: Basic Heroku addon for forwarding webhooks from Shopify (or another provider) to the defunkt/resque or mperham/sidekiq backends. updated: Basic [Heroku](https://www.heroku.com) addon for forwarding webhooks from [Shopify](https://www.shopify.com/) (or another provider) to the [defun...
#### Webhook Shield Basic [Heroku](https://www.heroku.com) addon for forwarding webhooks from [Shopify](https://www.shopify.com/) (or another provider) to the [defunkt/resque](https://github.com/defunkt/resque) or [mperham/sidekiq](https://github.com/mperham/sidekiq) backends. #### Setup Change [config/secret_token....
<|file_sep|>README.md.diff original: Basic Heroku addon for forwarding webhooks from Shopify (or another provider) to the defunkt/resque or mperham/sidekiq backends. updated: Basic [Heroku](https://www.heroku.com) addon for forwarding webhooks from [Shopify](https://www.shopify.com/) (or another provider) to the [defun...
1005ddc83d8bd17315861f8140a58387ca5b9845
README.md
README.md
Markdown
<|file_sep|>original/app/views/projects/_md_preview.html.haml .md-area .md-header %ul.nav-links %li.active %a.js-md-write-button{ href: "#md-write-holder", tabindex: -1 } Write %li %a.js-md-preview-button{ href: "#md-preview-holder", tabindex: -1 } Preview %li...
.md-area .md-header %ul.nav-links.clearfix %li.active %a.js-md-write-button{ href: "#md-write-holder", tabindex: -1 } Write %li %a.js-md-preview-button{ href: "#md-preview-holder", tabindex: -1 } Preview %li.pull-right %button.zen-cotrol.zen-control-fu...
<|file_sep|>original/app/views/projects/_md_preview.html.haml .md-area .md-header %ul.nav-links %li.active %a.js-md-write-button{ href: "#md-write-holder", tabindex: -1 } Write %li %a.js-md-preview-button{ href: "#md-preview-holder", tabindex: -1 } Preview %li...
eceada9a6868d16d9a11ce8bc646623f20f58c95
app/views/projects/_md_preview.html.haml
app/views/projects/_md_preview.html.haml
Haml