prompt
stringlengths
77
6.9k
completion
stringlengths
1
3.38k
text
stringlengths
163
9.03k
commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
lang
stringclasses
277 values
<|file_sep|>original/package.json { "name" : "node-trello" , "description" : "Node wrapper for Trello's HTTP API." , "tags" : ["http", "trello", "api", "web-service"] , "version" : "0.0.1" , "author" : "Luca Matteis <lmatteis@gmail.com>" , "repository" : { "type" : "git" , "url" : "http://github.com/lmatteis/node...
{ "name" : "node-trello" , "description" : "Node wrapper for Trello's HTTP API." , "tags" : ["http", "trello", "api", "web-service"] , "version" : "0.0.1" , "author" : "Luca Matteis <lmatteis@gmail.com>" , "repository" : { "type" : "git" , "url" : "http://github.com/lmatteis/node-trello.git" } , "bugs" : { "u...
<|file_sep|>original/package.json { "name" : "node-trello" , "description" : "Node wrapper for Trello's HTTP API." , "tags" : ["http", "trello", "api", "web-service"] , "version" : "0.0.1" , "author" : "Luca Matteis <lmatteis@gmail.com>" , "repository" : { "type" : "git" , "url" : "http://github.com/lmatteis/node...
c09789656985a84988c2e627a5b0ba87307f8e40
package.json
package.json
JSON
<|file_sep|>.travis.yml.diff original: updated: env: - PACKAGE_VERSION=high matrix: include: - php: 5.3.3 env: PACKAGE_VERSION=low <|file_sep|>original/.travis.yml language: php sudo: false cache: directories: - vendor php: - 5.3 - 5.4 - 5.5 - 5.6 - hhvm before_scr...
php: - 5.3 - 5.4 - 5.5 - 5.6 - hhvm env: - PACKAGE_VERSION=high matrix: include: - php: 5.3.3 env: PACKAGE_VERSION=low before_script: - composer selfupdate - if [[ "$PACKAGE_VERSION" == "high" ]]; then composer update --prefer-source; fi - if [[ "$PACKAGE_VERSION" == "...
<|file_sep|>.travis.yml.diff original: updated: env: - PACKAGE_VERSION=high matrix: include: - php: 5.3.3 env: PACKAGE_VERSION=low <|file_sep|>original/.travis.yml language: php sudo: false cache: directories: - vendor php: - 5.3 - 5.4 - 5.5 - 5.6 - hhvm before_scr...
ab2fe2fac2ab7f59b87c876cfb6bc63763bf2f9a
.travis.yml
.travis.yml
YAML
<|file_sep|>original/Resources/skeleton/bundle/bundle.mustache * (c) <yourname> <youremail> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace {{ namespace }}; use Symfony\Component\HttpKernel\Bundle\Bundle; /** * This fi...
* (c) <yourname> <youremail> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace {{ namespace }}; use Symfony\Component\HttpKernel\Bundle\Bundle; /** * This file has been generated by the EasyExtends bundle ( http://sonata-...
<|file_sep|>original/Resources/skeleton/bundle/bundle.mustache * (c) <yourname> <youremail> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace {{ namespace }}; use Symfony\Component\HttpKernel\Bundle\Bundle; /** * This fi...
bf6fd205b89add391ad9454574b11f8ad6c7f69f
Resources/skeleton/bundle/bundle.mustache
Resources/skeleton/bundle/bundle.mustache
HTML+Django
<|file_sep|>original/README.md # FromJS Understand JavaScript apps. See the code for responsible for every character on the screen. [fromjs.com](http://www.fromjs.com/) ![](https://cloud.githubusercontent.com/assets/1303660/17478187/e9b9b2bc-5d61-11e6-8645-b89574767bf4.png) ## Chrome Extension I'm working on it. ...
# FromJS [![Build Status](https://travis-ci.org/mattzeunert/fromjs.svg?branch=master)](https://travis-ci.org/mattzeunert/fromjs) Understand JavaScript apps. See the code for responsible for every character on the screen. [fromjs.com](http://www.fromjs.com/) ![](https://cloud.githubusercontent.com/assets/1303660/1747...
<|file_sep|>original/README.md # FromJS Understand JavaScript apps. See the code for responsible for every character on the screen. [fromjs.com](http://www.fromjs.com/) ![](https://cloud.githubusercontent.com/assets/1303660/17478187/e9b9b2bc-5d61-11e6-8645-b89574767bf4.png) ## Chrome Extension I'm working on it. ...
80c502a66b4f47c32d0ba14aee59532e6c3a9adf
README.md
README.md
Markdown
<|file_sep|>src/utils.go.diff original: func log_error(err error) { updated: func log_error(err error) bool { <|file_sep|>src/utils.go.diff original: log.Panic("WARNING ", err) updated: log.Printf("WARNING: %s\n", err) return true <|file_sep|>original/src/utils.go var ( now = time.Now() debugging boo...
var ( now = time.Now() debugging bool = false ) func log_error(err error) bool { if err != nil { log.Printf("WARNING: %s\n", err) return true } return false } func check_error(err error) { if err != nil { log.Fatal("ERROR ", err) } } func SetDebug(val bool) { debugging = val
<|file_sep|>src/utils.go.diff original: func log_error(err error) { updated: func log_error(err error) bool { <|file_sep|>src/utils.go.diff original: log.Panic("WARNING ", err) updated: log.Printf("WARNING: %s\n", err) return true <|file_sep|>original/src/utils.go var ( now = time.Now() debugging boo...
a91ba8a5dd44892adef1afea347bfbf352bc7e0f
src/utils.go
src/utils.go
Go
<|file_sep|>README.md.diff original: updated: ## Components TBC <|file_sep|>original/README.md - PostCSS, BEM - Handlebars - Browserify - Mocha, Chai, Sinon ## Components TBC ## Install - Install [Node.js](https://nodejs.org/) - Install [nvm](https://github.com/creationix/nvm) if required (node version v7.3.0, ...
## Tech stack - Assemble.io - Grunt - PostCSS, BEM - Handlebars - Browserify - Mocha, Chai, Sinon ## Install - Install [Node.js](https://nodejs.org/) - Install [nvm](https://github.com/creationix/nvm) if required (node version v7.3.0, npm version 3.10.10) - Install [ImageOptim](https://imageoptim.com/) desktop app...
<|file_sep|>README.md.diff original: updated: ## Components TBC <|file_sep|>original/README.md - PostCSS, BEM - Handlebars - Browserify - Mocha, Chai, Sinon ## Components TBC ## Install - Install [Node.js](https://nodejs.org/) - Install [nvm](https://github.com/creationix/nvm) if required (node version v7.3.0, ...
5ba30db80f56ea04cad2b633d888df56a3e342ea
README.md
README.md
Markdown
<|file_sep|>original/src/modules/unit/components/_view.scss } &__unit-open { color: $ui-enabled; } &__unit-marker img { height: $marker-height; } &:hover { background: $list-view-item-hover; } } } &-popup { &__content { <|file_sep|>cur...
} &__unit-open { color: $ui-enabled; } &__unit-marker img { height: $marker-height; } &__unit-name { line-height: 1; padding-bottom: 3px; } &:hover { background: $list-view-item-hover; } }
<|file_sep|>original/src/modules/unit/components/_view.scss } &__unit-open { color: $ui-enabled; } &__unit-marker img { height: $marker-height; } &:hover { background: $list-view-item-hover; } } } &-popup { &__content { <|file_sep|>cur...
25a75c92ed30cd1b67d8568338f869d0ac160463
src/modules/unit/components/_view.scss
src/modules/unit/components/_view.scss
SCSS
<|file_sep|>original/Resources/views/Users/edit.html.twig {% extends 'EDBlogBundle:Layout:blog_admin_main.html.twig' %} {% form_theme form '@EDBlog/Global/forms.html.twig' %} {% block content %} <div class="dashboard-content"> <h1 class="text--bold margin--halft margin--b">Import new blog user</h1> ...
{% extends 'EDBlogBundle:Layout:blog_admin_main.html.twig' %} {% form_theme form '@EDBlog/Global/forms.html.twig' %} {% block content %} <div class="dashboard-content"> <h1 class="text--bold margin--halft margin--b">Edit blog user</h1> <form action="{{ path('ed_blog_user_edit', { 'username' : user...
<|file_sep|>original/Resources/views/Users/edit.html.twig {% extends 'EDBlogBundle:Layout:blog_admin_main.html.twig' %} {% form_theme form '@EDBlog/Global/forms.html.twig' %} {% block content %} <div class="dashboard-content"> <h1 class="text--bold margin--halft margin--b">Import new blog user</h1> ...
5520c49d5158ea306adb46ba267ac803fa52cf88
Resources/views/Users/edit.html.twig
Resources/views/Users/edit.html.twig
Twig
<|file_sep|>original/metadata/org.ligi.satoshiproof.txt For example if your bike is damaged you can take a photo; then the app sends a small amount of bitcoins (a Satoshi) to a made-up address. If you ever need to prove when the photo was taken, the app can do so by checking the history of the Bitcoin network. . Repo ...
For example if your bike is damaged you can take a photo; then the app sends a small amount of bitcoins (a Satoshi) to a made-up address. If you ever need to prove when the photo was taken, the app can do so by checking the history of the Bitcoin network. . Repo Type:git Repo:https://github.com/ligi/SatoshiProof.git ...
<|file_sep|>original/metadata/org.ligi.satoshiproof.txt For example if your bike is damaged you can take a photo; then the app sends a small amount of bitcoins (a Satoshi) to a made-up address. If you ever need to prove when the photo was taken, the app can do so by checking the history of the Bitcoin network. . Repo ...
ac26ae7d67a648ec57829e4ff8bed1e457f8e4f5
metadata/org.ligi.satoshiproof.txt
metadata/org.ligi.satoshiproof.txt
Text
<|file_sep|>original/game/states/menu.js 'use strict'; var GameData = require('../prefabs/gamedata'); function Menu() {} Menu.prototype = { preload: function() { }, create: function() { this.game.scale.fullScreenScaleMode = Phaser.ScaleManager.SHOW_ALL; this.backgroundImage = this.game.add.sprite(0, 0, ...
'use strict'; var GameData = require('../prefabs/gamedata'); function Menu() {} Menu.prototype = { preload: function() { }, create: function() { window.scrollTo(10, 10); this.game.scale.fullScreenScaleMode = Phaser.ScaleManager.SHOW_ALL; this.backgroundImage = this.game.add.sprite(0, 0, 'menu-backgr...
<|file_sep|>original/game/states/menu.js 'use strict'; var GameData = require('../prefabs/gamedata'); function Menu() {} Menu.prototype = { preload: function() { }, create: function() { this.game.scale.fullScreenScaleMode = Phaser.ScaleManager.SHOW_ALL; this.backgroundImage = this.game.add.sprite(0, 0, ...
713c9e3b7119e985039bb604473666e3e0734082
game/states/menu.js
game/states/menu.js
JavaScript
<|file_sep|>.travis.yml.diff original: updated: --- <|file_sep|>.travis.yml.diff original: updated: <|file_sep|>original/.travis.yml language: elixir script: - bin/fetch-configlet - bin/configlet . - mix deps.get - EXERCISM_TEST_EXAMPLES=true mix test <|file_sep|>current/.travis.yml --- language: elixir scr...
--- language: elixir script: - bin/fetch-configlet - bin/configlet . - mix deps.get - EXERCISM_TEST_EXAMPLES=true mix test
<|file_sep|>.travis.yml.diff original: updated: --- <|file_sep|>.travis.yml.diff original: updated: <|file_sep|>original/.travis.yml language: elixir script: - bin/fetch-configlet - bin/configlet . - mix deps.get - EXERCISM_TEST_EXAMPLES=true mix test <|file_sep|>current/.travis.yml --- language: elixir scr...
2df835c934848deb1ca7b18863c07876c8dc92c2
.travis.yml
.travis.yml
YAML
<|file_sep|>original/vendor/refinerycms/refinerycms.rb require 'refinery' require 'core/lib/core' require 'dashboard/lib/dashboard' require 'images/lib/images' require 'pages/lib/pages' require 'resources/lib/resources' require 'settings/lib/settings' require 'authentication/lib/authentication' <|file_sep|>current/ven...
require 'refinery' # Load all dependencies generically using the same name as the folder they're in. # This is the naming convention we'll have to stick to and it also happens # to be the standard naming convention. Dir[File.expand_path("../**", __FILE__).to_s].each do |dir| if (dir = Pathname.new(dir)).directory? ...
<|file_sep|>original/vendor/refinerycms/refinerycms.rb require 'refinery' require 'core/lib/core' require 'dashboard/lib/dashboard' require 'images/lib/images' require 'pages/lib/pages' require 'resources/lib/resources' require 'settings/lib/settings' require 'authentication/lib/authentication' <|file_sep|>current/ven...
1c4e75fc0ab76e9165c10266abe48770ba9490fe
vendor/refinerycms/refinerycms.rb
vendor/refinerycms/refinerycms.rb
Ruby
<|file_sep|>server/config/route.config.js.diff original: updated: const authorize = (req, res) => { if (!req.user) { res.redirect('/'); } } <|file_sep|>original/server/config/route.config.js app .get('/', controllers.home.index) .get('/about', controllers.home.about) .get('...
module.exports = (app) => { app .get('/', controllers.home.index) .get('/about', controllers.home.about) .get('/user/register', controllers.user.register) .post('/user/register', controllers.user.create) .get('/user/login', controllers.user.login) .post('/user/login'...
<|file_sep|>server/config/route.config.js.diff original: updated: const authorize = (req, res) => { if (!req.user) { res.redirect('/'); } } <|file_sep|>original/server/config/route.config.js app .get('/', controllers.home.index) .get('/about', controllers.home.about) .get('...
8a008d13267bf2b47c6ec78f68eef85e55671197
server/config/route.config.js
server/config/route.config.js
JavaScript
<|file_sep|>original/client/app/Components/Main.jsx import React from 'react'; import Menu from './Menu.jsx'; import Session from './Session.jsx' const Main = (props) => { // console.log(props); return ( <div> <h2>I am the Main component!</h2> {/* <button className="add-comment" onClick={() => pro...
import React from 'react'; import Menu from './Menu.jsx'; import Session from './Session.jsx' const Main = (props) => { // console.log(props); return ( <div> <h2>I am the Main component!</h2> <Session showDetail={props.showDetail} hideDetail={props.hideDetail} detailV...
<|file_sep|>original/client/app/Components/Main.jsx import React from 'react'; import Menu from './Menu.jsx'; import Session from './Session.jsx' const Main = (props) => { // console.log(props); return ( <div> <h2>I am the Main component!</h2> {/* <button className="add-comment" onClick={() => pro...
42ce4afe7299e57330dfebe531729358c62c61bb
client/app/Components/Main.jsx
client/app/Components/Main.jsx
JSX
<|file_sep|>original/Engine/Extensions.cs if (newStartLineNumber < 1) { throw new ArgumentException( "Invalid line delta. Resulting start line number must be greather than 1."); } var newStartColumnNumber = extent.StartColumnNumber + c...
// TODO Add documentation public static class Extensions { public static IEnumerable<string> GetLines(this string text) { return text.Split('\n').Select(line => line.TrimEnd('\r')); } /// <summary> /// Converts IScriptExtent to Range /// </summary...
<|file_sep|>original/Engine/Extensions.cs if (newStartLineNumber < 1) { throw new ArgumentException( "Invalid line delta. Resulting start line number must be greather than 1."); } var newStartColumnNumber = extent.StartColumnNumber + c...
5d0edd323ef1e263b42eb6ea942d7ee4802d07d8
Engine/Extensions.cs
Engine/Extensions.cs
C#
<|file_sep|>original/src/App.cpp } void SuperFreeCell::AboutRequested() { BString aboutText=""; aboutText << "SuperFreeCell 0.1 \n"; aboutText << "A freecell clone for Haiku \n"; aboutText << "\n"; aboutText << "2014 Adrián Arroyo Calle <adrian.arroyocalle@gmail.com>\n"; aboutText << "Licensed under the MIT li...
} void SuperFreeCell::AboutRequested() { BString aboutText=""; aboutText << "SuperFreeCell 0.1 \n"; aboutText << "A freecell clone for Haiku \n"; aboutText << "\n"; aboutText << "2014-2015 Adrián Arroyo Calle <adrian.arroyocalle@gmail.com>\n"; aboutText << "Licensed under the MIT license\n"; BAlert* about=n...
<|file_sep|>original/src/App.cpp } void SuperFreeCell::AboutRequested() { BString aboutText=""; aboutText << "SuperFreeCell 0.1 \n"; aboutText << "A freecell clone for Haiku \n"; aboutText << "\n"; aboutText << "2014 Adrián Arroyo Calle <adrian.arroyocalle@gmail.com>\n"; aboutText << "Licensed under the MIT li...
7fad1aff19cff758bc7df7ac09cfc45bc382948d
src/App.cpp
src/App.cpp
C++
<|file_sep|>original/lib/util.js util.normalizeUrl = function (u) { return url.format(url.parse(u, true)); }; // Gets the URL to prerender from a request, stripping out unnecessary parts util.getUrl = function (req) { var decodedUrl , parts; try { decodedUrl = decodeURI(req.url); } catch...
util.normalizeUrl = function (u) { return url.format(url.parse(u, true)); }; // Gets the URL to prerender from a request, stripping out unnecessary parts util.getUrl = function (req) { var decodedUrl , parts; try { decodedUrl = decodeURIComponent(req.url); } catch (e) { decodedUr...
<|file_sep|>original/lib/util.js util.normalizeUrl = function (u) { return url.format(url.parse(u, true)); }; // Gets the URL to prerender from a request, stripping out unnecessary parts util.getUrl = function (req) { var decodedUrl , parts; try { decodedUrl = decodeURI(req.url); } catch...
39e3350117dffe2382e7e5d907f388a70ac4c89e
lib/util.js
lib/util.js
JavaScript
<|file_sep|>original/basic-syntax.md --- layout: default title: Basic Syntax description: The Markdown elements outlined in John Gruber's design document. last_modified_at: 2020-02-28 --- {% include syntax.html type="basic" syntax-id="overview" %} {% include syntax.html type="basic" syntax-id="headings" %} {% includ...
--- layout: default title: Basic Syntax description: The Markdown elements outlined in John Gruber's design document. last_modified_at: 2020-03-01 --- {% include syntax.html type="basic" syntax-id="overview" %} {% include syntax.html type="basic" syntax-id="headings" %} {% include syntax.html type="basic" syntax-id=...
<|file_sep|>original/basic-syntax.md --- layout: default title: Basic Syntax description: The Markdown elements outlined in John Gruber's design document. last_modified_at: 2020-02-28 --- {% include syntax.html type="basic" syntax-id="overview" %} {% include syntax.html type="basic" syntax-id="headings" %} {% includ...
4dc9556a2aee2e5666106b759b7617a309c8bfe3
basic-syntax.md
basic-syntax.md
Markdown
<|file_sep|>Gruntfile.js.diff original: /** * Load all grunt-tasks in 'Build/Grunt-Options'. */ updated: // Load all grunt-tasks in 'Build/Grunt-Options'. <|file_sep|>original/Gruntfile.js /** * Load all grunt-tasks in 'Build/Grunt-Options'. */ var gruntOptionsObj = require('load-grunt-configs')(grunt, { ...
// Load all grunt-tasks in 'Build/Grunt-Options'. var gruntOptionsObj = require('load-grunt-configs')(grunt, { config : { src: "Build/Grunt-Options/*.js" } }); grunt.initConfig(gruntOptionsObj); // Load all grunt-plugins that are specified in the 'package.json' file. require('matchdep').filterDev('grunt-...
<|file_sep|>Gruntfile.js.diff original: /** * Load all grunt-tasks in 'Build/Grunt-Options'. */ updated: // Load all grunt-tasks in 'Build/Grunt-Options'. <|file_sep|>original/Gruntfile.js /** * Load all grunt-tasks in 'Build/Grunt-Options'. */ var gruntOptionsObj = require('load-grunt-configs')(grunt, { ...
6562c90fbb8859189de3dd8c97e010dcb57cbbc3
Gruntfile.js
Gruntfile.js
JavaScript
<|file_sep|>original/packages/ja/javaclass.yaml <|file_sep|>current/packages/ja/javaclass.yaml <|file_sep|>updated/packages/ja/javaclass.yaml
homepage: https://github.com/NICTA/javaclass changelog-type: text hash: aefcd018308f0407d0afdb5c0a2cc12083b9ecd37b06403c5a16ad7e21a997d3 test-bench-deps: base: <5 && >=3 filepath: ! '>=1.3' doctest: ! '>=0.9.7' QuickCheck: ! '>=2.0' template-haskell: ! '>=2.8' directory: ! '>=1.1' maintainer: Tony Morris sy...
<|file_sep|>original/packages/ja/javaclass.yaml <|file_sep|>current/packages/ja/javaclass.yaml <|file_sep|>updated/packages/ja/javaclass.yaml homepage: https://github.com/NICTA/javaclass changelog-type: text hash: aefcd018308f0407d0afdb5c0a2cc12083b9ecd37b06403c5a16ad7e21a997d3 test-bench-deps: base: <5 && >=3 fi...
f3cc23d11042679a75cc45477c0d8d11862a87be
packages/ja/javaclass.yaml
packages/ja/javaclass.yaml
YAML
<|file_sep|>original/media/README.md This folder is only used for storing Media assets. You do not need this folder for running Hygieia. <|file_sep|>current/media/README.md This folder is only used for storing Media assets. You do not need this folder for running Hygieia. <|file_sep|>updated/media/README.md
This folder is only used for storing Media assets. You do not need this folder for running Hygieia℠.
<|file_sep|>original/media/README.md This folder is only used for storing Media assets. You do not need this folder for running Hygieia. <|file_sep|>current/media/README.md This folder is only used for storing Media assets. You do not need this folder for running Hygieia. <|file_sep|>updated/media/README.md This folder...
af413a4c7e53777f9028be76f69d88c37c43abd1
media/README.md
media/README.md
Markdown
<|file_sep|>original/test/files/pos/inferbroadtype.scala <|file_sep|>current/test/files/pos/inferbroadtype.scala <|file_sep|>updated/test/files/pos/inferbroadtype.scala
object Test { abstract class Base { val changesBaseClasses: Boolean } class Concrete extends Base { val changesBaseClasses = true } def getBase : Base = new Concrete var c = new Base { val changesBaseClasses = true } c = getBase }
<|file_sep|>original/test/files/pos/inferbroadtype.scala <|file_sep|>current/test/files/pos/inferbroadtype.scala <|file_sep|>updated/test/files/pos/inferbroadtype.scala object Test { abstract class Base { val changesBaseClasses: Boolean } class Concrete extends Base { val changesBaseClasses = true } def getBase...
3128d1e0e540eb914b8ca0fe22b97a1bee56580a
test/files/pos/inferbroadtype.scala
test/files/pos/inferbroadtype.scala
Scala
<|file_sep|>original/src/index.html <!doctype html> <html> <head> <meta charset="utf-8"> <title>AngularLecture</title> <base href="/"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> <link rel="style...
<!doctype html> <html> <head> <meta charset="utf-8"> <title>AngularLecture</title> <base href="/"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="theme-color" content="#6428C4"> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> <link ...
<|file_sep|>original/src/index.html <!doctype html> <html> <head> <meta charset="utf-8"> <title>AngularLecture</title> <base href="/"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> <link rel="style...
1709745f3ad442ec6b4153517e340fd5b560e842
src/index.html
src/index.html
HTML
<|file_sep|>src/test/scala/quotidian/search/DatastoreDirectorySpecs.scala.diff original: updated: import java.util.Calendar <|file_sep|>src/test/scala/quotidian/search/DatastoreDirectorySpecs.scala.diff original: "A new DatastoreDirectory" should { datastoreCleanup.before updated: "A DatastoreDirectory" should { ...
directory.renameFile(renamed,filename) directory.fileExists(filename) must be(true) directory.fileExists(renamed) must be(false) } "be able to check the fileLength of files" >> { bytes.length mustEqual directory.fileLength(filename) } "be able to check the last modified date of a file" >> { val m...
<|file_sep|>src/test/scala/quotidian/search/DatastoreDirectorySpecs.scala.diff original: updated: import java.util.Calendar <|file_sep|>src/test/scala/quotidian/search/DatastoreDirectorySpecs.scala.diff original: "A new DatastoreDirectory" should { datastoreCleanup.before updated: "A DatastoreDirectory" should { ...
fc4a5674ec49b56efe4455f53509b74f8fc277d4
src/test/scala/quotidian/search/DatastoreDirectorySpecs.scala
src/test/scala/quotidian/search/DatastoreDirectorySpecs.scala
Scala
<|file_sep|>original/include/support/android/locale_bionic.h #ifndef _LIBCPP_SUPPORT_ANDROID_LOCALE_BIONIC_H #define _LIBCPP_SUPPORT_ANDROID_LOCALE_BIONIC_H #if defined(__BIONIC__) #ifdef __cplusplus extern "C" { #endif #include <stdlib.h> #include <xlocale.h> #ifdef __cplusplus } #endif #include <support/xlocale/...
#ifndef _LIBCPP_SUPPORT_ANDROID_LOCALE_BIONIC_H #define _LIBCPP_SUPPORT_ANDROID_LOCALE_BIONIC_H #if defined(__BIONIC__) #ifdef __cplusplus extern "C" { #endif #include <stdlib.h> #include <xlocale.h> #ifdef __cplusplus } #endif #include <support/xlocale/__posix_l_fallback.h> #endif // defined(__BIONIC__) #endif ...
<|file_sep|>original/include/support/android/locale_bionic.h #ifndef _LIBCPP_SUPPORT_ANDROID_LOCALE_BIONIC_H #define _LIBCPP_SUPPORT_ANDROID_LOCALE_BIONIC_H #if defined(__BIONIC__) #ifdef __cplusplus extern "C" { #endif #include <stdlib.h> #include <xlocale.h> #ifdef __cplusplus } #endif #include <support/xlocale/...
73660f725a7479d33f5ebb1517608e4d4c9fb103
include/support/android/locale_bionic.h
include/support/android/locale_bionic.h
C
<|file_sep|>original/_posts/2017-08-01-dense-net.md --- layout: post title: Dense-Net git: https://github.com/jamigibbs/fair-split-calculator blog: 0 --- A feed-forward Neural Network library using computational gate approach supporting multiple optimizers, common activation and loss functions <|file_sep|>current/_po...
--- layout: post title: Dense-Net git: https://github.com/achyudhk/Dense-Net blog: 0 --- A feed-forward Neural Network library using computational gate approach supporting multiple optimizers, common activation and loss functions
<|file_sep|>original/_posts/2017-08-01-dense-net.md --- layout: post title: Dense-Net git: https://github.com/jamigibbs/fair-split-calculator blog: 0 --- A feed-forward Neural Network library using computational gate approach supporting multiple optimizers, common activation and loss functions <|file_sep|>current/_po...
19faf621c98996f334eb3d26c536f149bb841bd8
_posts/2017-08-01-dense-net.md
_posts/2017-08-01-dense-net.md
Markdown
<|file_sep|>src/Arkivverket.Arkade/Metadata/MetsTranslationHelper.cs.diff original: updated: using Arkivverket.Arkade.Core; <|file_sep|>src/Arkivverket.Arkade/Metadata/MetsTranslationHelper.cs.diff original: // TODO: Use Enum ExternalModels.Mets.type (not ExternalModels.Info.type) when/if supported in buil...
using Arkivverket.Arkade.Core; namespace Arkivverket.Arkade.Metadata { public static class MetsTranslationHelper { public static bool IsValidSystemType(string systemType) { return Enum.IsDefined(typeof(ArchiveType), systemType); } public static bool IsSystemTypeNoar...
<|file_sep|>src/Arkivverket.Arkade/Metadata/MetsTranslationHelper.cs.diff original: updated: using Arkivverket.Arkade.Core; <|file_sep|>src/Arkivverket.Arkade/Metadata/MetsTranslationHelper.cs.diff original: // TODO: Use Enum ExternalModels.Mets.type (not ExternalModels.Info.type) when/if supported in buil...
3b9afd7ce4881f53dffcd4ad2b85b5f5061b9ee1
src/Arkivverket.Arkade/Metadata/MetsTranslationHelper.cs
src/Arkivverket.Arkade/Metadata/MetsTranslationHelper.cs
C#
<|file_sep|>original/requirements.txt circus pyzmq redis simplejson git+git://github.com/onitu/logbook.git@master path.py <|file_sep|>current/requirements.txt circus pyzmq redis simplejson git+git://github.com/onitu/logbook.git@master path.py <|file_sep|>updated/requirements.txt
circus pyzmq redis simplejson logbook path.py
<|file_sep|>original/requirements.txt circus pyzmq redis simplejson git+git://github.com/onitu/logbook.git@master path.py <|file_sep|>current/requirements.txt circus pyzmq redis simplejson git+git://github.com/onitu/logbook.git@master path.py <|file_sep|>updated/requirements.txt circus pyzmq redis simplejson logbook pa...
ebe6bea738fd43d53f4404ba3cf671887f835dd6
requirements.txt
requirements.txt
Text
<|file_sep|>original/.travis.yml # Config file for automatic testing at travis-ci.org language: python python: - "3.3" - "2.7" - "2.6" # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors install: pip install -r requirements-test.txt # command to run tests using coverage, e.g....
# Config file for automatic testing at travis-ci.org language: python python: - "3.3" - "2.7" # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors install: pip install -r requirements-test.txt # command to run tests using coverage, e.g. python setup.py test script: coverage run ...
<|file_sep|>original/.travis.yml # Config file for automatic testing at travis-ci.org language: python python: - "3.3" - "2.7" - "2.6" # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors install: pip install -r requirements-test.txt # command to run tests using coverage, e.g....
930798ba020079e1cdf2e3461e3bc4b728887c8a
.travis.yml
.travis.yml
YAML
<|file_sep|>original/clinvar-variant-types/README.md <|file_sep|>current/clinvar-variant-types/README.md <|file_sep|>updated/clinvar-variant-types/README.md
# ClinVar data model and variant types The script in this directory parses ClinVar XML types and calculates statistics on all possible ways the variants can be represented. The results are described below. ## Running the script ```bash wget https://ftp.ncbi.nlm.nih.gov/pub/clinvar/xml/ClinVarFullRelease_00-latest.xm...
<|file_sep|>original/clinvar-variant-types/README.md <|file_sep|>current/clinvar-variant-types/README.md <|file_sep|>updated/clinvar-variant-types/README.md # ClinVar data model and variant types The script in this directory parses ClinVar XML types and calculates statistics on all possible ways the variants can be ...
c0967c8d48cad3dfbdfe5de4ebffc1e3410174fa
clinvar-variant-types/README.md
clinvar-variant-types/README.md
Markdown
<|file_sep|>original/git/util/GitUtil.sh local lockFile=$(BaseVars returnBuildDir ${1})/.git/index.lock if [ -e ${lockFile} ]; then Logger logProgressMsg "clearing_index_lock" rm -rf ${lockFile} Logger logCompletedMsg fi } getCurBranch(){ git rev-parse --abbrev-ref HEAD } listBranches(){ git...
rm -rf ${lockFile} Logger logCompletedMsg fi } getCurBranch(){ git rev-parse --abbrev-ref HEAD } getSHA(){ local length=${2} local projectDir=${1} cd ${projectDir} if [[ $(BaseComparator isEqual ${length} long) ]]; then git log --oneline --pretty=format:%H -1 elif [[ $(BaseComparator isE...
<|file_sep|>original/git/util/GitUtil.sh local lockFile=$(BaseVars returnBuildDir ${1})/.git/index.lock if [ -e ${lockFile} ]; then Logger logProgressMsg "clearing_index_lock" rm -rf ${lockFile} Logger logCompletedMsg fi } getCurBranch(){ git rev-parse --abbrev-ref HEAD } listBranches(){ git...
91d6acf31252fdf8d283758002f56908e7b4d9c8
git/util/GitUtil.sh
git/util/GitUtil.sh
Shell
<|file_sep|>app/controllers/api/braintree_controller.rb.diff original: updated: <|file_sep|>original/app/controllers/api/braintree_controller.rb else render json: { success: false, errors: result.errors } end end def subscription result = braintree::Subscription.make_subscription(subscription_o...
else render json: { success: false, errors: result.errors } end end def subscription result = braintree::Subscription.make_subscription(subscription_options) if result.success? render json: { success: true, subscription_id: result.subscription.id } else # Subscription-specific...
<|file_sep|>app/controllers/api/braintree_controller.rb.diff original: updated: <|file_sep|>original/app/controllers/api/braintree_controller.rb else render json: { success: false, errors: result.errors } end end def subscription result = braintree::Subscription.make_subscription(subscription_o...
d2c390bb5a49bbd6b1ea472886fd812f793481fe
app/controllers/api/braintree_controller.rb
app/controllers/api/braintree_controller.rb
Ruby
<|file_sep|>original/public/scripts/realtime-set-interval.js // Based on http://www.html5rocks.com/en/tutorials/workers/basics/ define(function() { var URL = window.URL || window.webkitURL if (URL && Worker && Blob) { var blobUrl = URL.createObjectURL(new Blob( ['self.onmessage = function(ev...
// Based on http://www.html5rocks.com/en/tutorials/workers/basics/ define(function() { var URL = window.URL || window.webkitURL // BlobBuilder is deprecated but Chrome for Android fails with an "Illegal constructor" // instantiating the Blob directly var BlobBuilder = window.BlobBuilder || window.WebKi...
<|file_sep|>original/public/scripts/realtime-set-interval.js // Based on http://www.html5rocks.com/en/tutorials/workers/basics/ define(function() { var URL = window.URL || window.webkitURL if (URL && Worker && Blob) { var blobUrl = URL.createObjectURL(new Blob( ['self.onmessage = function(ev...
844d4d4410b9fd73cb49a01ab1c975c3bb84d017
public/scripts/realtime-set-interval.js
public/scripts/realtime-set-interval.js
JavaScript
<|file_sep|>original/requirements.txt gitpython==2.1.5 grpc==0.3.post19 grpcio==1.4.0 grpcio-tools==1.4.0 keystoneauth1==2.21.0 kubernetes>=1.0.0 oslo.log==3.28.0 oslo.messaging==5.28.0 protobuf==3.2.0 PyYAML==3.12 requests==2.17.3 sphinx_rtd_theme supermutes==0.2.5 urllib3==1.21.1 # API falcon==1.1.0 gunicorn==19.7.1...
gitpython==2.1.5 grpc==0.3.post19 grpcio==1.6.0rc1 grpcio-tools==1.6.0rc1 keystoneauth1==2.21.0 kubernetes>=1.0.0 oslo.log==3.28.0 oslo.messaging==5.28.0 protobuf==3.2.0 PyYAML==3.12 requests==2.17.3 sphinx_rtd_theme supermutes==0.2.5 urllib3==1.21.1 # API falcon==1.1.0 gunicorn==19.7.1 # CLI cliff==2.7.0
<|file_sep|>original/requirements.txt gitpython==2.1.5 grpc==0.3.post19 grpcio==1.4.0 grpcio-tools==1.4.0 keystoneauth1==2.21.0 kubernetes>=1.0.0 oslo.log==3.28.0 oslo.messaging==5.28.0 protobuf==3.2.0 PyYAML==3.12 requests==2.17.3 sphinx_rtd_theme supermutes==0.2.5 urllib3==1.21.1 # API falcon==1.1.0 gunicorn==19.7.1...
24ead6c3039f89f0c1e07c62f62712bea6bd01e6
requirements.txt
requirements.txt
Text
<|file_sep|>original/main.c <|file_sep|>current/main.c <|file_sep|>updated/main.c
#include <unistd.h> #include <stdlib.h> #include <sys/socket.h> int main(void) { char const *server_path = "/tmp/unix_server_listener" int listener = socket(PF_UNIX, SOCK_STREAM, 0); unlink(server_path); int err = bind(listener, address); err = listen(listener, 2048); set listener close-on-fork int ...
<|file_sep|>original/main.c <|file_sep|>current/main.c <|file_sep|>updated/main.c #include <unistd.h> #include <stdlib.h> #include <sys/socket.h> int main(void) { char const *server_path = "/tmp/unix_server_listener" int listener = socket(PF_UNIX, SOCK_STREAM, 0); unlink(server_path); int err = bind(listen...
74046391a491fe30c587685b036c8509d34b9936
main.c
main.c
C
<|file_sep|>original/models/InterfaceDoc.php */ public function __construct($reflector = null, $context = null, $config = []) { parent::__construct($reflector, $context, $config); if ($reflector === null) { return; } foreach ($reflector->getParentInterfaces() a...
*/ public function __construct($reflector = null, $context = null, $config = []) { parent::__construct($reflector, $context, $config); if ($reflector === null) { return; } foreach ($reflector->getParentInterfaces() as $interface) { $this->parentInte...
<|file_sep|>original/models/InterfaceDoc.php */ public function __construct($reflector = null, $context = null, $config = []) { parent::__construct($reflector, $context, $config); if ($reflector === null) { return; } foreach ($reflector->getParentInterfaces() a...
1855afb6ad6810520925e3908994ef96ea06ae99
models/InterfaceDoc.php
models/InterfaceDoc.php
PHP
<|file_sep|>.travis.yml.diff original: updated: - 5.3 <|file_sep|>original/.travis.yml language: php php: - 5.4 install: - composer install script: - mkdir -p build/logs - phpunit --coverage-clover build/logs/clover.xml after_script: - php vendor/satooshi/php-coveralls/composer/bin/coveralls -v <|file_sep|...
language: php php: - 5.3 - 5.4 - 5.5 install: - composer install script: - mkdir -p build/logs - phpunit --coverage-clover build/logs/clover.xml after_script: - php vendor/satooshi/php-coveralls/composer/bin/coveralls -v
<|file_sep|>.travis.yml.diff original: updated: - 5.3 <|file_sep|>original/.travis.yml language: php php: - 5.4 install: - composer install script: - mkdir -p build/logs - phpunit --coverage-clover build/logs/clover.xml after_script: - php vendor/satooshi/php-coveralls/composer/bin/coveralls -v <|file_sep|...
6f6a5830fda63d9de702fe9ff28172722a6ca041
.travis.yml
.travis.yml
YAML
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties #Tue Apr 02 11:45:56 PDT 2013 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=http\://services.gradle.org/distributions/gradle-1.8-bin.zip <|file_sep|>current/gradle/wr...
#Tue Apr 02 11:45:56 PDT 2013 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=http\://services.gradle.org/distributions/gradle-1.8-all.zip
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties #Tue Apr 02 11:45:56 PDT 2013 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=http\://services.gradle.org/distributions/gradle-1.8-bin.zip <|file_sep|>current/gradle/wr...
f2b0804299f03d84f1c3e727dc3eaf5d7329cd09
gradle/wrapper/gradle-wrapper.properties
gradle/wrapper/gradle-wrapper.properties
INI
<|file_sep|>lib/kitty_events.rb.diff original: ensure_registered_event(event) handlers[event.to_sym] ||= [] handlers[event.to_sym] << handler updated: handlers = handlers_for_event! event handlers << handler <|file_sep|>lib/kitty_events.rb.diff original: ensure_registered_event(event) updated: ...
KittyEvents::HandleWorker.perform_later(event.to_s, object) end def self.events handlers.keys end def self.handle(event, object) handlers_for_event(event) { [] }.each do |handler| handler.perform_later(object) end end def self.handlers_for_event!(event) handlers_for_event(event)...
<|file_sep|>lib/kitty_events.rb.diff original: ensure_registered_event(event) handlers[event.to_sym] ||= [] handlers[event.to_sym] << handler updated: handlers = handlers_for_event! event handlers << handler <|file_sep|>lib/kitty_events.rb.diff original: ensure_registered_event(event) updated: ...
de9745831b7ae1ff3315632e303015e8a124de55
lib/kitty_events.rb
lib/kitty_events.rb
Ruby
<|file_sep|>original/teamcity_test.sh #!/bin/bash wrapper= for file in "/usr/share/virtualenvwrapper/virtualenvwrapper.sh" "/usr/local/bin/virtualenvwrapper.sh" do echo -n "Does \`${file}' exists ? " [ -f "${file}" ] && { wrapper="$file" ; echo "yes" ; } || { echo "no" ; } [ -n "${wrapper}" ] && break done...
wrapper= for file in "/usr/share/virtualenvwrapper/virtualenvwrapper.sh" "/usr/local/bin/virtualenvwrapper.sh" do echo -n "Does \`${file}' exists ? " [ -f "${file}" ] && { wrapper="$file" ; echo "yes" ; } || { echo "no" ; } [ -n "${wrapper}" ] && break done [ -z "${wrapper}" ] && { echo "Please install virt...
<|file_sep|>original/teamcity_test.sh #!/bin/bash wrapper= for file in "/usr/share/virtualenvwrapper/virtualenvwrapper.sh" "/usr/local/bin/virtualenvwrapper.sh" do echo -n "Does \`${file}' exists ? " [ -f "${file}" ] && { wrapper="$file" ; echo "yes" ; } || { echo "no" ; } [ -n "${wrapper}" ] && break done...
9e420ab4e0f500361796ba2fe4670e9231ac5bf1
teamcity_test.sh
teamcity_test.sh
Shell
<|file_sep|>wikifork-convert.py.diff original: updated: import urllib.request <|file_sep|>wikifork-convert.py.diff original: wikitext = open('wiki-fork', 'r') updated: wiki = urllib.request.urlopen("https://wiki.archlinux.org/index.php/ArchMap/List") wiki_source = wiki.read() wikitext_start = wiki_source.find(b'<pre...
output = open('output.geojson', 'w') geo_output = [] for line in wikitext: split = line.split('"') coord = split[0].strip(' ') coord = coord.split(',') name = split[1].strip() point = Point((float(coord[1]), float(coord[0]))) feature = Feature(geometry=point, properties={"Name": name}) ...
<|file_sep|>wikifork-convert.py.diff original: updated: import urllib.request <|file_sep|>wikifork-convert.py.diff original: wikitext = open('wiki-fork', 'r') updated: wiki = urllib.request.urlopen("https://wiki.archlinux.org/index.php/ArchMap/List") wiki_source = wiki.read() wikitext_start = wiki_source.find(b'<pre...
cd3c1f1fbacd4d1a113249af0faf298d5afa540f
wikifork-convert.py
wikifork-convert.py
Python
<|file_sep|>original/.circleci/config.yml --- version: 2 jobs: serverTest: docker: - image: isic/isic_test:latest - image: circleci/mongo:3.6-ram command: ["mongod", "--storageEngine", "ephemeralForTest"] working_directory: /home/circleci/project steps: - checkout: pa...
--- version: 2 jobs: serverTest: docker: - image: isic/isic_test:latest - image: circleci/mongo:3.6-ram command: ["mongod", "--storageEngine", "ephemeralForTest", "--dbpath", "/dev/shm/mongo"] working_directory: /home/circleci/project steps: - checkout: path: /home/ci...
<|file_sep|>original/.circleci/config.yml --- version: 2 jobs: serverTest: docker: - image: isic/isic_test:latest - image: circleci/mongo:3.6-ram command: ["mongod", "--storageEngine", "ephemeralForTest"] working_directory: /home/circleci/project steps: - checkout: pa...
7a3c2e8a1a5c1e4da70f8351e89a6690af4f7d2f
.circleci/config.yml
.circleci/config.yml
YAML
<|file_sep|>original/README.md opentok-whiteboard ================== Shared Whiteboard that works with OpenTok Installation ----- You can either use Bower: `bower install opentok-whiteboard` or clone this repo. Usage ----- See [demo.html](demo.html) Build ------- ``` npm install <|file_sep|>current/README.md open...
opentok-whiteboard ================== Shared Whiteboard that works with OpenTok. Demo ---- Check out a [demo of it working on meet.tokbox.com](https://meet.tokbox.com/opentok-whiteboard/whiteboard). Installation ----- You can either use Bower: `bower install opentok-whiteboard` or clone this repo. Usage ----- S...
<|file_sep|>original/README.md opentok-whiteboard ================== Shared Whiteboard that works with OpenTok Installation ----- You can either use Bower: `bower install opentok-whiteboard` or clone this repo. Usage ----- See [demo.html](demo.html) Build ------- ``` npm install <|file_sep|>current/README.md open...
b8ebfdf95c4af4e55461f6538f759f98fb2f52de
README.md
README.md
Markdown
<|file_sep|>original/config/prisons/EWI-eastwood-park.yml enabled: true estate: Eastwood Park phone: 01454 382159 slots: tue: - 1400-1500 - 1530-1630 wed: - 1400-1500 - 1530-1630 thu: - 1400-1500 - 1530-1630 fri: - 1400-1500 - 1530-1630 sat: - 1400-1500 - 1530-1630 sun: - 1400-1600 <|f...
email: socialvisits.eastwoodpark@hmps.gsi.gov.uk enabled: true estate: Eastwood Park phone: 01454 382159 slots: tue: - 1400-1500 - 1530-1630 wed: - 1400-1500 - 1530-1630 fri: - 1400-1500 - 1530-1630 sat: - 1400-1500 - 1530-1630 sun: - 1400-1600 unbookable: - 2014-12-25
<|file_sep|>original/config/prisons/EWI-eastwood-park.yml enabled: true estate: Eastwood Park phone: 01454 382159 slots: tue: - 1400-1500 - 1530-1630 wed: - 1400-1500 - 1530-1630 thu: - 1400-1500 - 1530-1630 fri: - 1400-1500 - 1530-1630 sat: - 1400-1500 - 1530-1630 sun: - 1400-1600 <|f...
90aac1674bc593b07cb09170d99198fd64a03a8e
config/prisons/EWI-eastwood-park.yml
config/prisons/EWI-eastwood-park.yml
YAML
<|file_sep|>packages/ra/rando.yaml.diff original: hash: e7db03e34c962ef8ec2087fb0bf01a84be98f7c43b1805a35ed9b32d4896f6ef test-bench-deps: {} updated: hash: e3211d7e000db4589b9f514bd96d1fd6b9436ab83aa4a6dc76fa912d83ad12d1 test-bench-deps: tf-random: -any microspec: -any base: <5 containers: -any vector: -any <...
> >>> pickOne ["lemon", "lime", "strawberry"] > "lime" :: IO String > >>> flipCoin > True > >>> shuffle [1..5] > [2,4,1,3,5] This library is in flux: names will change, types will change, functions will appear and disappear and move between modules!' license-name: GPL-3
<|file_sep|>packages/ra/rando.yaml.diff original: hash: e7db03e34c962ef8ec2087fb0bf01a84be98f7c43b1805a35ed9b32d4896f6ef test-bench-deps: {} updated: hash: e3211d7e000db4589b9f514bd96d1fd6b9436ab83aa4a6dc76fa912d83ad12d1 test-bench-deps: tf-random: -any microspec: -any base: <5 containers: -any vector: -any <...
6f3aa5ea8b4e5768eb0798e9fd08e4a5c4764e1d
packages/ra/rando.yaml
packages/ra/rando.yaml
YAML
<|file_sep|>test/amd/strict.js.diff original: global.modules = [path + '/Class.js', path + '/AbstractClass', path + '/Interface', path + '/FinalClass', path + '/instanceOf', path + '/common/hasDefineProperty']; updated: global.modules = [path + '/Class', path + '/AbstractClass', path + '/Interface', path + '/FinalClass...
/*jslint node:true, sloppy:true*/ /*globals define*/ if (!global.evaluated) { require('../util/adapter.js'); } var path = '../dist/amd/strict'; global.modules = [path + '/Class', path + '/AbstractClass', path + '/Interface', path + '/FinalClass', path + '/instanceOf', path + '/common/hasDefineProperty']; global.b...
<|file_sep|>test/amd/strict.js.diff original: global.modules = [path + '/Class.js', path + '/AbstractClass', path + '/Interface', path + '/FinalClass', path + '/instanceOf', path + '/common/hasDefineProperty']; updated: global.modules = [path + '/Class', path + '/AbstractClass', path + '/Interface', path + '/FinalClass...
713b769f7d45092df124b7c5170d9f6d5c2e7c59
test/amd/strict.js
test/amd/strict.js
JavaScript
<|file_sep|>original/recipes/fpm/meta.yaml test: commands: - fpm --version about: home: https://github.com/fortran-lang/fpm license: MIT license_family: MIT license_file: - "LICENSE" - "LICENSE-MIT.toml-f" - "LICENSE-Apache.toml-f" - "LICENSE.M_CLI2" summary: "Fortran package manager" ...
test: commands: - fpm --version about: home: https://github.com/fortran-lang/fpm license: MIT license_family: MIT license_file: - "LICENSE" - "LICENSE-MIT.toml-f" - "LICENSE-Apache.toml-f" - "LICENSE.M_CLI2" summary: "Fortran package manager" doc_url: https://fpm.fortran-lang.org de...
<|file_sep|>original/recipes/fpm/meta.yaml test: commands: - fpm --version about: home: https://github.com/fortran-lang/fpm license: MIT license_family: MIT license_file: - "LICENSE" - "LICENSE-MIT.toml-f" - "LICENSE-Apache.toml-f" - "LICENSE.M_CLI2" summary: "Fortran package manager" ...
075815223d337013251079d6d385ab83b1031f4b
recipes/fpm/meta.yaml
recipes/fpm/meta.yaml
YAML
<|file_sep|>original/app/helpers/renalware/pd_assessments_helper.rb <|file_sep|>current/app/helpers/renalware/pd_assessments_helper.rb <|file_sep|>updated/app/helpers/renalware/pd_assessments_helper.rb
module Renalware module PDAssessmentsHelper def delivery_interval_options PD::Assessment::VALID_RANGES.delivery_intervals.map do |interval| [pluralize(interval, "week"), interval] end end end end
<|file_sep|>original/app/helpers/renalware/pd_assessments_helper.rb <|file_sep|>current/app/helpers/renalware/pd_assessments_helper.rb <|file_sep|>updated/app/helpers/renalware/pd_assessments_helper.rb module Renalware module PDAssessmentsHelper def delivery_interval_options PD::Assessment::VALID_RANGES....
3fd0be1e86aa8f5763e0f12a47e5e9b7a49fc20d
app/helpers/renalware/pd_assessments_helper.rb
app/helpers/renalware/pd_assessments_helper.rb
Ruby
<|file_sep|>original/gulpfile.js // Templates gulp.task('emails', ['styles'], function() { return gulp.src(paths.emails) .pipe(jade({ pretty: true })) .pipe(inline({ applyStyleTags: false, removeStyleTags: false })) .pipe(gulp.dest('dist')...
// Templates gulp.task('emails', ['styles'], function() { return gulp.src(paths.emails) .pipe(jade({ pretty: true })) .pipe(inline({ applyStyleTags: false, removeStyleTags: false })) .pipe(gulp.dest('dist')); }); // Watch gulp.task('watch...
<|file_sep|>original/gulpfile.js // Templates gulp.task('emails', ['styles'], function() { return gulp.src(paths.emails) .pipe(jade({ pretty: true })) .pipe(inline({ applyStyleTags: false, removeStyleTags: false })) .pipe(gulp.dest('dist')...
60671a4e9d366d81f67b2d13d75b7eef1e49317e
gulpfile.js
gulpfile.js
JavaScript
<|file_sep|>client/src/app/_services/permission.service.ts.diff original: import {Injectable} from '@angular/core'; import {HttpClient} from '@angular/common/http'; import {Permission} from '../_models'; updated: import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { Per...
import 'rxjs/add/observable/throw'; import 'rxjs/add/operator/catch'; import { Observable } from 'rxjs'; import { NgxPermissionsService } from 'ngx-permissions'; @Injectable() export class PermissionService { constructor(private http: HttpClient, private ngxPermissions: NgxPermissionsService) {} ...
<|file_sep|>client/src/app/_services/permission.service.ts.diff original: import {Injectable} from '@angular/core'; import {HttpClient} from '@angular/common/http'; import {Permission} from '../_models'; updated: import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { Per...
7d3b9a5e92bfffdcd05a258935bc863d43dd3116
client/src/app/_services/permission.service.ts
client/src/app/_services/permission.service.ts
TypeScript
<|file_sep|>app/code/community/Hackathon/AsyncIndex/Model/Manager.php.diff original: updated: $indexMode = 'schedule'; $pendingMode = 'pending'; //Fallback for 1.6.2 installations > Undefined class constant 'MODE_SCHEDULE' $refl = new ReflectionClass('Mage_Index_Model_Process'); ...
if ( in_array('MODE_SCHEDULE', $refl->getConstants() ) ) { $pendingMode = Mage_Index_Model_Process::STATUS_PENDING; } try { $process->setMode($indexMode); $process->indexEvents(); if ( count(Mage::getResourceSingleton('index/event'...
<|file_sep|>app/code/community/Hackathon/AsyncIndex/Model/Manager.php.diff original: updated: $indexMode = 'schedule'; $pendingMode = 'pending'; //Fallback for 1.6.2 installations > Undefined class constant 'MODE_SCHEDULE' $refl = new ReflectionClass('Mage_Index_Model_Process'); ...
ff7a158d5eb25b8568d1efa7758b553121bf003c
app/code/community/Hackathon/AsyncIndex/Model/Manager.php
app/code/community/Hackathon/AsyncIndex/Model/Manager.php
PHP
<|file_sep|>original/spec/scanner_spec.rb require_relative '../lib/abcing/scanner.rb' describe ABCing::Scanner do it 'scans' do params = { app_directories: [], test_directories: [] } scanner = ABCing::Scanner.new(params) end context 'Does not scan' do it 'raises an error when supplied with nil param...
require_relative '../lib/abcing/scanner.rb' describe ABCing::Scanner do it 'scans' do params = { app_directories: [], test_directories: [] } scanner = ABCing::Scanner.new(params) end context 'Raises an error' do it 'when supplied with nil params' do expect { ABCing::Scanner.new(nil) }.to raise...
<|file_sep|>original/spec/scanner_spec.rb require_relative '../lib/abcing/scanner.rb' describe ABCing::Scanner do it 'scans' do params = { app_directories: [], test_directories: [] } scanner = ABCing::Scanner.new(params) end context 'Does not scan' do it 'raises an error when supplied with nil param...
118b341786d46af3344631cb47c2ee9385db1d8b
spec/scanner_spec.rb
spec/scanner_spec.rb
Ruby
<|file_sep|>original/tests/runtests.sh #!/bin/bash let "suc = 0" let "fail = 0" NUMTEST=79 for (( tno = 1 ; $tno <= $NUMTEST ; tno = $tno + 1 )); do ./testCheck.sh $tno if [ "$?" -eq "0" ]; then echo "OK" let "suc = $(($suc + 1))" else echo "FAIL" let "fail = $(($fail + 1))" fi done let "...
#!/bin/bash let "suc = 0" let "fail = 0" NUMTEST=82 for (( tno = 1 ; $tno <= $NUMTEST ; tno = $tno + 1 )); do ./testCheck.sh $tno if [ "$?" -eq "0" ]; then echo "OK" let "suc = $(($suc + 1))" else echo "FAIL" let "fail = $(($fail + 1))" fi done let "total = $(($suc + $fail))" echo "======...
<|file_sep|>original/tests/runtests.sh #!/bin/bash let "suc = 0" let "fail = 0" NUMTEST=79 for (( tno = 1 ; $tno <= $NUMTEST ; tno = $tno + 1 )); do ./testCheck.sh $tno if [ "$?" -eq "0" ]; then echo "OK" let "suc = $(($suc + 1))" else echo "FAIL" let "fail = $(($fail + 1))" fi done let "...
f41dcb5ce3d063c9fe95623193bba693338f3edb
tests/runtests.sh
tests/runtests.sh
Shell
<|file_sep|>test/runner.js.diff original: var exec = promisify("child_process").exec; updated: // Have to wrap exec, since it has a weird callback signature. var exec = promisify(function(command, callback) { return require("child_process").exec(command, callback); }); <|file_sep|>test/runner.js.diff original: upd...
before(function(done) { this.timeout(5000); var url = "https://github.com/nodegit/nodegit"; var done = done.bind(null, null); fs.exists("test/repos").then(function() { return fs.mkdir("test/repos").then(function() { return exec("git init test/repos/empty"); }).then(function() { return exe...
<|file_sep|>test/runner.js.diff original: var exec = promisify("child_process").exec; updated: // Have to wrap exec, since it has a weird callback signature. var exec = promisify(function(command, callback) { return require("child_process").exec(command, callback); }); <|file_sep|>test/runner.js.diff original: upd...
63e3b1f8fced28d7a15a0f588ef3ae1127bd1daa
test/runner.js
test/runner.js
JavaScript
<|file_sep|>original/package.json "version": "0.1.0", "author": "Christian Bundy", "description": "A machine learning content aggregator in Meteor.", "contributors": [ { "name": "Christian Bundy", "email": "me@christianbundy.com.com" } ], "scripts": { "start": "meteor --production --...
"version": "0.1.0", "author": "Christian Bundy", "description": "A machine learning content aggregator in Meteor.", "contributors": [ { "name": "Christian Bundy", "email": "me@christianbundy.com.com" } ], "scripts": { "start": "mrt --production --settings settings/development.json", ...
<|file_sep|>original/package.json "version": "0.1.0", "author": "Christian Bundy", "description": "A machine learning content aggregator in Meteor.", "contributors": [ { "name": "Christian Bundy", "email": "me@christianbundy.com.com" } ], "scripts": { "start": "meteor --production --...
fde62e4f199e5e4a5c1fb2237b3a31d2e32ba7dd
package.json
package.json
JSON
<|file_sep|>tool/travis.sh.diff original: updated: # Verify Dart 2.0 strict mode compatibility. if [ "${TRAVIS_DART_VERSION}" = "dev" ]; then echo "Verifying Dart 2.0 strict mode ..." dart --preview-dart-2 test/all_tests.dart fi <|file_sep|>original/tool/travis.sh #!/bin/bash # Fast fail the script on failures. ...
#!/bin/bash # Fast fail the script on failures. set -e # Verify Dart 2.0 strict mode compatibility. if [ "${TRAVIS_DART_VERSION}" = "dev" ]; then echo "Verifying Dart 2.0 strict mode ..." dart --preview-dart-2 test/all_tests.dart fi # Verify the coverage of the tests. if [ "${COVERALLS_TOKEN}" ] && [ "${TRAVIS_D...
<|file_sep|>tool/travis.sh.diff original: updated: # Verify Dart 2.0 strict mode compatibility. if [ "${TRAVIS_DART_VERSION}" = "dev" ]; then echo "Verifying Dart 2.0 strict mode ..." dart --preview-dart-2 test/all_tests.dart fi <|file_sep|>original/tool/travis.sh #!/bin/bash # Fast fail the script on failures. ...
f77a27938f03102c8167a86e9b04b18b89ed8572
tool/travis.sh
tool/travis.sh
Shell
<|file_sep|>original/_design/relify/views/by_from/map.js function(doc) { if ('links' in doc && 'from' in doc) { emit([doc.from, doc.rel, doc.url], (doc.method === 'LINK' ? 1 : -1)); } } <|file_sep|>current/_design/relify/views/by_from/map.js function(doc) { if ('links' in doc && 'from' in doc) { emit([doc...
function(doc) { if ('links' in doc) { for(var i= 0; i < doc.links.length; i++) { emit([doc.from, doc.links[i].rel, doc.links[i].href], (doc.method === 'LINK' ? 1 : -1)); } } }
<|file_sep|>original/_design/relify/views/by_from/map.js function(doc) { if ('links' in doc && 'from' in doc) { emit([doc.from, doc.rel, doc.url], (doc.method === 'LINK' ? 1 : -1)); } } <|file_sep|>current/_design/relify/views/by_from/map.js function(doc) { if ('links' in doc && 'from' in doc) { emit([doc...
76fa3c602efcb76f97a6b4319ccb38bbd795c770
_design/relify/views/by_from/map.js
_design/relify/views/by_from/map.js
JavaScript
<|file_sep|>original/views/subject2/movements.jade extends ../subject2 block subject-details div.column-two-thirds if (subject.movements && subject.movements.length !== 0) each val,index in subject.movements div.grid-row.list-row.listItem div.column-full(clas...
extends ../subject2 block subject-details div.column-two-thirds if (subject.movements && subject.movements.length !== 0) each val,index in subject.movements div.grid-row.list-row.listItem div.column-full(class="movement-type-#{val.type}") ...
<|file_sep|>original/views/subject2/movements.jade extends ../subject2 block subject-details div.column-two-thirds if (subject.movements && subject.movements.length !== 0) each val,index in subject.movements div.grid-row.list-row.listItem div.column-full(clas...
a19563ff97165deccb3039f73c4934808df07ef2
views/subject2/movements.jade
views/subject2/movements.jade
Jade
<|file_sep|>original/packages/te/text-builder.yaml <|file_sep|>current/packages/te/text-builder.yaml <|file_sep|>updated/packages/te/text-builder.yaml
homepage: https://github.com/nikita-volkov/text-builder changelog-type: '' hash: 7ef9a34269b6a83bcb0593542cb462c372edc0f21cbfa9e072ab8c3a0400a87a test-bench-deps: tasty-smallcheck: ==0.8.* rerebase: ==1.* criterion: ==1.1.* quickcheck-instances: ! '>=0.3.11 && <0.4' tasty-quickcheck: ==0.8.* tasty-hunit: ==...
<|file_sep|>original/packages/te/text-builder.yaml <|file_sep|>current/packages/te/text-builder.yaml <|file_sep|>updated/packages/te/text-builder.yaml homepage: https://github.com/nikita-volkov/text-builder changelog-type: '' hash: 7ef9a34269b6a83bcb0593542cb462c372edc0f21cbfa9e072ab8c3a0400a87a test-bench-deps: ta...
cd12d7f4b45b4dc876f9c7477d1db90ed7985766
packages/te/text-builder.yaml
packages/te/text-builder.yaml
YAML
<|file_sep|>original/lib/spree_multi_domain/testing_support/factory_overrides.rb FactoryGirl.modify do # Products need to belong to the same store as the order. factory :line_item do after(:build) do |line_item, evaluator| if line_item.order.store && line_item.product.stores.empty? line_item.produ...
FactoryBot.modify do # Products need to belong to the same store as the order. factory :line_item do after(:build) do |line_item, evaluator| if line_item.order.store && line_item.product.stores.empty? line_item.product.stores << line_item.order.store end end end end
<|file_sep|>original/lib/spree_multi_domain/testing_support/factory_overrides.rb FactoryGirl.modify do # Products need to belong to the same store as the order. factory :line_item do after(:build) do |line_item, evaluator| if line_item.order.store && line_item.product.stores.empty? line_item.produ...
815cc55a0575b31ea8e2507d56c40ec7ea85d1f3
lib/spree_multi_domain/testing_support/factory_overrides.rb
lib/spree_multi_domain/testing_support/factory_overrides.rb
Ruby
<|file_sep|>original/src/ATPAdvertising/View/Helper/Adsense.php namespace ATPAdvertising\View\Helper; class Adsense extends \ATP\View\Helper { public function __invoke($id) { $ad = new \ATPAdvertising\Model\AdsenseAd(); $ad->loadByIdentifier($id); return " <script async src=\"//pagead2.googlesyndication....
namespace ATPAdvertising\View\Helper; class Adsense extends \ATP\View\Helper { public function __invoke($id) { $ad = new \ATPAdvertising\Model\AdsenseAd(); $ad->loadByIdentifier($id); return " <script async src=\"//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js\"></script> <ins class=\"adsbygo...
<|file_sep|>original/src/ATPAdvertising/View/Helper/Adsense.php namespace ATPAdvertising\View\Helper; class Adsense extends \ATP\View\Helper { public function __invoke($id) { $ad = new \ATPAdvertising\Model\AdsenseAd(); $ad->loadByIdentifier($id); return " <script async src=\"//pagead2.googlesyndication....
9e0fd53b4cf4ad6115756390efa7cc6837cb8ac1
src/ATPAdvertising/View/Helper/Adsense.php
src/ATPAdvertising/View/Helper/Adsense.php
PHP
<|file_sep|>.github/workflows/javaformat.yaml.diff original: - name: Set up JDK 8 updated: - name: Set up JDK 11 <|file_sep|>original/.github/workflows/javaformat.yaml jobs: format: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up JDK 8 uses: actions/s...
jobs: format: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up JDK 11 uses: actions/setup-java@v1 with: java-version: 11 - name: Download google-java-format 1.8 run: wget -q https://github.com/google/google-java-format/releases/down...
<|file_sep|>.github/workflows/javaformat.yaml.diff original: - name: Set up JDK 8 updated: - name: Set up JDK 11 <|file_sep|>original/.github/workflows/javaformat.yaml jobs: format: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up JDK 8 uses: actions/s...
282be912e6bbf5e0bf9b021c11338e383cb17678
.github/workflows/javaformat.yaml
.github/workflows/javaformat.yaml
YAML
<|file_sep|>app/controllers/renalware/users_controller.rb.diff original: # Note we rely on template inheritance with this MDM Base class i.e. subclasses (e.g. # HD::MDMPatientsController) can override templates and partials (e.g. add a _filters partial # or override the _patient partial to replace what is displayed in ...
require_dependency "renalware" module Renalware class UsersController < BaseController include Pagy::Backend def index query = params.fetch(:q, {}) query[:s] ||= "family_name" search = User .includes(:roles) .where.not(username: [:rwdev, :systemuser]) .where(hidden...
<|file_sep|>app/controllers/renalware/users_controller.rb.diff original: # Note we rely on template inheritance with this MDM Base class i.e. subclasses (e.g. # HD::MDMPatientsController) can override templates and partials (e.g. add a _filters partial # or override the _patient partial to replace what is displayed in ...
66e619d86005c04e5be2e4b0162b2f15b04ea48f
app/controllers/renalware/users_controller.rb
app/controllers/renalware/users_controller.rb
Ruby
<|file_sep|>original/plugins/distribution/controllers/myprofile/distribution_plugin_supplier_controller.rb class DistributionPluginSupplierController < DistributionPluginMyprofileController no_design_blocks before_filter :set_admin_action, :only => [:index] before_filter :load_new, :only => [:index, :new] def...
class DistributionPluginSupplierController < DistributionPluginMyprofileController no_design_blocks before_filter :set_admin_action, :only => [:index] before_filter :load_new, :only => [:index, :new] def index params['name'] = "" if params['name'].blank? @suppliers = @node.suppliers.with_name(params['...
<|file_sep|>original/plugins/distribution/controllers/myprofile/distribution_plugin_supplier_controller.rb class DistributionPluginSupplierController < DistributionPluginMyprofileController no_design_blocks before_filter :set_admin_action, :only => [:index] before_filter :load_new, :only => [:index, :new] def...
4183528c835daab3815cbc3ea50b98246613fa2c
plugins/distribution/controllers/myprofile/distribution_plugin_supplier_controller.rb
plugins/distribution/controllers/myprofile/distribution_plugin_supplier_controller.rb
Ruby
<|file_sep|>original/cookbooks/wt_roadrunner/metadata.rb name 'wt_roadrunner' maintainer "Kendrick" maintainer_email "kendrick.martin@webtrends.com" license "All rights reserved" description "Installs/Configures Roadrunner service" long_description IO.read(File.join(File.dirname(__FILE__), 'README.r...
name 'wt_roadrunner' maintainer "Kendrick" maintainer_email "kendrick.martin@webtrends.com" license "All rights reserved" description "Installs/Configures Roadrunner service" long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc')) version "0.10.31" supports "wind...
<|file_sep|>original/cookbooks/wt_roadrunner/metadata.rb name 'wt_roadrunner' maintainer "Kendrick" maintainer_email "kendrick.martin@webtrends.com" license "All rights reserved" description "Installs/Configures Roadrunner service" long_description IO.read(File.join(File.dirname(__FILE__), 'README.r...
e6370ddfab970a27283abc3183aae5c86ead5a55
cookbooks/wt_roadrunner/metadata.rb
cookbooks/wt_roadrunner/metadata.rb
Ruby
<|file_sep|>original/ex43.py <|file_sep|>current/ex43.py <|file_sep|>updated/ex43.py
class Scene(object): def enter(self): pass class Engine(object): def __init__(self, scene_map): pass def play(self): pass class Death(Scene): def enter(self): pass class CentralCorridor(Scene): def enter(self):
<|file_sep|>original/ex43.py <|file_sep|>current/ex43.py <|file_sep|>updated/ex43.py class Scene(object): def enter(self): pass class Engine(object): def __init__(self, scene_map): pass def play(self): pass class Death(Scene): def enter(self): pass class CentralC...
c13d90c3feeec531ee9ad4a3d9346390782cba7c
ex43.py
ex43.py
Python
<|file_sep|>original/requirements_dev.txt pip==8.1.2 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.0.4 tox==2.3.1 coverage==4.2 Sphinx==1.4.8 cryptography==1.5.2 PyYAML==3.12 pytest==3.0.3 <|file_sep|>current/requirements_dev.txt pip==8.1.2 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.0.4 tox...
pip==8.1.2 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.0.4 tox==2.3.1 coverage==4.2 Sphinx==1.4.8 cryptography==1.5.2 PyYAML==3.12 pytest==3.0.5
<|file_sep|>original/requirements_dev.txt pip==8.1.2 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.0.4 tox==2.3.1 coverage==4.2 Sphinx==1.4.8 cryptography==1.5.2 PyYAML==3.12 pytest==3.0.3 <|file_sep|>current/requirements_dev.txt pip==8.1.2 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.0.4 tox...
42ef637a71e870e625868f36fe21aa41e8630fc7
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>metadata/com.kolloware.hypezigapp.yml.diff original: updated: - versionName: '1.5' versionCode: 14 commit: v1.5 subdir: app gradle: - yes <|file_sep|>original/metadata/com.kolloware.hypezigapp.yml Repo: https://gitlab.com/intergalacticsuperhero/hypezig.git Builds: - versionName:...
gradle: - yes - versionName: '1.2' versionCode: 12 commit: v1.2 subdir: app gradle: - yes - versionName: '1.5' versionCode: 14 commit: v1.5 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags v\d+\.\d+(\.\d+)? CurrentVersion: '1.5' Cur...
<|file_sep|>metadata/com.kolloware.hypezigapp.yml.diff original: updated: - versionName: '1.5' versionCode: 14 commit: v1.5 subdir: app gradle: - yes <|file_sep|>original/metadata/com.kolloware.hypezigapp.yml Repo: https://gitlab.com/intergalacticsuperhero/hypezig.git Builds: - versionName:...
8389bcabf303f2bde77eb045579f9146a89fb7e6
metadata/com.kolloware.hypezigapp.yml
metadata/com.kolloware.hypezigapp.yml
YAML
<|file_sep|>test/fixtures/addresses.yml.diff original: updated: address_type: individual <|file_sep|>test/fixtures/addresses.yml.diff original: updated: address_type: individual <|file_sep|>test/fixtures/addresses.yml.diff original: updated: address_type: individual <|file_sep|>original/test/fixtures/addresses...
address_type: individual home_phone: '312-555-1234' alsip: address1: '456 Maple Ave.' city: 'Alsip' state: 'IL' zip: '60803' address_type: individual home_phone: '708-111-2222' tinley_park: address1: '789 Oakland Pl.' city: 'Tinley Park' state: 'IL' address_type: individual zip: '60477' pho...
<|file_sep|>test/fixtures/addresses.yml.diff original: updated: address_type: individual <|file_sep|>test/fixtures/addresses.yml.diff original: updated: address_type: individual <|file_sep|>test/fixtures/addresses.yml.diff original: updated: address_type: individual <|file_sep|>original/test/fixtures/addresses...
d33bff95b44da05b426da8a6973212a550164ecf
test/fixtures/addresses.yml
test/fixtures/addresses.yml
YAML
<|file_sep|>original/.ci-deploy-settings.xml <|file_sep|>current/.ci-deploy-settings.xml <|file_sep|>updated/.ci-deploy-settings.xml
<?xml version="1.0" encoding="UTF-8"?> <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> <localRepository/> <interactiveM...
<|file_sep|>original/.ci-deploy-settings.xml <|file_sep|>current/.ci-deploy-settings.xml <|file_sep|>updated/.ci-deploy-settings.xml <?xml version="1.0" encoding="UTF-8"?> <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://mave...
ef6b18795ab3d774e19f62e953ef59f550cc711b
.ci-deploy-settings.xml
.ci-deploy-settings.xml
XML
<|file_sep|>original/src/xp.cert/commands/Update_MacOSX.cs { count++; Console.Write('.'); } writer.WriteLine(e.Data); }; proc.BeginOutputReadLine(); ...
count++; Console.Write('.'); } writer.WriteLine(e.Data); }; proc.BeginOutputReadLine(); proc.WaitForExit(); Console.WriteLine("]"); ...
<|file_sep|>original/src/xp.cert/commands/Update_MacOSX.cs { count++; Console.Write('.'); } writer.WriteLine(e.Data); }; proc.BeginOutputReadLine(); ...
f7049c22acd1054e3b7c919635ad93b36316198e
src/xp.cert/commands/Update_MacOSX.cs
src/xp.cert/commands/Update_MacOSX.cs
C#
<|file_sep|>original/.travis.yml sudo: false language: python python: - "2.6" - "2.7" - "3.4" - "3.5" - "3.6" - "3.7-dev" - "pypy" - "pypy3" # bleeding edge versions - "nightly" install: true matrix: fast_finish: true allow_failures: - python: "nightly" install: - pip install . script: <|fil...
sudo: false language: python python: - "2.6" - "2.7" - "3.4" - "3.5" - "3.6" - "3.7" - "3.8" - "3.9" - "3.10" - "pypy" - "pypy3" # bleeding edge versions - "nightly" install: true matrix: fast_finish: true allow_failures: - python: "nightly"
<|file_sep|>original/.travis.yml sudo: false language: python python: - "2.6" - "2.7" - "3.4" - "3.5" - "3.6" - "3.7-dev" - "pypy" - "pypy3" # bleeding edge versions - "nightly" install: true matrix: fast_finish: true allow_failures: - python: "nightly" install: - pip install . script: <|fil...
727fafe87732df8f3257558082cf8b182f216574
.travis.yml
.travis.yml
YAML
<|file_sep|>lib/rrj/rabbit/publish.rb.diff original: updated: # Define options to message pusblishing in queue # @return [Hash] <|file_sep|>original/lib/rrj/rabbit/publish.rb content_type: 'application/json' } end end # @author VAILLANT Jeremy <jeremy.vaillant@dazzl.tv> ...
end end # @author VAILLANT Jeremy <jeremy.vaillant@dazzl.tv> class PublishReply < Publish # Define echange and create an reply queue def initialize(exchange) @reply = exchange.queue('', exclusive: true) super end private # Define options to message pusb...
<|file_sep|>lib/rrj/rabbit/publish.rb.diff original: updated: # Define options to message pusblishing in queue # @return [Hash] <|file_sep|>original/lib/rrj/rabbit/publish.rb content_type: 'application/json' } end end # @author VAILLANT Jeremy <jeremy.vaillant@dazzl.tv> ...
1cff3d432765cef1215cb5fea51f1973396615ee
lib/rrj/rabbit/publish.rb
lib/rrj/rabbit/publish.rb
Ruby
<|file_sep|>layouts/post/single.html.diff original: {{ if .Prev }} updated: {{ if and .Prev (eq .Prev.Type "post") }} <|file_sep|>original/layouts/post/single.html <div class="pagination pure-g"> <div class="pure-u-1 pure-u-md-1-2"> <nav> {{ if .Prev }} <a href="{{ .Prev.Perm...
<div class="pagination pure-g"> <div class="pure-u-1 pure-u-md-1-2"> <nav> {{ if and .Prev (eq .Prev.Type "post") }} <a href="{{ .Prev.Permalink }}"><i class="fa fa-arrow-circle-left fa-fw fa-lg"></i>&nbsp;{{ .Prev.Title }}</a> {{ end }} </nav> </div> <div class="pure-u...
<|file_sep|>layouts/post/single.html.diff original: {{ if .Prev }} updated: {{ if and .Prev (eq .Prev.Type "post") }} <|file_sep|>original/layouts/post/single.html <div class="pagination pure-g"> <div class="pure-u-1 pure-u-md-1-2"> <nav> {{ if .Prev }} <a href="{{ .Prev.Perm...
b53e3f9e6681e7f3eaade48f86c34d0e54c222c0
layouts/post/single.html
layouts/post/single.html
HTML
<|file_sep|>original/api/README.md # DRAFT # # OpenShift v3 REST API (Alpha) ## Viewing the documentation ## Clone this repository and open oov3.html locally on your browser ## Generating the API document Use [raml2html](https://www.npmjs.org/package/raml2html): ``` $ raml2html -i oov3.raml -o oov3.html ``` For addi...
# DRAFT # # OpenShift v3 REST API (Alpha) ## Viewing the documentation ## Use htmlpreview for github with a URL like: [https://rawgit.com/openshift/origin/master/api/oov3.html] (https://rawgit.com/openshift/origin/master/api/oov3.html) ## Generating the API document Use [raml2html](https://www.npmjs.org/package/raml...
<|file_sep|>original/api/README.md # DRAFT # # OpenShift v3 REST API (Alpha) ## Viewing the documentation ## Clone this repository and open oov3.html locally on your browser ## Generating the API document Use [raml2html](https://www.npmjs.org/package/raml2html): ``` $ raml2html -i oov3.raml -o oov3.html ``` For addi...
d663f5a35a2d09fa140fcec40699b3f22e8b6425
api/README.md
api/README.md
Markdown
<|file_sep|>original/webpack.config.js ], output: { path: path.join(__dirname, '/build/'), publicPath: '/public/assets/js/', filename: 'app.js', }, devtool: 'eval-source-map', devServer: { contentBase: 'public', historyApiFallback: false, stat...
], output: { path: path.join(__dirname, '/build/'), publicPath: '/public/assets/js/', filename: 'app.js', }, devtool: 'eval-source-map', devServer: { contentBase: 'public', historyApiFallback: false }, module: { loaders: [ { ...
<|file_sep|>original/webpack.config.js ], output: { path: path.join(__dirname, '/build/'), publicPath: '/public/assets/js/', filename: 'app.js', }, devtool: 'eval-source-map', devServer: { contentBase: 'public', historyApiFallback: false, stat...
ba9b586cd4567b739cbe94e51b47e1f933ae1242
webpack.config.js
webpack.config.js
JavaScript
<|file_sep|>config/src/main/scala/ems/Config.scala.diff original: updated: import scala.util.Properties <|file_sep|>config/src/main/scala/ems/Config.scala.diff original: updated: private val APP_HOME = Properties.envOrElse("APP_HOME", Properties.propOrElse("APP_HOME", ".")) <|file_sep|>config/src/main/scala/ems/Co...
inis( "classpath:config.ini", "file:/opt/jb/ems-redux/config.ini", s"file:$APP_HOME/etc/config.ini" ) )) } val server: ServerConfig = ServerConfig( constretto[File]("server.binary"), constretto[String]("server.mongo"), constretto.get[String]("server.root").map(UR...
<|file_sep|>config/src/main/scala/ems/Config.scala.diff original: updated: import scala.util.Properties <|file_sep|>config/src/main/scala/ems/Config.scala.diff original: updated: private val APP_HOME = Properties.envOrElse("APP_HOME", Properties.propOrElse("APP_HOME", ".")) <|file_sep|>config/src/main/scala/ems/Co...
3a9b8ab4667f879390bfe90ce191c38f43d1f801
config/src/main/scala/ems/Config.scala
config/src/main/scala/ems/Config.scala
Scala
<|file_sep|>original/docusaurus/docs/adding-typescript.md --- id: adding-typescript title: Adding TypeScript --- [TypeScript](https://www.typescriptlang.org/) is a typed superset of JavaScript that compiles to plain JavaScript. To add [TypeScript](https://www.typescriptlang.org/) to a Create React App project, first ...
--- id: adding-typescript title: Adding TypeScript --- > Note: this feature is available with `react-scripts@2.1.0` and higher. [TypeScript](https://www.typescriptlang.org/) is a typed superset of JavaScript that compiles to plain JavaScript. To add [TypeScript](https://www.typescriptlang.org/) to a Create React App...
<|file_sep|>original/docusaurus/docs/adding-typescript.md --- id: adding-typescript title: Adding TypeScript --- [TypeScript](https://www.typescriptlang.org/) is a typed superset of JavaScript that compiles to plain JavaScript. To add [TypeScript](https://www.typescriptlang.org/) to a Create React App project, first ...
b6e4cc70aacf4a1493c55b6e0bec46439a003d9f
docusaurus/docs/adding-typescript.md
docusaurus/docs/adding-typescript.md
Markdown
<|file_sep|>original/app/src/main/res/layout/activity_topic_gallery_item_load_more.xml android:id="@+id/load_more_button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@drawable/bg_load_more" android:padding="@dimen/load_more_padding"> <TextView android:id...
android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@drawable/bg_load_more" android:padding="@dimen/load_more_padding"> <TextView android:id="@+id/load_more_label" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_...
<|file_sep|>original/app/src/main/res/layout/activity_topic_gallery_item_load_more.xml android:id="@+id/load_more_button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@drawable/bg_load_more" android:padding="@dimen/load_more_padding"> <TextView android:id...
f7dde535e8e6b2532a6566bc5fa63147ea7ac7bf
app/src/main/res/layout/activity_topic_gallery_item_load_more.xml
app/src/main/res/layout/activity_topic_gallery_item_load_more.xml
XML
<|file_sep|>original/install/brew-cask.sh qlcolorcode \ qlstephen \ betterzipql \ qlimagesize \ qlvideo \ google-chrome \ atom \ docker \ docker-toolbox \ alfred \ vlc \ spectacle \ bartender \ appzapper \ boom \ dashlane \ dropbox \ iterm2 \ slack \ steam \ unrarx \ <|file_sep...
qlcolorcode \ # Quick-look Finder plugin qlstephen \ # Quick-look Finder plugin betterzipql \ # Quick-look Finder plugin qlimagesize \ # Quick-look Finder plugin qlvideo \ # Quick-look Finder plugin ...
<|file_sep|>original/install/brew-cask.sh qlcolorcode \ qlstephen \ betterzipql \ qlimagesize \ qlvideo \ google-chrome \ atom \ docker \ docker-toolbox \ alfred \ vlc \ spectacle \ bartender \ appzapper \ boom \ dashlane \ dropbox \ iterm2 \ slack \ steam \ unrarx \ <|file_sep...
67cde1dcc4a2f70ef016b17aa3581433087cfd44
install/brew-cask.sh
install/brew-cask.sh
Shell
<|file_sep|>original/requirements.txt molecule==2.6.0 pytest==3.3.2 python-vagrant==0.5.15 testinfra==1.10.1 tox==2.9.1 <|file_sep|>current/requirements.txt molecule==2.6.0 pytest==3.3.2 python-vagrant==0.5.15 testinfra==1.10.1 tox==2.9.1 <|file_sep|>updated/requirements.txt
molecule==2.7.0 pytest==3.3.2 python-vagrant==0.5.15 testinfra==1.10.1 tox==2.9.1
<|file_sep|>original/requirements.txt molecule==2.6.0 pytest==3.3.2 python-vagrant==0.5.15 testinfra==1.10.1 tox==2.9.1 <|file_sep|>current/requirements.txt molecule==2.6.0 pytest==3.3.2 python-vagrant==0.5.15 testinfra==1.10.1 tox==2.9.1 <|file_sep|>updated/requirements.txt molecule==2.7.0 pytest==3.3.2 python-vagrant...
b85504a66da6f9f46dca0a98cd1094117a2adf0d
requirements.txt
requirements.txt
Text
<|file_sep|>original/addon/components/tinymce-editor.js }), // Initialize tinymce initTiny: on('didInsertElement', observer('options', function() { let {options, editor} = this.getProperties('options', 'editor'); let customOptions = { selector: `#${this.get('elementId')}`, init_instance_call...
this.set('editor', editor); this.get('editor').setContent(this.get('value') || ''); //Set content with default text }, }; if (editor){ editor.destroy(); } tinymce.init(Ember.$.extend( customOptions, options )); })), // Destroy tinymce editor instance when editor is rem...
<|file_sep|>original/addon/components/tinymce-editor.js }), // Initialize tinymce initTiny: on('didInsertElement', observer('options', function() { let {options, editor} = this.getProperties('options', 'editor'); let customOptions = { selector: `#${this.get('elementId')}`, init_instance_call...
d38670f5cd6b718d1e85e17ea4b93534ea327b27
addon/components/tinymce-editor.js
addon/components/tinymce-editor.js
JavaScript
<|file_sep|>original/.github/workflows/lint.yml <|file_sep|>current/.github/workflows/lint.yml <|file_sep|>updated/.github/workflows/lint.yml
name: Tests on: ['pull_request', 'push'] jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: shivammathur/setup-php@v2 with: php-version: 7.4 - uses: ramsey/composer-install@v1 - run: composer lint
<|file_sep|>original/.github/workflows/lint.yml <|file_sep|>current/.github/workflows/lint.yml <|file_sep|>updated/.github/workflows/lint.yml name: Tests on: ['pull_request', 'push'] jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: shivammathur/setup-php@v2 ...
3ee64f6eea7308d7538f2f9aad8944b6292ca886
.github/workflows/lint.yml
.github/workflows/lint.yml
YAML
<|file_sep|>original/README.md ``` brew install redis ``` Clone this repository, and: ``` bundle install bundle exec rails db:migrate RAILS_ENV=development redis-server rails server open http://localhost:3000 ``` You should be able to chat like this: ![c7ERfXIREG.gif](https://qiita-image-store.s3.amazonaws.com/0/74...
bundle exec rails db:migrate RAILS_ENV=development redis-server rails server open http://localhost:3000 ``` You should be able to chat like this: ![c7ERfXIREG.gif](https://qiita-image-store.s3.amazonaws.com/0/7465/b58e0bc4-eb80-3176-9baf-3009323c4485.gif "c7ERfXIREG.gif") ### Deploy to Heroku ``` heroku create hero...
<|file_sep|>original/README.md ``` brew install redis ``` Clone this repository, and: ``` bundle install bundle exec rails db:migrate RAILS_ENV=development redis-server rails server open http://localhost:3000 ``` You should be able to chat like this: ![c7ERfXIREG.gif](https://qiita-image-store.s3.amazonaws.com/0/74...
75c703a29541109b31a53cf95c53e9d4ee244bb6
README.md
README.md
Markdown
<|file_sep|>original/.appveyor.yml <|file_sep|>current/.appveyor.yml <|file_sep|>updated/.appveyor.yml
os: Visual Studio 2015 environment: PYTHON: C:\Python27 matrix: - VS: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat GD_PLATFORM: windows TOOLS: yes TARGET: release_debug ARCH: amd64 install: - SET "PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%" - pip install --egg s...
<|file_sep|>original/.appveyor.yml <|file_sep|>current/.appveyor.yml <|file_sep|>updated/.appveyor.yml os: Visual Studio 2015 environment: PYTHON: C:\Python27 matrix: - VS: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat GD_PLATFORM: windows TOOLS: yes TARGET: release_d...
92c34eaf9c4b70e2e99f7c8f6b390d682e903ddf
.appveyor.yml
.appveyor.yml
YAML
<|file_sep|>original/app/controllers/spree/admin/tax_categories_controller.rb module Spree module Admin class TaxCategoriesController < ResourceController def destroy if @object.destroy flash[:success] = flash_message_for(@object, :successfully_removed) respond_with(@object) do |...
module Spree module Admin class TaxCategoriesController < ResourceController def destroy if @object.destroy flash[:success] = flash_message_for(@object, :successfully_removed) respond_with(@object) do |format| format.html { redirect_to collection_url } for...
<|file_sep|>original/app/controllers/spree/admin/tax_categories_controller.rb module Spree module Admin class TaxCategoriesController < ResourceController def destroy if @object.destroy flash[:success] = flash_message_for(@object, :successfully_removed) respond_with(@object) do |...
89029f46f9cc5e4ae5a4934d8efc8c31837a2a48
app/controllers/spree/admin/tax_categories_controller.rb
app/controllers/spree/admin/tax_categories_controller.rb
Ruby
<|file_sep|>original/dev/golang/china/fanqiang/README.md # Get Golang Resources Hosted on Golang.org * <https://gopm.io/> * Download Google's Golang Packages(Ex: [golang.org/x/net](http://golang.org/x/net])) which are blocked in China network. * <https://wide.b3log.org/playground> * Golang Playground can be acces...
# Get Golang Resources Hosted on Golang.org * <https://gopm.io/> * Download Google's Golang Packages(Ex: [golang.org/x/net](http://golang.org/x/net])) which are blocked in China network. * <https://wide.b3log.org/playground> * Golang Playground can be accessed in China. * [Get Google Golang Packages in China](ht...
<|file_sep|>original/dev/golang/china/fanqiang/README.md # Get Golang Resources Hosted on Golang.org * <https://gopm.io/> * Download Google's Golang Packages(Ex: [golang.org/x/net](http://golang.org/x/net])) which are blocked in China network. * <https://wide.b3log.org/playground> * Golang Playground can be acces...
bccbc67310aedbea828b996b416f4ae1a5484633
dev/golang/china/fanqiang/README.md
dev/golang/china/fanqiang/README.md
Markdown
<|file_sep|>Cargo.toml.diff original: env_logger = "0.7" updated: env_logger = "0.8" <|file_sep|>Cargo.toml.diff original: sidekiq = "0.8" updated: sidekiq = "0.9" <|file_sep|>original/Cargo.toml edition = "2018" exclude = ["Justfile", "rustfmt.toml"] [badges] travis-ci = { repository = "spk/maman" } [dependencies] e...
edition = "2018" exclude = ["Justfile", "rustfmt.toml"] [badges] travis-ci = { repository = "spk/maman" } [dependencies] env_logger = "0.8" html5ever = "0.25" log = "0.4" mime = "0.3" reqwest = "0.9" robotparser = "0.10" serde = "1.0" serde_derive = "1.0" serde_json = "1.0" sidekiq = "0.9" url = { version = "2.0", fe...
<|file_sep|>Cargo.toml.diff original: env_logger = "0.7" updated: env_logger = "0.8" <|file_sep|>Cargo.toml.diff original: sidekiq = "0.8" updated: sidekiq = "0.9" <|file_sep|>original/Cargo.toml edition = "2018" exclude = ["Justfile", "rustfmt.toml"] [badges] travis-ci = { repository = "spk/maman" } [dependencies] e...
e1a387ae6ecbc51bf863c9a758c13194adec35ee
Cargo.toml
Cargo.toml
TOML
<|file_sep|>original/.forestry/settings.yml <|file_sep|>current/.forestry/settings.yml <|file_sep|>updated/.forestry/settings.yml
--- upload_path: "/uploads/:year:/:month:/:day:" frontmatter_file_url_template: "/uploads/:year:/:month:/:day:" body_file_url_template: "/uploads/:year:/:month:/:day:" new_page_extension: md auto_deploy: false admin_path: webhook_url: collections:
<|file_sep|>original/.forestry/settings.yml <|file_sep|>current/.forestry/settings.yml <|file_sep|>updated/.forestry/settings.yml --- upload_path: "/uploads/:year:/:month:/:day:" frontmatter_file_url_template: "/uploads/:year:/:month:/:day:" body_file_url_template: "/uploads/:year:/:month:/:day:" new_page_extension: ...
87c1a7b103979bdf6dc68f11a53c821c622ddfeb
.forestry/settings.yml
.forestry/settings.yml
YAML
<|file_sep|>original/code/hash-create.coffee options = {} options['font_size'] = 10 options['font_family'] = 'Arial' console.log options <|file_sep|>current/code/hash-create.coffee options = {} options['font_size'] = 10 options['font_family'] = 'Arial' console.log options <|file_sep|>updated/code/hash-create.coffee
options = {} options.font_size = 10 options.font_family = 'Arial' console.log options
<|file_sep|>original/code/hash-create.coffee options = {} options['font_size'] = 10 options['font_family'] = 'Arial' console.log options <|file_sep|>current/code/hash-create.coffee options = {} options['font_size'] = 10 options['font_family'] = 'Arial' console.log options <|file_sep|>updated/code/hash-create.coffee opt...
ebbd7c38f53fadd5c76c6080299407d70190a245
code/hash-create.coffee
code/hash-create.coffee
CoffeeScript
<|file_sep|>test/eyeglass-test.js.diff original: file: './test/test-eyeglass.scss' updated: file: './test/test-eyeglass.scss' <|file_sep|>test/eyeglass-test.js.diff original: updated: <|file_sep|>test/eyeglass-test.js.diff original: if (err) console.log(err); fs.writeFile('./test/test-eyeglass.css', res.css...
'use strict'; var fs = require('fs'); var sass = require('node-sass'); var Eyeglass = require('eyeglass').Eyeglass; var sassOptions = { file: './test/test-eyeglass.scss' }; var eyeglass = new Eyeglass(sassOptions); sass.render(eyeglass.sassOptions(), function(err, res){ if (err) console.log(err); fs.wr...
<|file_sep|>test/eyeglass-test.js.diff original: file: './test/test-eyeglass.scss' updated: file: './test/test-eyeglass.scss' <|file_sep|>test/eyeglass-test.js.diff original: updated: <|file_sep|>test/eyeglass-test.js.diff original: if (err) console.log(err); fs.writeFile('./test/test-eyeglass.css', res.css...
65b00c7be6dba7de24173cc445eec7aaca036ceb
test/eyeglass-test.js
test/eyeglass-test.js
JavaScript
<|file_sep|>original/scrubadub/filth/named_entity.py from .base import Filth class NamedEntityFilth(Filth): """ Named entity filth. Upon initialisation provide a label for named entity (e.g. name, org) """ type = 'named_entity' def __init__(self, *args, label: str, **kwargs): super(NamedE...
from .base import Filth class NamedEntityFilth(Filth): """ Named entity filth. Upon initialisation provide a label for named entity (e.g. name, org) """ type = 'named_entity' def __init__(self, *args, label: str, **kwargs): super(NamedEntityFilth, self).__init__(*args, **kwargs) s...
<|file_sep|>original/scrubadub/filth/named_entity.py from .base import Filth class NamedEntityFilth(Filth): """ Named entity filth. Upon initialisation provide a label for named entity (e.g. name, org) """ type = 'named_entity' def __init__(self, *args, label: str, **kwargs): super(NamedE...
45ee26fae4a8d31b66e3307c0ab4aed21678b4b6
scrubadub/filth/named_entity.py
scrubadub/filth/named_entity.py
Python
<|file_sep|>original/README.md ## Covis [![Dependency Status](https://david-dm.org/brentlintner/covis.svg)](https://david-dm.org/brentlintner/covis) A (fun) project for visualizing (lcov) test code coverage data. ## Installation npm install -g covis ## Usage The CLI takes in a `*.lcov` file, and renders a web...
## Covis [![NPM version](https://badge.fury.io/js/covis.svg)](http://badge.fury.io/js/covis) [![Dependency Status](https://david-dm.org/brentlintner/covis.svg)](https://david-dm.org/brentlintner/covis) A (fun) project for visualizing (lcov) test code coverage data. ## Installation npm install -g covis ## Usag...
<|file_sep|>original/README.md ## Covis [![Dependency Status](https://david-dm.org/brentlintner/covis.svg)](https://david-dm.org/brentlintner/covis) A (fun) project for visualizing (lcov) test code coverage data. ## Installation npm install -g covis ## Usage The CLI takes in a `*.lcov` file, and renders a web...
3ff7021dc2350d76ee3b3a0ebf8308d64dda5489
README.md
README.md
Markdown
<|file_sep|>original/js_dependencies.json [ { "id": "com.rallydev.sencha:sencha-cmd:tgz:3.0.0.250", "path": "bin/sencha" }, { "id": "com.rallydev.js:ext:tgz:4.1.1a", "path": "lib/ext/4.1.1a" }, { "id": "com.rallydev.js:webdriver:tgz:2.35.0-rally", "path": "lib/webdriver" }, { "id": "com.rallydev.js:apps...
[ { "id": "com.rallydev.sencha:sencha-cmd:tgz:3.0.0.250", "path": "bin/sencha" }, { "id": "com.rallydev.js:ext:tgz:4.1.1a", "path": "lib/ext/4.1.1a" }, { "id": "com.rallydev.js:webdriver:tgz:2.35.0-rally", "path": "lib/webdriver" }, { "id": "com.rallydev.js:appsdk-src:tgz:857-eeabbb5", "path": "lib/sdk"...
<|file_sep|>original/js_dependencies.json [ { "id": "com.rallydev.sencha:sencha-cmd:tgz:3.0.0.250", "path": "bin/sencha" }, { "id": "com.rallydev.js:ext:tgz:4.1.1a", "path": "lib/ext/4.1.1a" }, { "id": "com.rallydev.js:webdriver:tgz:2.35.0-rally", "path": "lib/webdriver" }, { "id": "com.rallydev.js:apps...
eaf38cda0072ae80875444add426f328505a2b36
js_dependencies.json
js_dependencies.json
JSON
<|file_sep|>original/{{cookiecutter.project_slug}}/requirements/production.txt # Pro-tip: Try not to put anything here. There should be no dependency in # production that isn't in development. -r base.txt {% if cookiecutter.windows == 'y' -%} # Python-PostgreSQL Database Adapter # If using Win for dev, this assumes Un...
# Pro-tip: Try not to put anything here. There should be no dependency in # production that isn't in development. -r base.txt {% if cookiecutter.windows == 'y' -%} # Python-PostgreSQL Database Adapter # If using Win for dev, this assumes Unix in prod # ------------------------------------------------ psycopg2==2.6.2 {...
<|file_sep|>original/{{cookiecutter.project_slug}}/requirements/production.txt # Pro-tip: Try not to put anything here. There should be no dependency in # production that isn't in development. -r base.txt {% if cookiecutter.windows == 'y' -%} # Python-PostgreSQL Database Adapter # If using Win for dev, this assumes Un...
60c37a7e23496c98e975785560963d22748989a0
{{cookiecutter.project_slug}}/requirements/production.txt
{{cookiecutter.project_slug}}/requirements/production.txt
Text
<|file_sep|>original/app/templates/components/donation-goal-edit.hbs <div class="amount-group"> <span class="currency">$</span> {{input class="amount" name="amount" type="number" placeholder="Custom amount" value=amount}} <span class="period">per month</span> </div> {{#each donationGoal.errors.amount as |error|}}...
<div class="amount-group"> <span class="currency">$</span> {{input class="amount" name="amount" type="number" min="0" step="1" placeholder="Custom amount" value=amount}} <span class="period">per month</span> </div> {{#each donationGoal.errors.amount as |error|}} <p class="error">{{error.message}}</p> {{/each}} ...
<|file_sep|>original/app/templates/components/donation-goal-edit.hbs <div class="amount-group"> <span class="currency">$</span> {{input class="amount" name="amount" type="number" placeholder="Custom amount" value=amount}} <span class="period">per month</span> </div> {{#each donationGoal.errors.amount as |error|}}...
05a804557f27f2325b1d6fba21e32dd38164a5bc
app/templates/components/donation-goal-edit.hbs
app/templates/components/donation-goal-edit.hbs
Handlebars
<|file_sep|>28_shared_state/src/main.rs.diff original: use std::sync::Mutex; updated: use std::sync::{Mutex, Arc}; use std::thread; <|file_sep|>28_shared_state/src/main.rs.diff original: let m = Mutex::new(5); updated: let counter = Arc::new(Mutex::new(0)); let mut handles = vec![]; <|file_sep|>28_shared_st...
fn main() { let counter = Arc::new(Mutex::new(0)); let mut handles = vec![]; for _ in 1..10 { let counter = counter.clone(); let handle = thread::spawn(move || { let mut num = counter.lock().unwrap(); *num += 1; }); handles.push(handle); } ...
<|file_sep|>28_shared_state/src/main.rs.diff original: use std::sync::Mutex; updated: use std::sync::{Mutex, Arc}; use std::thread; <|file_sep|>28_shared_state/src/main.rs.diff original: let m = Mutex::new(5); updated: let counter = Arc::new(Mutex::new(0)); let mut handles = vec![]; <|file_sep|>28_shared_st...
801e8be6d3b504bb572082a06e700f843d728cd4
28_shared_state/src/main.rs
28_shared_state/src/main.rs
Rust
<|file_sep|>original/feedback/feedback_sprint2.md <|file_sep|>current/feedback/feedback_sprint2.md <|file_sep|>updated/feedback/feedback_sprint2.md
# Feedback PL5 Totally Awesome Genome Coders | | Product Planning | | | | | |-------------------------------------|------------------|----------------|---------------|---------|---------| | | | | User Stories | | | | | Analysis | Prioritisation | Specification | Clarity | Roadmap | | PL5 (Totally Awesome Ge...
<|file_sep|>original/feedback/feedback_sprint2.md <|file_sep|>current/feedback/feedback_sprint2.md <|file_sep|>updated/feedback/feedback_sprint2.md # Feedback PL5 Totally Awesome Genome Coders | | Product Planning | | | | | |-------------------------------------|------------------|----------------|-------------...
48aae36e68889b8ea8f4ebea8aee165976c5c04c
feedback/feedback_sprint2.md
feedback/feedback_sprint2.md
Markdown
<|file_sep|>docs/_config.yml.diff original: exclude: updated: exclude: <|file_sep|>docs/_config.yml.diff original: markdown: kramdown updated: markdown: - kramdown <|file_sep|>original/docs/_config.yml docs: CC BY 4.0 docs_url: https://creativecommons.org/licenses/by/4.0/ links: header: - title: GitHub ...
# General Jekyll options https://jekyllrb.com/docs/configuration/ exclude: - README.md - Gemfile - Gemfile.lock plugins: - jekyll-remote-theme markdown: - kramdown # Markdown settings: https://jekyllrb.com/docs/configuration/markdown/ kramdown: # GitHub flavoured markdown input: GFM # Interprets line b...
<|file_sep|>docs/_config.yml.diff original: exclude: updated: exclude: <|file_sep|>docs/_config.yml.diff original: markdown: kramdown updated: markdown: - kramdown <|file_sep|>original/docs/_config.yml docs: CC BY 4.0 docs_url: https://creativecommons.org/licenses/by/4.0/ links: header: - title: GitHub ...
1ec043693921e292f1164466e52de2c950db8221
docs/_config.yml
docs/_config.yml
YAML
<|file_sep|>unit-tests/ci/install_apc.sh.diff original: if [ "`php -r 'echo substr(PHP_VERSION, 0, 3);'`" = "5.3" ]; then updated: if [ "$(php -r 'echo substr(PHP_VERSION, 0, 3);')" = "5.3" ]; then <|file_sep|>unit-tests/ci/install_apc.sh.diff original: sh -c "cd APC-3.1.9 && phpize && ./configure --enable-apc && make...
#! /bin/sh if [ "$(php -r 'echo substr(PHP_VERSION, 0, 3);')" = "5.3" ]; then wget http://pecl.php.net/get/apc-3.1.9.tgz tar -xzf apc-3.1.9.tgz ( cd APC-3.1.9 && phpize && ./configure --enable-apc && make && sudo make install ) echo "extension=apc.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*|...
<|file_sep|>unit-tests/ci/install_apc.sh.diff original: if [ "`php -r 'echo substr(PHP_VERSION, 0, 3);'`" = "5.3" ]; then updated: if [ "$(php -r 'echo substr(PHP_VERSION, 0, 3);')" = "5.3" ]; then <|file_sep|>unit-tests/ci/install_apc.sh.diff original: sh -c "cd APC-3.1.9 && phpize && ./configure --enable-apc && make...
23bca4acacabf3a2a741b9c3d38e7d517ce67f44
unit-tests/ci/install_apc.sh
unit-tests/ci/install_apc.sh
Shell