prompt stringlengths 77 6.9k | completion stringlengths 1 3.38k | text stringlengths 163 9.03k | commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | lang stringclasses 277
values |
|---|---|---|---|---|---|---|
<|file_sep|>original/client/package.json
{
"name": "superdesk",
"license": "GPL-3.0",
"dependencies": {
"superdesk-core": "superdesk/superdesk-client-core#25c3ea7"
}
}
<|file_sep|>current/client/package.json
{
"name": "superdesk",
"license": "GPL-3.0",
"dependencies": {
"superdesk-core": "superdesk/superdesk-client-core#25c3ea7"
}
}
<|file_sep|>updated/client/package.json | {
"name": "superdesk",
"license": "GPL-3.0",
"dependencies": {
"superdesk-core": "superdesk/superdesk-client-core#c163aa5"
}
} | <|file_sep|>original/client/package.json
{
"name": "superdesk",
"license": "GPL-3.0",
"dependencies": {
"superdesk-core": "superdesk/superdesk-client-core#25c3ea7"
}
}
<|file_sep|>current/client/package.json
{
"name": "superdesk",
"license": "GPL-3.0",
"dependencies": {
"superdesk-core": "superdesk/superdesk-client-core#25c3ea7"
}
}
<|file_sep|>updated/client/package.json
{
"name": "superdesk",
"license": "GPL-3.0",
"dependencies": {
"superdesk-core": "superdesk/superdesk-client-core#c163aa5"
}
} | d55a47a9167a3185e9f58c8263450bf33e7ca206 | client/package.json | client/package.json | JSON |
<|file_sep|>build.py.diff
original:
updated:
import os
<|file_sep|>original/build.py
file.write( content )
file.close()
out_folder = "output/"
src_folder = "src/"
includes_folder = src_folder + "includes/"
header = loadFile( includes_folder + "header.html", "" )
header = header.replace( "[STYLE]", loadFile( includes_folder + "style.css", "\t" ) )
header = header.replace( "[SCRIPT]", loadFile( includes_folder + "script.js", "\t" ) )
footer = loadFile( includes_folder + "footer.html", "" )
names = [
"index.html"
]
for name in names:
raw = loadFile( src_folder + name, "" )
raw = header + raw + footer
outputFile( out_folder + name, raw )
<|file_sep|>current/build.py
file.write( content )
file.close()
out_folder = "output/"
src_folder = "src/"
includes_folder = src_folder + "includes/"
header = loadFile( includes_folder + "header.html", "" )
header = header.replace( "[STYLE]", loadFile( includes_folder + "style.css", "\t" ) )
header = header.replace( "[SCRIPT]", loadFile( includes_folder + "script.js", "\t" ) )
footer = loadFile( includes_folder + "footer.html", "" )
names = [
"index.html"
]
for name in names:
raw = loadFile( src_folder + name, "" )
raw = header + raw + footer
outputFile( out_folder + name, raw )
<|file_sep|>updated/build.py |
out_folder = "output/"
src_folder = "src/"
includes_folder = src_folder + "includes/"
header = loadFile( includes_folder + "header.html", "" )
header = header.replace( "[STYLE]", loadFile( includes_folder + "style.css", "\t" ) )
header = header.replace( "[SCRIPT]", loadFile( includes_folder + "script.js", "\t" ) )
footer = loadFile( includes_folder + "footer.html", "" )
names = set()
for name in os.listdir( src_folder ):
names.add( name )
names.remove( includes_folder[ len( src_folder ) : -1 ] )
for name in names:
raw = loadFile( src_folder + name, "" )
raw = header + raw + footer
outputFile( out_folder + name, raw ) | <|file_sep|>build.py.diff
original:
updated:
import os
<|file_sep|>original/build.py
file.write( content )
file.close()
out_folder = "output/"
src_folder = "src/"
includes_folder = src_folder + "includes/"
header = loadFile( includes_folder + "header.html", "" )
header = header.replace( "[STYLE]", loadFile( includes_folder + "style.css", "\t" ) )
header = header.replace( "[SCRIPT]", loadFile( includes_folder + "script.js", "\t" ) )
footer = loadFile( includes_folder + "footer.html", "" )
names = [
"index.html"
]
for name in names:
raw = loadFile( src_folder + name, "" )
raw = header + raw + footer
outputFile( out_folder + name, raw )
<|file_sep|>current/build.py
file.write( content )
file.close()
out_folder = "output/"
src_folder = "src/"
includes_folder = src_folder + "includes/"
header = loadFile( includes_folder + "header.html", "" )
header = header.replace( "[STYLE]", loadFile( includes_folder + "style.css", "\t" ) )
header = header.replace( "[SCRIPT]", loadFile( includes_folder + "script.js", "\t" ) )
footer = loadFile( includes_folder + "footer.html", "" )
names = [
"index.html"
]
for name in names:
raw = loadFile( src_folder + name, "" )
raw = header + raw + footer
outputFile( out_folder + name, raw )
<|file_sep|>updated/build.py
out_folder = "output/"
src_folder = "src/"
includes_folder = src_folder + "includes/"
header = loadFile( includes_folder + "header.html", "" )
header = header.replace( "[STYLE]", loadFile( includes_folder + "style.css", "\t" ) )
header = header.replace( "[SCRIPT]", loadFile( includes_folder + "script.js", "\t" ) )
footer = loadFile( includes_folder + "footer.html", "" )
names = set()
for name in os.listdir( src_folder ):
names.add( name )
names.remove( includes_folder[ len( src_folder ) : -1 ] )
for name in names:
raw = loadFile( src_folder + name, "" )
raw = header + raw + footer
outputFile( out_folder + name, raw ) | 13f857978378df38a4d52cc92aec750c3804f069 | build.py | build.py | Python |
<|file_sep|>original/pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<version>1.0.0</version>
<build>
<sourceDirectory>src\main\java</sourceDirectory>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
<version>5.0.0.Alpha2</version>
<|file_sep|>current/pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<version>1.0.0</version>
<build>
<sourceDirectory>src\main\java</sourceDirectory>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
<version>5.0.0.Alpha2</version>
<|file_sep|>updated/pom.xml | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<version>1.0.1</version>
<build>
<sourceDirectory>src\main\java</sourceDirectory>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
<version>5.0.0.Alpha2</version> | <|file_sep|>original/pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<version>1.0.0</version>
<build>
<sourceDirectory>src\main\java</sourceDirectory>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
<version>5.0.0.Alpha2</version>
<|file_sep|>current/pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<version>1.0.0</version>
<build>
<sourceDirectory>src\main\java</sourceDirectory>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
<version>5.0.0.Alpha2</version>
<|file_sep|>updated/pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<version>1.0.1</version>
<build>
<sourceDirectory>src\main\java</sourceDirectory>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
<version>5.0.0.Alpha2</version> | 7462f41f384e3b0888176bf18e82070d531e8ae0 | pom.xml | pom.xml | XML |
<|file_sep|>original/install/install-golang.sh
GOLANG_VERSION=1.13.4
cd /tmp
wget https://dl.google.com/go/go${GOLANG_VERSION}.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go${GOLANG_VERSION}.linux-amd64.tar.gz
mkdir -p ~/code/go/src
mkdir -p ~/code/go/pkg
mkdir -p ~/code/go/bin
<|file_sep|>current/install/install-golang.sh
GOLANG_VERSION=1.13.4
cd /tmp
wget https://dl.google.com/go/go${GOLANG_VERSION}.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go${GOLANG_VERSION}.linux-amd64.tar.gz
mkdir -p ~/code/go/src
mkdir -p ~/code/go/pkg
mkdir -p ~/code/go/bin
<|file_sep|>updated/install/install-golang.sh | GOLANG_VERSION=1.13.4
cd /tmp
wget https://dl.google.com/go/go${GOLANG_VERSION}.linux-amd64.tar.gz
sudo rm -rf /usr/local/go/
sudo tar -C /usr/local -xzf go${GOLANG_VERSION}.linux-amd64.tar.gz
mkdir -p ~/code/go/src
mkdir -p ~/code/go/pkg
mkdir -p ~/code/go/bin | <|file_sep|>original/install/install-golang.sh
GOLANG_VERSION=1.13.4
cd /tmp
wget https://dl.google.com/go/go${GOLANG_VERSION}.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go${GOLANG_VERSION}.linux-amd64.tar.gz
mkdir -p ~/code/go/src
mkdir -p ~/code/go/pkg
mkdir -p ~/code/go/bin
<|file_sep|>current/install/install-golang.sh
GOLANG_VERSION=1.13.4
cd /tmp
wget https://dl.google.com/go/go${GOLANG_VERSION}.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go${GOLANG_VERSION}.linux-amd64.tar.gz
mkdir -p ~/code/go/src
mkdir -p ~/code/go/pkg
mkdir -p ~/code/go/bin
<|file_sep|>updated/install/install-golang.sh
GOLANG_VERSION=1.13.4
cd /tmp
wget https://dl.google.com/go/go${GOLANG_VERSION}.linux-amd64.tar.gz
sudo rm -rf /usr/local/go/
sudo tar -C /usr/local -xzf go${GOLANG_VERSION}.linux-amd64.tar.gz
mkdir -p ~/code/go/src
mkdir -p ~/code/go/pkg
mkdir -p ~/code/go/bin | 925b1bf3e2d05856cc8d3bc292bc5c039cfc2205 | install/install-golang.sh | install/install-golang.sh | Shell |
<|file_sep|>app/assets/stylesheets/home.scss.diff
original:
updated:
body {
background-color: #F2F2F2;
}
<|file_sep|>app/assets/stylesheets/home.scss.diff
original:
top: 10%;
updated:
top: 9%;
<|file_sep|>original/app/assets/stylesheets/home.scss
#notification-list {
position: fixed;
top: 10%;
right: 10%;
list-style-type: none;
background-color: #F2F2F2;
z-index: 10;
}
#flex-container {
display: flex;
}
#notification-list li {
padding: 0.5em 2em 0.5em 0.5em;
}
.glyphicon-ok-sign {
color: green;
}
<|file_sep|>current/app/assets/stylesheets/home.scss
height: 5em;
margin-top: 20px;
margin-bottom: 20px
}
#notification-list {
position: fixed;
top: 9%;
right: 10%;
list-style-type: none;
background-color: #F2F2F2;
z-index: 10;
}
#flex-container {
display: flex;
}
#notification-list li {
padding: 0.5em 2em 0.5em 0.5em;
}
<|file_sep|>updated/app/assets/stylesheets/home.scss | height: 5em;
margin-top: 20px;
margin-bottom: 20px
}
#notification-list {
position: fixed;
top: 9%;
right: 10%;
list-style-type: none;
background-color: #D3D3D3;
z-index: 10;
}
#flex-container {
display: flex;
}
#notification-list li {
padding: 0.5em 2em 0.5em 0.5em;
} | <|file_sep|>app/assets/stylesheets/home.scss.diff
original:
updated:
body {
background-color: #F2F2F2;
}
<|file_sep|>app/assets/stylesheets/home.scss.diff
original:
top: 10%;
updated:
top: 9%;
<|file_sep|>original/app/assets/stylesheets/home.scss
#notification-list {
position: fixed;
top: 10%;
right: 10%;
list-style-type: none;
background-color: #F2F2F2;
z-index: 10;
}
#flex-container {
display: flex;
}
#notification-list li {
padding: 0.5em 2em 0.5em 0.5em;
}
.glyphicon-ok-sign {
color: green;
}
<|file_sep|>current/app/assets/stylesheets/home.scss
height: 5em;
margin-top: 20px;
margin-bottom: 20px
}
#notification-list {
position: fixed;
top: 9%;
right: 10%;
list-style-type: none;
background-color: #F2F2F2;
z-index: 10;
}
#flex-container {
display: flex;
}
#notification-list li {
padding: 0.5em 2em 0.5em 0.5em;
}
<|file_sep|>updated/app/assets/stylesheets/home.scss
height: 5em;
margin-top: 20px;
margin-bottom: 20px
}
#notification-list {
position: fixed;
top: 9%;
right: 10%;
list-style-type: none;
background-color: #D3D3D3;
z-index: 10;
}
#flex-container {
display: flex;
}
#notification-list li {
padding: 0.5em 2em 0.5em 0.5em;
} | ccb2f85acf77f9891bb8d598aaa24b2ec30ed73c | app/assets/stylesheets/home.scss | app/assets/stylesheets/home.scss | SCSS |
<|file_sep|>_includes/ga.html.diff
original:
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
updated:
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
<|file_sep|>original/_includes/ga.html
<script>
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
ga('create', 'UA-56843224-1', 'auto');
ga('send', 'pageview');
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>
<|file_sep|>current/_includes/ga.html
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-56843224-1', 'auto');
ga('send', 'pageview');
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>
<|file_sep|>updated/_includes/ga.html | <script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-56843224-1', 'auto');
ga('send', 'pageview');
</script> | <|file_sep|>_includes/ga.html.diff
original:
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
updated:
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
<|file_sep|>original/_includes/ga.html
<script>
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
ga('create', 'UA-56843224-1', 'auto');
ga('send', 'pageview');
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>
<|file_sep|>current/_includes/ga.html
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-56843224-1', 'auto');
ga('send', 'pageview');
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>
<|file_sep|>updated/_includes/ga.html
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-56843224-1', 'auto');
ga('send', 'pageview');
</script> | 6c335416e27da0f33c407ab323c93ef46a04314a | _includes/ga.html | _includes/ga.html | HTML |
<|file_sep|>lib/registration.js.diff
original:
alert('Error registering service worker:'+error);
updated:
console.error('Error registering service worker:'+error);
<|file_sep|>original/lib/registration.js
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('./service-worker.js', {scope: './'})
.catch(function(error) {
alert('Error registering service worker:'+error);
});
} else {
alert('service worker not supported');
}
<|file_sep|>current/lib/registration.js
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('./service-worker.js', {scope: './'})
.catch(function(error) {
console.error('Error registering service worker:'+error);
});
} else {
alert('service worker not supported');
}
<|file_sep|>updated/lib/registration.js | if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('./service-worker.js', {scope: './'})
.catch(function(error) {
console.error('Error registering service worker:'+error);
});
} else {
console.log('service worker not supported');
} | <|file_sep|>lib/registration.js.diff
original:
alert('Error registering service worker:'+error);
updated:
console.error('Error registering service worker:'+error);
<|file_sep|>original/lib/registration.js
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('./service-worker.js', {scope: './'})
.catch(function(error) {
alert('Error registering service worker:'+error);
});
} else {
alert('service worker not supported');
}
<|file_sep|>current/lib/registration.js
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('./service-worker.js', {scope: './'})
.catch(function(error) {
console.error('Error registering service worker:'+error);
});
} else {
alert('service worker not supported');
}
<|file_sep|>updated/lib/registration.js
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('./service-worker.js', {scope: './'})
.catch(function(error) {
console.error('Error registering service worker:'+error);
});
} else {
console.log('service worker not supported');
} | a73508bdc6301e616eb15a7f3ee88a5eb982e466 | lib/registration.js | lib/registration.js | JavaScript |
<|file_sep|>static/core.css.diff
original:
font: 100%/175% Ubuntu, sans-serif;
updated:
font: 100%/125% Ubuntu, sans-serif;
<|file_sep|>static/core.css.diff
original:
.plan .task-done {
width: 1.5em;
text-align: center;
}
.plan .task-title {
updated:
.plan .task-done, .plan .task-title {
padding: 0.4em 0;
<|file_sep|>static/core.css.diff
original:
updated:
}
.plan .task-done {
width: 1.5em;
text-align: center;
vertical-align: baseline;
}
.plan .task-title {
<|file_sep|>static/core.css.diff
original:
updated:
}
.plan .task-title:focus {
/* Disable distracting outline on Chrome */
outline: none;
<|file_sep|>original/static/core.css
white-space: pre-wrap;
}
.plan.idle .task-title {
/* Give the whole cell that cursor, not just the text inside */
cursor: text;
}
.plan.idle .task-title:hover {
border-color: #ccc;
}
.plan.idle .task-title:active,
.plan.editing .task-title[contenteditable="true"] {
border-color: #333;
}
.plan.locked {
cursor: default;
color: #999;
}
<|file_sep|>current/static/core.css
outline: none;
}
.plan.idle .task-title {
/* Give the whole cell that cursor, not just the text inside */
cursor: text;
}
.plan.idle .task-title:hover {
border-color: #ccc;
}
.plan.idle .task-title:active,
.plan.editing .task-title[contenteditable="true"] {
border-color: #333;
}
.plan.locked {
cursor: default;
color: #999;
}
<|file_sep|>updated/static/core.css | outline: none;
}
.plan.idle .task-title {
/* Give the whole cell that cursor, not just the text inside */
cursor: text;
}
.plan.idle .task-title:hover {
border-color: #ccc;
}
.plan.idle .task-title:active,
.plan.editing .task-title[contenteditable="true"] {
border-color: #333;
}
.plan.locked {
cursor: default;
color: #777;
} | <|file_sep|>static/core.css.diff
original:
font: 100%/175% Ubuntu, sans-serif;
updated:
font: 100%/125% Ubuntu, sans-serif;
<|file_sep|>static/core.css.diff
original:
.plan .task-done {
width: 1.5em;
text-align: center;
}
.plan .task-title {
updated:
.plan .task-done, .plan .task-title {
padding: 0.4em 0;
<|file_sep|>static/core.css.diff
original:
updated:
}
.plan .task-done {
width: 1.5em;
text-align: center;
vertical-align: baseline;
}
.plan .task-title {
<|file_sep|>static/core.css.diff
original:
updated:
}
.plan .task-title:focus {
/* Disable distracting outline on Chrome */
outline: none;
<|file_sep|>original/static/core.css
white-space: pre-wrap;
}
.plan.idle .task-title {
/* Give the whole cell that cursor, not just the text inside */
cursor: text;
}
.plan.idle .task-title:hover {
border-color: #ccc;
}
.plan.idle .task-title:active,
.plan.editing .task-title[contenteditable="true"] {
border-color: #333;
}
.plan.locked {
cursor: default;
color: #999;
}
<|file_sep|>current/static/core.css
outline: none;
}
.plan.idle .task-title {
/* Give the whole cell that cursor, not just the text inside */
cursor: text;
}
.plan.idle .task-title:hover {
border-color: #ccc;
}
.plan.idle .task-title:active,
.plan.editing .task-title[contenteditable="true"] {
border-color: #333;
}
.plan.locked {
cursor: default;
color: #999;
}
<|file_sep|>updated/static/core.css
outline: none;
}
.plan.idle .task-title {
/* Give the whole cell that cursor, not just the text inside */
cursor: text;
}
.plan.idle .task-title:hover {
border-color: #ccc;
}
.plan.idle .task-title:active,
.plan.editing .task-title[contenteditable="true"] {
border-color: #333;
}
.plan.locked {
cursor: default;
color: #777;
} | 114d07cb54aaf7764588f5a06d83fa30f108b998 | static/core.css | static/core.css | CSS |
<|file_sep|>sack/shell_init.go.diff
original:
alias F="${sack} -e"
updated:
alias E="${sack} -e"
<|file_sep|>original/sack/shell_init.go
fmt.Println(sh)
}
func shellEval(c *cli.Context) {
sh := "eval \"$(sack init)\""
fmt.Println(sh)
}
/*
// TODO: Add bash and zsh autocomplete
_cli_bash_autocomplete() {
local cur prev opts base
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
opts=$( ${COMP_WORDS[@]:0:COMP_CWORD} --generate-bash-completion )
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
}
<|file_sep|>current/sack/shell_init.go
fmt.Println(sh)
}
func shellEval(c *cli.Context) {
sh := "eval \"$(sack init)\""
fmt.Println(sh)
}
/*
// TODO: Add bash and zsh autocomplete
_cli_bash_autocomplete() {
local cur prev opts base
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
opts=$( ${COMP_WORDS[@]:0:COMP_CWORD} --generate-bash-completion )
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
}
<|file_sep|>updated/sack/shell_init.go | fmt.Println(sh)
}
func shellEval(c *cli.Context) {
sh := "eval \"$(sack init)\""
fmt.Println(sh)
}
/*
// TODO: Add bash and zsh autocomplete
CREDIT: https://github.com/codegangsta/cli/blob/master/autocomplete/bash_autocomplete
_cli_bash_autocomplete() {
local cur prev opts base
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
opts=$( ${COMP_WORDS[@]:0:COMP_CWORD} --generate-bash-completion )
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
}
| <|file_sep|>sack/shell_init.go.diff
original:
alias F="${sack} -e"
updated:
alias E="${sack} -e"
<|file_sep|>original/sack/shell_init.go
fmt.Println(sh)
}
func shellEval(c *cli.Context) {
sh := "eval \"$(sack init)\""
fmt.Println(sh)
}
/*
// TODO: Add bash and zsh autocomplete
_cli_bash_autocomplete() {
local cur prev opts base
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
opts=$( ${COMP_WORDS[@]:0:COMP_CWORD} --generate-bash-completion )
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
}
<|file_sep|>current/sack/shell_init.go
fmt.Println(sh)
}
func shellEval(c *cli.Context) {
sh := "eval \"$(sack init)\""
fmt.Println(sh)
}
/*
// TODO: Add bash and zsh autocomplete
_cli_bash_autocomplete() {
local cur prev opts base
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
opts=$( ${COMP_WORDS[@]:0:COMP_CWORD} --generate-bash-completion )
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
}
<|file_sep|>updated/sack/shell_init.go
fmt.Println(sh)
}
func shellEval(c *cli.Context) {
sh := "eval \"$(sack init)\""
fmt.Println(sh)
}
/*
// TODO: Add bash and zsh autocomplete
CREDIT: https://github.com/codegangsta/cli/blob/master/autocomplete/bash_autocomplete
_cli_bash_autocomplete() {
local cur prev opts base
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
opts=$( ${COMP_WORDS[@]:0:COMP_CWORD} --generate-bash-completion )
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
}
| 8d4a94bd00f829b4d290625a6870ca30f2614e5f | sack/shell_init.go | sack/shell_init.go | Go |
<|file_sep|>client/app/components/home/home.spec.js.diff
original:
updated:
import Authentication from "../../common/authentication/authentication";
<|file_sep|>original/client/app/components/home/home.spec.js
import HomeModule from "./home";
describe("Home", () => {
let $rootScope, $componentController;
beforeEach(window.module("Authentication")); //to load hookProvider
beforeEach(window.module(HomeModule));
beforeEach(inject(($injector) => {
$rootScope = $injector.get("$rootScope");
$componentController = $injector.get("$componentController");
}));
describe("Module", () => {
// top-level specs: i.e., routes, injection, naming
});
describe("Controller", () => {
// controller specs
let controller;
beforeEach(() => {
<|file_sep|>current/client/app/components/home/home.spec.js
import HomeModule from "./home";
import Authentication from "../../common/authentication/authentication";
describe("Home", () => {
let $rootScope, $componentController;
beforeEach(window.module("Authentication")); //to load hookProvider
beforeEach(window.module(HomeModule));
beforeEach(inject(($injector) => {
$rootScope = $injector.get("$rootScope");
$componentController = $injector.get("$componentController");
}));
describe("Module", () => {
// top-level specs: i.e., routes, injection, naming
});
describe("Controller", () => {
// controller specs
let controller;
<|file_sep|>updated/client/app/components/home/home.spec.js | import HomeModule from "./home";
import Authentication from "../../common/authentication/authentication";
describe("Home", () => {
let $rootScope, $componentController;
beforeEach(window.module(Authentication)); //to load hookProvider
beforeEach(window.module(HomeModule));
beforeEach(inject(($injector) => {
$rootScope = $injector.get("$rootScope");
$componentController = $injector.get("$componentController");
}));
describe("Module", () => {
// top-level specs: i.e., routes, injection, naming
});
describe("Controller", () => {
// controller specs
let controller; | <|file_sep|>client/app/components/home/home.spec.js.diff
original:
updated:
import Authentication from "../../common/authentication/authentication";
<|file_sep|>original/client/app/components/home/home.spec.js
import HomeModule from "./home";
describe("Home", () => {
let $rootScope, $componentController;
beforeEach(window.module("Authentication")); //to load hookProvider
beforeEach(window.module(HomeModule));
beforeEach(inject(($injector) => {
$rootScope = $injector.get("$rootScope");
$componentController = $injector.get("$componentController");
}));
describe("Module", () => {
// top-level specs: i.e., routes, injection, naming
});
describe("Controller", () => {
// controller specs
let controller;
beforeEach(() => {
<|file_sep|>current/client/app/components/home/home.spec.js
import HomeModule from "./home";
import Authentication from "../../common/authentication/authentication";
describe("Home", () => {
let $rootScope, $componentController;
beforeEach(window.module("Authentication")); //to load hookProvider
beforeEach(window.module(HomeModule));
beforeEach(inject(($injector) => {
$rootScope = $injector.get("$rootScope");
$componentController = $injector.get("$componentController");
}));
describe("Module", () => {
// top-level specs: i.e., routes, injection, naming
});
describe("Controller", () => {
// controller specs
let controller;
<|file_sep|>updated/client/app/components/home/home.spec.js
import HomeModule from "./home";
import Authentication from "../../common/authentication/authentication";
describe("Home", () => {
let $rootScope, $componentController;
beforeEach(window.module(Authentication)); //to load hookProvider
beforeEach(window.module(HomeModule));
beforeEach(inject(($injector) => {
$rootScope = $injector.get("$rootScope");
$componentController = $injector.get("$componentController");
}));
describe("Module", () => {
// top-level specs: i.e., routes, injection, naming
});
describe("Controller", () => {
// controller specs
let controller; | 0ededb60deed3ed3e6a4d0af5a9b7269f2a24f87 | client/app/components/home/home.spec.js | client/app/components/home/home.spec.js | JavaScript |
<|file_sep|>original/requirements_test.txt
pytest==3.9.1
pytest-cov==2.6.0
mock==2.0.0
flake8==3.5.0
bumpversion==0.5.3
<|file_sep|>current/requirements_test.txt
pytest==3.9.1
pytest-cov==2.6.0
mock==2.0.0
flake8==3.5.0
bumpversion==0.5.3
<|file_sep|>updated/requirements_test.txt | pytest==3.9.3
pytest-cov==2.6.0
mock==2.0.0
flake8==3.5.0
bumpversion==0.5.3 | <|file_sep|>original/requirements_test.txt
pytest==3.9.1
pytest-cov==2.6.0
mock==2.0.0
flake8==3.5.0
bumpversion==0.5.3
<|file_sep|>current/requirements_test.txt
pytest==3.9.1
pytest-cov==2.6.0
mock==2.0.0
flake8==3.5.0
bumpversion==0.5.3
<|file_sep|>updated/requirements_test.txt
pytest==3.9.3
pytest-cov==2.6.0
mock==2.0.0
flake8==3.5.0
bumpversion==0.5.3 | 59475e5ab7fcdfc2b040e6663e85e43cf18c54db | requirements_test.txt | requirements_test.txt | Text |
<|file_sep|>original/3_5.go
"Sends invalid connection preface",
"The endpoint MUST terminate the TCP connection.",
func(ctx *Context) (expected []Result, actual Result) {
expected = []Result{
&ResultConnectionClose{},
}
tcpConn := CreateTcpConn(ctx)
defer tcpConn.conn.Close()
fmt.Fprintf(tcpConn.conn, "INVALID CONNECTION PREFACE")
timeCh := time.After(ctx.Timeout)
loop:
for {
select {
case <-tcpConn.dataCh:
break
case err := <-tcpConn.errCh:
opErr, ok := err.(*net.OpError)
if err == io.EOF || (ok && opErr.Err == syscall.ECONNRESET) {
<|file_sep|>current/3_5.go
"Sends invalid connection preface",
"The endpoint MUST terminate the TCP connection.",
func(ctx *Context) (expected []Result, actual Result) {
expected = []Result{
&ResultConnectionClose{},
}
tcpConn := CreateTcpConn(ctx)
defer tcpConn.conn.Close()
fmt.Fprintf(tcpConn.conn, "INVALID CONNECTION PREFACE")
timeCh := time.After(ctx.Timeout)
loop:
for {
select {
case <-tcpConn.dataCh:
break
case err := <-tcpConn.errCh:
opErr, ok := err.(*net.OpError)
if err == io.EOF || (ok && opErr.Err == syscall.ECONNRESET) {
<|file_sep|>updated/3_5.go | "Sends invalid connection preface",
"The endpoint MUST terminate the TCP connection.",
func(ctx *Context) (expected []Result, actual Result) {
expected = []Result{
&ResultConnectionClose{},
}
tcpConn := CreateTcpConn(ctx)
defer tcpConn.conn.Close()
fmt.Fprintf(tcpConn.conn, "INVALID CONNECTION PREFACE\r\n\r\n")
timeCh := time.After(ctx.Timeout)
loop:
for {
select {
case <-tcpConn.dataCh:
break
case err := <-tcpConn.errCh:
opErr, ok := err.(*net.OpError)
if err == io.EOF || (ok && opErr.Err == syscall.ECONNRESET) { | <|file_sep|>original/3_5.go
"Sends invalid connection preface",
"The endpoint MUST terminate the TCP connection.",
func(ctx *Context) (expected []Result, actual Result) {
expected = []Result{
&ResultConnectionClose{},
}
tcpConn := CreateTcpConn(ctx)
defer tcpConn.conn.Close()
fmt.Fprintf(tcpConn.conn, "INVALID CONNECTION PREFACE")
timeCh := time.After(ctx.Timeout)
loop:
for {
select {
case <-tcpConn.dataCh:
break
case err := <-tcpConn.errCh:
opErr, ok := err.(*net.OpError)
if err == io.EOF || (ok && opErr.Err == syscall.ECONNRESET) {
<|file_sep|>current/3_5.go
"Sends invalid connection preface",
"The endpoint MUST terminate the TCP connection.",
func(ctx *Context) (expected []Result, actual Result) {
expected = []Result{
&ResultConnectionClose{},
}
tcpConn := CreateTcpConn(ctx)
defer tcpConn.conn.Close()
fmt.Fprintf(tcpConn.conn, "INVALID CONNECTION PREFACE")
timeCh := time.After(ctx.Timeout)
loop:
for {
select {
case <-tcpConn.dataCh:
break
case err := <-tcpConn.errCh:
opErr, ok := err.(*net.OpError)
if err == io.EOF || (ok && opErr.Err == syscall.ECONNRESET) {
<|file_sep|>updated/3_5.go
"Sends invalid connection preface",
"The endpoint MUST terminate the TCP connection.",
func(ctx *Context) (expected []Result, actual Result) {
expected = []Result{
&ResultConnectionClose{},
}
tcpConn := CreateTcpConn(ctx)
defer tcpConn.conn.Close()
fmt.Fprintf(tcpConn.conn, "INVALID CONNECTION PREFACE\r\n\r\n")
timeCh := time.After(ctx.Timeout)
loop:
for {
select {
case <-tcpConn.dataCh:
break
case err := <-tcpConn.errCh:
opErr, ok := err.(*net.OpError)
if err == io.EOF || (ok && opErr.Err == syscall.ECONNRESET) { | 3d78e31d70e89f16af82e0a0b82f802bbcb59f9a | 3_5.go | 3_5.go | Go |
<|file_sep|>original/.travis.yml
language: php
sudo: false
php:
- 5.6
- 7.0
- hhvm
env:
global:
- setup=basic
- coverage=no
before_script:
- travis_retry composer self-update
- composer config discard-changes true
- if [[ $setup = 'basic' ]]; then travis_retry composer install --prefer-dist --no-interaction; fi
- if [[ $setup = 'stable' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-stable; fi
- if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable; fi
- if [[ $setup = 'coveralls' ]]; then travis_retry composer require "satooshi/php-coveralls=~0.7" --prefer-dist --no-interaction --dev; fi
<|file_sep|>current/.travis.yml
language: php
sudo: false
php:
- 5.6
- 7.0
- hhvm
env:
global:
- setup=basic
- coverage=no
before_script:
- travis_retry composer self-update
- composer config discard-changes true
- if [[ $setup = 'basic' ]]; then travis_retry composer install --prefer-dist --no-interaction; fi
- if [[ $setup = 'stable' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-stable; fi
- if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable; fi
- if [[ $setup = 'coveralls' ]]; then travis_retry composer require "satooshi/php-coveralls=~0.7" --prefer-dist --no-interaction --dev; fi
<|file_sep|>updated/.travis.yml | language: php
sudo: false
php:
- 5.6
- 7.0
- 7.1
env:
global:
- setup=basic
- coverage=no
before_script:
- travis_retry composer self-update
- composer config discard-changes true
- if [[ $setup = 'basic' ]]; then travis_retry composer install --prefer-dist --no-interaction; fi
- if [[ $setup = 'stable' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-stable; fi
- if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable; fi
- if [[ $setup = 'coveralls' ]]; then travis_retry composer require "satooshi/php-coveralls=~0.7" --prefer-dist --no-interaction --dev; fi | <|file_sep|>original/.travis.yml
language: php
sudo: false
php:
- 5.6
- 7.0
- hhvm
env:
global:
- setup=basic
- coverage=no
before_script:
- travis_retry composer self-update
- composer config discard-changes true
- if [[ $setup = 'basic' ]]; then travis_retry composer install --prefer-dist --no-interaction; fi
- if [[ $setup = 'stable' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-stable; fi
- if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable; fi
- if [[ $setup = 'coveralls' ]]; then travis_retry composer require "satooshi/php-coveralls=~0.7" --prefer-dist --no-interaction --dev; fi
<|file_sep|>current/.travis.yml
language: php
sudo: false
php:
- 5.6
- 7.0
- hhvm
env:
global:
- setup=basic
- coverage=no
before_script:
- travis_retry composer self-update
- composer config discard-changes true
- if [[ $setup = 'basic' ]]; then travis_retry composer install --prefer-dist --no-interaction; fi
- if [[ $setup = 'stable' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-stable; fi
- if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable; fi
- if [[ $setup = 'coveralls' ]]; then travis_retry composer require "satooshi/php-coveralls=~0.7" --prefer-dist --no-interaction --dev; fi
<|file_sep|>updated/.travis.yml
language: php
sudo: false
php:
- 5.6
- 7.0
- 7.1
env:
global:
- setup=basic
- coverage=no
before_script:
- travis_retry composer self-update
- composer config discard-changes true
- if [[ $setup = 'basic' ]]; then travis_retry composer install --prefer-dist --no-interaction; fi
- if [[ $setup = 'stable' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-stable; fi
- if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable; fi
- if [[ $setup = 'coveralls' ]]; then travis_retry composer require "satooshi/php-coveralls=~0.7" --prefer-dist --no-interaction --dev; fi | 37c85d433babec590a00d9af0eed9bf2940a91eb | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/lib/media_wiki/exception.rb
# General exception occurred within MediaWiki::Gateway, and parent class for MediaWiki::APIError, MediaWiki::Unauthorized.
class Exception < Exception
end
# Wrapper for errors returned by MediaWiki API. Possible codes are defined in http://www.mediawiki.org/wiki/API:Errors_and_warnings.
#
# Warnings also throw errors with code 'warning', unless MediaWiki::Gateway#new was called with :ignorewarnings.
class APIError < MediaWiki::Exception
attr_reader :code, :info, :message
def initialize(code, info)
@code = code
@info = info
@message = "API error: code '#{code}', info '#{info}'"
end
end
# User is not authorized to perform this operation. Also thrown if MediaWiki::Gateway#login fails.
class Unauthorized < MediaWiki::Exception
end
end
<|file_sep|>current/lib/media_wiki/exception.rb
# General exception occurred within MediaWiki::Gateway, and parent class for MediaWiki::APIError, MediaWiki::Unauthorized.
class Exception < Exception
end
# Wrapper for errors returned by MediaWiki API. Possible codes are defined in http://www.mediawiki.org/wiki/API:Errors_and_warnings.
#
# Warnings also throw errors with code 'warning', unless MediaWiki::Gateway#new was called with :ignorewarnings.
class APIError < MediaWiki::Exception
attr_reader :code, :info, :message
def initialize(code, info)
@code = code
@info = info
@message = "API error: code '#{code}', info '#{info}'"
end
end
# User is not authorized to perform this operation. Also thrown if MediaWiki::Gateway#login fails.
class Unauthorized < MediaWiki::Exception
end
end
<|file_sep|>updated/lib/media_wiki/exception.rb | # Wrapper for errors returned by MediaWiki API. Possible codes are defined in http://www.mediawiki.org/wiki/API:Errors_and_warnings.
#
# Warnings also throw errors with code 'warning', unless MediaWiki::Gateway#new was called with :ignorewarnings.
class APIError < MediaWiki::Exception
attr_reader :code, :info, :message
def initialize(code, info)
@code = code
@info = info
@message = "API error: code '#{code}', info '#{info}'"
end
def to_s
"#{self.class.to_s}: #{@message}"
end
end
# User is not authorized to perform this operation. Also thrown if MediaWiki::Gateway#login fails.
class Unauthorized < MediaWiki::Exception
end
end | <|file_sep|>original/lib/media_wiki/exception.rb
# General exception occurred within MediaWiki::Gateway, and parent class for MediaWiki::APIError, MediaWiki::Unauthorized.
class Exception < Exception
end
# Wrapper for errors returned by MediaWiki API. Possible codes are defined in http://www.mediawiki.org/wiki/API:Errors_and_warnings.
#
# Warnings also throw errors with code 'warning', unless MediaWiki::Gateway#new was called with :ignorewarnings.
class APIError < MediaWiki::Exception
attr_reader :code, :info, :message
def initialize(code, info)
@code = code
@info = info
@message = "API error: code '#{code}', info '#{info}'"
end
end
# User is not authorized to perform this operation. Also thrown if MediaWiki::Gateway#login fails.
class Unauthorized < MediaWiki::Exception
end
end
<|file_sep|>current/lib/media_wiki/exception.rb
# General exception occurred within MediaWiki::Gateway, and parent class for MediaWiki::APIError, MediaWiki::Unauthorized.
class Exception < Exception
end
# Wrapper for errors returned by MediaWiki API. Possible codes are defined in http://www.mediawiki.org/wiki/API:Errors_and_warnings.
#
# Warnings also throw errors with code 'warning', unless MediaWiki::Gateway#new was called with :ignorewarnings.
class APIError < MediaWiki::Exception
attr_reader :code, :info, :message
def initialize(code, info)
@code = code
@info = info
@message = "API error: code '#{code}', info '#{info}'"
end
end
# User is not authorized to perform this operation. Also thrown if MediaWiki::Gateway#login fails.
class Unauthorized < MediaWiki::Exception
end
end
<|file_sep|>updated/lib/media_wiki/exception.rb
# Wrapper for errors returned by MediaWiki API. Possible codes are defined in http://www.mediawiki.org/wiki/API:Errors_and_warnings.
#
# Warnings also throw errors with code 'warning', unless MediaWiki::Gateway#new was called with :ignorewarnings.
class APIError < MediaWiki::Exception
attr_reader :code, :info, :message
def initialize(code, info)
@code = code
@info = info
@message = "API error: code '#{code}', info '#{info}'"
end
def to_s
"#{self.class.to_s}: #{@message}"
end
end
# User is not authorized to perform this operation. Also thrown if MediaWiki::Gateway#login fails.
class Unauthorized < MediaWiki::Exception
end
end | 24f5c67fe1c7146115a2fed72ca3a6e673e17b79 | lib/media_wiki/exception.rb | lib/media_wiki/exception.rb | Ruby |
<|file_sep|>original/rancher-config/rancher-compose.yml
version: '2'
services:
gp-finder-frontend:
scale: 1
start_on_create: true
health_check:
response_timeout: 5000
healthy_threshold: 2
port: 3000
unhealthy_threshold: 3
initializing_timeout: 60000
interval: 5000
strategy: recreate
request_line: GET "/" "HTTP/1.0"
reinitializing_timeout: 60000
<|file_sep|>current/rancher-config/rancher-compose.yml
version: '2'
services:
gp-finder-frontend:
scale: 1
start_on_create: true
health_check:
response_timeout: 5000
healthy_threshold: 2
port: 3000
unhealthy_threshold: 3
initializing_timeout: 60000
interval: 5000
strategy: recreate
request_line: GET "/" "HTTP/1.0"
reinitializing_timeout: 60000
<|file_sep|>updated/rancher-config/rancher-compose.yml | version: '2'
services:
gp-finder-frontend:
scale: $INITIAL_CONTAINER_SCALE
start_on_create: true
health_check:
response_timeout: 5000
healthy_threshold: 2
port: 3000
unhealthy_threshold: 3
initializing_timeout: 60000
interval: 5000
strategy: recreate
request_line: GET "/" "HTTP/1.0"
reinitializing_timeout: 60000 | <|file_sep|>original/rancher-config/rancher-compose.yml
version: '2'
services:
gp-finder-frontend:
scale: 1
start_on_create: true
health_check:
response_timeout: 5000
healthy_threshold: 2
port: 3000
unhealthy_threshold: 3
initializing_timeout: 60000
interval: 5000
strategy: recreate
request_line: GET "/" "HTTP/1.0"
reinitializing_timeout: 60000
<|file_sep|>current/rancher-config/rancher-compose.yml
version: '2'
services:
gp-finder-frontend:
scale: 1
start_on_create: true
health_check:
response_timeout: 5000
healthy_threshold: 2
port: 3000
unhealthy_threshold: 3
initializing_timeout: 60000
interval: 5000
strategy: recreate
request_line: GET "/" "HTTP/1.0"
reinitializing_timeout: 60000
<|file_sep|>updated/rancher-config/rancher-compose.yml
version: '2'
services:
gp-finder-frontend:
scale: $INITIAL_CONTAINER_SCALE
start_on_create: true
health_check:
response_timeout: 5000
healthy_threshold: 2
port: 3000
unhealthy_threshold: 3
initializing_timeout: 60000
interval: 5000
strategy: recreate
request_line: GET "/" "HTTP/1.0"
reinitializing_timeout: 60000 | 684b0c0e693bc9d3cb2e0e90f8256c657405982c | rancher-config/rancher-compose.yml | rancher-config/rancher-compose.yml | YAML |
<|file_sep|>original/src/pages/components/ConfigWarning.qml
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
import QtQuick 2.2
import Sailfish.Silica 1.0
ConfirmDialog {
property Item browserPage
//: Warning of changing browser configurations.
//% "Changing these advanced settings can cause issues with stability, security and performance of Sailfish Browser. Continue ?"
text: qsTrId("sailfish_browser-la-config-warning");
acceptDestinationAction: PageStackAction.Replace
acceptDestination: Component {
ConfigDialog {
// On accept pop back to browserPage
acceptDestination: browserPage
acceptDestinationAction: PageStackAction.Pop
}
}
}
<|file_sep|>current/src/pages/components/ConfigWarning.qml
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
import QtQuick 2.2
import Sailfish.Silica 1.0
ConfirmDialog {
property Item browserPage
//: Warning of changing browser configurations.
//% "Changing these advanced settings can cause issues with stability, security and performance of Sailfish Browser. Continue ?"
text: qsTrId("sailfish_browser-la-config-warning");
acceptDestinationAction: PageStackAction.Replace
acceptDestination: Component {
ConfigDialog {
// On accept pop back to browserPage
acceptDestination: browserPage
acceptDestinationAction: PageStackAction.Pop
}
}
}
<|file_sep|>updated/src/pages/components/ConfigWarning.qml | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
import QtQuick 2.2
import Sailfish.Silica 1.0
ConfirmDialog {
property Item browserPage
//: Warning of changing browser configurations.
//% "Changing these advanced settings can cause issues with stability, security and performance of Sailfish Browser. Continue ?"
text: qsTrId("sailfish_browser-la-config-warning");
acceptDestination: Component {
ConfigDialog {
// On accept pop back to browserPage
acceptDestination: browserPage
acceptDestinationAction: PageStackAction.Pop
}
}
} | <|file_sep|>original/src/pages/components/ConfigWarning.qml
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
import QtQuick 2.2
import Sailfish.Silica 1.0
ConfirmDialog {
property Item browserPage
//: Warning of changing browser configurations.
//% "Changing these advanced settings can cause issues with stability, security and performance of Sailfish Browser. Continue ?"
text: qsTrId("sailfish_browser-la-config-warning");
acceptDestinationAction: PageStackAction.Replace
acceptDestination: Component {
ConfigDialog {
// On accept pop back to browserPage
acceptDestination: browserPage
acceptDestinationAction: PageStackAction.Pop
}
}
}
<|file_sep|>current/src/pages/components/ConfigWarning.qml
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
import QtQuick 2.2
import Sailfish.Silica 1.0
ConfirmDialog {
property Item browserPage
//: Warning of changing browser configurations.
//% "Changing these advanced settings can cause issues with stability, security and performance of Sailfish Browser. Continue ?"
text: qsTrId("sailfish_browser-la-config-warning");
acceptDestinationAction: PageStackAction.Replace
acceptDestination: Component {
ConfigDialog {
// On accept pop back to browserPage
acceptDestination: browserPage
acceptDestinationAction: PageStackAction.Pop
}
}
}
<|file_sep|>updated/src/pages/components/ConfigWarning.qml
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
import QtQuick 2.2
import Sailfish.Silica 1.0
ConfirmDialog {
property Item browserPage
//: Warning of changing browser configurations.
//% "Changing these advanced settings can cause issues with stability, security and performance of Sailfish Browser. Continue ?"
text: qsTrId("sailfish_browser-la-config-warning");
acceptDestination: Component {
ConfigDialog {
// On accept pop back to browserPage
acceptDestination: browserPage
acceptDestinationAction: PageStackAction.Pop
}
}
} | 868a2c009aafad35d208166e86c39a614147c9ea | src/pages/components/ConfigWarning.qml | src/pages/components/ConfigWarning.qml | QML |
<|file_sep|>original/requirements/base.txt
bleach==4.1.0
Django==3.2.13 # pyup: < 3.3
django-allauth==0.50.0
django-autoslug==1.9.8
django-background-tasks==1.2.5
django-ckeditor==6.4.0
django-enumfield==2.0.2
django-filter==21.1
django-multiselectfield==0.1.12
django-widget-tweaks==1.4.12
djangorestframework==3.13.1
easy-thumbnails==2.8.1
html5lib==1.1
jsonfield==3.1.0
python-dateutil==2.8.2
python-magic==0.4.25
rules==3.3
XlsxWriter==3.0.3
<|file_sep|>current/requirements/base.txt
bleach==4.1.0
Django==3.2.13 # pyup: < 3.3
django-allauth==0.50.0
django-autoslug==1.9.8
django-background-tasks==1.2.5
django-ckeditor==6.4.0
django-enumfield==2.0.2
django-filter==21.1
django-multiselectfield==0.1.12
django-widget-tweaks==1.4.12
djangorestframework==3.13.1
easy-thumbnails==2.8.1
html5lib==1.1
jsonfield==3.1.0
python-dateutil==2.8.2
python-magic==0.4.25
rules==3.3
XlsxWriter==3.0.3
<|file_sep|>updated/requirements/base.txt | bleach==4.1.0
Django==3.2.13 # pyup: < 3.3
django-allauth==0.50.0
django-autoslug==1.9.8
django-background-tasks==1.2.5
django-ckeditor==6.4.1
django-enumfield==2.0.2
django-filter==21.1
django-multiselectfield==0.1.12
django-widget-tweaks==1.4.12
djangorestframework==3.13.1
easy-thumbnails==2.8.1
html5lib==1.1
jsonfield==3.1.0
python-dateutil==2.8.2
python-magic==0.4.25
rules==3.3
XlsxWriter==3.0.3 | <|file_sep|>original/requirements/base.txt
bleach==4.1.0
Django==3.2.13 # pyup: < 3.3
django-allauth==0.50.0
django-autoslug==1.9.8
django-background-tasks==1.2.5
django-ckeditor==6.4.0
django-enumfield==2.0.2
django-filter==21.1
django-multiselectfield==0.1.12
django-widget-tweaks==1.4.12
djangorestframework==3.13.1
easy-thumbnails==2.8.1
html5lib==1.1
jsonfield==3.1.0
python-dateutil==2.8.2
python-magic==0.4.25
rules==3.3
XlsxWriter==3.0.3
<|file_sep|>current/requirements/base.txt
bleach==4.1.0
Django==3.2.13 # pyup: < 3.3
django-allauth==0.50.0
django-autoslug==1.9.8
django-background-tasks==1.2.5
django-ckeditor==6.4.0
django-enumfield==2.0.2
django-filter==21.1
django-multiselectfield==0.1.12
django-widget-tweaks==1.4.12
djangorestframework==3.13.1
easy-thumbnails==2.8.1
html5lib==1.1
jsonfield==3.1.0
python-dateutil==2.8.2
python-magic==0.4.25
rules==3.3
XlsxWriter==3.0.3
<|file_sep|>updated/requirements/base.txt
bleach==4.1.0
Django==3.2.13 # pyup: < 3.3
django-allauth==0.50.0
django-autoslug==1.9.8
django-background-tasks==1.2.5
django-ckeditor==6.4.1
django-enumfield==2.0.2
django-filter==21.1
django-multiselectfield==0.1.12
django-widget-tweaks==1.4.12
djangorestframework==3.13.1
easy-thumbnails==2.8.1
html5lib==1.1
jsonfield==3.1.0
python-dateutil==2.8.2
python-magic==0.4.25
rules==3.3
XlsxWriter==3.0.3 | d631551db95817a8d93b5a8884e855dffbd774c3 | requirements/base.txt | requirements/base.txt | Text |
<|file_sep|>original/library/monitor/new_cond_spec.rb
<|file_sep|>current/library/monitor/new_cond_spec.rb
<|file_sep|>updated/library/monitor/new_cond_spec.rb | require_relative '../../spec_helper'
require 'monitor'
describe "Monitor#new_cond" do
it "creates a MonitorMixin::ConditoinVariable" do
m = Monitor.new
c = m.new_cond
c.class.should == MonitorMixin::ConditionVariable
end
it 'returns a condition variable which can be waited on by a thread holding the monitor' do
m = Monitor.new
c = m.new_cond
10.times do
locked = false
thread = Thread.new do
m.synchronize do
locked = true
c.wait | <|file_sep|>original/library/monitor/new_cond_spec.rb
<|file_sep|>current/library/monitor/new_cond_spec.rb
<|file_sep|>updated/library/monitor/new_cond_spec.rb
require_relative '../../spec_helper'
require 'monitor'
describe "Monitor#new_cond" do
it "creates a MonitorMixin::ConditoinVariable" do
m = Monitor.new
c = m.new_cond
c.class.should == MonitorMixin::ConditionVariable
end
it 'returns a condition variable which can be waited on by a thread holding the monitor' do
m = Monitor.new
c = m.new_cond
10.times do
locked = false
thread = Thread.new do
m.synchronize do
locked = true
c.wait | d1bc13d1ab8a2fe114e1cabc33892de37cd69b58 | library/monitor/new_cond_spec.rb | library/monitor/new_cond_spec.rb | Ruby |
<|file_sep|>app/app.php.diff
original:
'meta.service' => 'unnamed-service',
updated:
<|file_sep|>original/app/app.php
$startTime = microtime(true);
require_once __DIR__ . '/../vendor/autoload.php';
// This is the default config. See `deploy_config/README.md' for more info.
$config = array(
'debug' => true,
'timer.start' => $startTime,
'monolog.name' => 'silex-bootstrap',
'meta.service' => 'unnamed-service',
'monolog.level' => \Monolog\Logger::DEBUG,
'monolog.logfile' => __DIR__ . '/log/app.log',
'monolog.logstashfile' => __DIR__ . '/log/logstash.log',
'twig.path' => __DIR__ . '/../src/App/views',
'twig.options' => array(
'cache' => __DIR__ . '/cache/twig',
),
);
// Apply custom config if available
if (file_exists(__DIR__ . '/config.php')) {
include __DIR__ . '/config.php';
<|file_sep|>current/app/app.php
$startTime = microtime(true);
require_once __DIR__ . '/../vendor/autoload.php';
// This is the default config. See `deploy_config/README.md' for more info.
$config = array(
'debug' => true,
'timer.start' => $startTime,
'monolog.name' => 'silex-bootstrap',
'monolog.level' => \Monolog\Logger::DEBUG,
'monolog.logfile' => __DIR__ . '/log/app.log',
'monolog.logstashfile' => __DIR__ . '/log/logstash.log',
'twig.path' => __DIR__ . '/../src/App/views',
'twig.options' => array(
'cache' => __DIR__ . '/cache/twig',
),
);
// Apply custom config if available
if (file_exists(__DIR__ . '/config.php')) {
include __DIR__ . '/config.php';
}
<|file_sep|>updated/app/app.php | $startTime = microtime(true);
require_once __DIR__ . '/../vendor/autoload.php';
// This is the default config. See `deploy_config/README.md' for more info.
$config = array(
'debug' => true,
'timer.start' => $startTime,
'monolog.name' => 'silex-bootstrap',
'monolog.level' => \Monolog\Logger::DEBUG,
'monolog.logfile' => __DIR__ . '/log/app.log',
'twig.path' => __DIR__ . '/../src/App/views',
'twig.options' => array(
'cache' => __DIR__ . '/cache/twig',
),
);
// Apply custom config if available
if (file_exists(__DIR__ . '/config.php')) {
include __DIR__ . '/config.php';
}
| <|file_sep|>app/app.php.diff
original:
'meta.service' => 'unnamed-service',
updated:
<|file_sep|>original/app/app.php
$startTime = microtime(true);
require_once __DIR__ . '/../vendor/autoload.php';
// This is the default config. See `deploy_config/README.md' for more info.
$config = array(
'debug' => true,
'timer.start' => $startTime,
'monolog.name' => 'silex-bootstrap',
'meta.service' => 'unnamed-service',
'monolog.level' => \Monolog\Logger::DEBUG,
'monolog.logfile' => __DIR__ . '/log/app.log',
'monolog.logstashfile' => __DIR__ . '/log/logstash.log',
'twig.path' => __DIR__ . '/../src/App/views',
'twig.options' => array(
'cache' => __DIR__ . '/cache/twig',
),
);
// Apply custom config if available
if (file_exists(__DIR__ . '/config.php')) {
include __DIR__ . '/config.php';
<|file_sep|>current/app/app.php
$startTime = microtime(true);
require_once __DIR__ . '/../vendor/autoload.php';
// This is the default config. See `deploy_config/README.md' for more info.
$config = array(
'debug' => true,
'timer.start' => $startTime,
'monolog.name' => 'silex-bootstrap',
'monolog.level' => \Monolog\Logger::DEBUG,
'monolog.logfile' => __DIR__ . '/log/app.log',
'monolog.logstashfile' => __DIR__ . '/log/logstash.log',
'twig.path' => __DIR__ . '/../src/App/views',
'twig.options' => array(
'cache' => __DIR__ . '/cache/twig',
),
);
// Apply custom config if available
if (file_exists(__DIR__ . '/config.php')) {
include __DIR__ . '/config.php';
}
<|file_sep|>updated/app/app.php
$startTime = microtime(true);
require_once __DIR__ . '/../vendor/autoload.php';
// This is the default config. See `deploy_config/README.md' for more info.
$config = array(
'debug' => true,
'timer.start' => $startTime,
'monolog.name' => 'silex-bootstrap',
'monolog.level' => \Monolog\Logger::DEBUG,
'monolog.logfile' => __DIR__ . '/log/app.log',
'twig.path' => __DIR__ . '/../src/App/views',
'twig.options' => array(
'cache' => __DIR__ . '/cache/twig',
),
);
// Apply custom config if available
if (file_exists(__DIR__ . '/config.php')) {
include __DIR__ . '/config.php';
}
| 7cd8688b6e3f6a6c354023336b1dc7f4b0537e6c | app/app.php | app/app.php | PHP |
<|file_sep|>original/.kitchen.yml
suites:
- name: default
run_list:
- recipe[margarine]
attributes: {}
- name: tinge
run_list:
- recipe[margarine::tinge]
attributes: {}
- name: blend
run_list:
- recipe[margarine::blend]
attributes: {}
- name: spread
run_list:
- recipe[margarine::spread]
attributes: {}
<|file_sep|>current/.kitchen.yml
suites:
- name: default
run_list:
- recipe[margarine]
attributes: {}
- name: tinge
run_list:
- recipe[margarine::tinge]
attributes: {}
- name: blend
run_list:
- recipe[margarine::blend]
attributes: {}
- name: spread
run_list:
- recipe[margarine::spread]
attributes: {}
<|file_sep|>updated/.kitchen.yml | - name: default
run_list:
- recipe[margarine]
attributes: {}
- name: tinge
run_list:
- recipe[margarine::tinge]
attributes: {}
- name: tinge-nginx
run_list:
- recipe[margarine::tinge]
attributes:
margarine:
service:
proxy: nginx
- name: blend
run_list:
- recipe[margarine::blend] | <|file_sep|>original/.kitchen.yml
suites:
- name: default
run_list:
- recipe[margarine]
attributes: {}
- name: tinge
run_list:
- recipe[margarine::tinge]
attributes: {}
- name: blend
run_list:
- recipe[margarine::blend]
attributes: {}
- name: spread
run_list:
- recipe[margarine::spread]
attributes: {}
<|file_sep|>current/.kitchen.yml
suites:
- name: default
run_list:
- recipe[margarine]
attributes: {}
- name: tinge
run_list:
- recipe[margarine::tinge]
attributes: {}
- name: blend
run_list:
- recipe[margarine::blend]
attributes: {}
- name: spread
run_list:
- recipe[margarine::spread]
attributes: {}
<|file_sep|>updated/.kitchen.yml
- name: default
run_list:
- recipe[margarine]
attributes: {}
- name: tinge
run_list:
- recipe[margarine::tinge]
attributes: {}
- name: tinge-nginx
run_list:
- recipe[margarine::tinge]
attributes:
margarine:
service:
proxy: nginx
- name: blend
run_list:
- recipe[margarine::blend] | 68d226d0d4a1502713f8cf2c300d07c72060eb31 | .kitchen.yml | .kitchen.yml | YAML |
<|file_sep|>original/whelktool/scripts/cleanups/2021/03/lxl-3519-remove-marc-isPrivate-when-false.groovy
<|file_sep|>current/whelktool/scripts/cleanups/2021/03/lxl-3519-remove-marc-isPrivate-when-false.groovy
<|file_sep|>updated/whelktool/scripts/cleanups/2021/03/lxl-3519-remove-marc-isPrivate-when-false.groovy | String where = """
collection = 'bib'
AND data#>>'{@graph,1,marc:hasImmediateSourceOfAcquisitionNote}' LIKE '%\"marc:isPrivate\"%'
"""
selectBySqlWhere(where) { data ->
boolean modified
asList(data.graph[1]["marc:hasImmediateSourceOfAcquisitionNote"]).each { note ->
modified |= note.removeAll{ key, value ->
key == "marc:isPrivate" && value == false
}
}
if (modified) {
data.scheduleSave()
}
}
List asList(Object o) {
return o instanceof List ? o : [o] | <|file_sep|>original/whelktool/scripts/cleanups/2021/03/lxl-3519-remove-marc-isPrivate-when-false.groovy
<|file_sep|>current/whelktool/scripts/cleanups/2021/03/lxl-3519-remove-marc-isPrivate-when-false.groovy
<|file_sep|>updated/whelktool/scripts/cleanups/2021/03/lxl-3519-remove-marc-isPrivate-when-false.groovy
String where = """
collection = 'bib'
AND data#>>'{@graph,1,marc:hasImmediateSourceOfAcquisitionNote}' LIKE '%\"marc:isPrivate\"%'
"""
selectBySqlWhere(where) { data ->
boolean modified
asList(data.graph[1]["marc:hasImmediateSourceOfAcquisitionNote"]).each { note ->
modified |= note.removeAll{ key, value ->
key == "marc:isPrivate" && value == false
}
}
if (modified) {
data.scheduleSave()
}
}
List asList(Object o) {
return o instanceof List ? o : [o] | 7c7d526c57d2b1d4022bd1494a23573ac360bc14 | whelktool/scripts/cleanups/2021/03/lxl-3519-remove-marc-isPrivate-when-false.groovy | whelktool/scripts/cleanups/2021/03/lxl-3519-remove-marc-isPrivate-when-false.groovy | Groovy |
<|file_sep|>original/bin/cm.php
#!/usr/bin/env php
<?php
require_once dirname(__DIR__) . '/vendor/autoload.php';
$bootloader = new CM_Bootloader(dirname(__DIR__) . '/');
$bootloader->load();
$manager = new CM_Cli_CommandManager();
$manager->autoloadCommands();
$returnCode = $manager->run(new CM_Cli_Arguments($argv));
exit($returnCode);
<|file_sep|>current/bin/cm.php
#!/usr/bin/env php
<?php
require_once dirname(__DIR__) . '/vendor/autoload.php';
$bootloader = new CM_Bootloader(dirname(__DIR__) . '/');
$bootloader->load();
$manager = new CM_Cli_CommandManager();
$manager->autoloadCommands();
$returnCode = $manager->run(new CM_Cli_Arguments($argv));
exit($returnCode);
<|file_sep|>updated/bin/cm.php | #!/usr/bin/env php
<?php
function includeIfExists($file) {
return file_exists($file) && include $file;
}
if (!includeIfExists(__DIR__.'/../vendor/autoload.php') && !includeIfExists(__DIR__.'/../../../autoload.php')) {
die('Please install project dependencies with `composer install`.' . PHP_EOL);
}
$bootloader = new CM_Bootloader(dirname(__DIR__) . '/');
$bootloader->load();
$manager = new CM_Cli_CommandManager();
$manager->autoloadCommands();
$returnCode = $manager->run(new CM_Cli_Arguments($argv));
exit($returnCode); | <|file_sep|>original/bin/cm.php
#!/usr/bin/env php
<?php
require_once dirname(__DIR__) . '/vendor/autoload.php';
$bootloader = new CM_Bootloader(dirname(__DIR__) . '/');
$bootloader->load();
$manager = new CM_Cli_CommandManager();
$manager->autoloadCommands();
$returnCode = $manager->run(new CM_Cli_Arguments($argv));
exit($returnCode);
<|file_sep|>current/bin/cm.php
#!/usr/bin/env php
<?php
require_once dirname(__DIR__) . '/vendor/autoload.php';
$bootloader = new CM_Bootloader(dirname(__DIR__) . '/');
$bootloader->load();
$manager = new CM_Cli_CommandManager();
$manager->autoloadCommands();
$returnCode = $manager->run(new CM_Cli_Arguments($argv));
exit($returnCode);
<|file_sep|>updated/bin/cm.php
#!/usr/bin/env php
<?php
function includeIfExists($file) {
return file_exists($file) && include $file;
}
if (!includeIfExists(__DIR__.'/../vendor/autoload.php') && !includeIfExists(__DIR__.'/../../../autoload.php')) {
die('Please install project dependencies with `composer install`.' . PHP_EOL);
}
$bootloader = new CM_Bootloader(dirname(__DIR__) . '/');
$bootloader->load();
$manager = new CM_Cli_CommandManager();
$manager->autoloadCommands();
$returnCode = $manager->run(new CM_Cli_Arguments($argv));
exit($returnCode); | 66a3954be401976be42d7d312a983533e1a8451e | bin/cm.php | bin/cm.php | PHP |
<|file_sep|>original/glitter/assets/apps.py
# -*- coding: utf-8 -*-
from django.apps import AppConfig
class GlitterBasicAssetsConfig(AppConfig):
name = 'glitter.assets'
label = 'glitter_assets'
def ready(self):
super(GlitterBasicAssetsConfig, self).ready()
from . import listeners # noqa
<|file_sep|>current/glitter/assets/apps.py
# -*- coding: utf-8 -*-
from django.apps import AppConfig
class GlitterBasicAssetsConfig(AppConfig):
name = 'glitter.assets'
label = 'glitter_assets'
def ready(self):
super(GlitterBasicAssetsConfig, self).ready()
from . import listeners # noqa
<|file_sep|>updated/glitter/assets/apps.py | # -*- coding: utf-8 -*-
from django.apps import AppConfig
class GlitterBasicAssetsConfig(AppConfig):
name = 'glitter.assets'
label = 'glitter_assets'
verbose_name = 'Assets'
def ready(self):
super(GlitterBasicAssetsConfig, self).ready()
from . import listeners # noqa | <|file_sep|>original/glitter/assets/apps.py
# -*- coding: utf-8 -*-
from django.apps import AppConfig
class GlitterBasicAssetsConfig(AppConfig):
name = 'glitter.assets'
label = 'glitter_assets'
def ready(self):
super(GlitterBasicAssetsConfig, self).ready()
from . import listeners # noqa
<|file_sep|>current/glitter/assets/apps.py
# -*- coding: utf-8 -*-
from django.apps import AppConfig
class GlitterBasicAssetsConfig(AppConfig):
name = 'glitter.assets'
label = 'glitter_assets'
def ready(self):
super(GlitterBasicAssetsConfig, self).ready()
from . import listeners # noqa
<|file_sep|>updated/glitter/assets/apps.py
# -*- coding: utf-8 -*-
from django.apps import AppConfig
class GlitterBasicAssetsConfig(AppConfig):
name = 'glitter.assets'
label = 'glitter_assets'
verbose_name = 'Assets'
def ready(self):
super(GlitterBasicAssetsConfig, self).ready()
from . import listeners # noqa | 962f26299a7038879eb1efeb8f16b0801fd9a04a | glitter/assets/apps.py | glitter/assets/apps.py | Python |
<|file_sep|>original/spec/helpers/application_helper/buttons/db_delete_sepc.rb
<|file_sep|>current/spec/helpers/application_helper/buttons/db_delete_sepc.rb
<|file_sep|>updated/spec/helpers/application_helper/buttons/db_delete_sepc.rb | describe ApplicationHelper::Button::DbDelete do
let(:view_context) { setup_view_context_with_sandbox({}) }
let(:dashboard) { FactoryGirl.create(:miq_widget_set, :read_only => read_only) }
let(:button) { described_class.new(view_context, {}, {'db' => dashboard}, {}) }
describe '#calculate_properties' do
before { button.calculate_properties }
context 'when dashboard is read-only' do
let(:read_only) { true }
it_behaves_like 'a disabled button', 'Default Dashboard cannot be deleted'
end
context 'when dashboard is writable' do
let(:read_only) { false }
it_behaves_like 'an enabled button'
end
end
end | <|file_sep|>original/spec/helpers/application_helper/buttons/db_delete_sepc.rb
<|file_sep|>current/spec/helpers/application_helper/buttons/db_delete_sepc.rb
<|file_sep|>updated/spec/helpers/application_helper/buttons/db_delete_sepc.rb
describe ApplicationHelper::Button::DbDelete do
let(:view_context) { setup_view_context_with_sandbox({}) }
let(:dashboard) { FactoryGirl.create(:miq_widget_set, :read_only => read_only) }
let(:button) { described_class.new(view_context, {}, {'db' => dashboard}, {}) }
describe '#calculate_properties' do
before { button.calculate_properties }
context 'when dashboard is read-only' do
let(:read_only) { true }
it_behaves_like 'a disabled button', 'Default Dashboard cannot be deleted'
end
context 'when dashboard is writable' do
let(:read_only) { false }
it_behaves_like 'an enabled button'
end
end
end | 521d32433bdf36ea670c85817c2caa7840f1e7b5 | spec/helpers/application_helper/buttons/db_delete_sepc.rb | spec/helpers/application_helper/buttons/db_delete_sepc.rb | Ruby |
<|file_sep|>original/src/shared/buxtonkey.h
<|file_sep|>current/src/shared/buxtonkey.h
<|file_sep|>updated/src/shared/buxtonkey.h | /*
* This file is part of buxton.
*
* Copyright (C) 2013 Intel Corporation
*
* buxton is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1
* of the License, or (at your option) any later version.
*/
#pragma once
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "buxton.h"
#include "buxtonstring.h"
/** | <|file_sep|>original/src/shared/buxtonkey.h
<|file_sep|>current/src/shared/buxtonkey.h
<|file_sep|>updated/src/shared/buxtonkey.h
/*
* This file is part of buxton.
*
* Copyright (C) 2013 Intel Corporation
*
* buxton is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1
* of the License, or (at your option) any later version.
*/
#pragma once
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "buxton.h"
#include "buxtonstring.h"
/** | f94601e977ea6bf7c466e30d62cce8f05d9973fd | src/shared/buxtonkey.h | src/shared/buxtonkey.h | C |
<|file_sep|>test/svg-test-helper.js.diff
original:
const SvgTestHelper = {
updated:
const expectations = {
<|file_sep|>original/test/svg-test-helper.js
const SvgTestHelper = {
expectIsRectangular(wrapper) {
expect(exhibitsShapeSequence(wrapper, RECTANGULAR_SEQUENCE)).to.be.true;
},
expectIsCircular(wrapper) {
expect(exhibitsShapeSequence(wrapper, CIRCULAR_SEQUENCE)).to.be.true;
}
};
function exhibitsShapeSequence(wrapper, shapeSequence) {
const commands = getPathCommandsFromWrapper(wrapper);
return commands.every((command, index) => {
return command.name === shapeSequence[index];
});
}
function getPathCommandsFromWrapper(wrapper) {
const commandStr = $(wrapper.html()).attr("d");
return parseSvgPathCommands(commandStr);
}
<|file_sep|>current/test/svg-test-helper.js
const expectations = {
expectIsRectangular(wrapper) {
expect(exhibitsShapeSequence(wrapper, RECTANGULAR_SEQUENCE)).to.be.true;
},
expectIsCircular(wrapper) {
expect(exhibitsShapeSequence(wrapper, CIRCULAR_SEQUENCE)).to.be.true;
}
};
function exhibitsShapeSequence(wrapper, shapeSequence) {
const commands = getPathCommandsFromWrapper(wrapper);
return commands.every((command, index) => {
return command.name === shapeSequence[index];
});
}
function getPathCommandsFromWrapper(wrapper) {
const commandStr = $(wrapper.html()).attr("d");
return parseSvgPathCommands(commandStr);
}
<|file_sep|>updated/test/svg-test-helper.js | const expectations = {
expectIsRectangular(wrapper) {
expect(exhibitsShapeSequence(wrapper, RECTANGULAR_SEQUENCE)).to.be.true;
},
expectIsCircular(wrapper) {
expect(exhibitsShapeSequence(wrapper, CIRCULAR_SEQUENCE)).to.be.true;
}
};
const helpers = {
getBarHeight(wrapper) {
expectations.expectIsRectangular(wrapper);
const commands = getPathCommandsFromWrapper(wrapper);
return Math.abs(commands[0].args[1] - commands[1].args[1]);
}
};
const SvgTestHelper = Object.assign({}, expectations, helpers);
function exhibitsShapeSequence(wrapper, shapeSequence) { | <|file_sep|>test/svg-test-helper.js.diff
original:
const SvgTestHelper = {
updated:
const expectations = {
<|file_sep|>original/test/svg-test-helper.js
const SvgTestHelper = {
expectIsRectangular(wrapper) {
expect(exhibitsShapeSequence(wrapper, RECTANGULAR_SEQUENCE)).to.be.true;
},
expectIsCircular(wrapper) {
expect(exhibitsShapeSequence(wrapper, CIRCULAR_SEQUENCE)).to.be.true;
}
};
function exhibitsShapeSequence(wrapper, shapeSequence) {
const commands = getPathCommandsFromWrapper(wrapper);
return commands.every((command, index) => {
return command.name === shapeSequence[index];
});
}
function getPathCommandsFromWrapper(wrapper) {
const commandStr = $(wrapper.html()).attr("d");
return parseSvgPathCommands(commandStr);
}
<|file_sep|>current/test/svg-test-helper.js
const expectations = {
expectIsRectangular(wrapper) {
expect(exhibitsShapeSequence(wrapper, RECTANGULAR_SEQUENCE)).to.be.true;
},
expectIsCircular(wrapper) {
expect(exhibitsShapeSequence(wrapper, CIRCULAR_SEQUENCE)).to.be.true;
}
};
function exhibitsShapeSequence(wrapper, shapeSequence) {
const commands = getPathCommandsFromWrapper(wrapper);
return commands.every((command, index) => {
return command.name === shapeSequence[index];
});
}
function getPathCommandsFromWrapper(wrapper) {
const commandStr = $(wrapper.html()).attr("d");
return parseSvgPathCommands(commandStr);
}
<|file_sep|>updated/test/svg-test-helper.js
const expectations = {
expectIsRectangular(wrapper) {
expect(exhibitsShapeSequence(wrapper, RECTANGULAR_SEQUENCE)).to.be.true;
},
expectIsCircular(wrapper) {
expect(exhibitsShapeSequence(wrapper, CIRCULAR_SEQUENCE)).to.be.true;
}
};
const helpers = {
getBarHeight(wrapper) {
expectations.expectIsRectangular(wrapper);
const commands = getPathCommandsFromWrapper(wrapper);
return Math.abs(commands[0].args[1] - commands[1].args[1]);
}
};
const SvgTestHelper = Object.assign({}, expectations, helpers);
function exhibitsShapeSequence(wrapper, shapeSequence) { | 665337b8ea125f179f58e9ffd4cee4e1f5272743 | test/svg-test-helper.js | test/svg-test-helper.js | JavaScript |
<|file_sep|>lib/editor.js.diff
original:
updated:
import Path from 'path'
<|file_sep|>lib/editor.js.diff
original:
import {aggressiveDebounce} from './helpers'
updated:
import {getGrammarByName} from './helpers'
<|file_sep|>lib/editor.js.diff
original:
updated:
javascript: boolean;
<|file_sep|>lib/editor.js.diff
original:
updated:
this.liveReload = false
<|file_sep|>lib/editor.js.diff
original:
this.liveReload = false
updated:
this.javascript = Path.extname(textEditor.getPath()) === '.js'
<|file_sep|>original/lib/editor.js
this.subscriptions.add(this.emitter)
this.subscriptions.add(atom.config.observe('flint.liveReload', liveReload => {
this.liveReload = liveReload
}))
this.subscriptions.add(textEditor.onDidDestroy(() => {
this.dispose()
}))
}
getConnection(): ?Connection {
return this.connection
}
setConnection(connection: Connection) {
this.connection = connection
}
onDidDestroy(callback: (() => void)): Disposable {
return this.emitter.on('did-destroy', callback)
}
dispose() {
this.emitter.emit('did-destroy')
this.subscriptions.dispose()
this.connection = null
<|file_sep|>current/lib/editor.js
this.connection = null
this.javascript = Path.extname(textEditor.getPath()) === '.js'
this.subscriptions.add(this.emitter)
this.subscriptions.add(atom.config.observe('flint.liveReload', liveReload => {
this.liveReload = liveReload
}))
this.subscriptions.add(textEditor.onDidDestroy(() => {
this.dispose()
}))
}
getConnection(): ?Connection {
return this.connection
}
setConnection(connection: Connection) {
this.connection = connection
}
onDidDestroy(callback: (() => void)): Disposable {
return this.emitter.on('did-destroy', callback)
}
dispose() {
<|file_sep|>updated/lib/editor.js | this.connection = null
this.javascript = Path.extname(textEditor.getPath()) === '.js'
this.subscriptions.add(this.emitter)
this.subscriptions.add(atom.config.observe('flint.liveReload', liveReload => {
this.liveReload = liveReload
}))
this.subscriptions.add(textEditor.onDidDestroy(() => {
this.dispose()
}))
if (this.javascript) {
// Setting it to NaN so it's neither true nor false
let hasFlintGrammar = NaN
this.subscriptions.add(textEditor.onDidStopChanging(function() {
let shouldHaveFlintGrammar = textEditor.getText().indexOf('view ') !== -1
if (hasFlintGrammar !== shouldHaveFlintGrammar) {
textEditor.setGrammar((shouldHaveFlintGrammar && getGrammarByName('source.js.flint')) || getGrammarByName('source.js.jsx') || getGrammarByName('source.js'))
hasFlintGrammar = shouldHaveFlintGrammar
}
})) | <|file_sep|>lib/editor.js.diff
original:
updated:
import Path from 'path'
<|file_sep|>lib/editor.js.diff
original:
import {aggressiveDebounce} from './helpers'
updated:
import {getGrammarByName} from './helpers'
<|file_sep|>lib/editor.js.diff
original:
updated:
javascript: boolean;
<|file_sep|>lib/editor.js.diff
original:
updated:
this.liveReload = false
<|file_sep|>lib/editor.js.diff
original:
this.liveReload = false
updated:
this.javascript = Path.extname(textEditor.getPath()) === '.js'
<|file_sep|>original/lib/editor.js
this.subscriptions.add(this.emitter)
this.subscriptions.add(atom.config.observe('flint.liveReload', liveReload => {
this.liveReload = liveReload
}))
this.subscriptions.add(textEditor.onDidDestroy(() => {
this.dispose()
}))
}
getConnection(): ?Connection {
return this.connection
}
setConnection(connection: Connection) {
this.connection = connection
}
onDidDestroy(callback: (() => void)): Disposable {
return this.emitter.on('did-destroy', callback)
}
dispose() {
this.emitter.emit('did-destroy')
this.subscriptions.dispose()
this.connection = null
<|file_sep|>current/lib/editor.js
this.connection = null
this.javascript = Path.extname(textEditor.getPath()) === '.js'
this.subscriptions.add(this.emitter)
this.subscriptions.add(atom.config.observe('flint.liveReload', liveReload => {
this.liveReload = liveReload
}))
this.subscriptions.add(textEditor.onDidDestroy(() => {
this.dispose()
}))
}
getConnection(): ?Connection {
return this.connection
}
setConnection(connection: Connection) {
this.connection = connection
}
onDidDestroy(callback: (() => void)): Disposable {
return this.emitter.on('did-destroy', callback)
}
dispose() {
<|file_sep|>updated/lib/editor.js
this.connection = null
this.javascript = Path.extname(textEditor.getPath()) === '.js'
this.subscriptions.add(this.emitter)
this.subscriptions.add(atom.config.observe('flint.liveReload', liveReload => {
this.liveReload = liveReload
}))
this.subscriptions.add(textEditor.onDidDestroy(() => {
this.dispose()
}))
if (this.javascript) {
// Setting it to NaN so it's neither true nor false
let hasFlintGrammar = NaN
this.subscriptions.add(textEditor.onDidStopChanging(function() {
let shouldHaveFlintGrammar = textEditor.getText().indexOf('view ') !== -1
if (hasFlintGrammar !== shouldHaveFlintGrammar) {
textEditor.setGrammar((shouldHaveFlintGrammar && getGrammarByName('source.js.flint')) || getGrammarByName('source.js.jsx') || getGrammarByName('source.js'))
hasFlintGrammar = shouldHaveFlintGrammar
}
})) | 33dc4a4e3c394b13dea72a935799564539903b80 | lib/editor.js | lib/editor.js | JavaScript |
<|file_sep|>original/lib/puppet/provider/runtime_fail/default.rb
Puppet::Type.type(:runtime_fail).provide(
:default,
) do
def ready
if resource[:fail]
fail(resource[:message])
end
end
def ready=(val)
# do nothing
end
end
<|file_sep|>current/lib/puppet/provider/runtime_fail/default.rb
Puppet::Type.type(:runtime_fail).provide(
:default,
) do
def ready
if resource[:fail]
fail(resource[:message])
end
end
def ready=(val)
# do nothing
end
end
<|file_sep|>updated/lib/puppet/provider/runtime_fail/default.rb | Puppet::Type.type(:runtime_fail).provide(
:default,
) do
def ready
if resource[:fail]
fail(resource[:message])
end
true
end
def ready=(val)
# do nothing
end
end | <|file_sep|>original/lib/puppet/provider/runtime_fail/default.rb
Puppet::Type.type(:runtime_fail).provide(
:default,
) do
def ready
if resource[:fail]
fail(resource[:message])
end
end
def ready=(val)
# do nothing
end
end
<|file_sep|>current/lib/puppet/provider/runtime_fail/default.rb
Puppet::Type.type(:runtime_fail).provide(
:default,
) do
def ready
if resource[:fail]
fail(resource[:message])
end
end
def ready=(val)
# do nothing
end
end
<|file_sep|>updated/lib/puppet/provider/runtime_fail/default.rb
Puppet::Type.type(:runtime_fail).provide(
:default,
) do
def ready
if resource[:fail]
fail(resource[:message])
end
true
end
def ready=(val)
# do nothing
end
end | 34ac88bf07eda9a44d1014300eea5eb811213acb | lib/puppet/provider/runtime_fail/default.rb | lib/puppet/provider/runtime_fail/default.rb | Ruby |
<|file_sep|>original/docker_sql_express.ps1
<|file_sep|>current/docker_sql_express.ps1
<|file_sep|>updated/docker_sql_express.ps1 | IF ($(docker ps -aq).Length -gt 0) {
docker stop $(docker ps -aq)
docker rm $(docker ps -aq)
}
Write-Host "Starting docker container..."
$container_id = docker run -d -p 1433:1433 -e sa_password=G!a7eZZM -e ACCEPT_EULA=Y microsoft/mssql-server-windows-express
Start-Sleep -Seconds 30
docker exec $container_id sqlcmd -q "CREATE LOGIN akkadotnet with password='akkadotnet', CHECK_POLICY=OFF; ALTER SERVER ROLE dbcreator ADD MEMBER akkadotnet;"
$env:container_ip = docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $container_id
$env:container_ip | <|file_sep|>original/docker_sql_express.ps1
<|file_sep|>current/docker_sql_express.ps1
<|file_sep|>updated/docker_sql_express.ps1
IF ($(docker ps -aq).Length -gt 0) {
docker stop $(docker ps -aq)
docker rm $(docker ps -aq)
}
Write-Host "Starting docker container..."
$container_id = docker run -d -p 1433:1433 -e sa_password=G!a7eZZM -e ACCEPT_EULA=Y microsoft/mssql-server-windows-express
Start-Sleep -Seconds 30
docker exec $container_id sqlcmd -q "CREATE LOGIN akkadotnet with password='akkadotnet', CHECK_POLICY=OFF; ALTER SERVER ROLE dbcreator ADD MEMBER akkadotnet;"
$env:container_ip = docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $container_id
$env:container_ip | 9e7a00545cb54a2417562a32d5a308ca99191c05 | docker_sql_express.ps1 | docker_sql_express.ps1 | PowerShell |
<|file_sep|>src/main/java/edu/cwru/sicu_sms/TemporalPlot.java.diff
original:
updated:
import javafx.fxml.FXML;
import javafx.scene.chart.LineChart;
<|file_sep|>original/src/main/java/edu/cwru/sicu_sms/TemporalPlot.java
** SICU Stress Measurement System **
** Project P04 | C380 Team A **
** EBME 380: Biomedical Engineering Design Experience **
** Case Western Reserve University **
** 2016 Fall Semester **
\* */
package edu.cwru.sicu_sms;
/**
* This class is delegated to managing the "Channel Data" plot in the front-end program.
*
* @since December 5, 2016
* @author Ted Frohlich <ttf10@case.edu>
* @author Abby Walker <amw138@case.edu>
*/
class TemporalPlot {
}
<|file_sep|>current/src/main/java/edu/cwru/sicu_sms/TemporalPlot.java
** Case Western Reserve University **
** 2016 Fall Semester **
\* */
package edu.cwru.sicu_sms;
import javafx.fxml.FXML;
import javafx.scene.chart.LineChart;
/**
* This class is delegated to managing the "Channel Data" plot in the front-end program.
*
* @since December 5, 2016
* @author Ted Frohlich <ttf10@case.edu>
* @author Abby Walker <amw138@case.edu>
*/
class TemporalPlot {
}
<|file_sep|>updated/src/main/java/edu/cwru/sicu_sms/TemporalPlot.java | ** Case Western Reserve University **
** 2016 Fall Semester **
\* */
package edu.cwru.sicu_sms;
import javafx.fxml.FXML;
import javafx.scene.chart.LineChart;
/**
* This class is delegated to managing the "Channel Data" plot in the front-end program.
*
* @since December 5, 2016
* @author Ted Frohlich <ttf10@case.edu>
* @author Abby Walker <amw138@case.edu>
*/
class TemporalPlot {
@FXML LineChart temporalChart;
} | <|file_sep|>src/main/java/edu/cwru/sicu_sms/TemporalPlot.java.diff
original:
updated:
import javafx.fxml.FXML;
import javafx.scene.chart.LineChart;
<|file_sep|>original/src/main/java/edu/cwru/sicu_sms/TemporalPlot.java
** SICU Stress Measurement System **
** Project P04 | C380 Team A **
** EBME 380: Biomedical Engineering Design Experience **
** Case Western Reserve University **
** 2016 Fall Semester **
\* */
package edu.cwru.sicu_sms;
/**
* This class is delegated to managing the "Channel Data" plot in the front-end program.
*
* @since December 5, 2016
* @author Ted Frohlich <ttf10@case.edu>
* @author Abby Walker <amw138@case.edu>
*/
class TemporalPlot {
}
<|file_sep|>current/src/main/java/edu/cwru/sicu_sms/TemporalPlot.java
** Case Western Reserve University **
** 2016 Fall Semester **
\* */
package edu.cwru.sicu_sms;
import javafx.fxml.FXML;
import javafx.scene.chart.LineChart;
/**
* This class is delegated to managing the "Channel Data" plot in the front-end program.
*
* @since December 5, 2016
* @author Ted Frohlich <ttf10@case.edu>
* @author Abby Walker <amw138@case.edu>
*/
class TemporalPlot {
}
<|file_sep|>updated/src/main/java/edu/cwru/sicu_sms/TemporalPlot.java
** Case Western Reserve University **
** 2016 Fall Semester **
\* */
package edu.cwru.sicu_sms;
import javafx.fxml.FXML;
import javafx.scene.chart.LineChart;
/**
* This class is delegated to managing the "Channel Data" plot in the front-end program.
*
* @since December 5, 2016
* @author Ted Frohlich <ttf10@case.edu>
* @author Abby Walker <amw138@case.edu>
*/
class TemporalPlot {
@FXML LineChart temporalChart;
} | eac95dda71d81dfefbf99364ae448def49714cc1 | src/main/java/edu/cwru/sicu_sms/TemporalPlot.java | src/main/java/edu/cwru/sicu_sms/TemporalPlot.java | Java |
<|file_sep|>original/dev-requirements.txt
mypy-lang==0.4.6
pytest==3.0.7
pytest-cov==2.4.0
pytest-asyncio==0.5.0
jedi==0.10.2
coverage==4.3.4
pylint==1.7.0
typed-ast==1.0.3
alembic==0.9.1
<|file_sep|>current/dev-requirements.txt
mypy-lang==0.4.6
pytest==3.0.7
pytest-cov==2.4.0
pytest-asyncio==0.5.0
jedi==0.10.2
coverage==4.3.4
pylint==1.7.0
typed-ast==1.0.3
alembic==0.9.1
<|file_sep|>updated/dev-requirements.txt | mypy-lang==0.4.6
pytest==3.0.7
pytest-cov==2.4.0
pytest-asyncio==0.5.0
jedi==0.10.2
coverage==4.3.4
pylint==1.7.1
typed-ast==1.0.3
alembic==0.9.1 | <|file_sep|>original/dev-requirements.txt
mypy-lang==0.4.6
pytest==3.0.7
pytest-cov==2.4.0
pytest-asyncio==0.5.0
jedi==0.10.2
coverage==4.3.4
pylint==1.7.0
typed-ast==1.0.3
alembic==0.9.1
<|file_sep|>current/dev-requirements.txt
mypy-lang==0.4.6
pytest==3.0.7
pytest-cov==2.4.0
pytest-asyncio==0.5.0
jedi==0.10.2
coverage==4.3.4
pylint==1.7.0
typed-ast==1.0.3
alembic==0.9.1
<|file_sep|>updated/dev-requirements.txt
mypy-lang==0.4.6
pytest==3.0.7
pytest-cov==2.4.0
pytest-asyncio==0.5.0
jedi==0.10.2
coverage==4.3.4
pylint==1.7.1
typed-ast==1.0.3
alembic==0.9.1 | 73c5da5d925202c82182b971297b8814ac96d8ba | dev-requirements.txt | dev-requirements.txt | Text |
<|file_sep|>assets/template/single.php.diff
original:
updated:
<?php
$google_review = get_post_meta( $post->ID, 're-google-review-google-place-id', true );
?>
<|file_sep|>original/assets/template/single.php
<?php
/**
* Single Re Google Review
*
* @package Google Review
*/
?>
<?php get_header(); ?>
<div class="open-review">
<h2>Use <span>Google</span><br>to leave your review?</h2>
<a href="http://search.google.com/local/writereview?placeid=<?php the_title(); ?>" class="button">Yes</a>
</div>
<?php get_footer(); ?>
<|file_sep|>current/assets/template/single.php
<?php
/**
* Single Re Google Review
*
* @package Google Review
*/
?>
<?php get_header(); ?>
<?php
$google_review = get_post_meta( $post->ID, 're-google-review-google-place-id', true );
?>
<div class="open-review">
<h2>Use <span>Google</span><br>to leave your review?</h2>
<a href="http://search.google.com/local/writereview?placeid=<?php the_title(); ?>" class="button">Yes</a>
</div>
<?php get_footer(); ?>
<|file_sep|>updated/assets/template/single.php | <?php
/**
* Single Re Google Review
*
* @package Google Review
*/
?>
<?php get_header(); ?>
<?php
$google_review = get_post_meta( $post->ID, 're-google-review-google-place-id', true );
?>
<div class="open-review">
<h2>Use <span>Google</span><br>to leave your review?</h2>
<a href="http://search.google.com/local/writereview?placeid=<?php echo esc_html( $google_review ); ?>" class="button">Yes</a>
</div>
<?php get_footer(); ?> | <|file_sep|>assets/template/single.php.diff
original:
updated:
<?php
$google_review = get_post_meta( $post->ID, 're-google-review-google-place-id', true );
?>
<|file_sep|>original/assets/template/single.php
<?php
/**
* Single Re Google Review
*
* @package Google Review
*/
?>
<?php get_header(); ?>
<div class="open-review">
<h2>Use <span>Google</span><br>to leave your review?</h2>
<a href="http://search.google.com/local/writereview?placeid=<?php the_title(); ?>" class="button">Yes</a>
</div>
<?php get_footer(); ?>
<|file_sep|>current/assets/template/single.php
<?php
/**
* Single Re Google Review
*
* @package Google Review
*/
?>
<?php get_header(); ?>
<?php
$google_review = get_post_meta( $post->ID, 're-google-review-google-place-id', true );
?>
<div class="open-review">
<h2>Use <span>Google</span><br>to leave your review?</h2>
<a href="http://search.google.com/local/writereview?placeid=<?php the_title(); ?>" class="button">Yes</a>
</div>
<?php get_footer(); ?>
<|file_sep|>updated/assets/template/single.php
<?php
/**
* Single Re Google Review
*
* @package Google Review
*/
?>
<?php get_header(); ?>
<?php
$google_review = get_post_meta( $post->ID, 're-google-review-google-place-id', true );
?>
<div class="open-review">
<h2>Use <span>Google</span><br>to leave your review?</h2>
<a href="http://search.google.com/local/writereview?placeid=<?php echo esc_html( $google_review ); ?>" class="button">Yes</a>
</div>
<?php get_footer(); ?> | 0b827758042f0f9716662b7cea9644a07c308866 | assets/template/single.php | assets/template/single.php | PHP |
<|file_sep|>original/app/view/hatena_star_view.rb
module HBFav2
class HatenaStarView < UIImageView
@@blank_image = UIImage.imageNamed('blank')
@@is_retina = UIScreen.mainScreen.scale == 2.0
def initWithFrame(frame)
if super
self.userInteractionEnabled = true
end
self
end
def set_url(url, &block)
api_url = "http://s.st-hatena.com/entry.count.image?uri=#{url.escape_url}&q=1"
self.setImageWithURLRequest(api_url.nsurl.request, placeholderImage:@@blank_image,
success: lambda do |request, response, image|
self.image = image
if @@is_retina
self.size = image.size
else
<|file_sep|>current/app/view/hatena_star_view.rb
module HBFav2
class HatenaStarView < UIImageView
@@blank_image = UIImage.imageNamed('blank')
@@is_retina = UIScreen.mainScreen.scale == 2.0
def initWithFrame(frame)
if super
self.userInteractionEnabled = true
end
self
end
def set_url(url, &block)
api_url = "http://s.st-hatena.com/entry.count.image?uri=#{url.escape_url}&q=1"
self.setImageWithURLRequest(api_url.nsurl.request, placeholderImage:@@blank_image,
success: lambda do |request, response, image|
self.image = image
if @@is_retina
self.size = image.size
else
<|file_sep|>updated/app/view/hatena_star_view.rb | module HBFav2
class HatenaStarView < UIImageView
@@blank_image = UIImage.imageNamed('blank')
@@is_retina = UIScreen.mainScreen.scale >= 2.0
def initWithFrame(frame)
if super
self.userInteractionEnabled = true
end
self
end
def set_url(url, &block)
api_url = "http://s.st-hatena.com/entry.count.image?uri=#{url.escape_url}&q=1"
self.setImageWithURLRequest(api_url.nsurl.request, placeholderImage:@@blank_image,
success: lambda do |request, response, image|
self.image = image
if @@is_retina
self.size = image.size
else | <|file_sep|>original/app/view/hatena_star_view.rb
module HBFav2
class HatenaStarView < UIImageView
@@blank_image = UIImage.imageNamed('blank')
@@is_retina = UIScreen.mainScreen.scale == 2.0
def initWithFrame(frame)
if super
self.userInteractionEnabled = true
end
self
end
def set_url(url, &block)
api_url = "http://s.st-hatena.com/entry.count.image?uri=#{url.escape_url}&q=1"
self.setImageWithURLRequest(api_url.nsurl.request, placeholderImage:@@blank_image,
success: lambda do |request, response, image|
self.image = image
if @@is_retina
self.size = image.size
else
<|file_sep|>current/app/view/hatena_star_view.rb
module HBFav2
class HatenaStarView < UIImageView
@@blank_image = UIImage.imageNamed('blank')
@@is_retina = UIScreen.mainScreen.scale == 2.0
def initWithFrame(frame)
if super
self.userInteractionEnabled = true
end
self
end
def set_url(url, &block)
api_url = "http://s.st-hatena.com/entry.count.image?uri=#{url.escape_url}&q=1"
self.setImageWithURLRequest(api_url.nsurl.request, placeholderImage:@@blank_image,
success: lambda do |request, response, image|
self.image = image
if @@is_retina
self.size = image.size
else
<|file_sep|>updated/app/view/hatena_star_view.rb
module HBFav2
class HatenaStarView < UIImageView
@@blank_image = UIImage.imageNamed('blank')
@@is_retina = UIScreen.mainScreen.scale >= 2.0
def initWithFrame(frame)
if super
self.userInteractionEnabled = true
end
self
end
def set_url(url, &block)
api_url = "http://s.st-hatena.com/entry.count.image?uri=#{url.escape_url}&q=1"
self.setImageWithURLRequest(api_url.nsurl.request, placeholderImage:@@blank_image,
success: lambda do |request, response, image|
self.image = image
if @@is_retina
self.size = image.size
else | dc99c6afdaf375648792ad87a8cebf97dc9ee11f | app/view/hatena_star_view.rb | app/view/hatena_star_view.rb | Ruby |
<|file_sep|>original/azure-pipelines.yml
<|file_sep|>current/azure-pipelines.yml
<|file_sep|>updated/azure-pipelines.yml |
trigger:
- master
pool:
vmImage: 'windows-latest'
variables:
buildConfiguration: 'Release'
steps:
- task: DotNetCoreInstaller@0
inputs:
version: '2.2.200'
- script: dotnet restore
- script: dotnet build -c $(buildConfiguration) --no-restore -v minimal
- script: dotnet test -c $(buildConfiguration) --no-build -v minimal | <|file_sep|>original/azure-pipelines.yml
<|file_sep|>current/azure-pipelines.yml
<|file_sep|>updated/azure-pipelines.yml
trigger:
- master
pool:
vmImage: 'windows-latest'
variables:
buildConfiguration: 'Release'
steps:
- task: DotNetCoreInstaller@0
inputs:
version: '2.2.200'
- script: dotnet restore
- script: dotnet build -c $(buildConfiguration) --no-restore -v minimal
- script: dotnet test -c $(buildConfiguration) --no-build -v minimal | 50a219947e5c2900096e0cddcfef32da6629f9e0 | azure-pipelines.yml | azure-pipelines.yml | YAML |
<|file_sep|>renderdata/extrabees-texture.txt.diff
original:
updated:
var:item_hive=0,hive=0
<|file_sep|>renderdata/extrabees-texture.txt.diff
original:
block:id=item_hive,data=0,allsides=0,topbottom=1,txtid=blk0
updated:
block:id=item_hive,id=hive,data=0,allsides=0,topbottom=1,txtid=blk0
<|file_sep|>renderdata/extrabees-texture.txt.diff
original:
block:id=item_hive,data=1,allsides=2,topbottom=3,txtid=blk0
updated:
block:id=item_hive,id=hive,data=1,allsides=2,topbottom=3,txtid=blk0
<|file_sep|>renderdata/extrabees-texture.txt.diff
original:
block:id=item_hive,data=2,allsides=4,topbottom=5,txtid=blk0
updated:
block:id=item_hive,id=hive,data=2,allsides=4,topbottom=5,txtid=blk0
<|file_sep|>original/renderdata/extrabees-texture.txt
# ExtraBees Block mapping
modname:mod_ExtraBees,ExtraBees
# configuration file
cfgfile:config/forestry/extrabees/main.conf
# Files
texturefile:id=blk0,filename=gfx/extrabees/extrabees.png,xcount=16,ycount=16
#Hives
# hive:0 - Water Beehive
block:id=item_hive,data=0,allsides=0,topbottom=1,txtid=blk0
# hive:1 - Stone Beehive
block:id=item_hive,data=1,allsides=2,topbottom=3,txtid=blk0
# hive:1 - Nether Beehive
block:id=item_hive,data=2,allsides=4,topbottom=5,txtid=blk0
# hive:3 - Marble Beehive
block:id=item_hive,data=3,allsides=6,topbottom=7,txtid=blk0
<|file_sep|>current/renderdata/extrabees-texture.txt
# ExtraBees Block mapping
modname:mod_ExtraBees,ExtraBees
var:item_hive=0,hive=0
# configuration file
cfgfile:config/forestry/extrabees/main.conf
# Files
texturefile:id=blk0,filename=gfx/extrabees/extrabees.png,xcount=16,ycount=16
#Hives
# hive:0 - Water Beehive
block:id=item_hive,id=hive,data=0,allsides=0,topbottom=1,txtid=blk0
# hive:1 - Stone Beehive
block:id=item_hive,id=hive,data=1,allsides=2,topbottom=3,txtid=blk0
# hive:1 - Nether Beehive
block:id=item_hive,id=hive,data=2,allsides=4,topbottom=5,txtid=blk0
# hive:3 - Marble Beehive
block:id=item_hive,data=3,allsides=6,topbottom=7,txtid=blk0
<|file_sep|>updated/renderdata/extrabees-texture.txt | # ExtraBees Block mapping
modname:mod_ExtraBees,ExtraBees
var:item_hive=0,hive=0
# configuration file
cfgfile:config/forestry/extrabees/main.conf
# Files
texturefile:id=blk0,filename=gfx/extrabees/extrabees.png,xcount=16,ycount=16
#Hives
# hive:0 - Water Beehive
block:id=item_hive,id=hive,data=0,allsides=0,topbottom=1,txtid=blk0
# hive:1 - Stone Beehive
block:id=item_hive,id=hive,data=1,allsides=2,topbottom=3,txtid=blk0
# hive:1 - Nether Beehive
block:id=item_hive,id=hive,data=2,allsides=4,topbottom=5,txtid=blk0
# hive:3 - Marble Beehive
block:id=item_hive,id=hive,data=3,allsides=6,topbottom=7,txtid=blk0
| <|file_sep|>renderdata/extrabees-texture.txt.diff
original:
updated:
var:item_hive=0,hive=0
<|file_sep|>renderdata/extrabees-texture.txt.diff
original:
block:id=item_hive,data=0,allsides=0,topbottom=1,txtid=blk0
updated:
block:id=item_hive,id=hive,data=0,allsides=0,topbottom=1,txtid=blk0
<|file_sep|>renderdata/extrabees-texture.txt.diff
original:
block:id=item_hive,data=1,allsides=2,topbottom=3,txtid=blk0
updated:
block:id=item_hive,id=hive,data=1,allsides=2,topbottom=3,txtid=blk0
<|file_sep|>renderdata/extrabees-texture.txt.diff
original:
block:id=item_hive,data=2,allsides=4,topbottom=5,txtid=blk0
updated:
block:id=item_hive,id=hive,data=2,allsides=4,topbottom=5,txtid=blk0
<|file_sep|>original/renderdata/extrabees-texture.txt
# ExtraBees Block mapping
modname:mod_ExtraBees,ExtraBees
# configuration file
cfgfile:config/forestry/extrabees/main.conf
# Files
texturefile:id=blk0,filename=gfx/extrabees/extrabees.png,xcount=16,ycount=16
#Hives
# hive:0 - Water Beehive
block:id=item_hive,data=0,allsides=0,topbottom=1,txtid=blk0
# hive:1 - Stone Beehive
block:id=item_hive,data=1,allsides=2,topbottom=3,txtid=blk0
# hive:1 - Nether Beehive
block:id=item_hive,data=2,allsides=4,topbottom=5,txtid=blk0
# hive:3 - Marble Beehive
block:id=item_hive,data=3,allsides=6,topbottom=7,txtid=blk0
<|file_sep|>current/renderdata/extrabees-texture.txt
# ExtraBees Block mapping
modname:mod_ExtraBees,ExtraBees
var:item_hive=0,hive=0
# configuration file
cfgfile:config/forestry/extrabees/main.conf
# Files
texturefile:id=blk0,filename=gfx/extrabees/extrabees.png,xcount=16,ycount=16
#Hives
# hive:0 - Water Beehive
block:id=item_hive,id=hive,data=0,allsides=0,topbottom=1,txtid=blk0
# hive:1 - Stone Beehive
block:id=item_hive,id=hive,data=1,allsides=2,topbottom=3,txtid=blk0
# hive:1 - Nether Beehive
block:id=item_hive,id=hive,data=2,allsides=4,topbottom=5,txtid=blk0
# hive:3 - Marble Beehive
block:id=item_hive,data=3,allsides=6,topbottom=7,txtid=blk0
<|file_sep|>updated/renderdata/extrabees-texture.txt
# ExtraBees Block mapping
modname:mod_ExtraBees,ExtraBees
var:item_hive=0,hive=0
# configuration file
cfgfile:config/forestry/extrabees/main.conf
# Files
texturefile:id=blk0,filename=gfx/extrabees/extrabees.png,xcount=16,ycount=16
#Hives
# hive:0 - Water Beehive
block:id=item_hive,id=hive,data=0,allsides=0,topbottom=1,txtid=blk0
# hive:1 - Stone Beehive
block:id=item_hive,id=hive,data=1,allsides=2,topbottom=3,txtid=blk0
# hive:1 - Nether Beehive
block:id=item_hive,id=hive,data=2,allsides=4,topbottom=5,txtid=blk0
# hive:3 - Marble Beehive
block:id=item_hive,id=hive,data=3,allsides=6,topbottom=7,txtid=blk0
| e18c433baacde9f9a8a0ded1066454f9e43872c5 | renderdata/extrabees-texture.txt | renderdata/extrabees-texture.txt | Text |
<|file_sep|>src/test/java/info/u_team/u_team_test/init/TestCommonBusRegister.java.diff
original:
updated:
import info.u_team.u_team_test.TestMod;
<|file_sep|>original/src/test/java/info/u_team/u_team_test/init/TestCommonBusRegister.java
package info.u_team.u_team_test.init;
import info.u_team.u_team_core.api.construct.*;
import info.u_team.u_team_core.util.registry.BusRegister;
@Construct
public class TestCommonBusRegister implements IModConstruct {
@Override
public void construct() {
BusRegister.registerMod(TestBiomes::registerMod);
BusRegister.registerMod(TestBlocks::registerMod);
BusRegister.registerMod(TestContainers::registerMod);
BusRegister.registerMod(TestEffects::registerMod);
BusRegister.registerMod(TestEnchantments::registerMod);
BusRegister.registerMod(TestEntityTypes::registerMod);
BusRegister.registerMod(TestGlobalLootModifiers::registerMod);
BusRegister.registerMod(TestItems::registerMod);
BusRegister.registerMod(TestModDimensions::registerMod);
BusRegister.registerMod(TestPotions::registerMod);
BusRegister.registerMod(TestSounds::registerMod);
<|file_sep|>current/src/test/java/info/u_team/u_team_test/init/TestCommonBusRegister.java
package info.u_team.u_team_test.init;
import info.u_team.u_team_core.api.construct.*;
import info.u_team.u_team_core.util.registry.BusRegister;
import info.u_team.u_team_test.TestMod;
@Construct
public class TestCommonBusRegister implements IModConstruct {
@Override
public void construct() {
BusRegister.registerMod(TestBiomes::registerMod);
BusRegister.registerMod(TestBlocks::registerMod);
BusRegister.registerMod(TestContainers::registerMod);
BusRegister.registerMod(TestEffects::registerMod);
BusRegister.registerMod(TestEnchantments::registerMod);
BusRegister.registerMod(TestEntityTypes::registerMod);
BusRegister.registerMod(TestGlobalLootModifiers::registerMod);
BusRegister.registerMod(TestItems::registerMod);
BusRegister.registerMod(TestModDimensions::registerMod);
BusRegister.registerMod(TestPotions::registerMod);
<|file_sep|>updated/src/test/java/info/u_team/u_team_test/init/TestCommonBusRegister.java | package info.u_team.u_team_test.init;
import info.u_team.u_team_core.api.construct.*;
import info.u_team.u_team_core.util.registry.BusRegister;
import info.u_team.u_team_test.TestMod;
@Construct(modid = TestMod.MODID)
public class TestCommonBusRegister implements IModConstruct {
@Override
public void construct() {
BusRegister.registerMod(TestBiomes::registerMod);
BusRegister.registerMod(TestBlocks::registerMod);
BusRegister.registerMod(TestContainers::registerMod);
BusRegister.registerMod(TestEffects::registerMod);
BusRegister.registerMod(TestEnchantments::registerMod);
BusRegister.registerMod(TestEntityTypes::registerMod);
BusRegister.registerMod(TestGlobalLootModifiers::registerMod);
BusRegister.registerMod(TestItems::registerMod);
BusRegister.registerMod(TestModDimensions::registerMod);
BusRegister.registerMod(TestPotions::registerMod); | <|file_sep|>src/test/java/info/u_team/u_team_test/init/TestCommonBusRegister.java.diff
original:
updated:
import info.u_team.u_team_test.TestMod;
<|file_sep|>original/src/test/java/info/u_team/u_team_test/init/TestCommonBusRegister.java
package info.u_team.u_team_test.init;
import info.u_team.u_team_core.api.construct.*;
import info.u_team.u_team_core.util.registry.BusRegister;
@Construct
public class TestCommonBusRegister implements IModConstruct {
@Override
public void construct() {
BusRegister.registerMod(TestBiomes::registerMod);
BusRegister.registerMod(TestBlocks::registerMod);
BusRegister.registerMod(TestContainers::registerMod);
BusRegister.registerMod(TestEffects::registerMod);
BusRegister.registerMod(TestEnchantments::registerMod);
BusRegister.registerMod(TestEntityTypes::registerMod);
BusRegister.registerMod(TestGlobalLootModifiers::registerMod);
BusRegister.registerMod(TestItems::registerMod);
BusRegister.registerMod(TestModDimensions::registerMod);
BusRegister.registerMod(TestPotions::registerMod);
BusRegister.registerMod(TestSounds::registerMod);
<|file_sep|>current/src/test/java/info/u_team/u_team_test/init/TestCommonBusRegister.java
package info.u_team.u_team_test.init;
import info.u_team.u_team_core.api.construct.*;
import info.u_team.u_team_core.util.registry.BusRegister;
import info.u_team.u_team_test.TestMod;
@Construct
public class TestCommonBusRegister implements IModConstruct {
@Override
public void construct() {
BusRegister.registerMod(TestBiomes::registerMod);
BusRegister.registerMod(TestBlocks::registerMod);
BusRegister.registerMod(TestContainers::registerMod);
BusRegister.registerMod(TestEffects::registerMod);
BusRegister.registerMod(TestEnchantments::registerMod);
BusRegister.registerMod(TestEntityTypes::registerMod);
BusRegister.registerMod(TestGlobalLootModifiers::registerMod);
BusRegister.registerMod(TestItems::registerMod);
BusRegister.registerMod(TestModDimensions::registerMod);
BusRegister.registerMod(TestPotions::registerMod);
<|file_sep|>updated/src/test/java/info/u_team/u_team_test/init/TestCommonBusRegister.java
package info.u_team.u_team_test.init;
import info.u_team.u_team_core.api.construct.*;
import info.u_team.u_team_core.util.registry.BusRegister;
import info.u_team.u_team_test.TestMod;
@Construct(modid = TestMod.MODID)
public class TestCommonBusRegister implements IModConstruct {
@Override
public void construct() {
BusRegister.registerMod(TestBiomes::registerMod);
BusRegister.registerMod(TestBlocks::registerMod);
BusRegister.registerMod(TestContainers::registerMod);
BusRegister.registerMod(TestEffects::registerMod);
BusRegister.registerMod(TestEnchantments::registerMod);
BusRegister.registerMod(TestEntityTypes::registerMod);
BusRegister.registerMod(TestGlobalLootModifiers::registerMod);
BusRegister.registerMod(TestItems::registerMod);
BusRegister.registerMod(TestModDimensions::registerMod);
BusRegister.registerMod(TestPotions::registerMod); | c3ed67d7598cde71c3fb4fdb7204e13c4c3a7526 | src/test/java/info/u_team/u_team_test/init/TestCommonBusRegister.java | src/test/java/info/u_team/u_team_test/init/TestCommonBusRegister.java | Java |
<|file_sep|>i18n/en.json.diff
original:
"Kudu"
updated:
"Kudu",
"Southparkfan"
<|file_sep|>original/i18n/en.json
"Kudu"
]
},
"action-createwiki": "create a wiki",
"createwiki": "Create a wiki",
"createwiki-desc": "Create a new wiki on a wiki farm",
"createwiki-label-comment": "Comment",
"createwiki-label-create": "Create",
"createwiki-label-dbname": "Database name",
"createwiki-label-founder": "Founder",
"createwiki-error-dbexists": "The database already exists.",
"createwiki-error-nonexistentfounder": "The founder does not exist on Orain Meta.",
"createwiki-error-notsuffixed": "The database name must end in a configured suffix.",
"createwiki-error-notalnum": "The database name must be alphanumeric.",
"createwiki-error-usernotcreated": "There was an error while creating the founder's user.",
"createwiki-success": "$1 was successfully created.",
"log-description-farmer": "This is a log of changes made to the wiki farm.",
"log-name-farmer": "Wiki farm log",
"logentry-farmer-create": "$1 created the wiki \"$4\"",
"logentry-farmer-createandpromote": "$1 created the wiki \"$4\" with \"$5\" as founder"
}
<|file_sep|>current/i18n/en.json
"Southparkfan"
]
},
"action-createwiki": "create a wiki",
"createwiki": "Create a wiki",
"createwiki-desc": "Create a new wiki on a wiki farm",
"createwiki-label-comment": "Comment",
"createwiki-label-create": "Create",
"createwiki-label-dbname": "Database name",
"createwiki-label-founder": "Founder",
"createwiki-error-dbexists": "The database already exists.",
"createwiki-error-nonexistentfounder": "The founder does not exist on Orain Meta.",
"createwiki-error-notsuffixed": "The database name must end in a configured suffix.",
"createwiki-error-notalnum": "The database name must be alphanumeric.",
"createwiki-error-usernotcreated": "There was an error while creating the founder's user.",
"createwiki-success": "$1 was successfully created.",
"log-description-farmer": "This is a log of changes made to the wiki farm.",
"log-name-farmer": "Wiki farm log",
"logentry-farmer-create": "$1 created the wiki \"$4\"",
"logentry-farmer-createandpromote": "$1 created the wiki \"$4\" with \"$5\" as founder"
}
<|file_sep|>updated/i18n/en.json | "Southparkfan"
]
},
"action-createwiki": "create a wiki",
"createwiki": "Create a wiki",
"createwiki-desc": "Create a new wiki on a wiki farm",
"createwiki-label-comment": "Comment",
"createwiki-label-create": "Create",
"createwiki-label-dbname": "Database name",
"createwiki-label-founder": "Founder",
"createwiki-label-dbnamecontainsuppercase": "The database name may not contain an uppercase letter.",
"createwiki-error-dbexists": "The database already exists.",
"createwiki-error-nonexistentfounder": "The founder does not exist on Orain Meta.",
"createwiki-error-notsuffixed": "The database name must end in a configured suffix.",
"createwiki-error-notalnum": "The database name must be alphanumeric.",
"createwiki-error-usernotcreated": "There was an error while creating the founder's user.",
"createwiki-success": "$1 was successfully created.",
"log-description-farmer": "This is a log of changes made to the wiki farm.",
"log-name-farmer": "Wiki farm log",
"logentry-farmer-create": "$1 created the wiki \"$4\"",
"logentry-farmer-createandpromote": "$1 created the wiki \"$4\" with \"$5\" as founder" | <|file_sep|>i18n/en.json.diff
original:
"Kudu"
updated:
"Kudu",
"Southparkfan"
<|file_sep|>original/i18n/en.json
"Kudu"
]
},
"action-createwiki": "create a wiki",
"createwiki": "Create a wiki",
"createwiki-desc": "Create a new wiki on a wiki farm",
"createwiki-label-comment": "Comment",
"createwiki-label-create": "Create",
"createwiki-label-dbname": "Database name",
"createwiki-label-founder": "Founder",
"createwiki-error-dbexists": "The database already exists.",
"createwiki-error-nonexistentfounder": "The founder does not exist on Orain Meta.",
"createwiki-error-notsuffixed": "The database name must end in a configured suffix.",
"createwiki-error-notalnum": "The database name must be alphanumeric.",
"createwiki-error-usernotcreated": "There was an error while creating the founder's user.",
"createwiki-success": "$1 was successfully created.",
"log-description-farmer": "This is a log of changes made to the wiki farm.",
"log-name-farmer": "Wiki farm log",
"logentry-farmer-create": "$1 created the wiki \"$4\"",
"logentry-farmer-createandpromote": "$1 created the wiki \"$4\" with \"$5\" as founder"
}
<|file_sep|>current/i18n/en.json
"Southparkfan"
]
},
"action-createwiki": "create a wiki",
"createwiki": "Create a wiki",
"createwiki-desc": "Create a new wiki on a wiki farm",
"createwiki-label-comment": "Comment",
"createwiki-label-create": "Create",
"createwiki-label-dbname": "Database name",
"createwiki-label-founder": "Founder",
"createwiki-error-dbexists": "The database already exists.",
"createwiki-error-nonexistentfounder": "The founder does not exist on Orain Meta.",
"createwiki-error-notsuffixed": "The database name must end in a configured suffix.",
"createwiki-error-notalnum": "The database name must be alphanumeric.",
"createwiki-error-usernotcreated": "There was an error while creating the founder's user.",
"createwiki-success": "$1 was successfully created.",
"log-description-farmer": "This is a log of changes made to the wiki farm.",
"log-name-farmer": "Wiki farm log",
"logentry-farmer-create": "$1 created the wiki \"$4\"",
"logentry-farmer-createandpromote": "$1 created the wiki \"$4\" with \"$5\" as founder"
}
<|file_sep|>updated/i18n/en.json
"Southparkfan"
]
},
"action-createwiki": "create a wiki",
"createwiki": "Create a wiki",
"createwiki-desc": "Create a new wiki on a wiki farm",
"createwiki-label-comment": "Comment",
"createwiki-label-create": "Create",
"createwiki-label-dbname": "Database name",
"createwiki-label-founder": "Founder",
"createwiki-label-dbnamecontainsuppercase": "The database name may not contain an uppercase letter.",
"createwiki-error-dbexists": "The database already exists.",
"createwiki-error-nonexistentfounder": "The founder does not exist on Orain Meta.",
"createwiki-error-notsuffixed": "The database name must end in a configured suffix.",
"createwiki-error-notalnum": "The database name must be alphanumeric.",
"createwiki-error-usernotcreated": "There was an error while creating the founder's user.",
"createwiki-success": "$1 was successfully created.",
"log-description-farmer": "This is a log of changes made to the wiki farm.",
"log-name-farmer": "Wiki farm log",
"logentry-farmer-create": "$1 created the wiki \"$4\"",
"logentry-farmer-createandpromote": "$1 created the wiki \"$4\" with \"$5\" as founder" | da275503b01b1d637bf9ad13081d723d1ac9bcbd | i18n/en.json | i18n/en.json | JSON |
<|file_sep|>original/.github/workflows/nodejs.yml
<|file_sep|>current/.github/workflows/nodejs.yml
<|file_sep|>updated/.github/workflows/nodejs.yml | name: Node CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install
run: npm install --no-package-lock | <|file_sep|>original/.github/workflows/nodejs.yml
<|file_sep|>current/.github/workflows/nodejs.yml
<|file_sep|>updated/.github/workflows/nodejs.yml
name: Node CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install
run: npm install --no-package-lock | ee90b6d291732f07d97bc40219df41e82e7fb14a | .github/workflows/nodejs.yml | .github/workflows/nodejs.yml | YAML |
<|file_sep|>original/rust-showcase/src/bin/image_nobg.rs
<|file_sep|>current/rust-showcase/src/bin/image_nobg.rs
<|file_sep|>updated/rust-showcase/src/bin/image_nobg.rs | extern crate simple_csv;
extern crate png;
use std::env;
use std::fs::File;
use std::io::{BufWriter, BufReader};
use std::str::FromStr;
use png::HasParameters;
use simple_csv::SimpleCsvReader;
fn main(){
let f = File::open("../long-cadence.csv").unwrap();
let buf = BufReader::new(f);
let mut reader = SimpleCsvReader::new(buf);
let row = reader.next_row().unwrap().unwrap();
let mut iter = row.iter();
iter.next(); // dropping time
let raw: Vec<f64> = iter
.map(|s| f64::from_str(s).unwrap())
.collect(); | <|file_sep|>original/rust-showcase/src/bin/image_nobg.rs
<|file_sep|>current/rust-showcase/src/bin/image_nobg.rs
<|file_sep|>updated/rust-showcase/src/bin/image_nobg.rs
extern crate simple_csv;
extern crate png;
use std::env;
use std::fs::File;
use std::io::{BufWriter, BufReader};
use std::str::FromStr;
use png::HasParameters;
use simple_csv::SimpleCsvReader;
fn main(){
let f = File::open("../long-cadence.csv").unwrap();
let buf = BufReader::new(f);
let mut reader = SimpleCsvReader::new(buf);
let row = reader.next_row().unwrap().unwrap();
let mut iter = row.iter();
iter.next(); // dropping time
let raw: Vec<f64> = iter
.map(|s| f64::from_str(s).unwrap())
.collect(); | 1c40099381e5ac592db37120617365fc54f21d80 | rust-showcase/src/bin/image_nobg.rs | rust-showcase/src/bin/image_nobg.rs | Rust |
<|file_sep|>.travis.yml.diff
original:
# Get and install the Bash Automated Testing System (bats)
before_script:
- git clone https://github.com/sstephenson/bats.git /tmp/bats
- mkdir -p /tmp/local
- bash /tmp/bats/install.sh /tmp/local
- export PATH=$PATH:/tmp/local/bin
updated:
addons:
apt:
packages:
- tree
- bats
<|file_sep|>.travis.yml.diff
original:
- ./configure
updated:
- ./configure --prefix=
- make clean
<|file_sep|>original/.travis.yml
sudo: false
# Test build with both GCC and Clang (LLVM)
compiler:
- gcc
- clang
# Get and install the Bash Automated Testing System (bats)
before_script:
- git clone https://github.com/sstephenson/bats.git /tmp/bats
- mkdir -p /tmp/local
- bash /tmp/bats/install.sh /tmp/local
- export PATH=$PATH:/tmp/local/bin
# We don't store generated files (configure and Makefile) in GIT,
# so we must customize the default build script to run ./autogen.sh
script:
- ./autogen.sh
- ./configure
- make V=1
- make check
<|file_sep|>current/.travis.yml
sudo: false
# Test build with both GCC and Clang (LLVM)
compiler:
- gcc
- clang
addons:
apt:
packages:
- tree
- bats
# We don't store generated files (configure and Makefile) in GIT,
# so we must customize the default build script to run ./autogen.sh
script:
- ./autogen.sh
- ./configure --prefix=
- make clean
- make V=1
- make check
<|file_sep|>updated/.travis.yml | - gcc
- clang
addons:
apt:
packages:
- tree
- bats
# We don't store generated files (configure and Makefile) in GIT,
# so we must customize the default build script to run ./autogen.sh
script:
- ./autogen.sh
- ./configure --prefix=
- make clean
- make V=1
- DESTDIR=~/tmp make install-strip
- tree ~/tmp
- ldd ~/tmp/bin/netcalc
- size ~/tmp/bin/netcalc
- make check | <|file_sep|>.travis.yml.diff
original:
# Get and install the Bash Automated Testing System (bats)
before_script:
- git clone https://github.com/sstephenson/bats.git /tmp/bats
- mkdir -p /tmp/local
- bash /tmp/bats/install.sh /tmp/local
- export PATH=$PATH:/tmp/local/bin
updated:
addons:
apt:
packages:
- tree
- bats
<|file_sep|>.travis.yml.diff
original:
- ./configure
updated:
- ./configure --prefix=
- make clean
<|file_sep|>original/.travis.yml
sudo: false
# Test build with both GCC and Clang (LLVM)
compiler:
- gcc
- clang
# Get and install the Bash Automated Testing System (bats)
before_script:
- git clone https://github.com/sstephenson/bats.git /tmp/bats
- mkdir -p /tmp/local
- bash /tmp/bats/install.sh /tmp/local
- export PATH=$PATH:/tmp/local/bin
# We don't store generated files (configure and Makefile) in GIT,
# so we must customize the default build script to run ./autogen.sh
script:
- ./autogen.sh
- ./configure
- make V=1
- make check
<|file_sep|>current/.travis.yml
sudo: false
# Test build with both GCC and Clang (LLVM)
compiler:
- gcc
- clang
addons:
apt:
packages:
- tree
- bats
# We don't store generated files (configure and Makefile) in GIT,
# so we must customize the default build script to run ./autogen.sh
script:
- ./autogen.sh
- ./configure --prefix=
- make clean
- make V=1
- make check
<|file_sep|>updated/.travis.yml
- gcc
- clang
addons:
apt:
packages:
- tree
- bats
# We don't store generated files (configure and Makefile) in GIT,
# so we must customize the default build script to run ./autogen.sh
script:
- ./autogen.sh
- ./configure --prefix=
- make clean
- make V=1
- DESTDIR=~/tmp make install-strip
- tree ~/tmp
- ldd ~/tmp/bin/netcalc
- size ~/tmp/bin/netcalc
- make check | f880669cac49cb4498da2cae6b48932ee59b7c4e | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/hydrachain/__init__.py
here = os.path.normcase(__file__)
if not here.startswith(os.path.join(dist_loc, 'hydrachain')):
# not installed, but there is another version that *is*
raise DistributionNotFound
__version__ = _dist.version
except DistributionNotFound:
pass
if not __version__:
try:
rev = subprocess.check_output(['git', 'describe', '--dirty'])
match = GIT_DESCRIBE_RE.match(rev)
if match:
__version__ = "{}+git-{}".format(match.group("version"), match.group("git"))
except:
pass
if not __version__:
__version__ = 'undefined'
# ########### endversion ##################
<|file_sep|>current/hydrachain/__init__.py
here = os.path.normcase(__file__)
if not here.startswith(os.path.join(dist_loc, 'hydrachain')):
# not installed, but there is another version that *is*
raise DistributionNotFound
__version__ = _dist.version
except DistributionNotFound:
pass
if not __version__:
try:
rev = subprocess.check_output(['git', 'describe', '--dirty'])
match = GIT_DESCRIBE_RE.match(rev)
if match:
__version__ = "{}+git-{}".format(match.group("version"), match.group("git"))
except:
pass
if not __version__:
__version__ = 'undefined'
# ########### endversion ##################
<|file_sep|>updated/hydrachain/__init__.py | here = os.path.normcase(__file__)
if not here.startswith(os.path.join(dist_loc, 'hydrachain')):
# not installed, but there is another version that *is*
raise DistributionNotFound
__version__ = _dist.version
except DistributionNotFound:
pass
if not __version__:
try:
rev = subprocess.check_output(['git', 'describe', '--tags', '--dirty'])
match = GIT_DESCRIBE_RE.match(rev)
if match:
__version__ = "{}+git-{}".format(match.group("version"), match.group("git"))
except:
pass
if not __version__:
__version__ = 'undefined'
# ########### endversion ################## | <|file_sep|>original/hydrachain/__init__.py
here = os.path.normcase(__file__)
if not here.startswith(os.path.join(dist_loc, 'hydrachain')):
# not installed, but there is another version that *is*
raise DistributionNotFound
__version__ = _dist.version
except DistributionNotFound:
pass
if not __version__:
try:
rev = subprocess.check_output(['git', 'describe', '--dirty'])
match = GIT_DESCRIBE_RE.match(rev)
if match:
__version__ = "{}+git-{}".format(match.group("version"), match.group("git"))
except:
pass
if not __version__:
__version__ = 'undefined'
# ########### endversion ##################
<|file_sep|>current/hydrachain/__init__.py
here = os.path.normcase(__file__)
if not here.startswith(os.path.join(dist_loc, 'hydrachain')):
# not installed, but there is another version that *is*
raise DistributionNotFound
__version__ = _dist.version
except DistributionNotFound:
pass
if not __version__:
try:
rev = subprocess.check_output(['git', 'describe', '--dirty'])
match = GIT_DESCRIBE_RE.match(rev)
if match:
__version__ = "{}+git-{}".format(match.group("version"), match.group("git"))
except:
pass
if not __version__:
__version__ = 'undefined'
# ########### endversion ##################
<|file_sep|>updated/hydrachain/__init__.py
here = os.path.normcase(__file__)
if not here.startswith(os.path.join(dist_loc, 'hydrachain')):
# not installed, but there is another version that *is*
raise DistributionNotFound
__version__ = _dist.version
except DistributionNotFound:
pass
if not __version__:
try:
rev = subprocess.check_output(['git', 'describe', '--tags', '--dirty'])
match = GIT_DESCRIBE_RE.match(rev)
if match:
__version__ = "{}+git-{}".format(match.group("version"), match.group("git"))
except:
pass
if not __version__:
__version__ = 'undefined'
# ########### endversion ################## | b4207380bc5b8639397e3d1d9a4b70069ef8d6e7 | hydrachain/__init__.py | hydrachain/__init__.py | Python |
<|file_sep|>.travis.yml.diff
original:
- 5.5
updated:
<|file_sep|>original/.travis.yml
language: php
sudo: false
php:
- 5.5
- 5.6
- 7.0
- hhvm
matrix:
allow_failures:
- php: 7.0
before_install:
- travis_retry composer self-update
install:
- travis_retry composer install --prefer-source --no-interaction
script:
<|file_sep|>current/.travis.yml
language: php
sudo: false
php:
- 5.6
- 7.0
- hhvm
matrix:
allow_failures:
- php: 7.0
before_install:
- travis_retry composer self-update
install:
- travis_retry composer install --prefer-source --no-interaction
script:
- if [ "$TRAVIS_PHP_VERSION" == "7.0" ] || [ "$TRAVIS_PHP_VERSION" == "hhvm" ]; then phpunit; fi
<|file_sep|>updated/.travis.yml | language: php
sudo: false
php:
- 5.6
- 7.0
- hhvm
before_install:
- travis_retry composer self-update
install:
- travis_retry composer install --prefer-source --no-interaction
script:
- if [ "$TRAVIS_PHP_VERSION" == "7.0" ] || [ "$TRAVIS_PHP_VERSION" == "hhvm" ]; then phpunit; fi
- if [ "$TRAVIS_PHP_VERSION" != "7.0" ] && [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then phpunit --coverage-text --coverage-clover=coverage.clover; fi
after_script:
- wget https://scrutinizer-ci.com/ocular.phar | <|file_sep|>.travis.yml.diff
original:
- 5.5
updated:
<|file_sep|>original/.travis.yml
language: php
sudo: false
php:
- 5.5
- 5.6
- 7.0
- hhvm
matrix:
allow_failures:
- php: 7.0
before_install:
- travis_retry composer self-update
install:
- travis_retry composer install --prefer-source --no-interaction
script:
<|file_sep|>current/.travis.yml
language: php
sudo: false
php:
- 5.6
- 7.0
- hhvm
matrix:
allow_failures:
- php: 7.0
before_install:
- travis_retry composer self-update
install:
- travis_retry composer install --prefer-source --no-interaction
script:
- if [ "$TRAVIS_PHP_VERSION" == "7.0" ] || [ "$TRAVIS_PHP_VERSION" == "hhvm" ]; then phpunit; fi
<|file_sep|>updated/.travis.yml
language: php
sudo: false
php:
- 5.6
- 7.0
- hhvm
before_install:
- travis_retry composer self-update
install:
- travis_retry composer install --prefer-source --no-interaction
script:
- if [ "$TRAVIS_PHP_VERSION" == "7.0" ] || [ "$TRAVIS_PHP_VERSION" == "hhvm" ]; then phpunit; fi
- if [ "$TRAVIS_PHP_VERSION" != "7.0" ] && [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then phpunit --coverage-text --coverage-clover=coverage.clover; fi
after_script:
- wget https://scrutinizer-ci.com/ocular.phar | 8d79919afa10eb41ca99effa531b6ffebb597ca0 | .travis.yml | .travis.yml | YAML |
<|file_sep|>{{cookiecutter.project_slug}}/_/deployment/python/deployment/application/Dockerfile.diff
original:
updated:
gettext \
libpq5 \
nginx \
<|file_sep|>{{cookiecutter.project_slug}}/_/deployment/python/deployment/application/Dockerfile.diff
original:
nginx \
updated:
libpq-dev \
<|file_sep|>{{cookiecutter.project_slug}}/_/deployment/python/deployment/application/Dockerfile.diff
original:
gettext \
vim \
updated:
<|file_sep|>original/{{cookiecutter.project_slug}}/_/deployment/python/deployment/application/Dockerfile
gcc \
nginx \
python3-dev \
gettext \
vim \
&& pip --disable-pip-version-check --no-cache-dir \
install -r ${REQUIREMENTS} \
&& apt-get purge -y \
gcc \
python3-dev \
&& apt-get autoremove -y --purge \
&& apt-get clean \
&& ln -sfv /app/deployment/webserver/nginx.conf /etc/nginx/nginx.conf \
&& ln -sfv /dev/stdout /var/log/nginx/access.log \
&& ln -sfv /dev/stderr /var/log/nginx/error.log
COPY . .
# Support arbitrary user IDs (OpenShift guidelines)
RUN chown -R 1001:0 /app /run /var/lib/nginx \
&& chmod -R g=u /app /run /var/lib/nginx /etc/passwd
<|file_sep|>current/{{cookiecutter.project_slug}}/_/deployment/python/deployment/application/Dockerfile
gettext \
libpq5 \
nginx \
gcc \
libpq-dev \
python3-dev \
&& pip --disable-pip-version-check --no-cache-dir \
install -r ${REQUIREMENTS} \
&& apt-get purge -y \
gcc \
python3-dev \
&& apt-get autoremove -y --purge \
&& apt-get clean \
&& ln -sfv /app/deployment/webserver/nginx.conf /etc/nginx/nginx.conf \
&& ln -sfv /dev/stdout /var/log/nginx/access.log \
&& ln -sfv /dev/stderr /var/log/nginx/error.log
COPY . .
# Support arbitrary user IDs (OpenShift guidelines)
RUN chown -R 1001:0 /app /run /var/lib/nginx \
<|file_sep|>updated/{{cookiecutter.project_slug}}/_/deployment/python/deployment/application/Dockerfile | gettext \
libpq5 \
nginx \
gcc \
libpq-dev \
python3-dev \
&& pip --disable-pip-version-check --no-cache-dir \
install -r ${REQUIREMENTS} \
&& apt-get purge -y \
gcc \
libpq-dev \
python3-dev \
&& apt-get autoremove -y --purge \
&& apt-get clean \
&& ln -sfv /app/deployment/webserver/nginx.conf /etc/nginx/nginx.conf \
&& ln -sfv /dev/stdout /var/log/nginx/access.log \
&& ln -sfv /dev/stderr /var/log/nginx/error.log
COPY . .
# Support arbitrary user IDs (OpenShift guidelines) | <|file_sep|>{{cookiecutter.project_slug}}/_/deployment/python/deployment/application/Dockerfile.diff
original:
updated:
gettext \
libpq5 \
nginx \
<|file_sep|>{{cookiecutter.project_slug}}/_/deployment/python/deployment/application/Dockerfile.diff
original:
nginx \
updated:
libpq-dev \
<|file_sep|>{{cookiecutter.project_slug}}/_/deployment/python/deployment/application/Dockerfile.diff
original:
gettext \
vim \
updated:
<|file_sep|>original/{{cookiecutter.project_slug}}/_/deployment/python/deployment/application/Dockerfile
gcc \
nginx \
python3-dev \
gettext \
vim \
&& pip --disable-pip-version-check --no-cache-dir \
install -r ${REQUIREMENTS} \
&& apt-get purge -y \
gcc \
python3-dev \
&& apt-get autoremove -y --purge \
&& apt-get clean \
&& ln -sfv /app/deployment/webserver/nginx.conf /etc/nginx/nginx.conf \
&& ln -sfv /dev/stdout /var/log/nginx/access.log \
&& ln -sfv /dev/stderr /var/log/nginx/error.log
COPY . .
# Support arbitrary user IDs (OpenShift guidelines)
RUN chown -R 1001:0 /app /run /var/lib/nginx \
&& chmod -R g=u /app /run /var/lib/nginx /etc/passwd
<|file_sep|>current/{{cookiecutter.project_slug}}/_/deployment/python/deployment/application/Dockerfile
gettext \
libpq5 \
nginx \
gcc \
libpq-dev \
python3-dev \
&& pip --disable-pip-version-check --no-cache-dir \
install -r ${REQUIREMENTS} \
&& apt-get purge -y \
gcc \
python3-dev \
&& apt-get autoremove -y --purge \
&& apt-get clean \
&& ln -sfv /app/deployment/webserver/nginx.conf /etc/nginx/nginx.conf \
&& ln -sfv /dev/stdout /var/log/nginx/access.log \
&& ln -sfv /dev/stderr /var/log/nginx/error.log
COPY . .
# Support arbitrary user IDs (OpenShift guidelines)
RUN chown -R 1001:0 /app /run /var/lib/nginx \
<|file_sep|>updated/{{cookiecutter.project_slug}}/_/deployment/python/deployment/application/Dockerfile
gettext \
libpq5 \
nginx \
gcc \
libpq-dev \
python3-dev \
&& pip --disable-pip-version-check --no-cache-dir \
install -r ${REQUIREMENTS} \
&& apt-get purge -y \
gcc \
libpq-dev \
python3-dev \
&& apt-get autoremove -y --purge \
&& apt-get clean \
&& ln -sfv /app/deployment/webserver/nginx.conf /etc/nginx/nginx.conf \
&& ln -sfv /dev/stdout /var/log/nginx/access.log \
&& ln -sfv /dev/stderr /var/log/nginx/error.log
COPY . .
# Support arbitrary user IDs (OpenShift guidelines) | 2e6ae5ec06742a774d9ae9c0d02d7e5469f3cd9f | {{cookiecutter.project_slug}}/_/deployment/python/deployment/application/Dockerfile | {{cookiecutter.project_slug}}/_/deployment/python/deployment/application/Dockerfile | unknown |
<|file_sep|>metadata/ml.vivekthazhathattil.chalachithram.yml.diff
original:
updated:
- versionName: '1.3'
versionCode: 3
commit: 006d2dcd999959e0afe380eed3c8bda5e728409b
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/ml.vivekthazhathattil.chalachithram.yml
SourceCode: https://github.com/VivekThazhathattil/Chalachithram/
IssueTracker: https://github.com/VivekThazhathattil/Chalachithram/issues
Changelog: https://github.com/VivekThazhathattil/dekadico/releases
AutoName: Chalachithram
RepoType: git
Repo: https://github.com/VivekThazhathattil/Chalachithram/
Builds:
- versionName: '1.2'
versionCode: 2
commit: 8bb34bf7ead6ccf5aef20f8cb5a0c1422525d1e0
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: '1.2'
CurrentVersionCode: 2
<|file_sep|>current/metadata/ml.vivekthazhathattil.chalachithram.yml
Repo: https://github.com/VivekThazhathattil/Chalachithram/
Builds:
- versionName: '1.2'
versionCode: 2
commit: 8bb34bf7ead6ccf5aef20f8cb5a0c1422525d1e0
subdir: app
gradle:
- yes
- versionName: '1.3'
versionCode: 3
commit: 006d2dcd999959e0afe380eed3c8bda5e728409b
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: '1.2'
CurrentVersionCode: 2
<|file_sep|>updated/metadata/ml.vivekthazhathattil.chalachithram.yml | Repo: https://github.com/VivekThazhathattil/Chalachithram/
Builds:
- versionName: '1.2'
versionCode: 2
commit: 8bb34bf7ead6ccf5aef20f8cb5a0c1422525d1e0
subdir: app
gradle:
- yes
- versionName: '1.3'
versionCode: 3
commit: 006d2dcd999959e0afe380eed3c8bda5e728409b
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: '1.3'
CurrentVersionCode: 3 | <|file_sep|>metadata/ml.vivekthazhathattil.chalachithram.yml.diff
original:
updated:
- versionName: '1.3'
versionCode: 3
commit: 006d2dcd999959e0afe380eed3c8bda5e728409b
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/ml.vivekthazhathattil.chalachithram.yml
SourceCode: https://github.com/VivekThazhathattil/Chalachithram/
IssueTracker: https://github.com/VivekThazhathattil/Chalachithram/issues
Changelog: https://github.com/VivekThazhathattil/dekadico/releases
AutoName: Chalachithram
RepoType: git
Repo: https://github.com/VivekThazhathattil/Chalachithram/
Builds:
- versionName: '1.2'
versionCode: 2
commit: 8bb34bf7ead6ccf5aef20f8cb5a0c1422525d1e0
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: '1.2'
CurrentVersionCode: 2
<|file_sep|>current/metadata/ml.vivekthazhathattil.chalachithram.yml
Repo: https://github.com/VivekThazhathattil/Chalachithram/
Builds:
- versionName: '1.2'
versionCode: 2
commit: 8bb34bf7ead6ccf5aef20f8cb5a0c1422525d1e0
subdir: app
gradle:
- yes
- versionName: '1.3'
versionCode: 3
commit: 006d2dcd999959e0afe380eed3c8bda5e728409b
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: '1.2'
CurrentVersionCode: 2
<|file_sep|>updated/metadata/ml.vivekthazhathattil.chalachithram.yml
Repo: https://github.com/VivekThazhathattil/Chalachithram/
Builds:
- versionName: '1.2'
versionCode: 2
commit: 8bb34bf7ead6ccf5aef20f8cb5a0c1422525d1e0
subdir: app
gradle:
- yes
- versionName: '1.3'
versionCode: 3
commit: 006d2dcd999959e0afe380eed3c8bda5e728409b
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: '1.3'
CurrentVersionCode: 3 | 2e1870fdf0ef6c825e917ceaff1004fb2ebcc50c | metadata/ml.vivekthazhathattil.chalachithram.yml | metadata/ml.vivekthazhathattil.chalachithram.yml | YAML |
<|file_sep|>original/lib/reconn/analyzer/project_elements/class.rb
@complexity = 0
end
def add_dependency(class_name)
@dependencies << class_name.to_s
end
def add_method(method_name)
@methods << method_name
end
def methods_number
methods.size
end
def to_s
name.to_s
end
end
end
<|file_sep|>current/lib/reconn/analyzer/project_elements/class.rb
@complexity = 0
end
def add_dependency(class_name)
@dependencies << class_name.to_s
end
def add_method(method_name)
@methods << method_name
end
def methods_number
methods.size
end
def to_s
name.to_s
end
end
end
<|file_sep|>updated/lib/reconn/analyzer/project_elements/class.rb | end
def add_method(method_name)
@methods << method_name
end
def methods_number
methods.size
end
def +(other)
other.methods.each do |method|
if !@methods.index(method)
@methods << method
end
end
@dependencies += other.dependencies
self
end
def to_s | <|file_sep|>original/lib/reconn/analyzer/project_elements/class.rb
@complexity = 0
end
def add_dependency(class_name)
@dependencies << class_name.to_s
end
def add_method(method_name)
@methods << method_name
end
def methods_number
methods.size
end
def to_s
name.to_s
end
end
end
<|file_sep|>current/lib/reconn/analyzer/project_elements/class.rb
@complexity = 0
end
def add_dependency(class_name)
@dependencies << class_name.to_s
end
def add_method(method_name)
@methods << method_name
end
def methods_number
methods.size
end
def to_s
name.to_s
end
end
end
<|file_sep|>updated/lib/reconn/analyzer/project_elements/class.rb
end
def add_method(method_name)
@methods << method_name
end
def methods_number
methods.size
end
def +(other)
other.methods.each do |method|
if !@methods.index(method)
@methods << method
end
end
@dependencies += other.dependencies
self
end
def to_s | ad4fd019f5f7b6f5cfef852cfc0045c4b720d298 | lib/reconn/analyzer/project_elements/class.rb | lib/reconn/analyzer/project_elements/class.rb | Ruby |
<|file_sep|>original/package.json
"jsdom": "^9.0.0"
},
"devDependencies": {
"qunit": "^0.7.6",
"saucie": "0.1.3",
"standard": "^6.0.8",
"testem": "^0.8.2",
"watchify": "^2.5.0"
},
"engines": {
"node": "^4"
},
"keywords": [
"markdown"
],
"license": "MIT",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/domchristie/to-markdown.git"
},
<|file_sep|>current/package.json
"jsdom": "^9.0.0"
},
"devDependencies": {
"qunit": "^0.7.6",
"saucie": "0.1.3",
"standard": "^6.0.8",
"testem": "^0.8.2",
"watchify": "^2.5.0"
},
"engines": {
"node": "^4"
},
"keywords": [
"markdown"
],
"license": "MIT",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/domchristie/to-markdown.git"
},
<|file_sep|>updated/package.json | "jsdom": "^9.0.0"
},
"devDependencies": {
"qunit": "^0.7.6",
"saucie": "0.1.3",
"standard": "^6.0.8",
"testem": "^0.8.2",
"watchify": "^2.5.0"
},
"engines": {
"node": ">=4"
},
"keywords": [
"markdown"
],
"license": "MIT",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/domchristie/to-markdown.git"
}, | <|file_sep|>original/package.json
"jsdom": "^9.0.0"
},
"devDependencies": {
"qunit": "^0.7.6",
"saucie": "0.1.3",
"standard": "^6.0.8",
"testem": "^0.8.2",
"watchify": "^2.5.0"
},
"engines": {
"node": "^4"
},
"keywords": [
"markdown"
],
"license": "MIT",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/domchristie/to-markdown.git"
},
<|file_sep|>current/package.json
"jsdom": "^9.0.0"
},
"devDependencies": {
"qunit": "^0.7.6",
"saucie": "0.1.3",
"standard": "^6.0.8",
"testem": "^0.8.2",
"watchify": "^2.5.0"
},
"engines": {
"node": "^4"
},
"keywords": [
"markdown"
],
"license": "MIT",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/domchristie/to-markdown.git"
},
<|file_sep|>updated/package.json
"jsdom": "^9.0.0"
},
"devDependencies": {
"qunit": "^0.7.6",
"saucie": "0.1.3",
"standard": "^6.0.8",
"testem": "^0.8.2",
"watchify": "^2.5.0"
},
"engines": {
"node": ">=4"
},
"keywords": [
"markdown"
],
"license": "MIT",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/domchristie/to-markdown.git"
}, | 026bf560d05bae16a1ca9c13e05eccb591825498 | package.json | package.json | JSON |
<|file_sep|>original/.travis.yml
language: java
before_script:
- echo "MAVEN_OPTS='-server -Xms512m -Xmx1024m -Xss16m'" > ~/.mavenrc
script: ./travis-build.sh
jdk:
- oraclejdk8
<|file_sep|>current/.travis.yml
language: java
before_script:
- echo "MAVEN_OPTS='-server -Xms512m -Xmx1024m -Xss16m'" > ~/.mavenrc
script: ./travis-build.sh
jdk:
- oraclejdk8
<|file_sep|>updated/.travis.yml | language: java
before_script:
- echo "MAVEN_OPTS='-server -Xms512m -Xmx1024m -Xss16m'" > ~/.mavenrc
script: ./travis-build.sh
cache:
directories:
- $HOME/.m2
jdk:
- oraclejdk8 | <|file_sep|>original/.travis.yml
language: java
before_script:
- echo "MAVEN_OPTS='-server -Xms512m -Xmx1024m -Xss16m'" > ~/.mavenrc
script: ./travis-build.sh
jdk:
- oraclejdk8
<|file_sep|>current/.travis.yml
language: java
before_script:
- echo "MAVEN_OPTS='-server -Xms512m -Xmx1024m -Xss16m'" > ~/.mavenrc
script: ./travis-build.sh
jdk:
- oraclejdk8
<|file_sep|>updated/.travis.yml
language: java
before_script:
- echo "MAVEN_OPTS='-server -Xms512m -Xmx1024m -Xss16m'" > ~/.mavenrc
script: ./travis-build.sh
cache:
directories:
- $HOME/.m2
jdk:
- oraclejdk8 | e7831694407e025ac570750541cc89dd6ec48dbf | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/docs/http_proxy.md
## Using Minikube with an HTTP Proxy
Minikube creates a Virtual Machine that includes Kubernetes and a Docker daemon.
When Kubernetes attempts to schedule containers using Docker, the Docker daemon may require external network access to pull containers.
If you are behind an HTTP proxy, you may need to supply Docker with the proxy settings.
To do this, pass the required environment variables as flags during `minikube start`.
For example:
```shell
$ minikube start --docker-env HTTP_PROXY=http://$YOURPROXY:PORT \
--docker-env HTTPS_PROXY=https://$YOURPROXY:PORT
```
If your Virtual Machine address is 192.168.99.100, then chances are your proxy settings will prevent kubectl from directly reaching it.
To by-pass proxy configuration for this IP address, you should modify your no_proxy settings. You can do so with:
```shell
$ export no_proxy=$no_proxy,$(minikube ip)
```
<|file_sep|>current/docs/http_proxy.md
## Using Minikube with an HTTP Proxy
Minikube creates a Virtual Machine that includes Kubernetes and a Docker daemon.
When Kubernetes attempts to schedule containers using Docker, the Docker daemon may require external network access to pull containers.
If you are behind an HTTP proxy, you may need to supply Docker with the proxy settings.
To do this, pass the required environment variables as flags during `minikube start`.
For example:
```shell
$ minikube start --docker-env HTTP_PROXY=http://$YOURPROXY:PORT \
--docker-env HTTPS_PROXY=https://$YOURPROXY:PORT
```
If your Virtual Machine address is 192.168.99.100, then chances are your proxy settings will prevent kubectl from directly reaching it.
To by-pass proxy configuration for this IP address, you should modify your no_proxy settings. You can do so with:
```shell
$ export no_proxy=$no_proxy,$(minikube ip)
```
<|file_sep|>updated/docs/http_proxy.md | ## Using Minikube with an HTTP Proxy
Minikube creates a Virtual Machine that includes Kubernetes and a Docker daemon.
When Kubernetes attempts to schedule containers using Docker, the Docker daemon may require external network access to pull containers.
If you are behind an HTTP proxy, you may need to supply Docker with the proxy settings.
To do this, pass the required environment variables as flags during `minikube start`.
For example:
```shell
$ minikube start --docker-env=HTTP_PROXY=http://$YOURPROXY:PORT \
--docker-env=HTTPS_PROXY=https://$YOURPROXY:PORT
```
If your Virtual Machine address is 192.168.99.100, then chances are your proxy settings will prevent kubectl from directly reaching it.
To by-pass proxy configuration for this IP address, you should modify your no_proxy settings. You can do so with:
```shell
$ export no_proxy=$no_proxy,$(minikube ip)
``` | <|file_sep|>original/docs/http_proxy.md
## Using Minikube with an HTTP Proxy
Minikube creates a Virtual Machine that includes Kubernetes and a Docker daemon.
When Kubernetes attempts to schedule containers using Docker, the Docker daemon may require external network access to pull containers.
If you are behind an HTTP proxy, you may need to supply Docker with the proxy settings.
To do this, pass the required environment variables as flags during `minikube start`.
For example:
```shell
$ minikube start --docker-env HTTP_PROXY=http://$YOURPROXY:PORT \
--docker-env HTTPS_PROXY=https://$YOURPROXY:PORT
```
If your Virtual Machine address is 192.168.99.100, then chances are your proxy settings will prevent kubectl from directly reaching it.
To by-pass proxy configuration for this IP address, you should modify your no_proxy settings. You can do so with:
```shell
$ export no_proxy=$no_proxy,$(minikube ip)
```
<|file_sep|>current/docs/http_proxy.md
## Using Minikube with an HTTP Proxy
Minikube creates a Virtual Machine that includes Kubernetes and a Docker daemon.
When Kubernetes attempts to schedule containers using Docker, the Docker daemon may require external network access to pull containers.
If you are behind an HTTP proxy, you may need to supply Docker with the proxy settings.
To do this, pass the required environment variables as flags during `minikube start`.
For example:
```shell
$ minikube start --docker-env HTTP_PROXY=http://$YOURPROXY:PORT \
--docker-env HTTPS_PROXY=https://$YOURPROXY:PORT
```
If your Virtual Machine address is 192.168.99.100, then chances are your proxy settings will prevent kubectl from directly reaching it.
To by-pass proxy configuration for this IP address, you should modify your no_proxy settings. You can do so with:
```shell
$ export no_proxy=$no_proxy,$(minikube ip)
```
<|file_sep|>updated/docs/http_proxy.md
## Using Minikube with an HTTP Proxy
Minikube creates a Virtual Machine that includes Kubernetes and a Docker daemon.
When Kubernetes attempts to schedule containers using Docker, the Docker daemon may require external network access to pull containers.
If you are behind an HTTP proxy, you may need to supply Docker with the proxy settings.
To do this, pass the required environment variables as flags during `minikube start`.
For example:
```shell
$ minikube start --docker-env=HTTP_PROXY=http://$YOURPROXY:PORT \
--docker-env=HTTPS_PROXY=https://$YOURPROXY:PORT
```
If your Virtual Machine address is 192.168.99.100, then chances are your proxy settings will prevent kubectl from directly reaching it.
To by-pass proxy configuration for this IP address, you should modify your no_proxy settings. You can do so with:
```shell
$ export no_proxy=$no_proxy,$(minikube ip)
``` | 25f7224b15af09ac6db6e851e8c70daac81b82c3 | docs/http_proxy.md | docs/http_proxy.md | Markdown |
<|file_sep|>original/xbob/learn/linear/__init__.py
from ._library import *
from ._library import __version__, __api_version__
def get_include():
"""Returns the directory containing the C/C++ API include directives"""
return __import__('pkg_resources').resource_filename(__name__, 'include')
# gets sphinx autodoc done right - don't remove it
__all__ = [k for k in dir() if not k.startswith('_')]
del k
<|file_sep|>current/xbob/learn/linear/__init__.py
from ._library import *
from ._library import __version__, __api_version__
def get_include():
"""Returns the directory containing the C/C++ API include directives"""
return __import__('pkg_resources').resource_filename(__name__, 'include')
# gets sphinx autodoc done right - don't remove it
__all__ = [k for k in dir() if not k.startswith('_')]
del k
<|file_sep|>updated/xbob/learn/linear/__init__.py | from ._library import *
from ._library import __version__, __api_version__
def get_include():
"""Returns the directory containing the C/C++ API include directives"""
return __import__('pkg_resources').resource_filename(__name__, 'include')
# gets sphinx autodoc done right - don't remove it
__all__ = [_ for _ in dir() if not _.startswith('_')] | <|file_sep|>original/xbob/learn/linear/__init__.py
from ._library import *
from ._library import __version__, __api_version__
def get_include():
"""Returns the directory containing the C/C++ API include directives"""
return __import__('pkg_resources').resource_filename(__name__, 'include')
# gets sphinx autodoc done right - don't remove it
__all__ = [k for k in dir() if not k.startswith('_')]
del k
<|file_sep|>current/xbob/learn/linear/__init__.py
from ._library import *
from ._library import __version__, __api_version__
def get_include():
"""Returns the directory containing the C/C++ API include directives"""
return __import__('pkg_resources').resource_filename(__name__, 'include')
# gets sphinx autodoc done right - don't remove it
__all__ = [k for k in dir() if not k.startswith('_')]
del k
<|file_sep|>updated/xbob/learn/linear/__init__.py
from ._library import *
from ._library import __version__, __api_version__
def get_include():
"""Returns the directory containing the C/C++ API include directives"""
return __import__('pkg_resources').resource_filename(__name__, 'include')
# gets sphinx autodoc done right - don't remove it
__all__ = [_ for _ in dir() if not _.startswith('_')] | ee61a63acce97ef878e761678a0069f8fa459ea8 | xbob/learn/linear/__init__.py | xbob/learn/linear/__init__.py | Python |
<|file_sep|>original/lib/paperclip/geometry_detector_factory.rb
def make
geometry = GeometryParser.new(geometry_string.strip).make
geometry || raise(Errors::NotIdentifiedByImageMagickError.new)
end
private
def geometry_string
begin
silence_stream(STDERR) do
Paperclip.run("identify", "-format '%wx%h,%[exif:orientation]' :file", :file => "#{path}[0]")
end
rescue Cocaine::ExitStatusError
""
rescue Cocaine::CommandNotFoundError => e
raise_because_imagemagick_missing
end
end
def path
@file.respond_to?(:path) ? @file.path : @file
<|file_sep|>current/lib/paperclip/geometry_detector_factory.rb
def make
geometry = GeometryParser.new(geometry_string.strip).make
geometry || raise(Errors::NotIdentifiedByImageMagickError.new)
end
private
def geometry_string
begin
silence_stream(STDERR) do
Paperclip.run("identify", "-format '%wx%h,%[exif:orientation]' :file", :file => "#{path}[0]")
end
rescue Cocaine::ExitStatusError
""
rescue Cocaine::CommandNotFoundError => e
raise_because_imagemagick_missing
end
end
def path
@file.respond_to?(:path) ? @file.path : @file
<|file_sep|>updated/lib/paperclip/geometry_detector_factory.rb | def make
geometry = GeometryParser.new(geometry_string.strip).make
geometry || raise(Errors::NotIdentifiedByImageMagickError.new)
end
private
def geometry_string
begin
Paperclip.run(
"identify",
"-format '%wx%h,%[exif:orientation]' :file", {
:file => "#{path}[0]"
}, {
:swallow_stderr => true
}
)
rescue Cocaine::ExitStatusError
""
rescue Cocaine::CommandNotFoundError => e
raise_because_imagemagick_missing | <|file_sep|>original/lib/paperclip/geometry_detector_factory.rb
def make
geometry = GeometryParser.new(geometry_string.strip).make
geometry || raise(Errors::NotIdentifiedByImageMagickError.new)
end
private
def geometry_string
begin
silence_stream(STDERR) do
Paperclip.run("identify", "-format '%wx%h,%[exif:orientation]' :file", :file => "#{path}[0]")
end
rescue Cocaine::ExitStatusError
""
rescue Cocaine::CommandNotFoundError => e
raise_because_imagemagick_missing
end
end
def path
@file.respond_to?(:path) ? @file.path : @file
<|file_sep|>current/lib/paperclip/geometry_detector_factory.rb
def make
geometry = GeometryParser.new(geometry_string.strip).make
geometry || raise(Errors::NotIdentifiedByImageMagickError.new)
end
private
def geometry_string
begin
silence_stream(STDERR) do
Paperclip.run("identify", "-format '%wx%h,%[exif:orientation]' :file", :file => "#{path}[0]")
end
rescue Cocaine::ExitStatusError
""
rescue Cocaine::CommandNotFoundError => e
raise_because_imagemagick_missing
end
end
def path
@file.respond_to?(:path) ? @file.path : @file
<|file_sep|>updated/lib/paperclip/geometry_detector_factory.rb
def make
geometry = GeometryParser.new(geometry_string.strip).make
geometry || raise(Errors::NotIdentifiedByImageMagickError.new)
end
private
def geometry_string
begin
Paperclip.run(
"identify",
"-format '%wx%h,%[exif:orientation]' :file", {
:file => "#{path}[0]"
}, {
:swallow_stderr => true
}
)
rescue Cocaine::ExitStatusError
""
rescue Cocaine::CommandNotFoundError => e
raise_because_imagemagick_missing | 73d40d165e739193a268b54baba170ed457799ac | lib/paperclip/geometry_detector_factory.rb | lib/paperclip/geometry_detector_factory.rb | Ruby |
<|file_sep|>original/.travis.yml
language: java
jdk:
- oraclejdk7
script: "./gradlew :plugin:jpi
after_success: if [ $TRAVIS_SECURE_ENV_VARS -eq true ]; then ./gradlew :pl:bintrayUpload -PbinTrayKey=$BINTRAY_KEY -Pversion=0.1.$TRAVIS_BUILD_NUMBER
-x jar -x javadoc -x sourcesJar -x publishMavenJpiPublicationToMavenLocal"; fi
env:
global:
secure: blEUjsU8dIot/C43rEeXdun9rQns+lR0qxzMG5cvWr7m3G95LFGOyhFzw9QBaTBFlGplteZAvV6OPo56uHx38J5uGv2DrOGqbX0UoxYY/fh8JytmpESmvGvL5EmPLtgx0V7Hu4+Ts0X1PzYLV69mD5dG7bg//P5fiLzHSSqfBCs=
<|file_sep|>current/.travis.yml
language: java
jdk:
- oraclejdk7
script: "./gradlew :plugin:jpi
after_success: if [ $TRAVIS_SECURE_ENV_VARS -eq true ]; then ./gradlew :pl:bintrayUpload -PbinTrayKey=$BINTRAY_KEY -Pversion=0.1.$TRAVIS_BUILD_NUMBER
-x jar -x javadoc -x sourcesJar -x publishMavenJpiPublicationToMavenLocal"; fi
env:
global:
secure: blEUjsU8dIot/C43rEeXdun9rQns+lR0qxzMG5cvWr7m3G95LFGOyhFzw9QBaTBFlGplteZAvV6OPo56uHx38J5uGv2DrOGqbX0UoxYY/fh8JytmpESmvGvL5EmPLtgx0V7Hu4+Ts0X1PzYLV69mD5dG7bg//P5fiLzHSSqfBCs=
<|file_sep|>updated/.travis.yml | language: java
jdk:
- oraclejdk7
script: ./gradlew :plugin:jpi
after_success: if [ $TRAVIS_SECURE_ENV_VARS -eq true ]; then ./gradlew :pl:bintrayUpload -PbinTrayKey=$BINTRAY_KEY -Pversion=0.1.$TRAVIS_BUILD_NUMBER
-x jar -x javadoc -x sourcesJar -x publishMavenJpiPublicationToMavenLocal"; fi
env:
global:
secure: blEUjsU8dIot/C43rEeXdun9rQns+lR0qxzMG5cvWr7m3G95LFGOyhFzw9QBaTBFlGplteZAvV6OPo56uHx38J5uGv2DrOGqbX0UoxYY/fh8JytmpESmvGvL5EmPLtgx0V7Hu4+Ts0X1PzYLV69mD5dG7bg//P5fiLzHSSqfBCs= | <|file_sep|>original/.travis.yml
language: java
jdk:
- oraclejdk7
script: "./gradlew :plugin:jpi
after_success: if [ $TRAVIS_SECURE_ENV_VARS -eq true ]; then ./gradlew :pl:bintrayUpload -PbinTrayKey=$BINTRAY_KEY -Pversion=0.1.$TRAVIS_BUILD_NUMBER
-x jar -x javadoc -x sourcesJar -x publishMavenJpiPublicationToMavenLocal"; fi
env:
global:
secure: blEUjsU8dIot/C43rEeXdun9rQns+lR0qxzMG5cvWr7m3G95LFGOyhFzw9QBaTBFlGplteZAvV6OPo56uHx38J5uGv2DrOGqbX0UoxYY/fh8JytmpESmvGvL5EmPLtgx0V7Hu4+Ts0X1PzYLV69mD5dG7bg//P5fiLzHSSqfBCs=
<|file_sep|>current/.travis.yml
language: java
jdk:
- oraclejdk7
script: "./gradlew :plugin:jpi
after_success: if [ $TRAVIS_SECURE_ENV_VARS -eq true ]; then ./gradlew :pl:bintrayUpload -PbinTrayKey=$BINTRAY_KEY -Pversion=0.1.$TRAVIS_BUILD_NUMBER
-x jar -x javadoc -x sourcesJar -x publishMavenJpiPublicationToMavenLocal"; fi
env:
global:
secure: blEUjsU8dIot/C43rEeXdun9rQns+lR0qxzMG5cvWr7m3G95LFGOyhFzw9QBaTBFlGplteZAvV6OPo56uHx38J5uGv2DrOGqbX0UoxYY/fh8JytmpESmvGvL5EmPLtgx0V7Hu4+Ts0X1PzYLV69mD5dG7bg//P5fiLzHSSqfBCs=
<|file_sep|>updated/.travis.yml
language: java
jdk:
- oraclejdk7
script: ./gradlew :plugin:jpi
after_success: if [ $TRAVIS_SECURE_ENV_VARS -eq true ]; then ./gradlew :pl:bintrayUpload -PbinTrayKey=$BINTRAY_KEY -Pversion=0.1.$TRAVIS_BUILD_NUMBER
-x jar -x javadoc -x sourcesJar -x publishMavenJpiPublicationToMavenLocal"; fi
env:
global:
secure: blEUjsU8dIot/C43rEeXdun9rQns+lR0qxzMG5cvWr7m3G95LFGOyhFzw9QBaTBFlGplteZAvV6OPo56uHx38J5uGv2DrOGqbX0UoxYY/fh8JytmpESmvGvL5EmPLtgx0V7Hu4+Ts0X1PzYLV69mD5dG7bg//P5fiLzHSSqfBCs= | f868f3607af014c0613013fffaaf9384f5b3ce6e | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
Radium is a toolchain for handling modifiers, states, computed styles and
responsive styles for react component styling. It allows you to handle complex
component styling in a declarative, easy to write way. Component styling in
React provides a number of benefits over traditional CSS:
- Scoped styles, meaning no more global variables
- Avoids specificity conflicts
- Source order independence
- Dead code elimination
- Highly expressive
Inspired by <a href="https://speakerdeck.com/vjeux/react-css-in-js">React: CSS
in JS</a> by <a href="https://twitter.com/Vjeux">Christopher Chedeau</a>.
## What does it look like?
Write a style object and you're done:
```
Code example
```
<|file_sep|>current/README.md
Radium is a toolchain for handling modifiers, states, computed styles and
responsive styles for react component styling. It allows you to handle complex
component styling in a declarative, easy to write way. Component styling in
React provides a number of benefits over traditional CSS:
- Scoped styles, meaning no more global variables
- Avoids specificity conflicts
- Source order independence
- Dead code elimination
- Highly expressive
Inspired by <a href="https://speakerdeck.com/vjeux/react-css-in-js">React: CSS
in JS</a> by <a href="https://twitter.com/Vjeux">Christopher Chedeau</a>.
## What does it look like?
Write a style object and you're done:
```
Code example
```
<|file_sep|>updated/README.md | - Highly expressive
Inspired by <a href="https://speakerdeck.com/vjeux/react-css-in-js">React: CSS
in JS</a> by <a href="https://twitter.com/Vjeux">Christopher Chedeau</a>.
## What does it look like?
Write a style object and you're done:
```
Code example
```
## Examples
To see local examples in action, do this:
```
npm install
npm run examples
``` | <|file_sep|>original/README.md
Radium is a toolchain for handling modifiers, states, computed styles and
responsive styles for react component styling. It allows you to handle complex
component styling in a declarative, easy to write way. Component styling in
React provides a number of benefits over traditional CSS:
- Scoped styles, meaning no more global variables
- Avoids specificity conflicts
- Source order independence
- Dead code elimination
- Highly expressive
Inspired by <a href="https://speakerdeck.com/vjeux/react-css-in-js">React: CSS
in JS</a> by <a href="https://twitter.com/Vjeux">Christopher Chedeau</a>.
## What does it look like?
Write a style object and you're done:
```
Code example
```
<|file_sep|>current/README.md
Radium is a toolchain for handling modifiers, states, computed styles and
responsive styles for react component styling. It allows you to handle complex
component styling in a declarative, easy to write way. Component styling in
React provides a number of benefits over traditional CSS:
- Scoped styles, meaning no more global variables
- Avoids specificity conflicts
- Source order independence
- Dead code elimination
- Highly expressive
Inspired by <a href="https://speakerdeck.com/vjeux/react-css-in-js">React: CSS
in JS</a> by <a href="https://twitter.com/Vjeux">Christopher Chedeau</a>.
## What does it look like?
Write a style object and you're done:
```
Code example
```
<|file_sep|>updated/README.md
- Highly expressive
Inspired by <a href="https://speakerdeck.com/vjeux/react-css-in-js">React: CSS
in JS</a> by <a href="https://twitter.com/Vjeux">Christopher Chedeau</a>.
## What does it look like?
Write a style object and you're done:
```
Code example
```
## Examples
To see local examples in action, do this:
```
npm install
npm run examples
``` | d32ff2d7599eb1899ac8c74e590f7f8c05163e24 | README.md | README.md | Markdown |
<|file_sep|>original/skyfield/documentation/_templates/layout.html
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ title|striptags|e }}</title>
<link rel="stylesheet" type="text/css" href="_static/style.css">
</head>
<body>
{% if title != 'Skyfield' %}
<p class="motto">
<b>Skyfield:</b>
<a href=".">Home</a>
•
<a href="toc.html">Table of Contents</a>
•
<a href="installation.html#changelog">Changelog</a>
•
<a href="api.html">API Reference</a>
</p>
{% endif %}
<|file_sep|>current/skyfield/documentation/_templates/layout.html
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ title|striptags|e }}</title>
<link rel="stylesheet" type="text/css" href="_static/style.css">
</head>
<body>
{% if title != 'Skyfield' %}
<p class="motto">
<b>Skyfield:</b>
<a href=".">Home</a>
•
<a href="toc.html">Table of Contents</a>
•
<a href="installation.html#changelog">Changelog</a>
•
<a href="api.html">API Reference</a>
</p>
{% endif %}
<|file_sep|>updated/skyfield/documentation/_templates/layout.html | <!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ title|striptags|e }} — {% if title != 'Skyfield' %}Skyfield {% endif %}documentation</title>
<link rel="stylesheet" type="text/css" href="_static/style.css">
</head>
<body>
{% if title != 'Skyfield' %}
<p class="motto">
<b>Skyfield:</b>
<a href=".">Home</a>
•
<a href="toc.html">Table of Contents</a>
•
<a href="installation.html#changelog">Changelog</a>
•
<a href="api.html">API Reference</a>
</p>
{% endif %} | <|file_sep|>original/skyfield/documentation/_templates/layout.html
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ title|striptags|e }}</title>
<link rel="stylesheet" type="text/css" href="_static/style.css">
</head>
<body>
{% if title != 'Skyfield' %}
<p class="motto">
<b>Skyfield:</b>
<a href=".">Home</a>
•
<a href="toc.html">Table of Contents</a>
•
<a href="installation.html#changelog">Changelog</a>
•
<a href="api.html">API Reference</a>
</p>
{% endif %}
<|file_sep|>current/skyfield/documentation/_templates/layout.html
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ title|striptags|e }}</title>
<link rel="stylesheet" type="text/css" href="_static/style.css">
</head>
<body>
{% if title != 'Skyfield' %}
<p class="motto">
<b>Skyfield:</b>
<a href=".">Home</a>
•
<a href="toc.html">Table of Contents</a>
•
<a href="installation.html#changelog">Changelog</a>
•
<a href="api.html">API Reference</a>
</p>
{% endif %}
<|file_sep|>updated/skyfield/documentation/_templates/layout.html
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ title|striptags|e }} — {% if title != 'Skyfield' %}Skyfield {% endif %}documentation</title>
<link rel="stylesheet" type="text/css" href="_static/style.css">
</head>
<body>
{% if title != 'Skyfield' %}
<p class="motto">
<b>Skyfield:</b>
<a href=".">Home</a>
•
<a href="toc.html">Table of Contents</a>
•
<a href="installation.html#changelog">Changelog</a>
•
<a href="api.html">API Reference</a>
</p>
{% endif %} | 9be88261e4e1375c99f891386848521e7b2856c4 | skyfield/documentation/_templates/layout.html | skyfield/documentation/_templates/layout.html | HTML |
<|file_sep|>original/.github/workflows/deploy.yml
name: Deploy
on:
release:
types: [published]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install twine wheel
- name: Build and publish
env:
<|file_sep|>current/.github/workflows/deploy.yml
name: Deploy
on:
release:
types: [published]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install twine wheel
- name: Build and publish
env:
<|file_sep|>updated/.github/workflows/deploy.yml | name: Deploy
on:
release:
types: [published]
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install twine wheel
- name: Build and publish | <|file_sep|>original/.github/workflows/deploy.yml
name: Deploy
on:
release:
types: [published]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install twine wheel
- name: Build and publish
env:
<|file_sep|>current/.github/workflows/deploy.yml
name: Deploy
on:
release:
types: [published]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install twine wheel
- name: Build and publish
env:
<|file_sep|>updated/.github/workflows/deploy.yml
name: Deploy
on:
release:
types: [published]
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install twine wheel
- name: Build and publish | 7dfcb4a4037970e32ca7597c84dfd5e4845102d7 | .github/workflows/deploy.yml | .github/workflows/deploy.yml | YAML |
<|file_sep|>gulp/tasks/clean.js.diff
original:
updated:
'dist/cnc/app',
'dist/cnc/web',
<|file_sep|>original/gulp/tasks/clean.js
import gulp from 'gulp';
import del from 'del';
const list = [
'src/web/**/*.css',
'src/web/**/*.css.map',
'src/web/**/*.js.map',
'dist/**/*',
// exclusion
'!src/web/vendor/**'
];
export default (options) => {
gulp.task('clean', (callback) => {
del(list).then(() => {
callback();
});
});
};
<|file_sep|>current/gulp/tasks/clean.js
import gulp from 'gulp';
import del from 'del';
const list = [
'dist/cnc/app',
'dist/cnc/web',
'src/web/**/*.css',
'src/web/**/*.css.map',
'src/web/**/*.js.map',
'dist/**/*',
// exclusion
'!src/web/vendor/**'
];
export default (options) => {
gulp.task('clean', (callback) => {
del(list).then(() => {
callback();
});
});
};
<|file_sep|>updated/gulp/tasks/clean.js | import gulp from 'gulp';
import del from 'del';
const list = [
'dist/cnc/app',
'dist/cnc/web',
'src/web/**/*.css',
'src/web/**/*.css.map',
'src/web/**/*.js.map',
// exclusion
'!src/web/vendor/**'
];
export default (options) => {
gulp.task('clean', (callback) => {
del(list).then(() => {
callback();
});
});
}; | <|file_sep|>gulp/tasks/clean.js.diff
original:
updated:
'dist/cnc/app',
'dist/cnc/web',
<|file_sep|>original/gulp/tasks/clean.js
import gulp from 'gulp';
import del from 'del';
const list = [
'src/web/**/*.css',
'src/web/**/*.css.map',
'src/web/**/*.js.map',
'dist/**/*',
// exclusion
'!src/web/vendor/**'
];
export default (options) => {
gulp.task('clean', (callback) => {
del(list).then(() => {
callback();
});
});
};
<|file_sep|>current/gulp/tasks/clean.js
import gulp from 'gulp';
import del from 'del';
const list = [
'dist/cnc/app',
'dist/cnc/web',
'src/web/**/*.css',
'src/web/**/*.css.map',
'src/web/**/*.js.map',
'dist/**/*',
// exclusion
'!src/web/vendor/**'
];
export default (options) => {
gulp.task('clean', (callback) => {
del(list).then(() => {
callback();
});
});
};
<|file_sep|>updated/gulp/tasks/clean.js
import gulp from 'gulp';
import del from 'del';
const list = [
'dist/cnc/app',
'dist/cnc/web',
'src/web/**/*.css',
'src/web/**/*.css.map',
'src/web/**/*.js.map',
// exclusion
'!src/web/vendor/**'
];
export default (options) => {
gulp.task('clean', (callback) => {
del(list).then(() => {
callback();
});
});
}; | 29ec5b25a9a10568e98eee4bd6964e58090ac470 | gulp/tasks/clean.js | gulp/tasks/clean.js | JavaScript |
<|file_sep|>packages/do/dominion.yaml.diff
original:
hash: 520869f32852ac947161e709ce79d4ed74321dddf16305f90514cfe3b4d61db1
updated:
hash: 7161099301957a5c1a5770fd6f833495a9a1e8895f708510168539defd3d198f
<|file_sep|>packages/do/dominion.yaml.diff
original:
base: ==4.6.*
hspec: ==1.7.2.1
lens: ==3.9.0.2
random-extras: ==0.19
mtl: ==2.1.2
random-fu: ==0.2.4.0
transformers: ==0.3.0.0
random: ==1.0.1.1
hscolour: ==1.20.3
updated:
base: -any
hspec: -any
containers: -any
lens: -any
mtl: -any
random: -any
<|file_sep|>packages/do/dominion.yaml.diff
original:
base: ==4.6.*
lens: ==3.9.0.2
random-extras: ==0.19
mtl: ==2.1.2
random-fu: ==0.2.4.0
transformers: ==0.3.0.0
random: ==1.0.1.1
hscolour: ==1.20.3
updated:
base: <5
containers: -any
lens: -any
mtl: -any
random: -any
<|file_sep|>packages/do/dominion.yaml.diff
original:
updated:
- '0.1.1.0'
<|file_sep|>original/packages/do/dominion.yaml
random: ==1.0.1.1
hscolour: ==1.20.3
dominion: -any
maintainer: bluemangroupie@gmail.com
synopsis: A simulator for the board game Dominion.
changelog: ''
basic-deps:
base: ==4.6.*
lens: ==3.9.0.2
random-extras: ==0.19
mtl: ==2.1.2
random-fu: ==0.2.4.0
transformers: ==0.3.0.0
random: ==1.0.1.1
hscolour: ==1.20.3
all-versions:
- '0.1.0.0'
- '0.1.0.1'
- '0.1.0.2'
- '0.1.0.3'
- '0.1.0.4'
<|file_sep|>current/packages/do/dominion.yaml
maintainer: bluemangroupie@gmail.com
synopsis: A simulator for the board game Dominion.
changelog: ''
basic-deps:
base: <5
containers: -any
lens: -any
mtl: -any
random: -any
all-versions:
- '0.1.0.0'
- '0.1.0.1'
- '0.1.0.2'
- '0.1.0.3'
- '0.1.0.4'
- '0.1.1.0'
author: Aditya Bhargava
latest: '0.1.0.4'
description-type: haddock
description: A simulator for the board game Dominion.
license-name: BSD3
<|file_sep|>updated/packages/do/dominion.yaml | maintainer: bluemangroupie@gmail.com
synopsis: A simulator for the board game Dominion.
changelog: ''
basic-deps:
base: <5
containers: -any
lens: -any
mtl: -any
random: -any
all-versions:
- '0.1.0.0'
- '0.1.0.1'
- '0.1.0.2'
- '0.1.0.3'
- '0.1.0.4'
- '0.1.1.0'
author: Aditya Bhargava
latest: '0.1.1.0'
description-type: haddock
description: A simulator for the board game Dominion.
license-name: BSD3 | <|file_sep|>packages/do/dominion.yaml.diff
original:
hash: 520869f32852ac947161e709ce79d4ed74321dddf16305f90514cfe3b4d61db1
updated:
hash: 7161099301957a5c1a5770fd6f833495a9a1e8895f708510168539defd3d198f
<|file_sep|>packages/do/dominion.yaml.diff
original:
base: ==4.6.*
hspec: ==1.7.2.1
lens: ==3.9.0.2
random-extras: ==0.19
mtl: ==2.1.2
random-fu: ==0.2.4.0
transformers: ==0.3.0.0
random: ==1.0.1.1
hscolour: ==1.20.3
updated:
base: -any
hspec: -any
containers: -any
lens: -any
mtl: -any
random: -any
<|file_sep|>packages/do/dominion.yaml.diff
original:
base: ==4.6.*
lens: ==3.9.0.2
random-extras: ==0.19
mtl: ==2.1.2
random-fu: ==0.2.4.0
transformers: ==0.3.0.0
random: ==1.0.1.1
hscolour: ==1.20.3
updated:
base: <5
containers: -any
lens: -any
mtl: -any
random: -any
<|file_sep|>packages/do/dominion.yaml.diff
original:
updated:
- '0.1.1.0'
<|file_sep|>original/packages/do/dominion.yaml
random: ==1.0.1.1
hscolour: ==1.20.3
dominion: -any
maintainer: bluemangroupie@gmail.com
synopsis: A simulator for the board game Dominion.
changelog: ''
basic-deps:
base: ==4.6.*
lens: ==3.9.0.2
random-extras: ==0.19
mtl: ==2.1.2
random-fu: ==0.2.4.0
transformers: ==0.3.0.0
random: ==1.0.1.1
hscolour: ==1.20.3
all-versions:
- '0.1.0.0'
- '0.1.0.1'
- '0.1.0.2'
- '0.1.0.3'
- '0.1.0.4'
<|file_sep|>current/packages/do/dominion.yaml
maintainer: bluemangroupie@gmail.com
synopsis: A simulator for the board game Dominion.
changelog: ''
basic-deps:
base: <5
containers: -any
lens: -any
mtl: -any
random: -any
all-versions:
- '0.1.0.0'
- '0.1.0.1'
- '0.1.0.2'
- '0.1.0.3'
- '0.1.0.4'
- '0.1.1.0'
author: Aditya Bhargava
latest: '0.1.0.4'
description-type: haddock
description: A simulator for the board game Dominion.
license-name: BSD3
<|file_sep|>updated/packages/do/dominion.yaml
maintainer: bluemangroupie@gmail.com
synopsis: A simulator for the board game Dominion.
changelog: ''
basic-deps:
base: <5
containers: -any
lens: -any
mtl: -any
random: -any
all-versions:
- '0.1.0.0'
- '0.1.0.1'
- '0.1.0.2'
- '0.1.0.3'
- '0.1.0.4'
- '0.1.1.0'
author: Aditya Bhargava
latest: '0.1.1.0'
description-type: haddock
description: A simulator for the board game Dominion.
license-name: BSD3 | 5a9d622467815953973d3ed072131b4370661faf | packages/do/dominion.yaml | packages/do/dominion.yaml | YAML |
<|file_sep|>original/net.resheim.eclipse.equationwriter-feature/feature.xml
</description>
<copyright>
%copyright
</copyright>
<license>
%license
</license>
<plugin
id="net.resheim.eclipse.equationwriter.core"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="net.resheim.eclipse.equationwriter.mathjax"
download-size="0"
install-size="0"
<|file_sep|>current/net.resheim.eclipse.equationwriter-feature/feature.xml
</description>
<copyright>
%copyright
</copyright>
<license>
%license
</license>
<plugin
id="net.resheim.eclipse.equationwriter.core"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="net.resheim.eclipse.equationwriter.mathjax"
download-size="0"
install-size="0"
<|file_sep|>updated/net.resheim.eclipse.equationwriter-feature/feature.xml | </description>
<copyright>
%copyright
</copyright>
<license>
%license
</license>
<requires>
<import plugin="org.eclipse.ui"/>
<import plugin="org.eclipse.ui.browser"/>
<import plugin="org.eclipse.core.runtime"/>
<import plugin="org.eclipse.jface.text"/>
<import plugin="org.eclipse.ui.workbench"/>
<import plugin="org.eclipse.ui.forms"/>
<import plugin="org.eclipse.swt"/>
<import plugin="org.eclipse.ui.editors"/>
<import plugin="org.eclipse.mylyn.wikitext"/>
<import plugin="com.google.guava"/> | <|file_sep|>original/net.resheim.eclipse.equationwriter-feature/feature.xml
</description>
<copyright>
%copyright
</copyright>
<license>
%license
</license>
<plugin
id="net.resheim.eclipse.equationwriter.core"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="net.resheim.eclipse.equationwriter.mathjax"
download-size="0"
install-size="0"
<|file_sep|>current/net.resheim.eclipse.equationwriter-feature/feature.xml
</description>
<copyright>
%copyright
</copyright>
<license>
%license
</license>
<plugin
id="net.resheim.eclipse.equationwriter.core"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="net.resheim.eclipse.equationwriter.mathjax"
download-size="0"
install-size="0"
<|file_sep|>updated/net.resheim.eclipse.equationwriter-feature/feature.xml
</description>
<copyright>
%copyright
</copyright>
<license>
%license
</license>
<requires>
<import plugin="org.eclipse.ui"/>
<import plugin="org.eclipse.ui.browser"/>
<import plugin="org.eclipse.core.runtime"/>
<import plugin="org.eclipse.jface.text"/>
<import plugin="org.eclipse.ui.workbench"/>
<import plugin="org.eclipse.ui.forms"/>
<import plugin="org.eclipse.swt"/>
<import plugin="org.eclipse.ui.editors"/>
<import plugin="org.eclipse.mylyn.wikitext"/>
<import plugin="com.google.guava"/> | abef1d285eb426d4811821101d3090634d09b6c7 | net.resheim.eclipse.equationwriter-feature/feature.xml | net.resheim.eclipse.equationwriter-feature/feature.xml | XML |
<|file_sep|>test/AsmResolver.DotNet.Tests/Bundles/BundleFileTest.cs.diff
original:
string contents = Encoding.UTF8.GetString(file.GetData());
updated:
string contents = Encoding.UTF8.GetString(file.GetData()).Replace("\r", "");
<|file_sep|>original/test/AsmResolver.DotNet.Tests/Bundles/BundleFileTest.cs
""runtimeOptions"": {
""tfm"": ""net6.0"",
""framework"": {
""name"": ""Microsoft.NETCore.App"",
""version"": ""6.0.0""
},
""configProperties"": {
""System.Reflection.Metadata.MetadataUpdater.IsSupported"": false
}
}
}", contents);
}
[Fact]
public void ReadUncompressedAssemblyContents()
{
var manifest = BundleManifest.FromBytes(Properties.Resources.HelloWorld_SingleFile_V6);
var bundleFile = manifest.Files.First(f => f.RelativePath == "HelloWorld.dll");
var embeddedImage = ModuleDefinition.FromBytes(bundleFile.GetData());
Assert.Equal("HelloWorld.dll", embeddedImage.Name);
<|file_sep|>current/test/AsmResolver.DotNet.Tests/Bundles/BundleFileTest.cs
""runtimeOptions"": {
""tfm"": ""net6.0"",
""framework"": {
""name"": ""Microsoft.NETCore.App"",
""version"": ""6.0.0""
},
""configProperties"": {
""System.Reflection.Metadata.MetadataUpdater.IsSupported"": false
}
}
}", contents);
}
[Fact]
public void ReadUncompressedAssemblyContents()
{
var manifest = BundleManifest.FromBytes(Properties.Resources.HelloWorld_SingleFile_V6);
var bundleFile = manifest.Files.First(f => f.RelativePath == "HelloWorld.dll");
var embeddedImage = ModuleDefinition.FromBytes(bundleFile.GetData());
Assert.Equal("HelloWorld.dll", embeddedImage.Name);
<|file_sep|>updated/test/AsmResolver.DotNet.Tests/Bundles/BundleFileTest.cs | ""runtimeOptions"": {
""tfm"": ""net6.0"",
""framework"": {
""name"": ""Microsoft.NETCore.App"",
""version"": ""6.0.0""
},
""configProperties"": {
""System.Reflection.Metadata.MetadataUpdater.IsSupported"": false
}
}
}".Replace("\r", ""), contents);
}
[Fact]
public void ReadUncompressedAssemblyContents()
{
var manifest = BundleManifest.FromBytes(Properties.Resources.HelloWorld_SingleFile_V6);
var bundleFile = manifest.Files.First(f => f.RelativePath == "HelloWorld.dll");
var embeddedImage = ModuleDefinition.FromBytes(bundleFile.GetData());
Assert.Equal("HelloWorld.dll", embeddedImage.Name); | <|file_sep|>test/AsmResolver.DotNet.Tests/Bundles/BundleFileTest.cs.diff
original:
string contents = Encoding.UTF8.GetString(file.GetData());
updated:
string contents = Encoding.UTF8.GetString(file.GetData()).Replace("\r", "");
<|file_sep|>original/test/AsmResolver.DotNet.Tests/Bundles/BundleFileTest.cs
""runtimeOptions"": {
""tfm"": ""net6.0"",
""framework"": {
""name"": ""Microsoft.NETCore.App"",
""version"": ""6.0.0""
},
""configProperties"": {
""System.Reflection.Metadata.MetadataUpdater.IsSupported"": false
}
}
}", contents);
}
[Fact]
public void ReadUncompressedAssemblyContents()
{
var manifest = BundleManifest.FromBytes(Properties.Resources.HelloWorld_SingleFile_V6);
var bundleFile = manifest.Files.First(f => f.RelativePath == "HelloWorld.dll");
var embeddedImage = ModuleDefinition.FromBytes(bundleFile.GetData());
Assert.Equal("HelloWorld.dll", embeddedImage.Name);
<|file_sep|>current/test/AsmResolver.DotNet.Tests/Bundles/BundleFileTest.cs
""runtimeOptions"": {
""tfm"": ""net6.0"",
""framework"": {
""name"": ""Microsoft.NETCore.App"",
""version"": ""6.0.0""
},
""configProperties"": {
""System.Reflection.Metadata.MetadataUpdater.IsSupported"": false
}
}
}", contents);
}
[Fact]
public void ReadUncompressedAssemblyContents()
{
var manifest = BundleManifest.FromBytes(Properties.Resources.HelloWorld_SingleFile_V6);
var bundleFile = manifest.Files.First(f => f.RelativePath == "HelloWorld.dll");
var embeddedImage = ModuleDefinition.FromBytes(bundleFile.GetData());
Assert.Equal("HelloWorld.dll", embeddedImage.Name);
<|file_sep|>updated/test/AsmResolver.DotNet.Tests/Bundles/BundleFileTest.cs
""runtimeOptions"": {
""tfm"": ""net6.0"",
""framework"": {
""name"": ""Microsoft.NETCore.App"",
""version"": ""6.0.0""
},
""configProperties"": {
""System.Reflection.Metadata.MetadataUpdater.IsSupported"": false
}
}
}".Replace("\r", ""), contents);
}
[Fact]
public void ReadUncompressedAssemblyContents()
{
var manifest = BundleManifest.FromBytes(Properties.Resources.HelloWorld_SingleFile_V6);
var bundleFile = manifest.Files.First(f => f.RelativePath == "HelloWorld.dll");
var embeddedImage = ModuleDefinition.FromBytes(bundleFile.GetData());
Assert.Equal("HelloWorld.dll", embeddedImage.Name); | b43b84afce38dd4a9aeefa847e6a2096f93b59b0 | test/AsmResolver.DotNet.Tests/Bundles/BundleFileTest.cs | test/AsmResolver.DotNet.Tests/Bundles/BundleFileTest.cs | C# |
<|file_sep|>original/go/src/socialapi/workers/sitemap/sitemapinitializer/main.go
Name = "SitemapInitializer"
)
func main() {
r := runner.New(Name)
if err := r.Init(); err != nil {
fmt.Println(err)
return
}
defer r.Close()
redisConn := helper.MustInitRedisConn(r.Conf)
defer redisConn.Close()
controller := feeder.New(r.Log)
if err := controller.Start(); err != nil {
r.Log.Fatal("Could not finish sitemap initialization: %s", err)
}
}
<|file_sep|>current/go/src/socialapi/workers/sitemap/sitemapinitializer/main.go
Name = "SitemapInitializer"
)
func main() {
r := runner.New(Name)
if err := r.Init(); err != nil {
fmt.Println(err)
return
}
defer r.Close()
redisConn := helper.MustInitRedisConn(r.Conf)
defer redisConn.Close()
controller := feeder.New(r.Log)
if err := controller.Start(); err != nil {
r.Log.Fatal("Could not finish sitemap initialization: %s", err)
}
}
<|file_sep|>updated/go/src/socialapi/workers/sitemap/sitemapinitializer/main.go | )
func main() {
r := runner.New(Name)
if err := r.Init(); err != nil {
fmt.Println(err)
return
}
defer r.Close()
conf := *r.Conf
conf.Redis.DB = r.Conf.Sitemap.RedisDB
redisConn := helper.MustInitRedisConn(r.Conf)
defer redisConn.Close()
controller := feeder.New(r.Log)
if err := controller.Start(); err != nil {
r.Log.Fatal("Could not finish sitemap initialization: %s", err)
} | <|file_sep|>original/go/src/socialapi/workers/sitemap/sitemapinitializer/main.go
Name = "SitemapInitializer"
)
func main() {
r := runner.New(Name)
if err := r.Init(); err != nil {
fmt.Println(err)
return
}
defer r.Close()
redisConn := helper.MustInitRedisConn(r.Conf)
defer redisConn.Close()
controller := feeder.New(r.Log)
if err := controller.Start(); err != nil {
r.Log.Fatal("Could not finish sitemap initialization: %s", err)
}
}
<|file_sep|>current/go/src/socialapi/workers/sitemap/sitemapinitializer/main.go
Name = "SitemapInitializer"
)
func main() {
r := runner.New(Name)
if err := r.Init(); err != nil {
fmt.Println(err)
return
}
defer r.Close()
redisConn := helper.MustInitRedisConn(r.Conf)
defer redisConn.Close()
controller := feeder.New(r.Log)
if err := controller.Start(); err != nil {
r.Log.Fatal("Could not finish sitemap initialization: %s", err)
}
}
<|file_sep|>updated/go/src/socialapi/workers/sitemap/sitemapinitializer/main.go
)
func main() {
r := runner.New(Name)
if err := r.Init(); err != nil {
fmt.Println(err)
return
}
defer r.Close()
conf := *r.Conf
conf.Redis.DB = r.Conf.Sitemap.RedisDB
redisConn := helper.MustInitRedisConn(r.Conf)
defer redisConn.Close()
controller := feeder.New(r.Log)
if err := controller.Start(); err != nil {
r.Log.Fatal("Could not finish sitemap initialization: %s", err)
} | dc03a6bdf11bfe36757e96e7fa2b765d30f8a308 | go/src/socialapi/workers/sitemap/sitemapinitializer/main.go | go/src/socialapi/workers/sitemap/sitemapinitializer/main.go | Go |
<|file_sep|>original/src/views/layout/footer.blade.php
<?php
use Illuminate\Support\Facades\Request;
use Orchestra\Support\Facades\Asset; ?>
<footer>
<div class="container">
<hr>
<p>© 2012 Orchestra Platform</p>
</div>
</footer>
<?php
$asset = Asset::container('orchestra/foundation::footer');
$asset->script('bootstrap', 'packages/orchestra/foundation/vendor/bootstrap/js/bootstrap.min.js');
$asset->script('jquery-ui', 'packages/orchestra/foundation/vendor/jquery.ui.js');
$asset->script('orchestra', 'packages/orchestra/foundation/js/script.min.js', array('bootstrap', 'jquery-ui'));
$asset->script('jui-toggleSwitch', 'packages/orchestra/foundation/vendor/delta/js/jquery-ui.toggleSwitch.js', array('jquery-ui'));
$asset->script('select2', 'packages/orchestra/foundation/vendor/select2/select2.min.js');
<|file_sep|>current/src/views/layout/footer.blade.php
<?php
use Illuminate\Support\Facades\Request;
use Orchestra\Support\Facades\Asset; ?>
<footer>
<div class="container">
<hr>
<p>© 2012 Orchestra Platform</p>
</div>
</footer>
<?php
$asset = Asset::container('orchestra/foundation::footer');
$asset->script('bootstrap', 'packages/orchestra/foundation/vendor/bootstrap/js/bootstrap.min.js');
$asset->script('jquery-ui', 'packages/orchestra/foundation/vendor/jquery.ui.js');
$asset->script('orchestra', 'packages/orchestra/foundation/js/script.min.js', array('bootstrap', 'jquery-ui'));
$asset->script('jui-toggleSwitch', 'packages/orchestra/foundation/vendor/delta/js/jquery-ui.toggleSwitch.js', array('jquery-ui'));
$asset->script('select2', 'packages/orchestra/foundation/vendor/select2/select2.min.js');
<|file_sep|>updated/src/views/layout/footer.blade.php | <?php
use Illuminate\Support\Facades\Request;
use Orchestra\Support\Facades\Asset; ?>
<footer>
<div class="container">
<hr>
<p>
Powered by <a href="http://orchestraplatform.com" target="_blank">Orchestra Platform</a>.
</p>
</div>
</footer>
<?php
$asset = Asset::container('orchestra/foundation::footer');
$asset->script('bootstrap', 'packages/orchestra/foundation/vendor/bootstrap/js/bootstrap.min.js');
$asset->script('jquery-ui', 'packages/orchestra/foundation/vendor/jquery.ui.js');
$asset->script('orchestra', 'packages/orchestra/foundation/js/script.min.js', array('bootstrap', 'jquery-ui')); | <|file_sep|>original/src/views/layout/footer.blade.php
<?php
use Illuminate\Support\Facades\Request;
use Orchestra\Support\Facades\Asset; ?>
<footer>
<div class="container">
<hr>
<p>© 2012 Orchestra Platform</p>
</div>
</footer>
<?php
$asset = Asset::container('orchestra/foundation::footer');
$asset->script('bootstrap', 'packages/orchestra/foundation/vendor/bootstrap/js/bootstrap.min.js');
$asset->script('jquery-ui', 'packages/orchestra/foundation/vendor/jquery.ui.js');
$asset->script('orchestra', 'packages/orchestra/foundation/js/script.min.js', array('bootstrap', 'jquery-ui'));
$asset->script('jui-toggleSwitch', 'packages/orchestra/foundation/vendor/delta/js/jquery-ui.toggleSwitch.js', array('jquery-ui'));
$asset->script('select2', 'packages/orchestra/foundation/vendor/select2/select2.min.js');
<|file_sep|>current/src/views/layout/footer.blade.php
<?php
use Illuminate\Support\Facades\Request;
use Orchestra\Support\Facades\Asset; ?>
<footer>
<div class="container">
<hr>
<p>© 2012 Orchestra Platform</p>
</div>
</footer>
<?php
$asset = Asset::container('orchestra/foundation::footer');
$asset->script('bootstrap', 'packages/orchestra/foundation/vendor/bootstrap/js/bootstrap.min.js');
$asset->script('jquery-ui', 'packages/orchestra/foundation/vendor/jquery.ui.js');
$asset->script('orchestra', 'packages/orchestra/foundation/js/script.min.js', array('bootstrap', 'jquery-ui'));
$asset->script('jui-toggleSwitch', 'packages/orchestra/foundation/vendor/delta/js/jquery-ui.toggleSwitch.js', array('jquery-ui'));
$asset->script('select2', 'packages/orchestra/foundation/vendor/select2/select2.min.js');
<|file_sep|>updated/src/views/layout/footer.blade.php
<?php
use Illuminate\Support\Facades\Request;
use Orchestra\Support\Facades\Asset; ?>
<footer>
<div class="container">
<hr>
<p>
Powered by <a href="http://orchestraplatform.com" target="_blank">Orchestra Platform</a>.
</p>
</div>
</footer>
<?php
$asset = Asset::container('orchestra/foundation::footer');
$asset->script('bootstrap', 'packages/orchestra/foundation/vendor/bootstrap/js/bootstrap.min.js');
$asset->script('jquery-ui', 'packages/orchestra/foundation/vendor/jquery.ui.js');
$asset->script('orchestra', 'packages/orchestra/foundation/js/script.min.js', array('bootstrap', 'jquery-ui')); | d497b63edf55f6bb2c114271335107d71f733b50 | src/views/layout/footer.blade.php | src/views/layout/footer.blade.php | PHP |
<|file_sep|>original/camoco/Exceptions.py
def __init__(self,expr,message='',*args):
self.expr = expr
self.message = 'Gene names must be unique:' + message.format(args)
class CamocoAccessionNameError(CamocoError):
'''
Accession names must be Unique.
'''
def __init__(self,expr,message='',*args):
self.expr = expr
self.message = (
'Accession names must be unique:' + message.format(args)
)
class CamocoZeroWindowError(CamocoError):
def __init__(self,expr,message,*args):
self.expr = expr
self.message = (
'Operation requiring window, but window is 0:' + \
message.format(args)
)
<|file_sep|>current/camoco/Exceptions.py
def __init__(self,expr,message='',*args):
self.expr = expr
self.message = 'Gene names must be unique:' + message.format(args)
class CamocoAccessionNameError(CamocoError):
'''
Accession names must be Unique.
'''
def __init__(self,expr,message='',*args):
self.expr = expr
self.message = (
'Accession names must be unique:' + message.format(args)
)
class CamocoZeroWindowError(CamocoError):
def __init__(self,expr,message,*args):
self.expr = expr
self.message = (
'Operation requiring window, but window is 0:' + \
message.format(args)
)
<|file_sep|>updated/camoco/Exceptions.py | '''
Accession names must be Unique.
'''
def __init__(self,expr,message='',*args):
self.expr = expr
self.message = (
'Accession names must be unique:' + message.format(args)
)
class CamocoZeroWindowError(CamocoError):
def __init__(self,expr,message,*args):
self.expr = expr
self.message = (
'Operation requiring window, but window is 0:' + \
message.format(args)
)
class CamocoInteractive(CamocoError):
def __init__(self,expr=None,message='',*args):
self.expr = expr
self.message = 'Camoco interactive ipython session.' | <|file_sep|>original/camoco/Exceptions.py
def __init__(self,expr,message='',*args):
self.expr = expr
self.message = 'Gene names must be unique:' + message.format(args)
class CamocoAccessionNameError(CamocoError):
'''
Accession names must be Unique.
'''
def __init__(self,expr,message='',*args):
self.expr = expr
self.message = (
'Accession names must be unique:' + message.format(args)
)
class CamocoZeroWindowError(CamocoError):
def __init__(self,expr,message,*args):
self.expr = expr
self.message = (
'Operation requiring window, but window is 0:' + \
message.format(args)
)
<|file_sep|>current/camoco/Exceptions.py
def __init__(self,expr,message='',*args):
self.expr = expr
self.message = 'Gene names must be unique:' + message.format(args)
class CamocoAccessionNameError(CamocoError):
'''
Accession names must be Unique.
'''
def __init__(self,expr,message='',*args):
self.expr = expr
self.message = (
'Accession names must be unique:' + message.format(args)
)
class CamocoZeroWindowError(CamocoError):
def __init__(self,expr,message,*args):
self.expr = expr
self.message = (
'Operation requiring window, but window is 0:' + \
message.format(args)
)
<|file_sep|>updated/camoco/Exceptions.py
'''
Accession names must be Unique.
'''
def __init__(self,expr,message='',*args):
self.expr = expr
self.message = (
'Accession names must be unique:' + message.format(args)
)
class CamocoZeroWindowError(CamocoError):
def __init__(self,expr,message,*args):
self.expr = expr
self.message = (
'Operation requiring window, but window is 0:' + \
message.format(args)
)
class CamocoInteractive(CamocoError):
def __init__(self,expr=None,message='',*args):
self.expr = expr
self.message = 'Camoco interactive ipython session.' | f5e8bfaf5c4f7a2131fbe0ffd0f8d14a316b907e | camoco/Exceptions.py | camoco/Exceptions.py | Python |
<|file_sep|>original/algorithms/DynamicProgramming/TheMaximumSubarray.scala
<|file_sep|>current/algorithms/DynamicProgramming/TheMaximumSubarray.scala
<|file_sep|>updated/algorithms/DynamicProgramming/TheMaximumSubarray.scala | object Solution {
def maxSumOfContiguousSubarray(nums: Array[Int]): Int = {
var sum = 0
var result = sum
for (n <- nums){
sum += n
result = result max sum
if (sum <= 0) sum = 0
}
result
}
def main(args: Array[String]) {
val t = readLine.toInt
for (_ <- 1 to t) {
val _ = readLine
val nums = readLine.split(" ").map(_.toInt)
val maxSum = nums.filter(_ >= 0).sum
if (maxSum == 0) {
val max = nums.max | <|file_sep|>original/algorithms/DynamicProgramming/TheMaximumSubarray.scala
<|file_sep|>current/algorithms/DynamicProgramming/TheMaximumSubarray.scala
<|file_sep|>updated/algorithms/DynamicProgramming/TheMaximumSubarray.scala
object Solution {
def maxSumOfContiguousSubarray(nums: Array[Int]): Int = {
var sum = 0
var result = sum
for (n <- nums){
sum += n
result = result max sum
if (sum <= 0) sum = 0
}
result
}
def main(args: Array[String]) {
val t = readLine.toInt
for (_ <- 1 to t) {
val _ = readLine
val nums = readLine.split(" ").map(_.toInt)
val maxSum = nums.filter(_ >= 0).sum
if (maxSum == 0) {
val max = nums.max | a08c6b1c5da5a477ff49f4bd65bbe7681c21943c | algorithms/DynamicProgramming/TheMaximumSubarray.scala | algorithms/DynamicProgramming/TheMaximumSubarray.scala | Scala |
<|file_sep|>original/functions/dc_grep.sh
<|file_sep|>current/functions/dc_grep.sh
<|file_sep|>updated/functions/dc_grep.sh | dc_grep(){
if [[ ! "$1" == "" ]]; then
if [[ ! "$2" == "" ]]; then
watch 'docker-compose logs '"$1"' | grep '"$2"' | sed "s/^[^|]*|[^\ ]*\ .*\]/\n==>/" | tail'
else
watch 'docker-compose logs | grep '"$1"' | sed "s/^[^|]*|[^\ ]*\ .*\]/\n==>/" | tail'
fi
else
watch 'docker-compose logs | sed "s/^[^|]*|[^\ ]*\ .*\]/\n==>/" | tail'
fi
} | <|file_sep|>original/functions/dc_grep.sh
<|file_sep|>current/functions/dc_grep.sh
<|file_sep|>updated/functions/dc_grep.sh
dc_grep(){
if [[ ! "$1" == "" ]]; then
if [[ ! "$2" == "" ]]; then
watch 'docker-compose logs '"$1"' | grep '"$2"' | sed "s/^[^|]*|[^\ ]*\ .*\]/\n==>/" | tail'
else
watch 'docker-compose logs | grep '"$1"' | sed "s/^[^|]*|[^\ ]*\ .*\]/\n==>/" | tail'
fi
else
watch 'docker-compose logs | sed "s/^[^|]*|[^\ ]*\ .*\]/\n==>/" | tail'
fi
} | 4c571c23cb565ab31ec811353bb53ccfd17ea660 | functions/dc_grep.sh | functions/dc_grep.sh | Shell |
<|file_sep|>original/app/views/ranking/_ranking.html.erb
<|file_sep|>current/app/views/ranking/_ranking.html.erb
<|file_sep|>updated/app/views/ranking/_ranking.html.erb | <table class="table table-hover">
<thead>
<tr>
<th style="width:100px">Posição</th>
<th>Usuário</th>
<th>Quantidade</th>
</tr>
</thead>
<tbody>
<% @i = 0 %>
<% top_users.each do |user| %>
<tr>
<td> <center><span class="ranking-potision"><%= "#{@i += 1} º"%></span></center></td>
<td>
<div class="hidden-xs col-sm-2">
<%= link_to gravatar_for(user, class: "img-circle img-responsive"), user %>
</div>
<div class="col-xs-12 col-sm-8" style="font-size:30px;padding-top:5px">
<%= link_to user.at_username, user.at_username %>
</div>
</td> | <|file_sep|>original/app/views/ranking/_ranking.html.erb
<|file_sep|>current/app/views/ranking/_ranking.html.erb
<|file_sep|>updated/app/views/ranking/_ranking.html.erb
<table class="table table-hover">
<thead>
<tr>
<th style="width:100px">Posição</th>
<th>Usuário</th>
<th>Quantidade</th>
</tr>
</thead>
<tbody>
<% @i = 0 %>
<% top_users.each do |user| %>
<tr>
<td> <center><span class="ranking-potision"><%= "#{@i += 1} º"%></span></center></td>
<td>
<div class="hidden-xs col-sm-2">
<%= link_to gravatar_for(user, class: "img-circle img-responsive"), user %>
</div>
<div class="col-xs-12 col-sm-8" style="font-size:30px;padding-top:5px">
<%= link_to user.at_username, user.at_username %>
</div>
</td> | 428ba19f5a079f245e2d2c9e373ddb43747ff60f | app/views/ranking/_ranking.html.erb | app/views/ranking/_ranking.html.erb | HTML+ERB |
<|file_sep|>original/src/CMakeLists.txt
#
# Building libreset
#
include_directories(${PROJECT_SOURCE_DIR}/include)
#
# We use the var SOURCE_FILES to hold all source files to be linked together
# into libreset. Additionally, checks checky may be performed on that source
# files.
#
set(SOURCE_FILES
libreset/avl.c
libreset/ht.c
libreset/bloom.c
libreset/ll.c
libreset/set.c
)
<|file_sep|>current/src/CMakeLists.txt
#
# Building libreset
#
include_directories(${PROJECT_SOURCE_DIR}/include)
#
# We use the var SOURCE_FILES to hold all source files to be linked together
# into libreset. Additionally, checks checky may be performed on that source
# files.
#
set(SOURCE_FILES
libreset/avl.c
libreset/ht.c
libreset/bloom.c
libreset/ll.c
libreset/set.c
)
<|file_sep|>updated/src/CMakeLists.txt | #
# Building libreset
#
include_directories(${PROJECT_SOURCE_DIR}/include)
include_directories(${PROJECT_SOURCE_DIR}/src/libreset)
#
# We use the var SOURCE_FILES to hold all source files to be linked together
# into libreset. Additionally, checks checky may be performed on that source
# files.
#
set(SOURCE_FILES
libreset/avl.c
libreset/ht.c
libreset/bloom.c
libreset/ll.c
libreset/set.c
) | <|file_sep|>original/src/CMakeLists.txt
#
# Building libreset
#
include_directories(${PROJECT_SOURCE_DIR}/include)
#
# We use the var SOURCE_FILES to hold all source files to be linked together
# into libreset. Additionally, checks checky may be performed on that source
# files.
#
set(SOURCE_FILES
libreset/avl.c
libreset/ht.c
libreset/bloom.c
libreset/ll.c
libreset/set.c
)
<|file_sep|>current/src/CMakeLists.txt
#
# Building libreset
#
include_directories(${PROJECT_SOURCE_DIR}/include)
#
# We use the var SOURCE_FILES to hold all source files to be linked together
# into libreset. Additionally, checks checky may be performed on that source
# files.
#
set(SOURCE_FILES
libreset/avl.c
libreset/ht.c
libreset/bloom.c
libreset/ll.c
libreset/set.c
)
<|file_sep|>updated/src/CMakeLists.txt
#
# Building libreset
#
include_directories(${PROJECT_SOURCE_DIR}/include)
include_directories(${PROJECT_SOURCE_DIR}/src/libreset)
#
# We use the var SOURCE_FILES to hold all source files to be linked together
# into libreset. Additionally, checks checky may be performed on that source
# files.
#
set(SOURCE_FILES
libreset/avl.c
libreset/ht.c
libreset/bloom.c
libreset/ll.c
libreset/set.c
) | c05f95eec47b690712a68146336068e0db8eb1d0 | src/CMakeLists.txt | src/CMakeLists.txt | Text |
<|file_sep|>original/faraday-request-timer.gemspec
Gem::Specification.new do |spec|
spec.name = "faraday-request-timer"
spec.version = FaradayRequestTimer::VERSION
spec.authors = ["Brandon Weiss"]
spec.email = ["brandon@anti-pattern.com"]
spec.summary = %q{Faraday request timing}
spec.description = %q{Includes the request time in a Faraday response}
spec.homepage = "http://github.com/canaryup/faraday-request-timer"
spec.license = "MIT"
spec.files = Dir["lib/**/*.rb"] + Dir["test/**/*.rb"]
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.add_dependency "faraday", ">= 0.9.0"
spec.add_development_dependency "bundler", "~> 1.5"
spec.add_development_dependency "mocha", "~> 1.1.0"
end
<|file_sep|>current/faraday-request-timer.gemspec
Gem::Specification.new do |spec|
spec.name = "faraday-request-timer"
spec.version = FaradayRequestTimer::VERSION
spec.authors = ["Brandon Weiss"]
spec.email = ["brandon@anti-pattern.com"]
spec.summary = %q{Faraday request timing}
spec.description = %q{Includes the request time in a Faraday response}
spec.homepage = "http://github.com/canaryup/faraday-request-timer"
spec.license = "MIT"
spec.files = Dir["lib/**/*.rb"] + Dir["test/**/*.rb"]
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.add_dependency "faraday", ">= 0.9.0"
spec.add_development_dependency "bundler", "~> 1.5"
spec.add_development_dependency "mocha", "~> 1.1.0"
end
<|file_sep|>updated/faraday-request-timer.gemspec | Gem::Specification.new do |spec|
spec.name = "faraday-request-timer"
spec.version = FaradayRequestTimer::VERSION
spec.authors = ["Brandon Weiss"]
spec.email = ["brandon@anti-pattern.com"]
spec.summary = %q{Faraday request timing}
spec.description = %q{Includes the request time in a Faraday response}
spec.homepage = "http://github.com/canaryup/faraday-request-timer"
spec.license = "MIT"
spec.files = Dir["lib/**/*.rb"] + Dir["test/**/*.rb"]
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.add_dependency "faraday", ">= 0.9.0"
spec.add_development_dependency "bundler", "~> 1.5"
spec.add_development_dependency "minitest", "~> 5.11.3"
spec.add_development_dependency "mocha", "~> 1.1.0"
end | <|file_sep|>original/faraday-request-timer.gemspec
Gem::Specification.new do |spec|
spec.name = "faraday-request-timer"
spec.version = FaradayRequestTimer::VERSION
spec.authors = ["Brandon Weiss"]
spec.email = ["brandon@anti-pattern.com"]
spec.summary = %q{Faraday request timing}
spec.description = %q{Includes the request time in a Faraday response}
spec.homepage = "http://github.com/canaryup/faraday-request-timer"
spec.license = "MIT"
spec.files = Dir["lib/**/*.rb"] + Dir["test/**/*.rb"]
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.add_dependency "faraday", ">= 0.9.0"
spec.add_development_dependency "bundler", "~> 1.5"
spec.add_development_dependency "mocha", "~> 1.1.0"
end
<|file_sep|>current/faraday-request-timer.gemspec
Gem::Specification.new do |spec|
spec.name = "faraday-request-timer"
spec.version = FaradayRequestTimer::VERSION
spec.authors = ["Brandon Weiss"]
spec.email = ["brandon@anti-pattern.com"]
spec.summary = %q{Faraday request timing}
spec.description = %q{Includes the request time in a Faraday response}
spec.homepage = "http://github.com/canaryup/faraday-request-timer"
spec.license = "MIT"
spec.files = Dir["lib/**/*.rb"] + Dir["test/**/*.rb"]
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.add_dependency "faraday", ">= 0.9.0"
spec.add_development_dependency "bundler", "~> 1.5"
spec.add_development_dependency "mocha", "~> 1.1.0"
end
<|file_sep|>updated/faraday-request-timer.gemspec
Gem::Specification.new do |spec|
spec.name = "faraday-request-timer"
spec.version = FaradayRequestTimer::VERSION
spec.authors = ["Brandon Weiss"]
spec.email = ["brandon@anti-pattern.com"]
spec.summary = %q{Faraday request timing}
spec.description = %q{Includes the request time in a Faraday response}
spec.homepage = "http://github.com/canaryup/faraday-request-timer"
spec.license = "MIT"
spec.files = Dir["lib/**/*.rb"] + Dir["test/**/*.rb"]
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.add_dependency "faraday", ">= 0.9.0"
spec.add_development_dependency "bundler", "~> 1.5"
spec.add_development_dependency "minitest", "~> 5.11.3"
spec.add_development_dependency "mocha", "~> 1.1.0"
end | 96d04a8f85f886378017b6b3feb43e96d7297bfe | faraday-request-timer.gemspec | faraday-request-timer.gemspec | Ruby |
<|file_sep|>original/package.json
"repository": {
"type": "git",
"url": "https://github.com/Yimgo/sndcld.git"
},
"dependencies": {
"express": "~4",
"express-handlebars": "~2.0",
"express-session": "~1.11",
"follow-redirects": "0.0.3",
"passport": "~0.2",
"passport-soundcloud": "~0.1",
"q": "~1.2",
"session-file-store": "~0.0.9"
},
"devDependencies": {
"chai": "~2.2",
"chai-as-promised": "~5.0",
"mocha": "~2.2",
"proxyquire": "~1.4.0"
}
}
<|file_sep|>current/package.json
"repository": {
"type": "git",
"url": "https://github.com/Yimgo/sndcld.git"
},
"dependencies": {
"express": "~4",
"express-handlebars": "~2.0",
"express-session": "~1.11",
"follow-redirects": "0.0.3",
"passport": "~0.2",
"passport-soundcloud": "~0.1",
"q": "~1.2",
"session-file-store": "~0.0.9"
},
"devDependencies": {
"chai": "~2.2",
"chai-as-promised": "~5.0",
"mocha": "~2.2",
"proxyquire": "~1.4.0"
}
}
<|file_sep|>updated/package.json | "type": "git",
"url": "https://github.com/Yimgo/sndcld.git"
},
"dependencies": {
"express": "~4",
"express-handlebars": "~2.0",
"express-session": "~1.11",
"follow-redirects": "0.0.3",
"passport": "~0.2",
"passport-soundcloud": "~0.1",
"q": "~1.2",
"querystring": "~0.2.0",
"session-file-store": "~0.0.9"
},
"devDependencies": {
"chai": "~2.2",
"chai-as-promised": "~5.0",
"mocha": "~2.2",
"proxyquire": "~1.4.0"
}
} | <|file_sep|>original/package.json
"repository": {
"type": "git",
"url": "https://github.com/Yimgo/sndcld.git"
},
"dependencies": {
"express": "~4",
"express-handlebars": "~2.0",
"express-session": "~1.11",
"follow-redirects": "0.0.3",
"passport": "~0.2",
"passport-soundcloud": "~0.1",
"q": "~1.2",
"session-file-store": "~0.0.9"
},
"devDependencies": {
"chai": "~2.2",
"chai-as-promised": "~5.0",
"mocha": "~2.2",
"proxyquire": "~1.4.0"
}
}
<|file_sep|>current/package.json
"repository": {
"type": "git",
"url": "https://github.com/Yimgo/sndcld.git"
},
"dependencies": {
"express": "~4",
"express-handlebars": "~2.0",
"express-session": "~1.11",
"follow-redirects": "0.0.3",
"passport": "~0.2",
"passport-soundcloud": "~0.1",
"q": "~1.2",
"session-file-store": "~0.0.9"
},
"devDependencies": {
"chai": "~2.2",
"chai-as-promised": "~5.0",
"mocha": "~2.2",
"proxyquire": "~1.4.0"
}
}
<|file_sep|>updated/package.json
"type": "git",
"url": "https://github.com/Yimgo/sndcld.git"
},
"dependencies": {
"express": "~4",
"express-handlebars": "~2.0",
"express-session": "~1.11",
"follow-redirects": "0.0.3",
"passport": "~0.2",
"passport-soundcloud": "~0.1",
"q": "~1.2",
"querystring": "~0.2.0",
"session-file-store": "~0.0.9"
},
"devDependencies": {
"chai": "~2.2",
"chai-as-promised": "~5.0",
"mocha": "~2.2",
"proxyquire": "~1.4.0"
}
} | 46441a772d0bb6d4c4c3981ebe52451947c29404 | package.json | package.json | JSON |
<|file_sep|>imports/startup/server/start-cron.js.diff
original:
updated:
console.log('ENV=', process.env.REPORTS_HOUR);
console.log(typeof process.env.REPORTS_HOUR);
<|file_sep|>imports/startup/server/start-cron.js.diff
original:
.on(11)
updated:
.on(Number(process.env.REPORTS_HOUR))
<|file_sep|>original/imports/startup/server/start-cron.js
},
job() {
sendReports(undefined, EndOfMonthEnum.LAST_DAY);
},
});
SyncedCron.add({
name: 'Send reports for users with end of month on day 20',
schedule(parser) {
return parser.recur()
.on(21)
.dayOfMonth()
.on(11)
.hour();
},
job() {
sendReports(undefined, EndOfMonthEnum.DAY_20);
},
});
SyncedCron.start();
<|file_sep|>current/imports/startup/server/start-cron.js
},
job() {
sendReports(undefined, EndOfMonthEnum.LAST_DAY);
},
});
SyncedCron.add({
name: 'Send reports for users with end of month on day 20',
schedule(parser) {
return parser.recur()
.on(21)
.dayOfMonth()
.on(11)
.hour();
},
job() {
sendReports(undefined, EndOfMonthEnum.DAY_20);
},
});
SyncedCron.start();
<|file_sep|>updated/imports/startup/server/start-cron.js | },
job() {
sendReports(undefined, EndOfMonthEnum.LAST_DAY);
},
});
SyncedCron.add({
name: 'Send reports for users with end of month on day 20',
schedule(parser) {
return parser.recur()
.on(21)
.dayOfMonth()
.on(Number(process.env.REPORTS_HOUR))
.hour();
},
job() {
sendReports(undefined, EndOfMonthEnum.DAY_20);
},
});
SyncedCron.start(); | <|file_sep|>imports/startup/server/start-cron.js.diff
original:
updated:
console.log('ENV=', process.env.REPORTS_HOUR);
console.log(typeof process.env.REPORTS_HOUR);
<|file_sep|>imports/startup/server/start-cron.js.diff
original:
.on(11)
updated:
.on(Number(process.env.REPORTS_HOUR))
<|file_sep|>original/imports/startup/server/start-cron.js
},
job() {
sendReports(undefined, EndOfMonthEnum.LAST_DAY);
},
});
SyncedCron.add({
name: 'Send reports for users with end of month on day 20',
schedule(parser) {
return parser.recur()
.on(21)
.dayOfMonth()
.on(11)
.hour();
},
job() {
sendReports(undefined, EndOfMonthEnum.DAY_20);
},
});
SyncedCron.start();
<|file_sep|>current/imports/startup/server/start-cron.js
},
job() {
sendReports(undefined, EndOfMonthEnum.LAST_DAY);
},
});
SyncedCron.add({
name: 'Send reports for users with end of month on day 20',
schedule(parser) {
return parser.recur()
.on(21)
.dayOfMonth()
.on(11)
.hour();
},
job() {
sendReports(undefined, EndOfMonthEnum.DAY_20);
},
});
SyncedCron.start();
<|file_sep|>updated/imports/startup/server/start-cron.js
},
job() {
sendReports(undefined, EndOfMonthEnum.LAST_DAY);
},
});
SyncedCron.add({
name: 'Send reports for users with end of month on day 20',
schedule(parser) {
return parser.recur()
.on(21)
.dayOfMonth()
.on(Number(process.env.REPORTS_HOUR))
.hour();
},
job() {
sendReports(undefined, EndOfMonthEnum.DAY_20);
},
});
SyncedCron.start(); | 314c0aca61f4aa426702e1f6c36baf5b58c536d2 | imports/startup/server/start-cron.js | imports/startup/server/start-cron.js | JavaScript |
<|file_sep|>original/integrationtests/mayavi/test_mlab_envisage.py
from mayavi import mlab
from pyface.api import GUI
def close():
"""Close the scene."""
f = mlab.gcf()
e = mlab.get_engine()
e.window.workbench.prompt_on_exit = False
e.window.close()
def test_mlab_envisage():
"""Test if mlab runs correctly when the backend is set to
'envisage'."""
@mlab.show
def f():
mlab.options.backend = 'envisage'
mlab.test_contour3d()
GUI.invoke_after(3000, close)
f()
<|file_sep|>current/integrationtests/mayavi/test_mlab_envisage.py
from mayavi import mlab
from pyface.api import GUI
def close():
"""Close the scene."""
f = mlab.gcf()
e = mlab.get_engine()
e.window.workbench.prompt_on_exit = False
e.window.close()
def test_mlab_envisage():
"""Test if mlab runs correctly when the backend is set to
'envisage'."""
@mlab.show
def f():
mlab.options.backend = 'envisage'
mlab.test_contour3d()
GUI.invoke_after(3000, close)
f()
<|file_sep|>updated/integrationtests/mayavi/test_mlab_envisage.py | from mayavi import mlab
from pyface.api import GUI
def close():
"""Close the scene."""
f = mlab.gcf()
e = mlab.get_engine()
e.window.workbench.prompt_on_exit = False
e.window.close()
# Hack: on Linux the splash screen does not go away so we force it.
GUI.invoke_after(500, e.window.workbench.application.gui.stop_event_loop)
def test_mlab_envisage():
"""Test if mlab runs correctly when the backend is set to
'envisage'."""
@mlab.show
def f():
mlab.options.backend = 'envisage'
mlab.test_contour3d()
GUI.invoke_after(3000, close)
| <|file_sep|>original/integrationtests/mayavi/test_mlab_envisage.py
from mayavi import mlab
from pyface.api import GUI
def close():
"""Close the scene."""
f = mlab.gcf()
e = mlab.get_engine()
e.window.workbench.prompt_on_exit = False
e.window.close()
def test_mlab_envisage():
"""Test if mlab runs correctly when the backend is set to
'envisage'."""
@mlab.show
def f():
mlab.options.backend = 'envisage'
mlab.test_contour3d()
GUI.invoke_after(3000, close)
f()
<|file_sep|>current/integrationtests/mayavi/test_mlab_envisage.py
from mayavi import mlab
from pyface.api import GUI
def close():
"""Close the scene."""
f = mlab.gcf()
e = mlab.get_engine()
e.window.workbench.prompt_on_exit = False
e.window.close()
def test_mlab_envisage():
"""Test if mlab runs correctly when the backend is set to
'envisage'."""
@mlab.show
def f():
mlab.options.backend = 'envisage'
mlab.test_contour3d()
GUI.invoke_after(3000, close)
f()
<|file_sep|>updated/integrationtests/mayavi/test_mlab_envisage.py
from mayavi import mlab
from pyface.api import GUI
def close():
"""Close the scene."""
f = mlab.gcf()
e = mlab.get_engine()
e.window.workbench.prompt_on_exit = False
e.window.close()
# Hack: on Linux the splash screen does not go away so we force it.
GUI.invoke_after(500, e.window.workbench.application.gui.stop_event_loop)
def test_mlab_envisage():
"""Test if mlab runs correctly when the backend is set to
'envisage'."""
@mlab.show
def f():
mlab.options.backend = 'envisage'
mlab.test_contour3d()
GUI.invoke_after(3000, close)
| 6ee60074bfcf9fcd0e1b1f36b4c0324f41532d6d | integrationtests/mayavi/test_mlab_envisage.py | integrationtests/mayavi/test_mlab_envisage.py | Python |
<|file_sep|>original/contact/index.html
<a href="{{ contact.url }}">
{{ contact.alternative }}
<img src="{{ site.baseurl }}{{ contact.icon }}" alt="{{ contact.text }}" />
</a>
</li>
{% endfor %}
</ul>
<address>
Peter Heywood <br />
Department of Computer Science <br />
The University of Sheffield <br />
Regent Court <br />
211 Portobello <br />
Sheffield <br />
S1 4DP
</address>
<div class="iframe-container">
<iframe width="100%" height="100%" frameborder="0" style="border:0" src="https://www.google.com/maps/embed/v1/place?q=211%20Portobello%2C%20Sheffield%2C%20United%20Kingdom&key=AIzaSyAO6xuhoa46CTyNBOfqy4-cSkkaXkcIcpA" allowfullscreen></iframe>
</div>
</section>
<|file_sep|>current/contact/index.html
<a href="{{ contact.url }}">
{{ contact.alternative }}
<img src="{{ site.baseurl }}{{ contact.icon }}" alt="{{ contact.text }}" />
</a>
</li>
{% endfor %}
</ul>
<address>
Peter Heywood <br />
Department of Computer Science <br />
The University of Sheffield <br />
Regent Court <br />
211 Portobello <br />
Sheffield <br />
S1 4DP
</address>
<div class="iframe-container">
<iframe width="100%" height="100%" frameborder="0" style="border:0" src="https://www.google.com/maps/embed/v1/place?q=211%20Portobello%2C%20Sheffield%2C%20United%20Kingdom&key=AIzaSyAO6xuhoa46CTyNBOfqy4-cSkkaXkcIcpA" allowfullscreen></iframe>
</div>
</section>
<|file_sep|>updated/contact/index.html | <ul class="vertical-contact-list">
{% assign sorted_contact = site.data.contact | sort: 'contact_order' %}
{% for contact in sorted_contact %}
<li>
<a href="{{ contact.url }}">
{{ contact.alternative }}
<img src="{{ site.baseurl }}{{ contact.icon }}" alt="{{ contact.text }}" />
</a>
</li>
{% endfor %}
</ul>
<address>
Peter Heywood <br />
Department of Computer Science <br />
The University of Sheffield <br />
Regent Court <br />
211 Portobello <br />
Sheffield <br />
S1 4DP
</address>
</section> | <|file_sep|>original/contact/index.html
<a href="{{ contact.url }}">
{{ contact.alternative }}
<img src="{{ site.baseurl }}{{ contact.icon }}" alt="{{ contact.text }}" />
</a>
</li>
{% endfor %}
</ul>
<address>
Peter Heywood <br />
Department of Computer Science <br />
The University of Sheffield <br />
Regent Court <br />
211 Portobello <br />
Sheffield <br />
S1 4DP
</address>
<div class="iframe-container">
<iframe width="100%" height="100%" frameborder="0" style="border:0" src="https://www.google.com/maps/embed/v1/place?q=211%20Portobello%2C%20Sheffield%2C%20United%20Kingdom&key=AIzaSyAO6xuhoa46CTyNBOfqy4-cSkkaXkcIcpA" allowfullscreen></iframe>
</div>
</section>
<|file_sep|>current/contact/index.html
<a href="{{ contact.url }}">
{{ contact.alternative }}
<img src="{{ site.baseurl }}{{ contact.icon }}" alt="{{ contact.text }}" />
</a>
</li>
{% endfor %}
</ul>
<address>
Peter Heywood <br />
Department of Computer Science <br />
The University of Sheffield <br />
Regent Court <br />
211 Portobello <br />
Sheffield <br />
S1 4DP
</address>
<div class="iframe-container">
<iframe width="100%" height="100%" frameborder="0" style="border:0" src="https://www.google.com/maps/embed/v1/place?q=211%20Portobello%2C%20Sheffield%2C%20United%20Kingdom&key=AIzaSyAO6xuhoa46CTyNBOfqy4-cSkkaXkcIcpA" allowfullscreen></iframe>
</div>
</section>
<|file_sep|>updated/contact/index.html
<ul class="vertical-contact-list">
{% assign sorted_contact = site.data.contact | sort: 'contact_order' %}
{% for contact in sorted_contact %}
<li>
<a href="{{ contact.url }}">
{{ contact.alternative }}
<img src="{{ site.baseurl }}{{ contact.icon }}" alt="{{ contact.text }}" />
</a>
</li>
{% endfor %}
</ul>
<address>
Peter Heywood <br />
Department of Computer Science <br />
The University of Sheffield <br />
Regent Court <br />
211 Portobello <br />
Sheffield <br />
S1 4DP
</address>
</section> | 690fc50e71ad44da11e809e809a3fa4af7c337a7 | contact/index.html | contact/index.html | HTML |
<|file_sep|>app/assets/stylesheets/application.css.scss.diff
original:
body { padding-top: 70px; }
updated:
body { padding-top: 7rem; }
<|file_sep|>app/assets/stylesheets/application.css.scss.diff
original:
body { margin-bottom: 40px; }
updated:
body { margin-bottom: 4rem; }
<|file_sep|>app/assets/stylesheets/application.css.scss.diff
original:
height: 40px;
updated:
height: 4rem;
<|file_sep|>original/app/assets/stylesheets/application.css.scss
}
img.disabled {
//see http://blog.nmsdvid.com/css-filter-property/
//see http://stackoverflow.com/a/11842712
filter: grayscale(100%) contrast(30%);
opacity: 0.3;
}
.drink-panel img {
height: 100px;
width: 100px;
}
.panel-body {
flex: 1 1 0;
overflow: hidden;
}
#user-page-avatar-holder img {
width: 100%;
height: auto;
<|file_sep|>current/app/assets/stylesheets/application.css.scss
}
img.disabled {
//see http://blog.nmsdvid.com/css-filter-property/
//see http://stackoverflow.com/a/11842712
filter: grayscale(100%) contrast(30%);
opacity: 0.3;
}
.drink-panel img {
height: 100px;
width: 100px;
}
.panel-body {
flex: 1 1 0;
overflow: hidden;
}
#user-page-avatar-holder img {
width: 100%;
height: auto;
<|file_sep|>updated/app/assets/stylesheets/application.css.scss | }
img.disabled {
//see http://blog.nmsdvid.com/css-filter-property/
//see http://stackoverflow.com/a/11842712
filter: grayscale(100%) contrast(30%);
opacity: 0.3;
}
.drink-panel img {
height: 10rem;
width: 10rem;
}
.panel-body {
flex: 1 1 0;
overflow: hidden;
}
#user-page-avatar-holder img {
width: 100%;
height: auto; | <|file_sep|>app/assets/stylesheets/application.css.scss.diff
original:
body { padding-top: 70px; }
updated:
body { padding-top: 7rem; }
<|file_sep|>app/assets/stylesheets/application.css.scss.diff
original:
body { margin-bottom: 40px; }
updated:
body { margin-bottom: 4rem; }
<|file_sep|>app/assets/stylesheets/application.css.scss.diff
original:
height: 40px;
updated:
height: 4rem;
<|file_sep|>original/app/assets/stylesheets/application.css.scss
}
img.disabled {
//see http://blog.nmsdvid.com/css-filter-property/
//see http://stackoverflow.com/a/11842712
filter: grayscale(100%) contrast(30%);
opacity: 0.3;
}
.drink-panel img {
height: 100px;
width: 100px;
}
.panel-body {
flex: 1 1 0;
overflow: hidden;
}
#user-page-avatar-holder img {
width: 100%;
height: auto;
<|file_sep|>current/app/assets/stylesheets/application.css.scss
}
img.disabled {
//see http://blog.nmsdvid.com/css-filter-property/
//see http://stackoverflow.com/a/11842712
filter: grayscale(100%) contrast(30%);
opacity: 0.3;
}
.drink-panel img {
height: 100px;
width: 100px;
}
.panel-body {
flex: 1 1 0;
overflow: hidden;
}
#user-page-avatar-holder img {
width: 100%;
height: auto;
<|file_sep|>updated/app/assets/stylesheets/application.css.scss
}
img.disabled {
//see http://blog.nmsdvid.com/css-filter-property/
//see http://stackoverflow.com/a/11842712
filter: grayscale(100%) contrast(30%);
opacity: 0.3;
}
.drink-panel img {
height: 10rem;
width: 10rem;
}
.panel-body {
flex: 1 1 0;
overflow: hidden;
}
#user-page-avatar-holder img {
width: 100%;
height: auto; | 4195bd2542e16d5f74ba8b1b3d2811fcd31cf904 | app/assets/stylesheets/application.css.scss | app/assets/stylesheets/application.css.scss | SCSS |
<|file_sep|>original/source/custom_rules.xml
<|file_sep|>current/source/custom_rules.xml
<|file_sep|>updated/source/custom_rules.xml | <?xml version="1.0" encoding="UTF-8"?>
<project name="custom_rules">
<target name="-pre-build">
<echo message="Generating res/raw/oauth.properties, key is ${oauth.api_key}, callback is ${oauth.callback}" />
<propertyfile file="res/raw/oauth.properties" comment="OAuth properties">
<entry key="api_key" value="${oauth.api_key}"/>
<entry key="callback" value="${oauth.callback}"/>
</propertyfile>
</target>
</project> | <|file_sep|>original/source/custom_rules.xml
<|file_sep|>current/source/custom_rules.xml
<|file_sep|>updated/source/custom_rules.xml
<?xml version="1.0" encoding="UTF-8"?>
<project name="custom_rules">
<target name="-pre-build">
<echo message="Generating res/raw/oauth.properties, key is ${oauth.api_key}, callback is ${oauth.callback}" />
<propertyfile file="res/raw/oauth.properties" comment="OAuth properties">
<entry key="api_key" value="${oauth.api_key}"/>
<entry key="callback" value="${oauth.callback}"/>
</propertyfile>
</target>
</project> | 8da42bd6a8160e18c26331dda7ad87159ca78e14 | source/custom_rules.xml | source/custom_rules.xml | XML |
<|file_sep|>metadata/org.billthefarmer.editor.txt.diff
original:
updated:
Build:1.01,101
commit=v1.01
gradle=yes
<|file_sep|>original/metadata/org.billthefarmer.editor.txt
Auto Name:Editor
Summary:Simple generic text editor
Description:
This is a very simple generic text editor which may be used standalone or to
show or edit any sort of text file from another app. If you select a text file
in a file manager or similar app you will be offered the option of using this
editor along with whatever other apps you have installed that can show or edit a
text file.
.
Repo Type:git
Repo:https://github.com/billthefarmer/editor
Build:1.0,1
commit=v1.0
gradle=yes
Auto Update Mode:Version v%v
Update Check Mode:Tags
Current Version:1.0
Current Version Code:1
<|file_sep|>current/metadata/org.billthefarmer.editor.txt
show or edit any sort of text file from another app. If you select a text file
in a file manager or similar app you will be offered the option of using this
editor along with whatever other apps you have installed that can show or edit a
text file.
.
Repo Type:git
Repo:https://github.com/billthefarmer/editor
Build:1.0,1
commit=v1.0
gradle=yes
Build:1.01,101
commit=v1.01
gradle=yes
Auto Update Mode:Version v%v
Update Check Mode:Tags
Current Version:1.0
Current Version Code:1
<|file_sep|>updated/metadata/org.billthefarmer.editor.txt | show or edit any sort of text file from another app. If you select a text file
in a file manager or similar app you will be offered the option of using this
editor along with whatever other apps you have installed that can show or edit a
text file.
.
Repo Type:git
Repo:https://github.com/billthefarmer/editor
Build:1.0,1
commit=v1.0
gradle=yes
Build:1.01,101
commit=v1.01
gradle=yes
Auto Update Mode:Version v%v
Update Check Mode:Tags
Current Version:1.01
Current Version Code:101 | <|file_sep|>metadata/org.billthefarmer.editor.txt.diff
original:
updated:
Build:1.01,101
commit=v1.01
gradle=yes
<|file_sep|>original/metadata/org.billthefarmer.editor.txt
Auto Name:Editor
Summary:Simple generic text editor
Description:
This is a very simple generic text editor which may be used standalone or to
show or edit any sort of text file from another app. If you select a text file
in a file manager or similar app you will be offered the option of using this
editor along with whatever other apps you have installed that can show or edit a
text file.
.
Repo Type:git
Repo:https://github.com/billthefarmer/editor
Build:1.0,1
commit=v1.0
gradle=yes
Auto Update Mode:Version v%v
Update Check Mode:Tags
Current Version:1.0
Current Version Code:1
<|file_sep|>current/metadata/org.billthefarmer.editor.txt
show or edit any sort of text file from another app. If you select a text file
in a file manager or similar app you will be offered the option of using this
editor along with whatever other apps you have installed that can show or edit a
text file.
.
Repo Type:git
Repo:https://github.com/billthefarmer/editor
Build:1.0,1
commit=v1.0
gradle=yes
Build:1.01,101
commit=v1.01
gradle=yes
Auto Update Mode:Version v%v
Update Check Mode:Tags
Current Version:1.0
Current Version Code:1
<|file_sep|>updated/metadata/org.billthefarmer.editor.txt
show or edit any sort of text file from another app. If you select a text file
in a file manager or similar app you will be offered the option of using this
editor along with whatever other apps you have installed that can show or edit a
text file.
.
Repo Type:git
Repo:https://github.com/billthefarmer/editor
Build:1.0,1
commit=v1.0
gradle=yes
Build:1.01,101
commit=v1.01
gradle=yes
Auto Update Mode:Version v%v
Update Check Mode:Tags
Current Version:1.01
Current Version Code:101 | b86a6305137200d369cb78db419c39905960b677 | metadata/org.billthefarmer.editor.txt | metadata/org.billthefarmer.editor.txt | Text |
<|file_sep|>original/src/Configuration/MenuConfiguration.php
<|file_sep|>current/src/Configuration/MenuConfiguration.php
<|file_sep|>updated/src/Configuration/MenuConfiguration.php | <?php
namespace LAG\AdminBundle\Configuration;
use JK\Configuration\Configuration;
use Symfony\Component\OptionsResolver\Options;
use Symfony\Component\OptionsResolver\OptionsResolver;
class MenuConfiguration extends Configuration
{
/**
* @var string
*/
private $menuName;
public function __construct(string $menuName)
{
$this->menuName = $menuName;
parent::__construct();
} | <|file_sep|>original/src/Configuration/MenuConfiguration.php
<|file_sep|>current/src/Configuration/MenuConfiguration.php
<|file_sep|>updated/src/Configuration/MenuConfiguration.php
<?php
namespace LAG\AdminBundle\Configuration;
use JK\Configuration\Configuration;
use Symfony\Component\OptionsResolver\Options;
use Symfony\Component\OptionsResolver\OptionsResolver;
class MenuConfiguration extends Configuration
{
/**
* @var string
*/
private $menuName;
public function __construct(string $menuName)
{
$this->menuName = $menuName;
parent::__construct();
} | 9d349828587aa5647d6797f7bb7fe0dd3565640d | src/Configuration/MenuConfiguration.php | src/Configuration/MenuConfiguration.php | PHP |
<|file_sep|>original/package.json
"email": "pdubroy@gmail.com",
"url": "http://dubroy.com"
},
"license": "MIT",
"main": "main.js",
"dependencies": {},
"devDependencies": {
"browserify": "^5.9.1",
"jshint": "^2.5.2",
"tape": "^2.13.4",
"watchify": "^1.0.1"
},
"scripts": {
"init-repo": "mkdir bin dist lib third_party; npm init && git remote rm origin; git reset --soft ceac6c && git commit --amend -m 'Create project.'",
"build": "browserify -s $(pwd) -o dist/$(pwd)-bundle.js main.js",
"watch": "watchify -s $(pwd) -o dist/$(pwd)-bundle.js main.js",
"test": "tape test/*.js",
"prepublish": "npm run build && npm run test && npm run lint",
"lint": "jshint *.js lib/*.js test/*.js"
}
}
<|file_sep|>current/package.json
"email": "pdubroy@gmail.com",
"url": "http://dubroy.com"
},
"license": "MIT",
"main": "main.js",
"dependencies": {},
"devDependencies": {
"browserify": "^5.9.1",
"jshint": "^2.5.2",
"tape": "^2.13.4",
"watchify": "^1.0.1"
},
"scripts": {
"init-repo": "mkdir bin dist lib third_party; npm init && git remote rm origin; git reset --soft ceac6c && git commit --amend -m 'Create project.'",
"build": "browserify -s $(pwd) -o dist/$(pwd)-bundle.js main.js",
"watch": "watchify -s $(pwd) -o dist/$(pwd)-bundle.js main.js",
"test": "tape test/*.js",
"prepublish": "npm run build && npm run test && npm run lint",
"lint": "jshint *.js lib/*.js test/*.js"
}
}
<|file_sep|>updated/package.json | "email": "pdubroy@gmail.com",
"url": "http://dubroy.com"
},
"license": "MIT",
"main": "main.js",
"dependencies": {},
"devDependencies": {
"browserify": "^5.9.1",
"jshint": "^2.5.2",
"tape": "^2.13.4",
"watchify": "^1.0.1"
},
"scripts": {
"init-repo": "mkdir bin dist lib third_party; git remote rm origin; npm init && git reset --soft ceac6c && git add . && git commit --amend -m 'Initial commit.'",
"build": "browserify -s $(pwd) -o dist/$(pwd)-bundle.js main.js",
"watch": "watchify -s $(pwd) -o dist/$(pwd)-bundle.js main.js",
"test": "tape test/*.js",
"prepublish": "npm run build && npm run test && npm run lint",
"lint": "jshint *.js lib/*.js test/*.js"
}
} | <|file_sep|>original/package.json
"email": "pdubroy@gmail.com",
"url": "http://dubroy.com"
},
"license": "MIT",
"main": "main.js",
"dependencies": {},
"devDependencies": {
"browserify": "^5.9.1",
"jshint": "^2.5.2",
"tape": "^2.13.4",
"watchify": "^1.0.1"
},
"scripts": {
"init-repo": "mkdir bin dist lib third_party; npm init && git remote rm origin; git reset --soft ceac6c && git commit --amend -m 'Create project.'",
"build": "browserify -s $(pwd) -o dist/$(pwd)-bundle.js main.js",
"watch": "watchify -s $(pwd) -o dist/$(pwd)-bundle.js main.js",
"test": "tape test/*.js",
"prepublish": "npm run build && npm run test && npm run lint",
"lint": "jshint *.js lib/*.js test/*.js"
}
}
<|file_sep|>current/package.json
"email": "pdubroy@gmail.com",
"url": "http://dubroy.com"
},
"license": "MIT",
"main": "main.js",
"dependencies": {},
"devDependencies": {
"browserify": "^5.9.1",
"jshint": "^2.5.2",
"tape": "^2.13.4",
"watchify": "^1.0.1"
},
"scripts": {
"init-repo": "mkdir bin dist lib third_party; npm init && git remote rm origin; git reset --soft ceac6c && git commit --amend -m 'Create project.'",
"build": "browserify -s $(pwd) -o dist/$(pwd)-bundle.js main.js",
"watch": "watchify -s $(pwd) -o dist/$(pwd)-bundle.js main.js",
"test": "tape test/*.js",
"prepublish": "npm run build && npm run test && npm run lint",
"lint": "jshint *.js lib/*.js test/*.js"
}
}
<|file_sep|>updated/package.json
"email": "pdubroy@gmail.com",
"url": "http://dubroy.com"
},
"license": "MIT",
"main": "main.js",
"dependencies": {},
"devDependencies": {
"browserify": "^5.9.1",
"jshint": "^2.5.2",
"tape": "^2.13.4",
"watchify": "^1.0.1"
},
"scripts": {
"init-repo": "mkdir bin dist lib third_party; git remote rm origin; npm init && git reset --soft ceac6c && git add . && git commit --amend -m 'Initial commit.'",
"build": "browserify -s $(pwd) -o dist/$(pwd)-bundle.js main.js",
"watch": "watchify -s $(pwd) -o dist/$(pwd)-bundle.js main.js",
"test": "tape test/*.js",
"prepublish": "npm run build && npm run test && npm run lint",
"lint": "jshint *.js lib/*.js test/*.js"
}
} | 59e7848be183fba8fc9b890a73338438854b32e8 | package.json | package.json | JSON |
<|file_sep|>original/js/misc.js
}
}
return new_all;
}
var count_object_keys = function(obj)
{
var result = 0;
for (var prop in obj)
{
if (obj.hasOwnProperty(prop))
result++
}
return result
}
var warn = function()
{
console.log.apply(console, arguments)
}
<|file_sep|>current/js/misc.js
}
}
return new_all;
}
var count_object_keys = function(obj)
{
var result = 0;
for (var prop in obj)
{
if (obj.hasOwnProperty(prop))
result++
}
return result
}
var warn = function()
{
console.log.apply(console, arguments)
}
<|file_sep|>updated/js/misc.js | var count_object_keys = function(obj)
{
var result = 0;
for (var prop in obj)
{
if (obj.hasOwnProperty(prop))
result++
}
return result
}
var warn = function()
{
console.log.apply(console, arguments)
}
var die = function(e)
{
throw new Error(e)
} | <|file_sep|>original/js/misc.js
}
}
return new_all;
}
var count_object_keys = function(obj)
{
var result = 0;
for (var prop in obj)
{
if (obj.hasOwnProperty(prop))
result++
}
return result
}
var warn = function()
{
console.log.apply(console, arguments)
}
<|file_sep|>current/js/misc.js
}
}
return new_all;
}
var count_object_keys = function(obj)
{
var result = 0;
for (var prop in obj)
{
if (obj.hasOwnProperty(prop))
result++
}
return result
}
var warn = function()
{
console.log.apply(console, arguments)
}
<|file_sep|>updated/js/misc.js
var count_object_keys = function(obj)
{
var result = 0;
for (var prop in obj)
{
if (obj.hasOwnProperty(prop))
result++
}
return result
}
var warn = function()
{
console.log.apply(console, arguments)
}
var die = function(e)
{
throw new Error(e)
} | 3b79034d68b983a3d2250c9c2b25eefa93c1a335 | js/misc.js | js/misc.js | JavaScript |
<|file_sep|>src/browser/settings/settings-dialog/settings-dialog.ts.diff
original:
import { Injectable } from '@angular/core';
updated:
import { Injectable, OnDestroy } from '@angular/core';
import { Subscription } from 'rxjs';
<|file_sep|>src/browser/settings/settings-dialog/settings-dialog.ts.diff
original:
export class SettingsDialog {
updated:
export class SettingsDialog implements OnDestroy {
private dialogRef: DialogRef<SettingsDialogComponent, void> | null = null;
private dialogCloseSubscription = Subscription.EMPTY;
<|file_sep|>src/browser/settings/settings-dialog/settings-dialog.ts.diff
original:
updated:
ngOnDestroy(): void {
this.dialogCloseSubscription.unsubscribe();
}
<|file_sep|>src/browser/settings/settings-dialog/settings-dialog.ts.diff
original:
return this.dialog.open<SettingsDialogComponent,
updated:
if (this.dialogRef) {
return this.dialogRef;
}
this.dialogRef = this.dialog.open<SettingsDialogComponent,
<|file_sep|>original/src/browser/settings/settings-dialog/settings-dialog.ts
@Injectable()
export class SettingsDialog {
constructor(private dialog: Dialog) {
}
open(data?: SettingsDialogData): DialogRef<SettingsDialogComponent, void> {
return this.dialog.open<SettingsDialogComponent,
SettingsDialogData,
void>(
SettingsDialogComponent,
{
width: '500px',
maxHeight: '75vh',
disableBackdropClickClose: true,
data,
},
);
}
}
<|file_sep|>current/src/browser/settings/settings-dialog/settings-dialog.ts
this.dialogCloseSubscription.unsubscribe();
}
open(data?: SettingsDialogData): DialogRef<SettingsDialogComponent, void> {
if (this.dialogRef) {
return this.dialogRef;
}
this.dialogRef = this.dialog.open<SettingsDialogComponent,
SettingsDialogData,
void>(
SettingsDialogComponent,
{
width: '500px',
maxHeight: '75vh',
disableBackdropClickClose: true,
data,
},
);
}
}
<|file_sep|>updated/src/browser/settings/settings-dialog/settings-dialog.ts | SettingsDialogData,
void>(
SettingsDialogComponent,
{
width: '500px',
maxHeight: '75vh',
disableBackdropClickClose: true,
data,
},
);
// If subscription exists, unsubscribe first.
if (this.dialogCloseSubscription) {
this.dialogCloseSubscription.unsubscribe();
}
this.dialogCloseSubscription = this.dialogRef.afterClosed().subscribe(() => {
this.dialogRef = null;
});
return this.dialogRef; | <|file_sep|>src/browser/settings/settings-dialog/settings-dialog.ts.diff
original:
import { Injectable } from '@angular/core';
updated:
import { Injectable, OnDestroy } from '@angular/core';
import { Subscription } from 'rxjs';
<|file_sep|>src/browser/settings/settings-dialog/settings-dialog.ts.diff
original:
export class SettingsDialog {
updated:
export class SettingsDialog implements OnDestroy {
private dialogRef: DialogRef<SettingsDialogComponent, void> | null = null;
private dialogCloseSubscription = Subscription.EMPTY;
<|file_sep|>src/browser/settings/settings-dialog/settings-dialog.ts.diff
original:
updated:
ngOnDestroy(): void {
this.dialogCloseSubscription.unsubscribe();
}
<|file_sep|>src/browser/settings/settings-dialog/settings-dialog.ts.diff
original:
return this.dialog.open<SettingsDialogComponent,
updated:
if (this.dialogRef) {
return this.dialogRef;
}
this.dialogRef = this.dialog.open<SettingsDialogComponent,
<|file_sep|>original/src/browser/settings/settings-dialog/settings-dialog.ts
@Injectable()
export class SettingsDialog {
constructor(private dialog: Dialog) {
}
open(data?: SettingsDialogData): DialogRef<SettingsDialogComponent, void> {
return this.dialog.open<SettingsDialogComponent,
SettingsDialogData,
void>(
SettingsDialogComponent,
{
width: '500px',
maxHeight: '75vh',
disableBackdropClickClose: true,
data,
},
);
}
}
<|file_sep|>current/src/browser/settings/settings-dialog/settings-dialog.ts
this.dialogCloseSubscription.unsubscribe();
}
open(data?: SettingsDialogData): DialogRef<SettingsDialogComponent, void> {
if (this.dialogRef) {
return this.dialogRef;
}
this.dialogRef = this.dialog.open<SettingsDialogComponent,
SettingsDialogData,
void>(
SettingsDialogComponent,
{
width: '500px',
maxHeight: '75vh',
disableBackdropClickClose: true,
data,
},
);
}
}
<|file_sep|>updated/src/browser/settings/settings-dialog/settings-dialog.ts
SettingsDialogData,
void>(
SettingsDialogComponent,
{
width: '500px',
maxHeight: '75vh',
disableBackdropClickClose: true,
data,
},
);
// If subscription exists, unsubscribe first.
if (this.dialogCloseSubscription) {
this.dialogCloseSubscription.unsubscribe();
}
this.dialogCloseSubscription = this.dialogRef.afterClosed().subscribe(() => {
this.dialogRef = null;
});
return this.dialogRef; | 073b7074a5da2b70b4afb83e2bf0f7df93e3bed6 | src/browser/settings/settings-dialog/settings-dialog.ts | src/browser/settings/settings-dialog/settings-dialog.ts | TypeScript |
<|file_sep|>bin/ci-publish.sh.diff
original:
set -euo pipefail
updated:
set -eu
<|file_sep|>original/bin/ci-publish.sh
#!/usr/bin/env bash
set -euo pipefail
if [[ "$TRAVIS_SECURE_ENV_VARS" == true && "$CI_PUBLISH" == true ]]; then
echo "Publishing..."
git log | head -n 20
echo "$PGP_SECRET" | base64 --decode | gpg --import
set -x
if [[ -n "$TRAVIS_TAG" ]]; then
echo "Tag push, publishing stable release to Sonatype."
sbt ci-release sonatypeReleaseAll
elif [[ "$TRAVIS_BRANCH" == "master" ]]; then
echo "Merge, publishing snapshot to Sonatype."
sbt -Dmetadoc.snapshot=true ci-release
fi
else
echo "Skipping publish, branch=$TRAVIS_BRANCH"
fi
<|file_sep|>current/bin/ci-publish.sh
#!/usr/bin/env bash
set -eu
if [[ "$TRAVIS_SECURE_ENV_VARS" == true && "$CI_PUBLISH" == true ]]; then
echo "Publishing..."
git log | head -n 20
echo "$PGP_SECRET" | base64 --decode | gpg --import
set -x
if [[ -n "$TRAVIS_TAG" ]]; then
echo "Tag push, publishing stable release to Sonatype."
sbt ci-release sonatypeReleaseAll
elif [[ "$TRAVIS_BRANCH" == "master" ]]; then
echo "Merge, publishing snapshot to Sonatype."
sbt -Dmetadoc.snapshot=true ci-release
fi
else
echo "Skipping publish, branch=$TRAVIS_BRANCH"
fi
<|file_sep|>updated/bin/ci-publish.sh | #!/usr/bin/env bash
set -eu
if [[ "$TRAVIS_SECURE_ENV_VARS" == true && "$CI_PUBLISH" == true ]]; then
echo "Publishing..."
git log | head -n 20
echo "$PGP_SECRET" | base64 --decode | gpg --import
if [[ -n "$TRAVIS_TAG" ]]; then
echo "Tag push, publishing stable release to Sonatype."
sbt ci-release sonatypeReleaseAll
elif [[ "$TRAVIS_BRANCH" == "master" ]]; then
echo "Merge, publishing snapshot to Sonatype."
sbt -Dmetadoc.snapshot=true ci-release
fi
else
echo "Skipping publish, branch=$TRAVIS_BRANCH"
fi | <|file_sep|>bin/ci-publish.sh.diff
original:
set -euo pipefail
updated:
set -eu
<|file_sep|>original/bin/ci-publish.sh
#!/usr/bin/env bash
set -euo pipefail
if [[ "$TRAVIS_SECURE_ENV_VARS" == true && "$CI_PUBLISH" == true ]]; then
echo "Publishing..."
git log | head -n 20
echo "$PGP_SECRET" | base64 --decode | gpg --import
set -x
if [[ -n "$TRAVIS_TAG" ]]; then
echo "Tag push, publishing stable release to Sonatype."
sbt ci-release sonatypeReleaseAll
elif [[ "$TRAVIS_BRANCH" == "master" ]]; then
echo "Merge, publishing snapshot to Sonatype."
sbt -Dmetadoc.snapshot=true ci-release
fi
else
echo "Skipping publish, branch=$TRAVIS_BRANCH"
fi
<|file_sep|>current/bin/ci-publish.sh
#!/usr/bin/env bash
set -eu
if [[ "$TRAVIS_SECURE_ENV_VARS" == true && "$CI_PUBLISH" == true ]]; then
echo "Publishing..."
git log | head -n 20
echo "$PGP_SECRET" | base64 --decode | gpg --import
set -x
if [[ -n "$TRAVIS_TAG" ]]; then
echo "Tag push, publishing stable release to Sonatype."
sbt ci-release sonatypeReleaseAll
elif [[ "$TRAVIS_BRANCH" == "master" ]]; then
echo "Merge, publishing snapshot to Sonatype."
sbt -Dmetadoc.snapshot=true ci-release
fi
else
echo "Skipping publish, branch=$TRAVIS_BRANCH"
fi
<|file_sep|>updated/bin/ci-publish.sh
#!/usr/bin/env bash
set -eu
if [[ "$TRAVIS_SECURE_ENV_VARS" == true && "$CI_PUBLISH" == true ]]; then
echo "Publishing..."
git log | head -n 20
echo "$PGP_SECRET" | base64 --decode | gpg --import
if [[ -n "$TRAVIS_TAG" ]]; then
echo "Tag push, publishing stable release to Sonatype."
sbt ci-release sonatypeReleaseAll
elif [[ "$TRAVIS_BRANCH" == "master" ]]; then
echo "Merge, publishing snapshot to Sonatype."
sbt -Dmetadoc.snapshot=true ci-release
fi
else
echo "Skipping publish, branch=$TRAVIS_BRANCH"
fi | ecb37f35612464a5c73469ed961f21c4b97bb483 | bin/ci-publish.sh | bin/ci-publish.sh | Shell |
<|file_sep|>original/src/lib/finalMetrics.ts
/*
* Copyright 2020 Google LLC
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {Metric} from '../types.js';
export const finalMetrics: WeakSet<Metric> = new WeakSet();
<|file_sep|>current/src/lib/finalMetrics.ts
/*
* Copyright 2020 Google LLC
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {Metric} from '../types.js';
export const finalMetrics: WeakSet<Metric> = new WeakSet();
<|file_sep|>updated/src/lib/finalMetrics.ts | /*
* Copyright 2020 Google LLC
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {Metric} from '../types.js';
export const finalMetrics: WeakSet<Metric>|Set<Metric> = 'WeakSet' in window
? new WeakSet()
: new Set(); | <|file_sep|>original/src/lib/finalMetrics.ts
/*
* Copyright 2020 Google LLC
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {Metric} from '../types.js';
export const finalMetrics: WeakSet<Metric> = new WeakSet();
<|file_sep|>current/src/lib/finalMetrics.ts
/*
* Copyright 2020 Google LLC
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {Metric} from '../types.js';
export const finalMetrics: WeakSet<Metric> = new WeakSet();
<|file_sep|>updated/src/lib/finalMetrics.ts
/*
* Copyright 2020 Google LLC
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {Metric} from '../types.js';
export const finalMetrics: WeakSet<Metric>|Set<Metric> = 'WeakSet' in window
? new WeakSet()
: new Set(); | c8c72182da705f9a0b813ef18f7735eef050bbf4 | src/lib/finalMetrics.ts | src/lib/finalMetrics.ts | TypeScript |
<|file_sep|>trimwhitespace.py.diff
original:
handle = open(filepath, 'r')
updated:
handle = open(filepath, 'rb')
<|file_sep|>trimwhitespace.py.diff
original:
updated:
print('FAIL: %s' % filepath)
<|file_sep|>trimwhitespace.py.diff
original:
updated:
else:
print('OK: %s' % filepath)
<|file_sep|>original/trimwhitespace.py
def trimwhitespace(filepath):
handle = open(filepath, 'r')
stripped = ''
flag = False
for line in handle.readlines():
stripped_line = line.rstrip() + '\n'
if line != stripped_line:
flag = True
stripped += stripped_line
handle.close()
if flag:
overwritefile(filepath, stripped)
def overwritefile(filepath, contents):
handle = open(filepath, 'w')
handle.write(contents)
handle.close()
if __name__ == '__main__':
scanpath('.')
<|file_sep|>current/trimwhitespace.py
stripped = ''
flag = False
for line in handle.readlines():
stripped_line = line.rstrip() + '\n'
if line != stripped_line:
flag = True
stripped += stripped_line
handle.close()
if flag:
print('FAIL: %s' % filepath)
overwritefile(filepath, stripped)
else:
print('OK: %s' % filepath)
def overwritefile(filepath, contents):
handle = open(filepath, 'w')
handle.write(contents)
handle.close()
if __name__ == '__main__':
scanpath('.')
<|file_sep|>updated/trimwhitespace.py | stripped = ''
flag = False
for line in handle.readlines():
stripped_line = line.rstrip() + '\n'
if line != stripped_line:
flag = True
stripped += stripped_line
handle.close()
if flag:
print('FAIL: %s' % filepath)
overwritefile(filepath, stripped)
else:
print('OK: %s' % filepath)
def overwritefile(filepath, contents):
handle = open(filepath, 'wb')
handle.write(contents)
handle.close()
if __name__ == '__main__':
scanpath('.') | <|file_sep|>trimwhitespace.py.diff
original:
handle = open(filepath, 'r')
updated:
handle = open(filepath, 'rb')
<|file_sep|>trimwhitespace.py.diff
original:
updated:
print('FAIL: %s' % filepath)
<|file_sep|>trimwhitespace.py.diff
original:
updated:
else:
print('OK: %s' % filepath)
<|file_sep|>original/trimwhitespace.py
def trimwhitespace(filepath):
handle = open(filepath, 'r')
stripped = ''
flag = False
for line in handle.readlines():
stripped_line = line.rstrip() + '\n'
if line != stripped_line:
flag = True
stripped += stripped_line
handle.close()
if flag:
overwritefile(filepath, stripped)
def overwritefile(filepath, contents):
handle = open(filepath, 'w')
handle.write(contents)
handle.close()
if __name__ == '__main__':
scanpath('.')
<|file_sep|>current/trimwhitespace.py
stripped = ''
flag = False
for line in handle.readlines():
stripped_line = line.rstrip() + '\n'
if line != stripped_line:
flag = True
stripped += stripped_line
handle.close()
if flag:
print('FAIL: %s' % filepath)
overwritefile(filepath, stripped)
else:
print('OK: %s' % filepath)
def overwritefile(filepath, contents):
handle = open(filepath, 'w')
handle.write(contents)
handle.close()
if __name__ == '__main__':
scanpath('.')
<|file_sep|>updated/trimwhitespace.py
stripped = ''
flag = False
for line in handle.readlines():
stripped_line = line.rstrip() + '\n'
if line != stripped_line:
flag = True
stripped += stripped_line
handle.close()
if flag:
print('FAIL: %s' % filepath)
overwritefile(filepath, stripped)
else:
print('OK: %s' % filepath)
def overwritefile(filepath, contents):
handle = open(filepath, 'wb')
handle.write(contents)
handle.close()
if __name__ == '__main__':
scanpath('.') | 3640a5b1976ea6c5b21617cda11324d73071fb9f | trimwhitespace.py | trimwhitespace.py | Python |
<|file_sep|>original/lib/options.js
'use strict';
const { publicFolder } = require('unleash-frontend');
const isDev = () => process.env.NODE_ENV === 'development';
const THIRTY_DAYS = 30 * 24 * 60 * 60 * 1000;
const DEFAULT_OPTIONS = {
databaseUrl: process.env.DATABASE_URL,
port: process.env.HTTP_PORT || process.env.PORT || 4242,
host: undefined,
baseUriPath: process.env.BASE_URI_PATH || '',
serverMetrics: true,
enableLegacyRoutes: true,
publicFolder,
enableRequestLogger: isDev(),
secret: 'UNLEASH-SECRET',
sessionAge: THIRTY_DAYS,
adminAuthentication: 'unsecure',
};
<|file_sep|>current/lib/options.js
'use strict';
const { publicFolder } = require('unleash-frontend');
const isDev = () => process.env.NODE_ENV === 'development';
const THIRTY_DAYS = 30 * 24 * 60 * 60 * 1000;
const DEFAULT_OPTIONS = {
databaseUrl: process.env.DATABASE_URL,
port: process.env.HTTP_PORT || process.env.PORT || 4242,
host: undefined,
baseUriPath: process.env.BASE_URI_PATH || '',
serverMetrics: true,
enableLegacyRoutes: true,
publicFolder,
enableRequestLogger: isDev(),
secret: 'UNLEASH-SECRET',
sessionAge: THIRTY_DAYS,
adminAuthentication: 'unsecure',
};
<|file_sep|>updated/lib/options.js | 'use strict';
const { publicFolder } = require('unleash-frontend');
const isDev = () => process.env.NODE_ENV === 'development';
const THIRTY_DAYS = 30 * 24 * 60 * 60 * 1000;
const DEFAULT_OPTIONS = {
databaseUrl: process.env.DATABASE_URL,
port: process.env.HTTP_PORT || process.env.PORT || 4242,
host: process.env.HTTP_HOST,
baseUriPath: process.env.BASE_URI_PATH || '',
serverMetrics: true,
enableLegacyRoutes: true,
publicFolder,
enableRequestLogger: isDev(),
secret: 'UNLEASH-SECRET',
sessionAge: THIRTY_DAYS,
adminAuthentication: 'unsecure',
};
| <|file_sep|>original/lib/options.js
'use strict';
const { publicFolder } = require('unleash-frontend');
const isDev = () => process.env.NODE_ENV === 'development';
const THIRTY_DAYS = 30 * 24 * 60 * 60 * 1000;
const DEFAULT_OPTIONS = {
databaseUrl: process.env.DATABASE_URL,
port: process.env.HTTP_PORT || process.env.PORT || 4242,
host: undefined,
baseUriPath: process.env.BASE_URI_PATH || '',
serverMetrics: true,
enableLegacyRoutes: true,
publicFolder,
enableRequestLogger: isDev(),
secret: 'UNLEASH-SECRET',
sessionAge: THIRTY_DAYS,
adminAuthentication: 'unsecure',
};
<|file_sep|>current/lib/options.js
'use strict';
const { publicFolder } = require('unleash-frontend');
const isDev = () => process.env.NODE_ENV === 'development';
const THIRTY_DAYS = 30 * 24 * 60 * 60 * 1000;
const DEFAULT_OPTIONS = {
databaseUrl: process.env.DATABASE_URL,
port: process.env.HTTP_PORT || process.env.PORT || 4242,
host: undefined,
baseUriPath: process.env.BASE_URI_PATH || '',
serverMetrics: true,
enableLegacyRoutes: true,
publicFolder,
enableRequestLogger: isDev(),
secret: 'UNLEASH-SECRET',
sessionAge: THIRTY_DAYS,
adminAuthentication: 'unsecure',
};
<|file_sep|>updated/lib/options.js
'use strict';
const { publicFolder } = require('unleash-frontend');
const isDev = () => process.env.NODE_ENV === 'development';
const THIRTY_DAYS = 30 * 24 * 60 * 60 * 1000;
const DEFAULT_OPTIONS = {
databaseUrl: process.env.DATABASE_URL,
port: process.env.HTTP_PORT || process.env.PORT || 4242,
host: process.env.HTTP_HOST,
baseUriPath: process.env.BASE_URI_PATH || '',
serverMetrics: true,
enableLegacyRoutes: true,
publicFolder,
enableRequestLogger: isDev(),
secret: 'UNLEASH-SECRET',
sessionAge: THIRTY_DAYS,
adminAuthentication: 'unsecure',
};
| e0f2866be60d3cd23ec8561fa1c1ba8980a6a410 | lib/options.js | lib/options.js | JavaScript |
<|file_sep|>.ycm_extra_conf.py.diff
original:
updated:
import subprocess
<|file_sep|>original/.ycm_extra_conf.py
import os
def FlagsForFile(filename, **kwargs):
flags = ['-std=c++14', '-I/usr/local/include']
proj_root = os.path.dirname(os.path.abspath(__file__))
libcanon_include = ''.join(['-I', proj_root, '/deps/libcanon/include'])
proj_include = ''.join(['-I', proj_root, '/drudge'])
flags.extend([libcanon_include, proj_include])
return {'flags': flags}
<|file_sep|>current/.ycm_extra_conf.py
import os
import subprocess
def FlagsForFile(filename, **kwargs):
flags = ['-std=c++14', '-I/usr/local/include']
proj_root = os.path.dirname(os.path.abspath(__file__))
libcanon_include = ''.join(['-I', proj_root, '/deps/libcanon/include'])
proj_include = ''.join(['-I', proj_root, '/drudge'])
flags.extend([libcanon_include, proj_include])
return {'flags': flags}
<|file_sep|>updated/.ycm_extra_conf.py | import os
import subprocess
def FlagsForFile(filename, **kwargs):
flags = ['-std=c++14', '-I/usr/local/include']
proj_root = os.path.dirname(os.path.abspath(__file__))
libcanon_include = ''.join(['-I', proj_root, '/deps/libcanon/include'])
python_include = subprocess.run(
["pkg-config", '--cflags', 'python3'], stdout=subprocess.PIPE
).stdout.decode("utf-8")
proj_include = ''.join(['-I', proj_root, '/drudge'])
flags.extend([libcanon_include, proj_include])
return {'flags': flags} | <|file_sep|>.ycm_extra_conf.py.diff
original:
updated:
import subprocess
<|file_sep|>original/.ycm_extra_conf.py
import os
def FlagsForFile(filename, **kwargs):
flags = ['-std=c++14', '-I/usr/local/include']
proj_root = os.path.dirname(os.path.abspath(__file__))
libcanon_include = ''.join(['-I', proj_root, '/deps/libcanon/include'])
proj_include = ''.join(['-I', proj_root, '/drudge'])
flags.extend([libcanon_include, proj_include])
return {'flags': flags}
<|file_sep|>current/.ycm_extra_conf.py
import os
import subprocess
def FlagsForFile(filename, **kwargs):
flags = ['-std=c++14', '-I/usr/local/include']
proj_root = os.path.dirname(os.path.abspath(__file__))
libcanon_include = ''.join(['-I', proj_root, '/deps/libcanon/include'])
proj_include = ''.join(['-I', proj_root, '/drudge'])
flags.extend([libcanon_include, proj_include])
return {'flags': flags}
<|file_sep|>updated/.ycm_extra_conf.py
import os
import subprocess
def FlagsForFile(filename, **kwargs):
flags = ['-std=c++14', '-I/usr/local/include']
proj_root = os.path.dirname(os.path.abspath(__file__))
libcanon_include = ''.join(['-I', proj_root, '/deps/libcanon/include'])
python_include = subprocess.run(
["pkg-config", '--cflags', 'python3'], stdout=subprocess.PIPE
).stdout.decode("utf-8")
proj_include = ''.join(['-I', proj_root, '/drudge'])
flags.extend([libcanon_include, proj_include])
return {'flags': flags} | a85d148eb00f83052a97d66da8ff9dd79b40f172 | .ycm_extra_conf.py | .ycm_extra_conf.py | Python |
<|file_sep|>original/.travis.yml
env:
global: |
export PATH="/usr/local/opt/ccache/libexec:$PATH"
CODECOV_TOKEN=4bd3d3ee-ecc8-4130-90d7-276626099dc4
PATH=${PATH}:${HOME}/kcov/bin
before_install: |
wget https://github.com/SimonKagstrom/kcov/archive/master.zip
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
brew update && pip3 install awscli jq
install: |
unzip -a master.zip && cd kcov-master && mkdir build && cd build
cmake -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DCMAKE_INSTALL_PREFIX=${HOME}/kcov ..
make && make install && cd ../.. && rm -rf kcov-master && mkdir -p coverage
script: |
kcov coverage awscli.sh
after_success: |
<|file_sep|>current/.travis.yml
env:
global: |
export PATH="/usr/local/opt/ccache/libexec:$PATH"
CODECOV_TOKEN=4bd3d3ee-ecc8-4130-90d7-276626099dc4
PATH=${PATH}:${HOME}/kcov/bin
before_install: |
wget https://github.com/SimonKagstrom/kcov/archive/master.zip
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
brew update && pip3 install awscli jq
install: |
unzip -a master.zip && cd kcov-master && mkdir build && cd build
cmake -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DCMAKE_INSTALL_PREFIX=${HOME}/kcov ..
make && make install && cd ../.. && rm -rf kcov-master && mkdir -p coverage
script: |
kcov coverage awscli.sh
after_success: |
<|file_sep|>updated/.travis.yml |
env:
global: |
export PATH="/usr/local/opt/ccache/libexec:$PATH"
CODECOV_TOKEN=4bd3d3ee-ecc8-4130-90d7-276626099dc4
PATH=${PATH}:${HOME}/kcov/bin
before_install: |
wget https://github.com/SimonKagstrom/kcov/archive/master.zip
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
brew update && brew install jq && pip3 install awscli
install: |
unzip -a master.zip && cd kcov-master && mkdir build && cd build
cmake -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DCMAKE_INSTALL_PREFIX=${HOME}/kcov ..
make && make install && cd ../.. && rm -rf kcov-master && mkdir -p coverage
script: |
kcov coverage awscli.sh
after_success: | | <|file_sep|>original/.travis.yml
env:
global: |
export PATH="/usr/local/opt/ccache/libexec:$PATH"
CODECOV_TOKEN=4bd3d3ee-ecc8-4130-90d7-276626099dc4
PATH=${PATH}:${HOME}/kcov/bin
before_install: |
wget https://github.com/SimonKagstrom/kcov/archive/master.zip
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
brew update && pip3 install awscli jq
install: |
unzip -a master.zip && cd kcov-master && mkdir build && cd build
cmake -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DCMAKE_INSTALL_PREFIX=${HOME}/kcov ..
make && make install && cd ../.. && rm -rf kcov-master && mkdir -p coverage
script: |
kcov coverage awscli.sh
after_success: |
<|file_sep|>current/.travis.yml
env:
global: |
export PATH="/usr/local/opt/ccache/libexec:$PATH"
CODECOV_TOKEN=4bd3d3ee-ecc8-4130-90d7-276626099dc4
PATH=${PATH}:${HOME}/kcov/bin
before_install: |
wget https://github.com/SimonKagstrom/kcov/archive/master.zip
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
brew update && pip3 install awscli jq
install: |
unzip -a master.zip && cd kcov-master && mkdir build && cd build
cmake -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DCMAKE_INSTALL_PREFIX=${HOME}/kcov ..
make && make install && cd ../.. && rm -rf kcov-master && mkdir -p coverage
script: |
kcov coverage awscli.sh
after_success: |
<|file_sep|>updated/.travis.yml
env:
global: |
export PATH="/usr/local/opt/ccache/libexec:$PATH"
CODECOV_TOKEN=4bd3d3ee-ecc8-4130-90d7-276626099dc4
PATH=${PATH}:${HOME}/kcov/bin
before_install: |
wget https://github.com/SimonKagstrom/kcov/archive/master.zip
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
brew update && brew install jq && pip3 install awscli
install: |
unzip -a master.zip && cd kcov-master && mkdir build && cd build
cmake -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DCMAKE_INSTALL_PREFIX=${HOME}/kcov ..
make && make install && cd ../.. && rm -rf kcov-master && mkdir -p coverage
script: |
kcov coverage awscli.sh
after_success: | | 54cc74e4084c3a5b9d2e64ae0746acaaaed7e46f | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/releaf-core/app/assets/config/releaf_core_manifest.js
//= link_tree ../images
//= link releaf/application.css
//= link releaf/application.js
<|file_sep|>current/releaf-core/app/assets/config/releaf_core_manifest.js
//= link_tree ../images
//= link releaf/application.css
//= link releaf/application.js
<|file_sep|>updated/releaf-core/app/assets/config/releaf_core_manifest.js | //= link_tree ../images
//= link_tree ../javascripts/ckeditor
//= link releaf/application.css
//= link releaf/application.js | <|file_sep|>original/releaf-core/app/assets/config/releaf_core_manifest.js
//= link_tree ../images
//= link releaf/application.css
//= link releaf/application.js
<|file_sep|>current/releaf-core/app/assets/config/releaf_core_manifest.js
//= link_tree ../images
//= link releaf/application.css
//= link releaf/application.js
<|file_sep|>updated/releaf-core/app/assets/config/releaf_core_manifest.js
//= link_tree ../images
//= link_tree ../javascripts/ckeditor
//= link releaf/application.css
//= link releaf/application.js | c025d9457aa000d0f23252e07ce6f2e2c3c5d971 | releaf-core/app/assets/config/releaf_core_manifest.js | releaf-core/app/assets/config/releaf_core_manifest.js | JavaScript |
<|file_sep|>Casks/libreoffice.rb.diff
original:
url 'http://download.documentfoundation.org/libreoffice/stable/4.2.3/mac/x86_64/LibreOffice_4.2.3_MacOS_x86-64.dmg'
updated:
if Hardware::CPU.is_64_bit? && OS::Mac.version >= '10.8'
url 'http://download.documentfoundation.org/libreoffice/stable/4.2.3/mac/x86_64/LibreOffice_4.2.3_MacOS_x86-64.dmg'
sha256 'b54917f4784b17c2c6a0778559f3f9de03480bc4528b181681336d9cc2dba904'
else
url 'http://download.documentfoundation.org/libreoffice/stable/4.2.3/mac/x86/LibreOffice_4.2.3_MacOS_x86.dmg'
sha256 '6b5bf833824076acf0cdb86b869ba418043295855f1a539fa0d7bf18eba3de13'
end
<|file_sep|>original/Casks/libreoffice.rb
class Libreoffice < Cask
url 'http://download.documentfoundation.org/libreoffice/stable/4.2.3/mac/x86_64/LibreOffice_4.2.3_MacOS_x86-64.dmg'
homepage 'http://www.libreoffice.org/'
version '4.2.3'
sha256 'b54917f4784b17c2c6a0778559f3f9de03480bc4528b181681336d9cc2dba904'
link 'LibreOffice.app'
end
<|file_sep|>current/Casks/libreoffice.rb
class Libreoffice < Cask
if Hardware::CPU.is_64_bit? && OS::Mac.version >= '10.8'
url 'http://download.documentfoundation.org/libreoffice/stable/4.2.3/mac/x86_64/LibreOffice_4.2.3_MacOS_x86-64.dmg'
sha256 'b54917f4784b17c2c6a0778559f3f9de03480bc4528b181681336d9cc2dba904'
else
url 'http://download.documentfoundation.org/libreoffice/stable/4.2.3/mac/x86/LibreOffice_4.2.3_MacOS_x86.dmg'
sha256 '6b5bf833824076acf0cdb86b869ba418043295855f1a539fa0d7bf18eba3de13'
end
homepage 'http://www.libreoffice.org/'
version '4.2.3'
sha256 'b54917f4784b17c2c6a0778559f3f9de03480bc4528b181681336d9cc2dba904'
link 'LibreOffice.app'
end
<|file_sep|>updated/Casks/libreoffice.rb | class Libreoffice < Cask
if Hardware::CPU.is_64_bit? && OS::Mac.version >= '10.8'
url 'http://download.documentfoundation.org/libreoffice/stable/4.2.3/mac/x86_64/LibreOffice_4.2.3_MacOS_x86-64.dmg'
sha256 'b54917f4784b17c2c6a0778559f3f9de03480bc4528b181681336d9cc2dba904'
else
url 'http://download.documentfoundation.org/libreoffice/stable/4.2.3/mac/x86/LibreOffice_4.2.3_MacOS_x86.dmg'
sha256 '6b5bf833824076acf0cdb86b869ba418043295855f1a539fa0d7bf18eba3de13'
end
homepage 'http://www.libreoffice.org/'
version '4.2.3'
link 'LibreOffice.app'
end | <|file_sep|>Casks/libreoffice.rb.diff
original:
url 'http://download.documentfoundation.org/libreoffice/stable/4.2.3/mac/x86_64/LibreOffice_4.2.3_MacOS_x86-64.dmg'
updated:
if Hardware::CPU.is_64_bit? && OS::Mac.version >= '10.8'
url 'http://download.documentfoundation.org/libreoffice/stable/4.2.3/mac/x86_64/LibreOffice_4.2.3_MacOS_x86-64.dmg'
sha256 'b54917f4784b17c2c6a0778559f3f9de03480bc4528b181681336d9cc2dba904'
else
url 'http://download.documentfoundation.org/libreoffice/stable/4.2.3/mac/x86/LibreOffice_4.2.3_MacOS_x86.dmg'
sha256 '6b5bf833824076acf0cdb86b869ba418043295855f1a539fa0d7bf18eba3de13'
end
<|file_sep|>original/Casks/libreoffice.rb
class Libreoffice < Cask
url 'http://download.documentfoundation.org/libreoffice/stable/4.2.3/mac/x86_64/LibreOffice_4.2.3_MacOS_x86-64.dmg'
homepage 'http://www.libreoffice.org/'
version '4.2.3'
sha256 'b54917f4784b17c2c6a0778559f3f9de03480bc4528b181681336d9cc2dba904'
link 'LibreOffice.app'
end
<|file_sep|>current/Casks/libreoffice.rb
class Libreoffice < Cask
if Hardware::CPU.is_64_bit? && OS::Mac.version >= '10.8'
url 'http://download.documentfoundation.org/libreoffice/stable/4.2.3/mac/x86_64/LibreOffice_4.2.3_MacOS_x86-64.dmg'
sha256 'b54917f4784b17c2c6a0778559f3f9de03480bc4528b181681336d9cc2dba904'
else
url 'http://download.documentfoundation.org/libreoffice/stable/4.2.3/mac/x86/LibreOffice_4.2.3_MacOS_x86.dmg'
sha256 '6b5bf833824076acf0cdb86b869ba418043295855f1a539fa0d7bf18eba3de13'
end
homepage 'http://www.libreoffice.org/'
version '4.2.3'
sha256 'b54917f4784b17c2c6a0778559f3f9de03480bc4528b181681336d9cc2dba904'
link 'LibreOffice.app'
end
<|file_sep|>updated/Casks/libreoffice.rb
class Libreoffice < Cask
if Hardware::CPU.is_64_bit? && OS::Mac.version >= '10.8'
url 'http://download.documentfoundation.org/libreoffice/stable/4.2.3/mac/x86_64/LibreOffice_4.2.3_MacOS_x86-64.dmg'
sha256 'b54917f4784b17c2c6a0778559f3f9de03480bc4528b181681336d9cc2dba904'
else
url 'http://download.documentfoundation.org/libreoffice/stable/4.2.3/mac/x86/LibreOffice_4.2.3_MacOS_x86.dmg'
sha256 '6b5bf833824076acf0cdb86b869ba418043295855f1a539fa0d7bf18eba3de13'
end
homepage 'http://www.libreoffice.org/'
version '4.2.3'
link 'LibreOffice.app'
end | 9258122be0d40784d07208796b9827def84f08e5 | Casks/libreoffice.rb | Casks/libreoffice.rb | Ruby |
<|file_sep|>original/lib/tentd/models/entity.rb
module TentD
module Model
class Entity < Sequel::Model(TentD.database[:entities])
def self.first_or_create(entity_uri)
first(:entity => entity_uri) || create(:entity => entity_uri)
end
end
end
end
<|file_sep|>current/lib/tentd/models/entity.rb
module TentD
module Model
class Entity < Sequel::Model(TentD.database[:entities])
def self.first_or_create(entity_uri)
first(:entity => entity_uri) || create(:entity => entity_uri)
end
end
end
end
<|file_sep|>updated/lib/tentd/models/entity.rb | module TentD
module Model
class Entity < Sequel::Model(TentD.database[:entities])
def self.first_or_create(entity_uri)
first(:entity => entity_uri) || create(:entity => entity_uri)
rescue Sequel::UniqueConstraintViolation
first(:entity => entity_uri)
end
end
end
end | <|file_sep|>original/lib/tentd/models/entity.rb
module TentD
module Model
class Entity < Sequel::Model(TentD.database[:entities])
def self.first_or_create(entity_uri)
first(:entity => entity_uri) || create(:entity => entity_uri)
end
end
end
end
<|file_sep|>current/lib/tentd/models/entity.rb
module TentD
module Model
class Entity < Sequel::Model(TentD.database[:entities])
def self.first_or_create(entity_uri)
first(:entity => entity_uri) || create(:entity => entity_uri)
end
end
end
end
<|file_sep|>updated/lib/tentd/models/entity.rb
module TentD
module Model
class Entity < Sequel::Model(TentD.database[:entities])
def self.first_or_create(entity_uri)
first(:entity => entity_uri) || create(:entity => entity_uri)
rescue Sequel::UniqueConstraintViolation
first(:entity => entity_uri)
end
end
end
end | 17048dff053b70088e1f8e23bb75e82b6eaaa026 | lib/tentd/models/entity.rb | lib/tentd/models/entity.rb | Ruby |
<|file_sep|>original/source/_posts/How-to-use-Web-Inspector-and-debug-Safari-on-iPhone-iPad.md
<|file_sep|>current/source/_posts/How-to-use-Web-Inspector-and-debug-Safari-on-iPhone-iPad.md
<|file_sep|>updated/source/_posts/How-to-use-Web-Inspector-and-debug-Safari-on-iPhone-iPad.md | ---
title: How to use Web Inspector and debug Safari on iPhone/iPad
date: 2022-09-07 13:32:33
tags:
---
Prerequisites:
- iPhone / iPad / iPod and the Macbook on the same version of Safari
- a genuine Apple lightning or USB cable
Step by step:
- On iPad, iPhone or iPod touch, go to menu Settings > Safari > Advanced and toggle on Web Inspector. Enable JavaScript if it isn’t already on
- On Macbook, launch Safari and go to menu Preferences > Advanced then toggle on "Show Develop menu in menu bar"
- Connect iOS device to Macbook with the lightning or USB cable
- Now on iOS device, open Safari and go to the website you want to debug
- On Macbook, open Safari and go to "Develop" menu. You now see your iOS device that has connected with Macbook (if no page opened on iOS device, you see a message saying "No Inspectable Applications")

| <|file_sep|>original/source/_posts/How-to-use-Web-Inspector-and-debug-Safari-on-iPhone-iPad.md
<|file_sep|>current/source/_posts/How-to-use-Web-Inspector-and-debug-Safari-on-iPhone-iPad.md
<|file_sep|>updated/source/_posts/How-to-use-Web-Inspector-and-debug-Safari-on-iPhone-iPad.md
---
title: How to use Web Inspector and debug Safari on iPhone/iPad
date: 2022-09-07 13:32:33
tags:
---
Prerequisites:
- iPhone / iPad / iPod and the Macbook on the same version of Safari
- a genuine Apple lightning or USB cable
Step by step:
- On iPad, iPhone or iPod touch, go to menu Settings > Safari > Advanced and toggle on Web Inspector. Enable JavaScript if it isn’t already on
- On Macbook, launch Safari and go to menu Preferences > Advanced then toggle on "Show Develop menu in menu bar"
- Connect iOS device to Macbook with the lightning or USB cable
- Now on iOS device, open Safari and go to the website you want to debug
- On Macbook, open Safari and go to "Develop" menu. You now see your iOS device that has connected with Macbook (if no page opened on iOS device, you see a message saying "No Inspectable Applications")

| a29c3ccbb8a51e8894aa6ce7a56214332afa3ced | source/_posts/How-to-use-Web-Inspector-and-debug-Safari-on-iPhone-iPad.md | source/_posts/How-to-use-Web-Inspector-and-debug-Safari-on-iPhone-iPad.md | Markdown |
<|file_sep|>original/.travis.yml
language: java
before_install:
- wget http://openengsb.org/travis/oeb_bootstrap_m2_repo.zip
- unzip oeb_bootstrap_m2_repo.zip
- rm -rf ~/.m2/repository
- mv repository ~/.m2/
- rm oeb_bootstrap_m2_repo.zip
install:
script: mvn install -Pitests,checkstyle,licenseCheck
notifications:
email:
recipients:
- openengsb-notification@googlegroups.com
on_success: [change]
on_failure: [always]
env:
<|file_sep|>current/.travis.yml
language: java
before_install:
- wget http://openengsb.org/travis/oeb_bootstrap_m2_repo.zip
- unzip oeb_bootstrap_m2_repo.zip
- rm -rf ~/.m2/repository
- mv repository ~/.m2/
- rm oeb_bootstrap_m2_repo.zip
install:
script: mvn install -Pitests,checkstyle,licenseCheck
notifications:
email:
recipients:
- openengsb-notification@googlegroups.com
on_success: [change]
on_failure: [always]
env:
<|file_sep|>updated/.travis.yml | language: java
before_install:
- wget http://openengsb.org/travis/oeb_bootstrap_m2_repo.zip
- unzip oeb_bootstrap_m2_repo.zip
- rm -rf ~/.m2/repository
- mv repository ~/.m2/
- rm oeb_bootstrap_m2_repo.zip
install: mvn validate
script: mvn install -Pitests,checkstyle,licenseCheck
notifications:
email:
recipients:
- openengsb-notification@googlegroups.com
on_success: [change]
on_failure: [always]
env: | <|file_sep|>original/.travis.yml
language: java
before_install:
- wget http://openengsb.org/travis/oeb_bootstrap_m2_repo.zip
- unzip oeb_bootstrap_m2_repo.zip
- rm -rf ~/.m2/repository
- mv repository ~/.m2/
- rm oeb_bootstrap_m2_repo.zip
install:
script: mvn install -Pitests,checkstyle,licenseCheck
notifications:
email:
recipients:
- openengsb-notification@googlegroups.com
on_success: [change]
on_failure: [always]
env:
<|file_sep|>current/.travis.yml
language: java
before_install:
- wget http://openengsb.org/travis/oeb_bootstrap_m2_repo.zip
- unzip oeb_bootstrap_m2_repo.zip
- rm -rf ~/.m2/repository
- mv repository ~/.m2/
- rm oeb_bootstrap_m2_repo.zip
install:
script: mvn install -Pitests,checkstyle,licenseCheck
notifications:
email:
recipients:
- openengsb-notification@googlegroups.com
on_success: [change]
on_failure: [always]
env:
<|file_sep|>updated/.travis.yml
language: java
before_install:
- wget http://openengsb.org/travis/oeb_bootstrap_m2_repo.zip
- unzip oeb_bootstrap_m2_repo.zip
- rm -rf ~/.m2/repository
- mv repository ~/.m2/
- rm oeb_bootstrap_m2_repo.zip
install: mvn validate
script: mvn install -Pitests,checkstyle,licenseCheck
notifications:
email:
recipients:
- openengsb-notification@googlegroups.com
on_success: [change]
on_failure: [always]
env: | b8d1fa9bce042b3738294089219a2a9b2087b29f | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/webview/css/css.js.diff
original:
updated:
import { Platform } from 'react-native';
<|file_sep|>src/webview/css/css.js.diff
original:
updated:
/**
* Fix KaTeX frac-line elements disappearing.
*
* This is a hack, but it's probably better than not having fraction lines on
* low-resolution phones. It's only known to be useful under Chrome and Android,
* so we only include it there.
*
* See, among others:
* https://github.com/KaTeX/KaTeX/issues/824
* https://github.com/KaTeX/KaTeX/issues/916
* https://github.com/KaTeX/KaTeX/pull/1249
* https://github.com/KaTeX/KaTeX/issues/1775
*/
const katexFraclineHackStyle = `<style id="katex-frac-line-hack">
.katex .mfrac .frac-line { border-bottom-width: 1px !important; }
</style>`;
<|file_sep|>original/src/webview/css/css.js
/* @flow strict-local */
import type { ThemeName } from '../../types';
import cssPygments from './cssPygments';
import cssEmojis from './cssEmojis';
import cssNight from './cssNight';
export default (theme: ThemeName) => `
<link rel='stylesheet' type='text/css' href='./base.css'>
<link rel='stylesheet' type='text/css' href='./katex/katex.min.css'>
<style>
${theme === 'night' ? cssNight : ''}
${cssPygments(theme === 'night')}
${cssEmojis}
</style>
<style id="style-hide-js-error-plain">
#js-error-plain, #js-error-plain-dummy {
display: none;
}
</style>
<style id="generated-styles"></style>
`;
<|file_sep|>current/src/webview/css/css.js
* https://github.com/KaTeX/KaTeX/issues/1775
*/
const katexFraclineHackStyle = `<style id="katex-frac-line-hack">
.katex .mfrac .frac-line { border-bottom-width: 1px !important; }
</style>`;
export default (theme: ThemeName) => `
<link rel='stylesheet' type='text/css' href='./base.css'>
<link rel='stylesheet' type='text/css' href='./katex/katex.min.css'>
<style>
${theme === 'night' ? cssNight : ''}
${cssPygments(theme === 'night')}
${cssEmojis}
</style>
<style id="style-hide-js-error-plain">
#js-error-plain, #js-error-plain-dummy {
display: none;
}
</style>
<style id="generated-styles"></style>
`;
<|file_sep|>updated/src/webview/css/css.js | */
const katexFraclineHackStyle = `<style id="katex-frac-line-hack">
.katex .mfrac .frac-line { border-bottom-width: 1px !important; }
</style>`;
export default (theme: ThemeName) => `
<link rel='stylesheet' type='text/css' href='./base.css'>
<link rel='stylesheet' type='text/css' href='./katex/katex.min.css'>
<style>
${theme === 'night' ? cssNight : ''}
${cssPygments(theme === 'night')}
${cssEmojis}
</style>
<style id="style-hide-js-error-plain">
#js-error-plain, #js-error-plain-dummy {
display: none;
}
</style>
${Platform.OS === 'android' ? katexFraclineHackStyle : '<!-- Safari -->'}
<style id="generated-styles"></style>
`; | <|file_sep|>src/webview/css/css.js.diff
original:
updated:
import { Platform } from 'react-native';
<|file_sep|>src/webview/css/css.js.diff
original:
updated:
/**
* Fix KaTeX frac-line elements disappearing.
*
* This is a hack, but it's probably better than not having fraction lines on
* low-resolution phones. It's only known to be useful under Chrome and Android,
* so we only include it there.
*
* See, among others:
* https://github.com/KaTeX/KaTeX/issues/824
* https://github.com/KaTeX/KaTeX/issues/916
* https://github.com/KaTeX/KaTeX/pull/1249
* https://github.com/KaTeX/KaTeX/issues/1775
*/
const katexFraclineHackStyle = `<style id="katex-frac-line-hack">
.katex .mfrac .frac-line { border-bottom-width: 1px !important; }
</style>`;
<|file_sep|>original/src/webview/css/css.js
/* @flow strict-local */
import type { ThemeName } from '../../types';
import cssPygments from './cssPygments';
import cssEmojis from './cssEmojis';
import cssNight from './cssNight';
export default (theme: ThemeName) => `
<link rel='stylesheet' type='text/css' href='./base.css'>
<link rel='stylesheet' type='text/css' href='./katex/katex.min.css'>
<style>
${theme === 'night' ? cssNight : ''}
${cssPygments(theme === 'night')}
${cssEmojis}
</style>
<style id="style-hide-js-error-plain">
#js-error-plain, #js-error-plain-dummy {
display: none;
}
</style>
<style id="generated-styles"></style>
`;
<|file_sep|>current/src/webview/css/css.js
* https://github.com/KaTeX/KaTeX/issues/1775
*/
const katexFraclineHackStyle = `<style id="katex-frac-line-hack">
.katex .mfrac .frac-line { border-bottom-width: 1px !important; }
</style>`;
export default (theme: ThemeName) => `
<link rel='stylesheet' type='text/css' href='./base.css'>
<link rel='stylesheet' type='text/css' href='./katex/katex.min.css'>
<style>
${theme === 'night' ? cssNight : ''}
${cssPygments(theme === 'night')}
${cssEmojis}
</style>
<style id="style-hide-js-error-plain">
#js-error-plain, #js-error-plain-dummy {
display: none;
}
</style>
<style id="generated-styles"></style>
`;
<|file_sep|>updated/src/webview/css/css.js
*/
const katexFraclineHackStyle = `<style id="katex-frac-line-hack">
.katex .mfrac .frac-line { border-bottom-width: 1px !important; }
</style>`;
export default (theme: ThemeName) => `
<link rel='stylesheet' type='text/css' href='./base.css'>
<link rel='stylesheet' type='text/css' href='./katex/katex.min.css'>
<style>
${theme === 'night' ? cssNight : ''}
${cssPygments(theme === 'night')}
${cssEmojis}
</style>
<style id="style-hide-js-error-plain">
#js-error-plain, #js-error-plain-dummy {
display: none;
}
</style>
${Platform.OS === 'android' ? katexFraclineHackStyle : '<!-- Safari -->'}
<style id="generated-styles"></style>
`; | 420a874785ee91389c39736b3bd60ad7fab79225 | src/webview/css/css.js | src/webview/css/css.js | JavaScript |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "node"
cache:
timeout: 600
directories:
- node_modules
- $HOME/.electron
install:
- npm install
script:
- npm run lint
- npm run build:prod
- npm run test:unit
- npm run test:integration
after_success:
- npm run publish
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "node"
cache:
timeout: 600
directories:
- node_modules
- $HOME/.electron
install:
- npm install
script:
- npm run lint
- npm run build:prod
- npm run test:unit
- npm run test:integration
after_success:
- npm run publish
<|file_sep|>updated/.travis.yml |
language: node_js
node_js:
- "node"
cache:
timeout: 600
directories:
- node_modules
- $HOME/.electron
install:
- npm install
script:
- npm run lint
- npm run build:prod
- npm test
after_success:
- npm run publish | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "node"
cache:
timeout: 600
directories:
- node_modules
- $HOME/.electron
install:
- npm install
script:
- npm run lint
- npm run build:prod
- npm run test:unit
- npm run test:integration
after_success:
- npm run publish
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "node"
cache:
timeout: 600
directories:
- node_modules
- $HOME/.electron
install:
- npm install
script:
- npm run lint
- npm run build:prod
- npm run test:unit
- npm run test:integration
after_success:
- npm run publish
<|file_sep|>updated/.travis.yml
language: node_js
node_js:
- "node"
cache:
timeout: 600
directories:
- node_modules
- $HOME/.electron
install:
- npm install
script:
- npm run lint
- npm run build:prod
- npm test
after_success:
- npm run publish | 892de728996fec93720ad2dde4a176f7b53da486 | .travis.yml | .travis.yml | YAML |
<|file_sep|>docs/op-delete.md.diff
original:
Delete the rows 1-3 (inclusive) of a CSV file:
updated:
Delete the rows 1-4 (inclusive) of a CSV file:
<|file_sep|>original/docs/op-delete.md
## delete
delete {range}
range = comma separated range of row indices (0 based) e.g.
0 # delete row 0
1,2,5 # delete row 1,2,5
1:5,10:15 # delete row 1 to 5 and row 10 to 15
1,3,5:10 # delete row 1,3 and 5 to 10
### Examples
Delete the rows 1-3 (inclusive) of a CSV file:
<a href="/csv/delete%201:4/?url=http://static.london.gov.uk/gla/expenditure/docs/2012-13-P12-250.csv&">/csv/delete 1:4/?url=http://static.london.gov.uk/gla/expenditure/docs/2012-13-P12-250.csv</a>
<|file_sep|>current/docs/op-delete.md
## delete
delete {range}
range = comma separated range of row indices (0 based) e.g.
0 # delete row 0
1,2,5 # delete row 1,2,5
1:5,10:15 # delete row 1 to 5 and row 10 to 15
1,3,5:10 # delete row 1,3 and 5 to 10
### Examples
Delete the rows 1-4 (inclusive) of a CSV file:
<a href="/csv/delete%201:4/?url=http://static.london.gov.uk/gla/expenditure/docs/2012-13-P12-250.csv&">/csv/delete 1:4/?url=http://static.london.gov.uk/gla/expenditure/docs/2012-13-P12-250.csv</a>
<|file_sep|>updated/docs/op-delete.md | ## delete
delete {range}
range = comma separated range of row indices (0 based) e.g.
0 # delete row 0
1,2,5 # delete row 1,2,5
1:5,10:15 # delete row 1 to 5 and row 10 to 15
1,3,5:10 # delete row 1,3 and 5 to 10
### Examples
Delete the rows 1-4 (inclusive) of a CSV file:
<a href="/csv/delete%201:4/?url=http://static.london.gov.uk/gla/expenditure/docs/2012-13-P12-250.csv">/csv/delete 1:4/?url=http://static.london.gov.uk/gla/expenditure/docs/2012-13-P12-250.csv</a>
| <|file_sep|>docs/op-delete.md.diff
original:
Delete the rows 1-3 (inclusive) of a CSV file:
updated:
Delete the rows 1-4 (inclusive) of a CSV file:
<|file_sep|>original/docs/op-delete.md
## delete
delete {range}
range = comma separated range of row indices (0 based) e.g.
0 # delete row 0
1,2,5 # delete row 1,2,5
1:5,10:15 # delete row 1 to 5 and row 10 to 15
1,3,5:10 # delete row 1,3 and 5 to 10
### Examples
Delete the rows 1-3 (inclusive) of a CSV file:
<a href="/csv/delete%201:4/?url=http://static.london.gov.uk/gla/expenditure/docs/2012-13-P12-250.csv&">/csv/delete 1:4/?url=http://static.london.gov.uk/gla/expenditure/docs/2012-13-P12-250.csv</a>
<|file_sep|>current/docs/op-delete.md
## delete
delete {range}
range = comma separated range of row indices (0 based) e.g.
0 # delete row 0
1,2,5 # delete row 1,2,5
1:5,10:15 # delete row 1 to 5 and row 10 to 15
1,3,5:10 # delete row 1,3 and 5 to 10
### Examples
Delete the rows 1-4 (inclusive) of a CSV file:
<a href="/csv/delete%201:4/?url=http://static.london.gov.uk/gla/expenditure/docs/2012-13-P12-250.csv&">/csv/delete 1:4/?url=http://static.london.gov.uk/gla/expenditure/docs/2012-13-P12-250.csv</a>
<|file_sep|>updated/docs/op-delete.md
## delete
delete {range}
range = comma separated range of row indices (0 based) e.g.
0 # delete row 0
1,2,5 # delete row 1,2,5
1:5,10:15 # delete row 1 to 5 and row 10 to 15
1,3,5:10 # delete row 1,3 and 5 to 10
### Examples
Delete the rows 1-4 (inclusive) of a CSV file:
<a href="/csv/delete%201:4/?url=http://static.london.gov.uk/gla/expenditure/docs/2012-13-P12-250.csv">/csv/delete 1:4/?url=http://static.london.gov.uk/gla/expenditure/docs/2012-13-P12-250.csv</a>
| d5b2be48a1a0c7416bec0fa2c76b8e3a3d3092eb | docs/op-delete.md | docs/op-delete.md | Markdown |
<|file_sep|>original/README.md
nginx-demo
======================
## Purpose
A 6.5MB Docker image running
- [Alpine Linux](https://github.com/gliderlabs/docker-alpine)
- [Nginx](http://nginx.org/)
- Microbot image/unique html content
Intended use is to demo docker orchestration
- Docker
- Mesos
- Marathon
- Kubernetes
## Usage
### From your machine
```
docker run -d -p "8080:80" dontrebootme/microbot
```
<|file_sep|>current/README.md
nginx-demo
======================
## Purpose
A 6.5MB Docker image running
- [Alpine Linux](https://github.com/gliderlabs/docker-alpine)
- [Nginx](http://nginx.org/)
- Microbot image/unique html content
Intended use is to demo docker orchestration
- Docker
- Mesos
- Marathon
- Kubernetes
## Usage
### From your machine
```
docker run -d -p "8080:80" dontrebootme/microbot
```
<|file_sep|>updated/README.md | docker-microbot
======================
## Purpose
A 6.5MB Docker image running
- [Alpine Linux](https://github.com/gliderlabs/docker-alpine)
- [Nginx](http://nginx.org/)
- Microbot image/unique html content
Intended use is to demo docker orchestration
- Docker
- Mesos
- Marathon
- Kubernetes
## Usage
### From your machine
```
docker run -d -p "8080:80" dontrebootme/microbot
```
| <|file_sep|>original/README.md
nginx-demo
======================
## Purpose
A 6.5MB Docker image running
- [Alpine Linux](https://github.com/gliderlabs/docker-alpine)
- [Nginx](http://nginx.org/)
- Microbot image/unique html content
Intended use is to demo docker orchestration
- Docker
- Mesos
- Marathon
- Kubernetes
## Usage
### From your machine
```
docker run -d -p "8080:80" dontrebootme/microbot
```
<|file_sep|>current/README.md
nginx-demo
======================
## Purpose
A 6.5MB Docker image running
- [Alpine Linux](https://github.com/gliderlabs/docker-alpine)
- [Nginx](http://nginx.org/)
- Microbot image/unique html content
Intended use is to demo docker orchestration
- Docker
- Mesos
- Marathon
- Kubernetes
## Usage
### From your machine
```
docker run -d -p "8080:80" dontrebootme/microbot
```
<|file_sep|>updated/README.md
docker-microbot
======================
## Purpose
A 6.5MB Docker image running
- [Alpine Linux](https://github.com/gliderlabs/docker-alpine)
- [Nginx](http://nginx.org/)
- Microbot image/unique html content
Intended use is to demo docker orchestration
- Docker
- Mesos
- Marathon
- Kubernetes
## Usage
### From your machine
```
docker run -d -p "8080:80" dontrebootme/microbot
```
| 9ceaf4292bee17742183024715cf4d21876e6725 | README.md | README.md | Markdown |
<|file_sep|>original/home/.config/i3/spotify_info.sh
#!/bin/bash
IFS=$'\n'
CURRENT_SONG=($(dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Get string:'org.mpris.MediaPlayer2.Player' string:'Metadata' | egrep -A2 "artist|title"|grep -oP '(?<=string \")(?!xesam).*(?=\")'))
echo "${CURRENT_SONG[0]} - ${CURRENT_SONG[1]}"
<|file_sep|>current/home/.config/i3/spotify_info.sh
#!/bin/bash
IFS=$'\n'
CURRENT_SONG=($(dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Get string:'org.mpris.MediaPlayer2.Player' string:'Metadata' | egrep -A2 "artist|title"|grep -oP '(?<=string \")(?!xesam).*(?=\")'))
echo "${CURRENT_SONG[0]} - ${CURRENT_SONG[1]}"
<|file_sep|>updated/home/.config/i3/spotify_info.sh | #!/bin/bash
IFS=$'\n'
CURRENT_SONG=($(dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Get string:'org.mpris.MediaPlayer2.Player' string:'Metadata' | egrep -A2 "artist|title"|grep -oP '(?<=string \")(?!xesam).*(?=\")'))
echo "${CURRENT_SONG[0]} - $(echo ${CURRENT_SONG[1]} | sed -E 's/ - (live (from|at|on).+|remastered.*)$//i')" | <|file_sep|>original/home/.config/i3/spotify_info.sh
#!/bin/bash
IFS=$'\n'
CURRENT_SONG=($(dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Get string:'org.mpris.MediaPlayer2.Player' string:'Metadata' | egrep -A2 "artist|title"|grep -oP '(?<=string \")(?!xesam).*(?=\")'))
echo "${CURRENT_SONG[0]} - ${CURRENT_SONG[1]}"
<|file_sep|>current/home/.config/i3/spotify_info.sh
#!/bin/bash
IFS=$'\n'
CURRENT_SONG=($(dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Get string:'org.mpris.MediaPlayer2.Player' string:'Metadata' | egrep -A2 "artist|title"|grep -oP '(?<=string \")(?!xesam).*(?=\")'))
echo "${CURRENT_SONG[0]} - ${CURRENT_SONG[1]}"
<|file_sep|>updated/home/.config/i3/spotify_info.sh
#!/bin/bash
IFS=$'\n'
CURRENT_SONG=($(dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Get string:'org.mpris.MediaPlayer2.Player' string:'Metadata' | egrep -A2 "artist|title"|grep -oP '(?<=string \")(?!xesam).*(?=\")'))
echo "${CURRENT_SONG[0]} - $(echo ${CURRENT_SONG[1]} | sed -E 's/ - (live (from|at|on).+|remastered.*)$//i')" | aa8cca4bcd5602889fbc1fedfda410ae357a3c52 | home/.config/i3/spotify_info.sh | home/.config/i3/spotify_info.sh | Shell |
<|file_sep|>docs/index.rst.diff
original:
updated:
======================
vidme.py Documentation
======================
<|file_sep|>original/docs/index.rst
<|file_sep|>current/docs/index.rst
======================
vidme.py Documentation
======================
<|file_sep|>updated/docs/index.rst | ======================
vidme.py Documentation
======================
.. contents::
Introduction
------------
Welcome to the vidme.py documentation!
Vidme.py is an API wrapper for the Vidme API, written in Python.
Another Section
---------------
This is pointless information. | <|file_sep|>docs/index.rst.diff
original:
updated:
======================
vidme.py Documentation
======================
<|file_sep|>original/docs/index.rst
<|file_sep|>current/docs/index.rst
======================
vidme.py Documentation
======================
<|file_sep|>updated/docs/index.rst
======================
vidme.py Documentation
======================
.. contents::
Introduction
------------
Welcome to the vidme.py documentation!
Vidme.py is an API wrapper for the Vidme API, written in Python.
Another Section
---------------
This is pointless information. | 711f9d1244fdf1b0b2bfefe48264bf48cdb9b995 | docs/index.rst | docs/index.rst | reStructuredText |
<|file_sep|>original/oddbaby.libraries.yml
global:
css:
theme:
dist/css/main.css: {}
dist/css/print.css: { media: print }
js:
dist/js/bundle.js: {}
dependencies:
- core/jquery
- core/drupal
- core/drupalSettings
<|file_sep|>current/oddbaby.libraries.yml
global:
css:
theme:
dist/css/main.css: {}
dist/css/print.css: { media: print }
js:
dist/js/bundle.js: {}
dependencies:
- core/jquery
- core/drupal
- core/drupalSettings
<|file_sep|>updated/oddbaby.libraries.yml | global:
css:
theme:
dist/css/main.css: {}
dist/css/print.css: { media: print }
js:
dist/js/bundle.js: { minified: true }
dependencies:
- core/jquery
- core/drupal
- core/drupalSettings | <|file_sep|>original/oddbaby.libraries.yml
global:
css:
theme:
dist/css/main.css: {}
dist/css/print.css: { media: print }
js:
dist/js/bundle.js: {}
dependencies:
- core/jquery
- core/drupal
- core/drupalSettings
<|file_sep|>current/oddbaby.libraries.yml
global:
css:
theme:
dist/css/main.css: {}
dist/css/print.css: { media: print }
js:
dist/js/bundle.js: {}
dependencies:
- core/jquery
- core/drupal
- core/drupalSettings
<|file_sep|>updated/oddbaby.libraries.yml
global:
css:
theme:
dist/css/main.css: {}
dist/css/print.css: { media: print }
js:
dist/js/bundle.js: { minified: true }
dependencies:
- core/jquery
- core/drupal
- core/drupalSettings | fdc558a787d0d6251785f35ff8bfa4568d53806b | oddbaby.libraries.yml | oddbaby.libraries.yml | YAML |
<|file_sep|>original/pygotham/admin/schedule.py
'Rooms',
CATEGORY,
column_default_sort='order',
form_columns=('name', 'order'),
)
SlotModelView = model_view(
models.Slot,
'Slots',
CATEGORY,
column_list=('day', 'rooms', 'kind', 'start', 'end'),
form_columns=('day', 'rooms', 'kind', 'start', 'end', 'content_override'),
)
PresentationModelView = model_view(
models.Presentation,
'Presentations',
CATEGORY,
)
<|file_sep|>current/pygotham/admin/schedule.py
'Rooms',
CATEGORY,
column_default_sort='order',
form_columns=('name', 'order'),
)
SlotModelView = model_view(
models.Slot,
'Slots',
CATEGORY,
column_list=('day', 'rooms', 'kind', 'start', 'end'),
form_columns=('day', 'rooms', 'kind', 'start', 'end', 'content_override'),
)
PresentationModelView = model_view(
models.Presentation,
'Presentations',
CATEGORY,
)
<|file_sep|>updated/pygotham/admin/schedule.py | CATEGORY,
column_default_sort='order',
form_columns=('name', 'order'),
)
SlotModelView = model_view(
models.Slot,
'Slots',
CATEGORY,
column_default_sort='start',
column_list=('day', 'rooms', 'kind', 'start', 'end'),
form_columns=('day', 'rooms', 'kind', 'start', 'end', 'content_override'),
)
PresentationModelView = model_view(
models.Presentation,
'Presentations',
CATEGORY,
) | <|file_sep|>original/pygotham/admin/schedule.py
'Rooms',
CATEGORY,
column_default_sort='order',
form_columns=('name', 'order'),
)
SlotModelView = model_view(
models.Slot,
'Slots',
CATEGORY,
column_list=('day', 'rooms', 'kind', 'start', 'end'),
form_columns=('day', 'rooms', 'kind', 'start', 'end', 'content_override'),
)
PresentationModelView = model_view(
models.Presentation,
'Presentations',
CATEGORY,
)
<|file_sep|>current/pygotham/admin/schedule.py
'Rooms',
CATEGORY,
column_default_sort='order',
form_columns=('name', 'order'),
)
SlotModelView = model_view(
models.Slot,
'Slots',
CATEGORY,
column_list=('day', 'rooms', 'kind', 'start', 'end'),
form_columns=('day', 'rooms', 'kind', 'start', 'end', 'content_override'),
)
PresentationModelView = model_view(
models.Presentation,
'Presentations',
CATEGORY,
)
<|file_sep|>updated/pygotham/admin/schedule.py
CATEGORY,
column_default_sort='order',
form_columns=('name', 'order'),
)
SlotModelView = model_view(
models.Slot,
'Slots',
CATEGORY,
column_default_sort='start',
column_list=('day', 'rooms', 'kind', 'start', 'end'),
form_columns=('day', 'rooms', 'kind', 'start', 'end', 'content_override'),
)
PresentationModelView = model_view(
models.Presentation,
'Presentations',
CATEGORY,
) | 9d79893f119d696ead124d9e34b21acf34cd6f8f | pygotham/admin/schedule.py | pygotham/admin/schedule.py | Python |
<|file_sep|>.github/workflows/validate-pr.yaml.diff
original:
runs-on: ubuntu-latest
updated:
runs-on: ${{ matrix.os }}
strategy:
matrix:
features: [--all-features, --no-default-features]
os: [ubuntu-latest, windows-latest, macOS-latest]
<|file_sep|>original/.github/workflows/validate-pr.yaml
name: Validate Pull Request
on: push
jobs:
test:
name: Run Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: textbook/git-checkout-submodule-action@master
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- uses: actions-rs/cargo@v1
with:
command: test
toolchain: nightly
args: --release --all-features
<|file_sep|>current/.github/workflows/validate-pr.yaml
jobs:
test:
name: Run Tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
features: [--all-features, --no-default-features]
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@master
- uses: textbook/git-checkout-submodule-action@master
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- uses: actions-rs/cargo@v1
with:
command: test
toolchain: nightly
args: --release --all-features
<|file_sep|>updated/.github/workflows/validate-pr.yaml | jobs:
test:
name: Run Tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
features: [--all-features, --no-default-features]
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@master
- uses: textbook/git-checkout-submodule-action@master
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- uses: actions-rs/cargo@v1
with:
command: test
toolchain: nightly
args: --release ${{ matrix.features }} | <|file_sep|>.github/workflows/validate-pr.yaml.diff
original:
runs-on: ubuntu-latest
updated:
runs-on: ${{ matrix.os }}
strategy:
matrix:
features: [--all-features, --no-default-features]
os: [ubuntu-latest, windows-latest, macOS-latest]
<|file_sep|>original/.github/workflows/validate-pr.yaml
name: Validate Pull Request
on: push
jobs:
test:
name: Run Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: textbook/git-checkout-submodule-action@master
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- uses: actions-rs/cargo@v1
with:
command: test
toolchain: nightly
args: --release --all-features
<|file_sep|>current/.github/workflows/validate-pr.yaml
jobs:
test:
name: Run Tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
features: [--all-features, --no-default-features]
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@master
- uses: textbook/git-checkout-submodule-action@master
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- uses: actions-rs/cargo@v1
with:
command: test
toolchain: nightly
args: --release --all-features
<|file_sep|>updated/.github/workflows/validate-pr.yaml
jobs:
test:
name: Run Tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
features: [--all-features, --no-default-features]
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@master
- uses: textbook/git-checkout-submodule-action@master
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- uses: actions-rs/cargo@v1
with:
command: test
toolchain: nightly
args: --release ${{ matrix.features }} | 37edf64e17578d690e0f8b44cb8a3a223d1a861f | .github/workflows/validate-pr.yaml | .github/workflows/validate-pr.yaml | YAML |
<|file_sep|>original/.travis.yml
- COMPOSER_DISABLE_XDEBUG_WARN=1
- PREFER_LOWEST=""
matrix:
fast_finish: true
include:
- php: 7.1
env: CODESTYLE="yes"
- php: 7.1
env: PREFER_LOWEST="--prefer-lowest"
before_script:
- if [[ $TRAVIS_PHP_VERSION = hhvm ]]; then cat tests/travis.hhvm.ini >> /etc/hhvm/php.ini; else phpenv config-add tests/travis.php.ini; fi
- travis_retry composer update --prefer-source $PREFER_LOWEST # Run once to install magento's composer merger
- travis_retry composer update --prefer-source $PREFER_LOWEST # Run twice to install merged dependencies
- mysql -e "SET GLOBAL sql_mode = 'STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION,ONLY_FULL_GROUP_BY'"
- phpunit --version
script:
# Run PHPUnit if we're not checking code style, otherwise run phpcs
- if [[ $CODESTYLE != "yes" ]]; then composer test; else composer phpcs; fi
<|file_sep|>current/.travis.yml
- COMPOSER_DISABLE_XDEBUG_WARN=1
- PREFER_LOWEST=""
matrix:
fast_finish: true
include:
- php: 7.1
env: CODESTYLE="yes"
- php: 7.1
env: PREFER_LOWEST="--prefer-lowest"
before_script:
- if [[ $TRAVIS_PHP_VERSION = hhvm ]]; then cat tests/travis.hhvm.ini >> /etc/hhvm/php.ini; else phpenv config-add tests/travis.php.ini; fi
- travis_retry composer update --prefer-source $PREFER_LOWEST # Run once to install magento's composer merger
- travis_retry composer update --prefer-source $PREFER_LOWEST # Run twice to install merged dependencies
- mysql -e "SET GLOBAL sql_mode = 'STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION,ONLY_FULL_GROUP_BY'"
- phpunit --version
script:
# Run PHPUnit if we're not checking code style, otherwise run phpcs
- if [[ $CODESTYLE != "yes" ]]; then composer test; else composer phpcs; fi
<|file_sep|>updated/.travis.yml | - COMPOSER_DISABLE_XDEBUG_WARN=1
- PREFER_LOWEST=""
matrix:
fast_finish: true
include:
- php: 7.1
env: CODESTYLE="yes"
- php: 7.1
env: PREFER_LOWEST="--prefer-lowest"
allow_failures:
- php: nightly
before_script:
- if [[ $TRAVIS_PHP_VERSION = hhvm ]]; then cat tests/travis.hhvm.ini >> /etc/hhvm/php.ini; else phpenv config-add tests/travis.php.ini; fi
- travis_retry composer update --prefer-source $PREFER_LOWEST # Run once to install magento's composer merger
- travis_retry composer update --prefer-source $PREFER_LOWEST # Run twice to install merged dependencies
- mysql -e "SET GLOBAL sql_mode = 'STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION,ONLY_FULL_GROUP_BY'"
- phpunit --version
script: | <|file_sep|>original/.travis.yml
- COMPOSER_DISABLE_XDEBUG_WARN=1
- PREFER_LOWEST=""
matrix:
fast_finish: true
include:
- php: 7.1
env: CODESTYLE="yes"
- php: 7.1
env: PREFER_LOWEST="--prefer-lowest"
before_script:
- if [[ $TRAVIS_PHP_VERSION = hhvm ]]; then cat tests/travis.hhvm.ini >> /etc/hhvm/php.ini; else phpenv config-add tests/travis.php.ini; fi
- travis_retry composer update --prefer-source $PREFER_LOWEST # Run once to install magento's composer merger
- travis_retry composer update --prefer-source $PREFER_LOWEST # Run twice to install merged dependencies
- mysql -e "SET GLOBAL sql_mode = 'STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION,ONLY_FULL_GROUP_BY'"
- phpunit --version
script:
# Run PHPUnit if we're not checking code style, otherwise run phpcs
- if [[ $CODESTYLE != "yes" ]]; then composer test; else composer phpcs; fi
<|file_sep|>current/.travis.yml
- COMPOSER_DISABLE_XDEBUG_WARN=1
- PREFER_LOWEST=""
matrix:
fast_finish: true
include:
- php: 7.1
env: CODESTYLE="yes"
- php: 7.1
env: PREFER_LOWEST="--prefer-lowest"
before_script:
- if [[ $TRAVIS_PHP_VERSION = hhvm ]]; then cat tests/travis.hhvm.ini >> /etc/hhvm/php.ini; else phpenv config-add tests/travis.php.ini; fi
- travis_retry composer update --prefer-source $PREFER_LOWEST # Run once to install magento's composer merger
- travis_retry composer update --prefer-source $PREFER_LOWEST # Run twice to install merged dependencies
- mysql -e "SET GLOBAL sql_mode = 'STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION,ONLY_FULL_GROUP_BY'"
- phpunit --version
script:
# Run PHPUnit if we're not checking code style, otherwise run phpcs
- if [[ $CODESTYLE != "yes" ]]; then composer test; else composer phpcs; fi
<|file_sep|>updated/.travis.yml
- COMPOSER_DISABLE_XDEBUG_WARN=1
- PREFER_LOWEST=""
matrix:
fast_finish: true
include:
- php: 7.1
env: CODESTYLE="yes"
- php: 7.1
env: PREFER_LOWEST="--prefer-lowest"
allow_failures:
- php: nightly
before_script:
- if [[ $TRAVIS_PHP_VERSION = hhvm ]]; then cat tests/travis.hhvm.ini >> /etc/hhvm/php.ini; else phpenv config-add tests/travis.php.ini; fi
- travis_retry composer update --prefer-source $PREFER_LOWEST # Run once to install magento's composer merger
- travis_retry composer update --prefer-source $PREFER_LOWEST # Run twice to install merged dependencies
- mysql -e "SET GLOBAL sql_mode = 'STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION,ONLY_FULL_GROUP_BY'"
- phpunit --version
script: | 4f954b1e4368a797dc28d6b36006456fce074d2b | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/admin.py
# -*- coding: utf-8 -*-
from django.contrib import admin
from .models import Crash
class CrashAdmin(admin.ModelAdmin):
search_fields = ('report',)
list_display = ('application', 'build',
'crdate', 'tstamp',
'is_solved', 'is_obsolete')
list_filter = ('application', 'build',
'is_solved', 'is_obsolete',
'crdate', 'tstamp')
date_hierarchy = 'crdate'
admin.site.register(Crash, CrashAdmin)
<|file_sep|>current/admin.py
# -*- coding: utf-8 -*-
from django.contrib import admin
from .models import Crash
class CrashAdmin(admin.ModelAdmin):
search_fields = ('report',)
list_display = ('application', 'build',
'crdate', 'tstamp',
'is_solved', 'is_obsolete')
list_filter = ('application', 'build',
'is_solved', 'is_obsolete',
'crdate', 'tstamp')
date_hierarchy = 'crdate'
admin.site.register(Crash, CrashAdmin)
<|file_sep|>updated/admin.py | # -*- coding: utf-8 -*-
from django.contrib import admin
from .models import Crash
class CrashAdmin(admin.ModelAdmin):
search_fields = ('report',)
list_display = ('application', 'build',
'crdate', 'tstamp',
'is_solved', 'is_obsolete')
list_filter = ('application', 'build',
'is_solved', 'is_obsolete',
'crdate', 'tstamp')
#date_hierarchy = 'crdate'
admin.site.register(Crash, CrashAdmin) | <|file_sep|>original/admin.py
# -*- coding: utf-8 -*-
from django.contrib import admin
from .models import Crash
class CrashAdmin(admin.ModelAdmin):
search_fields = ('report',)
list_display = ('application', 'build',
'crdate', 'tstamp',
'is_solved', 'is_obsolete')
list_filter = ('application', 'build',
'is_solved', 'is_obsolete',
'crdate', 'tstamp')
date_hierarchy = 'crdate'
admin.site.register(Crash, CrashAdmin)
<|file_sep|>current/admin.py
# -*- coding: utf-8 -*-
from django.contrib import admin
from .models import Crash
class CrashAdmin(admin.ModelAdmin):
search_fields = ('report',)
list_display = ('application', 'build',
'crdate', 'tstamp',
'is_solved', 'is_obsolete')
list_filter = ('application', 'build',
'is_solved', 'is_obsolete',
'crdate', 'tstamp')
date_hierarchy = 'crdate'
admin.site.register(Crash, CrashAdmin)
<|file_sep|>updated/admin.py
# -*- coding: utf-8 -*-
from django.contrib import admin
from .models import Crash
class CrashAdmin(admin.ModelAdmin):
search_fields = ('report',)
list_display = ('application', 'build',
'crdate', 'tstamp',
'is_solved', 'is_obsolete')
list_filter = ('application', 'build',
'is_solved', 'is_obsolete',
'crdate', 'tstamp')
#date_hierarchy = 'crdate'
admin.site.register(Crash, CrashAdmin) | 67913476c33a4f8b3635f63c379bde0a48a5e714 | admin.py | admin.py | Python |
<|file_sep|>original/README.md
# gin-logger
[](https://travis-ci.org/miclle/gin-logger)
[](https://coveralls.io/github/miclle/gin-logger?branch=develop)
<|file_sep|>current/README.md
# gin-logger
[](https://travis-ci.org/miclle/gin-logger)
[](https://coveralls.io/github/miclle/gin-logger?branch=develop)
<|file_sep|>updated/README.md | # gin-logger
[](https://travis-ci.org/miclle/gin-logger)
[](https://coveralls.io/github/miclle/gin-logger?branch=develop)
[](https://goreportcard.com/report/github.com/miclle/gin-logger) | <|file_sep|>original/README.md
# gin-logger
[](https://travis-ci.org/miclle/gin-logger)
[](https://coveralls.io/github/miclle/gin-logger?branch=develop)
<|file_sep|>current/README.md
# gin-logger
[](https://travis-ci.org/miclle/gin-logger)
[](https://coveralls.io/github/miclle/gin-logger?branch=develop)
<|file_sep|>updated/README.md
# gin-logger
[](https://travis-ci.org/miclle/gin-logger)
[](https://coveralls.io/github/miclle/gin-logger?branch=develop)
[](https://goreportcard.com/report/github.com/miclle/gin-logger) | 1e3efece816a9abf435cd593d367c241855c9ed0 | README.md | README.md | Markdown |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.