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/views/_titles_pane.haml
%table.char
%tbody
%tr.colnames
%td Name
- if @character.current_title && @character.titles
- TitleHelper::sorted_titles(@character.titles).each do |title|
%tr
%td
- if title == TitleHelper::get_title_name(@character.curren... | %table.char
%tbody
-unless @character.titles.nil?
%tr
%td.specialized= "Title count: #{@character.titles.length}"
%tr.colnames
%td Name
- if @character.current_title && @character.titles
- TitleHelper::sorted_titles(@character.titles).each do |title|
%tr
%td
... | <|file_sep|>original/views/_titles_pane.haml
%table.char
%tbody
%tr.colnames
%td Name
- if @character.current_title && @character.titles
- TitleHelper::sorted_titles(@character.titles).each do |title|
%tr
%td
- if title == TitleHelper::get_title_name(@character.curren... | a1638e9c03ca68a59d36a0be3a28207d850432ad | views/_titles_pane.haml | views/_titles_pane.haml | Haml |
<|file_sep|>original/console/src/styles.css
/* You can add global styles to this file, and also import other style files */
/* NOTE: CodeMirror's styles for displaying a code properly */
@import "~codemirror/lib/codemirror.css";
@import "~codemirror/theme/material.css";
/* NOTE: JsonEditor style for displaying json ... | /* You can add global styles to this file, and also import other style files */
/* NOTE: CodeMirror's styles for displaying a code properly */
@import "~codemirror/lib/codemirror.css";
@import "~codemirror/theme/material.css";
/* NOTE: JsonEditor style for displaying json as tree */
@import "~jsoneditor/dist/jsoned... | <|file_sep|>original/console/src/styles.css
/* You can add global styles to this file, and also import other style files */
/* NOTE: CodeMirror's styles for displaying a code properly */
@import "~codemirror/lib/codemirror.css";
@import "~codemirror/theme/material.css";
/* NOTE: JsonEditor style for displaying json ... | 269568d1bfa2ec01510cdb957a4146c49dbcbd3f | console/src/styles.css | console/src/styles.css | CSS |
<|file_sep|>original/requirements.txt
-i https://pypi.org/simple/
blinker==1.4
certifi==2018.10.15
chardet==3.0.4
dj-database-url==0.5.0
django-bmemcached==0.2.3
django-meta==1.4.1
django-recaptcha==1.4.0
django==2.1.2
djangorestframework==3.9.0
feedparser==5.2.1
gunicorn==19.9.0
idna==2.7
psycopg2-binary==2.7.5
python... | -i https://pypi.org/simple/
blinker==1.4
certifi==2018.10.15
chardet==3.0.4
dj-database-url==0.5.0
django-bmemcached==0.2.3
django-meta==1.4.1
django-recaptcha==1.4.0
django==2.1.3
djangorestframework==3.9.0
feedparser==5.2.1
gunicorn==19.9.0
idna==2.7
psycopg2-binary==2.7.5
python-binary-memcached==0.28.0
python-twitc... | <|file_sep|>original/requirements.txt
-i https://pypi.org/simple/
blinker==1.4
certifi==2018.10.15
chardet==3.0.4
dj-database-url==0.5.0
django-bmemcached==0.2.3
django-meta==1.4.1
django-recaptcha==1.4.0
django==2.1.2
djangorestframework==3.9.0
feedparser==5.2.1
gunicorn==19.9.0
idna==2.7
psycopg2-binary==2.7.5
python... | 9ad44bdaad7405c728263d39910407d36ad659e5 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/test/browser/lib/webworker-worker.js
var Buffer = require('buffer').Buffer
var http = require('../../..')
module.exports = function (self) {
self.addEventListener('message', function (ev) {
var url = ev.data
http.get(url, function (res) {
var buffers = []
res.on('end', function () {
... | var Buffer = require('buffer').Buffer
var http = require('../../..')
module.exports = function (self) {
self.addEventListener('message', function (ev) {
var url = ev.data
http.get(url, function (res) {
var buffers = []
res.on('end', function () {
self.postMessage(Buffer.concat(buffers).buffer)
})
... | <|file_sep|>original/test/browser/lib/webworker-worker.js
var Buffer = require('buffer').Buffer
var http = require('../../..')
module.exports = function (self) {
self.addEventListener('message', function (ev) {
var url = ev.data
http.get(url, function (res) {
var buffers = []
res.on('end', function () {
... | 154f6b9e561537b87c2aa1561ebc24ba09a9e4b8 | test/browser/lib/webworker-worker.js | test/browser/lib/webworker-worker.js | JavaScript |
<|file_sep|>server/server.js.diff
original:
updated:
// Disabling pending replacement for NFL.com scores
<|file_sep|>original/server/server.js
require('dotenv').config();
const { job } = require('cron');
const app = require('./app');
const logger = require('./lib/logger');
const nflScoreUpdater = require('./services/N... | require('dotenv').config();
const { job } = require('cron');
const app = require('./app');
const logger = require('./lib/logger');
const nflScoreUpdater = require('./services/NFLScoreUpdater');
// Disabling pending replacement for NFL.com scores
nflScoreUpdater.on('error', (err) => {
logger.error(`Error updating NFL... | <|file_sep|>server/server.js.diff
original:
updated:
// Disabling pending replacement for NFL.com scores
<|file_sep|>original/server/server.js
require('dotenv').config();
const { job } = require('cron');
const app = require('./app');
const logger = require('./lib/logger');
const nflScoreUpdater = require('./services/N... | 87b404348cde465ceae639d7fe0225f520f7a2ee | server/server.js | server/server.js | JavaScript |
<|file_sep|>original/package.json
"name": "ember-cli-opinionated",
"version": "0.1.8",
"description": "An opinionated blueprint for ambitious Ember apps",
"directories": {
"doc": "doc",
"test": "tests"
},
"scripts": {
"build": "ember build",
"start": "ember server",
"test": ""
},
"re... | "name": "ember-cli-opinionated",
"version": "0.1.8",
"description": "An opinionated blueprint for ambitious Ember apps",
"directories": {
"doc": "doc",
"test": "tests"
},
"scripts": {
"build": "ember build",
"start": "ember server",
"test": "echo \"Error: no test specified\" && exit 1"
... | <|file_sep|>original/package.json
"name": "ember-cli-opinionated",
"version": "0.1.8",
"description": "An opinionated blueprint for ambitious Ember apps",
"directories": {
"doc": "doc",
"test": "tests"
},
"scripts": {
"build": "ember build",
"start": "ember server",
"test": ""
},
"re... | 95bca5144d07304f0aa45a1cb5d7821280a42807 | package.json | package.json | JSON |
<|file_sep|>original/psycho-test-client/src/main/scala/example/WhatToShow2.scala
<|file_sep|>current/psycho-test-client/src/main/scala/example/WhatToShow2.scala
<|file_sep|>updated/psycho-test-client/src/main/scala/example/WhatToShow2.scala | package example
abstract class WhatToShow2(duration: Int) {
def getDuration = this.duration
def moveToNext(param: Int): WhatToShow2
}
// todo add choosing times from list based on smth
case class Cross(duration: Int) extends WhatToShow2(duration) {
override def moveToNext(param: Int): WhatToShow2 = Image(5)
}... | <|file_sep|>original/psycho-test-client/src/main/scala/example/WhatToShow2.scala
<|file_sep|>current/psycho-test-client/src/main/scala/example/WhatToShow2.scala
<|file_sep|>updated/psycho-test-client/src/main/scala/example/WhatToShow2.scala
package example
abstract class WhatToShow2(duration: Int) {
def getDurati... | d58abb5c2e7ba86105db3bbdea36ffa1920197b6 | psycho-test-client/src/main/scala/example/WhatToShow2.scala | psycho-test-client/src/main/scala/example/WhatToShow2.scala | Scala |
<|file_sep|>src/Silex/Generic/templates/generic.json.twig.diff
original:
updated:
"allOf": [
{
"$ref": "#/definitions/id"
}
],
"readOnly": true
}
},
"required": [],
"definitions": {
"id": {
<|file_sep|>s... | "id": {
"type": "string",
"links": [
{
"rel": "self",
"href": "/{{ type }}/{$}"
}
]
}
},
"links": [
{
"rel": "delete",
"method": "DELETE",
"href... | <|file_sep|>src/Silex/Generic/templates/generic.json.twig.diff
original:
updated:
"allOf": [
{
"$ref": "#/definitions/id"
}
],
"readOnly": true
}
},
"required": [],
"definitions": {
"id": {
<|file_sep|>s... | fecc959e9e6d65e6a27b61444fb5da3676c65cf6 | src/Silex/Generic/templates/generic.json.twig | src/Silex/Generic/templates/generic.json.twig | Twig |
<|file_sep|>original/Vue_Starter/index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CoreUI - Open Source Bootstrap Admin Template</title>
<!-- Icons -->
<link href="static/css/font-awesome.min.css" rel="stylesheet">
<link href="static/css/simple-line-icons.css" rel="stylesheet... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CoreUI - Open Source Bootstrap Admin Template</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Icons -->
<link href="static/css/... | <|file_sep|>original/Vue_Starter/index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CoreUI - Open Source Bootstrap Admin Template</title>
<!-- Icons -->
<link href="static/css/font-awesome.min.css" rel="stylesheet">
<link href="static/css/simple-line-icons.css" rel="stylesheet... | 7f5ef43b877ab264a5adc8cc26e3772010ad3e5d | Vue_Starter/index.html | Vue_Starter/index.html | HTML |
<|file_sep|>original/requirements.txt
# install from setup.py
.
# dev overrides/additional libraries
# schema42 not released on pypi, so get datacite lib from github (version number is the same):
git+https://github.com/inveniosoftware/datacite.git
<|file_sep|>current/requirements.txt
# install from setup.py
.
# dev o... | # install from setup.py
.
# dev overrides/additional libraries
# schema42 not released on pypi, so get datacite lib from github (version number is the same), we
# want this specific commit because it includes lxml>=4.3.5 which is compatible with ckan core's
# required version
git+https://github.com/inveniosoftware/dat... | <|file_sep|>original/requirements.txt
# install from setup.py
.
# dev overrides/additional libraries
# schema42 not released on pypi, so get datacite lib from github (version number is the same):
git+https://github.com/inveniosoftware/datacite.git
<|file_sep|>current/requirements.txt
# install from setup.py
.
# dev o... | 8298c63b1a062082b36bdc7d8589642300bc0828 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/.travis.yml
sudo: false
language: node_js
node_js:
- "0.10"
env:
- TEST_DIR=packages/dispatchr
- TEST_DIR=packages/fluxible
- TEST_DIR=packages/fluxible-plugin-fetchr
- TEST_DIR=packages/fluxible-reducer-store
- TEST_DIR=packages/fluxible-addons-react
- TEST_DIR=packages/fluxible-rout... | sudo: false
language: node_js
node_js:
- "0.10"
env:
- TEST_DIR=/
- TEST_DIR=packages/dispatchr
- TEST_DIR=packages/fluxible
- TEST_DIR=packages/fluxible-plugin-fetchr
- TEST_DIR=packages/fluxible-reducer-store
- TEST_DIR=packages/fluxible-addons-react
- TEST_DIR=packages/fluxible-router
- TEST_DIR=pa... | <|file_sep|>original/.travis.yml
sudo: false
language: node_js
node_js:
- "0.10"
env:
- TEST_DIR=packages/dispatchr
- TEST_DIR=packages/fluxible
- TEST_DIR=packages/fluxible-plugin-fetchr
- TEST_DIR=packages/fluxible-reducer-store
- TEST_DIR=packages/fluxible-addons-react
- TEST_DIR=packages/fluxible-rout... | 3a9084fdb68c9fb846453c7c6264cf55e97d6577 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
rvm:
- 2.0.0
- 2.3.1
- 2.3.3
notifications:
email:
on_success: change
on_failure: always
sudo: false
<|file_sep|>current/.travis.yml
rvm:
- 2.0.0
- 2.3.1
- 2.3.3
notifications:
email:
on_success: change
on_failure: always
sudo: false
<|file_sep|>updated/.... | rvm:
- 2.3.1
- 2.3.3
notifications:
email:
on_success: change
on_failure: always
sudo: false | <|file_sep|>original/.travis.yml
rvm:
- 2.0.0
- 2.3.1
- 2.3.3
notifications:
email:
on_success: change
on_failure: always
sudo: false
<|file_sep|>current/.travis.yml
rvm:
- 2.0.0
- 2.3.1
- 2.3.3
notifications:
email:
on_success: change
on_failure: always
sudo: false
<|file_sep|>updated/.... | 25551f730a2d4018268693dac045fedf83873746 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements.txt
#
# This file is autogenerated by pip-compile
# Make changes in requirements.in, then run this to update:
#
# pip-compile requirements.in
#
cffi==1.9.1; platform_python_implementation != 'PyPy'
characteristic==14.3.0 # via service-identity
cryptography==1.7.1 # via pyop... | #
# This file is autogenerated by pip-compile
# Make changes in requirements.in, then run this to update:
#
# pip-compile requirements.in
#
cffi==1.9.1; platform_python_implementation != 'PyPy'
characteristic==14.3.0 # via service-identity
cryptography==1.7.2 # via pyopenssl
enum34==1.1.6 # via ... | <|file_sep|>original/requirements.txt
#
# This file is autogenerated by pip-compile
# Make changes in requirements.in, then run this to update:
#
# pip-compile requirements.in
#
cffi==1.9.1; platform_python_implementation != 'PyPy'
characteristic==14.3.0 # via service-identity
cryptography==1.7.1 # via pyop... | 546d30e296f11f57c9e5732d5cae91d9bb73a8b0 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/src/fwd.h
#pragma once
// Block data structures.
class CBlock;
class CBlockIndex;
<|file_sep|>current/src/fwd.h
#pragma once
// Block data structures.
class CBlock;
class CBlockIndex;
<|file_sep|>updated/src/fwd.h | #pragma once
// Block data structures.
class CBlock;
class CBlockIndex;
// Gridcoin
struct MiningCPID;
struct StructCPID;
struct StructCPIDCache; | <|file_sep|>original/src/fwd.h
#pragma once
// Block data structures.
class CBlock;
class CBlockIndex;
<|file_sep|>current/src/fwd.h
#pragma once
// Block data structures.
class CBlock;
class CBlockIndex;
<|file_sep|>updated/src/fwd.h
#pragma once
// Block data structures.
class CBlock;
class CBlockIndex;
// Grid... | e42516dd75679263421b8d857ab9968eb1939f8a | src/fwd.h | src/fwd.h | C |
<|file_sep|>original/src/test/resources/logback-test.xml
<|file_sep|>current/src/test/resources/logback-test.xml
<|file_sep|>updated/src/test/resources/logback-test.xml | <?xml version="1.0" encoding="UTF-8"?>
<configuration>
<include resource="org/springframework/boot/logging/logback/base.xml" />
<logger name="org.springframework" level="INFO"/>
<logger name="com.programmingskillz" level="DEBUG"/>
</configuration> | <|file_sep|>original/src/test/resources/logback-test.xml
<|file_sep|>current/src/test/resources/logback-test.xml
<|file_sep|>updated/src/test/resources/logback-test.xml
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<include resource="org/springframework/boot/logging/logback/base.xml" />
<logger name=... | df412948dd5007e66c911e4b42a82bca8c4e1538 | src/test/resources/logback-test.xml | src/test/resources/logback-test.xml | XML |
<|file_sep|>original/.travis.yml
language: node_js
before_install:
- "sudo npm install -g grunt-cli"
node_js:
- "0.11"
- "0.10"
<|file_sep|>current/.travis.yml
language: node_js
before_install:
- "sudo npm install -g grunt-cli"
node_js:
- "0.11"
- "0.10"
<|file_sep|>updated/.travis.yml | language: node_js
before_install:
- "npm install -g grunt-cli"
node_js:
- "0.11"
- "0.10"
| <|file_sep|>original/.travis.yml
language: node_js
before_install:
- "sudo npm install -g grunt-cli"
node_js:
- "0.11"
- "0.10"
<|file_sep|>current/.travis.yml
language: node_js
before_install:
- "sudo npm install -g grunt-cli"
node_js:
- "0.11"
- "0.10"
<|file_sep|>updated/.travis.yml
language: node_js
befor... | db6b4f02de8ee2a6687300552c92741207674a0c | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/indexer.ini
[program:indexer]
directory=/var/index-service
command=/var/index-service/venv/bin/python index_service.py
stdout_logfile=/var/log/indexer-stdout.log
stderr_logfile=/var/log/indexer-stderr.log
autostart=true
autorestart=true
startretries=3
<|file_sep|>current/indexer.ini
[program:indexe... | [program:indexer]
directory=/var/index-service
command=sh -c 'sleep 5 && /var/index-service/venv/bin/python index_service.py'
stdout_logfile=/var/log/indexer-stdout.log
stderr_logfile=/var/log/indexer-stderr.log
autostart=true
autorestart=true
startretries=3 | <|file_sep|>original/indexer.ini
[program:indexer]
directory=/var/index-service
command=/var/index-service/venv/bin/python index_service.py
stdout_logfile=/var/log/indexer-stdout.log
stderr_logfile=/var/log/indexer-stderr.log
autostart=true
autorestart=true
startretries=3
<|file_sep|>current/indexer.ini
[program:indexe... | 0900efd2e64f8f097c560acd8d79d730267f1191 | indexer.ini | indexer.ini | INI |
<|file_sep|>original/app/www/js/add-game/add-game.css
.grid-container
{
margin: 5px;
justify-content: center;
flex-wrap: wrap;
display: flex;
}
.grid-item
{
float: left;
width: 90px;
}
.grid-item.selected, .player-button.selected
{
background: #CCCCCC;
}
.player-button
{
display: block;
margin: 2px;
... | .grid-container
{
margin: 5px;
justify-content: center;
flex-wrap: wrap;
display: flex;
}
.grid-item
{
float: left;
min-width: 90px;
}
.grid-item.selected, .player-button.selected
{
background: #CCCCCC;
}
.player-button
{
display: block;
margin: 2px;
min-width: 125px; | <|file_sep|>original/app/www/js/add-game/add-game.css
.grid-container
{
margin: 5px;
justify-content: center;
flex-wrap: wrap;
display: flex;
}
.grid-item
{
float: left;
width: 90px;
}
.grid-item.selected, .player-button.selected
{
background: #CCCCCC;
}
.player-button
{
display: block;
margin: 2px;
... | 1d47ee3516daa8d9a70b3d8ffa4d4b57c53c28b0 | app/www/js/add-game/add-game.css | app/www/js/add-game/add-game.css | CSS |
<|file_sep|>original/PathTools/Path+PolygonProtocol.swift
//
// Path+PolygonProtocol.swift
// PathTools
//
// Created by James Bean on 6/17/17.
//
//
import GeometryTools
extension Path {
/// Creates a `Path` with the given `polygon`.
public init <P: PolygonProtocol> (_ polygon: P) {
self.init... |
import GeometryTools
extension Path {
/// Creates a `Path` with the given `polygon`.
public init <P: PolygonProtocol> (_ polygon: P) {
self.init(polygon.edges.map(BezierCurve.init))
}
}
extension Path {
init(vertices: [Point]) {
switch vertices.count {
case 0:
... | <|file_sep|>original/PathTools/Path+PolygonProtocol.swift
//
// Path+PolygonProtocol.swift
// PathTools
//
// Created by James Bean on 6/17/17.
//
//
import GeometryTools
extension Path {
/// Creates a `Path` with the given `polygon`.
public init <P: PolygonProtocol> (_ polygon: P) {
self.init... | be40c56c8f0d8567b8cd2c80d61f7bcb76313733 | PathTools/Path+PolygonProtocol.swift | PathTools/Path+PolygonProtocol.swift | Swift |
<|file_sep|>original/src/pages/posts/php/injection-dependance/index.jade
extends /src/layouts/post
block exports
-exports.type = "post"
-exports.comments = true
-exports.authors = ["neemzy"]
-exports.title = "L'injection de dépendances en PHP"
-exports.tags = ["php", "php-di"]
-exports.date = "2014-10-31"
... | extends /src/layouts/post
block exports
-exports.type = "post"
-exports.comments = true
-exports.authors = ["neemzy"]
-exports.title = "L'injection de dépendances en PHP"
-exports.tags = ["php", "php-di"]
-exports.date = "2014-11-05"
block main
+Post(exports.title)
include:md index.md | <|file_sep|>original/src/pages/posts/php/injection-dependance/index.jade
extends /src/layouts/post
block exports
-exports.type = "post"
-exports.comments = true
-exports.authors = ["neemzy"]
-exports.title = "L'injection de dépendances en PHP"
-exports.tags = ["php", "php-di"]
-exports.date = "2014-10-31"
... | 3114c1d8ebfbed11b8c0d3533b62dd64668cc09a | src/pages/posts/php/injection-dependance/index.jade | src/pages/posts/php/injection-dependance/index.jade | Jade |
<|file_sep|>original/src/test/incremental/feature_gate.rs
<|file_sep|>current/src/test/incremental/feature_gate.rs
<|file_sep|>updated/src/test/incremental/feature_gate.rs | // Copyright 2018 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | <|file_sep|>original/src/test/incremental/feature_gate.rs
<|file_sep|>current/src/test/incremental/feature_gate.rs
<|file_sep|>updated/src/test/incremental/feature_gate.rs
// Copyright 2018 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lan... | 9f8b9a0d3e1d7567e74df612a53e989610ba1b24 | src/test/incremental/feature_gate.rs | src/test/incremental/feature_gate.rs | Rust |
<|file_sep|>original/CHANGELOG.md
# Changelog
## v0.0.1-alpha-1
- YAML model
- Web UI to add jobs, builds, global config
- Auto-detect if running in Docker, guess Docker host
- Web UI to view builds
- Git clone, checkout
- Check for git version tag, save to build
- Build the Docker image
- Run the Docker image with th... | # Changelog
## v0.0.2
- Streaming console #16
- HipChat notifications #9
- Correctly tag images #13
- Any git tags acceptable, not just semver (though semver is special) #12
- Tagged builds not cleaned up #4
- Tagged builds will remove built image before replacing #12
- Version tags can not be built twice #12
- Versio... | <|file_sep|>original/CHANGELOG.md
# Changelog
## v0.0.1-alpha-1
- YAML model
- Web UI to add jobs, builds, global config
- Auto-detect if running in Docker, guess Docker host
- Web UI to view builds
- Git clone, checkout
- Check for git version tag, save to build
- Build the Docker image
- Run the Docker image with th... | 14ce487a289dd99eeb49fe4c6e10a577b75d4221 | CHANGELOG.md | CHANGELOG.md | Markdown |
<|file_sep|>original/.github/workflows/ci.yml
AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}}
AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
jobs:
CI:
runs-on: ubuntu-20.04
strategy:
max-parallel: 8
matrix:
python-version: [3.5, 3... | AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}}
AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
jobs:
CI:
runs-on: ubuntu-20.04
strategy:
max-parallel: 8
matrix:
python-version: [3.5, 3.6, 3.7, 3.8, 3.9]
steps:
- uses: acti... | <|file_sep|>original/.github/workflows/ci.yml
AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}}
AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
jobs:
CI:
runs-on: ubuntu-20.04
strategy:
max-parallel: 8
matrix:
python-version: [3.5, 3... | 68a015e07593418c3663541c0ae5f2d5fb3aa23d | .github/workflows/ci.yml | .github/workflows/ci.yml | YAML |
<|file_sep|>original/.travis.yml
# Copyright 2016 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applic... | # You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the L... | <|file_sep|>original/.travis.yml
# Copyright 2016 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applic... | 13746598d926f4e1ebdc066da6e750abf81a6e27 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/gobby-0.5.metainfo.xml
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>de.0x539.gobby</id>
<metadata_license>CC0-1.0</metadata_license>
<provides>
<binary>gobby-0.5</binary>
</provides>
<name>Gobby</name>
<summary>Collaborative text editor</summary>... | <?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>de.0x539.gobby</id>
<launchable type="desktop-id">gobby-0.5.desktop</launchable>
<metadata_license>CC0-1.0</metadata_license>
<provides>
<binary>gobby-0.5</binary>
</provides>
<name>Gobby</name>
<summary>Collaborative te... | <|file_sep|>original/gobby-0.5.metainfo.xml
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>de.0x539.gobby</id>
<metadata_license>CC0-1.0</metadata_license>
<provides>
<binary>gobby-0.5</binary>
</provides>
<name>Gobby</name>
<summary>Collaborative text editor</summary>... | 8320cdf27912f1012102ebd9830b737d01c00b91 | gobby-0.5.metainfo.xml | gobby-0.5.metainfo.xml | XML |
<|file_sep|>recipes/powerline-gitstatus_conda_recipe/meta.yaml.diff
original:
script: {{PYTHON}} setup.py install
updated:
script: "{{ PYTHON }} -m pip install . --no-deps -vv"
<|file_sep|>recipes/powerline-gitstatus_conda_recipe/meta.yaml.diff
original:
updated:
host:
- pip
<|file_sep|>original/re... | build:
- setuptools
- python
run:
- python
- powerline-status
test:
imports:
- powerline_gitstatus
about:
home: https://github.com/jaspernbrouwer/powerline-gitstatus/
license: MIT
license_family: MIT
license_file: LICENSE
summary: A Powerline seg... | <|file_sep|>recipes/powerline-gitstatus_conda_recipe/meta.yaml.diff
original:
script: {{PYTHON}} setup.py install
updated:
script: "{{ PYTHON }} -m pip install . --no-deps -vv"
<|file_sep|>recipes/powerline-gitstatus_conda_recipe/meta.yaml.diff
original:
updated:
host:
- pip
<|file_sep|>original/re... | d6875047a1a65a58b00d79c2df8f0e0826e12d13 | recipes/powerline-gitstatus_conda_recipe/meta.yaml | recipes/powerline-gitstatus_conda_recipe/meta.yaml | YAML |
<|file_sep|>original/example/project/plugins.sbt
// The Play plugin
addSbtPlugin("com.typesafe.play" %% "sbt-plugin" % "2.8.0")
// play swagger plugin
addSbtPlugin("com.iheart" % "sbt-play-swagger" % "0.10.1-SNAPSHOT")
<|file_sep|>current/example/project/plugins.sbt
// The Play plugin
addSbtPlugin("com.typesafe.pla... | // The Play plugin
addSbtPlugin("com.typesafe.play" %% "sbt-plugin" % "2.8.0")
// play swagger plugin
addSbtPlugin("com.iheart" % "sbt-play-swagger" % "0.10.3-SNAPSHOT")
| <|file_sep|>original/example/project/plugins.sbt
// The Play plugin
addSbtPlugin("com.typesafe.play" %% "sbt-plugin" % "2.8.0")
// play swagger plugin
addSbtPlugin("com.iheart" % "sbt-play-swagger" % "0.10.1-SNAPSHOT")
<|file_sep|>current/example/project/plugins.sbt
// The Play plugin
addSbtPlugin("com.typesafe.pla... | 78b644ce1262b55af7c21049f01e46f584cb9130 | example/project/plugins.sbt | example/project/plugins.sbt | Scala |
<|file_sep|>dotnet/Packages/Apollo/Middleware/ExceptionMiddleware.cs.diff
original:
updated:
var branchEx = ex as BranchException;
<|file_sep|>dotnet/Packages/Apollo/Middleware/ExceptionMiddleware.cs.diff
original:
throw;
updated:
branchEx = new BranchException("unknown_error");
<|file_sep|>dotnet/Packa... | catch (Exception ex)
{
var branchEx = ex as BranchException;
// TODO(0xdeafcafe): Handle this
if (!(ex is BranchException))
{
Console.WriteLine(ex);
branchEx = new BranchException("unknown_error");
}
var json = JsonConvert.SerializeObject(branchEx, jsonSerializerSettings);
... | <|file_sep|>dotnet/Packages/Apollo/Middleware/ExceptionMiddleware.cs.diff
original:
updated:
var branchEx = ex as BranchException;
<|file_sep|>dotnet/Packages/Apollo/Middleware/ExceptionMiddleware.cs.diff
original:
throw;
updated:
branchEx = new BranchException("unknown_error");
<|file_sep|>dotnet/Packa... | 8e9ac6f6ef2a00d5032d038fc481c0d7032f612a | dotnet/Packages/Apollo/Middleware/ExceptionMiddleware.cs | dotnet/Packages/Apollo/Middleware/ExceptionMiddleware.cs | C# |
<|file_sep|>original/lib/resque/geocoder_jobs.rb
module Resque
class GeocoderJobs
@queue = :geocodings
def self.perform(options = {})
geocoding = Geocodings[options.symbolize_keys[:job_id]].run!
end
end
end
<|file_sep|>current/lib/resque/geocoder_jobs.rb
module Resque
class GeocoderJobs
@q... | module Resque
class GeocoderJobs
@queue = :geocodings
def self.perform(options = {})
geocoding = Geocoding[options.symbolize_keys[:job_id]].run!
end
end
end | <|file_sep|>original/lib/resque/geocoder_jobs.rb
module Resque
class GeocoderJobs
@queue = :geocodings
def self.perform(options = {})
geocoding = Geocodings[options.symbolize_keys[:job_id]].run!
end
end
end
<|file_sep|>current/lib/resque/geocoder_jobs.rb
module Resque
class GeocoderJobs
@q... | 24c0b83f1305ef488be6f2911174e5355338a0a9 | lib/resque/geocoder_jobs.rb | lib/resque/geocoder_jobs.rb | Ruby |
<|file_sep|>original/src/ajvEx.js
import AJV from 'ajv';
const ajv = AJV();
function safeEscapeQuotes(str) {
return str.replace(/\\([\s\S])|(')/g,"\\$1$2").replace(/\\([\s\S])|(")/g,"\\$1$2"); // escape only if not escaped already
}
ajv.addKeyword('deprecated', { inline: function (it, keyword, schema){
var op = s... | import AJV from 'ajv';
const ajv = AJV();
function safeEscapeQuotes(str) {
return str.replace(/\\([\s\S])|(')/g,"\\$1$2").replace(/\\([\s\S])|(")/g,"\\$1$2"); // escape only if not escaped already
}
ajv.addKeyword('deprecated', { inline: function (it, keyword, schema){
var op = schema ? `console && console.warn &... | <|file_sep|>original/src/ajvEx.js
import AJV from 'ajv';
const ajv = AJV();
function safeEscapeQuotes(str) {
return str.replace(/\\([\s\S])|(')/g,"\\$1$2").replace(/\\([\s\S])|(")/g,"\\$1$2"); // escape only if not escaped already
}
ajv.addKeyword('deprecated', { inline: function (it, keyword, schema){
var op = s... | 6c1a842de5781e36eb32d414aece81558a808ef3 | src/ajvEx.js | src/ajvEx.js | JavaScript |
<|file_sep|>original/resources/views/backend/profile/partials/form/password.blade.php
<form class="keyboard-save" action="{!! route('canvas.auth.password') !!}" method="POST" role="form" autocomplete="false" id="passwordUpdate">
<input type="hidden" name="_token" value="{{ csrf_token() }}">
<input type="hidden" nam... | <form class="keyboard-save" action="{{ url('auth/password') }}" method="POST" role="form" autocomplete="false" id="passwordUpdate">
<input type="hidden" name="_token" value="{{ csrf_token() }}">
<input type="hidden" name="_method" value="POST">
<br>
<div class="form-group">
<div class="fg-line">
... | <|file_sep|>original/resources/views/backend/profile/partials/form/password.blade.php
<form class="keyboard-save" action="{!! route('canvas.auth.password') !!}" method="POST" role="form" autocomplete="false" id="passwordUpdate">
<input type="hidden" name="_token" value="{{ csrf_token() }}">
<input type="hidden" nam... | 1a80d422512f48f410c150e398bee23e59105b5d | resources/views/backend/profile/partials/form/password.blade.php | resources/views/backend/profile/partials/form/password.blade.php | PHP |
<|file_sep|>src/main/webapp/static/js/find/app/model/entity-collection.js.diff
original:
sync: function(method, model, options) {
options = options || {};
options.traditional = true; // Force "traditional" serialization of query parameters, e.g. index=foo&index=bar, for IOD multi-index support.
updated... | ], function(Backbone) {
return Backbone.Collection.extend({
url: '../api/search/find-related-concepts',
fetch: function(options) {
return Backbone.Collection.prototype.fetch.call(this, _.defaults(options, {
reset: true
}));
},
sync: functio... | <|file_sep|>src/main/webapp/static/js/find/app/model/entity-collection.js.diff
original:
sync: function(method, model, options) {
options = options || {};
options.traditional = true; // Force "traditional" serialization of query parameters, e.g. index=foo&index=bar, for IOD multi-index support.
updated... | ad7a52844487e55fc31310c53ffb60545295f92d | src/main/webapp/static/js/find/app/model/entity-collection.js | src/main/webapp/static/js/find/app/model/entity-collection.js | JavaScript |
<|file_sep|>spec/controllers/people_controller_spec.rb.diff
original:
PersonConnection.should_receive(:create_person).with(hash_including({:welcome_mail => false}), anything()).and_return({"entry" => {"id" => "dfskh3r29wefhsdifh"}})
updated:
PersonConnection.should_receive(:create_person).with(hash_includ... | describe "#create" do
it "should tell ASI to skip welcome mail if that's in the community's settings" do
PersonConnection.should_receive(:create_person).with(hash_including({:welcome_email => false}), anything()).and_return({"entry" => {"id" => "dfskh3r29wefhsdifh"}})
@request.host = "... | <|file_sep|>spec/controllers/people_controller_spec.rb.diff
original:
PersonConnection.should_receive(:create_person).with(hash_including({:welcome_mail => false}), anything()).and_return({"entry" => {"id" => "dfskh3r29wefhsdifh"}})
updated:
PersonConnection.should_receive(:create_person).with(hash_includ... | a43be003b284432bbbec20d56b620bb491e94daf | spec/controllers/people_controller_spec.rb | spec/controllers/people_controller_spec.rb | Ruby |
<|file_sep|>core/src/main/kotlin/Kotlin/KotlinElementSignatureProvider.kt.diff
original:
updated:
import com.intellij.psi.PsiPackage
<|file_sep|>core/src/main/kotlin/Kotlin/KotlinElementSignatureProvider.kt.diff
original:
updated:
import org.jetbrains.kotlin.name.FqName
<|file_sep|>original/core/src/main/kotlin/Kotli... | import org.jetbrains.kotlin.resolve.BindingContext
import javax.inject.Inject
class KotlinElementSignatureProvider @Inject constructor(
val resolutionFacade: DokkaResolutionFacade
) : ElementSignatureProvider {
override fun signature(forPsi: PsiElement): String {
val desc = when (forPsi) {
... | <|file_sep|>core/src/main/kotlin/Kotlin/KotlinElementSignatureProvider.kt.diff
original:
updated:
import com.intellij.psi.PsiPackage
<|file_sep|>core/src/main/kotlin/Kotlin/KotlinElementSignatureProvider.kt.diff
original:
updated:
import org.jetbrains.kotlin.name.FqName
<|file_sep|>original/core/src/main/kotlin/Kotli... | ee0b640ad5c4a8cc1b65403dc2c48e7723b8f53a | core/src/main/kotlin/Kotlin/KotlinElementSignatureProvider.kt | core/src/main/kotlin/Kotlin/KotlinElementSignatureProvider.kt | Kotlin |
<|file_sep|>dom/src/mockDOMSource.ts.diff
original:
export class MockedDOMSelection {
updated:
export class MockedDOMSource {
<|file_sep|>dom/src/mockDOMSource.ts.diff
original:
constructor(private mockConfigEventTypes: Object,
mockConfigObservable?: Observable<any>) {
if (mockConfigObservable) {
... | }
return Observable.empty();
}
public select(selector: string): DOMSelection {
const mockConfig = this._mockConfig;
const keys = Object.keys(mockConfig);
const keysLen = keys.length;
for (let i = 0; i < keysLen; i++) {
const key = keys[i];
if (key === selector) {
return ... | <|file_sep|>dom/src/mockDOMSource.ts.diff
original:
export class MockedDOMSelection {
updated:
export class MockedDOMSource {
<|file_sep|>dom/src/mockDOMSource.ts.diff
original:
constructor(private mockConfigEventTypes: Object,
mockConfigObservable?: Observable<any>) {
if (mockConfigObservable) {
... | e8a69fdc60b394b377c18f3c8aedcbd746a1b6e4 | dom/src/mockDOMSource.ts | dom/src/mockDOMSource.ts | TypeScript |
<|file_sep|>src/ol/mapevent.js.diff
original:
updated:
* The map where the event occurred.
<|file_sep|>original/src/ol/mapevent.js
* @implements {oli.MapEvent}
* @param {string} type Event type.
* @param {ol.Map} map Map.
* @param {?olx.FrameState=} opt_frameState Frame state.
*/
ol.MapEvent = function(type, m... | * @param {ol.Map} map Map.
* @param {?olx.FrameState=} opt_frameState Frame state.
*/
ol.MapEvent = function(type, map, opt_frameState) {
goog.base(this, type);
/**
* The map where the event occurred.
* @type {ol.Map}
* @todo api
*/
this.map = map;
/**
* @type {?olx.FrameState}
*/
this... | <|file_sep|>src/ol/mapevent.js.diff
original:
updated:
* The map where the event occurred.
<|file_sep|>original/src/ol/mapevent.js
* @implements {oli.MapEvent}
* @param {string} type Event type.
* @param {ol.Map} map Map.
* @param {?olx.FrameState=} opt_frameState Frame state.
*/
ol.MapEvent = function(type, m... | 0f04236fc48674fcd9d7423e5e0fe6afa9643d94 | src/ol/mapevent.js | src/ol/mapevent.js | JavaScript |
<|file_sep|>original/source/seedsource/tasks/cleanup_tifs.py
from django.conf import settings
import os
import os.path
import time
import re
from celery.task import task
@task
def cleanup_temp_tif_files(age=7200):
temp_dir = settings.DATASET_DOWNLOAD_DIR
cutoff = time.time() - age
t_files = os.listdir(temp... | from django.conf import settings
import os
import os.path
import time
import re
from celery.task import task
@task
def cleanup_temp_tif_files(age=7200):
temp_dir = settings.DATASET_DOWNLOAD_DIR
cutoff = time.time() - age
t_files = os.listdir(temp_dir)
for t_file in t_files:
if re.search('.zip$'... | <|file_sep|>original/source/seedsource/tasks/cleanup_tifs.py
from django.conf import settings
import os
import os.path
import time
import re
from celery.task import task
@task
def cleanup_temp_tif_files(age=7200):
temp_dir = settings.DATASET_DOWNLOAD_DIR
cutoff = time.time() - age
t_files = os.listdir(temp... | 69c2921f308ef1bd102ba95152ebdeccf72b8f6e | source/seedsource/tasks/cleanup_tifs.py | source/seedsource/tasks/cleanup_tifs.py | Python |
<|file_sep|>.travis.yml.diff
original:
updated:
os:
- "linux"
- "osx"
<|file_sep|>.travis.yml.diff
original:
updated:
- "0.12"
<|file_sep|>.travis.yml.diff
original:
updated:
- "6.1"
- "5.11"
- "4.4"
<|file_sep|>.travis.yml.diff
original:
- couchdb
- mongodb
updated:
- elasticsearch
<|file_sep|>... | - "0.12"
- "0.11"
- "0.10"
- "6.1"
- "5.11"
- "4.4"
services:
- elasticsearch
- rabbitmq
before_install:
- "export NODE_ENV=test"
- "npm config set strict-ssl false"
- "npm install -g chai istanbul jsdoc mocha"
before_script:
- "sleep 10"
- "curl -HContent-Type:application/json -vXPUT http:... | <|file_sep|>.travis.yml.diff
original:
updated:
os:
- "linux"
- "osx"
<|file_sep|>.travis.yml.diff
original:
updated:
- "0.12"
<|file_sep|>.travis.yml.diff
original:
updated:
- "6.1"
- "5.11"
- "4.4"
<|file_sep|>.travis.yml.diff
original:
- couchdb
- mongodb
updated:
- elasticsearch
<|file_sep|>... | dbd8fd3b6453faada35a10a9410a40d8c9e7e1fd | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/build.ps1
exit $buildExitCode
}
Write-Output "*** Building projects"
$buildExitCode=0
Get-Content build\build-order.txt | ForEach-Object {
Write-Output "*** dotnet build $_"
dotnet build $_
if ($LASTEXITCODE -ne 0){
$testExitCode = $LASTEXITCODE
}
}
if($buildExitCode -ne ... | exit $buildExitCode
}
Write-Output "*** Building projects"
$buildExitCode=0
Get-Content build\build-order.txt | ForEach-Object {
Write-Output "*** dotnet build $_"
dotnet build $_
if ($LASTEXITCODE -ne 0){
$buildExitCode = $LASTEXITCODE
}
}
if($buildExitCode -ne 0) {
Write-Output "*** Bui... | <|file_sep|>original/build.ps1
exit $buildExitCode
}
Write-Output "*** Building projects"
$buildExitCode=0
Get-Content build\build-order.txt | ForEach-Object {
Write-Output "*** dotnet build $_"
dotnet build $_
if ($LASTEXITCODE -ne 0){
$testExitCode = $LASTEXITCODE
}
}
if($buildExitCode -ne ... | ec176c480d4fac3a0f0dc1b307e24e97aed14daa | build.ps1 | build.ps1 | PowerShell |
<|file_sep|>README.md.diff
original:
temperature-humidity-dashboard
updated:
indoor-air-quality-dashboard
<|file_sep|>README.md.diff
original:
LAMP based Temperature and Humidity Web Dashboard for the Spark Core
updated:
LAMP based Indoor Air Quality Web Dashboard for the Spark Core
<|file_sep|>README.md.diff
original:... | indoor-air-quality-dashboard
==============================
LAMP based Indoor Air Quality Web Dashboard for the Spark Core
### Consists of:
1. PHP pages to add a device and view graphs and a calendar showing when air quality is poor
2. Firmware to send the sensor data to the web pages
3. Scripts and instructions to s... | <|file_sep|>README.md.diff
original:
temperature-humidity-dashboard
updated:
indoor-air-quality-dashboard
<|file_sep|>README.md.diff
original:
LAMP based Temperature and Humidity Web Dashboard for the Spark Core
updated:
LAMP based Indoor Air Quality Web Dashboard for the Spark Core
<|file_sep|>README.md.diff
original:... | 2c0861cd5bf8a5c9cfcd36055282a882ae0a3b7c | README.md | README.md | Markdown |
<|file_sep|>original/app/src/main/res/layout/content_notes.xml
<|file_sep|>current/app/src/main/res/layout/content_notes.xml
<|file_sep|>updated/app/src/main/res/layout/content_notes.xml | <?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_hei... | <|file_sep|>original/app/src/main/res/layout/content_notes.xml
<|file_sep|>current/app/src/main/res/layout/content_notes.xml
<|file_sep|>updated/app/src/main/res/layout/content_notes.xml
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout
xmlns:android="http://schemas.android.c... | e09db6518837be6b4efd083bf871b831ef2e189f | app/src/main/res/layout/content_notes.xml | app/src/main/res/layout/content_notes.xml | XML |
<|file_sep|>original/.vscode/launch.json
"request": "launch",
"program": "${workspaceRoot}/node_modules/.bin/_mocha",
"args": [
"--colors",
"--timeout=0",
"./build/test/tsickle_test.js"
],
"cwd": "${workspaceRoot}",
"runtimeArgs": [
"--nolazy"
],... | "program": "${workspaceRoot}/node_modules/.bin/_mocha",
"args": [
"--colors",
"--timeout=0",
"./build/test/tsickle_test.js"
],
"cwd": "${workspaceRoot}",
"runtimeArgs": [
"--nolazy"
],
"env": {
"NODE_ENV": "development",
"TEST_FIL... | <|file_sep|>original/.vscode/launch.json
"request": "launch",
"program": "${workspaceRoot}/node_modules/.bin/_mocha",
"args": [
"--colors",
"--timeout=0",
"./build/test/tsickle_test.js"
],
"cwd": "${workspaceRoot}",
"runtimeArgs": [
"--nolazy"
],... | 234a344d0c099bf7b4c460c885ef7ca8593e4818 | .vscode/launch.json | .vscode/launch.json | JSON |
<|file_sep|>original/app/views/groups/_projects.html.haml
Projects (#{projects.count})
- if can? current_user, :manage_group, @group
%span.pull-right
= link_to new_project_path(namespace_id: @group.id), class: "btn btn-new" do
%i.icon-plus
New project
%ul.well-list
- if p... | .ui-box
.title
Projects (#{projects.count})
- if can? current_user, :manage_group, @group
%span.pull-right
= link_to new_project_path(namespace_id: @group.id), class: "btn btn-new" do
%i.icon-plus
New project
%ul.well-list
- if projects.blank?
%p.nothing_here_mess... | <|file_sep|>original/app/views/groups/_projects.html.haml
Projects (#{projects.count})
- if can? current_user, :manage_group, @group
%span.pull-right
= link_to new_project_path(namespace_id: @group.id), class: "btn btn-new" do
%i.icon-plus
New project
%ul.well-list
- if p... | e7a35a94c9a39af94f1481eb554d3ed32cceca64 | app/views/groups/_projects.html.haml | app/views/groups/_projects.html.haml | Haml |
<|file_sep|>original/src/front/app/scripts/controllers/profile.js
$scope.user = data;
});
$scope.logout = function() {
authService.logout()
.success(function() {
$location.path("/");
});
};
$scope.deleteDocument = function(document) {
$http({method: "DELETE", url: apiBaseUrl + "/documents/" + docum... | .controller('ProfileController', function ($scope, $location, $resource, authService, $http, apiBaseUrl) {
authService.ensureLogin()
.success(function(data) {
$scope.user = data;
});
$scope.logout = function() {
authService.logout()
.success(function() {
$location.path("/");
});
};
$scope.deleteDocu... | <|file_sep|>original/src/front/app/scripts/controllers/profile.js
$scope.user = data;
});
$scope.logout = function() {
authService.logout()
.success(function() {
$location.path("/");
});
};
$scope.deleteDocument = function(document) {
$http({method: "DELETE", url: apiBaseUrl + "/documents/" + docum... | 36a3f3df1ec5984b19e3a90daf918e2026035b92 | src/front/app/scripts/controllers/profile.js | src/front/app/scripts/controllers/profile.js | JavaScript |
<|file_sep|>original/app/views/tradingpremises/activity_start_date.scala.html
}
@main(
title = Messages("tradingpremises.startDate.title") + " - " + Messages("summary.tradingpremises"),
heading = header
) {
@form(f, controllers.tradingpremises.routes.ActivityStartDateController.post(index, edit)) {
... |
@main(
title = Messages("tradingpremises.startDate.title") + " - " + Messages("summary.tradingpremises"),
heading = header
) {
@form(f, controllers.tradingpremises.routes.ActivityStartDateController.post(index, edit)) {
@date(
f = f,
p = "startDate",
example = ... | <|file_sep|>original/app/views/tradingpremises/activity_start_date.scala.html
}
@main(
title = Messages("tradingpremises.startDate.title") + " - " + Messages("summary.tradingpremises"),
heading = header
) {
@form(f, controllers.tradingpremises.routes.ActivityStartDateController.post(index, edit)) {
... | 9f1cd2095201a5c1c6c2a5ffcb63fbcc760e025a | app/views/tradingpremises/activity_start_date.scala.html | app/views/tradingpremises/activity_start_date.scala.html | HTML |
<|file_sep|>original/index.html
}
tr:hover {
background: #f5f9ff;
}
</style>
</head>
<body>
<h1>VinylSearch</h1>
<p><input placeholder="Search"></p>
<div id="output"></div>
<script id="template" type="x-tmpl-mustache">
<table>
{{ #results }}
<tr>
<td>{{ artist }}</td>
<td>{{ album }}</td>
... | }
tr:hover {
background: #f5f9ff;
}
</style>
</head>
<body>
<h1>VinylSearch</h1>
<p><input placeholder="Search" type="search"></p>
<div id="output"></div>
<script id="template" type="x-tmpl-mustache">
<table>
{{ #results }}
<tr>
<td>{{ artist }}</td>
<td>{{ album }}</td>
</tr> | <|file_sep|>original/index.html
}
tr:hover {
background: #f5f9ff;
}
</style>
</head>
<body>
<h1>VinylSearch</h1>
<p><input placeholder="Search"></p>
<div id="output"></div>
<script id="template" type="x-tmpl-mustache">
<table>
{{ #results }}
<tr>
<td>{{ artist }}</td>
<td>{{ album }}</td>
... | 65dbee102e4e5bf9bd7e20610a90ff4e8fbe13f0 | index.html | index.html | HTML |
<|file_sep|>original/app/models/cve.rb
# ===GLSAMaker v2
# Copyright (C) 2010 Alex Legler <a3li@gentoo.org>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the Lice... | # ===GLSAMaker v2
# Copyright (C) 2010 Alex Legler <a3li@gentoo.org>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ve... | <|file_sep|>original/app/models/cve.rb
# ===GLSAMaker v2
# Copyright (C) 2010 Alex Legler <a3li@gentoo.org>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the Lice... | e18d58a2cf949c5fb1c2d14aa7732b8afc971e76 | app/models/cve.rb | app/models/cve.rb | Ruby |
<|file_sep|>original/.travis.yml
language: php
php:
- "7.1"
- "7.2"
- "7.3"
cache:
directories:
- vendor
- $HOME/.composer/cache
env:
matrix:
- DEPENDENCIES=latest
- DEPENDENCIES=oldest
before_install:
- phpenv config-rm xdebug.ini || echo "xdebug not available"
<|file_sep|>current/.travis.yml
langua... |
language: php
php:
- "7.1"
- "7.2"
- "7.3"
cache:
directories:
- $HOME/.composer/cache
env:
matrix:
- DEPENDENCIES=latest
- DEPENDENCIES=oldest
before_install:
- phpenv config-rm xdebug.ini || echo "xdebug not available"
install: | <|file_sep|>original/.travis.yml
language: php
php:
- "7.1"
- "7.2"
- "7.3"
cache:
directories:
- vendor
- $HOME/.composer/cache
env:
matrix:
- DEPENDENCIES=latest
- DEPENDENCIES=oldest
before_install:
- phpenv config-rm xdebug.ini || echo "xdebug not available"
<|file_sep|>current/.travis.yml
langua... | 9e568d82d9a7c411a76db47e4cd1875ae655759b | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/docs/index.rst
--------------------------------------------------
Main version: |version|, release: |release|
Documentation content:
--------------------------------------------------
.. toctree::
:maxdepth: 2
intro
architecture
install
configuration
run
api
tutorial
In... | --------------------------------------------------
Main version: |version|, release: |release|
Documentation content:
--------------------------------------------------
.. toctree::
:maxdepth: 2
Back to Alignak doc <http://docs.alignak.net>
intro
architecture
install
configuration
run
api
t... | <|file_sep|>original/docs/index.rst
--------------------------------------------------
Main version: |version|, release: |release|
Documentation content:
--------------------------------------------------
.. toctree::
:maxdepth: 2
intro
architecture
install
configuration
run
api
tutorial
In... | 77e3762f28b1013265e0eddd5b0ad06b63e23e0d | docs/index.rst | docs/index.rst | reStructuredText |
<|file_sep|>core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileNameParser.java.diff
original:
updated:
private static final int DEFAULT_PORT = 22;
<|file_sep|>original/core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileNameParser.java
import org.apache.commons.vfs2.provider.FileNam... |
/**
* Implementation for sftp. set default port to 22.
*/
public class SftpFileNameParser extends URLFileNameParser
{
private static final int DEFAULT_PORT = 22;
private static final SftpFileNameParser INSTANCE = new SftpFileNameParser();
public SftpFileNameParser()
{
super(DEFAULT_POR... | <|file_sep|>core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileNameParser.java.diff
original:
updated:
private static final int DEFAULT_PORT = 22;
<|file_sep|>original/core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileNameParser.java
import org.apache.commons.vfs2.provider.FileNam... | 9e503382c0b4ad20d2962a080591646383342dab | core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileNameParser.java | core/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileNameParser.java | Java |
<|file_sep|>original/app/models.py
class HDRO(db.Model, ValidationMixin):
# auto keys
id = db.Column(db.Integer, primary_key=True)
utc_created = db.Column(db.DateTime, nullable=False, default=dt.utcnow())
utc_updated = db.Column(
db.DateTime, nullable=False, default=dt.utcnow(), onupdate=dt.ut... |
class HDRO(db.Model, ValidationMixin):
# auto keys
id = db.Column(db.Integer, primary_key=True)
utc_created = db.Column(db.DateTime, nullable=False, default=dt.utcnow())
utc_updated = db.Column(
db.DateTime, nullable=False, default=dt.utcnow(), onupdate=dt.utcnow())
# other keys
rid =... | <|file_sep|>original/app/models.py
class HDRO(db.Model, ValidationMixin):
# auto keys
id = db.Column(db.Integer, primary_key=True)
utc_created = db.Column(db.DateTime, nullable=False, default=dt.utcnow())
utc_updated = db.Column(
db.DateTime, nullable=False, default=dt.utcnow(), onupdate=dt.ut... | dd739126181b29493c9d1d90a7e40eac09c23666 | app/models.py | app/models.py | Python |
<|file_sep|>lib/libc/minimal/include/stddef.h.diff
original:
updated:
#if defined(__GNUC__)
#define offsetof(type, member) __builtin_offsetof(type, member)
#else
<|file_sep|>original/lib/libc/minimal/include/stddef.h
* Unless required by applicable law or agreed to in writing, software
* distributed under the Licen... | * limitations under the License.
*/
#ifndef __INC_stddef_h__
#define __INC_stddef_h__
#include <bits/null.h>
#include <bits/size_t.h>
#if !defined(__ptrdiff_t_defined)
#define __ptrdiff_t_defined
typedef int ptrdiff_t;
#endif
#if defined(__GNUC__)
#define offsetof(type, member) __builtin_offsetof(type, member)
... | <|file_sep|>lib/libc/minimal/include/stddef.h.diff
original:
updated:
#if defined(__GNUC__)
#define offsetof(type, member) __builtin_offsetof(type, member)
#else
<|file_sep|>original/lib/libc/minimal/include/stddef.h
* Unless required by applicable law or agreed to in writing, software
* distributed under the Licen... | 1980b7bb0ffee0750ed832fc1b474c6ae6e85b00 | lib/libc/minimal/include/stddef.h | lib/libc/minimal/include/stddef.h | C |
<|file_sep|>README.md.diff
original:
updated:

<|file_sep|>original/README.md

# pine - A CLI installer ... | 
# pine - A CLI installer for timber
A CLI tool written in PHP based on symfony console to easily create a WordPress (Timber) project.

<|file_sep|>original/README.md

# pine - A CLI installer ... | 0b623a0cf3a5e2768c1f2b6f44c16319d744c937 | README.md | README.md | Markdown |
<|file_sep|>original/rache/utils.py
parsed_redis = parse.urlparse(
os.environ.get('REDIS_URL', 'redis://localhost:6379/0'))
if '?' in parsed_redis.path and not parsed_redis.query:
# Bug in python 2.7.3, fixed in 2.7.4
path, q, querystring = parsed_redis.path.partition('?')
else:
... | # Bug in python 2.7.3, fixed in 2.7.4
path, q, querystring = parsed_redis.path.partition('?')
else:
path, q, querystring = parsed_redis.path, None, parsed_redis.query
if parsed_redis.netloc.endswith('unix'):
del config['port']
del config['host']
# the last item o... | <|file_sep|>original/rache/utils.py
parsed_redis = parse.urlparse(
os.environ.get('REDIS_URL', 'redis://localhost:6379/0'))
if '?' in parsed_redis.path and not parsed_redis.query:
# Bug in python 2.7.3, fixed in 2.7.4
path, q, querystring = parsed_redis.path.partition('?')
else:
... | 3ec5c0a742054177be525182f42b69d48f837aff | rache/utils.py | rache/utils.py | Python |
<|file_sep|>spec/decorators/redirect_decorator_spec.rb.diff
original:
updated:
let(:instance) { build(:redirect).decorate }
it '#status_code_collection' do
expect(instance.status_code_collection).to eq [
['301 (Moved Permanently)', '301'],
... | require 'rails_helper'
describe RedirectDecorator do
let(:instance) { build(:redirect).decorate }
it '#status_code_collection' do
expect(instance.status_code_collection).to eq [
['301 (Moved Permanently)', '301'],
... | <|file_sep|>spec/decorators/redirect_decorator_spec.rb.diff
original:
updated:
let(:instance) { build(:redirect).decorate }
it '#status_code_collection' do
expect(instance.status_code_collection).to eq [
['301 (Moved Permanently)', '301'],
... | c6eb7447e73d895d70c4c3cc0edccc2d5301e2f6 | spec/decorators/redirect_decorator_spec.rb | spec/decorators/redirect_decorator_spec.rb | Ruby |
<|file_sep|>original/recipes/jupyterlab-sos/meta.yaml
name: {{ name|lower }}
version: {{ version }}
source:
url: https://registry.npmjs.org/jupyterlab-sos/-/jupyterlab-sos-{{ version }}.tgz
sha256: afbfa0c906a45db6e97b12731d308de89e80990833401355198f75f455328de5
build:
number: 0
requirements:
build:
... | name: {{ name|lower }}
version: {{ version }}
source:
url: https://registry.npmjs.org/jupyterlab-sos/-/jupyterlab-sos-{{ version }}.tgz
sha256: afbfa0c906a45db6e97b12731d308de89e80990833401355198f75f455328de5
build:
number: 0
noarch: python
requirements:
build:
- nodejs
host:
- jupyterlab
... | <|file_sep|>original/recipes/jupyterlab-sos/meta.yaml
name: {{ name|lower }}
version: {{ version }}
source:
url: https://registry.npmjs.org/jupyterlab-sos/-/jupyterlab-sos-{{ version }}.tgz
sha256: afbfa0c906a45db6e97b12731d308de89e80990833401355198f75f455328de5
build:
number: 0
requirements:
build:
... | 9592c8be12d66d386aa29b3eaa248552a5c52556 | recipes/jupyterlab-sos/meta.yaml | recipes/jupyterlab-sos/meta.yaml | YAML |
<|file_sep|>original/app/locales/eo.yml
app.poweredby: Funkcianta per
app.name: Pasvort-interŝanĝo
app.data.username: Salutnomo
app.data.password: Pasvorto
app.data.comment: Noto
app.data.expires: Valida por
app.data.onetimeview: Forigi rekordo post kiam ĝi estis rigardita
app.data.seconds: sekundoj
app.data.minutes: ... | app.poweredby: Funkcianta per
app.name: Pasvort-interŝanĝo
app.data.username: Salutnomo
app.data.password: Pasvorto
app.data.comment: Noto
app.data.expires: Valida por
app.data.onetimeview: Forigi la rekordon la unuan fojon ĝi estas montrata
app.data.seconds: sekundoj
app.data.minutes: minutoj
app.data.hour: horo
app.... | <|file_sep|>original/app/locales/eo.yml
app.poweredby: Funkcianta per
app.name: Pasvort-interŝanĝo
app.data.username: Salutnomo
app.data.password: Pasvorto
app.data.comment: Noto
app.data.expires: Valida por
app.data.onetimeview: Forigi rekordo post kiam ĝi estis rigardita
app.data.seconds: sekundoj
app.data.minutes: ... | fe3bcfcec0addd48e815ce815bdd25379d9d2ee4 | app/locales/eo.yml | app/locales/eo.yml | YAML |
<|file_sep|>original/tests/NugetAuditor.Tests/NugetAuditorLibTests.cs
using System.IO;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NugetAuditor;
namespace NugetAuditor.Tests
{
[TestClass]
public class NugetAuditorLibTests
{
[TestMethod]
public void CanAudit... | using System.IO;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NugetAuditor;
namespace NugetAuditor.Tests
{
[TestClass]
public class NugetAuditorLibTests
{
[TestMethod]
public void CanAuditFiles()
{
var f3 = Path.Combine("TestFiles", "pack... | <|file_sep|>original/tests/NugetAuditor.Tests/NugetAuditorLibTests.cs
using System.IO;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NugetAuditor;
namespace NugetAuditor.Tests
{
[TestClass]
public class NugetAuditorLibTests
{
[TestMethod]
public void CanAudit... | cc720587e7ae11ecf538ab9570c2c21110f8bdf6 | tests/NugetAuditor.Tests/NugetAuditorLibTests.cs | tests/NugetAuditor.Tests/NugetAuditorLibTests.cs | C# |
<|file_sep|>original/tests/e2e/mu-plugins/e2e-enable-loopback.php
<|file_sep|>current/tests/e2e/mu-plugins/e2e-enable-loopback.php
<|file_sep|>updated/tests/e2e/mu-plugins/e2e-enable-loopback.php | <?php
/**
* Plugin Name: E2E Enable Loopback
* Description: Plugin to filter http requests to remove the port.
*
* @package Google\Site_Kit
* @copyright 2020 Google LLC
* @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0
* @link https://sitekit.withgoogle.com
*/
add_filter(
'pre_... | <|file_sep|>original/tests/e2e/mu-plugins/e2e-enable-loopback.php
<|file_sep|>current/tests/e2e/mu-plugins/e2e-enable-loopback.php
<|file_sep|>updated/tests/e2e/mu-plugins/e2e-enable-loopback.php
<?php
/**
* Plugin Name: E2E Enable Loopback
* Description: Plugin to filter http requests to remove the port.
*
* @pa... | 445a187eb0711916e01d64cb4ef35b0bcc87ec87 | tests/e2e/mu-plugins/e2e-enable-loopback.php | tests/e2e/mu-plugins/e2e-enable-loopback.php | PHP |
<|file_sep|>database/migrations/2016_12_27_030459_add_api_token_on_users.php.diff
original:
Schema::table('users', function ($table) {
$table->string('api_token')->unique()->after('role');
});
updated:
if (Schema::hasTable('users')) {
Schema::table('users', function ($tab... | if (Schema::hasTable('users')) {
Schema::table('users', function ($table) {
$table->string('api_token')->unique()->nullable()->after('role');
});
}
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
... | <|file_sep|>database/migrations/2016_12_27_030459_add_api_token_on_users.php.diff
original:
Schema::table('users', function ($table) {
$table->string('api_token')->unique()->after('role');
});
updated:
if (Schema::hasTable('users')) {
Schema::table('users', function ($tab... | 72f1bf71b47efe0a45741705f7d2158278cfba30 | database/migrations/2016_12_27_030459_add_api_token_on_users.php | database/migrations/2016_12_27_030459_add_api_token_on_users.php | PHP |
<|file_sep|>original/fund/src/test/java/cl/fatman/capital/fund/PersistenceDataTest.java
<|file_sep|>current/fund/src/test/java/cl/fatman/capital/fund/PersistenceDataTest.java
<|file_sep|>updated/fund/src/test/java/cl/fatman/capital/fund/PersistenceDataTest.java | package cl.fatman.capital.fund;
import static org.junit.Assert.*;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
import java.time.LocalDate;
import java.util.List;
import java.util.ArrayList;
public class PersistenceDataTest {
private static PersistenceData connection;
@Bef... | <|file_sep|>original/fund/src/test/java/cl/fatman/capital/fund/PersistenceDataTest.java
<|file_sep|>current/fund/src/test/java/cl/fatman/capital/fund/PersistenceDataTest.java
<|file_sep|>updated/fund/src/test/java/cl/fatman/capital/fund/PersistenceDataTest.java
package cl.fatman.capital.fund;
import static org.junit... | 013219cf820d6f892444e978127699b1f7bdbcf9 | fund/src/test/java/cl/fatman/capital/fund/PersistenceDataTest.java | fund/src/test/java/cl/fatman/capital/fund/PersistenceDataTest.java | Java |
<|file_sep|>original/core/app/assets/stylesheets/base.css.less
//= require bootstrap
//= require_tree ./base
@import "bootstrap/mixins";
body {
min-width: 960px;
.background();
}
<|file_sep|>current/core/app/assets/stylesheets/base.css.less
//= require bootstrap
//= require_tree ./base
@import "bootstrap/mixins"... | // *= require_tree ./twitter
//= require bootstrap
//= require_tree ./base
@import "bootstrap/mixins";
body {
min-width: 960px;
.background();
} | <|file_sep|>original/core/app/assets/stylesheets/base.css.less
//= require bootstrap
//= require_tree ./base
@import "bootstrap/mixins";
body {
min-width: 960px;
.background();
}
<|file_sep|>current/core/app/assets/stylesheets/base.css.less
//= require bootstrap
//= require_tree ./base
@import "bootstrap/mixins"... | e7f3e6e02bc53d22a9d2b9c5e2edd52d238d4b57 | core/app/assets/stylesheets/base.css.less | core/app/assets/stylesheets/base.css.less | Less |
<|file_sep|>original/Formula/bartycrouch.rb
class Bartycrouch < Formula
desc "Incrementally update/translate your Strings files"
homepage "https://github.com/Flinesoft/BartyCrouch"
url "https://github.com/Flinesoft/BartyCrouch.git", :tag => "4.1.0", :revision => "be2404129aa6141b00a2e7fd61e7dd8ab088d1d6"
head "... | class Bartycrouch < Formula
desc "Incrementally update/translate your Strings files"
homepage "https://github.com/Flinesoft/BartyCrouch"
url "https://github.com/Flinesoft/BartyCrouch.git", :tag => "4.1.1", :revision => "201b0b02c196dcda14c806a539ab963284abeeaf"
head "https://github.com/Flinesoft/BartyCrouch.git... | <|file_sep|>original/Formula/bartycrouch.rb
class Bartycrouch < Formula
desc "Incrementally update/translate your Strings files"
homepage "https://github.com/Flinesoft/BartyCrouch"
url "https://github.com/Flinesoft/BartyCrouch.git", :tag => "4.1.0", :revision => "be2404129aa6141b00a2e7fd61e7dd8ab088d1d6"
head "... | 7dfb92f9c74a06910b470f8fb608e068b3ce20d7 | Formula/bartycrouch.rb | Formula/bartycrouch.rb | Ruby |
<|file_sep|>testem.js.diff
original:
"test_page": "tests/index.html?hidepassed",
"disable_watching": true,
"launch_in_ci": [
"Chrome"
updated:
test_page: 'tests/index.html?hidepassed',
disable_watching: true,
launch_in_ci: [
'Chrome'
<|file_sep|>original/testem.js
/* eslint-env node */
module.export... | /* eslint-env node */
module.exports = {
test_page: 'tests/index.html?hidepassed',
disable_watching: true,
launch_in_ci: [
'Chrome'
],
launch_in_dev: [
'Chrome'
],
browser_args: {
Chrome: {
mode: 'ci',
args: [
'--disable-gpu',
'--headless',
'--remote-debuggi... | <|file_sep|>testem.js.diff
original:
"test_page": "tests/index.html?hidepassed",
"disable_watching": true,
"launch_in_ci": [
"Chrome"
updated:
test_page: 'tests/index.html?hidepassed',
disable_watching: true,
launch_in_ci: [
'Chrome'
<|file_sep|>original/testem.js
/* eslint-env node */
module.export... | f95d612a4de43bb408c4e24fa180babc503dd81b | testem.js | testem.js | JavaScript |
<|file_sep|>original/buckaroo_json.gemspec
Gem::Specification.new do |spec|
spec.name = 'buckaroo_json'
spec.version = BuckarooJson::VERSION
spec.authors = ['Floris Huetink']
spec.email = ['florishuetink@gmail.com']
spec.summary = 'Ruby client for Buckaroo JSON checkout ga... |
Gem::Specification.new do |spec|
spec.name = 'buckaroo_json'
spec.version = BuckarooJson::VERSION
spec.authors = ['Floris Huetink']
spec.email = ['florishuetink@gmail.com']
spec.summary = 'Ruby client for Buckaroo JSON checkout gateway'
spec.homepage = 'https://gith... | <|file_sep|>original/buckaroo_json.gemspec
Gem::Specification.new do |spec|
spec.name = 'buckaroo_json'
spec.version = BuckarooJson::VERSION
spec.authors = ['Floris Huetink']
spec.email = ['florishuetink@gmail.com']
spec.summary = 'Ruby client for Buckaroo JSON checkout ga... | 0634a4b656844edd943e776d223003c03f9650a1 | buckaroo_json.gemspec | buckaroo_json.gemspec | Ruby |
<|file_sep|>app/js/store.js.diff
original:
import { createStore, applyMiddleware, compose } from 'redux';
updated:
import { createStore, applyMiddleware } from 'redux';
<|file_sep|>original/app/js/store.js
'use strict';
import { createStore, applyMiddleware, compose } from 'redux';
import thunk from 'redux-thunk';
imp... | 'use strict';
import { createStore, applyMiddleware } from 'redux';
import thunk from 'redux-thunk';
import reducer from './reducers';
const createStoreWithMiddleware = applyMiddleware(
thunk
)(createStore);
export default createStoreWithMiddleware(reducer); | <|file_sep|>app/js/store.js.diff
original:
import { createStore, applyMiddleware, compose } from 'redux';
updated:
import { createStore, applyMiddleware } from 'redux';
<|file_sep|>original/app/js/store.js
'use strict';
import { createStore, applyMiddleware, compose } from 'redux';
import thunk from 'redux-thunk';
imp... | b304daf4802a5fa1a870ac65ab9f3674eb83b4c1 | app/js/store.js | app/js/store.js | JavaScript |
<|file_sep|>original/examples/spout/producer/requirements.txt
-e git+https://github.com/pachyderm/python-pachyderm.git@spouts#egg=python-pachyderm
<|file_sep|>current/examples/spout/producer/requirements.txt
-e git+https://github.com/pachyderm/python-pachyderm.git@spouts#egg=python-pachyderm
<|file_sep|>updated/example... | -e git+https://github.com/pachyderm/python-pachyderm.git#egg=python-pachyderm | <|file_sep|>original/examples/spout/producer/requirements.txt
-e git+https://github.com/pachyderm/python-pachyderm.git@spouts#egg=python-pachyderm
<|file_sep|>current/examples/spout/producer/requirements.txt
-e git+https://github.com/pachyderm/python-pachyderm.git@spouts#egg=python-pachyderm
<|file_sep|>updated/example... | dad84c5cf08b2cd310bbad6d43ba4d45cd495bef | examples/spout/producer/requirements.txt | examples/spout/producer/requirements.txt | Text |
<|file_sep|>original/bower.json
"version": "0.8.0",
"main": "",
"ignore": [],
"dependencies": {
"accessifyhtml5-amd": "~2.0.2",
"fitvids": "~1.1.0",
"gmaps": "~0.4.14",
"jquery": "~1.11.1",
... | "name": "yl-bp",
"version": "0.8.0",
"main": "",
"ignore": [],
"dependencies": {
"accessifyhtml5-amd": "~2.0.2",
"fitvids": "~1.1.0",
"gmaps": "~0.4.14",
"jquery": "~1.11.1",
... | <|file_sep|>original/bower.json
"version": "0.8.0",
"main": "",
"ignore": [],
"dependencies": {
"accessifyhtml5-amd": "~2.0.2",
"fitvids": "~1.1.0",
"gmaps": "~0.4.14",
"jquery": "~1.11.1",
... | fe22e6b365ecd5ce60aaec3fb1798c574e775a24 | bower.json | bower.json | JSON |
<|file_sep|>original/install.rb
require 'fileutils'
sample = File.expand_path(File.dirname(__FILE__) + "/samples/skip_selenium_and_coverage.rake")
integration = File.expand_path(RAILS_ROOT + "/lib/tasks/integration.rake")
FileUtils.cp sample, integration
puts `svn add #{integration}`
puts "Integration rake file (#{int... | require 'fileutils'
sample = File.expand_path(File.dirname(__FILE__) + "/samples/skip_selenium_and_coverage.rake")
integration = File.expand_path(RAILS_ROOT + "/lib/tasks/integration.rake")
FileUtils.cp sample, integration | <|file_sep|>original/install.rb
require 'fileutils'
sample = File.expand_path(File.dirname(__FILE__) + "/samples/skip_selenium_and_coverage.rake")
integration = File.expand_path(RAILS_ROOT + "/lib/tasks/integration.rake")
FileUtils.cp sample, integration
puts `svn add #{integration}`
puts "Integration rake file (#{int... | a18f51d19f4972664cf83bd7d5970a8a44e9d553 | install.rb | install.rb | Ruby |
<|file_sep|>original/Package.swift
import PackageDescription
let package = Package(
name: "Swiftz",
targets: [
Target(name: "Swiftz")
],
dependencies: [
.Package(url: "https://github.com/typelift/Operadics.git", versions: Version(0,2,2)...Version(0,2,2)),
.Package(url: "https://github.com/typelift/Swiftx.git... | import PackageDescription
let package = Package(
name: "Swiftz",
targets: [
Target(name: "Swiftz")
],
dependencies: [
.Package(url: "https://github.com/typelift/Operadics.git", versions: Version(0,2,2)...Version(0,2,2)),
.Package(url: "https://github.com/typelift/Swiftx.git", versions: Version(0,5,1)...Versi... | <|file_sep|>original/Package.swift
import PackageDescription
let package = Package(
name: "Swiftz",
targets: [
Target(name: "Swiftz")
],
dependencies: [
.Package(url: "https://github.com/typelift/Operadics.git", versions: Version(0,2,2)...Version(0,2,2)),
.Package(url: "https://github.com/typelift/Swiftx.git... | eb9622bfc015fdebdd1660bd1442c765510ec452 | Package.swift | Package.swift | Swift |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.2
- 1.9.3
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.9.2
- 1.9.3
<|file_sep|>updated/.travis.yml | language: ruby
rvm:
- 2.1.8
- 2.2.4
- 2.3.0 | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.2
- 1.9.3
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.9.2
- 1.9.3
<|file_sep|>updated/.travis.yml
language: ruby
rvm:
- 2.1.8
- 2.2.4
- 2.3.0 | 358cd8f8134688340b6fdb8b0b9bb4a6ea006e26 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/main/java/com/sangdol/experiment/portableDb/ViewApplication.java
@Override
public String getName() {
return "User view";
}
@Override
public void initialize(Bootstrap<ViewConfiguration> bootstrap) {}
@Override
public void run(ViewConfiguration configuration,... | }
@Override
public void initialize(Bootstrap<ViewConfiguration> bootstrap) {}
@Override
public void run(ViewConfiguration configuration, Environment environment) throws ClassNotFoundException {
final ViewTable viewTable = new ViewTable();
final ViewSimpleQuery viewSimpleQuery = new... | <|file_sep|>original/src/main/java/com/sangdol/experiment/portableDb/ViewApplication.java
@Override
public String getName() {
return "User view";
}
@Override
public void initialize(Bootstrap<ViewConfiguration> bootstrap) {}
@Override
public void run(ViewConfiguration configuration,... | c8dece1e7533ff54d59a3563308465feff79e2e4 | src/main/java/com/sangdol/experiment/portableDb/ViewApplication.java | src/main/java/com/sangdol/experiment/portableDb/ViewApplication.java | Java |
<|file_sep|>src/css/index.css.diff
original:
background-image: url("/images/bg.jpg");
updated:
background-image: url("/images/bg_720.jpg");
<|file_sep|>original/src/css/index.css
@import "tailwindcss/components";
@import "tailwindcss/utilities";
@import "tailwindcss/screens";
html {
height: 100%;
}
body {
hei... | }
#__next {
height: 100%;
}
.bg-img {
background-image: url("/images/bg_720.jpg");
background-size: cover;
}
@media (min-width: 720px) {
.bg-img {
background-image: url("/images/bg_1168.jpg");
}
}
@media (min-width: 1168px) {
.bg-img {
background-image: url("/images/bg_1543.jpg");
}
} | <|file_sep|>src/css/index.css.diff
original:
background-image: url("/images/bg.jpg");
updated:
background-image: url("/images/bg_720.jpg");
<|file_sep|>original/src/css/index.css
@import "tailwindcss/components";
@import "tailwindcss/utilities";
@import "tailwindcss/screens";
html {
height: 100%;
}
body {
hei... | f0a55c8b964670bf617658293f3390b53c23ab87 | src/css/index.css | src/css/index.css | CSS |
<|file_sep|>stylesheets/atom-hack.atom-text-editor.less.diff
original:
updated:
@import "octicon-utf-codes";
<|file_sep|>original/stylesheets/atom-hack.atom-text-editor.less
//noinspection CssUnknownTarget
@import "syntax-variables";
@import "ui-variables";
// Using the git-diff colors so they are visible on your syn... | //noinspection CssUnknownTarget
@import "syntax-variables";
@import "octicon-utf-codes";
@import "ui-variables";
@import "tooltips";
// Using the git-diff colors so they are visible on your syntax theme.
@gutter: @syntax-color-removed;
@underline: #00a188;
.highlight-blue .region {
border-bottom: 1px dashed @underl... | <|file_sep|>stylesheets/atom-hack.atom-text-editor.less.diff
original:
updated:
@import "octicon-utf-codes";
<|file_sep|>original/stylesheets/atom-hack.atom-text-editor.less
//noinspection CssUnknownTarget
@import "syntax-variables";
@import "ui-variables";
// Using the git-diff colors so they are visible on your syn... | bff08eb5730f6dd80ead8364723e0d3d73d23d35 | stylesheets/atom-hack.atom-text-editor.less | stylesheets/atom-hack.atom-text-editor.less | Less |
<|file_sep|>original/app/views/account_mailer/sign_up_thank_you.html.erb
Hey <%= @user.name.split(' ').first %>!
<br/><br/>
You are about to embark on what may turn out to be the most rewarding and profitable thing you have ever done online.
<br/><br/>
Building your online platform is important. We want to help million... | Hey <%= @user.name.split(' ').first %>!
<br/><br/>
You are about to embark on what may turn out to be the most rewarding and profitable thing you have ever done online.
<br/><br/>
Building your online platform is important. We want to help millions of motivated and passionate people like you
build real online businesse... | <|file_sep|>original/app/views/account_mailer/sign_up_thank_you.html.erb
Hey <%= @user.name.split(' ').first %>!
<br/><br/>
You are about to embark on what may turn out to be the most rewarding and profitable thing you have ever done online.
<br/><br/>
Building your online platform is important. We want to help million... | f34435ca10ad9115ac47ecfacea9b361d6dbf24d | app/views/account_mailer/sign_up_thank_you.html.erb | app/views/account_mailer/sign_up_thank_you.html.erb | HTML+ERB |
<|file_sep|>original/lrv/database/seeds/OrganisationsTableSeeder.php
class OrganisationsTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('organisations')->insert([
'name' => 'Wellingt... | class OrganisationsTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('organisations')->insert([
'id' => 1,
'name' => 'Wellington Gliding Club',
... | <|file_sep|>original/lrv/database/seeds/OrganisationsTableSeeder.php
class OrganisationsTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('organisations')->insert([
'name' => 'Wellingt... | 2b1fcaf5d07c4c5996a4e4dbc57894f5a38449dd | lrv/database/seeds/OrganisationsTableSeeder.php | lrv/database/seeds/OrganisationsTableSeeder.php | PHP |
<|file_sep|>android/entityextraction/gradle/wrapper/gradle-wrapper.properties.diff
original:
#Mon Aug 17 15:40:17 PDT 2020
updated:
#Tue Jun 15 01:54:05 UTC 2021
<|file_sep|>android/entityextraction/gradle/wrapper/gradle-wrapper.properties.diff
original:
updated:
distributionUrl=https\://services.gradle.org/distributi... | #Tue Jun 15 01:54:05 UTC 2021
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME | <|file_sep|>android/entityextraction/gradle/wrapper/gradle-wrapper.properties.diff
original:
#Mon Aug 17 15:40:17 PDT 2020
updated:
#Tue Jun 15 01:54:05 UTC 2021
<|file_sep|>android/entityextraction/gradle/wrapper/gradle-wrapper.properties.diff
original:
updated:
distributionUrl=https\://services.gradle.org/distributi... | adb7925ea9e3a2a6805fb033e94310f3de6400b7 | android/entityextraction/gradle/wrapper/gradle-wrapper.properties | android/entityextraction/gradle/wrapper/gradle-wrapper.properties | INI |
<|file_sep|>original/zuul.d/playbooks/pre-gate-cleanup.yml
- name: Cleanup gate images
block:
- name: Switch apt source from https to http
replace:
path: /etc/apt/sources.list
regexp: 'https'
replace: "http"
when:
- ansible_distribu... |
- name: Cleanup gate images
block:
- name: Switch apt source from https to http
replace:
path: /etc/apt/sources.list
regexp: 'https'
replace: "http"
when:
- ansible_distribution_release in ['bionic', 'focal']
- name: Remove pac... | <|file_sep|>original/zuul.d/playbooks/pre-gate-cleanup.yml
- name: Cleanup gate images
block:
- name: Switch apt source from https to http
replace:
path: /etc/apt/sources.list
regexp: 'https'
replace: "http"
when:
- ansible_distribu... | f893e82f73f5df77ca8702640db6d19461e4967d | zuul.d/playbooks/pre-gate-cleanup.yml | zuul.d/playbooks/pre-gate-cleanup.yml | YAML |
<|file_sep|>original/list/list.py
#print max(a)
#print min(a)
#print len(a)
#print list("Hello")
#b=[1,3,5,7,9,8]
#b[1]=4
#print b
#del b[1]
#print b
c=list("Perl")
c[1:1]=list('ython')
c[-4:]=[]
c.append('n')
print c.count('t')
print c
d=[1,2,3]
d.extend([4,5,6])
print d
e=[7,8,9]
print e+[10,11,12]
print e
<|file_sep... | #b=[1,3,5,7,9,8]
#b[1]=4
#print b
#del b[1]
#print b
#c=list("Perl")
#c[1:1]=list('ython')
#c[-4:]=[]
#c.append('n')
#print c.count('t')
#print c
#d=[1,2,3]
#d.extend([4,5,6])
#print d
#e=[7,8,9]
#print e+[10,11,12]
#print e
f=list("abcdefg")
print f.index('c')
f.insert(len(f),'h')
print f | <|file_sep|>original/list/list.py
#print max(a)
#print min(a)
#print len(a)
#print list("Hello")
#b=[1,3,5,7,9,8]
#b[1]=4
#print b
#del b[1]
#print b
c=list("Perl")
c[1:1]=list('ython')
c[-4:]=[]
c.append('n')
print c.count('t')
print c
d=[1,2,3]
d.extend([4,5,6])
print d
e=[7,8,9]
print e+[10,11,12]
print e
<|file_sep... | 693f4f52bfed6d25fc32504fcfc8a57e466533a0 | list/list.py | list/list.py | Python |
<|file_sep|>original/README.md
Open a terminal and execute the following commands:
```sh
cd dotfiles
git pull
make setup
```
## Note
I use the iTerm2 terminal with the [One Dark] color scheme.
## License
MIT, see **LICENSE** for more details.
[One Dark]: https://github.com/joshdick/onedark.vim/blob/master/One%... | Open a terminal and execute the following commands:
```sh
cd dotfiles
git pull
make setup
```
## Note
I use the iTerm2 terminal with the [One Dark] color scheme.
## License
MIT, see **LICENSE** for more details.
[One Dark]: https://github.com/joshdick/onedark.vim/blob/main/term/One%20Dark.itermcolors
| <|file_sep|>original/README.md
Open a terminal and execute the following commands:
```sh
cd dotfiles
git pull
make setup
```
## Note
I use the iTerm2 terminal with the [One Dark] color scheme.
## License
MIT, see **LICENSE** for more details.
[One Dark]: https://github.com/joshdick/onedark.vim/blob/master/One%... | 6b75c2c8e1295537b4693004319c7b2f014aa730 | README.md | README.md | Markdown |
<|file_sep|>original/LICENSE.txt
Copyright (c) 2011, Alasdair North
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this... | Copyright (c) 2012, Alasdair North
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the follo... | <|file_sep|>original/LICENSE.txt
Copyright (c) 2011, Alasdair North
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this... | 467e4d126a790ea3d2982567bdb55ac39c9108c7 | LICENSE.txt | LICENSE.txt | Text |
<|file_sep|>original/python35/requirements.txt
# Required packages for synapse
tornado==4.5.2
cryptography==2.1.3
pyOpenSSL==17.3.0
msgpack-python==0.4.8
xxhash==1.0.1
lmdb==0.93
regex==2017.9.23
# Delayed import
psycopg2==2.7.3.2
# Dynmod loaded by link
paramiko==2.3.1
# Code style checks
pycodestyle==2.3.1
# Test re... | # Required packages for synapse
tornado==4.5.2
cryptography==2.1.3
pyOpenSSL==17.3.0
msgpack-python==0.4.8
xxhash==1.0.1
lmdb==0.93
regex==2017.11.09
# Delayed import
psycopg2==2.7.3.2
# Dynmod loaded by link
paramiko==2.3.1
# Code style checks
pycodestyle==2.3.1
# Test related packages
coverage==4.3.4 # pyup: ignore
... | <|file_sep|>original/python35/requirements.txt
# Required packages for synapse
tornado==4.5.2
cryptography==2.1.3
pyOpenSSL==17.3.0
msgpack-python==0.4.8
xxhash==1.0.1
lmdb==0.93
regex==2017.9.23
# Delayed import
psycopg2==2.7.3.2
# Dynmod loaded by link
paramiko==2.3.1
# Code style checks
pycodestyle==2.3.1
# Test re... | 16b09c47d8b20d3a02ef17fdfbfb274106534085 | python35/requirements.txt | python35/requirements.txt | Text |
<|file_sep|>original/.travis.yml
language: php
php:
- 5.3
- 5.4
before_script:
# Fetch ZF
- wget http://framework.zend.com/releases/ZendFramework-1.11.11/ZendFramework-1.11.11-minimal.tar.gz
- tar xfz ZendFramework-1.11.11-minimal.tar.gz
# Create TestConfiguration file with ZF path
- sed "s... | language: php
services: mongodb
php:
- 5.3
- 5.4
before_script:
# Fetch ZF
- wget http://framework.zend.com/releases/ZendFramework-1.11.11/ZendFramework-1.11.11-minimal.tar.gz
- tar xfz ZendFramework-1.11.11-minimal.tar.gz
# Create TestConfiguration file with ZF path
- sed "s,Zend Framework... | <|file_sep|>original/.travis.yml
language: php
php:
- 5.3
- 5.4
before_script:
# Fetch ZF
- wget http://framework.zend.com/releases/ZendFramework-1.11.11/ZendFramework-1.11.11-minimal.tar.gz
- tar xfz ZendFramework-1.11.11-minimal.tar.gz
# Create TestConfiguration file with ZF path
- sed "s... | ab1bf8d7a928a1e1cab6658e84e1c645026c4df9 | .travis.yml | .travis.yml | YAML |
<|file_sep|>core/imt/inc/LinkDef.h.diff
original:
updated:
// Exclude in case ROOT does not have IMT support
#ifdef R__USE_IMT
<|file_sep|>original/core/imt/inc/LinkDef.h
#ifdef __CLING__
#pragma link off all globals;
#pragma link off all classes;
#pragma link off all functions;
// Only for the autoload, autoparse. ... | #ifdef __CLING__
#pragma link off all globals;
#pragma link off all classes;
#pragma link off all functions;
// Only for the autoload, autoparse. No IO of these classes is foreseen!
// Exclude in case ROOT does not have IMT support
#ifdef R__USE_IMT
#pragma link C++ class ROOT::Internal::TPoolManager-;
#pragma link C... | <|file_sep|>core/imt/inc/LinkDef.h.diff
original:
updated:
// Exclude in case ROOT does not have IMT support
#ifdef R__USE_IMT
<|file_sep|>original/core/imt/inc/LinkDef.h
#ifdef __CLING__
#pragma link off all globals;
#pragma link off all classes;
#pragma link off all functions;
// Only for the autoload, autoparse. ... | 322b07ff24932fb0e59114e30620e47501a84191 | core/imt/inc/LinkDef.h | core/imt/inc/LinkDef.h | C |
<|file_sep|>Part_Nine_Servlet/src/test/java/ru/aserdyuchenko/servlet/ServletDeleteUserTest.java.diff
original:
updated:
import org.junit.Test;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.sql.... | import static org.junit.Assert.*;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
public class ServletDeleteUserTest {
@Test
public void addUser() throws ServletException, IOException, SQLException {
ServletDeleteUser servlet = new ServletDeleteUser();
HttpServle... | <|file_sep|>Part_Nine_Servlet/src/test/java/ru/aserdyuchenko/servlet/ServletDeleteUserTest.java.diff
original:
updated:
import org.junit.Test;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.sql.... | 337ef4f699004967b45dcd686ac158e6c1734413 | Part_Nine_Servlet/src/test/java/ru/aserdyuchenko/servlet/ServletDeleteUserTest.java | Part_Nine_Servlet/src/test/java/ru/aserdyuchenko/servlet/ServletDeleteUserTest.java | Java |
<|file_sep|>original/README.md
# IFS
Scrum Master: Jan Greger
Build Master: Magnus
Product Owner: Simon MC
## Installation
Vagrant and ansible should be installed on the system. For example on Ubuntu:
### Vagrant
$ sudo apt-get install vagrant
### Ansible
$ sudo apt-get install software-properties-common
... | # IFS
Scrum Master: Jan Greger
Build Master: Magnus
Product Owner: Simon MC
[](https://travis-ci.org/MACSIFS/IFS)
## Installation
Vagrant and ansible should be installed on the system. For example on Ubuntu:
### Vagrant
$ sudo apt-get install vagrant
### A... | <|file_sep|>original/README.md
# IFS
Scrum Master: Jan Greger
Build Master: Magnus
Product Owner: Simon MC
## Installation
Vagrant and ansible should be installed on the system. For example on Ubuntu:
### Vagrant
$ sudo apt-get install vagrant
### Ansible
$ sudo apt-get install software-properties-common
... | 5aa65f784556764e4aeb654e6015d4e54e65a3aa | README.md | README.md | Markdown |
<|file_sep|>original/src/util.js
try {
const chalk = require("chalk");
ctx = new chalk.constructor({enabled:true});
} catch (err) {
// silent
}
function getTime() {
const curHour = new Date().getHours() % 12 || 12;
return (curHour < 10 ? " " : "") + moment().format("LTS");
}
module.exports = {
... | try {
const chalk = require("chalk");
ctx = new chalk.constructor({enabled:true});
} catch (err) {
// silent
}
function getTime() {
return (" " + moment().format("LTS")).slice(-11);
}
module.exports = {
log(...args) {
if (ctx) console.log(getTime(), "|", ctx.grey("[LOG]"), ...args);
... | <|file_sep|>original/src/util.js
try {
const chalk = require("chalk");
ctx = new chalk.constructor({enabled:true});
} catch (err) {
// silent
}
function getTime() {
const curHour = new Date().getHours() % 12 || 12;
return (curHour < 10 ? " " : "") + moment().format("LTS");
}
module.exports = {
... | 98889b08d5dc039c5a58c522e5b2c9def1081a2d | src/util.js | src/util.js | JavaScript |
<|file_sep|>original/tests/dummy/config/dependency-lint.js
/* eslint-env node */
'use strict';
module.exports = {
allowedVersions: {
'ember-in-element-polyfill': '*',
'ember-get-config': '0.2.4 || 0.3.0',
'@embroider/util': '*',
'@ember/test-waiters': '2.4.5 || 3.0.0',
},
};
<|file_sep|>current/tes... | /* eslint-env node */
'use strict';
module.exports = {
allowedVersions: {
'ember-in-element-polyfill': '*',
'ember-get-config': '0.3.0 || 0.4.0',
'@embroider/util': '*',
'@ember/test-waiters': '2.4.5 || 3.0.0',
},
}; | <|file_sep|>original/tests/dummy/config/dependency-lint.js
/* eslint-env node */
'use strict';
module.exports = {
allowedVersions: {
'ember-in-element-polyfill': '*',
'ember-get-config': '0.2.4 || 0.3.0',
'@embroider/util': '*',
'@ember/test-waiters': '2.4.5 || 3.0.0',
},
};
<|file_sep|>current/tes... | 316bfc47f6aaf241920b075eec685101986233e6 | tests/dummy/config/dependency-lint.js | tests/dummy/config/dependency-lint.js | JavaScript |
<|file_sep|>app/templates/website/views/index.jade.diff
original:
p You've now created a brand new Leaves site. The page you're looking at is the home page which is located at <b>view/index.jade</b>.
updated:
p You've now created a brand new Leaves site. The page you're looking at is the home page which is located ... | extends ./layout.jade
block content
h1 Welcome to Leaves!
p You've now created a brand new Leaves site. The page you're looking at is the home page which is located at <b>views/index.jade</b>.
h2 Documentation
ul
li: a(href='https://github.com/claudetech/leaves') Leaves
li: a(href='http://jade-lang.co... | <|file_sep|>app/templates/website/views/index.jade.diff
original:
p You've now created a brand new Leaves site. The page you're looking at is the home page which is located at <b>view/index.jade</b>.
updated:
p You've now created a brand new Leaves site. The page you're looking at is the home page which is located ... | c8e7a8f7a5cfeb09a8394c115ff393ff102561dd | app/templates/website/views/index.jade | app/templates/website/views/index.jade | Jade |
<|file_sep|>original/tasks/run-bal-specs/run.sh
#!/bin/bash -l
set -o errexit
set -o nounset
set -o pipefail
export GOPATH=$HOME/go
export PATH=$GOPATH/bin:$PATH
mkdir -p "$GOPATH"
CF_DIR=$GOPATH/src/code.cloudfoundry.org
mkdir -p "$CF_DIR"/buildpackapplifecycle
echo "Moving buildpackapplifecycle onto the gopath...... | #!/bin/bash -l
set -x
set -o errexit
set -o nounset
set -o pipefail
export GOPATH=$HOME/go
export PATH=$GOPATH/bin:$PATH
mkdir -p "$GOPATH"
CF_DIR=$GOPATH/src/code.cloudfoundry.org
mkdir -p "$CF_DIR"/buildpackapplifecycle
echo "Moving buildpackapplifecycle onto the gopath..."
cp -R bal-develop/* "$CF_DIR"/buildpack... | <|file_sep|>original/tasks/run-bal-specs/run.sh
#!/bin/bash -l
set -o errexit
set -o nounset
set -o pipefail
export GOPATH=$HOME/go
export PATH=$GOPATH/bin:$PATH
mkdir -p "$GOPATH"
CF_DIR=$GOPATH/src/code.cloudfoundry.org
mkdir -p "$CF_DIR"/buildpackapplifecycle
echo "Moving buildpackapplifecycle onto the gopath...... | e5476395eec7f8c8e450673e3eb93950ddda98f9 | tasks/run-bal-specs/run.sh | tasks/run-bal-specs/run.sh | Shell |
<|file_sep|>original/week-4/basic-math.rb
<|file_sep|>current/week-4/basic-math.rb
<|file_sep|>updated/week-4/basic-math.rb | # Solution Below
num1 = 26
num2 = 94
sum = num1+num2
difference = num1-num2
quotient = num1.to_f/num2.to_f
product = num2 * num1
modulus = num1 % num2
puts quotient
# RSpec Tests. They are included in this file because the local variables you are creating are not accessible across files. If we try to run these files... | <|file_sep|>original/week-4/basic-math.rb
<|file_sep|>current/week-4/basic-math.rb
<|file_sep|>updated/week-4/basic-math.rb
# Solution Below
num1 = 26
num2 = 94
sum = num1+num2
difference = num1-num2
quotient = num1.to_f/num2.to_f
product = num2 * num1
modulus = num1 % num2
puts quotient
# RSpec Tests. They are in... | 4771ec7552c253348a6aa1c731d69ac0baf70f76 | week-4/basic-math.rb | week-4/basic-math.rb | Ruby |
<|file_sep|>original/package.json
{
"name": "HydroZone",
"version": "0.0.5",
"description": "An application that uses the Rachio public API to water zones.",
"author": "Robert Anderson <r-anderson.9@onu.edu>",
"scripts": {
"postinstall": "bower install",
"start": "node server.js",
... | {
"name": "HydroZone",
"version": "0.0.5",
"description": "An application that uses the Rachio public API to water zones.",
"author": "Robert Anderson <r-anderson.9@onu.edu>",
"scripts": {
"postinstall": "bower install",
"start": "node server.js",
"test": "./node_modules/.bin... | <|file_sep|>original/package.json
{
"name": "HydroZone",
"version": "0.0.5",
"description": "An application that uses the Rachio public API to water zones.",
"author": "Robert Anderson <r-anderson.9@onu.edu>",
"scripts": {
"postinstall": "bower install",
"start": "node server.js",
... | e0f0cc3679b484b14025a1bf77cbb1222046b12f | package.json | package.json | JSON |
<|file_sep|>original/guestbook-example.sh
#!/bin/bash
VERSION=0.6.2
git clone https://github.com/GoogleCloudPlatform/kubernetes
pushd kubernetes
git checkout tags/v$VERSION
/opt/bin/kubectl create -f examples/guestbook/redis-master.json
/opt/bin/kubectl create -f examples/guestbook/redis-master-service.json
/opt/bin... | #!/bin/bash
VERSION=0.6.2
git clone https://github.com/GoogleCloudPlatform/kubernetes
pushd kubernetes
git checkout -b v$VERSION tags/v$VERSION
/opt/bin/kubectl create -f examples/guestbook/redis-master.json
/opt/bin/kubectl create -f examples/guestbook/redis-master-service.json
/opt/bin/kubectl create -f examples/g... | <|file_sep|>original/guestbook-example.sh
#!/bin/bash
VERSION=0.6.2
git clone https://github.com/GoogleCloudPlatform/kubernetes
pushd kubernetes
git checkout tags/v$VERSION
/opt/bin/kubectl create -f examples/guestbook/redis-master.json
/opt/bin/kubectl create -f examples/guestbook/redis-master-service.json
/opt/bin... | 0d2dd89d3b891731be3884b03c46c8bd584c6900 | guestbook-example.sh | guestbook-example.sh | Shell |
<|file_sep|>original/.travis.yml
# .travis.yml
language: node_js
node_js:
- '0.10'
- '0.12'
before_script:
- psql -c 'create database knex_test;' -U postgres
- mysql -e 'create database knex_test;'
after_script:
- npm run-script coveralls
notifications:
email: false
<|file_sep|>current/.travis.yml
# .tr... | # .travis.yml
sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
before_script:
- psql -c 'create database knex_test;' -U postgres
- mysql -e 'create database knex_test;'
after_script:
- npm run-script coveralls
notifications:
email: false | <|file_sep|>original/.travis.yml
# .travis.yml
language: node_js
node_js:
- '0.10'
- '0.12'
before_script:
- psql -c 'create database knex_test;' -U postgres
- mysql -e 'create database knex_test;'
after_script:
- npm run-script coveralls
notifications:
email: false
<|file_sep|>current/.travis.yml
# .tr... | 7dce01b17e8b61ef1dde94d41242c82a9663dd19 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements.txt
pip==10.0.1
bumpversion==0.5.3
wheel==0.31.1
watchdog==0.8.3
flake8==3.5.0
tox==3.1.2
cryptography==2.2.2
Sphinx==1.7.5
coverage==4.5.1
PyYAML==3.13
pytest==3.6.3
pytest-runner==4.2
pytest==3.6.2
<|file_sep|>current/requirements.txt
pip==10.0.1
bumpversion==0.5.3
wheel==0.31.1
w... | pip==10.0.1
bumpversion==0.5.3
wheel==0.31.1
watchdog==0.8.3
flake8==3.5.0
tox==3.1.2
cryptography==2.2.2
Sphinx==1.7.6
coverage==4.5.1
PyYAML==3.13
pytest==3.6.3
pytest-runner==4.2
pytest==3.6.2
| <|file_sep|>original/requirements.txt
pip==10.0.1
bumpversion==0.5.3
wheel==0.31.1
watchdog==0.8.3
flake8==3.5.0
tox==3.1.2
cryptography==2.2.2
Sphinx==1.7.5
coverage==4.5.1
PyYAML==3.13
pytest==3.6.3
pytest-runner==4.2
pytest==3.6.2
<|file_sep|>current/requirements.txt
pip==10.0.1
bumpversion==0.5.3
wheel==0.31.1
w... | bfc8c01a3620f3d781628337bf7024b5234da9a1 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/composer.json
"type": "library",
"license": "BSD-3-Clause",
"authors": [
{
"name": "Christoffer Niska",
"email": "christoffer.niska@gmail.com",
"homepage": "http://www.cniska.net/"
}
],
"require": {
"raven/raven": "0.8.... | "type": "library",
"license": "BSD-3-Clause",
"authors": [
{
"name": "Christoffer Niska",
"email": "christoffer.niska@gmail.com",
"homepage": "http://www.cniska.net/"
}
],
"require": {
"raven/raven": "0.11.*"
},
"require-dev": {
... | <|file_sep|>original/composer.json
"type": "library",
"license": "BSD-3-Clause",
"authors": [
{
"name": "Christoffer Niska",
"email": "christoffer.niska@gmail.com",
"homepage": "http://www.cniska.net/"
}
],
"require": {
"raven/raven": "0.8.... | c4d3d7011613bb0dfb419e6017db880b50d1543a | composer.json | composer.json | JSON |
<|file_sep|>original/README.md
## Usage
Component | Description
----------|-------------
[`jetty`](jetty/README.md) | a jetty server
[`httpkit`](httpkit/README.md) | a httpkit server
[`local-storage-atom`](local-storage-atom/README.md) | an atom backed by HTML 5 local st... | Component | Description
----------|-------------
[`jetty`](jetty/README.md) | a jetty server
[`httpkit`](httpkit/README.md) | a httpkit server
[`local-storage-atom`](local-storage-atom/README.md) | an atom backed by HTML 5 local storage
[`om-root`](om-root/README.md) ... | <|file_sep|>original/README.md
## Usage
Component | Description
----------|-------------
[`jetty`](jetty/README.md) | a jetty server
[`httpkit`](httpkit/README.md) | a httpkit server
[`local-storage-atom`](local-storage-atom/README.md) | an atom backed by HTML 5 local st... | 040dbeedcd0bd02141a16aac03a600984a60c0f1 | README.md | README.md | Markdown |
<|file_sep|>original/nasm/0001-output-codeview.c-Fix-for-C89-compilers.patch
<|file_sep|>current/nasm/0001-output-codeview.c-Fix-for-C89-compilers.patch
<|file_sep|>updated/nasm/0001-output-codeview.c-Fix-for-C89-compilers.patch | From eba362af5ea5af5ca7f36082a58a807ed0cd140f Mon Sep 17 00:00:00 2001
From: Chun-wei Fan <fanchunwei@src.gnome.org>
Date: Wed, 25 May 2016 13:06:00 +0800
Subject: [PATCH] output/codeview.c: Fix for C89 compilers
This ensures that the latest nasm release is still buildable on pre-2013
Visual Studio.
---
output/codevi... | <|file_sep|>original/nasm/0001-output-codeview.c-Fix-for-C89-compilers.patch
<|file_sep|>current/nasm/0001-output-codeview.c-Fix-for-C89-compilers.patch
<|file_sep|>updated/nasm/0001-output-codeview.c-Fix-for-C89-compilers.patch
From eba362af5ea5af5ca7f36082a58a807ed0cd140f Mon Sep 17 00:00:00 2001
From: Chun-wei Fan... | 10b2b1eeed84c6449085a7bf6c43977eb684a17a | nasm/0001-output-codeview.c-Fix-for-C89-compilers.patch | nasm/0001-output-codeview.c-Fix-for-C89-compilers.patch | Diff |
<|file_sep|>original/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
Django==1.11.20 # pyup: <2.0
gunicorn==19.7.1
gevent==1.2.2
elastic-apm==3.0.0
<|file_sep|>current/requirements/production.txt
# Pro-tip: Try no... | # Pro-tip: Try not to put anything here. There should be no dependency in
# production that isn't in development.
-r base.txt
Django==1.11.20 # pyup: <2.0
gunicorn==19.7.1
gevent==1.2.2
elastic-apm==3.0.5 | <|file_sep|>original/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
Django==1.11.20 # pyup: <2.0
gunicorn==19.7.1
gevent==1.2.2
elastic-apm==3.0.0
<|file_sep|>current/requirements/production.txt
# Pro-tip: Try no... | 96ece4a61b3037f180f04aa4cb5a2d3b83093eb1 | requirements/production.txt | requirements/production.txt | Text |
<|file_sep|>original/salt/redef/patron-client/skeletonbuild.sls
{% set repo = 'digibib' %}
{% set image = 'redef-patron-client-skeleton' %}
{% set tag = 'latest' %}
{% set build_context = '/vagrant/redef/patron-client' %}
{% set dockerfile = 'Dockerfile-skeleton' %}
{% include 'docker-build.sls-fragment' %}
copy_gra... |
{% set repo = 'digibib' %}
{% set image = 'redef-patron-client-skeleton' %}
{% set tag = 'latest' %}
{% set build_context = '/vagrant/redef/patron-client' %}
{% set dockerfile = 'Dockerfile-skeleton' %}
{% include 'docker-build.sls-fragment' %}
copy_graph_module:
cmd.run:
- name: cp /vagrant/redef/catalinker/c... | <|file_sep|>original/salt/redef/patron-client/skeletonbuild.sls
{% set repo = 'digibib' %}
{% set image = 'redef-patron-client-skeleton' %}
{% set tag = 'latest' %}
{% set build_context = '/vagrant/redef/patron-client' %}
{% set dockerfile = 'Dockerfile-skeleton' %}
{% include 'docker-build.sls-fragment' %}
copy_gra... | ed16116f4ccc650f1e47fcc2b2c418876fde749d | salt/redef/patron-client/skeletonbuild.sls | salt/redef/patron-client/skeletonbuild.sls | SaltStack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.