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/assets/javascripts/application.js
//= require jquery
//= require jquery_ujs
//= require foundation
//= require refile
//= require lodash
//= require jquery.flash
//= require jquery.turbolinks
//= require turbolinks
//= require_self
//= require_tree .
$.turbo.use('page:load', 'page:fetch', 'pag... | //= require jquery
//= require jquery_ujs
//= require foundation
//= require refile
//= require lodash
//= require jquery.turbolinks
//= require turbolinks
//= require_self
//= require_tree .
$.turbo.use('page:load', 'page:fetch', 'page:update', 'opened.fndtn.reveal');
$(function() { $(document).foundation(); }); | <|file_sep|>original/app/assets/javascripts/application.js
//= require jquery
//= require jquery_ujs
//= require foundation
//= require refile
//= require lodash
//= require jquery.flash
//= require jquery.turbolinks
//= require turbolinks
//= require_self
//= require_tree .
$.turbo.use('page:load', 'page:fetch', 'pag... | a61bd85c27992ebec62d93944a156e9a090e8d8a | app/assets/javascripts/application.js | app/assets/javascripts/application.js | JavaScript |
<|file_sep|>pryvate/blueprints/simple/simple.py.diff
original:
files = os.listdir(package_path)
updated:
if os.path.isdir(package_path):
files = os.listdir(package_path)
<|file_sep|>original/pryvate/blueprints/simple/simple.py
@blueprint.route('/<package>', methods=['GET'])
@blueprint.route('/<package>... | """List versions of a package."""
package_path = os.path.join(current_app.config['BASEDIR'],
package.lower())
if os.path.isdir(package_path):
files = os.listdir(package_path)
packages = []
for filename in files:
if filename.endswith('md5')... | <|file_sep|>pryvate/blueprints/simple/simple.py.diff
original:
files = os.listdir(package_path)
updated:
if os.path.isdir(package_path):
files = os.listdir(package_path)
<|file_sep|>original/pryvate/blueprints/simple/simple.py
@blueprint.route('/<package>', methods=['GET'])
@blueprint.route('/<package>... | ca6891f3b867fd691c0b682566ffec1fd7f0ac2a | pryvate/blueprints/simple/simple.py | pryvate/blueprints/simple/simple.py | Python |
<|file_sep|>original/lib/contributors/servises/add_new_contributors.rb
<|file_sep|>current/lib/contributors/servises/add_new_contributors.rb
<|file_sep|>updated/lib/contributors/servises/add_new_contributors.rb | class AddNewContributors
def call
contributors = repo.all
new_contributors = AllContributors.new.call
new_contributors.each do |contributor|
unless contributors.any? { |c| c.github == contributor[:github] }
repo.create(contributor)
end
end
end
private
def repo
@repo ||... | <|file_sep|>original/lib/contributors/servises/add_new_contributors.rb
<|file_sep|>current/lib/contributors/servises/add_new_contributors.rb
<|file_sep|>updated/lib/contributors/servises/add_new_contributors.rb
class AddNewContributors
def call
contributors = repo.all
new_contributors = AllContributors.new.... | a37a961839f86035b4ffef32817239aa12d8e440 | lib/contributors/servises/add_new_contributors.rb | lib/contributors/servises/add_new_contributors.rb | Ruby |
<|file_sep|>go/cmd/vtctldclient/plugin_grpcvtctlclient.go.diff
original:
Copyright 2020 The Vitess Authors.
updated:
Copyright 2021 The Vitess Authors.
<|file_sep|>original/go/cmd/vtctldclient/plugin_grpcvtctlclient.go
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in ... |
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 in writing, software
distributed under the License is ... | <|file_sep|>go/cmd/vtctldclient/plugin_grpcvtctlclient.go.diff
original:
Copyright 2020 The Vitess Authors.
updated:
Copyright 2021 The Vitess Authors.
<|file_sep|>original/go/cmd/vtctldclient/plugin_grpcvtctlclient.go
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in ... | c3fb79c44f6d45413075c1629ae94a7272a7f857 | go/cmd/vtctldclient/plugin_grpcvtctlclient.go | go/cmd/vtctldclient/plugin_grpcvtctlclient.go | Go |
<|file_sep|>original/requirements.txt
fonttools[ufo,lxml,unicode]==4.28.5
cu2qu==1.6.7.post1
glyphsLib==6.0.4
ufo2ft[pathops]==2.25.2
MutatorMath==3.0.1
fontMath==0.9.1
defcon[lxml]==0.10.0; platform_python_implementation == 'CPython'
defcon==0.10.0; platform_python_implementation != 'CPython'
booleanOperations==0.9.0
... | fonttools[unicode,lxml,ufo]==4.29.1
cu2qu==1.6.7.post1
glyphsLib==6.0.4
ufo2ft[pathops]==2.25.2
MutatorMath==3.0.1
fontMath==0.9.1
defcon[lxml]==0.10.0; platform_python_implementation == 'CPython'
defcon==0.10.0; platform_python_implementation != 'CPython'
booleanOperations==0.9.0
ufoLib2==0.13.0
attrs==21.4.0
cffsubr=... | <|file_sep|>original/requirements.txt
fonttools[ufo,lxml,unicode]==4.28.5
cu2qu==1.6.7.post1
glyphsLib==6.0.4
ufo2ft[pathops]==2.25.2
MutatorMath==3.0.1
fontMath==0.9.1
defcon[lxml]==0.10.0; platform_python_implementation == 'CPython'
defcon==0.10.0; platform_python_implementation != 'CPython'
booleanOperations==0.9.0
... | 346ae1bb2a5297d49bfe459606f768b3eef97988 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/react-github-battle/app/main.css
<|file_sep|>current/react-github-battle/app/main.css
<|file_sep|>updated/react-github-battle/app/main.css | .appear-enter {
transition-duration: .7s;
transition-property: opacity;
transition-timing-function: east-out;
opacity: 0;
}
.appear-enter.appear-enter-active {
opacity: 1;
}
.appear-leave {
opacity: 0;
} | <|file_sep|>original/react-github-battle/app/main.css
<|file_sep|>current/react-github-battle/app/main.css
<|file_sep|>updated/react-github-battle/app/main.css
.appear-enter {
transition-duration: .7s;
transition-property: opacity;
transition-timing-function: east-out;
opacity: 0;
}
.appear-enter.appear-ente... | 8dfb2086f56ffc0b418e9676edde0892f993d08a | react-github-battle/app/main.css | react-github-battle/app/main.css | CSS |
<|file_sep|>original/lib/commands/run.js
];
if (options._.length) {
argv.push(options._[0]);
}
// TODO(schoon) - What arguments should we pass to the server?
var npm = common.pFork(common.config().serverRoot, {
cwd: common.config().serverRoot
});
return common.cordova(argv, {
cwd: common.co... |
if (options._.length) {
argv.push(options._[0]);
}
// TODO(schoon) - What arguments should we pass to the server?
var npm = common.pFork(common.config().serverRoot, {
cwd: common.config().serverRoot
});
return common.cordova(argv, {
cwd: common.config().clientRoot
}).then(function () {
... | <|file_sep|>original/lib/commands/run.js
];
if (options._.length) {
argv.push(options._[0]);
}
// TODO(schoon) - What arguments should we pass to the server?
var npm = common.pFork(common.config().serverRoot, {
cwd: common.config().serverRoot
});
return common.cordova(argv, {
cwd: common.co... | f9b8237d1041953dc18dc537db31362632e278d3 | lib/commands/run.js | lib/commands/run.js | JavaScript |
<|file_sep|>original/autogen.sh
#!/bin/sh
mkdir -p m4 || exit $?
autoreconf --install || exit $?
# This code patches ltmain.sh if GNU Libtool version < 2.4.2
# so that it correctly links in OpenMP if required
command -v libtool >/dev/null 2>/dev/null
if [ $? -eq 0 ]
then
libtool_version=$(libtool --version 2>/dev/n... | #!/bin/sh
mkdir -p m4 || exit $?
autoreconf --install || exit $?
# This code patches ltmain.sh if GNU Libtool version < 2.4.2
# so that it correctly links in OpenMP if required
command -v libtool >/dev/null 2>/dev/null
if [ $? -eq 0 ]
then
libtool_version=$(libtool --version 2>/dev/null | head -n1 | cut -d' ' -f4)
... | <|file_sep|>original/autogen.sh
#!/bin/sh
mkdir -p m4 || exit $?
autoreconf --install || exit $?
# This code patches ltmain.sh if GNU Libtool version < 2.4.2
# so that it correctly links in OpenMP if required
command -v libtool >/dev/null 2>/dev/null
if [ $? -eq 0 ]
then
libtool_version=$(libtool --version 2>/dev/n... | fd24ec89207615a20bcbb2fe147b8ea9a67209c3 | autogen.sh | autogen.sh | Shell |
<|file_sep|>original/src/test/java/de/retest/recheck/RecheckOptionsTest.java
<|file_sep|>current/src/test/java/de/retest/recheck/RecheckOptionsTest.java
<|file_sep|>updated/src/test/java/de/retest/recheck/RecheckOptionsTest.java | package de.retest.recheck;
import static org.assertj.core.api.Assertions.assertThat;
import static org.mockito.Mockito.mock;
import org.junit.jupiter.api.Test;
class RecheckOptionsTest {
@Test
void should_reuse_file_namer_strategy_for_suite_name() throws Exception {
final FileNamerStrategy fileNamerStrategy = m... | <|file_sep|>original/src/test/java/de/retest/recheck/RecheckOptionsTest.java
<|file_sep|>current/src/test/java/de/retest/recheck/RecheckOptionsTest.java
<|file_sep|>updated/src/test/java/de/retest/recheck/RecheckOptionsTest.java
package de.retest.recheck;
import static org.assertj.core.api.Assertions.assertThat;
imp... | 83bb2600f7a8bb5c670cf361b6c58d8dbfb27fb6 | src/test/java/de/retest/recheck/RecheckOptionsTest.java | src/test/java/de/retest/recheck/RecheckOptionsTest.java | Java |
<|file_sep|>original/lib/specinfra/backend/dockerfile.rb
# -*- coding: utf-8 -*-
module Specinfra::Backend
class Dockerfile < Specinfra::Backend::Base
def initialize
@lines = []
ObjectSpace.define_finalizer(self) {
puts @lines
}
end
def run_command(cmd, opts={})
@lines << ... | @lines = []
ObjectSpace.define_finalizer(self) {
puts @lines
}
end
def run_command(cmd, opts={})
@lines << "RUN #{cmd}"
CommandResult.new
end
def send_file(from, to)
@lines << "ADD #{from} #{to}"
CommandResult.new
end
def from(base)
@lin... | <|file_sep|>original/lib/specinfra/backend/dockerfile.rb
# -*- coding: utf-8 -*-
module Specinfra::Backend
class Dockerfile < Specinfra::Backend::Base
def initialize
@lines = []
ObjectSpace.define_finalizer(self) {
puts @lines
}
end
def run_command(cmd, opts={})
@lines << ... | 285854a416a27a4649f4a6963d997e772aa4f805 | lib/specinfra/backend/dockerfile.rb | lib/specinfra/backend/dockerfile.rb | Ruby |
<|file_sep|>original/.travis.yml
language: python
python:
- "3.6"
install:
- pip install pipenv
- pipenv sync
script:
- py.test
- flake8
after_success:
- coveralls
<|file_sep|>current/.travis.yml
language: python
python:
- "3.6"
install:
- pip install pipenv
- pipenv sync
script:
- py.test
- flake... | language: python
python:
- "3.6"
install:
- pip install pipenv
- pipenv sync
- pipenv shell
script:
- py.test
- flake8
after_success:
- coveralls | <|file_sep|>original/.travis.yml
language: python
python:
- "3.6"
install:
- pip install pipenv
- pipenv sync
script:
- py.test
- flake8
after_success:
- coveralls
<|file_sep|>current/.travis.yml
language: python
python:
- "3.6"
install:
- pip install pipenv
- pipenv sync
script:
- py.test
- flake... | 549d89ecd75848a09e7b3498d2ed35fee2f1633a | .travis.yml | .travis.yml | YAML |
<|file_sep|>ReactiveCocoaTests/Shared/NSLayoutConstraintSpec.swift.diff
original:
expect(constraint.constant).to(equal(5.0))
updated:
expect(constraint.constant) ≈ 5.0
<|file_sep|>original/ReactiveCocoaTests/Shared/NSLayoutConstraintSpec.swift
afterEach {
constraint = nil
expect(_constraint).to(beNil())
... |
afterEach {
constraint = nil
expect(_constraint).to(beNil())
}
it("should accept changes from bindings to its constant") {
expect(constraint.constant).to(equal(0.0))
let (pipeSignal, observer) = Signal<CGFloat, NoError>.pipe()
constraint.reactive.constant <~ pipeSignal
observer.send(value: ... | <|file_sep|>ReactiveCocoaTests/Shared/NSLayoutConstraintSpec.swift.diff
original:
expect(constraint.constant).to(equal(5.0))
updated:
expect(constraint.constant) ≈ 5.0
<|file_sep|>original/ReactiveCocoaTests/Shared/NSLayoutConstraintSpec.swift
afterEach {
constraint = nil
expect(_constraint).to(beNil())
... | cbd88a2bc469dbc28a16112724a131d98b4a7002 | ReactiveCocoaTests/Shared/NSLayoutConstraintSpec.swift | ReactiveCocoaTests/Shared/NSLayoutConstraintSpec.swift | Swift |
<|file_sep|>original/build.ps1
Task default -depends Compile
Task Clean {
msbuild "/property:Configuration=Release" "/t:Clean" "$sln_file"
}
Task Init -depends Clean {
}
Task Compile -depends Init {
msbuild "/property:Configuration=Release" "$sln_file"
}
Task Release -depends Compile {
}
Task Package -dep... |
Task default -depends Compile
Task Clean {
msbuild "/property:Configuration=Release" "/t:Clean" "$sln_file"
}
Task Init -depends Clean {
}
Task Compile -depends Init {
msbuild "/property:Configuration=Release" "$sln_file"
}
Task Release -depends Compile {
}
Task Package -depends Release {
nuget pack .... | <|file_sep|>original/build.ps1
Task default -depends Compile
Task Clean {
msbuild "/property:Configuration=Release" "/t:Clean" "$sln_file"
}
Task Init -depends Clean {
}
Task Compile -depends Init {
msbuild "/property:Configuration=Release" "$sln_file"
}
Task Release -depends Compile {
}
Task Package -dep... | d6d94302fb333acdef24d588b508c2c7c7ac3df9 | build.ps1 | build.ps1 | PowerShell |
<|file_sep|>tools/README.md.diff
original:
$ sudo apt install -y virtinst
$ sudo apt install -y xorriso
updated:
$ sudo apt install -y virtinst qemu-kvm
$ sudo apt install -y xorriso uuid-runtime genisoimage
<|file_sep|>original/tools/README.md
```
## Node up!
```bash
$ export NODE_OS_DISTRO=ubuntu # Select your OS d... | ```
## Node up!
```bash
$ export NODE_OS_DISTRO=ubuntu # Select your OS distribution
$ export NODE_ADDRESS_PREFIX=192.168.200 # Specify Node address prefix
$ export NODE_NETWORK_RANGE=16 # Specify Node network range
$ export NODE_GATEWAY=192.168.11.1 # Specify default gateway
$ export NODE_DNS=192.168.11.1 # Specify ... | <|file_sep|>tools/README.md.diff
original:
$ sudo apt install -y virtinst
$ sudo apt install -y xorriso
updated:
$ sudo apt install -y virtinst qemu-kvm
$ sudo apt install -y xorriso uuid-runtime genisoimage
<|file_sep|>original/tools/README.md
```
## Node up!
```bash
$ export NODE_OS_DISTRO=ubuntu # Select your OS d... | 5c27256e0b990b5762e7785dbc2d8928844c64cc | tools/README.md | tools/README.md | Markdown |
<|file_sep|>original/README.md
$ git clone https://github.com/mateusduraes/crawler-br-news.git
$ cd crawler-br-news
$ npm install
```
### How to execute crawler-br-news?
```sh
$ npm run start:build
```
The output will look like the below image. :smile:
<img align="center" src="lib.gif" alt="Gif showing project">
... |
### How to install crawler-br-news?
To run this project, just run the below commands. Assuming you have nodejs installed.
```sh
$ git clone https://github.com/mateusduraes/crawler-br-news.git
$ cd crawler-br-news
$ npm install
```
### How to execute crawler-br-news?
```sh
$ npm run start:build
```
The output will... | <|file_sep|>original/README.md
$ git clone https://github.com/mateusduraes/crawler-br-news.git
$ cd crawler-br-news
$ npm install
```
### How to execute crawler-br-news?
```sh
$ npm run start:build
```
The output will look like the below image. :smile:
<img align="center" src="lib.gif" alt="Gif showing project">
... | bb5a6f21c6b39da387922ba65b99bf9459c1a720 | README.md | README.md | Markdown |
<|file_sep|>original/app/views/forem/admin/categories/_form.html.erb
<%= simple_form_for [forem, :admin, @category] do |f| %>
<%= f.input :name %>
<%= f.submit %>
<% end %>
<|file_sep|>current/app/views/forem/admin/categories/_form.html.erb
<%= simple_form_for [forem, :admin, @category] do |f| %>
<%= f.input :nam... | <%= simple_form_for [forem, :admin, @category] do |f| %>
<%= f.input :name %>
<%= f.submit :class => "btn btn-primary" %>
<% end %> | <|file_sep|>original/app/views/forem/admin/categories/_form.html.erb
<%= simple_form_for [forem, :admin, @category] do |f| %>
<%= f.input :name %>
<%= f.submit %>
<% end %>
<|file_sep|>current/app/views/forem/admin/categories/_form.html.erb
<%= simple_form_for [forem, :admin, @category] do |f| %>
<%= f.input :nam... | d645555e6f3b2f5c2bf33b7eab208f7b28d4b903 | app/views/forem/admin/categories/_form.html.erb | app/views/forem/admin/categories/_form.html.erb | HTML+ERB |
<|file_sep|>original/src/test/almost_equal.py
def datetime_almost_equal(datetime1, datetime2, seconds=60):
dd = datetime1 - datetime2
sd = (dd.days * 24 * 60 * 60) + dd.seconds
return abs(sd) <= seconds
<|file_sep|>current/src/test/almost_equal.py
def datetime_almost_equal(datetime1, datetime2, seconds=60):... | from datetime import datetime
import pytz
def datetime_almost_equal(datetime1:datetime, datetime2:datetime, seconds:int=60):
if not(datetime1.tzinfo):
datetime1 = pytz.utc.localize(datetime1)
datetime1 = datetime1.astimezone(pytz.utc)
if not(datetime2.tzinfo):
datetime2 = pytz.utc.localiz... | <|file_sep|>original/src/test/almost_equal.py
def datetime_almost_equal(datetime1, datetime2, seconds=60):
dd = datetime1 - datetime2
sd = (dd.days * 24 * 60 * 60) + dd.seconds
return abs(sd) <= seconds
<|file_sep|>current/src/test/almost_equal.py
def datetime_almost_equal(datetime1, datetime2, seconds=60):... | 69b33f8f87b6dfc0fbaf96eca25c02535c9e09e7 | src/test/almost_equal.py | src/test/almost_equal.py | Python |
<|file_sep|>original/js/locales/foundation-datepicker.lv.js
w/**
* Latvian translation for foundation-datepicker
* Artis Avotins <artis@apit.lv>
*/
;(function($){
$.fn.fdatepicker.dates['lv'] = {
days: ["Svētdiena", "Pirmdiena", "Otrdiena", "Trešdiena", "Ceturtdiena", "Piektdiena", "Sestdiena", "Svētdie... | /**
* Latvian translation for foundation-datepicker
* Artis Avotins <artis@apit.lv>
*/
;(function($){
$.fn.fdatepicker.dates['lv'] = {
days: ["Svētdiena", "Pirmdiena", "Otrdiena", "Trešdiena", "Ceturtdiena", "Piektdiena", "Sestdiena", "Svētdiena"],
daysShort: ["Sv", "P", "O", "T", "C", "Pk", "S"... | <|file_sep|>original/js/locales/foundation-datepicker.lv.js
w/**
* Latvian translation for foundation-datepicker
* Artis Avotins <artis@apit.lv>
*/
;(function($){
$.fn.fdatepicker.dates['lv'] = {
days: ["Svētdiena", "Pirmdiena", "Otrdiena", "Trešdiena", "Ceturtdiena", "Piektdiena", "Sestdiena", "Svētdie... | 94e165492705454da2f6fae8c9d3ca3902e2c35f | js/locales/foundation-datepicker.lv.js | js/locales/foundation-datepicker.lv.js | JavaScript |
<|file_sep|>original/convert-2d.sh
openscad $1
fi
}
# Creates a 2d plan of your 3D model
TMPCSG=/tmp/$(basename $1).csg
TMPSCAD=/tmp/$(basename $1).scad
openscad_bin "$1 -D generate=1 -o $TMPCSG" 2>&1 >/dev/null | sed -e 's/ECHO: \"\[LC\] //' -e 's/"$//' -e '$a\;' >$TMPSCAD
sed -i.tmp '1 i\
// May need to ad... | openscad $1
fi
}
# Creates a 2d plan of your 3D model
TMPCSG=/tmp/$(basename $1).csg
TMPSCAD=/tmp/$(basename $1).scad
openscad_bin "$1 -D generate=1 -o $TMPCSG" 2>&1 >/dev/null | sed -e 's/ECHO: \"\[LC\] //' -e 's/"$//' -e '$a\;' -e '/WARNING/d' >$TMPSCAD
sed -i.tmp '1 i\
// May need to adjust location of... | <|file_sep|>original/convert-2d.sh
openscad $1
fi
}
# Creates a 2d plan of your 3D model
TMPCSG=/tmp/$(basename $1).csg
TMPSCAD=/tmp/$(basename $1).scad
openscad_bin "$1 -D generate=1 -o $TMPCSG" 2>&1 >/dev/null | sed -e 's/ECHO: \"\[LC\] //' -e 's/"$//' -e '$a\;' >$TMPSCAD
sed -i.tmp '1 i\
// May need to ad... | 1b1c738b10429fad2ea5454ebaaf7937ce9b15cb | convert-2d.sh | convert-2d.sh | Shell |
<|file_sep|>original/src/webservice/ajax/details/Organisms_to_traits.php
<|file_sep|>current/src/webservice/ajax/details/Organisms_to_traits.php
<|file_sep|>updated/src/webservice/ajax/details/Organisms_to_traits.php | <?php
namespace ajax\details;
use \PDO as PDO;
/**
* Web Service.
* Returns Organisms with given ids
*/
class Organisms extends \WebService {
/**
* @param $querydata[type_cvterm_id] array of trait type_cvterm_id
* @returns array of organisms accoring to a specific trait type
*/
public func... | <|file_sep|>original/src/webservice/ajax/details/Organisms_to_traits.php
<|file_sep|>current/src/webservice/ajax/details/Organisms_to_traits.php
<|file_sep|>updated/src/webservice/ajax/details/Organisms_to_traits.php
<?php
namespace ajax\details;
use \PDO as PDO;
/**
* Web Service.
* Returns Organisms with given... | d88ab5d5d3359b89efb00a49f11358ae6dfb8b1c | src/webservice/ajax/details/Organisms_to_traits.php | src/webservice/ajax/details/Organisms_to_traits.php | PHP |
<|file_sep|>original/app/views/roles/_current_role_holder_with_biography.html.erb
<% if role.current_holder.present? %>
<section id="current-role-holder" class="govuk-!-padding-bottom-9">
<%= render "govuk_publishing_components/components/heading", {
text: t("roles.headings.current_holder"),
} %>
<... | <% if role.current_holder.present? %>
<section id="current-role-holder" class="govuk-!-padding-bottom-9">
<%= render "govuk_publishing_components/components/heading", {
text: t("roles.headings.current_holder"),
} %>
<%= render "govuk_publishing_components/components/heading", {
text: role.cur... | <|file_sep|>original/app/views/roles/_current_role_holder_with_biography.html.erb
<% if role.current_holder.present? %>
<section id="current-role-holder" class="govuk-!-padding-bottom-9">
<%= render "govuk_publishing_components/components/heading", {
text: t("roles.headings.current_holder"),
} %>
<... | d1592c8fb4f302ea1f9dca072212b532a73ede63 | app/views/roles/_current_role_holder_with_biography.html.erb | app/views/roles/_current_role_holder_with_biography.html.erb | HTML+ERB |
<|file_sep|>original/data/.bash.d/bash/aliases.bash
alias reload='. ~/.bashrc'
alias a='atom .'
alias shitter='cd ~/git/veralite/ && bin/lasttripped; cd - > /dev/null'
<|file_sep|>current/data/.bash.d/bash/aliases.bash
alias reload='. ~/.bashrc'
alias a='atom .'
alias shitter='cd ~/git/veralite/ && bin/lasttripped; cd ... | alias reload='. ~/.bashrc'
alias a='atom .'
alias shitter='cd ~/git/veralite/ && bin/lasttripped; cd - > /dev/null'
alias drun='docker run --rm -i -t' | <|file_sep|>original/data/.bash.d/bash/aliases.bash
alias reload='. ~/.bashrc'
alias a='atom .'
alias shitter='cd ~/git/veralite/ && bin/lasttripped; cd - > /dev/null'
<|file_sep|>current/data/.bash.d/bash/aliases.bash
alias reload='. ~/.bashrc'
alias a='atom .'
alias shitter='cd ~/git/veralite/ && bin/lasttripped; cd ... | dbb1dce078c6c8c1c745bf2e459dc0af4e9b9582 | data/.bash.d/bash/aliases.bash | data/.bash.d/bash/aliases.bash | Shell |
<|file_sep|>original/jupyterlab/labhubapp.py
from jupyterhub.singleuser import SingleUserNotebookApp
except ImportError:
SingleUserLabApp = None
raise ImportError('You must have jupyterhub installed for this to work.')
else:
class SingleUserLabApp(SingleUserNotebookApp, LabApp):
def init_webapp(... | except ImportError:
SingleUserLabApp = None
raise ImportError('You must have jupyterhub installed for this to work.')
else:
class SingleUserLabApp(SingleUserNotebookApp, LabApp):
def init_webapp(self, *args, **kwargs):
super().init_webapp(*args, **kwargs)
settings = self.web_... | <|file_sep|>original/jupyterlab/labhubapp.py
from jupyterhub.singleuser import SingleUserNotebookApp
except ImportError:
SingleUserLabApp = None
raise ImportError('You must have jupyterhub installed for this to work.')
else:
class SingleUserLabApp(SingleUserNotebookApp, LabApp):
def init_webapp(... | c1fd0f12810be544d12d4bea8ccd0ce9f8a190cc | jupyterlab/labhubapp.py | jupyterlab/labhubapp.py | Python |
<|file_sep|>tests/atom10/FeedTests.php.diff
original:
updated:
require_once 'FeedCategoryTest.php';
<|file_sep|>original/tests/atom10/FeedTests.php
require_once 'FeedUpdatedTest.php';
class Atom10_FeedTests
{
public static function suite()
{
$suite = new PHPUnit_Framework_TestSuite('ComplexPie Atom 1.0 Feed');
... | require_once 'FeedTitleTest.php';
require_once 'FeedUpdatedTest.php';
class Atom10_FeedTests
{
public static function suite()
{
$suite = new PHPUnit_Framework_TestSuite('ComplexPie Atom 1.0 Feed');
$suite->addTestSuite('FeedAuthorTest');
$suite->addTestSuite('FeedCategoryTest');
$suite->addTestSuite('FeedCo... | <|file_sep|>tests/atom10/FeedTests.php.diff
original:
updated:
require_once 'FeedCategoryTest.php';
<|file_sep|>original/tests/atom10/FeedTests.php
require_once 'FeedUpdatedTest.php';
class Atom10_FeedTests
{
public static function suite()
{
$suite = new PHPUnit_Framework_TestSuite('ComplexPie Atom 1.0 Feed');
... | 7d476253d603c5bb1a797d68c098eaf5f1bc6f82 | tests/atom10/FeedTests.php | tests/atom10/FeedTests.php | PHP |
<|file_sep|>original/spec/scanny/checks/ssl/verify_check_spec.rb
require "spec_helper"
module Scanny::Checks::SSL
describe VerifyCheck do
before do
@runner = Scanny::Runner.new(VerifyCheck.new)
@message = "Disable certificate verification can" +
"lead to connect to an unauthorized ... | require "spec_helper"
module Scanny::Checks::SSL
describe VerifyCheck do
before do
@runner = Scanny::Runner.new(VerifyCheck.new)
@message = "Disable certificate verification can " +
"lead to connect to an unauthorized server"
@issue = issue(:high, @message, [296, 297, 298, 29... | <|file_sep|>original/spec/scanny/checks/ssl/verify_check_spec.rb
require "spec_helper"
module Scanny::Checks::SSL
describe VerifyCheck do
before do
@runner = Scanny::Runner.new(VerifyCheck.new)
@message = "Disable certificate verification can" +
"lead to connect to an unauthorized ... | 39477994b735e8d575d7a8f5ff8bf7a77c1be497 | spec/scanny/checks/ssl/verify_check_spec.rb | spec/scanny/checks/ssl/verify_check_spec.rb | Ruby |
<|file_sep|>loginas/templates/admin/auth/change_form.html.diff
original:
updated:
{% load url from future %}
<|file_sep|>original/loginas/templates/admin/auth/change_form.html
{% extends "admin/change_form.html" %}
{% block object-tools %}
{% if change %}{% if not is_popup %}
<ul class="object-tools">
<li><a h... | {% extends "admin/change_form.html" %}
{% load url from future %}
{% block object-tools %}
{% if change %}{% if not is_popup %}
<ul class="object-tools">
<li><a href="history/" class="historylink">History</a></li>
<li><a href="{% url "loginas-user-login" object_id %}">Log in as user</a></li>
</ul>
{% endi... | <|file_sep|>loginas/templates/admin/auth/change_form.html.diff
original:
updated:
{% load url from future %}
<|file_sep|>original/loginas/templates/admin/auth/change_form.html
{% extends "admin/change_form.html" %}
{% block object-tools %}
{% if change %}{% if not is_popup %}
<ul class="object-tools">
<li><a h... | 3afc726ffce13d7be9aca51da458ca0e8c120f24 | loginas/templates/admin/auth/change_form.html | loginas/templates/admin/auth/change_form.html | HTML |
<|file_sep|>original/Source/OEXStyles+Swift.swift
// Created by Ehmad Zubair Chughtai on 25/05/2015.
// Copyright (c) 2015 edX. All rights reserved.
//
import Foundation
import UIKit
extension OEXStyles {
func applyGlobalAppearance() {
//Probably want to set the tintColor of UIWindow but it didn't ... | // Copyright (c) 2015 edX. All rights reserved.
//
import Foundation
import UIKit
extension OEXStyles {
func applyGlobalAppearance() {
//Probably want to set the tintColor of UIWindow but it didn't seem necessary right now
let textAttrs = [NSForegroundColorAttributeName : navigationItemTintC... | <|file_sep|>original/Source/OEXStyles+Swift.swift
// Created by Ehmad Zubair Chughtai on 25/05/2015.
// Copyright (c) 2015 edX. All rights reserved.
//
import Foundation
import UIKit
extension OEXStyles {
func applyGlobalAppearance() {
//Probably want to set the tintColor of UIWindow but it didn't ... | cc94a217aad0d3af2c4f8c7e51a69c9167e0b6ce | Source/OEXStyles+Swift.swift | Source/OEXStyles+Swift.swift | Swift |
<|file_sep|>original/src/packages/spell-check/lib/spell-check-handler.coffee
SpellChecker = require 'spellchecker'
module.exports =
findMisspellings: (text) ->
wordRegex = /(?:^|[\s\[\]])([a-zA-Z']+)(?=[\s\.\[\]:]|$)/g
row = 0
misspellings = []
for line in text.split('\n')
while matches = wordR... | SpellChecker = require 'spellchecker'
module.exports =
findMisspellings: (text) ->
wordRegex = /(?:^|[\s\[\]])([a-zA-Z']+)(?=[\s\.\[\]:,]|$)/g
row = 0
misspellings = []
for line in text.split('\n')
while matches = wordRegex.exec(line)
word = matches[1]
continue unless SpellCheck... | <|file_sep|>original/src/packages/spell-check/lib/spell-check-handler.coffee
SpellChecker = require 'spellchecker'
module.exports =
findMisspellings: (text) ->
wordRegex = /(?:^|[\s\[\]])([a-zA-Z']+)(?=[\s\.\[\]:]|$)/g
row = 0
misspellings = []
for line in text.split('\n')
while matches = wordR... | 59c02c90da4cf323d416be5f06ab85afbe7fcd6b | src/packages/spell-check/lib/spell-check-handler.coffee | src/packages/spell-check/lib/spell-check-handler.coffee | CoffeeScript |
<|file_sep|>scripts/slack/SlackWebAPI.ts.diff
original:
attachments: JSON.stringify(message.attachments),
updated:
attachments: JSON.stringify(message.attachments || []),
<|file_sep|>original/scripts/slack/SlackWebAPI.ts
@inject("HttpClient") private httpClient: IHttpClient) {}
... |
/**
* For the details on this API check https://api.slack.com/methods/chat.postMessage
*/
async postMessage(message: PostMessageRequest): Promise<void> {
let response: SlackWebAPIResponse = await this.httpClient.post<any, SlackWebAPIResponse>(
"https://slack.com/api/chat.postMess... | <|file_sep|>scripts/slack/SlackWebAPI.ts.diff
original:
attachments: JSON.stringify(message.attachments),
updated:
attachments: JSON.stringify(message.attachments || []),
<|file_sep|>original/scripts/slack/SlackWebAPI.ts
@inject("HttpClient") private httpClient: IHttpClient) {}
... | 50860b1b528686d0c3e10cb5e0a44cedbed47c72 | scripts/slack/SlackWebAPI.ts | scripts/slack/SlackWebAPI.ts | TypeScript |
<|file_sep|>original/source/parlex/src/abstract_syntax_tree.cpp
#include "parlex/builder.hpp"
#include "parlex/detail/grammar.hpp"
parlex::detail::ast_node::ast_node(match const & m, std::vector<ast_node> const & children, leaf const * l) : match(m), children(children), l(l) {}
std::string parlex::detail::ast_node::t... | #include "parlex/builder.hpp"
#include "parlex/detail/grammar.hpp"
parlex::detail::ast_node::ast_node(match const & m, std::vector<ast_node> const & children, leaf const * l) : match(m), children(children), l(l) {}
std::string parlex::detail::ast_node::to_dot(grammar const & g) const
{
auto const nameFunc = [&](ast_... | <|file_sep|>original/source/parlex/src/abstract_syntax_tree.cpp
#include "parlex/builder.hpp"
#include "parlex/detail/grammar.hpp"
parlex::detail::ast_node::ast_node(match const & m, std::vector<ast_node> const & children, leaf const * l) : match(m), children(children), l(l) {}
std::string parlex::detail::ast_node::t... | 81d6ef98e8a3e1a112cf2dc588e39f18e74da1a5 | source/parlex/src/abstract_syntax_tree.cpp | source/parlex/src/abstract_syntax_tree.cpp | C++ |
<|file_sep|>opps/core/utils.py.diff
original:
updated:
from django.template import loader, TemplateDoesNotExist
<|file_sep|>original/opps/core/utils.py
# coding: utf-8
from django.db.models import get_models, get_app
def get_app_model(appname, suffix=""):
app_label = appname.split('.')[-1]
models = [model f... | and model._meta.app_label == app_label]
return models and models[0]
def class_load(name):
mod = __import__(name)
components = name.split('.')
for comp in components[1:]:
mod = getattr(mod, comp)
return mod
def get_template_path(path):
try:
template = loader.find... | <|file_sep|>opps/core/utils.py.diff
original:
updated:
from django.template import loader, TemplateDoesNotExist
<|file_sep|>original/opps/core/utils.py
# coding: utf-8
from django.db.models import get_models, get_app
def get_app_model(appname, suffix=""):
app_label = appname.split('.')[-1]
models = [model f... | da01999b6adcb79955a416ce3b3de50769adfe34 | opps/core/utils.py | opps/core/utils.py | Python |
<|file_sep|>original/apps/events/views.py
from django.shortcuts import render_to_response
from django.shortcuts import get_object_or_404
from django.template import RequestContext
from apps.events.models import Event, AttendanceEvent, Attendee
import datetime
def index(request):
events = Event.objects.filter(even... | from django.shortcuts import render_to_response
from django.shortcuts import get_object_or_404
from django.template import RequestContext
from apps.events.models import Event, AttendanceEvent, Attendee
import datetime
def index(request):
events = Event.objects.filter(event_start__gte=datetime.date.today())
if... | <|file_sep|>original/apps/events/views.py
from django.shortcuts import render_to_response
from django.shortcuts import get_object_or_404
from django.template import RequestContext
from apps.events.models import Event, AttendanceEvent, Attendee
import datetime
def index(request):
events = Event.objects.filter(even... | 1b15198842d60582930f828656a2353f85a05d44 | apps/events/views.py | apps/events/views.py | Python |
<|file_sep|>original/.github/pull_request_template.md
- [ ] Tag issue being addressed
- [ ] Add [tests](https://github.com/openforcefield/openforcefield/tree/master/openforcefield/tests)
- [ ] Update docstrings/[documentation](https://github.com/openforcefield/openforcefield/tree/master/docs), if applicable
- [ ] Updat... | - [ ] Tag issue being addressed
- [ ] Add [tests](https://github.com/openforcefield/openforcefield/tree/master/openforcefield/tests)
- [ ] Update docstrings/[documentation](https://github.com/openforcefield/openforcefield/tree/master/docs), if applicable
- [ ] [Lint](https://open-forcefield-toolkit.readthedocs.io/en/la... | <|file_sep|>original/.github/pull_request_template.md
- [ ] Tag issue being addressed
- [ ] Add [tests](https://github.com/openforcefield/openforcefield/tree/master/openforcefield/tests)
- [ ] Update docstrings/[documentation](https://github.com/openforcefield/openforcefield/tree/master/docs), if applicable
- [ ] Updat... | 0c2b66954a664dd83c1f1c229ecf49be91b2f0c2 | .github/pull_request_template.md | .github/pull_request_template.md | Markdown |
<|file_sep|>original/tsconfig.json
{
"compilerOptions": {
"strict":true,
"strictNullChecks": true,
"declaration": true,
"target": "es6",
"lib": ["es6"],
"module": "commonjs",
"moduleResolution": "node",
"experimentalDecorators": true,
"emitDeco... | {
"compilerOptions": {
"strict":true,
"strictNullChecks": false,
"declaration": true,
"target": "es6",
"lib": ["es6"],
"module": "commonjs",
"moduleResolution": "node",
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"typ... | <|file_sep|>original/tsconfig.json
{
"compilerOptions": {
"strict":true,
"strictNullChecks": true,
"declaration": true,
"target": "es6",
"lib": ["es6"],
"module": "commonjs",
"moduleResolution": "node",
"experimentalDecorators": true,
"emitDeco... | d2a7c54224aee2cdebb11257745622ed5b0d2b1e | tsconfig.json | tsconfig.json | JSON |
<|file_sep|>original/requirements.txt
click==8.0.1
flask==2.0.1
flask-babel==2.0.0
flask-sqlalchemy==2.5.1
hiredis==2.0.0
itsdangerous==2.0.1
jinja2==3.0.1
markupsafe==2.0.1
marrow.mailer==4.0.3
marrow.util==1.2.3
marshmallow==3.12.1
pendulum==2.1.2
pillow==8.3.1
psycopg2-binary==2.9.1
python-dateutil==2.8.2
pytzdata==... | click==8.0.1
flask==2.0.1
flask-babel==2.0.0
flask-sqlalchemy==2.5.1
hiredis==2.0.0
itsdangerous==2.0.1
jinja2==3.0.1
markupsafe==2.0.1
marrow.mailer==4.0.3
marrow.util==1.2.3
marshmallow==3.13.0
pendulum==2.1.2
pillow==8.3.1
psycopg2-binary==2.9.1
python-dateutil==2.8.2
pytzdata==2020.1
redis==3.5.3
requests==2.26.0
r... | <|file_sep|>original/requirements.txt
click==8.0.1
flask==2.0.1
flask-babel==2.0.0
flask-sqlalchemy==2.5.1
hiredis==2.0.0
itsdangerous==2.0.1
jinja2==3.0.1
markupsafe==2.0.1
marrow.mailer==4.0.3
marrow.util==1.2.3
marshmallow==3.12.1
pendulum==2.1.2
pillow==8.3.1
psycopg2-binary==2.9.1
python-dateutil==2.8.2
pytzdata==... | 6eed410fa0cd63fd5b4a36f88e60b41854077bcb | requirements.txt | requirements.txt | Text |
<|file_sep|>.travis.yml.diff
original:
updated:
cache: cargo
<|file_sep|>original/.travis.yml
language: rust
rust:
- nightly
- beta
- stable
env:
- FEATURES=""
- FEATURES="no_std"
script:
- |
cargo build -vv
cargo test -vv
<|file_sep|>current/.travis.yml
language: rust
rust:
- nightly
- beta
... | language: rust
rust:
- nightly
- beta
- stable
cache: cargo
env:
- FEATURES=""
- FEATURES="no_std"
script:
- cargo build -vv
- cargo test -vv
- cargo package -vv | <|file_sep|>.travis.yml.diff
original:
updated:
cache: cargo
<|file_sep|>original/.travis.yml
language: rust
rust:
- nightly
- beta
- stable
env:
- FEATURES=""
- FEATURES="no_std"
script:
- |
cargo build -vv
cargo test -vv
<|file_sep|>current/.travis.yml
language: rust
rust:
- nightly
- beta
... | 887a4dd5dfbc094f57a4f6869739dc769344d1b1 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/lib/generators/rspec/install/install_generator.rb
end
def copy_dot_rspec
template '.rspec'
end
def copy_spec_files
directory 'spec'
end
def copy_autotest_files
directory 'autotest'
end
def app_name
Rails.application... |
desc <<DESC
Description:
Copy rspec files to your application.
DESC
def self.source_root
@source_root ||= File.expand_path(File.join(File.dirname(__FILE__), 'templates'))
end
def copy_dot_rspec
template '.rspec'
end
def copy_spec_files
directory 'spec'... | <|file_sep|>original/lib/generators/rspec/install/install_generator.rb
end
def copy_dot_rspec
template '.rspec'
end
def copy_spec_files
directory 'spec'
end
def copy_autotest_files
directory 'autotest'
end
def app_name
Rails.application... | 150355ccba6f902ab2a97d1783668b3dfe77f461 | lib/generators/rspec/install/install_generator.rb | lib/generators/rspec/install/install_generator.rb | Ruby |
<|file_sep|>src/ts/config/db.ts.diff
original:
export const version = 0;
updated:
export const version = 1;
<|file_sep|>original/src/ts/config/db.ts
/// <reference path="../core/migraterList" />
namespace YJMCNT.Config.DB {
export const name = 'counter';
export const version = 0;
export const READO... | /// <reference path="../core/migraterList" />
namespace YJMCNT.Config.DB {
export const name = 'counter';
export const version = 1;
export const READONLY = "readonry";
export const READWRITE = "readwrite";
var Migrater = YJMCNT.Core.Migrater;
export const migraters = new YJMCNT.Core.Migrat... | <|file_sep|>src/ts/config/db.ts.diff
original:
export const version = 0;
updated:
export const version = 1;
<|file_sep|>original/src/ts/config/db.ts
/// <reference path="../core/migraterList" />
namespace YJMCNT.Config.DB {
export const name = 'counter';
export const version = 0;
export const READO... | b36f994d0110df0db09c2a66a932a0c6b155c131 | src/ts/config/db.ts | src/ts/config/db.ts | TypeScript |
<|file_sep|>original/web/opensubmit/templates/footer.html
<footer class="footer">
OpenSubmit v{{opensubmit_version}}
<a href="mailto:{{opensubmit_admin}}">Feedback</a>
{% if user.is_authenticated %}
<a href="{{main_url}}/teacher/">Teacher backend</a>
{% endif %}
</footer>
<|... | <footer class="footer">
<a href="http://open-submit.org">OpenSubmit</a> v{{opensubmit_version}}
<a href="mailto:{{opensubmit_admin}}">Feedback</a>
{% if user.is_authenticated %}
<a href="{{main_url}}/teacher/">Teacher backend</a>
{% endif %}
</footer> | <|file_sep|>original/web/opensubmit/templates/footer.html
<footer class="footer">
OpenSubmit v{{opensubmit_version}}
<a href="mailto:{{opensubmit_admin}}">Feedback</a>
{% if user.is_authenticated %}
<a href="{{main_url}}/teacher/">Teacher backend</a>
{% endif %}
</footer>
<|... | 1c96f9ff1613c3a3626d9691282291d6a805640b | web/opensubmit/templates/footer.html | web/opensubmit/templates/footer.html | HTML |
<|file_sep|>original/.gitlab-ci.yml
<|file_sep|>current/.gitlab-ci.yml
<|file_sep|>updated/.gitlab-ci.yml | image: clojure
before_script:
- lein clean
- lein kibit
build:
script:
- lein cljsbuild once min
#artifacts:
# paths:
# - resources/public/js/compiled/discuss.js
# expire_in: 1 week | <|file_sep|>original/.gitlab-ci.yml
<|file_sep|>current/.gitlab-ci.yml
<|file_sep|>updated/.gitlab-ci.yml
image: clojure
before_script:
- lein clean
- lein kibit
build:
script:
- lein cljsbuild once min
#artifacts:
# paths:
# - resources/public/js/compiled/discuss.js
# expire_in: 1 week | ff5d8c4cf95afb63917d9791534611d3c4550377 | .gitlab-ci.yml | .gitlab-ci.yml | YAML |
<|file_sep|>original/source/publishing_data/05_processing_data/processors/geohash_to_geojson.rst
<|file_sep|>current/source/publishing_data/05_processing_data/processors/geohash_to_geojson.rst
<|file_sep|>updated/source/publishing_data/05_processing_data/processors/geohash_to_geojson.rst | GeoHash to GeoJSON
==================
.. admonition:: Important
:class: important
This processor is not available by default. Please contact Opendatasoft support team if you want this processor to be activated in your domain.
This processor converts geohashes (short strings of letters and digits encoding a geo... | <|file_sep|>original/source/publishing_data/05_processing_data/processors/geohash_to_geojson.rst
<|file_sep|>current/source/publishing_data/05_processing_data/processors/geohash_to_geojson.rst
<|file_sep|>updated/source/publishing_data/05_processing_data/processors/geohash_to_geojson.rst
GeoHash to GeoJSON
==========... | 69e535808e7c60b8913f09e6d1b624d2eda82656 | source/publishing_data/05_processing_data/processors/geohash_to_geojson.rst | source/publishing_data/05_processing_data/processors/geohash_to_geojson.rst | reStructuredText |
<|file_sep|>app/views/home/index.html.haml.diff
original:
updated:
%p#skip-target-holder
= link_to "skip-target", "#skip-target", class: "skip", id: "skip-target", tabindex: "-1"
<|file_sep|>original/app/views/home/index.html.haml
.row
%h1
= link_to 'Unclaimed Money Search', root_path
.large-7.columns
... | .row
%p#skip-target-holder
= link_to "skip-target", "#skip-target", class: "skip", id: "skip-target", tabindex: "-1"
%h1
= link_to 'Unclaimed Money Search', root_path
.large-7.columns
%p.lead
Does the government owe you money?<br />Search once and find out!
%div.search_form
= form_tag ... | <|file_sep|>app/views/home/index.html.haml.diff
original:
updated:
%p#skip-target-holder
= link_to "skip-target", "#skip-target", class: "skip", id: "skip-target", tabindex: "-1"
<|file_sep|>original/app/views/home/index.html.haml
.row
%h1
= link_to 'Unclaimed Money Search', root_path
.large-7.columns
... | a0fcd33a2c52d03918e3ebc2d08a1f17fca0af6e | app/views/home/index.html.haml | app/views/home/index.html.haml | Haml |
<|file_sep|>original/deploy/python_pip_non_root.sh
<|file_sep|>current/deploy/python_pip_non_root.sh
<|file_sep|>updated/deploy/python_pip_non_root.sh | #!/bin/sh
wget https://www.python.org/ftp/python/2.7.13/Python-2.7.13.tgz
tar -xzf Python-2.7.13.tgz
cd Python-2.7.13
mkdir -p $HOME/bin
./configure --prefix="$HOME"
make
make install | <|file_sep|>original/deploy/python_pip_non_root.sh
<|file_sep|>current/deploy/python_pip_non_root.sh
<|file_sep|>updated/deploy/python_pip_non_root.sh
#!/bin/sh
wget https://www.python.org/ftp/python/2.7.13/Python-2.7.13.tgz
tar -xzf Python-2.7.13.tgz
cd Python-2.7.13
mkdir -p $HOME/bin
./configure --prefix="$HOME"
m... | 05a68a6f29deaf2f63fc22b78fdfeb2dbcc4600b | deploy/python_pip_non_root.sh | deploy/python_pip_non_root.sh | Shell |
<|file_sep|>original/lib/nativeCollectionMethodNames.js
'use strict';
var getMethodNames = require('method-names'),
mongodb = require('mongodb');
function getNativeCollectionMethodNames() {
var dummyNativeDb = { options: {}, serverConfig: { options: {} } },
nativeCollection = new mongodb.Collection(du... | 'use strict';
var getMethodNames = require('method-names'),
mongodb = require('mongodb');
function getNativeCollectionMethodNames() {
var dummyNativeDb = { options: {} },
nativeCollection = new mongodb.Collection(dummyNativeDb, null, '', 'anyCollectionName', null, {});
return getMethodNames(nativ... | <|file_sep|>original/lib/nativeCollectionMethodNames.js
'use strict';
var getMethodNames = require('method-names'),
mongodb = require('mongodb');
function getNativeCollectionMethodNames() {
var dummyNativeDb = { options: {}, serverConfig: { options: {} } },
nativeCollection = new mongodb.Collection(du... | d45355ec5637a1b2ef0e552cc25f979a2e1357f3 | lib/nativeCollectionMethodNames.js | lib/nativeCollectionMethodNames.js | JavaScript |
<|file_sep|>original/installed/opensuse-12.3/Dockerfile
<|file_sep|>current/installed/opensuse-12.3/Dockerfile
<|file_sep|>updated/installed/opensuse-12.3/Dockerfile | from saltstack/opensuse-12.3-minimal
MAINTAINER SaltStack, Inc.
# Install Dependencies
RUN zypper --non-interactive install --auto-agree-with-licenses python-setuptools
# Install Salt
RUN easy_install https://github.com/saltstack/salt/archive/develop.tar.gz | <|file_sep|>original/installed/opensuse-12.3/Dockerfile
<|file_sep|>current/installed/opensuse-12.3/Dockerfile
<|file_sep|>updated/installed/opensuse-12.3/Dockerfile
from saltstack/opensuse-12.3-minimal
MAINTAINER SaltStack, Inc.
# Install Dependencies
RUN zypper --non-interactive install --auto-agree-with-licenses ... | 4f16aa7b2401026a84884d7997f8a01a24bb4f5e | installed/opensuse-12.3/Dockerfile | installed/opensuse-12.3/Dockerfile | unknown |
<|file_sep|>original/requirements.txt
numpy>=1.11.1
sympy>=0.7.6
mpmath>=0.19
pytest
flake8>=2.1.0
isort
py-cpuinfo
git+git://github.com/inducer/cgen
git+git://github.com/inducer/codepy
<|file_sep|>current/requirements.txt
numpy>=1.11.1
sympy>=0.7.6
mpmath>=0.19
pytest
flake8>=2.1.0
isort
py-cpuinfo
git+git://github.co... | numpy>=1.11.1
sympy>=0.7.6
mpmath>=0.19
pytest
flake8>=2.1.0
isort
py-cpuinfo
psutil>=5.1.0
git+git://github.com/inducer/cgen
git+git://github.com/inducer/codepy | <|file_sep|>original/requirements.txt
numpy>=1.11.1
sympy>=0.7.6
mpmath>=0.19
pytest
flake8>=2.1.0
isort
py-cpuinfo
git+git://github.com/inducer/cgen
git+git://github.com/inducer/codepy
<|file_sep|>current/requirements.txt
numpy>=1.11.1
sympy>=0.7.6
mpmath>=0.19
pytest
flake8>=2.1.0
isort
py-cpuinfo
git+git://github.co... | f81587299b091740e9fe7450a8689798fbe39532 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/_includes/pagination.html
<nav class="section-nav text-center">
{% if page.prev_section != null %}
<a href="{{ site.url }}{% if page.lang %}/{{ page.lang }}{% endif %}/{{page.chapter}}/{{ page.prev_section }}/"
class="btn btn-prev btn-primary" title="{{ page.prev_section | capita... | <nav class="section-nav text-center">
{% if page.prev_section != null %}
<a href="{{ site.url }}{% if page.lang %}/{{ page.lang }}{% endif %}/{{page.chapter}}/{% if page.chapter != page.prev_section %}{{ page.prev_section }}/{% endif %}"
class="btn btn-prev btn-primary" title="{{ page.prev_section | ... | <|file_sep|>original/_includes/pagination.html
<nav class="section-nav text-center">
{% if page.prev_section != null %}
<a href="{{ site.url }}{% if page.lang %}/{{ page.lang }}{% endif %}/{{page.chapter}}/{{ page.prev_section }}/"
class="btn btn-prev btn-primary" title="{{ page.prev_section | capita... | 1b5ff268b803d354ca376d9547a9f44b813a56fb | _includes/pagination.html | _includes/pagination.html | HTML |
<|file_sep|>original/zsh/15.updates.zsh
#!/usr/bin/env zsh
local UPDATES=$(git diff --name-only origin/master..HEAD | wc -l)
if [[ $UPDATES -gt 0 ]]; then
echo $PR_YELLOW"Updates for dotfiles detected."$PR_NO_COLOR
echo
else
git --git-dir "$(realpath ${0:a:h}/..)/.git" fetch origin &> /dev/null &!
fi
<|file_sep... | #!/usr/bin/env zsh
local UPDATES=$(git log --oneline --no-patch origin/master..HEAD | wc -l)
if [[ $UPDATES -gt 0 ]]; then
echo $PR_YELLOW"Updates for dotfiles detected."$PR_NO_COLOR
echo
else
git --git-dir "$(realpath ${0:a:h}/..)/.git" fetch origin &> /dev/null &!
fi | <|file_sep|>original/zsh/15.updates.zsh
#!/usr/bin/env zsh
local UPDATES=$(git diff --name-only origin/master..HEAD | wc -l)
if [[ $UPDATES -gt 0 ]]; then
echo $PR_YELLOW"Updates for dotfiles detected."$PR_NO_COLOR
echo
else
git --git-dir "$(realpath ${0:a:h}/..)/.git" fetch origin &> /dev/null &!
fi
<|file_sep... | 4e571196bc55bbdca298acd7041896c931dfd77a | zsh/15.updates.zsh | zsh/15.updates.zsh | Shell |
<|file_sep|>original/nix/hosts/dino/configuration.nix
{ config, pkgs, ... }:
{
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.blacklistedKernelModules = [
"hid_sensor_hub"
];
# becuase we are dual booting
time.hardwa... | { config, pkgs, ... }:
{
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.blacklistedKernelModules = [
"hid_sensor_hub"
];
# becuase we are dual booting
time.hardwareClockInLocalTime = true;
services.fwupd.enable = t... | <|file_sep|>original/nix/hosts/dino/configuration.nix
{ config, pkgs, ... }:
{
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.blacklistedKernelModules = [
"hid_sensor_hub"
];
# becuase we are dual booting
time.hardwa... | 57fc94b8c47aa818ecc5af3d454b02a279cae660 | nix/hosts/dino/configuration.nix | nix/hosts/dino/configuration.nix | Nix |
<|file_sep|>original/src/main/resources/application-dev.properties
spring.datasource.password=
# H2 DATABASE ----------------------------------------------------------------------------------------------------------
# Should H2 web console should be enabled or not?
spring.h2.console.enabled=true
# VIEW --------------... | spring.h2.console.enabled=true
# VIEW -----------------------------------------------------------------------------------------------------------------
#server.jsp-servlet.init-parameters.development=true
# Cache period for the resources served by the resource handler, in seconds
#spring.resources.cache-period=0
# TE... | <|file_sep|>original/src/main/resources/application-dev.properties
spring.datasource.password=
# H2 DATABASE ----------------------------------------------------------------------------------------------------------
# Should H2 web console should be enabled or not?
spring.h2.console.enabled=true
# VIEW --------------... | 693f7c2b516523e9618d930c9c1c03fa1afe85fc | src/main/resources/application-dev.properties | src/main/resources/application-dev.properties | INI |
<|file_sep|>ngx-tour-ngx-bootstrap/package.json.diff
original:
"peerDependencies": {
"ngx-bootstrap": "^1.9.3"
},
updated:
<|file_sep|>original/ngx-tour-ngx-bootstrap/package.json
{
"name": "ngx-tour-ngx-bootstrap",
"version": "1.0.4",
"repository": "https://github.com/isaacplmann/ngx-tour.git",
"autho... | {
"name": "ngx-tour-ngx-bootstrap",
"version": "1.0.4",
"repository": "https://github.com/isaacplmann/ngx-tour.git",
"author": "Rachel Yordán <rachelyordan@gmail.com>",
"license": "MIT",
"dependencies": {
"ngx-bootstrap": "^1.9.3",
"ngx-tour-core": "^1.0.0",
"withinviewport": "^2.0.0"
}
} | <|file_sep|>ngx-tour-ngx-bootstrap/package.json.diff
original:
"peerDependencies": {
"ngx-bootstrap": "^1.9.3"
},
updated:
<|file_sep|>original/ngx-tour-ngx-bootstrap/package.json
{
"name": "ngx-tour-ngx-bootstrap",
"version": "1.0.4",
"repository": "https://github.com/isaacplmann/ngx-tour.git",
"autho... | c435291b5e6b190a759e78dca540aca54b28546d | ngx-tour-ngx-bootstrap/package.json | ngx-tour-ngx-bootstrap/package.json | JSON |
<|file_sep|>original/database/migrations/2018_04_03_223500_update_infractions_make_nullable.php
<|file_sep|>current/database/migrations/2018_04_03_223500_update_infractions_make_nullable.php
<|file_sep|>updated/database/migrations/2018_04_03_223500_update_infractions_make_nullable.php | <?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class UpdateInfractionsMakeNullable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('infra... | <|file_sep|>original/database/migrations/2018_04_03_223500_update_infractions_make_nullable.php
<|file_sep|>current/database/migrations/2018_04_03_223500_update_infractions_make_nullable.php
<|file_sep|>updated/database/migrations/2018_04_03_223500_update_infractions_make_nullable.php
<?php
use Illuminate\Support\Fa... | 752a235bf73af07212a8d1672ad22e30b8289635 | database/migrations/2018_04_03_223500_update_infractions_make_nullable.php | database/migrations/2018_04_03_223500_update_infractions_make_nullable.php | PHP |
<|file_sep|>src/Microsoft.Fx.Portability/IObjectCache.cs.diff
original:
public interface IObjectCache<TObject> : IDisposable
updated:
public interface IObjectCache : IDisposable
{
Task UpdateAsync();
DateTimeOffset LastUpdated { get; }
}
public interface IObjectCache<TObject> : IOb... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Threading.Tasks;
namespace Microsoft.Fx.Portability
{
public interface IObjectCache : IDisposable
{
Task UpdateAsync();
... | <|file_sep|>src/Microsoft.Fx.Portability/IObjectCache.cs.diff
original:
public interface IObjectCache<TObject> : IDisposable
updated:
public interface IObjectCache : IDisposable
{
Task UpdateAsync();
DateTimeOffset LastUpdated { get; }
}
public interface IObjectCache<TObject> : IOb... | c1e98f9360d3fc4ee6fd1e2333c4fbca2696c59a | src/Microsoft.Fx.Portability/IObjectCache.cs | src/Microsoft.Fx.Portability/IObjectCache.cs | C# |
<|file_sep|>original/tasks/main.yml
shell: "{{ansible_python_interpreter}} -m pip --version"
register: need_pip
ignore_errors: True
changed_when: false
when: need_bootstrap | failed
- name: Copy get-pip.py
copy: src=get-pip.py dest=~/get-pip.py
when: need_pip | failed
- name: Install pip
shell: "{{ans... | shell: "{{ansible_python_interpreter}} -m pip --version"
register: need_pip
ignore_errors: True
changed_when: false
when: need_bootstrap | failed
- name: Copy get-pip.py
copy: src=get-pip.py dest=~/get-pip.py
when: need_pip | failed
- name: Install pip
shell: "{{ansible_python_interpreter}} ~/get-pip.... | <|file_sep|>original/tasks/main.yml
shell: "{{ansible_python_interpreter}} -m pip --version"
register: need_pip
ignore_errors: True
changed_when: false
when: need_bootstrap | failed
- name: Copy get-pip.py
copy: src=get-pip.py dest=~/get-pip.py
when: need_pip | failed
- name: Install pip
shell: "{{ans... | 8394b291ae9735cf74c4aa338bb373a48bafb403 | tasks/main.yml | tasks/main.yml | YAML |
<|file_sep|>original/core/src/test/resources/codenvy-sdk.properties
#
# Copyright (c) 2014 Codenvy, S.A.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.ecli... | #
# Copyright (c) 2014 Codenvy, S.A.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
#
# Contributors:
# Codenvy, S.A. - ini... | <|file_sep|>original/core/src/test/resources/codenvy-sdk.properties
#
# Copyright (c) 2014 Codenvy, S.A.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.ecli... | ddf323abe80b5f7bda50277e0d3207c64edb61de | core/src/test/resources/codenvy-sdk.properties | core/src/test/resources/codenvy-sdk.properties | INI |
<|file_sep|>original/lib/coffeelint/config.rb
require 'json'
module CoffeeLint
class Config
# Looks for existing config files and returns the first match.
def self.locate
locations = default_locations
# handle environment variables
locations << ENV['COFFEELINT_CONFIG'] if ENV['COFFEELINT_C... | require 'json'
module CoffeeLint
class Config
# Looks for existing config files and returns the first match.
def self.locate
locations = default_locations
# handle environment variables
locations.push(ENV['COFFEELINT_CONFIG']) if ENV['COFFEELINT_CONFIG']
locations.concat(config_files... | <|file_sep|>original/lib/coffeelint/config.rb
require 'json'
module CoffeeLint
class Config
# Looks for existing config files and returns the first match.
def self.locate
locations = default_locations
# handle environment variables
locations << ENV['COFFEELINT_CONFIG'] if ENV['COFFEELINT_C... | 6e8f00eb498d6d91d89db2ac8a84be7c35528e1f | lib/coffeelint/config.rb | lib/coffeelint/config.rb | Ruby |
<|file_sep|>original/test/java/org/apache/xmlgraphics/ps/dsc/events/DSCCommentBoundingBoxTestCase.java
<|file_sep|>current/test/java/org/apache/xmlgraphics/ps/dsc/events/DSCCommentBoundingBoxTestCase.java
<|file_sep|>updated/test/java/org/apache/xmlgraphics/ps/dsc/events/DSCCommentBoundingBoxTestCase.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | <|file_sep|>original/test/java/org/apache/xmlgraphics/ps/dsc/events/DSCCommentBoundingBoxTestCase.java
<|file_sep|>current/test/java/org/apache/xmlgraphics/ps/dsc/events/DSCCommentBoundingBoxTestCase.java
<|file_sep|>updated/test/java/org/apache/xmlgraphics/ps/dsc/events/DSCCommentBoundingBoxTestCase.java
/*
* Licen... | 8c8be9c1642697a04d4cccf08f124a1d5896c0b3 | test/java/org/apache/xmlgraphics/ps/dsc/events/DSCCommentBoundingBoxTestCase.java | test/java/org/apache/xmlgraphics/ps/dsc/events/DSCCommentBoundingBoxTestCase.java | Java |
<|file_sep|>_people/nicola_fox.md.diff
original:
updated:
careers:
- Front of House Assistant (Zoo, 2013; Pleasance, 2014)
- Legal Assistant (Freeths LLP)
<|file_sep|>_people/nicola_fox.md.diff
original:
Past- Front of House Assistant- Zoo Venues (Edinburgh Fringe Festival 2013)
Past- Front of House Assistant- The... | title: Nicola Fox
submitted: 2015-11-10
gender: female
headshot: FCdbFMb
course:
- English
graduated: 2014
awards: Commendation
careers:
- Front of House Assistant (Zoo, 2013; Pleasance, 2014)
- Legal Assistant (Freeths LLP)
---
A bit of everything really! (Except sound and lighting- I think I was always a bit t... | <|file_sep|>_people/nicola_fox.md.diff
original:
updated:
careers:
- Front of House Assistant (Zoo, 2013; Pleasance, 2014)
- Legal Assistant (Freeths LLP)
<|file_sep|>_people/nicola_fox.md.diff
original:
Past- Front of House Assistant- Zoo Venues (Edinburgh Fringe Festival 2013)
Past- Front of House Assistant- The... | dd1b1e482bd6bcf74c683ab1e3e276c031d374ab | _people/nicola_fox.md | _people/nicola_fox.md | Markdown |
<|file_sep|>geotrek/core/tests/test_forms.py.diff
original:
from geotrek.core.factories import TrailFactory
updated:
from geotrek.core.factories import TrailFactory, PathFactory
<|file_sep|>geotrek/core/tests/test_forms.py.diff
original:
from geotrek.core.forms import TrailForm
updated:
from geotrek.core.forms import T... | @skipIf(not settings.TREKKING_TOPOLOGY_ENABLED, 'Test with dynamic segmentation only')
class TopologyFormTest(TestCase):
def test_save_form_when_topology_has_not_changed(self):
user = UserFactory()
topo = TrailFactory()
form = TrailForm(instance=topo, user=user)
self.assertEqual(topo... | <|file_sep|>geotrek/core/tests/test_forms.py.diff
original:
from geotrek.core.factories import TrailFactory
updated:
from geotrek.core.factories import TrailFactory, PathFactory
<|file_sep|>geotrek/core/tests/test_forms.py.diff
original:
from geotrek.core.forms import TrailForm
updated:
from geotrek.core.forms import T... | b6eaabd47e98d51e4392c5419a59a75a0db45bf1 | geotrek/core/tests/test_forms.py | geotrek/core/tests/test_forms.py | Python |
<|file_sep|>package.json.diff
original:
"url": "git+https://github.com/jbrunel/jbrunel.git"
updated:
"url": "git+https://github.com/jbrunel/MyLifeOnAScrumBoard.git"
<|file_sep|>package.json.diff
original:
"url": "https://github.com/jbrunel/jbrunel/issues"
updated:
"url": "https://github.com/jbrunel/MyLi... | "author": "Jérôme Brunel",
"license": "MIT",
"bugs": {
"url": "https://github.com/jbrunel/MyLifeOnAScrumBoard/issues"
},
"homepage": "https://github.com/jbrunel/MyLifeOnAScrumBoard#readme",
"dependencies": {
"bower": "^1.7.7"
},
"devDependencies": {
"gulp": "^3.9.1",
"gulp-angular-templa... | <|file_sep|>package.json.diff
original:
"url": "git+https://github.com/jbrunel/jbrunel.git"
updated:
"url": "git+https://github.com/jbrunel/MyLifeOnAScrumBoard.git"
<|file_sep|>package.json.diff
original:
"url": "https://github.com/jbrunel/jbrunel/issues"
updated:
"url": "https://github.com/jbrunel/MyLi... | 2e9e6e2b2d854003c9ddc4cbe833d025e9d9ac4b | package.json | package.json | JSON |
<|file_sep|>mail_factory/models.py.diff
original:
from django.utils.importlib import import_module
updated:
<|file_sep|>original/mail_factory/models.py
# -*- coding: utf-8 -*-
import django
from django.conf import settings
from django.utils.importlib import import_module
from django.utils.module_loading import module... | # -*- coding: utf-8 -*-
import django
from django.conf import settings
from django.utils.module_loading import module_has_submodule
try:
from importlib import import_module
except ImportError:
# Compatibility for python-2.6
from django.utils.importlib import import_module
def autodiscover():
"""Auto... | <|file_sep|>mail_factory/models.py.diff
original:
from django.utils.importlib import import_module
updated:
<|file_sep|>original/mail_factory/models.py
# -*- coding: utf-8 -*-
import django
from django.conf import settings
from django.utils.importlib import import_module
from django.utils.module_loading import module... | 7cef87a81278c227db0cb07329d1b659dbd175b3 | mail_factory/models.py | mail_factory/models.py | Python |
<|file_sep|>_includes/footer.html.twig.diff
original:
<p class="m-0"><strong>{{ data.footer.copyright | escape }}</strong></p>
updated:
<|file_sep|>original/_includes/footer.html.twig
<footer class="site-footer border-t">
<div class="container background-dark py-4 text-center">
<div>
... | <footer class="site-footer border-t">
<div class="container background-dark py-4 text-center">
<div>
<p class="m-0">
<small>Website Copyright © {{ 'now' | date('Y') }} {{ data.footer.copyright | escape }}</small>
</p>
<p class="m-0">
<... | <|file_sep|>_includes/footer.html.twig.diff
original:
<p class="m-0"><strong>{{ data.footer.copyright | escape }}</strong></p>
updated:
<|file_sep|>original/_includes/footer.html.twig
<footer class="site-footer border-t">
<div class="container background-dark py-4 text-center">
<div>
... | b4e0db57ce45adcde38098b82366b0360e8e8669 | _includes/footer.html.twig | _includes/footer.html.twig | Twig |
<|file_sep|>original/.travis.yml
language: go
go:
- 1.2
install:
- ./bin/install_deps.sh
env:
- PATH=$GOPATH/bin:$PATH
script:
- sudo cp /home/travis/gopath/bin/protoc-gen-go /usr/local/bin
- make all
<|file_sep|>current/.travis.yml
language: go
go:
- 1.2
install:
- ./bin/install_deps.sh
env:
- P... | language: go
go:
- 1.2
install:
- ./bin/install_deps.sh
env:
- PATH=$GOPATH/bin:$PATH
script:
- go get github.com/tools/godep
- sudo cp /home/travis/gopath/bin/godep /usr/local/bin
- sudo cp /home/travis/gopath/bin/protoc-gen-go /usr/local/bin
- make all | <|file_sep|>original/.travis.yml
language: go
go:
- 1.2
install:
- ./bin/install_deps.sh
env:
- PATH=$GOPATH/bin:$PATH
script:
- sudo cp /home/travis/gopath/bin/protoc-gen-go /usr/local/bin
- make all
<|file_sep|>current/.travis.yml
language: go
go:
- 1.2
install:
- ./bin/install_deps.sh
env:
- P... | 72e5b8a39c4f4fa8304d2e92c6cc2fe71b81bc26 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/gigamonkey-distcompiler.asd
;;
;; Copyright (c) 2010, Peter Seibel. All rights reserved.
;;
(defsystem gigamonkey-distcompiler
:components
((:file "packages")
(:file "tarhash" :depends-on ("packages"))
(:file "distcompiler" :depends-on ("packages" "tarhash")))
:depends-on (:ironclad
... | ;;
;; Copyright (c) 2010, Peter Seibel. All rights reserved.
;;
(defsystem gigamonkey-distcompiler
:components
:description "Tool for generating Quicklisp dists."
((:file "packages")
(:file "tarhash" :depends-on ("packages"))
(:file "distcompiler" :depends-on ("packages" "tarhash")))
:depends-on (:ironcl... | <|file_sep|>original/gigamonkey-distcompiler.asd
;;
;; Copyright (c) 2010, Peter Seibel. All rights reserved.
;;
(defsystem gigamonkey-distcompiler
:components
((:file "packages")
(:file "tarhash" :depends-on ("packages"))
(:file "distcompiler" :depends-on ("packages" "tarhash")))
:depends-on (:ironclad
... | 1c2f86ae0b2f31332e3a5739c3f86522ec2cfcc4 | gigamonkey-distcompiler.asd | gigamonkey-distcompiler.asd | Common Lisp |
<|file_sep|>original/build-logic-commons/gradle-plugin/build.gradle.kts
plugins {
`kotlin-dsl`
}
group = "gradlebuild"
description = "Provides plugins used to create a Gradle plugin with Groovy or Kotlin DSL within build-logic builds"
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibilit... | plugins {
`kotlin-dsl`
}
group = "gradlebuild"
description = "Provides plugins used to create a Gradle plugin with Groovy or Kotlin DSL within build-logic builds"
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
dependencies {
compileOnly("com.gradle... | <|file_sep|>original/build-logic-commons/gradle-plugin/build.gradle.kts
plugins {
`kotlin-dsl`
}
group = "gradlebuild"
description = "Provides plugins used to create a Gradle plugin with Groovy or Kotlin DSL within build-logic builds"
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibilit... | 2b314c18fbcf9b0a2e1cd7c5b84e8433aa899daf | build-logic-commons/gradle-plugin/build.gradle.kts | build-logic-commons/gradle-plugin/build.gradle.kts | Kotlin |
<|file_sep|>original/locales/bs/notes.properties
<|file_sep|>current/locales/bs/notes.properties
<|file_sep|>updated/locales/bs/notes.properties | welcomeTitle2=Zdravo!
welcomeText2=Dobrodošli u ovu jednostraničnu bilježnicu ugrađenu u Firefox. Pretražujte web. Zapišite bilješke. Jednostavno je.
emptyPlaceHolder=Napravite bilješku…
giveFeedback=Kliknite ovdje da nam date povratne informacije
openingLogin=Otvaranje prijave…
forgetEmail=Zaboravi ovu adresu e-poš... | <|file_sep|>original/locales/bs/notes.properties
<|file_sep|>current/locales/bs/notes.properties
<|file_sep|>updated/locales/bs/notes.properties
welcomeTitle2=Zdravo!
welcomeText2=Dobrodošli u ovu jednostraničnu bilježnicu ugrađenu u Firefox. Pretražujte web. Zapišite bilješke. Jednostavno je.
emptyPlaceHolder=Napra... | ae4bd2047357cbf21927ccd4c9e94e03622700e2 | locales/bs/notes.properties | locales/bs/notes.properties | INI |
<|file_sep|>lib/ember-qunit/adapter.js.diff
original:
this.doneCallbacks.push(QUnit.config.current.assert.async());
updated:
this.doneCallbacks.push(QUnit.config.current ? QUnit.config.current.assert.async() : null);
<|file_sep|>original/lib/ember-qunit/adapter.js
import Ember from 'ember';
import QUnit from 'q... | export default Ember.Test.Adapter.extend({
init() {
this.doneCallbacks = [];
},
asyncStart() {
this.doneCallbacks.push(QUnit.config.current ? QUnit.config.current.assert.async() : null);
},
asyncEnd() {
let done = this.doneCallbacks.pop();
// This can be null if asyncStart() was called outsi... | <|file_sep|>lib/ember-qunit/adapter.js.diff
original:
this.doneCallbacks.push(QUnit.config.current.assert.async());
updated:
this.doneCallbacks.push(QUnit.config.current ? QUnit.config.current.assert.async() : null);
<|file_sep|>original/lib/ember-qunit/adapter.js
import Ember from 'ember';
import QUnit from 'q... | c9eb36941e99575c98a3d3a65b9549d855335e83 | lib/ember-qunit/adapter.js | lib/ember-qunit/adapter.js | JavaScript |
<|file_sep|>original/packages/fa/fast-downward.yaml
<|file_sep|>current/packages/fa/fast-downward.yaml
<|file_sep|>updated/packages/fa/fast-downward.yaml | homepage: ''
changelog-type: markdown
hash: cbacfe08a2363443b67b21e26e01d3160b8f84add9fd42aa5cb059219f3b03b6
test-bench-deps: {}
maintainer: Ollie Charles <ollie@ocharles.org.uk>
synopsis: Solve classical planning problems (STRIPS/SAS+) using Haskell & Fast Downward.
changelog: ! '# 0.1.0.0
* Initial release!
'
ba... | <|file_sep|>original/packages/fa/fast-downward.yaml
<|file_sep|>current/packages/fa/fast-downward.yaml
<|file_sep|>updated/packages/fa/fast-downward.yaml
homepage: ''
changelog-type: markdown
hash: cbacfe08a2363443b67b21e26e01d3160b8f84add9fd42aa5cb059219f3b03b6
test-bench-deps: {}
maintainer: Ollie Charles <ollie@oc... | 756f68c64c35699323e31130d5993ab9630a4636 | packages/fa/fast-downward.yaml | packages/fa/fast-downward.yaml | YAML |
<|file_sep|>packages/flask/deploy/launch.yml.diff
original:
asg_min: "3"
updated:
machine_class: m4.xlarge
asg_min: "2"
<|file_sep|>packages/flask/deploy/launch.yml.diff
original:
asg_min: "4"
updated:
machine_class: m4.2xlarge
asg_min: "3"
<|file_sep|>packages/flask/depl... | environments:
imdev:
machine_class: m4.xlarge
asg_min: "2"
asg_max: "5"
imqa:
machine_class: m4.2xlarge
asg_min: "3"
asg_max: "7"
improd:
machine_class: m4.2xlarge
asg_min: "4"
asg_max: "10"
roles:
- { role: launcher,
... | <|file_sep|>packages/flask/deploy/launch.yml.diff
original:
asg_min: "3"
updated:
machine_class: m4.xlarge
asg_min: "2"
<|file_sep|>packages/flask/deploy/launch.yml.diff
original:
asg_min: "4"
updated:
machine_class: m4.2xlarge
asg_min: "3"
<|file_sep|>packages/flask/depl... | 0c053b9cbc793732401ee54b70d10401969e4595 | packages/flask/deploy/launch.yml | packages/flask/deploy/launch.yml | YAML |
<|file_sep|>original/src/app/bucket/bucket.component.html
<div class="card mb-2">
<div class="card-header">
<span *ngIf="!isEditing" (click)="edit()" class="card-title">{{bucket.displayName}}</span>
<span *ngIf="isEditing"><input [(ngModel)]="bucket.displayName"/></span>
<span [class.error]="totalAllocation... | <div class="card mb-2">
<div class="card-header">
<span *ngIf="!isEditing" (click)="edit()" class="card-title">{{bucket.displayName}}</span>
<span *ngIf="isEditing"><input [(ngModel)]="bucket.displayName"/></span>
<span [class.error]="totalAllocationPercentage > 100">
<span *ngIf="!isEditing" (clic... | <|file_sep|>original/src/app/bucket/bucket.component.html
<div class="card mb-2">
<div class="card-header">
<span *ngIf="!isEditing" (click)="edit()" class="card-title">{{bucket.displayName}}</span>
<span *ngIf="isEditing"><input [(ngModel)]="bucket.displayName"/></span>
<span [class.error]="totalAllocation... | 2a56d960ddfc14a3fbd4f8db501e58c8959800f9 | src/app/bucket/bucket.component.html | src/app/bucket/bucket.component.html | HTML |
<|file_sep|>lib/node_modules/@stdlib/types/ndarray/base/max-view-buffer-index/docs/repl.txt.diff
original:
59
updated:
79
<|file_sep|>original/lib/node_modules/@stdlib/types/ndarray/base/max-view-buffer-index/docs/repl.txt
out: integer
Maximum linear index in an underlying data buffer accessible to ... | out: integer
Maximum linear index in an underlying data buffer accessible to an array
view.
Examples
--------
> var d = [ 2, 3, 10 ];
> var s = [ 30, -10, 1 ];
> var o = 20;
> var out = {{alias}}( d, s, o )
59
> s = [ 30, 10, 1 ];
> out = {{alias}}( d, s, o )
... | <|file_sep|>lib/node_modules/@stdlib/types/ndarray/base/max-view-buffer-index/docs/repl.txt.diff
original:
59
updated:
79
<|file_sep|>original/lib/node_modules/@stdlib/types/ndarray/base/max-view-buffer-index/docs/repl.txt
out: integer
Maximum linear index in an underlying data buffer accessible to ... | 650ec02e5067b378922743c717d5f69556ada1a1 | lib/node_modules/@stdlib/types/ndarray/base/max-view-buffer-index/docs/repl.txt | lib/node_modules/@stdlib/types/ndarray/base/max-view-buffer-index/docs/repl.txt | Text |
<|file_sep|>original/recipes/fatiando/meta.yaml
<|file_sep|>current/recipes/fatiando/meta.yaml
<|file_sep|>updated/recipes/fatiando/meta.yaml | # Note: there are many handy hints in comments in this example -- remove them when you've finalized your recipe
# Jinja variables help maintain the recipe as you'll update the version only here.
{% set name = "fatiando" %}
{% set version = "0.4" %}
{% set sha256 = "7709a4f7e40fd94bce8f0825d1d33094d271052374707bf2595a2... | <|file_sep|>original/recipes/fatiando/meta.yaml
<|file_sep|>current/recipes/fatiando/meta.yaml
<|file_sep|>updated/recipes/fatiando/meta.yaml
# Note: there are many handy hints in comments in this example -- remove them when you've finalized your recipe
# Jinja variables help maintain the recipe as you'll update the... | c433b1eff8e24060f3abcfaec9fa8064eb4d999d | recipes/fatiando/meta.yaml | recipes/fatiando/meta.yaml | YAML |
<|file_sep|>original/RELEASING.md
<|file_sep|>current/RELEASING.md
<|file_sep|>updated/RELEASING.md | # Releasing Hermann
Hermann is a multi-platform gem, which means that two actual `.gem` files need
to be built and uploaded to [rubygems.org](https://rubygems.org/gems/hermann).
Here's the current process that [I](https://github.com/rtyler) use:
* `rvm use ruby@rubygems` (*switch to MRI*)
* `bundle install && rake... | <|file_sep|>original/RELEASING.md
<|file_sep|>current/RELEASING.md
<|file_sep|>updated/RELEASING.md
# Releasing Hermann
Hermann is a multi-platform gem, which means that two actual `.gem` files need
to be built and uploaded to [rubygems.org](https://rubygems.org/gems/hermann).
Here's the current process that [I](ht... | 5b669504af7738194a63d8262875b2ae5430503c | RELEASING.md | RELEASING.md | Markdown |
<|file_sep|>original/app/views/users/show_init.html.erb
<|file_sep|>current/app/views/users/show_init.html.erb
<|file_sep|>updated/app/views/users/show_init.html.erb | <div id="page-header">
<h1>Create Initial User</h1>
</div>
<%= form_for @user, :url=>:init do |f| %>
Email:<br/>
<%= f.text_field :email %><br/>
Password:<br/>
<%= f.password_field :password %><br/>
Password confirmation:<br/>
<%= f.password_field :password_confirmation %><br/>
<%= f.submit "Create" %>
<% end %... | <|file_sep|>original/app/views/users/show_init.html.erb
<|file_sep|>current/app/views/users/show_init.html.erb
<|file_sep|>updated/app/views/users/show_init.html.erb
<div id="page-header">
<h1>Create Initial User</h1>
</div>
<%= form_for @user, :url=>:init do |f| %>
Email:<br/>
<%= f.text_field :email %><br/>
Pa... | ceb2800c4d95052ce65052d8e45c15eb7c5aad84 | app/views/users/show_init.html.erb | app/views/users/show_init.html.erb | HTML+ERB |
<|file_sep|>original/index.d.ts
interface ViewModelFactoryFunction {
(params?: components.ViewModelParams): components.ViewModel;
}
interface ViewModelInstantiator
extends components.ViewModelConstructor,
ViewModelFactoryFunction {}
interface MapStateToParamsFn {
(
state?: any,
ownParams?: componen... |
interface ViewModelFactoryFunction {
(params?: components.ViewModelParams): components.ViewModel;
}
interface ViewModelInstantiator
extends components.ViewModelConstructor,
ViewModelFactoryFunction {}
interface MapStateToParamsFn {
<T>(
state?: T,
ownParams?: components.ViewModelParams
): compone... | <|file_sep|>original/index.d.ts
interface ViewModelFactoryFunction {
(params?: components.ViewModelParams): components.ViewModel;
}
interface ViewModelInstantiator
extends components.ViewModelConstructor,
ViewModelFactoryFunction {}
interface MapStateToParamsFn {
(
state?: any,
ownParams?: componen... | 8f55a45f2a60dae53f1bb2b5e9476e4fa68aa5f8 | index.d.ts | index.d.ts | TypeScript |
<|file_sep|>original/doc/index.rst
====================================
docker notes and Dockerfile examples
====================================
.. sidebar:: Contents
.. toctree::
:maxdepth: 2
quickstart
example-postgresql
history
.. include:: ../README.rst
:start-line: 4
<|... | .. _index:
====================================
docker notes and Dockerfile examples
====================================
.. sidebar:: Contents
.. toctree::
:maxdepth: 2
quickstart
example-postgresql
history
.. include:: ../README.rst
:start-line: 4 | <|file_sep|>original/doc/index.rst
====================================
docker notes and Dockerfile examples
====================================
.. sidebar:: Contents
.. toctree::
:maxdepth: 2
quickstart
example-postgresql
history
.. include:: ../README.rst
:start-line: 4
<|... | 5ebea21b3cd7ff49dadbadc2c52079392af1ad21 | doc/index.rst | doc/index.rst | reStructuredText |
<|file_sep|>original/.dependabot/config.yml
# Documentation: https://dependabot.com/docs/config-file
version: 1
update_configs:
- package_manager: javascript
directory: '/'
update_schedule: live
default_reviewers:
- datahub-fed
ignored_updates:
- match:
dependency_name: 'govuk-f... | # Documentation: https://dependabot.com/docs/config-file
version: 1
update_configs:
- package_manager: javascript
directory: '/'
update_schedule: weekly
ignored_updates:
- match:
dependency_name: 'govuk-frontend'
- match:
dependency_name: 'govuk-colours' | <|file_sep|>original/.dependabot/config.yml
# Documentation: https://dependabot.com/docs/config-file
version: 1
update_configs:
- package_manager: javascript
directory: '/'
update_schedule: live
default_reviewers:
- datahub-fed
ignored_updates:
- match:
dependency_name: 'govuk-f... | 4f383bdbd75dfd3e01c6cb3a86d4118402ddf487 | .dependabot/config.yml | .dependabot/config.yml | YAML |
<|file_sep|>parrainage/app/templates/elu-list.html.diff
original:
updated:
{% if 'department' not in request.GET %}
<th>Dép.</th>
{% endif %}
<|file_sep|>original/parrainage/app/templates/elu-list.html
<th>#</th>
<th>Élu</th>
<th>Téléphone</th>
{% if user.is_authenticated %}
<th... | <th>Téléphone</th>
{% if user.is_authenticated %}
<th>Statut</th>
<th>Assigné à</th>
{% endif %}
</tr>
{% for elu in object_list %}
<tr>
<td>{{ forloop.counter }}.</td>
<td><a href="{{ elu.get_absolute_url }}">{{ elu }}</a></td>
{% if 'department' not in request.GET %}
... | <|file_sep|>parrainage/app/templates/elu-list.html.diff
original:
updated:
{% if 'department' not in request.GET %}
<th>Dép.</th>
{% endif %}
<|file_sep|>original/parrainage/app/templates/elu-list.html
<th>#</th>
<th>Élu</th>
<th>Téléphone</th>
{% if user.is_authenticated %}
<th... | fd5599f38181a19f91d550bc06612c3d37add783 | parrainage/app/templates/elu-list.html | parrainage/app/templates/elu-list.html | HTML |
<|file_sep|>original/layouts/partials/css/navigation.css
#main-nav .button {
margin: 0;
}
/* Site nav dropdown boxes align left */
#main-nav .is-dropdown-submenu .button {
text-align: left;
}
#main-nav, #main-nav a {
color: {{ .Get "color_textDefault" }};
}
#main-nav .button:hover a, #main-nav a:hover,
#main... | #main-nav .button {
margin: 0;
}
/* Site nav dropdown boxes align left */
#main-nav .is-dropdown-submenu .button {
text-align: left;
}
#main-nav, #main-nav a {
color: {{ .Get "textAlt" }};
}
#main-nav .button:hover a, #main-nav a:hover,
#main-nav .button.active a, #main-nav a.active {
color: {{ .Get "textH... | <|file_sep|>original/layouts/partials/css/navigation.css
#main-nav .button {
margin: 0;
}
/* Site nav dropdown boxes align left */
#main-nav .is-dropdown-submenu .button {
text-align: left;
}
#main-nav, #main-nav a {
color: {{ .Get "color_textDefault" }};
}
#main-nav .button:hover a, #main-nav a:hover,
#main... | 61c71a47e3ee6c11c07f668312dc325ad81156c2 | layouts/partials/css/navigation.css | layouts/partials/css/navigation.css | CSS |
<|file_sep|>original/client/components/boards/boardBody.jade
template(name="board")
if isBoardReady.get
if currentBoard
if onlyShowCurrentCard
+cardDetails(currentCard)
else
+boardBody
else
//-- XXX We need a better error message in case the board has been archived
//--... | template(name="board")
if isBoardReady.get
if currentBoard
if onlyShowCurrentCard
+cardDetails(currentCard)
else
+boardBody
else
//-- XXX We need a better error message in case the board has been archived
+message(label="board-not-found")
//-- | {{goHome}}
else
... | <|file_sep|>original/client/components/boards/boardBody.jade
template(name="board")
if isBoardReady.get
if currentBoard
if onlyShowCurrentCard
+cardDetails(currentCard)
else
+boardBody
else
//-- XXX We need a better error message in case the board has been archived
//--... | d302d6f857657ada229f78d9fcd32f63753d9779 | client/components/boards/boardBody.jade | client/components/boards/boardBody.jade | Jade |
<|file_sep|>original/website/_includes/_navigation.jade
//- 💫 INCLUDES > TOP NAVIGATION
nav.c-nav.u-text.js-nav(class=landing ? "c-nav--theme" : null)
a(href="/" aria-label=SITENAME) #[+logo]
ul.c-nav__menu
- var current_url = '/' + current.path[0]
each url, item in NAVIGATION
- v... | //- 💫 INCLUDES > TOP NAVIGATION
nav.c-nav.u-text.js-nav(class=landing ? "c-nav--theme" : null)
a(href="/" aria-label=SITENAME) #[+logo]
ul.c-nav__menu
- var current_url = '/' + current.path[0]
each url, item in NAVIGATION
- var is_active = (current_url == url)
li.c-nav... | <|file_sep|>original/website/_includes/_navigation.jade
//- 💫 INCLUDES > TOP NAVIGATION
nav.c-nav.u-text.js-nav(class=landing ? "c-nav--theme" : null)
a(href="/" aria-label=SITENAME) #[+logo]
ul.c-nav__menu
- var current_url = '/' + current.path[0]
each url, item in NAVIGATION
- v... | ca56fb53d17106b31190cecc1480c03894049d80 | website/_includes/_navigation.jade | website/_includes/_navigation.jade | Jade |
<|file_sep|>original/dev-requirements.txt
pip==8.1.2
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.0.4
tox==2.3.1
coverage==4.2
Sphinx==1.4.8
PyYAML==3.12
pytest==3.0.3
grpcio==1.0.0
grpcio-tools==1.0.0
hypothesis==3.5.3
<|file_sep|>current/dev-requirements.txt
pip==8.1.2
bumpversion==0.5.3
wheel==0.29.0
w... | pip==8.1.2
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.0.4
tox==2.4.0
coverage==4.2
Sphinx==1.4.8
PyYAML==3.12
pytest==3.0.3
grpcio==1.0.0
grpcio-tools==1.0.0
hypothesis==3.5.3 | <|file_sep|>original/dev-requirements.txt
pip==8.1.2
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.0.4
tox==2.3.1
coverage==4.2
Sphinx==1.4.8
PyYAML==3.12
pytest==3.0.3
grpcio==1.0.0
grpcio-tools==1.0.0
hypothesis==3.5.3
<|file_sep|>current/dev-requirements.txt
pip==8.1.2
bumpversion==0.5.3
wheel==0.29.0
w... | 9b281ae0be130b7f4e202df31acd72ecd9a398fa | dev-requirements.txt | dev-requirements.txt | Text |
<|file_sep|>lib/provider-google-contact/helpers/upload.js.diff
original:
updated:
* @param {Object} cluestrClient Client for upload
* @param {Object} datas Datas about the current account
* @param {Object} contact Contact to upload, plus cluestrClient
<|file_sep|>original/lib/provider-google-contact/helpers/upload.... | /**
* Upload `contact` (containing contact data) onto Cluestr.
*
*
* @param {Object} contact Contact to upload, plus cluestrClient
* @param {Object} cluestrClient Client for upload
* @param {Object} datas Datas about the current account
* @param {Object} contact Contact to upload, plus cluestrClient
* @param {... | <|file_sep|>lib/provider-google-contact/helpers/upload.js.diff
original:
updated:
* @param {Object} cluestrClient Client for upload
* @param {Object} datas Datas about the current account
* @param {Object} contact Contact to upload, plus cluestrClient
<|file_sep|>original/lib/provider-google-contact/helpers/upload.... | 46962c63a43577a2902045958882b2ecdaa7ad3e | lib/provider-google-contact/helpers/upload.js | lib/provider-google-contact/helpers/upload.js | JavaScript |
<|file_sep|>original/comedians/lukas-stejskal.html
---
layout: comedian
permalink: /comedians/lukas-stejskal.html
comedian:
id: lukas-stejskal
name: Lukáš Stejskal
img-align: 50% 50%
---
<p>Lukas is pursuing his dream to be famous stand-up comedian, like Louis C.K. Not in that way!</p>
<|file_sep|>current/comedi... | ---
layout: comedian
permalink: /comedians/lukas-stejskal.html
comedian:
id: lukas-stejskal
name: Lukáš Stejskal
img-align: 50% 50%
---
<p>Lukas is pursuing his dream to be famous stand-up comedian, like Louis C.K. Not in that way!</p> | <|file_sep|>original/comedians/lukas-stejskal.html
---
layout: comedian
permalink: /comedians/lukas-stejskal.html
comedian:
id: lukas-stejskal
name: Lukáš Stejskal
img-align: 50% 50%
---
<p>Lukas is pursuing his dream to be famous stand-up comedian, like Louis C.K. Not in that way!</p>
<|file_sep|>current/comedi... | d3dfbc444002a3328ffb127f3a9e99194e6b02f2 | comedians/lukas-stejskal.html | comedians/lukas-stejskal.html | HTML |
<|file_sep|>sample_app/utils.py.diff
original:
for key in values[0].keys():
updated:
for key in sorted(values[0].keys()):
<|file_sep|>original/sample_app/utils.py
)
def fares_to_table(fares):
keys, values = zip(*fares.items())
table_rows = [['Fare Type']]
table_rows[-1].extend(key.title()... | )
def fares_to_table(fares):
keys, values = zip(*fares.items())
table_rows = [['Fare Type']]
table_rows[-1].extend(key.title() for key in keys)
for key in sorted(values[0].keys()):
table_rows.append([key.title()])
table_rows[-1].extend(
'${}'.format(ticket_type[k... | <|file_sep|>sample_app/utils.py.diff
original:
for key in values[0].keys():
updated:
for key in sorted(values[0].keys()):
<|file_sep|>original/sample_app/utils.py
)
def fares_to_table(fares):
keys, values = zip(*fares.items())
table_rows = [['Fare Type']]
table_rows[-1].extend(key.title()... | 1d26fddd3fb1581138117b2fbeeb21877bc48883 | sample_app/utils.py | sample_app/utils.py | Python |
<|file_sep|>original/.travis.yml
rvm:
- 1.8.7
- 1.9.1
- 1.9.2
- 1.9.3
<|file_sep|>current/.travis.yml
rvm:
- 1.8.7
- 1.9.1
- 1.9.2
- 1.9.3
<|file_sep|>updated/.travis.yml | rvm:
- 1.9.2
- 1.9.3 | <|file_sep|>original/.travis.yml
rvm:
- 1.8.7
- 1.9.1
- 1.9.2
- 1.9.3
<|file_sep|>current/.travis.yml
rvm:
- 1.8.7
- 1.9.1
- 1.9.2
- 1.9.3
<|file_sep|>updated/.travis.yml
rvm:
- 1.9.2
- 1.9.3 | 327cfc495b9daa0412bad09c59d380e730428eed | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/app/views/admin/templates/_belongs_to.html.erb
<%
if @resource.typus_field_options_for(:read_only).include?(attribute.to_sym)
html_options.merge!(:disabled => 'disabled')
message = Typus::I18n.t("Read only")
end
%>
<li id="<%= attribute_id %>">
<%= form.label related_fk, "#{label_tex... | <%
if @resource.typus_field_options_for(:read_only).include?(attribute.to_sym)
html_options.merge!(:disabled => 'disabled')
message = Typus::I18n.t("Read only")
end
%>
<li id="<%= attribute_id %>">
<%= form.label attribute, "#{label_text} <small>#{message}</small>".html_safe %>
<% if values.any? %>
... | <|file_sep|>original/app/views/admin/templates/_belongs_to.html.erb
<%
if @resource.typus_field_options_for(:read_only).include?(attribute.to_sym)
html_options.merge!(:disabled => 'disabled')
message = Typus::I18n.t("Read only")
end
%>
<li id="<%= attribute_id %>">
<%= form.label related_fk, "#{label_tex... | 8e28f6d421af0b137cdb6044c7fc4273d6579db8 | app/views/admin/templates/_belongs_to.html.erb | app/views/admin/templates/_belongs_to.html.erb | HTML+ERB |
<|file_sep|>original/web/app/mu-plugins/fix-markdown.php
<|file_sep|>current/web/app/mu-plugins/fix-markdown.php
<|file_sep|>updated/web/app/mu-plugins/fix-markdown.php | <?php
/**
* Remove problematic hook that escapes html in code blocks
*/
add_action('init', function() {
if (!class_exists('WPCom_Markdown')) {
return;
}
$markdown = WPCom_Markdown::get_instance();
remove_filter('content_save_pre', array($markdown, 'preserve_code_blocks'), 1);
}, 99); | <|file_sep|>original/web/app/mu-plugins/fix-markdown.php
<|file_sep|>current/web/app/mu-plugins/fix-markdown.php
<|file_sep|>updated/web/app/mu-plugins/fix-markdown.php
<?php
/**
* Remove problematic hook that escapes html in code blocks
*/
add_action('init', function() {
if (!class_exists('WPCom_Markdown')) {
... | c056a7bcf33af9e0740f390c60d0310b044941b9 | web/app/mu-plugins/fix-markdown.php | web/app/mu-plugins/fix-markdown.php | PHP |
<|file_sep|>original/auditlog/apps.py
from django.apps import AppConfig
class AuditlogConfig(AppConfig):
name = "auditlog"
verbose_name = "Audit log"
<|file_sep|>current/auditlog/apps.py
from django.apps import AppConfig
class AuditlogConfig(AppConfig):
name = "auditlog"
verbose_name = "Audit log"
<... | from django.apps import AppConfig
class AuditlogConfig(AppConfig):
name = "auditlog"
verbose_name = "Audit log"
default_auto_field = 'django.db.models.AutoField' | <|file_sep|>original/auditlog/apps.py
from django.apps import AppConfig
class AuditlogConfig(AppConfig):
name = "auditlog"
verbose_name = "Audit log"
<|file_sep|>current/auditlog/apps.py
from django.apps import AppConfig
class AuditlogConfig(AppConfig):
name = "auditlog"
verbose_name = "Audit log"
<... | ffd8bb1e85fe7ed80d85062e4d5932f28065b84c | auditlog/apps.py | auditlog/apps.py | Python |
<|file_sep|>original/.github/workflows/stale.yml
<|file_sep|>current/.github/workflows/stale.yml
<|file_sep|>updated/.github/workflows/stale.yml | name: "Mark stale issues and pull requests"
on:
schedule:
- cron: "30 1 * * *"
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: "This issue has been automatically marked as stale because it has ... | <|file_sep|>original/.github/workflows/stale.yml
<|file_sep|>current/.github/workflows/stale.yml
<|file_sep|>updated/.github/workflows/stale.yml
name: "Mark stale issues and pull requests"
on:
schedule:
- cron: "30 1 * * *"
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
wi... | a91a2981d7789759ee25336dff161f498b8fdf39 | .github/workflows/stale.yml | .github/workflows/stale.yml | YAML |
<|file_sep|>original/subprojects/performance/src/performanceTest/groovy/org/gradle/performance/LocalTaskOutputCachePerformanceTest.groovy
<|file_sep|>current/subprojects/performance/src/performanceTest/groovy/org/gradle/performance/LocalTaskOutputCachePerformanceTest.groovy
<|file_sep|>updated/subprojects/performance... | /*
* Copyright 2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | <|file_sep|>original/subprojects/performance/src/performanceTest/groovy/org/gradle/performance/LocalTaskOutputCachePerformanceTest.groovy
<|file_sep|>current/subprojects/performance/src/performanceTest/groovy/org/gradle/performance/LocalTaskOutputCachePerformanceTest.groovy
<|file_sep|>updated/subprojects/performance... | 6e66202d3e8fae00804b1dcbc1d4e86b020c924a | subprojects/performance/src/performanceTest/groovy/org/gradle/performance/LocalTaskOutputCachePerformanceTest.groovy | subprojects/performance/src/performanceTest/groovy/org/gradle/performance/LocalTaskOutputCachePerformanceTest.groovy | Groovy |
<|file_sep|>original/modules/core/src/main/resources/log4j.properties
log4j.rootLogger = INFO, Console
log4j.appender.Console=org.apache.log4j.ConsoleAppender
log4j.appender.Console.layout=org.apache.log4j.PatternLayout
log4j.appender.Console.layout.conversionPattern=[%-5p] %c %x - %m%n
log4j.logger.org.xnio=WARN
log... | log4j.rootLogger = INFO, Console
log4j.appender.Console=org.apache.log4j.ConsoleAppender
log4j.appender.Console.layout=org.apache.log4j.PatternLayout
log4j.appender.Console.layout.conversionPattern=%d{ABSOLUTE} [%-5p] %c %x - %m%n
log4j.logger.org.xnio=WARN
log4j.logger.org.quartz.core.SchedulerSignalerImpl=WARN
log4... | <|file_sep|>original/modules/core/src/main/resources/log4j.properties
log4j.rootLogger = INFO, Console
log4j.appender.Console=org.apache.log4j.ConsoleAppender
log4j.appender.Console.layout=org.apache.log4j.PatternLayout
log4j.appender.Console.layout.conversionPattern=[%-5p] %c %x - %m%n
log4j.logger.org.xnio=WARN
log... | 2dcef05d49ee5a2068ea456a5e5988d116484f62 | modules/core/src/main/resources/log4j.properties | modules/core/src/main/resources/log4j.properties | INI |
<|file_sep|>original/lexer/src/main/kotlin/org/purescript/PSLanguage.kt
"Prim.TypeError",
)
/**
* These types are built into the purescript compiles,
* and are always available.
*
* See [https://pursuit.purescript.org/builtins/docs/Prim] for details.
... | "Prim.TypeError",
)
/**
* These types are built into the purescript compiles,
* and are always available.
*
* See [https://pursuit.purescript.org/builtins/docs/Prim] for details.
*/
val BUILTIN_TYPES = setOf(
"Function", // TO... | <|file_sep|>original/lexer/src/main/kotlin/org/purescript/PSLanguage.kt
"Prim.TypeError",
)
/**
* These types are built into the purescript compiles,
* and are always available.
*
* See [https://pursuit.purescript.org/builtins/docs/Prim] for details.
... | fe37475aed72028110a9b1567c83a0fd88833cfd | lexer/src/main/kotlin/org/purescript/PSLanguage.kt | lexer/src/main/kotlin/org/purescript/PSLanguage.kt | Kotlin |
<|file_sep|>original/lib/bcc.rb
require "bcc/version"
require "bcc/railtie" if defined?(Rails::Railtie)
module Bcc
class Base
def self.delivering_message(message)
return unless BCC_EMAILS.any?
message.bcc += BCC_EMAILS
puts message.inspect
end
end
end
<|file_sep|>current/lib/bcc.rb
requir... | require "bcc/version"
require "bcc/railtie" if defined?(Rails::Railtie)
module Bcc
class Base
def self.delivering_email(message)
return unless BCC_EMAILS.any?
message.bcc += BCC_EMAILS
puts message.inspect
end
end
end | <|file_sep|>original/lib/bcc.rb
require "bcc/version"
require "bcc/railtie" if defined?(Rails::Railtie)
module Bcc
class Base
def self.delivering_message(message)
return unless BCC_EMAILS.any?
message.bcc += BCC_EMAILS
puts message.inspect
end
end
end
<|file_sep|>current/lib/bcc.rb
requir... | 4f0e94618af343257073181f1d66121abbe99188 | lib/bcc.rb | lib/bcc.rb | Ruby |
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
<|file_sep|>current/gradle/wrapper/gradle-wrapper.proper... | distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists | <|file_sep|>original/gradle/wrapper/gradle-wrapper.properties
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
<|file_sep|>current/gradle/wrapper/gradle-wrapper.proper... | 3412470bdfc6845030339f179e8e9722be7e62d3 | gradle/wrapper/gradle-wrapper.properties | gradle/wrapper/gradle-wrapper.properties | INI |
<|file_sep|>original/README.md
# novice-tools
Small and easy functions for programming beginners in Rust
<|file_sep|>current/README.md
# novice-tools
Small and easy functions for programming beginners in Rust
<|file_sep|>updated/README.md | Rust Tools for Novices
======================
[](https://travis-ci.org/LukasKalbertodt/novice-tools)
[]()
["
],
"dotnet/x86": [
"$(MicrosoftNETCoreAppInternalPackageVersion)"
],
"aspnetcore/x64": [
"3.1.13"
]
},
"Git": "2.22.0",
"jdk... | <|file_sep|>global.json.diff
original:
"version": "5.0.103"
updated:
"version": "5.0.104"
<|file_sep|>global.json.diff
original:
"dotnet": "5.0.103",
updated:
"dotnet": "5.0.104",
<|file_sep|>global.json.diff
original:
"2.1.25",
updated:
"2.1.26",
<|file_sep|>original/global.json
"do... | 0332d9d9293a41f3cf106bef6bfd25efbfbfef88 | global.json | global.json | JSON |
<|file_sep|>original/arrowhead/arrowhead.rb
bifurcated: "Oxbow",
},
}
# FIXME: I don't have time to deal with this.
def self.classify(region, shape)
if CLASSIFICATIONS.include? region
shapes = CLASSIFICATIONS[region]
if shapes.include? shape
arrowhead = shapes[shape]
"Yo... | else
raise "Unknown shape value. Are you sure you know what you're talking about?"
end
else
raise "Unknown region, please provide a valid region."
end
end
end
puts Arrowhead.classify(:northern_plains, :bifurcated)
begin
Arrowhead.classify(:southern_plains, :bifurcated)
rescue => ... | <|file_sep|>original/arrowhead/arrowhead.rb
bifurcated: "Oxbow",
},
}
# FIXME: I don't have time to deal with this.
def self.classify(region, shape)
if CLASSIFICATIONS.include? region
shapes = CLASSIFICATIONS[region]
if shapes.include? shape
arrowhead = shapes[shape]
"Yo... | e14f9b3202bd77d15e33922faac0b85b84cb3bcc | arrowhead/arrowhead.rb | arrowhead/arrowhead.rb | Ruby |
<|file_sep|>original/v1/helpers/errors.rb
def verbose_500(e)
{
error: e.message.squeeze("\n").split("\n"),
backtrace: e.backtrace,
}.to_json
end
def forward_errors
yield
rescue Xapi::ApiError, Xapi::UnknownLanguage => e
halt 400, { error: e.m... |
def verbose_500(e)
{
error: e.message.squeeze("\n").split("\n"),
backtrace: e.backtrace,
}.to_json
end
def forward_errors
yield
rescue Xapi::ApiError => e
halt 400, { error: e.message }.to_json
rescue Exception => e
if %w(test d... | <|file_sep|>original/v1/helpers/errors.rb
def verbose_500(e)
{
error: e.message.squeeze("\n").split("\n"),
backtrace: e.backtrace,
}.to_json
end
def forward_errors
yield
rescue Xapi::ApiError, Xapi::UnknownLanguage => e
halt 400, { error: e.m... | fb0d4125f49761beb035bdd2cd284d304b5d41ca | v1/helpers/errors.rb | v1/helpers/errors.rb | Ruby |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.