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/app/views/admin/control.html.erb
<thead>
<tr>
<th>Metric</th>
<th>Status</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<% @metrics.each do |metric| %>
<tr>
<td rowspan="2"><%= metric.to_s.titlecase %></td>
<td><div clas... | <thead>
<tr>
<th>Metric</th>
<th>Status</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<% @metrics.each do |metric| %>
<tr>
<td rowspan="2"><%= metric.to_s.titlecase %></td>
<td><div class="admin control progress"><div class="bar"></div></di... | <|file_sep|>original/app/views/admin/control.html.erb
<thead>
<tr>
<th>Metric</th>
<th>Status</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<% @metrics.each do |metric| %>
<tr>
<td rowspan="2"><%= metric.to_s.titlecase %></td>
<td><div clas... | e2d2c13ad5bcf7aabc1764b3cb3ab3990cc9d8ca | app/views/admin/control.html.erb | app/views/admin/control.html.erb | HTML+ERB |
<|file_sep|>closure/goog/dom/textassert_test.js.diff
original:
var testSuite = goog.require('goog.testing.testSuite');
var textAssert = goog.require('goog.dom.textAssert');
var userAgent = goog.require('goog.userAgent');
updated:
const testSuite = goog.require('goog.testing.testSuite');
const textAssert = goog.require(... | assertEquals(
'Assertion failed: String has HTML original: ' +
'<b>a<\\b>, escaped: <b>a<\\b>',
e.message);
},
testAssertIsTextThrowsWithHtmlEntities: function() {
const e = assertThrows(() => {
textAssert.assertHtmlFree('a&b');
});
assertEquals(
... | <|file_sep|>closure/goog/dom/textassert_test.js.diff
original:
var testSuite = goog.require('goog.testing.testSuite');
var textAssert = goog.require('goog.dom.textAssert');
var userAgent = goog.require('goog.userAgent');
updated:
const testSuite = goog.require('goog.testing.testSuite');
const textAssert = goog.require(... | ccdb3bd5c80094bc65a56053aa3ea782e2711b62 | closure/goog/dom/textassert_test.js | closure/goog/dom/textassert_test.js | JavaScript |
<|file_sep|>original/chapter_8/source/lists/templates/base.html
<html>
<head>
<title>To-Do lists</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="../../static/bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen">
<link href="../../static/base.css" rel="styleshee... | <html>
<head>
<title>To-Do lists</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="/static/bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen">
<link href="/static/base.css" rel="stylesheet" media="screen">
</head>
<body>
<div class="container">
<div clas... | <|file_sep|>original/chapter_8/source/lists/templates/base.html
<html>
<head>
<title>To-Do lists</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="../../static/bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen">
<link href="../../static/base.css" rel="styleshee... | 178b4149f1e64f4094e87835908a6ad74c00a62d | chapter_8/source/lists/templates/base.html | chapter_8/source/lists/templates/base.html | HTML |
<|file_sep|>lib/zombie/sizzle.coffee.diff
original:
sizzle = fs.readFileSync(__dirname + "/../../dep/sizzle.js", "utf8")
updated:
vm = process.binding("evals")
sizzle = new vm.Script(fs.readFileSync(__dirname + "/../../dep/sizzle.js", "utf8"), "sizzle.js")
<|file_sep|>lib/zombie/sizzle.coffee.diff
original:
if @docum... | # Select document elements using Sizzle.js.
fs = require("fs")
vm = process.binding("evals")
sizzle = new vm.Script(fs.readFileSync(__dirname + "/../../dep/sizzle.js", "utf8"), "sizzle.js")
core = require("jsdom").dom.level3.core
close = core.HTMLDocument.prototype.close
core.HTMLDocument.prototype.close = ->
close.... | <|file_sep|>lib/zombie/sizzle.coffee.diff
original:
sizzle = fs.readFileSync(__dirname + "/../../dep/sizzle.js", "utf8")
updated:
vm = process.binding("evals")
sizzle = new vm.Script(fs.readFileSync(__dirname + "/../../dep/sizzle.js", "utf8"), "sizzle.js")
<|file_sep|>lib/zombie/sizzle.coffee.diff
original:
if @docum... | 63ee3e4524b37edc15a7547002d5dafb6f2b4517 | lib/zombie/sizzle.coffee | lib/zombie/sizzle.coffee | CoffeeScript |
<|file_sep|>original/setup.py
#!/usr/bin/env python
import os
from distutils.core import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='django-csv-importer',
version='0.1.3.4',
description='Convert csv files into python object or django model',
... | #!/usr/bin/env python
import os
from distutils.core import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='django-csv-importer',
version='0.1.3.3',
description='Convert csv files into python object or django model',
author='Anthony Tresontani... | <|file_sep|>original/setup.py
#!/usr/bin/env python
import os
from distutils.core import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='django-csv-importer',
version='0.1.3.4',
description='Convert csv files into python object or django model',
... | 5d0d12b90d530cdeab154153a79cea00c9d6df98 | setup.py | setup.py | Python |
<|file_sep|>original/gemspec.yml
name: rprogram
summary: A library for creating wrappers around command-line programs.
description:
RProgram is a library for creating wrappers around command-line programs.
RProgram provides a Rubyful interface to programs and all their options
or non-options. RProgram can also se... | name: rprogram
summary: A library for creating wrappers around command-line programs.
description:
RProgram is a library for creating wrappers around command-line programs.
RProgram provides a Rubyful interface to programs and all their options
or non-options. RProgram can also search for programs installed on a
... | <|file_sep|>original/gemspec.yml
name: rprogram
summary: A library for creating wrappers around command-line programs.
description:
RProgram is a library for creating wrappers around command-line programs.
RProgram provides a Rubyful interface to programs and all their options
or non-options. RProgram can also se... | 7c8d5c34ab3368f56dbbcfa08f50c7a0444cf906 | gemspec.yml | gemspec.yml | YAML |
<|file_sep|>original/Sources/Shared/Protocols/DefaultType.swift
return ""
}
}
extension Int: DefaultType {
public static var defaultValue: Int {
return 0
}
}
extension Float: DefaultType {
public static var defaultValue: Float {
return 0
}
}
extension Bool: DefaultType {
public static var def... | return ""
}
}
extension Int: DefaultType {
public static var defaultValue: Int {
return 0
}
}
extension Double: DefaultType {
public static var defaultValue: Double {
return 0
}
}
extension Float: DefaultType {
public static var defaultValue: Float {
return 0
}
} | <|file_sep|>original/Sources/Shared/Protocols/DefaultType.swift
return ""
}
}
extension Int: DefaultType {
public static var defaultValue: Int {
return 0
}
}
extension Float: DefaultType {
public static var defaultValue: Float {
return 0
}
}
extension Bool: DefaultType {
public static var def... | a54b51d112ea62edf8efb383e7c5d69f3118bd79 | Sources/Shared/Protocols/DefaultType.swift | Sources/Shared/Protocols/DefaultType.swift | Swift |
<|file_sep|>original/Runes.podspec
Pod::Spec.new do |spec|
spec.name = 'Runes'
spec.version = '3.2.1'
spec.summary = 'Functional operators for Swift'
spec.homepage = 'https://github.com/thoughtbot/runes'
spec.license = { :type => 'MIT', :file => 'LICENSE' }
spec.author = {
'Gordon Fontenot' => 'gordon@t... | Pod::Spec.new do |spec|
spec.name = 'Runes'
spec.version = '3.2.1'
spec.summary = 'Functional operators for Swift'
spec.homepage = 'https://github.com/thoughtbot/runes'
spec.license = { :type => 'MIT', :file => 'LICENSE' }
spec.author = {
'Gordon Fontenot' => 'gordon@thoughtbot.com',
'thoughtbot' =>... | <|file_sep|>original/Runes.podspec
Pod::Spec.new do |spec|
spec.name = 'Runes'
spec.version = '3.2.1'
spec.summary = 'Functional operators for Swift'
spec.homepage = 'https://github.com/thoughtbot/runes'
spec.license = { :type => 'MIT', :file => 'LICENSE' }
spec.author = {
'Gordon Fontenot' => 'gordon@t... | e7d6f9299a2f66d039bc14fc118bb5cbe813e53a | Runes.podspec | Runes.podspec | Ruby |
<|file_sep|>1.8/Dockerfile.diff
original:
buildDeps='software-properties-common python-software-properties' \
updated:
buildDeps='wget' \
<|file_sep|>1.8/Dockerfile.diff
original:
&& add-apt-repository -y ppa:nginx/stable \
updated:
&& wget -O - http://nginx.org/keys/nginx_signing.key | apt-key add - \
&& echo "de... | LC_ALL=${OS_LOCALE}
RUN \
buildDeps='wget' \
&& apt-get update \
&& apt-get install --no-install-recommends -y $buildDeps \
&& wget -O - http://nginx.org/keys/nginx_signing.key | apt-key add - \
&& echo "deb http://nginx.org/packages/ubuntu/ trusty nginx" | tee -a /etc/apt/sources.list \
&& echo "deb-src http:/... | <|file_sep|>1.8/Dockerfile.diff
original:
buildDeps='software-properties-common python-software-properties' \
updated:
buildDeps='wget' \
<|file_sep|>1.8/Dockerfile.diff
original:
&& add-apt-repository -y ppa:nginx/stable \
updated:
&& wget -O - http://nginx.org/keys/nginx_signing.key | apt-key add - \
&& echo "de... | b0fd1bf8775347bceea2ed5607e478ca5cbb61a7 | 1.8/Dockerfile | 1.8/Dockerfile | unknown |
<|file_sep|>original/lib/generators/statesman/templates/create_migration.rb.erb
class Create<%= migration_class_name %> < ActiveRecord::Migration
def change
create_table :<%= table_name %> do |t|
t.string :to_state, null: false
t.text :metadata<%= ", default: \"{}\"" unless mysql? %>
t.integer :... | class Create<%= migration_class_name %> < ActiveRecord::Migration
def change
create_table :<%= table_name %> do |t|
t.string :to_state, null: false
t.text :metadata<%= ", default: \"{}\"" unless mysql? %>
t.integer :sort_key, null: false
t.integer :<%= parent_id %>, null: false
t.tim... | <|file_sep|>original/lib/generators/statesman/templates/create_migration.rb.erb
class Create<%= migration_class_name %> < ActiveRecord::Migration
def change
create_table :<%= table_name %> do |t|
t.string :to_state, null: false
t.text :metadata<%= ", default: \"{}\"" unless mysql? %>
t.integer :... | 0e6f040b3db8c79e4fdd253df1891f5b6cfeb8e3 | lib/generators/statesman/templates/create_migration.rb.erb | lib/generators/statesman/templates/create_migration.rb.erb | HTML+ERB |
<|file_sep|>.travis.yml.diff
original:
- 1.7.4
updated:
- 1.8.1
- 1.7.5
<|file_sep|>original/.travis.yml
language: go
# Be explicit about not needing sudo, so that Travis will use container-based
# infrastructure for our jobs, always, fewer heuristics.
sudo: false
go:
- 1.7.4
- 1.6
- 1.5.3
# 2016-03-14: r... | language: go
# Be explicit about not needing sudo, so that Travis will use container-based
# infrastructure for our jobs, always, fewer heuristics.
sudo: false
go:
- 1.8.1
- 1.7.5
- 1.6
# 2016-03-14: removed `tip` ∵ `go vet` on Travis throwing false errors,
# complaining about missing format strings where they'... | <|file_sep|>.travis.yml.diff
original:
- 1.7.4
updated:
- 1.8.1
- 1.7.5
<|file_sep|>original/.travis.yml
language: go
# Be explicit about not needing sudo, so that Travis will use container-based
# infrastructure for our jobs, always, fewer heuristics.
sudo: false
go:
- 1.7.4
- 1.6
- 1.5.3
# 2016-03-14: r... | fa1e93d61b9578b0fc1df633da785cc88a8739ef | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/application/controllers/HomeController.php
];
$this->load->view('templates/header');
$this->load->view('index', $data);
$this->load->view('templates/footer');
}
public function search()
{
$this->load->driver('cache');
$cityName = str_rep... | ];
$this->load->view('templates/header');
$this->load->view('index', $data);
$this->load->view('templates/footer');
}
public function search()
{
$this->load->driver('cache');
$cityName = str_replace(' ', '+', $this->input->post('city_name'));
$cityNa... | <|file_sep|>original/application/controllers/HomeController.php
];
$this->load->view('templates/header');
$this->load->view('index', $data);
$this->load->view('templates/footer');
}
public function search()
{
$this->load->driver('cache');
$cityName = str_rep... | 38abbe674a5a74f11da880d7b0eda55ab0253306 | application/controllers/HomeController.php | application/controllers/HomeController.php | PHP |
<|file_sep|>original/requirements/production.txt
cryptography<3.4
django==3.2.4
django-allauth==0.42.0
django-analytical==2.6.0
django-anymail[postmark]==8.3
django-autoslug==1.9.8
django-constance[redis]==2.8.0
django-crispy-forms==1.11.2
django-model-utils==4.1.1
django-redis-cache==3.0.0
djangorestframework==3.12.4
... | cryptography<3.4
django==3.2.4
django-allauth==0.42.0
django-analytical==2.6.0
django-anymail[postmark]==8.3
django-autoslug==1.9.8
django-constance[redis]==2.8.0
django-crispy-forms==1.12.0
django-model-utils==4.1.1
django-redis-cache==3.0.0
djangorestframework==3.12.4
django-reversion==3.0.9
django-taggit==1.2.0
djan... | <|file_sep|>original/requirements/production.txt
cryptography<3.4
django==3.2.4
django-allauth==0.42.0
django-analytical==2.6.0
django-anymail[postmark]==8.3
django-autoslug==1.9.8
django-constance[redis]==2.8.0
django-crispy-forms==1.11.2
django-model-utils==4.1.1
django-redis-cache==3.0.0
djangorestframework==3.12.4
... | f4db4b8b77be83aa39e462b730e1729918f00429 | requirements/production.txt | requirements/production.txt | Text |
<|file_sep|>original/requirements/dev.txt
-r prod.txt
pip==9.0.3
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
tox==2.9.1
coverage==4.5.1
Sphinx==1.7.2
cryptography==2.2.2
PyYAML==3.12
<|file_sep|>current/requirements/dev.txt
-r prod.txt
pip==9.0.3
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
fla... | -r prod.txt
pip==9.0.3
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
tox==2.9.1
coverage==4.5.1
Sphinx==1.7.2
cryptography==2.2.2
PyYAML==3.13 | <|file_sep|>original/requirements/dev.txt
-r prod.txt
pip==9.0.3
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
tox==2.9.1
coverage==4.5.1
Sphinx==1.7.2
cryptography==2.2.2
PyYAML==3.12
<|file_sep|>current/requirements/dev.txt
-r prod.txt
pip==9.0.3
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
fla... | 4908c5c4cf6780efb621d1b55f4475e8cb00935e | requirements/dev.txt | requirements/dev.txt | Text |
<|file_sep|>.travis.yml.diff
original:
updated:
- 7.0
# - hhvm
<|file_sep|>original/.travis.yml
language: php
php:
- 5.5.9
- 5.5
- 5.6
# Pending coduo/php-humanizer being 7.0 ready
# - 7.0
# - hhvm
install:
- composer install --no-interaction --prefer-source
- composer create-project wp-coding-standa... | language: php
php:
- 5.5.9
- 5.5
- 5.6
- 7.0
# - hhvm
# Pending coduo/php-humanizer being 7.0 ready
matrix:
allow_failures:
- php: 7.0
install:
- composer install --no-interaction --prefer-source
- composer create-project wp-coding-standards/wpcs:dev-master --no-dev -n standards/wpcs
- ./vendor/bi... | <|file_sep|>.travis.yml.diff
original:
updated:
- 7.0
# - hhvm
<|file_sep|>original/.travis.yml
language: php
php:
- 5.5.9
- 5.5
- 5.6
# Pending coduo/php-humanizer being 7.0 ready
# - 7.0
# - hhvm
install:
- composer install --no-interaction --prefer-source
- composer create-project wp-coding-standa... | 0369b2b2c3ab1d283d542ec860aa1592f079b5f4 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/setup.py
from setuptools import setup, find_packages
import sys, os
setup(name='cc.license',
version='0.01',
description="License selection based on ccREL-based metadata.",
classifiers=[],
keywords='',
author='Creative Commons',
author_email='software@creativeco... | from setuptools import setup, find_packages
import sys, os
setup(name='cc.license',
version='0.02',
description="License selection based on ccREL-based metadata.",
classifiers=[],
keywords='',
author='Creative Commons',
author_email='software@creativecommons.org',
url='http://... | <|file_sep|>original/setup.py
from setuptools import setup, find_packages
import sys, os
setup(name='cc.license',
version='0.01',
description="License selection based on ccREL-based metadata.",
classifiers=[],
keywords='',
author='Creative Commons',
author_email='software@creativeco... | 3e04c7e86d92785ba07f30ed2c0ec4eb575d6218 | setup.py | setup.py | Python |
<|file_sep|>original/README.md
# Talk
Transmit sensitive data safely
## Background
How to transmit sensitive data safely via the Internet? Emails? Well, it's a bad idea. Your password for your email address could be cracked and you never know whether your email provider would take a look at your emails.
To sta... | # Talk
Transmit sensitive data safely
## Background
How to transmit sensitive data safely via the Internet? Emails? Well, that's a bad idea. Your password for your email could be cracked and you never know whether your email service provider would take a look at your emails.
To stay safe, you must encrypt the ... | <|file_sep|>original/README.md
# Talk
Transmit sensitive data safely
## Background
How to transmit sensitive data safely via the Internet? Emails? Well, it's a bad idea. Your password for your email address could be cracked and you never know whether your email provider would take a look at your emails.
To sta... | 26860b8bffd421d6472ad64d7f9c71d9d229263a | README.md | README.md | Markdown |
<|file_sep|>lib/rails_config/railtie.rb.diff
original:
updated:
config.rails_config = ActiveSupport::OrderedOptions.new
<|file_sep|>lib/rails_config/railtie.rb.diff
original:
::Settings = RailsConfig.load_files(
updated:
settings = RailsConfig.load_files(
<|file_sep|>original/lib/rails_config/rai... | class Railtie < Rails::Railtie
config.rails_config = ActiveSupport::OrderedOptions.new
# Parse the settings before any of the initializers
ActiveSupport.on_load :before_initialize, :yield => true do
settings = RailsConfig.load_files(
Rails.root.join("config", "settings.yml").to_... | <|file_sep|>lib/rails_config/railtie.rb.diff
original:
updated:
config.rails_config = ActiveSupport::OrderedOptions.new
<|file_sep|>lib/rails_config/railtie.rb.diff
original:
::Settings = RailsConfig.load_files(
updated:
settings = RailsConfig.load_files(
<|file_sep|>original/lib/rails_config/rai... | 3224a01cf6cdd300d2f5638c2c827ba00bbc270b | lib/rails_config/railtie.rb | lib/rails_config/railtie.rb | Ruby |
<|file_sep|>.circleci/config.yml.diff
original:
command: gometalinter --config .gometalinter.json ./... | tee ~/test-results/gometalinter.out
updated:
command: tusk -q lint | tee ~/test-results/gometalinter.out
<|file_sep|>original/.circleci/config.yml
- image: circleci/golang:1.9
working_... | - image: circleci/golang:1.9
working_directory: /go/src/github.com/rliebz/tusk
steps:
- checkout
- run: mkdir -p ~/test-results
- run:
name: Install dependencies
command: |
go get -u github.com/alecthomas/gometalinter
gometalinter --install
... | <|file_sep|>.circleci/config.yml.diff
original:
command: gometalinter --config .gometalinter.json ./... | tee ~/test-results/gometalinter.out
updated:
command: tusk -q lint | tee ~/test-results/gometalinter.out
<|file_sep|>original/.circleci/config.yml
- image: circleci/golang:1.9
working_... | 4d25aae7116967c39bc1bd72665f461303324a7b | .circleci/config.yml | .circleci/config.yml | YAML |
<|file_sep|>original/libact/labelers/interactive_labeler.py
"""
def __init__(self, **kwargs):
self.label_name = kwargs.pop('label_name', None)
@inherit_docstring_from(Labeler)
def label(self, feature):
plt.imshow(feature, cmap=plt.cm.gray_r, interpolation='nearest')
plt.draw()
... |
@inherit_docstring_from(Labeler)
def label(self, feature):
plt.imshow(feature, cmap=plt.cm.gray_r, interpolation='nearest')
plt.draw()
banner = "Enter the associated label with the image: "
if self.label_name is not None:
banner += str(self.label_name) + ' '
... | <|file_sep|>original/libact/labelers/interactive_labeler.py
"""
def __init__(self, **kwargs):
self.label_name = kwargs.pop('label_name', None)
@inherit_docstring_from(Labeler)
def label(self, feature):
plt.imshow(feature, cmap=plt.cm.gray_r, interpolation='nearest')
plt.draw()
... | 48f15196bdbdf6c86491ff4ab966f4ae82932b80 | libact/labelers/interactive_labeler.py | libact/labelers/interactive_labeler.py | Python |
<|file_sep|>original/README.md
python-gssapi
=============
Attempt at an object-oriented interface to GSSAPI for Python.
This project is licensed under the terms of the MIT license (see LICENSE.txt).
Python3 Support
---------------
Python-gssapi is able to run on Python3, but to install it you can't use the setup sc... | python-gssapi
=============
Attempt at an object-oriented interface to GSSAPI for Python.
This project is licensed under the terms of the MIT license (see LICENSE.txt).
Python3 Support
---------------
Python-gssapi now uses [cffi](https://cffi.readthedocs.org/) to interface with the C GSSAPI library
and should insta... | <|file_sep|>original/README.md
python-gssapi
=============
Attempt at an object-oriented interface to GSSAPI for Python.
This project is licensed under the terms of the MIT license (see LICENSE.txt).
Python3 Support
---------------
Python-gssapi is able to run on Python3, but to install it you can't use the setup sc... | bc0b52bf01210178fa5304aa53e0cd2170661b92 | README.md | README.md | Markdown |
<|file_sep|>app/controllers/stats_controller.rb.diff
original:
render(nothing: true)
updated:
head(:ok, content_length: 0)
<|file_sep|>original/app/controllers/stats_controller.rb
#
# The initial use case is deploy tracking.
class StatsController < ApplicationController
skip_before_action :verify_authenti... | #
# The initial use case is deploy tracking.
class StatsController < ApplicationController
skip_before_action :verify_authenticity_token
def create
if authorized?
StatsD.increment(params[:key])
head(:ok, content_length: 0)
else
head(:forbidden, content_length: 0)
end
end
private
... | <|file_sep|>app/controllers/stats_controller.rb.diff
original:
render(nothing: true)
updated:
head(:ok, content_length: 0)
<|file_sep|>original/app/controllers/stats_controller.rb
#
# The initial use case is deploy tracking.
class StatsController < ApplicationController
skip_before_action :verify_authenti... | b7b3b2e0c36605ef4addefce71f3470ac0d76282 | app/controllers/stats_controller.rb | app/controllers/stats_controller.rb | Ruby |
<|file_sep|>original/app/views/alchemy/base/500.html.erb
buttons: [
{
icon: 'back',
url: request.referer || "#{Alchemy::MountPoint.get}/admin/dashboard",
label: _t(:back),
title: _t(:back),
hotkey: 'alt+z',
dialog: false,
skip_permission_check: true
}
]
) %>
<%= re... | buttons: [
{
icon: 'back',
url: request.referer || "#{Alchemy::MountPoint.get}/admin/dashboard",
label: _t(:back),
title: _t(:back),
hotkey: 'alt+z',
dialog: false,
skip_permission_check: true
}
], search: false
) %>
<%= render_message(:error) do %>
<h1><%= _t('A... | <|file_sep|>original/app/views/alchemy/base/500.html.erb
buttons: [
{
icon: 'back',
url: request.referer || "#{Alchemy::MountPoint.get}/admin/dashboard",
label: _t(:back),
title: _t(:back),
hotkey: 'alt+z',
dialog: false,
skip_permission_check: true
}
]
) %>
<%= re... | 5afc461b1b6998ae7007c42c708139ea467104f5 | app/views/alchemy/base/500.html.erb | app/views/alchemy/base/500.html.erb | HTML+ERB |
<|file_sep|>recipes/telnetlib3/meta.yaml.diff
original:
- python
updated:
- python >=3.6
<|file_sep|>original/recipes/telnetlib3/meta.yaml
- telnetlib3-client = telnetlib3.client:main
noarch: python
script: {{ PYTHON }} -m pip install . -vv
number: 0
requirements:
host:
- python
- pip
run... | - telnetlib3-client = telnetlib3.client:main
noarch: python
script: {{ PYTHON }} -m pip install . -vv
number: 0
requirements:
host:
- python >=3.6
- pip
run:
- python >=3.6
test:
imports:
- telnetlib3
commands:
- pip check
- telnetlib3-server --help
- telnetlib3-client --... | <|file_sep|>recipes/telnetlib3/meta.yaml.diff
original:
- python
updated:
- python >=3.6
<|file_sep|>original/recipes/telnetlib3/meta.yaml
- telnetlib3-client = telnetlib3.client:main
noarch: python
script: {{ PYTHON }} -m pip install . -vv
number: 0
requirements:
host:
- python
- pip
run... | ed765b8bfe4b28164d103798e2a91040bdeb0dfb | recipes/telnetlib3/meta.yaml | recipes/telnetlib3/meta.yaml | YAML |
<|file_sep|>original/sites/demo/templates/checkout/payment_details.html
{% block payment_details %}
<div class="page-header">
<h1>Enter payment details</h1>
</div>
{% block payment_details_content %}
<h3>Pay with a bankcard</h3>
<form action="{% url checkout:preview %}" class="form-horizon... |
{% block payment_details %}
<div class="page-header">
<h1>Enter payment details</h1>
</div>
{% block payment_details_content %}
<h3>Pay with a bankcard</h3>
<form action="{% url checkout:preview %}" class="form-horizontal" method="post">
<div class="well well-info">
{% ... | <|file_sep|>original/sites/demo/templates/checkout/payment_details.html
{% block payment_details %}
<div class="page-header">
<h1>Enter payment details</h1>
</div>
{% block payment_details_content %}
<h3>Pay with a bankcard</h3>
<form action="{% url checkout:preview %}" class="form-horizon... | 06515370480010e104c2bf5d18ed456793603dc7 | sites/demo/templates/checkout/payment_details.html | sites/demo/templates/checkout/payment_details.html | HTML |
<|file_sep|>original/README.md
# db-compare
A database comparison tool
<|file_sep|>current/README.md
# db-compare
A database comparison tool
<|file_sep|>updated/README.md | # Sitewards: db-compare
The aim of this tool is to build a comparison tool between two databases and provide a sql file containing the differences. The main thought here is to allow an admin user to create pages in the Magento and migrate them to live after creatation.
## Takes
1. Main database file,
2. Merging data... | <|file_sep|>original/README.md
# db-compare
A database comparison tool
<|file_sep|>current/README.md
# db-compare
A database comparison tool
<|file_sep|>updated/README.md
# Sitewards: db-compare
The aim of this tool is to build a comparison tool between two databases and provide a sql file containing the differences. ... | af1ca271804c79ec285633e87467c8543cb42ed8 | README.md | README.md | Markdown |
<|file_sep|>openvpn/client/init.sls.diff
original:
updated:
{% if '%s' in openvpn.server.service %}
<|file_sep|>original/openvpn/client/init.sls
#!stateconf
{% from 'states/openvpn/map.jinja' import openvpn as openvpn_map with context %}
{% from 'states/defaults.map.jinja' import defaults with context %}
.params:... | #!stateconf
{% from 'states/openvpn/map.jinja' import openvpn as openvpn_map with context %}
{% from 'states/defaults.map.jinja' import defaults with context %}
.params:
stateconf.set: []
# --- end of state config ---
{% for vpnname, vpn in params.vpns.items() %}
openvpn-client-{{ vpnname }}-service:
service.ru... | <|file_sep|>openvpn/client/init.sls.diff
original:
updated:
{% if '%s' in openvpn.server.service %}
<|file_sep|>original/openvpn/client/init.sls
#!stateconf
{% from 'states/openvpn/map.jinja' import openvpn as openvpn_map with context %}
{% from 'states/defaults.map.jinja' import defaults with context %}
.params:... | 8c6820b05a422578ba6244935739bdbbf58de7db | openvpn/client/init.sls | openvpn/client/init.sls | SaltStack |
<|file_sep|>original/WalletWasabi.Gui/ViewModels/Validation/Validator.cs
// {
// var invokeRes = (ErrorDescriptors)validationMethodCache[propertyName].Invoke();
// result.Add((propertyName, invokeRes));
// }
// return result;
//}
//public static ErrorDescriptors ValidateProperty(ViewModelBase vie... | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using WalletWasabi.Models;
namespace WalletWasabi.Gui.ViewModels.Validation
{
public delegate void ValidateMethod(IErrorList errors);
} | <|file_sep|>original/WalletWasabi.Gui/ViewModels/Validation/Validator.cs
// {
// var invokeRes = (ErrorDescriptors)validationMethodCache[propertyName].Invoke();
// result.Add((propertyName, invokeRes));
// }
// return result;
//}
//public static ErrorDescriptors ValidateProperty(ViewModelBase vie... | b8c5a9c829e8649181c4d53351e9aa400ca7a3bd | WalletWasabi.Gui/ViewModels/Validation/Validator.cs | WalletWasabi.Gui/ViewModels/Validation/Validator.cs | C# |
<|file_sep|>README.md.diff
original:
== README
updated:
# Línea de sangre
<|file_sep|>README.md.diff
original:
This README would normally document whatever steps are necessary to get the
application up and running.
updated:
Línea de sangre es un proyecto de Ruby on Rails que sirve como ejemplo para el libro [*Aprendien... |
* Database initialization
* How to run the test suite
* Services (job queues, cache servers, search engines, etc.)
* Deployment instructions
* ...
Please feel free to use a different markup language if you do not plan to run
<tt>rake doc:app</tt>.
## Licencia
MIT License - ver el archivo LICENSE.txt en la dist... | <|file_sep|>README.md.diff
original:
== README
updated:
# Línea de sangre
<|file_sep|>README.md.diff
original:
This README would normally document whatever steps are necessary to get the
application up and running.
updated:
Línea de sangre es un proyecto de Ruby on Rails que sirve como ejemplo para el libro [*Aprendien... | ef1994e479d15c34c2b9e505bbb51f82e32383c2 | README.md | README.md | Markdown |
<|file_sep|>builds/install.yaml.diff
original:
- include: clone.yaml
tags:
- always
updated:
<|file_sep|>original/builds/install.yaml
corr_version: master
corr_repo: usnistgov/corr
conda: "{{ anaconda_path }}/bin/conda"
env_path: "{{ anaconda_path }}/envs/{{ corr_env }}/bin"
pyth... | corr_version: master
corr_repo: usnistgov/corr
conda: "{{ anaconda_path }}/bin/conda"
env_path: "{{ anaconda_path }}/envs/{{ corr_env }}/bin"
python: "{{ anaconda_path }}/envs/{{ corr_env }}/bin/python"
tasks:
- name: define variable so tasks only run when tags specified
shell: /bin/true... | <|file_sep|>builds/install.yaml.diff
original:
- include: clone.yaml
tags:
- always
updated:
<|file_sep|>original/builds/install.yaml
corr_version: master
corr_repo: usnistgov/corr
conda: "{{ anaconda_path }}/bin/conda"
env_path: "{{ anaconda_path }}/envs/{{ corr_env }}/bin"
pyth... | 7ea2195d1e1d2ac2d50b57898b6b506b85e836e3 | builds/install.yaml | builds/install.yaml | YAML |
<|file_sep|>original/src/test/resources/logback-test.xml
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<!-- Declare the 'CONSOLE' ConsoleAppender. -->
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
<!-- encoders are assigned the type ch.qos.logback.classic.encoder.Patte... | <?xml version="1.0" encoding="UTF-8"?>
<configuration>
<!-- Declare the 'CONSOLE' ConsoleAppender. -->
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
<!-- encoders are assigned the type ch.qos.logback.classic.encoder.PatternLayoutEncoder by default -->
<encoder>
... | <|file_sep|>original/src/test/resources/logback-test.xml
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<!-- Declare the 'CONSOLE' ConsoleAppender. -->
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
<!-- encoders are assigned the type ch.qos.logback.classic.encoder.Patte... | 30fd51d6f3198ed47f92cc6c25b0d5999183fd69 | src/test/resources/logback-test.xml | src/test/resources/logback-test.xml | XML |
<|file_sep|>original/build.sbt
scalaVersion := "2.11.5"
mainClass := Some("com.getbootstrap.no_carrier.Main")
resolvers ++= Seq("snapshots", "releases").map(Resolver.sonatypeRepo)
libraryDependencies += "com.jcabi" % "jcabi-github" % "0.24"
libraryDependencies += "com.typesafe.scala-logging" %% "scala-logging" % "3... | resolvers ++= Seq("snapshots", "releases").map(Resolver.sonatypeRepo)
libraryDependencies += "com.jcabi" % "jcabi-github" % "0.24"
libraryDependencies += "com.typesafe.scala-logging" %% "scala-logging" % "3.1.0"
libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.1.2"
libraryDependencies += "org.specs... | <|file_sep|>original/build.sbt
scalaVersion := "2.11.5"
mainClass := Some("com.getbootstrap.no_carrier.Main")
resolvers ++= Seq("snapshots", "releases").map(Resolver.sonatypeRepo)
libraryDependencies += "com.jcabi" % "jcabi-github" % "0.24"
libraryDependencies += "com.typesafe.scala-logging" %% "scala-logging" % "3... | 448671428a66d778b44517ab3fed997f27812c5f | build.sbt | build.sbt | Scala |
<|file_sep|>server/templates/app.js.diff
original:
function updateResults() {
updated:
function updateResults(e) {
if (e.which === 0) {
return;
}
<|file_sep|>original/server/templates/app.js
var postId = 'post' + x;
var post = '<div id="' + postId + '" class="result">';
post += '<h2><a... | var postId = 'post' + x;
var post = '<div id="' + postId + '" class="result">';
post += '<h2><a href="' + data[x].url + '">' + data[x].title + '</a></h2>';
post += '</div>';
var timeout = showImage(x, postId, data[x].image);
timeouts.push(timeout);
$("#results").a... | <|file_sep|>server/templates/app.js.diff
original:
function updateResults() {
updated:
function updateResults(e) {
if (e.which === 0) {
return;
}
<|file_sep|>original/server/templates/app.js
var postId = 'post' + x;
var post = '<div id="' + postId + '" class="result">';
post += '<h2><a... | f60a839562ea45d3f80b7f23e9b7fabf7b07fac8 | server/templates/app.js | server/templates/app.js | JavaScript |
<|file_sep|>original/_posts/2018-08-24-What-is-API.md
<|file_sep|>current/_posts/2018-08-24-What-is-API.md
<|file_sep|>updated/_posts/2018-08-24-What-is-API.md | ---
layout: post
title: " API란? "
categories: Technology
tags: Technology
author: goodGid
---
* content
{:toc}
# API란?
* API란 '이런 일을 하고 싶을 때는 이런 명령을 호출하시오'라고 미리 정해진 <b>명령의 집합</b>을 말한다. | <|file_sep|>original/_posts/2018-08-24-What-is-API.md
<|file_sep|>current/_posts/2018-08-24-What-is-API.md
<|file_sep|>updated/_posts/2018-08-24-What-is-API.md
---
layout: post
title: " API란? "
categories: Technology
tags: Technology
author: goodGid
---
* content
{:toc}
# API란?
* API란 '이런 일을 하고 싶을 때는 이런 명령을 호출하시오... | 6320c736ef5803a962ccdba57e4db0c4f068138c | _posts/2018-08-24-What-is-API.md | _posts/2018-08-24-What-is-API.md | Markdown |
<|file_sep|>original/package.json
{
"name": "application-name",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node app.js",
"test": "grunt test"
},
"dependencies": {
"express": "*",
"mongoose": "*"
},
"devDependencies": {
"grunt": "~0.4.2",
"grunt-contrib-jshint": "~0.6.3... | {
"name": "application-name",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node myapp.js",
"test": "grunt test"
},
"dependencies": {
"express": "*",
"mongoose": "*"
},
"devDependencies": {
"grunt": "~0.4.2",
"grunt-contrib-jshint": "~0.6.3",
"grunt-contrib-nodeunit":... | <|file_sep|>original/package.json
{
"name": "application-name",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node app.js",
"test": "grunt test"
},
"dependencies": {
"express": "*",
"mongoose": "*"
},
"devDependencies": {
"grunt": "~0.4.2",
"grunt-contrib-jshint": "~0.6.3... | e536507183b18d0a8e5362c874ef3720edd73370 | package.json | package.json | JSON |
<|file_sep|>original/neuralmonkey/nn/mlp.py
class MultilayerPerceptron(object):
""" General implementation of the multilayer perceptron. """
# pylint: disable=too-many-arguments
def __init__(self, mlp_input, layer_configuration, dropout_plc,
output_size, name: str = 'multilayer_perceptron... |
class MultilayerPerceptron(object):
""" General implementation of the multilayer perceptron. """
# pylint: disable=too-many-arguments
def __init__(self, mlp_input, layer_configuration, dropout_plc,
output_size, name: str = 'multilayer_perceptron',
activation_fn=tf.nn.relu... | <|file_sep|>original/neuralmonkey/nn/mlp.py
class MultilayerPerceptron(object):
""" General implementation of the multilayer perceptron. """
# pylint: disable=too-many-arguments
def __init__(self, mlp_input, layer_configuration, dropout_plc,
output_size, name: str = 'multilayer_perceptron... | 2d99984303da47b23b1a790b1f0c51f9aa28e415 | neuralmonkey/nn/mlp.py | neuralmonkey/nn/mlp.py | Python |
<|file_sep|>original/resources/views/Customer/Login.twig
{% extends getPartial('page-design') %}
{% block PageBody %}
{{ component( "PluginCeres::Customer.Components.LoginView") }}
{{ component( "PluginCeres::Customer.Components.Login") }}
{{ component( "PluginCeres::Customer.Components.GuestLogin") }}
... | {% extends getPartial('page-design') %}
{% block PageBody %}
{{ component( "PluginCeres::Customer.Components.LoginView") }}
{{ component( "PluginCeres::Customer.Components.Login") }}
{{ component( "PluginCeres::Customer.Components.GuestLogin") }}
<login-view template="#vue-login-view"></login-view>
{%... | <|file_sep|>original/resources/views/Customer/Login.twig
{% extends getPartial('page-design') %}
{% block PageBody %}
{{ component( "PluginCeres::Customer.Components.LoginView") }}
{{ component( "PluginCeres::Customer.Components.Login") }}
{{ component( "PluginCeres::Customer.Components.GuestLogin") }}
... | 166a2feb90857a5cdc9a59ca8c9a08810c69ddc5 | resources/views/Customer/Login.twig | resources/views/Customer/Login.twig | Twig |
<|file_sep|>original/source/_team.html.haml
%section#team.container
%h3.section__title.section__title--blue= I18n.t("corporate.team.title")
.row
- %w{mike thibault yann sylvain}.each do |member|
.col-4.col.col--centered
%img{src: gravatar_for(I18n.t("corporate.team.#{member}.email")), class: "avat... | %section#team.container
%h3.section__title= I18n.t("corporate.team.title")
.row
- %w{mike thibault yann sylvain}.each do |member|
.col-4.col.col--centered
%img{src: gravatar_for(I18n.t("corporate.team.#{member}.email")), class: "avatar", alt: I18n.t("corporate.team.#{member}.email")}
%h4= ... | <|file_sep|>original/source/_team.html.haml
%section#team.container
%h3.section__title.section__title--blue= I18n.t("corporate.team.title")
.row
- %w{mike thibault yann sylvain}.each do |member|
.col-4.col.col--centered
%img{src: gravatar_for(I18n.t("corporate.team.#{member}.email")), class: "avat... | d4386c9dcf49722cb7bcb07499bc29970e221d6b | source/_team.html.haml | source/_team.html.haml | Haml |
<|file_sep|>original/roles/wt_messaging_monitoring_service.json
<|file_sep|>current/roles/wt_messaging_monitoring_service.json
<|file_sep|>updated/roles/wt_messaging_monitoring_service.json | {
"name": "wt_messaging_monitoring_service",
"default_attributes": {
},
"override_attributes": {
},
"json_class": "Chef::Role",
"env_run_lists": {
},
"run_list": [
],
"description": "Webtrends Messaging Monitoring Service",
"chef_type": "role"
} | <|file_sep|>original/roles/wt_messaging_monitoring_service.json
<|file_sep|>current/roles/wt_messaging_monitoring_service.json
<|file_sep|>updated/roles/wt_messaging_monitoring_service.json
{
"name": "wt_messaging_monitoring_service",
"default_attributes": {
},
"override_attributes": {
},
"json_class": "C... | 488284b393df30814fb497b27ac125a5e3fd3334 | roles/wt_messaging_monitoring_service.json | roles/wt_messaging_monitoring_service.json | JSON |
<|file_sep|>build/buildSystem.js.diff
original:
await new Promise(task)
updated:
return new Promise(task)
<|file_sep|>build/buildSystem.js.diff
original:
const runJobSeries = (tasks) => {
tasks.reduce(async (previous, next) => {
await previous;
updated:
const runJobSeries = async (tasks) => tasks.re... |
const runJobSeries = async (tasks) => tasks.reduce(async (previous, next) => {
await previous;
return runTask(next);
}, Promise.resolve());
const build = (availableJobs) => {
const startTime = Date.now();
const jobName = Object.keys(availableJobs).includes(process.argv[2])
? process.argv[2]
... | <|file_sep|>build/buildSystem.js.diff
original:
await new Promise(task)
updated:
return new Promise(task)
<|file_sep|>build/buildSystem.js.diff
original:
const runJobSeries = (tasks) => {
tasks.reduce(async (previous, next) => {
await previous;
updated:
const runJobSeries = async (tasks) => tasks.re... | 8bb7ed7665951ec23d69d8d1334e76b9ad4cef73 | build/buildSystem.js | build/buildSystem.js | JavaScript |
<|file_sep|>original/examples/linechannel.py
# -*- coding: utf-8 -*-
from linepy import *
client = LineClient()
#client = LineClient(authToken='AUTHTOKEN')
client.log("Auth Token : " + str(client.authToken))
# Initialize LineChannel with LineClient
# This channel id is Timeline channel
channel = LineChannel(client, ... | # -*- coding: utf-8 -*-
from linepy import *
client = LineClient()
#client = LineClient(authToken='AUTHTOKEN')
client.log("Auth Token : " + str(client.authToken))
# Initialize LineChannel with LineClient
# This channel id is Timeline channel
channel = LineChannel(client, channelId="1341209950")
client.log("Channel A... | <|file_sep|>original/examples/linechannel.py
# -*- coding: utf-8 -*-
from linepy import *
client = LineClient()
#client = LineClient(authToken='AUTHTOKEN')
client.log("Auth Token : " + str(client.authToken))
# Initialize LineChannel with LineClient
# This channel id is Timeline channel
channel = LineChannel(client, ... | 271bb9de8f0f3674b1f6f47bc3519f1297c87abf | examples/linechannel.py | examples/linechannel.py | Python |
<|file_sep|>original/lib/pg_search/tasks.rb
namespace :pg_search do
namespace :multisearch do
desc "Rebuild PgSearch multisearch records for a given model"
task :rebuild, %i[model schema] => :environment do |_task, args|
raise ArgumentError, <<-MESSAGE.strip_heredoc unless args.model
You must ... |
namespace :pg_search do
namespace :multisearch do
desc "Rebuild PgSearch multisearch records for a given model"
task :rebuild, %i[model schema] => :environment do |_task, args|
raise ArgumentError, <<-MESSAGE.strip_heredoc unless args.model
You must pass a model as an argument.
Example... | <|file_sep|>original/lib/pg_search/tasks.rb
namespace :pg_search do
namespace :multisearch do
desc "Rebuild PgSearch multisearch records for a given model"
task :rebuild, %i[model schema] => :environment do |_task, args|
raise ArgumentError, <<-MESSAGE.strip_heredoc unless args.model
You must ... | 380b4d7c93b1232a60825e2f8688c02fdbeaf33f | lib/pg_search/tasks.rb | lib/pg_search/tasks.rb | Ruby |
<|file_sep|>original/doc/index.rst
Page Object Extension
=====================
This Behat extension provides tools for implementing page object pattern.
Page object pattern is a way of keeping your context files clean
by separating UI knowledge from the actions and assertions.
Read more on the page object pattern on ... | Page Object Extension
=====================
This Behat extension provides tools for implementing page object pattern.
Page object pattern is a way of keeping your context files clean
by separating UI knowledge from the actions and assertions.
Read more on the page object pattern on the
`Selenium wiki <https://github.... | <|file_sep|>original/doc/index.rst
Page Object Extension
=====================
This Behat extension provides tools for implementing page object pattern.
Page object pattern is a way of keeping your context files clean
by separating UI knowledge from the actions and assertions.
Read more on the page object pattern on ... | 6f17d25e53e0678b0f02b969649364e91b99c82f | doc/index.rst | doc/index.rst | reStructuredText |
<|file_sep|>original/.travis.yml
language: php
php:
- "5.4"
- "5.5"
- "5.6"
env:
- SYMFONY_VERSION="~2.3.0"
- SYMFONY_VERSION="~2.7.0"
before_script:
- if [[ $TRAVIS_PHP_VERSION =~ 5.[34] ]] ; then echo 'extension="apc.so"' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;
- if [[ $TRAVIS_PHP_... | language: php
php:
- "5.4"
- "5.5"
- "5.6"
env:
- SYMFONY_VERSION="~2.3.0"
- SYMFONY_VERSION="~2.7.0"
before_script:
- if [[ $TRAVIS_PHP_VERSION =~ 5.[34] ]] ; then echo 'extension="apc.so"' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;
- if [[ $TRAVIS_PHP_VERSION =~ 5.[56] ]] ; then echo ... | <|file_sep|>original/.travis.yml
language: php
php:
- "5.4"
- "5.5"
- "5.6"
env:
- SYMFONY_VERSION="~2.3.0"
- SYMFONY_VERSION="~2.7.0"
before_script:
- if [[ $TRAVIS_PHP_VERSION =~ 5.[34] ]] ; then echo 'extension="apc.so"' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;
- if [[ $TRAVIS_PHP_... | 8b5eea3a6bed0706a8b7984f65b1aac9925f7801 | .travis.yml | .travis.yml | YAML |
<|file_sep|>metadata/fr.covidat.android.yml.diff
original:
updated:
- versionName: 3.0.0
versionCode: 7
commit: v3.0.0
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/fr.covidat.android.yml
- yes
- versionName: 2.1.0
versionCode: 5
commit: v2.1.0
subdir: app
gr... | - yes
- versionName: 2.1.1
versionCode: 6
commit: v2.1.1
subdir: app
gradle:
- yes
- versionName: 3.0.0
versionCode: 7
commit: v3.0.0
subdir: app
gradle:
- yes
ArchivePolicy: 0 versions
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags ^v.+[0-9]$
CurrentVersion: ... | <|file_sep|>metadata/fr.covidat.android.yml.diff
original:
updated:
- versionName: 3.0.0
versionCode: 7
commit: v3.0.0
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/fr.covidat.android.yml
- yes
- versionName: 2.1.0
versionCode: 5
commit: v2.1.0
subdir: app
gr... | 58ae6b4ba6bf7c2e5a87c2d86dda8ed164bc0f9a | metadata/fr.covidat.android.yml | metadata/fr.covidat.android.yml | YAML |
<|file_sep|>original/packet-viewer.sh
<|file_sep|>current/packet-viewer.sh
<|file_sep|>updated/packet-viewer.sh | #!/bin/bash
mvn -q -f packet-viewer/pom.xml exec:exec \
-Dexec.executable="java" \
-Dexec.args="-classpath %classpath org.yamcs.ui.packetviewer.PacketViewer"
| <|file_sep|>original/packet-viewer.sh
<|file_sep|>current/packet-viewer.sh
<|file_sep|>updated/packet-viewer.sh
#!/bin/bash
mvn -q -f packet-viewer/pom.xml exec:exec \
-Dexec.executable="java" \
-Dexec.args="-classpath %classpath org.yamcs.ui.packetviewer.PacketViewer"
| 1b0b75b07b4cecf1b4c392e8afa990952cba4fd9 | packet-viewer.sh | packet-viewer.sh | Shell |
<|file_sep|>original/controllers/requests.js
};
exports.getGameRequest = (type, req, res) => {
requestHelper.makeGameRequest(type, req, res);
};
exports.getTodaysRequests = (req, res) => {
requestHelper.makeTodayCountRequests(req, res);
};
exports.getTopTargets = (req, res) => {
requestHelper.makeTopTargetRequest... | };
exports.getTodaysRequests = (req, res) => {
requestHelper.makeTodayCountRequests(req, res);
};
exports.getTopTargets = (req, res) => {
requestHelper.makeTopTargetRequests(req, res);
};
exports.getUniqueTargets = (req, res) => {
requestHelper.makeUniqueTargetsRequests(req, res);
};
exports.getCurrentlyActiveCo... | <|file_sep|>original/controllers/requests.js
};
exports.getGameRequest = (type, req, res) => {
requestHelper.makeGameRequest(type, req, res);
};
exports.getTodaysRequests = (req, res) => {
requestHelper.makeTodayCountRequests(req, res);
};
exports.getTopTargets = (req, res) => {
requestHelper.makeTopTargetRequest... | 69a84714188998f163285e70d52a5308d42d2b43 | controllers/requests.js | controllers/requests.js | JavaScript |
<|file_sep|>original/composer.json
"name": "Michael Nitschinger",
"homepage": "http://www.nitschinger.at"
},
{
"name": "gwoo",
"homepage": "https://github.com/gwoo"
},
{
"name": "Daniel McOrmond",
"homepage": "http://danielmcormond.com"
},
{
"name": "Blaine Schmeisser",
"email": "Bla... | "homepage": "http://www.nitschinger.at"
},
{
"name": "gwoo",
"homepage": "https://github.com/gwoo"
},
{
"name": "Daniel McOrmond",
"homepage": "http://danielmcormond.com"
},
{
"name": "Blaine Schmeisser",
"email": "BlaineSch@gmail.com",
"homepage": "https://github.com/BlaineSch"
}
... | <|file_sep|>original/composer.json
"name": "Michael Nitschinger",
"homepage": "http://www.nitschinger.at"
},
{
"name": "gwoo",
"homepage": "https://github.com/gwoo"
},
{
"name": "Daniel McOrmond",
"homepage": "http://danielmcormond.com"
},
{
"name": "Blaine Schmeisser",
"email": "Bla... | 7b54d85dbbebc662bb5e33c2beace632380cc70e | composer.json | composer.json | JSON |
<|file_sep|>spec/requests/media_requests_spec.rb.diff
original:
updated:
let(:asset) { FactoryGirl.create(:clean_asset) }
<|file_sep|>spec/requests/media_requests_spec.rb.diff
original:
@asset = FactoryGirl.create(:clean_asset)
get "/media/#{@asset.id}/asset.png", nil, "HTTP_X_SENDFILE_TYPE" => "X-Acc... | end
describe "request an asset that does exist" do
let(:asset) { FactoryGirl.create(:clean_asset) }
before do
get "/media/#{asset.id}/asset.png", nil, "HTTP_X_SENDFILE_TYPE" => "X-Accel-Redirect",
"HTTP_X_ACCEL_MAPPING" => "#{Rails.root}/tmp/test_uploads/assets/=/raw/"
end
it "should... | <|file_sep|>spec/requests/media_requests_spec.rb.diff
original:
updated:
let(:asset) { FactoryGirl.create(:clean_asset) }
<|file_sep|>spec/requests/media_requests_spec.rb.diff
original:
@asset = FactoryGirl.create(:clean_asset)
get "/media/#{@asset.id}/asset.png", nil, "HTTP_X_SENDFILE_TYPE" => "X-Acc... | ded1b85aab0717e6e5a4275a64d2d370685d9555 | spec/requests/media_requests_spec.rb | spec/requests/media_requests_spec.rb | Ruby |
<|file_sep|>original/.travis.yml
- php: 5.6
env: SYMFONY_VERSION=2.5.*
- php: 5.6
env: SYMFONY_VERSION=2.6.*
- php: 5.6
env: SYMFONY_VERSION=2.7.*
- php: 5.6
env: SYMFONY_VERSION=2.8.*
- php: 5.6
env: SYMFONY_VERSION=3.0.*
allow_failures:
- php: 7.0
- env: SYM... | env: SYMFONY_VERSION=2.4.*
- php: 5.6
env: SYMFONY_VERSION=2.5.*
- php: 5.6
env: SYMFONY_VERSION=2.6.*
- php: 5.6
env: SYMFONY_VERSION=2.7.*
- php: 5.6
env: SYMFONY_VERSION=2.8.*
- php: 5.6
env: SYMFONY_VERSION=3.0.*
allow_failures:
- php: 7.0
before_script... | <|file_sep|>original/.travis.yml
- php: 5.6
env: SYMFONY_VERSION=2.5.*
- php: 5.6
env: SYMFONY_VERSION=2.6.*
- php: 5.6
env: SYMFONY_VERSION=2.7.*
- php: 5.6
env: SYMFONY_VERSION=2.8.*
- php: 5.6
env: SYMFONY_VERSION=3.0.*
allow_failures:
- php: 7.0
- env: SYM... | cdc8e3c4c509eb657a55e47fe8675b0f700314c6 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/meta/main.yml
# https://galaxy.ansibleworks.com
# Meta information required when uploading a role to the
# galaxy.
galaxy_info:
author: Mark Kusch
description: Manage Java installation
company: http://silpion.de
license: Apache 2
min_ansible_version: 1.9
#
# Below are all platf... |
# https://galaxy.ansibleworks.com
# Meta information required when uploading a role to the
# galaxy.
galaxy_info:
author: Mark Kusch
description: Manage Java installation
company: http://silpion.de
license: Apache 2
min_ansible_version: 2.0.0.2
#
# Below are all platforms currently available. Just ... | <|file_sep|>original/meta/main.yml
# https://galaxy.ansibleworks.com
# Meta information required when uploading a role to the
# galaxy.
galaxy_info:
author: Mark Kusch
description: Manage Java installation
company: http://silpion.de
license: Apache 2
min_ansible_version: 1.9
#
# Below are all platf... | 7fc5e59edf867433120e41ff165337c4bafd3d44 | meta/main.yml | meta/main.yml | YAML |
<|file_sep|>README.rst.diff
original:
Install from PyPi::
updated:
Clone the repository and Install from source::
<|file_sep|>original/README.rst
1. Captures the Gerrit event stream into a log file (using ``event-logger``).
2. Renders a log file of the Gerrit event stream into a human-readable markdown
file (using ... | 1. Captures the Gerrit event stream into a log file (using ``event-logger``).
2. Renders a log file of the Gerrit event stream into a human-readable markdown
file (using ``events-in-english``).
Installation
------------
Clone the repository and Install from source::
$ pip install .
Usage
-----
Start by run... | <|file_sep|>README.rst.diff
original:
Install from PyPi::
updated:
Clone the repository and Install from source::
<|file_sep|>original/README.rst
1. Captures the Gerrit event stream into a log file (using ``event-logger``).
2. Renders a log file of the Gerrit event stream into a human-readable markdown
file (using ... | 6a6fd42b0c205215be54160959f652570890dbd9 | README.rst | README.rst | reStructuredText |
<|file_sep|>original/anchorhub/lib/filetolist.py
class FileToList(object):
"""
FileToList is a helper class used to import text files and turn them into
lists, with each index in the list representing a single line from the
text file.
"""
@staticmethod
def to_list(file_path):
"""
... | class FileToList(object):
"""
FileToList is a helper class used to import text files and turn them into
lists, with each index in the list representing a single line from the
text file.
"""
@staticmethod
def to_list(file_path):
"""
Static method. Takes in a file path, and out... | <|file_sep|>original/anchorhub/lib/filetolist.py
class FileToList(object):
"""
FileToList is a helper class used to import text files and turn them into
lists, with each index in the list representing a single line from the
text file.
"""
@staticmethod
def to_list(file_path):
"""
... | 720833e96e24ffe73822a3a1280e3dc901e52829 | anchorhub/lib/filetolist.py | anchorhub/lib/filetolist.py | Python |
<|file_sep|>original/paci/helpers/display_helper.py
"""Helper to output stuff"""
from tabulate import tabulate
def print_list(header, entries):
"""Prints out a list"""
print(tabulate(entries, header, tablefmt="grid"))
def std_input(text, default):
"""Get input or return default if none is given."""
... | """Helper to output stuff"""
from tabulate import tabulate
def print_list(header, entries):
"""Prints out a list"""
print(tabulate(entries, header, tablefmt="grid"))
def print_table(entries):
"""Prints out a table"""
print(tabulate(entries, tablefmt="plain"))
def std_input(text, default):
"""... | <|file_sep|>original/paci/helpers/display_helper.py
"""Helper to output stuff"""
from tabulate import tabulate
def print_list(header, entries):
"""Prints out a list"""
print(tabulate(entries, header, tablefmt="grid"))
def std_input(text, default):
"""Get input or return default if none is given."""
... | 251a0d1b1df0fd857a86878ecb7e4c6bc26a93ef | paci/helpers/display_helper.py | paci/helpers/display_helper.py | Python |
<|file_sep|>package-keystone-spassword.sh.diff
original:
ver=${string% *}
rel=${string#* }
updated:
VERSION_VALUE=${string% *}
RELEASE_VALUE=${string#* }
<|file_sep|>package-keystone-spassword.sh.diff
original:
PYTHON27_VALUE=0
PYTHON27_ARG=${1}
updated:
args=("$@")
ELEMENTS=${#args[@]}
<|file_sep|>package-keystone-spa... |
for (( i=0;i<$ELEMENTS;i++)); do
arg=${args[${i}]}
if [ "$arg" == "with_python27" ]; then
PYTHON27_VALUE=1
fi
if [ "$arg" == "with_version" ]; then
VERSION_VALUE=${args[${i}+1]}
RELEASE_VALUE=0
fi
done
RPM_DIR=$BASE/build/rpm
mkdir -p $RPM_DIR/BUILD
rpmbuild -bb keystone-s... | <|file_sep|>package-keystone-spassword.sh.diff
original:
ver=${string% *}
rel=${string#* }
updated:
VERSION_VALUE=${string% *}
RELEASE_VALUE=${string#* }
<|file_sep|>package-keystone-spassword.sh.diff
original:
PYTHON27_VALUE=0
PYTHON27_ARG=${1}
updated:
args=("$@")
ELEMENTS=${#args[@]}
<|file_sep|>package-keystone-spa... | 51054649861cfd8f9644221564b98d0c8f91ede0 | package-keystone-spassword.sh | package-keystone-spassword.sh | Shell |
<|file_sep|>original/src/app/inventory/dimStoreReputation.scss
.reputation {
& .store-cell:first-child {
margin-left: 28px;
}
}
.factionrep {
margin: 2px 2px -2px 2px;
position: relative;
display: inline-block;
svg {
width: var(--item-size);
height: var(--item-size);
}
}
<|file_sep|>current/... | .reputation {
& .store-cell:first-child {
margin-left: 28px;
}
}
.factionrep {
margin: 2px 2px -2px 2px;
position: relative;
display: inline-block;
svg {
width: calc(var(--item-size) + 4px);
height: calc(var(--item-size) + 4px);
}
} | <|file_sep|>original/src/app/inventory/dimStoreReputation.scss
.reputation {
& .store-cell:first-child {
margin-left: 28px;
}
}
.factionrep {
margin: 2px 2px -2px 2px;
position: relative;
display: inline-block;
svg {
width: var(--item-size);
height: var(--item-size);
}
}
<|file_sep|>current/... | 3035987f4fc0bcae48dbc37f240931689c7c7e01 | src/app/inventory/dimStoreReputation.scss | src/app/inventory/dimStoreReputation.scss | SCSS |
<|file_sep|>.travis.yml.diff
original:
sudo: false
updated:
<|file_sep|>original/.travis.yml
sudo: false
language: python
# Run tox with python 3.4, but let _it_ build the envs for the various Python
# versions (instead of Travis)
python: 3.4
env:
matrix:
- TOXENV=py27-piplatest
- TOXENV=py34-piplatest
... | language: python
# Run tox with python 3.4, but let _it_ build the envs for the various Python
# versions (instead of Travis)
python: 3.4
env:
matrix:
- TOXENV=py27-piplatest
- TOXENV=py34-piplatest
- TOXENV=py27-pip7
- TOXENV=py34-pip7
- TOXENV=py27-pip71
- TOXENV=py34-pip71
- TOXENV=py... | <|file_sep|>.travis.yml.diff
original:
sudo: false
updated:
<|file_sep|>original/.travis.yml
sudo: false
language: python
# Run tox with python 3.4, but let _it_ build the envs for the various Python
# versions (instead of Travis)
python: 3.4
env:
matrix:
- TOXENV=py27-piplatest
- TOXENV=py34-piplatest
... | 010263d8fcfb5ef84bf9562e3e5f9280f2e03929 | .travis.yml | .travis.yml | YAML |
<|file_sep|>game/scss/tiles/_tile.scss.diff
original:
updated:
position: relative;
<|file_sep|>original/game/scss/tiles/_tile.scss
padding-left: 5px;
}
}
.tile-outline {
display: flex;
flex: 1;
align-items: center;
justify-content: center;
border: 1px solid #8c8c8c;
}
.tile__contain {
display: fl... | padding-left: 5px;
}
}
.tile-outline {
display: flex;
position: relative;
flex: 1;
align-items: center;
justify-content: center;
&:before, &:after {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: 1px solid;
pointer-events: none;
content: '';
... | <|file_sep|>game/scss/tiles/_tile.scss.diff
original:
updated:
position: relative;
<|file_sep|>original/game/scss/tiles/_tile.scss
padding-left: 5px;
}
}
.tile-outline {
display: flex;
flex: 1;
align-items: center;
justify-content: center;
border: 1px solid #8c8c8c;
}
.tile__contain {
display: fl... | 7a6e6f1a36680bf17e8c65fb76dc2460c0dfa757 | game/scss/tiles/_tile.scss | game/scss/tiles/_tile.scss | SCSS |
<|file_sep|>original/lib/dc/zip_utils.rb
module DC
# Helper methods for dealing with packaging zip archives, for mixing in to
# controllers.
module ZipUtils
def package(zip_name)
temp_dir = Dir.mktmpdir# do |temp_dir|
zipfile = "#{temp_dir}/#{zip_name}"
Zip::File.open(zipfile, Zip::Fil... | require 'zip'
module DC
# Helper methods for dealing with packaging zip archives, for mixing in to
# controllers.
module ZipUtils
def package(zip_name)
zipfile = Tempfile.new(["dc",".zip"])
Zip::File.open(zipfile.path, Zip::File::CREATE) do |zip|
yield zip
end
send_file zipf... | <|file_sep|>original/lib/dc/zip_utils.rb
module DC
# Helper methods for dealing with packaging zip archives, for mixing in to
# controllers.
module ZipUtils
def package(zip_name)
temp_dir = Dir.mktmpdir# do |temp_dir|
zipfile = "#{temp_dir}/#{zip_name}"
Zip::File.open(zipfile, Zip::Fil... | cea8202f91721cd1c80847bb71cc6c38ec14e54a | lib/dc/zip_utils.rb | lib/dc/zip_utils.rb | Ruby |
<|file_sep|>original/src/server.js
if (onSuccess) onSuccess()
})
app.get('/render/*', function(req, res) {
var pageUrl = decodeURIComponent(req.params[0])
console.log('Requesting page ', pageUrl)
var renderingResult = render.renderPage(pageUrl)
renderingResult.onError(function(e) {
cons... | if (onSuccess) onSuccess()
})
app.get('/render/*', function(req, res) {
var pageUrl = decodeURIComponent(req.params[0])
console.log('Requesting page ', pageUrl)
var renderingResult = render.renderPage(pageUrl)
renderingResult.onError(function(e) {
console.log(e)
res.status(500).en... | <|file_sep|>original/src/server.js
if (onSuccess) onSuccess()
})
app.get('/render/*', function(req, res) {
var pageUrl = decodeURIComponent(req.params[0])
console.log('Requesting page ', pageUrl)
var renderingResult = render.renderPage(pageUrl)
renderingResult.onError(function(e) {
cons... | e2a2d952d389bb64a416cc388ac4a5a5cf548602 | src/server.js | src/server.js | JavaScript |
<|file_sep|>original/modmailbot-pm2.json
{
"apps": [{
"name": "ModMailBot",
"cwd": "./",
"script": "npm",
"args": "start"
}]
}
<|file_sep|>current/modmailbot-pm2.json
{
"apps": [{
"name": "ModMailBot",
"cwd": "./",
"script": "npm",
"args": "sta... | {
"apps": [{
"name": "ModMailBot",
"cwd": "./",
"script": "npm",
"args": "./src/index.js"
}]
} | <|file_sep|>original/modmailbot-pm2.json
{
"apps": [{
"name": "ModMailBot",
"cwd": "./",
"script": "npm",
"args": "start"
}]
}
<|file_sep|>current/modmailbot-pm2.json
{
"apps": [{
"name": "ModMailBot",
"cwd": "./",
"script": "npm",
"args": "sta... | ae3bf11d0b79457bf8bbc344e495a61d787ce82f | modmailbot-pm2.json | modmailbot-pm2.json | JSON |
<|file_sep|>src/scripts/modules/popover/popover.less.diff
original:
updated:
&.top .arrow {
bottom: -7px;
}
&.right .arrow {
left: -7px;
}
<|file_sep|>original/src/scripts/modules/popover/popover.less
@import "../../../styles/variables.less";
// Re-style Bootstrap Popovers
.popover {
border: no... | border-width: 6px;
}
}
&.top .arrow {
bottom: -7px;
}
&.right .arrow {
left: -7px;
}
&.bottom .arrow {
top: -7px;
left: 100%;
}
&.left .arrow {
right: -7px;
}
} | <|file_sep|>src/scripts/modules/popover/popover.less.diff
original:
updated:
&.top .arrow {
bottom: -7px;
}
&.right .arrow {
left: -7px;
}
<|file_sep|>original/src/scripts/modules/popover/popover.less
@import "../../../styles/variables.less";
// Re-style Bootstrap Popovers
.popover {
border: no... | 73b8ffe30a5dfb0d58a358ecdb213ecfa2f2632b | src/scripts/modules/popover/popover.less | src/scripts/modules/popover/popover.less | Less |
<|file_sep|>original/test_r.pl6
<|file_sep|>current/test_r.pl6
<|file_sep|>updated/test_r.pl6 | #!/usr/bin/env perl6
use v6;
#my $html = slurp 'test_1.html';
#=begin i
my $html = q:to/END/;
<pre class="perl6 highlighted_source">
1
1.1
</pre>
<pre>2</pre>
<pre>3</pre>
<pre>4</pre>
END
#=end i
#<pre class="perl6 highlighted_source">
| <|file_sep|>original/test_r.pl6
<|file_sep|>current/test_r.pl6
<|file_sep|>updated/test_r.pl6
#!/usr/bin/env perl6
use v6;
#my $html = slurp 'test_1.html';
#=begin i
my $html = q:to/END/;
<pre class="perl6 highlighted_source">
1
1.1
</pre>
<pre>2</pre>
<pre>3</pre>
<pre>4</pre>
END
#=end i
#<pre class="perl6 hig... | 8a74296819c58515c4e56cb518310afd8f0b76ef | test_r.pl6 | test_r.pl6 | Perl6 |
<|file_sep|>original/CITATION.md
Citation
========
For an example of how to Dockerise a machine learning pipeline, see the installation instructions for [FGLab](https://github.com/Kaixhin/FGLab#docker), [FGMachine](https://github.com/Kaixhin/FGMachine#docker), and the [Recurrent Attention Model example](https://github... | Citation
========
For an example of how to Dockerise a machine learning pipeline, see the installation instructions for [FGLab](https://github.com/Kaixhin/FGLab#option-2-docker), [FGMachine](https://github.com/Kaixhin/FGMachine#option-2-docker), and the [Recurrent Attention Model example](https://github.com/Kaixhin/FG... | <|file_sep|>original/CITATION.md
Citation
========
For an example of how to Dockerise a machine learning pipeline, see the installation instructions for [FGLab](https://github.com/Kaixhin/FGLab#docker), [FGMachine](https://github.com/Kaixhin/FGMachine#docker), and the [Recurrent Attention Model example](https://github... | 79adf920eca3d780741d011866f3e9622deda467 | CITATION.md | CITATION.md | Markdown |
<|file_sep|>README.rst.diff
original:
updated:
>>> def cat():
... return 'meow'
...
<|file_sep|>original/README.rst
jsonrpcserver
*************
Process incoming `JSON-RPC <http://www.jsonrpc.org/>`__ requests in Python 2.7
and 3.3+.
.. sourcecode:: python
>>> from jsonrpcserver import dispatch
... | jsonrpcserver
*************
Process incoming `JSON-RPC <http://www.jsonrpc.org/>`__ requests in Python 2.7
and 3.3+.
.. sourcecode:: python
>>> def cat():
... return 'meow'
...
>>> from jsonrpcserver import dispatch
>>> dispatch([cat], {'jsonrpc': '2.0', 'method': 'cat', 'id': 1})
{'jsonr... | <|file_sep|>README.rst.diff
original:
updated:
>>> def cat():
... return 'meow'
...
<|file_sep|>original/README.rst
jsonrpcserver
*************
Process incoming `JSON-RPC <http://www.jsonrpc.org/>`__ requests in Python 2.7
and 3.3+.
.. sourcecode:: python
>>> from jsonrpcserver import dispatch
... | 3b0c7bb5faf7e7221f634c45f59df92568eadb8c | README.rst | README.rst | reStructuredText |
<|file_sep|>original/spec/features/login_spec.rb
<|file_sep|>current/spec/features/login_spec.rb
<|file_sep|>updated/spec/features/login_spec.rb | require 'rails_helper'
feature 'login' do
it "should have a login button on the front page" do
visit '/'
expect(page).to have_button "Login"
end
click_button "Login"
screenshot_and_open_image
end | <|file_sep|>original/spec/features/login_spec.rb
<|file_sep|>current/spec/features/login_spec.rb
<|file_sep|>updated/spec/features/login_spec.rb
require 'rails_helper'
feature 'login' do
it "should have a login button on the front page" do
visit '/'
expect(page).to have_button "Login"
end
click_button... | 3265dfef909fd0868925c55be30c172835fcba52 | spec/features/login_spec.rb | spec/features/login_spec.rb | Ruby |
<|file_sep|>original/synapse/storage/schema/delta/28/users_is_guest.sql
<|file_sep|>current/synapse/storage/schema/delta/28/users_is_guest.sql
<|file_sep|>updated/synapse/storage/schema/delta/28/users_is_guest.sql | /* Copyright 2016 OpenMarket 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | <|file_sep|>original/synapse/storage/schema/delta/28/users_is_guest.sql
<|file_sep|>current/synapse/storage/schema/delta/28/users_is_guest.sql
<|file_sep|>updated/synapse/storage/schema/delta/28/users_is_guest.sql
/* Copyright 2016 OpenMarket Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
... | ae1262a241aa816b9e0f19e628afcc83229af64f | synapse/storage/schema/delta/28/users_is_guest.sql | synapse/storage/schema/delta/28/users_is_guest.sql | SQL |
<|file_sep|>source/_layouts/tag_page.html.diff
original:
<li><a href="{{ post.url }}">{{ post.title }}</a> ({{ post.date | date_to_string }} | Tags: {{ post | tags }})</li>
updated:
<li><a href="{{ post.url }}">{{ post.title }}</a> - {{ post.date | date_to_string }}</li>
<|file_sep|>original/source/_layouts/tag_pag... | ---
layout: default
---
<h2>{{ page.tag }}</h2>
<ul>
{% for post in page.posts %}
<li><a href="{{ post.url }}">{{ post.title }}</a> - {{ post.date | date_to_string }}</li>
{% endfor %}
</ul> | <|file_sep|>source/_layouts/tag_page.html.diff
original:
<li><a href="{{ post.url }}">{{ post.title }}</a> ({{ post.date | date_to_string }} | Tags: {{ post | tags }})</li>
updated:
<li><a href="{{ post.url }}">{{ post.title }}</a> - {{ post.date | date_to_string }}</li>
<|file_sep|>original/source/_layouts/tag_pag... | a0697cc9f1ccb3d41bac59e25bb81edf2838966c | source/_layouts/tag_page.html | source/_layouts/tag_page.html | HTML |
<|file_sep|>original/solutions/image.go
// license that can be found in the LICENSE file.
// +build ignore
package main
import (
"image"
"image/color"
"code.google.com/p/go-tour-french/pic"
)
type Image struct {
Height, Width int
}
func (m Image) ColorModel() color.Model {
return color.RGBAModel
}
<|file_se... | // license that can be found in the LICENSE file.
// +build ignore
package main
import (
"image"
"image/color"
"github.com/dupoxy/go-tour-fr/pic"
)
type Image struct {
Height, Width int
}
func (m Image) ColorModel() color.Model {
return color.RGBAModel
}
| <|file_sep|>original/solutions/image.go
// license that can be found in the LICENSE file.
// +build ignore
package main
import (
"image"
"image/color"
"code.google.com/p/go-tour-french/pic"
)
type Image struct {
Height, Width int
}
func (m Image) ColorModel() color.Model {
return color.RGBAModel
}
<|file_se... | 977e33a5df684367c50f1443fd861bef4db83ba8 | solutions/image.go | solutions/image.go | Go |
<|file_sep|>original/spec/app/models/mdm/module_action_spec.rb
end
context 'factories' do
context 'mdm_module_action' do
subject(:mdm_module_action) do
FactoryGirl.build(:mdm_module_action)
end
it { should be_valid }
end
end
context 'mass assignment security' do
it { sho... |
context 'factories' do
context 'mdm_module_action' do
subject(:mdm_module_action) do
FactoryGirl.build(:mdm_module_action)
end
it { should be_valid }
end
end
context 'mass assignment security' do
it { should_not allow_mass_assignment_of(:module_detail_id) }
it { should... | <|file_sep|>original/spec/app/models/mdm/module_action_spec.rb
end
context 'factories' do
context 'mdm_module_action' do
subject(:mdm_module_action) do
FactoryGirl.build(:mdm_module_action)
end
it { should be_valid }
end
end
context 'mass assignment security' do
it { sho... | 8688c8031caf0f34708b324ef72bc1d436b585b8 | spec/app/models/mdm/module_action_spec.rb | spec/app/models/mdm/module_action_spec.rb | Ruby |
<|file_sep|>original/metadata/io.github.z3r0c00l_2k.aquadroid.yml
gradle:
- yes
- versionName: '1.2'
versionCode: 4
commit: v1.2
subdir: app
gradle:
- yes
- versionName: '1.3'
versionCode: 5
commit: v1.3
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
U... | gradle:
- yes
- versionName: '1.2'
versionCode: 4
commit: v1.2
subdir: app
gradle:
- yes
- versionName: '1.3'
versionCode: 5
commit: v1.3
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: '1.2'
CurrentVersionCode: 4 | <|file_sep|>original/metadata/io.github.z3r0c00l_2k.aquadroid.yml
gradle:
- yes
- versionName: '1.2'
versionCode: 4
commit: v1.2
subdir: app
gradle:
- yes
- versionName: '1.3'
versionCode: 5
commit: v1.3
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
U... | ccfb1aa24cf5d888301a1dffefacc17a34527d23 | metadata/io.github.z3r0c00l_2k.aquadroid.yml | metadata/io.github.z3r0c00l_2k.aquadroid.yml | YAML |
<|file_sep|>original/lib/generators/raptor_editor_rails/install/install_generator.rb
require "raptor_editor_rails"
module RaptorEditorRails
module Generators
class InstallGenerator < Rails::Generators::Base
desc "Copies Raptor Editor #{RaptorEditorRails::RAPTOR_EDITOR_VERSION} to vendor/assets/javascripts"... | require "raptor_editor_rails"
require "raptor_editor_rails/version"
module RaptorEditorRails
module Generators
class InstallGenerator < Rails::Generators::Base
desc "Copies Raptor Editor #{RaptorEditorRails::RAPTOR_EDITOR_VERSION} to vendor/assets/javascripts"
source_root File.expand_path('../../../.... | <|file_sep|>original/lib/generators/raptor_editor_rails/install/install_generator.rb
require "raptor_editor_rails"
module RaptorEditorRails
module Generators
class InstallGenerator < Rails::Generators::Base
desc "Copies Raptor Editor #{RaptorEditorRails::RAPTOR_EDITOR_VERSION} to vendor/assets/javascripts"... | db61e20039d9cf243a9a44fe84ec0f06ca8f1e13 | lib/generators/raptor_editor_rails/install/install_generator.rb | lib/generators/raptor_editor_rails/install/install_generator.rb | Ruby |
<|file_sep|>styles/markdown-preview.less.diff
original:
.scrollbars-visible-always &::shadow {
updated:
.scrollbars-visible-always {
<|file_sep|>original/styles/markdown-preview.less
.markdown-preview {
atom-text-editor {
// only show scrollbars on hover
.scrollbars-visible-always &::shadow {
.... |
.markdown-preview {
atom-text-editor {
// only show scrollbars on hover
.scrollbars-visible-always {
.vertical-scrollbar,
.horizontal-scrollbar {
visibility: hidden;
}
}
.scrollbars-visible-always &:hover {
.vertical-scrollbar,
.horizontal-scrollbar {
vis... | <|file_sep|>styles/markdown-preview.less.diff
original:
.scrollbars-visible-always &::shadow {
updated:
.scrollbars-visible-always {
<|file_sep|>original/styles/markdown-preview.less
.markdown-preview {
atom-text-editor {
// only show scrollbars on hover
.scrollbars-visible-always &::shadow {
.... | 8a6aebcd98625d513c5f757bd20d7f187dadc02b | styles/markdown-preview.less | styles/markdown-preview.less | Less |
<|file_sep|>original/manual/conf.py
project = 'QPDF'
copyright = '2005-2021, Jay Berkenbilt'
author = 'Jay Berkenbilt'
# make_dist and the CI build lexically find the release version from this file.
release = '10.5.0'
version = release
extensions = [
'sphinx_rtd_theme',
'qpdf',
]
html_theme = 'sphinx_rtd_theme... | version = release
extensions = [
'sphinx_rtd_theme',
'qpdf',
]
html_theme = 'sphinx_rtd_theme'
html_theme_options = {
"body_max_width": None,
}
html_logo = '../logo/qpdf.svg'
html_static_path = ['_static']
html_css_files = [
'css/wraptable.css',
]
latex_elements = {
'preamble': r'''
\sphinxDUC{2264}... | <|file_sep|>original/manual/conf.py
project = 'QPDF'
copyright = '2005-2021, Jay Berkenbilt'
author = 'Jay Berkenbilt'
# make_dist and the CI build lexically find the release version from this file.
release = '10.5.0'
version = release
extensions = [
'sphinx_rtd_theme',
'qpdf',
]
html_theme = 'sphinx_rtd_theme... | 211f1fdfe1d969df7c9762ba8e914d3ea829e9b4 | manual/conf.py | manual/conf.py | Python |
<|file_sep|>original/ajaximage/urls.py
from django.conf.urls.defaults import url, patterns
from ajaximage.views import ajaximage
from ajaximage.forms import FileForm
urlpatterns = patterns('',
url('^upload/(?P<upload_to>.*)/(?P<max_width>\d+)/(?P<max_height>\d+)/(?P<crop>\d+)', ajaximage, {
'form_class':... | try:# pre 1.6
from django.conf.urls.defaults import url, patterns
except ImportError:
from django.conf.urls import url, patterns
from ajaximage.views import ajaximage
from ajaximage.forms import FileForm
urlpatterns = patterns('',
url('^upload/(?P<upload_to>.*)/(?P<max_width>\d+)/(?P<max_height>\d+)/(?P<... | <|file_sep|>original/ajaximage/urls.py
from django.conf.urls.defaults import url, patterns
from ajaximage.views import ajaximage
from ajaximage.forms import FileForm
urlpatterns = patterns('',
url('^upload/(?P<upload_to>.*)/(?P<max_width>\d+)/(?P<max_height>\d+)/(?P<crop>\d+)', ajaximage, {
'form_class':... | f0d3cf2bfcaa569f47eb888d5553659c5c57f07d | ajaximage/urls.py | ajaximage/urls.py | Python |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "7.9.0"
git:
depth: 1
branches:
except:
- /^experiment.*/
before_script:
- npm install -g bower ember-cli@2.11.1 yarn
- bower install
- yarn
script:
ember build
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "7.9.0"
git:
... | language: node_js
node_js:
- "7.9.0"
git:
depth: 1
branches:
except:
- /^experiment.*/
before_script:
- npm install -g bower ember-cli@2.11.1 yarn node-sass
- bower install
- yarn
script:
ember build | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "7.9.0"
git:
depth: 1
branches:
except:
- /^experiment.*/
before_script:
- npm install -g bower ember-cli@2.11.1 yarn
- bower install
- yarn
script:
ember build
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "7.9.0"
git:
... | 0bc3998e3c678d948b29bc5b97875149aa345b14 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/tox.ini
[tox]
envlist = py26,py27,py33,py34,py35
[testenv]
deps = nose
commands = nosetests -P tests
<|file_sep|>current/tox.ini
[tox]
envlist = py26,py27,py33,py34,py35
[testenv]
deps = nose
commands = nosetests -P tests
<|file_sep|>updated/tox.ini | [tox]
envlist = py26,py27,py33,py34,py35,py36
[testenv]
deps = nose
commands = nosetests -P tests | <|file_sep|>original/tox.ini
[tox]
envlist = py26,py27,py33,py34,py35
[testenv]
deps = nose
commands = nosetests -P tests
<|file_sep|>current/tox.ini
[tox]
envlist = py26,py27,py33,py34,py35
[testenv]
deps = nose
commands = nosetests -P tests
<|file_sep|>updated/tox.ini
[tox]
envlist = py26,py27,py33,py34,py35,py36
... | d4bd5fe97e22b7eda53485838e1b77a2b048589e | tox.ini | tox.ini | INI |
<|file_sep|>original/tests/fr.inria.diverse.melange.tests.eclipse/pom.xml
<artifactId>fr.inria.diverse.melange.tests.eclipse</artifactId>
<packaging>eclipse-test-plugin</packaging>
<name>Melange Language Eclipse Tests</name>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifac... | <packaging>eclipse-test-plugin</packaging>
<name>Melange Language Eclipse Tests</name>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<version>${tycho.version}</version>
<configuration>
<argLine>-Xmx2048m</argLine>
<... | <|file_sep|>original/tests/fr.inria.diverse.melange.tests.eclipse/pom.xml
<artifactId>fr.inria.diverse.melange.tests.eclipse</artifactId>
<packaging>eclipse-test-plugin</packaging>
<name>Melange Language Eclipse Tests</name>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifac... | a03681263e85ef1b4dd55bd3382a6a3860588ded | tests/fr.inria.diverse.melange.tests.eclipse/pom.xml | tests/fr.inria.diverse.melange.tests.eclipse/pom.xml | XML |
<|file_sep|>original/lib/legal_markdown.rb
#! ruby
require File.dirname(__FILE__) + '/legal_markdown/version'
require File.dirname(__FILE__) + '/legal_markdown/make_yaml_frontmatter.rb'
require File.dirname(__FILE__) + '/legal_markdown/legal_to_markdown.rb'
module LegalMarkdown
def self.parse(*args)
args = ARGV... | require File.dirname(__FILE__) + '/legal_markdown/version'
require File.dirname(__FILE__) + '/legal_markdown/make_yaml_frontmatter.rb'
require File.dirname(__FILE__) + '/legal_markdown/legal_to_markdown.rb'
module LegalMarkdown
def self.parse(*args)
args = ARGV.dup
if(!args[0])
STDERR.puts "Sorry, I d... | <|file_sep|>original/lib/legal_markdown.rb
#! ruby
require File.dirname(__FILE__) + '/legal_markdown/version'
require File.dirname(__FILE__) + '/legal_markdown/make_yaml_frontmatter.rb'
require File.dirname(__FILE__) + '/legal_markdown/legal_to_markdown.rb'
module LegalMarkdown
def self.parse(*args)
args = ARGV... | 8c12704c9d27f5402a38f698e5f33573f2aab266 | lib/legal_markdown.rb | lib/legal_markdown.rb | Ruby |
<|file_sep|>original/update_manifest.xml
<?xml version="1.0" encoding="UTF-8"?>
<gupdate xmlns="http://www.google.com/update2/response" protocol="2.0">
<app appid="nmobpgkoodlakclgcakgblhgdoljfgbl">
<updatecheck codebase="https://github.com/mathijsblokland/github-pull-template/raw/master/extension/github-pr-templ... | <?xml version="1.0" encoding="UTF-8"?>
<gupdate xmlns="http://www.google.com/update2/response" protocol="2.0">
<app appid="lbbnbmlnnjfbjicklabnfammjhdefaid">
<updatecheck codebase="https://github.com/mathijsblokland/github-pull-template/raw/master/extension/github-pr-template.crx" version="0.0.2"/>
</app>
</gup... | <|file_sep|>original/update_manifest.xml
<?xml version="1.0" encoding="UTF-8"?>
<gupdate xmlns="http://www.google.com/update2/response" protocol="2.0">
<app appid="nmobpgkoodlakclgcakgblhgdoljfgbl">
<updatecheck codebase="https://github.com/mathijsblokland/github-pull-template/raw/master/extension/github-pr-templ... | 13061d2ec007d394efe02f2080e07fd56db05342 | update_manifest.xml | update_manifest.xml | XML |
<|file_sep|>tests/setup_tests_environment.php.diff
original:
#define('LOG4PHP_CONFIGURATION', dirname(__FILE__).'/../logger.conf');
updated:
<|file_sep|>original/tests/setup_tests_environment.php
<?php
$dir = dirname(__FILE__);
set_include_path("$dir/..:" . get_include_path());
#define('LOG4PHP_CONFIGURATION', dirna... | <?php
$dir = dirname(__FILE__);
set_include_path("$dir/..:" . get_include_path());
require_once 'DF/Web/Logger.php';
DF_Web_Logger::setActiveLogger('error_log');
require_once 'simpletest/unit_tester.php';
require_once 'simpletest/reporter.php';
require_once 'DF/Web.php';
$environment = DF_Web_Environment::singleto... | <|file_sep|>tests/setup_tests_environment.php.diff
original:
#define('LOG4PHP_CONFIGURATION', dirname(__FILE__).'/../logger.conf');
updated:
<|file_sep|>original/tests/setup_tests_environment.php
<?php
$dir = dirname(__FILE__);
set_include_path("$dir/..:" . get_include_path());
#define('LOG4PHP_CONFIGURATION', dirna... | 8bbfe175b73a4e3be68da52478058b81cb56873b | tests/setup_tests_environment.php | tests/setup_tests_environment.php | PHP |
<|file_sep|>original/src/main/java/com/coding4people/mosquitoreport/api/factories/DynamoDBMapperFactory.java
import com.coding4people.mosquitoreport.api.Env;
public class DynamoDBMapperFactory implements Factory<DynamoDBMapper> {
DynamoDBMapper mapper;
@Inject
public DynamoDBMapperFactory(AmazonDynamoDB c... | import com.coding4people.mosquitoreport.api.Env;
public class DynamoDBMapperFactory implements Factory<DynamoDBMapper> {
DynamoDBMapper mapper;
@Inject
public DynamoDBMapperFactory(AmazonDynamoDB client, Env env) {
mapper = new DynamoDBMapper(client,
new DynamoDBMapperConfig.Builde... | <|file_sep|>original/src/main/java/com/coding4people/mosquitoreport/api/factories/DynamoDBMapperFactory.java
import com.coding4people.mosquitoreport.api.Env;
public class DynamoDBMapperFactory implements Factory<DynamoDBMapper> {
DynamoDBMapper mapper;
@Inject
public DynamoDBMapperFactory(AmazonDynamoDB c... | e0b96c2ae5ec33f30932935c74cd5f8fd06abac9 | src/main/java/com/coding4people/mosquitoreport/api/factories/DynamoDBMapperFactory.java | src/main/java/com/coding4people/mosquitoreport/api/factories/DynamoDBMapperFactory.java | Java |
<|file_sep|>playbooks/roles/libvirt/setup/install/tasks/main.yml.diff
original:
- name: ensure libvirt is installed
updated:
- name: ensure libvirt and other deps are installed
<|file_sep|>original/playbooks/roles/libvirt/setup/install/tasks/main.yml
- name: ensure libvirt is installed
yum:
name: "{{ item }}"
... | - name: ensure libvirt and other deps are installed
yum:
name: "{{ item }}"
state: present
with_items:
- qemu-kvm
- libvirt
- libvirt-python
- python-lxml
- openvswitch
- name: modprobe kvm_intel
modprobe:
name: kvm_intel
state: present
- name: start libvirtd
service:
n... | <|file_sep|>playbooks/roles/libvirt/setup/install/tasks/main.yml.diff
original:
- name: ensure libvirt is installed
updated:
- name: ensure libvirt and other deps are installed
<|file_sep|>original/playbooks/roles/libvirt/setup/install/tasks/main.yml
- name: ensure libvirt is installed
yum:
name: "{{ item }}"
... | c2bf9d218b8730d190bc43525464e0bda7467fd4 | playbooks/roles/libvirt/setup/install/tasks/main.yml | playbooks/roles/libvirt/setup/install/tasks/main.yml | YAML |
<|file_sep|>original/test/test_packages.py
("pavucontrol"),
("pinta"),
("pulseaudio"),
("pulseaudio-module-x11"),
("pulseaudio-utils"),
("python"),
("python-pip"),
("scrot"),
("software-properties-common"),
("suckless-tools"),
("sysstat"),
("tree"),
("vagrant"),
("vim"),
("virtualbox"),
... | ("pavucontrol"),
("pinta"),
("pulseaudio"),
("pulseaudio-module-x11"),
("pulseaudio-utils"),
("python"),
("python-pip"),
("scrot"),
("software-properties-common"),
("suckless-tools"),
("sysdig"),
("sysstat"),
("tree"),
("vagrant"),
("vim"),
("virtualbox"),
("vlc"),
("wget"),
("whoi... | <|file_sep|>original/test/test_packages.py
("pavucontrol"),
("pinta"),
("pulseaudio"),
("pulseaudio-module-x11"),
("pulseaudio-utils"),
("python"),
("python-pip"),
("scrot"),
("software-properties-common"),
("suckless-tools"),
("sysstat"),
("tree"),
("vagrant"),
("vim"),
("virtualbox"),
... | 6453baefa8c2f6ab9841efd3961da0a65aaa688f | test/test_packages.py | test/test_packages.py | Python |
<|file_sep|>original/.azure/pipelines/ci.yml
<|file_sep|>current/.azure/pipelines/ci.yml
<|file_sep|>updated/.azure/pipelines/ci.yml | # .NET Desktop
# Build and run tests for .NET Desktop or Windows classic desktop solutions.
# Add steps that publish symbols, save build artifacts, and more:
# https://docs.microsoft.com/azure/devops/pipelines/apps/windows/dot-net
# Configure which branches trigger builds
trigger:
batch: true
branches:
include... | <|file_sep|>original/.azure/pipelines/ci.yml
<|file_sep|>current/.azure/pipelines/ci.yml
<|file_sep|>updated/.azure/pipelines/ci.yml
# .NET Desktop
# Build and run tests for .NET Desktop or Windows classic desktop solutions.
# Add steps that publish symbols, save build artifacts, and more:
# https://docs.microsoft.co... | 8a1033c4c6bc5d6518b1ea2ac17d6e90f219be44 | .azure/pipelines/ci.yml | .azure/pipelines/ci.yml | YAML |
<|file_sep|>scoring/checks/ldap.py.diff
original:
updated:
domain = data["DOMAIN"]
<|file_sep|>scoring/checks/ldap.py.diff
original:
updated:
actual_username = "%s\%s" % (domain, username)
<|file_sep|>original/scoring/checks/ldap.py
check.addOutput("Starting check...")
try:
# Setup LDAP
l = ldap.initializ... | # Setup LDAP
l = ldap.initialize('ldap://%s' % data["HOST"])
# Bind to the user we're using to lookup
domain = data["DOMAIN"]
username = data["USER"]
password = data["PASS"]
actual_username = "%s\%s" % (domain, username)
l.protocol_version = ldap.VERSION3
l.set_option(ldap.OPT_NETWORK_TIMEOUT, ldap... | <|file_sep|>scoring/checks/ldap.py.diff
original:
updated:
domain = data["DOMAIN"]
<|file_sep|>scoring/checks/ldap.py.diff
original:
updated:
actual_username = "%s\%s" % (domain, username)
<|file_sep|>original/scoring/checks/ldap.py
check.addOutput("Starting check...")
try:
# Setup LDAP
l = ldap.initializ... | cdb66acf92dae34d1b17c2a429738c73fb06caad | scoring/checks/ldap.py | scoring/checks/ldap.py | Python |
<|file_sep|>original/requirements.txt
Django==2.0.2
dj_database_url==0.4.2
pytz==2017.3
python_box==3.1.1
six==1.11.0
gunicorn==19.7.1
psycopg2==2.7.4
python-decouple==3.1
raven==6.6.0
#Amazon S3 Stuff
boto3==1.6.2
Collectfast==0.6.0
botocore==1.9.2
django-s3-folder-storage==0.5
django-storages==1.6.5
docutils==0.14
j... | Django==2.0.2
dj_database_url==0.4.2
pytz==2018.3
python_box==3.1.1
six==1.11.0
gunicorn==19.7.1
psycopg2==2.7.4
python-decouple==3.1
raven==6.6.0
#Amazon S3 Stuff
boto3==1.6.2
Collectfast==0.6.0
botocore==1.9.2
django-s3-folder-storage==0.5
django-storages==1.6.5
docutils==0.14
jmespath==0.9.3
python-dateutil==2.6.1
... | <|file_sep|>original/requirements.txt
Django==2.0.2
dj_database_url==0.4.2
pytz==2017.3
python_box==3.1.1
six==1.11.0
gunicorn==19.7.1
psycopg2==2.7.4
python-decouple==3.1
raven==6.6.0
#Amazon S3 Stuff
boto3==1.6.2
Collectfast==0.6.0
botocore==1.9.2
django-s3-folder-storage==0.5
django-storages==1.6.5
docutils==0.14
j... | 2eb82dfb7a2016096e93480486d34d2ff38c6917 | requirements.txt | requirements.txt | Text |
<|file_sep|>main.go.diff
original:
r := render.New(render.Options{
updated:
o := render.New(render.Options{
<|file_sep|>original/main.go
r := render.New(render.Options{
Layout: "layout",
})
n.Use(l)
n.UseHandler(m)
m.Get("/debug/vars", http.DefaultServeMux)
m.Get("/", http.HandlerFunc(func(w http.ResponseW... | o := render.New(render.Options{
Layout: "layout",
})
n.Use(l)
n.UseHandler(m)
m.Get("/debug/vars", http.DefaultServeMux)
m.Get("/", http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) {
o.HTML(w, http.StatusOK, "index", "world")
}))
var addr string
if len(os.Getenv("PORT")) > 0 {
addr = "... | <|file_sep|>main.go.diff
original:
r := render.New(render.Options{
updated:
o := render.New(render.Options{
<|file_sep|>original/main.go
r := render.New(render.Options{
Layout: "layout",
})
n.Use(l)
n.UseHandler(m)
m.Get("/debug/vars", http.DefaultServeMux)
m.Get("/", http.HandlerFunc(func(w http.ResponseW... | e992a8d75516a96dcfd718d028a58ab55d599330 | main.go | main.go | Go |
<|file_sep|>original/Resources/config/twig_extension.yml
services:
pierrre_encrypter.twig_extension:
class: Pierrre\EncrypterBundle\Twig\Extension\Encrypter
arguments: ["@pierrre_encrypter.manager", %pierrre_encrypter.twig.default_encrypter%]
tags:
- { name: twig.extension }
<|fi... | services:
pierrre_encrypter.twig_extension:
class: Pierrre\EncrypterBundle\Twig\Extension\Encrypter
arguments: ["@pierrre_encrypter.manager", "%pierrre_encrypter.twig.default_encrypter%"]
tags:
- { name: twig.extension } | <|file_sep|>original/Resources/config/twig_extension.yml
services:
pierrre_encrypter.twig_extension:
class: Pierrre\EncrypterBundle\Twig\Extension\Encrypter
arguments: ["@pierrre_encrypter.manager", %pierrre_encrypter.twig.default_encrypter%]
tags:
- { name: twig.extension }
<|fi... | b27cee727be4321c7bc35acaa011e1eba64212ec | Resources/config/twig_extension.yml | Resources/config/twig_extension.yml | YAML |
<|file_sep|>original/python/decrypt_img.py
<|file_sep|>current/python/decrypt_img.py
<|file_sep|>updated/python/decrypt_img.py | import requests
import json
# Decrypt a previously encrypted image using the passphrase 'superpass'
# https://pixlab.io/#/cmd?id=encrypt && https://pixlab.io/#/cmd?id=decrypt
# Password used for decryption
pwd = 'superpass'
req = requests.get('https://api.pixlab.io/decrypt',params={'img':'https://pixlab.xyz/wxfnq588... | <|file_sep|>original/python/decrypt_img.py
<|file_sep|>current/python/decrypt_img.py
<|file_sep|>updated/python/decrypt_img.py
import requests
import json
# Decrypt a previously encrypted image using the passphrase 'superpass'
# https://pixlab.io/#/cmd?id=encrypt && https://pixlab.io/#/cmd?id=decrypt
# Password use... | 5aa9fd6b9c30fc4861596c2efed456e01ab49f22 | python/decrypt_img.py | python/decrypt_img.py | Python |
<|file_sep|>tests/cortests.py.diff
original:
from corfunc import porod, guinier, fitguinier
updated:
from corfunc import porod, guinier, fitguinier, smooth
<|file_sep|>original/tests/cortests.py
class TestStringMethods(unittest.TestCase):
def test_porod(self):
self.assertEqual(porod(1, 1, 0), 1)
def t... | A = np.pi
B = -np.sqrt(2)
x = np.linspace(0, 1, 71)
y = guinier(x, A, B)
g = fitguinier(x, y)[0]
self.assertAlmostEqual(B, g[0])
self.assertAlmostEqual(A, np.exp(g[1]))
def test_smooth(self):
f = lambda x: np.sqrt(x)*np.sin(x/10)
g = lambda ... | <|file_sep|>tests/cortests.py.diff
original:
from corfunc import porod, guinier, fitguinier
updated:
from corfunc import porod, guinier, fitguinier, smooth
<|file_sep|>original/tests/cortests.py
class TestStringMethods(unittest.TestCase):
def test_porod(self):
self.assertEqual(porod(1, 1, 0), 1)
def t... | c9340c70bd6d974e98244a1c3208c3a061aec9bb | tests/cortests.py | tests/cortests.py | Python |
<|file_sep|>original/packages/pa/parquet-hs.yaml
<|file_sep|>current/packages/pa/parquet-hs.yaml
<|file_sep|>updated/packages/pa/parquet-hs.yaml | homepage: https://github.com/yigitozkavci/parquet-hs#readme
changelog-type: markdown
hash: 8d4307085dae94dd5e39c4ff701f7046091422f08c38603db692720f87259f8c
test-bench-deps:
bytestring: -any
base: ! '>=4.7 && <5'
hspec: -any
text: -any
filepath: -any
process: -any
conduit: -any
binary: -any
mtl: -any
... | <|file_sep|>original/packages/pa/parquet-hs.yaml
<|file_sep|>current/packages/pa/parquet-hs.yaml
<|file_sep|>updated/packages/pa/parquet-hs.yaml
homepage: https://github.com/yigitozkavci/parquet-hs#readme
changelog-type: markdown
hash: 8d4307085dae94dd5e39c4ff701f7046091422f08c38603db692720f87259f8c
test-bench-deps:
... | d33426b3d65b231d08f6bdda6f6c4424ac47c8fb | packages/pa/parquet-hs.yaml | packages/pa/parquet-hs.yaml | YAML |
<|file_sep|>original/is-implemented.js
if (typeof map.delete !== 'function') return false;
if (typeof map.entries !== 'function') return false;
if (typeof map.forEach !== 'function') return false;
if (typeof map.get !== 'function') return false;
if (typeof map.has !== 'function') return false;
if (typeof map.keys... | }
if (map.size !== 3) return false;
if (typeof map.clear !== 'function') return false;
if (typeof map.delete !== 'function') return false;
if (typeof map.entries !== 'function') return false;
if (typeof map.forEach !== 'function') return false;
if (typeof map.get !== 'function') return false;
if (typeof map.has... | <|file_sep|>original/is-implemented.js
if (typeof map.delete !== 'function') return false;
if (typeof map.entries !== 'function') return false;
if (typeof map.forEach !== 'function') return false;
if (typeof map.get !== 'function') return false;
if (typeof map.has !== 'function') return false;
if (typeof map.keys... | 7e32b26d1ce84f5d8f4a73e9415fc818f998f4aa | is-implemented.js | is-implemented.js | JavaScript |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- jruby-18mode
- jruby-19mode
- rbx-18mode
- rbx-19mode
- ree
notifications:
irc:
- irc.freenode.net#redis-rb
email:
- pcnoordhuis@gmail.com
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.8.7
- 1.9.2
-... | language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- jruby-18mode
- jruby-19mode
- ree
notifications:
irc:
- irc.freenode.net#redis-rb
email:
- pcnoordhuis@gmail.com | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- jruby-18mode
- jruby-19mode
- rbx-18mode
- rbx-19mode
- ree
notifications:
irc:
- irc.freenode.net#redis-rb
email:
- pcnoordhuis@gmail.com
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.8.7
- 1.9.2
-... | 064998fabaf4f7e7ce8400009219928c72b3acd8 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/website/assets/css/_components/_buttons.sass
//- 💫 CSS > COMPONENTS > BUTTONS
.c-button
display: inline-block
font-weight: bold
padding: 0.75em 1em
border: 2px solid
border-radius: 2px
text-align: center
transition: background 0.25s ease
&.c-button--primary
... | //- 💫 CSS > COMPONENTS > BUTTONS
.c-button
display: inline-block
font-weight: bold
padding: 0.75em 1em
margin-bottom: 1px
border: 2px solid
border-radius: 2px
text-align: center
transition: background 0.25s ease
&.c-button--primary
background: $color-theme
color: $... | <|file_sep|>original/website/assets/css/_components/_buttons.sass
//- 💫 CSS > COMPONENTS > BUTTONS
.c-button
display: inline-block
font-weight: bold
padding: 0.75em 1em
border: 2px solid
border-radius: 2px
text-align: center
transition: background 0.25s ease
&.c-button--primary
... | dd302e0faaf8caa420c146f0ecdcacbda37dd4a0 | website/assets/css/_components/_buttons.sass | website/assets/css/_components/_buttons.sass | Sass |
<|file_sep|>db/migrate/20160208075150_add_products.rb.diff
original:
Product.create :title => 'Pepperoni', :description => 'Nice Pepperoni pizza', :price => 450, :size => 30, :is_spicy => false, :is_veg => false, :is_best_offer => true, :path_to_image => '/images/pepperoni.jpg'
updated:
Product.create ({
:tit... | :title => 'Pepperoni',
:description => 'Nice Pepperoni pizza',
:price => 450,
:size => 30,
:is_spicy => false,
:is_veg => false,
:is_best_offer => true,
:path_to_image => '/images/pepperoni.jpg'
})
Product.create ({
:title => 'Vegetarian',
:description => 'Amazing Vegetar... | <|file_sep|>db/migrate/20160208075150_add_products.rb.diff
original:
Product.create :title => 'Pepperoni', :description => 'Nice Pepperoni pizza', :price => 450, :size => 30, :is_spicy => false, :is_veg => false, :is_best_offer => true, :path_to_image => '/images/pepperoni.jpg'
updated:
Product.create ({
:tit... | cbe8200f59d4a777c02b150527a17f8fd6c782ca | db/migrate/20160208075150_add_products.rb | db/migrate/20160208075150_add_products.rb | Ruby |
<|file_sep|>original/f80789_1b.cpp
<|file_sep|>current/f80789_1b.cpp
<|file_sep|>updated/f80789_1b.cpp | #include <cstdio>
#include <cmath>
using namespace std;
int a[1000010];
bool is_prime(int number)
{
if (number < 2) return false;
double root = sqrt(number);
for (int i = 2; i <= root; i++)
{
if (number % i == 0) return false;
}
return true;
}
int main()
{ | <|file_sep|>original/f80789_1b.cpp
<|file_sep|>current/f80789_1b.cpp
<|file_sep|>updated/f80789_1b.cpp
#include <cstdio>
#include <cmath>
using namespace std;
int a[1000010];
bool is_prime(int number)
{
if (number < 2) return false;
double root = sqrt(number);
for (int i = 2; i <= root; i++)
{
if (numb... | bd48b4b840925e4f2c7190548b6b77472602f630 | f80789_1b.cpp | f80789_1b.cpp | C++ |
<|file_sep|>src/js/controllers/buy-bitcoin/purchase-history.controller.js.diff
original:
function purchaseHistoryController($scope) {
updated:
function purchaseHistoryController(
popupService,
$scope, $ionicHistory
) {
<|file_sep|>original/src/js/controllers/buy-bitcoin/purchase-history.controller.js
... |
vm.history = [];
$scope.$on('$ionicView.beforeEnter', _onBeforeEnter);
function _initVariables() {
vm.history = [];
moonPayService.getTransactions().then(
function onGetTransactionsSuccess(transactions) {
vm.history = transactions;
},
function onGetTransactio... | <|file_sep|>src/js/controllers/buy-bitcoin/purchase-history.controller.js.diff
original:
function purchaseHistoryController($scope) {
updated:
function purchaseHistoryController(
popupService,
$scope, $ionicHistory
) {
<|file_sep|>original/src/js/controllers/buy-bitcoin/purchase-history.controller.js
... | e4a08591d5f1c7297ff0c2430957f51d30e89029 | src/js/controllers/buy-bitcoin/purchase-history.controller.js | src/js/controllers/buy-bitcoin/purchase-history.controller.js | JavaScript |
<|file_sep|>app/templates/dev/styles/main.less.diff
original:
updated:
// end base build
<|file_sep|>app/templates/dev/styles/main.less.diff
original:
updated:
// end vendor build
<|file_sep|>original/app/templates/dev/styles/main.less
// Base (variables, mixins, etc)<% if (useBorderBox) { %>
@import 'base/_box-sizi... | @import 'base/_ie8';<% } %>
@import 'base/_mixins';
@import 'base/_reset';
@import 'base/_variables';<% if (!ieSupport && !useBootstrap) { %>
@import 'base/_print';<% } %>
// end base build
// Third-Party (Vendor)
<% if (!useBootstrap) { %>
@import 'vendor/_normalize';<% } %><% if (cssOption === 'SCSS') { %>
<% if (us... | <|file_sep|>app/templates/dev/styles/main.less.diff
original:
updated:
// end base build
<|file_sep|>app/templates/dev/styles/main.less.diff
original:
updated:
// end vendor build
<|file_sep|>original/app/templates/dev/styles/main.less
// Base (variables, mixins, etc)<% if (useBorderBox) { %>
@import 'base/_box-sizi... | a0f26ef10e8894674d1e962ef12eadef19bc57c2 | app/templates/dev/styles/main.less | app/templates/dev/styles/main.less | Less |
<|file_sep|>original/go/cmd/kitchen/README.md
To compile and install kitchen, pick a go code directory, e.g.
$ export GOPATH=$HOME/go
then just install kitchen using `go get`:
$ go get -u github.com/luci/recipes-py/go/cmd/kitchen
The binary will be located in `$GOPATH/bin/kitchen`.
## Isolation
`isolate_... | To compile and install kitchen, pick a go code directory, e.g.
$ export GOPATH=$HOME/go
then just install kitchen using `go get`:
$ go get -u github.com/luci/recipes-py/go/cmd/kitchen
The binary will be located in `$GOPATH/bin/kitchen`.
Authenticate into the isolate server using:
`isolate login https://iso... | <|file_sep|>original/go/cmd/kitchen/README.md
To compile and install kitchen, pick a go code directory, e.g.
$ export GOPATH=$HOME/go
then just install kitchen using `go get`:
$ go get -u github.com/luci/recipes-py/go/cmd/kitchen
The binary will be located in `$GOPATH/bin/kitchen`.
## Isolation
`isolate_... | fc9d929f175a5ba849025b82316324d7b02b7a97 | go/cmd/kitchen/README.md | go/cmd/kitchen/README.md | Markdown |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.