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/client/common/blocks/markup/markup.styl
.markup
// Avoid layout width break by long strings
overflow auto
// Fix for overflow to not cut attachments shadows
padding-left 3px
margin-left -3px
padding-right 3px
margin-right -3px
// External images
.image
max-width 100%
dis... | .markup
// Avoid layout width break by long strings
overflow auto
// Fix for overflow to not cut attachments shadows
padding-left 3px
margin-left -3px
padding-right 3px
margin-right -3px
font-family $font-family-sans-serif-wide
// External images
.image
max-width 100%
display inline-block... | <|file_sep|>original/client/common/blocks/markup/markup.styl
.markup
// Avoid layout width break by long strings
overflow auto
// Fix for overflow to not cut attachments shadows
padding-left 3px
margin-left -3px
padding-right 3px
margin-right -3px
// External images
.image
max-width 100%
dis... | d65b72e1362ee988c44226f3ad435ed2690f1233 | client/common/blocks/markup/markup.styl | client/common/blocks/markup/markup.styl | Stylus |
<|file_sep|>original/airtime_mvc/public/soundcloud_callback.php
<|file_sep|>current/airtime_mvc/public/soundcloud_callback.php
<|file_sep|>updated/airtime_mvc/public/soundcloud_callback.php | <?php
class Router {
/**
* Parse the URL query string and store the key->val pairs
* into an array, then redirect
*/
public function reroute() {
$params = array();
parse_str($_SERVER['QUERY_STRING'], $params);
$this->_redirect($params);
}
/**
* Redirect to ... | <|file_sep|>original/airtime_mvc/public/soundcloud_callback.php
<|file_sep|>current/airtime_mvc/public/soundcloud_callback.php
<|file_sep|>updated/airtime_mvc/public/soundcloud_callback.php
<?php
class Router {
/**
* Parse the URL query string and store the key->val pairs
* into an array, then redirec... | 080c2c43b5fab8f688038bd3f3f1f02ff7cd4be4 | airtime_mvc/public/soundcloud_callback.php | airtime_mvc/public/soundcloud_callback.php | PHP |
<|file_sep|>original/recipes/flask-mqtt/meta.yaml
build:
noarch: python
number: 0
script: "{{ PYTHON }} -m pip install . -vv"
requirements:
host:
- python
- pip
- flask
- paho-mqtt
run:
- python
- flask
- paho-mqtt
test:
imports:
- flask_mqtt
<|file_sep|>current/recipes/f... |
build:
noarch: python
number: 0
script: "{{ PYTHON }} -m pip install . -vv"
requirements:
host:
- python
- pip
run:
- python
- flask
- paho-mqtt
test:
imports:
- flask_mqtt
about:
home: https://github.com/stlehmann/Flask-MQTT | <|file_sep|>original/recipes/flask-mqtt/meta.yaml
build:
noarch: python
number: 0
script: "{{ PYTHON }} -m pip install . -vv"
requirements:
host:
- python
- pip
- flask
- paho-mqtt
run:
- python
- flask
- paho-mqtt
test:
imports:
- flask_mqtt
<|file_sep|>current/recipes/f... | 0ef7944719136965a4c42d4fb494ed4e320c3a06 | recipes/flask-mqtt/meta.yaml | recipes/flask-mqtt/meta.yaml | YAML |
<|file_sep|>original/docs/configuration/editing-hjson.md
---
layout: page
title: Editing Hjson
---
Hjson is a syntax extension to JSON. It's NOT a proposal to replace JSON or to incorporate it into the JSON spec itself.
It's intended to be used like a user interface for humans, to read and edit before passing the JSON... | ---
layout: page
title: Editing Hjson
---
Hjson is a syntax extension to JSON. It's NOT a proposal to replace JSON or to incorporate it into the JSON spec itself.
It's intended to be used like a user interface for humans, to read and edit before passing the JSON data to the machine.
You can find more info at the [Hjs... | <|file_sep|>original/docs/configuration/editing-hjson.md
---
layout: page
title: Editing Hjson
---
Hjson is a syntax extension to JSON. It's NOT a proposal to replace JSON or to incorporate it into the JSON spec itself.
It's intended to be used like a user interface for humans, to read and edit before passing the JSON... | d89030ec5338894873701b8283e80bfb329124d7 | docs/configuration/editing-hjson.md | docs/configuration/editing-hjson.md | Markdown |
<|file_sep|>original/lib/spotify_to_mp3/grooveshark.rb
client_track = @client.search_songs(query).first or raise "Track not found"
Track.new(client_track)
end
def download(track, no = 1, of_total = 1)
url = @client.get_song_url(track.client_track)
uri = URI(url)
Net::HTTP.start(u... | client_track = @client.search_songs(query).first or raise "Track not found"
Track.new(client_track)
end
def download(track, no = 1, of_total = 1)
url = @client.get_song_url(track.client_track)
uri = URI(url)
Net::HTTP.start(uri.host) do |http|
http.request_post("#{uri.pat... | <|file_sep|>original/lib/spotify_to_mp3/grooveshark.rb
client_track = @client.search_songs(query).first or raise "Track not found"
Track.new(client_track)
end
def download(track, no = 1, of_total = 1)
url = @client.get_song_url(track.client_track)
uri = URI(url)
Net::HTTP.start(u... | e514502e0308197d134484bd9077181e71287a94 | lib/spotify_to_mp3/grooveshark.rb | lib/spotify_to_mp3/grooveshark.rb | Ruby |
<|file_sep|>original/phpdoc.dist.xml
<?xml version="1.0" encoding="UTF-8" ?>
<phpdocumentor>
<parser>
<default-package-name>phpDocumentor</default-package-name>
<target>/tmp/phpdoc-demo</target>
</parser>
<transformer>
<target>/tmp/phpdoc-demo/responsive</target>
</transformer>
... | <?xml version="1.0" encoding="UTF-8" ?>
<phpdocumentor>
<parser>
<default-package-name>phpDocumentor</default-package-name>
<target>/tmp/phpdoc-demo</target>
</parser>
<transformer>
<target>/tmp/phpdoc-demo/responsive</target>
</transformer>
<files>
<directory>.</dire... | <|file_sep|>original/phpdoc.dist.xml
<?xml version="1.0" encoding="UTF-8" ?>
<phpdocumentor>
<parser>
<default-package-name>phpDocumentor</default-package-name>
<target>/tmp/phpdoc-demo</target>
</parser>
<transformer>
<target>/tmp/phpdoc-demo/responsive</target>
</transformer>
... | d69042d56cbb50c9c5026a364aa58a95317f0da4 | phpdoc.dist.xml | phpdoc.dist.xml | XML |
<|file_sep|>src/apps/marble-maps/main.cpp.diff
original:
updated:
#include <MarbleGlobal.h>
<|file_sep|>src/apps/marble-maps/main.cpp.diff
original:
updated:
using namespace Marble;
<|file_sep|>src/apps/marble-maps/main.cpp.diff
original:
updated:
#ifdef Q_OS_ANDROID
MarbleGlobal::Profiles profiles = MarbleGlob... |
using namespace Marble;
int main(int argc, char ** argv)
{
QApplication app(argc, argv);
#ifdef Q_OS_ANDROID
MarbleGlobal::Profiles profiles = MarbleGlobal::SmallScreen | MarbleGlobal::HighResolution;
MarbleGlobal::getInstance()->setProfiles( profiles );
#endif
MarbleDeclarativePlugin declarativePlu... | <|file_sep|>src/apps/marble-maps/main.cpp.diff
original:
updated:
#include <MarbleGlobal.h>
<|file_sep|>src/apps/marble-maps/main.cpp.diff
original:
updated:
using namespace Marble;
<|file_sep|>src/apps/marble-maps/main.cpp.diff
original:
updated:
#ifdef Q_OS_ANDROID
MarbleGlobal::Profiles profiles = MarbleGlob... | 9db7fffe048c6647803149ae4866eadfb1d6c6a1 | src/apps/marble-maps/main.cpp | src/apps/marble-maps/main.cpp | C++ |
<|file_sep|>original/ansible/roles/postgresql/tasks/main.yml
---
- name: Add PostgreSQL signing key
apt_key:
url: https://www.postgresql.org/media/keys/ACCC4CF8.asc
state: present
- name: Add PostgreSQL repository
apt_repository:
repo: deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main
s... | ---
- name: Add PostgreSQL signing key
apt_key:
url: https://www.postgresql.org/media/keys/ACCC4CF8.asc
state: present
- name: Add PostgreSQL repository
apt_repository:
repo: deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main
state: present
update_cache: yes
- name: Install PostgreS... | <|file_sep|>original/ansible/roles/postgresql/tasks/main.yml
---
- name: Add PostgreSQL signing key
apt_key:
url: https://www.postgresql.org/media/keys/ACCC4CF8.asc
state: present
- name: Add PostgreSQL repository
apt_repository:
repo: deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main
s... | e8d419a91861c1433fd7ff2e71302b7d149ff30e | ansible/roles/postgresql/tasks/main.yml | ansible/roles/postgresql/tasks/main.yml | YAML |
<|file_sep|>original/provision/roles/ggrc/vars/main.yml
- name: /vagrant-dev/tmp
- name: /vagrant/tmp
ggrc_global_npm_modules:
- name: nodeunit
- name: pegjs
- name: karma-cli
- name: jasmine-core
- name: mkdirp
- name: bower
ggrc_local_npm_modules:
- name: karma
- name: karma-jasmine
ggrc_gems:
... | - name: /vagrant-dev/tmp
- name: /vagrant/tmp
ggrc_global_npm_modules:
- name: nodeunit
- name: pegjs
- name: karma-cli
- name: jasmine-core
- name: mkdirp
- name: bower
- name: eslint
- name: eslint-config-google
ggrc_local_npm_modules:
- name: karma
- name: karma-jasmine
ggrc_gems:
- name... | <|file_sep|>original/provision/roles/ggrc/vars/main.yml
- name: /vagrant-dev/tmp
- name: /vagrant/tmp
ggrc_global_npm_modules:
- name: nodeunit
- name: pegjs
- name: karma-cli
- name: jasmine-core
- name: mkdirp
- name: bower
ggrc_local_npm_modules:
- name: karma
- name: karma-jasmine
ggrc_gems:
... | 2e23e7c3800f495e5d86273cb67b98f7163ba71b | provision/roles/ggrc/vars/main.yml | provision/roles/ggrc/vars/main.yml | YAML |
<|file_sep|>guide/english/working-in-tech/code-reviews/index.md.diff
original:
updated:
<|file_sep|>original/guide/english/working-in-tech/code-reviews/index.md
title: Code Reviews
---
## Code Reviews
Code Reviews exist in order to improve the quality of the code in a software project and are common practice for many... | Code Reviews exist in order to improve the quality of the code in a software project and are common practice for many software development teams.
Code reviews involve team members looking into each others' code submissions to check for bugs, incorrect logic or
potential improvements. A code review can be done amongst ... | <|file_sep|>guide/english/working-in-tech/code-reviews/index.md.diff
original:
updated:
<|file_sep|>original/guide/english/working-in-tech/code-reviews/index.md
title: Code Reviews
---
## Code Reviews
Code Reviews exist in order to improve the quality of the code in a software project and are common practice for many... | 8324537a4646caa9cf69448ecf6473a0c7d5284d | guide/english/working-in-tech/code-reviews/index.md | guide/english/working-in-tech/code-reviews/index.md | Markdown |
<|file_sep|>original/app/assets/stylesheets/home_page.scss
// Place all the styles related to the HomePage controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
#welcome{
h1{
font: Helvetica
color: #47A3FF
}
}
#bgMap{
width: 500px;
... | // Place all the styles related to the HomePage controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
#welcome{
h1{
font: Helvetica;
color: #47A3FF;
}
}
#bgMap{
width: 500px;
height: 400px;
background-color: #CCC;
} | <|file_sep|>original/app/assets/stylesheets/home_page.scss
// Place all the styles related to the HomePage controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
#welcome{
h1{
font: Helvetica
color: #47A3FF
}
}
#bgMap{
width: 500px;
... | 260e5f0fe17f1f1eefc78e84a0ba8d4eb53de8ed | app/assets/stylesheets/home_page.scss | app/assets/stylesheets/home_page.scss | SCSS |
<|file_sep|>original/requirements-dev.txt
-e .
behave==1.2.5
bumpversion==0.5.3
pexpect==4.2.0
pytest-asyncio==0.4.1
pytest-cov==2.3.1
pytest-xdist==1.15
pytest==3.0.0
<|file_sep|>current/requirements-dev.txt
-e .
behave==1.2.5
bumpversion==0.5.3
pexpect==4.2.0
pytest-asyncio==0.4.1
pytest-cov==2.3.1
pytest-xdist==1.15... | -e .
behave==1.2.5
bumpversion==0.5.3
pexpect==4.2.1
pytest-asyncio==0.4.1
pytest-cov==2.3.1
pytest-xdist==1.15
pytest==3.0.0 | <|file_sep|>original/requirements-dev.txt
-e .
behave==1.2.5
bumpversion==0.5.3
pexpect==4.2.0
pytest-asyncio==0.4.1
pytest-cov==2.3.1
pytest-xdist==1.15
pytest==3.0.0
<|file_sep|>current/requirements-dev.txt
-e .
behave==1.2.5
bumpversion==0.5.3
pexpect==4.2.0
pytest-asyncio==0.4.1
pytest-cov==2.3.1
pytest-xdist==1.15... | 8b33eba95e517d776b7dc6135b36e9320a001b77 | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/package.json
{
"name": "flaty",
"description": "Flaty is a method for condensing a multi-dimensional JSON like object into a single-dimensional object.",
"version": "0.7",
"author": "six8",
"licenses":
[{
"type": "MIT",
"url": "https://github.com/six8/flaty-javascri... | {
"name": "flaty",
"description": "Flaty is a method for condensing a multi-dimensional JSON like object into a single-dimensional object.",
"version": "0.7.0",
"author": "six8",
"licenses":
[{
"type": "MIT",
"url": "https://github.com/six8/flaty-javascript/blob/master/LICENSE"
}], ... | <|file_sep|>original/package.json
{
"name": "flaty",
"description": "Flaty is a method for condensing a multi-dimensional JSON like object into a single-dimensional object.",
"version": "0.7",
"author": "six8",
"licenses":
[{
"type": "MIT",
"url": "https://github.com/six8/flaty-javascri... | a920a2d1fb7b98858cec3d7b781522de408723d3 | package.json | package.json | JSON |
<|file_sep|>original/project/build.sbt
scalacOptions := Seq(
"-deprecation"
)
// For MimeLoader plugin. Dogfooding and hoping it doesn't clash with
// our other sbt plugins.
libraryDependencies ++= List(
"com.eed3si9n" %% "treehugger" % "0.4.4",
"io.circe" %% "circe-generic" % "0.12.3",
"org.http4s" %% "http4s... | scalacOptions := Seq(
"-deprecation"
)
// For MimeLoader plugin. Dogfooding and hoping it doesn't clash with
// our other sbt plugins.
libraryDependencies ++= List(
"com.eed3si9n" %% "treehugger" % "0.4.4",
"io.circe" %% "circe-generic" % "0.12.3",
"org.http4s" %% "http4s-blaze-client" % "0.20.14",
"org.http... | <|file_sep|>original/project/build.sbt
scalacOptions := Seq(
"-deprecation"
)
// For MimeLoader plugin. Dogfooding and hoping it doesn't clash with
// our other sbt plugins.
libraryDependencies ++= List(
"com.eed3si9n" %% "treehugger" % "0.4.4",
"io.circe" %% "circe-generic" % "0.12.3",
"org.http4s" %% "http4s... | 368fcf8a5d15740804ab432d113e080a6b9417a7 | project/build.sbt | project/build.sbt | Scala |
<|file_sep|>original/app/views/documentation/_general.html.haml
%h3 General
- if app
%p
These are the details that you need to be able to send email via Cuttlefish for the #{app.name} App.
Specific instructions for sending mail from different frameworks and languages is further down the page.
%table.table... | %h3 General
- if app
%p
These are the details that you need to be able to send email via Cuttlefish for the #{app.name} App.
Specific instructions for sending mail from different frameworks and languages is further down the page.
%table.table.table-condensed
%tr
%td Protocol
%td
%s... | <|file_sep|>original/app/views/documentation/_general.html.haml
%h3 General
- if app
%p
These are the details that you need to be able to send email via Cuttlefish for the #{app.name} App.
Specific instructions for sending mail from different frameworks and languages is further down the page.
%table.table... | 0b5694104f828975ae63d73cb1ebf656628b9878 | app/views/documentation/_general.html.haml | app/views/documentation/_general.html.haml | Haml |
<|file_sep|>original/.github/workflows/tests.yml
mkdir -p "${HOME}"/bin
echo "${HOME}/bin" >> "${GITHUB_PATH}"
curl \
--location \
--show-error \
--silent \
"https://github.com/kyoh86/richgo/release... |
mkdir -p "${HOME}"/bin
echo "${HOME}/bin" >> "${GITHUB_PATH}"
curl \
--location \
--show-error \
--silent \
"https://github.com/kyoh86/richgo/releases/download/v${RICHGO_VERSION}/richgo_${RICHGO_VER... | <|file_sep|>original/.github/workflows/tests.yml
mkdir -p "${HOME}"/bin
echo "${HOME}/bin" >> "${GITHUB_PATH}"
curl \
--location \
--show-error \
--silent \
"https://github.com/kyoh86/richgo/release... | 6ed27036bc86b34b295ad58da8b1082eb1254f95 | .github/workflows/tests.yml | .github/workflows/tests.yml | YAML |
<|file_sep|>original/LICENSE.md
# MIT License
`Copyright (c) 2016-17 Kerbae ad Astra`
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
... | # MIT License
`Copyright (c) 2016-2017 Kerbae ad Astra`
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, p... | <|file_sep|>original/LICENSE.md
# MIT License
`Copyright (c) 2016-17 Kerbae ad Astra`
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
... | 7636c1d6d35148bba15773cf4c66bb7227b6ee91 | LICENSE.md | LICENSE.md | Markdown |
<|file_sep|>original/nfs-rpc-mina2/pom.xml
<artifactId>nfs-rpc-mina2</artifactId>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>com.bytesgo.nfs.rpc</groupId>
<artifactId>nfs-rpc-core</artifactId>
<version>${project.parent.version}</version>
... | <artifactId>nfs-rpc-mina2</artifactId>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>com.bytesgo.nfs.rpc</groupId>
<artifactId>nfs-rpc-core</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
... | <|file_sep|>original/nfs-rpc-mina2/pom.xml
<artifactId>nfs-rpc-mina2</artifactId>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>com.bytesgo.nfs.rpc</groupId>
<artifactId>nfs-rpc-core</artifactId>
<version>${project.parent.version}</version>
... | 1fc7ed087c978c1ea22b68342e173147dc65a8cf | nfs-rpc-mina2/pom.xml | nfs-rpc-mina2/pom.xml | XML |
<|file_sep|>original/.travis.yml
# Config file for automatic testing at travis-ci.org
language: python
python:
- "2.7"
- "3.5"
env:
- DJANGO_VERSION=1.7.11
- DJANGO_VERSION=1.8.7
- DJANGO_VERSION=1.9.0
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- pip i... | # Config file for automatic testing at travis-ci.org
language: python
python:
- "2.7"
- "3.4"
env:
- DJANGO_VERSION=1.7.11
- DJANGO_VERSION=1.8.7
- DJANGO_VERSION=1.9.0
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- pip install -r requirements-test.txt
... | <|file_sep|>original/.travis.yml
# Config file for automatic testing at travis-ci.org
language: python
python:
- "2.7"
- "3.5"
env:
- DJANGO_VERSION=1.7.11
- DJANGO_VERSION=1.8.7
- DJANGO_VERSION=1.9.0
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- pip i... | 5f2606139a317e7b16ed716f622a2b0627643b4d | .travis.yml | .travis.yml | YAML |
<|file_sep|>ui/src/status/apis/index.js.diff
original:
import {get} from 'utils/ajax'
updated:
// import {get} from 'utils/ajax'
<|file_sep|>original/ui/src/status/apis/index.js
import {get} from 'utils/ajax'
import {fixtureJSONFeed} from 'src/status/fixtures'
// TODO: remove async/await & object return, uncomment get... | // import {get} from 'utils/ajax'
import {fixtureJSONFeed} from 'src/status/fixtures'
// TODO: remove async/await & object return, uncomment get(url) when proxy route implemented
// export const fetchJSONFeed = async url => {
export const fetchJSONFeed = async () => {
return await {data: fixtureJSONFeed}
// get(ur... | <|file_sep|>ui/src/status/apis/index.js.diff
original:
import {get} from 'utils/ajax'
updated:
// import {get} from 'utils/ajax'
<|file_sep|>original/ui/src/status/apis/index.js
import {get} from 'utils/ajax'
import {fixtureJSONFeed} from 'src/status/fixtures'
// TODO: remove async/await & object return, uncomment get... | 35fa6da2923128d818d56ccf74050f2617d72fbb | ui/src/status/apis/index.js | ui/src/status/apis/index.js | JavaScript |
<|file_sep|>original/js/queries/datasetProbeValues.xq
; datasetProbeValues
(fn [dataset samples probes]
(let [probemap (:probemap (car (query {:select [:probemap]
:from [:dataset]
:where [:= :name dataset]})))
position (if probe... | ; datasetProbeValues
(fn [dataset samples probes]
(let [probemap (:probemap (car (query {:select [:probemap]
:from [:dataset]
:where [:= :name dataset]})))
position (if probemap
((xena-query {:select ["name" ... | <|file_sep|>original/js/queries/datasetProbeValues.xq
; datasetProbeValues
(fn [dataset samples probes]
(let [probemap (:probemap (car (query {:select [:probemap]
:from [:dataset]
:where [:= :name dataset]})))
position (if probe... | 2b242afb153555a99bcefa96b9c26d607a7fc0ad | js/queries/datasetProbeValues.xq | js/queries/datasetProbeValues.xq | XQuery |
<|file_sep|>original/.travis.yml
language: ruby
cache:
bundler: true
directories:
- vendor/bundle
rvm:
- 2.3.1
- jruby-9.0.5.0
before_install:
- gem update --system '2.6.1'
- gem update bundler
- gem --version
script: "bundle exec rake test"
<|file_sep|>current/.travis.yml
language: ruby
cache:
... | language: ruby
cache:
bundler: true
directories:
- vendor/bundle
rvm:
- 2.3.1
before_install:
- gem update --system '2.6.1'
- gem update bundler
- gem --version
script: "bundle exec rake test"
| <|file_sep|>original/.travis.yml
language: ruby
cache:
bundler: true
directories:
- vendor/bundle
rvm:
- 2.3.1
- jruby-9.0.5.0
before_install:
- gem update --system '2.6.1'
- gem update bundler
- gem --version
script: "bundle exec rake test"
<|file_sep|>current/.travis.yml
language: ruby
cache:
... | 97915845e26c13c620f13b2647fdcf1916be3011 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/CONTRIBUTORS.txt
Andrei Ursulenko
Andrej Antonov
Anton Kasyanov
Arthur Darcet
Ben Bader
Brian C. Lane
Dima Veselov
Dimitar Dimitrov
Erich Healy
Eugene Chernyshov
Georges Dubus
Greg Holt
Junjie Tao
Kay Zheng
Kirill Klenov
Ludovic Gasc
Lukasz Marcin Dobrzanski
Martin Richard
Moss Collum
Mikhail Lukya... | Andrei Ursulenko
Andrej Antonov
Anton Kasyanov
Arthur Darcet
Ben Bader
Brian C. Lane
Dima Veselov
Dimitar Dimitrov
Erich Healy
Eugene Chernyshov
Frederik Gladhorn
Georges Dubus
Greg Holt
Junjie Tao
Kay Zheng
Kirill Klenov
Ludovic Gasc
Lukasz Marcin Dobrzanski
Martin Richard
Moss Collum
Mikhail Lukyanchenko | <|file_sep|>original/CONTRIBUTORS.txt
Andrei Ursulenko
Andrej Antonov
Anton Kasyanov
Arthur Darcet
Ben Bader
Brian C. Lane
Dima Veselov
Dimitar Dimitrov
Erich Healy
Eugene Chernyshov
Georges Dubus
Greg Holt
Junjie Tao
Kay Zheng
Kirill Klenov
Ludovic Gasc
Lukasz Marcin Dobrzanski
Martin Richard
Moss Collum
Mikhail Lukya... | 780de94efe66cdeb44938213f4b38dfefe1a96ae | CONTRIBUTORS.txt | CONTRIBUTORS.txt | Text |
<|file_sep|>original/wordpress-shortcodes/src/main/java/org/wordpress/aztec/plugins/shortcodes/handlers/CaptionHandler.kt
<|file_sep|>current/wordpress-shortcodes/src/main/java/org/wordpress/aztec/plugins/shortcodes/handlers/CaptionHandler.kt
<|file_sep|>updated/wordpress-shortcodes/src/main/java/org/wordpress/aztec/... | package org.wordpress.aztec.plugins.shortcodes.handlers
import org.wordpress.aztec.handlers.GenericBlockHandler
import org.wordpress.aztec.plugins.shortcodes.spans.CaptionShortcodeSpan
class CaptionHandler : GenericBlockHandler<CaptionShortcodeSpan>(CaptionShortcodeSpan::class.java) {
override fun handleNewlineIn... | <|file_sep|>original/wordpress-shortcodes/src/main/java/org/wordpress/aztec/plugins/shortcodes/handlers/CaptionHandler.kt
<|file_sep|>current/wordpress-shortcodes/src/main/java/org/wordpress/aztec/plugins/shortcodes/handlers/CaptionHandler.kt
<|file_sep|>updated/wordpress-shortcodes/src/main/java/org/wordpress/aztec/... | eb23eeb6b75797b791d9c5bb71ac5a221237b118 | wordpress-shortcodes/src/main/java/org/wordpress/aztec/plugins/shortcodes/handlers/CaptionHandler.kt | wordpress-shortcodes/src/main/java/org/wordpress/aztec/plugins/shortcodes/handlers/CaptionHandler.kt | Kotlin |
<|file_sep|>original/examples/foo/CMakeLists.txt
# Copyright (c) 2016-2018, Ruslan Baratov
# All rights reserved.
cmake_minimum_required(VERSION 3.0)
# Emulate HunterGate:
# * https://github.com/hunter-packages/gate
include("../common.cmake")
project(download-foo)
# DOCUMENTATION_START {
hunter_add_package(foo)
fin... | # Copyright (c) 2016-2018, Ruslan Baratov
# All rights reserved.
cmake_minimum_required(VERSION 3.2)
# Emulate HunterGate:
# * https://github.com/hunter-packages/gate
include("../common.cmake")
project(download-foo)
# DOCUMENTATION_START {
hunter_add_package(foo)
find_package(foo CONFIG REQUIRED)
add_executable(bo... | <|file_sep|>original/examples/foo/CMakeLists.txt
# Copyright (c) 2016-2018, Ruslan Baratov
# All rights reserved.
cmake_minimum_required(VERSION 3.0)
# Emulate HunterGate:
# * https://github.com/hunter-packages/gate
include("../common.cmake")
project(download-foo)
# DOCUMENTATION_START {
hunter_add_package(foo)
fin... | bca7b58846253e821d5a4dbc6fae4367be51fb8a | examples/foo/CMakeLists.txt | examples/foo/CMakeLists.txt | Text |
<|file_sep|>original/.travis.yml
# see http://about.travis-ci.org/docs/user/languages/php/ for more hints
language: php
# list any PHP version you want to test against
php:
- 5.4
- 5.5
- 5.6
- hhvm
# execute any number of scripts before the test run, custom env's are available as variables
before_script:
- ... | # see http://about.travis-ci.org/docs/user/languages/php/ for more hints
language: php
# list any PHP version you want to test against
php:
- 5.4
- 5.5
- 5.6
- hhvm
# execute any number of scripts before the test run, custom env's are available as variables
before_script:
- composer install --dev
- phpenv... | <|file_sep|>original/.travis.yml
# see http://about.travis-ci.org/docs/user/languages/php/ for more hints
language: php
# list any PHP version you want to test against
php:
- 5.4
- 5.5
- 5.6
- hhvm
# execute any number of scripts before the test run, custom env's are available as variables
before_script:
- ... | fa9d4bbd85306803972e0b81ad571ffe72a1a01f | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/recipes/boltons/meta.yaml
name: boltons
version: {{ environ.get('GIT_DESCRIBE_TAG', 'GIT_STUB') }}.post{{ environ.get('GIT_DESCRIBE_NUMBER', 'inf') }}
source:
git_url: https://github.com/mahmoud/boltons.git
git_rev: master
build:
number: 0
# Note that this will override the default b... | name: boltons
version: {{ environ.get('GIT_DESCRIBE_TAG', 'GIT_STUB') }}.post{{ environ.get('GIT_DESCRIBE_NUMBER', 'inf') }}
source:
git_url: https://github.com/mahmoud/boltons.git
git_rev: master
build:
number: 1
string: {{ environ.get('GIT_BUILD_STR', '') }}_py{{ py }}
requirements:
build:
- pyt... | <|file_sep|>original/recipes/boltons/meta.yaml
name: boltons
version: {{ environ.get('GIT_DESCRIBE_TAG', 'GIT_STUB') }}.post{{ environ.get('GIT_DESCRIBE_NUMBER', 'inf') }}
source:
git_url: https://github.com/mahmoud/boltons.git
git_rev: master
build:
number: 0
# Note that this will override the default b... | d8c4e300e74c516cf15f9b72eb5404b361a92d69 | recipes/boltons/meta.yaml | recipes/boltons/meta.yaml | YAML |
<|file_sep|>manager/jobs/migrations/0003_auto_20200723_0219.py.diff
original:
# Generated by Django 3.0.8 on 2020-07-23 02:19
updated:
# Generated by Django 3.0.8 on 2020-07-23 02:19.
# Manually modified by Nokome Bentley on 2020-11-09 because the original
# `AlterField` operation was causing the following error on Pos... | from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('jobs', '0002_auto_20200708_2203'),
]
operations = [
migrations.RemoveField(
model_name='job',
name='id',
),
migrations.AddField(
model_na... | <|file_sep|>manager/jobs/migrations/0003_auto_20200723_0219.py.diff
original:
# Generated by Django 3.0.8 on 2020-07-23 02:19
updated:
# Generated by Django 3.0.8 on 2020-07-23 02:19.
# Manually modified by Nokome Bentley on 2020-11-09 because the original
# `AlterField` operation was causing the following error on Pos... | 3d7459f7b1d40bb94a64d3f08d41942feabf4c12 | manager/jobs/migrations/0003_auto_20200723_0219.py | manager/jobs/migrations/0003_auto_20200723_0219.py | Python |
<|file_sep|>original/RKTableController.podspec
Pod::Spec.new do |s|
s.name = "RKTableController"
s.version = "0.5.0"
s.summary = "RKTableController provides stateful, network integrated UITableViews powered by RestKit."
s.homepage = "https://github.com/RestKit/RKTableController"
s.licen... | Pod::Spec.new do |s|
s.name = "RKTableController"
s.version = "0.5.0"
s.summary = "RKTableController provides stateful, network integrated UITableViews powered by RestKit."
s.homepage = "https://github.com/RestKit/RKTableController"
s.license = { :type => 'Apache', :file => 'LICENS... | <|file_sep|>original/RKTableController.podspec
Pod::Spec.new do |s|
s.name = "RKTableController"
s.version = "0.5.0"
s.summary = "RKTableController provides stateful, network integrated UITableViews powered by RestKit."
s.homepage = "https://github.com/RestKit/RKTableController"
s.licen... | bdf50dc264f18c517ba1708e66d88508706d44f5 | RKTableController.podspec | RKTableController.podspec | Ruby |
<|file_sep|>original/tests/notest.epiphany.c
#include <stdint.h>
#define SKIP 77
struct status {
uint32_t done;
uint32_t _pad1;
uint32_t returncode;
uint32_t _pad2;
} __attribute__((packed));
volatile struct status *epiphany_status = (struct status *) 0x8f200000;
volatile char *epiphany_results = (cha... | struct status {
uint32_t done;
uint32_t _pad1;
uint32_t returncode;
uint32_t _pad2;
} __attribute__((packed));
volatile struct status *epiphany_status = (struct status *) 0x8f200000;
volatile char *epiphany_results = (char *) 0x8f300000;
/* HACK: Provide symbol to work around GCC 5 link error for
* m... | <|file_sep|>original/tests/notest.epiphany.c
#include <stdint.h>
#define SKIP 77
struct status {
uint32_t done;
uint32_t _pad1;
uint32_t returncode;
uint32_t _pad2;
} __attribute__((packed));
volatile struct status *epiphany_status = (struct status *) 0x8f200000;
volatile char *epiphany_results = (cha... | 5ee6ca95fb823fa0d435af5edbead880362acd1c | tests/notest.epiphany.c | tests/notest.epiphany.c | C |
<|file_sep|>original/README.md
pulsar-transmitter
==================
Node.js implementation of a Pulsar Transmitter
## Install
npm install
## Test
npm test
This runs jshint and mocha
<|file_sep|>current/README.md
pulsar-transmitter
==================
Node.js implementation of a Pulsar Transmitter
## Ins... | pulsar-transmitter
==================
Node.js implementation of a Pulsar Transmitter
## Install
npm install
## Test
npm test
This runs jshint and mocha
## Use
var Transmitter = require ("./pulsar-transmitter");
var t = new Transmitter();
t.transmit({"Name": "lol"});
| <|file_sep|>original/README.md
pulsar-transmitter
==================
Node.js implementation of a Pulsar Transmitter
## Install
npm install
## Test
npm test
This runs jshint and mocha
<|file_sep|>current/README.md
pulsar-transmitter
==================
Node.js implementation of a Pulsar Transmitter
## Ins... | 0ee4f2a36cac3a06cf21a849b3fc7fd9446e4a41 | README.md | README.md | Markdown |
<|file_sep|>original/test/index.html
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.10.0/styles/default.min.css">
<link rel="stylesheet" href="styles.css" type="text/css">
<meta name="viewport" content ="width=device-width,initial-scale=1,user-scalable=yes" />
<... | <html>
<head>
<title>Elementory Tests</title>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.10.0/styles/default.min.css">
<link rel="stylesheet" href="styles.css" type="text/css">
<meta name="viewport" content ="width=device-width,initial-scale=1,user-s... | <|file_sep|>original/test/index.html
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.10.0/styles/default.min.css">
<link rel="stylesheet" href="styles.css" type="text/css">
<meta name="viewport" content ="width=device-width,initial-scale=1,user-scalable=yes" />
<... | ed5ea0a44fda22dc21e5c1107b18855c1b9bf11a | test/index.html | test/index.html | HTML |
<|file_sep|>original/tests/index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Dummy Tests</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
{{content-for '... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Ember-Orientation Demo</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
{{content-for 'head'}}
{{content-for '... | <|file_sep|>original/tests/index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Dummy Tests</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
{{content-for '... | d72aa55706d0a320fcf358146a6ef945cf1d272e | tests/index.html | tests/index.html | HTML |
<|file_sep|>original/compss/runtime/adaptors/nio/commons/src/main/java/es/bsc/compss/nio/commands/RetriableCommand.java
package es.bsc.compss.nio.commands;
public abstract class RetriableCommand implements Command {
private static int MAX_RETRIES = 3;
private int retries = 0;
public void increaseRetries... | /*
* Copyright 2002-2019 Barcelona Supercomputing Center (www.bsc.es)
*
* 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
*
* Unl... | <|file_sep|>original/compss/runtime/adaptors/nio/commons/src/main/java/es/bsc/compss/nio/commands/RetriableCommand.java
package es.bsc.compss.nio.commands;
public abstract class RetriableCommand implements Command {
private static int MAX_RETRIES = 3;
private int retries = 0;
public void increaseRetries... | 29ac1db4fd07ea7e39f17cd7ca13e30ffd893009 | compss/runtime/adaptors/nio/commons/src/main/java/es/bsc/compss/nio/commands/RetriableCommand.java | compss/runtime/adaptors/nio/commons/src/main/java/es/bsc/compss/nio/commands/RetriableCommand.java | Java |
<|file_sep|>original/.travis.yml
language: php
matrix:
allow_failures:
- php: 5.6
- php: 7.0
- php: hhvm
include:
- php: 5.3
dist: precise
- php: 5.4
- php: 5.5
- php: 5.6
- php: 7.0
- php: hhvm
before_script:
- travis_retry composer self-update
- travis_retry compos... | language: php
matrix:
allow_failures:
- php: 5.6
- php: 7.0
- php: hhvm
include:
- php: 5.5
- php: 5.6
- php: 7.0
- php: hhvm
before_script:
- travis_retry composer self-update
- travis_retry composer install --no-interaction --prefer-source
script:
- phpunit --coverage-text --... | <|file_sep|>original/.travis.yml
language: php
matrix:
allow_failures:
- php: 5.6
- php: 7.0
- php: hhvm
include:
- php: 5.3
dist: precise
- php: 5.4
- php: 5.5
- php: 5.6
- php: 7.0
- php: hhvm
before_script:
- travis_retry composer self-update
- travis_retry compos... | d61187f69028654f002a7050d9d3435183862fa8 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/bin/start-crawler.bat
@echo off
SETLOCAL ENABLEDELAYEDEXPANSION
:: Initialize system variables and check configuration
call "%~dp0.etc\init.cmd"
IF %ERRORLEVEL% NEQ 0 exit /B %ERRORLEVEL%
pushd "!REGAIN_HOME!/runtime/crawler"
TITLE Regain crawler
java -Xmx1024m -Dfile.encoding=UTF-8 -cp !IK_EXT_H... | @echo off
SETLOCAL ENABLEDELAYEDEXPANSION
:: Initialize system variables and check configuration
call "%~dp0.etc\init.cmd"
IF %ERRORLEVEL% NEQ 0 exit /B %ERRORLEVEL%
pushd "!REGAIN_HOME!/runtime/crawler"
TITLE Regain crawler
java %JAVA_OPTS% -Dfile.encoding=UTF-8 -cp !IK_EXT_HOME!/bin;!IK_HOME!/IKAnalyzer2012_u6.jar;... | <|file_sep|>original/bin/start-crawler.bat
@echo off
SETLOCAL ENABLEDELAYEDEXPANSION
:: Initialize system variables and check configuration
call "%~dp0.etc\init.cmd"
IF %ERRORLEVEL% NEQ 0 exit /B %ERRORLEVEL%
pushd "!REGAIN_HOME!/runtime/crawler"
TITLE Regain crawler
java -Xmx1024m -Dfile.encoding=UTF-8 -cp !IK_EXT_H... | 9b76da782f41716fa2ec2a84c95f8d66e18b9038 | bin/start-crawler.bat | bin/start-crawler.bat | Batchfile |
<|file_sep|>src/DayModel.js.diff
original:
constructor(tasks, id = Utils.guid(), date = DateOnly()) {
updated:
constructor(tasks, date = DateOnly(), id = Utils.guid()) {
<|file_sep|>src/DayModel.js.diff
original:
updated:
this.date = date;
<|file_sep|>original/src/DayModel.js
import Utils from './utils';
import ... | import Utils from './utils';
import {DateOnly} from './util/time';
import TaskModel from './TaskModel';
export default class DayModel {
constructor(tasks, date = DateOnly(), id = Utils.guid()) {
this.tasks = tasks;
this.date = date;
this.id = id;
}
} | <|file_sep|>src/DayModel.js.diff
original:
constructor(tasks, id = Utils.guid(), date = DateOnly()) {
updated:
constructor(tasks, date = DateOnly(), id = Utils.guid()) {
<|file_sep|>src/DayModel.js.diff
original:
updated:
this.date = date;
<|file_sep|>original/src/DayModel.js
import Utils from './utils';
import ... | f1b70e31f0c34ecb91091b58480478e4ac4560d7 | src/DayModel.js | src/DayModel.js | JavaScript |
<|file_sep|>spec/fc-reminder/providers/livescore_spec.rb.diff
original:
let(:default_value) { FCReminder::Providers::Base.new.run(team_name) }
updated:
<|file_sep|>original/spec/fc-reminder/providers/livescore_spec.rb
it "should be valid" do
expect(provider.url).to match(/^#{URI::regexp}$/)
end
en... | it "should be valid" do
expect(provider.url).to match(/^#{URI::regexp}$/)
end
end
describe "#run" do
context "when there is no match that day" do
before { fake_page_without_match(provider.url) }
subject(:results) { provider.run(team_name) }
it { expect(results).to be_empty }
... | <|file_sep|>spec/fc-reminder/providers/livescore_spec.rb.diff
original:
let(:default_value) { FCReminder::Providers::Base.new.run(team_name) }
updated:
<|file_sep|>original/spec/fc-reminder/providers/livescore_spec.rb
it "should be valid" do
expect(provider.url).to match(/^#{URI::regexp}$/)
end
en... | 074dff8e36a545bf075862054af297c4c5f4d669 | spec/fc-reminder/providers/livescore_spec.rb | spec/fc-reminder/providers/livescore_spec.rb | Ruby |
<|file_sep|>original/bower.json
"fly-in",
"modal",
"mobile",
"mobify"
],
"license": "MIT",
"ignore": [
"./!(src|dist|lib|templates)"
],
"dependencies": {
"plugin": "~3.0.0",
"mobify-velocity": "~1.1.2",
"requirejs-text": "~2.0.12",
"requirejs": "~2.1.14",
"bouncefix.js"... | "fly-in",
"modal",
"mobile",
"mobify"
],
"license": "MIT",
"ignore": [
"./!(src|dist|lib|templates)"
],
"dependencies": {
"plugin": "~3.0.0",
"mobify-velocity": "~1.1.2",
"requirejs-text": "~2.0.12",
"requirejs": "~2.1.14",
"bouncefix.js": "~0.3.0",
"shade": "~1.1.1... | <|file_sep|>original/bower.json
"fly-in",
"modal",
"mobile",
"mobify"
],
"license": "MIT",
"ignore": [
"./!(src|dist|lib|templates)"
],
"dependencies": {
"plugin": "~3.0.0",
"mobify-velocity": "~1.1.2",
"requirejs-text": "~2.0.12",
"requirejs": "~2.1.14",
"bouncefix.js"... | 746df99d416599a2c7c33b5b35f5685af9bbb832 | bower.json | bower.json | JSON |
<|file_sep|>original/requirements.txt
base58==0.2.2
boto3==1.3.1
botocore==1.4.26
docutils==0.12
futures==3.0.5
hjson==1.5.6
jmespath==0.9.0
lambda-packages==0.5.0
python-dateutil==2.5.3
python-slugify==1.2.0
requests[security]>=2.10.0
six==1.10.0
tqdm==4.7.4
Werkzeug==0.11.10
wheel==0.29.0
wsgi-request-logger==0.4.5
<... | base58==0.2.2
boto3==1.3.1
botocore==1.4.27
docutils==0.12
futures==3.0.5
hjson==1.5.6
jmespath==0.9.0
lambda-packages==0.5.0
python-dateutil==2.5.3
python-slugify==1.2.0
requests[security]>=2.10.0
six==1.10.0
tqdm==4.7.4
Werkzeug==0.11.10
wheel==0.29.0
wsgi-request-logger==0.4.5 | <|file_sep|>original/requirements.txt
base58==0.2.2
boto3==1.3.1
botocore==1.4.26
docutils==0.12
futures==3.0.5
hjson==1.5.6
jmespath==0.9.0
lambda-packages==0.5.0
python-dateutil==2.5.3
python-slugify==1.2.0
requests[security]>=2.10.0
six==1.10.0
tqdm==4.7.4
Werkzeug==0.11.10
wheel==0.29.0
wsgi-request-logger==0.4.5
<... | 88d1002314faacfc346b153e05005195392cd0f3 | requirements.txt | requirements.txt | Text |
<|file_sep|>LICENSE.md.diff
original:
## The MIT License (MIT)
updated:
The MIT License (MIT)
=====================
<|file_sep|>LICENSE.md.diff
original:
Copyright © 2014 [Kasper Kronborg Isager](https://github.com/kasperisager)
updated:
Copyright © 2014 [Kasper Kronborg Isager](https://github.com/kasperisager)
<|... | =====================
Copyright © 2014 [Kasper Kronborg Isager](https://github.com/kasperisager)
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limita... | <|file_sep|>LICENSE.md.diff
original:
## The MIT License (MIT)
updated:
The MIT License (MIT)
=====================
<|file_sep|>LICENSE.md.diff
original:
Copyright © 2014 [Kasper Kronborg Isager](https://github.com/kasperisager)
updated:
Copyright © 2014 [Kasper Kronborg Isager](https://github.com/kasperisager)
<|... | c8a6a92d9deacbeafac35fd3c7851ab03a116f97 | LICENSE.md | LICENSE.md | Markdown |
<|file_sep|>original/packages/ye/yesod-form-multi.yaml
<|file_sep|>current/packages/ye/yesod-form-multi.yaml
<|file_sep|>updated/packages/ye/yesod-form-multi.yaml | homepage: http://www.yesodweb.com/
changelog-type: markdown
hash: 558e66fe40f4712e921b2352375c0b57d68c28cc54daf9d530f736599edbf240
test-bench-deps: {}
maintainer: James Burton <jamesejburton@gmail.com>
synopsis: Multi-input form handling for Yesod Web Framework
changelog: "# Changelog\r\n\r\n## 1.6.0\r\n\r\n* Added `Ye... | <|file_sep|>original/packages/ye/yesod-form-multi.yaml
<|file_sep|>current/packages/ye/yesod-form-multi.yaml
<|file_sep|>updated/packages/ye/yesod-form-multi.yaml
homepage: http://www.yesodweb.com/
changelog-type: markdown
hash: 558e66fe40f4712e921b2352375c0b57d68c28cc54daf9d530f736599edbf240
test-bench-deps: {}
main... | 9059aadc3e93f9c77b5b89e9a6080c679032c26e | packages/ye/yesod-form-multi.yaml | packages/ye/yesod-form-multi.yaml | YAML |
<|file_sep|>original/gluttonberg/app/views/content/editors/_rich_text_content.html.haml
%label= content.section_label
= text_area(content.text, :name => "gluttonberg::page_localization[contents][#{content.association_name}][#{content.id}][text]", :class => "large tall")
<|file_sep|>current/gluttonberg/app/views/content... | %label= content.section_label
= find_and_preserve do
= text_area(content.text, :name => "gluttonberg::page_localization[contents][#{content.association_name}][#{content.id}][text]", :class => "large tall") | <|file_sep|>original/gluttonberg/app/views/content/editors/_rich_text_content.html.haml
%label= content.section_label
= text_area(content.text, :name => "gluttonberg::page_localization[contents][#{content.association_name}][#{content.id}][text]", :class => "large tall")
<|file_sep|>current/gluttonberg/app/views/content... | 610be0c33209107d05d0c80a40bfc20ce50e48ed | gluttonberg/app/views/content/editors/_rich_text_content.html.haml | gluttonberg/app/views/content/editors/_rich_text_content.html.haml | Haml |
<|file_sep|>.travis.yml.diff
original:
- "0.10"
- "0.12"
updated:
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.10"
- "0.12"
- "4"
sudo: false
before_script:
- npm run init
script:
- npm run testNode
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "4"
sudo: false
before_... | language: node_js
node_js:
- "4"
- "6"
sudo: false
before_script:
- npm run init
script:
- npm run testNode | <|file_sep|>.travis.yml.diff
original:
- "0.10"
- "0.12"
updated:
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.10"
- "0.12"
- "4"
sudo: false
before_script:
- npm run init
script:
- npm run testNode
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "4"
sudo: false
before_... | f35da6ea077495428491266160263f78f5202a08 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements.txt
git+git://github.com/ubernostrum/blog.git@20150721.1
Django==1.8.3
django-contact-form==1.1
django-flashpolicies==1.6
django-flat-theme==0.9.5
django-postgrespool==0.3.0
django-project-portfolio==1.1
dj-database-url==0.3.0
gunicorn==19.3.0
Markdown==2.6.2
Pygments==2.0.2
smartypant... | -e git+git://github.com/ubernostrum/blog.git@20150721.1#egg=blog
Django==1.8.3
django-contact-form==1.1
django-flashpolicies==1.6
django-flat-theme==0.9.5
django-postgrespool==0.3.0
django-project-portfolio==1.1
dj-database-url==0.3.0
gunicorn==19.3.0
Markdown==2.6.2
Pygments==2.0.2
smartypants==1.8.6
typogrify==2.0.7 | <|file_sep|>original/requirements.txt
git+git://github.com/ubernostrum/blog.git@20150721.1
Django==1.8.3
django-contact-form==1.1
django-flashpolicies==1.6
django-flat-theme==0.9.5
django-postgrespool==0.3.0
django-project-portfolio==1.1
dj-database-url==0.3.0
gunicorn==19.3.0
Markdown==2.6.2
Pygments==2.0.2
smartypant... | d926aaadc88b948acababf9ecb283dd37db0316b | requirements.txt | requirements.txt | Text |
<|file_sep|>LICENSE.md.diff
original:
<!-- Copyright (c) 2015 Gordon Anderson
updated:
Copyright (c) 2012-2016, Gordon B Anderson
All rights reserved.
<|file_sep|>LICENSE.md.diff
original:
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (t... | Copyright (c) 2012-2016, Gordon B Anderson
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the follo... | <|file_sep|>LICENSE.md.diff
original:
<!-- Copyright (c) 2015 Gordon Anderson
updated:
Copyright (c) 2012-2016, Gordon B Anderson
All rights reserved.
<|file_sep|>LICENSE.md.diff
original:
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (t... | ab971a60370bcf77724c03665175c4ce606a66ab | LICENSE.md | LICENSE.md | Markdown |
<|file_sep|>original/.kitchen.yml
---
driver:
name: vagrant
platforms:
- name: ubuntu-12.04
run_list:
- recipe[apt]
- name: ubuntu-10.04
run_list:
- recipe[apt]
- name: centos-6.5
suites:
- name: system_ruby
run_list:
- recipe[ruby_build]
- recipe[rbenv::system]
attributes:
rbenv:
plugins:... | ---
driver:
name: vagrant
platforms:
- name: ubuntu-12.04
run_list:
- recipe[apt]
- name: ubuntu-14.04
run_list:
- recipe[apt]
- name: centos-6.5
suites:
- name: system_ruby
run_list:
- recipe[ruby_build]
- recipe[rbenv::system]
attributes:
rbenv:
plugins: | <|file_sep|>original/.kitchen.yml
---
driver:
name: vagrant
platforms:
- name: ubuntu-12.04
run_list:
- recipe[apt]
- name: ubuntu-10.04
run_list:
- recipe[apt]
- name: centos-6.5
suites:
- name: system_ruby
run_list:
- recipe[ruby_build]
- recipe[rbenv::system]
attributes:
rbenv:
plugins:... | 52d76599a651aaa1fe5ac443201ce6e3a765bcce | .kitchen.yml | .kitchen.yml | YAML |
<|file_sep|>original/config/initializers/auth.rb
module StarterKit
class AuthConfig < Settingslogic
source "#{Rails.root}/config/auth.yml"
namespace Rails.env
load!
end
end
OmniAuth.config.logger = Rails.logger
OmniAuth.config.path_prefix = '/o'
StarterKit::Application.config.middleware.use OmniAuth::... | module StarterKit
class AuthConfig < Settingslogic
source "#{Rails.root}/config/auth.yml"
namespace Rails.env
load!
end
end
OmniAuth.config.logger = Rails.logger
OmniAuth.config.path_prefix = '/o'
StarterKit::Application.config.middleware.use OmniAuth::Builder do
StarterKit::AuthConfig.providers.eac... | <|file_sep|>original/config/initializers/auth.rb
module StarterKit
class AuthConfig < Settingslogic
source "#{Rails.root}/config/auth.yml"
namespace Rails.env
load!
end
end
OmniAuth.config.logger = Rails.logger
OmniAuth.config.path_prefix = '/o'
StarterKit::Application.config.middleware.use OmniAuth::... | a4975a4340271cd74462d3b8541f87d099c179c2 | config/initializers/auth.rb | config/initializers/auth.rb | Ruby |
<|file_sep|>original/server.js
console.error(chalk.red('Could not connect to MongoDB!'));
console.log(chalk.red(err));
}
});
// Init the express application
var app = require('./config/express')(db);
// Bootstrap passport config
require('./config/passport')();
// Start the app by listening on <port>
app.listen(... | var db = mongoose.connect(config.db, function(err) {
if (err) {
console.error(chalk.red('Could not connect to MongoDB!'));
console.log(chalk.red(err));
}
});
// Init the express application
var app = require('./config/express')(db);
// Bootstrap passport config
require('./config/passport')();
// Start the app ... | <|file_sep|>original/server.js
console.error(chalk.red('Could not connect to MongoDB!'));
console.log(chalk.red(err));
}
});
// Init the express application
var app = require('./config/express')(db);
// Bootstrap passport config
require('./config/passport')();
// Start the app by listening on <port>
app.listen(... | 460e9cd505027c993e6953f8e1ee1cbedd73d0be | server.js | server.js | JavaScript |
<|file_sep|>original/src/widgets/EditorRow.js
<FlexRow flex={1} alignItems="center" justifyContent="flex-start" style={containerStyle}>
<WithFixedDimensions width={30}>{Icon}</WithFixedDimensions>
<Spacer space={20} />
<Text style={labelStyle}>{label}</Text>
<SpacedChildren space={0}>{childr... | <FlexRow flex={1} alignItems="center" justifyContent="flex-start" style={containerStyle}>
<WithFixedDimensions width={30}>{Icon}</WithFixedDimensions>
<Spacer space={20} />
<Text style={labelStyle}>{label}</Text>
<SpacedChildren space={0}>{children}</SpacedChildren>
</FlexRow>
);
};
E... | <|file_sep|>original/src/widgets/EditorRow.js
<FlexRow flex={1} alignItems="center" justifyContent="flex-start" style={containerStyle}>
<WithFixedDimensions width={30}>{Icon}</WithFixedDimensions>
<Spacer space={20} />
<Text style={labelStyle}>{label}</Text>
<SpacedChildren space={0}>{childr... | f29a3a92241d9fe1b3201685e7c0c5ca43bccf59 | src/widgets/EditorRow.js | src/widgets/EditorRow.js | JavaScript |
<|file_sep|>original/modules/govuk_jenkins/templates/jobs/scrape_icinga_alerts_for_dashboard_metrics.yaml.erb
triggers:
- timed: |
TZ=Europe/London
0 7 1 * *
properties:
- build-discarder:
days-to-keep: 30
artifact-num-to-keep: 5
builders:
- s... | triggers:
- timed: |
TZ=Europe/London
0 7 1 * *
properties:
- build-discarder:
days-to-keep: 30
artifact-num-to-keep: 5
builders:
- shell: |
bundle install
bundle exec rake run_monthly_report
publishers:
<% if @en... | <|file_sep|>original/modules/govuk_jenkins/templates/jobs/scrape_icinga_alerts_for_dashboard_metrics.yaml.erb
triggers:
- timed: |
TZ=Europe/London
0 7 1 * *
properties:
- build-discarder:
days-to-keep: 30
artifact-num-to-keep: 5
builders:
- s... | 4cb8293e776b73f361fd7ee37c535442c951c95e | modules/govuk_jenkins/templates/jobs/scrape_icinga_alerts_for_dashboard_metrics.yaml.erb | modules/govuk_jenkins/templates/jobs/scrape_icinga_alerts_for_dashboard_metrics.yaml.erb | HTML+ERB |
<|file_sep|>original/requirements.txt
pymongo~=3.11.1
requests~=2.25.0
SQLAlchemy==1.3.20
urllib3==1.26.2
flask-swagger-ui==3.36.0
yamlreader==3.0.4
alembic==1.4.3
openpyxl~=3.0.5
phovea_server>=7.0.0,<8.0.0
<|file_sep|>current/requirements.txt
pymongo~=3.11.1
requests~=2.25.0
SQLAlchemy==1.3.20
urllib3==1.26.2
flask-s... | pymongo~=3.11.1
requests~=2.25.0
SQLAlchemy==1.3.20
urllib3==1.26.4
flask-swagger-ui==3.36.0
yamlreader==3.0.4
alembic==1.4.3
openpyxl~=3.0.5
phovea_server>=7.0.0,<8.0.0 | <|file_sep|>original/requirements.txt
pymongo~=3.11.1
requests~=2.25.0
SQLAlchemy==1.3.20
urllib3==1.26.2
flask-swagger-ui==3.36.0
yamlreader==3.0.4
alembic==1.4.3
openpyxl~=3.0.5
phovea_server>=7.0.0,<8.0.0
<|file_sep|>current/requirements.txt
pymongo~=3.11.1
requests~=2.25.0
SQLAlchemy==1.3.20
urllib3==1.26.2
flask-s... | c760ff1973cf068b52b10442b74fd4e9077eac78 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/README.md
SILShack, Spring 2014
This is the source code for the collaboratively edited blog/site for the Spring 2014 session of UNC INLS 560, Programming for Information Professionals.
### To Students in the Class
As the course goes on, you'll learn how to use git and Github to help make this sit... | SILShack, Spring 2014

This is the source code for the collaboratively edited blog/site for the Spring 2014 session of UNC INLS 560, Programming for Information Professionals.
### To Students in the Class
As the course goes on, you'll learn how to use git and Github ... | <|file_sep|>original/README.md
SILShack, Spring 2014
This is the source code for the collaboratively edited blog/site for the Spring 2014 session of UNC INLS 560, Programming for Information Professionals.
### To Students in the Class
As the course goes on, you'll learn how to use git and Github to help make this sit... | 5b5c34593f4116a6d6211443dd40e0f552b58d60 | README.md | README.md | Markdown |
<|file_sep|>original/app/view/twig/components/panel-news.twig
{##
# Sidebar-Panel: Displays the latest news on Bolt
# (Usage Example: Dashboards sidebar)
#}
{% for news in context %}
{{ include('@bolt/components/panel-news-item.twig') }}
{% endfor %}
<|file_sep|>current/app/view/twig/components/panel-news.twig
{... | {##
# Sidebar-Panel: Displays the latest news on Bolt
# (Usage Example: Dashboards sidebar)
#}
{% for news in context if not context.disable %}
{{ include('@bolt/components/panel-news-item.twig') }}
{% endfor %} | <|file_sep|>original/app/view/twig/components/panel-news.twig
{##
# Sidebar-Panel: Displays the latest news on Bolt
# (Usage Example: Dashboards sidebar)
#}
{% for news in context %}
{{ include('@bolt/components/panel-news-item.twig') }}
{% endfor %}
<|file_sep|>current/app/view/twig/components/panel-news.twig
{... | 3665720719ccf94151408eb83722dc23a5b48a1c | app/view/twig/components/panel-news.twig | app/view/twig/components/panel-news.twig | Twig |
<|file_sep|>original/package.json
{
"name": "larave-find-js-localizations",
"version": "1.0.0",
"private": true,
"description": "A tools that helps finding untranslated strings in JavaScript files in Laravel projects using rmariuzzo/Laravel-JS-Localization and andywer/laravel-js-localization",
"engines": {
... | {
"name": "larave-find-js-localizations",
"version": "1.0.0",
"description": "A tools that helps finding untranslated strings in JavaScript files in Laravel projects using rmariuzzo/Laravel-JS-Localization and andywer/laravel-js-localization",
"engines": {
"node": ">=7.7.1"
},
"main": "index.js",
"rep... | <|file_sep|>original/package.json
{
"name": "larave-find-js-localizations",
"version": "1.0.0",
"private": true,
"description": "A tools that helps finding untranslated strings in JavaScript files in Laravel projects using rmariuzzo/Laravel-JS-Localization and andywer/laravel-js-localization",
"engines": {
... | 32377152e695fdba2bc4853e0cc8c46f1f730241 | package.json | package.json | JSON |
<|file_sep|>app/css/modal.css.diff
original:
position: absolute;
top: 0; left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.3);
text-align: center;
opacity: 0;
transition: 0.5s display;
updated:
position: absolute;
top: 0; left: 0;
width: 100vw;
height: 100vh;
background... | height: 100vh;
background: rgba(0, 0, 0, 0.3);
text-align: center;
opacity: 0;
transition: 0.5s display;
}
.modal {
display: inline-block;
position: relative;
background: white;
width: auto;
height: 1;
top: 50vh;
transform: translateY(-50%);
text-align: initial;
}
.... | <|file_sep|>app/css/modal.css.diff
original:
position: absolute;
top: 0; left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.3);
text-align: center;
opacity: 0;
transition: 0.5s display;
updated:
position: absolute;
top: 0; left: 0;
width: 100vw;
height: 100vh;
background... | a230779faf774b0bf12da1a3157f3d8d2ceb8fd1 | app/css/modal.css | app/css/modal.css | CSS |
<|file_sep|>original/scripts/mac-test-netcore.sh
set -e -v -x
pushd ${BASH_SOURCE%/*}/..
dotnet test -c Release --no-build --filter "Tarantool!=1.8" tests/progaudi.tarantool.tests/progaudi.tarantool.tests.csproj -- -parallel assemblies
pushd tarantool
kill -KILL $(cat tarantool.pid)
brew uninstall tarantool
brew ... |
set -e -v -x
pushd ${BASH_SOURCE%/*}/..
dotnet test -c Release --no-build --filter "Tarantool!=1.8" tests/progaudi.tarantool.tests/progaudi.tarantool.tests.csproj -- -parallel assemblies
pushd tarantool
kill -KILL $(cat tarantool.pid)
brew uninstall tarantool
brew install tarantool --HEAD
tarantool tarantool.lua... | <|file_sep|>original/scripts/mac-test-netcore.sh
set -e -v -x
pushd ${BASH_SOURCE%/*}/..
dotnet test -c Release --no-build --filter "Tarantool!=1.8" tests/progaudi.tarantool.tests/progaudi.tarantool.tests.csproj -- -parallel assemblies
pushd tarantool
kill -KILL $(cat tarantool.pid)
brew uninstall tarantool
brew ... | 515917cd4234c3c06e104cfc1d7d3d2f1df5f088 | scripts/mac-test-netcore.sh | scripts/mac-test-netcore.sh | Shell |
<|file_sep|>original/javascript/grid-ui/jest.config.js
export default {
roots: [
"<rootDir>/src"
],
testMatch: [
"<rootDir>/src/tests/*.test.ts",
"<rootDir>/src/tests/*.test.tsx"
],
transform: {
"^.+\\.(ts|tsx)$": "ts-jest"
},
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"... | export default {
roots: [
"<rootDir>/src"
],
testMatch: [
"<rootDir>/src/tests/*.test.tsx"
],
transform: {
"^.+\\.(ts|tsx)$": "ts-jest"
},
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
snapshotSerializers: ["enzyme-to-json/serializer"],
setupFilesAfterEnv: ["<rootDir>/s... | <|file_sep|>original/javascript/grid-ui/jest.config.js
export default {
roots: [
"<rootDir>/src"
],
testMatch: [
"<rootDir>/src/tests/*.test.ts",
"<rootDir>/src/tests/*.test.tsx"
],
transform: {
"^.+\\.(ts|tsx)$": "ts-jest"
},
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"... | 0e9ce8208eea512f5d21ee01f471f5c036f9842f | javascript/grid-ui/jest.config.js | javascript/grid-ui/jest.config.js | JavaScript |
<|file_sep|>keps/sig-node/2040-kubelet-cri/kep.yaml.diff
original:
latest-milestone: "v1.21"
updated:
latest-milestone: "v1.22"
<|file_sep|>original/keps/sig-node/2040-kubelet-cri/kep.yaml
- "@derekwaynecarr"
- "@dchen1107"
prr-approvers:
- "@deads2k"
# The target maturity stage in the current dev cycle for this... | - "@derekwaynecarr"
- "@dchen1107"
prr-approvers:
- "@deads2k"
# The target maturity stage in the current dev cycle for this KEP.
stage: beta
# The most recent milestone for which work toward delivery of this KEP has been
# done. This can be the current (upcoming) milestone, if it is being actively
# worked on.... | <|file_sep|>keps/sig-node/2040-kubelet-cri/kep.yaml.diff
original:
latest-milestone: "v1.21"
updated:
latest-milestone: "v1.22"
<|file_sep|>original/keps/sig-node/2040-kubelet-cri/kep.yaml
- "@derekwaynecarr"
- "@dchen1107"
prr-approvers:
- "@deads2k"
# The target maturity stage in the current dev cycle for this... | f74a2c3b67f2ff880e91fcacdfc7166a6e3e4679 | keps/sig-node/2040-kubelet-cri/kep.yaml | keps/sig-node/2040-kubelet-cri/kep.yaml | YAML |
<|file_sep|>original/composer.json
],
"support": {
"email": "dspsupport@dreamfactory.com",
"source": "https://github.com/dreamfactorysoftware/df-rws",
"issues": "https://github.com/dreamfactorysoftware/df-rws/issues",
"wiki": "https://wiki.dreamfactory.com"
},
"minimum-stability": "dev",
... | ],
"support": {
"email": "dspsupport@dreamfactory.com",
"source": "https://github.com/dreamfactorysoftware/df-rws",
"issues": "https://github.com/dreamfactorysoftware/df-rws/issues",
"wiki": "https://wiki.dreamfactory.com"
},
"minimum-stability": "dev",
"prefer-stable": true,
"req... | <|file_sep|>original/composer.json
],
"support": {
"email": "dspsupport@dreamfactory.com",
"source": "https://github.com/dreamfactorysoftware/df-rws",
"issues": "https://github.com/dreamfactorysoftware/df-rws/issues",
"wiki": "https://wiki.dreamfactory.com"
},
"minimum-stability": "dev",
... | eb67a5ead72bf917a527801ab092e7fce26e5761 | composer.json | composer.json | JSON |
<|file_sep|>original/composer.json
"email": "fabien@symfony.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"require": {
"php": "^5.5.9|>=7.0.8"
},
"autoload": {
"psr-4": { "Symfony\\Co... | "authors": [
{
"name": "Fabien Potencier",
"email": "fabien@symfony.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"require": {
"php": "^5.5.9|>=7.0.8"
},
"autoload": {... | <|file_sep|>original/composer.json
"email": "fabien@symfony.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"require": {
"php": "^5.5.9|>=7.0.8"
},
"autoload": {
"psr-4": { "Symfony\\Co... | b8648cf1d5af12a44a51d07ef9bf980921f15fca | composer.json | composer.json | JSON |
<|file_sep|>info.json.diff
original:
"INSTALL_MSG" : "Some custom made cogs used for Red Bot",
updated:
"INSTALL_MSG" : "Ridinginstyle00:\n\n**Some custom made cogs used for Red Bot**\n\n",
<|file_sep|>original/info.json
{
"AUTHOR" : "Ridinginstyle",
"INSTALL_MSG" : "Some custom made cogs used for Red B... | {
"AUTHOR" : "Ridinginstyle",
"INSTALL_MSG" : "Ridinginstyle00:\n\n**Some custom made cogs used for Red Bot**\n\n",
"NAME" : "ridings-cogs",
"SHORT": "USome useful cogs.",
"DESCRIPTION" : "Ridinginstyle00::\n\nThanks for installing, this Repo includes some useful cogs that I use on my server quite o... | <|file_sep|>info.json.diff
original:
"INSTALL_MSG" : "Some custom made cogs used for Red Bot",
updated:
"INSTALL_MSG" : "Ridinginstyle00:\n\n**Some custom made cogs used for Red Bot**\n\n",
<|file_sep|>original/info.json
{
"AUTHOR" : "Ridinginstyle",
"INSTALL_MSG" : "Some custom made cogs used for Red B... | 8275e3a3d7a000ea6a97607988b9dd17651eab2e | info.json | info.json | JSON |
<|file_sep|>lib.sh.diff
original:
local key="$1"
printf "$key" | openssl enc -aes-128-ecb -nopad \
updated:
openssl enc -aes-128-ecb -nopad \
<|file_sep|>lib.sh.diff
original:
local keyfile="$1"
openssl enc -aes-128-ecb -d -nopad -in $keyfile \
updated:
openssl enc -aes-128-ecb -d -nopad \
<|file_sep|>lib.s... | encrypt_key () {
openssl enc -aes-128-ecb -nopad \
-K $(printf 'EKs35XacP6eybA25' | xxd -p)
}
decrypt_key () {
openssl enc -aes-128-ecb -d -nopad \
-K $(printf 'EKs35XacP6eybA25' | xxd -p)
}
encrypt_cfg () {
local key="$1"
openssl enc -aes-128-ecb -nopad \
-K $(printf "$key" | xxd -p)
}
decrypt_c... | <|file_sep|>lib.sh.diff
original:
local key="$1"
printf "$key" | openssl enc -aes-128-ecb -nopad \
updated:
openssl enc -aes-128-ecb -nopad \
<|file_sep|>lib.sh.diff
original:
local keyfile="$1"
openssl enc -aes-128-ecb -d -nopad -in $keyfile \
updated:
openssl enc -aes-128-ecb -d -nopad \
<|file_sep|>lib.s... | 6656046d6dba8b6c1d2651a78f5cb35bd5e08891 | lib.sh | lib.sh | Shell |
<|file_sep|>original/leetcode/algorithms/edit-distance/solution.py
<|file_sep|>current/leetcode/algorithms/edit-distance/solution.py
<|file_sep|>updated/leetcode/algorithms/edit-distance/solution.py | #!/usr/bin/env python
class Solution(object):
def minDistance(self, a, b):
"""
Returns the edit distance between strings a and b.
"""
n = len(a)
m = len(b)
# If either string is empty, we need to add all characters from other
# string.
if n == 0 or ... | <|file_sep|>original/leetcode/algorithms/edit-distance/solution.py
<|file_sep|>current/leetcode/algorithms/edit-distance/solution.py
<|file_sep|>updated/leetcode/algorithms/edit-distance/solution.py
#!/usr/bin/env python
class Solution(object):
def minDistance(self, a, b):
"""
Returns the edit d... | 450a670635d676005e598ae3a3d96eb5d80756af | leetcode/algorithms/edit-distance/solution.py | leetcode/algorithms/edit-distance/solution.py | Python |
<|file_sep|>original/.travis.yml
branches:
only:
- master
bundler_args: --jobs 7 --retry 3
gemfile: gemfiles/chefspec.gemfile
env:
- CHEF_VERSION=master
- CHEF_VERSION=12.5.1
- CHEF_VERSION=12.4.3
- CHEF_VERSION=12.4.0
- CHEF_VERSION=12.3.0
- CHEF_VERSION=12.2.1
- CHEF_VERSION=12.1.2
- CHEF_VER... | branches:
only:
- master
bundler_args: --jobs 7 --retry 3
gemfile: gemfiles/chefspec.gemfile
env:
- CHEF_VERSION=master
- CHEF_VERSION=12.6.0
- CHEF_VERSION=12.5.1
- CHEF_VERSION=12.4.3
- CHEF_VERSION=12.4.0
- CHEF_VERSION=12.3.0
- CHEF_VERSION=12.2.1
- CHEF_VERSION=12.1.2
- CHEF_VERSION=12.1... | <|file_sep|>original/.travis.yml
branches:
only:
- master
bundler_args: --jobs 7 --retry 3
gemfile: gemfiles/chefspec.gemfile
env:
- CHEF_VERSION=master
- CHEF_VERSION=12.5.1
- CHEF_VERSION=12.4.3
- CHEF_VERSION=12.4.0
- CHEF_VERSION=12.3.0
- CHEF_VERSION=12.2.1
- CHEF_VERSION=12.1.2
- CHEF_VER... | 40055eb8b8d0c56d5888dc485fd94e18e81732dc | .travis.yml | .travis.yml | YAML |
<|file_sep|>plugin/src/main/java/org/eobjects/build/AbstractDotnetTestMojo.java.diff
original:
@Parameter(property = "dotnet.test.forcexunit", required = false)
private Boolean forceXUnit;
updated:
@Parameter(property = "dotnet.test.test-command", required = false, defaultValue = "test")
private String ... | private File outputXml;
@Parameter(property = "dotnet.test.test-command", required = false, defaultValue = "test")
private String testCommand;
@Parameter(property = "dotnet.test.logger", required = false)
private String logger;
public void executeInternal() throws MojoFailureException {
... | <|file_sep|>plugin/src/main/java/org/eobjects/build/AbstractDotnetTestMojo.java.diff
original:
@Parameter(property = "dotnet.test.forcexunit", required = false)
private Boolean forceXUnit;
updated:
@Parameter(property = "dotnet.test.test-command", required = false, defaultValue = "test")
private String ... | 3fec01b265528b6fb22468470ea6e204ddc94406 | plugin/src/main/java/org/eobjects/build/AbstractDotnetTestMojo.java | plugin/src/main/java/org/eobjects/build/AbstractDotnetTestMojo.java | Java |
<|file_sep|>original/CODE_OF_CONDUCT.md
<|file_sep|>current/CODE_OF_CONDUCT.md
<|file_sep|>updated/CODE_OF_CONDUCT.md | <!---
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use... | <|file_sep|>original/CODE_OF_CONDUCT.md
<|file_sep|>current/CODE_OF_CONDUCT.md
<|file_sep|>updated/CODE_OF_CONDUCT.md
<!---
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyrig... | c1a81eac52331583f5d4dcdc051cf19c0b1a00e2 | CODE_OF_CONDUCT.md | CODE_OF_CONDUCT.md | Markdown |
<|file_sep|>client/components/hello-view.html.diff
original:
updated:
:host next-button {
margin-top: 9rem;
}
<|file_sep|>client/components/hello-view.html.diff
original:
<h1>Hello!</h1>
updated:
<h1 title>Hello!</h1>
<|file_sep|>client/components/hel... | <dom-module id="hello-view">
<template>
<style>
:host next-button {
margin-top: 9rem;
}
</style>
<h1 title>Hello!</h1>
<p>I'm the Ape Butler.</p>
<p italic>A voice controlled door phone.</p>
<next-button>Continue</next-button>
... | <|file_sep|>client/components/hello-view.html.diff
original:
updated:
:host next-button {
margin-top: 9rem;
}
<|file_sep|>client/components/hello-view.html.diff
original:
<h1>Hello!</h1>
updated:
<h1 title>Hello!</h1>
<|file_sep|>client/components/hel... | cf068440c522bfc858be9b00b56927e221623bdd | client/components/hello-view.html | client/components/hello-view.html | HTML |
<|file_sep|>original/Gruntfile.js
module.exports = function (grunt) {
grunt.initConfig({
karma: {
options: {
basePath: '',
frameworks: ['mocha', 'sinon-chai'],
files: [
{ pattern: 'spec/fixtures/*.html',
included: true },
'bower_components/jquery/jque... | module.exports = function (grunt) {
grunt.initConfig({
karma: {
options: {
basePath: '',
frameworks: ['mocha', 'sinon-chai'],
files: [
{ pattern: 'spec/fixtures/*.html',
included: true },
'bower_components/jquery/dist/jquery.js',
'bower_comp... | <|file_sep|>original/Gruntfile.js
module.exports = function (grunt) {
grunt.initConfig({
karma: {
options: {
basePath: '',
frameworks: ['mocha', 'sinon-chai'],
files: [
{ pattern: 'spec/fixtures/*.html',
included: true },
'bower_components/jquery/jque... | 89fc8283799592c610810360ed4730b311eaf9af | Gruntfile.js | Gruntfile.js | JavaScript |
<|file_sep|>original/tests/unit/helpers/format-number-test.js
import { formatNumber } from '../../../helpers/format-number';
import { module, test } from 'qunit';
module('Unit | Helper | format number');
test('it renders 7884486213 as 7.3GB', function (assert) {
assert.equal(formatNumber(7884486213, {format: '0.0b'}... |
module('Unit | Helper | format number');
test('it renders 7884486213 as 7.3GB', function (assert) {
assert.equal(formatNumber(7884486213, {format: '0.0b'}), '7.3GB');
});
test('it renders 1230974 as 1.2m', function (assert) {
assert.equal(formatNumber(1230974, {format: '0.0a'}), '1.2m');
});
test('renders [1000] ... | <|file_sep|>original/tests/unit/helpers/format-number-test.js
import { formatNumber } from '../../../helpers/format-number';
import { module, test } from 'qunit';
module('Unit | Helper | format number');
test('it renders 7884486213 as 7.3GB', function (assert) {
assert.equal(formatNumber(7884486213, {format: '0.0b'}... | 8e586d43b4eadf7908ee132e82cfafbba1579dc5 | tests/unit/helpers/format-number-test.js | tests/unit/helpers/format-number-test.js | JavaScript |
<|file_sep|>original/apps/camera_pipe/CMakeLists.txt
target_compile_options(fcam PRIVATE "-std=c++11")
endif()
# Final executable
add_executable(process process.cpp ${curved_h})
target_link_libraries(process PRIVATE ${curved_lib} fcam ${PNG_LIBRARIES})
target_include_directories(process PRIVATE "${CMAKE_CURRENT_BINA... | target_compile_options(fcam PRIVATE "-std=c++11")
endif()
# Final executable
add_executable(process process.cpp ${curved_h})
target_link_libraries(process PRIVATE ${curved_lib} fcam ${PNG_LIBRARIES})
target_include_directories(process PRIVATE "${CMAKE_CURRENT_BINARY_DIR}"
${PNG_INCLUDE_DIR... | <|file_sep|>original/apps/camera_pipe/CMakeLists.txt
target_compile_options(fcam PRIVATE "-std=c++11")
endif()
# Final executable
add_executable(process process.cpp ${curved_h})
target_link_libraries(process PRIVATE ${curved_lib} fcam ${PNG_LIBRARIES})
target_include_directories(process PRIVATE "${CMAKE_CURRENT_BINA... | 1e10c773518243921d35be2b2c908217f1d0b5a0 | apps/camera_pipe/CMakeLists.txt | apps/camera_pipe/CMakeLists.txt | Text |
<|file_sep|>index.html.diff
original:
updated:
<link rel="stylesheet" type="text/css" href="css/reset.css">
<|file_sep|>index.html.diff
original:
<!-- The Phaser library,
- required for everything game related -->
updated:
<!--
- The Phaser library,
- required for everything game related
-->
<|file_sep|... | <body>
<div id="game"></div>
<!--
- The Phaser library,
- required for everything game related
-->
<script src="lib/phaser.js"></script>
<!--
- Import files representing the different states
-->
<script src="js/boot.js"></script>
<!--
- Set page specific variables
- and start boot state
--... | <|file_sep|>index.html.diff
original:
updated:
<link rel="stylesheet" type="text/css" href="css/reset.css">
<|file_sep|>index.html.diff
original:
<!-- The Phaser library,
- required for everything game related -->
updated:
<!--
- The Phaser library,
- required for everything game related
-->
<|file_sep|... | fe3599490d3ff29a5a0ea1f7ea77f8a31f6afd3b | index.html | index.html | HTML |
<|file_sep|>original/package.json
{
"name": "accounts-cbd-int",
"description": "Source files for accounts.cbd.int",
"dependencies": {
"express": "3.4.x",
"http-proxy": "1.1.x",
"tmp": "0.0.23",
"bower": "1.3.8",
"grunt": "~0.4.2",
"grunt-cli": "~0.1.13",
"grunt-contrib-copy": "~0.5.0",... | {
"name": "accounts-cbd-int",
"description": "Source files for accounts.cbd.int",
"dependencies": {
"express": "3.4.x",
"http-proxy": "~1.0.2",
"tmp": "0.0.23",
"bower": "1.3.8",
"grunt": "~0.4.2",
"grunt-cli": "~0.1.13",
"grunt-contrib-copy": "~0.5.0",
"grunt-contrib-requirejs": "... | <|file_sep|>original/package.json
{
"name": "accounts-cbd-int",
"description": "Source files for accounts.cbd.int",
"dependencies": {
"express": "3.4.x",
"http-proxy": "1.1.x",
"tmp": "0.0.23",
"bower": "1.3.8",
"grunt": "~0.4.2",
"grunt-cli": "~0.1.13",
"grunt-contrib-copy": "~0.5.0",... | 0f0950ab50af04e6213042aa204fda82618d20ab | package.json | package.json | JSON |
<|file_sep|>original/_layouts/page.html.twig
{% extends '_layouts/base.html.twig' %}
{% block content_root %}
<main class="container background-dark s-documentation">
<div class="py-3 px-md-3">
{% block content %}{% endblock %}
</div>
</main>
{% endblock %}
<|file_sep|>current/_layo... | {% extends '_layouts/base.html.twig' %}
{% block content_root %}
<main class="container background-dark s-documentation">
<div class="py-3 px-md-3">
{% block content %}{% endblock %}
</div>
{% if this.editable %}
{% include "_includes/edit_me.html.twig" %}
{... | <|file_sep|>original/_layouts/page.html.twig
{% extends '_layouts/base.html.twig' %}
{% block content_root %}
<main class="container background-dark s-documentation">
<div class="py-3 px-md-3">
{% block content %}{% endblock %}
</div>
</main>
{% endblock %}
<|file_sep|>current/_layo... | 5fc5f98a6eaa2a9f5b95cd4a889c2760d8d13a1e | _layouts/page.html.twig | _layouts/page.html.twig | Twig |
<|file_sep|>original/build.sh
#!/usr/bin/env bash
# By default on Linux/MacOS we build Hadrian using Cabal
( ./build.cabal.sh "$@" )
<|file_sep|>current/build.sh
#!/usr/bin/env bash
# By default on Linux/MacOS we build Hadrian using Cabal
( ./build.cabal.sh "$@" )
<|file_sep|>updated/build.sh | #!/usr/bin/env bash
# By default on Linux/MacOS we build Hadrian using Cabal
bash './build.cabal.sh "$@"' | <|file_sep|>original/build.sh
#!/usr/bin/env bash
# By default on Linux/MacOS we build Hadrian using Cabal
( ./build.cabal.sh "$@" )
<|file_sep|>current/build.sh
#!/usr/bin/env bash
# By default on Linux/MacOS we build Hadrian using Cabal
( ./build.cabal.sh "$@" )
<|file_sep|>updated/build.sh
#!/usr/bin/env bash
# B... | 14c2c279aa49b272f9cae73269bd9e99bf887b2e | build.sh | build.sh | Shell |
<|file_sep|>original/test/CodeGen/PowerPC/fnegsel.ll
<|file_sep|>current/test/CodeGen/PowerPC/fnegsel.ll
<|file_sep|>updated/test/CodeGen/PowerPC/fnegsel.ll | ; RUN: llvm-as < %s | llc -march=ppc32 -enable-ppc-pattern-isel | not grep fneg
double %test_fneg_sel(double %A, double %B, double %C) {
%D = sub double -0.0, %A
%Cond = setgt double %D, -0.0
%E = select bool %Cond, double %B, double %C
ret double %E
} | <|file_sep|>original/test/CodeGen/PowerPC/fnegsel.ll
<|file_sep|>current/test/CodeGen/PowerPC/fnegsel.ll
<|file_sep|>updated/test/CodeGen/PowerPC/fnegsel.ll
; RUN: llvm-as < %s | llc -march=ppc32 -enable-ppc-pattern-isel | not grep fneg
double %test_fneg_sel(double %A, double %B, double %C) {
%D = sub double -0.... | 9a98a774463a019a212c40df74e548227e1c1b2d | test/CodeGen/PowerPC/fnegsel.ll | test/CodeGen/PowerPC/fnegsel.ll | LLVM |
<|file_sep|>original/readme.md
## Requirements
- PHP5+
- Apache2
- Mod_Rewrite (htaccess)
- Existing [PokemonGo-Map](https://github.com/PokemonGoMap/PokemonGo-Map) **Mysql** database
## To deploy for you
See [Wiki](https://github.com/brusselopole/Worldopole/wiki)
## Contribute
[Feature Requests](http://feathub... | - Mod_Rewrite (htaccess)
- Existing [PokemonGo-Map](https://github.com/PokemonGoMap/PokemonGo-Map) **Mysql** database
## To deploy for you
See [Wiki](https://github.com/brusselopole/Worldopole/wiki)
## Contribute
[Feature Requests](http://feathub.com/brusselopole/Worldopole)
## License
Worldopole is released ... | <|file_sep|>original/readme.md
## Requirements
- PHP5+
- Apache2
- Mod_Rewrite (htaccess)
- Existing [PokemonGo-Map](https://github.com/PokemonGoMap/PokemonGo-Map) **Mysql** database
## To deploy for you
See [Wiki](https://github.com/brusselopole/Worldopole/wiki)
## Contribute
[Feature Requests](http://feathub... | 902b8cd664b1f2e516c0f85ad0536d3fddbe2567 | readme.md | readme.md | Markdown |
<|file_sep|>original/config/proactive/ProActiveConfiguration.xml
<?xml version="1.0" encoding="UTF-8"?>
<ProActiveUserProperties>
<properties>
</properties>
<javaProperties>
</javaProperties>
</ProActiveUserProperties>
<|file_sep|>current/config/proactive/ProActiveConfiguration.xml
<?xml version="1.0" e... | <?xml version="1.0" encoding="UTF-8"?>
<ProActiveUserProperties>
<properties>
<prop key="proactive.net.nolocal" value="true"/>
<!--<prop key="proactive.rmi.port" value="1234"/>-->
</properties>
<javaProperties>
</javaProperties>
</ProActiveUserProperties> | <|file_sep|>original/config/proactive/ProActiveConfiguration.xml
<?xml version="1.0" encoding="UTF-8"?>
<ProActiveUserProperties>
<properties>
</properties>
<javaProperties>
</javaProperties>
</ProActiveUserProperties>
<|file_sep|>current/config/proactive/ProActiveConfiguration.xml
<?xml version="1.0" e... | edec009d9a30b7c86de28762a61707a32191fa94 | config/proactive/ProActiveConfiguration.xml | config/proactive/ProActiveConfiguration.xml | XML |
<|file_sep|>original/test/unit/git/commit/test_rememberance.rb
require File.expand_path("#{File.dirname(__FILE__)}/../../../test_helper")
class Piston::Git::TestGitCommitRememberance < Piston::TestCase
def setup
super
@repos = mock("repository")
@repos.stubs(:url).returns("git://github.com/francois/arepo... | require File.expand_path("#{File.dirname(__FILE__)}/../../../test_helper")
class Piston::Git::TestGitCommitRememberance < Piston::TestCase
def setup
super
@repos = mock("repository")
@repos.stubs(:url).returns("git://github.com/francois/arepos.git")
@reposdir = Pathname.new("tmp/repos.git")
@com... | <|file_sep|>original/test/unit/git/commit/test_rememberance.rb
require File.expand_path("#{File.dirname(__FILE__)}/../../../test_helper")
class Piston::Git::TestGitCommitRememberance < Piston::TestCase
def setup
super
@repos = mock("repository")
@repos.stubs(:url).returns("git://github.com/francois/arepo... | 16f8dacaaf300cc55bc9772092f002df2ae9e0b3 | test/unit/git/commit/test_rememberance.rb | test/unit/git/commit/test_rememberance.rb | Ruby |
<|file_sep|>original/mint/README.md
# Linux Mint Configuration Instructions
In addition to installing the packages, there are several other settings to
adjust:
* Under Preferences -> Window Tiling, check the "Maximize, instead of tile, when
dragging a window to the top edge" box.
<|file_sep|>current/mint/README.md
... | # Linux Mint Configuration Instructions
In addition to installing the packages, there are several other settings to
adjust:
* Under Preferences -> Window Tiling, check the "Maximize, instead of tile, when
dragging a window to the top edge" box.
* Manually install [Chrome](https://www.google.com/chrome) by downloadi... | <|file_sep|>original/mint/README.md
# Linux Mint Configuration Instructions
In addition to installing the packages, there are several other settings to
adjust:
* Under Preferences -> Window Tiling, check the "Maximize, instead of tile, when
dragging a window to the top edge" box.
<|file_sep|>current/mint/README.md
... | 70f0ba720fed319599a1652f4e94eabb41e42161 | mint/README.md | mint/README.md | Markdown |
<|file_sep|>original/tox.ini
[testenv]
deps = -rrequirements-dev.txt
passenv = HOME HOMEPATH PROGRAMDATA
setenv =
GIT_AUTHOR_NAME = "test"
GIT_COMMITTER_NAME = "test"
GIT_AUTHOR_EMAIL = "test@example.com"
GIT_COMMITTER_EMAIL = "test@example.com"
commands =
coverage erase
coverage run -m pytest ... |
[testenv]
deps = -rrequirements-dev.txt
passenv = HOME HOMEPATH PROGRAMDATA
setenv =
GIT_AUTHOR_NAME = "test"
GIT_COMMITTER_NAME = "test"
GIT_AUTHOR_EMAIL = "test@example.com"
GIT_COMMITTER_EMAIL = "test@example.com"
commands =
coverage erase
coverage run -m pytest {posargs:tests}
coverage ... | <|file_sep|>original/tox.ini
[testenv]
deps = -rrequirements-dev.txt
passenv = HOME HOMEPATH PROGRAMDATA
setenv =
GIT_AUTHOR_NAME = "test"
GIT_COMMITTER_NAME = "test"
GIT_AUTHOR_EMAIL = "test@example.com"
GIT_COMMITTER_EMAIL = "test@example.com"
commands =
coverage erase
coverage run -m pytest ... | c9f7b813e37048bfd75b404b800f5216350e78cc | tox.ini | tox.ini | INI |
<|file_sep|>original/docker/monasca/monasca-base/extend_start.sh
#!/bin/bash
if [[ ! -d "/var/log/kolla/monasca" ]]; then
mkdir -p /var/log/kolla/monasca
fi
if [[ $(stat -c %a /var/log/kolla/monesca) != "755" ]]; then
chmod 755 /var/log/kolla/monasca
fi
. /usr/local/bin/kolla_monasca_extend_start
<|file_sep|>... | #!/bin/bash
if [[ ! -d "/var/log/kolla/monasca" ]]; then
mkdir -p /var/log/kolla/monasca
fi
if [[ $(stat -c %a /var/log/kolla/monasca) != "755" ]]; then
chmod 755 /var/log/kolla/monasca
fi
. /usr/local/bin/kolla_monasca_extend_start | <|file_sep|>original/docker/monasca/monasca-base/extend_start.sh
#!/bin/bash
if [[ ! -d "/var/log/kolla/monasca" ]]; then
mkdir -p /var/log/kolla/monasca
fi
if [[ $(stat -c %a /var/log/kolla/monesca) != "755" ]]; then
chmod 755 /var/log/kolla/monasca
fi
. /usr/local/bin/kolla_monasca_extend_start
<|file_sep|>... | a8969bd303749170c44e3a9bbbdcbaface52561d | docker/monasca/monasca-base/extend_start.sh | docker/monasca/monasca-base/extend_start.sh | Shell |
<|file_sep|>original/phpunit.xml.dist
<php>
<server name="KERNEL_DIR" value="./Tests/" />
</php>
<testsuites>
<testsuite name="Asf Core Test Suite">
<directory>./Tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>./</directory... | <testsuites>
<testsuite name="Asf Core Test Suite">
<directory>./Tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>./</directory>
<exclude>
<directory>./Resources</directory>
<directory>.... | <|file_sep|>original/phpunit.xml.dist
<php>
<server name="KERNEL_DIR" value="./Tests/" />
</php>
<testsuites>
<testsuite name="Asf Core Test Suite">
<directory>./Tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>./</directory... | ffe3bdcc417e66c0a44d01f9cd0ccd8c147b8416 | phpunit.xml.dist | phpunit.xml.dist | unknown |
<|file_sep|>lib/raml_models/body.rb.diff
original:
body.example
updated:
eval(body.example)
<|file_sep|>lib/raml_models/body.rb.diff
original:
JSON.parse(JsonTestData.generate!(body.schema), symbolize_names: true)
updated:
JsonTestData.generate!(body.schema, ruby: true)
<|file_se... |
def initialize(body)
@body = body
end
def content_type
body.content_type
end
def example
if body.example
eval(body.example)
elsif body.schema
JsonTestData.generate!(body.schema, ruby: true)
else
{}
end
e... | <|file_sep|>lib/raml_models/body.rb.diff
original:
body.example
updated:
eval(body.example)
<|file_sep|>lib/raml_models/body.rb.diff
original:
JSON.parse(JsonTestData.generate!(body.schema), symbolize_names: true)
updated:
JsonTestData.generate!(body.schema, ruby: true)
<|file_se... | 1d22ed5cd890c987fd88a79b10cec874ce5ab04d | lib/raml_models/body.rb | lib/raml_models/body.rb | Ruby |
<|file_sep|>original/app/views/recent_changes/_table.html.haml
- if version.whodunnit
- begin
- user = User.find(version.whodunnit)
- rescue
%tr
%td= version.created_at.to_s(:long)
- if user and user.person
%td= image_box user.person.avatar, :small
... | - if version.whodunnit
- begin
- user = User.find(version.whodunnit)
- rescue
%tr
%td= version.created_at.to_s(:long)
- if user and user.person
%td= image_box user.person.avatar, :small
%td= link_to user.person.full_name, user.person
-els... | <|file_sep|>original/app/views/recent_changes/_table.html.haml
- if version.whodunnit
- begin
- user = User.find(version.whodunnit)
- rescue
%tr
%td= version.created_at.to_s(:long)
- if user and user.person
%td= image_box user.person.avatar, :small
... | b35f743b7595b4cb771b1d2e44d3ea2b6fbf20bf | app/views/recent_changes/_table.html.haml | app/views/recent_changes/_table.html.haml | Haml |
<|file_sep|>test.workflow/src/test/resources/junit-platform.properties.diff
original:
updated:
#
# Automatic Jupiter Extension Registration
#
# https://junit.org/junit5/docs/current/user-guide/#extensions-registration-automatic
#
junit.jupiter.extensions.autodetection.enabled = false
#
# Jupiter Parallel Execution
<|... | #
# Automatic Jupiter Extension Registration
#
# https://junit.org/junit5/docs/current/user-guide/#extensions-registration-automatic
#
junit.jupiter.extensions.autodetection.enabled = false
#
# Jupiter Parallel Execution
#
# https://junit.org/junit5/docs/current/user-guide/#writing-tests-parallel-execution
#
# Configu... | <|file_sep|>test.workflow/src/test/resources/junit-platform.properties.diff
original:
updated:
#
# Automatic Jupiter Extension Registration
#
# https://junit.org/junit5/docs/current/user-guide/#extensions-registration-automatic
#
junit.jupiter.extensions.autodetection.enabled = false
#
# Jupiter Parallel Execution
<|... | 9f2a2f41be196fab59f278d07bf138be9497c2fa | test.workflow/src/test/resources/junit-platform.properties | test.workflow/src/test/resources/junit-platform.properties | INI |
<|file_sep|>examples/info/Main.hs.diff
original:
pPrint i
updated:
myPrint i
<|file_sep|>examples/info/Main.hs.diff
original:
pPrint layers
pPrint extensions
updated:
myPrint layers
myPrint extensions
<|file_sep|>original/examples/info/Main.hs
import Vulkan.Core10
import Vulkan.Zero
mai... | myPrint layers
myPrint extensions
(_, devices) <- enumeratePhysicalDevices i
traverse_ deviceInfo devices
deviceInfo :: PhysicalDevice -> IO ()
deviceInfo p = do
(_, extensions) <- enumerateDeviceExtensionProperties p Nothing
(_, layers ) <- enumerateDeviceLayerProperties p
traverse_ myPrint extension... | <|file_sep|>examples/info/Main.hs.diff
original:
pPrint i
updated:
myPrint i
<|file_sep|>examples/info/Main.hs.diff
original:
pPrint layers
pPrint extensions
updated:
myPrint layers
myPrint extensions
<|file_sep|>original/examples/info/Main.hs
import Vulkan.Core10
import Vulkan.Zero
mai... | 44df1cdd8a5c2b8d08f0323abd8cf679ee8098ae | examples/info/Main.hs | examples/info/Main.hs | Haskell |
<|file_sep|>original/composer.json
],
"license": "BSD-3-Clause",
"authors": [
{
"name": "MrAnger",
"email": "slava.sharapov1992@gmail.com"
}
],
"support": {
"issues": "https://github.com/MrAnger/yii2-ckeditor/issues",
"source": "https://github.com/MrAnger/yii2-ckeditor"
},
"aut... | ],
"license": "BSD-3-Clause",
"authors": [
{
"name": "MrAnger",
"email": "slava.sharapov1992@gmail.com"
}
],
"support": {
"issues": "https://github.com/MrAnger/yii2-ckeditor/issues",
"source": "https://github.com/MrAnger/yii2-ckeditor"
},
"autoload": {
"psr-4": {
"mra... | <|file_sep|>original/composer.json
],
"license": "BSD-3-Clause",
"authors": [
{
"name": "MrAnger",
"email": "slava.sharapov1992@gmail.com"
}
],
"support": {
"issues": "https://github.com/MrAnger/yii2-ckeditor/issues",
"source": "https://github.com/MrAnger/yii2-ckeditor"
},
"aut... | 5de84f1471538fe83727b5fcd859d8eab4a09e5c | composer.json | composer.json | JSON |
<|file_sep|>original/projects/templates/project_list_item.html
<b>
<a href="{% url 'view_project' project.id %}">{{ project.title }}</a>
</b> - {{ project.short_description }}
({{ project.participants|length|add:1}}
participant{{ project.participants|length|add:1|pluralize}})
<br>
<|file_sep|>current/projects/templ... | <b>
<a href="{% url 'view_project' project.id %}">{{ project.title }}</a>
</b> - {{ project.short_description }}
({{ project.participants.all|length|add:1}}
participant{{ project.participants.all|length|add:1|pluralize}})
<br> | <|file_sep|>original/projects/templates/project_list_item.html
<b>
<a href="{% url 'view_project' project.id %}">{{ project.title }}</a>
</b> - {{ project.short_description }}
({{ project.participants|length|add:1}}
participant{{ project.participants|length|add:1|pluralize}})
<br>
<|file_sep|>current/projects/templ... | 16d6abda22bc9b6f58974d0415d446ebeddd7066 | projects/templates/project_list_item.html | projects/templates/project_list_item.html | HTML |
<|file_sep|>original/package.json
{
"name": "ip-demo-js",
"version": "1.0.0",
"description": "Twilio JS IP Messaging SDK Demo",
"main": "server.js",
"scripts": {
"start": "node server.js"
},
"repository": {
"type": "git",
"url": "https://github.com/twilio/ip-demo-js"
},
"author": "Ryan Row... | {
"name": "ip-demo-js",
"version": "0.9.0",
"description": "Twilio JS IP Messaging SDK Demo",
"main": "server.js",
"scripts": {
"start": "node server.js"
},
"repository": {
"type": "git",
"url": "https://github.com/twilio/ip-demo-js"
},
"author": "Ryan Rowland<rrowland@twilio.com>",
"lic... | <|file_sep|>original/package.json
{
"name": "ip-demo-js",
"version": "1.0.0",
"description": "Twilio JS IP Messaging SDK Demo",
"main": "server.js",
"scripts": {
"start": "node server.js"
},
"repository": {
"type": "git",
"url": "https://github.com/twilio/ip-demo-js"
},
"author": "Ryan Row... | 796c34b4a7ce2d798e6b2a4a2d4bb41087695f4d | package.json | package.json | JSON |
<|file_sep|>original/requirements.txt
ansible-lint==4.2.0
docker==5.0.0
flake8==3.9.0
molecule==3.0.8
pytest==6.2.3
testinfra==6.0.0
tox==3.23.0
<|file_sep|>current/requirements.txt
ansible-lint==4.2.0
docker==5.0.0
flake8==3.9.0
molecule==3.0.8
pytest==6.2.3
testinfra==6.0.0
tox==3.23.0
<|file_sep|>updated/requirement... | ansible-lint==4.2.0
docker==5.0.0
flake8==3.9.1
molecule==3.0.8
pytest==6.2.3
testinfra==6.0.0
tox==3.23.0 | <|file_sep|>original/requirements.txt
ansible-lint==4.2.0
docker==5.0.0
flake8==3.9.0
molecule==3.0.8
pytest==6.2.3
testinfra==6.0.0
tox==3.23.0
<|file_sep|>current/requirements.txt
ansible-lint==4.2.0
docker==5.0.0
flake8==3.9.0
molecule==3.0.8
pytest==6.2.3
testinfra==6.0.0
tox==3.23.0
<|file_sep|>updated/requirement... | 60b1a0ba3acfe72dd43c41aa3b6c8c91dbaef3fd | requirements.txt | requirements.txt | Text |
<|file_sep|>original/lib/fog/scaleway/errors.rb
module Fog
module Scaleway
module Errors
def self.decode_error(error)
body = begin
Fog::JSON.decode(error.response.body)
rescue
Fog::JSON::DecodeError
end
return if body.nil?
... | module Fog
module Scaleway
module Errors
def self.decode_error(error)
body = begin
Fog::JSON.decode(error.response.body)
rescue Fog::JSON::DecodeError
nil
end
return if body.nil?
type = body['type']
message ... | <|file_sep|>original/lib/fog/scaleway/errors.rb
module Fog
module Scaleway
module Errors
def self.decode_error(error)
body = begin
Fog::JSON.decode(error.response.body)
rescue
Fog::JSON::DecodeError
end
return if body.nil?
... | c9cac7f8e349034fc0af1389671b318189775630 | lib/fog/scaleway/errors.rb | lib/fog/scaleway/errors.rb | Ruby |
<|file_sep|>original/chessrank/client/controllers/tournament/section/edit.js
rd.startTime = converter.bsonDateToJs(rd.startTime);
});
var helper = new sectionEditHelper();
helper.attach($scope, tournament, lookups);
})
.controller('sectionAddCtrl', function (_, $scope, $stat... |
var helper = new sectionEditHelper();
helper.attach($scope, tournament, lookups);
})
.controller('sectionAddCtrl', function (_, $scope, $state, tournament, lookups, sectionEditHelper) {
$scope.action = 'Create';
$scope.section = {
tournamentId: tournament._id || tou... | <|file_sep|>original/chessrank/client/controllers/tournament/section/edit.js
rd.startTime = converter.bsonDateToJs(rd.startTime);
});
var helper = new sectionEditHelper();
helper.attach($scope, tournament, lookups);
})
.controller('sectionAddCtrl', function (_, $scope, $stat... | dcfeba3bc75d6cc8a1dc6e4c6395a58bd223eeed | chessrank/client/controllers/tournament/section/edit.js | chessrank/client/controllers/tournament/section/edit.js | JavaScript |
<|file_sep|>original/us_ignite/templates/includes/pagination.html
<ul>
{% if page.has_previous %}
<li><a href="?page={{ page.previous_page_number }}{% if order %}&order={{ order|urlencode }}{% endif %}">previous</a></li>
{% endif %}
<li>Page {{ page.number }} of {{ page.paginator.num_pages }}.</li>
{% if page... | <ul>
{% if page.has_previous %}
<li><a href="?page={{ page.previous_page_number }}{% if order %}&order={{ order|urlencode }}{% endif %}">previous</a></li>
{% endif %}
<li>Page {{ page.number }} of {{ page.paginator.num_pages }}.</li>
{% if page.has_next %}
<li><a href="?page={{ page.next_page_number }}{% if... | <|file_sep|>original/us_ignite/templates/includes/pagination.html
<ul>
{% if page.has_previous %}
<li><a href="?page={{ page.previous_page_number }}{% if order %}&order={{ order|urlencode }}{% endif %}">previous</a></li>
{% endif %}
<li>Page {{ page.number }} of {{ page.paginator.num_pages }}.</li>
{% if page... | 6026dcbf28d115179d9531fce3524ab883027d7f | us_ignite/templates/includes/pagination.html | us_ignite/templates/includes/pagination.html | HTML |
<|file_sep|>original/sjkscan/logging.py
import logging
def init_logging():
"""Initialise logging.
Set up basic logging.
"""
logging.basicConfig(
level=logging.DEBUG,
datefmt='%Y-%m-%d %H:%M:%S',
format='%(asctime)s %(message)s',
)
logging.debug('Initialising logging')
... | import logging
def init_logging():
"""Initialise logging.
Set up basic logging.
"""
logging.basicConfig(
level=logging.DEBUG,
datefmt='%Y-%m-%d %H:%M:%S',
format='%(asctime)s [%(levelname)s] %(message)s',
)
logging.debug('Initialising logging') | <|file_sep|>original/sjkscan/logging.py
import logging
def init_logging():
"""Initialise logging.
Set up basic logging.
"""
logging.basicConfig(
level=logging.DEBUG,
datefmt='%Y-%m-%d %H:%M:%S',
format='%(asctime)s %(message)s',
)
logging.debug('Initialising logging')
... | 17ae37bbc42c9e0f8633eec8fe9b49defb647191 | sjkscan/logging.py | sjkscan/logging.py | Python |
<|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
- "3.2"
before_install:
- sudo ln -s /usr/lib/`uname -i`-linux-gnu/libz.so ~/virtualenv/python2.7/lib/
install:
- if [ "$TRAVIS_PYTHON_VERSION" == "3.2" ]; then pip install --quiet git+https://github.com/sloonz/pil-py3k.git; fi
- p... | language: python
python:
- "2.7"
- "3.2"
before_install:
- sudo ln -s /usr/lib/`uname -i`-linux-gnu/libz.so ~/virtualenv/python2.7/lib/
install:
- if [ "$TRAVIS_PYTHON_VERSION" == "3.2" ]; then pip install --quiet git+https://github.com/python-imaging/Pillow.git; fi
- pip --quiet install pil
... | <|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
- "3.2"
before_install:
- sudo ln -s /usr/lib/`uname -i`-linux-gnu/libz.so ~/virtualenv/python2.7/lib/
install:
- if [ "$TRAVIS_PYTHON_VERSION" == "3.2" ]; then pip install --quiet git+https://github.com/sloonz/pil-py3k.git; fi
- p... | d284ae64cda13fa410b931523d59d3300577180a | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
language: java
script: mvn clean package -P strict
after_success:
- mvn jacoco:report coveralls:report
jdk:
- oraclejdk8
- oraclejdk9
- oraclejdk10
branches:
only:
- master
sudo: false
cache:
directories:
- $HOME/.m2
<|file_sep|>current/.travis.yml
language: java
scrip... | language: java
script: mvn clean package -P strict
after_success:
- mvn jacoco:report coveralls:report
jdk:
- oraclejdk8
- oraclejdk9
- oraclejdk11
branches:
only:
- master
sudo: false
cache:
directories:
- $HOME/.m2 | <|file_sep|>original/.travis.yml
language: java
script: mvn clean package -P strict
after_success:
- mvn jacoco:report coveralls:report
jdk:
- oraclejdk8
- oraclejdk9
- oraclejdk10
branches:
only:
- master
sudo: false
cache:
directories:
- $HOME/.m2
<|file_sep|>current/.travis.yml
language: java
scrip... | a86d7ea199340870b29ae913ffc9cb90814fbdff | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/lib/router.js
var subscriptions = new SubsManager();
Router.configure({
layoutTemplate: 'layout',
loadingTemplate: 'loading',
notFoundTemplate: 'notFound'
});
Router.route('/', {
name: 'home',
waitOn: function() {
return subscriptions.subscribe('allOwnedMangas', Meteor.userId());
},
fast... | Router.configure({
layoutTemplate: 'layout',
loadingTemplate: 'loading',
notFoundTemplate: 'notFound'
});
Router.route('/', {
name: 'home',
waitOn: function() {
return subscriptions.subscribe('allOwnedMangas', Meteor.userId());
},
fastRender: true
});
Router.route('/missingMangas', {
name: 'missingMangas',
... | <|file_sep|>original/lib/router.js
var subscriptions = new SubsManager();
Router.configure({
layoutTemplate: 'layout',
loadingTemplate: 'loading',
notFoundTemplate: 'notFound'
});
Router.route('/', {
name: 'home',
waitOn: function() {
return subscriptions.subscribe('allOwnedMangas', Meteor.userId());
},
fast... | ed2d17a60d5d560f3c22722221603d846457ae9c | lib/router.js | lib/router.js | JavaScript |
<|file_sep|>original/src/php/backup-database.php
<|file_sep|>current/src/php/backup-database.php
<|file_sep|>updated/src/php/backup-database.php | <?php
/*
* Copyright (C) 2017 Mandelkow
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is d... | <|file_sep|>original/src/php/backup-database.php
<|file_sep|>current/src/php/backup-database.php
<|file_sep|>updated/src/php/backup-database.php
<?php
/*
* Copyright (C) 2017 Mandelkow
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License ... | f5ef043645dc1389fa939566c79a5a6efe3fdd84 | src/php/backup-database.php | src/php/backup-database.php | PHP |
<|file_sep|>original/.travis.yml
sudo: false
language: node_js
cache:
directories:
- node_modules
notifications:
email: false
node_js:
- '4'
before_install:
- npm i -g npm@^2.0.0
before_script:
- npm prune
- npm install
- npm i -g typings
- typings install
script:
- npm run build
after_success:
... | sudo: false
language: node_js
cache:
directories:
- node_modules
notifications:
email: false
node_js:
- '4'
before_install:
- npm cache clean -f
- npm i -g npm@^2.0.0
before_script:
- npm prune
- npm install
- npm i -g typings
- typings install
script:
- npm run build
after_success:
- npm run ... | <|file_sep|>original/.travis.yml
sudo: false
language: node_js
cache:
directories:
- node_modules
notifications:
email: false
node_js:
- '4'
before_install:
- npm i -g npm@^2.0.0
before_script:
- npm prune
- npm install
- npm i -g typings
- typings install
script:
- npm run build
after_success:
... | c643a10ae9a514443feadb3b647aabb607a40cd1 | .travis.yml | .travis.yml | YAML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.