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/plugins/knife_ssh/knife_ssh.plugin.zsh
<|file_sep|>current/plugins/knife_ssh/knife_ssh.plugin.zsh
<|file_sep|>updated/plugins/knife_ssh/knife_ssh.plugin.zsh | function knife_ssh() {
grep -q $1 ~/.knife_comp~ || rm -f ~/.knife_comp~;
ssh $(knife node show $1 | awk '/IP:/{print $2}')
}
_knife_ssh() {
if hash knife 2>/dev/null; then
if [[ ! -f ~/.knife_comp~ ]]; then
echo "\nGenerating ~/.knife_comp~..." >/dev/stderr
knife node list > ~/.knife_comp~
f... | <|file_sep|>original/plugins/knife_ssh/knife_ssh.plugin.zsh
<|file_sep|>current/plugins/knife_ssh/knife_ssh.plugin.zsh
<|file_sep|>updated/plugins/knife_ssh/knife_ssh.plugin.zsh
function knife_ssh() {
grep -q $1 ~/.knife_comp~ || rm -f ~/.knife_comp~;
ssh $(knife node show $1 | awk '/IP:/{print $2}')
}
_knife_ss... | a4f753d7069295dd056fb6a4a7ac66f7ff299a4e | plugins/knife_ssh/knife_ssh.plugin.zsh | plugins/knife_ssh/knife_ssh.plugin.zsh | Shell |
<|file_sep|>original/composer.json
"keywords": [
"framework"
],
"license": "BSD-2-Clause",
"authors": [
{
"name": "Aura.Framework_Project Contributors",
"homepage": "https://github.com/auraphp/Aura.Framework_Project/contributors"
}
],
"minimum-stab... | "keywords": [
"framework"
],
"license": "BSD-2-Clause",
"authors": [
{
"name": "Aura.Framework_Project Contributors",
"homepage": "https://github.com/auraphp/Aura.Framework_Project/contributors"
}
],
"require": {
"aura/cli-kernel": "~2.0",
... | <|file_sep|>original/composer.json
"keywords": [
"framework"
],
"license": "BSD-2-Clause",
"authors": [
{
"name": "Aura.Framework_Project Contributors",
"homepage": "https://github.com/auraphp/Aura.Framework_Project/contributors"
}
],
"minimum-stab... | d507f96b6b2052d8b7668063d47c01cfcb7d23c1 | composer.json | composer.json | JSON |
<|file_sep|>original/package.json
],
"dependencies": {
"async": "0.2.x",
"colors": "0.6.x",
"cycle": "1.0.x",
"eyes": "0.1.x",
"pkginfo": "0.3.x",
"request": "2.16.x",
"stack-trace": "0.0.x"
},
"devDependencies": {
"vows": "0.7.x"
},
"main": "./lib/winston",
"scripts": {
... | ],
"dependencies": {
"async": "0.2.x",
"colors": "0.6.x",
"cycle": "1.0.x",
"eyes": "0.1.x",
"pkginfo": "0.3.x",
"request": "2.16.x",
"stack-trace": "0.0.x"
},
"devDependencies": {
"vows": "0.7.x"
},
"main": "./lib/winston",
"scripts": {
"test": "vows --spec --isolate"
... | <|file_sep|>original/package.json
],
"dependencies": {
"async": "0.2.x",
"colors": "0.6.x",
"cycle": "1.0.x",
"eyes": "0.1.x",
"pkginfo": "0.3.x",
"request": "2.16.x",
"stack-trace": "0.0.x"
},
"devDependencies": {
"vows": "0.7.x"
},
"main": "./lib/winston",
"scripts": {
... | a5639cb9c17b0258f9421be823d8d7cdb86214b2 | package.json | package.json | JSON |
<|file_sep|>css/lets-learn-git.css.diff
original:
padding-bottom: 3em;
updated:
padding-bottom: 2em;
<|file_sep|>css/lets-learn-git.css.diff
original:
font-size: small;
updated:
font-size: x-small;
<|file_sep|>css/lets-learn-git.css.diff
original:
color: #aaa;
updated:
color: #888;
<|file_sep|>original/css/... | .reveal .text-bg {
background-color: rgba(0, 0, 0, 0.8);
color: #fff;
padding: 1em;
padding-bottom: 2em;
}
.reveal .photo-credit {
position: absolute;
font-size: x-small;
bottom: 1em;
color: #888;
}
.reveal .photo-credit a {
color: #ccc;
} | <|file_sep|>css/lets-learn-git.css.diff
original:
padding-bottom: 3em;
updated:
padding-bottom: 2em;
<|file_sep|>css/lets-learn-git.css.diff
original:
font-size: small;
updated:
font-size: x-small;
<|file_sep|>css/lets-learn-git.css.diff
original:
color: #aaa;
updated:
color: #888;
<|file_sep|>original/css/... | 537ee242ca5af58bfdd0f455f797186ba4f2fe9c | css/lets-learn-git.css | css/lets-learn-git.css | CSS |
<|file_sep|>original/releasenotes/notes/remove-store-cap-update-min-interval-21fea4173ed4a09b.yaml
<|file_sep|>current/releasenotes/notes/remove-store-cap-update-min-interval-21fea4173ed4a09b.yaml
<|file_sep|>updated/releasenotes/notes/remove-store-cap-update-min-interval-21fea4173ed4a09b.yaml | ---
upgrade:
- The ``store_capabilities_update_min_interval`` configuration option,
deprecated since the Rocky release, has been removed. The option
configured a capability that was not implemented by any glance_store
drivers. Thus its removal will have no impact on any deployments. | <|file_sep|>original/releasenotes/notes/remove-store-cap-update-min-interval-21fea4173ed4a09b.yaml
<|file_sep|>current/releasenotes/notes/remove-store-cap-update-min-interval-21fea4173ed4a09b.yaml
<|file_sep|>updated/releasenotes/notes/remove-store-cap-update-min-interval-21fea4173ed4a09b.yaml
---
upgrade:
- The ``... | 201e6e26e111116790c2fc9f595835a8b81824c7 | releasenotes/notes/remove-store-cap-update-min-interval-21fea4173ed4a09b.yaml | releasenotes/notes/remove-store-cap-update-min-interval-21fea4173ed4a09b.yaml | YAML |
<|file_sep|>original/docs/requirements.txt
graphenelib==1.1.11
bitshares==0.3.0
autobahn>=0.14
pycryptodome==3.4.6
appdirs==1.4.0
<|file_sep|>current/docs/requirements.txt
graphenelib==1.1.11
bitshares==0.3.0
autobahn>=0.14
pycryptodome==3.4.6
appdirs==1.4.0
<|file_sep|>updated/docs/requirements.txt | graphenelib==1.1.11
bitshares==0.3.0
autobahn>=0.14
pycryptodome==3.7.3
appdirs==1.4.0 | <|file_sep|>original/docs/requirements.txt
graphenelib==1.1.11
bitshares==0.3.0
autobahn>=0.14
pycryptodome==3.4.6
appdirs==1.4.0
<|file_sep|>current/docs/requirements.txt
graphenelib==1.1.11
bitshares==0.3.0
autobahn>=0.14
pycryptodome==3.4.6
appdirs==1.4.0
<|file_sep|>updated/docs/requirements.txt
graphenelib==1.1.11... | 779f2a13923e6e122e2722d6eef23560621949f6 | docs/requirements.txt | docs/requirements.txt | Text |
<|file_sep|>app/views/brexit_checker/_question_multiple_grouped_choice.html.erb.diff
original:
updated:
margin_bottom: 5
<|file_sep|>app/views/brexit_checker/_question_multiple_grouped_choice.html.erb.diff
original:
updated:
<|file_sep|>original/app/views/brexit_checker/_question_multiple_grouped_choice.html.erb
<... | <%= render "govuk_publishing_components/components/title", {
title: current_question.text,
margin_bottom: 5
} %>
<%= formatted_description %>
<% if current_question.hint_text.present? %>
<%= render "govuk_publishing_components/components/hint", {
text: current_question.hint_text
} %>
<% end %>
<% current... | <|file_sep|>app/views/brexit_checker/_question_multiple_grouped_choice.html.erb.diff
original:
updated:
margin_bottom: 5
<|file_sep|>app/views/brexit_checker/_question_multiple_grouped_choice.html.erb.diff
original:
updated:
<|file_sep|>original/app/views/brexit_checker/_question_multiple_grouped_choice.html.erb
<... | 2cc9c97612b77c950c205277c0cd3725ed5f5191 | app/views/brexit_checker/_question_multiple_grouped_choice.html.erb | app/views/brexit_checker/_question_multiple_grouped_choice.html.erb | HTML+ERB |
<|file_sep|>original/css/style.css
.title {
font-size: 3.0rem;
}
.app {
width: 100%;
padding: 8px;
box-sizing: border-box;
}
.body {
height: 70%;
}
.source, .destination {
display: inline-block;
width: 50%;
height: 100%;
box-sizing: border-box;
}
.source {
float: left;
}
.destination {
<|file_sep|>c... | .title {
font-size: 3.0rem;
}
.app {
width: 100%;
padding: 8px;
box-sizing: border-box;
}
.body {
height: 70%;
margin-top: 10px;
}
.source, .destination {
display: inline-block;
width: 50%;
height: 100%;
box-sizing: border-box;
}
.source {
float: left;
} | <|file_sep|>original/css/style.css
.title {
font-size: 3.0rem;
}
.app {
width: 100%;
padding: 8px;
box-sizing: border-box;
}
.body {
height: 70%;
}
.source, .destination {
display: inline-block;
width: 50%;
height: 100%;
box-sizing: border-box;
}
.source {
float: left;
}
.destination {
<|file_sep|>c... | 1c9e211d554081776ebcc0a512a92b855c3b5756 | css/style.css | css/style.css | CSS |
<|file_sep|>original/parameters/Endogenous_BASL_13-params.yml
---
wall_channel: 1
marker_channel: 0
surface_percentile: 95
wall_percentile_filter_percentile: 95
wall_percentile_filter_size: 2
wall_zabove: -2
wall_zbelow: 6
wall_threshold_adaptive_block_size: 51
wall_remove_small_objects_in_cell_min_size: 5
wall_remove_... | ---
wall_channel: 1
marker_channel: 0
surface_percentile: 95
wall_percentile_filter_percentile: 95
wall_percentile_filter_size: 2
wall_zabove: -2
wall_zbelow: 6
wall_threshold_adaptive_block_size: 151
wall_remove_small_objects_in_cell_min_size: 30
wall_remove_small_objects_in_wall_min_size: 50
wall_erode_step: True
mar... | <|file_sep|>original/parameters/Endogenous_BASL_13-params.yml
---
wall_channel: 1
marker_channel: 0
surface_percentile: 95
wall_percentile_filter_percentile: 95
wall_percentile_filter_size: 2
wall_zabove: -2
wall_zbelow: 6
wall_threshold_adaptive_block_size: 51
wall_remove_small_objects_in_cell_min_size: 5
wall_remove_... | a3d96131f8ea23b60c1981d03fa8a5a06a091e48 | parameters/Endogenous_BASL_13-params.yml | parameters/Endogenous_BASL_13-params.yml | YAML |
<|file_sep|>app/controllers/questions_controller.rb.diff
original:
updated:
before_action :authenticate_user!, only: [:create, :edit, :update, :destroy, :new]
<|file_sep|>app/controllers/questions_controller.rb.diff
original:
before_action :authenticate_user!, only: [:create, :update, :destroy]
updated:
def ind... | def destroy
@question.destroy
flash[:success] = "Questão deletada!"
redirect_to questions_url
end
def show
@user = @question.user
@answers = @question.answers
end
private
def get_question
@question = Question.find(params[:id])
end
def question_params
params.requ... | <|file_sep|>app/controllers/questions_controller.rb.diff
original:
updated:
before_action :authenticate_user!, only: [:create, :edit, :update, :destroy, :new]
<|file_sep|>app/controllers/questions_controller.rb.diff
original:
before_action :authenticate_user!, only: [:create, :update, :destroy]
updated:
def ind... | 07e517b11bed6f4a01a8bd45191c8b619893c3be | app/controllers/questions_controller.rb | app/controllers/questions_controller.rb | Ruby |
<|file_sep|>original/tests/OopToDotTest.php
{
private $parser;
private $traverser;
public function setUp()
{
$this->parser = new \PhpParser\Parser(new \PhpParser\Lexer);
$this->traverser = new \PhpParser\NodeTraverser;
$filter = new OopFilter;
$filter->setMeta([
... | {
private $parser;
private $traverser;
public function setUp()
{
$this->parser = new \PhpParser\Parser(new \PhpParser\Lexer);
$this->traverser = new \PhpParser\NodeTraverser;
$filter = new OopFilter;
$filter->setMeta([
'file' => '/dummy/path.php',
... | <|file_sep|>original/tests/OopToDotTest.php
{
private $parser;
private $traverser;
public function setUp()
{
$this->parser = new \PhpParser\Parser(new \PhpParser\Lexer);
$this->traverser = new \PhpParser\NodeTraverser;
$filter = new OopFilter;
$filter->setMeta([
... | f417321563571a0d8e43580ceab2ba9ac4355a25 | tests/OopToDotTest.php | tests/OopToDotTest.php | PHP |
<|file_sep|>README.md.diff
original:
elbgb - eightlittlebits GameBoy
===============================
updated:
# elbgb
<|file_sep|>README.md.diff
original:
My attempt at implementing a Nintendo GameBoy emulator in C#.
updated:
elbgb is a Nintendo GameBoy emulator written in C#.
<|file_sep|>original/README.md
elbgb - eig... | # elbgb
elbgb is a Nintendo GameBoy emulator written in C#.
[](https://ci.appveyor.com/project/eightlittlebits/elbgb)
## compatibility
### blargg's tests - <http://blargg.8bitalley.com/parodius/gb-tests/>
- [x] cpu\_instrs
- [x... | <|file_sep|>README.md.diff
original:
elbgb - eightlittlebits GameBoy
===============================
updated:
# elbgb
<|file_sep|>README.md.diff
original:
My attempt at implementing a Nintendo GameBoy emulator in C#.
updated:
elbgb is a Nintendo GameBoy emulator written in C#.
<|file_sep|>original/README.md
elbgb - eig... | 0ae87ecd7dcf4eb9bf4463663d26804b93f72489 | README.md | README.md | Markdown |
<|file_sep|>original/config/initializers/timeout.rb
# frozen_string_literal: true
# There is no request timeout mechanism inside of Puma. The Heroku router will
# timeout all requests that exceed 30 seconds. Although an error will be
# returned back to the client, Puma will continue to work on the request as
# there i... | # frozen_string_literal: true
# There is no request timeout mechanism inside of Puma. The Heroku router will
# timeout all requests that exceed 30 seconds. Although an error will be
# returned back to the client, Puma will continue to work on the request as
# there is no way for the router to notify Puma that the requ... | <|file_sep|>original/config/initializers/timeout.rb
# frozen_string_literal: true
# There is no request timeout mechanism inside of Puma. The Heroku router will
# timeout all requests that exceed 30 seconds. Although an error will be
# returned back to the client, Puma will continue to work on the request as
# there i... | 232d5e1902b736765a53306623ac0b7a732b8cd4 | config/initializers/timeout.rb | config/initializers/timeout.rb | Ruby |
<|file_sep|>docs/css/extra.css.diff
original:
div.col-md-9 h1:first-of-type {
updated:
body.homepage div.col-md-9 h1:first-of-type {
<|file_sep|>docs/css/extra.css.diff
original:
div.col-md-9 p:first-of-type {
updated:
body.homepage div.col-md-9 p:first-of-type {
<|file_sep|>docs/css/extra.css.diff
original:
.badges {
... | font-size: 60px;
font-weight: 300;
margin-top: 0;
}
body.homepage div.col-md-9 p:first-of-type {
text-align: center;
}
body.homepage .badges {
text-align: right;
}
body.homepage .badges a {
display: inline-block;
}
body.homepage .badges a img {
padding: 0;
margin: 0;
} | <|file_sep|>docs/css/extra.css.diff
original:
div.col-md-9 h1:first-of-type {
updated:
body.homepage div.col-md-9 h1:first-of-type {
<|file_sep|>docs/css/extra.css.diff
original:
div.col-md-9 p:first-of-type {
updated:
body.homepage div.col-md-9 p:first-of-type {
<|file_sep|>docs/css/extra.css.diff
original:
.badges {
... | c67a5894d6cab027f714d9966b7f02c4d1d1ccfd | docs/css/extra.css | docs/css/extra.css | CSS |
<|file_sep|>original/rails-flog.gemspec
spec.description = 'This formats parameters and sql in rails log.'
spec.summary = 'Rails log formatter for parameters and sql'
spec.homepage = 'https://github.com/pinzolo/rails-flog'
spec.license = 'MIT'
spec.files = `git ls-files`.split($INP... | spec.description = 'This formats parameters and sql in rails log.'
spec.summary = 'Rails log formatter for parameters and sql'
spec.homepage = 'https://github.com/pinzolo/rails-flog'
spec.license = 'MIT'
spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
spec.executables ... | <|file_sep|>original/rails-flog.gemspec
spec.description = 'This formats parameters and sql in rails log.'
spec.summary = 'Rails log formatter for parameters and sql'
spec.homepage = 'https://github.com/pinzolo/rails-flog'
spec.license = 'MIT'
spec.files = `git ls-files`.split($INP... | 6f3dfd06210336027ca17e4c112a0e4603a42061 | rails-flog.gemspec | rails-flog.gemspec | Ruby |
<|file_sep|>chromium_src/chrome/browser/browser_process.cc.diff
original:
BrowserProcess::BrowserProcess() {
updated:
BrowserProcess::BrowserProcess()
: print_job_manager_(new printing::PrintJobManager) {
<|file_sep|>original/chromium_src/chrome/browser/browser_process.cc
#include "chrome/browser/browser_process.h"... | #include "chrome/browser/browser_process.h"
#include "chrome/browser/printing/print_job_manager.h"
#include "ui/base/l10n/l10n_util.h"
BrowserProcess* g_browser_process = NULL;
BrowserProcess::BrowserProcess()
: print_job_manager_(new printing::PrintJobManager) {
g_browser_process = this;
}
BrowserProcess::~B... | <|file_sep|>chromium_src/chrome/browser/browser_process.cc.diff
original:
BrowserProcess::BrowserProcess() {
updated:
BrowserProcess::BrowserProcess()
: print_job_manager_(new printing::PrintJobManager) {
<|file_sep|>original/chromium_src/chrome/browser/browser_process.cc
#include "chrome/browser/browser_process.h"... | e4688f1c5af589bdb3d218a5b63bc07f34dcf9c8 | chromium_src/chrome/browser/browser_process.cc | chromium_src/chrome/browser/browser_process.cc | C++ |
<|file_sep|>original/_posts/2017-04-08-respect-users.md
<|file_sep|>current/_posts/2017-04-08-respect-users.md
<|file_sep|>updated/_posts/2017-04-08-respect-users.md | ---
layout: post
title: "Про уважение к посетителю сайта"
date: 2017-04-08 14:47:00 +0900
---
Я уважаю посетителя моего персонального сайта.
Есть сайты, в которых, чтобы начать читать контент, нужно проделать следующее:
1. Принять cookies policy;
2. Закрыть модальное окно, призывающее получать рассылку на почту;
... | <|file_sep|>original/_posts/2017-04-08-respect-users.md
<|file_sep|>current/_posts/2017-04-08-respect-users.md
<|file_sep|>updated/_posts/2017-04-08-respect-users.md
---
layout: post
title: "Про уважение к посетителю сайта"
date: 2017-04-08 14:47:00 +0900
---
Я уважаю посетителя моего персонального сайта.
Есть с... | e15f8b558d283425ab59d28044e9cea0c34e43c8 | _posts/2017-04-08-respect-users.md | _posts/2017-04-08-respect-users.md | Markdown |
<|file_sep|>original/azure-pipelines-integrationtests.yml
<|file_sep|>current/azure-pipelines-integrationtests.yml
<|file_sep|>updated/azure-pipelines-integrationtests.yml | # Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
trigger:
- master
pool:
vmImage: osx-latest
steps:
- script: start-appium
appium
displayName: 'start appium' | <|file_sep|>original/azure-pipelines-integrationtests.yml
<|file_sep|>current/azure-pipelines-integrationtests.yml
<|file_sep|>updated/azure-pipelines-integrationtests.yml
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy... | 9ed8648c91670cc1c851a2c47cc61cfc8b67e748 | azure-pipelines-integrationtests.yml | azure-pipelines-integrationtests.yml | YAML |
<|file_sep|>original/test/test_single_python.sh
import sys
import os
module_dir = "@MODULE_DIR@"
if module_dir[0] == '@':
module_dir = os.getcwd ()
sys.path.insert (0, module_dir)
from pl import *
plsfnam("x$1p.ps")
plsdev("psc")
# Initialize plplot
plinit()
import xw$1
# Terminate plplot
plend()
<|file_sep|>cu... | import sys
import os
module_dir = "@MODULE_DIR@"
if module_dir[0] == '@':
module_dir = os.getcwd ()
sys.path.insert (0, module_dir)
from plplot import *
plsfnam("x$1p.ps")
plsdev("psc")
# Initialize plplot
plinit()
import xw$1
# Terminate plplot
plend() | <|file_sep|>original/test/test_single_python.sh
import sys
import os
module_dir = "@MODULE_DIR@"
if module_dir[0] == '@':
module_dir = os.getcwd ()
sys.path.insert (0, module_dir)
from pl import *
plsfnam("x$1p.ps")
plsdev("psc")
# Initialize plplot
plinit()
import xw$1
# Terminate plplot
plend()
<|file_sep|>cu... | 8792eb310a4594193e8a1ba50e8371bbd7f82f80 | test/test_single_python.sh | test/test_single_python.sh | Shell |
<|file_sep|>original/package.json
"type": "git",
"url": "https://github.com/pellucidanalytics/decks.git"
},
"keywords": [
"UI",
"gallery",
"stacks",
"piles"
],
"author": "Pellucid Analytics",
"license": "MIT",
"bugs": {
"url": "https://github.com/pellucidanalytics/decks/issues"
... | "UI",
"gallery",
"stacks",
"piles"
],
"author": "Pellucid Analytics",
"license": "MIT",
"bugs": {
"url": "https://github.com/pellucidanalytics/decks/issues"
},
"homepage": "https://github.com/pellucidanalytics/decks",
"devDependencies": {
"gulp": "^3.8.8",
"gulp-stylus": "^1.3.... | <|file_sep|>original/package.json
"type": "git",
"url": "https://github.com/pellucidanalytics/decks.git"
},
"keywords": [
"UI",
"gallery",
"stacks",
"piles"
],
"author": "Pellucid Analytics",
"license": "MIT",
"bugs": {
"url": "https://github.com/pellucidanalytics/decks/issues"
... | aee9633f02a268e68119b77aecc9840fc2288042 | package.json | package.json | JSON |
<|file_sep|>README.md.diff
original:
galegis-report
==============
updated:
# GA Legislative Report App
<|file_sep|>original/README.md
galegis-report
==============
An Open Source Application to hold Georgia Legislators accountable.
<|file_sep|>current/README.md
# GA Legislative Report App
An Open Source Application ... | # GA Legislative Report App
Currently, the Georgia General Assembly is required to publish information about
votes, bills, and membership [on their website](http://www.legis.ga.gov/en-US/default.aspx).
The problem is their site is a hodgepodge of different amounts of failure. One of
the biggest shortcomings is that it... | <|file_sep|>README.md.diff
original:
galegis-report
==============
updated:
# GA Legislative Report App
<|file_sep|>original/README.md
galegis-report
==============
An Open Source Application to hold Georgia Legislators accountable.
<|file_sep|>current/README.md
# GA Legislative Report App
An Open Source Application ... | fce6ddba5098a61196176de6845b0ff2796aa8dc | README.md | README.md | Markdown |
<|file_sep|>original/.travis.yml
language: ruby
sudo: false
cache: bundler
rvm:
- 1.9.3
- 2.0.0
- 2.1.8
- 2.2.3
- 2.3.0
before_install: gem install bundler
gemfile:
- gemfiles/rails3.2.gemfile
- gemfiles/rails4.1.gemfile
- gemfiles/rails4.2.gemfile
branches:
only: master
script: bundle exec rake test
... | language: ruby
sudo: false
cache: bundler
rvm:
- 2.0.0
- 2.1.8
- 2.2.3
- 2.3.0
before_install: gem install bundler
gemfile:
- gemfiles/rails3.2.gemfile
- gemfiles/rails4.1.gemfile
- gemfiles/rails4.2.gemfile
branches:
only: master
script: bundle exec rake test
matrix:
fast_finish: true | <|file_sep|>original/.travis.yml
language: ruby
sudo: false
cache: bundler
rvm:
- 1.9.3
- 2.0.0
- 2.1.8
- 2.2.3
- 2.3.0
before_install: gem install bundler
gemfile:
- gemfiles/rails3.2.gemfile
- gemfiles/rails4.1.gemfile
- gemfiles/rails4.2.gemfile
branches:
only: master
script: bundle exec rake test
... | b25248cf8194f5ab3385dacfceaf73f778d886e1 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
A collection of configuration files for `$HOME`.
These files can be copied into your `~` directory, or you can use install script below.
## Installation
Install script is using [homeshick](https://github.com/andsens/homeshick) to symlink the files.
One-liner (no repo clone necessary; a... | A collection of configuration files for `$HOME`.
These files can be copied into your `~` directory, or you can use install script below.
## Installation
Install script is using [homeshick](https://github.com/andsens/homeshick) to symlink the files.
One-liner (no repo clone necessary; all steps are in the shell scrip... | <|file_sep|>original/README.md
A collection of configuration files for `$HOME`.
These files can be copied into your `~` directory, or you can use install script below.
## Installation
Install script is using [homeshick](https://github.com/andsens/homeshick) to symlink the files.
One-liner (no repo clone necessary; a... | 304bd15409292dd9e3f97c3484451a46b23d381b | README.md | README.md | Markdown |
<|file_sep|>original/Anabi.DataAccess.Ef/DbModels/AssetDb.cs
public string Description { get; set; }
public int? DecisionId { get; set; }
public virtual DecisionDb CurrentDecision { get; set; }
public string Identifier { get; set; }
public decimal? NecessaryVolume { get; set;... | public string Description { get; set; }
public int? DecisionId { get; set; }
public virtual DecisionDb CurrentDecision { get; set; }
public string Identifier { get; set; }
public decimal? NecessaryVolume { get; set; }
public virtual ICollection<HistoricalStageDb> Hi... | <|file_sep|>original/Anabi.DataAccess.Ef/DbModels/AssetDb.cs
public string Description { get; set; }
public int? DecisionId { get; set; }
public virtual DecisionDb CurrentDecision { get; set; }
public string Identifier { get; set; }
public decimal? NecessaryVolume { get; set;... | 632f47d36599f39b2baa3075b65fafbaf4e2a0a9 | Anabi.DataAccess.Ef/DbModels/AssetDb.cs | Anabi.DataAccess.Ef/DbModels/AssetDb.cs | C# |
<|file_sep|>original/.github/workflows/dart.yml
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
# Test latest stable, beta, and dev channels + last stable release
# prior to the introduction of the ... |
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
# Test latest stable, beta, and dev channels + last stable release
# prior to the introduction of the unified `dart` developer tool.
sdk: [sta... | <|file_sep|>original/.github/workflows/dart.yml
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
# Test latest stable, beta, and dev channels + last stable release
# prior to the introduction of the ... | 1108c52d0f735905cbf6fa7315cc2db832f8d04c | .github/workflows/dart.yml | .github/workflows/dart.yml | YAML |
<|file_sep|>original/INSTALL.txt
LLDB Installation Instructions
==============================
LLDB builds on Mac OS X (with Xcode) and Linux (with GCC or Clang).
On Mac OS X, in addition to using Xcode you'll need to enable code signing
on your system to either build lldb or debug using lldb. Please see the code
s... | LLDB Installation Instructions
==============================
LLDB builds on Mac OS X (with Xcode) and Linux (with GCC or Clang).
On Mac OS X, in addition to using Xcode you'll need to enable code signing
on your system to either build lldb or debug using lldb. Please see the code
signing documentation in docs/code-... | <|file_sep|>original/INSTALL.txt
LLDB Installation Instructions
==============================
LLDB builds on Mac OS X (with Xcode) and Linux (with GCC or Clang).
On Mac OS X, in addition to using Xcode you'll need to enable code signing
on your system to either build lldb or debug using lldb. Please see the code
s... | a3c8f3c2f9fd916b6daa3997d7fa95c64f2ee83a | INSTALL.txt | INSTALL.txt | Text |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "7"
os:
- osx
- linux
before_install:
- if [ $TRAVIS_OS_NAME == "linux" ]; then
export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0;
sh -e /etc/init.d/xvfb start;
sleep 3;
fi
install:
- cd c-cpp-flylint-server && npm install &... | language: node_js
node_js:
- "7"
os:
- osx
- linux
before_install:
- if [ $TRAVIS_OS_NAME == "linux" ]; then
export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0;
sh -e /etc/init.d/xvfb start;
sleep 3;
fi
install:
- cd c-cpp-flylint-server && npm install && npm run compile
script:
- cd... | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "7"
os:
- osx
- linux
before_install:
- if [ $TRAVIS_OS_NAME == "linux" ]; then
export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0;
sh -e /etc/init.d/xvfb start;
sleep 3;
fi
install:
- cd c-cpp-flylint-server && npm install &... | 90c56c41ba7cc9f74777b88dc5db8e2b02e9e374 | .travis.yml | .travis.yml | YAML |
<|file_sep|>README.md.diff
original:
/trunk/examples/
updated:
trunk/examples/
<|file_sep|>README.md.diff
original:
To compile the libbot extensions, go into the /libbot directory and type make.
updated:
To compile the libbot extensions, go into the libbot directory and type `make`.
Dependencies:
* [libbot](ht... | particular example you would like to execute. This should compile the part of
the library required by that example.
Compiling libbot extensions
---------------------------
To compile the libbot extensions, go into the libbot directory and type `make`.
Dependencies:
* [libbot](https://code.google.com/p/libbot/)
* [L... | <|file_sep|>README.md.diff
original:
/trunk/examples/
updated:
trunk/examples/
<|file_sep|>README.md.diff
original:
To compile the libbot extensions, go into the /libbot directory and type make.
updated:
To compile the libbot extensions, go into the libbot directory and type `make`.
Dependencies:
* [libbot](ht... | 49bb654f4a1c1e84f958d218430003321f50e42e | README.md | README.md | Markdown |
<|file_sep|>original/scripts/composer/post-install.sh
#!/bin/sh
# Prepare the settings file for installation
if [ ! -f htdocs/sites/default/settings.php ]
then
cp htdocs/sites/default/default.settings.php htdocs/sites/default/settings.php
chmod 777 htdocs/sites/default/settings.php
fi
# Prepare the services... | then
cp htdocs/sites/default/default.settings.php htdocs/sites/default/settings.php
chmod 777 htdocs/sites/default/settings.php
fi
# Prepare the services file for installation
if [ ! -f htdocs/sites/default/services.yml ]
then
cp htdocs/sites/default/default.services.yml htdocs/sites/default/services.y... | <|file_sep|>original/scripts/composer/post-install.sh
#!/bin/sh
# Prepare the settings file for installation
if [ ! -f htdocs/sites/default/settings.php ]
then
cp htdocs/sites/default/default.settings.php htdocs/sites/default/settings.php
chmod 777 htdocs/sites/default/settings.php
fi
# Prepare the services... | 8d69bf5690c3d041746673d8c6b985057d442c3d | scripts/composer/post-install.sh | scripts/composer/post-install.sh | Shell |
<|file_sep|>original/.travis.yml
language: php
php:
- 5.4
- 5.5
- 5.6
- hhvm
before_script: composer install
<|file_sep|>current/.travis.yml
language: php
php:
- 5.4
- 5.5
- 5.6
- hhvm
before_script: composer install
<|file_sep|>updated/.travis.yml | language: php
php:
- 5.4
- 5.5
- 5.6
- hhvm
before_script: composer install
env:
- PHRETS_TESTING_USERNAME=fake PHRETS_TESTING_PASSWORD=fake | <|file_sep|>original/.travis.yml
language: php
php:
- 5.4
- 5.5
- 5.6
- hhvm
before_script: composer install
<|file_sep|>current/.travis.yml
language: php
php:
- 5.4
- 5.5
- 5.6
- hhvm
before_script: composer install
<|file_sep|>updated/.travis.yml
language: php
php:
- 5.4
- 5.5
- 5.6
- hhvm
bef... | 578741059be62b2ebf3ac1dc5320d4ccea736a73 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/db/migrate/20210312061718_add_replica_identity_for_course_sections.rb
<|file_sep|>current/db/migrate/20210312061718_add_replica_identity_for_course_sections.rb
<|file_sep|>updated/db/migrate/20210312061718_add_replica_identity_for_course_sections.rb | # frozen_string_literal: true
#
# Copyright (C) 2021 - present Instructure, Inc.
#
# This file is part of Canvas.
#
# Canvas is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by the Free
# Software Foundation, version 3 of the License.
#
#... | <|file_sep|>original/db/migrate/20210312061718_add_replica_identity_for_course_sections.rb
<|file_sep|>current/db/migrate/20210312061718_add_replica_identity_for_course_sections.rb
<|file_sep|>updated/db/migrate/20210312061718_add_replica_identity_for_course_sections.rb
# frozen_string_literal: true
#
# Copyright (C)... | 36e86bbeed0ad09f969160b786dd1f5070d5aa23 | db/migrate/20210312061718_add_replica_identity_for_course_sections.rb | db/migrate/20210312061718_add_replica_identity_for_course_sections.rb | Ruby |
<|file_sep|>original/src/js/components/form/FormGroup.js
import classNames from 'classnames/dedupe';
import React from 'react';
import FieldError from './FieldError';
import Util from '../../utils/Util';
const FormGroup = (props) => {
let {children, className, errorClassName, showError, required} = props;
let cl... | import classNames from 'classnames/dedupe';
import React from 'react';
import FieldError from './FieldError';
import Util from '../../utils/Util';
const FormGroup = (props) => {
let {children, className, errorClassName, showError, required} = props;
let clonedChildren = React.Children.map(children, (child) => {
... | <|file_sep|>original/src/js/components/form/FormGroup.js
import classNames from 'classnames/dedupe';
import React from 'react';
import FieldError from './FieldError';
import Util from '../../utils/Util';
const FormGroup = (props) => {
let {children, className, errorClassName, showError, required} = props;
let cl... | f5c366756443512e42d5839c75f305d1904f6933 | src/js/components/form/FormGroup.js | src/js/components/form/FormGroup.js | JavaScript |
<|file_sep|>original/.travis.yml
language: c
addons:
apt:
packages:
- bison
- clisp
- flex
- python3
- python3-pexpect
install:
script:
- make
- ./compile.sh
- cd tests/functional-testing && python3 app-tester.py
<|file_sep|>current/.travis.yml
language: c
addons:
apt:
packages:
- bison
- ... | - clisp
- flex
- python3
- python3-pexpect
install:
script:
- make
- ./compile.sh
- (cd tests/functional-testing && python3 app-tester.py)
- mkdir -p doc/html
- echo "<html><head><title>Test</title></head><body>Documentation deployment test. Generated on " `date` "</body></html>" > doc/html/index.ht... | <|file_sep|>original/.travis.yml
language: c
addons:
apt:
packages:
- bison
- clisp
- flex
- python3
- python3-pexpect
install:
script:
- make
- ./compile.sh
- cd tests/functional-testing && python3 app-tester.py
<|file_sep|>current/.travis.yml
language: c
addons:
apt:
packages:
- bison
- ... | 6a9e7c6875d40c7fda45dc3ea74ce750b3f47081 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/NaoTHSoccer/Config/scheme/RC18/FieldColorClassifierTop.cfg
<|file_sep|>current/NaoTHSoccer/Config/scheme/RC18/FieldColorClassifierTop.cfg
<|file_sep|>updated/NaoTHSoccer/Config/scheme/RC18/FieldColorClassifierTop.cfg | [FieldColorClassifierTop]
green.brightnesConeOffset=50
green.brightnesConeRadiusBlack=1
green.brightnesConeRadiusWhite=40
green.colorAngleCenter=-2.9
green.colorAngleWith=0.3
provide_colortable=false
red.brightnesConeOffset=16
red.brightnesConeRadiusBlack=10
red.brightnesConeRadiusWhite=100
red.colorAngleCenter=-4.2
re... | <|file_sep|>original/NaoTHSoccer/Config/scheme/RC18/FieldColorClassifierTop.cfg
<|file_sep|>current/NaoTHSoccer/Config/scheme/RC18/FieldColorClassifierTop.cfg
<|file_sep|>updated/NaoTHSoccer/Config/scheme/RC18/FieldColorClassifierTop.cfg
[FieldColorClassifierTop]
green.brightnesConeOffset=50
green.brightnesConeRadius... | f4b128cd201102640a9ada75509b8bbf30dd19c2 | NaoTHSoccer/Config/scheme/RC18/FieldColorClassifierTop.cfg | NaoTHSoccer/Config/scheme/RC18/FieldColorClassifierTop.cfg | INI |
<|file_sep|>.travis.yml.diff
original:
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
<|file_sep|>original/.travis.yml
language: scala
scala:
- 2.12.3
jdk:
- oraclejdk8
<|file_sep|>current/.travis.yml
language: scala
scala:
- 2.12.3
jdk:
- oraclejdk8
<|file_sep|>updated/.travis.yml | language: scala
scala:
- 2.12.3
jdk:
- oraclejdk8
# Use container-based infrastructure
sudo: false
# These directories are cached to S3 at the end of the build
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt
# Cleanup the cached directories to avoid unnecessary cache updates
before_cache:
- find... | <|file_sep|>.travis.yml.diff
original:
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
<|file_sep|>original/.travis.yml
language: scala
scala:
- 2.12.3
jdk:
- oraclejdk8
<|file_sep|>current/.travis.yml
language: scala
scala:
- 2.12.3
jdk:
- oraclejdk8
<|file_sep|>updated/.travis.yml
language: scala
... | 785d6921c32d8ae359ee732f86139304bbcb993a | .travis.yml | .travis.yml | YAML |
<|file_sep|>api/utils/data_manager.js.diff
original:
list: function ( data, callback ) {
model.find( data, function ( err, results ) {
updated:
list: function ( data, fields, callback ) {
var query = model.find( data );
if ( arguments.length === 2 ) {
... | query.select( fields );
}
query.exec( function ( err, results ) {
if ( err ) {
return callback( systemError( err ) );
}
return callback( null, results );
} );
},
read: function ( id, ... | <|file_sep|>api/utils/data_manager.js.diff
original:
list: function ( data, callback ) {
model.find( data, function ( err, results ) {
updated:
list: function ( data, fields, callback ) {
var query = model.find( data );
if ( arguments.length === 2 ) {
... | 2349a08319ec89d95136df185c97d3a30be8823c | api/utils/data_manager.js | api/utils/data_manager.js | JavaScript |
<|file_sep|>original/requirements.txt
# 'lxml' is not a primary requirement of psautohint but it's listed here because we
# want to have control over the version and guarantee that the XML output remains stable
lxml==4.6.2
fonttools[ufo,lxml]==4.20.0
<|file_sep|>current/requirements.txt
# 'lxml' is not a primary requir... | # 'lxml' is not a primary requirement of psautohint but it's listed here because we
# want to have control over the version and guarantee that the XML output remains stable
lxml==4.6.2
fonttools[ufo,lxml]==4.21.1 | <|file_sep|>original/requirements.txt
# 'lxml' is not a primary requirement of psautohint but it's listed here because we
# want to have control over the version and guarantee that the XML output remains stable
lxml==4.6.2
fonttools[ufo,lxml]==4.20.0
<|file_sep|>current/requirements.txt
# 'lxml' is not a primary requir... | 15208921242cf1735b5fec130cc65f18b45a5fa0 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/astropy/io/vo/setup_package.py
return [Extension(
"astropy.io.vo.tablewriter",
[join(VO_DIR, "tablewriter.c")],
include_dirs=[VO_DIR])]
def get_package_data():
return {
'astropy.io.vo': [
'data/ucd1p-words.txt', 'data/*.xsd', 'data/*.dtd'],
... |
return [Extension(
"astropy.io.vo.tablewriter",
[join(VO_DIR, "tablewriter.c")],
include_dirs=[VO_DIR])]
def get_package_data():
return {
'astropy.io.vo': [
'data/ucd1p-words.txt', 'data/*.xsd', 'data/*.dtd'],
'astropy.io.vo.tests': [
'data/*.xm... | <|file_sep|>original/astropy/io/vo/setup_package.py
return [Extension(
"astropy.io.vo.tablewriter",
[join(VO_DIR, "tablewriter.c")],
include_dirs=[VO_DIR])]
def get_package_data():
return {
'astropy.io.vo': [
'data/ucd1p-words.txt', 'data/*.xsd', 'data/*.dtd'],
... | ecd33e00eb5eb8ff58358e01a6d618262e8381a6 | astropy/io/vo/setup_package.py | astropy/io/vo/setup_package.py | Python |
<|file_sep|>original/enumerable-statistics.gemspec
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
Gem::Specification.new do |spec|
spec.name = "enumerable-statistics"
spec.version = '1.1.0'
spec.authors = ["Kenta Murata"]
... | # coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
Gem::Specification.new do |spec|
spec.name = "enumerable-statistics"
spec.version = '1.1.0.dev'
spec.authors = ["Kenta Murata"]
spec.email = ["mrkn@mrkn.jp"]
spec.s... | <|file_sep|>original/enumerable-statistics.gemspec
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
Gem::Specification.new do |spec|
spec.name = "enumerable-statistics"
spec.version = '1.1.0'
spec.authors = ["Kenta Murata"]
... | 244e19ec2a250bef21569f752dd80a6667fc5275 | enumerable-statistics.gemspec | enumerable-statistics.gemspec | Ruby |
<|file_sep|>.travis.yml.diff
original:
- "7"
updated:
- "node"
<|file_sep|>.travis.yml.diff
original:
- "5"
updated:
<|file_sep|>original/.travis.yml
language: node_js
sudo: false
node_js:
- "7"
- "6"
- "5"
- "4"
- "0.12"
- "0.10"
- "iojs"
before_install:
- npm install -g npm@^3
<|file_sep|>curre... | language: node_js
sudo: false
node_js:
- "node"
- "6"
- "4"
- "0.12"
- "0.10"
before_install:
- npm install -g npm@^3 | <|file_sep|>.travis.yml.diff
original:
- "7"
updated:
- "node"
<|file_sep|>.travis.yml.diff
original:
- "5"
updated:
<|file_sep|>original/.travis.yml
language: node_js
sudo: false
node_js:
- "7"
- "6"
- "5"
- "4"
- "0.12"
- "0.10"
- "iojs"
before_install:
- npm install -g npm@^3
<|file_sep|>curre... | 2d2ce20c11cc49d9d7b3d32889f087609b322ac7 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/change-notes/1.24/extractor-go.md
[[ condition: enterprise-only ]]
# Improvements to Go analysis
## Changes to code extraction
* In resource-constrained environments, the environment variable `CODEQL_EXTRACTOR_GO_MAX_GOROUTINES` can be used to limit the
number of parallel goroutines started by... | [[ condition: enterprise-only ]]
# Improvements to Go analysis
## Changes to code extraction
* In resource-constrained environments, the environment variable `CODEQL_EXTRACTOR_GO_MAX_GOROUTINES` can be used to limit the
number of parallel goroutines started by the extractor, which reduces CPU and memory requiremen... | <|file_sep|>original/change-notes/1.24/extractor-go.md
[[ condition: enterprise-only ]]
# Improvements to Go analysis
## Changes to code extraction
* In resource-constrained environments, the environment variable `CODEQL_EXTRACTOR_GO_MAX_GOROUTINES` can be used to limit the
number of parallel goroutines started by... | 8ca310e6b62872154e03520f6fac248d67714c1e | change-notes/1.24/extractor-go.md | change-notes/1.24/extractor-go.md | Markdown |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.10"
before_script:
- npm install -g grunt-cli
- npm install -g bower
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.10"
before_script:
- npm install -g grunt-cli
- npm install -g bower
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- "0.10"
- "0.12"
before_script:
- npm install -g grunt-cli
- npm install -g bower | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.10"
before_script:
- npm install -g grunt-cli
- npm install -g bower
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.10"
before_script:
- npm install -g grunt-cli
- npm install -g bower
<|file_sep|>updated/.travis.yml
language:... | bdf5eafa0f7fc67ecd688b72c8384eb6eee0ccc2 | .travis.yml | .travis.yml | YAML |
<|file_sep|>docs/index.html.diff
original:
<title>Angular2Materialize</title>
updated:
<title>Angular 2 Materialize</title>
<|file_sep|>original/docs/index.html
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Angular2Materialize</title>
<base href=".">
<meta name="viewport" content="width=devic... | <!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Angular 2 Materialize</title>
<base href=".">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link href="//fonts.googleapis.com/icon?family=Material+Icons" rel="stylesh... | <|file_sep|>docs/index.html.diff
original:
<title>Angular2Materialize</title>
updated:
<title>Angular 2 Materialize</title>
<|file_sep|>original/docs/index.html
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Angular2Materialize</title>
<base href=".">
<meta name="viewport" content="width=devic... | b69f5dca4f38239b83ad1a4a68fe52e531d2b336 | docs/index.html | docs/index.html | HTML |
<|file_sep|>oneanddone/tasks/management/commands/taskcleanup.py.diff
original:
updated:
from datetime import datetime
<|file_sep|>oneanddone/tasks/management/commands/taskcleanup.py.diff
original:
self.stdout.write('%s tasks were invalidated via bug data\n' % invalidated)
updated:
self.stdout.write('%... | # file, You can obtain one at http://mozilla.org/MPL/2.0/.
from datetime import datetime
from django.core.management.base import BaseCommand
from oneanddone.tasks.models import Task, TaskAttempt
class Command(BaseCommand):
help = 'Cleans up status of tasks and attempts based on task data'
def handle(self, ... | <|file_sep|>oneanddone/tasks/management/commands/taskcleanup.py.diff
original:
updated:
from datetime import datetime
<|file_sep|>oneanddone/tasks/management/commands/taskcleanup.py.diff
original:
self.stdout.write('%s tasks were invalidated via bug data\n' % invalidated)
updated:
self.stdout.write('%... | 02de9a6092549e1310adba9fd844cb9c67958d70 | oneanddone/tasks/management/commands/taskcleanup.py | oneanddone/tasks/management/commands/taskcleanup.py | Python |
<|file_sep|>assets/css/style.scss.diff
original:
h1 {
font-family: 'OpenSansLight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-weight: normal;
font-size: 40px;
text-align: left;
line-height: 36px;
updated:
nav {
background: default;
margin: 12px auto;
<|file_sep|>assets/css/sty... | font-family: 'OpenSansLight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-weight: normal;
font-size: 40px;
text-align: left;
line-height: 36px;
a {
color: #f0e7d5;
}
}
}
section {
.credits {
font-size: 11px;
font-family: 'OpenSansRegular', 'Helv... | <|file_sep|>assets/css/style.scss.diff
original:
h1 {
font-family: 'OpenSansLight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-weight: normal;
font-size: 40px;
text-align: left;
line-height: 36px;
updated:
nav {
background: default;
margin: 12px auto;
<|file_sep|>assets/css/sty... | f39ea6d09107c69cf96f27c9c06f9c5a8663f3be | assets/css/style.scss | assets/css/style.scss | SCSS |
<|file_sep|>original/locales/sl/copyright-snippet.properties
Snippet_v2_imagination=Ustvarjalnost bi bilo treba spodbujati, ne pa ovirati. Pridružite se Mozilli pri podpori reformi zakona o avtorskih pravicah – in boljšemu, svetlejšemu spletu.
Snippet_v3_remix=Prodija, poustvarjanje, hommage. Vse to bi moralo biti v sp... | Snippet_v2_imagination=Ustvarjalnost bi bilo treba spodbujati, ne pa ovirati. Pridružite se Mozilli pri podpori reformi zakona o avtorskih pravicah – in boljšemu, svetlejšemu spletu.
Snippet_v3_remix=Prodija, poustvarjanje, hommage. Vse to bi moralo biti v spletu zakonito. Poučite se o 3 stvareh, ki jih lahko naredite ... | <|file_sep|>original/locales/sl/copyright-snippet.properties
Snippet_v2_imagination=Ustvarjalnost bi bilo treba spodbujati, ne pa ovirati. Pridružite se Mozilli pri podpori reformi zakona o avtorskih pravicah – in boljšemu, svetlejšemu spletu.
Snippet_v3_remix=Prodija, poustvarjanje, hommage. Vse to bi moralo biti v sp... | eeec9eaf3bf846a767b694cd2035309ef4471792 | locales/sl/copyright-snippet.properties | locales/sl/copyright-snippet.properties | INI |
<|file_sep|>Tests/LocaleTests.cs.diff
original:
updated:
Assert.IsNull(specific.Locale.Translations);
var specificWithTranslation = api.Locales.GetLocaleById(all.Locales[0].Id, true);
Assert.AreEqual(specificWithTranslation.Locale.Id, all.Locales[0].Id);
Assert.IsNotNul... | var agent = api.Locales.GetLocalesForAgents();
Assert.Greater(agent.Count, 0);
var specific = api.Locales.GetLocaleById(all.Locales[0].Id);
Assert.AreEqual(specific.Locale.Id, all.Locales[0].Id);
Assert.IsNull(specific.Locale.Translations);
var s... | <|file_sep|>Tests/LocaleTests.cs.diff
original:
updated:
Assert.IsNull(specific.Locale.Translations);
var specificWithTranslation = api.Locales.GetLocaleById(all.Locales[0].Id, true);
Assert.AreEqual(specificWithTranslation.Locale.Id, all.Locales[0].Id);
Assert.IsNotNul... | a8dd50eaa16f6aeba03e53ce1f8e5b7e9afdf23a | Tests/LocaleTests.cs | Tests/LocaleTests.cs | C# |
<|file_sep|>original/composer.json
"keywords": ["Guzzle"],
"license": "MIT",
"authors": [
{
"name": "Craig Marvelley",
"email": "craig.marvelley@gmail.com"
}
],
"require": {
"php": ">=5.3.2",
"guzzle/guzzle": ">=3.2.0"
},
"extra": {
... | "keywords": ["Guzzle"],
"license": "MIT",
"authors": [
{
"name": "Craig Marvelley",
"email": "craig.marvelley@gmail.com"
}
],
"require": {
"php": ">=5.3.2",
"guzzle/guzzle": "~3.2"
},
"extra": {
"branch-alias": {
"de... | <|file_sep|>original/composer.json
"keywords": ["Guzzle"],
"license": "MIT",
"authors": [
{
"name": "Craig Marvelley",
"email": "craig.marvelley@gmail.com"
}
],
"require": {
"php": ">=5.3.2",
"guzzle/guzzle": ">=3.2.0"
},
"extra": {
... | 911975666904441791b20fe174cff55d82f077f3 | composer.json | composer.json | JSON |
<|file_sep|>spec/support/it_behaves_like_maps_json_fields.rb.diff
original:
describe described_class.send(:json) do
updated:
context "Handler" do
<|file_sep|>spec/support/it_behaves_like_maps_json_fields.rb.diff
original:
expect(subject[to]).to eq(json[from])
updated:
expect(subject[to]).to eq(subje... | subject { json_handler.new(json) }
mapped_attributes.each do |from, to|
it "maps #{from.inspect} to #{to.inspect}" do
expect(subject[to]).to eq(subject[from])
end
end
end
end
shared_examples_for 'ignores JSON fields' do |ignored_attributes|
let!(:json_handler) { described_class.sen... | <|file_sep|>spec/support/it_behaves_like_maps_json_fields.rb.diff
original:
describe described_class.send(:json) do
updated:
context "Handler" do
<|file_sep|>spec/support/it_behaves_like_maps_json_fields.rb.diff
original:
expect(subject[to]).to eq(json[from])
updated:
expect(subject[to]).to eq(subje... | 92e9128cb0ccdc18deb5a8fe57db37c245e8c92b | spec/support/it_behaves_like_maps_json_fields.rb | spec/support/it_behaves_like_maps_json_fields.rb | Ruby |
<|file_sep|>original/.vscode/tasks.json
<|file_sep|>current/.vscode/tasks.json
<|file_sep|>updated/.vscode/tasks.json | {
"version": "0.1.0",
"command": "node",
"isShellCommand": true,
"showOutput": "always",
"suppressTaskName": true,
"tasks": [
{
"taskName": "test file",
"args": ["node_modules/.bin/mocha", "${file}"],
"isTestCommand": true
}
]
} | <|file_sep|>original/.vscode/tasks.json
<|file_sep|>current/.vscode/tasks.json
<|file_sep|>updated/.vscode/tasks.json
{
"version": "0.1.0",
"command": "node",
"isShellCommand": true,
"showOutput": "always",
"suppressTaskName": true,
"tasks": [
{
"taskName": "test file",
"args": ["node_modu... | da2755d991ad612d32fec49c89b6eeb3a4317faf | .vscode/tasks.json | .vscode/tasks.json | JSON |
<|file_sep|>README.md.diff
original:
updated:
[](https://travis-ci.org/steam/SDColor)
<|file_sep|>original/README.md
```ruby
platform :ios, '7.0'
pod "SDColor", "~> 0.1"
```
### Usage
```objective-c
#import "UIColor+SDColor.h"
```
```objective-... | #### Podfile
```ruby
platform :ios, '7.0'
pod "SDColor", "~> 0.1"
```
### Usage
```objective-c
#import "UIColor+SDColor.h"
```
```objective-c
[UIColor hex:0xFF00FF];
```
```objective-c
[UIColor hex:0xFFFF00 alpha:0.5];
```
| <|file_sep|>README.md.diff
original:
updated:
[](https://travis-ci.org/steam/SDColor)
<|file_sep|>original/README.md
```ruby
platform :ios, '7.0'
pod "SDColor", "~> 0.1"
```
### Usage
```objective-c
#import "UIColor+SDColor.h"
```
```objective-... | 7ff8f0ae9f1ba1af8a6e90d07d91722a92c3a361 | README.md | README.md | Markdown |
<|file_sep|>original/meta-oe/recipes-gnome/atk/atkmm-2.36_2.36.1.bb
<|file_sep|>current/meta-oe/recipes-gnome/atk/atkmm-2.36_2.36.1.bb
<|file_sep|>updated/meta-oe/recipes-gnome/atk/atkmm-2.36_2.36.1.bb | SUMMARY = "C++ bindings for the atk"
SECTION = "libs"
LICENSE = "LGPLv2.1 & GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1 \
file://COPYING.tools;md5=751419260aa954499f7abaabaa882bbe"
DEPENDS = "atk glibmm-2.68"
GNOMEBASEBUILDCLASS = "meson"
GNOMEBN = "atkmm"
inhe... | <|file_sep|>original/meta-oe/recipes-gnome/atk/atkmm-2.36_2.36.1.bb
<|file_sep|>current/meta-oe/recipes-gnome/atk/atkmm-2.36_2.36.1.bb
<|file_sep|>updated/meta-oe/recipes-gnome/atk/atkmm-2.36_2.36.1.bb
SUMMARY = "C++ bindings for the atk"
SECTION = "libs"
LICENSE = "LGPLv2.1 & GPLv2"
LIC_FILES_CHKSUM = "file://COPYI... | 81fec590d6d9bc1758a986c5ce012d879685ed56 | meta-oe/recipes-gnome/atk/atkmm-2.36_2.36.1.bb | meta-oe/recipes-gnome/atk/atkmm-2.36_2.36.1.bb | BitBake |
<|file_sep|>original/src/app/main/main.scss
.ui-view-container {
position: relative;
}
[ui-view] {
&.ng-enter,
&.ng-leave {
position: absolute;
transition: opacity .5s ease-in-out;
width: 100%;
}
&.ng-enter,
&.ng-leave-active {
opacity: 0;
}
&.ng-enter-active {
opacity: 1;
}
}
<|file_sep|>current/... | a {
&.disabled {
cursor: default;
pointer-events: none;
}
}
.ui-view-container {
position: relative;
}
[ui-view] {
&.ng-enter,
&.ng-leave {
position: absolute;
transition: opacity .5s ease-in-out;
width: 100%;
}
&.ng-enter,
&.ng-leave-active { | <|file_sep|>original/src/app/main/main.scss
.ui-view-container {
position: relative;
}
[ui-view] {
&.ng-enter,
&.ng-leave {
position: absolute;
transition: opacity .5s ease-in-out;
width: 100%;
}
&.ng-enter,
&.ng-leave-active {
opacity: 0;
}
&.ng-enter-active {
opacity: 1;
}
}
<|file_sep|>current/... | 4de3d2666ca675606824fda6139e4caf02c8e368 | src/app/main/main.scss | src/app/main/main.scss | SCSS |
<|file_sep|>lib/Headers/CMakeLists.txt.diff
original:
iso646.h
mmintrin.h
stdarg.h
stdbool.h
stddef.h
)
updated:
emmintrin.h
float.h
iso646.h
limits.h
mm_malloc.h
mmintrin.h
pmmintrin.h
stdarg.h
stdbool.h
stddef.h
stdint.h
tgmath.h
tmmintrin.h
xmmintrin.h)
<|file_sep|... | mmintrin.h
pmmintrin.h
stdarg.h
stdbool.h
stddef.h
stdint.h
tgmath.h
tmmintrin.h
xmmintrin.h)
#FIXME: Centralize Clang version info
set(output_dir ${LLVM_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib/clang/1.0/include)
foreach( f ${files} )
set( src ${CMAKE_CURRENT_SOURCE_DIR}/${f} )
set( dst ${outp... | <|file_sep|>lib/Headers/CMakeLists.txt.diff
original:
iso646.h
mmintrin.h
stdarg.h
stdbool.h
stddef.h
)
updated:
emmintrin.h
float.h
iso646.h
limits.h
mm_malloc.h
mmintrin.h
pmmintrin.h
stdarg.h
stdbool.h
stddef.h
stdint.h
tgmath.h
tmmintrin.h
xmmintrin.h)
<|file_sep|... | 06026000b1e88a799ed010c88131b549cbbe4f56 | lib/Headers/CMakeLists.txt | lib/Headers/CMakeLists.txt | Text |
<|file_sep|>original/maven-dependency-plugin/src/main/resources/analyze-report_pt_BR.properties
<|file_sep|>current/maven-dependency-plugin/src/main/resources/analyze-report_pt_BR.properties
<|file_sep|>updated/maven-dependency-plugin/src/main/resources/analyze-report_pt_BR.properties | # 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 u... | <|file_sep|>original/maven-dependency-plugin/src/main/resources/analyze-report_pt_BR.properties
<|file_sep|>current/maven-dependency-plugin/src/main/resources/analyze-report_pt_BR.properties
<|file_sep|>updated/maven-dependency-plugin/src/main/resources/analyze-report_pt_BR.properties
# Licensed to the Apache Softwar... | dbb1a4f9575206912c2ff9debed65a406c5d690d | maven-dependency-plugin/src/main/resources/analyze-report_pt_BR.properties | maven-dependency-plugin/src/main/resources/analyze-report_pt_BR.properties | INI |
<|file_sep|>run.py.diff
original:
updated:
import logging
<|file_sep|>original/run.py
import os
import signal
import sys
from app.main import app, queues, sched
def _teardown(signal, frame):
sched.shutdown(wait=False)
for queue in queues.values():
queue.put(None)
queues.clear()
# Let the inte... | import signal
import sys
from app.main import app, queues, sched
def _teardown(signal, frame):
sched.shutdown(wait=False)
for queue in queues.values():
queue.put(None)
queues.clear()
# Let the interrupt bubble up so that Flask/Werkzeug see it
raise KeyboardInterrupt
if __name__ == '__mai... | <|file_sep|>run.py.diff
original:
updated:
import logging
<|file_sep|>original/run.py
import os
import signal
import sys
from app.main import app, queues, sched
def _teardown(signal, frame):
sched.shutdown(wait=False)
for queue in queues.values():
queue.put(None)
queues.clear()
# Let the inte... | 1778b3943ed55819ef38a46e8fdc417ed835176f | run.py | run.py | Python |
<|file_sep|>composer.json.diff
original:
"name": "houseofdross/slack-skippybadge",
"description": "Slack command to award skippy-badges",
"keywords": [
"slack",
"skippy",
"skippybadge",
"houseofdross"
],
"type": "project",
"license": "MIT",
"authors": [
... | "houseofdross"
],
"type": "project",
"license": "MIT",
"authors": [
{
"name": "Matthew Wheeler",
"email": "matt@yurisko.net",
"role": "Developer"
}
],
"require": {
"php": ">=7.0",
"slim/slim": "^3.5",
"symfony/yaml": "^3.1",
"league/flysystem": "^1.0"
},
"re... | <|file_sep|>composer.json.diff
original:
"name": "houseofdross/slack-skippybadge",
"description": "Slack command to award skippy-badges",
"keywords": [
"slack",
"skippy",
"skippybadge",
"houseofdross"
],
"type": "project",
"license": "MIT",
"authors": [
... | 70e9de421616de9ac584b169af771c08362a1bb3 | composer.json | composer.json | JSON |
<|file_sep|>original/.travis.yml
language: java
sudo: false
jdk:
- oraclejdk8
before_install:
- npm install -g grunt bower
- "(cd tests-cucumber-ui && npm install && bower install)"
<|file_sep|>current/.travis.yml
language: java
sudo: false
jdk:
- oraclejdk8
before_install:
- npm install -g grunt bower
... | language: java
sudo: false
jdk:
- oraclejdk8
before_install:
# Install PhantomJS 2, currently unsupported by travis
- mkdir travis-phantomjs
- wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 -O $PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
- tar -xvf $... | <|file_sep|>original/.travis.yml
language: java
sudo: false
jdk:
- oraclejdk8
before_install:
- npm install -g grunt bower
- "(cd tests-cucumber-ui && npm install && bower install)"
<|file_sep|>current/.travis.yml
language: java
sudo: false
jdk:
- oraclejdk8
before_install:
- npm install -g grunt bower
... | 1158d65a5729179f5b5d1147b043855e3d224549 | .travis.yml | .travis.yml | YAML |
<|file_sep|>README.md.diff
original:
[CollecTor](https://collector.torproject.org), run the following command.
updated:
[CollecTor](https://collector.torproject.org), run:
<|file_sep|>original/README.md
Overview
--------
`sybilhunter` hunts for sybils in the Tor anonymity network.
Examples
--------
To analyse consensu... | --------
`sybilhunter` hunts for sybils in the Tor anonymity network.
Examples
--------
To analyse consensuses as archived by
[CollecTor](https://collector.torproject.org), run:
$ sybilhunter -archive /path/to/archived/consensuses/
To see how many fingerprints were used by each relay IP address, run:
$ sybi... | <|file_sep|>README.md.diff
original:
[CollecTor](https://collector.torproject.org), run the following command.
updated:
[CollecTor](https://collector.torproject.org), run:
<|file_sep|>original/README.md
Overview
--------
`sybilhunter` hunts for sybils in the Tor anonymity network.
Examples
--------
To analyse consensu... | e9480e577258cb033a04716ff9250266bcb9d566 | README.md | README.md | Markdown |
<|file_sep|>original/.travis.yml
language: c
sudo: false
env:
global:
- LUAROCKS=2.2.1
matrix:
- LUA=lua5.1
- LUA=lua5.2
- LUA=lua5.3
- LUA=luajit # latest stable version (2.0.3)
- LUA=luajit2.0 # current head of 2.0 branch
- LUA=luajit2.1 # current head of 2.1 branch
branches:
... | language: c
sudo: false
env:
global:
- LUAROCKS=2.2.2
matrix:
- LUA=lua5.1
- LUA=lua5.2
- LUA=lua5.3
- LUA=luajit # latest stable version (2.0.3)
- LUA=luajit2.0 # current head of 2.0 branch
- LUA=luajit2.1 # current head of 2.1 branch
branches:
only:
- master
before_inst... | <|file_sep|>original/.travis.yml
language: c
sudo: false
env:
global:
- LUAROCKS=2.2.1
matrix:
- LUA=lua5.1
- LUA=lua5.2
- LUA=lua5.3
- LUA=luajit # latest stable version (2.0.3)
- LUA=luajit2.0 # current head of 2.0 branch
- LUA=luajit2.1 # current head of 2.1 branch
branches:
... | 0f5fa5f896f5ef5afceb72c2b69194ac47168de4 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/Headers/Public/MLMediaLibrary.h
@interface MLMediaLibrary : NSObject {
NSManagedObjectContext *_managedObjectContext;
NSManagedObjectModel *_managedObjectModel;
BOOL _allowNetworkAccess;
}
+ (id)sharedMediaLibrary;
- (void)addFilePaths:(NSArray *)filepaths;
- (void)updateDatabase; ... | @interface MLMediaLibrary : NSObject {
NSManagedObjectContext *_managedObjectContext;
NSManagedObjectModel *_managedObjectModel;
BOOL _allowNetworkAccess;
}
+ (id)sharedMediaLibrary;
- (void)addFilePaths:(NSArray *)filepaths;
// May be internal
- (NSFetchRequest *)fetchRequestForEntity:(NSString *)ent... | <|file_sep|>original/Headers/Public/MLMediaLibrary.h
@interface MLMediaLibrary : NSObject {
NSManagedObjectContext *_managedObjectContext;
NSManagedObjectModel *_managedObjectModel;
BOOL _allowNetworkAccess;
}
+ (id)sharedMediaLibrary;
- (void)addFilePaths:(NSArray *)filepaths;
- (void)updateDatabase; ... | f5a798a2aa7fcf68d684c3dc58d9efaabe83b390 | Headers/Public/MLMediaLibrary.h | Headers/Public/MLMediaLibrary.h | C |
<|file_sep|>original/usr.bin/keyinit/Makefile
# @(#)Makefile 5.6 (Berkeley) 3/5/91
#
PROG= keyinit
MAN1= keyinit.1
SRCS= skeyinit.c
BINOWN= root
BINMODE=4555
DPADD= ${LIBSKEY} ${LIBMD}
LDADD= -lskey -lmd
.include <bsd.prog.mk>
<|file_sep|>current/usr.bin/keyinit/Makefile
# @(#)Makefile 5.6 (Berkeley) 3/5/91
#
PROG... | # @(#)Makefile 5.6 (Berkeley) 3/5/91
#
PROG= keyinit
MAN1= keyinit.1
SRCS= skeyinit.c
CFLAGS+= -D_SKEY_INTERNAL
BINOWN= root
BINMODE=4555
DPADD= ${LIBSKEY} ${LIBMD}
LDADD= -lskey -lmd
.include <bsd.prog.mk> | <|file_sep|>original/usr.bin/keyinit/Makefile
# @(#)Makefile 5.6 (Berkeley) 3/5/91
#
PROG= keyinit
MAN1= keyinit.1
SRCS= skeyinit.c
BINOWN= root
BINMODE=4555
DPADD= ${LIBSKEY} ${LIBMD}
LDADD= -lskey -lmd
.include <bsd.prog.mk>
<|file_sep|>current/usr.bin/keyinit/Makefile
# @(#)Makefile 5.6 (Berkeley) 3/5/91
#
PROG... | 813e0456c359a0039e2af2c143d7b548d68a4d5c | usr.bin/keyinit/Makefile | usr.bin/keyinit/Makefile | unknown |
<|file_sep|>original/_includes/head.html
<head>
<meta charset="utf-8">
<title>{{ page.title }} – {{ site.title }}</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
<link... | <head>
<meta charset="utf-8">
<title>{{ page.title }} – {{ site.title }}</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
<link rel="alternate" type="application/atom+x... | <|file_sep|>original/_includes/head.html
<head>
<meta charset="utf-8">
<title>{{ page.title }} – {{ site.title }}</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
<link... | fac59c4e0f5adf790155f41eb50048eb34341175 | _includes/head.html | _includes/head.html | HTML |
<|file_sep|>install.sh.diff
original:
cmd="ln -s $src $dst"
updated:
cmd="cp -pr $src $dst"
<|file_sep|>original/install.sh
dst="$HOME/.$dotfile"
cmd="ln -s $src $dst"
if [[ -e $dst ]]; then
if [[ -h $dst ]]; then
if [[ $(readlink $dst) == $src ]]; then
msg "[ skip ] $dst"
else
... | for dotfile in ${dotfiles[@]}; do
src="$script_path/$dotfile"
dst="$HOME/.$dotfile"
cmd="cp -pr $src $dst"
if [[ -e $dst ]]; then
msg "[ backup ] $dst"
mv "$dst" "$dst.backup"
msg "[ replace ] $dst"
eval "$cmd"
else
msg "[ create ] $dst"
eval "$cmd"
fi
done
cd $script_path
git su... | <|file_sep|>install.sh.diff
original:
cmd="ln -s $src $dst"
updated:
cmd="cp -pr $src $dst"
<|file_sep|>original/install.sh
dst="$HOME/.$dotfile"
cmd="ln -s $src $dst"
if [[ -e $dst ]]; then
if [[ -h $dst ]]; then
if [[ $(readlink $dst) == $src ]]; then
msg "[ skip ] $dst"
else
... | 213a62d36524aa59654274d1aee7a94bbb86068d | install.sh | install.sh | Shell |
<|file_sep|>original/test/fakeweb_helper.rb
require 'fakeweb'
FakeWeb.allow_net_connect = false
def fake(routes)
routes.map { |k, v|
# Ghetto globbing
if k[1].is_a?(String)
k[1].gsub!("*", "[^/]*")
k[1] = Regexp.new("^#{k[1]}$")
end
[k, v]
}.each do |url, filename|
file = File.join... | require 'fakeweb'
FakeWeb.allow_net_connect = %r[^https?://codeclimate.com/]
def fake(routes)
routes.map { |k, v|
# Ghetto globbing
if k[1].is_a?(String)
k[1].gsub!("*", "[^/]*")
k[1] = Regexp.new("^#{k[1]}$")
end
[k, v]
}.each do |url, filename|
file = File.join("test", "fixtures"... | <|file_sep|>original/test/fakeweb_helper.rb
require 'fakeweb'
FakeWeb.allow_net_connect = false
def fake(routes)
routes.map { |k, v|
# Ghetto globbing
if k[1].is_a?(String)
k[1].gsub!("*", "[^/]*")
k[1] = Regexp.new("^#{k[1]}$")
end
[k, v]
}.each do |url, filename|
file = File.join... | ef1f544967a35838a9e056bbfda93157ff031136 | test/fakeweb_helper.rb | test/fakeweb_helper.rb | Ruby |
<|file_sep|>index.html.diff
original:
<link href="https://gist.github.com/ccannon94/511115be821a873ae9ec5f4db9cfdda0", Title="GitFlow Gist">
updated:
<a href="https://gist.github.com/ccannon94/511115be821a873ae9ec5f4db9cfdda0">GitFlow Gist</a>
<|file_sep|>original/index.html
<!DOCTYPE html>
<html>
<body>
<h1>
... | <!DOCTYPE html>
<html>
<body>
<h1>
Help documentation for GEEN 165 Major Projects
</h1>
<h2>
Using GitHub for Major Programming Assignments
</h2>
<a href="https://gist.github.com/ccannon94/511115be821a873ae9ec5f4db9cfdda0">GitFlow Gist</a>
<h2>
Requesting Help from a TA
</h2>
<a href="https:... | <|file_sep|>index.html.diff
original:
<link href="https://gist.github.com/ccannon94/511115be821a873ae9ec5f4db9cfdda0", Title="GitFlow Gist">
updated:
<a href="https://gist.github.com/ccannon94/511115be821a873ae9ec5f4db9cfdda0">GitFlow Gist</a>
<|file_sep|>original/index.html
<!DOCTYPE html>
<html>
<body>
<h1>
... | d02a2f33a7c1da4b0be8bd71c0df3ac207de6d2f | index.html | index.html | HTML |
<|file_sep|>.travis.yml.diff
original:
- pip install coverage coveralls $EXTRA_INSTALLS
updated:
- pip install coverage codecov $EXTRA_INSTALLS
<|file_sep|>original/.travis.yml
- chmod +x miniconda.sh
- ./miniconda.sh -b -p $MINICONDA_HOME
- export PATH=$MINICONDA_HOME/bin:$PATH
- conda update -... | - chmod +x miniconda.sh
- ./miniconda.sh -b -p $MINICONDA_HOME
- export PATH=$MINICONDA_HOME/bin:$PATH
- conda update --yes conda
# DOCUMENTATION DEPENDENCIES
- if [[ $SETUP_CMD == build_sphinx* ]]; then sudo apt-get install graphviz texlive-latex-extra dvipng; fi
install:
# CONDA
- co... | <|file_sep|>.travis.yml.diff
original:
- pip install coverage coveralls $EXTRA_INSTALLS
updated:
- pip install coverage codecov $EXTRA_INSTALLS
<|file_sep|>original/.travis.yml
- chmod +x miniconda.sh
- ./miniconda.sh -b -p $MINICONDA_HOME
- export PATH=$MINICONDA_HOME/bin:$PATH
- conda update -... | 45ef3d83f3d98956cfdbbce48d9784c399b53f13 | .travis.yml | .travis.yml | YAML |
<|file_sep|>app/src/main/java/com/omralcorut/guardiannews/SettingsActivity.java.diff
original:
preference.setSummary(stringValue);
updated:
preference.setSummary(getLabelGivenValue(stringValue));
<|file_sep|>original/app/src/main/java/com/omralcorut/guardiannews/SettingsActivity.java
... | return true;
}
private void bindPreferenceSummaryToValue(Preference preference) {
preference.setOnPreferenceChangeListener(this);
SharedPreferences preferences =
PreferenceManager.getDefaultSharedPreferences(preference.getContext());
S... | <|file_sep|>app/src/main/java/com/omralcorut/guardiannews/SettingsActivity.java.diff
original:
preference.setSummary(stringValue);
updated:
preference.setSummary(getLabelGivenValue(stringValue));
<|file_sep|>original/app/src/main/java/com/omralcorut/guardiannews/SettingsActivity.java
... | 1248df10677690d72622536b06dba1ca5f8fdb37 | app/src/main/java/com/omralcorut/guardiannews/SettingsActivity.java | app/src/main/java/com/omralcorut/guardiannews/SettingsActivity.java | Java |
<|file_sep|>original/clojuresque/src/main/groovy/clojuresque/ClojureRepositoryConvention.groovy
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
* IN THE SOFTWARE.
*/
package clojuresque
import org.gradle.api.P... | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
* IN THE SOFTWARE.
*/
package clojuresque
import org.gradle.api.Project
import org.gradle.api.artifacts.dsl.RepositoryHandler
class ClojureRepositoryConvention ... | <|file_sep|>original/clojuresque/src/main/groovy/clojuresque/ClojureRepositoryConvention.groovy
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
* IN THE SOFTWARE.
*/
package clojuresque
import org.gradle.api.P... | 16620f6246b54662cef885e223fe97722720643a | clojuresque/src/main/groovy/clojuresque/ClojureRepositoryConvention.groovy | clojuresque/src/main/groovy/clojuresque/ClojureRepositoryConvention.groovy | Groovy |
<|file_sep|>original/lib/racker/builders/openstack.rb
# This is the OpenStack builder
class OpenStack < Racker::Builders::Builder
def to_packer(name, config)
log = Log4r::Logger['racker']
log.debug("Entering #{self.class}.#{__method__}")
config = super(name, config)
# Ther... | module Builders
# This is the OpenStack builder
class OpenStack < Racker::Builders::Builder
def to_packer(name, config)
log = Log4r::Logger['racker']
log.debug("Entering #{self.class}.#{__method__}")
config = super(name, config)
%w(security_groups).each do |key|
... | <|file_sep|>original/lib/racker/builders/openstack.rb
# This is the OpenStack builder
class OpenStack < Racker::Builders::Builder
def to_packer(name, config)
log = Log4r::Logger['racker']
log.debug("Entering #{self.class}.#{__method__}")
config = super(name, config)
# Ther... | 1109999395a5e68fbee23dd44beb0230b02cedf5 | lib/racker/builders/openstack.rb | lib/racker/builders/openstack.rb | Ruby |
<|file_sep|>%wsl/.local/bin/start-services.sh.diff
original:
updated:
local RUNTIME_DIR="${XDG_RUNTIME_DIR:-/tmp/run/$(id -u)}"
<|file_sep|>%wsl/.local/bin/start-services.sh.diff
original:
updated:
local pid_file="$RUNTIME_DIR/circusd.pid"
<|file_sep|>original/%wsl/.local/bin/start-services.sh
sudo service dbus s... | sudo service dbus start
sudo service cron start
__start_circus() {
local RUNTIME_DIR="${XDG_RUNTIME_DIR:-/tmp/run/$(id -u)}"
local here="$(cd "$(dirname "${BASH_SOURCE[0]:-$(dirname "$0")}")" && pwd)"
local config_file="$here/../../.config/circus/circus.ini"
local pid_file="$RUNTIME_DIR/circusd.pid"
if [ -f ... | <|file_sep|>%wsl/.local/bin/start-services.sh.diff
original:
updated:
local RUNTIME_DIR="${XDG_RUNTIME_DIR:-/tmp/run/$(id -u)}"
<|file_sep|>%wsl/.local/bin/start-services.sh.diff
original:
updated:
local pid_file="$RUNTIME_DIR/circusd.pid"
<|file_sep|>original/%wsl/.local/bin/start-services.sh
sudo service dbus s... | fd0ee00f1b777c55b905b339e384a22e1af75be9 | %wsl/.local/bin/start-services.sh | %wsl/.local/bin/start-services.sh | Shell |
<|file_sep|>app/views/coronavirus_pages/_actions.html.erb.diff
original:
<%= link_to "Publish", coronavirus_page_publish_path(@coronavirus_page.slug), method: :post, class: "govuk-button" %>
updated:
<%= form_with(url: coronavirus_page_publish_path(coronavirus_page_slug: @coronavirus_page.slug), local: true) ... | <div class="app-side">
<div class="app-side__actions">
<%= form_with(url: coronavirus_page_publish_path(coronavirus_page_slug: @coronavirus_page.slug), local: true) do %>
<%= render "govuk_publishing_components/components/button", { text: "Publish" } %>
<% end %>
<%= render "govuk_publishing_compone... | <|file_sep|>app/views/coronavirus_pages/_actions.html.erb.diff
original:
<%= link_to "Publish", coronavirus_page_publish_path(@coronavirus_page.slug), method: :post, class: "govuk-button" %>
updated:
<%= form_with(url: coronavirus_page_publish_path(coronavirus_page_slug: @coronavirus_page.slug), local: true) ... | 0c573742f02886eef479331538a7eeea04cab572 | app/views/coronavirus_pages/_actions.html.erb | app/views/coronavirus_pages/_actions.html.erb | HTML+ERB |
<|file_sep|>original/week-8/ruby/numbers_to_words/nums_to_words.rb
<|file_sep|>current/week-8/ruby/numbers_to_words/nums_to_words.rb
<|file_sep|>updated/week-8/ruby/numbers_to_words/nums_to_words.rb | # Numbers to English Words
=begin
PSEUDOCODE
Input: An integer.
Output: A string.
Steps:
1. Define method 'in_words' with a parameter that takes an integer
2. Define an 'single_nums' array that goes from 0-9.
3. string_num = integer.to_s
4. IF string_num.length == 1
5. return single_nums[integer]
6. ELSIF string_num.... | <|file_sep|>original/week-8/ruby/numbers_to_words/nums_to_words.rb
<|file_sep|>current/week-8/ruby/numbers_to_words/nums_to_words.rb
<|file_sep|>updated/week-8/ruby/numbers_to_words/nums_to_words.rb
# Numbers to English Words
=begin
PSEUDOCODE
Input: An integer.
Output: A string.
Steps:
1. Define method 'in_words' ... | 1d135a402fff5d2c05401e4eddfe4923f4ce0474 | week-8/ruby/numbers_to_words/nums_to_words.rb | week-8/ruby/numbers_to_words/nums_to_words.rb | Ruby |
<|file_sep|>app/app.js.diff
original:
var w = null;
updated:
var socket = null;
<|file_sep|>app/app.js.diff
original:
var w;
if (w === null) {
w = new WebSocket("ws://" + location.host + "/socket");
updated:
var socket;
... | var connect;
connect = function(){
var socket;
if (socket === null) {
socket = new WebSocket("ws://" + location.host + "/socket");
}
return socket;
};
return {
connect: fun... | <|file_sep|>app/app.js.diff
original:
var w = null;
updated:
var socket = null;
<|file_sep|>app/app.js.diff
original:
var w;
if (w === null) {
w = new WebSocket("ws://" + location.host + "/socket");
updated:
var socket;
... | c9a1976260995ad52ff5c835312b7b32dacf2599 | app/app.js | app/app.js | JavaScript |
<|file_sep|>original/tests/soupbintcp-perf-test/README.md
[latest release]: https://github.com/paritytrading/nassau/releases/latest
Usage
-----
Run Nassau SoupBinTCP Performance Test with Java:
java -jar nassau-soupbintcp-perf-test.jar <packets>
The command line options are as follows:
- `<packets>`: The nu... | [latest release]: https://github.com/paritytrading/nassau/releases/latest
Usage
-----
Run Nassau SoupBinTCP Performance Test with Java:
java -jar nassau-soupbintcp-perf-test.jar <packets>
The command line arguments are as follows:
- `<packets>`: The number of packets to send.
The application measures the r... | <|file_sep|>original/tests/soupbintcp-perf-test/README.md
[latest release]: https://github.com/paritytrading/nassau/releases/latest
Usage
-----
Run Nassau SoupBinTCP Performance Test with Java:
java -jar nassau-soupbintcp-perf-test.jar <packets>
The command line options are as follows:
- `<packets>`: The nu... | bdfea9b14e9c46ff0765941b5a0bf798cead12b4 | tests/soupbintcp-perf-test/README.md | tests/soupbintcp-perf-test/README.md | Markdown |
<|file_sep|>original/ftplugin/writable_search.vim
setlocal buftype=acwrite
setlocal bufhidden=wipe
setlocal autoindent
if exists('b:command')
let command_string = b:command.String()
exe 'silent file WritableSearch:\ '.fnameescape(command_string)
else
exe 'silent file WritableSearch'
endif
augroup writable_searc... | setlocal buftype=acwrite
setlocal bufhidden=wipe
setlocal autoindent
if exists('b:command')
let command_string = b:command.String()
exe 'silent file WritableSearch:\ '.fnameescape(command_string)
endif
augroup writable_search
autocmd!
autocmd BufWriteCmd <buffer> call writable_search#Update()
augroup END
if ... | <|file_sep|>original/ftplugin/writable_search.vim
setlocal buftype=acwrite
setlocal bufhidden=wipe
setlocal autoindent
if exists('b:command')
let command_string = b:command.String()
exe 'silent file WritableSearch:\ '.fnameescape(command_string)
else
exe 'silent file WritableSearch'
endif
augroup writable_searc... | 5b5093feca9ea9a46ff9046c231b9f4f2dd60ee3 | ftplugin/writable_search.vim | ftplugin/writable_search.vim | VimL |
<|file_sep|>original/requirements/common.txt
pypandoc==1.4
markdown==2.6.10
# misc
django-anymail==1.0
bpython==0.16
redis==2.10.6
rollbar==0.13.17
# Compressor
django-compressor==2.2
rcssmin==1.0.6
rjsmin==1.0.12
# Auth
django-authtools==1.6.0
django-allauth==0.34.0
defusedxml==0.5.0
oauthlib==2.0.4
python3-openid=... | pypandoc==1.4
markdown==2.6.10
# misc
django-anymail==1.0
bpython==0.16
redis==2.10.6
rollbar==0.13.17
# Compressor
django-compressor==2.2
rcssmin==1.0.6
rjsmin==1.0.12
# Auth
django-authtools==1.6.0
django-allauth==0.34.0
defusedxml==0.5.0
oauthlib==2.0.6
python3-openid==3.1.0
requests-oauthlib==0.8.0 | <|file_sep|>original/requirements/common.txt
pypandoc==1.4
markdown==2.6.10
# misc
django-anymail==1.0
bpython==0.16
redis==2.10.6
rollbar==0.13.17
# Compressor
django-compressor==2.2
rcssmin==1.0.6
rjsmin==1.0.12
# Auth
django-authtools==1.6.0
django-allauth==0.34.0
defusedxml==0.5.0
oauthlib==2.0.4
python3-openid=... | 942eb3d894f6f021e717677dc284310d7740f245 | requirements/common.txt | requirements/common.txt | Text |
<|file_sep|>original/t/kohasite-web.t
<|file_sep|>current/t/kohasite-web.t
<|file_sep|>updated/t/kohasite-web.t | #!/usr/bin/perl
# Test that Web UI of the sample site that should have been set up is available
use Test::More;
use Test::WWW::Mechanize;
use Modern::Perl;
my $mech = Test::WWW::Mechanize->new;
# Apache
$mech->get_ok( 'http://localhost/', 'Apache OPAC OK' );
$mech->get_ok( 'http://localhost:8080/', 'Apache intrane... | <|file_sep|>original/t/kohasite-web.t
<|file_sep|>current/t/kohasite-web.t
<|file_sep|>updated/t/kohasite-web.t
#!/usr/bin/perl
# Test that Web UI of the sample site that should have been set up is available
use Test::More;
use Test::WWW::Mechanize;
use Modern::Perl;
my $mech = Test::WWW::Mechanize->new;
# Apache... | 4f3197d30d95ccdfb246b6a85f7b2b75391d044c | t/kohasite-web.t | t/kohasite-web.t | Perl |
<|file_sep|>original/.travis.yml
language: "node_js"
node_js:
- 0.4
- 0.6
<|file_sep|>current/.travis.yml
language: "node_js"
node_js:
- 0.4
- 0.6
<|file_sep|>updated/.travis.yml | language: "node_js"
node_js:
- 0.4
- 0.6
- 0.8 | <|file_sep|>original/.travis.yml
language: "node_js"
node_js:
- 0.4
- 0.6
<|file_sep|>current/.travis.yml
language: "node_js"
node_js:
- 0.4
- 0.6
<|file_sep|>updated/.travis.yml
language: "node_js"
node_js:
- 0.4
- 0.6
- 0.8 | 6b5f315a2c61dd28b0dc927d44c123781da40e86 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/loadtests/config/megabench.ini
[loads]
users = 20
duration = 1800
include_file = ./loadtest.py
agents = 5
detach = true
observer = irc
ssh = ubuntu@loads.services.mozilla.com
<|file_sep|>current/loadtests/config/megabench.ini
[loads]
users = 20
duration = 1800
include_file = ./loadtest.py
agents = ... | [loads]
users = 20
duration = 1800
include_file = ./loadtest.py
agents = 5
detach = true
observer = irc
ssh = ubuntu@loads.services.mozilla.com
python-dep = mohawk | <|file_sep|>original/loadtests/config/megabench.ini
[loads]
users = 20
duration = 1800
include_file = ./loadtest.py
agents = 5
detach = true
observer = irc
ssh = ubuntu@loads.services.mozilla.com
<|file_sep|>current/loadtests/config/megabench.ini
[loads]
users = 20
duration = 1800
include_file = ./loadtest.py
agents = ... | 61cf5852f4b9de3a8ea783ab7df7d26ae233df83 | loadtests/config/megabench.ini | loadtests/config/megabench.ini | INI |
<|file_sep|>CreateTestresults.cmd.diff
original:
updated:
goto begin
<|file_sep|>original/CreateTestresults.cmd
@pushd %~dp0
ECHO Remember to build the solution first!
REM pause
Cd "%~dp0\TestHarness\packages\NUnit.Runners.*\tools"
"nunit-console.exe" "%~dp0\TestHarness\nunit\bin\Debug\nunitHarness.dll" /result="%~d... | @pushd %~dp0
goto begin
ECHO Remember to build the solution first!
REM pause
Cd "%~dp0\TestHarness\packages\NUnit.Runners.*\tools"
"nunit-console.exe" "%~dp0\TestHarness\nunit\bin\Debug\nunitHarness.dll" /result="%~dp0\results-example-nunit.xml" /nologo /nodots
Cd "%~dp0\TestHarness\packages\SpecRun.Runner.*\tools"... | <|file_sep|>CreateTestresults.cmd.diff
original:
updated:
goto begin
<|file_sep|>original/CreateTestresults.cmd
@pushd %~dp0
ECHO Remember to build the solution first!
REM pause
Cd "%~dp0\TestHarness\packages\NUnit.Runners.*\tools"
"nunit-console.exe" "%~dp0\TestHarness\nunit\bin\Debug\nunitHarness.dll" /result="%~d... | f2129cb55074f18c6a304ded2ccdb97035ac61a2 | CreateTestresults.cmd | CreateTestresults.cmd | Batchfile |
<|file_sep|>original/releases/rebuild-docs.sh
# Generate docs.
mkdir -p public/api
python3 ./openapi/generate_openapi.py --release $(git describe --tags --abbrev=0) > ./public/api/wekan.yml
api2html -c ./public/logo-header.png -o ./public/api/wekan.html ./public/api/wekan.yml
# Copy docs to bundle
#cp -pR ./public/ap... | # Generate docs.
#mkdir -p public/api
python3 ./openapi/generate_openapi.py --release $(git describe --tags --abbrev=0) > ./public/api/wekan.yml
api2html -c ./public/logo-header.png -o ./public/api/wekan.html ./public/api/wekan.yml
# Copy docs to bundle
#cp -pR ./public/api ~/repos/wekan/.build/bundle/programs/web.br... | <|file_sep|>original/releases/rebuild-docs.sh
# Generate docs.
mkdir -p public/api
python3 ./openapi/generate_openapi.py --release $(git describe --tags --abbrev=0) > ./public/api/wekan.yml
api2html -c ./public/logo-header.png -o ./public/api/wekan.html ./public/api/wekan.yml
# Copy docs to bundle
#cp -pR ./public/ap... | 7318e420802800b554dec756d4f9c56b75c15b0c | releases/rebuild-docs.sh | releases/rebuild-docs.sh | Shell |
<|file_sep|>Package.swift.diff
original:
updated:
// swift-tools-version:5.0
//
<|file_sep|>Package.swift.diff
original:
updated:
<|file_sep|>original/Package.swift
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or ... | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY,... | <|file_sep|>Package.swift.diff
original:
updated:
// swift-tools-version:5.0
//
<|file_sep|>Package.swift.diff
original:
updated:
<|file_sep|>original/Package.swift
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or ... | 4ea56916dc6bae6a785ceb983eab5f4b88dd5b8a | Package.swift | Package.swift | Swift |
<|file_sep|>original/requirements.txt
twisted >= 12.0.0
requests >= 2.1.0
pyyaml==3.12
jsonschema >= 1.0.0
beautifulsoup4==4.6.0
pyopenssl==17.2.0
ndg-httpsclient==0.4.3
pyasn1==0.3.4
tvdb_api==1.10
repoze.lru==0.7
pygeoip==0.3.2
sqlalchemy==1.1.14
dataset==1.0.0
python-instagram==1.3.2
simplejson >= 3.0.0
httplib2 >= ... | twisted >= 12.0.0
requests >= 2.1.0
pyyaml==3.12
jsonschema >= 1.0.0
beautifulsoup4==4.6.0
pyopenssl==17.2.0
ndg-httpsclient==0.4.3
pyasn1==0.3.4
tvdb_api==1.10
repoze.lru==0.7
pygeoip==0.3.2
sqlalchemy==1.1.14
dataset==1.0.1
python-instagram==1.3.2
simplejson >= 3.0.0
httplib2 >= 0.8.0
feedparser >= 5.1.3
service_iden... | <|file_sep|>original/requirements.txt
twisted >= 12.0.0
requests >= 2.1.0
pyyaml==3.12
jsonschema >= 1.0.0
beautifulsoup4==4.6.0
pyopenssl==17.2.0
ndg-httpsclient==0.4.3
pyasn1==0.3.4
tvdb_api==1.10
repoze.lru==0.7
pygeoip==0.3.2
sqlalchemy==1.1.14
dataset==1.0.0
python-instagram==1.3.2
simplejson >= 3.0.0
httplib2 >= ... | cc262e29da1232381cdcc6747b5daca8cae36b31 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/fuzz-afl/README.md
# Fuzzing harnesses
This is intended for integration fuzzing and those decoders that do not yet
live in their own crate. `image-png` for example has their own fuzzing targets.
## Using the fuzzer
> $ cargo install afl
> $ RUSTFLAGS="-Clink-arg=-fuse-ld=gold" cargo +nightly afl... | # Fuzzing harnesses
This is intended for integration fuzzing and those decoders that do not yet
live in their own crate. `image-png` for example has their own fuzzing targets.
## Using the fuzzer
> $ cargo install afl
> $ RUSTFLAGS="-Clink-arg=-fuse-ld=gold" cargo +nightly afl build --release --bin fuzzer_script_<fo... | <|file_sep|>original/fuzz-afl/README.md
# Fuzzing harnesses
This is intended for integration fuzzing and those decoders that do not yet
live in their own crate. `image-png` for example has their own fuzzing targets.
## Using the fuzzer
> $ cargo install afl
> $ RUSTFLAGS="-Clink-arg=-fuse-ld=gold" cargo +nightly afl... | f811bea81ffbdef0f9a8779da0230616682b3407 | fuzz-afl/README.md | fuzz-afl/README.md | Markdown |
<|file_sep|>rest-api-spec/test/index/10_with_id.yaml.diff
original:
index: weird-index-中文
updated:
index: test-weird-index-中文
<|file_sep|>rest-api-spec/test/index/10_with_id.yaml.diff
original:
- match: { _index: weird-index-中文 }
updated:
- match: { _index: test-weird-index-中文 }
<|file_s... | id: 1
body: { foo: bar }
- is_true: ok
- match: { _index: test-weird-index-中文 }
- match: { _type: weird.type }
- match: { _id: "1"}
- match: { _version: 1}
- do:
get:
index: test-weird-index-中文
type: weird.type
id: 1
- ma... | <|file_sep|>rest-api-spec/test/index/10_with_id.yaml.diff
original:
index: weird-index-中文
updated:
index: test-weird-index-中文
<|file_sep|>rest-api-spec/test/index/10_with_id.yaml.diff
original:
- match: { _index: weird-index-中文 }
updated:
- match: { _index: test-weird-index-中文 }
<|file_s... | e0e4b6b4dccb7dae1e1c2681a053c73caed31760 | rest-api-spec/test/index/10_with_id.yaml | rest-api-spec/test/index/10_with_id.yaml | YAML |
<|file_sep|>src/test_utils/mod.rs.diff
original:
use js_types::js_var::{JsKey, JsPtrEnum, JsType, JsVar};
updated:
use js_types::js_var::{JsKey, JsPtrEnum, JsPtrTag, JsType, JsVar};
<|file_sep|>src/test_utils/mod.rs.diff
original:
let var = JsVar::new(JsType::JsPtr);
updated:
let var = JsVar::new(JsType::JsPtr(... |
pub fn make_str(s: &str) -> (JsVar, JsPtrEnum, Binding) {
let var = JsVar::new(JsType::JsPtr(JsPtrTag::JsStr));
let bnd = var.binding.clone();
(var, JsPtrEnum::JsStr(JsStrStruct::new(s)), bnd)
}
pub fn make_num(i: f64) -> JsVar {
JsVar::new(JsType::JsNum(i))
}
pub fn make_obj(kvs: Vec<(JsKey, JsVar, ... | <|file_sep|>src/test_utils/mod.rs.diff
original:
use js_types::js_var::{JsKey, JsPtrEnum, JsType, JsVar};
updated:
use js_types::js_var::{JsKey, JsPtrEnum, JsPtrTag, JsType, JsVar};
<|file_sep|>src/test_utils/mod.rs.diff
original:
let var = JsVar::new(JsType::JsPtr);
updated:
let var = JsVar::new(JsType::JsPtr(... | e56805598e906d18ac3c4ef5b083453cebb15aa7 | src/test_utils/mod.rs | src/test_utils/mod.rs | Rust |
<|file_sep|>original/interface/frontend/src/assets/css/project.css
div#version {
position: absolute;
color: white;
top: .5rem;
right: 1rem;
z-index: 10000;
}
div.container {
width: 100%;
}
input[type=range] {
width: 100%;
background: transparent;
}
<|file_sep|>current/interface/frontend/src/assets/css... | div#version {
position: absolute;
color: white;
top: .5rem;
right: 1rem;
z-index: 10000;
}
div.container {
width: 100%;
padding-top: 0.5rem;
}
input[type=range] {
width: 100%;
background: transparent;
} | <|file_sep|>original/interface/frontend/src/assets/css/project.css
div#version {
position: absolute;
color: white;
top: .5rem;
right: 1rem;
z-index: 10000;
}
div.container {
width: 100%;
}
input[type=range] {
width: 100%;
background: transparent;
}
<|file_sep|>current/interface/frontend/src/assets/css... | 48d1d587d2160f34deb8e3fc7ac93b6841a5b6fa | interface/frontend/src/assets/css/project.css | interface/frontend/src/assets/css/project.css | CSS |
<|file_sep|>_includes/named_params.html.diff
original:
<table class="default">
updated:
<table>
<|file_sep|>original/_includes/named_params.html
<td><code>{{ param[1].name }}</code></td>
<td><code>{{ param[1].type }}<code></td>
... | {% for param in include.params %}
<tr>
<td><code>{{ param[1].name }}</code></td>
<td><code>{{ param[1].type }}<code></td>
<td>
{% if param[1].required %}
Yes
... | <|file_sep|>_includes/named_params.html.diff
original:
<table class="default">
updated:
<table>
<|file_sep|>original/_includes/named_params.html
<td><code>{{ param[1].name }}</code></td>
<td><code>{{ param[1].type }}<code></td>
... | ef818f0cb73e7db57b6c44de91c52ff64692c32d | _includes/named_params.html | _includes/named_params.html | HTML |
<|file_sep|>original/astropy/tests/image_tests.py
import matplotlib
from matplotlib import pyplot as plt
from ..utils.decorators import wraps
MPL_VERSION = matplotlib.__version__
ROOT = "http://{server}/testing/astropy/2018-02-01T23:31:45.013149/{mpl_version}/"
IMAGE_REFERENCE_DIR = ROOT.format(server='data.astropy... | import matplotlib
from matplotlib import pyplot as plt
from ..utils.decorators import wraps
MPL_VERSION = matplotlib.__version__
ROOT = "http://{server}/testing/astropy/2018-02-01T23:31:45.013149/{mpl_version}/"
IMAGE_REFERENCE_DIR = (ROOT.format(server='data.astropy.org', mpl_version=MPL_VERSION[:3] + '.x') + ',' ... | <|file_sep|>original/astropy/tests/image_tests.py
import matplotlib
from matplotlib import pyplot as plt
from ..utils.decorators import wraps
MPL_VERSION = matplotlib.__version__
ROOT = "http://{server}/testing/astropy/2018-02-01T23:31:45.013149/{mpl_version}/"
IMAGE_REFERENCE_DIR = ROOT.format(server='data.astropy... | e249e1c03fab60c2f09a171924f3a1f701a0c7aa | astropy/tests/image_tests.py | astropy/tests/image_tests.py | Python |
<|file_sep|>original/Model/PaymentMethodsAwareInterface.php
* file that was distributed with this source code.
*/
namespace Sylius\Component\Payment\Model;
use Doctrine\Common\Collections\Collection;
/**
* Interface for object referencing multiple payment methods.
*
* @author Paweł Jędrzejewski <pjedrzejewski@d... | * file that was distributed with this source code.
*/
namespace Sylius\Component\Payment\Model;
use Doctrine\Common\Collections\Collection;
/**
* Interface for object referencing multiple payment methods.
*
* @author Paweł Jędrzejewski <pawel@sylius.org>
*/
interface PaymentMethodsAwareInterface
{
/**
... | <|file_sep|>original/Model/PaymentMethodsAwareInterface.php
* file that was distributed with this source code.
*/
namespace Sylius\Component\Payment\Model;
use Doctrine\Common\Collections\Collection;
/**
* Interface for object referencing multiple payment methods.
*
* @author Paweł Jędrzejewski <pjedrzejewski@d... | b32d108eadf7220f8592c06747609411768b1db7 | Model/PaymentMethodsAwareInterface.php | Model/PaymentMethodsAwareInterface.php | PHP |
<|file_sep|>original/source/jobs/specialist/prometheus/index.html.md
<|file_sep|>current/source/jobs/specialist/prometheus/index.html.md
<|file_sep|>updated/source/jobs/specialist/prometheus/index.html.md | ---
layout: job_page
title: "Prometheus Specialist"
---
## Responsibilities
* Manage day-to-day maintenance and evolution of GitLab's Prometheus monitoring and alerting infrastructure
* Create and/or improve open source Prometheus monitoring tools as required
* Ship Prometheus monitoring out of the box in the GitLab ... | <|file_sep|>original/source/jobs/specialist/prometheus/index.html.md
<|file_sep|>current/source/jobs/specialist/prometheus/index.html.md
<|file_sep|>updated/source/jobs/specialist/prometheus/index.html.md
---
layout: job_page
title: "Prometheus Specialist"
---
## Responsibilities
* Manage day-to-day maintenance and... | febba9fcea52d6c98d66ab3e42cc89eab8c27dc0 | source/jobs/specialist/prometheus/index.html.md | source/jobs/specialist/prometheus/index.html.md | Markdown |
<|file_sep|>original/modules/bilingual_generator/bilingual-generator.py
<|file_sep|>current/modules/bilingual_generator/bilingual-generator.py
<|file_sep|>updated/modules/bilingual_generator/bilingual-generator.py | import os
import codecs
import json
from gensim.models import Word2Vec
import random
from modules.preprocessor import yandex_api as yandex
def create_bilingual_dictionary(clusters_file_path, sample_size, model):
bilingual_dictionary = []
with codecs.open(cluster_groups, 'r', encoding='utf-8') as file:
clusters = j... | <|file_sep|>original/modules/bilingual_generator/bilingual-generator.py
<|file_sep|>current/modules/bilingual_generator/bilingual-generator.py
<|file_sep|>updated/modules/bilingual_generator/bilingual-generator.py
import os
import codecs
import json
from gensim.models import Word2Vec
import random
from modules.prepro... | bfcc3a90bbd90c6a9a3beed4c94be99f68d51be8 | modules/bilingual_generator/bilingual-generator.py | modules/bilingual_generator/bilingual-generator.py | Python |
<|file_sep|>original/black-hole-solitaire/all-in-a-row-gnu-parallel-range-solving/summarize.pl
my $board_idx = shift(@ARGV);
my $basename = "$board_idx.summary";
my $final_fn = "summaries/$basename";
if (-e $final_fn)
{
exit(0);
}
my $text= `make_pysol_freecell_board.py -F -t $board_idx all_in_a_row | all-in-a-r... | my $board_idx = shift(@ARGV);
my $basename = "$board_idx.summary";
my $final_fn = "summaries/$basename";
if (-e $final_fn)
{
exit(0);
}
my $text= `make_pysol_freecell_board.py -F -t $board_idx all_in_a_row | black-hole-solve --game all-in-a-row -`;
my ($verdict, $checked, $gen) = ($text =~ m{(Solved|Unsolved).*... | <|file_sep|>original/black-hole-solitaire/all-in-a-row-gnu-parallel-range-solving/summarize.pl
my $board_idx = shift(@ARGV);
my $basename = "$board_idx.summary";
my $final_fn = "summaries/$basename";
if (-e $final_fn)
{
exit(0);
}
my $text= `make_pysol_freecell_board.py -F -t $board_idx all_in_a_row | all-in-a-r... | 2bd78823bc3bf814457c0a00384c77fb5d859151 | black-hole-solitaire/all-in-a-row-gnu-parallel-range-solving/summarize.pl | black-hole-solitaire/all-in-a-row-gnu-parallel-range-solving/summarize.pl | Perl |
<|file_sep|>metadata/com.github.muellerma.prepaidbalance.yml.diff
original:
updated:
- versionName: '0.6'
versionCode: 7
commit: 5923c065d4a926cc5eda9548a8a037b59dacc5c7
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/com.github.muellerma.prepaidbalance.yml
gradle:
- yes
-... | gradle:
- yes
- versionName: '0.5'
versionCode: 6
commit: '0.5'
subdir: app
gradle:
- yes
- versionName: '0.6'
versionCode: 7
commit: 5923c065d4a926cc5eda9548a8a037b59dacc5c7
subdir: app
gradle:
- yes
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVe... | <|file_sep|>metadata/com.github.muellerma.prepaidbalance.yml.diff
original:
updated:
- versionName: '0.6'
versionCode: 7
commit: 5923c065d4a926cc5eda9548a8a037b59dacc5c7
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/com.github.muellerma.prepaidbalance.yml
gradle:
- yes
-... | f7c2dc56f4b8a73b484d336c51ae137f96952d4b | metadata/com.github.muellerma.prepaidbalance.yml | metadata/com.github.muellerma.prepaidbalance.yml | YAML |
<|file_sep|>original/develop_requirements.txt
ansible==2.7.6
pip==19.0.1
wheel==0.32.3
watchdog==0.9.0
flake8==3.7.4
tox==3.7.0
coverage==4.5.2
Sphinx==1.8.3
twine==1.12.1
rstcheck==3.3.1
pycodestyle==2.5.0
pylint==2.2.2
<|file_sep|>current/develop_requirements.txt
ansible==2.7.6
pip==19.0.1
wheel==0.32.3
watchdog==0.... | ansible==2.7.6
pip==19.0.2
wheel==0.32.3
watchdog==0.9.0
flake8==3.7.4
tox==3.7.0
coverage==4.5.2
Sphinx==1.8.3
twine==1.12.1
rstcheck==3.3.1
pycodestyle==2.5.0
pylint==2.2.2
| <|file_sep|>original/develop_requirements.txt
ansible==2.7.6
pip==19.0.1
wheel==0.32.3
watchdog==0.9.0
flake8==3.7.4
tox==3.7.0
coverage==4.5.2
Sphinx==1.8.3
twine==1.12.1
rstcheck==3.3.1
pycodestyle==2.5.0
pylint==2.2.2
<|file_sep|>current/develop_requirements.txt
ansible==2.7.6
pip==19.0.1
wheel==0.32.3
watchdog==0.... | e9806bec62a7811ef1b82ac3ad6e4d787130f588 | develop_requirements.txt | develop_requirements.txt | Text |
<|file_sep|>original/app/assets/javascripts/agreement.js
update_remove_one_visibility();
scope.find('.add-one').click(function(e) {
e.preventDefault();
var newContent = scope.find('.cloneable:first').clone();
scope.find('.cloneable:last').after(newContent);
scope.find('.cloneable:las... |
update_remove_one_visibility();
scope.find('.add-one').click(function(e) {
e.preventDefault();
var newContent = scope.find('.cloneable:first').clone();
scope.find('.cloneable:last').after(newContent);
scope.find('.cloneable:last input[type="text"]').val('');
scope.find('.clonea... | <|file_sep|>original/app/assets/javascripts/agreement.js
update_remove_one_visibility();
scope.find('.add-one').click(function(e) {
e.preventDefault();
var newContent = scope.find('.cloneable:first').clone();
scope.find('.cloneable:last').after(newContent);
scope.find('.cloneable:las... | 36dfba6a30405b584b1e0a1de2d6dcf0285aef4d | app/assets/javascripts/agreement.js | app/assets/javascripts/agreement.js | JavaScript |
<|file_sep|>original/flawless/lib/storage/redis_storage.py
<|file_sep|>current/flawless/lib/storage/redis_storage.py
<|file_sep|>updated/flawless/lib/storage/redis_storage.py | #!/usr/bin/env python
#
# Copyright (c) 2011-2013, Shopkick Inc.
# All rights reserved.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# ---
# Author: John Egan <jo... | <|file_sep|>original/flawless/lib/storage/redis_storage.py
<|file_sep|>current/flawless/lib/storage/redis_storage.py
<|file_sep|>updated/flawless/lib/storage/redis_storage.py
#!/usr/bin/env python
#
# Copyright (c) 2011-2013, Shopkick Inc.
# All rights reserved.
#
# This Source Code Form is subject to the terms of th... | 57cfbc8b8d85306572fb37ade867faffc190cfb0 | flawless/lib/storage/redis_storage.py | flawless/lib/storage/redis_storage.py | Python |
<|file_sep|>original/lipsum.txt
<|file_sep|>current/lipsum.txt
<|file_sep|>updated/lipsum.txt | It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop p... | <|file_sep|>original/lipsum.txt
<|file_sep|>current/lipsum.txt
<|file_sep|>updated/lipsum.txt
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opp... | b574ecc83eb1ee9073bce526a2643f9ef06b7e41 | lipsum.txt | lipsum.txt | Text |
<|file_sep|>victoria.sh.diff
original:
# Fetch and mvoe to the right place the cone finder
mkdir -p ~/tmp
cd ~/tmp
updated:
# Fetch and mvoe to the right place the cone finder
cd ~/catkin_ws/src
<|file_sep|>victoria.sh.diff
original:
cd TrafficConeFinderCode
./installROSNode.sh
updated:
<|file_sep|>original/victoria... | # Assumes catkin workspace ~/catkin_ws
# Assumes ROS Kinetic
# Any assumptions for cone finder?
#
set -x #echo on
# Fetch and mvoe to the right place the cone finder
cd ~/catkin_ws/src
git clone https://github.com/ProgrammingRobotsStudyGroup/TrafficConeFinderCode.git
# Fetch MAVROS
# if MavROS exists, skip install
#
... | <|file_sep|>victoria.sh.diff
original:
# Fetch and mvoe to the right place the cone finder
mkdir -p ~/tmp
cd ~/tmp
updated:
# Fetch and mvoe to the right place the cone finder
cd ~/catkin_ws/src
<|file_sep|>victoria.sh.diff
original:
cd TrafficConeFinderCode
./installROSNode.sh
updated:
<|file_sep|>original/victoria... | 106f54874acb7f9dce4b4235ceee16e25b4a9efd | victoria.sh | victoria.sh | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.