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/train-number-calc.html
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<title>貨物列車 種別計算 - Hiroto-K.github.io</title>
<link href="/assets/css/style.css" rel="stylesheet">
<script src="/assets/js/lib.js"></script>
<meta content="width=device-width, initial-scale=1... | <!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<title>貨物列車 種別計算 - Hiroto-K.github.io</title>
<link href="/assets/css/style.css" rel="stylesheet">
<script src="/assets/js/lib.js"></script>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="v... | <|file_sep|>original/train-number-calc.html
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<title>貨物列車 種別計算 - Hiroto-K.github.io</title>
<link href="/assets/css/style.css" rel="stylesheet">
<script src="/assets/js/lib.js"></script>
<meta content="width=device-width, initial-scale=1... | 34732e518bf23cb639a75c86fd2b6868d69d6972 | train-number-calc.html | train-number-calc.html | HTML |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.1
cache: bundler
install: gem install jekyll html-proofer
script: bundle exec jekyll build && htmlproof ./_site
deploy:
provider: cloudfoundry
edge: true
api: $CF_API
username: $CF_USER
password: $CF_PASS
organization: $CF_ORG
space: $CF_ENV
e... | language: ruby
rvm:
- 2.2
cache: bundler
install: gem install jekyll html-proofer
script: bundle exec jekyll build && htmlproof ./_site
deploy:
provider: cloudfoundry
edge: true
api: $CF_API
username: $CF_USER
password: $CF_PASS
organization: $CF_ORG
space: $CF_ENV
env:
global: | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.1
cache: bundler
install: gem install jekyll html-proofer
script: bundle exec jekyll build && htmlproof ./_site
deploy:
provider: cloudfoundry
edge: true
api: $CF_API
username: $CF_USER
password: $CF_PASS
organization: $CF_ORG
space: $CF_ENV
e... | 7f0b825a16da1eb3080640cc6500da6b22f75945 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/biobox_cli/util.py
err_exit('unknown_command',
{'command_type': str.replace(module, '_', ' '), 'command': name})
return sys.modules[mod_name]
def parse_docopt(doc, argv, is_main_module):
from docopt import docopt
from version import __version__
return docop... | except ImportError:
err_exit('unknown_command',
{'command_type': str.replace(module, '_', ' '), 'command': name})
return sys.modules[mod_name]
def parse_docopt(doc, argv, is_main_module):
from docopt import docopt
from version import __version__
return docopt(doc,
... | <|file_sep|>original/biobox_cli/util.py
err_exit('unknown_command',
{'command_type': str.replace(module, '_', ' '), 'command': name})
return sys.modules[mod_name]
def parse_docopt(doc, argv, is_main_module):
from docopt import docopt
from version import __version__
return docop... | 8aff9605a91f1041a1040c2cfc000dbc588c0503 | biobox_cli/util.py | biobox_cli/util.py | Python |
<|file_sep|>original/metrics/metrics-event-listeners/src/main/java/com/pushtechnology/adapters/rest/metrics/events/EventCounter.java
<|file_sep|>current/metrics/metrics-event-listeners/src/main/java/com/pushtechnology/adapters/rest/metrics/events/EventCounter.java
<|file_sep|>updated/metrics/metrics-event-listeners/s... | /*******************************************************************************
* Copyright (C) 2017 Push Technology Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.a... | <|file_sep|>original/metrics/metrics-event-listeners/src/main/java/com/pushtechnology/adapters/rest/metrics/events/EventCounter.java
<|file_sep|>current/metrics/metrics-event-listeners/src/main/java/com/pushtechnology/adapters/rest/metrics/events/EventCounter.java
<|file_sep|>updated/metrics/metrics-event-listeners/s... | 496946e25590ff45b2e76b0b9cba8f6377698b7e | metrics/metrics-event-listeners/src/main/java/com/pushtechnology/adapters/rest/metrics/events/EventCounter.java | metrics/metrics-event-listeners/src/main/java/com/pushtechnology/adapters/rest/metrics/events/EventCounter.java | Java |
<|file_sep|>api/postits.go.diff
original:
updated:
"io/ioutil"
<|file_sep|>api/postits.go.diff
original:
updated:
"time"
"fmt"
"encoding/json"
"strconv"
<|file_sep|>api/postits.go.diff
original:
updated:
var Postits []Postit
<|file_sep|>api/postits.go.diff
original:
io.WriteString(w, "Listing postits: "+board_... | }
fmt.Printf("Available postits=%v\n", Postits)
}
func ShowPostit(w http.ResponseWriter, req *http.Request) {
io.WriteString(w, "Showing postit # "+req.URL.Query().Get(":Id")+"!\n")
// FIXME : return postit attributes
}
func CreatePostit(w http.ResponseWriter, req *http.Request) {
postit := &Postit{}
defer re... | <|file_sep|>api/postits.go.diff
original:
updated:
"io/ioutil"
<|file_sep|>api/postits.go.diff
original:
updated:
"time"
"fmt"
"encoding/json"
"strconv"
<|file_sep|>api/postits.go.diff
original:
updated:
var Postits []Postit
<|file_sep|>api/postits.go.diff
original:
io.WriteString(w, "Listing postits: "+board_... | 99cfacecefa730f7f8b6317abff267bdaf190b5f | api/postits.go | api/postits.go | Go |
<|file_sep|>original/copromise.js
// Throw error in next event turn
function raise(error) {
if (!error) return;
setImmediate(function() {
throw error;
});
}
// Run coroutine and raise exception on failure
function copromise(coroutine) {
if (isGeneratorFunction(coroutine)) {
coroutine = coroutine();
}
return ... | // Throw error in next event turn
function raise(error) {
if (!error) return;
setImmediate(function() {
throw error;
});
}
// Run coroutine and raise exception on failure
function copromise(coroutine) {
if (isGeneratorFunction(coroutine)) {
coroutine = coroutine();
}
return run(coroutine);
}
copromise.exec ... | <|file_sep|>original/copromise.js
// Throw error in next event turn
function raise(error) {
if (!error) return;
setImmediate(function() {
throw error;
});
}
// Run coroutine and raise exception on failure
function copromise(coroutine) {
if (isGeneratorFunction(coroutine)) {
coroutine = coroutine();
}
return ... | 90bc1cc38c2b613b56f1a5d2e6db8e0d67a8c1d6 | copromise.js | copromise.js | JavaScript |
<|file_sep|>original/composer.json
{
"name": "websight/l5-google-cloud-storage",
"description": "Laravel 5 Flysystem Google Cloud Storage Service Provider",
"require": {
"illuminate/filesystem": "~5.0.17|5.1.*|5.2.*|5.3.*|5.4.*",
"illuminate/support": "~5.0.17|5.1.*|5.2.*|5.3.*|5.4.*",
... | {
"name": "websight/l5-google-cloud-storage",
"description": "Laravel 5 Flysystem Google Cloud Storage Service Provider",
"require": {
"illuminate/filesystem": "~5.0.17|5.1.*|5.2.*|5.3.*|5.4.*|5.5.*",
"illuminate/support": "~5.0.17|5.1.*|5.2.*|5.3.*|5.4.*|5.5.*",
"cedricziel/flysyst... | <|file_sep|>original/composer.json
{
"name": "websight/l5-google-cloud-storage",
"description": "Laravel 5 Flysystem Google Cloud Storage Service Provider",
"require": {
"illuminate/filesystem": "~5.0.17|5.1.*|5.2.*|5.3.*|5.4.*",
"illuminate/support": "~5.0.17|5.1.*|5.2.*|5.3.*|5.4.*",
... | 86ce73a782c6498daeb8b4abc1434848b1de932d | composer.json | composer.json | JSON |
<|file_sep|>original/db/seeds/challenge/challenge.rb
challenge = Challenge.create!(title: 'The First Challenge',
headline: 'This is the first challenge - what\'s not working for you and your setup?',
video_url: 'https://youtu.be/3kAo2Z3C3gY',
... | challenge = Challenge.create!(title: 'The First Challenge',
headline: 'This is the first challenge - what\'s not working for you and your setup?',
video_url: 'https://youtu.be/3kAo2Z3C3gY',
remote_banner_url: '',
... | <|file_sep|>original/db/seeds/challenge/challenge.rb
challenge = Challenge.create!(title: 'The First Challenge',
headline: 'This is the first challenge - what\'s not working for you and your setup?',
video_url: 'https://youtu.be/3kAo2Z3C3gY',
... | ddc1a1dacc65d127df52dcb0c82b66427b0ab340 | db/seeds/challenge/challenge.rb | db/seeds/challenge/challenge.rb | Ruby |
<|file_sep|>original/meetings/15-10-30_retrospectives.md
<|file_sep|>current/meetings/15-10-30_retrospectives.md
<|file_sep|>updated/meetings/15-10-30_retrospectives.md | # 10.30.15 Planning Session
_Attendees:_
- Dave Fontenot
- Jonathan Leung
- Max Wofford
- Zach Latta
## Actionable tasks
1. Move weekly retrospectives to Wednesday
2. Aim for moving team meetings to Wednesday
3. Setup monthly one on ones with club leaders, 30 mins each
4. Focus on getting club member attendance nex... | <|file_sep|>original/meetings/15-10-30_retrospectives.md
<|file_sep|>current/meetings/15-10-30_retrospectives.md
<|file_sep|>updated/meetings/15-10-30_retrospectives.md
# 10.30.15 Planning Session
_Attendees:_
- Dave Fontenot
- Jonathan Leung
- Max Wofford
- Zach Latta
## Actionable tasks
1. Move weekly retrospec... | 516f38434310a43e43e92c8513a0d47e7ce1b432 | meetings/15-10-30_retrospectives.md | meetings/15-10-30_retrospectives.md | Markdown |
<|file_sep|>original/requirements/build.txt
# ydf/requirements/build.txt
#
# Requirements necessary to build the ydf package.
setuptools==36.7.0
<|file_sep|>current/requirements/build.txt
# ydf/requirements/build.txt
#
# Requirements necessary to build the ydf package.
setuptools==36.7.0
<|file_sep|>updated/requireme... | # ydf/requirements/build.txt
#
# Requirements necessary to build the ydf package.
setuptools==36.7.1 | <|file_sep|>original/requirements/build.txt
# ydf/requirements/build.txt
#
# Requirements necessary to build the ydf package.
setuptools==36.7.0
<|file_sep|>current/requirements/build.txt
# ydf/requirements/build.txt
#
# Requirements necessary to build the ydf package.
setuptools==36.7.0
<|file_sep|>updated/requireme... | f4fa81a87f96d208370b355ff7ac42c73b3c38d6 | requirements/build.txt | requirements/build.txt | Text |
<|file_sep|>tests/auto/declarative/qmlgraphicspositioners/data/propertychanges.qml.diff
original:
updated:
<|file_sep|>tests/auto/declarative/qmlgraphicspositioners/data/propertychanges.qml.diff
original:
updated:
<|file_sep|>tests/auto/declarative/qmlgraphicspositioners/data/propertychanges.qml.diff
origin... | }
data: [
Transition {
id: rowTransition
objectName: "rowTransition"
NumberAnimation {
properties: "x,y";
easing.type: "OutInCubic"
}
},
Transition {
id: columnTransition
objectName: "columnTransition"
NumberAnimation {... | <|file_sep|>tests/auto/declarative/qmlgraphicspositioners/data/propertychanges.qml.diff
original:
updated:
<|file_sep|>tests/auto/declarative/qmlgraphicspositioners/data/propertychanges.qml.diff
original:
updated:
<|file_sep|>tests/auto/declarative/qmlgraphicspositioners/data/propertychanges.qml.diff
origin... | 4066e60e859853cfe3240245ba05271e79839506 | tests/auto/declarative/qmlgraphicspositioners/data/propertychanges.qml | tests/auto/declarative/qmlgraphicspositioners/data/propertychanges.qml | QML |
<|file_sep|>original/steer_bot_hardware_gazebo/config/joints.yaml
steer_bot_hardware_gazebo:
rear_wheel : 'base_to_wheel'
front_steer : 'base_to_steer'
virtual_rear_wheels : ['base_to_right_rear_wheel', 'base_to_left_rear_wheel']
virtual_front_wheels : ['base_to_right_front_wheel', 'base_to_left_front... | steer_bot_hardware_gazebo:
rear_wheel : 'rear_wheel_joint'
front_steer : 'front_steer_joint'
virtual_rear_wheels : ['base_to_right_rear_wheel', 'base_to_left_rear_wheel']
virtual_front_wheels : ['base_to_right_front_wheel', 'base_to_left_front_wheel']
virtual_front_steers : ['base_to_right_front_s... | <|file_sep|>original/steer_bot_hardware_gazebo/config/joints.yaml
steer_bot_hardware_gazebo:
rear_wheel : 'base_to_wheel'
front_steer : 'base_to_steer'
virtual_rear_wheels : ['base_to_right_rear_wheel', 'base_to_left_rear_wheel']
virtual_front_wheels : ['base_to_right_front_wheel', 'base_to_left_front... | 5d80a93196f1822f3688e0612fa6c73a7679235b | steer_bot_hardware_gazebo/config/joints.yaml | steer_bot_hardware_gazebo/config/joints.yaml | YAML |
<|file_sep|>original/css/main.css
.mini-map {
position: absolute;
border: 1px solid black;
}
.tile {
position: absolute;
}
<|file_sep|>current/css/main.css
.mini-map {
position: absolute;
border: 1px solid black;
}
.tile {
position: absolute;
}
<|file_sep|>updated/css/main.css | .mini-map {
position: absolute;
border: 1px solid black;
}
.tile {
position: absolute;
}
.player {
background: blue;
} | <|file_sep|>original/css/main.css
.mini-map {
position: absolute;
border: 1px solid black;
}
.tile {
position: absolute;
}
<|file_sep|>current/css/main.css
.mini-map {
position: absolute;
border: 1px solid black;
}
.tile {
position: absolute;
}
<|file_sep|>updated/css/main.css
.mini-map {
po... | ad415c02ce12049f84c716733f84a79a2b2f6492 | css/main.css | css/main.css | CSS |
<|file_sep|>original/.github/ISSUE_TEMPLATE/40-tflite-op-request.md
<|file_sep|>current/.github/ISSUE_TEMPLATE/40-tflite-op-request.md
<|file_sep|>updated/.github/ISSUE_TEMPLATE/40-tflite-op-request.md | ---
name: TensorFlow Lite Op Request
about: Use this template for reporting ops you are using or missing.
---
**System information**
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
- TensorFlow installed from (source or binary):
- TensorFlow version (or github SHA if from source):
**Provide the text out... | <|file_sep|>original/.github/ISSUE_TEMPLATE/40-tflite-op-request.md
<|file_sep|>current/.github/ISSUE_TEMPLATE/40-tflite-op-request.md
<|file_sep|>updated/.github/ISSUE_TEMPLATE/40-tflite-op-request.md
---
name: TensorFlow Lite Op Request
about: Use this template for reporting ops you are using or missing.
---
**S... | 11f77c8e22dc1040867356fd3475bc9264ae9e88 | .github/ISSUE_TEMPLATE/40-tflite-op-request.md | .github/ISSUE_TEMPLATE/40-tflite-op-request.md | Markdown |
<|file_sep|>original/composer.json
"description": "Simple, configurable, service container.",
"license": "MIT",
"authors": [
{
"name": "Daniel Leech",
"email": "daniel@dantleech.com"
}
],
"require": {
"psr/container": "^1.0|^2.0",
"symfony/opti... | "description": "Simple, configurable, service container.",
"license": "MIT",
"authors": [
{
"name": "Daniel Leech",
"email": "daniel@dantleech.com"
}
],
"require": {
"psr/container": "^1.0|^2.0",
"symfony/options-resolver": "^4.2 || ^5.0 || ^6.... | <|file_sep|>original/composer.json
"description": "Simple, configurable, service container.",
"license": "MIT",
"authors": [
{
"name": "Daniel Leech",
"email": "daniel@dantleech.com"
}
],
"require": {
"psr/container": "^1.0|^2.0",
"symfony/opti... | 0f4e05768f8c26d5a48e1be54ec8a091c9271a17 | composer.json | composer.json | JSON |
<|file_sep|>original/emacs.d/conf/51_configuration.el
;; --------------------------------------------------
;; Docker
;; --------------------------------------------------
(require 'dockerfile-mode nil)
(add-to-list 'auto-mode-alist '("Dockerfile\\'" . dockerfile-mode))
;; ---------------------------------------------... | (add-to-list 'auto-mode-alist '("Dockerfile\\'" . dockerfile-mode))
;; --------------------------------------------------
;; Capistrano
;; --------------------------------------------------
(add-to-list 'auto-mode-alist '("Capfile$" . ruby-mode))
;; --------------------------------------------------
;; Guard
;; -----... | <|file_sep|>original/emacs.d/conf/51_configuration.el
;; --------------------------------------------------
;; Docker
;; --------------------------------------------------
(require 'dockerfile-mode nil)
(add-to-list 'auto-mode-alist '("Dockerfile\\'" . dockerfile-mode))
;; ---------------------------------------------... | 39fd43dc7620000b49610207150894000287f324 | emacs.d/conf/51_configuration.el | emacs.d/conf/51_configuration.el | Emacs Lisp |
<|file_sep|>original/GitVersion.yml
next-version: 3.14.0
mode: ContinuousDelivery
legacy-semver-padding: 5
build-metadata-padding: 5
commits-since-version-source-padding: 5
branches:
master:
tag: dev
release:
tag: pre
pull-request:
tag: pr
<|file_sep|>current/GitVersion.yml
next-version: 3.14.0
mode: ... | next-version: 4.0.0
mode: ContinuousDelivery
legacy-semver-padding: 5
build-metadata-padding: 5
commits-since-version-source-padding: 5
branches:
master:
tag: dev
release:
tag: pre
pull-request:
tag: pr | <|file_sep|>original/GitVersion.yml
next-version: 3.14.0
mode: ContinuousDelivery
legacy-semver-padding: 5
build-metadata-padding: 5
commits-since-version-source-padding: 5
branches:
master:
tag: dev
release:
tag: pre
pull-request:
tag: pr
<|file_sep|>current/GitVersion.yml
next-version: 3.14.0
mode: ... | 94a05df15d6cf6bdea5ff210bba536784ca43f68 | GitVersion.yml | GitVersion.yml | YAML |
<|file_sep|>original/requirements-dev.txt
# This file is autogenerated by pip-compile
# Make changes in requirements-dev.in, then run this to update:
#
# pip-compile requirements-dev.in
#
-e .
django-appconf>=1.0.2
flake8==3.4.1
isort==4.2.15
mccabe==0.6.1 # via flake8
measurement==1.8.0
pydocstyle==2.0.0
pep8-namin... | # This file is autogenerated by pip-compile
# Make changes in requirements-dev.in, then run this to update:
#
# pip-compile requirements-dev.in
#
-e .
django-appconf>=1.0.2
flake8==3.4.1
isort==4.2.15
mccabe==0.6.1 # via flake8
measurement==1.8.0
pydocstyle==2.0.0
pep8-naming==0.4.1
pep8==1.7.0 # via f... | <|file_sep|>original/requirements-dev.txt
# This file is autogenerated by pip-compile
# Make changes in requirements-dev.in, then run this to update:
#
# pip-compile requirements-dev.in
#
-e .
django-appconf>=1.0.2
flake8==3.4.1
isort==4.2.15
mccabe==0.6.1 # via flake8
measurement==1.8.0
pydocstyle==2.0.0
pep8-namin... | 93d42e329e5b0f60bb079f561476abc7ad02fc13 | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>config.toml.diff
original:
title = "Chris Turner"
updated:
title = "Owen Derby"
<|file_sep|>config.toml.diff
original:
googleAnalytics = ""
updated:
googleAnalytics = "UA-38535701-2"
<|file_sep|>original/config.toml
disqusShortname = ""
# Enable Google Analytics by entering your tracking code
googleAnalytic... | disqusShortname = ""
# Enable Google Analytics by entering your tracking code
googleAnalytics = "UA-38535701-2"
theme = "hugo-sustain"
[permalinks]
post = "/:year/:month/:day/:slug"
[params]
avatar = "profile.jpg"
author = "Owen Derby"
description = "Describe your website"
# Custom assets can be linked wit... | <|file_sep|>config.toml.diff
original:
title = "Chris Turner"
updated:
title = "Owen Derby"
<|file_sep|>config.toml.diff
original:
googleAnalytics = ""
updated:
googleAnalytics = "UA-38535701-2"
<|file_sep|>original/config.toml
disqusShortname = ""
# Enable Google Analytics by entering your tracking code
googleAnalytic... | 72b8e1a5dac37e76603885864be45a30df42ea71 | config.toml | config.toml | TOML |
<|file_sep|>lib/aweplug/helpers/cdn.rb.diff
original:
CDN_TMP_DIR = Pathname.new("_tmp").join("cdn")
CDN_CONTROL = Pathname.new("_cdn").join("cdn.yml")
updated:
TMP_DIR = Pathname.new("_tmp").join("cdn")
DIR = Pathname.new("_cdn")
CONTROL = DIR.join("cdn.yml")
EXPIRES_FILE = DIR.join... | @tmp_dir = TMP_DIR.join ctx_path
FileUtils.mkdir_p(File.dirname(CONTROL))
FileUtils.mkdir_p(@tmp_dir)
if File.exists? EXPIRES_FILE
FileUtils.cp(EXPIRES_FILE, @tmp_dir.join(".htaccess"))
end
end
def version(name, ext, content)
id = name + ext
... | <|file_sep|>lib/aweplug/helpers/cdn.rb.diff
original:
CDN_TMP_DIR = Pathname.new("_tmp").join("cdn")
CDN_CONTROL = Pathname.new("_cdn").join("cdn.yml")
updated:
TMP_DIR = Pathname.new("_tmp").join("cdn")
DIR = Pathname.new("_cdn")
CONTROL = DIR.join("cdn.yml")
EXPIRES_FILE = DIR.join... | 239dbdf88b8f4c5a3b798058baa26fbb803f6c75 | lib/aweplug/helpers/cdn.rb | lib/aweplug/helpers/cdn.rb | Ruby |
<|file_sep|>original/w3clove.gemspec
Gem::Specification.new do |s|
s.name = "w3clove"
s.version = W3clove::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Jaime Iniesta"]
s.email = ["jaimeiniesta@gmail.com"]
s.homepage = "https://github.com/jaimeiniesta/w3clove/"
s.summar... | Gem::Specification.new do |s|
s.name = "w3clove"
s.version = W3clove::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Jaime Iniesta"]
s.email = ["jaimeiniesta@gmail.com"]
s.homepage = "https://github.com/jaimeiniesta/w3clove/"
s.summary = %q{ command-line tool to vali... | <|file_sep|>original/w3clove.gemspec
Gem::Specification.new do |s|
s.name = "w3clove"
s.version = W3clove::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Jaime Iniesta"]
s.email = ["jaimeiniesta@gmail.com"]
s.homepage = "https://github.com/jaimeiniesta/w3clove/"
s.summar... | 1be5fe0c788424117658c1d720f53a8aa385f735 | w3clove.gemspec | w3clove.gemspec | Ruby |
<|file_sep|>original/t/template-output.t
#!perl
use strict;
use warnings;
use Template::ShowStartStop;
use Template::Test;
$Template::Test::DEBUG = 1;
my $tt = Template->new({
CONTEXT => Template::ShowStartStop->new
});
my $vars = {
var => 'world',
};
test_expect(\*DATA, $tt, $vars);
__DATA__
--test--
hello [% v... | #!perl
use strict;
use warnings;
use Template::ShowStartStop;
use Template::Test;
my $tt = Template::Test->new({
CONTEXT => Template::ShowStartStop->new
});
my $vars = {
var => 'world',
};
test_expect(\*DATA, $tt, $vars);
__DATA__
--test--
hello [% var %]
--expect--
<!-- START: process input text --> | <|file_sep|>original/t/template-output.t
#!perl
use strict;
use warnings;
use Template::ShowStartStop;
use Template::Test;
$Template::Test::DEBUG = 1;
my $tt = Template->new({
CONTEXT => Template::ShowStartStop->new
});
my $vars = {
var => 'world',
};
test_expect(\*DATA, $tt, $vars);
__DATA__
--test--
hello [% v... | 36fad6a59ab19610d476f75895b60c32ef8365bc | t/template-output.t | t/template-output.t | Perl |
<|file_sep|>original/.github/ISSUE_TEMPLATE/Third_party_addon.md
---
name: '3rd party add-on '
about: Tell us about a 3rd party add-on that we should add or update in the ZAP Marketplace
labels: Type-Task, add-on, third-party
---
**Add-on repo**
The URL of the repository for the add-on.
**Your contact details**
Emai... | ---
name: '3rd party add-on '
about: Tell us about a 3rd party add-on that we should add or update in the ZAP Marketplace
labels: marketplace
---
**Add-on repo**
The URL of the repository for the add-on.
**Your contact details**
Email, twitter, whatever works for you.
**Are you one of the authors**
Yes / No
**Lice... | <|file_sep|>original/.github/ISSUE_TEMPLATE/Third_party_addon.md
---
name: '3rd party add-on '
about: Tell us about a 3rd party add-on that we should add or update in the ZAP Marketplace
labels: Type-Task, add-on, third-party
---
**Add-on repo**
The URL of the repository for the add-on.
**Your contact details**
Emai... | 69d283732cadf1024c98c35add4bda81f7b2a36c | .github/ISSUE_TEMPLATE/Third_party_addon.md | .github/ISSUE_TEMPLATE/Third_party_addon.md | Markdown |
<|file_sep|>original/client/app/views/admin/advanced/tab2.html
<div class="form-group">
<input data-ng-model="admin.node.tor2web_custodian" type="checkbox">
<label data-translate>Allow custodian access via HTTPS</label>
</div>
<div class="form-group">
<input data-ng-model="admin.node.tor2w... | <div class="form-group">
<input data-ng-model="admin.node.tor2web_custodian" type="checkbox">
<label data-translate>Allow custodian access via HTTPS</label>
</div>
<div class="form-group">
<input data-ng-model="admin.node.tor2web_receiver" type="checkbox">
<label data-translate>Allow... | <|file_sep|>original/client/app/views/admin/advanced/tab2.html
<div class="form-group">
<input data-ng-model="admin.node.tor2web_custodian" type="checkbox">
<label data-translate>Allow custodian access via HTTPS</label>
</div>
<div class="form-group">
<input data-ng-model="admin.node.tor2w... | 56944c903f41d4880b25f4687ee76730ea8ebe34 | client/app/views/admin/advanced/tab2.html | client/app/views/admin/advanced/tab2.html | HTML |
<|file_sep|>original/ec2stack/templates/images.xml
{% extends "response.xml" %}
{% block response_content %}
<imagesSet>
{% for image in response.template %}
<item>
<imageId>
{{ image.id }}
</imageId>
<name>{{ image.name }}</name>
<imag... | {% extends "response.xml" %}
{% block response_content %}
<imagesSet>
{% for image in response.template %}
<item>
<imageId>
{{ image.id }}
</imageId>
<name>{{ image.name }}</name>
{% if image.isready == 'true' %}
<imageState... | <|file_sep|>original/ec2stack/templates/images.xml
{% extends "response.xml" %}
{% block response_content %}
<imagesSet>
{% for image in response.template %}
<item>
<imageId>
{{ image.id }}
</imageId>
<name>{{ image.name }}</name>
<imag... | d2d354bc38c50e50bbc00b320ba7e85c7b7dd9ca | ec2stack/templates/images.xml | ec2stack/templates/images.xml | XML |
<|file_sep|>original/app/views/users/_user.html.erb
<p><%= user.name %></p>
<p><%= link_to 'Delete', user_path(user), method: :delete, data: { confirm: 'Are you sure?' } %></p>
<|file_sep|>current/app/views/users/_user.html.erb
<p><%= user.name %></p>
<p><%= link_to 'Delete', user_path(user), method: :delete, data: { c... | <h1><%= user.name %></h1>
<p><%= user.email %></h1>
<p><%= link_to 'Delete', user_path(user), method: :delete, data: { confirm: 'Are you sure?' } %></p> | <|file_sep|>original/app/views/users/_user.html.erb
<p><%= user.name %></p>
<p><%= link_to 'Delete', user_path(user), method: :delete, data: { confirm: 'Are you sure?' } %></p>
<|file_sep|>current/app/views/users/_user.html.erb
<p><%= user.name %></p>
<p><%= link_to 'Delete', user_path(user), method: :delete, data: { c... | 0a39ea87556523e8df4cff7e7341b5d31a683bde | app/views/users/_user.html.erb | app/views/users/_user.html.erb | HTML+ERB |
<|file_sep|>app/app/views.py.diff
original:
updated:
from sqs import *
import os
<|file_sep|>original/app/app/views.py
from pyramid.response import Response
from pyramid.view import view_config
from sqlalchemy.exc import DBAPIError
from .models import DBSession, PathAndRow_Model, SceneList_Model
@view_config(route_n... | @view_config(route_name='index', renderer='templates/index.jinja2')
def index(request):
'''Index page.'''
lat = float(request.params.get('lat', 47.614848))
lng = float(request.params.get('lng', -122.3359059))
scenes = SceneList_Model.scenelist(PathAndRow_Model.pathandrow(lat, lng))
return {'scenes':... | <|file_sep|>app/app/views.py.diff
original:
updated:
from sqs import *
import os
<|file_sep|>original/app/app/views.py
from pyramid.response import Response
from pyramid.view import view_config
from sqlalchemy.exc import DBAPIError
from .models import DBSession, PathAndRow_Model, SceneList_Model
@view_config(route_n... | 96ddcc42b7da307433a3dce99aad1b2cdeff58cd | app/app/views.py | app/app/views.py | Python |
<|file_sep|>original/index.md
---
layout: index
title: Welcome
---
The Web Designer’s Kit (or WDK), is a framework that allows designers to build custom templates to use with Create.
It enables access to a range of features on the Create system to make your template not only have dynamic content, but also user selecta... | ---
layout: index
title: Welcome
---
> If you've any suggestions to improve this documentation please raise an issue on our [Github repository](https://github.com/createdotnet/createdotnet.github.io/issues).
The Web Designer’s Kit (or WDK), is a framework that allows designers to build custom templates to use with C... | <|file_sep|>original/index.md
---
layout: index
title: Welcome
---
The Web Designer’s Kit (or WDK), is a framework that allows designers to build custom templates to use with Create.
It enables access to a range of features on the Create system to make your template not only have dynamic content, but also user selecta... | f5e1218506e70ce053c326167f2ac7f9410f4948 | index.md | index.md | Markdown |
<|file_sep|>original/composer.json
"require-dev": {
"phpspec/phpspec": "~2.1.0@dev",
"behat/mink": "~1.5.0",
"behat/mink-goutte-driver": "~1.0.9",
"phpunit/phpunit": "~4.0.20",
"magetest/magento": "~1.8.1.0",
"mockery/mockery": "~0.9.1"
},
"autoload": {
... | "behat/mink-goutte-driver": "~1.0.9",
"phpunit/phpunit": "~4.0.20",
"magetest/magento": "~1.8.1.0",
"mockery/mockery": "~0.9.1"
},
"autoload": {
"psr-0": {
"": [
"vendor/magetest/magento/src/app",
"vendor/magetest/magento/src/li... | <|file_sep|>original/composer.json
"require-dev": {
"phpspec/phpspec": "~2.1.0@dev",
"behat/mink": "~1.5.0",
"behat/mink-goutte-driver": "~1.0.9",
"phpunit/phpunit": "~4.0.20",
"magetest/magento": "~1.8.1.0",
"mockery/mockery": "~0.9.1"
},
"autoload": {
... | 2126d3776de4aa960e5e95f950d8c2b2657d316f | composer.json | composer.json | JSON |
<|file_sep|>original/lib/generators/invitational/install/install_generator.rb
module Invitational
module Generators
class InstallGenerator < Rails::Generators::Base
source_root File.expand_path('../templates', __FILE__)
argument :identity_class, type: :string, default: "User", banner: "Class name of ... | module Invitational
module Generators
class InstallGenerator < Rails::Generators::Base
source_root File.expand_path('../templates', __FILE__)
argument :identity_class, type: :string, default: "User", banner: "Class name of identity model (e.g. User)"
def invitation_model
@identity_clas... | <|file_sep|>original/lib/generators/invitational/install/install_generator.rb
module Invitational
module Generators
class InstallGenerator < Rails::Generators::Base
source_root File.expand_path('../templates', __FILE__)
argument :identity_class, type: :string, default: "User", banner: "Class name of ... | 493f31e2dcc83921359dfacbd0e765463aab0b7f | lib/generators/invitational/install/install_generator.rb | lib/generators/invitational/install/install_generator.rb | Ruby |
<|file_sep|>original/provider/src/main/kotlin/org/gradle/kotlin/dsl/SettingsExtensions.kt
<|file_sep|>current/provider/src/main/kotlin/org/gradle/kotlin/dsl/SettingsExtensions.kt
<|file_sep|>updated/provider/src/main/kotlin/org/gradle/kotlin/dsl/SettingsExtensions.kt | /*
* Copyright 2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | <|file_sep|>original/provider/src/main/kotlin/org/gradle/kotlin/dsl/SettingsExtensions.kt
<|file_sep|>current/provider/src/main/kotlin/org/gradle/kotlin/dsl/SettingsExtensions.kt
<|file_sep|>updated/provider/src/main/kotlin/org/gradle/kotlin/dsl/SettingsExtensions.kt
/*
* Copyright 2017 the original author or author... | 55fd604b15b64c2fc4c44ab5819f367fa582574b | provider/src/main/kotlin/org/gradle/kotlin/dsl/SettingsExtensions.kt | provider/src/main/kotlin/org/gradle/kotlin/dsl/SettingsExtensions.kt | Kotlin |
<|file_sep|>original/.forestry/settings.yml
---
new_page_extension: md
auto_deploy: true
admin_path:
webhook_url:
sections:
- type: document
path: FORESTRY-README.md
label: Welcome - First Steps
read_only: true
- type: jekyll-posts
label: Posts
create: all
- type: jekyll-pages
label: Pages
create: all
u... | ---
new_page_extension: md
auto_deploy: true
admin_path:
webhook_url:
sections:
- type: document
path: FORESTRY-README.md
label: Welcome
read_only: true
- type: jekyll-posts
label: Posts
create: all
- type: jekyll-pages
label: Pages
create: all
upload_dir: uploads
public_path: "/uploads"
front_matter_pa... | <|file_sep|>original/.forestry/settings.yml
---
new_page_extension: md
auto_deploy: true
admin_path:
webhook_url:
sections:
- type: document
path: FORESTRY-README.md
label: Welcome - First Steps
read_only: true
- type: jekyll-posts
label: Posts
create: all
- type: jekyll-pages
label: Pages
create: all
u... | 49be602b925eb086b11483dd707bc571161b28ca | .forestry/settings.yml | .forestry/settings.yml | YAML |
<|file_sep|>dbaas/api/environment.py.diff
original:
from physical import models
updated:
from physical.models import Environment
<|file_sep|>dbaas/api/environment.py.diff
original:
model = models.Environment
fields = ('url', 'id', 'name',)
updated:
model = Environment
fields = ('url', 'i... | fields = ('url', 'id', 'name', 'stage', 'provisioner')
class EnvironmentAPI(viewsets.ReadOnlyModelViewSet):
"""
Environment API
"""
model = Environment
serializer_class = EnvironmentSerializer
queryset = Environment.objects.all()
filter_fields = (
'id',
'name',
... | <|file_sep|>dbaas/api/environment.py.diff
original:
from physical import models
updated:
from physical.models import Environment
<|file_sep|>dbaas/api/environment.py.diff
original:
model = models.Environment
fields = ('url', 'id', 'name',)
updated:
model = Environment
fields = ('url', 'i... | 3f65b43bce12739af8bb3dfc451a7f58a6af12b1 | dbaas/api/environment.py | dbaas/api/environment.py | Python |
<|file_sep|>original/_includes/header.html
<div id="particles-js">
<div class="content">
<h1>
<span class="site-title">{{site.username}}</span>
<span class="site-description">{{site.user_title}}</span>
</h1>
<div class="icons-header">
<a aria-label="Send email" href="mailto:{... | <div id="particles-js">
<div class="content">
<h1>
<span class="site-title">{{site.username}}</span>
<span class="site-description">{{site.user_title}}</span>
</h1>
<div class="icons-header">
<a aria-label="Send email" href="mailto:{{site.email}}"><i class="icon fa fa-envelop... | <|file_sep|>original/_includes/header.html
<div id="particles-js">
<div class="content">
<h1>
<span class="site-title">{{site.username}}</span>
<span class="site-description">{{site.user_title}}</span>
</h1>
<div class="icons-header">
<a aria-label="Send email" href="mailto:{... | 63c11bbd1be95f13cea6dcc40f17ad3fb2498eea | _includes/header.html | _includes/header.html | HTML |
<|file_sep|>original/.github/workflows/build.yml
<|file_sep|>current/.github/workflows/build.yml
<|file_sep|>updated/.github/workflows/build.yml | name: NodeJS with Webpack
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x]
steps:
- uses: actions/checkout@v2
# Consider setting up a dependency cache:
# https://git... | <|file_sep|>original/.github/workflows/build.yml
<|file_sep|>current/.github/workflows/build.yml
<|file_sep|>updated/.github/workflows/build.yml
name: NodeJS with Webpack
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
... | 92af06b4c1f3f00d022b8df2c71203de020caa21 | .github/workflows/build.yml | .github/workflows/build.yml | YAML |
<|file_sep|>app/views/koi/settings/_field_tags.html.erb.diff
original:
updated:
<%
tag_list = Setting.tag_counts_on(object.key.to_s.chomp('_list')).collect { |t| t.name }
tag_list = tag_list | object.data_source.call if object.data_source
%>
<|file_sep|>original/app/views/koi/settings/_field_tags.html.erb
<%-... | <%- id = "koi-#{ new_uuid }" -%>
<% if object.respond_to?("#{object.key.singularize}_list".to_sym) %>
<%= f.input "#{object.key.singularize}_list".to_sym, as: :string, input_html: { id: id, style: 'width:500px' }, label: label %>
<%= render "koi/admin_crud/form_field_collection_errors", f: f, attr: attr %>
<%
... | <|file_sep|>app/views/koi/settings/_field_tags.html.erb.diff
original:
updated:
<%
tag_list = Setting.tag_counts_on(object.key.to_s.chomp('_list')).collect { |t| t.name }
tag_list = tag_list | object.data_source.call if object.data_source
%>
<|file_sep|>original/app/views/koi/settings/_field_tags.html.erb
<%-... | d43499a51169569c58947ae854a8885667716116 | app/views/koi/settings/_field_tags.html.erb | app/views/koi/settings/_field_tags.html.erb | HTML+ERB |
<|file_sep|>original/.vscode/settings.json
{
"editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.renderWhitespace": true,
"files.encoding": "utf8",
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"search.exclude": {
"_drafts/**": true,
"_etc/**": true,
"_posts/**"... | {
"editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.renderWhitespace": true,
"files.encoding": "utf8",
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"search.exclude": {
"dist/**": true,
"node_modules/**": true
}
} | <|file_sep|>original/.vscode/settings.json
{
"editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.renderWhitespace": true,
"files.encoding": "utf8",
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"search.exclude": {
"_drafts/**": true,
"_etc/**": true,
"_posts/**"... | 98957f12c114b80a3d187a03c5c601cab5984834 | .vscode/settings.json | .vscode/settings.json | JSON |
<|file_sep|>original/src/main/java/com/easternedgerobotics/rov/io/MPX4250AP.java
package com.easternedgerobotics.rov.io;
import com.easternedgerobotics.rov.io.pololu.PololuMaestroInputChannel;
public class MPX4250AP {
/**
* Scalar value for calculating pressure from voltage.
*/
private static final ... | package com.easternedgerobotics.rov.io;
import com.easternedgerobotics.rov.io.pololu.PololuMaestroInputChannel;
/**
* A MPX4250 is an absolute pressure (AP) sensor. See also: <a href="http://goo.gl/n7c8tY">MPX4250</a>.
*/
public class MPX4250AP {
/**
* Scalar value for calculating pressure from voltage.
... | <|file_sep|>original/src/main/java/com/easternedgerobotics/rov/io/MPX4250AP.java
package com.easternedgerobotics.rov.io;
import com.easternedgerobotics.rov.io.pololu.PololuMaestroInputChannel;
public class MPX4250AP {
/**
* Scalar value for calculating pressure from voltage.
*/
private static final ... | 527e54b992d757166fb295e37d43674b81a7ac99 | src/main/java/com/easternedgerobotics/rov/io/MPX4250AP.java | src/main/java/com/easternedgerobotics/rov/io/MPX4250AP.java | Java |
<|file_sep|>playbooks/common.yml.diff
original:
- name: update package index
updated:
- name: update dpkg index
<|file_sep|>playbooks/common.yml.diff
original:
- apt: pkg={{ item }}
updated:
- name: python dependencies
apt: pkg={{ item }}
<|file_sep|>playbooks/common.yml.diff
original:
- git
updated:
<|file_sep|... | ---
- name: update dpkg index
apt: update_cache=yes
- name: python dependencies
apt: pkg={{ item }}
with_items:
- python-pip
- python-pip
- python-libxml2
- python-lxml
- python-greenlet
- apt: pkg=git
- name: /opt/stack
file: dest=/opt/stack state=directory | <|file_sep|>playbooks/common.yml.diff
original:
- name: update package index
updated:
- name: update dpkg index
<|file_sep|>playbooks/common.yml.diff
original:
- apt: pkg={{ item }}
updated:
- name: python dependencies
apt: pkg={{ item }}
<|file_sep|>playbooks/common.yml.diff
original:
- git
updated:
<|file_sep|... | eed83e8a224942d6d35f3f34f3d79d2589596ff7 | playbooks/common.yml | playbooks/common.yml | YAML |
<|file_sep|>app/models/metric/chargeback_helper.rb.diff
original:
keys = [tags, parent_host_id, parent_ems_cluster_id, parent_storage_id, parent_ems_id]
updated:
keys = [tags] + resource_parents.map(&:id)
<|file_sep|>app/models/metric/chargeback_helper.rb.diff
original:
tenant_resource = resource.try(:tenan... | def hash_features_affecting_rate
tags = tag_names.split('|').reject { |n| n.starts_with?('folder_path_') }.sort.join('|')
keys = [tags] + resource_parents.map(&:id)
keys += [resource.container_image, timestamp] if resource_type == Container.name
keys.join('_')
end
def tag_list_reconstruct
tag... | <|file_sep|>app/models/metric/chargeback_helper.rb.diff
original:
keys = [tags, parent_host_id, parent_ems_cluster_id, parent_storage_id, parent_ems_id]
updated:
keys = [tags] + resource_parents.map(&:id)
<|file_sep|>app/models/metric/chargeback_helper.rb.diff
original:
tenant_resource = resource.try(:tenan... | 3f484925000b3cff085f32d0668f906ce67b23c2 | app/models/metric/chargeback_helper.rb | app/models/metric/chargeback_helper.rb | Ruby |
<|file_sep|>original/.github/workflows/ci.yml
strategy:
fail-fast: false
matrix:
os: [ ubuntu, macos, windows ]
ruby: [ 2.3, 2.4, 2.5, 2.6, 2.7, ruby-head, truffleruby-head ]
exclude:
- os: windows
ruby: truffleruby-head
- os: windows
ruby: 2.3... | strategy:
fail-fast: false
matrix:
os: [ ubuntu, macos, windows ]
ruby: [ 2.3, 2.4, 2.5, 2.6, 2.7, ruby-head, truffleruby-head ]
exclude:
- os: windows
ruby: truffleruby-head
- os: windows
ruby: 2.3 # compilation fails
- os: macos
... | <|file_sep|>original/.github/workflows/ci.yml
strategy:
fail-fast: false
matrix:
os: [ ubuntu, macos, windows ]
ruby: [ 2.3, 2.4, 2.5, 2.6, 2.7, ruby-head, truffleruby-head ]
exclude:
- os: windows
ruby: truffleruby-head
- os: windows
ruby: 2.3... | 3b2593f0e4af2f3e5b8658ca8c56d2870d49dc98 | .github/workflows/ci.yml | .github/workflows/ci.yml | YAML |
<|file_sep|>.storybook/config.js.diff
original:
updated:
url: 'https://github.com/selvagsz/react-power-select',
<|file_sep|>original/.storybook/config.js
import { configure } from '@storybook/react';
import { setOptions } from '@storybook/addon-options';
setOptions({
name: 'React Power Select',
addonPanelInRigh... | import { configure } from '@storybook/react';
import { setOptions } from '@storybook/addon-options';
setOptions({
name: 'React Power Select',
url: 'https://github.com/selvagsz/react-power-select',
addonPanelInRight: true,
enableShortcuts: true,
});
// automatically import all files ending in *.stories.js
cons... | <|file_sep|>.storybook/config.js.diff
original:
updated:
url: 'https://github.com/selvagsz/react-power-select',
<|file_sep|>original/.storybook/config.js
import { configure } from '@storybook/react';
import { setOptions } from '@storybook/addon-options';
setOptions({
name: 'React Power Select',
addonPanelInRigh... | 1bbe4f3ffc23c941de095947a7c3a7ee219da083 | .storybook/config.js | .storybook/config.js | JavaScript |
<|file_sep|>original/.travis.yml
---
language: objective-c
before_script:
- sudo easy_install cpp-coveralls
script:
- xctool project MCUIViewLayoutExample/UIViewLayoutExample.xcodeproj -scheme UIViewLayoutExampleTests build test -sdk iphonesimulator -destination="iPhone" -arch i386 ONLY_ACTIVE_ARCH=NO
- xctool ... | ---
language: objective-c
before_script:
- sudo easy_install cpp-coveralls
script:
- xctool project MCUIViewLayoutExample/UIViewLayoutExample.xcodeproj -scheme UIViewLayoutExampleTests build test -sdk iphonesimulator -arch i386 ONLY_ACTIVE_ARCH=NO
after_success:
- ./coveralls.rb --extension m --exclude-folder ... | <|file_sep|>original/.travis.yml
---
language: objective-c
before_script:
- sudo easy_install cpp-coveralls
script:
- xctool project MCUIViewLayoutExample/UIViewLayoutExample.xcodeproj -scheme UIViewLayoutExampleTests build test -sdk iphonesimulator -destination="iPhone" -arch i386 ONLY_ACTIVE_ARCH=NO
- xctool ... | e41127c3f7223956076737cdd1fd8fc776ebc468 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements_dev.txt
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.4.1
tox==2.7.0
coverage==4.4.1
Sphinx==1.6.3
cryptography>=1.7
PyYAML==3.11
pytest==2.9.2
pytest-runner==2.11.1
<|file_sep|>current/requirements_dev.txt
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.4.1
tox... | bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.4.1
tox==2.7.0
coverage==4.4.1
Sphinx==1.6.3
cryptography>=1.7
PyYAML==3.12
pytest==2.9.2
pytest-runner==2.11.1 | <|file_sep|>original/requirements_dev.txt
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.4.1
tox==2.7.0
coverage==4.4.1
Sphinx==1.6.3
cryptography>=1.7
PyYAML==3.11
pytest==2.9.2
pytest-runner==2.11.1
<|file_sep|>current/requirements_dev.txt
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.4.1
tox... | 4c0eadc91624a7b1977eb22b608124ac7394a884 | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/test/long_test.py
<|file_sep|>current/test/long_test.py
<|file_sep|>updated/test/long_test.py | #!/usr/bin/python
import sys
from os import execv
from optparse import OptionParser
from cloud_retester import do_test, do_test_cloud, report_cloud, setup_testing_nodes, terminate_testing_nodes
long_test_branch = "long-test"
no_checkout_arg = "--no-checkout"
def exec_self(args):
execv("/usr/bin/env", ["python", s... | <|file_sep|>original/test/long_test.py
<|file_sep|>current/test/long_test.py
<|file_sep|>updated/test/long_test.py
#!/usr/bin/python
import sys
from os import execv
from optparse import OptionParser
from cloud_retester import do_test, do_test_cloud, report_cloud, setup_testing_nodes, terminate_testing_nodes
long_tes... | 4a5e5d07f3510394ac1112727c66ddd122762aa9 | test/long_test.py | test/long_test.py | Python |
<|file_sep|>original/requirements/dev.txt
-r common.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
coverage==4.4.2
Sphinx==1.6.5
cryptography==2.1.3
<|file_sep|>current/requirements/dev.txt
-r common.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
coverage==4... | -r common.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
coverage==4.4.2
Sphinx==1.6.5
cryptography==2.1.4 | <|file_sep|>original/requirements/dev.txt
-r common.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
coverage==4.4.2
Sphinx==1.6.5
cryptography==2.1.3
<|file_sep|>current/requirements/dev.txt
-r common.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
coverage==4... | ee8fa389929192724c7f406db6a49f0c275a75bd | requirements/dev.txt | requirements/dev.txt | Text |
<|file_sep|>original/packages/mr/mrm.yaml
<|file_sep|>current/packages/mr/mrm.yaml
<|file_sep|>updated/packages/mr/mrm.yaml | homepage: https://github.com/scmu/mrm
changelog-type: ''
hash: 2827591ee1f78d60cd1a3b9fa1a50db813b3c5d163fb2c28799faa01e34bff1f
test-bench-deps: {}
maintainer: suhorng@gmail.com
synopsis: Modular Refiable Matching, first-class matches
changelog: ''
basic-deps:
base: ! '>=4.7 && <4.8'
all-versions:
- '0.1.0.0'
author:... | <|file_sep|>original/packages/mr/mrm.yaml
<|file_sep|>current/packages/mr/mrm.yaml
<|file_sep|>updated/packages/mr/mrm.yaml
homepage: https://github.com/scmu/mrm
changelog-type: ''
hash: 2827591ee1f78d60cd1a3b9fa1a50db813b3c5d163fb2c28799faa01e34bff1f
test-bench-deps: {}
maintainer: suhorng@gmail.com
synopsis: Modula... | f028df157583df589ba91d7e8d8411b91c022cf1 | packages/mr/mrm.yaml | packages/mr/mrm.yaml | YAML |
<|file_sep|>original/Resources/views/breadcrumbs.html.twig
{% if wo_breadcrumbs()|length %}
<ul id="{{ listId }}" class="{{ listClass }}" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
{% for b in breadcrumbs %}
<li{% if itemClass is defined and itemClass|length %} class="{{ itemClass }}"{% end... | {% if wo_breadcrumbs()|length %}
{% spaceless %}
<ul id="{{ listId }}" class="{{ listClass }}" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
{% for b in breadcrumbs %}
<li{% if itemClass is defined and itemClass|length %} class="{{ itemClass }}"{% endif %}{% if not(loop.first) %} itemp... | <|file_sep|>original/Resources/views/breadcrumbs.html.twig
{% if wo_breadcrumbs()|length %}
<ul id="{{ listId }}" class="{{ listClass }}" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
{% for b in breadcrumbs %}
<li{% if itemClass is defined and itemClass|length %} class="{{ itemClass }}"{% end... | cd8d36429807ce4efa40662b51da9df3bdf86dd6 | Resources/views/breadcrumbs.html.twig | Resources/views/breadcrumbs.html.twig | Twig |
<|file_sep|>src/tstquery.cpp.diff
original:
* Copyright (c) 1998-2005, Index Data.
updated:
* Copyright (c) 1998-2006, Index Data.
<|file_sep|>src/tstquery.cpp.diff
original:
* $Id: tstquery.cpp,v 1.2 2006-03-29 13:14:15 adam Exp $
updated:
* $Id: tstquery.cpp,v 1.3 2006-07-07 12:57:15 adam Exp $
<|file_sep|>origin... | {
fprintf(stderr, "tstquery: query mismatch out=%s expected=%s\n",
query_str_out, query_expected);
exit(1);
}
}
int main(int argc, char **argv)
{
tst1("", "");
tst1("x", "RPN @attrset Bib-1 x");
tst1("@and a b", "RPN @attrset Bib-1 @and a b");
}
/*
* Local variables:
* c-basic-offset: 4
* i... | <|file_sep|>src/tstquery.cpp.diff
original:
* Copyright (c) 1998-2005, Index Data.
updated:
* Copyright (c) 1998-2006, Index Data.
<|file_sep|>src/tstquery.cpp.diff
original:
* $Id: tstquery.cpp,v 1.2 2006-03-29 13:14:15 adam Exp $
updated:
* $Id: tstquery.cpp,v 1.3 2006-07-07 12:57:15 adam Exp $
<|file_sep|>origin... | 93b7b5befe40c4a3f847c59071c4f2f6cd5325e7 | src/tstquery.cpp | src/tstquery.cpp | C++ |
<|file_sep|>original/composer.json
"license":"MIT",
"minimum-stability": "dev",
"authors": [
{
"name": "Rafał Muszyński",
"email": "rmuszynski1@gmail.com"
}
],
"require": {
"php": ">=5.5.9|^7.0",
"lullabot/amp": "1.0.*",
"symfony/framew... | "license":"MIT",
"minimum-stability": "dev",
"authors": [
{
"name": "Rafał Muszyński",
"email": "rmuszynski1@gmail.com"
}
],
"require": {
"php": ">=5.5.9|^7.0",
"lullabot/amp": "1.1.*",
"symfony/framework-bundle": "^3.0|^4.1",
"... | <|file_sep|>original/composer.json
"license":"MIT",
"minimum-stability": "dev",
"authors": [
{
"name": "Rafał Muszyński",
"email": "rmuszynski1@gmail.com"
}
],
"require": {
"php": ">=5.5.9|^7.0",
"lullabot/amp": "1.0.*",
"symfony/framew... | b06ea3a7abd1977b467156194e42bfb22d83426c | composer.json | composer.json | JSON |
<|file_sep|>original/test_3_amsaves.py
<|file_sep|>current/test_3_amsaves.py
<|file_sep|>updated/test_3_amsaves.py | #!/usr/bin/env python
__author__ = "Eric Allen Youngson"
__email__ = "eric@scneco.com"
__copyright__ = "Copyright 2015, Succession Ecological Services"
__license__ = "GNU Affero (GPLv3)"
""" This module provides functions for requesting results from the DeltaMeter
Services API * deltameterservices.com * """
impo... | <|file_sep|>original/test_3_amsaves.py
<|file_sep|>current/test_3_amsaves.py
<|file_sep|>updated/test_3_amsaves.py
#!/usr/bin/env python
__author__ = "Eric Allen Youngson"
__email__ = "eric@scneco.com"
__copyright__ = "Copyright 2015, Succession Ecological Services"
__license__ = "GNU Affero (GPLv3)"
""" This modul... | 0528ee6f8170eac9bc928ea9d52c59f2cf4f8f26 | test_3_amsaves.py | test_3_amsaves.py | Python |
<|file_sep|>.travis.yml.diff
original:
# does not have headers provided, please ask https://launchpad.net/~pypy/+archive/ppa
# command to install dependencies
updated:
env:
- TOLA_ERROR_LOG="error.log"
<|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
# does not have headers provided, please ask... | language: python
python:
- "2.7"
env:
- TOLA_ERROR_LOG="error.log"
install:
- pip install -r requirements.txt
script: python manage.py test | <|file_sep|>.travis.yml.diff
original:
# does not have headers provided, please ask https://launchpad.net/~pypy/+archive/ppa
# command to install dependencies
updated:
env:
- TOLA_ERROR_LOG="error.log"
<|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
# does not have headers provided, please ask... | 28eeb3c4cdd41f69e8587ca7e2560fd4434e9740 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
gds-hubot is the [Hubot](https://hubot.github.com/) running on the GDS Slack.
## Enabled plugins
See the full list in [external-scripts.json](external-scripts.json).
- **`hubot-pager-me`**. Connects to PagerDuty. Makes the bot tell `#2ndline` when
there's an alert. Also adds command... |
gds-hubot is the [Hubot](https://hubot.github.com/) running on the GDS Slack.
## Enabled plugins
See the full list in [external-scripts.json](external-scripts.json).
- **`hubot-pager-me`**. Connects to PagerDuty. Makes the bot tell `#2ndline` when
there's an alert. Also adds commands to query who's on call.
- **`... | <|file_sep|>original/README.md
gds-hubot is the [Hubot](https://hubot.github.com/) running on the GDS Slack.
## Enabled plugins
See the full list in [external-scripts.json](external-scripts.json).
- **`hubot-pager-me`**. Connects to PagerDuty. Makes the bot tell `#2ndline` when
there's an alert. Also adds command... | df2de23380a8130b6cb3d45b189ad6736086ee72 | README.md | README.md | Markdown |
<|file_sep|>original/README.md
Building
========
Get the latest OpenGL Registry.
wget https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/gl.xml
Build and run the generator.
cabal configure
cabal build opengl-wrangler-gen
./dist/build/opengl-wrangler-gen/opengl-wrangler-gen
Build and install th... | Building
========
Get the latest OpenGL Registry.
wget https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/gl.xml
Build and run the generator.
cabal configure -fgenerator
cabal build opengl-wrangler-gen
./dist/build/opengl-wrangler-gen/opengl-wrangler-gen
Build and install the library.
cabal ... | <|file_sep|>original/README.md
Building
========
Get the latest OpenGL Registry.
wget https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/gl.xml
Build and run the generator.
cabal configure
cabal build opengl-wrangler-gen
./dist/build/opengl-wrangler-gen/opengl-wrangler-gen
Build and install th... | 2ec792e8b6a5c5e05766b336fae56ad6fa564305 | README.md | README.md | Markdown |
<|file_sep|>models/score_board.rb.diff
original:
updated:
require 'json'
<|file_sep|>models/score_board.rb.diff
original:
SB_URI = "http://scores.espn.go.com/nba/scoreboard?date=%s"
GIDS_RE = %r|/nba/boxscore\?gameId=(\d+)|
updated:
SB_URI = "http://site.api.espn.com/apis/site/v2/sports/basketball/nba/scoreboa... | require_relative 'box_score'
class ScoreBoard
SB_URI = "http://site.api.espn.com/apis/site/v2/sports/basketball/nba/scoreboard?lang=en®ion=us&calendartype=blacklist&limit=100&dates=%s"
def initialize (d=nil)
date = d ? Date.new(2000 + d[0,2].to_i, d[2,2].to_i, d[4,2].to_i) : Date.today
gids = []
... | <|file_sep|>models/score_board.rb.diff
original:
updated:
require 'json'
<|file_sep|>models/score_board.rb.diff
original:
SB_URI = "http://scores.espn.go.com/nba/scoreboard?date=%s"
GIDS_RE = %r|/nba/boxscore\?gameId=(\d+)|
updated:
SB_URI = "http://site.api.espn.com/apis/site/v2/sports/basketball/nba/scoreboa... | b8ea857bd74c3665cdb3a21fc614cefdb9137b98 | models/score_board.rb | models/score_board.rb | Ruby |
<|file_sep|>.travis.yml.diff
original:
- 1.9
- 2.0
- 2.1
- 2.2
- 2.3.0
updated:
- 1.9.3
- 2.0.0
- 2.1.10
- 2.2.6
- 2.3.3
<|file_sep|>.travis.yml.diff
original:
- rvm: 1.9
updated:
- rvm: 1.9.3
<|file_sep|>.travis.yml.diff
original:
- rvm: 2.0
updated:
- rvm: 2.0.0
<|file_sep|>origina... | - 2.0.0
- 2.1.10
- 2.2.6
- 2.3.3
gemfile:
- gemfiles/3.2.gemfile
- gemfiles/4.2.gemfile
- gemfiles/5.0.gemfile
matrix:
exclude:
- rvm: 1.9.3
gemfile: gemfiles/5.0.gemfile
- rvm: 2.0.0
gemfile: gemfiles/5.0.gemfile
- rvm: 2.1.10
gemfile: gemfiles/5.0.gemfile
before_script... | <|file_sep|>.travis.yml.diff
original:
- 1.9
- 2.0
- 2.1
- 2.2
- 2.3.0
updated:
- 1.9.3
- 2.0.0
- 2.1.10
- 2.2.6
- 2.3.3
<|file_sep|>.travis.yml.diff
original:
- rvm: 1.9
updated:
- rvm: 1.9.3
<|file_sep|>.travis.yml.diff
original:
- rvm: 2.0
updated:
- rvm: 2.0.0
<|file_sep|>origina... | 49f637895c3847891c784ab3bbaedbd3b749a9c5 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
# cli base64 encoder/decoder #
This is just a "Hello world". My first rust exercise.
### Usage
```
Base64 encode or decode FILE, or standard input, to standard output.
Usage: base64 [options] [<file>]
base64 (--help | --version)
Options:
-d --decode decode data
-h --help ... | # cli base64 encoder/decoder #
[](https://travis-ci.org/zubchick/rust-base64)
This is just a "Hello world". My first rust exercise.
### Usage
```
Base64 encode or decode FILE, or standard input, to standard output.
Usage: base64 [options] ... | <|file_sep|>original/README.md
# cli base64 encoder/decoder #
This is just a "Hello world". My first rust exercise.
### Usage
```
Base64 encode or decode FILE, or standard input, to standard output.
Usage: base64 [options] [<file>]
base64 (--help | --version)
Options:
-d --decode decode data
-h --help ... | 8e575d65db0a18fba1fbc807bbc5a728acf5d301 | README.md | README.md | Markdown |
<|file_sep|>original/stock_planning/models/stock_move.py
_inherit = 'stock.move'
def _find_moves_from_stock_planning(
self, company, to_date, from_date=None, category=None, template=None,
product=None, location_id=None, location_dest_id=None):
cond = [('company_id', '=', company.id... |
_inherit = 'stock.move'
def _find_moves_from_stock_planning(
self, company, to_date, from_date=None, category=None, template=None,
product=None, location_id=None, location_dest_id=None):
cond = [('company_id', '=', company.id),
('date', '<=', to_date),
... | <|file_sep|>original/stock_planning/models/stock_move.py
_inherit = 'stock.move'
def _find_moves_from_stock_planning(
self, company, to_date, from_date=None, category=None, template=None,
product=None, location_id=None, location_dest_id=None):
cond = [('company_id', '=', company.id... | 3b6abde6b7deb662ef2c5b09f99b4a71baa62e4b | stock_planning/models/stock_move.py | stock_planning/models/stock_move.py | Python |
<|file_sep|>original/Lumina-DE/src/lumina-desktop/Globals.h
//===========================================
// Lumina-DE source code
// Copyright (c) 2012, Ken Moore
// Available under the 3-clause BSD license
// See the LICENSE file for full details
//===========================================
#ifndef _LUMINA_DESKT... | //===========================================
// Lumina-DE source code
// Copyright (c) 2012, Ken Moore
// Available under the 3-clause BSD license
// See the LICENSE file for full details
//===========================================
#ifndef _LUMINA_DESKTOP_GLOBALS_H
#define _LUMINA_DESKTOP_GLOBALS_H
#include <un... | <|file_sep|>original/Lumina-DE/src/lumina-desktop/Globals.h
//===========================================
// Lumina-DE source code
// Copyright (c) 2012, Ken Moore
// Available under the 3-clause BSD license
// See the LICENSE file for full details
//===========================================
#ifndef _LUMINA_DESKT... | 4ede882f2c2b3a2409bddbbd6cee9bbbfdead905 | Lumina-DE/src/lumina-desktop/Globals.h | Lumina-DE/src/lumina-desktop/Globals.h | C |
<|file_sep|>original/doc/source/compilation/index.rst
Build from sources
==================
Armadito agent can be built from sources by using Strawberry Perl dmake utility.
.. toctree::
<|file_sep|>current/doc/source/compilation/index.rst
Build from sources
==================
Armadito agent can be built from sources... | Build from sources
==================
Armadito agent can be built from sources by using `Strawberry Perl <http://strawberryperl.com/>`_.
.. toctree:: | <|file_sep|>original/doc/source/compilation/index.rst
Build from sources
==================
Armadito agent can be built from sources by using Strawberry Perl dmake utility.
.. toctree::
<|file_sep|>current/doc/source/compilation/index.rst
Build from sources
==================
Armadito agent can be built from sources... | 39c12c1e3aa5d9eae162938b34a0d514549ace72 | doc/source/compilation/index.rst | doc/source/compilation/index.rst | reStructuredText |
<|file_sep|>original/src/main/scala/com/dataember/stash/plugin/config/NatsProps.scala
<|file_sep|>current/src/main/scala/com/dataember/stash/plugin/config/NatsProps.scala
<|file_sep|>updated/src/main/scala/com/dataember/stash/plugin/config/NatsProps.scala | package com.dataember.stash.plugin.config
/**
* Created on 29/11/15.
*/
object NatsProps {
val NATS_SERVERS_KEY = "servers"
} | <|file_sep|>original/src/main/scala/com/dataember/stash/plugin/config/NatsProps.scala
<|file_sep|>current/src/main/scala/com/dataember/stash/plugin/config/NatsProps.scala
<|file_sep|>updated/src/main/scala/com/dataember/stash/plugin/config/NatsProps.scala
package com.dataember.stash.plugin.config
/**
* Created on ... | fcd17f7f8286822f2b255b066f8c8d813cfece35 | src/main/scala/com/dataember/stash/plugin/config/NatsProps.scala | src/main/scala/com/dataember/stash/plugin/config/NatsProps.scala | Scala |
<|file_sep|>original/ports/atmel-samd/boards/pirkey_m0/mpconfigboard.mk
LONGINT_IMPL = NONE
# A number of modules are removed for pIRKey to make room for frozen libraries.
# Many I/O functions are not available.
# math is very large and is also removed.
CIRCUITPY_ANALOGIO = 0
CIRCUITPY_MATH = 0
CIRCUITPY_NEOPIXEL_WRIT... | LONGINT_IMPL = NONE
# A number of modules are removed for pIRKey to make room for frozen libraries.
# Many I/O functions are not available.
# math is very large and is also removed.
CIRCUITPY_ANALOGIO = 0
CIRCUITPY_MATH = 0
CIRCUITPY_NEOPIXEL_WRITE = 0
CIRCUITPY_ROTARYIO = 0
CIRCUITPY_RTC = 0
CIRCUITPY_SAMD = 0
CIRCUI... | <|file_sep|>original/ports/atmel-samd/boards/pirkey_m0/mpconfigboard.mk
LONGINT_IMPL = NONE
# A number of modules are removed for pIRKey to make room for frozen libraries.
# Many I/O functions are not available.
# math is very large and is also removed.
CIRCUITPY_ANALOGIO = 0
CIRCUITPY_MATH = 0
CIRCUITPY_NEOPIXEL_WRIT... | 58ad38a88ed3e7dc33ca911f889f5a6b3aebae22 | ports/atmel-samd/boards/pirkey_m0/mpconfigboard.mk | ports/atmel-samd/boards/pirkey_m0/mpconfigboard.mk | Makefile |
<|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
- "3.6"
# command to install dependencies
install:
- pip install werkzeug
- pip install -r requirements.txt
# command to run tests
script:
- pytest # or py.test for Python versions 3.5 and below
<|file_sep|>current/.travis.yml
language: python
... | language: python
python:
- "2.7"
# command to install dependencies
install:
- pip install werkzeug
- pip install -r requirements.txt
# command to run tests
script:
- pytest # or py.test for Python versions 3.5 and below | <|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
- "3.6"
# command to install dependencies
install:
- pip install werkzeug
- pip install -r requirements.txt
# command to run tests
script:
- pytest # or py.test for Python versions 3.5 and below
<|file_sep|>current/.travis.yml
language: python
... | 459e667d0567ce88cf9179b94141337c1af8464f | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/components/semantic-ui/ui-autocomplete.js
this.endpoint.find(path, params).then(data => {
callback(data);
});
}
this.updateFromDropdown = (value, text, choice) => {
this.value = value;
}
}
attached() {
... | this.endpoint.find(path, params).then(data => {
callback(data);
});
}
this.updateFromDropdown = (value, text, choice) => {
this.value = value;
}
}
defaultTextChanged(value) {
if (this.dropdown) {
this.dropdown.drop... | <|file_sep|>original/src/components/semantic-ui/ui-autocomplete.js
this.endpoint.find(path, params).then(data => {
callback(data);
});
}
this.updateFromDropdown = (value, text, choice) => {
this.value = value;
}
}
attached() {
... | 4cf41109e84dbb265fd6778b7e62dafc9d11f206 | src/components/semantic-ui/ui-autocomplete.js | src/components/semantic-ui/ui-autocomplete.js | JavaScript |
<|file_sep|>app/drivers/mslookup/base.py.diff
original:
updated:
import os
<|file_sep|>original/app/drivers/mslookup/base.py
from app.drivers.base import BaseDriver
class LookupDriver(BaseDriver):
def __init__(self, **kwargs):
super().__init__(**kwargs)
self.lookupfn = kwargs.get('lookup', None)... |
class LookupDriver(BaseDriver):
def __init__(self, **kwargs):
super().__init__(**kwargs)
self.lookupfn = kwargs.get('lookup', None)
self.initialize_lookup()
def initialize_lookup(self):
if self.lookupfn is not None:
self.lookup = lookups.get_lookup(self.lookupfn, s... | <|file_sep|>app/drivers/mslookup/base.py.diff
original:
updated:
import os
<|file_sep|>original/app/drivers/mslookup/base.py
from app.drivers.base import BaseDriver
class LookupDriver(BaseDriver):
def __init__(self, **kwargs):
super().__init__(**kwargs)
self.lookupfn = kwargs.get('lookup', None)... | 1c22ac91789c2e7230f1c97e9d4def0dfcf13638 | app/drivers/mslookup/base.py | app/drivers/mslookup/base.py | Python |
<|file_sep|>original/.eslintrc.json
"commonjs": true,
"es6": true
},
"extends": ["eslint:recommended"],
"parserOptions": {
"sourceType": "module"
},
"rules": {
"indent": [
"error",
2
],
"linebreak-style": [
"error",
... | "commonjs": true,
"es6": true
},
"extends": ["eslint:recommended"],
"parserOptions": {
"sourceType": "module"
},
"rules": {
"indent": [
"error",
2,
{
"SwitchCase": 1
}
],
"linebreak-style": ... | <|file_sep|>original/.eslintrc.json
"commonjs": true,
"es6": true
},
"extends": ["eslint:recommended"],
"parserOptions": {
"sourceType": "module"
},
"rules": {
"indent": [
"error",
2
],
"linebreak-style": [
"error",
... | 0ec8aa0ec90615e5eafcd765e8e340dedd2895f0 | .eslintrc.json | .eslintrc.json | JSON |
<|file_sep|>original/bower.json
{
"name": "uservoice-trigger-directive",
"version": "0.0.3",
"main": "randomclass-directive.js",
"ignore": [
],
"dependencies": {
"angular": ">=1.2.0"
}
}
<|file_sep|>current/bower.json
{
"name": "uservoice-trigger-directive",
"version": "0.0.3",
"main": "randomclass-directiv... | {
"name": "uservoice-trigger-directive",
"version": "0.0.3",
"main": "uservoice-trigger-directive.js",
"ignore": [
],
"dependencies": {
"angular": ">=1.2.0"
}
} | <|file_sep|>original/bower.json
{
"name": "uservoice-trigger-directive",
"version": "0.0.3",
"main": "randomclass-directive.js",
"ignore": [
],
"dependencies": {
"angular": ">=1.2.0"
}
}
<|file_sep|>current/bower.json
{
"name": "uservoice-trigger-directive",
"version": "0.0.3",
"main": "randomclass-directiv... | 52709a4b43fc2cff041bb7a5d858d6cd0c9166fb | bower.json | bower.json | JSON |
<|file_sep|>original/pygotham/frontend/templates/talks/detail.html
{% extends 'layouts/base.html' %}
{% block title %}Talk - {{ talk }} - {{ super() }}{% endblock %}
{% block content %}
<div class="row">
<h1>{{ talk }}</h1>
{% if talk.presentation %}
<small>{{ talk.presentation.slot }}</small>
{%... | {% extends 'layouts/base.html' %}
{% block title %}Talk - {{ talk }} - {{ super() }}{% endblock %}
{% block content %}
<div class="row">
<h1>{{ talk }}</h1>
{% if current_event.schedule_is_published and talk.presentation %}
<small>{{ talk.presentation.slot }}</small>
{% endif %}
<h4>
<... | <|file_sep|>original/pygotham/frontend/templates/talks/detail.html
{% extends 'layouts/base.html' %}
{% block title %}Talk - {{ talk }} - {{ super() }}{% endblock %}
{% block content %}
<div class="row">
<h1>{{ talk }}</h1>
{% if talk.presentation %}
<small>{{ talk.presentation.slot }}</small>
{%... | c1c53e74e4d7dd01e829e84e28ba3266f2c9bcae | pygotham/frontend/templates/talks/detail.html | pygotham/frontend/templates/talks/detail.html | HTML |
<|file_sep|>original/vim/settings/command-t.vim
" ------------------------------------------------------------------------------
" Command-T and related configuration
" ------------------------------------------------------------------------------
if &term =~ "xterm" || &term =~ "screen"
" Ensure Escape key can clos... | " ------------------------------------------------------------------------------
" Command-T and related configuration
" ------------------------------------------------------------------------------
if &term =~ "xterm" || &term =~ "screen"
" Ensure Escape key can close the match listing in Command-T
let g:Command... | <|file_sep|>original/vim/settings/command-t.vim
" ------------------------------------------------------------------------------
" Command-T and related configuration
" ------------------------------------------------------------------------------
if &term =~ "xterm" || &term =~ "screen"
" Ensure Escape key can clos... | 8152617ce6a35cd315ebba302c387a8592ab4893 | vim/settings/command-t.vim | vim/settings/command-t.vim | VimL |
<|file_sep|>original/setup.py
version="0.0.1",
description="AreTheySlimYet",
long_description="A set of tools for measuring cross-browser, cross-platform memory usage.",
url="https://github.com/EricRahm/atsy",
author="Eric Rahm",
author_email="erahm@mozilla.com",
license="MPL 2.0",
class... | version="0.0.1",
description="AreTheySlimYet",
long_description="A set of tools for measuring cross-browser, cross-platform memory usage.",
url="https://github.com/EricRahm/atsy",
author="Eric Rahm",
author_email="erahm@mozilla.com",
license="MPL 2.0",
classifiers=[
"License :: OSI... | <|file_sep|>original/setup.py
version="0.0.1",
description="AreTheySlimYet",
long_description="A set of tools for measuring cross-browser, cross-platform memory usage.",
url="https://github.com/EricRahm/atsy",
author="Eric Rahm",
author_email="erahm@mozilla.com",
license="MPL 2.0",
class... | 24b2e522f88338ed660744058274d0c233acb745 | setup.py | setup.py | Python |
<|file_sep|>original/alembic/versions/35597d56e8d_add_ckan_boolean_to_mod_table.py
"""Add ckan boolean to mod table
Revision ID: 35597d56e8d
Revises: 18af22fa9e4
Create Date: 2014-12-12 20:11:22.250080
"""
# revision identifiers, used by Alembic.
revision = '35597d56e8d'
down_revision = '18af22fa9e4'
from alembic i... | """Add ckan boolean to mod table
Revision ID: 35597d56e8d
Revises: 18af22fa9e4
Create Date: 2014-12-12 20:11:22.250080
"""
# revision identifiers, used by Alembic.
revision = '35597d56e8d'
down_revision = '50b5a95300c'
from alembic import op
import sqlalchemy as sa
def upgrade():
### commands auto generated b... | <|file_sep|>original/alembic/versions/35597d56e8d_add_ckan_boolean_to_mod_table.py
"""Add ckan boolean to mod table
Revision ID: 35597d56e8d
Revises: 18af22fa9e4
Create Date: 2014-12-12 20:11:22.250080
"""
# revision identifiers, used by Alembic.
revision = '35597d56e8d'
down_revision = '18af22fa9e4'
from alembic i... | ddfdddad65a96198d6949c138ad9980188250b92 | alembic/versions/35597d56e8d_add_ckan_boolean_to_mod_table.py | alembic/versions/35597d56e8d_add_ckan_boolean_to_mod_table.py | Python |
<|file_sep|>twitchbot.pike.diff
original:
updated:
if (sscanf(msg, "\1ACTION %s\1", string slashme)) msg = person->nick+" "+slashme;
else msg = person->nick+": "+msg;
<|file_sep|>original/twitchbot.pike
object irc;
void message(object person,string msg,string to)
{
string pfx=sprintf("[%s] ",to);
int wid = Stdio.... | object irc;
void message(object person,string msg,string to)
{
if (sscanf(msg, "\1ACTION %s\1", string slashme)) msg = person->nick+" "+slashme;
else msg = person->nick+": "+msg;
string pfx=sprintf("[%s] ",to);
int wid = Stdio.stdin->tcgetattr()->columns - sizeof(pfx);
write("%*s%-=*s\n",sizeof(pfx),pfx,wid,msg);... | <|file_sep|>twitchbot.pike.diff
original:
updated:
if (sscanf(msg, "\1ACTION %s\1", string slashme)) msg = person->nick+" "+slashme;
else msg = person->nick+": "+msg;
<|file_sep|>original/twitchbot.pike
object irc;
void message(object person,string msg,string to)
{
string pfx=sprintf("[%s] ",to);
int wid = Stdio.... | 9b6b58c7ba2f1292aca975cf660ec4cf1d604677 | twitchbot.pike | twitchbot.pike | Pike |
<|file_sep|>original/src/BryanCrowe/Growl.php
<?php
namespace BryanCrowe;
class Growl
{
public function __construct() {}
public function growl($message = null, $options = []) {}
public function createCommand()
{
switch (PHP_OS) {
case 'Darwin':
if (exec('which grow... | <?php
namespace BryanCrowe;
class Growl
{
public function __construct() {}
/**
* Options:
* - title The title
* - subtitle The subtitle
* - sticky Make it sticky. Defaults to false
*
*/
public function growl($message = null, $options = []) {
$args = $this->createCo... | <|file_sep|>original/src/BryanCrowe/Growl.php
<?php
namespace BryanCrowe;
class Growl
{
public function __construct() {}
public function growl($message = null, $options = []) {}
public function createCommand()
{
switch (PHP_OS) {
case 'Darwin':
if (exec('which grow... | db7f3125a4b6548532211ef8314b244e1413d949 | src/BryanCrowe/Growl.php | src/BryanCrowe/Growl.php | PHP |
<|file_sep|>original/src/app/components/game/game.tpl.html
<span>Game Started at {{model.game.createdAt}}</span>
<players></players>
<button
class="btn btn-primary new-game"
type="submit"
ng-click="gameCtrl.newGame()"
ng-disabled="!canStartGame"
ng-hide="model.game"
>New Game</button>
<|file_sep|>current/src/app/... | <span>Game Started at {{model.game.createdAt}}</span>
<div class="play-area clearfix" ng-if="model.game">
<deck type="main" deck-id="model.game.decks[0]" pModel="gameCtrl.playerModel"></deck>
<deck type="hoard" deck-id="model.game.decks[1]"></deck>
</div>
<players></players>
<button
class="btn btn-primary new-game"
... | <|file_sep|>original/src/app/components/game/game.tpl.html
<span>Game Started at {{model.game.createdAt}}</span>
<players></players>
<button
class="btn btn-primary new-game"
type="submit"
ng-click="gameCtrl.newGame()"
ng-disabled="!canStartGame"
ng-hide="model.game"
>New Game</button>
<|file_sep|>current/src/app/... | d0dc8e07bfeb33025e042379271ff5976b141881 | src/app/components/game/game.tpl.html | src/app/components/game/game.tpl.html | HTML |
<|file_sep|>original/requirements_dev.txt
pip==20.2.4
bumpversion==0.6.0
wheel==0.36.1
watchdog==0.10.3
flake8==3.8.4
tox==3.20.1
coverage==5.3
Sphinx==3.2.1
cryptography==3.3.1
PyYAML==5.3.1
pytest==5.3.5
pytest-runner==5.2
vcrpy==2.1.1
twine==3.2.0
<|file_sep|>current/requirements_dev.txt
pip==20.2.4
bumpversion==0.6... | pip==20.2.4
bumpversion==0.6.0
wheel==0.36.1
watchdog==0.10.3
flake8==3.8.4
tox==3.20.1
coverage==5.3
Sphinx==3.2.1
cryptography==3.3.1
PyYAML==5.3.1
pytest==6.2.1
pytest-runner==5.2
vcrpy==2.1.1
twine==3.2.0 | <|file_sep|>original/requirements_dev.txt
pip==20.2.4
bumpversion==0.6.0
wheel==0.36.1
watchdog==0.10.3
flake8==3.8.4
tox==3.20.1
coverage==5.3
Sphinx==3.2.1
cryptography==3.3.1
PyYAML==5.3.1
pytest==5.3.5
pytest-runner==5.2
vcrpy==2.1.1
twine==3.2.0
<|file_sep|>current/requirements_dev.txt
pip==20.2.4
bumpversion==0.6... | dff615a04d80b064e6512d9efcb450cecc362526 | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>bower.json.diff
original:
updated:
"require-css": "~0.1.1",
<|file_sep|>original/bower.json
"ignore": [
"**/.*",
"dist",
"node_modules"
],
"dependencies": {
"jquery": "~2.1.0",
"lodash": "~2.4.1",
"backbone": "~1.1.0",
"backbone-associations": "~0.5.5",
"bootstrap"... | "node_modules"
],
"dependencies": {
"jquery": "~2.1.0",
"lodash": "~2.4.1",
"backbone": "~1.1.0",
"backbone-associations": "~0.5.5",
"bootstrap": "~3.1.0",
"requirejs": "~2.1.10",
"requirejs-text": "~2.0.10",
"require-cs": "~0.4.4",
"require-css": "~0.1.1",
"require-less"... | <|file_sep|>bower.json.diff
original:
updated:
"require-css": "~0.1.1",
<|file_sep|>original/bower.json
"ignore": [
"**/.*",
"dist",
"node_modules"
],
"dependencies": {
"jquery": "~2.1.0",
"lodash": "~2.4.1",
"backbone": "~1.1.0",
"backbone-associations": "~0.5.5",
"bootstrap"... | d2d52c744a95c06dd227615f0c5f06c46883b8bb | bower.json | bower.json | JSON |
<|file_sep|>original/openmm-dev/meta.yaml
package:
name: openmm-dev
version: !!str dev
source:
url: https://github.com/pandegroup/openmm/archive/master.zip
fn: master.zip
patches:
# remove this after the first release (6.2.1 or 6.3.0) in which
# PR #780 is part of release
#- openmm-pr-780.patch
... | package:
name: openmm-dev
version: !!str dev
source:
git: https://github.com/pandegroup/openmm.git
patches:
# remove this after the first release (6.2.1 or 6.3.0) in which
# PR #780 is part of release
#- openmm-pr-780.patch
build:
number: 1
preserve_egg_dir: yes
requirements:
build:
# ... | <|file_sep|>original/openmm-dev/meta.yaml
package:
name: openmm-dev
version: !!str dev
source:
url: https://github.com/pandegroup/openmm/archive/master.zip
fn: master.zip
patches:
# remove this after the first release (6.2.1 or 6.3.0) in which
# PR #780 is part of release
#- openmm-pr-780.patch
... | bb27c835592b78f1679e6b29e1291ecf67e37a10 | openmm-dev/meta.yaml | openmm-dev/meta.yaml | YAML |
<|file_sep|>original/ressrc/images/dialog/style.css
svg {
stroke-width: 2;
stroke-linecap: round;
stroke-linejoin: round;
}
.gray {
fill: hsl( 0, 0%, 55%);
stroke: hsl( 0, 0%, 35%);
}
<|file_sep|>current/ressrc/images/dialog/style.css
svg {
stroke-width: 2;
stroke-linecap: round;
stroke-linej... | svg {
stroke-width: 2;
stroke-linecap: round;
stroke-linejoin: round;
}
#foreground {
fill: hsl( 0, 0%, 100%);
}
.gray {
fill: hsl( 0, 0%, 55%);
stroke: hsl( 0, 0%, 35%);
} | <|file_sep|>original/ressrc/images/dialog/style.css
svg {
stroke-width: 2;
stroke-linecap: round;
stroke-linejoin: round;
}
.gray {
fill: hsl( 0, 0%, 55%);
stroke: hsl( 0, 0%, 35%);
}
<|file_sep|>current/ressrc/images/dialog/style.css
svg {
stroke-width: 2;
stroke-linecap: round;
stroke-linej... | 6119199378390aa7dfa901377b061a60132fd221 | ressrc/images/dialog/style.css | ressrc/images/dialog/style.css | CSS |
<|file_sep|>original/bower.json
{
"name": "ember-cli-emflux",
"dependencies": {
"ember": "2.1.0",
"ember-cli-shims": "ember-cli/ember-cli-shims#0.0.3",
"ember-cli-test-loader": "ember-cli-test-loader#0.1.3",
"ember-load-initializers": "ember-cli/ember-load-initializers#0.1.5",
"ember-qunit": "0.... | {
"name": "ember-cli-emflux",
"dependencies": {
"ember": "2.1.0",
"ember-cli-shims": "ember-cli/ember-cli-shims#0.0.3",
"ember-cli-test-loader": "ember-cli-test-loader#0.1.3",
"ember-load-initializers": "ember-cli/ember-load-initializers#0.1.5",
"ember-qunit": "0.4.9",
"ember-qunit-notificat... | <|file_sep|>original/bower.json
{
"name": "ember-cli-emflux",
"dependencies": {
"ember": "2.1.0",
"ember-cli-shims": "ember-cli/ember-cli-shims#0.0.3",
"ember-cli-test-loader": "ember-cli-test-loader#0.1.3",
"ember-load-initializers": "ember-cli/ember-load-initializers#0.1.5",
"ember-qunit": "0.... | 8709656973defce6072c0e02e56467202b79514c | bower.json | bower.json | JSON |
<|file_sep|>lib/modules/wdpa/carto_db_importer.rb.diff
original:
updated:
cartodb_uploader = CartoDb::Uploader.new @cartodb_username, @cartodb_api_key
<|file_sep|>original/lib/modules/wdpa/carto_db_importer.rb
@shapefiles[table] =
Ogr::Split.split(@wdpa_release.gdb_path, table, 5, STANDARD_COLUMNS)
... | @shapefiles[table] =
Ogr::Split.split(@wdpa_release.gdb_path, table, 5, STANDARD_COLUMNS)
end
end
def upload
cartodb_uploader = CartoDb::Uploader.new @cartodb_username, @cartodb_api_key
@shapefiles.each do |table_name, shapefiles|
shapefiles.each do |shapefile|
upload_succe... | <|file_sep|>lib/modules/wdpa/carto_db_importer.rb.diff
original:
updated:
cartodb_uploader = CartoDb::Uploader.new @cartodb_username, @cartodb_api_key
<|file_sep|>original/lib/modules/wdpa/carto_db_importer.rb
@shapefiles[table] =
Ogr::Split.split(@wdpa_release.gdb_path, table, 5, STANDARD_COLUMNS)
... | 4f7fece8b3c4e93ce0fa390bb32f33d5e141dc94 | lib/modules/wdpa/carto_db_importer.rb | lib/modules/wdpa/carto_db_importer.rb | Ruby |
<|file_sep|>original/web/web_config.py
#!/usr/bin/python3
"""
Configuration settings for server.py.
"""
HOSTNAME = "localhost"
PORT = 8080 # integer
OK_RESPONSE = 200
<|file_sep|>current/web/web_config.py
#!/usr/bin/python3
"""
Configuration settings for server.py.
"""
HOSTNAME = "localhost"
PORT = 8080 # int... | #!/usr/bin/python3
"""
Configuration settings for server.py.
"""
HOSTNAME = "localhost"
PORT = 2424 # integer
OK_RESPONSE = 200
| <|file_sep|>original/web/web_config.py
#!/usr/bin/python3
"""
Configuration settings for server.py.
"""
HOSTNAME = "localhost"
PORT = 8080 # integer
OK_RESPONSE = 200
<|file_sep|>current/web/web_config.py
#!/usr/bin/python3
"""
Configuration settings for server.py.
"""
HOSTNAME = "localhost"
PORT = 8080 # int... | 580425162c9c84dee5cb78aa90b0992af4316bd7 | web/web_config.py | web/web_config.py | Python |
<|file_sep|>lib/tanuki/extensions/module.rb.diff
original:
def const_missing_with_tanuki(const)
paths = Dir.glob(Tanuki::Loader.combined_class_path(sym))
unless paths.empty?
updated:
def const_missing_with_tanuki(sym)
klass = "#{name + '::' if name != 'Object'}#{sym}"
paths = Dir.glob(Tanuki::Loader... | klass = "#{name + '::' if name != 'Object'}#{sym}"
paths = Dir.glob(Tanuki::Loader.combined_class_path(klass))
if paths.empty?
puts "Creating: #{klass}"
const_set(sym, Class.new)
else
puts "Loading: #{klass}"
paths.reverse_each {|path| require path }
const_defined?(sym) ? c... | <|file_sep|>lib/tanuki/extensions/module.rb.diff
original:
def const_missing_with_tanuki(const)
paths = Dir.glob(Tanuki::Loader.combined_class_path(sym))
unless paths.empty?
updated:
def const_missing_with_tanuki(sym)
klass = "#{name + '::' if name != 'Object'}#{sym}"
paths = Dir.glob(Tanuki::Loader... | 21bf8b02db3c142d74f126de8d81225fb2441fad | lib/tanuki/extensions/module.rb | lib/tanuki/extensions/module.rb | Ruby |
<|file_sep|>original/src/JoBeetBundle/Tests/Utils/JoBeetTest.php
<?php
// src/JoBeetBundle/Tests/Utils/JoBeetTest.php
namespace JoBeetBundle\Tests\Utils;
use JoBeetBundle\Utils\JoBeet;
class JoBeetTest extends \PHPUnit_Framework_TestCase
{
public function testSlugify()
{
$this->assertEquals('sensio', Jobeet::... | <?php
// src/JoBeetBundle/Tests/Utils/JoBeetTest.php
namespace JoBeetBundle\Tests\Utils;
use JoBeetBundle\Utils\JoBeet;
class JoBeetTest extends \PHPUnit_Framework_TestCase
{
public function testSlugify()
{
$this->assertEquals('sensio', Jobeet::slugify('Sensio'));
$this->assertEquals('sensio-labs', Jobeet... | <|file_sep|>original/src/JoBeetBundle/Tests/Utils/JoBeetTest.php
<?php
// src/JoBeetBundle/Tests/Utils/JoBeetTest.php
namespace JoBeetBundle\Tests\Utils;
use JoBeetBundle\Utils\JoBeet;
class JoBeetTest extends \PHPUnit_Framework_TestCase
{
public function testSlugify()
{
$this->assertEquals('sensio', Jobeet::... | 18fee30f12e8607d38001e05a63e19bc7a4fa254 | src/JoBeetBundle/Tests/Utils/JoBeetTest.php | src/JoBeetBundle/Tests/Utils/JoBeetTest.php | PHP |
<|file_sep|>README.md.diff
original:
Link to the Website: https://step2020-team36-capstone.appspot.com/
updated:
Link to the Website (personal deployment): http://engage-step.appspot.com/
Link to the Website (Google deployment): https://step2020-team36-capstone.appspot.com/
<|file_sep|>original/README.md
# STEP 2020 Ca... | # STEP 2020 Capstone project
Link to the Website (personal deployment): http://engage-step.appspot.com/
Link to the Website (Google deployment): https://step2020-team36-capstone.appspot.com/
Our objective is to provide users with relevant news and action-initiatives based on their interests We want users to be able t... | <|file_sep|>README.md.diff
original:
Link to the Website: https://step2020-team36-capstone.appspot.com/
updated:
Link to the Website (personal deployment): http://engage-step.appspot.com/
Link to the Website (Google deployment): https://step2020-team36-capstone.appspot.com/
<|file_sep|>original/README.md
# STEP 2020 Ca... | b4afecc18dbec156a86c42354ebba6130bb2c93e | README.md | README.md | Markdown |
<|file_sep|>original/tools/manylinux-build/build-wheels.sh
# Bundle external shared libraries into the wheels
for whl in wheelhouse/pymunk*.whl; do
auditwheel repair $whl -w /io/tools/manylinux-build/wheelhouse/
done
# Dummy options for headless testing
export SDL_AUDIODRIVER=disk
export SDL_VIDEODRIVER=dummy
# ... | # Bundle external shared libraries into the wheels
for whl in wheelhouse/pymunk*.whl; do
auditwheel repair $whl -w /io/tools/manylinux-build/wheelhouse/
done
# Dummy options for headless testing
export SDL_AUDIODRIVER=disk
export SDL_VIDEODRIVER=dummy
# Install packages and test
# for PYVER in $SUPPORTED_PYTHONS;... | <|file_sep|>original/tools/manylinux-build/build-wheels.sh
# Bundle external shared libraries into the wheels
for whl in wheelhouse/pymunk*.whl; do
auditwheel repair $whl -w /io/tools/manylinux-build/wheelhouse/
done
# Dummy options for headless testing
export SDL_AUDIODRIVER=disk
export SDL_VIDEODRIVER=dummy
# ... | 61810e2ea6aa22f042b43c00e58238425ddd1d56 | tools/manylinux-build/build-wheels.sh | tools/manylinux-build/build-wheels.sh | Shell |
<|file_sep|>original/tools/access_code_finder.sh
<|file_sep|>current/tools/access_code_finder.sh
<|file_sep|>updated/tools/access_code_finder.sh | #!/usr/bin/env bash
no_clipboard=FALSE
quiet=FALSE
function ShowHelp() {
local -r script_name=`basename $0`
echo "Using:"
echo -e "\t$script_name -h | --help"
echo -e "\t$script_name [-c | --no-clipboard]"
echo -e "\t$script_name [-q | --quiet]"
echo ""
echo "Options:"
echo -e "\t-h, --help - show h... | <|file_sep|>original/tools/access_code_finder.sh
<|file_sep|>current/tools/access_code_finder.sh
<|file_sep|>updated/tools/access_code_finder.sh
#!/usr/bin/env bash
no_clipboard=FALSE
quiet=FALSE
function ShowHelp() {
local -r script_name=`basename $0`
echo "Using:"
echo -e "\t$script_name -h | --help"
echo -e... | 3ea147567d4ae2ad2e67d5bd7b66f8ddf48adcdd | tools/access_code_finder.sh | tools/access_code_finder.sh | Shell |
<|file_sep|>original/ptrhost.go
}
func main() {
parser := flags.NewParser(&opts, flags.Default)
parser.Usage = "HOSTNAME [OPTIONS]"
args, _ := parser.Parse()
if len(args) == 0 {
if opts.Version {
fmt.Println("ptrhost version", version)
}
os.Exit(1)
}
hostname := args[0]
addr, _ := net.LookupHost(host... | parser.Usage = "HOSTNAME [OPTIONS]"
args, _ := parser.Parse()
if len(args) == 0 {
if opts.Version {
fmt.Println("ptrhost version", version)
}
os.Exit(1)
}
hostname := args[0]
addr, _ := net.LookupHost(hostname)
for _, v := range addr {
resolvedHost, err := net.LookupAddr(v)
if err == nil {
fmt.... | <|file_sep|>original/ptrhost.go
}
func main() {
parser := flags.NewParser(&opts, flags.Default)
parser.Usage = "HOSTNAME [OPTIONS]"
args, _ := parser.Parse()
if len(args) == 0 {
if opts.Version {
fmt.Println("ptrhost version", version)
}
os.Exit(1)
}
hostname := args[0]
addr, _ := net.LookupHost(host... | 6449899e67646ca113f8dcb20bdf5060ceef86e3 | ptrhost.go | ptrhost.go | Go |
<|file_sep|>original/index.js
var parse = require('coffee-script').compile;
exports.extension = 'coffee';
exports.compile = function (src, options) {
var opts = { bare: true }, code, data, map;
if (!options.sourceMap) return { code: parse(src, opts) };
opts.sourceMap = true;
data = parse(src, opts);
// Include ... |
var parse = require('coffee-script').compile;
exports.extension = 'coffee';
exports.compile = function (src, options) {
var opts = { bare: true }, code, data, map;
if (!options.sourceMap) return { code: parse(src, opts) };
opts.sourceMap = true;
data = parse(src, opts);
// Include original coffee file in the ma... | <|file_sep|>original/index.js
var parse = require('coffee-script').compile;
exports.extension = 'coffee';
exports.compile = function (src, options) {
var opts = { bare: true }, code, data, map;
if (!options.sourceMap) return { code: parse(src, opts) };
opts.sourceMap = true;
data = parse(src, opts);
// Include ... | d97b5e5392e118bca6a30d1eaa3601af5fa9ec32 | index.js | index.js | JavaScript |
<|file_sep|>original/examples/test_get_pdf_text.py
<|file_sep|>current/examples/test_get_pdf_text.py
<|file_sep|>updated/examples/test_get_pdf_text.py | from seleniumbase import BaseCase
class PdfTestClass(BaseCase):
def test_get_pdf_text(self):
pdf = ("https://nostarch.com/download/"
"Automate_the_Boring_Stuff_sample_ch17.pdf")
pdf_text = self.get_pdf_text(pdf, page=1)
print(pdf_text) | <|file_sep|>original/examples/test_get_pdf_text.py
<|file_sep|>current/examples/test_get_pdf_text.py
<|file_sep|>updated/examples/test_get_pdf_text.py
from seleniumbase import BaseCase
class PdfTestClass(BaseCase):
def test_get_pdf_text(self):
pdf = ("https://nostarch.com/download/"
"Aut... | bf771afb7b6cdef86d6c310882299e31102425c9 | examples/test_get_pdf_text.py | examples/test_get_pdf_text.py | Python |
<|file_sep|>website/static/website/js/app.js.diff
original:
this.state = { user: chance.name(), messages: [] }
updated:
this.state = { user: chance.name(), messages: [], connected: false }
<|file_sep|>website/static/website/js/app.js.diff
original:
updated:
this.chatsock.onopen = event => {
this.set... | const payload = {
handle: this.state.user,
message: msg
};
this.chatsock.send(JSON.stringify(payload));
}
render() {
return (
<div>
<h1>M O O N Y (<span>{this.state.connected ? 'connected' : 'disconnected'}</span>)</h1>
<Messages
messages={this.state.mess... | <|file_sep|>website/static/website/js/app.js.diff
original:
this.state = { user: chance.name(), messages: [] }
updated:
this.state = { user: chance.name(), messages: [], connected: false }
<|file_sep|>website/static/website/js/app.js.diff
original:
updated:
this.chatsock.onopen = event => {
this.set... | b4cacf5ed3e4bd98a693cddb2ba48674add19cb6 | website/static/website/js/app.js | website/static/website/js/app.js | JavaScript |
<|file_sep|>original/cat/admin.py
<|file_sep|>current/cat/admin.py
<|file_sep|>updated/cat/admin.py | from django.contrib import admin
from models import MuseumObject,FunctionalCategory
class MOAdmin(admin.ModelAdmin):
fields = ('registration_number','country','description','comment')
list_display = ('registration_number','country','description','comment')
list_filter = ('country','functional_category')
... | <|file_sep|>original/cat/admin.py
<|file_sep|>current/cat/admin.py
<|file_sep|>updated/cat/admin.py
from django.contrib import admin
from models import MuseumObject,FunctionalCategory
class MOAdmin(admin.ModelAdmin):
fields = ('registration_number','country','description','comment')
list_display = ('registr... | 91396ed246166f610e9cfc4519862f061af4e6b2 | cat/admin.py | cat/admin.py | Python |
<|file_sep|>original/app/views/layouts/_navigation.html.haml
= link_to "Registration", "#"
- else
%li
= link_to "Registration", register_conference_path(@conference.short_title)
- if !@conference.nil?
- if current_page?(conference_proposal_index_path(@conference.short_title))
%li.a... | = link_to "Registration", register_conference_path(@conference.short_title)
- if !@conference.nil?
- if current_page?(conference_proposal_index_path(@conference.short_title))
%li.active
= link_to "My Proposals", "#"
- else
%li
= link_to "My Proposals", conference_proposal_i... | <|file_sep|>original/app/views/layouts/_navigation.html.haml
= link_to "Registration", "#"
- else
%li
= link_to "Registration", register_conference_path(@conference.short_title)
- if !@conference.nil?
- if current_page?(conference_proposal_index_path(@conference.short_title))
%li.a... | 8a7efa65d7148fb3e19c81a6baf1a8704d8b65bf | app/views/layouts/_navigation.html.haml | app/views/layouts/_navigation.html.haml | Haml |
<|file_sep|>original/shared/resources/styles/mixins/input.less
.openstax-animated-focus-input(){
box-shadow: none;
border: 0;
border-radius: 0;
border-bottom: 1px solid @openstax-neutral-light;
padding-left: 0;
padding-right: 0;
transition: all 0.3s ease;
background: linear-gradient(to bottom, white 96%... | .openstax-animated-focus-input(){
box-shadow: none;
border: 0;
border-radius: 0;
border-bottom: 1px solid @openstax-neutral-light;
padding-left: 0;
padding-right: 0;
transition: all 0.3s ease;
background: linear-gradient(to bottom, white 96%, @openstax-primary 4%);
background-repeat: no-repeat;
back... | <|file_sep|>original/shared/resources/styles/mixins/input.less
.openstax-animated-focus-input(){
box-shadow: none;
border: 0;
border-radius: 0;
border-bottom: 1px solid @openstax-neutral-light;
padding-left: 0;
padding-right: 0;
transition: all 0.3s ease;
background: linear-gradient(to bottom, white 96%... | 6f929bdea8a13080b355c6434bbe9401307e937c | shared/resources/styles/mixins/input.less | shared/resources/styles/mixins/input.less | Less |
<|file_sep|>Swat/SwatDisplayableContainer.php.diff
original:
* The custom CSS class of this frame
updated:
* The custom CSS class of this container
<|file_sep|>original/Swat/SwatDisplayableContainer.php
* @copyright 2006 silverorange
* @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
*/
class ... | * @copyright 2006 silverorange
* @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
*/
class SwatDisplayableContainer extends SwatContainer
{
// {{{ public properties
/**
* The custom CSS class of this container
*
* This optional class is added on top of the default 'swat-displayable-contai... | <|file_sep|>Swat/SwatDisplayableContainer.php.diff
original:
* The custom CSS class of this frame
updated:
* The custom CSS class of this container
<|file_sep|>original/Swat/SwatDisplayableContainer.php
* @copyright 2006 silverorange
* @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
*/
class ... | 9be42f96a96e9a2285d30c825b4b2130c020960e | Swat/SwatDisplayableContainer.php | Swat/SwatDisplayableContainer.php | PHP |
<|file_sep|>original/oneflow/settings/snippets/common_production.py
#
# Put production machines hostnames here.
#
# MANAGERS += (('Matthieu Chaignot', 'mc@1flow.io'), )
ALLOWED_HOSTS += [
'1flow.io',
'app.1flow.io',
'api.1flow.io',
]
<|file_sep|>current/oneflow/settings/snippets/common_production.py
#
# ... | #
# Put production machines hostnames here.
#
MANAGERS += (('Matthieu Chaignot', 'mchaignot@gmail.com'), )
ALLOWED_HOSTS += [
'1flow.io',
'app.1flow.io',
'api.1flow.io',
]
| <|file_sep|>original/oneflow/settings/snippets/common_production.py
#
# Put production machines hostnames here.
#
# MANAGERS += (('Matthieu Chaignot', 'mc@1flow.io'), )
ALLOWED_HOSTS += [
'1flow.io',
'app.1flow.io',
'api.1flow.io',
]
<|file_sep|>current/oneflow/settings/snippets/common_production.py
#
# ... | 49c73b00b5528706fbb340e53b37e59c8303d70d | oneflow/settings/snippets/common_production.py | oneflow/settings/snippets/common_production.py | Python |
<|file_sep|>.travis.yml.diff
original:
updated:
env:
- TERM=dumb
<|file_sep|>original/.travis.yml
language: java
jdk:
- oraclejdk8
node_js:
- '0.10'
script:
- './gradlew check'
<|file_sep|>current/.travis.yml
language: java
jdk:
- oraclejdk8
node_js:
- '0.10'
env:
- TERM=dumb
script:
- './gradlew check'
<|fi... | language: java
jdk:
- oraclejdk8
node_js:
- '0.10'
env:
- TERM=dumb
script:
- './gradlew check'
after_success:
- ./gradlew jacocoTestReport coveralls
| <|file_sep|>.travis.yml.diff
original:
updated:
env:
- TERM=dumb
<|file_sep|>original/.travis.yml
language: java
jdk:
- oraclejdk8
node_js:
- '0.10'
script:
- './gradlew check'
<|file_sep|>current/.travis.yml
language: java
jdk:
- oraclejdk8
node_js:
- '0.10'
env:
- TERM=dumb
script:
- './gradlew check'
<|fi... | 0585d36d255ffc6bc5d6393fe8fef029cf81e70b | .travis.yml | .travis.yml | YAML |
<|file_sep|>packages/ge/genvalidity.yaml.diff
original:
hash: 25bbcfd02fecac3567e8b51f8e9b321fdbc9f2a664922edc82f6be7309e5ca91
updated:
hash: acbd2b6a01beae165fe33bde5f91130b0a5c76f03b8760ae78d5d5162c7c13c3
<|file_sep|>packages/ge/genvalidity.yaml.diff
original:
QuickCheck: ! '>=2.8 && <2.9'
updated:
QuickCheck: ! ... | base: <5
validity: ! '>=0.3 && <0.4'
QuickCheck: ! '>=2.8 && <2.10'
all-versions:
- '0.1.0.0'
- '0.2.0.0'
- '0.2.0.1'
- '0.2.0.2'
- '0.2.0.3'
- '0.2.0.4'
author: Tom Sydney Kerckhove
latest: '0.2.0.4'
description-type: haddock
description: ! 'Note: There are companion instance packages for this library:
* <ht... | <|file_sep|>packages/ge/genvalidity.yaml.diff
original:
hash: 25bbcfd02fecac3567e8b51f8e9b321fdbc9f2a664922edc82f6be7309e5ca91
updated:
hash: acbd2b6a01beae165fe33bde5f91130b0a5c76f03b8760ae78d5d5162c7c13c3
<|file_sep|>packages/ge/genvalidity.yaml.diff
original:
QuickCheck: ! '>=2.8 && <2.9'
updated:
QuickCheck: ! ... | aebce39d75ef4fc5fec3d6f879b8f4c7da819001 | packages/ge/genvalidity.yaml | packages/ge/genvalidity.yaml | YAML |
<|file_sep|>original/_config.yml
markdown: redcarpet
highlighter: rouge
permalink: /blog/:title
exclude: ["vendor", "serve"]
collections:
projects:
output: true
permalink: /projects/:title/
defaults:
-
scope:
path: "projects"
values:
layout: "project"
s... | markdown: kramdown
highlighter: rouge
permalink: /blog/:title
exclude: ["vendor", "serve"]
collections:
projects:
output: true
permalink: /projects/:title/
defaults:
-
scope:
path: "projects"
values:
layout: "project"
stylesheets: ["project"]
-
... | <|file_sep|>original/_config.yml
markdown: redcarpet
highlighter: rouge
permalink: /blog/:title
exclude: ["vendor", "serve"]
collections:
projects:
output: true
permalink: /projects/:title/
defaults:
-
scope:
path: "projects"
values:
layout: "project"
s... | 50dc030642a52529a51384d41ba396d1fb8ad4c5 | _config.yml | _config.yml | YAML |
<|file_sep|>original/problem_35.py
<|file_sep|>current/problem_35.py
<|file_sep|>updated/problem_35.py | from math import sqrt
from time import time
PRIME_STATUS = {}
def is_prime(n):
if n == 2:
return True
if n % 2 == 0 or n <= 1:
return False
for i in range(3, int(sqrt(n))+1, 2):
if n % i == 0:
return False
return True
def check_prime_circles(num):
circles = [... | <|file_sep|>original/problem_35.py
<|file_sep|>current/problem_35.py
<|file_sep|>updated/problem_35.py
from math import sqrt
from time import time
PRIME_STATUS = {}
def is_prime(n):
if n == 2:
return True
if n % 2 == 0 or n <= 1:
return False
for i in range(3, int(sqrt(n))+1, 2):
... | 278920272efd7ab959d7cad5b5f7d6c17935c7e6 | problem_35.py | problem_35.py | Python |
<|file_sep|>client/views/homes/new/newHome.html.diff
original:
<div class="page-header">
<h1><i class="fa fa-home"></i> New Home</h1>
updated:
<div class="modal fade">
<div class="modal-dialog">
<div class="modal-content">
{{# if Template.subscriptionsReady }}
<div class="modal-heade... | <h4 class="modal-title">Create new home</h4>
</div>
{{#autoForm id="newHomeForm" type="insert" collection="Homes" }}
<div class="modal-body">
{{> afQuickField name="name"}}
{{> afQuickField name="groupId"}}
</div>
<div class="modal-footer">
... | <|file_sep|>client/views/homes/new/newHome.html.diff
original:
<div class="page-header">
<h1><i class="fa fa-home"></i> New Home</h1>
updated:
<div class="modal fade">
<div class="modal-dialog">
<div class="modal-content">
{{# if Template.subscriptionsReady }}
<div class="modal-heade... | 169b872de52157e266ca2ac80931f6d89df712f4 | client/views/homes/new/newHome.html | client/views/homes/new/newHome.html | HTML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.