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|>lib/generators/controller_override.rb.diff original: hook_for :decorator, default: true do |generator| updated: hook_for :decorator, type: :boolean, default: true do |generator| <|file_sep|>original/lib/generators/controller_override.rb require "rails/generators" require "rails/generators/rails/...
require "rails/generators" require "rails/generators/rails/controller/controller_generator" require "rails/generators/rails/scaffold_controller/scaffold_controller_generator" module Rails module Generators class ControllerGenerator hook_for :decorator, type: :boolean, default: true do |generator| i...
<|file_sep|>lib/generators/controller_override.rb.diff original: hook_for :decorator, default: true do |generator| updated: hook_for :decorator, type: :boolean, default: true do |generator| <|file_sep|>original/lib/generators/controller_override.rb require "rails/generators" require "rails/generators/rails/...
da5ac7c7ce6112e0d25b7c55d095aed442f8bf73
lib/generators/controller_override.rb
lib/generators/controller_override.rb
Ruby
<|file_sep|>app/assets/stylesheets/frontend/helpers/_document_list.scss.diff original: updated: } <|file_sep|>app/assets/stylesheets/frontend/helpers/_document_list.scss.diff original: th { @include core-19; text-align: left; float: left; display: inline; width: 100%; margin-t...
@include bold; vertical-align: top; @include ie(6) { width: 85%; } } td { @include core-14; text-align: left; float: left; display: inline; padding-top: 0; padding-right: $gutter; margin-bottom: $gutter-one-sixth; } .document-row:first-child { th { ...
<|file_sep|>app/assets/stylesheets/frontend/helpers/_document_list.scss.diff original: updated: } <|file_sep|>app/assets/stylesheets/frontend/helpers/_document_list.scss.diff original: th { @include core-19; text-align: left; float: left; display: inline; width: 100%; margin-t...
70fc39fa67ec087e7764bfb058fb93abb4580419
app/assets/stylesheets/frontend/helpers/_document_list.scss
app/assets/stylesheets/frontend/helpers/_document_list.scss
SCSS
<|file_sep|>original/lib/pretty_validation/tasks/validation.rake tasks = Rake.application.instance_variable_get '@tasks' original_db_dump = tasks.delete 'db:_dump' namespace :validation do desc 'Generate validations from database schema' task :generate do PrettyValidation::Renderer.generate end end namespac...
tasks = Rake.application.instance_variable_get '@tasks' original_db_dump = tasks.delete 'db:_dump' namespace :validation do desc 'Generate validations from database schema' task :generate do PrettyValidation::Renderer.generate end end namespace :db do task :_dump do original_db_dump.invoke # Allow...
<|file_sep|>original/lib/pretty_validation/tasks/validation.rake tasks = Rake.application.instance_variable_get '@tasks' original_db_dump = tasks.delete 'db:_dump' namespace :validation do desc 'Generate validations from database schema' task :generate do PrettyValidation::Renderer.generate end end namespac...
123a32a8e7bb867d83b2b48d3f1a25aef7911d01
lib/pretty_validation/tasks/validation.rake
lib/pretty_validation/tasks/validation.rake
Ruby
<|file_sep|>original/warehouse/helpers.py # Copyright 2013 Donald Stufft # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ...
# Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the Li...
<|file_sep|>original/warehouse/helpers.py # Copyright 2013 Donald Stufft # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ...
37b16cea115419d1353cf1213698fc4a0d229fa7
warehouse/helpers.py
warehouse/helpers.py
Python
<|file_sep|>.github/workflows/cicd.yml.diff original: - name: Build run: cargo build --verbose updated: - name: Check run: cargo check <|file_sep|>original/.github/workflows/cicd.yml name: CICD on: [push] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - ...
name: CICD on: [push] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: Check run: cargo check - name: Test run: cargo test - name: Lint run: cargo clippy - name: Format run: cargo fmt -- --check
<|file_sep|>.github/workflows/cicd.yml.diff original: - name: Build run: cargo build --verbose updated: - name: Check run: cargo check <|file_sep|>original/.github/workflows/cicd.yml name: CICD on: [push] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - ...
e76e67b0dd6da7999aa772df45d36a2758bb473d
.github/workflows/cicd.yml
.github/workflows/cicd.yml
YAML
<|file_sep|>original/deploy/deploy-plugin.sh #!/usr/bin/env bash # Provide SSH access to the repository eval "$(ssh-agent -s)" chmod 600 deploy/key ssh-add deploy/key PLUGIN_REPO=git@github.com:aaemnnosttv/wp-cli-login-server.git # Download git-subsplit wget https://cdn.rawgit.com/dflydev/git-subsplit/d77ec9d3e1addd9...
#!/usr/bin/env bash # Provide SSH access to the repository eval "$(ssh-agent -s)" chmod 600 deploy/key ssh-add deploy/key PLUGIN_REPO=git@github.com:aaemnnosttv/wp-cli-login-server.git # Download git-subsplit wget https://raw.githubusercontent.com/dflydev/git-subsplit/d77ec9d3e1addd97dca1464eabf95c525f591490/git-subs...
<|file_sep|>original/deploy/deploy-plugin.sh #!/usr/bin/env bash # Provide SSH access to the repository eval "$(ssh-agent -s)" chmod 600 deploy/key ssh-add deploy/key PLUGIN_REPO=git@github.com:aaemnnosttv/wp-cli-login-server.git # Download git-subsplit wget https://cdn.rawgit.com/dflydev/git-subsplit/d77ec9d3e1addd9...
baaab544b9dbe8c3d0777eb90cae286db3a79088
deploy/deploy-plugin.sh
deploy/deploy-plugin.sh
Shell
<|file_sep|>original/lib/wptemplates.rb require "wptemplates/version" require "wptemplates/parser" module Wptemplates def self.parse text parser.parse(text) def self.parser @parser ||= Parser.new end end <|file_sep|>current/lib/wptemplates.rb require "wptemplates/version" require "wptemplates/pa...
require "wptemplates/version" require "wptemplates/parser" module Wptemplates def self.parse text parser.parse(text) end def self.parser @parser ||= Parser.new end end
<|file_sep|>original/lib/wptemplates.rb require "wptemplates/version" require "wptemplates/parser" module Wptemplates def self.parse text parser.parse(text) def self.parser @parser ||= Parser.new end end <|file_sep|>current/lib/wptemplates.rb require "wptemplates/version" require "wptemplates/pa...
a8600590989cf6398374c9e67bd195d2cb479229
lib/wptemplates.rb
lib/wptemplates.rb
Ruby
<|file_sep|>original/lib/elixir/test/doc_test.exs ExUnit.start [] defmodule KernelTest do use ExUnit.Case, async: true doctest Access doctest Atom doctest Base doctest Bitwise doctest Code doctest Collectable doctest Enum doctest Exception doctest Float doctest Inspect doctest Inspect.Algebra ...
ExUnit.start [] defmodule KernelTest do use ExUnit.Case, async: true doctest Access doctest Atom doctest Base doctest Bitwise, import: true doctest Code doctest Collectable doctest Enum doctest Exception doctest Float doctest Inspect doctest Inspect.Algebra doctest Integer doctest IO doc...
<|file_sep|>original/lib/elixir/test/doc_test.exs ExUnit.start [] defmodule KernelTest do use ExUnit.Case, async: true doctest Access doctest Atom doctest Base doctest Bitwise doctest Code doctest Collectable doctest Enum doctest Exception doctest Float doctest Inspect doctest Inspect.Algebra ...
fc3bc94ce5d782268f6767ef4a64c4a00c091a6f
lib/elixir/test/doc_test.exs
lib/elixir/test/doc_test.exs
Elixir
<|file_sep|>src/Testing/Feature/BootableTraits.php.diff original: foreach ($this->traits(true) as $trait) { $bootMethod = 'boot' . $trait; updated: foreach ($this->traits() as $trait) { $bootMethod = 'boot' . \class_basename($trait); <|file_sep|>src/Testing/Feature/BootableTraits...
$class = \count($parents) ? \array_shift($parents) : null; } yield from \array_unique($traits); } /** * @return void */ protected function tearDownTestKernel(): void { foreach ($this->traits() as $trait) { $destroyMethod = 'destroy' . \class_b...
<|file_sep|>src/Testing/Feature/BootableTraits.php.diff original: foreach ($this->traits(true) as $trait) { $bootMethod = 'boot' . $trait; updated: foreach ($this->traits() as $trait) { $bootMethod = 'boot' . \class_basename($trait); <|file_sep|>src/Testing/Feature/BootableTraits...
40f644a8d1cdd452903dff6443cd48ac6a2ca09e
src/Testing/Feature/BootableTraits.php
src/Testing/Feature/BootableTraits.php
PHP
<|file_sep|>original/features/xmlrpc_api.feature # Copyright (c) 2010-2011 SUSE Linux Products GmbH. # Licensed under the terms of the MIT license. Feature: Test XML-RPC "api" namespace. Scenario: Public API test Given I am logged in via XML-RPC/api as user "admin" and password "admin" When I call getVersio...
# Copyright (c) 2010-2011 SUSE Linux Products GmbH. # Licensed under the terms of the MIT license. Feature: Test XML-RPC "api" namespace. Scenario: Public API test Given I am logged in via XML-RPC/api as user "admin" and password "admin" When I call getVersion, I should get "15" as result When I call sy...
<|file_sep|>original/features/xmlrpc_api.feature # Copyright (c) 2010-2011 SUSE Linux Products GmbH. # Licensed under the terms of the MIT license. Feature: Test XML-RPC "api" namespace. Scenario: Public API test Given I am logged in via XML-RPC/api as user "admin" and password "admin" When I call getVersio...
57ce2a457c331188e31e66b5946a61a26662edd5
features/xmlrpc_api.feature
features/xmlrpc_api.feature
Cucumber
<|file_sep|>Contexts/http_event.js.diff original: updated: var url = "REPLACE WITH YOUR OWN REQUESTB.IN URL" <|file_sep|>Contexts/http_event.js.diff original: var url = "http://requestb.in/vx1hdkvx" updated: <|file_sep|>Contexts/http_event.js.diff original: var url = "http://requestb.in/vx1hdkvx" updated: <|...
GET: 0, POST: 1 } var eventType = event.data.event_type var url = "REPLACE WITH YOUR OWN REQUESTB.IN URL" if (eventType == awnHTTPEventType.GET) { // Send a HTTP GET request var urlParams = { "message": "get message from http_event!" } http.get(url, JSON.stringify(urlParams)) console.log("HTTP...
<|file_sep|>Contexts/http_event.js.diff original: updated: var url = "REPLACE WITH YOUR OWN REQUESTB.IN URL" <|file_sep|>Contexts/http_event.js.diff original: var url = "http://requestb.in/vx1hdkvx" updated: <|file_sep|>Contexts/http_event.js.diff original: var url = "http://requestb.in/vx1hdkvx" updated: <|...
80e965f6e881dcc9b0cb3ac47cebb8f18f0a8769
Contexts/http_event.js
Contexts/http_event.js
JavaScript
<|file_sep|>original/metadata/com.anoopknr.pastebin.txt <|file_sep|>current/metadata/com.anoopknr.pastebin.txt <|file_sep|>updated/metadata/com.anoopknr.pastebin.txt
Categories:Internet License:GPL-3.0-only Web Site:https://gitlab.com/anoopknr/pastebin Source Code:https://gitlab.com/anoopknr/pastebin/tree/HEAD Issue Tracker:https://gitlab.com/anoopknr/pastebin/issues Auto Name:PasteBin Summary:Client application for Ubuntu pastebin Description: Client application for Ubuntu pasteb...
<|file_sep|>original/metadata/com.anoopknr.pastebin.txt <|file_sep|>current/metadata/com.anoopknr.pastebin.txt <|file_sep|>updated/metadata/com.anoopknr.pastebin.txt Categories:Internet License:GPL-3.0-only Web Site:https://gitlab.com/anoopknr/pastebin Source Code:https://gitlab.com/anoopknr/pastebin/tree/HEAD Issue ...
5238066b8424e18af441d1bb4e304e1aa6a1c242
metadata/com.anoopknr.pastebin.txt
metadata/com.anoopknr.pastebin.txt
Text
<|file_sep|>tox.ini.diff original: ; {py27}-django14, updated: <|file_sep|>original/tox.ini [tox] envlist = py27-flake8, ; {py27}-django14, {py27,py34}-django{16,17,18beta}, [testenv] deps = django14: Django==1.4.16 django15: Django==1.5.11 django16: Django==1.6.8 django17: Django==1....
envlist = py27-flake8, {py27,py34}-django{16,17,18beta}, [testenv] deps = django14: Django==1.4.16 django15: Django==1.5.11 django16: Django==1.6.8 django17: Django==1.7.1 django18beta: https://www.djangoproject.com/download/1.8b1/tarball/ -rrequirements/requirements-base.txt -rreq...
<|file_sep|>tox.ini.diff original: ; {py27}-django14, updated: <|file_sep|>original/tox.ini [tox] envlist = py27-flake8, ; {py27}-django14, {py27,py34}-django{16,17,18beta}, [testenv] deps = django14: Django==1.4.16 django15: Django==1.5.11 django16: Django==1.6.8 django17: Django==1....
441276d72735910e7fb0aa648defd8dbad6d6eea
tox.ini
tox.ini
INI
<|file_sep|>original/src/DAO/eventDAO.php <|file_sep|>current/src/DAO/eventDAO.php <|file_sep|>updated/src/DAO/eventDAO.php
<?php namespace Mila\DAO; final class eventDAO implements DAOInterface { /* * @var \Doctrine\DBAL\Connection */ private $dbCon; /* * @param \Doctrine\DBAL\Connection $dbCon */ public function __construct($dbCon) { $this->dbCon = $dbCon; } public function fetch...
<|file_sep|>original/src/DAO/eventDAO.php <|file_sep|>current/src/DAO/eventDAO.php <|file_sep|>updated/src/DAO/eventDAO.php <?php namespace Mila\DAO; final class eventDAO implements DAOInterface { /* * @var \Doctrine\DBAL\Connection */ private $dbCon; /* * @param \Doctrine\DBAL\Connectio...
f36f62b8991f1cb62306fb3899dffa709251fb14
src/DAO/eventDAO.php
src/DAO/eventDAO.php
PHP
<|file_sep|>original/package.json "url": "git://github.com/helmetjs/hpkp.git" }, "bugs": "https://github.com/helmetjs/hpkp/issues", "scripts": { "pretest": "standard", "test": "mocha" }, "devDependencies": { "connect": "^3.5.0", "mocha": "^3.1.0", "standard": "^8.3.0", "supertest":...
"url": "git://github.com/helmetjs/hpkp.git" }, "bugs": "https://github.com/helmetjs/hpkp/issues", "scripts": { "pretest": "standard", "test": "mocha" }, "devDependencies": { "connect": "^3.5.0", "mocha": "^3.1.2", "standard": "^8.5.0", "supertest": "^2.0.1" }, "standard": { ...
<|file_sep|>original/package.json "url": "git://github.com/helmetjs/hpkp.git" }, "bugs": "https://github.com/helmetjs/hpkp/issues", "scripts": { "pretest": "standard", "test": "mocha" }, "devDependencies": { "connect": "^3.5.0", "mocha": "^3.1.0", "standard": "^8.3.0", "supertest":...
36483e1eb082cff9a28145c284a22f8a67d29611
package.json
package.json
JSON
<|file_sep|>original/SettlersOfCatan/Mutable/Player.cs  namespace SettlersOfCatan.Mutable { public class Player { public Resources Hand { get; private set; } public Player() { Hand = new Resources(); } public void Trade(Player other, Resources give, Resourc...
 namespace SettlersOfCatan.Mutable { public class Player { public Resources Hand { get; } public Player() { Hand = new Resources(); } public void Trade(Player other, Resources give, Resources take) { Hand.RequireAtLeast(give); ...
<|file_sep|>original/SettlersOfCatan/Mutable/Player.cs  namespace SettlersOfCatan.Mutable { public class Player { public Resources Hand { get; private set; } public Player() { Hand = new Resources(); } public void Trade(Player other, Resources give, Resourc...
0ba2b20c0d588e7580dcec903a3c132a2e78cb8d
SettlersOfCatan/Mutable/Player.cs
SettlersOfCatan/Mutable/Player.cs
C#
<|file_sep|>original/.travis.yml cache: pip email: - seanc@seancotech.com install: - curl -sL https://repos.influxdata.com/influxdb.key | sudo apt-key add - - source /etc/lsb-release - echo "deb https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" | sudo tee /etc/apt/sources.list.d/influxdb....
email: - seanc@seancotech.com install: - curl -sL https://repos.influxdata.com/influxdb.key | sudo apt-key add - - source /etc/lsb-release - echo "deb https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" | sudo tee /etc/apt/sources.list.d/influxdb.list - sudo apt-get update - sudo apt-ge...
<|file_sep|>original/.travis.yml cache: pip email: - seanc@seancotech.com install: - curl -sL https://repos.influxdata.com/influxdb.key | sudo apt-key add - - source /etc/lsb-release - echo "deb https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" | sudo tee /etc/apt/sources.list.d/influxdb....
4afe713a9a2fec45a198a8913a6d989a5346e6c5
.travis.yml
.travis.yml
YAML
<|file_sep|>original/spec/data/uk-postcodes_response-se165dy.json {"postcode"=>"SE16 5DY", "geo"=>{"lat"=>"51.505821", "lng"=>"-0.034702", "easting"=>"536493", "northing"=>"180374", "geohash"=>"http://geohash.org/gcpvp0qepkum"}, "administrative"=>{"constituency"=>{"title"=>"Bermondsey and Old Southwark", "uri"=>"http:/...
{"postcode":"SE16 5DY", "geo":{"lat":"51.505821", "lng":"-0.034702", "easting":"536493", "northing":"180374", "geohash":"http://geohash.org/gcpvp0qepkum"}, "administrative":{"constituency":{"title":"Bermondsey and Old Southwark", "uri":"http://data.ordnancesurvey.co.uk/doc/7000000000025037", "code":"25037"}, "district"...
<|file_sep|>original/spec/data/uk-postcodes_response-se165dy.json {"postcode"=>"SE16 5DY", "geo"=>{"lat"=>"51.505821", "lng"=>"-0.034702", "easting"=>"536493", "northing"=>"180374", "geohash"=>"http://geohash.org/gcpvp0qepkum"}, "administrative"=>{"constituency"=>{"title"=>"Bermondsey and Old Southwark", "uri"=>"http:/...
8b2b3afaca273dda3adb2b1525e071a54913de18
spec/data/uk-postcodes_response-se165dy.json
spec/data/uk-postcodes_response-se165dy.json
JSON
<|file_sep|>original/robots.txt User-agent: * Disallow: /morfy/ Disallow: /plugins/ Disallow: /config/ <|file_sep|>current/robots.txt User-agent: * Disallow: /morfy/ Disallow: /plugins/ Disallow: /config/ <|file_sep|>updated/robots.txt
User-agent: * Disallow: /morfy/ Disallow: /plugins/ Disallow: /config/ Disallow: /vendor/
<|file_sep|>original/robots.txt User-agent: * Disallow: /morfy/ Disallow: /plugins/ Disallow: /config/ <|file_sep|>current/robots.txt User-agent: * Disallow: /morfy/ Disallow: /plugins/ Disallow: /config/ <|file_sep|>updated/robots.txt User-agent: * Disallow: /morfy/ Disallow: /plugins/ Disallow: /config/ Disallow: /ve...
7a9dbd45a221a1ce1b4405965de891e21bd2362c
robots.txt
robots.txt
Text
<|file_sep|>src/Interfaces/StorageServiceInterface.php.diff original: public function storeFileChunk($resourceId, $offset, $length); updated: public function storeChunk($resourceId, $offset, $length); <|file_sep|>src/Interfaces/StorageServiceInterface.php.diff original: public function getFileChunk($resourc...
<?php namespace Vaffel\Tuski\Interfaces; interface StorageServiceInterface { public function storeChunk($resourceId, $offset, $length); public function getChunk($resourceId, $offset, $length); public function getChunks($resourceId); public function deleteChunks($resourceId); }
<|file_sep|>src/Interfaces/StorageServiceInterface.php.diff original: public function storeFileChunk($resourceId, $offset, $length); updated: public function storeChunk($resourceId, $offset, $length); <|file_sep|>src/Interfaces/StorageServiceInterface.php.diff original: public function getFileChunk($resourc...
0c3f2542c845a5fb71c6f2527c708b54cd72cbe7
src/Interfaces/StorageServiceInterface.php
src/Interfaces/StorageServiceInterface.php
PHP
<|file_sep|>original/docs/api/index.md # API | API Version | Documentation | |-------------|---------------| | v1 | [Link](v1.md) | <|file_sep|>current/docs/api/index.md # API | API Version | Documentation | |-------------|---------------| | v1 | [Link](v1.md) | <|file_sep|>updated/docs/api/index.md
# API | API Version | Documentation | |-------------|---------------| | v1 | [Link](v1.md) | | v2 | [Link](v2.md) |
<|file_sep|>original/docs/api/index.md # API | API Version | Documentation | |-------------|---------------| | v1 | [Link](v1.md) | <|file_sep|>current/docs/api/index.md # API | API Version | Documentation | |-------------|---------------| | v1 | [Link](v1.md) | <|file_sep|>updated/docs/api/index.md #...
616f07ad781720dcca2a813bbc495630e3fa1e7c
docs/api/index.md
docs/api/index.md
Markdown
<|file_sep|>original/system/db/DB.php $this->driver($cfg['driver']); $this->connect($cfg['host'], $cfg['user'], $cfg['password']); $this->database($cfg['database'], false); } } public function driver($name) { $vendor =& loa...
$this->driver($cfg['driver']); $this->connect($cfg['host'], $cfg['user'], $cfg['password']); $this->database($cfg['database'], false); } } public function driver($name) { $loader =& loadClass('Loader', 'Core'); ...
<|file_sep|>original/system/db/DB.php $this->driver($cfg['driver']); $this->connect($cfg['host'], $cfg['user'], $cfg['password']); $this->database($cfg['database'], false); } } public function driver($name) { $vendor =& loa...
7c009a6107598943fd345f7a2187d87a6ec16632
system/db/DB.php
system/db/DB.php
PHP
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0 before_install: - 'sudo apt-get -qq update' - 'sudo apt-get -qq install rdnssd libavahi-compat-libdnssd-dev' script: bundle exec rake spec <|file_sep|>current/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0 before_install: - 'sudo apt-ge...
language: ruby rvm: - 1.9.3 - 2.0.0 before_install: - 'sudo apt-get -qq update' - 'sudo apt-get -qq install youtube-dl rdnssd libavahi-compat-libdnssd-dev' script: bundle exec rake spec
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0 before_install: - 'sudo apt-get -qq update' - 'sudo apt-get -qq install rdnssd libavahi-compat-libdnssd-dev' script: bundle exec rake spec <|file_sep|>current/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0 before_install: - 'sudo apt-ge...
8d9c887259852da8f66950542161cc58764d153f
.travis.yml
.travis.yml
YAML
<|file_sep|>package.json.diff original: "version": "0.1.1", updated: "version": "0.1.2", <|file_sep|>original/package.json { "name": "etholow", "version": "0.1.1", "description": "tools to create interactive fiction and text adventures", "scripts": { "test": "mocha && eslint ." }, "main": "index.js"...
{ "name": "etholow", "version": "0.1.2", "description": "tools to create interactive fiction and text adventures", "scripts": { "test": "mocha && eslint ." }, "main": "index.js", "author": { "name": "Ruan Pearce-Authers", "email": "ruanpa@outlook.com" }, "license": "MIT", "dependencies":...
<|file_sep|>package.json.diff original: "version": "0.1.1", updated: "version": "0.1.2", <|file_sep|>original/package.json { "name": "etholow", "version": "0.1.1", "description": "tools to create interactive fiction and text adventures", "scripts": { "test": "mocha && eslint ." }, "main": "index.js"...
c6ef73ecc0ccdc96ec9dc178f3e6526d143b5fab
package.json
package.json
JSON
<|file_sep|>original/cypress.json { "baseUrl" : "http://staging.4dnucleome.org", "projectId": "bj6vhb" } <|file_sep|>current/cypress.json { "baseUrl" : "http://staging.4dnucleome.org", "projectId": "bj6vhb" } <|file_sep|>updated/cypress.json
{ "baseUrl" : "http://staging.4dnucleome.org", "projectId": "4opx2c" }
<|file_sep|>original/cypress.json { "baseUrl" : "http://staging.4dnucleome.org", "projectId": "bj6vhb" } <|file_sep|>current/cypress.json { "baseUrl" : "http://staging.4dnucleome.org", "projectId": "bj6vhb" } <|file_sep|>updated/cypress.json { "baseUrl" : "http://staging.4dnucleome.org", "projectId": "4opx2...
1740d8eacd63ebfbc9f7a929c5b5f958107c4148
cypress.json
cypress.json
JSON
<|file_sep|>original/src/main_test.go var testcases = []struct { hands string expected bool }{ {"123456789m123p1s", true}, {"111222333m111p1s", true}, {"EEESSSWWWNNNW", true}, {"13579m2468p1357s", false}, {"13579m2468pESWN", false}, {"1133557799mEEN", true}, } func TestJudgeTenpai(t *testing.T) { for _, t...
var testcases = []struct { hands string expected bool }{ {"123456789m123p1s", true}, {"111222333m111p1s", true}, {"EEESSSWWWNNNW", true}, {"13579m2468p1357s", false}, {"13579m2468pESWN", false}, {"1133557799mEEN", true}, } func TestJudgeTenpai(t *testing.T) { for _, testcase := range testcases { result ...
<|file_sep|>original/src/main_test.go var testcases = []struct { hands string expected bool }{ {"123456789m123p1s", true}, {"111222333m111p1s", true}, {"EEESSSWWWNNNW", true}, {"13579m2468p1357s", false}, {"13579m2468pESWN", false}, {"1133557799mEEN", true}, } func TestJudgeTenpai(t *testing.T) { for _, t...
b315c20035a823378729f50586fc2f27d1177b2f
src/main_test.go
src/main_test.go
Go
<|file_sep|>test/rill/event_store/psql_test.clj.diff original: :database (System/getenv "RILL_POSTGRES_DATABASE")}) updated: :database (System/getenv "RILL_POSTGRES_DB")}) <|file_sep|>test/rill/event_store/psql_test.clj.diff original: (if (System/getenv "RILL_POSTGRES_DATABASE") updated: (...
[rill.event-store.generic-test-base :refer [test-store]] [clojure.test :refer :all])) (def config {:user (System/getenv "RILL_POSTGRES_USER") :password (System/getenv "RILL_POSTGRES_PASSWORD") :hostname (System/getenv "RILL_POSTGRES_HOST") :port (System/ge...
<|file_sep|>test/rill/event_store/psql_test.clj.diff original: :database (System/getenv "RILL_POSTGRES_DATABASE")}) updated: :database (System/getenv "RILL_POSTGRES_DB")}) <|file_sep|>test/rill/event_store/psql_test.clj.diff original: (if (System/getenv "RILL_POSTGRES_DATABASE") updated: (...
0949543a6fc6c3a99362dcf079ec1fb4b9c6ef0d
test/rill/event_store/psql_test.clj
test/rill/event_store/psql_test.clj
Clojure
<|file_sep|>test/fixtures/hosts.yml.diff original: start: Fri May 13 17:52:18 2011 updated: start: 2011-05-13 17:52:18 <|file_sep|>original/test/fixtures/hosts.yml host1: id: 1 name: 10.0.0.1 ip: 10.0.0.1 mac: AA:BB:CC:DD:EE:FF os: Microsoft Windows XP Processional Service Pack 3 netbios: host1 fqd...
host1: id: 1 name: 10.0.0.1 ip: 10.0.0.1 mac: AA:BB:CC:DD:EE:FF os: Microsoft Windows XP Processional Service Pack 3 netbios: host1 fqdn: host1.risutests.com start: 2011-05-13 17:52:18 host2: id: 2 name: 10.0.0.2 ip: 10.0.0.2 mac: AA:BB:CC:DD:EE:FE os: Linux Ubuntu 10.10 netbios: host2 fq...
<|file_sep|>test/fixtures/hosts.yml.diff original: start: Fri May 13 17:52:18 2011 updated: start: 2011-05-13 17:52:18 <|file_sep|>original/test/fixtures/hosts.yml host1: id: 1 name: 10.0.0.1 ip: 10.0.0.1 mac: AA:BB:CC:DD:EE:FF os: Microsoft Windows XP Processional Service Pack 3 netbios: host1 fqd...
90dd037b53800ccebee419619741deeca2ff4212
test/fixtures/hosts.yml
test/fixtures/hosts.yml
YAML
<|file_sep|>original/css/scrivener-frame-preview.css .scrivener-frame-preview-overlay { position: fixed; top: 0; left: 0; height: 100%; width: 100%; z-index: 1; cursor: not-allowed; background-color: #fff; } .scrivener-focused-element { z-index: 9001; cursor: text; } .scrivener-focused-element:hover { outlin...
.scrivener-frame-preview-overlay { position: fixed; top: 0; left: 0; height: 100%; opacity: .8; width: 100%; z-index: 1; cursor: not-allowed; background-color: #fff; } .scrivener-focused-element { z-index: 9001; cursor: text; } .scrivener-focused-element:hover { outline: rgba(240, 240, 240, 0.5) solid 5px; ...
<|file_sep|>original/css/scrivener-frame-preview.css .scrivener-frame-preview-overlay { position: fixed; top: 0; left: 0; height: 100%; width: 100%; z-index: 1; cursor: not-allowed; background-color: #fff; } .scrivener-focused-element { z-index: 9001; cursor: text; } .scrivener-focused-element:hover { outlin...
d2cce10f21a2ff93f0ef5c2da996b7f8ecce5b10
css/scrivener-frame-preview.css
css/scrivener-frame-preview.css
CSS
<|file_sep|>original/.travis.yml # Travis + Tox # Based on what I found at: https://github.com/eventlet/eventlet/blob/master/.travis.yml language: python python: - "2.7" - "3.2" - "3.3" - "3.4" before_install: - sudo apt-get update -qq - sudo apt-get install -qq gnupg2 install: - pip install -r requiremen...
# Travis + Tox # Based on what I found at: https://github.com/eventlet/eventlet/blob/master/.travis.yml language: python matrix: include: - python: "2.7" - python: "3.3" - python: "3.4" allow_failures: - python: "3.3" - python: "3.4" before_install: - sudo apt-get update -qq - sudo apt-get i...
<|file_sep|>original/.travis.yml # Travis + Tox # Based on what I found at: https://github.com/eventlet/eventlet/blob/master/.travis.yml language: python python: - "2.7" - "3.2" - "3.3" - "3.4" before_install: - sudo apt-get update -qq - sudo apt-get install -qq gnupg2 install: - pip install -r requiremen...
4a3cf9f287c12a2229a2011cb9685beb84898df8
.travis.yml
.travis.yml
YAML
<|file_sep|>src/index.js.diff original: import log, {INFO} from "./log"; updated: import log, {INFO, ERR} from "./log"; <|file_sep|>original/src/index.js import express from 'express'; import log, {INFO} from "./log"; import {getOpengraphData, removeOpengraphData} from "./opengraph"; const HTTP_TIMEOUT = Number(proces...
import express from 'express'; import log, {INFO, ERR} from "./log"; import {getOpengraphData, removeOpengraphData} from "./opengraph"; const HTTP_TIMEOUT = Number(process.env.HTTP_TIMEOUT) || 10000; process.on('uncaughtException', function (err) { log(ERR, `uncaughtException: ${err}`); process.exit(1); }); process...
<|file_sep|>src/index.js.diff original: import log, {INFO} from "./log"; updated: import log, {INFO, ERR} from "./log"; <|file_sep|>original/src/index.js import express from 'express'; import log, {INFO} from "./log"; import {getOpengraphData, removeOpengraphData} from "./opengraph"; const HTTP_TIMEOUT = Number(proces...
af74fecce5b3c5666cf4cc56e53868b3d78ba157
src/index.js
src/index.js
JavaScript
<|file_sep|>original/soulless.gemspec spec.version = Soulless::VERSION spec.authors = ['Anthony Smith'] spec.email = ['anthony@sticksnleaves.com'] spec.summary = %q{Rails models without the database (and Rails)} spec.description = %q{Create Rails style models without the database ...
spec.version = Soulless::VERSION spec.authors = ['Anthony Smith'] spec.email = ['anthony@sticksnleaves.com'] spec.summary = %q{Rails models without the database (and Rails)} spec.description = %q{Create Rails style models without the database (and Rails).} spec.homepage = '...
<|file_sep|>original/soulless.gemspec spec.version = Soulless::VERSION spec.authors = ['Anthony Smith'] spec.email = ['anthony@sticksnleaves.com'] spec.summary = %q{Rails models without the database (and Rails)} spec.description = %q{Create Rails style models without the database ...
7ea8b72c8b1c75e5bf862b4024648a3ac37e0c19
soulless.gemspec
soulless.gemspec
Ruby
<|file_sep|>.travis.yml.diff original: php: - 7.0 - 7.1 updated: matrix: include: - php: 7.0 - php: 7.1 - php: 7.2 env: deps=low fast_finish: true <|file_sep|>.travis.yml.diff original: - composer update --prefer-source --no-interaction updated: - phpenv config-...
language: php sudo: false matrix: include: - php: 7.0 - php: 7.1 - php: 7.2 env: deps=low fast_finish: true install: - phpenv config-rm xdebug.ini - if [[ $deps = low ]]; then composer update --prefer-lowest --prefer-stable; else composer install; fi script: - p...
<|file_sep|>.travis.yml.diff original: php: - 7.0 - 7.1 updated: matrix: include: - php: 7.0 - php: 7.1 - php: 7.2 env: deps=low fast_finish: true <|file_sep|>.travis.yml.diff original: - composer update --prefer-source --no-interaction updated: - phpenv config-...
ff2aea727d32dba7b4908e3cf06b3ba56b165853
.travis.yml
.travis.yml
YAML
<|file_sep|>original/app/components/boxel/participants-box/usage.hbs <Boxel::ParticipantsBox @addAction={{this.addAction}}> <:list> <Boxel::ParticipantList @participants={{this.sampleParticipantGroup}} /> </:list> </Boxel::ParticipantsBox> </:example> <:api as |Args|> ...
<Boxel::ParticipantsBox @addAction={{this.addAction}}> <:list> <Boxel::ParticipantList @participants={{this.sampleParticipantGroup}} /> </:list> </Boxel::ParticipantsBox> </:example> <:api as |Args|> <Args.Action @name="addAction" @value={{this.addAction...
<|file_sep|>original/app/components/boxel/participants-box/usage.hbs <Boxel::ParticipantsBox @addAction={{this.addAction}}> <:list> <Boxel::ParticipantList @participants={{this.sampleParticipantGroup}} /> </:list> </Boxel::ParticipantsBox> </:example> <:api as |Args|> ...
6c17a9b78e052cb7ef4b831289d14274c65788e1
app/components/boxel/participants-box/usage.hbs
app/components/boxel/participants-box/usage.hbs
Handlebars
<|file_sep|>original/core/app/views/refinery/admin/_make_sortable.html.erb <% content_for :after_javascript_libraries do %> <%= javascript_include_tag 'refinery/nestedsortables' %> <%= javascript_include_tag 'refinery/serializelist' %> <%= javascript_include_tag 'refinery/tree.js' %> <% end %> <% content_for :ja...
<% content_for :after_javascript_libraries do %> <%= javascript_include_tag 'refinery/nestedsortables' %> <%= javascript_include_tag 'refinery/serializelist' %> <%= javascript_include_tag 'refinery/tree.js' %> <% end %> <% content_for :javascripts do %> <script> $(document).ready(function(){ list_reo...
<|file_sep|>original/core/app/views/refinery/admin/_make_sortable.html.erb <% content_for :after_javascript_libraries do %> <%= javascript_include_tag 'refinery/nestedsortables' %> <%= javascript_include_tag 'refinery/serializelist' %> <%= javascript_include_tag 'refinery/tree.js' %> <% end %> <% content_for :ja...
26f609b70bb27c81d70f60175ac6af11ef213058
core/app/views/refinery/admin/_make_sortable.html.erb
core/app/views/refinery/admin/_make_sortable.html.erb
HTML+ERB
<|file_sep|>original/.travis.yml language: node_js sudo: false node_js: - "0.10" - "0.12" - "4" - "5" - "6" notifications: email: on_success: never <|file_sep|>current/.travis.yml language: node_js sudo: false node_js: - "0.10" - "0.12" - "4" - "5" - "6" notifications: email: on_succ...
language: node_js sudo: false node_js: - "4" - "5" - "6" notifications: email: on_success: never
<|file_sep|>original/.travis.yml language: node_js sudo: false node_js: - "0.10" - "0.12" - "4" - "5" - "6" notifications: email: on_success: never <|file_sep|>current/.travis.yml language: node_js sudo: false node_js: - "0.10" - "0.12" - "4" - "5" - "6" notifications: email: on_succ...
9f24c144f8421760e6d998e4532c955f2a28dcaf
.travis.yml
.travis.yml
YAML
<|file_sep|>original/_posts/2017-10-01-pet-project-how-to-stay-motivated.md --- layout: post image_path: img/pet_project.jpg title: "Pet Projects: How to stay motivated doing it?" published: true discussion: https://dev.to/zorexsalvo/pet-projects-how-to-stay-motivated-doing-it-3pm/comments tags: [discuss, pet, project,...
--- layout: post image_path: img/pet_project.jpg title: "Pet Projects: How to stay motivated doing it?" published: true short_description: Discussion, advice, and project showcase. discussion: https://dev.to/zorexsalvo/pet-projects-how-to-stay-motivated-doing-it-3pm/comments tags: [discuss, pet, project, productivity] ...
<|file_sep|>original/_posts/2017-10-01-pet-project-how-to-stay-motivated.md --- layout: post image_path: img/pet_project.jpg title: "Pet Projects: How to stay motivated doing it?" published: true discussion: https://dev.to/zorexsalvo/pet-projects-how-to-stay-motivated-doing-it-3pm/comments tags: [discuss, pet, project,...
ff68b960e47d44bb5488a5720a38ce0d27ddfc98
_posts/2017-10-01-pet-project-how-to-stay-motivated.md
_posts/2017-10-01-pet-project-how-to-stay-motivated.md
Markdown
<|file_sep|>docs/usage.rst.diff original: load using the ``!!python/object/apply`` YAML `tag <http://pyyaml.org/wiki/PyYAMLDocumentation#Objects>`_ with PyYAML. updated: load using ``!gryaml.node`` or ``!gryaml.rel`` YAML `local tag <http://yaml.org/spec/1.1/#local%20tag/>`_. <|file_sep|>original/docs/usage.rst ...
- 'Fooer' - properties: prop1: 'flim' - &node-bar !!python/object/apply:gryaml.node - labels: - 'Barer' - properties: prop1: 'flam' - !!python/object/apply:gryaml.rel - *node-foo - 'RELATES_TO' - ...
<|file_sep|>docs/usage.rst.diff original: load using the ``!!python/object/apply`` YAML `tag <http://pyyaml.org/wiki/PyYAMLDocumentation#Objects>`_ with PyYAML. updated: load using ``!gryaml.node`` or ``!gryaml.rel`` YAML `local tag <http://yaml.org/spec/1.1/#local%20tag/>`_. <|file_sep|>original/docs/usage.rst ...
9b55fc7a74a3045099c10fa474140eec3c7b7b32
docs/usage.rst
docs/usage.rst
reStructuredText
<|file_sep|>errors.go.diff original: updated: func (e *ConsumeError) Unwrap() error { return e.RedisErr } <|file_sep|>errors.go.diff original: updated: } func (e *HeartbeatError) Unwrap() error { return e.RedisErr <|file_sep|>original/errors.go return fmt.Sprintf("rmq.ConsumeError (%d): %s", e.Count, e.RedisErr....
func (e *HeartbeatError) Error() string { return fmt.Sprintf("rmq.HeartbeatError (%d): %s", e.Count, e.RedisErr.Error()) } func (e *HeartbeatError) Unwrap() error { return e.RedisErr } type DeliveryError struct { Delivery Delivery RedisErr error Count int // number of consecutive errors } func (e *DeliveryEr...
<|file_sep|>errors.go.diff original: updated: func (e *ConsumeError) Unwrap() error { return e.RedisErr } <|file_sep|>errors.go.diff original: updated: } func (e *HeartbeatError) Unwrap() error { return e.RedisErr <|file_sep|>original/errors.go return fmt.Sprintf("rmq.ConsumeError (%d): %s", e.Count, e.RedisErr....
6a233b9dafc81205ba22a851ab1c2d62aba9dcba
errors.go
errors.go
Go
<|file_sep|>original/pubspec.yaml name: code_transformers version: 0.1.0+2-dev author: "Dart Team <misc@dartlang.org>" description: Collection of utilities related to creating barback transformers. homepage: http://www.dartlang.org dependencies: analyzer: ">=0.13.0 <0.14.0" barback: ">=0.11.0 <0.13.0" path: ">=0....
name: code_transformers version: 0.1.1 author: "Dart Team <misc@dartlang.org>" description: Collection of utilities related to creating barback transformers. homepage: http://www.dartlang.org dependencies: analyzer: ">=0.13.0 <0.14.0" barback: ">=0.11.0 <0.13.0" path: ">=0.9.0 <2.0.0" source_maps: ">=0.9.0 <0.1...
<|file_sep|>original/pubspec.yaml name: code_transformers version: 0.1.0+2-dev author: "Dart Team <misc@dartlang.org>" description: Collection of utilities related to creating barback transformers. homepage: http://www.dartlang.org dependencies: analyzer: ">=0.13.0 <0.14.0" barback: ">=0.11.0 <0.13.0" path: ">=0....
b058e068b900261bc3beae5c01f812fd8e79909a
pubspec.yaml
pubspec.yaml
YAML
<|file_sep|>original/backend/spec/features/admin/configuration/stock_locations_spec.rb end it "can delete an existing stock location", js: true do create(:stock_location) visit current_path expect(find('#listing_stock_locations')).to have_content("NY Warehouse") accept_alert do click_icon :t...
end it "can delete an existing stock location", js: true do create(:stock_location) visit current_path expect(find('#listing_stock_locations')).to have_content("NY Warehouse") accept_alert do click_icon :trash end expect(page).to have_content('Stock Location "NY Warehouse" has been ...
<|file_sep|>original/backend/spec/features/admin/configuration/stock_locations_spec.rb end it "can delete an existing stock location", js: true do create(:stock_location) visit current_path expect(find('#listing_stock_locations')).to have_content("NY Warehouse") accept_alert do click_icon :t...
a0240d8c6ea648b0335121aa41272fa6caa5ccfb
backend/spec/features/admin/configuration/stock_locations_spec.rb
backend/spec/features/admin/configuration/stock_locations_spec.rb
Ruby
<|file_sep|>original/src/hack4lt/models.py <|file_sep|>current/src/hack4lt/models.py <|file_sep|>updated/src/hack4lt/models.py
import re from django.conf import settings from django.contrib.auth.models import AbstractBaseUser, PermissionsMixin, UserManager from django.core import validators from django.core.mail import send_mail from django.db import models from django.template.loader import render_to_string from django.utils import timezone f...
<|file_sep|>original/src/hack4lt/models.py <|file_sep|>current/src/hack4lt/models.py <|file_sep|>updated/src/hack4lt/models.py import re from django.conf import settings from django.contrib.auth.models import AbstractBaseUser, PermissionsMixin, UserManager from django.core import validators from django.core.mail impo...
b55918ee959d8b168b940f44236b9bbab6daed1c
src/hack4lt/models.py
src/hack4lt/models.py
Python
<|file_sep|>original/app/admin/formwidgets/codeeditor/codeeditor.blade.php @if ($this->previewMode) <div class="form-control-static">{!! $value !!}</div> @else <div class="field-codeeditor size-{{ $size }}" data-control="code-editor" data-mode="{{ $mode }}" data-theme="{{ $theme ...
@if ($this->previewMode) <div class="form-control-static">{!! $value !!}</div> @else <div class="field-codeeditor size-{{ $size }}" data-control="code-editor" data-mode="{{ $mode }}" data-theme="{{ $theme }}" data-line-separator="{{ $lineSeparator }}" data-read-on...
<|file_sep|>original/app/admin/formwidgets/codeeditor/codeeditor.blade.php @if ($this->previewMode) <div class="form-control-static">{!! $value !!}</div> @else <div class="field-codeeditor size-{{ $size }}" data-control="code-editor" data-mode="{{ $mode }}" data-theme="{{ $theme ...
501be693425e9ee4a500706e58afe49dc0df8954
app/admin/formwidgets/codeeditor/codeeditor.blade.php
app/admin/formwidgets/codeeditor/codeeditor.blade.php
PHP
<|file_sep|>original/scripts/build_web.sh #!/bin/bash webTag="${WEB_TAG:-v0.0.2}" realpath() { [[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}" } me=$(realpath $0) here=$(dirname $me) rootDir=${here}/.. webDir=${rootDir}/web test -d ${webDir} || git clone https://github.com/keydotcat/web.git ${webDir} ( cd ${...
#!/bin/bash webTag="${WEB_TAG:-v0.0.3}" realpath() { [[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}" } me=$(realpath $0) here=$(dirname $me) rootDir=${here}/.. webDir=${rootDir}/web test -d ${webDir} || git clone https://github.com/keydotcat/web.git ${webDir} ( cd ${webDir} git fetch [ $(git describe --abbre...
<|file_sep|>original/scripts/build_web.sh #!/bin/bash webTag="${WEB_TAG:-v0.0.2}" realpath() { [[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}" } me=$(realpath $0) here=$(dirname $me) rootDir=${here}/.. webDir=${rootDir}/web test -d ${webDir} || git clone https://github.com/keydotcat/web.git ${webDir} ( cd ${...
e37d37a1e1b61483bcc5178af26804b2df49833e
scripts/build_web.sh
scripts/build_web.sh
Shell
<|file_sep|>types/koa-cors/koa-cors-tests.ts.diff original: import KoaCors = require('koa-cors'); updated: import koaCors = require('koa-cors'); <|file_sep|>original/types/koa-cors/koa-cors-tests.ts import Koa = require('koa'); import KoaCors = require('koa-cors'); const app = new Koa(); app.use(KoaCors()); app.use(Ko...
import Koa = require('koa'); import koaCors = require('koa-cors'); const app = new Koa(); app.use(koaCors()); app.use(koaCors({ origin: '*' }));
<|file_sep|>types/koa-cors/koa-cors-tests.ts.diff original: import KoaCors = require('koa-cors'); updated: import koaCors = require('koa-cors'); <|file_sep|>original/types/koa-cors/koa-cors-tests.ts import Koa = require('koa'); import KoaCors = require('koa-cors'); const app = new Koa(); app.use(KoaCors()); app.use(Ko...
92b23eb97a86811e45982d1232151e1e9f11d4c8
types/koa-cors/koa-cors-tests.ts
types/koa-cors/koa-cors-tests.ts
TypeScript
<|file_sep|>.vscode/tasks.json.diff original: "reveal": "never" updated: "reveal": "never", "group": "buildWatchers" <|file_sep|>.vscode/tasks.json.diff original: "group": { "kind": "build" }, updated: "group": "build", ...
"label": "task-watch-viewer", "type": "npm", "script": "watch-viewer", "problemMatcher": "$tsc-watch", "isBackground": true, "presentation": { "reveal": "never", "group": "buildWatchers" }, "g...
<|file_sep|>.vscode/tasks.json.diff original: "reveal": "never" updated: "reveal": "never", "group": "buildWatchers" <|file_sep|>.vscode/tasks.json.diff original: "group": { "kind": "build" }, updated: "group": "build", ...
a064e154c2cfec3bb241b0eb91c1cb47abcb45d3
.vscode/tasks.json
.vscode/tasks.json
JSON
<|file_sep|>original/src/main/java/bench/pubsub/ZeroMQSequencer.java ZMQ.Context context = ZMQ.context(1); ZMQ.Socket publisher = context.socket(ZMQ.PUB); publisher.bind("tcp://*:5556"); //publisher.bind("ipc://weather"); ZMQ.Socket incoming = context.socket...
ZMQ.Socket publisher = context.socket(ZMQ.PUB); publisher.bind("tcp://*:5556"); //publisher.bind("ipc://weather"); ZMQ.Socket incoming = context.socket(ZMQ.PULL); incoming.bind("tcp://*:5557"); ZMQ.proxy(incoming, publisher, null); /...
<|file_sep|>original/src/main/java/bench/pubsub/ZeroMQSequencer.java ZMQ.Context context = ZMQ.context(1); ZMQ.Socket publisher = context.socket(ZMQ.PUB); publisher.bind("tcp://*:5556"); //publisher.bind("ipc://weather"); ZMQ.Socket incoming = context.socket...
164ac0ac16a293374738bbc5c32f702d732e0630
src/main/java/bench/pubsub/ZeroMQSequencer.java
src/main/java/bench/pubsub/ZeroMQSequencer.java
Java
<|file_sep|>.travis.yml.diff original: updated: # Documentation relevant to this build configuration file: # # https://docs.travis-ci.com/user/languages/java/ <|file_sep|>.travis.yml.diff original: # Seems Travis CI no longer supports openjdk6 or oraclejdk7 # https://github.com/travis-ci/travis-ci/issues/7884#issueco...
# https://docs.travis-ci.com/user/languages/java/ language: java # Travis provides different sets of JDKs for different Ubuntu distributions: # # https://docs.travis-ci.com/user/languages/java/#testing-against-multiple-jdks matrix: include: - os: linux dist: precise jdk: openjdk6 - os: linux ...
<|file_sep|>.travis.yml.diff original: updated: # Documentation relevant to this build configuration file: # # https://docs.travis-ci.com/user/languages/java/ <|file_sep|>.travis.yml.diff original: # Seems Travis CI no longer supports openjdk6 or oraclejdk7 # https://github.com/travis-ci/travis-ci/issues/7884#issueco...
578141321d77109afde462e98fee439fbe13048d
.travis.yml
.travis.yml
YAML
<|file_sep|>lib/codeclimate_ci/get_gpa.rb.diff original: retry_counter = 0 updated: <|file_sep|>lib/codeclimate_ci/get_gpa.rb.diff original: retry_counter += 1 wait_and_refresh!(retry_counter) updated: wait_and_refresh! <|file_sep|>lib/codeclimate_ci/get_gpa.rb.diff original: def wai...
private def wait_and_refresh! increment_retry_counter Report.result_not_ready(@retry_counter, @branch) refresh! sleep(sleep_time) end def increment_retry_counter @retry_counter ||= 0 @retry_counter += 1 end def retry_count CodeclimateCi.configuration...
<|file_sep|>lib/codeclimate_ci/get_gpa.rb.diff original: retry_counter = 0 updated: <|file_sep|>lib/codeclimate_ci/get_gpa.rb.diff original: retry_counter += 1 wait_and_refresh!(retry_counter) updated: wait_and_refresh! <|file_sep|>lib/codeclimate_ci/get_gpa.rb.diff original: def wai...
de56c92001d82437a3058d7436529cb7f58c9724
lib/codeclimate_ci/get_gpa.rb
lib/codeclimate_ci/get_gpa.rb
Ruby
<|file_sep|>original/azure-pipelines.yml <|file_sep|>current/azure-pipelines.yml <|file_sep|>updated/azure-pipelines.yml
# PHP # Test and package your PHP project. # Add steps that run tests, save build artifacts, deploy, and more: # https://docs.microsoft.com/azure/devops/pipelines/languages/php trigger: - master pool: vmImage: ubuntu-latest variables: phpVersion: 7.2 steps: - script: | sudo update-alternatives --set php /us...
<|file_sep|>original/azure-pipelines.yml <|file_sep|>current/azure-pipelines.yml <|file_sep|>updated/azure-pipelines.yml # PHP # Test and package your PHP project. # Add steps that run tests, save build artifacts, deploy, and more: # https://docs.microsoft.com/azure/devops/pipelines/languages/php trigger: - master ...
4906e8c1bc5209f5a0ccc2064644c31b72a50ca7
azure-pipelines.yml
azure-pipelines.yml
YAML
<|file_sep|>res/layout/letter_item_layout.xml.diff original: android:layout_height="fill_parent" updated: android:layout_height="wrap_content" <|file_sep|>original/res/layout/letter_item_layout.xml android:id="@+id/app_icon" android:layout_width="@dimen/app_icon_size" android:layout_heig...
android:id="@+id/app_icon" android:layout_width="@dimen/app_icon_size" android:layout_height="@dimen/app_icon_size" android:layout_marginRight="8dp" android:layout_marginLeft="2dp" android:layout_marginTop="2dp" android:layout_marginBottom="2dp" /> <...
<|file_sep|>res/layout/letter_item_layout.xml.diff original: android:layout_height="fill_parent" updated: android:layout_height="wrap_content" <|file_sep|>original/res/layout/letter_item_layout.xml android:id="@+id/app_icon" android:layout_width="@dimen/app_icon_size" android:layout_heig...
9a4511e2606b6be7ef71ea2476f43e7fde442a4e
res/layout/letter_item_layout.xml
res/layout/letter_item_layout.xml
XML
<|file_sep|>test/user/model.spec.coffee.diff original: updated: <|file_sep|>original/test/user/model.spec.coffee {Testing, expect, sinon, _} = require 'openstax-react-components/test/helpers' User = require 'user/model' describe 'User', -> it 'defaults to not logged in', -> expect(User.isLoggedIn()).to.be.fa...
{Testing, expect, sinon, _} = require 'openstax-react-components/test/helpers' User = require 'user/model' describe 'User', -> it 'defaults to not logged in', -> expect(User.isLoggedIn()).to.be.false it 'resets courses when destroy is called, but still emits signals', -> fakeCourse = destroy: -> ...
<|file_sep|>test/user/model.spec.coffee.diff original: updated: <|file_sep|>original/test/user/model.spec.coffee {Testing, expect, sinon, _} = require 'openstax-react-components/test/helpers' User = require 'user/model' describe 'User', -> it 'defaults to not logged in', -> expect(User.isLoggedIn()).to.be.fa...
959e98543eda4266de4c83d2edece5b110514e12
test/user/model.spec.coffee
test/user/model.spec.coffee
CoffeeScript
<|file_sep|>original/lib/rubocop/cop/unless_else.rb module Rubocop module Cop class UnlessElse < Cop ERROR_MESSAGE = 'Never use unless with else. Rewrite these with the ' + 'positive case first.' def self.portable? true end def inspect(file, source, tokens, sexp) ...
class UnlessElse < Cop ERROR_MESSAGE = 'Never use unless with else. Rewrite these with the ' + 'positive case first.' def self.portable? true end def inspect(file, source, tokens, sexp) on_node(:if, sexp) do |s| next unless s.src.respond_to?(:keyword) ...
<|file_sep|>original/lib/rubocop/cop/unless_else.rb module Rubocop module Cop class UnlessElse < Cop ERROR_MESSAGE = 'Never use unless with else. Rewrite these with the ' + 'positive case first.' def self.portable? true end def inspect(file, source, tokens, sexp) ...
1ec8996d2ee46b8609458e93f5a97b866f4a84b3
lib/rubocop/cop/unless_else.rb
lib/rubocop/cop/unless_else.rb
Ruby
<|file_sep|>original/ReactAndroid/src/main/java/com/facebook/hermes/reactexecutor/JSITracing.cpp /* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "JSITracing.h" namespace...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "JSITracing.h" namespace facebook { namespace jsi { void addNativeTracingHooks(Runtime &rt) { // Unimplemented } } // n...
<|file_sep|>original/ReactAndroid/src/main/java/com/facebook/hermes/reactexecutor/JSITracing.cpp /* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "JSITracing.h" namespace...
3508017fb3c1128b1adee06f268211f92855385a
ReactAndroid/src/main/java/com/facebook/hermes/reactexecutor/JSITracing.cpp
ReactAndroid/src/main/java/com/facebook/hermes/reactexecutor/JSITracing.cpp
C++
<|file_sep|>original/permcomb.py <|file_sep|>current/permcomb.py <|file_sep|>updated/permcomb.py
#!/usr/bin/python import itertools import sys def combination(elements,items): for combination in itertools.product(xrange(elements), repeat=items): print ''.join(map(str, combination)) if len(sys.argv) == 3: allSet = int(sys.argv[1]) setItems = int(sys.argv[2]) if allSet >= setItems: ...
<|file_sep|>original/permcomb.py <|file_sep|>current/permcomb.py <|file_sep|>updated/permcomb.py #!/usr/bin/python import itertools import sys def combination(elements,items): for combination in itertools.product(xrange(elements), repeat=items): print ''.join(map(str, combination)) if len(sys.argv) ...
f3eb1c8efbcd3695dba0037faa4f90328625f547
permcomb.py
permcomb.py
Python
<|file_sep|>original/examples/eventsource/src/eventsource_handler.erl %% @doc EventSource emitter. -module(eventsource_handler). -export([init/2]). -export([info/3]). init(Req0, Opts) -> Req = cowboy_req:stream_reply(200, #{ <<"content-type">> => <<"text/event-stream">> }, Req0), erlang:send_after(1000, self(),...
-export([init/2]). -export([info/3]). init(Req0, Opts) -> Req = cowboy_req:stream_reply(200, #{ <<"content-type">> => <<"text/event-stream">> }, Req0), erlang:send_after(1000, self(), {message, "Tick"}), {cowboy_loop, Req, Opts}. info({message, Msg}, Req, State) -> cowboy_req:stream_events(#{ id => id(), ...
<|file_sep|>original/examples/eventsource/src/eventsource_handler.erl %% @doc EventSource emitter. -module(eventsource_handler). -export([init/2]). -export([info/3]). init(Req0, Opts) -> Req = cowboy_req:stream_reply(200, #{ <<"content-type">> => <<"text/event-stream">> }, Req0), erlang:send_after(1000, self(),...
6b1db885d1b07f675e00daa641eeae2e36dbb1ba
examples/eventsource/src/eventsource_handler.erl
examples/eventsource/src/eventsource_handler.erl
Erlang
<|file_sep|>original/skel/hosts-dynamic-dns.txt # # None of the domains in this list are malicious on their own. Nolovia defaults # to blocking them due to the abuse potential, and in order to flatten what # would otherwise be hundreds of individual zones into a handful instead. # # If you need to connect to a site h...
# None of the domains in this list are malicious on their own. Nolovia defaults # to blocking them due to the abuse potential, and in order to flatten what # would otherwise be hundreds of individual zones into a handful instead. # # If you need to connect to a site hosted by one of these providers, you may # want t...
<|file_sep|>original/skel/hosts-dynamic-dns.txt # # None of the domains in this list are malicious on their own. Nolovia defaults # to blocking them due to the abuse potential, and in order to flatten what # would otherwise be hundreds of individual zones into a handful instead. # # If you need to connect to a site h...
a5a98925fcfba52cca0f21a1e4fee54e195cca71
skel/hosts-dynamic-dns.txt
skel/hosts-dynamic-dns.txt
Text
<|file_sep|>original/.travis.yml language: php php: - 7.1 services: - mysql before_install: - composer self-update install: composer install --dev before_script: - mysql -e 'create database activecollab_database_object_test' script: vendor/bin/phpunit <|file_sep|>current/.travis.yml language: php php: - 7.1 s...
language: php php: - 7.1 services: - mysql before_install: - composer self-update install: composer install --dev before_script: - mysql -u root -e 'create database activecollab_database_object_test' script: vendor/bin/phpunit
<|file_sep|>original/.travis.yml language: php php: - 7.1 services: - mysql before_install: - composer self-update install: composer install --dev before_script: - mysql -e 'create database activecollab_database_object_test' script: vendor/bin/phpunit <|file_sep|>current/.travis.yml language: php php: - 7.1 s...
35a3052592919e891a74080c73479796e3d1214a
.travis.yml
.travis.yml
YAML
<|file_sep|>original/taggert/imagemarker.py <|file_sep|>current/taggert/imagemarker.py <|file_sep|>updated/taggert/imagemarker.py
from gi.repository import Champlain class ImageMarker(Champlain.Point): def __init__(self, treeiter, filename, lat, lon, clicked): Champlain.Point.__init__(self) self.filename = filename self.treeiter = treeiter self.set_location(lat, lon) self.set_selectable(True) ...
<|file_sep|>original/taggert/imagemarker.py <|file_sep|>current/taggert/imagemarker.py <|file_sep|>updated/taggert/imagemarker.py from gi.repository import Champlain class ImageMarker(Champlain.Point): def __init__(self, treeiter, filename, lat, lon, clicked): Champlain.Point.__init__(self) self...
b5468138da2947d582e37da8bd5e3d4aa5838eac
taggert/imagemarker.py
taggert/imagemarker.py
Python
<|file_sep|>original/README.md ``` bash $ npm install lombardi ``` ## API ``` javascript var lombardi = require('lombardi'); ``` ### `lombardi(weight, reps)` Given _Number_ `weight` and _Number_ `reps`, returns the one-repetition maximum from Lombardi's formula as a _Number_. [travis]: https://travis-ci.org/K...
``` bash $ npm install lombardi ``` ## API ``` javascript var lombardi = require('lombardi'); ``` ### `lombardi(weight, reps)` Given _Number_ `weight` and _Number_ `reps`, returns the one-repetition maximum from Lombardi's formula as a _Number_. [1]: https://en.wikipedia.org/wiki/One-repetition_maximum#Lombard...
<|file_sep|>original/README.md ``` bash $ npm install lombardi ``` ## API ``` javascript var lombardi = require('lombardi'); ``` ### `lombardi(weight, reps)` Given _Number_ `weight` and _Number_ `reps`, returns the one-repetition maximum from Lombardi's formula as a _Number_. [travis]: https://travis-ci.org/K...
2454e795475603ba913b8a0c659a8f70b50e2b03
README.md
README.md
Markdown
<|file_sep|>.travis.yml.diff original: - jruby-head updated: <|file_sep|>original/.travis.yml language: ruby rvm: - 2.0 - 2.1 - 2.2 - 2.3 - ruby-head - jruby-head matrix: allow_failures: - rvm: ruby-head - rvm: jruby-head script: bin/rspec <|file_sep|>current/.travis.yml language: ruby rvm: -...
language: ruby rvm: - 2.0 - 2.1 - 2.2 - 2.3 - ruby-head matrix: allow_failures: - rvm: ruby-head script: bin/rspec
<|file_sep|>.travis.yml.diff original: - jruby-head updated: <|file_sep|>original/.travis.yml language: ruby rvm: - 2.0 - 2.1 - 2.2 - 2.3 - ruby-head - jruby-head matrix: allow_failures: - rvm: ruby-head - rvm: jruby-head script: bin/rspec <|file_sep|>current/.travis.yml language: ruby rvm: -...
e793069bd6ee7f96a5f886f1946b098bbd49cde3
.travis.yml
.travis.yml
YAML
<|file_sep|>original/database/migrations/2015_02_26_133000_add_last_visit_to_users_table.php { /** * Run the migrations. * * @return void */ public function up() { Schema::table('users', function (Blueprint $table) { $table->timestamp('last_visit'); }); } /** * Reverse the migrations. * * @r...
{ /** * Run the migrations. * * @return void */ public function up() { Schema::table('users', function (Blueprint $table) { $table->timestamp('last_visit')->nullable(); }); } /** * Reverse the migrations. * * @return void */ public function down() {
<|file_sep|>original/database/migrations/2015_02_26_133000_add_last_visit_to_users_table.php { /** * Run the migrations. * * @return void */ public function up() { Schema::table('users', function (Blueprint $table) { $table->timestamp('last_visit'); }); } /** * Reverse the migrations. * * @r...
342095bf0a7d6891811dd71c09a7884c89d2adae
database/migrations/2015_02_26_133000_add_last_visit_to_users_table.php
database/migrations/2015_02_26_133000_add_last_visit_to_users_table.php
PHP
<|file_sep|>original/spec/octokit/client_spec.rb require 'helper' describe Octokit::Client do it "should connect using the endpoint configuration" do client = Octokit::Client.new endpoint = URI.parse(client.endpoint) connection = client.send(:connection).build_url(nil).to_s connection.should == endp...
connection.should == endpoint.to_s end it 'should work with basic auth' do stub_request(:get, "https://foo%2Ftoken:bar@github.com/api/v2/json/commits/list/baz/quux/master"). with(:headers => {'Accept'=>'*/*'}). to_return(:status => 200, :body => '{"commits":[]}', :headers => {}) proc { ...
<|file_sep|>original/spec/octokit/client_spec.rb require 'helper' describe Octokit::Client do it "should connect using the endpoint configuration" do client = Octokit::Client.new endpoint = URI.parse(client.endpoint) connection = client.send(:connection).build_url(nil).to_s connection.should == endp...
afb90bafda2c595e7c4184dffc2fb9e258db6efe
spec/octokit/client_spec.rb
spec/octokit/client_spec.rb
Ruby
<|file_sep|>app/controllers/helpers.js.diff original: updated: let missingFormattedFields = missingFields.join(', '); <|file_sep|>original/app/controllers/helpers.js if (req.body.notVague === 'true') { // Now the flag won't be left hanging around req.body = {}; } else if (Object.getOwnProperty...
req.body = {}; } else if (Object.getOwnPropertyNames(req.body).length === 0) { return new Error('Possibly too vague: use notVague=true to enforce'); } return null; }, requireFields: function(req, requiredFields) { let missingFields = requiredFields.reduce(function(mf, rf) { retur...
<|file_sep|>app/controllers/helpers.js.diff original: updated: let missingFormattedFields = missingFields.join(', '); <|file_sep|>original/app/controllers/helpers.js if (req.body.notVague === 'true') { // Now the flag won't be left hanging around req.body = {}; } else if (Object.getOwnProperty...
abe4df861e2b3660c829fb33aa224a5aa45a7e7e
app/controllers/helpers.js
app/controllers/helpers.js
JavaScript
<|file_sep|>original/.travis.yml language: php php: - 5.4 - 5.5 - 5.6 before_script: - composer update --prefer-dist script: # - php ./vendor/phpunit/phpunit/phpunit - php ./vendor/phpunit/phpunit/phpunit --coverage-clover=build/logs/clover.xml after_script: - wget https://scrutinizer-ci.com/ocular.phar ...
language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 before_script: - composer update --prefer-dist script: # - php ./vendor/phpunit/phpunit/phpunit - php ./vendor/phpunit/phpunit/phpunit --coverage-clover=build/logs/clover.xml after_script: - wget https://scrutinizer-ci.com/ocular.phar - php ocular.pha...
<|file_sep|>original/.travis.yml language: php php: - 5.4 - 5.5 - 5.6 before_script: - composer update --prefer-dist script: # - php ./vendor/phpunit/phpunit/phpunit - php ./vendor/phpunit/phpunit/phpunit --coverage-clover=build/logs/clover.xml after_script: - wget https://scrutinizer-ci.com/ocular.phar ...
e829a0add875c8b0839672dcd809c947730163f8
.travis.yml
.travis.yml
YAML
<|file_sep|>docker-sample/docker-compose.yml.diff original: - DB_NAME=/data/container.db - GOOGLE_SPREADSHEET_ID=long-string-here updated: - DB_NAME=/data/sample.db - GOOGLE_SPREADSHEET_ID=1NJ90QUwSgGYwRdDmvOcxi-QKxfdmcB5IZHi9pXhu1Hw <|file_sep|>docker-sample/docker-compose.yml.diff original: updated: ...
redis: image: redis:3.0.7-alpine command: ["redis-server", "--appendonly", "yes"] web: image: cmheisel/project-status-dashboard:latest volumes: - .:/data/ ports: - "80:8000" environment: - DB_NAME=/data/sample.db - GOOGLE_SPREADSHEET_ID=1NJ90QUwSgGYwRdDmvOcxi-QKxfdmcB5IZHi9pXhu1Hw - JI...
<|file_sep|>docker-sample/docker-compose.yml.diff original: - DB_NAME=/data/container.db - GOOGLE_SPREADSHEET_ID=long-string-here updated: - DB_NAME=/data/sample.db - GOOGLE_SPREADSHEET_ID=1NJ90QUwSgGYwRdDmvOcxi-QKxfdmcB5IZHi9pXhu1Hw <|file_sep|>docker-sample/docker-compose.yml.diff original: updated: ...
5bde3d32faa2d09731f80348918c34a23ad3b9cb
docker-sample/docker-compose.yml
docker-sample/docker-compose.yml
YAML
<|file_sep|>original/requirements.txt -e git://github.com/dubirajara/django-tagulous#egg=django_tagulous dj-config-url==0.1.1 dj-database-url==0.5.0 django-crispy-forms==1.7.2 django-recaptcha==2.0.4 django-registration-redux==2.6 Django==2.2.4 djangorestframework==3.10.2 gunicorn==19.9.0 psycopg2-binary==2.8.3 python-...
-e git://github.com/dubirajara/django-tagulous#egg=django_tagulous dj-config-url==0.1.1 dj-database-url==0.5.0 django-crispy-forms==1.7.2 django-recaptcha==2.0.5 django-registration-redux==2.6 Django==2.2.4 djangorestframework==3.10.2 gunicorn==19.9.0 psycopg2-binary==2.8.3 python-decouple==3.1 social-auth-app-django==...
<|file_sep|>original/requirements.txt -e git://github.com/dubirajara/django-tagulous#egg=django_tagulous dj-config-url==0.1.1 dj-database-url==0.5.0 django-crispy-forms==1.7.2 django-recaptcha==2.0.4 django-registration-redux==2.6 Django==2.2.4 djangorestframework==3.10.2 gunicorn==19.9.0 psycopg2-binary==2.8.3 python-...
e1729ecafc0b119a235df60be1bc314b3cdcb0ec
requirements.txt
requirements.txt
Text
<|file_sep|>original/tests/wasm_bindgen/src/lib.rs extern crate wasm_bindgen; extern crate wasm_bindgen_test; use rand::rngs::StdRng; use rand::Rng; use rand::SeedableRng; use wasm_bindgen::prelude::*; use wasm_bindgen_test::*; #[wasm_bindgen] pub fn generate_from_seed(seed: u64) -> u64 { StdRng::seed_from_u64(se...
extern crate wasm_bindgen; extern crate wasm_bindgen_test; use rand::rngs::StdRng; use rand::Rng; use rand::SeedableRng; use wasm_bindgen::prelude::*; use wasm_bindgen_test::*; #[wasm_bindgen] pub fn generate_from_seed(seed: u32) -> u32 { StdRng::seed_from_u64(seed as u64).gen() } pub mod tests { use super::...
<|file_sep|>original/tests/wasm_bindgen/src/lib.rs extern crate wasm_bindgen; extern crate wasm_bindgen_test; use rand::rngs::StdRng; use rand::Rng; use rand::SeedableRng; use wasm_bindgen::prelude::*; use wasm_bindgen_test::*; #[wasm_bindgen] pub fn generate_from_seed(seed: u64) -> u64 { StdRng::seed_from_u64(se...
86f2185ed9116cfe08e08c2930bf035483e69f5c
tests/wasm_bindgen/src/lib.rs
tests/wasm_bindgen/src/lib.rs
Rust
<|file_sep|>original/README.md # !WORK IN PROGRESS # Angular Highcharts An AngularJS directive for creating Hightcharts charts. # Installing ``` bower install --save jtrusell/angular-highcharts ``` # Usage ## Generalized config options *(hang on... stuff is changing!)* ## Default Options Use `hcOptionsProvider...
# !WORK IN PROGRESS # Angular Highcharts An AngularJS directive for creating Hightcharts charts. # Installing ``` bower install --save jtrussell/angular-highcharts ``` # Usage ## Generalized config options *(hang on... stuff is changing!)* ## Default Options Use `hcOptionsProvider` provider to set default opti...
<|file_sep|>original/README.md # !WORK IN PROGRESS # Angular Highcharts An AngularJS directive for creating Hightcharts charts. # Installing ``` bower install --save jtrusell/angular-highcharts ``` # Usage ## Generalized config options *(hang on... stuff is changing!)* ## Default Options Use `hcOptionsProvider...
bbdf446f1e60ce62fe73aa7aa3ddb9ac8ecd9c5d
README.md
README.md
Markdown
<|file_sep|>original/requirements.txt Flask==1.0.2 Flask-WTF==0.14.2 Flask-Login==0.4.1 wtforms==2.1 # pyup: ignore blinker==1.4 pyexcel==0.5.8 pyexcel-io==0.5.7 pyexcel-xls==0.5.7 pyexcel-xlsx==0.5.6 pyexcel-ods3==0.5.2 pytz==2018.5 gunicorn==19.8.1 whitenoise==3.3.1 #manages static assets eventlet==0.22.1 notifica...
Flask==1.0.2 Flask-WTF==0.14.2 Flask-Login==0.4.1 wtforms==2.1 # pyup: ignore blinker==1.4 pyexcel==0.5.8 pyexcel-io==0.5.7 pyexcel-xls==0.5.7 pyexcel-xlsx==0.5.6 pyexcel-ods3==0.5.2 pytz==2018.5 gunicorn==19.8.1 whitenoise==3.3.1 #manages static assets eventlet==0.22.1 notifications-python-client==4.10.0 # PaaS aw...
<|file_sep|>original/requirements.txt Flask==1.0.2 Flask-WTF==0.14.2 Flask-Login==0.4.1 wtforms==2.1 # pyup: ignore blinker==1.4 pyexcel==0.5.8 pyexcel-io==0.5.7 pyexcel-xls==0.5.7 pyexcel-xlsx==0.5.6 pyexcel-ods3==0.5.2 pytz==2018.5 gunicorn==19.8.1 whitenoise==3.3.1 #manages static assets eventlet==0.22.1 notifica...
65159ff23b98d13ba08c2248e62054fd694c5b11
requirements.txt
requirements.txt
Text
<|file_sep|>original/README.md =================== A demo application to demonstrate writing testable code & loosely coupled code. ## Things to consider * DRY (Don't Repeat Yourself) * Dependency Injection * SOLID principles - Single Responsibility Principle (SRP) - Open/Closed Principle - Liskov substit...
A demo application to demonstrate writing testable code & loosely coupled code. ## Things to consider * DRY (Don't Repeat Yourself) * Dependency Injection * SOLID principles - Single Responsibility Principle (SRP) - Open/Closed Principle - Liskov substitution principle - Interface segregation princip...
<|file_sep|>original/README.md =================== A demo application to demonstrate writing testable code & loosely coupled code. ## Things to consider * DRY (Don't Repeat Yourself) * Dependency Injection * SOLID principles - Single Responsibility Principle (SRP) - Open/Closed Principle - Liskov substit...
7bb82aabe800276802ef9a7175df4e43f75199c2
README.md
README.md
Markdown
<|file_sep|>original/test/client_test.rb c.serial = @jaga['serial'] c.redirect_uri = device['redirect_uri'] c.access_token = device['access_token'] c.refresh_token = device['refresh_token'] c.client_id = 'aaa' c.client_secret = 'secret' c.redirect_uri = device['re...
c.redirect_uri = device['redirect_uri'] c.access_token = device['access_token'] c.refresh_token = device['refresh_token'] c.client_id = 'aaa' c.client_secret = 'secret' c.redirect_uri = device['redirect_uri'] end subscription_info = fixture('subscription_info....
<|file_sep|>original/test/client_test.rb c.serial = @jaga['serial'] c.redirect_uri = device['redirect_uri'] c.access_token = device['access_token'] c.refresh_token = device['refresh_token'] c.client_id = 'aaa' c.client_secret = 'secret' c.redirect_uri = device['re...
afb74b07076d73b80f22c98020c77f6cb25202d4
test/client_test.rb
test/client_test.rb
Ruby
<|file_sep|>.travis.yml.diff original: # build test for supported platforms updated: <|file_sep|>original/.travis.yml language: go go: - 1.6 script: # build test for supported platforms - GOOS=linux go build - GOOS=freebsd go build - GOOS=windows go build # run tests on a standard platform - go test...
language: go go: - 1.6 script: - GOOS=linux go build - GOOS=freebsd go build - GOOS=windows go build
<|file_sep|>.travis.yml.diff original: # build test for supported platforms updated: <|file_sep|>original/.travis.yml language: go go: - 1.6 script: # build test for supported platforms - GOOS=linux go build - GOOS=freebsd go build - GOOS=windows go build # run tests on a standard platform - go test...
477a9e09378ca2b87d7ff4999b2f57198ddcc70f
.travis.yml
.travis.yml
YAML
<|file_sep|>original/test/error_test.rb @da = DeviantArt.new end describe '#get_deviation' do before do @error = fixture('error_404.json') @dummyid = 'dummy-id' stub_da_request( method: :get, url: "https://#{@da.host}/api/v1/oauth2/deviation/#{@dummyid}", body: @err...
end it 'requests the correct resource' do result = @da.get_deviation(@dummyid) assert_instance_of(DeviantArt::Error, result) assert_equal(404, result.status_code) assert_equal("error", result.status) assert_equal("invalid_request", result.error) assert_equal("Api endpoint not...
<|file_sep|>original/test/error_test.rb @da = DeviantArt.new end describe '#get_deviation' do before do @error = fixture('error_404.json') @dummyid = 'dummy-id' stub_da_request( method: :get, url: "https://#{@da.host}/api/v1/oauth2/deviation/#{@dummyid}", body: @err...
94dae1c08d4bd6f59bae7fdd5db400e11e3b06b1
test/error_test.rb
test/error_test.rb
Ruby
<|file_sep|>original/.travis.yml language: node_js node_js: - '6.9' before_install: - pip install --user codecov after_success: - codecov --file coverage/lcov.info --disable search <|file_sep|>current/.travis.yml language: node_js node_js: - '6.9' before_install: - pip install --user codecov after_success: - co...
language: node_js node_js: - '6.9' before_install: - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test - sudo apt-get -qq update - sudo apt-get -qq install g++-4.8 env: - CXX=g++-4.8 before_install: - pip install --user codecov after_success: - codecov --file coverage/lcov.info --disable search
<|file_sep|>original/.travis.yml language: node_js node_js: - '6.9' before_install: - pip install --user codecov after_success: - codecov --file coverage/lcov.info --disable search <|file_sep|>current/.travis.yml language: node_js node_js: - '6.9' before_install: - pip install --user codecov after_success: - co...
9b5029a7b5fa83df459d551577fff50a7c99a52d
.travis.yml
.travis.yml
YAML
<|file_sep|>args-client-bind.pl.diff original: updated: # Syslog binds UDP socket to 127.0.0.1. <|file_sep|>args-client-bind.pl.diff original: updated: # Check that fstat contains a bound UDP socket. <|file_sep|>args-client-bind.pl.diff original: options => ["-u"], updated: options => ["-U", "127.0.0.1"], fstat =>...
use strict; use warnings; our %args = ( client => { logsock => { type => "udp", host => "127.0.0.1", port => 514 }, }, syslogd => { options => ["-U", "127.0.0.1"], fstat => 1, }, file => { loggrep => qr/ localhost syslogd-regress\[\d+\]: /. get_testlog(), }, fstat => { loggrep => qr/ ...
<|file_sep|>args-client-bind.pl.diff original: updated: # Syslog binds UDP socket to 127.0.0.1. <|file_sep|>args-client-bind.pl.diff original: updated: # Check that fstat contains a bound UDP socket. <|file_sep|>args-client-bind.pl.diff original: options => ["-u"], updated: options => ["-U", "127.0.0.1"], fstat =>...
9ebe0712d2ad035d1d12543dd67c860cb8ed4447
args-client-bind.pl
args-client-bind.pl
Perl
<|file_sep|>original/installer/roles/kubernetes/tasks/kubernetes.yml - name: Set the Kubernetes Context shell: "kubectl config set-context {{ kubernetes_context }}" - name: Get Namespace Detail shell: "kubectl get namespace {{ kubernetes_namespace }}" register: namespace_details ignore_errors: yes - name: Cre...
- name: Set the Kubernetes Context shell: "kubectl config use-context {{ kubernetes_context }}" - name: Get Namespace Detail shell: "kubectl get namespace {{ kubernetes_namespace }}" register: namespace_details ignore_errors: yes - name: Create AWX Kubernetes Project shell: "kubectl create namespace {{ kube...
<|file_sep|>original/installer/roles/kubernetes/tasks/kubernetes.yml - name: Set the Kubernetes Context shell: "kubectl config set-context {{ kubernetes_context }}" - name: Get Namespace Detail shell: "kubectl get namespace {{ kubernetes_namespace }}" register: namespace_details ignore_errors: yes - name: Cre...
b899096f999bf9338f5bc252b83fa25efa7f0a1f
installer/roles/kubernetes/tasks/kubernetes.yml
installer/roles/kubernetes/tasks/kubernetes.yml
YAML
<|file_sep|>original/.travis.yml - 5.5 - 5.6 - 7.0 - hhvm matrix: allow_failures: - php: hhvm before_install: - composer self-update install: - composer install --dev --no-interaction before_script: - bash -c 'if [ "$TRAVIS_PHP_VERSION" == "7.0" ]; then wget https://github.com/digitalkaoz/typehi...
- 5.5 - 5.6 - 7.0 - hhvm matrix: allow_failures: - php: hhvm before_install: - composer self-update install: - composer install --dev --no-interaction before_script: - bash -c 'if [ "$TRAVIS_PHP_VERSION" == "7.0" ]; then wget https://github.com/digitalkaoz/typehint-to-docblock/releases/download/...
<|file_sep|>original/.travis.yml - 5.5 - 5.6 - 7.0 - hhvm matrix: allow_failures: - php: hhvm before_install: - composer self-update install: - composer install --dev --no-interaction before_script: - bash -c 'if [ "$TRAVIS_PHP_VERSION" == "7.0" ]; then wget https://github.com/digitalkaoz/typehi...
8bc42eb958e7270815b803580fca5ff0d85a1287
.travis.yml
.travis.yml
YAML
<|file_sep|>original/app/views/guests/_index_listing.html.erb table class='table table-striped'> <thead> <tr> <th>#</th> <th><%= @guests_listing.guest_full_name_column_name %></th> <th></th> </tr> </thead> <tbody> <% @guests_listing.each do |guest_row| %> <tr> <td><%= g...
<table class='table table-striped'> <thead> <tr> <th>#</th> <th><%= @guests_listing.guest_full_name_column_name %></th> <th></th> </tr> </thead> <tbody> <% @guests_listing.each do |guest_row| %> <tr> <td><%= guest_row.row_number %></td> <td><%= guest_row.guest_f...
<|file_sep|>original/app/views/guests/_index_listing.html.erb table class='table table-striped'> <thead> <tr> <th>#</th> <th><%= @guests_listing.guest_full_name_column_name %></th> <th></th> </tr> </thead> <tbody> <% @guests_listing.each do |guest_row| %> <tr> <td><%= g...
325e4442bb851c74f4868ca32e662b01bd4fae69
app/views/guests/_index_listing.html.erb
app/views/guests/_index_listing.html.erb
HTML+ERB
<|file_sep|>name_resolution/name_resolver.rb.diff original: updated: timeout: default: 30 <|file_sep|>name_resolution/name_resolver.rb.diff original: updated: # Doesn't work :( TIMEOUT=77 <|file_sep|>original/name_resolution/name_resolver.rb needs 'resolv' OPTIONS=<<-EOS nameserver: defaul...
default: google.com timeout: default: 30 EOS # Doesn't work :( TIMEOUT=77 def build_report resolver = Resolv::DNS.new(:nameserver => [option(:nameserver)]) # Only Ruby >= 2.0.0 supports setting a timeout. # Without this DNS timeouts will raise a PluginTimeoutError if resolver.r...
<|file_sep|>name_resolution/name_resolver.rb.diff original: updated: timeout: default: 30 <|file_sep|>name_resolution/name_resolver.rb.diff original: updated: # Doesn't work :( TIMEOUT=77 <|file_sep|>original/name_resolution/name_resolver.rb needs 'resolv' OPTIONS=<<-EOS nameserver: defaul...
6c27a5bfa6d814d6cb13419e52bb7ba7396a7d30
name_resolution/name_resolver.rb
name_resolution/name_resolver.rb
Ruby
<|file_sep|>examples/mpi/CMakeLists.txt.diff original: target_link_libraries(mpitests ${Boost_LIBRARIES} ${MPI_CXX_LIBRARIES} ${OPENCL_LIBRARY}) updated: target_link_libraries(mpitests ${Boost_LIBRARIES} ${MPI_CXX_LIBRARIES} ${OPENCL_LIBRARIES} ) <|file_sep|>examples/mpi/CMakeLis...
INCLUDE_DIRECTORIES "${ODEINT};${CMAKE_SOURCE_DIR}" ) target_link_libraries(lorenz_ensemble ${Boost_LIBRARIES} ${MPI_CXX_LIBRARIES} ${OPENCL_LIBRARIES} ) add_executable(disordered_lattice disordered_lattice.cpp) set_target_...
<|file_sep|>examples/mpi/CMakeLists.txt.diff original: target_link_libraries(mpitests ${Boost_LIBRARIES} ${MPI_CXX_LIBRARIES} ${OPENCL_LIBRARY}) updated: target_link_libraries(mpitests ${Boost_LIBRARIES} ${MPI_CXX_LIBRARIES} ${OPENCL_LIBRARIES} ) <|file_sep|>examples/mpi/CMakeLis...
78dda6b42c514a90297a26934de4df8e9baad0d6
examples/mpi/CMakeLists.txt
examples/mpi/CMakeLists.txt
Text
<|file_sep|>original/CONTRIBUTING.md <|file_sep|>current/CONTRIBUTING.md <|file_sep|>updated/CONTRIBUTING.md
# Contributing Thank you for contributing! If you would like to contribute a donation, an easy way is to use PayPal to sixarm@sixarm.com. If you would like to contribute help, the next section is for you. ## Contributing to the source We love pull requests for improvments to the source code and documentation. Th...
<|file_sep|>original/CONTRIBUTING.md <|file_sep|>current/CONTRIBUTING.md <|file_sep|>updated/CONTRIBUTING.md # Contributing Thank you for contributing! If you would like to contribute a donation, an easy way is to use PayPal to sixarm@sixarm.com. If you would like to contribute help, the next section is for you. ...
e82b318d1a2f4f7af3186ab00b283e164f0f6309
CONTRIBUTING.md
CONTRIBUTING.md
Markdown
<|file_sep|>original/.travis.yml language: - node_js - python node_js: - "10" - "8" - "6" - "node" - "lts/*" services: rabbitmq before_script: - sudo pip install pre-commit <|file_sep|>current/.travis.yml language: - node_js - python node_js: - "10" - "8" - "6" - "node" - "lts/*" services:...
language: - node_js - python node_js: - "10" - "8" - "6" - "node" - "lts/*" addons: apt: packages: - rabbitmq-server services: rabbitmq before_script: - sudo pip install pre-commit
<|file_sep|>original/.travis.yml language: - node_js - python node_js: - "10" - "8" - "6" - "node" - "lts/*" services: rabbitmq before_script: - sudo pip install pre-commit <|file_sep|>current/.travis.yml language: - node_js - python node_js: - "10" - "8" - "6" - "node" - "lts/*" services:...
d8e453ee8f6b6ea67847844a44f67d854b8daa9b
.travis.yml
.travis.yml
YAML
<|file_sep|>original/website/blog/2018-12-07-version-0.119-release.md <|file_sep|>current/website/blog/2018-12-07-version-0.119-release.md <|file_sep|>updated/website/blog/2018-12-07-version-0.119-release.md
--- title: Arez 0.119 released author: Arez Project authorURL: https://github.com/arez --- [Full Changelog](https://github.com/arez/arez/compare/v0.118...v0.119) Changes in this release: * **\[core\]** Remove the concept of environments from within Arez. It was primarily used as a mechanism for integrating with ex...
<|file_sep|>original/website/blog/2018-12-07-version-0.119-release.md <|file_sep|>current/website/blog/2018-12-07-version-0.119-release.md <|file_sep|>updated/website/blog/2018-12-07-version-0.119-release.md --- title: Arez 0.119 released author: Arez Project authorURL: https://github.com/arez --- [Full Changelog](h...
0df6dd8a5050bdaf52d0f90a728ff10e0f35b03e
website/blog/2018-12-07-version-0.119-release.md
website/blog/2018-12-07-version-0.119-release.md
Markdown
<|file_sep|>test/util/user-helper.spec.js.diff original: userHelper.getDetails().then((detailsResult) => { expect(detailsResult).to.equal(expectedResult); }); updated: return userHelper.getDetails() .then(detailsResult => expect(detailsResult).to.deep.equal(expectedResult)); ...
return userHelper.getDetails() .then(detailsResult => expect(detailsResult).to.deep.equal(expectedResult)); }); }); describe('Achievements', () => { it('should return user achievements with score', () => { const expectedResult = { achievements: ['buildPickax...
<|file_sep|>test/util/user-helper.spec.js.diff original: userHelper.getDetails().then((detailsResult) => { expect(detailsResult).to.equal(expectedResult); }); updated: return userHelper.getDetails() .then(detailsResult => expect(detailsResult).to.deep.equal(expectedResult)); ...
8b032a48ef740356968b87e7eb1dacda94e807c7
test/util/user-helper.spec.js
test/util/user-helper.spec.js
JavaScript
<|file_sep|>original/doxygen/test_framework_doc.md Test Framework Documentation {#test_framework_doc} ============================ PyDoc generated documentation for the "make test" framework is available for the following releases: - [Test framework documentation for VPP 18.10](https://docs.fd.io/vpp/18.10/vpp_mak...
Test Framework Documentation {#test_framework_doc} ============================ PyDoc generated documentation for the "make test" framework is available for the following releases: - [Test framework documentation for VPP 19.01](https://docs.fd.io/vpp/19.01/vpp_make_test/html) - [Test framework documentation for VP...
<|file_sep|>original/doxygen/test_framework_doc.md Test Framework Documentation {#test_framework_doc} ============================ PyDoc generated documentation for the "make test" framework is available for the following releases: - [Test framework documentation for VPP 18.10](https://docs.fd.io/vpp/18.10/vpp_mak...
696d760865980d8191d11b562a5e431e4c4665af
doxygen/test_framework_doc.md
doxygen/test_framework_doc.md
Markdown
<|file_sep|>original/.kokoro/system_tests.sh set -eo pipefail cd github/python-docs-samples # Unencrypt and extract secrets SECRETS_PASSWORD=$(cat "${KOKORO_GFILE_DIR}/secrets-password.txt") ./scripts/decrypt-secrets.sh "${SECRETS_PASSWORD}" source ./testing/test-env.sh export GOOGLE_APPLICATION_CREDENTIALS=$(pwd)/t...
set -eo pipefail cd github/python-docs-samples # Unencrypt and extract secrets SECRETS_PASSWORD=$(cat "${KOKORO_GFILE_DIR}/secrets-password.txt") ./scripts/decrypt-secrets.sh "${SECRETS_PASSWORD}" source ./testing/test-env.sh export GOOGLE_APPLICATION_CREDENTIALS=$(pwd)/testing/service-account.json export GOOGLE_CLI...
<|file_sep|>original/.kokoro/system_tests.sh set -eo pipefail cd github/python-docs-samples # Unencrypt and extract secrets SECRETS_PASSWORD=$(cat "${KOKORO_GFILE_DIR}/secrets-password.txt") ./scripts/decrypt-secrets.sh "${SECRETS_PASSWORD}" source ./testing/test-env.sh export GOOGLE_APPLICATION_CREDENTIALS=$(pwd)/t...
43c29a9b9a38de878363008c334001c2a8139977
.kokoro/system_tests.sh
.kokoro/system_tests.sh
Shell
<|file_sep|>metadata/de.tadris.fitness.yml.diff original: updated: - versionName: '3.0' versionCode: 300 commit: v3.0 subdir: app gradle: - yes <|file_sep|>original/metadata/de.tadris.fitness.yml Repo: https://codeberg.org/jannis/FitoTrack.git Builds: - versionName: 1.0.2 versionCode: 1...
gradle: - yes - versionName: '2.1' versionCode: 210 commit: v2.1 subdir: app gradle: - yes - versionName: '3.0' versionCode: 300 commit: v3.0 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: '3.0' CurrentVersionCode:...
<|file_sep|>metadata/de.tadris.fitness.yml.diff original: updated: - versionName: '3.0' versionCode: 300 commit: v3.0 subdir: app gradle: - yes <|file_sep|>original/metadata/de.tadris.fitness.yml Repo: https://codeberg.org/jannis/FitoTrack.git Builds: - versionName: 1.0.2 versionCode: 1...
3b7826266515e0c949459584acc75b4caea05a5f
metadata/de.tadris.fitness.yml
metadata/de.tadris.fitness.yml
YAML
<|file_sep|>original/launch.sh #!/usr/bin/env bash docker run -it -v $(pwd)/mountdir:/mnt bdedeploy bash <|file_sep|>current/launch.sh #!/usr/bin/env bash docker run -it -v $(pwd)/mountdir:/mnt bdedeploy bash <|file_sep|>updated/launch.sh
#!/usr/bin/env bash docker run -it -v $(pwd)/mountdir:/mnt --net=host bdedeploy bash
<|file_sep|>original/launch.sh #!/usr/bin/env bash docker run -it -v $(pwd)/mountdir:/mnt bdedeploy bash <|file_sep|>current/launch.sh #!/usr/bin/env bash docker run -it -v $(pwd)/mountdir:/mnt bdedeploy bash <|file_sep|>updated/launch.sh #!/usr/bin/env bash docker run -it -v $(pwd)/mountdir:/mnt --net=host bdedeploy ...
e2e6f1d0da2c7b02c47d75a9857c5e6fbb58842c
launch.sh
launch.sh
Shell
<|file_sep|>original/app/views/custom/projects/project_faqs/new.html.slim .bootstrap-form = semantic_form_for [@project, ProjectFaq.new] do |form| = form.inputs do = form.input :title, as: :string = form.input :answer, as: :text, input_html: {rows: 10} = render partial: 'projects/formatting_tips...
.bootstrap-form = semantic_form_for [@project, ProjectFaq.new] do |form| = form.inputs do = form.input :title, as: :string = form.input :answer, as: :text, input_html: {rows: 10} = form.actions do = form.submit 'Create', class: "btn"
<|file_sep|>original/app/views/custom/projects/project_faqs/new.html.slim .bootstrap-form = semantic_form_for [@project, ProjectFaq.new] do |form| = form.inputs do = form.input :title, as: :string = form.input :answer, as: :text, input_html: {rows: 10} = render partial: 'projects/formatting_tips...
c82360f076fa3c900a230232e8cae54305318c8b
app/views/custom/projects/project_faqs/new.html.slim
app/views/custom/projects/project_faqs/new.html.slim
Slim
<|file_sep|>original/tensorflow_datasets/image/binary_alpha_digits_test.py from __future__ import absolute_import from __future__ import division from __future__ import print_function import tensorflow as tf from tensorflow_datasets.image import binary_alpha_digits import tensorflow_datasets.testing as tfds_test clas...
from __future__ import absolute_import from __future__ import division from __future__ import print_function import tensorflow as tf from tensorflow_datasets.image import binary_alpha_digits import tensorflow_datasets.testing as tfds_test class BinaryAlphaDigitsTest(tfds_test.DatasetBuilderTestCase): DATASET_CLAS...
<|file_sep|>original/tensorflow_datasets/image/binary_alpha_digits_test.py from __future__ import absolute_import from __future__ import division from __future__ import print_function import tensorflow as tf from tensorflow_datasets.image import binary_alpha_digits import tensorflow_datasets.testing as tfds_test clas...
04bf65fa025902f92cd80b87f95c276e32487af0
tensorflow_datasets/image/binary_alpha_digits_test.py
tensorflow_datasets/image/binary_alpha_digits_test.py
Python
<|file_sep|>original/composer.json "type": "drupal-module", "description": "Adds configurable content 'containers' to entity types (for eg.paragraphs)", "license": "MIT", "authors": [ { "name": "Wieni", "email": "info@wieni.be" } ], "require": { "p...
"type": "drupal-module", "description": "Adds configurable content 'containers' to entity types (for eg.paragraphs)", "license": "MIT", "authors": [ { "name": "Wieni", "email": "info@wieni.be" } ], "require": { "php": ">=7.1.0", "drupal/cor...
<|file_sep|>original/composer.json "type": "drupal-module", "description": "Adds configurable content 'containers' to entity types (for eg.paragraphs)", "license": "MIT", "authors": [ { "name": "Wieni", "email": "info@wieni.be" } ], "require": { "p...
38f58d56977899ddedd3a7935528532639d0ccc3
composer.json
composer.json
JSON
<|file_sep|>tests/sass/hex-length.scss.diff original: updated: // values that can't be shortened are ignored by the style:short rule <|file_sep|>original/tests/sass/hex-length.scss $foo-color: #123; .foo { background: linear-gradient(top, #cc2, #44d); color: #fff; } $bar-color: #123123; .bar { background: li...
$bar-color: #123123; .bar { background: linear-gradient(top, #cc2cc2, #44d44d); color: #ffffff; } // values that can't be shortened are ignored by the style:short rule .baz { border-color: #123456; } // color literals, rgb and hsl values currently don't get returned // by the AST's color type $qux-color: red...
<|file_sep|>tests/sass/hex-length.scss.diff original: updated: // values that can't be shortened are ignored by the style:short rule <|file_sep|>original/tests/sass/hex-length.scss $foo-color: #123; .foo { background: linear-gradient(top, #cc2, #44d); color: #fff; } $bar-color: #123123; .bar { background: li...
8f5eb228d864edc3bdd82b8807f1fd2ac7c26576
tests/sass/hex-length.scss
tests/sass/hex-length.scss
SCSS
<|file_sep|>original/zerver/migrations/0182_set_initial_value_is_private_flag.py <|file_sep|>current/zerver/migrations/0182_set_initial_value_is_private_flag.py <|file_sep|>updated/zerver/migrations/0182_set_initial_value_is_private_flag.py
# -*- coding: utf-8 -*- import sys from django.db import migrations from django.db import migrations, transaction from django.db.backends.postgresql_psycopg2.schema import DatabaseSchemaEditor from django.db.migrations.state import StateApps from django.db.models import F def set_initial_value_of_is_private_flag( ...
<|file_sep|>original/zerver/migrations/0182_set_initial_value_is_private_flag.py <|file_sep|>current/zerver/migrations/0182_set_initial_value_is_private_flag.py <|file_sep|>updated/zerver/migrations/0182_set_initial_value_is_private_flag.py # -*- coding: utf-8 -*- import sys from django.db import migrations from dja...
40fdc4724b9b4bd8471fbd5b44e28ed5d4d3aa43
zerver/migrations/0182_set_initial_value_is_private_flag.py
zerver/migrations/0182_set_initial_value_is_private_flag.py
Python
<|file_sep|>original/karyon-admin-web/README.md karyon-admin-web ====== The karyon web administration interface module. #### Guice Module [KaryonWebAdminModule](src/main/java/com/netflix/adminresources/resources/KaryonWebAdminModule.java) provides necessary guice bindings to use this web interface. See the [hello w...
karyon-admin-web ====== The karyon web administration interface module. #### Guice Module [KaryonWebAdminModule](src/main/java/com/netflix/adminresources/resources/KaryonWebAdminModule.java) provides necessary guice bindings to use this web interface. See the [hello world example](../karyon-examples/src/main/java/c...
<|file_sep|>original/karyon-admin-web/README.md karyon-admin-web ====== The karyon web administration interface module. #### Guice Module [KaryonWebAdminModule](src/main/java/com/netflix/adminresources/resources/KaryonWebAdminModule.java) provides necessary guice bindings to use this web interface. See the [hello w...
faba4f5b7e710efe4ef9c57ea25dac4916cb0fa7
karyon-admin-web/README.md
karyon-admin-web/README.md
Markdown
<|file_sep|>original/gnome-extensions.txt Removable Drive Menu Alternatetab Applications Menu Launch new instance Places Status Indicator Workspace Indicator Extensions Media player indicator Suspend Button Lock Keys Dash to Dock Impatience 'Window Is Ready' Notification Remover Dynamic Panel Transparency Caffeine Clip...
Removable Drive Menu Alternatetab Applications Menu Launch new instance Places Status Indicator Workspace Indicator Extensions Media player indicator Suspend Button Lock Keys Dash to Dock Impatience 'Window Is Ready' Notification Remover Dynamic Panel Transparency Caffeine Clipboard Indicator Desk Changer gTile TopIcon...
<|file_sep|>original/gnome-extensions.txt Removable Drive Menu Alternatetab Applications Menu Launch new instance Places Status Indicator Workspace Indicator Extensions Media player indicator Suspend Button Lock Keys Dash to Dock Impatience 'Window Is Ready' Notification Remover Dynamic Panel Transparency Caffeine Clip...
1f8f1675865b5ded4c3d7023ba4d06fecfc61e49
gnome-extensions.txt
gnome-extensions.txt
Text
<|file_sep|>original/README.md # Capstone - BTJSC This is a Capstone Project at the University of Nebraska Omaha working with Buildertrend to test Javascript Frameworks. The project will be testing the frameworks mentioned below for efficiency, documentation, and other possible metrics. After testing the frameworks a r...
# Capstone - BTJSC This is a Capstone Project at the University of Nebraska Omaha working with Buildertrend to test Javascript Frameworks. The project will be testing the frameworks mentioned below for efficiency, documentation, and other possible metrics. After testing the frameworks a recommendation will be made to o...
<|file_sep|>original/README.md # Capstone - BTJSC This is a Capstone Project at the University of Nebraska Omaha working with Buildertrend to test Javascript Frameworks. The project will be testing the frameworks mentioned below for efficiency, documentation, and other possible metrics. After testing the frameworks a r...
d364d9d15ecfeedf1ce0e57f08990847df150d68
README.md
README.md
Markdown
<|file_sep|>original/src/tooltips/Tooltips.test.js const tooltipSelector = selectors.toggleable; const tooltips = document.querySelectorAll(tooltipSelector); Tooltips.tooltip({ togglerSelector, tooltipSelector }); [...tooltips].forEach((tooltip) => { assert(Utils.isHidden(tooltip)); }); })...
const tooltipSelector = selectors.toggleable; const tooltips = document.querySelectorAll(tooltipSelector); Tooltips.tooltip({ togglerSelector, tooltipSelector }); [...tooltips].forEach((tooltip) => { assert(Utils.isHidden(tooltip)); }); }); it(`should expand on hover`, () => { const...
<|file_sep|>original/src/tooltips/Tooltips.test.js const tooltipSelector = selectors.toggleable; const tooltips = document.querySelectorAll(tooltipSelector); Tooltips.tooltip({ togglerSelector, tooltipSelector }); [...tooltips].forEach((tooltip) => { assert(Utils.isHidden(tooltip)); }); })...
3240e9df82d62fa94ffc4e1550598940ee28ba41
src/tooltips/Tooltips.test.js
src/tooltips/Tooltips.test.js
JavaScript
<|file_sep|>app/js/app/directives/equation_editor/EquationInput.js.diff original: updated: } else if (scope.questionDoc) { element.find(".eqn-preview").html("Click to enter your answer"); <|file_sep|>original/app/js/app/directives/equation_editor/EquationInput.js ...
scope.edit = function() { $rootScope.showEquationEditor(scope.state, scope.questionDoc, scope.editorMode).then(function(finalState) { scope.state = finalState; scope.$apply(); }); }; ...
<|file_sep|>app/js/app/directives/equation_editor/EquationInput.js.diff original: updated: } else if (scope.questionDoc) { element.find(".eqn-preview").html("Click to enter your answer"); <|file_sep|>original/app/js/app/directives/equation_editor/EquationInput.js ...
1b261627e3ed964727ceb98f35ea068157f1e50e
app/js/app/directives/equation_editor/EquationInput.js
app/js/app/directives/equation_editor/EquationInput.js
JavaScript
<|file_sep|>lib/knife/apply_rules.js.diff original: return rule.lint.call(rule, element, opts); updated: var issues = rule.lint.call(rule, element, opts); // apparently we can also get an issue directly, instead of an array of issues if (!Array.isArray(issues)) { ...
return []; } return lodash.flatten(rules.map(function(rule) { var issues = rule.lint.call(rule, element, opts); // apparently we can also get an issue directly, instead of an array of issues if (!Array.isArray(issues)) { issues.rule = rul...
<|file_sep|>lib/knife/apply_rules.js.diff original: return rule.lint.call(rule, element, opts); updated: var issues = rule.lint.call(rule, element, opts); // apparently we can also get an issue directly, instead of an array of issues if (!Array.isArray(issues)) { ...
f0742659c8af024a8d73bd2ea9b8fae52591b7d9
lib/knife/apply_rules.js
lib/knife/apply_rules.js
JavaScript