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/.travis.yml language: php matrix: include: - php: 7.0 env: GUZZLE_VERSION="6.2.2" - php: 5.6 env: GUZZLE_VERSION="5.3.1" - php: 7.0 env: GUZZLE_VERSION="5.3.1" - php: 5.6 env: GUZZLE_VERSION="6.2.2" install: - composer require guzzlehttp/guzzle:${GUZZLE...
language: php matrix: include: - php: 7.0 env: GUZZLE_VERSION="6.2.2" - php: 5.6 env: GUZZLE_VERSION="5.3.1" - php: 7.0 env: GUZZLE_VERSION="5.3.1" - php: 5.6 env: GUZZLE_VERSION="6.2.2" - php: 7.2 env: GUZZLE_VERSION="6.2.2" install: - composer require guzzlehttp...
<|file_sep|>original/.travis.yml language: php matrix: include: - php: 7.0 env: GUZZLE_VERSION="6.2.2" - php: 5.6 env: GUZZLE_VERSION="5.3.1" - php: 7.0 env: GUZZLE_VERSION="5.3.1" - php: 5.6 env: GUZZLE_VERSION="6.2.2" install: - composer require guzzlehttp/guzzle:${GUZZLE...
a1a156934959292a1bc9c61941c0bc02ef1ab24f
.travis.yml
.travis.yml
YAML
<|file_sep|>tests/common.py.diff original: updated: import platform <|file_sep|>original/tests/common.py import os import unittest import subprocess TESTS_DIR = os.path.dirname(os.path.abspath(__file__)) class DtraceTestCase(unittest.TestCase): def setUp(self): build_target(self._testMethodName) d...
import os import unittest import platform import subprocess TESTS_DIR = os.path.dirname(os.path.abspath(__file__)) class DtraceTestCase(unittest.TestCase): @classmethod def setUpClass(cls): if platform.system() != "Darwin": raise Exception("%s: This test suite must be run on OS X" % cls...
<|file_sep|>tests/common.py.diff original: updated: import platform <|file_sep|>original/tests/common.py import os import unittest import subprocess TESTS_DIR = os.path.dirname(os.path.abspath(__file__)) class DtraceTestCase(unittest.TestCase): def setUp(self): build_target(self._testMethodName) d...
2c43a04e5027a5f8cc2739ea93ab24057a07838f
tests/common.py
tests/common.py
Python
<|file_sep|>original/CONTRIBUTING.md Contributing ============ New contributions to the library are welcome, just a couple of guidelines: * Tabs for indentation, not spaces please. * Please ensure you're changing the individual files in /src, not the concatenated output in the Chart.js file in the root of the repo....
Contributing ============ New contributions to the library are welcome, just a couple of guidelines: * Tabs for indentation, not spaces please. * Please ensure you're changing the individual files in /src, not the concatenated output in the Chart.js file in the root of the repo. * Please check that your code will ...
<|file_sep|>original/CONTRIBUTING.md Contributing ============ New contributions to the library are welcome, just a couple of guidelines: * Tabs for indentation, not spaces please. * Please ensure you're changing the individual files in /src, not the concatenated output in the Chart.js file in the root of the repo....
8522d4e60e163c55198ad80d39a9db346a7e61b5
CONTRIBUTING.md
CONTRIBUTING.md
Markdown
<|file_sep|>docker-entrypoint.sh.diff original: if [ -f /requirements.txt ]; then echo -n "* Installing packages from /requirements.txt" updated: if [ -f /app/requirements.txt ]; then echo -n "* Installing packages from /app/requirements.txt" <|file_sep|>original/docker-entrypoint.sh gosu app pip in...
gosu app pip install --quiet -e /app echo "[Done]" fi echo "Python packages installed: $(pip freeze | wc -l)" } export -f update-python-env case "$1" in python|uwsgi|-) update-python-env # Cleanup shortcut if [ ${1} = '-' ]; then shift fi set ...
<|file_sep|>docker-entrypoint.sh.diff original: if [ -f /requirements.txt ]; then echo -n "* Installing packages from /requirements.txt" updated: if [ -f /app/requirements.txt ]; then echo -n "* Installing packages from /app/requirements.txt" <|file_sep|>original/docker-entrypoint.sh gosu app pip in...
353765737a66437e2e272b725b2015f5b4d190f4
docker-entrypoint.sh
docker-entrypoint.sh
Shell
<|file_sep|>components/menu.html.diff original: updated: <label class="menu-controls">Sort by</label> <select ng-model="sortField"> <option value="$id">Created date</option> <option value="votes">Votes</option> </select> <span ng-show="voteService.remainingVotes(userId, board.max_votes) < board.max_vot...
<div ng-show="userId !== ''" class="menu"> <h2 id="board-name" ng-show="!editingBoardName" ng-click="editingBoardName=true;newBoardName=boardId;">{{boardId}}</h2> <i class="fa fa-pencil" ng-show="!editingBoardName"></i> <span ng-show="editingBoardName" class="editing-board-name"> <input ng-model="newBoardName...
<|file_sep|>components/menu.html.diff original: updated: <label class="menu-controls">Sort by</label> <select ng-model="sortField"> <option value="$id">Created date</option> <option value="votes">Votes</option> </select> <span ng-show="voteService.remainingVotes(userId, board.max_votes) < board.max_vot...
2c39b9b804080e0f6a64392252d5f75d0e0843cd
components/menu.html
components/menu.html
HTML
<|file_sep|>original/src/Illuminate/Database/DetectsLostConnections.php * @param \Exception $e * @return bool */ protected function causedByLostConnection(Exception $e) { $message = $e->getMessage(); return Str::contains($message, [ 'server has gone away', ...
* @return bool */ protected function causedByLostConnection(Exception $e) { $message = $e->getMessage(); return Str::contains($message, [ 'server has gone away', 'no connection to the server', 'Lost connection', 'is dead or not enabled',...
<|file_sep|>original/src/Illuminate/Database/DetectsLostConnections.php * @param \Exception $e * @return bool */ protected function causedByLostConnection(Exception $e) { $message = $e->getMessage(); return Str::contains($message, [ 'server has gone away', ...
53fa2102e61e55e0b6db64ccecfc8977451c74c6
src/Illuminate/Database/DetectsLostConnections.php
src/Illuminate/Database/DetectsLostConnections.php
PHP
<|file_sep|>original/go/1/main.go package main import "fmt" func main() { fmt.Println("Hello!") } <|file_sep|>current/go/1/main.go package main import "fmt" func main() { fmt.Println("Hello!") } <|file_sep|>updated/go/1/main.go
package main import "fmt" func main() { multiples := make(map[int]bool) sum := 0 for n, by3, by5 := 1, 3, 5; n < 1000; n++ { by3 = n * 3 if (by3 >= 1000) { break; } _, ok := multiples[by3] if ! ok { sum += by3 multiples[by3] = true } by5 = n * 5
<|file_sep|>original/go/1/main.go package main import "fmt" func main() { fmt.Println("Hello!") } <|file_sep|>current/go/1/main.go package main import "fmt" func main() { fmt.Println("Hello!") } <|file_sep|>updated/go/1/main.go package main import "fmt" func main() { multiples := make(map[int]bool) sum := ...
e65a1bc071a31f83e563e4a6853d19a33c110faa
go/1/main.go
go/1/main.go
Go
<|file_sep|>original/micropress/urls.py from django.conf.urls.defaults import * urlpatterns = patterns('micropress.views', (r'^$', 'article_list'), (r'^issue/(?P<issue>\d+)/$', 'issue_list'), (r'^article/(?P<slug>[-\w]+)/$', 'article_detail'), #(r'^new/$', 'article_create'), ) <|file_sep|>current/micr...
from django.conf.urls.defaults import * urlpatterns = patterns('micropress.views', (r'^$', 'article_list'), url(r'^issue/(?P<issue>\d+)/$', 'article_list', name='issue_list'), (r'^article/(?P<slug>[-\w]+)/$', 'article_detail'), #(r'^new/$', 'article_create'), )
<|file_sep|>original/micropress/urls.py from django.conf.urls.defaults import * urlpatterns = patterns('micropress.views', (r'^$', 'article_list'), (r'^issue/(?P<issue>\d+)/$', 'issue_list'), (r'^article/(?P<slug>[-\w]+)/$', 'article_detail'), #(r'^new/$', 'article_create'), ) <|file_sep|>current/micr...
2c965c0a75be129f429e40ade34ef608f8ceea27
micropress/urls.py
micropress/urls.py
Python
<|file_sep|>original/templates/index.html <!doctype html> <html> <head> <meta charset="utf-8"> <title>{{title}}</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css"> <style media="screen" type="text/css"> .avatar { width: 32px; height: 32px;...
<!doctype html> <html> <head> <meta charset="utf-8"> <title>{{title}}</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css"> <style media="screen" type="text/css"> .avatar { width: 2.25em; height: 2.25em; } .small-avatar { width: 1.25em...
<|file_sep|>original/templates/index.html <!doctype html> <html> <head> <meta charset="utf-8"> <title>{{title}}</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css"> <style media="screen" type="text/css"> .avatar { width: 32px; height: 32px;...
182ca1de7d64033e1b23c752345d0791c24de2ec
templates/index.html
templates/index.html
HTML
<|file_sep|>original/README.md linux-dash ========== A low-overhead monitoring web dashboard for a linux machine. Simply drop-in the app and go! <a href="http://afaq.dreamhosters.com/linux-dash/"> View Demo </a> <img width="700px" src="http://afaq.dreamhosters.com/linux-dash/linux-dash.PNG"> <h2>Installation</h2>...
linux-dash ========== A low-overhead monitoring web dashboard for a linux machine. Simply drop-in the app and go! <a href="http://afaq.dreamhosters.com/linux-dash/"> View Demo </a> <img width="700px" src="http://afaq.dreamhosters.com/linux-dash.PNG"> <h2>Installation</h2> <ol> <li>Download the zip/repo/package<...
<|file_sep|>original/README.md linux-dash ========== A low-overhead monitoring web dashboard for a linux machine. Simply drop-in the app and go! <a href="http://afaq.dreamhosters.com/linux-dash/"> View Demo </a> <img width="700px" src="http://afaq.dreamhosters.com/linux-dash/linux-dash.PNG"> <h2>Installation</h2>...
48b0de6c1e7f51e8d036554d75145581bcf0191d
README.md
README.md
Markdown
<|file_sep|>original/package.json { "name": "es6-react-workshop", "version": "1.0.0", "description": "ES6+react.js workshop, es6katas page", "main": "index.js", "scripts": { "test": "npm run lint && mocha", "lint": "jscs test" }, "keywords": [ "es6", "reactjs", "es6katas" ], "autho...
"name": "es6-react-workshop", "version": "1.0.0", "description": "ES6+react.js workshop, es6katas page", "main": "index.js", "scripts": { "test": "npm run lint && mocha", "lint": "jscs test" }, "keywords": [ "es6", "reactjs", "es6katas" ], "author": "Wolfram Kriesing, uxebu", "li...
<|file_sep|>original/package.json { "name": "es6-react-workshop", "version": "1.0.0", "description": "ES6+react.js workshop, es6katas page", "main": "index.js", "scripts": { "test": "npm run lint && mocha", "lint": "jscs test" }, "keywords": [ "es6", "reactjs", "es6katas" ], "autho...
dd65c46e42f76f85d7ca89383bccdb591560a0a1
package.json
package.json
JSON
<|file_sep|>original/.travis.yml php: - 5.5 - 5.6 - 7.0 - 7.1 - hhvm before_script: - travis_retry composer self-update - travis_retry composer install --no-interaction script: - vendor/bin/phpcs --standard=psr2 ./src - vendor/bin/phpunit --coverage-text --bootstrap vendor/autoloa...
php: - 5.5 - 5.6 - 7.0 - 7.1 - hhvm before_script: - travis_retry composer self-update - if [[ $TRAVIS_PHP_VERSION == "5.6" ]]; then composer remove --dev phpbench/phpbench; fi - if [[ $TRAVIS_PHP_VERSION == "hhvm" ]]; then composer remove --dev phpbench/phpbench; fi - travis_retry...
<|file_sep|>original/.travis.yml php: - 5.5 - 5.6 - 7.0 - 7.1 - hhvm before_script: - travis_retry composer self-update - travis_retry composer install --no-interaction script: - vendor/bin/phpcs --standard=psr2 ./src - vendor/bin/phpunit --coverage-text --bootstrap vendor/autoloa...
1531268db13aabf1ebbe565d4d456eac45304ad1
.travis.yml
.travis.yml
YAML
<|file_sep|>original/db/migrate/20160412200143_create_abrasf_desif_tax_codes.rb class CreateAbrasfDesifTaxCodes < ActiveRecord::Migration def change create_table :abrasf_desif_tax_codes do |t| t.string :description, limit: 200 t.references :abrasf_desif_service_item, foreign_key: true end end en...
class CreateAbrasfDesifTaxCodes < ActiveRecord::Migration def change create_table :abrasf_desif_tax_codes do |t| t.string :description, limit: 200 t.references :abrasf_desif_service_item, foreign_key: true, index: true, null: false end end end
<|file_sep|>original/db/migrate/20160412200143_create_abrasf_desif_tax_codes.rb class CreateAbrasfDesifTaxCodes < ActiveRecord::Migration def change create_table :abrasf_desif_tax_codes do |t| t.string :description, limit: 200 t.references :abrasf_desif_service_item, foreign_key: true end end en...
54d797f074e21a8d08628a29663d67735e0771f5
db/migrate/20160412200143_create_abrasf_desif_tax_codes.rb
db/migrate/20160412200143_create_abrasf_desif_tax_codes.rb
Ruby
<|file_sep|>original/Form/DataTransformer/EntityToIDTransformer.php <|file_sep|>current/Form/DataTransformer/EntityToIDTransformer.php <|file_sep|>updated/Form/DataTransformer/EntityToIDTransformer.php
<?php /** * @author Igor Nikolaev <igor.sv.n@gmail.com> * @copyright Copyright (c) 2018, Darvin Studio * @link https://www.darvin-studio.ru * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Darvin\Utils\Form\DataTr...
<|file_sep|>original/Form/DataTransformer/EntityToIDTransformer.php <|file_sep|>current/Form/DataTransformer/EntityToIDTransformer.php <|file_sep|>updated/Form/DataTransformer/EntityToIDTransformer.php <?php /** * @author Igor Nikolaev <igor.sv.n@gmail.com> * @copyright Copyright (c) 2018, Darvin Studio * @link...
5750aab314199abad78ae2d728adcd88a01534ee
Form/DataTransformer/EntityToIDTransformer.php
Form/DataTransformer/EntityToIDTransformer.php
PHP
<|file_sep|>original/.travis.yml language: haskell before_install: - "cabal update" - "cabal install shellcheck" install: true script: - "shellcheck *.sh" - ". setup-environment.sh" - 'echo "Testing exported variable: $CM_SOFTWARE_BUILD_NODES"' <|file_sep|>current/.travis.yml language: haskell before_install:...
language: haskell before_install: - "cabal update" - "cabal install shellcheck" install: true script: - "shellcheck *.sh" - ". setup-environment.sh" - 'echo "Testing exported variable: $CM_SOFTWARE_BUILD_NODES"' notifications: email: - brian@bioconductor.org
<|file_sep|>original/.travis.yml language: haskell before_install: - "cabal update" - "cabal install shellcheck" install: true script: - "shellcheck *.sh" - ". setup-environment.sh" - 'echo "Testing exported variable: $CM_SOFTWARE_BUILD_NODES"' <|file_sep|>current/.travis.yml language: haskell before_install:...
cf2afa7ba98c4b2fdf8b30a03227c0639aa95f1a
.travis.yml
.travis.yml
YAML
<|file_sep|>original/test-requirements.txt docker==3.7.2 elasticsearch==7.0.0 falcon==2.0.0 falcon-cors==1.1.7 npyscreen==4.10.5 pika==1.0.1 pytest==4.4.1 pytest-cov==2.6.1 python-magic==0.4.15 pyyaml==5.1 redis==3.2.1 rq==1.0 sphinx==2.0.1 urllib3==1.24.2 watchdog==0.9.0 <|file_sep|>current/test-requirements.txt docke...
docker==3.7.2 elasticsearch==7.0.0 falcon==2.0.0 falcon-cors==1.1.7 npyscreen==4.10.5 pika==1.0.1 pytest==4.4.1 pytest-cov==2.7.1 python-magic==0.4.15 pyyaml==5.1 redis==3.2.1 rq==1.0 sphinx==2.0.1 urllib3==1.24.2 watchdog==0.9.0
<|file_sep|>original/test-requirements.txt docker==3.7.2 elasticsearch==7.0.0 falcon==2.0.0 falcon-cors==1.1.7 npyscreen==4.10.5 pika==1.0.1 pytest==4.4.1 pytest-cov==2.6.1 python-magic==0.4.15 pyyaml==5.1 redis==3.2.1 rq==1.0 sphinx==2.0.1 urllib3==1.24.2 watchdog==0.9.0 <|file_sep|>current/test-requirements.txt docke...
b6fe2160ffd09e91897032c9fd53e25b7f44ab15
test-requirements.txt
test-requirements.txt
Text
<|file_sep|>original/package.json { "name": "ripple-gateway", "version": "2.4.0", "scripts": { "start": "./bin/gateway start" }, "dependencies": { "express": "3.x", "express-validator": "", "validator": "~2.0", "bignumber.js": "1.3.0", "express-authorization": "0.1.1", "passport": ...
{ "name": "ripple-gateway", "version": "3.0.0", "scripts": { "start": "./bin/gateway start" }, "dependencies": { "express": "3.x", "express-validator": "", "validator": "~2.0", "bignumber.js": "1.3.0", "express-authorization": "0.1.1", "passport": "", "passport-http": "", "...
<|file_sep|>original/package.json { "name": "ripple-gateway", "version": "2.4.0", "scripts": { "start": "./bin/gateway start" }, "dependencies": { "express": "3.x", "express-validator": "", "validator": "~2.0", "bignumber.js": "1.3.0", "express-authorization": "0.1.1", "passport": ...
90db8fcf473f6684cf18d6d837a8ce06dbcfec26
package.json
package.json
JSON
<|file_sep|>original/api/restore_wallet.py <|file_sep|>current/api/restore_wallet.py <|file_sep|>updated/api/restore_wallet.py
import urlparse import os, sys import json tools_dir = os.environ.get('TOOLSDIR') lib_path = os.path.abspath(tools_dir) sys.path.append(lib_path) from msc_apps import * data_dir_root = os.environ.get('DATADIR') def restore_wallet_response(request_dict): if not request_dict.has_key('type'): return (None, 'No fie...
<|file_sep|>original/api/restore_wallet.py <|file_sep|>current/api/restore_wallet.py <|file_sep|>updated/api/restore_wallet.py import urlparse import os, sys import json tools_dir = os.environ.get('TOOLSDIR') lib_path = os.path.abspath(tools_dir) sys.path.append(lib_path) from msc_apps import * data_dir_root = os.en...
95b400e147b04a904b98769f426bd7bb99e20d5d
api/restore_wallet.py
api/restore_wallet.py
Python
<|file_sep|>original/lib/mforwd/worker.rb <|file_sep|>current/lib/mforwd/worker.rb <|file_sep|>updated/lib/mforwd/worker.rb
require 'sidekiq' require 'mforwd' Sidekiq.configure_client do |config| config.redis = { :namespace => 'x', :size => 1 } end Sidekiq.configure_server do |config| config.redis = { :namespace => 'x' } end class MForwd::Worker include Sidekiq::Worker def perform(how_hard="super hard", how_long=1) sleep ho...
<|file_sep|>original/lib/mforwd/worker.rb <|file_sep|>current/lib/mforwd/worker.rb <|file_sep|>updated/lib/mforwd/worker.rb require 'sidekiq' require 'mforwd' Sidekiq.configure_client do |config| config.redis = { :namespace => 'x', :size => 1 } end Sidekiq.configure_server do |config| config.redis = { :namespa...
fcfe2a33d149276ae7456673785c09423479eef9
lib/mforwd/worker.rb
lib/mforwd/worker.rb
Ruby
<|file_sep|>original/lib/line/bot/api/errors.rb module Line module Bot module API class InvalidCredentialsError < StandardError; end end end end <|file_sep|>current/lib/line/bot/api/errors.rb module Line module Bot module API class InvalidCredentialsError < StandardError; end end end...
module Line module Bot module API class Error < StandardError; end class InvalidCredentialsError < Error; end end end end
<|file_sep|>original/lib/line/bot/api/errors.rb module Line module Bot module API class InvalidCredentialsError < StandardError; end end end end <|file_sep|>current/lib/line/bot/api/errors.rb module Line module Bot module API class InvalidCredentialsError < StandardError; end end end...
1b5392a7bb59d14e065796f2e400693a5736e336
lib/line/bot/api/errors.rb
lib/line/bot/api/errors.rb
Ruby
<|file_sep|>app/views/questions/tagged.html.erb.diff original: updated: <%= paginate @questions %> <|file_sep|>original/app/views/questions/tagged.html.erb <div id="page-wrap"> <div id="body"> <div class="question-list"> <%= render partial: 'question-summary', collection: @questions, as: 'question' %> ...
<div id="page-wrap"> <div id="body"> <div class="question-list"> <%= render partial: 'question-summary', collection: @questions, as: 'question' %> </div> <%= paginate @questions %> </div> <div id="sidebar"> <h4><%= @count %> questions tagged <a class="btn btn-default tag"><%= params[:tag] %>...
<|file_sep|>app/views/questions/tagged.html.erb.diff original: updated: <%= paginate @questions %> <|file_sep|>original/app/views/questions/tagged.html.erb <div id="page-wrap"> <div id="body"> <div class="question-list"> <%= render partial: 'question-summary', collection: @questions, as: 'question' %> ...
fc4c5df7902fa37834233e20392418bf64ebdc64
app/views/questions/tagged.html.erb
app/views/questions/tagged.html.erb
HTML+ERB
<|file_sep|>original/blog/cheat-sheets/_posts/2017-08-21-db-cheat-sheet.md --- layout: post title: "Database commands cheat sheet" teaser: Cheat sheet for various DB commands date: 2017-08-21 17:04:00 +0000 categories: cheat-sheets --- # PostgreSQL ## Connect via psql ```bash $ psql -h <hostname> -p <port> -U <use...
--- layout: post title: "Database commands cheat sheet" teaser: Cheat sheet for various DB commands date: 2017-08-21 17:04:00 +0000 categories: cheat-sheets --- # PostgreSQL ## Connect via psql ```bash $ psql -h <hostname> -p <port> -U <user> <db_name> ``` ## Show tables - psql cli ```bash \dt ```
<|file_sep|>original/blog/cheat-sheets/_posts/2017-08-21-db-cheat-sheet.md --- layout: post title: "Database commands cheat sheet" teaser: Cheat sheet for various DB commands date: 2017-08-21 17:04:00 +0000 categories: cheat-sheets --- # PostgreSQL ## Connect via psql ```bash $ psql -h <hostname> -p <port> -U <use...
488b4a389c5bced337fe1e66dca8718ecf339b52
blog/cheat-sheets/_posts/2017-08-21-db-cheat-sheet.md
blog/cheat-sheets/_posts/2017-08-21-db-cheat-sheet.md
Markdown
<|file_sep|>original/client/lib/convert-to-print/convert-items/paragraphToReact.js import React from 'react'; function applyProperties(text, properties) { // TODO: support more than 1 property const property = properties[0]; return React.createElement('p', null, [ React.createElement('span', null, text.subst...
import React from 'react'; function applyProperties(text, properties) { // TODO: support more than 1 property const property = properties[0]; return React.createElement('p', null, [ React.createElement('span', null, text.substring(0, property.offsets.start)), React.createElement(property.type, null, text...
<|file_sep|>original/client/lib/convert-to-print/convert-items/paragraphToReact.js import React from 'react'; function applyProperties(text, properties) { // TODO: support more than 1 property const property = properties[0]; return React.createElement('p', null, [ React.createElement('span', null, text.subst...
22f07bfd0bd4c2928f6c641ccab91750b0c88f5b
client/lib/convert-to-print/convert-items/paragraphToReact.js
client/lib/convert-to-print/convert-items/paragraphToReact.js
JavaScript
<|file_sep|>original/.github/workflows/node.js.yml pull_request: branches: [ master, develop ] jobs: lts_versions: name: "Get versions" runs-on: ubuntu-latest steps: - id: set-matrix run: echo "::set-output name=matrix::$(curl -s https://raw.githubusercontent.com/fvdm/nodejs-versions...
pull_request: branches: [ master, develop ] jobs: lts_versions: name: "Get versions" runs-on: ubuntu-latest steps: - id: set-matrix run: echo "::set-output name=matrix::$(curl -s https://raw.githubusercontent.com/fvdm/nodejs-versions/main/lts-current.json)" outputs: matrix:...
<|file_sep|>original/.github/workflows/node.js.yml pull_request: branches: [ master, develop ] jobs: lts_versions: name: "Get versions" runs-on: ubuntu-latest steps: - id: set-matrix run: echo "::set-output name=matrix::$(curl -s https://raw.githubusercontent.com/fvdm/nodejs-versions...
75b5602173b0c7c8425be0fbc3ded8ded8679307
.github/workflows/node.js.yml
.github/workflows/node.js.yml
YAML
<|file_sep|>original/.travis.yml language: objective-c osx_image: xcode8.2 install: gem install slather -N env: - DESTINATION="platform=iOS Simulator,name=iPhone 6s,OS=10.2" - DESTINATION="platform=iOS Simulator,name=iPhone 6,OS=9.3" - DESTINATION="platform=iOS Simulator,name=iPhone 6,OS=8.1" script: xctool -...
language: objective-c osx_image: xcode8.2 install: gem install slather -N env: - DESTINATION="platform=iOS Simulator,name=iPhone 6s,OS=10.2" - DESTINATION="platform=iOS Simulator,name=iPhone 6,OS=9.3" - DESTINATION="platform=iOS Simulator,name=iPhone 6,OS=8.1" script: xcodebuild -destination "$DESTINATION" -w...
<|file_sep|>original/.travis.yml language: objective-c osx_image: xcode8.2 install: gem install slather -N env: - DESTINATION="platform=iOS Simulator,name=iPhone 6s,OS=10.2" - DESTINATION="platform=iOS Simulator,name=iPhone 6,OS=9.3" - DESTINATION="platform=iOS Simulator,name=iPhone 6,OS=8.1" script: xctool -...
91559fb5d46d5d56c88dc515a595902216fa90ed
.travis.yml
.travis.yml
YAML
<|file_sep|>roles/nodejs/vars/main.yml.diff original: nodejs_default_ver: "6.5" updated: nodejs_default_ver: "6.9" <|file_sep|>roles/nodejs/vars/main.yml.diff original: - "0.10" - "0.12" - "4.6" - "6.5" updated: - "6.9" <|file_sep|>roles/nodejs/vars/main.yml.diff original: updated: - "0.10.44" - "0.10.45...
- "0.12.14" - "0.12.15" - "0.12.16" - "0.12.17" - "0.12.18" - "4.6.2" - "4.2.4" - "5.9.1" - "5.10.1" - "5.12.0" - "6.5.0" nodejs_npm_packages: - bower - coffee - coffeelint - cult - eslint - grunt - grunt-cli - gulp - jshint
<|file_sep|>roles/nodejs/vars/main.yml.diff original: nodejs_default_ver: "6.5" updated: nodejs_default_ver: "6.9" <|file_sep|>roles/nodejs/vars/main.yml.diff original: - "0.10" - "0.12" - "4.6" - "6.5" updated: - "6.9" <|file_sep|>roles/nodejs/vars/main.yml.diff original: updated: - "0.10.44" - "0.10.45...
7087cec3d3f6b6a72a001ba9164f0e39c055a6fb
roles/nodejs/vars/main.yml
roles/nodejs/vars/main.yml
YAML
<|file_sep|>original/lingcod/bookmarks/forms.py from lingcod.features.forms import FeatureForm from lingcod.bookmarks.models import Bookmark from django import forms class BookmarkForm(FeatureForm): name = forms.CharField(label='Bookmark Name') latitude = forms.FloatField(widget=forms.HiddenInput()) longit...
from lingcod.features.forms import FeatureForm from lingcod.bookmarks.models import Bookmark from django import forms class BookmarkForm(FeatureForm): name = forms.CharField(label='Bookmark Name') latitude = forms.FloatField(widget=forms.HiddenInput()) longitude = forms.FloatField(widget=forms.HiddenInput(...
<|file_sep|>original/lingcod/bookmarks/forms.py from lingcod.features.forms import FeatureForm from lingcod.bookmarks.models import Bookmark from django import forms class BookmarkForm(FeatureForm): name = forms.CharField(label='Bookmark Name') latitude = forms.FloatField(widget=forms.HiddenInput()) longit...
d84e8b60b0c619feaf529d4ab1eb53ef9e21aae5
lingcod/bookmarks/forms.py
lingcod/bookmarks/forms.py
Python
<|file_sep|>original/phpunit.xml <?xml version="1.0" encoding="UTF-8"?> <phpunit colors="true" bootstrap="vendor/autoload.php"> <testsuites> <testsuite> <directory>tests</directory> </testsuite> </testsuites> <filter> <whitelist processUncoveredFilesFromWhitelist="true"> ...
<?xml version="1.0" encoding="UTF-8"?> <phpunit colors="true" bootstrap="vendor/autoload.php"> <testsuites> <testsuite name="Form tests"> <directory>tests</directory> </testsuite> </testsuites> <filter> <whitelist processUncoveredFilesFromWhitelist="true"> <di...
<|file_sep|>original/phpunit.xml <?xml version="1.0" encoding="UTF-8"?> <phpunit colors="true" bootstrap="vendor/autoload.php"> <testsuites> <testsuite> <directory>tests</directory> </testsuite> </testsuites> <filter> <whitelist processUncoveredFilesFromWhitelist="true"> ...
9cef6ed3368f3695738e9ab766b00bdd6c27dfd6
phpunit.xml
phpunit.xml
XML
<|file_sep|>original/app/views/tags/index.html.haml %div %h2 Tags = render :partial => 'tags/tag', :collection => tags_objects() <|file_sep|>current/app/views/tags/index.html.haml %div %h2 Tags = render :partial => 'tags/tag', :collection => tags_objects() <|file_sep|>updated/app/views/tags/index.html.haml
%div .main.panel.section .header %h2.icon.tags Tags .body .tag-cloud = render :partial => 'tags/tag', :collection => tags_objects() .footer
<|file_sep|>original/app/views/tags/index.html.haml %div %h2 Tags = render :partial => 'tags/tag', :collection => tags_objects() <|file_sep|>current/app/views/tags/index.html.haml %div %h2 Tags = render :partial => 'tags/tag', :collection => tags_objects() <|file_sep|>updated/app/views/tags/index.html.haml %div...
93cb75e77b02fdd1df6db7ca9f6f645a802a9972
app/views/tags/index.html.haml
app/views/tags/index.html.haml
Haml
<|file_sep|>original/source/Glimpse.Core2/SerializationConverter/GlimpseMetadataConverter.cs { public override IDictionary<string, object> Convert(GlimpseRequest request) { return new Dictionary<string, object> { {"clientId", request.Clie...
{ public override IDictionary<string, object> Convert(GlimpseRequest request) { return new Dictionary<string, object> { {"clientId", request.ClientId}, {"dateTime", request.DateTime}, ...
<|file_sep|>original/source/Glimpse.Core2/SerializationConverter/GlimpseMetadataConverter.cs { public override IDictionary<string, object> Convert(GlimpseRequest request) { return new Dictionary<string, object> { {"clientId", request.Clie...
9eca32659c89468f2795a4e43f09cb414ab014eb
source/Glimpse.Core2/SerializationConverter/GlimpseMetadataConverter.cs
source/Glimpse.Core2/SerializationConverter/GlimpseMetadataConverter.cs
C#
<|file_sep|>original/test/src/main/java/at/ac/univie/isc/asio/junit/IsSuperSetOf.java <|file_sep|>current/test/src/main/java/at/ac/univie/isc/asio/junit/IsSuperSetOf.java <|file_sep|>updated/test/src/main/java/at/ac/univie/isc/asio/junit/IsSuperSetOf.java
package at.ac.univie.isc.asio.junit; import com.hp.hpl.jena.rdf.model.Model; import org.hamcrest.Description; import org.hamcrest.TypeSafeMatcher; public final class IsSuperSetOf extends TypeSafeMatcher<Model> { /** * Create a matcher for {@link com.hp.hpl.jena.rdf.model.Model jena rdf models}, matching when the...
<|file_sep|>original/test/src/main/java/at/ac/univie/isc/asio/junit/IsSuperSetOf.java <|file_sep|>current/test/src/main/java/at/ac/univie/isc/asio/junit/IsSuperSetOf.java <|file_sep|>updated/test/src/main/java/at/ac/univie/isc/asio/junit/IsSuperSetOf.java package at.ac.univie.isc.asio.junit; import com.hp.hpl.jena.r...
93eafe595eb26e78d816edb19a29c1a7be88824c
test/src/main/java/at/ac/univie/isc/asio/junit/IsSuperSetOf.java
test/src/main/java/at/ac/univie/isc/asio/junit/IsSuperSetOf.java
Java
<|file_sep|>original/configuration/salt/state/consul/join-all.sls {%- set members = salt['mine.get']('roles:(consul-server|consul-client)', 'network.ip_addrs', 'grain_pcre').values() %} {%- set node_ip = salt['grains.get']('ip4_interfaces')['eth0'] %} {%- set join_members = [] %} {%- for member in members if member[0] ...
{%- salt.saltutil.runner('mine.update', tgt='*') %} {%- set members = salt['mine.get']('roles:(consul-server|consul-client)', 'network.ip_addrs', 'grain_pcre').values() %} {%- set node_ip = salt['grains.get']('ip4_interfaces')['eth0'] %} {%- set join_members = [] %} {%- for member in members if member[0] != node_ip %} ...
<|file_sep|>original/configuration/salt/state/consul/join-all.sls {%- set members = salt['mine.get']('roles:(consul-server|consul-client)', 'network.ip_addrs', 'grain_pcre').values() %} {%- set node_ip = salt['grains.get']('ip4_interfaces')['eth0'] %} {%- set join_members = [] %} {%- for member in members if member[0] ...
71459948ea20b1ac45d7c9edb6da066ab079fc43
configuration/salt/state/consul/join-all.sls
configuration/salt/state/consul/join-all.sls
SaltStack
<|file_sep|>original/lib/dm-types/bcrypt_hash.rb class Property class BCryptHash < String include PassThroughLoadDump length 60 def typecast(value) return value if value.nil? || value.kind_of?(BCrypt::Password) BCrypt::Password.new(value) rescue BCrypt::Errors::InvalidHas...
length 60 def typecast(value) return value if value.nil? || value.kind_of?(BCrypt::Password) BCrypt::Password.new(value) rescue BCrypt::Errors::InvalidHash BCrypt::Password.create(value) end def dump(value) hash = typecast(value) return if hash.ni...
<|file_sep|>original/lib/dm-types/bcrypt_hash.rb class Property class BCryptHash < String include PassThroughLoadDump length 60 def typecast(value) return value if value.nil? || value.kind_of?(BCrypt::Password) BCrypt::Password.new(value) rescue BCrypt::Errors::InvalidHas...
368e2b2de74b08e697db9114b55108c4c636a262
lib/dm-types/bcrypt_hash.rb
lib/dm-types/bcrypt_hash.rb
Ruby
<|file_sep|>.travis.yml.diff original: updated: - gem install xcpretty <|file_sep|>original/.travis.yml language: objective-c osx_image: xcode7.3 before_install: - brew update - brew install carthage || brew upgrade carthage - brew outdated xctool || brew upgrade xctool - carthage bootstrap --platform Mac sc...
language: objective-c osx_image: xcode7.3 before_install: - brew update - brew install carthage || brew upgrade carthage - brew outdated xctool || brew upgrade xctool - gem install xcpretty - carthage bootstrap --platform Mac script: - xcodebuild -project HSTracker.xcodeproj -scheme HSTracker -sdk macosx cl...
<|file_sep|>.travis.yml.diff original: updated: - gem install xcpretty <|file_sep|>original/.travis.yml language: objective-c osx_image: xcode7.3 before_install: - brew update - brew install carthage || brew upgrade carthage - brew outdated xctool || brew upgrade xctool - carthage bootstrap --platform Mac sc...
4f3fe5d898e0f40ef526b7427774f20529c37997
.travis.yml
.travis.yml
YAML
<|file_sep|>tests/harsh_github_status.json.diff original: "url": "/", updated: "url": "/api/status.json", <|file_sep|>tests/harsh_github_status.json.diff original: "response_redirect": "https://status.github.com/" updated: "response_redirect": "https://status.github.com/api/status.json" <|file_s...
"User-Agent": "Smolder smoke test library" }, "expect_status_code": 301, "response_redirect": "https://status.github.com/api/status.json" }, { "name": "Github Status", "protocol": "https", "port": 443, "url": "/api/status.json", "method": "get", "req...
<|file_sep|>tests/harsh_github_status.json.diff original: "url": "/", updated: "url": "/api/status.json", <|file_sep|>tests/harsh_github_status.json.diff original: "response_redirect": "https://status.github.com/" updated: "response_redirect": "https://status.github.com/api/status.json" <|file_s...
4d44fbae20fa16f41705741b508531bde67f1ff8
tests/harsh_github_status.json
tests/harsh_github_status.json
JSON
<|file_sep|>original/src/util/Style.js import React, {Component} from 'react'; import PropTypes from 'prop-types'; import {ROW, COL} from './constants'; const Style = (props) => { const ctx = props.ctx; const gutter = props.gutter / 2; const style = ` .${ctx} .${ROW}:after, .${ctx} .${COL}:after{content:'';d...
import React, {Component} from 'react'; import PropTypes from 'prop-types'; import {ROW, COL} from './constants'; const Style = (props) => { const ctx = props.ctx; const gutter = props.gutter / 2; const style = ` .${ctx} .${ROW}:after, .${ctx} .${COL}:after{content:'';display:block;height:0;visibility:hidden...
<|file_sep|>original/src/util/Style.js import React, {Component} from 'react'; import PropTypes from 'prop-types'; import {ROW, COL} from './constants'; const Style = (props) => { const ctx = props.ctx; const gutter = props.gutter / 2; const style = ` .${ctx} .${ROW}:after, .${ctx} .${COL}:after{content:'';d...
1ac6e2cf86c3343997fb18c971173ef0d1f1c7a2
src/util/Style.js
src/util/Style.js
JavaScript
<|file_sep|>original/src/test/resources/com/akiban/sql/pg/yaml/functional/test-default-funcs.yaml # Test defaults that call functions --- - Properties: sys-mysql - suppressed: true --- - CreateTable: test_defaults (id SERIAL PRIMARY KEY, s VARCHAR(16), u VARCHAR(128) DEFAULT CURRENT_USER, t TIMESTAMP DEFAULT CURRENT_TI...
# Test defaults that call functions --- - Properties: sys-mysql - suppressed: true --- - CreateTable: test_defaults (id SERIAL PRIMARY KEY, s VARCHAR(16), u VARCHAR(128) DEFAULT CURRENT_USER, t TIMESTAMP DEFAULT CURRENT_TIMESTAMP) --- - Statement: INSERT INTO test_defaults(s) VALUES('hello') --- - Statement: SELECT * F...
<|file_sep|>original/src/test/resources/com/akiban/sql/pg/yaml/functional/test-default-funcs.yaml # Test defaults that call functions --- - Properties: sys-mysql - suppressed: true --- - CreateTable: test_defaults (id SERIAL PRIMARY KEY, s VARCHAR(16), u VARCHAR(128) DEFAULT CURRENT_USER, t TIMESTAMP DEFAULT CURRENT_TI...
bdd7e50e62363a10273eb60baad66c59b2a5292a
src/test/resources/com/akiban/sql/pg/yaml/functional/test-default-funcs.yaml
src/test/resources/com/akiban/sql/pg/yaml/functional/test-default-funcs.yaml
YAML
<|file_sep|>original/README.md # JavaScript-Algorithms <|file_sep|>current/README.md # JavaScript-Algorithms <|file_sep|>updated/README.md
# JavaScript-Algorithms [![Build Status](https://travis-ci.org/sularome/JavaScript-Algorithms.svg?branch=master)](https://travis-ci.org/sularome/JavaScript-Algorithms)
<|file_sep|>original/README.md # JavaScript-Algorithms <|file_sep|>current/README.md # JavaScript-Algorithms <|file_sep|>updated/README.md # JavaScript-Algorithms [![Build Status](https://travis-ci.org/sularome/JavaScript-Algorithms.svg?branch=master)](https://travis-ci.org/sularome/JavaScript-Algorithms)
28223c2c0c3af3b5ad54e3b68e6e15c4f9f9556b
README.md
README.md
Markdown
<|file_sep|>original/docs/troubleshooting.md 1. Set DOCKER_TLS in boot2docker VM ```console # ssh to boot2docker from host machine (OSX) boot2docker up boot2docker ssh # add DOCKER_TLS=no sudo vi /var/lib/boot2docker/profile # should only contain DOCKER_TLS=no # exit from boot2docker vm exit # res...
sudo vi /var/lib/boot2docker/profile # should only contain DOCKER_TLS=no # exit from boot2docker vm exit # restart the boot2docker vm boot2docker restart ``` 2. Set the docker environment variables on the host machine ```console eval "$(boot2docker shellinit)" ``` ### Deleting an Empire CloudForma...
<|file_sep|>original/docs/troubleshooting.md 1. Set DOCKER_TLS in boot2docker VM ```console # ssh to boot2docker from host machine (OSX) boot2docker up boot2docker ssh # add DOCKER_TLS=no sudo vi /var/lib/boot2docker/profile # should only contain DOCKER_TLS=no # exit from boot2docker vm exit # res...
12de9153c8b4f4c8f9b6a4b4948332052f914097
docs/troubleshooting.md
docs/troubleshooting.md
Markdown
<|file_sep|>original/content/appointments.md --- description: Book a phone or face-to-face appointment with Pension Wise for personal guidance on your pension pot options. --- # Book a free appointment An appointment is a 45 minute conversation between you and a Pension Wise guidance specialist. You’ll get personal g...
--- description: Book a phone or face-to-face appointment with Pension Wise for personal guidance on your pension pot options. --- # Book a free appointment An appointment is a 45 minute conversation between you and a Pension Wise guidance specialist. You’ll get personal guidance on what you can do with your pension ...
<|file_sep|>original/content/appointments.md --- description: Book a phone or face-to-face appointment with Pension Wise for personal guidance on your pension pot options. --- # Book a free appointment An appointment is a 45 minute conversation between you and a Pension Wise guidance specialist. You’ll get personal g...
609b35f1f6b5c2722bb0c2be7a9969cafb32e60b
content/appointments.md
content/appointments.md
Markdown
<|file_sep|>project.clj.diff original: (defproject useful "0.8.3-alpha3" updated: (defproject useful "0.8.3-alpha4" <|file_sep|>original/project.clj (defproject useful "0.8.3-alpha3" :description "A collection of generally-useful Clojure utility functions" :dependencies [[org.clojure/clojure "1.4.0"] ...
(defproject useful "0.8.3-alpha4" :description "A collection of generally-useful Clojure utility functions" :license {:name "Eclipse Public License - v 1.0" :url "http://www.eclipse.org/legal/epl-v10.html" :distribution :repo} :url "https://github.com/flatland/useful" :dependencies [[org...
<|file_sep|>project.clj.diff original: (defproject useful "0.8.3-alpha3" updated: (defproject useful "0.8.3-alpha4" <|file_sep|>original/project.clj (defproject useful "0.8.3-alpha3" :description "A collection of generally-useful Clojure utility functions" :dependencies [[org.clojure/clojure "1.4.0"] ...
87d725ba56949a1f141b2c3b3cb71010ed8edaf8
project.clj
project.clj
Clojure
<|file_sep|>original/.travis.yml language: ruby cache: bundler: true directories: - spec/dummy bundler_args: --without production development rvm: - "1.9.3" - "2.1" - jruby-19mode before_script: - sh -c '[ -d spec/dummy ] || bundle exec rake test_app' <|file_sep|>current/.travis.yml language: ruby cach...
language: ruby cache: bundler: true directories: - spec/dummy bundler_args: --without="production development" rvm: - "1.9.3" - "2.1" - jruby-19mode before_script: - sh -c '[ -d spec/dummy ] || bundle exec rake test_app'
<|file_sep|>original/.travis.yml language: ruby cache: bundler: true directories: - spec/dummy bundler_args: --without production development rvm: - "1.9.3" - "2.1" - jruby-19mode before_script: - sh -c '[ -d spec/dummy ] || bundle exec rake test_app' <|file_sep|>current/.travis.yml language: ruby cach...
6223a926eafff763f4854e13939d35ed1a485de2
.travis.yml
.travis.yml
YAML
<|file_sep|>.github/ISSUE_TEMPLATE.md.diff original: - *REQUIRED: Add recorded animated gif about how it works currently, and screenshot mockups how it should work* updated: - *REQUIRED: Add recorded animated gif about how it works currently, and screenshot mockups how it should work. Use peek to record animgif in Linu...
## Issue **Server Setup Information**: * Did you test in newest Wekan?: * Wekan version: * If this is about old version of Wekan, what upgrade problem you have?: * Operating System: * Deployment Method(snap/docker/sandstorm/mongodb bundle/source): * Http frontend if any (Caddy, Nginx, Apache, see config examples from...
<|file_sep|>.github/ISSUE_TEMPLATE.md.diff original: - *REQUIRED: Add recorded animated gif about how it works currently, and screenshot mockups how it should work* updated: - *REQUIRED: Add recorded animated gif about how it works currently, and screenshot mockups how it should work. Use peek to record animgif in Linu...
94cd2ce69098f02e4ac4bebb1a2b5eaf919f1020
.github/ISSUE_TEMPLATE.md
.github/ISSUE_TEMPLATE.md
Markdown
<|file_sep|>original/skald/geometry.py # -*- coding: utf-8 -*- from collections import namedtuple Size = namedtuple("Size", ["width", "height"]) Rectangle = namedtuple("Rectangle", ["x0", "y0", "x1", "y1"]) class Point(namedtuple("Point", ["x", "y"])): """Point in a two-dimensional space. Named tuple impleme...
# -*- coding: utf-8 -*- from collections import namedtuple Size = namedtuple("Size", ["width", "height"]) class Rectangle(namedtuple("Rectangle", ["x0", "y0", "x1", "y1"])): def __contains__(self, other): """Check if this rectangle and `other` overlaps eachother. Essentially this is a bit of a ha...
<|file_sep|>original/skald/geometry.py # -*- coding: utf-8 -*- from collections import namedtuple Size = namedtuple("Size", ["width", "height"]) Rectangle = namedtuple("Rectangle", ["x0", "y0", "x1", "y1"]) class Point(namedtuple("Point", ["x", "y"])): """Point in a two-dimensional space. Named tuple impleme...
ced218643784838d68961a926cc0dd18c3a3f01f
skald/geometry.py
skald/geometry.py
Python
<|file_sep|>original/spec/mailers/previews/alert_mailer_preview.rb <|file_sep|>current/spec/mailers/previews/alert_mailer_preview.rb <|file_sep|>updated/spec/mailers/previews/alert_mailer_preview.rb
class AlertMailerPreview < ActionMailer::Preview def alert_email user = User.first broken_scrapers = Scraper.first(2) successful_scrapers = Scraper.last(2) AlertMailer.alert_email(user, broken_scrapers, successful_scrapers) end end
<|file_sep|>original/spec/mailers/previews/alert_mailer_preview.rb <|file_sep|>current/spec/mailers/previews/alert_mailer_preview.rb <|file_sep|>updated/spec/mailers/previews/alert_mailer_preview.rb class AlertMailerPreview < ActionMailer::Preview def alert_email user = User.first broken_scrapers = Scraper....
3c56fb895ebfb50a5f6f0f504c244df4812b941d
spec/mailers/previews/alert_mailer_preview.rb
spec/mailers/previews/alert_mailer_preview.rb
Ruby
<|file_sep|>original/.github/workflows/build-mimiciii-website.yml on: push: branches: - main pull_request: branches: - main jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Setup Hugo uses: peaceiris/actions-hugo@v2 with: ...
push: branches: - main pull_request: branches: - main jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Setup Hugo uses: peaceiris/actions-hugo@v2 with: hugo-version: 'latest' extended: true - name: Build ...
<|file_sep|>original/.github/workflows/build-mimiciii-website.yml on: push: branches: - main pull_request: branches: - main jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Setup Hugo uses: peaceiris/actions-hugo@v2 with: ...
772fadfd10aa61be1a87fce4ccc9166754f9a4f0
.github/workflows/build-mimiciii-website.yml
.github/workflows/build-mimiciii-website.yml
YAML
<|file_sep|>original/app/views/events/_view_buttons.html.erb <div class="btn-group"> <% unless view_object.simple? %> <%= link_to 'Search and explore', event_path(view_object.event), disabled: explore_button_disabled?(view_object.class), class: 'btn btn-sm btn-primary' %> ...
<div class="btn-group"> <% unless view_object.simple? %> <%= link_to 'Search and explore', event_path(view_object.event), disabled: explore_button_disabled?(view_object.class), class: 'btn btn-sm btn-primary' %> <%= link_to 'Full spread', spread_event_path(view_object....
<|file_sep|>original/app/views/events/_view_buttons.html.erb <div class="btn-group"> <% unless view_object.simple? %> <%= link_to 'Search and explore', event_path(view_object.event), disabled: explore_button_disabled?(view_object.class), class: 'btn btn-sm btn-primary' %> ...
b737038fa8aab3990a04a9ebabe39bfc2f036a51
app/views/events/_view_buttons.html.erb
app/views/events/_view_buttons.html.erb
HTML+ERB
<|file_sep|>original/Examples/Test/OrderOnly.hs obj "baz.txt" *> \out -> do let src = obj "bar.txt" orderOnly [src] liftIO $ appendFile out "x" test build obj = do writeFile (obj "bar.in") "in" build ["foo.txt","--sleep"] assertContents (obj "foo.txt") "in" writeFile (obj "...
obj "baz.txt" *> \out -> do let src = obj "bar.txt" orderOnly [src] liftIO $ appendFile out "x" test build obj = do writeFile (obj "bar.in") "in" build ["foo.txt","--sleep"] assertContents (obj "foo.txt") "in" writeFile (obj "bar.in") "out" build ["foo.txt","--sleep"] ...
<|file_sep|>original/Examples/Test/OrderOnly.hs obj "baz.txt" *> \out -> do let src = obj "bar.txt" orderOnly [src] liftIO $ appendFile out "x" test build obj = do writeFile (obj "bar.in") "in" build ["foo.txt","--sleep"] assertContents (obj "foo.txt") "in" writeFile (obj "...
c014459ca2b8b64ba8dd9548ee8ebea4229790c9
Examples/Test/OrderOnly.hs
Examples/Test/OrderOnly.hs
Haskell
<|file_sep|>original/content/Events/contributor-summit/2019-barcelona.md <|file_sep|>current/content/Events/contributor-summit/2019-barcelona.md <|file_sep|>updated/content/Events/contributor-summit/2019-barcelona.md
--- title: Contributor Summit description: Our contributor event during Kubecon weight: 1 --- Join new and current Kubernetes contributors at Contributor Summit Europe 2019 in Barcelona! This is a complimentary event and pre-registration is required. [Register Now](https://events.linuxfoundation.org/events/contributo...
<|file_sep|>original/content/Events/contributor-summit/2019-barcelona.md <|file_sep|>current/content/Events/contributor-summit/2019-barcelona.md <|file_sep|>updated/content/Events/contributor-summit/2019-barcelona.md --- title: Contributor Summit description: Our contributor event during Kubecon weight: 1 --- Join n...
a0b6198564c7a86be4d3fb24aa4be3d5f77ecb1b
content/Events/contributor-summit/2019-barcelona.md
content/Events/contributor-summit/2019-barcelona.md
Markdown
<|file_sep|>original/.github/workflows/python-package.yml branches: [ main ] pull_request: branches: [ main ] jobs: build: runs-on: ubuntu-latest strategy: matrix: python-version: [3.6, 3.7, 3.8, 3.9, 3.10] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ mat...
branches: [ main ] pull_request: branches: [ main ] jobs: build: runs-on: ubuntu-latest strategy: matrix: python-version: ['3.6', '3.7', '3.8', '3.9', '3.10'] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-...
<|file_sep|>original/.github/workflows/python-package.yml branches: [ main ] pull_request: branches: [ main ] jobs: build: runs-on: ubuntu-latest strategy: matrix: python-version: [3.6, 3.7, 3.8, 3.9, 3.10] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ mat...
f549b6d99f3fbc74c16c5e4e4e6927ec58842ee1
.github/workflows/python-package.yml
.github/workflows/python-package.yml
YAML
<|file_sep|>original/country_select.gemspec Gem::Specification.new do |s| s.name = 'country_select' s.version = CountrySelect::VERSION s.authors = ['Stefan Penner'] s.email = ['stefan.penner@gmail.com'] s.homepage = '' s.summary = %q{Country Select Plugin} s.description = %q{Pr...
Gem::Specification.new do |s| s.name = 'country_select' s.version = CountrySelect::VERSION s.authors = ['Stefan Penner'] s.email = ['stefan.penner@gmail.com'] s.homepage = '' s.summary = %q{Country Select Plugin} s.description = %q{Provides a simple helper to get an HTML select...
<|file_sep|>original/country_select.gemspec Gem::Specification.new do |s| s.name = 'country_select' s.version = CountrySelect::VERSION s.authors = ['Stefan Penner'] s.email = ['stefan.penner@gmail.com'] s.homepage = '' s.summary = %q{Country Select Plugin} s.description = %q{Pr...
62cf2d66fce3585d98af4f33c48c6f5acd2b54fb
country_select.gemspec
country_select.gemspec
Ruby
<|file_sep|>README.md.diff original: printf( "Creating %s\n", stream.header.file_name ); file_handle = open( stream.header.file_name, O_WRONLY ); updated: printf( "Creating %s\n", stream.header->file_name ); file_handle = open( stream.header->file_name, O_WRONLY ); <|file_sep|>original/README.md...
if( result < TAR_OK ) { printf( "Error" ); } // Header is available once enough bytes are read in if( stream.header ) { printf( "Creating %s\n", stream.header->file_name ); file_handle = open( stream.header->file_name, O_WRONLY ); } if( stream.avail_out ) { ...
<|file_sep|>README.md.diff original: printf( "Creating %s\n", stream.header.file_name ); file_handle = open( stream.header.file_name, O_WRONLY ); updated: printf( "Creating %s\n", stream.header->file_name ); file_handle = open( stream.header->file_name, O_WRONLY ); <|file_sep|>original/README.md...
190bbe280f36b7738b991aadb92add6e6cd69191
README.md
README.md
Markdown
<|file_sep|>original/source/importers/CSVImporter.js * Import csv archive from Chrome/Chromium/Google/Opera and from other popular browsers * @param {string} archiveCSVPath */ const importFromCSV = archiveCSVPath => { const groupName = path.basename(archiveCSVPath).split(".")[0]; return pify(fs.readFile)(arc...
* Import csv archive from Chrome/Chromium/Google/Opera and from other popular browsers * @param {string} archiveCSVPath */ const importFromCSV = archiveCSVPath => { const groupName = path.basename(archiveCSVPath).split(".")[0]; return pify(fs.readFile)(archiveCSVPath, "utf8").then(contents => { const...
<|file_sep|>original/source/importers/CSVImporter.js * Import csv archive from Chrome/Chromium/Google/Opera and from other popular browsers * @param {string} archiveCSVPath */ const importFromCSV = archiveCSVPath => { const groupName = path.basename(archiveCSVPath).split(".")[0]; return pify(fs.readFile)(arc...
e5686b0d2033a3e6a2ec64a927558b2794edbbea
source/importers/CSVImporter.js
source/importers/CSVImporter.js
JavaScript
<|file_sep|>original/src/main/resources/url-shortcuts/shortcut-url-mapping.csv /nationalsurveyforwales,/surveys/informationforhouseholdsandindividuals/householdandindividualsurveys/nationalsurveyforwales, /arolwgcenedlaetholcymru,/surveys/informationforhouseholdsandindividuals/householdandindividualsurveys/nationalsurv...
/nationalsurveyforwales,/surveys/informationforhouseholdsandindividuals/householdandindividualsurveys/nationalsurveyforwales, /arolwgcenedlaetholcymru,/surveys/informationforhouseholdsandindividuals/householdandindividualsurveys/nationalsurveyforwales,ons_welsh_domain /aes,/surveys/informationforhouseholdsandindividual...
<|file_sep|>original/src/main/resources/url-shortcuts/shortcut-url-mapping.csv /nationalsurveyforwales,/surveys/informationforhouseholdsandindividuals/householdandindividualsurveys/nationalsurveyforwales, /arolwgcenedlaetholcymru,/surveys/informationforhouseholdsandindividuals/householdandindividualsurveys/nationalsurv...
13c46a73855d4f4898abd424ac1937b1a28a5611
src/main/resources/url-shortcuts/shortcut-url-mapping.csv
src/main/resources/url-shortcuts/shortcut-url-mapping.csv
CSV
<|file_sep|>original/107.BinaryTreeLevelOrderTraversal2/README.md <|file_sep|>current/107.BinaryTreeLevelOrderTraversal2/README.md <|file_sep|>updated/107.BinaryTreeLevelOrderTraversal2/README.md
# 107. Binary Tree Level Order Traversal 2 ## 题目说明 给定一个二叉树,返回自底向上的层序遍历的结果。(原来的1是自顶向下) ## 思路 还是用一个`LinkedList<LinkedList<Integer>>`, 也还是创建一个`makeLevels(List<List<Integer>> list, TreeNode root, int level)`方法。 如果传进来的节点为空,则当前方法结束。如果外层list的元素数量不超过level,表示需要新加一层,创建一个`LinkedList<Integer>`并加入到**头部**。 接下来还有更重要的和之前不同的是: **先...
<|file_sep|>original/107.BinaryTreeLevelOrderTraversal2/README.md <|file_sep|>current/107.BinaryTreeLevelOrderTraversal2/README.md <|file_sep|>updated/107.BinaryTreeLevelOrderTraversal2/README.md # 107. Binary Tree Level Order Traversal 2 ## 题目说明 给定一个二叉树,返回自底向上的层序遍历的结果。(原来的1是自顶向下) ## 思路 还是用一个`LinkedList<LinkedList<...
0483f4e71e5e39dca6a7b2ec899a717b742f0741
107.BinaryTreeLevelOrderTraversal2/README.md
107.BinaryTreeLevelOrderTraversal2/README.md
Markdown
<|file_sep|>server/handle_supervisor.sh.diff original: mkdir -p $data_dir/robots updated: <|file_sep|>server/handle_supervisor.sh.diff original: updated: mkdir -p $data_dir/{robots,message_queues/$supervisor_uuid} <|file_sep|>original/server/handle_supervisor.sh function handle_line () { receive han...
function main () { supervisor_uuid=$(uuidgen) mkdir -p $data_dir/{robots,message_queues/$supervisor_uuid} send $(uuidgen) welcome $supervisor_uuid while true do if read -t 0 then handle_line else flush_message_queue $data_dir/message_queues/$supervi...
<|file_sep|>server/handle_supervisor.sh.diff original: mkdir -p $data_dir/robots updated: <|file_sep|>server/handle_supervisor.sh.diff original: updated: mkdir -p $data_dir/{robots,message_queues/$supervisor_uuid} <|file_sep|>original/server/handle_supervisor.sh function handle_line () { receive han...
f6254d5623ea6654c40774268cb0ca69facdb551
server/handle_supervisor.sh
server/handle_supervisor.sh
Shell
<|file_sep|>spec/requests/api/config_spec.rb.diff original: updated: keys = [:collection_actions, :resource_actions] <|file_sep|>original/spec/requests/api/config_spec.rb expect(actual).to eq(expected) end describe 'identifiers' do let(:miq_product_features) { MiqProductFeature.seed.valu...
expect(actual).to eq(expected) end describe 'identifiers' do let(:miq_product_features) { MiqProductFeature.seed.values.flatten.to_set } let(:api_feature_identifiers) do collection_settings.each_with_object(Set.new) do |(_, cfg), set| set.add(cfg[:identifier]) if cfg[:identi...
<|file_sep|>spec/requests/api/config_spec.rb.diff original: updated: keys = [:collection_actions, :resource_actions] <|file_sep|>original/spec/requests/api/config_spec.rb expect(actual).to eq(expected) end describe 'identifiers' do let(:miq_product_features) { MiqProductFeature.seed.valu...
7b1fcf47676254037ef1648671b4b42b77a4ffd0
spec/requests/api/config_spec.rb
spec/requests/api/config_spec.rb
Ruby
<|file_sep|>src/components/StoreProvider.ts.diff original: updated: } <|file_sep|>original/src/components/StoreProvider.ts store: AppStore; constructor(props: SpecProps) { super(props); this.state = { loading: true, }; this.load(); } async load() { let { specUrl, spec } = this.p...
store: AppStore; constructor(props: SpecProps) { super(props); this.state = { loading: true, }; } componentDidMount() { this.load(); } async load() { let { specUrl, spec } = this.props; this.setState({ loading: true, });
<|file_sep|>src/components/StoreProvider.ts.diff original: updated: } <|file_sep|>original/src/components/StoreProvider.ts store: AppStore; constructor(props: SpecProps) { super(props); this.state = { loading: true, }; this.load(); } async load() { let { specUrl, spec } = this.p...
092d488a7445b691ab61d337650a9f6e0ad09a04
src/components/StoreProvider.ts
src/components/StoreProvider.ts
TypeScript
<|file_sep|>original/addons/storysource/package.json "jsnext:main": "src/index.js", "repository": { "type": "git", "url": "https://github.com/storybooks/storybook.git" }, "scripts": { "prepare": "node ../../scripts/prepare.js" }, "dependencies": { "@storybook/components": "^3.4.0-alpha.9", ...
"jsnext:main": "src/index.js", "repository": { "type": "git", "url": "https://github.com/storybooks/storybook.git" }, "scripts": { "prepare": "node ../../scripts/prepare.js" }, "dependencies": { "@storybook/components": "^3.4.0-alpha.9", "acorn": "^5.5.1", "acorn-es7": "^0.1.0", ...
<|file_sep|>original/addons/storysource/package.json "jsnext:main": "src/index.js", "repository": { "type": "git", "url": "https://github.com/storybooks/storybook.git" }, "scripts": { "prepare": "node ../../scripts/prepare.js" }, "dependencies": { "@storybook/components": "^3.4.0-alpha.9", ...
a90f4e68216c15be78eadbc221aaa6cb1d045b98
addons/storysource/package.json
addons/storysource/package.json
JSON
<|file_sep|>metadata/com.trianguloy.urlchecker.yml.diff original: updated: - versionName: '2.1' versionCode: 9 commit: 226e32052bda45b3f189e924ecce0a85b97fe854 subdir: app sudo: - apt-get update || apt-get update - apt-get install -y openjdk-11-jdk-headless - update-alternatives --a...
- apt-get update || apt-get update - apt-get install -y openjdk-11-jdk-headless - update-alternatives --auto java gradle: - yes - versionName: '2.1' versionCode: 9 commit: 226e32052bda45b3f189e924ecce0a85b97fe854 subdir: app sudo: - apt-get update || apt-get update ...
<|file_sep|>metadata/com.trianguloy.urlchecker.yml.diff original: updated: - versionName: '2.1' versionCode: 9 commit: 226e32052bda45b3f189e924ecce0a85b97fe854 subdir: app sudo: - apt-get update || apt-get update - apt-get install -y openjdk-11-jdk-headless - update-alternatives --a...
b52e4226652e70ea7a9ba7cae6b5fa9541aae223
metadata/com.trianguloy.urlchecker.yml
metadata/com.trianguloy.urlchecker.yml
YAML
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - '0.10' - '0.12' - '4' - '5' branches: only: - master - travis-ci before_install: - npm install - npm install istanbul coveralls <|file_sep|>current/.travis.yml sudo: false language: node_js node_js: - '0.10' - '0.1...
sudo: false language: node_js node_js: - '0.10' - '0.12' - '4' - '5' - '6' branches: only: - master - travis-ci before_install: - npm install - npm install istanbul coveralls
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - '0.10' - '0.12' - '4' - '5' branches: only: - master - travis-ci before_install: - npm install - npm install istanbul coveralls <|file_sep|>current/.travis.yml sudo: false language: node_js node_js: - '0.10' - '0.1...
a58c5fc5b8dd6b168e188847af9fd2982472b66d
.travis.yml
.travis.yml
YAML
<|file_sep|>jedai-core/src/test/java/DataReader/TestEntityCSVReader.java.diff original: String filePath = "C:\\Users\\G.A.P. II\\Downloads\\cd.csv"; updated: String filePath = "C:/Users/Manos/workspaceMars/JedAIgitFinal/JedAIgitFinal/datasets/converter/DBLP2.csv"; <|file_sep|>original/jedai-core/src/tes...
public class TestEntityCSVReader { public static void main(String[] args) { String filePath = "C:/Users/Manos/workspaceMars/JedAIgitFinal/JedAIgitFinal/datasets/converter/DBLP2.csv"; EntityCSVReader csvReader = new EntityCSVReader(filePath); csvReader.setAttributeNamesInFirstRow(true); ...
<|file_sep|>jedai-core/src/test/java/DataReader/TestEntityCSVReader.java.diff original: String filePath = "C:\\Users\\G.A.P. II\\Downloads\\cd.csv"; updated: String filePath = "C:/Users/Manos/workspaceMars/JedAIgitFinal/JedAIgitFinal/datasets/converter/DBLP2.csv"; <|file_sep|>original/jedai-core/src/tes...
921845336a54f4aa2d21b6ec3c4ed38c89c9888c
jedai-core/src/test/java/DataReader/TestEntityCSVReader.java
jedai-core/src/test/java/DataReader/TestEntityCSVReader.java
Java
<|file_sep|>original/kurento-integration-tests/kurento-sanity-test/src/test/java/org/kurento/test/sanity/KurentoJsReleaseTest.java /** * Sanity test for kurento-js releases. * * @author Boni Garcia (bgarcia@gsyc.es) * @since 4.2.5 */ public class KurentoJsReleaseTest extends KurentoJsBase { public KurentoJsRele...
/** * Sanity test for kurento-js releases. * * @author Boni Garcia (bgarcia@gsyc.es) * @since 4.2.5 */ public class KurentoJsReleaseTest extends KurentoJsBase { public KurentoJsReleaseTest() { kurentoUrl = getProperty("bower.release.url", DEFAULT_KURENTO_JS_URL); log.debug("kurentoUrl = {}", kurentoUrl); ...
<|file_sep|>original/kurento-integration-tests/kurento-sanity-test/src/test/java/org/kurento/test/sanity/KurentoJsReleaseTest.java /** * Sanity test for kurento-js releases. * * @author Boni Garcia (bgarcia@gsyc.es) * @since 4.2.5 */ public class KurentoJsReleaseTest extends KurentoJsBase { public KurentoJsRele...
f42bf4f7562c88228e0d08cd4ebfc1fde60f7ef5
kurento-integration-tests/kurento-sanity-test/src/test/java/org/kurento/test/sanity/KurentoJsReleaseTest.java
kurento-integration-tests/kurento-sanity-test/src/test/java/org/kurento/test/sanity/KurentoJsReleaseTest.java
Java
<|file_sep|>original/CONTRIBUTING.md Cf [Contribute page](http://doc.openfisca.fr/contribute/) in the [documentation of OpenFisca](http://doc.openfisca.fr/). <|file_sep|>current/CONTRIBUTING.md Cf [Contribute page](http://doc.openfisca.fr/contribute/) in the [documentation of OpenFisca](http://doc.openfisca.fr/). <|fil...
Please read the [contributor guidelines](http://doc.openfisca.fr/en/contribute/guidelines.html).
<|file_sep|>original/CONTRIBUTING.md Cf [Contribute page](http://doc.openfisca.fr/contribute/) in the [documentation of OpenFisca](http://doc.openfisca.fr/). <|file_sep|>current/CONTRIBUTING.md Cf [Contribute page](http://doc.openfisca.fr/contribute/) in the [documentation of OpenFisca](http://doc.openfisca.fr/). <|fil...
7bf2cc1bdbc669d27a55bcea104b75e5b0d13870
CONTRIBUTING.md
CONTRIBUTING.md
Markdown
<|file_sep|>original/updatecertificate.sh SOURCE="$(readlink "$SOURCE")" [[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located done DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" domainsParameter="" while r...
SOURCE="$(readlink "$SOURCE")" [[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located done DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" domainsParameter="" while read domain; do domainsParameter="${domain...
<|file_sep|>original/updatecertificate.sh SOURCE="$(readlink "$SOURCE")" [[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located done DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" domainsParameter="" while r...
5340ffe0c0b31b061542d3fcfdb7e35fa8e9e376
updatecertificate.sh
updatecertificate.sh
Shell
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" before_script: - npm install -g gulp after_script: - codeclimate-test-reporter < coverage/lcov.info addons: code_climate: repo_token: 045aea859e723a498326f2961cff69126d785d69e888fa869ce4bebfbb0f6143 <|file_sep|>current/.travis.yml la...
language: node_js node_js: - "0.10" before_script: - npm install -g gulp codeclimate-test-reporter after_script: - codeclimate-test-reporter < coverage/lcov.info addons: code_climate: repo_token: 045aea859e723a498326f2961cff69126d785d69e888fa869ce4bebfbb0f6143
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" before_script: - npm install -g gulp after_script: - codeclimate-test-reporter < coverage/lcov.info addons: code_climate: repo_token: 045aea859e723a498326f2961cff69126d785d69e888fa869ce4bebfbb0f6143 <|file_sep|>current/.travis.yml la...
5cf91746ea33ef5c43bb568a2d4497dc0934451a
.travis.yml
.travis.yml
YAML
<|file_sep|>src/main/java/me/coley/recaf/decompile/Decompiler.java.diff original: import java.util.Map; updated: import java.util.*; <|file_sep|>original/src/main/java/me/coley/recaf/decompile/Decompiler.java import me.coley.recaf.workspace.Workspace; import java.util.Map; /** * Decompiler base. * * @author Matt. ...
import me.coley.recaf.workspace.Workspace; import java.util.*; /** * Decompiler base. * * @author Matt. */ public abstract class Decompiler<OptionType> { private final Map<String, OptionType> defaultOptions = Collections.unmodifiableMap(generateDefaultOptions()); private Map<String, OptionType> options = new Ha...
<|file_sep|>src/main/java/me/coley/recaf/decompile/Decompiler.java.diff original: import java.util.Map; updated: import java.util.*; <|file_sep|>original/src/main/java/me/coley/recaf/decompile/Decompiler.java import me.coley.recaf.workspace.Workspace; import java.util.Map; /** * Decompiler base. * * @author Matt. ...
5719b3bc80be0c71c1fc008b15e19ef44485049f
src/main/java/me/coley/recaf/decompile/Decompiler.java
src/main/java/me/coley/recaf/decompile/Decompiler.java
Java
<|file_sep|>ruby/scrabble-score/scrabble_score.rb.diff original: points += CHAR_POINTS[char] updated: points += TILE_POINTS[char] <|file_sep|>ruby/scrabble-score/scrabble_score.rb.diff original: points = 0 word.each_char do |char| points += CHAR_POINTS[char] end points updated: new...
end def self.score(word) new(word).score end def word_invalid word.nil? || word == '' || word == " \t\n" end TILE_POINTS = { 'a' => 1, 'b' => 3, 'c' => 3, 'd' => 2, 'e' => 1, 'f' => 4, 'g' => 2, 'h' => 4, 'i' => 1, 'j' => 8,
<|file_sep|>ruby/scrabble-score/scrabble_score.rb.diff original: points += CHAR_POINTS[char] updated: points += TILE_POINTS[char] <|file_sep|>ruby/scrabble-score/scrabble_score.rb.diff original: points = 0 word.each_char do |char| points += CHAR_POINTS[char] end points updated: new...
123a1f73696f74b136f84c68244e908b85a82f9a
ruby/scrabble-score/scrabble_score.rb
ruby/scrabble-score/scrabble_score.rb
Ruby
<|file_sep|>node_modules/pause/index.js.diff original: updated: module.exports = function(obj){ <|file_sep|>node_modules/pause/index.js.diff original: module.exports = function(obj){ var onData updated: var onClose , onData <|file_sep|>node_modules/pause/index.js.diff original: updated: // buffer close ob...
}); // buffer close obj.on('close', onClose = function(d){ events.push(['close']); }); return { end: function(){ obj.removeListener('data', onData); obj.removeListener('end', onEnd); obj.removeListener('close', onClose); }, resume: function(){ this.end(); for (v...
<|file_sep|>node_modules/pause/index.js.diff original: updated: module.exports = function(obj){ <|file_sep|>node_modules/pause/index.js.diff original: module.exports = function(obj){ var onData updated: var onClose , onData <|file_sep|>node_modules/pause/index.js.diff original: updated: // buffer close ob...
88bfed81c3722bbcfdfdf3914d7ff397daa9deab
node_modules/pause/index.js
node_modules/pause/index.js
JavaScript
<|file_sep|>original/lib/hearthstone_json.rb require 'httparty' class HearthstoneJSON include HTTParty API_URL_BASE = 'https://api.hearthstonejson.com'.freeze API_VER = 'v1'.freeze def initialize(data_ver = 'latest', locale = 'enUS') self.class.base_uri "#{API_URL_BASE}/#{API_VER}/#{data_ver}...
class HearthstoneJSON include HTTParty API_URL_BASE = 'https://api.hearthstonejson.com'.freeze API_VER = 'v1'.freeze def initialize(data_ver = 'latest', locale = 'enUS') self.class.base_uri "#{API_URL_BASE}/#{API_VER}/#{data_ver}/#{locale}" end def self.get_json(_path, _options = {}) ...
<|file_sep|>original/lib/hearthstone_json.rb require 'httparty' class HearthstoneJSON include HTTParty API_URL_BASE = 'https://api.hearthstonejson.com'.freeze API_VER = 'v1'.freeze def initialize(data_ver = 'latest', locale = 'enUS') self.class.base_uri "#{API_URL_BASE}/#{API_VER}/#{data_ver}...
2acf9a6380e737401f8f0fd32f520080ed56a82e
lib/hearthstone_json.rb
lib/hearthstone_json.rb
Ruby
<|file_sep|>original/test_runner/executable.py from .environments import Environment from .frameworks import Tempest from .utils import cleanup, Reporter LOG = Reporter(__name__).setup() def main(endpoint, username='admin', password='secrete', test_path='api'): environment = Environment(username, password, endp...
import argh from .environments import Environment from .frameworks import Tempest from .utils import cleanup, Reporter LOG = Reporter(__name__).setup() def main(endpoint, username='admin', password='secrete', test_path='api'): environment = Environment(username, password, endpoint) with cleanup(environment...
<|file_sep|>original/test_runner/executable.py from .environments import Environment from .frameworks import Tempest from .utils import cleanup, Reporter LOG = Reporter(__name__).setup() def main(endpoint, username='admin', password='secrete', test_path='api'): environment = Environment(username, password, endp...
281a096cea735845bdb74d60abf14f1422f2c624
test_runner/executable.py
test_runner/executable.py
Python
<|file_sep|>original/src/com/christofferklang/pyxl/PyxlTokenSetContributor.java <|file_sep|>current/src/com/christofferklang/pyxl/PyxlTokenSetContributor.java <|file_sep|>updated/src/com/christofferklang/pyxl/PyxlTokenSetContributor.java
package com.christofferklang.pyxl; import com.intellij.psi.tree.TokenSet; import com.jetbrains.python.PythonDialectsTokenSetContributor; import com.jetbrains.python.PythonTokenSetContributor; import org.jetbrains.annotations.NotNull; public class PyxlTokenSetContributor extends PythonTokenSetContributor { @NotNul...
<|file_sep|>original/src/com/christofferklang/pyxl/PyxlTokenSetContributor.java <|file_sep|>current/src/com/christofferklang/pyxl/PyxlTokenSetContributor.java <|file_sep|>updated/src/com/christofferklang/pyxl/PyxlTokenSetContributor.java package com.christofferklang.pyxl; import com.intellij.psi.tree.TokenSet; impor...
1c0cf011efd03740860ead54b2edc22c79697b0a
src/com/christofferklang/pyxl/PyxlTokenSetContributor.java
src/com/christofferklang/pyxl/PyxlTokenSetContributor.java
Java
<|file_sep|>original/app/assets/stylesheets/globals/_settings.sass $menu-bg-color: $secondary-color // Responsive $menu-breakpoint-one: 1210px $menu-breakpoint-two: 984px $menu-breakpoint-three: 480px $menu-breakpoint-four: 320px // Nprogress transitions $nprogress-color: $secondary-color $nprogress-height: 2px $npro...
$menu-bg-color: $secondary-color // Responsive $menu-breakpoint-one: 1210px $menu-breakpoint-two: 984px $menu-breakpoint-three: 480px $menu-breakpoint-four: 320px // Nprogress transitions $nprogress-color: $secondary-color $nprogress-height: 5px $nprogress-zindex: 10100 // logo $logo_width: 200px // Footer $footer-...
<|file_sep|>original/app/assets/stylesheets/globals/_settings.sass $menu-bg-color: $secondary-color // Responsive $menu-breakpoint-one: 1210px $menu-breakpoint-two: 984px $menu-breakpoint-three: 480px $menu-breakpoint-four: 320px // Nprogress transitions $nprogress-color: $secondary-color $nprogress-height: 2px $npro...
4f5252b5d315d25a3d84caa0b69b89b318ed3c5d
app/assets/stylesheets/globals/_settings.sass
app/assets/stylesheets/globals/_settings.sass
Sass
<|file_sep|>original/.github/workflows/clean-test.yml <|file_sep|>current/.github/workflows/clean-test.yml <|file_sep|>updated/.github/workflows/clean-test.yml
name: Clean PR checks on: workflow_dispatch: inputs: pr: description: PR to be cleaned required: true checks: description: Checks to be cleaned required: true default: 'build/O2/o2,build/AliceO2/O2/o2/macOS,build/O2/fullCI' owner: description: Orga...
<|file_sep|>original/.github/workflows/clean-test.yml <|file_sep|>current/.github/workflows/clean-test.yml <|file_sep|>updated/.github/workflows/clean-test.yml name: Clean PR checks on: workflow_dispatch: inputs: pr: description: PR to be cleaned required: true checks: descri...
46fda0aa877342ece50b9b47f97fd86df7e9f594
.github/workflows/clean-test.yml
.github/workflows/clean-test.yml
YAML
<|file_sep|>original/docs/bundles/SyliusGridBundle/index.rst ================ Displaying a grid with sorting and filtering options is a common task for many web applications. This bundle integrates the Sylius Grid component with the Symfony framework and allows you to display grids really easily. Some of the features...
================ Displaying a grid with sorting and filtering options is a common task for many web applications. This bundle integrates the Sylius Grid component with the Symfony framework and allows you to display grids really easily. Some of the features worth mentioning: * Uses YAML to define the grid structure ...
<|file_sep|>original/docs/bundles/SyliusGridBundle/index.rst ================ Displaying a grid with sorting and filtering options is a common task for many web applications. This bundle integrates the Sylius Grid component with the Symfony framework and allows you to display grids really easily. Some of the features...
e437c063ea6da07bca66da20352d42c1b940d15b
docs/bundles/SyliusGridBundle/index.rst
docs/bundles/SyliusGridBundle/index.rst
reStructuredText
<|file_sep|>original/composer.json "authors": [ { "name": "jg", "email": "joao@byjg.com.br" } ], "minimum-stability": "dev", "prefer-stable": true, "require": { "byjg/anydataset-db": "4.0.*", "byjg/uri": "^1.0", "ext-pdo": "*" }, "require-dev": { "phpunit/phpunit": "5.7...
"authors": [ { "name": "jg", "email": "joao@byjg.com.br" } ], "minimum-stability": "dev", "prefer-stable": true, "require": { "byjg/anydataset-db": "4.0.*", "ext-pdo": "*" }, "require-dev": { "phpunit/phpunit": "5.7.*|7.4.*" }, "autoload": { "psr-4": { "ByJG\\...
<|file_sep|>original/composer.json "authors": [ { "name": "jg", "email": "joao@byjg.com.br" } ], "minimum-stability": "dev", "prefer-stable": true, "require": { "byjg/anydataset-db": "4.0.*", "byjg/uri": "^1.0", "ext-pdo": "*" }, "require-dev": { "phpunit/phpunit": "5.7...
e1e2c12bebabe6a35d238e8bfff7e82f9f1e6cfd
composer.json
composer.json
JSON
<|file_sep|>original/README.md # Todo ##### Todo lists to play around with React, Elm, Redux, Reframe, and Fulcro. ## See it live - [React Todo](https://react.todo.keigo.io/). - [Elm Todo](https://elm.todo.keigo.io/). - [Redux Todo](https://redux.todo.keigo.io/). ## React - For local development, in the `react-todo`...
# Todo ##### Todo lists to play around with React, Elm, Redux, Reframe, and Fulcro. ## See it live - [React Todo](https://react.todo.keigo.io/). - [Elm Todo](https://elm.todo.keigo.io/). - [Redux Todo](https://redux.todo.keigo.io/). - [Re-Frame Todo](https://re-frame.todo.keigo.io/). ## React - For local development...
<|file_sep|>original/README.md # Todo ##### Todo lists to play around with React, Elm, Redux, Reframe, and Fulcro. ## See it live - [React Todo](https://react.todo.keigo.io/). - [Elm Todo](https://elm.todo.keigo.io/). - [Redux Todo](https://redux.todo.keigo.io/). ## React - For local development, in the `react-todo`...
03a92d0cc2a85c914f9d6c160b24bc980ae7bdc8
README.md
README.md
Markdown
<|file_sep|>original/vendor/assets/javascripts/gistyle.js GIStyle = { exec: function( controller, action ) { var ns = APP, action = ( action === undefined ) ? "init" : action; if ( controller !== "" && ns[controller] && typeof ns[controller][action] == "function" ) { ns[controller][action](); } ...
exec: function( controller, action ) { var ns = APP, action = ( action === undefined ) ? "init" : action; if ( controller !== "" && ns[controller] && typeof ns[controller][action] == "function" ) { ns[controller][action](); } }, init: function() { var body = document.body, contro...
<|file_sep|>original/vendor/assets/javascripts/gistyle.js GIStyle = { exec: function( controller, action ) { var ns = APP, action = ( action === undefined ) ? "init" : action; if ( controller !== "" && ns[controller] && typeof ns[controller][action] == "function" ) { ns[controller][action](); } ...
a29b6513751347b51ffe2873c1c73bd7e4ea63b4
vendor/assets/javascripts/gistyle.js
vendor/assets/javascripts/gistyle.js
JavaScript
<|file_sep|>.travis.yml.diff original: updated: dist: xenial <|file_sep|>.travis.yml.diff original: - "pypy3" updated: - "pypy3.5-6.0" <|file_sep|>.travis.yml.diff original: dist: xenial sudo: true updated: <|file_sep|>original/.travis.yml - DJANGO="2.1" matrix: include: - python: 2.7 en...
env: - DJANGO="1.11" - DJANGO="2.0" - DJANGO="2.1" matrix: include: - python: 2.7 env: DJANGO="1.11" - python: 3.7 env: DJANGO="2.0" - python: 3.7 env: DJANGO="2.1" branches: only: - master install: - ./.travis_setup script: - tox -- --cov after_success: coveralls
<|file_sep|>.travis.yml.diff original: updated: dist: xenial <|file_sep|>.travis.yml.diff original: - "pypy3" updated: - "pypy3.5-6.0" <|file_sep|>.travis.yml.diff original: dist: xenial sudo: true updated: <|file_sep|>original/.travis.yml - DJANGO="2.1" matrix: include: - python: 2.7 en...
1fffe54c4be9ba3a3754a7fcb6baf7e0b8df78eb
.travis.yml
.travis.yml
YAML
<|file_sep|>original/build.yaml repositories: remote: - http://repo.fire.dse.vic.gov.au/content/groups/fisg - http://repo1.maven.org/maven2 artifacts: spice_cli: spice:spice-cli:jar:1.0 postgresql: postgresql:postgresql:jar:9.1-901.jdbc4 jtds: net.sourceforge.jtds:jtds:jar:1.2.7 json: org.json:json:jar...
repositories: remote: - http://repo1.maven.org/maven2 artifacts: spice_cli: spice:spice-cli:jar:1.0 postgresql: postgresql:postgresql:jar:9.1-901.jdbc4 jtds: net.sourceforge.jtds:jtds:jar:1.2.7 json: org.json:json:jar:20090211
<|file_sep|>original/build.yaml repositories: remote: - http://repo.fire.dse.vic.gov.au/content/groups/fisg - http://repo1.maven.org/maven2 artifacts: spice_cli: spice:spice-cli:jar:1.0 postgresql: postgresql:postgresql:jar:9.1-901.jdbc4 jtds: net.sourceforge.jtds:jtds:jar:1.2.7 json: org.json:json:jar...
0772f7dc7c30f827862a67d1fd73c374846aa77d
build.yaml
build.yaml
YAML
<|file_sep|>package.json.diff original: "version": "0.1.4", updated: "version": "0.1.5", <|file_sep|>original/package.json "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [ "echo", "server", "echo-server", "http", "https" ], "author": "Marshall Ham...
"scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [ "echo", "server", "echo-server", "http", "https" ], "author": "Marshall Hampson", "license": "MIT", "dependencies": { "prettyjson": "https://github.com/mrhampson/prettyjson.git#feature-platform-...
<|file_sep|>package.json.diff original: "version": "0.1.4", updated: "version": "0.1.5", <|file_sep|>original/package.json "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [ "echo", "server", "echo-server", "http", "https" ], "author": "Marshall Ham...
2409fe03afe87fe12b68c4373f5c08eb299ed910
package.json
package.json
JSON
<|file_sep|>original/config-kopete.h.cmake /* Define if you have valgrind.h installed */ #cmakedefine HAVE_VALGRIND_H 1 /* Define if you have xmms libraries and header files. */ #cmakedefine HAVE_XMMS 1 /* Define to compile with GSM SMS support */ /* #undef INCLUDE_SMSGSM */ /* TODO */ /* #undef HAVE_XSHM */ /* De...
/* Define if you have valgrind.h installed */ #cmakedefine HAVE_VALGRIND_H 1 /* Define if you have xmms libraries and header files. */ #cmakedefine HAVE_XMMS 1 /* Define to compile with GSM SMS support */ /* #undef INCLUDE_SMSGSM */ /* Define to 1 if you have the <inttypes.h> header file. */ #cmakedefine HAVE_INTTY...
<|file_sep|>original/config-kopete.h.cmake /* Define if you have valgrind.h installed */ #cmakedefine HAVE_VALGRIND_H 1 /* Define if you have xmms libraries and header files. */ #cmakedefine HAVE_XMMS 1 /* Define to compile with GSM SMS support */ /* #undef INCLUDE_SMSGSM */ /* TODO */ /* #undef HAVE_XSHM */ /* De...
3ec769a9ea62af6a45d009f109794654f3880f93
config-kopete.h.cmake
config-kopete.h.cmake
CMake
<|file_sep|>original/Common/DataModel/module.cmake vtk_module(vtkCommonDataModel DEPENDS vtkCommonSystem vtkCommonMath vtkCommonMisc vtkCommonTransforms PRIVATE_DEPENDS vtksys TEST_DEPENDS vtkTestingCore vtkTestingRendering vtkInteractionStyle vtkCommonExecutionModel vtkFil...
vtk_module(vtkCommonDataModel GROUPS StandAlone DEPENDS vtkCommonSystem vtkCommonMath vtkCommonMisc vtkCommonTransforms PRIVATE_DEPENDS vtksys TEST_DEPENDS vtkTestingCore vtkTestingRendering vtkInteractionStyle vtkCommonExecutionModel vtkFiltersGeneric vtkFiltersM...
<|file_sep|>original/Common/DataModel/module.cmake vtk_module(vtkCommonDataModel DEPENDS vtkCommonSystem vtkCommonMath vtkCommonMisc vtkCommonTransforms PRIVATE_DEPENDS vtksys TEST_DEPENDS vtkTestingCore vtkTestingRendering vtkInteractionStyle vtkCommonExecutionModel vtkFil...
f05153671f99ecad5f360861ab7ee41ad5bbc97c
Common/DataModel/module.cmake
Common/DataModel/module.cmake
CMake
<|file_sep|>.travis.yml.diff original: LIBSODIUM_MIRROR="https://github.com/jedisct1/libsodium/tarball/%s" LIBSODIUM_VERSION="master" # - > # LIBSODIUM_MIRROR="http://download.dnscrypt.org/libsodium/releases/libsodium-%s.tar.gz" # LIBSODIUM_VERSION=0.4.1 # LIBSODIUM_DIGEST=65756c7832950401cc0e...
- ree - jruby-18mode - jruby-19mode - jruby-head - rbx-18mode - rbx-19mode matrix: include: - rvm: 2.0.0 env: > LIBSODIUM_MIRROR="https://github.com/jedisct1/libsodium/tarball/%s" LIBSODIUM_VERSION="master" allow_failures: - rvm: ruby-head - rvm: jruby-head - rvm:...
<|file_sep|>.travis.yml.diff original: LIBSODIUM_MIRROR="https://github.com/jedisct1/libsodium/tarball/%s" LIBSODIUM_VERSION="master" # - > # LIBSODIUM_MIRROR="http://download.dnscrypt.org/libsodium/releases/libsodium-%s.tar.gz" # LIBSODIUM_VERSION=0.4.1 # LIBSODIUM_DIGEST=65756c7832950401cc0e...
c003678565dede9c5c6f02023c860d282cd126eb
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/parser/warrior/protection/modules/features/AlwaysBeCasting.tsx import React from 'react'; import { formatPercentage } from 'common/format'; import CoreAlwaysBeCasting from 'parser/shared/modules/AlwaysBeCasting'; import { When } from 'parser/core/ParseResults'; class AlwaysBeCasting extends Co...
import React from 'react'; import { formatPercentage } from 'common/format'; import CoreAlwaysBeCasting from 'parser/shared/modules/AlwaysBeCasting'; import { When } from 'parser/core/ParseResults'; class AlwaysBeCasting extends CoreAlwaysBeCasting { suggestions(when: When) { const deadTimePercentage = this.tota...
<|file_sep|>original/src/parser/warrior/protection/modules/features/AlwaysBeCasting.tsx import React from 'react'; import { formatPercentage } from 'common/format'; import CoreAlwaysBeCasting from 'parser/shared/modules/AlwaysBeCasting'; import { When } from 'parser/core/ParseResults'; class AlwaysBeCasting extends Co...
cad9294821828288ee00721c3e371be58e633b9e
src/parser/warrior/protection/modules/features/AlwaysBeCasting.tsx
src/parser/warrior/protection/modules/features/AlwaysBeCasting.tsx
TypeScript
<|file_sep|>original/wrappers/setup.sh # Most of the time, the default libtool is what we want if [[ -x "$(type -P libtool)" ]]; then export LIBTOOL=$(type -P libtool) fi # On OS X, if Homebrew is used, libtool is installed as glibtool if [[ "$(uname -s)" = "Darwin" && -x "$(type -P glibtool)" ]]; then export LIB...
export LIBTOOL=$(type -P libtool) fi # On OS X, if Homebrew is used, libtool is installed as glibtool if [[ "$(uname -s)" = "Darwin" && -x "$(type -P glibtool)" ]]; then export LIBTOOL=$(type -P glibtool) fi progname=$(basename $0) if [[ ${progname} =~ cli\.sh ]]; then progtype="cli" elif [[ ${progname} =~ gui\...
<|file_sep|>original/wrappers/setup.sh # Most of the time, the default libtool is what we want if [[ -x "$(type -P libtool)" ]]; then export LIBTOOL=$(type -P libtool) fi # On OS X, if Homebrew is used, libtool is installed as glibtool if [[ "$(uname -s)" = "Darwin" && -x "$(type -P glibtool)" ]]; then export LIB...
1a24b39d5db47385a253f3748a5768b9e79c23ed
wrappers/setup.sh
wrappers/setup.sh
Shell
<|file_sep|>original/lab_members/templates/lab_members/scientist_list.html <p>Need to add lab members!</p> {% endfor %} </div> </div> <hr> {% if alumni_list %} <h1 class="text-center gallery-heading">Lab Alumni</h1> <div class="container-fluid"> <div id="lab-mem...
<p>Need to add lab members!</p> {% endfor %} </div> </div> <hr> {% if alumni_list %} <h1 class="text-center gallery-heading">Lab Alumni</h1> <div class="container-fluid"> <div id="lab-alumni" class="row"> {% for scientist in alumni_list %} ...
<|file_sep|>original/lab_members/templates/lab_members/scientist_list.html <p>Need to add lab members!</p> {% endfor %} </div> </div> <hr> {% if alumni_list %} <h1 class="text-center gallery-heading">Lab Alumni</h1> <div class="container-fluid"> <div id="lab-mem...
159bc5e3c416a0dd348d88c168126b001968261d
lab_members/templates/lab_members/scientist_list.html
lab_members/templates/lab_members/scientist_list.html
HTML
<|file_sep|>original/requirements/base.txt django==1.8.6 requests==2.8.1 pyyaml==3.11 redis==2.10.5 markdown==2.6.3 python-social-auth==0.2.13 django-pipeline==1.5.4 django-extensions==1.5.9 django-basis==0.4.0 djangorestframework==3.2.5 django-flat-theme==1.1.1 manifesto==0.5 psycopg2==2.6.1 django-statsd-mozilla==0.3...
django==1.8.6 requests==2.8.1 pyyaml==3.11 redis==2.10.5 markdown==2.6.4 python-social-auth==0.2.13 django-pipeline==1.5.4 django-extensions==1.5.9 django-basis==0.4.0 djangorestframework==3.2.5 django-flat-theme==1.1.1 manifesto==0.5 psycopg2==2.6.1 django-statsd-mozilla==0.3.16
<|file_sep|>original/requirements/base.txt django==1.8.6 requests==2.8.1 pyyaml==3.11 redis==2.10.5 markdown==2.6.3 python-social-auth==0.2.13 django-pipeline==1.5.4 django-extensions==1.5.9 django-basis==0.4.0 djangorestframework==3.2.5 django-flat-theme==1.1.1 manifesto==0.5 psycopg2==2.6.1 django-statsd-mozilla==0.3...
1096bb41e6683d4fd9239506e66542e4ee3de775
requirements/base.txt
requirements/base.txt
Text
<|file_sep|>original/index.html <title>codeFormatter demo</title> </head> <body> <div class="content" contenteditable="true"> <span> ``` int foo[10] = { 0 }; // Comments are great. for (int index = 0; index < (sizeof(foo) / sizeof(foo)[0]); index++) { ...
</head> <body> <div class="content" contenteditable="true"> <span> ``` int foo[10] = { 0 }; // Comments are great. for (int index = 0; index < (sizeof(foo) / sizeof(foo)[0]); index++) { foo[index] = index; } ``` </span> </div> ...
<|file_sep|>original/index.html <title>codeFormatter demo</title> </head> <body> <div class="content" contenteditable="true"> <span> ``` int foo[10] = { 0 }; // Comments are great. for (int index = 0; index < (sizeof(foo) / sizeof(foo)[0]); index++) { ...
d2e29fd607f263383fc06af9aa625aa9f1a90dcb
index.html
index.html
HTML
<|file_sep|>original/package.json "author": "Garen J. Torikian <gjtorikian@gmail.com>", "description": "An implementation of GFM task lists", "main": "lib/index.js", "preferGlobal": false, "license" : "MIT", "repository": "git://github.com/gjtorikian/task-lists-js.git", "homepage": "https://github.com/gjt...
"author": "Garen J. Torikian <gjtorikian@gmail.com>", "description": "An implementation of GFM task lists", "main": "lib/index.js", "preferGlobal": false, "license" : "MIT", "repository": "git://github.com/gjtorikian/task-lists-js.git", "homepage": "https://github.com/gjtorikian/task-lists-js", "bugs": ...
<|file_sep|>original/package.json "author": "Garen J. Torikian <gjtorikian@gmail.com>", "description": "An implementation of GFM task lists", "main": "lib/index.js", "preferGlobal": false, "license" : "MIT", "repository": "git://github.com/gjtorikian/task-lists-js.git", "homepage": "https://github.com/gjt...
0b4804cc361a1dd59749b2c65a6dbb7cdcfc1bb4
package.json
package.json
JSON
<|file_sep|>partner_relations/model/__init__.py.diff original: updated: from . import res_partner from . import res_partner_relation from . import res_partner_relation_type from . import res_partner_relation_all from . import res_partner_relation_type_selection <|file_sep|>original/partner_relations/model/__init__.py...
# along with this program. If not, see <http://www.gnu.org/licenses/>. # ############################################################################## from . import res_partner from . import res_partner_relation from . import res_partner_relation_type from . import res_partner_relation_all from . import res_partn...
<|file_sep|>partner_relations/model/__init__.py.diff original: updated: from . import res_partner from . import res_partner_relation from . import res_partner_relation_type from . import res_partner_relation_all from . import res_partner_relation_type_selection <|file_sep|>original/partner_relations/model/__init__.py...
65c6c0b5ac47caac71c6c1284d84c1004d348c01
partner_relations/model/__init__.py
partner_relations/model/__init__.py
Python
<|file_sep|>original/doxygen/documentation/mainpage.md @subpage tutorial_root Basic example code for various features in Chrono. Rather verbose, good place to get started on how to use Chrono. --- @subpage manual_root Detailed documentation of Chrono's main features. Download the reference manual as a single [PDF]...
@subpage tutorial_root Basic example code for various features in Chrono. Rather verbose, good place to get started on how to use Chrono. --- @subpage manual_root Detailed documentation of Chrono's main features. --- @subpage tutorial_slides_300 Training material (PowerPoint slides and PDF) used in various week-...
<|file_sep|>original/doxygen/documentation/mainpage.md @subpage tutorial_root Basic example code for various features in Chrono. Rather verbose, good place to get started on how to use Chrono. --- @subpage manual_root Detailed documentation of Chrono's main features. Download the reference manual as a single [PDF]...
0a51d88eff3407371395f3c1f9e5df904a365353
doxygen/documentation/mainpage.md
doxygen/documentation/mainpage.md
Markdown
<|file_sep|>original/lib/utils.js Object.values = function(obj) { var vals = []; for( var key in obj ) { if ( obj.hasOwnProperty(key) ) { vals.push(obj[key]); } } return vals; } <|file_sep|>current/lib/utils.js Object.values = function(obj) { var vals = []; for( var k...
Object.values = function(obj) { var vals = []; for( var key in obj ) { if ( obj.hasOwnProperty(key) ) { if(typeof(obj[key]) === 'object') { vals.push(JSON.stringify(obj[key])); } else { vals.push(obj[key]) } } } return vals;...
<|file_sep|>original/lib/utils.js Object.values = function(obj) { var vals = []; for( var key in obj ) { if ( obj.hasOwnProperty(key) ) { vals.push(obj[key]); } } return vals; } <|file_sep|>current/lib/utils.js Object.values = function(obj) { var vals = []; for( var k...
1d699304a41b4e5c359e0c46674efde853a4972c
lib/utils.js
lib/utils.js
JavaScript
<|file_sep|>original/TODO.md # To-do - [ ] Add documentation endpoint. - [ ] Add documentation method to [CalculatorLoaderContext][CalculatorLoaderContext], allowing request fields to be documented. - [ ] Add special documentation endpoint to access documentation for different endpoints. - [ ] Implement QRISK...
# To-do - [ ] Implement msoaobesity calculator (**high priority**) - [ ] Add documentation endpoint. - [ ] Add documentation method to [CalculatorLoaderContext][CalculatorLoaderContext], allowing request fields to be documented. - [ ] Add special documentation endpoint to access documentation for different en...
<|file_sep|>original/TODO.md # To-do - [ ] Add documentation endpoint. - [ ] Add documentation method to [CalculatorLoaderContext][CalculatorLoaderContext], allowing request fields to be documented. - [ ] Add special documentation endpoint to access documentation for different endpoints. - [ ] Implement QRISK...
e7390cd2cac88a72a5b298ccba469b8708f77c5d
TODO.md
TODO.md
Markdown
<|file_sep|>original/package.json { "name": "dom-delegate", "version": "0.3.2", "author": "FT Labs <enquiries@labs.ft.com> (http://labs.ft.com/)", "description": "Create and manage a DOM event delegator.", "contributors": [ "Matthew Caruana Galizia", "Sam Giles", "Matt Andrews" ], "main": "lib...
{ "name": "dom-delegate", "version": "0.4.0", "author": "FT Labs <enquiries@labs.ft.com> (http://labs.ft.com/)", "description": "Create and manage a DOM event delegator.", "contributors": [ "Matthew Caruana Galizia", "Sam Giles", "Matt Andrews" ], "main": "lib/index.js", "repository": { ...
<|file_sep|>original/package.json { "name": "dom-delegate", "version": "0.3.2", "author": "FT Labs <enquiries@labs.ft.com> (http://labs.ft.com/)", "description": "Create and manage a DOM event delegator.", "contributors": [ "Matthew Caruana Galizia", "Sam Giles", "Matt Andrews" ], "main": "lib...
b112651c58072b04b53be0d56b039e4e792e5904
package.json
package.json
JSON
<|file_sep|>lib/vertical-align.js.diff original: updated: var navDocs = fs.readFileSync('./templates/nav_docs.html', 'utf8') <|file_sep|>original/lib/vertical-align.js var gzip = require('gzip-size') var filesize = require('filesize') var cssstats = require('cssstats') var module = require('tachyons-vertical-align/p...
var module = require('tachyons-vertical-align/package.json') var moduleCss = fs.readFileSync('node_modules/tachyons-vertical-align/tachyons-vertical-align.min.css', 'utf8') var moduleObj = cssstats(moduleCss) var moduleSize = filesize(moduleObj.gzipSize) var srcCSS = fs.readFileSync('./src/_vertical-align.css', 'utf8...
<|file_sep|>lib/vertical-align.js.diff original: updated: var navDocs = fs.readFileSync('./templates/nav_docs.html', 'utf8') <|file_sep|>original/lib/vertical-align.js var gzip = require('gzip-size') var filesize = require('filesize') var cssstats = require('cssstats') var module = require('tachyons-vertical-align/p...
f36a450ef5d70b5e90f6a213c823762cee57cd98
lib/vertical-align.js
lib/vertical-align.js
JavaScript
<|file_sep|>app/models/user.rb.diff original: include BCrypt validates :email, :password_hash, presence: true updated: has_secure_password validates :email, :password_digest, presence: true <|file_sep|>original/app/models/user.rb class User < ActiveRecord::Base include BCrypt validates :email, :password_has...
class User < ActiveRecord::Base has_secure_password validates :email, :password_digest, presence: true validates :email, length: { minimum: 1 } validates :email, uniqueness: true has_many :projects end
<|file_sep|>app/models/user.rb.diff original: include BCrypt validates :email, :password_hash, presence: true updated: has_secure_password validates :email, :password_digest, presence: true <|file_sep|>original/app/models/user.rb class User < ActiveRecord::Base include BCrypt validates :email, :password_has...
87f2ea095a8b6761fb51f7d15424dc55894bb4b7
app/models/user.rb
app/models/user.rb
Ruby
<|file_sep|>original/roles/extras/tasks/environment-script.yml --- - name: Install environment script at {{ bioansible_basepath }}/bioansible_env.sh tags: environment template: src: bioansible_env.sh.j2 dest: "{{ modules_dir }}/bioansible_env.sh" owner: "{{ main_guy }}" mode: 0644 <|file_sep|>curren...
--- - name: Install environment script at {{ bioansible_basepath }}/bioansible_env.sh tags: environment template: src: bioansible_env.sh.j2 dest: "{{ bioansible_basepath }}/bioansible_env.sh" owner: "{{ main_guy }}" mode: 0644
<|file_sep|>original/roles/extras/tasks/environment-script.yml --- - name: Install environment script at {{ bioansible_basepath }}/bioansible_env.sh tags: environment template: src: bioansible_env.sh.j2 dest: "{{ modules_dir }}/bioansible_env.sh" owner: "{{ main_guy }}" mode: 0644 <|file_sep|>curren...
d8218896a52f11ce08b277e85fc88605930f6e82
roles/extras/tasks/environment-script.yml
roles/extras/tasks/environment-script.yml
YAML
<|file_sep|>original/zplug/zplug.zsh zplug "lib/key-bindings", from:oh-my-zsh zplug "plugins/brew", from:oh-my-zsh, if:"[[ $(uname) =~ ^Darwin ]]" zplug "plugins/docker", from:oh-my-zsh zplug "plugins/git", from:oh-my-zsh, if:"(( $+commands[git] ))", nice:10 zplug "plugins/git-extras", from:oh-my-zsh zplug "plugins/tmu...
zplug "lib/key-bindings", from:oh-my-zsh zplug "plugins/brew", from:oh-my-zsh, if:"[[ $(uname) =~ ^Darwin ]]" zplug "plugins/docker", from:oh-my-zsh zplug "plugins/git", from:oh-my-zsh, if:"(( $+commands[git] ))", nice:10 zplug "plugins/git-extras", from:oh-my-zsh zplug "plugins/tmuxinator", from:oh-my-zsh zplug "plugi...
<|file_sep|>original/zplug/zplug.zsh zplug "lib/key-bindings", from:oh-my-zsh zplug "plugins/brew", from:oh-my-zsh, if:"[[ $(uname) =~ ^Darwin ]]" zplug "plugins/docker", from:oh-my-zsh zplug "plugins/git", from:oh-my-zsh, if:"(( $+commands[git] ))", nice:10 zplug "plugins/git-extras", from:oh-my-zsh zplug "plugins/tmu...
4c8733c96eea8bec387f3b1b49dc12b8a84d4169
zplug/zplug.zsh
zplug/zplug.zsh
Shell
<|file_sep|>src/main/java/ivorius/ivtoolkit/network/IvNetworkHelperClient.java.diff original: updated: @Deprecated <|file_sep|>original/src/main/java/ivorius/ivtoolkit/network/IvNetworkHelperClient.java * limitations under the License. */ package ivorius.ivtoolkit.network; import cpw.mods.fml.common.network...
import net.minecraft.tileentity.TileEntity; /** * Created by lukas on 25.09.14. */ public class IvNetworkHelperClient { @Deprecated public static <ETileEntity extends TileEntity & ClientEventHandler> void sendTileEntityUpdatePacket(ETileEntity tileEntity, String context, SimpleNetworkWrapper network, Object....
<|file_sep|>src/main/java/ivorius/ivtoolkit/network/IvNetworkHelperClient.java.diff original: updated: @Deprecated <|file_sep|>original/src/main/java/ivorius/ivtoolkit/network/IvNetworkHelperClient.java * limitations under the License. */ package ivorius.ivtoolkit.network; import cpw.mods.fml.common.network...
0ee2896784de56fa7f50977f03db564f20e0bb27
src/main/java/ivorius/ivtoolkit/network/IvNetworkHelperClient.java
src/main/java/ivorius/ivtoolkit/network/IvNetworkHelperClient.java
Java