prompt
stringlengths
77
6.9k
completion
stringlengths
1
3.38k
text
stringlengths
163
9.03k
commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
lang
stringclasses
277 values
<|file_sep|>original/_posts/articles/2017-08-31-hdfsStream.markdown <|file_sep|>current/_posts/articles/2017-08-31-hdfsStream.markdown <|file_sep|>updated/_posts/articles/2017-08-31-hdfsStream.markdown
--- layout: post title: "A short one: Reactive streaming from HDFS" date: 2017-08-31 21:00:00 +0100 categories: articles tags: [scala, Akka Streams, reactive, HDFS, akka] excerpt: Learn how to stream text files from HDFS. comments: true share: true --- If you want to stream a big text file from HDFS, take a reactive a...
<|file_sep|>original/_posts/articles/2017-08-31-hdfsStream.markdown <|file_sep|>current/_posts/articles/2017-08-31-hdfsStream.markdown <|file_sep|>updated/_posts/articles/2017-08-31-hdfsStream.markdown --- layout: post title: "A short one: Reactive streaming from HDFS" date: 2017-08-31 21:00:00 +0100 categories: arti...
e2910fb052502526466437ab1b860f8dbe605f5e
_posts/articles/2017-08-31-hdfsStream.markdown
_posts/articles/2017-08-31-hdfsStream.markdown
Markdown
<|file_sep|>original/app/tx/main.c uint32_t err_code; leds_init(); radio_packet_t packet; packet.len = 4; packet.flags.ack = 0; radio_init(radio_evt_handler); while (1) { packet.data[0] = i++; packet.data[1] = 0x12; err_code = radio_send(&packet); ASSU...
packet.len = 4; packet.flags.ack = 0; radio_init(radio_evt_handler); while (1) { packet.data[0] = i++; packet.data[1] = 0x12; err_code = radio_send(&packet); ASSUME_SUCCESS(err_code); packet.data[0] = i++; packet.data[1] = 0x12; err_code = r...
<|file_sep|>original/app/tx/main.c uint32_t err_code; leds_init(); radio_packet_t packet; packet.len = 4; packet.flags.ack = 0; radio_init(radio_evt_handler); while (1) { packet.data[0] = i++; packet.data[1] = 0x12; err_code = radio_send(&packet); ASSU...
a6d0140a2c9bbaa73706472e0e748279cd0a2b7b
app/tx/main.c
app/tx/main.c
C
<|file_sep|>LICENSE.txt.diff original: Copyright (c) 2013 Dan Nemec updated: The MIT License (MIT) <|file_sep|>LICENSE.txt.diff original: Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without res...
The MIT License (MIT) Copyright (c) 2015 Dan Nemec Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publis...
<|file_sep|>LICENSE.txt.diff original: Copyright (c) 2013 Dan Nemec updated: The MIT License (MIT) <|file_sep|>LICENSE.txt.diff original: Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without res...
7af012fbfbc20a759e28410cf755b08bc0ebdfef
LICENSE.txt
LICENSE.txt
Text
<|file_sep|>original/myrails-docker-unicorn/spec/Dockerfile_spec.rb require "serverspec" require "docker" describe "Dockerfile" do before(:all) do image = Docker::Image.build_from_dir('.') set :os, family: :debian set :backend, :docker set :docker_image, image.id end it "installs the right ver...
before(:all) do image = Docker::Image.build_from_dir('.') set :os, family: :debian set :backend, :docker set :docker_image, image.id end it "installs the right version of Ubuntu" do expect(os_version).to include("Ubuntu 16") end # This test is new it "installs required packages" do ...
<|file_sep|>original/myrails-docker-unicorn/spec/Dockerfile_spec.rb require "serverspec" require "docker" describe "Dockerfile" do before(:all) do image = Docker::Image.build_from_dir('.') set :os, family: :debian set :backend, :docker set :docker_image, image.id end it "installs the right ver...
323b28fc37f12b16bf61b330cb4265efafdfd994
myrails-docker-unicorn/spec/Dockerfile_spec.rb
myrails-docker-unicorn/spec/Dockerfile_spec.rb
Ruby
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.2.2 <|file_sep|>current/.travis.yml language: ruby rvm: - 2.2.2 <|file_sep|>updated/.travis.yml
language: ruby rvm: - 2.0 - 2.1 - 2.2 - 2.3 - 2.4 - 2.5
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.2.2 <|file_sep|>current/.travis.yml language: ruby rvm: - 2.2.2 <|file_sep|>updated/.travis.yml language: ruby rvm: - 2.0 - 2.1 - 2.2 - 2.3 - 2.4 - 2.5
075ec1106c87e81aa3af1b3fd6fdfbce206ebb6b
.travis.yml
.travis.yml
YAML
<|file_sep|>src/code/stores/nodes-store.coffee.diff original: GraphStore = require './graph-store' updated: GraphActions = require '../actions/graph-actions' <|file_sep|>original/src/code/stores/nodes-store.coffee nodeStore = Reflux.createStore listenables: [nodeActions] init: -> @nodes ...
nodeStore = Reflux.createStore listenables: [nodeActions] init: -> @nodes = [] @paletteItemHasNodes = false @selectedPaletteItem = null PaletteStore.store.listen @paletteChanged GraphActions.graphChanged.listen @graphChanged onNodesChanged: (nodes) -> @nodes = nodes ...
<|file_sep|>src/code/stores/nodes-store.coffee.diff original: GraphStore = require './graph-store' updated: GraphActions = require '../actions/graph-actions' <|file_sep|>original/src/code/stores/nodes-store.coffee nodeStore = Reflux.createStore listenables: [nodeActions] init: -> @nodes ...
abd7b983e34929bceb37005f8ab9f92e2df20cb1
src/code/stores/nodes-store.coffee
src/code/stores/nodes-store.coffee
CoffeeScript
<|file_sep|>lib/generators/ember_konacha/templates/specs/model_spec.js.coffee.erb.diff original: Test.contact = <%= model_name %>.createRecord name: 'Joe' updated: Test.contact = Test.store.createRecord '<%= class_name.downcase %>', name: 'Joe' <|file_sep|>original/lib/generators/ember_konacha/templates...
beforeEach( -> Test.store = TestUtil.lookupStore() ) it "is a DS.Model", -> assert.ok <%= model_name %> assert.ok DS.Model.detect(<%= model_name %>) describe "attribute: name", -> it "can be created with valid value", -> Ember.run( -> Test.contact = Test.store.createRecord '<%= c...
<|file_sep|>lib/generators/ember_konacha/templates/specs/model_spec.js.coffee.erb.diff original: Test.contact = <%= model_name %>.createRecord name: 'Joe' updated: Test.contact = Test.store.createRecord '<%= class_name.downcase %>', name: 'Joe' <|file_sep|>original/lib/generators/ember_konacha/templates...
ad3e617d3099b5ee4fc9bce767c4b486e214bd8d
lib/generators/ember_konacha/templates/specs/model_spec.js.coffee.erb
lib/generators/ember_konacha/templates/specs/model_spec.js.coffee.erb
HTML+ERB
<|file_sep|>original/easy-coding-standard.yaml skip: PHP_CodeSniffer\Standards\Generic\Sniffs\PHP\ForbiddenFunctionsSniff: - 'src-tests/bootstrap.php' - 'src-tests/ConfigHelper.php' - 'src-tests/ConfigProviderTest.php' - 'src/bootstrap.php' - 'src/...
- 'src-tests/bootstrap.php' - 'src-tests/ConfigHelper.php' - 'src-tests/ConfigProviderTest.php' - 'src/bootstrap.php' - 'src/Component/Legacy.php' - 'src/Listener/TestStartLogListener.php' - 'src/Listener/TestStatusListener.php' ...
<|file_sep|>original/easy-coding-standard.yaml skip: PHP_CodeSniffer\Standards\Generic\Sniffs\PHP\ForbiddenFunctionsSniff: - 'src-tests/bootstrap.php' - 'src-tests/ConfigHelper.php' - 'src-tests/ConfigProviderTest.php' - 'src/bootstrap.php' - 'src/...
eb60c3476d5ec0f1f58b04ec4352dbcdef6adb11
easy-coding-standard.yaml
easy-coding-standard.yaml
YAML
<|file_sep|>javascripts/data/events.json.diff original: "dataInicio": "2016-01-26", "dataFim": "2016-01-31", updated: "dataInicio": "2015-12-19", "dataFim": "2015-12-19", <|file_sep|>original/javascripts/data/events.json "localizacao": { "latit...
"endereco": "Rua Orfanotrófio, 515 - Alto Teresópolis", "localizacao": { "latitude": -30.0796178, "longitude": -51.2193774 }, "link": "http://www.frontinpoa.com.br/" }, { "titulo": "Front in Rio 2015", ...
<|file_sep|>javascripts/data/events.json.diff original: "dataInicio": "2016-01-26", "dataFim": "2016-01-31", updated: "dataInicio": "2015-12-19", "dataFim": "2015-12-19", <|file_sep|>original/javascripts/data/events.json "localizacao": { "latit...
8f6e4b12b0aac43bee68a3f68e5644eebc0494bd
javascripts/data/events.json
javascripts/data/events.json
JSON
<|file_sep|>setup.py.diff original: updated: import sys <|file_sep|>setup.py.diff original: updated: import distutils.ccompiler <|file_sep|>original/setup.py #!/usr/bin/env python from distutils.core import setup, Extension packages=['qutepart', 'qutepart/syntax'] package_data={'qutepart/syntax' : ['data/*.xml', ...
packages=['qutepart', 'qutepart/syntax'] package_data={'qutepart/syntax' : ['data/*.xml', 'data/syntax_db.json'] } extension = Extension('qutepart.syntax.cParser', sources = ['qutepart/syntax/cParser.c'], libraries = ['pcre']...
<|file_sep|>setup.py.diff original: updated: import sys <|file_sep|>setup.py.diff original: updated: import distutils.ccompiler <|file_sep|>original/setup.py #!/usr/bin/env python from distutils.core import setup, Extension packages=['qutepart', 'qutepart/syntax'] package_data={'qutepart/syntax' : ['data/*.xml', ...
1655edcd359e810b10f7836dc2cbb3f99014d8f6
setup.py
setup.py
Python
<|file_sep|>original/server/src/main/resources/db/postgres/migration/V3__remove_foreign_key.sql <|file_sep|>current/server/src/main/resources/db/postgres/migration/V3__remove_foreign_key.sql <|file_sep|>updated/server/src/main/resources/db/postgres/migration/V3__remove_foreign_key.sql
ALTER TABLE ONLY accessgrants DROP CONSTRAINT accessgrants_groupid_fkey; ALTER TABLE ONLY accessgrants DROP CONSTRAINT accessgrants_secretid_fkey; ALTER TABLE ONLY memberships DROP CONSTRAINT memberships_clientid_fkey; ALTER TABLE ONLY memberships DROP CONSTRAINT memberships_groupid_fkey; ALTER TABLE ON...
<|file_sep|>original/server/src/main/resources/db/postgres/migration/V3__remove_foreign_key.sql <|file_sep|>current/server/src/main/resources/db/postgres/migration/V3__remove_foreign_key.sql <|file_sep|>updated/server/src/main/resources/db/postgres/migration/V3__remove_foreign_key.sql ALTER TABLE ONLY accessgrants ...
c28624f2ccbe3dc0dc63bb8b0e9da39cc864dc1e
server/src/main/resources/db/postgres/migration/V3__remove_foreign_key.sql
server/src/main/resources/db/postgres/migration/V3__remove_foreign_key.sql
SQL
<|file_sep|>original/README.md docker-statsd-influxdb ====================== Out-of-the-box StatsD + InfluxDB backend image for Docker <|file_sep|>current/README.md docker-statsd-influxdb ====================== Out-of-the-box StatsD + InfluxDB backend image for Docker <|file_sep|>updated/README.md
docker-statsd-influxdb ====================== Out-of-the-box StatsD + InfluxDB backend image for Docker ## Running Example command to run this image: docker run -p 8125:8125 -e "INFLUXDB_HOST=localhost" -e "INFLUXDB_DATABASE=site_dev" -e "INFLUXDB_USERNAME=username" -e "INFLUXDB_PASSWORD=password" -e "STATSD_D...
<|file_sep|>original/README.md docker-statsd-influxdb ====================== Out-of-the-box StatsD + InfluxDB backend image for Docker <|file_sep|>current/README.md docker-statsd-influxdb ====================== Out-of-the-box StatsD + InfluxDB backend image for Docker <|file_sep|>updated/README.md docker-statsd-influ...
a6fee81720b56e7f8cc59ee20b18c587b388cbfc
README.md
README.md
Markdown
<|file_sep|>original/.travis.yml language: node_js node_js: - "9" - "8" - "7" - "6" - "5" - "4" <|file_sep|>current/.travis.yml language: node_js node_js: - "9" - "8" - "7" - "6" - "5" - "4" <|file_sep|>updated/.travis.yml
language: node_js node_js: - "9" - "8" - "7" - "6"
<|file_sep|>original/.travis.yml language: node_js node_js: - "9" - "8" - "7" - "6" - "5" - "4" <|file_sep|>current/.travis.yml language: node_js node_js: - "9" - "8" - "7" - "6" - "5" - "4" <|file_sep|>updated/.travis.yml language: node_js node_js: - "9" - "8" - "7" - "6"
8f20dfa8db4144735f15af8f6e2ed5c63bcb3b49
.travis.yml
.travis.yml
YAML
<|file_sep|>original/requirements/doc.txt sphinx==1.7.6 alagitpull==0.0.21 releases==1.6.1 sphinxcontrib-napoleon==0.6.1 <|file_sep|>current/requirements/doc.txt sphinx==1.7.6 alagitpull==0.0.21 releases==1.6.1 sphinxcontrib-napoleon==0.6.1 <|file_sep|>updated/requirements/doc.txt
sphinx==1.7.7 alagitpull==0.0.21 releases==1.6.1 sphinxcontrib-napoleon==0.6.1
<|file_sep|>original/requirements/doc.txt sphinx==1.7.6 alagitpull==0.0.21 releases==1.6.1 sphinxcontrib-napoleon==0.6.1 <|file_sep|>current/requirements/doc.txt sphinx==1.7.6 alagitpull==0.0.21 releases==1.6.1 sphinxcontrib-napoleon==0.6.1 <|file_sep|>updated/requirements/doc.txt sphinx==1.7.7 alagitpull==0.0.21 relea...
e22cace20fccf72e63f93d7a61f80a54aa69c579
requirements/doc.txt
requirements/doc.txt
Text
<|file_sep|>app/Commands/CreateAsset.php.diff original: updated: <|file_sep|>original/app/Commands/CreateAsset.php * CreateAsset constructor. * * @param int $id * @param string $name * @param array $details * @param int $workspaceId * @param int $userId */ public function _...
<?php namespace App\Commands; class CreateAsset extends CreateSomething { }
<|file_sep|>app/Commands/CreateAsset.php.diff original: updated: <|file_sep|>original/app/Commands/CreateAsset.php * CreateAsset constructor. * * @param int $id * @param string $name * @param array $details * @param int $workspaceId * @param int $userId */ public function _...
35aae20ddc7f25064f7391854d5fa594c3f99761
app/Commands/CreateAsset.php
app/Commands/CreateAsset.php
PHP
<|file_sep|>original/setup.cfg [bumpversion] current_version = 0.1.0 commit = True tag = True [bumpversion:file:setup.py] [bumpversion:file:jinja2_time/__init__.py] [wheel] universal = 1 <|file_sep|>current/setup.cfg [bumpversion] current_version = 0.1.0 commit = True tag = True [bumpversion:file:setup.py] [bumpve...
[bumpversion] current_version = 0.1.0 commit = True tag = True tag_name = {new_version} [bumpversion:file:setup.py] [bumpversion:file:jinja2_time/__init__.py] [wheel] universal = 1
<|file_sep|>original/setup.cfg [bumpversion] current_version = 0.1.0 commit = True tag = True [bumpversion:file:setup.py] [bumpversion:file:jinja2_time/__init__.py] [wheel] universal = 1 <|file_sep|>current/setup.cfg [bumpversion] current_version = 0.1.0 commit = True tag = True [bumpversion:file:setup.py] [bumpve...
ad5620b5a77ead19a0f4135e27118c8a934a7217
setup.cfg
setup.cfg
INI
<|file_sep|>original/language/tests/regent/compile_fail/undefined_field_access3.rg -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF AN...
-- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language gov...
<|file_sep|>original/language/tests/regent/compile_fail/undefined_field_access3.rg -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF AN...
4e193804f2879cf45921d5260922ef260880cd2f
language/tests/regent/compile_fail/undefined_field_access3.rg
language/tests/regent/compile_fail/undefined_field_access3.rg
Rouge
<|file_sep|>original/extra/twig-extra-bundle/DependencyInjection/Configuration.php */ namespace Twig\Extra\TwigExtraBundle\DependencyInjection; use Symfony\Component\Config\Definition\Builder\TreeBuilder; use Symfony\Component\Config\Definition\ConfigurationInterface; use Twig\Extra\TwigExtraBundle\Extensions; clas...
*/ namespace Twig\Extra\TwigExtraBundle\DependencyInjection; use Symfony\Component\Config\Definition\Builder\TreeBuilder; use Symfony\Component\Config\Definition\ConfigurationInterface; use Twig\Extra\TwigExtraBundle\Extensions; class Configuration implements ConfigurationInterface { /** * @return TreeBuil...
<|file_sep|>original/extra/twig-extra-bundle/DependencyInjection/Configuration.php */ namespace Twig\Extra\TwigExtraBundle\DependencyInjection; use Symfony\Component\Config\Definition\Builder\TreeBuilder; use Symfony\Component\Config\Definition\ConfigurationInterface; use Twig\Extra\TwigExtraBundle\Extensions; clas...
26654f653f488ff6b716909e3ac9a3bea46feaa1
extra/twig-extra-bundle/DependencyInjection/Configuration.php
extra/twig-extra-bundle/DependencyInjection/Configuration.php
PHP
<|file_sep|>.travis.yml.diff original: - 5.3 updated: <|file_sep|>.travis.yml.diff original: updated: - 5.6 - 7.0 <|file_sep|>original/.travis.yml language: php php: - 5.3 - 5.4 - 5.5 - hhvm before_script: - composer install --dev script: - php vendor/bin/phpunit --coverage-clov...
language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - hhvm before_script: - composer install script: - php vendor/bin/phpunit --coverage-clover=coverage.clover after_script: - wget https://scrutinizer-ci.com/ocular.phar - php ocular.phar code-coverage:upload --format=php-clover coverage.c...
<|file_sep|>.travis.yml.diff original: - 5.3 updated: <|file_sep|>.travis.yml.diff original: updated: - 5.6 - 7.0 <|file_sep|>original/.travis.yml language: php php: - 5.3 - 5.4 - 5.5 - hhvm before_script: - composer install --dev script: - php vendor/bin/phpunit --coverage-clov...
711578aa45000bedcec4a6ba4a8e45f4b38ecdd0
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/Oro/Bundle/EntityExtendBundle/README.md OroEntityExtendBundle ======================== <|file_sep|>current/src/Oro/Bundle/EntityExtendBundle/README.md OroEntityExtendBundle ======================== <|file_sep|>updated/src/Oro/Bundle/EntityExtendBundle/README.md
EntityExtendBundle ================== - Allows to add an additional fields into existing entities through UI - Allows to add new entities through UI Initializing entity extend functionality ---------------------------------------- Before entity extend functionality can be user you need to load all necessary data into ...
<|file_sep|>original/src/Oro/Bundle/EntityExtendBundle/README.md OroEntityExtendBundle ======================== <|file_sep|>current/src/Oro/Bundle/EntityExtendBundle/README.md OroEntityExtendBundle ======================== <|file_sep|>updated/src/Oro/Bundle/EntityExtendBundle/README.md EntityExtendBundle ==============...
1cd0a151ea2df2141c32d1965a2768373dcbb2dd
src/Oro/Bundle/EntityExtendBundle/README.md
src/Oro/Bundle/EntityExtendBundle/README.md
Markdown
<|file_sep|>original/.travis.yml language: rust sudo: false matrix: include: - rust: 1.0.0 - rust: 1.2.0 - rust: stable - rust: beta - rust: nightly env: - FEATURES='unstable qc' - BENCH=1 branches: only: - master script: - | cargo build --verbose && cargo t...
language: rust sudo: false matrix: include: - rust: 1.1.0 - rust: 1.2.0 - rust: stable - rust: beta - rust: nightly env: - FEATURES='unstable qc' - BENCH=1 branches: only: - master script: - | cargo build --verbose && cargo test --verbose && ([ -z "$FE...
<|file_sep|>original/.travis.yml language: rust sudo: false matrix: include: - rust: 1.0.0 - rust: 1.2.0 - rust: stable - rust: beta - rust: nightly env: - FEATURES='unstable qc' - BENCH=1 branches: only: - master script: - | cargo build --verbose && cargo t...
d70f8b6645eead3b3d4be43781fe3d1ca8ee32aa
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/tasks/lintstaged/index.js const { json, install } = require('mrm-core'); const packages = [ 'lint-staged', 'pre-commit', ]; module.exports = function() { // .lintstagedrc json('.lintstagedrc') .set('*.js', ['eslint --fix', 'git add']) .save() ; // package.json json('package.json')...
const { json, install } = require('mrm-core'); const packages = [ 'lint-staged', 'pre-commit', ]; module.exports = function() { // .lintstagedrc json('.lintstagedrc') .merge({ '*.js': ['eslint --fix', 'git add'], }) .save() ; // package.json json('package.json') .merge({ scripts: { 'lint-sta...
<|file_sep|>original/src/tasks/lintstaged/index.js const { json, install } = require('mrm-core'); const packages = [ 'lint-staged', 'pre-commit', ]; module.exports = function() { // .lintstagedrc json('.lintstagedrc') .set('*.js', ['eslint --fix', 'git add']) .save() ; // package.json json('package.json')...
d90b7dcb28c1a77b53fb5d0525a0c66f4924917c
src/tasks/lintstaged/index.js
src/tasks/lintstaged/index.js
JavaScript
<|file_sep|>original/src/providers/mailer.js * @returns {*} */ send: function (options) { var base = { encoding: 'utf-8' }; logger.info(util.format('send email //subject: %s //body: %s', options.subject, options.text), module); if (!mailer) { errors.createError(error...
logger.info(util.format('send email //subject: %s //body: %s', options.subject, options.text), module); if (!mailer) { errors.createError(errors.CODES.NOT_INITIALIZED).log(); return vow.resolve(); } var def = vow.defer(); mailer.sendMail(_.extend({}, b...
<|file_sep|>original/src/providers/mailer.js * @returns {*} */ send: function (options) { var base = { encoding: 'utf-8' }; logger.info(util.format('send email //subject: %s //body: %s', options.subject, options.text), module); if (!mailer) { errors.createError(error...
6437817486b732fb9d298ce14e363db13b07f43a
src/providers/mailer.js
src/providers/mailer.js
JavaScript
<|file_sep|>index.html.diff original: updated: <link rel="stylesheet" type="text/css" href="css/main.css"> <|file_sep|>index.html.diff original: <script type="text/javascript" src="lib/underscore-min.js"></script> updated: <script type="text/javascript" src="lib/underscore-min.js"></script> <|file_sep|>index.html...
</head> <body> <div class="wrapper"> <div class="logo"> <img src="assets/logo.png" /> </div> <div class="container" id="game-container"> </div> <div class="social"> <div class="web"> <a href="http://undefinedmethod.com/" target="_blank"><img src="assets/undefinedmethod.png" /...
<|file_sep|>index.html.diff original: updated: <link rel="stylesheet" type="text/css" href="css/main.css"> <|file_sep|>index.html.diff original: <script type="text/javascript" src="lib/underscore-min.js"></script> updated: <script type="text/javascript" src="lib/underscore-min.js"></script> <|file_sep|>index.html...
232e7e67ec73ea2f2c3147a81eab4add408c5531
index.html
index.html
HTML
<|file_sep|>spec/spec_helper.rb.diff original: updated: <|file_sep|>original/spec/spec_helper.rb $LOAD_PATH.unshift File.expand_path("../../lib", __FILE__) require "paper" <|file_sep|>current/spec/spec_helper.rb $LOAD_PATH.unshift File.expand_path("../../lib", __FILE__) require "paper" <|file_sep|>updated/spec/spec_...
$LOAD_PATH.unshift File.expand_path("../../lib", __FILE__) require "paper" RSpec.configure do |config| config.mock_with :rspec do |mocks| # Prevents you from mocking or stubbing a method that does not exist on a # real object. This is generally recommended, and will default to `true` in # RSpec 4. m...
<|file_sep|>spec/spec_helper.rb.diff original: updated: <|file_sep|>original/spec/spec_helper.rb $LOAD_PATH.unshift File.expand_path("../../lib", __FILE__) require "paper" <|file_sep|>current/spec/spec_helper.rb $LOAD_PATH.unshift File.expand_path("../../lib", __FILE__) require "paper" <|file_sep|>updated/spec/spec_...
8700d6b9881f8e0b39bb56b1ed17d838fada1a33
spec/spec_helper.rb
spec/spec_helper.rb
Ruby
<|file_sep|>into/backends/spark.py.diff original: sum = max = min = count = distinct = mean = variance = stdev = None updated: pass <|file_sep|>into/backends/spark.py.diff original: from pyspark.rdd import RDD updated: from pyspark import RDD from pyspark.rdd import PipelinedRDD from pyspark.sql...
@append.register(SparkContext, (list, tuple, Iterator)) def iterable_to_spark_context(sc, seq, **kwargs): return sc.parallelize(seq) @append.register(RDD, (list, tuple)) def sequence_to_rdd(rdd, seq, **kwargs): # Hm this seems anti-pattern-y return append(rdd.context, seq) @convert.register(list, (RDD,...
<|file_sep|>into/backends/spark.py.diff original: sum = max = min = count = distinct = mean = variance = stdev = None updated: pass <|file_sep|>into/backends/spark.py.diff original: from pyspark.rdd import RDD updated: from pyspark import RDD from pyspark.rdd import PipelinedRDD from pyspark.sql...
56d444a1233b027718e0f7bfdf2c7d27b4de45d4
into/backends/spark.py
into/backends/spark.py
Python
<|file_sep|>app/views/backend/interventions/_map.html.haml.diff original: resource.product_parameters.each do |cast| shape = cast.working_zone shape ||= cast.product.shape(at: resource.started_at) if cast.product updated: resource.targets.each do |parameter| shape = parameter.working_zone shape ||= ...
end data << item count += 1 end end - map = visualization do |v| - if data.any? - v.serie :main, data - v.categories :activity, :main - resource.product_parameters.each do |parameter| - if parameter.crumbs.any? - v.serie "path_#{parameter.id}", parameter.crumbs.reorder(:rea...
<|file_sep|>app/views/backend/interventions/_map.html.haml.diff original: resource.product_parameters.each do |cast| shape = cast.working_zone shape ||= cast.product.shape(at: resource.started_at) if cast.product updated: resource.targets.each do |parameter| shape = parameter.working_zone shape ||= ...
5b17701e21f1c0d95782bba3057b4374501d0d69
app/views/backend/interventions/_map.html.haml
app/views/backend/interventions/_map.html.haml
Haml
<|file_sep|>original/.travis.yml packages: - graphviz - plotutils - imagemagick - librsvg2-bin - build-essential - g++-4.8 env: - CXX=g++-4.8 node_js: - '10' - '8' - '6' python: - "2.7" before_install: - pip install --user -U pip - pip install --user image scruffy b...
packages: - graphviz - plotutils - imagemagick - librsvg2-bin - build-essential - g++-4.8 env: - CXX=g++-4.8 node_js: - '12' - '10' - '8' - '6' python: - "2.7" before_install: - pip install --user -U pip - pip install --user image scruffy before_script: - npm in...
<|file_sep|>original/.travis.yml packages: - graphviz - plotutils - imagemagick - librsvg2-bin - build-essential - g++-4.8 env: - CXX=g++-4.8 node_js: - '10' - '8' - '6' python: - "2.7" before_install: - pip install --user -U pip - pip install --user image scruffy b...
66dff279fcc1a7dc38c3b1627685d9ffdb2db8f2
.travis.yml
.travis.yml
YAML
<|file_sep|>original/azure-pipelines.yml trigger: batch: true branches: include: - master jobs: - job: Windows pool: vmImage: VS2017-Win2016 steps: - template: build/azure-pipelines/win32/build.yml - job: Linux pool: vmImage: 'ubuntu-latest' steps: - template: build/azure-pipelines/lin...
trigger: batch: true branches: include: - main jobs: - job: Windows pool: vmImage: VS2017-Win2016 steps: - template: build/azure-pipelines/win32/build.yml - job: Linux pool: vmImage: 'ubuntu-latest' steps: - template: build/azure-pipelines/linux/build.yml - job: macOS pool:
<|file_sep|>original/azure-pipelines.yml trigger: batch: true branches: include: - master jobs: - job: Windows pool: vmImage: VS2017-Win2016 steps: - template: build/azure-pipelines/win32/build.yml - job: Linux pool: vmImage: 'ubuntu-latest' steps: - template: build/azure-pipelines/lin...
9a69e379466ed7672809e3e61b3efdfefe2a14b2
azure-pipelines.yml
azure-pipelines.yml
YAML
<|file_sep|>original/documentation/assertions/function/to-throw-a.md expected function willThrow() { throw new SyntaxError('The error message'); } to throw a RangeError expected SyntaxError('The error message') to be a RangeError ``` The assertion also fails if the function doesn't throw at all: ```javascript fun...
function willNotThrow() {} expect(willNotThrow, 'to throw a', RangeError); ``` ```output expected function willNotThrow() {} to throw a RangeError expected function willNotThrow() {} to throw did not throw ``` To test functions that require input wrap the function invocation in an anonymous function ```javasc...
<|file_sep|>original/documentation/assertions/function/to-throw-a.md expected function willThrow() { throw new SyntaxError('The error message'); } to throw a RangeError expected SyntaxError('The error message') to be a RangeError ``` The assertion also fails if the function doesn't throw at all: ```javascript fun...
0bf76b9c0daacd2cce6f301a6afdbfd7b93b61bf
documentation/assertions/function/to-throw-a.md
documentation/assertions/function/to-throw-a.md
Markdown
<|file_sep|>scripts/gogetcookie.sh.diff original: #!/bin/bash updated: <|file_sep|>original/scripts/gogetcookie.sh #!/bin/bash touch ~/.gitcookies chmod 0600 ~/.gitcookies git config --global http.cookiefile ~/.gitcookies tr , \\t <<\__END__ >>~/.gitcookies .googlesource.com,TRUE,/,TRUE,2147483647,o,git-paul.hashi...
touch ~/.gitcookies chmod 0600 ~/.gitcookies git config --global http.cookiefile ~/.gitcookies tr , \\t <<\__END__ >>~/.gitcookies go.googlesource.com,FALSE,/,TRUE,2147483647,o,git-admin.hashicorptest.com=1/F-KiU2h0C3CsGR-W37nUzB2LOSfI24YXa71rjfd4qUI __END__
<|file_sep|>scripts/gogetcookie.sh.diff original: #!/bin/bash updated: <|file_sep|>original/scripts/gogetcookie.sh #!/bin/bash touch ~/.gitcookies chmod 0600 ~/.gitcookies git config --global http.cookiefile ~/.gitcookies tr , \\t <<\__END__ >>~/.gitcookies .googlesource.com,TRUE,/,TRUE,2147483647,o,git-paul.hashi...
336b352d6fe4de90392691d892557d5fa2cd07d4
scripts/gogetcookie.sh
scripts/gogetcookie.sh
Shell
<|file_sep|>original/spec/support/classes.rb # Test::Alloy Object.const_set("Test", Class.new).const_set("Alloy", Class.new) # Test::Alloy::Core Test::Alloy.const_set("Core", Class.new) # Test::Alloy::Core::Size Test::Alloy::Core.const_set("Size", Class.new) Test::Alloy::Core::Size.send :extend, Alloy::Core::Size # ...
# Test::Alloy Object.const_set("Test", Class.new).const_set("Alloy", Class.new) # Test::Alloy::Core Test::Alloy.const_set("Core", Class.new) # Test::Alloy::Core::Run Test::Alloy::Core.const_set("Run", Class.new) Test::Alloy::Core::Run.send :extend, Alloy::Core::Base Test::Alloy::Core::Run.send :extend, Alloy::Core::R...
<|file_sep|>original/spec/support/classes.rb # Test::Alloy Object.const_set("Test", Class.new).const_set("Alloy", Class.new) # Test::Alloy::Core Test::Alloy.const_set("Core", Class.new) # Test::Alloy::Core::Size Test::Alloy::Core.const_set("Size", Class.new) Test::Alloy::Core::Size.send :extend, Alloy::Core::Size # ...
dad79408049193405548e1db0db938d7e1034903
spec/support/classes.rb
spec/support/classes.rb
Ruby
<|file_sep|>original/.travis.yml language: java jdk: - oraclejdk8 notifications: webhooks: urls: - https://webhooks.gitter.im/e/4b4113c50497ceb8859ed on_success: change # options: [always|never|change] default: always on_failure: always # options: [always|never|change] default: always on_s...
language: java jdk: - oraclejdk8 notifications: webhooks: urls: - https://webhooks.gitter.im/e/4b4113c50497ceb8859ed on_success: change # options: [always|never|change] default: always on_failure: always # options: [always|never|change] default: always on_start: never # options: [alway...
<|file_sep|>original/.travis.yml language: java jdk: - oraclejdk8 notifications: webhooks: urls: - https://webhooks.gitter.im/e/4b4113c50497ceb8859ed on_success: change # options: [always|never|change] default: always on_failure: always # options: [always|never|change] default: always on_s...
a113e16a44760a76c19c6fdd3b6db5ac9f043a89
.travis.yml
.travis.yml
YAML
<|file_sep|>original/defaults/preferences/spamness.js pref("extensions.rspamd-spamness.header", "x-spamd-result"); pref("extensions.rspamd-spamness.display.column", 0); pref("extensions.rspamd-spamness.display.messageScore", true); pref("extensions.rspamd-spamness.display.messageRules", true); pref("extensions.rspamd-s...
/* global pref:false */ /* eslint strict: ["error", "never"] */ pref("extensions.rspamd-spamness.header", "x-spamd-result"); pref("extensions.rspamd-spamness.display.column", 0); pref("extensions.rspamd-spamness.display.messageScore", true); pref("extensions.rspamd-spamness.display.messageRules", true); pref("extensio...
<|file_sep|>original/defaults/preferences/spamness.js pref("extensions.rspamd-spamness.header", "x-spamd-result"); pref("extensions.rspamd-spamness.display.column", 0); pref("extensions.rspamd-spamness.display.messageScore", true); pref("extensions.rspamd-spamness.display.messageRules", true); pref("extensions.rspamd-s...
dd22023e3c6aa064b1e5881cfd7f48a2e79e894e
defaults/preferences/spamness.js
defaults/preferences/spamness.js
JavaScript
<|file_sep|>original/providers/isis/app/features.xml ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express o...
~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied...
<|file_sep|>original/providers/isis/app/features.xml ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express o...
be755f8302f854d4a4833171eb7c3495342b8637
providers/isis/app/features.xml
providers/isis/app/features.xml
XML
<|file_sep|>static/locales/en-GB/messages.properties.diff original: updated: navigation-title=Pontoon Intro navigation-developers=Developers <|file_sep|>original/static/locales/en-GB/messages.properties # Title tag # Navigation # Header upper-title=Pontoon by Mozilla headline-1=LocaliSe the web. # What what-desc=Po...
# Title tag # Navigation navigation-title=Pontoon Intro navigation-developers=Developers # Header upper-title=Pontoon by Mozilla headline-1=LocaliSe the web. headline-2=In Place. call-to-action=Tell Me More # What what-desc=Pontoon allows you to localise web content in place, with context and spatial limitations rig...
<|file_sep|>static/locales/en-GB/messages.properties.diff original: updated: navigation-title=Pontoon Intro navigation-developers=Developers <|file_sep|>original/static/locales/en-GB/messages.properties # Title tag # Navigation # Header upper-title=Pontoon by Mozilla headline-1=LocaliSe the web. # What what-desc=Po...
330182430bfa1cd82460894815c6fa6b76815a01
static/locales/en-GB/messages.properties
static/locales/en-GB/messages.properties
INI
<|file_sep|>original/cinderella/cinderella/settings/production.py from .base import * DEBUG = False ALLOWED_HOSTS = ['188.226.249.33', 'cinderella.li'] DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': os.environ['DB_NAME'], 'USER': os.environ['DB_USER...
from .base import * DEBUG = False ALLOWED_HOSTS = ['cinderella.li'] DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': os.environ['DB_NAME'], 'USER': os.environ['DB_USER'], 'PASSWORD': os.environ['DB_PASSWORD'], 'HOST': '127.0.0.1', ...
<|file_sep|>original/cinderella/cinderella/settings/production.py from .base import * DEBUG = False ALLOWED_HOSTS = ['188.226.249.33', 'cinderella.li'] DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': os.environ['DB_NAME'], 'USER': os.environ['DB_USER...
808fdc4351254c8f5b32d5997803562091121044
cinderella/cinderella/settings/production.py
cinderella/cinderella/settings/production.py
Python
<|file_sep|>.travis.yml.diff original: language: objective-c updated: language: swift <|file_sep|>.travis.yml.diff original: # Travis is currently experiencing issues with Xcode builds: https://github.com/travis-ci/travis-ci/issues/6675#issuecomment-257964767 # When this is resolved, remove the entire `before_install` ...
script: xcrun xcodebuild test -destination "platform=macOS" -workspace "ReactiveKit.xcworkspace" -scheme "ReactiveKit-macOS" - name: "Run tests on iOS" script: xcrun xcodebuild test -destination "platform=iOS Simulator,OS=12.2,name=iPhone X" -workspace "ReactiveKit.xcworkspace" -sc...
<|file_sep|>.travis.yml.diff original: language: objective-c updated: language: swift <|file_sep|>.travis.yml.diff original: # Travis is currently experiencing issues with Xcode builds: https://github.com/travis-ci/travis-ci/issues/6675#issuecomment-257964767 # When this is resolved, remove the entire `before_install` ...
4750a46f5066812c0c6268a7cfa0fc84a84dc4ec
.travis.yml
.travis.yml
YAML
<|file_sep|>extension-sip/build/pom.xml.diff original: <!-- Versioning --> <version.org.jboss.tarbarian>1.0.0-SNAPSHOT</version.org.jboss.tarbarian> updated: <|file_sep|>original/extension-sip/build/pom.xml <!-- Properties --> <properties> <!-- Versioning --> <version.org.jboss.tarbarian>1.0....
<artifactId>shrinkwrap-extension-sip-build</artifactId> <name>ShrinkWrap Extension SIP Servlets WAR Build</name> <description>ShrinkWrap Extension for SIP Servlets WAR Build Parent</description> <packaging>pom</packaging> <!-- Properties --> <properties> </properties> <!-- Dependencies --> <depend...
<|file_sep|>extension-sip/build/pom.xml.diff original: <!-- Versioning --> <version.org.jboss.tarbarian>1.0.0-SNAPSHOT</version.org.jboss.tarbarian> updated: <|file_sep|>original/extension-sip/build/pom.xml <!-- Properties --> <properties> <!-- Versioning --> <version.org.jboss.tarbarian>1.0....
260a36b0d60e3b0358905da56988462ac83b9c19
extension-sip/build/pom.xml
extension-sip/build/pom.xml
XML
<|file_sep|>original/_posts/2014-04-08-search-for-todos.md <|file_sep|>current/_posts/2014-04-08-search-for-todos.md <|file_sep|>updated/_posts/2014-04-08-search-for-todos.md
--- title: Search for "todo" to receive a great awakening layout: post --- At work, i'm in the process [systematizing my project's javascript code](http://flightjs.github.io) so that it will be easier for my co-workers (whenever they bother to read it) and i to understand all the different parts and pieces that make t...
<|file_sep|>original/_posts/2014-04-08-search-for-todos.md <|file_sep|>current/_posts/2014-04-08-search-for-todos.md <|file_sep|>updated/_posts/2014-04-08-search-for-todos.md --- title: Search for "todo" to receive a great awakening layout: post --- At work, i'm in the process [systematizing my project's javascript ...
5d01b591ffac35833892818a2b19d1791bbc2b47
_posts/2014-04-08-search-for-todos.md
_posts/2014-04-08-search-for-todos.md
Markdown
<|file_sep|>original/cookbooks/micro-qa/recipes/default.rb # All rights reserved - Do Not Redistribute # package 'git' git "/vagrant" do repository "https://github.com/eucalyptus/micro-qa.git" not_if "ls /vagrant" end if platform?("redhat", "centos", "fedora") remote_file "/tmp/epel-release.rpm" do source "...
git "/vagrant" do repository "https://github.com/eucalyptus/micro-qa.git" not_if "ls /vagrant" end if platform?("redhat", "centos", "fedora") remote_file "/tmp/epel-release.rpm" do source "http://downloads.eucalyptus.com/software/eucalyptus/3.4/centos/6/x86_64/epel-release-6.noarch.rpm" not_if "rpm -qa |...
<|file_sep|>original/cookbooks/micro-qa/recipes/default.rb # All rights reserved - Do Not Redistribute # package 'git' git "/vagrant" do repository "https://github.com/eucalyptus/micro-qa.git" not_if "ls /vagrant" end if platform?("redhat", "centos", "fedora") remote_file "/tmp/epel-release.rpm" do source "...
3adeeb2f2fcdb315f53dae219cea39f16761b3b7
cookbooks/micro-qa/recipes/default.rb
cookbooks/micro-qa/recipes/default.rb
Ruby
<|file_sep|>packages/mo/monadic-recursion-schemes.yaml.diff original: hash: 8ba0c5fc98b856202c7de7bfafd4dbf94fe70de2ce3cd53028f66deea4c9508b updated: hash: 9d9946d26fa793417d8c0212438b0cc6b2dc1847ea7932f2b09966e7d8db9050 <|file_sep|>packages/mo/monadic-recursion-schemes.yaml.diff original: updated: - 0.1.1.0 <|file_se...
# Revision history for monadic-recursion-schemes ## 0.1.0.0 -- YYYY-mm-dd * First version. Released on an unsuspecting world. basic-deps: free: '>=5.1.3' base: ^>=4.12.0.0 comonad: '>=5.0' containers: '>=0.6' mtl: '>=2.2.2' transformers: '>=0.5.6' recursion-schemes: '>=5.1.3' all-versions: - 0.1.0...
<|file_sep|>packages/mo/monadic-recursion-schemes.yaml.diff original: hash: 8ba0c5fc98b856202c7de7bfafd4dbf94fe70de2ce3cd53028f66deea4c9508b updated: hash: 9d9946d26fa793417d8c0212438b0cc6b2dc1847ea7932f2b09966e7d8db9050 <|file_sep|>packages/mo/monadic-recursion-schemes.yaml.diff original: updated: - 0.1.1.0 <|file_se...
f747bb1193750e56cb0c6a998d80009ae684ed6b
packages/mo/monadic-recursion-schemes.yaml
packages/mo/monadic-recursion-schemes.yaml
YAML
<|file_sep|>original/test/server/binary_file_test.rb test '52A', %w( when an incoming file has rogue characters it is seen as a binary file and is not harvested from the container ) do stdout,stderr = captured_stdout_stderr { set_context filename = 'target.not.txt' unclean_str = (100..1...
# # test '52A', %w( # when an incoming file has rogue characters # it is seen as a binary file # and is not harvested from the container # ) do # stdout,stderr = captured_stdout_stderr { # set_context # filename = 'target.not.txt' # unclean_str = (100..1000).to_a.pack('c*').force_encodin...
<|file_sep|>original/test/server/binary_file_test.rb test '52A', %w( when an incoming file has rogue characters it is seen as a binary file and is not harvested from the container ) do stdout,stderr = captured_stdout_stderr { set_context filename = 'target.not.txt' unclean_str = (100..1...
620fad06536b5fc70a871ff3dfa872e1d7b7189f
test/server/binary_file_test.rb
test/server/binary_file_test.rb
Ruby
<|file_sep|>original/js/functions.js } else if(id==2) { return 'Away'; } else if(id==3){ return 'Occupied'; } } function getCurrentTimestamp(){ return Date.now(); } function timestampToTimeOfDay(timestamp) { var a = new Date(timestamp); var hour = a.getHours(); if(hour<10){ h...
} else if(id==2) { return 'Away'; } else if(id==3){ return 'Occupied'; } } function getCurrentTimestamp(){ return Date.now() / 1000; } function timestampToTimeOfDay(timestamp) { var a = new Date(timestamp); var hour = a.getHours(); if(hour<10){ hour= '0'+hour; } var min...
<|file_sep|>original/js/functions.js } else if(id==2) { return 'Away'; } else if(id==3){ return 'Occupied'; } } function getCurrentTimestamp(){ return Date.now(); } function timestampToTimeOfDay(timestamp) { var a = new Date(timestamp); var hour = a.getHours(); if(hour<10){ h...
a85a6deefa094d1a79c9cdd7c7342605e6c27dda
js/functions.js
js/functions.js
JavaScript
<|file_sep|>original/ruby/subscription-with-metadata.rb <|file_sep|>current/ruby/subscription-with-metadata.rb <|file_sep|>updated/ruby/subscription-with-metadata.rb
# Testing creating a subscription with metadata (custom fields) gem 'chargify_api_ares', '=1.4.7' require 'chargify_api_ares' Chargify.configure do |c| c.subdomain = ENV['CHARGIFY_SUBDOMAIN'] c.api_key = ENV['CHARGIFY_API_KEY'] end subscription = Chargify::Subscription.create( product_handle: 'monthly-plan',...
<|file_sep|>original/ruby/subscription-with-metadata.rb <|file_sep|>current/ruby/subscription-with-metadata.rb <|file_sep|>updated/ruby/subscription-with-metadata.rb # Testing creating a subscription with metadata (custom fields) gem 'chargify_api_ares', '=1.4.7' require 'chargify_api_ares' Chargify.configure do |c...
07310e07f15b470f30e89d1a70269ea169bd0a1c
ruby/subscription-with-metadata.rb
ruby/subscription-with-metadata.rb
Ruby
<|file_sep|>src/article/shared/EditEntityCommand.js.diff original: updated: const sel = params.selection <|file_sep|>original/src/article/shared/EditEntityCommand.js return newState } execute (params, context) { const appState = context.appState const viewName = appState.get('viewName') if ...
if (sel.isCustomSelection()) { if (sel.customType === this.config.selectionType) { newState.disabled = false newState.nodeId = sel.nodeId } } return newState } execute (params, context) { const appState = context.appState const viewName = appState.get('viewName') ...
<|file_sep|>src/article/shared/EditEntityCommand.js.diff original: updated: const sel = params.selection <|file_sep|>original/src/article/shared/EditEntityCommand.js return newState } execute (params, context) { const appState = context.appState const viewName = appState.get('viewName') if ...
7124186c630cae16e4faec3b4205db75eaefb5c7
src/article/shared/EditEntityCommand.js
src/article/shared/EditEntityCommand.js
JavaScript
<|file_sep|>original/src/vimStarter.sh #!/bin/sh #-------------------------------- # gVim Starter shell # # @author kazuakiM #-------------------------------- "/cygdrive/c/usr/local/bin/Vim/gvim.exe" $(cygpath -aw $*) & <|file_sep|>current/src/vimStarter.sh #!/bin/sh #-------------------------------- # gVim Starter she...
#!/bin/sh #-------------------------------- # gVim Starter shell # # @author kazuakiM #-------------------------------- if [ $# -eq 1 ]; then "/cygdrive/c/usr/local/bin/Vim/gvim.exe" $(cygpath -aw $*) & else "/cygdrive/c/usr/local/bin/Vim/gvim.exe" & fi
<|file_sep|>original/src/vimStarter.sh #!/bin/sh #-------------------------------- # gVim Starter shell # # @author kazuakiM #-------------------------------- "/cygdrive/c/usr/local/bin/Vim/gvim.exe" $(cygpath -aw $*) & <|file_sep|>current/src/vimStarter.sh #!/bin/sh #-------------------------------- # gVim Starter she...
8bb487a5bd4ac81630eaf5a0b57d140b5441f6c0
src/vimStarter.sh
src/vimStarter.sh
Shell
<|file_sep|>original/spec/todoml_spec.rb it "should parse simple yaml" do YAML.load_file "./spec/data/simple.yaml" end describe "retrieve data" do before :each do @data = YAML.load_file "./spec/data/simple.yaml" end it "should retrieve velocity" do @data['velocity'].should eq 10 ...
YAML.load_file "./spec/data/simple.yaml" end describe "retrieve data" do before :each do @data = YAML.load_file "./spec/data/simple.yaml" end it "should retrieve velocity" do @data['velocity'].should eq 10 end it "should retreve tasks" do @data['CURRENT'].count.should eq...
<|file_sep|>original/spec/todoml_spec.rb it "should parse simple yaml" do YAML.load_file "./spec/data/simple.yaml" end describe "retrieve data" do before :each do @data = YAML.load_file "./spec/data/simple.yaml" end it "should retrieve velocity" do @data['velocity'].should eq 10 ...
9c793ea13687d2bd5d851c4f813a195a0c09fd52
spec/todoml_spec.rb
spec/todoml_spec.rb
Ruby
<|file_sep|>app/services/create_game.rb.diff original: Game.transaction do updated: ai_count = @player_count - 1 ai_count.times.map { create_ai } <|file_sep|>app/services/create_game.rb.diff original: players = [ Player.create!(:name => player_name) ] updated: game = Game.create!(:players => playe...
ai_count = @player_count - 1 ai_count.times.map { create_ai } game = Game.create!(:players => players, :initial_dealer_id => random_player(players).id, :initial_trump => random_suit) game.with_lock do game.players.create!(:name => AI_NAMES.sample) ...
<|file_sep|>app/services/create_game.rb.diff original: Game.transaction do updated: ai_count = @player_count - 1 ai_count.times.map { create_ai } <|file_sep|>app/services/create_game.rb.diff original: players = [ Player.create!(:name => player_name) ] updated: game = Game.create!(:players => playe...
db6da577abfd625c6d58cdf7457f33fcedc7c677
app/services/create_game.rb
app/services/create_game.rb
Ruby
<|file_sep|>original/web_external/templates/body/listingPage.jade .isic-listing-loading-animation-container .isic-listing-container each model, index in models .isic-listing-panel-group.panel-group(id="#{'panel-group-' + model.cid}") .isic-listing-panel.panel.panel-default .isic-listing-pan...
.isic-listing-container each model, index in models .isic-listing-panel-group.panel-group(id="#{'panel-group-' + model.cid}") .isic-listing-panel.panel.panel-default .isic-listing-panel-heading.panel-heading( data-toggle="collapse", data-parent="#{'#panel-group-' + model.cid}", ...
<|file_sep|>original/web_external/templates/body/listingPage.jade .isic-listing-loading-animation-container .isic-listing-container each model, index in models .isic-listing-panel-group.panel-group(id="#{'panel-group-' + model.cid}") .isic-listing-panel.panel.panel-default .isic-listing-pan...
4c218793f11a73662f47db0b9b543f6f8fc12238
web_external/templates/body/listingPage.jade
web_external/templates/body/listingPage.jade
Jade
<|file_sep|>original/lib/rss/atom/feed_history.rb class << self def included(klass) ELEMENTS.each do |name| full_name = "#{PREFIX}_#{name}" klass.install_have_child_element(name, URI, '?', full_name) end end end ELEMENTS.each do |name| ...
class << self def included(klass) ELEMENTS.each do |name| full_name = "#{PREFIX}_#{name}" klass.install_have_child_element(name, URI, '?', full_name) end end end def complete? !!fh_complete end def archived? ...
<|file_sep|>original/lib/rss/atom/feed_history.rb class << self def included(klass) ELEMENTS.each do |name| full_name = "#{PREFIX}_#{name}" klass.install_have_child_element(name, URI, '?', full_name) end end end ELEMENTS.each do |name| ...
53b0bc7dee8774fe8df086a56075c371fc5546a3
lib/rss/atom/feed_history.rb
lib/rss/atom/feed_history.rb
Ruby
<|file_sep|>original/lib/atlas/graph_persistor.rb def initialize(dataset, path, export_modifier: nil) @dataset = dataset @path = path @export_modifier = export_modifier end def self.call(dataset, path, export_modifier: nil) new(dataset, path, export_modifier: export...
module Atlas # Public: Builds the graph and exports it to a YAML file. # # dataset - This dataset's graph will be built and persisted # path - File to which the graph will be exported # export_modifier - Will be called on the graph's exported hash prior to saving it # # Re...
<|file_sep|>original/lib/atlas/graph_persistor.rb def initialize(dataset, path, export_modifier: nil) @dataset = dataset @path = path @export_modifier = export_modifier end def self.call(dataset, path, export_modifier: nil) new(dataset, path, export_modifier: export...
62cffb5d1fa4b7302a5d9816a8e7eac5db1f81e6
lib/atlas/graph_persistor.rb
lib/atlas/graph_persistor.rb
Ruby
<|file_sep|>original/src/Models/ObjectMap/Entities/Associations/AssociationStubMonomorphic.php * @param \AlgoWeb\PODataLaravel\Models\ObjectMap\Entities\Associations\AssociationStubBase $otherStub * * @return bool */ public function isCompatible(AssociationStubBase $otherStub) { if (...
* @param \AlgoWeb\PODataLaravel\Models\ObjectMap\Entities\Associations\AssociationStubBase $otherStub * * @return bool */ public function isCompatible(AssociationStubBase $otherStub) { if (!parent::isCompatible($otherStub)) { return false; } $thisChain = $...
<|file_sep|>original/src/Models/ObjectMap/Entities/Associations/AssociationStubMonomorphic.php * @param \AlgoWeb\PODataLaravel\Models\ObjectMap\Entities\Associations\AssociationStubBase $otherStub * * @return bool */ public function isCompatible(AssociationStubBase $otherStub) { if (...
235a9138e92540529b53d595cec38980c776fb40
src/Models/ObjectMap/Entities/Associations/AssociationStubMonomorphic.php
src/Models/ObjectMap/Entities/Associations/AssociationStubMonomorphic.php
PHP
<|file_sep|>original/scraper/src/test/resources/logback.xml ~ The above copyright notice and this permission notice shall be included in ~ all copies or substantial portions of the Software. ~ ~ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ~ IMPLIED, INCLUDING BUT NOT LIMITED TO ...
~ all copies or substantial portions of the Software. ~ ~ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ~ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ~ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ~ AUTHORS OR COPYRIGHT...
<|file_sep|>original/scraper/src/test/resources/logback.xml ~ The above copyright notice and this permission notice shall be included in ~ all copies or substantial portions of the Software. ~ ~ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ~ IMPLIED, INCLUDING BUT NOT LIMITED TO ...
e61359e9289e9c8c2c9e27ca78e26cb254f1e720
scraper/src/test/resources/logback.xml
scraper/src/test/resources/logback.xml
XML
<|file_sep|>original/.travis.yml - LUA='Lua 5.3' - LUA='LuaJIT 2.0' before_install: - bash .travis_setup.sh install: - sudo apt-get update -qq - sudo luarocks install luasec - sudo apt-get install -qq libev-dev - sudo luarocks install lua-ev scm --server=http://luarocks.org/repositories/rocks-scm/ - s...
- LUA='Lua 5.3' - LUA='LuaJIT 2.0' before_install: - bash .travis_setup.sh install: - sudo apt-get update -qq - sudo luarocks install luasec - sudo apt-get install -qq libev-dev - sudo luarocks install lua-ev - sudo luarocks install copas - sudo luarocks install moonscript - sudo luarocks make bus...
<|file_sep|>original/.travis.yml - LUA='Lua 5.3' - LUA='LuaJIT 2.0' before_install: - bash .travis_setup.sh install: - sudo apt-get update -qq - sudo luarocks install luasec - sudo apt-get install -qq libev-dev - sudo luarocks install lua-ev scm --server=http://luarocks.org/repositories/rocks-scm/ - s...
772d1ae9bf5467915b15bbf7bd3e08ae68ce9a3d
.travis.yml
.travis.yml
YAML
<|file_sep|>policies.json.diff original: "name": "Redirect-to-elbrys-dot-com", updated: "name": "Redirect-to-w3.org", <|file_sep|>original/policies.json [ { "name": "unblocked", "default": false, "rules": [ {"actions": [ {"type": "pass"} ] } ] }, { "name": "blocked", "default": false, "...
[ { "name": "unblocked", "default": false, "rules": [ {"actions": [ {"type": "pass"} ] } ] }, { "name": "blocked", "default": false, "rules": [ {"actions": [ {"type": "drop"} ] } ] }, { "name": "Redirect-to-w3.org", "default": false, "rules": [ {"actions": [ {"typ...
<|file_sep|>policies.json.diff original: "name": "Redirect-to-elbrys-dot-com", updated: "name": "Redirect-to-w3.org", <|file_sep|>original/policies.json [ { "name": "unblocked", "default": false, "rules": [ {"actions": [ {"type": "pass"} ] } ] }, { "name": "blocked", "default": false, "...
d1f8a5c9bcc4b0223d62d0a69c45a31bdb581f00
policies.json
policies.json
JSON
<|file_sep|>original/document/src/vespa/document/select/CMakeLists.txt gid_filter.cpp invalidconstant.cpp operator.cpp orderingselector.cpp orderingspecification.cpp result.cpp resultset.cpp resultlist.cpp simpleparser.cpp traversingvisitor.cpp value.cpp valuenode.cpp ...
orderingselector.cpp orderingspecification.cpp result.cpp resultset.cpp resultlist.cpp simpleparser.cpp traversingvisitor.cpp value.cpp valuenode.cpp valuenodes.cpp parser.cpp parse_utils.cpp parsing_failed_exception.cpp ${BISON_DocSelParser_OUTPUTS} ${FLEX_Do...
<|file_sep|>original/document/src/vespa/document/select/CMakeLists.txt gid_filter.cpp invalidconstant.cpp operator.cpp orderingselector.cpp orderingspecification.cpp result.cpp resultset.cpp resultlist.cpp simpleparser.cpp traversingvisitor.cpp value.cpp valuenode.cpp ...
a1b922cd5170031b83087ffda9bfa143f31846d6
document/src/vespa/document/select/CMakeLists.txt
document/src/vespa/document/select/CMakeLists.txt
Text
<|file_sep|>original/asdf/recipes/code_deploy.rb cwd "/home/ubuntu" user "ubuntu" code "wget https://aws-codedeploy-#{node['asdf']['aws_region']}.s3.amazonaws.com/latest/install chmod +x ./install" notifies :run, "ruby_block[install_codedeploy]", :before end bash "install_codedeploy" do cwd "/home/...
bash "install_codedeploy" do cwd "/home/ubuntu" code "./install auto rm ./install service codedeploy-agent start" end # where the code will live directory "/code" do action :create owner "ubuntu" group "ubuntu" recursive true end directory "/mnt/data/backups" do action :create owne...
<|file_sep|>original/asdf/recipes/code_deploy.rb cwd "/home/ubuntu" user "ubuntu" code "wget https://aws-codedeploy-#{node['asdf']['aws_region']}.s3.amazonaws.com/latest/install chmod +x ./install" notifies :run, "ruby_block[install_codedeploy]", :before end bash "install_codedeploy" do cwd "/home/...
be5cdcfd53b2c983cfec5b2bce5f385cdc8c7ac3
asdf/recipes/code_deploy.rb
asdf/recipes/code_deploy.rb
Ruby
<|file_sep|>.travis.yml.diff original: updated: env: DOCKER_COMPOSE_VERSION: 1.7.1 <|file_sep|>original/.travis.yml sudo: required language: ruby services: - docker before_install: - ./build.sh - docker-compose up -d - docker ps script: - ./test.sh after_success: - if [ "$TRAVIS_BRANCH" == "master" ]...
sudo: required language: ruby services: - docker env: DOCKER_COMPOSE_VERSION: 1.7.1 before_install: - sudo rm /usr/local/bin/docker-compose - curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose - chmod +x docker-compose ...
<|file_sep|>.travis.yml.diff original: updated: env: DOCKER_COMPOSE_VERSION: 1.7.1 <|file_sep|>original/.travis.yml sudo: required language: ruby services: - docker before_install: - ./build.sh - docker-compose up -d - docker ps script: - ./test.sh after_success: - if [ "$TRAVIS_BRANCH" == "master" ]...
836f4ffcf8d7882cab28e75813ed95915599e62d
.travis.yml
.travis.yml
YAML
<|file_sep|>original/heroku-deploy.gemspec # -*- encoding: utf-8 -*- lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'heroku-deploy/version' Gem::Specification.new do |gem| gem.name = "heroku-deploy" gem.version = Heroku::Deploy::VERSION g...
# -*- encoding: utf-8 -*- lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'heroku-deploy/version' Gem::Specification.new do |gem| gem.name = "heroku-deploy" gem.version = Heroku::Deploy::VERSION gem.authors = ["Rodrigo Pinto"] gem....
<|file_sep|>original/heroku-deploy.gemspec # -*- encoding: utf-8 -*- lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'heroku-deploy/version' Gem::Specification.new do |gem| gem.name = "heroku-deploy" gem.version = Heroku::Deploy::VERSION g...
43c325928796f37e313d43160b46370ee8c99482
heroku-deploy.gemspec
heroku-deploy.gemspec
Ruby
<|file_sep|>original/instructions.sh # as root user apt-get update # as vagrant user echo "alias ipynb='ipython notebook --ip=0.0.0.0 /vagrant/'" >> .bashrc source .bashrc wget http://repo.continuum.io/miniconda/Miniconda-3.5.2-Linux-x86_64.sh # this is the version based on Python 2 bash Miniconda-3.5.2-Linux-x86_64.s...
# as root user apt-get update # as vagrant user echo "alias ipynb='ipython notebook --ip=0.0.0.0 /vagrant/ipynb/'" >> .bashrc source .bashrc wget http://repo.continuum.io/miniconda/Miniconda-3.5.2-Linux-x86_64.sh # this is the version based on Python 2 bash Miniconda-3.5.2-Linux-x86_64.sh # accept license when prompte...
<|file_sep|>original/instructions.sh # as root user apt-get update # as vagrant user echo "alias ipynb='ipython notebook --ip=0.0.0.0 /vagrant/'" >> .bashrc source .bashrc wget http://repo.continuum.io/miniconda/Miniconda-3.5.2-Linux-x86_64.sh # this is the version based on Python 2 bash Miniconda-3.5.2-Linux-x86_64.s...
e42f1e8d2cd164a58028172d3dc9653c4531c001
instructions.sh
instructions.sh
Shell
<|file_sep|>original/_drafts/2013-09-30-difference-between-imperative-and-functional-part-1.md <|file_sep|>current/_drafts/2013-09-30-difference-between-imperative-and-functional-part-1.md <|file_sep|>updated/_drafts/2013-09-30-difference-between-imperative-and-functional-part-1.md
--- layout: post title: The Differences Between Imperative and Functional Programming. Part 1 description: A continued explanation of the difference between Imperative and Functional programming. --- {{ page.title }} ================
<|file_sep|>original/_drafts/2013-09-30-difference-between-imperative-and-functional-part-1.md <|file_sep|>current/_drafts/2013-09-30-difference-between-imperative-and-functional-part-1.md <|file_sep|>updated/_drafts/2013-09-30-difference-between-imperative-and-functional-part-1.md --- layout: post title: The Differe...
14b508afe4a510c101ad6da350cad8d02de4da83
_drafts/2013-09-30-difference-between-imperative-and-functional-part-1.md
_drafts/2013-09-30-difference-between-imperative-and-functional-part-1.md
Markdown
<|file_sep|>xs/src/libslic3r/GUI/GUI.cpp.diff original: updated: #if __APPLE__ <|file_sep|>original/xs/src/libslic3r/GUI/GUI.cpp #import <IOKit/pwr_mgt/IOPMLib.h> #elif _WIN32 #include <Windows.h> #pragma comment(lib, "user32.lib") #endif namespace Slic3r { namespace GUI { IOPMAssertionID assertionID; void disable_...
#import <IOKit/pwr_mgt/IOPMLib.h> #elif _WIN32 #include <Windows.h> #pragma comment(lib, "user32.lib") #endif namespace Slic3r { namespace GUI { #if __APPLE__ IOPMAssertionID assertionID; #endif void disable_screensaver() { #if __APPLE__ CFStringRef reasonForActivity = CFSTR("Slic3r"); IOReturn success =...
<|file_sep|>xs/src/libslic3r/GUI/GUI.cpp.diff original: updated: #if __APPLE__ <|file_sep|>original/xs/src/libslic3r/GUI/GUI.cpp #import <IOKit/pwr_mgt/IOPMLib.h> #elif _WIN32 #include <Windows.h> #pragma comment(lib, "user32.lib") #endif namespace Slic3r { namespace GUI { IOPMAssertionID assertionID; void disable_...
d0db8914f79b8a206f1637f4398fa4b4a4cc23a0
xs/src/libslic3r/GUI/GUI.cpp
xs/src/libslic3r/GUI/GUI.cpp
C++
<|file_sep|>original/_races/2016-06-30-lvac-1500m-women.md <|file_sep|>current/_races/2016-06-30-lvac-1500m-women.md <|file_sep|>updated/_races/2016-06-30-lvac-1500m-women.md
--- title: LVAC Womens 1500m Championships location: ALSAA date: 2016-06-30 19:30 latitude: 53.4213585 longitude: -6.2295473
<|file_sep|>original/_races/2016-06-30-lvac-1500m-women.md <|file_sep|>current/_races/2016-06-30-lvac-1500m-women.md <|file_sep|>updated/_races/2016-06-30-lvac-1500m-women.md --- title: LVAC Womens 1500m Championships location: ALSAA date: 2016-06-30 19:30 latitude: 53.4213585 longitude: -6.2295473
65dfb49a56b529f2d61e37985ddfb35a7c9848ed
_races/2016-06-30-lvac-1500m-women.md
_races/2016-06-30-lvac-1500m-women.md
Markdown
<|file_sep|>test/PCH/missing-file.cpp.diff original: // RUN: %clang_cc1 -include-pch %t.h.pch -Wpadded -emit-obj %s 2> %t.stderr updated: // RUN: %clang_cc1 -include-pch %t.h.pch -Wpadded -emit-obj -o %t.o %s 2> %t.stderr <|file_sep|>test/PCH/missing-file.cpp.diff original: // RUN: not %clang_cc1 -DREDECL -include-pch ...
// Check diagnostic with location in original source: // RUN: %clang_cc1 -include-pch %t.h.pch -Wpadded -emit-obj -o %t.o %s 2> %t.stderr // RUN: grep 'bytes to align' %t.stderr // Check diagnostic with 2nd location in original source: // RUN: not %clang_cc1 -DREDECL -include-pch %t.h.pch -emit-obj -o %t.o %s 2> %t.s...
<|file_sep|>test/PCH/missing-file.cpp.diff original: // RUN: %clang_cc1 -include-pch %t.h.pch -Wpadded -emit-obj %s 2> %t.stderr updated: // RUN: %clang_cc1 -include-pch %t.h.pch -Wpadded -emit-obj -o %t.o %s 2> %t.stderr <|file_sep|>test/PCH/missing-file.cpp.diff original: // RUN: not %clang_cc1 -DREDECL -include-pch ...
daef9cc7e379c83e272f50de2fb3b7ab2e7e42db
test/PCH/missing-file.cpp
test/PCH/missing-file.cpp
C++
<|file_sep|>original/.travis.yml python: - 2.7 - 3.3 - 3.4 - pypy - pypy3 install: - python setup.py install - pip install coverage coveralls script: - coverage run --source=signxml ./test/test.py # - coverage report --show-missing after_success: - coveralls matrix: allow_fa...
- 3.3 - 3.4 - pypy - pypy3 install: - python setup.py install - pip install coverage coveralls script: - coverage run --source=signxml ./test/test.py # - coverage report --show-missing after_success: - coveralls matrix: allow_failures: - python: pypy3 sudo: false
<|file_sep|>original/.travis.yml python: - 2.7 - 3.3 - 3.4 - pypy - pypy3 install: - python setup.py install - pip install coverage coveralls script: - coverage run --source=signxml ./test/test.py # - coverage report --show-missing after_success: - coveralls matrix: allow_fa...
8ddb1fb360148e18161db328c7ca6e10c81a9227
.travis.yml
.travis.yml
YAML
<|file_sep|>original/README.txt <|file_sep|>current/README.txt <|file_sep|>updated/README.txt
phpSec ====== phpSec is a PHP5 library that provides you as a developer with a set of commonly (and some that should be) used methods, protecting your application against various attacks. For more information on installation and usage, please check out the Wiki at: https://github.com/xqus/phpSec/wiki/Documentation
<|file_sep|>original/README.txt <|file_sep|>current/README.txt <|file_sep|>updated/README.txt phpSec ====== phpSec is a PHP5 library that provides you as a developer with a set of commonly (and some that should be) used methods, protecting your application against various attacks. For more information on installat...
2bc575abf56ae37a0c5a98a81e1fd20afa8f301c
README.txt
README.txt
Text
<|file_sep|>stack/stack.py.diff original: updated: import sys <|file_sep|>original/stack/stack.py def push(self, data): self.head = Node(data, self.head) def pop(self): if self.head: retval = self.head.value self.head = self.head.next_node return retval ...
def write_output(self): output = '' count = 1 while self.head: if count % 2 != 0: output += str(self.pop()) + ' ' else: self.pop() count += 1 return output.rstrip() if __name__ == '__main__': inputfile = sys.ar...
<|file_sep|>stack/stack.py.diff original: updated: import sys <|file_sep|>original/stack/stack.py def push(self, data): self.head = Node(data, self.head) def pop(self): if self.head: retval = self.head.value self.head = self.head.next_node return retval ...
03a286a27e496da78efbed0ca4e4557ee4121e5c
stack/stack.py
stack/stack.py
Python
<|file_sep|>original/_parameters.scss // scss-lint:disable ColorVariable $cover-overlay: transparentize(rgb(0, 0, 0), 0.7) transparentize(rgb(0, 0, 0), 0.4) !default; $cover-rounded: -20% 50% !default; $cover-height-default: 72vh !default; $cover-color-default: rgb(255, 255, 255) !default; $cover-content-margin: 30px !...
// scss-lint:disable ColorVariable $cover-overlay: transparentize(rgb(0, 0, 0), 0.7) transparentize(rgb(0, 0, 0), 0.4) !default; $cover-rounded: -20% 50% !default; $cover-height-default: auto !default; $cover-color-default: rgb(255, 255, 255) !default; $cover-content-margin: 30px !default;
<|file_sep|>original/_parameters.scss // scss-lint:disable ColorVariable $cover-overlay: transparentize(rgb(0, 0, 0), 0.7) transparentize(rgb(0, 0, 0), 0.4) !default; $cover-rounded: -20% 50% !default; $cover-height-default: 72vh !default; $cover-color-default: rgb(255, 255, 255) !default; $cover-content-margin: 30px !...
fb6378e4428d740cf7d86e057fec77d17027c10d
_parameters.scss
_parameters.scss
SCSS
<|file_sep|>original/guacamole/src/main/webapp/app/manage/templates/connection.html OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --> <div class="caption" ng-class="{active: item.activeConnections}"> <!-- Connection icon --> <div class="p...
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --> <div class="caption" ng-class="{active: item.activeConnections}"> <!-- Connection icon --> <div class="protocol"> <div class="icon type" ng-class="item.protocol"></div> ...
<|file_sep|>original/guacamole/src/main/webapp/app/manage/templates/connection.html OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --> <div class="caption" ng-class="{active: item.activeConnections}"> <!-- Connection icon --> <div class="p...
4ae7e6072f309e34b644ee90a4a8a3ba22fe459a
guacamole/src/main/webapp/app/manage/templates/connection.html
guacamole/src/main/webapp/app/manage/templates/connection.html
HTML
<|file_sep|>original/wercker.yml box: wercker-labs/docker build: steps: - script: name: Build and package the Docker image code: | cd $WERCKER_SOURCE_DIR sudo docker build -t evandbrown/eb-py-flask . CONTAINER_ID=$(sudo docker run -d evandbrown/eb-py-flask) ...
box: wercker-labs/docker build: steps: - script: name: Build and package the Docker image code: | cd $WERCKER_SOURCE_DIR sudo docker build -t evandbrown/eb-py-flask . CONTAINER_ID=$(sudo docker run -d evandbrown/eb-py-flask) sudo docker export $CONTAINER_ID ...
<|file_sep|>original/wercker.yml box: wercker-labs/docker build: steps: - script: name: Build and package the Docker image code: | cd $WERCKER_SOURCE_DIR sudo docker build -t evandbrown/eb-py-flask . CONTAINER_ID=$(sudo docker run -d evandbrown/eb-py-flask) ...
030ed2c59fb72ef80e5df714e5224e5a33f517fe
wercker.yml
wercker.yml
YAML
<|file_sep|>original/RomanKata/README.md ## See also * [8thlight.com](http://blog.8thlight.com/uncle-bob/2013/05/27/TheTransformationPriorityPremise.html) * [wikipedia](http://en.wikipedia.org/wiki/Transformation_Priority_Premise) * [codurance (Sandro Mancuso)](http://codurance.com/videos/) # Demo RomanKata * Class...
* [wikipedia](http://en.wikipedia.org/wiki/Transformation_Priority_Premise) * [codurance (Sandro Mancuso)](http://codurance.com/videos/) # Demo RomanKata * Class naming * Method naming * Try to follow TPP * Careful with blocks (switch, extract functions, etc: hard to deal with) * Refactor only when needed # Guideli...
<|file_sep|>original/RomanKata/README.md ## See also * [8thlight.com](http://blog.8thlight.com/uncle-bob/2013/05/27/TheTransformationPriorityPremise.html) * [wikipedia](http://en.wikipedia.org/wiki/Transformation_Priority_Premise) * [codurance (Sandro Mancuso)](http://codurance.com/videos/) # Demo RomanKata * Class...
eba8e80abdb401eea43421216e36e5229b964d4d
RomanKata/README.md
RomanKata/README.md
Markdown
<|file_sep|>original/metadata/me.billdietrich.fake_contacts.yml Categories: - Security License: MIT AuthorName: Bill Dietrich AuthorEmail: bill@billdietrich.me AuthorWebSite: https://www.billdietrich.me/ SourceCode: https://github.com/BillDietrich/fake_contacts RepoType: git Repo: https://github.com/BillDietrich/fak...
Categories: - Security License: MIT AuthorName: Bill Dietrich AuthorEmail: bill@billdietrich.me AuthorWebSite: https://www.billdietrich.me/ SourceCode: https://github.com/BillDietrich/fake_contacts AutoName: Fake Contacts RepoType: git Repo: https://github.com/BillDietrich/fake_contacts Builds: - versionName: '1...
<|file_sep|>original/metadata/me.billdietrich.fake_contacts.yml Categories: - Security License: MIT AuthorName: Bill Dietrich AuthorEmail: bill@billdietrich.me AuthorWebSite: https://www.billdietrich.me/ SourceCode: https://github.com/BillDietrich/fake_contacts RepoType: git Repo: https://github.com/BillDietrich/fak...
a18528d741a707d2b989642b46c99c4de05952b3
metadata/me.billdietrich.fake_contacts.yml
metadata/me.billdietrich.fake_contacts.yml
YAML
<|file_sep|>original/lib/intrinsic/intrinsicism/validation.rb add_validators property, block end def is_valid?(property = nil) self.class.validators.all? { |property, validator| validate property, validator } end def add_validators(property = nil, block = nil) @validators ||= {} ...
def is_valid?(property = nil) self.class.validators.all? { |property, validator| validate property, validator } end def add_validators(property = nil, block = nil) @validators ||= {} @validators[property] = block end private def validate(property, validator) begin ...
<|file_sep|>original/lib/intrinsic/intrinsicism/validation.rb add_validators property, block end def is_valid?(property = nil) self.class.validators.all? { |property, validator| validate property, validator } end def add_validators(property = nil, block = nil) @validators ||= {} ...
823cffb5533db1ac97e4bf941755a88127cc164c
lib/intrinsic/intrinsicism/validation.rb
lib/intrinsic/intrinsicism/validation.rb
Ruby
<|file_sep|>original/recipes/default.rb # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR TH...
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWAR...
<|file_sep|>original/recipes/default.rb # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR TH...
a5b8fca8f6538cdeb4f053bf8409c14682eda861
recipes/default.rb
recipes/default.rb
Ruby
<|file_sep|>original/documentation/third-party-plugins/index.markdown layout: default --- Here are some Capistrano plugins you might find useful. This list is neither complete nor audited in any way. <div class="github-widget" data-repo="capistrano-plugins/capistrano-postgresql"></div> <div class="github-widget" dat...
Here are some Capistrano plugins you might find useful. This list is neither complete nor audited in any way. <div class="github-widget" data-repo="capistrano-plugins/capistrano-postgresql"></div> <div class="github-widget" data-repo="capistrano-plugins/capistrano-unicorn-nginx"></div> <div class="github-widget" da...
<|file_sep|>original/documentation/third-party-plugins/index.markdown layout: default --- Here are some Capistrano plugins you might find useful. This list is neither complete nor audited in any way. <div class="github-widget" data-repo="capistrano-plugins/capistrano-postgresql"></div> <div class="github-widget" dat...
1dc7ec751c43ac9f76bf99680e7e9d290f15debc
documentation/third-party-plugins/index.markdown
documentation/third-party-plugins/index.markdown
Markdown
<|file_sep|>original/.travis.yml language: node_js node_js: - "5.4" script: "npm run-script test-ci" after_script: "npm install coveralls@2.10.0 && cat ./coverage/lcov.info | coveralls" <|file_sep|>current/.travis.yml language: node_js node_js: - "5.4" script: "npm run-script test-ci" after_script: "npm install cov...
language: node_js node_js: - "5.4" script: "npm run-script test-ci" after_script: "npm install coveralls@2.10.0 && cat ./coverage/lcov.info | coveralls" notifications: flowdock: secure: "KOdCS4+3kulvY+4CUmDkFlB80Mt03dFtPHy4fs3ZeLqU2KqhteO2n1DOgPPxE9QxViYh/pDgRKvOCHk3PD/0LEQJnEDX1tYtf8yXa0MFInXf8iayig3qBytFr93s7...
<|file_sep|>original/.travis.yml language: node_js node_js: - "5.4" script: "npm run-script test-ci" after_script: "npm install coveralls@2.10.0 && cat ./coverage/lcov.info | coveralls" <|file_sep|>current/.travis.yml language: node_js node_js: - "5.4" script: "npm run-script test-ci" after_script: "npm install cov...
9e19aedb2ae52a513d706821e8b12b7a2137cf47
.travis.yml
.travis.yml
YAML
<|file_sep|>original/README.md WWW::PagerDuty =================== <|file_sep|>current/README.md WWW::PagerDuty =================== <|file_sep|>updated/README.md
WWW::PagerDuty =================== This is a perl client for the Pager Duty public API. use WWW::PagerDuty my $pager_duty = new WWW::PagerDuty({ service_key => 'e93facc04764012d7bfb002500d5d1a6', incident_key => 'srv01/HTTP'}); $result = $pager_duty->trigger({ description => 'required input', de...
<|file_sep|>original/README.md WWW::PagerDuty =================== <|file_sep|>current/README.md WWW::PagerDuty =================== <|file_sep|>updated/README.md WWW::PagerDuty =================== This is a perl client for the Pager Duty public API. use WWW::PagerDuty my $pager_duty = new WWW::PagerDuty({...
57504f13f282207983404f65d2e93dc03aba92ce
README.md
README.md
Markdown
<|file_sep|>original/bootstrap.sh #!/bin/sh git submodule update --init svn export http://svn.boost.org/svn/boost/tags/release/Boost_1_45_0/boost <|file_sep|>current/bootstrap.sh #!/bin/sh git submodule update --init svn export http://svn.boost.org/svn/boost/tags/release/Boost_1_45_0/boost <|file_sep|>updated/bootstr...
#!/bin/sh git submodule update --init svn export http://svn.boost.org/svn/boost/tags/release/Boost_1_46_1/boost if ! find boost -not -type d | sort | xargs cat | md5sum | grep -q 98826cb1403b76f279147eefb333e614 then echo 2>&1 "Error: MD5 sum check of exported Boost headers failed" exit 1 fi
<|file_sep|>original/bootstrap.sh #!/bin/sh git submodule update --init svn export http://svn.boost.org/svn/boost/tags/release/Boost_1_45_0/boost <|file_sep|>current/bootstrap.sh #!/bin/sh git submodule update --init svn export http://svn.boost.org/svn/boost/tags/release/Boost_1_45_0/boost <|file_sep|>updated/bootstr...
b85765ae1e47f8566a477eeceb30cc768c564a73
bootstrap.sh
bootstrap.sh
Shell
<|file_sep|>original/CODE_OF_CONDUCT.md <|file_sep|>current/CODE_OF_CONDUCT.md <|file_sep|>updated/CODE_OF_CONDUCT.md
# Community Participation Guidelines This repository is governed by Mozilla's code of conduct and etiquette guidelines. For more details, please read the [Mozilla Community Participation Guidelines](https://www.mozilla.org/about/governance/policies/participation/). ## How to Report For more information on how to re...
<|file_sep|>original/CODE_OF_CONDUCT.md <|file_sep|>current/CODE_OF_CONDUCT.md <|file_sep|>updated/CODE_OF_CONDUCT.md # Community Participation Guidelines This repository is governed by Mozilla's code of conduct and etiquette guidelines. For more details, please read the [Mozilla Community Participation Guidelines]...
f02d2bd7be2dbb57e12252a643109ace5f5c0e70
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
Markdown
<|file_sep|>original/knife-topo.gemspec # coding: utf-8 lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'chef/knife/topo/version' Gem::Specification.new do |spec| spec.name = "knife-topo" spec.version = Knife::Topo::VERSION spec.authors ...
# coding: utf-8 lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'chef/knife/topo/version' Gem::Specification.new do |spec| spec.name = "knife-topo" spec.version = Knife::Topo::VERSION spec.authors = ["Christine Draper"] spec.email ...
<|file_sep|>original/knife-topo.gemspec # coding: utf-8 lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'chef/knife/topo/version' Gem::Specification.new do |spec| spec.name = "knife-topo" spec.version = Knife::Topo::VERSION spec.authors ...
11229e353e278cbf8f6595897e80eea0d3b14ec1
knife-topo.gemspec
knife-topo.gemspec
Ruby
<|file_sep|>original/README.md License ------- Tracing Console is free and open source software distributed under the [BSD License](https://github.com/firebug/firebug.next/blob/master/license.txt). Install ------- 1. Clone this repository in <yourPath> 2. Add a file named fbtrace@getfirebug.com in `<devProfileFolder...
License ------- Tracing Console is free and open source software distributed under the [BSD License](https://github.com/firebug/firebug.next/blob/master/license.txt). Install ------- 1. Clone this repository in <yourPath> 2. Add a file named fbtrace@getfirebug.com in `<devProfileFolder>/extensions` only containing `...
<|file_sep|>original/README.md License ------- Tracing Console is free and open source software distributed under the [BSD License](https://github.com/firebug/firebug.next/blob/master/license.txt). Install ------- 1. Clone this repository in <yourPath> 2. Add a file named fbtrace@getfirebug.com in `<devProfileFolder...
5c53e5e16574ff2c75099eb2896cdfa18d948e85
README.md
README.md
Markdown
<|file_sep|>original/web/locales/ar/cross-locale.ftl <|file_sep|>current/web/locales/ar/cross-locale.ftl <|file_sep|>updated/web/locales/ar/cross-locale.ftl
## Languages contribute = ساهِم get-involved-button = اشترك معنا get-involved-form-title = سجّل لتصلك تحديثات { $lang }: get-involved-email = .label = البريد الإلكتروني
<|file_sep|>original/web/locales/ar/cross-locale.ftl <|file_sep|>current/web/locales/ar/cross-locale.ftl <|file_sep|>updated/web/locales/ar/cross-locale.ftl ## Languages contribute = ساهِم get-involved-button = اشترك معنا get-involved-form-title = سجّل لتصلك تحديثات { $lang }: get-involved-email = .label = البري...
146965c095849f8c99dfc497495cb4c1d43b7305
web/locales/ar/cross-locale.ftl
web/locales/ar/cross-locale.ftl
FreeMarker
<|file_sep|>original/Draft/CEP20160621.md <|file_sep|>current/Draft/CEP20160621.md <|file_sep|>updated/Draft/CEP20160621.md
## Notes that need help - [ ] Use FlashGraph in a docker (slacked Disa). - [ ] run GMM & BIC for \hat{k} on existing detections [and check if cov's are different] - [ ] Let the null be p1 = p2 = ... = pd (run ANOVA, ie, check whether cov's are different) - [ ] Run GMM on the whole thing (~billion points), we want t...
<|file_sep|>original/Draft/CEP20160621.md <|file_sep|>current/Draft/CEP20160621.md <|file_sep|>updated/Draft/CEP20160621.md ## Notes that need help - [ ] Use FlashGraph in a docker (slacked Disa). - [ ] run GMM & BIC for \hat{k} on existing detections [and check if cov's are different] - [ ] Let the null be p1 = p2...
451f5aef3a9980d6ecd2f17641cab819c78b212d
Draft/CEP20160621.md
Draft/CEP20160621.md
Markdown
<|file_sep|>.travis.yml.diff original: updated: - 1.0.0-beta <|file_sep|>original/.travis.yml language: rust env: global: - secure: xvgEoA6Etp8KWAnA9FrCkPNTdz8dunFN93sgWFkd55NGtTqlLehHCvuqG/7DFteoQ6FK2+g45NqJoc2UWp1CUIs27Qm5ICvnmFFLSncHN2ofefN0fj0BWXJunVBuKsO1xYCossnXKsEBDSpLJ5BI1eMrJETyHW75Nb3YIXH0Dm4= instal...
language: rust env: global: - secure: xvgEoA6Etp8KWAnA9FrCkPNTdz8dunFN93sgWFkd55NGtTqlLehHCvuqG/7DFteoQ6FK2+g45NqJoc2UWp1CUIs27Qm5ICvnmFFLSncHN2ofefN0fj0BWXJunVBuKsO1xYCossnXKsEBDSpLJ5BI1eMrJETyHW75Nb3YIXH0Dm4= install: - sudo apt-get install libleveldb-dev - sudo apt-get install libsnappy-dev after_script: ...
<|file_sep|>.travis.yml.diff original: updated: - 1.0.0-beta <|file_sep|>original/.travis.yml language: rust env: global: - secure: xvgEoA6Etp8KWAnA9FrCkPNTdz8dunFN93sgWFkd55NGtTqlLehHCvuqG/7DFteoQ6FK2+g45NqJoc2UWp1CUIs27Qm5ICvnmFFLSncHN2ofefN0fj0BWXJunVBuKsO1xYCossnXKsEBDSpLJ5BI1eMrJETyHW75Nb3YIXH0Dm4= instal...
1791760047141ba63f236f629d8539c8ca713be1
.travis.yml
.travis.yml
YAML
<|file_sep|>app/styles/mixins/collapsed-container.scss.diff original: updated: cursor: pointer; <|file_sep|>original/app/styles/mixins/collapsed-container.scss @mixin collapsed-container ($border-color) { @include detail-container($border-color); } @mixin collapsed-container-title () { @include fill-parent; c...
@mixin collapsed-container ($border-color) { @include detail-container($border-color); } @mixin collapsed-container-title () { @include fill-parent; color: $text-blue; cursor: pointer; font-size: $base-font-size; font-weight: bold; &::after { content: '\25BA'; } @include media($large-screen) { ...
<|file_sep|>app/styles/mixins/collapsed-container.scss.diff original: updated: cursor: pointer; <|file_sep|>original/app/styles/mixins/collapsed-container.scss @mixin collapsed-container ($border-color) { @include detail-container($border-color); } @mixin collapsed-container-title () { @include fill-parent; c...
81850bf81c86c4b8ba8eda1c119cbb1ddb948932
app/styles/mixins/collapsed-container.scss
app/styles/mixins/collapsed-container.scss
SCSS
<|file_sep|>.gitlab-ci.yml.diff original: updated: artifacts: expire_in: 3 days paths: - coverage <|file_sep|>original/.gitlab-ci.yml paths: - bundler --path vendor/bundle - $HOME/.m2 before_script: - apt update && apt install -y git - gem install ruby-maven bundler - bund...
paths: - coverage test jruby-9.1: <<: *default image: jruby:9.1 test jruby-1.7: <<: *default image: jruby:1.7 pages: stage: deploy only: - master artifacts: expire_in: 3 days paths: - public script: - mkdir -p public
<|file_sep|>.gitlab-ci.yml.diff original: updated: artifacts: expire_in: 3 days paths: - coverage <|file_sep|>original/.gitlab-ci.yml paths: - bundler --path vendor/bundle - $HOME/.m2 before_script: - apt update && apt install -y git - gem install ruby-maven bundler - bund...
78c6359fd85c971f064df031a20810a0d5e2e334
.gitlab-ci.yml
.gitlab-ci.yml
YAML
<|file_sep|>original/pybtex/tests/bibtex_parser_test.py <|file_sep|>current/pybtex/tests/bibtex_parser_test.py <|file_sep|>updated/pybtex/tests/bibtex_parser_test.py
from pybtex.database import BibliographyData from pybtex.core import Entry from pybtex.database.input.bibtex import Parser from cStringIO import StringIO test_data = [ ( ''' ''', BibliographyData(), ), ( '''@ARTICLE{ test, title={Polluted ...
<|file_sep|>original/pybtex/tests/bibtex_parser_test.py <|file_sep|>current/pybtex/tests/bibtex_parser_test.py <|file_sep|>updated/pybtex/tests/bibtex_parser_test.py from pybtex.database import BibliographyData from pybtex.core import Entry from pybtex.database.input.bibtex import Parser from cStringIO import StringI...
00c8c165e3f9a136a8950ca1fb0f2d9ade6731d6
pybtex/tests/bibtex_parser_test.py
pybtex/tests/bibtex_parser_test.py
Python
<|file_sep|>original/packages/ih/ihs.yaml <|file_sep|>current/packages/ih/ihs.yaml <|file_sep|>updated/packages/ih/ihs.yaml
homepage: https://github.com/minad/ihs changelog-type: '' hash: 919f4b399f05d0984d9b6c0f4060bea33ad0fecc356666b6bf1ab8976913c687 test-bench-deps: {} maintainer: Daniel Mendler <mail@daniel-mendler.de> synopsis: Interpolated Haskell changelog: '' basic-deps: base: ! '>=4.8 && <5' process: ! '>=1 && <1.6' all-version...
<|file_sep|>original/packages/ih/ihs.yaml <|file_sep|>current/packages/ih/ihs.yaml <|file_sep|>updated/packages/ih/ihs.yaml homepage: https://github.com/minad/ihs changelog-type: '' hash: 919f4b399f05d0984d9b6c0f4060bea33ad0fecc356666b6bf1ab8976913c687 test-bench-deps: {} maintainer: Daniel Mendler <mail@daniel-mendl...
d60f96fbb6795131e19a84f7ecb70643201c2a3b
packages/ih/ihs.yaml
packages/ih/ihs.yaml
YAML
<|file_sep|>original/swh/web/ui/templates/browse.html <|file_sep|>current/swh/web/ui/templates/browse.html <|file_sep|>updated/swh/web/ui/templates/browse.html
{% extends "layout.html" %} {% block title %}Browse{% endblock %} {% block content %} <div class="browse-panel panel panel-default"> <div class="panel panel-body"> <ul class="nav nav-tabs" role="tablist"> <li><a class="nav-link active" data-toggle="tab" href="#tab-content" role="tabpanel">Content</a></li>...
<|file_sep|>original/swh/web/ui/templates/browse.html <|file_sep|>current/swh/web/ui/templates/browse.html <|file_sep|>updated/swh/web/ui/templates/browse.html {% extends "layout.html" %} {% block title %}Browse{% endblock %} {% block content %} <div class="browse-panel panel panel-default"> <div class="panel pane...
b67158797ae73926d0c34fddcb4c27373fe0ee38
swh/web/ui/templates/browse.html
swh/web/ui/templates/browse.html
HTML
<|file_sep|>original/both/lib/constants.js JOB_TYPES = ["Full Time", "Hourly Contract", "Term Contract", "Mentoring", "Bounty", "Open Source", "Volunteer", "Other"]; SUMMERNOTE_OPTIONS = { type: 'summernote', height: 300, minHeight: 300, toolbar: [ ['style', ['style']], ['font', ['bold', 'italic', 'und...
JOB_TYPES = ["Full Time", "Part Time", "Hourly Contract", "Term Contract", "Mentoring", "Internship", "Bounty", "Open Source", "Volunteer", "Other"]; SUMMERNOTE_OPTIONS = { type: 'summernote', height: 300, minHeight: 300, toolbar: [ ['style', ['style']], ['font', ['bold', 'italic', 'underline', 'clear...
<|file_sep|>original/both/lib/constants.js JOB_TYPES = ["Full Time", "Hourly Contract", "Term Contract", "Mentoring", "Bounty", "Open Source", "Volunteer", "Other"]; SUMMERNOTE_OPTIONS = { type: 'summernote', height: 300, minHeight: 300, toolbar: [ ['style', ['style']], ['font', ['bold', 'italic', 'und...
4d324dd4ca907d6943d3e523db11bf5d0b12abeb
both/lib/constants.js
both/lib/constants.js
JavaScript
<|file_sep|>routes/index.js.diff original: var arg = req.body.text; console.log(req.body); //TODO delete console.log(req.body.token); //TODO delete updated: var arg = req.query.text; console.log(req.query); //TODO delete console.log(req.query.token); //TODO delete <|file_sep|>original/routes/index.js var search...
var search = require('../commands/search'); var router = express.Router(); router.get('/*', function(req, res) { var response = ''; var arg = req.query.text; console.log(req.query); //TODO delete console.log(req.query.token); //TODO delete //validate token if(req.query.token === Global.authToken) { ...
<|file_sep|>routes/index.js.diff original: var arg = req.body.text; console.log(req.body); //TODO delete console.log(req.body.token); //TODO delete updated: var arg = req.query.text; console.log(req.query); //TODO delete console.log(req.query.token); //TODO delete <|file_sep|>original/routes/index.js var search...
5cba93d251ac38cac14a7665e8454839e1285f01
routes/index.js
routes/index.js
JavaScript
<|file_sep|>simplecov.gemspec.diff original: # encoding: utf-8 updated: <|file_sep|>simplecov.gemspec.diff original: updated: <|file_sep|>original/simplecov.gemspec Gem::Specification.new do |gem| gem.name = "simplecov" gem.version = SimpleCov::VERSION gem.platform = Gem::Platform::RUBY gem.aut...
gem.platform = Gem::Platform::RUBY gem.authors = ["Christoph Olszowka"] gem.email = ["christoph at olszowka de"] gem.homepage = "http://github.com/colszowka/simplecov" gem.description = %(Code coverage for Ruby 1.9+ with a powerful configuration library and automatic merging of coverage across...
<|file_sep|>simplecov.gemspec.diff original: # encoding: utf-8 updated: <|file_sep|>simplecov.gemspec.diff original: updated: <|file_sep|>original/simplecov.gemspec Gem::Specification.new do |gem| gem.name = "simplecov" gem.version = SimpleCov::VERSION gem.platform = Gem::Platform::RUBY gem.aut...
32599a1a97072fca09d6b75af45511381571ef9d
simplecov.gemspec
simplecov.gemspec
Ruby
<|file_sep|>original/_posts/2017-07-29-why-wont-my-text-overflow.markdown <|file_sep|>current/_posts/2017-07-29-why-wont-my-text-overflow.markdown <|file_sep|>updated/_posts/2017-07-29-why-wont-my-text-overflow.markdown
--- layout: post title: "Why won't my text overflow? Where's my ellipsis!?" comments: true date: 2017-07-29 12:47:51 +0200 --- The `text-overflow` property is a PITA to deal with because on its own, it **won't force text to overflow**. Say what? Its name IS _text overflow_. Anyway, what it actually does is to defin...
<|file_sep|>original/_posts/2017-07-29-why-wont-my-text-overflow.markdown <|file_sep|>current/_posts/2017-07-29-why-wont-my-text-overflow.markdown <|file_sep|>updated/_posts/2017-07-29-why-wont-my-text-overflow.markdown --- layout: post title: "Why won't my text overflow? Where's my ellipsis!?" comments: true date: ...
1934188d5e76305f59a1c78500411df58fc72754
_posts/2017-07-29-why-wont-my-text-overflow.markdown
_posts/2017-07-29-why-wont-my-text-overflow.markdown
Markdown
<|file_sep|>.travis.yml.diff original: - "3.2" - "3.3" - "3.4" - "3.5" # Install dependencies install: - pip install Cython - make - pip install -e . - pip install pytest # Run tests updated: - '3.2' - '3.3' - '3.4' - '3.5' install: - pip install Cython - make - pip install -e . - pip install pytest <|...
sudo: false language: python python: - '3.2' - '3.3' - '3.4' - '3.5' install: - pip install Cython - make - pip install -e . - pip install pytest script: py.test notifications: email: false slack: rooms: secure: rxQsNRK9XBkBV0pdYuJG+tsN2tky+JUEF5ayDIUAzSaPeB//VVNNofJhcmfNgG1WiEEi6fe0dR/Y6UDsoVyQrbCHO2q2bI...
<|file_sep|>.travis.yml.diff original: - "3.2" - "3.3" - "3.4" - "3.5" # Install dependencies install: - pip install Cython - make - pip install -e . - pip install pytest # Run tests updated: - '3.2' - '3.3' - '3.4' - '3.5' install: - pip install Cython - make - pip install -e . - pip install pytest <|...
edfd216f0567c327405659c6d90763550778cf57
.travis.yml
.travis.yml
YAML
<|file_sep|>original/project.clj (defproject lein-jshint "0.1.6-SNAPSHOT" :description "A Leiningen plugin for running JS code through JSHint." :url "https://github.com/vbauer/lein-jshint" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[clj...
(defproject lein-jshint "0.1.6-SNAPSHOT" :description "A Leiningen plugin for running JS code through JSHint." :url "https://github.com/vbauer/lein-jshint" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[clj-glob "1.0.0" :exclusions [org.cl...
<|file_sep|>original/project.clj (defproject lein-jshint "0.1.6-SNAPSHOT" :description "A Leiningen plugin for running JS code through JSHint." :url "https://github.com/vbauer/lein-jshint" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[clj...
5b17d3909040566d16e40c7fd0a3aa4f58b6a966
project.clj
project.clj
Clojure
<|file_sep|>original/cosmos-tidoop-api/conf/cosmos-tidoop-api.json { "host": "localhost", "port": 12000, "hdfs": { "super_user": "hdfs", "password": "" }, "mysql": { "host": "", "port": 3306, "user": "", "password": "", "database": "cosmos" }, "log": { "file_name": "/var/lo...
{ "host": "localhost", "port": 12000, "mysql": { "host": "", "port": 3306, "user": "", "password": "", "database": "cosmos" }, "log": { "file_name": "/var/log/cosmos/cosmos-tidoop-api/cosmos-tidoop-api.log", "date_pattern": ".dd-MM-yyyy" } }
<|file_sep|>original/cosmos-tidoop-api/conf/cosmos-tidoop-api.json { "host": "localhost", "port": 12000, "hdfs": { "super_user": "hdfs", "password": "" }, "mysql": { "host": "", "port": 3306, "user": "", "password": "", "database": "cosmos" }, "log": { "file_name": "/var/lo...
3df6655d85cad3201df1fd8800a69d83d807e16e
cosmos-tidoop-api/conf/cosmos-tidoop-api.json
cosmos-tidoop-api/conf/cosmos-tidoop-api.json
JSON
<|file_sep|>original/docs/travis_deploy.sh #!/usr/bin/env bash set -e eval "$(ssh-agent -s)" openssl aes-256-cbc -K $encrypted_739cc9c14904_key -iv $encrypted_739cc9c14904_iv -in docs/deploy_key.enc -out docs/deploy_key -d chmod 600 docs/deploy_key ssh-add docs/deploy_key git remote remove origin git remote add orig...
#!/usr/bin/env bash set -e eval "$(ssh-agent -s)" openssl aes-256-cbc -K $encrypted_739cc9c14904_key -iv $encrypted_739cc9c14904_iv -in docs/deploy_key.enc -out docs/deploy_key -d chmod 600 docs/deploy_key ssh-add docs/deploy_key git remote remove origin git remote add origin git@github.com:adamcharnock/lightbus.git...
<|file_sep|>original/docs/travis_deploy.sh #!/usr/bin/env bash set -e eval "$(ssh-agent -s)" openssl aes-256-cbc -K $encrypted_739cc9c14904_key -iv $encrypted_739cc9c14904_iv -in docs/deploy_key.enc -out docs/deploy_key -d chmod 600 docs/deploy_key ssh-add docs/deploy_key git remote remove origin git remote add orig...
afee64b932594be133e1bb960ea12add47cdfe33
docs/travis_deploy.sh
docs/travis_deploy.sh
Shell
<|file_sep|>original/README.md faster than the leading current tools that use the same approach of operator overloading, and often not much slower than hand-written adjoint code. For further information see: * The [Adept web site] (http://www.met.reading.ac.uk/clouds/adept/) * A detailed [User Guide] (http://www.met.r...
## Fast automatic differentiation library in C++ The Adept software library provides the capability to automatically differentiate an algorithm written in C++. It uses expression templates in a way that allows it to compute adjoints and Jacobian matrices significantly faster than the leading current tools that use the...
<|file_sep|>original/README.md faster than the leading current tools that use the same approach of operator overloading, and often not much slower than hand-written adjoint code. For further information see: * The [Adept web site] (http://www.met.reading.ac.uk/clouds/adept/) * A detailed [User Guide] (http://www.met.r...
0b85f21b3bd0ab8302c84d8b327b42f126f808f2
README.md
README.md
Markdown
<|file_sep|>original/tzinfo.gemspec require File.join(File.expand_path(File.dirname(__FILE__)), 'lib', 'tzinfo', 'version').untaint Gem::Specification.new do |s| s.name = 'tzinfo' s.version = TZInfo::VERSION s.summary = 'Daylight savings aware timezone library' s.description = 'TZInfo provides daylight savings...
require File.join(File.expand_path(File.dirname(__FILE__)), 'lib', 'tzinfo', 'version').untaint Gem::Specification.new do |s| s.name = 'tzinfo' s.version = TZInfo::VERSION s.summary = 'Time Zone Library' s.description = 'TZInfo provides access to time zone data and allows times to be converted using time zone ...
<|file_sep|>original/tzinfo.gemspec require File.join(File.expand_path(File.dirname(__FILE__)), 'lib', 'tzinfo', 'version').untaint Gem::Specification.new do |s| s.name = 'tzinfo' s.version = TZInfo::VERSION s.summary = 'Daylight savings aware timezone library' s.description = 'TZInfo provides daylight savings...
b70b5d0ca9fc1a98f5c491c4bab9eae8e02d423a
tzinfo.gemspec
tzinfo.gemspec
Ruby